Vftdan Channel
25 subscribers
110 photos
2 videos
9 files
178 links
author: @vft_dan
Download Telegram
~ πŸ”οΈŽ gnu/m43
Compiling C software:

- 5 seconds codegen
- 30 seconds compiling C code
- 1 second linking
- 34 hours of autotools checking whether it's running in a universe where 2+2=4

Link to post
❀4
Forwarded from meme tutorial
"stock" and "vanilla" are synonyms in modding, but not in soup
😁4
header-includes:
- '`\makeatletter`{=latex}'
- '`\AtBeginDocument{\let\theauthor\@author}`{=latex}'
- '`\AtBeginDocument{\let\thetitle\@title}`{=latex}'
- '`\makeatother`{=latex}'
🀯1
~ Why is it not allowed to initialize a flexible array field with a sized array in order to specify how much stack/global memory to reserve?

typedef struct {
long length;
int values[] __attribute__((__counted_by__(length)));
} MyType;

MyType instance = {
.length = 10,
.values = (int[10]) { [5] = 2 },
};

Link to post
πŸ€”1😭1
Vftdan Channel
~ Why is it not allowed to initialize a flexible array field with a sized array in order to specify how much stack/global memory to reserve? typedef struct { long length; int values[] __attribute__((__counted_by__(length))); } MyType; MyType instance…
Ah, it's not even possible to non-initializer-assign sized arrays

src/common/util/fixed/tensor.c:27:28: error: assignment to expression with array type
27 | *(int(*)[3][3])(x.items) = (int[3][3]) {
| ^
😭1
~ πŸ”οΈŽ γ€Œ Extra Fristi 」
what if we had a sneakernet but globally

Link to post
~ πŸ”οΈŽ Kris :v_bi:
happy international mens day!!!

Link to post
πŸ₯°1
Is the result of getting sizeof of a VLA type that does not fit into the address space defined?
πŸ€”1
Vftdan Channel
Me: *selects several dozens unloaded firefox tabs and drags them to another window* Firefox: "oh, you also want to load them all!" *proceeds to eat up all available resources*
Also, is it possible to delay tab loading until the previous tab finishes loading, i. e. to send requests and receive pages sequentially instead of concurrently?
πŸ€”1
~ πŸ”οΈŽ pulusound
emacs users horrified to discover that "meta-x" now means two awful social media companies

Link to post
😭1
~ πŸ”οΈŽ Vftdan
@dysfun
Is a type system even good if typechecking doesn't require running an SMT solver?

Link to post
πŸ₯΄1
~ πŸ”οΈŽ tgirl johnny truant πŸ³οΈβ€βš§οΈπŸ³οΈβ€πŸŒˆ
people were weird at me about using Hz to measure "accepted connections per second", so I'm pleased to announce that I'm going to start measuring it in Becquerel instead

Link to post
Ok, fine, vftdan.bsky.social
🫑2
~ πŸ”οΈŽ Astra!
now that’s what i missed on bsky this whole time

Link to post
Forwarded from Rzeczy zabawne (Wojtek)
😭2
Happy New Year!

I think I have even less to say this time. Things from the previous year post still mostly apply.

My communication online continues to be primarily with @hatkidchan and in chats he is a member of.
I think I was mostly writing in C and a bit in Java in the free time. My biggest project was probably input event remapping utility/service. I also tried writing an interpreter for a minimalistic dynamically-scoped language, but I stopped at the attempt to introduce coroutines that are required (unless I add another features) to make the language Turing-complete, everything using C on a single call stack, so I had to implement stack-like structures for everything that is asynchronous or otherwise risks overflowing the C call stack.
In Java I was modifying or writing my own small Minecraft mods, and also I modified a keyboard application for Android.

Thanks everyone!
❀4
~ The Minecraft equivalent of car-dependent infrastructure is elytra-dependent infrastructure.

Link to post
❀1😁1
Forwarded from 0xFABC0FFEEBADC0DE
Why did we stop using these?

I'd want a pocket computer just like this, with a cheap low-power display and a compact basic keyboard, but with modern silicon that can run Linux in text mode, a wireless card and a sleek minimalist chassis.

Like a separate device as a replacement for Termux on my phone, whose battery could last a while.
❀1
~ Does #TeX/#LaTeX provide a way for overfull hboxes to overlap the left margin instead of the right margin (exactly by the amount it is overfull)? I tried to use flushright environment, but it doesn't seem to shift the overfull hbox.

Link to post