If you're red-green blind and wanna make git gui's diffs more readable, edit /usr/lib/git-core/git-gui and replace all instances of "" (in lines starting with "$ui_diff") with "blue".
Then the diff will be red vs blue instead of red vs green.

(gitk lets you configure the colors in Edit -> Preferences -> Colors, I wish git gui had color settings as well, or at least used git config's color.diff.*)

All browser prompts need a "Lie" function in addition to Allow and Block.

<Website> wants to:
* Know your location
* Use your camera
[ Allow ] [ Block ] [ Lie ]

You don't need privacy until you do, and then it is too late

Never ever ‘declaw’ your cat or any other cat for that matter. NEVER.

I reported a bug at GCC: gcc.gnu.org/bugzilla/show_bug.

Which was closed because apparently the relevant flag for this is -ffp-contract which defaults to "=fast" which can apparently violate the language standard.

I'm really shocked that GCC thinks it's ok to violate the language standard in "normal" optimization levels - this is what -Ofast and -ffast-math etc are for!

Show thread

Unfortunately fmsub uses a "infinite precision intermediate result" for the multiplication, so in the end you get the difference between the multiplications in double(?) precision and in single precision, which often is not 0.
This already happens with relatively small values in the hundreds. Clang only does this with -ffast-math (which is OK).

Godbolt link: gcc.godbolt.org/z/8K3vKh7b3

More elaborate writeup at github.com/RobertBeckebans/RBD

Show thread

TIL that GCC miscompiles cross product calculations if the x86 FMA extension is enabled and -O2 or higher is used (*without* -ffast-math or similar).
float z = v1.x * v2.y - v1.y * v2.x should be 0.0 if both multiplications have the same result (like when v1==v2), but it isn't, because GCC tries to be clever and does a normal multiplication for v1.y*v2.x (stored as 32bit float), but then uses vfmsub132ss for v1.x * v2.y and subtracting the other result.

Listening to fitness advice from people who experience runner's high is like listening to dating advice from hot people.

Head's up: #Qualys teared the #Exim MTA literally apart. They discovered 21 #vulnerabilities: 11 local vulnerabilities, and 10 remote vulnerabilities.

If you run Exim connected to the Internet or local with untrusted users, you should either patch now or shut it down.


Wow. #Signal owned #Cellebrite - a vendor that sells mobile phone hacking and extraction software to shady goverments around the work - big time.

Read this awesome article and be sure to watch the clip.



Je suis pas sûr que ça passe, mais bon, si certains veulent tester…

@thor @Jessica
2000s techie: My goal is to connect everything to the internet

2020s techie: My goal is to disconnect everything from the internet

dhewm3 1.5.1 is finally released: dhewm3.org/#dhewm3-1.5.1
Major changes since 1.5.0:
- Brought back Win32 editing tools
- Doom3 Demo data supported
- Sound timing a lot more precise
- Better fullscreen support (incl. DSR/VSR)
- Many bugfixes
- See link for more details :-)

When you setup Kubernetes to host your personal blog

bumping this for the weekend - play some Doom3 with the dhewm3 source port!

Show thread

I finally released dhewm3 1.5.1 RC3, the hopefully last release candidate for 1.5.1: dhewm3.org/#dhewm3-1.5.1-relea

Some changes since RC2:
- Fullscreen improvements, support nvidia DSR/AMD VSR
- Updated Mod DLLs incl. the newly added LibreCoop and D3: Lost Mission
- Several Bugfixes

Please test - thanks in advance! :-)

I'm generally against corporal punishment, but I'm willing to make exceptions for people who write
if(!strcmp(a, b)) { ... }

Show older
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!