Tuesday, March 26, 2013

Dead wall wart := no internet

Lost internet for half a day!!

On the home system, still not wireless;
running a DSL connection with a DSL modem.

Been running that way for 6+ years, no problem...

then, suddenly no connections.

a quick call to my service provider, late at night, identified the external power transformer (wall wart type) as the problem...

So a physical hardware failure.
Not something I usually worry about;  more about viruses and os updates..

did have my cell as a backup (to lookup the helpdesk number ;)


Sunday, March 3, 2013

Firefox Beta on old LG P500h

Working with Firefox Beta on an old phone:

LG-P500h

running android 2.3.3 (carrier's latest for this phone)

unsure if it even meets the new low end firefox OS hardware requirements...

Notes:

using this phone in a "voice only" mode, just for calls; on a prepaid service.
for data use wifi only.  Have turned off the cell data .

phone has limited memory; do occasionally get an out of memory error when trying https+search on google

like addons
** Adblock Plus working !!

not so sure about apps yet;
installed a game, and wikipedia;  seem slow to start, wikipedia not much different than just the mobile site;  Game's UI a bit slow and unresponsive on this old phone.

tabs:
work well, do keep only a few open, not trying to stress out with dozens open...



iPython Notebook + raspberry pi + minecraft api

using iPython notebook with the raspberry pi minecraft api for quick experiments.

using a second x86 linux machine that hosts iPython, running Fedora 18, default iPython install.


  • copy or unpack the api/python directory
  • modify the minecraft.py : change 'localhost' to the ip address of your raspberry pi
  • start notebook from api/python directory (for import commands to match samples on the web)


ipython notebook --pylab inline


then you have

import mcpi.minecraft as minecraft
import mcpi.block as block
mc = minecraft.Minecraft.create()

print mc.player.getPos()
mc.postToChat("hello from iPython")




Saturday, March 2, 2013

Raspberry Pi Minecraft python api observations

playing with the mincraft-pi and python.

the addition of the api allows you to build structures using blocks that are not usually allowed:

a few fun items I found after a few calls ...


  • lava flows down to the ground if a block of lava placed in air;  you end up with a glowing tower of lava
  • lava turns to stone if you drop lava into water, or if water is dropped onto lava
  • water flows like jello, if you try to create structures above ground of water blocks, they will flow down and ooze.
  • water flows faster than lava; you can drop lava on top of a hill, then later drop water...


[inserting screen shots here, simple shots seem problematic, using phone camera]





result of loop to place an instance of all blocks; the lava and water flow over the side
did place a solid block below, as physics will cause some blocks to fall out of the sky (SAND,GRAVEL)


some geek math ... exploring the lower section of a Mandelbrot set





Sunday, January 27, 2013

Fedora 18 + MythTV

Yet another Fedora upgrade.

background:

been running fedora for the past few years at home; 
Started when I found a machine from a local store that came with it pre-installed (!).

So been updating to the "even" builds, on my mythtv machine ever since.

last update was Fedora 14 -> 16, but did make some mistakes on it then:

did not get the boot sequence correct, and grub was not installed correctly;

ended up installing older second hard disk to boot, and left all my videos on a second "data disk"

Further note:  This machine has "evolved" over time;  Original motherboard died twice, finally gave up and picked up a new motherboard, with a different cpu, went from celeron to amd e350


this time:
Fedora 18 install on a clean 2GB disk, then manual copy the mysql mythtv database + data files.  Did this via an external usb and a netbook on my network...

beginner gotcha: straight scp will make copies of symlinks.... if you have created a subdirectory of symlinks, you end up with two copies of all the files!

Notes so far:

mythtv not in the default fedora repos.
added repo and installed vanilla mythtv+mythweb
copied over the mysql database.






have almost 1TB of video files... that takes a LONG time to copy over a slower network and /or external USB drive or WiFi ...

if you can: use USB3, eSata, or connect both drives to the internal sata !

on initial start: mythtv upgraded database:  nice!
(I let it, as I had the original)

running now:

still have some issues with selinux;

did not allow mysql or mythweb to run;  need to manually setup these


will add further details as I think of them...



Monday, January 7, 2013

red Wii mini review

our old "classic" Wii seems to have a lot of trouble reading disks;  Thought it was just scratches

Finally a brand new game disk failed to read (a holiday gift)

so went out and picked up the "only in Canada" red Wii mini.

Comments:

  • reads old "bad disks" just fine.  Mostly the Lego {x} series were problematic on our older "regular" Wii
  • do miss the SD card for looking at pictures ;
  • do not mind the missing WiFi ;  Could try a usb network port, but have not yet.
  • we never used the wireless connection to our DSi
  • odd red colour does make it look a bit out of place, sitting next to the TV
  • electronic store's 30 day return policy made it low risk
theory:

the older Wii 's DVD drive mechanism appears to be failing:
guesses:
  • spinning speed
  • led power
  • head alignment
  • phase of the moon?

Could have tried to break open the case and manually replace, but the red mini was inexpensive enough to spend the time playing the games, rather than soldering ;)

now that we have a second Wii... looking at the homebrew channel for the older one...



Tuesday, October 9, 2012

Adafruit's WebIDE on latest Raspbian

trying out Adafruit's web ide

initial notes, quick in no particular order...

1) for me did not install via script;
there were some failed dependencies;
(my network may not be the fastest, so likely some time outs)

so the system was not installed.  reran the install script a few times, and it failed at different points.

finally just ran the partially installed startup script as if I had installed manually from git and noted which packages failed to load/install, and installed them manually via sudo npm .

2) version I installed is hardcoded for user pi;  initially tried with a different userid, and system scripts were coded for pi;
-could fix this, but for initial tests, have switched over to pi user.

3) success;
first project running "hello world" and loops!  Very cool.

4) npm is new for me:
lots of "magic" of nodejs ... I'm new to npm and node.js .  IDE does not use python, to teach python?  I was expecting something like idle (icon is on raspbian default desktop)

5) may try c for next set of tests.

6) interesting, IDE is setup for bitbucket, not github?
(I see the ide itself on github)
-could fix this in the code, but leaving with defaults for now.
(I have a github account, created a new account for bitbucket)