Все статьи
-
Leaderboard walk-through: score events, a derived sorted set and rebuildable rankings
A design walk-through for leaderboards: server-authoritative score events with an idempotency key as the truth, one sorted set per board period as a derived index answering top-N and single-member rank queries, tie rules encoded into the score, period boundaries routed by occurrence time, and rebuilds as a routine.
-
Redirects 301, 302, 307 and 308: which ones preserve the request method
301 and 302 permit a user agent to turn a redirected POST into a GET; 307 and 308 forbid changing the method, so the body is resent; 303 always switches to a GET of another resource. 301 and 308 are heuristically cacheable, 302 and 307 are not. Choose by permanence and by whether the method must survive.
-
Однократная настройка модуля logging в точке входа
Библиотеки получают логгеры и не настраивают обработчики; приложение один раз при запуске задаёт обработчики, уровни и форматы, чтобы управлять выводом из одного места и избегать дубликатов.
-
Reading the load average and understanding the OOM killer
Linux load average counts runnable and uninterruptible-sleep tasks over 1, 5 and 15 minutes, so a high number with idle CPUs points at I/O or a hung filesystem. When memory cannot be reclaimed, the OOM killer picks a task by badness score, which oom_score_adj shifts from -1000 (never) to +1000 (first).
-
Файл CONTRIBUTING, отвечающий на первые пять вопросов новичка
Прежде чем писать код, потенциальный участник спрашивает: нужно ли это изменение, как его предложить, что обязан содержать запрос на включение изменений, когда ждать ответа и как принятое изменение попадёт к пользователям. Файл CONTRIBUTING, последовательно отвечающий на эти пять вопросов и дающий ссылки по остальным, призван предотвратить запросы, которые отклонят из-за выхода за рамки проекта или отсутствия тестов.
-
Стереоскопический XR-рендеринг: позы, проекции и слои изображения каждого вида
Создавайте согласованные стереовиды по данным среды выполнения и проверяйте multiview-оптимизации без потери геометрии и эффектов отдельного глаза.
-
Как превратить отчёт об ошибке в регрессионный тест
Перед исправлением воспроизведите ошибку в падающем автоматическом тесте, который ссылается на отчёт. Тест подтверждает исправление и предотвращает возвращение ошибки.
-
LoRA: низкоранговая адаптация и реальные границы экономии памяти
LoRA обучает низкоранговое обновление, оставляя базовые веса фиксированными. Она уменьшает число обучаемых параметров и их состояния оптимизатора, но базовая модель, активации и совместимость развёртывания остаются важны.
-
Игровой framework Unreal: распределение правил, общего состояния и владения телом
Отделяйте правила сервера, реплицируемые сведения о матче, управление игрока и управляемое тело, чтобы возрождение и сеть не смешивали их обязанности.
-
What share of shipped features are still used 90 days after release, and what happened to the unused ones and their flags?
Open question: feature-flag tools such as Unleash attach an expected lifetime to a flag and mark it potentially stale once that lifetime passes, which covers the flag but not the feature; for products that track feature usage, what share of features released in a year had meaningful use after 90 days, what happened to the rest (removed, hidden, kept), and did their flags and code follow?
-
Проверка целостности установленных пакетов Debian и Ubuntu с debsums и dpkg --verify
debsums сравнивает установленные файлы с MD5-суммами, записанными при сборке пакета, dpkg --verify (начиная с dpkg 1.17.2) сравнивает метаданные, записанные в самой базе dpkg, а dpkg -S/-L отвечают на вопросы «какому пакету принадлежит этот файл» и «какие файлы установил пакет», прежде чем решать, нужна ли переустановка.
-
Managing certificates from PowerShell: the Cert: drive, PFX import/export, and binding one to IIS
Browsing Cert:\LocalMachine\My, filtering by expiry with Get-ChildItem, moving a certificate with its private key via Import-PfxCertificate/Export-PfxCertificate, New-SelfSignedCertificate for test use only, and binding the result in IIS with New-WebBinding or checking it with netsh http show sslcert.
-
State units beside every measurement
Make measurement records interpretable by keeping units, aggregation and population beside each value.
-
IBM i security basics for administration: special authorities, object authority, QSECURITY, and QAUDJRN
IBM i access control rests on special authorities such as *ALLOBJ and *SECADM granted per user profile, object-level authorities checked with DSPOBJAUT/EDTOBJAUT, the QSECURITY system value that sets the enforcement level, and the QAUDJRN audit journal that records what happened — all administration and auditing, no exploitation.
-
Logging a consumer PM2.5 sensor: what to record beside each reading and what the number cannot say
A consumer particulate sensor reports an estimate of the mass of particles 2.5 micrometres and smaller; the EPA states that such sensors come with lower accuracy and higher uncertainty than regulatory monitors, describes collocation with reference instruments as an effective way to assess them, and notes that an outdoor correction may not apply indoors and that changing temperature and humidity may affect some sensors. A household log therefore stores the raw value, the averaging interval, placement, indoor events and the nearest official monitor's value with its distance.
-
Testing authorization through resource relationships rather than role names
Check whether a caller can act on a particular object through the relationship the product actually promises. This proposed lab method treats role labels as fixture attributes, not as the test oracle.
-
Modelling states with Literal, Enum and TypedDict
Replace free strings and loose dictionaries with Literal unions, enumerations and TypedDicts so that impossible states are rejected by the type checker and documented in one place.
-
make as a task runner: phony targets, tabs and one shell per line
A Makefile is a workable entry point for a repository's commands if command targets are declared .PHONY, recipe lines start with a tab, and it is understood that each recipe line runs in its own shell unless .ONESHELL is set; keep the default goal harmless and keep real file dependencies real.
-
Постановка стоп через IK: сохраняйте контакт, не мешая циклу ходьбы
Стройте цели стоп по рельефу, учитывайте досягаемость ног и фазы контакта, согласуя положение таза с якорями на движущихся платформах.
-
Recursion versus iteration: stack depth, limits and when to convert
Recursion mirrors tree-shaped problems but spends one stack frame per level; the stack is bounded by the interpreter's recursion limit or the thread's stack size, so recursion over input-controlled depth is a crash waiting to happen. Convert to an explicit stack or loop when depth grows with input size.
Машиночитаемо: JSON