skysight-inc/HackerNews huggingface dataset:
I've never once had the impression that nl2br did anything more than make whitespace significant in an HTML document. Even during my first days of using PHP... I don't think there's anything in the documentation or even trivially basic experimentation that could reasonably lead someone to believe that.

Plus the actual HTML-escaping tools (htmlspecialchars, htmlentities) do not make whitespace significant.

Though these days, you might arguably be better off with "white-space: pre-line" in CSS instead.
I can't really talk about black people, as the entire set of black people I know personally are maybe 10 engineers or other students at school, and a bunch of military people -- none of whom really need charity, are generally upstanding citizens (with flaws, but not much different from anyone else, etc.)

However, I can speak from first-hand knowledge about poor white people from Appalachia (unfortunately). There's substantial federal subsidy there as well, and a lot of it serves to "enable" dysfunction, rather than fix it.

I'd be fine with much smaller flows of money going in if they were tied to demands to actually fix the underlying issues. Building useful (physical or human) infrastructure, fine. Subsidizing loss-making operations temporarily, fine. Removing any pressures to improve, not fine. Which is essentially the same problem with government and NGO charity in places I've seen (Middle East/Central Asia/North Africa), vs. "private" (generally, faith-based, or returning diaspora, but hyper-focused issue based like Gates too) charity.
I will definitely grant that. We all see further because we stand on the shoulders of giants.

I compare the vision and management of an individual, Elon Musk, to bring together the resources necessary to achieve fantastic goals against gigantic bureaucracies that exist to suck up resources without commensurate results.

SpaceX has a vision for the future of mankind and will work towards achieving that goal. ULA has a pipeline to fulfill. SpaceX is just getting started. Apples and Oranges.
Sure, UI code tends not to be that processor-intensive, but it is a braindead idea to dump efficient state-methods with a bloated, inconvenient, and ill-conceived state-changing method which is both needlessly verbose, inefficient, unreadable and unjustifiable. Rube Golberg isn't a software design pattern's guru.
Fiction:-

The Expanse by James S. A. Corey http://en.wikipedia.org/wiki/Leviathan_Wakes & http://en.wikipedia.org/wiki/Calibans_War

Near SF by Daniel Saurez http://en.wikipedia.org/wiki/Freedom_(Suarez_novel)

Non Fiction:-

Katherine Boo: http://www.behindthebeautifulforevers.com/

Susan Cain: http://www.thepowerofintroverts.com/

Daniel Kahneman: http://en.wikipedia.org/wiki/Thinking,_Fast_and_Slow
1) Microsoft Bob
2) OS/2
3) Apple Lisa
The Shadow of the Wind
Government is there to do the things that the individual citizens should not or will not do. The government is not there to "force" you to do things against your will; unless of course your will involves doing things directly at odds with the public good (murder, theft, etc.). If you equate taxes to "forcing" you to give, then you are clearly arguing from a staked out position that clearly misunderstands the things that the government does with your money.
1Q84. True "literature" without feeling like it. I wish I could read the original Japenese. Also, too bizarre to really describe accurately.
I just had to try this. I navigated to that site on my phone (using this link) and when I click the play button it acts just as if I clicked any link with a "#" as the href. It brings me to the top and nothing. I guess I'll try and get in contact with Beatport to get their site to work on WP8.
That no-privacy-from-the-government future that Richard Stallman has been warning us about is finally starting to become reality. Only open source software and an encrypt-everything mentality will probably protect us.
There are other limits you'll hit long before you'll hit the computers raw storage capabilities. CPU <-> RAM access takes time, CPU <-> Disk access takes ages compared. As your dataset grows you'll exhaust page caches, cpu caches, etc. and things start to slow down disproportional to access (twice more data is more than twice as slow). All modern computers have more RAM and Disk space than you can use simultaneously in a usable (human term) time frame.
Can't replicate it anymore, so hopefully it's been sorted.

Disable/Enabled W3Cache, cleared out Memcache and it looks to be working now, not that technical but got the job done :)
I have both of those on my list as well, but didn't get to them this year. Hopefully early 2013!
There's also PyHP to use PHP templates with Python: https://github.com/bendemott/pyhp
My favorite host is prgmr.com. They have plans which fit even the smallest budget. The support is friendly and competent. You have access to an out-of-band SSH-based console and rescue image, so you can do arbitrary command-line maintenance stuff.

You can install whatever version of whatever distro you want. You can upgrade on your own schedule. You can even do more exotic things like install a custom kernel or even BSD (anything with Xen guest patches will work). You can use LVM.

The best part is that they give you tools to fix things yourself. You don't have to use some half-baked web UI whose creator didn't envision your use case. You don't have to file a support ticket and wait for the staff to get back to you for most maintenance tasks; you can just reboot in rescue mode and do it yourself.

> VPS control panels

I've worked with a few different hosts, and I've never found a web-based server management UI that isn't slow, buggy and generally half-baked.
Who Stole the American Dream? - Hedrick Smith: http://www.goodreads.com/book/show/13331153-who-stole-the-am...
Keep email views out of the models
The feature overview for the Linux 3.8 kernel
Some days ago, I toured a Lockheed plant. It was an amazing experience overall. Watching how airplanes get built inside a building. The scale of it just blew my mind. But, at the same time, I was looking at the business aspects of it. In my mind, what I was seeing was a business operating as it still was the 60's. Sure, there were some robots, and a lot of automation. But the whole underlying production pattern was old. made me realize that Lockheed peaked a long time ago and is now riding the gravy train. I'm sure projects like SpaceX will end up replacing them. Funny thing is that it won't take a long time. If Musk manages to turn himself into a good governement supplier (meaning he can make a good track record (so far so good)), then all these old behemoths will have their days counted.
Paypal just did this to a lot of their users, of course making you opt out by mail (which I have no doubt that said mail, though sent, has been "lost in the mail.").

But it's Paypal. They're above the law. Just like stubhub. Well no surprise there.
That could certainly be true, and is a good point. I was only speaking to the visual design here - message is definitely important though.
just to be clear - I'm not Rob Walling :) but feel free to email me at d@dylanized.com
1. Japanese, at least enough to navigate some Japanese websites
2. Some design sense. So that my weekend projects doesn't look like crap without bootstrap.
3. More maths. I am rather surprised how lacking my math is for doing some serious programming tasks.
4. Python.
there are more, but i think i should focus to these,
Unbalanced lifestyle.

A day off helps morale and spirt of the team more than anything. Time off gives the team a chance to slow down in a lifestyle that will run you into the ground the other 364 days a year. IMHO.
Just two systems is too simple, too naive.

The Society of Mind by Marvin Minsky is a must read for anyone who is trying to speak about AI.

The notion that there are quick and slow systems are old one - reflexes vs. recognition is the simplest example - recognition is too slow.

But there are not two or three systems, there are.. I cannot say how many, but if we believe that we have a distinct "subsystems" to recognize eyes, and mouths and faces by matching some cues, there must be vast hierarchies of such sub-systems (agencies in Minsky terminology).

So, some processes (agencies) are "slow" some are "fast", some works with quick-and-dirty data, such like a sudden motion catches our attention, before we're able to recognize what's going on..

The notion that each word we see does some "priming", pre-fetching in CS terms leads to the vastly complex view of how even seemingly simple tasks are performed.

So, all we can do is to recognize familiar (known in advance) patterns and look at its weights as modern computer translation services do.
1. sed and awk;

2. To use vim competently;

3. To touch-type;

4. Perl;

5. Polish;

6. To stay offline on Xmas day.
Online travel didn't establish themselves, it was failure of the hotel industry to do competitive online booking. It still is a failure, i get better prices through hotels.com. Also if I book through the hotel directly, some hotels tack on $20 to $30 resort "fees", they'll match hotel.com and when you get there, you get nailed with bogus fees. There is absolutely no reason to book through a hotel directly.
I dunno how this particular app worked but there is this thing called "deferred processing".

The thing to realize is that the max resolution I can ever see on screen is the resolution of that screen I am working on.

Even a retina MacBookPro has only 4 Mpixels on screen, at any time.
Now lets say I am painting a mask on a 30 Mpixel medium format image with a brush of 500 pixel diameter.
Lets say I am zoomed out, so the image is displayed filling the entire screen. This requires a zoom level of 13% for the retina example.
That means I only have to paint with a brush of 67 pixels diameter on a 4 Mpixel image in realtime and record the stroke!
Because the brush path is recorded, the brush is resolution independent. That is what the claim refers to, no to the source material.

When I zoom into such a 30 Mpixel image, to better see what I am doing, the area visible on screen remains 4 Mpixel. Many image editing apps (or most) completely ignore this.

What's more, while I am working, I do not have to use sub-pixel precision when blitting brushes onto the image )or doing whatever else) because this level of precision, in general, but specificially when editing, is almost always irrelevant at that high resolution.

Memory wise, too, I don't ever have to hold (many layers) of 30 Mpixel res in ram.
When a user loads an image, I build a pyramid (a mip map) dump that to disk and load tiles into a cache, as I go.

This never changes. When I have finished my 6 hour editing session, I press 'render' and everything is carried out, at 30 MPixel res. and subpixel precision. This render may then take an hour, but I don't care, I can go to bed and deliver the result to the client the next day.

When I do this in Photoshop, everything is always done at full res, with full subpixel precision. Ok, since a few years PS, too, uses a pyramid (mip mapping) in RAM, but it is far from optimal.

That is the reason why Photoshop's speed always sucks (because as hardware specs increase, so does the res. and number of layer people use when editing images).

It always uses too much RAM and too much CPU because it carries out a shitload of stuff you can't ever see until the final image is used in print or you zoom in at 1:1 and pan the entire image. Two things that, together, almost never happen in image editing.

P.S.: the only acceptable minimal bitdepth for image editing is 16bits/component float (linear space). Anything else will compromise quality, one way or the other.

P.P.S.: I was the product manager for Eclipse after Alias/XYVision sold it to Form & Vision in 1998. AMA. :)
Other than improving my programming skills and learning a bit more computer science theory in general:

1. Music. Learning to play the piano

2. Drawing and Painting

3. Cooking
1. Haskel

2. Rails

3. Typography theory

4. Statistics

5. More political philosophy

6. More arcane photography methodology/techniques

This is all in addition to the general academic edification entailed by high school.
* To learn and get a deep understanding of Go (golang)
* To find a project thay excites me and that I believe I will be able to sell.
* Meta-goal: to set adequate goals for myself so that I can keep learning, working and building without burning out.
I think there's a potentially big advantage to having a 3rd party involved. It can help arbitrate when there are problems. However, the OTA must really help both parties, and resolve any disputes, instead of washing their hands off it and saying they're just a messenger confirming the booking. There's little value in an OTA that only provides booking confirmation and that's it.

As far as I'm aware airbnb has made a lot of progress in this very area, verifying photos and information posted, checking the identities of the guests, that helps protecting both the host and the guest. There's no reason why OTAs can't do the same with hotels.
Start with cooking that will help you understand Piano and Drawing better.
It's licensed under BSD: https://github.com/colin-scott/interactive_latencies

Pull requests would be much appreciated!
"its users traded valuable personal information" != cash and is not really protected under most laws. Instagram has a right to do whatever they want. Yes, voting with your feet is a priori, but by this time, if you don't get that social media will sell and use your data in ways you don't want--as in that's a guarantee--you're too fucking stupid to learn and don't deserver any protection from the law. Period.
SEC going high-tech with real-time trade data
It should be better documented to not directly print user input in HTML context, and there should be a very obvious best-practices[1] guide for newbies explaining what to do (and what not to do). But nl2br could only be dangerous is you misunderstand the function's name, description, sample code, and everything else on the documentation.

[1] as if they would read it...
Noise texture generator with javascript
>These statistics prove only a single thing: mass shootings in USA are likely random events and have a mean value of ~2.

The whole "it is random" BS is based on the pre-assigned value of 2 per year. Why pre-suppose that 2 per year is an acceptable norm, that is not problematic in itself?

Consider a US with a mean value of 10,000 mass shootings per year, with the occasional 0, 20.000 or 50,000 etc mass shootings fitting the poisson distribution. Using the same methodology as the article, the same "conclusion" would have been reached, that mass shootings are random.

This is a major misunderstanding at what "random" implies in this context. It just means that the motives and decisions at the individual level to "go for it" are triggered independently and with the specific year bearing no influence. That is, it proves that the specific events are not co-ordinated.

This is mighty fine, but it doesn't at all mean that the cultural / law / etc climate that makes even considering an attempt at one of these events possible (much more for a median of 2 a year) is "random" or non changeable by human intervention.

Way to misapply statistics. As they say, there are lies, damned lies, and statistics.

As an extreme example, in a country where there are no guns (either legal or illegal), there would be no mass shootings AT ALL. No "spontaneous random activity" pertaining to mass shootings could change that.

In a similar, but more practical way, if other western countries have a median of about 0 mass shootings per year for decades (with the occasional exception), this tells us that even if the number of mass shootings per year in the US is random, the fact that it has mass shooting at all is not random but a cultural/structural result.
Ask HN: Did you complete your goals for 2012?
1. Dvorak

2. Emacs

3. Clojure

4. Testing from a keyboard
Why is California education so bad (with the exception of a few districts and some of the UCs), then?
Can you give specific examples of where all this extra scrolling and swiping that you're talking about is required?

One quick example is the mail client. You can only see about 5 messages at a time and that's with only a one line preview of the body. On iOS with a 1 line preview I see 8 messages and I can usually see the entire from/subject line. May seem like a minor gripe but it just adds extra steps to everything I want to do. Is there an option to reduce the font sizes? I couldn't find it last time I looked.

Getting all that information on an iPhone would involve individually opening and checking around 7 different apps

Depends what type of notifications you have setup. I can just look at my lock-screen or Notification Center for most of this. This morning when I picked up my phone I had a few CNN news alerts, a bunch of FaceBook notifications, some text messages, a game reminding me it was my turn, weather, calendar events, etc.
There's nothing wrong with ethanol as a fuel per se. It has the potential to be a great sustainable fuel made from farm waste and other sources. Unfortunately, the bulk of it now is being made from subsidized corn. This pits all of us who would champion ethanol as a sustainable fuel against it since the current state of the industry is based on very bad policy.
What encompasses typography theory? Like semiotics / linguistics or something more specific to web font use?
When you can't have Apache Lucene, because you are using PHP/RoR/Django/node.js/whatever, you can always have "basic text indexing and search".

that's a bad news for users of all those PHP/RoR/Django/node etc. apps, who will never get proper on site search functionality.
majority of lazy devs won't go for Solr-like solution
That's the problem when you live in a state with permanent martial law. You get tortured/jailed/killed for doing nothing wrong.
Show HN: Google Analytics SDK for OSX
> I tried and the link is down.

lunabluehotel.com seems to have gone offline yesterday, I suspect as a result of a traffic spike following their blog post. From their twitter stream:

> Seems that our website, http://www.lunabluehotel.com is currently down. We have a call in to find out why & solve the... http://fb.me/15notFYoE

(Note the link at the end of the tweet is also broken.) They also posted on the 23rd that views of their wordpress-hosted blog post were spiking:

> We just noticed that views of our Expedia blog post have gone through the roof for the 24 hours or so, all coming... http://fb.me/zyw2aX7R
D3 and R
Sourcing Israeli start-up wisdom - tips for finding co-founders
#000000 is black in HTML. setting your top color black would make the text in the top nav invisible.
Amateur robotics and radio!
1. Music, theory and practice. I'm currently experimenting with the bass guitar, acoustic guitar and electric piano.

2. CS theory. I'm a fresh ECE grad and our program was light on CS content. I plan to work through Daume's "Yet another Haskell tutorial", Downey's "Complexity" and SICP.

3. Ballroom dancing.

4. German refresher course.

5. Improve my design skills.
1. Javascript templating like mustache and dust

2. Webgl and three.js

3. Websockets and node

4. Phonegap and mobile development

5. Math geared towards game development
I gotta learn how to make this go viral :O

http://www.lootitooti.com/
I really enjoyed Running Lean by Ash Maurya. It's basically Lean Startup + Business Model Generation + Applied exercise.

I liked it a lot better than Lean Startup because it's actionable.

I also really enjoyed Logicomix which I thought was an excellent and entertaining throughout.

I read many others which were also good +/-, but those two were definitely the best.
Ethanol separates from gasoline in about a month. If the gas sat at the gas station for a few weeks before you bought it, it can separate before you use it up.

Ethanol will eventually damage the rubber and other components of your non-ethanol-safe fuel system. These components can be replaced with ethanol safe ones.

Small engines in lawn mowers, snow blowers, chainsaws, etc. seem to be more susceptible to damage from gasoline with ethanol in it.

In some places, the high octane gasoline does not have ethanol in it but some cars do not run as well on high octane gas because the gasoline does not ignite at the most efficient time for the engine. Where I live, high octane gasoline has no ethanol, and mid grade gasoline has half as much ethanol as regular grade does. Apparently our mid-grade is a 50/50 mix of regular and high-grade. I don't know if that makes sense, but that is what I've been told by 4-5 different people.

My car does not get as good mileage out of E10 gasoline. I experimented with using high octane gasoline and found that, even though high octane costs more, the extra miles per gallon I got was worth the extra cost. This will likely not be the case in cars that do not run well on high octane gasoline.

In my area, we do have a few gas stations that sell ethanol-free gasoline.
:) I've actually just changed it to #333333 so I can still kind of make out the shapes of [threads] and [myusername] when I want to click on them.
improve my drawing skills.
Using E0 hasn't been cheap for America. The low pump prices paid have made for a car market where small and efficient is less popular than elsewhere on earth, and the prices paid for middle eastern stability (which hasn't been very successful) has been footed by huge (mainly US) military expenditure.
Why would you include examples if they aren't necessary to understand the argument, or arguments that aren't required to make your point? That sounds confusing and tedious.
Ask HN: Educators and game makers, how can I help you?
I'm a long-time HNer and this is my first Ask HN. How can I help you?

For as long as I can remember, I've loved two things: education and games. I lived in Taiwan for 7 years, and grew to love teaching with all my heart. From 2006-2010, I built up and ran a school as a 50% partner.

Inspired by PG essays, I exited the brick & mortar business, put my drawing to use in making flash games and then joined an edu-tech startup in China for a year. As an early employee, it was a rewarding experience. Inspired by more essays, I moved to the bay area this summer to become a "hacker" and make a bigger impact.

Now I'm in SF, underemployed doing freelance web dev. This leaves me with time-- some spent looking for gigs, some building hard skills but hopefully time for something more.

Money has been an issue, but it's not why I'm here. I'm here to make a bigger impact. And job or no job, I want to contribute.

Online learning sites: I'm willing to freely contribute either content or features. I can't promise a HUGE time commitment, but I enjoy this stuff, and am happy to contribute something.

Flash or mobile games: Give me a feature and I'll work on it, or give me a build and I'll play-test it and give you feedback.

Anyone working on educational games: You're at the very front of the line!

Programming bootcamps/academies: You've probably already both received my application and met me in person. If I can participate in your program, I'd like to do everything I can to both help it and understand it. I'd love to run a branch in the future. If your goal is impact, this is an opportunity. In the short term, I'm happy to blog daily and/or give detailed feedback.

Anyone running or opening a (human) language school: I'll share what I know from building and running mine. If you're in my neighborhood, I'm happy to go out and have a look.

Ask, and I will help as many of you as I can.
More Scala and Akka
It IS a PHP library - just one written in C rather than in user-land PHP code. Why is this a problem? The XML-RPC extension isn't even enabled by default.
For me:
Python (Advanced): Django/ BeautifulSoup
Clojure
Android
JQuery

Improve my Japanese/Mandarin
You can't have breakthroughs without breaks!
Just another case of superior tech losing out. Sad but true. All too often.