Go Back  Xtreme Visual Basic Talk > General Discussion > Tech Discussions > May Coding Challenge - Alarm Clock Questions/Entries


Reply
 
Thread Tools Display Modes
  #1  
Old 05-02-2003, 05:04 PM
John's Avatar
John John is offline
Bit Flipper
 
Join Date: Feb 2002
Location: The Inner Loop
Posts: 5,550
Default May Coding Challenge - Alarm Clock

Here is a link to this month's challenege

Post any questions you may have about the challenge itself, as well as your entries once you have completed your project and you are satisfied with the way it is.

Have Fun!
__________________
Subclassing|Magnetic Forms|Operator Overloading (VB2K5)|QuickSnip.NET

"These Patriot playoff wins are like Ray Charles songs, Nantucket sunsets, and hot fudge sundaes. Each one is better than the last." - Dan Shaughnessy

Last edited by Orbity; 05-02-2003 at 05:14 PM.
Reply With Quote
  #2  
Old 05-03-2003, 07:40 PM
excaliber's Avatar
excaliber excaliber is offline
Senior Contributor

* Expert *
 
Join Date: Nov 2002
Location: Ohio, USA
Posts: 1,828
Default

How is it going to be "judged"? I know its not a competition, but i was wondering if there was going to be a ranking system, like the maze challenge. Then again, the maze lent itself to ranking, where this doesnt really. Just wondering.
__________________
RandomIRC - Your neighborhood's friendly IRC channel (irc.randomirc.com - #code)

"Perl - The only language that looks the same before and after RSA encryption."
Reply With Quote
  #3  
Old 05-03-2003, 07:43 PM
Twan Twan is offline
Contributor
 
Join Date: Apr 2003
Posts: 627
Default

I just finished mine! Yay! I'm the first one done! OK, well here it is. No EXE's from me. This month was QUITE simple. It was fun. Well, I'll stop chatting and let you get this.
Attached Files
File Type: zip AlarmClock.zip (3.3 KB, 69 views)

Last edited by Skateboarder; 05-04-2003 at 12:45 AM. Reason: Forgot my variables module. Sorry.
Reply With Quote
  #4  
Old 05-03-2003, 08:13 PM
pnklphnts's Avatar
pnklphnts pnklphnts is offline
Junior Contributor
 
Join Date: Feb 2003
Location: University Place, WA
Posts: 274
Default

Skateboarder you forgot ur varibles module. Please re-upload it with it in it so i can check ur project out
__________________
"Punk rock is freedom" -Kurt Cobian
My Current game Project Black Sun
Reply With Quote
  #5  
Old 05-04-2003, 01:18 PM
Squidge Squidge is offline
Restricted
 
Join Date: Mar 2003
Location: Manchester! England!
Posts: 872
Default

ok people my progect is here hope you all enjoy it and any bugs or anything please tell me :-)
Attached Files
File Type: zip Squidge coding challenge.zip (5.8 KB, 43 views)
Reply With Quote
  #6  
Old 05-04-2003, 01:51 PM
John's Avatar
John John is offline
Bit Flipper
 
Join Date: Feb 2002
Location: The Inner Loop
Posts: 5,550
Default

Quote:
Originally Posted by excaliber
How is it going to be "judged"? I know its not a competition, but i was wondering if there was going to be a ranking system, like the maze challenge. Then again, the maze lent itself to ranking, where this doesnt really. Just wondering.


As indicated in the announcement, there is no judging. Some people may leave some feedback in here letting you know what they think of your program.

The most important thing is to challenge yourself. Take the basic idea that we present to you and run with it. Start to think of new and interesting things you can add to the program and be creative. This is also to give people something interesting to do with their spare time and an opportunity to show their programming skills to the everyone else.
__________________
Subclassing|Magnetic Forms|Operator Overloading (VB2K5)|QuickSnip.NET

"These Patriot playoff wins are like Ray Charles songs, Nantucket sunsets, and hot fudge sundaes. Each one is better than the last." - Dan Shaughnessy
Reply With Quote
  #7  
Old 05-04-2003, 02:05 PM
John's Avatar
John John is offline
Bit Flipper
 
Join Date: Feb 2002
Location: The Inner Loop
Posts: 5,550
Default

Quote:
Originally Posted by Skateboarder
I just finished mine! Yay! I'm the first one done! OK, well here it is. No EXE's from me. This month was QUITE simple. It was fun. Well, I'll stop chatting and let you get this.


If it was so simple then why doesn't your entry work, why can't I specify something like 13:55, etc...

Squidge: I couldn't get yours to work either. How do you set it to go off at something like 5:00 pm?

You guys shouldn't be treating this as a race, instead you should be concentrating on challenging yourself as well as making a fully functional program, with comments, and what you would consider to be a nice interface.
__________________
Subclassing|Magnetic Forms|Operator Overloading (VB2K5)|QuickSnip.NET

"These Patriot playoff wins are like Ray Charles songs, Nantucket sunsets, and hot fudge sundaes. Each one is better than the last." - Dan Shaughnessy
Reply With Quote
  #8  
Old 05-04-2003, 03:01 PM
Squidge Squidge is offline
Restricted
 
Join Date: Mar 2003
Location: Manchester! England!
Posts: 872
Default

what everyone think of mine?
Reply With Quote
  #9  
Old 05-04-2003, 03:17 PM
alp0001's Avatar
alp0001 alp0001 is offline
Xtreme Tester

Retired Moderator
* Expert *
 
Join Date: Jan 2002
Location: Round Lake Heights, IL
Posts: 2,816
Default

Quote:
Originally Posted by Squidge
what everyone think of mine?


Wait until the contest is over to ask...this is pretty early and I generally don't try any until the contest is over (in case there are fixes).
__________________
Avatar by the very talented member: lebb
Reply With Quote
  #10  
Old 05-04-2003, 03:20 PM
Squidge Squidge is offline
Restricted
 
Join Date: Mar 2003
Location: Manchester! England!
Posts: 872
Default

orbity i thought it was vry simple but anyways here another one and i certainly aint rushed it trust

Last edited by Squidge; 05-04-2003 at 03:47 PM.
Reply With Quote
  #11  
Old 05-04-2003, 03:50 PM
John's Avatar
John John is offline
Bit Flipper
 
Join Date: Feb 2002
Location: The Inner Loop
Posts: 5,550
Default

You didn't rush it? I find that a little difficult to believe because of the following reasons:
  • it doesn't work, not with any of the three alarm types
  • The form looks like the following:
    Alarm Set for - sound
    Type of alarm - 17:43:00
  • the am/pm part of the label is only partially visible
  • when exiting the application it doesn't close all the forms and therefore stays open
  • no Option Explicit in Form2
  • I didn't find a single control which had a meaningful name (IE: lblTime instead of Label1)
  • There is one comment in the whole thing, and it is to tell us who wrote it
Being as it has this many problems, I stopped looking at it right there.

I am glad to see people posting their projects early in the month, that shows me it was a good idea and that people are interested in it. I only as that they put some effort into making it work correctly, look decent, and have the code documented.
__________________
Subclassing|Magnetic Forms|Operator Overloading (VB2K5)|QuickSnip.NET

"These Patriot playoff wins are like Ray Charles songs, Nantucket sunsets, and hot fudge sundaes. Each one is better than the last." - Dan Shaughnessy
Reply With Quote
  #12  
Old 05-04-2003, 03:52 PM
Squidge Squidge is offline
Restricted
 
Join Date: Mar 2003
Location: Manchester! England!
Posts: 872
Default

OK GUYS FIXED A FEW THINGS ANYTHING MORE PLEASE DONT HESITATE TO ASK


* removed bug where you could enter any number for the hours
* added more instructions to make it simpler

thanks
Reply With Quote
  #13  
Old 05-04-2003, 03:52 PM
John's Avatar
John John is offline
Bit Flipper
 
Join Date: Feb 2002
Location: The Inner Loop
Posts: 5,550
Default

Quote:
Originally Posted by alp0001
Quote:
Originally Posted by Squidge
what everyone think of mine?


Wait until the contest is over to ask...this is pretty early and I generally don't try any until the contest is over (in case there are fixes).


No you don't need to wait until the challenge is over. Feel free to download any of the entries you find and leave feedback for the people who wrote them. This is one of the differences between a contest and a challenge. Leaving feedback for people will also make it more likely for them to try another a future challenge.
__________________
Subclassing|Magnetic Forms|Operator Overloading (VB2K5)|QuickSnip.NET

"These Patriot playoff wins are like Ray Charles songs, Nantucket sunsets, and hot fudge sundaes. Each one is better than the last." - Dan Shaughnessy
Reply With Quote
  #14  
Old 05-04-2003, 03:54 PM
Squidge Squidge is offline
Restricted
 
Join Date: Mar 2003
Location: Manchester! England!
Posts: 872
Default

i feel what you said there orbity was totally wrong, i'm sorry but u might not think it but work has gone into that progect and the things you have said dont exist its a 24 hour clock so how can there be an am/pm

The form looks like the following:
Alarm Set for - sound
Type of alarm - 17:43:00

that also is wrong

might not think it orbity but were not all as good as you are i put a good effort into that

ps - i thought the idea is so you can give us feeback tell us where we have gone wrong etc
Attached Files
File Type: zip Squidge coding challenge.zip (6.1 KB, 38 views)
Reply With Quote
  #15  
Old 05-04-2003, 03:54 PM
chris00's Avatar
chris00 chris00 is offline
 
Join Date: Mar 2002
Location: Ohio, USA
Posts: 1,552
Default

I should enter this month (forgot to finish last months), should be pretty easy considering the only thing that can wake me up every morning is my VB alarm clock app going off playing the sounds of explosions from some FPS game.
__________________
Chris
Reply With Quote
  #16  
Old 05-04-2003, 04:00 PM
John's Avatar
John John is offline
Bit Flipper
 
Join Date: Feb 2002
Location: The Inner Loop
Posts: 5,550
Default

Quote:
Originally Posted by Squidge
i feel what you said there orbity was totally wrong, i'm sorry but u might not think it but work has gone into that progect and the things you have said dont exist its a 24 hour clock so how can there be an am/pm

The form looks like the following:
Alarm Set for - sound
Type of alarm - 17:43:00

that also is wrong

might not think it orbity but were not all as good as you are i put a good effort into that

ps - i thought the idea is so you can give us feeback tell us where we have gone wrong etc


I will let the screen shot speak for itself. See attached.

I am in no way trying to put you down as indicated in the reply to the pm you sent me. Please refer to it for further explination.

Regarding your PS: That is exactly what I was doing, I'm sorry if you felt I was putting you down, that was not my intention.
Attached Images
File Type: jpg Squidge-Screenshot.jpg (35.8 KB, 89 views)
__________________
Subclassing|Magnetic Forms|Operator Overloading (VB2K5)|QuickSnip.NET

"These Patriot playoff wins are like Ray Charles songs, Nantucket sunsets, and hot fudge sundaes. Each one is better than the last." - Dan Shaughnessy
Reply With Quote
  #17  
Old 05-04-2003, 04:02 PM
Squidge Squidge is offline
Restricted
 
Join Date: Mar 2003
Location: Manchester! England!
Posts: 872
Default

ok, so i made a mistake got textbox 1 and 2 mixed up so thats the idea of this you give me feedback, i apologise for this and didnt notice it it has now been fixed
Reply With Quote
  #18  
Old 05-04-2003, 04:04 PM
alp0001's Avatar
alp0001 alp0001 is offline
Xtreme Tester

Retired Moderator
* Expert *
 
Join Date: Jan 2002
Location: Round Lake Heights, IL
Posts: 2,816
Default

Orbity: I keep forgetting that its not a contest (doh). Anyway, the reason why I said that is because most of the time, someone will respond to the errors way before the challenge is over (you provide a nice example). If there are no errors and the coder hasn't heard a response (thus asks), than others (such as myself) will generally comment on it saying what they liked/disliked.
__________________
Avatar by the very talented member: lebb

Last edited by lebb; 05-10-2003 at 09:47 AM. Reason: Revised wording per alp0001's request
Reply With Quote
  #19  
Old 05-04-2003, 04:04 PM
Squidge Squidge is offline
Restricted
 
Join Date: Mar 2003
Location: Manchester! England!
Posts: 872
Default

something i have just noticed which i dont think i will be able to fix orbity what system are you running on? cause on mine i dont have the am/pm its just set to 24 hour clock
Reply With Quote
  #20  
Old 05-04-2003, 04:07 PM
John's Avatar
John John is offline
Bit Flipper
 
Join Date: Feb 2002
Location: The Inner Loop
Posts: 5,550
Default

I'm on win2k and the am/pm thing as you can slightly see in the screenshot is almost completely covered by other controls.

Don't forget the other problems I mentioned too, especially the one with the program not closing completely (that is pretty easy to fix but could cause severe problems).
__________________
Subclassing|Magnetic Forms|Operator Overloading (VB2K5)|QuickSnip.NET

"These Patriot playoff wins are like Ray Charles songs, Nantucket sunsets, and hot fudge sundaes. Each one is better than the last." - Dan Shaughnessy
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
May Coding Challenge John Announcements 0 05-02-2003 05:03 PM
April Coding Challenge! lebb Announcements 0 03-31-2003 03:03 PM
Alarm Clock Jerry Shane General 2 04-23-2002 06:33 AM
Alarm Clock with snooze button MickyH General 1 12-03-2001 11:04 AM

Advertisement:

Powered by liquidweb