You might have noticed that sunfire provides a measly git v1.5.5.1, which is 4 years old. Here's how you can build a recent one:
wget
the latest git tarball
gtar -zxf git-...
(where gtar
is GNU tar, and -z
is the GNU-specific gzip switch)
gmake install ...
While working on gsoc 2011, I identified the is-binary check as a potential slowdown in my personal notes. (Yes, it's done for every file.) I tried to disable it with a command-line switch to git-diff, but that was ugly and hack-ish.
Recently I was looking at diff codepath again ...
I was researching buffer_is_binary()
in git the other day in the hopes of speeding up the diff codepath, and stumbled on to this thread that digressed into statistics, a module I'm taking right now. Interesting read.
The API to NUS IVLE, called LAPI, has been around for some time. Below is a demonstration of how one can retrieve an AuthToken
:
You might have noticed that awk
was used to extract the value attribute from the input element for __VIEWSTATE
!
If you can find a shorter curl ...
Recently, I ran into some difficultly getting lxml to compile and work. It was crashing mysteriously on the seemingly-innocuous fread()
. After many days of debugging, I stumbled upon the cause:
Each copy of the CRT library has a separate and distinct state. As such, CRT objects such as file handles ...