Thea's Ramblings

Templating without templates - server-side includes

When you have more than a handful of pages on your site updating anything shared between them becomes tedious. Things like your site menu, a copyright footer if you have one, perhaps the default header and meta tags.

There were options. You could use a tool like Macromedia Dreamweaver, GoLive CyberStudio, HoTMetaL, or HotDog (one of New Zealand’s .com boom success stories!) to author all your HTML and copy the files you could use their built-in templating features, or copy/paste the changes.

If you weren’t rich enough to use those tools - they did cost quite a bit - you’d either have to roll your own using local scripts, or rely on server-side features.

The most obvious is PHP. This is one of the reasons PHP was created, PHP originally stood for Personal Home Page and was a CGI script. The original PHP syntax was very different to what ended up being PHP3, in fact it was very similar to what I’m about to use.

I’ve updated my website with all the pages, common elements brought to you by Server-side Includes!

Read more

Behind the scripts

As promised, I’m going to go through how the CGI scripts work. This is not a Perl how-to, or even an example of good perl, but more a description of the process of writing any CGI script.

You can download these scripts from my script archive!

I’ve also fixed the guestbook on the site!

Read more

Adding interactivity without an app server

The next instalment in building a website like it’s 1999 - adding some interactivity! After all if people can’t submit things on your website how else will you hear from them?

I’m going to add two critical parts of a 90s website - a hit counter and a guestbook.

The counter is on the homepage, as it should be.

The guestbook page now works! It has a completely different style from the homepage, as was the fashion at the time. You have to show off all your design skills.

Read more

Web design constraints of the late 1990s

Yesterday’s post was getting a bit long, so for those who weren’t doing web design in the late 90s/early 2000s here’s some background.

The constraints of 1999

The late 90s were a time of rapid change in the world wide web, the first big browser war was brewing. Netscape Navigator browser got bloated with the Communicator product they were pushing and Microsoft’s bundling of Internet Explorer with Windows rapidly pushed Netscape out of the market. Both implemented parts of HTML4 and CSS 1 and 2 in differently buggy ways, and they both had different ways of using JavaScript to animate elements on the page. Back then we called it Dynamic HTML!

Read more

Website design in 1999

I’m not going to keep up the narrative style from the last post, so from now on it’s back to first person.

In this post I’ll go through the design updates, and I’ll post a follow-up detailing the constraints that went in to this.

Read more

Setting up a webserver like it's not 1999

So to follow along at home with my website like it’s 1999 series you’ll need a webserver like it’s not 1999. A genuine 1999 webserver would last about 15 minutes on the modern internet.

To set up your own server you’re going to need some degree of experience with UNIX-like systems, DNS, and domain management. I’m not sure if there are many tutorials on this out there, I learnt them a long time ago.

I’m using a virtual machine on my home server, because I’m the sort of person who has a home server. But here’s what I did:

Create a virtual machine to run the server

You could use whole physical machine if you have one handy. I created a VM with 12GB of disk space, 512MB of RAM and 1 vCPU.

An ISP would be able to afford a system with more disk space than this in 1999, but a single core of my 3.5Ghz Intel core i5 4690 would far outclass anything an ISP ran in 1999, even if it is 10 years old at this point.

Read more

Lets make a website like it's 1999!

To change from my regular ramblings about healthcare and reading one to many rose-tinted reckons about how things used to be, let’s make a website like it’s 1999!

What this is and isn’t

My aim is to show how you got your site online in 1999, but not to be historically accurate, so

But I will show how we made websites dynamic and the compromises made when you had limited space!

I’ll make another post on the server setup if you want to follow along. Ask nicely and I might just give you access to TheaNET.

Read more

Taking progesterone after food

Everyone lucky enough to be prescribe progesterone in the form of oral micronised progesterone capsules has probably been told to ensure they take them on an empty stomach. This isn’t that uncommon with medications, eating can affect the way they are absorbed. Out of curiosity I wondered what the problems are, in case I forget and have a snack just before taking it.

First, a caution. Always take medication in the manner prescribed by your doctor. This information is just for curiosity.

It turns out there was a study done in 1993. Micronised progesterone for oral administration came to the market in 1980, so it’s been around a while and a lot of the studies are fairly old. It’s a well understood product.

Read more

Oestrogen, blood clots, and you

One thing everyone who takes oral oestrogens, whether for contraception, menopausal HRT or gender-affirming HRT, gets told by their doctor is that oral oestrogen raises the risk of blood clots - called a thromboembolism in the medical world. However we’re never really told what the risk actually is. If the rate without the medication is 1 in 100,000 per year and the increase in risk is 10% - to 1.1 in 100,000 of people on the medication - then perhaps it’s not a problem? But if increase is to 50 in 100,000 - a 500% increase if I can do maths today - then that might be more concerning.

So let’s dig in to the literature again!

Summary (for the TL;DR)

Yes oestrogen HRT increases the rate of blood clots, but dose doesn’t make much difference when using bio-identical 17β-estradiol. The difference in risk of using pills, patches gels or injections is still not clearly understood. The rates reported are not adequately controlled for dose form, oestrogen type, and additional risk factors.

Synthetic oestrogen such as ethinyl estradiol have a much higher risk than bio-identical 17β-estradiol.

Overall the risk of HRT containing bio-identical 17β-estradiol is higher that the general population, but still a very low risk.

Read more

Beginner, Intermediate, Advanced... Biology!

Short post time!

Basic biology says that having an XX or XY karyotype determines reproductive organs.

Intermediate biology says it’s the SRY gene, which is normally on the Y but can be on the X.

Advanced biology says we have no idea and it could be anything!

SRY-negative 46,XX male with normal genitals, complete masculinization and infertility