May 01, 2012

Former Sun totally slimed Present Google

Sun has not made anything of user interface value over the last five years because of legal bullshit. Android fixes this problem. The reason Android exists is the massive NIH ego of Sun engineers, the total ignorance of Sun management and the fact that AWT/Swing is a desktop API that ignores mobile phones and tablets. Sun ignored video, audio, animation, maps, vector graphics, DPI/PPI differences, multitouch, GPS, sensors and memory consumtion. The AWT/Swing alternative called JavaFX ignores all the problems that Android solves. I respect Mr Goslings work, but AWT/Swing/JavaFX has nothing on Android and is unable to compete with WebOS or Bada from many years ago. Sun Java WebStart was such a bad product it infected more computers with malware than Adobe Flash over several years.

Continue reading "Former Sun totally slimed Present Google" »

November 21, 2011

How to become a faster web developer

Just add this to your header include file. Upload it to a test server and open five browsers. Then work in one of them. This code is Java based JSP, but you could use a small Javascript snippet as well. This should save you a few hundred clicks or ctrl-r.

You must only do this on the development machine. If you use this on a production system Google will index every single ?refresh= link. So write some code that checks if the server is development or production.

<!-- JSP -->
<meta http-equiv="Refresh" content="60; ?refresh=<%=new java.util.Date()%>"/>

August 28, 2011

Why not use Java and invokedynamic for dynamic languages everywhere ?

Sun was a supercomputer company. Java is the alternative to IBM operating system VM's running on mainframes. Nobody has that kind of hardware just lying around. Java was designed to run on $1000 SCSI hard-drives and 32Gb of RAM. The focus is on standardization, scalability, portability, buzzwords and expensive catering.

Continue reading "Why not use Java and invokedynamic for dynamic languages everywhere ?" »

August 18, 2011

So who threatened HP ?

HP is apparently giving up on making WebOS phones and tablets. Some blame few apps and late hardware. I blame fragmented API's in a fragmented ecosystem pretending to be easy to use. Why is Mojo, Enjo and Node.JS simple when jQuery and Prototype is incompatible anyway ? Coffeescript and GWT sort of proves that people find web development harder than what is officially the accepted truth.

Continue reading "So who threatened HP ?" »

June 29, 2011

The Adobe Apple influenced angst

Why do I need to agree to the Flash license in order to "upgrade" something ? I stopped using Apple iTunes and Quicktime because of this shit. And Microsoft Zune also uses this demented form for "upgrading". Why do they hate us so much ? Upgrading is now "installing". Because I am "installing" software every week because of security problems !

Add an UNINSTALL button Adobe. That way people can do the safe thing without reading official documentation filled with technical jargon and PR mumbo jumbo.

Adobe Flash Player 10.3 Installer.png

June 15, 2011

Oracle hates developers

I went to the JavaFX 2.0 beta download page today. And it demanded that I log into Oracle to download the SDK. Just like Apple does with beta software. Except Apple actually cares about developers and produce a Cocoa product that matches Carbon. Oracle is still six months away from delivering JavaFX and that implies a non-mentally-retarded-license.txt and maybe a live Kernel update.

If JavaFX is the future, then use it for something. Just look at Microsoft Expression Blend as an example. If Oracle creates nothing in JavaFX, then why should anyone else ? People hated Swing because they used Swing applications, not because they read a tutorial about JavaBeans and thought manual get/set patterns were super lame.

I closed the Oracle tab and wrote this instead. I can wait a few more years before opening their SDK. There is no rush.

May 12, 2011

JSP JSTL FMT, UTF-8 Unicode and native2ascii

So you need Japanese in a J2EE JSP. You do something like this.

<%@page contentType="text/html;charset=UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"%>
<c:if test="${param.locale == 'jp'}"><fmt:setLocale value="jp" scope="session"/></c:if>
<fmt:bundle basename="com.example.Example"/>
<fmt:message key="example" var="example"/>
${example}

And then you use native2ascii from the JDK on a UTF-8 file filled with Japanese. You then add this to a property file. And get garbage when running the JSP. Why ?

Because, and I forget this over and over again, the tool exports escaped UTF-16 two byte pairs by default. What you want is:

native2ascii.exe -encoding UTF-8 Example.properties

April 02, 2011

Colorspace and Snow Leopard

Colorspace (RGB color tool/picker/wheel) has crashed a lot on OS X lately. This is because Apple locks operating system versions to Java versions and this creates problematic third party dependency trees that require multiple internal code paths. I have now given up legacy support and set the minimum Java version to 1.6.

Download the new version of the color tool here.

March 29, 2011

Free color tool for web developers

The Colorspace history dialog is now part of the standard and free feature set. The Mac OS X build might be broken due to a problem with the automatic build system. 64bit builds are available for Windows and Ubuntu Linux, but 32bit executables are most likely the best option because of issues with the way Java VM's are installed. JRE_HOME and TEPPEFALL_JVM can be used to select a specific Java VM.

Free color tool for web developers (screenshot).

March 13, 2011

New Teppefall homepage

February 20, 2011

test

tester

February 15, 2011

Everybody panic @ Nokia Qt

Nokia Qt is having somewhat of a Java Swing moment. But C++ coders are much more emotional. They probably make more money ! How did this happen ? Nokia tried to pull a JavaFX with QML and lost focus on what really matters. And what really matters ? Well, it ain't compact syntax and book writers.

Nokia wants Expression Blend, Visual Studio and Adobe Creative Suite vector importers. And stores that are not fictional. Advertising platforms with thousands of clients, etc.

Nokia new strategic direction. What is the future for Qt?.
Update on Qt.

February 13, 2011

The modern web application

Teppefall DevGrid alpha 1.

January 27, 2011

Salesforce.com launches Database.com, buys Heruko, Oracle drops Ruby

Salesforce Unveils Database Product, Taking On Oracle.

Salesforce's Heroku Acquisition Redefines Cloud Computing.

Ruby on Rails Support Discontinued in NetBeans IDE.

Is Oracle being paranoid or just pragmatic ?

January 24, 2011

A test too far

This article makes me wonder if the Oracle/Google lawsuit is 50 percent based on "some guy commited something to source control because".

Maybe we should call it console fire ? Like as in "helmet fire". Maybe too dramatic.

January 12, 2011

Designing for touch devices and HTML5

I forgot to mention it, but Teppefall DevGrid looks the way it does because it has been designed for mobile devices and tablets.

The clue to getting it right is this HTML meta tag:

<meta name="viewport" content="width=device-width, user-scalable=yes, maximum-scale=1.0"/>

You also need to use min-width and max-width CSS values instead of fixed values and sometimes use percentage based layout that floats to the left. I also add extra CSS if a mobile device is connected to reduce vertical space requirements. Overflow rules are used to hide wide images.

January 11, 2011

Introducing Teppefall DevGrid

This is the first "cloud based" product from Teppefall. More information will come over the next couple of months. It runs on Google AppEngine and is standard J2EE plus a few Google extensions. JavaMail, Twitter4J and XMPP works great.

January 10, 2011

Angry Birds targeted by Norwegian Data Inspectorate (Datatilsynet)

Because of this phone mobile privacy article in the WSJ, the Norwegian Data Inspectorate chief is going to "deal with" Angry Birds. It turns out that Angry Birds is sending contact data from the phone to the Crystal game network, which might be problematic if the license agreement does not make this perfectly clear. And since Angry Birds simply points to a website, this might not be enough to stay compliant with current regulation.

Continue reading "Angry Birds targeted by Norwegian Data Inspectorate (Datatilsynet)" »

January 07, 2011

What was the most significant Java-related news in 2010?

Here are my nominations (Updated *):


  • 8 - Every single Sun evangelist who claimed Java UI was on track has quit or stopped talking.

  • 7 - JavaFX Mobile Profile and Java Store turns out to be Schwartz (hot air).

  • 6 - Sony Ericsson, listed as a JavaFX supporter, releases top of the line Android phones*.

  • 5 - Apple thinks J2SE is a waste of time because of braindead JavaFX royalty play*.

  • 4 - James Gosling quits!

  • 3 - Oracle pulls a SCO against Google. JavaFX language probably killed because of the lawsuit.

  • 2 - Oracle pisses on Apache Software Foundation over TCK. Because hating your friends is cool.

  • 1 - Apache tells JCP to go **** themselves in concise, well formulated, diplomatic terms.

January 05, 2011

Sneak peak - HybridKit

Alpha product. Even the website is alpha. Teppefall HybridKit coming soon to a device near you.

December 14, 2010

Useless programmers blame the programming language

Therefore C/C++/Java sucks. QED.

December 11, 2010

Calling Oracle's SCO bluff

The reason Harmony is not getting a TCK is because Oracle wants Android to run a non-standard version of OpenJDK. Oracle wants Google Android as their property. It is like SCO versus IBM. But with a twist. Oracle wants Harmony to legitimize this legal attack through the JCP. Because without Apache Oracle just looks like a bunch of thugs stealing from their own. This is not an attack on Google. It is an attack on open source developers and public standards. SQL, Java, etc.

Continue reading "Calling Oracle's SCO bluff" »

October 27, 2010

Java developers are whiny self-obsessed bitches

Oracle sues Google. IBM joins OpenJDK. Apple drops Mac Java VM.

Well. Freaking. Duh.

Apple has hundreds of thousands of developers making iOS applications and 57 people doing Java Swing development. Every single one who whines about the depreciation of the Mac Java virtual machine is probably some sort of server programmer who whines about not being able to run Eclipse, IntelliJ or Netbeans, without installing a virtual machine, on his or her $5000 SSD MacBook Pro.

Continue reading "Java developers are whiny self-obsessed bitches" »

October 21, 2010

No Java in Mac App Store

Code signing for everybody, here we come. And yeah, this applies to everyone once the Apple propaganda machine starts talking about dangerous non-MacAppStore non-signed executable files Basically both Microsoft and Apple has decided that code signing is the cure that fixes all those buffer overruns in third party software and/or operating systems. And this is why Java and Flash/PDF is being spanked in public.

Ah well, Sun and Adobe screwed up on security and this is the result. Jobs and Balmer hates incompetent wannabe competitors who makes their platform look bad. The big boys are putting their foot down. Well, for as long as Ubuntu will let them. This might be an opportunity for Ubuntu Linux, Xen and VirtualBox. Some may talk about Google Chrome OS, but to me it looks like a toy for kids.

Happy now JavaFX team ?

Apple JVM becomes EOL in OS X Lion. InfoQ coverage.

Now Mac OS X JRE is Oracle's problem. Should be easy to perfect Prism when you have complete control.