Archive for August, 2011

GUI programming in Python

It’s the next thing I want to try.

It looks like either wxPython or PyQT is my best bet.

GUI Programming with Python: QT Edition is a book about using PyQT, while

Building a basic GUI application step-by-step in Python with Tkinter and wxPython is about wxPython

Meanwhile, ShowMeDo is Python’s list of tutorials, which include GUI making.

,

No Comments

Stuff I’ve learnt today

  1. Time Magazine is for people with no time. I should have kept going with that Economist subscription. I finished the most recent issue, then moved onto Scientific American immediately. I realised that it made me think. (And I happen to like thinking.)
  2. Despite having not read many books for a while, I can still get through 330 pages of a book in just under 2 hours. (But the book was only OK. Glad it was a library book, not something I bought.)
  3. Linus Torvalds scuba dives. (And just got certified as a dive master, if his Google+ posts are anything to go by.)
  4. A variety of GNOME3 fixes, courtesy of responses to a rant about GNOME3:
    • To Alt-Tab through windows from the same app, use Alt-` (That key above Tab)
    • Ctrl+Click an application icon to get a new window instead of jumping to whatever desktop the existing window is on, and bringing that to the forefront
    • Holding down shift while moving a window around will cause it to try and snap to any of the 4 corners of the screen.
    • Holding down shift while resizing a window will cause it to try to snap the corner of the window you’re dragging to the respective corner. (Sadly, this doesn’t work to snap Terminal to half the screen. Unless there’s another window on the screen already, in which case it’ll try to snap to the side of the other window.)
  5. At least one other person in the IT field who went through mandatory military service believes his IQ dropped during that time. (I completely agree.)

No Comments

The power of prior research

One hour after I started, the bare bones are already up and running: github.com/kyl191/mp4dedup

Mainly because I read up a lot during the day, so I understood exactly what I had to do.

And with that, sleep time.

, , ,

No Comments

Metadata in FLV files

After I get MP4 dedup working, FLV files are the next step. Some resources that showed up: Read the rest of this entry »

No Comments

On MP4 file headers and metadata

TL;DR: I have a bunch of MP4 video files that have identical content, but the internal metadata differs. I’m writing a Python function/module/program that’ll strip out the metadata, so hashing functions can find the duplicates. Read the rest of this entry »

, ,

No Comments

Upgrade Firefox

I’ve been resisting upgrading to FF6 on my main system, mainly because the update notification pops up when I’m actually doing something.

Even WordPress wants me to upgrade

And now even WordPress wants me to upgrade. Wow.

No Comments

Sharing Resources

Or how I’m designing a system such that my stuff doesn’t get mixed up with the family’s docs, but both reside in the same disk. Read the rest of this entry »

, ,

No Comments

Creating a new RAID 6 drive & attaching it to a Xen VM

I have 4 2TB drives in my NAS. They are split into 2 partitions, 500GB and the remaining ~1.5TB. The 1.5TB partitions were used in a RAID5 for media – music, backups of DVDs, etc. The remaining 500GB partitions were supposed to be for crucial documents, stuff that warranted double protection against disk failure.

Except for the past year, I never got around to creating the RAID6. That changed today.

Read the rest of this entry »

, ,

No Comments

Linkdump – 18/8/11

www.ossec.net/main/downloads

Fully featured HIDS. For free. I look forward to messing around with it soon.

No Comments

Postfix & poplock.db

Read the rest of this entry »

, ,

1 Comment