skysight-inc/HackerNews huggingface dataset:
I would think the reason for doing it in Abottabad would be the plausibility of the whole scenario. ANything else, the contracdictions would have been enormous.

Lets imagine OBL was eliminated in Afghanistan, how do you explain his presence there, where did he get his food, medical supplies for all those years.

With the US presence in Afghanistan you can at best argue for a few sneakthroughs that supported OBL.

So I would say US picked the best case scenario based on circumstance.
Try Yandex.
The slice itself is not being aliased, but yes, of course, the underlying array is.
The difference with current 3D TVs is that you only get two angles, one for each eye. Everyone who looks at the TV from any angle gets the same two views. With this tech, the view each eye gets depends on where it is physically, so you can move your head around to get a different angle, and multiple people can get different angles all at once.

Edit2 (ignore previous edit): Another advantage is that you gain the ability to focus your eyes (each eye) at the correct depth for the object that you're looking at. With 3D TVs, each eye has to focus at the depth of the display all the time. The only depth cue is the angle between your eyes.
Very sad, but typical story.

> “What’s a bad day?” I ask the class, when I’m done reading. “A school day,” Lea... says. Lea has always seemed perky and upbeat. I start to laugh as if Lea’s comment is a joke, but no one else does. Her eyes look watery. The boy beside her nods. I ask Lea why, and she tells me she is stressed out and unhappy, “every single day” during the week.

The principal of the school would like to eliminate homework, but the parents demand that their children are "challenged". There is no evidence that this pressure and forced study actually benefits children.

What about letting kids find out what they want to do for themselves? Try things out, feel free to fail without an adult standing over and judging them.

There is a totally different style of education called "democratic free schools" or "Sudbury schools" where children are free to do as they like (within democratically made rules), no curriculm, no mandatory exams or meetings, no book reports, no required English or math. In follow-up surveys, graduates are happy, well-adjusted, and successful.

Here is a 9 min intro video about the original Sudbury Valley School: https://www.youtube.com/watch?v=awOAmTaZ4XI

And here is a book "Free to Learn": http://www.amazon.com/Free-Learn-Unleashing-Instinct-Self-Re...
I think its helpful to define concepts like interpretation and compilation. Interpreters take a program and produce a value. Compilation takes a program and returns another program that hopefully when interpreted gives the same value.

In some sense, python and ruby compile into bytecode, and then the bytecode is executed using an interpreter. There are also concepts such as partial evaluation (where you do a little interpreting while you compile) and JITing (where you do a little compiling while you interpret) which also seem to mix compilation and interpretation, but can be clearly specified as a particular combination of them.
The easy way to implement a Red-Black tree
You might be overplaying whatever fear people have of mixing imperative and functional code.

It is fairly straightforward to not let mutable variables muck up pure functions -- A pure function doesn't do anything but return a value. A pure function which computes the length of a list might be implemented by an imperative procedure that loops through the list and updates a counter, which is then returned. Whether a pure function is implemented in a functional or imperative way is... an implementation detail.

As far as IO effects are concerned, Haskell's approach let's IO values be first-class. You can use regular, pure functions on, where in a different system you might indeed have to try to keep the "pure" and "impure" code separate. And they say that Haskell programmers are afraid of IO... yeah, so afraid that it is treated as a first-class concept and value. :-)
Maybe the wheel was invented when someone tried to reinvent the drag harrow.
Yes, that is another way to put it.
Agree with you. The Forrest Mims books are concise and written in a very simple manner without dumbing things down. His collection of the basics which is about four small volumes, will cost you about $50 in total. Money very well spent.
Unlikely is better than nothing, that's my point.
Show HN : Logger for android
That wold be Erik Prince, the founder of Blackwater and a former commissioned officer in the Navy SEALs. The book "Blackwater: The Rise of the World's Most Powerful Mercenary Army"[0] paints a pretty solid picture of his Crusade mindset.

[0] - http://www.amazon.com/Blackwater-Rise-Worlds-Powerful-Mercen...
I will take your advice to the heart. It really speaks for the quality of the community here, to speak about marketing and advertising and its deplorable influence on the young developing mind.

And I say that because I have been there. I have been anxious, unhappy because of material posessions, wanting everything that is displayed vividly in glamorous ads.

And it is a bad place to be. I'm 22 years old and now I'm cured. It's been quite a journey to regain independent thought.
I haven't had any problems with colors so far (I compared them with my wife MBP and another HP Desktop we have at home). I did have weird color issues with my desktop XPS 2720 but were driver related.
'Nobody' here is highly contextual. From what I understand, there are some markets (outside the US, particularly in the developing world. E.g., http://dazeinfo.com/2014/10/28/1-5-million-engineering-pass-...) where there's a glut of talented people. They are 'unemployable' if they cannot move and cannot find remote work.

In the larger sense, there are plenty of people who are unemployable (though it can be geographically or temporally limited in scope -- not always ,though): Zero Marginal Product workers: http://marginalrevolution.com/marginalrevolution/2010/07/zer...

To his point, though, the market in the US is still hot, and we're not /terribly/ far off from the first dot-com wave situation of "if you know HTML you can get hired in this market." Now it's more like "if you know Rails or one front-end JS framework decently, you can get hired." So if you have any skill, yeah, you're not going to unemployable here for a while, and whether or not you failed at your own company will probably not be relevant.
I thought the issue was it was based on the use of anonymous sources which might be hard for any journo to "disprove his assertions with additional reporting".
Finally some movement on this! It really feels like an inferior experience in 2015 when your browser freezes from an unresponsive javascript in another tab.
I would use this. I have a bunch of old batteries, light bulbs, and random machine parts thats I been meaning to recycle but never get around to it. If these guys would properly recycle those things for me, I would pay more than $5 because I am trying to be conscious about what I put in the landfill.
Yeah, if you're looking for it, you can see the phoenix motif all around San Francisco, not just on flags. It's the symbol of the city.. a city risen from its ashes. I quite like it actually, though I agree the actual flag is not the greatest design. He didnt mention it but the gold border is a reference to the gold rush roots of the city, if that wasnt apparent.

I dont think the flag is that hard to find.. it's flying over most government buildings at least. Though I may be inclined to notice these things since I could name the cities for a few of flags on his "bad flag" slide by sight.
There doesn't need to be an overhead to this extra type disciplining of side-effectful computing. It is perfectly possible for the compiler to take the pure monadic code and implement it with actual side effects (which I believe GHC does do).

What I do miss though (dearly) is that there is a certain cost as to what can be encapsulated. For instance, in Haskell, it is no longer so easy to hide side effects behind a pure interface.
You seem to assume that because people spend a hell of a lot of money they are necessarily addicted. This isn't so, a lot of these people just have a lot of money (e.g many of the whales that spend a lot on IAP for free-to-play games are rich saudis).
> Also, it sounds like there is something wrong with the Rust compiler if this landing pad generation really doubles the compile time... a poor compiler should not influence the language design in such a negative direction.

Um, actual, non-trollish question: do you know how exceptions are implemented? Because I can't think of a way around this in a language with destructors, short of some sort of "doesn't throw" effect (which Rust doesn't currently have) or aborting on every exception. Do you have any pointers? Similarly, I don't understand how your "antitry" solution would be efficient on pathological input--"zero-cost" exceptions are far from that when the exceptions actually happen (and can be made to happen by malicious users). You also haven't addressed how I'm supposed to know to use antitry in the first place, which is one of my biggest issues with unchecked exceptions--again, the only alternative I see is a "throws" effect. All of these are language level concerns, not implementation-level ones.

> Exceptions are the flexible primitive, not Result

Catchable exceptions require coding transactionally if you want to use them everywhere and maintain strong exception safey. There's an enormous cost associated with that too; and worse, it can't be checked by the compiler.

Again: I have actually benchmarked a lot of code that uses Result, explicitly checking to see if it was a performance issue. It's almost never a performance issue. So performance-related arguments for why exceptions should be used everywhere are going to fall on deaf ears here. I am far more interested in seeing whether we can eliminate panics altogether for most of the common cases (e.g. with compile-time checked range types).
Topics don't need to be traditionally controversial for them to be really tricky to edit.

I understand why Malvinas / Falklands is going to be tricky.

I don't expect to have to go to arbcom because I disagree with someone about - versus – versus —.

http://en.wikipedia.org/w/index.php?title=Wikipedia:Arbitrat...
If you can't legally play for money you are just going to do it illegally, which is what we see with bookings and the war on drugs.
The only time I was happier than when I was at school was right after I was finished with school, unemployed and living at home. I could do what I wanted, when I wanted to do it. At school I could learn, as much as I could get my hands on.

I was much happier at school than I am now that I have to work. I almost hit it when I take a day off for no reason.
A lexer is a fold as well - there are usually fewer elements in the output list than in the input list. A mapping function implies a 1:1 correspondence, because the recursion is abstracted out into map() and the map function can't accumulate any state during the computation. (At least in traditional FP technology; the Mapper in MapReduce isn't actually a true map function, it's more like an unfold.)
But the same is true of any backend. Once you know the endpoint being used by the frontend, you can blast the backend with requests and one of two things will happen:

* You will take down the site (a DoS attack).
* Or the victim has auto-scaling and you rack up their AWS charges.

This is hardly a unique problem to Lambda.
You can always donate to Boomerangs with a little more ease. They're a few buildings away from the Goodwill on Centre and you can pull into their back parking lot while you are dropping off. Cool store, too.
Before Google's new terms for software AdWords, it was extremely common for scumbags to wrap freeware or OSS in spyware and buy ads for the software's name. Users would click what looked like the first result, land on what looked like a legitimate download page, and end up with something ugly like Conduit.

I'm the "computer geek" for some friends and family, so I've fixed up a good number of PCs, and AdWords has been by far the #1 vector for malware. A lot of people in my position just started installing ad blockers on every PC they work on, to save trouble later. Google's new approach has a lot of problems, obviously, but they're not just power-tripping.
The avionics should be isolated through hardware, through wiring, from other systems on the plane. If this is not the case, then the FAA should issue an order to change the plane wiring to make this the case.
Also, if the avionics system is not isolated, it should call into question the FAA's approval process for aircraft.
Honest advice? Hire someone to do it. There are so many things that you won't know about how to make things manufacture-able it would be worth your time and money to just pay a contractor/employee to optimize things for you.

(shameless plug, my username @ gmail.com if you would like to discuss what services I can offer you)
TeslaCrypt: Learning the human costs of ransomware
What Is Enforced Transparency? A Western Trend?
Along the same line of this post is sigfpe's "You could have invented monads" http://blog.sigfpe.com/2006/08/you-could-have-invented-monad..., which has convinced me at least a few times over the years that I could have invented monads (until I promptly forget all about it the next day).

I just need someone to convince me that I could have invented monad transformers too, because while I now think I can use most of the common monads by themselves, trying to do multiple things at once just ends in (metaphorical) tears.
Taoism agrees with you.

From chapter 20:

Other people are joyous, like on the feast of the ox,
Like on the way up to the terrace in the spring.
I alone am inert, giving no sign,
*Like a newborn baby who has not learned to smile.*
I am wearied, as if I lacked a home to go to.

Other people have more than they need,
I alone seem wanting.
I have the mind of a fool,
Understanding nothing.

Source: http://www.taoistic.com/taoteching-laotzu/taoteching-20.htm

Commentary: http://www.centertao.org/tao-te-ching/dc-lau/chapter-20-comm...
I can recommend Practical Electronics for Inventors. It is very helpful in getting practical prototypes designed pretty quick. I sometimes still refer to it when I need something simple I haven't designed in a while.
The real question here is still: why doesn't Amazon offer a GET interface to Lambda? It's so, so, so close. So almost. They offer POST (through a work-around with S3), why not GET?

That is the real destination. With lambda serving GETs, we can remove the "for a single page app" from the title. AWS is so close to fulfilling the promise of its cloud: let developers worry about code.
> a blatant appeal to authority

This isn't really an appeal to authority. The claim "has broken more major stories than almost anyone alive" is suggesting that the probability of the current story being true is higher, given the unusually large number of successful stories previously published by the reporter.

The claim isn't that we should listen to the reporter because he is some sort of expert or that is he occupies a position of authority. Any problem with inferring the probability of a new event from a record of past events would would be an error in the inductive inference. (i.e. the black swan problem http://en.wikipedia.org/wiki/Falsifiability#Inductive_catego... )
How many corporate media outlets are actually doing reporting, investigation, sourcing, etc., versus merely repeating stories from upstream PR firms, anonymous official sources, or talking heads?
>For instance, in Haskell, it is no longer so easy to hide side effects behind a pure interface.

This is not true. There are a number of ways to do this in Haskell.

Also this is tantamount to, "my programming language won't let me lie", and is often associated with an infacility with Haskell. I mean no offense, just speaking from experience.

You don't need to hide effects behind a pure interface once you're comfortable with the abstractions provided.

Edit: tel's comment is quite good as-is, but I'd like to add that part of what makes ST nice isn't just having an eliminator, but also so you have a more precise delineation of what "effects" could happen. IO is kind of a big type. Still very valuable.
"Anything that fits into a bag."

I've got a propane torch, a fire extinguisher, various household cleaning supplies, and about 100 lb of ceramic tile to get rid of. And I have some 3 mil "contractor bags" than can handle more weight than I can carry.

My current plan is to drive the hazardous waste to recology. If someone could do it for me it'd be nice, but I'm not sure that's even legal. Still working out the tile thing. Not sure Habitat would want it. I've also got a bunch of paint, but I know where to take that.
Currently, Firefox Nightly uses one process for the browser UI and a separate process for web content. However, one web content process is shared by all tabs. So slow JavaScript in one tab won't block the browser UI, but it will block web content in other tabs.

You can change this by increasing the "dom.ipc.processCount" preference in about:config, but there are still some known bugs with multiple content processes in desktop Firefox. There will be more work on multiple content processes in the future.
An article from March that explains the split in a bit more detail: http://hackaday.com/2015/03/12/arduino-v-arduino-part-ii/
I'm afraid your answer makes it very clear that you in fact do not understand the concept of a welfare trap. They exist in many countries, whether you believe in them or not. It's existence was documented in Germany just two months ago. [0]

Let's be honest here: we're talking about low paid unskilled labour. The first rung on the ladder out of welfare. Such an abundance of those positions exist that the US imports Mexicans, Canada imports Filipinos, and Germany imports Turks.

The type of solution employed in Germany is essentially forced labour.
[0]https://www.wsws.org/en/articles/2015/03/11/germ-m11.html
Why was the title of this post changed?

It's far less accurate and no longer reflective of the title of the post.

Frankly, in a conversation about the media's disgraceful reaction, you probably shouldn't change the title to support the same political agenda as the dominant narrative.
So the beneficiary is the CIA and the benefit itself is that they still get to torture people? That doesn't seem like a very big benefit.

edit: I should make it clear that I think Hersh's story is interesting and I really wish other journalists would focus more on the story than on trying to assassinate his character.

I just don't know if permission to torture is a high enough prize to justify a cover up, especially since they could easily just torture people anyway and scrub the evidence if they're willing to resort to subterfuge.
I work for a company that makes online and runs online slots. It is likely true that some people discover that they have an addiction and blow a fortune, probably on slots that I made.

Thing is I know that a lot of our customers really, really love it, because we spend a lot of time making the games really great and fun to play. They know that at the end of the day they lose money, but the same is the case for going to the movies (cost of tickets + drinks), a theme park, etc.
For your insinuation that adults can only be happy if they have children, you can kindly go fuck yourself.
It's well known that machine learning is currently useful for solving some problems and irrelevant to others. As is the case with all existing ai algorithms. ML is not strong ai and nobody has ever claimed it was, so it seems to be an odd criticism.
1. Contextual Electronics does have a really good course on kicad.

2. Kicad is a very good PCB software package.

Word of warning though, kicad is currently in a state of "flux" with the latest stable from 2013, and the bleeding edge versions having all of the features you want to use. I personally use nightly builds and the 2013 version quite often, and neither are what I would call professionally stable.
Petuum, a distributed machine learning framework
Ack! You shared my blog post! Thank you, Aaron Lidman! I feel important!

EDIT: ok, now your submission has been flagged. Oh well. WTF?
Since lamba is already handling the backend api calls, couldn't you just host the html and js in s3/cloudfront and not have to host anything?
How much will process-per-tab increase memory usage?
I just returned home from hauling most of my clothing to the local Goodwill. On a related note, I look forward to seeing more people wearing startup/conference t-shirts around NYC, since they comprised the lion's share of my wardrobe...

I've been researching these services for the past few weeks since I've committed myself to liquidating most of my belongings (I live in a small apartment with no closets -- thanks New York! -- and was inspired by this blog post: http://www.raptitude.com/2011/01/i-dont-want-stuff-any-more-...), and would prefer to see them in the hands of friends and those in need rather than a landfill.

Does anyone have recommendations for where/how to donate more valuable items? For example, I want to donate an expensive drone I never use, but would prefer to see it go to a classroom/after-school program. Thinking I'll search DonorsChoose.org and offer things to teachers, but is there another service?
To clarify coolsunglasses's note that it is actually possible to hide side effects behind a pure interface (when they can be proven pure) here's the "counter" example in the paper

import Control.Monad.ST
import Data.STRef

data Counter s = Counter { get :: ST s a, inc :: ST s () }

mkCounter :: STRef s Int -> Counter s
mkCounter v = Counter (readSTRef v) (incRef v) where
incRef ref = do
i <- readSTRef v
writeSTRef v (i + 1)

A little noisier since we note that reading the ref is an impure action and we track a phantom `s` parameter around in order to convince Haskell that certain uses of counters are pure. Now

comp :: ST s Int
comp = do
v <- newSTRef 0
let c = mkCounter v

inc c
inc c
inc c
get c

This is technically a pure computation despite using an impure mechanism internally. We can get Haskell to prove this for us

pureComp :: Int
pureComp = runST comp

Here `runST :: (forall s . ST s a) -> a` completes the proof that if the `s` variables in a computation are completely undetermined then that computation must be pure.
The problem with e10s (Electrolysis, codename for multiprocess Firefox) is it's actually less concurrent and runs far worse than normal Firefox, at least currently. It's downright unusable.
I reverted the title back after reading your comment, but on reflection, I think the edit is correct, so I'm going to put it back. I don't feel strongly about it, though, so if you all do, we'll restore the "disgrace" bit.

Generally we want HN titles to say what an article is about, not tell people what to think about it. This article is about media reaction to Hersh's story. For HN purposes it doesn't need to say more than that. The presence of the article near the top of HN already says a great deal.

Moderation decisions on HN aren't driven by political agendas (at least not that I know of). It should be clear from the fact that this article is currently #3 that we don't have a problem with critiques of dominant narratives, as long as they're substantive. I'd say this article clears that bar easily.
at the time of this writing, this post is at the bottom of the page.

and it's probably the best one written.
I know this is pretty simple, but I never ever did at any point implement a hash table, just went more or less straight to programming in Assembler in a semi-mature system, then to MFC on Windows since about 1998.

Performance-wise, my single-threaded test runs about 6 times faster than the equivalent JS, which puts it in the C ballpark.

I was really pleased about the performance under multi-threading. With 4+ threads, it's near to being 4 times faster, and the bucket lock only spins occasionally (prints a few '.' but still works).