RSS

Find Room Rentals in Malaysia

There are many reasons for a person to want to find a room to rent. Whatever the reason may be, the good thing is there is plenty of rooms for rent here in Malaysia.

Personally, I’ve rented and still renting a place. I’ve rented a RM 700 bungalow room and now a RM 1200 condominium with my friend.

If you’re here to find room rental, then it’s the right place. Just click on the link. The website provides a lot of good and decent information for users to find their required room rental specification. There are nearly 30,000 rooms listed in there.

It has a list of most desired places which most people would like to rent a room at. All you need to do is click on the ‘Rooms’ tab and begin searching for your room specifications or you could just click on the links which are provided at the left of the screen in the ‘Rooms’ tab to filter which location you would desire. Is that simple!

If you’re from the outskirts of Malaysia, I would recommend to search central places like PJ or Damansara. If you’re a student, then obviously you would want to rent somewhere near your campus. Whatever your requirement is, the website is the place to start! Cheers all!

  • www.tips-fb.com
  • Follow LBenjamin on Twitter
  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

New Prospects

It's been 3 months since I joined Panasonic and things had turned out to be great.

The workplace is really nice and the people really grows onto you.
Although I'm youngest looking and also the youngest in age there, but it doesn't posed as a barrier.
In fact, I made a really understanding friend there. I guess it's because we sit next to each other, lol!

My boss had been great. Just last month, I had eaten 6 different Secret Recipe cakes! It's because there were 4 colleagues who's birthday falled on January and 2 on February.
In these 2 months plus, my boss had spent us all for lunch 3 times, but I didn't join in for the first two because I had to excuse myself. The recently lunch was at D'Italiane @ Jaya 33. My boss spent this 3rd lunch was specifically for the team I'm in because we had performed well for the project which was assigned to us.

I've decided stay in this company for quite a long duration because unlike my previous company, this company actually states the ranks which I could be promoted to. It's like, they've planned and paved the way for me. I just have to work for it. Furthermore, I have totally zero complain about the wage which I'm getting now. If I abide by my plan right since the start of this month, I may be getting 2 iPhones 3GS by May and also my car by October or November when my friend comes back from Singapore since I'm going to buy through his friend's dad.

Apart from some hiccups which occured recently, it has been a great year for me. Cheers!!

  • www.tips-fb.com
  • Follow LBenjamin on Twitter
  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

[ASP.NET] [C#] Switching MasterPage Dynamically

Have you ever wanted to changed a MasterPage of an ASPX webpage dynamically when your website is running? Well, I’ve recently encountered this problem myself too and found a solution to it. So without further ado, I present the solution to you!

First go to your code-behind page of the .aspx page which you wish to have its MasterPage changed dynamically. Let’s say for example, you want your example01.aspx to change its MasterPage dynamically, you have to open the example01.aspx.cs page.

Ok here’s the step-by-step walkthrough.

Step 01:

Enter the following code below at anywhere in the public partial class section

Code:
protected void Page_PreInit(object sender, EventsArgs e)
{

}

Explanation:

The MasterPage needs to be defined before the .aspx page is initialized. In simpler terms, without the MasterPage predefined before the .aspx initialized, the .aspx page have no where to be loaded to, because webpages of website which utilizes MasterPage normally and most certainly requires a ContentPlaceHolder for it to be loaded into.

 

Step 02:

Enter the following code in the Page_PreInit body

Code:

MasterPageFile = “YourMasterPage.Master”;

 

Step 03 (optional):

Incorporate conditions with the code. What’s the point of changing MasterPage dynamically if there’s no conditions in the first place, right? The fact that we want to dynamically switch MasterPages, there has to be a condition. Therefore, incorporate them!

In my case, I determine  the user type. If the user who logs in is an admin for example, I will display a MasterPage for admins, if its a user, I’ll display a MasterPage for users.

The code should look something like this:

protected void Page_PreInit(object sender, EventArgs e)
{
     string redirect_from = ((string)Request.QueryString["redirectedfrom"]);

     if (redirect_from == "staff")
     {
          MasterPageFile = "~/MasterPage/StaffMaster.master";
    }
    else
    {
          MasterPageFile = "~/MasterPage/AdminMaster.Master";
    }
}

 

The code above shows the way I incorporated conditions to the code which triggers it to switch MasterPage if a certain user type logs in. If you’re wondering what’s with the “~/MasterPage/”, it is because I stored all my pages in their respective folders and my MasterPages are stored in a folder named MasterPage.

  • www.tips-fb.com
  • Follow LBenjamin on Twitter
  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Safe trip friend!

This blog entry is dedicated to my friend and my role model in programming, In Ming. He is going abroad to further his studies in a few days time and I would like to wish him to have a safe trip there.

We met during college. In the start we weren’t really friends, maybe just acquaintances. However, as the course of our study progress, we became familiar with each other’s circle of friends and started to get to know each other better. At first, I didn’t know he’s interested in programming until one of the subject’s assignment brought me to the knowledge of it.

From then on, whenever I had a ‘coding-block’, I would consult him and discuss the matter and he never fails to point out what I am doing wrong. Then we attended a Java seminar together at KLCC and I got to know him a little better. I remember during our ride in the LRT heading towards KLCC in the morning we kept discussing about what program that has not exist yet that would make a revolution if it was created. Talks like this really feels good. You have a friend of similar interest and you talk about the possibilities, it really motivates you in that field of interest you’re sharing.

After graduating from college, I started working due to certain shits that happened, while he went on with his degree. I remember there was one time where I had this really huge ‘coding-block’ and I had to consult him. We met up at Starbucks SS2 and we discussed for hours and he found a solution. I was astonished, I kept reading and re-reading his codes because the solution was rather complicated, but most of all, I’ve learnt something new. Hence, I call him my teacher, lol.

He told me that he’s going abroad to further his studies for 1 year or maybe more than 2 years if he’s doing masters there. When it is possible, I hope I could visit him there and catch up. It’s really hard to find a friend with similar interest such as programming, so I’ll do my best to keep in touch. Take care man! and have a safe trip!!

  • www.tips-fb.com
  • Follow LBenjamin on Twitter
  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Petaling Jaya - Top Serviced Apartments

Kuala Lumpur, a -city that never sleeps-, and literally next to it is a -city that rarely rests-, Petaling Jaya!
Petaling Jaya is a great place to live it apart from Kuala Lumpur. If fact, for those who loves nature more than concrete jungle, it is meant for you. It's location is central and convenient! because it is right next to KL!

There are tons of Shopping malls in Petaling Jaya and my very own favorite category apart from shopping, is -food-!!

You would definitely want to live in PJ if given an opportunity, I know I would!
Wait.. in fact, I am! and it's been great. If you hadn't found a place to live in PJ yet, then this is the right time for you because there are a few great serviced apartments which are located here in PJ. Furthermore, the places which I'm going to recommend are located really close to a cluster of great Shopping malls. The good news is, you'll be able to witness brilliant fireworks during special occasions right off your window or balcony without needing to go through all the traffic!

Here are some of the top serviced apartments here in PJ, Kota Damansara to be exact!
1) Ritze Perdana
2) Ritze Perdana 2
3) Metropolitan Square
4) Neo Damansara
5) 1 Bukit Utama

If you would like to browse more great places by your own, I recommend you to visit this website: http://www.propwall.my/petaling_jaya

  • www.tips-fb.com
  • Follow LBenjamin on Twitter
  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

[ASP.NET][C#] ASP page loading twice

Reason behind this post is because I would like to document all the problems I had encountered and the solution for my and all visitor's convenience in the possible future.

As the titled states; I've recently, to be exact, 2 days back, encountered this strange phenomenon whereby my asp page loads twice when I click on the button, asp:imageButton to be exact. I'm working with this search function you see. I have to pass a value from this page, back to this page. Don't get it?

Let's say, I have a webpage called report.aspx. There's a search function inside, and after the user entered a value, the user has to click on a button to pass that value for a search, right? yea, so, I stored the value using Session, as I thought it was the most convenient and efficient way to pass a value from report.aspx back to report.aspx because the page has to be posted back in order to fire off the next function.

However, as convenient as it may seemed to be, the downside of Session is that it stores in two places at the same time; the server side and the client side. Hence, the page loads twice.

Advance explanation: the first click of the button stores the Session on the Server side but not the client side. Therefore, it only updates the Server side and not the Client side. Which means, the user has to click on the button twice then only the user could view the updated page with the search result.

Solution:
Dispose the use of Session and replace it with QueryString. Problem solved.
I'll assume that everyone who are reading this knows how to work a QueryString. If you have any inquiries or need a pointer, feel free to drop me a comment and I'll get back to you. Cheers all!!

  • www.tips-fb.com
  • Follow LBenjamin on Twitter
  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Life Check

We’re another year older and perhaps another year wiser. Why wiser? because everyday is a new experience. Even reading a newspaper full of government crap is something new. If we read about something new each day for a year, it means we’ve learnt 365 new stuffs.

Even if we encountered difficult situations, it is still something new, in a way.

“When written in Chinese, the word ‘crisis’ is composed of two characters. One represents danger and the other represents opportunity.” – John Fitzgerald Kennedy

I have learnt not much but not too little either. Leastwise I’ve learnt a tiny bit about the people around me, be it colleagues, friends or the crappy P1 WiMAX customer service officer.

To many people, New Year is just an excuse to fabricate a less-than-likely-to-be-achieved resolution (plentiful will never be achieved, fact). On the other hand, New Year to me is a new job prospect, with a different position, company, colleagues, experience, environment and most importantly salary figure – AND – not forgetting, knowledge!

Ironically, even though most New Year resolution is most likely never to be achieved but here I wish to make a resolution to mend dented relationships, be it family, friends or love. No man is an island. Therefore, it’s good to ensure that your relationship with the people you care are well nurtured =) I guess that’s all for now. Happy New Year all, cheers!

  • www.tips-fb.com
  • Follow LBenjamin on Twitter
  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

10 most favorable KLCC properties

I’ve been browsing around PropWall these days to have a look at our Malaysia’s advances in architectural design. Compared to what we have 2 to 3 years ago, the design certainly acquired a more contemporary sense. Here I have chosen 10 KLCC properties which I favor:-

1) The Binjai

2) The Troika

3) Pavilion Residences

4) Marc Service Residence

5) K Residence

6) Cendana

7) U-Thant Residence

8) Crown Regency

9) Panorama

10) Setia Sky Residences

 

You must have a look at it. Just one look and it really instills the desire to live in such residence.  Treat your eyes and mind to the beauty of architectural designs at KLCC Properties.

The Panorama and Setia Sky Residences are definitely a property worth waiting for. The design certainly defines contemporary well with a touch of sleek to it. It’s always  been my dream to one day live in a home of such modernity. Cheers!

  • www.tips-fb.com
  • Follow LBenjamin on Twitter
  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Cognizant

2012, a graphic intensive movie which with good sound system will leave a good dose of after-effect of deep thought in you. After the movie or rather, after most End-of-World themed movies, I would always wonder which date will the End-of-Days fall on. It’ll be really ironic if it falls on 1st of January.

By the way, 2012 has nothing to do with environmental pollution or stuff like that, it is caused by an external factor called the ‘largest solar flare in human history’ which causes a domino effect. First, is the core of the Earth heating up like oven, then caused the slow melting of the Earth’s crust from within, which triggers the crust to be ‘soft’ and hence, collapse.

In layman term, take a cookie (Earth’s crust), place it flat afloat in hot milk  (Earth’s core/mantle layer) which was initially just a warm milk, then you’ll see the cookie crumble =)

*Solar Flare*

courtesy of www.nasa.gov

I like to observe, literally. Observing always trigger thoughts to circulate in my mind. It intrigues me to observe the behavior and reaction of the people who are within my range of sight.

Every morning, I would leave my condo with my friend when he drops me to work. I would always take notice of the foreign workers who will always be walking alongside of the sidewalk to wherever their destination is. I would look at the traffic policemen, the drivers who are traversing from point A to point B, listen the radio casts who are talking. At the end of all that thinking, I know that all of us are –just people- insignificantly small in the eyes of our world leaders. To them, we’re just like seeds used to sow their fragrant economy.

The only part which I think is real in most 2012-like movies, is the part where if the End-of-Days is here and there’s an –Ark- we wouldn’t be worthy enough to be saved because we’re no one special and as said, insignificant. Those who will be included for salvation are the Top Notch in their fields such as Astrophysicists, Cosmologist, Biochemist and etc etc, and I don’t mean sports.

Foreseeable, are those illiterate group of people will be those running around shouting retarded remarks, creating chaos and reaping whatever that is within their reach. Ignorant who are easily fooled by government composed news will meet their makers too. Sad to say, but if sufficient common sense if applied, you’ll know what I mean.

It’s a sad scenario. However, if you’re non-religious, the most practical way to salvation is to be an Ace in your field and hope the government will include you in whichever self-preservation plan they’ve cooked up. On the other hand, if you’re religious, then all you have to do is believe in your Savior.

  • www.tips-fb.com
  • Follow LBenjamin on Twitter
  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Xenogears Money Hack

To all Xenogears fans.
This my guide to hack Xenogears on PSX PC Emulator ONLY.
First you'll need Cheat Engine: Cheat Engine 5.5

This will spoil the whole point of the game. However, to those who've completed this game countless times and just want to have some fun without the hassle of earning G in Xenogears, like me =). Then this cheat is catered for you.

1.0) First save the game using the memory cube (NOTE: saving using gamestate could corrupt the game)
1.1) Go to the nearest shop in the game and don't do anything.

2.0) Start Cheat Engine and search for the PSX Emulator process (e.g. I'm using ePSXe, so search for ePSXe.exe).




2.1) Press the 'Square' button to check how much G you have currently.
2.2) Pull up Cheat Engine, then enter the amount into the 'Value' box.
2.3) Change 'Value Type' to 'All (Byte to Double)'.
2.4) Tick 'Also scan read-only memory'.
2.5) Then click 'First Scan'.




3.0) You'll get lots of addresses at the left side panel.




3.1) Now, return to game, talk to the shopkeeper and buy something to change the current G value you have.
3.2) Return to Cheat Engine, enter the new G value into the 'Value' textbox.
3.3) Then click on 'Next Scan'.




4.0) You'll then see 3 obvious addresses of the amount of G you have.
4.1) Double-click on the 3 address to move them to the panel below.
4.2) Then mouse your mouse on the 'value' section of the address below, double-click it.
4.3) Enter a few 9's in the textbox to raise the value, click 'OK'.
4.4) Now return to the game, press 'Square' again to open the character windows. Your amount of G will then change to the new value.




- Don't close Cheat Engine, just minimize it. When your G is low, just repeat steps 4.2 to 4.4.

Hope you've found my guide useful. Although this is not as good as Gameshark for Emulator but at least it still gives you enough G to buy stuff and replenish it =) Cheers!!

  • www.tips-fb.com
  • Follow LBenjamin on Twitter
  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS