Omnimaga

Calculator Community => Contests => Community Contests => Topic started by: JWinslow23 on October 12, 2014, 12:08:00 pm

Title: [ENDED] Code Golf Contest #13: A Picture's Worth 140 Chars
Post by: JWinslow23 on October 12, 2014, 12:08:00 pm
May luck be with us.

NEXT: Here (http://webdesignledger.com/wp-content/uploads/2009/10/404/25.jpg)
PREVIOUS: Here (http://www.omnimaga.org/other-calculator-discussion-and-news/code-golf-contest-12)

Challenge 13: A Picture's Worth 140 Characters

Problem

Twitter has just disabled their picture upload system! You accept the change, but still want to tweet pictures to everyone. But how are you going to do that? By image compression, of course!

Your mission, if you choose to accept it, is to write two programs (both counting towards your size): one that takes a .png file as input and outputs a compressed version in a string that is 140 characters or less, and one that takes that string and converts it back to a .png file. The converted image must at least be recognizable. You may use any character set, so long as it can be tweeted. Test images will be uploaded later.

Deadline
October 26, 2014, 1:00 AM EST

If any further clarification is needed, contact me. I will try to make you get the picture. :P

N/A
RankUserSizeDateCode
1N/AN/AN/A

Language Ranking
RankLangUserSizeDateCode
1N/AN/AN/AN/A
Title: Re: Code Golf Contest #13
Post by: Juju on October 12, 2014, 12:14:49 pm
Hmm. Something that compresses a whole image to 140 bytes. Unless your image is small that might be impossible.
Title: Re: Code Golf Contest #13
Post by: JWinslow23 on October 12, 2014, 12:37:06 pm
Hmm. Something that compresses a whole image to 140 bytes. Unless your image is small that might be impossible.
Umm...Actually, we're not compressing a whole image. You can reduce the quality before compressing. :P Or turn it into polygon shapes. :P
Title: Re: Code Golf Contest #13
Post by: pimathbrainiac on October 12, 2014, 12:57:02 pm
That pun, though ;D

In all seriousness, I think this will be a challenge in C, but not so much in Java. Time to gogogogogo!
Title: Re: Code Golf Contest #13
Post by: JWinslow23 on October 14, 2014, 05:49:32 pm
Bump.

Remember, you can lower the quality of the image, use CJK and emoji, etc.
Title: Re: Code Golf Contest #13
Post by: Runer112 on October 15, 2014, 04:10:22 pm
The quality of the compressed image should be an important scoring metric, but it cannot really be quantified according to a formula. I'm familiar with this kind of contest being categorized as a "popularity contest" rather than a code golf contest. If you really do want to run with this contest idea, you might need to re-evaluate how scoring is done.

Also, this contest has basically be done before on another site, only with the requirement that the 140 characters be printable ASCII (0x20-0x7E).
Title: Re: Code Golf Contest #13: A Picture's Worth 140 Chars
Post by: JWinslow23 on October 16, 2014, 04:21:14 pm
The quality of the compressed image should be an important scoring metric, but it cannot really be quantified according to a formula. I'm familiar with this kind of contest being categorized as a "popularity contest" rather than a code golf contest. If you really do want to run with this contest idea, you might need to re-evaluate how scoring is done.

Also, this contest has basically be done before on another site, only with the requirement that the 140 characters be printable ASCII (0x20-0x7E).
Again with the bad contest...but why didn't you warn me two contests ago, when I freaking announced it? :P
Title: Re: Code Golf Contest #13: A Picture's Worth 140 Chars
Post by: JWinslow23 on October 21, 2014, 06:17:48 pm
...literally NO ONE submitted. Not even me. :'( (then again, this was a bad idea for a contest)

Should I shut down the contest, or should we cross this one out from our history?
Title: Re: Code Golf Contest #13: A Picture's Worth 140 Chars
Post by: DJ Omnimaga on October 21, 2014, 06:43:01 pm
Considering Omni now averages at 10 posts a day every weekend (which is even lower than in 2008), I guess I am not surprised, but again perhaps the idea didn't interest many people or the deadline is too short.  Perhaps try to make them bi-weekly or monthly during the rest of the school year? It might also be the fact that it's the 13th contest so inevitably interest die down after a while.

I would say extend the deadline for now, especially that the Months of Trolling have started.


IMHO the contest is quite hard because I can't seem to figure out how someone can compress a PNG under 140 bytes unless it's a ridiculously small sprite image or Atari-like material. >.<
Title: Re: Code Golf Contest #13: A Picture's Worth 140 Chars
Post by: JWinslow23 on October 21, 2014, 06:49:02 pm
Considering Omni now averages at 10 posts a day every weekend (which is even lower than in 2008), I guess I am not surprised, but again perhaps the idea didn't interest many people or the deadline is too short.  Perhaps try to make them bi-weekly or monthly during the rest of the school year? It might also be the fact that it's the 13th contest so inevitably interest die down after a while.

I would say extend the deadline for now, especially that the Months of Trolling have started.


IMHO the contest is quite hard because I can't seem to figure out how someone can compress a PNG under 140 bytes unless it's a ridiculously small sprite image or Atari-like material. >.<
It's not compressing a whole image, you can reduce the quality, or perhaps divide the image into triangles of color...eh, it was based off a popularity contest on StackExchange...bad idea.
Title: Re: Code Golf Contest #13: A Picture's Worth 140 Chars
Post by: DJ Omnimaga on October 21, 2014, 06:53:35 pm
I guess since a lot of people use non-calc languages for your contests, the fact that it was heavily based on another contest might not have helped, though.
Title: Re: Code Golf Contest #13: A Picture's Worth 140 Chars
Post by: Princetonlion.tibd on October 21, 2014, 07:08:36 pm
This contest made an impact, so even if it's shutdown I (or We) will still remember it.
Title: Re: Code Golf Contest #13: A Picture's Worth 140 Chars
Post by: DJ Omnimaga on October 21, 2014, 07:12:47 pm
Yes. Normally mini-contests that don't involve the making of big calculator hits that aren't super hard to make tend to die after like 3 instances in the calculator community. Actually, one idea would be to revive Cage Matches, like Pimath wanted to do once.
Title: Re: Code Golf Contest #13: A Picture's Worth 140 Chars
Post by: JWinslow23 on October 21, 2014, 07:52:25 pm
Aw heck, I'll try for another round! But for sake of convenience, it is starting on Sunday.
Title: Re: Code Golf Contest #13: A Picture's Worth 140 Chars
Post by: DJ Omnimaga on October 21, 2014, 08:27:24 pm
On a side note, I wonder if those contests should be located in the contest sub-forum or if that sub-forum is restricted to contests started by staff?
Title: Re: Code Golf Contest #13: A Picture's Worth 140 Chars
Post by: pimathbrainiac on May 28, 2015, 05:27:48 pm
Hey @JWinslow23 Would you mind if this were picked up again by some other people (such as c4ooo, Sorunome, and myself)?
Title: Re: Code Golf Contest #13: A Picture's Worth 140 Chars
Post by: Juju on May 28, 2015, 05:30:40 pm
And myself? Yeah that would be fun.
Title: Re: Code Golf Contest #13: A Picture's Worth 140 Chars
Post by: c4ooo on May 28, 2015, 07:33:21 pm
Yes it would  ;D  as DJ_ O has said befor, it would be nice if such content had its own sub thread  :thumbsup:
Title: Re: Code Golf Contest #13: A Picture's Worth 140 Chars
Post by: JWinslow23 on May 29, 2015, 05:20:30 pm
Hey @JWinslow23 Would you mind if this were picked up again by some other people (such as c4ooo, Sorunome, and myself)?
Oh. Hehe. I almost forgot I did this. And that people were still interested. :\

But yeah. Of course you can revive it. I'd actually like it to be revived, sans all the bad entry ideas I had and overflows of PMs in my inbox :P .

...one thing though. If you do revive it, tell me where it is...and put some bad puns in there! XD