Friday, July 31, 2009

Singapore's Bus Stop

Open source maybe not very comfortable for everyone, because sometimes you want some degree of confidentiality of your codes. However open source is very useful for learning codes. Learning codes is like learning languages. It doesn't have any meaning if you cannot understand it. Sometimes a simple words can be hostile, when you use it under some circumstances. The same principle also works with codes. Simple codes like computer virus is never that complicated. The codes are simply hostile.

This codes can be categorized to be hostile, but not that damaging. The codes is never intended to break someone else's codes, but rather use someone else's codes. The hostility part is like piracy, but unlike piracy, it doesn't have anything to do with money. It's just like, if there's no law regulating it, it's not breaking the law yet.

This site is a simple website that generating the time left for waiting bus at Singapore. The site is quite useful, but sometimes you want to develop it further and you can't expect that site developer would develop it any further. The disadvantage of that site is you have to use numeric codes for input, meaning you have to research the codes first. Perhaps you want integrate it with this website, meaning you want to integrate it with graphical map that would be much convinient to use.

to be continued

Monday, May 18, 2009

Manage Java Projects from Web

Java Projects are quite complicated, therefore sometimes experts from one contry flies over to another country, just to install projects into server. There are other factor for this to happen, like projects' confidentiality, but in this case let us keep all of this open source. This is one isn't completed yet, hope someday I can complete it along with its security, to work java projects web based only, including projects' deployment. This is all open source, but the flow would be also works with proprietary (I guess).

1. install subversion
Subversion is useful to deliver and manage projects, but it strictly manage files (presumably codes). Subversion can also be used for non java projects, or you could also consider it as file server. The only reason it used for projects is the written rules like trunk, branches, and tags that you could ignore after all.

2. install JDK and JRE
Maybe you could guess that this is strictly used for java. Basically they are used for compiling and running java applications.

3. install maven2
This tool can make your life easier (or worse), but we always hope for the best. The alternative for this tool is ant, but ant is quite sophisticated. Maven2 tries to simplify the complicated parts. You could also use IDE like JDeveloper, Eclipse, Netbeans. Unfortunately, the delivered codes using IDE which usually using ant tool are still quite alot and depend heavily in what kind of IDE you used, which plugin in that IDE that you used, etc. If you think it over, maven2 really make your life easier. The only problem with this tool is, its documentations are not for newbie. Newbie usually use IDE. Developing using IDE is faster and easier at its documentation, this make you think maven2 make your life worse.

4. install hudson
This tool isn't completely researched yet, but these are several links that would be worth to read.
link1
link2
link3
link4

Enjoy.

Tuesday, May 5, 2009

My webcam works at ubuntu, at last

http://ubuntuforums.org/archive/index.php/t-918033.html
Seems like it just needs lsusb to determine its hardware and googling about how to install the device. Luck determine how fast you could manage to solve it though.

Never give up, if you give up, nothing can be accomplished.

Sunday, April 26, 2009

Mystery at language inscription

http://www.omniglot.com/puzzles.htm
Have you ever saw Dan Brown's character, Robert Langdon, which is an expert at language. He also could do puzzles and clues that's been left by history. If you want an experience like that, feel free to look at this link.

http://www.omniglot.com/language/phrases/index.htm
Perhaps you just want language that already have been systemized neatly rather that puzzles. This link provides phrases in many languages. Have fun to say something other than your regularly speaked languages.

Saturday, April 25, 2009

Spying others SMS with Symbian OS

http://adizonne.wordpress.com/2009/04/08/sms-spy-sadap-sms-orang/
I only found the tutorial in Indonesian Language, please learn this language before you proceed any further.

Google SketchUp 7 works on Linux Ubuntu 8.10

First of all, because google sketchup doesn't have linux installer (even linux-ers really want that), we only one option to use it, using wine. Installing wine proof to be somekind of struggling. You could mess up with it and lost about how to fix it.

http://ubuntuforums.org/showthread.php?t=650738&page=2
Very useful if you play with wine and messed up.

I believe you linux-ers know about apt-get and sources.list editing to install wine. When you have installed it, get yourself google sketchup windows installer from its official site. The filename would be GoogleSketchUpWEN.exe. Open it using wine.

I got 2 errors before I managed to use sketchup on linux. First one kind of sending error message to somewhere else and not stopping at all. I install the newest version of wine which is still in beta version. Second is something with unable to initialize opengl. This fix is at wine official site, which is very helpful, but the troubleshooting shutdowns compiz. Compiz not that important, but quite useful if you want animated desktop. But be asure, compiz is less important than google sketchup. This is the fix :
http://wiki.winehq.org/GoogleSketchup
Linkhttp://www.indragunawan.com/2008/08/google-sketchup-6-on-linux.html

LinkMaybe google doesn't provide its software to be available on linux, but linux can provide something that enable the software to be run at linux.

You can't always get what you want, but if you try sometimes, you'll get what you need.

Thursday, April 23, 2009

Yahoo Map and Google Map

http://www.technetra.com/2009/04/19/tutorial-comparing-yahoo-and-google-maps-apis-side-by-side/
This is tutorial about using yahoo and google map side by side at one page. Not really works though. The yahoo map out of sync and goes to coordinate 0. But worth a try.

There will always be competition, whether it leads us to improvement or destruction.

Wednesday, April 22, 2009

Ubuntu Desktop Appearance

http://tombuntu.com/index.php/2008/12/15/animated-wallpaper-on-your-ubuntu-810-desktop/
The xwinwrap doesn't working, but the command to disable desktop icons works just fine.

http://code.google.com/p/gwinwrap/wiki/SubversionInstallation
The working xwinwrap and its GUI, which is called gwinwrap.
Link
http://ubuntuforums.org/showthread.php?t=203093
Various way to make your ubuntu appearance more pretty.

http://maketecheasier.com/turn-your-ubuntu-intrepid-into-mac-osx-leopard/2009/01/08
This is to make your desktop like mac OS.

Don't judge a book (or OS) by its cover.

Monday, April 20, 2009

Google Web Toolkit with Maven2

There are several examples about gwt, such as :
http://code.google.com/p/gwtpetstore/
http://code.google.com/p/google-web-toolkit/source/checkout
http://code.google.com/p/gwt-google-apis/source/checkout

At last I managed to run gwt (Google Web Toolkit) with maven2. The tutorial is at the link below :
http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/setup.html

Well, it's not entirely tutorial but from the official documentation. You could read that there are 2 way to use gwt, automatic or manual. Ebooks from all over the world usually taught the manual way with the combination with IDE plugin. I try to avoid all sort of IDE plugin because they make computer kind of slow with those plugins, and not to install any addition of engine if not really necessary. Apparently GWT provides them both, kind of cool development of javascript engine. Especially the automatic one.

Those are all technical, but the real reason why used GWT is to provide some kind of bridge between web development and native development. Maybe, in the near future, there would be no functional differences of applications between OS(Operating System), because applications are all build on top of web tier. That is possible with GWT as its engine. It's like one international language that everyone know, so no matter what machine its used, the machine could compile it and decide the application to be native or web based. As an analogy, you could make the application to be used for public (like newspaper) or you could translate it automatically to your own diary book (which is private).

Internationally used doesn't mean the easiest one.

Wednesday, April 15, 2009

The Coolest Article About ORM

http://www.agiledata.org/essays/impedanceMismatch.html

Basically we all learn about collecting information we need from what we called database. The data in database considerably very big in its own way, so some method and way of putting data was developped and economized into the point that it's not really related to real world application.

Real world application usually involved object oriented, because human usually thing about object and their relationship. The artice show the difference between object oriented and database view of information. This is what we usually call ORM (Object Relational Mapping). This is the very reason why ORM frameworks are needed.

Same question, different point of view, different answer, same solution if we had the connector.

Finally derby+maven2 database works

http://d.hatena.ne.jp/nobeans/20080423/1208927741

Who needs to install database to build small project, you just need to install maven2. You can see how it works at the link above. Sorry, the xml codes just got automatically edited again and again by this blog, so I can't show it here.

http://db.apache.org/derby/integrate/SQuirreL_Derby.html

By the way, squirrel is kind of editor for derby. It got editor for hsqldb, axion, and many others that based on lightweight database. The link is everything you need to use squirrel.

Unfortunately, the SQL syntax from mysql is kind of rejected by derby, I wonder why. So I have to edit them to fit with derby.

Some language in one place may not worked when you use it at another place. Even if it's the same language.

Thursday, April 9, 2009

Byon S1371 troubleshooting

BYON is a brand that offer cheap price like ACER or AXIOO. After doing some research for several days, for a laptop which has processor above 2GHz, memory up to 4 GB DDR2, could burn DVD, integrated camera, bluetooth, integrated wireless and network stuff, and size just right enough for traveller and programmer, which is 13" wide screen, quite cheap price, and good review from internet resources, my choice goes to BYON S1371.

Unfortunately, the cheap price comes with consequences which is no OS. Microsoft stuff isn't cheap and moreover, their stuff got so many blue screen at least once a month, I wonder why (programmer's stuff not really friendly with Microsoft's stuff). So you have to find the free OS which is supported enough for programmer (as far as I know, oracle and their cool stuff only support linux Ubuntu, not slackware). That OS goes to Ubuntu.

Ubuntu isn't as stable as slackware, but it's free and quite friendly with programmer's stuff (but I have no plan on comparing its friendliness with Microsoft's). If only slackware got friendly with programmer's stuff.

Well, anyway, after installing Ubuntu 8.10 Intrepid Ibex on laptop S1371, all works except camera, fingerprint, and earphone/headphone. Laptop without working earphone/headphone jack is kind of ..., well at least you want to listen music while doing something and internal speaker is out of question for doing that.

Shortly, the earphone/headphone jack not working on laptop BYON S1371 with Ubuntu. So I'm doing another research. At the middle of the research I kind of curious if my laptop hardware defected, so I try to install win on my laptop. It's kind of struggling because oddly, my laptop doesn't detect bootable cd from win. I'm doing research again and kind of succeed when I use both usb and cd bootable. This technique not redoable, because my win kind of crush and I'm planning to deja vu the technique and it's not working anymore. I wonder why. But overall, the hardware works just find with win OS.

So it's about software, and unworking hardware is all about driver. Research, research, and research not really succeed, because I know the technique but the problem solver just not made yet. So it comes to guessing the solver. This install uninstall routines got over and over, and finally the earphone/headphone work on Ubuntu 8.10.

The solution is simple, compared to the research made to find it, and it's kind of involved marketing as well. Why marketing, because the driver that make it works belongs to ACER. Surprisingly BYON and ACER got the same hardware and driver or at least the compatibility between each other is quite high, and it's onboard. I wonder if they got the same factory too.

Technically it just need three steps to fix it, which is :
- open terminal, and type
sudo gedit /etc/modprobe.d/alsa-base
- add the line below to the file and save it
options snd-hda-intel model=acer-aspire
- reboot

Processed for almost three months or 90 days or 2160 hours or 129600 minutes.
Result could be get for less than a minute.


Process is not result.