skysight-inc/HackerNews huggingface dataset:
Yesod is designed to try to replicate rails style frameworks, which as an approach, doesn't work well in a static language. It is also designed to try to hide any traces of haskell. Rather than provide a framework to write haskell code in, they use quasi-quotation to provide a bunch of totally different syntaxes for different parts of the app, which get compiled to haskell behind the scenes. Most haskell users prefer to write haskell rather than specialized, single use languages with limited functionality and poor error reporting.

Then on top of that, the marketing behind yesod is essentially deliberate mis-truths that suggest weaknesses in haskell which do not exist. See how pilgrim689 thinks that the EDSL yesod uses for routing "gets you type safe urls"? Type safe urls are also available in happstack and snap, but written in haskell rather than a weird custom pre-processor language. The EDSL is just giving you a different syntax (and making error messages complex and hard to understand), not giving you the type safety. Pointing out that creating custom languages that are inferior to haskell and have no benefits is bad results in whining of "stop picking on yesod just because we use extensions, everyone uses extensions!", despite the use of extensions never being brought up.

As for more information about web frameworks in haskell: I've tried all three and can give you my thoughts. I ended up using snap, so consider me biased when reading this. Yesod is rails-like in that it pushes a misinterpretation of MVC on you that encourages writing redundant code. Happstack and snap aren't really frameworks in that sense, they don't say "give me some code following my conventions and I'll run it", they say "here's how you get access to the request, have fun". More like libraries than frameworks.

Yesod's DB access layer they provide is of the "dumb everything down to the lowest common denominator" variety, except that it adds even more limitations beyond that. So you end up having to use something else that is not integrated at all. Happstack and snap don't provide a DB access layer, but do provide integration with several DB libraries off hackage (hdbc, haskelldb, postgresql-simple, acid-state).

Happstack has the best documentation of them, and it and snap are very similar design wise. Porting an application from one to the other is pretty straight forward. The only reason we settled on snap instead of happstack is that snap includes a development mode that works well, and happstack does not. Meaning with snap you just change your code and it picks up the changes, recompiles and reloads it automatically, and shows you any errors in the browser when you refresh. With happstack you either need to work out your own way to deal with that, or keep recompiling manually all the time.
Yeah the class is taught every year and I've tried to let the new students know about the apps. Downloads are still increasing so hopefully it is the students using the apps.
Lispers and Smalltalkers would tell you: Maybe, if you're lucky.
You wrote an excellent comment. I just want to point out something ... given that your kids are in college now, you had kids at least 15-20 years ago. Are "things" fundamentally different today?

Growing up, I had no doubts in my mind that I wanted kids. Today, I am confused. By the time we have pay for rent, student loans and "basic" expenses, it doesn't seem we have a whole lot left over to retire. And this is WITHOUT having to pay for kids. More than likely, we will take the plunge - just biological needs and such - but it seems like one of those times you know you are shooting yourself in the foot.
If Google or a future holder did sue an open-source project for the infringement of one of these patents, how would this pledge hold up in court?
Some very basic background from a famous patent case (Diamond v. Chakrabarty):

"Anything under the sun that is made by man [is patentable] . . . . [T]he laws of nature, physical phenomena, and abstract ideas have been held not patentable . . . a new mineral discovered in the earth or a new plant found in the wild is not patentable subject matter. Likewise, Einstein could not patent his celebrated law that E=mc2; nor could Newton have patented the law of gravity. Such discoveries are manifestations of nature, free to all men and reserved exclusively to none."
In practice, developers are usually ‘power users’ that adapt the system to their liking, i.e. don’t use the defaults?
Looks great!

A couple of things:

1) The blue background in the "They are already in" section of the website is flickering on my laptop (13" non-retina MPB).

2) Why do you need so much information from my Facebook login? I understand Email and profile information, but why photos, status updates, and friends' profile information?
IMO, from having studied this for many, many hours over many moons, is that what Apple is trying to do is fundamentally hard, if not entirely unfeasible. They're trying to replace a smart server with one that's dumb as a doorstop. More specifically, they're trying to emulate a CRUD web service with a file sync engine.

Having dug through iCloud's underlying structure, I can tell you what they're doing is very close to what Microsoft's Sync Framework does - right down to the naming of some of the columns in the underlying database.

In fact, if I didn't know better, I would think it was a peer implementation of the Sync Framework (which considering the iCloud server is hosted on Microsoft Azure which has native support for Sync Framework built into hosted SQL Server, isn't too far fetched).

The difference is that Microsoft's Sync Framework seems to work.
This is my first reaction too, but then I must remember that it's free to publish in Nature (and Science, et. al.) because of their massive readership. I don't think they'll go anywhere for a long time, because people will always want a prestigious place to put their research.
For me it's the little things. I use the keyboard constantly to move around my code. I switched to SublimeText2 for a couple of days and the 1 second of added time it took to move my hand to the mouse to move around or use a gui interaction really slowed me down. It really surprised me how that little bit of time was just enough to break my flow. So when I say vim makes me faster, I mean that it itself is fast enough to keep up with my train of thought.
Big data - big problems
For a time, I was working on gathering some good data on keyboard layouts. I wanted to work out which keys were commonly available, which weren't, and so on. I wanted to work out which characters were the most "i18n-friendly" for developers worldwide.

One day, I happened to take a programming class in Brazil. I noticed that a lot of students were simply switching their keyboard layout to US English in order to write code. I ditched that project.
| There is also a 300+ Gbps DDoS attack
| making use of it right now

I have yet to see anyone state authoritatively that DNSSEC is being used in this attack. Could you provide a reference for this?

If this attack right now is able to reach 30x amplification without DNSSEC, then what's the point of of decrying DNSSEC amplification as a huge issue?

Other discussion: https://news.ycombinator.com/item?id=5451299
> ... just because there are some poorly reasoned papers in psychology it does not follow that all psychological research is quackery.

Your words, not mine. Psychologists aren't quacks, they're perfectly respectable pseudoscientists, and there is plenty of research in the field, some of it first-rate. But no amount of research can turn a field into a science unless the research leads to the establishment of theoretical principles. This is something psychologists famously avoid.

Once psychologists start shaping and testing theories, and agreeing on basic principles, it is then that they will have crossed the threshold of science. Once they move beyond description to explanation, then they will have crossed the threshold of science.

Once psychologists rely on scientific evidence instead of votes ... All the conditions that were added to, and removed from, the new DSM-V, were decided -- not by evidence -- but by a majority vote.

Scientists let evidence rule. Psychologists let committees rule.

Imagine if real scientists behaved like psychologists: "Is there life on Mars? Rockets are expensive -- let's vote!"

> Could you address this paper specifically instead of tarring the entire field?

I didn't tar the entire field. The Stapel Affair investigators tarred the entire field. I merely quoted their reluctant conclusion.

More on this topic: http://arachnoid.com/building_science
Your Content Marketing program in 9 Steps
> Core Data objects are not NSObject objects.

Well, they are; they inherit NSManagedObject, which descends from NSObject. It's true that model objects need to follow a bunch of conventions, but that's by design.

> Core Data merges the concepts of your on-disk model with your in-memory model

That's a feature. I rather like how it forces you into rethinking your design.

From your other points it sounds (mind you, sounds, I am not judging) like your app was the wrong fit for Core Data. It's not a replacement for a full-fledged SQL RDBMS and was never intended to be. Core Data works swell for its intended scope.
I believe this is a hoax and a waste of energy on part of the poster. there is no evidence to support such a claim.

If a large part of the world adopts bitcoin and the protocol proves itself, the US would be shooting itself in the foot to not participate or try and control it.

This person also posted it on a very new reddit account (less than a day old!).

http://www.reddit.com/r/Bitcoin/comments/1b6nmq/bitcoin_to_b...
Anyone who wants to pay their taxes...unless they enjoy wasting money on currency conversion fees which frequently exceed 5-10% of the amount converted.

Governments already know how to deal with foreign currencies: they simply make you convert your foreign-currency-denominated income into the local currency for purposes of calculating taxable income.
Makes sense. We'll check it out, thanks.
You should include Quizlet.com in the student resources section.
Thank you! We'll get this modified and re-tested.
Writing Hadoop Map Reduce Jobs In C# And Querying Results Back Using LINQ
And the energy industry shouldn't be allowed to manipulate politicians?
I think that's genius! Languages have parallel syntax structures in common, more often than anything else!
im not a PHP nazi, but you can't compare PHP and a framework
Well, mobile games use the GPU all the time, I don't see why web apps can't. Browsers could prompt before using it, that's what the BlackBerry PlayBook does.
Don't be so hasty. As others pointed out, caching often plays a factor on larger projects. A degree of portability provided by ORMs is nice (test mode hits SQLite, prod is pg or mysql, etc). Also, the readability of ORM-oriented code shouldn't be overlooked, especially as new people come in to the team. Two or three expressive lines in ORM vs 15-20 of nested SQL hitting weird tables names and aliased column names and such isn't easy to decipher the intent of (especially when there's a problem).

I typically use ORM for about 95% of a project, falling back to a few explicitly native SQL calls when performance can be shown to be a bottleneck in those locations.
My main reason would be not having to set up my computer for development. When you're new to an ecosystem it can be super painful to get set up.

Example: I use Python a lot, but had never used it with MySQL until yesterday. I had MAMP installed and I just wanted a Python package to run queries. I tried to install MySQL-Python, but it couldn't find mysql_config. So I find it and update my PATH. Then it can't find some files. I google it and it turns out MAMP MySQL doesn't include some parts and I need to install another version of MySQL to make it work. It works now, but the MySQL Workbench export/import feature isn't happy with the MySQL version number.

Especially since many open source projects are compiled from source and have many dependencies I'd love an environment that just works.
NATO opines on cyber-attacks -- Stuxnet was an act of force
> "Why shouldn't we live in a free society where the best within us can make a difference, and take humanity forward?"

Our free society lived with the alternative. And they collectively decided "the right to be defrauded is a false liberty, this is no the way forward, let us try another way."

And you know what? We've moved further forward, faster since these regulations were put into place. When people have trust that they're not being defrauded, they participate in the market to a far higher degree. When companies don't have to compete against charlatans, don't have to balance every dollar of research with a dollar of trying to educate the public about what is and what is not medically sound, they invest far more into their research efforts.
The US produces 22% of the world's GDP. There's nothing despicable about consuming what you are producing.

What is despicable is people who think they are entitled to the labor of others for free.
FWIW, Cap left the company 18-24 months ago. From looking at the quantcast information (now blacked out), it seems traffic started to fall when Facebook changed their policy around content syndication in a users newsfeed.
*per se

I can't speak to Excel integration, but I think people are doing that.
That document came out over a week ago and it creates regulations.
So we should treat every physician, researcher and patient as guilty, incorrect or foolish until proven innocent, correct or wise?

However, there are plenty of cases where highly trained well meaning doctors caused massive suffering without benefit to their direct patents.

No one is omniscient. The ideal in medicine can't be something impossible (i.e., medicine that cures all ills and everyone, and never has any risks or side effects). No one knows how to do that (now and for the foreseeable future), and we shouldn't deny people the best chance they have at life to chase an impossibility.
Trampolines in JavaScript
The web just got a thousand times more exciting.
I think someone took The Unincorporated Man a little too seriously.

The reason that we don't allow people to sell shares in themselves is because it will inevitably result in indentured servitude, or even de facto slavery.
I really like the look and feel of your frontpage! The "retina ready" badge on the right side made me chuckle.. ^^
Numbers in Action
Your location field when signing up barely works at all and doesn't have instructions that are helpful. I've searched for at least 15 combinations of Philadelphia, PA United States and every time it comes up with nothing.
NO - unless you have lots of money then go ahead. But if you are one guy building stuff on your own? I think it is bad idea and it is most likely all your projects will fail.

I guess if you have help with those projects, and you are contributing to them maybe it could work? But I doubt it.
> They're not going to rebuild what Google did and I'm not seeing them using, I don't know: Cassandra, Hadoop, etc

There is a non-zero amount of irony in your bashing of Java then picking out two projects that apple isn't using, but you apparently think they should but using, which are both written in Java.
Closing the loop between your customer data and your email data
> Wait, so are Software patents acceptable but patents on mathematical algorithms not okay? Where is the rational in this?

Compare to other fields. Patents on drugs are allowed, for example, but patents on the laws of chemistry are not. Patents on mechanical devices are allowed, but patents on physical laws are not.
Openweathermap to Google-Weather-Api
You are maybe in the same situation: You have a lot of Projects already (or still) using the Google-Weather-API, but they shut it down. So instead of rewriting the Projects I decided to do a quick Converter from Openweathermap for my Projects. And share it :)
A Thor style pure kinetic weapon was supposed to impact at around Mach 10, but this is a scram jet and as such should be able to maintain a significantly higher speed. Granted it's unlikely to maintain that at sea level, but it sounds like it impacted the water reasonably intact and so could probably do a powered dive. Also, around mach 9 is the break-even point where high explosives have more kinetic energy than chemical energy so even if it hit's at say mach 12 that's still a lot of energy.
As a highschooler, I am a huge fan of Quizlet. I use it almost every week. The thing is that I'm trying to encourage people to share and submit the software they've built to address their own needs, rather than simply build a list of cool edtech software.

It's more about inspiring others to build, or share what they've built, than collecting the tools of existing and established companies.
From what you describe you have a defective phone, you should get it replaced, your experience with your phone freezing isn't typical at all. My Nexus 4 has never once froze on me.

Also the Play Store has a default option called "auto add widget"[1] that adds a shortcut to your home screen of any newly installed app, I personally hate that default behavior and always uncheck that option.

Is that all you could come up with for UX annoyances?

I personally think the experience on Android and Jellybean in particular is first class, if you just take things like the notification shade, the intents system and widgets, the UX on Android is unmatched.

[1]http://howto.cnet.com/8301-11310_39-57471256-285/how-to-stop...
When a victim texts BEFREE, he or she gets connected to a trained NHTRC staffer working the SMS channel 24/7. Staffer works the case and provides resources through Chatter for the center's existing SFDC instance, ensuring the new short code is well integrated with their existing toolset.

Twilio, Salesforce, Thorn and Polaris are all raising awareness about the short code through a number of marketing channels, but as with anything important, any one calling attention to the story and the issue helps.
Thanks for the thoughtful reply.

I share some concern about Apple, but less so in this "post Apple" era (Google, Samsung, up-and-comers from China).

On asm.js, the subset is verified at parse time and also as needed at link time, so there's no taint of "full JS" -- yet. We do expect the heaps to cross-connect, and want that. It won't make the parts of JS you dislike live much longer, from what I can tell.

To be perfectly candid, my goal is to evolve standardized JS, and therefore its implemented and widely distributed VMs, to be a good multi-language target language (and runtime).

This is eminently doable and closer than many people think. If it succeeds, then JS-the-handcoded-source-language can live or die on its (as evolved by then) language merits, and I won't cry if it dies.

But I wouldn't bet on its fan base dropping it even if they can choose other languages.

/be
So who do we have to pay to get this turned on by default, instead of behind a flag?
I came here to say this. I don't understand why some of the development community likes to act like .Net doesn't exist....

It pains me to see charts and reporting done like this while leaving out my favorite framework.
The quoting article spins the article quite differently than the source, which had a "things aren't so bad" message.
Also there is no way to delete my account.
I agree... Let's see what the numbers show for Mono, and on Windows.
wow, these results and the performance of go is making me consider rewriting my tornado app again. I just put off doing it in order to build more stuff in to the python version. Maybe I'll reprioritize.
for me it works - even though it is very slow...
Guess it should be clear that it works only for places other than United States
HTML5 and all the surrounding technology is very exciting IMHO. They have the best tools and are quicker to adapt new techniques because of they get to work with a net (the fact that they can rollback quickly if needed). I get a little jealous when I see how quickly they can get something up and running that would take me a few days.
If only the loosing party have to pay for all the legal fees.
>And let us simply draw the curtain of charity over the Cake PHP results.

Something about that phrase "Let us simply draw the curtain of charity..." resulted in an immediate spittake. Coffee everywhere.
> Since the value of children vis-a-vis retirement planning is no longer as significant as it once was several centuries ago

It's just as significant as it always has been--we have just decoupled the relationship and created a free-rider problem in the process.

Every scheme of retirement depends on the existence of successive generations. That is true whether you're talking about traditional societies where children take care of their parents, or modern societies where the childrens' generation makes payments to the parents' generation through either social security taxes, or dividend payouts from equity ownership.

The free rider problem we've created is that everyone is eligible to take social security, even if they haven't produced offspring that will labor in the economy while the retired generation lives off their production.

Indeed, we've also created a free-rider problem along another dimension: we have lots of people in the present who benefit from the governments' taking out debt to fund services and infrastructure, but who won't create any offspring that will pay the taxes that will pay that debt.
Microsoft publishes list of its entire patent portfolio
It is tempting to look back and say "could have done this, should have done that", but sometimes, maybe, there was nothing to do differently.

"Every generation throws a hero up the pop charts." -- Paul Simon
awesome page! I'm sure it is going to make an impact on the online job-application process!
What do you guys say?
Real-time cyber attack early warning system with world map
This Portal shows statistics of the early warning system of Deutsche Telekom. The corresponding sensors are operated from Deutsche Telekom and Partners.
Show HN: Bitcoin site I started in under 1 hour - Really Rapid prototyping
Still a bit weird if you type on keys that actually mean something else. Especially german keyboards are not designed to code with (for instance \ required three key strokes on a Mac keyboard, [ and ] are also pretty hard to reach...)
"Our initial graphs at Formspring, as you probably know, all hockeysticked up and to the right. Nearly straight up. Oh wait, the graph has peaked and is starting to slowly (very slowly) trend downward. What do we do? Make big bets, right? Try to recapture that crazy growth!"

Make big bets?... And then what? You had a ridiculous # of users in the initial stages, and couldn't make a profit from that. What made you think just getting more growth would solve all your revenue problem? ..Wait.. you were waiting for a white knight in shining armor (ala Google/Twitter/etc) to acquire you. Ah, I get it now.
EBay Now Same-Day Delivery Service Expands To Chicago And Dallas
Thanks, I was wondering about their explanation. Every DNS server I setup will temporary cache the results of its recursive lookups so I didn't get how this was going to work.
How about over one's own DNA? An honest question... no snark intended.
Can we not express nearly everything in existence as a formal system?
I put some time into it a couple years ago before my 2nd kid was born. I've always wanted to go back and work on making it a bit easier to use. One of the things I'd love to do is get rid of it being so tied to request handlers so you can use it more seamlessly in apps.
A Note from one of Cloudflare's upstream providers
Deposed Jetsetter CEO Patterson now CEO of Room 77, a Hotel Search Startup
Does anyone know which patent is being asserted here? I thought Uniloc only had one patent, and it was related to try-and-buy DRM. But the description in the article says "processing of floating point numbers by the Linux operating system was a patent violation" which doesn't seem to fit. Is there another Uniloc patent?