sswanson:  Sorry that was rattled off as an entry as quickly as I wrote it.

That code is written in the language Ruby.  I learned to program
the language by reading Programming Ruby: The Pragmatic Programmer’s
Guide, which can be read here:

Unfortunately, though, the Pragmatic Programmers assume you’ve already
worked on that sort of thing before.  Information on the language
itself (for English speakers, anyway) is here:

Actually getting into programming computers requires a kind of muse- I
stopped programming for a long time because I couldn’t think of
anything that I felt that I needed to program; with enough searching,
you’ll often find that somebody, somewhere created exactly what you
want already.  While that’s occasionally the case for me, I’ve run
into so many ‘That’s perfect, except-‘ that being able to write a quick
program that does the last step for me is very important.

If you want me to explain the basics of the language, or even go line by line through the last program, just ask.

Being a bit more specific this time, I wrote the code in the last entry
to make up for the fact that though my music program at home can create
pretty cool random-ish playlists for me, the music comes from all kinds
of crazy directories and it’s hard to pick them all out if I want to
play them in my PDA.  I often just put all the music in one
directory to play, and well, that didn’t achieve the desired result.

Since the playlist saves with all the oddball directories in it, and
it’s in a nice plain readable format, I wrote the program to read those
filenames out, and copy the file to my PDA.  However, if I also
copied that playlist file on my PDA, the directories would point to the
wrong places, so I have to change the places that get pointed to as
well.  Finally, the last bit writes out the brand new playlist.

Thanks for the comment, I hope that wasn’t too redundant.

See you next time.


2 thoughts on “

  1. I was hoping for just a simple link, so you’ve outdone yourself here. I’m sure you’ve got other things you’d rather write about. But no, not redundant! I have a shady knowledge of some basic programming concepts – so I’m not totally befuddled by the whole thing..pretty much though :). I will study up and see if can sink my teeth into some easy stuff and I’ll let you know how I go. Cheers.


  2. crazy1 86:hey baby!!!h0tNsPiCy91: whos dis???crazy1 86:ur secret admirer!!!!!h0tNsPiCy91: o really…. quite lyin! whos dis???crazy1 86:i loved u the first time a stared in your eyes…crazy1 86:i think about u everyday… you are my dream come true.crazy1 86: we met once! i dont think u remember tho.crazy1 86: i cut myself because the pain takes away my feelings of u.crazy1 86: tonight u will see me some time tonight….h0tNsPiCy91: ..WHO IS THIS!?!?!?crazy1 86:dont worry…. ill take very good care of you…crazy1 86 had signed off.the girl was so scared she locked alll her doors and windows. she made sure her room was secured. she was so scared if it was a joke or for real. she didnt know when he was going to come. the girl was frighten so she decided to sleep with her little sister. the girl dozed off quikly. then she heards a knock on the window. the girl slowly walked to the window. it started knocking louder. the girl looked through the windows and saw nothing. just some of the tree branches. the girl went back to bed with her sister. the bed was wet and a pretty smells horrid. maybe her sister wet the bed… the girl checked and found blood everywhere. the girl panick. she didnt know what to do. she ran and hid in the closet incase the guy was their for her. while looking through the cracks of the closet the girl saw a shadow. it was dark so she couldnt figure out who it was. she started to get more frighten. the man crept closer to the closet. the girl closed her eyes as if it was a dream. then suddenly he open the closet door and pulled her out. her parents found her dead. she was skinned all the way and was hunged in her sisters closet.PART 2…2 years after the the sisters deaths, the her parents got pregnant with a baby boy the girls room became a guest bedroom and the little sisters room where the murder took place became the babys room. the baby grew up to be a secessful kid. one night he was on the computer and got a instant messege.h0tNsPiCy91:hey lil bro!!!2seXay4u: who the f is this?h0tNsPiCy91: its your big sis.2seXay4u: i never had a sister. im an only child.2seXay4u:this is some kinda joke huh?h0tNsPiCy91: mom and dad never told you?h0tNsPiCy91: i died 15 years ago with your other older sister.h0tNsPiCy91:we were murdered in your room which was once my little sisters room. she was killed in bed when i was sleeping and i was killed in the closet and skinned to death.2seXay4u:quite lying. i never had a sister. if i did my parents would tell me. whatever. your stupid.h0tNsPiCy91: you dont believe me? well if you wanna look in your closet floor.h0tNsPiCy91: i carved my name, time and date i was being murdered. then icarved my little sister name.h0tNsPiCy91: if you dont believe me little brother check the internet. type in ”smith sisters murdered anonymously”.h0tNsPiCy91: i gtg little brother. i love you. and mom and dad soo much. i cant believe they kept us a secret from you. they should burn in hell.the boy checked the closet. he saw the carvings. was it true? he surfed the internet and everything was their about the anonymous murder in the house. the next morning the boy went downstairs. it was so queit. maybe mom and dad was sleeping.. hours later the boy found his parents in their closets skinned and hung. then he found more carvings on the ground. it says ” I TOLD YOU I WASNT LYING. LITTLE BROTHER, I LOVED MOM AND DAD…. BUT THEY KEPT ME A SECRET. I CANT BELIVE IT. WELL IM FREE FROM THIS COLD WORLD. I WONT HURT YOU LIKE HOW THEY DIED. I LOVE YOU!LISA SMITH ”this is a death chain. if you dont send this in the next hour the parents will kill you at night. they will kill you like how they and the sisters were killed. good luck!!! >send this to 10 ppl in the next 5 mins………>and……..>u will get kissed on friday by da luv of ur life….>DONT BREAK THE chain!>ur crush will ask u out.>2morow will b da best day of ur life.>Howeva, if u dont send this 2 @ least 10 ppl>by @ least 12:00 2nite u willhave bad luck in ur luv life 4 da rest of ur >life


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s