Was wondering around my hard-drive and stumbled over a document I must have had since the time I was in high school. It's a nice little doc named: The Conscience of a Hacker. Kind of makes you think. This article was on this web-site since the beginning of time. I just never bothered to link to it from anywhere. Slowly becoming used to this Microsoft Natural Keyboard; still a bit rusty on the arrow keys though. Also, the del, insert, pg-up, and pg-down keys are weirdly placed. I wish they kept arrow keys, and other control keys the same as in the classic keyboards, and only changed the arrangement for the letter keys. The keyboard is really nice when typing lot of text, but really sucks for anything else. A Pepsi vending machine ate my dollar today. I decided that I won't let this go this time; it has to stop sometime. I written down the number on the vending machine, and tomorrow will call them and complain. They took my dollar, and I want it back. This is a matter of principle! They've left me thirsty! Had a fairly long test on microprocessors today (actually, micro-controllers to be exact). I don't think the instructor really comprehends the level of understanding that most of the students in the class have. To put it in perspective: it took me 1 hour 45 minutes to finish this test, while it took me about 10 minutes to finish a program (for that class) which a lot of the people are still having problems completing like two weeks after the deadline. I'm just saying that if it took me nearly 2 hours to do that test, then there is something wrong with that class... (my biased conclusion: most people will screw up) |
||
Since I'm taking a Java class this semester (yeah, really!, no joke!) I have convinced the instructor to put a link on the class page to my Java Data Structures document.
Come to think of it, I haven't been playing as Mr.Phreak for the past month. (I haven't been playing at all!) The last few days when I went back, I used the name "P100-28.8" just to make it seem that I'm not really bad, it's just that my hardware sucks. I didn't need it, since even after a month of no Quake2, I was still beating the crap out of people who's ping is 4x lower. (of course, I'm not taking about "good" players with low ping... I just think that if a person has 50 or so ping, they should win no matter what... but they loose to somebody who's ping in much much higher) I'll have to practice a bit with this new keyboard to get back on top.
That brings us to MP3s. I've started writing a small utility to fix-up MP3 files, gather statistics, add CRC or remove it, remove all the crap out of them except the frames, etc. I hope to eventually work my way upto decoding them... |
||
Anyway, I've decided that very soon (like in a few months), I'll be getting my own fast server, with a domain name and all. I'm also planning on offering 100% free, no advertising, reliable e-mail (for starters...) and maybe eventually work myself upto websites (advertising free of course). Giving away 10 or so megs is nothing in this 20 gig hard-drive age. And how does FREE telnet account into a UNIX machine sound? For my compilers class, decided that I might do a simple LL(1) interpreter for the first part of the semester, then, do a compiler to compile to the language of that interpreter. This will free me from having to come up with an assembler. (I'm guessing an interpreter is easier to come up with... especially for something like BASIC) The assembler idea is good, but I can't seem to come up with a powerful assembly language which will allow people to do anything, and still be extremely simple at the same time. The moment I started thinking of registers, status registers, etc., I decided to re-think the strategy, and maybe go with a simple interpreter in assembler's place. |
||
Note that I haven't tried using GetRight yet, and it's very likely that it will actually succeed in downloading everything. Found out that IE5 supports PNG graphics format (a replacement for GIF), but Netscape 3 does not. That implies I won't be using it for a while (I need Netscape 3 support). Most of the times, JPEG offers better compression anyway. It's incredibly strange how a Windows NT, Pentium2 450Mhz machine is MUCH slower than my lousy 486 running all DOS programs. Don't you just love progress? Decided to write some TASM Assembly just to remember how to do it. I believe it will also help me in designing a simpler assembly language for my class. The compiler will probably be fairly advanced, but that's what the class is for. I don't want to spend 50% of the class developing an assembler. |
||
Noticed that the flags on the Brooklyn Bridge are brand new. The time when I saw them last was right after hurricane FLOYD. They were badly torn and looked awful. Today, however, they looked perfect. The color difference is huge: the old ones looked yellowish, the new ones are actually white. Picked out a few computer books in the book store, but didn't buy anything because of greed. One book was on C++ (by the inventor himself), another on Advanced CORBA, and another on OO Design. I didn't particularly want to spend any money, especially considering I still haven't finished reading that Data Compression book I got last time. So, went home, and on the way there, spend about an equal amount on DVDs. Now that I think about it, I would have been better off getting the books. This book store visit gave me an opportunity to examine some other books on compilers which I might consider for my class. I've found about 4 books in the store, and while listing through every one of them, didn't find anything of interest. I still think that a good language theory book + any compiler oriented book + Oreilly's Lex & Yacc reference is the best way to go. What seemed encouraging is that two of the four books started out with writing an assembler, and only then going onto a compiler. That's approximately the path I'd like to take in my class as well. |
||
Made some interesting progress on printing out a binary tree (in text). So far, it doesn't exactly print the tree. It just prints a set of nodes, at correct tree depths. If it's a balanced tree, it's easy to figure out what goes where, but if it's not, it will be a pain. It is still useful in terms of quickly visualizing the tree structure. Right now, thinking of a way to align the child nodes in relation to their parent, however, this looks much more challenging. The technique involves a simple modification to the breadth-first traversal (described in Java Data Structures 2nd Edition). You simply insert the node's depth onto the queue, and during printing, you write a new line character whenever the depth you read in from the queue is different from your current depth. You then set your current depth equal to the one you got from the queue, and continue. If I get it working the way I want it to work, I'll add a section on it to Java Data Structures. SlickEdit Editor turned out to be crap compared to Visual Studio. It does have some good sides to it, but all of them are heavily overweighed by it's weaknesses. First, I'm not used to having an editor put in things for me. I don't like having closing parenthesis put in for me, I don't like having the current line highlighted, I don't like having F2 as my save button, and I don't like the bold font it uses! I'm sure there is an option to disable each and every one of these annoyances, but why bother when there is another perfectly good editor just a click away? |
||
Also got a lot of balloons filled with helium. When my cat saw them, it freaked out, and hasn't shown it's face for the entire evening. I've actually later released about a dozen or so of these balloons onto the sky. Given the wind gusts, I've only saw them for like 2 seconds until they were blown out of sight. If they bring down some airplane, remember, those were NOT by balloons, and I didn't release them... right? Got SlickEdit editor, since I'm considering abandoning Visual Studio for my editing needs. I found that it crashes quite often when put under heavy stress (something I do regularly). Have a rather important test today on Algorithms, so, plan on spending the 2nd half of the day studying, and reviewing operation on logarithms & analysis of insertion sort. Hopefully that's as hard as this test will get. |
||
Now, after that grim paragraph above, lets all just sing a song... Amm... damn it, I've forgot the words! I get more and more forgetful with age... And now, for some pointless story which goes nowhere (just to complete the picture). When I was young, dinosaurs roamed the earth. They were mighty beasts, and made good pets. Hunting was hard, since at that day and age, we didn't have potatoes. We had plenty of onions though. That brings us to computers. They were pretty cute, and powered by mice. Calculators being more powerful than a whole cave full of animal dun. Then again, cave-children didn't speak rude to their cave-parents, and everybody lived happily ever after. How was that for a nowhere-going & meaningless story? On the subject of statistics, if your birthday is TODAY (October 5th), then e-mail me! According to the birthday paradox, if I get at least 20 visitors on this page today, then the chances of us having the same birthday are more than 50%! That's good odds, considering that on average, this page gets hit more than 20 times a day ;-) |
||
|
I've updated this news section today, but you can still view the OLD NEWS HERE! Since I'm taking a Java class this semester (yeah, really!, no joke!) I have convinced the instructor to put a link on the class page to my Java Data Structures document.
Also been doing some serious design work for the Compiler Construction class I'm teaching next semester. Actually, I already have a primitive lexer for the assembler working. The assembler is more or less for a Harvard Architecture with a few unique modifications. It will be powerful enough for any computable problem, yet simple enough to be implemented in a matter of few hours. It's really amazing how much stuff they were able to fit onto one DVD in The Matrix. I've had the DVD for 3 days now, and I'm still finding new stuff on it. Have to come up with a plausible idea for a simulation, study for a fairly serious test, and through all that, avoid going insane. That's more or less the plan for this week. Found an EXTREMELY old document on Java which I wrote back in 1997. It's about doing animation in Java. I was amazed I found it... At first, I couldn't figure out what's going on, since I don't remember writing it! Right now, there is no point to such an idea, since animated gifs are MUCH simpler now a days, but the document is still nice and could potentially be useful. |
|
© 1997-1999, Particle