- 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
Admin
No because a Result Set doesn't actually have a size attribute. When dealing with large datasets its more like a stream than a static set.
Admin
Depends on the cursor you choose. Firehose cursors, agreed. But there are other options.
Admin
Admin
Admin
It is supposed to do something interesting instead?
Admin
I expected something about root permissions :(
Admin
In a similar vein to the Case-Sensitive vs case-insensitive arguments, I think there is a clear case for languages that are whitespace-insensitive. It was clear the other day that people expect the computer to be able to simply know what they meant.
(yes, don't bother posting, I am aware of the language WhiteSpace)
Admin
I've worked with programmers who don't realise that there are data structures other than lists (in fact, I'm not sure they really comprehend the concept of data structures). What does disturb me a little, is that they often seem afraid to use other data structures even when they're available (that is, it's not just that they don't understand them enough to create their own, they are scared of anything that isn't a list because it's "too complex". These also tend to be the people who over-engineer solutions and come up with constructs like "if(false) return false;".
I can forgive people not knowing a particular language (and particularly not knowing an obscure part of a particular language), but not understanding the most basic fundamentals (as is the case here too) is a major problem.
Admin
Just add a new table in the db containing all domain names.
Admin
Captcha: id10t
Admin
That's right. Junior is a twat for not simply accepting that many Senior Programmers are incompetent faggots. Helping a colleague is one thing, but having a co-worker ask a stupid question about a simple problem (that a little bit of googling would have helped) is another.
If mroot expects jnr to do his work for him, he should be happy to surrender some of his salary (especially given jnr is presumably getting his own work done on top of these stupid requests). If you're too shit to do your own job, don't expect someone else to be happy about picking up the pieces.
I have previously had clashes with Project Managers about exactly this - if I am expected to invest significant amounts of work to make sure someone else achieves their requirements, then I expect that some of the money they are paid to do their job should be forfeited to me - they were presumably hired art a particular rate to complete a particular job. If they cannot adequately fulfill this obligation, then they shouldn't be paid the agreed rate. (I guess I'm talking specifically about 'expert teams' brought in to achieve specific objectives - if they are paid as experts, they don't need my help (other than program/functionality specific questions). If they want to ask me 'expert' questions, then I think it is reasonable that I get some of their 'expert' salary).
Admin
Given how long ago the first Harry Pothead books were written, I think it's quite likely that many of the fans have now grown up. I guess it's like all the people before them who never grew out of "Star Wars".
Admin
Could have been worse.
Imagine boss tells you to help with nitwit-expert's project. Nitwit gets argumentative about it. Discussion about why 2 plus 2 is 4 ensue. Lots of wasted time over it. Boss asks you to write some code to help this project. Which you do, test it, and including instructions (integration, use) hand it over to nitwit. About a days work for you, so far. Nitwit has no time. A week later he still has no time. Agues, he has no time to test it. (My thoughts at this point: "Do you suggest I hand over untested, non-functional code? Maybe that is what you would have done." - The code had been tested in a replica of nitwit's environment.) No matter, he still does not do anything with it. On the side, you overhear nitwit to talk to another colleague about implementing what you already did. Collegue seems to understand the issues at hand very well, nitwit apparently not. Now 3 weeks have passed since handover. Boss remembers the contribution you where asked to be doing 3 weeks ago. And he wants to see results. Next: you task switch, your memory has faded, E-mails have been lost, digging out some information is required, accusations fly, another day wasted. Weeks later colleague number 3 comes to you, asking for support about said code. (He now manages said nitwit, as boss has given up on him.) Doesn't help collegue #3 arrives during a crisis and want's support right now. At that point you wish, you had never ever helped anybody!
Admin
The RWTF is looping with an if statement. Who needs Java7...
if (rs.next()) { }
Admin
wants . No aprostrophe. Not ever.
Admin
Just add a new table in the db for every domain name.
FTFY
Admin
"All I want is a nice discussion without all these fucking pedants."
"All I want's a nice discussion without all these fucking pedants."
Admin
Yep, I agree.
Admin
Admin
Admin
Admin
Yes and if you had a friend called Want and he had a dog then that would be Want's dog. In my particular dialect of English, no-one would contract 'want is' in that way (Not ever).
Anyway if what you wants is a nice discussion and no fucking pedantry then you needs to visit some other site.
HAND.
Admin
EXACTLY! Can't believe I had to read through 3 pages of responses before finding someone who got this. It's the first thing I thought of: "Create an array? It's already in one (rs)!"
Admin
If you ask me, I think real "what the f?" is using am/pm. So much easier to refer to. Why waste digits. Something tell me this kid is not hot sh-- he think he is.
CAPTCHA: eros -- Ha ha ha! Someone have error mispelling "errors"!
Admin
Admin
I'd have never thought to find NSFW images in the TDWTF comments. That's TRWTF. =P
Admin
Admin
You mean the 'tasty murder' logo - yes, shocking.
Admin
How do you imagine that point was reached?
Admin
All I want is a nice discussion without fucking all these pedants.
Admin
So you think that a Split is in order to undo the Join that he manually implemented?
Admin
Admin
Personally, I don't like to do the list/array conversion because it's phenomenally slow in Java. It also creates a TON of extra references, which the garbage collector chokes on if you're doing any sort of time-sensitive operation. Here's what I would do instead:
Admin
Admin
Admin
Admin
I'm currently studying CS at Waterloo, and your comment made me get a chill up my spine...
I'm first year and even I know that stuff.
Admin
Water who?
Admin
TRWTf is that it took him more than an hour to figure out how to separate the emails with commas.
Admin
All I want is a nice discussion without wearing all these pendants.
Admin
Admin
The comments are generally pretty retarded at the best of times but I love the way that they devolve into utter banality if a new article doesn't get posted on time. Everyone has completely run out of legitimate comments and just troll the trolls who are invariable trolling trolls or being trolled by trolls. I'm pretty sure this is somehow a metaphor for life in general.
Admin
I'd say it's more like when a teacher leaves the classroom of a grade 6 class...
Admin
Admin
Oh shut up, retard.
Admin
Admin
It's a good thing Bob doesn't play classical music - he'd go apeshit every time a composer wanted him to slow down a little.
Admin
Admin