Geekzone timelapse

, posted: 15-Sep-2014 00:40

We hosted the latest Geekzone IRL at Tuihana Cafe, and I setup a webcam to catch the action in a timelapse:



Since I organised this all very last minute, the setup was very basic but I think it worked really well:
Video was taken from 5pm until 9:30pm, with one photo taken every 5 seconds.  Total number of photos was around 3,200.

We also had a photographer at the event, his photos are here.

Enjoy!



Fixing strange characters printing on Epson receipt printers

, posted: 21-Aug-2014 22:56

Back in 2012, in my never-ending quest to geek up Tuihana Cafe, I threw together a Windows based app that takes SMS messages and prints them out on our kitchen receipt printer (read about it here).  It allows our customers to make an order on their way to the cafe, without having to stand around and wait for the coffee to be made.

All was right in the world… or so I thought.

Late last year I decided to learn ESC/POS and print directly to the receipt printer, rather than continue cheating by using the Epson .Net OPOS drivers.  This introduced a very annoying bug:

For some reason, the receipt printer or my program was adding in random characters (such as the speech marks before Printed, and the bracket before Sender) and dropping characters (like the O from the word One).  My staff were clever enough to decipher these messages, however this wasn’t completely bulletproof – an order came through for 1x flat white, but the system printed out 21x flat white.  It was then I new that I had to fix this once and for all.

For the last month I’ve been working on a fix, and it wasn’t until today that I stumbled across a blog post with the solution.

BinaryWriter has a method .Write() which takes a string as the input parameter.  Instead of just appending this to the internal buffer, it also (not helpfully) prepends the length of the string in the first byte.

From the blog post:

Now that I think about it, this makes perfect sense: strings in the .NET framework are typically not thought of as being null-terminated, they’ve got a length, and in order for theBinaryReader‘s Read(string) method to work, it’ll need to be able to know the length of the string to determine how many bytes to read.

In my case, I was writing data to an Epson TM-T88III receipt printer, and given the structure of the commands that the printer expects, it doesn’t need or want the length of the string in this way. Because I didn’t read the MSDN documentation closely, I was left scratching my head as to why weird characters were showing up or characters were being omitted in my output.

The solution? Replace .write(“Test”) with .write(Encoding.ASCII.GetBytes(“Test”))

The new receipts all fixed up and looking purdy:

Hopefully this helps someone out from weeks of frustration and programmer rage.



Review: Livescribe 3 Smartpen

, posted: 1-Jun-2014 20:43

A few years back I was introduced to one of the earlier versions of the Livescribe Smartpen.  At the time I remember being very impressed with the technology, so when I had the opportunity to review this current version, I jumped at it.

It a nutshell, the smartpen gives you the best of both worlds – you get the tactical feel of pen and paper, with the smarts of having those notes digitised, for later referencing and searching.  I have never found writing with a stylus on a tablet to be any good, so this smartpen is a good hybrid solution.

The smartpen has three components:

  • The pen itself
  • A dot paper notebook
  • An iOS device (iPad or iPhone)

Installation is quite simple.  Find the Livescribe app in the app store, install it, then turn on the pen to pair it.  Once this is done, you’re ready to go.

To turn the pen on, you twist it in the middle, which also extends the nib of the pen out (this prevents use of the pen without it being switched on).  Charging is done through the micro USB port at the end.

2014-06-01 13.42.40

The pen has a small infrared camera which picks up tiny dots printed all over the paper.  The notebooks are inexpensive to buy, or if you have a printer capable of printing at 600dpi, you can print your own paper.

Because each piece of paper in the notebook has dots unique to it, the app can separate your notes by not only notebook, but also by page.

photo6

One of the most powerful features of the pen is the ability to record meetings.  To begin a recording, just tap the record image in the notebook.  Not only does the app record your notes, but also the audio (using the iOS device).  Using the Pencast mode of the app, you can play back the audio and watch your notes draw before your eyes.  If you need to jump to a specify point, this is also achievable.

The best part of this, is in a meeting, you no longer have to take detailed notes, or worry about missing an important part.  Your notes now only have to be a summary of what’s being said, as you can easily recall all the discussion of the meeting from the audio.

The second feature I am most impressed with is the note transcribing.  In Feed mode, if you swipe from left to write, the app converts your handwriting to text, making it easier to search in future. 

In the interest of science, I roped in my cafe staff and a random customer to get them to write.  Even with the five different types of hand writing, the app was able to convert to text pretty accurately.

photo4

The pen also has internal memory in it, so if you’re not within range of your iOS device, you can still take notes which will sync once back in range.

I’m a big fan of the Livescribe pen, my only complaint is no Android support at this time, though I’m told this will be available later in the year.  If this support was out now, I would be purchasing one of these right now.



I’m presenting at Autotask Community Live

, posted: 9-May-2014 15:48

If you’re an IT company (or as the Americans call it, a MSP, Managed Service Provider) you would’ve heard of Autotask – they provide software that includes a CRM, service desk, contract, scheduling – pretty much everything you need to run your IT business.  We already extensively use the Autotask API with our Autotask-Xero connector.

I was invited last year to Arizona to speak at their conference, and this year I’m running a two hour workshop on the Tuesday of the conference around the Autotask API, and what it’s capable of.

The workshop will be broken into two parts – the first part being a business overview of what benefits the API can bring, the second will be a more in-depth technical demonstration, where we will actually connect to the API, and push/pull data live from Autotask.

If you’re planning on heading over, please message me on twitter.



Does anybody care about public holiday surcharges?

, posted: 23-Apr-2014 15:31

Other than run things here at 3Bit, I also own Tuihana Cafe with my better half Leslie.  It seems pertinent to do a blog post now about public holiday surcharges since Easter has just been, and Anzac Day is a couple days away.

As a punter, I don’t like any surcharges, and a quick search of Twitter seems I’m not alone:

The bottom line is that being open on a public holiday is more expensive.  All your staff that are working on one of their normal days not only get time and a half but also a day in lieu (if it’s not one of the days they normally work, they don’t get the day in lieu).  The decision for a business owner is whether to pass this directly onto customers through a surcharge.

At Tuihana Cafe we don’t.  While I haven’t done any hard research to see if this resonates well with our customers, a quick look at the Google Analytics for our website, it seems it is a popular search term on a public holiday:

We experienced five times our normal traffic volumes on Good Friday (Apr 18), with another slight increase on Easter Sunday – Sunday isn’t a public holiday, however most people think it is (the actual holiday is the Monday).

The biggest referrer of traffic to our cafe website over the weekend? No Surcharge, a site that lists all the businesses that are surcharge free on public holidays.

It seems the cafes in nearby Kingsland have already got the message:
From a tech perspective it does seem that having no surcharge is a big drawcard for customers.



nate's profile

 


I'm Nate Dunn, and I work for 3Bit, own Tuihana Cafe, run the gardening.co.nz forums and a moderator here at Geekzone.

Use Autotask and Xero? Sync data between them with My Accounting Toolbox.

 

Disclaimer
The views and opinions represented on this blog are personal and belong solely to the blogger and do not represent in anyway those of 3Bit Solutions Limited or any other company.

Latest posts

Geekzone timelapse...
Fixing strange characters prin...
Review: Livescribe 3 Smartpen...
I’m presenting at Autota...
Does anybody care about public...
The Great Monteith’s Mea...
The longest tennis court in th...
Review: Asus Taichi...
Vodafone speed test 3G vs 4G...
Why so expensive?...