frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

IBM Quantum Computing: The year of advantage and what comes next

https://www.ibm.com/quantum/blog/qdc-2026
1•thinkingemote•2m ago•0 comments

RTK 1.3 – Rust CLI proxy that cuts LLM token usage

https://github.com/rtk-ai/rtk/releases/tag/v1.3.0
1•patrick_rtk•7m ago•0 comments

Microsoft FreeHand Harness

https://github.com/microsoft/FreeHand
1•endangeredhuman•8m ago•0 comments

Rust rewrite of Blender: ~800x smaller, over 50x faster, 100x less RAM

https://www.reddit.com/r/aigamedev/comments/1yb7o7a/i_rewrote_blender_to_11mb_in_rust_800x_smaller/
1•KuhlMensch•8m ago•1 comments

Claude Ultra, Google AI Ultra are worth more than $10k a month at API prices

https://twitter.com/SemiAnalysis_/status/2128294227326926985
1•tosh•10m ago•0 comments

If free will is an illusion, what's left of intelligence?

https://medium.com/@meyborg/determinism-is-autocomplete-068269cd1e9d
1•Meyborg•11m ago•0 comments

Tecolot – Native Terminal for macOS

https://tecolot.com/
1•birdculture•13m ago•0 comments

Why untouched Go slices can end up in physical memory more often with GOMEMLIMIT

https://peng.fyi/post/unused-virtual-memory-can-use-physical-memory/
1•pengubco•14m ago•0 comments

Sony UAB-C200 USB-C DAC Announced

https://thewalkmanblog.com/2026/12/02/sony-uab-c200-usb-dac-announced/
1•haunter•15m ago•0 comments

Tell HN: Laravel Sheets

2•petervandijck•18m ago•0 comments

AI avatar glitches when asked to repeat "A" 100 times [video]

https://www.reddit.com/r/singularity/comments/1y7dknw/find_out_if_the_girl_youre_dating_online_is/
1•adererror•19m ago•0 comments

Pencils Down – AI agents that stop at every phase for human review

https://github.com/jamiemitchellconsultants/pencils-down
1•jamie_m_•22m ago•1 comments

PP-1 Turns Your iPhone into a Teenage Engineering OP-1 Inspired Pocket Studio

https://www.synthtopia.com/content/2026/12/01/pp-1-turns-your-iphone-into-a-teenage-engineering-o...
1•austinallegro•24m ago•0 comments

Nami – a simple alternative to Nix, devbox, devshell

https://namios.dev/
1•immij•24m ago•0 comments

RSI Bench: Measuring Whether AI Agents Can Improve Themselves

https://labs.scale.com/blog/rsi-bench
1•matt_d•25m ago•0 comments

Anatomy of an AI Kill Chain

https://ai-killchain.airwars.org
2•tastyface•31m ago•0 comments

Show HN: Production eBPF and XDP Tracing Toolkit for Linux Kernel Performance

https://github.com/grfdsasdvef/awesome-ebpf-linux-tracing
1•snowdensay•33m ago•0 comments

Up to 211% faster matrix multiplication on modern Apple Silicon

https://github.com/davedx/mlx-tachyon
1•davedx•34m ago•0 comments

SmartAutoFill AI Form Filler for repetitive web forms

https://smartautofill.com/
1•rikies•36m ago•0 comments

6 days ago: I have a sneaking suspicion that OpenAI is nearing a break in ECC

https://twitter.com/cass_on_mars/status/2126012218609213456
2•gdeglin•38m ago•1 comments

A common flaw in MCP server authentication may allow account takeovers

https://salt.security/blog/registered-is-not-trusted-one-click-account-takeovers-through-mcp-oauth
3•ynvb•39m ago•0 comments

Show HN: misa77 – Up to 3x faster decompression than zstd, with better ratios

https://github.com/welcome-to-the-sunny-side/misa77/tree/main
1•nonadhocproblem•42m ago•0 comments

Fearmongering

https://en.wikipedia.org/wiki/Fearmongering
7•SweetSoftPillow•46m ago•1 comments

CiteGuard: Zero-dependency CLI and MCP server to audit academic citations

https://github.com/Lukecele/citeguard-mcp
1•lcelebrano•48m ago•0 comments

Local-first search across your workspace, built for humans and AI agents

https://github.com/zvec-ai/zvec-grep
1•mooreds•49m ago•0 comments

Show HN: Screen Size Comparison – Will two monitors fit on my desk?

https://screensizecomparison.org/tools/monitor-desk-layout/
1•ht7850142•49m ago•0 comments

Jeff Dean: we built our own version control system

https://twitter.com/JeffDean/status/2128319771779473409
1•tosh•50m ago•0 comments

Show HN: Free Short Interest API

https://www.quotelinks.com/api/short-interest/
1•chartwidgets•52m ago•0 comments

Ask HN: Legal to have two Claude Ultra subscriptions?

1•apt-apt-apt-apt•55m ago•1 comments

NSA and IETF, part 3 (2025)

https://blog.cr.yp.to/20251123-dodging.html#
1•cowlevel•58m ago•0 comments
Open in hackernews

Avoid Continue

https://www.teamten.com/lawrence/programming/avoid-continue.html
2•todsacerdoti•1y ago

Comments

zoezoezoezoe•1y ago
I dont know if I fully agree. Sure, there is definitely an argument the be had about whether or not `continue` is the best word to use in this instance, but why avoid it entirely? Every programmer is able to easily understand what code like this would do:

``` for (Node node : nodeList) { if (node.isBad()) { continue; } processNode(node); } ```

Every keyword in any programming language is largely arbitrary in my opinion let's take a look at the beginning of the codeblock `for (Node node : nodeList)` also completely arbitrary, though it's clear to anyone who's ever written C++ that it is equivalent to saying "for every node in nodeList".

Continue is not meant to read as "continue execution" it's meant to be "continue to the next item of the list", and I think avoiding it entirely is a pointless effort.

Ukv•1y ago
I feel `skip` may have been a better name, but disagree with it being logically difficult to parse beyond that.

If I'm reading a loop and see

    for x in y {
        if exclusions.contains(x) { skip; }
        if x.children.length == 0 { skip; }
        if os.file.exists(x.name) { skip; }
        ...
I instantly know that processing for those elements is skipped, and they won't be relevant for the rest of the loop.

Whereas if I see

    for x in y {
        if !exclusions.contains(x) {
            if x.children.length != 0 {
                if !os.file.exists(x.name) {
        ...
I feel like there's still mental overload with not knowing where those `if` blocks end, and so having to keep the conditions in mind. It doesn't immediately tell me that the rest of the loop is being skipped.

The `log()` mistake seems no less likely to happen using early-returns in function instead, and I'd argue nesting checks actually introduces more room for that kind of error overall, where you append something at the end within the wrong set of brackets, compared to a flatter structure.