Rambling

I felt inclined to write this little thing today and, since it serves absolutely no purpose, is vaguely “intellectual”, and my vanity is telling me I should force someone else to read it, I figured I’d post it here. Please take it for what it’s worth, which ain’t much at all. Incidentally, there is a very small turn of phrase in here which when I wrote it inadvertently reminded me of a song from the old high school days. If anyone can identify that turn of phrase and the song, you win a prize. The idea of associating this generally fairly common turn of phrase with a song from high school is, incidentally, very relevant to the topic of this whole post anyway.
G

I coughed and, hearing myself cough, wondered whether someone hearing me would recognize that cough. Or whether I, maybe standing at a crowded crosswalk at a busy urban intersection waiting for the signal to change, would hear behind me a cough in the crowd and think to myself that it was, or that it sounded like, myself coughing. It wasn’t a deep or a guttural cough, really more of a clearing of the throat. Nothing particularly interesting or distinctive. Nothing attention-getting. I found myself wondering whether I would recognize the coughs of people I knew, people I cared about. I found myself, unintentionally, trying to remember the cough of a girl I’d dated in high school. Not that she had any particular cough or predilection for coughing. Rather, I have often found that when pondering some activity of the mind which takes place at a level something below consciousness, I often hearken back to that girl. Not that I believe it’s because of any particular fondness I have for her. Instead, I think it’s that I consider that time to be around the age of infancy of my adult mind. The place at which memory and sense perception first really began to work as they still work today. I may well be wrong in that thinking, and yet there she comes unbidden to my thoughts when thinking about my thoughts. So I try and fail to picture her coughing, or rather to hear her coughing, again, as if standing at a busy street corner in the city, a place I haven’t stood and heard anyone cough in as long as I can remember anyway. But as these thoughts are crossing my mind I remember the time I passed someone, in the mall I think, of all places, wearing a certain perfume. A banal, common one that I think has managed to hang onto some amount of devoted users throughout the past decade and a half. Maybe I had smelled it once or twice in the intervening years, but certainly not often, perhaps not at all. And all at once, there it was, hitting me with the full sensory force of a waking daydream, picturing, sensing the hallway between the living room and bedroom in her parents’ house, just outside the door, waiting, in a place suddenly rich with memories and physical sensations. Blurred lines between the present and the past. This instance was maybe my first strong sense of the uniqueness of smell among the senses and its peculiar strength. But the principles are the same. The principles that dictate how these things, events, places, people, become embedded in the brain and why certain thoughts arise at times and others don’t, and how they’re stored in proximity to one another in the depths of whatever it is they are stored in. So, coughing, and picturing myself listening to myself cough, and why it is that it’s a crowded city street or why it’s her and not someone else, it made me wonder, to gaze for a minute a little more deeply into the way I work, the way things are supposed to work, or do work. It made me wonder whether there is something special about those times, or whether I will always hold them up as the reference point for idle thoughts like these, and whether in some ways I don’t hold them up as the reference point for many other things besides. And what else has this power, so deeply captured by smell and marginally less so by sounds and images and touch. Would poetry, properly crafted, be better suited to drawing out of these thoughts their inner workings? Having written the poem, would it then be disposable, having served its purpose, whose entire import was probably inherently of a scope of interest limited to the inside of my own brain in the first place, and whose work being done can serve no further purpose but to remind me of things about my own memory which I may have since forgotten? Having forgotten them, it’s likely the reformulation of my own mind may, by then, have made whatever conclusions or sensory maps that I extracted moot anyway. Or maybe, just maybe, the words themselves become an incarnation of the sense impression which struck me, in whatever form it took, and reliving it can jump over the gradual rewirings and degradations which occur over time and reconnect, like an old-fashioned telephone operator, the two critical lines in just the right way to make the connection go through again, clear and unhindered, if only for a moment. Maybe so.

Posted in art & lit | 7 Comments

Pointers in Java

In Chapter 3 of the Sams book came my first big surprise. Maybe that’s an overstatement, but I thought this was at least worth noting and opening up for discussion. All along every tutorial I’ve visited has lauded Java because it “doesn’t have pointers.” I suspected all along this was bs and Ch. 3 confirms.

What’s surprising is that not only does Java have pointers, but if I understand things correctly, they are used rampantly. Virtually every object used is controlled as a pointer (called a “reference” in Java) behind the scenes. Granted, a Java programmer does not specifically declare pointers but given that all these objects are treated as such then isn’t the statement “Java doesn’t have a pointers” a bit misleading.

I have yet to think through all the implications, but one obvious example presented in the book is that trying to compare two objects with the ‘==’ operator will only yield true if they are in fact the identical object because it just checks the memory address and not the contents. This also explains why one can’t overload this operator as one could in C++. I find this aspect of the language interesting to say the least.

Posted in learning java | 1 Comment

tom’s java applet

Tom:
I took a look at your code- seemed ok to me. Tried to pull the applet up in my browser at home: no dice. I am using Firefox with the nice Java console enabled. The error message the console was reporting was along the lines of the “class not found” variety. Looked again, and sure enough, no compiled binaries. Looked at the email and noticed that compiled binaries were not sent along. So compiling is in order:

My first attempt to compile was a bust:

[bturnip@electric-lash blackjack]$ javac Blackjack.java
Note: ./Hand.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

I didn’t feel like investigating the code, so I tried compiling with -Xlint:unchecked and everything went fine. Uploaded the whole kettle of fish to your java directory. Runs just fine, far as I can tell: Tom’s Blackjack Applet ver 0.01

Posted in learning java | 24 Comments

java questions for Tom Oct 03

So, I am working on learning java and, at the same time, learn the ins and outs of a complicated IDE like Netbeans. Being an emacs person, I am unused to the level of complexity the new IDE presents.

How, using Netbeans IDE 4.0, Beta 2, do I approach the first exercise in the SAMS book? I need a walk through to show me what buttons and options to choose.

Posted in learning java | 2 Comments

java progress note oct 01

Following my suggestion, and Tom’s lead, I have installed the “Java 5” platform w/ the Netbeans 4.0 beta. My plan is to work through the first two chapters of our selected tutorial text this weekend.

Posted in learning java | Leave a comment

Grant and Hepburn

The post about the new Hemingway story also contains a recommendation from Jason E. He suggests “The Philadelphia Story”, starring Katharine Hepburn, Cary Grant, and Jimmy Stewart as a good movie to see.

Jennifer and I have a on-again, off-again project going to see all the movies starring Grant and/or Hepburn. I think that Grant/Hepburn are one of the best movies duos ever, and “Bringing Up Baby” is one of my favorite movies- it is funny, hilarious actually, even today. It is a sign of excellence that a dated movie can provide entertainment in more than just the nostalgic vein.

Progress in this movie watching project, which in itself grew out of check-listing the AFI top 100 movies, was fueled mainly by my local library branch back in Norfolk, VA. Since moving to Little Rock, I haven’t really checked out any movies from the library. There was a British TV mystery/thriller series that we tried the first few episodes, but I couldn’t take much interest in it.

I use the AFI list as a launch pad for re/discovering movies, for me it is a curiousity and a good checklist. There will always be people who get quite passionate over lists of all sorts. I remember when the list first came out and there was all the predictable hullabaloo over what movies made it and what movies didn’t and what movie placed where. I remember a chief complaint being the time frame of the selected movies. Anybody think any of the Lord of the Ring movies would have made the list had they been around at selection time?

Posted in art & lit | 2 Comments

Hemingway News

This is lifted straight from an email from Jason E.,

There’s a new short story and letter by Hemingway that’s popped up.
It’s in the ny Times today. The guy related to the story wrote the classic screwball film The Philadelphia Story, with Cary Grant, Katherine Hepburn and Jimmy Stewart. I highly recommned that movie if you are in the mood for crisp, albeit dry, dated dialogue etc. The ny times website seems wonky today but try this:
link

I haven’t tried the link yet, if a member can confirm that it is working or correct it if it is wrong, that would be great.

Posted in art & lit | Leave a comment

Exquisite Haiku

The cellar door creaks
Sunlight pushing back the dark
Morning in Vegas

Posted in exquisite corpse | Leave a comment

Oddio Overplay

Oddio Overplay is Odd Audio. That isn’t their logo, as far as I know, but it could be. Perhaps it should be Odd and Wonderful Audio. I was tipped to this website by a blog I like to read: boing boing. Boing’s subtitle or logo is “A Directory of Wonderful Things”. For instance, today Boing Boing has a feature on a Project Gutenberg book- this one about Shadow Puppets.

Oddio Overplay has collections of music from all over the world, and all of it well off the beaten bath. Some of it is streamed, quite a lot is available as mp3 downloads.

As a sample of what is available, I spent part of my Friday workday listening to vintage Deparment Store Music. Sweet! Happy and Relaxing! Good For Buying!

I have also started to explore the compilations Oddio offers. I have found the Kick The Gong Around: Drug Culture In Jazz 1932 – 1945 compilation to be particularly good. The Cab Calloway track “Man from Harlem” is an early favorite. Besides the theme, the music itself is also quite good. I also found in particular some of the terminology interesting: frails as slang for women, vipers as lady drug users, gauge and jive as slang for drugs.

Another compilation with interesting tracks on it is the Pop Hits collection. I really like Senor Coconut’s cover of the Kraftwerk “Showroom Dummies” song. The cover is an over the top rendition, in Richard Cheese fashion, except the style is South American/Latin influenced instead of lounge music. Hell, it could be RC, for all I know. Other tracks are equally eclectic, though I didn’t enjoy all of them quite as much. At any rate, these prolly won’t be heard on your local radio station, or at least not mine.

As an aside, I have so far found Little Rock radio stations to be so bad it is cliche. If I sat down and tried to come up with examples of what bad radio would be like, I would find my work has already been conceived and implemented here in Little Rock. Thank goodess for radioio.

Posted in music | 1 Comment

java and xml

In the interest of promoting a little XML knowledge, I did a little poking into SAX and DOM. I found two useful links, which I recommend be perused in order:
1-A good short overview from developerlife.com
2-More detail in the form of a JDC Tech Tip

The overall gist seems to be that DOM will map an entire document, while SAX will run through it linerally. Both do the same thing (give one access to a xml formatted file), but their methods differentiate them. DOM gives you detail and access to the whole enchilada at the cost of overhead, while SAX gives you a speed bonus if your parsing requirements don’t get too complex.

An analogy: DOM is a pack-mule, while SAX is a speedy Golden Retriever. I would be amazed if that analogy fits, but I wanted to make it just the same.

Posted in learning java | 2 Comments