skysight-inc/HackerNews huggingface dataset:
The book itself is here:

http://railstutorial.org/book

The links in the announcement include a 20% launch discount, expiring tonight at midnight PDT.
Ruby 3x3 is a plan to make Ruby 3 times faster than Ruby 2.x. Here's some further reading:

http://engineering.appfolio.com/appfolio-engineering/2015/11...

https://blog.heroku.com/where_will_ruby_go_now_talking_with_...
https://www.reddit.com/r/ruby/comments/3tje5a/ruby_3x3_ruby_...
I've been following along with Rails 5 for many months now and I've been tracking progress on updating GitLab in our issue tracker[1].

Feel free to look at the relevant merge requests and use them as guides to upgrade your own apps :) We're still on 4.2.6 since we have a few gems we're waiting on, but I hope to change that in a month or two!

Favorite features are probably the various performance improvements and underlying improvements to the framework, as well as quiet_assets being moved into sprockets-rails.

I also wanted to give a shoutout to BigBinary's Rails 5 series, since it's been great for finding out about new features[2].

[1]: https://gitlab.com/gitlab-org/gitlab-ce/issues/14286#note_42...
[2]: http://blog.bigbinary.com/categories/Rails-5/
The songs conveyed threatening, sometimes mocking messages: Alice Cooper’s “No More Mr. Nice Guy,” AC/DC’s “You Shook Me All Night Long.”

The second song listed is an ode to a woman and her sexual prowess. How is this threatening or mocking?
Possibly, but you can make a kilometer diameter mylar mirror which folds up into a pretty small pouch. A small puff of gas to inflate the 'struts' and poof you've got more sun to work with. The asteroid belt is nominally 2.5AU from the Sun and using the inverse square law would suggest 1/6th the amount of solar insolation. So the Odeillo oven has 2600 sq meters of mirror and generates temperatures of 3000 degrees. Our 1km dish would have 785,400 sq meters so about 302 times the surface area, with 1/6th the insolation we should get about 50x the energy out of it if my math is correct.
Makes sense if it's for the exclusive content opportunities. I remember seeing a report when Kanye made his new album a Tidal exclusive and the number of users they got from that deal alone was staggering. The problem is that a lot of those users will cancel after their free trial but if they keep coming back for exclusives they'll a) want to stick around b) have no free trial so will pay for a month anyway and might stick around. Tidal also obviously has rights to high quality audio files - maybe Apple doesn't have that and it's something they want to do once they bring out the iPhone with lightning headphones.
Wow, there's a lot of factors at play there I'm sure but the engineering teams behind those models should feel very proud indeed.
I've always wanted to pull off the highway in the middle of Nevada and just go wandering into the wilderness. Sadly, I've always been on my way somewhere and felt that I couldn't spare any time. Someday I would like to have a more spontaneous approach to life.
Point #1 is silly.... Minimizing your tax burden does not always translate to maximizing shareholder value. Decision makers at corporations can (and should) take everything into account when deciding how to maximize shareholder value; the PR costs of evading taxes, the potential costs of settlements, etc.

I have never heard of a successful shareholder lawsuit over corporate leadership failing their fiduciary responsibility because they didn't find all the loopholes for limiting their tax liability.
Yeah, but where in the code are the instructions for the slaves to make the shoes? This is the important part.
That's awesome! Michael Hartl is such a great member of the community.
If I ask him those questions, and he becomes offended at the fact, I think that will be a red flag. He seems to think that anything he says can't be questioned...going back to earlier, how he says he doesn't want to argue to get his point across when I asked him about what his role would be.

He said the way I asked it made him offended.

My view is that I touched on one of his weaknesses and it made him insecure about his position in the business.
The fact that he now has a new trial should be enough to make up for that. The "smoking gun" was that there was no real case against him, but he was convicted and in jail.
I've always thought the metabolic needs must have been just as driving (specifically, being carnivores). Note: not a dig at vegetarians, we're talking about long before the proliferation of tofu and quinoa.

"A gram of brain tissue takes 20 times more energy to grow and maintain than a gram of tissue from the kidney, heart, or liver"

http://news.harvard.edu/gazette/story/2008/04/eating-meat-le...
Want to shadow a YC partner? Apply on WayUp for your chance to win
Americans' taste for Mexican beer sucking up water supply, mayor says
FWIW I got in contact with their R&D team earlier last week and they told me:

no StartEncrypt API now, later it will support IETF ACME, maybe open source.
I haven't noticed the spam at all, I have my GV set to block spam calls, and have mostly enjoyed it with google hangouts app... I don't like that sending a text message in the desktop chrome/hangouts requires a weird UI, or that the contacts removed the send sms option.

I've been using GV since it was Grand Central before Google bought them out.

Although I wouldn't use it for a multi-user business, it's been pretty nice for me, since you have filtering options, can set custom outgoing messages per caller, and can keep the number while switching your mobile carries (T-Mobile -> Boost -> Simple Mobile -> Verizon) all while keeping my GV number as my main contact number.

I use an Obihai box at home connected to a regular pots cordless phone, and that has been pretty nice.

Weird thing, it will drop a call if you're on longer than 2 (or is it 3) hours, and if you're calling someone else on an IP/wireless phone, the lag/conflict can get interesting. Works better on obihai than cell phone, for example.
Good point, but I'd see the actual codebase on a single node as the most important thing for most people. Even with Rails you can do a lot with one server.
You have to take into account that they have strong partnership with Apple. There have been a lot of Nike products that were working only with Apple-branded devices. This could be the reason why they treat Android like the 2'nd class platform.
How come? Anything we should know?
I'd like to commend you on a well-balanced reply. The following line really struck me, "..., a lot of the bullshit is created by people who want their own way after a decision has been made." That plays out daily in my organization.

I've come to appreciate how little I know about management over the past few years. I stayed friends with an IT Director who led my department around 1996. He used to say, "If you want to be successful as a manager, you have to remember that your main job is managing personalities everything else falls in place if you do that right." Having run a very small organization for the past couple of years, his message was on target.

My experience with teachers is that the really good ones tend to know. Students come back to say so if a teacher really helped them. My daughter's teacher has former students coming back all the time. My father's former students came back to say thanks. My brother-in-law's students come back. So, it's not quite the tragic, post-mortem recognition that Van Gogh received.
So if I don't want to be recorded in public I just carry one of these IR transmitters? This is fun.
Consul: https://github.com/hashicorp/consul/blob/master/bench/result...

etcd:
https://github.com/coreos/etcd/blob/master/Documentation/op-...

Note that the testing environments are not exact the same in the doc I listed, but comparable. Also Consul performance is improved after a few releases.

So we did the benchmark internally on the same environment. The result is still comparable to what I listed in the two official docs.

The best way to compare performance is still probably to run the benchmark on your own environment.
This might be an orthogonal remark but...the article is simply unreadable from a mobile device. When the ads are reloaded it jumps a page up and this happens every 5 seconds.
At MGH! Well, they could get some good results either way, and quickly.
I echo that. Also, I'm pretty sure that even in such an "ex-communist, very religious country" there are LGBTs and areas (probably Bucharest) where LGBTs are rather accepted. If de-jure-acceptance instead of just de-facto is a dealbreaker for you I suggest come back in a couple of years/decades :-(
Bah. There are a few good points made regarding the logical contradictions between non-binary and a spectrum, but the conclusion is entirely ignorant, erasing the lived experiences of people who are intersexed: hermaphroditic, chimeras, have extra chromosomes, etc.

Even if you concede every point the author makes (which I don't, but I am not up to writing a rebuttal), you can't get away from the fact that a substantial number of people actually do not, biologically, fall neatly into a 'male' or 'female' box.

This TED talk by Alice Dreger 'Is Anatomy Destiny?' gives a decent overview of a few of the biological sex variants that humans exhibit:
http://go.ted.com/4qqoBg
The Drive article is an eerily prescient interview with Volvo's R&D chief and is only two weeks old:

Critics see a neither-nor limbo, with technology just
good enough to make drivers drop their guard, but not
good enough that driving off a cliff is an
impossibility. ... Shooting for but missing Level 3
autonomy would create his nightmare scenario: a car
that gets flummoxed by one of thousands of variables,
then asks a daydreaming co-pilot to wake up and save
the day.
Acquisitions like this make no sense to me. At best you're getting access to the current popular artists under temporary licenses from a platform that's failed to gain a massive user base.
The IIHS compares car model fatality rates: http://www.iihs.org/iihs/topics/driver-death-rates

If you want to do the numbers to compare the Tesla to other cars, where they measure driver fatalities per million registered years, do this:

130,000,000 miles / 12,000 average miles per year per car = 10,833 years.

That's 10,833 registered years for the Model S.

The IIHS site normalizes to deaths per million registered years, so multiply that number by 92.3, and since we have one death so far, the Tesla Model S is now at 92.3 driver deaths per million registered car years.

Let's compare to other car models:

Ford Taurus 2WD: 20 deaths
Hyundai AccentL: 86 deaths
Lexus LS 460 2WD: 18 deaths
Acura TL 2WD: 5 deaths
Audi A4 4WD: 0 deaths (yes, a bunch of car models had zero driver deaths)
And average for ALL 2011 vehicles: 28 deaths.

So, right now, it looks like the Tesla Model S is about 4x deadlier than the average car when using Autopilot, and about 10-20x deadlier than the safest cars.
Raft - cool!

I'm aware that implementations diverge or do not directly synthesize from their specifications. At least not yet.

I'll be poking around more to see if the etcd team has published their own specs for the novel parts of the system. I'm particularly interested in seeing if/how OSS projects are adopting more rigorous "engineering" practices.
You're talking about the original inspiration for Phoenix, while the previous poster is talking about some of the new features in Rails 5. They've both influenced each other.
Dre is the HNIC and Jay will be the Second NIC
>> Tonopah (pronounced TOE-nuh-PAH) is located halfway between and .

If anyone else is missing the locations on their page too... interestingly, my ad blocker removes the anchor links labeled "Las Vegas" and "Reno" because the link destinations funnel through a doubleclick server.
I feel bad for Sean Griffin. He spent over a year overhauling the internals of ActiveRecord to add this attributes API. His work dramatically improves coercion and type enforcement for ActiveRecord users. Seems weird for this to only get a non-descriptive bullet point in "other highlights."

Here are the docs if anyone is interested: http://edgeapi.rubyonrails.org/classes/ActiveRecord/Attribut...
Thanks for the advice, these ideas make sense.
At This Lost Alpine Resort, You Could Ski Among California's Orange Groves
It's a blind spot. Dozens of cyclist get mowed down by right turning trucks every year in Germany alone and nobody cares about implementing a mandatory technological solution (beyond upgrading mirrors and optional camera systems) for that well defined space and situation at relative slow speeds, because costs to the logistic companies.

At least with the autonomous cars everybody still seems to care about eliminating more or less rare errors all together, because we seem less forgiving to technological than human error. And adding a fitting sensors and detection algorithms to eliminate that blind spot is relatively easy and cheap if the car has already a sensor network infrastructure.

I doubt that similar accidents with human drivers would even get their own statistical category.
I have tried it only once, what do you think about the management of web sockets compared to the new Rails cable?
I think performance is compelling,
But the bigger win is concurrency.

We run 100s of dynos for our service, but could probably run just a couple if we moved to elixir/otp.
> you can't get away from the fact that a substantial number of people actually do not, biologically, fall neatly into a 'male' or 'female' box.

It would probably be helpful to cite some studies here, because there's at least one gross physical characteristic the existence of which suggests just such a neat boxing.
Facebook says its changes are good for you. But really they're good for Facebook
I assume you will be going into criminal defense law once you pass the bar? Seems like it would be a waste for you to do anything else.
HTTP/2 in limited availability on Fastly
I knew a half dozen people at Yahoo in the last year doing a 10-4 and moonlighting on a startup together.

These were mostly resting-and-vesting post acquisition types.
Haskell _allows_ it. The programmer decides if they want it. Requiring a full signature inhibits natural code writing by introducing a high amount of overhead per function. Writing a 1-line inner function is no longer an obvious win. The annotation requirement applies to nested functions in Rust.
This is mostly an observation I've had of imperative programming vs functional programming. Going back and creating the state of the application in my head is easier when I don't have to find out what else the code is affecting.
How is one supposed to watch the videos? A VR headset?
He is not a founder. He is an egomaniac with delusions of grandeur. He thinks he "shouldn't have to argue" because he is a founder? Utter bullshit. He has to be willing and able to communicate with his cofounder and that involves hashing things out.

I hate arguing online because it is almost always a form of fighting with people over emotional bullshit. But I have zero problem with the other definition of arguing: debating ideas to get at the truth.

You can't build a solid company if you cannot do that.

Don't start a company with someone whose precious feelings come ahead of clear communication. That's insanity.
> Why wouldn't you simply forward the notice to the customer and tell them to respond within 48 hours?

We would have had we been sent a notice from the trademark holder but we weren't. Or even had DO been sent the request from the rights holder. This is the due-process we are asking for.

> It's pretty understandable for DO to not want to get involved in a legal dispute like that

To our knowledge Digital Ocean was at no time directed by the trademark owner to remove the content. This was DO acting on their own.

> They literally gave you a warning with an exact timeframe.

This is an exaggeration.

- We responded within 22 minutes of the original complaint.
- The complaint did not request takedown.
- We were not given timeline nor consequences until 24h before takedown.
- When given 24h notice We immediately asked for a call which Digital Ocean wasn't available for until the DAY of the takedown.
- We spoke on the phone with DO hours prior to the takedown which at their request was left with an action item to fill out a counterclaim.
- Digital Ocean withdrew their request for a counterclaim (unknowingly to us) and disabled our network 39 minutes later.

So in truth we had an email we hadn't received yet that gave us only 39min to comply with. We were warned 24h prior but DO wasn't available to discuss until only hours before the takedown and the last correspondence with them they requested a counterclaim to be filed. Our request for counterclaim documents was the last message they received from us before shutting us off.

> Seems insane that you let your entire service get nuked over one customer. And to publicly call this "radio silence"? They literally gave you a warning with an exact timeframe.

We made it clear to them on the phone that we would rather take down the content then have all our customers taken offline. Digital Ocean disabled our network knowing full well it wasn't necessary to have the parody site removed and gave us only a 39 minute window to comply which we did not see in time.

Digital Ocean went completely dark for an hour after disabling the network and ignored our attempts to reach out.
The big things seems to be websockets with Rails cable. I've just skim through the documentation but seems solid. Anyone has a strong opinion on this?
Sure. The main issue with that is the unknown unknowns. In hypothetical cars an order of magnitude safer than today, we're talking about events so rare that a single (hypothetical) accident which kills all 7 passengers due to the Tesla misinterpreting an obscure Hungarian road sign meaning "bridge out ahead" will significantly influence your safety statistics.
Sequel's syntax is strictly less powerful, since Rails' accepts any scope instead of just a hash of conditions.

Post.where(id: 1).or Post.joins(:author).where(author: { name: 'John' })
This needs to be deleted. Abhorrent.
This is the first fatality collision after 130 million miles of tesla's autopilot, so it's already above that bar.

Additionally, 92 people are killed in fatal car accidents in the US every day. So it's not as though this is some uncommon occurrence that autonomous vehicles would be unlikely to improve.
Fwiw, in many countries resistance to the EU is led by Socialists, Communists and Environmentalists. So it is not only "dumb racists" that are opposed to the EU project.
Patriots, when they had the undefeated season, come to mind.
My office has a Sonos. The rule is: if you don't like what's playing, you can change it or turn it off. And everyone has access to the app, and it's anonymous who is taking what actions. We've never had "battles" over the sonos.

Except on December 23rd when there were 3 people in the office and I really wanted to play the album "Christmas Island" by Jimmy Buffett and my QA guy wanted to play "The Gift of Rock" by Smash Mouth. We might have not fully represented the holiday spirit that day.
> I've still got a couple clients using 3.2 from 2012 and things aren't that different.

Which is exactly what makes Rails 4 and 5 a reasonable choice for slow-moving projects on a budget (i.e. no money to pay for massive library updates every N months).

I think the vocal early adopters are going to jump ship, if they haven't already. But I'm more likely than ever to start new projects on Rails.

Of course, if there's anything in particular that you are missing from Rails, then the lack of fundamental changes can be a showstopper.
There's a project called zetcd[0] that acts as a translation proxy in front of etcd to let you use the ZooKeeper API. I don't know if it's production ready, but I do know it works and is a pretty cool idea.

[0]: https://github.com/chzchzchz/zetcd
> hey do the check frequency is low. why can't it be high?!

Because that makes it less useful. I am a Tesla owner. I am an adult capable of monitoring the car and taking control when autopilot gets confused. My hand being on the wheel at all times is neither a necessary nor a sufficient condition for verifying that I am paying attention and am ready to take over control.

> One death is too many.

I am sick and tired of absolutist statements about risk. Why do you allow cars on the road at all? Why allow cars to have cupholders? Why are drive-through restaurants legal? You make utility-risk trade-offs all the fucking time.
The state can appeal this decision, and I'd think they surely will do that. I don't know enough about law to know what their odds of succeeding would be.

Beyond that? The evidence against him was a good deal less sketchy than Serial made it sound, but I still don't know if it would be enough to get a conviction sixteen years later.. so who knows.
> An average person will never be able to attain a 4.4 40 for instance

Totally, true, but the number of people who are good at professional football is a very tiny subset of the people who can run a 4.4 40.
Apple reportedly in negotiations to buy Jay Z-owned Tidal streaming service
> You’ll take over WayUp’s Snapchat for the day to give other young people the inside scoop, and you’ll write a piece about your time at YC for our blog. Knowledge is power, so why not spread it?

That sounds more like a punishment than a perk.
Sling TV now offers internet viewers more than 100 channels
Makes sense if Apple wants solidify being known as a destination for 'music'.

Amazon has been making inroads in this market [1], while Spotify and Pandora (most of Pandora's listeners are not paid subscribers) are the other incumbents [2].

[1] https://www.amazon.com/gp/help/customer/display.html?ie=UTF8...
[2] https://www.statista.com/chart/3899/paid-subscribers-of-musi...
> If the autocars are less likely to kill me than human drivers, I'm for the autocars.

I think this situation is a bit different than the arrival of air travel or even the automobile, because with all those technologies, humans were still making, or validating, all the life-and-death decisions (barring technical failure). I also think the kind of death we're talking about matters a whole lot. What if autos were incredibly safe, but far more prone than ordinary drivers to running over small children and pets? Would society accept that?

Many people are not comfortable with impenetrable algorithms managing their safety on a mass scale, or indeed, with making any conscious decisions at all when it comes to "trolley problem" issues. And that discomfort is well within their rights. Technological progress is not a divine edict, but something that society has to negotiate and agree upon. The debate should be respected.
I think that's one of the most fascinating questions about UBI though. Hypothetically, if you had UBI and were content at that level of consumption, what would you do? If I absolutely loved animals, I can certainly see working in a pet store for $2/hr or a pittance.