Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Welcome to Programming Diversions!

 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This message is really from Jason Menard, but I'm reposting it after accidentally deleting the original.
----------
Welcome to Programming Diversions! This is a place to come to in order to have some fun and to flex a bit of the ol' grey matter. In this forum you will find progamming challenges and puzzles of various difficulty that you can solve, or better yet, post your own! You will benefit not only by attempting these yourself, but also by seeing how your fellow programmer attacks these problems.
We're not always looking for the best way to solve a certain problem, but rather how you would solve the problem. The idea is to think and excercise our problem solving skills. Along the way hopefully we'll spark up some lively conversation about the different methods used to tackle a particular problem.
This would also be the place to talk about many of those "How do you do such-and-such?", or "What's the best way to do such-and-such?" questions. Additionally, we will begin putting a monthly puzzle challenge in the newsletter, and these will also be found in this forum.
Here are the general do's and dont's for this forum:
1. Don't post your homework problems here hoping others will do it for you. These posts will be closed immediately.
2. We suggest people try to solving these problems on their own, and multiple solutions are welcome. We also encourage people to discuss and debate solutions that may be found elsewhere on the Internet, but you should provide a link to the original source.
3. When posting code, use UBB CODE tags. This is a courtesy to those who will be reading your code. HINT: As the UBB CODE tags suppress blank lines, to simulate a blank line, hit [space], then enter.
4. When posting code, if there's something in your code that's either tricky to follow or in some way noteworthy, help everyone out by commenting it.
5. In general, try to solve the problems only using the Sun APIs unless otherwise stated. It never hurts to highlight when a third-party API might be better suited for the job, however.
Now all that's left to do is mosy on over, put on your ten-gallon thinking cap, and let's have some fun!
[ June 02, 2003: Message edited by: Jason Menard ]
 
R K Singh
Ranch Hand
Posts: 5384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
font size does not work and UBB code's small letters sucks.
What to do ??
 
Marilyn de Queiroz
Sheriff
Posts: 9066
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you use a different browser (like Opera or Mozilla) the font size doesn't change inside the code tags. It seems that only IE does that.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The settings for this forum disallow HTML, just as they do for most of the other forums in JavaRanch - that way, if you type programs with symbols like < or > etc. they get displayed correctly without you having to change them around. (Um, most of the time.) In a few forums (like MD) we allow HTML because it's more fun, and few programs are posted to MD. But I think disallowing HTML is best for this forum.
I always just use [code] blocks for code. It's true that the default font sizes on most browsers may be too small. This can be fixed as follows:
Mozilla: Edit -> Preferences -> Appearance -> Fonts -> Monospace -> (increase font size as desired)
Opera: Hmmm, I can't figure out how to adjust it, but the size is just right anyway. (I see where the font controls are, I just can't get them to change anything. Oh well.)
IE: Get a better browser. Failing that, View -> Text size -> Larger (or whatever). Yes, this makes other text larger as well. But at least it's readable...
[ May 31, 2003: Message edited by: Jim Yingst ]
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome all to Programming Diversions!
If anyone is interested in the genesis of this forum, it actually goes back a year. Check out the orignial thread if you want to wax nostalgic.
Hopefully we'll meet our objective and this will become a place to have some fun. Enjoy!
[ May 31, 2003: Message edited by: Jason Menard ]
 
R K Singh
Ranch Hand
Posts: 5384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jim Yingst:
IE: Get a better browser. Failing that, View -> Text size -> Larger (or whatever). Yes, this makes other text larger as well. But at least it's readable...

I do this only .. changing text sizes to read normal post and then code
But a lazy person like me would prefer to allow HTML tags as very much possible that most of us will be posting code which will be lengthy.
Cant HTML tags be enabled in this forum ?
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We could turn on HTML here, but I really think it makes posting code harder. Try posting something like this here, and then try it in MD:

You'll find that the forum with HTML enabled gives you more problems. Imagine that you're dealing with a much longer piece of code, and I think you'll agree no HTML is better for our purposes here.
Now, go back and delete your test posts. We don't need everyone filling up the forums with that stuff.
[ May 31, 2003: Message edited by: Jim Yingst ]
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As Jim stated, since this is a forum where code will be posted often, the better of the two solutions is to disable HTML. While I agree regarding the UBB [ CODE] limitations, it is easier to work around than the limitation with posting certain characters. Additionally, it is possible that some puzzles/solutions in this forum may require HTML code to be posted.
 
R K Singh
Ranch Hand
Posts: 5384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry for bugging ...
but how come Map's post is working with html code???
I tried again to my test post .. but
OK OK ... I will delete it once I know the secret of Map's post
 
John Lee
Ranch Hand
Posts: 2545
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot!
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ravish Kumar:
sorry for bugging ...
but how come Map's post is working with html code???
I tried again to my test post .. but
OK OK ... I will delete it once I know the secret of Map's post

It was moved from another forum. Check the date.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic