skysight-inc/HackerNews huggingface dataset:
I think most people aren't looking to containers for performance. Containers offer a lot more flexibility.

At my work, we run containers on top of EC2. We have a system where we can note how much RAM and CPU we want a container to have. This gives us a couple advantages over running regular boxes on EC2.

First, the CPU allocations are soft. If there's idle CPU on a box, it can be allocated to containers that want it. Imagine a 4-ECU box with 4 containers on it, each wanting 1-ECU. If they're all using the CPU equally, they each get an ECU. However, if two of them are idle on the CPU, the other two can burst to 2-ECU. If they were separate EC2 instances, they wouldn't get that burst.

Second, what happens when you want to allocate another 2GB of RAM to a container you've given 14GB of RAM to? Running containers means we can run large EC2 boxes and let an algorithm deal with the backpack problem of how to stuff things into the different EC2 instances with minimal waste. Without containers, we need to step up to the next-sized instance which might have way more RAM than we need, leading to waste.

Along the same lines, we often want to leave a little overhead in the RAM for different processes. Like, the RAM usage shouldn't go over 10GB, but if it goes up to 11GB for a short time, we'd rather let the garbage collector do its thing than kill it. This means leaving a little overhead. Having this little overhead for everything adds up, but sharing it among lots of things on a large box makes it less waste and the in the unlikely even that all of them want the overhead at the same time, some get killed and re-started on different boxes.

Now, why use EC2 rather than physical hardware from SoftLayer or someone else? EC2 allows us to spin up instances fast. If someone needs 10 15GB containers launched, the EC2 instances can be provisioned in a couple minutes and the containers can be launched on them. SoftLayer notes 20-30 minutes for one of their standard configuration physical servers which is pretty good, but a long time to wait if you're trying to scale up for a burst of traffic or trying to batch process some data or whatnot. If you're looking to customize anything, SoftLayer takes 2-4 hours.

There are definitely cases where every last bit of performance counts (and costs money). I've heard stories of Google being maniacal about finding anything that is blocking in some of their systems. I also know a lot of people that worry about overhead that don't even know where most of the time is spent in their own code. I mean, if one is running a Rails app making a cross-country network call in the request tying up that process for 100ms, the overhead of Xen really isn't an issue. That's an extreme example, but for most users I think the convenience and flexibility of containers is the selling point, not eliminating a tiny bit of overhead from Xen.
Poll: What advertising network are you using? – Adsense, Infolinks, Adf.ly etc.
Google to begin testing purpose-built self-driving cars on public roads
That's been going on for years and years and years, companies like IBM were doing it in the 60s.
I would bet that the vast majority of people who use computers and the internet have never heard of Richard Stallman and never think about these issues at all.
You'll notice though that the main documentation on github is basically just what we already had in the web 1.0 days and not much more.

We had most of those other things in the web 1.0 days too.

Here's a directory hierarchy that's just as navigable as github's

ftp://modland.com/

in the old days, ftp sites used to even have some kind of readme that browsers would autoload and put at the top of the directory list as documentation.

Graphs have been back-end generated and served in web 1.0 days as well and just inlined as <img> tags.

It was basically the same, with less control of look-and-feel, but about as usable and hundreds of times quicker. Responsiveness and accessibility just sort of "happened".
What about ergonomics? don't you think a desktop computer helps here?
It's inevitable.

Technology keeps reinventing itself and usually needs a different model wheel than the ones produced earlier. Sometimes it could be an old forgotten wheel re-imagined on the new technology or maybe some slick shiny wheel that starts a fad.

Until we have technology more universally stable (processor, platform, etc) we will be reinventing wheels.

For your case, did you try the other methods? did they work? can yours do better? If you can prove progress/advancement its good, if you just want to do it, might not be so good (at least while at work).
I agree with that part, but disagree with the proposed solution, completely.

I suggested an idea to inform new users in a post upthread (link to guidelines next to any comment of yours that is score-negative), but it would probably be better to link to a page with the guidelines plus a blurb about accidents, confusion, and just not taking it too seriously.
I see what you mean, and re-reading my comment I was wrong to use such a cliche. What I was referring to is the 'everything 20 years ago was so much better' mentality. If I were to rewrite that sentence I would talk about nostalgia and a self-centred worldview.
Legalize them already. Buying and selling drugs on the "dark net" has improved the safety and quality of drugs, and reduced the violence of (street) dealing[1]. We should be encouraging more of this.

[1] Source: http://www.economist.com/news/international/21629417-busines...
I have been wondering if there is an application framework to manage microservices. I'm thinking of something that would deal with routing, collection of performance metrics, errors, and monitoring of resource usage. I know Netflix has released software that addresses some of these needs.
New self-driving Google car smaller and even less reliant on human assistance
Not to mention the "I'm writing this code to hack this system before the guy wakes up, but I should still comment it! Someone may have to maintain it." part.
This is something very similar to the Seniority in government system.

The one who been there longer has more power, even they do not have brilliant idea nor ability to perform.
> What's the significance of the GetDateCommand class existing?

That it is additional code, above and beyond the core .Net classes.
I have no problem with that. My issue is about misleadingly talking about memory when you mean storage.
What model is it? (and what kernel?)
HTTP status = 503 :(
I played Cello for 3 years, starting in my 30ies. It's true that it's doable if you've figured out learning in general, maybe know a few things about music, or even better, have played a stringed instrument for that left hand coordination.

But you know how good you'd like to play, and that is a massive undertaking: Playing on a fretless neck, bowing, keeping high body tension throughout, the sightreading requirement (tenor clef anyone?), the character of the instrument and the relevant cello pieces expecting virtuous play, are all compounding factors that make it really hard, with no clear goal:

Get some friends out of their musical retirement? Be the novelty instrument in a alternative band? Find an orchestra or quartett that's beginner friendly and ...cool?

Meanwhile, the return on a minimal investment in guitar playing and a bit of singing is almost comical. Also plenty of bands need a bass player and you'll easily find a group of cool people to play with even if you're just starting out and in your 50ies. Want more? Try the piano; moderate effort will enable you to play all pop/rock songs.
Let's Call Stunt Hacking What It Is, Media Whoring
The lower the stakes, the stronger the feelings. C.f. text editing.
> Yum is dead

Seems more like `dnf.baseurl.org` is dead (it's down right now).

Google cache: http://webcache.googleusercontent.com/search?q=cache:PiRy8Wd...
This shows how the natural world around us is slowly, but always changing. It never occurred to me that waterfalls changed like this!
503s for me, here's the article on the Internet Archives Wayback Machine: https://web.archive.org/web/20150517152126/http://dnf.baseur...
I wonder if a life of programming, in particular, could mislead us to see big messy life as merely a stream of input, logical processing, and output.
It is unfortunate that this is going to just result in a criminal filing against him.

While it was irresponsible, no one was hurt and reporting these vulnerabilities in the "appropriate" manner would likely result in the company trying to cover up the vulnerability citing some sort of DRM / trade secrets reasoning.

For this reason I am glad that he did this.
Reformatting a hard drive to a higher capacity would be akin to overclocking a CPU. The heads and platter might operate fine at the higher capacity, or they might not. Running the risk that your HDD might be quietly losing your data is not something most people are interested in.

It's a moot point anyways because reformatting an HDD to a different capacity would be an impossibly complex endeavor. Performing a low-level format on a modern HDD requires a multi-step (and multi day!) process of burn-in and calibration. None of it is documented publicly of course. Doing this outside of the factory is far beyond the realm of possibility.
Wrong. Big Data is not some analytics system. It's a method to cure cancer, stop terrorism and end world hunger.

Honestly if you google "big data" + "cure cancer" or any of the things above you'll get an article about it. Big Data is over-hyped.
Initial scan read "Amazon Source Code Related Easter Egg in Ex Machina". Which makes me wonder: how much benefit does Amazon get from sharing a stem with "Amazing"?
Except for the Times New Roman. I find it barely intelligible these days.

But I guess that's not his fault since it's the default browser style. No idea why they chose a serif font.
Bill Gates said in an interview together with Warren Buffett that people in China who were using pirate copies of Windows would get "sort of addicted" and that Microsoft would "somehow figure out how to collect sometime in the next decade." That's what RMS is referring to; it's not a fabrication.
Western Water (2000-2015)
It also, intentionally or not, allows him to remain uninformed through an email thread. Stallman makes a claim (perhaps about some projects licensing policy), someone refutes the claim with a link to the policy, stallman dodges with "I can't browse the web, but based on what I was told..."
"So starting today, I will start things afresh, I will work on my side projects and hopefully, while finding localy optimal solutions to small problems, I will eventually find a globally optimal solution to an important problem."

99% of any project is un-interesting, rote, work that just needs to get done. It's not all about changing the world with ground-breaking technology.

I'm on my 4th (and finally successful) business and I've tried to partner with many, many people over the years and the majority quit mid-project because they weren't willing to push through all of the boring work to get to the end goal.

You say one of the reasons you dropped out is because it's "boring". I graduated 15 years ago and although many things seemed boring at the time, I'm glad I learned them because they are fundamental to becoming a better developer.

If you want to succeed at business, you will need to be able to work on anything, even if it's boring.
For a user, DNF is mostly just a quicker YUM. It still deals with RPMs and the UI is similar (at least for basic operations).
That is great, thanks for sharing.
> The big winners are the big corporations world-wide, because they know how to play the game or at least how to pay the people who know.

This isn't true equally across democracies, its most true in "democracies" that feature political systems that structurally limit practical choices for the electorate, because that mitigates the ability of the public to effectively check influence peddling. And, unsurprisingly, these limited-choice features also correspond to systems, among established democracies, in which the public has the least satisfaction with their government.

(Note that among the worst systems in this regard among modern, first-world democracies here are those in the United States, United Kingdom, and France.)
It is not because he has money that he can find a personal path to follow, he really doesn't. His speaking fee is modest, his position at MIT is unpaid. He lives like a student, if you've ever read that long document he asks others to read if they book him for a speaking gig, can't find a link to it at the moment, it's mostly about avoiding unnecessary expense and distraction.
Your story is very sad, I'm truly sorry.

An important risk factor for career-oriented married men is total abdication of social efforts and leaving it to the spouse "to manage the social calendar." In the long run, this causes men's own friendships to atrophy. Then, if your spouse divorces you (or pre-deceases you), you find yourself without any functional support structure, which could trigger depression or worse.

I learned this from a book I read a while ago ("Lonely at the Top"), which tries to explain the causes of male suicide, especially among successful men. I vowed then, that if I get married, I'd make a very deliberate effort to maintain those friendships I had before the marriage. It's quite possible that someday, those friendships will be all that you may have left to rely on.
An Introduction to Matlab Metaprogramming
Awesome Tool (y)
Yes. It's not the case every single time. I've been upvoted for negative comments about the government but I have to be much more indirect about it. If I'm blatant about it, I get downvoted to hell.
I don't doubt that. The topic was the platform suitable for GNU. Neither Atari nor Amiga had been a good choice then.
Go seems to be slowly replacing C for server side and commandline utilities.

Server side due to its memory safety and easy concurrency.

Commandline utilities due to its easy to distribute staticaly linked binaries.
> The question is what about the 80% of the people who are not ninja/wizard/superhero-like? They just do their work and go home?

> They don't care much about work, they want to get paid as much as possible, work the fewest hours and fuck off.

I find that false dichotomy offensive. The vast majority of people are not $BUZZWORDs who just want to do their work and go home, but who do care about their job and doing the best they can. This idea that you have to blow off your job and do the least possible to skirt by is toxic bullshit.
Considering I spend probably half my time using a computer in an editor, I'd say the stakes couldn't be higher.
That's really interesting that the Wall Street bull moves over the years. I wonder if this is due to people leaning against it, or something like cleaning, or some other reason.
> But, yes most random good Samaritans would be impeded. Not sure if that is bad thing.

When dealing with ground-level third rails for power, then absolutely: yes, this is good. Because unexperienced/panicking people might not know or forget about the power rail - and in contrast to an overhead line, a rail can carry significantly more current...
There's the way to retire rich spending a life saving big, or living a life to retire with great menories. Some have the luck of both. Depends on the risks you are willing to take and the right decissions you make.
Brandtale, Discover the Best in Digital Advertising
I'm using Adsense, Infolinks and Adf.ly on my website; banned.io - but am finding I am not earning what I would expect for the amount of traffic I gain. Perhaps the days of advertising networks is gone..apps maybe now? :/
Temple, Read and annotate the popular religious texts
Dr. McGonigal is on the right track, but she's missing the bigger picture.

She needs to realize that stress is not just one big thing and that there are many different types of stress.

Here we can see a difference between physical stress, and mental stress.

Physical stress being the stress that the body puts on itself to be able to perform a task to it's best ability when it's required. Whether that be writing your name, or pulling yourself up from the edge of a cliff.

Then there's mental stress which works on your body's ability to perform cognitive tasks.

When you are worried or anxious about something, it creates a sense of resistance in the body and mind. When you are more accepting of the stress or the feeling, you are able to free yourself from that resistance and all of the mental work that goes into the resistance, which allows your mind to have more capacity to focus.

The physical stress remains because your body is still pushing itself to perform a task under pressure.

Put all of this together, and you get the same result, except it makes much more sense to not think about stress as just one single thing.
Why is this only a problem for bamboo and not other trees?

A few years ago the flowering of bamboo was posted as a TIL on reddit. A few commentors had interesting stories about how the flowering of bamboo was a dark omen, since rats would feast on the fruits on multiply like crazy during the rare bamboo season.
I had idea, it is basically hackernews feed but with tags or grouped somehow. Can you provide hackernews feed with links being tagged in some nice way ? Might be helpfull to quickly sweep through what is interesting and what not.
Colorsnapper 2, the Mac OS X color picker app for designers and developers
Thanks cpncrunch! It feels good to have my problems acknowledged. I will remember your advice. Regarding mindfullness, I am trying to be busy all the time and take no breaks. Either do some activity that doesn't let me analyze an event or crash on the bed. The moment I feel I am getting involved in some topic, I just try to move on.
Ask HN: Hardware for data science and machine learning
What's a reasonable desktop configuration to work on these topics at home for < $2000. I guess RAM and SSD would be as much as I can afford. How about processor & graphics? I think I want to experiment with Apache Spark, Hadoop, Scipy, R.
I don't want to buy laptop. The motherboard gave up on current Sager within 2 yrs. Also, I had trouble with optimus + linux in the past, so want to avoid optimus stuff.
This is an important article. Dialectical behavior therapy and other mindfulness-based treatments are rapidly becoming go-to therapeutic methods. While I wasn't depressed or suicidal, about two months ago I started DBT training through a book [1], but used another audio book for mindfulness training [2]. The results have been fairly profound.

The key is "radical acceptance". The universe is perfect in this moment, even if there are things you don't particularly like. You are a worthy and lovable person in this moment, even as there are certain aspects of yourself that you are currently trying to change. That's the dialectical part of dialectical behavior therapy. The idea of radical acceptance is something that can be applied right now, even before learning the skills.

The author talks about shame. Shame convinces us that we are broken, that we aren't good enough. It tends to get passed through generations due to the way we are raised and the way we raise our children. Treating that shame is very effective for convincing us that we are, in fact, good enough. A book called Taming Your Outer Child [3], accompanied by meditations developed by John Bradshaw meant to get one in touch with one's inner child [4], are both very powerful for healing that shame.

Finally, I can't help but add a TED talk by Brene Brown called the Power of Vulnerability [5]. In it she describes the idea of feeling worthy and "enough," and how it is key to happiness and living a fulfilled life. For me, it was helpful because it gave me a concrete idea to work towards.

[1] http://www.amazon.com/Dialectical-Behavior-Therapy-Skills-Wo...

[2] http://www.amazon.co.uk/Mindfulness-Eight-Week-Finding-Peace...

[3] http://www.amazon.com/Taming-Your-Outer-Child-Self-Sabotage-...

[4] http://www.audible.com/pd/Self-Development/Home-Coming-Audio...

[5] https://www.ted.com/talks/brene_brown_on_vulnerability?langu...
I've never understood the fascination with Doctrine+Symphony. I've had the displeasure of working on 2 big projects with this combination and it was bloated and took up tons of memory+CPU.

You also basically need to learn a second doctrinized version of SQL on top of SQL (which is supposed to make things easier somehow).

One reason might be because hardware is cheaper than developers, which is why it's called an "enterprise" framework.

I much prefer smaller frameworks like Codeigniter. It still creates a nice base for you to work off of, but with a much, smaller, footprint.
... easy to distribute HUGE statically linked binaries. Go solved the DLL hell and/or VM platform hell problem by just punting it.

Of course, I have wondered for quite a while if it might not be interesting to do away with DLLs in favor of static linking and then use both disk and memory deduplication to handle the efficiency issues.

Of course the problem here is: what happens when a major bug like Heartbleed is found in a library used by 500 things?
Anyone know of a Python equivalent to Lua / LuaJIT or Duktape for JS? I just really like drop-in single source file scripting environments. This looks close.
great idea, noted. Color coded? or with icons? any preferences? or just badges?
What's funny is that these ideas are all better than the typical projects and ideas proposed within a company. Hell they're excellent in that their scope is limited, their budget is limited and the time to build them is limited. Successful projects by any measure!
Explanation: http://en.wikipedia.org/wiki/Rhinoceros_Party_of_Canada_(196...
This article mentions the locomotive model and an alerter that beeps after a period of no input:

http://www.businessinsider.com/the-amtrak-train-that-crashed...

The Wikipedia page for the locomotive does not discuss the control system:

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

Nor do a couple of the pamphlets listed in the sources there.
Do you have a more concrete source for the deadman switch?
Maybe, but working fewer hours and taking breaks is probably more important. Sitting down for hours at a time while being stressed and tired is bad no matter the perfect battle station, ya know?

Maybe I'm thinking of a somewhat utopian scenario, but I'd take a laptop plus a nice house in a nice environment over most office rooms any day.

And I think it's really important not to overwork. To the point where I'd optimize everything around it. If the software I'm making requires me to be at a computer coding or fixing bugs for eight hours every day, I'd consider that a problem to be fixed immediately.

But that's a much larger issue!

Anyway, different strokes, and it's great to have someplace to sit, but even if you give me a private office I'll probably migrate towards the kitchen table if only to have better coffee access—or go outside.