Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 11th, 2005, 1:59 PM   #21
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
Quote:
Well maybe if i could pull your question out of my arse from it's incorrect context, then we would be set.... what are you asking?
For the fourth time (did you not read any of the other three?), it's the same question as it has been: 'Why are you using that html tag to display the text of the forum post?'. I don't know if it was a design concept or a design flaw that grimpirate simply didn't print the text in a <span> or <div> like most everyone else.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Old Sep 11th, 2005, 2:30 PM   #22
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
I can read fine, i just can't understand uncoherent blather about an unclear question.

The reasoning for putting it in an iframe most likely is so that one post can't take up too much space on the page. By allowing each post to take up a certain amount of allocated space in an iframe, it keeps the page (and posts) more legible. This could have also been done with a div with set height and/or width while using the CSS attribute "overflow: auto;".
__________________

tempest is offline   Reply With Quote
Old Sep 11th, 2005, 4:06 PM   #23
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
Your impression of incoherency is most likely due to your inability to recognise simple statements and logically connect words in order to understand someone else's question.

The post's possible length should not be overcome by something as rudimentary as an <iframe>, since that is a visually unattractive way to do something like keeping the thread 'clean' or limiting the text shown at one time. Particularly in this implementation, the border around the iframe (which can be removed) as well as the inherent scrollbar (which shouldn't be removed) makes it a less attractive option than including the text inline with the rest of the post.

I'm not sure if your immaturity or ignorance is to blame for your rudeness, but it would be much appreciated if you could think before posting in future ventures.

I applaud your work as well, grimpirate, as my only question was a simple one, and neutral regarding the quality of your work. I look forward to future work on it, as you're doing well so far. The colors did need a tweak though.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Old Sep 11th, 2005, 5:29 PM   #24
linuxpimp20
Hobbyist Programmer
 
Join Date: May 2005
Location: ma
Posts: 130
Rep Power: 4 linuxpimp20 is on a distinguished road
thanks for the code grim. It seems your not unwilling to share your code - are the files you mentioned also on your site for download? People might download it to steal it which is lame on their part but i'd like to download it to review it and hack at it. Me and my friend are thinking of doing a community site but want to make the forum ourselves to learn how to do it.
linuxpimp20 is offline   Reply With Quote
Old Sep 12th, 2005, 9:15 AM   #25
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
iignotus, I don't have much to say in response to your ignorant perception of "rudeness" as i was merely responding to your rude comments. However, i'll end this post with askingL why is an iframe with a border and scrollbar are unattractive to you in a forum? It seems perfectly logical to me, and by your definition your signature is "an unattractive way to do things" with really large text.
__________________

tempest is offline   Reply With Quote
Old Sep 12th, 2005, 1:43 PM   #26
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,464
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Looks good...
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Sep 12th, 2005, 1:55 PM   #27
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
Quote:
i'll end this post with askingL why is an iframe with a border and scrollbar are unattractive to you in a forum? It seems perfectly logical to me
That's purely my opinion (well, not just mine, but opinion nonetheless).
Quote:
by your definition your signature is "an unattractive way to do things" with really large text.
This coming from someone with a bunch of annoying emoticons in their sig. Way to be. Also, I wasn't rude in a single one of my posts before you initiated a slurring competition, and I'd like you to attempt to point out where I was -- I can quote numerous time where you were.

Grow up kid
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Old Sep 12th, 2005, 6:23 PM   #28
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 402
Rep Power: 3 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
The files themselves aren't actually available for download on the website, but that's the raw source code. All you gotta do is copy and paste that into Notepad and save it with a '.php' extension and you can hack away at it all you like. I don't mind sharing my source code, fact is I wish more people did it. I would hope people would at least hook me up with a link back to my site though, but s'ok if they don't. The search engine there is also written in php.

By the way, the reason I used the iframes was 'cause I just wasn't smart enough to code it any other way I had the problem where I couldn't split text or images and so it just bugged me visually and that was the way I came up with to solve it, and it worked fine soooooo... that's how it stayed.

Yeah the coloring on my site isn't good but it's that way for a particular reason, not necessarily a good one, but a reason nonetheless.

Also, I'd like to NOT use text files but as I explained perviously my FREE server doesn't allow me access to any database, so I'm forced to use a text file. The way I overcame the time problem was by applying a timestamp to each of the files. I would imagine the possibility of two people posting at the exact same time based on SECONDS accuracy is very VERY small.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote
Old Sep 12th, 2005, 7:01 PM   #29
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Quote:
I would imagine the possibility of two people posting at the exact same time based on SECONDS accuracy is very VERY small.
Depends on the traffic, of course.

If you think about it, DBs are just files. The authors have tweaked them within an inch of their life, performance-wise, but they have the very same problems to overcome. They're actually inefficient if you don't need a DB's characteristics.

One alternative to pure text files, if you need predictable organization and a certain degree of compatibility, is XML. Again, if you don't need DBs, or if you don't have the capability available, there's nothing wrong with a flat text file, presuming you deal with concurrency problems.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Sep 12th, 2005, 7:15 PM   #30
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Quote:
Originally Posted by iignotus
Thanks for the repetitive scrutiny though. The same question is still there, if anyone would like to be helpful and answer it.
.....
__________________

tempest is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:42 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC