News for hackers. Stuff that matters.
Re:Ask HN: What is the most useless project you have been wo... by brightball on Friday April 05, 2024 @05:40PM (#39947572)
I once worked for a VP who needed to sunset an old internal tool that people were unwilling to part with, so he asked me to make it suck intentionally.

Added random sleeps to slow down performance. Random alert messages about fake errors. It was weird.

EDIT: Since this is getting some votes I'll add some more details. He would also come by to tell me how happy he was about all the complaints he was getting about it.

Re:Ask HN: What is the most useless project you have been wo... by asdfman123 on Friday April 05, 2024 @08:12PM (#39948800)
Rarely are people ever that honest to you in a corporate environment.

Usually you have to spend years working away and trying to guess why everything you're told to do makes the software worse.

Re:Ask HN: What is the most useless project you have been wo... by drpixie on Friday April 05, 2024 @07:15PM (#39948401)
Different but similar. I once wrote a trivial lotto number selector app, at the request of some colleagues. It just emitted a few unique random numbers. Silly but why not.

They hated it.

I added moderate, random delays before emitting each number. They loved it, and used it every week for quite some time :)

Re:Ask HN: What is the most useless project you have been wo... by bombcar on Friday April 05, 2024 @08:28PM (#39948900)
Reminds me of all the rules you have to apply to a random music player to make it feel random.
Re:Ask HN: What is the most useless project you have been wo... by siikanen on Sunday April 07, 2024 @04:16AM (#39959190)
What rules you have to add?
Re:Ask HN: What is the most useless project you have been wo... by wedernoch on Monday April 08, 2024 @11:58AM (#39970986)
Re:Ask HN: What is the most useless project you have been wo... by stavros on Monday April 08, 2024 @03:15PM (#39972794)
Re:Ask HN: What is the most useless project you have been wo... by yhager on Saturday April 06, 2024 @02:45AM (#39950513)
That's not a useless project! It's a silly piece of code, but it gave joy to people, so I would say much more useful than most stories in this thread.

Back in the nineties my dad had the notion that if you make the computer select numbers at random many times, and you run statistics on the results you gain some "legitimacy" to these selections. So he asked me to write a "lotto number selector program", but it needed to run for a few hours and select many numbers and then output the ones that were selected the most or some such. Maybe it was more sophisticated, but I can't really remember the details. I guess I could just add a delay instead of actually selecting the numbers, but I wouldn't lie to my dad :)

It was super silly, but like you said, why not, I was a teen/tween and I didn't mind playing around with silly software.

He actually used it and actually filled out the lotto numbers based on it. No, we never won the millions :)

Also - I just visited a casino in Spokane, WA for the first time ever. Isn't that what all the machines there are doing? A random number emitter thingy with random delays, animation, music and flashing lights?

Re:Ask HN: What is the most useless project you have been wo... by Cloudef on Saturday April 06, 2024 @03:17AM (#39950636)
Your dad's thinking wasn't wrong, but you should've used the same PRNG as the machine that generates the official lotto numbers. Of course you still probably won't win though :P
Re:Ask HN: What is the most useless project you have been wo... by bbarnett on Saturday April 06, 2024 @07:04AM (#39951601)
Of course you still probably won't win though

This is the sort of attitude that ensures you don't win!

Re:Ask HN: What is the most useless project you have been wo... by raisedbyninjas on Saturday April 06, 2024 @02:23PM (#39954344)
This is the same psychology in play when the lotto balls pop from the hopper or loot boxes open or slot machine wheels turn. A few seconds of suspense and fanfare for the reward is more satisfying.
Re:Ask HN: What is the most useless project you have been wo... by araes on Sunday April 07, 2024 @02:22PM (#39962629)
Had thoughts on this the other day, about going to the office after the weekend always feeling bad, and waiting for the weekend always being the main thought during work. Yet, the weekend? Not actually that great. Feels totally artificial. Like work is not fun by definition.

A lot of these "certain delay for 'correct' response" rat feeder types of mechanics. Even when you know "the hit" is pointless or a waste, still heavily compelling anyways.

Cigarettes have a similar experience if you smoke too long. Days of "I don't 'actually' enjoy this anymore", yet my body still demands something that makes me vaguely nauseated now. Except, per the original comment, it is still the "suspense for a reward" that no longer exists.

Re:Ask HN: What is the most useless project you have been wo... by roydivision on Monday April 08, 2024 @04:31AM (#39967497)
I wrote a similar little app for the office lotto syndicate, way, way back. The older colleagues didn't trust it, and preferred coming up with their own 'random' numbers.

I still don't really know what there isn't to trust about generating random numbers for the lottery.

Re:Ask HN: What is the most useless project you have been wo... by ulchar on Friday April 05, 2024 @06:16PM (#39947932)
this one's crazy lol.

frankly it sounds kind of fun, but i'm sure it was not in reality.

Re:Ask HN: What is the most useless project you have been wo... by brightball on Friday April 05, 2024 @06:31PM (#39948077)
It was actually pretty entertaining. This was almost 20 years ago.
Re:Ask HN: What is the most useless project you have been wo... by cutemonster on Saturday April 06, 2024 @09:36AM (#39952360)
Did you meet the coworkers who were complaining at the coffee brewer or sth like that, and overheard anything they said about it? If so, must have been an odd feeling, and hard to not smile and say something
Re:Ask HN: What is the most useless project you have been wo... by brightball on Saturday April 06, 2024 @10:45PM (#39957736)
Not that I remember. It was a company with about 2,000 employees and I generally stayed on the IT floor.
Re:Ask HN: What is the most useless project you have been wo... by snoopsnopp on Friday April 05, 2024 @06:05PM (#39947818)
I don’t mean to be the morality police, but that seems illegal.
Re:Ask HN: What is the most useless project you have been wo... by brightball on Friday April 05, 2024 @06:30PM (#39948072)
It was an internal tool and the VP was the head of IT. Everything still worked, it was just painful to use. He could have pulled the plug on it at any time.
Re:Ask HN: What is the most useless project you have been wo... by epolanski on Friday April 05, 2024 @07:41PM (#39948588)
I don't think any of those details matter, that's still illegal and you could've gotten in trouble legally.
Re:Ask HN: What is the most useless project you have been wo... by hamandcheese on Friday April 05, 2024 @07:53PM (#39948669)
What law was broken?
Re:Ask HN: What is the most useless project you have been wo... by CamperBob2 on Friday April 05, 2024 @07:51PM (#39948658)
I'm curious; what law was being broken, exactly?
Re:Ask HN: What is the most useless project you have been wo... by epolanski on Friday April 05, 2024 @08:11PM (#39948790)
Breaking fiduciary duty would be the first that comes to my mind.

Previous user took a very huge risk. I've seen similar stuff happen, you can get sued (along whoever told you, but you need proof) just for the sake of making an example in front of the rest of the company.

Re:Ask HN: What is the most useless project you have been wo... by systemvoltage on Friday April 05, 2024 @08:42PM (#39948970)
CEO can say it is his fiduciary duty to phase out old software and put a brand spanking new modern enterprise grade system.

Also, still it is not illegal. Just that the shareholders need to sue him to matter at all.

Re:Ask HN: What is the most useless project you have been wo... by ikiris on Friday April 05, 2024 @08:49PM (#39949004)
Where do you think fiduciary duty exists as a random software dev?
Re:Ask HN: What is the most useless project you have been wo... by hn_throwaway_99 on Saturday April 06, 2024 @12:52AM (#39950077)
Fiduciary duty is a particular legal concept about the responsibility one party has to another, and only applies in specific, defined circumstances. A random developer doesn't have a fiduciary duty to anyone, and he wasn't taking any risk.
Re:Ask HN: What is the most useless project you have been wo... by sgentle on Saturday April 06, 2024 @02:54AM (#39950547)
Sibling commenters: for what it's worth, the notion of an employee having a fiduciary duty to their employer isn't as crazy as it sounds. eg, see here: https://www.lexology.com/library/detail.aspx?g=724a91e1-94f1...

That said, I think it'd be a pretty tough argument to make that an employee following the instructions of their superior was breaching fiduciary duty. If they weren't acting to their employer's benefit, then whose? Employee fiduciary duty cases tend to be more about things like embezzling or competing with your own company while you're still working there.

An example of Fox getting shut down for trying to claim that sexual harassment was a breach of fiduciary duty: https://www.barnespc.com/news-articles/limitations-on-the-sc...

Re:Ask HN: What is the most useless project you have been wo... by epolanski on Saturday April 06, 2024 @10:59AM (#39952939)
> That said, I think it'd be a pretty tough argument to make that an employee following the instructions of their superior was breaching fiduciary duty.

There has to be proof about that. If everything was verbal how do you prove it?

There's no way around the fact that sabotaging your company is illegal and a breach of contract.

Re:Ask HN: What is the most useless project you have been wo... by ikiris on Saturday April 06, 2024 @03:55PM (#39954968)
The leap you took from following your director's expectations to sunset a product to sabotaging your company is pretty epic.
Re:Ask HN: What is the most useless project you have been wo... by hn_throwaway_99 on Saturday April 06, 2024 @11:52AM (#39953233)
Thanks for the correction, TIL.
Re:Ask HN: What is the most useless project you have been wo... by throwaway5959 on Saturday April 06, 2024 @02:24AM (#39950449)
I don’t see how it’s any different than Windows ME.
Re:Ask HN: What is the most useless project you have been wo... by ajcp on Friday April 05, 2024 @08:00PM (#39948726)
morality <> legality
Re:Ask HN: What is the most useless project you have been wo... by burnte on Friday April 05, 2024 @09:01PM (#39949060)
What laws do you think making a bad tool violates?
Re:Ask HN: What is the most useless project you have been wo... by gosub100 on Friday April 05, 2024 @09:20PM (#39949153)
but you can't seem to name which crime.
Re:Ask HN: What is the most useless project you have been wo... by bobnamob on Friday April 05, 2024 @10:01PM (#39949393)
The operative word is “internal” in OPs post.

Incentives and adoption goals for internal tools are weird at large corps. Intentional suckage is just another tool to drive migration

Re:Ask HN: What is the most useless project you have been wo... by fbdab103 on Saturday April 06, 2024 @12:50AM (#39950070)
Even if it were an external tool, I fail to understand how there would be a legal problem. Companies use all sorts of shenanigans to encourage users to migrate. Immoral? Sure, but software crossed that bridge a long time ago.

Heaps of people online have stories about how Microsoft tricked them into upgrading Windows.

Re:Ask HN: What is the most useless project you have been wo... by rgmerk on Friday April 05, 2024 @10:47PM (#39949584)
There may have been very good reasons to sunset the internal tool, and underhanded as this was it may have made a necessary process a lot less painful that it might otherwise have been.
Re:Ask HN: What is the most useless project you have been wo... by dkarl on Saturday April 06, 2024 @02:28AM (#39950463)
We had an internal tool that was written as a quick hack by a rogue developer but then became crucial for our operations. It was starting to show some rough edges and some performance limitations, so a big project was planned to replace it, run by two fancy new hires who demanded teams of underling developers and ridiculously inflated titles before they would tackle the project. It quickly became clear that this project would not bear fruit anytime soon, so my boss asked me on the down-low to produce an unofficial stopgap replacement for the parts of the old system that weren't scaling well. However, it could never threaten to be a full replacement, because then I'd be stepping on the toes of our expensive diva hires.

Long story short, last time I heard, both the original hack and my partial replacement were still in use ten years after I left. The big project ran for almost two years without replicating a single feature of the original hack. Right up to the last, the fancy guys produced an impressive series of complaints and excuses that basically said that they were doing everything right but doing things right didn't work because the problem and the context were wrong.

Re:Ask HN: What is the most useless project you have been wo... by itsoktocry on Saturday April 06, 2024 @06:00AM (#39951309)
I don't understand why anybody would commit to work that explicitly and deliberately makes other people's lives miserable.

Where do you draw the line?

Re:Ask HN: What is the most useless project you have been wo... by brightball on Saturday April 06, 2024 @09:15AM (#39952236)
It was my first job. In that position I pretty much did whatever I was asked without questioning it.

Did a lot of great work with good people there too. Projects that lasted for nearly a decade.

Re:Ask HN: What is the most useless project you have been wo... by bdjsiqoocwk on Sunday April 07, 2024 @01:55PM (#39962422)
Isnt this fraud or something? At least this person caused damages. Sounds like they should be reported.