Monday, April 28, 2008

Bypassing Comcast Throttling

Hey, all bittorrent users! Want to download from comcast users? Have comcast and want to upload again like the good 'ol days? Want to show comcast that throttling doesn't work? This guide is for you!

The Story Behind This Fix

Sandvine, everybody's favourite "load balancer" works using a simple Man In The Middle attack to stop torrenting. Whenever the unit detects a network connection that fits the profile of bittorrent seeding traffic it injects a pair of forged TCP reset, or RST packets into the connection. When the uploader and the downloader receive the RST packets, they immediately terminate the connection without finishing the transfer. Sandvine targets both sides of the connection, so both sides have to implement the fix.

There is a way to stop this! While we all can agree that sandvine won't be going away anytime soon, we can speed it's demise by rendering it completely ineffective. All you have to do is block RSTs on your bittorrent port(s) and this tutorial tells you how.

Here are the instructions: http://wakarimasu.googlepages.com/home

Direct links:

FAQ

Can be found here: http://wakarimasu.googlepages.com/faq

Windows 2000 and XP

Instructions here: http://wakarimasu.googlepages.com/windows

MacOS X


Instructions here: http://wakarimasu.googlepages.com/macosx

Linux/BSD/Solaris

Linux Users: Beating Sandvine with Linux iptables

BSD/Solaris - coming soon ...........

Comments, additions and corrections are welcome!

How to install and use Irssi (Linux IRC Client)

How to install:
Irssi follows the general Linux installation steps, either (./configure, make, make install) Or through a package system. To install with a package system, type the following commands in the terminal:

Debian Based:
apt-get install irssi

Red Hat Based:
yum install irssi

Gentoo:
emerge irssi

How to use:
To launch irssi just type the following in the terminal:
irssi

If you wish you leave irssi running after you close the terminal/ssh/putty, you can launch it using screen:
screen irssi

After you have closed your ssh client if you want to resume your irssi session use the following command:
screen -r

If you accidentally choose the wrong screen id, press Ctrl+A, loose go and then press D. That will detach you from the screen session and bring you back to the terminal

To get a list of all screen ID's use:
screen -ls

Once you have irssi installed and running, alot of the commands are the same as they are for all clients.

/server - [ Connect to server ]
/join #channel - [ Join a channel ]
/query nick - [ Send a private message ]


I'm sure you get the drift...The one thing irssi lacks compared to almost every other client out there, is a mouse

So to switch between different windows (channels) you press Ctrl+P or Ctrl+N

Note: If you will be connecting to an SSL server you will need to type:

/set use_ssl on

Irssi also allows you to split windows, and display multiple channels at the same time. The four main window split commands consist of:

/window new - [ Open a new split window ]
/window close - [ Close a split windows ]
/window balance - [ Make all split windows the same size ]
/window
- [ Switch control to another split window ]

If at anytime you want to scroll up through the channel text you can use the PgUp and PgDown buttons

Auto Connect on start up and performs.

Like many other IRC clients, irssi supports auto connect and performs. The first thing you have to do to set this up is create a network name using the command:

/network ADD NetworkName

Once this is done you can set up the commands to use on connect with the command:

/network add -autosendcmd '^nick nickname;/msg nickserv identify pass' NetworkName

Seperate all the commands you want sent to the server with a ';'. Once all the commands are entered, you can tell irssi which server to connect to on start up:

/server ADD -auto -network NetworkName irc.host.com 6667

And finally the last thing to do is add the auto join for the channels:

/channel ADD -auto #channel NetworkName password

Videogame Programing

Here are some sites that might help you with SDL and OGL coding.

Most of them have tutorials with detailed walkthroughs and sample code .. all you need

NeHe

Cone3D Programming - SDL, OpenGL and C++ Tutorials

Lazy Foo' Productions

GLUT Tutorial

Anyways if you want really easy tools, go here:
YoyoGames

3d game maker studio is a little more technical. You can download it from any major torrent site. It takes a little getting used to though.

Other than that, I would suggest just doing your own research. I've had teachers who think they know what the game industry is like, only to have another teacher completely contradict them. Independent research is the best way to go. I suggest looking at the sites everyone has already mentioned, gamedev.net is great, and branching out from there.

Ebook Management Tool

Manage your E-book collection

MediaMan

It does everything you want and more. Well worth the $40 price tag, IMHO.

It has one or two quirks that I wish it didn't, like not being able to merge multiple collection files into one, but the pros far outweigh any cons and a major upgrade is due later in the year, so hopefully, this will be among the improvements.

It's been out for several years now, but is still relatively little-known. Is developed and supported by a lone programmer, who is so obviously committed to it, which is nice to see and another reason I don't mind the price tag.

Not only will it handle your ebooks, but your videos, music, DVDs, games and software.

The really neat thing is its Amazon e-commerce engine, which pulls down descriptions, ratings, images, metadata and all that good stuff within seconds, at the click of a button.

Unfortunately, no imdb, freedb or worldcat (or similar) support yet, but again, this may change in future.

And to top it off, you can link directly to your files to have them open with your default player/viewer at the click of a button. In the most recent version, you can even play your audio from directly within the program.

More? I could go on, but it's best to check it out for yourself.

For Mac users, check out Delicious Monster

Same price. Older and more polished. But pretty much the same app. Well supported by a dedicated team.

Both awesome in their own right. Sure to satisfy your needs.

List of sites with free video lectures

Links to interesting and free video lectures

1) The incredible MIT Video Lectures Collection:

MIT Open CourseWare
Singapore-MIT Alliance

2) UC Berkeley Lectures:

UC Berkley Video and Podcast

3) Video Courses' Indexing Site

Free Video Lectures

4) INDICO/CERN Colloquia
No direct learning material, but rather collections on Particle Accelerator Physics

Indico

5)Introduction to Game Theory for Business Science and Politics...Great course, also on iTunes:

Introduction to Game Theory for Business Science and Politics

...Also, there's a list collected by someone else, who has great links to other university courses and materials:
Berkeley Video Courses

C ++ - Avoid video tutorials

Don't use videos to learn how to program. Unless there's a strong visual component to the programming (e.g. ActionScript, CSS) it will be a waste of your time. The best way to learn C++, or any other multi-purpose language, is with a good book and a good compiler side-by-side.

If you *really* want to learn C++, and already know some other multi-purpose language, then there is no book better than Koenig and Moo's "Accelerated C++". Period. They teach C++ the way it was meant to be programmed. Most books (Deitel included) teach from a bottom up perspective, which robs C++ of it object orientedness until you reach the later chapters. Additionally, they tend to be 300 page mammoths which you'll never ever finish, no matter how determined you are in the outset.

Accelerated C++ starts you out with the STL: you're face-to-face with OO from page one. They write in a very simplistic, casual, and informal way that is easy to understand and friendly. The book is short. You can really get through it. The whole thing. Cover to cover. And they teach C++ the way it was meant to be written. I can't praise the book highly enough. There is no other book like it.

Once you're done, you'll be ready to tackle the Scott Meyer books (who has a very similar friendly informal style of writing).