News for hackers. Stuff that matters.

tmlb

Re:The age of cargo cult Agile must end on Wednesday February 22, 2023 @01:11AM (#34892245)
You can have some idea, but it’s not like estimating the time and cost of building a house.
Re:The age of cargo cult Agile must end on Wednesday February 22, 2023 @12:39AM (#34892056)
Makes sense only if you assume building software is like building a house. Imagine getting an author to tell you when the novel they are writing will be finished?

Or this: imagine seeking an estimate on when a house will be built, trimmed, painted, furnished, decorated, and filled with every item needed practically and for comfort by the homeowner.

They sort of touched on this point in the movie:

>No one exceeds their potential. If they did, it would mean we did not accurately gauge their potential in the first place.

Re:Absurd Trolley Problems on Thursday July 07, 2022 @12:51AM (#32010040)
This is why I thought it was one of the more interesting problems in the list. There’s a lot of potential suffering that can fit inside an eternity.
Re:Absurd Trolley Problems on Wednesday July 06, 2022 @12:21AM (#31996677)
Would your answer change if you were stuck on the trolley quite literally for eternity, rather than just the remainder of your biological life?
Re:Cool desktops don’t change on Thursday June 16, 2022 @09:15PM (#31772979)
I suppose I'm hedging my bets by using vim in VSCode.
Re:In Asia, short-sightedness is becoming ubiquitous on Monday June 13, 2022 @07:38PM (#31733079)
> My suspicion is that staring at objects closely and under dimly lit conditions causes pseusdo-myopia

Are you implying that cell phones could be a factor?

I've worked on a service that handled credentials where we added tests like this to try to catch if a log statement gets added containing the username/password. We used a few end to end tests rather than attempting to include something like this is the unit tests for every function.

Our tests would set up the app's full context, get a hook into the logging framework to watch for log statements, then make requests to the service containing a set of dummy credentials, like { username: "foo", password: "bar" }. If a log statement containing "foo" or "bar" was detected the test failed.

It's not going to catch every type of issue, but at least some potential footguns can be preventing this way.

Re:We Built Our Own DNS Infrastructure on Thursday April 29, 2021 @08:47PM (#26988675)
The article mentioned that the blog itself is hosted on a replit, so I guess that's one example.

This seems like it would be great for rapid prototyping.