frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Show HN: I'm an airline pilot – I built interactive graphs/globes of my flights

https://jameshard.ing/pilot
989•jamesharding•11h ago•159 comments

Normalizing Flows Are Capable Generative Models

https://machinelearning.apple.com/research/normalizing-flows
61•danboarder•3h ago•4 comments

Learn OCaml – Exercises

https://ocaml-sf.org/learn-ocaml-public/#activity=exercises
49•smartmic•3h ago•10 comments

Structuring Arrays with Algebraic Shapes

https://dl.acm.org/doi/abs/10.1145/3736112.3736141
55•todsacerdoti•4h ago•4 comments

SymbolicAI: A neuro-symbolic perspective on LLMs

https://github.com/ExtensityAI/symbolicai
83•futurisold•5h ago•26 comments

Qwen VLo: From "Understanding" the World to "Depicting" It

https://qwenlm.github.io/blog/qwen-vlo/
158•lnyan•9h ago•45 comments

10 Years of Pomological Watercolors

https://parkerhiggins.net/2025/04/10-years-of-pomological-watercolors/
164•fanf2•9h ago•27 comments

nimbme – Nim bare-metal environment

https://github.com/mikra01/nimbme
39•michaelsbradley•5h ago•6 comments

A Brief History of Children Sent Through the Mail

https://www.smithsonianmag.com/smart-news/brief-history-children-sent-through-mail-180959372/
74•m-hodges•4h ago•56 comments

bootc-image-builder: Build your entire OS from a Containerfile

https://github.com/osbuild/bootc-image-builder
16•twelvenmonkeys•3d ago•2 comments

Reinforcement learning, explained with a minimum of math and jargon

https://www.understandingai.org/p/reinforcement-learning-explained
25•JnBrymn•3d ago•0 comments

Spark AI (YC W24) is hiring a full-stack engineer in SF (founding team)

https://www.ycombinator.com/companies/spark/jobs/kDeJlPK-software-engineer-full-stack-founding-team
1•juliawu•3h ago

Transmitting data via ultrasound without any special equipment

https://halcy.de/blog/2025/06/27/transmitting-data-via-ultrasound-without-any-special-equipment/
83•todsacerdoti•7h ago•27 comments

Rust in the Linux kernel: part 2

https://lwn.net/SubscriberLink/1025232/fbb2d90d084368e3/
38•chmaynard•2h ago•1 comments

James Webb Space Telescope Reveals Its First Direct Image of an Exoplanet

https://www.smithsonianmag.com/smart-news/james-webb-space-telescope-reveals-its-first-direct-image-discovery-of-an-exoplanet-180986886/
81•divbzero•6h ago•47 comments

The Journey of Bypassing Ubuntu's Unprivileged Namespace Restriction

https://u1f383.github.io/linux/2025/06/26/the-journey-of-bypassing-ubuntus-unprivileged-namespace-restriction.html
9•Bogdanp•2h ago•1 comments

Weird Expressions in Rust

https://www.wakunguma.com/blog/rust-weird-expr
136•lukastyrychtr•9h ago•105 comments

Slightly better named character reference tokenization than Chrome, Safari, FF

https://www.ryanliptak.com/blog/better-named-character-reference-tokenization/
37•todsacerdoti•23h ago•8 comments

Ask HN: How do you learn Spanish guitar?

8•mazzystar•3d ago•10 comments

A New Kind of Computer (April 2025)

https://lightmatter.co/blog/a-new-kind-of-computer/
34•gkolli•3d ago•16 comments

Theoretical Analysis of Positional Encodings in Transformer Models

https://arxiv.org/abs/2506.06398
3•PaulHoule•2h ago•0 comments

Whitesmiths C compiler: One of the earliest commercial C compilers available

https://github.com/hansake/Whitesmiths-C-compiler
94•todsacerdoti•4d ago•24 comments

Glass nanostructures reflect nearly all visible light, challenging assumptions

https://phys.org/news/2025-06-glass-nanostructures-visible-photonics-assumptions.html
20•bookofjoe•3d ago•4 comments

New Process Uses Microbes to Create Valuable Materials from Urine

https://newscenter.lbl.gov/2025/06/17/new-process-uses-microbes-to-create-valuable-materials-from-urine/
13•gmays•5h ago•4 comments

Project Vend: Can Claude run a small shop? (And why does that matter?)

https://www.anthropic.com/research/project-vend-1
177•gk1•8h ago•73 comments

Parameterized types in C using the new tag compatibility rule

https://nullprogram.com/blog/2025/06/26/
126•ingve•18h ago•59 comments

PJ5 TTL CPU

https://pj5cpu.wordpress.com/
77•doener•17h ago•1 comments

Show HN: Sink – Sync any directory with any device on your local network

https://github.com/sirbread/sink
110•sirbread•18h ago•80 comments

Alternative Layout System

https://alternativelayoutsystem.com/scripts/#same-sizer
357•smartmic•1d ago•60 comments

Sailing the fjords like the Vikings yields unexpected insights

https://arstechnica.com/science/2025/06/this-archaeologist-built-a-replica-boat-to-sail-like-the-vikings/
133•pseudolus•4d ago•49 comments
Open in hackernews

Show HN: Do you know RGB?

https://maxwellito.github.io/do-you-know-rgb/
55•maxwellito•3d ago

Comments

yogini•3d ago
haha this is such a cool and fun game.
susam•4h ago
First try: 16/20

https://imgur.com/a/c0yUOlw

Excellent game!

maxwellito•4h ago
Good job! That’s really good! Oh damn I didn’t realised it was you!

Dear HN community, susam built the GuessMyRGB game which was a huge inspiration for this game. Please take the time to play it!!

https://susam.net/myrgb.html

dang•4h ago
That one had a thread last year, for anyone interested:

Guess my RGB - https://news.ycombinator.com/item?id=39882018 - March 2024 (144 comments)

freeqaz•3h ago
Here is another one my friend shared with me that's interesting. The time constraint adds some excitement! https://color.method.ac/
joemi•4h ago
Odd, I only got one wrong, and it gave me a 10/20 score at the end. Is the scoring not 1-to-1?

edit: Oh, I see. Once you get one wrong the game ends immediately, but the score includes the full 20 rounds that you're supposed to get through.

dmd•4h ago
I’m so confused. This is something people know? I mean, I can work it out from first principles knowing how color mixing works, but it sounds like people just … know them? I’ve been programming for almost 40 years and it would never have occurred to me to memorize this sort of thing.
siddboots•4h ago
I’d say this is firmly about knowing how colour mixing works, and not about memorising.
alpha_squared•3h ago
I got 14/20 on my first try just by knowing how the color mixing works. A few simple rules:

- Higher values mean brighter colors

- The closer the individual colors are to each other, the closer to "gray" it looks

- R + G = Yellow, R + B = Fuchsia, G + B = Teal

tshaddox•3h ago
I doubt anyone has many of them truly memorized. It's more like having the ability to quickly see each hex character and understand roughly what percentage that is, then quickly visualize the resulting color. My methodology playing this is to just convert each hex character to high, medium, or low, so you end up with something like "high red, medium blue, low green."
meindnoch•2h ago
4096 colors is not too much to memorize.
AlienRobot•2h ago
In the English language, they call it "red"

In the programming language, we call it "f00"

4096 words for colors!

fsckboy•1h ago
f00 is 3840
RheingoldRiver•1h ago
Just know them no. Able to sanity check that an RGB value is the color it's supposed to be yes sometimes. It's not the most useful skill because you almost always get a swatch now, but sometimes being able to have some idea of how it'll look (should it be dark or light, grey or intense color) saves me 10 seconds here and there.

I like playing guess-RGB games every now and then because it improves the skill, but at the same time I find them really stressful haha.

fsckboy•1h ago
>I mean, I can work it out from first principles knowing how color mixing works

did you try it? if you can work it out from first principles because you know how color mixing works, you should get a perfect score; that's the game. If you don't get a perfect score, you need to reinspect what you think you know about color mixing and even the first principles.

dmd•1h ago
Yes, I got a perfect score. It just took me several minutes, whereas coworkers of mine got 15+ in just a few seconds.
2earth•3h ago
Couldn't get above 3 for numerous tries, after 5 minutes or so managed to get to 18! I learned a lot playing this (and reflected on things I already "knew" but never reflected on why). Thanks!
ryandrake•3h ago
I tried about 5 times and never got more than 3 right. It would be better if they started out a little easier and then increased the difficulty. Currently it seems random. At any time you might get three nearly identical green boxes and it’s game over.
LorenDB•3h ago
Make sure to disable any dark mode extensions or the colors will not show up correctly.
stared•3h ago
Thank you for sharing!

However, you both ask about colors and use color for confirmation. This unfortunately is both confusing and makes a not nice overlap of one modality used for two things.

Quick solution: just use the correct color. Use other modality (e.g. shape V/X or text "Correct!" vs "Wrong!")

neilk•2h ago
I like it, but when you make your guess the mystery color should change to the color it describes, not to green or red. You should use some other aspect to indicate success - shape, motion, font, anything other than color. You already have it shaking for an incorrect guess, so that’s good.
joemi•2h ago
Yeah that green tripped me up.
siriusfeynman•2h ago
> do you know rgb

> colours are in hex

am I missing something or being dumb?

joemi•2h ago
It's a shortened form of hex colors from CSS, but it does correspond to RGB since the first character of the hex value is the R, the second character is the G, and the third is the B. So for instance, a hex value from this game of #F18 means the red is F (out of F), the green is 1 (out of F), and the blue is 8 (out of F).
williamdclt•2h ago
This is hexadecimal notation for rgb. Each character represents 2 bytes, which encode a value from 0 to 255.

This is a bit more confusing because this is a shorthand notation: you’d actually need 2 hexadecimal characters for 2 bytes (eg #0077ff would be rbg(0, 127, 255)). In this shorthand notation, I think there’s an implied 0 (eg #07f is #0070f0).

So you can’t represent all rgb colour with only 3 characters, but for this use-case it’s fine.

In css you can use either of these 3 notations, for example

jenadine•2h ago
In CSS, #07f is the same as #0077ff. (i.e. double each symbols)
siriusfeynman•1h ago
Every tool I've ever used referred to this as hex (including design tools but maybe I'm sheltered), whereas rgb refers to the 0-255 triples

If someone asked me for a colour in "RGB" they'd be rightly confused if gave them a hex format colour (obviously you can convert between them but that's not what they asked for)

frollogaston•1h ago
Agreed, rgb usually means like rgb(140,255,1)
susam•1h ago
The 3-digit shorthand for hexadecimal RGB colours dates back to CSS1, if not earlier.

From <https://www.w3.org/TR/CSS1/>:

> The format of an RGB value in hexadecimal notation is a '#' immediately followed by either three or six hexadecimal characters. The three-digit RGB notation (#rgb) is converted into six-digit form (#rrggbb) by replicating digits, not by adding zeros. For example, #fb0 expands to #ffbb00. This makes sure that white (#ffffff) can be specified with the short notation (#fff) and removes any dependencies on the color depth of the display.

I'm quite fond of the 3-digit hexadecmial RGB notation. It's a concise way to express the colours I use for web pages or Emacs font locking. In these cases, I rarely need the full 16-million-colour range offered by 6 digits. The 3 digits are usually more than enough, at least to me.

comradesmith•2h ago
18/20, first try :)
jenadine•2h ago
You're good. I made 0/20 on my first try.
arcanemachiner•2h ago
Definitely don't make the game end dafter one wrong guess. At least give me some lives or something, damn. Or, better yet, just let me play to the end, then give me my score.
PaulHoule•2h ago
I feel that way. Also there are many cases where I can eliminate two choices as obviously wrong but can’t tell the difference between two similar shades. I wouldn’t feel bad getting disqualified for a gross error but when it is two shades of bluish-green it doesn’t seem fair.

Another possibility is to give it more of a tournament feel where the early cases are easy and the last ones are hard so I get disqualified at 15/20 (webdev and photographer who does gfx programming for fun) but a real goldeneye could go further. 3/20 does not represent my skill.

fsckboy•1h ago
that's not really what you want, what you want is for the starting of a new game to be automatic and not require extra clicks.

the way I'm suggesting (which is what the game is with extra clicks) is a game of "what's my longest streak of correct guesses" which actually makes your score look better than keeping your losses around.

jagged-chisel•47m ago
That mechanic can be implemented without starting a new game at all. Increment a counter on correct guess, reset to 0 on incorrect, continue on through the game.
skykooler•2h ago
It would be nice if this told you upfront how many questions there were - after sixteen with nothing changing I figured it was probably endless but apparently there are twenty?
aezart•2h ago
Interesting that sometimes a washed out color will look darker than a pure color, even though there's more light overall.
bbx•2h ago
Very fun game. Got 15/20. I think I'd do better at an HSL version.
AnimalMuppet•1h ago
Off topic, but this seems like a decent place to ask:

Has anyone else noticed the weird new grey color that automobiles have in the last year or so? Does anyone know how to describe that color? Can anyone explain how it is different from previous greys in RGB terms? Or even in paint color terms?

Spire42•58m ago
Nardo: https://youtu.be/KchX52bIZSg