Code Snippet of the Day - self-submissions for code snippets that shouldn't really exist.
304
Topics
11697
Posts
@izzion said in Visual Studio WTfs:
I wouldn't want to be on either side of the bet that Framework 4.8 is going to be available in Windows 12.
I can fairly confidently bet that it won’t be; if it ships with the OS it’ll be 4.8.1 or later.
(It will be… interesting… if they put .NET Framework 4.x on the standalone-component train like 3.5 but not the VB6 runtime.)
Error'd - features fun error messages and other visual oddities from the world of IT.
468
Topics
11404
Posts
Dropbox...
Then why did you try to open a preview for it? I just wanted to upload a file. Period. Full stop. And then I move on with my life. Absolutely nobody asked you to try and open a file that was never meant for any kind of human consumption whatsoever.
TL;DR: Dropbox decided to try and preview any and all files you drop into the WebUI from now on.
@Faxmachinen said:@Daniel15 said:Why stop there? Try this: http://zurl.ws/M :P
I'll do you one over: http://www.drwho-online.co.uk/index.asp?sPage=javascript%3a%27%3cscript%3elocation%2eassign%28parent%2eparent%2elocation%2ehref%29%3c%2fscript%3e%27
Oh yeah, and this one is hilarious: http://www.drwho-online.co.uk/index.asp?sPage=javascript%3a%27%3cscript%3etop%2eresizeBy%28%2d10%2c%2d10%29%3b%20top%2elocation%2eassign%28top%2elocation%2ehref%29%3c%2fscript%3e%27Very good.Let us not forget though, that although that is fun, it highlights just how dangerous a poorly designed website can be. Someone puts some malicious content in there, and suddenly your website appears to be doing bad things to people's computers.
@vt_mruhlin said: Another good one for situations like this is Nuke Anything. Just rick click on the ad and remove it from the page.
So,it's like a manually operated version of adblock with no memory then?
@vt_mruhlin said: Would be nice if it would
remember what you'd nuked upon your next visit to the page though.That's exactly what adblock is and does. So I reckon "Nuke Anything" is actually a lousy one for "situations like this".
@Loup-Vert said:Heh, all right, I admit I was eager to post, period. I'm new here, so I'll take this opportunity to look in the last day's posts when I see a fresh tie-in post elsewhere.I concur on the re-titling. Hehe, you should do! I was a bit disappointed there is nothing left when I had read through all the WTFs. Have fun! And if you still have time to waste, go to http://www.damninteresting.com/ and read through their site as well! Again, have fun! =)
I know what you mean, both is exactly what separates the good profs from the bad ones.I had one professor cook tea for us ,and we did talk about ... stuff ... for an hour before doing the resume of our semester assignment about programming an audio stegonography solution. In the middle of our presentation,at 10:45, I reminded him of his appointment with a dentist at 11:00 he told us about when agreeing to the time of the meeting. He just said: "Oh, thanks, but it doesn't hurt any more, so we can just go on. And I will not go to the dentist anymore."That's what he was like, and his classes were great! Cryptography and stegonography can be pretty boring math-related stuff, but he made it a great class to be in! His name is Prof. Dr. Horst-Günter Heuck (he teached at FH Kiel, Germany) and he is a hell of a guy... ähm... hell of a professor ;)Sadly, he retired this semester afaik.Mr. Heuck, if you read this: Sie waren ein verdammt guter Prof!
2 years ago, when I finally closed the ISP account I've had since 1996, I've been receiving about 150-200 SPAMs a day in the e-mail account there, so having 10.000 SPAM messages really isn't that much...
@RayS said:Hmm... wasn't there a WTF a while ago about some out-sore-ced team that "wrote" some software without even owning a compiler for the language used? Something like they did it in notepad and hoped for the best? This sounds just like that sort of thing.Of Course We Tested It...
what i got for all 3 listed linkshttp://forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.www.worsethanfailure.com/forums/default.aspxhttp://forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.forums.badgers.badgers.badgers.worsethanfailure.com/forums/default.aspxhttp://204.108.4.16/d-tpp/0602/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/iis/misc/default.aspsomething is really screwed up there
I often dismantle my laptop's keyboard-chasis assembly as to vigerously tap the end of the keyboard assembly on a table, usually pound out a huge amount of crumbs, hairs, etc., usually the keyboard feels a bit softer afterwards. And Re: Throwing keyboards outSometimes after a while, keyboards just get a "feel" to them that if you replace them, that certain "feel" would be gone, i.e. the softness of certain keys, and how the overall keyboard feels, as well as replacing keyboards every time they get dirty isn't exactly financially efficient.
To everyone that responded, I appreciate it. Some good thoughts and responses. Most signs lead to deciding not to really think about it that much and just go about impressing interviewers with answers. Which is what I was hoping!
@shadowman said:Is there a link or photo missing from this thread? I'm a baseball fan and understand all of that, but I haven't the slightest idea what this thread is referring to.Edit: I tried opening this in IE and it became apparent that my company's web filter is blocking the image for some reason. In Firefox, I just had the word "baseball" where the image was supposed to be -- no placeholder or anything. I'm sure you can understand my confusion. I guess I'll check it out when I get home. I think the point is that the events aren't in any sort of coherent order. The events switch back and forth between innings and top/bottom of them. You would expect to see all the top 1st's grouped together, followed by bottom 1sts grouped together, etc. It also seems that at least one player is on both teams. Edit: The more I look at it, the less the whole things makes sense. J Urbide batted for one team and grounded out, yet managed to score. The only way that would happen was if he batted twice, and you'd see a lot more scores if that happened. Then later, they have Urbide batting for the other team.
@djork said:@Lastchance said:@djork's colleague said:"What's the tag for that?"Eh?
The tag is "a" ... oh, wait... "eh!"
a what?
Come on. A what?
You said "The tag is a ..." A what?
phpNet.us is definitely a real web host - They're a division of ByetHost (http://www.byethost.com/). ByetHost run a network of web hosts, including (among others):http://www.byethost.com/webdesign/http://prophp.org/webdesign/http://phpnet.us/webdesign/http://swiftphp.com/webdesign/(these are the ones I know of; there's at least 10 or so more)@bstorer said:I love that even though the file is copyright 2007, and can't be [i]that[/i] old because it mentions Firefox, it recommends using [b]Netscape[/b] Composer and Word [b]97[/b].That section of the page was copied and pasted from http://www.webquarry.com/~raditha/web/
@poochner said:@newfweiler said:Kind of off topic, but this reminds me of how Don Yarmey ("Maxwell Smart") got his stage name and his first acting job.
Casting Director: "Give your names to the secretary. We will audition you in alphabetical order."
Secretary: "Name?"
Yarmey, thinking fast: "Don Adams."
Ah, the old "changing your name for preferred placement" trick. Hah...ha ha ha ha ha!!!Nice...Anyway, back to the topic... has it occurred to anyone that the Bargain Bin is simply napping?
My guess is that it's an intro class where the professor wants them to code up their own data structure, to ensure that they actually know how the stuff works. If that's the case, this kid probably doesn't....
You know what.... you are right..... It's been so damn long since I did a BCC that I've forgotten how it works......!!!
However, he still wants to go from:
From: Neuroscience professor
To: The person to whom he sent the email to
To:
From: The person to whom he sent the email to
To: Neuroscience professor
Thanks for the correction, and sorry for the confusion..... A True WTF on my part!
@Carnildo said:@merreborn said:Brute forcing properly salted MD5 could take quite some time, especially for good passwords.Not really. Four years ago, as part of preparations for an April Fools' prank, I used a modified copy of John the Ripper to do exactly that. I was able to test six million passwords a second, enough to test all possible eight-character alphanumeric passwords in 421 days. This is a highly-parallelizable task, so a modern quad-core computer could do it in less than three months. And that's just assuming there is only 1 valid password in all the combinations, and that it's the last one in the list. Quad-core machines as you describe may start obtaining valid combinations within the first week. Statistical probability has never been my strong point and I was somewhat befuddled by the birthday "paradox", :), but if I'm right, the probability of finding 1 combo after N tries, assuming that the passwords are evenly spread, is A = all possible salted passwordsS = all passwords currently in the system1 / ((A / S) - N ) Which is vastly greater than 1 / (A - N). (Bullshit detection greatly appreciated)
Hungarian notation makes for some interesting ones. (I know, I know, "The real WTF..." -- but I'm forced to use it where I work.) For example, using ATL, a smart pointer to an IUnknown might end up like this: CComPtr<IUnknown> _spUnkInner; Any Brits out there will find this amusing, in a juvenile sort of way.
A week later, the Chief Development Manager approached David and
each of the other developers from the Build Process meeting and
apologized to them.
I’m kidding. He fired them on the spot. As security led them away,
one at a time, every developer knew why they were let go and who made
it happen.It looks like today's item matches the norm. I'm thankful that where I am it's not quite like that even though we do have things that just won't ever be changed.
@Mal1024 said:Hmm, is that trip to New York really worth it:
http://maps.google.com/maps?f=d&hl=en&saddr=london,+uk&daddr=ny&layer=&ie=UTF8&sll=46.13417,-36.123047&sspn=44.327636,82.265625
(step 37)
Don't forget your toll money - swimming with roll of quarters anyone? (step 54)
@Brendan Kidwell said:I stand corrected. Now, if you'll excuse me, I'll take my temporary stupidity elsewhere for a while. Wow. Someone who admits a mistake and handles it maturely.I bow to you, sir.
@KattMan said:Essentially we use CSS to make the dive look like a button by using a background image and use the onclick onmouseover and onmouseout to change the look of the "button". Needless to say that is a disabled state so we do need to use Javascript to determine if the button is disabled or not and only navigate when enabled.It's very easy to swap images within an anchor in Javascript though. As for disabling the button, button_anchor.href="$" should do the trick.
But then again, if your website relies so heavily on Javascript anyway, it might be pointless.
Edit: What the eff... pretend the $ above is actually a #
@Jojosh_the_Pi said:@Lastchance said:That should be on the front page.
Keep in mind Alex does a bunch of submissions (WTF's gone from 1 post to up to 3 posts a day!) so it may take him sometime to get to some of them.
That having been said, this is definitely worth being on the front page.
Just to clarify, it does indeed take quite a while. My current process involves taking a weekend to read through a month's worth of submission and schedule which ones will get published in the upcoming month.
Please be patient with your stories -- I do read each and every single one. In the event that it's a long story (like this one) and it doesn't make the cut, I'll email and advise to share it on the sidebar.
There are some advertising slogans that are just plain wrong.
"What Happens In Vegas Stays In Vegas" (I picture a very big city orphanage, or round-the-clock abortion clinics.)
McDonald's use of the song Mac the Knife, about a robber who kills his victims with his knife, to advertise hamburgers. (The Kannonensong, also from Threepenny Opera, would have been more appropriate.)
I just finished re-writing that abomination with a single SQL query
-> pass a Zip Code and a maximum search radius to the stored proc, and
you get the locations back - in ascending order of distance from the epicenter. What a novel idea! I decided to leave out the XML business.
Maybe they're not actually phishing, but instead selling the mortgage leads.You can get up to $45/lead for a simple form like this from some big name companies.
@pin said:Ever found all the pages at once on a pdf file too much?Wish you could view them one at a time, without having to download the lot?Now you can! The only problem being that you have to click 249 links if you do want to read the whole thing.
Tomcat Hosting - Tomcat Website Hosting User Guide References
(Disclaimer: the individual pages aren't pdfs, but they look like they came from it) The HTML code for those pages (eg. http://www.visionwebhosting.net/tomcat-hosting/TomcatReferences0002.htm) is... "interesting". All the lines are positioned absolutely, and the ads at the bottom are in a seperate <body> tag :o
If you told an American that it was 35 degrees outside [Celcius], they would grab a light coat and probably die of heat stroke.Besides, real geeks get their temps in Kelvin...
Wow, what a mess.I had a similar problem recently when installing Verizon DSL for my wife's parents. The first screen of the setup application kept dying with an IE script error, so rather than have to deal with their tech support, I started poking around the install CD. The application was basically just a form-loader for HTML pages with lots of javascript. I finally found the error -- some invisible control character which it was choking on -- by running the files through a javascript-to-java compiler and seeing where it failed. Removed the offending character, and voila, it worked!Unfortunately, that application turned out to be the hardware setup guide, which I had completed before even bothering with the software. The real setup was web-based... which also choked (likely due to the same error I had just fixed). So I ended up on the phone with tech support anyway (a whole other story, standard hassles, not really worth repeating here) just to have the guy walk me through the DSL modem configuration, which the Verizon software was apparently just a "user-friendly" (har!) wrapper around. Could have saved me a day's worth of trouble had they just included the manufacturer's instructions.
mmm..Cint rounds for a good reason, because int in VB are plain int, no decimal places, so it has to do something with decimal.... rounds doesn't work the same way, it rounds diferents for negatives numbers... besides you found a bug, the code is not wrong, unless you mixed up the dates... it's really very important for a doctor if you have 34 or 35????
I can read Polish.. basically they just say that they sell custom-tailored solutions instead of a pre-packaged product. They're a business specializing in consultancy for e-commerce ("trading company" in this case is just any company that does sales..)
@RayS said:...the system in question is also available through some other method where inputting certain characters is impossible/impractical (such as mobile devices) or else has to integrate with some legacy system.I've developed one where the former applied, and work with another where the latter does.If you're in some wonderful enterprisey state of several different systems interacting, where the choice is between dropping support for a few characters or else have the user remember and enter several passwords, I don't blame people who chose the easier solution.True.But the few instances in my recollection made me go 'WTF' precisely because I couldn't think of a good reason why they were like that. They were new systems that were certainly targetting desktop users (public-facing websites with no mobile equivalents... and on what portable/mobile browser can you not enter a period as easily as characters?). And these systems didn't have multiple faces. By that I mean there wasn't any way for end users to log into any underlying legacy or otherwise incompatible system, if that were the motivation. What should be done, in such cases, is have the user's master password act as a key from which are derived legacy-compatible passwords that no user ever enters, but is stored, emitted, and updated by the system transparently. This can help smooth over password change requirements as well (if an underlying password needs to change more frequently, it can be done by the system automagically).
@JamesKilton said:WTF? Someone needs to learn how to index.
Google must have been listening. I was going to fix this, but just now had a chance to investigate the problem.It would appear that, when you go to the main site, type in "enterprise", and then click search, it indeed finds articles, not the "add comment" page. The URL you are using still uses the TheDailyWtf.com domain, which is not linked anymore.
I give up.SharkBaits CAPTCHA is totally screwed, I'm sure of it, it is not me. I just tried repeatedly getting a post in and went through something like three dozen attempts. Yes it is different after each failed attempt even if the first is always the same.I know it isn't me because now there is a few posts from one other guy describing the issue. You can occasionally get in but it seems totally random. Of course you won't see much about this on thier board because if you are haivng an issue, you can't post.I would love to see their code for this, it is probably riddled with all kinds of WTF's.
@jrunrandy said:Hi all,
My name is Randy Nielsen and I currently manage the Adobe Flex and ColdFusion doc groups. I (with a lot of help) wrote the first version of LiveDocs back in the Allaire days and have been closely involved with it ever since. Thank you for the prompt and frank explanation. That sort of thing seems to be pretty rare, especially from a vendor to a public forum. --Mike
@ICDeadPpl said:Quite a hobby you got there, signing up on web sites, reserving your username.Have you gone through many sites yet? I don't usually go to sites to reserve my username... Just this one timeDaniel15 because Daniel1 through Daniel14 were taken on the system where you first chose your nick, or because you're 15 years old?I chose Daniel15 when I was signing up for an ISP in 2003. I wanted "Daniel", but it was already taken. I chose "Daniel15", and it's stuck/me points to question 10 at http://blogs.simplemachines.org/team/138326/Get+to+know+the+team:+Daniel15.html ;)I can almost see an "SELECT * FROM tbl4034lol ORDER BY anything " and then some insane logic to filter the results..Look at the JavaScript on their signup page, looks like results are filtered client-side :o (their JavaScript is almost as bad as their main CSS stylesheet!).Now that I notice this, it was probably just a JavaScript flaw or something... I went to the registration form again today, and it appears to be fixed.