Syndicate content

nvidia_XXX.ko No Such Device

Today I got a new video card because it looks like the old one I had was going bad. I hope that was not my KVM, although we'll see when it gets hot again, whether the video goes bouncy again or not... If not, then the old card is good for the trash (although it works in console mode just fine!)

So I got a new card. My old one was a NVidia GT 220. Fairly old model. Yes.

The new card is an NVidia GT 630 (to be precise: Asus GT630-SL-2GD3-L.)

When I tried to start X11, I saw an error (really quick) and the system did not come up. Looking closer into the matter, I could see that the NVidia ...

Why are my "vim: ..." commands not activated?

I use gVim all the time, I like that editor very much (emacs is just way too much, if you ask me.)

But once in a while I install a new server and by default they generally turn off the modeline feature. This is because there are potential security risks in link with that feature (i.e. vim starts running whatever script is defined in the text files that you edit...)

Anyway, I most often forget about the command to enable my:

vim: <setup>

(I most often define the tab stops, corresponding shift width and eventually the syntax of a file.)

Only, on those new servers, that doesn't ...

HP Printer options not offering "Color: Off" option anymore

As I upgraded to Ubuntu 13.10, I noticed that I lost the option to turn off the color when printing.

Looking around all the available options, no one to make it black and white (although the old option was saying something like: Color: Off; it was somewhat weird.)

Now that option is completely gone. There is no way for me to turn off my HP Printer color when I am in Acrobate or LibreOffice. I searched on the Internet to see whether that was just HP trying to get you to use colors on your printer or whether the option was available... somewhere else.

Indeed, I had to go to the System ...

My JavaScript code does not get the correct widget size, why?

As I am developing a set of pages for a customer, I ran in an intersting problem: my JavaScript function could not properly define the sizes of a box.

That box is heavily tweaked with the CSS assigned to it, as well as all of its neighbors. So I thought that may have something to do with it.

What I hadn't realized so far is that the ready() function of jQuery() is called once the script that includes it is ready (as in loaded) and not once the document as a whole is ready (done loading, i.e. onload event.)

With that knowledge it was easy to understand that I was actually finding myself ...

RJ45 and crossover cable

I got a cross over CAT6 cable and somehow the computers on which I used it do not like it... So I thought maybe it was not a valid crossover cable. Searching on the net I found a page with the following images which gave me the answer. You have to look for the colors of the wires in the RJ45. It's not very easy to see, but it is different enough (assuming you see colors...) that you should be able to tell exactly.

The easiest is simply to look for the "red" (orange) cable. If it is close to the edge in one RJ45 and far from the edge on the other, then you have a crossover ...

SANE cannot find any scanners

As I upgrade to 13.10 of Ubuntu, I'm having to do work to get my system back to normal...

Today I stumble on the fact that USB ports are now not accessible by everyone by default. So when I tried to scan a document, it told me that I had no scanner. Panic... and then I found out that the permissions were changed, widely, so only users who are root (by default) can access the scanner.

I changed the group to a group I'm in and it worked without having to reboot or relog in. However, it is not unlikely that the group won't stick... TBD!

To find the USB port that has your scanner, ...

Setting tag attributes in a dynamic way in XSLT with XQuery

I wanted to dynamically manage the attributes of the HTML tag. As I'm working on the Snap! C++ system, I thought that should be done with the standard XSLT feature: <xsl:attribute-set name="...">. Unfortunately the the XQuery implementation does not currently support such, at all.

There is a way, though, to still make it work with a central template definition which can be used to decide what should be and what should not be added to the HTML tag.  Especially, in this way we can make use of one template that is a system defined template. This being said, if you use ...

Console color: dark blue on black unreadable

As I work in consoles every now and then, I run in that one problem:

Some text is written in Dark Blue over the Black background:

This is a good example of what I'm talking about.

And if you can read that text, wow! (without selecting it first.

So... how could you change the color of that blue to make it readable? There is a way by sending some escape command to the console:

echo -e "\\e]R\\e]PC6495ed"

That command changes the color of the blue to a light blue (somewhat "cyan", although not light cyan.)

The "\\e]R" part is to reset the colors to ...

Using non-default private key for Launchpad

As I was looking around for the way to specify the correct key for launchpad, I could not find it. Luckily the ssh process is running when it asks for the passphrase so I could see the URL used to access the launchpad server from Bazaar. It is:

The address is not visible by default because you use the lp: protocol instead of a full URI to access launchpad.

    User <your launchpad username>
    PasswordAuthentication no
    HostbasedAuthentication no
    IdentitiesOnly yes
    IdentityFile ...

Classes in JavaScript (from complex objects to proper classes)

When creating objects (commonly called JavaScript classes) in your JavaScript code, you want to use the prototype. This is the only clean way of doing it. In JavaScript, you can create objects on the fly, but those are not considered safe.

Quick and Dirty

The quick way is to create an object directly. This works, but it has potential problems with used against a powerful optimized such as the Google Closure Compiler.

All the Quick and Dirty examples can make use of this in their myFunc examples. However, the closure compiler will warning about all of them because it doesn't know for ...

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
Lic. # 02024063

Cory Marcus, Broker
Lic. # 01079165


Terms of Site Index

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

  • PayPal

    An online credit card processor that anyone, including individuals, can use to get paid. Often viewed as expensive though.

  • force
  • process
  • submit
  • user