browse by category or date

When I’m travelling on Singapore Mass Rapid Transit (SMRT), I often make myself busy with my HP RX3715. Especially when the MRT is not crowded and I’m lucky enough to get a seat. The comfort condition is really supporting your creative mind, so better not waste it. Most of the time, I will open up Pocket Word, and jot down whatever ideas running in my head. Occasionally, I will revisit my old ideas and amend if not improve it.

I have been had this idea of creating a mini Bus Guide in Street Directory-style in my HP RX3715 for quite sometimes. Although I yet to have clear way on the implementation, I’d like to share the idea with you all hoping for your feedbacks.

ALAS, apparently such guide is already created. But it is a static document. Anyway, I will carry on with this project, hopefully I will learn something about Embedded System utilising J2ME/.NET Compact Framework/C++ from this.

So far my idea is represented in T-SQL syntaxes.

 

/* Table for Bus */

Create Table Buses (
  Bus_ID int Identity(1,1) not null,
  Bus_Name varchar(6) not null
)

/* Table for Bus routes */
Create Table Bus_routes(

  Bus_ID int,
  Bus_Stop_Address varchar(64) not null,

  Seq_Number int /* to make routes possible */

)

/*

  Get available bus in a particular address

  Param: @street
*/

Select distinct Bus_Name from Buses b inner join Bus_routes br on b.Bus_IDr =br.Bus_ID
where Bus_Stop_Address like ‘%@street%’ order by Bus_Name

/*

  Select a bus based on Start and destination, Direct Bus

  Parameter: @route_start, @route_end
*/

Select distinct Bus_Name from Bus_Routes a inner join Bus_Routes b on a.Bus_ID= b.Bus_ID and
a. Seq_Number <= b.Seq_Number inner join Buses bs on a.Bus_ID=bs.Bus_ID

where a.Bus_Stop_Address like ‘%@route_start%’ and b.bus_stop_address like ‘%@route_end%’

order by bs.Bus_Name

/*

  View Bus’ route
  Param: @busname

*/

Select Bus_Stop_Address From Buses b inner join Bus_Routes br on b.Bus_ID=br.Bus_ID

Where b.Bus_Name = ‘@busname’ order by br.Seq_Number

/*
  Indirect Route with the smallest number of changing Bus
  I’ll think about this on my next travel on MRT 🙂
*/

Any Suggestions?

About Hardono

Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.

Possibly relevant:

Have you watched the movie titled Lord of War starred by Nicholas Cage? It’s about a weapon dealer(Nicholas Cage) selling arms illegally to the warring parties in Africa. The movie chronicles his journey which started by selling guns and pistols to street-gang members, and growing to the point of purchasing machine guns, tanks, and even jet-fighters from East European countries and selling them to African Warlords.

Apparently the true story-inspired movie is not far from reality, a Singaporean man pleads guilty for supplying illegal arms to Tamil Tigers. He was conspiring with two Indonesians to provide arms and ammunitions to Tamil Tigers, which is listed as a terrorist organization by US.

Since the criminal offence was committed in US soil, they are bound to the US law. The three of them are currently under US Federal Government Custody in Maryland. They are facing maximum 15 years and USD$500,000 fine sentence.

I’m not a war/suicide bombers/terrorist person. I love peace :-). I believe that resolving differences using physical/weaponry power will degenerate us back to the jungle, where the mighty rules and the weak suffers. So I hope all the guilty parties in this case will receive the punishment that they deserved. For the rest of us, let’s start small by trying to resolve any of our differences using dialogues, not fists.

From Singapore with love!

Sources
Yahoo News
News Archive @ ETAN

About Hardono

Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.

Possibly relevant:

One thing that I like about living in Singapore is the vast availability of computer hardware. Many Singaporeans are having tendency to become first adopter. That is way, most of the time you can find not-so-new computer hardware with less than half of the market price. Especially after any Computer Exhibitions (IT Show, PC Show, SITEX, COMEX) held here. It’s almost become a routine that after shop-craze at the exhibition, people will start selling away their old hardware.

Hardwarezone is my only destination when I’m looking for computer hardware and sometimes software. Usually first I will look for the price of new items in Sim Lim Square stores, then I head to the Hardwarezone’s Marketplace Forum. At this forum, you can find many things for sale/auction, not only limited to computer hardware. Items ranging from Condom to Samurai sword are for sale/auction here :-). Sometimes a mass-order for certain item also started by a user who has contact with the overseas-distributor. Participating in mass-order could get you a lot less price than buying that particular item in the brick-and-mortar shop.

Addiction to Hardwarezone’s Marketplace Forum is almost the similar to addiction of blogging or digging. You could spend hours and hours lurking in the forum, looking what people are selling/auctioning. When a certain item catches your attention, you will start wondering whether you *actually* need that item, since the price is so cheap compared to the price in the shop. So yes, it’s quite dangerous place especially for impulsive buyers and people with shopping disorder 🙂 (and yes, i’m warning myself :-P)

One note though, although most users in the Forum are honest, there are people that will intentionally scam you out. So be careful when when posting bids/orders. Make sure you’ve read through the item description. Because when you withdraw your bid out of good will, especially after asking the seller to meet up, it’s you that become the scammer (bad buyer, to be exact). And the Forum users are not really fond with scammer/bad buyer.

Unfortunately, sellers in the Forum are quite reluctant to deal with overseas buyers. They prefer to deal locally, usually because both party could meet up to finalize the deal. So it’s quite difficult for overseas buyer to order/place bids. Unless of course, you stated that you will send/transfer the money before the seller sending you the item. Again, please make sure the seller has a good reputation. You can check for their reputation by looking at their posts/comments in Forum’s threads. The best would be when you have friends in Singapore and asked them to bid the item for you.

Hopefully this posting will help you in one way or another. Feel free to drop comments if you have question.

About Hardono

Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.

Possibly relevant: