am I to young ?

When I first read this, I figured a call to panic() would likely bring down the system or set it in motion to abort before the frag explodes . Maaaybe I’ve just lived in a world where the Blue Screen Of Death (BSOD, a Microsoft copyright) is prevelent a little to long. The idea that it calls update(“which I have yet to disect”), prints an error message and calls the kernels idle() loop times infinty is neat. Rather then bringing the system to a screeching halt right then and there. At first glance I would’ve expected it to take down the system right bam’n’slam now.

/*
* Panic is called on unresolvable
* fatal errors.
* It syncs, prints "panic: mesg" and
* then loops.
*/
panic(s)
char *s;
{
panicstr = s;
update();
printf("panic: %sn", s);
for(;;)
idle();
}

Of course from the fine book for study. It seems the only way out of a panic() attack is a restart any way, but its not an instant ‘crash, have a nice foo&ing day, rebooting now sucker’ kind of thing. Which interestingly a lot of times my Windows machines have gone down, *cough*. Its kind of been to the BSOD what the expression ‘Do not pass go, do not collect $200’ is to monopoly. It dies, you get an error, but it kills itself before you get to read it. Then tells you it was *probably* a driver issue lol.

Note that the above code snippet is probably under the this license.

It is from UNIX Version 6 as viewed from here. File is /usr/src/sys/kern/prf.c

Sheesh, I should learn to just roll over and die instead of stand up for my self some times.

Ma caught me doing some research on programming jobs. Now shes pushing, just what I need another pain in my ass. Programming is not like changing a frigging light bulb, Ok?

For petes sake its the kind of stuff a stack full of bachleors degrees would be competitive’ish for a start. Heck if I had ‘practical’ expirence that added up to my work history as a Scheiße Schaufel ‘er. I might actually stand a good chance. She doesn’t know a thing about programming. *huff* to her the FreeBSD and Linux Kernels are pieces of !@#$, to me they are works of art.

sigh… why can’t people ever leave me alone.. especially those that don’t understand (and usually in her case.. wont or can’t. (imho)). I need a ficken vacation.

I’m so tired of this place……

Of Code and Programs

Hmm, do I regret never having formal education in programming ? Not really no. Although I think it would’ve been cool to of had a teacher.

When it comes to languages and what not, every thing I know I’ve basically learned on my own. With the assistance of the fine World Wide Web of course. For what ever reason, don’t know any more lmao. I started learning C++ one day. Said what the heck, installed an IDE and hit the web.

That was maybe 1.5-2.5 years ago I think..

One thing I do think I’ve missed out on. Is being educated on the things that transcend the languages. For example.. implementing a bubble sort in language foo should be easy enough ! But on the other hand. I’d much rather have a strong understanding of sorting algorithms and how to work out such problems my self. Then be able to implement the same solutions in many tongues. Although there’s arguably no optimal algorithm that can solve any problem hehehe.

I find my self most often thinking in C or Pseudo English when trying to express my thoughts about computer code. I know about linked lists and such. But implementation wise I tend to visualize that sorta stuff in C =/.

I don’t know why but Unix, C, and Vi feel just right. Like an extension of my hands. Now, I’m no solid programmer that’s for sure. But for all of my personal study C is my strongest language. I’m not sure which I’m better at expressing my self in. English or C, its like a First and Second language kinda thing =/.

I don’t really think I’m cut out for systems work but I often think about it. Stuff like implementing languages, compilers, drivers e.t.c. all interest me. Hell I’d write my own device drivers if I knew what the heck I was doing. Only thing is I don’t :@

For me the language is a way of expressing a problem, an idea, or maybe even a solution. Although I reckon its meant to be easier for the computer to understand then humans lol. When reading programs I find the hardest things not figuring out what the code does. But how it interacts with the things around it.

Like, the initiation code in the FreeBSD kernel. The codes right there, plain enough as the nose in front of my face. But its hard to understand it. Because I know jack about it. The intimate relationship between the hardware… hard to grasp that fine. Yet its some thing that interests me so.

alas, tis late and I have a feeling to be close to some code. But I have no problem to solve. Well other then a little idea for the Rct Checklist hehe. I know near diddly squat about PHP and MySQL. But its fun and the syntax is close enough to C/C++/Java/Perl that I can figure it out, looking up a few odds and ends to be sure. As I go along with it. Like functions scope.

I do rather like C in that regard, I feel how it handles scope and linkage to be rather logical. Yet in a simple manor for most of it.

Is t his abuse?

I hit http://www.vim.org/ to look for some script and stopped by their tips section. Since I didn’t have any thing else, well I started reading in the tips section. I know its a nice spot to find un-common keybinds and some nice macros and functions.

Is this abuse of the ‘tabbed browsing’ features ???

Free Image Hosting at www.ImageShack.us

Hehehehe I think so!!

I knew it !!!

I was toying with a Distro chooser, after all I’m thinking of setting up a Linux Distro on one box.

I’ve been thinking about a Linux From Scratch actually, the perk of defining my own file system hier (mostly) is hard to drop. I ran through it, and oddly enough it recomended two distros. The Second was Slackware which does not like the machine very well and the First recomendation which I knew it had to be !! HAHAHAAHAHHA

GENTOO !!!!

ROFLMBO I knew it had to do that to me!

Link to the Chooser

Rube

*sigh*

I don’t have time for starting off learning Ada and not in the mood for reading. So I’m toying with Ruby. Its good really, and I should brush up with Perl too.

I dunno why but for some reason I seem fascinated by the Ada language 0.o

Photo Op

PC-BSD 1.3/FreeBSD 6.1-Release and KDE 3.5.5. The system monitor is Gkrellm2, the console saver is cmatrix and the menu bar has a shredder and network browser applet installed.

Linux or BSD?

Some how it figures, I always have more issues setting up a Linux system then a BSD one… Go figure

Linux supports newer hardware faster

but BSD tends to just detect it.

Heck, if the box in question had a Floppy disk I think I’d install OpenBSD on the thing and go /w the X11 option. But if it won’t dual boot FreeBSD and PC-BSD without hicups I doubt OpenBSD and PC-BSD would be any better….

Bloody hardware !!!

And thinking about early Linux systems, the term ‘Linux/GNU’ probably is more accurate then Linux or GNU/Linux =/

Link fest

http://www.cs.wwc.edu/~aabyan/464/Book/index.html

http://tldp.org/HOWTO/GCC-Frontend-HOWTO-7.html

http://www.linuxjournal.com/article/7884