skysight-inc/HackerNews huggingface dataset:
I would, on the whole, usually rather have a deadlock than a race since they tend to crash rather than silently corrupt state ... and the ones that cause retries rather than crashes tend to show up in the profiler. But that's an "err on the side of" rule of thumb rather than a defence of blindly locking things.
Most of those upvotes are from one day though, so they only get about 200 reputation due to the cap. (Also, they gave away 50 points on a bounty for the top answer, so I'm not sure if reputation was the motive or not.)
To anyone who is interested in implementing this in a product: don't.

To be fair: do it if you must. But don't let the user see the gender field as it changes. If someone has a name that's associated with the opposite gender (or they believe themselves to be of another gender), seeing the change to that gender in the gender field will make them sad, annoyed, or irritated. At best, they will chuckle at the failed attempt to predict their gender.

This is one of those things that, when they work as intended, users don't notice it and it doesn't improve their experience that much, but when it fails, they notice and the annoyance hurts your image.
Colorado actually :)

(I'm one of the co-founders)
Yes.

Basically it's flammable with an ignition temperature right around room temperature. If we can keep it cold it might have some uses.
The median number of Facebook Fans for buisness Fan pages is 843
https://swiftype.com
That's a great idea, we'll be adding more comparisons in the future-- thanks for the suggestion!
Watch U.S. Intelligence Officials Repeatedly Deny NSA Spying
Where did you find the file to try it? I only saw the blogpost.
> all valid C programs will still compile, though not necessarily C++ ones

I don't think that's true:

struct foo {
int a;
int b;
};

char arr[sizeof(struct foo) == sizeof(int) ? -1 : 1];
The article is about why this type of thinking is not valid.
Masking the Abort Discrete: Reprogramming Apollo 14's LGC
I've made it a habit to wait for 24 hours to respond to an incendiary email. Allows both parties to calm a bit and the response is more balanced and eloquent.
If you believe this is wrong then simply create a kickstarter competitor and let the market sort it out. After all there should be an opportunity there if they block certain reward structures.
Reaching Startups?
Hi guys. Me and my team creates awesome animated explainer videos for startups and established companies at lonricstudios.c o m. What is the best way to reach these companies?
Go programming with Rob Pike and Andrew Gerrand
The industry wants people who claim to be the best, and that's hard to do while also selecting for niceness.

Absolutely true. The reason I point this out is that the cost of a jerk goes up as the size of the team he/she is on increases. If you are a 3-man start-up, hiring a superstar coder who's sometimes a PITA can be worthwhile - have them work on some part of the project where they drive the whole thing. At 20 people, that person can become a huge liability - they will misdirect the team, demoralize other engineers, and eventually cause your best people to leave.

My examples illustrate how you might identify people with an uncontrollable mean streak during the candidate process, and hence filter them out. If you're building a scalable organization you must start with founders that aren't jerks and weed these people out of the candidate pool. If you start the company off with such a person, well, either live with it or find a new company.
Do you mean a Wikipedia article? If you mean a wiki for users, we use the Github wiki (https://github.com/rethinkdb/rethinkdb/wiki) to track things like community contributions.
Articles about Facebook use 'make people feel better about feeling worse about Facebook users.' I have done a carefully controlled survey of 2 participants (self and wife). Method: dinner-table conversations. Peer review real soon now. (Will discuss it with neighbors and maybe sibling.)
I know many developers in that exact situation (I was there, too, a few years back). What I find surprising is that, unlike you and I, many developers seem to harbor an irrational hatred for the language/systems on which they cut their teeth (most especially PHP).

Valid criticisms of PHP abound, but the level of vitriol here and elsewhere is puzzling.
Can you elaborate? I'd be glad to hear your thoughts on this. (I am a foreigner and certain things can escape the little I know about US).
isn't this a bit extreme? I'm launching a science project that will use GMOs, and there will be other ways of crowdfunding. I was never in the position of using kickstarter from the outset... So this doesn't affect me, but I don't think it's really that much of a big deal. There are some really compelling projects on kickstarter, and your reaction seems like throwing out the baby with the bathwater.
That's legitimate, but you could always set up some repos as resume padding anyway.
https://yourlogicalfallacyis.com/notruescotsman
freeze/seal don't actually provide true immutability in JS. There are cases where a frozen object can still be modified (Date is one of them, IIRC typed arrays are another)
The situation you put your body in is not natural; you could have gotten some kind of heatstroke in so doing.

To limit this sort of reaction, continue wearing your coat as you exit the building for a few minutes; this will limit the rate at which your body has to change temperature management strategies.
Mike, I would love to see that too.

Can you please include the entry on connection management model. PSQL is known for taking process-per-connection + shared memory approach, knowing the canonical and "mothership approved" approach to handle Rethink connections would be awesome.

Thanks!
As I understand, a problem with the theremin is also that the sensitivity depends on humidity and anything else that affects capacitance, and capacitance also depends of the shape of the hand (and arm position, and body position, etc) and because of that it doesn't directly translate to linear distance coordinates. So it becomes hard to build reliable muscle memory. The leap in principle should be able to avoid these problems, although so far a lot of the software written for it fails at this.

Also, a theremin is always on, you can't for example turn the detection on or off based on the amount of fingers you hold up.
Definitely looking forward to this as well as other new ES6 stuff. There's something else I feel I could use perhaps even more but I haven't seen it in any of the ES* updates. I'm a huge advocate of DRY and it bothers me when I have to code something like:

var a = objImUsing.prop.someLongName > 5 ? objImUsing.prop.someLongName : whatever;

I can and sometimes just make an extra variable above for a long prop list like this but that adds an extra line. I guess what I would like would be some sort of implied line limited scope:

var a = objImUsing.prop.someLongName > 5 ? _1 : whatever;

_1 referring to the first mentioned value in the immediate parent statement.
Even More Formulas for Shapes From Filled Algebraic Curves to the Twitter Bird
This is one of the reasons I'm absolutely itching for the Light Table plugin system -- it'd be awesome to collaboratively edit (and maybe evaluate!) code using Firebase.

Can't wait!
"Indiegogo’s head of marketing communications, Shannon Swallow, confirmed that Indiegogo had talked to PayPal “indirectly” about GlassUp and said this morning “everything is good.”
Read more at http://venturebeat.com/2013/08/15/paypal-releasing-glassups-...
Surface Pro Running Four Screens
Your strategy as I understand it is CP. In the case that you have a partition and it's not a majority, it stops accepting traffic or goes read-only.

Say an outage leaves your three DCs (or more generally, N partitions, of which none are a majority) unable to talk to one-another. They are all a minority and so all go offline or read-only. No partition can accept writes without risking that another partition is too, and that those writes will be inconsistent.

You're partition tolerant, and have consistency guarantees, but you're not available.
To be fair, maybe BBC doesn't have an in-house team of journalists who understand what peer-reviewed rigor looks like...

Okay, yeah, this is crap. I couldn't even devil's advocate that with a straight face. You'd need a sample size of several thousand, a much more rigorous (as always, preferably double-blind assessment) method than self-report, and diversify the sample size with much higher age variation (at the least).

To top it all off, news nowadays doesn't wait for repeat studies to demonstrate reliability of an outcome. It's all, "Holy shit, this thing happened once, linkbait that puppy and put it online."

I remember hearing about a 20th-century study done where a psychology researcher made huge claims about racial intelligence differences based on the number of pebbles he could fit into their skulls. It was widely believed until someone finally tried to repeat it. (My google-fu failed me, if someone else knows this study, feel free to link it).
The idea of 'uptime' is kinda meaningless for Facebook since the site can be 'up' with dozens of critical features being in a degraded state.

For example, I haven't been able to view friends' profile pages on FB for days now... blank pages in any browser on any machine as long as I'm signed in. I'm sure they'll notice they broke it sometime in the next month and fix it.
Great Job and this is cool to see such progress. Now the long process of implementing all the new verbs in the drivers begins. I am really looking forwards to when RQL is marked as stable.
> what happens when you try to run more VMs than you have physical cores?

The VMs are just processes of the host OS. They're multiplexed over available cores, same as ordinary processes.
Came here to say the same thing :-)
Everyone has fear of failure, that's just normal. My point is that designers are not just art school dropouts, and I certainlyI still don't understand why ya'll keep supporting that position as if had any merit.
Practical event-driven programming with Python and Twisted
Ask HN: Is my conception of freelancing accurate?
Hey There,
I'm currently working fulltime with python web development but have set a goal of working fulltime on freelance projects starting
later this year. What I'm really wondering though is if my conception of what working freelance fulltime is like actually
fits with the reality of the lifestyle. My ideal workstyle, and one that I hope to be living within a year would have me working
about 30 hours a week, and pulling in 30-40k per year(ok, ideally more but I'm trying to keep expectations in check, and I don't need much to live off of).
Is it realistic to expect to be able to achieve that within a year given that I'm a recent college grad and new freelancer? Currently I have 2 websites I've
built for clients and a mostly empty github profile that I'll be filling out more before the freelance switch. My main concern is the amount of work--
from what I've read many freelancers seem to work MORE than their biweekly check counterparts, not less like I would like. So, are my expecations in line with reality
or is freelancing not the silver bullet like I imagine it? By the way, I've read the stories about needy clients, inconsistent payment, and the need to self motivate-- all that I expect(though experiencing it first hand will surely be another matter). Preemptive thank you for the advice-- it will be extremely helpful to me(quitting a job for freelance is scary!)
And what happens to the VM when the user closes their arc app? It seems like you could build really powerful tools that leverage saving the state of the VM between sessions.
Suppose I build an arc text editor/image manipulator, something where my workflow is boot program --> load file X --> edit file X --> save file X. In theory I could save states of the entire app between sessions, so the whole workflow becomes boot arc app --> edit file... And I could do this for any app I build in arc... Am I getting this right? Because that would be absolutely incredible for building session persistence without a home-brew backend.
There is no technical reason why Rethink needs to have high disk usage. We got much better with this release, and will continue to get even better in the long term. (Squeezing more optimizations does get a bit harder, though)
A lot of people feel that most of the better developers code in their free time as well as for work. Whether or not you accept that premise, it should at least make sense how you get from that to expecting people to have some code to show.
Sales. Introduce yourself over e-mail with a quick pitch about how you can help them. At least 3 other "we create awesome animated explainer videos for startups" sites have pitched me in the past few months that way.
We had a long debate about this. Eventually it was decided that "union" would give C programmers the impression that it was about unsafe unions, not tagged unions. Also, the idea of associating data with enums has precedent in Java.
I think the article is beating around the bush by calling this a "culture war" and stereotyping a lot of people as "techies," "hipster artists," "creatives," etc. Also, it really has nothing to do with whether the result is open sourced or not.

GMOs have become a purely political issue. Originally, they were a scientific and technological issue, but then big corporations got a hold of it, captured the regulatory bodies, bought^H^H^H^H^H^Hlobbied some politicians, and sued people all the way to the supreme court. So now it's a question of whether you believe people and corps should be free to tinker with genes and release them into the wild based on self-made safety studies, or whether there should be more laws to regulate (or even ban) GMOs.

So all the people threatening to quit Kickstarter over this are taking a political stand, whereas Kickstarter is more just trying to avoid the hot potato (GMO of course), just as they do with guns.
You pass the interview process and then end up doing shit that monkey can be trained to do.
Actually, ReQL is basically stable as of 1.8. There may be very minor changes before 2.0, but there are no big changes planned any more.
> I want to build apps in Python and C and ship them in the browser. I can't.

Did you try the existing solutions for running those languages in the browser? (pyjamas, emscripten, etc.)

Were there specific limitations that prevented you from using them?
I find that I'm pretty self-deprecating just about wherever I publish, but I guess that's just showing off how awesome my sense of humor is.
Ok, proved me wrong! The ones that check for struct sizes at compile time (like in your example) will fail since sizes will be different now.
Remastered Animation in AngularJS 1.2
Here's a good explanation for why you want to fall back to ReQL rather than write queries in JSON directly: http://rethinkdb.com/docs/introduction-to-reql/
We've been on the receiving end of these attacks lately. Strict SPF policies, DKIM, and a restrictive DMARC policy can help ward them off.

As a matter of policy, our team uses LastPass, too, which makes phishing easy to detect; if LastPass doesn't offer to fill your login info, you're not on a legit site. Using LastPass-generated passwords that users can't remember on their own is a marvelous anti-phishing weapon. We also enforce 2FA.

That said, there is no substitute for education.
Your best Defense is a Strong Fence
The limits of Google’s openness
This is inspiring? It is part of a letter written to lure Malvolio on to impudence and humiliation.
Huawei opensourced Hindex - Secondary indexes for Hbase
A journey of a thousand miles ends with a single step.
Freelancing for this kind of stuff is all about portfolio and networking, but its entirely possible to get what you're looking for.
Those flaws aren't "adding" bugs but remote access "features." Intel has also such technology in the new BIOSes and we ordinary users unfortunately can do less and less about it every time some new technology comes.
The two options for a highly valuable company are to either spend heavily to acquire high value users (i.e. Palantir, LTV:CAC ratio), or spend nothing to acquire ubiquitous users (i.e. Facebook, high viral coefficient).

Another important factor not mentioned here (but highly relevant towards a $100M valuation) is market size, which can often provide a restrictive upper bound if the product is too niche (in either case above).
If you want to go someplace that will make you feel better about not having loads of money you can check out Mr. Money mMustache. http://www.mrmoneymustache.com/ he's very anti-consumerism and doing things the hard way, it isn't for everyone but when I'm tightening the budget he always makes me feel better.

I'm an aspiring mustachian. I bike to work, try to save, and don't eat out often, but I've still got a lot of work to do. Its awesome how seeing someone who is happy with less can make you want to emulate them in some way. Anyway read a few of the popular blogs. I'd suggest http://www.mrmoneymustache.com/2012/05/07/what-do-you-mean-y... as a starting point.
"The Autodesk FBX file format and SDK have largely solved those issues. It's a phenominal interchange format and most professional tools support it out of the box. Just drag and drop. It's wonderful."

Really? To me it looks like what Autodesk have managed to do is convince loads of people make their software depend on Autodesk's proprietary binary blob, which is a genius move on their part.

(bet you've never seen your wonderful "just drag and drop" work on anything non-x86)
Swiftype was one of the sleepers. They'd been growing really fast but were known mostly to their users rather than to the people who talk about startups. There are quite a few of these.
How To Best Handle ‘Battles’ Within Your Team
maybe not the perfect solution, but at least they are trying to do something about it, and not just being a meek lamb

also being a techstar has its drawbacks.. people always spect more from them.. but technology its all about iteration, community, cooking ideas and getting back to the sketchpad to try something better..

we SHOULD do something about it, and i take my hat off, to whoever its trying to do something.. techstar or not.. brilliant or not..

the web has a tendency to centralization and one that is creating big black-hole titans that swallows everyone in between..

economically this means the beginning of end of the middle class, and a greater abism between the super rich and the poor..

so kudos to everyone trying to do something about that, and not just using because its fine.. there are "traps and tricks" in all of those free services that we happilly use for free

storage is cheap.. processor is cheap.. computers(pc/phones/tables) are getting cheaper and faster
so why are we using and depending of obscure clouds that much?
I still don't understand why ya'll are supporting the position of 'Designers are just art school-dropouts, too neurotic to be founders.". What sort of reasoning is that?
How do you define local?

Is it 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16? I guess that would cover 99% of local networks.

I wasn't aware virtualbox has firewalling at the virtual NIC level - my 4.1 doesn't; It's either host-only, bridged, or nat - of which bridged is unlimited, host-only is useless, and nat cannot (as far as I can tell) be firewalled at the virtual NIC level. So how do you do it?
Maybe he's referring to the mainstreaming of nationalist/racist overtones in parts of their political spectrum
Thats a really good point. Its a hard lesson for any type of craftsman to understand that beauty doesn't always translate to a successful business
Moving away from "the best available" towards "not the worst possible" (who could potentially destroy our company) would be a good idea.
Elastic Beanstalk East (multiple zones) Suffering Outages
On Chrome platforms, this could make use of Native Client to run the VM directly in the browser, rather than requiring the installation of an un-sandboxed browser plugin.
>"I would not use this as a replacement to test the membership of a string in a collection of strings."

But that's what a regular expression is used for - testing an arbitrary string for membership within the set of valid strings of the language formally described by the regular expression.

The power of a regular expression is that it can enumerate all the valid strings for me. If I have to explicitly list them, what have I gained? To put it another way, the equivalent output to the example is:

(?:foo|bar|baz|quux)

it is one character longer than what was produced

(?:ba[rz]|foo|quux)

but can reasonably argued to be clearer.

What I was getting at with my pseudo-code example is that if the goal is to interpret the input down to the fewest possible states from examples, then the regular expression is redundant - all we need are the examples and `if`.

There's shorter syntax:

> (frak/pattern [Clojure|Clojars|ClojureScript])

#"(?:Clojure|Clojars|ClojureScript)"

Why not use the simplest possible syntactic sugar?

As I said in my first comment, I understand the reasons for creating Frak. I find thinking about it stimulating and illuminating. It provides a great jumping off point around the of the issue of unpacking regular expressions and the terseness of their language.
The upside to writing software for healthcare is that your code might help people recover faster or in some cases survive where they otherwise wouldnt.

But it can be stressful to write software that has a very direct impact on peoples lifes. While I was rolling out an updated version of an inhouse application a serious bug was discovered. The application was used as part of chemotherapy follow-up/planning and on some occasions it gave the wrong answer for a test. I discovered that the bug was old and that wrong answers had been given for a long period. Personally I was relieved that I had not caused the bug, but from a medical perspective it would have been better if the bug was new and had only affected very few patients.

My takeaway from that experience is that care should be taken when writing critical software, but also that we will make mistakes and it is very important to always focus on how we can make fewer mistakes instead of pointing fingers.
Previous discussion: https://news.ycombinator.com/item?id=3953434
> Type systems, complexity analysis, and assembly language programming, for example, aren't "hardcore disciplines in computing". They're the basic foundation upon which the rest of our knowledge is built.

Your second sentence pretty much defines "hardcore". The "hard core" of anything is what supports the rest. Originally the term is from the mid-19th century and refers to a layer of broken stones and bricks that provided support for a building project, commonly roads.

http://boards.straightdope.com/sdmb/showthread.php?t=523412
Remotely Assembled Malware Blows Past Apple’s Screening Process
In this form I totally agree. Reason being that by haveing a block at the web server level in essence places the blocking to be done by the hosting site and blocking based upon location and content. This places the onus of censorship upon the host, which they can already code for if they want.

Not sure placeing the onus of censorship into the hands of the host and not the goverment with there IP/DNS blocks or however they impose such blocks (China has a nice firewall for outside China sites and I dare to think of how they block a website inside China though can bet it is just as effective).

That all said the posiblility to volantarly do the blocking in a way that the powers that be will accept and with that allow there country's owners to see parts of yoru site that are legal and not the illegal parts for them. Well that would possibily have uses and opens your site up still instead of a blanket ban.

Piratebay has legal torrents, yet they are blocked as some form of descrimnation blanket ban. So it does have it's possibilities, albiet a dangerous path that should not be tread lightly.
The author mentions Twisted, and I wanted to show what it would look like to use Twisted: https://news.ycombinator.com/item?id=6220124