Archive

Archive for June, 2004

Coqz Heaumez

June 29th, 2004
Comments Off

Perl vs. PHP: Multiple Select

June 24th, 2004
Comments Off

This is a really annoying behavior with PHP.

In order to access form variables in a multiple select box, you need to rename the box with array brackets at the end. If you don’t, PHP will only populate the $_POST assoc. array with the last element selected.

e.g. <select multiple name=”vars[]“>

Whereas with Perl, you can get the values from a normally-named multiple select box because mod_perl actually sticks all the selected options in a dereferencible array.

Uncategorized

Mr. T Bonanza!!!

June 24th, 2004
Comments Off

Functional Spec Tutorial

June 23rd, 2004
Comments Off

More about GET and POST

June 23rd, 2004
Comments Off

An enlightening discussion of the philosophical (and HTTP) difference between GET and POST:

http://www.cs.tut.fi/~jkorpela/forms/methods.html

Originally spurred by wondering what the maximum size of a GET query string is: 2,083 in IE

Uncategorized

FCKEditor DHTML Editor

June 21st, 2004
Comments Off

Nice DHTML editor on sourceforge. http://www.fckeditor.net/ (via)

Uncategorized

The Search for Ramen Broth Recipes

June 20th, 2004
Comments Off

So my ramen broth tonight was pretty bland and disappointing. It happens to armchair chefs like myself fairly often. I’m not speaking about instant ramen, rather, the kind of ramen made with fresh noodles and ingredients. (Yes, i’m a Tampopo fanatic) Therefore, I am officially on the search for good ramen broth recipes without MSG. Interesting shoyu recipe (looks Western) Miso broth recipes Pictures of various broths

The traditional ramen broths are tonkotsu, a stocky broth made from pork and chicken, shoyu or soy sauce broth, and miso broth.

As a side note, seeing over-simmered shrimp balls inflate to 4 times their normal size was a visual treat on par with the time i microwaved marshmallows as a kid.

Explanation of tonkotsu ramen preparation Entertaining links.net entry re: interesting thick pork broth ramen in Japan. Debunking the myths about RAMEN!!! Daikokuya in little tokyo. Looks like a place to sample tonkotsu.

Food

Safari XMLHttpRequest object

June 20th, 2004
Comments Off

ADC Article: http://developer.apple.com/internet/webcontent/xmlhttpreq.html

Basically, it allows your client to asynchronously connect to the server and retrieve XML or HTML documents, returning the results in XML for parsing. Should allow some interesting remote scripting applications, but i’m not sure that it’s 100% cross browser compatible. According to the article, look for this to get picked up as a de facto standard.

Also has interesting example (I think it can be played in Safari, Moz, and IE 5+ so far. http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/example.html

Uncategorized

Nested SPANs inside DIVs – padding-top problems?

June 18th, 2004
Comments Off

I was having severe problems with putting a padding-top attribute on a SPAN lying within a DIV… in both Firefox and Safari, if I did so, the span seemed to extend the padding past the enclosing block element. It would nestle up against the top and taunt me with its big floating tab.

I eventually solved the problem with a float:left; attribute temporarily. Please let me know if there’s a better answer to this.

Uncategorized

Time zone difficulties

June 18th, 2004
Comments Off

Had really weird time zone problems on my RSS feed that were solved by upgrading my RSS templates to the latest defaults out on moveabletype:

http://www.movabletype.org/defaulttemplates.shtml#rss10_index

Uncategorized