snowe

joined 2 years ago
MODERATOR OF
[–] snowe 38 points 1 year ago (17 children)

It's also just a huge fallacy. He's saying that people just choose to not write memory safe code, not that writing memory safe code in C/C++ is almost impossible. Just look at NASA's manual for writing safe C++ code. It's insanity. No one except them can write code that's safe and they've stripped out half the language to do so. No matter how hard you try, you're going to let memory bugs through with C/C++, while Rust and other memory safe languages have all but nullified a lot of that.

[–] snowe 3 points 1 year ago

It doesn’t sound like you want a static site generator. You want a Squarespace alternative. One option I use is Ghost. You can host it yourself for free. But it’s not a static site. Static site means static. That means no backend, no forms, none of that. You won’t get a CMS, you won’t get drag and drop components. That’s not what static site generators do.

[–] snowe 0 points 1 year ago

You ask them to add a license, you don’t suggest a license.

[–] snowe 1 points 1 year ago

I am of no help here, but your post made me think of this. https://youtu.be/tbazGVrbN-g

[–] snowe 1 points 1 year ago

You can write cross platform mobile (and desktop and even browser) apps with Kotlin.

[–] snowe 9 points 1 year ago

Mercedes isn’t competing against cheap cars locally, so it has no incentive to block their import.

[–] snowe 5 points 1 year ago

yeah as @Ategon said, that's quite strange, but I'm not sure we're in control of that. Would need to be raised as an issue. lemmy.world has also customized their install quite a bit so it could also be on their side.

[–] snowe 1 points 1 year ago

that's so weird because I got an email inviting me to participate and I haven't ever been considered a 'prolific poster'. I'm only at 60k and 12 years. I had no clue I was invited until I looked in my spam folder.

[–] snowe 2 points 1 year ago

still, people are clearly confused by the button. I'm just gonna make it an animation and prefers-color-scheme since that's so widely supported now.

[–] snowe 6 points 1 year ago

I've wondered what this problem was for years but never cared to figure it out, because it always resolved after the first button press (just refresh the page and it all works properly). turns out it is something wrong with my use of local storage to save your theme state. if you don't have the key in local storage then it does what you mentioned. I just need to switch this to prefers-color-scheme anyway.

[–] snowe 4 points 1 year ago (2 children)

that post is about toggle buttons, not switches. e.g. a play pause button, when pressed, does it show play, or does it show pause?

[–] snowe 1 points 1 year ago (1 children)

It shouldn't be like that. on my computer it shows the sun when it's in light mode, moon in dark mode.

view more: ‹ prev next ›