Aug212011

Maki Visited Jakarta, Not Batu !

Published by anton at 11:07 PM under Entertainment

I was surprised when I learned that popular Japanese actress Maki Horikita (star of HanaKimi, One Missed Call Final, Nobita and The Green Giant Legend,  etc)  came to Jakarta early August. She did a charity program for NTV, and this was not known by our media

How lucky that boy was! I’m not sure what was in that boy’s mind but if I were near her, I would like to … Smile you know hehe

She also said some Indonesian words.

I was thinking, what if Maki suffers an amnesia, I find her, then I pick her to my home, and we live happily ever after. This can only be happened if I have Doraemon’s pocket.

Tags:

1 Responses

Jun082011

Stick With ViewContext.Writer When Creating HtmlHelper

Published by anton at 5:55 AM under Programming

I just realized that Razor has different processing order.

It is common that we use htmlHelper.ViewContext.HttpContext.Response for rendering output via ASP.NET MVC’s HtmlHelper. We can also use htmlHelper.ViewContext.Writer to achieve the same result.

This is not the case with ASP.NET MVC 3’s new Razor view engine. If we use Response object directly, the output will be rendered in the top of the page. Using ViewContext.Writer will solve this issue.

Tags:

0 Responses

Jun062011

Who Stole Rubber Bands In My House ?

Published by anton at 6:01 AM under Event | Entertainment

Not a Photo Manipulation.

Tags:

0 Responses

Jun012011

No Internet

Published by anton at 6:07 AM under Life

Ah, I had been without internet for several days at home. It sucks, but Telkom Hotline (147) helped me.

It turned out that our speedy password has changed. Not sure whether I forgot or someone has changed it.

Tags:

1 Responses

May262011

ILSpy, An Assembly Inspector

Published by anton at 6:00 AM under Software

.NET Reflector is an excellent assembly inspector for .NET, however it has became a commercial product under RedGate.

Fortunately, there is a free tools named ILSpy. It is developed by #Develop team. The GUI is done with WPF and uses some #Develop’s components, and it uses Mono.Cecil to do reflection.

FYI, Jetbrains will also release a free .NET Decompiler named DotPeek, but I haven’t tried it. It is in early access stage now.

Tags:

0 Responses

May262011

NHProf Discount

Published by anton at 5:52 AM under Software

Ah, my grey cells are tickled by the fact that NHibernate Profiler is being dicounted now. The coupon is WDG-45K2D467C5 and it is valid for all Hibernating Rhinos’ profilers (NH Prof, EF Prof, L2S Prof, LLBLGen Prof, Hibernate Prof). FYI, Ayende is getting married so he wants to spread the happiness Smile.

Tags:

0 Responses

May232011

Mid-Year Planning

Published by anton at 9:33 PM under Life

I’m planning to finish 5 personal projects this year. All of them are non-profits and outside of my office work. I have already been doing some of them.

So here is the summary:

  • 1 helper library
  • 3 websites
  • 1 desktop application

I will try to use different framework/API. So for web application, I ‘m planning to use ASP.NET MVC 3, Pyramid, and FubuMVC (which will be released soon). 

Speaking of which, I have been a lazy guy outside my office hours, so I expect I can spend more time for developing.

Tags:

0 Responses

May232011

InnerHTML With Form Tag In IE

Published by anton at 9:12 PM under Programming

Today I was stucked with strange bug, the content of div showed nothing in IE when I tried to populate it with Ajax result. After I spent 20 minutes (or perhaps more ) of JavaScript debugging, I noticed that nothing wrong with that part of script, even I added exception handling though it wasn’t neccesary.

Somehow I just realized that the Ajax result contains form tag. This bring back old memories, I experienced similar problem long time ago. I ensured that this was the problem via googling.

The solution is creating other element (I use div), and populate the Ajax result inside that new element, then attach the newly created element to existing container.

var div = document.createElement('div'); 
div.innerHTML = ajaxResult;
divParent.appendChild(div); 

While the solution is really simple, this is enough to annoy me.

Tags:

0 Responses

May232011

Visiting Kediri

Published by anton at 7:54 AM under Life

Last Saturday (21 May 2011), I visited my old university friends in Kediri, Ryco and Adelia. I missed their wedding 2 weeks ago because of my office work. Good to see that they have been a couple since their senior high school. It was my 2nd time in Kediri.

Tags:

0 Responses

May192011

Taken At The Flood

Published by anton at 10:13 PM under Life

There is a tide in the affairs of men
Which, taken at the flood, leads on to fortune;
Omitted, all the voyage of their life
Is bound in shallows and in miseries.

On such a full sea are we now afloat,
And we must take the current when it serves,
Or lose our ventures.

There is no doubt that Shakespeare was a great poet. I recently bought an Agatha Christie novel which seems to be inspired by that poem. And now I‘m thinking about the tide.

Tags:

0 Responses