Author Topic: Code Golf - The Information/Discussion/Planning Thread  (Read 81291 times)

0 Members and 2 Guests are viewing this topic.

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 - The Information/Discussion/Planning Thread
« Reply #15 on: June 05, 2015, 10:05:07 pm »
I made a tool here (along with compiled stats), if it would help anyone. It correctly counts newlines and multi-byte characters.

http://juju2143.ca/golf/

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 pimathbrainiac

  • Occasionally I make projects
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Code Golf - The Information/Discussion/Planning Thread
« Reply #16 on: June 06, 2015, 02:38:04 pm »
All in favor of making Juju's counter the official counter for all non-calculator languages, say "aye."
All in favor of counting assembly as binary size, say "aye aye."
All in favor of counting TI-Basic and Axe as on-calc source size, say "aye aye aye."
All in favor of counting The Challenge Creator choosing the counting method, say "aye aye aye aye."
(all on separate lines of course)

My response:
aye.
aye aye.
aye aye aye.
« Last Edit: June 06, 2015, 02:50:18 pm by pimathbrainiac »
I am Bach.

Offline c4ooo

  • Project Author
  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 252
  • Rating: +10/-1
  • The impossible chemical compound.
    • View Profile
Re: Code Golf - The Information/Discussion/Planning Thread
« Reply #17 on: June 06, 2015, 02:51:50 pm »
All in favor of making Juju's counter the official counter for all non-calculator languages, say "aye."
All in favor of counting assembly as binary size, say "aye aye."
All in favor of counting TI-Basic and Axe as on-calc source size, say "aye aye aye."
All in favor of counting The Challenge Creator choosing the counting method, say "aye aye aye aye."
(all on separate lines of course)

My response:
aye.
aye aye.
aye aye aye.
Aye
Idk Idk
Idk IDK
Aye Aye Aye Aye
« Last Edit: June 06, 2015, 03:05:35 pm by c4ooo »
-German Kuznetsov
The impossible chemical compound.

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 - The Information/Discussion/Planning Thread
« Reply #18 on: June 07, 2015, 03:18:02 pm »
Aye (for reasons I explained above)
Aye aye (it's nearly like writing your code in hex at this point.)
Aye aye aye (If assembly is gonna get counted in binary, then the same goes with BASIC. That's pretty much what we did before IIRC.)
Nay nay nay nay (I'd like if each contest had the same standarized, agreed-upon counting method.)

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 Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: Code Golf - The Information/Discussion/Planning Thread
« Reply #19 on: June 08, 2015, 07:57:03 am »
Aye (for reasons I explained above)
Aye aye (it's nearly like writing your code in hex at this point.)
Aye aye aye (If assembly is gonna get counted in binary, then the same goes with BASIC. That's pretty much what we did before IIRC.)
Nay nay nay nay (I'd like if each contest had the same standarized, agreed-upon counting method.)

I vote exactly the same as Juju
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

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 - The Information/Discussion/Planning Thread
« Reply #20 on: June 08, 2015, 10:36:29 am »
All in favor of making Juju's counter the official counter for all non-calculator languages, say "aye."
All in favor of counting assembly as binary size, say "aye aye."
All in favor of counting TI-Basic and Axe as on-calc source size, say "aye aye aye."
All in favor of counting The Challenge Creator choosing the counting method, say "aye aye aye aye."
(all on separate lines of course)

My response:
aye.
aye aye.
aye aye aye.
Aye declare that tool as an official byte counter. If somehow not available, this may be used instead, but use the byte count, not character count.
As pre-compilation hex files have a h-aye s-aye-ze, my opinion is that the final binary should be sized.
T-aye BASIC as source s-aye-ze, Axe as comp-aye-led program.
Of course, aye can't dec-aye-de the last one m-aye-self. I'm a bit b-aye-ased. :P
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline LDStudios

  • Coder Of Tomorrow
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 388
  • Rating: +41/-1
    • View Profile
    • LD Studios
Re: Code Golf - The Information/Discussion/Planning Thread
« Reply #21 on: June 09, 2015, 05:33:10 pm »
I would like to be added to the rotation



Offline pimathbrainiac

  • Occasionally I make projects
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Code Golf - The Information/Discussion/Planning Thread
« Reply #22 on: June 09, 2015, 06:28:05 pm »
Added! Thanks for participating!
I am Bach.

Offline lirtosiast

  • LV3 Member (Next: 100)
  • ***
  • Posts: 44
  • Rating: +1/-0
    • View Profile
Re: Code Golf - The Information/Discussion/Planning Thread
« Reply #23 on: June 09, 2015, 08:24:07 pm »
The size of the program header for TI-BASIC entries should not be added to the scored size. Source means "length of code", not "file size stored in memory"; most languages have a header hundreds of bytes long on their files, and yet we don't count it. This gives an unfair advantage to non-calculator entries, whose headers are ignored.

I propose that TI-BASIC entries are counted as the size of the program in the [2nd][MEM] menu, minus the length of the name, minus nine bytes.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Code Golf - The Information/Discussion/Planning Thread
« Reply #24 on: June 09, 2015, 09:03:25 pm »
   All programs must be PM'd to the challenge creator or one of the Community Contests board moderators by 11:59:59 PM ET the following Saturday.
   

Forgive me if I'm completely missing something, but you cannot do attachments in PMs can you?

Offline pimathbrainiac

  • Occasionally I make projects
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Code Golf - The Information/Discussion/Planning Thread
« Reply #25 on: June 10, 2015, 09:20:37 am »
   All programs must be PM'd to the challenge creator or one of the Community Contests board moderators by 11:59:59 PM ET the following Saturday.
   

Forgive me if I'm completely missing something, but you cannot do attachments in PMs can you?

Most people either link to dropbox of the source/binary, or use a code bbcode to give their source.
I am Bach.

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Code Golf - The Information/Discussion/Planning Thread
« Reply #26 on: June 10, 2015, 04:59:48 pm »
I'd like to give it a go!
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline c4ooo

  • Project Author
  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 252
  • Rating: +10/-1
  • The impossible chemical compound.
    • View Profile
Re: Code Golf - The Information/Discussion/Planning Thread
« Reply #27 on: June 10, 2015, 05:27:14 pm »
If somehow not available, this may be used instead, but use the byte count, not character count.
@Juju 's Counter counts in bytes AFIK. :)

The size of the program header for TI-BASIC entries should not be added to the scored size. Source means "length of code", not "file size stored in memory"; most languages have a header hundreds of bytes long on their files, and yet we don't count it. This gives an unfair advantage to non-calculator entries, whose headers are ignored.

I propose that TI-BASIC entries are counted as the size of the program in the [2nd][MEM] menu, minus the length of the name, minus nine bytes.
True, i agree that headers should not count, including headers for shells like Doors and Mirage.

I'd like to give it a go!
No one is holding you back  :-*
-German Kuznetsov
The impossible chemical compound.

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 - The Information/Discussion/Planning Thread
« Reply #28 on: June 10, 2015, 08:34:37 pm »
If somehow not available, this may be used instead, but use the byte count, not character count.
@Juju 's Counter counts in bytes AFIK. :)

The size of the program header for TI-BASIC entries should not be added to the scored size. Source means "length of code", not "file size stored in memory"; most languages have a header hundreds of bytes long on their files, and yet we don't count it. This gives an unfair advantage to non-calculator entries, whose headers are ignored.

I propose that TI-BASIC entries are counted as the size of the program in the [2nd][MEM] menu, minus the length of the name, minus nine bytes.
True, i agree that headers should not count, including headers for shells like Doors and Mirage.
Yes, but if you don't want to use it for some reason, I have used that as an alternative.

And when I did it, headers didn't count.
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline c4ooo

  • Project Author
  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 252
  • Rating: +10/-1
  • The impossible chemical compound.
    • View Profile
Re: Code Golf - The Information/Discussion/Planning Thread
« Reply #29 on: June 10, 2015, 09:55:19 pm »
And when I did it, headers didn't count.
What? ???
-German Kuznetsov
The impossible chemical compound.