Friday, October 18, 2013 1:03:10 AM
Do you run ping
tool very often? Do you find yourself squeezing your eyes to see if a packet has been lost? Do you want to have a better view of the latency and of the lost packets over time?
Then you need prettyping.sh
, a wrapper around the standard ping tool with the objective to make the output prettier, by making it colorful, more compact, and easier to read. How? Look at the following animated GIF (being played at 4× the actual speed) (update: less than 24 hours, and the screenshot is already outdated)
Download it from from my small_scripts repository at bitbucket.org
Continue reading to learn more about this tool...
Sunday, December 4, 2011 6:52:16 PM
I have a notebook with Nvidia 9500M GS. This videocard has "crashed" a few times already. These "crashes" can be identified as the screen freezing for a few seconds, and a glitched screen after it unfreezes. This glitched screen can be described as lots of small squares (2x2 pixels) appearing randomly over the entire screen. It seems like the video texture buffer for drawing the screen got corrupted. Also, over time those squares tend to fill up the entire screen, but they are cleared after switching to another window or doing something that forces a full redraw of the window (in other words, after sending new fresh data to the video card).It has happened on 2010-03-09 while I was playing Bob Came in Pieces in Windows
)Later it happened again on 2010-06-10, also inside Windows
)But last month, in 2011-11-14, it happened while I was inside Linux
. I wasn't doing anything "heavy". Actually, at that exact moment I was switching around workspaces using Cube plugin from Compiz
and I had very few open windows. (nvidia-crash-2011-11-14-001.png
The following message was sent to the system log right after the videocard crashed:
NVRM: Xid (0000:01:00): 13, 0003 00000000 00008297 00000f04 3f266666 00000040
The solution for these crashes? Rebooting. Actually, maybe it might be required to power off the computer and then turn it on after a few seconds.
I don't know why they happen, or how to avoid them, but at least they happen very rarely.
Thursday, October 13, 2011 11:45:00 AM
This week I updated x11-drivers/nvidia-drivers
from 270.41.19 to 275.09.07, and I found a bug. Any window that is smaller than 32x32 is not correctly rendered. Since "tooltips" sometimes are quite small, it's very easy to hit this bug.Update:
It seems that version 285.05.09 works correctly.
Thursday, September 8, 2011 9:00:00 PM
Earlier this year, I had contact with a PIC microcontroller
as part of a college course. I'm documenting here everything I learned, and also making a comparison between PIC and AVR
Sunday, April 17, 2011 3:32:20 AM
Today something very funny happened.
I found a little tool called fontpreviewer
. It generates a PNG thumbnail of each TTF font, and also writes a HTML file showing all the thumbnails. It's written in Python
and uses pygame
. It's very simple to use and very handy.
The fun thing is: I've written that tool, and I didn't remember at all. Even after looking at the source code, it took me a while to believe it was written by me.
Anyway, fontpreviewer is now available on BitBucket
, feel free to check it out. Please also read fun_story.txt
, where I describe how I "rediscovered" this project, and how long it took until I found who was the author.