aes

joined 2 years ago
[–] aes@programming.dev 1 points 3 months ago (1 children)

For 32-bit space I can simply make a 512MB Bitmask lol and then AND/OR the two Bitmask. Easy

Uh, no, that's O(n), yeah?

[–] aes@programming.dev 2 points 3 months ago (1 children)

That's not what I need

That's maybe something I think is sus. If it's at all possible, make a before-rebase branch, and make a small change in a rebase, check that the results are the same, then do another. I wrote git-test specifically for this work flow. (it runs tests, but only if the tree is one or hasn't seen before)

https://github.com/spotify/git-test

[–] aes@programming.dev 5 points 4 months ago

Change who's around you.

Plan B, try to change how you let them affect you. Easier said than done, but very effective when pulled off.

The perspective shift is this: if they bully you, tease you, put you down, and you get angry and sad, notice that you let them decide your feelings. Instead, view what they say, as something that says more about them than it does you.

Source: I struggled with bullying. I'm still considered odd, but that I'm OK with that.

[–] aes@programming.dev 1 points 4 months ago

No, but that's what it meant. Or maybe it was malicious, but it doesn't matter, because you need to give it the best interpretation. Somebody else reading it might take that interpretation and agree, so write for them, not the original commenter. (troll or not)

[–] aes@programming.dev 1 points 5 months ago

I'm glad you're enjoying PHP and have given me another perspective on the subject.

This comment is not optimized for engagement.

This is why I'm here.

[–] aes@programming.dev 7 points 5 months ago

I really prefer .config and .cache to just having random crap in your home directory. It comes with fallbacks, too, if you want things somewhere else.

xdg dirs are a win. I don't know which parts you might be thinking about, (and quite possibly being quite right about,) but this part, at least, is good.

[–] aes@programming.dev 2 points 5 months ago

I use the same setup with Syncthing and Obsidian. The git plugin sometimes gets confused, but nothing I can't untangle. I also use Syncthing for pictures off my phone, and ebooks onto it.

Actually, I think I do have a setup that might qualify as unusual: I use the scheduled backup feature of Podcast Addict to get a listing of listened podcast episodes, and then I inject them into my Obsidian notes.

[–] aes@programming.dev 3 points 5 months ago (2 children)

Tap water is so cheap it might as well be free, and it's probably included in the rent in a lot of places.

I guess it's not free in places that need to have a revolution first?

[–] aes@programming.dev 0 points 6 months ago

This.

Also, one of the machines is running the git plugin, so things get saved in my Forgejo as well. I guess I could set it up so they save to hit, but in different branches. 🤔

[–] aes@programming.dev 1 points 6 months ago (1 children)

Fair, but it's also just a way of saying that programming isn't a task for humans. (At least not in the correctness aspect)

[–] aes@programming.dev 1 points 6 months ago

Could also be a capital thing, which is why I'm curious. Cycling some of our streets here in Stockholm is definitely like, "oh, you had the idea to fit that thing in here" at all the drivers.

[–] aes@programming.dev 17 points 6 months ago (2 children)

It'd be interesting to see it by weight of those cars. My impression is that Italy has a lot of really small cars, while we here in Sweden have a lot of the US-style Emotional Support Vehicles

view more: next ›