2025-01-21
Debugging an evil Go runtime bug
marcan.st/2017/12/debugging-an-evil-go-runtime-bug#hash-based-differential-compilationПрактическое применение задачи про мышей и яд в пробирках:
Hash-based differential compilation. The basic premise is to compile part of the kernel with the option turned on, and part of the kernel with the option turned off.
This hashes the object file name with SHA-1, then checks a given bit of the hash out of the first 32 bits (identified by the $BIT environment variable). If the bit is 0, it builds without CONFIG_OPTIMIZE_INLINING. If it is 1, it builds with CONFIG_OPTIMIZE_INLINING. I found that the kernel had around 685 object files at this point (my minimization effort had paid off), which requires about 10 bits for a unique identification
2024-12-28
ВОРОБОИДЫ!
blog.altsoph.com/воробоиды“ВОРОБОИДЫ!” is published by Aleksey Tikhonov in Altsoph’s blog.
Robert Fathauer в X: «I stopped by Sprouts today to pick up some groceries and was surprised to find them selling Voronoi tessellations. https://t.co/xmb1Z213lA» / X
x.com/RobFathauerArt/status/1374465100581507081Voronoi & Delaunay
sunandstuff.com/voronoi2024-12-20
JetBrains/ideavim: Some facts about Vim
github.com/JetBrains/ideavim2024-12-14
The Illustrated TLS 1.2 Connection
tls12.xargs.orgsemi-interactively explains how TLS works, very cool
2024-12-07
Thunderclap
thunderclap.ioModern computers are vulnerable to malicious peripheral devices
2024-11-13
Блочные шифры и как их не надо использовать
docs.google.com/presentation/d/183xn3t2X8eEkWf6YVDmfbVmn2-JtWK_HhHrbUHLVHVk/edit?usp=sharingБлочные шифры и как их не надо использовать @g1inko, 2022
orig: https://docs.google.com/presentation/d/1Ar6HAqUFBDEFY3S2AiZLYyVrbkVNlzhKCOVU3Zf-cZA/edit#slide=id.p
2024-08-17
Major tech companies are producing far more carbon emissions than they suggest in their sustainability reports
mastodon.online/@parismarx/112974103327865869Major tech companies are producing far more carbon emissions than they suggest in their sustainability reports.
They’re lobbying hard to rewrite the rules on how emissions are calculated to show net zero on paper, but not in practice.
https://www.ft.com/content/2d6fc319-2165-42fb-8de1-0edf1d765be3
2024-07-08
Управение регистром букв с помощью CSS
github.com/pietervanheijningen/clickbait-remover-for-youtube/blob/1cb68bff2a5c339a25c8e361419e9876f0cd4824/js/youtube.js#L66-L682024-06-04
Система журналирования в FF3.6 | Форум Mozilla Россия
forum.mozilla-russia.org/viewtopic.php?pid=418174#p418174Поиск по базе посещений сайтов в Firefox
SELECT moz_places.url, datetime(moz_historyvisits.visit_date/1000000,'unixepoch','localtime') as date
FROM moz_places, moz_historyvisits
WHERE moz_places.id = moz_historyvisits.place_id
2024-04-21
Time travel debugging - Wikipedia
en.wikipedia.org/wiki/Time_travel_debugging2024-03-16
CSS Naked Day
css-naked-day.github.ioApril 9 is CSS Naked Day!
2024-02-19
Pagefind | Pagefind — Static low-bandwidth search at scale
pagefind.appPagefind is a fully static search library that aims to perform well on large sites, while using as little of your users’ bandwidth as possible, and without hosting any infrastructure.
2024-01-29
Dump nginx config from running process?
serverfault.com/questions/361421/dump-nginx-config-from-running-process# Set pid of nginx master process here
pid=8192# generate gdb commands from the process's memory mappings using awk
cat /proc/$pid/maps | awk '$6 !~ "^/" {split ($1,addrs,"-"); print "dump memory mem_" addrs[1] " 0x" addrs[1] " 0x" addrs[2] ;}END{print "quit"}' > gdb-commands# use gdb with the -x option to dump these memory regions to mem_* files
gdb -p $pid -x gdb-commands# look for some (any) nginx.conf text
grep worker_connections mem_*
grep server_name mem_*
2024-01-28
C Preprocessor tricks, tips, and idioms
github.com/pfultz2/Cloak/wiki/C-Preprocessor-tricks,-tips,-and-idioms2024-01-16
Jeffrey Paul: Your Computer Isn't Yours (ru)
sneak.berlin/i18n/2020-11-12-your-computer-isnt-yours.ru2023-12-24
Mappable API Documentation and Code Examples
mappable.world/docsExplore Mappable's comprehensive developer documentation, API references, guides, and code samples to kickstart your integration with Mappable's APIs.
2023-12-11
Guideline for public transport | OsmAnd
osmand.net/blog/guideline-ptHi!