SpecialMore Fun LinksStuff to ReadPeople |
blogMore Tasks
last updated 1 year ago # Tasklist
last updated 1 year ago # MinGW and ASIOHappy Fun Time with MinGWI've finally retried the MinGW for portable Win32 development and I've been surprised at how well everything has been coming together. That install was hot on heels on yet another failed install of the Visual C++ Express environment and limited success with Win32 digital mars (although I did have fun with the D language). I had done a half-assed attempt at working with MinGW with MSYS a long time ago but didn't really understand what it was all about. It helps if you Read the Fine Manual... and they had developed the minimal set installer for 5.0.2. When that NSIS exe dropped the minimal set tarballs: binutils gcc-core gcc-g++ mingw32-make mingw-runtime w32api I finally understood that you really didn't have to have MSYS to run or even compile executables built by MinGW. Which, going back to the statement about reading manuals, is explained on the download page
After some successful compiles, checking it out with Raymond Chen's scratch program, getting Boost to compile using the Chris is way ahead of youWell, in doing a little code research with Google's latest lab creations I found out about the one of the recently accepted library's to the Boost family. Christopher M. Kohlhoff's asio. I haven't had a chance to play around with it but it looks like it's going to be pretty darn useful. Looking through it, simple things like Main projectI still need to try to make time for my main project. In the meanwhile I had created a quick random movie selector from a dump of our DVD collection from DVD Aficionado using the hodgepodge framework that I had created. I was happy with the results. Although I am having second doubts about using the Dreamweaver template keywords as the drivers for my template engine so I may change it. But chances are that they will still be based on the HTML comment syntax just so that the templates themselves will be designable in common tools. last updated 2 years ago # Playing with Boost iostreamsI was looking through boost and found the iostreams library. I wanted to see what it was all about so I whipped up a C++ socket operations layer, Code:bsd_socket.hpp, to fit the concepts and applied it to the streams adaptor. Here's the results: Code:bsd_test.cc last updated 2 years ago # Admin ConsoleStarting on admin console. Realizing that a general listing structure would be quite useful. Wrestling with how much ria will be used. Do inline edits for listings make sense? Are new entry adds asynchronous? Etc. Will also need to create a sub-navigation area. last updated 2 years ago # Local DevelopmentJust about to get local development set up. I have just about all the tools and the application replicated. Now all I need to do is configure the FTP account for Dreamweaver and figure out how I'm going to do code migration. Status: Local development set up. It's turning out to be quite awkward to use the Dreamweaver template controls for both page extentions and server side page descriptions but it'll do for now. Started with the administration controls. last updated 2 years ago # SQL & RDMBS WoesWell, I have to make a confession to myself. I don't know relational database design. This is mostly due to the fact that I normally work with a different type of datastore that puts the burden of data integrity and data access on the application code (i.e. we use indexed files). This has been a major slow down in progress where I have to make decisions on structure when I don't have the experience to back it up (e.g. like whether or not to use multi-component primary keys on join tables or when to cascade or restrict operations tables with foreign key relationships). last updated 2 years ago # Nice stylelast updated 2 years ago # Administration, CRAM, Design Mode & Logging
last updated 2 years ago # PostgreSQL & Python in UTF-8Things to do:
last updated 2 years ago # Streaming HTML RenderThings are starting to come together. flup is doing it's thing and I'm slowly understanding WSGI. Now the real point of interest right now is the ability to stream html as it's being processed back to the client browswer (to increase the feeling of immediacy for the web-site as a whole). The template system I've built is a tree structure of segments and text-insertion-points with the possibility of repeating sub-components and conditional segments. That template structure is then merged with a data set (yet another tree structure of attributes representing the page's runtime data) which is rendered to a list for WSGI. Now I want to up the ante. My intent is to send an iterator/generator directly back to WSGI for the internal After the new Status: I've got the
def handler(environ, start_response):
template = loadTemplate('main')
dataset = #... load map based dataset
start_response(#...
return Render(template, dataset)
The I've decided to keep the incoming data-set as a Dictionary protocol. I think that's the most straitforward interface that should be both flexible and minimal. The only interfaces that the incoming data would have to honor is Status: I like the map interface for the data-set. The ability to do this:
def appOverview(env, form):
dataSet = {}
template = loadTemplate('main')
dataSet['title'] = 'Overview Page'
dataSet['tabs'] = tabs
dataSet['overview'] = {}
return Render(template, dataSet)
or this:
class PageOverview(CachedMapping):
def __init__(self, tabs):
CachedMapping.__init__(self)
self.title = 'Overview Page'
self.tabs = tabs
self.overview = True
def appOverview(env, form):
return Render(loadTemplate('main'), PageOverview(tabs))
is pretty nice. last updated 2 years ago # ErlFcgiI knew that Erlang was not totally devoid of FastCGI support. It turns out they have header support for incoming messages embedded into the standard OTP distribution. I saw the switch in inet:setopts/2 for The header information is included in the Now I'm taking a crash course in Erlang programming conventions ( Gentoo and Erlang? Awesome. I'm running off of the Fast Web Server example which is somewhat parallel to what I want to do. I'll see how far I can get before I get distracted by something shiny. Status: First I was sick, then I moved. Hopefully I can get back to working on this but I still need to setup my machines. last updated 2 years ago # Dynamic CalenderCreate a dynamic calender for navigation of blog (or as I like to call them, reverse chronological online journal) entries. I've already pulled the the atom feed so the data is there already. I just need to dive into the fascinating world of time and calendering. last updated 2 years ago # FastCGIWhat the heck is FastCGI and what can it do for me? I don't know if it's annoying or funny that I search for "erlang fastcgi" and this page is in the first set of hits. Update:
I think I'm starting the really appreciate flup. I can see why web.py uses it. In any case, I'm starting to figure out what FastCGI (a.k.a. FCGI) is all about. It really didn't start clicking for me until I read about the I haven't really learned the ins and outs of configuring Update:
I'm very very tempted to create an Erlang fastcgi interface. I did get Update:
Hosting service has all the hooks and last updated 2 years ago # Python parserSee what the Python Status: Terrible idea. It turns out that Another side effect is that I've taken to be quite keen on the idea of last updated 2 years ago # Blog IndexMight want to do an internal blog index using the same method of scraping that I'm doing for this front page. Cookies are used to save the subdomains of interest. The side bar would be the list of subdomains. Onclick for those items would populate the Cross sub-domain requesting. So painful. Status:Yeah. I'm close to giving up on this one. last updated 2 years ago # Make Time for BGL ExperimentsI need to make time for trying to to use the boost graph library to validate antenna path configurations (directed graph). Status: It turns out there is quite a bit of adaptation involved to get the compatibility for your pre-existing data structures. But that's fine. At least the possibility of using a C style data-structure that already exists for a non-trivial dependencies tools is possible and it certainly beats having to create parallel data-structures.
Side Effect: source-highlight is pretty cool. last updated 2 years ago # IdeaAJaX out the blog feed to the front page? I might do a mini-schema trick for the incoming feed xml. Things to do
last updated 2 years ago # What am I going to use this for?Well, I have a personalized infogami. Now I have to figure out what to to with it. I've taken a liking to infogami because it's free, spartan, new, and wiki-esque. I was highly pleased to see the Javascript infogami hit a spike in popularity but I think it's popularity was due more-so to an enticing title rather than the content itself (although it was helpful to me when I was writing it). That fun is over so now it's back to work. Chances are that I'm going to use this space for myself as a log of projects. It'll just happen to be public. last updated 2 years ago # |
infogami linksTools I useExperimenting withStill to learn |