programming

Tag

Cards List
#programming

Counting the days, revisited

Lobsters Hottest · 20h ago Cached

Tony Finch revisits his Gregorian-to-Julian day conversion algorithm, incorporating tricks from Ben Joffe to produce a more efficient and robust formula.

0 favorites 0 likes
#programming

The following is a valid DOS COM executable

Lobsters Hottest · 3d ago

The article highlights a clever trick where a file is a valid DOS COM executable, demonstrating a polyglot file format.

0 favorites 0 likes
#programming

python string literals are kinda funny

Lobsters Hottest · 3d ago Cached

A blog post exploring quirky behaviors in Python's raw string literals and f-string syntax, including examples where raw strings cannot end in a backslash and f-string expressions can contain comments and multiple lines.

0 favorites 0 likes
#programming

Most people don't realize how easy it has become to learn coding with AI now.

Reddit r/AI_Agents · 4d ago

AI has made learning to code significantly easier by acting as a patient, 24/7 personal tutor that explains concepts, debugs code, and guides learners step-by-step without judgment.

0 favorites 0 likes
#programming

"Clean" Code, Horrible Performance (2023)

Hacker News Top · 5d ago Cached

Casey Muratori demonstrates how following 'clean code' guidelines like polymorphism and small functions can lead to significant runtime performance costs, using a classic shape area example.

0 favorites 0 likes
#programming

Programming will (probably) die – Musk is convinced, and I think I'm starting to believe it too.

Reddit r/AI_Agents · 6d ago

Discusses Elon Musk's claim that programming will eventually die as AI generates binaries directly from text descriptions, comparing source code to assembly and reflecting on verification and abstraction challenges.

0 favorites 0 likes
#programming

A quine in Piet – a GIF image that prints itself [video]

Hacker News Top · 6d ago Cached

A video demonstrates a quine written in Piet, an esoteric language where programs are images. A 252x189 GIF serves as both the program and its output, printing itself byte for byte.

0 favorites 0 likes
#programming

Rust: Don't Panic

Lobsters Hottest · 6d ago Cached

A video transcript discussing how to avoid panics in Rust by using combinators and the Result type instead of unwrap, explaining the three typical crash causes and emphasizing writing robust code.

0 favorites 0 likes
#programming

Controlling Your Environment Makes You Happy (2000)

Lobsters Hottest · 2026-08-02 Cached

Joel Spolsky argues that UI programming is easy and fun, and that good UI design follows rational rules rather than artistic mystique, illustrating with a personal anecdote about controlling his environment at a bakery job.

0 favorites 0 likes
#programming

EPIPE on write might mean you're doing it wrong

Lobsters Hottest · 2026-08-02

A technical discussion about EPIPE errors on write, suggesting that encountering EPIPE often indicates a design issue in how the program handles broken pipes.

0 favorites 0 likes
#programming

sizeof is surprisingly difficult to parse in c

Lobsters Hottest · 2026-08-02 Cached

This article explores the challenges of parsing the C `sizeof` operator, which can take either an expression or a parenthesized type, and the extra complications introduced by compound literals and postfix operators. It discusses parsing strategies and notes that C2y's newly introduced `_Countof` operator faces similar issues.

0 favorites 0 likes
#programming

Dates That Don't Exist (2015)

Hacker News Top · 2026-08-01 Cached

A blog post exploring the nonexistent dates of October 5-14, 1582 due to the Gregorian calendar reform, and how Ruby, Python, and Perl handle these invalid dates.

0 favorites 0 likes
#programming

How to measure cost of models for programming

Reddit r/AI_Agents · 2026-07-31

An explainer analyzing the real-world cost of AI models for programming, comparing DeepSeek Flash and OpenAI's Luna via token pricing, caching distributions, and subscription math.

0 favorites 0 likes
#programming

@CompSciFact: Floating point numbers are a leaky abstraction

X AI KOLs Timeline · 2026-07-30 Cached

An article explaining why floating point numbers are a leaky abstraction, covering precision limits, subtraction issues, and overflow/underflow, with references to Goldberg's classic paper.

0 favorites 0 likes
#programming

@driscollis: collections.ChainMap is a built-in Python class that groups multiple dictionaries or mappings into a single, updatable …

X AI KOLs Timeline · 2026-07-30 Cached

collections.ChainMap is a built-in Python class that groups multiple dictionaries or mappings into a single, updatable view without merging them in memory.

0 favorites 0 likes
#programming

A universal approach to mocking with continuations

Lobsters Hottest · 2026-07-30 Cached

A blog post presenting a universal approach to mocking in testing by using continuations to capture effects, allowing tests to verify correct arguments and order of calls without performing the effects. The technique is demonstrated in the Gleam programming language.

0 favorites 0 likes
#programming

I made a game where you build a CPU from logic gates

Hacker News Top · 2026-07-30 Cached

A game that lets players build a computer from scratch using logic gates, design circuits, construct a CPU, and run programs.

0 favorites 0 likes
#programming

Logic for Programmers

Hacker News Top · 2026-07-30 Cached

A practical book introducing logic for programmers to improve software design, verification, and reasoning, covering topics from simplifying conditionals to formal verification and constraint solving.

0 favorites 0 likes
#programming

LLMs: The Next Rung on the Ladder of Abstraction

Reddit r/ArtificialInteligence · 2026-07-30 Cached

This article argues that large language models represent a new level in the history of software abstraction, making natural language the interface, enhancing human agency, but not ending programming—instead, continuing the trend of intention replacing implementation.

0 favorites 0 likes
#programming

The strain in your brain

Lobsters Hottest · 2026-07-29 Cached

A reflective essay on how AI-assisted reading and coding reduce the cognitive strain once essential for deep learning, and the author's personal efforts to restore that mental challenge through handwriting and code-by-hand.

0 favorites 0 likes
Next →
← Back to home

Submit Feedback