vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin.org Site Feedback (https://vborg.vbsupport.ru/forumdisplay.php?f=7)
-   -   To enforce a valid coding style in the community! (https://vborg.vbsupport.ru/showthread.php?t=93400)

amykhar 08-02-2005 01:31 PM

When it's all said and done, nobody minds that you want to improve the code on this site Dark. What is torking people is that you seem to need some official title and label to do it.

When Kirby makes suggestions about my code, I listen to it. He has earned my respect and I know he knows his stuff. He doesn't need a label, and I don't get the feeling that he's running around judging code. I get the feeling that he's interested in the mod and is entering a conversation about improving it. No label. No committee. Just better code when he's done.

You don't need a committee to improve the code here. You need manners, a good reputation and tact. (I'm not saying you don't have those things. I'm just saying that anybody who is going to run around making corrections needs them.)

The last go around with the committee idea was killed by ego. And, I'm not getting a warm fuzzy feeling this go around either.

One final point, I could care less about the coding style of the mods posted here. Why? What I am looking for is IDEAS. I am looking for the creative mind that comes up with things that make vbulletin better. I seldom use mods exactly as they are written. You wouldn't recognize a lot of the Inferno Quiz any more on my site. I've gutted it and made it what I need. Zero's coding style is certainly nothing like Jelsoft's , but it's clearly organized and easy to read. Good enough for me.

And, if your labels drive away even one coder, this place loses. Such a small minority contributes anything around here so as it is. RELEASE good code as examples. Help improve the mods you use. Contribute. Be a peer and not a judge. You get the results you want, and you haven't insulted anybody.

Amy

The Geek 08-02-2005 01:33 PM

Quote:

Originally Posted by Dark Visor
What's a mack???

Its to satifsy all the wackos that insist on debating 'is it a mod or a hack?'.

Quote:

LMAO. You are right, don't participate in this discussion. Oh, and will you now say that I am forcing you to participate in it?
Much in the same way a train wreck forces you to stare.

Boofo 08-02-2005 01:33 PM

A very wise lady just made that post. Good one, Amy. ;)

bigcurt 08-02-2005 01:34 PM

Quote:

Originally Posted by amykhar
When it's all said and done, nobody minds that you want to improve the code on this site Dark. What is torking people is that you seem to need some official title and label to do it.

When Kirby makes suggestions about my code, I listen to it. He has earned my respect and I know he knows his stuff. He doesn't need a label, and I don't get the feeling that he's running around judging code. I get the feeling that he's interested in the mod and is entering a conversation about improving it. No label. No committee. Just better code when he's done.

You don't need a committee to improve the code here. You need manners, a good reputation and tact. (I'm not saying you don't have those things. I'm just saying that anybody who is going to run around making corrections needs them.)

The last go around with the committee idea was killed by ego. And, I'm not getting a warm fuzzy feeling this go around either.

One final point, I could care less about the coding style of the mods posted here. Why? What I am looking for is IDEAS. I am looking for the creative mind that comes up with things that make vbulletin better. I seldom use mods exactly as they are written. You wouldn't recognize a lot of the Inferno Quiz any more on my site. I've gutted it and made it what I need. Zero's coding style is certainly nothing like Jelsoft's , but it's clearly organized and easy to read. Good enough for me.

And, if your labels drive away even one coder, this place loses. Such a small minority contributes anything around here so as it is. RELEASE good code as examples. Help improve the mods you use. Contribute. Be a peer and not a judge. You get the results you want, and you haven't insulted anybody.

Amy



Best post in this thread ( other than maybe my retard in olympics pic :) ) thanks amy.



~Curt

Logikos 08-02-2005 01:36 PM

Quote:

Originally Posted by amykhar
You don't need a committee to improve the code here. You need manners, a good reputation and tact.

Couldn't have said it any better myself. Kirby has helped me many times in my threads with code. Hes not judging me, he is telling me there is an eaiser way to do what I did. And it's up too me if i want to update my code. Normaly, I will...

southernlady 08-02-2005 01:47 PM

Quote:

One final point, I could care less about the coding style of the mods posted here. Why? What I am looking for is IDEAS. I am looking for the creative mind that comes up with things that make vbulletin better. I seldom use mods exactly as they are written.
That's because YOU are a coder...some of us HAVE to use the codes EXACTLY as written, Amy, we have NO OPTION! We are NOT coders, remember?

I've never said use a label. I simple said do not release non-valid code to the unsuspecting public. Liz

amykhar 08-02-2005 01:52 PM

Quote:

Originally Posted by southernlady
That's because YOU are a coder...some of us HAVE to use the codes EXACTLY as written, Amy, we have NO OPTION! We are NOT coders, remember?

I've never said use a label. I simple said do not release non-valid code to the unsuspecting public. Liz

You may be right. This site probably needs a warning label. It should clearly say that the code released here is written by unpaid hobbyists. Use it at your own risk. But, that's a different topic.

Boofo 08-02-2005 01:53 PM

Quote:

Originally Posted by southernlady
That's because YOU are a coder...some of us HAVE to use the codes EXACTLY as written, Amy, we have NO OPTION! We are NOT coders, remember?

I've never said use a label. I simple said do not release non-valid code to the unsuspecting public. Liz

I am all for the system if they can do it without labeling anyone. ;)

akanevsky 08-02-2005 01:54 PM

Quote:

@Dark Visor
A prettyprinter is a Software/Script that parses source-code, and outputs it again formatted as you specify/like.
For exampe, a well-known prettyprinter for HTML is HTMLTidy.
Is there one for PHP?

Quote:

Wait a second. DV are you bluntly stating that you will release code that will destroy a users database. Such as post, threads, forums, ect... ?
Yap. And you may never know which one of my hacks will have the destroying code, cause from now on I am going to release all my hacks one-lined and hopefully double-encoded with ionCube and Zend. ;)

Quote:

What is torking people is that you seem to need some official title and label to do it.
I never said that I want a title. What I want is an ability to mark hack threads as either "optimized" or "not optimized"... This mark does not necessarily need to be output into HTML, but the end-users should have an option to filter out the threads with that mark, using a specially formed URL or a usercp option.

See, those who care about their board should have a right to know how safe is it to install a certain hack. They should, therefore, have an option to filter out only those hack threads that have been marked as "optimized".

I, personally, care how well my board runs and that's why I think twice before installing any hacks that have unoptimized code or queries... This is why I click "INSTALL" on so many hacks without actually installing them later. I click it just because I like the idea and would like to review the hack later and see if it is worth installing (taking into account the code).

If the majority of this community's members do not care about their board, it's either because they are end-users who do not know much about programming, because they are end-users who are obsessed with installing all different kinds of hacks on their board, or because they are coders who care only to quickly finish the code and receive the results, without actually caring how safe or right the code is. Often the latter end up in writing "2 + 2 + 4 - 1 + 10 - 1" instead of simply writing "2 + 14".

Those, who want their boards clean, should in my opinion have the opportunity to know what they are installing without having to download the hack and read through its code, esspecially if they are not programmers and for that reason simply are not able to do it...

Paul M 08-02-2005 01:54 PM

Quote:

Originally Posted by southernlady
I've never said use a label. I simple said do not release non-valid code to the unsuspecting public. Liz

"non-valid" is a label.

There is no need for this - vb.org seems to have survived without this for a number of years - and as this thread clearly demostrates, all it will do is cause division and bad feeling.

yoyoyoyo 08-02-2005 02:03 PM

Quote:

Originally Posted by Boofo
I am all for the system if they can do it without labeling anyone. ;)

I agree- as I stated earlier in this thread, a "beta- please help me with this hack" forum would be great! no stigma, no labels- just learning/teaching community helping kinda stuff.

southernlady 08-02-2005 02:05 PM

Why is everyone so afraid of labels? You use them already under your name. Coder, Adv.Coder, etc. What's the problem? Are you afraid of being found out? Liz

Boofo 08-02-2005 02:10 PM

Quote:

Originally Posted by southernlady
Why is everyone so afraid of labels? You use them already under your name. Coder, Adv.Coder, etc. What's the problem? Are you afraid of being found out? Liz

No, Liz, I have no problem getting my code checked. But think of the newbies first starting out. How many of them would even think about doing another hack if they were labeled in public and felt humiliated because they didn't know as much as the more advanced coders do? Most of the people involved in this discussion have been there and would not have gotten to where they are now if they had been "labeled" in the beginning.

akanevsky 08-02-2005 02:11 PM

Quote:

Why is everyone so afraid of labels? You use them already under your name. Coder, Adv.Coder, etc. What's the problem? Are you afraid of being found out? Liz
Yes, they are afraid of stepping up.. They want to just do those hacks and receive gratitutudes from unsuspecting public that does not know what's inside.

Quote:

No, Liz, I have no problem getting my code checked. But think of the newbies first starting out. How many of them would even think about doing another hack if they were labeled in public and felt humiliated because they didn't know as much as the more advanced coders do? Most of the people involved in this discussion have been there and would not have gotten to where they are now if they had been "labeled" in the beginning.
I am labeled as "Coder" instead of "Adv.Coder" or whatsoever. So what? I don't really care.

southernlady 08-02-2005 02:14 PM

That's where you have the test forum...they go there first. If they can't pass the test forum, then they don't have the stigma of failing *in public*. Liz

Boofo 08-02-2005 02:16 PM

Well, you finally got me, DV. I give up. It doesn't seem this is going anywhere anymore so I'll leave you all to it. Good luck with it. ;)

Logikos 08-02-2005 02:16 PM

The Coder, Adv Coder, and Master Coder only seems to encourage users to create more hacks. I've never seen a user complain about being labeled because of there user title.

amykhar 08-02-2005 02:23 PM

Quote:

Originally Posted by Live Wire
I've never seen a user complain about being labeled because of there user title.

I have ;)

Chris M 08-02-2005 02:24 PM

Quote:

Originally Posted by Dark Visor
Quote:

Wait a second. DV are you bluntly stating that you will release code that will destroy a users database. Such as post, threads, forums, ect... ?
Yap. And you may never know which one of my hacks will have the destroying code, cause from now on I am going to release all my hacks one-lined and hopefully double-encoded with ionCube and Zend.

This will be my last post in this thread - In response to your threats of causing harm to someone's database I will be reporting you to several members of the Jelsoft staff for these threats...

You can argue your ideas and thoughts about so called valid code all day long - You refuse to understand the viewpoints of people who I consider to have more worth and who I respect who also happen to share my concerns - We can see yours, and are responding with the downside...

Should such a system be implemented, I shall no longer release modifications here, and will remove any that I have - If people wish to view or use my modifications I shall either host them on my own site, or band together with other respected coders to create a vBulletin.org-esque site free from these labels...

What you fail to realise is that this community has been going for almost 4 years - In these 4 years, up until now, such a system has been unnecessary - We have managed without it and we still can...

I hope you enjoy arguing your viewpoint - I can't see any good coming from it...

Satan

Andreas 08-02-2005 02:25 PM

Quote:

Originally Posted by Dark Visor
Is there one for PHP?

I guess there are dozens.
Here a few (from the first Hit returned by Google :D)
http://www.bierkandt.org/beautify/
http://www.tote-taste.de/X-Project/beautify/
http://www.semdesigns.com/Products/F...Formatter.html

Btw: I think everybody should try to clam down.
This discussion is getting way too hot, and that's not worth it IMHO.

I think there are valid points on both sides, but enforcing some kind of labeling seems to out of question.

I can't see why there shouldn't be some opt-in system for those who would like to have their Hacks reviewed/rated?.
That should hurt nobody, would be of benefit for Coders and Users - and those willing to review Hacks have smth. to do :)

Logikos 08-02-2005 02:30 PM

Quote:

Originally Posted by Dark Visor
Yap. And you may never know which one of my hacks will have the destroying code, cause from now on I am going to release all my hacks one-lined and hopefully double-encoded with ionCube and Zend.

That statement really gets to me. I've already reported that statement to Jelsoft. I now know not to ever use any of your hacks.

Boofo 08-02-2005 02:37 PM

Quote:

Originally Posted by KirbyDE
I guess there are dozens.
Here a few (from the first Hit returned by Google :D)
http://www.bierkandt.org/beautify/
http://www.tote-taste.de/X-Project/beautify/
http://www.semdesigns.com/Products/F...Formatter.html

Btw: I think everybody should try to clam down.
This discussion is getting way too hot, and that's not worth it IMHO.

I think there are valid points on both sides, but enforcing some kind of labeling seems to out of question.

But I can't see why there shouldn't be some opt-in system for those who would like to have their Hacks reviewed/rated.

I agree with you, Kirby. I think having someone help you see where you can make it better is a great idea. I just don't agree with labeling anyone for not knowing as much as someone else already does.

akanevsky 08-02-2005 02:37 PM

Quote:

This will be my last post in this thread - In response to your threats of causing harm to someone's database I will be reporting you to several members of the Jelsoft staff for these threats...
Do it, if it will make you sleep better :) Good luck.

Quote:

That statement really gets to me. I've already reported that statement to Jelsoft. I now know not to ever use any of your hacks.
Chill, son. It was a joke. Seriously, who in their right mind would even think of double-encoding their scripts?

Quote:

Should such a system be implemented, I shall no longer release modifications here, and will remove any that I have
Does it look like I am supposed to care?

Quote:

I have
That would be a minority, consisting of those who have no will-power to stand out. All I can do is express my condolences towards them.

KirbyDE, Boofo

Thanks :)

--

Now would you please make a test run of the system? After all, 6 people have said "yes", and we can awlays cancel it if it doesn't work out. As already said, it can be without any visual labels, even though it would be better if there were some labels (the ones Revan suggested).

Quote:

But I can't see why there shouldn't be some opt-in system for those who would like to have their Hacks reviewed/rated.
Exactly!

Boofo 08-02-2005 02:39 PM

No labels, and you have my support. ;)

akanevsky 08-02-2005 02:41 PM

Quote:

No labels, and you have my support.
I'd agree to no labels as long as there is an optional filter, available to everyone. The same way as there in a option "Display Last X Threads", "Sort by X" etc..

Logikos 08-02-2005 02:42 PM

Quote:

Originally Posted by Dark Visor
Chill, son. It was a joke. Seriously, who in their right mind would even think of double-encoding their scripts?

double-encoding your scripts isn't what gets to me.

Boofo 08-02-2005 02:44 PM

It's still a label. ;)

Maybe helping us learn the proper coding techniques will pay off more in the end that trying to start labeling anyone. ;)

akanevsky 08-02-2005 02:53 PM

Quote:

double-encoding your scripts isn't what gets to me.
Ah... I see. Then we have a serious problem ;)

Quote:

Maybe helping us learn the proper coding techniques will pay off more in the end that trying to start labeling anyone.
Waste of time. The techniques are available at vbulletin.com and you know it.

Revan 08-02-2005 02:56 PM

What I really want to know is:
How is it possible to show to the end-user - which is for whom we are even discussing this in the first place - that a hack has been Verified/Approved/Optimised/$vbphrase[whatever_the_bluest_of_fks_youd_call_it], without adding a label of some sorts?

Boofo 08-02-2005 02:56 PM

By, us, I didn't necessarily mean me. ;)

Boofo 08-02-2005 02:57 PM

Quote:

Originally Posted by Revan
What I really want to know is:
How is it possible to show to the end-user - which is for whom we are even discussing this in the first place - that a hack has been Verified/Approved/Optimised/$vbphrase[whatever_the_bluest_of_fks_youd_call_it], without adding a label of some sorts?

Coming to you guys for help isn't enough? You want to make them feel smaller still?

Dream 08-02-2005 02:59 PM

Quote:

Originally Posted by Dark Visor
Waste of time. The techniques are available at vbulletin.com and you know it.

where is that info

southernlady 08-02-2005 02:59 PM

Well, by trial and error, *I'VE* already figured out who to avoid around here. Liz

Andreas 08-02-2005 03:01 PM

In the Manual, Appendix 4 (vBulletin Code Standards)
http://www.vbulletin.com/docs/html/codestandards

southernlady 08-02-2005 03:04 PM

Kirby, has it been updated to 3.5? Liz

akanevsky 08-02-2005 03:05 PM

Quote:

What I really want to know is:
How is it possible to show to the end-user - which is for whom we are even discussing this in the first place - that a hack has been Verified/Approved/Optimised/$vbphrase[whatever_the_bluest_of_fks_youd_call_it], without adding a label of some sorts?
You can't... :( But you can still filter them out. Which is unnoticable.

Quote:

By, us, I didn't necessarily mean me.
Of course you did. Come on, Mod, take responsibility for your words. ;)

Quote:

where is that info
http://www.vbulletin.com/docs/html/codestandards

Quote:

Well, by trial and error, *I'VE* already figured out who to avoid around here. Liz
Care to share? :P

Quote:

Kirby, has it been updated to 3.5? Liz
Even though I am not Kirby, no it was not updated. I don't think anything has changed...

Alan @ CIT 08-02-2005 03:06 PM

One things that does come to mind about such a system is PHPBB's mod-approval system. I remember reading a post in which someone from their "QA" team said "Due to the amount of mods in the queue waiting to be processed, it may take a month or more before they are released" (or words to that effect)

If such a system where put in place here, then the same problem could occur.

akanevsky 08-02-2005 03:07 PM

Quote:

One things that does come to mind about such a system is PHPBB's mod-approval system. I remember reading a post in which someone from their "QA" team said "Due to the amount of mods in the queue waiting to be processed, it may take a month or more before they are released" (or words to that effect)

If such a system where put in place here, then the same problem could occur.
In the first post of this thread, where does it say anything about approval?

southernlady 08-02-2005 03:09 PM

DV, no, I'm not into embarrassing anyone. It's enough that I know that I won't touch that person's code or mods. Liz

Andreas 08-02-2005 03:10 PM

Quote:

Originally Posted by Dark Visor
Even though I am not Kirby, no it was not updated. I don't think anything has changed...

globalize became $vbulletin->input->clean_[array_]gpc() and $DB_site became $db, but those changes are pretty minor - just the examples need an update.


All times are GMT. The time now is 04:15 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01527 seconds
  • Memory Usage 1,870KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (39)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete