Quantcast
Channel: Grant Trebbin
Browsing all 99 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

In Plane Magnetic Field of a Current Loop

Well, this one is a failure (for now).  In the comments on my post about the "Off Axis Magnetic Field of a Circular Current Loop" I was asked why I'd chosen to solve the problem the way I did and why I...

View Article


Image may be NSFW.
Clik here to view.

Christmas Lights and Their Control Signals

Merry Christmas.  I recently bought a set of LED Christmas lights for a display at work.  They were nothing special, just a cheap set of 4 colour lights that can flash and dim the lights in different...

View Article


Image may be NSFW.
Clik here to view.

Air Freshener "DRM"

A family friend recently bought a refill for their automatic air freshener and after one spray a warning light came on to indicate that it wasn't an authentic refill.  After that it wouldn't work any...

View Article

Image may be NSFW.
Clik here to view.

Find All Triangles In A Diagram And Add Together The Numbers They Contain

If you're a night owl like me you may have come across those late night game shows where you call in to win money.  I'm not a fan of them.  The rules are very vague, and they're broadcast on channel 74...

View Article

Image may be NSFW.
Clik here to view.

Merging Regions Defined by a List of Vertices

In my last post I described a strategy for solving something I call the Triangle Game.  I supplied code and gave a quick description of its operation.  In this post I'll go into some of the finer...

View Article


Image may be NSFW.
Clik here to view.

Restrictive Capacitive Touch Screen Guide

Recently at work we received MC40 mobile computers to perform inventory tasks.  Just one problem.  The interface was designed by Lucifer himself.  The image below shows the problem.  The on screen...

View Article

Image may be NSFW.
Clik here to view.

Turning a Dash Cam into a Surveillance Camera

I've had to come up with a solution to a strange problem.  A relative thinks that someone is stealing their pot plants at night.  To see what's really going on a surveillance camera would be great....

View Article

Image may be NSFW.
Clik here to view.

A 3D printed Successful Failure

Sometimes things don't work out the way you plan, but learning from failures can be valuable.  I'm referring to the restrictive capacitive touch screen guide I designed a couple posts ago.  It didn't...

View Article


Image may be NSFW.
Clik here to view.

Visualizing Periodic Order Schedules

I've been grappling with a problem involving order schedules and thought a visualization may help to understand the problem better.  There just doesn't seem to be an existing graph that satisfies all...

View Article


Image may be NSFW.
Clik here to view.

Soylent OCR - Computer Assisted Human Based Data Entry

Can software help a human process images faster than a computer when you take into account the time setting up the image processing pipeline?  That's the intent of "SoylentOCR - It's made out of...

View Article

Image may be NSFW.
Clik here to view.

Improved Computer Assisted Human Based Data Entry

OK, I'm revisiting my post from last week.  I was certain that I could reduce the time it took to enter data with some simple modifications.  The results are at the end. The main change was the removal...

View Article

Image may be NSFW.
Clik here to view.

Merge Sort... Sort Of

I have a project in mind that requires a sorting algorithm.  That's easy enough, there are plenty of them out there, the problem I have is that I want to be able to save the state of the sort part way...

View Article

Image may be NSFW.
Clik here to view.

Smart TkInter Image Manager for Labels

Just a quick post today.  I've been working on a piece of python software that's tkinter based that requires images to be displayed.  My preferred way of doing this is to use a tkinter.ttk.Label to...

View Article


Image may be NSFW.
Clik here to view.

A Python Sorting Manager With A Human Comparison Operator

Nothing too exciting in today's post.  I've created a SortingManager class to implement the sorting algorithm that I mentioned in a previous article.  Unlike most sorting algorithms it doesn't have a...

View Article

Image may be NSFW.
Clik here to view.

Visually Appealing Image Layout Algorithm

Let me pose a problem.  If I were to give you a number of randomly sized images that needed to be  displayed in order, in a row with a set width, how would you do it?  To make things slightly more...

View Article


Image may be NSFW.
Clik here to view.

Unique 2D Barcodes with Orientation Detection

A friend of mine is studying to be a teacher and was recently explaining how she uses a service called Plickers to administer multiple choice tests in classes.  Every child gets their own square matrix...

View Article

Image may be NSFW.
Clik here to view.

Bit Reversal Permutation Access

It'll take me a while to get to my point, but stick with me.  Recently while I was waiting for a train, a freight train passed the station and I came up with an interesting thought experiment.  I...

View Article


Image may be NSFW.
Clik here to view.

Putting The Back On A Watch

Ever taken the back off a watch and you didn't know how to get it back on?  Ideally you'll want to find a watch press that has the correct size dies. Watch PressBut, in a pinch, you can use a normal...

View Article

Image may be NSFW.
Clik here to view.

Sorting Subjective Items With Software

Have you ever needed to sort a large number of items that don't have an easily defined order?  Maybe it's what TV to buy or where you're going for a holiday.  Some things only have a specific order to...

View Article

Find & Copy Files While Adding The MD5 Hash To The Filename

Today I thought I'd show you a small script I'm using to decommission an old computer.  To make sure important files weren't deleted I wrote a BASH script that finds all files on a drive with a certain...

View Article
Browsing all 99 articles
Browse latest View live