About Me

Michael Zucchi

 B.E. (Comp. Sys. Eng.)

  also known as Zed
  to his mates & enemies!

notzed at gmail >
fosstodon.org/@notzed >

Tags

android (44)
beagle (63)
biographical (104)
blogz (9)
business (1)
code (77)
compilerz (1)
cooking (31)
dez (7)
dusk (31)
esp32 (4)
extensionz (1)
ffts (3)
forth (3)
free software (4)
games (32)
gloat (2)
globalisation (1)
gnu (4)
graphics (16)
gsoc (4)
hacking (459)
haiku (2)
horticulture (10)
house (23)
hsa (6)
humour (7)
imagez (28)
java (231)
java ee (3)
javafx (49)
jjmpeg (81)
junk (3)
kobo (15)
libeze (7)
linux (5)
mediaz (27)
ml (15)
nativez (10)
opencl (120)
os (17)
panamaz (5)
parallella (97)
pdfz (8)
philosophy (26)
picfx (2)
players (1)
playerz (2)
politics (7)
ps3 (12)
puppybits (17)
rants (137)
readerz (8)
rez (1)
socles (36)
termz (3)
videoz (6)
vulkan (3)
wanki (3)
workshop (3)
zcl (4)
zedzone (26)
Monday, 21 December 2009, 01:28

The Puppy Breathes Again

I was talking about ARM stuff on an IRC channel and got interested in playing with my BeagleBoard(s) again. I remembered there was a hardware issue that caused the UHCI port to fail pretty regularly and looked up to see if the designers had found a fix.Fortunately they had.

Subject: [beagleboard] Re: USB EHCI problems
From: Gerald Coley (ger...@beagleboard.org)
Date: Nov 9, 2009 5:57:18 am
List: com.googlegroups.beagleboard

This issue is due to be fixed with on REV C4. It is not clear that it can be fixed on all Rev C3 boards. You are free to try an RMA, but their is no guaranty that it can be fixed. What will be done there is the soldering of the 20uf CAP across C97 and then they will run the board for a couple of days to see how well it works.

Gerald

So, at 3am on a Saturday morning I went looking for parts. I was feeling a bit apprehensive about soldering on such a tiny part, but I didn't really feel like sending it in either. I found a 22uF electrolytic cap on an old motherboard on which all the green caps blew which fit the bill and fit the tiny spot on the board. I worked out which pin was connected to the ground rail and gave it a shot.

So after that I had to re-setup a booting image - previous ones had been wiped to use my digital camera, and a HDD was wiped to transfer tv shows. Setting it up is a bit messy but didn't take too long. Once I got it setup I had it playing video and internet radio and left it running overnight (well over-day, it was about 6am by now).

And it's been up since.

Nice one - before I was lucky to get an hour, and copying some video files across the network would've almost certainly killed it. Well thanks to the BeagleBoard guys for finding a fix. After reading about the technical specs of the OMAP chip I'm almost surprised the thing works, electronics is such a fiddly thing, compared to software where at least 0 always means 0 and 1 always means 1.

Now, to find something to do with it ...

Tagged beagle.
Friday, 18 December 2009, 05:56

Too many late nights, Dragon Age

Well i've been losing the plot a bit lately - staying up till 5:30 playing games, watching tv, commenting on blogs I should probably not be commenting on. Had a strange episode last night too - possums were running across my roof about 3am making a terrible racket - well that happens almost every night. I went to go outside to shoo them away but caught sight of some guy on the road with what looked like a golf club. I snuck back inside and went back to what I was doing. There was quite a bit of screeching going on before everything went quiet. Must say i've thought of doing the same myself (or what I imagine he did, I didn't look), but they are a protected species. Yard has gone no-where all week, although i've been keeping the plants alive and eating lots of button squash. I did a couple of hours of work this `morning' but tired out pretty fast (should've had breakfast first). I was contemplating doing a bit more this afternoon but after I had some lunch and sat back down on the computer I might just give it a rest for another day.

The 5:30 sessions have been for Dragon Age. It's a strange game, i'm still not sure if I really enjoy it yet, or if it's more like work and I think i've spent more time talking than fighting so far. I guess that's ok in and of itself, and it is mostly done pretty well (it's ALL spoken - most of the voice acting is good too), but it's a bit of a change from other RPG's i've played where the dialogue is just a plot device and not a past-time in itself. Although there's been a couple of times - like when the busty wild mage starts going off about turning into a spider - that were quite confusing, since there didn't seem to be any reason they were talking about it at the time. Also feels a bit funny when, after chatting with some NPC cordially for 5 minutes, you accidentally do one wrong thing and they wont talk to you ever again.

It's big and open and non-linear, although that usually means you don't know where you're going at some points. There also seems to be long-term consequences to how you treat allies and alternative ways to solving things - which is a nice change from 'it doesn't matter what you do/the order you do it in, it always goes through the same steps' (well it seems that way, who knows in the end). Which party members you have active at a given time seems to affect conversations too - but that might've been a coincidence. One problem is that you're often not in the possession of enough information to know if you're doing 'the right thing', and sometimes the decisions are made unknowingly - like turning the wrong corner and getting stuck in a fight you didn't intend. I need to save more often - but why does it take so long to save! It takes about 30 seconds, 10 of which you're paralysed cold and the rest runs mostly in the background. And there's a lot of reading - all the writing (and there's a LOT of it to read if you want to) is too small too for a TV game, and light-on-black which is difficult to read.

The combat system isn't too bad, although a bit clumsy at times - being real-time makes it hard to keep track of all 4 characters and I keep losing them since they don't drug themselves up with health `potions' automatically - I guess I have to investigate the `gambit' system further. Final Fantasy 12 did a nicer job of introduction this programming system I think, made it more accessible, even if it took a lot longer to become useful. For potions, you have to change your current character to the one you want to take the drugs - which is clumsy in the heat of battle. Often when you do, the guy you were playing decides to rush in with his sword when he was quite safely firing arrows - or he just wanders off and forgets to fight! Also I don't know why (nor do I like it) how the current character keeps saying 'yes i will do it', 'as you wish' and crap like that every time you hit X to swing their axe or pick a lock! It completely removes the third-wall for no apparent reason. Isn't this meant to be 'role playing', not 'god playing'?

Early on I didn't get a back-pack at one of the shops (and they're very rare) and now i'm permanently down 10 'weight points' of carrying capacity since that shop has vanished (unless I go back 10 hours of playing) - and it's a constant pain. Mechanics like that are just frustrating and pointless. It adds an unnecessary level of micro-management whereas this is the sort of knowledge you'd expect the players to just know and take care of themselves. Be better if it was just experience and/or strength based. The inventory/status screen seems to overlay on the the live image (whilst pausing it). This seems like a really odd decision, and all it means is sometimes the menu system runs somewhat slower than it should, and uncomfortably so. It is mapped to the controller quite well though, making good use of all of the buttons and sticks - not just a PC port where they map a pointer to one of the sticks, and X to the left mouse button.

Technically it is no Uncharted 2 by any stretch. The stills may look ok (and some look fantastic) but there's a fair amount of popin and the framerate is very unsteady which detracts significantly from how it feels when wandering around. Add some very lo-res textures for things like the ground or tables which are part of canned cut-scenes and conversations which you are guaranteed to look at closely, and it looks more dated than it should. There are very long (10-20s) loading pauses between areas or if you die, even with a big (and painfully slow) copy-to-hdd bit when you first run it. Naughty Dog shows it can be done without the pauses, so it's a pity most developers are too lazy to do it and stick to the crappy 'pc way' of stop, load everything (again), continue, which doesn't translate well to optical storage. Traditionally I put this down to two things - 1, it's easier, a lot easier - and it's not just code, it involves art assets too, and 2, PC hardware can't do two things at once, like loading off a slow disk and keeping number crunching going, but there's no excuse in this day and age and hardware and gigantic budgets for such a naive implementation.

Well over-all it's a pretty decent and involving game so far, even with those criticisms. And it's nice to have a half-decent RPG on my PS3.

Tagged games, ps3.
Monday, 14 December 2009, 07:55

Time and Change

Well time has been passing pretty fast lately.

After a visit to a mate who'd done a lot of work on his yard in the last few years I was convinced of the need to think a bit bigger in the back yard department. So i've ordered a shed and a new verandah and have spent the last month working on some site preparation. Well I still have plenty of time but a sense of urgency is starting to creep in since there is still just so much work to do. Originally I was just going to work on the site prep and worry about the rest of the yard later but I do have an awful lot of time and it would save work if I got a few things, like a long retaining wall, out of the way first. Rather than moving piles of dirt and things from one place to another multiple times, I can just move it where it needs to end up and leave it there. Might even be able to get some lawn going by then.

It's been damn slow going though. Weather is too hot or too wet, i'm too hungover, I don't really feel like getting covered in sweat and dirt that day, or lately i've just been extremely tired. I often fall asleep infront of the tv before going to bed. So sometimes I just need to sleep for half a day to catch up a bit. Blah. A few hours, a few days a week, using nothing but a bucket and a spade, well, it's slow and hard work. Disappointingly I haven't lost any weight mind you :-/

The front yard isn't dead but it isn't really flourishing. The thyme lawn is growing very slowly but at least the roses are about to flower again. I think I haven't been watering it enough. The vegetable patch is going pretty well though. Button squash are already fruiting regularly, as are the cucumbers. Tomatoes have a lot of growth and i've had a handful of tiny cherry tomatoes off this week, but they've just covered themselves in masses of flowers so maybe they'll kick in properly by Christmas or New Year. A few more bees around with the weather warming up and settling down too. The sweet potato slips are starting to grow at last - I think they need the ground to warm up a bit more first. I've tons of things in pots too, so just keeping everything alive takes an hour or so every day.

My house-mates just moved out on the weekend so things have gotten a lot quieter all of a sudden. Well it might help me sleep a bit more in the mornings, but the sudden lack of company will take a little while to get used to again. Another visit to another mate gave me the idea of putting in an en-suite for one of the bedrooms and renting it out to a professional woman, so I'm considering that too. Visiting friends is getting costly!

I never finished Uncharted 2 - although I still intend to one day. I'm a fair way through Ratchet and Clank: A Crack In Time too. The last one I played was a bit easy and lacking something new, but I think they did a much better job this time - if you were ever an R&C fan and lost interest, this one is worth a shot. Oh and they finally implemented triple buffering so no tearing and little slow-down when they drop a frame. I also got Dragon Age: Origins but haven't played it very much so far. Partly because others wanted to use the TV, and partly because it starts a bit slowly and feels a bit too 'pc-game' (I can barely read the typeface on most windows!). I think I played more of a neat little free game called 'Widelands' which I found when looking for a 'The Settlers' like game from the Amiga days. I was playing with UAE one afternoon and re-discovered that gem. Widelands has the mechanics all there but the lo-res graphics on the Amiga had a lot more personality and charm (and much better sound fx). Back on the PS3 I got a PlayTV - quite happy with it so far. Certainly a few things could be improved but it works quite well, and it's easier to setup than MythTV. I might get another one just to plug into my PC for MythTV since my USB tuner never worked properly (lots of broken data, particularly if both tuners are on but not specifically so). At $150 it's not bad for something that I KNOW works reliably and with Linux.

Haven't touch Haiku or the beagle boards or any coding at all for ages either. Well now I have an excuse in the yard ... but part of it is that many of the interesting things to do are just problems that are too big for a part-time hobby. Well there's still the idea of a little game, that could still be simple I guess - although my game-designing mate has dropped off the radar lately too. I suspect once I'm working on something interesting again I'll find coding as a hobby more interesting too. Perhaps!

And this period of what I like to call my `unpaid long service leave' finally has a cap to it. I've got some more work lined up early next year which hopefully will be more up my alley than the last few jobs I've had. Using CUDA or I would think more likely, OpenCL to do some image processing. CELL BE would've been fun but with the new PS3's not supporting Linux it would be a hard sell.

Tagged biographical.
Thursday, 22 October 2009, 03:21

Holidays are great ...

... you don't have to do anything.

Oh I've been poking around in the garden and the yard, playing with Haiku (porting emacs, but not much) and reading lots of blogs about the impending catastrophic failure of western civilisation and drinking and eating too much. And even playing some Uncharted 2 (probably the best game i've ever played to date in all respects, technical, graphical, story, acting, action, aural maybe not but certainly up there).

Tagged biographical.
Thursday, 17 September 2009, 02:15

More beagleboard stuff

I've still got some problems with the USB port - although now i'm using a USB HDD for the OS it seems to be a lot more stable. Every now and then it dies and requires a reboot. Hopefully the BB guys and/or TI work out what it is, both of my boards have it. Instead of using the usb OTG port i'm using a PC PSU to run the board - I thought that might help the crashing problem, but it didn't really make any difference.

I haven't had much fun with the default demo build of Angstrom. It's limited in strange ways. I haven't been able to get it to compile either; I got it further by forcing a serial compile, but it still eventually dies, and the build system is shitting me off too.

I gave Android another go - now i've got a screen. Yay, a phone interface. Doesn't really work with a mouse and keyboard, the network wouldn't work and things crashed a lot. Oh well, I think the basic idea is right (throw everything away and use linux as a set of device drivers), but a phone-os has little appeal to me (i'm still using a nokia 8250).

So I tried the Touchbook's OS from Always Innovating ... it's just a custom build of Angstrom. Much better though - the sound even works (sounds quite nice quality to my shitty ears too), although mplayer doesn't now :-/. It's also a bit snappier (it has the powervr drivers and some dsp stuff too). Running off the usb hdd is a lot faster than flash too - it was my old playstation hdd so it isn't even a particularly fast drive. It seems to be set up reasonably nicely although it has a few weird things - like no shadow file (`sudo sh' gives you a root shell). I have to manually bring up the usb ethernet adaptor, otherwise it basically works straight out of the box.

I've also been trying to get haiku to build, but not having much luck. Not that I expect it to work but it can't even get past building the cross compiler. Sigh. Well i'll try with a manual build of gcc rather than the system's and see how that goes. I couldn't register with the haiku site to ask questions since it wanted a 'captcha' that it decided not to display, but they've been making site changes so I should probably keep checking.

Apart from Angstrom's weirdness, linux and the distributions around it are starting to give me the shits somewhat. Progress just seems to be bigger and slower like every other system. My laptop's are running slower now I `upgraded' their distributions. I don't think the 'open saucer' crowd's motto of 'more eyes make bugs shallower' really sums it up, I think 'enough eyes make even the worst software work'.

And i've been reading various ARM & OMAP manuals on and off. There's a great deal of complexity in that little chip. My foot's pretty ok but now I have a sore shoulder. Too much hunched over computers and soldering irons and carrying buckets of dirt.

Tagged beagle.
Thursday, 10 September 2009, 12:08

Woof

Well my beagleboards arrived. And i've spent the last couple of days getting them going. Ugh. Actually it arrived about midday yesterday - but it seems like a couple of days already.

I got the serial console going pretty easily and after a bit of a false start with a dodgy SD card I got it booting reliably. But I couldn't for the life of me get the damn video working all day yesterday and most of today. The problem is the video format option has changed every kernel revision, so it took me some time to track down the right one. It didn't help that I only had cables to hook it up to my TV which is a bit pickier about what it will accept. Although I finally got it working - it was off the screen and not very usable though - I went and got a dvi-d cable today so it's now plugged into my old monitor. The computer shop also had a second hand usb 100mbit ethernet adaptor for only $5 which saved a longer trip or unnecessary spending.

Tiny tiny thing, lost in wires and crap on the desk.

I also tried getting the cross development environment up. Sigh. Another stupid build system (it's written in python ...) to deal with, and it builds a whole distribution which isn't really what I wanted at this point. And it failed part way though building it's 3000 'steps'. Well I suppose i'll keep trying but i'm in no rush right now. The angstrom distro seems a bit flakey too - doesn't want to mount any of the usb drives I have. I've had some usb issues - if it gets particularly busy, usb just drops out and needs a reset to fix - appears to be some hardware bug with the OMAP itself :-/ Otherwise it's kind of neat. Not the snappiest thing running X or firefox, but it works - powering off a usb port with no cooling required. Feels similar to ps3-linux, although mplayer is pretty slow (then again, it's using 1/600th the power!).

Had a bit of a turn with my main box too - I had to reboot it since I stole the dvi-d port on my monitor for the bb and it wouldn't turn on the vga without it (or at least, it was the easiest way). After that it wouldn't let me log in - orbit issues. Turned out all the orbit directories in /tmp wouldn't go away, infact the directory wouldn't list properly and only some files would delete. Hrm, I thought jfs would be more reliable than that. A forced fsck fixed it, and it deleted /tmp altogether.

And I hurt my bloody foot last week. Not exactly sure what I did to make it happen but best I can work out is that I ended up with tendinitis. Sore as buggery for a few days - but I had things to do including riding around and walking around shops all day last thursday and I didn't let a little pain stop that. But since after a whole week it wasn't getting better I thought i'd better look up on the internet and find out what I had. After the last couple of days of resting a lot more seriously it seems to have gotten a lot better. I'm still treating it gently but it was ok enough to ride the 300m to the computer shop and back and limp inside.

Tagged beagle.
Tuesday, 08 September 2009, 03:37

Total success

Well on Friday I got my Chef at last, so apart from making some bread (which didn't really work out - insufficient volume to mix properly, i'll try that again today) and some biscuits I thought i'd try something a bit more ambitious, making pizza.

Hmm, yummo. I didn't have much in the fridge, but I managed ... anchovies, capers, smoky bacon, onion, capsicum, cheddar cheese all on a home-made sauce (some garlic, oregano, and a couple of tins of tomatoes). The strong flavour of the sauce made a good base, and pretty much everything else added up to a very nice pizza with a particularly strong flavour. I put some wholemeal flour into the dough too which added a nice texture and flavour too.

And I just got a shot of the finished result while there was still some left.

Bit easier than I thought - the dough making is easier than making bread since you only have to let it rise once and it isn't so picky about getting the structure right. Still took a while but you could probably streamline the effort to speed it up, and there's a few things you can do in parallel, and/or even do offline by freezing partial results.

Tagged cooking.
Tuesday, 01 September 2009, 23:45

Partial success

I've been meaning to for a while - with all this time lately I certainly have the opportunity for once - to make a lasagne.

Using a pasta machine to make the sheets of course. I used a hand mincer to make the mince too. Those things are surprisingly hard to find these days. Perhaps also surprising is that even using the cheapest meat I can find it makes probably the nicest mince I've cooked. Bit of a pain cleaning it though.

So the result. Tasted very nice, but a little on the dry side. Since I used fresh pasta I figured it didn't need cooking separately. I was half right. It did cook ok in the oven, but since I'd reduced the sauce a bit on purpose -- I wasn't sure how dry it should be -- it ended up a bit dry. I was also a little short on sauce so the penultimate layer was just bacon instead, which helped dry it out, and I think I had too much pasta to sauce. Next time I wont cook the sauce so long, and have more of it (or make a thinner dish).

Tagged cooking.
Newer Posts | Older Posts
Copyright (C) 2019 Michael Zucchi, All Rights Reserved. Powered by gcc & me!