A think I learned a while ago: If you implement a , make it possible to scroll past the last line that contains text. If you don't, using it can be quite annoying at times. As a fallback, at least make sure that the viewport scrolls up when you type past the last line, otherwise the text a user types will spill out of the visible viewport once per typed line.

Btw: Don't ever buy an MSI Creator TRX40 motherboard! At least not if you don't want to fully dissamble it just to replace the BIOS battery.

(also it sometimes crashes in a way that reset by holding the power button doesn't work anymore and I need to turn off the power supply)

is the best language ever 🙄 . Ever set a value to 0 via CLI parameter and wondered why it still took the default, then remembered that go encourages using default-Value (0 for integers) as an indicator of absence or "wanting the default value", then set the CLI parameter to 1 and suddenly it is taken into account?

Just happened to me because someone used an int where a pointer to int would have been necessary in go.


I've just signed the open letter calling for the removal of the entire Board of the and for to be removed from all leadership positions, including the GNU Project.


I propose to rename artificial intelligence to artificial Intuition,

because that's exactly what it is most of the time. A machine trained to make decisions based on intuitive "gut feeling". (Note that there are exceptions to that of course, there is machine learning that doesn't work Like that, but most of what ist called AI does)

FSMaxB boosted
FSMaxB boosted

Every time a dating site works as advertised, they just lost two customers.

Today's tip: Don't partition already partitioned data using the same hash function that it has already been partitioned with.

Or: Application specific keys for hash functions are there for a reason, don't use the same for different applications.

FSMaxB boosted

Remember: You are not responsible for dealing with someone who is "good hearted and means well, just a freak", but tires your Emotional mental capacities. Especially if the person keeps overstepping boundaries and tries to negotiate what your boundaries are.

Key takeaway: Consider your /etc/shadow to be containing essentially plain text passwords.

-> Don't reuse Linux login passwords for anything else
-> Encrypt your system partition (and be sure to configure a sensible key derivation function when setting it up using cryptsetup, I don't think they use sensible defaults yet. In other words: Tell cryptsetup to use Argon2id and optimise --iter-time and --pbkdf-* to be as slow and memory consuming as acceptable)

Show thread

OMG, why can't we have nice things. Just found out that passwords in /etc/shadow are hashed using SHA-512 by default (which is the least bad option ...) but only 5000 rounds by default (not that more rounds would make it significantly more resistant against brute force in any case).

Today: Have you ever looked at the semantics of "round" in your programming language. Look at JavaScript and Python for example.

Show thread

The biggest unsolved problems of applied computer science:
* floating point numbers
* date/time
* text

Just found some interesting code in jemalloc's implementation of a mutex:

if (ncpus == 1) {
goto label_spin_done;


I quite like the idea of the new operator, although I think it looks ugly.

Show thread
Show older

Everyone is welcome as long as you follow our code of conduct! Thank you. Mastodon.cloud is maintained by Sujitech, LLC.