skysight-inc/HackerNews huggingface dataset:
Even worse, on Windows the message is:

Use exit() or Ctrl-Z plus Return to exit

Well, first, there is no Return key on any PC keyboard I've seen in a very long time. There is an Enter key.

But that's minor. The bad part is if I'm used to Linux and try to exit on Windows with Ctrl+D, I get this cryptic message:

>>> ^D
File "<stdin>", line 1
♦
^
SyntaxError: invalid syntax
>>>

Suppose it's the other way around: I started out as a Windows user and got accustomed to using Ctrl+Z to exit.

Now what happens if I switch to Linux (as an inexperienced Linux user) and try to use Ctrl+Z to exit? Yes, I get this somewhat cryptic message:

>>>
[1]+ Stopped python
mike@s:~$

Now, you know that I haven't exited Python at all but have merely backgrounded it, but remember I'm an inexperienced Linux user and don't know about fg and bg and stuff like that yet. So every time I "exit" from Python I've added another background task. Oops.
http://www.phptherightway.com/ is a good place to start.
I've learned from this as a 'casual' user of computers.

What are the alternatives? Speech to text? DataHands? (http://www.datahand.com/products/proii.htm)?

Would you recommend a mechanical switch keyboard?
I'd like a fountain pen where the nib actually splayed on a little downward pressure so the width of the stroke was wider. Most nibs are far too strong and don't yield at all.
Why I cant use a MacBook Pro
Rap Genius (YC S11) responds to Heroku’s call for ‘respect’
How were the slides generated? Looks pretty slick.
Comic version: http://spikedmath.com/445.html

Follow up: http://mrburkemath.blogspot.com/2011/05/coffee-logic.html
Humor on Hacker News?

I thought I felt a disturbance in the source!
>I hate these broad sweeping titles on HN. Speak for yourself. I love my job, I work from home in an amazing home office I designed. I filled it with plants, little bonzai trees, art on the wall, inderect lighting for the evenings, and all the best work equipment money can buy. My environment is pretty much an extension of me.

If this is not sarcasm, then in any case it does not put a dent the "programming is not glamorous" notion a notch.

An "amazing home office"? With "little bonzai trees and indirect lighting"? "Invited by clients for events" and "programming conferences"?

That's not glamorous in any common use of the world. At best it's a geeks idea of what glamorous is. And even that trailer-park idea of glamorous is far from most programmers reality (as one can tell from programming median salaries).

But even if that was "glamorous" (which is not: by glamorous, common folks AND the movies TFA describes, mean the Ferrari, red carpet, model dating type of startup millionaires), the whole premise of the comment would still be a classical geek misunderstanding.

When people say "X is Y" they don't mean "ALL X is Y and only Y", they mean "most X are mostly like Y". And it's true that most programming jobs not only are not glamorous in the Ferrari sense, they are also not "glamorous" in the sense you describe above. So the "sweeping generalisation" is perfectly accurate in normal conversation sense. TFA never used a universal quantifier in the mathematical sense.
interesting thoughts all around.
Thoughts on the Surface Pro
Yeah, I'm talking about things like Genius playlists, or Google Now, where the computer's algorithms can figure out what you need without you needing to organize.
Can we use crowdfunding to make dreams come true?
Here's my suggestion for a crowdfunding mechanism to help people make their dreams come true. I call it Likelemba for Dreams. I'd like to get your feedback, ideas, suggestions, constructive criticism, etc.
Developers as most valuable resource on earth.
I think this would fall under the right to bare arms, would it not. There's nothing about the second amendment that restricts arms to only those you can carry. At the end of the day, the 2nd amendment was put in place as the last line of defense against a tyrannical government. Given that motivation, would it not make sense that citizens should have at least some degree of parity with the US government. Basically enough parity on an individual level that the citizens of a country in aggregate could challenge an unjust government. I emphasized in aggregate since that is the language that ensures that one individual citizen off his rocker cannot challenge a government that he alone thinks is tyrannical. i.e. one individual can't have nuclear weaponry or advanced fighter or bomber jets or tanks, because those types of weaponry allows one citizen a disproportionate impact if they choose to bare and use their arms before drumming up consensus with fellow citizens that feel the same.

If the government can arm drones, I think citizens should have the right to arm drones up to some set quantity, like 2-4 drones. Citizens should also have the right to maintain anti-drone technology capable of shooting down any drones above their property.

You may think I'm a right-wing nut after reading that statement, but actually I spent enough time in China, especially the western part to get a feel for what happens where there is an extreme asymmetry in armaments between a government and its citizens. The Chinese province XinJiang feels like an occupied country. I imagine that Tibet felt the like an occupied country as well until the rail lines were built enabling ethnic cleansing by dilution, making the occupation less obvious than it still is in XinJiang.
recursive: (λ damn. damn (damn)) (λ damn. damn (damn))
Possible explanation of speed of light
That still doesn't tell you how the password is hashed though.
A joke of the first order was told to a Scotchman, who was unable to see it.

The person (X) who told this joke told the story of how the joke was received to another Scotchman, thereby making a joke about a joke of the first order, and thus making a joke of the second order.

X remarked on this joke that no joke that no joke could penetrate the head of the Scotchman to whom the joke of the first order was told, even if it were fired into his head with a gun.

The Scotchman, after severe thought, replied: "But ye couldn't do that, ye know!"

X repeated the whole story, which constituted a joke of the third order, to a third Scotchman.

This last Scotchman again, after prolonged thought, replied; "He had ye there!" This whole story is a joke of the fourth order.

(from "The Philosophy of Mr. B-rtr-nd R-ss-ll", by Philip Jourdain)
While package management is a solved problem in Linux, I imagine they want to keep the coffee as similar as possible between Windows, Mac and Linux, and cross platform packaging is certainly an entirely unsolved problem.

Also in steam it is traditional for games to just have a directory to themselves. Getting them to install things in the right place would be more work, and opens up risks from badly packaged games.
The slides recommend UUIDs as a primary key ("just use UUIDs. seriously"). I took a look at the manual and there isn't too much of a Why (as well as 4 different versions of UUID to choose from). Anyone have a write up that explores UUIDs vs integer primary keys? I was only able to find people asking permission ("I have X with a UUID, can I use it as a pk?) rather than people talking about Why you would prefer UUID as the default.

Sidenote: Literally any button press you could reasonably expect to move to another slide works. PgDown, Right, Down, Space. Stop shitting up a decent submission to whine about it.
Software Developer? A lot of the 20 something developers I know also work 60+ hour weeks while only getting paid for 40. Whether its because they want to be 'rock star' developers or because its just become the accepted norm in the industry is up for debate though.
You Aren’t As Successful As You Think You Are
Windows administrator password recovery
An ideal solution to recover your lost windows password. Just relax, out windows password recovery guide will help you cope with this problem.
Why in the world wouldn't we wear business clothes? We were visiting the White House for crying out loud. What a useless criticism. Not only are there rules, there's a certain amount of respect one should show an occasion like that.

Likewise, what in the world would you call "useful"? Hurling ignorant things like that sounds silly if you don't follow it up with something "useful."

I spent a lot of time talking with the organizers and their superiors at the hackathon and trust me this wont be the last one they have.
One thing that always surprises me is how little keyboards have changed in the past thirty years as computers became more mainstream. The majority of keyboards use cheap rubber dome keys in a horribly unergonomic setup. It's no wonder people dislike keyboards and thing of them as dated.

A personal aside — I use a Kinesis Advantage keyboard, as I have found that typing too quickly on other keyboards causes me wrist pain after a few minutes (I'm not affiliated with Kinesis or any other keyboard company for that matter.)

I don't think that keyboards will ever go away. I think that touch will complement keyboards, but will never replace them because keyboards allow you to type more quickly and efficiently and in a more comfortable fashion.
Perhaps when touch technology incorporates tactile feedback (by using electrovibration [1]), there will be touch based simulacrum of keyboards. However, there will still be the problem of having "Ipad neck" when typing if the keyboard is part of the screen.

For most people voice transcription software allows them to compose documents much faster than typing. But there are many problems with voice: besides mis-transcriptions, it is very annoying to listen to someone else dictating text and to try to work at the same time. Technologies using brain currents to create text or eye blinks are still a long way from competing with keyboards as a primary input device for healthy people.

[1]http://www.technologyreview.com/news/421191/a-touch-screen-w...
LOL. Is this a reference to the lack of error checking and ACK in UDP?
I don't know if you would get it. I know one about UDP, but it's ok,
The reasoning is that it's misogynistic because it normalizes rape. Of course, men are effected too.

See: Prison rape jokes.
Michael Jackson's anti-gravity illusion patent
While it would work in the sense that compromising the other systems wouldn't compromise anything else. It does leave that central service as a very very very big and attractive target. It introduces a single point of failure (security wise) that lets someone compromise everyone at everything all at once. It would also make it a good target for warrants and subpoena to be sent to gather information about people without their knowledge (less of an issue, but still a concern for privacy).
How do you tell an extraverted programmer from an introverted one?

An extraverted programmer stares at your shoes when talking to you.
UUIDs are used as surrogate keys: http://en.wikipedia.org/wiki/Surrogate_key
"Please create a new password by signing into your account on evernote.com"

I dunno, isn't logging into a site that has just been hacked exactly the thing I don't want to do?

For that matter, linking to a hacking announcement on a hacked site seems like a bad idea, too.
It's not all about functionality
App Reviews, App Videos, Discover Apps - CrazyMikesapps
Are unpaid internships something that's uniquely common in NYC? I scan Craigslist all the time for freelance opportunities and almost every single unpaid gig in New York is touted as an "internship". I have never seen this in listings in Dallas or Austin. Internships are incredibly murky things. You cannot, legally, get free labor from someone for the sole benefit of the business. The DoE has cracked down on this type of thing before. One would assume that in a strong liberal city like NYC, this sort of nonsense wouldn't happen often.
Anyone using this comic to imply that a passphrase is more secure than a short random password hasn't done the math. This is comparing a passphrase drawn from four of the 2048 most common words against not a random password, but one based on a mutated version of one of the 65536 most common words.

The example passphrase does have the equivalent of 44 bits of entropy:

log_2 (2048^4) = 4 * 11 = 44

However, if we take a random password formed by just seven of the 95 printable ASCII characters, we already have a password four times stronger than such a passphrase:

log_2 (95^7) ≈ 45.99

XKCD is great and all, but I wish Randall had been more clear that this comparison does not touch on the strength of a random password, because I have since seen an infuriating number of people point to it to claim that passphrases are more secure than random passwords. They are not.
The biggest reason is that your IDs become universally unique - across shards, across database recoveries, rollbacks and session problems, you name it. These are all the kinds of things that can happen over the lifespan of a dataset.

In Postgres, UUIDs are stored in 128 bits, so it's hardly any overhead in almost all use cases, so if you can save yourself a day or two, or three, or a week of work just by switching your mental default from an integer to a UUID, that's a pretty big win.
Copyright: Forever Less One Day (2011)
Phantom Open Emoji
This. Especially "Take an order right there." Also, have nice cards to hand out that mention your website, and ASK EVERYONE FOR REFERRALS of SEVERAL kinds.

Role-play asking for referrals. Ask for more than one. Ask for business, restaurant, catering company, friend, co-worker referrals. Get together and review how asking for referrals has been working. Brainstorm. Get better and better at it.

A few people will give you DOZENS of leads to follow up. Most will give you at least one. Get phone numbers AND email addresses AND business names where you can. Be prepared.

Also, begin connecting to everyone you think could give you a referral or new business on LinkedIn and export contact to get their email when the accept your connection request. Send an email to thank them for accepting (this is not spam, this is a transactional "thanks" if you write shortly after they accept your connection), and give them a short, compelling pitch that you plan and modify and improve.
Want to volunteer to teach kids programming?
http://www.themade.org

We're a non-profit videogame museum in downtown Oakland. We teach a weekly free programming class in MIT's Scratch. The class is for 8 to 14 year olds with little to no computer skills.

We have 3 teachers now, but we would like to expand our stable of teachers. Ideally, we'd have enough so that everyone only had to teach a class once a month. Classes are at 10 AM, Saturday mornings, and run for 1.5 hours.

Our teachers need to be patient and able to work with kids, but knowledge of Scratch isn't super important. Scratch is dirt simple if you understand programming, and our existing teachers have the cirriculum down to a science: one game is taught each class. Typically that's Moon Lander, a racing game, a basketball game, and other simple 2D designs.

If you are interested in volunteering in downtown Oakland to help teach kids to program, please email me at alex@themade.org

Fringe benefits include membership to the Museum, the chance to help some very cool kids, and the opportunity to join a team of teachers that all have massive, throbbing, genius programmer brains.
You can almost get a degree in marketing from watching all these videos. Lots of hands-on actionable advice.
In a way that an integer is not?
You'll still need someone to sign the public keys in order to prove that the person is who they say they are, otherwise it'd allow all the kinds of fraud that happened in the Moneygram case. (We've already seen a lot of this with Bitcoin for examples.)
Did you hear about the computer programmer who died in the shower?

He was just following the instructions on the shampoo bottle: 'Lather, rinse, repeat.'
Bradley Manning’s Statement
IMO, you should be doing both. People should use strong bcrypted passwords, with a salt, then ALSO a 'secret' pepper value (long value stored in app code). This adds additional security in the case of a db-only dump being released, and doesn't harm the strength or a full code+db release at all either.

Stripping off identifying info from hashes like talked about in this thread doesn't weaken the hash in any way, but instead makes it another thing to figure out by an attacker. At worse, you slow them down a bit, allowing you to do things like mass-email everybody affected.

Security is about depth, not putting 100% of your trust in a single algorithm. Even if that algorithm is well trusted. It's simply not an either/or.
>Disallowing spaces is particularly annoying for a company with a strong security requirement, as passphrases are simultaneously far more secure and far more memorable than the monkey rules your validation demand.

I just don't understand the logic behind some of these password rules. Wouldn't it require more effort to explicitly disallow certain characters? Like, they wrote code somewhere that is specifically making sure your password doesn't have a spaces, and other arbitrarily chosen characters.

It doesn't make sense to restrict anything in passwords other than length (and of course testing that is meets certain complexity/length requirements-- smartly). Just set your DB field to be 30 characters, accept any character, and be done with it.

There must be some logical explanation behind why companies implement these rules. And banks are the worst. Because people far more experienced than me at programming (e.g. Evernote devs) make these decisions, so there must be some reason. Is the decision a defense against SQL injection techniques? Since injections usually contain spaces. But then again, this is 2013 so you think they would use prepared statements, or something.

Madness!
Regardless of how technologies evolve, the world is going to be a creepier place.
Our innovation economy won’t grow until we fix the broken IPO market
We're living in the Pax Americana, the most peaceful time in human history, enabled in no small part by total American military technological superiority.

Not to mention we're posting all this over a network created for the American war machine, using protocols created by a company that is a key part of the military industrial complex (BBN), which was founded by people from a university (MIT) that was then and is now one of the largest non-profit defense contractors in the country.
There are 10 types of people in the world. Those who understand ternary, those who don't, and those who though it was binary.

(Nice thing about this joke is that you can expand it to base-n)
For public service like Evernote attacker can usually create own accounts with known passwords before stealing database and then try to found algorithm and salt by brute force hashes against known password.
It's a technical thing, not a legal one. The current client is blindly, stupidly tied to the Ubuntu 32 bit distribution in ways that are dumb even for a binary package on Ubuntu.
You will find that UUIDs are often used as primary keys in distributed systems. By their nature you can generate them independently without worrying about collision and without any coordination overhead (e.g. querying a central authority).
Saying it is trivial shows how little you have thought about the issues involved. Anything checks that are trivial mean it is easy to be scammed.
"Oh, how I wish I could quit you!" First time VIM users
If i recall correctly you don't need to use any gestures or click anywhere to lookup a program in Windows 8. Just start typing the name on the Start Screen and it will search it up. Wasn't it touted as one of the plusses of Windows 8? Alternatively, you can pin the application to the start screen.
I usually take notes in a notebook, but then transcribe them to OneNote later. This paid off handsomely when my bag was stolen last week, containing my notebook - all my notes are still safely saved.
Evernote DB Popped – Usernames, Email Addresses, & Hashed Passwords Exposed
I've found UUID and other kinds of random primary keys to be very bad for performance once the data set no longer fits into memory. When that happens, the working set of the primary key index becomes that of the entire index, so you end up with a lot of random disk I/O. Unless you have SSDs, your database performance then goes down the drain.

Of course you can also use a UUID that's less random, e.g. something with an incrementing first part and a small random last part.
You have to remember that while liberal, NYC is at its core a business focused city that has a long history (for US standards at least) in business.
With that in mind "internships" i.e. unpaid labor for the inexperienced is almost expected proving ground for the up and comers.
In reality, the "best" internships can go unpaid because their target market is students from top universities who come from affluent backgrounds whose parents could easily afford an apartment in NYC over the Summer.
That being said, I'm being general here. A lot of startups pay (and should pay) for programmers. Actually, us programmers have it pretty good. Try to a paid business internship in NYC sometime.
Why is defining JS prototype functions separately faster than in a dictionary?
"Now, in the touch-era, it's more like "move the folder where my finger goes," without any mouse-indirection happening. But with post-touch, the status quo will be "move the folder where I'm looking" or "where I say"; and one day (as Kurzweilian as this sounds) it'll be "move it where I'm thinking." Or simply "move it.""

A truly Kurzweilian scenario would be that you merely have to expect to find the folder somewhere, and it is already there.
While I don't quite agree with the parent poster, half of your points involve a) best practices, which require programmer discipline, not parser smarts, b) a lint-checker, which again, is not as good as the parser itself forbidding something, or c) using certain libraries, which is not as portable and easy as direct language support.

While I agree that these issues are surmountable, I don't think you've rebutted the point that they are issues with the language itself.

That being said, no language is perfect and for being whipped up in a day, Javascript's pretty nice.
You're taking that sentence out of context. At the time, the legality was ambiguous. Apple's request was in response to the EFF's filing for an explicit exemption for jailbreaking, and was in the normal process for soliciting comments on new rules. People may be confused because the EFF also filed one for unlocking at the same time, and at times, refer to both practices as unlocking. The EFF likes to confuse people sometimes.

In other words: you're wrong. There is a jailbreaking exemption to the DMCA:

The first of EFF's three successful requests clarifies the legality of cell phone "jailbreaking" — software modifications that liberate iPhones and other handsets to run applications from sources other than those approved by the phone maker.

And it's not the same as the one pertaining to unlocking:

On EFF's request, the Librarian of Congress renewed a 2006 rule exempting cell phone unlocking so handsets can be used with other telecommunications carriers.

https://www.eff.org/press/archives/2010/07/26

The full text of the order summarizes the whole thing nicely: https://www.eff.org/files/filenode/dmca_2009/RM-2008-8.pdf
Wha…?

Sorry, if Amazon does disgusting shit like sell this (and it is disgusting shit, no matter how it was created) Amazon deserves to be scolded for it. Nothing to do with censorship.

Boycotts are ineffective and most certainly wouldn’t work here. What’s wrong with making clear that something someone does is disgusting and they should stop it? That’s quite simple.
The slides recommend using UUIDs (and not "numbers") as the primary key:

CREATE TABLE t (
uuid uuid PRIMARY KEY
DEFAULT uuid_generate_v4(),
name text);

I understand that rows are stored physically in primary key order. Any idea if the "uuid-ossp" module, used to generate UUID primary keys, ensures that new rows are written sequentially on the disk after existing rows (which helps for both read- and write-locality)?