skysight-inc/HackerNews huggingface dataset:
Same here, we went to blue/green deploys when magic in Beanstalk broke and created an outage (we used to use beanstalk deploys where it does all the switching for you).

It is very sad and unfortunate that Amazon decided to limit the smaller number of instances to 1 in VPCs. In the old classic AWS you could set the minimum number of instances to 0, which allowed you to completely shutdown an environment without destroying it, effectively allowing you to turn back to it in a few seconds.
I absolutely love Hiccup and Reagent. Thanks a lot, authors and contributors!
This makes me think if they will repeat this all over again in Nepal.
For recently completed tunnel in Gdańsk the machine cost was €21 million while the total cost for drilling operation was around €220 million
Is it even associative? I don't use Ruby, but it seems like this might not even be defined:

5.days + 1.month
Thus my plumber is now a rich guy. Judging from my bill.
Me to I recall fixing a bug with a major uk company BACS transfer tape where the accounts receivable system was instant that you could have more than 365 days in a year.

Which meant that we where unable to collect any Direct debits for 3/4 of year!
Is it trolling if you pick your targets ideologically and say what you mean?

Depends very much on your intended and hoped for outcome for doing this? A genuine discussion and a meeting of minds or to laugh at the ignorant sheeple? If you find that you're getting more of the latter than the former, do you double down or change your approach?
Use WIFI in tunnels.
Apple reportedly making iPhone 7c
It's complicated and time consuming, but one way to do it is to never modify a column, add new ones and use trigger to copy values from one to the next. Only delete two deploys later.
> Java: UI looks terrible

Java GUIs can be made to look quite nice, just many developers never spend the time to go beyond the default settings.

If anything, the old Filthy Rich Clients blog from Chet Haase , Romain Guy was full of examples how to achieve great UIs in Java.

However most 9to5ers don't read such sources of information.
In typed languages, I'd suggest a case could be made that once you add a "month" to a time, you should get a different type out that should either support a grossly reduced set of operations, or one that would require formal unpacking to produce a "real" datetime that would once again support normal operations. Months and years are dangerous things. (Days technically aren't constant either, but there's a lot of applications like billing where a leap second won't bother you at all if your month & year code just deal with them.)
Offtopic-ish, I do not think taking PED's is cheating. I'd really love to see what we're capable of without the shackles of the illegality and false perception that most have of PED's. Allowing for proper research and acceptance.
Operator overloading sucks. Especially when the expected properties such as commutativity do not hold.
Common mistakes app developers must avoid while testing mobile apps
A generation has to grow old and die before we can make progress on this. There's too much FUD flying around, even mentioning things like Basic Income etc. Folks holler 'Socialism' and 'Lazy Bastards can't have my money!' and 'But taxes!' You can't even begin the conversation.
Some companies will also activate the new path only a small percentage of traffic and monitor the logs to be able to detect errors that were missed in testing.
If you're saying it works with Wine (which OS X version?), I'll do that. Unfortunately, only a fraction of games work with the combination of [Wine, OS X version] that happens to be my current system. Games that work with Wine in 10.6 won't in 10.10.
That's not managed. They install it, but not manage it.
How would Apple Pay be a big loss for her then? From her perspective it's no different to regular debit/credit cards
I had a physics teacher that used to tell us:

vache + mouton = la honte

which translates to

cow + sheep = shame

point being, if you add up things that don't match, i.e. do not have the same unit/dimension, you should expect some weird mistakes.
If it is apple product it is loss loss for everyone but apple.
Yes - but that's a bit besides the point. The situation is a lot worse if you can remain undetected after tampering with the boot media or firmware. This can be a lot more damaging than a ring-0 exploit.
Agreed. Operator overloading of arithmetic is used as the tutorial example with complex numbers. But its utility starts and ends there.

I overload conversions of type, to simplify argument passing. Maybe I shouldn't even do that.
While I don't doubt that this could be true, has anyone ever been sacked for lying about their previous salary? It sounds like an absolutely mental thing to happen.

I imagine that an employer could do this, but I don't know any companies that would ever be in a position to need both sets of information to be able to put this together.
Yes, thanks. I'm a little embarrassed to say that I missed the search box, with it's very understated placement and size! ;-) I knew that there had to be a simple answer. Much appreciated.
But wouldn't they also have more responsibilities?

There is a thin balance I suppose. There is a perfect age when you don't have the responsibilities of family and kids, and still have a decade's worth of industry experience to bank on.

If you are an engineer, you likely graduated at 22. By the time you hit 29, you've had 7 years of real world engineering experience.

Good enough to start your own company, in my opinion.
Ruby devs who love building developer tools – Join OneSignal in Mountain View
> Some merchants said they were holding out because they plan to participate in a new mobile payment system to be launched by a coalition of retailers later this year.

Does anyone know what this is referring to?
Same situation in Canada. About 80-90% of retailers have contactless payment terminals. No Google or Apple Pay though. Tapping a credit card is easy enough though.
Not to be pedantic but HGH isn't a steroid, it's a peptide.

On topic, a lot of athletes get legal prescription for TRT (testosterone replacement therapy), and in several sports the legal application is perfectly fine.
Your cost per station is wildly undervaluing things, since you are not taking into account shipping, installation, training, verification, auditing, disaster recovery planning, etc, etc.
Here is an ongoing list of my ideas: https://goo.gl/J70iC8
You're right it isn't. But also he's right, that the odds are against all startups - so a competitor also has the odds against them too. In an unproven market this is so much more true!

In regards to comments about IP :- compression and encryption are two obvious IP led areas. But also those working in the cutting 'technical' edge - such as high speed trading may well have solid IP.

The thing is a lot of SV based startups (a lot, not all!) are driven to solve customer/logistic problems not technical problems so they are less likely to have IP - unless (grrrr...) you count business practises as IP.

However startups out of a University incubator are more likely to be solving technical challenges and therefore have richer IP. As seen by the comments :-)

The light is shone so strongly on public facing SV startups it's easy for us to forget how many different types of startups there are and how they execute differently. For example most customer facing startups don't need stealth mode, they need MVP. Not true if your product is IP lead, in which case you need to be stealth while you secure IP rights and test the product internally.

There's a lot of massively useful advice coming out of SV - proven by startup after startup - but there is also a tendency to view all startups the same. The very fact that they are different means you need to have smart folk at the helm to navigate their own unique course based on the experiences of others.
I'd classify an athlete with great skill and intelligence to be a great athlete.
and arithmetic is not the same thing as sending + to different objects in ruby :)
I stopped giving to 'big charities' twenty years ago and since then have only helped people locally where I can see what happens to the money. That's a real pity because of course on a relative scale those are probably much less in need than the people in Haiti (and Nepal and other areas devastated by natural disasters). But the red cross - once a paragon of virtue - and a number of other big time charities that were very successful at raising capital but extremely poor at spending it well - if at all - except on themselves are directly to blame for this and I'm pretty sure that I'm not the only person that feels that way.

They'll never get another cent out of me until at least one of their large scale disaster responses works out well. If they can't spend a few million in a direct, useful and efficient way then I don't see how they could spend orders of magnitude more.

Governments are similarly inept at spending their money efficiently (well, maybe not quite this inept but there is plenty of incompetence there too), but we can't avoid paying into the tax coffers and where applicable we do get roads, healthcare, education, national defence, a police force and social security in return.

Because of the total lack of end-to-end accountability with organizations like the red cross and others like it there is nothing to stop them from squandering what they rake in. It would be a lot more efficient to mail an envelope with cash to a random address in a disaster area than it is to expect these organizations to make a go of it. They really ought to be ashamed of themselves rather than belligerently defensive such as illustrated in the article.

Security situation indeed, I think he meant 'job security'.
Sadly this kind of mismanagement and questionable decision-making isn't new [1] [2] [3].

It really seems like a lot of big charities are simply in the business of raising money rather than helping people. One wonders how that money is actually spent.

It seems very much like good local charities are a far better conduit for charitable gifts.

[1] http://en.m.wikipedia.org/wiki/American_Red_Cross#September_...

[2] http://www.cbsnews.com/news/red-faces-at-the-red-cross/

[3] http://usatoday30.usatoday.com/news/nation/2005-09-28-katrin...
(looking for comments)

after reading that articles (some months ago) I've decided to implement that in our company , we're mostly using symfony2 and postgresql, and I came up with that https://github.com/allan-simon/ansible-docker-symfony2-vagra...

basically I have

______nginx__phpfpm+code (blue)
/ \
front nginx database
\______nginx__phpfpm+code/ (green)

The front nginx play the role of "switch" between blue and green , and the database is shared

so basically for the database problem I solve by telling our dev to be aware of it, which translate into a two step process for database upgrade. (we use Dotrine's ORM with doctrine migrations for migrations, so when i talk about getter /setters I talk about the entities' )

* if we add a column which must be "not null" , we add it with a default value first , so the few second the old code is still online , but the database is already updated , if an insert happen it will not fail . Then second time we drop that default value and put in the migration the SQL statement that handle previous data.

* if we drop a column, we first commit a version of our application which remove the code using this column , or make them return default value. and then the second deployement drop the column, so that the version N-1 is already made to not care about it.

etc. the base logic is "the database version N+1 should still work with version N of the code" , I like to image that with a "crossing a small river by always keeping a feet on earth rather than jumping the two feet at once "

after I have to admit that fortunately 99% of our deployment are not about database changes so this "need to do it carefully" only happen once in a while and it does not affect our productivity (especially with the gain of being able to do CI)

last thing, is that I've used this technique only on small to medium websites, nothing with HUGE traffic, so I don't know if it's 100% no downtime, my test (running several `while true; curl WEBSITE ; done ` ) shown no traffic lost.

I just wanted to say that to get opinion from more experienced people, while telling to "normal company" fellows that it's possible to achieve that without "the cloud" and old-school server hosted in a DC or at customer's office.

Edit: of course we still have a dev and staging environment on which we validate code before deploying in production.
How GitLab uses Unicorn and unicorn-worker-killer
It's kind of scary that there's a micro-JVM on my chipset that allows new code to be loaded in to such a privileged system dynamically.
Every Virus a Person Has Had Can Be Seen in a Drop of Blood
It was Tottenham Court Road station when they were boring under Soho Square. It had to go below the escalators but above the Northern Line.
I would think they're referring to CurrentC
Transit is similar but addresses the flaws described in this article

http://blog.cognitect.com/blog/2014/7/22/transit
Retailers lose the ability to track customer behavior and create purchasing models based on credit card number.

Fraud has gone up.
Water is life threatening at a high dosage. In fact, a dramatically higher number of people die from water each year than from PED's.
Point is, people know the risks when they swim in a pool, people are capable of making decisions for themselves.
17 Weirdest but Interesting Websites to Kick Your Boredom
I work at a big 3-letter multinational corporation, and we still compile and deploy manually. No continuous integration or, at least, automated testing. No build tool whatsoever, or a repo to store artifacts. Everything is compiled on the dev's workstation and sent by email.

We do have a disaster recovery server, but it sits outdated for weeks after a deployment in production. When something goes wrong, the switch is not automatic and transparent to the user, we have to email EVERYONE in the user's list to please use the DR server's address. There is no router or load balancer.

Crazy.
Bodybuilding is more akin to a beauty pageant.
I believe that's because they specifically disable applePay in favor of an alternative service
There are some exceptions. For geometric primitives such as matrix addition I might allow it. For complex container types like a "month," it's definitely a show-stopper.
"The All-Drug Olympics"

EDIT: The Reference: https://screen.yahoo.com/weekend-drug-olympics-000000571.htm...
I do the same in rakoshare (https://github.com/rakoo/rakoshare). Humans exchange a well-known id, from which a rendez-vous id is derived. This rendez-vous id is used for all interested peers to meet and exchange ips and ports.

After that, it's the job of every one to try to connect to the other side. Sadly, if there's a NAT on each side, it's not enough...
Don't know why you're downvoted.

Technically, our brains do get full, even this article basically says so.

It's just that we don't experience error messages or shut down when that happens - instead, old memories are replaced with new ones.

The total capacity is limited, but the ability to create new memories is unhindered.

I wish we could choose what we forget, but it seems it's possible to choose what you remember - just relearn that stuff or recall it more often, then it will be at the top of the search results, so to say :-)
CAs often have offices/etc in multiple countries. Comodo for ex: https://www.comodo.com/contact-comodo/contact-us.php
Football matches are still a thing?

(I'm sorry.)
IIRC, those languages have been "coming soon" for quite a bit.
The TfL APIs are really good. I made this LED line status strip with them: https://unop.uk/dev/train-disruption-indicator-with-a-blinky...
GitLab engineer here. Let us know if you have any questions or comments.
They operate in an extremely hostile environment, which takes its toll, and a bit like fighter planes there aren't enough built to make a consume-quality product. Some are reused but they'll always go through a major overhaul in between doing so.
Why would any of that be different? As I understood it, from the point of view of the retailer it's no different than a (contactless) card. So sure, she might have to update her POS, but is going to have to do that anyway. So no different gadget, no different training, maybe another processer but maybe what she's already using?

What am I missing?
Ray Kurzweil: I think that open source is irrelevant for the future of humankind. But keep an eye on Microsoft, my friend's company.
I got a copy of the first volume in this series (After Man: A Zoology of the Future) when I was 5 years old, and it was one of my favorite books growing up.
Personally I keep the database out of the equation, ala 12 Factor.

The database when treated as a unique exception allows you to just get on with developing robust infrastructure.

However for this to work you need to keep code off the database and treat database changes as migrations not blue/green deploys.

I can't say this enough, treat the database as an exception, keep it clean without code on it and with 'soft' schemas (ones that tolerate minor changes well) - then you can do b/g deploys easily.

Also let someone else host the DB where possible (or the same cloud infrastructure of course), it's just not worth the pain.
> unlike 'day' or 'hour', 'month' is not a unit of time!

Not a 'fixed unit' of time. Where I define 'fixed' as being always of the same size (like gram or meter).

My next thought is that day is also not fixed in case of daylight saving and leap seconds. A day has many definitions: astronomical, 24 hours, calendar, etc.

Maybe we can also see this problem with 'hour'; but in that case it would be more contrived.

Bottom line: programming time is hard, be aware of that.

See this post for some common pitfalls:

http://infiniteundo.com/post/25326999628/falsehoods-programm...
Yeah I feel like this article took a really long time to say just this.
This organization is doing good work in Haiti, check it out: http://mohhaiti.org/

They get a stellar rating; to my recollection, 96% of donated funds go to the cause (4% overhead).

They're an overtly Christian organization, which may or may not be your thing. But they're doing good work.

Disclaimer: A company I worked for did some work for them a couple of years ago. I'm no longer affiliated in any way.
But doesn't this assume that the 'bad guys' have knowledge of the exploit. This feels like a faulty assumption. However after disclosure the bad guys will definitely have knowledge.

Also after disclosure what is the right course of action? We certainly can't require the replacement of all vulnerable hardware.
Great work. This is a nice flat map in a more traditional style but with a few improvements over the normal one: https://upload.wikimedia.org/wikipedia/commons/1/10/Sameboat...
I did not know about his license to take steroids - if this is true, it moves him from my "admire" category to "fu*cking bastards" category.
"The Olympics"

But where athletes don't have to risk their health and can safely do what they're going to do anyway.
Also they're better.
The two ends of Crossrail "met" in a big prebuilt cavern in Farringdon. Still impressive, but not quite on the level of joining up two tunnels under the sea.
1) seems like a language fault and not a compiler fault.

2) heavy optimisation is not "bloat".

3) "seems like bloat" is a too vague argument. Fine enough point about them supposedly not removing useless features.
To add to that, another article from NPR about Red Cross mismanagement after Hurricane Sandy: http://www.npr.org/2014/10/29/359365276/on-superstorm-sandy-...
I recently switched a project to Webpack and ended up do ing something very similar to run tests through Webpack and Mocha, since this project is isomorphic and leverages Bundles on both server and client.

require.context is a good way to bundle an entire directory, as NPM modules like "require-directory" won't work in client builds.
SQL is "trendy"?
No I am not trolling. The reason I know (more precise I think I know) that every new piece of information I learn is at the expense of something old, is that the old is not always lost without the metadata about the old being retained. I am often left with the memory of having once known something, but now lacking the actual knowledge. To give you an example I often come across plant species where I know I once knew the name (I can even often remember where I first learned its name), but I can now no longer tell you what it is. Basically I have memories of what my brain used to be like without it being like this anymore.
I think some people get so combative because their identity is wrapped up in being right. It's unfortunate, given our capacity to collaborate and build, that we still struggle with these scuffs.

I think if you want respectful discourse, it has to be part of the culture of the community; where behavior is enforced at a group level, more than an administrative or rule based.

There will always be a range of people involved, and even the best of people have bad days; coupled with the fact that most people usually mean well, I've found it's best to cut people some slack if you have the chance.
For better or worse, AMD dropped rings in x86-64.
Yep agree, also keep the database schema a little soft - i.e. tolerant of minor changes.

( an example for SQL databases of this is having an 'additional info' field/table which has no value for indexing but contains additional captured info.)
The High Bridge from Manhattan to the Bronx will reopen after 40 years
It's true that our service, as is, is not geared towards Japanese expatriates. There may be a large market there...

Do not hesitate to ask us anything about Tomotcha if you need more information about the service! Note that when you signup you can drop us an email to tell us that it's just for trial: you will be charged exactly once, and receive exactly one shipment. We should make a dedicated button to automate this process...
Yes, I really like that strategy, not done it myself as a little (not a lot!) complicated for a small company.
Probably better to support a platform agnostic solution rather than bolstering a manufacturer's specific option.
Add in timezones and you have a whole barrel full of monkeys to deal with. Especially if you have two integrated systems with databases in different timezone formats. Trying to teach computers how to interpret time the way we do intuitively is a peanut butter sandwich experiment. Tedious, frustrating, error prone, and messy.
I think it's possible to know that you forgot something. You can remember the title of a song, but the lyrics/details are deleted and replaced with a much shorter "memory was deleted to free space" message :-)
I guess it only makes sense if you are already using protobuf everywhere else in your stack. Specially if you are leveraging GRPC[0] which is already profobuf over HTTP. The network tab problem could be solved by an extension, or browsers could offer the tools built-in if there were to become a trend.

[0] http://www.grpc.io/
Good point, it really is quite staggering what a C++ compiler has to digest to compile a standard "Hello, World!". Hopefully the much-anticipated module system will help here. Generally I find that avoiding Boost libraries (including std::regex) helps enormously ;)
Wow all that and I forgot the screenshot. https://i.imgur.com/YOVcyl4.pngn
This is really neat. How effective would this be on more text-based sites?