You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server

[CWick#1] iv.bat ~ Invalidating itself since 2015

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

0
b/Contests publicado por u/brentmaas September 24, 2015, 07:12:21 PM
First topic I've seen so far...

Quote from: iv.bat ~ README.txtiv.bat is made to be precisely 140 B and will, when run, check if it's 140 B.
If it is, it will write 'qq' at the end of the file, therefore becoming more that 140 B, break the filesize limit and invalidate itself.
When run again with the invalid version, it will tell you it's no longer a valid entry.
Inicia sesión o crea una cuenta para dejar un comentario
u/Yuki September 24, 2015, 08:01:11 PM
Well, it does look interesting.
u/Dream of Omnimaga September 24, 2015, 08:27:03 PM
So what is 140? The readme or the program? :P
u/Snektron September 24, 2015, 08:33:20 PM
Nice idea :)
Are you actually allowed to release the program before it gets judged?
u/brentmaas September 24, 2015, 08:51:26 PM
Quote from: DJ Omnimaga on September 24, 2015, 08:27:03 PM
So what is 140? The readme or the program? :P
The program is, but only if it hasn't had a single run yet :P.

Quote from: Cumred_Snektron on September 24, 2015, 08:33:20 PM
Nice idea :)
Are you actually allowed to release the program before it gets judged?
With 4x3, you weren't allowed to release source or binaries until after the contest was over. It would make sense to continue this rule.
u/Yuki September 24, 2015, 08:58:13 PM
Quote from: brentmaas on September 24, 2015, 08:51:26 PM
Quote from: Cumred_Snektron on September 24, 2015, 08:33:20 PM
Nice idea :)
Are you actually allowed to release the program before it gets judged?
With 4x3, you weren't allowed to release source or binaries until after the contest was over. It would make sense to continue this rule.
It does make sense.
u/Dream of Omnimaga September 25, 2015, 11:53:12 PM
Juju, you should maybe put the rules in the thread so people how to submit their stuff and what to and what not to do.
u/Yuki September 26, 2015, 02:12:52 AM
Yeah, I should update the rules.
u/Dream of Omnimaga October 06, 2015, 12:41:18 AM
How am I supposed to run this by the way? It tells me the file is invalid for the contest when I double-click it.
u/brentmaas October 06, 2015, 07:40:02 AM
Quote from: DJ Omnimaga on October 06, 2015, 12:41:18 AM
How am I supposed to run this by the way? It tells me the file is invalid for the contest when I double-click it.
That means you've run it at least once and it's now 142B in stead of 140B
u/Dream of Omnimaga October 06, 2015, 07:07:08 PM
Oh I see now. I'll redownload it.
u/p4nix October 06, 2015, 07:35:16 PM
Can't you deinvalidate it opening it in a text editor or something? :o
u/Yuki October 06, 2015, 09:05:22 PM
Of course, you have to remove the last 2 bytes manually and you're good to go. The point here is that this script is self-modifying, so it's not the same output when you run it twice.
u/p4nix October 06, 2015, 09:06:28 PM
I thought that, that's why I wondered why DJ Omnimaga redownloaded it.
u/Yuki October 06, 2015, 09:07:57 PM
Well, that also works.
Start a Discussion

b/Contests

Sub-forum to discuss past, present and future CodeWalrus competitions and challenges.

63
Topics
Explore Board
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal