Not feeling great
Working upstairs in lonely room
outside the window pathetic gloom
lends me the feeling my misery friend
I cannot wait until day's end.
Nothing to do, nowhere to go
it's not too common I feel this low.
Full of ideas and hobbies, too
but not today, I just can't do.
I need to go and see the faces
but of all the common, usual places
bookstore seems empty, the books are dull
gym is revolting, I hate them all!
My desk
This is my desk by the window upstairs, from here I have a nice view on my garden.
I love the things that have the old quality in them. Both the desk and the chair I got for Goodwill store for few dollars. The are scratched, but I like them that way, they have the age and quality that Japanese call Wabi-Sabi. The Apple computer adds a nice contrast on top.
Crew
The interesting thing is that as much as I always want to sail, I have hard time getting people to go.
Swaging wires
In the photo, you can see me tightening the bolts of the swaying tool to crimp down the sleeves on the wire loop.
I did all 3 halyards that raise the sails this way. The process is very simple, really. After I crimped the excess wire, I cut it using a grinder with a cut-off wheel. This way, I am assured that it will be flush. To assure that I don't cut the wrong wire, I put a piece of steel sheet between the wires.and tales very little space.
Setting Environment Variables on Mac
# User specific Terminal config if [ -n "$PS1" ]; then PS1='\u@\h:\w \$ '; fi shopt -s checkwinsize echo ~/.bash_profile export PATH=$PATH:/usr/local/bin ####### JAVA DEV ####### export JAVA_HOME=/Library/Java/Home/ export PATH=$PATH:$JAVA_HOME/bin2. Save .bash_profile under main user directory in the HD. 3. Restart your terminal window. 4. Verify in the terminal that you have the correct path for the env var. you just set up:
echo $JAVA_HOME
Runner's joy
Gone! You gloomy days of old!
Sunset paints flowers of gold
On running path I cross
sun, a lovely rose,
bridge to happier time
verses want to rhyme,
birds to sing a song,
run's sweet and long.
Forest half aslep,
pace I want to keep,
yet I stoped and gazed
place got me amazed.
Night is falling fast
memories that last.
GWT: convert database objects to DTO object
public class MyServiceImpl extends HibernateRemoteService implements MyService, { public MServiceImpl() { XmlBeanFactory xml = ApplicationContextFactory.getXmlBeanFactoryInstance(); setBeanManager((HibernateBeanManager) xml.getBean("hibernateBeanManager")); myDao = (MyDao) xml.getBean("myDao"); } private MyDao myDao; public ListCreate a method as follows:fetchAll() { List myList = organizationDao.fetchAll(); List dtos = ConvertToDTO.clone MyObject ListToDTO(getBeanManager(), myList); return dtos; } }
public static ListAt this point you can make a call from the front end to the Asynchronous method to call the service implementation. This will allow you to get a DTO objects that are converted from the back end.cloneMyObjectListToDTO(HibernateBeanManager beanManager, List myList) { List< MyObjectDTO > dtos = new ArrayList< MyObjectDTO >(); for (MyObject obj : myList) { MyObjectDTO organization = (MyObjectDTO) beanManager.clone(org1); dtos.add(organization); } return dtos; }
My lonely quest
Late, after midnight
Failed evening's plight
This lonely quest
Came now to rest
No rest for me
No sign from thee
Alone in bed
Single, yet wed
It's jester's jest
My lonely quest
I'm here for thee
No one for me
So many years
And no one cares
My lonely quest
It's time to rest
I swear tonight
With all my might
My heart is right
My soul is right
I keep repeating
My heart is beating
I did my best
How can you rest?
"Runner" software for iPhone GPS
Yesterday night, I was evaluating a new iPhone software for runners.
The program works very well, here are the highlights:
- start your music BEFORE you start running and it will keep on playing in the background
- select the distance (3 mile, etc), or time you want to run
- keeps track of your current speed,
- keeps track of your average speed,
- calories burned for your weight and distance (about 120 kcal per mile)
- routes the path you have run on the map
- keeps history of all of that
"Runner" software for iPhone GPS
Yesterday night, I was evaluating a new iPhone software for runners.
The program works very well, here are the highlights:
- start your music BEFORE you start running and it will keep on playing in the background
- select the distance (3 mile, etc), or time you want to run
- keeps track of your current speed,
- keeps track of your average speed,
- calories burned for your weight and distance (about 120 kcal per mile)
- routes the path you have run on the map
- keeps history of all of that
Run 3 miles
The feeling of the run, morning phisical effort, peaceful feeling of passing the quiet neighborhoods and the green views of Florida made me happy. The exhausted feeling, the sweat touch and smell and the shower
afterwards reminded me of my happy memories.
New engine for Lil Walkabout - Johnson 9.9hp
I forgot to post this picture before, but here is the new engine Johnson 9.9 hp.
I have installed the high-thrust propeller on it to help move the heavy boat. The boat has 3,000 pounds of lead in the keel.
The high-thrust propeller and the relatively small engine will not get me anywhere fast.
One day I had to get out of the marina in a very tall northern waves and the engine had no problem.
Turning on colored coding in Eclipse
Origins by Richard E. Leakey
We created a lot of powerful technologies.. atomic bombs, fighter planes, satellites, bio, and chemical weapons, but if you think of it, they are mostly useless, the MOST far-reaching and POWERFUL weapon is INFORMATION and the World Wide Web.
Do we have the determination to make good use of it?
Technology and Determination
exhausted
I am neither, but I think it would be live untrue record if I only wrote about the highlights of my life.
I have been told that men should not be sensitive, it's not welcome, but the truth is that despite the fact that we act strong, we get affected all the same.
So what bothers me? I am exhausted, beat down to the core of my soul.
Today, while talking to my sister and brother-in-law I realized that I have hard time composing simple sentences together. I took an afternoon nap after the flight from Chicago to Florida, a power swim
in the pool, and I was still tired mentally.
Now, I lay down and think. Am I just tired, or is it something serious? Maybe brain tumor (seriously) that soon will leave me a veggie, or dead? Headaches, feeling week day-after-day, hard time
thinking straight... Maybe I am just being tired after all.
I finished a book today about a great sailor Pete Goss. I almost cried on the airplane.
In my mind I single-handed race an empty southern ocean with cold wind in my face, constant beating, steep choppy waves and occasional iceberg, lurking to sink me here and there. No time to rest, no place
to rest, no one to talk to.
One day I hope to find my own sanity and peace again, to go to the blue lagoon with the sandy beach, the feeling which I am missing so much now.
Quote - persistence
Talent will not: nothing is more common than unsuccessful men with talent.
Genius will not: unrewarded genius is almost a proverb.
Education will not: the world is full of educated derelicts.
Persistence and determination alone are omnipotent.
Chay Blyth, sailor
Close to the wind
But I had to go, I knew that.
The decision had been made for me a long time ago by a tradition of
the sea.
Pete Goss
Persistence
Talent will not: nothing is more common than unsuccessful men with talent.
Genius will not: unrewarded genius is almost a proverb.
Education will not: the world is full of educated derelicts.
Persistence and determination alone are omnipotent.
Chay Blyth, sailor
Determine linking to your website
link:YOUR_SITE.COM
Setting up a new GWT project - part 2
- Add css and images directories for later styling
- Main.gwt.xml
- Main.html
<script language='javascript' src='com.taktico.Main.nocache.js' type="text/javascript">
- Main.java
package com.taktico.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;
/** @author Uki D. Lucas */
public class Main implements EntryPoint
{
public Main()
{
RootPanel.get("page").add(new Label("GWT! 1"));
}
public void onModuleLoad()
{
RootPanel.get("page").add(new Label("GWT! 2"));
Window.alert("done loading!");
}
}
Setting up a new GWT project - part 1
- Create a new Java project in Eclipse
- Create Maven2 pom.xml with all dependencies you may need
- Ant build.xml file:
<target name="war" depends="clean">
<echo>Maven Executable: ${MAVEN_EXEC}echo>
<exec taskname="mvn war" dir="${basedir}"
executable="${MAVEN_EXEC}">
<arg line="clean compile war:war -Dtarget=${TARGET}" />
exec>
<delete file=".\\target\\csd.war" />
target>
name="gwt_shell" depends="war"> <echo>GWT: starting hosted (dev)echo>
<java taskname="GWT hosted" classpathref="class_path"
classname="com.google.gwt.dev.GWTShell" fork="true"
maxmemory="512m">
<jvmarg line="-verbose ${JVM_ARG_START}" />
<arg line="-out www com.taktico.Main/Main.html" />
java>
target>
<target name="gwt_compile_to_js" depends="war">
<java taskname="GWT compile" classpathref="class_path"
classname="com.google.gwt.dev.GWTCompiler" fork="true"
maxmemory="512m">
<jvmarg line="-verbose ${JVM_ARG_START}" />
<arg line="-logLevel WARN -out www com.taktico.Main" />
java>
target>
- Properties file in src/main/resources (uki.properties)
DEPLOY_DIR = /usr/local/tomcat/webapps/csd/
GWT_HOME=/opt/gwt/gwt-mac-1.5.1/
JVM_ARG_START = -XstartOnFirstThread
MAVEN_EXEC=/opt/maven/apache-maven-2.0.9/bin/mvn
- Add src/com/taktico/public/Main.html
- Add src/com/taktico/Main.gwt.xml
Bernard Moitessier's book "Tamata and Alliance"
I had a real "Wow!" moment while finishing Bernard Moitessier's book "Tamata and Alliance".
To make a long (but good) story short, he lost his boat, Joshua, in the storm while in port at Cabo San Lucas, Mexico. Twenty-five other boats were lost that day. After digging in tons of sand and gravel, they excavated the boat on the beach and found out that despite the total loss of mast, rigging, and rudder, the 21-year-old steel hull was intact and watertight and was afloat the same day.
This is the first lesson I have learned, if I ever go to the big blue Pacific for some serious time, I will make sure to have a "tank" of a boat made of steel with a full-length keel that will allow me to the beach and paint the boat in the low tide on the sandy beach anywhere in the world.
Later in the book, his friends build him another boat, Tamata. After buying the steel sheets and welding the boat within weeks according to a design plan, he used telephone poles for the masts, which they smoothed with a simple electric plane!
Now, a cheap boat like that will not win any speed races or beauty contests, but think about it—no super-expensive aluminum masts, just a common-sense setup that has worked for him time and time again around the world throughout his lifetime at sea.
The picture is of a lovely wooden-mast ketch in the Kenosha Harbor.
Swaging the wires
Masthead installed on Lil Walkabout
Art has installed the masthead, which was welded.
George from "Boat Farm" did a very good job machining the aluminum.
Internet Connection Anywhere (or almost)
I love to write blogs from the coffee shops at the bookstore.
There is hardly anything more stimulating for me than watching people
reading books. I try to guess each persons character and interests and
I know many of us do that. The crowds in the airports, malls, or
Starbucks are also interesting, but the people with books are much
better. You get less of the mindless or sleazy types in the bookstore,
yes I am talking about loud and obnoxious sales types. When totally
out luck, I can always glance up to the portraits of the authors in
Barnes & Noble, and smile to my buddy Melville and to my writing
Polish sailor hero, Joseph Conrad.
For last few years I have been using the Hot-Spot WI-FI service for T-
mobile, initially it was great, later it was dropped from Barnes &
Noble booksellers. I could still use it in Starbucks and Borders, but
there are two of the Barnes & Noble stores in my neighborhood and no
Borders, ouch!
Then, a few coincidences directed me to the current solution. I have
seen couple of associates using the laptop cards when internet was too
slow, or not available, I noticed the AT&T $60/month plans while
shopping for the new iPhone, finally after I cancelled a credit card
my T-Mobile service rejected me at the Starbucks.
I have to admit that $60 per month for the card is a lot, twice as
much as my previous WI-FI was. WIth it I still get WI-FI speed at the
coffee shops, but I can go on the sailboat, or the park bench and
still do my things. Time will show if this was a good choice. Since I
have a MacBookPro I opted for ExpressCard card and if you buy
refurbished one, you don't pay nothing for it with 2 year contract.
Mac driver for the Option Wireless GT Ultra Express.
Internet Connection Anywhere (or almost)
I love to write blogs from the coffee shops at the bookstore.
There is hardly anything more stimulating for me than watching people
reading books. I try to guess each persons character and interests and
I know many of us do that. The crowds in the airports, malls, or
Starbucks are also interesting, but the people with books are much
better. You get less of the mindless or sleazy types in the bookstore,
yes I am talking about loud and obnoxious sales types. When totally
out luck, I can always glance up to the portraits of the authors in
Barnes & Noble, and smile to my buddy Melville and to my writing
Polish sailor hero, Joseph Conrad.
For last few years I have been using the Hot-Spot WI-FI service for T-
mobile, initially it was great, later it was dropped from Barnes &
Noble booksellers. I could still use it in Starbucks and Borders, but
there are two of the Barnes & Noble stores in my neighborhood and no
Borders, ouch!
Then, a few coincidences directed me to the current solution. I have
seen couple of associates using the laptop cards when internet was too
slow, or not available, I noticed the AT&T $60/month plans while
shopping for the new iPhone, finally after I cancelled a credit card
my T-Mobile service rejected me at the Starbucks.
I have to admit that $60 per month for the card is a lot, twice as
much as my previous WI-FI was. WIth it I still get WI-FI speed at the
coffee shops, but I can go on the sailboat, or the park bench and
still do my things. Time will show if this was a good choice. Since I
have a MacBookPro I opted for ExpressCard card and if you buy
refurbished one, you don't pay nothing for it with 2 year contract.
Mac driver for the Option Wireless GT Ultra Express.
Option Wireless: GT Ultra Express Mac Installation
2) Download Mac driver for the Option Wireless GT Ultra Express.
3) Preferences -> Network -> Location (drop-down) -> "GlobeTrotter Connect" -> close this window
4) Open application: "GlobeTrotter Connect" -> Preferences -> 3G/EDGE/GPRS -> enter following:
APN: isp.cingular
5) click blue icon "Connect" -> Elapsed Time should tick...
Unix: passing in params into tomcat from shell
startup.sh -Djive.ws.disabled=false –DjiveHome=Users/zaziz/Documents/workspace/jive/jive-dev/Project/jiveHome Using CATALINA_BASE: /opt/apache-tomcat-6.0.16 Using CATALINA_HOME: /opt/apache-tomcat-6.0.16 Using CATALINA_TMPDIR: /opt/apache-tomcat-6.0.16/temp Using JRE_HOME: /Library/Java/Home/
Pride
Option Wireless: GT Ultra Express Mac Installation
2) Download Mac driver for the Option Wireless GT Ultra Express.
3) Preferences -> Network -> Location (drop-down) -> "GlobeTrotter Connect" -> close this window
4) Open application: "GlobeTrotter Connect" -> Preferences -> 3G/EDGE/GPRS -> enter following:
APN: isp.cingular
5) click blue icon "Connect" -> Elapsed Time should tick...
My favorite quotations..
“A man should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.” by Robert A. Heinlein
"We are but habits and memories we chose to carry along." ~ Uki D. Lucas
Recommended pages
Popular Recent Articles
-
Subclade R1b1b2a1a1d1* (23andMe.com nomenclature) or R1b1a2a1a1a4 (FTDNA nomenclature) is a men linage descended from the region that wa...
-
When trying to open the database you may get the following exception: java.sql.sqlexception: [sqlite_error] sql error or missing database (n...
-
I have noticed a very unsettling statistic on my blog. This prompted a fascinating question about AI, blogs' future, and maybe even the...
-
That is a good, if not easy, problem to solve! In the result, I would like to take the following code in <blockquote> tag function fol...
-
AIKO - "The Child of Artificial Intelligence" (in Japanese "ko" means child; "ai" means love denoting the ...
-
O'REILLY 201 0011 031 10110100180 000110111 01100041 001100010010000 5011011001010 1101110011 000100000 00000 10 1000012 Escaping the Bu...
-
On the mobile, the page is hard to read so I am including a LINK to Google document ...
-
This example shows you how to format a number based on user's language and region setting (LOCALE) /** * This method updates th...
-
Recently, I have been thinking about a new lever-action rifle. The appeal of these late 1800 models is that they are great, very light (5lbs...
-
Work Pressure! I am managing a project where budget is very (read insanely) small, deadlines are even worse, and most of the time it feels l...