TechHui

Hawaiʻi's Technology Community

Daniel Leuck's Blog – March 2008 Archive (7)

Hacking BeanShell with JavaCC - Building a Language

A few months ago

Clifton Royston posted an excellent entry titled

Recursive descent parsing with BNF grammars. This inspired me to write about

JavaCC, my favorite parser generator. Today I finally got around to putting together some examples. Academic articles on parser generators and… Continue

Added by Daniel Leuck on March 31, 2008 at 3:30am — 1 Comment

Paint Delegates in Java Swing and .NET WinForms

A few months back I blogged about an excellent Swing look and feel called

Nimbus. Nimbus is entirely vector based and does all its painting using delegates that can be layered and shared. Painters are used to draw tiled images, gradients, stripes, glass effects, etc. They also support Photoshop-like filters. Painter Example:

    MattePainter matte = new MattePainter(new Color(21, 21,…
Continue

Added by Daniel Leuck on March 30, 2008 at 5:00pm — No Comments

A 15 Minute Intro to C# for Java Developers

Intro

This is a quick intro to C# for Java developers. Why should you care what those C# guys are doing? If you are a pragmatic developer you know its good to have a few languages in your toolbox. If you are a member of the anti-Microsoft crowd, think of it as a way to "keep your enemies closer." :-) The C# language features added to Java 5 make it clear Sun and the JCP are taking this approach.



C# is a very close relative of Java. Its inventor,… Continue

Added by Daniel Leuck on March 29, 2008 at 3:30pm — 2 Comments

Why is Google Losing in Russia and Asia?

Google handles 65% of all web searches in the US and 86% of all searches in the UK. Its advertising revenue for 2007 was twice that of its three closest competitors combined, up 44% over 2006. Google has 79% of the pay-per-click ad market and controls 40% of all online advertising. This dominance has largely translated to success in Western Europe and South America, but not Russia or Asia. Why?

Google is having a rough time in… Continue

Added by Daniel Leuck on March 26, 2008 at 2:00am — 1 Comment

Java Icon Format & API

After a month long hiatus from coding I decided to jump back in and finish a project I started a few years ago. Java has always lacked a proper icon format such as Window's

ICO and OS X's

ICNS. A modern icon format and API should support: 1. 32 bit color (ARGB) 2. Vector and bitmap images (multiple sizes for bitmaps) 3. Bundling of icon variants in… Continue

Added by Daniel Leuck on March 24, 2008 at 1:00pm — 5 Comments

Tipping Points in Social Networks

The science of social networks has always interested me, which is part of the reason I decided to launch TechHui. I often wonder what the tipping point is for this network. Have we already reached it? If I was hit by a bus tomorrow, would TechHui continue to be a viable social network a year from now? As we approach 200 members, and other active posters have started to appear, I believe the answer is yes, but this is just a gut feeling. What are the metrics? Do they differ for vertically… Continue

Added by Daniel Leuck on March 22, 2008 at 12:30pm — 15 Comments

iPhone in Japan, Thailand and Madagascar

Salama Folks! We are just back from a long trip that took us to Thailand, Madagascar, Maritius and Japan. Although it was an amazing trip and I would love to post here about all our great experiences, I don't want to get too far off topic. If you are interested in pics and stories please check out our Makinet ning site.



It was interesting to note the level of iPhone adoption in each country. I met two people with iPhones in Antananarivo,… Continue

Added by Daniel Leuck on March 21, 2008 at 8:30pm — No Comments

Sponsors

web design, web development, localization

© 2024   Created by Daniel Leuck.   Powered by

Badges  |  Report an Issue  |  Terms of Service