Posts Tagged html

Should a new programmer learn Javascript first?

If you want to be a webmonkey / script-kiddie, sure, learn Javascript first and to heck with a quality skillset. But is that what you want?

On the other hand, if you want to be a quality programmer, that is, a good programmer?—?and not just hope or falsely claim you are one, because hey, you can actually write one— what you have to work through is a six-step language set:
Read the rest of this entry »

Tags: , , , , , , , , , ,

Colored reports for text and HTML in Python

One of the things that I face regularly is report generation. Often they’re free form, by which I mean not tables full of tabulated data.

Output from my htmlAnsii() class

Output from my .htmlAnsii() class

Just “is this ok, is that ok, 27 of the other happened”, that sort of thing. I like to use color — green if everything is ok, red if it isn’t and so on.

I’m often out where I want the report in a web browser. But then again, I’m often at my desk, signed in to a console and I want it there. The environments couldn’t be much more different; HTML tags on the one hand, within the wrapper of a page, and ANSII escape sequences on the other. And they’re both kind of annoying and error-prone to write out explicitly, especially when you’re doing it a lot.

What to do?
Read the rest of this entry »

Tags: , , , , , , , , , ,

Online Docs for SdrDx

I am pleased to introduce online documentation for SdrDx. This marks a sea change, where we move from a text file, buried in the distribution, to a system where everyone is looking at the same document, one that is easier to read, to look at and in general to deal with. It includes a table of contents, an index, visual cues for user interface elements and so on.

The link is on the SdrDx page, and the next release of SdrDx will take you there directly.

Comments and corrections are welcome, of course.

Tags: , , , , ,