run-one and run-this-one for Ubuntu – cron helpers

The robotic precision of cron ensures that each subsequent job runs, on time, every time.

But cron doesn’t check that the previous execution of that same job completed first — and that can cause big trouble.

This often happens to me when I’m traveling and my backup cronjob fires while I’m on a slow up-link.  It’s bad news when an hourly rsync takes longer than an hour to run, and my system heads down a nasty spiral, soon seeing 2 or 3 or 10 rsync‘s all running simultaneously.  Dang.

For this reason, I found myself putting almost all of my cronjobs in a wrapper script, managing and respecting a pid file lock according to the typical UNIX sysvinit daemon method.  Unfortunately, this led to extensively duplicated lock handling code spread across my multiple workstations and servers.

From the Canyon Edge – :-Dustin Kirkland: Introducing: run-one and run-this-one.

How to add bookmarks to Firefox Navigation Toolbar

How to add bookmarks to Firefox Navigation bar:

1. step: The bookmarks you want to have on the Navigation bar go into the Bookmarks bar.

2. step: Show both, Bookmarks and Navigation bar.

3. step: activate ‘Customize…’ to customize the Navigation bar. Drag ‘Bookmarks bar Item’ onto the Navigation bar. Close customize.

4. step: Hide Bookmarks bar.

like-what? is offline

via [all variants] How can I add bookmarks to Firefox Navigation Toolbar OR Tab bar – Page 2 – Ubuntu Forums.

Power Data Recovery for windows free with a bootdisk version

Unlike other data recovery software, MiniTool Power Data Recovery is an all in one data recovery software for home and business user. It can recover deleted data from Windows Recycle Bin, restore lost data even the partition is formatted or deleted, restore data from corrupted hard drive, virus infection, unexpected system shutdown or software failure. It support IDE, SATA, SCSI, USB hard disk, memory card, USB flash drive, CD/DVD, Blue-Ray Disk, iPod. MiniTool Power Data Recovery contains five data recovery modules – Undelete Recovery, Damaged Partition Recovery, Lost Partition Recovery, Digital Media Recovery, CD & DVD Recovery. Each data recovery module focuses on different data loss scenario. The best of all, it is absolutely free for home user.

via Free File Recovery Software – Power Data Recovery is an all-in-one free data recovery software that could help you to recover your lost data from hard disk, CD, DVD disk, memory stick, memory card, and flash drive..

HipHop for PHP serves 70% more traffic on same hardware

When Facebook moved its servers to HipHop for PHP – the code transformer it built to convert PHP into optimized C++ – the company’s average CPU usage dropped by 50 per cent. And after six months of additional engineering, the tool was about 1.8 times faster.

Now, after another six months, the company says, it has improved performance another 1.7 times. But this is more than just self-congratulation. The project is open source, and it has been open since Facebook first switched its servers to HipHop in February 2010.

via Facebook HipHop serves 70% more traffic on same hardware • The Register.

Opendedup – SDFS, a file-system that does inline deduplication for free

The main features of SDFS are:

  • Cross Platform Support – Works on Linux or Windows.
  • Reduced Storage Utilization – SDFS Deduplication can reduce storage utilization by up to 90%-95%
  • Scalability – SDFS can dedup a Petabyte or more of data. Over 3TB per gig of memory at 128k chunk size.
  • Speed – SDFS can perform deduplication/redup at line speed 290 MB/S+
  • VMWare support – Work with vms – can dedup at 4k block sized. This is required to dedup Virtual Machines effectively
  • Flexible storage – deduplicated data can be stored locally, on the network across multiple nodes, or in the cloud.
  • Inline and Batch Mode deduplication – The file system can dedup inline or periodically based on needs. This can be changed on the fly
  • File and Folder Snapshot support – Support for file or folder level snapshots.

Opendedup.

Facebook: Why our ‘next-gen’ comms ditched MySQL

About a year ago, when Facebook set out to build its email-meets-chat-meets-everything-else messaging system, the company knew its infrastructure couldn’t run the thing. “[The Facebook infrastructure] wasn’t really ready to handle a bunch of different forms of messaging and have it happen in real time,” says Joel Seligstein, a Facebook engineer who worked on the project. So Seligstein and crew mocked up a multifaceted messaging prototype, tossed it onto various distributed storage platforms, and ran a Big Data bake off.

The winner was HBase, the open source distributed database modeled after Google’s proprietary BigTable platform. Facebook was already using MySQL for message storage, the open source Cassandra platform for inbox search, and the proprietary Haystack platform for storing photos. But in the company’s mind, HBase was better equipped to handle a new-age messaging system that would seek to seamlessly juggle email, chat, and SMS as well as traditional on-site Facebook messages.

via Facebook: Why our ‘next-gen’ comms ditched MySQL • The Register.

Tribler – p2p searching

Tribler is a social community that facilitates filesharing through a peer-to-peer (p2p) network. A p2p network is different from a centralised service, where every user downloads his files from one central server. With p2p, the user/downloader is also an uploader to another user. This way, there is no central computer required that provides every file to all users.

When the Tribler application program is started it will automatically start searching other users that have Tribler running on their computer. When a connection is established it starts exchanging information. First it exchanges personal information (such as your avatar picture, your friends list, download history, etc.) and information about files that are available in the network. These files can be personal, shared files, but also files that one has received from another person (see image).

via whatIsTribler/2 – Tribler.

PureText

Have you ever copied some text from a web page or a document and then wanted to paste it as simple text into another application without getting all the formatting from the original source? PureText makes this simple by adding a new Windows hot-key (default is WINDOWS+V) that allows you to paste text to any application without formatting.

via PureText Home Page.

Ubuntu Unity moving from X.org to Wayland

This is a really risky move, as they risk alienating their Gnome supporters as well as all the buggyness that a shift from X (a stable platform) implies. However, they want more scaleability to the portable and phone markets and they can’t do it without building a new interface from the ground up like IOS and Android and WinPhone 7 are doing. You need integrated touch, 3D, etc. Very curious how this’ll pan out.

Mark Shuttleworth » Blog Archive » Unity on Wayland.