tobyandlauren.id.au

BLOG PROJECTS FAMILY TREE
Subscribe by RSS feed

MySQLi and BitNami MAMPStack

Trick question – doesn’t exist. Use MAMP by living-e instead.

Read more

Flash - Loading data from HTTPS server

You have a Flash SWF file on server http://www.somewhere.com. You are trying to load data with a Loader or URLLoader from an SSL server https://www.anotherplace.com. You have set up your crossdomain.xml file on anotherplace.com to allow-access-from domain www.somewhere.com. You get a sandbox security error and it fails to load. But your crossdomain.xml looks fine. What’s wrong?

Read more

phpMyAdmin import timing out

So you’ve got a big .sql file to import, but phpMyAdmin is timing out after 300 seconds. You’ve set PHP’s upload_max_filesize to accept huge files, and the script timeout to some ridiculous figure. You’ve set every Apache directive you can find. But it still times out after 300 seconds.Here’s the answer. Go into /phpmyadmin/config.inc.php. Find $cfg[’ExecTimeLimit’]. Set it to something more than 300. Done.

Read more

Safari doesn’t display valid XSLT and XML!!

Actually, it’s not Safari’s fault. This has happened to me, and has sat in the too-hard basket for a few weeks, but finally I decided to fix the problem. It’s actually really easy.

Read more

Toby's First Law

If a section of code does not work, but after looking at it you’ve come to the conclusion that it simply has to work, it’s more likely that it’s a different section causing the problem and the bit you’ve been staring at the past three hours is fine.

Read more

Juno

So it’s a movie about a sixteen-year-old getting pregnant. I have to admit to Lauren that my enthusiasm for seeing it rather than, say, American Gangster was moderately feigned. However, entirely beyond my expectations, about halfway through it suddenly became really interesting.

Read more

Recording TV subtitles

We recently spent a very long time trying to solve a particular problem. How do you record a live TV show, with closed captions (subtitles), and play it back with the subtitles showing? Sounds easy, but it’s actually a bit more complicated than one might expect.

Read more

Balcony BBQ

This being summer, we were on the hunt for a barbecue. This being a tiny box of an apartment we live in, we were specifically looking for a tiny barbecue. We found it in the Coleman RoadTrip grill.

Read more

It's all good

So the new job is pretty cool. Actually everything’s pretty good. Life is nice.

Read more

A New Job

I can’t say I’m not excited about starting the new job on Monday. Because I am. Not ‘jumping on the sofa’ excited, because there is a kitten on it at the moment and she would be nonplussed. Anya does nonplussed very well. Her nonplussed expression only briefly predates her ‘I am trying to bite your fingers off’ mood, and is a good warning to desist what you were doing.

Read more