?

Log in

No account? Create an account

Previous Web | Next Web

better...

Ok, so yesterday we tested the new hardware design with the revised software... and it worked... first-time! -!yay!-

Today i've been having a day away from the PLC stuff... it was getting a little obnoxious... if you've seen Disneys' Sorcerer's Apprentice... and you can remember the bit where Mickey is trying to stop the mops and they just keep multiplying and pushing down on him... thats kinda how this thing got in my head.... cept it was this horrid "ladder" programming interface... its basically lots and lots of lines that look essentially the same... you have different symbols at different points to indicate the logic; an 'inputs' area and an 'outputs column'... anyway, it ends up just looking like loads of horizontal lines... which is what I had running through my stupid head when i was trying to get to sleep last night... after a while, they started to do the Sorcerer's-thing... but cos they're horizontal lines, they kinda started looking like tank tracks rolling towards me... really not nice to have running round in your brain when you're trying to drift off to sleep.... definitely not conducive to restfulness................

So yeah, i decided i'd have a day away from it today....

Instead, i've been trying to do odds-and-ends...

Found out the scanner here has failed since the last time I used it (december)... i was gonna scan some piccies for some friends Ruby Wedding anniversary... they want one of their wedding pics on the invites for a start, and maybe some of the pics for other stuff.... anyway, it appears that the wall-wart power supply has died... there's no volts across the tip... which i'm sure there should be....

So i've been doing the job-search thing... found a couple of posts i'm really interested in... one is in California, advertised as available for remote working... doing PHP devel... the other is in Portsmouth... which is too far to commute, so I'm gonna approach them and ask if they'd consider remote working....

Both want samples of work (although the Portsmouth one only ask for sites, I don't have a huge amount online, and most of its fairly basic) so I'm now trying to resurrect the code I started (and stopped) in 2004 for my CMS/web framework thingy... I'm not trying to get it fully functional... there's too much work involved to do that... but I want to knock out the warnings that it currently produces... and I'll tack a note in with the GZip file to say that it was proof-of-concept code, not intended for production use and that it is incomplete....

I'd forgotten how complex some of it is... I'm actually kinda impressed...! There is some cool-stuff in there....

So yeah, its not quite there yet... needs a few things tracking through... and my head is a bit too fuzzy for that this evening... but hopefully tomorrow morning I can nail the last few obvious problems....

The main thing is that it does work... even with the bugs... they're not fatal by any means... they're just irritating...

And then its back to the PLC code... I need to retrofit the "lack of spray control" code changes into the new software version and then I need to start trying to work out what on earth is going on with the new code that doesn't work as expected... see what's getting cleared when it shouldn't following a power failure, and try work out what the smeg I was planning to do for the "return from fault" code... cos it makes no sense at the moment!

Comments

( 4 Mobwebs — Spin A Cobweb )
hellie79
21st Feb, 2008 12:11 (UTC)
Job stuff sounds promising, good luck :-)

"lack of spray control" I have come across that problem before *smirks*
littlemissgoth
21st Feb, 2008 14:04 (UTC)
maybe... i dunno... i've just about given up on hoping stuff will come out well.... the Cali job would be cool though... but I suspect competition could be a bit stiff... which is why I'm resurrecting this old code... its probably the coolest (bare in mind that's geek-cool though...) thing I've ever done with PHP... but it isn't object-oriented or anything... its PHP4 code... and it doesn't even look like code I write now... my coding style has changed, probably cos I don't develop stuff using 3 or 4 text-mode linux teminals and Alt-F between them anymore... I have a laptop that will run X nicely (in fact, its running Linux as a virtual machine and still running X happily :-) )... I still use XTerms though and I still use ViM as my editor... so I dunno... I think I probably just got sick of only using 2 spaces to indent... not very readable... 4 is a nice compromise between the 8 that alot of coding standards specify (the Linux kernel is one, if I remember correctly) and ending up with lines of code wrapping just because you indent a couple of times... like if you have:

function lotsOfIndents (someVar, anotherVar, lastVar) {
    switch (someVar) {
        case 1 : 
            if (anotherVar) {
                if (lastVar) {
                    doStuff();
...


you get 6 indents before the doStuff() call.... thats 24 characters (just over a quarter of a terminal width) at 4 spaces/indent... but over half your screenwidth gone at 8 spaces/indent...

so yeah... lots of 'massaging' to make it look like how I write code now... as well as tracking down the more obvious bugs that fire warnings off all over the place...!

lack of spray control" I have come across that problem before *smirks*

:lol: -innocent- I don't know what you could mean!! -smirk-
hellie79
21st Feb, 2008 15:51 (UTC)
Well surely they will expect things to changed and your style to have moved on over time? I mean if you didn't change and develop surely that would be rubbish? I don't know anything much about this stuff but is would seem to me that assuming you can get an interview I would think that is all good fodder for discussion.

I'm sure you'll find something soon and I'll keep my fingers crossed for you.

littlemissgoth
21st Feb, 2008 21:14 (UTC)
its more that I'm gonna be presenting them with old code... it might reinforce the worst part of my CV, that is, that I haven't done much 'commercially' for (quite) a few years...

anyway, after a fewlot of work, it now looks a lot more like how I do stuff now... its just a bit of (annoying) reformatting...

I don't know anything much about this stuff but is would seem to me that assuming you can get an interview I would think that is all good fodder for discussion.

its the "assuming you can get an interview" bit that's the problem ;-) The code is effectively an extension to my CV... so it needs to deliver, so to speak... it has to have a reasonable "advertisement" factor...
( 4 Mobwebs — Spin A Cobweb )