frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Nimony (Nim 3.0) Design Principles

https://nim-lang.org/araq/nimony.html
21•andsoitis•3d ago

Comments

mwkaufma•3d ago
Big "college freshman" energy in this take:

  I personally prefer to make the error state part of the objects: Streams can be in an error state, floats can be NaN and integers should be low(int) if they are invalid (low(int) is a pointless value anyway as it has no positive equivalent).
It's fine to pick sentinel values for errors in context, but describing 0x80000000 as "pointless" in general with such a weak justification doesn't inspire confidence.
ratmice•4m ago
Without the low int the even/odd theorem falls apart for wrap around I've definitely seen algorithms that rely upon that.

I would agree, whether error values are in or out of band is pretty context dependent such as whether you answered a homework question wrong, or your dog ate it. One is not a condition that can be graded.

kbd•12m ago
The biggest thing I still don’t like about Nim is its imports:

    import std/errorcodes

    proc p(x: int) {.raises.} =
      if x < 0:
        raise ErrorCode.RangeError
      use x
I can’t stand that there’s no direct connection between the thing you import and the names that wind up in your namespace.
xigoi•8m ago
It needs to be this way so that UFCS works properly. Imagine if instead of "a,b".split(','), you had to write "a,b".(strutils.split)(',').

Netflix to Acquire Warner Bros

https://about.netflix.com/en/news/netflix-to-acquire-warner-bros
207•meetpateltech•53m ago•102 comments

UniFi 5G

https://blog.ui.com/article/introducing-unifi-5g
153•janandonly•6h ago•112 comments

Netflix’s AV1 Journey: From Android to TVs and Beyond

https://netflixtechblog.com/av1-now-powering-30-of-netflix-streaming-02f592242d80
411•CharlesW•13h ago•197 comments

Stacked Diffs with git rebase —onto

https://dineshpandiyan.com/blog/stacked-diffs-with-rebase-onto/
57•flexdinesh•4d ago•33 comments

BMW PHEV: Safety fuse replacement is extremely expensive

https://evclinic.eu/2025/12/04/2021-phev-bmw-ibmucp-21f37e-post-crash-recovery-when-eu-engineerin...
295•mikelabatt•12h ago•282 comments

I have been writing a niche history blog for 15 years

https://resobscura.substack.com/p/why-i-have-been-writing-a-niche-history
151•benbreen•18h ago•23 comments

Nimony (Nim 3.0) Design Principles

https://nim-lang.org/araq/nimony.html
21•andsoitis•3d ago•5 comments

Trick users and bypass warnings – Modern SVG Clickjacking attacks

https://lyra.horse/blog/2025/12/svg-clickjacking/
238•spartanatreyu•13h ago•36 comments

After 40 years of adventure games, Ron Gilbert pivots to outrunning Death

https://arstechnica.com/gaming/2025/12/after-40-years-of-adventure-games-ron-gilbert-pivots-to-ou...
116•mikhael•3d ago•40 comments

Show HN: Tacopy – Tail Call Optimization for Python

https://github.com/raaidrt/tacopy
48•raaid-rt•5d ago•22 comments

Sugars, Gum, Stardust Found in NASA's Asteroid Bennu Samples

https://www.nasa.gov/missions/osiris-rex/sugars-gum-stardust-found-in-nasas-asteroid-bennu-samples/
19•jnord•1h ago•5 comments

Kenyan court declares law banning seed sharing unconstitutional

https://apnews.com/article/kenya-seed-sharing-law-ruling-ad4df5a364299b3a9f8515c0f52d5f80
82•thunderbong•4h ago•17 comments

Transparent leadership beats servant leadership

https://entropicthoughts.com/transparent-leadership-beats-servant-leadership
462•ibobev•23h ago•209 comments

CSS now has an if() conditional function

https://caniuse.com/?search=if
185•aanthonymax•5d ago•121 comments

How elites could shape mass preferences as AI reduces persuasion costs

https://arxiv.org/abs/2512.04047
602•50kIters•1d ago•557 comments

NeurIPS 2025 Best Paper Awards

https://blog.neurips.cc/2025/11/26/announcing-the-neurips-2025-best-paper-awards/
130•ivansavz•11h ago•18 comments

Multivox: Volumetric Display

https://github.com/AncientJames/multivox
290•jk_tech•20h ago•40 comments

We gave 5 LLMs $100K to trade stocks for 8 months

https://www.aitradearena.com/research/we-ran-llms-for-8-months
254•cheeseblubber•14h ago•201 comments

At IT School with Apple Lisa

https://blisscast.wordpress.com/2024/06/04/apple-lisa-gui-wonderland-3/
33•fabiojava•1w ago•7 comments

StardustOS: Library operating system for building light-weight Unikernels

https://github.com/StardustOS
90•transpute•14h ago•6 comments

Show HN: I was reintroduced to computers: Raspberry Pi

https://airoboticist.blog/2025/12/01/i-was-reintroduced-to-computers-raspberry-pi/
48•observer2022•3d ago•12 comments

CUDA-l2: Surpassing cuBLAS performance for matrix multiplication through RL

https://github.com/deepreinforce-ai/CUDA-L2
119•dzign•16h ago•13 comments

The US polluters that are rewriting the EU's human rights and climate law

https://www.somo.nl/the-secretive-cabal-of-us-polluters-that-is-rewriting-the-eus-human-rights-an...
324•saubeidl•3h ago•174 comments

Fighting the age-gated internet

https://www.wired.com/story/age-verification-is-sweeping-the-us-activists-are-fighting-back/
240•geox•23h ago•214 comments

Why are 38 percent of Stanford students saying they're disabled?

https://reason.com/2025/12/04/why-are-38-percent-of-stanford-students-saying-theyre-disabled/
670•delichon•19h ago•883 comments

What's the deal with Euler's identity?

https://lcamtuf.substack.com/p/whats-the-deal-with-eulers-identity
32•surprisetalk•5d ago•33 comments

I ignore the spotlight as a staff engineer

https://lalitm.com/software-engineering-outside-the-spotlight/
496•todsacerdoti•1d ago•225 comments

Fast trigram based code search

https://github.com/sourcegraph/zoekt
38•cv_h•9h ago•4 comments

Why we can’t quit Excel

https://www.bloomberg.com/features/2025-microsoft-excel-ai-software/
18•thm•2h ago•27 comments

Thoughts on Go vs. Rust vs. Zig

https://sinclairtarget.com/blog/2025/08/thoughts-on-go-vs.-rust-vs.-zig/
375•yurivish•15h ago•443 comments