skysight-inc/HackerNews huggingface dataset:
Actually, mandated insurance is perfectly in-line with what insurance is for. For n people, you now own a 1/n share of n risks that are not perfectly correlated with each other. Since people are assumed to be risk-averse and due to Jensen's inequality, your expected utility from paying your 1/n share is higher than your expected utility from taking a chance and either 1) paying nothing if you don't experience the adverse event, or 2) incurring the full cost of the adverse event.

I think what you're trying to say is that the aggregate risk remains the same under mandatory coverage, put that's going to be true no matter what and the effects of this risk can be optimally spread through insurance.

As an example, say $180 billion dollars worth of damage is done to 1 million homes in the US through natural disasters every year. With 300 million people in the US, mandated insurance would have everyone pay $600 a year to cover these damages. No insurance would mean you paid nothing unless your house was affected, at which point you lost on average $180,000. Insurance exists to pool the risks of these life-destroying events.

Insurance definitely isn't going away, in fact our capability to insure against a wide variety of events is in its infancy. The insurance market will only get more and more sophisticated. Hank Greenberg has some interesting thoughts on the direction of the industry.
I had the same problem, iPhone 5.
Couldn't end turns, couldn't exit city window once I founded one, units were trying to move everywhere and it wasn't clear which one I had selected at the time as they would jump in the stack on selection.

Very ambitious however and look forward to watching it!
I hope they maintain their teletypes better than the wildfire people or someone is bound to get shot by anti-monkey-lasers.
Ask HN: Can Agile exist within Waterfall?
I have recently been handed a huge ERP software upgrade. The sponsors have just had a presentation on Agile and now want it incorporated into Waterfall.

I understand it is a loose ethos with some processes (XP, Lean etc) within the overall Agile box

Does anyone have a good blog post or best practice document for combining Agile (2-4 week sprints) into a Waterfall Project (2+ Years).

Much obliged.

Disclaimer : New account to protect my employer as I am prominent in HN but want the ability to critique processes here as we progress.
I get 502 bad gateway after starting the snapshot. Am I missing something?

edit - Do this after starting the snapshot:

chown www-data:www-data /var/run/php5-*

Was just a permissions issue.
Great website! Am I allowed to post there the website of the company for which I work even if it's an italian one?
plenty? Let's hear one.
Live Your Culture
It won't zoom if you are out of bullets, the block should be on mouse release IMHO
So if the link to the NYT article is published on the extremist forum, and you job is to search for the extremists, you'd search for the NYT readers instead of the readers of the forum?

Your explanation has no sense, sorry.
How many user use geocod.io?
> CSS is a language. Like Haskell, C++, or Ruby, if you only put "basic effort" into learning it when you try to write some it will be absolute shit.

CSS is not a general purpose programming language. A domain specific language is a failure if the most basic features of the domain cannot expressed with minimum complexity.

THERE'S NO WAY TO CENTER THINGS VERTICALLY WITHOUT FALLING BACK ON HACKS, FOR GOD'S SAKE!
Do you ever think of develop paymill integration?
I'm not saying its not legitimate copyrightable work. I'm saying the claims are hard to verify. There's no content id for closed source code. There's not even manual identification or just skimming to see if the claim might even have merit. All you have is a complaint.

This is different from when its say a song. Its not hard to look at the song and say "yep thats metallica".
How you make money? Ads in app?
Show HN: Rewards for peer review
My constant reluctance of things like goroutines/coroutines is that if they truely get executed in parallel there is little to know way to manage their machine load as one would in a distributed pipeline.
Great work. I wonder how many people work for this project to develop? How you reach your user?
Location: Dallas, TX, U.S.
Remote: yes
Willing to relocate: yes
Technologies/skills: Python, Java, C++, shellscripting, HTML/CSS, Git, SimpleCV
Resume: https://www.dropbox.com/s/zcw98k9rg67w5k3/SonAPham_resume_HN...
Email: please see resume

I am a Computer Science undergraduate student at UTDallas looking for a software engineering internship position for the fall 2014/spring 2015 semester.

My current toolkit includes Python, Java and some C++/JavaScript/Go along with a few libraries though I am open to and constantly learning new technologies. My interests include web development, cloud computing, artificial intelligence and computer vision. Thank you.
Just simply awesome :)
Also be aware that some old DOS games have been ported to run natively on modern systems. DOSBOX will give you Descent in its original 320x200 resolution, but Descent-Retro-1.3 [0] will let you play in 1080p with native multiplayer support and stable framerate.

It's worth checking, before going way out of your way to set up an older game, to see if there's a modern port.

[0] http://descentchampions.org/new_player.php
Bit Banging Bluetooth Low Energy
That's what I thought—these rules obviously aren't the entire pipeline, and the results obtained from them may or may not be interesting in and of themselves.

That said, using Tails probably does increase my XKeyScore rating. Is there anything published as to the scale of the rating? Something along the lines of "Once you get a rating of (say) 500, we're gonna come and beat down your door, wife and dog, and not necessarily in that order".
Building Docker Containers Without a Dockerfile
Indeed CSS is broken. But, if you tried to make that case several years ago during the Great War on Table-based Layout, you'd have been absolutely persecuted. Oh how we wrangled with the utter pain that is CSS layout, only to appease the tableless zealots. I can remember wrestling for hours with simple layouts that just wouldn't cooperate cross-browser. Meanwhile, I could achieve those layouts in mere minutes with tables. Not only that, the resulting table-based design HTML was an intuitive read.

The reason was as you say: Grids are key.

How many people would now honestly say that we are better off for CSS-layout vs. tables? But, it's amazing how an entire industry lurched in one direction so quickly, based on ideology. The pressure to use the "right" approach was immense. The whole thing had a very "Emperor's New Clothes" feel to it. Everybody seemed to agree that CSS layout was completely awesome, while I beat my head against the wall trying to make it work. Now, we all see that so many were actually suffering in silence.

>the separation of concerns in HTML into content/style/controller is very useful

This is a belief that I question to some extent and I've wondered whether it's a core assumption that sounds great and thus goes unchallenged, but fails to make the cut in the practical world. In particular, how much do we really need to separate content from layout? Styling is one thing, but layout tends to be intrinsically tied to the content. You can change the appearance of content without modifying its meaning, but changing its organization or layout can render it absolute nonsense. Thus, if CSS were all about colors, fonts, etc., it would actually be a somewhat reasonable approach to separating reasonably separable concerns.

But, as most now agree, it's CSS's horrible attempt at managing layout that makes it so painfully bad. And, I really wonder if the core problem is just that there's no real benefit to trying to separate layout (vs simply style) from content in the first place. What we're really saying in attempting to do so is that we want to be able to create a document wherein we have a bunch of unstructured content that we want to insert in an essentially random fashion, then create a second document that rearranges the content.

It's an unnecessary abstraction that seldom provides an ROI. How often do we later want the content to stay exactly the same, but simply want to change where it appears on the page? And, if we do, is it really easier to change the layout in an external document (CSS or otherwise) than it is to modify the document?

I have yet to hear a proposal that makes more sense than the old-table based design. The purists said that tables are strictly for presenting tabular data. Fine. So, let's create a new tag called "grid" for layout and give it the same layout flexibility as the tables of old.
Your product is impressive but I think you can do with this product much more valuable things.

For example, I want to specialize my landing page depends on visitors location. For example I want to change if user comes from US H1 and H2 message. Can you build something makes this possible?
DEMUX Framework 0.9.0 released
>thinkpol

Yup, we don't have thinkpol yet (and hopefully we never will), but we do have a pretty damn good analogy to it: https://en.wikipedia.org/wiki/Predictive_policing
I'm guessing the study from 2007 is a bit stale now. Intel/AMD/... have almost certainly been trying to decrease the penalty for context switches. I'm curious how much they've changed over time.
Tell HN: "Show HN: Show HN :" Caused HN to be filled with Show HNs
The NSA thinks Linux Journal is an “extremist forum”?
ARM’s Mali Midgard Architecture Explored
Spam filtering works using actual data that someone once used to train it - if we are taking this at face value, it means that the NSA is not just targeting people who might be terrorists and collects data on other people as a side effect, but that it actively targets people with no ties to terrorism whatsoever, for reasons that both US and international public might find unsavory if they found out about them.

Spam filtering also works in a very different context - the spam-to-nonspam ratio is something like 90% spam and 10% nonspam, which means that there is lots and lots of spam to filter out; if an important email slips through, people are bound to notice and either adjust their spam filter or do something about it.
In the other setting, you have 99.99% or more of people who have nothing to do with terrorism or criminal activities, and maybe one or two dozen (among tens of millions) who you are actually targeting. First thing, erroneously targeting a substantial chunk of your non-interesting population ties up resources - you're spending your time investigating people who are not terrorists - but since it's difficult anyways, at least you seem like you're doing something with all the money you receive, and nevermind if some of the data is used for industrial espionnage or hunting people that only poultry farmers and fracking magnates would call terrorists. And if you miss one of the two dozen other people, well, they won't do anything harmful this year or the next because they also have to fear regular law enforcement, and when they do it'll be in a moment that's probably suitable for you to ask for more money.

tl;dr: Because we don't have a large sample of actual terrorists on hand, it's hard to evaluate activities like the NSA's, which would however be desirable since we're giving large chunks of money to them that could be fruitfully used in making everyone safer if used to fight actual crime and not some fuzzy notion of terrorism.
If they perfectly assess risk, your annual premium will just be your annual cost plus all of the administrative costs of insurance

Uhh, no. That's not how insurance works.

The idea of insurance is pooling risk. So if you're perfectly healthy you are in essence paying for other people's treatment.

However, if you happen to run into very expensive health issues it's you that profits from the premiums of other people.

If insurance works as you describe it it wouldn't make sense at all and everybody would individually be responsible for her entire medical cost. With partially ruinous consequences for the individual.
Speaking like a coder
I mean that in the sense that a prostitute needs to consent,
and be able to consent, to have sex with a client, otherwise it's rape, not a business transaction.

Turns out, a large proportion, in some situations the majority, of prostitutes can't even consent. They are underage, drug addicts (often not through a conscious choice but through pimps forcing the addiction), regularly beaten and/or they often are illegal immigrants (less legal protection).

That is why I say people overestimate the "free will" involved in prostitutions. Especially in the lower end you will hardly find prostitutes with clear cut cases of "I do it for the money". In european countries often they could have a better life living on welfare.

And no, catching welfare payments is normally not more demeaning than getting essentially raped multiple times a day.
TeX is the opposite of a layout language. It's closer to HTML than CSS.
Same here with the Slack integration: clicked on the link and got a "We couldn't find any hook with this id" response back.
Misaligned incentives, risk models, and much else. I'm fuzzy on details but understand Target was warned of security deficiencies.
Also broken on Chrome 35.0.1916.153
Python Foundation uncoils as membership opens up
That's a good point I had (subconcisouly refused) to consider as value.

Value is added to the rich. Further offending my socialist dream. ;)
My wife changed her name on marriage at least partially because her surname (Finnish) is hard to pronounce for random people here in the UK.

(She's a doctor so she'd has to introduce herself with it on a constant basis to patients - "Hello I'm Dr. Xxxx" - Now she has a surname that is easy to pronounce and a forename people often get wrong.)
Latest chromium on ubuntu:
1 Loading up a room with a bar and slot machines
2 i click on the bar
3 screen fades to 50% black
the end
Enlisting more cores in order to get something done faster, you know, by splitting the work is indeed a serious pain.

I recently wanted to get lpsolve to split an integer branch-and-bound programming problem across multiple cores and then get a large on-demand AWS instance to deal with.

The branch-and-bound algorithm is eminently parallellizable. So, it should have been possible.

I came to the conclusion, however, that I would have to rewrite lpsolve for that. That program sticks to one process and there is no way to get it to fork other processes and read back the results.
At least in the US, officers have quotas of arrests to fulfill, which are most easily fulfilled with petty crime that happens all the time and is easy to find. Attorneys get promoted based on successful cases, meaning those where they could convince a jury that the person is guilty; any foresight that goes above or beyond what they can present to a jury of laymen is lost time and will get them recognized as being ineffective.
I don't know about Germany, but for USA it is does not appear to be true. Which data your based your claim on?

Here:
http://www.forbes.com/sites/moneybuilder/2012/04/20/most-wea...
it says only 6% of wealthy people are wealthy by inheritance.

Here: http://blogs.wsj.com/wealth/2008/01/14/the-decline-of-inheri...
they arrive at the same conclusion (minority got wealthy by inheritance).
Presumably reading hacker news also puts you on one of their lists.

Just remember should there ever be a problem between us, we know everything about you.
Javascript is not a beginner-friendly language, though lots of beginners manage to create things with it. It has quite a few rough edges and teaching Javascript can be rather annoying.
Yeah. Sure. http://vault.fbi.gov/cointel-pro
That's surprising. I would have thought they were rolling in cash and building a solid franchise, considering I had actually heard of Crytek/Crysis and don't follow the game industry at all. How does a company just keep chugging along like nothing is wrong until one day they can't make payroll?
Sure, it's not a general purpose language. As a result, writing decent CSS is easier than, writing, say, decent Haskell. But people have to put some effort into learning it or they'll get crap.

I agree with you entirely re:vertically centering things, but that's one of a very small number of major flaws in CSS.
Drugmakers Sued Over Role in Increased Painkiller Abuse
I can provide photos of the restaurant pieces in a day or two... maybe send me an email? Thanks for the leads. I think what I really was looking for was a pan-traditional typology with semantic notes... maybe it doesn't exist, and your project can become one? If so I'm interested to help.

I just found http://thepiratebay.se/torrent/7969063/Persian_and_Arabic_Ca... which looks promising.

Pali is the scriptural language of Theravada Buddhism, which dominates Burma/Laos/Cambodia/Thailand/Sri Lanka. The Tai regions (eastern and historically northern Burma/far southern China/Laos/Thailand, bits of Vietnam, historically part of eastern India) used to have some geometries related to calendrical systems, some of which my former associate wrote up over here: http://pali.pratyeka.org/#Five (that page also has good explanations of basics).. you can see some related images I have shot in southern China at https://plus.google.com/photos/106883718971909092529/albums/... .. and for the magical ward populist stuff in Thailand http://en.wikipedia.org/wiki/Yantra_tattooing and http://en.wikipedia.org/wiki/Khatha .. I also have a good deal of Berber patterns recorded from Doiret, Tunisia at https://plus.google.com/photos/106883718971909092529/albums/...
BMW 3D prints new thumbs for factory workers
about how many invitations are sent?
I've never bothered with virtualenvwrapper - I create virtualenvs alongside my projects, and call `$virtualenv/bin/python` or `$virtualenv/bin/pip` etc. directly. Sometimes I activate the virtualenv, sometimes I don't.
I'd say we're getting pretty good mileage out of what we've got? CSS dominates layout for a large portion of overall screen time.

Are native app developers crying for CSS? Not exactly.

The browser window itself is a big layout impediment on the desktop. On mobile, hopefully the browser will just get out of the way, and give the app a decent way to install an icon, and some more "permanent" state.
First I would ask if it makes sense for you to do with an "agile" approach. If you can look at the overall project and realize that it makes more sense to do it another way, I would push back, but you may not have that option, so if you don't just ignore what I said.

I was actually in this situation at my last job at a certain silicon company. Our software product was tied to the platform/system so all of our major releases coincided with platform releases. On the software side, management really wanted to mark, "[ X ] We do Agile", so we were stuck with agile for software within a waterfall for hardware.

Just gonna spitball and throw out some things as I recall them. We had strict stand-up meetings to start the morning, capped at 15 minutes, but could end early. Do not go over the time limit, ever (ok, yes a few times is fine, but do not allow the habit to form). "What did you do yesterday, what are you doing today, and what are you blocked on?" generally each person had 1-2 minutes and once we finished the "round-table", then any pass-downs and off to work.

We would usually have 1-3 new features for each major version/release which was ~6 months, so we'd stick with 1 week sprints and pretty much remove planning meetings by filling in our work / tasks as they came up. Planning meetings just devolve into hard-ons for burn-down charts regardless of actual progress being made in software quality and feature development. We would put in refactoring and clean-up if we were about to change an area and then tackle it. I guess the point I'm trying to make with that is by keeping our sprints short, we had more opportunities to "inject" tasks that should be done without it affecting end-of-sprint results. If you had a 2-4 week sprint and realize you need to refactor something to do it right, are you going to have your tasks done at the end of the week and will it be frowned upon by management?

I don't know if any of that will be of help to you, but hopefully there's something useful in there for ya.
This is cool, I like tools that focus on one thing.

Just like the author, I never used all virtualenvwrapper's features and was always happy to create and delete VEs on my own. The only thing missing from standard virtualenv workflow is easy way to activate the VE; so I wrote that on my own and been using it since ever. It's trivially small shell script but it does the work well, you can check it out at pypi:

https://pypi.python.org/pypi/ave/
Overall it is, but when the above commenter mentions box-and-glue, they're talking about the building blocks of the line breaking algorithm TeX uses (you can read about it in this paper: http://onlinelibrary.wiley.com/doi/10.1002/spe.4380111102/ab... ). The box-and-glue system is a way of expressing a layout as an optimization problem (in the paper, they talk mostly about determining line breaks within a paragraph, but the idea of minimizing badness can be extended to determining page breaks as well). A bigger concern for me is the performance of laying out any reasonably complex page — the performance we get from rendering a reasonably complex webpage today is generally much better than rendering a reasonably complex LaTeX document.

I've come across a feature request for Firefox where someone proposed to use the Knuth Plass line breaking algorithm just for text layout, but they didn't get very much traction: https://bugzilla.mozilla.org/show_bug.cgi?id=630181
We're not living "a few centuries ago", however. And there is also an important qualifying word "rapidly". One doesn't have to become rich overnight to be rich now.

As for the "bad reputation", given that most things that were written and otherwise arrived to us were composed by people of some means at least (excluding monks, etc. which are harder to classify by modern standards) - really poor folks had high illiteracy rates, little spare time to create records that we could read, and not many people that cared for their opinions enough to create permanent record of them. So, given that, how exactly Paul Graham knows what reputation the wealth had amongst folks who weren't wealthy?
I want to be paid to read this.
Was the op paid to advertise here?
The March Towards Go
Styling is one thing, but layout tends to be intrinsically tied to the content.

This is an interesting distinction - thanks. As you say there are issues with separating layout and content, because the two can be hard to separate effectively. I think it is worth the effort though, and sometimes pays off (for example reflowing content for a mobile device). An interesting thought though that we should separate style and content, not layout and content.

As to tables, I think there were two issues mixed up in that religious war - the nasty markup of table/tr/rd, sliced images etc polluting every website when it was intended for data, and grid layouts (which it made easier). Unfortunately grid layouts were thrown on to the auto-de-fé along with sliced images and table markup, and then promptly reinvented (with much pain) by entire frameworks designed to make up for the shortcomings of CSS.

There have been very recent attempts to add grids to CSS, and hopefully they'll come to something (see link above from buovjaga) - I do think they're far more intuitive and most importantly impose a sensible structure on people attempting to lay out information.
I noticed that progress bars aren't styled. Otherwise it's awesomely consistent.
Show HN: Solitaire made in Dart
Show HN: iOS 8 Swift Course coming soon, Sign up for updates
You may already know this, but just in case, in Japan "chinchin" means penis.