livingdeb: (Default)
I did a very rough draft of a quiz with an eentsy-weentsy amount of JavaScript in it for work today, here.

As of my posting, I still have a few technical things to fix, and probably a lot of re-writing in general, but I had great fun making this quiz interactive. No matter which answer you choose, I have a smart-alec, ahem, educational remark for you.
livingdeb: (Default)
Bugs in the programming, candy in my mouth. A typical work day. Could be worse.

JavaScript Update

I still like the book Beginning JavaScript after having read 32 additional pages.

I'm doing all this to get a job in course development at my current employer within a specific department. Those guys have a sample course people can look at. Today I printed the source code for the one page that looks like it might have JavaScript on it, and for the Cascading Style Sheets they use (three different ones for one page).

The code looks pretty good, except that it's really, really long. I've decided I need to figure out what everything means as preparation for the job I want, which might also come in handy at an interview.
livingdeb: (Default)
First, I remembered that although a document has to be saved as text to work in browsers, it needs an .html (or .htm) extension rather than a .txt extension. Duh. Now TextWrangler works fine for me.

Second, I think I've found the book I've been looking for: Beginning JavaScript by Paul Wilton. Amazon reviewers give it 4.5 stars. I found the first edition (2000) in the library, and the 44 pages I've read so far (out of almost 1000) look good. There is a newer edition (2004), but it doesn't look that much better for my needs--the first edition doesn't have some of the outdated things I've been seeing everywhere else, but even the newer edition still has some of them. I may get the next version when it comes out.

Meanwhile, since I'll have to do extra research anyway to make sure I'm following the latest standards, I've decided to use the first edition of this book (which I also just bought online for $1.66 plus shipping). Then I will also use the up-to-date JavaScript Tutorial and try out all my code on various modern browsers.

The book I have been writing is up to 17 pages now, but I don't think I need it. Wilton doesn't explain some of the (few) things I have explained quite as well, but it looks like anything I write would be mostly redundant.
livingdeb: (Default)
So, I heard (via celluloid eyes' review) that I really should see the movie "Kiss Kiss Bang Bang" while it was still in the theatres.

It looks like Wednesday might be the last day in our town, and it's playing in only one theatre, and that theatre is in a mall, and it's the last full shopping weekend before Christmas. Not to mention that this is the most boycotted mall in all of Austin because it was built on environmentally sensitive land. And let me also add that the mall exits were not designed to handle Christmas traffic. Also the mall is on the opposite end of town from where I live. Yes, yes, I live central, but actually I live kind of east, and the mall is in the southwest.

So, the question is, was it worth it?

I do think it was a pretty good movie, but I would have been just as happy to see it on the small screen. It has too much violence for my taste, so the smaller the better. But then it's not getting much release, so seeing it in the theatre is making a statement about how much of a release it deserves.

I'm not sure what's so controversial or whatever.

It's got a narrator, which people normally don't like, but they have fun with this one making him a little bit of a smart aleck and a little bit of a meta-analyst.

It's a thriller, and they act like you can figure out who the bad guys are. Robin was derailed by thinking that it had to have some kind of weird ending to have had such a small release. Don't let this happen to you. (I rarely figure out this kind of stuff, and I didn't figure it out here either.)

I'm a sucker for a hero who's more of an everyman than a stereotypical hero. This one is actually not that bright, but he means well and he keeps trying, which is fun. Another main character is quite interesting, too. The plot takes plenty of hairy twists. The dialog is unusual. And it's also got funny bits. So, overall I'd recommend it, especially if you're not very squeamish. (My squeamishness made it more difficult to enjoy some of the humor.)

JavaScript Update

I'm still looking for a better way to write html on my Mac. I downloaded TextWrangler and tried it. I can't get it to save as text, so that's not going to work.

I've finished (for now) looking at Learn to Program: A Tutorial for the Future Programmer; I'll look at it again when I've figured out more. I've finished looking at the 2nd edition Dummies book and am now looking at the third edition, which seems much more useful, but I'm taking everything with a big grain of salt. I'm learning what some things are called and how some things work, but I haven't actually learned how to do anything useful yet.

My book currently has about 4000 words on 12 pages.

Journal Entry of the Day - Pre-Christmas Is My Christmas by Chaos Attraction is a nice essay on dealing with the holiday season. "At this point in time, on the actual day of Christmas every year I am like, 'Shoot me now. Please, just shoot me now.'

"But I do still like the anticipatoryness of the pre-Christmas season. I like the parties. I like the atmosphere. I like the slacking off on the last day of work. I adore the decorations. I adore the lights up on houses. I love trees. I like breaking out the festive stuff and having excuses to dress up. I love collecting wacky holiday music and torturing people with it."
livingdeb: (Default)
Today's party was a luau thrown by the Academic Counselor's Association. It was held in the student union in the area with the bowling lanes, fooseball tables, and video games.

There were several activites available. We could bring donations for a couple of local charity organizations. We could play bingo. We could bowl. We could pay $2 to do karaoke. We could eat cake.

We all got a drink ticket, a door prize ticket, and a plastic lei.

I dropped off my donation, broke off some ear cilia getting some cake that was next to the LOUDspeakers for the karaoke, and went back to the bingo area. All the tables were full so I stood and observed while eating my delicious white cake with jam and white frosting in the middle and chocolate frosting on top. One guy waved at me and said hi.

Then I tossed my plate and gave my drink ticket and door prize ticket to the guy who'd said hi to me, simply because he was the only one who had. (Not that I initiated anything myself.) Then he insisted on hugging me. People said I could get a drink and take it with me. I did take the lei with me to give to one of my future neices.

Last year I played a lot of bingo and had some fun. This year it felt more like Instant Headache City.

Tonight is a Christmas dinner with Robin and his family; his brother is visiting from out of the country. More on that tomorrow.

JavaScript Update

We had our final class today, which again seemed good until the exercise at the end, which I couldn't even fully understand (looking at the answer) let alone create myself given my current level of understanding.

I enjoyed filling out my evaluation sheet; there were lots of great things to say and a few sad things to say.

I was reminded a little of the time I took a class on creating forms for the web. After several hours of instruction, we learn that none of our forms can actually work without any scripting behind them, which was beyond the scope of the class.

So now I know some scripting, but it turns out that lots of people disable JavaScript on their browsers because some people use JavaScript for evil. If people are taking your online class, you can require them to enable JavaScript, but in the stuff I'm working on now, I can't.

On the other hand, remember how in the olden days you used to sometimes be able to go directly to what you selected on a pull-down menu, and now you almost always have to click on a submit button as well? Now I know why that happened. And it's not even because of evil people for once! It's because blind people have to select the item by tabbing down, one item at a time, until they get to the item they want. But as soon as they got to the first item, the computer assumed they had made their selection and flung them off to that place!
livingdeb: (Default)
I get to go to parties every day for the rest of the week.

Today everyone in my office who chose was treated to the Campus Club's Winter Holiday Luncheon. There was plenty of great food there and some good conversation.

Then I went to a meeting of the Association for Professionals in Student Affairs, which wasn't a party per se, but which did involve more food, which I did not eat. However the food came packed in paper bags from, oddly enough, the above mentioned Campus Club, and there were about twice as many bags as people, so I took one and brought it back to the office fridge for tomorrow.

An hour later was the College of Engineering's annual craziness. Many or all of the staff in that college bring one or more food items (I don't know how many) in a giant pot luck. They have several Christmas--excuse me, Winter Holiday--trees, and wrap their office doors with Winter Holiday wrapping paper and also have extra lights and garlands around. Then they invite all other staff from around campus, as well as people who've retired from there.

You start at the right side of the front counter and make your way to the other end. At this point, you go around the corner and make your way from that end of the back of the counter to the other end and an adjacent counter. Then you turn back and check out a couple of cabinets. Then you get to the punch table. Then you go down the hall into the big guy's office for dessert. (I don't know who the big guy is, but it's a large office with a wonderfully large desk and windows and everything.) This year they had additional desserts in another office across the hall.

Also, this morning one of my co-workers handed out "little sweeties." Mine turned out to be a bookmark-looking thing in craft foam (like construction paper, but thicker, spongier, and with a more intense color), with my name in other colors of craft foam along the length of it, plus a decorated Winter Holiday tree of craft foam on top. The tree topper was a tiny pom pom ball.

And that bookmark thing came with a plastic container with four large oatmeal raisin nut coconut cookies. I took a bite of one and couldn't get the lid back on, so I had to eat the whole cookie. Mmm.

JavaScript Update

"Oh, no," groan my readers.

So Chikuru lent me a later-edition JavaScript for Dummies. After a quick read-through I decided it looked a bit better than my edition, though it still had plenty of deprecated things (i.e., no longer considered proper or good form) in it. So I went onto amazon.com to see how recent the latest edition is. Not very. Then I read the reviews.

I don't think I've ever had so much fun reading book reviews before. Some people were pleased, saying how well organized it was and listing specific great things they learned from it. But a shockingly large percentage of people ripped it to shreds. Here are some fun quotes:

From "I'll Stick with the Moron's Edition": "Also, the book seems to waste a lot of time going on and on about useless nonsense."

From "A Big Disappointment": "She also claims that all the sample codes are contained on the CD-ROM, which is a flat out lie, the applications are similar but the coding is very different from the book, which combined with the author's hard-to-follow explanations leaves the reader very confused and frustrated."

From "Missed It": "[T]he examples are not true to life, there are too many mistakes and the explaination of JavaScript is too complicated and overblown."

From "Decent Reference but Definitely Not for 'Dummies'": "Whoever told her to write a book on something she obviously has little experience in should be shot."

And that's just the first four reviews. I read all 67 reviews for entertainment value and also to write down alternatives that were recommended instead.

I also went ahead and finished the general chapters so I could look into the fun chapters, though I wasn't as thorough as I would have been had I thought the book was basically good and true. I learn a bit more.

Journal Entry of the Day - See The Opposite of Heavy from Patrick's Daily Journal for a good description of just the right amount of dieting and exercise. "I'm not and never will be a "morning person," but the morning doesn't feel like an insult to my system anymore."

Fun

Dec. 12th, 2005 08:08 pm
livingdeb: (Default)
I've been looking at JavaScript for Dummies again, and now I realize why I stopped in the middle of chapter four last time. It's because the author explains things in the wrong order. She spends a great deal of time explaining how it's okay if you don't understand everything yet and how she's about to explain some more in a later chapter.

This is particularly offensive because JavaScript is not a compiled language which means that you have to write the code in the order in which you want the computer to use it. In other words, the author is an expert at putting things in order so that everything makes sense knowing only what has gone before. She'll do it for a computer, but she won't do it for her readers.

Also, she makes you claw your way through a summary of everything (six chapters) before she lets you try anything. That's no fun.

What is fun (warning: my teachers in high school said I was bad at transitioning) is sliding down stairs. At least my sister said that her new kids enjoyed sliding down the carpeted stairs at their new house. On their bellies, I think she said. You can do that? I don't quite understand, but I definitely want to try this next time I am over there.

I wonder if it will by like the "dune surfing" at Monahans Sandhills State Park in west Texas. You get this little saucer-shaped sled and slide down the sand dunes (this is currently pictured on the above link, on the third picture from the top). Except that it doesn't work for grown-ups. Or at least I couldn't get it to work. Not even with a running jump. (Yes, that hurt.)

Will I just be lying on the stairs making grunting noises? I'll let you know.
livingdeb: (Default)
One thing I love about this town is that right after we get some real winter weather, Mother Nature always apologizes. Temperatures were in the sixties much of the day today.

Perfect for helping my sister move. I like hauling boxes around to help people move. (I admit that this is partly because I can quit at any time.) I didn't help with anything really heavy today. Quantity, not quality.

Today we saw the latest "Pride and Prejudice" movie. All the people who saw the miniseries like to say that the movie compares unfavorably. The movie is shorter and couldn't get all the subplots in. But some of those subplots were annoying anyway. However, the movie completely captured Lizzie's decision on whether and whom to marry in a way that the miniseries did not. Mr. Wickham is charming and Mr. Darcy is icky, just as they should be. Then you change your mind as Lizzy does. Very nicely done.

I also liked that people in the theatre were laughing in the right places. When the humor is all deadpan, or accompanied at most by a mere twinkle of the eye, you have to be paying attention to notice the humor. And people were.

In boring work news, I've figured out that one of the reasons I'm having trouble with this JavaScript class is that there is an unstated assumption that we have already programmed in some other language. I haven't done any programming since 1982, and I didn't do much then. For example, if I wanted to add one to a variable back then, I would type something like "x = x + 1." Nowadays everyone types "x++" instead. So either these unary methods were uncommon back then or I never got to them. Whichever is the case, I don't have the proper background.

So I've decided that I need to go back and really learn programming concepts in conjunction with learning the JavaScript language, and I don't see any good resources for doing those two things at the same time. So I'm going to be using sources like Learn to Program: A Tutorial for the Future Programmer, which is great (so far anyway), except that it's taught using Ruby, a completely different programming language which I do not want to learn.

So then I decided I need to to write a book on how to learn JavaScript for people who are experts at HTML but know nothing about programming. Writing a book will force me to get a good grip on the material; really it will just be like taking very good notes. And if I actually finish the book, I can try to sell it, and that would be good.

And if I tell people I'm doing this, and then they tell me there's already such a book, then I will go get that book. So I win either way. I'd rather there be a book already. There should be such a book already since there would be such a large audience for it.

And since languages disappear from my head after I don't look at them for a while, I'm going to try to work on this a little every day or every other day, sort of like with NaNoWriMo, except with less craziness and no time off from work.

This is not actually quite as exciting to me as it sounds. I have been resisting learning programming successfully for a quarter of a century. Now I am just another quitter.
livingdeb: (Default)
The weather this morning was beautiful. I'm not normally a fan of cold, grey weather, but this morning it wasn't that cold, and the autumn leaves were in full force, such as they are, and it smelled just lovely. There was just the tiniest drizzle.

At work I got to go to the first of three three-hour training sessions on JavaScript, the last skill I need for the next job I want. Of the twenty people, only two of us had no experience with JavaScript before. The others had at least been copying snippets of code; many had been modifying it to do their bidding. The other ignoramus was my co-worker who was sitting next to me. Fortunately, we both have the right brains to absorb this kind of information.

There were two hours of presentation, which went very well, even the part he said would hurt our brains. Then one hour of practice. I could have used two hours. Neither my co-worker nor I could figure out one part of the assignment (setting up arrays within arrays). It seems like we're supposed to be overly redundant, but he says not to worry about that until he teaches us more about objects.

Back in my office, we got the news that because freezing rain was expected this evening and overnight, my employer would be closing at 2:00 p.m. and would not re-open until 10:00 a.m. tomorrow. I had heard the forecast and been fantasizing about having all day tomorrow off, but four hours is good, too. Mine is not the only employer that does this. I love that on the rare occasion when we get a bad winter storm, I get paid time off from work!

Since this happens only about once a year here, we don't have a fleet of salt trucks or whatever. We do eventually end up with sand thrown out on the overpasses to help with traction.

At home, I tried to work on my JavaScript assignment some more, but I couldn't get my browser to see it. I should just save the document as text with title ending in ".html" and the browser should be able to see it, but I couldn't make it happen.

During my fantasies about being home in the cold I thought I would try making matzoh ball soup, crushing the whole wheat matzoh I found into matzoh meal, but the recipe I use is on the back of the matzoh meal box (which I don't have), and I couldn't find anything familiar looking on the web.

So then I tried to watch a movie Robin's not interested in, and we've got all these systems for looking at movies and I couldn't make a single one of them work. The DVD player is unplugged; I knew not to try that one. I just did the easy one--put the disk in the computer and click on the main drive icon and click on the movie. This didn't work for Robin either when he came in. The other methods require switching channels on the monitor and on the receiver. Bleh. I am the one in charge of re-setting clocks when the electricity goes out in our house, but I haven't mastered these.

So then I tried looking up arrays in my JavaScript books, but none of them introduce arrays as early as our instructor did, so I couldn't get through all the other stuff that makes no sense enough to figure out how to set up my arrays.

Then I tried to solve a sudoku, but when I got to that stage where I think, "Oh, brother, I have to write every possible digit in every blank square," I just didn't have it in me.

Meanwhile, I couldn't get warm.

The heater was spewing out cold air, so I looked at the furnace. I've seen it in action before--when you take the cover off, you can see huge, scary whirls of flame. But this time, nothing. I changed the setting from fan/automatic to on, and then there were disturbing clicking noises, and then it started working.

Not that it was actually cold in the house. It was 64 degrees (F), with the thermostat set at 67. But I was cold. I switched from my canvas shoes to my lined slippers. Then from my slacks to my flannel-lined jeans. Then I put my coat on. I also danced.

Finally I just curled up under a wool blanket on the couch (the fan is on in the bedroom so the clothes on the rack will dry) and listened to pretty music and snoozed.

Oh, poor me!

Pathetic, anyway.

I think it was a combination of still being more acclimated to heat and of having been so frustrated--cold inside. I don't like to think so, but I've noticed at least once that how I feel physically is connected to how I feel emotionally.

Hot chocolate helps. And hot soup.

When Robin got home we watched the movie he did want to watch. If anyone ever wants to know why I don't want kids, I can tell them that one of the answers is in the movie "Heavenly Creatures." It's about two teenagers who become best friends and love each other and have a great time, but who worry their parents. So, the parents obviously don't understand anything and are nothing more than obstacles. I've felt this way (like the kids) myself, and think it's common in western culture, and terribly tragic.

Now I'm writing this with the lights occasionally blinking off. It's still just below freezing outside, with a light drizzle. It will warm up to the upper 30's tomorrow and the ice will melt away before noon. We really have it wonderfully easy here in the winter.

Profile

livingdeb: (Default)
livingdeb

June 2025

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930     

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 4th, 2025 10:47 pm
Powered by Dreamwidth Studios