Sunday, 19 January 2014

Sometimes, that which beeps is gold


I was rooting around the web, trying to find a way of emitting a simple beep for a javascript toy I'm working on and happened upon this piece of code gold.  Nifty!

Promptly I was reminded of this song (oh noes!)


That little Casio the band uses was something else!

Thursday, 9 January 2014

Javascript in 9 short videos

If you need to quickly swot up on Javascript and already can code, here are the fastest, most to the point Javascript video tutorials ever:

1: Core Javascript
2: Event Handlers
3: Object Orientation
4: Arrays and functions
5: Document Object Model (DOM)
6: Regular Expressions
7: Form Validation
8: Error Handling
9: Cookies

Derek Banas also has a lot of of other superb tutorials!

Monday, 6 January 2014

μηδέν άγαν {nothing in excess}

One of my (very patient) mentors made the following very true observation about me:

By the way, designing features based on speculation is usually not a good idea. (...)  Maybe there's a bug report in our tracker requesting such functionality? If not, perhaps you don't need to worry too much about that scenario.

I have a habit of assuming the worst case and then try to create something that (hopefully) solves for the entire range of problems/issues that might occur.

This sounds like it's a good thing, and sometimes it is, at other times, it isn't, because the sky is not about to fall.[1]

I've been thinking why that is so. and my best guess is that this probably a function of OO coding on the MUD, where anything and everything can cause surprises, because things interact whilst interactively interacting.

If you've ever replaced 20+ players lives, stats, xp points and equipment because your fun toy caused a chain reaction that you hadn't considered... you get extra careful after the umpteenth time ;-D

Contact me for a great deal on a used pair of bullet proof sandals.


-=-=-=-=-=-=-=-

[1] From the Omega game:
(you walk into the establishment)
Rampart Healers. Member RMA.
a: Heal injuries (50 crowns)
b: Cure disease (250 crowns)
ESCAPE: Leave these antiseptic alcoves.
(you hit ESCAPE)
OK, but suppose you have Acute Satyriasis?

Friday, 3 January 2014

January's Readinglist

People have been sending me great links to read!

Team Geek --- if you work with other people, this book is for you.

Paul Graham's essays --- even if you're not into business, those are a great read. 

Sleepyfox's talks --- Check out the code katas, get into pair programming and remember: couples that code together, stay together :)




Wednesday, 1 January 2014

The Solution to the Christmas Riddle

... read no further if you haven't tried to solve the Christmas Riddle yet(but want to).

@}--'---,------

Because every solution should have a decent spoiler space, I will first show off the lovely Christmas present I got, which is a beautiful, sterling silver Ganesha ring:


Ganesh is the overcomer of obstacles and his mount is a mouse.

If I was religious, he'd be my kind of God.

+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+

...and my New Year present:



Green faceted Agate, with glass'n'pearls.  Oh my!

+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+

Ok ok, enough about my bauble addiction..., here is the advertised solution to the Christmas Riddle:

We start with a hint:


This is an Osiris rose, and, one day I hope to grow one.

Take a close look.  Notice something?

Still not sure?

V
.
+
.
+
.
+
.
+
V
+
.
+
.
+
.
+
.
+
V
+
.
+
.
+
.
+
.
+
.
+
V


Solution:  The rose the husband picked was the only one that didn't have dew on it's petals, since his wife spent the night inside the cottage with him.

@}--'---,------

Happy New Year!