skysight-inc/HackerNews huggingface dataset:
We're using Docker for a few internal projects at Stack Exchange. I've found it to be simple and easy, and it just works.

We have a diverse development team but a relatively limited production stack - many of our devs are on Macs (I'm on Ubuntu), but our servers are all Windows. Docker makes it painless to develop and test locally in exactly the same environment as production in spite of this platform discrepancy. It makes it a breeze to deploy a Node.js app to a Windows server without ever actually dealing with the pain of Node.js on Windows.

Also, it makes the build process more transparent. Our build server is Team City, which keeps various parts of the configuration in many different hidden corners of a web interface. By checking our Dockerfile into version control much of this configuration can be managed by devs well ahead of deployment, and it's all right there in the same place as the application code.
What I mean is after the financial crisis of 2008, the US has made no significant law changes, has not increased enforcement and all the key players are still in their cushy positions (and not in jail.) We have fixed nothing so it is only a matter of time before it happens again.
It would be inlined by the compiler, and the standard library could introduce a macro to eliminate the awkward code.

try!({
let db = pgsql.connect(localhost)?
let stmt = db.prepare("INSERT INTO log VALUES(?,?)")?
stmt.execute(("debug", "Note to self: debug logs are noncritical"))?
} catch err: DatabaseError {
println!("Could not write log to database {}", err);
})

===>

match (|| {
let db = pgsql.connect(localhost)?
let stmt = db.prepare("INSERT INTO log VALUES(?,?)")?
stmt.execute(("debug", "Note to self: debug logs are noncritical"))?
}) {
Document(d) => d,
DatabaseError(err) => println!("Could not write log to database {}", err)
}
Since we are still waiting for CoreOS + (flynn.io || deis.io) to mature. I modified our existing VMWare VM based approached to setup ubuntu boxes with Docker install. Where I then use fig to manage an application cluster, and supervisor to watch fig.

When its time to update a box, jenkins sshs in calls docker pull to get the latest, then restarts via supervisor. Any one off docker run commands require us to ssh in, but fig provides all the env settings so that I don't have to worry about remembering them. The downtime between upgrades is normally a second or less.

The biggest thing I ran into is that each jenkins builds server can only build and test one container at a time. After each one, we delete all images. The issue is that if you have an image it wont check for a new image. This applies to all underlaying images. We cut the bandwidth by having our own docker registry that acts as our main image source and storage.
wvanbergen, forgive me for veering off topic. I'm planning on applying to Shopify (Toronto) as a software developer before the end of the weekend. Any advice you're willing to share?
And using the label "Silicon Valley" to refer to businesses that are antagonistic to strong copyright? Companies like Adobe? Apple? Electronic Arts? Oracle?
Taleb made this comment on Facebook yesterday. Seems relevant:

Another attribute of small is beautiful: (what we call) democracy.

The idea of democracy is to take the citizens’ location as fixed, and the identity of those in government as variable, the “representatives” matching the preferences of the people. But you can get similar results of representation, even under dictatorships, by varying the people’s location instead.

Assuming you are able to move to the canton or municipality where you feel the dictators represent your tastes & beliefs, such competition would put pressure on local municipal dictators to please taxpaying constituents so they stick around. So the smaller the size of political units (and the larger their number), the more democracy we get in the system.
global capitalism?
Scalariform is pretty awesome too: https://github.com/mdr/scalariform
Yeah... I think the whole premise behind SuperPACs is the ridiculous notion that money = speech and campaign contributions are protected free speech.
The area energy density of ITER is particularly low. The whole plant is only designed to produce 500MW, on a concrete platform 1000mx400m.

Compare that to this: https://www.google.co.uk/maps/place/Barking+Power+Station,+B...
google.co.uk

That's a 20 year old 1GW combined cycle gas plant, in a building roughly 50mx150m. Anything they can do to bring fusion plants smaller than ITER is going to help.
Www.portalmasq.com

Presentations at hope, DefCon, hitb, and next toorcon
Here's the problems we're solving with Docker:

* Sanity in our environments. We know exactly what goes into each and every environment, which are specialized based on the one-app-per-container principle. No more asking "why does software X build/execute on machine A and not machines B-C?"

* Declarative deployments. Using Docker, Core OS, and fleet[1], this is the closest solution I've found to the dream of specifying what I want running across a cluster of machines, rather than procedurally specifying the steps to deploy something (e.g. Chef, Ansible, and the lot). There's been other attempts for declarative deployments (Pallet comes to mind), but I think Docker and Fleet provide even better composability. This is my favorite gain.

* Managing Cabal dependency hell. Most of our application development is in Haskell, and we've found we prefer specifying a Docker image than working with Cabal sandboxes. This is equally a gain on other programming platforms. You can replace virtualenv for Python and rvm for Ruby with Docker containers.

* Bridging a gap with less-technical coworkers. We work with some statisticians. Smart folks, but getting them to install and configure ODBC & FreeTDS properly was a nightmare. Training them in an hour on Docker and boot2docker has saved so much frustration. Not only are they able to run software that the devs provide, but they can contribute and be (mostly) guaranteed that it'll work on our side, too.

I was skeptical about Docker for a long time, but after working with it for the greater part of the year, I've been greatly satisfied. It's not a solution to everything—I'm careful to avoid hammer syndrome—but I think it's a huge step forwards for development and operations.

[1]: https://coreos.com/using-coreos/clustering/

Addendum: Yes, some of these gains can be equally solved with VMs, but I can run through /dozens/ of iterations of building Docker images by the time you've spun up one VM.
I made a rough estimate of direct payments to individuals through welfare, Social Security, Medicaid and Medicare.

The problem with saying all of the budget improves people's living standards is that it gets you nowhere. I just drew the line at direct payments.
Max Levchin – unfinished business
Show HN: Apptuse – Instantly create a mobile app for your e-commerce website
They might get it done too, as long as the main opponents to the plan, like Antonio Trejo Cabrera, keep being murdered.
All I have to say is, Thank you Guardian!!!

And, oh, screw this app.

I wouldn't recommend it to anyone. Or any other claimed secure/anonymous app, that does not have the "Moxie Marlinspike seal of approval"(TM)!
When I hear about Tesla not being able to sell directly to customers, and have to go through dealer, I always wondered why different corporate structure can not be created, where some head company owns Tesla and all dealerships used to sell Tesla cars? This way it is not manufacturer selling these and control of the distribution is still within parent organization.
I live in a Detroit suburb, a large number of the residents here are engineers, many for GM, Ford and Chrysler, but quite a few for Toyota, Hyundai and other foreign suppliers (like Bosch and Yazaki). I see many domestic, but almost as many imports here.

I think a lot of the stigma is gone, certainly there is considerable pressure for people to drive their employers vehicle to work, but at least in my (relatively upscale) neighborhood, I would feel no social pressure against, and I bet I would have a bunch of engineers come visit, if I dug up a 100k and put a Tesla in my driveway.
In the case of the BMW X5s, all of the ones going through the port are destined for Europe, South America, and Asia.
The One Thing Computers Will Never Be Able to Do
Sure, but legally speaking that's just very nice of him to promote someone else's product (the image) with his music. It doesn't affect the ownership of that image.
Apptuse is focused on crafting elegant and native shopping apps for businesses and individuals. We currently integrate with 6 platforms including Shopify, Big Commerce, Magento, Woocommerce, Spree Commerce and Kartrocket. Apptuse also supports multiple languages and can have your app ready to be shipped in under a day.

I am here in case you have any questions + feedback + suggestions.
Right, but even then. You could back yourself into a situation where you say "makes fewer erratic/slow choices than the average driver." Which, again, could get you there.
10 best countries to live for software engineers
Slightly unrelated but I find the idea of a mobile phone sharing an area code with landlines utterly bewildering. A phone, that by definition has no fixed abode, is now tied to a location and subject to long distance charges based on that location (As it was explained to me in Canada at least).
Yeah, that's what I plan on doing this weekend. Wasn't planning to upgrade my GTX680 for a while as it was plenty for GPU acceleration in Adobe apps and for gaming at 2560x1440 but the Rift pushes it to its limit in several applications. Thought about just getting another 680 to put in SLI but my stupid past self didn't buy an SLI motherboard and it's not worth the hassle to buy another mobo, another 680, and rebuild the thing now that the 980's are out.
The joy of French map that are false around Paris in the suburbs unless you take the highway.

Was using IGN map to go to Paris from Pontoise using the straight line fresh market road from Rouen...

Nearly got killed by gypsies, and false indications ...

The screenshots of roads that disappeared years ago where a carrier near Cormeilles, made a very nice irrealistic suspended road in thin air 20 meters above the ground.

Would have been fun, if in the quite abrupt slope going down on Argenteuil I did not discovered at full speed a roundabout that was not supposed to be there. It makes you wonder why we send satellites in space if we don't update the maps for decades.

Probably a remain of De Gaule plans to confuse the USSR invading us.
wow, this is really impressive.
Actually, we have Nginx configured with Health Check (http://nginx.org/en/docs/http/load_balancing.html#nginx_load...). Hence, it will automatically take a given appserver out of the pool when it stops responding. Once the node is back again, Nginx will automatically bring it back into rotation.

Also, we actually use a volume/bind-mount to store the source code on the host machine (mounted read-only). That way we can roll out changes with `rsync` and just restart the container if needed.

The only time we need to pull a new update is if the dependencies/configuration of the actual container change.
Woah there. You've extrapolated a number of things that I never stated. Let's revisit this:

'but while it is hard to generalize, there is a strong
tendency'

I went out of my way not to generalize. I stated a tendency. There is no hard and fast rule here.

'The truth is that most muslim women in Germany,
especially the Turkish ones, don't even wear a
headscarf.'

I did not mention headscarves. Not once. I stated 'misogyny'. The two are not the same.

'I almost never hear "Multikulti" except from extreme
right-wing people, and those who share racist opinions,
but don't consider themselves Racist.'

"Multikulti" was a concept was popularized by the liberal Alliance 90/Green Party. Merkel, of the right leaning CDU stated multi-cuturalism has "utterly failed" back in 2010 [1]. This is a partisan concept. I therefore struggle to see how you can associate the attempt by the German people to have a multi-cultural society as racist. I don't understand how you make that connection?

'There is a well documented effect in that the teacher's
expectations are reflected both in subjective grades and
objective performance.'

That I agree with.

'Another confusing factor is that most Turkish
"immigrant" children are anything but immigrants. Their
parents or grandparents immigrated to Germany decades ago
and helped build the country.'

Agreed, these children come from a migration background. I should have made that clearer. My observation was that specifically the boys have a problem with women teachers telling them what to do. This includes female teachers that come from a "Migrationshintergrund". Women having a position of authority over these boys is a problem for them.

'pin this complex problem on a mysterious genetic factor
that makes Turks dumber'

This one baffles me. I stated that these boys have a discipline problem. I also stated that these children are not achieving their potential because of the misogyny, not because they are dumb.

Bottom line is that a misogynistic cultural attitude is prevalent in Turkish society. That misogyny concerns the role of women in the work place. It especially causes problems in schools where women teachers hold positions of authority over young men who do not like, and are not used to, that scenario. As a result come discipline problems that (as you so eloquently put it) 'the teacher's expectations are reflected both in subjective grades and objective performance' results.

It is a vicious cycle. Hence, I went out of my way to state that both sides are to blame. You appear to have overlooked that fact.

[1] http://www.bbc.co.uk/news/world-europe-11559451
Finding more duplicate icons – An introduction to image feature extraction
Agreed. The money would be much better if given to The Guardian Project. I wish those guys would get involved in building hardware project like this - as the demand is definitely there.
Well, we're already saying the second part.
Which is best for you, the iPad Air 2 or the Nexus 9?
Calvertr: Units and Currency Conversion with Calculator
Wondering about the strength of the JS MVC framework trend these days? I haven't used one in a project for about a year, year and a half.
A "mine is bigger than yours" headline. I hope both are here to stay with an Xming-like implementation of Xorg (even for Haiku-OS).
Link: http://www.windowsphone.com/en-us/store/app/lectito/c4f00daf...
iPad Mini 3: Not Our Best iPad Ever
Content Management Systems for Node.js
The UK manufactures a lot of stuff - manufacturing output in the UK doubled from 1958 and 2007 - it's just that we don't have many people employed in manufacturing anymore:

http://en.wikipedia.org/wiki/Manufacturing_in_the_United_Kin...
Friends don't let friends start businesses together
That sounds like a pain for my desktop, but implies there's still hope to use a simpler init on my servers so long as the coupling doesn't increase.
You load 16 tons and what do you get?
Another day older and deeper in debt.
St Peter don't you call me cos I can't go,
I owe my soul to the company store.
Im guessing this is C++ with a lot of template abuse and header interdependencies? C++ has a powerful compiler, buts its also easy to shoot yourself in the foot with it.
O'Reilly books uses Mac Classic to run the last version of Framemaker that still ran on the Mac. (Not sure why they don't use Parallels.)
https://mobile.twitter.com/kpoulsen/status/52246310994522931...

All they did was smear away the logo in photochop, though their OEM might have provided this image. Anybody can make their own Anonbox with a Cubieboard or similar Allwinner A1x/A20 box for under $60. Or use thegrugqs PORTAL on a chipped TP-Link router you can find plenty on amazon/ebay for $40 https://github.com/grugq/portal/blob/master/README.md
We use docker at https://cloudfleet.io to separate the application logic from the data and create a simple interface for additional apps.

As we deploy on low power devices the minimal overhead of docker is crucial for us.
Show HN: Grab environment from etcd and run command with it
IIRC in many states dealerships are required to have independent ownership from the manufacturer and no individual/company can own more than one.
We’re testing and exploring ways to include Tweets in your timeline
It's a big mistake to think that way. If you can't come up with a compelling reason for users to upgrade, it's a lot harder to get the install base large enough where developers can confidently switch over.
Thanks! Come to think of it, I think I've seen Bob Metcalfe say it in a video.
I helps me, because I always fat-finger Command-W close tab instead of Alt-W copy region to selection in Emacs, and it closes my tab. I can get it back when I run Emacs under screen!
I'm first to call out all the bullshit general population believes in, but in this case I think it is counterproductive to blame people.

Behind all politicians there is a system designed to optimize for deceiving the electorate into believing what the politicians want. Millions if not billions of dollars and man-hours are spent every year to improve that system (that's not counting the private research branch known as advertising industry). Your average citizen Joe doesn't stand a chance here.

The fact that general population doesn't care about important issues (hint: what's on the news is mostly irrelevant) is a different thing and it hurts me, but I have no clue what we can do with it.
bayesianhorse said it better than I can:

'There is a well documented effect in that the teacher's
expectations are reflected both in subjective grades and
objective performance.'

Nobody needs to be "smacked". Teachers have observer bias and negative expectations. Turkish boys don't like women telling them what to do. Both need to alter their attitudes.
Docker also enforces immutability. With a VM there's always the temptation to manually fix any issue that arises, and if you don't have some bulletproof way to document that then you'll have issues when you go to recreate the environment on a new machine. Docker kind of forces you to solve the original problem via the dockerfile, which is what will spawn images for any future installs anyway.
I think you can have it owned by a different company but with the same leadership as the parent. Isn't this how liability shields work? Lots of different LLCs with the same people at the helm?
Wow - I've respected him for a while, but this is just amazingly well put. Game changing for me.
Not again... I think this was already decided..
Can we just move on? I've switched to systemd on my laptop months ago and had not a single problem. Boot times are noticably faster.

Does Linux have to stay at software from the sixties forever? Can't we just move on to systemd and wayland and whatever fits better into the 21st century?!

I really feel this is all too political and FUD after months and months of senseless complaining about systemd and particularly far too personal regarding Lennart Poettering. If people like SysV init so much there will always be alternatives but this shouldn't hinder the majority of users to move forward with systems that just work with systemd (e.g. Debian+Linux). Nobody really uses Debian/kFreeBSD anyway, for example. Yet, it's a common statement that is brought up.
It's easy to exaggerate the importance of institution. If you have a humanities degree from a top British university but little to no work experience and average academic results, you aren't going to walk into competitive jobs.
"The two midwave IR sensors—mounted in a nose pod on the WB-57 and internally on the P-3—were about 60 nm from the rocket when it reignited its engines for supersonic retropropulsion."

They clearly mean Nautical Miles (nm) here, but I did a double-take on my first read through.
Most people seem to be using Docker with distro-based images, ie. start with ubuntu and then add their own app on top etc. Is anyone using more application-oriented images, ie. start with empty image and add just your application and its dependencies?
Like you, I'd prefer to turn down the virtual resolution a few notches to make system text and UI elements bigger. I cannot help but notice that 1706 by 960 would be enough virtual resolution for me[1], which on the new iMac would put 9 actual pixels into every virtual pixel. It would be nice if Apple included system fonts and other UI elements adapted specifically for such a 1:3 ratio of virtual size to actual size, which we might call "pixel tripling" in contrast to the "pixel doubling" that Apple has already implemented (a.k.a., HiDPI mode) in which each virtual pixel is made up of a square of 4 actual pixels.

Apple is very unlikely to go through the trouble of implementing "pixel tripling" just to accommodate people like you and me, but wouldn't it be sweet? :)

[1]: A rectangle 1706 pixels by 960 pixels contains .93 as many pixels as one 1680 by 1050 contains.
You could argue that the two are intwined: how much of a 'self' do we really have that is not strongly linked to 'our' community?
We are running our app[1] in instances of Google Compute Engine. We installed Docker in those instances.

Our app is a bunch of microservices, some Rails Apps each one running with Puma as webserver, HAProxy, some other Rack app (for Websockets). We also use RabbitMQ and Redis.

All the components are running in their own containers (we have dozens of containers running to support this app).

We choose this path because in case of failures, just 1 service would be down meanwhile the whole system is nearly fully functional. Re-launching a container is very straightforward and is done quickly.

[1]: https://dockerize.it
Having owned 1 BMW and 5 VWs my views are the exact opposite - the BMW was by far the most expensive (and fastest) car I have ever owned but although it was new it had a lot of mechanical problems and really wasn't that comfortable.

All of the VW group cars I have had have been great - haven't had a single problem with them.
Cold weather performance is trumpeted a lot by EV detractors, but the number one selling new car in Norway last month was the Tesla Model S.

http://www.reuters.com/article/2013/10/08/tesla-norway-idUSL...

Here's an interesting interview from Elon Musk about the Tesla battery winter performance.
http://cleantechnica.com/2013/03/01/interview-with-elon-musk...
> not sure if Rust has return type inference of not

Rust has return type inference for function invocations, but not for function signatures. This is a conscious decision to force all functions to provide an explicit contract rather than having any global type inference. And really, I wouldn't want function return types to be completely inferred in Rust given its last-semicolon rule.

However, there is an RFC that would allow for "abstract return types", which would let a function state that its return type implements a certain trait and allow the programmer to omit the concrete type. This is somewhat essential for the new closure design, and also greatly benefits functions that return iterators (but it might not be relevant to your question at all, I haven't had my tea yet...).

https://github.com/rust-lang/rfcs/pull/105/files

> when is Rust going to compile to Javascript

Never officially, but that doesn't mean an Emscripten backend isn't possible https://github.com/rust-lang/rust/issues/2235 :)
I'm not sure that would work in a state as car-centric as Michigan; "out of sight, out of mind." Lots of other cars to buy, especially given Tesla's demographic when compared with Michigan's demographic.
Teachers have observer bias and negative expectations of Turkish boys. Turkish boys don't like women telling them what to do. Both need to alter their attitudes.

Teaching is a popular career path for many women in Germany. It offers many benefits (especially as a civil servant). That isn't going to change (and nor should it). So if Turkish boys do have a problem with that, then they need to get over it.
Coda 2.5 Released