[-] brian@programming.dev 5 points 3 days ago

json doesn't have ints, it has Numbers, which are ieee754 floats. if you want to precisely store the full range of a 64 bit int (anything larger than 2^53 -1) then string is indeed the correct type

[-] brian@programming.dev 12 points 3 days ago

Ikea smart devices are all zigbee so far, which is great since you can just plug it in to home assistant and it does respect your privacy.

Plugs like this are also a lot more useful than just saying total power consumption or whatever. I have a few similar for automating not smart devices. Things like a proper notification when my kettle or rice cooker is done, notification when humidifier is empty, etc. You get the functionality of a smart device but it's as cheap/robust as the original version, and privacy respecting/more secure since it can't be connected to the internet

[-] brian@programming.dev 62 points 4 days ago

Don't give in to greed. Throw your car battery into the ocean to feed the electric eels

[-] brian@programming.dev 20 points 2 weeks ago

the problem is there are a ton of varieties of tofu, and they're all generally around the same price. it seems the silken tofu have around 5g of protein, but some of the extra firm varieties have over 15g protein per 100 tofu, putting it in a much more respectable spot in the bottom middle with the grains and such

[-] brian@programming.dev 24 points 2 months ago

one is giving the permission to manage the system service to a specific user, the other is running the service as the current user so they have permission to manage it by default

[-] brian@programming.dev 15 points 2 months ago

this just looks like poor moderation, enshittification very specifically refers to monetization efforts of the company destroying the platform

[-] brian@programming.dev 34 points 2 months ago

they're really not, slc has a pretty progressive community but it's in direct opposition to the mormons. they're officially accepting of gay people, but as long as they don't do anything gay. they aren't ok with trans people who transition at all.

utah also recently passed bathroom laws for all govt controlled buildings and schools and there are ones for colleges in the works.

generally mormons will be nice and accepting if they think they can convert you, but that's about as far as it goes

https://www.advocate.com/religion/2018/10/08/mormon-leader-lgbtq-advocacy-comes-satan https://www.advocate.com/religion/2019/10/03/mormon-leader-gender-assigned-birth-eternal

https://www.sltrib.com/news/politics/2024/01/30/utah-transgender-bathroom-ban-goes/

[-] brian@programming.dev 18 points 3 months ago

it felt to me like coffeescript solved problems that people had, then js got equivalent features. arguably that could happen to ts as well

[-] brian@programming.dev 31 points 3 months ago

it's ironic with all this that Google fi messages on Android still doesn't support rcs without losing a bunch of other features

[-] brian@programming.dev 17 points 4 months ago

this guy writes shitty code

[-] brian@programming.dev 18 points 5 months ago

try element x, on android it opens almost instantly. still in beta though

[-] brian@programming.dev 27 points 5 months ago

on that note, does anyone have recommendations for a neutral and controversy free instance but that also isn't so quick to defederate?

I understand instances like this wanting to defederate on principle and I'm sure it helps to curate a better experience for the people looking for that. Personally I'd rather make the choice myself to block communities I don't like and leave defederation on an instance level to just blocking illegal content and poor moderation and the like.

view more: next ›

brian

joined 1 year ago