Home

Stuff that I’ve done at home, not really school related but I feel they need to be documented somewhere…

Fixing a Barcode Reader Trigger

A few years ago I bought a barcode reader for use in a school Library. It was a Cino 780BT, Bluetooth, nice base station, glorious battery. It was a really nice unit.
One slight issue: The trigger switch on them sucks.  The first one we warrantied and got a replacement, the second one developed the same fault after a year or so of use too. The first time it happened the switch had come loose from the board, so I resoldered it back on (it’s a SMD switch, so there wasn’t much holding it on).
I contacted the company, they wanted me to send it back to them to fix (and charge me for it), the switch would be $20 + labour to fit it. I figured since it was out of warranty I’d give it a shot and see if I could replace it.

I couldn’t find a decent switch to fit (I tried to repurpose a switch from a mouse, but I couldn’t get it to fit right), so I used a switch from my Mechanical Keyboard sampler kit (it has 4 different types of switches to try out to see which one you like).

So: Little bit of soldering and some hot glue later, I have a working barcode reader again!IMG_1432

Read More to see some in progress pictures!

Continue reading →

Posted by duck in Home, How-To Guides, School, 2 comments

Traffic Logging with Asus RT-N56U

UPDATES! 21/6/14: Use a different interface that does just WAN traffic and made the cron thing actually work. Scroll down for the green bits (padavans firmware only though).

I’ve spent the last few days fiddling around with network traffic monitoring on my modem so I can track downloads for each different computer on my network. This article is a how to guide and a set of notes about getting it working.
If you want to follow this guide, you will need an Asus RT-N56U or one of the similar models. You can also mostly follow this guide using any OpenWRT routers (but you will need to adjust as you go to suit your router). I initially set it up using the stock firmware on the RT-N56U, however I ran into issues where it was reporting the wrong amount of traffic. After I installed the Padavan’s Firmware, I still had the same problem (I later solved it by disabling hardware NAT below). In theory this technique should work with the stock firmware and I’ll detail it below as well as how to get Padavan’s Firmware up and running too.

The final result of this is to be able to see a screen like this:
Screen Shot 2013-12-31 at 11.49.33 am

Continue reading →

Posted by duck in Home, How-To Guides, 31 comments

MacBook Pro Retina Going to Sleep on Battery in Mavericks

I recently got myself a MacBook Pro 15″ Retina and noticed that in Mavericks they have removed the option to have separate timers for display sleep and computer sleep.  You can turn off sleep mode  when you’re running on AC power, but not when you’re running on the battery.

The problem with this is that I want the display to turn off to save battery power, but I want all my background processes (eg. Adium/Colloquy) to continue running and for it to stay connected to wifi, but when the display goes blank, it goes straight to sleep and disconnects everything!

The fix for this is to manually set the options via pmset in the terminal. To do this, you’ll need to do the following:
1.    Open Terminal (it’s in the Utilities folder under Applications)
2.    Enter the command:  sudo pmset -b sleep 0
3.    Enter the command:  sudo pmset -b standby 0

You will need to enter your password after running these commands (if it asks for it).
For more information about what this command does, check here:  https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/pmset.1.html

Hope this helps someone 🙂

Ducky

Posted by duck in Home, How-To Guides, IT Issues, 7 comments

How to throttle Skype so it doesn’t use so much bandwidth.

I’ve done this as both a Mac and PC guide, the PC way of doing it is actually a little easier (but I use a paid program for it).
I’m on a 100mbit connection with a 720p iSight camera on my MacBook, so it uses about 500KiB/s of uploads (+ whatever the person I’m talking to is sending me back) which turns out to be something like 2gb an hour. This being said, Skype runs just fine on 50-100KiB/s.
When you turn on the speed cap thing, give it a minute or so and Skype will automatically adjust the video quality to suit the bandwidth available to it, so set your limit, then chill for a bit and see if you’re getting the quality you want

Mac
You’ll need a program called Entonnoir (it’s a free one).
Download it, and pop it in your Applications folder.
In Skype, go to Preferences and check the port number under the advanced tab.

Screen Shot 2013-11-05 at 9.05.15 am

Now, in Entonnoir, hit the + button, set the port number to the same as the one in your Skype Prefs and set your limits.

Screen Shot 2013-11-05 at 9.05.39 am

PC
I use a program called NetLimiter. It is glorious and I use it a lot for scheduling downloads (like game downloads through Origin/Steam where there’s no scheduling function built in) to run during off-peak download times.
Simply open up NetLimiter, tick the button next to Skype and enter a limit in.
If you know of a free equivalent for NetLimiter, post it in the comments!

Posted by duck in Home, How-To Guides, 0 comments

Measuring Area on a Map with Photoshop

Here’s a quick guide I wrote on how to use Photoshop to easily measure an area on a Map using Photoshop.

In this guide I’m using Photoshop CS5 for Mac, most of the concepts will be similar for the other versions.
First up: Scan your map and get it into Photoshop

Working out the Scale

1. If you’ve got a scale marker on your map, use that, otherwise you’ll need to measure a distance that you know, in this case I used a basketball court (marked as 20mx33m).
2. Use the Ruler Tool in Photoshop (hidden under the eyedropper tool) and select the distance for your scale.

3. In the ruler tool options (top of the screen usually), make sure “Use Measurement Scale” is unticked. Then look at the L1 value. Write this number down!

4. In my example I got the value 246.88px. So from this we can work out that there’s 246.88 pixels in 20 meters.
This gives us 12.344 pixels per meter and if we square it we get 152.374px per square meter.

Highlighting the Area

1. Make a new layer, and using a wonderful bright colour, paint over the area you want to calculate the size of. Make sure you set the brush to have a hardness of 100%.

2. Use the Magic Wand Selection Tool to select the area you just painted. Set the tolerance to 1 and untick Antialias and Contiguous (it should select everything you’ve painted).
3. Go to the Window Menu and bring up the Histogram. If it doesn’t have the numbers underneath it, click the drop down box in the top right hand corner of it and go to Expanded View.

4. Change the “Source” dropdown box in the Histogram window to Selected Layer and write down the number under Pixels. I got 157,529px.

Doing the math

So we know that one square meter is 152.374px and our selected area is 157,529px.
So we do some quick division: 157529/152.374 and we get 1033.83meters^2

If you used this or have any corrections, please leave a comment 🙂

Posted by duck in Home, How-To Guides, 20 comments

Papercrafting with Aluminium

Papercrafting with aluminium cans

I wanted to see if papercrafting was possible using aluminium cans (ie. Coke cans), I did a bit of a google around and there doesn’t seem to be a lot of information on the subject, so I figured I’d do some research and try a few techniques out to see what I could come up with.  I’ve split this into sections to make it a little easier to read.
If you’ve never made anything out of papercraft before, I suggest you look elsewhere Papercraft Museum and make something out of paper, it takes a significant amount of more effort (and time) to work with aluminium.

Flattening the Cans

First up, I used a knife to cut the top and bottom off the can (you can use scissors, but you’ll need to use a knife to get a start to it) and then using scissors to chop the cans into a piece I can flatten. After you’ve cut them into sheets like that, neaten the edges by using a pair of scissors to cut them straight and make sure there’s no little sharp bits.
The method for flattening the cans that I’ve found works best is to use a sandwich maker (an old one, don’t ruin your good sandwich maker!!). Before turning it on, lay down a piece of baking paper on the bottom, put about 4 cans in, then add another layer of baking paper on the top (this should help prevent at least a little bit of damage to the sandwich maker).
Hold the cans down flat as you close the lid, once you’ve done that, turn the sandwich maker on.
I haven’t fully experimented with getting the best efficiency here, but I left it on for 10 minutes with 4 cans in there, then turned it off and let it cool before I opened it.
Taadaa! Flat cans!
Other methods I have tried are:
* Ironing (Does nothing)
* Ironing and bending at the same time. This method works, but you end up with your piece looking a little bit bent as it’s hard to get it as flat as you would in a sandwich maker.
* Clamping it between 2 pieces of wood. This does absolutely nothing, if you leave it for a day or a week, they bend right back to their natural shape.
It seems like heat is very important in getting these things to stay flat.

Cutting the Sheets

I printed my design out on paper first, cut the paper version out then used it to trace onto the sheet. You may end up with pieces that’re bigger than the can, so you’ll have to deal with this by splitting it into 2 pieces.
Also, because the cans are way thicker than paper, you’ll end up with parts that will fall short because the thickness of the paper messes it up. I just dealt with it as I went and it may have resulted in a less than perfect final product, the design would probably have to be altered to give a bit of room in some corners to account for the extra thickness.
Using a knife is practically useless, you just can’t drag a knife through aluminium like you can through paper.
Scissors on the other hand are brilliant, it’s just like cutting through paper. The only issue is the end of the scissors can cause the aluminium to bend a bit. To counter this, I use a knife to piece the corners, then use the scissors to cut up to them. It’s not perfect but does the trick nicely.
You should also score the pieces using whatever you normally use to score, I use a thing that’s a bit like a needle on the end of a knife handle.
Folding is pretty simple, just do as you normally do. Be careful about bending too much though, as the metal will weaken the more you bend it!

Gluing

This part is rather difficult, I tried a whole bunch of glues to work out how to get it to stick properly, I ended up settling on Contact Cement. (Contact Cement is the sort that you apply to both surfaces, let sit for ~20minutes then push them together).
This part is going to take the majority of your time, I suggest you glue 1-2 pieces at a time, put the contact cement on them, let them sit the full 20 minutes, then push together (hold for ~10 seconds or so to make sure it’s solid) before moving onto gluing 2 more pieces. Get a movie out, play some games… It’ll take a while.
The contact cement wasn’t the greatest however, as if the metal is trying to flex against the glue, it’ll pull itself apart unless you sit there holding it for at least 30 seconds, even then it doesn’t feel as strong as one would hope.
I didn’t end up trying Epoxy however, so that would be a good thing to experiment with.
Other glues I tried:
* Aleene’s Original Tacky Glue (the metal surface was too shiny for the glue to stick once it dried). This is the glue of Papercrafting gods that I had to import from the US to Australia. It’s very similar to PVA/Wood Glue, just slightly tackier making it awesome for papercraft. Just not for… Aluminiumcraft 😛
* “Hobby Cement” – Same deal as the Tacky Glue above
* Bostik Multi Bond – Same deal as above, it just can’t stick to the metal as well as it should.

Taadaa!

And here’s my end result! Would I do it again? Nope, it took me about 3 days to get the whole thing done when the paper version took closer to a couple hours….

The design I got from: Tenpepakura Translated
And thanks to: Build Totodile  for showing me where to get it 😀

Posted by duck in Home, How-To Guides, 1 comment

Arduino – 8×8 LED Matrix

I bought myself an Arudiuo, it cost about $30 and basically lets me prototype electronics. It gives me a whole heap of input and outputs that I can use to input stuff into the computer, output stuff from the computer or just have it running by itself.

The first project I built was just some LED’s and flashing them, this second project is an 8×8 LED Matrix that I bought online off ebay. It cost me $16AUD with free postage for 10 of them.

Here is a video of it in action: http://www.youtube.com/watch?v=dYZcLuxIiZ8

Continue reading →

Posted by duck in Home, How-To Guides

Review: Logitech Z-5500 5.1 Surround Speakers

Right now I’m listening to music… And I’m listening to them with headphones.
Why?
Because my favourite speakers, my Logitech Z-5500’s are currently broken, so what a better time to write a review about them 🙂

This review isn’t all bad though, the Z-5500’s are my favourite speakers of all time.Logitech Z-5500s

Why I like my Z-5500’s

Power

The Z-5500’s have 505 watts of power, that’s 5 speakers and a 10″ Subwoofer, which makes them perfect for movies or music. I’ve used these speakers at house parties, running them on extremely loud volume all night long with no hassles at all. I’ve even had people say they could hear the music from over a kilometer away.

Inputs

The speakers come with a Digital Optical Input, Digital Coaxial Input, a 5.1 Surround Analogue input and a stereo analogue input. This means I can have my MacBook plugged in via Optical, Gaming PC plugged in via Coax and decks + mixer plugged in via the stereo input.

Size

The Z-5500’s are pretty small, perfectly small enough to fit nicely in my bedroom, it has a nice control unit with a big volume knob on it, and can be packed away into a small plastic crate (minus the sub) to take it places.

Dolby 5.1 Surround

Games and Movies all sound 1000x better in Dolby Surround. When the wall shakes from the sound of a rocket launcher or an explosion in a movie, you know you’ve got a winner. One of my favorite scenes to play is the Atomic Bomb scene near the start of the latest Indiana Jones movie. It’s fantastic.

Sound Quality

The sound from the speakers is awesome, doesn’t distort, lets you play it at very high volume without it breaking up (see the below section about what happens at high volume though).

Warranty

They come with 2 years warranty. See below as to why this is important 😛

These speakers are *the* greatest speakers I’ve ever found, nothing comes close in terms of power and size.

Why I don’t like the Z-5500’s

Quality

Control Unit

So far I’ve had the whole set of speakers replaced twice. The first time the control unit backlight had died, the second time the control unit overheated and burnt out (eek, smoke coming from the control unit).

Speakers

At high volumes, the casing on the 5 other speakers starts to rattle, I’m fairly sure it’s to do with the front and back section of the speaker, as they appear to be vibrating separate from each other, no damage appears to be done by this other than that it makes a bit of a buzzing noise.

Fuses

If you plug in the power to the sub without all the speakers connected, you’ll blow a fuse. Logitech have acknowledged that there is an issue with the fuse on the speakers.

Price

Logitech can’t seem to pick a nice price for these speakers, I bought mine through my work for $350 and I’ve since seen the price rise and rise as time goes on for exactly the same product. The recommended retail price has gone from $700 down to $400 and back up again to $700 again, currently it is offered for $599 at some retailers.

Bugs

One of the issues I’ve had with both the control units I’ve had is that it doesn’t detect the input properly sometimes, you will swap to an input or unplug your headphones and get no sound at all. To fix it you have to cycle back through all the inputs to get back to the one you want. While it’s a minor annoyance, it’s just another step away from perfection.

Overall

The Logitech Z-5500’s are fantastic speakers, the quality and pricing issues are a bit of a bother, however being virtually the only set of speakers in this sort of category (high power, small form computer speakers) means there is little competition.

Warranty Claims

1. The first warranty claim I did on the speakers was when the Control Unit back light was broken, I contacted Logitech and they arranged a replacement set of speakers through my work where I bought it from. I simply swapped my set over for the new set. Even though the control pod was faulty, they replaced the entire set.
2. I had the speakers running in the morning, I stopped the music and went to work. When I got home the control unit was VERY hot and off. I unplugged the unit from the wall, let it cool down and then turned it back on to find 4/6 inputs were completely dead.
A couple hours later all the inputs were dead and the control unit was warm (not as hot as it was before, but warmer than usual).

5/11/09 – 9:00pm
Warranty claim sent to Logitech

6/11/09 – 5:30pm — 20.5 Hours Since claim started
Logitech contacted me to let me know I had contacted the wrong support line and that they had forwarded the claim onto the Australian Division.
In my defence: It didn’t ask me what country I was from, I googled Logitech and headed to their support section.

12/11/09 – 5:23PM — 6 days 20 Hours since claim started
I finally got a response from Logitech. They asked if anyone had been hurt or anything else damaged. They also said the speakers were covered under a 1 year warranty, but their website says it’s a 2 year warranty. I responded on the 14/11/09 – 1:56PM (2 days late, had a busy weekend) linking them to their own support article as well as with the receipt of my speakers.

16/11/09 – 2:42 AM — 10 days 6 hours since claim started

They apologised for giving me the wrong date (as I had proven them wrong) and gave me an incident number to give to my retailer to get a replacement unit.

17/11/09 – 1pm – 11 days since claim started
Emailed my retailer with all the details to replace the speakers.

Numerous Emails back and forth, nothing happened to get them replaced, this went on for over 2 months. After calling them one day, they complained I was rude in asking them to hurry up and told me to get them replaced by Logitech.

17/1/10 – 7pm – 2 months 11 days since claim started
Contacted Logitech complaining of the treatment I received from my retailer.

18/1/10 – 11am – 2 months 12 days since claim started
Received an email from my retailer letting me know the speakers were on back order and that they were onto it. No reply from Logitech, but I’m guessing they got onto the retailer and told them to get their arse into gear.

28/1/10 – 2 months 22 days since claim started
Replacement Speakers Arrived.

Only took 2 months and 22 days… That’s pretty terrible.

Of those 2 months and 22 days, Logitech took 10 days and the retailer took 2 months and 12 days to get it sorted out.

Posted by duck in Home, Reviews, Warranty

“HELP MY MSN GOT HACKED” – What you can do!

Update: 27/1/17 – MSN Messenger is gone now. This page is no longer relevant.

Quite often I will see a friend of mine has had their MSN account hacked, the hacked account will then send out spam to all their contacts that will look something like this:

2:46:51 AM ***Name Removed***: phewww +o( unbelivable, is that you??? who ever is it…is really similar to you lol …

http://***Link Removed***.com/pic_gallery.html

There are a few ways that your password can be stolen:

  1. Through a Key Logger on your computer – A program that is designed to record everything you type on the keyboard and sends it off to a computer somewhere else in the world. (Unlikely, but possible)
  2. A virus on your computer that is sending out the spam or stealing your password (also unlikely, but still common)
  3. An exploit that gains your password if you’ve got the “Remember Password” option ticked in MSN Messenger, this one most people don’t see coming and I’ve heard it is common on websites that have flash games on them. (Sorry, no source for this one, if you do find a source please leave a comment and let me know and I’ll update the post)
  4. Through a Phishing attack. This occurs when you come across a page asking for your MSN Account details, it could look exactly like the MSN Website. To check if you’re on the official MSN Webpage, it should have something like:  http://something.live.com/, if it’s not that, don’t enter your password.
  5. By clicking the link sent to you by someone from a hacked account. The link will be either a download, a phishing page or a malware infested page that does one of the things from above to get into your account.

The question is: What can I do about it?  Well here’s your answer:

First up, change your password!
You can do this by going to https://account.live.com this is the official MSN account management page.
This method usually stops most types of spam right away.

What if you have forgotten your password or it has changed?
On the Live Account management page, there is an option for forgotten password, click the link and follow the instructions there to reset your password. If you can’t remember your security question then there is nothing else you can do.

What Next?

There are some other extra things you can to do help protect yourself. If you don’t have any antivirus installed, I suggest you go get some ASAP. I recommend AVG, it’s free and seems to do the job quite well.

If you already have antivirus installed but you’re not quite sure if you can trust it, it helps to get a second opinion, the Panda Security Active Scan is a good free scanner that does a good job at removing anything major. Best of all, it doesn’t need to install itself to run, it runs entirely in your web browser.

Next, if you’re still using Internet Explorer, I suggest you get Firefox, it’s way more secure than Internet Explorer and acts as another layer of protection from certain Internet Explorer only exploits.

Windows Updates – If you have updates turned off on your computer, I suggest you at least go and update it once a month or so. The Windows Updates include patches that block a lot of the exploits that viruses use to get into your computer.
You can get to this by going: Start -> Control Panel -> Security -> Windows Update

These methods have helped keep my MSN account hack free and have worked for friends of mine to help them get their MSN accounts back in their control.

Ducky

Posted by duck in Home, How-To Guides, IT Issues