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
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
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
@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
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
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!
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
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.
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
Link to post