Archive | Programming RSS feed for this section
Using Namespaces in C#

Using Namespaces in C#

As we’ve seen briefly in a previous example, namespaces in C# can give a project some useful ways to organize code. The most common example of where namespaces are useful is what I’ve dubbed the “System” example. A quick google on C# namespace will land you a ton of results showing a basic [...]

Read full storyComments { 0 }
netbeans-61-zk-design-palette-plugin

ZK 3.5.1 Released – RIA Framework, NetBeans Plugin and Tutorial

This past week ZKoss refreshed their flagship product, ZK, to version 3.5.1. If you haven’t heard of ZK before, it is a very slick framework which was “designed to maximize enterprise operation efficiency and minimize the development cost [with] its groundbreaking Direct RIA architecture. ”
Unlike most marketing ploys used to overstate the capabilities of a [...]

Read full storyComments { 0 }
Mono Logo

A Quick Introduction to C#

With Mono’s 2.0 release it seems there’s no better time than now to start investing in C#, especially if you are looking for platform independence. To help move that investment along, I’ve written up a small tutorial that should get you up and running with C#. Before we begin, you’ll need to grab [...]

Read full storyComments { 0 }
Samsung HL-S7178W Picture #4

What's the Best Way to Handle Exceptions?

It seems, given my limited experience, that handling exceptions depends entirely on the context in which you are developing. As a fan of “rules” that can be applied to different scenarios I wanted to hit you guys up and see what the rules-of-thumb were with regards to exception handling.
Some approaches to exception handling sort of [...]

Read full storyComments { 0 }
java-logo

Sun, IBM and Microsoft Host Workshop to Combine VM Efforts

Sun recently held a 3-day workshop where technical leads and directors from IBM and Microsoft were invited to join together at the Sun campus to try and work on consolidating Virtual Machine efforts going forward; more specifically focused on developing solutions that would yield Java-like performance for Ruby, Python, PHP, and Scala on the JVM.
No [...]

Read full storyComments { 0 }
netflix-logo

Netflix Releases Developer API, Surprisingly Powerful

Netflix released it’s long-awaited developer API yesterday (JavaScript, REST) and to a lot of people’s surprise, was quite a bit more open-ended than expected:
We’re pleased to announce the availability of the Netflix API. The team has been hard at work on this and we’re glad we can finally let people see what we’ve built. The [...]

Read full storyComments { 0 }
Java over Blurred Ruby

Using XRuby to Speed up Ruby Script Performance

Do you want to squeeze the most performance out of your Ruby scripts? If so, you might be interested in a little project called XRuby.
According to the website “in most benchmark tests, XRuby runs faster than Ruby 1.8.5″. Personally, I was a bit skeptical, and you may be too. So let’s explore this [...]

Read full storyComments { 0 }
Chromium, Safari, and Opera SunSpider Javascript Benchmark results on Leopard

CrossOver Chromium, first impressions

Like all internet enthusiasts, I was ecstatic to see Google release a new browser. Unfortunately, like all *nix enthusiasts, my heart dropped at the sight of “Google Chrome (BETA) for Windows” and no sign of a corresponding Linux or Mac version. Fortunately, the good guys over at Codeweavers released a version of Chromium [...]

Read full storyComments { 0 }
google-chrome-screenshot

Google's Chrome Browser Process Model Explained

Marc Chung has posted an in-depth analysis of Google’sChrome Browser process model. Why this is interesting is because the new process model in Chrome is one of the most powerful aspects of the browser, allowing it to render JavaScript-heavy web applications much faster without blocking the entire browser process hung in a render loop (something [...]

Read full storyComments { 0 }
djproject-vlcplayer-embedded-in-swing

Spruce up the Desktop Java Experience with Native Objects

The DJ Project is a cool project that allows native objects to be integrated into Swing applications. You want to add a web browser to your java app? No problem. How about a flash player, or html editor? Done. The site may not look like much, but you can tell the [...]

Read full storyComments { 0 }
mozilla-tracing-jit-comparison-video

Tracing JavaScript Engine Coming in Firefox 3 Could Give 20-40x Performance Boost in Some Scenarios

Ars has a piece up about the Tracemonkey JavaScript engine work that we will first see in Firefox 3.1 (currently in nightlies) but is the first part of major JavaScript work known as Tamarin that won’t be seen until Firefox 4.0.
Apparently the Mozilla JavaScript engine is getting worked over from the ground up with an [...]

Read full storyComments { 0 }
Easy Encryption in Java and Python with Keyczar

Easy Encryption in Java and Python with Keyczar

Do you need to encrypt small text data, like serial numbers or customer numbers in your web application?  With the amount of data being transmitted online and the increasing need to protect customers against identity theft, encryption is the one and only choice to keep customers safe. Unfortunately, implementing encryption is a daunting task [...]

Read full storyComments { 0 }

Using 'resources' path in Wicket Causes Problems Loading CSS, Images and JavaScript

Bah… 3 hours worth of debugging and finally figured out what was going on with this issue in Wicket and wnated to share this with any other developers out there that might be running into this.
Issue
I typically create a /resources directory under the root of any web app I’m working on where I places CSS, [...]

Read full storyComments { 0 }

SmugMug Java API – Beta 5 Released

Beta 5 of the kallasoft SmugMug Java API has been released.

Homepage
Announcement
Download

The kallasoft SmugMug Java API is a Java API that provides integration with the SmugMug JSON API and is developed/released under the Apache License v2.0.
The simple examples page may give you a better idea of how to use the API out of the gate. Also [...]

Read full storyComments { 0 }
RedHat Pushes Up Sun Schedule, Java Fragmentation Begins

RedHat Pushes Up Sun Schedule, Java Fragmentation Begins

If you didn’t see it, RedHat announced earlier this week that their completely Open Source Java implementation (IcedTea) had finally passed the Java Test Compatability Kit (TCK).
While most folks rejoiced, I think there were a fair number of us that sighed and thought: Goddamnit, here’s the beginning of the Java fragmentation.
Or if that not, were [...]

Read full storyComments { 0 }
Which is the Hottest Java Web Framework? Or Maybe Not Java?

Which is the Hottest Java Web Framework? Or Maybe Not Java?

I haven’t sat down in a long time and actually tried to determine a trend in the Java web framework arena. The uncountable number of “easy to use” Java web frameworks that are out now adays is too many to even start to pay attention to.
Struts 1 came out at a perfect time in history… [...]

Read full storyComments { 75 }
LinkedIn Is Written in 99% Java

LinkedIn Is Written in 99% Java

This is actually pretty awesome for any of the Java devs out there that are concerned that Java is dying and Ruby/Rails/Flavor-of-the-Month is rising up to replace it… it seems that the huge professional social networking site (no, not MySpace) LinkedIn is actually written in 99% Java except for some in-memory C++ caches that they [...]

Read full storyComments { 0 }
Google Offering (Cachable) AJAX Library Hosting

Google Offering (Cachable) AJAX Library Hosting

Looks like Google has announced that they will be providing hosting for the following 5 (most popular) AJAX Libraries:

jQuery
prototype
script.aculo.us
MooTools
dojo

in the form of their AJAX Libraries API project, described as:
Google works directly with the key stake holders for each library effort and accept the latest stable versions as they are released. Once we host a release [...]

Read full storyComments { 0 }
work-in-progress1

Beta 5 Progress & Beta 6 Planning Update

Work on Beta 5 of the kallasoft SmugMug Java API is progressing really well.
We took this opportunity to solidify the API foundation and partition off the more functionally-generic portions of it off by themselves so sub-classes of custom method implementations or future API classes could easily reuse them.
This is most noticeable in the Upload method [...]

Read full storyComments { 0 }
Cat Burried in Work

Added a SmugMug Java API FAQ

A new FAQ section has been added for the kallasoft SmugMug Java API.

Read full storyComments { 0 }
Enabling Comments on Every Wordpress Page

Enabling Comments on Every Wordpress Page

Updated August 2010
Ok this might seem trivial to the smarter WordPress folks out there, but I’m dumb… dumb like a sack of rocks and didn’t just figure this out until now.
If you’ve been using WordPress for years and always wondered why the ‘Add a Comments’ section only show up on the front page of the [...]

Read full storyComments { 43 }
Programming Like a Douchebag

Programming Like a Douchebag

Ran across this post with an example of the worst toString method this developer has ever seen, let’s take a look:

public String toString() {
if (this != null)
return “**** implement me”;

return “i am null”;
}

This is really for the programmers in the group… the amount of stupid involved in writing the above snippet of code is like [...]

Read full storyComments { 0 }
Sun to Begin Closing up MySQL Source Code

Sun to Begin Closing up MySQL Source Code

Uh-oh, Spaghettio’s! Looks like Sun is going to start closing up some of the open source portions of MySQL, namely the more advanced functionality and the backup solutions that are currently open sourced. Can you blame them? They paid a goddamn billion for MySQL, it’s not too surprising that they want to create some value-add [...]

Read full storyComments { 0 }

Updated Examples

Some updated examples for logging in were posted to the Examples Page. There should be a pack of simple examples that are released with the Beta 5 release here in the coming weeks to make getting started with the API even easier.

Read full storyComments { 0 }