frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Simple algorithm and color space to generate diverse skin tones

https://toneyalexander.github.io/inclusive-color-space/
114•automatoney•1h ago•27 comments

Ray Bradbury's "There Will Come Soft Rains" is set today (2026-08-04)

https://short-stories.co/@raybradbury/there-will-come-soft-rains-6k8vr4xxlnmj
421•askvictor•6h ago•187 comments

Germany Records Historic 12B KWh Solar Feed-In in July 2026

https://solarquarter.com/2026/08/03/germany-records-historic-12-billion-kwh-solar-feed-in-in-july...
77•johnbarron•3h ago•59 comments

When AI Benchmarks Plateau: A Systematic Study of Benchmark Saturation

https://arxiv.org/abs/2602.16763
11•doppp•34m ago•0 comments

DeepSeek V4 Flash on a Single AMD MI300X

https://github.com/ryanzhou/deepseek-v4-flash-mi300x
269•zhoutong•6h ago•60 comments

Dates That Don't Exist (2015)

https://blog.yossarian.net/2015/06/09/Dates-That-Dont-Exist
57•EndXA•2d ago•36 comments

Keyv and friends compromised in active Shai-Hulud supply chain attack

https://www.aikido.dev/blog/keyv-and-friends-compromised-in-npm-supply-chain-attack
124•cimi_•5h ago•55 comments

LLMs reward expertise

https://www.seangoedecke.com/llms-reward-expertise/
1234•MaxMussio•19h ago•507 comments

Buckminster Fuller: everything I know

https://www.bfi.org/about-fuller/everything-i-know/
83•simonebrunozzi•5h ago•27 comments

Apple says more ex-employees may have taken confidential data to OpenAI

https://techcrunch.com/2026/08/04/apple-says-more-ex-employees-may-have-taken-confidential-data-t...
47•thewebguyd•1h ago•24 comments

Online ad giant Adform was hacked, proving once again why ad blockers are needed

https://this.weekinsecurity.com/online-advertising-giant-adform-was-hacked-proving-once-again-why...
62•speckx•1h ago•7 comments

Xbox goes down. You can't play games you own on disc

https://birchtree.me/blog/xbox-goes-down-you-cant-play-games-you-own-on-disc/
377•surprisetalk•4h ago•423 comments

Harness Engineering for Self-Improvement

https://lilianweng.github.io/posts/2026-07-04-harness/
215•tosh•10h ago•38 comments

Where .env Went Wrong

https://secretspec.dev/blog/where-env-went-wrong/
62•domenkozar•4d ago•31 comments

Roame (YC S23) Is Hiring Lead Engineer

https://www.ycombinator.com/companies/roame/jobs/mqqfa38-lead-full-stack-engineer
1•zman0225•4h ago

Looking inside a 1970s PROM chip that stores data in microscopic fuses (2019)

https://www.righto.com/2019/07/looking-inside-1970s-prom-chip-that.html
18•Jimmc414•3d ago•3 comments

Agent skills that bring team coding standards to Claude Code and Codex

https://github.com/tikalk/adlc-team-skills
68•kanfilior•2h ago•35 comments

Show HN: Fine-tune an 8B model on a 4 GB laptop GPU

https://github.com/MakazhanAlpamys/Soup
81•MakazhanAlpamys•5h ago•10 comments

Why Large Language Models Fail at Tabular Prediction

https://arxiv.org/abs/2608.02412
69•sbulaev•6h ago•25 comments

Why etymologies matter: How tracing words can illuminate history (2024)

https://resobscura.substack.com/p/why-i-love-etymologies
63•benbreen•3d ago•14 comments

Show HN: Run an 80B Qwen in 4.3 GB of RAM on a Mac, and a 35B on an iPhone

https://github.com/leonickson1/Swiftlet
273•leonickson•23h ago•123 comments

Ten advances in mathematics and theoretical computer science

https://openai.com/index/ten-advances-in-mathematics/
601•milkshakes•1d ago•884 comments

Rebuilding and analysing 4 years of Wordle stats from WhatsApp chat logs

https://blog.omgmog.net/post/rebuilding-wordle-stats-from-whatsapp/
15•surprisetalk•1d ago•4 comments

Devtools must be open source

https://blog.exe.dev/devtools-must-be-open-source
683•bryanmikaelian•1d ago•226 comments

Amazonian civilization had estimated 3M people in 3% of forest area

https://www.science.org/content/article/odd-shapes-hidden-dense-amazon-rainforest-reveal-sprawlin...
237•marojejian•6d ago•175 comments

Homebench – Benchmark local LLMs for speed, memory, and quality

https://github.com/david-g-3654/homebench
38•davai-g•6h ago•2 comments

Webb telescope finds signs of ancient disaster for Neptune's moons

https://www.reuters.com/science/webb-telescope-finds-signs-ancient-disaster-neptunes-moons-2026-0...
5•Teever•16m ago•0 comments

AI-Generated Images Discourage Me from Reading Your Blog

https://nelson.cloud/ai-generated-images-discourage-me-from-reading-your-blog/
608•meysamazad•5h ago•360 comments

"Clean" Code, Horrible Performance (2023)

https://www.computerenhance.com/p/clean-code-horrible-performance
73•FrojoS•6h ago•46 comments

There Will Come Soft Rains (1950) [pdf]

https://users.wpi.edu/~zrbutzke/Docs/BradburyStories(1).pdf
282•pmg101•17h ago•101 comments
Open in hackernews

Show HN: Simple algorithm and color space to generate diverse skin tones

https://toneyalexander.github.io/inclusive-color-space/
112•automatoney•1h ago
Hello HN!

I found that picking out plausible but diverse skin tones for my digital art and game development projects was kind of difficult, and I got curious about if there was a way to define a color space that made it easy.

I've built a color picker and procedural generation algorithm based on the space as well as a bunch of other fun js features and demos throughout the page that use the equations. If you find it interesting, I have lots of explanations of how I built it and what properties the space has.

The methodology might be a bit shaky, but hopefully the result is as helpful for others as I have found it! There's lots of room for improvements (see the Future Work section), but I'm really happy with how it turned out.

Comments

m_w_•58m ago
This is super cool! I have always loved projects that try to categorize color space. Usually my work has gone in the other direction - isGray, isCloseToWhite, isPastel - but it's the same insofar as it's defining shapes like your matplot visual.

Wish I had this on hand like this three or four years ago when I was working on VR avatar software - we had hard-coded skin tone options at the time - would have been a cool addition!

automatoney•51m ago
In sharing this around I've found more people than I thought who've done things to semantically chop up the color space - definitely a more interesting area than I first thought of when working on my narrow use case. Feels like it'd be fun to play with something that has a whole bunch of different regions of color space labeled - like "here's where IsPastel overlaps with IsGreen".

But absolutely the hope is that this is a tool that stays accessible to people for whatever they're building and everyone can slow down on reinventing the wheel here for every character creator/digital art application.

moralestapia•46m ago
Interesting.

It might be a bit biased though, as there's much more variation on fairer skin tones than on dark ones (there's only one that looks like the colloquial "black").

This contradicts all research and social media from the past decade.

Tossrock•41m ago
...Did you read the article, or use the picker? It's a continuous (up to the limits of RGB quantization) space which includes thousands upon thousands of shades of black. The selected tones at the top of the article are random and change continuously.
andai•46m ago
Nice. Most of these colors look right to me, but I'm also seeing green, blue and purple? If you're curating colors from the space manually then it's not a problem.

"Only realistic colors" would be a different problem. And I'm not sure if there's a way to solve that problem without excluding some real colors too.

(Maybe if the colour selector was a different shape? I don't know much about color spaces.)

automatoney•40m ago
Yes absolutely right on - I mention much deeper in the page that in a picker UI you can use a bigger range, but that in a generation context you might want to be a bit more selective. I go into it a bit more when I explain what R^2 is.

"not sure if there's a way to solve that problem without excluding some real colors too" - 100% right on that too. A big part of this work was to define a way to tweak/improve the equations in order to approach a solution to these issues - part of my hope in sharing is to get more eyes and brains thinking about this and proposing improvements!

compass_copium•29m ago
I would have "show sphere" on by default--this kind of threw me at first, too.

This is a really nice project. Great work and a great write-up. Thanks for sharing.

wongarsu•36m ago
If you drag the bottom slider all the way to the right you only have plausible skin tones. Drag it all the way to the right and you can match skin tones for orcs, Na'vi and djinn
richiebful1•31m ago
Reducing the R^2 value to ~1.5 excludes skin colors that are extremely blue, green and purple. That seems to be a happy medium between including real outliers and excluding colors like green.
Abh1Works•44m ago
Cool work!
383toast•41m ago
Seems to underrepresent pale skin tone variety
LocalH•18m ago
Turn off your dark mode reader extension
vermarish•40m ago
This is beautiful work! First, I thought this would involve using PCA to go from 3D to 2D, which would result in an easier selector to use, but at the expense of representing every person.

Then, I thought this would stop at using the U-space vectors (the ones that form the basis of the PCA image) and their corresponding ellipse to form our color space, but no, the function fitting is a very slick idea, even if it was executed by hand.

Lastly, I love the presentation of sampling from different r values. Whether you sample from a fixed r value or a range of r values, I bet this has great applications in game design or animation.

I still don't quite get the manual data labeling process at the beginning? It seems like it would encode some bias, but the consistency of the first point cloud and the results certainly speak for themselves.

automatoney•35m ago
Thank you! I call out the manual labeling bias and also that a future work improvement would be to be scientific about that labeling process (multiple labelers, expert labelers), and then to feed that into the equation generation steps. Part of where the "good enough" naming comes from - I was hoping that using my art brain and keeping a bunch of reference images in mind (shout out to the Humanae project) would maybe offset the bias a bit. But 100% right on the bias being there.
dr_scully•24m ago
If you look at my doctoral thesis, in fact skin colour can be parametrised using melanin and haemoglobin concentration; which it means it is indeed (roughly) two dimensional. This allows you to invert the colour of a pixel and identify someone’s chromophore concentration. This is based on previous work of others cited in the thesis.

https://discovery.ucl.ac.uk/id/eprint/10093345/

GolDDranks•
RIMR•40m ago
For anyone confused, turn off your dark mode extension. :)
automatoney•33m ago
Oh wow, didn't even think of how that sort of thing might affect the page.
stephantul•38m ago
Love it. I especially thought the introspective “aside” section on related resources was great, and I wish more people would show this kind of reflection.
automatoney•34m ago
Thanks! I hope to send lots of love those ways, they're basically all things that I found outside of this work that I liked enough to remember (I think Humanae was the one that I found while doing this).
hluska•31m ago
This is excellent work! You’ve got a 49 year old and a 10 year old equally into it. That’s impressive - nice work.
ptsneves•21m ago
On the movie Dolemite by Eddy Murphy, they go over the fact that black people absorb light and white people reflect, and how that changes the motion picture shooting process totally. Also how one size does not fit all. Cool project! I am not much into the humanities part of the project. For me this is as natural as having a localization framework, just in this case for skin tones.
PullJosh•17m ago
I love this! Such a beautiful use of some real nerdy math to benefit humans in a way non-nerds would appreciate.
rrradical•13m ago
Very neat project. Could I use this code to generate skin tones in my own project? Or more meant to just be educational/inspirational? I guess I'm wondering if you've considered adding a license.
automatoney•6m ago
Good catch, added MIT license - feel free to use it! On top of that, my understanding is that math/equations are not subject to copyright, so the core part of this work (the equations/ideas) I think legally has 0 limitations - even if there were a restrictive license. But IANAL so might have some misconceptions.
Joel_Mckay•3m ago
Procedural generators are often free if you look around for a bit.

https://kuhantilope.gumroad.com/l/ultimate-skin

https://extensions.blender.org/add-ons/mpfb/

https://github.com/alessandro-zomparelli/tissue

ymmv, as some paid plugins actually speed up the funky blender workflow (the auto-Bake plugin by the same author is important for procedural generated textures.)

https://sanctus.gumroad.com/l/SLibrary?layout=profile

Have a great day =3

bellowsgulch•10m ago
[delayed]
dofm•4m ago
Interesting though that the 1.5 setting (at least on my older iPhone) doesn’t really ever seem to cover the range of skin tones of indigenous Australians (“aboriginal” and Torres Strait Islanders), who actually get their skin tones from a somewhat different expression of genes than other peoples with darker skin.

The 2.0 “outliers” cover those skin tones.

Masai and Somalian skin tones, similarly, look better represented by the outliers.

18m ago
I've heard that the so-called "yellowish" skin color that non-tanned East Asians tend to have, is due to relative abundance of subcutaneous fat. If that's true, is that captured by the haemoglobin dimension or is it a yet another degree of freedom?