proomt

Search

Search posts, papers, and topics

All posts

Hacker News front page

The trouble with 'ntile()'

Related reading

  1. CodeSOD: The John Cage Variable

    This article showcases a C++ code snippet with an extremely unreadable variable name, `length4_3_3`, which is a hardcoded range expression. It serves as a cautionary tale against writing "disposable" code with poor naming conventions, as such code often ends up being reused.

    The Daily WTFthedailywtf.com1 min
  2. Falsehoods Programmers Believe About Names

    Patrick McKenzie enumerates 40 common misconceptions programmers make about human names, showing that assumptions about uniqueness, format, immutability, and character set are all wrong. Systems should treat names as opaque, Unicode strings and avoid rigid schemas.

    Hall of Famekalzumeus.com3 min
  3. Article: Your Next DSL Author Is a Language Model

    Typed Domain Grounding (TDG) embeds a DSL inside a mainstream language the LLM already knows (e.g., Kotlin) and uses the host compiler as an oracle. The author describes five building blocks—embedding, choosing a host language with high training‑data frequency, compiler‑driven type safety, a generate‑compile‑repair loop, and an on‑demand teaching tool—and shows measured results from kUML, a Kotli…

    InfoQinfoq.com18 min
  4. Kodebits Day 76: Elvis Operator [FREE]

    A short Kodebits tip introduces Kotlin’s Elvis operator for handling nullable values, showing how it supplies a default when the left side is null. It’s a quick reminder for Android developers working with null‑safety.

    Ray Wenderlichkodeco.com1 min