http://www.sdnshare.com

So, if we mention this web site the thread gets nuked? Or was it the salty language?
[91 byte] By [Hippolytea] at [2007-11-27 6:30:13]
# 1
probably the salty language.As far as I'm concerned, I can't submit anything ;(I keep getting the Unknown Application Failure.
Dalzhima at 2007-7-12 17:54:38 > top of Java-index,Java Essentials,Java Programming...
# 2
No doubt that members of the Oligarchy have banded together to bring the site down. :-)
bsampieria at 2007-7-12 17:54:38 > top of Java-index,Java Essentials,Java Programming...
# 3
uhhm... not true. I've been looking for code like Streamy's for years! It was a, like, honest vote, totally!
CeciNEstPasUnProgrammeura at 2007-7-12 17:54:38 > top of Java-index,Java Essentials,Java Programming...
# 4
Me too, actually. So much better then the one I wrote 6 months ago. Streamy's code definitely has sleek sense of style to it; a simplicity that hearkens back to lighter days of big hair and electronic beats.
bsampieria at 2007-7-12 17:54:38 > top of Java-index,Java Essentials,Java Programming...
# 5
I got an answer from sdnshare after emailing them about that Unknown Application Failure error and they solved the problem. It seems the description is limited in length!I am now waiting for an answer as far as code tags are concerned.
Dalzhima at 2007-7-12 17:54:38 > top of Java-index,Java Essentials,Java Programming...
# 6
It seems as though we can't use the code tags, but we are allowed to some "basic html tags". Since there is nothing about this in the FAQ, I sent another mail asking for details on the "basic html tags" we are allowed to use. ;)I also got my submission going!
Dalzhima at 2007-7-12 17:54:38 > top of Java-index,Java Essentials,Java Programming...
# 7
I just logged in to take filestream down a notch ; )Im still mulling over my first submission.
TuringPesta at 2007-7-12 17:54:38 > top of Java-index,Java Essentials,Java Programming...
# 8
So I guess the consensus is, I shouldn't quit my job and become a full-time contributor to SDNshare?
bsampieria at 2007-7-12 17:54:38 > top of Java-index,Java Essentials,Java Programming...
# 9
Indeed, considering the maximum revenue you can earn per month as well as the fact you can't get your groceries from Amazon, you shouldn't quit your job :)
Dalzhima at 2007-7-12 17:54:38 > top of Java-index,Java Essentials,Java Programming...
# 10
Wait 'till you see the JPanel I just posted!
filestreama at 2007-7-12 17:54:38 > top of Java-index,Java Essentials,Java Programming...
# 11
> Wait 'till you see the JPanel I just posted!I JUST MADE A SUBMISSION! Woo Hoo!How long does it take to get approved?
TuringPesta at 2007-7-12 17:54:38 > top of Java-index,Java Essentials,Java Programming...
# 12
I have to say giving the thums down to crappy code is a wonderful feeling.
Hippolytea at 2007-7-12 17:54:38 > top of Java-index,Java Essentials,Java Programming...
# 13

If you give me a thumbs down I will track you down and break YOUR thumb.

Is that cyberbullying, lol?

I gave filestream a thumbs down but only because he was too popular.

< note to filestream: i have no thumbs >

I love my comment to him:

"Q.E.D: I took a point away from you."

http://www.sdnshare.com/view.jsp?id=503

Fairly good use of QED in my opinion.

TuringPesta at 2007-7-12 17:54:38 > top of Java-index,Java Essentials,Java Programming...
# 14

Of course, good code gets a thums up:

[url #" style="display: block; background-image: url('http://editorandpunisher.typepad.com/suburban_tasteland/images/dsc00368.JPG'); width: 179px; height: 415px] [/url]

or would one rather have the dukes?

[url #" style="display: block; background-image: url('http://editorandpunisher.typepad.com/suburban_tasteland/images/dsc00380_1.JPG'); width: 194px; height: 383px] [/url]

(Duke's Masala Soda, that is)

Hippolytea at 2007-7-12 17:54:38 > top of Java-index,Java Essentials,Java Programming...
# 15
HAHAHAHAHAH! omg, youve been reading this havent you?"How to Make your own Soda Pop (GNU General Public License formula)" http://reddit.com/info/1t14u/commentsIm standing by my idea of chewable soda as a winner.And itll be chunky.
TuringPesta at 2007-7-21 21:56:49 > top of Java-index,Java Essentials,Java Programming...
# 16
I just bought my son a Thumbs Up, my daughter a Fanta, and my niece a Limca.
filestreama at 2007-7-21 21:56:49 > top of Java-index,Java Essentials,Java Programming...
# 17

> I just bought my son a Thumbs Up, my daughter a

> Fanta, and my niece a Limca.

Even with the ban? http://en.wikipedia.org/wiki/Soft_drink

<quote>

In August 2006, after a controversial new report about the presence of pesticides in soft drinks sold in India, many state governments have issued a ban of the sale of soft drinks in schools. Kerala has issued a complete ban on the sale or manufacture of soft drinks altogether. In return, the soft drink companies like Coca Cola and Pepsi have issued ads in the media regarding the safety of consumption of the drinks. Since there is yet no enforcement[citation needed] of the agreed standards by Bureau of Indian Standards, the governing body to oversee the safety levels, in soft drinks in India, it is to be seen how this situation is to be resolved.[8]

</quote>

Hippolytea at 2007-7-21 21:56:49 > top of Java-index,Java Essentials,Java Programming...
# 18
Me, I drink Qibla Cola: http://www.qibla-cola.com/index2.asp... when I can't get:[url #" style="display: block; background-image: url(' http://upload.wikimedia.org/wikipedia/en/4/4f/MeccaColaLogo.jpg'); width: 163px; height: 98px] [/url]
Hippolytea at 2007-7-21 21:56:49 > top of Java-index,Java Essentials,Java Programming...
# 19
> I have to say giving the thums down to crappy> code is a wonderful feeling. http://www.sdnshare.com/user.jsp?name=DrLaszloJamfHAHAHAHAHA. I see youre at a 6:1 ratio already.
TuringPesta at 2007-7-21 21:56:49 > top of Java-index,Java Essentials,Java Programming...
# 20
Hipp/Lasz: I did not know the ban was still in effect. Maybe I'll rethink giving them the soda.I have also edited my bio on SDNShare
filestreama at 2007-7-21 21:56:49 > top of Java-index,Java Essentials,Java Programming...
# 21
> Hipp/Lasz: I did not know the ban was still in> effect. Maybe I'll rethink giving them the soda.> > I have also edited my bio on SDNShareYou forgot to mention the rattlesnake for a necktie.
Hippolytea at 2007-7-21 21:56:49 > top of Java-index,Java Essentials,Java Programming...
# 22
> I have also edited my bio on SDNSharehaha: " i think *backwards* "
TuringPesta at 2007-7-21 21:56:49 > top of Java-index,Java Essentials,Java Programming...
# 23
The bio comes from the SubGenius brag generator. http://www.elsewhere.org/cgi-bin/brag
filestreama at 2007-7-21 21:56:49 > top of Java-index,Java Essentials,Java Programming...
# 24
Interesting.... Now I see how Monster Magnet writes their lyrics.
bsampieria at 2007-7-21 21:56:49 > top of Java-index,Java Essentials,Java Programming...
# 25
Monster Magnet! YES!
TuringPesta at 2007-7-21 21:56:49 > top of Java-index,Java Essentials,Java Programming...
# 26
Are the SDN Share guys sleeping? They still havent approved my A+ quality tech tip, lol.
TuringPesta at 2007-7-21 21:56:49 > top of Java-index,Java Essentials,Java Programming...
# 27
Probably, they haven't approved my Article either ;(I hope you guys will like it though. It's a serious article!
Dalzhima at 2007-7-21 21:56:49 > top of Java-index,Java Essentials,Java Programming...
# 28
Are you kidding Turing? After they saw your slam of my masterpiece, they ain't gonna approve anything you've done!Wait 'till you see my JPanel...Leonardo DaVinci is crying the Eiffel Tower he built isn't as good as my JPanel.
filestreama at 2007-7-21 21:56:49 > top of Java-index,Java Essentials,Java Programming...
# 29
> the fact you can't get your groceries from AmazonWhat "fact"? Sure you can get groceries from Amazon. For example: http://www.amazon.com/Chiquita-Bananas-4-5-lbs/dp/B000328OH6/ref=pd_bbs_3/105-7367292-3026043?ie=UTF8&s=gourmet-food&qid=1181076482&sr=8-3
DrClapa at 2007-7-21 21:56:49 > top of Java-index,Java Essentials,Java Programming...
# 30
WTF? http://www.amazon.com/JL421-Badonkadonk-Land-Cruiser-Tank/dp/B00067F1CE/ref=pd_sbs_gf_2/002-9470151-8928000?ie=UTF8&qid=1181076482&sr=8-3
Hippolytea at 2007-7-21 21:56:54 > top of Java-index,Java Essentials,Java Programming...
# 31

> WTF?

>

> http://www.amazon.com/JL421-Badonkadonk-Land-Cruiser-T

> ank/dp/B00067F1CE/ref=pd_sbs_gf_2/002-9470151-8928000?

> ie=UTF8&qid=1181076482&sr=8-3

Speaking of WTF:

Customers who bought items like this also bought

* Chiquita Bananas, 4.5 lbs by Chiquita

* California Green Seedless Grapes, 1 lbs by California

* '**** Bomb Bags' - Practical Joke by Loftus International by Loftus International

* Spicy Lamb Sausages - Merguez - 24 Links by Fabrique Delices

I guess they needed something to carry their groceries home in?

hunter9000a at 2007-7-21 21:56:54 > top of Java-index,Java Essentials,Java Programming...
# 32
Is that from Star Wars? Badonkadonk?!? Is it back-heavy?
bsampieria at 2007-7-21 21:56:54 > top of Java-index,Java Essentials,Java Programming...
# 33
I hope it gets here by the 8th!
lethalwirea at 2007-7-21 21:56:54 > top of Java-index,Java Essentials,Java Programming...
# 34
People also bought this: http://www.amazon.com/Inflatable-Party-Sheep-Loftus-International/dp/B00064NZ0M/ref=pd_sbs_misc_4/002-0865420-9232821?ie=UTF8&qid=1181076482&sr=8-3
filestreama at 2007-7-21 21:56:54 > top of Java-index,Java Essentials,Java Programming...
# 35
http://www.amazon.com/Cloverdale-Fresh-Whole-Rabbit/dp/B00012182G/ref=pd_sbs_gf_4_img/002-4824966-0416830?ie=UTF8&qid=1181076482&sr=8-3
Dalzhima at 2007-7-21 21:56:54 > top of Java-index,Java Essentials,Java Programming...
# 36

This SDN Share site is going to fail fast if they continue to make

people wait a whole day to post messages. The messages

should be managed by the community and we could flag spam

and advertisements.

and by the way, that fresh rabbit page made me throw up in my mouth a little, lol.

TuringPesta at 2007-7-21 21:56:54 > top of Java-index,Java Essentials,Java Programming...
# 37
> and by the way, that fresh rabbit page made me throw> up in my mouth a little, lol.What? Didn't you buy the combo they offer? It's so neat getting that fresh rabbit with some sausages!
Dalzhima at 2007-7-21 21:56:54 > top of Java-index,Java Essentials,Java Programming...
# 38
I have to say, the tastiest meat I've ever eaten was dog.
Hippolytea at 2007-7-21 21:56:54 > top of Java-index,Java Essentials,Java Programming...
# 39
I wanted to post an example of how to use the asm library to find all (non reflection) dependencies that a class has. The code is too long :(
kajbja at 2007-7-21 21:56:54 > top of Java-index,Java Essentials,Java Programming...
# 40
how long is too long?I know that the limit for the Description field is pretty short, but the content field allowed me some 500 lines of code and some text around it.
Dalzhima at 2007-7-21 21:56:54 > top of Java-index,Java Essentials,Java Programming...
# 41
> I have to say, the tastiest meat I've ever eaten was dog.My son informs me that he wouldn't go out of his way to eat pig testicles a second time.
DrClapa at 2007-7-21 21:56:54 > top of Java-index,Java Essentials,Java Programming...
# 42
> > I have to say, the tastiest meat I've ever eaten> was dog.> > My son informs me that he wouldn't go out of his way> to eat pig testicles a second time.What will you do with all those hot dogs on the BBQ?
Hippolytea at 2007-7-21 21:56:54 > top of Java-index,Java Essentials,Java Programming...
# 43

Woo Hoo. I just figured it out.

SDN SHARE sorts by "FRESHNESS" which I thought meant "how new it is" but it actually refers to some voodoo fresh rating I dont know about.

So my "article" was posted but it was immediately buried on page 6!!!

Check it out! Give me some thumbs up!

http://sdnshare.com/view.jsp?id=513

TuringPesta at 2007-7-21 21:56:54 > top of Java-index,Java Essentials,Java Programming...
# 44
something strange happens when you put a ' in there.
prob.not.sola at 2007-7-21 21:56:54 > top of Java-index,Java Essentials,Java Programming...
# 45
> something strange happens when you put a ' in there.In where, lol?
TuringPesta at 2007-7-21 21:56:59 > top of Java-index,Java Essentials,Java Programming...
# 46
My post is finally there too! http://sdnshare.com/view.jsp?id=507
Dalzhima at 2007-7-21 21:56:59 > top of Java-index,Java Essentials,Java Programming...
# 47
I left you a comment. check this out: http://www.awprofessional.com/articles/article.asp?p=20521&rl=1
TuringPesta at 2007-7-21 21:56:59 > top of Java-index,Java Essentials,Java Programming...
# 48

> how long is too long?

> I know that the limit for the Description field is

> pretty short, but the content field allowed me some

> 500 lines of code and some text around it.

I don't know. They probably had problems at that time. I have now been able to post that shows how to use asm to find dependencies between classes.

It's about 500 lines of code, but fairly simple. I hope it will be accepted :)

kajbja at 2007-7-21 21:56:59 > top of Java-index,Java Essentials,Java Programming...
# 49
I managed to drop off something as well... I was looking for my Rubber Chicken voodoo, but they seemed to have deleted that post here.
CeciNEstPasUnProgrammeura at 2007-7-21 21:56:59 > top of Java-index,Java Essentials,Java Programming...
# 50
Oh, and Kaj - one's gotta love your dot-regex article (just read the description though). :)I think I'll post a "how to read the API" article soon.
CeciNEstPasUnProgrammeura at 2007-7-21 21:56:59 > top of Java-index,Java Essentials,Java Programming...
# 51

> Oh, and Kaj - one's gotta love your dot-regex article

> (just read the description though). :)

>

> I think I'll post a "how to read the API" article

> soon.

Please do. We should also post a description on how to convert an int to a String and vice versa :)

kajbja at 2007-7-21 21:56:59 > top of Java-index,Java Essentials,Java Programming...
# 52
> I think I'll post a "how to read the API" article> soon.Someone really needs to do a 'how to use SDN Share' article.
MartinMa at 2007-7-21 21:56:59 > top of Java-index,Java Essentials,Java Programming...
# 53
> Someone really needs to do a 'how to use SDN Share'> article.You don't use it. You laugh about it. That's the trick.
CeciNEstPasUnProgrammeura at 2007-7-21 21:56:59 > top of Java-index,Java Essentials,Java Programming...
# 54

Seriously, while this of course had to lead to another geekinterview.com incarnation, I do appreciate the ability to post an article or tech tip somewhere. The problem is, whatever gem I could theoretically produce will probably get lost in lots of clutter.

I'm not nerdy enough to run yet another Java blog and posting anything here is pointless, so maybe that's a better way. One just has to care enough about it to use it.

CeciNEstPasUnProgrammeura at 2007-7-21 21:56:59 > top of Java-index,Java Essentials,Java Programming...
# 55

> Seriously, while this of course had to lead to

> another geekinterview.com incarnation, I do

> appreciate the ability to post an article or tech tip

> somewhere. The problem is, whatever gem I could

> theoretically produce will probably get lost in lots

> of clutter.

I think that that unfortunately is true. There are more beginners and bad programmers than good ones. People will probably rank a post on int->String->int higher than a post on how to analyze byte code to get dependencies :(

kajbja at 2007-7-21 21:56:59 > top of Java-index,Java Essentials,Java Programming...
# 56

> Seriously, while this of course had to lead to

> another geekinterview.com incarnation, I do

> appreciate the ability to post an article or tech tip

> somewhere. The problem is, whatever gem I could

> theoretically produce will probably get lost in lots

> of clutter.

...unless you game the system, which appears relatively simple. Your 'goodness' score appears to be four * (vote total) + 2 * (number of comments). So even the crappiest code is considered 'good' if enough people talk about it. The default post ordering is by 'freshness,' which appears to be 'goodness' minus some penalty for age. Filestream's JTable will probably stay on the front page for quite some time.

MartinMa at 2007-7-21 21:56:59 > top of Java-index,Java Essentials,Java Programming...
# 57
I think it needs more options than "cool" or "needs work".Like "please delete the pile of stinking trash". Maybe we can use tags for that, assuming user tags are public.
mlka at 2007-7-21 21:56:59 > top of Java-index,Java Essentials,Java Programming...
# 58

> I think it needs more options than "cool" or "needs

> work".

>

> Like "please delete the pile of stinking trash".

> Maybe we can use tags for that, assuming user tags

> are public.

Exactly what I wanted to do with this one:

http://sdnshare.com/view.jsp?id=241

kajbja at 2007-7-21 21:57:00 > top of Java-index,Java Essentials,Java Programming...
# 59
I just submitted something, it even has "teh codez" in it.
YoGeea at 2007-7-21 21:57:00 > top of Java-index,Java Essentials,Java Programming...
# 60
> I just submitted something, it even has "teh codez"> in it.I must give it thumbs up in that case :)
kajbja at 2007-7-21 21:57:05 > top of Java-index,Java Essentials,Java Programming...
# 61
> > I have to say, the tastiest meat I've ever eaten> was dog.> > My son informs me that he wouldn't go out of his way> to eat pig testicles a second time.Sex steroids are pretty labile when subjected to high temps.
filestreama at 2007-7-21 21:57:05 > top of Java-index,Java Essentials,Java Programming...
# 62
Alright, who are all these "sub-continental" types telling me that my JTable needs work?
filestreama at 2007-7-21 21:57:05 > top of Java-index,Java Essentials,Java Programming...
# 63
I iz 1 ov de old continent types wot finks u iz owt ov owder.
ScarletPimpernela at 2007-7-21 21:57:05 > top of Java-index,Java Essentials,Java Programming...
# 64
U hv nuhn btr t du thn dis me JTable?
filestreama at 2007-7-21 21:57:05 > top of Java-index,Java Essentials,Java Programming...
# 65
> U hv nuhn btr t du thn dis me JTable?No, lols, ha8,
ScarletPimpernela at 2007-7-21 21:57:05 > top of Java-index,Java Essentials,Java Programming...
# 66

Thanks for the tip TuringPest. I never realized that calling some private initializer methods could lead to breaking the encapsulation! Although I couldn't read your comment on the Article because the link is now broken when I try to view it... Stupid thing! Sent another mail this morning so that they fix this up...

Dalzhima at 2007-7-21 21:57:05 > top of Java-index,Java Essentials,Java Programming...
# 67
The submission counter at sdnshare is not very good. A user's counter should be updated iff a code sample/tech tip/article is accepted for posting. Not when the submission is made.
filestreama at 2007-7-21 21:57:05 > top of Java-index,Java Essentials,Java Programming...
# 68

> The submission counter at sdnshare is not very good.

> A user's counter should be updated iff a code

> sample/tech tip/article is accepted for posting.

>Not when the submission is made.

Yes, but judging by the history of these forums, that site's going to get worse before it gets better.

bsampieria at 2007-7-21 21:57:05 > top of Java-index,Java Essentials,Java Programming...
# 69
> Yes, but judging by the history of these forums, that> site's going to get worse before it gets better.This site got better?
mlka at 2007-7-21 21:57:05 > top of Java-index,Java Essentials,Java Programming...
# 70
Well, it was okay, then it was annoying cuz of stupid changes (about 1-2 years back), then it got better....That's not to say it's great. It's all relative. Still waiting for it to remember my login info.
bsampieria at 2007-7-21 21:57:05 > top of Java-index,Java Essentials,Java Programming...
# 71

An important point about SDN share posts.

Do not bother submitting "tech tips". You are better off to submit "Code Samples" or "Articles".

This has to do with how points are awarded. You get x points for the submission itself and you can collect only the same number of points in votes.

Tech tips are worth 2 points, code samples 4 and articles worth 10. The maximums (counting vote points) are then 4, 8 and 20 points.

So a tech tip with 8 votes had max-ed out with points at 4.

A code sample maxs out at 16 votes.

An article doesn't max out until 40 votes.

cotton.ma at 2007-7-21 21:57:05 > top of Java-index,Java Essentials,Java Programming...
# 72
See http://www.sdnshare.com/about/howitworks.jspAlso I don't believe that negative votes mean anything to your score.
cotton.ma at 2007-7-21 21:57:05 > top of Java-index,Java Essentials,Java Programming...
# 73

> > The submission counter at sdnshare is not very

> good.

> > A user's counter should be updated iff a code

> > sample/tech tip/article is accepted for posting.

> >Not when the submission is made.

>

> Yes, but judging by the history of these forums, that

> site's going to get worse before it gets better.

I am hoping that sdn is littered with less **** than the fora. Peter has some useful code samples, for example.

filestreama at 2007-7-21 21:57:05 > top of Java-index,Java Essentials,Java Programming...
# 74
Are we supposed to use html line breaks when submitting?Both my submission and my comment to dalzhim are just one long garbled line (whats new huh, lol?).
TuringPesta at 2007-7-21 21:57:05 > top of Java-index,Java Essentials,Java Programming...
# 75

> Are we supposed to use html line breaks when

> submitting?

> Both my submission and my comment to dalzhim are just

> one

> long garbled line (whats new huh, lol?).

I don't know what's going on.

I used tags like from here in my last post and it seemed to work better. I didn't use them in my first post and the formatting had the same issue (all one long line) but then it got fixed. I imagine an admin person went and fixed it.

cotton.ma at 2007-7-21 21:57:10 > top of Java-index,Java Essentials,Java Programming...
# 76

> > > The submission counter at sdnshare is not very

> > good.

> > > A user's counter should be updated iff a code

> > > sample/tech tip/article is accepted for posting.

> > >Not when the submission is made.

> >

> > Yes, but judging by the history of these forums,

> that

> > site's going to get worse before it gets better.

>

> I am hoping that sdn is littered with less

> **** than the fora.

"i can make in more color"

for example?

cotton.ma at 2007-7-21 21:57:10 > top of Java-index,Java Essentials,Java Programming...
# 77
cotton, thanks for that information as well as the info for that "special" Rabba store on Hurontario Street.Future submissions will be in the form of an article.
filestreama at 2007-7-21 21:57:10 > top of Java-index,Java Essentials,Java Programming...
# 78

> Are we supposed to use html line breaks when

> submitting?

> Both my submission and my comment to dalzhim are just

> one

> long garbled line (whats new huh, lol?).

Yeah there definitely is an admin going through this site a lot. When I emailed them yesterday, I was told I could use basic html tags so I used some of them such as <pre> and it was replaced by <code> during the approval process.

Anyhow, my post is now fixed and I could read and reply to your comment TuringPest! ;)

Dalzhima at 2007-7-21 21:57:10 > top of Java-index,Java Essentials,Java Programming...
# 79
>> Anyhow, my post is now fixed and I could read and reply to your comment TuringPest! ;) Ugh. I went to add a comment to my code and it totally f'd it up.< br > < pre > tags dont work in the comments at all.
TuringPesta at 2007-7-21 21:57:10 > top of Java-index,Java Essentials,Java Programming...
# 80
I can see that.The fact is that we can use html inside the original post since it is being reviewed by one of their admins, but on the comments, there's absolutely nothing....
Dalzhima at 2007-7-21 21:57:10 > top of Java-index,Java Essentials,Java Programming...
# 81
I just submitted the single most incredible article to the sdn share site.I cant wait to read everyones comments!I already know it will be a forum favorite!
TuringPesta at 2007-7-21 21:57:10 > top of Java-index,Java Essentials,Java Programming...
# 82
> I just submitted the single most incredible article> to the sdn share site.> I cant wait to read everyones comments!> I already know it will be a forum favorite!Post a link here. I've already lost patience sifting through all the articles.
Hippolytea at 2007-7-21 21:57:10 > top of Java-index,Java Essentials,Java Programming...
# 83
Im pending approval, lol. What a chore...
TuringPesta at 2007-7-21 21:57:10 > top of Java-index,Java Essentials,Java Programming...
# 84
The approval process takes somewhere between 1 h and 36 h, I think. ;-)
filestreama at 2007-7-21 21:57:10 > top of Java-index,Java Essentials,Java Programming...
# 85

> > > > The submission counter at sdnshare is not very

> > > good.

> > > > A user's counter should be updated iff a code

> > > > sample/tech tip/article is accepted for

> posting.

> > > >Not when the submission is made.

> > >

> > > Yes, but judging by the history of these forums,

> > that

> > > site's going to get worse before it gets better.

> >

> > I am hoping that sdn is littered with less

> > **** than the fora.

>

> "i can make in more color"

>

> for example?

Exactamundo

filestreama at 2007-7-21 21:57:10 > top of Java-index,Java Essentials,Java Programming...
# 86

>> The approval process takes somewhere between 1 h and 36 h, I think. ;-)

Really, lol?

In that case I will post my submission here.

ENJOY!

THE OMNISCIENT UNIVERSAL ANSWER MACHINE

Before visiting http://forum.java.sun.com/index.jspa for the answers to

your panoply of questions pause and consult this Universal Answer

Machine. Im not exactly sure how it works. Somehow the underlying

bytecode that is created when this is compiled is able to tap into some

esoteric universal consciousness. Try it out. I am sure it will live up to

my claims. (Note: for non-windows users, edit the browserLoc value)

import java.util.Scanner;

public class UniversalAnswerMachine{

public static void main(String[] args){

System.out.print("Ask the Genie Your Question: ");

Scanner inputer = new Scanner(System.in);

String question = inputer.nextLine();

question = question.replaceAll("[^a-zA-Z0-9\\s]+", "");

question = question.replaceAll("\\s+", "+");

String browserLoc = "\"C:/Program Files/Internet Explorer/iexplore.exe\"";

String googleURL = "http://www.google.com/search?hl=en&q=" + question;

try{

Runtime runtime = Runtime.getRuntime();

Process process = runtime.exec(browserLoc + " " + googleURL);

} catch(Exception e){}

}

}

On second look, I should have added a cool filtering method to weed

out words like "the", "a" etc. Also "." should be kept as a character.

TuringPesta at 2007-7-21 21:57:10 > top of Java-index,Java Essentials,Java Programming...
# 87

> >> The approval process takes somewhere between 1 h

> and 36 h, I think. ;-)

>

> Really, lol?

> In that case I will post my submission here.

>

> ENJOY!

>

>

>

> THE OMNISCIENT UNIVERSAL ANSWER MACHINE

>

>

>

> On second look, I should have added a cool filtering

> method to weed

> out words like "the", "a" etc. Also "." should be

> kept as a character.

Also don't swallow exceptions- print out a stack trace.

filestreama at 2007-7-21 21:57:10 > top of Java-index,Java Essentials,Java Programming...
# 88

> >> The approval process takes somewhere between 1 h

> and 36 h, I think. ;-)

>

> Really, lol?

> In that case I will post my submission here.

>

> ENJOY!

Needs more work :)

You can use java 6 to launch the default browser, and it will work on all platforms.

kajbja at 2007-7-21 21:57:10 > top of Java-index,Java Essentials,Java Programming...
# 89
>> Also don't swallow exceptions- print out a stack trace. >> Needs more work :)well, ok. the day anyone ever uses that program for anythingill take that into consideration, lol : )
TuringPesta at 2007-7-21 21:57:10 > top of Java-index,Java Essentials,Java Programming...
# 90
Hurray, they accepted my long post http://www.sdnshare.com/view.jsp?id=521(But I doubt that anyone will use that ever :)
kajbja at 2007-7-21 21:57:15 > top of Java-index,Java Essentials,Java Programming...
# 91
I believe they accepted it sometime after lunch, Copenhagen time. :-)
filestreama at 2007-7-21 21:57:15 > top of Java-index,Java Essentials,Java Programming...
# 92
> I believe they accepted it sometime after lunch,> Copenhagen time. :-)I was surprised over the fact that they were working on a holiday but then I remembered that it's a national holiday here in Sweden :)
kajbja at 2007-7-21 21:57:15 > top of Java-index,Java Essentials,Java Programming...
# 93

> and by the way, that fresh rabbit page made me throw up in my mouth a little, lol.

You've never eaten rabbit? What about guinea pig?

> You can use java 6 to launch the default browser, and it will work on all platforms.

Not all platforms have a concept of "default browser". In fact, not all platforms have a browser.

YAT_Archivista at 2007-7-21 21:57:15 > top of Java-index,Java Essentials,Java Programming...
# 94

> Not all platforms have a concept of "default

> browser". In fact, not all platforms have a

> browser.

YAT, if you dont upgrade your Commodore to comply with [url=http://en.wikipedia.org/wiki/Zawinski's_law_of_software_envelopment]zawinski's law[/url] we will have to take it away from you.

TuringPesta at 2007-7-21 21:57:15 > top of Java-index,Java Essentials,Java Programming...
# 95
>> You've never eaten rabbit?I was raised in a Greek family so I suppose it is possible.
TuringPesta at 2007-7-21 21:57:15 > top of Java-index,Java Essentials,Java Programming...
# 96
> Not all platforms have a concept of "default> browser". In fact, not all platforms have a> browser.Correct I was a bit narrow minded :)All platforms that have a browser (the code wouldn't work without one)
kajbja at 2007-7-21 21:57:15 > top of Java-index,Java Essentials,Java Programming...
# 97
ITS UP! http://www.sdnshare.com/view.jsp?id=527
TuringPesta at 2007-7-21 21:57:15 > top of Java-index,Java Essentials,Java Programming...
# 98
My first two posts- http://www.sdnshare.com/view.jsp?id=532 http://www.sdnshare.com/view.jsp?id=533
qUesT_foR_knOwLeDgea at 2007-7-21 21:57:15 > top of Java-index,Java Essentials,Java Programming...
# 99
Ooooh, this topic is still alive!
Dalzhima at 2007-7-21 21:57:15 > top of Java-index,Java Essentials,Java Programming...
# 100
> Ooooh, this topic is still alive!That's because no foul language has been used. ;-) Start dropping the eff-bomb and poof! It will be trimmed or deleted.
filestreama at 2007-7-21 21:57:15 > top of Java-index,Java Essentials,Java Programming...
# 101
> > Ooooh, this topic is still alive!> > That's because no foul language has been used. ;-)> Start dropping the eff-bomb and poof! It will be> trimmed or deleted.I feel like an eff-ing monkey in a lab cage :-).
kevjavaa at 2007-7-21 21:57:15 > top of Java-index,Java Essentials,Java Programming...
# 102
clever, but don't eff around with me!
Dalzhima at 2007-7-21 21:57:15 > top of Java-index,Java Essentials,Java Programming...