asdfasdfasdf

joined 2 years ago
[–] [email protected] 4 points 1 month ago

Source? Really dislike all these unsubstantiated claims everywhere.

[–] [email protected] 2 points 1 month ago (1 children)

https://github.com/launchbadge/sqlx

Not an ORM, but uses Rust's compile time macros so you can write raw SQL and it will type check everything against either a real database connection or a JSON cache of the database's schema.

Absolute best of both worlds.

[–] [email protected] 12 points 1 month ago* (last edited 1 month ago) (1 children)

I'd absolutely qualify it as non-secure in this context. Signal is E2E encrypted but there are no systems in place where it understands who's added to a chat and validates access based on ACLs or anything. Authorization policies are critical in securing systems.

[–] [email protected] 7 points 1 month ago

I thought you are going to mention that she's receiving an enormous amount of money from the government, even though she's Republican.

I can forgive someone for now knowing who specifically enacted some bill or something, but being simultaneously against supporting people with government handouts while relying on $400K from the government to survive? Wtf.

[–] [email protected] 10 points 1 month ago

Four times???? We're almost diving by zero here. Sanders is basically infinity times more sane.

[–] [email protected] 1 points 1 month ago

Everything was worse at some point earlier on. That doesnt mean much. PRC came from ROC, so it wasn't progress.

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago)

It sounds like that's what I'm talking about. It was Imperial -> ROC -> PRC, not Imperial -> PRC.

The only progress was ROC. PRC was worse.

It's like saying "Oh you don't like Trump fucking up everything in our government so it's way more authoritarian? Well it's much better than when the US was imperial England, so it's still progress."

There's a step missing.

[–] [email protected] 3 points 1 month ago* (last edited 1 month ago) (4 children)

But before CCP wasn't it ROC, not imperial China?

[–] [email protected] 1 points 1 month ago (1 children)

Well it's not slavery - you still get paid.

It's just that everything you're paid and probably more will get sucked back into the economy to pay for necessities to live, and if you don't make enough money to afford that then you die.

But they aren't killing you directly, so not the same thing.

[–] [email protected] 2 points 1 month ago (1 children)

Yep, we disagree. The world and technology especially is an extremely complicated place. IMO any complex system that is built upon "humans should just know all this complexity and keep it in mind all the time" is fundamentally broken.

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago) (3 children)

I think you're saying the same thing as what I am. If it's more complex than what you may think, the language should guard against it. If not, it should make it simple.

Rust, for example, is the only mainstream language where it isn't possible to read from a file handle after it's been closed. Doing so is a compilation failure. This is just a general invariant of "how to use files".

But you also don't need to think about allocating or deallocating memory in Rust. It does that fke you automatically, even though it's not GC.

JS can also be complicated when it tries to hide realities about the world. E.g. is a const array or object immutable? No, the pointer is. But pointers don't exist! /s

[–] [email protected] 21 points 1 month ago (5 children)

I mean, this is correct in many cases, unironically.

It should be one of the core purposes of a programming language to help humans to write the code they intend. If a language doesnt do that then it's bad.

 

I've been working on my privacy setup and breaking away from Proton. There are a bunch of email providers I looked at, same with email aliases, password managers, etc.

But I don't understand the state of calendars. It feels like they're always shoved into email services, and they're all so crappy looking.

I was able to find one or two Android apps that are open source, and they look like they're 20 years old.

Proton Calendar, for all its faults, looks really good.

Why, in 2025, is there no simple calendar as a service with nothing else included? And why do the UIs all look like complete trash?

I don't get it. Can't one of us hire an intern to take a week to learn a CSS framework and create a decent calendar UI? Am I missing something?

 

AFAIK when you log in to Proton, you send them your password, they do the standard hashing and checking against the hash stored in their database, and if it matches them they let you log in by sending you a token of some sort.

If the your password is your encryption key, and if at some point Proton needs your plaintext password in order for you to log in, then doesn't that mean they still have a way to access your data? They could take the plaintext password and decrypt everything in your account without you knowing, right?

68
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

I know bike tires will lose pressure in colder seasons because the air temp causes the pressure to drop, but is the inverse true? Does bike tire pressure go up in summer due to heat?

If so, do I need to deflate the tires a bit in summer? Do bike tires ever explode because of a temperature change?

 

Not with their end product - the powder itself is excellent. But every little packet is plastic, and doesn't have to be. The world has such a serious problem with plastics, and for a lot of products it's kind of necessary, but this is not one of them.

Restaurants have had the same size single serving packets for sugar, salt, and pepper for decades now and those are paper, which is much more environmentally friendly. It's even better for usability! With paper, I don't need to go find my scissors like I do for TWW's plastic packets.

I asked TWW if they would consider using paper instead, but got a generic reply that they'll bring it up, but evidently nothing has been done about this.

Is anyone else as disappointed as I am with their use of plastic packets? I care a lot about having clean water for my coffee, and I care just as much about not polluting the rest of the world because of it.

 

This might seem obviously "yes" at first, but consider a method like foo.debugRepr() which outputs the string FOO and has documentation which says it is meant only to be used for logging / debugging. Then you make a new release of your library and want to update the debug representation to be **FOO**.

Based on the semantics of debugRepr() I would argue that this is NOT a breaking change even though it is returning a different value, because it should only affect logging. However, if someone relies on this and uses it the wrong way, it will break their code.

What do you think? Is this a breaking change or not?

 

I haven't played any Baldur's Gate games before but I've heard so much about this game that I'm going to buy it.

However, before I start, I always wonder about this: some games allow you to unlock any weapon at some point in the game, and if you miss one in some quest you can always go back. If you accidentally sell one you can buy it back or forge a new one again, or have it respawn. If you want some other class you can switch later.

Other games are not like that, and if you screw up or aren't aware of [full in the blank] then you can't unlock something.

What's the story with BG3? Do I need to be careful and plan before going on missions?

 

Or is this just a coincidence? Any other elements with the symbol as the full word?

view more: next ›