Archive for the ‘Development’ Category
Wednesday, September 10th, 2008
If you want to generate some sort of chunks from a large strings you can use the following method.
You give as a param an array of arrays, each array is pointing with % the start position of the chunk and the last position.
class String
def String.random_alphanumeric(size=16)
...
Posted in Development, Rails | No Comments »
Sunday, September 7th, 2008
We have launched the website PS Spy. It is a news monitoring website. The website is written using Ruby on Rails, MySQL and Python code and a little bit Java on some key parts.
I am very pround of the webhunter and the accuracy with which we find and deliver news.
Maybe ...
Posted in Development | No Comments »
Friday, September 5th, 2008
Load test with tsung - a erlang project. The nice stuff is that the test can be runned on multi machines which will do the tests. Works with proxy. I think it is very nice idea to test it on my next load test.
http://tsung.erlang-projects.org/
Posted in QA | No Comments »
Saturday, August 30th, 2008
http://www.refactormycode.com
http://snippets.dzone.com/tag/split
http://www.splunk.com
Articles: http://thedailywtf.com/
Posted in Development | No Comments »
Tuesday, August 26th, 2008
General Notes
Very nice tutorial for rails 2.1 caching.
API references: Fragments, Sweepers, the Store
Post how to move the page cache in a folder with some server examples
Observing Controllers with Sweepers
Here is described how you can use the Sweepers to observe controller actions. I totaly agree that the documenation is very bad ...
Posted in Rails | No Comments »
Tuesday, August 19th, 2008
downloaded from here
documentation here
If you want to try different solution check it haproxy
Posted in Administration, Rails | No Comments »
Tuesday, August 5th, 2008
http://www.powerset.com/
http://www.trueknowledge.com/
http://www.spock.com/
good blog (bg)
lecutre in bg
Posted in Development | 2 Comments »
Thursday, July 17th, 2008
Rails action to send binary data
I have one old application where the attachment is store as an id in the filesystem. The customer wants to have the attachment with the right name. So I have made this small action which accepts the id of the requested object and send the ...
Posted in Rails | No Comments »
Wednesday, July 9th, 2008
I want to start such a list so I will become maintain a Bulgarian list here which I will use for my website www.cenite.com
As a base source I will use this list here
Please submit your suggestions.
Note: I have removed a lot of words from the starting list.
Posted in Development | 1 Comment »
Monday, July 7th, 2008
Wow. What a nice idea.
http://code.google.com/p/quipt/
Note: if you want to make the test.html to work checkout and test on http://... it is some beta but it works great only in Firefox
Posted in javascript | No Comments »