skysight-inc/HackerNews huggingface dataset:
First off, wanted to say thanks to Nick and Grant for the most amazing meal of my life at Alinea, as well as several killer nights at Next and the Aviary (I was an instant convert and had to get season tickets).

Secondly, this write up is incredibly rich and I really appreciated the chance to get so much insight into the success of the system so far. That said, I'm particularly interested in the next moves.

You note that the network effects of OpenTable for discovery are waning, thanks to Google, but I'm not sure that's the case on desktop, and even less so on mobile. The cases I experience are:

1. I know exactly where I want to eat. In this case it's almost always easier to go to OpenTable anyway, since restaurant website design is clunky and unpredictable.

2. I have a general idea, say "mid-range Cal-Ital on Thursday." Google may be superior to OpenTable on recommendations (slightly, and I think that's debatable), and it doesn't really matter if they do a better job pulling up, say, Nopa and Rich Table, since I'm not getting in anyway. OpenTable shortens the loop between idea and execution.

3. I have no idea where I want to eat, other than, "right here, right now, and good." In this case superior mobile recommendation apps carry the day, many of which I can book through, usually via OpenTable's platform. With extensions/deeplinks/etc. picking up on Android and iOS, it seems likely that this will be further entrenched.

I like the idea of more flexible and innovative reservations systems taking hold, but I'm not sure I'd discount the network effects so soon.

Finally, the kiosks in restaurants that are provided (some might say forced in) by OpenTable seem like ripe opportunity, given the horrific UI and vendor lock-in. Are you considering building an iPad/tablet app to manage your systems in-restaurant? Or is the browser interface sufficiently mobile-friendly to serve this purpose?

Thanks again for the write-up, really enjoyed the read. Looking forward to Next Chinese.
Java's performance relative to other commonly used languages is very good. It's basically been at 2-3x slower than C/C++ for quite a while.
Hmmmm... you mean that in your mind, you can produce a sketch of how you would do it mathematically, but you can't translate that into python? Or do you mean that you can think of roughly how you would do it in python, but when you sit down to actually write, you feel you aren't ready?

In either case, I think the following technique would be useful for you. It is what I do whenever I'm picking up a new language/toolset or when I just don't feel fluent in what I'm doing. I grab some scrap paper and just use it to increase my own mental RAM. I jot down things that I'm thinking:

- questions I have

- ideas about how I'm going to approach a problem

- notes from documentation or stackoverflow lookups

- random talking-to-myself

In the past hour or so, I've been working through setting up a django-cms site for the first time and the contents of my scratchpad look like:

"""

why does render_block_js have so much javascript?

why is the DOM suddenly blank?

I can try

why can't I navigate to /en/polls/ ?

apparently django caches url routing

its adding a fucking dollar sign to the end?! why? why?

Opaque. lets pull-request this documentation.

djangocms_polls

oh, I can just re-order

and I should prepend 'blog' to that

"""

This is incomprehensible to anyone. But the point is that I get these things out of my head and have that much more space to think. Plus, I'm doing something, rather than just sitting in front of a bare text editor frustrated. I'm talking through why I am frustrated and grappling with the problem in some way. That makes me less inclined to get distracted (I'm a very distractible person)

Now, I might be wrong in assuming something that helps my brain will help yours. If I am, please let me know. Since I spend all day using a brain to design code, one of the most important skills I try to build is understanding how people's brains work with code.
Isn't the runtime the same as Objective C's runtime?
don't you mean they'll never support built-in encryption because storing your decryption keys on google's servers would totally defeat the purpose of encryption? Their new end-to-end extension is the only logical way to put encryption in gmail.
Having dealt with trying to make Java run within some reasonable margin of C++11, I'm not surprised at these results at all. It's really hard to make Java go that fast.

I'm instead shocked that the C++ version beat Fortran.
The main issue is that C version is hardly functional programming: stuff like array<int,3> for forest and then counting instead of massive branching like java's isStable();
Reserving the entire next_forests like that:

next_forests.reserve(forests.size() * possible_meals.size());

helps quite a lot compared to the small header-full instances Java features.
I would like to have DLang added to that benchmark.
The coolest way would be cold, hard natural selection from Alexa top sites, possibly with weighting placed to relevant sites at the introduction of the dataset. Perhaps I will fork.
Don't forget about XML, MIME, SGML, SOAP... We've had decades of protocols both binary and text, and they've all sucked.

The thing it seems we've learned more recently is that the more features and complication you add to a protocol, the more it sucks. At the end of they day your data is composed of primitives, records, and lists, and if your protocol offers to structure things in any other way, it's just creating confusion. This is why JSON beats XML, and Protobufs beats many of its binary predecessors.
Curious to try this. Tried signing up using my phone but some gray sidebar blocked the form fields for creating an accout.
How can i make a service to access the GPU in windows 7
I would like my service to access the GPU. In windows 7 the "system" user cannot access the GPU.
Is there any way to run a service as a different user? (at startup, before logging in)
or is there a way to let the user "system" to access the GPU?

This page (https://folding.stanford.edu/home/faq/faq-gpu2-common/) says:
"The service installation is not currently supported. Windows Vista and 7 do not present the driver interface to the service, so it would take a significant effort to make that work. Microsoft also has some security features in place that prevent applications, including Folding@home, from using the GPU on startup as a service. This is not the case for the CPU."

Do any of you have a workaround?
Funny how Amazon works fine but Netflix doesn't, yet the groupthink here blames Verizon rather than Netflix.
In many cases, the software isn't the issue, having a clear vision of the problem to be solved is the issue. It appears that Kokonas had an exceptionally clear vision of the problem and executed accordingly. The legendary "Perfect Spec".
The management chain for Protobufs goes up through the internal infrastructure org. Sadly, they never really seemed to understand the importance of the open source release. Even though Chrome, Android, and other open source Google products rely on it, those orgs generally don't work with internal infrastructure very much, so they naturally seem distant and unimportant.

Meanwhile, there are two branches of Protocol Buffers: internal and external. They contain mostly the same code, and there are scripts that automatically merge changes back and forth, but those scripts do require some amount of human supervision. And since the internal users are a lot more demanding than the external ones, most development occurs internally.

This is a pretty crappy way to run an ostensibly open source project, and that's my fault. I probably should have put in the effort to better unify the two branches so that changes could be integrated automatically. It would have been a pretty significant amount of work, though, and I was mostly a one-man team (with a few "20% time" helpers), and most of my time was spent trying to figure out how to convert millions of lines of existing internal application code over from proto1 to proto2 (where proto1 is the original version of protobufs which has never been released publicly).

What I did do was make sure to run the fiddly release process on a semi-regular basis, so that the open source release did not fall behind. Luckily the core code was pretty stable, so it wasn't necessary to do releases all that often. But pushing releases was something I pretty much had to do on my own initiative; management never cared.

So when I eventually moved off protobufs, the replacement team (which management didn't even realize was needed until about six months later) naturally deprioritized open source releases. They've done a couple over the years, but as you've noted, it's rare.

On the "bright" side, judging from the way things were going when I left the company in early 2013, it's unlikely that there has been any significant change in the internal code from which you'd benefit, so maybe it doesn't really matter.
> Paying up front, presumably via credit cards, means that the service experience is Uber-smooth.

Just like using a group on voucher. It feels a bit weird, just leaving at the end of a meal, without having to go to the register.
EFF'ing Up
I friend told me that Google wasn't acquired by MS because Google fully ran on windows...and integrating would have been costly. Dunno how true it is. In your case, , you should consider how much it would cost acquiring company to rewrite your code on their stack.
Don't play this back around your kids (language).
Armed robber, identified by facial recognition technology, gets 22 years
The Platform Wars
The Intel and GNU C++ compilers usually produce even faster code than the compiler used (Clang). Also, if it's business critical, you can do heavy calculations through GPUs or other custom hardware.
Ask HN: What are some solutions for addressing income inequality in SF?
I would like to pick the collective HN brain on how we can address income inequality issue not only in Bay Area but also in other cities around the world.

According to Brookings Institution(http://www.brookings.edu/research/papers/2014/02/cities-unequal-berube) SF ranks in the top in terms of income inequality. SF Chronicle compares SF with Rwanda for having the similar income inequality - Gini Coefficient (http://www.sfgate.com/bayarea/article/Income-inequality-on-par-with-developing-nations-5486434.php)

What are some solutions that can address this problem?

A few people are getting together to discuss about this issue tomorrow.
http://www.notforsalecampaign.org/reinventsf/ I am looking for different perspective from HN community to address this issue.

Thanks in advance!
Maybe 5 years ago, I wrote a mancala game in C++ and Java. The minmax part was maybe 10% slower in Java.
Does this protocol use bandwidth to achieve consensus, or is there another consensus mechanism such as proof of work assumed to be available?
At Oxford the first year exams (prelims or mods) don't count towards your final degree grade, but you can be kicked out for failing them.
I'm pretty sure the implication is that the big corporates don't care a hoot about open source, the ethics or the model - they'll just take it, the cheaper the better.

The principle and supposed ethic is to share and have some reciprocity - the reality is somewhat different. And we all suffer. Tragedy of the commons, I guess...
I created an app for the school newspaper
Link doesn't seem to work for me, but this one does:

http://blog.tapstream.com/post/87942420773/apple-changes-up-...
Of course the companies knew about PRISM (though not under that name); they had to implement services for it. Other NSA more pervasive initiatives, like tapping into fiber, were not known.
https://twitter.com/teslaim/statuses/467583083118473216

also

https://www.dropbox.com/s/csg81bicijnvj2m/Name%20change%20fo...
Thank you Netflix for telling Verizon to go fuck themselves.
I think that's what Heka is supposed to be.

It looks pretty promising, but I have yet to meet anyone who uses it.

https://blog.mozilla.org/services/2013/04/30/introducing-hek...
There's something adorably quaint about it. Multiple people can use the same name (and somebody's exploiting that to great success right now), but stuff like this still happens:

<CSS DB>I'm waiting for HTTP 2
<111>why?
<CSS DB>Just waiting
<111>Let's wait together.
<CSS DB>sounds nice .. 2 dude
<111>after sucking such shit together, I see you all as a family
<CSS DB>thank you for being that deep
<CSS DB>I will save you wait for me where Adele is rolling
<111>somebody has to

Maybe I'm jaded, but this doesn't seem to happen in places where you have to worry about your reputation. And maybe you lose something by that.

Or maybe I just don't get out enough.
And I'll bet landline CAPEX, even adjusted for getting rid of various territories, is flat or declining. It certainly is for AT&T.
Some of the WL code leaves a little to be desired. Here's a more idiomatic and readable Meal:

Meal[forests_] :=
Outer[Plus, forests, Permutations[{1, -1, -1}], 1] // Catenate //
DeleteDuplicates // Select[AllTrue[NonNegative]];
This is exactly why I dropped Netflix. I want a high-def movie, not their whining about someone else's network. I have no problems streaming from Amazon. I have a choice of streamers. Other streamers work better. I have less choice of wired ISPs and they're harder to switch. Netflix would rather whine and preserve its profit margins than pay up. OK, fine, but since their whining does not get me the movie I want, I cut it off.

Netflix will find that most other people also do not care to hear their whining. I can understand why Netflix does it though...it's $8 a month. Between production costs, licensing costs, marketing, and profits, all $8 a month leaves room for is crappy movies, poor investment, and a continuous drive to shift costs to ISPs and whine about it.
Actually, now that I think of it, we could probably name a lot of other services that rely on this business model and do a thought experiment like the gym one.

An airline for example; now everyone actually caches their flight because Google's self-driving cars always make it on time, and then they demand that Google stops bringing passengers on time?

Or a buffet restaurant, since now everyone goes to the gym, they can actually eat a lot more, thus restaurants complain about, either the gym or the pill maker?

I don't know, it would be a strange world to live in if this happened in other industries. Maybe prices would rise too much?
Yep. I took me a few minutes to figure out why it wasn't working for me...
The distribution of grades ... didn’t follow the nice sweeping bell curve you
might expect. Instead, they fell into what he calls a “bimodal distribution.”
Actually, I made fun of Fortran for that down below. I don't think my comment is a rant.
San Francisco, Local, Full Time

Stack: Ruby, Rails, Backbone, Javascript, jQuery, Python, git

Resume: https://drive.google.com/file/d/0B2auhoOAWqRBUkJzZXVTS01JVGs...

Contact: brett.cassedy@gmail.com

I'm looking for a company doing work in an interesting space. Ideally I'd be part of a hard working, close-knit team.
There's also Abjad: http://abjad.mbrsi.org/
GOG Galaxy
Show HN: Herenow – Send and receive messages within 100 metres of you
Los Angeles just released the same thing this past weekend: http://data.lacity.org.
I know someone who teaches at a community college and she said that student groups who normally do poorly in regular classes do even worse in online courses. Random paper here seems to agree with that: http://www.ashe.ws/images/Gross%20and%20Kleinman%20-%20Need%...
I've been using this since you've posted it.. It's the most aware I've been of my posture for a long time. Subtle and effective!
Flickr will remove the option to sign in with Facebook or Google
After June 30, Flickr will remove the option to sign in with a Facebook or Google account. Instead, you will be able to sign in using a Yahoo account.
The essential change is that customers put down a nonrefundable deposit for their reservation.

It's hard to really assess this based on the experience of Alinea/Next/Aviary alone. This might work for the most in-demand, popular restaurants / high end bars like those but I'm skeptical it will work more broadly. Reason being it's a competitive disadvantage vs. places that don't require a deposit.

Super popular places already have so much demand and competitive advantage that it may not affect them, but the average (or even above-average) restaurant may actually risk a decline in bookings by requiring deposits. I believe OpenTable actually offers cancellation fees as an optional feature; few places use it. We'll see how it goes, I guess.
That's what you get when you write a software spec while slamming Black Truffle Explosions.
These new rules seem reasonable and no different from what businesses are/should already be doing.

Does "consent" apply to websites which add an "opt in" checkbox but check it off by default and hope that nobody sees it?

This really irritates me and I would argue does not constitute my having given my consent to receive emails. That said, I don't see an easy way to distinguish this kind of practice from a legitimate opt-in checkbox.
Based on http://data.lacity.org, I'd say standardization is in the cards.
Including links for easy clicking:

Brookings Institution Research:
http://www.brookings.edu/research/papers/2014/02/cities-uneq...

SF Chronicle article:
http://www.sfgate.com/bayarea/article/Income-inequality-on-p...
There are much more effective tricks to use in production. You can leak user's FB token for some huge client, and you get his email/name/bio.
It is very good. But it's not quite fair to compare it to, say ruby or PHP, because it still requires a compilation step, and it's still pretty demanding on the programmer.
Take with a grain of salt, since it's anecdotal, but I have seen logger hang when syslog rotates. Logger is really only 100% reliable when you are piping it the output of a command that runs in a bounded amount of time. If you have a real daemon it's always better to use syslog directly, and an inability to use syslog is maybe an indication of the quality of the daemon in question.
http://forum.osxlatitude.com/index.php?/forum/74-supported-m...

I bought a used Dell Latitude E6520 because it was the only laptop I could find with a reasonable price that had a good full HD screen.

As a bonus, it has an i7.

I didn't want/need discrete graphics because hackbooks don't have discrete graphics support (yet?). The only thing I HAD to replace was the WiFi, but I upped the RAM to 8 GB. Other people have upgraded to 16 GB with no problems.
This looks absolutely amazing. And as was said, i am really looking forward to enrolling once swift will get added since i suck at learning new stuff.
There was certainly a lot of talk within the Java development community about how Java was going to meet or overtake native code as the HotSpot VM matured. See, for example (from 1998):

http://www.artima.com/designtechniques/hotspotP.html

"According to Sun Microsystems, the Hotspot virtual machine, Sun's next-generation Java virtual machine (JVM), promises to make Java "as fast as C++.""
Old news: 100-Year-Old Negatives Discovered in Block of Ice in Antarctica

Posted by katie hosmer on December 30, 2013 at 10:00am
Venoo – Cashless Nightout App
Maybe they just communicate in Chinese. That does not seem unlikely, and likely is the same as "secret" for you.
SF is geographically unique as is NYC... as concentration of wealth focuses on such areas it has a exponential effect on value of goods and services in such an area. There is not much you can do about it.
Astonishing: Ericsson Predicts 5.9 Billion Smarpthone Users Within 5 Years
I spent an unfortunate chunk of time trying to auto-click all the red square via jquery in chrome console. After a lot of reading and experimenting, I can verify that the exploit is thoroughly addressed (so far), and I cannot achieve my goal because of it :(.

The most promising workaround would be to find a JS screenshot tool that doesn't rely on the DOM, and then run some client-side image analysis to get the index values of the red squares, and then go from there to click the things. Well played, exploit fixers, well played.
No, Chinese word for ninja is 忍者 (ren zhe).
Wouldn't that also require a hundred same sized differently colored buttons, just like this site?
A message to the blog owner: get rid of that swipe to go forward/backward between posts when viewing on mobile. It looks good, but it is functionally frustrating. Why would a user expect different swipe behaviour in one direction to another?
Take it with many grains of salt, he is a Forbes "contributor":

http://www.poynter.org/latest-news/top-stories/173743/what-t...
This doesn't appear to solve the metadata problem which is what the NSA seem to think is the most valuable (or at least that they have the least difficulties to get and process).
The type of code makes a big difference in how it will perform relative to C++. You also have to be somewhat expert in each language. You can write arbitrarily slow code in any language. It's not easy to be sure that you're giving each language its best shot.
Show HN: Twibble.io – A Better Solution to Feed Content to Twitter
Britain's first secret trial: this way lies trouble
I wonder how well modern JVMs compare to C++ compilers from 1998?
48 pages of thinly-veiled ads and MLM scams! I did some Google searches and I was amazed to find that it seems to be entirely original content. I don't know how that can be profitable.
10 of the most costly software errors in history
We’ve looked into some of the biggest disasters over the years to see what what happens when software errors cause chaos!
well aware of that fact... but the scalability and margins are such that it's still a great business. If I charge flat $ 495 per month for a restaurant but save them $ 100k plus per year then I win all restaurants... incremental costs minimal on the dev side. Hosting is a pass through.

Our booze does not run 80% margins... more like 70% .... and labor crushes it beyond that. Restaurants are lucky to get 10% margins if you are smart. We do better, but we do tickets!
Police have a natural monopoly because they're agents of the government, and the government by definition has a monopoly on violence.
So if a user already signed up for a newsletter, via a subscribe form on a website, does this law affect subscribers of that list?
Using sort to filter duplicates is horribly worse compared to hashing (javascript for instance).

Is this really true? A sort plus a linear scan has very low constant time factors, good cache locality (depending on the sorting algorithm used), and no need to allocate if you're sorting in place. I've seen good results using sort to filter duplicates in my own performance-sensitive code. Are you saying this technique is "horribly worse" based on your experience or intuition?
Leauge, I just call Union: Union.
Thanks for pointing out that dark mode isn't in the beta. I should be able to restrain myself from installing the beta for a bit longer.
There's nothing wrong with trying to sell your product. But I hope Sun's salesmanship doesn't continue to deceive people.
Are Tor users going to be blocked from accessing the new site also?
Wao, reading my browser history while I am playing a stupid game. Elegant. :)
404 – Your interview has been depublished
It's not even that any person is better than another... Classes at elite public schools like Berkeley, UCLA, UMich, etc. are more demanding than at any but a few private colleges.
> The NSA revelations aren't just some small political transgressions, this is a rather world shaking development that shows we have been subject to vast, malicious (i.e. not for our good but for the good of others)

When was it shown that this was not for our good but for the good of others? I think you may be confusing the ends and the means. If the means turned out to not be good for us, that does not mean the ends they were trying to achieve weren't for our good. It just means they failed.
Apple Changes Up Marketing Rules, Again