skysight-inc/HackerNews huggingface dataset:
Most C/C++ compilers don't propagate `restrict` after inlining, so you lose a lot of optimization potential even if you use `restrict`.
That's hilarious and might be something I build in!

Of course, this place'll be quiet after it's off HN so it may be a non-issue!
Switching from Authorize.net to Stripe
Show HN: Valib.js - validation library for the browser and Node.js
Son Doong Cave, Hang Son Doong - World's largest cave!
On a few things.

One, if I read the safe harbor stuff correctly, then if you ignore a DMCA notice it means you can now be sued for hosting the content. If a host decides they are willing to run that risk, I believe they can happily ignore a DMCA notice.

Two, basic business knowledge. YouTube partners with a lot of the major media companies, and taking down large volumes of their stuff in a way that looks dumb would harm their partnerships. Companies are very reluctant to bite the hand that feeds them.

Three, if someone could take down everything on YouTube by forging a zillion DMCA notices, I expect some enterprising troublemaker would have done it long ago just for the lulz.

Ok! Your turn. What's your evidence? Because that's what I asked for before and nobody replied.
That Avast post-mortem made me smile. I think they did a great job, not only explaining in clear language what happened, how users can help with reporting similar cases, and the final shout-out to TextSecure is the cherry on top.

On the other hand, TextSecure's blog post starts and ends with a "Avast is evil and sucks" vibe (in the original pre-update post). It's understandable, they're a starup and probably panicked a little. Still, if you leave the post mid-read you get a bad image of Avast.
A year and a half on bail, from 16 December 2010 to 19 June 2012 per https://en.wikipedia.org/wiki/Assange_v_Swedish_Prosecution_.... Also per that Wikipedia article, he fled to the U.K. while under suspicion in Sweden, and "He left Sweden on 27 September 2010. The Swedish authorities have asserted that this is the same day that they notified Assange's lawyer of his imminent arrest."
That's what I'm doing now. It's actually hosted on AWS, and I dropped the price to $1/month and still have trouble selling it. The site is https://www.bitcoinvigil.com if think I'm doing something obviously wrong
> the fact they arrived a long time ago insulates them from that

Being white doesn't hurt either.
Exactly on what objective evidence do you base your claim that "rates of false accusations are far, far smaller than rates sexual assault and rape"? The subject of rape and/or sexual assault is highly controversial: to give you but one example, a lot of black men were lynched in the US because they allegedly raped white women. If you were to take your claims seriously, then you would have to agree with the Ku Klux Klan on this matter. Do you really want to do that?
Why can't they question him by video?
I think the first would make it useless for purposes of enforcement, so I think that's a bad idea.

But the opportunity for counternotice seems like a great idea, perhaps including some discretion for the hosting company. When the DMCA was written, they would have had to allow for a relatively long period. But now that we all have the internet in our pockets, it seems like a few days or maybe a week would be plenty of time.
Could somebody familiar with the tech explain the Midgard execution model described on page 6 of the article. I don't understand how each arithmetic pipeline of the Midgard is "essentially it's own cpu". If this is the case, it's perfect no as I get an vast array of independent SIMD units. What is the downside?
No. You generally only add numbers and strings together.
Stasi is relevant because methods Stasi used are relevant.

Stasi considered arrests and torture to be ineffective and crude methods when controlling people. They wanted something that was harder to detect even for the victims. The oppression and surveillance Stasi directed towards typical citizen or dissident was not brutal as in "you have to fear for your life", especially in the last decades of DDR.

Stasi perfected the technique called Zersetzung. It was form of psychological harassment and character assassination that maintained plausibe deniability. They falsified information and caused mental stress. For high value targets it could include breaking into their house and altering furniture. For most people it was the threat of being inconvenienced, life being derailed and social relationships disrupted. Not getting into school, not getting the job or apartment you wanted. False rumors about you. Social relationships being broken. No-fly list for your life.

There is potential for the same thing happening in the west as a result of more efficient surveillance. Some black box algorithm determines that this guy acts in a way that is above some threshold and your life will be somewhat more shitty from that day onward. You just don't know why.
Actual paper is unfortunately paywalled, which certainly does not promote academic honesty.
It's just you: http://www.downforeveryoneorjustme.com/Play.freeciv.org
Background: Sometimes, finding the best price for an item on eBay is a surprisingly hard process: if you sort by price, you get a lot of junk. OddPrices attempts to simply this with an interface that shows all listings for items on a single price bar -- and evaluates how good of a deal it is compared to recently sold listings. Beta is out after 6 months in development. Feedback appreciated!
Oh God. If we ever need to use morse code to fight super intelligent machines. We are doomed.
Phpinfo() Type Confusion Infoleak Vulnerability and SSL Private Keys
That reminds me of a little accident I had with my home automation interface.

In an effort to make the UI accessible from the outside (for me), I forwarded the Raspberry Pi's HTTP server port to the server where I host my normal web stuff. Only I screwed up the proxy rule in the NginX config. All of a sudden, lights and blinds went haywire all over the house.

Turns out whoever visited any of my domains at the time got the HA control panel instead. And people clicked on the devices!
hahahaha what a piece of shit.
That makes sense -- although now I'm more interested in what a non-public facing 8 person startup with a few 48 core machines that can afford 200k in licenses is doing!!!
This is a very touching article and it reminds me all too well that I most likely don't have that long before I go full-on deaf again.

Now, ironically enough, being deaf played a huge role in my appreciation for music. My condition led me to being completely deaf by the age of five, and a few years and a bunch of surgeries later, I had recovered a good part of my hearing (which I'll always be thankful for).

Coming from a family where music had little to no presence, it really surprised my parents that I would develop a strong sense for music. I picked up piano as a kid and numerous other instruments in more recent years.

I couldn't live without music, and I'm not saying this lightly, but being deaf is not the end of it.

I would dare say that there's a dimension to music, or more generally speaking sound, that cannot be heard but can very much be felt. I've spent a great deal of time (and still do) feeling music/sound through my skin and my body, and maybe because losing a sense sharpens others, or maybe simply thanks to focus, I discovered and appreciated a completely different quality to sound.

It might be easier to say because I've already gone through it, but I'm not particularly worried about losing my ears again. Sure it can be limiting at times, but being deaf comes with an interesting world of its own, one which I find myself longing for on occasions, as curious as it might sound.
I don't think all middlemen are parasitic. The guy at my corner store, for example, creates value by stocking a carefully chosen set of products very near to my house and having them available at all hours. He's basically an L1 cache. And in being that, he's not making the problem of goods-getting worse for other people.

I think you're wrong about Google. They create enormous value through the services they provide. They then monetize that mainly through advertising. They could monetize it other ways; if advertising were illegal, Google would still be raking in cash.

But their search-related advertising, unlike traditional display advertising, actually creates value for both advertiser and viewer because it's relevant to what people are searching for. In user tests, a former colleague was having people do Google searches related to shopping. One guy, unprompted, said, "Hey, you want to know the secret for Google? ignore the stuff in the middle. The really good links are over here on the right." That is, he found the ads more valuable than the normal web content.

Turning back to the companies mentioned, I think they are serving their customers well. The problem is that they are all creating negative externalities by forcing other parties to become unwitting free suppliers of goods they are selling. For the parking apps, it's the cities providing the public parking. For the reservation app, it's the restaurants.
Perhaps he's saying all current languages suck in that respect, and that the future of programming is languages that don't let you write unoptimizable code.
I'm willing to give the Swedes the benefit of the doubt that offense 2, the only one that depends on this condom condition, is a legitimate crime. It very possibly goes hand in hand with 1, in that if the two offenses were together, "AA" couldn't visually confirm he was wearing a condom.

For offense 4, it's explicitly "an aggravating circumstance".
BMW factor workers given "super thumbs"
Keep in mind that although availability sets can help reduce the chances that two VMs will go down at once, you do have to deal with the maintenance cycles that Azure has where they will reboot every one of your VMs over the course of x hours.

This means that with a master/slave setup, a simple failover from a master to a slave is not sufficient, you need to be able to fail back automatically as well. Depending on the exact technologies you are using and how you are using them, this can have a lot of tricky corner cases that can end up much worse.

If you don't do this, then when your master comes back up and they decide to reboot your slave next, which is a common scenario, you lose availability. This differs significantly from a scenario where VM failures/reboots aren't correlated so closely in time; if a VM failure is more random, it is more reasonable to require manual intervention to fail back to the master.
Alliteration is always a good reason :)
I shouldn't have been so short with you. I've just seen one to many articles where Swift is made to be seen as Apple's godly gift to software development, without any references to similar languages. Not that yours is that ofcourse, it just triggered that frustration a bit :)
Ah, you're right. Thanks.
I agree. Like I say, there are some instances where zero crashes is absolutely the right goal. It may not be absolutely mandatory for a window manager (in the way it would be for a self-driving car), but I can understand why someone would want this as a goal for this app.

My point was more that I don't think it's a sensible standard for all software. I hear this kind of thing quite regularly, usually by non-technical managers, often in a way that seems to suggest they think bugs are either the result of pure sloppiness, incompetence or downright malice.
tl;dr:
Stories focusing on the positive aspects: Good. -->
i.e. George Washington and the Cherry Tree

Stories focusing on the negative consequences: BAD. (Pinocchio, The Boy Who Cried Wolf)
How about an option to not show them at all then?

I mean, I enjoy seeing a few of them a day show up on the front page, but when more than half the front page is nothing but Show HN that detracts from my experience, though it may not have the same impact for you.

If the default is to show them and to allow them to whiteout the front page, I would rather have an option to not see them at all personally, which I do think is unfortunate but that's how I feel. I enjoy HN for the news and light sprinkling of Show HN, not the other way around.

Edit: fixed typo
There is an article about this in the most recent net Magazine issue. The example given made sense but was just edge-casey enough that I came away thinking that normal CSS was probably good enough for me. Plus GSS usage seemed like a bear given the minor advantages.
I understand and share your frustration. This article is my attempt to counter the "Swift is super fast because rainbows and unicorns" attitude floating around.
Hey guys!

I'm a Team USA athlete & the co-founder of Medalist.

A couple months ago I tried to build myself a website so I gave a shot at Wordpress, Blogspot and couple others but they were too complicated and didn't fit with my athlete reality.

So along with some of my friends, we created Medalist – a website builder for athletes that makes it easy to create a beautiful website in 5 minutes (for free).

Any feedback would be appreciated! Thanks for trying it out!

Antoine
As people have pointed out below, this is a myth. An embassy is not sovereign. It is on British soil and under British law. The reason embassies are not raided is diplomatic politeness. If it is was someone the US/UK really cared about they would be whisked away in the blink of an eye.
I respect the author and his approach. There's a lot to be said for quieting the noise we subject ourselves to at every turn.

However, in my personal experience, solitude is a state of being I do not wish to share with others when I'm experiencing it. It's a place I go to get away from the bombardment of thoughts and ideas and senseless chatter we all suffer through (although some enjoy it more than others). It's a place for quiet reflection and meditative concentration on self improvement and pursuit of happiness. When I want to be alone I want to be absolutely alone because each time I emerge a new person.

Then again, take what I say with a grain of salt; I don't even have a smartphone for precisely the reasons above. I view the level of mindless connectivity we all have with each other now to be somewhat insane.

All that said, if you can get more people to enjoy time by themselves, even if it is with the crutch of a smartphone, I would consider this app the methadone to social media's heroine. You have my blessing =].
> There's no good way to refer to the entire DOS/Windows command shell lineage without confusion

cmd.exe? Powershell?
Rising Use of Encryption Foiled the Cops a Record 9 Times in 2013 | Threat Level
Thanks! Yes, we register it for you - email me if you have any questions (see my hn profile for my email)
Said another way...

>a level of abstraction is still missing in the web developer's toolkit.

As CS people we kind of intuitively feel this, but I'm not sure we really are missing anything, because, basically, HTML is already at the presentation layer. Remember when the proposed solution was to use XSLT to transform XML into HTML? Terrible as that was, the motivation behind it was a nod to the fact that XML is data and HTML is presentation.

So, I also wouldn't agree that mixing chrome and content together in HTML documents was a compensation as much as simply using HTML for its purpose. The content actually starts elsewhere (XML,database, etc.). It ends up in HTML for the very purpose of presentation.

There are ways to separate out chrome and modularize it that can use pure HTML. That makes sense. But, I don't think we really need another tech, language, or abstraction.

Now, we have added CSS to further abstract and LESS on top if that for still more abstraction. It can go on ad infinitum, but at some point, we are losing value with each additional abstraction.
You can read the full paper here: http://www.kangleelab.com/articles/Psychological%20Science%2... (thanks Google Scholar!)
>The mind-share split between Clojure and Scala scares me.

I think Scala is going to win the corporate mind-share. I just accepted an offer at a large corporation that is writing all of its new back end services in Scala.

The lead architect is familiar with Scala and Clojure, and is trying to introduce the latter into the codebase (he successfully introduced Scala). There is a use case for an "Immutable Database" for one of the services, and It would make sense to use Datomic/Clojure for it.

The hesitation to use Clojure seems to come from some developers, and not the management team. I think it stems from the prospects of having to maintain a large codebase that is without first class static analysis.

Note: I think Scala and Clojure both rock.
I use Alfred a lot, and I've installed a lot of workflows, but I don't use many of them.

The one I use the most, by far, is "Plain Text Paste," which I use almost every time I paste anything (I use the hotkey CMD-SHIFT-V). It's here: http://cachefly.alfredapp.com/beta/Plain%20Text%20Paste.alfr...

The only other workflows I use regularly are hotkeys to open websites I visit regularly, like our own website and our WordPress log-in control panel.

I'd too would love to hear which workflows other HN readers use a lot.
> But shouldn't they at least strive to make the APIs as similar as possible?

No, not when the behavior is completely dissimilar and the method name is highly misleading.
A knight for the good cause, then :)
I agree. JavaScript is weird. I think ECMAScript will make a lot things better, but it will still be a couple of months and it still won't fix it all - still a huge step of making it a really usable language for many things.

Node.js is becoming mature, less trendy. I really find it weird how people compare it age wise with Go. JavaScript is way old than Go or other languages. V8 is also older than Node of course. ECMAScript didn't have breaking changes in a really long time. There are many, many implementations. SpiderMonkey has been used on the server side for over a decade now.

Go looks great. There are some rough edges though and whether really good solutions will build up for these things is a really interesting thing to look at.

It is really nice to see Node.js, Go and Rust emerging in amazing ways, all of them fixing problems in amazing ways. I love how great concepts, like node.js streams and pipes are copied to Go and Rust in ways that match their styles, not just blindly.

All these things even influence languages like Java and C++. Who would have known only a couple of years ago that things would emerge in such ways and that it needs some projects with the idea of yet another programming language. What is even more interesting is that a lot of concepts actually stem from Perl... well, not necessarily the language itself, but libraries, modules or Perl6, which arguably was/is a really ambitious research project. It's a bit how many concepts took ages to be ported from Plan 9 to other operating systems.

Anyway. It is great to see how people nowadays look at other projects and don't judge by first impression anymore.

At least it seems like it. Node.js looked extremely awful to me in the beginning and turned out to actually not be (despite its shortcomings and JavaScript, which also turned out to be nicer). On the other hand projects, like Meteor that looked at least okay in the beginning turned out to be way more awful than they looked when I first heard that they don't even support proper REST.

I know, my opinion on this might not be really popular, but it's amazing to see how so many new concepts emerge, even when they seem crazy, sometimes turn out to be crazy, sometimes turn out to be amazing. It's hard to know where we will stand in a couple of years. However, I don't think only one of Rust, Go or Node.js will make the race and I think none of them will look like they do today in one or two years, especially when it comes to their ecosystems. Just because all of them are too young to be judged upon and all of them are changing too rapidly (or new standards are upcoming, as with ECMAScript), so that nobody really has or can develop a deep understanding of the language/framework yet, not even its developers.

What I really hope though is that there will soon be more big projects than just Docker and a bigger ecosystem.
If that's all you got out of this article then you missed the point. It's clearly targeted as a criticism of "kneel before my benchmark" posts; highlighting the fiddly technical details that make runtime scores nearly meaningless on their own. It's analogous to medical journals having to analyze all the confounders of their study in order to attempt to prove that what their graphs show is causation instead of correlation.
Owner shuts down computer store; invests $700k to develop virus-resistent PC
> Do you actually do web dev ?

Yes.

> How many times you struggled with mingled CSS ?

Not enough times that I'd get blood pressure issues over it.

> I bet first one is far more common and costly task.

You lost your bet. Which was idiotic, I wouldn't argue web layouting to be a bigger issue if I didn't find it to be.
Presumably you have to use a smart phone to connect to each bulb when you install it and send it a non-fixed key.
You'd run the data nodes as standalone servers, but the recommended way to talk to ES from your Java app was, at the time, to embed ES as a non-data node in your app, which means that you could talk to ES in-process, and the local ES would be part of the cluster, just pass on queries and data to the data nodes. This was 2011 (0.18.x or 0.19.x, I think), so maybe that's not the recommended way any longer. The REST interface was also available, and recommended for anything that wasn't Java, and that's what we ended up using (but given the opportunity not to write the code that interfaced between database and ES in Java, we took it, and wrote that in PHP, with just a tiny bit in Java to push a job on the queue).

It looks like that's still what's happening in the Java API: http://www.elasticsearch.org/guide/en/elasticsearch/client/j... I'd like to reiterate that moving our app to a more recent JDK would have also been a good solution, except that we didn't have the dev and qa resources at the time to devote to that.
It keeps things up to date with DOM changes using Mutation Observers & it does so intelligently so it won't redisplay whole page.

Cassowary is an incremental solver & is optimized for adjusting constraints in runtime.
Chrome Will Now Let You Surf in Virtual Reality
Not really, unless your early 90s PC was really shit.
I've found the Go plugin for IntelliJ to be flaky around the things I most want. Particularly refactoring. It would also be nice if it borrowed the behaviour of the sublime and vim plugins and fmt'd code on save.
Seconded. You're lucky to get clean ACPI shutdowns, half the time Azure "pulls the plug".

The closest thing to an official explanation I've found (note date and chorus of comments): http://blogs.msdn.com/b/wats/archive/2013/09/24/windows-azur...
If it wasn't a Tesla, it would just say "Stolen car". Why is the article so focused on it being a Tesla?
Germany arrests suspected US spy in relation to Snowden investigation
Landing Page, the stadium where all is played!
Sleipnir: BDD-style framework for Swift
What is the purpose of internet connected light bulbs? Is the internet of things a way to spy on people who remove the batteries from their mobile phones or what?

Is it just some excuse to con investors into buying stocks in some insanely valued IPOs?

I don't mean to be negative and I understand the value of information in our economic life, but how much info is required from the internet of things to support our home life of eating, drinking, fornicating, watching TV and going to bed at the end of day?

who keeps all this info and what to they do with it?
Summary: some jackhole was going 100 miles per hour and hit a honda carrying 5 people, then struck a pole which cut the car in half. Half of it stuck in a building, and the other half of the tesla caught on fire.

This has nothing to do with Tesla and EV fire concerns. Try doing this with an internal combustion engine car and see what happens.