Description is just great:
<font size="2">Both were wearing knee-length skirts, white shirts or blouses and carrying shoulder bags. Both are described as having grey hair.</font>
Now it should be really easy to find elderly women like that :D
Description is just great:
<font size="2">Both were wearing knee-length skirts, white shirts or blouses and carrying shoulder bags. Both are described as having grey hair.</font>
Now it should be really easy to find elderly women like that :D
Ok - I didn't want to write about it, but after it happened 4 times today, I'm really pissed off.
Have you ever seen home SpeedTouch wireless/dsl device? It works (most of the time). But every time, I try to make a connection, that times out, I don't just get message from browser - oh no. Even if my browser can wait 5 secs for timeout, this router can't stand waiting 2 secs. If I don't get response in that time, it takes over the connection, sends page with 302 redirect to:
http://192.168.1.254/cgi/b/ic/connect/?nm=1&client=192.168.1.65&server=server_ip&event=ServerTimeout&url=whateverIWantedToSee
This page shows:
Network Error... Your requested host could not be reached. Click on the link below to retry.
my url
Of course there are some minor glitches in this action:
1. Url is not escaped, so parameters are lost.
2. It gets redirected, so POST is lost.
3. Url is now correct and points at router, so I can refresh.... the error page.
At least you get a nice "Network Error..." (doh!) page when you timeout, and not the sad old information from browser, which actually allows you to work normally after you close it.
And it's not my network, so I'm not able to log to that box and see if it can be turned off :/
Note to self - NEVER buy SpeedTouch boxes.
<font size="1"><font size="2">Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).</font></font>
Anyone can explain this? What are "<font size="1"><font size="2">copyright ramifications" and "</font></font><font size="1"><font size="2">coder's Seller Legal Agreement"</font></font><font size="1"><font size="2">? It doesn't look like "</font></font><font size="1"><font size="2">complete
copyrights to all work</font></font><font size="1"><font size="2">" for me...
</font></font>
diebold?
http://video.google.com/videoplay?docid=-7236791207107726851&q=hacking+democracy
I really liked the movie. Source of tons of WTFs.
Yup... portage comes to mind.
Crazy thing is that some years before Gentoo, I've written utilities for solaris to do basically the same, but without code repos...
It was bash/awk script in cron loading all program 'modules' and (for example for bash): check `bash --version`; check 'LATEST', or similar link on official ftp; optionally download, get options for building from module's config, build, install.
Oh good times :D Crazy - but allowed to have normal, frequent updates for gnu environment under this strange system...
(by the way - that was the time, I've learnt, that you can do everything with bash, sed, awk and wget - you really don't need anything else :) )
"The real WTF" is that you talk with ProjectHead, about work on sunday evening IMHO ;) (I assume it's your main/only job).
Or it may just be a time difference...
[quote user="Jivlain"]
That said, the asker wasn't. There's nothing wrong with wanting non-random values from a random function. Sometimes you just want a (more or less) consistant data set.
[/quote]
PLEASE!!! Tell me you're joking.... You want a consistent data set? {1,5,3,4,2} You can rearrange it, if you get bored. Hope it serves you well.
My 3 ideas:
1. that person was an idiot
2. that person was a troll (more probable)
3. he wanted to make the value random, but permanent through the session (something like sessionId=Rnd()) - likely situation - he didn't know about both sessions and random generator idea
Anyway - WTF?!?!
Ok - maybe I don't get what's the original post really about, but lets see:
[quote user="cout"]
I have a function key template (anyone remember those?) for internet explorer.
[/quote]
Aren't these function keys labels, that 50% of keyboards around me has? If yes -> it's just label - these are normal keyboard shortcuts from IE. Nothing to get excited about really. If it's old it doesn't matter. Shortcuts were the same in (almost?) every version of IE.
Everyone is using either different data server for that search, or just get personalized results.
شبكة البصرة منبر العراق الحر الثائر
is 12'th for me. It's normal - php.net and php portals come first if you look for many php things. You just seem to be looking for terrorists more frequently.
BTW: how do you read it - to the right, or to the left?
[quote user="danielpitts"]
One, your post doesn't line-wrap for some reason.
[/quote]
These are not lines - these are laser rays! Laser rays don't wrap.[quote user="merreborn"]
1) Sometimes, "We can't do x" really means "We can't do given the budget and requirements available." In this case, it seems pretty clear that this site is for external customers of the customer. So you can't require that the end user run a special build of mozilla; on the contrary, there's a requirement that the site be as compatible with as many clients as possible.
[/quote]
I didn't get that one from the text. But as previously said - maybe it's impossible to build such app for this project. I thought about it at company's own isolated thing.
[quote user="merreborn"]
2) All the locked down clients in the world won't save you from a copy of telnet/netcat.
[/quote]
If it's internal thing, why would anyone be able to run telnet? External -> It's also not that hard to force adding some specific header to request, that can be used for auth and pass it through ssl. Unless you inject your own ssl wrapper, you can't see what's happening.
Another idea, would be to build a java applet for browsing docs, without possibility to save the file. Maybe flash. You can show it in a way, that will not allow saving, printing, selecting and copying, you can transmit it to user in whatever way you want. As a bonus, you can force viewing latest version always. Screenshots are basically == writing it down with pen and paper, so it's not an issue. Once you start thinking how to do it, there are many posiibilities. Some not that hard to implement.
I guess you never heard about digital restrictions features, like the one PDF offers (you can restrict printing and/or saving for example). Too bad, you can learn about this in less than it took to write this rant ;-)
"The restrictions on copying, editing, or printing depend on the reader
software to obey them, so the security they provide is very limited."
oops
I don't get this saving restriction. You can always copy the file. It's not preventing anything.
But you can always get user a system with one application running and stripped down access rights. You can even get ie/gecko engine in there to view the document storage place, and remove all options for saving / printing. I'd say it's simply not true, that you can't control it. I know, that another thing is size and needs of that "one application". Maybe it's impossible to build such app for your place. Maybe not.
PS. Now, that I know it's guarded that much, I'm browsing p2p networks to get one of those manuals... If it exists, it's in the internet :)
Today, I submited a form omiting some values by mistake and forcing javascript to ignore single ' in input by accident. ;) This is the page I've seen after that:
<font face="Arial" size="2">Microsoft JET Database Engine</font> <font face="Arial" size="2">error '80040e14'</font>
<font face="Arial" size="2">Syntax error in string in query expression '(((table.field) = ''') AND ((table.field)=(2006 *1 + 0))) ORDER BY ...'.</font>
table.field is anonimization of course. Funny thing is 2006*1+0. I can barely understand +0 (but form had year to choose, not offset - WTF?) But *1? Who wants to multiplicate year? Why?
Any ideas? :)
<font face="Arial" size="2"></font>You do not use intercityhotel.com... seriously:
If you want to book this room, please reconfirm so soon as possible directly by fax: 0049-6543-509820 or mail: hahn@intercityhotel.de with your credit card number and expiry date.
WTF?!?
This is just more WTF than any other web-security fail I've ever seen! (of course they also want name and date of birth...)
Difference? Of course. Proof of concept: search for 110383771200001 on google. It's id of post in kmail maillist: (it's not anywhere on page)
<font size="-1">lists.kde.org/?t=110383771200001&r=1&w=2</font>
But google still finds it. If it includes links in index -> new place for keyword-spamming. Just be aware of "Err<font size="-0">
414 (Requested URI is too long)" ;)</font>
[quote user="mstahl"]You're thinking that search engines spend all their time poring over the various metadata included in the headers of web pages, right? Apparently, that's incidental, and the most important thing to do if you want accurate search engine results is to make sure that your filenames are long and descriptive.[/quote]
Almost - you should make URLs long and descriptive. For google metadata has almost no meaning. Most influence is in: domain, rest of url, headers (like in html headers and bold / big text) and text - in this order.
WTF#1: IIS can't handle >31 chars.
WTF#2: No redirection???
Google doesn't care about keywords meta. It only supports charsets, bases / links and robot parameters (nofollow, noindex, ...)
Not exactly. defined() would be closer to isset() probably. That way or another === and == are ok when you want to compare "42" to 42 as variable and as value... Maybe weird, but it's just whether you're used to the style or not. And array()==false is sometimes really useful - for example:
if(whatever) $error[]="Some error";
if(something) $error[]="Some other error";
if($error) there were count($error) errors;
Same for ''==false and 0==false. On the other hand php has "real" boolean, so 0!==false.
Maybe while(read(&row)) would be better - no WTFs here if it only returns boolean (or FileNotFound) and row as ref-arg.
[quote user="lindee"]
while (($entry = $d->read()) != false) {
[/quote]
I don't really get it... If it's PHP, then it's good. WTF is that he didn't use !==. And you should check it that way just in case. Some constructs in php are == false, but not === false. For example empty array.
If you can get some kind of that value from database, then you should test (($entry=$d->read())!==false). Or you'll end up getting something, but thinking it was end of records marker.
Hello. This one was in Alex's mailbox for couple of months, so I don't think it will be published on main. Here it hits the Sidebar:
Do you know what can happen to NULL in multimeters? As you can see:
It can get too high! (sorry for blur - it was taken with mobile phone cam) Now I should probably give answers to questions that you'd like to ask:
1. No - It's real, you can't program / setup display of this multimeter.
2. Yes - I understand what it means and that it's not a big WTF. But it's still funny :) (for those who are skilled with multimeters)
It was really funny to hear someone at electronics labs say "What does 'NULL TOO HIGH' mean?" without knowing where did he find this.
[quote user="iwpg"]
I doubt it's Compiz, since the rounded window corners at the top aren't antialiased. (Yes, I know, I am such a geek for noticing that.)
[/quote]
Yup... And titlebar's width differs from window's width by some px on each side - it doesn't do that on my sys. So it's probably some modified ver. (scrollbars) of orig. Viscious Lime theme ("normal", not compiz).
I just got used to much to idea of VL being compiz theme :)
[quote user="Nandurius"]Downloading windows updates while running KDE.
[/quote]
d/l-ing windows XP. Running compiz with skin Viscious, that is a clone of Vista look ;)
[quote user="benryves"]Hah, nice. :-)
(More than can be said for the text rendering... ouch, my eyes!)
[/quote]
3 inner WTFs?
- not setting appropriate default / minimum font size... (screenshot / client...)
- not using appropriate relative font sizes in page (desing)
- mixing absolute and relative sizes on 1 site (look at main www.microsoft.com and www.microsoft.com/windows with different sans/serif and def. sizes)
Don't worry. IM messages from serv. operators will start arriving soon :)
It's normal... And if you really want to understand the code - try venkman JS debugger (avaliable for mozilla suite and f.fox). It has option to "unobfuscate" code - changes code formating to a normal one, so you can really analyse it.
If you don't know where a variable comes from, it seems you don't use any typical style in naming.
_name - private
name - something local / protected (you typically know which one is it then)
Name - public
Any problems with using this, or any other style? (m_name, _name, name, Name is also nice) Why do we need this.name or this._name?
@Ben Fulton said:
in distrbtd & mobile environ. MS in CS.
@Jeff S said:
It is scary how many people are posting their opinions of ASP.NET and/or this particular function when they have no clue how it works. Why not actually do some research and make an effort to understand something before you criticize it? Doesn't that make a little bit of sense?
It is funny how people are assuming that all ASP.NET forms are submitted via this javascript code just because this function exists ....
if(no_of_buttons==1 && has_only_click_action(buttons[0])) { don't do JS; }Capiche? (I know it's a trolling oversimplification, but why do asp.net people insist, that this situation is normal?)
@nsimeonov said:
Actually yes, there is. It isn't all about buttons. ASP.NET allows you to handle server-side many events....
@Arkh said:
HTML do it.
If in the same form, you have:
<input type="submit" value="test1" name="button1" />
<input type="submit" value="test2" name="button2" />
If you click on test1, you get button1="test1" in your posted data and no button2 set. And vice versa if you click on test2.
@nsimeonov said:
Sure there is - just too lazy to put a <input type=submit> on the form instead of the asp.net control and double-clicking it to write the event handler.
@welcor said:
Myth confirmed :) It happened quite often back then, and at a time I had a local station doing the same, so I actually had two channels with guru meditation at the same time. Must've been the same software...
@nixen said:
As someone mentioned, it is indeed standard asp.net postback handling.. the code asigns a value identifying which control has been clicked to generate the submit request - that's why using a standard submit button wouldn't be the same.
@Reweave said:
Now, installing X and a graphical browser on a server would have been a WTF. But web browsing from the server console is already a small WTF anyway...
@byte_lancer said:
It would be interesting to see how they protected their own software.
<font color="red">Important note: Cracked version (or the one with stolen serial
number) of TagsLock Pro will NOT work correctly! Using cracked (stolen)
copy of TagsLock Pro will result in damaging files during protection process.
Use legal software!</font>
@BonzoESC said:
I don't really know for sure, but it looks like some MS-generated code
they put in all ASP sites. Apparently, HTML isn't good enough anymore.
So no document.forms[] weirdness.var theForm = document.getElementById ('_ctl0');
function __doPostBack(eventTarget, eventArgument) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
Got really used to those, but it's still WTF. Especially this fragment:
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
Why is it separated with '$' in the first place? I understand doing doPostBack as such, because it involves some serverside form-processing magic (actions, etc.). But separating texts with '$' to change it to ':' afterwards is just stupid.
PS. Is it asp.net's revange, that it tried to place my text in <pre> and not break it? :)
I assure you, that it's not a joke!
Url of page has been changed, so he has to show everyone, what's the new link.
Maybe the guy just had a really bad day, because he's a good teacher in general... But I just couldn't resist posting this one :D
Lately my teacher reached Master of WTF title...
You may want to checkout:
http://staff.unak.is/not/tony/teaching/PL/PR/
First link in menu is "URL".
Can you guess what's there? I think that most of you can. It's obvious that it's a PPT presentation. Now look what's inside... go on - look :)
@CodeRage said:
...serious websites, serious web development, interactive web applications, etc.
@Alex Papadimoulis said:
Does anyone do this now and, if so, why?
Ok - I wasn't precise (or was... I wrote "behaves like").
It copies value in <this case>. When you do
a=some_string.Replace(...), then 'a' gets value of temporary result of
some_string.Replace(...) (or becomes it's clone - whatever - 'a' is the
only copy of the result in optimised code probably).
Kind of CoW idea.
However the first code is just lame. It makes useless copy of the first
string. No idea why - it doesn't make any sense (out of context of
course).
And back to one of the first questions - as strings are using kind of
CoW idea on every clone and don't do any modifications "in place", I
think you could change every string.Copy() into = operator and it
wouldn't change anything.
Ok - maybe it would if you use some weird code checking for equal
references of strings, but I don't see any use of it apart from
"compressing" object dumps where you have many equal strings (either
too time consuming typically, or you have strange coding style to have
>50% of the strings equal)
@CodeWhisperer said:
Hmm, that wasn't quite as clear as i
wanted. Oh well, one important missing point, the = operator does
a clone (copies the reference).Your coworker had the right idea, it was unnecessary because the Replace() function would have changed the string, causing a new object to be created anyway.
That code
Sorry for link... And I wondered why people hate this forum sw...
I just found some code that really made my day... I know, that php is like vb - weapon of choice of those who can't, but this code comes from a very nice MVC based php framework - from CakePHP.
And CakePHP isn't Yet Another Broken 3-liner in PHP.
Just have a look:
http://api.cakephp.org/dbo__source_8php-source.html#l00412
Probably developer had a bad day, or sth ;)