How is it possible that ubuntu 22.04 use an older glibc version than the Debian version it's based on? #2204 #c++ #glibc

https://askubuntu.com/q/1564816/612

How is it possible that ubuntu 22.04 use an older glibc version than the Debian version it's based on?

I'm rather beginner with c++ development and could not find an answer to this question. I wanted to compile on Debian 12 (oldest lts) to make sure that all downstream distros could run my little to...

Ask Ubuntu
This Week In Security: Getting Back Up To Speed

Editor’s Note: Over the course of nearly 300 posts, Jonathan Bennett set a very high bar for this column, so we knew it needed to be placed in the hands of somebody who could do it justice. T…

Hackaday

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

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

https://habr.com/ru/articles/1005118/

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

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

Функцию rand из стандартной библиотеки языка Си для генерации псевдослучайных чисел, наверное, не ругал только ленивый. В довольно известном докладе Rand considered harmful рассказывалось о проблемах...

Хабр

#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 https://www.linuxfromscratch.org/blfs/view/systemd/postlfs/efivar.html

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

https://github.com/rhboot/efivar/pull/292.patch

all in all https://linuxfromscratch.org/lfs/view/13.0-systemd-rc1/ seems to be in good shape

#linux #efivar #glibc

efivar-39

GNU Toolchain Office Hours starting soon!

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

https://gcc.gnu.org/wiki/OfficeHours

#GNUToolchain #OpenSource #GCC #GDB #GLIBC

OfficeHours - GCC Wiki

#TIL: #glibc'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/ #wireshark, 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.

#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

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 '

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: https://u.fsf.org/463 #glibc #Emacs #CopyrightAssignments
Free Software Supporter -- Issue 203, March 2025 — Free Software Foundation — Working together for free software