skysight-inc/HackerNews huggingface dataset:
Take Postgres for example. I use the official Docker image, and run it via a fleet .service file, having it store its data in a Docker data-only container, also launched from a fleet unit file. Finally, there's a third unit file that runs a slightly customized version of the docker-register image from CoreOS's polvi. This Dockerized app polls the Docker socket every 10s or so to get the IP and port information for the Docker container it's monitoring, in this case Postgres. It PUTs this value into etcd.

Afterwards, when my Django containers start, they pull their configuration from etcd using python-etcd. It will get the IPs and ports for the services, including Postgres, from etcd, and configure itself using that. Finally, it will keep these values in a dictionary. If these values ever differ from what's currently in etcd, then my Django app will send a signal to cause uwsgi to gracefully restart the Django app, so that it can reload itself with the new configuration.

For other Dockerized apps like nginx, I use kelseyhightower's confd-watch to monitor the etcd keys I'm interested in. confd-watch is great because it will use golang's text/template package to allow me to generate configuration files, like nginx.conf, with the values from etcd. So as these values get updated, so will nginx as confd-watch will force a graceful reload.

Hope that helps.
Thank you! Here's a sneak peek a few steps ahead, just for you!

http://youtu.be/v_e1oqCkeng
I've said it many times, but I inherited the hardware. My current plan is to virtualize a couple of other servers, and then create a VMWare cluster using the extra machines to allow a sort of "auto-failover" setup.
Damn! Show: stolen! Your friend's looks very nice, good job!
The Hacker Wars
Well, that's horrifying to see exist as a sysadmin (though I am sure plenty of blackhats have such tools).
I don't think he was lying. He just wasn't aware that he didn't know how to create prrivacy in a box. And his well crafted page made it sound like he figured it out when in fact he had not.
Have you tested your RAM? I had a similar situation where I had upgraded my memory and everything worked fine until I went to play Quake3. Also running Linux was miserable while Windows seemed to work ok. I finally figured out it was a bad stick of RAM and it save a lot of frustration.
Like all seemingly designed properties of living things, they came about through a process of evolution.
I already mentioned it elsewhere, but I wonder if both parent and gp have a case of bad RAM.
> 100 developers and gaining a technical focus

You're a far more accomplished developer than I am, but even I feel like I can mostly do what I need to, technically, given the time. I'm weaker in the other departments - finance, marketing, UX - all that stuff. So truth be told, I'm actually more interested in exposing myself to ideas from those fields. One thing I thought was interesting from MicroConf Europe last year is that I had very, very few conversations about actual technology, even though some of the people were certainly capable of it.
on windows. doesn't on mac for some reason.
TL/DR: IF YOU WANT A GOOD RAISE, GET A COMPETING OFFER.

It's absolutely true. Employers really don't want to screw employees, they just have no true measure of your value. They have to use your most recent pay, YOUR OTHER OFFERS, industry stats, and a biased set of personal anecdotes to ballpark a placeholder when you get hired, because there really is no other information.

Once you are hired, your manager never thinks about your salary. Until he has to, like annual reviews. OR YOU HAVE A COMPETING OFFER. And during annual reviews, he's given one bucket of raise that he needs to divvy up among his staff. There isn't a lot to go around, nor any way to handle special cases.

That's just the way it works. If you want a good raise, get a competing offer.
Haha, that's pretty nice as well. I aim for my project to go places, so I'm looking to make it completely self-contained and stick a battery in it.

I'm not sure if I'll ever be able to get the ringer working (there isn't enough space or power for the original one), but if I do, it will be completely complete.
Is this where we are now? Patting Apple & friends on the back for sneaking in just a little bit more data scrapage, because surely the only people who think they have a choice are just idiots?

I'd rather be an idiot who gets angry about his TV phoning home to report every DVD and .avi file I've played (in the clear, for no apparent reason: there are no ads, recommendations or features of any kind on the set itself) than a defeatist who equates the futility of circumventing state surveillance with the futility of paying attention to one's outbound internet traffic.

I should have an active choice in how and who I expose my data. If LGe, Apple and friends can't be bothered asking people if they actually want their habits recorded, let alone bother to encrypt said data, expectations on storing, securing and using that data aren't exactly high.

It's not an irrational thing to weight the risk of state surveillance rummaging through my gmail to be a little less than some stupid home computer/router/NAS "feature" exploding and blowing me wide open to identify theft and financial fraud.
Ever since my College Operating System's class, I've heard this line misunderstood time and time again. The real security principle here is "Principle of Least Privilege", not "Security through Obscurity". Facebook (I hope) isn't relying on some horrible security system to protect their users in the hope that no one guesses what it is. More likely, they are just hiding information that unprivileged users don't need to know. Maybe they rolled their own, maybe they are using someone else's technology, but they certainly have no obligation to their users to spell out exactly how they handle their logins.
Type error: verifier is not a function. is what I got for the first exercise..

Btw, keep it real and solve in CS like so:

console.log name for name in ["Ben", "Jafar", "Matt", "Priya", "Brian"]
New 2014 Mac Mini Has Soldered RAM, Not User Replaceable
Touch screens are not superior input devices. Maybe for some things, but not others... Like maybe typing words.
I already updated an hour ago. I can recommend everybody who is going to update to make a bootable backup in case something goes wrong, or you miss critical features like Dock pinning ;-). You can use SuperDuper or Carbon Copy Cloner to create bootable backups.
The DBLP Computer Science Bibliography
Thank you for saving our time!
What really happened in the London Beer Flood 200 years ago?
How to deliberately practice computer programming? – Programmers Stack Exchange
The power points and standing are more likely health and safety regulation.
CSS tips and tricks #12 – Animated flipping card without JavaScript
Not every unit of a resource has the same value. Marginal utility is typically a curve, with the value of each unit of the resource decreasing as you have more of it.

In theory, yes, the time someone spends working is worth less to them than what they are paid. Hence why they spend it working.

But, in theory, they only stop working because the remaining time they have left in the day is at that point worth more to them than their hourly pay.
Usually, when I've seen a kernel panic in the past 5-10 years it's due to poor third-party hardware or drivers. I know someone who has an external sound mixer and plugging/unplugging the USB gives a 50/50 chance of a kernel panic.
I love Google Scholar... I'm not an academic but use it multiple times a week.

One thing I've always wondered is why it has "cited by" but no forward citations? Is that a copyright issue?
10 Free Data Recovery Tools for Windows
When I look at that line, my brain sees its structure, the different layers... :) It is totally representable without restoring to plaintext. With good fundamentals (ADTs) and good UX (an editor that looks like a text editor but is so much more) we can make it work.
It happens to me a lot! And sometimes I can't find words in neither of my languages, and then turn to English (which is strange, since I learned English at a later point).
IHS Tears Down Tesla's Model S
Aha so you find this today? What's the point you want to make?
Tell HN: How Whisper grew
I am this as a throwaway comment and hoping that a journalist will investigate.

I believe that Whisper grew it's user base by targeting online communities centering on suicide and self harm. I did not think much of this until the Guardian story, but now the whole thing sickens me. They baited people feeling lost into spilling their deepest darkest secrets, and then data mined them all day.

If you work at Whisper and care about karma, you should quit.
Here is the TED talk, I recommend watching it.

Hugh Herr: The new bionics that let us run, climb and dance:

https://www.youtube.com/watch?v=CDsNZJTWw0w
Could they have made the video any more pretentious?
As someone who spent years studying and teaching languages, my single biggest advice is to remember that learning a language is not simply a matter of learning words. Don't fall into the trap of throwing a dictionary full of words into an SRS and hoping for the best. Focus on input, not production.

Include phonetic training. Make the user distinguish between each minimal pair in the language, possibly even every single syllable in the language. This is simple, but rarely done.

Include an extensive reading component. This is a monumental task that could be broken into many apps or many short stories that are in app purchases.

Good luck! I'm really, really hoping to see something better than the very low bar hit by existing apps!
I updated shortly after it hit the CDN. I'm not sure I like it, to be honest. I don't dislike it either. Apple is trying something new, and it is neither better nor worse than what they started with, and I'm not going to slam them for finally doing that.

I'm actually looking forward to a more refined version of this in OSX 10.11.

That said, everything seems no faster nor slower, and battery life seems to be the same.

The improvements I do like is the About Mac dialog is a lot more useful than it was, Spotlight is a lot better than it was (I use Spotlight as an app launcher for anything I don't keep pinned to the dock), and the font rendering engine seems to improved (and the change in UI fonts really shows that off; other than that, thin fonts stay thin instead of suffering from the usual OSX fatness).

The dark menu bar/dock theme is a neat idea, but I don't really care for the execution. I'd rather it switch back and forth depending on the background I have (and I have backgrounds on rotation).

I use Chrome, iTerm2, Homebrew, Skype, Office365, Evernote, Todoist, and not much else, and everything seems to be working fine.

I still don't like the multi-monitor experience on OSX. I want "Displays have separate Spaces" off, but not have full screen apps take up all monitors, especially when they can't use them.
Are you sure the best decision financially is to drive the current car into the ground? We don't have enough context toy make an informed decision. But saving 1000+ a year in gas (that continues to go up) to have a brand new, relatively maintenance free car for the next several years isn't necessarily a horrible decision
Launch of 3 New Free Cyber Security Online Training Courses
Funny, an issue for that error was filed back in March 2013: https://github.com/jhusain/learnrx/issues/9

And a pull request fixing it was submitted back in August: https://github.com/jhusain/learnrx/pull/27
I feel like the idea that free will is an "illusion" kind of misses the more fundamental realisation of Compatiblism: Will doesn't need to exist as something external to the rules of the universe for it to have meaning.

We might not have "free will" (whatever that means), but we definitely have "will", and that's all that ever mattered.
A PHP-based DNS server? That's both brave and fascinating.
It could certainly be commercialized if the company making the product funded exit node servers to offset the increased usage from their customers (X gigabytes worth of exit node traffic capacity for each customer or something).
Usually a non-linear video operation would mean one that doesn't just process each frame of the video beginning-to-end, like moving clips around.

Stabilization seems pretty linear to me, though.
Unfortunately, the RAM on the new models is soldered on. Someone above said the drive is soldered, too, but I can't confirm that.
I got this:
Oops! Your version of Opera is not supported: please upgrade your browser.
2 very good "donationware" books about javascript functional programming,for those who want to study it in depth :

https://leanpub.com/javascript-spessore/read

https://leanpub.com/javascript-allonge/read

please check it out and tip Reg,frankly his work is outstanding.
How to Convert HSV to RGB Color?
It seems like the 'present' of robotic legs to me.
That's what the Internet Archive tries to do. But they have finite (or rather, extremely limited) resources. The Internet is vast things fall through the cracks.

The Archive Team is the "oh shit this site is shutting down and it's not all in the Internet Archive already, we gotta save it before the deadline when it's gone forever" squad.
Super neat.

The preview window lacks a way to scroll the view (you can do it in the mobile mockup but the desktop view has no scrollbar and using keyboard to scroll down is unconvenient)
Is bandwidth not a concern? 65 GB could take weeks to download.
Seeking feedback on my simple O(1?) Node.js url router
A Bitcoin Wallet for everyday transactions
The same was true of Startup School London, btw.
You can use the arrow keys to go to the next page, though, which is pretty fast.
I think Lo-Dash is a better alternative.
I tried it with FF 33.0 (on OS X) and couldn't reproduce the issue you're seeing. However the font is a Google Font that's downloaded on-the-fly from their server - I am now hosting the font on my server so hopefully that will fix the issue for you.
Btw: The discussion with your friend (about games) is different (i.e. much more interesting) if your friend is female!
I'm going to guess that they're referring to something like:

HASHED_SALTED_PASSWORD = BCRYPT(PASSWORD, SALT)
SALT_AND_PEPPERED_PASSWORD = HMAC-SHA256(SECRET_FACEBOOK_HASHING_KEY, HASHED_SALTED_PASSWORD)

BTW, this is not an example of "security through obscurity".
This is awesome! I would love to be able to install this on my own server, are there any plans for something like that?
Getting Started with 3d Scanning
Not very good looking icons.
In what way is it pretentious?

Compared to how watches are presented in the industry this is very mild.

Here a few examples:

https://www.youtube.com/watch?v=rlcizTLksdo

https://www.youtube.com/watch?v=boZjuk8Dq20

https://www.youtube.com/watch?v=nPLttQyFxZc

https://www.youtube.com/watch?v=0OFSEzIz8A0

https://www.youtube.com/watch?v=G3eeHarkOw4
You can get StartSSL to sign a CSR that you generate locally, or at least you could when I generated the cert for my site with them.

This the only nitpick I have with this otherwise fine rant. Everything is broken, rejoice!
I've heard this advocated a lot, but I find it hard to do in the case where you really don't want to leave your company, but do need to correct your salary. Because it requires engaging with other companies on less than good faith that you're really motivated to jump to another job. Sure, if you're a sociopath, this won't be a problem for you.

As someone in this exact position, my solution was to ask for a raise, and when they said no, I considered trying to make a quick move. But after realizing that I really don't want to job hunt right this moment, I put my head down and went back to work.

I think in order to get to that point in your career where you can easily have multiple competing offers to choose from, you need to be a really good developer with a spiffy-looking portfolio. Takes time to get there, and beating the bushes to get offers just doesn't appeal to me, and probably won't until I've fine-tuned my development process to where I can whip up websites like no tomorrow. My job is Good Enough for the moment, yours might be too if you think about it.

Oh and parent comment presented his opinion as a TL:DR of the OP, when in fact it's just his opinion. The OP is nuanced and quite worth the read.
Show HN: CRC32 file checksum webapp with SFV support
I would like to recommend :

Music Theory For Computer Musicians.
Senior NSA official moonlighting for private cybersecurity firm
My background is technical also and I figured out what you mean and your sentiment.
I'm one of the attendees that was impressed by Jan Koum has chose Erlang for an intuition or by the Kevin Systrom estimation for rails.
Maybe you wrong your approach to a startupschool as many tecnical people like us.
Basically the startup success formula does not exist

I think that startup school has an implicit and very powerfull message:
Startup successful founders are common people and not divinity
Neat. Thanks for the explanation. I had installed RESTAS inside of a Clozure CL image but had not gotten as far as daemonization and forking.

Judging from the one sentence on the landing page, I supposed it would blow up. Haha.
That was a great read. An insightful piece.

In my eyes, this is the most important line:
"And finally, here is one thing NEVER to do when asking for more money. Never ask for it nor justify it because of your need."
That does not just apply to money. This behaviour is nothing but begging and playing on emotions. Professional people will look right through it.
Maybe they will be similar like the replicants in blade runner and each have a scripted past instilled into them. As my sibling comment states, its not terribly unlike TV shows.
And where does the software that powers the workstations come from? Out of thin air? Where do you compile it? I am not talking about iOS and OS X bundles, I am talking about fundamental Unix system software (which pkgsrc provides). And what if you do continuous integration? Where do you run that?

Lately I've been playing with a setup that builds a cross-clang on FreeBSD to cross-compile OS X software using the libraries inside the XCode sdks. The setup itself is working reasonably well, but most autoconf scripts don't work well with cross-compilers, so it's not workable for pkgsrc right now (though it is workable for my own C software). Unfortunately, this would not help with integration testing...
Maybe today they're not incriminating, but tomorrow they will be. Better safe than sorry, but you still want to live a "fairly normal" life.
THE WALKING DEAD SEASON 5 – episode 2
Thing is - if no-one ever uses the hazmat suits in anger (I suspect the US is infrequently exposed to these situations), there's always the chance of critical failure in (what sounds like) a complex procedure which -requires- every step to be correct.
I got to see Hugh give a talk (and demo) in person, probably at a Freescale conference a while back. He's a great speaker and an inspiration. They are really pushing the envelope. Great stuff.
"- Create a base image which handles the stuff you need to reach out to the network for (`apt-get install openjdk-6-jre` etc.) and is infrequently updated. Then the Dockerfile for the final application is `FROM me/myjava` and just does a few things that don't use the network like `ADD . /code`.

- Use `docker commit` instead of Dockerfiles for those steps (pretty gross IMO)

- Use CM in your docker build to install a very specific version of a package if you need (I'm not 100% sure this exists but it seems probable). This isn't perfect but tightens things up if you're worried about upstream breaking apt packages etc."

These are some of the goals of ShutIt.

We had complex development needs due to technical debt, and dockerfiles simply didn't cut it, and I got frustrated with the indirection of chef/puppet/ansible. I also needed the several hundred devs in my company to get productive quickly, so transferring all the little bash scripts and storing it in docker was the path of least resistance.

It's out of date and heavily edited, but I talk about this here:

http://www.youtube.com/ianmiell

and here:

http://ianmiell.github.io/shutit/

and on my blog:

http://zwischenzugs.wordpress.com/
Seconded. Or even if not open-source: to integrate this into my apps, my products would save shedloads of time.
This article won't help much. Many people are saying this issue occurs without any plug-ins. I doubt it is the true cause. There are many Google Chrome Helper CPU eating up issues. Some are obviously not plug-in and extension related.

Chrome for Mac is almost useless because of this issue. I first encountered this just after Maverics release and Google has not fixed it until now. Very odd.

Issue 373923 - chromium - Google Chrome Helper Process Taking up >100% CPU on Macs

https://code.google.com/p/chromium/issues/detail?id=373923

Issue 397642 - chromium - Google Chrome Helper (not responding) on Yosemite Beta 1

https://code.google.com/p/chromium/issues/detail?id=397642

Issue 399960 - chromium - Video playback, CSS transitions, and other GPU operations drastically heat up 13" Retina Macbook Pros

https://code.google.com/p/chromium/issues/detail?id=399960

Issue 367593 - chromium - Multiple Google Chrome Helpers are spawning and slowing severely slowing down my browser

https://code.google.com/p/chromium/issues/detail?id=367593

Google Chrome Helper using far too much CPU power - Google Group

https://productforums.google.com/forum/#!topic/chrome/LfBqIl...
I actually thinks it looks good
The attacker must install a CA certificate on the users' computers so he can strip/split their SSL/TLS sessions. Frankly, that's the sysadmins who are using this type of tools the most for monitoring the browsing habits of the employees.
Your comment doesn't seem to relate to the article.

> where an AI like Siri can beat the turing test for any living human.

A key aspect of Siri in this article is that the responses make sense. There is no trickery or deception. When she says "Marriage is not included in my end-user agreement," there is no way someone could mistake her a human, and that's a good thing. Here, the more relevant philosophical questions are ones like "How much can machines or machine intelligences be a part of our lives and our society as machines?" and "Are there more beneficial and interesting goals for our machine intelligences than the Turing test (given that their value may be predicated on the fact that they are not humans)?"
A preview of the set is here:

http://google.github.io/material-design-icons/
http://stackoverflow.com/questions/17242144/javascript-conve...
Why not (re 8 years)?
http://en.wikipedia.org/wiki/HSL_and_HSV#From_H
How One Physicist’s Pursuit of the Cosmos Took Off in Antarctica
"I think in order to get to that point in your career where you can easily have multiple competing offers to choose from, you need to be a really good developer with a spiffy-looking portfolio."

Not true at all. Development is currently a hot market and you can get competing job offers right now without any portfolio as an average developer.

If you wait a few years development might not be such a great market and you might not get a raise even if you are a much better developer.
Previously featured here https://news.ycombinator.com/item?id=8472164