skysight-inc/HackerNews huggingface dataset:
To my taste, Linux puts a lot less roadblocks in my way than MacOS does. Maybe my complaints that follow are simply due to my ignorance, in which case I hope you will take the time to correct me, but as far as I know they're real roadblocks.

I want to see the source to the ls command? dpkg -S /bin/ls; apt-get source coreutils. I have no idea how to do that on MacOS. I want to be able to compile it? apt-get build-dep coreutils, which IIRC will install the compiler. The equivalent on MacOS involves signing up for a developer account with Apple, signing a contract that promises God knows what, and downloading a multi-gigabyte disk image. Even after installing, gcc still isn't in your PATH, and won't work properly with the platform SDK without a verbose -isysroot option. I want to make executable the file named gooba somewhere under my current directory? chmod +x $(find -name gooba). Apple's find requires an explicit `.` and maybe an explicit `-print`, I don't remember. Got performance problems on your machine? On Linux you have htop, dstat, iotop, powertop, and latencytop, none of which have MacOS equivalents as far as I know. Even plain old top has keystroke commands to switch between sorting by CPU and sorting by resident set size. As far as I can tell, doing that on MacOS requires restarting top with different command-line options. And there's no package-management system, so if you're building a server-based app, good luck installing the same versions of the same libraries on the server that you tested against in development. Or on your new dev box. And the server's probably running Linux anyway. Also, where the fuck is strace? Dtruss is a fucking piece of shit.

Admittedly XCode is a pretty nice IDE, but there are a lot of nice IDEs out there, and most of them run on Linux too. And I'd love to have dtrace on Linux.
I sometimes listen to ambient-ish classical music while coding. Ólafur Arnalds and Jóhann Jóhannsson have been recently on my list.
They used to tell children that people turn into stars when they die. Isn't it interesting then that the number of dead people is of the same order as the number of stars in a galaxy! :-)
TPP censors buffers
Creations by Collectives
I don't think RMS could advance the Free software movement by using a more normal setup. There are already plenty of people who think open source is sort of cool, and install it on their MacBook Pros when it's convenient, and sometimes help develop it. And they're better at making Free software accessible for everyone than RMS could be. They don't need his help. He contributes more by disturbing our perspectives in a way that no one else does.
Never had a egg, and medications, no serious medical records, never had a seizure, or any mental disease, my teachers actually thought i was a smartass sometimes, and also healthy social interactions
How to make sure you never hire top talent
Your comment should be on top. Everything OP said can easily be done with Chrome's multiple profile feature. I love the fact that I can run _multiple_ incognito sessions at the same time without it being bounded by the number of browsers you have. Multiple Gmail sessions? No problem. You can just setup a profile for each email account you own without requiring you to sign-in every time.
Starting Dec 27, 2011 and ending Jan 19, 2012, I tried out the Keto diet (it's very similar to the Paleo Diet).

I started at 245lbs and ended up at 229lbs. In 24 days I lost 16lbs. While it's not a ginormous amount of weight to lose, it was still something, especially since I was eating 3 eggs + 4 strips of thick bacon for breakfast every day, plus many other foods that aren't traditionally thought of as "diet friendly".

I stopped the diet because I reached my goal: fit into my fancy suit to attend a birthday party in El Salvador, where I proceeded to gorge myself for two weeks on the high-carb delicacies that are the staple of their diet. I am now back at 240lbs and am thinking about going back into Keto, and this time mixing in some exercise as well.
I have a lot of trouble finding the desired code block in, say Firebug or Chrome dev tools. Especially if a page has multiple concatenated JS files. The search box is helpful, but often unreliable.

If I'm working with the code in a text editor, it's usually easier for me to find the code block in the text editor and type 'debugger' rather than root around in the dev tools.
Facebook allows this? (NSFW)
$5,000 * 12 = $60,000. I don't think the OP's suggestion of $42,000 a year, take-home, was too far off assuming a marginal tax rate of 25%.
I hope you're not trying to imply that I was saying that. I was merely directly responding to the poster above
He probably e-mails his assistant to do it, just like he speaks out against cell phones but will just ask to borrow someone else's.

http://daringfireball.net/linked/2011/10/27/rms-cell-phones

Edit: according to http://stallman.org/stallman-computing.html he does use normal web browsers from time to time and even has a Twitter account for posting comments on websites. For text articles, his script probably just runs something like "lynx -dump" on the URL and e-mails it back.
Heh, at Apple it's currently 50/50 svn/git.
Use console.log() instead of alert. In Firebug you can do this with any object and inspect it. But be aware that those objects are "live" - if they change at some poing later in your code, the console object will update. If I need to inspect an object in isolation, I throw an exception right after console.log()
It shouldn't. The numbers show that Apple 4S business outstrips their previous generation model sales by insane amounts, something like 80% of iPhones sold are 4S models.

The tiers aren't as important to their success as people make them out to be.
With a BS, that is. That excludes large swathes of college educated people who have less valuable BA's.
I should also point out that there are plastics that are even harder than polyurethane to burn safely, namely, anything containing chlorine or fluorine. The common ones are polytetrafluoroethylene (Teflon) and poly(vinyl chloride) ("vinyl"). These, regardless of how you burn them, are going to produce compounds of fluorine and chlorine, typically gaseous hydrofluoric and hydrochloric acids, which will EAT YOUR FUCKING LUNGS. HF will also poison the fuck out of you. On the plus side, these gases are light and will disperse rapidly if they're not confined.
I'll add that, after enough time, one can start to do this as a self-defense mechanism. Trying to switch back and forth -- and remember to keep switching back and forth -- becomes exhausting. And after this has happened to you enough in the first few years of your career, you can also start to get pretty pissed off. Deliberately "opting out" of the counter-productive switching, and/or of dwelling on its context, can be a way of retaining your sanity. Just document your time and how it was consumed, so that you can't be accused of being the cause of missing targets.

P.S. I'll add that if the boss had taken Ed's suggestion, all of this could have happened asynchronously in email or the ticket system. Especially if the user has been given a copy of SnagIt or similar screen capture software on their system (along with strong admonition to never "snag" confidential data) and been shown how to use it.

Screenshots (or these days I suppose, video) go into the ticket. Ed can see it's "really happening". Ed confirms and follows up with Fred. Fred responds the next time he reviews emails or tickets. Ed follows up with the boss.

Time for Sue: ~30 minutes
Time for boss: ~15 minutes
Time for Ed: ~15 minutes
Time for Fred: ~15 minutes

If Fred reviews at least once a day, boss would have his answer latest by mid-day of the following day. As compared to mid-afternoon of the same day while burning a lot of expensive time/resources.
Where did you see "force" or "others"?

I share what I own.

I own what I have.
But that world you describe is the startup world.
I bet you thought you knew how to tie your shoes
I use Chrome's Vanilla Cookie Manager extension to continually throw out ALL cookies older than 30 minutes, except for the following which are saved over browsing sessions: (star).google.com, (star).workflowy.com, news.ycombinator.com

It works really well, and I don't have to go through the hassle of using two browsers. Additionally not accepting 3rd party cookies and using http://someonewhocares.org/hosts/ for ads. Not quite as secure as OP, but mostly does the job.

https://chrome.google.com/webstore/detail/gieohaicffldbmiilo...
>you want to create a proprietary fork you can do it

Why should you be allowed to take away the Freedoms of others? The one thing the GPL restricts is your Freedom to restrict the Freedom of others. That's the foundation of copyleft: your rights stop where mine begin, and that includes being granted the four Freedoms of software as defined by the FSF.

In an ideal world, we would not need the GPL. Everyone would have realized already that it is in no one's prolonged interest to make proprietary software, and it would be frowned upon to do so. We would have implicit CC-BY (or -Zero) for everything and be done with it. No more copyright and licensing crap.
And such tools are available in all modern browsers:

* Safari has the same developer tools as chrome (they're part of the Webkit package), though Safari's tend to lag, and Chrome adds some stuff not present in mainline.

* Firefox has Firebug (third-party extension) and new releases have added a few built-in console-type stuff.

* Opera has Dragonfly, it's a built-in but (in my experience) tends to "feel" flakier than either WDT or Firebug.

* MSIE has its own devtools, they're horrendously bad in MSIE8 and still pretty bad in MSIE9 (they're flaky and tend to be unstable, they're also harder to use and extremely ugly). This is probably the devtools you'll find most painful. I do not know what will be in IE10. Purely for debugging I believe you can also hook Visual Studio (including Express Edition) and get a more full-featured debugger.

Some IDEs can also do remote JS debugging, which is actually pretty freaky. IntelliJ IDEA 9.0+ (and derivatives, RubyMine, PyCharm, PHPStorm and WebStorm) can be hooked in Firefox and Chrome with a bit of setup[0].

[0] http://wiki.jetbrains.net/intellij/Debugging_JavaScript_with...
Bummer. I'm generally a paleo-eater, so I was hoping that the criticisms would be actual criticisms that were rebutted and that helped me understand paleo better. Instead it's a bunch of self-congratulatory stuff about the strengths of paleo...
Don't Get Grinfucked By Your Users
Are you using firefox 3.6? Current firebug version is 1.9 and it has some cool new features http://hacks.mozilla.org/2012/01/firebug-1-9-new-features/
love the font and simple design. very clean!
it seems like a lot of effort to go through just for the off chance that an ad will show you something unexpectedly interesting. It seems like Reddit or Pinterest or even your Facebook friends would be better for that kind of stuff.
I shortened console.log() with a function I use in development called c()

function c(x){
console.log(x || "!");
}

It's pretty helpful, I can quickly throw the line c(); anywhere just to log if it happens when/if it should. And it stays out of your way, unlike alert() which is terrible and should be deprecated.
What is happening to Linux?
I've given this about 45 seconds thought, in the spirit of an interesting problem that's not my problem.

If I had this problem, one thing I would try would be to find language schools or teachers in the target language, located in your current country (for ease of logistics). For languages that can't be helped in your country, I would look for English schools or teachers (or whatever your target language is, if not English), in countries that use those missing languages. The more developed the country the better.

No clue on how to set payment, but I guess that depends in part on whether/how much you expect to make from your project, or more vaguely how important your project is to you.
RMS said he would ask someone nearby for a phone, not necessarily a cell phone. Landline phones don't use software, they're a microphone connected to some wires. But you can't exactly carry one around with you.

Not sure why John Gruber cares about this, but...
Keys probably don't have to become unmanageable at scale - you can try use SSH certificate authentication.

Sign your keys with a CA, and encode the "principals" that the user has (so, be able to log into some machines as themself, some machines as some other user), and a validity period. Revocation wasn't there yet when last I looked at it (mid-last-year), but might be there now.

One benefit is that individual connections don't need to be brokered by an external authentication/authorisation service. However, it is a relatively new feature and there may be rough edges (such as making sure all your clients have a recent enough version of the tools to work with certificates - Lion was the first MacOS X version to have it, for example).
The author, David Goldman, is a huge bigot and panders for appeasement (i.e. he says something you believe to get you to grab on to his hidden agenda). He was on the Jaime Glazov show in November viciously insulting Muslims.

http://www.blogtalkradio.com/radio-jihad/2011/11/23/the-jami...

He talks about how we (i.e. you and I) need to risk our lives to attack Iran in order to save our civilization (read: serve his agenda).

In his computer article he mentions nothing about evidence showing that computers cause people to be less intelligent save for a few coincidental anecdotes.
Inside Domino's Super Bowl Pizza War Room
Do you mean trying to impress the wrong people? What kinds of people should be the target of your impressions, besides potential cofounders?
Great video. The full Going Native conference looks fantastic too: http://channel9.msdn.com/Events/GoingNative/GoingNative-2012

I caught Herb Sutter's day 2 C++11 keynote live yesterday and really enjoyed it, especially where Herb talks about all the meta details of a language like how to learn it, library quality, etc. Chandler Carruth's talk on Clang was a real eye opener on how good a compiler should be at helping the programmer find bugs. If you have any interest in C++ check out all the videos from this conference, they are really high quality in content and presentation.
Hasn't SOTJN been in early access mode for like 3 years? I bought a copy way back when it was first released but I've given up on it ever being finished.
> But be aware that those objects are "live" - if they change at some poing later in your code, the console object will update.

Not in firebug (anymore), although the hyperlink will lead to the object itself, in its new version: http://jsfiddle.net/sgGEW/

The Webkit console does have that issue.
When this link appears on HN I make a quick diff on two things and none of them change: what Stallman uses and what the comments are (I can make a bet I'll see comments about his mail forwarded web pages). And there are also comments about how GPL is restrictive and BSD is not...

But hey - this guy has principles and sticks to his guns. I respect him for that and I don't give a dime if he uses a one inch display on a PC with 64K of RAM
I meant "from 1.7", sorry.
So you can count on each of your Android users generating less than $0.0027 in revenue for you?! (Actually, I guess it’s even less if you factor in the existing customers.)

THAT ANDROID’S A DAMN FINE PLATFORM!!
Yes partly. Doing lots of commits locally before pushing to others is definitely something I like.

Another part of it is working disconnected -- with so many people coding on their laptops that's actually a pretty common use case.

Also the lack of need to do sysadmin work on git/hg is really nice. I used to run the free Perforce server a long time ago for myself, but it was annoying to do the backups. With git or hg you get whole-repository backups for free.

The "big repository with all dependencies model" has its drawbacks but it's interesting that facebook finds a lot of use for it, and that git is unsuitable for it. Perforce is probably still their best choice in that case.
breacimanno said it all. JSLint is highly opinionated, JSHint gives you the extra control so that you can use it just to catch mistakes, not conform your style to someone else's standard. I use a textmate extension that lints on every save, it's not practical/healthy to keep ignoring warnings - you know what that will lead to.
http://opensource.apple.com/
Infographics of the Week #22
> It doesn't surprise me, his post sounds to me more like an easy "don't be evil" troll.

yeah. He even made private browsing sound hackish with about:config while this option is a checkbox in preferences
Interesting on redis, I already use it to store sessions. A friend talked about have 2 ques, only process free que when premium is empty as well.

When I get a chance to breath I will look into the price levels in more detail.

I would ideally look for a provider who can just take all the hassle out of taking cards and doing reoccurring payments. Sorting out a payment gateway is a lot of effort which I would rather focus on the product in the short term (next 3 months).
RMS makes his money by being paid for roughly half (iirc) of the talks and speeches he gives around the world. That has been his only source of income for years now.
You know what piracy is killing? Community. If you try and gauge the total number of actual viewers for the show, the number is pretty respectable, if you look at the number who watch it from a monetizable source, the numbers make it look barely viable.

The problem is, Community appeals to a demographic that is the most likely to pirate the show. The Community cast have stories of doing college campus tours where, polling the audience, up to 90% of the people in the room are watching it not from broadcast tv.

Despite regularly being ranked as one of the best comedies currently airing, Community is likely going off the air after at most one more season and the reason why is because NBC simply can't make a profit on it.

I don't care what people pirate or what their reasons are but I think they should be honest and acknowledge the actual effect that piracy has on art rather than make up spurious hypotheticals to salve their conscience.
> As the FSF would point out, the free software movement is different from open source.

They point this out and it's philosophically true, but are there actually any licenses that meet the definition of "open source" but not the definition of "free software" (or vise versa)?

All of the ones that people actually use (GPL, LGPL, BSD, MIT, ISC, and Apache, I think that basically covers it) appear to pass both DFSG and OSI definitions.
Both WDT and Firebug let you jump to a given line. In Firebug, type # followed by the line number in the search box.

In the WDT, there's a keystroke which you should be able to find (it's command-L in Safari)
Show some respect son. Seriously.
Drag & Drop WordPress Theme Builder
"I use Last Pass to login to sites, it only takes a split second"

Most likely every login is taxing him by 10 seconds or more (not split second) + interrupts his train of thought.

He gains almost nothing in return.
I could see it being useful to deploy a Thrift/Protobuf/Avro service. Not everything is a web server :)
Why French Parents Are Superior
STREET FIGHTER X TEKKEN CHARACTERS ART
This is one of the best (or at least most sensible) articles I've read on this in a while.

It's all about cost and convenience. The only way you'll ever prevent movie piracy is to offer a legal alternative that is as easy and convenient, and priced in a way that makes the legal way the easy choice.

Charge a dollar or two for a regular download, double it for HD and new releases. I doubt most people would even bother to get a copy from a friend because it would be so cheap just to get it themselves.

Some people are never going to pay, some people are always going to pay. You're trying to catch the people who currently aren't paying because there isn't a sensibly priced legal alternative that's as easy as just firing up utorrent and the pirate bay.

Surely small amounts from lots of people is better than a slightly larger amount from a few people?
I liked "VCili" because of the nice rhyme, but your comment reminds me of an amusing throw-away line in a SF book, "The Dechronization of Sam Magruder".

Some future paleontologists discover a journal written in stone by a man transported back to the Cretaceous. The stone tablets are written in English, but the paleontologists "were speaking Interlingual Swahili, of course."

http://books.google.com/books?id=AZEfCnVK_VkC&lpg=PP1...
I have to take issue with this statement. It didn't just "dissolve" bad things happened (what happened the Martin King and Malcolm X is well known but also look into the fate of the Black Panthers) to all of the leaders and the movement floundered without its stronger figure heads.

That's what is so vitally important about the amorphous collective form of Anonymous and even later Occupy Wall Street. Without a clear head to cut off or discredit the movement can continue with its goals even if it loses a few people.
JSLint is already a highly configurable version of JSLint. JSHint is a leniently configured JSLint.
Might be doable on an iPad, though. I'd play Theme Hospital on one.
Related question... what do you do when the execution of your script just aborts without an error?

This happens sometimes to me, especially when I bundle all my JS resources together into one file. JSLint doesn't help, as some 3rd party libraries don't pass JSLint tests.

What I end up doing is adding console.log/alert statements all the way through the scripts to narrow down where the script aborts. There must be a better way?!?
Facebook chief faces tax bill of $1.5bn
That's still $40k for full-time, not $5k.
Why? Just to avoid relevant targeted ads?
It used to be worse. Ancient Greek had tonal accents, instead of just stresses as now.

http://en.wiktionary.org/wiki/Wiktionary:About_Ancient_Greek...

I learned this reading "Empires of the Word", a book recommended in the HN 2011 best books thread.

http://www.amazon.com/Empires-Word-Language-History-World/dp...
Wow very neat! I love the visualization! Are you going to possibly add an api in the future?
I ran into similar issues several years ago in setting up "sftp-only" ssh logins to a server. As I recall, the most robust solution involved disabling port forwarding and running the "sftp" ssh daemons in a nearly empty chroot environment.

At the time, I recall finding lots of misleading information on the Internet about restricting ssh, mostly task-oriented "howtos" that overlook the basic principles of operation in order to "get started quickly!"

In my experience, beyond "whitelisting" ssh access in the first place with AllowGroup and related, one should rely more on "deep" kernel-level restriction mechanisms (chroot, BSD jails, sandboxing, etc.) than "shallow" authorization controls ostensibly provided by ssh and/or the login subsystem.
we can have a whole new level of realism.

What would you be able to do that you can't do now?
HTML is a declarative format, so the presence of an <img> tag doesn't mean it has to be loaded eagerly. You could turn it around and ask why the browser is loading assets that can't be seen.
Receive Voice Messages From Your Website’s Visitors
It sounds to me like a) you make as much as your boss does, and b) technology is not your company's core business.