Live data from Hacker News

Gaslight-driven development

tonsky.me

31–40 of 113 posts

Re: Gaslight-driven development

#31
post #3

I like seeing what users are currently viewing the same page, but man the constant jostling of users coming and going made it hard to read the post.

I have this little bookmarklet in my bookmarks bar that I use constantly. It removes all fixed or sticky elements on the page and re-enabled y-overflow if it was disabled:

javascript: (function () {document.querySelectorAll("body *").forEach(function(node){["fixed","sticky"].includes(getComputedStyle(node).position)&&node.parentNode.removeChild(node)});var htmlNode=document.querySelector("html");htmlNode.style.overflow="visible",htmlNode.style["overflow-x"]="visible",htmlNode.style["overflow-y"]="visible";var bodyNode=document.querySelector("body");bodyNode.style.overflow="visible",bodyNode.style["overflow-x"]="visible",bodyNode.style["overflow-y"]="visible";var nodes=document.querySelectorAll('.tp-modal-open');for(i in nodes) {nodes[i].classList.remove('tp-modal-open');}}())

Re: Gaslight-driven development

#32
post #18

Earlier quoted context omitted.

For some reason this reminds me of the conversation I had with a guy who didn't like the lane keeping assist on his car. He didn't like that it vibrated the steering wheel when he changed lanes without using the blinker.

I rented a car recently for a trip to Arizona that had lane keeping on by default. The highway I was traveling on was undergoing extensive repair. Not only did the car sound audible alarms with some frequency, since the highway had been rerouted in places using traffic cones, it also constantly tried to veer the car back into “the lane.” Since the lane was in some places just a hole, the consequences would have been…

imho lane keep is a misfeature. I own one car where it is impossible to turn off without also turning off lane departure warning (arguably a somewhat useful feature).

Re: Gaslight-driven development

#33
post #22

Earlier quoted context omitted.

For some reason this reminds me of the conversation I had with a guy who didn't like the lane keeping assist on his car. He didn't like that it vibrated the steering wheel when he changed lanes without using the blinker.

Yep, i'd not like it too - changing lanes requires increased attention and now during the maneuver you steering wheel starts to vibrate out-of-the-blue. That isn't to argue about using of the blinker, it is about the way the assist is implemented in this case - it doesn't help directly with the blinker, instead it punishes you and thus stress-injects-and-conditions you for the instinct to use blinker next time. Net p…

literally just turn on your blinkers, like you should be doing anyway, and lane assistant won't trigger. you are just outing yourself as a bad driver.

Re: Gaslight-driven development

#34
post #20

> for example, we used tx.update for both inserting and updating entities, but LLMs kept writing tx.create instead. Guess what: we now have tx.create, too. If a function can both insert and update, it should be called "put". Using "update" is misleading.

put implies overwriting instead of updating.

upsert is for you insert/update.

Re: Gaslight-driven development

#35

If it were somehow a human that was consistently and confidently handing out made up programming advice about one's products, would companies still respond by just adding whatever imagined feature and writing a vaguely bemused blog post about it?

If that human was giving advice to 90% of your customers you just might.

Re: Gaslight-driven development

#36
post #3

I like seeing what users are currently viewing the same page, but man the constant jostling of users coming and going made it hard to read the post.

Same here. Right-click the page and choose Inspect (or Inspect Element). Click the Console tab, paste this code, and press Enter: document.getElementById("presence")?.remove(); If you want to know why this is happening in your brain, it's likely a prey/predator identification thing. I would like to think that being so distracted by this just means I have excellent survival instincts :) https://www.pnas.org/doi/10.107…

Can just right click remove node.

Re: Gaslight-driven development

#37
post #3

I like seeing what users are currently viewing the same page, but man the constant jostling of users coming and going made it hard to read the post.

Inatant tab close for me. So obnoxious.

The idea is kinda cute, but the implementation is aggressive.

Re: Gaslight-driven development

#38
post #29

I don't agree with the thesis of this post. It is begging the question of if we have to do what computers want. > Millions of people create accounts, confirm emails, ... not because they particularly want to or even need to. These were design choices made by humans, not computers.

You are so generous to call this even "thesis" lol. I read that line and I closed the page. haha

Re: Gaslight-driven development

#39

Earlier quoted context omitted.

Same here. Right-click the page and choose Inspect (or Inspect Element). Click the Console tab, paste this code, and press Enter: document.getElementById("presence")?.remove(); If you want to know why this is happening in your brain, it's likely a prey/predator identification thing. I would like to think that being so distracted by this just means I have excellent survival instincts :) https://www.pnas.org/doi/10.107…

Can just right click remove node.

I thought my instructions would work universally, across all desktop browsers. I have also been known to overthink things.

Re: Gaslight-driven development

#40
post #22

Earlier quoted context omitted.

Yep, i'd not like it too - changing lanes requires increased attention and now during the maneuver you steering wheel starts to vibrate out-of-the-blue. That isn't to argue about using of the blinker, it is about the way the assist is implemented in this case - it doesn't help directly with the blinker, instead it punishes you and thus stress-injects-and-conditions you for the instinct to use blinker next time. Net p…

literally just turn on your blinkers, like you should be doing anyway, and lane assistant won't trigger. you are just outing yourself as a bad driver.

sorry, you're missing my point. I explicitly said that it isn't about the need to use blinkers.
Post reply on HN