> Krapivin was not held back by the conventional wisdom for the simple reason that he was unaware of it.
🔥1🥴1
~ 🔁︎ 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
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
~
Link to post
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
>
>
Why...
find libs/ -name '*.o' -exec touch {} \; && nice make -j6 install>
Building CXX object libs/...cpp.oWhy...
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
Or maybe even not all, but only same-sized
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
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;}) ));
(originally there was illegal conversion instead of static assertion)
Vftdan Channel
~ Uhh... Does _Generic in #C typecheck non-chosen branches? Link to post
Also,
Shouldn't it have these instead:
?
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)
?
~ 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
Link to post
Why does my OBS Studio 25.0.3+dfsg1-2 not have the "Start Virtual Camera" button 🤔
Vftdan Channel
Why does my OBS Studio 25.0.3+dfsg1-2 not have the "Start Virtual Camera" button 🤔
$ v4l2-ctl -D --all -d /dev/video7
Driver Info:
Driver name : v4l2 loopback
Card type : V4L2 Loopback
Bus info : platform:v4l2loopback-000
Driver version : 5.4.78
Capabilities : 0x85208002
Video Output
Video Memory-to-Memory
Read/Write
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x05208002
Video Output
Video Memory-to-Memory
Read/Write
Streaming
Extended Pix Format
Priority: 0
Video output: 0 (loopback in)
Format Video Output:
Width/Height : 0/0
Pixel Format : 'BGR4' (32-bit BGRA/X 8-8-8-8)
Field : None
Bytes per Line : 0
Size Image : 0
Colorspace : sRGB
Transfer Function : Default (maps to sRGB)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
Quantization : Default (maps to Full Range)
Flags :
Streaming Parameters Video Capture:
Frames per second: 30.000 (30/1)
Read buffers : 8
Streaming Parameters Video Output:
Frames per second: 30.000 (30/1)
Write buffers : 8
User Controls
keep_format 0x0098f900 (bool) : default=0 value=0
sustain_framerate 0x0098f901 (bool) : default=0 value=0
timeout 0x0098f902 (int) : min=0 max=100000 step=1 default=0 value=0
timeout_image_io 0x0098f903 (bool) : default=0 value=0
$ ls /usr/lib/x86_64-linux-gnu/obs-plugins/
decklink-ouput-ui.so
frontend-tools.so
image-source.so
linux-alsa.so
linux-capture.so
linux-decklink.so
linux-jack.so
linux-pulseaudio.so
linux-v4l2.so
obs-ffmpeg
obs-ffmpeg.so
obs-filters.so
obs-outputs.so
obs-transitions.so
obs-x264.so
rtmp-services.so
text-freetype2.so
vlc-video.so