- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Steph seems like a true coffeeblood programmer.
Admin
Let the OS's task scheduler (Windows Task Scheduler / crontab) do the job instead and then everything is up to the system admins.
Admin
Great. The link in the comment isn't working. A real "Clbuttical Mistake"
Admin
Try it!: http://what.thedailywtf.com/t/scheduling-buttumptions/37184/7
Filed under: Discomath
Admin
I hope by "encourage" he means "Threaten to break his legs". However the real WTF is, as always, idiot management that don't know anything about "those computer things" and let themselves get hoodwinked and conned by big talking imbeciles.
Admin
Well, 4:00 to 4:59:59.999999 is technically the fifth hour of the day. It's just impossible for future maintainers because no one thinks in terms of hour of the day.
Admin
QFT
Admin
Admin
Aha! I've found TRWTF:
...but:
... and nobody noticed that the code never compiled, and so the version that got created automatically by the nightly build process is the old version which was completely different?
Admin
Actually no, TRWTF is a company that does not provide free coffee to its employees.
Admin
The real WTF is the Morgenlatte
Admin
I didn't even know that word existed.
Admin
Make the twat fix his own shitty code.
Oh, right. In that case I meant to say, make the stuck-up entitled twat fix his own shitty code.
Seriously, fixing other people's shitty code was one of the reasons I didn't entirely regret my lack of contract renewal at Big Insurance.
Admin
I also made a scheduler for my work after I was fresh out of school. Even if I had to do it again, I would not stuff it in cron. But we had a bunch of things the user could schedule their job on (not just time or day, but completion of other things). Even though the user could say, run this when time == 5:00, I'd convert that internally to some inequality with the condition it hadn't been scheduled in the previous iteration. It was a mess and I wanted to rewrite the thing (batch scheduling could take a long time, more than minutes), but I was moved off the team. The project had frozen in time for the past 5 odd years or so. I wish it would just die, so I don't have to be reminded of it.
Admin
I think you're confusing cardinal hours with ordinal hours, or something. :stuck_out_tongue_winking_eye:
I know. There's nothing worse than looking at code I wrote two years ago; its TRWTF for sure. And it's rolling...in 2017 I'll be looking the same way at code I wrote this year.
Admin
TRWTF is obviously : Starbucks? Come on, there's no real coffee at Starbucks.
Admin
There's no real "coke" in Coke™ either - but if it tastes good for me, why should I care?
Admin
This is why I order my coke directly from West Virginia Coal and Railroad Supply.
Admin
Still, getting back to the story, Java has a few things in it that would work better for a scheduler.
Executors
were added a decade ago, for example.Admin
Who Belgium ed up the font in JavaDoc8?
Admin
I hope that's a Rhetoracle question.
Admin
I just don't understand why people have to ruin perfectly good things. Javadoc7 looks great. 8 is a :hankey:
Admin
Oracle - If it ain't broken now, we're sure we can do something about that.
Admin
Snowflakes that special deserve to preserved forever by shoving them in freezers at cryogenic temperatures.
Admin
I knew it was time to think about life after company X when the new hire turned up on day 1 and told me that the work we were doing on reporting wasn't needed, a friend of his had shown him a Microsoft product that could be shown some data and in a couple of minutes would produce the business information table you needed. He was going to take a look at our requirements and get his friend to knock us up a solution in a morning.
I was still there a year later when, after he ran his company BMW into the ground, it turned out that his prototype web application consisted of this: data was captured into a form which he entered manually into a spreadsheet, saved the result as a pdf and mailed to the customer. It didn't exactly scale.
Neither HR nor the CEO would ever admit to me that their recruitment had been in any way flawed.
Admin
There really needs to be an inexpensive service that travels from company to company, vets the "big talking techies," and thrashes the imposters in the parking lot. Even the "Degreed" ones are fakes, sometimes.
Admin
Making them pay for the damage they've caused would do, mostly. They shouldn't work on the techies only, though.
The problem is they really believe what they say. They're not even intelligent enough to lie.
Admin
Sounds like a natural fit for systemd.
Admin
You need some traders in stocks.
http://www.chameleon-ents.co.uk/wp-content/gallery/partygames_10woodenstocks/stocks001a.jpg
Admin
I believe they call this the Dunning Kruger effect. The stupider someone is, the more talented they believe themselves to be (conversely, the smarter someone is, the less talented they tend to consider themselves)
Admin
It isn't just about stupidity; it is about not knowing enough about a subject to be competent, but having a mindset of over self confidence, entitlement or psychopathy that leads you to think that you know more than those people who seem to find it difficult - because they understand the complexities.
Human beings as a species seem very easily taken in by the self confident and psychopaths. Professions where technical ability is truly important - civil engineering, aerospace, medicine and law - have extensive regulations intended to prevent this from happening by requiring not only education and training but also a period of peer evaluation. The problem with software is that it hasn't quite reached this stage yet. I'm sure people can come up with arguments why a proper training and regulatory framework should not be needed for anyone responsible for an internet-facing or business system, but there is an obvious analogical argument in favor - for a modern business having a web service go down can be as serious as a building collapse or losing a major lawsuit.
Now a confession. I too have implemented a scheduling system for database replication that had a bug something like the one in the article. I'm not proud of it. The customer, having decided to host the application in their expensive warehouse, then decided that no, the actual application was to run in the Azure cloud and then they wanted the database replicated. But they wanted the database replicated faster than a Microsoft scheduled backup and download could cope with, and I had to devise a replication system at very short notice. At which point, with a few days to go before deployment, the company fired our test engineer and I had a sackload of work on. So the customer was going to be our tester, but management wasn't going to tell them that. It was unprofessional, and at that point I would have been glad of a legal regulatory framework that would have allowed me to say to the management "I'm sorry, but we can't legally deploy this code until you have it tested by a certified test engineer."
Admin
It would be better if they thrashed the people in HR and management who did the recruitment. The big talking techies would be punished by being required to debug student projects for five years, preferably in languages like Erlang, Haskell and B*****k.
Admin
That should be censored.
Admin
Would make a good surrounding for a paintball game, too.
Btw, does anyone know the reason why the comment page for Phenomenesia isn't open?
Admin
This one?
Admin
TDWTF is TRWTF. This time.
Admin
I correct my question:
Can anyone explain why I see "View all 0 comments" at the bottom of the page, and when I click that link, all I see a page with 0 comments and nothing where to put a comment?
Admin
I refer you to my post above yours.
In other words, there's a bug in the code that runs the main site and which handles the comments. I've no idea what that bug is, but since it's working for other articles and there's nothing special about the article title — this time — I'm going to assume that the blame is not on the Discourse side.
Admin
TDWTF is most often TRWTF IME, IMNSHO, HTH, HAND, ETC WTF BBQ LOL