Welcome to Dream.In.Code
Getting Help is Easy!

Join 86,374 Programmers. There are 1,413 online right now! Ask your question and get quick answers from Dream.In.Code experts. Join the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a Expert
Powered by LivePerson.com

Register to Make This Box Go Away!

NEW: Code Snippets 2.0

3 Pages V  1 2 3 >  
Reply to this topicStart new topic

NEW: Code Snippets 2.0

skyhawk133
post 11 Sep, 2007 - 11:52 AM
Post #1


Big Money... No Wammies!

Group Icon
Joined: 17 Mar, 2001
Posts: 13,550



After several weeks of work and years of planning ( rolleyes.gif ) our very own hotsnoj (Josh) has re-done the code snippets area. There's lot of new functionality, much of which will help the dream.in.code staff ensure only the best snippets make it in to the database.

So, without further ado, check out the new Code Snippets 2.0: http://www.dreamincode.net/code

Here's a run down of the new features in detail:
  • New Look: The snippets and categories have been redesigned with a less cluttered look and feel. You'll find snippets display with line numbers and not in the tiny scroll box
  • Snippet Approval: snippets will now be approved by the staff. Snippets that are rejected will be automatically PMd to the author for editing and resubmitted for approval
  • Commenting: When a user comments on your snippet, you'll get a PM with a link to the snippet
  • Copy & Paste: we know some programs handle copy/paste differently, so now you can copy and paste just the code (and not the line numbers)
  • Modify Snippets: When you modify a snippet, it will be sent for reapproval
A lot of what's new is under the hood, new code, new process for moderators to approve/reject, and all new API's for future projects. Hotsnoj did a great job putting up with my "you know what would be a cool idea?" So kudos to him. If he's up for it, he'll be doing some more development in the future.

Feedback... Bugs... More ideas... post em' here!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


snoj
post 11 Sep, 2007 - 11:54 AM
Post #2


panache::add(∞);

Group Icon
Joined: 31 Mar, 2003
Posts: 3,281

QUOTE
"you know what would be a cool idea?" So kudos to him.

I should get 5 gajillion kudos for that monkey business alone. tongue.gif

Well I hope you all have WAY more fun using the new codebase than I did writing it! tongue.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

skyhawk133
post 11 Sep, 2007 - 11:56 AM
Post #3


Big Money... No Wammies!

Group Icon
Joined: 17 Mar, 2001
Posts: 13,550

I can say that Josh accomplished the #1 rule of software development... Job Security through Obscurity. I'm gonna need some serious time to go through and figure out all this new fangle dangle code wink2.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

snoj
post 11 Sep, 2007 - 11:58 AM
Post #4


panache::add(∞);

Group Icon
Joined: 31 Mar, 2003
Posts: 3,281

Hey I thought I commented on the API quite well, documenting what everything did and naming methods clearly.

It's the templates where you'll have troubles though. tongue.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Amadeus
post 11 Sep, 2007 - 12:01 PM
Post #5


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 11,385

Great work Josh...really well done.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

no2pencil
post 11 Sep, 2007 - 12:01 PM
Post #6


DIC K-mart

Group Icon
Joined: 10 May, 2007
Posts: 3,322

Very nice! Very nice indeed!
User is online!Profile CardPM
Go to the top of the page
+Quote Post

PennyBoki
post 11 Sep, 2007 - 12:17 PM
Post #7


system("revolution");

Group Icon
Joined: 11 Dec, 2006
Posts: 2,006

Sorry to be the bitch, but I've noticed that the comments by the anonymous commentators have no indication that they are anonymous, i.e. there is no Anonymous text in them, maybe this was done intentionally, but personally I think that there should be such text line.

Other than that little detail, everything is cool, and I mean real cool.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

capty99
post 11 Sep, 2007 - 12:22 PM
Post #8


the real kya

Group Icon
Joined: 26 Apr, 2001
Posts: 8,386

hey it might actually get used!

nice work.

1 note : ads for me . intended?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

skyhawk133
post 11 Sep, 2007 - 12:24 PM
Post #9


Big Money... No Wammies!

Group Icon
Joined: 17 Mar, 2001
Posts: 13,550

You shouldn't see any ads. The adsense code isn't in a conditional though so that would explain it, I'll have Josh come up with a class to take care of that, and might actually be able to reuse the damn thing elsewhere.

Thanks.

QUOTE(PennyBoki @ 11 Sep, 2007 - 01:17 PM) *

Sorry to be the bitch, but I've noticed that the comments by the anonymous commentators have no indication that they are anonymous, i.e. there is no Anonymous text in them, maybe this was done intentionally, but personally I think that there should be such text line.

Other than that little detail, everything is cool, and I mean real cool.



Can you link me to a snippet so I can see what you mean. Anonymous comments are no longer allowed, so that may not have been a consideration.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

capty99
post 11 Sep, 2007 - 12:52 PM
Post #10


the real kya

Group Icon
Joined: 26 Apr, 2001
Posts: 8,386

how much traffic do you get through the snippets page.

i hit upon it 3 days ago searching for some java stuff.
link 2 on the google.

btw just found an unlicensed dreamincode room on meebo. lol
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

skyhawk133
post 11 Sep, 2007 - 01:01 PM
Post #11


Big Money... No Wammies!

Group Icon
Joined: 17 Mar, 2001
Posts: 13,550

Probably 3-5k visitors a day through code snippets.

What do you mean unlicensed? We have an AIM room called "dicheads" right now...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

jayman9
post 11 Sep, 2007 - 01:24 PM
Post #12


Student of Life

Group Icon
Joined: 26 Dec, 2005
Posts: 5,566

Excellent work, hotsnoj!

Looks fantastic.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

3 Pages V  1 2 3 >
Fast ReplyReply to this topicStart new topic
Time is now: 5/17/08 02:51AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month