Friday, May 12, 2006
A P2P Program in 15 Lines of Python!
TinyP2P is the world's shortest P2P program; written in Python.
Monday, March 13, 2006
AJAX for Python
Python is my favorite agile language. There is a ultra-easy to use Ajax framework that works with Coldfusion, Io, Lua, Perl, Python, and Ruby. It's call SAJAX.
digg the new slashdot?
Have you digg for stories lately?
Run Linux from USB Drive!
If your USB "finger" is 512M or more you can run Linux. Read this step-by-step guide to installing Linux onto your USB drive.
Thursday, November 10, 2005
Web 2.0 Meme Map
Hey, download this new Web 2.0 Meme Map - adapted from O'Reilly's 2005 conference. (BTW, if you don't know what Web 2.0 is, it's time to find out!)
Monday, October 24, 2005
Using AI and learning to generate ringtones
Unique ringtones for free; created automatically with Mathematica!
Monday, September 26, 2005
Source for a C# compiler written in C#
A bit out-dated, but still interesting example of C# coding - C# blue - a C# compiler written in pure C#!
LINQ and C# 3.0
Hey here is a cool blog on LINQ - Language INtegrated Query by Dan Fernandez.
Y combinator in Javascript
As you might know the fix point combinator of a function is another function that is left unchanged by further applications of the fix point combinator. This is also known as the Y combinator.
A function, often denoted Y, which computes a fixed point of any function it is given. Y is a function with the property that f(Y(f)) = Y(f) for all functions f.
In JavaScript, it is:
With this, factorial can be defined as:
More info at The Little JavaScripter.
A function, often denoted Y, which computes a fixed point of any function it is given. Y is a function with the property that f(Y(f)) = Y(f) for all functions f.
In JavaScript, it is:
function Y(le) {
return function (f) {
return f(f);
}(function (f) {
return le(function (x) {
return f(f)(x);
});
});
}
With this, factorial can be defined as:
var factorial = Y(function (factorial) {
return function (n) {
return n <= 2 ? n : n * factorial(n - 1);
};
});
var number120 = factorial(5);
More info at The Little JavaScripter.
Saturday, September 03, 2005
Eric Raymond's books
If you are a fan of Eric Raymond, you will be happy to know that some of his books are free online! For example, the Cathedral and Bazaar, the Art of Unix Programming, etc. I particular like the AI Koans as well as the Unix Koans.
http://www.catb.org/~esr/writings/
http://www.catb.org/~esr/writings/
Personal Wiki
Hey, new semester and I'm re-starting to update my 31337 blog. My first entry this academic year is a tool to help you organize your personal information. It is a Wiki written totally in Javascript for client-side execution!
http://shared.snapgrid.com/gtd_tiddlywiki.html
Have Fun!
http://shared.snapgrid.com/gtd_tiddlywiki.html
Have Fun!
Monday, April 11, 2005
Cool Tool for Online Slide Show
I you want to put Powerpoint-like material online, you should take a look at S5. It is really cool - simle XHTML+CSS and a bit of Javascript goes a long way! Supports Opera Show Format as well.
Friday, April 01, 2005
Anyone Wants D for Programming?
Hey here is a really neat language that has a lot of features not found in C, C++, Java or C# (comparison matrix) - it is called D. Digital Mars also have free compilers for D, C, and C++.
Sun's next new language - Fortress
Guy Steele is designing a new language for scientists (to replace Fortran) called Fortress. I can't find the website for the language itself though...
Wednesday, March 30, 2005
.NET Languages
F# version 1.0 is now released! If you want to know more about .NET languages, check out this list. Also, there is a new PHP for .NET called Phalanger, which allows you to run PHP on a ASP.NET server!
Friday, March 11, 2005
What Skills a Hacker Needs?
If you want to work in US, this article by devnulled summarizes the top skills companies are asking for.
Want to Create Some Data Structures in C# 2?
Read this extensive short course on data structures with C# 2.0 by Scott Mitchell of 4GuysFromRolla.com
Friday, February 18, 2005
Visualizing What a Computer is Thinking
Cool graphics to show what a chess program is thinking.
Tuesday, February 15, 2005
Everything You Ever Wanted to Know About Function Pointers!
I found this amazing tutorial on C/C++ function pointer by Lars Haendel
Tuesday, February 01, 2005
Drap and Drop an App from Browser to Desktop?
Rich internet application is the new trend. Technologies like droplet might be a win.