Archive for category Technology

trafshow : Display current network traffic

trafshow is a simple little program that displays the current traffic on a network interface.

trafshow

It listens on a given interface in promiscuous mode and displays information on each connection, its remote address and the amount of traffic going back and forth.

It can easily be installed on a Mac via Macport.

, , ,

No Comments

Make OSX’s top behave like Linux’s top

OSX’s top program doesn’t quite behave like its Linux counterpart out of the box. For me, the two biggest problems are that processes aren’t sorted by CPU usage and the top program itself uses 10% of the CPU because it calculates all sorts of statistics about memory and shared library usage that I personally don’t care about.

There are a series of flags that you can pass to OSX’s top to have its behavior be closer to Linux’s top. I have created the following alias to that effect :

alias mytop='top -s1 -o cpu -R -F'

The display is updated every second, processes sorted by CPU usage and no unnecessary statistics are calculated. Instead of 10%, top uses only 2% of the CPU.

, , ,

No Comments

Steve Jobs and Bill Gates at the same table

Stumbled upon this very interesting series of videos that are about 2 years old.

In their rare joint appearance at All Things Digital 5, Steve Jobs and Bill Gates discuss their contributions to the technology industry, the qualities they most respect in one another.

You rarely get the perspective on a series of topics from these two giants. There are eleven videos in total. The first one is embedded below and you will get the following ones recommended at the end of clip.

, ,

No Comments

pfSense : a software alternative to your old router/firewall

My old D-Link router, like pretty much every other router I’ve ever owned, wasn’t very reliable in some way and so I was looking for open-source alternative firmwares like Tomato to flash it with. With the clear lack of effort put into the official firmwares, I thought it couldn’t hurt to try. Unfortunately, my router wasn’t supported by any third party firmware.

During my search, I however stumbled upon pfSense, a Free-BSD based router/firewall distro. It’s small (<100mb), runs on a 100MHz PC and includes all the features you would get on a very expensive commercial router (Firewall, NAT, VPN server, usage graphs, dynamic DNS support, per-ip bandwidth usage, QoS, etc).

Throughput on WAN interface

I already had a dedicated fileserver so I installed pfSense as a VM on it using VMWare (I could also have done it with VirtualBox, a free alternative to VMWare). All you need are two NICs. I now only use my old router as a wireless access point because pfSense naturally has a DHCP server. I could even completely let go of my D-Link router if I added a wireless NIC in my server.

If you have an old PC lying around or one that could be a host to a pfSense VM, all you might need is an extra NIC to get an enterprise-grade router that will cooperate a lot more than any cheap 50$ D-Link/Linksys/Netgear/etc router.

, , ,

No Comments

Spore at top of piracy charts

This article from the BBC just makes me want to smile.

The site (TorrentFreak) reported 1.7m illegal downloads of Spore since the game was released in September 2008.

Electronic Arts (EA) said it sold nearly 2m copies of the game.

Will Wright’s other big-selling title – The Sims 2 – came second on the list with 1,150,000 copies downloaded.

TorrentFreak said that Spore’s Digital Rights Management (DRM) software – which came in for considerable criticism when the game was released – was one of the reasons the game was so prolifically pirated.

clap-clap-clap EA.

That DRM was well worth it!

, ,

No Comments

Achat de musique en ligne? Finalement oui!

Je refusais systématiquement de considérer l’achat de musique en ligne pour deux simples raisons :

  1. Protections DRM (détails sur Wikipedia)
  2. Mauvaise qualité d’encodage

Avant hier, j’ai découvert une artiste dont la musique semblait intéressante. Comme j’essaye toujours d’encourager les artistes inconnus qui tentent de percer et que c’était en plus une Québécoise, j’ai décidé d’acheter son CD. Mais pourquoi devoir encombrer mon étagère d’une autre pochette que je ne retoucherai plus jamais après avoir copié le CD sur mon laptop ??

Ce n’est pas le scoop de l’heure, le service étant disponible depuis 2007, iTunes offre une partie de son catalogue en format Plus, ce qui signifie des fichiers libres de DRM et encodés en AAC 256kbps, un niveau de qualité largement suffisant.

En deux clics et 9.99$ plus tard (au lieu de 13.99$+taxes en magasin), je téléchargeais le CD à 1MB par seconde. Moins d’une minute plus tard, j’étais donc en train de profiter de ma nouvelle musique en ayant sauvé de l’argent et en ayant diminué mon empreinte écologique par rapport à l’achat d’un vrai disque.

Un achat concluant. Ce sera probablement comme cela que j’achèterai toute ma musique à l’avenir, tant que les maisons de disque consentent à vendre leur musique libre de DRM. Vérifions quelques artistes québécois sur iTunes :

  • Dumas : aucun album en format Plus.
  • Les Cowboys Fringants : seul l’Expédition est en format Plus.
  • Pierre Lapointe : aucun album en format Plus.
  • Ariane Moffatt : aucun album en format Plus.

, , ,

No Comments

LaTeX en WordPress

En cherchant un peu sur le net pour trouver comment insérer du LaTeX dans une entré de blog, je suis tombé sur le site Using LaTeX in WordPress qui fournit toutes les informations nécessaires pour le faire.

Certains sites offrent même un service web qui permet d’insérer une image avec une adresse contenant l’équation LaTeX désirée dans son document et leur serveur la générera automatiquement sur demande.

Par exemple, cette adresse :

<img src="http://www.codecogs.com/eq.latex?\tiny \int_{-\infty }^{\infty }e^{-x^{2}}\;dx=\sqrt{\pi }" />

donnera  : .

,

No Comments

Google Trends

Je suis tombé sur un outil très intéressant de Google Labs hier : Google Trends.

With Google Trends, you can compare the world’s interest in your favorite topics. Enter up to five topics and see how often they’ve been searched on Google over time. Google Trends also shows how frequently your topics have appeared in Google News stories, and in which geographic regions people have searched for them most.

Quelques graphiques intéressants :

Des heures de plaisir en tout cas.

, , ,

No Comments

Why do You bother?

You get to a point where you’ve just had enough. I’ve seen this screen too many times on my PC already. This isn’t even Vista – this is XP – and it means that I’m off doing another OS reinstall.

Why bother again with XP ?! I need to hear one good reason not to go with Ubuntu.

Ohh yeah and while I’m at it, if ever I decide to go with XP again, the SP2 setup (which was released in 2004) doesn’t have the drivers for my raid card built-in, which is fine. What is NOT fine is that the ONLY way to provide the setup with the drivers is with a floppy disk (which most people stopped using a long time before 2004).

I need a tea…

, ,

1 Comment

Comcast imposera une limite de bande passante de 250GB

Comcast, un géant américain des télécommunications qui offrent des services câblés comparables à ceux de Vidéotron, imposera en octobre à ses clients résidentiels une limite de téléchargement de 250GB par mois. Le porte-parole de Comcast assure qu’il s’agit d’une quantité énorme largement supérieure à l’utilisation de la majorité des utilisateurs – et il a raison.

Pour environ le même prix au Québec, nous avons droit à l’excellent service de Vidéotron et à une limite ridicule de 20GB par mois.

Les compagnies canadiennes de télécommunications arnaquent les consommateurs. Bell et Telus qui décidèrent du jour au lendemain de charger pour les messages textes entrants et les forfaits offerts par Rogers/Fido pour le iPhone ne sont que deux autres exemples.

Pendant combien de temps cette situation perdurera-t-elle?

, , , ,

No Comments