Hacker News, Distilled

AI powered summaries for selected HN discussions.

Page 578 of 795

Lines of code that beat A/B testing (2012)

Multi-armed bandits vs. A/B testing

  • MAB (multi-armed bandits) are praised for maximizing reward during experiments, especially for simple, immediate metrics like clicks.
  • Supporters say MAB “beats” classic A/B by shifting traffic toward better variants earlier and generalizing well to many variants.
  • Critics argue the blog post overclaims: statistical significance requirements don’t change, and simple, well-run A/B can be equally effective for many real-world needs.
  • Several people note MAB is best seen as an optimization tool; A/B is better as a learning tool to estimate true effects.

Implementation & infrastructure complexity

  • Biggest cost is not the algorithm but state management and online feedback loops: extra DB columns, performance concerns, outcome computation.
  • Simple client-side randomization + logging is often much easier than wiring online reward tracking for MAB.
  • Consistent user assignment (stickiness) complicates both A/B and MAB; hashing, seeding, and feature flags are common tools, with pitfalls around non‑uniformity and ID assumptions.

Statistics, significance, and traffic constraints

  • Many sites lack enough traffic to reach significance in reasonable time, especially with >2 variants.
  • Some argue point estimates can be enough to choose a version when costs are similar, even without formal significance.
  • Others stress that if you care about effect size and significance, the article’s approach is insufficient.

Dynamic environments & bias risks

  • Standard MAB assumes static reward rates; in e‑commerce, conversions change with time of day, sales, device mix, etc.
  • Time-varying or delayed rewards can cause MAB to lock onto the wrong variant; forgetting factors and more advanced methods exist but add complexity.
  • MAB can amplify biases from bugs, eligibility issues, caching discrepancies, or mis-specified metrics, potentially converging on very bad experiences.

User experience and ethics

  • Constantly changing variants can harm UX, support workflows, and even safety (e.g., UI changes while driving).
  • Drug-trial analogy is debated: control groups “miss out” on benefits but are also protected from unknown harms.

Real-world practice & politics

  • Many organizations use A/B mostly for gradual rollouts, safety checks, and political cover rather than pure optimization.
  • There is widespread concern about “data-driven” rhetoric masking gut-driven or statistically sloppy decisions.

Disappointed with the TVs at CES 2025

Remote and Input UX Frustrations

  • Many complain about removal or downgrading of dedicated buttons (input, pause, play, numbers, mute, transport controls).
  • LG’s scroll-wheel “magic” remote is widely criticized: pause depends on app focus and often triggers wrong actions (subtitles, seeking).
  • Some newer Samsung remotes reportedly lack an input button; inputs are hidden in animated menus that reorder based on HDMI state.
  • Touch or gyro remotes (including some Apple TV generations) are seen as error-prone compared to simple button remotes.
  • A minority argue that learning long-press/home shortcuts is acceptable, but most see this as needless friction.

Desire for “Dumb” Displays and External Boxes

  • Strong demand for large, high-quality “dumb” TVs or just-big-monitors: good panels, multiple inputs, basic picture controls, no apps.
  • Common pattern: never connect the TV to the internet and use Apple TV, Roku, Chromecast, Shield, or a Pi instead.
  • Some cite commercial/signage displays or niche “non-smart” brands as imperfect but closer options.

Smart TV Enshittification: Ads, Tracking, and Control

  • Complaints about ad-filled home screens, auto-playing branded channels, and content tracking (ACR).
  • Several note that “smart” features subsidize panel prices, but feel that privacy and UX costs are too high.
  • Some TVs allow opting out or partially disabling smart features (e.g., Sony Bravia, buried options on Samsung/LG), but knowledge is rare.

HDMI, CEC, and Reliability Issues

  • HDMI CEC is described as flaky: devices randomly steal focus, fail to power on/off, or put consoles back to sleep.
  • Some Samsung models reportedly mishandle standard HDMI signals (e.g., laptops, Steam Deck) unless features like “Input Signal Plus” are disabled.

Alternatives: Monitors and Projectors

  • TVs remain cheaper per inch than monitors, but monitors generally offer better color accuracy, refresh, input lag, and ports.
  • Several use projectors instead of TVs, valuing immersion and the absence of a large black rectangle; picture quality trade-offs are accepted in dark rooms.

User Experience and Nontechnical Users

  • Input switching is seen as a major pain point for nontechnical users; confusing UX arguably helped streaming “win” over cable.
  • Some argue that remote and menu design now optimizes ad/engagement metrics rather than GOMS-style efficiency or usability.

AI on TVs: Skepticism and Niche Wishes

  • Strong pushback against paying subscriptions for LLM assistants on TVs for simple recommendations.
  • Fear of upsells, nag screens, and dark patterns if AI is embedded.
  • A few constructive ideas appear (context-aware Q&A about a show, spoiler-avoiding sports info), but commenters note current LLMs struggle with precise media recall.

Pushing the whole company into the past on purpose

Interpretation of the “fifty years” remark

  • Several readers link the closing joke (“sent it back fifty years”) to the company’s recent policy changes: ending or weakening fact-checking and explicitly allowing certain slurs and claims of mental illness about queer people.
  • Others note the line is partly a political jab layered on top of a genuine technical story about time smearing.

Debate over platform’s new hate‑speech policy

  • One commenter cites the policy language: it generally bans attacks based on mental characteristics, but explicitly allows allegations of mental illness or abnormality when based on gender or sexual orientation.
  • Some argue this is regressive and hostile to queer people; at least one former employee says they now “root for [the company’s] complete destruction.”
  • Others see the change as a return toward older “centrist” norms or greater free-speech tolerance.

Gender dysphoria, mental illness, and medical coverage

  • Strong disagreement on whether labeling queer or trans people as mentally ill is hateful or legitimate debate.
  • One side emphasizes decades of research and lived experience, framing gender dysphoria as a condition where gender-affirming care (especially HRT) is effective and often life‑saving, with relatively low cost and low regret.
  • Others compare transition treatments to cosmetic surgery and question why they should be publicly funded or described as “life‑saving.”
  • Further sub‑threads debate pregnancy-as-condition vs. illness, pro‑natalist policy motives, and whether credentials matter to be correct.

Free speech, censorship, and political alignment

  • Some view the new policy as “sending the company back 50 years” to a time of more open speech.
  • Others argue that equating current moderation with “censorship” ignores historical state censorship under past regimes.
  • A long tangent covers US politics: shifts in Gen Z voting patterns, Trump’s support, suburban vs. rural voting power, and claims about oligarchy, Section 230 leverage, and antitrust as structural problems.

Technical discussion: time smearing and clock synchronization

  • Separate from the politics, several comments discuss time smearing for leap seconds.
  • They critique crude approaches like watch -n1 date for millisecond accuracy, discuss sampling effects, and suggest better tools (NTP queries, clockdiff, custom programs that sync on second boundaries).
  • There is mention of different smear windows (e.g., 24 hours) and trade‑offs for NTP convergence.

Miscellaneous

  • Brief side notes on studio/GPS clocks, orange LED wall clocks, cost of broadcast displays, and one commenter’s wistful wish to work on similar “amazing” technical problems.

Soldering the Tek way

Soldering irons, tips, and heat transfer

  • Several posts focus on difficulty tinning and maintaining tips, especially once the iron plating oxidizes.
  • Suggestions include: ensuring adequate power (underpowered irons struggle more than overheated ones), using genuine tips, keeping a solder layer on the tip when powering down, and occasionally carefully abrading burnt crud (e.g., screwdriver edge or fine sandpaper) to expose plating before re-tinning.
  • Copper tips are debated: some see them as a workaround, others argue they worsen heat-loss issues on weak irons.
  • Temperature equivalence is stressed: “400°C” on a cheap station is not the same as on a Metcal/JBC due to power delivery and recovery.

Lead-free vs leaded solder (usability)

  • Many say modern lead-free (e.g., SAC alloys, SnCuNiGe) is “fine” if you:
    • Use a higher temperature (often 10–30°C above leaded),
    • Add plenty of flux (often extra gel/paste),
    • Use good quality solder (Kester, Chipquik, Felder, etc.).
  • Others still revert to leaded for difficult or repetitive work, saying it flows cleaner and faster.
  • There’s disagreement on recommended temps (some cite ~300–320°C, others 350–400°C) and on how bad cheap lead-free wire is.

Health, fumes, and safety

  • Consensus: for hobbyists, primary risk is flux fumes and ingesting/inhailing particulates, not lead vapor (lead’s boiling point is far above solder temps; vapor pressure is tiny).
  • Mitigations: fume extraction, ventilation, not touching your face, washing hands after soldering, and keeping the workspace clean.
  • Lead-free is preferred by some around children; others argue leaded is acceptable with precautions.
  • Rosin flux is noted as a sensitizer; occasional soldering without extraction is likely low risk, but frequent work should use extraction.
  • One comment mentions nutritional supplements for heavy-metal removal without detailed evidence; overall efficacy is unclear.

Tools and techniques

  • High-performance stations (Metcal induction, JBC cartridge systems, Pinecil) are praised for rapid heat delivery and stability; many describe a “night and day” improvement over budget irons.
  • Detailed technique advice: preheat boards (hotplate, hot-air, or heater), choose larger tips for large copper pours, add flux generously, clean joints with isopropyl alcohol, and avoid “feeding solder to the iron” instead of the joint.
  • Mixing leaded solder onto lead-free joints is called problematic by some (reliability concerns) and acceptable by others if old solder is mostly removed—outcome is disputed.

Alternatives, training, and miscellany

  • Conductive glues, crimps, and wire-wrap are mentioned as alternatives but seen as niche, bulkier, or less reliable than solder.
  • Several references to formal high-reliability/military soldering standards emphasize cleaning, inspection, and strict geometry of joints.
  • Tektronix historical methods (ceramic terminal strips with silver, silver-bearing solder) are admired for robustness and beauty.
  • Side threads cover solder/“sodder” pronunciation differences and nostalgia for learning on old Weller guns.

Ask HN: A friend has brain cancer: any bio hacks that worked?

Standard Treatments & Prognosis

  • GBM is described as highly lethal; typical survival 12–24 months even with current best care.
  • Common “state of the art” components: surgery (often awake craniotomy), radiation, temozolomide chemotherapy, Tumor Treating Fields/Optune devices, monoclonal antibodies; some mention high‑dose vitamin C and melatonin as possible adjuncts.
  • Several posters stress that no existing regimen is curative; treatments are probabilistic and mainly extend or improve quality of life.
  • Some warn against overtreatment and emphasize trade‑offs: more months vs more disability and side effects.
  • Multiple people urge focusing on clinical trials (immunotherapy, CAR‑T, vaccines, ultrasound BBB opening, mRNA and dendritic cell vaccines), genetic sequencing of tumors, and major cancer centers.

Diet, Fasting & Metabolic Approaches

  • Many highlight ketogenic or very low‑carb diets, intermittent fasting, and prolonged fasting, citing:
    • Hypothesis that many cancers are glucose‑dependent.
    • Preclinical and early clinical work on keto, caloric restriction, autophagy, and “press‑pulse” metabolic strategies.
  • Others push back:
    • Body maintains glucose even in ketosis; “starving” cancer via diet alone is doubted.
    • Some research suggests keto might promote metastasis in some contexts.
    • Consensus in thread: diet may support treatment and tolerance to chemo/radiation but is unlikely to “stop” cancer by itself.
  • Fasting is discussed as potentially making chemo more tolerable and modulating immunity, but need for more controlled trials is repeated.

Fringe / Alternative / Experimental Ideas

  • Mentioned: ivermectin/fenbendazole, bloodroot/black salve, large herbal protocols, high‑dose supplements, cannabis, hyperthermia, rotating magnets/oscillating magnetic fields, bacterial and viral therapies (including Zika), Hymecromone, mTOR/rapamycin, psychedelics, ayurvedic and yogic regimens.
  • Some posters share personal or family anecdotes of benefit; others share anecdotes of no effect or harm.
  • There is strong skepticism and anger around ivermectin, bloodroot, and non‑evidence‑based claims; several call them misinformation or dangerous.
  • Recurrent theme: if such methods clearly worked, they’d likely already be in standard oncology; most cited papers are preclinical, small, or “promising but unproven.”

Quality of Life, Agency & Ethics of Advice

  • Many emphasize that the most reliable “hack” is to be present: help with logistics, reduce stress, enable vacations or bucket‑list experiences, support addiction risks, and consider end‑of‑life psychological support (including supervised psychedelic therapy).
  • Heated debate over “false hope” vs respecting patient agency:
    • One camp argues sharing unproven hacks burdens patients and delays acceptance.
    • The other argues that, in a terminal setting, low‑cost moonshots plus clear expectations are reasonable, as long as standard care and oncologists guide decisions.
  • Repeated advice: any nonstandard intervention should be discussed with the treating oncologist.

How to delete your Facebook account

Reasons for deleting or avoiding Facebook now

  • Some deleted accounts in direct response to recent policy changes around AI tools and moderation, fearing future misuse of their likeness and looser controls on harmful content.
  • Others say deletion is long overdue given past behavior (shadow profiles, past censorship, security issues).
  • A few argue the timing is odd: they feel the right time to leave was when Facebook tightened censorship (e.g., around COVID), not now as it claims to loosen it.

Free speech, misinformation, and moderation

  • One camp stresses free speech as paramount, warning that censorship can resemble authoritarian controls and should not be replicated in the US.
  • Another camp argues misinformation demonstrably causes harm (Iraq, Jan 6, COVID) and that platforms must curb lies and hate.
  • Several see the issue as highly subjective and worry about unaccountable corporate gatekeepers deciding “truth.”
  • Some propose a “middle ground,” e.g., protecting US users’ speech but limiting foreign state-backed influence.

Meta’s new hate speech / harassment rules

  • New guidelines allowing certain insults when tied to gender or sexual orientation (e.g., about mental illness, “weird”) are seen by some as explicitly singling out LGBTQ+ people as fair targets.
  • Critics frame this as a rollback of protections, evidence of rising homophobia, and a sign of deeper political alignment.
  • Defenders say it’s part of unwinding overreach and that policy teams need time to “open back up.”

Account deletion, recreation, and data control

  • Multiple users report that after hard deletion they were later unable to create new accounts, even for legitimate business needs, sometimes after ID requests and with no appeal.
  • Others describe being locked out unless they upload passports or phone numbers, with weak or non-existent support.
  • Some fear deleting access while Meta still holds their data; others suggest using legal routes (EU rights, CCPA) but experiences are mixed.

Ongoing dependencies and workarounds

  • Facebook Marketplace and login integration with gyms/local businesses are major reasons people keep dormant accounts.
  • Some create minimally populated or obviously fake profiles solely for Marketplace, effectively “poisoning the well” while exploiting utility.

Psychological and social effects

  • Several describe significant mental health benefits from quitting Facebook/Instagram: less depression, less exposure to distorted “reality,” and fewer algorithmic pressures.
  • A broader critique: human brains aren’t built to process mass-scale social feeds, making large platforms “cesspits” that amplify the worst of humanity.

Why is my CPU usage always 100%?

Hardware timer bug and workaround

  • Discussion centers on a buggy Marvell timer used in an old 32-bit SoC (e.g., Chumby-era hardware) that misreports time and thus CPU usage.
  • The timer uses a capture register; a write-then-delay-then-read sequence is required, but documentation is vague.
  • Vendor docs mention the request taking “up to three timer clock cycles” and possibly longer on a “slow clock,” implying the need for multiple reads or a delay.
  • Explanation of correct timer design: either a synchronous counter, or a capture register with guaranteed completion or a “valid” flag; this hardware apparently got that wrong.

Debate over fix strategies and portability

  • Existing forks read the capture register 3–5 times; the article chose 4 as a compromise and to match vendor practice.
  • Some argue this isn’t portable across revisions, speeds, or different SoCs; others note this is already extremely hardware-specific code, so portability is limited anyway.
  • Multiple reads may be better than a CPU-only delay because register reads are tied to the timer/peripheral clock, not CPU clock.
  • An alternative proposed: bypass capture and repeatedly read the timer directly until two consecutive reads match; simple, fast, and common for counters with modest frequency.

CPU utilization, idling, and scheduling

  • Clarification that “CPU at 100%” is only desirable when there is real work; otherwise it’s just a heater.
  • Modern systems use HLT/idle instructions, interrupts, and timer coalescing so CPUs can sleep between bursts of work.
  • Multi-core and heterogeneous-core designs allow some cores to be fully off while others handle background tasks; “race to idle” is preferred over running slowly at partial load.

Resource usage, Electron, and “wasted” memory

  • Tangent on the misuse of “unused memory is wasted memory” to justify heavy apps; OS caches vs genuine bloat are distinguished.
  • Debate over Electron: some say its overhead is overblown compared to browsers; others stress it is literally another browser instance and costly on low-RAM systems.
  • Strong criticism of modern web-stacked UIs vs lean native toolkits, especially for always-on tray apps.

Misreporting, debugging, and war stories

  • Several anecdotes about misinterpreting “System Idle” as a real process, Windows and HDD/NVMe busy indicators being wrong, and CPU or network bugs being blamed on hardware.
  • Stories of badly written software (busy loops instead of sleep, synchronized servlets, overcomplicated Java workflows) causing high load and misguided hardware upgrades.
  • Some note that “cosmetic” counter bugs can still have real effects when higher-level power or scheduling logic trusts those counters.

Can we communally deprecate git checkout?

git checkout vs switch / restore

  • Many agree checkout conflates distinct actions: switching branches, updating files, and sometimes moving HEAD.
  • Supporters of switch/restore say they reduce cognitive load by separating “change branch” from “change files,” and are safer for beginners.
  • Critics argue checkout conceptually “just updates the working tree” and is fine; switch/restore feel like minor syntactic sugar not worth relearning.
  • A major complaint: checkout infers whether an argument is a ref or a path, which can be ambiguous. The -b flag (create branch + switch) is seen as another conflation.

Complexity, mental models, and UX

  • One camp insists Git is fundamentally simple for competent engineers; complexity complaints are overblown and often workflow issues.
  • Another camp says Git’s interface and docs are messy, its concepts leak through everywhere, and it punishes users who don’t understand its internal model.
  • Some suggest Git is fine as “plumbing,” but its “porcelain” and UX are poor; a good tool should let you operate correctly without understanding Merkle trees.

Merge vs rebase

  • Several explanations contrast merge (history-preserving, branchy, faster in the moment) vs rebase (linear history, rewritten commits, easier debugging for some).
  • Some see rebase as risky and time-wasting; others say it’s easy to recover via rebase --abort, tags, or reflog.
  • A common pattern: rebase locally for cleanliness, merge once changes are shared.

Safety, data loss, and footguns

  • Checkout is noted as one of the few commands that can irreversibly destroy data without --force.
  • Others argue reset is the real “hot mess” and more dangerous than checkout, making the suggestion to “teach reset instead” alarming.

Tooling, GUIs, and non-engineers

  • Some say non-engineers shouldn’t touch Git at all; if they must, that’s an organizational problem.
  • Others counter that in labs, startups, and multidisciplinary teams, non-engineers inevitably use Git, often via GUIs, so simpler commands and better UX matter.

Habits, aliases, and teaching

  • Several people stick with checkout (checkout -b especially) due to muscle memory; others deliberately retrained to use switch/restore, sometimes via shell traps.
  • There is broad agreement that teaching new users clearer commands and workflows is valuable, but no consensus that checkout should be “communally deprecated.”

Ask HN: How do you backup your Android?

Built‑in Google / Cloud Backups

  • Many rely entirely on Google’s backup (contacts, SMS, photos, app list), sometimes plus Google Takeout.
  • Experiences vary: some say app re‑installation and basic data restore are “surprisingly good”; others say app data and settings almost never restore, leaving a “new phone” feel.
  • Some note Google Authenticator and other TOTP apps now sync via Google; others see that as weakening MFA.
  • Concerns: partial scope (little/no app state), privacy (data in Google’s cloud, no easy LAN‑only full backup).

Rooted Full‑App Backups & Local Tools

  • Classic tools: Titanium Backup (now effectively dead), Swift Backup, NeoBackup, 3C Toolbox. Require root for meaningful app‑data backup and restore, including “do not back up” flags.
  • Users report mixed restore success; banking/ID apps may break on rooted devices, partially mitigated with Magisk and Play Integrity bypass modules.
  • Some want full flashable images via recovery; current tools usually don’t deliver a turnkey “phone image” restore.

File / Photo Sync to Personal Infrastructure

  • Very common pattern: treat apps as disposable, but aggressively back up photos, documents, notes.
  • Tools: Syncthing / Syncthing‑Fork, rsync via Termux (sometimes with restic, rclone, borg), FolderSync, Nextcloud, SMB/FTP, NAS vendor apps, KDE Connect, MyPhoneExplorer, Immich, Resilio Sync.
  • Many sync to home NAS/servers, then back those up (ZFS snapshots, Borg, Backblaze, Glacier, tapes).
  • Debate: sync vs true backup; versioning and deletions require server‑side backups/snapshots.

Custom ROM / OS‑Integrated Backup (Seedvault, GrapheneOS, LineageOS, etc.)

  • Seedvault (bundled with LineageOS/crDroid) draws strong disagreement: some report near‑complete, fast restores; others call it “a trainwreck” with frequent backup/restore failures.
  • GrapheneOS backup, CalyxOS, crDroid integrations are mentioned positively but without deep detail.

2FA, Passwords, and Sensitive Data

  • Common approaches: Aegis (+Syncthing), Bitwarden, Authy, Google Authenticator export, storing TOTP secrets in password managers.
  • Some warn that Google‑synced OTPs and app‑level opt‑outs from backup exist for security reasons; others argue device owners should still be able to fully back up everything.

iOS vs Android Comparisons & Philosophy

  • Several contrast Android’s fragmented, partial backups with iOS’s near “phone image” iCloud/iTunes restore; others counter that even iOS still requires re‑logins for some apps.
  • A notable minority deliberately avoid backing up much: treat phones as disposable, only preserve photos/contacts, and accept re‑configuring apps as a periodic clean slate.

Datadog acquires Quickwit

Planned Use of Quickwit by Datadog

  • Many infer from Datadog’s announcement that Quickwit will underpin a self‑hosted or “logs stay in your environment” model, aimed at regulated industries with data residency constraints.
  • Expected model: logs stored in customer infra or regions, accessed via Datadog’s UI, likely billed per‑GB but cheaper than shipping all logs to Datadog.
  • Some speculate Datadog may also use Quickwit internally to cut infra costs or as a defensive move to remove a direct OSS competitor.

Open Source Status and Licensing

  • Quickwit had been moving toward an enterprise license but will now relicense as Apache 2.0, along with its Tantivy search library.
  • Many are happy about the more permissive license but expect the original team to shift focus to a closed Datadog product, with less day‑to‑day work on the OSS version.
  • Vector is cited as precedent: originally OSS and acquired by Datadog; some claim it stalled, others (including Datadog employees and users) say it’s actively maintained, though at a measured pace.

Innovation, Ecosystem, and Alternatives

  • Several posters lament that multiple innovative databases (Warpstream, OrioleDB, Quickwit) have been acquired, fearing slower innovation once inside large companies.
  • Others argue acquisitions can expand reach while OSS projects like Tantivy remain usable and extensible (e.g., ParadeDB, pg_search).
  • Alternatives suggested for object‑storage‑backed or OSS logging/observability include Loki, SigNoz, qryn, and VictoriaLogs, with substantial criticism of Loki’s complexity, config churn, and high‑cardinality limitations.

Perceptions of Datadog’s Product and Pricing

  • Technically, Datadog is widely regarded as a top‑tier observability platform, particularly for APM, tracing, and profiling.
  • However, many report aggressive, intrusive sales tactics, opaque and unpredictable billing, and extremely high prices for logs and custom metrics.
  • Some describe Datadog as highly sales‑driven and liken its behavior to legacy enterprise vendors; a minority report positive, low‑pressure sales experiences.

Customer and Community Concerns

  • Teams that recently migrated to Quickwit are frustrated and worried development may stagnate, though Quickwit’s OSS status means it can be continued or forked.
  • There is concern for companies that built on Quickwit (e.g., large‑scale logging users), but also an expectation that demand could sustain a community fork if necessary.

Funding and Acquisition Dynamics

  • The blog’s mention of rising traction and VC pressure for a Series A sparks debate about VC incentives.
  • Some argue early funding structurally pushes toward hyper‑growth or exit; others note Quickwit’s seed was via SAFEs without board control, and the acquisition decision was not forced but taken at a perceived strategic crossroads.

WorstFit: Unveiling Hidden Transformers in Windows ANSI

Overall reaction & nature of the issue

  • Many see the vulnerability as unsurprising given Windows’ legacy layers, but still eye‑opening in how multiple “harmless” features combine into serious exploits.
  • Core problem: Windows “ANSI” APIs use a “best‑fit” Unicode→codepage mapping that silently turns certain Unicode characters into ASCII metacharacters (", \, /, -, etc.) after an application has validated input.
  • This breaks security assumptions in argument handling, shell escaping, path validation, etc., especially when wide‑string logic and ANSI APIs are mixed.

ANSI vs Unicode on Windows

  • Strong consensus: new code should avoid *A (ANSI) Win32 APIs and use *W (wide) variants plus explicit conversion.
  • Several note that Microsoft has recommended wide APIs since early NT, but its own C runtime historically routes fopen, getenv, argv, etc. through *A, perpetuating best‑fit issues.
  • Some argue for simply killing best‑fit or mapping unrepresentable chars to a harmless placeholder and/or failing early.

UTF‑8 codepage and manifests

  • Windows now allows opting into UTF‑8 as the “ANSI” codepage via manifests or a system‑wide “Beta: UTF‑8” checkbox.
  • Experiences differ: some report years of smooth use; others saw random app crashes, especially with legacy software assuming fixed 1‑byte‑per‑char encodings or limited buffer growth.
  • Debate whether this is a good general solution:
    • Pro: aligns Windows with Unix/UTF‑8, simplifies portable C/C++ and CLI tools.
    • Con: doesn’t handle invalid UTF‑16 from Win32 (WTF‑16) cleanly, can break unknown DLLs using *A, and still risks information loss.

Impact on languages, runtimes, and tools

  • Rust’s standard library mostly uses wide APIs (GetCommandLineW, etc.) and bypasses argv, so the described attacks don’t directly hit Rust binaries; child processes that use ANSI APIs remain at risk.
  • Cygwin was initially suspected vulnerable via internal use of NT conversion routines, but maintainers clarify they parse the wide command line themselves, mitigating worst‑fit.
  • curl and other cross‑platform tools: tension between “they’re victims of the platform” and “it’s still their bug on Windows.” Some say serious, common issues would be fixed regardless; others stress unpaid maintainers and platform complexity.

Process spawning & argument parsing

  • Windows fundamentally passes a single command‑line string; argv is a user‑space convention, and multiple runtimes (C, Go, Java, Python, etc.) parse it differently.
  • Because you can’t know how the callee parses arguments, commenters claim there is no universal, safe escaping scheme on Windows—only program‑specific ones.
  • Suggestions include:
    • Use wide APIs end‑to‑end and convert to UTF‑8/WTF‑8 internally.
    • Avoid Windows system()‑style command construction; prefer direct APIs or tightly specified argument parsing.
    • For some high‑level languages, fail or warn on dangerous characters in subprocess args by default (controversial due to i18n needs).

Portability and encoding philosophy

  • Long back‑and‑forth on whether Windows should fully embrace UTF‑8 vs keeping UTF‑16/WTF‑16 as the “native” encoding:
    • One camp: UTF‑8 has effectively “won”; Unix dominance on servers and portability concerns make UTF‑8 the only practical choice.
    • Other camp: Windows internals and filesystems are 16‑bit‑unit based, can store invalid sequences, and require careful WTF‑16/WTF‑8 handling; blindly UTF‑8‑ifying *A APIs is fragile.
  • Several emphasize that many of these attacks are manifestations of already‑existing Unicode handling bugs in applications, only now exposed more clearly.

Microsoft’s compatibility stance

  • Commenters note Microsoft’s deep commitment to backward compatibility: e.g., trigraphs, ancient games, case‑insensitive filesystem behavior, legacy CRTs, and old codepages that still work.
  • Some argue security should justify breaking changes (e.g., disabling best‑fit, making UTF‑8 default), with shims or API versioning for old apps.
  • Others think staged opt‑ins via manifests, code‑analysis rules (e.g., discouraging best‑fit), and better documentation/linting are more realistic than a hard global switch.

Show HN: Kate's App

Scope and Purpose of the App

  • App is for patients and families/caregivers to coordinate medical information (contacts, appointments, prescriptions, medical documents, logs).
  • Not intended as a clinic/insurer portal; explicitly framed as “for families, not providers,” though wording about “medical caregivers” creates some ambiguity.
  • Some commenters question the unique value versus tools like Google Docs, WhatsApp, or existing patient portals (e.g., MyChart), while others note those don’t unify data across providers or multiple caregivers.

Legal, Regulatory, and Jurisdiction Issues

  • Major concern: handling highly sensitive health data without visible terms of service, privacy policy, or compliance posture.
  • Repeated advice to consult lawyers, especially on HIPAA, FTC, COPPA, US state privacy laws, GDPR, Canadian PIPEDA, etc.
  • Debate on whether HIPAA directly applies:
    • One side: app is not a covered entity; HIPAA applies only if health providers use it under a Business Associate Agreement.
    • Other side: by design targeting health information and “caregivers,” risk is high; at minimum, providers using it could be in violation.
  • EU-focused comments note that accepting EU users without GDPR-compliant policies and a Data Protection Officer (given medical data) is likely illegal.
  • Several suggest temporarily taking the service down until legal and compliance issues are addressed.

Security and Data Protection

  • Critiques: no visible HIPAA/privacy statements, rudimentary access control, unverified accounts, potential for insecure ID-based URLs, unclear encryption practices, no self-service deletion initially.
  • Suggestions:
    • Encrypt data in transit and at rest; consider application-level encryption so admins can’t read PHI.
    • Implement strong access control, logging, deletion mechanisms.
    • Run automated security scans (OWASP tools, cloud/container scanners).
    • Consider local-first / client-side storage or end-to-end encrypted architectures to reduce regulatory surface.

Trust, UX, and Presentation

  • Lack of identity information about the operator, missing policies, and hidden WHOIS are seen as major trust gaps.
  • UI feedback: add padding/margins, fix broken links, improve design and mobile layout, provide screenshots or demo videos.
  • Some praise the idea as humane and needed given fragmented healthcare, while others say it’s too legally risky as a “learning project” unless kept very small/invite-only.

Future Direction and Suggestions

  • Ideas: calendar view, FHIR/HealthKit integration, interoperability with provider systems, or pivoting to local/self-hosted.
  • Mixed advice: some urge “keep going but harden security and read regulations”; others insist on shutting down publicly until legal and compliance basics are in place.

The Tsunami of Burnout Few See

Reaction to the article and presentation

  • Many found the text visually irritating due to heavy bolding; some recommended tools to strip emphasis.
  • Content-wise, lots of commenters said the burnout descriptions matched their own experiences and were validating.
  • Others felt the piece mixed solid observations with weak macroeconomics (e.g., stagflation claims based on truncated or misread graphs), which reduced credibility.

What people say actually causes burnout

  • Repeated theme: the core problem is not technical work but politics, bad management, shifting priorities, and blame-shifting.
  • Loss of agency and feeling used as a pawn for others’ advancement came up repeatedly.
  • Constant reprioritization, pet projects, “fake agile,” and toxic performance cultures were cited as major drivers.
  • Economic pressure (housing, education, retirement insecurity) erodes the “why do I work?” answer and pushes people to endure unhealthy conditions.
  • Misalignment between personal values/meaning and corporate agendas (including “moral injury”) was described as especially corrosive.

Remote work, social needs, and cognition

  • Remote work reduced stress and increased control for some; for others, it removed crucial in‑person social contact and made work feel like isolated drudgery.
  • Several noted modern knowledge work increasingly demands sustained, intense thinking with fewer “rote” tasks, which itself is exhausting.

Coping strategies and their limits

  • Proposed strategies ranged from “don’t care too much” and doing only what you’re paid for, to deliberately seeking high‑agency, high‑alignment roles or entrepreneurship.
  • Some said partial disengagement helps; others argued it’s a burnout symptom that worsens disempowerment.
  • Side projects, strict time‑boxing, and changing jobs or sectors were mentioned; many noted these are hard when finances or family obligations are tight.

Research, definitions, and mislabeling

  • Several pointed out that burnout is well‑studied (e.g., Maslach, WHO) and that the article understates this.
  • Others observed that “burnout” is now used for everything from life-threatening collapse to mild boredom, and often conflated with depression.

Systemic critiques and labor context

  • Strong thread arguing burnout is structurally produced by modern capitalism, financialization, PE demands, and permanent growth targets.
  • Counterpoints warned against grand conspiracies or over-reading macro data, while still acknowledging widespread meaningless or “bullshit” work.
  • International comparisons highlighted stronger labor protections (overtime, part‑time norms, anti–wage theft laws) elsewhere, and weaker support (e.g., no burnout leave) in some countries.

Health, disability, and COVID

  • Some linked rising disability and exhaustion to long COVID; others attributed it to vaccine injury, citing polemical sources.
  • No consensus emerged; these claims were contested or implicitly treated as fringe by other participants.

Show HN: Tetris in a PDF

Overall reaction

  • Many commenters find the project hilarious, impressive, and very “HN-core,” some calling it “evil genius” and a top-tier hacker project.
  • Others are uneasy, saying it’s “awesome and terrifying” because it demonstrates how much code PDFs can run.

PDF JavaScript & capabilities

  • Several note that JavaScript in PDFs has been supported for decades and is now part of the standard.
  • JS is commonly used for interactive forms, validation, computed fields, and things like dynamically updating QR codes in government forms.
  • Discussion highlights that PDF JS APIs are limited and idiosyncratic (e.g., setInterval with string eval, field background color changes, moving form-field bounding boxes).
  • Some explore other tricks: using checkboxes or text fields as “pixels,” custom fonts for graphics, and even WASM in some engines (though Chrome’s PDFium intentionally disables JIT and WASM).

Compatibility and viewer behavior

  • Works in Chrome, Firefox, Edge, and Chromium-based viewers using PDFium; multiple people confirm playability.
  • Does not work in Safari / macOS Preview / Quick Look, many mobile viewers, Evince, and some pdf.js builds.
  • Several are explicitly relieved that Preview, Safari, or Evince don’t run JS.
  • Firefox users discuss disabling scripting via pdfjs.enableScripting; some forks have it off by default.

Security concerns

  • Commenters repeatedly stress that PDFs remain a major attack surface; JS and complex parsing have enabled serious exploits, including high-profile spyware and zero-click attacks.
  • Some argue PDFs “should not execute code” and recommend:
    • Using viewers that disable JS or only accept archival/printing-focused subsets (PDF/A, PDF/X).
    • Sandboxing PDF rendering instead of relying on user discipline.
  • Others counter that modern browsers sandbox PDF JS heavily and often require user interaction, reducing but not eliminating risk.

Related hacks and extensions

  • People share related experiments: calculators, Game of Life, Snake and Flappy Bird in PDFs, Atari Breakout, and even Doom-in-PDF attempts.
  • There’s speculative discussion about running DOS, C compilers, or even AI/LLMs inside PDFs or fonts, citing Turing-completeness and prior font-based LLM demos.

SQL nulls are weird

What NULL Represents

  • Strong debate over whether SQL NULL means “unknown value,” “no value,” “missing data,” or an overloaded mix of all three.
  • Some argue the original relational notion is “unknown,” and that calling it NULL was an unfortunate naming choice; others insist “no value” or “absence” is a more practical mental model.
  • Several point out that conflating “unknown” and “known absent” is what makes NULL so confusing in real systems.

Three‑Valued Logic and Query Semantics

  • Many comments explain SQL’s three-valued logic (TRUE/FALSE/UNKNOWN) and show how comparisons with NULL yield UNKNOWN, which WHERE treats as “not selected.”
  • This leads to surprising behavior: = NULL / <> NULL never match; x = value silently excludes NULL rows unless explicitly guarded.
  • Some see this as mathematically consistent (e.g., Kleene logic); others call it ergonomically “clownish,” especially since X = X can be UNKNOWN.

Uniqueness, DISTINCT, GROUP BY

  • Key confusion: UNIQUE constraints treat multiple NULLs as distinct, while SELECT DISTINCT / GROUP BY group all NULLs together.
  • Some justify this as “set/group semantics”: all unknowns form one group, but are not equal as values.
  • Others find this inconsistent and argue it forces awkward patterns and mental overhead.

Database-Specific Behavior

  • Postgres 15+ allows NULLS NOT DISTINCT in unique indexes, giving control over NULL uniqueness.
  • IS [NOT] DISTINCT FROM (or dialect equivalents) is highlighted as the “correct” equality operator when NULLs must compare as equal.
  • Oracle’s empty‑string‑equals‑NULL behavior is widely criticized as especially bizarre.
  • Different engines (Postgres, MySQL/MariaDB, SQL Server, SQLite, Oracle) diverge on indexing, uniqueness, and NULL treatment, adding portability pain.

Schema Design and Modeling Choices

  • Academic relational purists argue NULL should rarely exist; optional data should be modeled as separate tables (1:0..1 relations).
  • Practitioners push back: this level of normalization is often impractical and verbose, so nullable columns are the de facto solution.
  • Soft deletes using deleted_at IS NULL are debated: some call it overloading and a design smell; others say it’s fine with proper indexes/views.

Alternatives, Workarounds, and Ergonomics

  • Suggested mitigations: COALESCE/IFNULL, IS [NOT] DISTINCT FROM, partial/filtered indexes, views for “active” rows.
  • Some wish for richer type systems (sum types, Option/Maybe, multiple null kinds) or even SQL replacements (e.g., systems that avoid NULL entirely).
  • Several note that NULL’s semantics are logically defensible but ergonomically hostile, especially for developers coming from “simple” language nulls and ORMs.

Why aren't we all serverless yet?

Cost and Performance

  • Many argue serverless (especially AWS Lambda-style FaaS) is significantly more expensive than containers or VMs for sustained workloads.
  • Pricing is seen as a “billing model” layered on the same underlying compute, with each abstraction step (Lambda → Fargate → EC2) adding cost.
  • Several comments describe large cost savings from leaving serverless for monoliths/containers, while others report specific bursty workloads where switching to Lambda cut costs dramatically.
  • Serverless can be slower: cold starts, extra orchestration overhead, and time limits (e.g., ~15 minutes) hurt high‑compute or long‑running tasks like video transcoding.

Developer Experience and Complexity

  • Many find DevEx poor: YAML/IAM sprawl, CDK code exceeding app code, harder integration testing, weak local dev, painful debugging and observability.
  • Some like the “zero sysadmin” aspect and rapid deploys for small services, but others say the supposed simplicity disappears at scale.
  • Tooling like CDK, Amplify, SST, and cross-cloud abstractions are mentioned as partial mitigations, with mixed reviews.

Architecture Choices: Monolith vs Serverless

  • Strong sentiment that simple monoliths (often with established frameworks like Rails) are easier to reason about, debug, and cost-estimate.
  • Serverless architectures can devolve into “function explosion”: hundreds of Lambdas, many queues/topics, effectively a distributed monolith with high cognitive load.
  • Several argue you can design modular/microservice-like boundaries inside a monolith and avoid network-induced complexity.

Vendor Lock-In and Portability

  • Lack of standardized APIs and deep integration with cloud‑specific features creates lock‑in and migration pain.
  • Local reproduction of the production environment is often hard or impossible, pushing people to develop directly against the cloud.
  • Some mention emerging cross-provider frameworks, but they are niche.

Where Serverless Works Well

  • Commonly cited good fits:
    • Very low-traffic endpoints or cron-like jobs.
    • Highly bursty, short-lived CPU tasks where scaling to zero matters.
    • Background automations, glue code, notifications, or one-off bots.
  • Several say it’s reasonable for “toy” projects or side utilities, but fiscally unwise as the backbone of a high-scale product.

Terminology and Conceptual Debates

  • Extended debate over what “serverless” really means:
    • One camp: “someone else’s server / responsibility.”
    • Another: return to a CGI-like model where the app isn’t itself a long-lived server.
  • Many find the term misleading marketing; some see it as historically defensible but still confusing.

Rational or not? This basic math question took decades to answer

Why irrationality matters

  • Several comments ask why mathematicians care if a constant is rational or irrational.
  • Answers:
    • Irrationality/transcendence often signals hidden structure; a rational result where irrational is expected can reveal unexpected symmetry or simplification.
    • Some see results like irrationality proofs as filling gaps in our proof toolkit; the new methods are often more important than the specific constant.
    • In applications (cryptography, simulation) people sometimes lean on properties of “random-looking” digit expansions of famous irrationals, though practical PRNGs use rationals on computers.

Algebra, constructibility, and terminology

  • Confusion between “constructed from basic algebra” vs “constructible number” and between “algebra” and “an algebra.”
  • One view: algebraic operations are just addition and multiplication; exponentials and roots belong to analysis or other fields.
  • Others push back: this conflates technical term “algebra” with broader informal “algebra” and ignores areas like group theory.

Rational vs. irrational in practice and physics

  • One side: in a discrete physical universe, all measurable quantities are effectively rational; irrationals are idealized limits, like complex numbers.
  • Opposing side: current physical theories treat space/time as continuous; trajectories/angles are not quantized, and thinking only rationals are “real” is unjustified.
  • Debate over whether a “1m square” genuinely has diagonal √2 m or only some rational approximation.

Random points and probability zero

  • Clarification that if you choose a real number uniformly in an interval, the chance of hitting a rational is exactly zero, despite rationals being possible outcomes.
  • Long subthread struggles with intuition: difference between finite “things in my pocket” vs. uncountable sets; need for measure-theoretic reasoning.
  • Example constructions with infinite random digits illustrate that rationals (eventually periodic decimals) are “almost never” hit.

π, e, and transcendental curiosities

  • Interest in whether π+e or π·e are irrational; known that at least one must be, but neither individually is proved so.
  • People find a rational value for either especially “mind-blowing” because π and e are “not supposed” to be simply related, though others question that intuition.
  • Discussion of “almost integers” like expressions close to integers (e^π−π, e^(√n π)), with clarification that some joking claims of exact integrality are false.

History and Pythagoreans

  • Thread disputes the popular story that a Pythagorean was drowned for discovering √2 is irrational.
  • Some call the story ahistorical/libel; others label it apocryphal but not definitively debunked, noting ancient sources mention a drowning over other mathematical “impieties.”

Mathematical intuition and communication

  • Several comments describe advanced mathematical thinking as accessing a “garden” of ideas beyond step-by-step rigor, developed after learning enough concepts.
  • Comparisons drawn between this intuition, famous notebooks of great mathematicians, and the behavior of modern AI systems that sometimes make “incredible leaps.”
  • Quanta’s articles and related podcasts are widely praised for making deep topics accessible without being overly simplified.

Not every user owns an iPhone

Android vs iOS Users and Value

  • Multiple commenters argue “the users who matter” economically are more likely to be on iOS, especially in paid‑app markets and in the US.
  • Others push back: in many countries (e.g., UK, Germany, globally) Android has higher share, and Android users can be valuable, bug-reporting customers.
  • There’s recurring class bias criticism: equating non‑iPhone users with “bottom feeders” or unworthy customers is seen as toxic and exclusionary.

Performance, Hardware, and Web Tech

  • Thread highlights data that flagship Android web performance is similar to a 4‑year‑old iPhone, attributed largely to weaker SoCs and smaller caches.
  • Some say real‑world UX clusters by device performance tiers, not OS alone; mid/high‑end Android may be “good enough”.
  • Others insist the measured gaps are large enough that iOS users consistently get a better experience for the same site.
  • Several note: if a basic ecommerce interaction takes 3–5 seconds, that’s primarily a site bloat/ads/JS problem, not just Android vs iOS.

Development, Testing, and Fragmentation

  • Supporting Android is described as harder: device fragmentation, OS variations, and framework bugs (e.g., Jetpack Compose) drive up support costs.
  • Some see “works on my iPhone” vs “broken on Android” as often exposing app bugs (threading, assumptions), not just platform flaws.
  • A few advocate testing on low‑end or mid‑range Android devices as the baseline, likening it to mixing audio on bad speakers to ensure broad usability.

Business Models and User Behavior

  • Several app developers report Android ports rarely pay off: more piracy, more 1‑star reviews about pricing, higher support load.
  • Others counter that misleading monetization (paid app plus upsells) understandably angers users.

Access, Equity, and “Everybody Has a Phone”

  • Concern that tying essential services (banking, tickets, supermarkets) to smartphones—and often specific platforms—excludes poorer or atypical users.
  • Some defend optimizing for high‑value segments; others argue that ignoring “marginal” users degrades societal access and fairness.
  • Examples include SMS‑only users, dumbphone users, and people without any device, with suggestions like postal or subsidized-phone programs.

Microsoft should be terrified of SteamOS

Steam Deck & SteamOS in Practice

  • Multiple commenters report using the Steam Deck as a docked desktop replacement, especially among IT‑adjacent users who weren’t prior desktop Linux users.
  • Non‑technical users (e.g., spouses) are reported to handle the Deck fine; “it just works,” with complaints mostly about physical size and portability compared to Switch/older handhelds.
  • The suspend/resume flow and synced saves make it attractive as a couch device vs a full PC next to the TV.

How Much Does This Threaten Microsoft/Windows?

  • Some argue PC gaming is one of the last compelling reasons to run Windows at home; if gaming and legacy apps work on Linux, many power users say they’ll leave Windows.
  • Others counter that Microsoft’s real money is in Office 365, Azure, enterprise Windows, and ecosystem lock‑in (drivers, Office, Excel add‑ins), not gaming OS licenses.
  • Several think Microsoft is already de‑emphasizing Windows as a profit center, moving toward cloud clients and ads/telemetry monetization.
  • Long‑term concern: erosion of consumer familiarity with Windows could eventually weaken its position in corporate environments, but this is framed as a distant, slow process.

Gaming, Proton, and Remaining Blockers

  • Proton/Wine is widely praised for making most Windows games playable, enabling many users to daily‑drive Linux distros like Mint or Cosmic.
  • Remaining issues: kernel‑level anti‑cheat for many multiplayer titles, DLSS‑like features, VR support, and occasional game‑specific bugs.
  • Some expect a tipping point where more professional tools (e.g., Adobe) become viable under Wine as Linux gaming grows.

Linux Desktop Readiness & Usability

  • One camp says modern Linux desktops can serve “browser and email” users easily, with many GUI tools and no more CLI than Windows.
  • Another camp insists desktop Linux is perpetually brittle: driver issues, graphics/audio glitches, suspend problems, Wayland churn, fractional scaling and font rendering pain, HDR gaps.
  • There’s debate over whether Linux’s development model and unstable driver ABI fundamentally prevent a polished, mass‑market desktop.

SteamOS Scope, Hardware, and Ecosystem

  • SteamOS on the Deck is described as “jailed” but robust: immutable base OS with persistence in /home and /var, A/B updates, Flatpak/AppImage for apps.
  • Official support currently centers on AMD GPUs; NVIDIA support is possible but not yet first‑class, pushing some users to wait.
  • Community variants (e.g., Bazzite, ChimeraOS) and planned broader SteamOS images for other handhelds/laptops are cited as extending the benefits beyond the Deck.

Man trapped inside driverless car as it spins in circles

Event characterization

  • Many say the headline is sensationalist: the car was looping slowly in a parking lot, not “spinning” or doing donuts.
  • Others argue that from inside a malfunctioning autonomous car, repeated looping feels erratic and scary regardless of the exact maneuver.
  • Debate over whether “trapped” is accurate: some think the passenger could have exited (even while moving slowly); others counter that locked doors and a moving vehicle make that impractical and unsafe.

Passenger behavior and motives

  • Several commenters find the passenger impatient, talking over support and refusing to follow app instructions.
  • Others defend his stress response in a loss-of-control situation, especially when trying to catch a flight.
  • Some suspect he prolonged or staged aspects for social media, pointing to his filming, refusal to tap the app, and later PR handling. Others see this as unfair speculation.

Safety, emergency controls, and UX

  • Strong call for a physical emergency stop: a big, obvious button that safely slows, pulls over, unlocks doors, and alerts support.
  • Counterpoint: an E‑stop is nontrivial on freeways and can endanger other drivers; misuse (e.g., drunk passengers) is a concern.
  • Many argue these tradeoffs already exist for brakes, train emergency cords, fire alarms, and industrial machinery; society manages misuse with norms and penalties.
  • Widespread discomfort that stopping the car depends on an app/phone, connectivity, or user actions during stress.

Waymo remote support and control

  • Support appears limited: often can only talk to passengers and ask them to use the app, not directly command the car.
  • Some want operators able to remotely stop or creep the vehicle to safety; others raise security and abuse risks of deep remote control.

Broader concerns: autonomy, ethics, and regulation

  • Comments note this was benign but symptomatic of deeper issues: undefined behavior in heavy machinery, black-box software, and possible vulnerabilities or mass remote compromise.
  • Arguments that public streets are being used as testbeds; calls for stricter certification and accountability for autonomous systems.
  • Others emphasize that human-driven vehicles also fail and that this specific incident appears minor compared to many human-driver horror stories.