Older Contests
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP ContestsOlder Contests

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old June 9th, 2002, 06:01 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
Fun challenge vs. trivial hard work

I realise, that I might not be the typical visotor to this site. I have been using PHP profesionally for around four years. Still there are many aspects I've never got around to, since work is mostly repetition.

I did not participate in last contenst and will not participate in this one for the following two reasons:

:::1:::

If I enter a contest, I want to win or lose to a superior opponent. Losing to an inferior opponent because the judge has a thing for pink makes me quite agitated.

Presentation is an important part of web and PHP is a web language. However, judging on presentation makes is a designer contest -- not a coding contest.

Speed is also an important part of web. But a 300% performance boost is irrelevant if the page takes under one second to load. A 10% performance boost is however very relevant if the entire operation takes hours.

Which brings be down to the most important factor: Code design and readability. If the code nothing but command after command in a murky pool or is it well laid out, well commented, well organised in objects and will it be possible to further develop the code in 6 months.


::::2::::

If I enter a contest, I want to learn from the experience. I don't want to reaffirm my skills by coding something I know will succeed. That would be nothing more than har trivial work. I want a real challenge that requires research, thinking and finally coding.

A few suggestions:

- MP3 statistics: Find all MP3 files on the harddrive and display statistics such as total playing time and average bit rate. This is somewhat easy with tagless constant bitrate files, but requires a lot more work when tags are present and variable bitrate.

- Simple 3D render: One source of light, any number of primitive 3D objects (box, pyramid and sphere).

Reply With Quote
  #2  
Old June 9th, 2002, 06:28 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Fun challenge vs. trivial hard work

---continued---

sorry for posting annoynously.
My name is Allan Hansen and I work as a software developer in Copenhagen, Denmark.

Reply With Quote
  #3  
Old June 9th, 2002, 07:35 PM
Guido Guido is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Singapore
Posts: 17 Guido User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Fun challenge vs. trivial hard work

few weeks ago when I learned about file and directory handling, I told my self to experiment with my own harddisk. And it was just exactly like you said, I was searching all my music files using php script, and then automatically convert them to MySQL database. But I had no idea how to obtain the mp3 information such as playing time, bit rate, etc. So I just had the file size. Any idea? (ups, sorry Matt, I guess my reply already goes beyond PHP Coding Contest).

Reply With Quote
  #4  
Old June 9th, 2002, 08:09 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: RE: Fun challenge vs. trivial hard work


Quote:
But I had no idea how to obtain the mp3 information such as playing time, bit rate, etc. So I just had the file size. Any idea?


Technical information about MP3 files:
http://www.id3.org/mp3frame.html

PHP example that calculates playing time, bitrate and more. Works only with MP3 files without tags and constant bit rate. If variable bitrate is used, you'll have to read through the entire file...

/Allan Hansen

Reply With Quote
  #5  
Old June 9th, 2002, 08:10 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: RE: Fun challenge vs. trivial hard work


Quote:
But I had no idea how to obtain the mp3 information such as playing time, bit rate, etc. So I just had the file size. Any idea?


Forgot the last link:
http://www.phazer.dk/php/?dn=mpeg.php

Reply With Quote
  #6  
Old June 9th, 2002, 08:39 PM
Guido Guido is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Singapore
Posts: 17 Guido User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Fun challenge vs. trivial hard work

Thanks for the links, though I don't really understand the article. Bad learner

Reply With Quote
  #7  
Old June 9th, 2002, 09:02 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Fun challenge vs. trivial hard work

Quote:
Presentation is an important part of web and PHP is a web language. However, judging on presentation makes is a designer contest -- not a coding contest.


The exact reason I probably wont enter this one.. Writing the parser was fun, although my *cough* display abilities aren't exactly up to the challenge.

-r

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsOlder Contests > Fun challenge vs. trivial hard work


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway