The SourceForge site was hacked last week, with the attackers going as far as putting a hacked SSH daemon in place. Since hacking pushes one towards paranoia, let’s go there for a minute. An attacker being able to change source-code in any SourceForge repository, bypassing change-logs and hacking files’ time-stamps, could introduce compromised source-code to… Continue reading SourceForge Hacked
Month: January 2011
GCC Warnings
The boost folks just updated their warnings guidelines. A long read, but everything you want to know about dealing with warnings on both MSVC and GCC, all in one place.
Serial Port Monitor in 20 Lines of Code
Here’s a serial-port monitor in 20 lines of code, thanks to PySerial. It opens the default or first serial port, and works with USB dongles, too. import serial # http://pyserial.sf.net import SerialPortScanWin32 pList = [x for x in SerialPortScanWin32.comports()] port = pList[0][0] – 1 # single/first serial port ser = serial.Serial(port, baudrate=1200, parity=’E’, timeout=0.2) #… Continue reading Serial Port Monitor in 20 Lines of Code
LinkedIn broken?
As of right now, a couple LinkedIn connection requests I made, that were accepted, still aren’t showing up in my connections list. I received the e-mail that we’re connected. So it’s half-working, half-broken, even after 30 hours or so. (Surely the electrons can travel from one end of LinkedIn to the other in that time.)… Continue reading LinkedIn broken?