@tgape said:
(You mean there's a *reason* why mkdir sometimes fails? It's not just random?)
- out of inodes
- permissions
- read-only medium
- no parent directory
- server down/disk hit with hammer
@tgape said:
(You mean there's a *reason* why mkdir sometimes fails? It's not just random?)
@SpectateSwamp said:
Here is one of the first pictures of the shiny object. I upload them with a temporary setting. so they will be gone in a month. Take copies if that interests you.
http://www.archive.org/details/BrightShinyObjectAtEndOfVideoClip
That is a droplet of water on your lense.
Look at how it is focused - your lense is set to infinity to photograph those clouds, ruling out your proposal that that object is a long way away.
It is also shaped like a lense-water-droplet.
Thanks for the tutorials link - I hadn't found that part of the java site yet.
Thanks also for the value assignment code - I think that's helped me understand a bit better how constructors and the like work. (I'm new to OO in general.) That syntax is scary, though.
It doesn't help for the specific case I had, where I was trying to use the values both as case labels and array indices; However, preventing abuse like that is arguably a feature. In the spirit of wtf, I wound up running the code through the C preprocessor and using #define for a similar effect.
I'm learning Java for the first time, and I'm encountering some strange behaviour when dealing with enums.
My first problem is that I have found no way of explicitly assigning values when creating a literal enum.
An example of what I'm trying to do, by analogy with C:
enum wtf{
VALUE = 3,
OTHERVALUE = 9
};
When I compile a class containing enums, I get a file for each enum present, of the form classname$member.clas
After some googling, I discovered that this is the result of 'inner classes'. Does this mean that, in Java, the enum keyword is just syntactic sugar for creating a class with default members? What's going on here?
for...case is quite possibly my favourite anti-pattern.
@zzo38 said:
That's why I don't like Ubuntu either (or Vista), I don't like it they try to make it the computer tries to think for you instead of allowing you to think for yourself. That's why I would write my own distribution instead.
That's not Ubuntu's fault. The Nautilus file manager has a file-extension database which it compares with /etc/magic.
@CDarklock said:
@bstorer said:
Thanks for noticing, jerk.You're with the octopus people, too, aren't you? It's a conspiracy! They're trying to put m's on them end of all words that normallym havem vowels at them end... oh nom! They'rem winning!
om nom nom nom
@tster said:
1. Same-sex couples cannot reproduce naturally, hence the union is not natural. You can think of them as evolutionarily broken. The primary instinct of all animals is to live and reproduce. Their instinct to reproduce is appearantly broken.
should infertile people therefore be forbidden from marriage?
i'm more of a linux person than a windows person, but i've played around with an el cheapo($500) toshiba satellite (2gb ram, 1.8ghz dual core cpu, 'lame' intel graphics, don't know cache etc off-hand) and vista didn't seem slow at all, in fact it seemed much more responsive than xp on comparable hardware.
it would probably be terrible for gaming, however.