Posted in Technicalon Jun 30, 2008
Dear Google,
Let me tell you why you are a winner in my book. Three letters, A-P-I. I think opening up your services through developer APIs is what gives Google an edge over your competitors. It is what makes Google more than just a web site. It makes Google a web service. Your latest efforts to make Google data more mashable is a good example of your continued efforts to support nice APIs.
Thank you for your efforts and keep up the good work.
Posted in Technicalon May 28, 2008
These are mostly personal notes. I’m not sure if they will make sense to others.
I had a problem with a line of code like this:
int x = atoi(getenv("MYVAR"));
If this line was in daemon-ized code started at init level 2, it would segfault. (I’m not sure if these conditions are necessary, but those were my conditions).
getenv("UNKNOWN_VAR") == NULL
atoi(NULL) should == 0
But for some reason, things were segfaulting. I corrected the problem with:
if (getenv("MYVAR") == NULL) int x = 0;
else int x = atoi(getenv("MYVAR"));
Posted in Technicalon Apr 1, 2008
I came across this line of code today, and while I don’t normally hate other people’s coding style, this one has something in it that really bothers me:
i = ((unsigned int)(crcAccum >> 24) ^ *dataBlkPtr++ ) & 0xff;
Posted in Technicalon Mar 1, 2006
I’ve implemented a method which will automatically take posts I make on blogger.com and publish them on this blog as well. I thought I would share the code I used to do this. If you were to use use this script, you would need to replace text in all caps with actual values.
My code makes use of the Blogger Class from Dented Reality. Use at your own risk and don’t blame me if it doesn’t work or screws up your blogs.
Read the rest of this entry »
Posted in Technicalon Oct 3, 2005
http://en.wikipedia.org/wiki/Dining_philosophers_problem
This should help with my CS 345 program.
Posted in Technicalon Jul 14, 2005
Well, I’ve been learning a lot about creating usable web sites. There is so much to consider. Persons with color deficient vision, or persons needing high-contrast text, blind persons, persons with mobility problems who can’t use a mouse well, and on and on. I’m convinced that our new Chemistry department web site will finally allow all these people to effectively use our web site.
Information Architecture is a much bigger deal than I thought it would be. When organizing information, there is a organizational scheme, and organizational structure. The scheme refers to how items are grouped together, while the structure refers to how these groups relate to each other. I’m mostly concerned with scheme right now, because the new Chemistry web site content management framework was developed around a hierarchical structure.
There are a couple standard sheme types. Some schemes are exact, like ordering things alphabetically — its very obvious what category (letter) a piece of information would go. Others are more ambiguous, because there might be some information which could fit into more than one group. Ambiguous scheme types are of more interest to me because it is a more natural way of thinking. Some of these ambiguous scheme types are:
This is just only the beginning of what I’ve learned. I’ve also learned why link sorting is important, how to choose good labels for links and pages, what navigation menus should be displayed where, and how to conduct research.
That’s been the biggest thing that I’ve read and learned: research. Each book I’ve read has talked about theory and concepts, but they say in order to get a true idea of what to do, you have to do research with real users.
Most of the ideas posted here were from a book I’ve read Information Architecture for the World Wide Web. I highly suggest reading it if you have interest in organizational schemes. Please use the Amazon link if you wish to buy this book, so I can get a small commission for referring you.
For some programming classes, they allow you to turn in a project late if you had it done on time. What they usually do is look at the “timestamp” of the file, which is the time the file was last modified. Read the rest of this entry »
Recent Comments