Jan. 29th, 2009

theweaselking: (Work now)
I've got a python script, from here, that turnes a MediaWiki installation into a static HTML website - suitable for giving you an offline snapshot of your wiki!

However, the script, as written, uses a metric crapload of memory if your wiki is big. As in, runs OUT of memory if your wiki is too big.

The trackback is:
Traceback (most recent call last):
File "mw2html.py", line 742, in
main()
File "mw2html.py", line 738, in main
run(config)
File "mw2html.py", line 591, in run
doc = f.read()
File "/usr/lib/python2.5/socket.py", line 295, in read
return "".join(buffers)
MemoryError
Anyone know enough Python to tell me if there's a way to do it effectively in smaller chunks?
theweaselking: (Default)
The "actress" who does the voice of Bart Simpson is a scientologist, and she's recorded a promotional phonespam robocall as Bart.

Fox, whose owners hate *Catholics* and *Mormons* as insufficiently Real True Christian, are not terribly amused at their property being used to promote a rival cult.

Lawsuit! Lawsuit! Fox versus The Church Of Scientology! Go! I've got popcorn!
theweaselking: (Science!)


... that's a galaxy.


A pretty damn big one. Or, rather, it's TWO galaxies, colliding.

See those things coming out the top and the bottom? The things that are as big as the rest of the galaxy? Those are jets of matter from the accretion disk of the black hole in the center. In the part where they're blue, near the source, they're moving at about half the speed of light because that's just how much energy the black hole is throwing off.

Holy CRAP.
theweaselking: (Default)

A sculpture of an enormous bronze-coloured shoe has been erected in Iraq to honour the journalist who threw his shoes at ex-US President George W Bush.


The sofa-sized artwork was formally unveiled in Tikrit, hometown of late Iraqi ruler Saddam Hussein.

Artist Laith al-Amari insisted it was not a political work, but a "source of pride for all Iraqis".

Profile

theweaselking: (Default)theweaselking
Page generated Feb. 5th, 2026 09:02 am