Readit News logoReadit News
spoiler commented on What are OKLCH colors?   jakub.kr/components/oklch... · Posted by u/tontonius
Diggsey · 2 days ago
Also, isn't the way browsers interpolate colors in sRGB just a bug that I assume is retained for backwards compatibility? sRGB is a logarithmic encoding, you were never supposed to interpolate between colors directly in that encoding - the spec says you're suppose to convert to linear RGB first and do the interpolation there...
spoiler · 2 days ago
It's not a bug, its a property of the colour space. Which is partially tied to how the colour is represented (RGB). When doing linear interpolation through the RGB cube (for eg a gradient), you normally pick the shortest path. It just so happens that sometimes that path passes thorough some shade of gray as different colour components are scaled.

Usually you fix it by moving your point through a different colour space. Choice depends on your requirements and mediums you're working with (normally different types of light sources or screens).

I had to write a low level colour interpolation librar for a few interactive art projects, so I dipped a bit into this, but I'm no colour expert

spoiler commented on ‘I witnessed war crimes’ in Gaza – former worker at GHF aid site [video]   bbc.com/news/videos/cy8k8... · Posted by u/nathanyz
spoiler · a month ago
People flaggig this, but it's obviously meant as satire, and I assume it's meant to be though provoking.

Similarly natured antisemitic comments in the thread weren't flagged, so what was this one?

spoiler commented on AI overviews cause massive drop in search clicks   arstechnica.com/ai/2025/0... · Posted by u/jonbaer
skinkestek · a month ago
Monetizing is fine with me: There’s nothing stopping creators from showing relevant ads—ones they choose themselves. Sometimes I have even found myself wishing there had been an ad a few months ago for a software conference I just realized I missed.

If someone blogs about woodworking, show static ads for tools they actually use and love. If they're into programming, show JetBrains, cloud providers, or anything dev-adjacent. Totally fine by me.

The problem is that almost everyone defaults to Google Ads—which then serves me wildly irrelevant junk, think brain-melting pay-to-win mobile games or even scammy dating sites that have zero connection to the content I’m reading and zero relevance to my interests.

It’s not just noise, it’s actively degrading the experience.

spoiler · a month ago
Ah I remember the good-old day when people were selling "ad spaces" on their sites that weren't obtrusive. And usually the ads were things the author approved of or even used
spoiler commented on Memory safety is table stakes   usenix.org/publications/l... · Posted by u/comradelion
tom_m · 2 months ago
Oddly I see a lot of marketing for Rust. Not gonna make it a success, sorry. No one cares about Rust lol. It's specialized. It has a value and a place, but it isn't a mainstream thing unfortunately.
spoiler · 2 months ago
What gives you the impression it won't be mainstream at some point? Its adoption seems to be on steady but slow rise.

Also I think there's other great things about Rust other than _just_ memory safety

spoiler commented on Discord.com added to EasyList, the biggest adblock filter list   github.com/easylist/easyl... · Posted by u/akyuu
spoiler · 2 months ago
How is it verifiable?

I use Discord daily , but always had some type of paranoia about it. So, I'm low key looking for alternatives (less tech savvy friends will be harder to convince to migrate though).

spoiler commented on Ask HN: What's the best tool you've used for sprint planning in 2025?    · Posted by u/jackh04878
matt_s · 3 months ago
I loathe Jira. People should be allowed to have that many fields on a screen, its ridiculous what is allowed. What sets linear apart from it?
spoiler · 3 months ago
I think what sets it apart from Jira is the balance between customisation and opinionated features I mentioned earlier. It will be useful a tool out of the box, but you can progressively enable a few extra features as your team grows.

I know on the surface it sounds a lot like Jira, but the execution is subtly better across the board. A lot of it is design/UX related too.

And lastly, it's very snappy. At previous job I had to wait seconds for between clicks for Jira to update. I don't know how that's considered okay by Atlassian (but I'm not sure if they upsell you "faster Jira" lol)

Another thing that stood out to me was their "Linear Method" posts https://linear.app/method

spoiler commented on Ask HN: What's the best tool you've used for sprint planning in 2025?    · Posted by u/jackh04878
spoiler · 3 months ago
Best tool I've used so far in this field has been Linear. It's simple, and a great balance between opinionated and customisable. The UI is simple and snappy too. It's like a polar opposite of Jira.

Deleted Comment

spoiler commented on Twitch star HasanAbi says he was detained, questioned by border agents   washingtonpost.com/immigr... · Posted by u/saubeidl
saubeidl · 3 months ago
I'm not sure that's true, but even if it is - isn't all of that covered by the first amendment?
spoiler · 3 months ago
It's true. The first amendment gives him the freedom to express his beliefs, but it should be obvious that who endorses terrorism and genocide is going to be suspicious/monitored in case they are further radicalised
spoiler commented on An Interactive Debugger for Rust Trait Errors   cel.cs.brown.edu/blog/an-... · Posted by u/matt_d
quotemstr · 4 months ago
LOL. People raked C++ over the coals for having metaprogramming sophisticated enough to need debugging. People mocked projects like Templight (https://llvm.org/devmtg/2015-04/slides/EuroLLVM2015Templight...) as just providing how awful C++ is. Now, when the same thing appears for Rust, it's evidence of how awesome Rust is?
spoiler · 4 months ago
I used to write C++ for around 10 years. I get the point you're trying to make... Like, both languages sometimes produce errors so long as to seem unhelpful (although the Rust error in this post is actually immediately helpful, so maybe it was a poor example on their part).

However, comparing Rust traits to template programming seems a bit disingenuous. One is literally a templating engine (albeit powerful one that people got creative with) and the other is part of a fairly cohesive type system (even if it has some downsides).

Also, I think even the most obtuse errors in Rust are still more helpful than average C++ template error.

u/spoiler

KarmaCake day2546January 15, 2013
About
Software engineer by day (these days mainly Rust, with a sprinkle of TypeScript). Aspiring artist by night (learning!)

Also, I'm very passionate about DX and UX... And I like long walks on the beach.

View Original