skysight-inc/HackerNews huggingface dataset:
As someone who's been playing with CouchDB and has been become kind of biased towards it, I feel like I need to make a little bit of correction here. Long story short: CouchDB can behave exactly like hyperlog if you want it to, or it can behave as something that gives the user the best information it can to resolve conflicts.

You can think of CouchDB not as a key->value store, not even a key->document store, but rather a key->tree of documents, where each node is the same document at a different revision at some point in time. The root of the tree is the initial revision, and the leaves are the latest revisions: if there is only one leaf (because the other ones have been marked as deleted (which is not a real deletion, it's just marking this leaf node as "not a possible current value") then it's the correct value of the documents, but if there are multiple, then there is no correct value, only multiple choices. When you want to write a new revision, the node that is the parent (it can be a leaf or it can be an internal node, it can even be a deleted leaf!) becomes an internal node, with a new child. Just like git. Except CouchDB doesn't give you any insurance about whether you're going to be able to retrieve the internal nodes' content; the only nodes you're 100% sure to have access to are the leaf nodes. However you will have full access to how you got where you are (even though you usually don't need it, because the real important thing you're interested in is the current (possible) values)

Because you still need to work and you still need to have a revision to work on, CouchDB gives you a way to automatically select one of those conflict revisions and pretend it's the correct one; but flip one bit in the query (just add the parameter "conflicts:true") and it will give you all the conflicting revisions so you, the user, can make a choice. You don't have to; it will continue to work without it, but at some point in time you'd better clean the db and clearly state what is the truth.

The other way to use it is to have something that is quite usual: create a unique id out of each and every version of your object, and store them all in CouchDB. You'll have the insurance that old versions won't be removed, but you'll have to tweak CouchDB a bit to "group" relevant ids together (by using a view, typically). In this usage each key will have a single node, that will both be a root and a leaf node.

Whatever the way you want to use it, CouchDB's replication will make sure all nodes will end up on every peer, whether they are a leaf node or node, whether the tree on a given peer is complete or not. The replication happens in the background, in parallel; it doesn't block the user working on their stuff, and isn't blocked by the user either.

CouchDB has unfortunately suffered from the misnomed "revision" term, and it probably was a bit too early in the game, but it pains me that such a great DB is not more considered as a viable alternative not because it lacks on the technical side, but probably because there isn't enough information/blog posts on it.
My girlfriend does a similar thing with Siri. As a result, a lot of the reminders she creates on her iPhone end in "thank you". She's well aware it's a program and not a human being; I think, in her case, something about speaking a request aloud just automatically engages the politeness filters.
As usual, XKCD provides some help to understand how much energy a supernova is:

"Which of the following would be brighter, in terms of the amount of energy delivered to your retina:

1. A supernova, seen from as far away as the Sun is from the Earth, or

2. The detonation of a hydrogen bomb pressed against your eyeball?

Answer: the supernova, by nine orders of magnitude."

https://what-if.xkcd.com/73/
Then don't cheat by comparing the weight of the motor with starter to the one without a starter. They are comparing two very different things to produce a spectacular head line.
Thanks man! I'll take a look.
Maybe PhP is to hard for you?
Orchestrating Data Pipelines with Luigi and Domino
IMHO the best part is the footnote:
`Looking for a PHP developer for your next project? I'm looking for work!`
Running C# (.NET Core) on DigitalOcean $5/month droplet too much for people?
https://news.ycombinator.com/item?id=2380679
I think every language has somebody complaining about it anyway.
I don't really agree on Go, however it is true that some programming languages scare away beginners.

I wouldn't say that it filters out incompetence completely though. I remember when I was writing Prolog for a school project and wasn't familiar with any of its concepts. I ended up writing terrible Prolog that looked a whole lot like the imperative stuff I was used to (wait, comma doesn't mean next instruction?!).
I second that. I also hope they add necessary resources to grow SmartOS.
Next up some SmartOS desktop / mobile builds
Eylean Board: Agile Project Management Software
To be fair, FB struggled to scale with PHP, although it certainly fares better out of the box (even then). A lot of their work has gone into making PHP more performant and better by way of Hack.

PHP7 took a lot of great ideas from Hack but is still saddled with its legacy.
Not being a developer, but having had lot's of great moments with them, I can say, that in my tangenital environment there are lots and lots of school taught mediocre to bad PHP devs, that always find jobs, but on a very low pay grade (and rightly so).

So maybe there are lots of mediocre php devs pulling the average down?
Once I rented a car in Florence then went to park near the hotel in the centre for one night. As a Swiss I know how to navigate really narrow lanes, but I did fight with the one-way lanes. It was fun to crack the code.

When after a few setbacks I finally arrived at the parking I gave them the keys, because the parking looked like this: https://s3-media1.fl.yelpcdn.com/bphoto/NuvJ0F-ZghStb8vVNLYI.... I paid about $50 for a night.
My anecdotal evidence from the Rheinknie would "prove" the opposite.

And in the year 1990 we already had IT lessons in High School where we programmed in BASIC and Pascal.

I think the social stigma came from the your mother being a single parent. There was a lot of discrimination against them in those times.
http://lmgtfy.com/?q=cmu
MLs are fairly close I would think, Elm is syntactically very similar to Haskell but semantically it feels closer to SML or OCaml (without the O part)
Thanks for the reply. I just thought that 32gb ram and linux is an odd choice for a gaming (only) machine. But the do-it-yourself side of it is something I can relate to :)
Additive Manufacturing infographic by Beam-IT
The Rise of Worse-is-Better
Many people become teachers who have no business doing so. My sister and I, as an example, entered elementary school able to read (perhaps at a 2nd grade level? I had no concept of reading levels until much later so I'm not sure). Her first teacher, fired shortly after this, kept telling my sister she was stupid, couldn't read, couldn't do math, etc. It took her a decade to recover.

My point: On a forum with tens of thousands (more?) of users, nearly every permutation of awful or incompetent person will have been encountered by someone here.
This is one of my fears, as I work primarily modernizing PHP applications.

I think it's possible my salary has hit a plateau. Most SMBs do a false equivalence between PHP developers and junior developers. One place I worked at the owner used to brag about hiring people starting out for $12/hr.

The thing is, with my experience in PHP it's easier for me to write secure code in PHP than anything else at this point. I can do it really fast, too. I've internalized a lot of micro-optimizations in PHP. Project scaffolding on a greenfield project ends up looking a LOT like Express if you use the Slim framework. And I stay away from PHP if I need concurrency (and so far, per business requirements, I haven't). I can scale it really well, and I rarely have to worry about memory limits like you do with the JVM.

I'm hoping for a breath of fresh air with PHP7, because I'm not entirely sold on the current runtime alternatives - JavaScript, Python or Ruby. I've been trying Scala and I write less code than Java, but definitely more than PHP. It's also hard to jump into the Play framework if you don't grok the 'weird' operators. I also find that it's easier to hang yourself with incompatible components/libraries. So far it's fun to write though, but I don't think I've seen anyone hiring for Scala in my town.
Ask HN: Should I cram in learning algos/data structures, just to get a job?
I'm an indie app developer and I mostly enjoy working on that end of the stack (UI, UX). I taught myself programming about 4 years ago, shipped millions of downloads, had an app acquired for a small sum, etc. I also finished a certificate program in Computer Programming at a local university, but it was light on applied algorithms and data structures (I learned about the ideas behind o-notation, binary trees, linked list, etc. but never actually solved any problems with them).

I've considered buying a book like "Cracking the coding interview" and studying it for a few months, just so I can potentially land a job. The idea of a coding interview terrifies me. Are my expectations realistic? Can you really learn enough to pass a technical interview with a few weeks of practicing puzzles?
"Archeology supports this part of Weinreich’s argument." Really? How? [proof by handwaving] "One misguided explanation" - misguided how? Guess what, the current Prague Jewish Quarter looks all pretty, but it is practically brand-new (1900+); what was there was the poorest part of town, a slum, if you will ("ghetto" is, ironically, too ambiguous in this context). This was razed to the ground with the exception of about 10 historical buildings; no wonder it's a "central and prime location" - now. In all - interesting, provocative, but not persuasive (wonder why you didn't choose to quote this sentence as well, hmmm: "Yet the historical, demographic, and geographical evidence does not support this entirely logical and neat story line—a fact to which Weinreich himself gives evidence in his notes.")

Oh, and btw: since you chose to mention Prague, the historical Josefov was one of two ghettos. Still typical?

In other words, my remark on "alternate reality" seems to have been spot-on.
>As you are likely an engineer, do you want to be singled out every time you fly? Do you want all HN readers to be singled out, because most of us are likely engineers?

If that's an actual statistical factor (and not bad engineering), then it should absolutely weigh in their "single out" criteria, whatever anyone likes it or not.
Barefoot Networks' New Chips will transform the tech industry
What I do is write the model and bussiness rules in Java, and I use J2ObjC[0] to export it for iOS. The configuration is not pain free, but once set up it has been extremelly reliable for me. I don't need to support web, but I hear GWT[1] works well for this. I don't see why JSweet[2] would not also work.

[0]http://j2objc.org/
[1]http://www.gwtproject.org/
[2]http://www.jsweet.org/
Winning at Salt Cartography Using Algorithms and Statistics
Friend, you have native Ubuntu sub-system running on Windows this summer. You get all the tools you want :)
Requires Node though. Not sure that many people have that installed.
Grandmas are the best.
What Evert is referring to (the "reputation" of PHP and people's reactions) is even worse in infosec. I very frequently get accused of being a charlatan simply because I write PHP.

Some people openly question if a PHP developer who understands security exists at all: https://twitter.com/MalwareJake/status/506488937096183808

This is silly when you think about it. If so many systems run PHP, wouldn't you want your infosec people to know PHP and work with it more often? Why are we, culturally, encouraging such a blind spot by ostracizing folks who know it well? That part never made sense to me.

This conversation plays out more frequently than I like:

Rando: Hahaha PHP security is an oxymoron.
Me: Okay, then hack paragonie.com. It runs PHP. Logically, you should
be able to hack it _just for running PHP_ if PHP is so insecure.
Rando: But that website's mostly static content!
Me: Yes, but it runs PHP. So it must be insecure, right?!

So far, despite giving people permission so the prospect of CFAA convictions don't discourage them, none of these "PHP is inherently insecure" folks have succeeded. I wonder why. :)

TL;DR - A lot of the hate against PHP is founded on ignorance and peer pressure. Be open to constructive criticism, of course, but a lot of the hate you'll hear is bullshit.
Honest question, didn't they switch to focus on enterprise and slower release schedule? Wouldn't that be easier to keep up with?
Here's some good posts about submodules and alternatives, so you can make up your own mind:

http://blogs.atlassian.com/2013/05/alternatives-to-git-submo...

https://codingkilledthecat.wordpress.com/2012/04/28/why-your...
Yes. SML really deserves a lot more love.
The more I used Laravel the less I liked it.

I like Laravel Elixir (the npm package) and Eloquent (the ORM). Laravel itself is overly complex and the learning curve keeps getting higher. I'm much happier with Slim 3
As someone more in the development end of things, this was an excellent summary, thank you.
Still can't believe they haven't fixed the maximize the window functionality. Windows has so much better window management.

When I saw this title I thought "finally" but it appears that I'm going to be disappointed yet again.
As other are saying, so many words, so little content.
tl;dr: you can't rely on data alone to build optimal teams (sometimes it's about experiences and such) and Google pretty much did nothing to optimize teams (in spite of spending years on it)
The Moon also has seismic waves, albeit less than Earth.
seismic waves have similar waveforms and frquencies as gravitational events. However the delays between two detectors is much larger for seismic since they propagate 50,000 times slower than gravitational waves.
We discovered a bug in all (but one) hash functions of JavaScript crypto library SJCL
nice one. public api.iptools.co missing it's record.
This is true only if you use SMS for 2FA.

For either method, you can audit the activity of your account on the GitHub security page: https://github.com/settings/security. For example, upon having deliberately got my 2FA token wrong, "user.two_factor_requested" and "user.failed_login" events were logged for me.
Oh very insightful. That means that there important potential efficiency gains if we can take advantage of drafting (like ducks flocks) based on automated driving.
Only 6 months!?

Why would any corporation think entrepreneurs at heart would want to stay once they got there?
Was it Stroustrup who said there are two kinds of languages, those everyone complains about, and those no one uses?
Does anyone know the median price for these deals? I assume it's highly skewed. What would a 5 person failing mobile app get, and how long would they be locked in to Yahoo for?
Ask HN/YC: Please suggest me some good books I can gift a 8 year kid
The point isn't that it's easy or hard. It doesn't require the user to understand things like scope or the rudiments of typing to get started, which means it's insanely permissive.
>Lets take Islamic Terrorists as an example, they have a very wide pool of people to choose from, many of whom do not fit any stereotype you could come up with. As soon as its known that security targets specific profiles, it becomes trivial to bypass security.

If the "specific profile" is their ethnicity, then it doesn't become "trivial" at all.

It puts them through a huge new cost -- having to recruit and convince to send on missions more people of other nationalities. And while those do exist, they are far rarer than fundamentalist native Syrians or Iraqis for example.
Awkward auto-inserted blog ad after that post...

> ... And to anyone considering programming as a career, or trying to get into it… stay away from PHP. There’s lots of fun, interesting languages out there that also get the job done quick, but with a better reputation and this will have an actual effect on your future career options.

> Looking for a PHP developer for your next project? I'm looking for work! Check out my resume or drop me a line!
The thing that kept me away from it for actual enterprise use was the fact the project is run by a single person. Where would it be without Taylor? Django and others have actual foundations that will keep it going for the long-term, more mindshare and more committers as part of the core project team.
That, and I've noticed that the typical legacy PHP codebase is worse than the legacy codebase in other stacks.
I have no idea since I don't use Laravel or PHP anymore, but I tried it a couple of months ago and it seemed completey different from a year ago or more.
> allowing Purism to provide this petition to our Intel Partner Account Manager

It's at least worth a shot to see what they have to say about it...
It does not:

> For convenience, the recommended installation is via NPM. If you'd prefer, you may choose to do a manual installation instead.
(highlighting by me)

It is written in Perl.
Well, I might overstated how slow it was to check them out in serial. They are still PITA thanks to specific behavior, missing features (both in git and in 3rd party tools such as bitbucket), etc..

The benefits oftentimes overshadow the issues with them, but there are drawbacks to using them.
Losing Control: The Dangers of Killer Robots, and why we should ban them
Show HN: AppEngine based temporary image hosting
My Weird School, any of the 60 volumes or so, all of which are silly.
I'm one of the founders. This was the first time we did Security Fest, and it was a great success (if I may say so myself). Ask away if you have any questions!
Not really. It looks likes c-suit hubris and narcissism.
When Marissa Mayer states that Yahoo "is the fastest growing startup in the world", I hope she doesn't actually believe that or take pride in that- and is just saying it for hype.

They invested 2.8B to produce no meaningful profit and only a fraction of that in revenue. Under her logic, only looking at the output, they'd be a faster growing startup if they just put that money into a bank account.
| This means that Apple isn't listening to you 24/7, only when Siri is activated.

what?! your proof that Apple isn't listening 24/7 is not a proof at all. A device that is listening to you 24/7 to hear when you say "hey Siri" can tell you "you can't use it because you are not online" whenever it wants to, and I don't think anybody was suggesting that Apple servers were capable of listening in when you have no network.

Apple has been shown in the past to log information on the device itself, however.
From what I understand Elm is planned to target Node eventually. However the language is pretty young right now and the main work is going into making client side Elm the best it can be. The language author doesn't want to branch out too far.
>What are you talking about? Why do you care if GNU/Linux takes your code and modifies it? No damage is done to the original.

This is more about the fact that when they take it it's worse for the project than a proprietary fork. When BSD/MIT/(other permissively licensed code) is used, modified, and re-licensed to GPL, the permissive project can't take those improvements without also re-licensing. The CDDL indeed saved illumos from being cannibalized and disappearing as a community. Had its features been easily ported to Linux without a licencing problem, the project would probably not have survived, simply due to the fact that there would have been few reasons to stick with it. It's not just about what code is out there, and you should know that.

>Actually, because CDDL is somewhat-but-not-really copyleft, many BSDs essentially have copyleft requirements if you enable ZFS or DTrace. Which is funny, given how much they go on about "freedom to make proprietary software" (something I'm against).

Only in regard to changes to DTrace and ZFS. Still totally fine to build proprietary versions of BSDs that include those pieces.

I won't go so far as the grandparent post here, but I'm one of those developers that couldn't give half a care about "user freedom". It's nice to have source as a developer, but my motivation has never been "freedom", insofar as using and understanding the software, so I understand where he's coming from in his complaints about the GPL. As a developer, it's more constraining than the permissive licenses out there. To some, that's a good thing.
Misconstruing the phrasing of the amendment is a weak way to argue against it. At the time it was written, "well regulated" was commonly used to describe something that worked well, was in good repair, etc.

A militia being "well regulated" (in modern English) by the government that it might need to fight is the opposite of that.

http://www.constitution.org/cons/wellregu.htm
You cease to exist as an Independent Nation if you can't print your own currency http://www.radicalpress.com/?p=1389
Indeed, paging dang.
Thundering herd problem
You may think this was harmless, but you've greatly contributed to our rampant inequality.
Can anyone shed some light (speculate, perhaps) on Samsung's strategy here? Just seems like an odd pairing to me.
PHP became successful when hosting companies began offering cheap PHP hosting. PHP runs on low cost servers with very little memory,so hosting companies could put many customers on a single server.

It was then just a matter of uploading a few files via FTP to have a working website. .Net deployment, Java deployment were always more complicated and expensive. It was also easy for administrators to deploy Wordpress or Drupal, with next to no PHP knowledge whatsoever. That feature (ease of deployment) was often underestimated by other solutions, until the PAAS era.

Could PHP have been made better language wise while keeping the same features absolutely, but PHP was not taken seriously by people who could have fixed it early on.
A hacked server can have the backup server pull false backups as well.

Of course, your servers shouldn't be SSHing to your backup servers, but that goes both ways.
Oh that sure does seem really useful :o

I hope they keep going into this direction
Can we just stop with these posts? It's like saying "ice cream sucks". That's just like, your opinion man.
Ditto. We cant see past the photon soup of the cosmic microwave background of the first 380,000 years of creation using EM detectors.
Content Marketing – Writing to Sell
You can't. The whole point of the thing is that it can't be disabled and will always be running to let your theoretical IT department take over your machine.
Past: https://news.ycombinator.com/item?id=11819149
The thing is different languages lend themselves to different processes. Let's say you have the exact same bug in a web app, maybe you need to modify the where clause in the data layer of the app (or something small like that). In the C# version, you'll have to compile it and then push it. Maybe recycle the pool depending on factors in the architecture. In PHP, you just modify the file and throw it out there. Because of the slight differences, the nature of the way work is done leads to companies designing processes around it.
Please, please help! We desperately need input from you and people with similar numerical/applied experience. Sage is geared toward pure math, only since that's the backend of nearly all the contributors. But our mission statement has always made it clear that we very much want Sage to be of value outside of pure math.
It's just a bit humorous that Gizmodo put out an article that (in essence) criticizes Yahoo's bad business decisions, while at the same time Gawker is filing for bankruptcy.
"PHP sucks because I have inadequacy issues." Well...alright then I guess. Feel better soon.
A Nosy Client and a New Exchange