skysight-inc/HackerNews huggingface dataset:
> With all of this talk about docker, Kubernetes and the rest I feel peer pressured into ditching my monolithic heroku rails app and switching to the distributed services heaven that docker seems too advertise.

I successfully run lots of Docker microservices in production, and I strongly advise you to keep your app on Heroku as long as you can. :-)

Microservices make sense in two circumstances:

1. You have multiple teams of developers, and you want them to have different release cycles and loosely-coupled APIs. In this case, you can let each team have a microservice.

2. There's a module in your app which is self-contained and naturally isolated, with a stable API. You could always just make this a separate Heroku app with its own REST API.

But in general, microservices add complexity and make it harder to do certain kinds of refactorings. You can make them work, if you know what you're doing. For example, ECS +RDS+ALBs is halfway civilized, especially if you manage the configuration with Terraform, and set up a CI server to build Docker images and run tests. But it's still a lot more complex than a single, well-refactored app on Heroku.
If you're a startup, then I'd look at the growth you're expecting. Containers scale well, and when you're big, maintaining multiple heroku apps eats into developer time that can be better spent somewhere else.

Of course, if you've just started, and are getting an MVP out the door, don't worry about docker just yet. And also don't listen to the microservices people. It'll be like putting the cart before the horse.
Freemium applications. That feels a tad surreal.
As they benefit from the largely immune population they endanger and munch of their drought-resistant corn.
> distributed services heaven

"The grass is always greener on the other side"

There are plenty of upsides to the distributed approach. But there are downsides to distributed too which don't get discussed as much. Things like communication between nodes, fault tolerance, monitoring and handling failure. Same case with having many microservices. Also this stuff becomes time consuming if you are a solo dev / small dev team.

IMO one approach isn't better than the other for all cases. Maybe I'm a bit of a laggard here, but I still like Heroku and believe in just doing enough infrastructure to support where your app is / is going in the near future.
No. Making it look imperative and being abstracted away are two different things.

Co-routines are not imperative, and you cannot treat them as though they are, you still have to understand they're async to use them at all. That is not "abstracted away", that is syntactic sugar.

Furthermore, this syntactic sugar only works locally when examining your coroutines, or promises, or asyc/await code. You still have to trigger that async code from somewhere, and the place it's triggered is always mixing sync and async code, so you can't sugar coat all of it.

There is no getting around knowing and thinking about the async factors when writing async code. You cannot hide it with coroutines or anything else.
CMake is the usual choice of developers who don't want to deal with autotools these days. Making people learn yet another build system is not going to be popular.
J. Edgar Hoover.
Best short discussion I've seen on "ends justify the means": https://strongfemaleprotagonist.com/issue-6/page-112-2/
A similar situation: Jason Grishkoff built and grew his music submission site SubmitHub[1] "on the back of" his popular music blog Indie Shuffle. People said it therefore must have been easy, but that's not actually the case. He spent 4 backbreaking months sending over 1000 personalized emails to sign up the initial collaborators he needed to make the SubmitHub marketplace possible. The moral of the story is to be wary of succumbing to availability bias[2] and underestimating the work that goes on behind the scenes.

The other lesson is, as Pud said in reply to you, always be parlaying. Spending years building up an audience that you can market to might sound like "cheating" to those of us without such an audience... but then again, spending years acquiring programming skills before starting an online business might sound like "cheating" to non-developers. In reality, it's simply a smart idea, no more and no less, to leverage existing advantages like a unique skillset, valuable knowledge, an audiences, personal connections, etc.

Specifically, building an audience is a great precursor to launching an online business. Growth is hard, and starting from zero makes it harder. And anyone can build an audience! I recommend checking out Ben Gelsey's analysis of Product Hunt's rise.[3]

[1] https://www.indiehackers.com/businesses/submithub

[2] http://www.businessdictionary.com/definition/availability-bi...

[3] https://medium.com/@theunixbeard/product-hunt-s-rise-d49249a...
$ python -m timeit 'float(5)'
10000000 loops, best of 3: 0.0776 usec per loop

$ python -m timeit '5.0'
100000000 loops, best of 3: 0.00719 usec per loop
Jim's.
This is awesome, write a beat and then write code listening to it, kinda wish it also had an offline version
Is it possible to take legal action against Nugget in this situation?
Be sure to also read all the stories of healthy, active teenage girls who after getting the Gardisil shot had their health severely decline. Then read story after story of these same girls (all over the world) being told all their symptoms were made up and that they needed to see therapists instead of medical doctors. This type of behavior is why more and more people are questioning vaccines and their safety. The medical community acts as though vaccines have 0 side effects, even though the drugs clearly state they have side effects. I have read countless stories of parents whose child experience severe reactions right after vaccination and then the pediatrician or ER doctor never even thinks to consider that maybe the vaccine caused the problem.

I have a sister in law who when she was a young girl got a vaccination and then within 24 hours was unable to walk for several days, basically paralyzed. This caused her mother, who is an ER doctor, to delay vaccinations for her younger siblings.

I just wish the vaccine establishment would just be honest and admit that some children have to suffer or even die for the benefit of the "herd".
Those same individuals have warped, sheltered, and idealistic views/ideas. Just a thought, and as coming from someone that outright rejects a multitude of "ideas" from such "educated elites", have you considered that we actually "don't want" or "don't like" the ideas that they put forward? Some of them have natural consequences that we don't like, and some are based on premises we find incorrect.

Edit. Grammar.
Show HN: MetaList – Machine learning-assisted market research
> I disagree. Tor/Firefox do indeed have significantly worse security (right now), but that can be mostly mitigated by using easy-to-use third-party sandboxing tools (Sandboxie, Firejail, a VM).

Now that they have moved to multi-process Firefox, they can finally start sandboxing everything. There are already plans in place to start reusing Chrome's sandboxes profiles.

> I don't think there's a way to "easily" make "Chrome over Tor" anonymous and private...

You literally have to fork the browser, they won't maintain the internal APIs required by the Tor team. Hell, they refuse to respect basic SOCKS5 proxy settings [0].

[0]: https://trac.torproject.org/projects/tor/wiki/doc/ImportantG...
Like so much of The Wire, that's exaggerated for dramatic effect. And I'm Mississippi born and raised, in any case. But I do dearly love this town, and I don't expect or intend ever to leave for good.
Hi Tony- My name is Darius, PM on the Flurry team. Spoke with the Flickr team and they will follow up.
Onboard video of ISRO deploying over 100 satellite yesterday
Dalai Lama is fake news.
It's not about being lazy, it's about being efficient!
Yup, they have the userbase already. Also, they disrupted the incumbents by being an order of magnitude cheaper (or cheaper than that, based on how many songs you're selling) than their competitors, which helped their userbase grow.

It's hard to imagine a new competitor being able to compete with DistroKid on price at all, considering how cheap they are. An order of magnitude cheaper is probably out of the question. And these numbers (for the larger clients) are peanuts on DistroKid anyways, so even if you could compete on price it might not matter for much of the market.
Do you guys remember when a few years ago Yahoo decided to make old, stale accounts up for grabs again? I lost my old Yahoo account which was forwarding mail to my main Google account. I haven't logged into it in ages. I could never re-register it or reset access to it after Yahoo killed it. And luckily i was able to move everything away from it, BUT it still forwards me mail. At some point I remember getting something that indicated that somebody's using it. I still can't believe this bonehead move on Yahoo's part.
Curing is logarithmic. News stories say they are using "concrete" today.

Main point is to make an appropriate effort. Seems not too bad today, and think the storm isn't huge.
Impeachment cannot happen quickly enough.
Check out the Autism history:

http://www.parents.com/health/autism/history-of-autism/

As a disorder, it's quite new, so it's quite natural that the increase of diagnoses increased in the past few decades.

Also, if I'm not mistaken, the research behind genetics of brain issues is quite straightforward. It's thanks to twins - we analyse occurrence in monozygotic and dizygotic twins. If there is far higher correlation of the disease in monozygotic compared to dizygotic, we know it's genetic.

http://theautismblog.seattlechildrens.org/twins-autism/

"Concordance in ASD diagnosis ... is observed in monozygotic (MZ) twin pairs at rates of 60-90%, whereas rates among dizygotic (DZ) twins are estimated at 3-31%."
Please search before jumping to conclusions: https://en.wikipedia.org/wiki/ObjectVision

:)
"artist pay $20 per year" ... "100,000+ artists"
In this cases, shouldn't the discussion be purely about the technical merits of the idea, rather than emotions of the people speaking about it? I would count removing unneeded emotions from the conversation as a positive thing.
Hell, all you need to know that is to read Frank Rich's bio and then watch Veep. You'll learn just as much, and laugh a lot more while you do it.
What country is this in? I've never heard of an exclusivity clause from US tech recruiters.
Does DistroKid track the usage/consumption details of the songs for artists to look at or analyze? If so, what is the probability that they will expand to also have a recommendation system for indie music based on these aggregated stats?
> That reads like the introduction to something that could be good. But the meat isn't there yet. Maybe he needs to write a book.

I think the essay is meant to be a thought provoking piece, not a how-to guide.

"My goal in writing these essays is not because I know the solutions to some of the most complex problems that we face — I don’t — but because I think that we need to start thinking about these puzzles sideways, upside down, and from non-Euclidean spaces"
I think it's the Self-Driving Car Engineer Nanodegree: https://www.udacity.com/course/self-driving-car-engineer-nan...
I can't disagree with you more strongly. Async/await and promises both take control flow complexity, of which callback hell is a symptom, and sweep them under the rug.

Whereas before you had a clear (if convoluted and in need of refactoring) control flow, now with async/promises you shove it all into an invisible state machine, with transient data structures that are either hard to inspect (promises) or totally inscrutable (async/await).

No thanks. I like callbacks.

Here's my test: can you reason about what a function might do with control flow just by looking at its call site, not its source code? With callbacks you can. With async/await you can't.
Daily chart: Young people and free speech
Talked to someone who wanted to work at one of the big megacorps as a software engineer, asked for advice to pass the interview. I asked them if they could implement quicksort. They said maybe, but they didn't really want to study algorithms. I guess they really didn't want the job after all.
Great article! I just made a point to get caught up Docker and related elements of the containerization world.

Mesosphere looks like it works similar to Nanobox (http://nanobox.io)
Mesosphere official github repo: "we aren’t planning on updating the old UI further"

Jaaron: "The _UI_ is going to stall out a bit, but its just the UI."

My options are:

a) running latest marathon backend without the user interface

b) running latest marathon backend and clone/maintain the user interface

c) migrate the whole thing to enterprise DC/OS (since I need authentication)

d) migrate to K8s

I view the lack of option "(e) keep using marathon-the-product as it is now", as a breach of trust, so (c) is off the table (whereas, before, it was my expected endpoint). YMMV.
"This is true and a good manager is worth more than many bad engineers." --Might be more correct
Thanks for the link! pghero and chartkick look very useful!
Previous discussion:

https://news.ycombinator.com/item?id=13645825
I've been using HN daily for about 8 years. There are about 5 usernames I recognize because I'm wowed by their knowledgable responses. Then there are about 5 usernames I recognize because I go wow, that guy is always an argumentative abrasive jerk. Yours is one of the 5 in the second category. Your need to include the Mencken quote is a small example of what pushes you down into that category. Perhaps the reason you find it difficult to make friends in the real world isn't race, class, segregation, or language, but personality. People who lead with positivity, and the expectation that will be able to make friends probably do a lot better at it.
My 4 years old son is mildly autistic. He is doing well, attending a regular school and learning to interact with people.

I first suspected he was different because he didn't locked eyes with my wife when she was breastfeeding (I have 3 older kids to compare). He learned to walk in time, but he was not pointing to the things he wanted (instead used to grab me by the arm and use it like a tool), and he was unwilling to look at something we were pointing like a neurotipical kid does. I saw many other signs, but my wife was always in denial until he was 2.5 and I showed her some videos of autistic behavior on Youtube.

Long story short, it almost ruined my marriage (my wife felt like I was torturing her by sending her material about autism). I don't know why I knew more about autism than the pediatrician, but the subject always interested me.

My advice is: if you are suspicious, get your son diagnosed by a specialized neuropediatrician (do not waste time with someone who is not well prepared to diagnose autism).
I'm sorry but there's no way I would give into this invasive search protocol as a citizen.

Even if a judge rules that the 4th amendment is not violated (good luck holding that up), then the 5th amendment surely could be invoked. Seeing as you're not being charged with any specific crime, if any data found on your device is construed as being an infraction of some law then giving your passcode would have been self incrimination.
Can I ask you why you are against deporting illegal immigrants?

The illegal immigrants obviously understood it was a risk when they came, and any country is entitled to enforce its border security.

Practically every single other country in the world heavily enforces its border, and will also deport illegal immigrants.

And deporting illegal immigrants doesn't bar you from trying again to enter as a legal immigrant.
Netflix has a "no brilliant jerks" policy in the culture deck[1], which people are encouraged to read when applying to work here. The policy works great. Just because some brilliant people are jerks doesn't mean all are.

http://www.slideshare.net/reed2001/culture-1798664/35-Brilli...
Migrating Large News and Magazine Websites to SSL
And the big win is that it's quite possible to go from "asshole" to "amicable." It's less likely someone goes from "mediocre" to "brilliant." A good manager can go a long way in coaching you professionally, but they can't raise your IQ.
Diplomacy is not always necessary to get productivity.

Tip-toeing around the issue can make things much worse.

It is much easier to say, "Stop. That's stupid, try again."

Than to try and cherrypick what they've done right, because often times, there isn't anything useful there.

Considering that Gates, Jobs, and Torvalds all have stories where they tell someone what they're doing is stupid, and actually get a decent product out at the end of the day, it doesn't seem like diplomacy is necessary at all.
The most damning condemnation of Wakefield's "research" isn't even his own retraction of it. It's the number of his "subjects" (N=12, remember) that have come out and said he outright fabricated his data, as regards their child.

When a double-digit percentage fraction of the subjects in your "seminal" work cry foul about that work, you either have to give up that story, or admit that you're just making shit up.
802.11? My son was able to log onto the WiFi on a bus when I was driving next to it.
> "Adding blank lines means two steps from different defines will not end up on the same line."

Do I even want to know why this is the case?
I dunno, I've never seen a readable Makefile in any system above say 300 files. If you could write readable declarative Makefiles getting the job done, would there be autotools? This is not to say that autotools get the job done beautifully, just that their existence demonstrates how the problem gets us all contort violently to terrible effect like a wounded animal screaming and running into trees.

I admit that I despise make and maybe I don't get the beauty (I get the beauty of the idea but I've never seen it result in actual beautiful Makefiles), and maybe if you linked to what you consider a good open source Makefile, we could discuss this in more concrete terms.
Well we're screwed, then, because it's turtles all the way down: https://en.wikipedia.org/wiki/Intel#Origins
Need feedback: Web Application that verifies any drug
I'm thinking about an idea for a web application & I wanted your advice. Here's what it does:

Users can search, find & verify details of any genuine drug by scanning the barcode, qrcode or verification number through the app. It then gives you instant feedback.

What do you think ? Is it feasible ? Would you buy a product like this ?
Perferably (Ordered by percived difficulty):

- Prefer songs from most liked genera/artist/album
- Favor liked song/genera/artist/album & avoid consistantly disliked song/genera/artist/album.
- If a specific song/genera/artist/album is liked more at a specific time, play it more often at that time.
- If a song is being played and specific song/genera/artist/album is always liked when it follows this song then favor those.
- If you are playing a song and there is a song that is always liked when it follows this song favor that song when choosing the next song.

Possibly (if I decide to devote my life to making a music recommending engine):

- Corelate GPS location with song choices
- Corelate weather/humidity/tempature/month with song choices
- Do NLP sentiment analysis to score all of the songs on an emotional-tone scale to help group them well.
- Do some DSP on all of the audio to generate a intro and outro beat/rythm profile and attempt to best match the song that will lead to a good enterance/exit.

edit: fixed formatting.
Sometimes yes, but there is the question of budget. If that was a project or contracting work, and the client can be sold 6 people, then it looks like bigger work, and can be charged more. If you just put one brilliant dev to do it, the client might not be convinced that the job is as big as you tell him. Sometimes devs are put on projects just to "sit it trough", they are needed for the headcount.
This seems to be a pretty ubiquitous view nowadays, but neglects the possibility that some projects might go better with an individual contributor just getting on with it.
Admittedly I haven't used Delphi but his reminds me of learning to program with realBASIC (Xojo).

The book with the IDE was free and easy enough to comprehend and it introduced all the basics of OOP.

Great times. I wonder if lots of people have had this same experience with VB .NET
Now you are a bigot if you don't openly endorse and actively support all the various life-choices and decisions people make with their sexuality.

I really don't care about what sexuality or gender you identify as. It's completely irrelevant in working together as a team to build software.
Blame the worm: What causes nodding syndrome
Of all the things the world has to offer to be cynical about... this is your beef.
sorry for the late reply. nidwalden and zurich... there was not much difference between the process in the two cantons. we had a lawyer and an accountant help us in the beginning to get the hard-to-figure-out things during incorporation right. money well spent!
I'm not sure why you feel inclined to dismiss the analytical value of historians, doctors, economists, and scientists because they might take seriously the opinions of feminists and communists.

So, yeah. Let's forget that. Because it's juvenile and petty.

PS: You're talking to a feminist and communist. I'm not sure why you'd imagine I'd object as you do to the points you raise. I doubt you've ever read any communist or feminist literature, or that you'd care enough to understand it if you did.
Or, in the spirit of HN: texting while driving looks like an industry ripe for disruption.

You have my permission to use this as your next start-up idea.
He is a good marketer. Good marketers are always building audiences and brands. Turns out that the audience for a failed brand can support a new one. So what if he uses previous audiences? The question is: why aren't you? (unless you are happy to be an anonymous employee (which is totally ok)).
I am international myself and have seen international students cheating before. In one (really bad, no one cares) course that I took as an undergrad, everyone cheated. I was the only one who came to class and didn't cheat (or didn't know that you could cheat in that course). It was, perhaps not noble, but not rare for students (American + non-American) to pass on their exams to the next class and professors discuss how to deter that too.
> "... be usable as a single database for Google’s developers, who could care less about how a database or datastore is architected and implemented so long as it gets closer and closer to the SQL-based relational database that is the foundation of enterprise computing."

There's more than that worse with this quote. The whole thing is predicated on the concept that a "SQL-based relational database" is some sort of Platonic ideal of databases, and that all worthwhile databases must be an approximation of that ideal. This could hardly be farther from the truth -- there are plenty of successful NoSQL databases out there already, and one gets the sense that Spanner's SQL support is largely a compatibility layer on top of a very different underlying database.