Thursday, November 20, 2008

OVERWHELMED!!!

Friday, November 14, 2008

Projects:
1) I have no idea why but the hibernate is not working correctly and connecting to the db. I'll just have to take a look at it tomorrow and maybe snoop the cuase.
2) Using iReport 3.1.2 --- the iReport tool that uses NetBean causes some weird thing where it intermittently fails to compile.
3) Haven't even looked at the POS proejct.

4) The hackintosh proof of concept seems to work with iDeneb 10.5.5 .... I didn't load up the ethernet and wireless drivers so that's being worked on now was I speak.



Wow --- iDeneb runninng on a Inspiron 6k.

I chose Audio
And speedstep kernel
No firewire

And it worked.

I have a busy week and I'm procrastinating ... 3 projects.

Sunday, November 9, 2008

App Store and Facebook distribution of software is the best
http://www.engadget.com/2008/11/08/epic-android-bug-inteprets-your-typing-as-system-commands/

Wow ... I wonder what would happen if somebody told them to type: rm -rf *

Please don't G1 Users. And if you do. You should return your phone now before you shoot yourself in the foot with it.

Friday, October 10, 2008

Top Ten Tools I use Not in Order
1) Java JDK
2) Eclipse
3) IntelliJ
4) MKSNT Unix
5) Word
6) Excel
7) Outlook
8) Browser - IE/Firefox
9) Wireshark
10) IM (Digsby)

Thursday, September 25, 2008

Python seems to be a common thing nowadays -

Wednesday, September 24, 2008

It incredible how much information a programmer has to retain. And also what becomes just habitiual.

A programmer in order to keep must learn the new things. Especially if the basis of your work is in some that Organic in nature.

Take the web, it moves at a high pace, the software behind moves just as fast.

Java when we first started was at 1.1 now it 1.6. And I think 1.7 is coming out just as soon enough.

The changes from 1.1. to 1.6 are hard to keep up. But for me the server side of Java seems to be better to me then the client side. Where client side apps seem alot better the Applet is the one aspect of Java I hate the most.

At least for certain things for sql.

alter table seems to be a command that you shouldn't forget.

At the very least you should know that this command is what you use when you have to make changes to the table schema.

Saturday, September 20, 2008

Programmers --- artists --- on the software end. The only difference is that their foundation is like quicksand it keeps changing quickly.

Friday, August 22, 2008

OSGI

The OSGi Alliance (formerly known as the Open Services Gateway initiative - now an obsolete name) is an open standards organization founded in March 1999. The Alliance and its members have specified a Java-based service platform that can be remotely managed. The core part of the specifications is a framework that defines an application life cycle management model, a service registry, an Execution environment and Modules. Based on this framework, a large number of OSGi Layers, APIs, and Services have been defined.

I need to take a look at this more detailed.

http://en.wikipedia.org/wiki/OSGi
Hmm Java: SOA

A new book on: Service Oriented Architecture.

http://www.theserverside.com/news/thread.tss?thread_id=50395

Tuesday, August 19, 2008

Agil Software Development - Scrum

We should try this out Scrum:

http://www.devx.com/codemag/Article/38611/0/page/1

Tuesday, August 12, 2008

REST - Respresentation State Transfer

Friday, August 8, 2008

Whenever you need to calculate the number of days in the month: (Java)

switch (month) {
case 1:
case 3:
case 5:
case 7:
case 8:
case 10:
case 12:
return 31;
case 4:
case 6:
case 9:
case 11:
return 30;

case 2:
//Check for leap year
if ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0))
return 29;
else
return 28;
}
return 0;

Friday, August 1, 2008

Installing the new MyEclipse 6.5.1 IDE.
o need to test out swing
o I just found out that hibernate3 does inline sql. That's pretty cool.
o I need to start playing around with the new myeclipse. I also want to try out the new eclipse. But oh well this will have to do.

Saturday, July 5, 2008

VB: UBOUND() = (List).size


Thursday, July 3, 2008

VisualBasic DateAdd()
equates to Java:

import java.util.Date;

/**
* DateAdd -- compute the difference between two dates.
*/
public class DateAdd {
public static void main(String[] av) {
//+
/** Today's date */
Date now = new Date();

long t = now.getTime();

t -= 700 * 24 * 60 * 60 * 1000;

Date then = new Date(t);

System.out.println("Seven hundred days ago was " + then);
//-
}
}

Thursday, June 19, 2008

OKay ... I've decided that apache ant 1.7.0 is the biggest pain in the ass. I kept getting this error message, I'm on another computer so I don't have the exact error message right now. But the error message says that Java VM exited abnormally and its redirecting. Oh well if I get over my annoyances maybe I'll post it up. . And once I downgraded to 1.6.5 everything is working well. Which sucks since IntelliJ Idea comes with Ant 1.7 by default. Anyway the ant scripts for my junit test is now working.

Friday, March 28, 2008

OMG http://jazzy.id.au/pebble/2008/03/19/facebook_authentication_in_java.html

Facebook doesn't allow Beans WTF.

Scratch that it works with Firefox for some reason.

Wednesday, March 26, 2008

Got Tomcat 6.0 working with issues that I had with jdk1.4.2 and then jdk 1.6 ... Tomcat 6 seemed to work better with jdk1.5 which is at update 15 now.

Monday, March 17, 2008

This weekends side dev work

Got my Dev machine up to speed --- dev machine using apache / tomcat 6 ... the production is iis/jrun --- getting the war file to work with both sometimes became a chore.
Cleaned up my browse page.
Added a user login, register page, and added a user table.

Thursday, March 13, 2008

mySql on Vista

I can't complain about Vista this time ... although I hate it so much but in order toget mySql to work on Vista I have to hack mySql resoure.

http://forums.mysql.com/read.php?11,195569,195569#msg-195569

Wednesday, March 12, 2008

New Vista Box

I hate Vista. So I have a new Dev Box, and now I know that Vista sucks right now. I have an issue with DHCP and I just had to hard code the IP to get it to work. I'm serious that a normal user wouldn't be able to figure it out.

Anyway big bug.

In order to get this sucker up and running I'm trying to use Apache2.2/Tomcat6.

Thursday, March 6, 2008

SDExpo West

I'm supposed to go to this conference but I don't know why I have no motivation to do it now. The only thing I'll probably see that I'm interested in is the google booth.

Maybe ... there are probably some development tools that I want to take a look and evaluate and maybe discounted books, etc. But I don't really like purchasing tech books nowadays when you can in most cases get what you need on the internet.

The same deal with magazine subscriptions what exactly is the point of wasting paper besides giving the advertiser a quantifiable amount of subscribers. And maybe making money off of the subscriptions.

I guess there are cases when programmers don't have a internet connection and a computer to look up these things. :P

Saturday, March 1, 2008

Motivation

Trying to get motivation to code more can be daunting. You get distracted and you try to remove all the destractions but what I need more is a way to focus more. Start the code project and continue till its done.

I guess I should picture the end result maybe more.

Anyway I got quizzing done on a JRun server, but I need to deploy it. Since I have to use tomcat more. I'm not sure if this is going to work well. We'll see ... it's all dependent on setting up the JDBC. The Tomcat I use on my current server doesn't have a JDBC connection.

I went to the bookstore, and I perused all the books on the bookshelf from top to bottom.

All the things that a programmer needs to know up on the counters. The new technology etc etc. ... feed the programmers I suppose. Programmers have this issue that keeping in touch of technology, whether its on the job or on your spare time.

We need to keep our skills fine tuned, or its get dull really quickly. Technology moves to quick not to keep up.

Tuesday, February 26, 2008

Eclipse Use - Eclipse: Managing Multiple Eclipse Installations

http://www.javalobby.org/java/forums/t18678.html

Yeah I still can't get it to work. I'm trying to add Flex extensions to the new version of eclipse but bleh. Doesn't work right still.

Thursday, February 7, 2008

Fixing LIcensing Code

I've been reviewing code on the licensing of our server. There's a bug on the multiple server licensing.

Anyway looks like it still has something to do wiht the GateKeeperSingleton.

Maybe I should play with the Unit tests more relating to this.

Saturday, January 26, 2008

Quiz

Trying to get the war web pages to work.

Flex

Finally finished laying out the quiz/response panel.

I moved all the Panel code and removed it and just used Labels. Too many containers makes it confusing and it didn't need a Panel. It needed a 1 HBox, and two VBoxes in it. Then I listed items in the VBoxes.

Friday, January 25, 2008

UI Layout

Finishing out UI Layout via Flex. I got to refactor the classes not to use Panel. It's a product of taking something that was Java and moving it to Flex. But I really need to start removing a lot of code to clean this up. And that means removing a lot of the Java code that I used as a template, and refactoring the names of the methods.

Got this done.

Is there a weird thing with JDK startup times?

It seems to me that Java 1.6 has a 60 second startup time. As opposed to Java 1.5. It drives me nuts.

Flex code

Need to finish off layout of the quizzing / reporting area.

Licensing issues:

I need to revisit the licensing issues in my code when it comes to clustered servers. Also there seems to be an unreasonable sensitivity to newlines at the end of the licensing. This needs to be addressed.

Wednesday, January 23, 2008

Flex Builder

Wow I lost my blog entry. that sucks...


Anyway gist of it is ... using Flex Builder more.

Tuesday, January 22, 2008

Facebook API

So trying to create a facebook app. I have an idea for a game to play and maybe it will get me tons of hits on the website. So this should be fun. Let's try it.

:)

Sunday, January 13, 2008

Damn you web.xml

OMFG

I had bad web.xml ... I've been having problem's deploying a war file and I couldn't figure it out. After hacking around with my build.xml (the creator of the war file), I started wittling down my web.xml ... *BAM* it was the:


invoker
/servlet/com.*
/servlet/*


Oh well ... thank god that's over.

Friday, January 11, 2008

Passion and Art

There are fundamental differences between soem art forms, some people think programming is an art, because it's so dependent on how the programmer interprets the problem that he's facing. Supposedly no two programmers should be able to tackle the same problem alike.

From my experience though there is a cookie cutter way to a solution. Something that other people expect.

Maybe ...

Well most programmers have their way of doing things. Their comments, the way they make function calls, and the way the make their variables. Everybody after a while has their own style and signature in coding that its like a finger print.

Maybe that's the art.

After a lot of thought, I found myself disillusioned by programming becuase of my situation in my job. I stay at the same company for years looking at the same code. I watch my other coworker who was a good mac programmer get burnt out enough to not code at all, and that's where I was headed. To coding burn out.

Luckily my boss, gave me something new to look at, and even though I'm not looking at it with the fervor of my youth, it interests me enough that I want to keep working on it.

I'm not sure about programmer burnout but it must be a big thing. Even though there are programmers out there that are passionate, managers tend to work them into the ground. The all nighters like it was in college, the heavy handed deadlines, etc. etc etc.

What can you do though ... but with all things that your passionate about. The passion can fizzle when you find out that thing your passionate about can also make you miserable. The talent you have can be exploited.

Just hope you get what you want out of it fast ... because if you don't you might end up ... lost burnt and up in smoke. And that's when you become a manager ... which is fine ... becuase like a google lawsuit has pointed out ... when your old ... your ideas as a programmer are bad.

Age discrimination.

Wednesday, January 2, 2008

eclipse work space is in use

This is irritating. Eclipse crashes and leaves me with this.

http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.platform.doc.user/reference/ref-8.htm

The solution.

rm workspace/.metadata/.lock

For the windows users just go to your workspace directory and .metadata directory and delete the .lock file.

Oh if that doesn't work and it says that the file is still in use. Look for the javaw.exe or java process and kill it.