frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

The unreasonable effectiveness of fuzzing for porting programs

https://rjp.io/blog/2025-06-17-unreasonable-effectiveness-of-fuzzing
165•Bogdanp•7h ago•34 comments

Show HN: Workout.cool – Open-source fitness coaching platform

https://github.com/Snouzy/workout-cool
521•surgomat•11h ago•163 comments

My iPhone 8 Refuses to Die: Now It's a Solar-Powered Vision OCR Server

https://terminalbytes.com/iphone-8-solar-powered-vision-ocr-server/
182•hemant6488•7h ago•63 comments

Websites Are Tracking You via Browser Fingerprinting

https://engineering.tamu.edu/news/2025/06/websites-are-tracking-you-via-browser-fingerprinting.html
29•gnabgib•2h ago•10 comments

The Matrix (1999) Filming Locations – Shot-for-Shot – Sydney, Australia [video]

https://www.youtube.com/watch?v=UVf7rMqnwI0
42•keepamovin•2d ago•32 comments

Writing documentation for AI: best practices

https://docs.kapa.ai/improving/writing-best-practices
122•mooreds•7h ago•35 comments

DropZap World – my falling block game with lasers, released after years of work

https://apps.apple.com/us/app/dropzap-world/id1072858930
11•amichail•2d ago•3 comments

Poline – An enigmatic color palette generator using polar coordinates

https://meodai.github.io/poline/
186•zdw•3d ago•37 comments

Homomorphically Encrypting CRDTs

https://jakelazaroff.com/words/homomorphically-encrypted-crdts/
185•jakelazaroff•10h ago•56 comments

Show HN: I built a tensor library from scratch in C++/CUDA

https://github.com/nirw4nna/dsc
83•nirw4nna•8h ago•17 comments

Introduction to the A* Algorithm (2014)

https://www.redblobgames.com/pathfinding/a-star/introduction.html
233•auraham•1d ago•87 comments

Game Hacking – Valve Anti-Cheat (VAC)

https://codeneverdies.github.io/posts/gh-2/
85•LorenDB•6h ago•74 comments

Terpstra Keyboard

http://terpstrakeyboard.com/web-app/keys.htm
208•xeonmc•13h ago•70 comments

MiniMax-M1 open-weight, large-scale hybrid-attention reasoning model

https://github.com/MiniMax-AI/MiniMax-M1
316•danboarder•16h ago•68 comments

Is there a half-life for the success rates of AI agents?

https://www.tobyord.com/writing/half-life
195•EvgeniyZh•12h ago•107 comments

Yes I Will Read Ulysses Yes

https://www.theatlantic.com/magazine/archive/2025/07/zachary-leader-richard-ellmann-james-joyce-review/682907/
54•petethomas•6h ago•73 comments

Bento: A Steam Deck in a Keyboard

https://github.com/lunchbox-computer/bento
12•MichaelThatsIt•2h ago•3 comments

Scrappy – Make little apps for you and your friends

https://pontus.granstrom.me/scrappy/
409•8organicbits•18h ago•130 comments

Attimet (YC F24) – Quant Trading Research Lab – Is Hiring Founding Engineer

https://www.ycombinator.com/companies/attimet/jobs/b1w9pjE-founding-engineer
1•kbanothu•6h ago

Revisiting Minsky's Society of Mind in 2025

https://suthakamal.substack.com/p/revisiting-minskys-society-of-mind
66•suthakamal•7h ago•20 comments

New US visa rules will force foreign students to unlock social media profiles

https://www.theguardian.com/us-news/2025/jun/18/social-media-student-visa-screening
32•sva_•27m ago•15 comments

Framework Laptop 12 review

https://arstechnica.com/gadgets/2025/06/framework-laptop-12-review-im-excited-to-see-what-the-2nd-generation-looks-like/
194•moelf•8h ago•250 comments

Locally hosting an internet-connected server

https://mjg59.dreamwidth.org/72095.html
152•pabs3•18h ago•142 comments

I counted all of the yurts in Mongolia using machine learning

https://monroeclinton.com/counting-all-yurts-in-mongolia/
217•furkansahin•15h ago•84 comments

A different take on S-expressions

https://gist.github.com/tearflake/569db7fdc8b363b7d320ebfeef8ab503
50•tearflake•3d ago•35 comments

PWM flicker: Invisible light that's harming our health?

https://caseorganic.medium.com/the-invisible-light-thats-harming-our-health-and-how-we-can-light-things-better-d3916de90521
55•SLHamlet•6h ago•77 comments

Real-time action chunking with large models

https://www.pi.website/research/real_time_chunking
68•pr337h4m•1d ago•7 comments

Should we design for iffy internet?

https://bytes.zone/posts/should-we-design-for-iffy-internet/
51•surprisetalk•2d ago•35 comments

Show HN: Trieve CLI – Terminal-based LLM agent loop with search tool for PDFs

https://github.com/devflowinc/trieve/tree/main/clients/cli
25•skeptrune•9h ago•9 comments

Reasoning by Superposition: A Perspective on Chain of Continuous Thought

https://arxiv.org/abs/2505.12514
50•danielmorozoff•11h ago•1 comments
Open in hackernews

PWM flicker: Invisible light that's harming our health?

https://caseorganic.medium.com/the-invisible-light-thats-harming-our-health-and-how-we-can-light-things-better-d3916de90521
55•SLHamlet•6h ago

Comments

mtalantikite•5h ago
These LED light flickers actually trigger ocular migraines for me. I had tried to put in LEDs when the incandescent ban hit the US, and ended up with a Philips Hue system. I had 4 migraines in 3 days and had to send them back. I purchased as many incandescent bulbs as I could find, but they were somewhat impossible to find at that point.

I've got a couple bulbs from Waveform Lighting and they don't flicker, but I totally can tell the reds are off.

I really hate the LED transition. My building replaced all the outdoor lights with them, and now it's just too bright to sit on my stoop at night like used to be so common here in Brooklyn. My backyard neighbor put in an LED floodlight and now I have to buy blackout curtains. I drive rarely, but the oncoming headlights are blinding when I do. It's pretty depressing if I think about it too much.

igor47•5h ago
That sucks; I feel your pain. I, too, strongly dislike overly bright lighting.

I wonder if there's room to at least engage with the neighbor to talk about friendlier light options? You might also be able engage with these folks to see if there are efforts to improve the lighting in new York: https://darksky.org/

PaulHoule•5h ago
My take is that PWM dimmers are dramatically more energy efficient than the old rheostat dimmers people used to use. If you operate a transistor in a digital mode where it is either on or off it is close to 100% efficient, but if you operate it in a 50% power mode you have to send 50% of the power to a load and the other 50% to a resistor. Thus CMOS logic eradicated bipolar, switching power supplies replaced linear power supplies, a Class D amplifier can be a fraction the size of a Class A amplifier, etc.

You could probably still reduce the flicker by either increasing the switching frequency or putting some kind of filter network between the switch and the load.

mtalantikite•4h ago
For sure, they're definitely way more efficient. They just unfortunately give me migraines. I'd be open to trying some that have a filter network or some other smoothing on the flicker.

But I've also never lived in a house that has dimmers (they've all been old homes in the north eastern US) and I never use overhead lighting, so it's not something I need or would miss.

card_zero•4h ago
Apparently fourth-generation LED tube lights are designed not to flicker.

https://en.wikipedia.org/wiki/LED_tube#History

JKCalhoun•5h ago
I wonder to the degree their effects are much worse than migraines. Perhaps irritability? Mental confusion? Anxiety? I'm spitballing here, but to be sure it seems like our world is somehow a place of more anxiety, irritation .... I would love for it to be something we could take control of.
genewitch•5h ago
i doubt it's the light bulbs. I posited the other day, by assembling a few different ideas, that Trauma Based Entertainment is to blame for this. something like 2/3rds of all Television programing is law-enforcement adjacent. True Crime is super popular on TV, law and order, NCIS, FBI this-and-that. And what's one of the largest advertising cohorts?

Medicine for depression, anxiety, insomnia...

it's nearly a closed loop; something i intuitively realized shortly after 2001/09/11 - by the end of that year i decided i would no longer have a "Television" attached to CATV/SAT/ANT service.

I'm not sure if i am correct, i haven't really dedicated a lot of time to getting the exact numbers, talking to psychologists and sociologists and the like. But two people i know had "breakdowns" (grippy sock) in the last month and both of them always have true crime on TV in the background or listen to true crime podcasts. Shortly after that happened i was listening to the moe facts podcast where Moe used the term "trauma based entertainment" and something clicked - Moe didn't mention "it's because of pharma ads" - that's my own input after having worked for the largest television "broadcast" company in the world, just long enough to see the advertiser "dinner".

RiverCrochet•1h ago
The only ones watching traditional OTA TV anymore are elders. That advertising cohort is why OTA TV ads are filled with pharmaceuticals and "you may be entitled to financial compensation" type ads, at least where I'm at. Traditional TV has been dying since Youtube and broadband. MTV plays Ridiculousness constantly because no one is actually watching it.

> it's nearly a closed loop; something i intuitively realized shortly after 2001/09/11 - by the end of that year i decided i would no longer have a "Television" attached to CATV/SAT/ANT service.

Curiously this is about the same time I decided to give up on TV and radio as well.

ToDougie•1h ago
Utter nonsense.
oakwhiz•1h ago
Lights for high speed cameras use really good filtering on their PWM switching, or just linear power supplies. It would be nice to have a premium bulb that has longer life and much less flickering.
mousethatroared•39m ago
If you're savvy with manufacturing, make yourself a left handed edison thread (I can't find them anywhere). Left handed incandecent lightbulbs are still legal

Also, you can buy high wattage lights, and the three ways have lower wattage settings.

Finally, outdoor and appliance incandescents lamps are very inefficient, but last forever.

Zak•15m ago
> I totally can tell the reds are off.

How do the reds look to you?

I looked at the photometric reports from a couple Waveform models on their website and the R9 (saturated red rendering) was in the 90s for both with tint almost exactly on the blackbody line. The 2700K did have a bit worse R9 than the 4000K so I could imagine it doesn't look exactly like an incandescent.

JKCalhoun•5h ago
Suspicious of "DC dimming". If you can just lower the current to an LED to dim it, everyone would. Someone will know better than me, but I believe there is a kind of threshold voltage for the (solid-state) LED.

I am not aware of LED bulbs (and here I am talking about home lighting, not phones or laptops) that dim by shutting down some of the (multiple) LEDs.

Most home lighting bulbs appear to have several LED elements. A circuit could enable dimming by simply shutting some of them off — running the rest full-on. 50% dim would of course shut half the LEDs off. No PWM required.

kjkjadksj•5h ago
You can in fact dim leds. You can see a lot of controllers that are just that at various parts suppliers.
genewitch•4h ago
you can dim LED that are running on DC (it requires more than a potentiometer i guess - probably a buck circuit controlled by a pot, though) or AC; i have scant idea how the AC ones work, although variacs have existed for a real long time; but you have to buy special LED bulbs that can handle being on a dimming circuit.

this is different than a bulb like hue etc that have the ability to dim themselves through whatever mechanism.

SAI_Peregrinus•2h ago
Traditional dimmers used TRIACs. Those don't dim LEDs well, they make very visible flicker. TRIACs turn the AC off for part of the waveform, essentially a very slow version of PWM. With an incandescent filament that flicker isn't as noticeable since it takes some time to cool down & stop glowing, which visibly smooths the flicker. It just stabilizies around a lower temperature. With LEDs, the turn-off is nearly instant. You visibly see the flicker at the AC mains frequency.

There are two ways to dim an LED: supply less current at the same voltage, or PWM dim it with a fast enough switching speed that you don't notice the flicker (this being slower than it needs to be is what the article is about). A current source is pretty easy to build, and doesn't flicker, but it does dissipate all the excess energy as heat. That's not what you want inside the dimmer switch in your wall, it can be quite a lot of heat and would be a fire hazard in such a confined area. It does work for things like photography lamps which can have exterior heat sinking.

nomel•1h ago
> but it does dissipate all the excess energy as heat.

No. That's only true for a linear regulator, which is just one, very terrible, implementation of a current source that's only used for very low power applications. Linear regulators are never used for things like room illumination.

The alternative, and what's used for all commercially available DC LED drivers (plentiful and cheap), is to just use a regular AC->DC switching supply in current mode (current for feedback rather than voltage feedback). The only flicker is the ripple left in the filtered output.

Why aren't these used? Because most dimmer switches use tech from incandescent age, and just chop off parts of the AC sine wave, so the bulbs are designed around the switches you can buy in the store. Why do dimmer switches chop? Because that's what the bulbs you can buy at the store expect, sometimes damaging them if not dimmed as they expect.

You can buy in wall DC dimmer switches from any LED supply store, but they require DC lighting, also only found at LED supply stores. It's entirely a very recent momentum problem, that's slowly going away.

mrob•5h ago
You can just lower the current. Not everyone does because it generally requires more expensive components, e.g. inductors. There is a threshold voltage ("forward voltage") needed for LEDs to turn on but there's no threshold for minimum radiant flux. LEDs are actually more efficient at low current (although this might be counteracted by greater losses in the power supply).
Kirby64•4h ago
DC dimming LEDs is relatively easy, and somewhat common. The problem is that it's expensive compared to PWM dimming. It requires more expensive current-adjustable circuitry.

Additionally, for bulbs that are used in regular household fixtures, they basically need a way to convert TRIAC chopped 50/60Hz AC into constant current... which makes things even more expensive. Smart bulbs that are supplied a constant non-chopped AC can do it easier, but it's still expensive to do DC dimming.

PaulHoule•4h ago
I guess there is some threshold below which the LED turns off so the voltage/current -> light function needs to be set accordingly.

When I was in high school we were messing around with liquid nitrogen and overvolting LEDs and noticed the odd effect that the color of the LED would change if you overvolt it. It was years before I found out why

https://www.reddit.com/r/AskElectronics/comments/v28qbh/why_...

https://spectrum.ieee.org/a-definitive-explanation-for-led-d...

Kirby64•4h ago
Voltage, yes. Current, no not really. You can drive extremely low currents and still get photon emissions from LEDs. That said, it's highly non-linear, so you basically need to assign set points. Doubling the current won't double the lumen output.
normie3000•5h ago
Do computer screens flicker and release this bad light?
igor47•5h ago
In the article they rank some smartphones by how much they flicker for dimming, I assume it's the same when computer screens dim?
codethief•5h ago
Some do, some don't. Sites like notebookcheck.net typically mention in their reviews whether a given laptop screen exhibits PWM.
layer8•4h ago
Yes, Notebookcheck regularly measures PWM in displays: https://www.notebookcheck.net/PWM-Ranking-Notebooks-Smartpho...

For OLED I remember reading that PWM dimming is necessary because DC dimming causes shifts in color/whitepoint.

blacksmith_tb•5h ago
I would certainly agree that finding LED bulbs that you like and/or don't bother you can take some work (especially if you want to put them on a dimmer, in which case you may also need to replace your dimmer). However, I am skeptical that subtle PWM flickering is unavoidable. For the chateau example, it would be better to choose bulbs with fewer lumens and run them at 100%?
baggachipz•4h ago
I wonder about this too. If I have a dimmer and a LED bulb, does putting the dimmer all the way up still use PWM? I have a hunch that it still does, but would love to be proven wrong.
demosthanos•5h ago
I know that people anecdotally report complaints about flicker and it's plausible to me that there could be an effect, but the way this piece is written reminds me distinctly of similar essays about WiFi sickness, MSG, and GMOs.

It identifies a "health risk", describes the mechanism in terms that sound very convincing, assigns numbers to its cause and effects, provides a table grading health risks of various products, all without linking to a single scientific study demonstrating that the effect is anything other than nocebo. The closest they come is a image of a table that refers to a few institutions that apparently did a study related to PWM (leaving it an exercise to the reader to find the studies they're supposedly referencing) and a link to a Wikipedia page which links to a Scientific American article which says:

> In 1989, my colleagues and I compared fluorescent lighting that flickered 100 times a second with lights that appeared the same but didn’t flicker. We found that office workers were half as likely on average to experience headaches under the non-flickering lights. No similar study has yet been performed for LED lights. But because LED flickering is even more pronounced, with the light dimming by 100% rather than the roughly 35% of fluorescent lamps, there’s a chance that LEDs could be even more likely to cause headaches.

I'm willing to entertain the idea that LED flicker is actually problematic, but I wish essays like this would be honest about the degree of confidence we have given the current state of the evidence. This piece instead takes it as a given that there's a problem, to the point where they confidently label devices on a scale of Low to Extremely High health risks.

NhanH•5h ago
IEEE Recommended Practices for Modulating Current in High-Brightness LEDs for Mitigating Health Risks to Viewers : https://standards.ieee.org/ieee/1789/4479/

There is nothing anecdote about flickering in LED light causing health risks.

demosthanos•4h ago
I am not questioning that certain types of flickering are harmful, so that there's an IEEE standard for how to safely use PWM does not contradict what I said.

What I'm asking for is for articles like this that cite numbers and provide tables purporting to quantify the degree of harm caused by various devices to point to where they're getting their numbers from or, if they can't do that, stop making up numbers and assigning things to "harm" scales that they invented themselves based on vibes.

Either there's a study showing that 246 Hz flickering poses "Extremely High" health risks or there isn't.

NhanH•4h ago
See my comment on the other reply.

> Either there's a study showing that 246 Hz flickering poses "Extremely High" health risks or there isn't.

They calculated it using the definition from the standard.

demosthanos•4h ago
Can you please cite the page number where this definition exists? When I search for "extreme" in the standard that the other commenter links to I don't turn anything up, so I'm unclear where that classification is defined.
NhanH•4h ago
31 and 32 (by the printed page number), in pdf it’s 42
Kirby64•3h ago
The article contradicts the IEEE paper.

They list the 'Xiaomi 15 Ultra' as having a 'Moderately High' health risk, and cite it as having a 2.16 kHz PWM frequency at 30-75% modulation depth.

The IEEE article has recommended practices that state:

8.1.2.3 Example 3: PWM dimming Using Figure 20, the recommended practice for PWM dimming at 100% modulation depth is that the frequency satisfies f > 1.25 kHz. This can also be derived using Recommended Practice 1 and solving 100% = 0.08×fFlicker. This level of flicker could help minimize the visual distractions such as the phantom array effects.

Seems like even at 100% mod depth, >1.25 kHz is just fine.

Also, the article does not seem to distinguish between modulation at reduced brightness, which the IEEE article calls out specifically as something that is unlikely to cause issues. E.g., movie theaters using film all flicker at 48 Hz and nobody complains about that.

demosthanos•3h ago
That does not define the scale that they're using. That's a typical hazard analysis risk matrix which has two axes which can be converted into a 4-point scale (Low, Medium, Serious, High). Importantly, to do a risk assessment in the style of IEEE 1789's you have to identify the specific Hazards that you're analyzing, which TFA does not claim to be doing in that table, instead speaking vaguely of "health risks". IEEE 1789 does not provide a mechanism for evaluating "health risks" without specifying exactly which risks are being evaluated.

You can see on page 27 how this is meant to be used: it should produce a per-hazard matrix.

You might be thinking of Figure 18 on page 29, which does identify Low-risk and No-effect regions by Modulation % and Frequency, but that also does not claim to identify high-risk regions, it just identifies the regions we can be highly confident are safe. And importantly, as a sibling comment notes, TFA's table actually contradicts the line on Figure 18, labeling several devices as higher than Low even when they're squarely within the Low-Risk and No-Effect zones.

PaulHoule•4h ago
Was it an astronomically high health risk to watch a TV set that flickers at 60 Hz or movies that flicker at 48 or 72 Hz? (It is 24 frames per second but you'd perceive a lot of flicker at that rate so the shutter has 2 or 3 blades)
wasabi991011•4h ago
Here is a non-paywalled link: https://www.lisungroup.com/wp-content/uploads/2020/02/IEEE-2...

Sure, PWM light can cause health risks for some people, in some contexts. But taking research out of context is bad science.

Do you genuinely believe the Pixel 7 and 8 Pro have an "extremely high health risk", in the context of what a lay person would understand?

Edit: I specify 'lay-person' because clearly this is an introductory blog post (or advertisement for Daylight Computer). If they want to use a more specific definition of health risk, then they better define it.

NhanH•4h ago
The “very/moderate high” comes from the standard itself, which is quantified within the standard. In the context, it is about the probability of having issues, while the effect (mild to catastrophic) is another axis. Considering that they stick to the “official” wording and seeing the criticism, I am not even sure if they can change to a more “lay-person” friendly and be acceptable to all the critics.

The standard also linked to the researches during their discussion.

Please read it, instead of just randomly throw out things hoping that they supported your argument.

demosthanos•4h ago
You can't just point people at a 60-page paywalled standard and say "the supporting evidence to my claim is somewhere in here, I pinky promise". You are the one making assertions, it's on you to prove that the standard actually does reflect the text of TFA. I'm not going to read the whole standard because I'm not the one making the argument and I can't be bothered doing the research needed to refute every piece of nonsense science that shows up on the internet. What I can do is point out when someone is making unsourced claims and insist that they provide their sources if they want to be taken seriously.

Cite the exact page number and quote that you claim justifies the assertion that 246 Hz PWM carries an "extremely high" health risk. Then we can talk.

NhanH•4h ago
Look, they sourced their claims (quite literally, they put how they calculate, from which standard). And linking to the correct document is literally how scientific citation works — I replied the page to you above anyway.

If you want to redo the numbers and check if they fit the definition, please feel free to do so, but you will need to put some works in (since the flicker hz -> risk showing in the article is a computed value, you need to find the modulation value and plug it in too)

I understand your fight and your idea, I am just saying that in this specific instance, this is not a fight to be fought. The article is generally correct, and if you want to complain about the writing style or it being an ads, it’s up to you. But this is not the same situation with GMO stuffs

demosthanos•3h ago
> Look, they sourced their claims (quite literally, they put how they calculate, from which standard).

No, they said that IEEE 1789 also uses Modulation % (which they've renamed Flicker %) to calculate risks. That is pointedly not the same thing as claiming that they used IEEE 1789's formulas.

You're reading their copy generously, but that doesn't usually pay with marketing copy. Articles like this always like to wave in the general direction of official-sounding sources while carefully refraining from actually claiming that they got their numbers from anywhere in particular.

mrob•4h ago
There doesn't need to be a health risk for it to be annoying. I personally dislike PWM and I'll continue to personally dislike it even if it's proven safe. Fortunately it's easy to find non-flickering LED lights.
demosthanos•4h ago
If the article said "I find PWM annoying" I wouldn't have commented like I did.
loph•5h ago
I can tell you that lights strobing exacerbate my migraines. Even 120 hertz from fluorescent lights will affect me. I have mitigated this in the past by adding incandescent lights in my office, or demanding to work near a window. LED lamps are no good, as another commenter posted, even the simplest ones strobe. Incandescent bulbs grow harder to find as time goes on. Progress?
consp•51m ago
> even the simplest ones strobe

The simplest ones always strobe at line frequency or the double of it (due to cheaping out on the power supply). Those have visible strobe. Simpel is bad with led light.

Find some not too cheap dimmable warm colored bulbs. They won't be cheap but might contain both a high frequency driver and fluorescent afterglow and my guess is you will not notice anything.

Zak•26m ago
> even the simplest ones strobe

The simplest LED sources running from AC mains power strobe at mains frequency, which is very visible and very annoying.

Fancy LED sources don't strobe at all. I'm using an LED panel intended for videography as a room light; any flickering could show up as scanlines in video, so most lights intended for that purpose are flicker-free.

Jazgot•4h ago
There is a strong and widespread tendency to view anything artificial as highly dangerous. I understand this perspective, but on the other hand, we have science and reasoned arguments.
orwin•4h ago
I flagged because this is a submarine ad, but it was still interesting tbh.
satiated_grue•4h ago
"Perceiveved brightness"?

And perceiveved brightness is equal to the peak of the PWM wave?

That image from courtesy Daylight Computer Company is consuming too much of my attention.

SLHamlet•2h ago
I had no idea about this:

"To understand why PWM bulbs have so much flicker, imagine them being controlled by a robot arm flicking the on/off switch thousands of times per second. When you want bright light, the robot varies the time so the switch is in the 'on' mode most of the time, and 'off' only briefly. Whereas when you want to dim the light, the robot arm puts the switch in 'off' most of the time and 'on' only briefly."

cwillu•1h ago
It's entirely fine if the rate is high enough, but lowering the frequency of the PWM and using smaller inductors (or even no inductor at all) is a prime way to make the bulbs cheaper.
bsder•1h ago
This the reverse, actually, you can use much smaller inductors the higher the switching frequency. That's why the GaN chargers are so much smaller, for example.
hobs•31m ago
Then congrats, you don't have the problem because to those of us who can notice it, PWM working this way is pretty obvious from first principles.
swayvil•2h ago
We had these flourescents in our computer lab at school. They were light yet dark. On yet off. Crazy. Some weird color or flickering frequency. If you sat there for a couple of hours you would start to stink. Like, a weird stink. Some speculated that it did something to your glands.

Give me a nice candle.

swayvil•2h ago
Hey it got flagged.

Why do we use anonymity for that? What's gained and lost by that?

edoceo•1h ago
I have LED in my home office. The "temperature" and this flicker were driving me bonkers. Fortunately no headache. Now I have them all pointed away to reflect off wall or ceiling, or behind diffusers. Much less bothersome,
hinterlands•1h ago
I think this article is pretty confused.

There are two ways to dim LEDs: linear regulation and some sort of pulse modulation. Linear regulation is wasteful and you're pretty unlikely to encounter it, especially in battery-powered devices such as phones or laptops. Pulse modulation is common.

Human vision has a pretty limited response speed, so it seems pretty unlikely that PWM at a reasonable speed (hundreds of hertz to tens of kilohertz) can be directly perceived. That said, it can produce a stroboscopic effect, which makes motion look weird and may be disorienting in some situations. So I don't have a problem believing that it can cause headaches in predisposed individuals.

You can dim your laptop screen in a darkened room and wave your hand in front. Chances are, you're gonna see some ghost images.

Other than adjusting the frequency, pulse modulation can be "smoothed" in a couple of ways. White LEDs that contain phosphor will have an afterglow effect. Adding capacitors or inductors can help too, although it increases the overall cost. But that doesn't make the display "PWM-free", it just makes it flicker less.

cosmic_cheese•1h ago
I think it’s pretty common for people to be able to perceive PWM flicker in their peripheral vision that they can’t when looking directly at the source. I encounter this fairly regularly myself.
bongodongobob•36m ago
Nah, LED lighting generally uses at least 200 Hz at a minimum. Some up to kHz. You can't perceive that. Older stuff or cheap quality might be using un-rectified AC/DC which you can see. Like cheap Xmas lights.
toast0•22m ago
> Nah, LED lighting generally uses at least 200 Hz at a minimum.

Eh, they use what they can get away with. Nobody is out there policing flicker rates. Especially when you add a dimmer into the mix, there's a lot of room between good and bad, and when you're at the hardware store buying bulbs, there's not much to indicate which bulbs are terrible.

Lots of people don't seem to notice, so the terrible ones don't get returned often enough to get unstocked, and anyway, when you come back for more in 6 months, everything is different even if it has the same sku.

homebrewer•3m ago
> there's not much to indicate which bulbs are terrible

https://lamptest.ru

Not only flickering, but lots of other information about internationally available brands, including cheap Chinese stuff: CRI, real power use, etc.

Use your favorite online translator.

homebrewer•7m ago
> at least 200 Hz at a minimum

> You can't perceive that

I very easily can. I had to get rid of an otherwise good monitor a few years ago before I knew it used PWM to control the backlight (and before I even knew PWM was used at all for this functionality — I only had experience with CCFL backlight before that).

It was really annoying to look at, like looking directly at cheap fluorescent lighting. Miraculously, setting brightness to 100% fixed the issue.

By googling around, I found that it used PWM with a modulation frequency of 240 Hz, with a duty cycle of 100% at full brightness, which explained everything.

I can also easily perceive flickering of one of my flashlights, the only one that uses PWM at a frequency of a few hundred hertz. Other flashlights either run at multiple KHz, or don't use PWM at all, and either one is much easier on the eyes.

Some of us really do perceive this stuff, which can be hard to believe for some reason.

ipsum2•1m ago
Considering that people use screens that are 360-500fps for noticeable improvements in video games, people can definitely perceive that.

Next time you see a high refresh screen, move the cursor around rapidly. It's very easy to tell.

addaon•1h ago
> There are two ways to dim LEDs: linear regulation and some sort of pulse modulation. Linear regulation is wasteful and you're pretty unlikely to encounter it. Pulse modulation is common.

Within the pulse modulation case, though, there are two important subcases. You can PWM a load that consists basically of just the LED itself, which acts as a resistive load, and will flash on and off at high rate (potentially too fast to be noticeable, as you say). But you can also PWM an LED load with an inductor added, converting the system into a (potentially open loop) buck converter. And this allows you to choose both the brightness ripple and the PWM frequency, not just have 100% ripple. Taking ripple down to 5%, or 1%, or less, is perfectly straightforward… but inductors are expensive, and large, so shortcuts are taken.

phkahler•1h ago
Higher PWM frequency will let you use smaller inductors.
addaon•37m ago
Yes, but you need to at some point decide it’s worth adding an inductor to the BOM — trace inductance isn’t enough at any sane switching frequency (and FET switching losses kick in at the insane frequencies). And BOM item costs more than no BOM item.
rowanG077•37m ago
I personally doubt PWM is visible at all at high enough speeds (kilohertz+) even in peripheral vision. I would love to see a good study on this.
Zak•37m ago
Hi there, flashlight nerd here.

There's a third way: a switched-mode power supply with regulated output current. This is used in most better-designed flashlights (which doesn't always correlate to price) and can be used by anything else that needs to drive an LED as well.

The article doesn't discuss what technique should be used for "constant current reduction"; it probably shouldn't be a linear regulator where efficiency is a priority.

PWM is less annoying if the frequency is very high (several kHz), though I'll leave it to people who research the topic to speak to health effects.

wrs•15m ago
In the world of LEDs, a switched-mode power supply with regulated output current is called a "constant current driver". I assume that's what this calls "DC dimming".
Zak•7m ago
A linear regulator might also reasonably be described as "DC dimming" or "constant current". The article is only concerned with flicker so it doesn't discuss efficiency.
demosthanos•37m ago
The article is worse than confused. It's a marketing piece written in a way that sounds vaguely science-y but with only a tenuous basis in real research.

I wrote more here: https://news.ycombinator.com/item?id=44312224

mousethatroared•36m ago
Even if your PWM is faster than your eye's response it's trivial to see how one is still affected, namely, the stop motion effect.

That effectively lowers the frequency of the lcd.

rcxdude•20m ago
>There are two ways to dim LEDs: linear regulation and some sort of pulse modulation. Linear regulation is wasteful and you're pretty unlikely to encounter it, especially in battery-powered devices such as phones or laptops. Pulse modulation is common.

The other reason is LED brightness and color is quite non-linear with current, so PWM gives a much more straightforward dim than adjusting a current smoothly.

Roguelazer•38m ago
> *Up to 15–50% slower decision-making in offices with high flicker (and high CO₂)

just throws me right off the argument in an article when the fine print notes that a cited study is confounding the thing the author cares about ("sensitivty to flicker") with a much simpler and better-understood explanation (CO₂ poisoning)

mousethatroared•38m ago
An easy way to see PWM flicker (and distinguish cheap led bulbs for better ones) is to wave your open hand in-front of them.

If you see the strobe effect, return the bulb and buy another one.

shanemhansen•23m ago
I've wondered about PWM flicker when I started trying to figure out why so many modern car headlights seem like they are strobing to me.

Initially I thought it might be related to the alternator.

I still don't know why I perceive these headlights as having an annoying flicker or why. I'd love it if some (informed) commenter could clear it up for me. Am I imagining it?

denkmoon•2m ago
Entirely anecdotal and just personal experience but I get eye strain and headaches from "flickery" LEDs. Cheap shitty room lights. Replace them with good bulbs (Philips Hue) which strobe at a much faster rate and hey less eye strain and less headaches.

I also just hate hate hate seeing the flicker in my peripheral vision.