skysight-inc/HackerNews huggingface dataset:
Hi chatmasta,

Thanks for you're comment - we agree that the deployment of micro-services is more complicated, although we disagree it has to be a nightmare. Not wanting to jump the gun on my next blog post too much, the deployment solution for Campaign Manager was:

1. A co-ordination project, capable of setting up the development environment, starting services, running tests, building artefacts and deploying them. This sounds grand, but it was really a set of scripts (JavaScript), that relied on a consistent naming convention.

2. A file defining which services were deployed to which host per environment

3. A shared list of endpoints for service to service communication, datastores and the ESB.

The build scripts used the CI build number to version the artefacts and created an SMF manifest. The deploy scripts (also written in javascript) iterated over all hosts and performed the following steps...

1. Put the host into maintenance mode, causing the load balancer to remove it from the pool

2. Upload the new / updated service artefacts (tar.gz)

3. Stop services not supposed to be running on the host

4. Install the new / updated service artefacts (i.e. unzip them)

5. Import the SMF manifest (similar to an init.d script)

6. Take host out of maintenance mode

7. Delete services, retaining the last 5 versions

This is not vastly different to what I would have done if deploying a single application to multiple hosts. We didn't have any need for orchestration as the significant service-to-service communication was via asynchronous messaging. We've improved on this in other projects, e.g. deploying docker containers instead of tar.gz files, using AWS tags instead of a file to define where services are deployed and even adding a service dependency graph so that when one service becomes unavailable the dependent services can take appropriate action.

Will write all this up in more detail and post to HN.
Yes, neither wood Kardashians or Bieber.
Secure? Really?

Ot: i would say a tablet with character recog but i dont think theres any THAT good to read a doctors writing haha.
So one compromised device and all the data is out there?

Shouldn't this be restricted to on-premise-wifi only, highly locked down tablets that only allow the user to run the specific apps?
"Good luck doing it. It's not easy. I know; I've tried"
Completely unsupported assertion (no pun) without evidence. Other people have tried it, and have succeeded. I could start listing all the software written in C++ that you use in your everyday life, perhaps 100's of times a day... but that'll quickly exhaust my word limit for this post.

"That's why C++ is overly cumbersome unless you ignore most of its capabilities, like exceptions."

Complete non sequitur. Exceptions are not "most of C++ capabilities". In fact, you can refuse to catch or throw exceptions for 99% of your (millions of lines) of code and still end up with a very large, stable code base running a large portion of the internet. Ask Google.

Today, there's pretty much no viable alternative to C++ for writing large scale, high performance systems with reliable performance guarantees. You could do it in C if you have a religious anti-C++ agenda but that would be like cutting off your nose to spite your face, and you'll end up in a horrible mish-mash of macros and generated code all over the place for a project with any level of complexity.
Rust or D might get there some day if they manage to attract a solid community and big corporate backing. But they are certainly not there yet.
I applaud the open approach, but I don't see the need to reference Sublime Text to increase traction. Why not market this as a cool new feature rich editor implemented in Go (with the bonus of having all the ST / TextMate compatibility to go?)

In fact, why does Lime reference Sublime Text at all?
If parent is like me: I like to use a pointer device, particularly together with sublimes multicursor implementation. See some entries that you want to edit simultaneously, but their pattern is complex to express? In emacs I would just give up and do it manually, in Sublime I can hold down Command, click each position and then apply any edit command. Happens very often in my kind of work.
You are missing the point. No project uses all features of C++ at once, only a subset, and this forms a dialect. It's not that infrequent to see the dialect change when going from one team to another even in the same organization. Some use multiple inheritance and exceptions, some don't. Some swear by STL, some won't touch it with a long pole. That's why internal coding guidelines exist and that's why they are particularly detailed and thick for C++ shops.
I love that you bring up the global scale. It's in the global scale things sound daunting. But it's in the global scale that what is really important becomes clear.

Maybe the most important fact it all boils down to is energy density. Nuclear is literally millions of times more energy dense than any other energy source. Practically, that means millions of times less waste. (See let's talk about physics baby http://www.thingsworsethannuclearpower.com/2013/02/energyden... )

Envision a world powered entirely by coal. Not pretty. Entirely by solar? Appealing PR, but besides being not at all possible it has it's own immense ewaste issues and those never decay away and that waste certainly cannot produce energy. Entirely by hydro? That means destruction of perhaps the largest swaths of ecosystems in the world. Etc. Take any qualms about a globe powered by nuclear and then multiply it almost by millions of times for the other sources.

Land use is another huge factor. See this graphic for comparison. http://newenergyandfuel.com/wp-content/uploads/2010/06/LandU...

As far as security forces, etc, it wouldn't likely scale like that but let's assume it does. Are numbers like a million well paying jobs spread worldwide actually daunting? How many military folk end their service time in the US alone each year? I was an intern in the Office of the Secretary of Defense for Economics and Manpower so I should remember but I looked it up. There are hundreds of thousands of former service members looking for jobs each year. ( http://www.civilianjobs.com/careeradvice/related.aspx) Thats leaving out more than 6 billion in other people.
If there is one app I've always been thrilled to pay for, it's Sublime Text. I've purchased and renewed the licence ever since v1 came out. While it may not be open sourced, you can see it was created with a lot of love for code and openness. Today there are thousands of amazing plugins to enhance it. And though I fully respect the open source initiative, I, for once, am very happy to support / give some money to a peer developer who has made our world much better.
Assuming those people are actual, proven, and unanimously agreed upon sex offenders, such as a 50 year old man who did time for making 10 year year old boys perform fellatio on him, I don't see what is wrong with making them pariahs. If anything, they should have been executed rather than reintroduced into society.
Computer vision is one of those odd areas that I cannot see a nice gentle slope to adoption, but instead is a step change. For example NLP gives us all sorts of add ons to our current interaction with computers (hey let's do sentiment analysis of customer reviews / emails / etc)

But there is no obvious slope for computer vision - we need an infrastructure of cameras and bandwidth before it becomes ubiquitous

So I struggle to see the profitable intermediate businesses between here and there - and that troubles me.
The picture captioned 'Visitors to Tiananmen Square struggle with Beijing's polluted air' shows someone wearing a _surgical_ mask rather than a _pollution_ mask. Surgical masks offer no protection against small particulate matter in the air.
On the main site, it used the name one. It also says it aims to be the successor, not that it is the successor. I wouldn't feel disrespected if someone did this. I would be a bit bummed someone is trying to take my paying user base but that's about it.
I agree that the argument about keeping lead out of the environment is weak.
As for using lead in any products I think it comes down to whether its possible that the lead leaks out into the environment in any way. That is very unlikely with car batteries (assuming they are recycled correctly) and remains to be shown for these solar panels. If the lead in them is bound in a way that makes it impossible to leak out (despite being exposed to weather or broken in a storm etc) I think it's a fair tradeoff.
I'm sure it's taken a load of work and is still in early stages, but describing yourself as the successor of Sublime Text when it looks as shit as that.. that's some brass!
[FREE APP] Homework Help for Students
All single fathers were deceived into taking care of their children?
Government should not give preemptive assurances and forego the courts, regardless of whether it has happened in the past.

The main question is: what is there to gain for Sweden by offering any guarantees to Assange (other than having him show up sooner)? It's a matter of relations with the US (which are closer than they should be as Snowden revealed) versus the matter of human rights. A delicate decision without a given answer.

In Sweden one probably wants to keep the possibilities open and delay all investigations regarding refugee status, extradition requests etc to when they actually have Assange. If he wants to wait several years until he needs to visit a hospital, neither the US nor the Swedes really care: his whereabouts are known.
Wonder if there's ever been interest in adapting it as a game? Bit like Limbo without the same menace.
How much are results improving? What's the general long term trend?
Ladies, hookers and Web Design
It's described as 'aiming to become a successor'. Everyone can set their goals wherever they wish. Whether they get there is another thing.
> So essentially there are two kinds of science ...

No there is ONE KIND OF SCIENCE, it is defined in the law, and it is why the DSM is being discarded. Science is not a matter of opinion as you seem to think, it is a matter of evidence and discipline.

> I'm giving up...

Your ignorance is astounding. There is ONE PROPERTY that all science must have, it is non-negotiable, and every freshman science student knows what it is. I asked this already, you ignored it out of embarrassment, NOW ANSWER THE QUESTION.

It can be expressed in a single word, science requires it, psychology doesn't possess it, what is it?

ANSWER THE QUESTION OR STOP POSTING.

How science is defined in the law (why Creationism cannot be taught in high school science classrooms):

http://arachnoid.com/building_science/index.html#Science_Def...
Techhub Manchester closes, replaced by SpaceportX
Doesn't account for the fact that most people would say

"Keep going down past the big red barn until you reach the big green barn."

Despite the most distinguishing factor between the barns would be their color.
"a program for bringing in workers from places they invaded and decimated" - against their will?
I was the CTO of an early stage startup that had a team of 3 developers. As a CTO your role is to have the vision of the entire platform, to pick the best stack that will get your MVP done, to think of best solutions to scale the system after you get traction. The CTO needs to have a deep technical knowledge and I think you can not do your job well if you do not code, test new technologies, build proof of concepts. If you sit around all day and just code review you are doing it wrong, you become just a glorified manager. You need to give your team the best technological advice and help them when they are stuck. Most of the time I wrote proof of concept code and tested out some libraries before I guided the team in using them.
If there's a getter and a setter for a class field, you can just make it public.
Eh? How do you mean that?
I note that when faced with the fact that they can interview him remotely (and this is entirely normal and occurs frequently in the EU) you've changed the scope of discussion and avoided conceding the point.

Your newly suggested scope is to whether Sweden should give guarantees and accept Assange's generous offer to return to Sweden physically with a guarantee he will not be handed to the US.

The fact is that Assange has not been charged with any crime, left Sweden with its blessing after responding to queries on the case (which was already thrown out of court), and as an innocent member of the global public is certainly not obliged to make such generous offers.

The Swedish prosecutor Marriane Ny's continued lack of movement on the case and media-directed table-thumping, even ignoring her own bar association, prominent international lawyers, and international organizations such as Human Rights Watch, has been extremely telling.
No, a dirty bomb is mainly designed to maximize fear, not hazard. Once its gone off, telling people it was safe is probably not going to work very well.
6 TOOLS EVERY SAAS COMPANY NEEDS TO BOOST USER RETENTION
whomp whomp. not really.
The thing I find most surprising is that she went from being a protesting vegan hippy-type, to a Daily Mail reader who says "I don’t read the Guardian—nobody I know reads the Guardian". That's some shift to the right.
I have furniture at home made of wood. Oddly, my table looks nothing like my broom handle, so does this mean that wood is a terrible choice for both items? "The industry would be better off without wood!!"

Surely libraries in other languages have the same problem? They don't look anything like each other.

wxWidgets and Qt look nothing like each other but it isn't a problem at all. The signalling mechanism / event handling between the two just hides function pointers, so it isn't a headache. In fact, MFC looks like wxWidgets to me. Not sure what the problem is?

EDIT: Not sure why the downvote(s)? Do people get downvoted here because someone points something out that is true on a subject/language that they like/dislike? Or was it the tone or supposed tone that the person read the comment in? Please let me know!
Why do you need to be fashionable to be productive? Do people really ask what your finished software product is written in?
I think merge sort finally 'clicked' for me after watching that animation. This is an incredible learning tool.
Convert your Model Apps to Freemium in 15 min's
That's a pity. My code appears to be a mix of the first three.....

any recommended reading?
Three advantages of building very small reactors:

1) Because heat output scales with the cube of the size and passive thermal dissipation scales with the square, small units can be more easily designed to stay within thermal bounds when active cooling fails.

2) One of the biggest cost for nuclear construction is interest costs during the construction process, reducing that time makes a big difference.

3) When you build 20 small units you get 20 chances to make small enhancements and 20 chances to get better and faster at building them. When you build one large unit (which is almost definitely more cost effective on paper) you get one chance to do it and it takes so long that even if you build more than one of the same design, you'll never have the same team building multiple units.
Estraidol is a hormone. Don't mess with the hormones.
Or just get Stroustrup's "The C++ Programming Language" and read the intro bit - it covers the language in fleeting detail but then you still have the rest of the book to look at if you are having a hard time understanding the section at the beginning.
Complete iOS7 Course for free
C++ is 35 years old and predates Haskell and many other "modern" languages like Java, C#, Python, ... So yes, compared to what C++ was originally, it has become modern.
How We Grew Our Traffic to 250,000 Pageviews In One Month
No, there are other lessons too. Read the official report.[1]

"For all the extensive detail it provides, what this report cannot fully convey – especially to a global audience – is the mindset that supported the negligence behind this disaster.
What must be admitted – very painfully – is that this was a disaster “Made in Japan.” Its fundamental causes are to be found in the ingrained conventions of Japanese culture: our reflexive obedience; our reluctance to question authority; our devotion to ‘sticking with
the program’; our groupism; and our insularity.

[1] https://www.nirs.org/fukushima/naiic_report.pdf
Go on, my understanding is that the "explosion" was basically a steam pressure explosion which blew the top off of the reactor, if that is incorrect do you have a reasonably easy to understand source?
As far as I know, they aren't "courts" - they have no legal power. They are just people trying to resolve disputes outside of the courts - which is actually pretty common.

I'm not trying to say that there won't be problems with these kinds of mechanisms, but if UK citizens want to get together and try and work through a dispute based on some religious principles and all parties agree then I don't think we should be trying to stop it.
Heh! I am stuck on VC++ 2010 at work. I gaze longingly at C++11 features but can't use them. A pity, as the same codebase is also built under XCode and Clang.
Presumably that it's nothing new. The term RAII dates to the mid to late 80's sometime, and you could hardly find any book about C++ from the 90's onwards that wouldn't be espousing RAII as the One True Way.

RAII has been with C++ almost from the beginning.
just fyi.. i think https://github.com/daenney/amon has been around for awhile..
Do people really not use the STL? It's incredibly useful, and portable!
Camouflage sheet inspired by octopus
The website IS well designed! It is literally the only website I've seen this year which makes me want to purchase something!

Sure, more information would not hurt, but the overall style is perfect for the target audience.
Similar laws to those in the UK exist in Australia - a long-term couple that separates can, in the case of dispute when splitting common goods, be treated in a manner very similar to a divorce. Furthermore, I know that long-term relationships also bestow other rights on a couple, such as immigration rights (my brother's wife got her first long-term residency permit in Australia thanks to this, as she migrated before they were married).
I got exactly the same behaviour in emacs by installing the 'multiple-cursors package and adding the following to my .emacs file

(require 'multiple-cursors)
(global-unset-key (kbd "M-<down-mouse-1>"))
(global-set-key (kbd "M-<mouse-1>") 'mc/add-cursor-on-click)
Sublime is dead. No one is actively developing it.

There's a rich history of piggybacking on dead software, and I (and many others) clicked this link because of that piggybacking.

I completely support and admire someone who is trying to further the development of Sublime without having the original code base.
What a touching story you have there. Comments like these are why the "HN bias" spreads.
Zen99 (YC S14) is hiring a Full stack Rails Engineer
[Remote OK - US only, Head office SF]

Zen99 provides independent contractors access to the same help that employees get from an HR department. Things like figuring out how much to save for taxes, or getting health insurance. (Problems that we know resonate with you, if you’ve ever done contract work!)

We’re looking for a Senior Rails Engineer to build exciting features we have in our product pipeline. We’re a small team, so you’ll get lots of ownership and good startup experience.

We’re looking for someone to join the team who has at least 3 years of full stack experience, and ideally has worked at a startup before.

Some important things we’re looking for:

* At least 3 years of experience with Ruby on Rails

* A passion for building great things

* Strong Javascript skills

* Experience with Angular or an interest in learning it

* Experience with Git version control

Other skills we’d love to see:

* Objective C / Swift / iOS experience

* Android / Java experience

* Experience with a modern front end javascript framework

We believe in passion and curiosity over degrees or algorithmic aptitude!

Contact us: work@tryzen99.com
Please include a little about yourself, a github profile, and a resume
Balanced Product Management
You're missing the point, since there was no rape joke.
Except you just have to look at Onagawa to see that things can still go exactly right.

http://thebulletin.org/onagawa-japanese-nuclear-power-plant-...

The cause of Fukushima was complete and utter corporate (at TEPCO) and regulatory failure. I would argue against "tightly regulated"; on paper it may be, but in practice it obviously was not or we wouldn't have been in this situation in the first place.
Stroustrup's The C++ Programming Language 4th Edition (the blue one) is good. The beginning of it gives a tour of C++ in light detail but then you have the rest of the book to look at as a reference. It's actually quite an enjoyable read, particularly as it has a different font to the previous version (the white one?).
I completely agree with what you say. Sublime is awesome and I don't mind paying money for closed-source software. What I do mind is, that the development seems to have stopped, and being closed-source nobody can move it forward but the original maintainer.

It once again brings attention to the most important "bus factor" [0]

[0] http://en.wikipedia.org/wiki/Bus_factor
One of the comments there also expresses frustration:

Pardon the despairing/whining tone here, but WhereTF
does one go for solutions to this stuff, instead of
just a long (long long long) and lengthening list of
problem?

It's depressing just how bad things are. But the software we use makes it so easy. We think we're secure using SSL, but then Apple's SSL and OpenSSL both turn out to have major major vulnerabilities. How many exploits does Windows have? Thousands? I bet that Microsoft has patched a thousand "critical" vulnerabilities. So how many thousands remain?

People are now becoming aware of how bad things are. But it isn't realistic to expect every government to change its behavior. So we must develop computers that can't be hacked. By anybody. Yeah, I know how silly it is for me to even type that.
"However, development is still active: when I spoke to Jon today he advised me that not only does he expect an update to the beta in August, he has also started mapping out some frameworks for version 4 which will help guide future development."

https://www.sublimetext.com/forum/viewtopic.php?f=2&t=16517
> Sublime is dead. No one is actively developing it.

This isn't correct, at least according to the author. This was posted in the ST forum on Mar. 18, 2014 [1]:

"From the Sublime office: We are not selling to Github, we are not stopping development of Sublime. As noted by another poster, this is effectively a one man band (I'm here to answer sales questions, process your refunds and get the mail so Jon doesn't have to). The past few months of silence on the development front have been a combination of boring back end work (taxes, new payment platform) as well as a break for the man driving this whole operation. No, we don't currently have a loud internet presence, which is can be an understandable cause for concern-something we intend to address once we move into the production version of 3. There is a vision for continued growth and development, there is momentum behind Sublime Text; it is not dead, just slow.

I'm happy to field any specific questions you might have about the Sublime's future: sales@sublimetext.com."

[1]: https://www.sublimetext.com/forum/viewtopic.php?f=2&t=15477&...
You can always add Project Lombok as a dependency and the issue is gone. I know it is a third-party library but there's nothing bad about that.
Always good with more editors. But i think that Atom will be the next sublime.
I remember reading Stroustrup's book and not having a clue what an "iterator" was. Even looking in dictionaries didn't help me - I was just after the very definition of the word!

Times have changed now of course.