skysight-inc/HackerNews huggingface dataset:
3. Write your site in the form of a program that generates the site itself (or include javascript that generates the relevent pieces.)
I came here to say this exactly, and was a little disappointed to see the mixed bag of filepicker impressions.

Filepicker is awesome.

At my job I just had to implement direct to s3 uploads, and filepicker cut down the work by 10x. It's basically a one line implementation to save the contents of a file input to s3. That's awesome.

The pricing is extremely liberal, and the docs are good. I haven't used many of the more advanced features, but even at its simplest form it's an excellent tool.

As for the complaints here, they seem to be mostly pedantic - I would much rather concat a few strings to build the proper s3 URL when the alternative is building the whole upload infrastructure, and once again, that's without considering all the advanced features filepicker gives you.
If you like the savings from check ins, have a look at our connected app, GeoPerks (http://4sq.com/Q8uIW3). You get replies to checkins at venues where you have membership discounts and rewards (e.g. AAA, museum memberships, student discounts, etc.).
how well has that worked out with drugs? with alcohol in the 1920s? with the RIAA and MPAAs fight against torrenting?
I currently use a modified version of https://github.com/philwareham/responsive-email as the template for http://coderweekly.com, but may move to these.

As you can see, I'm already using Foundation on the main website. I've found it excellent.
If you travel and are someplace where your phone does not have internet access, you will not have access to your notes. This happened to me in Japan and I was not happy. They got my $10 for that month...
I am wondering how much of the world's (biased) research is being done by the special interest groups. As someone said (not sure who) "It is difficult to get a man to understand something, when his salary depends upon his not understanding it!"
I've been using BitBucket for the past 3.5 years, can't remember having a problem even once.
Hard to read. Sorry. Chrome 18 android gnexua.

http://www.imgur.com/lsHGw.png
Yes, not all laws that are labeled as consumer protection have ulterior motivations (it would indeed be silly to argue that), but just from your list of examples the street memorization example certainly strikes me as one with dual motivation. It doesn't benefit people who want to become Taxi drivers, but it certainly benefits drivers who are already drivers. Tests like that keep competition low; Unions, formal or otherwise, love that sort of regulation. They simply adore it.

I did not think specific examples of taxi regulation were really necessary. HN always seems to be awash with stories about taxi corporations/unions with their pet politicians trying to shut down Uber for being unconventional in various ways. Uber is not harming consumers (in fact, they are better for consumers in many ways. For example due to the way that they work Uber drivers cannot discriminate against consumers by race, which is a large problem with regular taxis, at least in the States.), but Taxi companies/unions are wielding existing regulations, or even crafting new regulations, as weapons against what they perceive to be a threat to their business.
Yahoo Must Pay $2.7 Billion For Mexican Yellow Pages Contract Breach
Elevation Dock with Lightning adapter
Small operators are generally regulated as well, at least in most places. There were small lodging operators (1-5 rooms) long before there were huge hotels.

If you run a bed & breakfast (<10 rooms, generally) you are still subject to regulations that a private homeowner would not have to comply with.
A Tip For Designers, Don't Be Jerks
>dessert-in-disguise.

Double espresso with a dash of Baileys.. mmm..
I really, really hope this means they can implement 3-way merge on sync for text-only notes. Any time one of my clients silently decides to stop syncing, I'm then stuck doing a hand baseless merge on every device.

It wouldn't be an issue if it was infrequent, but this is a weekly problem with multiple OSX and iOS clients (maybe not on Windows?).
It is actually a complete solution to the problem as stated. The only requirement are that the numbers 1 through 100 are printed, with fizz, buzz, and fizzbuzz replacing them where appropriate. It is not a requirement that that is all that the program does.
Supreme Court to rule on patentability of human genes
The only protection a hotel operator gets here is protection of their business model. Governments should not generally be in the business of favoring one business model over another, or of passing laws that protect models from the march of time. See also: Uber, copyright extension act.
Most Hope Quotations
Hope Quotations
Yes, butter (I think he recommends two thirds of a stick!) and something called MCT oil.
A single line of Basic sends readers into a labyrinth
The Final Words of a 15-Year-Old Hacker Banned from the Internet
24ways Day 1 - HTML5 Video Bumpers
Well, all of those flavored lattes are done with sugary syrup. You can still flavor your coffee without sugar. Things like raw cocoa powder, cinnamon, nutmeg, ginger, etc. (maybe vanilla extract too, but I'm not sure how much sugar that might have on its own)
>I still haven't identified how all this works, but it's an interesting anecdote

Coffee acts as a laxative. Interestingly, this effect is observed in decaf as well.

Source: Boekema PJ, Samsom M, et al. Coffee and gastrointestinal function: facts and fiction. A review. Scand J Gastroenterol Suppl. 1999;230:35-9. PMID 10499460

http://www.ncbi.nlm.nih.gov/pubmed/10499460
I think we need to. It deserves a credit, because we use it and we didn't pay for it. CoffeeScript makes our lives easier, almost eliminates bad practices and removes brace clutter from the screen, making the code more readable, understandable, better.

When having to choose between a library written in JavaScript and a library written in CoffeeScript I choose the latter, because it statistically has a probability to be a better library, just because the coder didn't have a chance to use bad JavaScript practices, when writing it. Assuming I usually don't have time to read the code of the libraries I'm using.
It's really sad what happened to the TPM!

After all the initial uproar the TPM was designed to not be able to enforce anything. It just sits there passively measuring e.g. your boot loader and BIOS and it only unlocks the secret key to your fully encrypted harddrive if the boot loader is untampered.

Great technology!

But everyone hates the TPM and it is not in every motherboard nowadays, although it would be great for Bitlocker!

But what we got anyway was the Trusted Media path in the Windows kernel, so that only trusted audio drivers could play DRM content.

But now with Windows 8 everything is bad and nobody gives a sh*t, after being brainwashed to accept the Apple appstore:

We now have the worst enforcement technology: Secure UEFI and locked down hardware which can't even run Linux out of the box!

And nobody is protesting against it!

It has nothing good (like the TPM did: TPM could store certificates and other secrets and sign data etc.) and only bad things: It enforces what you run.

And I bet Microsoft wants this to enforce that no sideloading can happen.

So in the future when the Windows desktop is gone a mandatory Windows Defender will delete all your illegal unwanted software and you can only buy through the Windows store and never ever load kernel drives which patch away stupid restrictions in your software.

No more games to be conserved in MOMA I guess...
> when you can instead much more easily get a position at a
> lower profile company, like Amazon or Microsoft

It's not quite comparable. When I was a hiring manager at Microsoft, I regularly saw candidate who already had offers from Amazon and Google that didn't even make it through a half-day of interviews. I assume the same is for candidate that we made offers to who went to Google. The companies are all both looking for slightly different things - culture fit is a HUGE part - and there's some random luck of the draw. (e.g., did your first interviewer just come to work after a fight with their husband?)
Why Portable version? Why not the regular download?
Will.i.am 3D head as seen in "Scream & shout"
I think it's less about the gamification than about the disturbing trend of "tasteless nerds who want to work at Google at all cost". It seems people just want to get in the door and they don't even care about what they're working on or whether it's the right job for them.

I guess the fantastic Google PR team from 2004 did a number on the psyche. It becomes implanted in people's heads that if they work for Google, that means they're automatically successful. (note: I work there and don't think that)

I guess it is true, outside the Bay Area, that if you tell someone you work at Google, you will get your ego flattered. In the Bay Area this was true until 2007-2008 or so.
I prefer BitBucket because it's not as expensive and really really solid. Not one problem in over 3 years using it.
Typically, hotels will fight against these regulation before they are passed (fearing increased costs), then fight to defend them once they are there (once they realise it keeps out the competition).
It's always interesting to have a peek at how how non-programmers think. What I dislike about these sorts of posts though, is the comments, where everyone feels like it'd be useful for them to submit yet another trivial Javascript, C or Python FizzBuzz implementation. Congratulations! You can do a basic programming task in a popular language!
How hard is it to disconnect a country from the Internet?
I'm all for finding ways to motivate yourself, but there's no need to spend this much time on interview prep.

Google is a great company to work for, but there are many other good ones out there, and any application process is always a roll of the dice. Google turns away plenty of extremely qualified people (as do every other large tech company) and they also occasionally hire some incompetent ones. Pinning your hopes on a single company is a recipe for disappointment.
We just updated the post with a QA chart of the email clients we tested on! http://zurb.com/article/1119/create-emails-for-any-device-in...
Thanks for the kudos! Our team has been hard at work on these, and are so excited to share them with the community. :)
HaikuDeck inspired by PG's startup ideas post
We just updated the post with a list of email clients we tested! http://zurb.com/article/1119/create-emails-for-any-device-in...
That double SS is going to confuse some people.
It's not just protection from scams. What about the hygiene of the linnens? The fire escapes? Are there sprinklers in these rooms like there are in hotels? Is the room secured from intruders?
Here's a previous HN discussion of this write-up:

http://news.ycombinator.com/item?id=4253538
Its worth noting this stems from a 2003 era deal. The value of Yellow-pages businesses has changed massively in the intervening years. Needless to say, they are no longer the cash-printing-cow businesses they were then.
> "Suppressing" the market is impossible. How did it work with drugs? or with alcohol?

For alcohol, consumption shortly after Prohibition in the US fell to about 30% of pre-Prohibition levels. It then increased over the next few years to about 60-70% of pre-Prohibition levels. It stayed at that level until Prohibition was repealed, and stayed there for a bit after then climbed over the next decade back to pre-Prohibition levels. Cite: Alcohol Consumption During Prohibition,
Jeffrey A. Miron and Jeffrey Zwiebel, The American Economic Review, Vol. 81, No. 2 (May, 1991), pp. 242-247.
Here's the question that stopped me from signing up: How will you, and by extension I, pay those professionals for this service?
Situation: If you have a roommate, since it's only illegal if you're not living there, can't you just have your roommate be the official leaser while you're out of town and pay you unofficially?
Most apartments do not have someone to sign for packages and missed deliveries are a pain. It's definitely worth paying $3 to avoid them m
Done! Well, I hope it's done - I haven't made a chrome extension before. Let me know if it breaks...
https://github.com/Ilink/tabIndent.js
Cloned the project, should be available in the "extension/chrome" directory.
Or a vacation or move whenever you like. It could be very liberating.

Personally, I would love to be able to live in New York, Florida and California at different times of the year. Frankly, I would have visited my family a lot more if a place to crash were cheap and clean, once my parents went into a nursing home.

Hotels are usually the most expensive part of any trip. On one trip to NYC, I realized taking the redeye across the country was cheaper than staying the night in Manhattan. It would be great to slash that by two thirds.
If we're talking animal tracking, as the author mentioned as a possible use case, could the data be stored on-chip and processed upon recovery? I imagine that would handily beat out any cloud-based processing in terms of battery life, but of course assumes that we only eventually want the data.
Any recommendations for how to show a progress-indicator to the user during a direct-to-S3 upload?
My wife and I just moved into a new house, and on more than one occasion we've foolishly tried to Google the following:

"restaurants open right now" or "restaurants that deliver here"

As a software engineer, I know these queries won't work, but I keep hoping that one day Google will surprise me. It should be hard to parse "right now" to be the current local time, and limit the search to my current location. The same is true of the other query. Google has local restaurants along with attributes like "delivery" so it should be possible.
Startup aims to revolutionize how we buy clothes
This seems attractive, but curiously reliant on entities without your interests at heart

> I own most of them on Amazon Instant Video,

> my MP3 collection when I moved to Spotify. Books to > Kindle.

> Photos to Dropbox and Facebook.

> Notebooks to Hackpad.

> Zipcar is the cloud for cars.

> Exec is the cloud for secretarial work.

> And though there isn’t a “cloud” for housing, AirBnB, Craigslist, and VRBO are getting close.

What happens if/when these services go out of business or pursue business models at variance with what you want? This seems to assume that these things will always be available in the form that you like.

I don't think this is for me, it clashes with my desire to be able to not depend on other entities that much. Regards to anyone who can pull it off though.
Ad hominem much?

Anyway, the article doesn't rest on that quote by a long shot, it goes on in enormously satisfying detail. It's a humanizing lead-in, at best. I think this is a great summary of recent research on the effects of coffee and caffeine, and it links to supporting studies on nearly every substantial point.
Why try so hard to get a job at a company that everyone is applying to when you can instead much more easily get a position at a lower profile company, like Amazon or Microsoft, that will still give you challenging and rewarding work?

I interviewed at Amazon and Google at about the same time. I got offers from both and chose Google because their offices are nicer, they give you free food and lots of coffee choices, and I just got the impression that they care about employees more than Amazon did. (One of my interviewers at Amazon noted: "They deliver groceries right to your desk. But it's too expensive, so we don't do it.")

Amazon didn't really seem like some place that I would stay at for very long, because I would get tired of the cheapness. But some people really love being cheap, so I guess Amazon is perfect for them. (At Amazon, they give you door desks and a 24" monitor. At Google, we get motorized sit-to-stand desks and 30" monitors. Although I've been too lazy to request a standing desk, so far...)

So anyway, challenging and rewarding work is nice, but it's not enough for me personally. I need my employer to at least pretend to care about me. YMMV.
Founding partner at Passion Capital admits sex assault
I'm going the last 5 days w/o coffee and felt no difference at all regarding anxiety, focus, sleep & headaches. I normally drank 3 cups in the morning (200ml each I'd guess) and 3 after lunch.
At the very least, I'd love to be able to put my handheld GPS receiver into a low-power "track-only" mode for the times when I'm not actually checking my coordinates. This would also be a nice thing to have integrated into fitness gadgets given that it wouldn't require massively increasing battery size.
I've hired people for 6 projects now off of /r/forhire/, mainly with developers in the off hours or during weekends. Just make sure you post with that.
> The long version is that during user creation sometimes you have fields that for whatever reason are not required by the database but are required for the user to enter in. This is because user creation is often more complex than it seems on the surface, and there is already existing django.contrib.auth.views that need this sort of configuration. REQUIRED_FIELDS gives you the control to force the user to enter data while not not altering the database.

Could you please explain this further? Is REQUIRED_FIELDS intended for use cases where some users are created by import/migration, but others by sign-up forms (with more requirements)?

From grepping the 1.5beta1 source code, it appears that the only place where REQUIRED_FIELDS is actually read is in contrib/auth/management/commands/createsuperuser.py.
>Or for Pete's sake...

Why do we assume that the Coffee Association is promoting bad science for their interests, rather than finding scientists who are working on things that relate to their business, and supporting those works?

Who else is going to fund coffee studies besides people with an interest (and money) to fund it? This is how the free market works; as long as the science is sound, who cares who is behind it? I'd rather the coffee industry pay for the studies from excess profits than it coming from the public coffers. It's not perfect, but it isn't full on corruption, either.
I was surprised to see no positive comments here at all (at the time I posted this comment).

So let me say: thank you for an excellent article. Yes, intrinsic motivation is great, and yes, cramming is not the most effective long-term learning approach. However, there are always going to be short-term challenges to overcome that require something like cramming. That's just part of life. And this is a novel, intriguing approach to it that worked for someone in the real world.

Thought-provoking and enlightening. Exactly the kind of thing I hope to find on Hacker News.
Uh, he killed someone. That's just plain negligent.
off-topic, but it's almost December.

I just came across a recipe for freezing coffee in ice cube trays, and then putting it in with Baileys and vanilla vodka.

This sounds like a winner for the annual "It's a Wonderful Life" every time they say George Bailey drinking game.
I wonder if the problem refinements are trying to solve has already been tackled in the 40+ years of computer programming.

If so, is there something to just learn from or copy for the Ruby team?
KISSmetrics down for 8+ hours
Every time the AI checks and finds out that you are not a scum, its memory could be wiped so that it retains no knowledge of anything private it learned about you during the check.
My biggest problem with business models like AirBnB and Uber are that they don't solve the inefficiencies in the existing industry. Instead They transfer the risks inherent in the operations of those industries from businesses who understand, and therefore price according to, those risks, to individuals who don't. When the downsides of those risks happen, as in the case of the OP, the individual, who didn't understand or price according to that risk, is screwed. This is no different than the businesses who sold sub-prime mortgages to people who couldn't afford them, and then turned around and passed that risk off as bundled investments.
I'd love to see a postmortem.
My friend has in fact complained about the "door desks" at Amazon and the ergonomic issues they can cause, so I'm aware of the cheapness issue. I've also read Steve Yegge's accidentally-made-public Google+ rant about Amazon. However, it's not like Google has a monopoly on nice perks. I only gave Amazon as an example because I personally know an employee.

And obviously since you got offers from both companies, you would have no reason to pick Amazon over Google. But that's not the point I'm making - I'm saying that prior to starting the application process, it would be logical to avoid Google. The calculus changes completely once you've already got the offer in hand.
New Facebook photo syncing seems neat (but I won't use it)
"Attacking it on a price basis just seems weird to me."

The title of the article is "Time Capsule for $25", so apparently the author thought the price is the main selling point. The actual price is way higher, he set himself up for someone to point that out.
Conditions in bash scripting (if statements)
Under the BC Residential Tenancy Act, a sublet requires the permission of the landlord though the landlord cannot refuse without good reason. I suspect there are minimum lease lengths, however, or you will indeed fall under transient accommodation (hotel) laws. Regardless, even if I am wrong about that, if you sublet your apartment on anything more than a casual basis, you are running a business. Then, you will almost certainly fall afoul of zoning rules and probably be subject to hotel rules as well.

Alberta law is similar; I don't know about any other province, but I would be surprised if there were substantial differences.
Brainstorm with HN: Let's fix ridiculously expensive education
(I'm not sure whether this 'Brainstorm with HN' will work as a good format for discussion within the HN community, but I think it fits the subject here.)

Hi HN,

I've been thinking about the problems with education, and what we (hackers, entrepreneurs, you name it) can do about it. I'm going to focus on education on the university level, mainly because that's what people are talking so much about nowadays.

What I think is that at the university level, it's not so much the actual learning that we have to improve: it's grading. People can learn by themselves (many have been doing just that for a long time), and while there's certainly room for improvement, this isn't the part about universities I think needs replacing. Grading, or getting a degree, on the other hand, is a much more significant problem: employers want to know that you've learned something; when going through a thousand CVs, they don't want to have to extensively test every potential employee to see whether they really know what they claim to know. Thus, degrees.

Of course, there have been some great improvements here. Coursera, for example, have made the big university courses more accessible for all. But I don't doubt better things are yet to come, so let's discuss those: what do you think is the largest thing that needs serious improvement in education? What, if anything, do you miss from these projects such as Coursera? What are your ideas to make (online) education even better?

Discuss. :)
I agree that being permanently high (and thus being out of touch with the body and with emotions) is unhealthy -- however, perhaps some drugs are less unhealthy than others.

[from the article]

>That there were no major differences in risk reduction between regular and decaf coffee suggests there's something in it, aside from its caffeine content, that could be contributing to these observed benefits

It could merely be that people who drink coffee eat less food, and that food is a less healthy drug
I wrote the example referenced at the bottom of the article and it has an example of indicating progress to the user. You can see it in app.js here: https://github.com/carsonmcdonald/direct-browser-s3-upload-e...