Today our community wants to share a minimal lightweight threading support #library *dfthread* (an inspired name, isn't it ;) ).
It mostly shares the same functionality of threads.h (https://en.cppreference.com/w/c/thread), from the #C11 standard, which is often and sadly overlooked in practice in our opinion.
#library #c11 #c #programming #software #cprogramming #code
The early controversy was around how it would affect user-supplied streamers (e.g. YouTube, TikTok, etc.), but #C11 isn't supposed to hit them but still seems a tad fuzzy.
I do wonder how this will affect niche, educational, or corporate streaming services. Example: SkillShare, Lynda, even something like paid-for video trainings. Will they have to provide Canadian instructors?
2/2
I know most of my followers are not in #Canada, but bill #C11 is actually quite interesting and may have an impact beyond Canada.
I'm not an expert, but the new law practically extends Canadian Content (CanCon) regulations to streaming _services_.
CanCon regulations aim to protect local Canadian media by setting quotas of local vs foreign media. If you've seen Schitt's Creek, you've seen CanCon that spilled into international markets.
1/2
https://www.cbc.ca/news/politics/c11-online-streaming-1.6824314
Time to budget for across-the-board price increases and make a list of services to cut now that #C11 has passed
出発前C11の息吹【SL冬の湿原号】釧路駅 2023年2月撮影 https://www.alojapan.com/742767/%e5%87%ba%e7%99%ba%e5%89%8dc11%e3%81%ae%e6%81%af%e5%90%b9%e3%80%90sl%e5%86%ac%e3%81%ae%e6%b9%bf%e5%8e%9f%e5%8f%b7%e3%80%91%e9%87%a7%e8%b7%af%e9%a7%85%e3%80%802023%e5%b9%b42%e6%9c%88%e6%92%ae%e5%bd%b1/
#Hokkaido #Hokkaidodestinations #hokkaidotour #hokkaidotravel #hokkaidotrip #Hokkaidovacation #Japanrailway #JapanTravel #JR #JR北海道 #travel #レビュー #北海道 #旅行 #時刻表 #普通列車 #特急列車 #観光 #鉄オタ #鉄ヲタ #鉄道 #鉄道会社を研究するチャンネル
#shorts #c11 #蒸気機関車 #hokkaido #hokkaidodestinations #hokkaidotour #hokkaidotravel #hokkaidotrip #hokkaidovacation #japanrailway #japantravel #jr #jr北海道 #travel #レビュー #北海道 #旅行 #時刻表 #普通列車 #特急列車 #観光 #鉄オタ #鉄ヲタ #鉄道 #鉄道会社を研究するチャンネル
Canadian’s consider sending a message to your MPs about Bill C-11. It could have a big impact on digital creators (while also not changing the problems with #cancon ) And even if we work in the Canadian TV industry, who of us isn’t also a digital creator. #c11
#CanadianBroadcasting
https://digitalfirstcanada.ca/bills/fix-c11/
#canadianbroadcasting #c11 #cancon
Last weekend I acquired a used Celestron #C11 (thanks Greg M!), but the interminable clouds and rain have prevented me from getting it collimated until I squeezed in a few minutes between storms last night. I got close to aligned so I was able to take some unguided, unfocused test shots. Cluster M46 is 13 30s exposures, Orion nebula is just one 30s exposure. Monday or Tuesday night may be clear - Let’s Gooooo.
Just to show that I did my homework; the following "works", if we accept that I have to duplicate the function:
#define magic_function(data, len, delims, strs) _Generic((data), \
default: _Generic((len), \
default: _Generic((delims), \
default: _Generic((strs), \
char***: magic_function_nonconst, \
const char***: magic_function_const \
))))((data), (len), (delims), (strs))
Absolute madness. #C11
Great:
“Few Lesser Known Tricks, Quirks And Features Of C”, Joren Garenar (https://blog.joren.ga/less-known-c).
Via HN: https://news.ycombinator.com/item?id=34855331
On Lobsters: https://lobste.rs/s/if8osu/few_lesser_known_tricks_quirks_features_c
#c #programming #tricks #c11 #c99
Recalling the furor in Canada only a few months ago over #C11, when the government proposed ensuring that #platforms promote Canadian cultural content: You can't interfere with the algorithm! For reasons.
Also serves as a reminder that these companies cannot be trusted to accurately represent how they actually function.
h/t @hypervisible
wut?! "Blink only has a ~166kb footprint; and (b) Blink goes 2x faster than Qemu on some benchmarks such as emulating GCC." https://github.com/jart/blink #VirtualMachine #C11#POSIX #x86
While looking for how to make an origami lily I noticed that YouTube was using its app to make threats about #c11 thereby proving the discoverability problem they're lobbying against
I've used #C99 as my default #cprogramming option for a while now. The first time I need a function per data type I'll try switch up to #C11 and use Generics.
Good overview of C23 changes, general and organised per standard library header. Thanks @JensGustedt for all your great work! #cprogramming #C99 #C11 #C17 #C2x #C23 https://htmlpreview.github.io/?https://icube-forge.unistra.fr/icps/c23-library/-/raw/main/README.html
#cprogramming #c99 #c11 #c17 #c2x #c23
#programmez #linux "Linus Torvalds décide de passer le code du noyau Linux au C moderne" #C #C11 #C89 #C99 #Cmoderne #LinusTorvald ... https://www.programmez.com/actualites/linus-torvalds-decide-de-passer-le-code-du-noyau-linux-au-c-moderne-33684
#programmez #linux #c #c11 #c89 #c99 #Cmoderne #linustorvald
#programmez #linux "Linus Torvalds décide de passer le code du noyau Linux au C moderne" #C #C11 #C89 #C99 #Cmoderne #LinusTorvald ... https://www.programmez.com/actualites/linus-torvalds-decide-de-passer-le-code-du-noyau-linux-au-c-moderne-33684
#linustorvald #Cmoderne #c99 #c89 #c11 #c #linux #programmez