Log in

No account? Create an account
LiveJournal Development [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

December 18th, 2001

Here's a question for any C hackers out there.... [Dec. 18th, 2001|02:47 am]
LiveJournal Development


Say you have FILE *conn which points to an open stream. You then do close(fileno(conn)); instead of fclose(conn);. Is this bad? Are there anygotchas that will occurr if I do things that way?
link14 comments|post comment

Question on displaying dynamic image [Dec. 18th, 2001|08:02 pm]
LiveJournal Development


I finally wanted to follow through on my suggestion to mangle emails by displaying them as an image instead of inside a table.

The GD script to generate the image is very easy and small, but, because I know next to nothing about BML, the big question that pops into my mind is how to display that image inline.
It would be easy if the script was simply a CGI that gets passed the email-address and returns an image, but could this be done inline the userinfo.bml page, too?
I've only seen this done once in Embedded Perl.

Any ideas on this?

Update: I followed both directions, either generating an image or encoding as pure entities. The entities could now even be linked again like the unmangled address.
Anyone who wants to give it a whirl?
link28 comments|post comment

Bugs [Dec. 18th, 2001|11:51 pm]
LiveJournal Development


Over the past few days, I've come across some bugs on LiveJournal that I either haven't investigated more or can't reproduce on my own server:
Read more...Collapse )
link11 comments|post comment

[ viewing | December 18th, 2001 ]
[ go | Previous Day|Next Day ]