pouët.net

the unnecessary dumbhead-coding thread

category: general [glöplog]
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.
added on the 2009-02-16 12:10:26 by kusma kusma
@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).
added on the 2009-02-16 12:19:47 by nerve nerve
nerve: Hm, seems you're right according to the site-documentation. Well, it doesn't work at all for me, aparently :)
added on the 2009-02-16 12:57:06 by kusma kusma
well i'm not fixing it :P *goes to delete shit from the faq*
added on the 2009-02-16 13:26:49 by Gargaj Gargaj
http://www.farbrausch.de/~fg/fr04/
some "gems" from fr04. have fun.
added on the 2009-02-16 13:28:44 by ryg ryg
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*
added on the 2009-02-16 13:32:36 by nerve nerve
@ryg:
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
added on the 2009-02-16 13:42:57 by nerve nerve
for (int i=0;i<10;++i);
{
fail("lol%d\n",i);
}
added on the 2009-02-16 14:06:10 by mad mad
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.
added on the 2009-02-16 14:50:07 by Preacher Preacher
I just found this in some work code:

Code: if (false) { } else { m_player->update(time, dTime); }
added on the 2009-02-17 13:12:40 by wb wb

login