skysight-inc/HackerNews huggingface dataset:
Whenever the Noordhuis incident comes up, I'm always quick to point out that `git push -f master`ing a non-fast-forward commit without prior warning is already halfway to a firing offense.

EDIT: No, wait, it was a revert commit, this just raises further questions.
Enjoying messing around with this. I ended up getting to a score of 100,000 on 0h h1 and realized I should probably stop playing it :P
The Huawei Mate 2 has a 4000mah battery and I regularly get two days (30-40 hours) on it. It's very handy never having to worry about charging. It's thin and light (cheap feeling). As much at it sucks from crappy software (messed up version of Jelly Bean) and as much as I want to leave Google, no one else seems to be targeting even 20 hours of life. It's very frustrating.

The Mate 2 feels small enough that doubling the thickness would still result in an acceptable phone.
This is amazing.

Is Bloomberg an actual magazine?
What do they cost in single unit quantities, or rather, what does a development board that I can stick GiBs of hopefully ECC DRAM cost? And the development tools?

I know I can do this with small scale ones, including some of the tools, on sub-$100/$200 boards with not a lot of memory (the research lowRISC has prompted me to do has been fascinating). If the answer to the above is 6 figures, the intersection of those who can afford it and those who are inclined to do it would be small.

Maybe not 0, then again, at what speed could you get a synchronous microcoded CPU working? Aren't we still talking way way below +3GHz, like the 50-100MHz I just cited? Is 200MHz possible?

I've read of one that uses magic (and no doubt $$$ in tools) to translate your sync design into an faster async one in the middle of their magic FPGAs, but even then I don't recall the potential speed breaking past a GHz if that. Although that was a while ago, 1-2 Moore's Law doublings ^_^.

Flip side, are the FPGA companies going to open up their kimonos to allow a lot more people to design in their increasingly inexpensive (Moore's Law) parts?
It's an alternative to Sandstorm. We've made some different choices, like using full KVM VMs instead of Linux containers for apps. Portal also doesn't require that apps know much about Portal itself to be run as apps. They can use their own authentication or the single sign on system.

An unmodified Ubuntu cloud image is a valid (though basic) Portal app and can boot using CloudInit. Real world apps store data on the separate "user data" drive that is attached to all app VMs, which makes them upgradeable. And they almost always have a web interface for the user to interact with.

They can also use the Portal metadata service to interact with the system. But for the most part apps just receive raw TCP/IP traffic or proxied HTTP traffic and work normally.

We began working on Portal before Sandstorm was public, but I can tell you this is the first time I've been happy to see other people working on the same idea as myself. Decentralizing the internet is more of a mission than a competition.

Also, we expect to be able to run Sandstorm as a Portal app, so you could run many Sandstorm apps inside one VM, assuming they're okay with that.
What would you do about George Wallace in 1963?

Leave aside the question of whether social justice today is comparable to the anti-segregation fight 50 years ago (reasonable people can disagree), and let's just think about segregation. The governor of Alabama literally says in his inauguration speech, "Segregation now, segregation tomorrow, segregation forever."

You have the option of going to Congress and passing a federal law, going over the governor's head, that makes segregation illegal. As a federal law, backed by the federal law-enforcement apparatus, this is the very incarnation of threats and intimidation. And Alabama certainly isn't about to integrate voluntarily.

Does your conscience bother you?
It reminded me of a certain notebook and pen (an expensive set) where each page of the notebook had a unique background pattern and the pen would record the lectures as you wrote.

Later you could put the pen down on a word in your notes and start listening to the lecture just as you were writing those notes.

Can't remember the name though.
It's up

http://sourceforge.net/projects/elementaryos/files/unstable/
Best Wiki Replace (XKCD Inspired)
Inspired by: http://xkcd.com/1485/

What regex/words and wiki/site would you choose?

var a=document.getElementsByTagName('body')[0].innerHTML;a=a.replace(/militia/g,'fanclub').replace(/Militia/gi,'Fanclub');document.getElementsByTagName('body')[0].innerHTML=a;void(0);

var a=document.getElementsByTagName('body')[0].innerHTML;a=a.replace(/bro/gi,'friend').replace(/mance/gi,'ship');document.getElementsByTagName('body')[0].innerHTML=a;void(0);

...and for the 12 year old in us all:

var a=document.getElementsByTagName('body')[0].innerHTML;a=a.replace(/ ?([Ss])apiens/gi,'$1exual');document.getElementsByTagName('body')[0].innerHTML=a;void(0);

NB:code done as a one liner so it's easy to copy/paste to your address bar; just prefix with javascript: and hit enter for this to run on the site of your choice.

My best so far (simple but works well):

Site: http://en.wikipedia.org/wiki/Programming_language

Script:

javascript:var a=document.getElementsByTagName('body')[0].innerHTML;a=a.replace(/Program(\w\w+)*/gmi,'curse').replace(/language/gmi,'word');document.getElementsByTagName('body')[0].innerHTML=a;void(0);
Forecasting events, from disease outbreaks to sales to cancer research
Sometimes. Sometimes not.

It really depends on whose sense of what's relevant succeeds. Sometimes that talent's in house, sometimes it's out-of-house.

The real question is whether or not the decisionmakers get in the way or not.
Interesting: "The country is currently home to more than 50,000 businesses that are over 100 years old. Of those, 3,886 have been around for more than 200 years. As a point of comparison, only one in every four U.S. companies founded in 1994 was still operating in 2004, according to the Bureau of Labor Statistics."

The "point of comparison" is nothing of the kind. There's no indication of what ratio of new businesses in Japan survive their first 20 years. Look up survivor bias.
Very cool! A few questions:

1. Is the hardware infrastructure in house or built on another cloud provider? I ask because you offer several server locations. Am I afforded the same up-times I'd find with AWS or Azure?

2. How do you deal with having multiple apps on the same port? Could Wordpress and another web server exist at the same time? Can I SSH to multiple machines?

3. Do you have stronger specs on compute power? "Standard" doesn't really mean much to me.

4. Great domain name.
It probably also gives somebody discovering the flaw a disincentive for exploiting it just for fun and then bragging about it since there will be no payout in that case.
Russ Cox commented on a couple of the proposed fixes:

> Maybe after the compiler is converted to Go.

> I'm not willing to make major changes to escape analysis right now. I intend to ask someone to take a look at the whole thing and see whether it should be changed/rewritten/fixed/etc in a few weeks.

It sounds to me like there are some significant changes coming down the pipe anyway, which may or may not effect the current escape analysis behavior.
Picbreeder – Crowdsourced Evolutionary Art
The hints are fantastic
If anyone wants to try and replicate this sort of thing, consider this: the mobile applications (touch.facebook.com, iOS/Android apps) that Facebook use very often take advantage of legacy api calls and code that the main web application has long since disposed of.

Agreed. Touch/m.facebook.com have had major holes exist for long after they have been plugged on the main site. It was iframeable long after the main site wasn't (and thus subject to clickjacking). Also, for a long time you could invite anyone to events by Facebook ID by posting the correct calls to the mobile site, essentially without limit, even after the issue was fixed on the main site. Since custom messages could be embedded in the invitations, it was a spam free-for-all.
I wondered a while back if (theoretically) taking some kind of non-harmful but pain stimulating compound might not make you feel awesome the rest of the time, and might even be good for you by recalibrating your inflammatory response and such.
I agree - that was the best explanation of CQRS I've seen.
Microsoft Releases Patches for Internet Explorer 11
I was about to say "come on, nothing beats IRC", but then I remembered how I always wanted IRC to have LDAP, XMPP, and a REST API.

So... can I connect with my IRC client?
"Some of the bigger players in the HTTP field have been missing from the working group
discussions and meetings. I don't want to mention any particular company or product
names here, but clearly some actors on the Internet today seem to be confident that IETF
will do good without these companies being involved..."

I haven't been following this much, who is he referring to?
Show HN: Update your app, without publishing on play store
I just deployed to Heroku with the button and the home page gives me a "Moved temporarily". Later a 503 application error.
No that's not what I meant. There is much about it that's amazing - its screens are certainly better than my 920 for example. What I was saying is that the technical aspects of the phone are (mostly) irrelevant when it comes to its sales.

Most people, I would assume, don't go out and decide between the phones based on which has the best performance or interface merits. They just go out and get an iPhone.
Real life experiments with drug decriminalization and other factors such as varying rates of addiction tied to life circumstance provide circumstantial support that addiction is at least not entirely chemical.

"Liberal drug views" in general seem to have a lot of real world support, while hard-core punitive prohibitionism has been a failure in every way pretty much everywhere it's been tried... that is unless your goal is to imprison a large number of people, perpetuate cycles of poverty and crime, and route lots of money to the prison and police/security industries. In that case they're a big success. At this point I consider prohibitionism to be a crackpot view. I get the sense that with at least some people prohibitionism is supported as an indirect way to persecute minority groups. It was true back when the "war on drugs" was pursued, and I think it's still true today.

There are cases where certain liberal positions do not have real-world support and basically don't work, but this isn't one of them. None of our over-arching political bias frameworks (right, left, etc.) jive perfectly with reality.
Microsoft acquires Sunrise, the best calendar app for iOS and Android
Why Pharma Payments to Doctors Were So Hard to Parse
> >Let me say it simply. Type systems cannot be a one-stop solution for specification and verification.

> Wrong! Any correctness property can be encoded into a sufficiently powerful type system.

I'm writing a factorial function. But, because the caffeine hasn't kicked in yet, at the recursion step, I add one instead of subtracting one. The result is that the program will run in an infinite loop until either the fixed-size Int rolls over to 0, or the bignum-style integer consumes all available memory. That's certainly incorrect behavior. But I'd like to see your "sufficiently powerful type system" that will handle that.

Then there's numerical accuracy. Here the results are not "wrong wrong", they're just "a little bit wrong" or "less accurate than they could have been". Again, I'd like to see your type system detect that.

In my world, embedded systems, you can get hard-real-time situations, which means that the right answer, too late, is wrong. I believe that there are formal verification tools, but they don't look anything like a type system. And even those tools depend on a very deep knowledge of the processor that the code will be running on (not compiled on). Once more, I'd like to see your type system that's going to handle this.

> > Curry-Howard is an interesting mathematical equivalence, but it does not advance any argument about how to write software effectively.

> This is absurd, of course. The isomorphism between type systems and proof systems allows us to build lots of impressive systems like Agda and Coq.

And if Agda and Coq were being used to write much software, you'd have a point. But if I understand correctly, they're mostly used for automated proofs. The point is that the program compiles, and therefore something is proven. The point isn't to get a runnable program.
ClickEffects - A set of subtle effects for click or touch interactions
IE's new 'Spartan' rendering engine available in Windows 10 Preview for phones
Then corporations could rob poor people EVEN EASIER!
As an atheist, I agree, but asserting that the rationale behind prohibiting gay marriage is mostly religious isn't supported by evidence. More than a quarter of the world's population lives in countries that are majority-atheist without being any more supportive of gay marriage than those of us in western, more-religious countries.
It's illegal in Germany which already makes it illegal in a good chunk of Europe if you go by population.
Germany also has mandatory school until 16 and religion classes in school.
The state knows best obviously.

[this combination is something that gets me on ragetilt quickly whenever I think about it even though I think our school system is generally pretty good/underrated]
The issue is that there's a conflict of interest when the same person who proposed the hypothesis is the same person attempting to prove that hypothesis. This sort of bias is why meta-analysis exists.
Here's the related thread on the mailing list: http://mailman.nginx.org/pipermail/nginx/2015-February/04658...
Wikipedia isn't so good when it comes to drug related topics. Or rather, it is atrocious since the linked study (http://wings.buffalo.edu/aru/HOUSING.html) arrives at the completely opposite result Wikipedia claims. It's an interesting read because it also discusses why setting up a study to fairly measure voluntary drug intake among groups of mice is very hard.
My apologies - my example was to illustrate a fit mismatch, not so much technical deficiencies.

Let's try it from a different angle: If you wanted to include every attribute of every event into Datomic as well as the aggregate view, you would have to add schema attributes for every event property AND the logical aggregate properties.

The extra schema doesn't really buy you anything other than being able to query your events, which you'll usually do by event type and date range. If you do need richer querying you're likely looking at an aggregate that happens to match the events. That's ok, and a design decision you can make.

Using DynamoDB raw means that events can have arbitrary shapes (including nested data structures) and you just dump them in verbatim. Then you only worry about your aggregate schema in Datomic.

In cqrs-server, we are also tagging the transaction with the event uuid, should you need to pull out the raw event from Dynamo.
The cross over is surprisingly early. I care for a cabin that uses a 24VDC battery for its solar power storage. I run that in #6 copper to the cabin (pencil thick conductors). I regularly see a >2 volt drop on that run when the tiny high efficiency fridge kicks on, on top of the ~40watts that the telemetry and comm gear takes. You wouldn't notice that on a 120v line, but that's 10% of my power gone to heating the earth.

Given a do-over on infrastructure, with today's equipment costs, it would save up front capital and power to use a small inverter at the batteries and run those items off of AC using smaller copper lines for the long run. Keep in mind that you still need DC-DC converters at the loads, since nothing is going to want to run off of your varying DC socket voltage.

(Batteries closer to the cabin is not a win, the solar panels are off that direction and those lines need to be kept short too. I do have a large inverter in the battery shed and send 120v to the cabin for big loads, but its idle current is too high to keep up for the base loads. The most expensive part of this spring's wind turbine installation (and heaviest) is the copper wire. Low voltage DC is not an answer.)
The problem is designing an experiment to confirm the hypothesis rather than to test it.
Additionally, a TCP connection is essentially an operating system resource; you need to set aside a port and space for a send and receive buffer. It might seem fine for a client to open hundreds connections, but imagine being a server with thousands of clients all opening hundreds of connections to you. You very quickly run out of resources and either have to close connections or reject new connections.
What makes the recently launched .delivery domain so valuable
Funny cat running around and attacking sideways
> Still, it is imperative that we gather intelligence from captive terror suspects in order to prevent heinous crimes from taking innocent lives both at home and on the land of our allies abroad.

There are a lot of false implicit assumptions here:

1) The image system is good enough to get any information: It' a new technology. I expect that it is overhyped usual and you will not get very much information for a long time. Have you seen my flying car?

2) Torture methods produce accurate information: It's well known that people make false confections and incrimination under torture. Just Google "witch hunt" for an old enough case that is not currently politized.

3) The interrogators are reliable: It's easy to use low quality information extracted from the suspect to incriminate whoever you want. Sometime it's not evil, only that if the interrogator has some previous ideas they can cause a big confirmation bias.
> And that's okay. I see it differently. We all take different understandings of things. The tweeter should have considered this when posting the tweet.

I find it hard to accept this. I've offended people, unintentionally. Heck, there are still a few times that to this day I don't understand why the person was offended (I mostly do understand when they explain themselves).

We are human; I don't think it is reasonable to parse everything 140 characters that ever leaves our mouths or fingers and correctly predict how any/every person in the world might possible interpret it.

I mean, do you know anyone, ever, that has never offended somebody? It seems like an impossible standard. People shouldn't brake to late and rear end somebody at a stop light. People shouldn't ski too fast on a ski slope and fall. They shouldn't trip and fall. They shouldn't talk over somebody during a conversation. But we do them, now and again.

I loathe posting in conversations like this because it is almost inevitable that someone somewhere will misconstrue what I am saying. "Look, Roger is sticking up for racist posting!" Uh, no, anything but, but someone somewhere is going to say that. I'll probably get lucky and that won't develop into a Twitterstorm, but who knows? A good part of me says just delete this and don't hit reply.

But I don't want to live in that kind of world of perfect expectations. I'm going to try hard to express myself well, but you (you=public, not you the poster I'm replying to) have to understand that modelling the minds of others is a difficult and mistake ridden field.
Data from Seized Computer Fuels a Surge in U.S. Raids on Al Qaeda
Portal will have a method for sharing data between apps, but it's not there yet. For authentication, apps can run an HTTP server on a special port, which will be proxied to the user pre-authenticated. That might change before launch, but it's fairly simple.

In the case of apps that publish public URLs (like WordPress) they can choose to use Portal's single sign on or not.
I like Python's syntax, I enjoy how easy it can be to get up and running with something real. I also like that Ubuntu comes with it, but everything else is crappy. I don't like the package system, pip is not that great and needs work. The almost cult like refusal to upgrade to 3.x weakens the community resulting in less available modules. It's also not a very strong contender for web development.
I believe that such instances are not generated by this game, however.
How to save money running your startup
5 ways to protect your company against former employees
Alert Logic for IDS
Diacetylmorphine is still used in several European countries as a front line analgesic. Other forms of morphine are widely used for pain relief on a prescribed basis all over. If it is as simple as using morphine addicts you to morphine, why are no much wider swathes of the population addicted to it?

I don't know that it's purely environment, but there's plenty of evidence out there that seems to suggest it's more than simply chemical dependency.
Maybe I'm missing the ToS where copyright is assigned to HN, but I'm going to guess that a simple DMCA notice to HN would have all your comments deleted quite expediently.
It is not exactly car free life though. Uber, Lyft etc. are less environmentally friendly than a personal car, in the long run, IMHO; and they are still cars.
Yes, you can even go to jail for that in lot of EU countries.
AFAIK, no US bank is actually offering true "chip-and-pin" cards. USAA used to, but they re-ordered the CVMs on cards issued since last June. Now their cards prefer signatures over PINs, just like most other American EMV cards.
There is also Kandan App. https://github.com/kandanapp/kandan
You should probably file it as a bug or ask for support on github rather than HN! :)
>the Milgram experiments should be discredited for the same reason

Actually, the original hypothesis Stanley Milgram had was that Germans were somehow predisposed to obedience as a culture or race. His studies in the United States were what's called a "pilot test" (https://en.wikipedia.org/wiki/Pilot_experiment) conducted to verify if everything was working as expected. Once he had some control readings for Americans, Milgram planned to go to Germany and conduct the real experiment.

Milgram, and virtually all of his colleagues, believed that nobody would obey until the end of the study. He polled his colleagues, and the highest number ANYONE gave was 3%.

If you're not familiar with the Milgram experiments, take a minute to read up on them. Roughly 60% completed the experiment, obeying orders until the end.

For what it's worth I think you're wrong about conducting science, maybe right about the rat park, but don't bring the Milgram experiments into it. They are possibly the most valuable result science has ever given us.
While this is absolutely true, I know some people that like to do this type of stuff for "fun" and the bounty is just icing on the cake. It also won't hurt him in finding that kind of work in the future.
How do web browsers handle cancelled requests? Subjectively speaking, it feels like browsers can take a while to recover from cancelling the loading of a large page/page with a large number of assets. Could this be part of that?
Congratulations! You've discovered slowbans!

Try creating a new user account, and see if it's faster.

Also, open your debug tools and watch the network traffic to get a real good idea--I've got something like an 8 second slowban right now (not necessarily undeserved, mind you).
Something similar https://github.com/JabbR/JabbR
Might not have been easy depending on how many other things he had to test before he found this error.
Innovative Company Harvests Green Energy from Water Pipelines
I've worked for orbitz for 7 years , good place to work , don't know what the outcome of this acquisition will be tho.