skysight-inc/HackerNews huggingface dataset:
> You can break out of a jail if there is a local exploit that gives kernel code execution as non root.

Well, this has always been true of any sandbox or virtual machine.

That's not true for Virtual Machines.

I would not recommend anyone use linux containerization for production environments for some years.

Too bad people have been doing it for years - successfully - already. For example, most PAAS products use linux containers for isolation and as a security layer.

OpenVZ (ie, early version of Linux containers) has been used in production hosting environments to give people root shell access for just as long.
Yes, you are good enough. Go apply, and never stop learning.

A more helpful answer: yes, if you've successfully done what you just said you did, you are absolutely good enough to apply for jobs. You might not get the first one, you might not get the second, but even if you don't get a job, you'll get information about what companies in your area expect (and there are very important regional differences).

Find Ruby meetups in your area. Go to them. There are many reasons why this is valuable. Trust me.

Make sure you know the libraries out there that people are using. https://www.ruby-toolbox.com/ is helpful.

Make sure you know a bunch of other programmers. Everyone gets stuck sometimes, being able to know who to turn to is important in any discipline.

Keep writing code, and keep publishing code. Practice good coding style, and ask other people for feedback.
Just an FYI, while I think, to set up skylight I just add a gem to my project, I'm still not really sure. It would have been nice to go to your homepage and have it confirm that it is easy to configure/deploy into your application.
Is "common parlance" in common parlance?
You're logged in as root? O_O :p :)
> How can you argue that 20% is small?

where did they argue that? They were just correcting the 90% claim above.
Right, the Church was actually in the habit of relying on "ancient" Greek sources, cherry picked to support various bits of doctrine or political stances. "Good learning" in the late middle ages meant learning these sources, which were already millenia old and long since surpassed by the Romans. But all that was lost and in the rediscovery of Western Culture that led to the Renaissance, the practice of building on more recent works, as well as reviewing ancient texts and ideas that had been dismissed by the Church helped begin the wave of humanism and inquiry that's defined Western thought since.
Lambdas and side effects
Most mental "disorders" seem to be just co-occurring negative symptoms aggregated by experts in a matter that is not arbitrary but also far from objective. The reason why e.g. anxiety and depression are typically comorbid might be because the practical distinctions between them are artificial and only exist to slap labels on nebulously defined mental ailments.

I believe that over time doctors will cease with the labels such as "inattentive ADHD", and merely treat debilitating inattentiveness based on the individual. The fact that ADHD can be hyperactive or inattentive, has always seemed bizarre to me. One person can't sit still, but my problem is I can sit still to a fault. But we have the same underlying disorder that's treated with the same medications.

The number of types of clinical depression, for example, is absurd. It's not merely depression, it's bipolar disorder. It's not merely bipolar disorder, it's bipolar disorder type II. Seriously? Decades from now we're going to regard this approach as highly primitive and bordering on pseudo-scientific.

Because every brain is different, trying to strictly classify these disorders would force people outside of a category, but the other side of that is that we have schizophrenia which seems incredibly broad "junk-drawer" sort of classification, to the point where it's easy to imagine someone who is highly eccentric being misdiagnosed.

I have no credentials obviously so this is all baseless conjecture.
I love Notch.

But since I don't know him, it's for what he represents; how he's handled success, knowing his values and acting on them.

Poor guy can't help being a symbol - a bit like Life of Brian
Can we agree that it's not the having of a kitchen or cafeteria, but what they stock it with that is the problem?

I would relish a kitchen or cafeteria stocked with delicious and wholesome food.
I tend to agree though saying Jabir ibn Hayyan invented the scientific method might be a bit of an overstatement. Which doesn't make him a less fascinating figure by any mean.
Oh if nested functions don't need annotation, then I suppose that saves most of the problem.

Can top-level definitions be of the lambda form? If not, what's the reason to have separate ways?
Certainly is not any adult material.. Possibly because theres so many "fucks" on the page.
Are there any plans for an interactive equation editor supported by KaTeX? I think this is something the web is missing. I've been following the MathJax dev google group, and it seems like there aren't any solid plans for them to implement this feature.

Some examples:

My attempt: http://camdenre.github.io/src/app/html/EquationEditor

Mathway: https://www.mathway.com/

Mathjq: http://www.mathjq.com/math-editor/

It would be nice to have something officially supported by a large project. I think that there is a lot of potential on the web for interactive math lessons with symbolic input using a CAS (not multiple choice).
It's so much quieter than the gas powered Boston Dynamics robots! Bringing the volume level down is essential to many use cases, so it's good to see this work.
30boxes.com seems nice?
Haha, no, I added that in after-the-copy-and-paste. :P

Fixed nonetheless. Do'h.
Very incorrect. The YC founders I know are have a degree from none-Ivy league schools, didn't work at Google/Facebook and didn't write a book.
Not sure I agree. It is certainly possible to hack up the basic functionality of an embedded system; full of magic numbers and lacking the elegant hardware abstractions, OS layer and power management we all want.

Edit: Not to mention in hardware, where you can neglect design for manufacturing, solder modwires everywhere, and power everything off a 10kg power supply. MVPs do exist in hardware and embedded SW.
Certainly the user should be allowed to decide when they feel the code needs further documentation to be readable. Trying to drag people into something seems unfriendly.
Alcohol is natural, and dangerous. But at least we know the long term effects.
I've had a vastly happier Rust experience than C++ experience (I've written in both, well beyond the "zomgz 50line starter program").

The Rust compiler is vastly smarter and gets you type checking you have to pay out the nose for in C & C++. I'm a fanboy of Rust, but I would suggest looking hard at Rust for any C or C++ production code going forward. (My default going forward for this space will be Rust unless overriding considerations say otherwise).
Actually, that's exactly what the watch enthusiast crowd seems to be asking for. They will never replace their Omegas with this, but they would be open to wearing a band on the other wrist a la fitbit.
Omnigraffle's pen tool does the right thing - and it is way way easier to use.
Even if it's only when the app is not backgrounded?
> Everything is going to be OK.

Yeah, with $2.5 bil in the bank, I'm sure it will.
A blog post is neither "verbal" nor a "contract", no matter how many times the word "will" is used.
In many years time we'll probably see a Minecraft revival with former child players reinventing it(1): They might even get modding to work.

(1) http://www.midnightmu.com/games_home.php
Their edited-edited post is much more approachable. Bringing up alternatives is great, that's why I generally bookmark threads like this. Passive aggressive rhetorical questions are not nearly as conducive to productive conversation. I commend them for changing the tone of their post.
> masking tape over my webcam

what people always seem to forget is that it's not the webcam but the microphone that presents the greatest privacy risk.

if you tape it off, it'll just lower the volume (and possibly dampen higher frequencies, but you just need 300-3800Hz for voice).

additionally (outside the coffee shop scenario you describe here), what's a webcam do? ok, it'll see your face. chances are they already know your identity. maybe it'll catch one second of your underwear, big deal. now compare to a microphone, much less data, but it picks up every conversation in the room, regardless if they're "in view". much worse.
More power to you, Mojang employees, and may you see many happy returns.
For those of you keeping score:

- Yes, Rails 3 was released four years ago
- Yes, the current stable version is Rails 4.1, which left us
two major versions behind

We had work to do in order to live in the modern world again.

Okay, so why didn't aren't they transitioning to Rails 4? I'm not clued in to much more than the version numbers so I suppose there are reasons that go a little deeper than 'the lowest version that works with the gems we want'. They've been working on the transition for six months according to the post, making it recent enough that 4 would be the 'obvious' choice unless there were fears that it wouldn't be stable (IIRC Rails 4 has only been so for a few months).
Plus, he is in the Billderberg Group...just sayin' don't hate
> There's a weird kind of historic revisionism that's been going on the last couple years

For various values of "last couple", e.g., I remember at least one college history class I had around 1996 where the instructor spent some time (it was something of a tangent from the central focus of the class) discussing research (which I don't think was particularly new at the time, but something the instructor thought most students wouldn't be aware of) which seemed to refute the existence of a period of a lack of technological development in the Middle Ages in Europe. (Not that a lot of early-developed technology wasn't lost or at least less widely distributed, just that new developments continued despite that.)
But AOSP is still a core part of the android OS because it's used by every app that wishes to render a page.
Read what the other commenters are pointing out. Maybe the situation is better in C++ now than it was before, but it doesn't mean you can't shoot yourself in the foot, specially for a beginner. Rust was built with safety in mind from the start, there are errors you can make in C++ that the Rust compiler simply won't let.

My advice is, if you're learning it for work, then go with C++. Even if it succeeds, it will take some years for Rust to be mainstream and as pointed out the library support is great.

If you're learning it for fun or for the sake of learning something new. Then Rust is a very nice and promising language bringing things from functional languages that C++ lacks and offering very interesting tooling around it.

Whatever you choose, after you feel confident with one go and learn the other as it will probably give a better perspective in the strengths and/or weaknesses of both.
Show HN: I Remember My First Time – Share fun and informative 1st time experiences
Try this service folks Free
Hey all, I've been part of pulling this initiative together and thought I'd just put together some of our early thoughts.

The primary purpose is to get the open source program managers from companies together. It turns out there are a bunch of challenges for companies who want to run open source projects effectively, and we discovered we had only rarely even shared our own experiences of doing so - let alone figured out how to improve things.

A roadmap for the group's work is still to be defined... at this point you should consider this an invite to get involved. But we imagine some of the outputs might include things like:

- shared best practices for running large open source programs well

- certain criteria or qualities that 'good' projects should aspire to (responsiveness to community, maintenance, test-coverage, clear licensing, etc)

- tooling & instrumentation that makes it easier for companies to reach and maintain those standards

- a directory of projects from members that meet some or all of those criteria

I don't want to imply that we're committing to do all of these, but perhaps these non-normative examples give a bit more colour to the sort of things we'll tackle.

If you're at all interested, please sign up. We hope to have a face-to-face workshop very soon to kick off the work and understand what members want to prioritize.
> A blog post is neither "verbal"

A blog post is -- if, as most are, it is composed of words -- verbal. Its not "oral", but those two don't mean the same thing.
Hey Tom, did you also consider googles golang? Currently I'm building my backends with golang and I am pretty satisfied with the performance and the whole flow. Maybe it is sometimes a bit cumbersome to check on errors like a paranoid but in the long term it helps to predict what happens in error cases. How about rust? Is the workflow comparable to golang? Is there an equivalent to gofmt and some ide support for code completion? Thx and regards Bijan
There are `fn` types---which are just function pointers---and there are `||` types, which are closures that correspond to a pointer to a function and an environment.

You can actually define `fn`'s within other `fn`'s, but their types are not inferred. Closures cannot be defined at the top level, presumably because there is no global environment to capture. (Rust does have global "static" constants, though, which are available everywhere in the enclosing module I think.)

I can probably hazard a few guesses at why there is a split here (probably relating to lifetimes), but I don't know for sure. Perhaps someone else will chime in.
Depression is not a single illness; it's likely to be several different illnesses that fall under a single umbrella diagnosis.

Please don't make the mistake of thinking bi-polar is in anyway similar to depression. They are very different illnesses with different treatments.

And, again, as we learn more about bi-polar we may find that it's a bunch of different illnesses that get given the umbrella diagnosis of bi-polar.

Your example of ADHD being treated with the same meds is just a function of our lack of knowledge of ADHD. So we might not always use the same meds for treatment.

In the future we'll have genetic testing to determine what meds will be useful or which meds are unlikely to work.
What you have to recognize is that these critera are constructing a definition of the disease. It's not like the disease exists as some platonic object, and these criteria are simply the scientific way to test for it.
My point is they are logging some things aren't very open about what exactly they log. They use ambiguous wording.
This is a cogent question and one that historians of science are currently debating. There's been a lot of debate in my own field (early modern history) about whether we can speak of such things as "early modern Japan," "early modern India" or indeed an "early modern world," or whether we should restrict the term to Europe. I personally vote for the former on the basis of the globalization that had been occurring since the Pax Mongolica. (A few book recs on this would include Janet Abu-Lughod, "Before European Hegemony," and the third book of Braudel's "Civilization and Capitalism" series).

So if we can agree that there was a medieval world or world system, then the old picture of a scientific dark age ceases to make much sense. At the same time that Western Europe was in a period of slowed technological innovation--the period just before Charlemagne, let's say--huge advances were occurring not only in places like modern-day Iraq, India and China, but even cities on the periphery of what we think of as medieval Europe, like Cordoba and Constantinople.

A couple more interesting takes on global premodern science and technology - Richard Bulliet's "The Camel and the Wheel" and Joseph Needham's Science and Civilisation in China series, which I admittedly have only skimmed, but is really fascinating stuff.
Thanks (yesterday I found dune2 for android (not on GooglePlay though) and it works fine :)
Portal: Prelude is a free mod with much harder portal puzzles if that's what you want. Portal 2 did substitute some challenge for atmosphere. I've never done Quake 2 but I know Portal 2 had at least a few good puzzles.
Talk Visually to Your Audience
IRMFT (I Remember My First Time) is a sharing platform for fun and informational first time experiences. You are presented with a statement (i.e. "I remember my first time buying a car") and are asked to rate the experience as either positive, have never done it (virgin), or negative.

We are currently looking for feedback and beta users.
You're treating the term "illness" as if they are actual objects, rather than just labels we give sets of symptoms and causes to make them convenient to discuss, research, and treat.
No, very much inclusive. We'll be getting back to all the companies interested in the very short term.
same here. I had no idea what to do.
In the glossary.
> Comcast doesn’t monitor our customer’s browser software, web surfing or online history.

That implies in relation to browser/web surfing. In relation to that, it implies browser history to me.
Using multiple shaders on iOS, from two concurrent threads
How Not to reference papers
Check out https://github.com/mathjax/asciimathml/blob/master/asciimath.... It uses the AsciiMath parser to generate latex to be fed into mimetex for rendering, but it could probably be daisy-chained with katex. I keep it current with the latest AsciiMath revisions.
I think the key element here is that it describes a moment where the problem space opened up and original engineering became necessary. When this happens, programmers tend to swarm over the problem for a few years, doing a ton of invention, until it's been heavily covered; and then afterwards the majority use an off-the-shelf option, with a few experts who stick behind and do maintenance.

This cycle defines technologies that are in their earliest stages, but as it becomes more of a commodity, the MVP comes to the forefront, since it allows marketing to lead the technology from the beginning.

With game engines, the problem space is ultimately specified by game design ideas, so it's extremely easy to enter the territory of invention by coming up with something that hasn't been done and saying "I will be the first one to do that!" At that point you have no alternative but to reach the black triangle, and once you've reached it, that's the engine. That point is the starting line for a commodity-code project. Everything after that is the "other 90%" of making it fleshed out and usable.
I shared a few more (personal) thoughts about what the group can achieve above in a neighbouring comment.
Yeah. I was using a Nexus One for a long time until I had to prune so many apps due to space that it wasn't worth using. I got a new phone, HTC One S (I needed a t-mobile branded phone for wifi calling) with several gigs of system partition space, and now I have to play that game again.

I recognize that there are a bunch of features now that I get to enjoy, but now I have to choose which ones I want to keep.

When I switched, 20MB was a big app. Now I have at least 30 apps that are bigger. Chrome in particular seems bogus. The desktop version isn't even this big.

Chrome : 211MB
Facebook: 116MB
Google search: 70MB
Google+: 65MB
Amazon: 60MB
Mantano Reader: 54MB
Dropbox: 50MB
Google Play services: 50MB
Google Text-to-speach engine: 45MB
Hangouts: 35MB
t-mobile my account: 33MB
SwitftKey: 33MB
Kindle: 30MB
Evernote: 30MB
BaconReader: 28MB
twitter: 25MB
Hulu: 25MB
Google Maps: 24MB
Google Drive: 24MB
<...>

I do recognize that these apps balance the data differently. Chrome is 189MB app, and facebook is 80MB data.
I didn't even know that Frankie Boyle had taken up farming.
This isn't a hack, this is fraud.
> reason that you want it to do the installation is that a lockfile is supposed to represent the way to do a build successfully

Sure, and I'd like to do that build within Nix (and someone else might want to do it with another packager), which gives a stronger guarantee than Bundler since it incorporates C library dependencies and more. Anyway, the specifics aren't relevant to this discussion, and it seems you have a grasp of the issues, so carry on!
For open source in general, we absolutely agree... but company-run projects aren't always as successful - and yet we feel they can be a valuable part of the overall open source landscape.
C++11 is still C++ though. I've been writing pretty much exclusively C++11 for the last year, and, while they've added a lot of very nice features and I find it painful to go back to C++03, it's still a huge language with lots of hoary edge cases and everything and the kitchen sink built in (now with rvalue reference and move semantics for extra verbosity!).

I haven't touched Rust since 0.7 (where I abandoned it after filing two bugs on the project before I even got argument parsing working), but it's the most promising of the new batch of languages in my mind, and I have some side projects in mind I'd like to try when 1.0 comes out.
Why Trying to Build a $1 Bn. Startup Is One of the Biggest Mistakes
Wow. That must really suck. The 'people that he trusted the most' clearly points at some very hard feelings there.

If your co-founder and investors together have a controlling interest these things can and do happen. In a way this was in the cards when they appointed (presumably with his consent, otherwise there would have been a confrontation earlier) a new CEO, after that you're going to have to play ball or leave. Still, it's tough for this to happen to anybody, especially if you're the one that led the company to where it is today.

I really hope for the 500px investors and other co-founder that they don't make any major mistakes in the next year because an ex-CEO minority shareholder with a grudge is not going to be easy to placate if you mess up.

They will be walking on thin ice.
OneShift to Take Its Flexible Recruitment Model to U.S
It's been years since Google switched away from that claim.
> The number of types of clinical depression, for example, is absurd. It's not merely depression, it's bipolar disorder. It's not merely bipolar disorder, it's bipolar disorder type II. Seriously? Decades from now we're going to regard this approach as highly primitive and bordering on pseudo-scientific.

I doubt it. What we'll most likely do is view it as highly primitive in the same way that early developments in most fields are, and that the initial categorizations are systematizations of observations without even a strong hypothesis behind them. Its not pseudo-scientific, though, its part of what has to happent to start doing science. You have to define what the observed phenonmena are that you are trying to explain scientifically. (And, that being said, there is science that has been done based on it without, often, being heavily involved in exploring causes -- empirical exploration of how things in the category respond to environmental conditions is still science. We also have run into the fact that its often of limited utility and ambiguous results, likely because the categorization based on symptoms doesn't reflect the underlying mechanisms well, which is why we need more.)
May I suggest you research that analogy?

http://en.wikipedia.org/wiki/Traffic_light_control_and_coord...

http://www.state.nj.us/transportation/business/videolog/

"The New Jersey Department of Transportation (NJDOT) maintains traffic cameras on many interstates and other New Jersey State highway systems. The cameras are mounted on poles and record traffic conditions, traffic delays, incidents and weather conditions. They are monitored around the clock at NJDOT's Statewide Traffic Management Center.

In the Department's video camera system, video is recorded and retained at NJDOT for seven (7) days. "

You were saying?