Josh (the blog)

I’ve delivered simple, clear and easy-to-use services for 20 years, for startups, scaleups and government. I write about the nerdy bits here.


@joahua

A more usable WordPress Upload

As a user, the WordPress administration panel Upload facility always frustrated me. It was useful, and quicker to use than FTP in most cases, but the paths it generated for images automatically always needed to be edited before use.

This was, primarily, my own fault – but I’d set things up that way based on the advice of the WordPress administration panel. On the Miscellaneous Options page (/wp-admin/options-misc.php in a typical setup), it proposes two “recommended” paths for both the Destination directory and the URI of this directory, typically your WordPress installation’s wp-content folder and its corresponding absolute URI.

This is simply manipulated into a new string when files are uploaded to generate a tag you can copy and paste into a post – a realisation that should have hit me long ago.

On this site, for example, the recommended URI string is “http://www.joahua.com/blog/wp-content” – note the lack of trailing slash and absolute nature of the path. I only just realised that this was the basis of the string, and so got rid of my trailing slash (I insist on having such things!) and trimmed off the “http://www.joahua.com” – this means the Upload-generated tag now gives a relative URI. No more chopping and changing the generated tags for me!

My HSC timetable

HSC timeline

I’ve “stickied” this post because

lots of people a handful of relatives and friends wanted to know what I had when.

My HSC timetable
Course Exam Date Time
English (Advanced) Paper 1: Area of Study 17/10/2005 9:20
Information Technology Examination Information Technology Written Examination 17/10/2005 13:55
English (Advanced) Paper 2: Modules 20/10/2005 9:25
English Extension 1 Written Examination 31/10/2005 9:25
Modern History Written Examination 3/11/2005 9:25
Business Studies Written Examination 9/11/2005 9:25

CurlyEnc 0.1

This is a simple WordPress plugin that allows you to copy and paste from word-processing software that automagically does smart quotes conversion (curly quotes). You can do this without using this plugin – but the characters aren’t proper HTML entities and it’s dirty. CurlyEnc converts curly quote characters to their proper HTML entity codes – something WordPress does perfectly fine with normal quotation marks, but not with these ones.

Simply upload CurlyEnc into your plugins directory and enable it from the Plugins section of your WordPress administration panel, and it should* work.

  • No guarantees, no promises. If your weblog sprouts furry ears and starts chasing your mouse, so to speak, I accept no responsibility. Yada yada. Happy to try and help. More seriously, I don’t know that much about character encoding, so I wouldn’t be entirely surprised if my magical character is something of a dud on some installations. I know it’s a good concept, and this is my best implementation of it – if anyone else has a better idea as to how it should be done, please share!

On a related note, it’s released under the GNU GPL — you can have that five lines of code for free! Sorry, no steak knives.

View the PHP source, or download a plain text version.

Seminar snippets

Or, how to end a content-drought. It seemed fitting that content should come from one of the things that has distracted me from producing content here!

Two people (Alex M and Dean) bothered to get dressed up for today’s festivi… err… assessment, pictured here for your amusement… or their humiliation… or something.

Alex, dressed as Ralph from The Portrait of a Lady.Dean, dressed up... as himself... or at least no-one in particular from the nineteenth century!

Theoretically, this is an academically focussed class, although some would have us think otherwise. A video, featuring Alex M and Marcelo, (2.1MB, WMV format) for your amusement. It quickly dissolved into… something else!

Sorry Mac (or Linux!) users, no other formats at this time, until I can figure out how to compress Xvid well enough (at best, slightly more than twice the size of the WMV).

Extension 1 presentation

At least one of these has to work okay with the school’s technology…
Native OpenOffice
MS Powerpoint

Macromedia Flash
Adobe PDF

Josh really really really hopes fonts embedding works properly

Aaaannnddd the Flash version worked great, fonts and all! Thankyou, OpenOffice!

Fulltext of the presentation, with slide cues, as promised. PDF, filesize: stupidly large (280KB). Don’t know what happened there!

As for the content of the thing, no jokes are required about me being unable to write an essay/speech without reference to accessibility! It’s purely incidental, I promise! On a slightly more serious note, if some of the sentences utterly suck, chances are I didn’t speak them that way… my paper version had a few pencilled-in corrections, and then there was the inevitable “read but speak differently” factor. The end.

Read on for a HTML version of the same.

Seminar Presentation

Conveying an understanding of the nineteenth century world, and the way in which composers have sought to comment on the institutions and values of the period through critical and creative works.

The nineteenth century world, as presented by various authors of that time, was a period of questionable and oppressive values, in which the individual was significantly burdened by the expectations placed upon them by society. One of the more insightful models developed to explore or explain the presence of values considered to be oppressive or otherwise inequitable in nineteenth century society was the notion of a “compact majority”, devised by playwright and poet, Henrik Ibsen.

Ibsen argued that, within society, there exists two key groups. In this model, the group generally identified as the proletariat is referred to instead as the “compact majority” – that is, the value accepting group. This “compact majority” is seen to accept the dictat of the value-generating/value-electing group – that is, “the establishment”, which is comprised of various influences, including political bodies, religious groups, and educational institutions – all of whom are responsible for creating and disseminating values. These are the two key groups within society, although Ibsen suggests that there is another still. He terms them “fighters at the outposts” – this group rejects the values imposed upon them by society, or, at the very least, is seen to challenge them.

In Ibsen’s own works, we see key figures such as Nora and Dr. Stockmann, as well as supporting characters, such as Captain Horster and Petra, portrayed as these “fighters at the outposts”. The manner in which Ibsen critiques society is consistent with this model, which itself invites further discussion.
Ibsen’s criticism of “society” here is confined to a particular aspect of the same. Perhaps inadvertently, he excuses the “compact majority” and, on the charge of social injustice, instead foregrounds the value-electing group as sole perpetrators – they appear to be offered in appeasement, a propitiation for the crimes of society as a whole. Consistently, it is those with power depicted as being guilty of committing crimes against the individual in nineteenth century society – and this is not confined solely to the works of Ibsen.

Whilst discussing Ibsen, however, it is worth noting that this concept of the powerful oppressing the individual does not function in a pseudo-Marxist political framework – quite the opposite. In Act Four (IV) of Ibsen’s play, An Enemy of the People, Dr. Stockmann declares that “The minority is always right.” He is speaking of the fighters at the outposts. For him, the resistance shall always be a minority movement – the masses are controlled by the value-electors, who, strangely enough, “approve of the very truths that the fighters at the outposts held to in the days of our grandfathers.” Placing aside all argument regarding the apparent futility of their cause in light of this extreme relativism, it is clear that Ibsen holds the establishment-opposing minority of “the outposts” to be correct.

A recurring feature of texts studied and considered to be the canonical works of the nineteenth century is this lucid critique, obviously directed not at any “common” people, but at the value-setting classes and bodies. For this reason, Ibsen’s model is rather insightful, especially given that he did not have our present benefit of hindsight.

Ibsen’s rather explicit identification with an elite minority is something other authors and playwrights of the period perhaps do not as candidly express, although analysis of their works would suggest that many of Ibsen’s peers agreed with him in this. A commonly heard criticism from this class is that the writing styles employed by authors – especially Henry James – of 19th century literature are long-winded and overly conversational in nature. Ibsen is spared this criticism as a small mercy of translation, and James has the defence of his deliberate speech when dictating his works to a scribe – both these aside, the ‘accessibility’ of these works has often been criticised – and not without reason.

“Shakespeare was written for the masses.” This notion is indoctrinated into students throughout high school, to the point where it is possible to make the assumption that any archaic language in canonical works was once perfectly intelligible to the common people. Needless to say, it wasn’t.

Even Henry James’ peer and friend, Edith Wharton, has expressed difficulty in comprehending James’ languid style, however, of greater importance is the accessibility of the text to the common people. Regardless as to the message within a text, this must be encoded in a form the target audience is capable of understanding. A Marxist criticism of literature is quite applicable here – without a doubt, much of this literature we now see to have had an impact in the nineteenth century was inaccessible, employing a lexicon beyond that of much of the population. Composers have sought to comment on the institutions and values of the period not through a blatant and “accessible” appeal to the common people, but in another way.

Both James and Wharton are somewhat self-critical in their writings, in the sense that both belong to the aristocratic element of society that they sought to criticise. Wharton’s The House of Mirth, although written in 1905, may be viewed a product of the century prior in terms of the values it criticises. Whilst contemporary sensitivities may cause us to reject the notion that such criticisms are timeless, there is an element of truth in such a proposition; certainly, society had not seen that much change between the previous century and 1905. Both works critique the indolent nature of these classes, as well as the nature of relationships and the influence of wealth upon these.

Notably, social criticism in both these works is confined to the value-electing group, without allusion to the wrongs of the “compact majority”. This is consistent with Ibsen’s criticism of society – the “compact majority” are largely ignored, the group of lesser consequence in the scheme of things, for if social issues are to be resolved this must, apparently, be achieved from above.

The texts examined thus far all contain characters of greater wealth and status than perhaps would be considered representative of the typical person in this period – perhaps this is justification for the focus on the ills of the value-setters?

Thomas Hardy’s Tess of the d’Urbervilles is set in the imagined county of Wessex – the purpose of this “imagined” county being to capture the cultural atmosphere of the English countryside, prior to the impact of the Industrial Revolution. From the location alone, Hardy has refrained from a direct critique of the members of a moneyed aristocracy, and yet, by the end of this novel, the nature of criticism is perfectly clear.

Alec d’Urberville is the most explicit figure of such aristocracy in this text, portrayed as having come into money, and acquiring the all-but-forgotten name of d’Urberville – one of many aspects of this text foreshadowing the demise of Hardy’s protagonist. As an object of criticism, Alec is mostly left alone for the earlier parts of the book – following his rape of Tess, Alec quietly disappears, as more poignant criticisms of society are elucidated by Hardy, in the development and subsequent fall of the relationship between Angel and Tess – Hardy criticises the institution of marriage, and, through this, the oppression of women in society. Tess is portrayed as being unable to survive alone. Alec d’Urberville is brought back into the flow of the text, first with Hardy’s masterful use of irony, in a form that criticises the notion of forgiveness within Christianity, and highlights the hypocrisy of the institution of the church itself, and subsequently, most importantly, to make Tess dependent upon him, as she struggles to escape from poverty at Flintcomb Ash whilst still attempting to support her mother and siblings.

As with Ibsen, the criticisms in this text are primarily directed at the institutions of the nineteenth century, rather than at the common people. Tess is presented as being blameless, and the faults of her father and the other occupants of her birthplace are depicted with far greater compassion than Hardy’s portrayal of the hypocritical and flawed nature of society’s value-setting institutions.

So what are these “value-setting institutions”? Some have already been defined. The governing bodies, the church, educational institutions. But there are other groups beside these, less often subjected to criticism. Poet and translator Augusta Webster satirically writes in her poem A Castaway of how “worthy men… think all’s done” if the people can just be made to listen – satirical not because the people refuse to hear, but because their listening serves to resolve little. The speaker in Webster’s poem is a prostitute, who declares herself modest, launching into a criticism of all professions – lawyers, preachers, doctors, journalists, tradesmen…

This sort of blanket criticism is easy to disregard, however, other texts are seen to support such a viewpoint, though their expression is less explicit. The question at this point is how does one define this ‘blanket’ group? In Ibsen’s An Enemy of the People, the protagonist attempts to warn the community of a danger in their midst, and is ostracised for it. It is clear to the reader that the community will eventually fall prey to the contamination, and in this way Ibsen passes judgement on another institution – that of the “community”.

It is this notion of community, sacred in Victorian thought, that is seen to oppress the individual. This “community” is comprised primarily of the value-accepting “compact majority” who are seen to enforce the values of the establishment. The way in which composers have sought to comment on this is two-fold, with some electing to criticise the value-setting classes alone, in an attempt to instigate change from above, whilst other authors, such as Ibsen and Webster, instead launch their critique at the masses, who, by their passivity and acceptance of values, are seen to be in conflict with the individual.

The values of the period, as well as the institutions responsible for dissemination of these, have been commented on and criticised by composers in a variety of ways. The nature of this comment is seen to depend on the author’s own background, and, through exploring this, a greater understanding of the nineteenth century world is developed.