the unnecessary dumbhead-coding thread
category: general [glöplog]
orly?
http://thedailywtf.com/
http://thedailywtf.com/
nerve: uhm, bbcode is a tagged-language, so you kinda need to use tags to create urls.
It's not like just writing http://www.some-url.com and having it automatically appear as a link is bbcode. If that even works. The preview-button suggest that it doesn't.
It's not like just writing http://www.some-url.com and having it automatically appear as a link is bbcode. If that even works. The preview-button suggest that it doesn't.
@kusma: its not a bug, its a feature:
Quote:
If BBCode is enabled in a forum, you no longer need to use the [URL] code to create a hyperlink. Simply type the complete URL in either of the following manners and the hyperlink will be created automatically:
* http://www.yourURL.com
* www.yourURL.com
Notice that you can either use the complete http:// address or shorten it to the www domain. If the site does not begin with "www", you must use the complete "http://" address. Also, you may use https and ftp URL prefixes in auto-link mode (when BBCode is ON).
nerve: Hm, seems you're right according to the site-documentation. Well, it doesn't work at all for me, aparently :)
well i'm not fixing it :P *goes to delete shit from the faq*
http://www.farbrausch.de/~fg/fr04/
some "gems" from fr04. have fun.
some "gems" from fr04. have fun.
Quote:
well i'm not fixing it :P *goes to delete shit from the faq*
Yay :)
I like your approach Gargaj... Better fix the faq than introduce new bugs to the code! Esp. since no one seemed to know or care about it anyway...
Somehow this feels on-topic too.... *grin*
@ryg:
Someone told me beauty is in the eye of the beholder... :D
Code:
char *readitem(void)
{
char r;
s[0] = 0;
int i = 0;
next:
if (!(paq.cpos < paq.clen)) return s;
paq.read(&r,1);
if (((r == ' ') || (r == 13) || (r == 10)) && (i == 0)) goto next;
if ((r == ' ') || (r == 13) || (r == 10)) return s;
s[i] = r;
i++;
s[i] = 0;
goto next;
}
Someone told me beauty is in the eye of the beholder... :D
for (int i=0;i<10;++i);
{
fail("lol%d\n",i);
}
{
fail("lol%d\n",i);
}
I felt a great disturbance in the Force, as if millions of voices crying for werkkzeug source code cried out in terror and were suddenly silenced. I fear something terrible has happened.
I just found this in some work code:
Code:
if (false)
{
}
else
{
m_player->update(time, dTime);
}