research notes · Romanian and English

ark

Technical investigations and research notes by .

Source-led notes on software, systems, hardware, audio, philosophy and adjacent questions. Conclusions stay proportional to the evidence and are revised when better evidence appears.

Read the latest investigations

Topic hubs

Curated paths through the archive, with a starting selection and every relevant investigation in chronological order.

Latest investigations

  1. macOS · Reading a weak Wi-Fi link from the terminal, the two router settings that fixed it, how the RTS handshake works, and why the rest of the tuning proved nothing.
  2. macOS · Why AI coding agents make Ghostty fire hundreds of rejected Spotlight donations a minute on macOS 27, how to measure it, and which agent settings stop it.
  3. How language models search for faster accelerator kernels, with compiler semantics, stochastic superoptimization, MLA, roofline limits, and independent validation.
  4. Computer vision · How geometry correction, QR landmarks, masking, and Reed-Solomon redundancy recovered an extremely foreshortened symbol.
  5. Audio · A source-led examination of converter measurements, gain, loudspeakers, rooms, hearing, and controlled listening.
  6. Apple silicon · An OFF-ON-OFF experiment measures the unified-memory and WindowServer cost of a scaled 4K desktop behind a powered-off external monitor.
  7. Apple silicon · A randomized pointer chase maps M4 E- and P-core L1/L2 latency, follows the spill into memory, and tests whether CPU loads reveal the physical SLC.
  8. Apple silicon · A 100 GiB uncached write exposes a dynamic pseudo-SLC window, its sustained-write cliff, and the practical APFS and swap implications.

Archive

  1. Apple silicon · SystemStats and camera A/B tests separate hardware codec work from Zoom's GPU-heavy processing, rendering, and camera effects.
  2. Linux memory · How to choose from the machine’s failure mode, kernel version, and live counters—and why this 5.63 GiB ARM host should keep zswap.
  3. Apple silicon · How Quake’s remaster reached Apple M4 through pinned D3DMetal, runtime D3D11 shaders, startup skips, and controlled Wine/CoreAudio diagnostics.
  4. Philosophy · Nietzsche’s theory of disciplined rivalry, its anti-monopoly insight, and the hierarchy, cruelty, and exclusion its Greek ideal leaves uncounted.
  5. Apple silicon · How Quake II RTX reached Apple M4 hardware ray tracing and god rays through CrossOver, experimental MoltenVK, and shader-emulated sampler reduction.
  6. Philosophy · Where the internet label came from, what Zapffe actually argued, and where metaphor ends and antinatalism begins.
  7. Programming languages · How Clojure's immutable data, explicit state, polymorphism, and REPL workflow can sharpen Ruby design without replacing Ruby's strengths.
  8. Databases · A failure-mode-first guide to WAL, busy handling, checkpoints, durability, backups, replication, measurement, and when PostgreSQL is simpler.
  9. Apple silicon · What M4 microbenchmarks reveal about SME’s shared cluster-level throughput, ZA pipeline, precision behavior, and software scheduling.
  10. Music · How conversational refinement moved a listening search from Nine Inch Nails and Ghost Dubs towards Earth, slower pacing, and deeper low end.
  11. Ethics · How compassion, evidence, justice, dignity, and individual responsibility can work together in morally charged public decisions.
  12. CPU architecture · How classic SMT, NVIDIA Spatial Multithreading, many-way server SMT, and non-SMT cores trade throughput against latency, isolation, and power.
  13. An analysis of 40,087 Hacker News hiring posts from 2019-May 2024, with a separate extension through July 2026: Ruby, Rails, remote work, and AI mentions.
  14. CPU architecture · An expanded A14-M5 timeline covering frontend width, NEON, SME, caches, clocks, process nodes, benchmarks, efficiency, and practical coding guidance.
  15. macOS · How a Cronos crash wedged the Apple GPU stack, survived WindowServer recovery, and left half of a 16 GB Mac beyond userspace repair.
  16. Ruby · A synthesis of John Ousterhout and Robert C. Martin on method length, comments, TDD, deep modules, and practical team policy.
  17. macOS · How to keep a Mac awake on battery, choose the right assertion, set a timeout, and tie sleep prevention to useful work.
  18. macOS · What actually helps an Apple silicon Mac run or feel faster, which settings are worth checking, and which performance tweaks are folklore.
  19. Psychology · A reflective use of SCARF for naming social threat, anxiety loops, conflict reactions, and individual repair moves.
  20. Games · A technical note on how Days Gone sells large Freaker hordes through group motion, staging, selective detail, and practical game-engine illusion.
  21. Music · A section-by-section index of 143 artists, albums, tracks, and compositions from the issue, with Spotify links and listening context.
  22. Apple silicon · Review of a 302-page reverse-engineering guide to the ANE: architecture, Core ML boundaries, numerics, roofline limits, compression, workload placement, and caveats.
  23. How Go inserts semicolons at newlines, why this affects opening braces, and what token-by-token examples reveal about the lexer and gofmt.
  24. Filosofie · Diferenta dintre ateism ca pozitie despre zei si umanismul secular ca etica laica, sens si responsabilitate umana.
  25. Istorie · Educatie politica in Romania comunista, filosofie, comparatie universitara si distorsionarea Holocaustului.
  26. Rails · Notes on callbacks, invariants, explicit model operations, durable events, and webhook delivery records.
  27. Indoor air · Humidity control for a Constanța apartment, with dust allergy concerns, prior bedroom mold, dehumidifier use, and AC routines.
  28. Audio · Insumare acustica, crossover, gain, phase, delay, anulari in camera si interpretarea masuratorilor.
  29. Istorie politica · Analiza despre generatia adulta in 1989, tranzitia postcomunista, victoria FSN in 1990 si responsabilitate sociala dupa Revolutie.
  30. Rails - What changes when an Active Record lookup removes eager loading: correctness, lazy associations, N+1 risk, and safe simplification checks.
  31. Audio · Notes on WiiM Amp Ultra DAC filter choices, Spotify lossless, YouTube Opus, and Wharfedale Super Linton listening.
  32. Ruby - SICP ideas translated into Ruby habits: higher-order methods, blocks, data barriers, generic operations, streams, state, and small DSLs.
  33. Security · Poisoned packages, compromised maintainers, lockfile review, CI secrets, and gem publishing controls for Ruby and Rails teams.
  34. Audio · Wharfedale Super Linton speakers, NAD amplification, DAC choices, room placement, PEQ, and the KEF R3 Meta comparison.
  35. Rails · PostgreSQL temp-file warnings as a query-shape problem: eager loading, row multiplication, pagination, preload patterns, strict loading, and indexing.
  36. Ruby tooling - Designing an AVIF converter with metadata-driven presets, quality search, SSIM checks, YUV choices, and cautious parallel encoding.
  37. Concurrency · Notes on hardware transactional memory, Intel TSX, software transactional memory, Clojure STM, and why the idea survived in narrower forms.
  38. macOS · Notes on animation-related defaults, Reduce Motion, Dock and Finder tweaks, safe loading, rollback, and perceived responsiveness versus real performance.
  39. Compression · Lossless byte-level neural text compression, range coding, deterministic decoding, .nc containers, copy experts, retrieval, calibration, and meta-gating.
  40. Hardware · M4 MacBook Air cooling with internal thermal pads, optional copper shims, heatsink stands, and quiet airflow.
  41. What iogpu.wired_limit_mb controls on Apple silicon, how wired RAM differs from VRAM, and how a Ruby benchmark tracks compression, swap, and GPU limits.
  42. Rails · Why a background worker can observe an order's previous state when checkout is still committing, how nested transactions hide the race, and which fix provides which guarantee.
  43. Rails · Brotli, gzip, Rack compression, Propshaft asset delivery, precompressed files, CDN caching, and when runtime compression makes sense.
  44. Programming languages · A syntax-ergonomics comparison of Ruby, Go, Rust, and Zig using the same small command-line greeting app.
  45. Functional programming · Recursion schemes, folds with memory, zygomorphisms, histomorphisms, prepromorphisms, and naming.
  46. Fiction · Two short stories about Nietzsche, ordinary rooms, music, repetition, and the pressure of affirming life as it returns.
  47. Philosophy of LLMs · Evolution as a change in meaning, action, temporality, trust, and ordinary practice, without leaning on brain, species, or tool metaphors.
  48. Ruby · Zero-allocation HTTP parsing, span-based request state, GC pressure, OxCaml's httpz, and the lifetime problem created by pipelining.
  49. Software engineering · Maintainability, safe change, design integrity, verification, and why LLM agents do not make good code optional.
  50. Identify the classic ESP32's Xtensa CPU, distinguish RISC-V family members, and compare its memory and peripherals with a Pentium MMX system.
  51. Paradise Lost After God
    Literature and philosophy · Milton's epic read through atheist, determinist, Nietzschean, and Camusian questions about freedom, rebellion, foreknowledge, and exile.
  52. Audio · HD600, Chord Mojo 1, HD660S2, Cayin RU9, iFi iTube2, Nutube buffers, and when changing the chain makes more sense than replacing headphones.
  53. Rails API design · Stale article updates, lock_version, 409 conflict responses, frontend merge choices, and why optimistic locking fits long-lived CMS editing.
  54. Software education · Why programming books still matter after LLM coding agents: judgment, review, task framing, and knowing which implementation deserves to exist.
  55. Data access - Comparing sqlc and iBATIS-style SQL-first persistence: generated types, explicit queries, domain boundaries, and maintenance tradeoffs.
  56. CPU architecture - A Ruby-readable explanation of Arm SVE, fixed-width SIMD, predicates, tails, and why Apple M1 should not be described as an SVE machine.
  57. Infrastructure - How Docker Desktop, WSL2, Linux containers, and NixOS differ as runtime boundaries and reproducibility tools.
  58. Deployment - A checklist for running multiple Rails apps on one VM with Capistrano: release paths, service units, env files, databases, and rollbacks.
  59. Philosophy - A concise map of Bernard Williams on integrity, systematic moral theory, moral luck, practical conflict, and common criticisms.
  60. Linux - What the RWF_UNCACHED patch set tries to solve: temporary page-cache use, eviction after I/O, and the gap between buffered and direct I/O.
  61. Rails - A concise comparison of Propshaft and Sprockets: digesting, processing, manifest behavior, compatibility, and migration tradeoffs.
  62. Ruby - Method visibility explained through private methods, protected methods, explicit receivers, comparison helpers, and everyday design choices.
  63. Web backends - Why SSE can fail through proxy buffering, and how long-polling can preserve user-visible progress with simpler infrastructure assumptions.
  64. Rails - A pragmatic review of service objects: useful operation boundaries, risks of an anemic model, and ways to move behavior back into Rails-shaped code.
  65. Rails - Notes on consuming or relaying Server-Sent Events from backend code: streaming reads, line parsing, JSON events, timeouts, and cleanup.
  66. PostgreSQL - Notes on TOAST compression, LZ4, generated test data, table-size measurements, and why compression tests need realistic payloads.
  67. Ruby - Where SIMD helps string processing, why ASCII fast paths need Unicode fallbacks, and how a C extension should preserve Ruby behavior.
  68. Compare Glaze's style cloaking with Nightshade's data poisoning: what each tries to protect, how image processing affects it, and publishing trade-offs.
  69. Ruby - Fibers explained through cooperative scheduling, non-preemptive multitasking, blocking I/O, fiber schedulers, and practical use cases.
  70. Databases - How selection, projection, joins, grouping, and ordering map from relational algebra into SQL and Rails Arel-style query building.
  71. Databases - A practical comparison of SQLite and PostgreSQL for Rails apps: deployment simplicity, concurrency, backups, operations, and future migration cost.
  72. Ruby - A merged note on Ruby and Lisp ideas: code as data, Ripper S-expressions, metaprogramming, identity and state, and practical Ruby examples.
  73. JRuby - How a Rails-on-JRuby app might call Clojure/Hiccup-style HTML rendering, and why the boundary should stay narrow and explicit.
  74. Rails - How memory_profiler fits into memory work: allocation reports, Active Record object pressure, query shape, caching, and practical fixes.
  75. PostgreSQL - How tsquery, tsvector weights, ranking, and pg_trgm complement each other for exact, linguistic, and typo-tolerant search.
  76. Systems - Why Kafka and PostgreSQL solve different consistency problems, and how transactions, event logs, and outboxes fit together.
  77. Ruby - A process-model note on dRuby, Unix pipes, forked workers, request routing, and what prefork servers such as Unicorn make explicit.
  78. Ruby performance · Why allocator fragmentation and repeated bytecode compilation are separate costs that require different measurements.
  79. Ruby and databases · Why Arel is a narrow relational escape hatch inside Active Record while Sequel makes datasets the public architecture.

Editorial method

Ark publishes source-led research notes that are revised when better evidence or clearer explanations become available. Publication dates identify the original note; substantial later revisions are identified separately.

Read the editorial note and corrections policy.