17 December 2009

Oh, yes, Chromium browser is nice...

They seem to have learned a few things from (not cloned) Firefox, plus it picked up the cookies, bookmarks etc from FF flawlessly.

Chromium is generally smoother & faster than FF, except for actually scrolling the page contents up & down.

The visual design is excellent... nothing too jarring, but a few logical changes like enclosing both of the Back/Forward buttons within a single rounded-rectangle border-line (which looks pretty much like the rounded-rectangles enclosing each of Reload, Home & the URL field) & overflowing excess bookmarks into a right-aligned Other Bookmarks folder. Oh, & making the tabs look a bit more like individual objects (angled sides etc) which makes them easier to rapidly distinguish.

This is Chromium 4.0.256.0 (32803) running under Mandrive 2009.1; to install it on that (or 2010.0), run this as root:
urpmi.addmedia --mirrorlist http://eugeni.dodonov.net/rpm eugeni 586
...then...
urpmi chrome
...which is a few seconds’ work over Virgin Mobile Internet in Albany (typically about 1-2 megabits), so should be about two eyeblinks under a decent ADSL2 link...

16 December 2009

So you owe someone a little money?

Rest easy.

The US National Debt has been officially-officially pegged at over USD$12 TRILLION ($12,000,000,000,000.00).

A former Comptroller General stated as fact last year that it had really topped $60 TRILLION, which is more than the entire world’s Gross Domestic Product. About USD$480,000.00 per household. Which is probably not all of the debts (guesstimate around 3× to 5× that).

Which means it will be repaid when?

The budget shortfall was predicted at $1.6 TRILLION but worked out to "only" $1.4 TRILLION, which means that they are spending USD$180,000,000.00 per hour more than they earn.

Hey, I want pay-rates like that! (-:

It’s not a wonder that President Obama wants to sign away all political/financial/religious rights (so, responsbility) to the UN at Copenhagen... but why is Prime Minister Rudd just as eager?

It becomes increasing obvious that free-as-in-price means about squat. Free-as-in-available will, I think, come to mean everything — not just in software.

25 November 2009

Free as in $ as well...

Albany is mid-council-chuck-out at the moment, which has yeilded 2 free PCs.

With FOSS, one simply ensures that the hardware itself functions (playing digital Lego® until it does), then bung in a CD, install, done.

You don’t have to scrawl down serial numbers, count licenses, anything.

KISS at work!

23 November 2009

Well... I hope you’ve enjoyed our democracy...

...because next month it goes.

Copenhagen is not about climate change (which is a furphy anyway, Dad’s twin, a serious geologist, has done the maths — everybody’s maths — & if anything, our next climate change will be a mini ice age — last winter was the worst (& strangest) the USA has had in a long time).

The treaty at Copenhagen is about putting the UN in charge of everything (finances, politics, religion, etc), & no signatory can back out without first obtaining the consent of every other country, many of whom will be getting payments because Australia are signatories.

Mr Rudd, of course, is eager for his government to be neutered. Are you?

The treaty makes no mention of votes, elections, democracy at all. Signing your life away with a vengeance: insurance companies, eat your collective hearts out.

There will be no more Free software. Or free speech. Or free philosophy, morals... name it. There will be no more free anything. The time to write/phone/email/camp-at-door-of your pollie is now. The correct answer is “No!”

02 October 2009

Non-IT post: avoid anything with an Aspartame derivative in it

Early this year, I noticed that P&N-brand diet drinks did odd things to me. I often became grumpy or confused for no apparent reason half an hour or so after drinking them. They (even many of the non-diet flavours) contain Neotame, an Aspartame derivative, thank you Monsanto. So I no longer drink them.

Currently chatting with a Queensland-based ex-truckie, ex-bikie, who is literally dying of Aspartame-based effects consequential on drinking heaps of diet drinks while trucking. His liver & his kidneys are failing. Endless odd pains & tweaks here & there. Not good.

This (Texan) crew are quite big on the whole Aspartame thing.

Bottom line: if you value having a life (or even value your life) don’t touch the stuff.

30 September 2009

nlp for lazy learning

I’m currently reading this in bunches. It’s a neat little book by a living-in-England Irishwoman diana beaver, which is focussed on ways people learn, but ventures a fair way into real Neuro Linguistic Programming.

There is some controvery about NLP since the two founders (Bandler & Grinder) argued with one another & ceased working with one another, but a key factor in this book is that the author often gives small examples which one can test... & they work.

Last year, I figured out the principal reason for me going through school with a genius-level IQ but getting only slightly-above-average results, then falling into IT & finding it to be paradise: I’m a visuo-spatial learner.

Where someone with photographic memory would take away a detailed image for life (& a decade later be able to recall serial numbers, signatures et al), I take away the patterns, the connections, the network — which is IT.

So... in general learning/communication modes, I’m visual: “I see what you mean, I get the picture.” There is also auditory (words, tones etc), which would be “I hear what you’re saying. I’m in tune with you.” Finally, there is kinesthetic (tactile stuff & emotions): “That feels right. I’m getting a grip on it.” Kinesthetic describes my VSO fairly well.

Now that I know that these exist (well, I did read Frogs Into Princes a decade or so ago, but with someone constantly undermining & sabotaging everything one does, retaining a focus on esoterica like that is not so easy), I’m able to begin to understand them, so I can begin to really understand someone who uses those mental modes, & so express myself to them much more effectively.

Hoorah! (-:

19 September 2009

Electronic resurrection!

Last week, I drowned (completely immersed) a Canon A480 still-cam (which of course also takes minor videos) in Fortescue Falls while trying to take a video clip of same.

Since the water is very close to pure there, I hauled out the batteries, the SD card, then flicked it as dry as I could. Carried it open-handed back to Forrestfield, then rested it on a shelf, panel-door open, for 2 days.

Tried it. The electronics seemed to work fine but the optics were not. Massively over-bright & fuzzy.

Frowned, hauled the batteries out while it was still powered on, leaving the lens extended. Left it to dry for a few more days. Jammed it into a case which went into a coach to Albany with me.

A few days ago, without much hope, I switched it on again. Joy! It perks worfectly! (-:

So... I used it for dazzling some Yankee friends with a morning video clip of Little Beach, using a real camera stand (-: eleven minutes of peaceful bliss, set to gentle wave noises! :-) & with some stills from around the Kalgan/Lower-King area. Nice soil, nice scenery there.

Feeding a 1.2GB AVI clip from the camera through ffmpeg turned it into a 19MB MP4 file (also understood by many web publishing toolsets) with no evident loss of quality. That’s quite a change! In theory, I can fit a little under 40 minutes onto the SD card in the camera.

17 September 2009

Wake up, li'l Suzi, wake up!

New toy: Suzuki Sierra.

Sold to me(-ish) for $2500, happy with that as the Red Book price is $4500.

Now getting accustomed to:
  • the habits/skills of driving again
  • more transport choices
  • having more photogenic spots within reach
It’s all good! (-:

14 September 2009

There's one born every minute

You have a small business with 20 people using computers. Let’s have a look at some pricing.

Basic server with Mandriva Linux 2009.1: $1100.00

Cost per seat: $55.00

Includes office software & a virus scanner. (No virus scanner is actually required).

Basic server with MS-Windows 2008 (5 CALs): $3500.00

CALs apear to be about $200 a seat (Edu would be about $45), so...

15 more CALs for the above: $3000.00

Nett: $6500.00

Cost per seat: $325

Does not include any office software or virus scanner; you could, if you enjoy constant naysaying, try installing OpenOffice for free.

A PC for each seat is $502, plus screen ($180). These workstations do not require a virus scanner, but each instance (user) running on an MS-Windows 2008 server does. The workstations can be set up to run MS-Windows XP (guessing that an OEM version could still be grabbed for about $150, Vista would be a bit breathless, don’t know about MS-Windows 7), so would require a virus scanner each, but there is no real point in so doing.

The kicker?

In this town, since the final one of the 3 various Linux-aware dudes left last year, local suppliers have been encouraging the use of MS-Windows 2008 with virtualisation (haven’t explored the cost of that yet).

The virtualisation is needed because services are not as well separated as they are on any Unix (such as Linux) & as they have been for decades. Given that MS-Windows NT was a VMS (Mica) clone (with mil-spec security), that’s pretty bad.

10 September 2009

Borderline-type tech stuff today

I did no programming today. (-:

I discussed Internet connections with a realtor & with a doctor in the course of using their services. The result will be that the realtor saves at least $31 a month & gets a faster connection, the doctor saves $23 a month & also gets a faster connection.

I filled out a DASS test, got 10 for D, 7 for A, 17 for S. The doctor after the doctor testing decided that the moderate A was directly due to my VSO’s influence, the dangerously high S was the result of certain pressures of which most can soon be removed, the high-ish D was a consequence of the S & again was high-ish rather than very high due to VSO.

I began updating postal addresses. From Medicare, HBF, GP, Hudson Henning Goodman, others.

I composed some Fathers’ Day thankyous. They will need to be vetted by legal eagles before being sent, but they will get there, they will be assuring & comforting when they arrive.

The weather here was cantankerous. Started off fine, then got rainy & just after I arrived home got very rainy & very blustery for an hour or so.

Finally discovered how to make my Nokia E63 aware of 3G mode. Dial something odd like *163# & it all springs to life.

GSM Internet works from here to Kojonup (but goes into temporary hiatus for several minutes at a time maybe every 10-15 minutes), there is a large gap Koj-Williams, then another one Williams to the Yule Du roadhouse. Woolstore at Williams make good Mocha as well as coffee.

The TransWA coaches (from about seats 16 to 24) have 12 volt sockets, so tote an adaptor & you can use your laptop between 9AM & 3PM & still dismount with a charge.

03 September 2009

The KISS Principle

“Keep It Simple, Sweetheart“ sounds easy enough to do, but in many ways, this is not a simple world. I do, however, enjoy simplifying things. (-:

Facing this rotten, ancient C program, having it segfault after a few minor changes for no obvious reason, I began to feel a bit stupid.

So... what happens when “We believe that we are stupid?

The curious thing about this belief is that it has been inflicted upon us by somebody else. We would have no concept of stupidity if someone had not told us about it & applied the adjective to us.

So reckons Diana Beaver, an educational researcher.

After discussing life for a bit with someone I seriously value, in which I learned that being “The Crazy Grandpa” is acceptable, but that I am very much not stupid, I decided to apply KISS.

It wasn’t working. Why not? I’d made only a few changes, so the reason is likely to be simple.

Back to the basics.

I sat down & pored through every line of code I was dealing with, rapidly (by #if 0-ing out sections temporarily to see if the rest worked) isolated it to within one function that I had barely touched.

In order for a problem to be made simple, one must understand it. Not always in excruciating detail, but it must be understood, So I began reading statement by statement to be sure that I understood it.

One of the local variables was char *buf[39];, which is an unusually specific value. It turned out that original author had sprintfed a %-38.38s into it. If that overflowed, it wrote text onto the next item in memory: the call-return address on the stack. Off to hyperspace in an instant!

One of my additions produced a 40-character (-byte) string. So... cw80<Esc> then make (which itself only became possible on Sunday), fixed.

The other problem appeared to be where an early routine called a date-interpreting function (which fetched a date stored as a string, hand-scrolled the month digits to the beginning of the string, hand-terminated it there, then returned an atoi ( ) of it).

Careful research discovered that the if ( ) statement this expression was embedded within first checked a string variable (from the argv [ ] array) for a specific value. If no value was supplied, the result was strcmp (NULL, "word"); which of course segfaulted as it attempted to fetch characters from address zero.

Fixed.

Simple can be quite satisfying. (-:

30 August 2009

Now one day older than my VSO...

...will be until tomorrow.

[ VSO == Very Significant Other ]

exSCO app now prints to PDF

The easiest way to do that turned out to be writing HTML, then feeding that to a converter.

The downside is that a 48-page report works out to be 700kB of HTML, which htmldoc chokes on & silently dies.

So... a bit of re-engineering now to start a new temp text file (shut down & restart <html> & <body> tags in between), spawn htmldoc with a bunch of them instead of one file with throwing a <!-- PAGE BREAK --> directive in at the end of each page.

Extra victory: I have one report spitting contents into a <table> tag. It looks much neater & more elegant.

15 August 2009

I am your Commander!

Varth Dader

Earlly Nilliterate


Make mine a Penne Arabiata

So the shirt would read, but for a lack of fabric paints. I’ll be attending a sci-fi themed birthday party for a nephew tonight.

(The meal reference is from the Lego parody of the Death Star Canteen)

13 August 2009

Minor victory in ex-SCO application

47,300 lines of C (plus 6,800 lines of headers) should not take a full day of effort to get to compile, yet compile it does... & even seems to work.

The few sections I tested on my laptop (running Mandriva Linux 2009.1 rather than SCO Unix 5.0.7) behaved flawlessly. Now if the rest proves to be working, we’re poised to actually change a few things, to the immense relief of their staff.

Driving a terminal (any terminal other than strict VT-100B at 24x80 (or x132) would be good) via ncurses rather than from hand-coded printfs to “\33[%d;%dH” would be fantastic. Then we could axe the proprietary terminal program they’re forced to use under MS-Windows (was even Windows98 in one case until the day before yesterday).

Printing (eventually via PDFs &) CUPS will mean that they can use the hp laser (which does only wordprocessing now) for reports & documents like reminders (A5 sized) & invoices. This replaces a dodgy, ageing impact printer (again, hand-coded with “\33w0” & the like).

Writing CSV files will mean that they can actually use their own data for purposes other than those recognised by the original programmer. Using a modern OS will mean instant backups (via tar, bzip2) to USB flash sticks.

Running on Linux means modern facilities, secure updates, secure/encrypted SSH access from wherever (including from MS-Windows machines via PuTTY).

The horizons are boundless! (-: