skysight-inc/HackerNews huggingface dataset:
Don't use "git reset" to revert committed changes. Well... do, but be careful... The word "revert" is problematic here, and I suppose that "reset" is a bit awkward, too.

In git, a "revert" means you are creating a new commit that is the reverse of the commit you want to undo. The two commits exist and effectively cancel each other out. The danger here is potentially thinking "git reset" will revert a committed and pushed change (sometimes people push early). In general, this is probably not what you intend.

"git reset" moves branch pointers around. So when you "git reset HEAD^", you are really saying you want to move your current branch and HEAD (the thing that indicates where you are in the tree) to the prior commit. The current commit still exists but can be ignored.

Speculation now, but I think it is right... This same understanding applies to the "unstaging". The staging area is another tree node, and when you say "git reset HEAD" on the staged file, you are moving it back into the HEAD state.

One note on unstaging and other resetting... You can reset --soft or --hard. --soft (default) means that you want to dirty up your directory with the differences between the file's current revision and the reset revision. This is useful if you are cleaning up an unpublished branch (using reset to undo).

"git reset" could be called "git move-my-branch-tag" and make more sense.
It’s likely because we read from left to right. And bear in mind that ‘right’ being correlated with ‘forwards’ is a cultural convention—other cultures may code such relationships differently.
Sounds right up my alley. Thanks for the suggestion, I'll check it out.
As the author of this blog post, I wish I had thought of that line :)
Specialization is for insects, hyperspecialization is for... humans?
My starting salary in the bay area right out of college is higher than what I would have conceivably made my entire career in Germany. I understand that small companies that do business locally operate with different economics, but what's the excuse for multinational corporations?

My decision to work in the US wasn't based in any way on expected compensation but rather on the excitingness of the job. Still, it's nice to be treated well as an employee.
We remember what matters to us. For example, ideas, concepts, and feelings matter because we shape everything around these things. But, how much do facts matter in comparison? To remember facts, we have to memorize the information itself rather than the metadata (information about information).

It is all about leverage, we can leverage more information by storing this metadata in memory. Additionally, metadata is a lot smaller in information content than the information itself. (it takes up less space in our minds)
my issue with your point here is that i think you're stuck with the concept of what a TV is now, when Apple has the potential to completely redefine the concept of what a "TV" is or should be...

"Smart TV's" have the potential to cannibalize some of the PC market, as all of our data moves to the cloud and all we need is a good interface to compute...

Apple didn't make a tablet, they made an iPad. they won't make a TV, they'll make an iTV and differentiate themselves entirely.
It's designed so that the browser can interact directly with the authentication protocol, saving steps for the user. This grew out of Mozilla Labs' "account manager" project, which had a protoype UI you can see here: http://hacks.mozilla.org/2010/04/account-manager-coming-to-f...
In the real world, just like in forums, all rational talk halts once the yelling starts.
This is a really interesting read, as someone who has watched the internet get whitewashed over the last few decades, I've found myself thinking along these lines for a few years myself.

Its strange to read the comments from the people who disagree with him. Yes, the internet is a lot of things and maintains a lot of what it once was, but the current day constraints on it and the way things are done make old hats like myself uneasy with the state of affairs. Take this comment for example:

The web is chaotic, loud, banal and unpredictable. With all its problems, I’d like to keep it that way.

If this guy really thinks the internet is like this, (assuming he doesn't know what banal means), imagine how stoked he would be if the chaos, volume and unpredictability were still in full swing.
> 1) I organize my Android's 3 screens by function: (left) Scheduling/Tasks, Home, (right) Social stuff. On each screen are a relevant widget (or two) and related apps.

But then the question of 4 swipes vs 2 is kind of moot. You're not using 5 screens to store apps, so comparing your setup to iOS isn't apples to apples.

Personally, I setup my 3 screens (iOS) to have 1. Stuff I use a lot, 2. Stuff I use a little, 3. Stuff I barely use. This works well for me, and going to a left-center-right model wouldn't gain me anything (I expect that it would cost me instead).

> 2) The Android app drawer is much more useful than iOS's app pages because the app drawer is arranged alphabetically, is continuous and is organized top-to-bottom. I use the drawer about 10% of the time and, when I do, I don't need to "recall where all 80 apps live" because I recall the alphabet.

This is debatable. There's something to be said for not forcing alphabetical order. It comes down to personal preference, though.
More at https://browserid.org/
Why the downvotes? Is it not legitimate to ask how a scarely-known website ended up being acquired in such a short time?
I think you're over analyzing. G+ is out for barely two weeks now. It has not even been released to the general public. Any internal strategy Google itself has is merely of speculative nature until it gets proven or not.

Any great strategy is merely speculation also is figuring and/or anticipating other peoples moves. A great strategist needs to have a great gut feeling and be lucky. When Napoleon was presented with a new officer and after his merits have been presented to him, he supposedly asked "Very well, but is he lucky?".

That is why bean counters never get to do anything great. And that is why people love good speculators. And all the guys I mentioned are incredible speculators.

Not everything can be quantified and analyzed. And regarding curation - the community has decided that this specific piece of speculation is interesting and insightful. I hope I don't need to remind you that this particular mob is not you average Joe Sixpack mob?
I'm willing to bet that if it always put you back to the first screen, he would be saying that the Home button makes you lose context.

Design is always trying to find the best compromise.
Chart of the Day: Android Loses Developer Support to iOS
I hear it used this way in the rarified world of tech journalism and internet message boards far more often than traditional journalism or real life. I think for most people the TSA is a mere annoyance. The ever-increasing droves of people flying would tend to support that point of view.

At any rate, Google still feels this verb has a sexual connotation (http://www.google.com/search?q=grope), so I'm sticking to my guns on that one. The title is meant to inspire outrage by using a loaded term rather than the appropriate one. This "news story" is actually a propaganda piece and isn't helping in having a rational discussion on the topic.
That's just not true. Many, many successful startups have been started by MBAs from Harvard and elsewhere.

A friend of mine from business school started a tech company while in school. He then raised several million in VC, and is well on his way - I believe I just saw them on CNBC. The VC he raised money from was an alum from our school.

A B-School professor of mine with an MBA started and sold not one, but two companies for north of $10M. One wasn't tech related, one (the bigger one) was.

None of those three companies had anything resembling a "technical cofounder".

Those are just a few of the examples I can think of from my own personal business school network, and I went to a school well south of Harvard in the MBA pecking order.

The entrepreneurial path is a long one. Business school is two insanely fun-filled years of your life during which you will meet lots and lots of very smart, very interesting people, and yes, even a few entrepreneurs, past present and future. Outside of the absurd cost these days, there is absolutely no downside to taking a detour through a decent MBA program.
There's nothing overtly sexual about TSA patdowns, but I would not want to subject a kid of mine (if I had any) to TSA agents rubbing the back of their hands on their chests, legs, and tugging at their pants.

We don't know enough about the story to know just how belligerent the mother might have gotten, but TSA should offer some kind of special program for people that are frequent fliers, special needs, and flying with children that can skip such security measures and just go through the usual metal detector/bag xray if they opt-into background checks and such. I've flown a dozen roundtrips this year so far and have a flight in a couple hours I need to catch, and that would make me so much happier.

> Yelling at a TSA agent isn't one of the good ways.

There's just no great way to communicate with TSA so I can understand people wanting to take it out on the agents because they're right there, giving you lots of grief. At the same time, one has to realize the TSA agent is only doing his/her job. It's a lose-lose situation for everyone.

> I'm somewhat convinced that the new security measures don't really help much...

Every time I go through patdowns and realize that I never took my baggy of >3oz "medical" fluids and sprays out of my carryon luggage, I feel so safe.
Will iTunes Match be used to chase down music pirates?
I'm wondering if it's at all possible to integrate this with OpenID, and how this interacts with previous Mozilla Identity projects to make your identity a part of the browser chrome. It all seems rather tangential to their other efforts, rather than coherent with.
What in the name of Google is a "Panda" – infographic
Google "Panda" Effect explained in a super cool infographic.
I hope that one of these services is on the user's side, so much that the ID isn't enough for, say, advertisers to track users over different sites. And how graceful is it for versions of IE that aren't 'recent'?
It's actually FreeCiv, based on Civ II, not V. The researchers needed to be able to modify the source to let the agent read messages from the screen.

Direct link to the paper: http://people.csail.mit.edu/regina/my_papers/civ11.pdf
This seems to encourage using the same credentials everywhere which I think most agree is a "bad idea." If BrowserID is compromised, the attackers have access to all the sites where I use browser id, right?
It would be nice if I could set shortcuts that don't include the command button. I'm trying to set next/previous tab to be ctrl+tab and ctrl+shift+tab, but I'm required to use the command button so it breaks the standard shortcut keys that pretty much every other tabbed application use.
As someone who grew up around a few HBS grads (friends' parents), give it a shot.

Also, one of my co-founder's parent's went to HBS, it comes highly recommended.
It's relevant because we still do use the home screens, just not for every app. I'd say 90% of the functions I use my phone for are available on my home screen or one swipe away.

I still use the App Drawer (the alphabetical list of all installed apps) occasionally for the rare app I don't use frequently to merit a prime spot on my home screens.
I knew they were from different people. I think my point stands, though. If you do use 5 pages filled with apps, then the "swipe the wrong way" problem seems inevitable. And if you don't, then the comparison is kind of moot.

Certainly, offering the option to put apps on the left of "screen 1" is not a problem if that's what you prefer. I'd probably never use that if I were on Android, though. Of course, Apple already uses "screen 0", so the "swipe left" option is already taken by search.
But the buckets in the poll are even more ubequal on a logarithmic scale than on a linear scale.
"users are sharing 1 billion items per day"

"the network has already accumulated 13 percent of Facebook’s 750 million users in two weeks"

Now, that's impressive
You can't do that YET.

As far as Cloud hype & buzzwords goes. I was of same opinion until I started doing my startup. Now basically all infrastructure I have (besides my personal computers) is of SAAS nature somewhere in yes Cloud.

We could say Internet, but that would be confusing - since Internet is such a broad term.

For what its worth as a reformed nonbeliever I'm telling you. Cloud is awesome and its here to stay. So you better get used to it.
This lets users sign in with an existing email address, so they don't need any new sevice or identifier to remember. It's decentralized; Mozilla has a service for web developers for convenience, but any site can implement the protocol itself instead (or use another provider). And it's designed to let browsers handle the login flow in the future, simplifying login and account creation for end-users.
I believe there is a tremendous potential for disruption on TV, the same way anybody can make a living selling software using Internet, anybody should be able to sell their documentary, films, or TV episodes using it without too much middlemen.

It is already happening, but it will take some years, bandwidth has to be cheaper and the economic models have to be tested.

Remember Apple App Store learned a lot from Lindows-Linspire click and run, apt-get, yum and other experiments that tested software distribution in the millions of users way before Apple did.
Ask HN: Phone systems and contact me flow for small businesses
Hey Hacker News,

I am a self-employed/freelance IT consultant and web dev, and while I have a business set up, I'm the only employee and I work out of my house, which I rent with friends.

When I first started I got a second cell phone added to my plan. This was so I would have a business number for clients to call because I didn't want to give out my personal cell phone number to people who might be calling me at any time.

I have been making the second cell phone work, but I'm getting tired of carrying around two phones all of the time, and think that there has to be a better solution out there. To a reasonable extent, money isn't an issue (and I'll save money from dropping the 2nd cell phone)

What I am looking for is a hosted service that will provide a number for my clients to call or text at any time that I can forward to my personal cell (if I want to) or keep as a voicemail box. Ideally, the voicemails would be transcribed to email as well as possible and sent to me, and if the translation wasn't good enough I could dial into my box or listen to them though a smartphone app or website. Basically just whatever options they provide, I'm not too picky. If this number has an online fax component as well, bonus.

I looked into Google Voice, but have stayed away from it because I want a service that has people I can call if there are issues.

What does everyone here use? Am I unrealistic in my expectations?

Thanks!
if/when Apple makes a TV, there will definitely be an app store with it.
Surely building the bot would prove a certain proficiency. (I think they train educators to say this.)
This article is two layers of blogspam deep.

Here is the source: http://www.tennessean.com/article/20110713/NEWS01/307130115/...

From that source: "...airport security screeners must try to avoid invasive pat-down searches of children."

Excuse me, what? Isn't this kindof instructional on how to successfully smuggle something dangerous onto a plane, then? Just strap it to a kid?
Git is like that "one data structure with a hundred functions operating on it, instead of ten functions operating on ten data structures".
A Day in the Life of the Modern San Franciscan
Check out http://grasshopper.com/
If the "I launched the wrong app" problem is really why Apple did it like this, then they're optimizing for a rare use case at the expense of more common use cases.
Once this is supported by browsers and email providers there is no "BrowserID" to be compromised, your email provider would have to be compromised (which already gives attackers access to all the sites that you use that email on).

(Unless you meant "BrowserID" the protocol.)
I am 100% opposed to the TSA's policies. I also think we have no obligation to treat TSA agents with respect.

Anyone who institutes an unconstitutional policy should be told so, flat out. Simply following orders or doing your job is no excuse, just like it wasn't for the Nazis.
Lying on your resume is an explicit attempt to deceive a prospective employer.

Lying on Github (and then presumably not using it on an actual job application), you're only fooling those who are willing to be fooled.

If someone is going to scrape data off the web about people and evaluate it for prospective candidates, the burden of separating the signal from the noise is on them, the internet is full of bullshit. You're obviously mucking with their process, but you didn't ask to be included in it either. No different than assuming all the content on blogs isn't plagiarized and then trying to use that to proposition people to be authors.
Pentagon Has 24,000 Files Stolen in Cyber Attack
Isn't that what happens when someone compromises your email too?
However, Apple already does this in other cases. If you leave the Settings app and go right back in, you'll find it exactly the way you left it. If you wait (I'm not sure how long, could be hours), you'll start at the top of the app again.
Ask HN: any good alternatives to Pivotal Tracker?
In 6 days, we'll be forced to switch to a paid account costing $100 per month. Any suggestions for an alternative?
Android activations grow to 550,000/day
This is not about how good of a programmer you are but about how a hiring manager can decide whether you are a good programmer or not.

When a programmer has an active github account with lots of quality code, hiring manager has an easily verifiable proof of programmer's abilities (or lack of it, if the code is bad).

When a programmer can only talk about papers he read, hiring manager has no way to verify if he actually read those papers and if he understood them.

Reading papers is not worse than programming for professional development but it is worse if you're looking to convince someone to hire you.

Reading papers instead of writing open source code is a valid choice but that's what it is: your choice and it comes with the consequences of not being as attractive for potential employers as people who write high-quality, open source code.
Which is why off-topic articles like this, that deal with hot-button political topics, should just be flagged and removed from the site.
I'm willing to bet against you. Do you have access to an alternate universe where we can test your claim? :-)
Redmine.
1. There is no built-in copy command in git.

2. What is confusing about "git push <remoterepository> <localbranch>:<remotebranch>"
The intention seems to be that browserid.org is temporary, just there so that this can work until it's supported by browsers and identity providers directly. Once that is achieved, there's nothing extra to sign up for.
I said I was stretching but the etymology of the term "scale" seemed to go back to either "cup" (and eventually the weights and measures sense of the term), "skin plates on fish or snakes" or "climb" (which also led to the musical definition). Ranking things on a "scale" seems, to me, to derive from the latter root meaning.

I was stretching it, sure, but responding to someone picking a hole in someone's legitimate usage of a metaphor seemed like a great time to be a little jocular!
so, its an easier way for sites to track users?
Awesome! I'll be in touch later today!
It would be more impressive if TechCrunch were better at math... 13% of Facebook's monthly active users would be 100 million, not 10 million.
Thks thorie, I've been thinking about adding a Tour and I agree it's required. The most challenging part is explaining the concept, and a tour would do the trick.

I'll think about making it free to get some critical mass. Not desparate for the $ but I figured one free credit at signup would give users enough to try it out for one event. But perhaps that's keeping people from trying it out.

I would love for you to try it some more. Your profile didn't have an email address but I'd love to set you up with a free unlimited account so you can try the full feature set. Can you contact me through the website with your email address so I can follow up with you?
"The ever-increasing droves of people flying..."

Got any data to substantiate this?
Lipogenesis is legitimate, but it's not the primary pathway for carb metabolism if you have a healthy diet. Glycogen is the primary way that blood sugar levels are regulated, and your body greatly prefers glycogenesis to lipogenesis.

If you're exercising, your body doesn't build glycogen; rather, it shuts down the metabolic pathways for glycogenesis because burning glycogen while building it is very inefficient. (It's a form of hysteresis.)

... painting with broad strokes because my background is in biochemistry, not nutrition.
10 / 750 equal to 1.3%

Am I missing something?
There have definitely been instances of attractive women being "randomly" selected.

I saw this two days ago at DCA. I always make a note of how much the new scanners are being used--the whole time I was in line waiting to have my ID and boarding pass checked, probably about 15 minutes, not a single person was sent through them. I actually thought, "Oh, good, they're not using them today." Then, an attractive woman who was right in front of me got sent through, and the TSA agent who selected her blatantly stared at her rear after she walked past him into the machine.
Computer Networking : Principles, Protocols and Practice (CC-BY-SA book)
Deeez Online - Page 6
And many of us would rather not take on any unnecessary radiation, however small the dose. Do you find that interesting?
Some people think that using URLs instead of email address in OpenID was a big mistake.

Having in-browser support for this kind of thing seems like a plus, too.
Thanks for all the advice. Passed it along to my friend, and he just told me that they're a bit overwhelmed now (which is a good thing). Problem solved!
Reminds me of a case (an HBS case, in fact) we read in b school.

"Johnny has just graduated from Harvard with not one but three job offers from top-tier Venture capital firms. What ever should he do?"

Sometimes they just get a little silly, those Harvard guys.
and https://wiki.mozilla.org/Labs/Identity/VerifiedEmailProtocol
The whole thing about the frequent fliers is a bit unrelated to this news piece. I haven't thought enough about your proposition to know whether I support it, but I thought that a trusted traveller program did exist in some airports where you could go through expedited screening.

> 3 oz baggy

I don't even take mine out of the suitcase any more. The worst that's going to happen is they catch me and make me put that part through again, but so far the expected value is time-saving. I can't say it makes me feel more in danger -- I think for the most part people don't really want to blow up planes, and even when they do, it's decently hard to get in a position to do so.
Appalled in what sense? That they offer you to little or that engineers there are making way too much?

I'd guess the former, but I'd say it could go both ways…
Not really. It's a way for a user to prove to a site that they control an email address.
Sharing a billion items per day is obviously false as it would imply 100 items shared per user on average.
I was thinking this too. How could the editor not catch this?
The guy who actually started Gilt Groupe, Kevin Ryan, got his MBA at INSEAD. Not that it changes your point much.
Unless they're counting everyone you're sharing to as a different "share"?
When I tried to sign in on the demo site I got a 502 Bad Gateway error. This isn't an encouraging sign.