skysight-inc/HackerNews huggingface dataset:
awesome link! thanks so much, and good luck to you as well!
Expanding Innovation with Ben Franklin Lead to a Bright Spark in August
So I don't think it's as simple as that.

My take on it: in the US, the climate makes it possible to rise far above the subsistence level, but only with some effort and/or ingenuity. Motivated people have historically been rewarded with better lives, and that truth has influenced our entire culture.

In equatorial island countries, it's too easy. What, you think you can spend your whole life relaxing on the beach sipping coconut milk? Well... OK, I guess you can do that.

In Russia, it's too hard. If most of your energy and focus is spent just surviving the winter, there won't be enough mojo left to move your society forward.

Problems with this climate-centric outlook: African equatorial countries with good, human-friendly climate but problematic cultures, and Nordic countries whose weather rivals Siberia's and whose cultural and technological progress is often compared favorably to that of the US.
Speaking from personal experience, a large MVC framework like Rails is horrible for learning coding. I tried to learn Django at the same time I learned Python and my head exploded with all the conventions you try to learn at the same time. Flask provided a much better start. There is a direct coupling between query and response, and the web-app is but a thin layer around the basic language.

In the Ruby world, this would mean starting with Sinatra instead of Rails. The added benefits of MVC only become apparent in larger projects.

Learning this kind of stuff in the browser is a great idea though.
You should absolutely be able to give real, concrete reasons why being a meth dealer is harmful to people. Otherwise anyone can (and does) spew out things they think are immoral. In the case of meth, it's easy. With Farmville it's a bit more complicated.
Rejecting the ACTA treaty with such an overwhelming majority definitely pushed their plans of passing the TPP (ACTA's successor) treaty at least 2 years back. And it may even have put doubts in their minds about that their strategy so far and if it's still the best one to go.
And Wave, even cooler :-)
HTML5 - Elemento Div
What has become a letter to Hacker News:

GO TO LOS ANGELES. LOS ANGELES HAS IDEAS TOO. GO INVEST IN LOS ANGELES.

Every day I here stories of kids with half the ability of me getting rich and companies with half my potential getting invested in. I have been a web developer for 10 YEARS running some of the largest websites in southern california, but I am still JUST AN EMPLOYEE. God DAMNIT Northern california get your asses together and step up to the plate The talent is here. We have been conjuring ideas and staying poor. I know the entertainment industry runs the show here, but there is plenty of room! Please get off your LUCKING asses and come to southern california you will see a world of young developers (aging now) who were never offered millions for their ideas doing the work of 10 men. One man armies here running some of the biggest websites in the business, but getting treated like janitors at entertainment companies.

Do you know what hacker news looks like to us one man armies in southern california??? It looks like a fantasy world where people actually discuss technology meanwhile here in southern california it is still taboo and social suicide to mention you do anything with websites in mixed company.

Maybe you should just stay up there and hand money back and forth to each other while we developers here save our pennies and eventually do it ourselves. After all the entertainment industry isn't going to do it. They don't want to lose their slaves. But who do you think builds all those mickey mouse websites, porn and hundreds of miles of online stores. Guys like me with working knowledge from decades and literally suit cases full of ideas. There might even be more developers here than there. But we are treated like garbage and second class citizens.

Well this is an invitation. The entertainment industry isn't going anywhere and as long as you are afraid to cohabitate the same city as them you are missing the kind of talent that prefers warm weather and beaches. What kind of person would enjoy that. The smart kind. Where are all the biggest ideas? They are right here. They always have been. You can sleep on my couch.

-the talent
I always thought REBOL was quite a word like language that kids might 'get'.
Check out... http://www.rebol.com/docs/reference.html

You can even use 'add' instead of '+' if it helps.
http://www.rebol.com/r3/docs/functions/z-plu.html

It also has a neat gui dialect, although a little retro looking.
Agreed, for many of the same reasons.

I have several GMail addresses, and a Google Apps email address for work, and variously-hosted other email addresses, all managed from within Thunderbird (with several extensions found over the years).

I don't want to merge personal stuff with my work email; I don't want to merge my work email into a personal gmail account; and above all I don't want to do either of those things then find that some robot in the system has locked me out of my account.

I also really need to have full offline access, so I can work in spite of unreliable or infrequent net connections. I.e., in 20 minutes of internet access in a crowded coffeeshop, I can upload dozens of responses to yesterday's mail, and collect today's mail, and fit in a few rapid realtime messages, then go. I'm not often forced to work this way, but when I am this is a lifesaver.
Jugaad: A New Growth Formula for Corporate America

by Navi Radjou, Jaideep Prabhu, and Simone Ahuja | 2010

http://blogs.hbr.org/cs/2010/01/jugaad_a_new_growth_formula_...
Except it isn't just the ratings agencies is it? The banks have been mis-selling and over hyping virtually everything that goes across their desk. Dodgy prospectuses, mis-selling interest rate swaps (http://www.telegraph.co.uk/finance/rate-swap-scandal/9364019...), mis-selling payment protection insurance, rigging municipal bond auctions and the list goes on.

This is before we even wade in to the whole LIBOR scandal. How are you supposed to, as an investor, accurately gauge risk if the independent base rate used to calculate your interest has itself been compromised by the very banks you're buying the investment products from?
If you play it, and get sucked in, or see your friends sucked in, or even worse, have children and see them sucked in... No, it's not complicated at all.

I've had friends who've gone the cocaine death spiral. One lived a life of lies. [An HN relevant anecdote: He was responsible for our source control, wasn't taking backups or checking disk space monitors. Full disk, corruption, 85 devs losing a week manually rebuilding central source from local copies (before Git). He was fired]
PTO was a part of my negotiation when I was looking for a new job, but it didn't work out. The job market was worse then, and I was quite keen to make the move out of my previous location (it was a cross country move) so it wasn't worth not getting the new job.

That said, over the past week I've been drafting a polite but direct letter asking for the extra week. Sure I've already had the job for a couple years and my bargaining position is ostensible worse, but their need for employees is a lot higher and they have repeatedly said how much they like me, I do good work, future roles, etc. I like the idea of making them sweat a bit (there have been a number of recent departures), and maybe it will pay off.
I tried tylerwm about three months ago and it was quite flaky. Sometimes it would re-arrange windows while I'm typing. Turned it off an hour later.
It's sad though: the EP is also probably the most powerless body you/we vote for. It's trying to find and flex its muscles wherever it can, but the truth is that most of the time it's just a rubber-stamping body for policies pushed by the Commission and the Council.
Neat project. I'd love to see a RubyMotion equivalent for Clojure.

However, it seems like an odd choice to write this in Haskell. Why eschew ClojureScript?

The ClojureScript compiler has a (reasonably) decoupled analyzer and reuses the reader from JVM Clojure. The core lib is already extremely robust and performant; it's becoming more so every day. That's a lot of code to ignore.

Granted, there are still some JavaScript specific bits glued in there, but you could fork and not care about contributing decoupling-patches to ClojureScript proper. The team would still still appreciate knowledge of what bits you needed to change and what challenges you faced. There are ongoing efforts for a Lua backend and self-hosting. An LLVM backend with Cocoa support would be a very worthwhile project!
AppCloudy: Hosting for web apps
A tired old anti-MS meme trying to look cool and hip. YAWN.
Advice for a 17 years old programmer
I'am a 17 years old programmer.
I code in python(love it),java,c#,php and others.
I read a lot about programming (code complete,the c programming language,stuff like that).
I contribute to open source but I'am not very active.
my question : what advice can you give to me to become great programmer say in 5 years?
PS : I'am not from USA !
I think that it is not appropriate to call this a "virus", since it doesn't replicate from one device to the next. The user has to install it from an app store. The proper term for this kind of malware is "trojan horse".
Nice tutorial. Ziviani also has other nice brain dumps (tutorials) on his site as well.. Like how to create an apache Module -- image refs are dead though...
You make it sound pretty good, but how does an American get a visa there?
Probably true. But as an amateur developer, I'd like to try it out... yet I'm not in a spot where I can just drop $200 to see if I like something or not.

How similar is MacRuby?
Comparing downtown Delhi with downtown Shanghai is no comparison. I've lived an traveled in the Chinese countryside and that poverty is not even in the same ballpark as India.
I'm a fan of exaggeration ;)
What Does SEEN Mean on Facebook Chat?
Find out! What Does SEEN Mean on Facebook Chat?
Well, the "big" difference is, that those destructive "things" are substantially impacting the health of their users, while a game, no matter how sophisticated, rarely does (except for a few extreme examples). One might more draw the argument into the gambling direction.

But I personally think that the addiction argument is highly problematic construct. For example we all remember the studies demonstrating that people are addicted to "the internet" or "mobile telephones". When the first animal was domesticated one probably could also have done a study into how they are conditioning human behavior, by requesting food, affection, play, etc. A lot of this seems context based.
A lot of the people I work for need someone to be able to make sites and maintain them, but they don't have enough work to justify paying someone fulltime. Most of my employers just come to me when they need work done. Luckily, they always seem to want and need extra customizations on a somewhat consistent basis.
This reminds me of OceanStore:

> OceanStore is a global persistent data store designed to
> scale to billions of users. It provides a consistent,
> highly-available, and durable storage utility atop an
> infrastructure comprised of untrusted servers.

http://oceanstore.cs.berkeley.edu/info/overview.html

It's not productized and pretty difficult to discern the project's status BUT they do seem to publish interesting papers / update their site every so often.
Wow! This is how I learned to code too! I remember when I around 12-13, I wanted to figure out how to make my own message box in Windows (yes, I was weird). But I didn't know there was such a thing as "programming". In fact, I had no idea how software was made.

Eventually I stumbled upon Game Maker -- I think it was at version 4 when I found it. So I began creating little games with that cheeseburger icon and snowmen. Eventually, I realized that this thing called GML would let me do more. When I looked in the help file, one of the functions said to enter an "argument" and I seriously spent like 2 days trying to figure out what an argument was.

Eventually I got a Mandelbrot fractal going in Game Maker and discovered C at that point.
GEO is 22236 miles up. Consider that you'll usually be bouncing data at least 50000 miles through the lossy atmosphere. It's the distance and lost packets that cause the main latency issues.

You could got for a LEO (upward of 500m) but they need much more power to stay up and you need so many more satellites. It's not impossible but I would have thought it to be prohibitively expensive for an ISP (or a cruise liner full of oldies).

Not to mention that this thing is going to connect to a base station and you're then your connection is in the hands of the actual fibre gods.

Compare that to a real connection: I have ADSL in the UK. I ping a server of mine in California. ~5000miles in 130ms. You could spend billions on a peering satellite network and your first hop (past any boat-board proxy) will still be longer than a DSL equivalent's whole TCP connection.

Unless, that is, they're using unicorns to beam the data with fairy dust neutrinos. That probably would be faster.

Note: I'm not saying annything about bandwidth. You can get crazy-high bandwidth through a P2P dish, but latency has always been an issue when you're dealing with orbits and the atmosphere.
The purpose of the origin header in WebSockets is to implement any capabilities that require verification of the requesting origin. This is, of course, valid only in the context of a legitimate client to server connection (since origin security is meaningless in any other context).

So, for example, you could use the origin header to protect against confused deputy vulnerabilities (which are known as CSRF in standard HTTP). You could also use the origin header to implement your own cross-origin access control in a scenario where XHR/CORS is not appropriate or efficient (e.g. an embeddable chat widget).
xmonad
http://xmonad.org/
That just a measure of how accurate the judging process is.
It's why FIFA are now going to experiment with goal line technology
Want HN: Open eBook reader & format designed for programming books
Like many people on HN, I go through several programming books per year. Short blog tutorials on specific topics are nice but nothing beats 150pp+ books that go into depth on certain topics.

Despite their utility, I can't help but wonder why there is nothing that you could call state of the art in programming eBooks. The best I've seen is Eloquent Javascript by Marijn Haverbeke, which includes a built in console that allows REPL-like control of the code samples in the book.

It would be awesome if you had features like:

(1) Syntax highlighting. Bonus points if it supports standard color schemes that can be set in the eBook reader. Syntax highlighting makes code so much easier to read and understand quickly. If your eyes are used to the light on dark themes, most programming books are painful to read with their black on white code samples.
(2) Git/github integregation that permits 1-click forking of the book's source code to your account so you can try out and modify the exercises in a book, maybe even allowing branching of exercises so you can experiment at will.
(3) Built in REPL support that allows you to reset the REPL and "play" code samples in their entirety or up to a certain line in the sample and then freely code thereafter.

Ultimately, it would be great to have an eBook format that would be extremely useful on tablet devices, so you could conveniently learn new concepts on your commute or while sitting on your couch without having to bust out your laptop and set up an entire environment that is probably better suited for productivity in building something than learning.

I'm sure there are plenty of other features that could make programming ebooks much better and I'd love to hear from others on HN on what they would find useful.

Maybe someone looking for a Bret Victor "Inventing on Principle" opportunity will feel inspired by the ideas of others on here.
I suspect they'll add Linux support at some point, though, particularly if there's demand (and they will be more, as core Thunderbird declines...) -- it shouldn't be too big an effort, as they're built on Thunderbird in the first place.
If you found this interesting, you might want to read "The White Tiger: A Novel" by Aravind Adiga.
I think the most important part is the idea that it is creating opponents elsewhere.

E.g. manufacturers that badly wanted the relatively non-controversial anti-counterfeiting measures in ACTA must now be furious at all the lost effort and the years wasted because of issues largely unrelated to their own concerns.

If more and more of these companies see RIAA and MPAA's lobbying as increasingly a threat to their own interests, it is going to have very interesting effects.
Besides the obvious difference of target platforms, the biggest difference you'll run into IMO is that MacRuby is a full Ruby 1.9 implementation on top of Objective-C, whereas RubyMotion is more of a dialect of Ruby. i.e. eval doesn't exist in RubyMotion, you can't require gems at runtime, can't use MiniTest or RSpec, etc.
With so much variance I'm surprised you found the need to belittle this guy's singular experience. He told his story of India. It highlights both good and bad, but also in himself. This wasn't some rant against India. Get over yourself.
Why the tricky horizontal scrolling on this page? (In Chrome and Firefox, at least. Oddly, Safari presents it as a regular vertical page..)
Even more telling is that my statement above is getting downvotes, and only established users even have that power.
Very interesting, thanks a lot for sharing! But this makes it only even more mysterious, why so few people vote or take part in the discussions.
It has, several times (the clojure.stacktrace lib, also https://github.com/mmcgrana/clj-stacktrace).

The problem is that these require a running, working system to format and print the stacktrace (as well as inspecting the state of the Clojure runtime). Unfortunately, uncaught exceptions will also quite often FUBAR the REPL, if not the entire JVM, meaning that improved stacktrace tools can only work some of the time, and will sometimes even make things much worse (if the JVM throws an exception from within the stacktrace formatter itself.)
I've already been at the same place as you are at the time, "learning" as many languages as possible and having fun coding and copying code from the internet, sometime without even knowing what each line of those copied codes really did.

The best advice I can give to you is: Learn one language, and get pretty good on it. You do this by learning the language by creating simple projects like RSS readers, text editors, etc.
Apple should integrate QR scanning capabilities in the native camera app.

I don't want to launch a special app to scan a code, I want to just pull out my phone, without unlocking it launch the camera and scan a QR.

If there was a way to switch the default camera on iDevices I am sure someone would've done it already..
> (after the code preview) Pretty nice right?

Yes, very nice. And also very annoying.

Using these little shortcuts everywhere is confusing. There is no order in things.

ObjC is beautiful. There are classes, instances, methods, blocks. And everything has its place.

This is a mess, Rails is a mess, most of Ruby code is a mess.

Proceed with the downvotes.
> I'm guessing it's not the language so much as it's a set of poorly designed parser rules.

There are poorly designed parser rules but the namespace operator is not due to that. It's due to the fact that a single PHP file will be compiled to byte code without knowing what the symbols represent until runtime. The separate operator is needed because names are resolved before execution begins and before the symbols are known.

> Also, magically, I can't use empty(functionResult()); but I can say $result = functionResult(); empty($result);

Empty is identical to the not (!) operator except that empty() can operate on undefined variables, undefinted array keys, or undefined properties. empty(functionResult()) doesn't make any sense because functionResult() can never be an undefined variable. You just use !functionResult().
I get the impression that things like email don't happen at all these days.
India was a bunch of smaller countries before John Company came along and conquered it:

http://en.wikipedia.org/wiki/East_India_Company
> In an ideal world, tests would be subsumed by types

It would be literally impossible for this to happen in a Turing-complete language, though, because a hypothetical 'perfect' type system would be able to solve the halting problem.

The Haskell 'Bottom' type alludes to this in its documentation, actually: http://www.haskell.org/haskellwiki/Bottom

(Essentially, Bottom is a member of every type, or else the compiler would need to distinguish between a halting program and a non-halting program before accepting the input program).
I wish Jolla luck. It'd be something if they could pull it all off.
It's because of a media query that responds to wider window sizes, strange that it didn't register in all your browsers (it does on my Safari when I fullscreen)

It's supposed to help readability while maximizing screen use in those cases (instead of either stretching out paragraphs to two lines or centering the body as to take up only a small percentage of the window). I'll change it to trigger on a wider dimension, sorry!
>the ugly beast that is X11

What's your opinion on Wayland? Specifically, how likely is it that the reliability and consistency of the graphical parts of desktop Linux will improve if the applications I use the most are ported to Wayland?
It's the nature of web forums. I run a subreddit, we get 100 uniques a day, roughly. Generally they make about one submission per day, collectively.

I'm told that's a pretty normal rate on reddit, given our size. It's easier to consume than to produce. (nb. People may be producing more elsewhere while not participating here)
> The views expressed here do not necessarily represent those of Ars Technica.
Starting out with Ruby on Rails
Hey guys, as some YC's and other non-tech founders are learning to code, what's the best place / way to start learning Ruby? IS there a mentor-mentee network to learn Ruby?
It's meant to run on a server i think, reducing memory so it's laptop friendly probably was not a driving feature
Aha, that would explain it. I almost never use Safari so its natural size is likely somewhat thinner than my day to day browser :-) I was just over your ~1300ish pixel width.
And you still can, even after this "immortality tech" is available. Nobody forces you, just don't hold the rest of us back when it's time to join the revolution ;-)

Seriously though, you guys are going to die out. You know that, right?
There are tens of thousands upon thousands of people out there right now sacrificing an easy life to save others.

You don't see it on the news because "child doesn't starve" is not a news story. People who do great things are often not promoting themselves because they do these things not for a slap on the back or a congratulations but to improve lives.

I like this guy, usually people do things as groups but he is able to on his own find where he can do the most, moves there until it is done, and moves to the next place.

http://www.wamda.com/coe/video/235835