79 bookmarks

2025-01-23

80.

Introduction | Chrome Extension Security

extensions.neplox.security

Welcome to our site dedicated to creating a comprehensive knowledge base on the security of Chromium extensions.

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

2025-01-19

78.

Using LD, the GNU linker - Options

ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_node/ld_3.html

--wrap symbol
Use a wrapper function for symbol. Any undefined reference to
symbol will be resolved to wrap_symbol. Any
undefined reference to real_symbol will be resolved to
symbol.

This can be used to provide a wrapper for a system function. The
wrapper function should be called wrap_symbol. If it
wishes to call the system function, it should call
real_symbol.

Here is a trivial example:

2025-01-10

77.

За свои сервисы надо привыкать платить, чтобы самому не стать продуктом

mastodon.social/@sitnik_ru/113741909017572836

за свои сервисы надо привыкать платить, чтобы самому не стать продуктом.

2025-01-09

76.

Optimal quantization solves a minimum Optimal Transport projection. Lloyd algorithm computes a stationary point of this non-convex energy

x.com/gabrielpeyre/status/1877233844048339088

Gabriel Peyré в X: «Optimal quantization solves a minimum Optimal Transport projection. Lloyd algorithm computes a stationary point of this non-convex energy (see work by Canas and Rosasco https://t.co/yladoE9Q4O) https://t.co/JNNo8sGVPZ» / X

2024-12-29

75.

Voronoi maps tutorial

www.redblobgames.com/x/2022-voronoi-maps-tutorial

2024-12-28

74.

WebGL Eye Pattern

codepen.io/ksenia-k/pen/poYZpyQ

...

73.

Рациократия: Теория общества и государства

ratiocracy.sbs

Данная книга - это попытка выстроить рационально обоснованную модель (теорию) общественного устройства на основе относительно небольшого набора базовых постулатов и логических рассуждений.
Такой подход позволяет обосновывать выбор тех или иных общественных решений, ведь на любой вопрос гражданина вроде 'почему я должен?' или 'почему мне нельзя?' должен быть обоснованный ответ, иначе индивид имеет полное право усомниться в справедливости данного общественного устройства.
Одновременно с этим книгу также можно рассматривать как:
- сжатую систематизацию либеральных и демократических идей об устройстве общества, в некотором смысле выжимку западной политической философии;
- достаточно полный список вопросов, необходимых для рассмотрения при обсуждении устройства общества;
- руководство по созданию свободной и демократической конституции;
- попытку автора разобраться в интересующих его вопросах и описать общество, в котором хотелось бы жить.

72.

ОРИГАМИ ВОРОНОГО

blog.altsoph.com/оригами-вороного

“ОРИГАМИ ВОРОНОГО” is published by Aleksey Tikhonov in Altsoph’s blog.

71.

VORONOI CITY

blog.altsoph.com/voronoi-city

“VORONOI CITY” is published by Aleksey Tikhonov in Altsoph’s blog.

70.

ВОРОБОИДЫ!

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

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

69.

World Airports Voronoi

www.jasondavies.com/maps/voronoi/airports

The major airports of the world and their closest regions.

68.

El Patrón de los Números Primos: Prime Number Patterns

www.jasondavies.com/primos

Prime number patterns.

67.

voronoi tessellation

twitter.com/KangarooPhysics/status/1253336959755251716
66.

Rod Bogart в X: «A Voronoi diagram of people enjoying the sun in Bryant Park. https://t.co/yRqrZ2lMzJ» / X

twitter.com/RodBogart/status/865361346459832320?s=20
65.

nobuyuki83/floor_plan

github.com/nobuyuki83/floor_plan

Contribute to nobuyuki83/floor_plan development by creating an account on GitHub.

64.

alexadam/text-effects: Text Effects

github.com/alexadam/text-effects

Text Effects. Contribute to alexadam/text-effects development by creating an account on GitHub.

63.

vnglst/vonoroi-virus

github.com/vnglst/vonoroi-virus

Contribute to vnglst/vonoroi-virus development by creating an account on GitHub.

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
61.

Воссоздаем Minecraft-подобную генерацию мира на Python

habr.com/ru/articles/590547

...используя диаграммы Вороного и много шумов Перлина/симплексных шумов Прим. переводчика : стоит отметить, что непосредственно в Minecraft используются отличные от описанных ниже подходов — игра не...

60.

Voronoi & Delaunay

sunandstuff.com/voronoi
59.

Discrete Voronoi with Jump Flooding / Volodymyr Agafonkin | Observable

observablehq.com/@mourner/discrete-voronoi-with-jump-flooding
58.

Road network of shortest paths from multiple robots to a single target via Dijkstra’s algorithm - Online Technical Discussion Groups—Wolfram Community

community.wolfram.com/groups/-/m/t/3343868

Wolfram Community forum discussion about Road network of shortest paths from multiple robots to a single target via Dijkstra’s algorithm. Stay on top of important topics and build connections by joining Wolfram Community groups relevant to your interests.

57.

Автоматерия | Чат про клеточные автоматы, особенно обратимые.

t.me/automatter
56.

Клеточные автоматы

www.youtube.com/watch?v=skhIRK3cUBM

Эта лекция посвящена клеточным автоматам и рождению сложности из простоты.

00:00 Введение. Представление содокладчика
01:50 Проблема соответствия Поста
13:10 Булевы функции и машинки Кнута
19:20 Игра "Жизнь"
23:50 Одномерные автоматы и классификация процессов
34:03 Микрофон переходит к Тимуру: снова машины Тьюринга
36:30 Системы тегов
42:47 Циклические системы тегов
47:17 Системы глайдеров и проблемы установления эквивалентности клеточных автоматов
51:03 Язык глайдеров и последовательности де Брёйна
59:25 Почти раскрытая тайна эфира и завершение

Лекторы: Константин Владимиров, Тимур Голубович

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-30

52.

Overpass API/Technical details

wiki.openstreetmap.org/wiki/Overpass_API/Technical_details

2024-11-28

Reposted 51.

Extremely Linear Git History

westling.dev/b/extremely-linear-git

With our extremely linear history, the first commit in a repo hash a hash that starts with 0000000, the second commit is 0000001, the third is 0000002, and so on!

2024-11-22

50.

Как я одержал победу над создателем чита для MMO-игры

habr.com/ru/companies/ruvds/articles/855258

Тогда я решил, что для скачивания чита нужен открытый порт. В Windows есть API, который позволяет видеть, какие на машине открыты порты. С его помощью оказалось несложно выяснить, какие IP-адреса использовали взломщики.

2024-11-13

49.

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

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

2024-11-12

48.

Ментальный покер — Википедия

ru.wikipedia.org/wiki/Ментальный_покер

«Могут ли два нечестных друг к другу игрока сыграть в честный покер без использования карт, а, например, по телефону?»

47.

dumpstack.io: Прозрачное подключение по ssh через существующее ssh соединение

dumpstack.io/1434499200_ssh_over_ssh.html

Host avel.cain
User root
HostName 203.0.113.59
PreferredAuthentications publickey
IdentityFile ~/.ssh/avel
ProxyCommand ssh cain nc %h %p 2> /dev/null

2024-11-04

46.

зажми ctrl+enter. Откроется почтовый клиент

grishaev.me/mail-rules

Выдели и зажми ctrl+enter. Откроется почтовый клиент, в котором появится черновик с письмом

возможно люди не осмелятся такое использовать, но сочетание действий огонь

2024-10-30

Reposted 45.

Мне врал… пробел – Telegraph

telegra.ph/Mne-vral-probel-02-19

Оказывается, у некоторых мембранных клавиатур на мембране есть секретные клавиши для других регионов! То есть, у них есть скрытый потенциал. Дополнительные клавиши!! Обалдеть.

2024-10-21

44.

maps.stamen.com / toner

maps.stamen.com/toner

Stamen's toner map style is lovingly crafted and free for the taking.

43.

Filetypes / Airports

airports.swtch.tel

A collection of filetypes and airports with identical names.

2024-09-22

42.

userjs/mastodon at master · afontenot/userjs

github.com/afontenot/userjs/tree/master/mastodon

Mastodon - Threaded Replies

2024-09-13

41.

Необычные приёмы отладки, которые браузер от вас скрывает

habr.com/ru/companies/ruvds/articles/842428

▍ Пропуск загрузки страницы

Не останавливать выполнение, пока не пройдёт 5 секунд после загрузки страницы:

performance.now() >5000

2024-09-10

40.

Add option to change app language independent of phone language · Issue #2643 · streetcomplete/StreetComplete

github.com/streetcomplete/StreetComplete/issues/2643#issuecomment-792952040

Почему в мобильных приложениях должен быть переключатель языка

2024-08-18

39.

Subpixel Text Encoding - msarnoff.org

www.msarnoff.org/millitext

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-08-03

37.

Console.trace() - Интерфейсы веб API | MDN

developer.mozilla.org/ru/docs/Web/API/console/trace_static

2024-07-29

Reposted 36.

Just discovered in amazement that in Bash scripts,... | Nathan Manceaux-Panot

friends.grishka.me/posts/1392836

any variable named SECONDS will automatically increment every second. Bash is bonkers

2024-07-25

35.

Про гибридные ядра

linux-kernel-labs.github.io/refs/heads/master/so2/lec1-intro.html#micro-kernels-vs-monolithic-kernels

Linus Torvalds said of this issue:

"As to the whole 'hybrid kernel' thing - it's just marketing. It's 'oh, those microkernels had good PR, how can we try to get good PR for our working kernel? Oh, I know, let's use a cool name and try to imply that it has all the PR advantages that that other system has'."

34.

Alligator Eggs!

worrydream.com/AlligatorEggs

In 2007, I met Philip Wadler at a conference, who mentioned to me that he wanted to teach lambda calculus to his eight-year-old children.

2024-07-08

32.

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

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

2024-06-28

31.

A New Kind Of Dance Science | Zack's Dance Lab

zacksdancelab.com/blog/a-new-kind-of-dance-science

_"How do you write down how to dance?"_

2024-06-20

30.

Mathematical and Puzzle Fonts/Typefaces

erikdemaine.org/fonts

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-04-10

27.

Basic writing and formatting syntax - GitHub Docs

docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts

Alerts are a Markdown extension based on the blockquote syntax that you can use to emphasize critical information.

2024-03-29

26.

Результаты Московского Марафона 24 сентября 2017 года

moscowmarathon2017.datalaboratory.ru/results?runners=1,18

2024-03-16

25.

Sliced Time and Space

dev.overpass-api.de/blog/sliced_time_and_space.html

All versions

Another desire has been to deliver all version of a given object.
This is not on the mission statement for Overpass API:
First, it does not make much sense because the geometry of a way or relation can change
without a new version.
Second, Overpass API is designed around time slices and not object's life cycles.
Nonetheless, I have implemented a pair of functions that allows at least the baseline functionality:

timeline(way,100);
for (t["created"])
{
retro (_.val)
{
way(100);
out meta;
}
}

24.

CSS Naked Day

css-naked-day.github.io

April 9 is CSS Naked Day!

2024-02-26

23.

PulseAudioDB

a.exozy.me/posts/pulseaudiodb

Anything can be a key-value database if you misuse it well enough!

2024-02-23

22.

31 год назад создан язык программирования Ruby.

www.linux.org.ru/news/development/17531208

язык обладает независимой от операционной системы реализацией многопоточности

внезапно

21.

Закон Хипса — Википедия

ru.wikipedia.org/wiki/Закон_Хипса

эмпирическая закономерность в лингвистике, описывающая распределение числа уникальных слов в документе (или наборе документов) как функцию от его длины.

20.

‘HelloWorld’ and ‘main()’ meet minimalistic | The IntelliJ IDEA Blog

blog.jetbrains.com/idea/2024/02/helloworld-and-main-meet-minimalistic

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
1