1,500 karma · joined Nov 22, 2009 (17y ago) · 279 submissions
comment 4y ago · link · parent
If you want to know more about an API, there's https://api.rubyonrails.org and the classes are quite will documented. These docs don't show up in the guides and might be what you're looking for. I should also point out that the API docs are directly linked in the header of the Guides.
Specifically for routing, there's lots of additional detail here: https://api.rubyonrails.org/classes/ActionDispatch/Routing/M...
comment 4y ago · link · parent
Absolutely.
For example, in a manual VW/Audi, you have to push the stick down, then way over into R.
It's one of the nicest feeling gestures, makes your intent extremely clear, and is impossible to do by accident.
comment 4y ago · link · parent
Familial wealth provides an individual with more free time, generally.
More free time before a big interview means more leetcode prep time and memorization of the answers.
More leetcode prep time leads to passing leetcode interviews more often.
This isn't that complex.
comment 4y ago · link · parent
It seems like it could pair really nicely with the work that Ink&Switch (https://www.inkandswitch.com/local-first) is doing around local-first app development and Automerge (https://github.com/automerge/automerge) as a good way to keep disparate private copies of work in sync.
I have no connection to Ink&Switch, other than appreciating their work.
comment 4y ago · link · parent
This is the current battle in Toronto, Canada.
Last year, there were more people killed by cars than gun violence, but you wouldn't know it by the media coverage.
The city, largely due to strong local advocacy, has started to respond with physically separated lanes, but we're talking double digit KM/year, if we're lucky, when we need 100s of KM to link the city together like this Milan proposal.
comment 5y ago · link · parent
It could be changed through legislation that companies need to put the needs of all *stake*holders first.
This would mean chemical companies would have to take into account pollution past what is allowed by regulation, this would mean that Google would have to at least consider the well-being of web users as a whole when making decisions.
And, I believe, this would give people the basis on which to sue a company if they didn't take all stakeholders' interests into account, like creating a program like Jedi Blue.
comment 5y ago · link · parent
> As crucial as it may be to improve the technology, it will be equally important to compel industries and governments “to treat CO2 as a waste product,” he says, and therefore pay to clean it up.
This is really the key. Once this is implemented, loads of effort/money/research will flow into this field.
It already has a politically popular slogan, "polluter pays".
But in any case, it seems obvious that DAC is required to avoid bad outcomes. We've already pumped gigatons of CO2 into the atmosphere. We could just leave it there and deal with the problems, but it seems far better to actively remove it and get our atmospheric ppm down to what we saw ~150 years ago.
comment 5y ago · link · parent
"ah, you'll be fine" seriously?
Think of the likely user who has a pacemaker. They are probably a man, he's probably in his 60s, 70s, or 80s. He's likely not all that familiar with the intricacies of modern phones. His kids probably convinced him to get a phone so he could stay in touch more easily. That's the audience we're talking about here.
It'll happen a lot and while it's happening the lifesaving device is fully disabled. That's a big deal.
comment 5y ago · link · parent
Citizens get rebates based on income, so poorer individuals get larger rebates as a percent of income and can actually come out ahead even with rising prices due to the carbon tax.
More wealthy citizens will (due to lifestyle differences) pay more in taxes than they get back, but they also have the means to change their lifestyles/make different choices, so they could end up in a spot where they use less carbon and so also come out ahead.
It's a very simple mechanism to modify behaviour and does do in a relatively equitable way.
comment 5y ago · link · parent
The story around types in Ruby is very early. There are "competing" ways to do it and they are really not dev ergonomic.
I think Ruby has a loooong way to go with typing to take it off the list of things to use Crystal for.
comment 5y ago · link · parent
r/canada used to be great, as you said, but it didn't become polarized in a right vs. left manner. The moderators were self-admitted alt/far-right people who were pushing a particular agenda.
When the country as a whole votes left at a consistent 65-70%, then r/canada simply no longer represents the Canadian viewpoint. r/canada used to give center-right viewpoints attention at about the same rate as the support they got in elections. The push from right-wing mods to move to an even or greater split doesn't reflect the political reality of Canada.
r/OnGuardForThee is now a far more accurate representation of the political landscape of Canada where 70% of people vote center-left to left.
comment 5y ago · link · parent
Agreed, and the linked article specifically themes their tabs to look like a file folder, with a reminiscent color and rounded corners.
The very concept of a tab that contains related information in it is a replication of the physical tabbed file folder.
It's pretty much this: https://imgur.com/a/u2WgESW
And that is largely a hold over from the concept of a physical desktop in an office. See: https://onezero.medium.com/the-document-metaphor-desktop-gui...
It'd be nice for some new concepts to be introduced and refined.
comment 5y ago · link · parent
It's also really great to see large companies like Shopify invest in such low-level things, and not just on gems/changes that directly touch their business.
207.
The room where it happens: How Rails gets made(schneems.com ↗)
4 points · by multiplegeorges · 5y ago · discuss
comment 5y ago · link · parent
The worst, worst possible case would be this gene getting somehow into the general mosquito population and making mosquitoes extinct. That would be a disaster since they are an important food source for so many other species.
Presumably, the much-smarter-than-me scientists have thought of this.