skysight-inc/HackerNews huggingface dataset:
With all the Android (and the iPad) options out there, why do they have to roll out their own tablet hardware at all?
(besides the obvious "because it's rugged" answer, which could obviously be solved with a case on any other tablet)
I can't think of a way to complement this with out pointing out the obviousness of it. Good job and good timing!

In a way I'm surprised the large chains haven't already started to use customer-facing touch screen ordering, especially with the huge bump paper and printing costs went through several years ago.
Also, which intervals or chords are interpreted as sounding dissonant is significantly dependent on culture. There are sounds that were once considered dissonant in Western music that are no longer.
Hmm, with the exception of the tiny mom and pop gyms just about every gym I've been to over the years has pushed an initial free personal trainer session with the hope you sign up for more.

Working out is, well, work. If you're out of shape it's not fun and if you don't have the motivation to get in shape it's not going to work. To be perfectly honest, I think that's what a good (read: effective) trainer does more than anything else - instill motivation. There's plenty of info on how to work out, and barring that, you can quickly observe how people use the equipment and their form. You can watch trainers instructing others. It's really not that hard. I started at 13 years old, years before the world wide web existed, and basically learned everything I needed from a subscription to a couple muscle mags. Aside from that, the only people I learned from initially were other friends my age that were also beginning to work out because we certainly didn't have the $$ for trainers. I went from 90 lbs. to 130 lbs. in that first year. Basically I was just really sick of of being 90 lbs. That's it.

I'd almost equate it with coding, expecting some hand holding will get you only so far. The internal motivation will have to be there sooner or later or it won't stick.

Nowadays I don't do it nearly as much, but I can't take more than 3 or so days off because I begin to feel like crap, and I'm addicted to not feeling like crap.
Security Enhanced (SE) Android Released by National Security Agency (NSA
Thanks for clearing that up. They are a very different sort of organization than the one behind my old summer job.

That being said, I don't really care what their Web interface looks like, but the wording used in this press release is not related to reality, and that bothers me.
>Why can't a gym hold your hand and treat you like somebody who wants to start working out but doesn't know anything yet?

I don't know about the US, but almost all gyms in the UK do exactly that - as part of your induction, a personal trainer assesses your fitness, discusses your goals and designs a workout program for you.

It's a big business win as it's an excellent opportunity to upsell to a personal coaching program, but it doesn't seem to have any impact on people actually using the gym.
The barcode you mention links your specific merchant account to the physical product's UPC/ASIN in order to properly track your inventory. Amazon can also handle the labeling of the inbound inventory for an added fee.

(Disclaimer: I work for Amazon doing FBA Ops)
Not only have I found that to be true, the famous Jeff Atwood has commented on this :) - http://www.codinghorror.com/blog/2005/06/the-broken-window-t...
this is New York City. how about negotiating terms down to one year or 6 months? is that something you think is worth mentioning to mgmnt?
No reason you couldn't do both, and just have the smartphone app interface with the same system the in-house tablets do. (And not everyone will leave a smartphone.)

Menu systems are simple, and don't need much in the way of processing power. They don't need to be full-featured web browsers, or be able to run high-end games. An e-Ink screen would be enough for most places. This approach even makes sense from a recycling point of view - just use screens from old iPads or Kindles for the in-house tablets.
> there are still tasks that are much easier to do if you have them done on a single shared-memory system then distributed.

Such as...? A lot of the big users of cray-type systems were for scientific uses. AFAIK a lot of them are seriously looking at cloud or commodity-type clusters as the problems get bigger.

Anyway I am curious if PyPy is aiming at some specific problem that I don't know about. For "web stuff", I think what is proposed is perhaps overly complicated.

If you want a large read-only set of data to fit on one machine and need high performance, Java, Python and the like aren't great choices because they don't give you much control over the memory layout. Python is probably better because you could write a C extension. But PyPy itself is not optimized for memory size (in fact I think it uses more memory to get speed).
Recursively Similar Googe Image Search
Saving Hubble
To go into space or not, is the existential question.
This system was put in place years after YouTube launched. YouTube was propelled to popularity without any automatic detection systems in place. Your distinction is disingenuous or you are ignorant of the history of your own employer.
If you are solely relying on the site to drive your subscriptions - it could use some work..

1. High-res pics of candy and call to action above the fold.

2. Registration/Membership on-site not just paypal sub link.

3. Video is great, but it would help to have, sorry to be frank, less amateur shaky cam in favor of something a little more pro that gives me confidence in handing over money every month to a person out there.

You should also consider reaching out to daily deals sites with a "discounted membership" deal that could really move the needle for you.

I think this is pretty awesome, I'd love to see how this develops...
Save place to host or, how to escape SOPA.
I'm I right in assuming that only domain extentions and sites hosted in and by countries that don't have any political or extradite agreements with the US are save from SOPA activity? If my assumption is corrent then only Bhutan, Iran, Taiwan, and North Korea are save hosting countries.

Based on the list above, Taiwan is the only place to go.
I've decided to go meta: Service as a Service.
SAP's In-Memory Computing Catches On
SAP's In-Memory Computing Catches On
He suggests using

if [ "$filename" = "foo" ];

Why not

if [[ $filename == "foo" ]];

?

EDIT: aware of the fact that [[ ]] is a bash extension, but the actual title of the post is "Writing Robust Bash Shell Scripts", implying that it should be using the best stuff for BASH.
I guess ordering dishes out of your own Android/iPhone feels more like ordering a take-out instead of a sit-in? I think e la carte is intended to offer more on enhanced dining experience, rather than just an easy way to pay for your dinner.
I'd feel a lot better about using this if its website looked a bit more professional.
So do you think her common sense should have told her to keep her mouth shut? As an idealistic young American with no experience with the justice system and a firm belief that what was happening to her was wrong, I think her common sense told her she had the right to speak her mind and to crack a few jokes to mollify the terror she felt at having just received a federal prison sentence. I think that would be a fairly normal assumption for many or most people.
You could make the case there are victims in the US though, no?

I don't support the concept of extradition (period, I think?), but there is a case to be made that the U.S. is aiming to protect its citizens (the media companies in this case) against wrongs.
No, that is absurd.

1) "Piracy" is actually copyright infringement.

2) The license to read a book accompanies the physical copy.

3) Libraries are not engaging in copyright infringement.

4) Thus libraries are not engaging in "piracy".

There is nothing "philosophical" about it, it's just plain old common sense.
Read the essay "On Bullshit" by Harry Frankfurt (http://press.princeton.edu/titles/7929.html).
My understanding is free ones are not trusted/accepted by the browsers, hence to have something that isnt tossing errors at your users requires a small payment to a CA.

I've used positivessl from namecheap whenever I need certs, its something crazy cheap like $5
Useful Tips and Tricks for Google+ (Plus)
A few months ago, Google announced the launch of the +1 button that has been tested on a small number of users. Two weeks ago it was time for what was expected for a while already to be brought to the surface – Google+ (Plus). Google+ is the first Google brand social network that promises involvement in the social environment through a carefully designed tool that is ready to become a reference service.
It's funny how your argument can be applied just as meaningfully to most of the comments here. We all agree, but no-one can prove it.
Yeah, aside from the swap trick, there's very little to the Fisher-Yates-Knuth shuffle. It's just following the standard recursive recipe for generating permutations: to generate all permutations on n distinct elements, try every element in the first place concatenated with every permutation of the n-1 remaining elements.

You can implement this directly with hash sets in O(n) time, assuming you're willing to treat hash set insertion and deletion as O(1) operations:

# O(n) time
def shuffle(elems):
elems = set(elems) # O(n) time
xs = []
while elems:
x = choose(elems) # O(1) time (expected)
xs.append(x)
elems.remove(x) # O(1) time
return xs

This whole approach is obvious when you stop thinking of the problem as shuffling an array in place and start thinking of it as randomly generating a permutation of elements drawn from a set. In the final analysis, the optimized in-place implementation of the algorithm with the swap trick does provide in-place shuffling; the way the two halves of the array are used to contain respectively the partial result and an auxiliary set of remaining elements is very much like heap sort.

Not coincidentally, if you interpret the algorithm as I wrote it above monadically, then it can be used to generate either a random permutation or all permutations, depending on whether choose() is interpreted in the probability monad or the list (non-determinism) monad. This shows conclusively that the shuffling algorithm is really just the standard combinatorial generation algorithm for permutations adapted to random sampling. If so, you'd also expect the swap trick to be useful for generating all permutations in place. Well, of course:

void perms(int *xs, int n, int i)
{
if (i == n) {
for (int j = 0; j < n; j++)
printf("%d ", xs[j]);
puts("");
return;
}

for (int j = i; j < n; j++) {
swap(xs + i, xs + j);
perms(xs, n, i + 1);
swap(xs + i, xs + j);
}
}
StartSSL works fine with all recent browsers. (I think IE 7+)
You didn't talk about where you are, and location matters a lot. Also, I hate to sound like reddit, but your friend might want to talk to an employment lawyer if they have issues with this kind of clause. Many of my friends work in finance, which is even worse than healthcare about non-competes. In practice, without discussing any possible concrete payments that may or may not have been awarded to anyone I know, because they would be bound by confidentiality agreements that they would never violate:

- Companies usually only enforce it on "key people" but they do it liberally, as many of these companies have non-compete payout riders on their key person insurance.

- They may not enforce the whole term --- it is their choice.

- They will probably offer full salary during the non-compete period (at least in Chicago, where less than full salary won't even make it past mediation). If you lawyer up, you can probably negotiate at least COBRA/benefits payments as well and possibly part of your previous yearly bonus.

- If you take another job during the non-compete period, you may need to prorate the salary against what you're being paid to not work.

- If your friend plans to "fight" they should be ready for a protracted battle with many months of limbo, unpaid status during which the company will attempt to have injunctions issued against a new company to keep your friend from working. Also, many of these contracts have mandatory non-binding arbitration followed by mediation, though several lawyers I talked to said they usually just file for court anyway immediately if they're fighting, since that is where it will end up.

Anyway, after talking to a lawyer, if she feels like it's worth the downside risk of having to spend two years volunteering at a local animal shelter and working on her Project Euler achievements, sign away. If not, or if the lawyers in their area have different advice about what the compensation will be for the non-compete, then walk.
> and even calculates the tip

Who the hell are you tipping?
Arfa Karim Randhawa, 1995-2012
McDonald's has been testing self-service kiosks on-and-off since at least 2004. There must be some barrier to adoption that's holding it back.

That, plus most quick service restaurants do a majority of their business in the drive-through now. Ever see a line of cars out to the street and then go inside the store? Empty counters.
There is a Stop Extradition Fair UK Trial for Richard O'Dwyer" petition.

http://www.gopetition.com/petitions/stop-extradition-fair-uk...
While the style of e.e. cummings is definitely heterodox, it isn't a perfect analogy in this case because:

(a) his style is internally consistent with itself, instead of being a scattering of random mistakes,

(b) while his style is different, he doesn't do anything that majorly impedes readability, and

(c) he uses the style for a particular artistic effect, instead of just using it because he is too lazy to press SHIFT.
Recruiting up to half a million participants aged between 45 and 69 years for a cohort study into role of nature and nurture in health and disease.. Try it now. www.ukbiobank.ac.uk/
Great answers man, thank you! I feel pretty good about Linode. I'm going to look more into it and shop around a bit more. Thanks for all the help.
Anyone interested in a free geo-location service?
Hello,
Some years ago I wrote an application that would take 3 items: lat/long and a radius. It would then return the names of all locations within that radius. Locations are currently other cities and towns (works or should work world-wide), but expandable to other stuff if you have the data. Everything is done in memory so its fast.

I have since moved on to other stuff, but if it helps someone who's been left in the lurch by SimpleGeo's unfortunate demise I can make it available in a few days.

Free unless traffic for the service interferes with my current project.

If you're interested drop me an email.
Then the tablet is just a menu. The companies that I have seen working on this kind of product are adding card swipe readers and printers to expedite payment. Otherwise you're still waiting for a server to take your card and come back with a receipt.

That, and you need better signature capture.
The Next Steve Jobs: What will she be doing?
This is one of the fastest ways to get fit, and doesn't require more than 15 minutes (even giving 5 for farting around) or any equipment.

1 Round is 2-3 minutes

* Burpees(pushup variation) x 30 seconds

* Shadow box x 30 seconds -- This isn't rest. Treat it like a fight. Add kicks, knees, elbows, etc.

* Rest 1 minute between rounds.

Make rounds longer, try to beat your reps, or add a weighted vest if you really want to challenge yourself.
The person that brings you your food and takes away your plates?
If he was Muslim, the US would probably ship him to straight to gitmo. I'm only half joking.
I've used StartSSL in the past. I will never do so again.

Yes, the certs are free, and yes, they work in all common browsers. But the process of obtaining them is a horror of Lovecraftian proportions. I'll happily pay a few dollars to Namecheap to be able to avoid the nightmare that is StartSSL's UI.
I'm going to disagree. The biggest mistake most people make is not showing up.

I've arranged things so that when my kids have swim lessons, I go to the gym. It doesn't matter if I track progress or not, because I'm not looking to "make progress". I want to be in better shape. Going regularly is the key. Just as a photographer will tell you that the best camera is the one you have with you, the best workout is the one you actually do.

As a side effect, I lift 150% - 250% of the weight that I did when I started, and I can do many, many more reps. I no longer get backaches, and I can't remember the last time I was out of breath from a normal activity.
But she didn't say "fuck you" to the judge. She recognized that the judge had been lenient and was thankful:

"I know it is ridiculous that I'm going away at all... I know, and I know that there is a huge inclination to hate on the judge for giving me such a sentence, but know this, probably any other judge on that bench would have given me what the government asked for... because they are the motherfuckin' government, and could do whatever they want. He gave me less than half of what the government wanted and though it is harsh... we are file sharers ffs... I can do 22 months on my motherfuckin head. In fact for the first time in years, I can probably not dread the first of the month coming around. I'll drop a couple of pounds, pick up another degree or something, and make 17 cents an hour making license plates. //care. Fuck a landlord."
http://www.ninjavideoforum.net/showthread.php?20347-My-quot-...

What, you want she should have no personality? That's how she got so loved (and hated) in the first place. That website got 6 million eyeballs a month.

I posted her actual letter to the judge here:
http://news.ycombinator.com/item?id=3464862
So, your point is that someone is not paying for something someone else is. If you follow your logic, you'll never cook at home because people pay to eat at restaurants.

It gets even worse because many people don't live next to a restaurant.

Plus, all these analogies fail at one simple point: when a work is copied, a copy is created and nothing is destroyed except the scarcity someone wants to create for things that, by definition, cannot be scarse.
Plus, be must be absolutely incapable of generating his/her own ideas.....
'Capitalism has no soul?'

Really?

And a socialist centrally-planned one-party state does?

Sheesh.

If you think corruption is only possible in a free market, I've got news for you. The free market is about the only hope you've got in a fight against corruption. Have a look at the world indices for corrupt societies - the worst offenders are the ones with the least freedom. I have no doubt at all that the TSA is already fighting corruption at some levels, and this will get worse as they fight to expand their powers.
Fairly sure this is not true. The monarch has the power to dissolve parliament, but not vice versa.
+ all the other people they have to tip out to like the host, bussers, etc
Unfortunately we were using SimpleGeo for that kind of data as well. We are now looking at alternatives or building it in to our own API.

For now, check out the Open MapQuest API (based on OpenStreetMap data) for similar functionality. The example you're looking for is at the bottom of this page: http://open.mapquestapi.com/nominatim/#reverse

Here is a sample API query: http://open.mapquestapi.com/nominatim/v1/reverse?format=json...
First is Posix, the second is bash. The first is more portable.
If you just want to dump your data to CSV to later decide what to do with it, here there is a script https://gist.github.com/1610866
Mind sharing your code for that? I think I tried implementing that originally but I could never get it to work.
I prefer to have my editor strip that whenever I save a file without any manual action.
Well, yes, apparently that's what did happen.

Remember two things:
a) the underwear bomber got through the TSA checks
b) you just can't pack enough explosives in your underwear to really do any serious damage.

Both the shoe and the underwear bomber were apprehended on the plane. That alone shows why the TSA is useless.
0.5.2a Debian GNU/Linux
Sorry -- I figure I misunderstood you.
Rails Benchmarking Reloaded
It's one thing to watch from a distance as the US legal system becomes more and more unnerving. It's completely different to think that even in your own home nation such as the UK that US law can cross international boarders and ensnare you. This is wrong.
Optimizing Minecraft Engines
Free Indie Games not featured on TIGS or Indiegames: Chick chaser [Aussie]
A startup with users is like tapping a vein in a mountain. You can keep digging or sell your claim to a larger mining firm. That's market share and it can be a valuable commodity on its own.
Hey, some of us actually use trailing whitespace! :-)

I use it to create useful indentation guides in Komodo. If the whitespace is stripped away, the indentation guides have gaps where there's a blank line in an indented block.

Maybe Komodo could use a different method to decide where to draw the lines that didn't depend on trailing whitespace. It looks like Sublime Text 2 has a different approach for its indentation guides - maybe the Komodo guys should look at that. But in the meantime I'm using Komodo as it actually works today, so the whitespace on blank lines is important. Let me keep it, please? :-)

I wouldn't mind stripping out trailing whitespace on nonblank lines - that wouldn't affect my precious indentation guides.

But wait a minute, what about Markdown? Two spaces at the end of a line to get a <br>, right? Does the bot skip Markdown files?

Finally, for the folks who have automatic whitespace removal in their editor settings... Please be careful: With this setting, you'll be very likely to make a commit that includes both significant code changes and a mass of whitespace changes in the came commit.

Those kinds of changes should be separated: one commit for the code itself, and a separate commit for the whitespace with a comment like "Whitespace cleanup, no code changes."

This allows people who diff the revision history to diff with whitespace significant most of the time, the only exception being when reviewing a whitespace-only change.

(Edited for friendlier tone...)
Didn't Nolan Bushnell try something similar to this in Mountain View not long ago?
I launched http://teapeat.com a little over a month ago. I like to call it TAAS: Tea as a Service.

I've had a decent amount of signups since then, but it has leveled off. I hope to share what I've learned so far very soon.
If your friend is in the position to do so he should get an offer from a competing employer and then bargain ruthlessly with the expectation of leaving.
Tech News Can Be So Dramatic
Cell towers can detect the receive power of any given cell phone on their network. If you just hacked your cell phone to use high transmit strength, they would know and could kick you off their network.

I can imagine that you could rig your cell phone (or another device) to transmit at high power to jam the connection, but the FCC would have something to say about it. If you're caught, I'd expect civil and criminal reprisals...
I love the retailers who try to tap in to this with the time-limited offers that never seem to expire!
This hasn't been my experience. Their web site is ugly and lame but once you're logged in it's about a 3-step process to apply for the cert. Both times I was emailed within 10 minutes that my cert was ready, and it works fine.
Read the article, it explains the concept fairly well.
Wikipedia turning 11 on January 15, 2012
Minor correction:

> In beer, you have 90% of the market controlled by just three companies: Anheuser-Busch, Coors Molson, and SABMiller.

Not since 2007. Now it's just 2 ventures: http://en.wikipedia.org/wiki/MillerCoors and http://en.wikipedia.org/wiki/Anheuser-Busch_InBev