skysight-inc/HackerNews huggingface dataset:
GT Advanced says fell victim to 'bait-and-switch' by Apple
This talk explains why: https://www.youtube.com/watch?v=MLksirK9nnE
Yes, it's pretty much that simple. Google has terabits of dedicated bandwidth capacity and datacenters located all over the world. Fewer hops and a shorter physical distance to the server = lower latency.
await isn't an alternative to TPL/Tasks, it's a feature that improves a certain common use case of TPL/Tasks. "await foo" means (roughly[1]) "yield and schedule the current continuation to be run on completion of foo". What really requires language support is the "current continuation" bit, which starts to become tricky/convoluted to express directly once control flow comes in.

For any use case other than this there are other tools, such as WaitAll/WaitAny as you say.

[1] http://stackoverflow.com/questions/4070237/how-could-the-new...
That is an exceedingly unique situation. I have never heard of any of that being reimbursable. Even with the amazing insurance I had at my previous job, none of that was true.

Also, FYI, because of the ACA (Obamacare) there is no longer a lifetime or yearly cap on benefits.
China builds computer network impenetrable to hackers
Atmospheric drag is actually quite an issue for satellites in low orbits.
Space is not empty there are tons of dust and ice particles out there especially in the intended orbit.
An exaggerated analogy will be dragging it in the sand but it's not that far off.
But most importantly satellites are not built to survive in space they are built to survive launch (and into-orbit maneuvering) which is by far the most violent maneuvering any man made objects go through especially when you don't have a human cargo to care about.
250$ an ounce for a satellite with sufficiently enough advanced equipment to serve as a high bandwidth internet relay is actually extremely cheap to the point of being almost a fraud unless they cut out the R&D costs from the calculation and spread the buy-in and manufacturing costs across 1000's of units over several decades.
> It's an enormous risk to develop very deep skills in a tiny niche: that niche may go out of need, and as an employee, you're just fucked.

Not to mention if you've been at a company for a long time and they have you in charge of the legacy systems, which are moving farther and farther away from the profit center systems with all their shiny new bells and whistles. Again and again and again I have seen people punished and let go due to their "loyalty" in maintaining the legacy systems, as opposed to working on the systems with constant new features that are where the business growth and revenue is.
Here are some stats and crappy bar charts:

https://docs.google.com/document/d/1504Sy29t1uUw_B8zTbeLIPCH...
> This is the traditional “adding” of colours together to produce new colours. (Said of RGB.)

But it's only "traditional" in computer graphics. Paint is subtractive, and so is printing. If your color background is one of these more traditional fields, then additive is most definitely not traditional.
It looks like I was wrong about this. Will multiple datacenters allow you to continue setting up new accounts using nothing but bitcoin? If you don't need to provide identification, then this might be an interesting avenue to explore. Thank you for fact checking me.

There's the chance that datacenters will be more inclined to image your server for authorities if you've set up a server using bitcoin and are hosting large amounts of Tor traffic, but at this point we must assume authorities will image your server anyway, so there's no reason not to go this route if it's as good as you say.

You may need anonymous money for other things, but server rental was the primary case I had in mind.
>1. In typical situations, 256 shades of brightness of a single color hue are the most we can distinguish and will form a smooth gradient without banding.

This is less true than you might think. You rarely have a gradient from pure black to pure white, so in practice a useful gradient will have much fewer than 256 shades in it, few enough that banding can be noticeable to a trained eye. Add in the fact that most consumer TN panels are actually 6-bits per component with temporal dithering (rapidly flickering between two colors, basically) to compensate, and it's even worse. A lot of AV enthusiasts have switched to 10-bit (1024 possible values) per channel encodings for this reason: it preserves subtle gradients which improves compression and allows them to be displayed with dithering on lesser displays.

>2. Many artists will use opposite colors on the color wheel to darken colors- So to make a darker yellow, they'll mix in purple paint (or use purple dithering, depending on the medium.) How this relates to color theory from a psychological standpoint is unclear

It's just a simple way to desaturate the darker tones. If saturation is the degree that a color's strongest components deviate from its weakest, then it follows that adding a bit of the opposite mix of components to a color will even the components out and thus reduce saturation. If you tried to do the same by mixing black or grey into it, you'd go beyond evening the components and also reduce what were the dominant ones, and get a much duller color than you probably intended. Beginning artists often do this with skin tones, where it looks dull and lifeless to the point of being disturbing.

>6. A good rule for UI design is to only use two colors at most (besides gray tones) on the screen at a single time and maybe one extra color in a very limited way. If you don't do this, you'll end with an "angry fruit salad" interface

Heh, I'll have to remember that one. Pretty much sums up how I feel about syntax highlighting.
out of curiosity, what's your company and/or field?
Non issue? Until you want to take some time off work to try starting your own business, or travel, or be a stay at home parent, sure.
A Fast General-Purpose Lock-Free Queue for C++
I'm not sure why you're getting voted down for this.

The drug laws kill, they kill more people that take drugs than they help. They also cause collateral damage all over the place, fund organised crime on a massive scale and contribute to the undermining of stable governments across the world.

There is no doubt at all that prohibition is horrifically immoral.
16 “Must Watch” Videos Before Making a Startup
I would guess that it's to keep underage girls out of the stripping business.

Probably previously the onus was on the owner to avoid hiring underage girls. But a couple scandals later, the government responded by requiring licensing.
They make those harms demonstrably and measurably worse. They kill. If negligent homicide is immoral then so is the drug legislation and so are the people that prop it up. In fact it goes way beyond negligent.
A lot of European countries (UK and France being exceptions) have almost zero black population who are in the middle or upper class. Most of the small black population they have are recent, and sometimes illegal, immigrants from Africa.
Mr Hess will no doubt go onto greater things.

Is the choice of subject line for the email message some kind of warning? (The dolphins left Earth just before it was demolished to make way for a hyperspace route in the Hitch hiker's Guide to the Galaxy)
Run-time code generation being faster than static code generation isn't fundamentally weird: as an example, take a program that takes (pure) C code as input, evaluates it, and returns its exit status – compiling the code and running it could be much faster than interpreting it. In fact, variants of this are significant features of general-purpose processors.

The fact that many programs written in dynamic languages can be sped-up in this way is slightly surprising, as they are a different family of examples, but isn't much different on a fundamental level.

On a different note, if dark silicon becomes cheap, then general-purpose processors would become less important, as one could have a computer system consist of thousands of independent systems, each for a different purpose. If dark RAM would also be cheap, then giving each such processor its own memory could eliminate the need for MMU-s.
Although it is quite interesting, it's getting flagged I think because it is bringing out a bunch of idiots in the comments.

Many have concluded that this kind of thing cannot be discussed here in a civilized manner, and have taken to flagging such stories.
Okay. How are you going to make said people go away? They don't read HN and they don't read such articles either.

My take: stop catching their bait; ridicule them back; level the playing field to stop nurturing stereotypes.
Apple / GTAT Sapphire Supplier Contracts
That's essentially true whenever you wake up. If you can remember your dreams you are at height of creativity wave.

Dreams are merely snapshots of random neurons firing, that your brain for giggles sort into a cohesive dream - because for it can't be symbolic.

I used to sleep a lot with South Park blaring in the background. From what I've gathered brain takes stimuli from the last 50 to 30 min, just before waking up and turn in into cohesive whole. How do I know? I read some research and additionally by accident, in my dream I recognized parts of it as South Park episodes (yay lucid dreaming) that ended in my dream. Since the playlist was going sequentially, I could track that it was from a previous episode, however the current episode was halfway done.
True, but you can assess how approachable a language is by simply approaching it. This is useful information. You could even argue that experience would disqualify you from reviewing using that angle!
Like you†, I've had the pleasure of working with some fairly large concurrent codebases and the character-building experience of tracking down deadlocks, random memory corruption bugs that turn out to be race conditions, and (my most favorite of all) unexpected serializations that randomly bring programs to a halt. Most of that experience has been in C++, with a little C and a little Java mixed in there.

Over & over I see language aficionados ding Golang for not taking advantage of immutability and for allowing shared data --- or, in your case, going a step further and reducing all communication among processes in Golang to instances of synchronized sharing.

What I'd like to know is: why don't all those hundreds of thousands of lines of concurrent Golang code out there, including all the library code I can just "go get" and whose authors have been encouraged by Rob Pike to use, basically, threads with near total abandon (watch his video about designing a lexer!) --- why don't all those libraries and programs randomly deadlock and corrupt themselves all the time?

Because my experience is that Golang code is quite a bit more reliable than, for instance, Python code.

What am I missing? The "share by communicating" model in Golang seems to work pretty darn well, especially given the extent to which Golang begs programmers to make programs concurrent.

† OK probably you more than me but still.
Core Lending – Survivor
Our company is completely distributed, and people choose their own schedule.
> But it's only "traditional" in computer graphics.

And lighting.
Mattermark hiring an engineering manager to change business intelligence
I apologize, "still" came off as pejorative. My post became a little muddled there, but had my thoughts been clearer, I would have focused on just one group: programmers who currently use C++ even though they would prefer to switch to another language. My interest pertains to them -- what requirements have prevented them from switching, and does Go satisfy those requirements?

>> [C++ is] still evolving and has produced many innovations

You're absolutely right, those features extend beyond performance/control.

>> Go looks like an update of C that has ignored all the good innovations of C++.

Yes, Go feels much more like an updated C to me too. And it makes it all the more surprising they expected C++ programmers to jump on board. I double-checked the quote, and actually C wasn't mentioned at all.
Yes, I'm sure that his "not actually the same as the joke we're talking about" joke was a mere slight variation. Maybe the Secret Service guy missed the (+5: Funny), I'm sure that happens to the best of us sometimes.
Comparing Go and Rust doesn't feel right. They are obviously designed for solving different kind of problems. Go is a simple language, maybe even too simple for my taste. But simplicity is its greatest strength. And I can understand people who would prefer Go as their go-to language for dealing with specific kind of problems. Go is a boring language but gets you where you want to be in a short time and without much suprises. Rust, on the other hand is designed for systems programming. It's got some nice features but it's also a lot more complex language than Go. I don't want to fight compiler all the time. Sometimes I don't need that kind of safety.
>I lived in Japan for a year and as a white male

Racism in Japan when you are white is not that bad. Ask your Korean or Nigerian friends in Japan what it is like and you will get a much different answer.
A few million? Under one million... with significant polish.
If anyone is interested in playing with this kind of stuff in Python, I have been doing a lot of work in simple gist for LPC coding and synthesis, as well as sinewave synthesis. No musical synthesizers yet (focused on voice) but many of the ideas are similar. It might even work on music (I haven't tried).

https://gist.github.com/kastnerkyle/1450aa7f39c3369742b3

This looks really cool and clean! Nice documentation. I will definitely look at this if/when I start the next iOS project.
Frontline has a good writeup about it: http://www.pbs.org/wgbh/pages/frontline/shows/snitch/primer/

There was public hysteria over crack, and Congressional Democrats wanted to show they were "tough on crime."
What happens to the transition probabilities when you control for IQ?

The only place in that paper where you find those two letters next to each other is in the word "technique(s)".

Given what we know about the importance of IQ (and its distribution), I'd say it's a pretty bad paper. And citing it makes for a pretty bad argument.
I ported this to Github last year, due to my frustration with Google Code :p
https://github.com/sqren/libphonenumber
The problem is marketers would then be only interested in those with enough disposable income to pay the opt out fee.
Yeah, that whole part got the me the wrong way. Docopt is as far as I know the best. Also rust comes with a simpler getopt.

It is broken now, but with the collection reform landing, what isn't broken.
How to Start a Startup?
The real question is where does one begin? I'm sure there are several of you out there with the next BIG idea but have no idea where to start. I'm in the same position, and like many of you I have an internal dialog that goes something like:

"I'll build web applications for clients for another year and continue saving up so that I can bootstrap my venture."

or

"What if it goes to hell, and I'm left with nothing?"

Basically, I'm procrastinating. These are obviously real issues but I'd like to hear from others on the best way to actually approach starting a start up. Where should one begin? Raising funding first? Setting a side a limited budget that you can afford to lose?

Curious to hear your thoughts.

Cheers!
It's amazing how many people are in favor of open office plans given the countless stories and (more importantly) studies that repeatedly show they are not beneficial (especially for developers).
Why are you using delete so often in C++...? 'delete' should be rare in your code.
So how would you deal with the people passing out fake grenades while telling everyone they are real? Would it be any different if they passed out real grenades and said they were fake?

Would you support preemptively testing everyone in similar ways, and imprisoning all those who failed? If you described the hypothetical on a paper, and asked people to rate their likelihood of pulling the pin on the imaginary grenade in the imaginary DMV, on a scale from 0 (never) to 10 (always), what numbers would they have to choose to remain free?

I, for one, am completely uncomfortable imprisoning people based solely on their psychological profile rather than as punishment for actual harm inflicted in the real world. Some undercover investigations do seem eerily similar to selecting someone based on a profile and then continually testing him until he fails to meet the "stay out of jail" threshold. It just doesn't seem like ethical policing to me.
Yep! This is what I use it for (among other things).
Read "people wouldn't stop harassing us for lambdas after we decided to delay them again and again, and so we half-assed a solution that is easy for us and binds into all the overengineered class hierarchies you have lying around".
It doesn't seem to be doing it anymore. Strange! Maybe whatever it was got fixed.
Yes. The spec includes the option of providing fallback URLs to fetch from, and gives the browser fairly broad freedom (as I read it) to fulfill the request so long as the response data matches the given hash. How this connects up with the other ideas being discussed in this thread isn't immediately clear to me, as DHTs in practice tend to be too slow to block on for most in-browser resources, but I'd definitely call it an intriguing development.
As a Japanese programmer who's terribly paid according to the many American fellow programmers, I have to defend this practice. Why an engineer has to be paid, say, like three times than janitors? Because of the markets. Not because their job is inherently more noble than the lowly paid ones; they're equally contributing to the society. But what if the market is set up in a way that both salaries are roughly equalized? This is somewhat how the Japanese salary system works, and I believe this is The Better Way. I believe people are better off in a more egalitarian society. I'm not claiming that Japan is anywhere close to that overall, but as long as the salary goes I think this is a saner system. (I also worked in a US corp, and hated their salary gap.)
If enough investigators and enforcers started to kick up a fuss or outright refuse to enforce the current drug laws I bet we'd see change pretty damn fast.

A lot of them would lose their jobs first, but if they were principled enough to take that stand... we'd be in a better place.
Accounts Launches a New Address Book for iOS That Tracks Your Many Identities
Rust uses LLVM for all code generation and optimization. So, in that respect, it is very mature and I personally have never hit an issue.
> Is the choice of subject line for the email message some kind of warning? (The dolphins left Earth just before it was demolished to make way for a hyperspace route in the Hitch hiker's Guide to the Galaxy)

Hadn't thought of that implication, but his farewell definitely gave me the feeling of "last one out of the project please turn off the lights".
I have been changing routine to get some more exercise recently... I've started sailing again. The general routine is work the morning, sail the afternoon, sleep damn early (8:30PM?), wake up 2AM, work awhile, sleep again about 5AM, wake again about 8AM, eat, rinse, repeat.

Yesterday I woke up early for a cancelled meeting, which broke my pattern. As a result, I sailed too early and too long .. and slept right through. This morning three dogs woke me up, apparently they were having sex. I have no doubt they will sleep again :)
First off, this was a fascinating read. I've never worked in Japan (on any permanent basis), but I did go to high school in Tokyo. So this is like another side of the world that I knew existed, but didn't know much about.

Somehow Google got dragged into this. Google has some benevolence (advice about how to eat healthy, paid gym memberships, etc.), but it's not quite like the Japanese companies he describes. Nobody is managing your rent, or setting you up with dates. (Too bad, I hate dealing with landlords.) You can quit, do a startup, and come back. People that can't program don't end up doing planning meetings and making spreadsheets.

Certainly, if you like your job, your responsibilities will probably expand to take more than the 40 hour workweek. It's been that way everywhere I've ever worked in the US. (I probably err on the side of spending too much time at work, but I'm rewarded in many ways for that time, so I'm not complaining too much. But I'm not the "show up at 9 and set my alarm for 5 and leave when the alarm goes off" type of person.)

I worked in the Tokyo Google office for a month last summer. People go home at 6. People come in as late as 2. It's very much like working in the US. I came in on Saturday a couple times and didn't see many other people around. If 60 hour workweeks are endemic to all companies in Japan, the fact was hidden from me. I don't know if working for Google counts as being a salaryman, though, I didn't ask anyone.

Japan is a big country. There are certainly paths you can take that lead to 60 hour weeks and low salaries. There are other paths that don't.

Edit: and oh yeah, my one piece of advice for living in Japan: just because someone tells you you're good at Japanese, doesn't mean you are.
Likely because there are very few flights between midnight and 6AM. This is because many cities have regulations on flights at early morning hours due to the noise generated.

Recently I did a similar project, except I chose to only look at flights from JFK to LAX (also only for 2013). I was looking more widely at flight time and what affects flight time. Despite these differences, I did come up with fairly similar data.

http://daviddworken.com/varianceInFlightTimeJFKtoLAX-2013.pd...

In my analysis I included the midnight to 6 am data on the chart, even though I had a grand total of 32 data points for that section.
You can, but the debt generally comes due in a timescale of days. Running your team into the ground might be a useful strategy in a situation of "we have to have something to ship by nine a.m. next Monday morning or the company goes bankrupt," but situations where that's actually true are extremely rare. Trying it in the more typical case where the deadline is e.g. three months away will at best stretch three months work out to four or five months.

A scenario that does actually happen now and then is "the system has gone down, we don't know why, and there'll be hell to pay if we don't find the bug, fix it and get everything back up and running by Monday morning." In that case, fine, work the weekend if you have to - but then take Monday and Tuesday off.
My company is 100% work from home, and we all have completely flexible schedules. Our leadership specifically makes sure to hire people who are self-aware enough to know when and how they work best, and they want us to find the schedules and methods that help us to offer our best work.

I am sure we are not alone in this, but I have found that in a small successful companies that let you work how you want, nobody ever leaves the place, so we tend to be hidden gems.