I have changed the DNS at my home network to point to opendns.com
Those guys claim that they will prevent access to the bad places of Internet. Lets check…
I have changed the DNS at my home network to point to opendns.com
Those guys claim that they will prevent access to the bad places of Internet. Lets check…
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 it is good idea to launch a toolbar, we have developed many toolbars for our clients and we have a lot experience in this field, there are free solutions on Internet also.
Here is what the internet says :)
http://www.ifra.de/website/news.nsf/wuis/2247F329A7D9498AC12574BE0049E98E?OpenDocument&0&E&
Hack distributions
<- hidden text here
exploit search list – > http://milw0rm.com/links/
http://www.assembla.com/wiki/show/int_ticketing
trac is what I use today, here as some Ruby ones: something like trac Tracks
http://www.zoho.com/ – chat, presentation, word, databases, meeting.
Advanced Global Personality Test Results
|
Take Free Advanced Global Personality Test
personality test by similarminds.com
Stability results were medium which suggests you are moderately relaxed, calm, secure, and optimistic.
Orderliness results were high which suggests you are overly organized, reliable, neat, and hard working at the expense too often of flexibility, efficiency, spontaneity, and fun.
Extraversion results were moderately high which suggests you are, at times, overly talkative, outgoing, sociable and interacting at the expense of developing your own individual interests and internally based identity.
trait snapshot:
clean, self revealing, open, organized, outgoing, social, enjoys leadership and managing others, dominant, makes friends easily, does not like to be alone, assertive, hard working, finisher, optimistic, positive, likes to stand out, likes large parties, respects authority, practical, high self esteem, perfectionist, dislikes chaos, busy, not familiar with the dark side of life, controlling, high self control, traditional, tough, likes to fit in, conforming, brutally honest, takes precautions
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.
The interesting part is the final flag which tells the syslog not to process any further the message. This way the message stays only in the rails application logfile.
log { source(src); filter(f_rails); destination(rails_log); flags(final); };
Here is the whole conf file
http://www.refactormycode.com
http://snippets.dzone.com/tag/split
http://www.splunk.com
Articles: http://thedailywtf.com/
I want to add two check-marks under this link from the Firefox website. In case the link is outdated here is an to get for what I am talking about.
My theory is that Firefox is an Operating System :)
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
Here is described how you can use the Sweepers to observe controller actions. I totaly agree that the documenation is very bad on the sweepers and it is like a rule book of MTG than usefull rdoc.
Here is what I have found on the naming of the callbacks.
Checking the source code in sweeping.rb shows that the callbacks that are used for the controller are constructed in this way:
controller_callback_method_name = "#{timing}_#{controller.controller_name.underscore}"
action_callback_method_name = "#{controller_callback_method_name}_#{controller.action_name}"
This means that the method which will be called in the sweeper will be named
Here is an example.
class Dagens::UserController < Dagens::BaseController cache_sweeper DagensAgentSweeper, :only => [:do_login, :do_delete_account, :do_logout] def do_login end .... end class DagensAgentSweeper < ActionController::Caching::Sweeper observe DagensAgent def after_user_do_login puts "after do login \n \n \n \n \n \n \n " expire_cache_for(@logged_user) end end
I know that it is not good idea, but some times there is no time/way to do skip it. I have found a plugin and this post here. I have choose to use the second one in my project. Here is the example
class DagensAgentSweeper < ActionController::Caching::Sweeper observe DagensAgent def self.skip_callback(callback, &block) method = instance_method(callback) remove_method(callback) if respond_to?(callback) define_method(callback) { true } result = yield remove_method(callback) define_method(callback, method) result end ........ end
And later in the controller….model…
DagensAgentSweeper.skip_callback(:after_update) do @agent.shown_times += 1 @agent.save end
Some patches on the timed_fragment_cache plugin.
Note how Jolyon Says suggest to expire the cache when you have time zone : when_fragment_expired ‘tags_home_page’, Time.now + 10.minutes do
I have notice that timed_fragment_cache (or the patch) have a problem with expiring the cache from the controller. In the documenation it is stated that it is ok to expire the cache only in the controller with
when_fragment_expired "_last_update", Time.now + 1.minutes do
and there is no need to expire it in the view, but you MUST expire it in the view.
cache "_last_update" do
must be
cache "_last_update", Time.now + 1.minutes do
© 2025 Gudasoft
Theme by Anders Norén — Up ↑