skysight-inc/HackerNews huggingface dataset:
So, you build a web app and it gets popular. It needs one load balancer, 5 app servers, at least two database nodes for replication, a redis cluster for caching and queuing, an elasticsearch cluster for full text search, and a cluster of job worker servers to do async stuff like processing images, etc.

In the ancient past, like when I'm from, you'd write up a few different bash scripts to help you provision each server type. But setting this all up, you'd still have to run around and create 20 servers and provision them into one of 5 different types, etc.

Then there's chef/puppet, which takes your bash script and makes it a little more maintainable. But there are still issues: huge divide between dev/prod environments, and adding 5 new nodes ASAP is still tedious.

Now you have cloud and container orchestration. Containers are like the git repos of the server world. You build a container to run each of your apps (nginx, redis, etc), configure each once (like coding and committing), and then they work identically on dev and prod after you launch them (you can clone/pull onto hardware). And what's more, since a container image is pre-built, it launches on metal in a matter of seconds, not minutes. All the apt-get install crap was done at image build time, not container launch time.

Things are a lot easier now, but you still have a problem. You're scaling to 30, maybe 50 different servers running 6 or 7 different services. More and more you want to treat your hardware as a generic compute cloud, but you can't escape that, even with docker, your servers have identities and personalities. You still need to sit and think about which of your 50 servers to launch a container on, and make sure it's under the correct load balancer, etc.

That's where Kubernetes steps in; it's a level of abstraction higher than docker, and works at the cluster level. You define services around your docker containers, and let Kubernetes initialize the hardware, and abstract it away into a giant compute cloud, and then all you have to do is tell kubernetes to scale a certain service up and down, and it automatically figures out which servers to take the action on and modifies your load balancer for that service accordingly.

At the scale of "a few servers", Kubernetes doesn't help much. At the scale of dozens or hundreds, it definitely does. "Orchestration" isn't just a buzzword, it's the correct term here; all those containers and services and pieces of hardware DO need to be wrangled. In the past it was a full time sysadmin job, now it's just a Kubernetes or Fleet config file.

Disclosure: I'm currently writing a book on Docker. Disclaimer: I have not had my coffee yet.

Edit: Since someone asked, I'm writing a book called "Complete Docker" which will be published by Apress. I don't know the exact pub date that Apress will launch it on, but I expect it'll be available in October.
I think a lot of hardware companies are still in the "smart" transition phase. In the sense that they've only been offering a product line with GUI driven software component for the past ~5 years.

Which means the larger companies* are probably on schedule for development to start slowing because of technical debt. And therefore solving that (modern development practices and open source involvement!) will become a competive advantage.

* Sadly, the smaller companies will probably always be hacked-together-MVP stacks on top of whatever release they started dev on
> they can easily consult on the side, as well, which is totally okay in academia (unlike most employees at companies).

It is very rare to be outright prohibited from consulting on the side as an employee. I currently do exactly that (work for a company that sells consultants and developers to its clients on contract) and we are only prohibited from doing the same on the side if it is a conflict of interest. I've never heard of someone going to their supervisor with a lead and being told they could not pursue it.
this article gives a view from the gender aspect of korean workplace culture: http://www.economist.com/news/asia/21700461-conservative-wor...
I would rather see Europe monetize their own tech instead of some US company.
Any sources?

And no, it's not mutually exclusive. In principle, it should be possible to enforce regulatory constraints in hardware. But then I guess you can forget about taking this hardware to another country, unless they make this hardware as smart (read: complex) as drivers currently are.
Every programming language sucks when you're bad at using it. This is the only and universal truth.

Same for JS.
I'm not sure if I would consider Paul Graham -- a man who largely makes his living by mentoring engineers who get "bought" -- and a terribly reliable source on this. Of course he thinks buying startups is a good way to beat the death spiral since he's in the business of producing startups.

And even if we accept that it is a good strategy, all it did for Yahoo was lease a few engineers for a year after their startup was purchased, only to have them leave a year later to do another startup. Either that or struggle to integrate a bunch of disparate teams that you purchased based on the product they made, rather than how they might best serve your mission.
The 2.9 git install from homebrew prompted me for keychain access and then just "worked", this morning. My first time using brew git. So you may want to give it a whirl.
I've gotten into elm recently coming from Clojurescript and reagent (re-frame to be exact).

I didn't think I needed types, until I tried Elm, now I am seriously having an identity crisis..

All my backend Python code is also riddled with type hints to help out with the cognitive load.

Elm - Simple, friendly, helpful

Just wish Elm was more mature, but loving it anyway!
The work on desktop Windows and Linux integration is mainly for developer experience and making Windows attractive for non .net devs. Doubtful that it'll have an impact on Azure unless it becomes extremely mature quickly or if that was MS's intentions at all.

I'm ignorant on why Joyent is so superior to Azure. Can you give some reasons? As an outsider, Joyent looks like a small company with unproven (large, successful customers are the main criteria) products that cost more than the comparable solution from AWS, GC, Azure.
PHP has always had this hyper productivity about it. You just made a change in your editor, saved the file, and refreshed your browser for rapid feedback. It's always been like that.

It's also stateless - less rope to hang yourself with.

Many web programming environments started with the same simple CGI model, but eventually moved away chasing performance (for the computer), and leaving behind rapid feedback during development time.

hyperdev.com is nice, but it's still way more complicated than a single file PHP app.
Thanks - yes the 'serverless' name isn't great, especially without the clarification of 'server-application-less', which was one of the drivers to me writing the article. I'm not in love with FaaS as a name (yet another AAS), but it's certainly more descriptive than serverless.
Thanks! That could actually be my next step.
Honest question/not trolling: How often do you style personal/non-business/marketing emails?
If you're doing it as a job, though, you probably end up having to work on a lot of legacy codebases with the old issues.
Definitely interesting for us, yes. How would you implement it as an open system? I can see how they use it but one has to put a mechanism that you have to contribute in order to use it to get traction. And how would you ensure quality?
A bad workman always blames his tools...
> You're not paying all people more, just some of them. The rest get to enjoy rising prices for good housing and luxuries that they won't be able to afford with their local pay.

Correct, gains are never distributed equally. This has been tried and failed. You can keep everyone poor or allow some to accumulate wealth.

In regards to modern technology not benefiting poor countries, please note that more people in Africa have a mobile phone than access to electricity [0]. Across the seven countries surveyed, roughly two-thirds or more say they own a cell phone. Ownership is especially high in South Africa and Nigeria, where about nine-in-ten have a cell phone [1]. I think you're understating the positive impact western technology is having on transforming the lives of poor Africans.

[0] http://www.cnn.com/2012/10/04/tech/mobile/africa-mobile-opin...

[1] http://www.pewglobal.org/2015/04/15/cell-phones-in-africa-co...
Unfortunately, the issues aren't with "new" PHP, it's with the mountains of "old" PHP code that invariably finds its way into your project.

Also, having had to maintain a Wordpress site the past few months, may God have mercy on all daily Wordpress devs. I truly admire your stalwartness now in putting up with that.
I've been doing primary PHP for almost ten years and people honestly just throw money at me to solve their problems. I really don't know how I make as much as I do; I hit the point where I made more than my parents combined a few years back and that made for a strange reflection point in my life.

Basically for all the decent PHP developers I've known in my life money has never been an issue.
Zurich attractive? - I though it might be Google hedging its bets in the event of Brexit.

Though Cranfield CIT and half way between Oxford and Cambridge woudl have been another good choice. - they could even have taken RAF Twinwoods over as a site for a DC as it has a direct link to the Grid.
I think this is like learning styles, different people need different communication methods.
That sounds like more a company/environment issue than an issue with either language.
Ah, that's a good point. For the major U.S. providers, sending a text to an international number isn't any different than sending a domestic one.

However, sending a text message internationally — when I'm traveling to another country — is totally different and the rate is insane: $0.25/$0.50 per SMS/MMS sent. So they essentially force you to buy a special 30-day international texting bundle to be able to keep in touch with your friends back home.

The rates for data abroad from U.S. carriers are even worse: $60 for 300MB. I'm anxiously awaiting a "Whatsapp for cell data" style plan. How do you handle that?
I was playing around with this idea at Abbreviated Press. http://abbr.press - Pet project because I was sick of reading long articles, and just wanted bulleted format as well.
> and that this was a "false flag" against the Clinton campaign

> If this were fake, you'd think it would be more damaging.

Why would you think it'd be more damaging if it were fake? If you're going to hack yourself to gain pity, you would obviously only release documents that didn't significantly damage your campaign.
Every hurdle vs. proper security has been non-technical. Slowly making progress :-)
That's a pretty useless truth, who doesn't know that?

Many languages (like Go or Clojure) require you to learn quite a few concepts and exercise your mind in general. This automatically filters out incompetent programmers, and puts the rest in the right mindset.
The author's biggest mistake wasn't betting on PHP, it was betting on a single language. He should have learned more languages a long time ago, just to expand his set of tools, and maybe way of thinking.

Besides, learning a new language is fun and not that hard... They are all pretty much the same...
Never saw it as "lede". Thanks for my new thing of the morning!

Wiki: "In journalism, lede is an alternative spelling for lead paragraph."
The thing that hurts PHP the most is lack of structure and patterns used in the most popular projects. These popular projects are usually where the bulk of work lies, where developers point to when they're considering PHP. When juniors start they're typically working on WordPress or Drupal. The problem is that WordPress and Drupal are terrible guides of how to write a web app and that knowledge is completely useless when you go to write something in an actual framework. I was expecting a lot with Drupal 8 but I decided against using it entirely after reviewing the codebase and testing it out, 7 is in no way compatible with 8 and you have to start over.

When you step outside these mini ecosystems and look at PHP as a vanilla tool to work or to use a proper micro/full framework you start to question why use PHP at all? One possibly acceptable framework, in my opinion, is Laravel. The problem is PHP outside of these mini ecosystems isn't nearly as popular. It looks like people migrate to an entire new language like Python, Ruby, Node, etc. If we're talking about sheer people hiring Ruby, Node and Python typically trump PHP every time and are using frameworks - not Drupal or WordPress. Granted there are custom PHP apps out there and some very good ones but they're not the norm.

I switched full-time to Python using Flask and Django. It's like a breath of fresh air. My 2 cents is if you're on the fence, figure out how to work on one project using this new language full-time. Then you can make a better decision.
So true. Went through this myself at my last company.
Facebook is using his own PHP, optimized as fuck, so...
Tell us what they should have used ? :D
Report: Chinese hackers target Dutch-German defense company
Sounds like a great use case of React Native where RN is specifically used for what it is designed for: the UI layer. I've done apps with both approaches (all RN or UI-only RN), and I'd love to read or see more about your approach.
PHP is a toy language that's now being used in some reasonably grownup ways.

I've built a static analysis tool for it, and it sort of feels like writing a CAD tool for lego bricks.
It would be really cool to have an Elm type language on the backend. Elm feels like a lighter, friendlier version of Haskell.
How being a scientist prepared me for the startup life
Crazy looking tank:
http://www.rheinmetall-defence.com/en/rheinmetall_defence/pu...
From hacker news stories I've now seen that FBI has shell company planes flying over major cities, cameras on the utility poles and wants root un-encrypted access to our phones. Scary.
Generate beautiful color palettes and gradients
I run a shop that sometimes works on PHP projects. It's true that the reputation of the language causes issues.

It's hard to hire, people who are competent software engineers don't want to work for a PHP shop - because of the reputation - and people who are willing to work with PHP are often people who can't write good quality software.

It's not that good/great software can't be written in PHP it's that over the years it has gotten a reputation as a terrible language due to the propagation of bad coding practices and some quirks of the languages that haven't been true for 8+ years but people associate with PHP still.
As others have pointed out, most CCTV in the UK is private, and very little of it is networked, so they are rarely accessed.

Even so, if you capture the public (you run a shop or other venue that invites the public in, or you have a camera capturing areas beyond your property), you need to label your cameras, and you will be subject to the Data Protection Act (and in a wider context, this is an implementation of the EU Data Protection Directive, so similar laws apply in all EU countries, though details may vary).

This means that you need to regularly assess whether there is an objective need for the camera, and register your data controller with the Information Commissioners Office. You'll need to have clear procedures for how you handle the data to ensure compliance. You need to ensure the data is stored securely.

You need to ensure the public can't see monitors showing the camera feeds unless the cameras are placed in public in the immediate vincinity (e.g. store cameras with visible monitors are fine; visible monitors with camera feeds from elsewhere is not without ensuring people are not recognisable)

You also need to deal with Subject Access Requests - basically anyone can file a request with you to obtain copies of footage of themselves, with minor restrictions, within 40 days, and charging no more than 10 pounds.

Public authorities are further subject to Freedom of Information requests.

And you need to ensure retention is as short as possible for your intended use.

So while we're filmed a lot, there are lots of safeguards and a lot of the restrictions are aimed at making it beneficial to retain as little as possible for as short as possible (e.g. if you only have a 24h loop you save yourself the hassle of anyone filing a subject access notice more than 24h after they believe they were filmed)

Doesn't mean I like it, but most of the time when the high amount of UK CCTV is brought up, people have a very skewed idea of the actual impact it has because it seems people have this idea of widespread networked government monitored cameras, while most of them are only rarely ever looked after a crime has occurred.
> the theory shows that the decay have to be polynomial

I thought this was the other way around: the theory predicts exact exponential decay, but experiments aren't entirely clear that that is always the case. Depending on which textbook or paper you read, some say the deviations from exact exponential decay are just experimental error, while others say they are evidence of additional effects that the exponential decay law does not account for.
Yeah Chromium is a mess. To get and build the source you first have get the special tool set they use from their git repo.
Many times with businesses they just ask nicely, and to maintain good relationships they just hand it over (because they are not the topic of the investigation.)

The thing is, they mostly dont keep months of footage, its too expensive to store that much.
What would they use instead?
My parents were immigrants in Zurich and I lived there the first decade of my life. I can confirm what OP said, it's a very expensive city and people are really cold and lonely.
Wouldnt you have gotten unexpected 2fa notifications if that were the case?
Source on that? Never heard anyone claim the numbers on these motors were fake before.
I left PHP for C# and JS. I've been burnt so many times from the tacky standard library it's not even funny. Coding php in a large application is both boring and hard. XDebug barely works and is hard to set up.

Still, PHP is so goddamn cheap it's not even funny. But I recognize everything the author is describing.
"There are only two kinds of languages: the ones people complain about and the ones nobody uses" -- Bjarne Stroustrup
ASP ? dude really ?

PHP get in your way only when your starting.
You never make these "bad language mistakes" once you're experimented. And then you can write really clean code.

ASP, however, makes me vomit everytime I read a single line.
COBOL is more readable !
NAG Optimized Libraries for Cavium ThunderX Show Excellent Scaling
He's not blaming his tools, he's blaming the perception PHP has...
I wonder what words you'd use to describe an average university, seeing as you use 'VEEERY poor' for one that's apparently rank 80ish (out of the thousands if not tens of thousands that exist).
Many of the points made in the article boil down to React Native still being a relatively new framework, and the team and community behind it iterating very quickly.

Sure there will be growing pains starting out, but the benefits that are coming from this new direction are, in my opinion, worth all the effort. I've written several apps utilizing React Native now, and love the efficiency boost it gives me.
As a StartSSL customer, I've just had the email in my inbox telling me all about this.

I know people don't like them, but before LetsEncrypt, StartSSL were one of the few providers of basic certs that were free. All I needed for my home setup was a cert for my Exchange server, and they've been providing me one for about 5 years now, and I've never had a problem, and every client trusted it[1]. Granted, their website is a bit weird, but once you work it out, it's fairly easy to renew a free cert.

Obviously, next renewal I'll be jumping ship to LetsEncrypt (now that the ACME clients for Windows have matured), so I am left struggling to see what benefit StartEcrypt has over LetsEncrypt.

--

[1] Coincidently, BB10 on Blackberrys does not trust the CA chain for LetsEncrypt certs, and it's unlikely Blackberry will ever fix this.
I understand that the negative pressure can have a long term effect. Personally that has never gotten to me and it's sad for the author that they have been slowly worn down over time to a breaking point.

I totally agree with "But, you should definitely learn more languages as a programmer." In my current position I led a ground up build in Python/Django after 10 years of personally using PHP. I learned so much that I wanted to bring back to the PHP stack, only to find that the PHP community is already working on those things. It's really fun to see the parallels.

I am a strong believer in coding fundamentals and try to preach language agnosticism to my team. Yes there is often a right tool for the job, but in many cases the major platforms will be able to achieve the problem at hand – at least for typical problems.
There was recently an episode of Planet Money about one instance of it:

http://www.npr.org/sections/money/2016/06/10/481597112/episo...
Someone should make an app, crowdsource the effort to locate the cameras.
It's also a false contrast. 97% of prosecutions in the US are resolved by plea bargain.
Each country will probably have their own highly religious areas. Many bible belts!

For the UK just look at Northern Ireland.
The correct term is spot instance. On-demand would be a normal instance because it launches immediately but is more expensive.
"who doesn't know that?"
OP ?
Reminds me of that scene from The Simpsons [1].

[1] https://www.youtube.com/results?search_query=the+simpsons+je...
I don't want Sakaguchi to die!
Here is a high-level summary...

After studying over 180 google teams they didn't find any evidence that the composition of the teams mattered (i.e. friends outside of work, male/female, introverts, extroverts, intelligence). Instead what they focused on were the “group norms” or unwritten rules of how the groups interacted with each other. There were two norms that were most important to a successful group.

1) Members spoke in roughly the same proportion, what the researchers call, ‘‘equality in distribution of conversational turn-taking.’’

2) Members all had “average social sensitivity”. They could understand how other team members felt based on non-verbal queues. The underperforming teams had low sensitivity amongst the team members.
... until you try to switch paradigms (e.g. to Lisp, Erlang or Haskell).

I agree that learning new languages is very useful. But as analogies go, going from PHP to another imperative language is more like switching dialects than learning a foreign language.
Dude, enough already. You've been spamming every thread that barely touches anything Swiss+jobs with your top 8 list and placement offers for a long time now. Please stop.
Eighth Circuit holds that accessing credit card magnetic stripe is not a search
I used to like Laravel, but lately it feels so enterprisy. There is a lot of boilerplate in Laravel today and it was changing too fast for me to keep up with it.
It's not too hard because it applies to the whole project.
asp.net =/= asp "classic".
Maybe he will work on Amazon's newest project : Nucleus :)
'git' is the name of the command line interface. the VCS is technically called "git's monster"
Are you sure you're not confusing "Classic" ASP with ASP.Net?

There's nothing unreadable about .Net.
Just curious - have you ever tried qcustomplot?
How 2.5D Sorting Works in River City Ransom: Underground