skysight-inc/HackerNews huggingface dataset:
Its <pre><code>foo</code></pre>.

All browsers will not automatically wrap text inside pre tags, since the text inside pre is supposed to have both width and line-breaks preserved. Scroll with two fingers inside the box to view whatever has been hidden by "overflow: scroll;". If you find a site that lets pre code snippets overflow into the right sidebar and off the screen, let them know their site is unusable and to add an overflow CSS rule to make it respect smaller screen widths.
I'm using Unity, and while it stays out of my way for the most part (I use a launcher for everything), I haven't noticed any features that would make me more productive. I'm curious about that now, can you elaborate?
Yes, I did manage to disable the reopen functionality. But I shouldn't have to mess around with .plist files to do so, IMO.
Since people are taking what I've said out of context, I thought I'd clarify this statement:

It's a bug that you could rank highly in Google without buying ads

I shouldn't have mentioned ads here. Position on the results page should only depend on the quality of your content; if your site has the best content on the Internet for the user's search terms, you should be the top result. You shouldn't be able to change your position in the organic results any other way, like by exploiting bugs in Google's ranking algorithm. The specifics of the ranking algorithm may change, but if your site is the best, you won't have to worry about it.
You can already setup Eclipse to be an external service to vim using eclim. I tried that for a while and it works, but then I realized that all the disadvantages of using a heavy IDE (project setup, project switching, startup/shutdown, inconsistent experience across languages and machines) were weighing me down too much.
Keep in mind that the Mac OS side of Apple has been growing at better than 20% per year since the introduction of the iPhone. Not too shabby, except when compared against the truly explosive iOS side growth.
Ok, as someone who has been actually building apps on Node for about 1 year AND working with a largish Scala codebase for the last six months:

> Not to mention the fact that its balls-ass slower than some straight un-optimized Scala.

I don't see the point of comparison here. Slower/faster is meaningless without the context. Apples to Oranges. And, Scala has it's own issues. Yeah, the JVM's performance is there, but bringing your team onto a Scala codebase is not easy either.

> It provides the least amount of aid and comfort to the programmer and its nigh-on-impossible to follow the code 6 months later.

Anyone who has developed more than a Hello World in Node will know that the problem of callback sphaghetti can be circumvented using events, promises and async libraries. Yes, until the language itself offers an async construct, this will be an issue, but frankly there are ways to get around it.

> JavaScript has very little support for any of those nice things: it doesn't even have namespaces, for chrissakes.

Client side JS has no module system. But Node.js has. At this point, I really wonder if the OP has actually worked at all with Node.

> It seems to me that people who are really crazy about Node.js are people who only knew JavaScript to begin with and to whom none of the above would ever even occur.

Another baseless claim. I urge you to go see the GitHub profiles of Node core committers. Seriously.
And this is surprising how? Great to hear they are being successful though. $200/lead is probably an order of magnitude too low though.
Thanks! Its a bummer to see Tropo sunsetting their IM API, but such decisions must be made.
My level of confidence in the Belize Development Trust, which produced this "document", just dropped through the floor.
HP CEO says webOS will be better than ‘fragmented’ Android and ‘closed’ iOS
Show HN: TangleTube - Make groups of YouTube videos to play together and share
'Anonymous' intercepts secure call between FBI & Scotland Yard, posts it online
> But you don't have to use it.

Except that the useless button replaced one that I actually used before. Especially Finder windows are a pain to get to 'normal mode'.

> I really like the non-existent scrollbars.

The problem is that they only work when the content is obviously clipped, which is easier to ensure on the iPhone.

I had two instances where the content seemed to perfectly fit its box (Xcode4 & Recovery Partition). Took me a while to find out that there's more.

I appreciate what Lion aims for, but I could rant about its usability for hours. Almost all my bugs are duplicates, and they are all still open even after 10.7.3. :(
And yet the Chrome version lets you block the action, while with Safari you can't do anything about it...
No, we should only grant obvious patents! They expire the 3rd Sunday after the second full moon. Also the application should cost 1 billion dollars and must be written is Sanskrit.

More seriously, rather than trying to only throw obvious ones out I would suggest applicants submit a bounty on each patent to be paid out when prior art is discovered. Or returned after 5 years. The patent office can then charge a small fee to compare prior art to a patent or patent application and it becomes expensive and pointless to submit most dumb patents without costing the taxpayers anything.
Am I the only one who thinks it's awful that a website developer is even trying to detect and disable this feature? As a user, the interface to my OS and browser remaining consistent is much more important than disabling a single feature that may cause trouble on a single website.

In fact, I find it presumptuous that they are trying to even detect this, and then tell the user to disable it system-wide!
Here's what I do:

1. Copy/paste the title into Google and hit search [1]

2. Click on the link from the SERP.

3. Profit?

[1] http://www.google.com/search?client=ubuntu&channel=fs...
I wanted to try out Backbone.js and Boostrap so I put this together as a chance to use them both. It was a fun little day-long project and I've had fun mixing and matching videos.

Let me know if you spot any bugs or have any ideas for features.
FBI Conference Call hacked by Anonymous
Seems like hype. This page http://githire.com/job_board shows only 19 job requests and only 3 intros made so far. Also if these intros are made by programmatically scraping emails on github, then they could be in some trouble for violating spam laws.
We just release our second iteration of feedssapi, your feedback is welcome.
REBOL is the only language I can think of that comes close to this list.

http://rebol.com/
Yes, you can enter the Emoji through the "Special Character…" item in the Edit menu. Lion even speaks Emoji:

say -v Alex '💩'
Learning to Love Sales
Yes, Chrome's implementation is extremely buggy and is triggered by all sorts of small movements, in addition to providing terrible clues to the user about what is going on.

Safari's implementation is much less painful, is only triggered when I really want it, and provides sufficient visual clues about what's going on.

Chrome's blunder is almost enough for me to switch to Safari, which is saying a lot given my preference for Chrome otherwise.
If we kept on doing things by tradition though, we'd be stuck with some of the base assumptions of the first computers. Breaking changes are absolutely necessary for many kinds of changes, especially one like scrolling direction where there are only two mutually-exclusive options.

They don't always lead to improvement, but they are a requirement a large amount of the time. Why the nostalgia for what you've used for 'decades'?
Anonymous is an amorphous collection of Internet enthusiasts, pranksters and activists whose targets have included the Church of Scientology, the music industry, and financial companies such as Visa and MasterCard.

First time I see a news outlet describing Anonymous in a somewhat suitable fashion.
I was told once it's better to drive to Niagara Falls, cross the border by car, get the TN there, drive back home, and fly to the US by plane a few days later.

TNs are best requested when you don't have a plane to catch in an hour.
So @benbarry made some cool posters. Solid idea. Good job buddy. But seriously, everyone involved in this needs to contemplate the ridiculousness of these whiny teenaged first world problems. Print your posters. You can't copyright text on a page.
Nit: Client side JS has no module system.

Check out requirejs: http://requirejs.org/

I've used it to handle both server-side (node) and client-side module systems, and it's been great.
Apple has the most to lose in a patent war, specifically because they're the cash king. $100 billion in cash and soon to be $40 billion a year in profit, up for grabs by patent lawsuits and trolls.

When you have all the money, and only 3% of the patents, you've made an extreme miscalculation in starting a patent war.

Motorola Mobility is by far the patent king in that realm. Apple is stupid for starting a war that they could lose tens of billions over long term. It was a fit of rage by Jobs that caused them to start firing salvos. Not his finest decision making.
Anybody knows if it affects PHP 5.2.x?
There's a giant disagreement on php-internals at the moment as to the nature of Suhosin. The core developers argue that time would be better spent working on the core itself instead, and Stefan does not agree with that.

The aforementioned post is Stefan's attempt to show why suhosin is needed.

(I disagree personally, and I think Stefan's attitude is less than productive to the entire discussion.)
Glad to see someone has been brave enough to come out against this. I too don't like Node; JavaScript was never designed to take on this sort of load.
What? We all know that book was published in 1984. 20 years later doesn't count as an "earlier confirmed source".

What's proven is that by 1963, people were writing "hacker" to mean "security breaker". To insist this is a perversion is rather silly when the "perversion" occurs so early and is in fact the earliest citation.

It seems likely the two usages are coeval. The benign one is how hackers saw themselves and the malicious one is how they were perceived by authorities.
Quant v. Audience: The Real Challenge and Opportunity is Using Both
The attackers aren't big, but they have some very specific domain knowledge, and are increasing in sophistication over time. -> ideal pathway to terrorism analogy
Personally I enjoy minimal electronic music while coding. It fits nicely into the background while still sounding interesting.

This site has some good minimal mixes http://deepmix.eu/
You don't need to "do anything about it" in safari, as it works properly.
Yes, I am aware of requirejs. I was talking about native module support.
I disagree about it being that "disruptive". The concepts that it uses aren't new. They've existed in POSIX environments for decades.

At a very basic level, Node.js is a callback-based API that's based around some(probably select) notifier loop. That's not particularly new.
On some things yes, on other things no. It depends mostly on whether the engineer is doing anything that benefits from significant infrastructure and an existing customer base. If you need (or could significantly benefit from) either of those, you might have more impact at Google or Amazon. For example, a data-mining idea might pan out better if you have: 1) google-sized server farms; and 2) a local mirror of the entire internet that you can run queries over.
I use chrome, and I haven't noticed a problem. Is the issue just than it scrolls back too fast, or won't allow horizontal scrolling period?
their elastic bounce scrolling is so irritating to me that I bountied someone else's stackexchange question for some way to disable it: http://apple.stackexchange.com/questions/18187/can-you-disab...

Sadly there doesn't appear to be a system-wide solution yet, and even after months of using Lion it still grates on my nerves every time.
Node seems unnecessarily complicated and faddish, but if you really want to mire yourself in callback soup then go ahead. I'll just be over here, not tearing my hear out.
Lightweight desktop widgets project
Sugar Should Be Regulated As Toxin, Researchers Say
Pirating the Oscars 2012: Ten Years of Data
Thanks, some good ideas. Right now, I have other projects, though. I don't really have any interest in reforming the site to serve a different purpose. These are certainly some opportunities for a buyer to explore, though.

I agree about the revenue-at-transaction thing. The problem with cars is, well, no one buys cars online (though that may be changing relatively soon).
The real question, I think, is when investors are figuring out whether to go into the startup scene, what are the dominant influences on their decision?

If there's a long tail of Airbnbs that drives most of the expected profits generated by an investment strategy, then the status quo understanding of things--buy a bunch of lotto tickets, and make a bundle when one hits the jackpot--is probably an accurate representation of the market strategy.

If the median investor isn't going to make any money from getting a big hit, though, it's a different story. Most value is going to come from talent acquisitions. In which case, the article is right, and the incredible sea of funding available today is effectively a pooled set of resources by big corporations that are funneled to VCs in exchange for recruitment and building of effective teams. Which would make VCs the best-compensated HR managers in history.

There's also no reason both can't be true. Maybe the majority of profits are generated by Dropboxes, but the typical VC understands that those are lotto tickets and is relying mostly on the latter scenario.
Couldn't agree more.

We're all aware of the Internet Hype Machine. We've all been duped by it before. Heck, my big project today consists of frantic backpedaling from an overly hasty decision, prompted by the IHM, to use SQLite in a project that had no business being based on SQLite. We should all be open to hearing criticism about choices to use X or Y technology.

-But- if you start by saying, "You're so stupid," then the person you're talking to will start by thinking, "You're such a jerk." And nobody really pays much attention to the opinions of people they think are jerks.
Apple wants to bring back iPhones into german stores today
This, as the comment to which I responded proposes, creates an issue because the state of the device is unknown to the user

Reorient your thinking. The central thing is no longer the "device" it's the user's account and sessions in the cloud. The user's data never goes away, it's just that access to it is sometimes good and sometimes not so good. Mostly, it's good.

Nowadays, if a user's mobile broadband is broken, they just think of going somewhere with better reception. In a few years, when a seldom used piece of data has fallen out of the cache, they'll just think, oh well, I'll get back to it in a bit. (Or, if it's really important, they can select "Keep Available" so it'll be there next time.)

However, if you go back to a time before mobile broadband was commonplace, and you tried to introduce someone to it in a bad reception zone, they would've been very "meh." That seems to be where you are.
Ask HN: Best Cheap web hosting
I'm just getting into building my first website, and possibly a web app is in the works too. What out there are some user recommended hosting services, something cheap where I can learn some basics of web hosting, and just get a site or two up with a little database. Thanks.
The problem I see with all these kinds of negative posts concerning Node.js is that they essentially boil down to "this is so radically different and uncomfortable to me that it cannot possibly be good for anyone else." and do not provide any concrete business examples of why it should be avoided.

Until I see an actual example of how "Node.js crashed my business, cost us N dollars, and here's exactly how...", I will continue to look at such posts as developers complaining about having to learn to do things a new way — something that has been going on since there were developers.
I travel a lot and I've never had as much problem traveling internationally as I do dealing with Canadian border guards. Oy vey. I always seem to get pulled over. I've since learned to practice my answers in a terse cold unfriendly manner. Smiles and friendly doesn't work.
There are fundamental differences between civil disobedience and terrorism. It's much more efficient to find people after the fact than it is to prevent such attacks. However, there is also a tiny number of terrorists in the world and a huge reserve of people willing to disrupt systems so prevention is far more effective when dealing with anonymous than it is terrorists.

PS: Want to attack the FBI, just set them as your homepage. It costs them real money, and does not end up with you in jail. Thus the appeal. (Note: It also tells them who you are...)
Negative Woman Photos Illusion
The quote at the end made my hair stand on end:

"Top programmers are like a race car. Once you get them you don't want to lose them and you want to get as many as you can."
The word "bubble" (in the economic sense) was created in 1720
I was detained for several hours at the Montreal airport trying to enter Canada. The immigration officer at one point started yelling at me about Wal-Mart and how Canada isn't like Wal-Mart and the workers in Canada have rights! None of which had anything to do with me. I assume she was having a bad day and decided to take it out on the first American she came across.

She began insisting that I pay $1000 cash to enter the country with my laptop and printer. I refused to give her cash but offered to pay with a credit card. That got me detained for another hour, sitting alone locked in a room.

Finally she brought someone else out that wasn't irrationally mad at me and she charged my credit card $250. The entire thing was surreal.
Ask HN: thinking of selling my car and biking full time??
Anyone made the switch??? Did you feel trapped without a car?

I'ld love to hear from those who have made biking a lifestyle?
Ha, that's awesome, well done.
Socratic method for the win. Keep asking questions until THEY come the conclusion that what they were thinking was a dumb idea.
"ideal pathway to terrorism"

don't be an idiot.
> Finally - someone [...] mixes music just for that purpose.

DJ Bolivia has been quite known for his "Music to code by" mixes, I definitely recommend them.

http://djbolivia.blogspot.com/2011/04/music-to-code-by-volum...
Get one of the car share services, zipcar/carshare. Then mentally do the jump and stop worrying about the per minute / per hour costs. It really is about the same costs as owning a car or cheaper. Use the zipcar when you need it, and bike the rest of the time.
It's posts like this that make me embarrassed to be a programmer. The author basically states, "Node.js is not a good fit for my company, therefor everyone using node.js is wasting their time." It's generalizations like this that just blow my mind.

I don't go around saying, "Snickers is the worst candybar, therefor anyone who eats a Snickers is wasting their time."

I bet the author is not a pleasant person to work with.
So basically the 'trick' is to pull a Zinga. Not exactly what most of us are looking for.
Yes, I'm envisioning a "fat cache" for the current day would need about 240GB of flash. Basically a little below average sized hard drive's amount of storage would do.
If you want to read the full text of this source, it is on Project Gutenberg (http://www.gutenberg.org/ebooks/24518). (Books link just because I could not get that specific page otherwise, sorry.)

I just finished reading this book. It is still very readable and relevant today despite being written in 1840. We still have bubbles and crashes from speculation, we still have quacks and charlatans. About the only section that did not have a modern parallel was the alchemy chapter, thank goodness.

My favorite part was how the courts got out of dealing with people trying to claim losses after the crash. I won't spoil it here though, you'll just have to read it yourself.
http://www.kievbass.com/podcasts/ works for me
I think the site is starting to creak under the strain. Perhaps a torrent of the MP3s would be a good idea?
So, the gist is: "I spent $2K developing an app, recouped about $1K. And then I won an Apple lottery".
Google-Backed Supergrid Buoyed by OK of Offshore Wind Energy Areas
Huh, was just talking about this on hubksi: http://hubski.com/pub?id=15982

I provided this link there too: http://naturalnews.com/Images/Cola-Earlier.jpg

It wasn't so long ago that the cola industry was actively marketing it as something that was beneficial to "put in a bottle".

I imagine that years from now we will look back at our naiveté regarding health with shock and awe.
I thought the article had some misleading advice as well.

What I'd take away for it is: "you don't need to code it yourself to be successful".

If you have validation, I think you could outsource the actual development (I'd try to be a very active customer and interact with the developers a lot, though).

An example of what this article is trying to say is the uruguayan Groupon clone WooW: all the development was done offshore, they just set up the company and logistics and concentrated in providing good discounts.
It depends on where you live. In Manhattan, I did not feel trapped. In Minnesota, where I am now, I do indeed feel trapped.
You can also get good stuff on TT in the Trance Out room.
How much are you offering to pay them? When you say 'availability', do you really mean 'availability for less than market rates'?
Tell this to my mom. She doesn't even know how to send or read SMS, but she still wants to take pictures at my birthday. I think we still have one or two generations that need the point-and-shoot
Yeah, and caffeine is a drug, do you need a prescription for that. I have no doubt that some lobbying special interest group is behind this "research".
If the first point just happens on HN, that wouldn't preclude the second and third point, right?

So -- possibly superfluous, yes.

(EU person myself)
There are easier ways to stop Anonymous. You could try addressing their concerns for a start, and "not being total arses" couldn't hurt either.
China cut off Internet in area of Tibetan unrest
Personally I love it, but some programmers find non-blocking evented "async" IO completely counter-intuitive. So it's debatable on the usability.

Async IO is an absolute win from the scalability perspective because it allows you to service a great many clients with many fewer threads. OS thread context switches are relatively expensive. Ideally you would have exactly one OS thread per physical core and they would never need to block on exclusive access to any shared resources.

Now that we have a system where the user code inside the async handler doesn't need to manage exclusive access to anything, from the usability perspective it can has some of the simplicity of code that is fully single-threaded. But that's subtly different from saying ASIO makes it easy.

My guess is that many of the same programmers who aren't comfortable writing multithreaded code aren't going to find it completely intuitive to rethread their stack around an ASIO model.
Only if you backported the max_input_vars fix. (Or if your distro did it for you in case you don't do your own compiles.)
Seriously, at least as far as Python goes it has always donde modules and namespaces better than C++ or Java or Scala.
The disruption is not about whether the paradigm is old or new. The fact is - today if you are building a small app and need some form of real-time features, your best bet is Node.js. Right from etherpad lite to socket.io you have the tools you need to be up and running and to support a few thousand concurrent users out of the box.

Of course, scaling it past that will be a problem with Node being single threaded and so on - but I believe that these are problems that Node.js will eventually address.
Are you afflicted by 'tech envy'?