this post was submitted on 08 Jun 2024
2117 points (98.9% liked)

Programmer Humor

18961 readers
1051 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 122 points 2 months ago (7 children)

They put new AI controls on our traffic lights. Cost the city a fuck ton more money than fixing our dilapidated public pool. Now no one tries to turn left at a light. They don't activate. We threw out a perfectly good timer no one was complaining about.

But no one from silicone valley is lobbing cities to buy pool equipment, I guess.

[–] [email protected] 42 points 2 months ago

This is so dumb that I totally beleive it

[–] [email protected] 23 points 2 months ago (1 children)

Nah, that need dat water to cool the AI for the light.

[–] [email protected] 23 points 2 months ago

Linus was ahead of the game on this one. Nvidia should start building data centers next to public pools. Cool the systems and warm the pools.

[–] [email protected] 21 points 2 months ago (1 children)

Whilst it's a shame this implementation sucks, I wish we would get intelligent traffic light controls that worked. Sitting at a light for 90 seconds in the dead of night without a car in sight is frustrating.

[–] [email protected] 37 points 2 months ago (3 children)

That was a solved problem 20 years ago lol. We made working systems for this in our lab at Uni, it was one of our course group projects. It used combinations of sensors and microcontrollers.

It's not really the kind of problem that requires AI. You can do it with AI and image recognition or live traffic data but that's more fitting for complex tasks like adjusting the entire grid live based on traffic conditions. It's massively overkill for dead time switches.

Even for grid optimization you shouldn't jump into AI head first. It's much better long term to analyze the underlying causes of grid congestion and come up with holistic solutions that address those problems, which often translate into low-tech or zero-tech solutions. I've seen intersections massively improved by a couple of signs, some markings and a handful of plastic poles.

Throwing AI at problems is sort of a "spray and pray" approach that often goes about as badly as you can expect.

[–] [email protected] 2 points 2 months ago* (last edited 2 months ago)

Throwing AI at problems is sort of a "spray and pray" approach that often goes about as badly as you can expect.

I can see the headlines now: "New social media trend where people are asking traffic light Ai to solve the traveling salesman problem is causing massive traffic jams and record electricity costs for the city."

[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago)

(I know I'm two months late)

To back up what you're saying, I work with ML, and the guy next to me does ML for traffic signal controllers. He basically established the benchmark for traffic signal simulators for reinforcement learning.

Nothing works. All of the cutting edge reinforment algorithms, all the existing publications, some of which train for months, all perform worse than "fixed policy" controllers. The issue isn't the brains of the system, its the fact that stoplights are fricken blind to what is happing.

[–] [email protected] 1 points 2 months ago

That was a problem solved seventy years ago. If there's no one around, just go. No one cares.

[–] [email protected] 20 points 2 months ago* (last edited 2 months ago) (2 children)

You need to really specify what is meant by "AI" here. Chances are it's probably some form of smart traffic lights to improve traffic flow. Which is not all that special. It has nothing to do with LLMs

[–] [email protected] 2 points 2 months ago

Honestly I'm not sure, we had circular sensors for a long time, about the size of a tall drinking glass, now there's rectangular sensors they just put up about twice the size of a cell phone and they have a bend, arc, to them, I know they weren't being used as cameras at all before, no one was getting tickets with pictures from them, it's a small town. What exactly the new system is I'm not sure, our local news all went out of business, so its all word of mouth, or going to town hall meetings.

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago)

I'm guessing it's some sort of image recognition and maybe some sort of switch under the pavement telling the light when a car has rolled up.

[–] [email protected] 16 points 2 months ago (1 children)

A lot of people in Silicon Valley don't like this AI stuff either :)

[–] [email protected] 8 points 2 months ago

We are a small software company. We're trying to find a useful use case. Currently we can't. However, we're watching closely. It has to come at the rate of improving.

[–] [email protected] 9 points 2 months ago

Using CV for automatic lights is not a new thing.

[–] [email protected] 2 points 2 months ago

It's funny because this is what I was afraid of with "AI" threatening humanity.

Not that we'd get super-intelligences running Terminators, but that we'd be using black-box "I dunno how it does it, we just trained it and let it go." Tech in civilization-critical applications because it sounded cool to people with more dollars than brain cells.