Author Topic: [ENDED] Code Golf Contest #13: A Picture's Worth 140 Chars  (Read 13951 times)

0 Members and 1 Guest are viewing this topic.

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
[ENDED] Code Golf Contest #13: A Picture's Worth 140 Chars
« on: October 12, 2014, 12:08:00 pm »
May luck be with us.

NEXT: Here
PREVIOUS: Here

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
« Last Edit: June 11, 2015, 08:56:25 am by pimathbrainiac »
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Code Golf Contest #13
« Reply #1 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.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Code Golf Contest #13
« Reply #2 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
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline pimathbrainiac

  • Occasionally I make projects
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Code Golf Contest #13
« Reply #3 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!
I am Bach.

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Code Golf Contest #13
« Reply #4 on: October 14, 2014, 05:49:32 pm »
Bump.

Remember, you can lower the quality of the image, use CJK and emoji, etc.
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Code Golf Contest #13
« Reply #5 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).

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Code Golf Contest #13: A Picture's Worth 140 Chars
« Reply #6 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
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Code Golf Contest #13: A Picture's Worth 140 Chars
« Reply #7 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?
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Code Golf Contest #13: A Picture's Worth 140 Chars
« Reply #8 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. >.<
« Last Edit: October 21, 2014, 06:44:36 pm by DJ Omnimaga »

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Code Golf Contest #13: A Picture's Worth 140 Chars
« Reply #9 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.
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Code Golf Contest #13: A Picture's Worth 140 Chars
« Reply #10 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.

Offline Princetonlion.tibd

  • Members
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 790
  • Rating: +3/-4
    • View Profile
Re: Code Golf Contest #13: A Picture's Worth 140 Chars
« Reply #11 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.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Code Golf Contest #13: A Picture's Worth 140 Chars
« Reply #12 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.

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Code Golf Contest #13: A Picture's Worth 140 Chars
« Reply #13 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.
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Code Golf Contest #13: A Picture's Worth 140 Chars
« Reply #14 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?