| 
          | 
        
        
         | 
                     
	  |           
        
        
           sneakattack
             on 2005-01-01 14:07 [#01441670]
         Points: 6049 Status: Lurker
  | 
| 
 
     
 
   | 
 Hi, could you consider using some javascript to generate the  thread list drop-down at the bottom of the page?  I'm  attaching an image of a function I wrote which does this; it  accepts as parameters the current selection, the total  threads, and the threads-per-page, which php could feed it  very easily
 
  using this I was able to decrease page size from 152k to  28k.  I tested it in my browser, that's why the window  includes the select and the function call.  I'm too lazy to  escape out all the shit, that's why I snapped it.
 
  [to all the haterz--I'm not sucking dicks, I'm posting this  because I'm using my dad's slow as shit connection and it's  fucking painful to load any page] 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           sneakattack
             on 2005-01-01 14:09 [#01441672]
         Points: 6049 Status: Lurker
  | 
| 
 
     
 
   | 
fucking shit where's my attachment
 
  
         
	  | 
        
         | Attached picture | 
	
	 | 
	  | 
	 
	  
  
	  | 
	
        
         | 
           
	  | 
        
        
           stefano_azevedo
             from Pindorama (Brazil) on 2005-01-01 14:11 [#01441673]
         Points: 4396 Status: Regular
  | 
| 
 
     
 
   | 
this is really nerd
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           qrter
             from the future, and it works (Netherlands, The) on 2005-01-01 14:12 [#01441678]
         Points: 47414 Status: Moderator
  | 
| 
 
     
 
   | 
*waiting for the sound of stefano_azevedo's lifeless body to  hit the floor* 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           ecnadniarb
             on 2005-01-01 14:13 [#01441679]
         Points: 24805 Status: Lurker | Show recordbag
  | 
| 
 
     
 
   | 
Yo motherfucker welcome back.
  I have suggested something like that before, also offered to  sort the way the formatting is does to remove all the inline  formatting for an external css file.  I hope something is  done because the way it stands now the board kills my gprs  usage. 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           stefano_azevedo
             from Pindorama (Brazil) on 2005-01-01 14:15 [#01441681]
         Points: 4396 Status: Regular | Followup to qrter: #01441678
  | 
| 
 
     
 
   | 
ass
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           sneakattack
             on 2005-01-01 14:18 [#01441684]
         Points: 6049 Status: Lurker | Followup to ecnadniarb: #01441679
  | 
| 
 
     
 
   | 
IT'S LEE!!! HEY!!  Did you take your japan trip?
  Well I hope by posting something it gets done.  I didn't  exaggerate the change--it really is ~5x.  From their  perspective it would at least save money, and a little bit  of computation since WE would generate the list, not them!
 
  haha so you really DO use your phone I thought that was but  a jest =)
 
  once again, nice to see you.
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           sneakattack
             on 2005-01-01 14:20 [#01441686]
         Points: 6049 Status: Lurker | Followup to qrter: #01441678
  | 
| 
 
     
 
   | 
Re: your avatar--am I a dumbass for begging to come back  after I didn't like it and fuggin left? 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           ecnadniarb
             on 2005-01-01 14:21 [#01441687]
         Points: 24805 Status: Lurker | Followup to sneakattack: #01441684 | Show recordbag
  | 
| 
 
     
 
   | 
Never made it in the end, girlfriend was ill and couldn't go  :(
 
  yep, I do indeed use my phone on occassion, mostly for  checking my email on the go but if I am travelling and stuck  for something to do I look in. 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           sneakattack
             on 2005-01-01 14:23 [#01441690]
         Points: 6049 Status: Lurker | Followup to ecnadniarb: #01441687
  | 
| 
 
     
 
   | 
that sucks =( I hope everything is going well anyway.
  I dunno if you saw it, but I actually wrote an XLT parsing  proxy once.. it put a check box next to everyone in the user  list and locally stored a user-block-list.
 
  fuck I'm logging off, this page load is hell, I can't carry  on a conversation at all.
 
  happy new year!
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           qrter
             from the future, and it works (Netherlands, The) on 2005-01-01 14:26 [#01441693]
         Points: 47414 Status: Moderator | Followup to sneakattack: #01441686
  | 
| 
 
     
 
   | 
I really have no idea.
  only elusive can have anything resembling an idea of what  the sentence means. 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           giginger
             from Milky Beans (United Kingdom) on 2005-01-01 15:44 [#01441720]
         Points: 26335 Status: Regular | Show recordbag
  | 
| 
 
     
 
   | 
Does this site use the compression built into most browsers?  As it's mainly text that can be compressed and this site is  a shit load of text that would help. 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           sneakattack
             on 2005-01-01 16:22 [#01441746]
         Points: 6049 Status: Lurker | Followup to giginger: #01441720
  | 
| 
 
     
 
   | 
It isn't used I think, but I'm too lazy to check.  
  for those who don't know--there's something you can load on  the web server (apache2 has mod_gzip) which will compress  transmissions.  The CPU hit isn't trivial compared with the  bandwidth saved, and it's fully backwards-compatible; a  browser can say 'fuck you give me plaintext' 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           epohs
             from )C: on 2005-01-01 16:28 [#01441754]
         Points: 17620 Status: Lurker
  | 
| 
 
     
 
   | 
why not something like this?
  1 2 3 4 5 »
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           giginger
             from Milky Beans (United Kingdom) on 2005-01-01 16:30 [#01441756]
         Points: 26335 Status: Regular | Followup to sneakattack: #01441746 | Show recordbag
  | 
| 
 
     
 
   | 
I don't even know how to check :P
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           sneakattack
             on 2005-01-01 16:30 [#01441757]
         Points: 6049 Status: Lurker | Followup to epohs: #01441754
  | 
| 
 
     
 
   | 
I think that would be good too, but I think they probably  considered it and liked it; what I posted is a fully  functional replacement which gets identical behavior..
 
  I think it's kinda cool having everything accessible the way  they have it, but adding 120k to the page is silly. 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           sneakattack
             on 2005-01-01 16:31 [#01441759]
         Points: 6049 Status: Lurker | Followup to giginger: #01441756
  | 
| 
 
     
 
   | 
when a browser connects to a site, before saying POST or GET  to being data transmission, it also gives some things like  referrer, browser identificiation.. it can also announce  that it uses GZIP.
 
  you could check by seeing if xlt respects this.
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           epohs
             from )C: on 2005-01-01 16:33 [#01441760]
         Points: 17620 Status: Lurker | Followup to sneakattack: #01441757
  | 
| 
 
     
 
   | 
i 2nd that emotion.
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           giginger
             from Milky Beans (United Kingdom) on 2005-01-01 16:35 [#01441762]
         Points: 26335 Status: Regular | Show recordbag
  | 
| 
 
     
 
   | 
?
  I shall check.
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           sneakattack
             on 2005-01-01 16:38 [#01441767]
         Points: 6049 Status: Lurker | Followup to epohs: #01441760
  | 
| 
 
     
 
   | 
By the way, you weren't around as much when I got  permbanned, but I've enjoyed seeing you from the sidelines  since then.  Cheers and happy new year!  
 
  giginger the nice thing about mod_gzip is it's an  easy to use apache module.  You just have apache load it,  maybe set a configuration directive, and it's in use! No  need to dick with code.  And by the way PHP is the biggest  shitheap in the universe (I won't call it a language), so  let's not get into that.
 
  I really wish they'd consider this javascript.  I actually  stuck it in a page and tried it; works perfectly.  I wrote  it in such a way to be used easily from the php.  and it  really caused a >5x size reduction.  Given that most images  are cached, this is a big deal!! 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           giginger
             from Milky Beans (United Kingdom) on 2005-01-01 16:41 [#01441770]
         Points: 26335 Status: Regular | Followup to sneakattack: #01441767 | Show recordbag
  | 
| 
 
     
 
   | 
It explains why on the PHB boards I see gzip enabled at the  bottom. 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           epohs
             from )C: on 2005-01-01 16:48 [#01441775]
         Points: 17620 Status: Lurker | Followup to sneakattack: #01441767
  | 
| 
 
     
 
   | 
*hi-5*
  happy new year to you too.  although, i've got to say, if  all hangovers last this long in 2005 i'm gonna be pissed  off. 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           sneakattack
             on 2005-01-01 16:49 [#01441776]
         Points: 6049 Status: Lurker | Followup to epohs: #01441775
  | 
| 
 
     
 
   | 
HRAHRAHRA =)
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           tunemx
             from Budapest (Hungary) on 2005-01-02 04:56 [#01442104]
         Points: 2145 Status: Webmaster | Followup to sneakattack: #01441776 | Show recordbag
  | 
| 
 
     
 
   | 
cool idea sneak, i will email you soon
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           JAroen
             from the pineal gland on 2005-01-02 05:11 [#01442112]
         Points: 16065 Status: Regular | Followup to sneakattack: #01441670
  | 
| 
 
     
 
   | 
YOU STOLE MY EDIA
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           mrgypsum
             on 2005-01-02 06:08 [#01442135]
         Points: 5112 Status: Regular | Followup to sneakattack: #01441670
  | 
| 
 
     
 
   | 
what do they use now to do this?
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           JAroen
             from the pineal gland on 2005-01-02 07:28 [#01442162]
         Points: 16065 Status: Regular | Followup to mrgypsum: #01442135
  | 
| 
 
     
 
   | 
this, repeated over and over again untill ~70000 is reached.  its even worse if youve set it to 20 threads/page... 
 
  
         
	  | 
        
         | Attached picture | 
	
	 | 
	  | 
	 
	  
  
	  | 
	
        
         | 
           
	  | 
        
        
           mrgypsum
             on 2005-01-02 07:38 [#01442165]
         Points: 5112 Status: Regular | Followup to JAroen: #01442162
  | 
| 
 
     
 
   | 
hard coded
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           JAroen
             from the pineal gland on 2005-01-02 07:46 [#01442168]
         Points: 16065 Status: Regular | Followup to mrgypsum: #01442165
  | 
| 
 
     
 
   | 
wut?
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           mrgypsum
             on 2005-01-02 08:14 [#01442184]
         Points: 5112 Status: Regular | Followup to JAroen: #01442168
  | 
| 
 
     
 
   | 
its been hard coded, the drop down menu, its when you define  your data out right:
 
  hard code: string s0, s1, s2, s3;
  s0 = "SAW II"; s1 = "i card because you do"; s2 = "rdj lp"; s3 = "drukqs";
  system.out.println(s0 + s1 + s2 + s3);
  vs
  list l = (s0, s1, s2, s3); iterator iter = list.iter(); while(!iter.isempty())  ..system.out.println(iter.next())
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           epohs
             from )C: on 2005-01-02 08:21 [#01442190]
         Points: 17620 Status: Lurker
  | 
| 
 
     
 
   | 
the way it is now, you're having to download the HTML code  for that entire huge list.  the size of that definately  makes a difference to people on slow connections.
 
  with the new way sneakattack sugested, you would only  download three values from the xltronic servers (and that  javascript code), and your browser would dynamically fill  the list. 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           qrter
             from the future, and it works (Netherlands, The) on 2005-01-02 08:26 [#01442192]
         Points: 47414 Status: Moderator
  | 
| 
 
     
 
   | 
just for the layman like me - the noticeable effect would be  that the page loads quicker? 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           epohs
             from )C: on 2005-01-02 08:30 [#01442194]
         Points: 17620 Status: Lurker | Followup to qrter: #01442192
  | 
| 
 
     
 
   | 
yeah.  it should.
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           mrgypsum
             on 2005-01-02 08:32 [#01442195]
         Points: 5112 Status: Regular | Followup to qrter: #01442192
  | 
| 
 
     
 
   | 
do you have dial up?
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           epohs
             from )C: on 2005-01-02 08:35 [#01442198]
         Points: 17620 Status: Lurker | Followup to qrter: #01442192
  | 
| 
 
     
 
   | 
yeah.  it should.
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           qrter
             from the future, and it works (Netherlands, The) on 2005-01-02 08:36 [#01442199]
         Points: 47414 Status: Moderator | Followup to mrgypsum: #01442195
  | 
| 
 
     
 
   | 
no, DSL.
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           epohs
             from )C: on 2005-01-02 08:38 [#01442202]
         Points: 17620 Status: Lurker | Followup to epohs: #01442198
  | 
| 
 
     
 
   | 
woah, wierd, a double post seperated by 5 minutes.
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           giginger
             from Milky Beans (United Kingdom) on 2005-01-02 09:08 [#01442230]
         Points: 26335 Status: Regular | Followup to epohs: #01442202 | Show recordbag
  | 
| 
 
     
 
   | 
Is that l33t?
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           ecnadniarb
             on 2005-01-02 09:14 [#01442239]
         Points: 24805 Status: Lurker | Show recordbag
  | 
| 
 
     
 
   | 
There is less information to download however it depends how  quick your computer is when it comes to processing the  Javascript.
 
  I like the way when I suggested it last year it was  basically ignored now it is a cool idea.  Times are  changing. 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           mrgypsum
             on 2005-01-02 09:15 [#01442241]
         Points: 5112 Status: Regular | Followup to qrter: #01442199
  | 
| 
 
     
 
   | 
it wont be as noticible, but it will be faster, like sneak  says the page size will go from 152k to 28k which is a very  good optimization 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           qrter
             from the future, and it works (Netherlands, The) on 2005-01-02 09:15 [#01442243]
         Points: 47414 Status: Moderator | Followup to ecnadniarb: #01442239
  | 
| 
 
     
 
   | 
I like how you casually inserted the information that you  had suggested this before.
 
  nice. :)
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           epohs
             from )C: on 2005-01-02 09:15 [#01442244]
         Points: 17620 Status: Lurker | Followup to giginger: #01442230
  | 
| 
 
     
 
   | 
i kinda doubt it.
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           JAroen
             from the pineal gland on 2005-01-02 09:16 [#01442245]
         Points: 16065 Status: Regular | Followup to mrgypsum: #01442195
  | 
| 
 
     
 
   | 
im on broadband.. but it saves the phobzman money too..
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           mrgypsum
             on 2005-01-02 09:18 [#01442246]
         Points: 5112 Status: Regular | Followup to JAroen: #01442245
  | 
| 
 
     
 
   | 
i guess now he just needs someone to spend the time and  write the code - i couldnt do it, i havent touched code in  over a year, my skills are slipping + im not too familar  with php 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           JAroen
             from the pineal gland on 2005-01-02 09:19 [#01442248]
         Points: 16065 Status: Regular
  | 
| 
 
     
 
   | 
its VERY easy to add - really. shouldnt take more than 30  minutes 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           epohs
             from )C: on 2005-01-02 09:20 [#01442249]
         Points: 17620 Status: Lurker
  | 
| 
 
     
 
   | 
do modern browsers cache javascript includes like they do  css includes?
 
  i think they do.
  if so, they could probably put all the javascript into an  include to save a little d/l size there too... but, i doubt  that'd make much of a difference in page size really, so...
 
  OMG WHAT'S THAT!!?!?!
  <-- *outtie 5k!*
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           mrgypsum
             on 2005-01-02 09:20 [#01442250]
         Points: 5112 Status: Regular | Followup to JAroen: #01442248
  | 
| 
 
     
 
   | 
well if youre going to overhaul one thing to optimize it,  you should really try to make the whole system optimized   maybe it should be saved for the more stuff coming soon  people version 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           ecnadniarb
             on 2005-01-02 09:21 [#01442252]
         Points: 24805 Status: Lurker | Followup to mrgypsum: #01442246 | Show recordbag
  | 
| 
 
     
 
   | 
It will essentially the same code server side as you would  use client side.  The only difference is that the because  the list is populated and sent from the server the file size  is vastly increased. 
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           JAroen
             from the pineal gland on 2005-01-02 09:22 [#01442253]
         Points: 16065 Status: Regular | Followup to mrgypsum: #01442250
  | 
| 
 
     
 
   | 
good idea, well have quicker loading pages in octvember 2013
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
           ecnadniarb
             on 2005-01-02 09:23 [#01442254]
         Points: 24805 Status: Lurker | Followup to JAroen: #01442248 | Show recordbag
  | 
| 
 
     
 
   | 
It shouldn't take more than 2 minutes.
 
  
         
	  | 
        
        
         | 
           
	  | 
        
        
         
         
Messageboard index 
              
        
 
	 
	  |