Feh.

May. 29th, 2004 01:14 am
ibneko: (Default)
[personal profile] ibneko
And now, do I finally realize that I could use foreach var int i (1 .. $chunk->length()) to move through a string.

This would probably be faster than recursive. I have a feeling that the long delay on the very first time I load the page is because of the stupid recursive calls. Damn you, S2. I may end up rewriting these before handing the code and stuff over to Xella, just because it's not broken yet, but quite slow. Dunno how much faster foreach would be, but it should be lots faster. Yes, lots faster. :P

...Emmm, but the good news is that the layout's practically complete. Glitches and Issues remaining include:
- long_day format _not_ showing up correctly. Bizarre. Dunno why.
- Need to grab the code that generates navigation links (as in, the forward 10 entries, backward 10 entries things).
- A need to make parents shut up about how this isn't worth the money. grr... I'm doing this because it's more fun than going out and finding a real job, damnit. Plus, I actually learn stuff from doing this, instead of moving boxes or writing up inventories or whatever I might do in a large chain store place.

Xella, do you want me to follow that format for the other pages? Friends page, day pages, etc.? Silence will be taken for a yes... Actually, we talked about this. I just don't remember. I've partially started implementing it anyways... not too hard, just wrapping the usual around it...

Odd, apache died again for the second time tonight. Need to check the logs and see if there are attacks that are shutting it down, or if it's just me messing with bad S2 code?

[ edit | yeah, need to replace the recursive code with foreach code. I call too many things that do recursive looping too many times... the friends page isn't loading -.- Either that, or I managed to accidentally make an infinite loop.... ]

Date: 2004-05-29 02:55 am (UTC)
From: [identity profile] xella.livejournal.com
Large chain store places suck oO;; </random>

That format? You mean the layout-thingie, and how it's displayed? Yeah, that'd be swell =3 Obviously, there's a need for weirdness, a la comments and suchlike, which are... weirdness oO; But... yeah. Shiny? Oo;

If you mean some other format, then I have no~~ idea =D;; <-- *dumbass, obviously*

And hey, once you figure it out, then you'll be able to take on more~ jobs with less effort, thereby making a point of "initial large investment, long-term payback" =D Or... something oO;

Sorry it's being such a pain .___.;;

Date: 2004-05-29 07:37 am (UTC)
From: [identity profile] ibneko.livejournal.com
eh, yes, format=layout, sorry, wasn't thinking too clearly there. It might be a bit of a cramped fit for comment-reply pages and the month page, but it should work? o.O dunno, we'll see....

True~ Although I haven't met that many people who are looking for S2 layout... Well, I haven't been looking, so that may be the reason. Feel free to point people my way...

Eh, don't worry about it... it's not your fault~ I should have done a bit more research on S2 before jumping in.

Expand Cut Tags

No cut tags

Profile

ibneko: (Default)
ibneko

Most Popular Tags

Style Credit

Page generated Feb. 14th, 2026 04:32 pm
Powered by Dreamwidth Studios
January 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2021