Word of the Day: Mobilion number

Defined on http://hardbutnot.blogspot.com/

Mobilion number
An integer which only becomes interesting when typed into a *spell-as-you-go* mobile telephone.

example: 34789 739 233428

He also defines:

techtic (n)
The faint repetitive behaviour of a true geek when excited. e.g. hand waving, swaying back and forth, nodding furiously, or saying "arguably".

Be careful clicking around his sight. He led me to a number of 'blocked' pages.

Oh yes... people from the USA apparently refer to mobile phones as 'cell phones' so you'll need to bastardise the word 'Mobilion' in some way.

But you've got plenty of experience doing that with every other word in the English language, so I need not offer any advice. ;-)

cheers!

 

Signs of a bad web developer

Pronounces "login" as "Lodge-in" and spells it "Logg Inn."

Refers to a "password" as a "you know, secret code word."

Unrelated: Mitch Denny's got an idea for the next version of visual studio. He then expands it further and further. If clever-thinking was an olympic sport, Mitch would be up for gold.

Even more unrelated: I like this template.

Adam Cogan's gone and quoted me on Super Software for Windows. I feel pretty embarrased about it, but logically, it must be a good thing.

 

Graphic design for engineers: the logo

I had a flick through a book called "The Non-Designer's Design Book (2nd Edition)" by Robin Williams, and it's a killer.

I like art. But writing about art, is normally just utter shite. And writing about commerical graphic design is even worse.

Robin's book however...

...really got me thinking. She demonstrates simple rules about layout, focussing on the principles of "Consistency, Repetition, Alignment, Proximity" [Spell it out...]. She also gives a lot of great info on fonts, the printing process, and the business of graphic design. The examples make all of her lessons very clear.

Since then, (and with help from various web-pages, listed at the foot of this page) I've come up with ten 'No-Nonsense' rules for designing a corporate logo.

If you want to look amateur, just break these rules.

Logo design rules

  1. Include the product (or business) name.
  2. Just one colour
  3. Works in black and white
  4. Still works at very small Sizes, and poor resolutions
  5. Legible
  6. Does not use a standard font
  7. Probably uses a sans-serif font
  8. Attention should be paid to kerning ('kerning' means fine-tuning the letter-spacing)
  9. Original
  10. Relevant (to target audience)

Keep these in mind as you look at professional logos around you. You'll be suprised at how rarely the rules are broken.

The second rule (Just one colour) can be broken, but it's an expensive rule. If you're feeling insane you can maybe go to two colours, or possibly a gradient. If you're a mega-nutcase with a death-wish, go ahead and use three colours. Beyond that, you've entered the realm of the schitzotropic drug-addled lunatic, and logo design is not for you.

All told, logo design (and commercial graphic design) is an extremely constrained field, better suited to programmers than artistes. If Van Gogh had been a commercial logo designer he would've chopped off more than just his ear.

Applying the rules to secretGeek, I was shocked to find I only score about four out of ten. I've spent some time seeing what can be done and I'll write about this if I get a chance.

References

 

Can you Nest Enums?

Someone asked me "is there a way to nest Enums in .Net?" This crazy tree-of-life example is what i came up with... anyone got a better idea?

 

Question: Which code snippet is "better"?






[Hint: which is easier to debug?]

 

Programmer's Purgatory

I don't ordinarily subscribe to any judeo-christian hocus-pocus.

But i have a vague feeling that when programmers die they are made to spend many centuries in a purgatorial-place, as punishment for all the bad code, the slow code, the sloppy code, the unmaintainable code...

Here's a recent slab that probably earnt me a couple of millennia in the cosmic wait-state:

Imports System.Text.RegularExpressions

Public Function DisPascalize(ByVal psPascalString As String) As String
  Dim sResult As String
  sResult = psPascalString
  sResult = Regex.Replace(sResult, "([^A-Z])([A-Z])", "$1 $2").Trim
  sResult = Regex.Replace(sResult, "([A-Z])([A-Z])([^A-Z])", "$1 $2$3").Trim
  sResult = Regex.Replace(sResult, "([A-Za-z])([0-9])", "$1 $2").Trim
  sResult = Regex.Replace(sResult, "([0-9])([A-Za-z])", "$1 $2").Trim
  Return sResult
End Function

Notice the way there are no comments at all. Because 'DisPascalize' is just so self-explanatory, no?

What does it do?

InputOutput
"PascalCase""Pascal Case"
"ABCPascal""ABC Pascal"
"Pascal123""Pascal 123"
"123Pascal""123 Pascal"

I've used it for converting PascalCase Enums into presentable words. Wonder if anyone has advice on a nicer way to do this. It feels so wrong.

 

Hey Mike!

blog,

Can you match the Mike to the Blog?

  1. Mike Gunderloy
  2. Mike Pope
  3. Mike Leung
  4. Mike Schinkel
http://www.blamemike.com/
http://www.larkware.com/
http://blogs.xtras.net/mikes/default.aspx
http://www.mikepope.com/blog

These are all Mike's that I've been in touch with (one way or another) in the last few days.

First correct entrant can name their prize.

(not that naming the prize will make it magically appear in your hands. what am i? some kind of freakin genie? if you want an X-box -- go buy it yourself.)
 

Dirty Plagiarist

They say that plagiarism is the sincerest form of flattery. And I'm a little flattered that I've been plagiarised, but mostly I'm just annoyed.

Some dirty pretender named Fengzhimei has nicked the guts of a .net Remoting article i wrote around christmas last year and hasn't given any credit at all. The examples have been converted into C#, yes, but the words are stolen. Although his blog *looks* quite interesting, I now assume that all of his material is stolen from other sources. Cheap and nasty stuff.

I don't want to give him the google juice, but here's a link to the stolen material.

Blogging while angry is a big no-no. Hopefully I won't regret this entry later. Time will tell.

 

Nobody Can Eat Fifty Eggs.

If you've ever needed to know exactly how many eggs my brother John collects from his hens in any given week -- wonder no more!

John's Hen Monitoring web site gives you a graphical display of the weekly egg output.

egg monitoring

The man is rich in eggs.

It's reminiscent of...

...trixie update which keeps you up to date with exact figures on the sleep, diaper and bottle habits of one very over-analysed infant.

baby monitoring

And that in turn is similar to MoodStats.com, produced by the Cuban Council, which provides realtime information on the mood of any geek who wishes to contribute.

moodstats

I'm not exactly excited about a future in which us (and all our pets) will be permanently hooked into one giant battery-hen style fattening-farm, with all of our vital readings being broadcast for consumption by faceless web services, feeding the industrial-military-corporate-complex. but you can't stop progress.

In order to take part in this analytical orgy i present:

Number of Times Ziggy (the kitten) attempted to eat my breakfast in the last three days despite my insistent cries of 'oi! get down!'*

Date# attempts
29 July(2)
28 July(0)(kitten was excellent)
27 July(9)

* Don't rely upon these figures in order to make financial decisions. Consult an independent financial adviser first.

Uh, thanks.

 

Why Am I Here?

Are you grumpy about debugging? Sick of staggering blindly up and down the stack?

...StackStumbler

StackStumbler OAI

StackStumbler helps you view multiple levels of the stack at once... and helps you answer the ancient philosophical question "Why am I here?"

(continues...)

Click to See the Full Size Version
(click to see the full size version)

Once again, it's only an idea (OAI), not real at all... sorry.

Test Driven Dev afficionados would of course say that a nice set of unit tests should mean you rarely need to use a debugger.(Just when debugging has gotten good it's become obsolete! such is life.)


On another track, something I like is: 'del.icio.us'. Mmmm. Full of nifty links, is del.icio.us. And an award winningly clever name. In particular I like the way they use shades of grey to graphically indicate the number of times each link has been suggested. I just might do the same thing with my sock drawer.