Preserved Topic: Asylum Suggestion |
|
---|---|
Author | Thread |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-22-2001 23:39
OK, have you ever posted something like code with complex indents, and then lost all the indents since it's in HTML? I propose a simple little fix for that. |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 06-22-2001 23:48
Doesn't using the UBB [code] tag save all the indents? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-23-2001 00:55
Yeah, but someone else recently said that when you copy and paste text from it, it doesn't copy the newlines, so you end up with one long line of code, which I imaging could be quite annoying. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 06-23-2001 01:16
It should save the new lines, but a whole buncha spaces always get changed to just one space on display through the browser. The 'find two spaces' and replace with ' ' should work, but I'll have to think about this before I jump into perl "regex" mangling, ugly stuff! I have been doing more and more perl lately, maybe I'll get into that. |
Maniac (V) Mad Scientist From: New California |
posted 06-23-2001 01:23 |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 06-23-2001 01:30
Yeah that did sound pretty cool... want to give us the link? |
Maniac (V) Mad Scientist From: buttcrack of the midwest |
posted 06-23-2001 05:35
I think my brain just shorted out. Jeez, Doc no wonder you need some rest. |
Paranoid (IV) Mad Scientist From: Inside THE BOX |
posted 06-23-2001 06:25 |
Paranoid (IV) Inmate From: Lebanon |
posted 06-25-2001 08:45
Nice one Doc! |
Paranoid (IV) Inmate From: Borneo Island |
posted 06-25-2001 08:53
Gee.. I wonder how your brain really works, Doc. Any explaination..??? |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 06-25-2001 09:09
Well, I *could* explain, but it's nearly impossible without elaborate indenting and extensive use of TLA's and XTLA's. Try thinking of Alice falling down the rabbits hole, and then also of what happens "through the looking glass". Most of my logic is really quite methodical, I just tend to follow it round and round in a circular pattern, returning where I started only with a few warpages in my thinking. I simulated this once in a game logic I designed, if it didn't like the answers, it looped back for another pass, each pass having certain random chances to try a different logic path to solve the problem, with all the results cumulative. There was an "ah, screw it!" clause built-in, at which point it would just make a move, based on the best chances it had stored. I knew I was successful when the damn program *cheated* on me! Bastard. |
Bipolar (III) Inmate From: USA |
posted 06-25-2001 10:28
**gets advil** okies u gave me a headache lol |
Maniac (V) Inmate From: Den Haag: The Royal Residence |
posted 06-25-2001 19:44
"...if i want to know how something works i totally disect them, i did this when i was a child and i still do it today when i want something to learn..." |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 06-25-2001 21:34
I'll bet Rinswind's pets weren't all to happy on the days he wanted to find out how they worked! |