skysight-inc/HackerNews huggingface dataset:
I don't know if these programs necessarily need to be inherently wasteful. We need a military to wage war, the military needs planes, it needs to renew its fleet, and then projects need to get started to design these planes.

Now, this project seems like a disaster. But it appears to be run under the old rules of Pentagon procurement (cost plus) instead of performance based budgets.

Let's just consider this $trillion just another boost to the economy, this time not through the banking industry, but through the military. We need a military, and sometimes the redistribution of wealth needs to reach them too if we want to keep them around for when we need them to build space ships, bombs and other necessary war products.
And the wide publicity resulting from the political fallout of a legal case touching TOR, one hopes the 'torch and pitchfork' elements will back off a bit.
Reminds me of the long running fiasco over the new boots in the British army which lead to trench foot in the Falklands war.
As the Army Rumour service (Arsepedia) says

"All in all, the saga of British Army boot procurement is pretty pathetic: that we can consistently buy such rubbish, thus inevitably incurring far higher costs than would be necessary in buying one of the many excellent commercial products, is astonishing but symptomatic of British Defence Policy. At a rough estimate, 50% of British soldiers wear boots they have bought for themselves when on operations or exercise. "
Yes I'm sure you do and I too know many people who improved their lives without going to AA. We're not going to persuade anyone talking about our personal experiences and how this guy Bob we know is doing really well.

Also I'm not speculating and I do have personal experience since you ask, I didn't say you need a psychiatrist and a prescription but from years of talking to addicts and going through recovery myself I've found that setting goals and staying positive and within limits and simple things like looking at changes in a certain way is very effective compared to what seems like a New Years Resolution that you'll likely fail and beat yourself for failing to keep up. Such therapy mentioned in the article can motivate people more than AA-style regimes can and that's more important in the long run.
This post pulls a neat trick: the diagram they criticise is all android devices while their diagram is only phones. And suddenly:

> The above diagram and analysis also only take into account phones, not tablets, _where designing for physical screen size becomes more important than resolution._
The disparity between what the OS can do and what the hardware is capable of delivering is off by a few orders of magnitude right now. It's downright ridiculous how much performance we're giving up for supposed "convenience" today.

What are they talking about?
Previous F-35 stories on HN:

https://news.ycombinator.com/item?id=7989659

https://news.ycombinator.com/item?id=7906501

https://news.ycombinator.com/item?id=7111843
Instead of this:

# Do this
lyrics_set = set(lyrics_list) # Linear time set construction
words = make_wordlist()
for word in words:
if word in lyrics_set: # Constant time
print word, "is in the lyrics"

You could do this:

lyrics_set = set(lyrics_list)
words = set(make_wordlist())
matched_words = list(lyrics_set & words)
for word in matched_words:
print word, "is in the lyrics"
It's true, but the same people voting yes "because jobs" vote no on infrastructure repair and improvement projects - desperately needed work that would also create jobs and have a huge, noticeable positive impact on the general citizenry.

Govn't spending to create jobs is always welfare, no matter where we put the money. Why not put it somewhere that will create the same number of jobs, and have something other than a flaming war plane to show for it?
Allow me to suggest taking a look at QML/Qt Quick. I've only recently started working with it, but so far the UI performance is excellent and for someone experienced with HTML/CSS layouts and JavaScript it's quite easy to pick up. (Also, FWIW, it's more enjoyable than twiddling with CSS.)
Immutability in Ruby: Part 2
There is not. As explained in the review, this is a book about the challenges that inspired the author to write Marionette and some meditations on dealing with them. It's not specifically about Marionette.

So it gives a lot of insight into the framework for marionette users, but it also has plenty of relevant stuff for anyone who uses Backbone, because you still have to solve the same problems (excessive boilerplate, managing child Views, communication between Views)
If it's easy enough to use, it might be interesting for other too. To give an example: my own project is a message processing system as a service, intended for (among others) the massive amounts of data that come from IoT gateways or devices. While we're not quite there yet, we do intend to be able to handle loads that would require this kind of performance. In some applications, millions of messages per second aren't out of the ordinary.

If this kind of library can help us do that, that could save us a lot of time and effort. Time we could use to work on the next bottleneck :)
What You Need to Know About Apple’s HealthKit and HIPAA Compliance
The irony of the F22 being cancelled in favor of the F35 is pretty rich.
Yea, Im not sure thats a good/accurate bashing. This is a highly optimized tool for a very specific task. OSes have very very wide use cases they have to support.
Cached version, without login wall: http://webcache.googleusercontent.com/search?q=cache:SZQxqxt...
I'm interested in two things:

1. What would happen if ACH was fully guaranteed minus chargebacks instantly? What is that worth?
2. What would it be worth if ACH was fully guaranteed instantly PERIOD - including chargebacks? What would that be worth?
War, the military industrial complex, and homeland security are our biggest money black holes our tax dollars go into and not things like food stamps. People need to start to get clued in...

I would like to make sure Lockheed Martin gets mentioned as the incompetent manufacturer in this debacle.
Why does this eat up all my CPU?
Problem is, any politician who mentions a decrease in military spending is demonized by the right and "left".
Android fragmentation is real, but screen sizes are not part of the issue. The whole system is built around the idea of supporting different screen sizes, and provides you with the tools you need to handle them.

The real fragmentation is in hardware support (don't get me started on OpenGL-ES drivers) and manufacturers that modify the OS in crazy ways. It's quite frustrating to receive crash reports with stack traces showing a crash originating in some manufacturers custom code, with no way of knowing what went wrong.
Although this isn't the kind of business that particularly deserves defending, but if US in fact did snatch and grab this guy from the Maldives (Who seem to have no extradition treaty with the US) their actions are far worse than robbing a few credit card companies.
This is usually the problem, almost every single option I've seen is based on dedicated hardware. This is fine for many, but not for those of us running in cloud hosts and other general-purpose locations.
...because it's a list? Tuples were supposed to have a structure (at least that's what all the rest of the world thinks of them), so iterating through combination of apples, cars and languages makes no sense whatsoever.

But yes, Python misses entirely the point of tuples, treating them as read-only lists.

http://dozzie.jogger.pl/2014/04/11/python-tuples-the-useless...
Interesting. Why would anyone do that?
The operating system APIs (sockets) basically cannot delivery to/from userspace anything like what the hardware can do. The classic example is 10Gb ethernet, where if you want to do something like packet switching, you cannot do anything like line rate, due to cost of context switches, memory copies, scheduling, cache misses in the stack layers and so on.

Given that servers are getting 10Gb, 40Gb or more, this is becoming more and more of an issue. The hardware is capable of it, but the abstractions are getting in the way.
I think MultiCam variations (incl. Camogrom) are the best "universal" pattern that will suit most envirnoments, it works well in various lighting contitions too.
It doesn't. The point is not that it reduces available jobs, but that nearly half a trillion dollars could have been spent more directly on any number of options which A) don't involve blowing up people in foreign countries; and B) produce a substantially better quality of life in this country. Basic income, healthcare, even jobs just standing around that paid a living wage.

It boggles the mind.
Show HN: City Chat
I think he is trying to say that because there are so many Android devices out there, you can afford to ignore the troublesome ones and still have a huge market to cater to.
You mean www.codeschool.com? There is no UX for javascript.com.
Yes, avoid reimplementing native UI.

But use native UI where possible.
It was from a little while back, probably Themeforest or Creative Market
I thought $20k was really low. GREAT value for Facebook. In the hands of black hats, trust in Facebook could have been destroyed before they had time to patch the vulnerability.
What an amazing site to build as a companion to a video game. Can anyone explain if this is somehow integral to the game itself?
is it an anti-pattern to call something an anti-pattern because the author isn't sure what an anti-pattern is?
Or rubyst:

a_list_of_words = %w{my list of words}
I am with eps here. I would rather manually update something then use an relatively unknown package manager. Even if the package is from Github and MS is behind the package manager.
> Secondly, your UI shouldn’t mimick the native style of the platform.

hmm..?

> After all, it’s another case of copying the looks and the two reasons mentioned earlier apply here too. It still is time-consuming and distracts you from thinking about your user’s actions.

From a development perspective this may be true, but from a usability/UX perspective, this definitely isn't. It's not just about copying.
Damn, you are on fire Daniel! :-) thanks
Just trying out the tutorial: there may be an error on step 11.

followed the instruction to type out 'a' : [] and got:

λ 'a' : []
can't find file: Imports.hs

It worked when I clicked on the command, but that may not be obvious to a new user.

λ 'a' : []
"a":: [Char]
$399B is enough to have funded NASA from 1980-2012.

Source: http://en.wikipedia.org/wiki/Budget_of_NASA#Annual_budget.2C...
This really seems to be a matter of "cars can be used as getaway vehicles, so we should sue those who make the highways".
It's a good and accurate bashing, irrespective of what this tool can do. Even more so once you remember that the networking equivalent of Moore's law tapered off about 10 years ago.
The Uber for real estate rentals
Marketing and Advertising is Yesterdays News
300% Inflation
hate paywalled articles posted here.
It first mentions enumerate as a footnote after looping with a range:

https://docs.python.org/2/tutorial/controlflow.html#for-stat...

But the tutorial in the Python docs has pretty high information density and good coverage of things like this.

(I think there is some risk that this comment will be interpreted as If you don't know enumerate you need to look at the tutorial. That isn't what I intend, I just want to point out that the tutorial is a reasonably dense resource that hits on a lot of stuff like enumerate.)
I didn't put that signature there, whoever deployed my repo did. I've asked several people to remove it.
I was involved in one of these; interesting project. http://www.argondesign.com/case-studies/2013/sep/18/high-per...

The 10G interface is presented as 64 bits of data every clock cycle, so if you can express your algorithm entirely as a byte-by-byte state machine you can parse messages with minimal delay.
I was confused reading your comment, because I assumed the "they" in your first sentence meant those that wrote the editorial. But based on the rest of your comment, the "they" must be the military bureaucracy, because your comment agrees with the editorial.
I see a lot of figures in the "millions"

Pfft! That's like me buying an ice cream at McDonalds with the change I find in the little cup holder of my car.

Wait! It also says 4b to replace all the "flawed" stuff. Hmmm, let me think: that like a small family dinner.

In the overall scheme of things, this is nothing.
Because a location often adds context? You can turn it on/off very easily on a tweeet-by-tweet basis.
Slightly tangential point but - Its weird that its normal to not be using any of the above mentioned technologies. It was unthinkable in the very recent past to not use (directly or indirectly) MSFT, Adobe technologies at all.
The very first example I see, the infinite sequence of primes, seems to indicate it is Eratosthenes' Sieve, but it is not. http://www.cs.hmc.edu/~oneill/papers/Sieve-JFP.pdf

In fact, the correct implementation, with some discussion of the bad performance characteristics of the example on the front page, is in your own wiki: http://www.haskell.org/haskellwiki/Prime_numbers#Sieve_of_Er...

Reading further, it looks like it is the correct implementation of "Turner's Sieve", but I don't think (though I may be wrong) that I'm in the minority that sees "prime" and "sieve" and thinks "Eratosthenes".
This part of the article seems key:

"only the Justice Department and the FBI are permitted to attend its proceedings on domestic surveillance"

That is, it looks like the NSA is the 'responsible agency' only on foreign communications, and the domestic cases are the responsibility of the FBI, even if the surveillance is carried out by the NSA.
You are correct, I read the article early in the morning before coffee, and thought the Economist was taking the side of the Marines, et al. There's a lot of Marine veneration in the media, surprisingly.
U.S. 15-year-olds score average in financial literacy
AMA how to grow a startup with inbound marketing
How the Hatch Shell Went From a Summer Hotspot to Boston’s Most Underused Venue
(Not legal advice, etc)

I'm not familiar with Texas civil procedure, but assuming they follow the federal rules on this point, the complaint as to Tor is probably underspecified. In a complaint, a plaintiff does not have to make out her full factual case, but does need to make sufficient factual allegations to raise a cognizable claim.

To make out a case for civil conspiracy in Texas, you have to show: 1) a combination of two or more persons; 2) an unlawful purpose; 3) a meeting of minds as to the purpose; 4) one or more overt, unlawful, acts; 5) damages.[1]

The plaintiff here alleges that Pinkmeth and Tor had a "meeting of the minds" but it is insufficient to simply parrot one of the elements of the claim. The plaintiff must allege "enough facts to state a claim to relief that is plausible on its face." Bell Atlantic Corp. v. Twombly, 550 U.S. 544, 570 (2007). For example, the plaintiff must allege that someone affiliated with the Tor project provided Pinkmeth with technical support, from which we might infer a "meeting of the minds" as to the unlawful purpose. If the plaintiff can't make such an allegation, the complaint is probably going to get dismissed as to Tor.

[1] http://www.texas-opinions.com/law-civil-conspiracy.html
My apologies. I'm not seeing a paywall on this page.
People are scathing about the USMC's desire to look distinctive, and about senior officers' desire for soldiers to look good.

Obviously fashion shouldn't trump everything, but looking and feeling the part is a considerable part of the moral component of fighting power. I think denying that is denying some basic human psychology. Why do armies spend money on flags, dress uniforms, buglers, horses, mascot dogs, medals, bands and so on? It's because the ethos they create is a seriously important part of building a group of men who can operate together in extreme situations.

The USMC and other branches are worried about how their uniforms look and how distinctive they are because it's one essential part of preparing to fight a war.
Of, off the top of my head:

for word in (set(lyrics_list) & set(words)):
print('{} is in the lyrics'.format(word))
And the slides are here:

https://speakerdeck.com/pyconslides/transforming-code-into-b...
I don't understand why I had to put my browser into porn mode to read this.
Brogue[1] is an acclaimed roguelike that follows in the tradition of substantial procedural content for that genre, and exists on IOS[2], at least. You might find others at: [3]

[1] https://sites.google.com/site/broguegame/

[2] https://itunes.apple.com/us/app/brogue/id613921309?mt=8

[3] http://forums.roguetemple.com/index.php?topic=3697.0
Sure, but you know about that going in.

I would not agree that people know about those things going in. Some techies do. Very few non-techies do. Some techies are suprised when you tell them the extent of the limitations. Some are just so used to the ecosystem that they don't even think that there might be a use case outside of it.

The problem with Google is so many of the product...

The lucky thing about Apple is that people seem so willing to forget their cavalcade of turkeys. But anyone else who makes a misstep - google, microsoft, whomever - bang! never let it be forgotten.

The first gen Nexus 7 tablet with not TRIM on the flash storage for a whole year leading to rapidly degrading device performance

And here's a case in point. Google 'has a problem' because of the design, but we happily ignore the "you're holding it wrong" event from Apple, a problem due to an astonishingly fundamental design flaw. And wow, you're listing a bunch of first-gen hardware issues, something every large-scale manufacturer has issues with.

Apple does almost all of the things you're pinging Google for in this comment, and it befuddles me that you give them a free pass for doing so. I really don't understand why Apple gets the kid-glove treatment when it comes to criticism.
You can't possibly have a de-layered system on virtualised cloud hardware!

Besides, dedicated hosting for a 1U or 2U rack machine is not expensive. If you have enough traffic that it's worth building your own TCP solution, you already have enough servers that you're spending a considerable amount of money on.
A torrent tracker is a directory over content and distributors, and the legal liabilities has so far been limited to mostly conspiracy charges. You would have to show that there was a "agreement between persons", which require a "meeting of the minds". Doing so is sometimes possible because the torrent tracker has knowledge of the relationship of distributors and content.

Second, as a legal matter, too much indirection is typical not acceptable for accessory crimes. Common practice normally allow only one step of indirection.

ARIN lacks in both aspects. ARIN do not know who is a distributor, or what content those who are distributors might carry, and as logic implies, can't know the relationship between distributor and content. They are also several indirection away from the alleged crime. The only thing ARIN handles is location of network nodes.
I believe the Marines are also responsible for ruining the F-35 to the tune of $1 trillion over the lifetime of the plane.

> The Pentagon intends to spend roughly $399 billion to develop and buy 2,443 of the planes. However, over the course of the aircrafts' lifetimes, operating costs are expected to exceed $1 trillion. Lockheed has carefully hired suppliers and subcontractors in almost every state to ensure that virtually all senators and members of Congress have a stake in keeping the program -- and the jobs it has created -- in place.

The Marines wanted VTOL and that made the plane worse in every other way.
No one but a tiny minority is even aware of the duality.

It's nice to be able to rely on JS being there, just like it's nice to rely on having the correct DOM constructed since HTML parsing has been standardised. There are things that are much easier to do this way.
This is called idolizing the pastoral. The Pastoral was/is a popular literary genre/device.

Essentially, when we get disconnected from 'the simple life', we glorify and idolize it.

Having come from back-woods, subsistence farming to a white-collar, higher education job, I can tell you that (a) very few people understand the amount of stress and work required to survive in subsistence farming, (b) seriously, stress; you can starve, or (c) how much it sucks to do without modern conveniences like computers, internet and electricity.

Ever wonder why current day subsistence farmers aren't well known for their poetry or art? Because they spend all of their time finding and growing food.

In the future, I think we'll see a combination of McJob and responsibility for one's own future, much as we've seen for every generation before. The more things change, the more they stay the same.
Looking good is what dress uniforms are for in a fight you are concerned about other things than the CDI (chicks dig it) factor.
the point is not the releasing to AppStore but the download from app store.
You could release a webApp to appstore but not download it from the store.
Maybe I'm a moron, but the entire concept of "native look and feel" means nothing to me. I have used android for about 5 years and have played with plenty of iOS devices and I'm still not sure what parts are native. Apps all have seemingly different look and feel. We certainly never sweat nativeness on the web going for consistency across OSes instead. It seems like going to native look is not even a desirable thing.
In their case though that wouldn't have been a problem as each word was split on a single space.
Gingerbread is down to 13.5% which is really great and with Google's new Android One program, I think you will see that number drop significantly.
As a military member who has worn three separate uniform implementations over the past 10+ years I can tell you that no-one who is serving thinks the changes are anything but silly.

Everyone I knew thought that the introduction of multicam in AFG was a great jumping off point for all the services to share a uniform - but of course that will never happen with all the GO level pissing matches that happen.
I highly recommend the intro to data science course on coursera:
https://class.coursera.org/datasci-002

Even if you have only a little programming experience if you spend a fairly reasonable amount of time on this you'll come out with a lot of practical knowledge which will allow you to jump into more advanced courses. (It has a bit of python, SQL and R).
You know you are big when you get sued by random states for doing nothing wrong
They probably wanted a V2 harrier - which I am sure BAE would have loved to make but politics got in the way of buying a foreign plane.
I can't think of a single case where using sentinel values is necessary or appropriate in Python.

Generally speaking, one should just return from within the loop.
What making the "Hacker News" Front Page did for Spiral
http://www.openonload.org/ is an open source kernel bypass stack, although out of the box it only works with (somewhat) expensive Solarflare NICs
I found the ARRSE completely by accident - quite an amusing site (probably NSFW):

http://www.arrse.co.uk/

e.g. "British Military Procurement Mysteries"

http://www.arrse.co.uk/wiki/British_Military_Procurement_Mys...
I've been reading "Learn You a Haskell for Great Good" and it has been going much more smoothly than it has apparently been going for you. It addresses pretty much all of your complaints.

http://learnyouahaskell.com/
How we turned 65M location points into mesmerizing visuals
It wasn't an objection. I was just pointing this out for people not familiar with the other tools I mentioned.
Tiny Houses Big With U.S. Owners Seeking Economic Freedom