Index ¦ Archives ¦ Atom > Tag: fedoraplanet ¦ Atom

1366x768 is not allowed in the EDID block. Here's how to write your XOrg modeline.

Looks like there are many LCD panels/TVs out there with a native resolution of 1366x768. That is indeed a very close approximation to the expected 16:9 rectangle, except XOrg keeps showing you a resolution of 1360x768 (or 1368x768) instead of the native 1366x768. Why? Because 1366 is not divisible by 8 and that's not valid in an EDID block. Learn more on wikipedia.

You need a custom modeline in your xorg.conf file …


My attempts at MapReduce using MongoDB

I was sorting a tree in my (python) webapp instead of having the database to do it for me. This is how I moved it back to the database by using a MapReduce job. I had a collection structured like the following:

{
  "_id" : ...,
  "feed_oid" : "4fd268d2ab87b2d8927d7eee",
  "title" : "blah blah",
  "updated" : 1339702524,
  "watchers" : [ "4fd276fc66224c1ee8000006" ]
}

Such a collection is called articles and in there I get a document for every article published by an rss feed. feed_oid is …


YUM history (!)

While browsing the YUM man page for some details about the query command I happened to find one of my most wanted feature in a package manager! YUM has some history command which allows for investigation of past transactions and even undo or rollback actions. Epic. I frequently find myself going through install/uninstall steps which not only mess around but I tend to forget about the installed and now unneeded deps.

I'll go through …


OS X Network Install using Linux (updates)

Do you still remember this? It was a good post about the OS X install via the network using a GNU/Linux install server. I went back to read and use it after a few days to install the version 10.5 (leopard) of OS X and it worked well but there's a couple of things missing in that post which I'd like to share here.

The problems were mainly in mounting the leopard disc …


OS X Network Install using Linux

The title says it all. We're going to install an OS X client via network using a GNU/Linux box as DHCP/TFTP/NFS server.

First you'll want to setup your DHCP, TFTP and NFS server.

The default location for the TFTP server root on my system was /tftpboot. It may be different on other distro so change at will. This directory is where we're going to put all the important files. Three files come …

© Giulio Fidente. Built using Pelican. Theme by Giulio Fidente on github. Member of the Internet Defense League.