View previous topic :: View next topic |
Author |
Message |
Aniblaze Grandmaster Cheater Supreme Reputation: 138
Joined: 23 Apr 2006 Posts: 1757 Location: The Netherlands
|
Posted: Mon Feb 06, 2012 9:04 pm Post subject: Want to hear something stupid I did with programming? |
|
|
I used DOM instead of SAX to read a 610MB XML file. WHY U CRASH?!
|
|
Back to top |
|
|
Cryoma Member of the Year Reputation: 198
Joined: 14 Jan 2009 Posts: 1819
|
Posted: Mon Feb 06, 2012 9:19 pm Post subject: |
|
|
I programmed my fridge
to be cool
|
|
Back to top |
|
|
Cryoma Member of the Year Reputation: 198
Joined: 14 Jan 2009 Posts: 1819
|
Posted: Fri May 25, 2012 12:08 am Post subject: |
|
|
I programmed the wheels on the bus
to go round and round
|
|
Back to top |
|
|
Aniblaze Grandmaster Cheater Supreme Reputation: 138
Joined: 23 Apr 2006 Posts: 1757 Location: The Netherlands
|
Posted: Fri May 25, 2012 9:42 am Post subject: |
|
|
It's been two months and I still find myself an idiot for having done this. Like I could load a 610MB file into the memory where every XML entry was a separate object. That's like gigabytes of memory for a single file load.
Sincerely,
Moron
|
|
Back to top |
|
|
meme'd Master Cheater Reputation: 0
Joined: 28 Oct 2008 Posts: 424
|
Posted: Fri May 25, 2012 9:46 am Post subject: |
|
|
Cryoma wrote: | I programmed the wheels on the bus
to go round and round |
I programmed the wheels on the bus to go round and round with gotos.
|
|
Back to top |
|
|
Aniblaze Grandmaster Cheater Supreme Reputation: 138
Joined: 23 Apr 2006 Posts: 1757 Location: The Netherlands
|
Posted: Fri May 25, 2012 9:47 am Post subject: |
|
|
12rayxD wrote: | Cryoma wrote: | I programmed the wheels on the bus
to go round and round |
I programmed the wheels on the bus to go round and round with gotos. |
Ah that's too bad man. In accordance with development laws, you'll have your testicles removed.
|
|
Back to top |
|
|
meme'd Master Cheater Reputation: 0
Joined: 28 Oct 2008 Posts: 424
|
Posted: Fri May 25, 2012 9:52 am Post subject: |
|
|
Aniblaze wrote: | 12rayxD wrote: | Cryoma wrote: | I programmed the wheels on the bus
to go round and round |
I programmed the wheels on the bus to go round and round with gotos. |
Ah that's too bad man. In accordance with development laws, you'll have your testicles removed. |
It was a pun. Please do not report this to the officials.
|
|
Back to top |
|
|
ControlAltDelete Friendly Giant Reputation: 157
Joined: 03 Mar 2007 Posts: 2396
|
Posted: Fri May 25, 2012 9:53 am Post subject: |
|
|
i programmed the stupid in cef
i guess i did a very good job.
_________________
Shrooms wrote: | but sadly this is 1984 and western civilization the last ones standing at the top of titanic before it sinks...no matter what you do, they know |
|
|
Back to top |
|
|
meme'd Master Cheater Reputation: 0
Joined: 28 Oct 2008 Posts: 424
|
Posted: Fri May 25, 2012 10:23 am Post subject: |
|
|
ControlAltDelete wrote: | i programmed the stupid in cef
i guess i did a very good job. |
your didn't a very decent job
|
|
Back to top |
|
|
Aviar³ Grandmaster Cheater Reputation: 50
Joined: 03 Jan 2008 Posts: 655 Location: Canada
|
Posted: Fri May 25, 2012 11:35 am Post subject: |
|
|
Theres SAX for PHP? Also why were you working with such a large XML file? Was it a database dump or a flat file of sorts?
_________________
This is the inception of deception, checking the depth of your perception.
|
|
Back to top |
|
|
Aniblaze Grandmaster Cheater Supreme Reputation: 138
Joined: 23 Apr 2006 Posts: 1757 Location: The Netherlands
|
Posted: Fri May 25, 2012 12:09 pm Post subject: |
|
|
Aviar³ wrote: | Theres SAX for PHP? Also why were you working with such a large XML file? Was it a database dump or a flat file of sorts? |
Yep, there is. Was working on an Icecat database sync for their products (so I can search on EAN in my own database and see what XML corresponds with it) and categories.
www.icecat.biz
|
|
Back to top |
|
|
|