skysight-inc/HackerNews huggingface dataset:
I recall reading a couple of articles on this subject about cities in general [1, 2]. London was called out as OK:

"Our model indicates that in London health benefits of active travel always outweigh the risk from pollution. [1]"

What I'd like to know is, given an accident rate, pollution level, and other factors, what is the "safety factor" of walking/cycling vs. tube/rail/bus/car/taxi?

Edit: These graphs are great:

https://ig.ft.com/sites/urban-cycling/assets/pollution-londo...

https://ig.ft.com/sites/urban-cycling/assets/pollution-world...

Interesting stats:

- In 1% of cities worldwide, pollution levels are high enough that "active travel" is dangerous past 30mins of activity.

- ~40,000 people in the UK die earlier every year due to air pollution.

1: http://www.cam.ac.uk/research/news/walking-and-cycling-good-...

2: https://ig.ft.com/sites/urban-cycling/
I think it's mostly that I need to write it so little, that I never get to become proficient "enough" with it. There is little motivation to invest hours to learn it properly, because
a) I get to write bash scripts so little that
b) I would forgot half by next time I use it.

I think I'm basically stuck on the worst part of learning curve. Btw I use console for pretty much everything from git shell to vim. But when I have to run-in-parallel/fork two processes, pipe X from some to third one that has to repeatedly do curls to some service and check http response, there are 10 things I need to google, starting from: -how to fork process, how to pipe process, how to IF in bash, how do LOOP in bash, etc. Worst thing is, I've googled this 10 times before, but never remember the syntax etc.
Totally agree with you. In thread of "Linux is obsolete" Ken mentioned the same thing[0] as "...Most users could probably care less if the
internals of the operating system they use is obsolete..." Although, He is talking about OS, but it is true for other as well.

[0]. https://groups.google.com/d/msg/comp.os.minix/wlhw16QWltI/P6...
"I am torn: I have invested this much of my life into SVG. Do I build on that? Or do I write it off and start afresh with lessons learned and no regrets?"

What product needs to built that harnesses SVG?
Interesting.. Given the current median price and interest rates in Australia, $150k isn't actually enough for a 20% deposit on the mortgage for the average house here, especially as you get closer to the city. Within about a 20 mile radius and increasing with proximity to public transport, you'd be looking at a median price of over $1.15M, quite nearly insurmountable for most people wishing to enter the market simply due to the capital required before you can even get a home loan.
If your server is slowed that much by your development environment, it's going to have a hard time dealing with (N>1) actual users. General purpose computers are good enough, it seems unlikely the days of exotic machines and workstations will come back.
It's a reasonable qualitative analysis, but quantitatively Google is able to earn far more per employee than most other businesses. Google has ~70k employees and ~6 billion in revenue per quarter. Google is objectively more efficient, as reflected by their profits.
> refreshing

sigh

> they have a vested interest in keeping Republic afloat through its bankruptcy (and therefore, discreetly accepting blame)
HTC’s next flagship smartphone will be squeezable, to be unveiled on May 16
Web Design Tips for a More Successful Website
V8 is a JIT compiler, which incorporates a runtime and a compiler.
Probably not. He's past the point ($75,000 a year) where getting more money makes you happier and maybe even past the point where you're considered rich ($400,000 a year regardless of having a paying job or not).
Best IT Monitoring Software in 2017
Ask HN: How to actually “talk to your customers”?
I find this thread https://news.ycombinator.com/item?id=14146850 very insightful and stressing some important common points in comments.

The most precious advice as I see is to “talk to your customers”.

How do I practically turn this advice into action?

Say, I have:

- an office with a computer and internet

- a map of the town and its suburbs I located in

- search engine to my service

- some details about the domain I’d like to work for

- zero contacts

Now, how do I actually talk to my potential customers? I can knock at doors of every office I find online and with a broad smile say a pitch then attack them with my questions? I don’t think it will work as I would like it to. More likely they will think I am trying to sell some bs and thus be quite skeptical and cold to me.

Should I try to approach bosses or common workers of companies?

Should I phone them, ask for an appointment, explain my goals and if they let me in, do the talk?

What is the right approach to talk to my potential customers?

Can you please share your experience and maybe books about how to do it properly?

Thanks!
https://en.wikipedia.org/wiki/British_and_American_keyboards
We're all Systems now
I doubt there's a correlation between primary/secondary education systems and coding ability of general populace. Seems to be driven more by access to internet and programming tools.
Apple: 2017 Environment Responsibility Report
> Anecdata, but my desktop Lenovo workstation's suspend function worked well with Linux, but after an update (few months ago) it never resumes successfully. Nothing in logs -- just simply doesn't wake up properly. (4.10 kernel.) These are painful things.

That sounds like my experience with Windows 10 on my gaming PC. I only use that machine when gaming, and while it has a <10 second cold boot time (god I love NVMe), I prefer to leave it running and let it fall asleep after a few minutes of inactivity. Some time last week or so, I noticed it never cycles fully to sleep; it will fall asleep and almost immediately wake up. I'm positive this was due to a Windows update, as I haven't changed any settings on it before or after the incident first occurred.

Now, this is on a PC I built, but I used a common motherboard (Gigabyte Z170M) and never had this issue on my previous build, also based on a Gigabyte Z series board. My wife's computer is a mini-PC made by HP, and it started having the same sleep/wake issues during the same week. Something in a recent Windows update has affected sleep states.
>The downside is that the table takes 600GB of disk space compressed which is a major chunk of our cluster.

And that it probably takes one hour or more to fully reload it if you ever need to.
4 Must Read Blogs on Privileged Account Management
Oh, TeaPigs? With the dachshund mascot on the Darjeeling Earl Grey, and the brown-paper boxes, and the overpriced wares?
Yeah, you can get those everywhere; they're clearly _way_ too mass-market to be properly independent. If you're spending cash money the on indie feel of things, you'll be buying BigCorp sooner or later. Better to just buy quality.

> Then... where do you draw the line? Is private equity backing problematic when its obfuscated? Or just contract primacy?

Well, we're taught that the free market is efficient only when you have property rights, low barriers to entry, and low transaction costs. While monopoly issues get most of the antitrust press, I suspect that a lot of the other things people don't like about BigCorp world and the gig economy is the way that high transaction costs around hiring, firing, and most especially, contracts of all sorts. Any time these issues are complex and involve expensive lawyers, BigCorp tends to win. It's at the roots of a lot of problems these days.
A simple text file has always been far faster and more useful to me than any of these to-do apps. Lately it's migrated to a text file on dropbox, or using google docs or box notes for cloud sync.

There's also TaskPaper which is nice but only on Mac https://www.taskpaper.com/
We used to have it as PMail .. back in the mid 90s at uni .. used it for a bit, then shifted to Mutt, and finally to Thunderbird and stuck to it till now :(
Silicon Valley Robot Block Party attracts over 1000 attendees
It's simple: their audience is not the most sophisticated in international affairs, just a step up from the average newspaper or TV coverage.

Now, THIS is real reporting: https://news.ycombinator.com/item?id=14153346
I'm not sure about London, but this has been studied before in other cities and it's been found that the benefits significantly outweigh the risks: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2920084/

Unless London is significantly (>~20x) more dangerous than the Netherlands, I'd expect the result to hold there too.
I think both are not exhaustive (or don't have exhaustiveness enforced by the compiler).
Very much down. Everyone gets pollution, but cyclists' air intakes are further above vehicle exhaust that passengers and pedestrians. London's black snot is your filters working!

As for incidents, the risk is offset by health benefits. Last time I checked it was approx 1 serious incident per 100,000 miles ridden (which is much more than the lifetime of most riders).
So what you say is that it depends if you're a decent human being or not. Can you live on $1 million a year with a roof over your head, food on your plate, clean water to drink and some extra comfort such as heat during cold season ?

with $200 millions you could give away half of it and live happily on the remaining for a century. With $2 billions, the only difference is that you could give away 95% of it and live happily for a century.
Wunderlist is perhaps the only shared to-do list application that actually works. I don't know about 100MM, but it's an important application --- which is why there's a pretty substantial thread here about MSFT killing it off.
If you thought Juicero was a good idea, you may be a wanker.
9 Surprising Reasons for Rejection of Mobile Apps from Apple App Store
Add Google to that list.

They break so many of their own rules i sometimes wonder if that was what made Duarte leave
You just trampled over "doesn't sacrifice performance for thinness". And using on my lap in a plane or whatever, like maybe I would when laying on my couch, was never even considered. Are you sure it's a practical measure to judge by a product and isn't just an Apple-tailored one?
I think Microsoft released one for this new thing. I'm not sure if it's cross compatible.
The fix is https://chromium.googlesource.com/chromium/src/+/08cb718ba7c... :

> Block a label made entirely of Latin-look-alike Cyrillic letters when the TLD is not an IDN (i.e. this check is ON only for TLDs like 'com', 'net', 'uk', but not applied for IDN TLDs like рф.

That's neither "ridiculously clever", nor it will make (non-nefarious) IDN domains ununsable.
>Yes America does also sometimes try to influence political discourse in other countries too, did TE say otherwise?

No, just let theirs readers get to that impression by themselves, by not covering those attempts as much.

>Finally, are you claiming that Russia does not try to influence politics in other countries?

Not that much, mostly to their neighbors, and not very successfully even there (e.g. how most of their periphery is not suffocating them with NATO allies).
Freshdesk?
Introducing a faster BBC News front page
Java only has single dynamic dispatch. That means it will use the method of the most specific sub-class, but will not dispatch on the runtime type of the argument, only its compile time type.

So something like:

for(None n: expreTree.children()) {
intMath.eval(n);
}

will not work as expected if eval is overloaded.
Flaky Tests: Are You Sure You Want to Rerun Them?
Software Development Services: Blog – Elegant MicroWeb
> Also, when FB acquired Instagram in stock and cash, its own valuation was around $50B. Now it is 8 times that.

An in the not so distant future it will be a few orders of magnitude less. That's how stock market bubbles work, they inflate in a silly manner then burst leaving the rich richer and the others with grains of dust and suicidal tendencies.
It's not just the types, it's the whole APIs, culture etc.

Java, for example, is no picnic, whether it can now infer some types or not.

In Python I don't even need a main().
As somebody that has cycled in London, cycling from Paddington to Holborn enabled me to avoid busy roads. Yes the route was slightly longer but on a bike that really isn't an issue. I only ever did Oxford Road once. Never again. Getting to work via Hyde Park, Soho, or past Buckingham Palace is just pure joy.

I found walking meant you were mostly on busy roads as these were the most direct routes.
I've worked with the really shitty Indian programmers, the dishonest one, and occasionally one that was both!

However, I also worked with a couple of really brilliant ones...

But then again I also worked with non-endian programmers that shared all the same characteristics in my 30y career.

However, I also have to say that some of the poor endian programmers manage to play the 'diversity' card very well; I know one that I wanted to fire the first day he arrived as he was clearly completely incompetent. HR was involved, and he still managed to waste time and resources for eighteen months before he actually ...quit...

I hate to say it, but I do suspect that a boring white guy would have been fired well before the end of his first month... During all that time, the guy was reported for completely faking demos, lying about task completions, but he still manage to survive 3 'performance improvement plans' from HR.
> For most events in the world within minutes I m able to follow local people tweeting or writing in their newspapers what's happening.

Like it says in the article they are not just writing about the stories that are happening "this minute". They are writing about a range of other stuff, ie:

But each week we try to give them a selection of things that they didn’t know that they didn’t know. An example of this would be the recent piece we ran on the spread of unfamiliar grains. You can also look at stories we’ve done on the evolution of arranged marriage, on how to train good teachers or on how best to integrate autistic people into the workplace. These are stories about big ideas and big trends that readers might not know about
It was already fixed back when domain names had to be plain ASCII.

It was West-centric, yes, but it allowed for a unique and legible ASCII identifiers. And encouraged non-ASCII languages to create a unique (or, mostly-unique) Latin representation of their scripts — which is, in general, a good thing. It encouraged unification, using ASCII as the common ground.

Allowing for Unicode characters opened a new Pandora box, creating a situation that is unsolvable — either we keep the new names, making almost every string of characters potentially ambiguous, or we return to the state where ASCII-only names are the only ones usable.

Also, differentiating between ASCII and non-ASCII names doesn't solve the thing. Imagine what if the legitimate address is already in a non-ASCII script.
You want an XPS 13 then.

I just used mine on a Ryanair flight a few days ago, cramped in the middle seat for 3 hours. The XPS 13 fit perfectly on the very small folding table, the top of the screen just sticking under the bottom of the pocket-thing that is always full of useless flyers.

I believe it has the same footprint as a MBA 11. And of course, I'm running Linux on it :)
I would consider a browser that allows a cookie with a secure flag to be overwritten from a http page buggy, and thus the solution would be simply enforcing the secure flag in a same way.

What legitimate use is there for overwriting a secure cookie with a non secure one?
Google-owned YouTube is the main reason I use uBlock, though. I don't care how "good" the ad is really. 15 seconds is an eternity in this age...
Yes, when your success relies on a monopoly or dominant position, your future is at stake if you don't use your dominant position to remove any competition that may chip at your domination.

This is exactly why monopoly are hurting everybody but the people profiting from it.
And indeed: "ad formats such as pop-ups, auto-playing video ads with sound and “prestitial” ads with countdown timers are deemed to be “beneath a threshold of consumer acceptability.”"
Inside Every Utopia Is a Dystopia
> might have been going to the same bars or been part of the same local sports clubs as the cleaner, their kids might have gone to the same school. Now they probably live in other parts of the city.

I don't think this ever the case, in any era. Rich people in many countries definitely send their kids to posh schools through their connections (e.g. slots available for those with a parent who attended), go to different bars and follow different sports (e.g. rugby union vs football/soccer, depending on the country obviously).
Does Autocorrect play a huge role in ecommerce revenue?
I agree Java is a high-ceremony language, but not all statically typed languages are like that.
re "its rings". I'm never quite sure whether to correct grammar/spelling or not in HN comments. On the one hand I know there are lots of people here for whom English is a second language and who might find it useful. On the other hand, I don't want to appear dickish. At work I generally ask my non-native-English-speaking colleagues if they want me to point out errors and then act accordingly. And every now and then one of them challenges my correction and I discover I'm wrong ;-)
Getting Started with Swift 3 on Windows Subsystem for Linux
The move towards Interactive Applications has helped OO and scripting languages. There are still plenty of applications for functional programming in the most demanding of environments, for safety and high availability. However, most students are not good enough at math to learn functional programming concepts. Whether that's the teachers' fault or the students' fault or society's fault, I can't say.
But if we paid programmers for safety critical systems much more than we pay for good front-end developers, you would see a much higher level of adoption of functional programming languages.
What’s the angle between AngularJS and Angular? 180°
Is Microsoft trying to learn React?
With the 10xx series Nvidia has done away with mobile versions of their chips; now if your laptop has a 10xx chip it is the same one as the desktop card. I love this concept; it does away with confusion on the consumer's part. Previously if you bought a laptop with a GTX 980M, you'd expect based on the model number to get desktop GTX 980 performance, when you're actually getting desktop GTX 670 performance. With the new system, you buy a laptop with a 1080 and you get a 1080 performance-wise (minus some thermal throttling of course).
A running gag from the animated TV show family guy.
Show HN: Accomplish – An app for everything you want to accomplish in life
Yep, but the market itself would increase in size if people start adopting a first party solution (which would certainly be the case since people are lazy), and looking at adblockers usage rates it seems like a market share too big to pass on.

In the end, it is probably true that the competition is not really an issue, but Google need not "stop the existential threat to the whole industry that adblockers represent", because if it lets too many ads pass people will simply get back to the old third party adblockers.
256B
Show HN: Find a team for Ludum Dare
HTC U will be officially released on May 16
Can you blame the developers, though? These acquisitions are life changing. I mean, heck, if someone offered me crazy money for an app, yes please!
It is an old concept used in most functional languages, like ML, haskell or even Prolog via unification.

So not an invention of scala, only that is also lives on the JVM.

http://wiki.c2.com/?PatternMatching
Do unicode URLs actually provide any real value? Every web user must be already used to typing Latin characters because so many major websites use them. So nobody would be excluded by that. Whereas, any non-Latin character is going to be nearly impossible for most of the world to enter.

A particularly terrible language is Chinese where most old people can't type the characters even though they can type Latin letters. That's because you have to deliberately invest time to sit down and learn an input method which is a non-trivial endeavor that takes weeks of effort and old people just aren't going to go back to school for that.
Hm, this is not Velodyne's first announcement of a solid state lidar breakthrough.

http://spectrum.ieee.org/cars-that-think/transportation/sens...

Several other companies are working on these (Quanergy, Blackmore) too, but so far they seem to be just press releases. Hopefully we'll see some real ones soon; the current state of the art for wide field lidar are many thousands of dollars and (imo) too fragile for use in production vehicles.
Since there is inevitably going to be information asymmetry, this is rather a "no true scotsman" approach to redirecting blame away for the problems that plague free markets in the real world.
Selenium: done in 60 seconds
and as 90% of fatalities are caused by undertaking HGV's not undertaking traffic and not riding in the gutter reduces that risk considerabley
An exabyte is an incredible amount of data. It will always cost millions of dollars to store it safely.
Tee hee. 8 hours of sleep.

Sounds like someone doesn't have kids.

Mostly tongue in cheek, but also slightly serious. There are plenty of life circumstances that preclude all those things.
This fingerprint-scanning bank card is coming to kill your PIN number
astrid is open source now and available on play store.
It doesn't need to be spoken out loud, it's kinda obvious. I too would make it sound like this is totally not the reason.

And for the record, I don't think everyone at Google is evil, but I imagine a few managers are in it for the money and not merely the altruistic idea of making ads better.
The Kekulé Problem
Son dakika: Bozdağ’dan CHP’ye sert  Ysk cevabı: Karar AİHM’in yetkisi dışında
If, by any chance, someone decide that its browser is already covered as far as adblockering goes, we will simply move to a different browser/adblocker/adblocking solution.

As long as there is tech savy people there will be plenty of solutions around.
Always use an RDBMS in the first instance, it's simpler, better understood and will perform really well.

If you need extra performance later on, you can always add an extra layer.
So the goal is to demolish the tech monopolies. There is no plan on how to do that.

We also have to think one step further. If the big power players are broken then there is space to fill and the next player will try to rush in. Many revolutions just exchange one tyrant for another one. We need a vision of the alternative system, an utopia.

The decentralization people can provide a vision, but can you really envision that nearly every household runs its own vserver for $20 a month? Or buys a $200 homeserver every three years? Government-subsidized servers for the poor?
Yep, there is no way to check the exhaustiveness in the compile time. Say you have an Expression parent class and a list of child classes: say Add, Const, Var, and a corresponding visitor. Add new child class, and the visitor would be non-exhaustive. Multiple dispatch is not very different in that sense.

I think that Alan Key spoke about dynamic nature of OOP, that's one of the examples. Even in the statically typed environment OOP demonstrates its dynamic nature.
The desktop runs a cron job to sync every X minutes with a taskwarrior server on an amazon instance. The cellphone syncs manually, or you can automate a sync installing Taskwarrior for Android. The UI of this Taskwarrior for Android app is not very good for me, but it allows you to sync the taskdata files every X minutes if you want. You only need to make sure to point the app to the termux .task folder so both the Taskwarrior for Android and the Termux + Taskwarrior CLI use the same data files.
> Custom desktops are relatively easy to build, even for customers.

My mum would disagree.
A rare example of government legislation being ahead of private sector practice.