Monday, March 19, 2012

Spring Fever

Spent the weekend teaching my brother about media servers and how he didn't need to ruin discs by having them where his younglings can get to them...

For those of you who are Windows LΓΌzers, tversity is a good place to get started.

(Tuesday) PHP blues...

(Wednesday) Decided to give Sabayon Linux a shot. Rediscovered my enjoyment of MC Chris' music today...

(Thursday) Got a grasp on php session stuff...

(Friday) Just work, early day due to spring fever.

Weekend Anime: "Aquarion" A rather cute giant-robot battling epic ancient evil anime which is also all about threesomes.

Tuesday, March 13, 2012

Regex funinations!

(Monday) Turns out, if you're coding up a little bash script in busy box, the regular expressions enclosed with '[ ]' and the one prefaced with 'expr' are evaluated in slightly different ways.

'expr' seems to be the more comprehensive of the two.

(Tuesday)  Spent the day putting out 'your lack of planning does not constitute an emergency for me' type fires.  I'd have rather said "tough, deal with it" but then somebody'd just shitty it up, and that dog don't hunt.

And then there was birthday cake (not my birthday) and the day got better.

(Wednesday) Kinda looking forward to the new X-Com reboot (I was a HUGE fan of the original), as well as the next SimCity.

Saw the "new" Windows 8--it looks like the ripped off the interface Ubuntu as been developing and using for a year or so... Poor windows suckers, paying money for 2nd rate copy-cat software with free bugs & security holes! Don't they know they can have a secure operating system for free?

Pro tip: You can run a web script from the command line. If your script isn't working right, try this and you'll generally get an idea of why it isn't working right.

(Thursday) As usual, Internet Explorer has to be the one that doesn't work.  Apparently it's iffy about sending its $HTTP_REFERRER for some stupid reason.

Hmm, have to scrap my entire 'lite security' setup because of IE.  Looking into "HTTP Authentication"

(Friday) Finished the anime "El Cazador de la Bruja" last night. Gave it 3 of 5.

Monday, March 5, 2012

Phone Shenanigans...
My HTC Amaze (awesome Android phone) had some glitch reset near the end of last week.  Afterwards, it was running hot and burning thru the battery in almost no time flat. Worried, almost panicked, the solution came to me in the middle of the night; turn it off. Take out the battery, let it cool, turn it back on.

And, that did it! My phone is once again acting like itself.

(Monday)  Still working on server-side cgi scripting for embedded Linux. Fun/tough stuff.

(Tuesday) Ugh! There's tons to know in order to master bash scripts...

If you're making a cgi script and some commands are working (like cat &  ls) and others aren't (like 'wc') try adding the full path to the non-working command (/usr/bin/wc) and if that fixes it, it means you need to modify the CGIPath in your boa.conf file. (And then restart your boa webserver)

(Wednesday) Exciting news! The 'Raspberry Pi' $35 Linux computer began shipping today! www.raspberrypi.org/

(Thursday) Today I learned there are a few marked differences between the busybox "bash" and the normal Linux bash. Namely: functions in bash scripts.  In busybox, it's a no-go.

(Friday) Came & went...

This weekend's anime: Orphen (3.5 of 5) & 'Oh! Edo Rocket' (4.5 of 5).

Friday, February 24, 2012

President's Day!
Grrr. I dislike useless holidays--the kind where the bus isn't running normally but I do not get the day off work. Had to walk 3 miles to get there. (Monday)

Learned I can do cgi scripts in my embedded Linux devices as simply as throwing in a bash script! Happy I discovered this, wish I'd figured it out sooner. (Tuesday)

Bash scripts cannot handle non-integer math... (Wednesday)

Late getting to work. _sigh_

Pro-tip: If you've used buildroot to assemble a Linux OS for your embedded device and need to cross-compile some c code to run on said device, you can use:

/path/to/buildroot/output/hosrt/usr/bin/arm-linux-gcc

I spent literally 3 days (on & off) trying to find that particular bit of info.  You're welcome.

Was super excited to see the tekkit (modded minecraft) server pack is up! I've installed a test-server on my rig and once it's ready will be trying to move my players to it...

Hey, when coding in C, if some function that should be in there isn't working, check you're included headers.  And then, check again.
(Thursday)

Didn't get home till near midnight last night--stupid bus system.  Today, arrived late. Feels like I have a hot knife in my left temple... _sigh_  Hoping for a good weekend.
(Friday)

Monday, February 20, 2012

--sick days--

Tuesday: Valentine's day, back to work after 3.8 days, 1.8 of which were sick days. Stupid nasty cold/flu thing...

Thursday: Major brain strain, troubleshooting cellular connectivity issues... Learning to compile c code for a different type of ARM processor... Anybody out there have any insight on how to compile for an AT91SAM9G20 processor?

Anyhow, not much this week. Have some music:


Friday, February 10, 2012

Router Blues

This weekend I bought a small, cheap switch so I could connect more wired devices to my router...

Got a "new" (to me) computer to run my minecraft server on--it's now much more stable.

My last weigh-in was 256.0 lbs.  I've been counting my calories (and so on) for over two years and slowly but surely losing weight.

Tuesday: Today, I learned what a 'CGI' is, in reference to web development... means 'common gateway interface' and apparently its function is to let coders make something which interfaces with web servers! Wooo!

If you do any coding or scripting, here's a couple links which pointed me in the right direction:
http://farm2440.blogspot.com/2011/06/creating-web-interface.html
http://www.jmarshall.com/easy/cgi/

Wednesday: Discovered 'jquery' very cool web development tool.

Thursday: I *hate* Internet Explorer.  Any time I'm making anything web related, I must take several extra steps to make sure it works with IE--everything else works fine, just not IE... no, IE needs extra crap just to work right.

Friday: And illness strikes... but I went to work anyhow.

Reality being what it is... my reliable old router has been all sorts of whacky lately, so I'll be teaching a 2-ethernet port computer to be a router and just hooking the switch to that.  I'll let you know how it goes.

Monday, February 6, 2012

Monday, Monday!

So, this weekend I moved my minecraft server to a dedicated machine--as opposed to "crashey" my computer. Sadly, in order to wire it to the network I had to disconnect the PS3 from the wired ethernet and connect it to wifi. _sigh_ First world problems, I guess.

Plus, totally forgot the add an SSH server to the minecraft-server... so while it's running fine at the moment, I'll have to move it to my keyboard/monitor in order to correct that.

Mentally debating getting a cheap switch to go with the router...

Tuesday: Due to the modem & router being lumped together; both were over-heating and causing intermittent flakiness of the internet connection.  Separated them and now it's better.

Plus, totally got home to discover the *new* minecraft server's hard-drive had gone kaput.  So, spent two hours installing Ubuntu server, ssh, samba, java, and the latest bukkit jar on a hard-drive which was just hanging about.  Restored from the backup made last Sunday--and up and running again.

Wednesday:
Piracy the excuse, creating the "crime" so they can get laws passed http://youtu.be/WJIuYgIvKsc

Recently found out Blogger (Google's Blogger) has started a by-country censorship program... which sucks, 'cause I totally dig Google.

Thursday:
Ugh, I think I sprained my brain yesterday--it still hurts today.
Today I learned one can use 'ssh -X' and be able to launch graphical x-server apps via ssh connection.  Very cool.

Friday:
Nothing to report.  Stay strong y'all.


-Stray Thoughts-
Inspired by this video:
http://www.dump.com/2012/02/01/how-to-destroy-a-washing-machine-video/
How hard would (self balancing) spinning device be?  We could use it on washing machines and car tires...