9975
17 Sep 2011 Leave a Comment
so I’m back again here… looking back lots of things have happened/not happened.
time changes people, and what you may have planned before may no longer apply today.
I should admit I’m kinda lost without a plan… too afraid to give-up too afraid to change paths and re pursue my dream.
I made plans and share it to others, they execute it but I don’t… why?
9863
03 Jun 2011 Leave a Comment
Today, the fish tank almost went dry when my filter overflowed, also my godfather died which kinda sucks.
9860
31 May 2011 Leave a Comment
today, i was rob and had a gun pointed on my head, I lost my bag my cellphone my cheap mp3 player my umbrella, some cough sirup and a 500gb seagate drive will all my “important” files in it. the ironic thing is i still have all my money, because i dont have a wallet, i keep my money on my back pocket with a paper clip.
I learned that behind the beautiful city that I live in, there are dark corners, where uneducated, under evolve, sub species of human beings live, and its just right around the corner.
lesson i learned, never carry a bag because it will encourage you to bring important things to work which would post a higher risk of getting rob or stolen.
9855 Thanks!
26 May 2011 Leave a Comment
9:10pm, so here i am age 27 i made it! cool, before i forget i want to thank the following people who have been influential to my current development.
- Mom, Dad – thank you for guiding me this far I appreciate it a lot even though i don’t show it much, i love you both, i got insurance so that when i die i wont be too much of a hassle (its better than the time deposit i was planning!)
- f0xy – thank you for sticking around i appreciate it a lot, you have brought much confusion to my life in a good way
thank you for giving me a different POV.
- my brothers and sister, thank you all for sticking around too. sometimes i feel too disconnected to even say something, but i want all the best things for you all.
- my previous boss matt, i was reading an old blog entry, i must admit that i’ve learned a lot from you too, i appreciate that.
- my previous manager, thank you for the patience, trust and confidence you have given me.
- my friends, you know who you are! i don’t have much to say but thank you, and thanks for sticking around when i’m drunk
- colleagues, thank you for being very professional and being very courteous all the time.
- high school teachers, thank you for teaching me the correct, and in correct things in life, you all have made me smarter in the end.
- my Chinese teachers, I must admit the I cheated on the exams but you never caught me except 1, for the one who caught me thank you! every much for sharing that nice Chinese story regarding honesty, you are the greatest teacher i know…
- our neighbors (cousins), thank you for the free rides i appreciate them too!
- to all my “idols”, you are indeed my idol, but only on certain things, but still thank you!
- Cosmos, you never failed me when i ask for answers thank you for allowing me to live this long
9855
26 May 2011 Leave a Comment
8:46pm: first of all… its a shame that the world did not end on May 21, 2011. It got me thinking are people really that gullible to believe?
8:49pm: …
8:50pm: mom and dad came back i kind of miss them, living alone sux.
8:51pm: just some random thoughts…. a leap of faith i could not take, to begin with I don’t have much faith hmmm…
8:52pm: hey! tomorrow is friday
8:54pm: im closeing my eyes ias i type this
8:55pm: why do people always try to reinvent the freakin UI?
8:59pm: wordpress is getting boring.
9:00pm: *singing in my head* I drag behind, i Drag behind , I DRAG BEHIND
9:01pm: I secretly like placebo
9:02pm: I am playing a game!, every time i look at the clock i need to type something here.
9:03pm: hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm… Ima end this now ^_^
SubSonic to the rescue
26 Dec 2010 Leave a Comment
This is a continuation to my post regarding my experience with LinqToSql(L2S), I was reading along other alternatives to the current ORM I am using
I saw someone mention SubSonic, so I started reading, Click Click Click.. Clicked some links and viola i found it!, it promises an easy interface and it uses “Text Template Transformation Toolkit”(T4)
the same technology L2S is using when generating the Models from the Database Schema. T4 itself is new to me, although i have dealt with code generation from my previous company likewise with my current company.
I haven’t really bothered investigating on how they approach Code Generation because I cant use it outside of my work’s scope here comes T4!! i’m getting really exited and the possibilities on where i can use it.
Anyway i’m getting off topic, so I learned today to save(persist) a record in SubSonic you just need to call .Save() how convenient is that?
the migration was pretty straight forward from L2S to SubSonic, just added some assemblies deleted my Save Hack in L2S to call .Save() pretty much that’s it!
here is the SubSonic website.
Ants II
26 Dec 2010 Leave a Comment
this is a continuation of my previous post, a couple days back I blogged about ants crawling into my desk, little did i know that they were starting to colonize my keyboard.
i just found out today when i tried to shake me keyboard to get rid of some dust… little ants falling from my keyboard…”waaaaahh”(ants falling)
I said to myself OK, maybe its time to clean this keyboard up, i went outside and started unswerving the screws.
to my surprise, lots and lots of ants are living inside my keyboard. I assume every keypress I make some ants would die and shed their blood on the plastic circuit.
I notice the rubbery push button things inside the keyboard are ruined because they have started chewing on it.
that was probably the reason why my “A” key is so soft, mystery solve lol!
LINQToSQL a big disappointment
25 Dec 2010 Leave a Comment
I’m new to LINQToSQL, but I made several research before hand regarding the technology.
I’m still in Phase 1 in my new project, and still trying things out. but I am already thinking of abandoning LINQToSQL for a better ORM Framework.
I usually get excited when I learn “new” technologies, but working with LINQToSQL and the worries it gives me in a long term basis have pretty much convinced me to abandon it.
Here are the pit falls I see, when using this technology.
1. When accessing an aggregate object in your entity (User.Profile.FirstName), LINQToSQL will go back to the database and fetch the data one by one on a per row basis. Imagine if you have tons of data, looping into it will require multiple round trips. Although you can solve this with what they call “projections”, i still think it defeats the purpose of having an object representation of your entities.
2. Updating data is weird, this is due to the fact web technologies works on a disconnected fashion. You need to do some hack to be able to update a certain entity, since you would have lost the instance of that object when the request is returned, first you need to fetch the data, then update the fields. then finally save the changes.
3. When deleting, you need to again get the data(to obtain reference) then that’s the time you can delete it, that’s 2 trips to the database.
Though accessing the objects directly are fancy and neat, without knowing the effects of those actions will hurt you in the end.
I am now reading about Entity Framework, and see if its a better choice.
Ants
21 Dec 2010 Leave a Comment
Today i discovered that there are red ants all over my PC, at first i thought the little dude was just lost or looking for food.
then i notice a battalion of ants are running around on my desk.
i squish them one by one, and thought that the skirmish was over, but i was wrong… their buddies were back to claim their fallen comrades, i have to fight back and got my insurance card to scrape them off my desk. pesky ants!
which reminds me of my funny dream once, i was dreaming of looking at little ants running around on the ground on a semi straight line. i was laughing when a stone was heading to wards my face. i was laughing so hard in my dream that, when i woke up i just started laughing really hard and freaked my sister out. it was around when i was at second grade. the same dream reoccurred when i got a fever that was in high-school, i was still laughing



