PDA

View Full Version : No challenge?



Wybiral
March 2nd, 2007, 05:34 PM
The weekly programming challenge has disappeared!!!

Will someone step up and post one for this week?

Mr. C.
March 2nd, 2007, 07:23 PM
Here's one: Using "sed" only, write a sed script that recognizes palindromes, and outputs True if the scripts input is a palindrome.

Wybiral
March 2nd, 2007, 07:28 PM
We've already had a palindrome challenge. Also, I think they are best if they aren't restricted to one language.

Any other ideas?

Mr. C.
March 2nd, 2007, 07:32 PM
Real-life challenges often require one to consider how to use a given tool, with given constraints.

You asked for a challenge - I challenged you, and you declined. Fair enough.

I've heard a Blues song before too, but that doesn't mean one like it is unworthy.

I'm sure someone will stand up to the challenge.

Wybiral
March 2nd, 2007, 07:41 PM
Real-life challenges often require one to consider how to use a given tool, with given constraints.

You asked for a challenge - I challenged you, and you declined. Fair enough.

I've heard a Blues song before too, but that doesn't mean one like it is unworthy.

I'm sure someone will stand up to the challenge.

Ok...

I mean, you can post any challenge you want, it's a free forum.

I'm just saying that a challenge to write a program that "recognizes palindromes" has already been one of the weekly challenges.

Mr. C.
March 2nd, 2007, 07:45 PM
You'll find that pretty much every problem imaginable has been attempted or consider. In the end, computer science is often about doing the same problems over and over and over, all within a set of constraints.

Why don't you instead say *specifically* what type of problem will satisfy *you*.

Wybiral
March 2nd, 2007, 07:50 PM
You'll find that pretty much every problem imaginable has been attempted or consider. In the end, computer science is often about doing the same problems over and over and over, all within a set of constraints.

Why don't you instead say *specifically* what type of problem will satisfy *you*.

I'm not talking about *me*, I don't really care... If you want to post this weeks challenge, then post it. I was just informing you that the palindrome detector was one of the first weekly challenges in case you missed it.

There's no need to get all metaphorical about computer science, this isn't computer science... It's a weekly programming challenge and they are supposed to be fun.

I only mentioned that in case you missed that challenge and you seem offended.

Mr. C.
March 2nd, 2007, 08:05 PM
You've missed the point. *You* asked for something non-specific, but weren't satisfied with what you received, and still decide not to share what *you* want.

"What do you want?"
"Hmmm, anything..."
"Like this ?..."
"No, not that..."
"Like what?..."
"Just not like that..."

sigh.

Wybiral
March 2nd, 2007, 08:16 PM
I'm not asking for a personal challenge for *me*

I was just pointing out that the programming challenges had disappeared and was wondering if anyone had any ideas to post one for this week.

http://ubuntuforums.org/showthread.php?t=323609
http://ubuntuforums.org/showthread.php?t=327334
http://ubuntuforums.org/showthread.php?t=332701
http://ubuntuforums.org/showthread.php?t=337229
http://ubuntuforums.org/showthread.php?t=341652
http://ubuntuforums.org/showthread.php?t=346638
http://ubuntuforums.org/showthread.php?t=351440

I'm not saying that yours wasn't a good idea or anything, just that the palindrome idea has already been done.

Mr. C.
March 2nd, 2007, 08:34 PM
I'm not asking for a personal challenge for *me*

... but you're the only one expressing your desire for a different problem. Please don't speak for others.

The problem isn't a "palindrome" one per-se; rather, its more akin to solving a problem in a machine language with restricted registers. Who cares what the title is.

For anyone who's interested, this is a non-trivial problem.

Alasdair
March 2nd, 2007, 08:44 PM
What about writing a program in any high level language to perform pattern matching? for example "ab*|abc*" would match ab, abbb, abc abcc and any other number of possibilities. Similar to Regular Expressions, but not as complex.

Might make for an interesting challenge perhaps?

Ragazzo
March 2nd, 2007, 08:56 PM
... but you're the only one expressing your desire for a different problem. Please don't speak for others.

He can speak for me.... If there was a challenge about palindromes a while back, it's not really a challenge if people remember the best solutions presented then ;)

Wybiral
March 2nd, 2007, 09:04 PM
Myself:

We've already had a palindrome challenge. Also, I think they are best if they aren't restricted to one language.

Any other ideas?


I never said not to... Post that challenge if you want. I just said that it's been done... I personally don't see the point in repeating the same challenges.

As far as the language thing "Also, I think they are best..."

Thats an opinion. My opinion.

Look... I am not governing the challenge, anyone can post anything they'd like. I just think it would be cool if they started up again.

But all I meant was that the palindrome challenge has been done, it was one of the first ones. I just said it in case you missed that one.

yaaarrrgg
March 2nd, 2007, 10:12 PM
Write a program that creates a maze in ascii (or graphically if you want to get fancy).

For instance you might call the program like:



maze [width] [height]


and this prints out a ascii maze (with only one soluton of course). This should not be too hard given the correct approach.

Greykrrr
March 3rd, 2007, 01:32 AM
Write a program that creates a maze in ascii (or graphically if you want to get fancy).

For instance you might call the program like:



maze [width] [height]


and this prints out a ascii maze (with only one soluton of course). This should not be too hard given the correct approach.

Now that looks like an interesting challenge. I'm sorry I've missed out on the last few challenges as I've begun studying again but I would give my thumbs up to this one and may even give it a shot provided I could find the time :)

But.. it would deserve it's own thread to make it kind of official...