What Jonathan Schwartz couldn’t say

Internet

Jonathan Schwartz's former weblog header

After going public with his intentions to, Jonathan Schwartz has migrated his former Sun Microsystems blog posts over to a new home entitled "Things I couldn't say…".

From his first post:

I think I’ve said pretty much everything I could say as CEO of Sun Microsystems.

The more interesting stuff was What I Couldn’t Say. And that’s what this blog (and maybe a book) is going to be about.

Mostly.

Needless to say I'm subscribed in Google Reader and am eagerly anticipating reading what he has to say :).


Things you might not know about Microsoft

Software

Madobe Nanami, Windows 7-tan

I've got a huge backlog of unfinished blog posts (at least 300 at last count) so I've decided to create an entirely new one based on what this website told me to do.

8 things you probably didn’t know about Microsoft

Here we go!

  1. We have IBM to thank for their monopoly status. Which is a shame because I still heart their E Editor even to this day and I have a Rational lanyard.

  2. Madobe Nanami (aka Windows 7-Tan, shown above) made me almost consider plonking down $10,000 or however much it is for Windows 7 Ultimate.

  3. "Rick James" is not a supported .NET language, bitch.

  4. REVERSI.EXE was better than WINMINE.EXE, and I actually thought BOB.EXE was pretty cool, even though you’re not supposed to admit it.

  5. OOXML is an interoperable standard because it can render * like Word 95, and the acronym’s suspicious similarity to OOo is purely a coincidence.

  6. Being caught using Google in Redmond, Washington is a chair throwable offence, unless you’re a developer developer developer.

  7. Selling mediocrity is difficult for most, but Microsoft seems to be able to do it without even trying.

  8. Nick Hodge and Ari Bixhorn are seemingly exempt from the company’s officially mandated PR lameness policy.


Ncurses makes C all warm and fuzzy

Software

CC from Code Geass

Get it? CC cuddling cheese-kun? Warm and fuzzy? C? Get it? When I first started messing around with GNU ncurses I was under the impression it was a simple framework to create interactive, windowed console applications…

In reality it's a complete, really polished environment that extends C in some really nice ways; so much so that I would argue it would be a misnomer to say you're simply writing "C" code any more. It's to C what Cream is to Vim. It's CC with Cheese Kun. I could go on.

Header files

The first sign you get that ncurses is something special is that importing it's single header file gives you all these below header files automatically.

#include <ncurses.h>
#include <stdio.h>
#include <stdarg.h>
#include <stddef.h>
#include <unctrl.h>

In fact you're actively encoraged not to import any of these usual suspects because you'd needlessly inflate your compiled applications. I assume it's doing some clever tricks to only use what's nessisary. It also adds a bunch of it's own functions that provide similar functionality, more on that below.

Booleans

Most people start with C and move on to C++, I went the other way… you can probably see where this is going! When you import <ncurses.h> you get a boolean data type for C for free. Paroozing the header file it seems to cleverly make sure it doesn't conflict with the C++ bool if that's the language you're using, pretty cool.

#undef TRUE
#define TRUE    1
#undef FALSE
#define FALSE   0
typedef unsigned char NCURSES_BOOL;
#if defined(__cplusplus) /* __cplusplus, etc. */
/* use the C++ compiler's bool type */
#define NCURSES_BOOL bool
#else /* c89, c99, etc. */
[…]

Alternatives to standard in/output

This is what I mean by ncurses almost being like an entire environment for C, it makes so much stuff easier and more fun. As well as supporting the basic C output functions such as printf(), ncurses comes with a bunch of extras that make sense when dealing with GUI-like interfaces in a terminal.

addch();  /* add character to the "window" */
addstr(); /* add string of characters */
printw(); /* equivilent to C's printf() */

What's also really cool though are the functions for reading in data from the keyboard which is much nicer than vanilla C:

getch()   /* get character */
getstr()  /* get string of characters */
getnstr() /* same as above, but measured */
scanw()   /* equivilent to scanf(); */

Why?

I'm surprised by the number of people asking me why, in 2010, I'm interested in writing console applications, because we all know console applications are passe and unsexy. I'm hoping in the coming weeks when I start writing code for a few projects (and am hopefully allowed to publish some of it) you'll see why. There's still a ton of life in this environment and I'm really excited to see what I can accomplish in it.


TweetDeck artefacts aren’t so arty

Internet

TweetDeck artefacts

Ever since August 2008 when I made the switch, TweetDeck has been Twitter for me. For people following hundreds of fascinating people categorised into lists (formerly TweetDeck groups) there's absolutely no better ways to use it, even if it does run on Adobe Air. Problem is, no matter what Mac I'm using it always "remembers" those red dotted lines denoting bad spelling.

Perhaps it's just poking fun at the fact I make sppelling mistakes.


A Japanese Dell makes it with a Mac Mini

Hardware

Japanese Dell advertisement

It's as if a Mac Mini made it with a bento box. Some pretty respectable specs, too bad for that last line, and the fact it's a Dell. Does Dell offer free Windows downgrades or refunds? Sabayon or FreeBSD would match it so well, even down to the colour schemes.

Don't you just love my posts with disparate sentences strung together without any cohesive train of thought? Train and Thought start with the same Romaji. Wait, is Th and T considered separate? I think I'll stop now while I'm ahead.


#Anime Some just don’t like adaptations!

Anime

Yes yes I know it's painful post to read (ze grammar goggles, zey do nothing!!!), but they make a good point.

So some people i heard during some chat (when I was watching Hellsing) said “I love the anime show there so mad awesome like how they they made made the motion and everything.”

And this guy just came out and yell “Hells no! Manga is way better they tell you more of what happen and they released way early its better then those anime shows when you have to watch TV so you have to wait next week to see more.”

And this happen in anilinkz.com and then they stop cause some guy came in to stop there war raging terror.

To me anime adaptations of manga are just that, adaptations!

People who expect a true to form, purely animated version of a manga are the same kind of people who get frustrated and disappointed when they go to see a Hollywood movie based on a book, then proudly proclaim they left stuff out and they didn't like it. No, really, they left stuff out? Your powers of deduction are incredible! It's as if it's a different medium!

Not that I have strong opinions on stuff like this, and I do concede on occasion some films (and anime) have less in common with the books and manga than perhaps they should if they're to share the same name, I've just been around enough people who seem to make it their mission to point out problems with book to film adaptations, then endlessly complain. One would thing such people would just stop seeing such films if they irritate them so.


The new GrowUpAustralia.com

Software

No Filter, No Censorship, No Great Firewall of Australia

@HawkGeminus has just put the finishing touches on the main page for GrowUpAustralia.com.

What comes as a shock to many is that Australia is the only developed country without an R18+ rating for video games. Films, which fall under the same classification system, can be granted an R18+ or even X18+ rating but this is not the case for computer and video games. If a game exceeds the MA15+ rating, it is either refused classification or modified to fit within the rating guidelines.

The new site, if anything, proves conclusively I'm incapable of competing with professional designers and journalists. Wait, I mean that it proves the Aussie Government plan for a comprehensive filter on websites they arbitrarily deem inappropriate and their refusal to release R18+ games because they don't think Australian adults are capable of deciding for themselves what's appropriate, is a complete scam.

As a matter of disclosure (and it's sad public discourse on the subject renders this necessary at all) I do not play R18+ games, but that doesn't mean other responsible adults who choose to shouldn't be allowed. Good heavens, is this a western democracy or a… wait, I think I'll end that thought there.

I could argue the case here (and believe me it could fill several books), but GrowUpAustralia.com does a better job.


Melissa Mitchell and Spiff WWR concert

Media

Melissa Mitchell and Spiff Whole Wheat Radio concert

Spiff: Is it cool if I swear?
Jim: Yeah, we encourage it!
Spiff: Really?! Man I love this f*cking place!

A heads up in case you've forgotten, the Melissa Mitchell and Spiff house concert at Whole Wheat Radio will be starting 20:00 Alaska time, which translates to 13:00 Singapore and 15:30 Aussie Central Daylight Whatsit.

Recently I wanted to ask my dad if he'd got his new bicycle frame yet, but I didn't want to confuse him into thinking I was talking about his motorbike — which he also owns but needs some repairs — so I asked about his acoustic bike. Allegedly he's still telling his friends about his dopey son :D.

Anyway I'm frantically off down the road to get a cup of coffee before it starts!


Pretending to be funny at 0230

Thoughts

Icon from the Tango Desktop project

Ryan Leach on Twitter early this morning:

Club 58 dead and expensive

Sounds like fugu.


Apple’s unfortunate environment backstep

Hardware

Photo Copyright Apple Inc.

It seems Apple's much publicised environmental focus which they've heavily advertised and proudly featured in their demonstration videos will be the furthest extent of their openness. From FastCompany.com:

Described as “feisty,” Steve Jobs was on form yesterday at Apple’s shareholder meeting–his first back since the recent health issues that forced him to step down temporarily as CEO. […]

Amongst all the fabulous news–the company’s $40 billion war chest, the expansion into China at an incredible warp-speed rate, there was one rather dispiriting piece of news: The shareholders voted against proposals to measure its impact on the environment — something board member Al Gore won’t be too happy about.

As is the case with all product lifecycles, the environmental cost must be measured not just in production and distribution but in the final recycling and ultimate disposal. Clearly the Apple board in their [lack of] wisdom is worried there's one side to that environmental triangle they'd rather keep a secret, otherwise one would assume they'd be eager to have the company publicise it, along with all their other material about mercury free glass, PVC free cables, more efficient packaging, better batteries and so on.

Of course the problem is thesedays hiding information can be just as damaging — often more — than presenting the facts. We know they've got something to hide, and now the speculation can begin. We all know how that turns out.

The alternative is the shareholders and board members are more narrowly focused than the rest of the company and either don't understand the potential for a PR faux pas, or they think they can cleverly dodge it. In either case, history isn't on their side and they'd be smart to wise up to this.

I may come across as a bit of a fanboy for Apple given I use and enjoy so many of their products (particularly Mac OS X which I absolutely adore), but as I try to make clear here I don't spare them from my witty and sharp criticism. For one thing I'm incapable of creating sharp and witty criticism in the first place, as also demonstrated in this blog.