#glibc

2026-03-01

Почему функции rand и lrand48 из glibc годятся только для Тетриса: о случайных числах всерьёз

Функцию rand из стандартной библиотеки языка Си для генерации псевдослучайных чисел, наверное, не ругал только ленивый. В довольно известном докладе Rand considered harmful рассказывалось о проблемах с переносимостью, ограниченным диапазоном, многопоточностью, качеством и т.п. Иногда в учебниках упоминают о том, что алгоритм в rand может быть не очень качественным, иметь проблемы с младшими битами, периодом, прохождением статистических тестов. Но крайне редко можно увидеть разбор конкретных критериев, выявляющих дефекты генераторов. В этой статье я постараюсь наглядно показать не просто отдельные недостатки rand , lrand48 и random из glibc, но их полную непригодность для каких-либо вычислений в принципе. Также вы увидите превосходство поточных шифров над minstd , линейным конгруэнтным генератором из 1980-х, не только в качестве, но и в производительности.

habr.com/ru/articles/1005118/

#Генераторы_псевдослучайных_чисел #glibc #си #c++ #математическая_статистика #математическое_моделирование #тестирование_по

VoidZeroOne :tranarchy_a_genderqueer: :v_trans: :v_pan:TheOneDoc@tech.lgbt
2026-02-23

#linuxfromscratch installation completed

Yes #UEFI is still in BLFS.
That's very very BAD in 2026

The only "big" problem in Chi's run was linuxfromscratch.org/blfs/view

the patch that's needed so it builds clean with glibc 2.43 can be found here

github.com/rhboot/efivar/pull/

all in all linuxfromscratch.org/lfs/view/ seems to be in good shape

#linux #efivar #glibc

GCC - GNU Toolchaingnutools@fosstodon.org
2026-02-19

GNU Toolchain Office Hours starting soon!

Europe/Americas: Thursday, Feb 19 at 8:00 AM PST / 11:00 AM EST / 16:00 CET

gcc.gnu.org/wiki/OfficeHours

#GNUToolchain #OpenSource #GCC #GDB #GLIBC

Cody Casterline 🏳️‍🌈NfNitLoop
2026-02-17

: 's resolv.conf has an option, single-request, which disables parallel DNS requests for IPv4/6 and makes them sequential. This is a fix for "DNS servers [that] cannot handle these queries properly".

But, after a bit of digging w/ , the issue seems to be that by default glibc makes those parallel requests USING THE SAME UDP SOURCE PORT. 🤦‍♂️ So buggy or overzealous NAT/firewall rules are likely causing the 2nd response to get dropped.

+1 port >> +1 network round trip latency.

pell :linux:pell@fosstodon.org
2026-02-14

#ilovefs #ilovefs26 #ilovefreesoftwareday

Thank you to these Free Software projects I use every day (and to those I know I'm forgetting):
#bash #btrfs #glibc #gnucoreutils #guile #htop #keyd #kitty #labwc #librewolf #man #mvp #python #sudo #tmux #tty-clock #vim #voidlinux #waybar #zathura

athmane mokraoui [BoF] ⏚ꝃ⌁⁂ButterflyOfFire@mstdn.fr
2026-02-03

Fait intéressant, je viens de mettre à jour #glibc sur Linux Mint :

`sudo dpkg-reconfigure locales`

Snippet :

...
error: Bad entry 'ar_IN '
error: Bad entry 'ar_SS '
error: Bad entry 'en_AG '
error: Bad entry 'en_IL '
error: Bad entry 'en_IN '
error: Bad entry 'en_NG '
error: Bad entry 'en_ZM '
error: Bad entry 'kab_DZ '
ssy_ER.UTF-8.../usr/share/i18n/locales/ssy_ER:109: LC_ADDRESS: syntax error
done
error: Bad entry 'sw_KE '
error: Bad entry 'sw_TZ '
error: Bad entry 'zgh_MA '

Free Software Foundationfsf@hostux.social
2026-01-29

Assigning your copyright to the FSF helps defend the GPL and keep software free. Thank you Neal Sidhwaney for assigning your copyright to the FSF! More at: u.fsf.org/463 #glibc #Emacs #CopyrightAssignments

StreamRadarStreamRadar
2026-01-28

📺 @firesidefedi is going live on our self-hosted Owncast server! 📺
Join here: stream.firesidefedi.live/

2026-01-27

GNU C Library (glibc), thư viện nền tảng quan trọng, chuyển từ Sourceware sang hạ tầng CTI của Linux Foundation nhằm thúc đẩy hợp tác mã nguồn mở. #GNU #Glibc #LinuxFoundation #MởNguồn #OpenSource

reddit.com/r/opensource/commen

Vivien (toujours dans le déni)gugurumbe@mastouille.fr
2026-01-27

La v20 est envoyée. Ça m’a pris quelques soirs pour vérifier tout. Mais au moins c’est envoyé !

Pour rappel, je souhaite que les options de la ligne de commande soient traduites.

patchwork.sourceware.org/proje

Alors évidemment Patchwork a reçu le mail no 5 avant la cover letter (oui désolé mon serveur perso est surchargé) donc il a tout cassé. Je devrais attendre plus entre l’envoi des patches de la série.

#glibc #gettext #i18n

Linuxiaclinuxiac
2026-01-24

GNU C Library 2.43 introduces ISO C23 features, new memory APIs, math optimizations, Unicode 17 updates, and multiple security fixes.
linuxiac.com/glibc-2-43-releas

GNU C Library 2.43 introduces ISO C23 features, new memory APIs, math optimizations, Unicode 17 updates, and multiple security fixes.
Thorsten Leemhuis (acct. 1/4)kernellogger@hachyderm.io
2026-01-24

#Glibc 2.43 is out:

inbox.sourceware.org/libc-alph

A few highlights:

* Experimental support for building with #clang has been added.

* [a bunch of ISO C23 stuff]

* Support for mseal and openat2 on #Linux

* Additional optimized and correctly rounded mathematical functions have been imported from the CORE-MATH project […]

* Unicode support has been updated to Unicode 17.0.0.

Screenshot from the top of the linked page
2026-01-24

GNU C Library 2.43 đã chính thức ra mắt với việc bổ sung thêm các tính năng C23, cùng hai hàm mới: `mseal` và `openat2`. Bản cập nhật này cải thiện hiệu suất, bảo mật và khả năng tương thích hệ thống cho các ứng dụng C. Đây là bước tiến quan trọng cho các nhà phát triển hệ thống và phần mềm nguồn mở. #glibc #Cprogramming #C23 #openat2 #mseal #lậptrìnhC #GNU #phátriểnthệthống

reddit.com/r/programming/comme

Free Software Foundationfsf@hostux.social
2026-01-21

Assigning your copyright to the FSF helps defend the GPL and keep software free. Thank you Neal Sidhwaney for assigning your copyright to the FSF! More at: u.fsf.org/463 #glibc #Emacs #CopyrightAssignments

2026-01-19

😶‍🌫️ GNU C Library fixes a security issue present since 1996 :catscoffee:
phoronix.com/news/Glibc-Securi

#CVE20260915 #GlibC

GCC - GNU Toolchaingnutools@fosstodon.org
2026-01-15

GNU Toolchain Office Hours Europe/Americas starting now!

gcc.gnu.org/wiki/OfficeHours

#GNUToolchain #OpenSource #GCC #GDB #GLIBC

GCC - GNU Toolchaingnutools@fosstodon.org
2026-01-15

GNU Toolchain Office Hours starting soon!

Europe/Americas: Thursday, Jan 15 at 8:00 AM PST / 11:00 AM EST / 16:00 CET

gcc.gnu.org/wiki/OfficeHours

#GNUToolchain #OpenSource #GCC #GDB #GLIBC

GCC - GNU Toolchaingnutools@fosstodon.org
2026-01-15

GNU Toolchain Office Hours Asia/Pacific starting now!

gcc.gnu.org/wiki/OfficeHours

#GNUToolchain #OpenSource #GCC #GDB #GLIBC

GCC - GNU Toolchaingnutools@fosstodon.org
2026-01-15

GNU Toolchain Office Hours Asia/Pacific starting in 30 minutes!

Thursday Jan 15 at 09h00 IST / 11:30 AM CST / 12:30 PM JST/ 2:30 PM AEDT / 10:30 PM EST (14 Jan) / 7:30 PM PST (14 Jan)

gcc.gnu.org/wiki/OfficeHours

#GNUToolchain #OpenSource #GCC #GDB #GLIBC

GCC - GNU Toolchaingnutools@fosstodon.org
2026-01-15

GNU Toolchain Office Hours Asia/Pacific starting soon!

Thursday Jan 15 at 09h00 IST / 11:30 AM CST / 12:30 PM JST/ 2:30 PM AEDT / 10:30 PM EST (14 Jan) / 7:30 PM PST (14 Jan)

gcc.gnu.org/wiki/OfficeHours

#GNUToolchain #OpenSource #GCC #GDB #GLIBC

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst