I found the API docs

5:23, Thursday October 2nd, 2003 • feeling webmasterly • no comments

Everything's OK. I have reasonable documentation!

With the help of about ten different pages, I created a simple handler module and installed it on to a virtual host by throwing stuff into my .htaccess file. I even have @INC pointing to a custom libs location so that I don't have to put it all into the root folder.

Check out mp.ben2.com. Try sticking stuff on the end of the URL.

mod_perl

3:58, Thursday October 2nd, 2003 • feeling webmasterly • no comments

I've got a job coming up where I'll be writing a bunch of Perl. I had a look at the response of the web server I'll be running on and found that it's running mod_perl. Ooh I thought, I'll go and have a look at that and see what it looks like.

What I found is a tutorial that tells you at great length that you will fall on your arse if you dare to use closures, or destructive subroutines in any way.

Duh!

Closures are interesting, I never really use them. Destructive functions however: that way leads pain. Welcome to the functional age, coders! By functional, I don't just refer to Lisp et al, I mean any code where a function is a black box.

Anyway, I just want to know how to write mod_perl programs that make pages. A great long page that tells me about the traps isn't actually very much use unless I'm in one. This is often a problem with educators. They know the gotchas are more important, but they assume that their students have a large capacity to remember a block of knowledge that doesn't relate to anything else yet.

Once I've written and run my first mod_perl script, I'll have a reference point. Then I will appreciate this advanced knowledge. But until it has something to link to, it's just a discussion on the nature of Perl, and therefore not what I need at all.

And I signed up for an exam to become a Sun certified J2SE programmer.

Hype version 2 redux

5:06, Wednesday October 1st, 2003 • feeling webmasterly • 1 comment

I've been working on Hypothetical today! I eschewed Lisp for a change and embraced PHP. I got quite a lot done. It's getting to the point now where it's pretty much succeeded the abortive v2, which isn't saying much, but there you go.

Features I implemented today:

The last day of september

15:06, Tuesday September 30th, 2003 • feeling relaxed • no comments

The last warmth of sun
One more hour in the garden
I long to remain

VPNs on OS X

13:45, Tuesday September 30th, 2003 • feeling relaxed • no comments

Are really easy to setup! No really:

  1. Open Internet Connect
  2. Choose "New VPN Connection" from the file menu
  3. Enter your VPN server, user name and password details
  4. Hit connect

This gave me a connection, but it also jiggered my routing table so that I couldn't see the internet. route made short work of this problem however:

  1. route delete default
  2. route add default $ROUTER_IP
  3. route add $FOREIGN_NETWORK $VPN_IP

Luckily the network I'm connecting to uses a different class C IP range, so the routes were easy to add. If there had been an address space clash I would have had to specify routes for the individual hosts in their network I guess.

Now that's all set up, time to load nmap :-)

Page 51 of 113

← previous page, next page →

Choose another page: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113 or return to the most recent entries.

Last updated at 11:32, Wednesday June 18th, 2008. All times are shown in 24-hour clock format and are BST.

Rate my journal on bloghop.com: the best pretty good ok pretty bad the worst

aftnn.orgafternoon's journal → page 51