The time I (inadvertently) named a bus.

I was (I think) at Tampines interchange one day with a few close friends – they were also bus enthusiasts – chatting about buses, transport, and everything else.

One of the topics brought up was the new bendy bus SMRT had just taken on to their fleet: a MAN A24 fitted with a body by Gemilang Coachworks. It’s the first bendy bus they’ve had for almost a decade – the last was registered in 2004.

As we discussed the new MAN bendy I eventually dropped “Ben” from the name, calling it “Mandy”. I remember we realised it was a rather ironic nickname – after all the bus was a MAN!

And so I used that name online on Facebook and on forums, and that was how everyone started calling SMB388S “Mandy”.

(Now to think of another nickname for the new MAN double deck SMRT just revealed. Also, MANDeck is a stupid name.)

Office Tip: Merging two Word documents

My project group were working on a concept document, which was saved in a Dropbox shared folder. Unfortunately, more than one of us were making changes simultaneously, and we ended up with two slightly different copies of the file: filename.docx, and filename (Joey Foo’s conflicted copy…).docx.

What the easiest way to merge the differences between two documents together? Answer: it’s built into Word itself.

On the ribbon, go into the Review tab, click Compare, then choose either Compare or Combine. I want to merge both documents into a single one, so I’ll choose the latter.

tips-word-merge0

In the window that opens, specify both the original document, and the revised document, then click okay.

tips-word-merge1

Word will open up a new window with the document for you to check through, along with both documents on the side for comparison.

tips-word-merge3

Check through the document, then save it to finish the process.

The Office suite is a very powerful set of tools: there are many more features and functions than what most people know of. If you need a function and don’t know if it exists, hit the F1 key on your keyboard to open Office’s help function, and do a search!

End of the road: openBVE add-on C751A v2.1

I have just published the very last release of the C751A add-on for openBVE, a free, open-source train simulator.

Unfortunately, development of openBVE has in recent months slowed down significantly. There has not been an update for months.

Version 2.1 will be the very last update to the relatively popular C751A add-on – a digital recreation of the 6-car Alstom North East Line trains.

To everyone who downloaded and enjoyed the add-on, a sincere thank you, for your support all the while.

This is the end of the road for the C751A add-on, and there will not be further updates, as I move on to pursue other interests.

-Joey


joeyfoo.com/openbve <- Download here
SGTrains forum thread

Getting started with ComputerCraft!

This is the first in a series of posts on getting started from scratch – with ComputerCraft. I’m playing on a private Creative server (which sort of requested these tutorials), so these posts will cover computers more than turtles.

computercraft-workbenchIn this first post, we’ll cover the basics of using the command line: navigating, listing contents, and creating and deleting directories.

~~~

Alright, moving on! Let’s craft a computer!

crafting-computerUhh, yeah, just get a computer from the Creative inventory and place it down. If you’re playing in Survival, here’s the crafting recipe.

Next, right click on your computer.

Welcome to CraftOS! CraftOS is the default operating system that is found in your computer. It uses a command line interface, much like DOS, or the Command Prompt or Terminal on your actual machine.

You can issue commands on your computer. Let’s try ls. Type the command, then press enter. Also note: commands are case-sensitive!

ls stands for list, and is a command that lists all items in the current folder, also known as the directory.

commands-ls1Notice there is currently only one item in the directory, named “rom”. “rom” is a directory, standing for read only memory, and contains files that allows CraftOS to work. As its name suggests, you can only read items in rom, but you cannot change (or delete) them.

We’ll play with a few commands next: they are cd, mkdir, and rm.

Let’s start with mkdir, which stands for make directory. However, if you try to run mkdir, you will get this:

> mkdir
Usage: mkdir <path>

You need a name to name the folder! I’ll name my directory “name”, so I’ll run mkdir name. I’m not very creative with names.

If you try ls again, you’ll notice we now have a directory, named “name”.

You can navigate into that directory using cd, which stands for change directory. Enter cd name. You can see we are now in directory “name”.

Next, we will enter a series of commands.

mkdir name2
ls
cd name2

At the end, you will notice the area before your cursor states name/name2> . Commands take place inside where you currently are, as indicated there. When you are in folder “name”, and you create a folder, you will have a folder created inside of name.

commands-mkdirYour computer’s files and directories currently looks like this:

  • / (We call this the root directory)
    • /rom
    • /name
      • /name2 ( <– you are here)

To go upwards in the folder structure, you use .. (two dots). .. can be understood as “one level up”, so entering cd .. will bring you back to “name”.

Paths like name, name/name2 and .. are known as relative paths, because they are applied relative to where you are now.

Next, try cd /rom. You will navigate to “rom”, regardless of where you are.

Paths like “/rom” are known as relative paths, starting from the root directory, which in this case is indicated by the preceding / (slash). As a comparison, on Windows absolute paths looks like C:\Program Files.

Let’s now navigate back to root, by entering cd /, and listing the contents of root using ls.

Before we end this post, let’s clean up after ourselves by deleting the folders we have created. You can delete “name” and its contents (name2) using rm name. rm stands for remove, and works with both files and folders.

Notice that, unlike your usual computer, there is no confirmation prompts when deleting. Files and folders are immediately deleted, so always be careful with such commands.

Extra: If you try to rm rom, you will get an error:

> delete rom
delete:9: Access denied

This is because rom, as mentioned earlier, is read-only, so you cannot edit or delete it.

Occasional rambing, sometimes useful posts.

Follow

Get every new post delivered to your Inbox.

Join 718 other followers

%d bloggers like this: