Edit zip file in vim

Clever tip for using vim on zipped files. ie Openxml or ODF.

Comments off

Sun and IBM

I haven’t seen much yet to confirm this deal, but if it does happen next week it mark an interesting change in course.  The thing that would interest me greatly would be zfs on linux – with Sun owned by IBM and their investment in Linux it might lead to a reconcilation between Sun and Linux licenses.  While Solaris has come a long way in the last couple years, but the only reason why I use solaris is zfs.  Linux is still a much more flexible, effective and deployable solution. 


Reblog this post [with Zemanta]

Comments off

Zimbra, TLS and MTU

I had some TLS incomming connection issues with my Zimbra (5.0) mail server.  Some but not all TLS connections where having this problem:

Apr  3 15:04:30 mail postfix/smtpd[7305]: timeout after DATA from

I haven’t found a conclusive solution, but the either restart postfix or adjusting the MTU on the mail server interface may fix the problem.

Some references:

  1. http://www.zimbra.com/forums/administrators/11840-solved-some-outside-emails-being-delayed-4.html#post61541
  2. http://www.irbs.net/internet/postfix/0511/1168.html

Comments (2)

Newspapers and Thinking the Unthinkable

This is something that everyone should read about the publishing industry:

With the old economics destroyed, organizational forms perfected for industrial production have to be replaced with structures optimized for digital data. It makes increasingly less sense even to talk about a publishing industry, because the core problem publishing solves — the incredible difficulty, complexity, and expense of making something available to the public — has stopped being a problem.

Reblog this post [with Zemanta]
A printing press in Kabul, Afghanistan.
Image via Wikipedia

Comments off

From Professional VMware blog, here is another method to fix your lost Ethernet device on Ubuntu.

Another method of doing this, is to edit the ‘persistent-net-generator.rules’ file to include something similar to:

# ignore VMware virtual interfaces
ATTR{address}==”00:0c:29:*”, GOTO=”persistent_net_generator_end”

Comments off

Cloud Automation

Image representing Mechanical Turk as depicted...
Image via CrunchBase

Couple article with interest methods for leveraging cloud computing.  Both of these talk to my concept of disposable computing.

Do the maths correctly for cloud computing.

Look for applications that leverage Amazon’s ease of use: EC2 instances can easily be brought up and quiesced; it’s not necessary to keep an instance up and running 24/7. Unlike a data center, where once a server is installed it’s easier to keep it running than to power it up and down, Amazon is ideally suited for applications that are used in a transient fashion, or even a temporary fashion. For example, one company I worked with had an application where it needed to test a system with 100 simultaneous browser instances. The company fired up 100 Amazon EC2 instances, ran a browser script on each one overnight, and completed the test the following day, whereupon it shut down the instances and discarded the systems. It accomplished all of this over a period of three days. Imagine how long it would take to do this in a traditional IT environment. Even better: the total cost for the simulation: $100.

Virtual Stress-free Testing in the Cloud.

Throw-away boxes
It was funny when I was talking to some developers about testing. One of the developer jumped and said “If you mess up the configuration, simply dump the instance and start a new one. Time is precious, dude!”  I knew developers from server-less start-up companies in our ecosystem, who start their dev boxes every morning and run it for 12 hours (the average developer uptime) per day and shut down every night before they go home. But I never thought that one can actually use Amazon EC2 to create thousands of Test environments in the Cloud – all fresh and new – and dump them, if they mess up and/or recreate it in the next test/sprint cycle. When you are testing your mobile application on different device platforms or testing your database-agnostic and app server-agnostic middleware app on different deployment configurations, the Cloud becomes an ideal platform to create-dump-recreate environments as you need.

Mechanical Turk for Innovative Testing
Using the on-demand workforce to help you in testing your app:

  1. Workers create actual test scenarios (Selenium)
  2. Workers enable Usability testing
  3. Worker help analyze results from Cross-browser testing (present a screenshot and ask a turker to compare the pages)
  4. Worker analyzes your test results/log files
  5. Worker tests for broken links on your website
  6. Workers participate in surveys that rate look-and-feel, navigation, search features of your website

You will find variety of customer stories and actual HITs on Mturk.com. Last year’s Start-Up Challenge Contest nominee UserTesting.com uses Amazon Mechanical Turk to create real videos to capture user behavior.

Reblog this post [with Zemanta]

Comments off

SSD and Fragmentation

An SSD in standard  -inch (  mm  )  form-factor.
Image via Wikipedia

Long-term performance analysis of Intel Mainstream SSDs has a detailed analysis of SSD fragmentation and it’s effect on performance

Reblog this post [with Zemanta]

Comments off

Fences from Stardock

Very useful Windows desktop icon organiser by Stardock. Review from Lifehacker.

Comments off

Reset Password for a LAMP webapp

Assuming the webapp uses the standard php functions and without a salt, an example like the following for weberp will work:

nic@www:/export/apps/weberp$ echo "<?php print sha1('password') . \"\n\";?>" | php;

From the mysql command line:

UPDATE www_users SET password = '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8' WHERE userid = 'nlee';
Note this changes the password to “password”.

Comments off

Updated radiant cms install script.

Follw up on my previous radiant script.

radiant  --database mysql test
# edit config/database.yml
rake production db:bootstrap
radiant --database mysql test
rake production db:bootstrap
git clone git://github.com/radiant/radiant-reorder-extension.git vendor/extensions/reorder
cd vendor/plugins/reorder/
git reset --hard 22ed6cdbb5bd8a3a98badf661f5b0c3bae5f29b0
rake production radiant:extensions:reorder:migrate
rake production radiant:extensions:reorder:update
git clone git://github.com/kbingman/paperclipped.git vendor/extensions/paperclipped
rake production db:migrate:extensions
rake production radiant:extensions:paperclipped:update
git clone git://github.com/MrGossett/radiant_page_meta_extension.git vendor/extensions/page_meta
rake production db:migrate:extensions
# http://github.com/radiant/radiant-reorder-extension/tree/master
# http://www.nabble.com/PageAttachments-migration-looking-for-Admin::PagesController-td21080134.html
# http://github.com/kbingman/paperclipped/tree/master
# Needs sudo apt-get install imagemagick librmagick-ruby1.8

Comments (1)