[-] riskable@programming.dev 10 points 1 year ago

3rd party, universal cable != Circuit boards/connectors designed for very specific hardware (used internally)

[-] riskable@programming.dev 10 points 1 year ago

OMG! My daughter and I just watched this today and were like, "WTF is with these subtitles‽ They're awful!"

It looks like they didn't even use ChatGPT properly... Like they only fed in one sentence at a time instead of whole scenes, resulting in lost context and thus, bad translation.

[-] riskable@programming.dev 10 points 1 year ago

I mean, as long as the enablement dialog is truthful...

All your fetish porn is about to be synchronized to your OnDrive at work. [Embrace] [Abort Work] [OK]

[-] riskable@programming.dev 10 points 1 year ago

“I don’t know. I’m not, I’m not a lawyer. I don’t know,” Trump said, adding that such a requirement would mean “we’d have to have a million or two million or three million trials”.

Yes! Fucking exactly. That's right. That's why everyone since forever has been saying that illegal immigration is an untenable problem!

Except this guy... Who doesn't believe in civil rights or due process.

[-] riskable@programming.dev 10 points 1 year ago

A president that doesn't believe in civil rights and due process deserves neither.

[-] riskable@programming.dev 10 points 1 year ago

The most ardent religious adherents insist that atheists have no morals. They have no idea what they're talking about. The truth is that they listen intently to an atheist with no morals every time to go to church.

[-] riskable@programming.dev 10 points 2 years ago

When you call player.move() are you mutating the state of player or are you really just logically attaching the move() function to the player object in order to keep your code... Logical?

player could actually be an interface to some object in an external database and move() could be changing a value in that database. Or player could just be a convenient name and place for a collection of "player"-related functions or stranger (yet weirdly common): A workaround for implementing certain programming patterns (Java and C#, I'm looking at you haha).

In Rust, attaching a function or property is something you do to structs or enums. It carries a very specific meaning that's much more precise and IMHO more in line with the original ideals of OOP (what they were trying to accomplish) and I think the way it's implemented (with traits) makes it far more flexible.

You can define a trait that requires a bunch of types/functions and then any implementation (impl) of a struct or enum that includes them can be said to support that trait. This allows you to write type-safe code that will work in zillions more situations and across many different architectures than you could with traditional OOP languages like C++ or Java.

It's the reason why embedded rust is kind of taking the world by storm right now... You really can "write once, run everywhere" thanks to careful forethought from the Rust developers and embedded-hal.

[-] riskable@programming.dev 10 points 2 years ago

It's probably not that the light is losing energy it's just that the distance it travels over time (the time we "know" is supposed to take for a given distance) appears compressed because of unknown/unseen gravitational forces.

Think of it like this: If there were only one star in the universe and it emits a particle of light we could calculate the distance it would travel over time. Yet we know that star will still have a gravitational effect on that light... No matter how far away it gets.

That's what they mean by light "losing energy". Is the energy actually "lost"? Not really. Is this slowing (aka appearance of lost energy) caused by dark energy/dark matter or something more fundamental like spacetime itself being stretched or compressed due to the gravity of astronomical objects we can see or "dark matter"/"dark energy" or... ? We don't really know for certain yet!

[-] riskable@programming.dev 10 points 2 years ago* (last edited 2 years ago)

Sunshine‽ The KDE icon set from 22 years ago?

https://store.kde.org/p/1120084

Talk about staying power!

I remember trying it out back then but it wasn't for me (daaaaamn I feel old now).

[-] riskable@programming.dev 10 points 2 years ago

In theory, sales taxes are great because they apply at the point where any given thing is entering the economy and not when it is produced (in effect, super efficient from a macroeconomic tax policy standpoint). In reality they have the largest negative impact on the poor/middle class and almost no impact on the rich. Basically, they take from those who can least afford it which is the opposite of an ideal tax system.

Sales taxes are also some of the biggest government bureaucracies that exist. The most complicated tax laws are all about sales taxes because they're the perfect place to punish types of consumption that are bad for society (e.g. cigarettes, gas guzzler taxes, etc). This leads to endless specifications about how much and whether or not sales tax should apply to any given good.

Income taxes are much better from an, "ideal tax system" standpoint. The only major flaw with them is the endless exemptions and loopholes that the US version has built up over time. If there weren't so many exceptions, exemptions, and complexity it would benefit everyone... Even those that endlessly lobby to lower their tax burden.

[-] riskable@programming.dev 10 points 2 years ago

If you want to talk alienating people there's clear differences between the two parties as well. Let's assume you're correct that Democrats are alienating coal miners and basically anyone else that makes their living from fossil fuels. Who are the Republicans alienating?

  • Immigrants. Particularly ones that aren't white and Christian (both combined; if you're not white but Christian they don't want you).
  • Various minorities such as blacks and Latinos but especially LGBTQ people (and 1000x if they're trans).
  • Scientists, professors, and basically everyone involved in accredited colleges (non-accredited fake schools like Liberty University are welcomed).
  • Health care workers (but not private hospital owners). Especially doctors and nurses working in gynecology, labor & delivery, and anyone working in transgender treatment.
  • Anyone in a union and unions in general (but this has always been the case).

The Republican argument has always been that even though they (obviously) hate or at least don't give a shit about all these classes of people their (non-existent) economic policies will benefit them somehow. Economic studies as well as basic measures of social health have all shown repeatedly that this is untrue. The actual (partisan) laws enacted by Republican majority in each state as well as federally have had negative impacts both economically and on the general well-being being of their constituents.

For incredibly obvious examples, the Texas Republican legislature banned municipalities from instituting mandatory water breaks for workers. Georgia's banned handing out water bottles to people waiting to vote. Florida is banning books with any sort of sexual theme (including biology books and books on sex education!) and the mere discussion of anything related to LGBTQ topics in schools.

In what universe are these good policies? They're not. From an economics standpoint Republicans are the kings of unnecessary licensing requirements (aka "job killing regulations") and placing unnecessary restrictions on job seekers as well as welfare programs in the form of mandatory drug testing (which has no purpose; do we really care if some disabled veteran is doing drugs from time to time?), extremely flawed citizenship checks (because there's no national database regular citizens are being denied), and banning necessary medical care (abortion, which is a human right according to the UN).

[-] riskable@programming.dev 10 points 2 years ago

AI is stealing the job of immigrants, being blamed for stealing jobs!

view more: ‹ prev next ›

riskable

0 post score
0 comment score
joined 3 years ago