1001 Reasons Why We Can't Have Nice Things
You're Killing Your Father
Just sit right back and you'll hear a tale, A tale of a fateful trip That started from this tropic port Aboard this tiny ship.
The mate was a mighty sailing man, The skipper brave and sure. Five passengers set sail that day For a three hour tour, a three hour tour.
The weather started getting rough, The tiny ship was tossed, If not for the courage of the fearless crew The minnow would be lost, the minnow would be lost.
The ship set ground on the shore of this uncharted desert isle With Gilligan The Skipper too, The millionaire and his wife, The movie star The professor and Mary Ann, Here on Gilligans Isle.
So this is the tale of the castaways, They're here for a long, long time, They'll have to make the best of things, It's an uphill climb.
The first mate and the Skipper too, Will do their very best, To make the others comfortable, In the tropic island nest.
No phone, no lights no motor cars, Not a single luxury, Like Robinson Crusoe, As primitive as can be.
So join us here each week my friends, You're sure to get a smile, From seven stranded castaways, Here on “Gilligan's Isle.”
checkmate
integer-ma-tron is spitting out numbers in the most isn't intuitive way possible…add funions and re-engage…
Still unclear of loop structure…..independent study carries on
Made in class program per Matt's instruction.
Going to get my act together on this opus..
Current task, learned from shawn in class chat the “return(0)” ens a function an that is why none of my loops were engaging. The “return(0)” should be used at then end of entire functions within a larger program.
Putting “printf(“loop# is working”) in code to see which loops are/not engaging once compiled.
May be off topic…apologies found myself at a bar, on a Saturday night….doing pseudo-code for an expoentiator?
Whole working on an exponentiation program I have found out the hard way that mathmatical and parenthetically expressed logic is only one solution and that, at time, reverse engineering a solution in plain words can be crazy more effective…not just for code but because if you can express a thought effectivly in words you have a clear idea of it and it's good to hear ideas so they don't get lost in brain mess…
Add print functions to loops to debug..e.g. spits out value of a variable at each execution of said loop.
Forgot again!!
gcc blahblah. -Wall
compiles with warnings
read up on BNF form.
Lots of info to backlog, visited google and saw source code for spanner project and learned a bit how it works (Much of it is in c++!)
also got a lesson in pre and post incriments and their usues as well as resource managment
“enter photos here later”
Made it through “Unix for Beginning Mages” Googled important concepts and have them bookmarked, will add the opus/wiki as time permits
Successfully managed to Putty into lab 46 from home
Readings done, Procrastination defeated in a spike cage death match and the the following are my notes for lab 0x0
pwd utility - displays absolute path to your current working directory
cd - changes directory
-Learned to navigate through directory paths and create new directories
who - displays users logged into the system
after much gnashing of teeth I have discovered typing “alpine” open the alpine client…..%#^$()#(*&^
Ok, so I can write a bunch of bogus logs to make it look like I have been mapping my progress but that would be pretty shady so I will not. Instead there will be super regualr updates to this page with triumph and failures proper.
Current problem is learning how to differentiate and kill multiple detached screens to gain access to class chat again.
catching up with old logs.. nano - simple and effective text editor built into many linux builds Also, wondering what actually separates Linux from Unix….very similar systems…lawsuit?
useful quick reference from Berkeley from brain-farts in terminal commands and a few other useful bits
http://lab.demog.berkeley.edu/Docs/12important/12important/12uc.shtml
==1:37pm== Crosses over with C but try to remember absolute path is entire path heirarchy to a thing and relative is abridged based on current location
==1:40pm== If everything in unix is a file then how many of these file/commands are stored in memory whilst accessing the cli?
Help with setting permissions http://www.washington.edu/computing/unix/permissions.html
lab 0x2 can't find badname.tgz file
Gzip, common comression tool in unix environment Tar,is used to combine multiple files into one while keeping the heirarchy intact
Together quite useful for transfering file systems.
Don't make baby Jeebus cry!!! no spaces in filename!!1!!1!ooneone!1!1elevn
The “cat” command was returning a message saying “This file contains only spaces” turns out that is the text the file contains…..why do they do this to us?!?!?
*reading* - read file
*writing* - read and replaces overwirtes existing data
*append* - point starts at end of file and adds to it as opposed to just overwriting.
Forgot again!!
gcc blahblah. -Wall
compiles with warnings
Allll night Arduino vs Ubuntu showdown…sudo command used with reckless abandon
After much gnashing of teeth and having created a functional particulate sensor and oled arduino device I am back to the assigned projects.
the last bit of lab 0x2 is not working out well for our hero so am skipping to the puzzle-box tasks
also, my netbook is now dual booting windows/ubuntu :)
yep on vacation in Seattle doing homework…oh the places you'll code!
Looks like .bash_history cantaloupes every command you've ever entered int ot command line
Thanks Matt for this exapmle of how to count from the begining of an array to the terminating character
i=0; while(c!='\0') { c=array[i]; ++i; }
*gcc = c compiler* *g++ = c++ compiler*