a day of unnecessary stress
Mood: busy
Posted on 2008-02-19 10:01:00
Tags: django work programming
Words: 282

First I was stressed about a recruiting meeting, which ended fine and without my being asked any questions. Then I was stressed about playing bridge with onefishclappin and the gang - it went fine, I had a lot of fun and I think I played at least well enough not to embarrass myself (or onefishclappin). Duplicate is a really nice format, and the bidding boxes are very elegant. 24 hands in 3 hours is a lot, though - my brain was fried by the end!

I was also stressed by a horrendously tricky bug at work, but that's worth stressing over, at least during work hours.

Carpet costs more than we thought it would (anyone surprised?) but it'll be fine. I just want to get the damn thing installed, really.

Now I'm stressed about taking my MacBook in today to see if they can fix my "Control" and "v" keys. That would make me a happy person.

Django question: (sorry yerfdogyrag, meant to ask you last night but see earlier bit about brain-frying) On my main page, I want a drop-down box that selects which person to see gifts for, and then some way to do that. Two options I've come up with:

- Use a <form> with a <select>, and GET the results to a different page. The problem with this is that the URLs get kinda ugly, which I'm not thrilled with. Should I do a redirect to the nicer-looking URL?

- Do some javascript stuff in the <select> element that changes the target of a link to the nicer-looking URL. But, I'm currently using the newforms library to generate the form - is there a good way to insert javascript in the onChange handler?


6 comments

Comment from onefishclappin:
2008-02-19T11:58:33+00:00

I had fun playing with you last night! And our biggest negative swing on the first round was our partners fault, not our :) Actually, I didn't see anywhere that we made a "big mistake" just lots of piddly little ones. Hope you join us again.

Comment from gregstoll:
2008-02-19T13:02:28+00:00

Thanks for being my partner :-)

Comment from yerfdogyrag:
2008-02-19T19:50:38+00:00

Well, the only thing I did that was strange that way was to put in a wysiwyg module for page editing. Having said that, here's a link:

http://groups.google.com/group/django-users/browse_thread/thread/ce74e0541e2d21f7

Having a real dom is soooo nice. In the Bad Old Days, you could only index the fields by numbers.

Comment from gregstoll:
2008-02-20T20:21:42+00:00

Ah, perfect! Thanks!

Comment from anonymous:
2008-02-19T21:38:25+00:00

I hope I didn't build up too much stress for the meeting...glad to hear it went well.

Kyle

Comment from gregstoll:
2008-02-20T11:03:46+00:00

I'm not sure why I was so stressed...I guess I only vaguely remembered the last one I went to or something?

This backup was done by LJBackup.