skysight-inc/HackerNews huggingface dataset:
Nimrod combines Lisp's power with Python's readability and C's performance
20-30 years?? Ok, Mr. Kurzweil.
One exception to the first exception: in a function with "use strict", "this" is never the global object.
xdebug exposes a gdbp interface which supports breakpoints, stepping, inspecting variables, etc. And you can use it with gdb or any GUI that supports gdbp, such as macgdbp.

EDIT: It does not expose a REPL though, which I suppose is what you meant?
- Improve my Greek vocabulary

- Rewrite the Hive parts of SnowPlow (https://github.com/snowplow/snowplow) in Scalding

- Try out Go, Rust and F#

- Add Android and iOS trackers to SnowPlow
The standard disclaimer on find | xargs: you should use -print0 and -0 to avoid problems with files with whitespace in their names, i.e.

$ find -print0 | xargs -0 wc -c 2> /dev/null | tail -1

(Also, many uses of find | xargs can be replaced with -exec cmd {} \; or -exec cmd {} +, e.g.

$ find -exec wc -c {} + 2> /dev/null | tail -1

although this isn't much faster in this case.)
wow...that's quite some statistical data you gathered!
I tried this myself using this command:

cat ~/.bash_history | cut -f1 -d' ' | sort | uniq -c | sort -n -r

turns out my .bash_history is clipped at it's default size-limit (500 lines). So I'll change that to gather more data for next year. My results started with:
147 clang++
77 ls
54 cd
15 gs
14 rake
13 vim
...

where gs is short for "git status"
...and thanks for the hint about the substitution! I updated it on my page.
They might be. I don't see the point of forced browser choosing given that the browser market is very competitive right now.
Hacking books (especially tech books) or hacking code? What's the difference? Both are just as technical.

I will agree, the post could have been titled better. What's relevant here is not the money but the OP's change of attitude from live to work to work to live.

That's something I hardly ever see on HN. And it belongs here on HN.
Wow, as a emacs user, I think the "conkeror" browser is better : it's entirely based on firefox, but uses javascript as its extension languge. Just like Emacs, kernel + extension , instead of lightweight or 'unix philosophy'
Emacs default for me, thanks! I used to play with color schemes, preferring Vim's desert and solarized among others, but if the screen's too bright now, I just turn down the brightness and/or make the font bigger.
So is this basically Unity 2D by any chance?
My impression was that the average age was mid-20s but there were definitely older people in those photos and at least one or two people with families of their own. It must be the revitalizing effect of hacker school that makes everyone look so young :D

I suspect the bias is not in the application process but in the applicant pool. It's far easier for young people with no ties to pick up and spend three months in NY without income.
That's my point, why technology should be used to freely export Hollywood's version of culture? There are many ways in which technology can improve people's lives, but this is not one of them. On the contrary, it is making even harder for foreign countries to create their own entertainment industry, because it is very hard to compete with free.
Ask HN: Books on Implementing Network Protocols
Hey everyone. I'm looking for some comprehensive and (preferably) readable material on implementing protocols. By this I mean, taking an RFC document and translating that into working code.

I'd also be interested in seeing open source implementations; but the problem with much of what I've already found is that the code is not written for educational purposes and thus does not implement things in a very straightforward (for me anyway) way, and the code gets bogged down in edge cases and unnecessary complexities for someone who just wants to get a sense of the protocol in its purest form.

Specifically, I'd like to write an SMTP client and server because I think it would be cool to get something like that working.

I've already gone through Advanced Programming in the UNIX Environment and it isn't exactly what I'm looking for.

Thank you so much!
I think it's very much the demographics of people in tech, and I mean that in a cynical way. 10-15 years ago, if you were in tech, you wrote software to sell to people. Back then I don't remember much righteous indignation about the morality of copyrights. Today, working in tech often means working at a "middle man" place like Google or Netlfix or Amazon, which profit by being gateways to other people's content. It's unsurprising that these folks may have different views on copyright.
Congratulations Nathan. I've been a customer since 'The App Design Handbook' - and have never had an ounce of buyers remorse. I wish you all the best going forward.

I do have one question regarding consultancy though - how did you crack this one? How did you make the transition from web designer to consulting for clients and what does 'consulting' entail? (thanks to Swannie for providing a nice outline initially)

Thanks again for the transparency and inspiration Nathan.
Well, I think we all agree that this isn't what RMS imagined (by a LONG shot). This is a kind of compromise, a merging of Free Software ideals with practical implementation how to translate Linux into a "consumer OS".

The sad fact is that you simply cannot handle root shell to an average consumer. The only result of that is a security hole because the user is grossly uneducated (the question whether he should be educated is for another time).

Regarding the bootloader lock/root, you have to commend Google for offering great, and easy to unlock & root phones off the shelf. The fact that US cellular market is screwed with subsidies and carriers making it hard to root phones is a whole different issue - that's really not Google's fault. It's also definitely not the case elsewhere (e.g. in Europe, where my experience comes from).

And I also think this is a much better state than if all those phones run Windows ;)
Luminus aims to be a buffet, your choices, as opposed to omakase
I'm not sure that blockbuster-type movies could get funded using kickstarter-type funding. Even if they could receive the needed funding, I don't entirely like the idea of moving to that model. Currently, producers front the initial money (and thus carry the risks and rewards) of the movie. After it's made, I can then decide based on trailers and reviews whether I want to spend money on it. Instead, with the Kickstarter approach, I need to front the money based on some short trailer and description for a movie that may or may not be finished and which I have very little information on whether I'll like the end product. I've mentioned movies here, but it extends to music, TV shows etc. I like the idea of Kickstarter and crowd funding, but I'm a bit too risk averse to fund many things.
could you give a few examples of what you would define as little things? do they all work towards a bigger thing, or are they typically unrelated?
Hum, I didn't discover link hinting in my very short stint with Uzbl, but I might say I prefer Opera's mode: Pressing shift and the arrow keys allows you to navigate links visually, i.e. as they appear on the page. Since this scrolls the page too (to the next link), this is faster when you have to scroll around to find the links.

It might not be faster than hitting one key per link, but it's more intuitive than the link-cycling all the other browsers do. Give it a shot, you might like it.
phpsh[1] by Facebook is good. Ironically, it's written in Python.

[1] http://www.phpsh.org/
Amy is making a fantastic salary off of Freckle, Patrick is doing great from his software, and Brennan is doing $6k/month from Planscope less than a year after launch (and growing like crazy!). I think they are all killing it with software.
Great questions!

RE: Less success on actual apps

Planscope's revenue is fairly small right now, but trust me when I say Freckle could give Amy and Thomas a very comfortable life if that's all they were working on.

Subscription products can take a while to build up in monthly recurring revenue. Product's like Freckle have been around for 4+ years.

RE: Selling to developers/designers

I'm a developer, so it'd naturally be a lot easier for me to make a product for my peers than it would for, say, construction managers.

There are a lot of people doing very well selling information products to non-developers.

RE: Consulting is reliable

It is. I could have made a lot more money this year had I focused on just that, but the long term equity isn't comparable. I'm fairly certain I could maintain a comparable growth rate with Planscope if I were to do absolutely nothing with it right now. Given enough time, the work I put into it this year will pay off.
Калининградские дома №1 (январь 2013) » Строительный портал
Ask HN: Which linux distribution are you using?
It's not too hard to do (a very basic) implementation of splitting on | and ;, e.g.

sed 's/ *| */\n/g' ~/.bash_history | cut -f1 -d' ' | ...

(This fails on something like "echo 'a | b'" and doesn't split correctly on |& and || and doesn't split at all on &&.)
If growth continues at those percentages revenue will start to look more like a hockey stick.
Where would you draw the line between culture and entertainment. And why?
Australia: New
5 Reasons Why Leasing a Domain Name is Beneficial
Terrible, terrible analogy. The strip club has limited space in which to fit patrons. If you sneak in for free, you're taking up a spot that an otherwise paying customer would fill. When you copy the bits that comprise a movie or a song, you are not denying anybody else that copy of the movie or song. Taken to an extreme, if I hear a song on the radio and I later recall that song, perhaps even performing it in my shower, I have not stolen anything, although by anti-piracy advocates's standards I basically have. Hogwash.
I am not familiar with awk, what's the 's+= $7'? What is the argument 2 passed to wc? Why is the produced output different? What am I missing here?
Haskell?

I doubt the Suckless guys are using Haskell. http://git.suckless.org/st/tree/st.c
Zenburn! It's beautiful and I use it for everything. It's dark and I can code for hours.

http://slinky.imukuppi.org/zenburnpage/
Xubuntu, with awesome for the window manager.
You sure that's not because of memory swapping? Once warmed up the awk command is much faster for me.

Also, the results are different - though I'm too lazy to figure out why right now :)
HBR Blog Posts You Should Read Before 2013
Yeah, the OP is a really nice person. Because FB doesn't deserve this, not for $3.5k, maybe for $35k but more for around $350k to $3.5m. Guaranteed by contract.
Cool. Since android has great VPN capabilites being NATed doesn't necessarily present any problems.

EDIT: And why not link to the play store? https://play.google.com/store/apps/details?id=au.com.darksid...
You could probably factor exceptions 1) and 3) into the rule too!

foo();

1) What's left of a bare function call is nothing - except for a blank line that leads to the top indentation level. In other words, what's left of it is the global scope. So, 'this' refers to the implicit global object in your environment. (Alternatively, in strict mode, since nothing is to the left of the call, 'this' is bound to nothing.)

new Foo();

3) To the left of this function call is the 'new' keyword. So, 'this' refers to the new object that was just created for the constructor.
Solarized light for everything
I think we'll still be being beaten up in French McDonald's in 20-30 years for wearing AR equipment.

Humanity can lose a lot more than it can gain if the singularity did occur.

Yes I've read kurzweils book: thoroughly regrettable waste of time.
Browsers are the antithesis of the "unix philosophy". They do everything from cryptography to typography to networking to accelerated graphics. And its still not enough for people.

(I don't need to mention that just because you put a thin layer on top of a monstrous browser library that does all of the above, that doesn't make the scope of your program limited, right?)
Ubuntu 11.04, without anything fancy.
You think the HN community has a problem with these posts because it's filled with people who can already execute on the "million dollar consultancy" or "make 100k online" business models? That the backlash is coming from the "thousands" of "hacker entrepreneurs" resenting the "millions" of "microISV" people taking over the site?

Give me a break. The backlash is from people who are so intensely jealous that they find the idea of making any money outside a job unseemly and would get back to bitching about how evil Valley VC is.
Never really been a fan of new year resolutions, but a few that really are down to accidental timing...

- Stay off cigarettes (quit a month ago and going fine)

- Stop using cocaine (this happens to be the week I've realised that I'm close to being addicted - hell, I'm high right now)

- Start writing some sort of novel, something I've wanted to do for a few years

(edit: Sorry for the throwaway account, don't really want my name showing up in Google talking about a coke habit..)
Do you believe in the notion of culturally significant works?
actually there is heaps of love for awk...
so much actually that I'd rather spend a whole post on it than to "just" make it one item :)
We have been considering this, I'll give it a try for our next release, thanks!
I read his comment as either sarcasm or passive aggressiveness.

"Wouldn't it be a great idea if there was a 'hook' mechanism you could opt into that provides a way to add additional functionality to their site from third parties?"

Or maybe not. I don't know, text doesn't convey emotion and body language.
I though android was completely free of anything GNU, but according to the GNU website, there is very little GNU in android: http://www.gnu.org/philosophy/android-and-users-freedom.html
Yes. And SQL injections are still #1 followed by code injection as #2 app vulnerabilities (I believe that's from last year but I wouldn't expect changes). XSS is up there. Why not? It's so easy and there is no excuse for any of this. None. Period.
> It hits stabilizers the squat doesn't begin to touch.

Interesting. How much do you squat in relation to your bodyweight? Have you ever tried slacklining?
I don't treat piracy of entertainment as a moral question, because it's just copying. If I can download it, I own it, period.

However, I'll gladly pay money for convenience of access. I tried out netflix and I could not justify paying 8 bucks a month because I can't get what I want, when I want.

You could call this entitlement or you could call me a thief or try to drive me from not pirating movies or reading manga. I don't really care much. There's so much entertainment in the world that I can never consume in my lifetime. The only question is which work to try to enjoy and how to access it.
thanks! I'd definitely consider this, actually when we sent email we saw a good click/opens rate. We'll experiment more with modals too.
For XSS? No.
I have a liberal arts degree, and I've been a residential carpenter for the last 13 years. I guess the money I earn puts me in the middle class. Looking back on that time it's fair to say I've left a lot of money on the table by not seeking a higher-paying job.

I don't think it's arguable that a Google engineer will not make more money than a carpenter on my crew. The thing that bothers me about articles like this is the sense that technocrats like Andreesen assume their needs are everyone else's.
Show HN: My own year in review
A window manager of OSX that _actually_ works
I lost count how many times I wasted my precious money on an expensive movie ticket, on the fanciest theater around, for a heavily hiped movie. Just to walk out pissed off at how could they make it so bad. I'm sure so have you! So there is already the risk of losing your investment on crap today. I honestly don't see the difference :-P
A "mark as spam" button would work as long they could reflect the user's preference toward bots in general.
Do they give you a CC number you can use as much as you want?
There's no point in being unhappy just for more money.

I recently left a great job, and left a bunch of golden handcuff money on the table, for a position with far less stress and the ability to pretty much chart my own course. Bonus: I'm learning a bunch of new stuff (getting paid to go to school is a really good deal).
Founders: Learning should be your top 2013 New Year’s resolution
Yes, even with just PHP templating, you still would need at least wrapper functions around things like

print htmlspecialchars($input, ENT_QUOTES, 'UTF-8');

Otherwise, yeah, someone will miss one instance and that's all it takes. One attack vector.
Broken billing model is anything but flatrate? Hardly practical in practice for such a scarce resource. Noone wants to pay for that, it can only exist as an option where few will use it.

How about denial of service attacks? I could easily kill your battery and drain your quota for the month with a few keystrokes - and there's not much you can do about it.

Yes, I prefer NAT for my mobile connections. Just use a VPN if you want external access.
Not really. It was a pratically throwaway phrase that people can't seem to get past to read the point of my message.

If i say that you spend time and money on your startup, and you want people to see it, it does not mean that the reason I want people to use my startup is primarily for budgetary reasons.

In retrospect I should have left the word money out of it because it gets people worked up.
Android is far from a typical Linux distribution. In addition to custom kernel features (see https://lwn.net/Articles/514901/ ), most of the rest of the system hasn't got anything to do with GNU or GPL and is structured very differently from a typical distribution. O'Reilly's "Embedded Android" is a great source on Android internals.

I'm not saying Android isn't good for Linux. I also do appreciate the ability to read and learn from the source code and modify it.
Keeping animals on ground level, with people one level above, helped keep homes warm in ancient times. It's interesting to see the same process happening on a much larger scale.
Torture should not be a secret for U.S. to keep
Don't forget the actual website, http://saltstack.org or the code at: http://github.com/saltstack/salt
Nobel scientist Rita Levi-Montalcini dies, aged 103
Padrinos fundamental philosophy is to be a framework built up of independent components and with limited opinions. Rails is by default opinionated: You can swap out certain components but all in all you're expected to do stuff "The Rails Way". That's the difference. It may or may not matter to you and in many ways produce the same end results, but the approach still differs.
Another example of how Google does not (or is not willing to) do customer support.

If it works: great, if there's a glitch, well, tough.
Nice. Your reasons all do make sense. Doing is learning. I will definitely check it out if only to learn more about Zend internals.

Maybe update the github readme with this? It would help a lot, IMO.
I pasted in an article I wrote for a publication with a reasonably competent editor a while ago and the number of false positives was, I thought, surprisingly high. Many of the 'errors' it flagged simply wouldn't be considered as such in the context I was writing, and in fact the proposed changes would worsen the reading experience for the intended audience. I realise it's overtly supposed to be nit picking, rather than providing a realistic overview of what an intelligent reader may actually consider errors, but there's no substitute for simply having another human read what you've written when trying to eliminate mistakes.
Send it in a Text message maybe?
The anti-trust restrictions on Microsoft have always specifically targeted their behaviour in the desktop PC market.
Good point. Consumer computing is a much large category and QNX shouldn't be left out.

But considering the source (Gartner) it's not surprise really.
Totally integrated corporate-state repression of dissent
s += $7 means "add the content of the 7th column to the total"
Oxford in particular is skewed by some deeply entrenched class issues.
Seems like an open-and-shut case for a chargeback.
> or reading manga

I turned over to Japanese media from Hollywood. I rarely see American movies any more, maybe 5 or 10 per year, and TV series - I haven't watched any in the last 12 months. I couldn't care less about US losing cultural influence over me. In fact I enjoy this phase. Maybe in the future, if the Japanese become obnoxious with copyright, I might switch over to Indian or African productions. They have amazing output and most importantly, for a jaded viewer, they are fresh.

Instead of bitching about copying, countries should make all efforts to attract international viewers. It converts to cultural exchanges, travel and business opportunities. A few years ago people were talking about the export of American culture, how it is a bloodless conquest of the world. Now, I don't think Hollywood can remain as powerful. They are too lacking in imagination and risk averse, while shitting on our heads with IP rights lobbying.
It's more of a "security bug bounty". I'm sure they appreciate your fix, but that's not really the point of the program. ;-)

(This is quite clear from http://www.facebook.com/whitehat/bounty/.)
Again, I agree. Read my original post.
Ask HN: we develop a social network, what's the next steps?
http://download.vnmob.com
Basically, charge for the value you provide, not for your time. There's a lot of other interesting tips & strategies in there, but that was my main takeaway.
But they need to. All of those functions are necessary to interact with a world more sophisticated than that of 7-bit ACSII.
I've updated the readme with the above...

Thanks!!!
You bring up a good point with: "Impressive, but somewhat less success on actual apps". For the longest time, I thought the path to success was:

* Launch an app

* Quit my day job the next day

* Live life on the fast lane forever more.

This is simply not true of apps. From what I'm seeing in those who have shared their revenue openly (Brennan, Patrick, Amy, Nathan), it takes about 2 years (+/- 1 year) to get to the place where an app is providing a living income.

Software is a long game. I've only been able to have the attention span of 3-6 months. So I lost that game. Here's to 2013 and changing my attention span! :D
I just built and tested it on Mountain Lion. The text stays put and leaves the newly created space empty, just like xterm. I think the point st is that it is small enough to be hackable , so it might not be too difficult to add the feature.

On a separate note; I'm not sure why, but xterm actually launches faster than st, although both are so fast it doesn't matter.
True, but then you have to go back one version for your entire OS.

With Linux I can still run a 3.2.x kernel along with a different WM like XFCE , Fluxbox or XMonad.

This is especially nice because you can buy a $99 ebay laptop and convert it into a useful machine without being stuck with Windows XP.
Show HN: BootStrap Alert with modal instead of Browser default prompts
Demo at http://sair.am/demos/bootstrap-prompts/index.html
Sadly, one last, unfortunate inconsistency:

All event handlers have the value of 'this' bound to the object that emitted the event:

var div = document.createElement('div');
div.addEventListener('click', function(e) {
console.log(this); // prints <div></div>
});