February 28, 2009
March 28, 2008
March 27, 2008
Hard drive
Hard drives are extremely fragile devices. I dropped my external 500GB hdd from about 20 cm height while it was turned on and it stopped working completely. The problem was that the motor could not spin the shaft. So I opened the drive, disassembled it and tried to rotate the shaft with pliers.
December 14, 2007
Pari-Python update
I have uploaded my current state of the project to sourceforge:
http://sourceforge.net/projects/pari-python/
Sorry, it is only available through CVS. I don’t have much time to make a binary distribution. I started to use it myself, here I post some example module with computations of some mock theta functions:
November 7, 2007
Launchy
This is the software I like most. I’ve just installed it a few days ago and I am very excited about it. I was missing such a thing for a long time, I tried various launchers and no one kept on my drive more than a 2-3 days, this one is really great. It gives exactly what you need, no more no less.
November 1, 2007
October 28, 2007
Pari – Python
I finished some working version of the pari-python module. I tried to make it is close as possible to the standard PARI shell, at the same time using the standard python syntax. Here I put some screenshots. I didn’t make a proper package distribution for python (the code still looks ugly and I still don’t know how to make proper distributions), but if someone is interested to test it send me an email. This is in early alpha stage. A lot of things are not working. I imported almost all functions of gp by an automated perl script but I don’t know which of them actually work and which not.
October 22, 2007
SciTE lexer
I rewrote the LaTEX lexer for the Scintilla text editor.
Now it is more customizable, distinguishes math mode (both inline and environments like align, multline), supports folding, section headings, highlights environment names, etc.
PARI-Python intnum
This is how intnum works with my module:
>>> import pari >>> def f(x): ... return x^2 ... >>> pari.intnum(0,1,f) 0.3333333333333333333333333333
Actually it works faster than in the standard PARI shell. The reason, I think, is that every time PARI wants to compute the value of the function we integrate it parses the string defining the function. In my case I simply do a function call which is faster.
