asdfasdfasdf

joined 2 years ago
[–] [email protected] 2 points 1 hour ago* (last edited 57 minutes ago)

I'd say Rust is definitely mainstream. Obviously not the level of JS or Python, but it's being used all over the place. All FAANG companies, the Linux kernel, JS runtimes, web browsers, Android, Signal, Mullvad...

IMO GC has nothing to do with high or low level. It's just incidental that there's a correlation. In GC you usually don't need to think about manually allocating or deallocating memory or truly understand what pointers are (in some ways anyway). In C / C++ you do.

In Rust you almost never manually allocate or deallocate, and you have both very high and low level APIs.

I'd say Rust is both high and low level. It just depends what you use it for. If you want to build a CLI or a web server, it's great for that. If you want to do kernel stuff and choose to flip bits around you can do that too.

As for books, maybe you'd like trying Rustlings instead.

[–] [email protected] 0 points 2 hours ago

...why do you think Twitter had anything to do with getting Musk into the White House?

[–] [email protected] 3 points 2 hours ago* (last edited 2 hours ago) (2 children)
  1. Rust is the best language for writing WASM in, so you can write Rust and run it in the browser without transpiling to JS.
  2. Rust isn't just about speed or GC pauses. Its type system is amazing and allows you to encode things that you cannot in any other mainstream language.
  3. It's so incredibly well designed, it fewla like that clip from Ricky and Morty where Morty feels what standing on a truly even plane feels like then has a panic attack when he leaves. Rust rethought everything from scratch, and isn't just some new syntax or fancy compiler tricks. No null, no exceptions, no inheritance, new typing capabilities, etc.

Go made some pretty poor design choices, and now even Google is choosing Rust for a lot of stuff instead.

[–] [email protected] 4 points 4 hours ago

It always has been

[–] [email protected] 7 points 12 hours ago (1 children)

Hyundais are very good EVs

[–] [email protected] 3 points 1 day ago

That's the American Revolution.

[–] [email protected] 16 points 1 day ago (1 children)

That's the whole point. That's a good thing.

[–] [email protected] 2 points 3 days ago

Not sure, I've been looking at Graphene myself but haven't used it. Just passing on what I've seen.

[–] [email protected] 5 points 3 days ago

Custom ROMs are all different. Some suck, some don't. I've heard very good things about Graphene. You can even install it from the web in a couple clicks.

[–] [email protected] 20 points 3 days ago* (last edited 3 days ago) (6 children)

Google Pixel + GrapheneOS

Also, if you think Apple's completely closed source software is more trustworthy than Google's mostly open source software... LOL

[–] [email protected] 25 points 3 days ago (2 children)

Because they, a company that markets itself as free thinking, are supporting a platform run by a Nazi.

 

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?

64
submitted 11 months ago* (last edited 11 months 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?

 

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

view more: next ›