High class fashion store in construction
I got nothing against other types. Just numbers/misleading types.
Although, enum variants shall have a label field for identification if they aren't automatically inferable.
This is understandable in that use case. But it's not everyday that you deal with values in the range of overflows. So I mostly assumed this is fine in that use case.
This isn't even an issue of middle ware sometimes. It's just... Knowing the DB. And I rather not spend time learning when you can just make docs
He has found the precious... Braincell
As if I had a choice. Most of the time I'm only on the receiving end, not the sending end. I can't just magically use something else when that something else doesn't exist.
Heck, even when I'm on the sending end, I'd use JSON. Just not bullshit ones. It's not complicated to only have static types, or having discriminant fields
The schema is this SQL statement
If a item can have different type, those label fields are actually quite useful. So I don't see the problem
Sadly it doesn't fix the bad documentation problem. I often don't care that a field is special and either give a string or number. This is fine.
What is not fine, and which should sentence you to eternal punishment, is to not clearly document it.
Don't you love when you publish a crate, have tested it on thousands of returned objects, only for the first issue be "field is sometimes null/other type?". You really start questioning everything about the API, and sometimes you'd rather parse it as serde::Value
and call it a day.
To whoever does that, I hope that there is a special place in hell where they force you to do type safe API bindings for a JSON API, and every time you use the wrong type for a value, they cave your skull in.
Sincerely, a frustrated Rust dev
I would do that... If CI wouldn't be set to -D warnings
Who even does that? Oh wait, it was me.
Joke aside, it does help to keep the code clean, even more for open source projects where multiple separate people may all have their own codding style, and it helps make it easier to organise.
But I do agree that it can be really, really annoying.
Idk about the article but the image is nice
This one isn't even an XKCD. This is just a shitpost
Edit: I meant that it doesn't have the XKCD vibe. Not that it isn't an XKCD.
Usually, XKCDs are extremely nerdy and touch scientific subjects. But here, the joke is something I'd see in the local meme community.
Nah. They are supposed to not care about stuff and just roll with it without any regrets.
It's just like the wojak crying with the mask on, but not crying behind it.
There's plenty of cases of memes where the giga chad is just plainly wrong, but they just don't care. But it's not supposed to be in a troll way. The giga chad applies what it believes in. If you want a troll, there's troll face, who speak with the confidence of a giga chad, but know he is bullshiting
Automatically ask for stashing changes when switching branches
Is there an extension that allows for automatic stashing on branch switch like GitHub desktop does?
There was an a proposal about it, but it got declined: https://github.com/microsoft/vscode/issues/86668
Stash changes on branch switching
Is there an extension that allows for automatic stashing on branch switch like GitHub desktop does?
There was an a proposal about it, but it got declined: https://github.com/microsoft/vscode/issues/86668
Audio effects for Windows (Like Easy Effects)
I am looking for an alternative to Easy Effects for windows. It works really well on my Linux machine, but I want something for my work machine that runs windows.
Any suggestions? I don't need all the filters, but at least something to correct the awful bass
Tumbler is looking suspiciously like Aperture's chat room
Reddit thread I got this from: https://old.reddit.com/r/CuratedTumblr/comments/1bomeku/artificial_prey_animals/ [https://old.reddit.com/r/CuratedTumblr/comments/1bomeku/artificial_prey_animals/]
![Artificial prey animals - Lemmy](https://lemmy.world/pictrs/image/ab1d85b1-0f0e-4a17-973d-84164281d77b.png?format=webp&thumbnail=256)
Switching from Linux Mint to Nobara on a secure boot and dual booted laptop
I got a Zephyrus Duo laptop with Windows 10 and Linux mint dual booted. I've recently heard about Nobara, and I'd want to distro hop to it as it has all my daily apps, more recent drivers, and good Nvidia support. It would replace my linux mint partition.
Thing is, my laptop came in with windows bitlocker, and secure boot. The former isn't really an issue as both OS would be on different drives. But the latter prevents me to boot Nobara as it's a unsigned distro.
I'm wondering about whether I should sacrifice secure boot for Nobara, and if I should, how to deal with windows being bitlocked.
I don't really use windows anymore but I do still need it, so no, I won't uninstall it.
Any help and tips ?