Recently found out that Editra is mentioned as a suggested text editor in the O'Reilly book Learning PHP, MySQL, and JavaScript take a look at your local bookstore.
Home
Listing available Python encodings
Been looking for a way to get a list of the available text encodings in Python on a given system. The following seems to work but needs more verification.
import encodings elist = list(set(encodings._aliases.values())) elist.sort()
There must be a better way to do this, the _aliases dictionary must get generated somewhere, the CodecRegistry must also maintain a list somewhere. Haven't found anywhere to access it though. Any ideas?
Vim on Leopard
The default configuration for vim on OS X 10.5 (Leopard) is pretty plain to say the least. Putting the following settings in ~/.vimrc will bring it into more of its true glory.
set nocompatible set bs=2 set ai set ruler syntax on set hlsearch filetype plugin on
Editra 0.2.29 Released
I am happy to announce the latest release of Editra today. This version includes a number of important bug fixes and also solves some compatibility issues with python 2.4. In addition to the bug fixes there are also some improvements to existing features, with the most notably being a complete rewrite of the python auto-completion. Editra is now capable of providing auto-completion tips for items in the local scope as well as from imports. More information about the release and links to downloads can be found on Editra.org.
Editra 0.2.0 is out
Finally after a fairly arduous development cycle I have released the latest version of Editra. This is the second major release in the current alpha series and it introduces a number of new features and improvements to the editor. The recent releases have been mostly feature releases so the next few will likely focus on re-factoring and cleanup to help get rid of bugs and stabilize the platform for future improvements.
For details on the release and downloads head over to the project homepage
Finally...I hope
It's taken the better part of two days now but I think I have cleaned up and re-secured the site as best I can for now. It was a very long very troublesome process. The spam files where littered in nearly every folder of the website. I am still unsure of how the access was gained but my suspicions are leading me to believe it may have been through an old unused wordpress installation that was on the server, the site had no links exposed to the rest of the site however so how it was found is still a mystery.
Site Compromised
My server/ftp appears to have been compromised sometime back around May 12 of this year. It did not come to my attention until recently. I have been noticing more and more strange search queries coming up in my server logs as well as a large number of 404 errors for pages with very suspicious names in the titles.
Then earlier this week I did a search for "Editra" which is my other site that is also sharing the same hosting as this site. The results where what tripped this deeper search into my site. Just a short time ago doing the above search would turn up roughly 20,000+ related results on google but this week it only returned about 900. Which lead me to believe some bad content had creeped into my site to cause some of this de-indexing.
Refactoring and Quality
Lately I have been doing an extensive amout of refactoring and quality improvement work to Editra's code base. The project has been abit over due for this iteration of work especially with all the major advancements and features that have gone in recently. Overall the work has been very rewarding and has removed allot of potential error cases and created lot cleaner and easier to follow code.
I broke the refactoring/cleanup into number iterations using pylint under its default configuration as the gauge and detector of what tasks to perform, the tasks were roughly broken up as follows.
Editra Updated
Just finished packaging together a new version of Editra and uploaded it to editra.org. This version was allot of work to get together hopefully runs as well on others systems as it does on mine.
The core code is starting to come together making for a good platform to expand from in future versions.
anyway, I'm tired so thats it.
Extensibility
I have been doing some work to introduce a plugin system to Editra in order to allow for it to be easily extended beyond its core implementation. Editra's core implementation is meant to be a text editor that specializes in editing code. Part of the focus of this implementation focuses on keeping all core features as generally available to all supported languages and platforms, which in some cases is rather limiting.
This is where the plugin system comes into play. Through the plugin system any type of extra add-on can be incorporated into the editor. Currently I have an initial working draft of the code to allow for plugins, which is based upon concepts similar to the Eclipse IDE Extension Points and Trac Component Architecture.
