skysight-inc/HackerNews huggingface dataset:
Yep, this is worlds faster for me than mousing over and clicking on tabs.

Is vimperator still actively developed and compatible with the latest Firefox? I switched over to the fork, Pentadactyl some years ago.
A group did something similar with Melbourne's Nylex clock last month.

http://www.theage.com.au/victoria/were-not-vandals-nylex-clo...
I think we have the technology to show that a piece of text is a draft and hasn't yet been sent.

Imho, the end user should be able to choose between live commenting vs draft+send.
As much as it sucks that it probably won't be in v8 or iojs native for a bit.. you can use co/koa for now, or you can use 6to5 or another transpiler to get the async/await features now.
Video: https://vimeo.com/51365068
Racket is the runtime powering HN. Arc targets it.
This is a very good post because it explains the reasoning behind the code very well. It starts out with explaining the problem, and presents a simple solution to the problem. Then it explains the short-comings behind the solution and then refines the solution further. I find that it is exactly the way I learn, even my moderate understanding of somewhat complex stuff has always evolved from my understanding of simpler stuff. Wish more people wrote this way :)
ScreenPop Lockscreen Messenger – Whamdeal
Out of curiosity:

Who has written Haskell & deployed to production in the last 24h and if yes for what kind of app?
Hah, glad it's not just me. It's also the thing I hit if I'm trying to think of what I was doing/am idle for a moment... typing 'news.' just seems to flow from my fingers if they're unoccupied.
Something like http://okmij.org/ftp/ ?
This is patently untrue, as I subscribe to the exact same filter rulesets in uBlock, and it makes a dramatic, incredible difference to the browser's performance.
A new website will never be perfect. Luckily They're very open to suggestions and criticism . There seems to be an active issue tracker here [0] that is used to keep track of feedback. Pull requests seem to be welcomed as well. Quite the friendly community it seems.

By the way. the old website moved to https://wiki.haskell.org/Haskell

[0] https://github.com/haskell-infra/hl/issues
A Game of Universes
Ad traffic anit-fraud platform (api servers, data mining workers)
Nightly -> Stable every ~12 weeks or so, so should feel just as fast. I noticed this difference too, but I believe that's as I use it with a fresh profile each time.
I know Amsterdam startup http://www.silk.co has their entire backend written in Haskell. I'm not sure they deploy in weekends though.

Their CEO Salar told me that that, among other things, it gives them a hiring edge. People move to Amsterdam from all kinds of places just so they can write Haskell professionally.
There are couple of ways to introduce anything 'new' -

You can a sit in a small cubic room and whisper about yours ideas all day long, hoping that someday somebody will notice your thoughts and work on it further.

Or you can put up somewhere and present it in a way that causes least drag, so anyone with a slight interest can pick on it.

Or you can use a combination of both.

Today in our fast society, I think it's the balance that matters the most. If you have something interesting to talk about and you are not working hard to let others know about it, then you are doing everybody a disservice.
This new, awesome site is using the framework Yesod[0], which is kinda like the Rails of the Haskell world, only it can do rad stuff like prevent XSS and 404s at compile time. Yes, you read that right.

[0] http://www.yesodweb.com/
Is Monsanto evil?
Unfortunately Symbols are not that useful when it comes to private properties in classes. A better approach would be to use use weakmaps to have private properties.

The problem with symbols is the absence of symbol literal syntax(along with the fact that one can access symbols through reflection).
I think:

app.get('/thing', function (req, res) {
try {
await user = db.get({user: req.user});
res.send({user:user});
} catch {
res.send(400);
}
});

beats the hell out of:

app.get('/thing', function (req, res) {
db.get({user: req.user}, function (err, user) {
if (err) return res.send(400);
res.send({user:user});
});
});

especially when you have conditionals or loops that can look like:

if (user.name == 'abc') {
resp = 5;
} else {
await resp = db.get_resp({user:user});
}
await db.save(something);

I suppose it doesn't get rid of callbacks, just makes them readable.
Is one of them Harry Buttle?
> likely from someone who has an agenda.

Now we have conspiracy theories. We're done here.
Btw, there's also a sinatra inspired framework – scotty (https://github.com/scotty-web/scotty)
Programming excuses API
Show HN: FPV Drone/Quadcopter Racing League
Just turn on CSP's unsafe-eval option. You still get the XSS attack prevention unless your code is doing something very silly already and eval'ing stuff from the DOM.
I'm new to Haskell, and I like this page. So, wanting to get a feel for it, I tried typing the sieve example from the top of the page into the "Type Haskell expressions in here." box right beneath it.

First, I got

<hint>:1:8: parse error on input `='

Hm so apparently definitions aren't expressions? Or something?

I decided to remove the `primes = ` part, which made my browser really slow and had no result. I'm assuming it was computing all primes in the background.

Now, of course, maybe I should try to understand the sieve example before running it, but isn't the whole point of having a REPL box on the front page that you can facilitate people who learn the other way around? It would be great if there'd be some code or expressions available at my fingertips that would actually work in that REPL.

In other words, maybe make the first example be something that actually terminates?

Please read this as constructive criticism, which is how it is intended.

EDIT: Only now I'm noticing that exactly the things I ask for are listed to the right of the "try" box. Pardon my lazy reading, I'm really enjoying the tutorial right now. Still, making the `sieve` example terminate would be nice. But I believe my nitpick is maybe a bit much of a nitpick now.
Watch Iravum Pagalum (2015) Tamil Full Movies Online – Watch Full Movies Online
Al Gore will not be pleased.
> 3. strictness: arguments abound about whether laziness or strictness is better; for me, it comes down to the fact that with some pain, you can embed laziness in a strict language with effects, but you cannot embed full-on ML-style strictness into a language like Haskell; moreover, strictness-by-default permits safe uses of benign effects.

I've seen this claimed before, but I'm not sure I can subscribe to any sense in which this statement is true. It's been known since at least John Reynolds that you can make programs evaluation order oblivious by means of a CPS transformation: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.110..... Just as thunkification is a program transformation to simulate call-by-name, the call-by-value CPS program transformation is a way to simulate call-by-value.

Moreover, Haskell has strictness annotations, so strict programming is possible if you pepper all the arguments of all your functions with strictness annotations and you use only strict datatypes. In fact in the future a language pragma will do this for you: https://ghc.haskell.org/trac/ghc/wiki/StrictPragma. That's less invasive than a CPS transformation.
You need to check syntax, or try some more basic examples first. In this case you pasted piece of code that won't work itself.

If you want to get know more about it: http://learnyouahaskell.com/syntax-in-functions
Maybe its just me but the only things that I really like from this document are "Unicode", and "Tail Call", though some other things may be nice, the verbosity is killing me, how many new keywords, synatic constructs, and symbols are coming in with ECMA6?
Though I have no say in the matter, for my 2 cents, I just wish they had used ECMA6 to remove things (mainly those listed here: http://johnkpaul.github.io/presentations/empirejs/javascript... and in Crockfords famous book http://archive.oreilly.com/pub/a/javascript/excerpts/javascr...) for instance.
I'd love to see their stats. They have basically 0 content and I hit them 10 times a day.
Haven't pushed to the repo yet, but https://github.com/bluepeppers/highhockwho is my contribution :) Little tool to poll the docker daemon and push records to etcd in a skydns compatible format. In production, and seems to be fairly stable so far.
Two problems:

1. multi-line expressions aren't supported by the REPL.

2. You will need to use `let x = ..` syntax in the REPL (This is because the REPL are just so called IO-actions and the `let` syntax defines variables within its lexical scope)

You could try this:

> let sieve (p:xs) = p : sieve [x | x <- xs, x `mod` p /= 0]
> let primes = sieve [2..]
> primes !! 3
> primes !! 4

Nice part abou this code is eventhough you express calculating ALL primes. It will only calculate upto the 3rd and the 4th prime due to lazy evaluation. This is one of the great strengths of haskell.
Deleted document shows possible FAA regulations on drones
You could always pass a message per line (so to speak) and use msgpack or json... if you want compression you could use json+gz

Of course, you could also do something similar with a 0mq adapter as well for a request/response server, which is available pretty much everywhere you might need it (language wise)... It's an interesting generic interface... however as I mostly use node for newer development, it's so trivial to use sockets or websockets directly for this, I'd just assume go that route... or for that matter, something like sockjs/shoe.
Think about it this way: Everything you’re doing at this present moment has already happened. You’ve already reached your destination. All you’re doing right now is letting yourself (go through the) experience (of that moment).

In the next 30 years, this will be much better understood, with our (scientific) tools and "consciousness" evolving to a point that we can measure, proof and present this as fact.

Go back to the middle ages and try not to fall for the common belief that the “The Black Death” is a punishment by God for your sins, simply because there were no tools to locate and fight “Yersinia pestis”.

Go back to when it was a common belief that the earth was flat, until someone ventured out across the (then) vast oceans and prove otherwise.

And don’t forget, it already happened. Your just in for the ride.
Ben Chestnut – Do What You Love
Thanks! We were trying to track down an error message we were seeing, and you found it.
Elsewhere on the front page: http://hasura.io/ - https://news.ycombinator.com/item?id=9050316
UnSEXY Conference 2012 – Aaron Levie and Ben Chestnut
My point was more, let your language do the parsing and deserialization for you. S-expressions are merely a textual representation of linked lists. The parsing and evaluation of text is already written as part of the language.

The other point was that we're ultimately stuck with serial forms of communication, be it wires, pipes, sockets etc. If we want to easily transfer structured data through these serial channels, we should probably build up our structures from a serial primitives, and S-expressions are much more handy than plain strings (which we may not even be able to parse without ambiguity), or XML, JSON or whatnot. One, because the parser is already implemented as part of the language, and secondly, because you can transfer code in addition to data, and evaluate it on the remote end to bring into scope more "structured" data like records.

I did try to include a bit more in the previous post, but I'd accidentally hit save, and I was unable to edit the post afterwards
And if you are on a BSD/OSX, use kqueue(2). There is no reason to deal with the traditional signal interface the old way any more, just convert signals into event streams with file descriptor readiness like (almost) everything else.

(The almost is processes; Capsicum which is in FreeBSD and being ported to Linux lets you get a file descriptor for a process via pdfork(2) which you can poll too. Normally this doesnt matter as you can wait on the SIGCHLD anyway, but you can pass non child process file descriptors via unix sockets allowing waiting on other processes too).
Most json stringifiers will create a json with no line terminators that aren't inside escaped strings... so a json object terminated by a CR would seem to be a pretty logical data format for open text...

There's also msgpack, protocol buffers as well... I think the plain text of json that is readily a line per message is far simpler and easier to handle though.
it's perhaps worth remembering the service isn't 100% altruistic... though I agree it is indeed awesome and I'd probably be happy to pay for it too.
Very cool to see my master's project here on hn!

Let me give you some background information. The idea for 7GUIs was born while I was writing my master's thesis Comparison of Object-Oriented and Functional Programming for GUI Development[1]. My advisor and I first agreed to compare Java7/Swing and Clojure/Seesaw. That's the reason why you see these implementations in the repository. Over the course of writing the thesis we changed the scope to compare JavaFX in Java and Scala as well as some novel FRP-inspired frameworks and all that with a GUI _programming_ usability benchmark which I named 7GUIs. I received great input from my expert reviewers, especially Tomas Mikula[2].

Anyway, 7GUIs is work in progress although nowadays I have much less time to work on it (not studying anymore but working). Not all implementations are complete (e.g. Android/Elm) and I'm sure the existing ones can be improved. So I'd be very happy if others would help to extend 7GUIs with more implementations or analyses. I still want to try out other approaches myself and compare them with 7GUIs but again time is limited sadly.

You can find much more information in the thesis[1] if you're interested. I've also written a short overview blog post[3] that deals with Reactive GUI Programming.

[1]: http://www.eugenkiss.com/projects/thesis.pdf

[2]: http://tomasmikula.github.io/blog/

[3]: http://www.eugenkiss.com/b/overview-of-reactive-gui-programm...
The Phillips Machine Macroeconomic Analog Computer Demonstrated
Centralized App Logging with Fluentd
What fast IP do you use when you suspect you're connected to the internet but can't resolve DNS? I'm looking for a good non-Google IP (because China)
My craft + tech startup www.youpatch.com uses Racket for the clever bits: image-processing, pdf generation, and I find it's great for prototyping and R&D. Here's my talk wide-ranging talk about it (video and slides) http://agile-jitsu.blogspot.com.au/2015/01/my-talk-at-racket...

Also at RacketCon 2014 Brian Masterbrook talked about using Racket at www.airstash.com for testing hardware: links at con.racket-lang.org
I would suggest a way of looking at the rates without having to sign-up first. Also, why do you need so much information for creating an account?

EDIT: Oh, by the way, in the "No Honeymoon Rates" tab you say "It’s 2014, you deserve ..." might want to update that :)
Interesting point. HN mostly is a collection of lists. You might almost call it a list processor.
websockets after upgrade are not message based like the same as socket.io (which adds fallback/fall-forward) and sockjs does this providing a stream interface...

If you don't need to support a web browser client, you don't need the extra overhead.. and if you do, you're better off just using socket.io or shoe and having your server in node.js ... as an aside, I'd probably just use raw sockets in node if I didn't need browser support.
Sure, but my point is that maybe the top example should be one that'd work verbatim in the REPL, to not scare noobs like me away.
You know what is REALLY cool? Almost all haskell web frameworks use the Web Application Interface[0]. Which is a unified interface for haskell web applications. This means you can mount web applications written in OTHER frameworks under your routes and vica versa.

[0] http://www.stackage.org/package/wai
The solution in question could well be used for pub/sub servers or for request/response patterns... it's really pretty cool. I'm needing to expose a very small utility that uses C# for the micro service... I'm considering this for that reason... aside from that, I think the solution in question is pretty cool.
Macroeconometric Modeling
Tell me more about preventing 404 at compile time.
I call http://www.yesodweb.com/bullshit
I work for http://fynder.io - our entire backend stack is Haskell (libraries, PostgreSQL interface, email sending daemons, API server)
See also: skiing in Tribes, or the entire notion of combos in VS fighting games.
The financial DSL paper is a good example as although it was Haskell based, Jane Street eventually chose OCaml for production.
> But the largest sums were stolen by hacking into a bank’s accounting systems and briefly manipulating account balances. Using the access gained by impersonating the banking officers, the criminals first would inflate a balance — for example, an account with $1,000 would be altered to show $10,000. Then $9,000 would be transferred outside the bank. The actual account holder would not suspect a problem, and it would take the bank some time to figure out what had happened.

Sounds like a badly designed system. Usually a bookkeeping system should only accept additions and subtractions, not have direct access to the amount number. Those additions and subtractions should be versionned. It might take a lot of resource and computing power to track that many accounts, but in my opinions, if google, the NSA and amazon have big datacenters, banks should too. I don't think they really have the proper infrastructure to secure something so important like account balance. I even think the government should invest money in securing those systems and places, since it's a nerve of the economy.

So either use up to date computing methods, or hire more accountant and use paper instead.
So just because we are not rounding dissenters up into concentration camps or starving half the population to death David Cameron (or whoever the next one is) should be able to search my entire communication and location history?

That attitude sends society rapidly back to the concentration camps and starvation.

"The price of freedom is eternal vigilance."
Yep, same for me. I'll be staring at the screen in thought, then up pops a Hacker News tab.
Perhaps readable if you read a lot of Clojure, but hardly anything that is easy to test piece by piece inspecting intermediate data, using a REPL for example.
Not exactly true, valve "fixed" the phoon style bunnyhopping after the vide on in the article surfaced (even though it had been in the game for years). There still exists a version of bunnyhopping in the game but using it for speed gain on longer distances is very difficult.
How do you compare to Transerwise who my business uses for invoices in USD paying here from EUR account? (unfortunately this supplier doesnt accept bitcoin, otherwise there be no need even for transferwise)
kill `ps -eo pid,etime | grep -P ' (00|01|02|03|04):..$' | cut -d " " -f 1`

Not really a complex regexp thogh. I almost exclusively use Linux and thus bash/zsh etc. And yes, my piece above looks uglier and like but of a hack, but that's not the point. It's easy because it's discoverable. These are one-liners you write ad hoc and use once. But powershell in my experience lacks the discoverability that bash has, you can't look at what some tool outputs and then know how to parse it, you need to look at the underlying object first. Granted I have maybe one day of experience with PowerShell, but I don't know anyone who uses it for their primary interaction with the Computer. For Bash though...

(And yes I'm aware that you can also create huge complicated bash scripts, but you could also just use python)

Find the name of the CPU using powershell and have fun looking up the correct WMI class and what property you need.

Here's bash: grep name /proc/cpuinfo
Show HN: Figure, a Fig powered mini-Heroku
http://www.yesodweb.com/book/shakespearean-templates#shakesp...

If you're used to only programming in dynamic languages, it can be a shock, but yes, a good type system can do things you never thought possible.

If you were the downvoter, I'll take my vote back now.
Six years ago I was an intern at a Wall Street firm for a year. The firm that I worked for used an account system that was built in the early 90s and relied on all employees learning special terminal commands to access anything. I can't really go into detail for fear of being sued, but suffice to say the system was archaic. I was amazed that a multi billion dollar company relied so heavily on and invested so little in something essential to the business.

The IT department seemed to use the following logic to justify it: the system served its purpose, the legacy employees already knew how to use it and the developers who made it were long gone thus it was cheaper and easier to just leave it be. While my firm had plenty of developers that could rewrite the system from scratch, their attention was devoted solely to money making endeavors like trading platforms and client facing projects.

As for the "Enterprise Architecture Group" (ie the developer department) that I interned in, the big problem was the heavy reliance on third party development companies. While the firm wanted to hire more developers, simply put very few developers want to work for banks (it's funny though that people in finance would have killed to work at the firm). It would take 6 months to a year on average to fill a developer position and they would have to pay a big premium over the average dev salary with a large yearly bonus.

In order to keep up with all the various projects, they would pay third party development/consulting companies millions to come in and create apps. While this allowed the firm to get the necessary apps "done", it created the most crazy spaghetti architecture you could ever imagine. All these different apps were built using different companies/languages/platforms/technologies then thrown together in a big mish mash of iframes and duct tape. The fact that any of them were able to communicate with each other at all was a miracle. I don't actually blame the developers themselves for this, they would constantly voice their concerns while the completely clueless department head/"architects"/project managers/business analysts would shoot them down. They would say things like "I understand your concerns but Super Consultancy X says that they would do it and it will only take 12 to 18 months!! They are even available to help support the app once its finished!!". Security and use experience were not even on the company's radar, only making money.
Griff Rhys Jones did a series of the world's greatest cities, and when he covered Paris he met with the group of restorers and followed them through a massive network of underground tunnels, wherein they could access almost any building in Paris, they claimed to have keys to many of them. It was a terrific documentary.

It's available here: https://www.youtube.com/watch?v=5OiL8oVj0sA (~45 minutes)
Ha, I thought it was a `Skater Bunnyhop from the Physicist Perspective` article. Interesting nonetheless.
Dan Liebgold (Naughty Dog) at RacketCon 2013.

"Racket on the Playstation 3? It's Not What you Think!"

https://www.youtube.com/watch?v=oSmqbnhHp1c
We use Haskell at https://www.frontrowed.com/ for most of our web applications, internal tools, email senders, API etc.
This appears to be broken in my browser. Screenshot: http://m.imgur.com/uXcS2ZS
Off Page SEO Plugin for WordPress
FWIW, most of the stuff I've read on using generators to wrangle async has stressed that that's not the aim of the protocol, it's just a useful side-effect. But I think you are right, which is a bit of a shame really, given how useful generators can be - most every detailed article quickly skips through pretend toy examples, then <drumroll>aaaand async
Yeah, the REPL story's a bit of a mess, but Haskellers tend to forget that.