- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Doh! Typo.
Admin
Why would I want to copy this code to the clipboard ?
Admin
Contractor paid by the line?
Admin
PEOPLE GET PAID TO WRITE THIS???!!!
Un-fucking-believable...
Admin
Not even a nested series of if statements I wonder if the coder was getting paided by the unit of code he/she wrote.
Admin
Supra shoes are so popular all over the world. Whatever you take on Supra being in the Supra Skytop Shoes market. Now Supra Strapped Shoes also very popular attention. It is nice that they actually took the time to make Supra Skate Shoes that work well. Supra shoes is a brand that has been inspired, designed and marketed by passionate individuals. We have brought to you the fullest selection of Supra footwear at cheapest price. Overload Skateshop carries a wide range of Supra Shoes to fit your 9-stair kickflips.
Admin
The kind who is making $150 / hour.
Bwahahahaha.
Admin
A computer being paid by the hour.
HEYOOOOO
Admin
I think a Lisper would just use the built-in format function, something like (format nil "~100,'0d" data).
Admin
I don't get it :
shouldn't it be NewData = Data.substring(0,100); instead ? There is a bug ! there is a bug !
Admin
May be Brian was a computer. Now he has crashed and is under a pile of junk
Admin
LINQ is your friend
Admin
Haskell:
Usage examples:
Admin
Don't ignore infinite lists.
Admin
Oh fer cryin out loud. :(
Admin
That is just fantastic.
Whatever is wrong with good old direct assignment???
if (length >= 100) NewData = Data;
Admin
hehe... double click LIPS and ctrl+c' it.
Admin
I love the fact that the first time he/she uses the substring function he uses 'substring' he start at index 0...
the following times, we see 'substring(length-x,...)'
where 'length-x' is clearly zero...
Admin
This is clearly a job for recursion:
Admin
And for Data longer than 100 chars, it returns the exact data, without trimming it .. :))
Admin
He missed "if length = 0" Ahh well.