skysight-inc/HackerNews huggingface dataset:
Unfortunately I live a bit too far from the nearest major city to take advantage of a lot of this VC-subsidized gravy train. (There are a lot of deals floating around these meal kits but they're still not really a bargain.)

Another thing with Webvan--and we'll have to see how this plays out in the Food Delivery 2.0 phase we're in now--is that fresh food delivery really was a premium offering. But it wasn't clear how many people were willing to pay a premium for it. There are a lot of services people will buy if you sell them below cost.

Logistics, scale, and just learning what works and what doesn't may change all that. On the other hand, high-quality food delivered to your door is probably not going to appeal to your typical coupon-clipping Walmart shopper however efficient your operation is.
...at least US doesn't make money selling organs :(

I really like the Chinese people, but... their gov. is f*king evil mess against them
If you're using the animation to add another axis to the plot, that can be extremely useful. But using it to make annotations zip around the screen would be pathetic.
Just two points:

> Programming jobs are a great practical employment solution

I entirely agree, but I wouldn't discount a "great practical employment solution." Compared to the alternatives, programming jobs often pay better, have a much better lifestyle, and are far more gratifying. Very few get exceedingly wealthy, but it's a very respectful position where you get to use your intellect.

> personally I feel compelled ... to seek out further innovation on the application side I have this sense that there needs to be far more crossover than there is presently.

Ideally, everyone would be an expert programmer AND an expert in something else. Having a strong command of a programming language is much like having a strong command of the English language. It's a valuable skill, but far more valuable if you have something interesting to say.
That was suspiciously fast.
You know it's a great parody when some light scrolling across the page is enough to induce slight nausea.
It's useful in that it allows visualising an extra dimension, most likely time, but I agree it has great potential for misuse. Also it doesn't work on printed material.
#bashfill  art for your terminal
They went back to a market that is not that cool but where the bar of entry is very high because real engineering is required: network equipment. On this market you deal with other companies, the prices of everything are very high, projects take a long time to implement and everything is more predictable. Sure there is some competition but nobody can hack something in a garage and compete with them.
No, Zillow's TOU is absolutely non-enforceable. Illegal TOUs are still illegal. Care to disagree?

P.S. By replying to this post, you, "non_sequitur", agree to pay me $500 for every character in your response.
13 hacks to think like a genius
Really??!!!11-i^21?
Only if it's applied as a blanket policy that insures everything and everyone has to pay it. In a more limited way, you can look at British Columbia's Autoplan insurance. It's a crown corporation that provides insurance to everyone in BC. Everyone is required by law to carry insurance on their vehicle, and they have to buy it from ICBC. It's not the cheapest in the world, as they have no competitors, but they are legally required to keep costs fairly low. So everyone in BC can get car insurance and it ends up costing something like $50-150 per month per car. No one gets denied, no one goes without coverage, and they have a big enough customer base to cover their costs.
> Is there a practical difference in cost though?

There has to be since no shareholders are involved assuming the rest of the setup is the same. If they are not cheaper then it's more likely that the coop is badly run which sadly is not uncommon.
Ask HN: How often do you WFH?
Working as a software engineer in London I find that each company I've been with over the past few years don't like me to be remote all the time, but don't really mind if I WFH for a day here or there.
My last contract I was able to WFH 1 day per week, latest one not as much.
What is your experience? Is there an "industry standard"?
Don't be a clown, dude. You basically called this poster a Beijing shill because you didn't agree with his position.

https://news.ycombinator.com/reply?id=14667581

Dang, I apologize for my role in this and will take the ban. Keep up the good work.
On-Demand Trucking: The Birth of Uber Freight
Not scalable to other Chinese provinces, as most Chinese provinces have WAY MORE than 5.8 million people...

"These renewable energy sources reportedly provided Qinghai and its population of 5.8 million with 1.1 billion kilowatt hours of electricity — equal to about 535,000 tons of coal."
David Shing reminds me of https://en.wikipedia.org/wiki/Nathan_Barley . The main difference is that one is a character in a comedy.
Don't count out sample-sort just yet, it lends itself to parallelisation very well and is blazingly fast. See https://arxiv.org/abs/1705.02257 (to be presented at ESA in September) for an in-place parallel implementation that overcomes the most important downsides of previous sample-sort implementations (linear additional space).
You would be surprised how often people just use a (repeatedly) sorted vector in spite of a proper data structure or proper insertion calls. It's a lot simpler to just append and sort again. Or the appending happens somewhere else in the code entirely.

As a real-world example, consider a sprite list in a game engine. Yes, you could keep it properly sorted as you add/remove sprites, but it's a lot simpler to just append/delete sprites throughout the code, and just sort it a single time each frame, even if it only adds a single sprite.

So yes, technically this pattern is not needed if everyone always recognized and used the optimal data structure and algorithm at the right time. But that doesn't happen, and it isn't always the simplest solution for the programmer.
Only as a backdoor.
You should only be concerned about people who know enough to tell that `google.com.feedba.ck` is probably not owned by google, but don't know enough to tell the same about `google.feedback`. I really don't think this covers a lot of people.
I have an issue with this quote from the article "If you sell your life's work, then what are you supposed to do?"

As though you've somehow failed by succeeding. By finishing what you set out to do before actually dying.

Want to know what success really looks like? Watch this video of Fred Pattachia retiring from professional surfing mid-season, mid-contest, mid-heat, after scoring a perfect 10 point ride and knowing that he'd accomplished everything he wanted from the sport. He just high fived the other guy in the water and caught a wave in to the beach with 10 minutes left in the heat (that he still technically won):

https://www.youtube.com/watch?v=WqzNpXcCJnc

For me, that's way more inspirational than what Jessica is talking about in the article. A guy in his 30s, recognizing that he just completed his "Life's Work", and deciding on the spot to move on to the next thing.
Evidence that most federal employees are in the top 10% of income earners [1].

I haven't compiled comprehensive statistics on public servants as a whole, but in all of the jurisdictions I'm familiar with, a large percentage are in the top 10%.

For instance, across Canadian provinces, annual compensation for a teacher with 10 years experience is well over the $80,000 mark, which is approximately the threshold for being in the top 10 percent in Canada. [2] And these are very secure jobs with very low possibility of ever being fired. That has value that is not captured in compensation statistics.

The teachers in BC are so entitled now that they openly tell students they don't like a particular candidate, and every student I've talked to hates that candidate and their party. Yes I don't have statistics for this particular claim - it's just anecdotes, but for me personally, it's clear as rain that unionisation reduces accountability and creates an elitist mindset among the privileged few who work in the public sector.

There's evidence that unionisation has been very harmful to the education system [3].

Being a unionized journalist for a big media company comes with a lot of perks and job security. That is a material benefit owing from the accepted political ideology, that claims unionisation serves the public interest.

>It sounds like a veiled communist/socialist conspiracy by journalists and public sector workers

I would say it is in their economic interest to advocate for political ideologies that legitimize a major role of government in the economy, and I am conjecturing that this leads to bias by unionized journalists against free market ideology. I think it's a fair comment to make.

>I'd argue this post doesn't belong here as it's so far outside any evidence-based perspective that it becomes pure partisan spin representing what sounds like an Ayn Randian inspired ideology.

Please note the journalist in question is alleging a vast billionaire conspiracy, with nothing but anecdotes as evidence, and impugning upon the character of any 'thought leader' supporting market-based economic principles, with nothing but conjecture to support his outlandish accusations. If that's allowed here, then certainly my comment should be as well.

His position is not an evidence-based one, at all.

It's also note worthy that you're bristling at the possibility that I'm accusing journalists of being socialists/communists while you yourself don't hesitate to throw terms like "Ayn Randian inspired ideology" to denigrate me. Can I say pro-union position is "Lenin inspired ideology", or would you call for my comment to be expunged from here if I did?

[1] https://www.cato.org/blog/federal-government-pay-exceeds-mos...

[2] http://www12.statcan.gc.ca/nhs-enm/2011/as-sa/99-014-x/99-01...

[3] https://academic.oup.com/qje/article-abstract/111/3/671/1839...
By contrast, you can see the entire GOÄ (Gebuhrenordnung für Ärzte) for Germany online: http://www.e-bis.de/goae/defaultFrame.htm

The first column are the number of points a given service is assessed for, the second is what the publicly-mandated insurances that most Germans are covered by will pay, and the third is the private rate: private insurance or straight-up cash. Doctors and other providers can choose to charge higher than the usual 2.3 multiplier for private patients, and they can choose to only accept private patients, but most accept the public insurances, too.

I can confirm that these are the current prices - I'm privately insured with the highest legal annual deductible (1200 EUR) and pay those bills out of pocket.

Result: Visits to my Hausärztin (primary care doctor) are somewhere in the 30-70 EUR range, full price. Just about everything in healthcare is startlingly cheap in Germany compared to the US (dentistry is only somewhat less expensive than in the US). About 10 years ago, I paid less for the same procedure without participation from my insurer than a friend did in the US after her insurance paid its portion - and I had a night in the hospital, while she was an outpatient!
Understanding Blockchain in plain English (~3500 words)
Very interesting question actually. I personally have this problem as well and find that focusing on revenue streams first somewhat resolves the problem. At least for me..
It sounds like you need to get a partner and throw everything into a pot and pick the most lucrative items first.
In addition to Mosh for handling short connection losses, if you primarily edit files in vim it might be better to look into editing files over ssh/scp in a locally running vim instance.
By no means do I believe it will overtake these other languages quickly. But one huge benefit that Rust has over these others is this idea of "fearless programming". Watching Ruby Devs jump into Rust, fight the compiler for a bit, but then have a blazing fast app with some very detailed systems level interaction, is amazing. On top of that, it never segfaults!

Jumping into C and C++ is in my own experience, much more difficult. All of the complexity of those languages disappears into the Compiler in Rust. I think the big thing here is that Rust can appeal to many developers from all walks, not just those of us who've spent years or decades with Assembly/C/C++.
"I do it to grow as a software engineer"

That's why I keep poking at CL, and don't bother much with the others. I don't think I'll get much of a paradigm shift from D or python but if I ever grok CL properly I'll feel I've learned something.
An example of something I made with matplotlib: https://streamable.com/dui9k

If there's a time dimension, there should be an animation.
beam collector sounds safer than mini furnace :)
Talking about other places yes.
The amount of education you spread (and assuming it's remembered and trusted) will never match the advertising and other underhanded methods scammers will use to trick people into visiting and believing this is a real site. They work on the scale of billions of online users.
There's a vast amount of results for shortest-path search on graphs that look like road networks. This was of course motivated by the application to route planning. If you're looking for a starting point, the literature list at http://i11www.iti.kit.edu/teaching/sommer2017/routenplanung/... is quite comprehensive and grouped by technique. It's a lecture at the group that developed the routing algorithm used by Bing Maps. I work one storey below them, at the group where the algorithm used by Google Maps was developed :)
Well then complain to your government ?
What is China doing in Africa is not nice.
I believe it was "Research And No Development", intended as a pure think tank for concepts without worrying about implementation details.
Fabio Borini Passes Milan Medical
This comment reminds me of this one time in 2006 when I did a little meeting where I was advocating for using RDDL (http://rddl.org/) to find Danish Government XML Schemas, and demonstrated a bit of code I had written to enrich a webpage with rddl data and someone (won't say who here) announced that he had that same thing working on his blog and it only took one line of code and the use of the word framework for this was a little bit pretentious.
Business Analytics in the Cloud: Is Sky the Limit?
What? That is a different subthread, not connected to this one.

vitaminbandit, please stop harassing my account.
A lot of "built by the British" sloganeering but just how many British hands touched a welding torch? Moved ground with a shovel? Hauled supplies?

>Hong Kong was once known for the speed and efficiency with which it built huge planned communities with ample public housing every several years. But it has not managed to do so since Britain returned it to Chinese rule on July 1, 1997.

Perhaps a central government tactic. Build up a mass of wealthy entrenched home owners hell-bent on not seeing their guaranteed rent seeking threatened by cheaper public housing.
You don't need encryption to disable USB DMA. IIRC Apple and Microsoft disable DMA in recent versions of their OS when you lock your computer. Don't know about Linux, would appreciate if someone shared the state of affairs there.
Well you know about computers presumably if you're here, so think about how computers, hacking, mainframes etc are portrayed on TV and in movies. Ludicrous, right?

Now consider that a doctor thinks the same about medical dramas, cops and lawyers think that way about crime shows, even pastry chefs probably think that about pastry chefs on TV.

Yet the people who star in and who produce these shows are wildly successful and rich. Politics is the same.
Qatar blockade highlights fragility of helium supply
Average is such a useless measure, what if there is a bi- or tr-modal distribution, or a huge number of outliers in one direction or the other? I wish they would include modes and medians.
I had to google WFH to figure out it meant ”Work From Home”. Is it really too much to ask that posters take the time to define the (potentially) obscure and/or ambiguous acronyms they assume everybody else is aware of?

As for me: about once or twice a week. I'm doing it now.
TrustZone is not a "management" feature in the sense that Intel AMT is; it is a security feature that can prevent/obscure certain hardware access (basically Ring 0 for peripherals), but does not allow for out-of-band machine access like AMT (although in-band machine access, with the firmware circumventing the user OS is a possibility).
There's some stellar reviews popping up there already
Won't using Canvas or WebGL to render all content kill accessibility?
The Wellness Epidemic
Sci hub :) was even on the frontpage here a couple of days ago https://news.ycombinator.com/item?id=14632603
Gonna jump in here for better or worse...

> I would say it is in their economic interest to advocate for political ideologies that legitimize a major role of government in the economy

While this may certainly be true for federal workers, I'm not at all convinced that this is the case for union workers. But even if it were true, I don't think federal workers and journalists have nearly the same power as large corporations and special interests who have don't just have "bias", but explicit stated goals to change the status quo in their favor.
Denial of Service by Obfuscation, Denial of Service after exceeding a certain amount, Denial of Service by Way-Lawyering, these is all information that needs to be compiled from anecdata into solid numbers, that anyone can instantly acess and that allow for a metric on insurance quality.
I'd go the other way - rather than generate code from templates, declare the dynamic parts of the page in code, and generate both the implementation and the test accessors from that (I'd use a Wicket-like approach where the HTML fragments only included ids and all the logic was in code). I haven't seen this done for the actual HTML side of things, but https://github.com/http4s/rho gives you a declarative way to, uh, declare your HTTP routes, and then you can generate swagger or a client from the exact same declarative routing construct value that you're using to run your actual routes.
> Trump is more constrained in the US than he would be as a leader elsewhere.

O_o

In a parliamentary system, when the leader loses the backing of their own party, they're no longer leader. And you don't have to wait four years for that to happen.
why pump at night? wouldn't it be better to pump while the solar panels are active?

do they cover the water to stop it from evaporating?
Roche acquires diabetes startup mySugr
How to Make Google Data Studio Dashboard for Adwords, Facebook, Twitter and Bing
Show HN: Handy .gitignore generator
Two points:
- I do think they are concerned about google.com.feedba.ck, those lawyers need to fill up their day.
- google.com.feedba.ck is far more sketchy looking than google.feedback. It's far easier to fool someone with the latter, and therefore far more of a thread.
What Would You Do If Money Was No Obejct – Alan Watts
Gay marriage: the database engineering perspective (2015)
That's exactly right and it's a useful lesson. Browser vendors and internet infrastructure engineers need to do more than simply make security tools available - the tools need to be publicised and visible too or they won't be adopted. Sites need to actually break if they're not using necessary security options, or at least show a warning to the user.
Or they buy every amazon.$TLD before anyone else does.
There's actually 3:

Quick sort (unstable, n^2 worst case, in place, heapsort (unstable, n log n worst case, in place) and merge sort (stable, n log n worst case, not in place)

There are variants of each that trade one thing for another (in placeness for stability, constants for worst case), but these are the three efficient comparison sort archetypes.

Of these, quicksort and heap sort can do top-k which is often useful; and heapsort alone can do streaming top-k.
German parliament votes to legalise same sex marriage
Could it mean that you could generate music for games that would follow the action and help build up tension?
The biggest thing for me is that, if there really is a market for home delivery of fresh food (at least in urban areas)... And there certainly seems to be. There is in the UK and it's growing in the US even if some services like Instacart have their own profitability problems. Meal kits [from the same stores/services] are such an obvious expansion to that and they're already happening.

Blue Apron and its dozen or more competitors just seem like such a niche [standalone] offering. I'm pretty darn close to their target demographic and they still don't quite fit my needs. Developing a platform to serve this market presupposes that it's a viable size of market to serve as standalone businesses and I'm not convinced it is.
"What? I was uncivil to someone else, in an entirely different subthread leave me alone!"

You're pathetic.
"It has a vendetta against Kaspersky Lab.
If this malware finds running Kaspersky processes on the system, it writes junk to the first 10 sectors of the disk, and then reboots, bricking the machine completely."

lol
Spray is the best approach to HTTP routing I've ever used, though I suppose you could argue it's just a normal library and you just write normal Scala. I'm not sure how you'd really draw a line between that and a "DSL" - to my mind any good library lets you write what you're doing in a simple, declarative, domain-appropriate way.
Intel's Euclid might be interesting for an all-in-one sensing and compute unit. Just need to interface with motor controller and steering servo. Arduino would be a good pairing for that. The RGBD camera is probably indoor only for depth.

https://click.intel.com/realsense.html
I'd throw in pattern matching, which is becoming popular thanks to functional programming.
Or with your expectations. Or both.
I said it in general, some people find one or two things boring, but generally there's at least a sport or something that involves physical activities that they do like. I advise them to do it.

The main issue is that people don't exercise regularly, while investing and thinking about their future, when that actually makes they live less and also reduce their potential investments returns(as yield doesn't beat time)
'The artist talks to himself out loud.' is a beautifully succinct way to phrase the creative process of the authentic artist, at least as I understand it. Thanks for that.
3D printers start to build factories of the future
A lighthearted view of Camus that some people here may enjoy can be found at http://existentialcomics.com/philosopher/Albert_camus
this helps with legibility I think, you can see by the function definition that you have return variables: a,b,c and don't have to scan all the returns to see which order things are in.
Simple binary tree is O(n^2) just like a linked list.

Unless you know what you know your distributions and are generally proficient in probability theory (in 99% of the cases, neither can be relied on) the only relevant big-O metric is the worst case one
Related thread by Rob Graham:

https://twitter.com/ErrataRob/status/880536274913771521
Been to a tech conference in Japan. Extremely expensive, and nobody speaks English. Europe still holds the best options.
Every day give or take office visits and days out etc.

Been that way for over 10 years and wouldn't change a thing.
I'm a liberal/hacker/software-engineer - you know the type, even joined the Pirate Party years ago.

But am I the only one that doesn't have a problem with this. The set of people that visit the dark web intersects with the set of terrorists so obviously they should look into those people.

>their spies are terrorists, wow

Their spies are a special case.

If you don't want to abide by the laws of the UK then nobody is forcing you to live here.
I live in Sweden too, and Länsförsäkringar weren't cheaper than the alternatives for the things I looked at (car insurance, home insurance).

That's just looking at the premiums though, there's no way to see any potential refunds and take those into account.