skysight-inc/HackerNews huggingface dataset:
Ask HN: Any downsides of programming in Haskell?
To anyone who developed a real world application in Haskell, what are the downsides of it?

What is in your opinion more laborious than needed? Are library sufficiently available and documented? Is doing I/O fine? Is working with a DB easy? Please share with people interested in learning Haskell and put it to work in a real world application!

PS: asking for negatives only because I'm very interested and positive about Haskell, but I wonder if I miss some gotchas...
As a former Parisian, now expatriated to South East Asia, what is the most striking in Paris is the ratio between salaries and housing costs. Salaries in France are not high because of the heavy taxations, which has some good effects – free education, healthcare, etc... A 50 square meters in a really not nice area of Paris (XIXe arrondissement) would cost around 1400 / 1500 euros ( USD 1800 to 2000 ). As a rule, to be able to rent this, you need at least 3 or 4 times this amount as revenue, so between 4500 and 6000 euros a month. A little statistics I like : only 3% of the french household has a monthly revenue higher than 4000 EUR. Also the renting market is really not liquid in France, because it is really hard to make someone move out in case they do not pay ( it can take as long as 2 years ). So as a consequence, the selection to find a tenant is hard ( you need people to guarantee you, and more and more often, you need also people guaranteeing your guarantee... )... Crazy...
My favorite mailing list is closed and private (no, I'm not inviting you), and has been running since the 1990s.
Make a PDF/html email (pictures, etc etc) that comes off as a desperate plea for help with a project that you have a ton of passion for, then email it to every support email address you can find. If you can make it seem like they're helping a student, single father, struggling programmer, whatever, it might get a forward to someone who can help.

That's my only idea other than the negativity that seems to have infected HN as of late (or maybe it was just a period of positivity when I first showed up?)
Some more info from the author on the OCaml mailing list [1].

New readers might want to check out the FAQ before diving in [2].

[1] https://sympa.inria.fr/sympa/arc/caml-list/2013-06/msg00101....

[2] http://www.realworldocaml.org/#faq

EDIT: Some more info from the email.

"Release notes for beta1:

- The first-class modules chapter is incomplete, pending some portability
improvements to the ocaml-plugins Core library.

- The binary serialization chapter is also incomplete, but has just enough
to teach you about the Async RPC library.

- The installation chapter will be revised in anticipation of the OCaml 4.1
release, and is currently quite source-based.

- The packaging and build systems chapter hasn't been started yet. We're
still deciding whether or not to make this an online pointer rather than
a print chapter, since it's likely to change quite fast.

- We are preparing exercises per chapter that are not included in this
particular beta release, but will be available online as soon as possible.

- The code examples will all be clonable as a separate repository in beta2."
Using go mode, autocomplete and goflymake helps a lot on emacs too.
Snowden's Dad Speaks Out.
There is a GUI equivalent.
I don't see any point in this. By supply and demand it will just explode prices upward, probably by about the amount deducted. So the poor will have to do more paperwork to keep up yet are those least able to do so, and the rich will get richer because rents will go up. Doesn't seem to be the desired outcome.

The same thing happens with social engineering of tuition costs or health care costs or day care costs or pretty much anything centrally controlled.
A few seconds where he talks about the metadata: http://youtu.be/XDM3MqHln8U?t=1h18m52s
Phased in or decreed universally tomorrow? Free movement of people implemented immediately would mean chaos as millions of people from developing countries rush to developed nations, overwhelming infrastructure and collapsing the unskilled labor market and overburdening social welfare/entitlement programs.

Ignoring the people movement, income inequality would skyrocket, and boom-bust cycles in finance, agriculture and manufacturing would become faster and more severe.
I read somewhere in some other coverage of this reform that the measures were expected to drain about 2% from telcos' revenues. Even if they raise their prices by 5% (which isn't given), that's (a) still a decent deal if you travel ever (but unfair that non-travellers would end up subsidising travellers) (b) quickly eaten up by the continuously falling prices of mobile plans.
Skyscraper is hiring teammate #4 - UI/UX Engineer
I saw a message when I went to write this post on Medium that it doesn't yet support mobile/tablets very well yet for writing, so they've disabled writing on those devices. I'm guessing there are similar issues with reading from time to time, then.
My friend and I created http://www.eulascan.com/ back in 2005 with this same concept in mind. We got some nice writeups, but it never really gained traction and we didn't have the time to upkeep the site; spam weeds have overgrown it at this point. My thought was that people still didn't care enough about EULAs to bother using it or reviewing it.

Generally, we got the most comments on companies that were unliked (Apple, Microsoft), and the reviews became another way to express disgust at a company.

Another thing to consider is the ever-changing terms in an EULA. Your site does not have a version concept, meaning you could be reading reviews on wording that does not exist in the existing EULA.
I wouldn't feed the troll. My family ran away from a country with a planned economy. I'm getting ready to jump ship in the same fashion if they start "planning" the economy where we currently are.
That's an interesting idea, and it's cool that he took it as far as he did, but I'm surprised by the last paragraph:

We're sensitive to data loss in text form: we can only consume a few dozens of bytes per second, and so any error is obvious. Conversely, we're almost blind to it in pictures and images: and so losing quality doesn't bother us all that much.

I'm not aware of any "lossy" encodings for text, but I assume they'd do pretty well on shakespeare and pretty terrible on images encoded as text. It's just that the techniques are tuned for the standard data, so most things you smuggle through are going to be "weird" and suffer more than usual.
Odd: this one was making the rounds a couple of weeks ago as https://medium.com/lift-and-drag/7885a299bca2.
Ha, we should be so lucky. That would just fan the flames of an already kindling fire.
Oooh, this one from the article comments, one that tptacek will be happy about ;) (and it's a good question, to settle):

> Define in as much detail as you can what "direct access" means.
> We need a way to clearly identify non-U.S. based services so we can buy safely.

Remember that NSA monitoring is controversial because it skirts laws (and related public expectations) which restrict NSA's monitoring of domestic communication, whereas the whole purpose of the NSA is to monitor foreign communication traffic in support of US national security interests.

So, its somewhat naive to think that non-U.S. based services are particularly safe.
I wonder if something like this could be used for round-the-world passenger transportation.

http://en.wikipedia.org/wiki/Skylon_(spacecraft)
Touring StackExchange headquarters?
https://news.ycombinator.com/item?id=5889477
So? If I were given the opportunity to work on this amazing technology for the salaries they were making I would have taken it as well.
Here the article forgets to mention airlines as an intermediary. Boeing and Airbus do not manufacture planes for us, they do it for the airlines. Airlines know that to make the most profit they need bigger and more fuel efficient planes over faster ones. And that's why we have them today.

Also, slightly unrelated: http://www.ted.com/talks/rory_sutherland_perspective_is_ever.... One of his points is interesting: if they had spent the billions of pounds on making the [eurostar] journey more enjoyable (by giving out free petrus served by models) than cutting travel time by a moderate amount, we'd all be asking for longer journey times! ... which _is_ what the article is saying: we don't want faster travel, we want more affordable and arguably more comfortable travelling.
I used to live in Manhattan Chinatown. Are those places still around? I ask because even Chinatown is becoming increasingly expensive. I think in most of those "studios" the landlord has cashed out and sold the property for redevelopment. No way that even 20 poor immigrants can pay the rent of a single Wall street trader. Also the city was cracking down on those slumlords because most of them were rife with code violations.
Which clever video was this? Link please?
I believe that the Vancouver real estate market was also affected by overseas investors in a similar way, making it the least affordable housing market in North America.

I think the real culprit was mortgage rules that let Canadians borrow cheap money for long periods plus need for all people (not just foreigners) to engage in real estate speculation. Ever since the Canadian federal govt tightened up the mortgage rules the market has been in a slump. But everyone loves to blame the overseas investors. Also people like to cherry pick parts of Vancouver as indicative of the foreign buying trend like the West Side, British Properties and Richmond but they fail to look at East Vancouver, New Westminister and Burnaby which has decent housing as well, but is not as desirable.

Edit: I'd also like to point out that some properties are priced high, but no one is buying them. It's also a seller's perception of a hot market that drives up prices.
And you're very fond of handwaving it away as mere humdrum paperwork, conveniently ignoring the point that previous governments also did humdrum paperwork. The point is that the government is not paralysed by being a minority government.

And it's not just a small amount more in the way of new bills, it's close to 40% more than the last term of the opposition in power. Even if it's inflated, it's still indicative that they're able to do stuff. Cut the number of bills passed in half and you still have a number competitive with any other modern government.

I mean really, are you saying moves like curtailing middle-class welfare are meaningless legislation? I'm not saying that this government is particularly awesome, but I am saying that the picture painted of them by the media is remarkably off-kilter.
> sent people to their deaths, directly profited from it, and will continue to profit off any future militaristic endeavors the US pursues.

This would remain a valid example of moral hazard even if Cheney had been drafted and experienced combat in Vietnam. The draft was one of the reasons the Vietnam War was so unpopular, avoiding it could be construed as an act of civil disobedience. It's not an essential part of the argument.
Now that flat is [priced at: ed. corr.] about £700,000.

Fix 5d6c334... price/value correction.
Doubtful, but certainly a curious thought. I'm skeptical that actively censoring the media via "hacking" (because DDoS is classified as hacking to them) will bode well for their situation. Still, they could blame it on citizen traffic.
I find the legal stuff mentioned in the article of interest - that a telegram is taken seriously by the judiciary - as if it were given in person.

This is potentially huge.

I suppose there is room for a service that notarizes (something like that, no offense meant to notaries!) messages before sending them in an otherwise very casual fashion, as well as records receipt in a somewhat official way could take it's place. There is still probably room for such a thing/
You need to maintain the fiction of requiring face to face contact, otherwise someone in (insert 3rd world) will simply do the job even cheaper.

Higher residential density would be survivable IF "work at home every other day" was somehow legally enforced. That would maintain the face2face fiction while also increasing density without collapse due to congestion.
I used it a couple months ago for my girlfriend's resume (http://rachelsmuseum.com/).

The big problem is that it does not work at all on small screens/tablets/phones. The resume is not super practical, but I had fun using skrollr! Skrollr can be hard to use if you don't center everything, having a banner on the left was a major source of problems.
The 787 can get up to 100 miles per passenger per gallon. That's pretty good. On par with a 25 MPG car with four people in it.

Until you consider that car needs to drive a non-direct route. And stop and stay at hotels. And get food. And more gas. And all of that too has distribution costs and expenses. And takes significantly longer.

If you really want to take a 36 hour train trip across the US go right ahead. I'll take my 7 hour flight and enjoy my extra day there.
There is a big difference between "true" TDD and simply writing the tests before you write the code.

According to the TDD evangelism I've seen, it means (1) writing tests one at a time, which should fail at the time that they're written; (2) after adding each test, write code that will past that one test while being deliberately ignorant of any requirements that will show up in future tests; (3) refactor, rewrite, etc, as needed as new tests are added.

I suppose this could be meant to mimic how code in long-lived systems evolves as requirements are discovered and changed. Or it could be meant to promote awareness of you-aint-gonna-need it and reduce over-engineering. Either way it also will necessarily cause extreme short-sightedness and err strongly on the side of under-engineering, and in the case of mimicking natural code evolution it would be an example of cargo-cult thinking.
That's misleading. On CO2 per unit distance traveled air travel is pretty comparable to other forms of transportation. The long distances are what make the absolute contributions of air travel to CO2 emissions large.
That would add quite a lot of complexity to achieve something rather trivial.
Essentially a form of Amdahl's Law.

Even if planes travelled at the speed of light, it would still take ~2 hours (an hour and a half to check in and go through security, 30 minutes to deboard and get get luggage). The maximum speedup possible is ((time spent in the airport) + ( time spend on the plane))/(time spent in the airport). That would be ~4x for a cross country flight, and ~7x for a LA to London.
Russia clearly didn't, given the encrypted satellite phone link for Medvedev, but it appears some others did. And now they know better.
No, the airline charge too much for the service. If the service was economically worth it for it value it provided there would be a market for it.
mixed feelings on this. i applaud the idea, but not sure he'll get 200 idea submissions at $25/pop to make it worth the effort. You might get further with $100 one hour initial consultation with a short form report with a summary, observations, recommendations for that $100, then from those, every so often, choose the one you think you can add more value to, then offer a $5k or $10k 2 week "all hands" timeframe to build/execute everything possible. Not everything is possible in 2 weeks, but there's a heck of a lot that can be done in 2 weeks. If the idea/business guys/gals really are on the ball, and the idea's solid, they can take the results of that 1-2 weeks and run with it.
I think even those who are not worried about their next meal are not going to protest this. India has seen so many terror attacks labeled as intelligence failure that any move to beef up the intelligence infrastructure may even be welcomed. The sad thing is that the probability of this data being misused for political reasons is so much higher in India than in the USA.
There are still a few that I'm aware of but you're right that luxury buildings are going up. 138 E Broadway and 55 Hester being two of the newest examples.
Because HN readers have largely been swayed by the endless "nothing to see here" commentary of tptacek et al.
That theory seems awfully simplistic. Or on the other hand, perhaps the whole world is deflationary, because it is a limited resource. So the the bleak future you depict is inevitable.
This will most likely not happen.

European Parliament member Christian Engström has written on the subject that this decision is just one in a row of promised proposals to lower/get rid of roaming charges. He points out that each time an actual proposal has been created, it has immediately been dropped by the same group. The current proposal is intended to be created just at the time the current European Commission's term will be up and next commission can "decide" on the matter.

http://www.aftonbladet.se/debatt/article16919673.ab
I fly Seattle to Beijing enough, there aren't that many people inthe Russian Far East to care.
Just an FYI, encrypting your uTorrent downloads won't stop you getting busted if you are down/uploading copyrighted material.

Regards MiTM attacks, yes they could but then again they always could. It wouldn't be 100% undetectable though since they would have to change the key/cert for sites they wanted to MiTM. Certificate pinning may address this issue in future.
https://www.youtube.com/watch?v=LrObZ_HZZUc
I think the Fibonacci example has been taken to demonstrate use of DP, memoization to be specific. I doubt if it's about the fastest way to solve the problem.
Fake Nerd Boys
it's nice. Lots of compettion in this area lately. Good luck.
Most of those places are gone except for the ones that are actually in the back of a shop or a restaurant. Due to the peculiarities of Chinatown real estate, there are now quite a few buildings redone into condos, sold only to other Chinese people (from China? Flushing? not sure) which are purchased but largely remain empty.
Thank you. I'll start there.
I was pointed to this wonderful website, they are not all specifically European alternatives, but it aids in the search for alternatives: http://prism-break.org/
I agree, but something like the Sonic Cruiser and better acceleration/deceleration profiles so that more time in the air could be spent at something like Mach .99 adds up pretty well.
LAX-JFK @ Mach .85 is 4:24. @.99: 3:47. United quotes 5:25 for the flight.
Starbucks at Berkeley St. in London doesn´t have free wifi, you have to buy credit. I don´t know the rest of the starbucks in London are the same..
And we thought Adobe Flash was bad.
Let's see, flying on the Concorde cuts the transatlantic flight time in half, but you still have to deal with getting yourself and your luggage on and off the plane. So, the time savings isn't that great. The plane isn't as comfortable as first class on a bigger, slower jet. Supersonic or not, it takes a day to fly transatlantic. People that can afford Concorde flights can afford chartered flights, or have their own jet.
How did they ever get people in Long Island (hello, Jackson Height!) to agree having a train rattle by and interrupt conversations every five minutes?
Monday was my 46th birthday and likely my last
RSS of Twitter search results (post api-pocalypse) with Perl
Note that many providers are already active in multiple countries. For example Vodafone has business entities in the UK and the Netherlands, so those agreements should be relatively straightforward to set up.
Rubber Band Babies Enjoy The Simple Things In Life
I currently practice TDD where I work, but this part seems weird to me:

> "Try not to think of the bigger picture and don’t start create classes you think you might need."

You don't need TDD for this. Even when not doing TDD, if you're dividing your work up at all, you will naturally achieve this. It's only when you're trying to build the Golden Gate Bridge in one giant go that you run into situations where you're over-engineering, over-designing, and over-thinking prematurely.

Divide your problem into subproblems and solve them one at a time, this leads to a natural growth in complexity and minimizes poorly conceived abstractions. You don't need TDD for this to be a good idea.

I like TDD, but I dislike how religious it is. Not every problem is best solved via TDD. It's a tool in your toolbox, not a life philosophy. A strict adherence to testing has done wonders where I work (and we test iOS apps, no simple feat in the current ecosystem).
> I live just nearby Paris (in Issy-les-moulineaux) and I do vote for a mayor, just not the mayor of Paris. I also vote for a few local representatives (département, canton and région). Representation isn't a problem, since many projects are handled by the départements or région.

I lived in Montrouge and in Le Kremlin-Bicêtre, so I know what I'm talking about.

Look at all the trouble they ran into when they tried to extend bike sharing outside the Paris municipality. If such an artificial barrier were eliminated and the first couple of rings of neighboring towns were to be absorbed in Paris proper such a thing would never had happened.
The DLP had more success than the Sex Party at the last election, and there's no boorishness in their name... only their policies :)

In terms of coverage, Family First gets more than the Sex party, as does One Nation.
Oh wow:

MP_Stroebele_GER 17 June 2013 3:53pm

Mr Snowden, as a deputy at the Bundestag (German Parliament) who is responsible for the supervision of the intelligence apparatus, I am eager to know if you have any knowledge about information which was given to the German Government or the Bundesnachrichtendienst by the NSA within the PRISM programme. If so, do you know how much and what kind of information was given to them and if the BND knew that it was gathered by PRISM?
Best regards, Hans-Christian Ströbele
(github login required, but worth it!)
Restrictive zoning is too broadly used here for me to agree. Does it apply to some situations? Absolutely. Does it apply to all? Of course not. Cities place such zoning regulations, not "the elite". Do the elite cause cities to do so? Absolutely, in some cases but certainly not in all (or even most?). Some cities prefer "more green space" than others, for example, and thus restrictive zoning is put in place to prevent over-development. You think "too few apartments" is bad? Try "We let developers overbuild during the last boom and, now that we're in a bust, there is 5,000,000 sq ft of abandoned buildings in a 1 mile radius". Many cities/towns work hard to restrict the areas of development so that the city "identity" is not eroded.
Most of those buildings are still considered ugly and time hasn't made them any prettier, trust me.

Aesthetics are for the comfortable. I don't think most New Yorkers know (or care) what the exteriors of their buildings look like. I'd rather have ugly buildings and lower rent so I can save. Yes, I'm a dick because I care about my future more than whether bored rich people like the looks of the city. I live here, I work here, I don't fucking "look at" it because I don't have time and I don't really care. For aesthetics, I go to Central Park. I'd be pissed if that went away. But I don't give the square root of a fuck if someone wants to build a hideous 100-story apartment building (bringing down rents, one hopes) in the Village, as long as they do it safely.

If you want aesthetics, go out to the mountains. It's beautiful and no one is going to build a 100-story eyesore any time soon.
irc.mozilla.org and then #webdev #webapi #b2g #developer and others. Keeping the web free and open to all ;-)
It's not just CO2. Contrails have their own warming effect, and then there is local air pollution by airports.
Why can't he use the automatically differentiated leading underscore test?

The go tool currently ignores all files with a leading '_' in the name. Changing the tool to use a file with the name '_test.go' complicates the rule for ignored files and might break an existing project. The workaround of using 'all_test.go' is not onerous.