skysight-inc/HackerNews huggingface dataset:
Because Akka can't magically patch over the JVM's shared memory model: http://doc.akka.io/docs/akka/snapshot/general/jmm.html#jmm-s...

And because the JVM does global stop-the-world garbage collection, which makes soft real-time implausible because of the unpredictability of GC affecting your actors. Erlang has per-process heaps.

Basically the Erlang VM was created for this use case while the JVM was not, and its not something you can just add with a library.

edit: Also the lightweightness of Erlang processes compared to Java threads[1] and hot code upgrades.

[1]: http://i.imgur.com/hKMJ3HD.png
Erlang allows the actors to be spread across physical nodes. It's like a cluster OS, not just a language that uses an actor model.

Do any of the library actor models offer something like that?
That applies for passwords (where you hope the data is fairly random, and unknown) but there are only 13,237 taxis in new york, and you can download the list! You'd simply try each one. The author only took hours to crack the list because he generated hashes for all possible medallion numbers, without using the list.

Also, even these numbers only apply to queries where you want to discover all of the drivers for all of the data. It seems more likely to me that someone would want to know who was driving a particular taxi at a particular time, or what a particular driver was doing on a range of days. In both of these cases, the number of records you need to deal with is massively reduced, and the second attack implies you know the plaintext.

So no, salting doesn't help against abuses of this data when hashing is so fast, and even using a slow KDF won't help much against the second attack.
Fair enough, I am guessing your work is at a different scale from mine. We are "super agile" (constantly changing) due to the changing nature of the sequencing technology we work with.
This is great. I built my own web app budgeting solution. I've been working on and personally using https://budgetmyway.com/ for a while now. I love budgeting. Looking for feedback.
Yes, I was thinking specifically about mixing stowed and non-stowed files in directories, that's why I chose the fontconfig example: it's likely that I will want to add files there that I don't want to stow/sync to other machines. I also find it cleaner using --no-folding and easier to reason about. I remember feeling surprised and not understanding what stow did the first time I used it without --no-folding. Some people might actually prefer the folding behavior, I just wanted to highlight that the default behavior might not be what one would expect.
It's a pity some people downmod for expressing opinion. It's not like you were offensive making a point that too short can be less readable, not more.
What is the problem being solved which makes it possible to do this? Or, in other words, why don't we have this as a standard way for chargers?

Is it cost? I understand nothing about electronics really, but I'd guess at least one way to do this would be a microcontroller polling the wire and controlling a relay to turn the device on/off, no? I repeat, I understand nothing of these things. :)
An interesting thing is Common Lisp's place in the graph. It roughly translates to saying Common Lispers have less woes relatively. The CL nerds were right all along :)
I don't see any reason it couldn't be true. Just put a relay inside the charger, and when the phone is plugged in, steal enough power from the phone to set the relay. When the phone is unplugged, the charger's circuitry detects that, and sets the relay. Of course this wouldn't work with a completely dead phone battery. There's probably a clever way to get around this, maybe by utilizing the resistance between pins when a phone is plugged in, but I doubt that's worth it in practice (edit: I read the page more closely, and it turns out they just have a manual button for this; clever indeed).
Erlang is not just classes with a thread and a queue attached to it. Anyone can do it. It is also fault tolerance. How many of the actor libraries support creating large number of processes that have isolate heaps? How many have completely concurrent and pause-less garbage collectors?

The closer abstraction is probably OS processes + IPC. Then you get closer to the spirit of it. And Chrome browser and other software take that approach. It isolates faults. But well, you have to do a lot more work around it and those are not exactly light-weight. Erlang processes are only a few K of memory each.
Coffee A/B testing – first taste
Well, it can be true. It would be in fact not to difficult, but the issue is, of course, cost (and maybe turning it on again when the device is plugged again)

Also, a regular charger does not use the same amount of energy with the device charging as it does with the device off, it's wasteful, surely, but not as much as people think.
Product Punch
def teach(something):
lesson = None
// Aye, there's the rub...
if knowsHowToTeach():
lesson = createLessonForSomething(something)
else:
lesson = teach(something)
return lesson
IANAEE, but regular switching power supplies use negligible power when nothing's drawing current.
I would guess cost and the fact that normal chargers use very little electricity when in standby.
Interestingly enough, in both the start up and corporate world I've seen hiring when the developer has NO skill in the language. This was true about Java, this was true about Ruby. This was true about python...

I think what would be a more interesting analysis is what cohort pre-selects themselves to functional languages, or projects where that technology is used? Out of all the software today, where is the most prominent functional code use and why?
>> JVM does global stop-the-world garbage collection

Does it? Back when I was in HFT, we were definitely running a JVM with background thread GC.
itertools.islice would work.
It wasn't a problem inside reuters, but their 3rd party provider called (Taboola), which injects ads on reuters. So once taboola hacked, the ads system started injecting a script to redirect that page to another one.

Source: https://medium.com/@FredericJacobs/the-reuters-compromise-by...
So intuitive, I guess!
I read the first paragraph, realized that the "SoundCloud Video Player" blocked by Ghostery was an essential part of the article, and reloaded the page.

You make a good point--during that time, I suppose it's quite possible that my brain scanned and processed enough of the remaining visible text to spoil the effect.
China Builds Artificial Islands in the South China Sea
We hired a team of 10 Haskellers in 3 months with over 100 people doing our application task. It's really not hard to find developers, the market (at least for Haskell work) has plenty of supply and little demand. So, "learning Erlang/Clojure/Haskell" is a bad strategy if you just want to be employed, unless you are good enough to pit yourself against people with decades of experience, who write large amounts of open source code, who have built several projects in a host of other tech stacks and who can afford and are willing to take a (so far, up to 3x) pay cut to work full time in the language they love and helped build.

I suspect the problem is the two most popular ways of hiring developers in tech companies (tapping your network, and recruiters) fail hard at finding functional programmers, unless you yourself are a functional programmer.
What's bad about the state of node?

Or are you saying Erlang is underdeveloped and you would prefer it that way. Because in my eyes, node is doing great.
The reason it isn't standard is because you aren't really saving a whole lot of electricity or money by doing this.

If you purchased this charger, I don't believe you would ever break even with the extra cost to buy this charger with the amount of money saved in electricity not used before it broke.
In other words every excuse is good to augment the power of the ones that have it.
Yo is Hiring
Note that 'dumb' USB chargers don't use anything close to their charging power when idle. See Ken Sheriff's fantastic USB charger teardown - http://www.righto.com/2012/10/a-dozen-usb-chargers-in-lab-ap...

In that article, he measures the idle power usage of a bunch of chargers. Some use as little as 19 milliwatts. The electricity cost of leaving that charger plugged in all year is miniscule.
How about economy of scale in manufacturing, and (mostly) competent design and engineering teams?
This can be mostly true already. If you look at Ken Shirriff's analysis of chargers here:

http://www.righto.com/2012/10/a-dozen-usb-chargers-in-lab-ap...

The best charger that he analyzed was a Samsung oblong charger that had a vampire draw of 18mw. At 18mw, if it was plugged in all year without doing any charging, it would consume a total of .12 kilowatt-hrs of electricity. $0.01/yr is pretty close to zero power use. There's no theoretical reason that figure could not be improved upon.

However, it is probably the wrong end to optimize on. From the same post, you'll see that the BEST of these chargers was 80% efficient under load, meaning when it's actually in use, it's only putting 80% of its draw into the device. If it were charging only 1 hour per day, at its in-use draw of 2.4A, 21 kilowatt-hours are lost per year doing the actual charging, at a cost of $2-3 per year (in the US).
Maybe it's just me, but I find:

d = {}
for k, v in request.items():
try:
d[k] = int(v)
except (TypeError, ValueError):
d[k] = None

much easier to read and understand than:

walk_values(silent(int), request)

I need to find our what the "silent" attribute does and I'm not sure what type of errors are caught here. Although I'm all for hiding implementation when it's useful, I find it counter-intuitive to do it at this level in python, it makes things harder to read.
No it won't, unless you `tee` an iterator first.
Show HN: Google Analytics by Email
Discussion from when this happened a few days ago:
https://news.ycombinator.com/item?id=7920023
Yes. The advertisers are more and more aware of that.
Well, I have to say that there are many labels call themselves brands. And a brand is actually more like a notion in one's mind, if there is any, connecting the cognition and the outside world. It helps people quickly get their answers from their brain "HDD" without extra time/energy cost. We often call this "impression" or something like this. ad banner is just one of those channels to deliver the information to your target audience. It is a way to deliver your message to help build the notion in people's mind. So I think they are different things. Hope this helps.
Were you paying huge money for Azul? http://www.azulsystems.com/zing/pgc
Computer Bootcamp Day 1
This would be a valid reason: http://paulgraham.com/pypar.html

I agree with you that whilst familiarity with a rare, powerful language might be a signal of quality, lack of familiarity with rare languages does not imply the reverse.
How much does it cost to store a VHS tape in a New York City apartment?
Learn how to reveal your true traffic data with ‘not provided’ keywords
A "modern" version is the Atari 2600 Harmony carts, which have a 32-bit ARM processor that can be used for some new homebrew.

http://www.atariasteroids.net/archives/tag/atari-2600
The question is: Did it ever happen to you when google actually had this exact combination in their index? For me, so far, getting these kinds of results is just synonymous to 'no match found', so I move on. In some edge cases it might be helpful to get these results, in most cases I just change my query. But if google were actually hiding good results from you this way, they'd be really bad at their job wouldn't they?
The two go had in hand. It's certainly a tribute to the breadth of Coca Cola's distribution that you can find it sold in ramshackle huts in the most-off-the beaten track overseas locations imaginable.

But it's the brand that makes the distribution network worthwhile, so people living on $2 per day who traditionally drink tea and eat an abundance of locally grown fresh fruit believe a 20 cent bottle of sugary water is a worthwhile luxury.

There's also a certain amount of effort that goes into persuading very different consumers that it's socially acceptable to mix that same blend of sugary water with mid-priced spirits or in cocktails at exclusive bars in the expensive cities.
Only Azul's JVM has managed to create a pause-less garbage collector. They use some pretty cool tricks.

It is really a fantastic piece of technology:

http://www.azulsystems.com/zing/pgc

Even just marveling at the complexity and how they got it working.

Otherwise, besides those tricks, how would you do it when you have multiple threads accessing objects on a shared heap?

Erlang's VM is another even wonderful piece of engineering. Each little process lives in its own memory heap. Then pauseless garbage collection become trivial. It has many other really cool and unique features (hot code reloading, inter-node distribution, ability to load C code, etc etc...)
It's different game. Nothing is shared (think: one gc per thread), can run 10M+ threads on one cpu and effectively schedule all of them (it has one-of-a-kind scheduler counting reductions, you cannot cpu lock even if you want), really transparent distributive programming, state of the art introspection: "login" to remote process on different node, see how many messages in the mailbox of some process, hot (= replace running code) code reloading etc.

Edit: Essentially: some actor library for language X is not even remotely (if any) erlang. Maybe cloud haskell some day will be there, but its all introspection parts is basically nonexistent right now.
Java/Scala do allow you to do bad things. So add the following to Hershel's question:

"Assume developers are non-malicious and will only pass immutable objects across actor/future boundaries."

Also, I'm not that familiar with Erlang's memory model, so I might be wrong on this. But as far as I'm aware the memory for a message in Erlang is shared between threads - it's only local variables that use private memory. This means Erlang will also need some sort of concurrent garbage collector - does Erlang's version not stop the world, or at least the messaging subsystem?
Ebay is known for very ineffective campaigns, which they tried to justify by publishing "papers". They basically claimed that the fact that search results exist, makes the advertising next to them mostly ineffective. There are so many issues with this argument, it is not even worth starting. But yeah this circle jerk has been going for a while. Also to claim that if it did not work them, it won't work for anyone else is a bit of an over generalization.

You will also find papers stating the exact opposite and how to get great returns and stuff. Everyone it seems gets a different experience from the same platform and then they justify it by publishing white papers. Just like anything else, it is never black and white. But black folks want everything to be black while white folks make fun of the black.

Also check this more detailed analysis that goes a bit deeper:
http://www.wordstream.com/blog/ws/2013/03/13/dear-ebay-its-n...
Because the app has very little purpose, its obvious why it exists at all: It enables the collection of networked data. But because it was built in 8 hours, you get what you put into it.

"built in 8 hours", "does basically nothing" but here, ping people through it and allow us to map this activity to your phone number and user name.

So when this data leaks, everyone gets puzzled. Are we conflating the importance of the data with the importance of the app?
At least ASMO charger is firesafe, unlike dumb chargers. And good to see Oulu on the map too, backed this one.
A semi-interesting observation of the graph on one of the first slides: C# is highest on StackOverflow metric because the site has been historically concentrating more on Microsoft technologies. This also shows on how the different languages are separated by the diagonal line: technologies/languages closer to Microsoft are above the line and more "open" alternatives are under the line.
The Game of Thrones producers should release a competing app called 'Hodor'.
Just notice the difference between python2 and python3 simple http server

$ python -m SimpleHTTPServer 8000
$ python3 -m http.server 8000

Even the python3 is nicer to read, I really like that they package the server in a module. It's almost twice as slower in my machine.

Python2 Benchmark

Requests per second: 606.03 [#/sec] (mean)
Time per request: 8.250 [ms] (mean)
Time per request: 1.650 [ms] (mean, across all concurrent requests)
Transfer rate: 4412.05 [Kbytes/sec] received

And Python3 Benchmark

Requests per second: 412.51 [#/sec] (mean)
Time per request: 12.121 [ms] (mean)
Time per request: 2.424 [ms] (mean, across all concurrent requests)
Transfer rate: 3003.17 [Kbytes/sec] received

Both 1000 requests, concurrency level of 5. Listing a large directory with thousands of files.

I usually use python simple http server to share files and provide synchronization. One hopes that with a new python release it will get faster or at least smarter, both are the same implementation with no noticeable difference, just that python3 is slower.
I'm a long time Rubyist that is new to the Erlang world by way of Elixir mostly. I did use Celluloid in Ruby and it is actually what eventually lead me to Erlang/Elixir.

I think Celluloid is neat and a great set of abstractions for multi threading in Ruby. However, there's more to actors than just having it implemented in a library. Erlang's VM was designed for the actor model whereas Ruby MRI is not. Celluloid actors run in OS threads which can't scale to hundreds of thousands where as Erlang processes can. Using Celluloid with JRuby is closer but still not quite the same.

All that said, Celluloid is damn cool and Tony Arcieri did incredible work on it.
I feel like this is why types have such a benefit in Haskell. This would be typed

walkValues :: (v -> a) -> Map k v -> Map k a
silent :: (inp -> Either e a) -> (inp -> Maybe a)

Here, `silent` is the contextualized version of a really standard error-ignoring combinator which simply throws away the additional error details conveyed in `Either`.

silent' :: Either e a -> Maybe a

`walkValues` is an extraordinarily common function usually called `fmap` and its existence tells us that `Map` is a `Functor`

instance Functor (Map k) where
fmap = walkValues

Ultimately, this pattern is really common and would be written in Haskell as

fmap (silent' . int)

The types ensure it cannot be used incorrect. The notion of `Functor` happy compresses all ideas of "mapping" such as what walk_values is doing.
A primer about tech debt, legacy code and big rewrites for non tech managers
Interesting that the old warhorse FORTRAN is still in relatively high demand on their graph slide 4
If that were mostly attributable to advertising, I think you would see an equivalent success built on a horizontal brand - that is, an OEM without Samsung's vertical integration.

Otherwise an equally valid conjecture is that Samsung bought-in to the idea that the only way to consolidate success is through establishing a brand. As Intel did, for example. But I don't think anyone could argue that Samsung's ad campaigns are mostly cost-effective, coherent, and well-targeted. In other words, I don't think one can articulate a set of hypotheses that links the vast majority of Samsung's ad spending to Samsung's market success.

Contrarywise, there is a pretty good theory that Samsung succeeded in PCs, before they cranked up the ad spending, by being vertically integrated in almost all high-value components except CPUs.
This! A 1000 times this!
That or they just would rather suffer than talk to or work with another human being.
I've said this before, but google search is turning into the yellow pages.
I often find it amusing when people say that swearing indicates a lacking vocabulary. I'd argue however that this is much more present when discussing economics and philosophical topics like this one, where a simple argumentation is replied to with an unnecessarily deep discourse into mathematics (usually in economics) or philosophy.

Anyway, back to your reponse. You argue that it's coerced by nature. Which I believe is false; these conditions are derived from political decisions and uphold by political institutions. Private property is probably the most glaring example of such a political decision. Additionally, it's no longer true that scarcity is the main cause that people starve.

I don't understand why it's relevant if a starving person has a right to the food produced by others; whether or not this true doesn't change the premise of the discussion, namely whether wage labor is a free choice or a coerced one (albeit indirectly) given the premise of modern society.

And regardings morals in general: Hopefully peoples ideological beliefs is based on what they think is right and wrong. Unfortunately I think this is becoming less and less so, but that's another discussion.
http://www.youtube.com/watch?v=mlvFkws9PYY It's just like this.
Zhang Lei has Lunch with the FT
That's what happened at my first job hired as a research assistant at a world leading research place.

My instructions where Keith will give you an hours instruction on how to use the PDP there is a book on fortan in the company library go and learn it.

Oh BTW that was leaving high school with 5 O Levels
SpaceX Launch Scrubbed – But No One Could See It Happen
They're a bit vague when describing the "I-was-going-to-buy-it-anyway" problem, but it sounds like they're mainly talking about PPC ads on search engines stealing from SEO links on the same pages. (Some of it seems to be talking about stealing sales from the direct channel, which I have no idea how to handle.)

If your website is already tracking ad performance on a per-ad basis (i.e., tracking all the clicks on that ad, and keeping what you pay per click below what you're getting per click), then optimizing for only the paid search traffic that's incremental, and not cannibalistic, is pretty straight-forward, conceptually.

For a given ad's keyword, instead of optimizing only for the results you get from PPC traffic, you treat your PPC bid as an input that affects sales across PPC and SEO traffic for that keyword, and optimize accordingly.

There are a few extra steps and decisions that need to be made before full implementation, but this is the basic idea. It's actually not too bad to account for.
Even if developers are non-malicious, they aren't infallible.
My bad. I wish there were gender neutral pronouns I could use so that I wouldn't have to worry about shit like this when it doesn't matter.
Does anybody know the reason for the issue in the first part of the tutorial (http://rpiplayground.wordpress.com/2014/05/03/hacking-the-gp...)?

"NOTE: Occasionally, the GPU can get into weird states where the programs do not return the expected values. I have not determined if it is a bug in the host-side code for managing the GPU or if there is something else going on. In any case, if you see things you don’t expect, try rebooting the machine."
How can an open free Q&A site be concentrated on something? It simply reflects what people want and need.
There's something worth talking about, which is that a sophisticated and ingenious mess is orders of magnitude more costly than a simple minded mess. My experience with brilliant functional programmers is that it's hard to know whether you're getting someone who can use it as the best tool for a job in a simple, elegant, and maintainable way, or a cargo-cultist who delights in sophistication and cleverness and purity for their own sake, to great excess, and leaves a codebase that needs to be scrapped and re-written when they get bored and leave the company 6 months later, when everyone realizes that the twisty baroque monstrosity could just be handled by an imperative loop one quarter of the size that any high schooler could understand.
Project Euler is partly back