skysight-inc/HackerNews huggingface dataset:
The 9/80 is pretty standard in the oil and gas industry.
There are few topics that create as much controversial conversation. The well known ones are religion and politics, the third is 'diet/exercise.' Always a lot of energy.
> 30+ years ago

That's barely in the 1980's or late 1970's, well after the events being described in the articles I mentioned.

Can you contest that Von Neumann considered programming a clerical job?

> That paper you linked to is fallacious beyond belief.

Well, I suppose I would have to read his citations too, to check if they were all lies as well.
makes sense as a simple deployment tool too i guess? simply mount the stable branch in your 'www' directory and you can push to deploy (for a static files based site at least).
You say it like it's some mark of shame.

They built a product, found success, a bigger company wanted it, and then found more success via acquisition.

What's wrong with that?
Like, if you initiate aggression, you can expect aggression in return. In the same way that you would defend yourself if someone attacked you. Those self-reflective thoughts we all have.
So now the state knows when and where I am ID'd? Thanks but no thanks.
> I'm not sure why Scala is so obsessed with it, since it's used for so many featurse

You might check out http://stackoverflow.com/a/8001065/3614122. The interesting thing (to me) is that the majority of those are actually the same feature (lifting functions). It's just such a powerful/flexible one that it's often misinterpreted as an entirely new thing in different contexts.

ary.map(_ * 2)

Is no different than:

val f = (_:Int) * 2

ary.map(f)

Or:

val f: Int => Int = _ * 2

ary.map(f)

You're just using type-inference in conjunction with lifting. I wrote a blog post on it that's maybe not complete garbage. ;-) http://www.ssmoot.me/scala-s-magical-placeholder

Some of the other examples of the underscore are pattern-matches, which can be used on the LHS of assignment, similar to Erlang. Which comes in handy writing unit-tests. i.e.: If I expect something to return Some[User], and I'm writing a GET->UPDATE integration test, then I'd probably do something like:

"Update should not blow up" in async {
val Some(user) = await(db.get(userId))
val update = user.copy(name = "bob")
val Success(result) = await(db.put(update))
}

Extractors/Pattern-Matching is way way up there for me. Much more significant than for-comprehensions. Though you could write the same code like:

"Update should not blow up with a for-comprehension" in {

val test = for {
Some(user) <- db.get(userId)
update = user.copy(name = "bob")
Success(result) <- db.put(update)
} yield result

whenReady(result) { "whatever" }
}
What's the performance like? That was always the downside of Clearccase - all the indirecting slugged the machine.
How is metabolic slowdown a defect? I don't see middle-aged people dropping dead around me, so clearly all that has happened is that their bodies are now more efficient. Great news!

And piling on fat making it harder to exercise? Sure, on the face of it that's true, but usually the one happens because theres a dire lack of the other.
I really enjoyed that article. I read it over a year ago while I was doing Udacity’s [Intro to Computer Science](https://www.udacity.com/course/cs101) course where you learn to build a web crawler and implement a basic page ranking algorithm.
Could the downvoters give a response? - I presume you are downvoting because you disagree with wasps - I'd like to see your argument. Thanks.
Ask HN: How can I get your attention?
Hello HN. I've been in presales for almost 20 years, the last 15 in management selling software solutions to enterprise for a fortune 50 company. I'm incredibly well compensated but feel I've plateaued in terms of career growth due to limited movement in our senior management ranks. More importantly, I am really not interested anymore in the software we sell. During demos of our 'latest' product I sometimes have to pinch myself to keep awake. Long story, but short(ish) set up to question: I'm really interested in small disruptive software companies. Especially those that are in B2C rather than the B2B, the companies with those ideas that make you say 'wow', why didn't I think of that? The problem (I think) I am having is garnering attention from such companies due to my long tenner in somewhat unrelated software fields. I've sent resumes and typically I hear nothing, or I am outright turned down. So, after all that, here is the question: Has being in enterprise software for a large company for so long tainted me, and what can I do differently to draw the attention of the companies I am interested in?
Because if there's a \ you want to skip over the next character, even if it's a ", but if it's not escaped then you want " to be the end of the string.
Especially me. I'm even cheap!
It's not something for which there is "my understanding" and "your understanding".

It's obvious stuff. If you punch someone in the face you can expect retaliation. If you trade with others you can expect peace for the duration of that contract. And so on.

I'm not saying there's a list of the natural laws that I imagine people know of. There's no list. There's only the obvious stuff. Obviously I'd have to retaliate if I thought my life were in danger, and obviously I'd do my best to keep alliances that benefit me. Others will do the same. It all ends up working itself out. No need for a Hammurabi.
Not in 1992 you wouldn't.

This is a strange thing to say without explaining anyway. Would you care to expand on your point? I would expect Ada to run orders of magnitude faster than Python for a task like this.
Hackable Roomba Integrates Raspberry Pi
This is very true, I'm a creature of habit. When I go to restaurants I always order the same thing, at home I eat the same things. Each week I rotate the same few options. To me it's very satisfying (my wife hates it, she ventures out more often)

Right around age 25 or so despite nothing changing in my life other than my age, I started to gain weight. Very slowly, but it was adding up.

After doing some calorie counting I lost about 30lbs over 8 months, and returned to my original weight. Though since then I've been struggling to find the right number to increase to. The suggested number of 2000 seems to be too high.
This seems nice as something that sits as a layer over any typical file system, giving a user basic version control without extra effort.
Ok, understood. Thanks.
Imagine a bizzaro world where everybody uses smartphone IDs and iowa was introducing a first of its kind plastic ID card.

I bet we'd see a comment just like this at #1.
This link: http://aphyr.com/posts/281-call-me-maybe-carly-rae-jepsen-an... explains everything ;)
so authorities / anyone can now pull someone's license wirelessly and know who's behind the wheel without actually pulling them over?
The stack trace contains the stacks of all the goroutines. The running goroutine which caused the panic is printed first, so it should be pretty easy to find the source of the problem. At least I haven't had any issues in debugging complicated apps with thousands of goroutines...
Yep, the Aegis Combat System is almost all in Ada (but simulated and developed mostly in C++ and Matlab)

http://en.wikipedia.org/wiki/Aegis_Combat_System
Sony fights spread of stolen data by using “bad seed” attack on torrents
USB Armory: An Open Source USB Stick Computer
Hands-on with Remodel: A New Python ODM for RethinkDB
> Did you know that US Presidential Elections use 10M+ voting machines that are closed-source, and made by a company friendly to the Republican Party

Yet republicans have lost 5 of the last 6 presidential votes.
I am wondering what a ballpark figure would be how long it would take to set up an instance of this for a given scientific field for example. Days? Months? Years? I fear it is probably the latter.
This may have to do with the parasite and disease burden people in developing countries have.

http://www.economist.com/node/16479286
How can we tell a psychopath?
The Web Index 2014-2015 Report
The problem with this is simple: IDs are meant as visual verification. By making an app to do this, you are now by definition allowing my machine to create my identity. Therefore, it stands to reason that you will need a visual way to verify that the machine created the right identity which in my opinion is a bad problem to have. Therefore, people suggest using a machine to verify the id, but that defeats the purpose of having visual identification.

A simple hack utilizing this vulnerability that would be hard to fix is getting someones phone and then replacing their image with yours (e.g. by running the real program in the background and an overlay to cover their image and replace it with yours, you could get fancier and find the distortions in the image below and apply them to yours as well). In any case, the key here is that a human looks at the image, not a machine.
I know I can predict the path of a ball when I throw it in the air. And I can repeatedly test this to prove I can predict it.
Scale MySQL using PHP’s mysqlnd and mysqlnd_ms plugins for read/write splitting
> A design pattern demonstrates a solution to a common programming problem!

That's true, but the recipe style presentation and implementation of design patterns demonstrates a common problem with programming languages -- lacking sufficient expressiveness to implement a general solution as reusable library code.

However, there is nothing really special about OOP here except that the industrial popular languages at the time when documenting "design patterns" (using that name), including implementation recipes, as a solution for recurring problems to which library code wasn't an adequate solution happen to be statically-typed, class-oriented, OO languages.

Somewhat similar things existed prior to OO dominance, though the adoption of the "design pattern" term and some of the structure of typical description from architecture hadn't happened yet.
Couldn't they use the same technology they already use on the back of plastic ID's to verify an ID?
The problem seems closer to DRM than code signing though.

Since I'm handing you the device I am in complete control of the output and can clone the output of another card or any signing cert/key embedded in the app. The incentive to do this is to: a) Get into a bar or b) Avoid being arrested on an open warrant. Either of which I can see someone paying and risk breaking the law to accomplish.
I primarily program Android and have talked to many other Android programmers.

The primary blunder companies make on doing an Android app is they pretend they're making an iOS app. This is very widespread.

The company has a database. They have a website. They have an iOS app which connects to a web API connected to that database. They have a designer who makes his 2 (or 3?) designs for each iOS form factor.

Then they decide to make an Android app. The web API is usually OK. But it becomes decided that the company will ignore that Android's come in tablets, very small phones with low resolution, phones with very high resolution, "phablets" etc. It becomes decided that the goal will be to make a pixel perfect design (just like for the iPhone!) for the Android phone the designer has, and perhaps the other one the boss has, and then to just pretend that the other 99% of the Android market does not exist.

There is more Android work then experienced Android programmers, so some inexperienced kid right out of college is the programmer on the project, who is easily intimidated by the designer. They proceed this way until weeks and months go by and the CEO realizes the app looks like junk on tablets and most phones, and then blames the programmer for this situation.

Anyone thinking of stepping into a role as an Android programmer should get everyone on the same page about the UI goals before he agrees to work on the project. Especially between you and the designer and whoever your common management is, perhaps all the way to the top. Because the easy way is for the designer to do what he did for iPhone - 2 designs for the 2 phones he has access to, which are pixel perfect (which is completely pointless if it looks like crap on 99% of phones).

This situation arises again and again and again.

If there's any secondary thing, I guess it would be how far back you want to support Android in terms of versions. You really don't want to support something before v3.0 if you can avoid it.
Where is the original open source release from Silicon Graphics which Yahoo based this work on? Did they ever make one?
If the tech field were evenly split 50/50, do you think women wouldn't comment on the attractiveness of guys? I think we need to be more realistic.
I'm hoping to move up closer to y'all sometime early next year. Pretty radical to see so many people from the hammer on HN.
The search results where garbage if you didn't know that you had to click "SE" to sort by number of seeders.
I apologize for hijacking the thread, but this is a moderately interesting story.

My father was a child in central Italy during WWII. He was about 8 years old when the Americans pushed the German line north of his home town in 1944.

My father tells a story about how after the Germans were safely gone, he and his friends raided an abandoned German supply depot near his home. Inside, they found an unusual typewriter with built-in rotary dials. They had no idea what it was, and eventually they carried it to a nearby field and blew it up with explosives that they also stole from the depot. I have no idea if it was an Enigma machine, but it kind of fits the description.

Also, this is a tremendous story that took place near his hometown (http://en.wikipedia.org/wiki/Gran_Sasso_raid). Unfortunately, the bad guys pulled off the daring raid.

*edits for clarity and I think the year was '44, but I don't recall clearly anymore.
President Obama Is Not on GitHub
Feynman: Uncertainty of Science, Values [pdf]
It doesn't. It's invalid code in most (all?) cases.

scala> val f: Int => Int = _ - 1
f: Int => Int = <function1>

scala> val ary = Array(1,2,3)
ary: Array[Int] = Array(1, 2, 3)

scala> ary.map(f(_ * 2))
<console>:10: error: missing parameter type for expanded function ((x$1) => x$1.$times(2))
ary.map(f(_ * 2))
^

You can't think of "_" like a placeholder. It's not. It's to lift an argument of a function.

So simplify it: map in this context wants a Function[Int, Int] right? So f(_ * 2) must return a Function[Int,Int]. But it doesn't probably. _ is lifting some argument out of whatever f is. If you assume _ is an Int, does f take a Function[Int,Int]? No. It takes an Int. So there's no way to parse this that makes sense. It's not just "I have a stack of vars, pull one off the stack and bind it every time I write an underscore, reading left to right". That would be some AST generative grammar hack. That's not what the underscore is. It's simpler and more consistent than that.

What you're probably looking for instead is Function Composition. So something like:

scala> ary.map(f compose(_ * 2))
res10: Array[Int] = Array(1, 3, 5)

So why does that work? Because we were able to compose f() into a larger function that satisfies the signature of the argument map[T](Int => T) requires. A lot like a Stream conceptually.

(Is it correct to say in this context f() is a Monad? I'm not sure, I need to sit down and grok the category stuff sometime...)

Or you can write it the long way (calling f inside a new function). But instead of defining "steps" you'd be creating a new imperative function and driving the stack.
Not everything is in packfiles right away.
Type 1 (!) diabetic goes off insulin, "indicating restored insulin production"(!): http://www.ijcasereportsandimages.com/archive/provisional_ar...

Type 2 diabetics improve insulin resistance: http://www.ncbi.nlm.nih.gov/pubmed/22673594

Or, you know, just put diabetes into remission and stop medication: http://www.ncbi.nlm.nih.gov/pmc/articles/PMC1325029/

Pro tip: You may not need drugs to treat diabetic cases. Diabetics, barring genetic mutations, may just be carbohydrate intolerant.

Or just take some brand new drug that fucks with your body's chemical status and disregard how your body responds to food.
Yes, a ternary would be clearer, to me. I wasn't sure what was happening with the * (and thought maybe it was some use of the "whatever star" in Perl 6, when I was thinking it might be Perl 6, though it doesn't look like any use of the whatever star I've seen), but I just assumed it made sense to someone who knew the language well. It's been a decade since I worked in Python with any regularity.
And what if I have an encrypted phone? Can I be compelled to turn over my password? Or my thumbprint? If I use the equivalent of a dead man's switch that wipes my phone if law enforcement tries unsuccessfully to get in, what then?

There may be case law that covers this, but I am genuinely curious.
Merging is pluggable and the currently implemented strategy is to merge always accepting the local changes. Actually we are currently using it in an environment in which multiple edits on the same file can be made and as in the case of "regular" filesystem the last one closing the file wins. The advantage is that you will have all the revisions.
Why 2014 Was a Troubling Year for Video Games
I remember trying candidely git and svn (around 2008 so..) on a webdev project involving many images including some xMB PSD files. Surprisingly the git repo grew sublinearly, while svn was absuperlinear.

With git packing, the full repo with a bit of history (mostly adding some php and a few images) ended up smaller than the original windows native folder. Version control and compression; nice :)
I do believe it was. The Simsups threw a 1201 alarm at them, and the controllers got confused, and Kranz called an abort. Afterwards, they told him, "It wasn't an abort, you should have continued the landing...I thought you guys had it, but then you went off the rails and called for an abort...You violated the fundamental rule of Mission Control: You must have two cues before aborting. You called for an abort with only one! " As a result, one of the controllers went more into depth on program alarm codes, and they put a rule in dealing with which alarm codes would be grounds for an abort. Neither 1201 nor 1202 were on that list. They saw both those alarm codes during Eagle's descent, and were able to say, "We're Go on this alarm...we're still Go, same type, it's a Go." And the rest was history.
Show HN: I wrote an OSS message queue for your embedded devices in Go
Well, they could always do this by running plates.
Storm in SF has knocked out power to the Internet Archive, the site will be down
Ask HN: How do non-traditionally structured companies manage accountability?
Companies like Valve, Github, Zappos, Treehouse, etc.
Nimble VR, 13th Lab, and Chris Bregler Join Oculus
Because plastic cards are unfakeable now.
Are the advantages of the new toolchain available anywhere?
Power is off at Internet Archive, people are keeping track of any water leaks
We have given some answers (together with vtemian) related to some of the use cases that we see possbile and to the need that it led to its creation in the first place. But since it's open-source, we are also expecting fresh scenarios in which people would like to use it. Also, contributions are more than welcome! :)
That's just a red herring to make you think they aren't rigging elections!

</tinfoilhat>
I have been looking into this, and my current idea is tending towards using VMs running DragonflyBSD.

VM-1 - local NFS server that runs DBSD and Hammer filesystem with many nice features (auto snapshots, etc.) Will be fast, especially if the VM-1 is on the same physical host-node as my worker VMs.

VM-2 is remote, and receives the DBSD filesystems I send it. All snapshots etc. from the original FS are retained. If the connection is interrupted, the Hammer sync code will figure it out and restart from the latest successful transaction.
I think I don't believe you. Look at the car and house example above. Is that arcane?
What exactly is going to be easier?
Yahoo Rick-rolls dead Geocities links
"We believe that the future of smart homes will not be found in a centralized device but in an integrated combination of screens, speech recognition, sensors, dedicated devices and smart surfaces."

I think the latter part of the sentence unintentionally describes smartphones. I would say that today's smartphones are integrated combination of screens, speech recognition, sensors, dedicated devices and smart surfaces. Pretty damn good as well.

I take issue with the first part of the sentence as well. I think we do want a centralized device with centralized software. People are sick of fridge operating one way and stoves working another. Take changing clocks on microwave, coffee machine, fridge, stoves etc for example. Don't you just hate doing it one by one? Not to mention the fact that they all have different interfaces and work differently.
> Rather than digging through clutter in your glove compartment for an insurance card, you can simply hand the law enforcement officer your mobile phone.

Well that's one way to facilitate a warrantless search. Even without the obvious privacy element, "Sorry officer, my ID ran out of batteries" seems like a pretty common problem.
Unless I am missing something but dumping your entire db then reimporting would take hours in most cases. Staying available during that time would be a nightmare.
...aaand facebook starts to buy news pieces to justify their ad network.

this is nothing more than a press-release for their atlas feature. A new low even for wired.
hmmmmm a litecoin miner perhaps?
> and was previously thought to only exist in rodents, hibernating animals and children

That's patently not true. It's been known that brown fat exists in small amounts in adults for quite a long time.
If I was pg, unless I was writing essays based directly on the YCombinator experience, I would write under a pseudonym. Once you achieve a certain level of fame, it is simply too dangerous and aggravating to write honestly under your own name. This has only gotten worse in the past few years with the rise of angry twitter and tumblr mobs. The world is full of people who wish to punch upwards and tear someone down of higher status. And then on the flip side you have too many groupies who will agree with you just because you are successful. Of course, maybe he already is writing and submitting essays under a pseudonym, we may never know ...
and how soon before EU wide legislation like this makes it was through the halls in Brussels?
The productivity of working hours [pdf]
ScaleUp Brings OpenStack Swift to the German Market with the SME EFSS Solution
I'd argue that in a bigger country there should be more competition rather than less. Of course you have the issue with population density, but if you just look at your densely populated areas, they should allow much more competition than what you have now. Once again it seems to be lobbying leading to monopolies that hamper the economy. People need to start to understand that US style capitalism isn't really deserving its name in many fields - if a market is so skewed it can't be entered anymore, then it by definition can't be a working capitalistic system.
Which will tell you who the vehicle is registered to. That could be your company, an Uber driver, Hertz, your spouse, etc etc.
When Not to Celebrate Failure
Great example of "talk softly, carry a big stick." Thanks Teddy Roosevelt.
Well, sure, bad interfaces to 'smart home' devices will be unpleasant to use. But most things like Wemo, Hue, etc. still let you hit their wall switch. Their 'smartness' is additive, if you have a screen to control them with.

Clearly the reason many connected devices expect you to bring your own screen is cost - Nest notwithstanding, adding touchscreens to everything when you've already got one in your pocket seems unnecessary, and would clearly add to price of these products.
Your last example code is missing a closing-brace. I know no Scala, though, so I'm actually not sure where it should go.