skysight-inc/HackerNews huggingface dataset:
My father died from metastasized prostate cancer. It kills many men each year. If you want to spread "fake news" try another site.
How fast food reveals secrets of the economy
A coordinated attack? You think it's surprising that this story is generating interest considering what Fowler alleges?
I know someone that was offered ~$800k in equity late last year. If the stock stays at the target IPO price (big if), that's a million right there. I would guess that a large portion of engineers could earn >$1M.
What video hosting pipelines are startups using?
Few I have considered:
1: Upload raw video to Amazon S3/GCS -> Zencoderencoder -> save back to S3/GCS-> Serve through CDN(upside:reliable), (downside:expensive and round-tripping extra bandwidth)

2: Upload Raw video to Vimeo PRO-> serve directly through Vimeo CDN(upside: No bandwidth limits) (Downside: Storage Limits)

3: Upload To Amazon S3 -> transcode with zencoder-> upload to vimeo(upside: raw video never stored on vimeo)

What are other startups using for their User uploaded Video files?
Erdogan's was something of a "countercoup" (assuming, of course, that he didn't somehow prompt the initial attempt himself; which is possible, but unlikely).

Sure. But I'm a bit skeptical of the "initial coup", given that analysts at the time were saying things like "this is the most pathetically incompetent coup attempt I've ever seen"; I avoid using the word "countercoup" since it implies the conclusion that there was in fact a real coup attempt to which Erdoğan responded.
Creative People Say No
I've got to disagree here, and again, I'm going off of personal experience at only four companies. On the one hand, of the four companies, three were well established, and none were startups -- however, in a strike against them as far as discrimination is concerned, the they were in telecom and performed layoffs once to twice a year of about 5-10% of staff (more during 2007-2008). The only blatant cases of discrimination I witnessed were two occasions where older employees were let go due to them being close to retirement age[0].

Accusing individuals of turning a blind eye to discrimination is a pretty strong charge. An equally strong charge would be to state that some individuals go out of their way to look for discrimination where none exists and call those individuals something akin to "snowflakes". To be clear: I don't, personally, believe either of these things, but I think it's important to play Devil's Advocate from time to time.

Another possibility is that people saying "it's unbelievable" do so because they, themselves, wouldn't dream of acting in this manner or being part of a team where this kind of behavior went on. And I think some people disregard "bigotry and rampant unprofessionalism" because human nature tends toward avoiding confrontation (or risking one's job by causing a problem for an influential manager). That last bit is the worst case because it causes the problem to be sanctioned through inaction, it damages the company, its shareholders, its customers and its employees[1], which causes a feedback loop making it even harder to stand up when something unethical is witnessed.

[0] This was done because the managers thought it was the best option for everyone -- the two guys were with the company a long time, would receive a very big severance package (this company had a great severance offering) and they were preventing another few employees from being let go who were younger with families. Unfortunately, I know that in one case, the individual let go was both a high performer and had no desire to retire at retirement age. It was ugly and I nearly left the company after it happened (I only stayed because they were being bought out and the new company was taking us over -- it was as good as getting a new job as the two places didn't resemble each other on anything but paper).

[1] And I get it -- I was personally told on one occasion by my boss that he "had just spent an hour convincing our VP that I should keep my job" because I pointed out a large license violation I had discovered and wasn't aware that the person responsible for that (unintentional) licensing oversight was in the room. In the end, though, I would have done it regardless and my actions resulted in that manager being forced to work with the vendor, avoided an audit and negotiation got us pennies on the dollar to become compliant, again.
You're right, except for when you need to support multiple database backends. For projects it's usually not a concern, but for libraries it certainly is. The ORM has been slowly adding more and more complex types (Expressions) for more complex use cases, which can be mostly ignored for regular CRUD apps.
But still no way to enforce or enable as default.
Remember Pirates of Silicon Valley? I Sure Do
No, I think that this coordinated attack has been going on for at least a month (remember #deleteuber?) and that this is just the latest salvo in it.
The Blitz happened in 1940. At this time, the German rations were pretty much the least constrictive of major world powers--certainly better off than the UK ration situation.

Germany didn't suffer majorly in food resources until 1944, when it lost the ability to strip France, Ukraine, and Poland of food for its home front. Obviously, if you weren't German, you had a much harder time getting your daily calories, but we're discussing in context of the Blitz, and soldiers in wartime invariably get much higher rations than the general populace.
Some more important notes (IMO):

- Long Term Support
- Last release to support Python 2
- Server side cursors for postgres
Time to Encrypt the Cloud
Absolutely. There was a fantastic talk at CppCon last year, using C++17 to program a game for the Commodore 64. Using standard C++ idioms, the optimizer was easily able to make it compile down to efficient machine code.

[1] https://www.youtube.com/watch?v=zBkNBP00wJE
Gnuradio is much more complex and powerful but looks like it's from engineers for engineers: I could hack together a superhet receiver in a day, but have never been able to do anything with Gnuradio that even pretended to work.
This is probably my fault for expecting a radio software to have knobs...
If you already know SQL but don't know any Django, then yes. But if you already know all the other Django model functionality and it's just a matter of learning the new Subquery syntax, then it's probably easier to do in the ORM.

There is definitely a benefit to querying everything the same way if you can, so that way it's easy to grep where different tables are being accessed. Cuts down on bugs, security issues, etc.
And then what?

Apparently, many other individuals either directly participated, or indirectly did nothing. Both are equally bad. This indicates a broken culture not just for the company, but for Silicon Valley and the industry as a whole.

It is likely that Uber employee demographics closely match Bay area. Are we to believe that for all the talk about liberalism, & progressiveness, when it comes to real action, SV employees will choose stock options instead?
Ideally unicode was that way, honestly. I haven't found a way to install these emojis on Linux...
Absolutely. The amount of "magic" Django does slowly became a real detractor for me.

The way I define queries by using a custom language in the form of keyword arguments makes me wonder why I don't just learn SQL instead?

I would much rather do something like:

models.Foo.objects.filter(sql=my_sql_query_str)

Instead of something like:

models.Foo.objects.filter(name='bar', parent__siblings__count__lt=3)

And no special abstraction on SQL in the form of special classes. Just a string of SQL that I compose with Python string formatting. SQL isn't scary. I don't see the need to try and hide it.
Repost.

https://news.ycombinator.com/item?id=13687493
They are shocked, shocked to find gambling going on in this casino.
Wow. Starting an ISP on credit cards and $2,500 cash. Very resourceful. I guess it also helps also knowing this stuff since you worked at a datacenter. I wonder what kind of regulations there are for something like this being wireless. Sounds like it would be a bureaucratic mess to license frequencies. Really inspiring blog.
It's actually £3700, so approximately $4650 (US).

Eye watering indeed.
>And (void)printf("hello world\n") right?

then of course, you find a tool that complains, "useless cast"
Glad you found something fun. If it's L3 for CPU's you mean, then one project of value nobody has done is put in specs for VAMP processor. It was mathematically verified in PVS as part of Verisoft project. They did OS and C subset for it. Adding it to L3 and Myreen et al's toolkit for doing machine code in Isabelle/HOL would let their spec-to-machine-code verifications run on a verified processor.

Just throwing that out there for you or anyone interested in lengthening the chain of verification. VAMP doesn't get enough attention. On HW side, someone could do a verified front-end for RISC-V on top of the VAMP components to get a mostly-verified RISC-V. Lots of low-hanging fruit out there.
Really? Care to back up your statement with any concrete example?
I really want to get one of these, but I can't get myself to. I have a 2015 Macbook and I hate the keyboard. I thought I'd get used to it but never did, the one in an older Air is so much more comfortable to me. I went to the Apple Store twice to try out the new keyboard and, while it's better, I can't imagine being happy with it. Does anyone else feel the same way or is it just me?
Thanks for your revision. At the border you still have the right to a lawyer who can file a writ of habeas corpus.

Then you must be charged or released.
All of your points in favor of debian's system really only apply if only use Debian's official package repositories. Something that you can absolutely do in Urbit as well. Nothing says you have to pull packages from every possible location out there. Urbit can absolutely have it's share of official repositories of applications with the same quality and safety guarantees that Debian has. And indeed many of the apps you get already come from a default official source. The star or galaxy you got your ship from.
Pay-By-Article is, I believed, feared by publishers and journalists because they see how often the number of clicks and comments diverges from the perceived importance of stories.

Once pay-by-article is the driving force of everything, it will be incredibly hard for these organisations to resist the urge to cheat here and there. Send a writer and a photographer to Tajikistan for two months to report on the election? For the same price, you can get 120 "analysis" pieces on the effect of social media in the presidential election.

Instead, I'd be happy to see "casual" online subscriptions: I believe there's many people like me who read lots of sources at medium depth. There should be a range of the number of monthly article views (anywhere from 30 to 200 I would say) where the publication is important enough for a reader to commit to spending some money, but not important enough to warrant a full subscription.

Ideally, the publishers would band together and create an actual "netflix of news" with such packages for the top-50+ publications worldwide. There must be a huge untapped market of avid news consumers currently underserved by the market.

Why hasn't it happened? I can only guess that the publishers are weary of relinquishing the reader relationship to any middleman. I think we're approaching the point where they'll either have to do it themselves, or these behemoths (google, fb, Apple) will do it for them.
https://docs.djangoproject.com/en/1.10/topics/db/sql/#django...

you can already do this. the django ORM has a convenient and expressive API for a lot of very common types of queries, but lets you easily drop back into raw SQL when you have a high complexity query that you want to write by hand.
This quadratic implementation was a mistake.
Ah took me some time to understand why this works:

Every uint32 can be expressed as k=3*N mod 2^32. We can get that N by multiplying by the modular inverse. k is divisible by 3 if and only if the multiplication 3N doesn't "wrap around".

So: Multiply by modular inverse to get N, check that it's small enough that 3N < 2^32 ore equivalently that N < 2^32 / 3 = 0x55555556.
I don't like to see my ISPs eating their own dog food, because I like my ISPs to be capable of communicating during outages.
Some journalists have written trashy gossip articles, and I wouldn't defend that.

But if that's his mindset, "Other people have done bad things, so why shouldn't I?", that's not great. That leads to a culture of decaying ethics, lowest-common-denominator behavioral norms, backstabbing and retribution, etc. And the stories we've heard about life at Uber become much more plausible.
I'm always surprised when developers don't talk about the F keys in their reviews of the new MBP.

I mostly agree with the author regarding the escape key, the touch bar isn't really a problem in that regard, it still works and I got used to "pressing" it on the touchbar really quickly.

I really really miss physical F keys though. I spend a lot of time debugging (either in the Chrome debugger or in IDEs) where pressing F-Something seems to be the norm to step into / step over. The lack of feedback makes it a lot harder to use these keys repeatedly (in my experience anyway). I know I could change the keys but...

To be honest, that's the one thing that really bothers me about the new machine, I got used to everything else pretty quickly. I should note that I was forced to switch to the new model (my 2014 MBP was stolen). I didn't want a new machine, wasn't happy about getting one and started using it in the worst circumstances which probably didn't help me "learn to love the touchbar". Insurance paid for the new machine so price wasn't an issue for me.

I don't think it's an abomination or anything, I just never find it better than a normal keyboard with F keys (I don't do video editing or anything where a timeline might help me).

Other developers who use the touchbar MBP, do you not miss the F-Keys ? Have you changed the keys you use to debug ?
Kid has shocking accident
True, it could also be more general xenophobia. Not in the clinical sense, of course.
Inside the Secret World of Russia’s Cold War Mapmakers
> I don't use a library to merge attributes on objects. I cut and paste one of a few snippets or write from scratch. Sometimes you want to mutate an object, sometimes you want a copy, sometimes you want to shallow copy or keep a reference to the parent. I could write a nasty complicated function that intelligently solved "the problem". But all that does is bundle together a bunch of different solutions to different problems and make it hard for me to understand which one it picked.

Rubyish-ness aside, this just seems like a worse solution than a library.

1. You're cluttering your files with code that isn't essential to your business logic (and although you might be able to recognise a particular snippet as in-place-merge vs shallow-copy-merge, anyone new who's reading your code will need to read each snippet as they come across it to understand what high-level operation you're performing).

2. Especially in JS, more copied code equals more parse time (which can be a real killer as a project grows).

3. If your code does have a bug (like being accidentally quadratic), you now have a harder time finding and updating all of the places that use it.

4. You've spent your own time writing, customising, debugging and maintaining these snippets when you could have just written _.extend() and had short, clear, working code that most JS developers already understand the behaviour-of.

I'm not saying never write your own snippet — there will be plenty of times when you need some really specific behaviours or performance characteristics — but the default way to do common data-shuffling operations should be a clearly named function call to a shared library.
Never raise prices? Ha! Try living overseas. Apple regularly raises and lowers prices to match local currency to USD exchange rates. They also seem quicker to raise them in response to exchange rates than to lower them. I can't blame them for the adjustments themselves but the raise fast, lower slow, behaviour is irritating and stinks of profiteering.
I just wish I had a device that was supported, having major issues with cyagenomod, had to flash stock and it's driving me crazy.

Cyagenomod with no google apps/services at all makes me feel much better though. I may have to get a new device just for lineage.
> Where I assemble a SQL query string using string formatting and vanilla Python.

You can just add various filter conditions to a dictionary, and then unpack them into the filter as kwargs. That way you can still build up the dictionary using if/else blocks or however you would normally build up a SQL query string.

SQL isn't scary, but for simple queries the Django ORM usually a lot more legible if you take the time to learn the DSL.
One thing to remember that those so-called "independent" investigators are almost never independent. They are hired by the company, provided with biased information, and will definitely serve the company's benefits in the end. This is more like for show. Look, we have hired the former U.S. Attorney General to do the investigation. We are taking it very seriously. That said, let's wait and see the result.
Airlines are notorious for this. One-day return? Business traveller! Hit him! Searching flights on a Saturday afternoon? Private travel – let's discount. High-DPI display? Did someone say "discount"? I meant "this counts" – as a good reason to raise your prices.
The problem is, only the people who want something ask you about it. No-one's emailing to say "hey the Google Play integration is great - don't remove it!"

Then after you do what the people emailing you wanted, all the people who were silent chime in. "Wait a minute, why were you spending your time on that? None of us wanted it!"

That's why it always feels like marco1 described.
"Who can we pay to make it look like we're actually doing something?"
I participated (mostly lurked) on the -offtopic of a niche IRC channel which had developed the most fascinating culture I have ever encountered anywhere, on the Internet or in person. This channel had developed a governance model based heavily on English Socialism (as seen in Orwell's 1984). Over time, a hundred-some-odd-section rulebook had been formed, with rules ranging from "no nick-spam" to "UTF-8 is the one true encoding" to "all rules currently in effect have always been in effect;" this last in particular resulted in people suddenly not talking about any past violations of a rule after the rule was put into place.

A dystopian chatroom is an extraordinarily odd place.
Signal only works on phones and chrome desktop right now. So other devices are anyway out of question. Their goal has always been secure messaging for the masses, and not necessarily secure messaging for everyone and everything under the sun. I think it's a fair trade-off if it helps them get the user base by keeping it simple and similar to WhatsApp. Even in its current form, it's incredible difficult to get people to use it. It would be much worse if it were any more complex UI-wise.
Ask HN: Best solution for family remote support
My parents need my help on managing their computer constantly. I'm their IT guy.

The problem is we live in different countries.

There used to be an app called crossloop, similar to chrome remote desktop. Very easy to use.

Crossloop was acquired by another company and service was shut down.

Chrome remote desktop is a close replacement, we have used it for a while. but guiding my parents on the phone to go into chrome store and install it is already a painful process.

it also has many problems, for example, we have seen unmatched protocol version, unable to obtain access code.

remote support is too difficult for us. Is there any good solution?

Otherwise, this could be a good saas project I can do.

It's more difficult on the phone, I don't know if there is any remote support software for the phone.
You can actually install Google Play Services on Sailfish and it's easy to do, but not officially supported obviously.
These are actually solid life advice for programmers: https://xkcd.com/1319/ & https://xkcd.com/1205/
So... not very independent.

Holder has advocated for Uber in the past, we know he has a relationship with upper management already, which suggests it may not be a very impartial investigation.

He's been in an advisory position to Uber since at least mid 2016. From July:

> In one of the widest national efforts that Eric Holder Jr. has undertaken for a client since rejoining Covington & Burling last year, the former U.S. attorney general has written to lawmakers in three states on behalf of Uber Technologies Inc., urging them not to mandate fingerprinting for driver background checks. [1]

> Holder's firm advises the company on safety matters and Uber asked him to write the letter, according to company spokesman Craig Ewer. [2]

I hate to be negative and rude but I don't think this is going to generate the best outcome. What if Holder is just their go-to big name to get... political problems solved, and they just consider this to be just another pesky political problem?

The article mentions Holder's firm, and they mention that the firm did an investigation into Airbnb, but they don't mention the previous relationship of that firm to Uber. This seems like relevant info for such a story and makes me wonder if the omission is intentional.

[1] http://www.law.com/sites/almstaff/2016/06/16/eric-holder-adv...

[2] http://bigstory.ap.org/article/01685274cc944196af9016ad0a875...
I think you're correct in a lot of ways, but I still view this as a major improvement from an internal investigation, or an investigation conducted only by sitting members of the board.
Yup. In the case of GitHub several years ago, the "independent" investigation never even talked to the woman who made the accusations! That's common.
This may be a naive comment (I know very little about pathing), but one thing I've wanted to experiment with is the idea that enemies shouldn't have perfect pathing when the map changes. I always think, why do enemies know how to get from point A to point B? If they have some knowledge of the map, then you can pre-compute paths, but as the terrain gets modified, those paths will be destroyed. It seems to me that it might be more efficient to modify paths, iterating over the changes in the map rather than iterating over each of the enemies. If locations become unavailable, then "dumb" pathing techniques might be reasonable, possibly using some kind of swarming algorithm, or ant-like behaviour to get around local obstacles.
my favorite feature so far is search, this is first LTS release with search support builtin (was introduced in 1.10)

https://docs.djangoproject.com/en/1.10/ref/contrib/postgres/...
"easily"
"litigated"

Those two words do not go together.
I think Huffington is on the board, so between that and having the head of HR and Legal, I don't even know if I'd consider this "independent". I hope I'm wrong.