skysight-inc/HackerNews huggingface dataset:
Weird, every place I use such as banks use the last 4 digits of my social security number, not something almost anyone who knows me, knows.
Everything that happens is a life lesson
I'm not trying to make C++'s syntax "look bad." The standard itself makes C++'s syntax look bad. All those features, except maybe the empty throw clause, are basic things someone needs to know to use lambdas properly and to read code that uses lambdas. We're not talking about deprecated, never-used, features like "export" here.

I don't understand your line of reasoning here. Is syntax not ugly if you usually don't use the ugly parts? I think everyone would agree that the parser ambiguity that used to exist between "vector<vector<int>>" and the right-shift operator ">>" was ugliness in the syntax. Is it a defense that you don't usually instantiate a template with an instantiation of another template?
I've found myself in a similar position, in the past (although not for a few years). SAD is a real thing, and it has actual physical consequences.

I remember when I had it I would change my workout routine (read: go from running daily to running weekly... Maybe... Okay once a month). Which would only further affect me as I experienced the effects of reduced exercise, and those endorphins were seriously missed.

Definitely following some of the advice in the article helps, although I never did any supplements. I've beaten it by surrounding myself with a fun group of people both professionally and personally, and I keep my eye on the prize (whatever project I'm doing for work). Putting my head down and working hard is definitely a great antidote for me, although I know if might not work for everyone (it might make things worse!). I found that with a specific professional goal in mind I could get up easier, go to the gym easier, go to the office earlier, and get through my projects more efficiently.

Make a routine and keep on pushing!
Complaining about the winter in SF? Really? I understand seasonal depression, but that can't even hold a candle to the bullshit we see up here in the Great Salted North.

I wake up and bike to work during the winters here... It's pitch black until after 8 AM. After work? Darkness and cold by 5 PM. This is for around 5 months of the year up here. Sure, shit gets annoying during the nastiness of November through March, but you get through it.

A winter in SF would be a vacation.

Edit: Didn't mean to be incendiary here, just wanted to put things in perspective.
Very fascinating. I'm excited to see where they go with these data. The final paragraph is where the money is.

In particular, I think it'd be interesting to track students over time. Do some clusters have more difficulty picking up later concepts? Is their submission, while correct, showing some systematic error in their mental model of the language or topic?

It'd be very cool to give qualitative feedback in addition to the quantitative unit tests based on these clusters. E.g., "Your code, while correct, is demonstrating characteristics that may be less maintainable than other submissions. In addition, we recommend a review of [some topic]; using those concepts would simplify your code."
Probably NetworkSolutions...
>P is equal to NP? :P

I thought it was a poorly constructed ternary operator? :D
Jason Davies made a nice visual explanation of bloom filters: https://www.jasondavies.com/bloomfilter/
It's self-inflicted in the same way that a mugger stealing your wallet at gunpoint is self-inflicted. After all, you are both citizens of the same country.
iFit response: https://twitter.com/iFit/status/394852154680172544
I'm not sure how your response is actually addressing the suggestion to pop-up a warning. If the company is aware of the issue and there is no technical reason not to implement a warning, even if it would help out only .1% of the users, then why not do it? I would understand if it was some large feature and they didn't want to waste resources, but it's unlikely the case here (undoubtedly they keep track of how many files you have synced and they already have the ability to do desktop notifications).
The website is very simple. Which means that it would not be a big deal to throw some media queries in and make it mobile friendly. This is 2013, I don't understand why rwd is still not applied everywhere.
Two years after Jonathan's Card, but probably not that vulnerable to asshats...
Low-Tech Scheme Targets Small Merchants
Silicon Valley's Ultimate Exit
Threading support? Nativive or green ?
For further information about vitamin D, I always recommend one particular episode [1] of the TWiT Security Now podcast where the host Steve Gibson talks for about an hour on his research into the effects of vitamin D and how he thinks that taking it is important.

I can't vouch for the medical accuracy of what he is saying, but he does tend to research things pretty thoroughly before broadcasting them, and I generally trust his conclusions.

[1]https://www.grc.com/sn/sn-209.htm
This is one of the reason I ski living in Boston. Granted I can't do it on a daily basis, but I get outside on the weekends and get some sunshine. I can notice the pickup.
One of my old school friends is a domain broker, and he gets annoyed by .io domains as well. He said he would have a second car if it wasn't for alternative TLDs. For his birthday, I bought him a few programming books. To his credit, he read them, and now enjoys programming as a hobby. Given some time, he'll probably end up half decent.
ok, thanks.
so the only conspiracy remaining is the secret pluto landing. which is so secret that even you haven't heard of it.
The important comparison is not the cause but the outcome. I've lived in Boston, New Hampshire, Scotland, and San Francisco. And in each, I've suffered from seasonal depression.

A winter depression in any city is no vacation.
If their core requirement is defined as precisely as "Are you smart?" I'm not surprised that the job posting contained a discriminating fail as well.
>The wear caused on a road surface is a higher-than-linear function of axle loading. The standard model has a power of 4. Double the mass, 16 times the wear.

Source?

EDIT: http://www.vabike.org/vehicle-weight-and-road-damage/ this?
> "the UN is already mostly incapable of dealing with any kind of serious humanity threat"

This is an argument for making the UN stronger, not stopping it ever acting.
I'm at least four of them, and I've never wanted nor used G+. It's just force-attached to other services.
Healthcare.gov data center fails, hobbling state and federal insurance exchanges
Read the article. It is about a single, one-time, no-strings-attached payment, requiring a business plan to qualify (Although there is no follow up on the plan). It is not an ongoing payment.

"Recipients spent a third of the money learning a trade (such as metalworking or tailoring) and much of the rest on tools and stock."
The company that used that slogan had felt "the power of the dark side." :-)
I don't want to belabour my points, so I'm deciding not to continue too much further in these discussions (I've come to find internet arguing is somewhat pointless regardless of the rights + wrongs of the issue at debate), however as I have repeatedly pointed out, it's very easy to hit a number like that if you store code in dropbox, esp. open source projects.

And like I've also pointed out repeatedly, fine don't consider my use-case important, but add a warning or at least don't drop supporting me because I'm too much effort, or if you are, say that's what you're doing.

If I had known dropbox wasn't suitable for developers (it having originated from yc with a technical discussion on that original thread suggests otherwise) - I wouldn't have used it in the first place.

I had used it as a developer for a long long time before hitting issues, then it become unrecoverable even after a month of patiently trying to fix it, and new work files were getting overwritten by old ones throughout. That's not an acceptable failure mode, nor is then being ignored without warning by support (at least say 'sorry you're too much effort'.)
"The country's best Obamacare website"?

Isn't that like saying "the best Mexican restaurant in Montana"?
Culture Jamming: Who's Helping Celebrities Go Viral?
Your English is more than strong enough to get the point across. I agree with you - we do what we can on the margins. It's tough to take overly absolute positions. That's what I was calling out in my post.
The Cedin trades for official dollars... How is that better than selling bitcoins?
"I don't think anyone should ever let fear of having a gap in their CV keep them in a job which they would otherwise quit."
Of course, the term "fear" should not come up in discussions about work, unless you work in a dangerous job. Funnily enough I currently work part time as a tree_surgeon, one of the most dangerous jobs you can do. Last Christmas I nearly cut my toes off. An odd path for an amateur coder.

"That was almost certainly a lie." It was, I had porky_pies thrown at me left, right and NULL. Unfortunately this happened five years ago and the lush we had for a boss has retired. His pathetic excuse for a son is now running the circus. Back then my parents, friends and doctors simply didn't listen.

The one lesson I learned was a new buzz_phrase: "implicit gamesmanship".
The Bay Area's One Percenters
Do you know what Diabetes really is all about?
So, You Want To Quit Your Job? (Fantasy Versus Reality)
Spectacular flyover of Mars
Does anyone recall a few months back a 3 and 4 letter .io search engine someone made and posted here? I can't find it in the HN search.
Chemotherapy doesn’t work? Not so fast (A lesson from history)
Singapore health care; what’s not to like?
Please Help: Educational Apps for Handicapped Children
As I say, you can usually solve your problem this way.
Buffer’s Response to Hacking
Infrastructure spending - size doesn't matter
I've transferred or am transferring about 10 of my domains from places like GoDaddy and 1and1 to NameCheap. I love NameCheap. I typically go for whatever registrar is the cheapest regardless of how crappy the interface is and NameCheap has successfully become the cheapest registrar for a number of my TLDs. The benefit is that their service and web interface are great! I highly recommend.
Are you happy with your current issue management SaaS?
Please see my reply at https://news.ycombinator.com/item?id=6626993
Playing Devil's Advocate here: what UN entity, besides WHO, has a track record of accomplishing something positive?
The transistor development was not done under government direction or a government contract to do the work. It was done by a private company choosing to invest their own funds into it.
Google Confirms Quietly Moving To Make All Searches Secure Except For Ad Clicks
If by ads you mean the signature (that is 90% your photo, name, and occupation), then you can turn this off. It's completely optional.
Found their justification on Twitter
https://twitter.com/iFit/status/394852154680172544

iFit said: "due to Brazilian labor laws, our corporation will not allow us to hire from Brazil."
A 16th-century Dutchman can tell us everything we need to know about patents
So no examples, then? Sounds like FUD to me.
Macros unfortunately make themselves most useful in cases that don't lend themselves to short snippets.

My favorite example involves looking at some real code.

Compare how to add a new intrinsic to LLVM: http://llvm.org/docs/ExtendingLLVM.html versus how to do it for SBCL: http://pvk.ca/Blog/Lisp/hacking_SSE_intrinsics-part_1.html.

Look at how SBCL's x86-64 backend defines the x86-64 register set and specifies what kind of values can go in what registers: https://github.com/sbcl/sbcl/blob/master/src/compiler/x86-64....

Compare that to the equivalent for LLVM: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X8....

The register descriptions are written in a very similar, declarative, way, except the SBCL code uses macros built into the language while the LLVM code uses a separate tool called TableGen that generates C++ code from the declarative descriptions. Using a separate tool means complicating the build process, having an ad-hoc parser/expander that can be a source of bugs, losing access to compiler facilities that allow you to step through the expansions and look at the expanded code, etc.

If you can't get through the prefix syntax, look at how the OpenDylan compiler uses a macro to define the x86 instruction set: https://github.com/dylan-lang/opendylan/blob/master/sources/...

Also see the x86-64 assembler I wrote in Common Lisp: https://github.com/rayiner/amd64-asm/blob/master/encoders.li.... Specifically, lines 374-504, 621+.

Each instruction description basically specifies a list of alternative patterns that are matched against the assembly source. When a pattern matches, it is handed off to a compiled function that generates the actual encoded bytes. That function is automatically generated at compile-time from the declarative list of patterns. Not exactly brilliant code like you'll find in SBCL, but in a couple of weekends I was getting bit-for-bit identical assembly to YASM over a substantial subset of the instruction set. Part of the testsuite uses the same instruction descriptions that are used to generate the encoder: https://github.com/rayiner/amd64-asm/blob/master/testsuite.l... (Line 128).
Sure, I could do that. But then I feel like I have to something commit-worthy. With my approach, I can leave syntax errors there.
All of that stuff can be fixed later.

This is the right way to do things. Even if they took 2 years and had elite agencies working on it... there would be a list of little complaints purists would have.

The point here is... theirs works... because they kept it simple.
"Those who have for centuries fooled the rest of humanity ..."

I don't understand the above. Are you speaking of economists, politicians, academia in general, or all of these perhaps? Please clarify.
Quit #40: Getting Through the Door
Argentina, for years, has chosen an economic policy something akin to a semi-functional alcoholic. I'm not quite sure what about their economic ideologies are somehow forced upon them despite decade after decade of failure.
Straight from Drew himeself:

data's stored on s3, and encrypted before storage -- there'll be another
option to enter in an additional passphrase (or private key) when installing
in order to encrypt your data before it leaves your computer (kind of like
what mozy does.)

It is sad to me that this never came to pass. I guess the desire to offer a web interface overrode the idea of encrypting the files before they left your computer. Not that you can't use your own encryption, but having it built in would have been great.
Living in northern Germany (read Hamburg) I can only agree.

That last winter here was very difficult for me, too. Especially the long, grey and dark weeks, without so much than a glimpse of sunshine.

Not very good for me. What has helped me, at least a little bit, was, that I started dancing again. Having someone else, who's "training" depends on you makes it less likely, that you do not go. And dancing is quite actually really strenuous, if done right and a lot of fun.

I learned to listen to my body, learned to feel my body better and now have at least two days a week, when I come home relaxed, lucky-exhausted.

But not everything is good. I feel, that "winter is coming". I can feel the energy withdrawing to a place deep inside me. I feel like curling up and preparing for hibernation. But that is not possible. I have to do my best at work everyday. So hibernating is not an option ;-)

So I wish all of you out there well. Be it SAD or be it "just" the "winter blues" be well and take care of yourself.
From that list, the stand-out failure of the mainstream press is unquestionably "inattention". The decay of in-depth reporting of stories that will impact society in exchange for focusing the spotlight on more-marketable content is a self-inflicted wound that shows no signs of remission.

But even here on Hacker News, where a lot of us count on having thoughtful readers of the comments we post and the stories we submit, the demand for shorter, less attention-demanding comments and submissions, and tl;dr summaries of blog posts that are only about five paragraphs long, still continues. So if news organizations aren't serving up stories that are based on close attention to important issues, maybe that is because the news organizations know what most news consumers are looking for.
Better to pay a lot for a domain name when you can than when you cannot.
Exactly. Make it work, then make it work more efficiently, cleanly, prettily, etc. etc.

http://builtwith.com/healthcare.gov says the Federal site uses Akamai ... fat lot of good it does them efficiently propagating gubble....
No. But you can always go back to previous command with up arrow key and modify it.
This explains why bitcoins are so much more expensive in Argentina, then.
U.K. Hacker Is Charged With Theft of Data From U.S. Army
Can a toy robot teach kids computer programming?
I think it's just the name. In many ways they don't act like a typical low cost provider. For example, they accept bitcoin.
Yes.

"The stock market climbs a wall of worry"

http://www.investopedia.com/terms/w/wallofworry.asp

It will continue to go up as long as there are people who are afraid and have not put their money in. As soon as it is obvious the market will go up forever, then it will drop since there is no more new money coming in.
Now we just need HyperLogLog by example.

(HyperLogLogs are vaguely similar data structures in that you hash things a bunch to store a value inside, except instead of set-membership inquiries, they're better at cardinality-estimation purposes.)
> curl -s http://getmacapps.com/raw/6bl | sh

> ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

Please stop doing this. I looked at the script and I know it looks fine but piping a raw curl into a shell interpreter is just a bad practice. Unfortunately, it seems to be more and more common as time goes on.
They still register all of their domains through eNom.
Not only are more people depressed, but more actually die during the winter too:

http://wattsupwiththat.com/2010/01/06/winter-kills-excess-de...
Wow, this bit of wisdom is unbelievably valuable in my experience. The number of programmers who have thousands of unread messages in their inbox has always startled me. So many of them don't respond in a timely manner via email, which earns them the title of 'flake', and opens them up to phone calls and other interruptions.
The problem isn't remotely controlling the plane. The problem is all the problems not actually doing it introduces. You now have more, many more, people that need to be involved because you now need to fake grieving families for 246 different dead people who never died (or never existed, depending on who you ask). You also need to ensure that nobody notices missing drone'd 757s (or worse, make sure that nobody notices the planes weren't 757s...), you need to ensure that nobody notices the planes are empty, and need to somehow get those empty planes into the airlines systems without anyone becoming suspicious of that, or trying to sell tickets for them. On top of all of that, you then still have a few live pilots who are witnesses you wouldn't have to otherwise worry about.

It is simpler to just find a few lackies to actually do it.
Where are you getting these numbers? I get...

Manhattan commuters = 1.6M
Kentucky population = 4.38M

[1] http://cityroom.blogs.nytimes.com/2013/03/05/more-people-com...

[2] http://quickfacts.census.gov/qfd/states/21000.html
That's quite a scary thought. It's like trying to program with one hand tied behind your back and only your little finger to poke out the keys...
Your shitty commute stories
Under $1,000 portable DNA sequencing
Congratulations - A great start!
My sister has issues with SAD, and she lives in Texas. I don't know if it just went unrecognized while she lived here, or everyone else is just so bitter during that time that it's just the norm. It seems the folks I know with SAD issues are from very temperate zones, which makes no sense to me when I know what I have to do the next day: trudge through 17 degree F temperatures at 7 AM on a bicycle.
Show HN: Socialize and manage your content across platforms
As joemaller1 pointed out, scale matters. My newer application here (an SMS-driven learning solution) gets more messages every day than Kentucky has inhabitants.

Still, getting the job done is not optional and, when it involves a government, not trivial either. They get my respect.

Even if I disagree with their taste for technology.
It's not entirely their fault. The places where polio still exists are very isolated, and often actively hostile to Western medical teams. Matters have not been helped by the CIA (and others) using vaccination operations as cover for their spies.
Totally agree! I'll put a notice on the blogpost with a different way of doing this. Youre right, this can lead to bad stuff :/
A fun paper on this sort of topic: http://www.cs.tufts.edu/~nr/cs257/archive/don-knuth/empirica...
Emacs and modern - that's a contradiction.
I have the same problem, but this winter I decided to fight it and take a six week vacation to Thailand in the worst months. I hope this helps to fight the depression, because I've never tried to take a vacation that long in the middle of winter.
I do similar to manage my stack — without it, more often than not, I find myself with a "blown stack." But these days, I'm actually using physical index cards. I've given up on todo apps — even ones that provide arbitrary nesting/trees (e.g. org-mode, Worfklowy, etc.).

I've considered using a simple stickies app, but there's something about pencil and paper that I find beneficial — or at the least, comforting — and I haven't quite put my finger on it. Not sure if it's the ability to do free-form sketching, or that I can quickly physically shuffle/order/arrange the cards, or that I can jot things down without needing to be at my computer/on a mobile device — or just being able to step/look away from a screen for a bit.

I'm thinking most likely it's that whatever added functionality or benefits I would get from using an app to manage this stuff would be offset by me fiddling around with features, settings, tweaks, etc., and screwing around "evaluating" different tools.
Python daemon threads considered harmful (2009)
The key to Reversi is to win the corners (EDIT: you can lose while still winning 2-3 corners, but losing the corners gives the opponent a much greater chance to take large chunks of the edges and then purse to turn whole rows). To win the corners, you must avoid the spots 1 out from the corners. To avoid being forced to take the spots 1 out from the corners, one strategy is to avoid the edges as long as possible, and then try to only take edge pieces with at least one gap to the corners, and one gap to the opponent.

You also want to keep your options open, to prevent being forced into taking the wrong piece near the edge or corners.

A simple strategy that works against this version relatively often is to at the start look for positions that will take some of the opponents pieces while ideally increasing your possible moves, while being as far from the edges as possible. Then when you are forced to put a piece near the edges, put it near the centre of an edge (as far from corners as possible).

By then the options will be so constrained you can start looking a at consequences of each option, with the goal being to avoid putting pieces near the corners.

I'm not a particularly good player, and I got 3 out of 4 corners on my first attempt by just relatively haphazardly following the above, which means the default settings and/or overall strength of this version is pretty weak.
This was posted a couple of weeks ago.

https://news.ycombinator.com/item?id=6513062
Will have to agree here. As someone who's working from Canada, this post is semi-funny.

I've worked from SF October to January, and let me tell you that biking around town in a t-shirt is not winter.