Skip to main content
12 events
when toggle format what by license comment
Dec 8, 2023 at 7:59 comment added Philippos Can someone give an example of a challenge that gets more interesting this way?
Nov 4, 2022 at 10:25 history edited Kai Burghardt CC BY-SA 4.0
insert link to https://codegolf.meta.stackexchange.com/a/1072/94076
Nov 4, 2022 at 10:14 history edited Kai Burghardt CC BY-SA 4.0
expand
May 30, 2021 at 1:28 comment added Chris Bouchard I'll say, I don't know of a situation where this could save bytes, but I don't see a reason to ban it. It's not the same as the loophole of assuming the program will have a fixed value controlled by the programmer.
May 30, 2021 at 1:26 comment added Chris Bouchard Or you can run it without mv via something like exec -a arg0 ./program arg1 arg2 in bash or execlp("program", arg0, arg1, arg2, 0) in C. From an OS perspective, $0 is just a parameter that we usually leave set to the default value.
Jan 6, 2021 at 11:10 comment added pxeger I don't really see how this is stored data. Instead of running ./program arg1 arg2, you run mv program arg0; ./arg0 arg1 arg2.
Jan 6, 2021 at 11:02 comment added Dingus In some sense I guess this isn't much different from taking input from a file, which is allowed. But I imagine that file is meant to be a fixed target, not a moving one.
Jan 6, 2021 at 10:50 comment added Dingus I don't really see how this isn't stored program data (where the data is one of the inputs). Leaving that aside, how is this different from hardcoding?
Jan 6, 2021 at 7:51 comment added pxeger @Dingus no, as in the user must rename the executable to a string, and that string is one of the inputs. It is not stored program data
Jan 6, 2021 at 1:57 comment added Dingus This is a default loophole. If taking input through the executable name, those bytes count towards the score.
S Jan 5, 2021 at 20:40 history answered pxeger CC BY-SA 4.0
S Jan 5, 2021 at 20:40 history made wiki Post Made Community Wiki by pxeger