Skip to main content


Moving my Friendica instance to be self-hosted is one of the more intense sysadmin-esque things I've done in awhile, but man do I love this platform.

in reply to agamemnonymous

its a type of low risk low yield financial instrument

it stands for "certificate of doesn't make any money"

This entry was edited (1 week ago)

Unknown parent

lemmy - Link to source
expr
Vscode definitely can't handle large files like vim can. I can open files that are multiple GBs in vim without issue. Vscode definitely cannot.
Unknown parent

lemmy - Link to source
expr

What do you mean "build our dev environments around vim"? If you mean they write dev tooling in vimscript and explicitly require everyone to use it, I actually agree with you. I don't believe employers should really ever force any particular editor or IDE if the work is getting done. I would be equally annoyed by a workplace forcing me to use vscode instead of vim. It would slow me down way too much.

If you are just complaining that they build dev tooling as a CLI, hard disagree. That is absolutely what dev tooling should use because it's actually universal and can be used regardless of your editor choice.

At my workplace, our dev tooling is done via CLI and our developers use vim, emacs, and vscode. Because it's all CLI, it's easy for individual developers to add their own scripts to automate parts of their workflow as they see fit (and if such automations are deemed useful by the group at large, it will get merged into our shared devtools repo). We even have some editor-specific stuff in there people have written that they find useful, but it's entirely optional.


in reply to ByteSorcerer

That bools are stored in 8 bits rather than 1 is a compiler detail. I don't really see how this improves readability, unless you mean that of the compiled binary.
Unknown parent

lemmy - Link to source
homura1650

I've used it a fair amount for memory mapped IO where the hardware defined bitfields. It is also useful when you have a data format with bitfields. I'd say it is also useful when your data does not respect byte boundaries, but the only time I've run into that involved the bit order being "backwards", which means that I still had to bittwidle things back together.

From a performance perspective, a cache line is only 64 bytes. Space in registers, low level memory caches, and memory throughout are all limited as well.


in reply to HiddenLayer555

Isn't the logic inverted? I think you want a == 0 on each of those conditions

You wouldn't even need the first if you removed the space

This entry was edited (3 months ago)
in reply to ryannathans

Correct, noticed the same thing. Should have been a bang in front of each of the terms, your modulus of any of those will return a 0 when hit, which will convert to false and fail each of those conditions.

This solution will do the opposite of what was intended unless the if conditions are inverted. Then it works flawlessly and the %15 is indeed a clever solution.



Doug Arley reshared this.


This entry was edited (3 months ago)

reshared this




Doug Arley reshared this.


theFutureOfCommunication


This entry was edited (6 months ago)

reshared this

Unknown parent

lemmy - Link to source
ka1ikasan
I am thinking more and more often about doing it. "professional e-mail about how bad the last dataset was".


3D printing some door hangers because I have, uhhh, some scarves.


The Gaylord does this really cool thing where it turns $30 into just 3 beers. It's whatever, though. Just glad to be here.

#MAGFest



One-Winged Angel performed live in a Louis Vuitton fashion show wasn't on my bingo cards.

youtube.com/live/xyDSWdyhO-Q?s…





Now that I have my MiSTer FPGA up and running, I have been jumping back into a bunch of N64 games. The shock of playing Star Wars Shadow of the Empire and Star Wars Rogue Squadron back-to-back is real. The shift in quality is astounding.


Friendica instance actually posted to Bluseky, but it took forever. Still not importing the feed, but dang if that's not cool enough on its own.