skysight-inc/HackerNews huggingface dataset:
It would be much more interesting to see a TensorFlow program actually learn to solve FizzBuzz from examples, instead of hardcoding in the logic:

if i % 15 == 0: return np.array([0, 0, 0, 1])
elif i % 5 == 0: return np.array([0, 0, 1, 0])
elif i % 3 == 0: return np.array([0, 1, 0, 0])
else: return np.array([1, 0, 0, 0])
Yep, sorry. But I guess you are then changing people's code. Although in this case it is a relatively safe change.
With the assumptions that 1) boy/girl is always random but 50/50, and 2) people are choosing to have 1-10 kids ahead of time and going for it (that's how people plan their families, right?), girls do have very slightly more brothers than boys.

The notebook below shows a simulation of 50k towns of 100 families. It also holds for different max numbers of children and more families.

https://gist.github.com/rcarneva/7baac666bd65f487df73378a90c...
4 siblings... 2 boys, 2 girls... 50/50...

The girls each have 2 brothers...

The boys each have 1 brother.

6 siblings, 3/3... 8 siblings, 4/4... etc
Then let's dispel the myth of equal opportunity and "The American Dream" if you're suggesting the mere fact of being born into an affluent family is reason enough to deserve a competitive advantage.

The difference between someone completing their degree at 22 and 29 isn't hard work, it's money. But is this the optimal state of society? Would society be better off if everyone truly had an equal opportunity? Would we be better if the smartest, most driven among us actually had the means to achieve great things even if they weren't born into an affluent family?
Support isn't free but anybody can also sell support.
Facebook enables Continuous Live Video to power puppycams and more
The U.S. has some warts for sure, what utopia are you residing in? Thanks.
It's worth noting that Docker's current revenue models are a) hosting Docker images and b) orchestrating deployments and providing a dashboard/infrastructure to do so...both of which Google and Mesos are also doing and spending a considerable amount of resources on improving the container model.

It's also worth noting that unlike the JVM kerfuffle, Docker is open source (Apache license) and they won't be able to file multibillion lawsuits against Google over their use of Docker, which in this case may put Docker at a disadvantage.
And they'll probably own Netflix soon too.
Other good news for GitLab: Zach Holman just joined them as an advisor!

https://mobile.twitter.com/holman/status/734842346278244352
DHH: Only the best
This commit is hilarious. https://github.com/jmopr/job-hunter/commit/e31b36ea21946a2f2...
I've taken a parachute as carry-on multiple times... only been a problem once.
I don't know where I stand on this one. Museum Hack seems overly protective of their pretty generic name. T&L either employs a lazy designer or a vindictive writer. None of the offenses seem legal-worthy, so really it's just a morality thing. Right?

Final Verdict: Museum Hack by a hair! Since I'm nobody, you only get 5 points this round. I can't tell if ya'll are just going for publicity with this or you're just really attached to primary colors. Whatever though, it's business.
Design Patterns, Antipatterns and Refactoring Guide
+1 to learning Plug before Phoenix, too. Sometimes I feel like I have god mode activated when co-workers or friends are hung up on the connection life cycle or not sure how a piece of Phoenix works/scales. I'd add a basic understanding of OTP to that list as well.

Phoenix does do an excellent job of getting people to try Elixir, kind of like how Rails did for Ruby. Phoenix has also added a cool abstraction in Presence/CRDTs. Now that people don't have to implement that themselves I wonder if that will be as useful to people like how ORMs stormed onto the scenes in the early 2000s.
> Meanwhile, LC was alive in '08, and you can look at how their notes performed. Investors lost single digit percentages. In other words, they beat S&P by a lot.

Comparing performance of 2008 vintage loans with 2008 S&P may not be appropriate.

First the 2008 loans didn't completely pay off until 2011. Second, the loans issued during recession (2008) will perform better during recovery phase (2008 onward). Such borrowers are likely to be with stable credit worthiness due to tighter credit criteria by lenders during recession. Also, as borrowers' economic condition improve with recovery, they are more likely to continue making payments instead of defaulting.

The worst performance for unsecured loans is generally for loans that were issued to borrowers during boom time and as economy is headed toward recession (2005-2008). Any event that impacts borrowers capability to make payment will impact first unsecured loans, credit cards, etc.

Federal Reserve (FRED) has quite a bit of data on different type of debts and how they have performed over the years if you are interested in exploring this segment further. I find the debt/lending/fixed-income/bond market segment very fascinating. It is generally not explored in-depth by most people and very quant/maths heavy.
I am fine with supporting both, but if you are only going to do one - pick the way forward.

The more people that say "no python 2" the sooner it will die.

I don't know, python2vs3 thing is weird. Bet someone has a good book on it.
What changed in the licensing? .net is pretty permissive, and has been free for a few years now (with the express editions).
> And having empathy with people who aren't you helps a person not be an asshole, something I think you might benefit from considering.

Im not sure I understand this statement, I wasn't being unempathetic to anyone in my comment. I was saying I believe it is perfectly acceptable for a person to work through school for 10 years to help achieve a better life for themselves and family especially when their options are limited. I'm not trying to be confrontational, I just want to understand what you meant before I reply.
It brings YouTube into compliance with the DMCA, but it goes above and beyond. It automates only takedowns -- putting content back up is a process that must be manually done by a user. There's seemingly no human presence you can reach out to as an uploader. There's no way for a user to upload content and explicitly flag it as "I own this, if anyone claims copyright on it they're wrong" (see NASA having their own landing footage taken down by an overly-zealous Content ID match). There's no way for someone to upload a work as royalty-free or public domain (I've heard horror stories about that more than a handful of times).

Add to this YouTube's poor view of fair use (they've come under fire in the past for misrepresenting fair use in a copyright education video), and it's a recipe for disaster.
By assuming a starting family with equal numbers of males and females, you bias the result. You have to look at the distribution of all families. In families with similar numbers of boys and girls, the girls with have more brothers. But in families with significantly more of one gender, the boys will, on average, have many more brothers. When you combine all possible families of a given size, weighted by their likelihood, you find that males and females have the same number of brothers on average. (You can test this pretty easily with the n=1 and n=2 cases, and with a bit of work for the n=3 case.)
Alex Wellerstein just made a blog post which elaborates on how he knew it was melted down. Apparently the source is personal communication with Glenn McDuff, a retired scientist at Los Alamos.

http://blog.nuclearsecrecy.com/2016/05/23/the-blue-flash/
Java as a language is not a great thing (Elixir for instance is a thousand times better). But the JVM is just an engineering marvel.
Interesting. I've interviewed hundreds of people, and hired dozens of software engineers and similar positions, and I can't remember a single time a cover letter has made a difference. I rarely even read them.

That's not to say I endorse this spray and pray approach - just that the cover letter isn't really the issue for me.
> Some with over 100 models.

Very experienced developers can create a usable codebase in Rails with over 100 models, but it is highly unlikely to happen if someone in Rails' target audience uses it.
It's ten times better than entering your credentials on another website, but the code could still do some fun stuff with it. I kinda doubt it, but just saying.
Yes, but if I'm an enterprise support customer - I'd much rather buy support from the people who build the product.
Btc is cool because it requires nothing but the network. The moment you require counterparty (as is the case in the examples), you might as well let the counterparty control the 'logic' of the case as well.
Yes, but you will ALWAYS have that issue with software you build yourself. This is primarily why I maintain an in-house yum repository for anything that we use out of our distribution repositories, it takes a little more effort to build RPM's but it's worth it from a maintainability and security aspect (as I type this I'm working on a salt-based package management tool somewhat akin to Katello/Sattelite that I can use to manage upgrades that Puppet doesn't).
I first learned to program in VB6 when I was 14 in a high school class. I remember being so excited by programming that I flipped to the back of the book and trying to implement the advanced programming problems only a few weeks in. An explanation of Conway's Game of Life caught my eye, and I tried to implement it. Unfortunately, I hadn't yet learned about arrays or loops, so my implementation was just thousands of lines of if statements. It took me hours of copying-pasting and modifying just to get a 5x5 board working, and I remember balking when the book suggested trying to make a 50x50 or 100x100 board. It was at that point I realized all the content in the middle of the textbook might be worth looking at after all!
I agree that building your own images is the future. We want to make this as easy as possible. I think it is essential for security.
HBO and Showtime are both "pay TV" as well, you can't get either without paying a separate subscription fee on top of your basic cable package.
Ten Inventions That Inadvertently Transformed Warfare
If you're going to use the shared runners, I don't think that configuration is going to work. The build step will build it locally, and even though you named it to use the registry, it won't actually push to the registry automatically. By breaking up the push to another step, you're actually going to run that deploy stage on a fresh Digital Ocean instance, so your previously-built image will be lost.

That's why the example pushed the image right after the build step.

Having said that, if you're literally using that script, you don't even have tests, so you may as well just put both steps into a single build stage like the simplified example. :)

For now, you'll need the explicit `docker login` as well. We'll work to remove that.
It says that we live in a society where some kids watched Lethal Weapon and Die Hard, and worked hard to grow up and protect others from the bad things in this world. Bad things that you don't have to worry about because others stand to keep you safe.
1. Bring everything down?
2. Try to capture the error and recover?
3. Kill the crashed process and launch another one in its place?
For example, C uses approach 1. Most modern languages
with Exceptions like Java and Python use 2.

No, in Java and C the "let it crash" (aka the "failstop principle") is also used.
https://docs.google.com/spreadsheets/d/1h4Pfv3NAP2veoRC0DBJN...
An INSANE amount of Wall Street software (that moves billions, if not trillions of dollars of money) is build on Visual Basic.
It implies mindless cultism, which (when applied to someone else's view) is certainly name-calling.
> They should call this “private”, not “incognito”.

Heh, I agree, but the reason they didn't do that is most likely because then more people would be using it, because in reality most people want "private conversations". It's just that when it's not within their reach they give in to convenience. Google wants you give in to convenience and not use "Incognito" chats very often.

Also, calling it private would inevitable make more people think "wait - so what isn't labeled private, isn't actually private?!" And Google definitely doesn't want that to happen. They don't want even more people to start questioning what is actually private.

I also agree that "normal" conversations should be the private ones, and the others should be "AI-enhanced" or whatever. Conversations should be private by default. That's how they are in the real world, too. Google, Facebook, and the like want the opposite to be true in the digital world, because then they can analyze every word you say to increase their ad revenue, and also hand you over to the police when there's request for that data (secret [1], or otherwise).

[1] - https://blogs.microsoft.com/on-the-issues/2016/04/14/keeping...
Thanks for posting this. I encourage this crowd to to take a look at the methodology too: https://www.propublica.org/article/how-we-analyzed-the-compa...
No, "pay TV" means TV you have to pay extra (outside the cost of a basic cable package) to access. Usually this payment is made in the form of a monthly subscription fee. That category includes Netflix, but it also includes HBO, Showtime, Starz, etc.
The book is excellent, too. Quick read, but if it results in you negotiating a raise, you'll make, well... thousands, or tens of thousands, off of it.

I'd say download and read before jumping into your next TV show/videogame etc.
Which is to compare with the listing on this page : https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(nomi...

Edit: I'm not Dutch by the way
Sling[1] is the closest we can get right now. Eventually, channel subscriptions will be available through something like an App Store and just as easy to manage as an recurring subscription app.

[1] https://www.sling.com/
Exclusive releases are sickening. I wonder when creators will start releasing their films through all distributors evenly?
It was a good name, too.
I've tried several times to figure out how to get Docker working in a situation like mine. And we've been considering GitLab as well. So this is likely a good time to experiment.

Doing all the research on how to integrate Docker into my particular situation has been daunting. I really need to track down some online courses or something. The articles just aren't cutting it. Or need to find a mentor just to ask stupid questions to.
Absolutely. I actually upvoted #3[1] before coming here and seeing your comment.

[1] http://math.stackexchange.com/a/1794617/63267
Well you got to have a story arc for the players experience.
A short-term arc and in the long term story-arc of which the luck is just part.
Randomized positive/negative Events occur more often, the longer a arc is monotone.
I find postgres source code very interesting, e.g

https://github.com/postgres/postgres/tree/master/src/backend...

Sqlite is another good one to read, and play around with.
I completely agree with you, life isn't remotely fair. Some people, I'd say most people, have to work harder than others to achieve the same level of 'success'. Being that it's reasonable to expect people that want a higher level of success or quality of life, or whatever they are striving to achieve to work for it. This guy did what he had to do in order to achieve his goals, I'm not understanding why people have an issue with that?
Punishment is always considered somewhat separately from the determination of guilt. The judge would already try to account for things like this when determining your sentence. They just do it in a deeply ad hoc and personal manner, where they just take a stab at it, try to account for things like how sorry you seem to be, apply guidelines, and come up with a number. This means that you might ultimately be punished for the judge not having a good breakfast:

http://www.scientificamerican.com/article/lunchtime-leniency...

And of course it goes without saying that judges will be affected by their biases, racial and otherwise.

I'm not sure what to do about it, though. Handing down the exact same punishment for every single person who commits a particular crime seems too blind. But any variation is going to be problematic.
> If you're upset about exclusivity in this deal I don't understand.

I don't personally care a whole lot but it's not difficult at all to understand why. The fact that they weren't on any services earlier left the possibility open for them to come to an arbitrary amount of services. Given how ubiquitous streaming services are becoming, one could reasonably consider this somewhat inevitable. The announcement of the exclusivity deal has collapsed the possibility space so now it's certain that they won't be coming to the other services (for the lifetime of the deal).
Looks great. One thing that does not appear to be clear though is if you build multiple docker images from the same project.

Our deployment workflow at the moment builds two docker images, one for the web app and another for the background services. Both share the same code.

It would appear you can only have one docker image per project?
If I were a hiring manager, I would straight-out reject anybody who was using this, resume and candidate unseen (assuming I found out). If a person applies to 100 jobs at once, it's unlikely they're going to want my position and I'm better off spending my time talking to other people.
I mean in part teenagers when I say "kids".

I've found their selection to be really poor. As someone else said their back-catalogue for movies is wafer thin.
"Like Lisp, Julia represents its own code as a data structure of the language itself. Since code is represented by objects that can be created and manipulated from within the language, it is possible for a program to transform and generate its own code. This allows sophisticated code generation without extra build steps, and also allows true Lisp-style macros operating at the level of abstract syntax trees." (http://docs.julialang.org/en/stable/manual/metaprogramming/#...)

Doesn't this qualify? I may certainly be missing something in my understanding of what "homoiconic" means.
The TF program does learn to sovle FizzBuzz. The above code was used to generate data with which to train the network.
"Netflix will become the only place in the US that you can give money ($8/mo for streaming-only, for example) to see Disney, Marvel, Lucasfilm and Pixar films. Not Comcast, Not Starz, Not HBO. ONLY Netflix. Woo! Go us! (They may still appear for free on Disney-owned-ABC over-the-air stations, but don't count on it.)"
For those who don't know what rkt is, I am presuming that it is the App container runtime:
https://coreos.com/rkt/
https://github.com/coreos/rkt
My question is: does the ratio of famale-to-male matter? What if the chance of a girl was 60% and male was 40%? My intuition is that it wouldn't, but I'm not sure.
If the simple model is in exact equipoise then the more complex considerations become very important for answering the question. If the a model taking into account all the complexities was still in equipoise than it would come down to noise. It is very unlikely that of the roughly 7 billion people on the planet the women have exactly as many brothers as the men. There's an empirical answer here.
Cover's the book "Showstopper!" by G. Pascal Zachary.

"Showstopper!" is a weird book, but it should be read more, especially by Windows people. There's some problems with the accepted history of Windows NT vs what' in that book, for example. The book shows that TCP/IP networking was an afterthought at best. For an OS introduced in the early 90s, that one's hard to believe, but NT didn't have a network-transparent windowing system either. Also, the NT filesystem. NTFS is clearly a minor re-write of DEC's ODS-11 filesystem, that VMS used. Why does the book say NTFS was such hot stuff, and why was it so hard to get it coded? Zachary also seems to have missed out on the Mica/NT code copying thing (http://windowsitpro.com/windows-client/death-alpha-nt), too, so maybe the book is near rubbish.
Neural nets may be opaque but they are not secret.
Very cool! I've had lots of ideas around how Elixir would be great for building orchestration or provisioning tools. The concurrency model and immutability are fantastic for that kind of work.

Regarding system calls and concurrency: Erlang does lots and lots of system calls. I think what that/those person/people were talking about are NIFs (Natively Implemented Functions) written in C. Those block the scheduler while calling out to C. However, that is a thing of the past with the implementation of dirty schedulers. AFAIK, Erlang/OTP 18 added better control of dirty scheduling and I think version 19 builds on that some more.
You may also find this paper interesting

http://wwwlgis.informatik.uni-kl.de/archiv/wwwdvs.informatik...
I actually associate VB 'being awful' with VB4. In version 5 you could finally compile to EXE, so things ran faster and you didn't have to include the runtime DLL. It was finally a 'real' language to a lot of us on AOL at the time. I was more interested in writing Doom/Quake related stuff in Visual C++, but I played around with and got a lot done with Visual Basic 4.0 and 5.0

All the PC tech support calls from the past, all because VBRUN300.DLL or VBRUN400.DLL didn't exist, or were the wrong version...
At this point it's irrelevant what the underlying language is. Apis will either be copyrightable or uncopyrightable.

I hope Google wins but I don't think their lawyers did the best job litigating this. For example, where was the testimony by someone like Jeremy White of Codeweavers explaining he won't even have a business if this interpretation of Copyright Law holds.
Indeed good point, thanks for that!
> Is it feasible to recycle all those batteries?

Why recycle when you can give them a second life?

https://www.technologyreview.com/s/538541/nissan-gm-give-ev-...

No recycling involved. Just use the batteries as they are as cheap power storage.
Boilr – Automate project setup with this language agnostic tool
iTunes and Apple Music exclusives are the worst, they sort of are the ones that got the ball rolling on this.
it means it has exclusivity over channels like HBO, Stars, Cinemax. It also includes services like Hulu.

What it doesn't bar is Disney movies showing up on channels that don't necessarily require a subscription, like ABC (Disney owned network).
AFAIK you can just have 2 stages to build each image and push both under different tags.
lol just saw this. Basically, I thought he was being sarcastic in saying "Clever win" and took the "It's not clever to hack something that you can socially engineer" as "It's not clever to socially engineer". Hopefully that helps.
I shouldnt have used the word grit, it was a poor choice because you are right that some people need grit just to live, but doesn't mean they get further in life having it.

'Thoughtful or focused determination' would have been a better choice. A person who can put together a long term plan to achieve an ambitious goal and have the fortitude, will and perseverance to see it through.
Wow, that's great news. Exactly what we are looking for. I was investigating to use GitLab CI to build, and then only deploy commits with a certain tag, but a dedicated workflow for deployments is much more convenient and less error-prone.
What are you talking about? In that very comment I just pointed to several ways that Microsoft (not even getting to third party options) tried to give a helping hand to people to migrate existing projects at the time of the VB6 to VB.NET conversion path. Yes, it wasn't an entirely smooth transition, but there was a forward transition path.
> but do not show bias. At best they show disparate impact

I have no interest in playing but-what-does-the-exact-dictionary-definition-say semantics games.
"...seems like the perfect alternative to, well, everything else."

I second you on that brother(or sister), I second you on that.
It's really easy even just hand generate a "neural network" if you assume that the inputs can be preprocessed into base-3 and base-5 representations