Whats my name? (Haiku)
Short and sweet is best
I love logical thinking
My Name is Unix
Speak up (Limerick)
Starting from scratch this is going to be rough,
I work through the assignments throughout the semester this is tough.
Unix and Python kick my butt
And all I do is keep my mouth shut
I’ve almost made it to the end, I’ll be ok surely enough.
I agree with this post completely. First day of class is not as exciting as it used to be; no one tries to meet new people or talk to the person next to them. As difficult as it is maintain a social life as CPE, I feel like there are many opportunities to meet new people with similar interests, such as in school clubs or sporting events. I think effort is simply needed to meet new people.
Speaking up in class is entirely a different issue, I believe the main reason for no one wanting to speak up is because they are intimidated by public speaking. I know its a small class of 30 people, but I would nevertheless consider speaking up in class as public speaking.One way to fix this issue would be to make public speaking class part of our curriculum. Not only will this help in the short term, but it will be very useful on the job.
Well, its either my reason above, or no one knows the answer to the professors question.
Here are my poems for the everyone’s a poet assignment. I’m no poet, so please don’t judge to harshly
Programs should work well
Together and by themselves
with text to connect
Learning Unix when I’m used to Windows
Was difficult, proving to be a challenging foe
But I soon learned the new rules
And the benefits of the command line tools
Although I still think the exit button on the right side, is where it should go.
Simple is the word
Only does one job very well
Why do any more work?
Unix was cool looking and different
but was difficult to understand
For doing everyday tasks,
were painful tasks in itself
But what is life without a few pains.
In a recent post thomaswy asked about maintaining makefiles for larger projects. It is certainly true that manually updating lists of dependencies for many (hundreds… thousands even, the Linux kernel is comprised of some 22,000 source files) can become tedious. Luckily there are tools that will generate Makefiles for you, though really their motivation is to automate the build process on a wide variety of machines and platforms. If you’ve used Qt for development you have probably been using the ‘qmake’ command. This is generate a ‘Makefile’ that is then read with a subsequent call to ‘make’. For more general projects GNU provides Autoconf and Automake. Along with a couple other programs these are referred to as the GNU Autotools. If you ever need to install a piece of GNU software from source (if a package isn’t available for your distribution, for instance) chances are it will use Autotools and you will build it with two commands:
The first command will generate the Makefile that is then used when you run `make`. In the process of generating the Makefile, `configure` will check your system for necessary libraries and tools and notify you if something needed is missing. This is also where you would specify optional build parameters. To get a list of options run
$ ./configure --help
If you decide you do want to make your project available to the open source community, it’s a good idea to set up the build process using GNU Autotools since folks will be expecting it.
Another option is cmake, which provides similar functionality to GNU Autotools and in addition has the capability to generate project files for a number of IDEs. A quick google search will turn up several commentaries on the merits of the two build systems (and probably several others).
If you do find yourself writing several Makefiles for larger projects (and even if you don’t), be sure to familiarize yourself with the issues raised in the now well-known paper Recursive Make Considered Harmful by Peter Miller.
thatoneguy posed this question back on October 16th. Essentially he asked if engineers started off shy, or become shy because they are engineers.
I think that engineers may start off somewhat introverted coming out of high school, but when they are put into a bunch of classes with other introverted engineers, they adapt and become even more introverted. This turns into a vicious cycle that outputs what society expects: introverted, quite, socially awkward engineers who are smart, but are unlikely to be understood by the general public.
While writing the haiku and limerick for the assignment due tomorrow I realized a few things about the class and my feelings toward Unix. I’m very reluctant to learn new things about Unix because I’m so used to Windows 7. I don’t even want to learn Windows 8 because it’s a new operating system. While I realize that Unix and Linux can be completely customizable to your needs, the “default” package of most operating systems is enough for me. Most of the programs and packages we have had to install in Ubuntu have given me some form of trouble. My personal opinion is they should not make this course mandatory for CPE’s in the future. If you don’t want to learn a new operating system then it will be very difficult for you to learn it, and learn it well.
Ants are small creatures
each ant doing their job well
so the queen’s happy
(queen = entire OS ; ant = program)
It started out rough
because I had never used Linux, it made homework tough
but thanks to Google and the exercises, i was out of my misery
No thanks to python and it’s mysteries
I was able to finish my homework and other stuff
My latest project in ECE 3574 is about cooperative process. The purpose of our assignment to communicate between 2 different files which includes 5 processes altogether. Cooperative process is the idea of of passing/retrieving information within the processes. There are two ways that this can be done:
1) Shared Memory
In shared memory, all communicating processes must establish a region of shared memory. Each processes then reads/writes to this shared memory location. It is important to make sure that two processes may read and write at the same time. A classic example of shared memory problem could be encountered during a producer consumer problem. The producer produces while the consumer consumes the information. The best place to put the data would be in the shared memory location which could be accessed by both the producer and consumer.
There is no memory allocated in message passing. A small mail box with a corresponding mail box number is attached to the processes. The processes send and receive data through this mailbox. A communication link must be established for two processes to communicate. My current project focus of Message Passing which utilizes Posix Message Queues.