skysight-inc/HackerNews huggingface dataset:
if you have to choose between a kernel and docker, just choose docker. Python can't get their shit together deployment-wise, and docker is the one true route (tm) to python deployment happiness.

forget virtualenv; forget package dependencies on conflicting versions of libxml; forget coworkers that have 3 different conflicting versions of requests scattered through various services, and goddamnit I just want to run a dev build; forget coworkers that scribble droppings all over the filesystem, and assume certain services will never coexist on the same box

just use docker. It's going to go like this:

step 1: docker

step 2: happy
Google Says Its AI Catches 99.9 Percent of Gmail Spam
This is downvoted to light grey, but it's excellent advice. All you really need to understand are the concepts of support, resistance, momentum, and trending.

Support: a price which a significant number of market players have decided is probably the least amount the stock could be worth. That is, if the price drops to that point, they will buy. They might be wrong, but it will require an even larger number of people who think the stock is definitely worth less to make them wrong.

Resistance: the flip side of support: a price at which a significant number of market players will sell.

Momentum: the tendency of price to continue in the direction that it's going until it encounters support or resistance. Many traders attempt to profit from the short-term price swings caused by momentum. By doing so, they tend to cause the price to continue to go in that direction.

Trending: what happens when changes in the economy are reflected in the prices of stocks. Such changes don't happen instantaneously; they take time.

Momentum and trending are obviously similar, but I distinguish them in this way: momentum is mostly caused by the flow of information within the markets; trending is caused by changes in the fundamentals.

If you understand these concepts, you can see everything a long-term investor needs to see when looking at a chart.
Also in Pharo[1] and Squeak[2], but shoehorning it into a class based system turned out to have drawbacks. Juan Vuletich is doing some nice stuff with his Cuis[3] version.

The linked description is a little out of date but all the basics are still correct. It's quite a flexible system.

[1]: http://pharo.org/
[2]: http://squeak.org/
[3]: http://www.jvuletich.org/Cuis/Index.html
>* I wonder if "generics + traits" (where C++ is trying to go) is essentially the same as "no generics + interfaces" (Go's version of the same thing, maybe?)*

It's the same end result, but without the speed and the type checking of proper Generics.

(Assuming you mean "empty interfaces" (interface{}). Else, regular interfaces are not the same thing as Generics.

>On reflection, "traits" is probably the wrong word. C++ has a word for this, but I'm drawing a blank at the moment.

Templates?
I can't vow for alertness, but bright light in the morning made wonders against DSPS.
Check out Kong, even easier, built on nginx and better docs too: https://github.com/Mashape/kong
I was going to send you to the Wait! Google Sent Me Chrome extension but it was removed.

https://twitter.com/jashkenas/status/598579205740351488/phot...

The JS code for the extension
https://gist.github.com/jashkenas/9a4d9e648eb11aab394e
Yes. It's not in my browser.
We should see a lot more action from the frontend Haskell camp once GHC 7.10.2 drops and stack begins to support building ghcjs. The next 12 months will be an exciting time. Some discussion about it here: https://github.com/commercialhaskell/stack/issues/337
> Also, are there seriously places that don't run their own PyPI mirrors? Places that have people who understand how to integrate platform-specific packages but can't be bothered to deploy one of the several PyPI-in-a-box systems or pay for a hosted PyPI?

Yes. I've seen them, and they've been huge shops.
The Misplaced Nostalgia for Movies Like “The Graduate”
Another Midwesterner transplant to MA here -- colder in the winter is actually better for highways. Up and down around the freezing point all winter like Massachusetts does produces massive frost heave that Minnesota roads just don't need to contend with.
There have been other, more recent incidents along the same lines of what is proposed in the article: https://en.wikipedia.org/wiki/Year_Without_a_Summer
The headline says trigger, but the article (and the subheading!) makes a case that a series of eruptions was a knock-out blow. I guess that's in keeping with Betteridge's law, so the answer to the headline's question can remain "no."
Hey, quick question, I can't seem to figure out how to register a unicode domain on iwantmyname.com. Any tips?
No one has ever claimed massive volcanic eruptions don't affect the climate. That's a well established fact.

What has never been established is a link between volcanic activity and global warming.

Please take your strawman elsewhere.
I'm no expert or anything, but I think studies saying that volcanic eruptions not being a driver of climate change is based off of co2 release, not high altitude particulate.

edit: Meaning normal volcanic activity (in a modern context) has been shown to not be the driver of recent observable climate change. However this does not mean that very large volcanic eruptions won't have an impact on global temperatures when ash is thrown up high enough to block out the sun.
ERP call is atomic and happens first. All that says Is "can I have 2kg of potatoes for 10mins please?" If that returns a success code then you can process the payment.

Also if the ERP says "in ten days you can have that amount of potatoes" you can ask for a longer reservation and issue the payment later.

Its all about careful ordering and atomicity at the service level and determining what must be done synchronously and what can be done asynchronously.
I've been using slack just fine in the browser, haven't had much of a need for a desktop version of it.

I can just make a separate chrome instance for it and move it into its own xmonad workspace and switch to it much more conveniently than through alt-tab.
they had 3 reasons:

one of which was just silly (kernel version -- are you living on that point release forever?)

one of which was valid (necessity to maintain method for distributing docker images), but probably dumb: you only get so many innovation points per company, and innovating on a problem docker just solves means you are supporting your in-house solution ad infinitum

and one of which definitely sounds painful (docker vs extant ansible playbooks)
Ok, we replaced that bit with language from the subtitle.

I believe Mr. Betteridge has retired.
Zscaler: Hacking Team leak, Flash 0day, exploit payloads and more
"Basic web app with some ajax submissions, adding results to DOM type of stuff. Maybe small html fragments cloned, inserted by jQuery."

regular old html and jQuery + ajax.
I love healthcare.gov.

For the first time in decades the entire country experienced exactly the government they elected and are paying for. And the beauty of it is that it could not be hidden away, spun or silenced.

What's sad is to see an article such as this one pushing the idea that it was fixed...a "Mission Accomplished" message of sorts. The truth of the matter is that dozens of people should have been fired and a number of them should have ended-up in jail.

Nothing has been fixed. Sure, the website is better but the organization is still being run by he same incompetent morons who created the problem in the first place. That's the problem. And, yes, a bunch of young people can help fix it without writing a line of code by using their brains to vote rather than cargo cult and emotion.
One interesting thing about GNU is that originally developers were encouraged to implement work a-like solutions, but with completely different internals. This resulted in a large number of improvements over the standard Unix tools (a great example being bison vs yacc). I'll probably get some push back from the BSD folks, but back in the old days it was pretty common to install GNU (without the kernel) on every new Unix box you got because the GNU utilities were considered to be better (possibly some of them have gotten a bit bloated... bash... ;-) ).
> Do not unnecessarily use braces around a single statement

If you consider all braces to be necessary, then that's a truism and you can safely ignore it. "I didn't unnecessarily use them: we always use them because that's the safe thing to do."
The problem is defining intent in legislation has proven to be notoriously hard. Did the framers of the U.S. constitution intend to allow gay marriage? Or did they intend to allow equal rights for all?

How about the 2nd amendment? Did they founders intent for folks to own machine guns?

My point was that calling anything an "absolute right" is problematic. Absolute allows no opportunity to assess intent, and the intent of a right of panorama is obviously not to allow rebroadcasting of soccer matches.
Disney Accelerator, Powered by Techstars
Is that, plus an understanding of the non-in-place merge sort algorithm not enough to make a merge sort? I mean, you need to pick what basic understanding you assume in any explanation.

EDIT: To be clear, I think it's an explanation of "You know how to merge sort, but not how to do it in place? Here's how!"
The Bitcoin Megatransaction: 25 Seconds to Verify
> At Front for example, people using the desktop app spend on average 34% more time on the app that those using the web version.

...maybe I'm crazy, but the primary metric I would evaluate a tool designed to increase business productivity is not how much time I spend using it, and in fact would normally be summarized as the exact opposite of this metric...
Agreed. If you are copying a successful web product you may as well take it to 100% and then try to improve upon it. Making changes just to look like you're not copying it forces your product to be inferior.
Yes, article is a little confused. For actual information about the transaction, see https://news.ycombinator.com/item?id=9861508
Am stupid. Figured it out
Yes, someone should build the one way to ship your app. No reason for everybody to be inventing this stuff over and over again.

Deploys are harder if you have a large codebase to ship. rSync works really well in those cases. It requires a bit of extra infrastructure, but is super fast.
What 3rd party recordkeeper are you using?

Do you use the recordkeeper's websites or have you built your own?
>What? The European parliament is the clearest example of a democratic institution inside the EU

Which is not saying much.

I won't get to the debate of the actual democratic quality of what we call "parliamentary democracy" and the culture of the passive once-at-4/5-years voting it encourages.

Even taking that as granted and democractic (e.g. accepting the same crap we get as democracy at the national level), in the EU most of the power still resides on the bureacrats, the commission and the council.

Then, even if we also sidestep the issue of the E.P. being a "fig leaf" for an undemocratic self-replicating bureaucracy, it also exhibits issues of "representation at scale", where decisions affecting the national level are taken by a parliament based thousands of miles away, whose proceedings are seldom covered by national media, with political alliances, connections and power plays, far away from the everyday life of citizens of members states, and trying to find a middle ground among tens of member states with differing economies, outlooks on politics, etc -- in which large, powerful, states, also buy more influence than their population count.
Would be cool for the "Equality Index" to be 2 or multi dimensional. I feel like laws on adoption, gender/sex change, age of consent, blood donations, marriage etc. fall on the absolute/objective liberty spectrum. While stuff like anti-discrimination laws, housing policies, conversion therapy bans etc are interventionist regulations.

Also needs more categories/granularity.

http://get.lgbt you should get one :D
>is this any different than what would happen if a dedicated attacker came after the most valuable data in your company?

My company didn't compile detailed background information about my "sexual misconduct", or spend money trying to detail the ways in which I might be blackmailed.

So yeah, it's a little different.
DIY Programming Board for ESP8266 ESP-01 Modules
Ah, okay! Thanks for the clarification. I wondered if there was maybe some kind of arcane colloquial rule I didn't know of.
Thanks for the HN post! :)

Rust, Go, and D language explorers are https://<lang>.godbolt.org, e.g. https://rust.godbolt.org/ and so on
Absolutely. I contributed heavily to the code that ran an anti-spam DNS blocklist (that is used by most of the world). Open sourcing that code would have given away how we populated that blacklist, which would have allowed spammers to bypass it completely. After 6 years the technology and concept is still working strong.
Where do you fit in the 5-8 beers?
> unlike PHP or Wordpress, which have many alternatives.

Except that's not really true. While other languages exist that CAN run on servers cheap shared hosting and the ease of dropping in PHP and having it "Just Work (tm)" is nothing to scoff at.
Can you point me to your recommended PyPI-in-a-box system?
That's preposterous! Every opinion held by the null set is correct!
You're right. But the cost is still lower than fixing potholes in asphalt due to wear & tear, freezing and thawing, and slippery ice is less of a problem too.

Not surprisingly, most Iowa folks are good drivers in bad weather. Generally it's avoided altogether. When it has to be done, most people are smart enough to slow down and be careful, or pull over and wait it out. There will still be accidents, but less cars slide off icy gravel roads since they seldom exist.
"What has never been established is a link between volcanic activity and global warming."

Like this article? This article is claiming just that.

"What has never been established is a link between volcanic activity and global warming."

So when man spews massive amounts of CO2, the climate changes. When the same thing happens with a volcano eruption, nothing. heh, that makes sense.

It's puzzling why mentioning volcanic eruptions and climate change is considered a "straw man" to you when the article is about volcanic eruptions and climate change.

"Straw man" is used too often for things that people merely disagree with.

I can't wait for the day when we can have actual open and honest scientific discussion, rather than silencing anything that goes against the popular narrative.
Indeed - in my view this correlates to one of the best places in the world to drive. Variable limits seem more logical than assuming one speed can always be the best for current conditions. Road throughput (vehicle-miles per hour) can be maximized at a lower speed when traffic is heavy, so limits are reduced. Conversely, when traffic is light the minimization of individual travel time can be prioritized, so limits can be raised.
The problem with that is the CoC explicitly states:

"violations of this code outside these spaces may affect a person's ability to participate within them"
Anyone else find this kind of "scammy" sounding?

How can they have a 35% average annual return over the past 25 years and guarantee that you won't take a loss at all?

Reminds me of Madoff.
Kong[1] is releasing OAuth 2.0 support in a week or so (when 0.4.0 will be announced). You will see it appear in the plugin gallery[2]

[1] https://github.com/mashape/kong
[2] http://getkong.org/plugins/
The Global Warming Hiatus Was Just a Recording Glitch
Or just don't bill. That's not illegal.
That named helper function isn't necessary, so this might be more appropriate:

return <ul>
{this.props.items.map(item => <li>{item}</li>)}
</ul>;

vs. the Angular version:

<ul ng-repeat="item in items">
<li>{{ item }}</li>
</ul>

The Angular template is more readable at the expense of ngRepeat's complexity. Neither example includes Component/directive boilerplate. The directive boilerplate is generally worse, because it requires a separate template file or an ugly template string, knowledge of the directives API itself which is baroque in the extreme, and $scope-wrestling (whereas JSX' scope is the same as JS').

In my opinion reuse of the React component is more straightforward, you explicitly import/require it while in Angular you specify its providing module as an angular.module dependency, which has implications for config block ordering.
No. Concepts? It's a way of saying "for your type T to use this template, T must inherit from X, or support these operations, or some other restriction". It lets you have a template that takes a type T, but not just any type T will do. For example, if you have a templated sort function, the restriction might be that T must have a < operator.

Now, in Go, you don't have generics. But you can have a sort function that takes a type (interface) that means "something that has a less-than function", and because of the way Go does OO, anything that has that function works.

This doesn't get Go to the point of having templates that will take any type whatsoever (unless you use empty interfaces).

I feel like I'm still using the wrong word in one or two places. But I hope this is more clear than my previous comment.
I currently use this one:
https://localshop.readthedocs.org/en/latest/installing.html

It works. It's django based and you can setup s3-backed storage. It also has a docker-compose script.
> The state of the art seems to be ”run git pull and pray”

No, the state of the art where I'm handling deployment is "run 'git push' to a test repo where a post-update hook runs a series of tests and if those tests pass it pushes to the production repo where a similar hook does any required additional operation".
Building good road-bed underneath helps enormously. Comparing the roads in Maine and Quebec, in Maine it's a mess of frost-heaves and constant repavement. In contrast, the Canadians rip up an old road down to ledge and build back a solid foundation - when a section of road gets rebuilt, it lasts 15-20 years.
Total vehicle miles are goverened by both oil prices and demographics. You're seeing a huge shift in demographics currently in the US, which will drive down vehicle miles.

http://www.calculatedriskblog.com/2015/03/dot-vehicle-miles-...

> However gasoline prices are just part of the story. The lack of growth in miles driven over the last 7 years was probably also due to the lingering effects of the great recession (lack of wage growth), the aging of the overall population (over 55 drivers drive fewer miles) and changing driving habits of young drivers.
Makes even less sense than that. The Western Roman Empire finally fell in 476, these eruptions were in 535/6 and 539 and refer to events in the Eastern Roman Empire, which definitely did not suffer a knock-out blow at the time, or fall for another 900 years!

Added: linked article justifies this being about the Roman Empire with "Historians have variously dated the final collapse to the sack of Rome in AD410 by the Visigoth king Alaric, the deposing of the last Roman emperor by the German chieftain Odoacer in AD476 and the death of Justinian I, the last Roman emperor to try to reconquer the western half of the empire, in AD565."
The article talks about some dietary ideas that turned out to be wrong while at the same time saying stuff like "... the emphasis should be on eating more minimally processed fruits, nuts, vegetables, beans, fish, yogurt, vegetable oils and whole grains in place of refined grains, white potatoes, added sugars and processed meats.".

A wrong thing in no way makes other stuff right.
Am I the only one who thinks elm is an email client? I must be getting old.
yeah, so far dissapointed with ios8
I read both articles and though I don't understand the mechanics involved I'm left with a big question: Could a a well-financed actor (state or otherwise) simply crash bitcoin with spam?
Which volcanoes?
I don't think the "javascripters" (whoever they are) are behind all the fragmentation. What we're seeing is caused by a low barrier to entry combined with a larger number of people who want to profit from a lucrative business pattern. That pattern is to create a technology that addresses a grievance (real or imagined), create a community around that technology to help promote it, then sell consulting fees once companies adopt it. This has worked brilliantly in the past (Enterprise Java in the 90s, Scrum, Ruby on Rails) and continues to make the companies behind it a lot of money in consulting fees.
Very nice, thanks for posting.
To a large extent, you just need to pick something and try it out. Start small, build something with react (or whatever). If you like it, great, maybe build something else with it. If you didn't like it or got hopelessly stuck, try something else.

I don't have the link now, but there was some one who made one website a day for 30 days to learn different techniques and also just to get in the habbit of shipping something. That might be one way to go.
The idea is "one application per virtual machine", and to leave multi-tasking to the browser. Right now the only application we have is Warcraft.

The fact that you can interact with Windows outside the context of the intended application is a side-effect of Windows 8 Assigned Access only working for "Windows Apps" (ie- not "legacy" applications). Otherwise we would have gone for this type of "kiosk" experience which attempts to hide the underlying desktop environment / os.
Wow, that is really low cost compared to other providers. Surprised to not see an asset-based fee.

Are there any other costs that get passed on to the participants?
If you are talking about flash let's be clear. Flash was killed by mobile (and being generally shitty).

It's not like Apple said "Flash is the worst" and everyone said "Hey, you know I never thought about it like that". In fact I'm sure battery was a major reason not allowing flash, IIRC that (plus general indifference) was what was the nail in coffin for even android phones flash.
While that's certainly possible, it's an extraordinary claim because it flies in the face of generally accepted beliefs. If your coworker was Bruce Schneier, I would pay close attention to his explanation. If they were your standard issue sysadmin types, then I'd want to know:

1) Why they believe so,

2) Why they haven't filed security advisories to advise the rest of us, and

3) Why you don't hear about banks being wiped clean because crackers were able to bypass SSH's security measures.

It's possible they're right, but as with all extraordinary claims, the onus of proof is on the ones making them.
>No. Concepts? It's a way of saying "for your type T to use this template, T must inherit from X, or support these operations, or some other restriction". It lets you have a template that takes a type T, but not just any type T will do. For example, if you have a templated sort function, the restriction might be that T must have a < operator.

Yeah, that would be Concepts. IIRC, C++ doesn't have them landed yet.

>Now, in Go, you don't have generics. But you can have a sort function that takes a type (interface) that means "something that has a less-than function", and because of the way Go does OO, anything that has that function works.

Yeah, you can have that. But the benefit of generics is that the "things that fit that function" are auto-generated.
Thanks for this! It seems like a very interesting pattern and I was completely unfamiliar with it prior to reading your comment. Looks like a search for "reservation pattern" gives lots of good places to start digging, but I'm wondering if you have any favorite resources on the subject. Is there a good treatment of it in some particular book? Or maybe presentations you've found particularly enlightening?
The Promise of Relational Programming [video]