skysight-inc/HackerNews huggingface dataset:
> As usual in these threads about Go, I really wish people would consider Haskell as a nice alternative. A lot of people write Haskell off as "academic" or "impractical", which I feel is not an entirely fair assessment.

As someone with 10+ years of programming experience in the industry but no formal college education, I see the problem with Haskell (and other, similar functional programming languages) that in order to fully understand the language, you need to understand its theoretical foundation. Same goes for monads, combinators, etc. Without understanding the theory they're based on, it's impossible to use them and also hard to read programs that employ them.

The theoretical foundation of Go on the other hand is much smaller, and way easier to understand, especially for people without a formal CS education.

So, yes, I admit that I don't "get" Haskell in all its glory, and I'm not ashamed of it because I know that most people in IT don't and that's why it will always remain relatively obscure even if its approaches to a number of programming language problems are technically and theoretically sound.
I first learnt about google from this post in tasty bits from the technology front: http://tbtf.com/archive/1998-05-11.html#s08

Hard to believe they only had 25 million documents indexed then.
As far as I can tell, the original report doesn't actually say whether there's no Cache-Control header at all or whether it set to max-age=0.

I would still argue that caching a POST response with max-age=0 (and no max-stale) is a bug because, while the standard technically allows it, it also technically allows the client to immediately invalidate it and immediately invalidating is the saner choice (at least, it's the choice that is going to break fewer websites).
and did you cache maps before going offline?
Yet it only really address part of the problem. AFAIK, right now pypy is a memory ogre that would not fit on a mobile. If someone with Pypy knowledge would enlighten us about if it will ever be possible to run it on a 1 GB mobile phone or a tablet ?
As Online Courses Grow, So Do Cheating Websites
I'd love the possibility to add aliases for certain applications.

On my (Danish) Galaxy S3 the calendar is named "S-Planlægger". It would be nice to just be able to type in "cal" for it to start.

Aliases for specific bookmarks would also be nice.
> You can't charge for something that the user can just build themselves for free.

Why not?
The bigger issue is Ubuntu isn't a product. It's a nice community layer with some high level project management spearheading the direction and a team of core developers adding nifty features. If there is paying for the product then how is that money distributed to Jack John Johnson the guy doing patch fixes on his free time because he enjoys it. Does he get a salary? Some kind of financial bonus? Then you've got the issue of the lower level aspects being a very large part of Ubuntu, is the money in part for them? They're as much the product as Ubuntu One is.

Donations work fine, thats how the community keeps going. You're paying the Ubuntu high level team to continue what they're doing and helping cover the costs. If you like what Ubuntu does, go donate. If they're looking at 3rd party affiliates then maybe they're not getting enough donations, maybe they've been approached and think it's a good fit.
Not at all, I think they're insane to think their users will put up with ads. But the amount of revenue from people willing to pay is insignificant. Another way is needed.
Centos does the same, isn't Redhat making money ?
I talk to the same people on the bus every day, it's been 4 months now and it's fabulous, I'm never bored!
You could just as easily get zapped with a "potentially-lethal 340 volts" with Apple's cables. Notice how that fake charger has a USB port to allow you to connect your existing iPod or iPhone charger cable to it, including a genuine Apple cable.

(I suspect that the chargers with integrated micro-USB cable are, for the most part, quite a bit safer due to not imitating Apple and having plenty of space. I actually took a dirt-cheap Chinese 5V supply apart a while ago because it had died - proper controller chip and all the works, good half-centimeter of isolation between high and low voltage, slot in the PCB along the part of the isolation boundary where they're closest, etc.)
May I suggest you take a look at Make: Electronics, Making things talk, and Making things see. The Make folks also have a set of smaller books: Getting Started With Arduino, Getting Started with Processing, etc. These books are written in a very accessible manner (though not necessarily comprehensive).
The iOS updates needed for the iPod touch > iPad jump where minimal. It was such an obviously good idea I like many people was surprised to took that long.

PS: iPod touch was released 2007, iPad was released 2010
Another person who didn't read the whole article? ;) Near the end he mentions RAII in C++, with in Python, and using in C#.
On a similar vein, of that photo essay about what the world eats: http://www.time.com/time/photogallery/0,29307,1626519,00.htm...
This breaks down when the method you call has no return value other than an error. In that case it is easy to forget.
Here's a post about what data sources Apple is using: http://mobile.theverge.com/2012/6/11/3078987/apple-tomtom-op...
Am I just blind or where the heck are those ads on Ubuntu? I use it exclusively all day and I just cannot find ads anywhere (other than on websites in the browser, but that's not Ubuntu's fault).
Webinar: Step by Step Guide to Going Agile
If by a handful of US cities you mean 500 cities around the world, you are correct:

http://www.google.com/intl/en/landing/transit/

Millions of people relied on transit directions from their iPhone every day.
Why does Chrome think that "This page is in Malay"?
I want a Python environment running in Chrome NaCL.
Entering a new field is a fun experience. You start off by thinking "Wow, why has no-one done this before?" Sometimes, you've hit a new idea, and become a pioneer. Sometimes, you find a few similar attempts, but are still in unexplored territory. But what often happens is that you find there are entire conferences dedicated to the idea, and you simply hadn't heard of them. The world's a pretty big place, so this happens a lot.

Google for "program comprehension tool," and you'll see there's no shortage of tools to help people read code. Rather than create another one, someone should really just look at a bunch of those and create a "Top 10" list.
I know it's different, I specified their status. and I have been to Transnistria, so I know how it works there. Also, even the break-away regions behave differently themselves when it comes to their own recognition - f.ex. Transnistria doesn't stamp your passport and on the Trans./Moldova border you don't get an entry stamp of Moldova either (because, well, formally, you are in Moldova), while Karabah gives stamps and with that stamp you can't go to Azerbaijan (my friend was denied entry).
Looks useful. I've been well aware that google tracks everything I search for but I still don't like it.
gem install kicker

https://github.com/alloy/kicker
I don't believe that's possible. Looking at my Thunderbolt cable and ports, I notice: 1) The cable is not reversible. It's a shaped barrel to fit one way. 2) The cable has many connection points (I think I count 10) above and below the inside of the barrel at the cable's end. 3) The inside of the cable is an innie and the inside of the port is a outie, opposites of Lightning (Lightning doesn't have this shaped barrel thing going on, the cable's just an outie with connections on both sides, so the port's just an innie.)

And I also know from other reviews that Thunderbolt cables aren't just powered with electricity, but powerized (?!) with processors at each end. My fingers suspect this is true because the ends get damn hot.
1. I don't, but that's an entirely different story.
2. Sure I can :) Usually this means deferToThreading with things that release the GIL, sometimes it means multiple processes, both of which have quite good tools in Python. Not that they can't afford to be better, but I've never thought "man, the GIL is really holding me back now" -- despite having dealt with projects that are almost entirely about heavy computation.
If you use C++ without exceptions, it means you cannot use the STL or any library that throws. Pretty weak.

Additionally, almost all examples of "exceptions are bad", fall short because of RAII (at least in C++) or finally clauses (in other languages).

Good reasons for (almost) not using exceptions (in C++):

- Performances

- "Expectability"/readability

- Platform-dependant constraints

There are probably others, but the article only talks about the "readability" arguments without even mentioning things such as exceptions specifications.

One thing you need to remember about exceptions: they're nothing more than a fancy goto.
I switched to Linux Mint Debian Edition a while back. Cinnamon is a great desktop. Don't miss the steaming pile of Ubuntu. It was great while it lasted, but then came Unity and now they're hitting us with adverts? I don't get it. Seems like they're trying to kill demand.
Or summarized: people will argue in favor of and cheer for whatever is trendy that day.

We should not fool ourselves, we live in a bubble - the outside world is mostly boring Windows XP business desktops, Android smartphones, and Nokia featurephones ;).
I think I remember using this at one point--just choose it at login?
what about most webserver, middlewares, web programming languages, databases, etc?
Java world -> Aren't checked exceptions just error codes that use types instead of arbitrary values and compiler gaurantees?

And wasn't the thought that checked exceptions would be better for critical code because the compiler guaranteed that they were handled.

I'm no fan of java's error handling, but I think that the insinuation that the lack of any formal error handling makes you write less error prone code is bordering on the absurd.

Detail oriented individuals write robust code given the constraints of their environment. If its arbitrary strings that indicate error state they use strings if its integer return codes they use integer return codes.
$10/month usenet

$29/month online developer training courses (Pluralsight)

$20/month web hosting (old school apache shared hosting with unlimited domains)
This seems to be a post in response to Canonical's plans to add amazon ads to searches in your home lens.

See: http://www.omgubuntu.co.uk/2012/09/online-shopping-features-...
There's also the option of doing it on an explicitly tagged union, Erlang-style: `something` returns not `Value` or `Either(Error, Value)` but `{ok, Value} | {error, Reason}`.

This means you can handle the error:

case something() of
{ok, Value} -> %%;
{error, Reason} -> %%
end

or you can "ignore" it

{ok, Value} = something()

but (and this is important) the latter *will not pass silently if `something()` returns an error.

Instead, it will raise a "BadMatch" fault, similar to an Haskell-ish

let (Right value) = something()

where `something :: Either a b`
Right now memory usage is pretty bad. But mind that tablets and phones will have more and more memory in the future, while at the same time, very smart people are working at improving PyPy. I'm pretty optimistic in that regard.

After all: If it's possible to get JS JITs to fly on mobile devices, which it is, why not Python? I really see no structural problems.
Worth reading just for the link to LINQPad http://www.linqpad.net/ which I had previously not been aware of - but read http://blog.filipekberg.se/2012/09/17/use-linqpad-for-more-t... first
Are Wet T-Shirt Photos News? Hustler thinks so.
What targeted advertising means, apparently, is that if you look up Warby Parker once to see what they do, you'll get nothing but Warby Parker ads for the next month. I'm getting so sick of empty eyeglasses staring at me, you can't even begin to imagine. If that's targeted advertising, you couldn't hit the broad side of a barn with it.
I've thought about this a bit lately. With increasing surveillance and sensors everywhere, we're feeding more and more details about human behavior into the cloud, which is stored, data-mined, compressed, various statistics are derived and used in all kinds of ways. Let's say this, over a long time, is equivalent to learning a input to output mapping of the human mind and humanity as a whole.

Combined with the current focus on markets, profits and efficiency, this does not bode well. One could arrive at a complete humanity simulation (without even intending to, just to optimize stuff, there is nothing inherently evil or unfriendly). It will eventually become so good at modeling us (at least, humanity as a whole), that wasteful, inefficient, cluttered actual humans aren't needed anymore.

At the same time we're becoming more and more dependent on the external information processing. There will be no terminator-like war with strong AI. We'll be unable to live without it. We'll just fade away, on autopilot, as we matter less and less, brain function after brain function better handled by computers. It's a bit of a dark future vision, at least compared to the "individual mind uploading and living forever" of the singularity optimists, but I have a hard time getting around it.
That's his point: why do you get something typed as float back when there's an error? And what does that thing mean?
Ask HN: What are the major obstacles for the Tent social protocol?
The Tent protocol for decentralized social networking (tent.io) looks very promising, but so were many technologies that never made it. What do you think are the main problems that Tent has to solve to become a success?
There are no ads. But if you use Ubuntu to search for stuff, and it searches for stuff and shows you the results, then some people seem to want to call those results "ads" where they represent products that you'd need to pay for to obtain.
and what about a _working_ noscript, ghostery or torbutton for chrome? good luck. chrome is not even playing catch-up.
Google has a whopping 7,100 people working on Maps alone
How to Build a Recommendation Engine
No mention of Apple maps? Hmm ...
Elastic COBOL: COBOL in the cloud
The freedom we got was a by product or say side effect of computing pheonemenon rather that we actively sought it. I don't think people en masse would like the freedom right now. Most of the people will be happy with the service vs. privacy-freedom compromise we are getting today. I don't want to belabour the point of Google as service and Apple as service.
Who am I handing my data over to? I can't find this anywhere on the site.
Hacking the future (The Internet will be just fine)
Interesting. I usually add images to post to help break up the text and make some mental connection between sections that I am talking about and a picture.

So Q. Is the problem that the images are stock images? Or is the issue that there are images?

Wouldn't just a bunch of text and no images make it much harder to get through the content?

Not arguing one way or the other, just curious on thoughts on this.
Where? I clicked the gear icon and there's a section called "adjust sources" but it just has a text box with a plus icon next to it. I tried "adding" wsj.com in the hope I could block it after adding but nothing happens after I click the plus button.

It's a pretty confounding UI really. It makes me feel lost and confused and bad about my life in general ... :-(
If you're a company working at the scale Apple does I don't think there's anything stopping from integrating the driver and switching hardware for MHL onto your main SoC.
'Secret Footballer' reveals life inside the English Premier League
> Common Lisp has an interesting exception system

Called "conditions", fwiw. Smalltalk has a very similar system (the main difference is in the declaration of restarts)
Before the Equity Crowdfunding Foray Begins
I am trying to do as much of my code as I can in emacs, and I am using Eclipse for java.
Ask HN: How do you market/promote a school?
My startup is a school/academy. I'm in the process of starting a school in Mumbai for web development similar to the Starter League.

I wanted advice on how to acquire students to sign up for courses in my school. Not surprisingly, there isn't much written material about marketing schools, so I thought I'd ask some growth hackers here.

http://geek-league.kickoffpages.com/
Why You Care Less and Less about the iPhone
But would he accidentally erase it?
Posted a few days ago: http://news.ycombinator.com/item?id=4547992
Well, I've heard of many people saying (and I still go to school, so my survey is kind of relevant) that they 1. have multiple accounts, like for games or 2. are bored by facebook/ annoyed by the stream of useless stuff, or even 3. simply hardly ever go online (as in, measured in weeks, or months)
The thing RedHat sells isn't the OS itself.
I can't speak for the rest, but pygame is trivial to get running on multiple systems, so I don't know what you're talking about in that regard.

I've heard pretty bad things about pyogre though.
I can already hear our customers ordering page enhancements that show an arrow or a bubble pointing somewhat in the direction of where that FB button should be in the current visitors browser.

We know that problem with the "Add page to your home screen" button. Of course, it has to disappear when the user opens your website from home screen. And god forbid Apple changes anything - like releasing an 8" tablet.

If we'd always get what we wish for, live could be so easy. And boring, probably.
"40% of searches online are people simply looking for what they have already seen before." - How did they calculate this statistic?
Generation of Music Using Pure JS and HTML5
Huge media repository … and it is free
For web dev (not game dev) what is Python in danger of losing to? Rails?
I think they are focusing on the positive, not the thing everyone's complaining about. Other publications seem to have covered that rather well.
20% more than the iPhone 4S managed. (iPhone 3GS: 1,000,000 orders, iPhone 4: 1.7 million, 4S: 4,000,000 sales (all first 3 days after release)) After filtering out the inevitable Apple PR hyperbole, I can't work out whether this is good (largest iPhone numbers ever in 3 days after release!) or bad (terrible fall off in growth rate of 3-day iPhone sales after release!). Take your pick :)
Currently in the same position. I am only 22 and still studying in university about computers, but I have not touched to vim now for 3 months even though I used to write few hundred lines of code everyday as a hobby since i was 15 or something like that.

Most likely my dilemma is that I seem not to be able to decide where to specialize and programming alone has become quite boring. I kinda want to do everything and can not decide which is the most fun of games, web, mobile, desktop or security.
I think every developer faces the same problem at one point. What helped me personally was actually working less and find new hobbies (that don't involve computers), and one thing in particular: running. It's hard to keep your enthusiasm at a high level if all you see is work - despite the fact that you might enjoy it. Go out, meet your friends, eat well and excersize.

EDIT: Recently I was attending a startup meeting and there was this video, where one developer said Sleeping and eating are overrated. What a load of crap - following this advice is the best way to burn out. We are not robots.
A personal anecdote:

As a mostly self-educated programmer/overall geek that married a girl who's now unemployed after studying 'social science' (Is that a word? A subject? That's what Google translates the German term to, which seems a little to literal to be 'right') for a while and then finishing 'History of European arts' / 'German literature' I confess that I sometimes have these thoughts myself.

Worse, SHE has the same thoughts by now. She recently (and slowly) started to learn Python, because she thinks this stuff is so much more applicable/useful, where applicable/useful is measured via 'in demand'.

We're the textbook example of having books covering programming or sci/fi, fantasy stuff (mine) and Real Literature (tm) (hers). But _she_ is feeling useless and probably would love to change history to change career.

So next time you see these rude people I'd like you to think of a totally non-representing story you read on HN and consider that these people might've adopted that opinion (at least in parts) from the demographic they judge in your view. From a wife, a friend or a dozen professors-turned-taxi-drivers that complain about their own field and the lack of jobs, of demand and the feeling of being useful with their education. It's a broader problem than people being judgmental about fields other than their own.
Ask James: How to Make a Million Dollars, and More
ServiceStack: new REST API for .NET/Mono
I wanted to quit computers several times but always gravitate back to them eventually. I even did a whole masters program in economics to find something different. I personally am just the type to cycle between workaholism and hedonism. After putting too much into work I get really appalled by it and need to spend time travelling and just generally living life. Every time I spend 6 weeks not working I have a burning desire to do and learn again. Maybe you just did too much.
The hardships of travelling are vital for me because at first everything is so great and you really need to do it until it isn't anymore. Eventually you will long to get back to your passion.
And if you want to see what that looks like from a Fedex angle... http://www.cultofmac.com/192038/look-at-all-these-iphone-5s-...
Jesus Christ how horrifying
If you want to play this game, then sure: Mark my words, Google+ will never replace Facebook. When Facebook declines, it will be due to genre-fatigue, not unit-fatigue.
Trust Matters: III
Personally:

* £10/month Spotify

* £6/month Netflix

* $20/month Linode

* $1/month S3 (backups)

* ~£30/month Steam (not a subscription, but I spend a lot on it)

My company:

* Hipchat

* Basecamp

* Adobe Creative Cloud

* Typekit

* Nexmo

* Dropbox

* S3

* Linode

(OT - Is there a way to make multiple lists nicer?)
What? Since when has charging customers not been a business model?
I have mixed feelings about this essay.

I found it honest and from the heart. I also found it a bit naive and subtly petulant. The author seems convinced that being a political liberal is the essence of being a true dissident. Students are judged by whether they are actually rebellious and morally brave (promoting liberal thoughts), or simply cardboard-cutout kids (admirers of Patton, Lee, and such).

Okay fine. I don't mind the author expressing an opinion. But then we hear about other professors who are libertarians, and they are condemned. I'm left with the feeling that the conservative atmosphere of the college is bad, the libertarian professors are bad, but the liberal professors are encouraging true free thought.

I think we lost our way here.

But most of the essay, where we observe the kids interacting and the author makes observations on the culture? Outstanding. I enjoyed reading it.
Iran blocks GMail, Google
I think the reason is that IT is no longer a component that has some limited purpose in various professional and personal aspects of life. IT is quickly becoming the platform for everything else. As such it is going to be regulated just as strictly as banks or utilities.
Can hardly wait till they, and everyone, drop all versions of IE altogether.

IE. Inept at best, it's the worst browser on the planet and holds back the web. Please do NOT use IE.
a similar thing using hardware had happened in the 80’s with so called ‘dongles’, typically for expensive programs such as CAD software

I can think of at least one software package which still uses physical dongles.
Weekend Project: DDPClient.NET–.NET client for Meteor’s DDP
A little outdated but still has some useful tips in there.
IMO the largest competitor for new developers would be Node.js, and for existing developers would be Go