by avit
tags:
border:

I wrote a blog post in my other personal blog about how to create a machine that will manage it’s own lifecycle.

I work a lot with background workers, and I constantly need a better way to manage my Resque worker machines, so I wrote a post about how I did it.

I booted up over 50 servers with about 600 Resque workers using this method, and all with a click of a button in the UI.

Worth your time to read it if you are using Resque/Sidekiq and you need to add workers on rush-times of your site or something.

by avit
tags:
border:

If you are running a consultancy business, or even thinking about it, this post is a must read for you.

The comments are sometimes even more interesting then the post itself, some very interesting discussions were ignited by this post.

Lessons Learned: The First Six Months of Running a Software Consultancy.

by avit
tags:
border:

We have been tweaking the GC for the Gogobot website, the affects it has are simply mind blowing.

Since I am clearly not happy with the test suite time that we currently have, This seems like a nice solution and I am definitely gonna try it.

RSpec speed-up (24.6%) by tweaking ruby garbage collection – Ariejan.net.

by avit
tags:
border:

Right now, I am working on an engine for the Gogobot application.

As part of my work on the engine, I am working with the Mongoid gem and the Fabrication gem, both great gems b.t.w.

The problem with Fabrication is that it wasn’t really adapted to working with Engines and it was relying a lot on Rails.root for where to locate the fabricator files.

Since in an engine, the application is located in spec/dummy I needed a better way locate the fabricators.

ok… so far the story of how I got to even writing this post.

by avit
tags:
border:

As you know, on top of being a .NET developer and client side (HTML) developer I do quite a bit of RIA using Flash/Flex and of course ActionScript 3.

Being the geek that I am loving new tools to make my life easier I found 2 tools that are free to use and work great with AS3 code.

These tools can be used to develop a complete project or just classes for use with a Flash application.

Here they are…

Sepy –The ActionScript editor

Sepy is a minimal ActionScript editor, you can use it for editing .AS or .ASC files.

by avit
tags:
border:

If you’re following this blog (and of course you should), you know by now that I have been upgrading a bug project to rails 3. One of the things that I needed to do was to upgrade RubyGems.

Since I did not make the switch completely (production still on rails 2.3.10), I’m fixing p0 bugs on the old project and merging the changes.

One problem I encountered is that rails 2.3.10 does not run with the latest RubyGems.

by avit
tags:
border:

Hello All,

Thanks again for visiting my blog, “From inspiration to realization”. The blog covers lots of  information about Web Development: Ruby on Rails, Java, Flex and etc.

The past week has been very frustrating for me. As you know (or not) I work quite a bit with flex development and AIR.

by avit
tags:
border:

Sometimes, in your application you have a tree that has many nodes, folders, sub-folders and many items.

Often, this tree needs to have a scroll bar, and usually you want the scroll to be on the spot with the selected item.

I recently encountered some weird solutions for this in a company I work for these days, I have actually seen a custom control with saving the scroll position in memory, height calculations for items and many more “solutions”.

by avit
tags:
border:

Well, I have been working on a very interesting project recently, really stretching flex to the limits :-) I needed to set buttons, linkButtons, Labels and more components width to the width of the text inside them. Usually, flex does it for you, but the width was hardcoded in compile time and I needed to change the text and the width in runtime and resize the component according to that.

I have written a nifty helper function for that.

Here it is:

by avit
tags:
border:

It hit waves around Twitter and Facebook and got very popular over the weekend I wrote it.

I was also mentioned in their blog so here’s a link

Thank you guys for the mention and thank you for this really amazing product I use daily.

Pages