skysight-inc/HackerNews huggingface dataset:
Are cgroups meant to be secure against malicious code trying to get out and install rootkits on the underlying system?

AFAIK, hardware-level virtualization is. If code running under Xen can get out, that's considered a bug in Xen and it gets fixed, right?

OTOH, chroot is not considered to be secure. It isn't designed to be secure. It is not a security tool. Code in a chroot jail is expected to be able to leave without subverting the security mechanisms which, by and large, don't exist in the first place.

So, are cgroups Xen or chroot?
It's a patent for the shape of the guitar, not electric guitars themselves.
That would be ideal. Unfortunately sequencing is imperfect and there are many points throughout the process where error can be introduced. The easiest source of error is simple contamination. It happens even to the best of bench biologists.
I think it was inherited from the Netscape culture, because it was present early on. And frankly, given that for so long NSCP could do no wrong, it's understandable to a point.
I didn't care about it, but it got some people really up in arms.
Mission E is an ugly ugly car. It's clearly trying to hard to look different, but ends up looking more like a cheap plastic toy than a car.
> Toyota, Nissan, BMW, Mercedes, Porsche, Ford, GM and even Yugo (raise your hand if you remember them) has a pure electric with 200+ mile range for $40K.

Why would any of those companies leapfrog Tesla in battery technology when that's literally Tesla's core competency and they're poised to become the largest battery manufacturer in world?
> WebKit was a fork of KDE's KHTML engine, and so had to be open source from the outset.

Parts of it had to be open source. Apple could have made a lot of WebKit closed if they had wanted to since KHTML is LGPL, not GPL, and much of Apple's additions could have been kept as separate modules.
What I'd love to see is webmidi support, it would be rad to be able to do a windows universal app with es6 and create a midi sequencer for my hardware synths, I can do that on chromeos and then package it as an android app on android 5.0+ but I can't do that with windows universal, also can't do that with ios. Webaudio is supported across all three but only google and opera so far support webmidi.
I still have at least a couple Gemstone III dreams per year (without any lag or $500/month bills, of course).
Christian used to mean "Follower of an obscure Jewish apocalyptic heresy." Christians used to believe the world would end before the Christ's original followers had all died. ("Christ" used to be a title, too, not a name. His name was Joshua, son of Joseph.) What does it mean now?

Frankly, the redefinition of "Humanism" is barely a semantic shift compared to that.
So what is next for Mozilla? Sounds like they don't have much going in their favor at the moment.
Why not go long?

People forget that the market is bigger--many times bigger--than the Treasury and the Fed put together. Why not go long? Because the market for 20+ year debt at a laughable yield won't allow it. I suspect the economists at our governing institutions know what they are doing: Rising rates will cause havoc, and so they sell paper based on avoiding said havoc.
The Programming Languages That Spawn the Most Software Vulnerabilities
I suppose I can allow a couple more zoom levels. I'm just trying to limit my requests to mapbox as much as possible since this is all out of my pocket
#define defmax(name, type) type name(type a, type b) { return a > b ? a : b; }

This seems to be exactly how you would define a "generic" max function in Go with the current tooling, too. Which is a shame because C macros just aren't good enough.
FWIW, LLVM was a thing before Apple got involved (and I remember the project from them, back when it really was a "low-level virtual machine" as its primary purpose). They hired the guy who ran that project and then essentially took over, and have on occasion run "rough shod" over the community: they built their ARM64 backend in secret for the iPhone 5S and essentially forced Google and others to spend a lot of time building out a quality AArch64 toolchain for that same architecture, which everyone else did as part of a public community. When everyone else was pretty much done Apple finally decided they were ready to open source their backend, and used their steering of the project to stall a lot of things while the work was merged. They also had a chilling effect on some developers in the open ecosystem by saying they were going to open source their work: you can find mailing list posts from people saying they didn't want to waste their time as Apple would be providing theirs, which of course they did much much later than they originally scheduled. FWIW, I don't entirely blame Apple here as evil or anything, as I can appreciate "we are the first to care about this chip and we really did all this work ourselves and it would be really demotivating for someone else to just watch us slave away at it and then still be able to come out with a final product only months after us because we gave it away", but they certainly don't deserve the kind of props you bestow upon them by claiming they "open sourced" that project :/.
Flux-Inspired Application Architecture for Vue.js
Awesome! I actually went to OSU! Get at me on twitter if you're ever in Tulsa and would like to meet up. @willem_jr
µBlock origin helpfully blacklists it all for suspected malware (“uBlock filters – Badware risks”). It's a nice reminder, and I never click through the warning.
I'm not really sure how to take this recent and emerging narrative that software source code compilation is actually an unreliable, unpredictable activity.

I find it really strange that there's a sudden, intense focus on the premise that, given the same source code, when providing it to different people in the wild and asking them to try and compile it, and then having them share their results, doing so reveals variations and disparities that are difficult to explain or account for.

I know why people are suddenly paying attention to this detail: paranoia.

I remember when I noticed this concept had first started to gain some traction. Once people started trying to compile certain open-source crypto applications, and found that their binaries weren't byte-for-byte replicas, it begged the question: Am I actually encrypting my confidential data with a surreptitiously hobbled program? Is there a covert plot to infiltrate and sabotage these sorts of software projects? How would I know if the encryption was weakened in a subtle way, when I don't have the resources to try and crack it at levels that demand well-funded hardware?

But, I wonder, is this something to worry about everywhere?

Is this why so many projects are now taking on this additional activity?

Is there a panic and an anxiety driving this trend, or are we just crossing dotting our i's and our crossing our t's with yet another set of best practices?
Alternatively you can just ask any linguist, and they'll assure you using "literally" for effect is not just ages old and used by lots of prominent writers, but also an absolutely legitimate use of language, typical of the inventiveness that moves language forward, and a use that has many more similar examples that people who complain about it wont think twice about using.

>Otherwise I'll just assume that since they wrote a lot, there's going to be some mediocre bits and padding in it. For

The thing is question wasn't about it being good literature, but about it being legitimate use of language. It was more: "prominent writers use it too, not just ignorant buffoon as idiots claim" and less: "it belongs to good literature".

As for it carrying any signal, that's not something that can be refuted. It ALWAYS carries the signal of "emphasis" over the same phrase without it.
the GNU version of look(1) does this:

NAME
look — display lines beginning with a given string

-b Use a binary search on the given word list. If you are ignoring case with -f or ignoring non-alphanumeric characters with -d, the file must
be sorted in the same way. Please note that these options are the default if no filename is given. See sort(1) for more information on
sorting files.
If the Internet is addictive, why don't we regulate it?
At that point, why not switch to a 40' container? It already has the lift points on the corners. Not sure if the doors swing 180 degrees.
Came to the comments to say something along these lines. I have no idea why people still trust and use SF...
Why DNA out of interest, could one imagine any other polymer being chosen for the purpose? Is the reason:

- Stability?

- The dynamics and specificity of ligation between complementary sequences?

- Alphabet size -- is 4 a good choice?

- Enzymes exist that can carry out a lot of the necessary operations?

- Humans have developed a lot of expertise in manipulating DNA?
Brazil to test controversial cancer treatment
Why not use the Chinese characters (Kanji) to encode the moves in Chinese/Japanese semantics, instead of Base65536 ? It might not be as compact, but it would still be far more compact than Ascii AND you'd be able to read it without decoding software if you learn how to read a little Chinese or Japanese.
Cool. I'll take another look. I got burned a couple times buying books on half dot com that were being resold from India. Quality was horrid.
I'm going to get stabbed in a dark alleyway for this, but I would argue that most Go projects don't benefit from being perfectly go-ish.

It's a small, simple, language that is terrifically pragmatic. Write code that's clear, self-documenting, and works. Then go back and fix up performance, convention, and style, as needed.

I wonder how many thousands of hours has been spent talking back and forth over an ultimately trivial part of Go.

......

Solid articlie though. As someone who writes a lot of Go, is sick of hearing about Go, I enjoyed it.
The Flash (Legends of Today) Summary and Review
Van Eck Phreaking
Home automation prototype made with PJON communications bus system and Arduino
My understanding is that the Japanese' Bushido code specifically looked down on sneak attacks. I.e., a lower-class Ninja* might kill you in your sleep, whereas a noble Samurai would wake you up and give you a chance to draw.

If you've ever noticed the Americans' official reaction to Pearl Harbor often made a curious point about calling it a "despicable sneak attack". While a sneak attack seems like a rather obvious way to start a war for Westerners, the emphasis may have been a propaganda point towards the Japanese.

[*] No offense is intended to any actual Ninjas.
Well, the danger of contamination would be in any host vectors used to clone the DNA. Its conceivable that a virus could infect the host vector and introduce its own chromosome into the host chromosome, but this probably wouldn't be a major problem. Any interuption in the encoded data should be easily detectable, highly unlikely in the first place, and there would be many copies of the dna. But the actual storage would be dna outside of a cellular context, in which case ot wouldn't be 'active'. The only dangers in that state would be water, heat, etc.
This is pretty much the definition of confirmation bias.
It might perform as fast as Chrome. I certainly wouldn't rank it as stable or memory efficient. It hasn't been, in my experience.

I use Chrome as my primary browser on Linux and OS X. Tried to use Edge as primary on 10, but it's
a freaking HOG. I'm using Chrome as primary on 10 now, too.

Can't wait to see what improvements come.
Are there any biofuels that don't require more hydrocarbons to produce than they replace? My impression was that because we couldn't industrially digest cellulose and because we rely on fertilizer from the heat-intensive Haber-Bosch process to grow most staple crops, that producing ethanol for cars caused a net-increase in carbon emissions. Am I mistaken?
Google's patent for ‘needle-free’ blood-drawing system
Robert Caro's Painstaking Process (2012)
This is great. Thanks Mike.
Has anyone serious tried the Kickstarter model for funding quality local news?
Good example. Thanks.

> Which is a shame because C macros just aren't good enough.

No disagreement here. However, that still perfectly satisfies what may people claim they want in generics, especially those who most frequently trumpet that Go is lacking them. If we took that exact macro and added a little hypothetical syntactical sugar:

template<type> type max(type a, type b) {
return a > b ? a : b;
}

max<int>(1, 2);

a lot of people (not everyone) would be very happy, even though there is no theoretical difference at all. I've seen countless proposals for Go generics that do nothing more than that, but have been rejected for obvious reasons. That's where I'm coming from.
>WebKit was a fork of KDE's KHTML engine, and so had to be open source from the outset.

On the other hand it didn't have to be a fork. They could have gone for the NIH way, and make their own totally controller rendering engine.

Especially given that Apple's WebKit additions totally dwarfed KHTML.
Show HN: Send emails from your web page with this JavaScript accessible service
Well, Safari/Chrome/Android browser/etc is a result of an open source project Apple adopted (KHTML), expanded and developed way beyond the original code. And while Webkit couldn't merge back into KHTML easily, it became the basis for a full blown Open Source engine of its own with tons of adoption.

Also LLVM. Apple heavily funded work on it, and it's now used by everybody who's anybody in the industry, from Google to MS.

Apple just doesn't care to go into much community development by committee (bazaar) because they have their own (cathedral-like) agenda to follow.
Make 8-bit art
All of the above! Dna is very stable (compared to, say, many proteins).. it is essentially the cell's harddrive, while mRNA is more like the memory. DNA is able to express complex information through sequences of a small number of states, is replicated and maintained through a highly conserved set of molecular machinery throughout life, and the human experience in manipulating it is approaching that of pushing electrons across silicon boards. The similarities are quite startling!
> Either way, it provides what most people are asking for in generics (not you, perhaps), even if the implementation isn't exactly pleasant.

No, it doesn't. Not even close.

Even something like generic List<T> and sort<T>(List<T>) (separately compiled) will fall down because that simplistic scheme doesn't give each generic type and function a different name, and there's no way for sort<T> to look up whatever name List<T> got instantiated into.

There are also all sorts of hairy issues you will get into when you have name resolution and separate compilation: how do you make sure the macro got instantiated into the same lexical environment that it got declared in? This matters a lot when you have package A exporting a bunch of generic types and functions for package B to use, and it's going to be B doing the expansion using B's types. Even if you set up things just right to resolve the names in the proper lexical scope, how can B's expansion of A's templates use private symbols from A?

Finally, you have the dreaded C++ template error message problems, except they're going to be even worse with this scheme because the compiler is going to complain about code post-textual-replacement, with no way to interpret the chain of events that led to the error. At least clang and GCC have lots of semantic information that they can use, since templates are expanded during semantic analysis.
>I work at a web shop, and we're convinced that Apple is deliberately failing to make improvements to Safari (specifically on iOS). The theory is that they are conspiring to lock in people who depend on the platform, but also prevent them from delivering anything approaching the quality of native apps on iOS.

Classic cooky conspiracy theory.

In fact the Android browser is in many ways worse than Mobile Safari.

So there goes the whole theory...
I'm genuinely curious: Which brutal dictators are currently receiving U.S. arms? With Mubarak gone I can't come up with any. The Saudis? Hard to describe what they're running (or at least barely managing) as a dictatorship.
On the surface, this seems like a refreshingly not-bad article among those intended for the lay population.
There's a huge theoretical difference. To name one obvious example, the template is hygienic with respect to name collisions, while the macro isn't.
Its really simple, my boss said I have to have done in 3 weeks what takes 3 months.
The link between information-theoretic entropy and thermodynamic entropy is particularly interesting in light of reversible logic. Irreversible logic destroys information, and thus physical implementations of irreversible logic gates must produce waste heat in proportion to the information thrown away. Reversible logic, on the other hand, could in principle consume dramatically less power- proportional to the inputs and outputs of the system rather than the complexity of the logic networks.
While interesting...it is from 2009.
What Will Happen When Gene Editing Is Easy?
What is wrong (non-reproducible) with

gcc a.c

or any other compiler?
I think you may be reading too much into the hypothetical implementation. It was highlighted as nothing more than syntax sugar, after all. If all you do is translate:

template<type> max(...) into #define defmax(type) ...

and

max<int>(...) into defmax(int); max(...)

The resultant code will be identical once it has gone through the preprocessor. All you are gaining is prettier looking code, which shouldn't be discounted, but generics are about more than that. Yet this example would be quite satisfactory to many regardless; curiously even you seemed excited about it.
The study showed that having more books was correlated with children being more successful, but that doesn't mean that having more books on shelves is actually the cause. It's more likely that the kind of parents that have high quality books have qualities that would make their kids successful, regardless of the books on the shelves.
Show HN: Pseudorandom dungeon generator in Python
I managed to find a PDF copy a while back, and if I can ever find a physical copy that's not incredibly expensive I'd certainly buy it.
OK, so we have another well written article explaining how attempts to demonize encryption and put it back in the bottle are misguided, and the spokespeople for the authoritarians and intelligence community are being disingenuous on cable TV.

But most of us already knew this. So what I'm asking is:

* Are these well reasoned words affecting/effecting policy?

* How will we know?
Building the Tamagotchi Singularity
A couple of reasons:

It's better for society if the rich give money to medical research and the like rather than buying yachts and jets so why not encourage it.

If they taxed donations you could achieve the same effect tax wise by say Facebook spending money directly on medical research - $1bn blown on reseach is $1bn less taxable profit. But it's messy that way. The present system's cleaner.
TIL. Thanks for the info :)

I think I've seen this done for other features in the past, but yeah, this doesn't sit well with me.

(Still mostly okay with it though)
One thing, I was playing with the graph tree demo and it freezes after a few drags, every single time. Is this part of the demo?
Estate tax avoidance scheme? They've got about 60 years before they hit estate tax and giving away 99% of your money is a crap avoidance scheme.
Even on Linux packages?
Hello, I'm #ISIS. I use #POWSTEG encryption. Mike Spectre is a Ph.D. student at MIT. He is one of the co-authors of Keys Under Doormats, which represents the crypto guild's best answer they could come up with. https://dspace.mit.edu/bitstream/handle/1721.1/97690/MIT-CSA... https://www.schneier.com/blog/archives/2015/07/the_risks_of_...

Mike Spectre only wanted to have small-chat with me today. He was unwilling to review one of my #POWSTEG hacks. #PWNed https://twitter.com/gmike/status/673197874461601792
Pakistan? Their democracy is a joke. The military holds all the power as evidenced by the multiple military coups in their past
Have you seen what's been done to the political word "liberal"? That's not a crack at any current adherents to any particular definition of the word, because even here in the US it's been through several phases, and if one also adds in its international usage, it requires half a bachelor's in political history to understand how all the usages ever related to each other. Words move, for better or worse; the past is a foreign country.
Perhaps, because Depression is nothing but a set of acquired habits (self-conditioning) which could be un-learned/altered (through applying a CBT - systematic behavior change) by acquiring a different set of new habits.
The comments below link to the bindings (rust-mozjs is the Rust API, but the parts of it we use are in components/script/dom/bindings).

Here's a `git grep jsapi` on that folder: https://manishearth.pastebin.mozilla.org/8853940. Haven't removed duplicates or formatted it, so it's probably much shorter than it looks.

Please keep me posted about this!
Absolutely, eh . Sorry about that. Satya's work has been great so far, the continuous flow of news about open source and cross platform support is what many were hoping for.
This is the #HACK I asked Spectre to review https://medium.com/@yanazendo/twttr-pwned-27a6af538247#.j090...
> The resultant code will be identical once it has gone through the preprocessor.

Well, sure. Hand-written assembly is also identical to compiled code, but we still have compilers :)

> All you are gaining is prettier looking code, which shouldn't be discounted, but generics are about more than that.

Yes.

> Yet this example would be quite satisfactory to many regardless; curiously even you seemed excited about it.

I don't think macros are a satisfactory replacement for generics, no. I don't know how I seemed "excited" about it.
Prove that your a ELF binary is the same as my ELF binary compiled from the same source (you hope) on a different system.
The US never tried to take over the territory later called Canada, whether to annex it or to remove the British. There was never a war declared for that purpose, the US never mobilized its full military toward that aim, there was never a large amount of financing raised to pay for such an immense effort, and so on. There's zero evidence to support the notion that US planned to try to accomplish that outcome. At best it was a skirmish toward a narrow goal.
Yes, it's surprising how many people are not aware of look(1).

To be fair, neither 'man -k search' or 'man -k binary' return it as a match.
you mean patreon?
Yes, it is a great book. Trust me. If you are scared by the lexing and parsing algorithms, skip them because it is highly unlikely you will write them on your own. You don't need to refer to other sources to implement your own language with it.
In the consumer apps space we are seeing airline booking and other location critical verticals pick us up. Here's Ryanair's story. http://www.couchbase.com/nosql-resources/presentations/how-r...
See https://wiki.debian.org/ReproducibleBuilds/Howto

You would probably need to pass in an "-frandom-seed" option and make sure your environment is the same, but I would imagine you can get that to give you a deterministic output fairly easily.

Most of the difficulty comes in the packaging, where you need to make sure that files enter the archive with the same timestamps/permissions, and in the same order.
It's not just arenas. Bars and pubs were more attractive when they were filled with smoke, back in the free days a decade ago.