Mar. 7th, 2004

acroyear: (geek2)
100 lines of php.

that's it.

nothing more.

100 lines of php.

and i've got a completely database driven web site for the MS Fantasy Ball.

in 100 lines

and a f'in' ton of SQL.

the funky part is that i'm storing SQL inside SQL tables, combined with a little recursion and a template system inspired by the %%WHATEVER%% syntax of the LJ themes. there's quite a bit of "logic" (concat and if functions, not often used in "normal" sql) embedded into the database, and a couple of early decisions had serendipitous advantages later on. After a while, I'd realized I hadn't added a single line of php in over an hour; all the work was done playing around with SQL to get the query and results just right; the php framework was really already done.

this is, probably, among the most elegant pieces of work I've ever produced.

Meanwhile, Steve Hogarth would like to thank Scotland, and banish all the smart-assed one-liners that ran through his mind. (well, 15 months ago anyways)

and i'm only on my 4th drink since 6pm...and still have to create a page (yeah, more php than sql this time) to allow others of the MSFB staff to update pages. That *might* wait 'til tomorrow (crap, it is 1:45am), though it puts more of a hassle on coming up with the CSS page during the week when time is scarce...

I don't do the all-nighter thing that often anymore.
acroyear: (faireTB)
Staring out over the bridge
A million photo flashes from the water down below

You drink it in and marvel at it all
But you never really figure it out
...
The cold war's gone
But those bastards'll find us another one
...
Not believing the leaders, the media that feed us
Living with the big lie

you're damned if you'll give them the satisfaction of you going back
You'd freeze to death before you'd share a roof with them
And you'd starve before you'd let him get his hands on you again

Someone must have missed her by now

Tell me I'm mad
You're a fine one to decide

Roll me up and breathe me in

I appreciate your concern
But don't waste your time on me

It makes you suffer and it makes you cry
But it's all worthwhile

It makes you humble and it makes you crawl

It makes you tremble and it makes you fall
But it's all worthwhile

I look down upon myself and watch my movements
A blind eye sees the fragile vandalised

The hollow and the lonely. Listen to them.

I could be anywhere right now
If I only had the nerve to leave this house

When you look into the mirror
Do you see a face you hardly recognise?

So he tried
In his own way
To find the heart
Of the tight-packed rose

Waiting to be recognised
Quiet applause will do
...
Why did you hurt the very one
That you should have protected?
...
Icarus would know
A mountain isn't far to fall

Like a bright new morning
Like a bright new day
I woke up from a deep sleep
I woke up from a bad dream

To a brand new morning
To a brand new day
Like the whole world has been made again
acroyear: (normal)
"Expectation blinds us to the moment." -- Frippism

On the topic of why people can't just accept a film for what it is...

The problem is that because of advertising and hype, people come to a film with a set of expectations, and when those expectations aren't met, bad feelings result that can be expressed as hatred, annoyance, anger, depression, or something else entirely.
the rest of the story... )
acroyear: (sigh)
...than writing html forms, writing their handlers in whatever client-side language you use (php, jsp, cgi/perl, whatever), getting it to automagically fill in existing values, making sure the data sent from the client is html-safe (no sending content that could interfere with the form itself), making sure the form entry is sending the data to the write receiving script, validating it on the receiving end, and finally updating it in the datastore and deciding where the user should go when it gets updated.

nothing more tedious at all.

then there's adding javascript to the various parts like auto-submitting on a select object.

HTML/CGI is beautiful for data display.

for data entry, its the most utterly tedious thing the web has to offer, both from the users and the programmers point of views...

Profile

acroyear: (Default)
Joe's Ancient Jottings

January 2025

S M T W T F S
   1234
56789 1011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 28th, 2026 02:37 pm
Powered by Dreamwidth Studios