Search

Resume and bio of the author Couple of articles related to my hobby - robotics
My impressions about immigration to Australia. In Russian only. Recipes for everyday problems solving
Linux-related posts Windows-related posts
Software-related posts A lot of info about hardware
Different tools you might find useful Posts about various web technologies
Everything that doesn't fit the rest of the menu RSS feed for this blog

Tag Cloud

Archives

Links

Andrey Mikhalchuk’s Blog

Technoblog about life

Jul 2, 2010 Ruby on Rails: how to override default_scope - a better approach

Ever used default_scope in RoR? Ever regretted you had ever read about this feature after you wrote tons of code and later realized you can’t access the records you need in a convenient way when necessary? Try googling “how to override default_scope” and you will find tons of advices how to do it with model.send(:with_exclusive_scope) { super }, but no real way how to cancel it completely for a model when you really need it (like in tests for instance). Here is a simple solution and a few advices regarding this misfeature:

Jun 11, 2010 How to Do Excellent Presentations. Part I.

funny-dog-pictures-beastie-boysHi!
I’m sitting here at the Rails conference (has nothing to do with trains) and watching at the presenter struggling with the equipment. This leaves me couple minutes to start this post about how to do great presentations and not to do bad ones.

May 21, 2010 Support Preserving Wildlife on Earth


I’m raising funds for the World Wildlife Fund (WWF) - world’s largest independent conservation organization called. Please donate to WWF so they can keep doing their great job: http://www.razoo.com/story/WWF. Please share this video with you friends so they can help too. Thank you very much!

Jan 24, 2010 The most hacked router in the world ever

Routerbot V3 - the Most Hacked Router in the World Ever
I just published a new video and a new article about “The most hacked router in the world ever” project. The idea behind this project is obviously to hack router to the extreme. I searched the Internet, found all known hacks about routers, added a few I never seen implemented in routers and built the device. The result appeared to be very useful and quite cool.

Jul 19, 2009 How to recover WorldLock bike lock password

Cable Lock Recently I’ve got a worldlock cable lock for my bike. Skimming thru the guide pictures included with the lock I tried to understand how do I open it for the first time and didn’t find anything saying “default password” in big bold red font. Quick google search also gave nothing. Yeah, this is how this works with some customers like me - they better go search in web instead of carefully reading the manual. Anyway, looking at the pictures I started thinking about what could be a way to open the lock without knowing the password. A few moments later I came up with an idea …

Site Map (c) Andrey Mikhalchuk, 2005-2008