
Journal SolemnDragon's Journal: no phone; sammiches; ren faire; skittlebrau; edjimication 43
Gah. Where do i start?
Sometimes, the mind just boggles. Mine hasn't been doing that much, lately- it's my life that has. Not much you can do when the shaking isn't you, and the fog isn't in your head. (Except wait and work. We'll get to that.)
Still no phone. This is blinder's department, since he has the cell phone to call verizon. They SWEAR they're working on it. i say we roast 'em, just to be sure, but he says we should be merciful.
My conservative mum has shingles, so i don't get to see her for a bit. But that's oke, we have a lot going on and a wedding to attend next week, blinder's best friend's wedding, in fact. I might dig out a frock coat and some charcoal trousers and a white cravat, but on no account am i wearing a dress. I am pretty much tired of dresses.
Well, blinder has a habit of announcing that i get a prize, for random stuff. I do the same to him, but he's better at it. He said i could have a toy. I asked for one of the little foreman grills. It's charming and works great for stuff. We don't eat any meat, so we're grilling mushrooms and things.
We found this GF bread at the whole foods up on Route 16. Nowhere else, just that one store. We've checked 3 other Whole Foods stores. But the bread is corn bread that is actually a white bread vaguely reminiscent of wonder bread but with more body and texture. Very light, still. Perfect for... toasting and using for sammiches! My first sandwich in an appallingly long time was a portobella (portabello? one is a road, the other's a mushroom, but they might have the same name. I have trouble remembering.) with monterey jack cheese. Lactose intolerance made this a bellyache, but SOOOOO yummy.
i danced.
So, "sandwich" in our home means, "vegetables or cheese in science bread."
[Similarly, "Could you get me a cold one while you're in the kitchen?" refers to a caffeine-free diet pepsi (for him), virgil's root beer (for me), or shock and dismay (of any of our guests.) ]
By the way, blinder promised to journal about (but hasn't yet) the discovery he made the other day- we haven't had skittles in a long time, because they are GF but not vegetarian in the US. Well, then they came out with skittles gum. Same flavour, no gelatin. He chewed a whole box at once. It was charming and disturbing, i guess he hadn't had them in something like 14 years. The hard part is that it's a gum exactly like the candy but not meant to be swallowed, so i practically had to call the gum police to get us not to just eat the stuff.
"Hello, skittles company? What would happen if someone swallowed a WHOLE BOX of your skittles gum? No, not the box itself, but all the gum. Yes, all at once."
we went to the ren faire. Had to; i couldn't take one more day of packing and unpacking. Spent money we shouldn't have on things we don't need, like trinkets for me. It rained.
Still lots of stress, but it's getting less a little at a time. By the way, Hokie and RW, i can't find my thank you notes to send you one, but WOW. Hokie- scans will be forthcoming. RW- *dance of joy* i will put them someplace, thank you VERY much.
by the way.... blinder got tired of my complaining about not learning anything at work.
He bought me a java book and started assigning homework.
*This is my first attempt ever.
*/
public class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
Please Don't help or critique. I'm just sharing, i'm not allowed to get help till i finish trying it on my own.
but- Hello World!!!!
If you are gonna code Java... (Score:2)
public class HelloWorldApp
{
_ public static void main( String[] args )
_ {
_ _
Re:If you are gonna code Java... (Score:2)
I see we have an ANSI-block style elitist. Hmm. I might tell you (even though I typically code in ANSI style myself), that K&R compressed style is just as good, and in some cases makes things easier. Afterall... first chapter of nearly any Java (or C or Perl or C++ or *smack, get on with it*) book mentions that whitespace doesn't matter. So, really, it's just a point of personal style.
You would really want to tell someone that their personal style is wrong?
The only time it matters is when you
Re:If you are gonna code Java... (Score:2)
also... yeah... i like the compressed style. every project i've worked on, that had estabilshed style guides have mandated the compressed style. but, to each their own. we'll see what the dragon does. she's pretty smart. she'll find a style that fits her needs.
and yeah... no ejbs. not now, not ever. by the time we are ready to
Re:If you are gonna code Java... (Score:2)
Anywho, I know most people adopt the style of their teacher, so I thought I'd show the option early, just in case
Knowing sol, her style is gonna be something so unique, I'll be able to recognize it anywhere.
In favour of in-line braces (Score:2)
Can require a certain compactness...
Re:If you are gonna code Java... (Score:1)
Re:If you are gonna code Java... (Score:1)
I probably should know this, and asking probably demostrates a severe lack of reading comprehesion and information retention.
What GF stand for?
I'd reckon it's some kind of dietary requirement. But I can't for the life of me recall what that would be.
Re:If you are gonna code Java... (Score:2)
celiacs don't like it. it does bad things (the gluten).
Re:If you are gonna code Java... (Score:2)
I mean, cmon, what kind of example are you setting about reading the instructions??
ps (Score:2)
Re:If you are gonna code Java... (Score:2)
Not saying you did anything wrong, just making a joke about the whole open brace thing.
(Read this part after you get going with Java) For the record, I've got a unique style. Open parens between the opening paren and the first parameter, and between the last param and the close paren like so:
private void foo( String param1, String param2 )
This usually goes against most standards, but I can t
Re:If you are gonna code Java... (Score:2)
*raises hand*
Re:If you are gonna code Java... (Score:1)
2) It's a very nice Hello World program. (You didn't say, "no compliments". So there.)
3) I've been programming for 25 years and I still write Hello World programs all the time, just to make sure everything is set up and working right, so it's a skill you'll be able to use for-evar!
4) Burninate those who can't read directions!
5) When programming as part of a group effort, put your little squiggly bits where everyone has agreed to put them. When programming by yourself, put them where it ma
Re:If you are gonna code Java... (Score:2)
I mean, cmon, what kind of example are you setting about reading the instructions??
A
Re:If you are gonna code Java... (Score:2)
Warning: Holy Brace Wars
Please DON'T do that!
Opening braces on a separate line went out of style back in the early '90s.
Now we're even seeing, for small functions, everything on 1 line:
... a la perl.
Also, (I use Kate or vim to code) in Kate, the brace folding (hiding the code between the braces so you just see the function name, etc) works better with opening braces on the same line.
for vim, create a .vimrc (don't forget the leading dot) with the follow
Re:If you are gonna code Java... (Score:1)
Next you'll probably extoll the virtues of breaking eggs on the larger end.
The terrorist have already won.
Re:If you are gonna code Java... (Score:2)
Please, for the love of God... (Score:2)
Re:Please, for the love of God... (Score:2)
4?!
You goddamn commie, 3 spaces is the sacred amount of spacing.
Four? WTF, that's ridiculous.
Re:Please, for the love of God... (Score:2)
Just think about it for a moment. If you indent three, then your methods will be declared at column 3 and your method bodies will be declared at column 6. Do you really want all your method bodies at column 6?
It is written in the sacred scripture "Thou shalt indent four. Four shalt be the number of columns thous shalt indent. Thou shalt not indent three, except when proceding to four. Thou shalt not indent more than four, eight being way out.
Re:Please, for the love of God... (Score:2)
Damn skippy I do!
Sol, don't listen to these zealots trying to shove their fascistic 4 column indents on you. If you just try it for yourself, you will find that three comes naturally, looks better and in fact will make your programs run much faster (Becuase you have 25% less space to compile, and as we all know Java is a horribly slow language, so you need any optimization you can get).
(Disclaimer, fallen doesn't do Java so his opinion might be b
Re:Please, for the love of God... (Score:2)
I know we are all having fun here, but this is a popular myth. The early versions of Java were strictly interpretted and had very simple garbage collection mechanism. Both these translate into "slow". Modern java virtual machines fix both these problems and generally perform quite well, provided they have been configured properly.
The first big optimization is runtime compilation. The JVM actively profiles the running code, compiling important se
Re:Please, for the love of God... (Score:2)
Dear Java Guru, I am a happily married man in my mid twenties. We have one kid and another on the way, how can I make Lotus Notes and other Java desktop applications such as Open Office not suck so much?
Aggravated in SC.
Re:Please, for the love of God... (Score:2)
Dear Aggravated,
I hate to give you bad news, but Lotus Notes simply sucks. It sucked before it did anything with java, and it will continue to suck even if java was completely removed from the equation.
As for OO.o, it is primarily a C++ app. I have no first hand experience with us
Re:If you are gonna code Java... (Score:1)
I write in perl. If I can't write in perl (there are some reasons not to), it's bash. If THAT won't do, then I don't write it.
Can you tell I'm not a programmer by profession?
skittles! (Score:2)
still have one box in reserve at home
ugh, the phone. verizon said "have your building manager look at it, because it'll cost ya $110 for us to come out." grrrr!!!
so i'm a gonna do that. stupid telephones.
grilled sammiches! yum.
Re:skittles! (Score:2)
we make them fix it.
s
Re:skittles! (Score:2)
they were overly cheerful on the phone, like they were so excited to be needed! "oh! phones don't work??? we're sorry... but we'll create a service request!!!"
i know when i hung up the phone, they, in the office, were like "hey everyone! we are needed!" the dance number starts... probably just wrapping up right now.
*HOORAY* (Score:1)
oh wait.....wrong hooray.
HOORAY!! HOORAY SCANS!!!
teeth and gelatin (Score:2)
Oh how I miss skittles...not because of the gelatin (not that strict) but they hurt my teeth! Not just "ow" but searing pain as the sugar eats away...why does something so bad (gelatin) have to make things that are so good (skittles, gummi bears, putting things in pill form)...argh!
a quandary for my Ring of Fat... (Score:2)
Re:a quandary for my Ring of Fat... (Score:2)
And my ring of fat is renowned for its love of breadlike stuffs, so i know the gluten-free fare available around here!
only thing i haven't found? Gluten-free baklava. *sigh*
i even managed to find GF, vegan marshmallows (don't ask me what they were made of, i just know they were safe for both blinder and i. Sawdust, i suspect, but i h
aaawwwwwww.... (Score:2)
No critiquing allowed? What about praise? (Score:2)
Hello World!!!!
Hooray. You're already almost as good at programming as I am! *does a cheer*
Now try this one... (Score:2)
Re:Now try this one... (Score:2)
so... for now, we start with the basics.
Re:Now try this one... (Score:2)
Re:Now try this one... (Score:2)
A wedding, you say? (Score:2)
You guys are getting married, aren't you?
Yeah, you can't fool me. I'm not falling for the "girl in Boston" thing again.
Braces go on their own lines.
Yeah, you hide a relationship from the Slashdotters, but then expose yourself as a beginning Java coder. Silly priorities you have.
Re:A wedding, you say? (Score:2)
And not to blinder, either.
What's wrong with being a beginner?
And my braces is my business!!
Don't worry. I started the coding ages ago, too, but was so bad at it that it wasn't worth saying anything.
Heh. You think i tell you guys everything? What kind of dragon would i be?
you'll know more of what i'm up to when i get around to talking about it.
Er. I mean, i'm not up to anything, and when i am, i'll post nonsense until you forget what i'm talking about, in runon sente
Braces I can see, but... (Score:2)
RTFM, People!!! (Score:1)
[FLAME]
Oy! Everybody that had (coding) commentary, critiques, suggestions, or even random fluff about which implementations of Java to use can now go to the corner without supper, no dessert, and NO BISCUIT! Except for those sick firps that are into that kind of thing (no doubt many of you), because you will be publicly lambasted for forwarding an obviously fake virus scare warning (Good Times, anyone?!). And anybody into BOTH of those will simply get massive points deducted on
Yay! (Score:2)
Sweet kickin' Hello World programme, comrade.:D
Python would be more appropriate/fun than Java, but... n/m
P.S. FortKnox is misguided. Same-line braces forever!:D