Vftdan Channel
25 subscribers
110 photos
2 videos
9 files
178 links
author: @vft_dan
Download Telegram
🦋vftdan You are not a real website if you don't work outside of Chromium engine.

Link to post
💯4
Happy International Women's day to everyone applicable!
1
> Krapivin was not held back by the conventional wisdom for the simple reason that he was unaware of it.
🔥1🥴1
src:
~ 🔁 Klara in the hidden land
Holy shit: https://www.wired.com/story/undergraduate-upends-a-40-year-old-data-science-conjecture/

For the non-programmers: hash tables are one of those things you learn about in your first year as a CS student, and very likely in your first CS class. Not something you expect to read about conjecture-breaking, complexity-bounds-changing new implementations of.

Full paper: https://arxiv.org/abs/2501.02305

Link to post
🔥1
~ Failure [INSTALL_FAILED_INVALID_APK: /data/app/vmdl1725832797.tmp/base.apk specified package org.mozilla.fenix inconsistent with org.mozilla.firefox_beta]

Link to post
~ Can ffmpeg create an mkv file it won't be able to read

Link to post
😁2
>
find libs/ -name '*.o' -exec touch {} \; && nice make -j6 install

> Building CXX object libs/...cpp.o
Why...
~ Uhh...
Does _Generic in #C typecheck non-chosen branches?

Link to post
Vftdan Channel
~ Uhh... Does _Generic in #C typecheck non-chosen branches? Link to post
But it seems that it only has generated errors for all scalar branches, so it makes even less sense
Vftdan Channel
But it seems that it only has generated errors for all scalar branches, so it makes even less sense
No, I misread the error message, it points to the line with non-scalar types, it just seems to implicitly interpret scalar as {scalar}.
Vftdan Channel
~ Uhh... Does _Generic in #C typecheck non-chosen branches? Link to post
After a preprocessing I get a code of this form and it fails to compile with static assertion failed: "Unreachable":

printf(_Generic(0,
int: "Hello, world!\n",
default: sizeof(struct{_Static_assert(0, "Unreachable"); int dummy;})
));
Vftdan Channel
~ Uhh... Does _Generic in #C typecheck non-chosen branches? Link to post
Also, stdbool.h has these lines:

#define true 1
#define false 0


Shouldn't it have these instead:

#define true ((_Bool)1)
#define false ((_Bool)0)


?
Forwarded from 0xFABC0FFEEBADC0DE
3
2025-04-08.gif
4.3 KB
🖼 *oma seems to not butcher GIFs, so here it is
@vftdan
@big_louse @joe

Link to post
~ Does casting all pointers to uintptr_t until casting it back at the points of dereference strictly reduce the set of compiler/platform-defined behaviors in #C? :blobcatthink:

Link to post