Syndicate content

Page list for Linux

  • Yesterday, I got a nice little surprise...

    I inadvertendly added two copies of an uncompressed MS-Access data in my CVS. The files were over 400Mb (about 434Mb if I'm correct.) This started okay, then slowly I could see my memory going banana.

    Wow! It took a good 20min. to check-in. My CVS is on my computer, so it is not the transfer that's slow... The fact is, the allocated a buffer for the entire file! My computer was on its knees!

  • Large version of the waiting wheelAs I'm working on a new feature for our Snap! Website system I wanted to have a turning wheel that asks users to wait while the computer does work.

    The graphic is very simple: a rectangle with a border and a background color that rotates. However, I do not have a tool (that I know of) which could create the graphics automatically. So I did it with quite a bit of manual labor, but it was fun to learn a few things along the way.

    I use inkscape to create such graphics. First I created the rectangle on the left. With that I had to have it rotated going 360 degrees repeating the rectangle 24 ...

  • I really want to try that feature! I have been using Incredibuild on MS-Windows and it can make a software compile 5 to 6 times faster. (i.e a software normally compiling in 1h compiles in 10 minutes!)

    Under Linux some people worked on the C compiler front end to move the process to other machines as required. This is called distcc (i.e instead of using cc to compile, now you use distcc). This front end has a list of all the C compiler machines and uses them whenever possible.)

    From what I can see on the front page, the setup should be a breeze (yeah... I know) and it does not even require ...

  • As I write programs, mainly in C++, I document them using the Doxygen tool. This is a very powerful parser that is capable to finding functions, variables, macros, and many other things in the source code and attach the corresponding documentation to those functions, variables, macros, etc.

    This is extremly practical when creating large projects or libraries that you want to share with others.

    One problem though, by default it seems like global functions (and thus C functions) and variables do not make it to the documentation, when C++ classes work fine.

    There are two potential issues:

    ...

  • Yes.

    I have been around a lot of people and there are many who heard of Linux but to not know how to pronounce that word. I never thought it was complicated, that's a latin word, right?

    So... maybe it is not "Lie neex"... Think about the "i" later and see how Italians, Spanish and French people pronounce it... Yes! The right way! You got it!

     

    Anyway... for those in doubt, there is a file you can listen to:

  • Somehow, once in a while, I just don't get my navigation menu at the top of my screen.

    I use the Drupal SimpleMenu module. It works in most cases, yet you have to make sure that your theme include the print $closure before the closing body tag. Something like this:

        ...
        <?php print $closure; ?>
      </body>
    </html>
    

    This will print the simplemenu variable. It is a Javascript variable used to create the menu. It is an array tree with all the menus and sub-menus and their corresponding label and URL. Simple stuff... The author uses SuperFish to get everything ...

  • Let's start with my rant!

    I like Drupal, in general. But like most PHP code bases, if an "error" (mistake) occurs, nothing is reported.

    I spent hours trying to make one of my menu work (Note that the "menu" module is also called the "links" module.) It just did not want to go. In order to have the nice breadcrumb and other such features, you need to have menus with sub-sub-menus...

  • I created a disk for my WinXP that I run on my virtual machine. This was my first Windows install and when creating the drive, the system used the wrong size. I did not notice until the whole installation was done. So... I got a hard drive of 8Gb which was not really large enough since installing all of those things for XP, including some updates, I got at a little over 5Gb of data.

    Since I wanted to install many other things such as MinGW, it was quite tight!

    I looked around and found a page on Ubuntu Forums that explained out to do the job: How to resize Hard Drive in Virtualbox. It's

  • As I started using my Epson 1260 Photo scanner on my Linux box, I got some problems...

    The first scan works perfectly, and then on the second and following weird colors start appearing. Usually it is red or green, some sort of a gradient. At times half the page is like that, at times more, at times it's like a gradient...

    Searching, some people said that the iscan driver was bad. Not true. The driver works perfectly.

    Not too sure where the problem really is, looks like the buffer used to read the data is not correctly cleared before we read the next image. That is, in the video tool I ...

  • Today I got a really strange error. Part of the message was:

    E: Encountered a section with no Package: header
    E: Problem with MergeList /var/lib/apt/lists/<some name>
    E: The package lists or status file could not be parsed or opened.
    

    That seemed really bizarre. I had never seen such an error before...

    So I searched for it and one thing to know is that the files under that directory are temporary, so you can actually delete them. apt-get knows how to regenerate them.

    So in other words you can do something like this:

    sudo rm /var/lib/apt/lists/<some file>
    # or ...
Syndicate content

Diverse Realty

Diverse Realty Team

Want a New Home?
Want to Sell Your House?

Call Alex at
+1 (916)
220 6482

Alexis Wilke, Realtor
Salesperson
Lic. # 02024063

Cory Marcus, Broker
Lic. # 01079165

     

Terms of Site Index

Find the page/content you are looking for with our index.