Breckenridge, Colorado with Lili

 

39°28'56.2"N 106°03'54.4"W





As an Amazon Associate I earn from qualifying purchases.

Skating with Konrad and Dorota




As an Amazon Associate I earn from qualifying purchases.

Skating with Konrad (Uki and Dorota)




As an Amazon Associate I earn from qualifying purchases.

Having family and friends over is a joy



As an Amazon Associate I earn from qualifying purchases.

Michael Bublé - Haven't Met You Yet [OFFICIAL VIDEO]

It is funny how we are all dreaming of having that perfect person in our lives.., and an the end of the day we walk out with only a shopping bag subsistence to show for.. and to get us to another day



As an Amazon Associate I earn from qualifying purchases.

Google Netbook Specs Preview

It looks like the specs to the Google Chrome OS netbook were released, here is a link below.

http://www.ibtimes.co.uk/articles/20091227/google-chrome-based-netbook-tech-specs-are-out.htm


As an Amazon Associate I earn from qualifying purchases.

Food of the champions: Polish strawberry dumplings



As an Amazon Associate I earn from qualifying purchases.

Brill IP Law Office – Opening January 2010

Brill IP Law Office applies business sense and cost-effectiveness in counseling on intellectual property (IP) legal matters. Robert J. Brill is adept at patent and trademark application preparation and prosecution, in the US and internationally, related searches and opinions, licensing, and further IP counseling. His clients have included startups, small to midsize companies, Fortune 500 companies, and universities worldwide. Bob’s experience covers a wide range of electrical, software, medical, computer, imaging, financial, telecommunications, mechanical, and clean technologies.

read more ..

http://bobbrill.net/?p=2105


As an Amazon Associate I earn from qualifying purchases.

Me and Lili



As an Amazon Associate I earn from qualifying purchases.

Opening gifts



As an Amazon Associate I earn from qualifying purchases.

Maja



As an Amazon Associate I earn from qualifying purchases.

Christmas dinner



As an Amazon Associate I earn from qualifying purchases.

I wish you the best holidays possible and a happy new year

Dear friends and family,  

I wish you the best holidays possible and a happy new year.  

My most important wish: I hope each one of you can find yourself with the person you care for the most and I hope that person loves you back as much. Really nothing else matters more than that. 

I also wish you a happy new year, not just the celebration at midnight, but the whole next year.   

As many of you know, for me, this last year was very interesting, and fulfilling career-wise with all the conferences and business-relationships formed, I am thankful for that and I want to extend my thankfulness to all of you. 

I am also thankful to my friends and for my little daughter who provided an incredible support to me. I know this year was also very challenging to many of us, for some of us it was the economy, trying to keep the house from the foreclosure, trying to keep or find a job, trying to figure out how to make the next payment, especially painful if you are considering cutting on the education funding for your own child. I know a thing, or two about it. 

Each one of us is going thru the unique life experiences, we experience the most beautiful of moments and we have our periods of depressions and melancholy. 

Despite all the challenges and stress I wish that all of you find in yourself a good heart to forgive and be nice to people who hurt us, to cherish our friends, to have family to call upon and to say "I love you" to the person you love.  

If you find yourself in dire straights this year, don't hesitate to call, or email me, I will do my best to be there for you. 

Merry Christmas for Christians and happy holidays for the rest of us! 

Uki 


As an Amazon Associate I earn from qualifying purchases.

MOTODEV Keynote Summit

MOTODEV Summit – January 13, 2010, Beijing China

Please join Christy Wyatt, Corporate Vice President, Software Applications & Services, as we kick off MOTODEV Summit China 2010, with a keynote presentation that will delve into the latest market trends and highlight the opportunities available to you to deliver break-through applications for the next generation of Motorola Android Handsets. Attend to get the big picture perspective to help you navigate through a day of in-depth sessions and tutorials and guide you to the detailed information, tools, and knowledge you need to succeed with Motorola.


Register:
http://developer.motorola.com/eventstraining/summit/beijing10/?utm_campaign=Beijing10-2&utm_medium=email&utm_source=email


As an Amazon Associate I earn from qualifying purchases.

Jack Vettriano

I absolutely love Jack Vettriano's art and the depiction of the period!








As an Amazon Associate I earn from qualifying purchases.

The Meaning of Open

Here is a great blog post written by Jonathan Rosenberg, Senior Vice President, Product Management at Google on what it means to be "open" and how Google is actively seeking that goal. I would love to hear people's comments.

http://googleblog.blogspot.com/2009/12/meaning-of-open.html


As an Amazon Associate I earn from qualifying purchases.

Grand parents and "babushka"

Visiting grandparents at 336 W Wellington Ave, Chicago 

41°56'12.3"N 87°38'18.8"W



As an Amazon Associate I earn from qualifying purchases.

MOTODEV: Motorola's development studio for Android Apps

MOTODEV is Motorola's development studio for Android cell phone applications. Here is some of the key highlights:
  • Complete Development Package 
  • Code Snippets 
  • Application Creation Wizards 
  • Database Managemen 
  • Localization Files Editor 
  • Handset Emulators 
  • Virtual Developer Lab 
  • Deploy Package 
  • Application Signing 
  • Marketing Integration 
  • Target Motorola Handsets 
  • Context-Sensitive Help and Integrated Documentation


As an Amazon Associate I earn from qualifying purchases.

HTML5 and GWT might be the future

WIth all the advances in browser technology and HTML5 I am very optimistic about the future of Google Web Toolkit (GWT) which uses JavaScript. 


My only concern is with ability of a lot of users of IE to update to modern browsers, that however, will not stop niche developers (companies) from creating interactive sites, games and communities. There is already a trend to ignore IE6 users altogether.


This is a demo that demonstrates the potential of rendering 3D graphics in the browser, using O3D, an open-source web API for creating rich, interactive 3D applications in the browser. The app shown in the video is coded in JavaScript and HTML and runs in a web browser. Learn more about O3D athttp://code.google.com/apis/o3d





As an Amazon Associate I earn from qualifying purchases.

Janusz Radek - Nie widzę ciebie w mych marzeniach



As an Amazon Associate I earn from qualifying purchases.

Metro - Chce byc kopciuszkiem



As an Amazon Associate I earn from qualifying purchases.

Needed: Architect: Flex UI and Java backend

Job Description:



Evaluate architecture of the existing Flex (Java backend) application for a large client servicing many fortune 500 companies. Provide technical solutions to improve UI speed, scalability and ability to rapidly customize the application for the future clients. Mentor fellow teammates of the best practices of Flex development.



Job Qualifications:


  • Experience as system architect and mentor. 
  • Minimum of two (2) years of professional Flex application development. 
  • Minimum of three (3) years of professional Java application development. 
  • Ability to solve problems independently along with a strong teamwork sense, communication skills, often pair-programming and knowledge sharing. 
  • Familiarity with open source frameworks such as Hibernate, Spring and Maven. 
  • Experience with modern database (MySQL/Oracle) is required. 
  • At least some level of experience with UNIX-based server environment (Linux/Mac). 
  • Willingness to learn various cutting edge technologies will be required. 
  • Understanding of Agile/SCRUM development and other methodologies preferred. 
  • Must be able to travel on a limited basis, typically less than 20%. 
  • College degree (4 year) or equivalent work experience is required.


Please contact:

Uki D. Lucas
email

"UkiDLucas - at - mac.com"



We are the organizers of Chicago Google Technology conferences:
http://chigtug6.eventbrite.com/


As an Amazon Associate I earn from qualifying purchases.

Java: calculate last Saturday

Java method that returns the date of last Saturday with time set to (00:00:00):

public class DateHelper
{

  public static Date getLastSatuerday(Date date)
    {
Calendar calendar = Calendar.getInstance();
int weekday = calendar.get(Calendar.DAY_OF_WEEK);
Date lastSat = DateHelper.incrementDays(date, (-weekday));

Calendar cal = new GregorianCalendar();
cal.setTime(lastSat);
cal.set(Calendar.HOUR_OF_DAY, 0);
cal.set(Calendar.MINUTE, 0);
cal.set(Calendar.SECOND, 0);
cal.set(Calendar.MILLISECOND, 0);
return cal.getTime();
    }

//increment hours of day

    public static Date incrementHours(Date date, int hours)
    {
GregorianCalendar calendar = new GregorianCalendar();
calendar.setTime(date);
calendar.add(Calendar.HOUR_OF_DAY, hours);
return calendar.getTime();
    }

}
JUnit test for above method: 

  public void test_getLastSatuerday()
    {
Date date = DateHelper.buildToday();
date = DateHelper.incrementHours(date, 2);
Date weekday = DateHelper.getLastSatuerday(date);
log.warn("Today is: " + date + " , last sat is: " + weekday);
    }


Output:
WARN 2009-12-17 09:05:42.306 com.xxx.xxx.server.common.DateHelperTest.test_getLastSatuerday()
Today is: Thu Dec 17 02:00:00 CST 2009 , last sat is: Sat Dec 12 00:00:00 CST 2009





As an Amazon Associate I earn from qualifying purchases.

Needed: Java Google Web Toolkit (GWT) Developer

Job Description:
Development of Java Google Web Toolkit (GWT) based applications for sports community website and other Revere clients while following Revere Open Systems best practices and development culture.

Job Qualifications:

  • Minimum of three years of professional Java application development.
  • Ability to solve problems independently along with a strong teamwork sense, communication skills, often pair-programming and knowledge sharing.
  • Familiarity with open source frameworks such as Hibernate, Spring and Maven.
  • Experience with MySQL databases is highly desired.
  • Deep understanding of various social media platforms such as Facebook, Twitter, etc.
  • At least some level of experience with UNIX-based server environment (Linux/Mac).
  • Willingness to learn various cutting edge technologies will be required.
  • Understanding of Agile/SCRUM development and other methodologies preferred.
  • Must be able to travel on a limited basis, typically less than 20%.
  • Knowledge and passion for various sports is preferable.
  • College degree (4 year) or equivalent work experience is required.



contact:
Uki D. Lucas
email "UkiDLucas - at - mac.com"

We are the organizers of Chicago Google Technology conferences:
http://chigtug6.eventbrite.com/


As an Amazon Associate I earn from qualifying purchases.

Justin Moore - Mobile Game Development




As an Amazon Associate I earn from qualifying purchases.

Watertower from Loyola



As an Amazon Associate I earn from qualifying purchases.

Lola dancing Polish highlander dance



As an Amazon Associate I earn from qualifying purchases.

maven-compiler-plugin memory management

Here is how you give more memory to maven-compiler-plugin:

http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-with-memory-enhancements.html


As an Amazon Associate I earn from qualifying purchases.

Fixing MySQL after upgrading to Snow Leopard

After upgrading to Snow Leopard, I found that MySQL would not start for me. I found this link that walked me through getting it up and running again.

http://planet-geek.com/archives/2009/09/osx-snow-leopar.html

I haven't had the time to figure out what exactly was messed up in the installation of Snow Leopard. If anyone knows, I would be interested in that nugget of information.


As an Amazon Associate I earn from qualifying purchases.

Las Guitarras De Espana




As an Amazon Associate I earn from qualifying purchases.

Fun time at the library



As an Amazon Associate I earn from qualifying purchases.

CSS override

To override any CSS on an element, use !important as below



#my_widget_id {
background-color: #191919 !important;
/*#191919 is gray */
}


As an Amazon Associate I earn from qualifying purchases.

GWT: Speed Tracer Tutorial



As an Amazon Associate I earn from qualifying purchases.

Sending mass emails

I was advising a client about a press release they sent with a tiny 0.63% of response rate.

Note: I am not a big fan of email campaigns, I believe the most effective way to communicate is when friends send stuff to friends because it is interesting to them, but sometimes you just have to blast it out...

Few generic pointers:

  • make subject is interesting to the recipient, eg. includes a name they recognize (their club, their own)
  • make sure the text of the email is short and sweet
  • if you are trying to make several points, use short bullets
  • avoid too many caps and long paragraphs
  • send a sample batch, adjust text and re-sent until you get acceptable response
  • ensure that you are addressing the right demographics
  • use http://bit.ly/ to track different campaign responses
  • use the right tools, check out http://www.mailchimp.com/


As an Amazon Associate I earn from qualifying purchases.

Jake Lumetta

“Uki has done an amazing job organizing and rallying the Chicago Tech Community together with his Google Technology User Group (GTUG) efforts. He has demonstrated his passion and entrepreneurial spirit, and has helped form many new connections in the Chicago tech scene.”  December 7, 2009
Jake Lumetta, Co-founder, ShopFiber (business partner)


As an Amazon Associate I earn from qualifying purchases.

Renxiang Li

“Uki is an energetic organizer who brings people from different background together to share their knowledge in Google technologies, namely the Web technology and Android, and their experience in starting new business taking advantage of the latest technology. Personally I benefited a lot from attending the monthly event and I am happy that I've presented two Android tutorials at the GTUG.”  December 7, 2009
Renxiang Li, Principle Staff Engineer, Motorola Application Research Center


As an Amazon Associate I earn from qualifying purchases.

Geoff Domoracki

“Uki hosted the Chicago Google Technology Conference where I had the opportunity to speak with Maroon Global. Uki is a great leader and an expert in both the technologies and business opportunities available to young developers.” December 6, 2009 
Geoff Domoracki, Owner, midVentures.com Group (business partner)


As an Amazon Associate I earn from qualifying purchases.

Night still early



As an Amazon Associate I earn from qualifying purchases.

Kingston Mines Blues with Jordan



As an Amazon Associate I earn from qualifying purchases.

Fall garden work with Ishtar blazing in the headphones

I am raking autumn leaves and daydreaming while listening to Ishtar
singing...
"C'est la vie, no one ever said life is fair, just a passing of time
that we share... No one said love was fair, just the tears and the
laughter we shared, no regrets I swear!"


One day soon when I am a multi-millionare I'll travel to Spain to
learn flamenco guitar, find a guitar master, go to Cuba and find the
most sensual, heart moving rythm band ever, go to Brasil and find
singer who will whisper Portuges directly to my soul, go to Morroco
and mix in a little flavor of hot Saharan longing. I take them all
somewhere in southern Spain, we will eat, drink, laugh for days,
become good friends and compose and record music.

This is one of the things I want to in my life.

Now, back to raking leaves, getting cold on this island, err park bench.



As an Amazon Associate I earn from qualifying purchases.

Calling Lola



As an Amazon Associate I earn from qualifying purchases.

New hairband



As an Amazon Associate I earn from qualifying purchases.

Compilation issue with gwt-dnd-2.6.5.jar - Java 1.6


Recently I had to use an updated version of gwt-dnd-2.6.5.jar with Snow Leopard (Mac OS X 10.6). I was using Java 1.5 and I got below error, which indicates a class being compiled with a different Java version:
java.lang.UnsupportedClassVersionError: Bad version number in .class file


Solution: It turns out that gwt-dnd-2.6.5.jar is using Java 1.6, therefore I had use same Java version (Java 1.6) in my environment in order for my project to comile correctly.


1. Click Eclipse -> preferences -> Java -> installed JRE



























2. Click Eclipse -> preferences -> Java -> compile -> select 1.6







As an Amazon Associate I earn from qualifying purchases.

Eclipse 3.5 installation with GWT 2.0 RC1

1. Install Eclipse 3.5 (Galileo Eclipse IDE for JAVA EE Developers): http://www.eclipse.org/downloads/ Extract Eclipse package in Application directory (on your Mac).


2. Download latest Eclipse 3.5 plugin for GWT http://dl.google.com/eclipse/plugin/3.5/zips/gpe-e35-latest.zip Extract the archive into the dropins directory in your Eclipse installation. Your installation of Eclipse will now have a directory dropins/eclipse/features/com.google.gdt.eclipse.suite.e35.feature_version and some newly installed JAR files in dropins/eclipse/plugins/
Restart Eclipse. The plugin should now be installed!


3. In eclipse, Install SubEclipse (SVN):
Click on Help menu -> Install New Software -> paste http://subclipse.tigris.org/update_1.6.x and click add button


Select all options and click next
Click Finish and you will be asked to restart your Eclipse 


4. Install Maven, if you are using Maven to manage dependancies in your project
Click on Help menu -> Install New Software -> paste http://m2eclipse.sonatype.org/update/http://m2eclipse.sonatype.org/update/ and click add button




Select all options and click next
Click Finish and you will be asked to restart your Eclipse 





As an Amazon Associate I earn from qualifying purchases.

Install Java 1.5 on Snow Leopard using Pacifist

Download the official  Java 1.5 update 4 zip file from the Apple: Java 1.5 update 4
Open Java package (JavaForMacOSX10.5Update4.pkg file.) using Shareware utility called Pacifist ($20 per license)
After you have successfully opened the downloaded Java package:
  • Using Finder application, navigate to
  • HD -> System -> Library -> Frameworks -> Java.VMframework -> versions
  • Select 1.5 and 1.5.0 versions and move them to Trash. Be sure to empty your trash.
  • Using Pacifist, select 1.5, and 1.5.0, right-click and choose to install default location 


As an Amazon Associate I earn from qualifying purchases.

Java 1.5 update 4 issues with Snow Leopard

CAfter Mac OS X Snow Leopard upgrade, I had to download Java 1.5 update 4 and got following error:


Java for Mac OS X 10.5 update 4 can't be installed on this disk. This software can only be installed on Mac OS X Leopard




Here is a solution:

  1. Click on Finder -> Utilities -> Disk Utility 
  2. Click on HD and run Repair HD Permissions
  3. Restart you Mac and magic should start happening!

Also see:




As an Amazon Associate I earn from qualifying purchases.

Java for Mac OS X 10.5 Update 4


Java for Mac OS X 10.5 Update 4 delivers improved reliability, security, and compatibility for Java SE 6, J2SE 5.0 and J2SE 1.4.2 on Mac OS X 10.5.7 and later.
This release updates Java SE 6 to version 1.6.0_13, J2SE 5.0 to version 1.5.0_19, and J2SE 1.4.2 to 1.4.2_21.

Download Java:
http://support.apple.com/downloads/Java_for_Mac_OS_X_10_5_Update_4


As an Amazon Associate I earn from qualifying purchases.

Oh Captain, my Captain! Walt Whitman

















O Captain my Captain! our fearful trip is done,
The ship has weathered every rack, the prize we sought is won,
The port is near, the bells I hear, the people all exulting,
While follow eyes the steady keel, the vessel grim and daring;
But O heart! heart! heart!
O the bleeding drops of red,
Where on the deck my Captain lies,
Fallen cold and dead.

O Captain! my Captain! rise up and hear the bells;
Rise up--for you the flag is flung for you the bugle trills,
For you bouquets and ribboned wreaths for you the shores a-crowding,
For you they call, the swaying mass, their eager faces turning;
Here Captain! dear father!
This arm beneath your head!
It is some dream that on the deck,
You've fallen cold and dead.

My Captain does not answer, his lips are pale and still;
My father does not feel my arm, he has no pulse nor will;
The ship is anchored safe and sound, its voyage closed and done;
From fearful trip the victor ship comes in with object won;
Exult O shores, and ring O bells!
But I, with mournful tread,
Walk the deck my Captain lies,
Fallen cold and dead.






As an Amazon Associate I earn from qualifying purchases.

... so may you contribute a verse

Medicine and law are noble pursuits, but we STAY alive because of romance and love



As an Amazon Associate I earn from qualifying purchases.

Carpe Diem

I have not seen this movie in ages, maybe I should.




As an Amazon Associate I earn from qualifying purchases.

Why Nobody Cares About Your Blog

If I walked into a crowded mall, went into the food court, stood there in the middle of it and just started talking, what do you think would happen?

Most people wouldn’t see me. Then, a few would and they would probably think I was crazy. At the end of the day, I’ll just be that crazy guy they saw at the mall.


  • speak TO your audience no AT your audience
  • personal relationships still apply
  • your job is to have something worth saying to your audience
  • get them to talk back to you
  • establish authority in the field
  • become their trusted friend


read more at problogger.net ...



As an Amazon Associate I earn from qualifying purchases.

HTML color codes

I found this Website to be very useful:

http://html-color-codes.info/


As an Amazon Associate I earn from qualifying purchases.

Future of microblogging? Corporate Twitter, geo-tagging?

In a move that appears to signal an attempt by Twitter to finally monetize its user base, the company will start selling corporate accounts to brands by the end 2009.

Though Twitter co-founder Biz Stone had hinted at such an initiative earlier this year, he fleshed out the concept this week at an industry event in London, where he said a pay-for package will offer verified streams and analytics.

read more...


Please give us your opinion in comments section..


As an Amazon Associate I earn from qualifying purchases.

Foursquare the next Social Media craze

Pete Cashmore: Early adopters say Foursquare could be 2010's big social-media craze 


Birthed by the team that brought us the mobile social network Dodgeball (acquired by Google in 2005 and later shuttered), the location-based mobile startup serves a simple purpose: It lets an individual share his or her location with a group of friends.

Foursquare ventures beyond utility, however: It's a virtual game in which participants earn badges for checking in at various locations; those that check in most become a venue's "mayor." By all accounts, this mechanism is as addictive as Twitter, Facebook or checking your e-mail on a BlackBerry.


read more ...






As an Amazon Associate I earn from qualifying purchases.

Updating Eclipse Galileo to GWT 2.0 RC2

1) Download Eclipse IDE for Java EE Developers (188 MB)  version 3.5. 
Fresh installation is recommended.


Mac: use Cocoa 32 bit
Extract in Applications directory, for example:
/Applications/IDE/eclipse-jee-galileo-SR1-macosx-cocoa.tar.gz


Drag /Applications/IDE/eclipse/Eclipse.app to your dock to make a shortcut.


2) Download GWT SDK:
http://google-web-toolkit.googlecode.com/files/gwt-2.0.0-rc2.zip


Extract the zip in any location, example:
/opt/gwt/gwt-2.0.0-rc2.zip
/opt/gwt/gwt-2.0.0-rc2/gwt-dev.jar


3) Install Eclipse GWT Plugin:
download and extract into Eclipse dropins directory
http://dl.google.com/eclipse/plugin/3.5/zips/gpe-e35-latest.zip


You should have this, or newer:
/Applications/IDE/eclipse/dropins/eclipse/features/com.google.gdt.eclipse.suite.e35.feature_1.1.2.v200910131704


Restart Eclipse, you should see the plugin.



If for any reason you don't see these 3 icons, delete Eclipse installation, and extract all again from the downloaded archives, take about 1 minute.



Following steps are optional depending on what you are using:


4) Install Eclipse SVN plugin: Menu.. Help.. Install new software...

http://subclipse.tigris.org/update_1.6.x




You should be able to browse any SVN repositories by selecting..





and typing SVN in the search, then selecting "SVN repositories"

5) Install Eclipse Maven plugin: Menu.. Help.. Install New Software ...

http://m2eclipse.sonatype.org/update/







6) Make sure that your project uses the right SDK GWT 2.0 RC2:
























Please post comments and help tips




As an Amazon Associate I earn from qualifying purchases.

LinkedIn - example how to make money from Social Networking

Here is a great way to make money, pay $500 per month and

  • I let you send 50 emails
  • I let you do 700 searches
  • I let you have 25 folders
Wow, that is generous indeed, but I still love using LinkedIn and no, thank you I rather work harder on building my social network.






As an Amazon Associate I earn from qualifying purchases.

Cloud-based IDE for Google AppEngine?

With all this talk about Chrome OS and Netbooks being stripped down to bare minimum developers must be wondering...

Can I carry a small (CPU/memory) tablet computer (preferably Mac, or Android), connect it to any keyboard and monitor (mouse not needed as tablet would serve as a touchpad) and continue my code development?

Hence the idea...

Anyone interested in writing cloud-based IDE (like Eclipse) for browsers (or Android/Chrome OS platform)?

  • kind of code-friendly wiki model with "deploy" button added
  • all the programing happens in the browser
  • no extra tools needed (can work from school lab/library computer)
  • apps inherently live in/deploys to Google AppEngine or other cloud
  • no need for code checking out/in 
  • version history would be auto-maintained
  • multiple people can edit a file and live editing would be color coded
  • login for client projects, but open source project could thrive on it
  • 100% same environment for all developers (dependency management)
  • ability to lock-out files until developer works out the bugs
  • ability for other to see "locked-out" changes

Now, I know, even today you can open JavaScript, PHP, or other script in the browser, edit it save and instantly see the changes.

Well, I was hoping for GWT or Flex solution.

Pallavi Kaushik suggested: https://bespin.mozilla.com/

Please leave a comment with suggestions, or links to the projects that do that.


As an Amazon Associate I earn from qualifying purchases.

Robot playing violin



As an Amazon Associate I earn from qualifying purchases.

new facebook4gwt Version 1.0.6

I have made changes in preparation for the December 20, 2009 deprecation of the showFeedDialog() method.

Users should use streamPublish() instead.

Example of use:

FacebookStory story = new FacebookStory();

story.putData("name", "title"); //you can use {*actor*} which uses the logged users name

story.putData("caption", "tehasdsasdf");

story.putData("description", "tehasdsasdf");

story.putData("href", "http://www.cnn.com");//adds href for 'name'

story.addImage("http://i.cdn.turner.com/cnn/.element/img/3.0/global/header/hdr-main.gif", "http://www.cnn.com");

story.setActionLinkText("another link to something");
story.setActionLinkHref("http://www.google.com");

story.streamPublish();



As an Amazon Associate I earn from qualifying purchases.

More GWT Date woes

So, as we all know, working with dates in GWT is not much fun given the lack of a Calendar class to do any sort of date manipulation. Incrementing and decrementing dates must now be done by adding and subtracting from the milliseconds that have elapsed since epoch.

So we have a method that does the calculating for you and it has been working fine, until I stumbled upon a very interesting bug. Apparently, there is some issue revolving around November 1, 2009. Here some some code to replicate my results:
public void onModuleLoad()
{
DateTimeFormat format = DateTimeFormat.getFormat("dd/MM/yyyy H:mm:ss");
String dateString = "01/11/2009 1:30:30";

Date originalDate = format.parse(dateString);
Date date = new Date();

for (int i = -7; i < 8; i++)
{
date = incrementDays(originalDate, i);
System.out.println("DateUtil.incrementDay(" + i + ") = " + date.toString());
}
}

private static Date incrementDays(Date date, int xdays)
{
long time = date.getTime();
time = time + (xdays * 24 * 60 * 60 * 1000);

Date newDate = new Date(time);
return newDate;
}
Here is the output from this test:
DateUtil.incrementDay(-7) = Sun Oct 25 02:30:30 CDT 2009
DateUtil.incrementDay(-6) = Mon Oct 26 02:30:30 CDT 2009
DateUtil.incrementDay(-5) = Tue Oct 27 02:30:30 CDT 2009
DateUtil.incrementDay(-4) = Wed Oct 28 02:30:30 CDT 2009
DateUtil.incrementDay(-3) = Thu Oct 29 02:30:30 CDT 2009
DateUtil.incrementDay(-2) = Fri Oct 30 02:30:30 CDT 2009
DateUtil.incrementDay(-1) = Sat Oct 31 02:30:30 CDT 2009
DateUtil.incrementDay(0) = Sun Nov 01 01:30:30 CST 2009
DateUtil.incrementDay(1) = Mon Nov 02 01:30:30 CST 2009
DateUtil.incrementDay(2) = Tue Nov 03 01:30:30 CST 2009
DateUtil.incrementDay(3) = Wed Nov 04 01:30:30 CST 2009
DateUtil.incrementDay(4) = Thu Nov 05 01:30:30 CST 2009
DateUtil.incrementDay(5) = Fri Nov 06 01:30:30 CST 2009
DateUtil.incrementDay(6) = Sat Nov 07 01:30:30 CST 2009
DateUtil.incrementDay(7) = Sun Nov 08 01:30:30 CST 2009
As you can see, at November 1, the time gets decremented by one hour. I have not been able to figure out what exactly is causing this. I have run a ton of tests and have not been able to come up with any answers. All other dates in 2009 appear to work (although, I did not test them all). Also, November 1, 2010 does work, but it is off again on November 8.

Just another reason why we need a Calendar class for GWT.

If anyone has any ideas what is causing this, please let us know.


UPDATE:
Day light savings time did not cross my mind, and is seems to be the culprit in this issue. If anyone has any other ways of calculating the date on the client side in GWT, let us know. Thanks.


UPDATE #2:

Here is the new incrementDays() method to deal with this issue:

private static Date incrementDays(Date date, int xdays)
{
long time = date.getTime();
time = time - (xdays * 24 * 60 * 60 * 1000);

Date newDate = new Date(time);

Integer dateHour = new Integer(DateTimeFormat.getFormat("H").format(date));
Integer newDateHour = new Integer(DateTimeFormat.getFormat("H").format(newDate));
if (!dateHour.equals(newDateHour))
{
if (dateHour > newDateHour || (dateHour.equals(0) && newDateHour.equals(23)))
{
time = time + (60 * 60 * 1000);
newDate.setTime(time);
} else if (dateHour < newDateHour)
{
time = time - (60 * 60 * 1000);
newDate.setTime(time);
}
}

return newDate;
}


As an Amazon Associate I earn from qualifying purchases.

GWT 2.0 RC1



Before using GWT 2.0 RC1, please understand that it is still a release candidate and will likely change before its official release. We do not recommend using this release candidate build for production applications.


read more...



As an Amazon Associate I earn from qualifying purchases.

Building Personal Brand Within the Social Media Landscape


Gary Vaynerchuck a successful wine company owner who is highly entertaining and motivating speaker. Watch out for:


  • "PP == patience and passion"
  • "legacy is greater than currency"
  • "Build your equity after hours and stop wasting time watching Lost"
  • "There is no reason to do XX you hate, you spend just as much money doing stuff you hate"
  • "Do what you like, if you like smurf.. smurf it up"





As an Amazon Associate I earn from qualifying purchases.

Dice Partners - Windows 7 ad with Apple bullets ?!?




As an Amazon Associate I earn from qualifying purchases.

Downgrading Safari for Mac OS X

Today I ran into an issue running my GWT application. The problem came from updating to Safari 4.0.4 (to read on this issue click here).

The obvious solution was to downgrade back to Safari 4.0.3. I have needed to do this before and it was not an easy task (I'm running Mac OS X 10.5.8) Finally, I found an easy way to accomplish this task.

First, you need to download an application called Pacifist. Then you need to find the dmg image for the version of Safari you want to downgrade to. In my case, 4.0.3 can be found here. Once you have the package downloaded, you will need to open it in Pacifist. Select the pkg and hit "Install". Once it starts the install process, it will tell you that the file(s) already exist. For all files / applications, tell it to "Replace" the existing file.


As an Amazon Associate I earn from qualifying purchases.

Google Wave preview by ChiGTUG

fyi: ChiGTUG is Chicago Google Technology User Group.

I received al lot of questions on Google Wave over the Twitter, here is the scoop....

We have seen Google Wave presentation last summer at Google IO in San Francisco, since then our team was toying with creating the robots in the sandbox account Google kindly provided.


Recently, my whole team finally got their Wave accounts and since we are distributed between Milwaukee, Chicago and suburbs we tried to use it instead of SKYPE we normally use.


Observations we see as necessary:

  • when you start a new wave you should be an admin and be able to assign admins
  • only admins should be able to delete posts of others
  • after collaborating on a (work) topic it should be possible to export it to (PDF) file
  • you should be able to apply various formatting styles to your wave to make it look like: chat, documentation, meeting notes, etc.
  • wave needs a desktop client like iChat, or Skype
  • wave needs mobile clients: iPhone, Android
  • Wave needs to become a OpenSocial gadget so we can plug it into Blogger
  • Wave need voice and video chatting
  • Wave need screen sharing like iChat, or Skype does
I am sure a lot of these issues will be addressed shortly. We cannot wait for Wave to become mainstream application for collaboration. 


As an Amazon Associate I earn from qualifying purchases.

3 Lessons I Learned Building 4,000 Subscribers in 12 Months

http://www.problogger.net/archives/2009/11/15/3-lessons-i-learned-building-4000-subscribers-in-12-months/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+ProbloggerHelpingBloggersEarnMoney+%28ProBlogger%3A+Helping+Bloggers+Earn+Money%29


As an Amazon Associate I earn from qualifying purchases.

"Mobile Marketing Apps - Designing Branded Experiences" - Mon, 11/16 @ 6pm


Please join us for the next gathering of mobile industry professionals & enthusiasts on Monday, November 16, 2009. Reserve the date in your calendar now!

Please RSVP so we can get your name on the security list and plan refreshments, courtesy of our host, TechNexus.

http://momochinov2009.eventbrite.com


MEETING DETAILS
-------------------------------------------------------------------------

Date: Monday, November 16, 2009
Time: 6:00 pm – 7:30 pm
Topic: Mobile Marketing Apps - Designing Branded Experiences
Presenter: Luigi Greco, Co-Founder & Managing Partner, 01 Design
Location: TechNexus, 200 S. Wacker Drive, 15th Floor, Chicago, IL 60606
Location Notes: Participants must sign-in at the reception desk on the first floor. Picture ID required. Take the elevator up to the 15th Floor.
Directions & Parking: Please see the "Getting Here" page on the TechNexus web site for details.

MEETING AGENDA
------------------------------------------------------------------------

6:00 pm – Sign-In / Light refreshments
6:15 pm - Quick introduction of the TechNexus startup incubation space
6:25 pm - Featured Presentation by Mr. Greco
7:30 pm > Refreshments / Networking

Presentation Synopsis for "Mobile Marketing Apps - Designing Branded Experiences"
Luigi Greco, co-founder of 01design, will showcase the 01design approach in strategic mobile & brand design for consumer brands. Over the last five years, 01design has developed apps for the iPhone and other mobile platforms for a wide portfolio of premium brands targeted to a range of consumer market segments. Using the case study format, Mr. Greco will discuss strategies for designing compelling branded mobile experiences, share some lessons learned, and touch on important issues such as marketing/branding goals, metrics and strategy.

About The Presenter
Luigi Greco plans and develops ideas for marketing and promotion activities using digital media and mobile devices; he also defines products and brings them to the market. He has worked on a wide range of projects for MTV, Dolce & Gabbana, IBM, Salvatore Ferragamo, TIM, Telecom Italia, and the Italian government.
Featured in the Adobe Magazine and Adobe in the International case study for MTV and D&G mobile projects, Luigi co-founded 01design. Working since the dot.com era as a new media designer and mixing his technical skills in this field with a unique, multi-perspective approach and knowledge that stems from a solid background in communication and new media studies, Luigi shared the vision of the mobile business with 01design with an "open garden" approach, trying to develop communication formats capable of helping global brands to start establishing a unique one-to-one marketing communication approach that turns the third screen into a real communication medium

About 01design
01design is a mobile application development and interaction strategy agency that provides custom content for brands. Customers include MTV,
Dolce&Gabbana, AC Milan, Adobe, NOKIA, BNL BNP - Paribas, BancaSella, Gambero Rosso, Mondadori Group, TIM, TelecomItalia, AirOne, Alitalia,
World Swimming Championships 2009, Committee for Formula One Racing in Rome, and Jamba.
01design is a pioneer and multi-awarded mobile agency based in Europe and has a unique team of strategists and developers that helps clients understand the mobile scenario. 01design provides marketing and technologies in order to reach the customer target goals using mobile 24/7 access platforms.
In the last five years 01design has developed a strong network of partnerships, experiences, and relations in the mobile industry with companies such as Adobe, Apple, Nokia, Opera, SonyEriccson, and more.

Additional Notes

  • Please note the security restrictions listed above for gaining access to the building and plan accordingly.
  • Light refreshments will be provided, so help us plan by confirming your attendance online as soon as possible.
  • Special thanks to TechNexus for hosting this event and sponsoring the refreshments.




*************************************************************

   Anthony Hand,
   Mobile Monday Chicago Events Chair

   e:  anthony.hand@gmail.com
   w:  www.momochicago.com

*************************************************************



As an Amazon Associate I earn from qualifying purchases.

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


Popular Recent Articles