Auto-dark mode in WordPress

screenshot

I’ve spent most of today moving my website to a new host, and while I was doing it I wanted to add a dark mode.

It took quite a lot of fiddling around, but now I’ve got the site to automatically switch between light and dark mode based on the OS mode. I use macOS, and it automatically switches to dark mode at night-time. Now my website switches along with it!

Continue reading “Auto-dark mode in WordPress”

What’s the best software for creating graphs for journal publications?

Preferably GUI-based with EPS output.

New website

It’s time for another new website! I hope you like the new look.

The move was kind of forced on me, as Tumblr is no longer working in China, so my old website (which relied a lot on Tumblr’s servers) was looking rather sad. Starting my new job, I’ve been linking to my website from a number of professional sites, so I wanted it to work properly again.

I’ve moved from Tumblr to WordPress, and I’m very pleased with the new look. There are sure to be a few teething problems, but overall it’s been quite a smooth migration process. There are a few headaches with images embedded in the blog posts though.

Take a look around and let me know what you think!

Alternatives to Flickr

Since moving to China, I’ve had to move a lot of my internet around:

Now I’m looking for a home for my photos.

My ideal is the iCloud Photo Library: all my photos online, seamlessly available to stream to iPhone, iPad and Mac, and all backed up. This is exactly what I want. At the moment I’m trying to get it for free—as my photo library is over 50GB I would have to give Apple some money each month to look after my photos for me. I may end up having to pay as I haven’t found a viable alternative…

In the UK, I was using Flickr. This is great because it has the automatic backup, it has 1TB free storage, and has very nice sharing features. Sadly it’s not available in China.

I’ve just spent some time looking into 500px and Photobucket. Both look pretty good, but the free accounts only have 1GB and 2GB of storage, respectively.

So here’s my question: is there anything as good as Flickr, or better, in China, for free? My guess is: no.

Whirlwind

Ten days ago I was feeling happy and fat after Christmas, but I had no idea what I would be doing for the immediate future. Since then so much has happened it feels like I have been picked up in a whirlwind! It’s so amazing to look back on what has happened and see how God has been leading me through.

Continue reading “Whirlwind”

iCloud

iCloud

Can scientists be social?

Yesterday I wrote about my quest to find good ways of reading the articles and other content I need for my research, and talked about the two tools Flipboard and Pocket that can make this a bit easier.

The next thing I’m looking for is a way to discover the papers and articles that I should be reading but just don’t know about. At the moment I do this manually by subscribing to journals and news services that I then flip through with Flipboard to find something interesting.

Continue reading “Can scientists be social?”

Keeping up with reading

One of the things I find hardest about being a scientist is keeping up-to-date with all the latest research. A number of times I’ve worked on some problem for days, weeks and even months before finding out that someone else has already solved the problem!

I’ve started looking to internet tools to help me keep up to date. My favourite two at the moment are Flipboard and Pocket.

Continue reading “Keeping up with reading”

Migrating from Outlook to Windows Live Mail

Ugh. What fun I have had. For those of you that want to know how to do this without reading the hoops I jumped through, here’s a summary:

  1. On the same computer Outlook is on, open Outlook Express (XP) or Windows Mail (Vista)
  2. Import the Outlook data
  3. Save the converted mailbox store somewhere helpful
  4. Open Windows Live Mail where you want the mail to be
  5. Import the converted mailbox store

Sounds simple, right? No.

This all started because I’m helping a friend set up their new computer, including transferring all the Outlook data. The old computer is old and running Windows XP and Office 2000 Professional very slowly! The new computer is running Windows 7 Home Premium and Office 2010 Home and Student, which does not include Outlook. To get Outlook involves paying another £80 or so.

So first off, I went into Outlook on the old computer and looked for the export settings, found these OK and started with the calendar and contacts, export to CSV, looks simple. A lovely little Microsoft box pops up saying that this feature “Import and Export Module” is not installed, and could you possible put in the disc for Office 2000 Professional that you had 10 years ago? Unsurprisingly, this disc was not forthcoming. This is why I always tell people to select full installations – disk space is so cheap these days. This is also why I tell people to keep all the discs somewhere safe…

So, short of finding a copy of Office 2000 Professional in a friend’s dusty attic or on the dustier side of the Internet (of course, Microsoft don’t support it any more), the only export option available is to PST. Now, as far as I know, PST is a proprietary format, only used by Outlook. Not great for importing. But at least it’s a backup.

I then went onto the new computer and opened Windows Live Mail. I looked for the import function – after working out how to show the menu bar and find the File menu, the only options are to import from Outlook Express, Windows Mail or Windows Live Mail. Boo…. So I downloaded a trial version of Outlook 2010 and imported the PST file – all fine, everything is in there, I just needed to get it out!

Again I started with the calendars, as they should be easier than emails. I found a Save As function and exported the whole calendar to an iCalendar file. Simples. Then I went to Windows Live Mail and tried to import the file. No such luck. After scraping the Internet for a while, the only way seems to be to set up a Windows Live account, import the calendar file online, and sync the computer with the online version. I tried to do this, but the online import kept crashing after a certain amount of events. I got around this in the end by exporting the calendar from Outlook as ten different iCalendar files, all for a certain time period, and importing them one at a time… Not nice.

Then the contacts. There doesn’t seem to be a Save As or Export option for contacts in Outlook. I did find a Share by Email option, so did that and saved the attachments as vCard files. So far so good. However, the only way I could find to import them into Windows Live Mail was to double-click each contact individually! Aaargh!!

Anyway, everything’s in there now except the emails. And this is the tricky bit. With a nice ISP that lets you use IMAP, there wouldn’t even be a problem, all the emails would be on the server ready to download. Stupidly, BT don’t think this is a good idea. So in Outlook, my friend has ten years of emails downloaded over POP – *sigh*.

I won’t list all the things I tried, because it would take too long. Transferring them via my own GMail account would have worked, but I estimate it would have taken over 40 hours. I found the answer on a number of forums (thanks Mark) but it’s not possible on Windows 7. So I took the PST file home to my MacBook, which has Windows XP and Office 2007 Enterprise. So my poor Mac is sadly running Microsoft software and imports the PST file to Outlook fine. The trick now is that Outlook Express on XP and Windows Mail on Vista can communicate with Outlook. So I opened Outlook Express and managed to import all the Outlook data, which it saves as DBX files in a mailbox store. By going to Tools > Options > Maintenance > Store location you can find the store or move it somewhere more memorable. I then opened Windows Live Mail on my MacBook too, and found the import from Outlook Express option on the hidden File menu. Hooray, the emails are there in Windows Live Mail! At this point it seems like a miracle!

All that is left is to move the store (Tools > Options > Advanced > Maintenance > Store location) to my friends computer and get the folders in. Hopefully that should be the easy part…

My advice, as ever: Get a Mac.