20 random bookmarks

2025-01-21

79.

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

70.

ВОРОБОИДЫ!

blog.altsoph.com/воробоиды

“ВОРОБОИДЫ!” is published by Aleksey Tikhonov in Altsoph’s blog.

62.

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/1374465100581507081
60.

Voronoi & Delaunay

sunandstuff.com/voronoi

2024-12-20

55.

JetBrains/ideavim: Some facts about Vim

github.com/JetBrains/ideavim

2024-12-14

Reposted 54.

The Illustrated TLS 1.2 Connection

tls12.xargs.org

semi-interactively explains how TLS works, very cool

2024-12-07

53.

Thunderclap

thunderclap.io

Modern computers are vulnerable to malicious peripheral devices

2024-11-13

49.

Блочные шифры и как их не надо использовать

docs.google.com/presentation/d/183xn3t2X8eEkWf6YVDmfbVmn2-JtWK_HhHrbUHLVHVk/edit?usp=sharing

2024-08-17

38.

Major tech companies are producing far more carbon emissions than they suggest in their sustainability reports

mastodon.online/@parismarx/112974103327865869

2024-07-08

32.

Управение регистром букв с помощью CSS

github.com/pietervanheijningen/clickbait-remover-for-youtube/blob/1cb68bff2a5c339a25c8e361419e9876f0cd4824/js/youtube.js#L66-L68

2024-06-04

29.

Система журналирования в 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

28.

Time travel debugging - Wikipedia

en.wikipedia.org/wiki/Time_travel_debugging

2024-03-16

24.

CSS Naked Day

css-naked-day.github.io

April 9 is CSS Naked Day!

2024-02-19

Reposted 19.

Pagefind | Pagefind — Static low-bandwidth search at scale

pagefind.app

Pagefind 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

18.

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

17.

C Preprocessor tricks, tips, and idioms

github.com/pfultz2/Cloak/wiki/C-Preprocessor-tricks,-tips,-and-idioms

2024-01-16

13.

Jeffrey Paul: Your Computer Isn't Yours (ru)

sneak.berlin/i18n/2020-11-12-your-computer-isnt-yours.ru

2023-12-24

6.

Mappable API Documentation and Code Examples

mappable.world/docs

Explore Mappable's comprehensive developer documentation, API references, guides, and code samples to kickstart your integration with Mappable's APIs.

2023-12-11

2.

Guideline for public transport | OsmAnd

osmand.net/blog/guideline-pt

Hi!

1.

Overpass turbo/Wizard — OpenStreetMap Wiki

wiki.openstreetmap.org/wiki/Overpass_turbo/Wizard#Wizard_filled_by_URL-parameter