@Mark Bowytz said:
Got a hot tip in TDWTF's inbox from Chris H.:
Go to sketchers.com -> (rightclick) view source -> head explode
Just...Wow.
What the BOOM
But why, oh why did you want to view the source?
@Mark Bowytz said:
Got a hot tip in TDWTF's inbox from Chris H.:
Go to sketchers.com -> (rightclick) view source -> head explode
Just...Wow.
What the BOOM
But why, oh why did you want to view the source?
@Justice said:
@Charleh said:
Just show them your version of the report, written in 5 minutes in SSDS and they will be blown away by the features such as context search, video, and random!!
SSTFY
What's the point with the Swiss Sheep Dog Society?
LOL, Frontpage 5.
They even managed to upload two pictures of 21 mega pixels. But we can see the entire 25 Mb website on one page and they're is no table; that's not so bad, huh?
@stevenvi said:
I develop AIR applications regularly, and I question your recollection of this event. In my experience, the update window (which yes, is black), will pop up and ask if you would like to update now or later. It has never closed any running AIR programs for me, though that's not to say that this didn't happen. I can't comment on the UAC, since I don't have that enabled. I'm guessing this was the update from Nov 7th to AIR 3.1?It might be helpful for you to file a bug report, as I am certain this is not the desired behavior.
The UAC is not the main problem, but only a part of it; and it pop on every update. The update window is pretty clean and simple, I must admit that. I will submit a bug report, but with little hope...
I maybe was a bit angry... is there a checkbox somewhere telling "close every app before update" ?
Anyway, I found a reason to create a new post to criticize Adobe. Isn't it nice from me?
A lot of website are using the Adobe AIR technology to (rapidly) make a (crappy) desktop version of their site. It's the case of Deezer, a famous legal french music-streaming website. To fight Spotify, they decided to literaly copy their old flash-site in AIR. I don't mind the "normal" bugs which came along with every Adobe product; but my matter is not a bug, but a real feature. When AIR need to be updated, it INSTANTLY kill every app using it and pop a f*cking black window saying "Hey buddy, ima let ya finish what you were doing, but my update is more important than your fucking application and I don't need your approval. Deals with it." and wake up the windows UAC.
It's pretty... hem... annoying when you are listening to one of your favorite music. I almost killed my coworkers.
And no, I can't use the regular website, some network admin just want to watch the world burn and add Deezer to their blacklist but not the desktop app.
@TheRider said:
...and why does a logger need to have an asynchronous database thread?
Because with this method, the database is always connected! look, it's written in the... well, where is it logged?
@dhromed said:
@Sutherlands said:
@gobes said:
Don't you see Edit4 and Edit13 have no value? what a pity...Don't you see sarcasm? what a pity...Didn't you see the hyperbole red herring? what a pity...
Next time I should put some smileys to show how funny I can be...
Edit: what a pity, of course
@boomzilla said:
@gobes said:Don't you see Edit4 and Edit13 have no value? what a pity...Does that mean it's null or just an empty string? Or maybe I wandered into the wrong forum...
But everybody know to put an empty string into a textbox you have to write Edit4 = nullValueOrEmptyString. Usually lulz are ensuing this kind of phrase.
@Sutherlands said:
Wait, is this not normal?
Don't you see Edit4 and Edit13 have no value? what a pity...
@robbak said:
Despite appearances, this is actually an outbreak of common sense. Could you imagine what marketers would inflict on us if they could make actual health claims on bottles of water? The insanity could kill. Remember, these are people who claimed that a moisturising night cream was "anti-aging" because it contained sunscreen.
Yeah, but too much details kills details... that make this "law" inapplicable in any other case. So if some day a bottle of water claim "reduce thirst sensation" (not completly wrong, but not completly true neither, it will need a specific law to be illegal. Actually in most of european countries there is law(s) which prevent that kind of thing, like "false advertising"; so I don't see the point of this law...
Who said european leaders don't care about real problems? greek and italian people probably...
I totally agree ; if only we had a pattern... here the idea was really to cut tables with more than 50 fields, just to make them more readable in Tortoise...
We are working on a new version of our managing software. The first version is the biggest WTF I've ever seen (not only the code; the database is a real messy bunch of hundreds of tables); so the next have to be as close to perfection as possible.
I hesitate between staying here to see if my boss will be fired and buying a rope.
Bonus WTF: who said "We don't have money to pay you correctly. Actually, you're all bad coders and I'm better than you. And you complain when I want you to add a major untested feature two hours before releasing! For all these reasons I hire contractors which cost four senior developpers." ? luckily, the contractors are pretty good. And they understand our pain.
And not a single wooden table was given that day.
But why customers never take a picture on a wooden table?
@heterodox said:
When I came in today, I found that apparently the file couldn't be e-mailed to me, as it was on a "secure system". Instead, it was printed out, then scanned and sent to me.
And why can't they put this on a usb key ?
Blah, rebooting a server take what? 10, 20 minutes? not 5% of office hours. If they can't work without a working database, where is the world going?
@Hatshepsut said:
@gobes said:So Why The Fonk does it need this fonking bat?
To clear the screen, of course.
... screen which won't be used at all, the app opening a new Console. I love the previous developpers. Love'm to death.
Full copy of a .bat, used to launch daily a small application:
echo off
cls
echo Start of the freaking soft
SoftWithVeryGoodLogs.exe
echo End of the freaking soft
So far so good (not very verbose, but meh), but... the SoftWithVeryGoodLogs already have (very good) logs, and all the IT receive it by mail every day... and it write every line of this log in a Console, so you can know what it is doing...
So Why The Fonk does it need this fonking bat?
Hey, but I wrote this to check the form cont... oh.
Sure, but it's for a french system. We use numbers (with exceptions) to classify "states"; but we have more than 99... and our administration can't always handle three numbered states. That's why whe must reduce to 2 characters.
//12/12/07 : shouldn't be > 2
if( DR["birth_state"].ToString().Length > 2 )
Writer.Write( " " ); // 2 char
else
Writer.Write(DR["birth_state"].ToString());
If only .Net framework had, say, a method which allow to get a "substring"... fuck. It's like that everywhere.
@steenbergh said:
@gobes said:
Maybe it is the number of virii definition in the AVG database...
Sounds plausible, but why list the number of threat definitions in the same table as the number of threat instances? At the bottom, you know, where a sum can be expected...
Some king of commercial argument.
"With our antivirus, you will be clever enough to don't be infected. We don't know if you you would have been without, but thanks to us, you won't have to wonder how you get through this 4 734 240 deadly infections."
Maybe it is the number of virii definition in the AVG database...
Why do you complain? this code work. All you have to do is a BIIIIIIIIIIIG replace, no?
@C-Octothorpe said:
I'm not sure if it's irony, but the fact that they're creating a reference to an unmanaged resource (the file) in a finalizer, is just, well, bad... Add to that that the file isn't handled in a using or try/finally is just, wow... Also this should be in a dispose, not a finalizer. If the original developer still works woth you, send them a link to garbage collection, finalizers, IDisposable, and using try/catch constructs, StringBuilder and don't give them their keyboard back until they have read and understand each of those concepts.
I also love the "logger": string + string + string + "\r\n"... Classic highschool code. :)
It seems my boss wrote this three years ago... I thought he was a good coder... I'm so disapointed...
*headdesk*
One of our application logs everything it does. But I always wondered why the log file was empty when the program crash...
To log something, the app call LogInfos:
private static void LogInfos(string message, string functionName)
{
string infos = m_info;
m_info += infos + "[" + DateTime.Now.ToString("HHss") + "] (" + nomFonction + ")\t " + message + " \r\n";
}
It took me a while to understand what this method does... I ticked when I saw the static keyword in this non-static class; and I looked for more "m_info". Bad idea.
~send_FTP()
{
FileInfo info = new FileInfo(@"..\Info_" + DateTime.Now.ToString("yyyyMMdd") + ".log");
if (info.Exists)
{
m_SWLog = info.AppendText();
}
else
{
m_SWLog = info.CreateText();
}
m_SWLog.WriteLine(m_info);
m_SWLog.Close();
}
So... When the program close normally, it writes the log. Not if it crash. Please, I want to wake up...
@snoofle said:
How did this guy manage to get through Manhattan to arrive at the fruit cart?
He walked?
...or just joking. At least, for once, this snippet is well indented.
public bool IsEdited(string fileId)
{
string SQL;
bool assHole=false;
SQL="SELECT EDITED FROM FILES WHERE FILE_ID=" + fileId;
IDataReader dr = DBHelpers.executeReader(SQL,_connectionStringOracle,_databaseType);
try
{
dr.Read();
if(dr["EDITED"].ToString().Equals("1"))
{
//return true;
assHole=true;
}
/*else
{
return false;
}*/
}
catch(Exception ex)
{
_errMessage=ex.Message;
//return false;
}
/*
finally
{
dr.Close();
}
*/
return assHole;
}
EDIT: Actually it's not my code. I just wanted to clarify, just in case.
@The_Assimilator said:
@Zecc said:This was the second bomb is six months. Shouldn't they by now have taught the school teachers and children how to identify explosive devices?[quote user="Reuters"]KAMPALA (Reuters) - A mine awareness team in Uganda were horrified to find an unexploded bomb being used as a bell when they visited a school to teach children how to spot bombs, a local newspaper reported.
(...)
This is the second bomb that the Anti-Mine Network have found in a
Ugandan school in the last six months. Another was found being used by
children at lunchtime as a toy and put away in a storeroom during
lessons.
African leaders have much higher priorities, like corruption.
@dhromed said:
If you live in Africa*, don't you grow up around bombs and guns?
*) except for the very north and very south
Bombs, not really. Guns, yes. Electric fences and high walls, hells yes.
[/quote]
Actually bombs are common in middle-east shopping centers and in outdoor markets.
Think about the advantage: you have only one row to read to find every entry. What a time saver.
And all the tags are the same. No difference. I think the sender won a free Internet.
Btw, what are all these '3D' all over the place?
TRWTF is HTML 5. What's wrong with HTML 4? Frames are so easy to use!!!11!1
@Shinhan said:
Reading stuff like this, I am soooo glad my coworkers know about gyazo.com :)
I just get gyazo URLs when I ask them for a screenshot. (Unfortunately, gyazo starting adding adds on their screenshot links recently)
Wow. THAT is a must have.
@Mole said:
And so what? Lord Inglip expect us to be polyglot. In english it could mean (according to Google) "located I will"... so Inglip want to be found.