ECE 2524 Post #11

Everyone's a Poet

Haiku that describes the Unix Design Philosophy:


Each part should do one
thing, so please keep it simple.
Don't complicate it.

Limerick describing my personal experience with Linux/Unix and this class:


Unix is hard to learn,
it makes my mind churn
i need more practice with it
to learn it bit by bit
and take my learning for a turn

Posted in Uncategorized

ECE 2524 Post #10

WHY I THINK IN CLASS TIME IS IMPORTANT:

This week in class we heard that the administrators are trying to turn Unix into a pure online class. I personally think this is a bad idea. Unix is something you can't learn without experience and taking the time to play around with it, and class time (our Wednesday classes) are the time to do it. It's very easy to read online text and understand what it's saying and pass tests and such, but it's different actually applying what you learn. I think in our class time it's been helpful being able to see our TA work through problems, and shows us new things. It not only gives us more experience watching how the 'programming' or whatever we are doing actually works, it also helps us learn more easily (in my opinion) because we can see the actual activities done in front of us. 

Also I think class time could work in other ways in the future and benefit future students even more. I really like how my class works in micro. I think a lot of the things I learn in micro are all fairly new, and although we have homework to write little scripts, and to read documentation (sort of like our UNIX class), I honestly would not have been able to put all the things I learned outside of class with reading the documentation and writing the scripts without our class time to put it all together for me. Also Micro helps me a lot because sometimes we do examples in class that we have to finish for homework of things we just learned, that way I understand how to apply what i just learned a bit, I'm in the groove, yet I still need to finish things off on my own at home, so I think for myself as well. I think this is something UNIX class can do, to help me better learn. 

Posted in Uncategorized

ECE 2524 Post #9

Last week we met with our ECE2524 TA and discussed our final projects. My group wanted to either do a GUI based calculator (with more than just the basic functions) or a text based shoots and ladders game. We discussed how each of these ideas could implement UNIX's programming rules/laws. With the calculator we use the coding with modularity idea by splitting GUI part of the calculator and the actual calculations part. With the shoots and ladders game we could use different rules and such depending on difficulty. 

After discussing as a group throughout this week, we decided to do the shoots and ladders game, because we figured we'd have more fun with it even if its initially a little more complicated. Also we decided we will be doing this project in python. Initially I wanted to do it in C++, just because it'd be easier because it's what I'm more familiar with, but I think doing it in python will be good. I need more practice with python and this will be good practice.

I look forward to starting on this project, and beginning the planning phase next week!

Posted in Uncategorized

ECE 2524 Post #8

We took our practice midterms earlier this week and we had to install the lynx program in order to view the 'pretty' viewme file. I tried to do this with just the typical command (E.g. sudo aptitude install markdown lynx or sudo apt-get install markdown lynx). But of course when I did this I was responded with a prompt for my password, which I had delete or made 'None' earlier this week. So naturally I just pressed enter because I had no password, but this didn't work. I tried it with my old password and that didn't work either, and I couldn't change my password because, it wasn't taking my 'no password' in the old password section.

Long story short, what I had to do was: hold the shift key immediately after bootup. When i got to the black/purple screen (grub), I selected the (Recovery Mode) and then selected the "root prompt". From there I typed

passwd <username>  (where is just my username)

from there I should have just been able to just enter my new password twice, but when I did that I got the following error:

passwd: Authentication token manipulation error 
passwd: password unchanged

I got this error because my filesystem was mounted as read only and I couldn't edit it so to change it to read/write I used the command:

mount -rw -o remount/

I thought this was an interesting experience I would blog about.

Also I went to my first cyber security club this week. I learned a lot of interesting things! :)

Posted in Uncategorized

ECE 2524 Post #7

Yesterday I went to my first meeting of the VT LUUG (Linux and Unix Users Group) club. Today I was really just observing and I felt like I was listening to a different language. Everyone in the room seemed very intelligent, knowledgeable, opinionated, and very well informed. We (or they) went over many topics. They all had very heated discussions about most of the topics. I did not understand much, if any at all. But a lot of what I did understand seemed very interesting. I am determined to understand a little more of what they discuss next week. Below are a few notes and reminders of things for me to look up: (they seemed to have lots of cool secrets. hopefully its okay I type these out)

Slackware
GOG
ZCH
Ubuntu's Amazon search feature gets kill switch
nouveau
CSAW
Dtella (giant file sharing network)
DD
NFS vs AFS: AFS is designed to overcome limitations present in NFSv3


Other than their intelligence they're a really funny group of people. Lots of subtle jokes here and there, it was fun. I'm actually pretty excited to get more involved with this group. :)

Posted in Uncategorized

ECE 2524 Post #6

Today we turned in homework assignment number 4. I can't say I did well on it, but I can definitely say that I've learned a lot more from this assignment than I had initially thought I would. Slowly but surely I am starting to understand the significance of our homework assignments and why I should work harder and take more time on them. Besides just reading a recent post from our TA, I have been keeping my eyes 'open' for the importance of of the things we learn. One thing that has occurred is that a lot of 'python' has been showing up in my life recently. I never realized how prevalent it was until now. 

I work at Burruss during the weekdays and the project I am currently put on is to set up and configure a certain software on a server that can manage logs from client computers. As I was going through configurations, there were some configurations that were to be made but weren't supported in the software. What caught my eye while I did research on google and search on the software's website, is that most people made their configuration changes with python. Also along with other things, I have been preparing a bit for technical interviews, and I have seen how important python can be.

One class I am enjoying a lot is my microelectronic interfacing class. In the beginning, I dreaded our projects and homework assignments because of how long they were, but once I decided to start these projects early and I had time to think about them, I had a lot of fun with the projects. Now I look forward to the next projects / homework assignments we will have in that class, and start them immediately after they are assigned.The next goal I want to set for myself  for this course is to get more excited about this class, and spend more time thinking about our assignments and learning form them.. so I don't do careless things... like forget to take the quiz that was due about an hour ago.....

Posted in Uncategorized

ECE 2524 Post #5

This weekend I have been spending some time thinking about our most current assignment. But at the same time it got me thinking, why are we doing this? I understand learning background information, how things work and such is important, and that this MAY be something that we encounter in the future, but is that the only reason why we have this assignment? Is this assignment a building block to a future assignment? if so, what is so important about the future assignment that we need this building block? Why are we learning this in our Unix class instead of another? What are we truly supposed to learn and get out of this assignment? I kind of wish that this class would more often tell us why we are learning the things that we learn.

I think there were a lot of things in this class that I expected to learn (but that I don't think we'll be learning) and a lot of things I didn't expect to learn that we are. (this statement doesn't really pertain to the above) I am also in another class (ECE3574) that uses linux and requires programming in it.  Many of my classmates in that class know a lot of 'things' about linux that has helped them program that I honestly just don't know. I find now that, all that 'stuff' others know, I need to go out and learn on my own and that it's not something I can expect this class to teach me as I had initially thought. I need to step up myself and look up the material I want to learn on my own instead of being lazy.

Time to learn.

Posted in Uncategorized

ECE 2524 Post #4

So yesterday I struggled more than I thought I would on the homework assignment to create two Python segments of code to multiply sets of numbers. Actually trying to write the Python code on my own without following examples like I have in the past got me really confused with all the different coding languages. I would start typing in python and then suddenly start using curly brackets and such and getting straight into coding in C/C++. This caused a lot of issues just because a lot of commands are usually really similar (like I said in my previous post) but also pretty different (which I didn't notice until after writing Python on my own). I struggled. For quite a long while.

But I have talked about struggling through this class a lot already. So what did I really learn from all this 'struggling'. Something I think I got from Python is learning how to make my code look 'prettier' and easier to read because of how important indentations are, I've learned how horrible my indenting used to be! I've also learned how much practice I'm really going to need... 

Posted in Uncategorized

ECE 2524 Post #3

Recently we have been learning python from: http://learnpythonthehardway.org/

I think that this website is a really good resource for those who have had no coding experience whatsoever and need some place to start. The website explains every little command and how it works. It has examples, a section to ask questions about the certain command, and even a frequently asked question section for EACH command. 

Python to me (so far) is a lot like many of the other languages we are required to learn as computer engineers. This makes me feel a little better, because, for those of you who have read my previous posts, I'm not too familiar with anything we are learning/ going to learn in this class, and I've felt really uncomfortable in the whole environment. But learning Python and being able to relate it to other languages I understand and am familiar with has made me feel a little more confident. At the same time though, I feel like I am still having a hard time adapting to Linux.

There are many things within my Linux OS that I have trouble getting used to from just the simple tasks of maneuvering around to getting used to how to start and write programs on it. I want to be able to do a lot of the day to day things like zipping folders, and creating items/directories naturally through command line, because it will actually save a lot of time considering how slow everything is running for me!

Posted in Uncategorized

ECE 2524 Post #3

Recently we have been learning python from: http://learnpythonthehardway.org/

I think that this website is a really good resource for those who have had no coding experience whatsoever and need some place to start. The website explains every little command and how it works. It has examples, a section to ask questions about the certain command, and even a frequently asked question section for EACH command. 

Python to me (so far) is a lot like many of the other languages we are required to learn as computer engineers. This makes me feel a little better, because, for those of you who have read my previous posts, I'm not too familiar with anything we are learning/ going to learn in this class, and I've felt really uncomfortable in the whole environment. But learning Python and being able to relate it to other languages I understand and am familiar with has made me feel a little more confident. At the same time though, I feel like I am still having a hard time adapting to Linux.

There are many things within my Linux OS that I have trouble getting used to from just the simple tasks of maneuvering around to getting used to how to start and write programs on it. I want to be able to do a lot of the day to day things like zipping folders, and creating items/directories naturally through command line, because it will actually save a lot of time considering how slow everything is running for me!

Posted in Uncategorized