Nearly all my beach experiences in my life have been with resort-orientated shores, mainly on the East Coast. When I thought about the beach before, images of high rise hotels, boardwalks, and piers danced in my head.
Encinitas lies in stark contrast to these notions. While there are hotels in the area, they seem small, and I don't think I've seen one that sits beach front. The shore here seems casually but profoundly regarded -- woven into the town's cloth without overpowering it. I'd have a hard time comparing Encinitas to any of the beaches on the East Coast -- Cape May and Rehoboth come close, but even these seem more touristy than my present surroundings. All the glitz and garish trappings that typifies East Coast beach towns seem absent here.
That this vision of Encinitas was not corrupted by monetary interest is no doubt due to the laudable stewardship of the city's planners and leaders. Perhaps too, the landscape has shaped Encinitas's growth -- cliffs separate the town and the shore. Only a couple Encintas streets end with stairways that provide beach access -- the rest end with great cliff-top vistas of the ocean, but no way to get down.
The main road through the town, "Highway 101", is surrounded on both sides by charming restaurants and shops. More chic second-hand clothing stores than I've seen in one town provides, if nothing else, hip window dressing. "E Street Cafe", the coffee shop from which I'm presently writing, I can say with certainty is the best coffee shop I've ever patronized. Roomy, free wireless internet, and great art on their walls are aspects that draw me in (and, oh yeah, good coffee). Not a single nationally-owned fast-food restaurant lies beside the town's stretch of 101, decidedly inconvenient for someone without a car and groceries. In town there are more churches than I'd have anticipated, many for unfamiliar denominations like "Church of Spiritual Unity" (healing starts at 11am).
Of course, there are things I'd like to have in the area that aren't. The single movie theater here is more of an art-house theater, and doesn't even show "current" art house movies. Catching whichever blockbuster is the current rage means driving 20 minutes to the next town. And for a beach town, there's a surprising lack of dedicated ice-cream shops. There's a restaurant that has a good selection of ice-cream, I'm told, but something tells me if I ordered a large chocolate malt milkshake I'd be disappointed.
I feel like I'm missing a large part of Encinitas without a vehicle -- and I don't just mean seeing places that lie outside of walking distance (though that's certainly a large part of it). Until my car arrives (due 9/10 ), I'm unable to get a feel for the traffic's ebbs and flows, shortcuts, and other aspects culture one must be driving to appreciate.
I'm very much looking forward to getting to know the town better.
Saturday, September 6, 2008
Sunday, August 31, 2008
Week One in Encinitas
After a week in an Encinitas, I cannot yet say my new surroundings feel "normal", nor any of my habits routine. My furniture is still en route, and although I expect its arrival to restore some normalcy.
My last apartment in Northern Virginia was somewhat secluded, no downtown-area lent itself to gatherings or throngs of pedestrians. As I explore my new surroundings, it isn't the proximity to the ocean that I'm struck by, nor the appearance of palm trees. Rather, while walking in my neighborhood, the thought that echoes in my mind is "My God, what are all these people doing around my place?!?".
I'm finally feeling effective at my job, truly becoming part of the software development team. I think because I place such a high value on teamwork, working remotely is a handicap to which I'm particularly sensitive.
My last apartment in Northern Virginia was somewhat secluded, no downtown-area lent itself to gatherings or throngs of pedestrians. As I explore my new surroundings, it isn't the proximity to the ocean that I'm struck by, nor the appearance of palm trees. Rather, while walking in my neighborhood, the thought that echoes in my mind is "My God, what are all these people doing around my place?!?".
I'm finally feeling effective at my job, truly becoming part of the software development team. I think because I place such a high value on teamwork, working remotely is a handicap to which I'm particularly sensitive.
Sunday, August 24, 2008
First 24 hours in Encinitas
After a week of stress inducing packing and other move-related activities, I have arrived in my new home in Encinitas, sans most of my possessions, which will take another two weeks before being delivered.. Although situated physically, my mind has not yet accepted my new residence, and somewhere in its recesses believes my Northern Viginia apartment exists, beckoning with its comfortable couch and big screen TV. Naturally my new apartment is all but bare -- were it not for the generosity of my brother, I would not even have an air mattress on which to sleep.
I'm reminded of my college days, where both my physical dorm and intangible mindset were blank slates, to be filled with Target purchases and new habits respectively. In time, my Northern Virginia baggage will arrive, but it will be made to adorn my new environment, and not vice-versa.
Here are a couple shots of my place, for your benefit and mine, as routinely telling myself "I live by the beach" has proven insufficient to convince my mind.
Meager beach view from my bathroom.

Just outside my place
Not within 2 hours of landing was I reminded how cigarettes are so reviled here in Encinitas. Bereft of my beloved entertainment system, my brother and I went to the local bar shortly after I unlocked my apartment. While enjoying some "fresh air" outside amongst the other nicotine castaways, an attractive girl asked to have a cigarette. We started talking, the "I moved here two hours ago" line being an effective if fleeting conversational gambit. Sandy, a schoolteacher whose name I've changed to protect her reputation amongst her 5th grade students, advised me that a single male best not find himself amongst the maligned Encinitas smokers, as he'd have little hope of igniting romance with the tips of his Parliament Lites. Many residents regarded the habit with disdain, she related. Bikers would often scowl at someone with a cigarette -- funny that it took me a second for me to realize she was referring to bicyclists and not the cigar-chomping, tattoo-adorned, denim wearing gearheads that the image first conjured for me.
I suppose its ironic her admonishment could have only occurred had she asked me for a cigarette, and that she herself should think the habit so disgusting when she was smoking (although she's one of those folks who only lights up when drinking). I came to the conclusion that its probably better to be a hypocritical health-nut than a principled smoker.
Cigarettes, of course, came with me, an entire carton given premium space in my luggage. The addiction which ties me to them suffers no jet lag and is remarkably portable. The routine and habit which regulated their use, like the post-urination ceremony or the celebratory smoke after completing a PS3 game, are in flux. As I've done with my furniture and accumulated junk, it has become time to decide what of my East Coast life will my West Coast environment be made to accomodate.
I'm reminded of my college days, where both my physical dorm and intangible mindset were blank slates, to be filled with Target purchases and new habits respectively. In time, my Northern Virginia baggage will arrive, but it will be made to adorn my new environment, and not vice-versa.
Here are a couple shots of my place, for your benefit and mine, as routinely telling myself "I live by the beach" has proven insufficient to convince my mind.
Meager beach view from my bathroom.

Just outside my place

Not within 2 hours of landing was I reminded how cigarettes are so reviled here in Encinitas. Bereft of my beloved entertainment system, my brother and I went to the local bar shortly after I unlocked my apartment. While enjoying some "fresh air" outside amongst the other nicotine castaways, an attractive girl asked to have a cigarette. We started talking, the "I moved here two hours ago" line being an effective if fleeting conversational gambit. Sandy, a schoolteacher whose name I've changed to protect her reputation amongst her 5th grade students, advised me that a single male best not find himself amongst the maligned Encinitas smokers, as he'd have little hope of igniting romance with the tips of his Parliament Lites. Many residents regarded the habit with disdain, she related. Bikers would often scowl at someone with a cigarette -- funny that it took me a second for me to realize she was referring to bicyclists and not the cigar-chomping, tattoo-adorned, denim wearing gearheads that the image first conjured for me.
I suppose its ironic her admonishment could have only occurred had she asked me for a cigarette, and that she herself should think the habit so disgusting when she was smoking (although she's one of those folks who only lights up when drinking). I came to the conclusion that its probably better to be a hypocritical health-nut than a principled smoker.
Cigarettes, of course, came with me, an entire carton given premium space in my luggage. The addiction which ties me to them suffers no jet lag and is remarkably portable. The routine and habit which regulated their use, like the post-urination ceremony or the celebratory smoke after completing a PS3 game, are in flux. As I've done with my furniture and accumulated junk, it has become time to decide what of my East Coast life will my West Coast environment be made to accomodate.
Saturday, August 9, 2008
Navigating Search with Compass
I have been on two projects where Google-style searching was a requested feature. For each, I used Compass, which bridges the gap between Hibernate and Lucene. One of those projects was recently deployed and is handling thousands of queries a day on an index that includes a few million documents. Prior to this deployment, searching was performed through SQL/Hibernate queries which, we were finding, did not necessarily scale very well.
I am pleased as pie with Compass. The documentation is a little daunting -- mirroring Hibernate is but one of Compass's many features which the online reference covers. In the end, though, integrating with Compass amounts to little more than annotating the classes you intend to index and using Compass's query API to generate search results.
I had run into out-of-memory problems when building the initial index with Compass. After many hours of tweaking configuration settings, I finally was able to fix this by appending "useCursorFetch=true" to the MySql JDBC Url, a problem described by this forum post.
I highly recommend Compass if your project needs search functionality. My hat goes off to Compass developers. Many thanks for providing a fantastic open-source framework.
I am pleased as pie with Compass. The documentation is a little daunting -- mirroring Hibernate is but one of Compass's many features which the online reference covers. In the end, though, integrating with Compass amounts to little more than annotating the classes you intend to index and using Compass's query API to generate search results.
I had run into out-of-memory problems when building the initial index with Compass. After many hours of tweaking configuration settings, I finally was able to fix this by appending "useCursorFetch=true" to the MySql JDBC Url, a problem described by this forum post.
I highly recommend Compass if your project needs search functionality. My hat goes off to Compass developers. Many thanks for providing a fantastic open-source framework.
Sunday, August 3, 2008
My Comments on "Four harmful Java idioms..."
Recently published on JavaWorld, Four harmful Java idioms, and how to fix them struck me as something I could have written if I lived on Bizarro World.
Point by point:
1. Use a naming convention to distinguish three kinds of data, not two: local variables, fields, and method arguments.
The author seems to discount another injury made unto the code's reader, that of a code's noise level. Prefixing variables to indicate scope creates tiny conceptual speed bumps the reader must navigate. IDEs already format variables according to scope, so there's no discernible benefit. If you're using notepad/vi/emacs, then I've no sympathy for you, and I'd be hard-pressed to enact a style guideline to accommodate outdated development environments.
We're fortunate enough to be programmers in a time when programming languages are expressive. Attempts to make the code less English-like, like using prefixes, I regard with suspicion.
3. Don't use JavaBeans for modeling the database.
His thoughts regarding JavaBeans applied to database records rest upon a premise I just am unable to reconcile with my own approach. Namely, my "JavaBeans" aren't modeling database records, they are modeling my domain. The database is also modeling the domain, though naturally through normalized tables and such and not through Java's OO design. It seems to me if a developer attempts to model the database, he/she is ditching Java's rich expressiveness in favor of the bleaker designs of RDMS. I can see how this would lead one to opt for "immutable classes" instead of JavaBeans.
4. Order items in a class in terms of decreasing scope, with private items appearing last.
Again, were we programming in notepad, this might make more sense. With an IDE, I simply hit a key and navigate to a private member's declaration. Further, I'm sure I'm not alone in that I'm accustomed to seeing a class's "vital stats" by looking at the top of it. If I had to switch to the bottom to view its private couplings (probably a class's most important vital stat), insanity might quickly ensue.
Conclusion
You'll notice that I haven't addressed his point #2, favor package-by-feature over package-by-layer. I'd really have to work with such a package design before having an opinion on it, and the article is devoid of any examples. Those interested in hearing more about that I'd recommend perusing a discussion that occurred on TheServerSide here , which, not coincidentally, was started by news of the author's own web4j release (probably the only Java web framework that isn't open source). In fact, that discussion will also provide some context in which to judge other aspects of the author's thesis.
Point by point:
1. Use a naming convention to distinguish three kinds of data, not two: local variables, fields, and method arguments.
The author seems to discount another injury made unto the code's reader, that of a code's noise level. Prefixing variables to indicate scope creates tiny conceptual speed bumps the reader must navigate. IDEs already format variables according to scope, so there's no discernible benefit. If you're using notepad/vi/emacs, then I've no sympathy for you, and I'd be hard-pressed to enact a style guideline to accommodate outdated development environments.
We're fortunate enough to be programmers in a time when programming languages are expressive. Attempts to make the code less English-like, like using prefixes, I regard with suspicion.
3. Don't use JavaBeans for modeling the database.
His thoughts regarding JavaBeans applied to database records rest upon a premise I just am unable to reconcile with my own approach. Namely, my "JavaBeans" aren't modeling database records, they are modeling my domain. The database is also modeling the domain, though naturally through normalized tables and such and not through Java's OO design. It seems to me if a developer attempts to model the database, he/she is ditching Java's rich expressiveness in favor of the bleaker designs of RDMS. I can see how this would lead one to opt for "immutable classes" instead of JavaBeans.
4. Order items in a class in terms of decreasing scope, with private items appearing last.
Again, were we programming in notepad, this might make more sense. With an IDE, I simply hit a key and navigate to a private member's declaration. Further, I'm sure I'm not alone in that I'm accustomed to seeing a class's "vital stats" by looking at the top of it. If I had to switch to the bottom to view its private couplings (probably a class's most important vital stat), insanity might quickly ensue.
Conclusion
You'll notice that I haven't addressed his point #2, favor package-by-feature over package-by-layer. I'd really have to work with such a package design before having an opinion on it, and the article is devoid of any examples. Those interested in hearing more about that I'd recommend perusing a discussion that occurred on TheServerSide here , which, not coincidentally, was started by news of the author's own web4j release (probably the only Java web framework that isn't open source). In fact, that discussion will also provide some context in which to judge other aspects of the author's thesis.
Wednesday, July 16, 2008
Heading West
Pursuing an opportunity with the company for whom my brother works, I am moving to the West Coast. The San Diego area shall soon count me as a resident, and I'm determined not to lose my East Coast sensibilities -- namely understanding sarcasm and semi-hostile aloofness. Having remained in the same apartment (some might say "remained inside") for what must be 8 years, its an exciting prospect. Life defining even.
Today I've put the security deposit + rent on an apartment I found a block from the ocean, 444 1/2 D Street. You can see it here beside the station wagon. Now comes the actual move part of the move, a process I look forward to surviving.
Will keep you posted.
Today I've put the security deposit + rent on an apartment I found a block from the ocean, 444 1/2 D Street. You can see it here beside the station wagon. Now comes the actual move part of the move, a process I look forward to surviving.
Will keep you posted.
Saturday, October 27, 2007
JSF First Impressions
The web application we're currently building is using JSF. I confess that nothing I've heard about JSF appealed to me, but with an open mind I've been getting my hands dirty with the actual coding. Most of my prejudices were indeed confirmed. However, relying on pre-built components is very nice, specifically we're using JBoss's richfaces. The last web application I worked on was very UI-centric, and much of its development involved integrating and customizing the Dojo widget library -- very tedious work. That I'm no longer required to do so is a benefit of JSF I'm enjoying.
This recent post on "The server side" sums up nicely my impressions of JSF (I especially like the term "Old School HTTP wranglers"). I'd add to it by saying that traditional page design workflow isn't as straight-forward with JSF. With action-based web frameworks, it was rather easy for a HTML designer with some technical acumen to directly edit JSPs to implement a look and feel. Not so with JSF -- you're farther away from the final HTML. Its the components you include on the page that generate DIV tags and so forth. Having accrued 10+ years experience working with HTML, I find this the most frustrating aspect of JSF. We've been given a series of HTML Mockups from a design firm, and integrating has proved to be very challenging. I wonder if JSF merely shifts work efforts from HTML editing to Component customization.
I'm still not sold on JSF, but may be singing a different tune once we start implementing fancy AJAX and UI controls.
This recent post on "The server side" sums up nicely my impressions of JSF (I especially like the term "Old School HTTP wranglers"). I'd add to it by saying that traditional page design workflow isn't as straight-forward with JSF. With action-based web frameworks, it was rather easy for a HTML designer with some technical acumen to directly edit JSPs to implement a look and feel. Not so with JSF -- you're farther away from the final HTML. Its the components you include on the page that generate DIV tags and so forth. Having accrued 10+ years experience working with HTML, I find this the most frustrating aspect of JSF. We've been given a series of HTML Mockups from a design firm, and integrating has proved to be very challenging. I wonder if JSF merely shifts work efforts from HTML editing to Component customization.
I'm still not sold on JSF, but may be singing a different tune once we start implementing fancy AJAX and UI controls.
Subscribe to:
Posts (Atom)