skysight-inc/HackerNews huggingface dataset:
That was also my first thought, why even use a separate lock and not just the one associated with a file? But I was not sure if that would work, whether it was flexible enough to support a single exclusive writer and multiple readers. I am still not absolutely sure how the option you specify when opening a file and when locking a file later exactly interact, but I am now convinced that it is possible, Windows has LockFileEx [1] and UnlockFileEx [2] which even support limiting the lock to specific blocks within the file.

Another idea was, why not just exclusively open the file, write to it and then closed it again? Why even bother having the file open in several processes at the same time? I am not sure what the overhead would be, but I guess it would not be to terrible. And if you can afford to buffer say 1000 records you want to write, then you can simply cut down the overhead by a factor of 1000 by just doing that.

[1] https://msdn.microsoft.com/en-us/library/windows/desktop/aa3...

[2] https://msdn.microsoft.com/en-us/library/windows/desktop/aa3...
From the title, I was expecting either a discussion of the CPython implementation or an associative memory system.

It would be amusing to have a system with hardware associative memory, where everything is a key-value tuple. Such things have been built (most of an MMU is such an associative memory) but never caught on.
> If Uber still hasn't gone public, when do you think Gusto is?

IPO is only one of the exit strategies available, acquisitions being another one (selling to the private market being another one, etc). A company doesn't necessarily have to IPO in order to return a value to its shareholders.
Coming soon to a custom Android firmware near you: Microsoft Windows?
There's plenty of places to put money that's not in a savings account. Personally, I only keep a couple of months living money in savings and have everything else in one of Vanguard's funds. Pretty darn diverse with far better returns than any savings account and whatever proportion of risk that suits you. Hell, you can even get exposure to the housing market through property securities if you want some of the bubble for yourself.
> I don't trust facebook with the data I give it now

Nice contradiction there. If you don't trust them, don't give them that data. If you do you implicitly will have to trust them.
The Human Cost of Tech Debt
There could be some truth to this. In 2003, the sexual recidivism rate for sex offenders was only 5.3% over the 3 years following their release.[1]

[1] http://www.smart.gov/SOMAPI/sec1/ch5_recidivism.html
You're missing the point. The problem isn’t who buys the loans (that is optics). The problem is that you are imposing a long-term tax burden on Americans in order to paper over a structural demand deficit. This is unsustainable and also unfair -- Americans are already paying for the status quo through persistently high unemployment and wage stagnation.

The best solution of course involves China recognizing that persistent trade deficits hurt its trade partners. The problem is that the Chinese political system is its own distributional game, and while there are direct costs for its participants associated with opening up markets and letting foreign businesses compete with domestic ones, there are no costs and only benefits associated with foreign dumping.
Unfortunately, an acquisition isn't necessarily all that valuable to employees.
True, but kind of orthogonal to the article. It didn't advocate Lisp as the answer, or Java as the problem.

If you said "There are two kinds of programming paradigms...", then you would be answering the article.
You're missing the point. Yes old buggy, unpatched software is awful. I know that. I SAID that a few posts ago. The problem here is about how Dropbox communicated with their customers. Or —as in this case— how they didn't communicate.

Dropbox has known about the death of XP from 2014. It shouldn't have taken them over two years to remove XP from being a headline supported operating system. They should have said something months ago. They're the service provider. The onus is on them to communicate this stuff in good time.

Notice is important because organisations (of all sizes) have legacy systems that can take years to migrate to newer operating systems. Long notice about when your software dies allows you to plan. 30 days notice is going to ruin August for some people.
> Everything is known upfront.

No, the whole point of this uproar is that the standard terms are opaque around the tax consequences of the 90-day window. It is not generally well-understood upfront by recruits that they may lose vested options on exit.

You don't need to change the tax code to fix it. You can simply extend the exercise window.
"although it might have been easier to write a small trampoline in assembler code that calls into Rust code."

That's what he did; it's just embedded inside Rust code.

This is the easy part - capturing exceptions. Handling them, and returning control with the machine state intact, is the messy part.

(It's late to be writing an operating system with demand paging. The most paging ever accomplishes is the illusion of 2X the RAM. RAM is cheap today. The price you pay for paging is random large delays in your program. Is it worth it to save some RAM cost? Mobile devices and real-time OSs don't demand-page.)
I'm surprised how fast the iPhone CPU is compared to the Xbox One CPU (for this application).
Interviewing at google was the absolute worst experience I've ever had over two weeks:

First interview was a cold call from a bored sounding engineer-turned-recruiter. The guy asked me some questions and some I didn't know at the time, but since my experience was pretty solid, they scheduled an interview anyway.

They forgot the first interview. No call, no email, no answer from emails, etc. It's not a first, so I took it as, "shit happens".

They forgot the second interview.

The third interview finally happened, but the engineer on the other end of the phone was ~extremely~ uninterested from the beginning of the call. How in the hell am I supposed to be excited for the interview or even working with someone like that?

To make matters worse, all three interviews required me to leave work early. Because that's obviously not suspicious. Never got a call or email or apology after that ordeal.

"Welcome to Google, we hate our lives, want to hate yours, too?".
The real issue is a legal, not financial one. The ACLU fought a long time ago to make it very hard to commit anyone, very hard to give them treatment while committed, very hard to keep them there, etc.

No matter how much city/states spend, they can't fill up the hospitals and treat patients, which is why most of the hospitals were closed.

If you are interested, there's a very thorough book on the subject that I'd recommend:

https://www.amazon.com/My-Brother-Ron-Personal-Deinstitution...
Techcrunch has some photos of the lab.

https://techcrunch.com/gallery/facebook-hardware-lab/
It's $20USD per pack here in Australia. It's reduce lousy tax but with the plain packaging and this price has really gotten people to quit.
Considering the widespread outrage and very public fallout with Mojang, I don't think everyone has quite forgotten just yet.
Hi

I have received email of monthly payment of June but I haven't received the payment yet.
So 2 months payments are not received?
Yeah, you can run into problems with OOP, especially if you do it mindlessly. Yes, when you hit one of these issues, you need to be careful. And?

And we're going to throw out the baby with the bathwater. I see.
How do you figure? If they've vested they'll make cash.
> So why is the Washington Post obsessed with Silicon Valley, in particular Facebook, Google, and Apple.

Because certain Silicon Valley companies (non-tech) are used by their owners to push their political ideals.

Some SV companies were backing the now defunct Gawker, presumably they've been using media as an anti-PR arm for a long time. It is like they are emulating the metapolitics of Washington.
> the powers that be
That is the long and short of their political framework
Sure, simpler active PFC components are pretty cheap now. There isn't much to a valley-fill circuit, though. That should get you below the legal limit on harmonic distortion in most cases. I know it is still the standard PFC in lower-power fluorescent light ballasts.
And there really isn't any free lunch. Extended exercise periods have a real cost to everyone that stays (the people who are increasing the value of the option) at no cost to the departed person.
> Or just keep using protobuf2, 'cause it's been working great for us for ~6 years.

Oh sure, I wouldn't change practices, but I'd certain question why that practice had been put in place.

> That only works up until there's no "reasonable default".

If there is no reasonable default, I'd be even more wary about making it a required field.
Junior programmer? This may help you
I'm mostly familiar with this from UPSes, but I assume it's basically the same problem on a different scale.

Lets say you have a device that requires 110 Watts - 1 Amp at 110 Volts. And you have a UPS that is rated to provide exactly the same.

In an ideal world (spherical cows, etc), and a device with a power factor of 1 (e.g., perfect), this works.

But if you have "non-sinusoidal current" (as his footnotes word it), your device isn't actually pulling 1 Amp. If you graph the voltage and current draw out, you should see the current draw forms a wave that matches the voltage (in shape, not value). If it doesn't, then at some parts of the wave, you're drawing more current than you claim - and at others, you're drawing less. So you're still drawing 1 Amp on average, but at any given instant, you're probably not.

So back to our spherical cow UPS. What looks like a perfect match on paper, goes wrong - 60 times a second, you're drawing more than those 110 Watts and causing an overload condition. And it's an issue that gets horrible when you scale it, because every device is receiving exactly the same wave form - so every device is using more than you think at precisely the same time. Like the trope of people jumping on a bridge at the same time, each consumer causes the same condition in perfect unison with each other.
Facebook is not trying to build a premium VR business w/margins akin to Apple, that would be completely inverse to their business strategy.

Facebook is much more akin to Google than to Apple because Facebook & Google's primary business is the same - advertising.

And if you're an advertising business your primary objective is driving more eyeballs / more users.

Google's first VR solution demonstrates this - they GIVE it away via Cardboard.

Just look at how Facebook approaches the GearVR initiative - I can't imagine they're making much of a licensing premium but it's dramatically increasing their footprint to be the premier VR solution of Samsung phones (1)

Which is where I come back to why bother with the hardware side as a serious business at all?

Even if I argue that the Oculus Rift is just a red herring to push the medium forward on the hardware side I lose the thread because they seem to be playing such hard defense on the hardware side w/the "app" store . . .

Just release FB Social VR already and win the game, stop damaging your brand w/consumers and developers . . .

(1) http://fortune.com/2016/05/11/oculus-samsung-gear-1-million-...
I wish everyone checked their authorized_keys file like you do. Sadly, this is rarely the case across the board, based on my experience. People are lazy. There are good aspects of being lazy, but this is one of the sub-optimal cases.

In summary, this methodology would not likely be detected even in places where folks and admins are quite vigilant. The behavior and usage is expected. If I were unethical, I could gain access to thousands of companies by simply emailing a link to github and saying, "This script is giving me errors, what am I doing wrong?" Using the default settings in ssh an sudo, I can access all of their systems with no syslog entries and gain root to anything they have sudo on.
> if we prioritize being financially secure over having kids early, that /is/ a priority, and criticize that priority all you want, but it is a consciously made and valid choice.

Not quite. It would be a priority if people said "I prefer financial stability for myself over a family", and it would be perfectly acceptable. What I do not get is the amount of people (especially women) who say they want a family, but that there are other things they need to have "first", or that "they are not yet ready" and so on.

It is not "financially secure/healthy kids later" vs "financial uncertainty/healthy kids earlier". It is more "slight less uncertain financial/uncertain kids and family later" vs "financial uncertainty/certain kids and family earlier".

To ignore biology is the part that I don't get. It seems that these people are playing poker with their fertile years and justifying it as an "investment".

> the poor often lack resources to raise children to prevailing standards.

Which prevailing standards?

If you are surrounded by people living in big coastal cities from the USA, then you'd probably be expected to be providing things such as having your kids going to expensive private kindergarten schools, extra-curricular activities, pay for all the doctors for all the treatments and special care required due to having a late pregnancy, spending lots of money so they can have the gadgets and clothes and everyone else in their school have, etc... And what does this game of keeping with the Joneses give you? Some networking and good connections, so that maybe you have an influence where your children will go to university and grow up to be as neurotic and anxious as everyone else?

It doesn't have to be this way. This "prevailing standard" is sick to the core. It is fueled by consumerism, it benefits only the status quo and sucks the soul out of everyone. I'd never argue against looking for ways to give the best education possible to your child. But education is not something that you buy, and that the more expensive the better.

The best thing one could do would be to not have their kids living like this. Which doesn't mean that getting out of the city and moving to the suburbs is the solution.

The millennials are without a doubt among the richest, most educated and with the whole world at their fingertips. They could take all this power and do some actual change, break away from this broken system. Yet it seems that the more they want to prove they can be better than their parents' generation, the more they commit the same mistakes.
No, but being a public company makes it a lot easier for employees to exercise and sell stock options.
Funny you should say that:

https://youtu.be/IFwIlflmk2Y
This is a fascinating analysis. I'm the CTO of the agency behind the Wagtail CMS (https://wagtail.io) which you reference. People like NASA, Google, Peace Corps, PBS run sites on Wagtail but I'd use WordPress for my friend's 5 page site because:

- < 5 minutes to organise cheap hosting
- automatic updates
- zillions of themes
- someone else can fix it when it goes wrong

I hope Daniele and his colleagues at Aldryn will help with quick cheap Django hosting (they do Wagtail too!). But I'm not sure that Wagtail or Django CMS will ever be the right choice for this use-case. Of course you _could_ build a WordPress equivalent in Django, using postmeta-style key-value tables that abuse relational database theory but allow plugins to define their own content types, and maybe someone should. Our effort is going into building a CMS which helps implementers of non-trivial sites do the 'right thing': keep their content structured, clean, related, filterable. Create once publish everywhere!

There's a lot to learn from WordPress but I don't think 'dynamic models' are the answer for situations where you have more than one developer (there's no guaranteed parity between developer and production environments) or lots of relations (postmeta-style tables have ugly joins, weak integrity checks, poor performance).
The Chinese public values hardware and tangible stuff. Plus its made in China, so the Chinese Govt lets them live. Apple, VW, GM, Caterpillar, Fashion.

The Chinese public don't much value IP, software or services and so the Chinese Govt doesn't need to let anyone get a foothold. Plus these companies don't really help the Chinese economy with jobs, etc. so Google, Uber, Software? Consulting? Banks?
Very. We post multiple times a day on social media, create videos, do webinars, and long-form eBooks. Most of our staff are in the US, and don't speak french. Of our ~25,000 customers, 10 are in Quebec.

As you can imagine, hiring a full time french speaker just doesn't make sense. So, we have to "fire" our Quebec customers and block the province via IP. This is what dozens of startups (and big web companies) are doing now to circumvent the crazy laws.
Decades-old Windows bug leaks your Microsoft account to the world
Blind hiring tests can be done.

Oddly enough there is no drive for it.

Curious, that.
Posting this because of this:

https://news.ycombinator.com/item?id=12217170

The idea that a big company could try to get smaller competitors to churn technically by constantly disrupting the tech ecosystem was discussed by Joel Spolsky in 2002. It may always have been a bizarre conspiracy theory (and some of Joel's to technical calls in that article were wrong), but it could be accurate. It certainly could have been influential when written.
I'm very skeptical of scientists who destroy experiment data. Storage space is less of a problem every year, and it is a huge comfort that you can ask a researcher for the data they collected.

In this case she was actively destroying data after finding contradictory evidence. It is hard for me to conceive of a situation where that would be appropriate, especially where there other researchers cannot duplicate her experiments.
GitLab does provide this capability. They have a free CI thread even on the free accounts. GitLab is much better than GitHub.

Edit: well, maybe not exactly this functionality. It is CI based and not hook based. Still free CI thread is pretty awesome and can be used in this type of application.
I listed every claim made in the meme and attempted to rate it: https://news.ycombinator.com/item?id=12219011

The "claim" has to be written in a way people will be able to find it when searching for the meme. I agree it isn't a good summary of what the meme claims.
This is a great reply and strikes the heart of my question. Thank you! Just ordered that book.

haha. therapists will tell you to use "I feel" language. Seems like the similarity in communication here is "The users." This is a great way to leave no ambiguity for them to interpret as me commenting on their worth or identity as a person or professional, which I never am. Now that you've pointed this out, I can't believe I haven't been intentionally doing this forever.
Goldman Regulatory Advisers Were Too Friendly with Regulators
Some news from LWN
Their view contains the moral high ground, whereas yours might seem pragmatic but actually reinforces identity politics.
Most employees will leave their employer at some point. It's not as though there are employees here that are paying the cost but not receiving the benefit.
Military books on human organizations are some of the most effective I've ever read. Any specific exercises that you lean on?
And, as a practical matter, not to fail in ways that average people (aka the voters) won't see as crazy and incompetent--even if the occasional tired or under the influence human driver might have done something equally bad.
Wrong. Have you ever been part of an acquisition? More than likely you are given stock (or options, if you're still vesting) in the acquiring company. This can happen several times over, as your acquirer is acquired. You may, infact, never make any cash...
Goldman to Settle Federal Reserve Charges Over Leak of Central-Bank Secrets
Why Music Streaming Is Bad for Democracy
i meant "lobbyist" in the more wide sense than the pure officially reported total sum of receipts of breakfasts with senators. I meant it in the sense of demonstrated ability to steer decisions to their own benefit.

And when it come to right/left wing - while both are unions, teachers union and prison guard union are on the opposite sides, so pigeon-hole accordingly.
No problem! If you happen to be in the SF Bay area (and if you will forgive the self-promotion) I'm going to be presenting this at a meetup in a couple weeks: http://www.meetup.com/AWS-EASTBAY/events/232870012/
Almost, but not quite would be http://www.groovy-lang.org/
"A big reason why there are a lot fewer candidates from other demographics is in a large part because of the low representation."

Can you back this with a peer-reviewed study? Or this is one of things we are supposed to take for self-evident?
A lot of people pay way too much for cable, like $150/ month... Cut the wire, go OTA, if you must (free), and Netflix ($10/month)
I 100% agree with your point in priciple. The problem is reality. Government leaders use this principle to overspend on non-productive causes and create debt problems. So end of the day I'd prefer to have a government balancing the budget and leaving some opportunity on the table, rather than the likeyhood debt spent on non-productive causes will become an anchor to future development.
It mostly is with RSUs. Stock options are far more complicated.
Not a problem.

One suggestion I do have is maybe aim the app at women. Many girlfriends/wives buy their boyfriends/husbands clothes, but they are often unsure what he will like and often buy items of clothes that he doesn’t like (my wife does this all the time to me). Your app might work really well to help women buy clothes for men that they will actually like.
So nobody here is advocating for taking away anything granted by contract. What you're asking for though, is the ability to sit on an option to see if it keeps going up in value, while not taking any risk or adding any value. The point of the 90 day exercise period is that since the departed employee is no longer adding value to the company, they need to take the risk on the gain to lock it in. The employees and founders that stay are putting in more than just money. If exercise periods were unlimited, you could make it more attractive to walk around collecting lottery tickets than picking a boat and rowing in it, which is what equity grants are supposed to incentivize.
Still? God no, that was twenty-five years ago.

Oh wait - Oculus. You're talking about all this new stuff that's coming up and might actually make VR work this time? No, I haven't gotten back into it again, yet. Still waiting to see if it's actually going to take off.
The faculty were all rather nice to the students, and since it wasn't in a university, the 50 or so international students were a pretty tightly-knit group of people. They pushed a lot to finish the Ph.D. in 3/3.5 years, which is nice. Having so many experts in a specific scientific discipline concentrated in one place is pretty impressive, too.

My heart was elsewhere the whole time, so I'm not the best person to ask :P Germany itself was enjoyable, and I've met some fairly friendly Germans in WGs. It rains a lot in some places. YMMV, good luck!
Well, (human) drivers in Singapore are pretty bad (based on a few taxi rides), so there is that. Apparently lane markers are something your are supposed to drive on top of...
It could be good fortune but I've been on Macbooks since around 2003 and have had substantially better luck with power adapters since MagSafe came out. I had a few pre-MagSafe adapters fail but the only post-MagSafe adapter I've had break was a knockoff.
His remarks on "the pussy generation" ring true.

"Get offa my lawn!"
One thing I learned editing a good academic journal: Most papers lack a soul
Web dev fads change so fast today, only young whipper snappers can keep up because they have both the time to waste and the ignorance not to know its yet another reinvention of the wheel.

Case in point Enyo.