skysight-inc/HackerNews huggingface dataset:
intra-migration, specifically rural to urban (not urban to urban or rural to rural)
Ask HN: Worst annoying usability habit of all times?
Why is it that most online application designers deem it necessary to add an annoying blinking distraction on the screen? This is usually in the form of a button that says "saving" and "saved" while changing color. You can see this in WorkFlowy for instance. Why? Do these designers ever use their own products seriously? Don't they realize that when we write we are trying to CONCENTRATE? You don't need to tell us that you saved the file every few seconds. Why put a blinking thing to annoy the user? Why? Why? Why?
Some of the stacks he tested had significant failure rates at 1000/sec though.

Bumping it up would have made the comparison less interesting.

Perhaps it was just a small VPS?
why not tell me what i'm wrong about instead?
Good to know, thanks. I've listened to that podcast, but only one episode.
Yes, it is non-free. I’m not sure what the question is here: it’s well established that CC BY-NC-SA is non-free. The public domain portion is just the TweetNaCl piece it subsumes.

The purpose of talking about it is to warn off someone who might otherwise integrate it into their product. I don’t see this as complaining!
I think some of the most real-world use cases are in the realestate/hotels/coworking-spaces sector. The second space, email gathering (guess what, all the time people have to use <blabla> at <something> dot com to try to not have their emails scraped).
I dunno what people are doing to their phones. As a pretty clumsy person who generally hasn't used a case, the most that has ever happened (across 4 Android flagships, an N900, an iPhone 6 and now an iPhone 8) when I dropped a phone is scratching and dinging. The G1, N900, and Galaxy S2 would often disassemble themselves upon dropping, but never damaged a screen or reduced any functionality. This includes many drops (clumsy, see above) for each of those (except the iPhone 8), from heights between 0.5m and 1.5m, onto carpet, wood, tile, concrete and asphalt.

I don't see many cracked screens when I'm out, but when I do, it's always in a case. I've wondered if some of these cases actually exacerbate the problem.
Yeah airlines "yield management" and "pricing" departments are indeed a black art.

But, by and large, they're still not "personalizing" pricing. Instead they are basing pricing on factors like demand, destination, whether you're doing a Saturday stay (business travelers wont, so they'll charge more), how close you are to departure, etc etc.

Plus they're now tweaking their frequent flier programs as a way to encourage people not to buy the "absolute cheapest" fare available.

I recently booked a delta flight from sfo to San Juan, connecting in jfk. Got off in jfk and "missed" my flight. Saved over $1000 versus buying a ticket on the same flight from sfo to jjfk.
Sounds similar to what in Lisp is called a FEXPR. A concept which was widely used in the 70s and what has mostly been replaced by macros. Fexprs get the arguments unevaluated at runtime and then do runtime parsing/transforming/evaluation.
I get a forest on google maps with these coordinates.
My point is that you don't really program with recursion in Clojure, so it's not an actual problem for people using the language.
Okay cool, so Go seems to be standing alone here without that optimization :-/

Can someone please call Rob Pike? We are discussing Golang 2.0 already and still don't have 'common' compiler optimizations... ;-) joke
To be more fair, java is mostly slow on startup which which is mostly due to:

1) Swing. I have no idea what this does on startup but it is bad. This is what killed most java GUI apps. A simple AWT or SWT app will pop open while a simple swing app will take a few seconds to get started

2) Jars on systems with virus scanners. Jars are just zip files. Many virus scanners will unzip and scan a zip on every open which leads to each jar being unziped at least 2 times and often more if the app has to load more things from the jar at a later time.

3) Spring. Really spring is just a bad idea all the way through and most of the reason people hate java is Spring. Huge XML configuration files instead of code? Spring (mostly annotations now). Stupid names like AbstractSingletonProxyFactoryBean? Spring. That aside, on startup Spring will auto generate classes which really slows things down. This could have been done during the last build but spring does it at each startup which is really slow. Spring Boot has helped with startup times but it is still slower.

After startup Spring continues to kill performance. The underling code is full of maps to control request lifecycle so instead of just calling a method it has to ask "who all is configured to do something at step PreParseRequestEncoding?" then again at ParseRequestEncoding, PostParseRequestEncoding, PrePareRequestBody, ParseRequestBody.... Not real names but the idea and number of steps is. Most of the time the answer is "nobody" but it has to ask for every step that might ever need something done.

Add on top of this JPA which is super easy but quickly breaks down to a lot of DB calls. JPA is great for people who don't want to learn SQL and simple CRUD apps but anything with any amount of data will quickly slow down to thousands of DB round trips.
Perhaps due to lower fraud rates involving cars that have failed.
Good point. The sample size of one crash cited a few comments above is way too few to show autopilot makes cars more dangerous.
You mentioned Dropwizard early on, in my experience I have found it to be the polar opposite of Spring.

Where Spring is an "everything but the kitchen sink" framework, Dropwizard is just a collection of best-in-class libraries that are easily swapped out if you prefer something else.

I don't get to do so often professionally, but if given my choice of tools ill generally opt for a combination of Dropwizard in Kotlin.
*Most users. If you are caring about format and worrying about reading your books on Linux, you aren't a typical user.

I disagree with a lot of your Kindle paragraph. It isn't nearly as bad as you portray.
TweetNaCl-js is under such a "public domain with fallback" license, so I'm not sure what you are complaining about.

(And even if it weren't, pure use is not as critical as e.g. wanting to contribute to it)
Or just marketing as... goes to 11....
I just wrote a crawler for a client who needs to check vendor licenses (plumber, electrician, etc). Given a license number, state, and trade, it looks up the appropriate licensing agency in that state and pulls the license info (issue/expiration dates, biographical information, infractions, etc). Luckily most of these are old school sites so they're easy to crawl, but a few have captcha (easily solved with OCR) or are single page apps.
If this is claimed only because of the engine then I doubt it -- the defense industry uses solid-fuel rocket engines in almost all cases except large missiles like IBCMs. Although, anyone who manages to mass-produce cheap, reliable, high-performance solid-fuel engines may indeed gain a huge defense market.
Nothing about (the English translation of) that sentence supports what you keep asserting. If a Spanish high court decided that's what it means in a decision, that's fine, but you should probably link people to the text of their decision instead of repeating the phrase over and over again as if it's magical.
Several assumptions I feel are wrong:

(1) You keep saying you didn't know technology X or Y devs in Berlin. Sorry to partially derail but why is remote forbidden in your organization? I mean, you're pointing at a limitation that's rather easy to overcome.

(2) Bigger developer availability == good for business, you claim. That's very 50/50, neither side of this argument is anywhere remotely universally correct. "If all you know are hammers all problems look like nails". I've had PHP devs ruin near-perfect projects in teams where I was working. Their reliance on the arcane-but-overall-working comparison operator alone introduced at least 150 bugs over a year.

Bigger dev pool != better for business. It just helps you treat people like replaceable cogs in a bigger machine. That's not the same thing at all.

(3) Known tech != quick onboarding. You yourself pointed out your new hires needed to learn Symfony. And you claim to be interested in Elixir and Phoenix. Well, for one thing, Elixir is extremely easy to learn as a language; secondly, it's OTP (the Erlang / Elixir concurrency framework) that's hard.

So what you said could absolutely apply to Elixir. The language is learned extremely quickly and then people have to spend some time getting to know a framework. It's the same everywhere really.

I feel your comment was putting too much weight on local physical availability of programmers and that's the wrong metric to use when assessing new (and possibly better) tech.
Are you Bill Gates? Then by all means use your high profile to promote your cause.

If you're joe millionaire the only reason you're putting your name on something is because you have status anxiety. You know it, the people you're giving the money to know it and the public knows it. This goes 1000x more for the $20 donation you brag about on facebook.
Invatar – long-shadow avatar generator
Scala is a huge language, and many experienced developers have trouble using it effectively. You might learn a subset of Scala that works for you, but sooner or later you'll have to work with code written by others in a style that might be completely foreign. From what I've seen, Scala code ranges anywhere from Java syntax sugar to Haskell fanfic with libraries like scalaz.

Meanwhile, my team regularly hires coop students, and we never had to spend more than a couple of weeks training them to be productive in Clojure. Hiring and training people is simply not a real world problem when it comes to Clojure.
The Bible mentions Jacob placing rocks in formation around his head before going to sleep in the wilderness. The assumption there is that he did this to protect himself from wild animals.
From my perspective, choosing Python over Java (on Linux) around 2001:

It was easy to find benchmarks showing that Java was fast. But Java turned out to be slower in every situation we might consider using it.

Command-line applications were slower because the JVM took ages to start.

GUI applications were slower, apparently because Python would use C-implemented widgets while Java would do much of the drawing itself.

Web applications were slower without any good excuse as far as I could see, but something in the application server that was the mainstream way of doing things added more per-request overhead than starting a whole new Python interpreter via CGI.

CPU-intensive operations (I remember image resizing in particular) were slower because, again, you ended up comparing the JVM against a well-written C extension.
Would you be willing to go into a little more detail about what this is actually doing?

What is the shape of the database? Do you normalize each document into a single vector which is compared, or are you keeping per-word vectors? I'm imagining you probably don't have a database with a row for every word, but maybe you do?

How do you pre-filter the list of documents to compute L2 for? If no pre-filtering, can this approach scale into millions of documents?
> People who regularly took medication, such as beta-blockers, which impede parts of the nervous system, often had lower rates of cancer

This is not far away from backing up the link between long term stress and cancer.
these are not random, raw youtube video datasets. they are hand curated dataset in specific classes (like using mechanical turk). youtube has really diverse videos with different lighting, and real world scenarios which makes it an excellent dataset. Movie clips look great but models trained on them are useless in real world.
Sounds like grocery stores do it: http://abcnews.go.com/Business/supermarkets-introduce-person...
Entirely disabling synchronous is incredibly dangerous. Use "pragma journal_mode=wal" for a safe performance boost.
Nope. Thats not what I said.
My advice is to read Joel Spolsy's essay/opinion on founder equity division.
A Brief History of Rules of Thumb
Do I understand it correctly? If you can block the nerves then the tumour losses one of its ways to interact with the host's organism. It does intuitively make sense.
I have not used tornado but I love aiohttp. it's super fast (part in cython) and does HTTP + websocket client and server. Their team is are part of the asyncio contributors, they know their stuff.
Amazon was specifically using Clojure for the online checkout system, and the team bragged a few years ago how the system survived black friday without a hickup.

Walmart is using Clojure for their checkouts as well https://www.youtube.com/watch?v=av9Xi6CNqq4

Boeing is using it in the onboard control systems for the 737 Max https://www.youtube.com/watch?v=iUC7noGU1mQ

It's not some obscure microservice that some intern wrote over the weekend, these companies are using the language for critical applications, and the feedback from these companies is positive.
Lets look at the recruiters' situated logic.

People who agree with me and readily comply with my will are more intelligent.

Who you gonna hire?
You should read Children of Time.
Sort of, when they could. In this case there were penalties for going longer on the project. Main problems ended up being weather (heavy rains) and lack of knowledge of the soil - many changes were made to the project because the contractor (C2HM) did not do a proper soil survey where they were going to be digging.
What makes you think it was the Vitamin C that prevented the cold? It could as easily have been your belief in the Vitamin C cure that prevented the colds.
This is a fascinating topic, I'd love to know some of the Rules of Thumb HN crowd employs :)
Any word on the cost? I can't see the price obviously on the specs page.
(2) british police may be looking 4 u
I’m also an Uber engineer

> was the entire chain of command [...] cleared out?

Yes, like 80% of the C suite left. The orgs that had been the worst have had high/mid level management departures too. Our Chief People Officer Lianne has been incredible.
Those writes are pretty good. And you can game endurance by overprovisioning.
He means the circular dark area you see when you zoom out.
Simple Ways to Be Better at Remembering
"that crash rates for Tesla vehicles"

"for Tesla vehicles"

You'd need to compare this to vehicles from other brands that have had Autopilot-like features for over a decade to actually get a sense of the number, otherwise, it is meaningless. That's like saying:

"Cars with ABS have lower crash rates than same cars without"
I think that the part this is missing is that when comparing Java to Python/Ruby part of the argument for the latter is the dynamic language aspect. To the folks making these statements, Java is seen as involving all the headaches of those faster languages but none of the advantages whereas Python/Ruby have slower runtimes but come with potentially faster development time, etc. I personally don't like this comparison but it's how I see it made typically.

Random anecdote which led me to stop calling Java slow: I'll never forget the time I took a 3000ish line Python program which had been heavily performance tuned and thus completely impenetrable. I converted it to a dumbest-scheme-possible naive implementation in Java weighing in at roughly 100 lines , expecting that to be a first pass. It turned out that the Java implementation was many times faster so we called it good enough and moved on with life. Obviously YMMV and all of that
But these truncate to 1, which is normally not considered prime.
Build a Collapsable Tree Menu with Vue.js Recursive Components
"Low carb and high fat: The fat goes to your fat cells (that is, whatever fat you don't burn for fuel immediately after eating), but since your insulin is low the fat is readily burned off relatively soon."

- The fat you eat does not have to be stored as fat, the raised insulin levels are necessary for the body to store energy as fat.

"Low fat and high carb: The carbs cause an insulin spike, and insulin inhibits fat burning, BUT since you haven't stuffed much fat into your fat cells, there isn't much to burn off when your insulin eventually comes back down. You need to be relatively insulin sensitive, so that your insulin level does come back down. Even if you're insulin resistant, this diet might still work if you eat only a tiny amount of fat."

- Carbs can be converted to fat via lipogenesis.
Fowler's post was huge. Can we at least agree...

1. The Waymo lawsuit did not only happen because of Fowler's post.

2. There were multiple morality-related crises that contributed to Kalanick's ouster. (Lyft's ad campaign could be referring to the whole stew.)
HN
Bloomberg
Nytimes
Local News sites
Interesting.

You say:
"The bookmakers don't care - you've helping get turnover up, and they know increasing turnover through the market is the best way to get balanced liabilities."

And then:
"1. Bookmakers will eventually end up closing their accounts, because winners are never welcome long-term."

Is there any rational behind bookmakers not welcoming long-term winners?

It seems like a bookie is very similar to a market maker on the stock exchange. Why would a market maker care if an investor makes money as long as he can flatten his positions every hour or so and make profit with the spread.

Isn't it accurate to say that bettors are competing against each other and the bookie is just taking a fee for making the market?
If all cars were autonomous
I think C predates that principle.
Can we replace "de." with "www." in the URL?

I bet most HN readers don't speak German.
That's kind of a tradeoff, though. It makes half the language easy for other Germanic language speakers, the other half easy for Romanic language speakers, but speakers of neither just end up having a harder time because they pretty much have to learn two different vocabularies.
HN users: we're sick of ad-driven content! We want to pay for quality long-reads instead of BuzzFeed clickbait!

Also HN users: Medium has a paywall now! How dare they!
It's free for non-commercial purposes. But yes, it's true that if you want to use it in a commercial product you'll have to work out some other arrangement.
...and if you actually want to buy one,

https://www.digikey.com/product-detail/en/micron-technology-...

But it's TLC flash (more correctly known as 3-bit-per-cell), which has exponentially lower endurance and retention than 2-bit(MLC) or 1-bit(SLC) despite only multiplicatively higher capacity. This particular model has an endurance of <1500 cycles, and that's probably even after a considerable number of blocks have been remapped. The odd capacity of 11TB is another giveaway, since TLC NAND raw capacity is usually in multiples of 3.

No mention of retention either in the datasheet, which is a bit worrying.
If you're a business making a language choice based on the technical merits of the language itself, you are very much doing it wrong.
The knowledge presented in the slides will advance where you are going with your programming in the same way as knowing from which wood chess board is made will improve your ELO rating. Although learning about wood may be more worthwhile goal then learning about topics in these slides.

What is this hoping to accomplish? To convince candidates that they can't print a number? Maybe instead of intimidating people they should be inspiring them?
I was recently rejected by a big tech company for not knowing Java 8. I code in scala in my day job and haven't kept up with changes in java. My coding exercise language options were nodejs,java, python, I submitted solution java 7.

Interviewer said to my face( well..on the phone) that they won't be "moving forward" because I don't keep up with changes in technology and they are a 'fast moving' tech environment.
That's an interesting angle to look at this from. It may be less about age as a number, and more about how the generations are perceiving each other. I'm 36 and haven't even felt the beginning creep of age discrimination. I'll probably always be perceived as someone who was a teenager teaching himself how to code during the years when software was just beginning to catch fire. Our generation will likely continue to hire each other well into old age.
Few tips and tricks to build robust Scala classes
That makes it even more interesting. I think it would be very notable and significant if a neural network with MCTS and self-play reinforcement learning could surpass Stockfish, which has superhuman strength but was developed with an utterly different approach involving lots of human guidance and grandmaster input.

Giraffe attempted this (with more standard tree search than MCTS and with only a value function rather than a combined policy/value network), but only reached IM level -- certainly impressive, but nowhere close to Stockfish.
yeah, that's been my experience too: old (or in my case, gov websites) are much much easier but at least here I never needed to solve captchas - maybe it's just that scraping is not a big thing where I live (Brazil).
I just looked at the list for where my beloved cherrypy might sit. It is almost at the bottom. But that does not matter because writing webapps with it is easy and fun.
the island is Qeshm, and it's a unesco site.

Frustratingly I can't find any particular info about that bit, unless it's what's called stars valley.

http://epod.usra.edu/blog/2012/05/stars-valley-on-qeshm-isla...
No, the organization that put that slideshow together concluded at the end of its investigation that the primary causes of the crash were the truck failing to yield properly and the Tesla driver not paying attention for a long time. Their only recommendation to Tesla was to make Autopilot nag drivers more strictly if it doesn't detect that they're paying attention, which Tesla followed. Another agency investigating the crash, the NHTSA, concluded that they could not find a safety risk with Autopilot, they could not find any defects warranting a recall, and they noted that in broad terms Autopilot appears to have increased driver safety.

https://www.ntsb.gov/news/events/Documents/2017-HWY16FH018-B...

https://static.nhtsa.gov/odi/inv/2016/INCLA-PE16007-7876.PDF
It seems to be known as the Qeshm salt dome: http://wikimapia.org/11589307/Qeshm-Salt-dome
This isn't to say that you can't still build a successful startup, but it is saying that you probably won't build the next Uber/Airbnb. The difference is a few zeros but you'd still be wealthy either way.
It's a stretch to define a country as a democray when far less than 50% of the adult population could vote.
Ask HN: Distracted?
I am unable to focus on learning. Whenever I start, I get stuck in doing other stuffs, such as watching movies, reading news, reddit etc. This habit is destroying my professional and personal life. How you focus on learning coding? Any tip, tricks or hack that can help me focus?