Readit News logoReadit News
cardy31 commented on Mastering Ruby Code Navigation: Ruby LSP Enhancements in the First Half of 2024   railsatscale.com/2024-07-... · Posted by u/ksec
simply-typed · a year ago
The fact IntelliSense and jump-to-source are supported at a very superficial level goes to show the heavy drawbacks of dynamic types.

Sorbet may fix things, but at that point, just use a language with more mature tooling around types, like Python or TypeScript.

Dynamic types offer dubious marginal benefits but bring tons of downsides. The demonstrations in this article reflect that.

cardy31 · a year ago
Not everyone is at a point where they are greenfield picking a language for a new project. Sorbet was built by a large organization (Stripe IIRC) and is used effectively by organizations with large Rails codebases. I think Sorbet is a great way to maintain velocity on a large Ruby codebase after the initial velocity benefits of dynamic typing have ceased and the dynamic typing is actually a drain on velocity.
cardy31 commented on One-third of Amazon warehouse workers are on food stamps or Medicaid   twitter.com/DanPriceSeatt... · Posted by u/ZuckMusk
Seattle3503 · 2 years ago
A lot of comments have the assumption that it is corporations responsibility to look after people. That philosophy is how we get healthcare tied to one's employer. That approach attaches workers to their employer and makes switching jobs harder.

I think it is better to see it as the government's responsibility to take care of it citizens. Medicaid, food stamps, and the negative income tax represents this approach. We don't necessarily see it as a bad thing that the government takes care of citizens. If someone is struggling, it is the governments role to step in and support that person.

But it does make sense to talk about whether these programs provide sufficient support, or if our approach to taxation, which supports these programs, is fair.

cardy31 · 2 years ago
Setting reasonable minimum wages would take care of citizens without a patchwork of programs being needed.
cardy31 commented on The European Union's remarkable growth performance relative to the United States   bruegel.org/analysis/euro... · Posted by u/akyuu
admissionsguy · 2 years ago
Is it possible that the relative strength of the EU per hour worked results from the fact that the low end jobs were made non-existent by regulation and people who work them in the US live off government handouts in the EU?
cardy31 · 2 years ago
Low-end jobs aren’t non-existent. The EU still has people working at fast food joints. But the EU mandates paying those people a reasonable amount of money. The US is much more guilty of forcing people in low-end jobs to require government handouts despite being employed.

Anyone working in a full time job of any sort should be able to live without government assistance. The EU’s labour laws come much closer to that than American laws do.

cardy31 commented on Portugal eased its opioid epidemic, while U.S. drug deaths skyrocketed   npr.org/2024/02/24/123018... · Posted by u/rntn
macspoofing · 2 years ago
>Didn't both Seattle and Portland try Portugal-style decriminalization + treatment incentives, only to see a massive spike in drug overdose deaths

They didn't do 'Portugal-style' decriminalization/treatment because in Portugal a drug addict can be forced into drug treatment, fined or mandated community service. Open drug use is also not allowed.

cardy31 · 2 years ago
Are they forced in? I thought they were given a choice of pursuing a treatment program funded by the state, or getting a more conventional punishment such as jail time.
cardy31 commented on Spotify CEO Daniel Ek says Apple's new App Store changes are a 'new low'   businessinsider.com/spoti... · Posted by u/belter
sigmoid10 · 2 years ago
How do you figure out the revenue split if you only know what Spotify pays Artists per stream but not what they actually earn themselves? Lets say I pay $10 per month and listen to 2000 songs. Then they would earn $0.005 per song on average. If they pay everyone $0.005, their cut would be zero. If they pay $0.003, their cut would be 40%.
cardy31 · 2 years ago
I believe the above post is quoting Spotify, not making a guess.
cardy31 commented on Fewer people are buying electric cars in the US   businessinsider.com/elect... · Posted by u/NN88
reducesuffering · 2 years ago
Their oil per citizen is not equivalent. Norway is producing 0.38 barrels of oil per day per citizen, while US is 0.034. That's over an order of magnitude difference. Could the US do better? Yes. Is Norway well run and has an abnormally high amount of oil per citizen? Yes of course. Yet your claim is still mostly false if US was run just as well.
cardy31 · 2 years ago
> Could the US do better? Yes.

That is like comparing a toddler to Usain Bolt in a race and saying the toddler could have done better.

The US isn’t even trying to manage any money from its resources in a way that benefits its citizens in the long term. Americans should be furious about how poorly managed the wealth from these natural resources is being managed, but instead seem to think that America is too different from Norway to even consider doing a similar sovereign wealth fund. The same bad arguments get made about healthcare all the time.

cardy31 commented on Fewer people are buying electric cars in the US   businessinsider.com/elect... · Posted by u/NN88
TacticalCoder · 2 years ago
> If there's any direct inspiration for the United States' EV policy, it's Norway. As the story goes, Norway introduced some compelling subsidies for EVs

Ah yup... Norway, sitting on gigantic oil reserves. Reserves so huge they could decide to just give the finger to the EU and not join. So huge there's a fund benefiting, AFAIK, all Norway citizens.

I'm not criticizing Norway. But citing Norway as some kind of EV posterchild is quite hilarious when it's their oil business subsidizing EVs.

Besides that the "heavier = bad for the road" (which TFA hints at) is pure non-sense: a regular car or a car twice the weight of the regular car will do exactly jack shit to damage the road. The damages are proportional to the root of the weight and it's the real heavy vehicles, like loaded semis at 80 000 pounds, that do damage highways and roads. It's not even clear if non-loaded semis even make a dent.

In Europe, on three-lane highways, the left lane (the fast one, where semis never drive) are never damaged. It's always the right lane and the middle lane (when trucks overtake) that are damaged.

An EV can be 1.5x the weight of a similarly sized ICE car: won't damage the road more. Doesn't even register.

It's a lie told by those who want, like the EU, to impose a tax on weight (because with EVs they see their gigantic taxes on gasoline/diesel go down the drain and they need to bleed people another way: so they're selling this made-up narrative that EVs do damage the road).

TFA has many flaws. Those ones plus the ones highlighted by other comments. A poor article.

P.S: FWIW I drive an ICE car but I don't think it's OK to beat on EVs like that...

cardy31 · 2 years ago
Lots of American Exceptionalism in this comment and the replies.

The Norwegian state makes so much money off of oil because of how well they manage the revenues. The US could do the same thing but chooses not to.

The difference between the US and Norway isn’t in the amount of fossil fuel reserves one possesses vs the other. It is in how the money from those resources is used. The US privatizes it while Norway puts it towards the public good.

cardy31 commented on Swedish court rules against Tesla in dispute with postal service over deliveries   reuters.com/world/europe/... · Posted by u/toss1
ajross · 2 years ago
> a sympathy strike involves a union deciding to take industrial action against an organisation to support another unions industrial action

Interestingly that's not quite what's happening either. The workers in question are not in a union. IF Metall is the union being supported, and merely wants to represent them (more correctly, they don't want a non-union shop operating in their market).

Everyone is just nuts here. Tesla needs to just cut a deal here, but at the same time this kind of escalation, with all this economic disruption, all for the "benefit" of 160 (or whatever) unrepresented workers who aren't even part of the story and don't seem to be asking for union representation or higher wages or anything is just batshit.

cardy31 · 2 years ago
My understanding is that the various unions view Tesla’s actions as a threat to how labour works in Sweden. There apparently isn’t even a minimum wage in the country as everything is governed by these collective agreements. So if they let Tesla come in and not play by the rules it could open the floodgates for other large corporations to come in and do the same, slowly eroding the system.
cardy31 commented on The Techno-Optimist Manifesto   a16z.com/the-techno-optim... · Posted by u/packym
idra · 2 years ago
This is where the Overton window is shifting.

See the deafening silence of the media on Nazis in Ukraine, and the recent mind-blowing case of the heads of state of Canada, Ukraine, and the entire Canadian parliament giving a standing ovation to a literal SS officer, which has triggered discussions (even here on HN) in the vein of “actually some Nazis were good guys”, which would also be unthinkable just a few years ago.

cardy31 · 2 years ago
I think the Canada thing was an honest oversight. The party in power isn’t even a right wing party. Pretty centrist. They don’t have any motivation to shift the overton window in the “maybe we’re okay with Nazis now?” direction.
cardy31 commented on Can an artificial kidney finally free patients from dialysis?   ucsf.edu/news/2023/08/426... · Posted by u/gmays
phibz · 2 years ago
As someone on dialysis, this would be amazing to see. I wonder if the same immunoresponse issues would happen with this like with a transplant.

The holy grail of transplant medicine for years has been acquired immunity, where you convince the immunesystem not to attack the transplant. Still hoping we see progress there, but this looks like a viable alternative to a donor transplant.

cardy31 · 2 years ago
There is a lot of research going into making kidneys without the markers that cause rejection. They hope to make pig kidneys compatible with human transplantation this way.

u/cardy31

KarmaCake day393October 13, 2016View Original