Log in

No account? Create an account
IBNeko's Journal-Nyo~!
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.... ]
2 happy kittens | Leave catnip
xella From: xella Date: May 29th, 2004 02:55 am (UTC) (Link)
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 .___.;;
ibneko From: ibneko Date: May 29th, 2004 07:37 am (UTC) (Link)
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.
2 happy kittens | Leave catnip