Oooo, shiny. PyScripter is awesome. From my spoilt python brat wishlist we have: Tabbed interface like Notepad++ and SciTE [CHECK] Remember session like Notepad++ [CHECK] Code context like IDLE editor [And More CHECK] Line numbers like SciTE [duh, CHECK] Adjustable tabbing and smart indent like SciTE (And not like IDLE; shudder) [OK, can’t figure this… Read More PyScripter
… They only inserted bugs in Word 2003 so that people would be so relieved when 2007 came along. Any how, exporting to pdf via Word 2007 was glitch free (for a 186 page thesis, with several figures). Thanks to Ben for the pointer to word 2007.
From here. Select figure On picture toolbar click ‘set transparent color’ Click on part of the figure that should show up white/no color
Goto reviewing panel, find ‘remove all comments’
Old plastic is brittle You need to take off all the screws, some of which are hidden under the stickers [here] The lid of the HDD comes off very easily The HDD platter is SHINY. The magnets that are part of the head assembly are strong! Fun!
Following up on a previous post about IDEs for Python, my current wishlist would be: Tabbed interface like Notepad++ and SciTE Remember session like Notepad++ Code context like IDLE editor Line numbers like SciTE Adjustable tabbing and smart indent like SciTE (And not like IDLE; shudder) Autocompletion like IDLE Debugger would be nice, but IPython… Read More IDE for Python (II)
import pylab as m m.polar(m.arange(360)*m.pi/180., m.rand(360))m.thetagrids(angles, labels=None, fmt=’%d’, frac = 1.1)m.rgrids(radii, labels=None, angle=22.5) angles can be emptyradii has to be a tuple
Heh, heh. Just when my analysis was coming along at a nice clip… Here is part of figure1 (png shot of) Here is part of fig2 And here is what happens when I copy fig2 and paste it into fig1 Note that the above figure should look exactly like fig2…I LOVE Inkscape, I LOVE matplotlib,… Read More Inkscape + matplotlib’s svg = one strange love child
Polar plots in matplotlib are generated using the polar(theta, R) command. The source for this command is simply (from the amazing ‘??’ feature of IPython): In : m.polar??Type: functionBase Class: String Form: Namespace: InteractiveFile: c:\python25\lib\site-packages\matplotlib-0.91.2-py2.5-win32.egg\matplotlib\pyplot.pyDefinition: m.polar(*args, **kwargs)Source:def polar(*args, **kwargs): “”” POLAR(theta, r) Make a polar plot. Multiple theta, r arguments are supported, with format strings,… Read More matplotlib : subplot with polar
The code is a little hard to find so here is the pointer in svn at sourceforge /trunk/matplotlib/lib/matplotlib
[From here] user name is: yourrubyforgeusernameserver name is: rubyforge.orgdirectory is: /var/www/gforge-projects/your-rubyforge-project-name Use winscp for windows.
In matplotlib you set figure size as follows [from here]: import pylab as mf = m.figure()f.set_size_inches((2,6)) which will make the figure 2in wide and 6in tall which works at least for SVG export
It boils down to Rails automagically uses the database contents to create an interface, in the other frameworks you have to explcitly create a database in the code. I use Python for computing, why not use it for note taking too. Comparison of Rails and Django. [bright-green] Possible Python frameworks: web2py. – no configuration/install to… Read More Should I move RRiki from Ruby(Rails) to Python?
Computer froze half-way into boot up. Memory modules needed to be taken out and reseated (simple pressing in of modules was not sufficient).
Loaded ‘fail-safe’ defaults for a MSI Neo Platinum motherboard. Couldn’t see the ethernet card on windows. Loaded ‘optimized-defaults’ and the card showed. Fail-safe probably disabled the ethernet card
Grab and install the precompiled binary [from metadata].Grab and install GTK – don’t get the one on Alan’s page, get it from the sourceforge page. And that should be enough to get Unison GUI running
The great thing about firefox and thunderbird is that they store their whole state (histories, bookmarks etc.) in folders and you can choose where the folder is located. I just put this with the rest of my junk that gets backed up regularly, so if I need to reinstall windows, I just point thunderbird and… Read More Firefox and thunderbird profiles
[also see this] This is a HP dv2210us which has a Go 6150 graphics card. From this microsoft knowledge base entry, assuming that this card has a PCI-E bus (NVIDIA tech specs), I need this hotfix. The hot fix doesn’t work for me. The computer is now such that it will not boot up easily… Read More Vista, HP DV2210us freezes at start of waking from sleep/hibernation
And my computer doesn’t show the hibernate option nay more! Don’t panic, open an admin shell and type powercfg -h on
Went apartment hunting in expensive Boston. Windsor Village at Waltham [web]. 10min drive from Alewife station on the red line. They have awesome two storied units, like little town houses with patios, on a hilly country side. Very pretty in the snow. About $1900/month without utilities. They have a week day shuttle from the complex… Read More Apartment complexes in the Boston suburbs