Different staff

February 28, 2009

GEdit plugin: smart indentation for C/C++/Java

Filed under: Uncategorized — Anton @ 11:01 pm

Indents on ‘{‘

Unindents on ‘}’

I put it here: http://live.gnome.org/Gedit/Plugins

March 28, 2008

gmail-notify for linux with proxy

Filed under: Uncategorized — Anton @ 11:59 pm

Thanks to the instructions here I modified the package gmail-notify to make it work with proxy.

(more…)

March 27, 2008

Hard drive

Filed under: Uncategorized — Anton @ 10:45 pm

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.

(more…)

December 14, 2007

Pari-Python update

Filed under: Uncategorized — Anton @ 5:30 pm

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:

(more…)

November 7, 2007

Launchy

Filed under: Uncategorized — Anton @ 6:13 pm

http://www.launchy.net/

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.

(more…)

November 1, 2007

SciTE Latex lexer

Filed under: Uncategorized — Anton @ 6:07 pm
Tags: ,

I’ve just created a page devoted to the topic.

October 28, 2007

Pari – Python

Filed under: Uncategorized — Anton @ 5:17 pm
Tags: , , , ,

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.

(more…)

October 22, 2007

SciTE lexer

Filed under: Uncategorized — Anton @ 1:53 pm
Tags: ,

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.

Latex lexer

PARI-Python intnum

Filed under: Uncategorized — Anton @ 10:26 am

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.

October 20, 2007

My Desktop

Filed under: Uncategorized — Anton @ 11:43 am

I took a screenshot of my laptop’s screen. On top you see the “Stardock” bar which is similar to the Mac’s bar, the front window is “Kile” which is a KDE program for linux (running under cygwin), but the operating system is Windows XP! Click to view the original size image.

My Desktop

Next Page »

Blog at WordPress.com.