Click here to Skip to main content
15,886,422 members

peterchen - Professional Profile



Summary

    Blog RSS
46,918
Author
2,896
Authority
98,630
Debator
37
Editor
232
Enquirer
4,330
Organiser
5,438
Participant
Peter is tired of being called "Mr. Chen", even so certain individuals insist on it. No, he's not chinese.

Peter has seen lots of boxes you youngsters wouldn't even accept as calculators. He is proud of having visited the insides of a 16 Bit Machine.

In his spare time he ponders new ways of turning groceries into biohazards, or tries to coax South American officials to add some stamps to his passport.

Beyond these trivialities Peter works for Klippel[^], a small german company that wants to make mankind happier by selling them novel loudspeaker measurement equipment.


Where are you from?[^]



Please, if you are using one of my articles for anything, just leave me a comment. Seeing that this stuff is actually useful to someone is what keeps me posting and updating them.
Should you happen to not like it, tell me, too

Groups

Below is the list of groups in which the member is participating

United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
This is a Collaborative Group
This member has Member status in this group

41 members
United States United States
This _private_ forum is set up to be a place where political and social issues, including American politics and global warming, can be discussed in a reasonably civil manner. Anyone who has been an active member* of Code Project for six months is welcome to apply for membership but this forum does not tolerate trolling posts, or posters who wish to be disagreeable. Those who choose to become uncivil, insulting, or childish will be warned and, for repeated violations, removed from membership.

* That means that you have posted regularly or had at least one article published.

For member complaints and suggestions, contact the forum administrator at ...
cp[soapbox1[0 at gmail.com
Remove the [ characters and replace them by a period.
This is a Social Group
This member has Member status in this group

192 members

Reputation

Weekly Data. Recent events may not appear immediately. For information on Reputation please see the FAQ.

Privileges

Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege. The member types column lists member types who gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilver
Bypass spam checks when posting contentsilversilversilversilversilversilvergoldSubEditor, Mentor, Protector, Editor
Store personal files in your account areaplatinumplatinumSubEditor, Editor
Have live hyperlinks in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Have the ability to include a biography in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Edit a Question in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Edit an Answer in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Delete a Question in Q&AYesSubEditor, Protector, Editor
Delete an Answer in Q&AYesSubEditor, Protector, Editor
Report an ArticlesilversilversilversilverSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubEditor, Mentor, Protector, Editor
Edit other members' articlesSubEditor, Protector, Editor
Create an article without requiring moderationplatinumSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending QuestionProtector
Approve/Disapprove a pending AnswerProtector
Report a forum messagesilversilverbronzeProtector, Editor
Approve/Disapprove a pending Forum MessageProtector
Have the ability to send direct emails to members in the forumsProtector
Create a new tagsilversilversilversilver
Modify a tagsilversilversilversilver

Actions with a green tick can be performed by this member.


 
GeneralRe: The Matrix - thoughts Pin
Paul Watson4-Jun-03 22:11
sitebuilderPaul Watson4-Jun-03 22:11 
GeneralRe: The Matrix - thoughts Pin
peterchen4-Jun-03 23:10
peterchen4-Jun-03 23:10 
GeneralRe: The Matrix - thoughts Pin
Paul Watson5-Jun-03 0:41
sitebuilderPaul Watson5-Jun-03 0:41 
GeneralRe: The Matrix - thoughts Pin
peterchen5-Jun-03 1:55
peterchen5-Jun-03 1:55 
GeneralRe: The Matrix - thoughts Pin
Paul Watson5-Jun-03 2:06
sitebuilderPaul Watson5-Jun-03 2:06 
GeneralRe: The Matrix - thoughts Pin
Zachery5-Jun-03 2:41
Zachery5-Jun-03 2:41 
GeneralRe: The Matrix - thoughts Pin
peterchen5-Jun-03 3:14
peterchen5-Jun-03 3:14 
GeneralProposal: Code Snippet Library Pin
peterchen2-Jun-03 8:46
peterchen2-Jun-03 8:46 
true to my socialist upbringing - "You made the suggestion, you realize it" - let's get things rolling. I picked the code snippet library both out of curiosity, and as a project with early results yet potential to grow.

Abstract:Application to manage a collection of code snippets, working standalone, from a centralized server, or peer-to-peer.

Note: These are my ideas, and assumptions. Correct me if I'm wrong, and feel free to discuss.

First Step - Standalone Client
The Standalone Client enables a single coder to store and reuse small functions, classes, and "unstructured" code sequences of his favorite languages. A desktop application that interfaces the development environment via the clipboard, stores data language-neutral, with extensible meta data, and allows basic organization.

A good paradigm for storing a snippet seem to be files, and using folder as structural criteria. This allows users to "reuse" their organization behavior for loosely coupled data.

Storing each snippet in a physical file has the advantage that cleanup, moving around, renaming, and basic searching comes "for free", again according to the user's choice.

Scalability, might require other storage mechanisms as well.

Benefits: Early "ROI" - we have something "to deliver". Plus, coders can already build their snippet libraries for later sharing.

Networking - Central Server
This will enable closed workgroups to build a common database, and to exchange snippets. A simple Intranet-version could be dereived from the stand-alone version by connecting to a shared folder, or allowing the inclusion fo a shared folder. A web application would allow sharing the data over the internet. Ideally, the standalone application can connect to any folder, shared folder, or URL to access (or at least retrieve) a snippet library.
The Web Application would allwo widest availability, while the standalone application would be targeted to a common interface with location transparency*.

Networking - Peer to Peer
For loosely coupled, server-free application, the client could "piggy-back" Instant Messengers and other P2P software. The technical possibilities to interface common clients need to be evaluated.
general P2P benefits - zero administration setups, running cost is shared between the participants, loosely organized. Plus, it opens up "connections" between the server-based libraries.

Scalability
To make the snippet library feasible for a site of the size of CP (the "ultimate goal", in the following called "big server"), various issues must be solved:
a) defining interfaces and "reuse" between stabdalone and "big server" application. "Read-only" access to the big server is a "certainly possible minimum"
b) Advanced Description: "A snippet belongs to one cat" isn't enough for a library of this size. While a non-repeating strict hierarchy is still desirable, advanced grouping mechanisms (like m:n snippet-category mapping, or keywords) is required.
c) Data Storage: with respect to storage size, maintenance and accessibility, snippet files might be bad.
d) Indexing: advanced search is necessary, without bloating the necessary meta information. Storign the index in a database is of essence for acceptable performance.
e) Quality: Such a large databasse surely clutters up with... less recommended code. Voting (like on CP, perferring main contributors) would be nice, but requires
f) User Management - this should ultimately be able to integrate with "external" user managements, like the one on CP.
g) ???

other topics
a) Integration with Development environments
b) Language-specific Code Representation ("beautifier")
c) Keyword replacement (e.g. snippet "reverse a 'TYPE *' vector in place" would allow me to specify type, and vector name)
d) Extract/Embed meta information from/in language-specific comments
e) selectable "comment header templates" for functions and classes
f) ???

Whew. That's it. For now.
*) shouldn't that be "location opacity"?


"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS

sighist | Agile Programming | doxygen

GeneralRe: Proposal: Code Snippet Library Pin
Jason Henderson3-Jun-03 17:39
Jason Henderson3-Jun-03 17:39 
GeneralRe: Proposal: Code Snippet Library Pin
peterchen3-Jun-03 20:44
peterchen3-Jun-03 20:44 
GeneralRe: Proposal: Code Snippet Library Pin
Jason Henderson4-Jun-03 16:14
Jason Henderson4-Jun-03 16:14 
GeneralRe: Proposal: Code Snippet Library Pin
Paul Watson6-Jun-03 2:52
sitebuilderPaul Watson6-Jun-03 2:52 
GeneralRe: Proposal: Code Snippet Library Pin
Jason Henderson6-Jun-03 3:01
Jason Henderson6-Jun-03 3:01 
GeneralRe: Proposal: Code Snippet Library Pin
Stephane Rodriguez.4-Jun-03 19:23
Stephane Rodriguez.4-Jun-03 19:23 
GeneralRe: Proposal: Code Snippet Library Pin
peterchen4-Jun-03 20:45
peterchen4-Jun-03 20:45 
GeneralRe: Proposal: Code Snippet Library Pin
Paul Watson6-Jun-03 4:03
sitebuilderPaul Watson6-Jun-03 4:03 
GeneralRe: Proposal: Code Snippet Library Pin
Jason Henderson7-Jun-03 17:56
Jason Henderson7-Jun-03 17:56 
GeneralRe: Proposal: Code Snippet Library Pin
Paul Watson7-Jun-03 23:07
sitebuilderPaul Watson7-Jun-03 23:07 
GeneralRe: Proposal: Code Snippet Library Pin
Jason Henderson7-Jun-03 18:58
Jason Henderson7-Jun-03 18:58 
GeneralRe: Proposal: Code Snippet Library Pin
Paul Watson7-Jun-03 23:28
sitebuilderPaul Watson7-Jun-03 23:28 
GeneralRe: Proposal: Code Snippet Library Pin
Jason Henderson7-Jun-03 19:00
Jason Henderson7-Jun-03 19:00 
GeneralSecond Foundation Pin
Paul Watson7-Jun-03 23:45
sitebuilderPaul Watson7-Jun-03 23:45 
GeneralRe: Second Foundation Pin
Jason Henderson8-Jun-03 9:36
Jason Henderson8-Jun-03 9:36 
GeneralRe: Proposal: Code Snippet Library Pin
peterchen9-Jun-03 23:57
peterchen9-Jun-03 23:57 
GeneralRe: Proposal: Code Snippet Library Pin
Steve McLenithan8-Jul-03 1:15
Steve McLenithan8-Jul-03 1:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.