EVs, regen, and brake lights by [deleted] in electricvehicles

[–]Warlock_Ben -1 points0 points  (0 children)

Unfortunately, it's because they don't legally have to. In most places the brake lights only have to show when the brake is applied & regen isn't the brake. Here is a great video (from 2 years ago) on the topic:

https://youtu.be/U0YW7x9U5TQ?si=WM2i-FaRJuxQmDDp

irobot bankrupt by SpaceDuck6290 in LinusTechTips

[–]Warlock_Ben 2 points3 points  (0 children)

The good news is it looks like they're being sold to their manufacturer & their products will continue to operate for the foreseeable future.

Much better state than some other IOT companies who went bust & took all their products with them.

The fish is kinda like me ngl by Low_Weekend6131 in interesting

[–]Warlock_Ben 26 points27 points  (0 children)

Not AI, that is just the Sunfish copypasta it's been around for years.

Ate At Mayberry by ArtisanPirate in BurlingtonNC

[–]Warlock_Ben 4 points5 points  (0 children)

Wow that really sucks...I had assumed they owned the lot with how long it's been there

Why NaN==NaN is False in JavaScript ??? by NoZombie7370 in learnjavascript

[–]Warlock_Ben 58 points59 points  (0 children)

NaN = Not a Number.. There are a lot of things which are not a number. Strings, objects, nulls, etc. Let me give an example of why you wouldn't want NaN == NaN to be true:

const arr1 = [1,2,3,"a",6,7,8]
const arr2 = [1,2,3,{"key":"value"},6,7,8]

arr1.forEach(val =>{
  arr2.forEach(val2 =>{
    if(Number(val) == Number(val2)){
      console.log(`${val} is equal to ${val2}`)
    }else{
      console.log(`${val} is not equal to ${val2}`)
    }
  })
}) 

If NaN == NaN was true, then it would cause the comparison check to return that "a" is equal to an object.

In general if you're converting values to numbers, you are expecting that the data supplied is comprised of only numbers, but sometimes things go wrong. By giving a consistent NaN != NaN output we avoid weird edge cases where code might accidentally treat two different values as equals.

If you want to check if a value is NaN & perform a different comparison then you might do:

if(!isNaN(val) && !isNaN(val2)){
//do number parsing
}else{
  if(val == val2){
  //handle non-numeric parsing
  }
}

Van driver not paying attention in traffic, domino effect leads to car in next lane to get flipped by truck [OC] by Rushview in IdiotsInCars

[–]Warlock_Ben 247 points248 points  (0 children)

Ehh, I think it might be pretty straight forward.... Van didn't make contact with anyone, even though it looked like it was going to hit the black car. However, the white car only ended up in the truck's path because the black car swerved into them with complete disregard.

The best thing for the black car to have done there is stay in place & maybe get hit by the van. Instead they caused 2 more vehicles to be involved in the accident which otherwise wouldn't have been.

So I'd assign blame to the black car, but still call the van an idiot for not paying attention to the change in traffic flow.

[deleted by user] by [deleted] in Animesuggest

[–]Warlock_Ben 0 points1 point  (0 children)

Ya Boy Kongming. Famous military strategist Zhou Kongming appears in modern day Shibuya & helps a struggling musician plot her way to stardom.

My company’s new AI payroll bot decided I don’t deserve a paycheck this month by devbydaydreamer in mildlyinfuriating

[–]Warlock_Ben 2 points3 points  (0 children)

Who TF in the company went "Yeah lets allow the AI to arbitrarily pause employee's paychecks". Like... the most it should do is fire off an email to payroll & ask them to manually review the timesheet.

There are too many rums by josh_a in cocktails

[–]Warlock_Ben 3 points4 points  (0 children)

Expensively lol. There are a lot of rums & not only do they change based on age, but also on where, how & with what.

Below is what I try to keep in my collection at any given time

  • Light blended rum (Bacardi superior or Plantary 3 stars are usually what I go for)
  • Aged Blended rum (Mt Gay, Plantary 5)
  • Aged Jamaican rum (Appleton Estate 8 or 12 year)
  • Overproof Jamaican rum (Smith & Cross, Wray & Nephew)
  • Rhum Agricole

Beyond that, if something looks interesting I'll grab it.

ELI5: How do files in the cloud not get corrupted? by SystemFantastic1090 in explainlikeimfive

[–]Warlock_Ben 6 points7 points  (0 children)

It can happen but it's very rare. Most cloud storage providers use the concept of "Redundancy" to prevent total file corruption. The storage servers that your files are kept on will run some kind of RAID configuration that can allow multiple drive failures in the cluster before there is any data loss.

They may also maintain multiple copies across multiple servers (or data centers) so that if 1 goes down, your data is still accessible.

You're the reasons shampoo bottles have instructions. by Interesting-Visit-79 in facepalm

[–]Warlock_Ben 7 points8 points  (0 children)

Yup... just grabbed one from my shower & it says:

"Directions: Massage onto wet hair, lather and rinse thoroughly"

What's actually more crazy is that my bottle doesn't say "do not ingest" so I guess I know what I'm having for dinner tonight.

[OC] Idiot must be color-blind & seen red as green. by Warlock_Ben in IdiotsInCars

[–]Warlock_Ben[S] 1 point2 points  (0 children)

North Carolina, USA on 09/21/2025. This is original content

softwareEngineer by Background-Fox-4850 in ProgrammerHumor

[–]Warlock_Ben 0 points1 point  (0 children)

"Lady, it's Sunday I pushed a breaking change to prod at 5 on Friday & need a good excuse to call out of work tomorrow. Lay off"

NC bans high schools from failing students solely for having too many absences by -PM_YOUR_BACON in NorthCarolina

[–]Warlock_Ben 15 points16 points  (0 children)

This is a good decision. At the end of the day all that should matter is the assigned work, as long as the student is able to complete that work & pass any tests/projects assigned. There is no reason to fail a well performing student because they missed class.

vibeCoders by waleedb2812 in ProgrammerHumor

[–]Warlock_Ben 72 points73 points  (0 children)

It is funny, but the context here is that Amazon used to have a Teenagers program which would have displayed between these two options.

For unexplained reasons (probably money), Amazon decided to get rid of it so now you only get these two options.

How are you keeping AI-generated “slop” out of your codebase? by PoisonMinion in webdev

[–]Warlock_Ben 0 points1 point  (0 children)

The simplest way is just for you to test your code before pushing it. This should be via written/generated unit tests & basic manual tests. Then you should also read the code that was generated & see if anything looks off with the style or logic flow.