« first day (5 days earlier)      last day (38 days later) » 

6:36 AM
@emanresuA C bot #1
Sad, reran it to fix a coloring issue and now it's near the bottom again
 
so it really is luck-based lol
 
@Bubbler Median scores seem mostly pretty consistency, but occasionally one bot gets really lucky or unlucky one trial
There are a few bots that have 1 specific weakness that makes their scores more inconsistent while others are less specialized and have no huge advantage against specific opponents
 
6:55 AM
was trying to come up with a knight solution to ur challenge (cuz its like the lotm and all) but i realized that idek how to download a local copy of knight lolol
 
@AidenChow The entire point of knight is that there are plenty of implementations to choose from right?
 
@mousetail yes, the problem is pretty much none of them are up-to-date
 
That sucks
I had to search a long time for a whitespace interpreter that was bugged in a way that made the challenge solvable
 
@mousetail: it looks like you missed the change from LC_ALL to LANG for the Jelly submissions
 
@ais523 No it's fixed
 
6:59 AM
hmm theres some knight interpreters on tio that work, maybe u can use one of those?
 
@AidenChow github.com/knight-lang/c/tree/master/ast what's wrong with this official one? Claims to be updated to 1.2
 
@ais523 Yea I just updated it a few minutes ago
 
@mousetail idk, steffan said in the knight chat that he couldnt get it to work, i havent tried it myself tho cuz i dont have c
 
ah, I refresh and it's there now
comments crossing
The Burrowing Wheel is still unexpectedly dying to attacks on the chaff, maybe there's a second bug in it
 
7:02 AM
@AidenChow C is such a pain to get to work in windows, WSL is a lifesaver
 
@mousetail hmm could u get it to work? not big brain enough to figure it out
 
@AidenChow Do you have WSL?
 
idk what that is
 
Other option is minGW but WSL is easier
 
7:07 AM
ye
 
ok so i just run the command in the cmd? do i need admin access??
 
Probably yes
 
also i need to download c language right
@mousetail oh i dont have admin access :(
 
ok well there are some interpreter on tio, could that work?
 
7:12 AM
@AidenChow I won't be able to run it but you can prototype things there of course until you can test a offline interpreter
Can you link the knight chat room please?
 
:( i already have working code, wouldve submitted an answer by now
 
@AidenChow You might as well submit it, I'll see if I can run it. There are already 3 submissions so far I can't run so you wouldn't be the first
 
@mousetail oh rly? ok
ok actually i think another problem i just realized is that knight doesnt require implementations to support print stuff outside its ascii range, but some implementation still do
specifically, the interpreter on knight-lang.netlify.app supports printing all chars
so like idk how to download that one
 
@AidenChow Seems to be a pure JS one, I see no outgoing requests
Who built it?
Must be someone from here considering it has the "format CGSE post" option
 
@mousetail steffan made the website
 
7:21 AM
Is the source code of the website available?
 
you could just grab js code from devtools maybe
 
@mousetail ¯\_(ツ)_/¯
ik the (probably) same interpreter is on dso as well
 
Ok the unmimified interpreter is just pasted into the HTML it seems
What is it with code golfers and not mimifying your JS?
 
i think i find the interpreter: gist.githubusercontent.com/Steffan153/…
 
@AidenChow You could probably port this to node.js with a little effort then use it for your submission
 
7:25 AM
idk js lolol
 
That's going to make the process significantly more difficult
 
@mousetail mimifying?
 
Yes
 
@mousetail :((((
 
7:48 AM
@AidenChow Wrapping this in the following code should work:
const fs = require('node:fs');
const input = fs.readFileSync(0, 'utf8').split('\n');
const source = fs.readFileSync('source.knight', 'utf8');
const Knight = (() => {
  ...
})();
Knight.run(source, input);
@mousetail ^
assumes source.knight in the current directory
 
@Bubbler dang how u find this out
 
I just happen to know how to read files, and that number 0 is stdin
not sure with the utf8 part though
 
@Bubbler Splitting on \n would make it impossible to read bots spanning multiple lines right?
 
No, it takes entire input and then it splits by newline, giving a list of strings
 
ok ok
Still reading as utf-8 will fail a lot, I see a lot of other bots using ISO-8859 encoding but I'm not actually sure why. Might help a bit to use that encoding instead
 
7:59 AM
let me try out some stuff
ok, change the input line to const input = String.fromCharCode(...fs.readFileSync(0)).split('\n');
this converts each byte to a char of that charcode
 
You would need the reverse process at the end
 
the code has to be =<256 bytes right?
 
Yes
 
k gotta golf it down a little
 
const output = Knight.run(source, input);
fs.writeFileSync(1, output, 'latin1');
seems to work for nonascii output
 
8:12 AM
nice
 
ok posted it
 
@Bubbler Can you post the full version as a gist?
 
im interested to know how badly my bot will do lol
 
Well MVP exists so you are probably not last
 
no gist cuz it's blocked at work, see knight room for full code
 
8:21 AM
@mousetail lol truee
second last is a possibility tho
 
 
1 hour later…
9:48 AM
@AidenChow You are second to first for the moment
 
10:39 AM
@mousetail There's got to be a bug with your controller. Most bots are invulnerable to example C bot (at least for the first few rounds) and can break it in one go
How many times are you running it?
 
@emanresuA 50
 
Are you randomising the order?
 
Yes
 
And how long does 50 take? Would 500 be feasible?
 
Example C bot removes the first character if it can't find another one
@emanresuA Takes about 5 minutes currently
 
10:41 AM
Ah ok
 
All of my bots default to the first character if it can't find another matching the pattern
 
Oh wait nvm, what does ECB do?
 
ECB?
 
Example C bot
 
It removed the first character so that (x&186)^'(' is true. If it can't find any it removes the first character
This matches parenthesis but also a few others
I mean when that is false
 
10:46 AM
Ah ok
 
The characters exactly are ['(', ')', ',', '-', 'h', 'i', 'l', 'm']
The comma might also be giving it a lot of kills
 
@emanresuA controls the interest and exchange rates of the Euro
Governs the rules and organisation of cricket in England and Wales
 
Someone should host a cricket KOTH with a ECB participating
 
 
5 hours later…
4:16 PM
@mousetail how da hell is that even possible, wow
like my bot is literally just choosing random chars, no strat at all
wow a lot of bots are targeting my comment at the front of the code, didnt expect that to work so well
 
4:54 PM
Most bots have various ways to make others avoid their "critical" parts. Shooting randomly avoids those defenses.

At least that's my theory
 
maybe it should have been deterministic
theres enough "randomness" in terms of player order / deterioration state
 
@thejonymyster My last attempt at a KOTH I wanted everything to be deterministic and got a lot of negative feedback about that rule
 
oh lol fair enough
that's surprising to me, i don't see why people would care about that lol
 
Most KOTHs I've seen on this site are very vulnerable to random starting conditions.
I think using the median helps a lot though, most bots have a approximately consistent median
 
@mousetail yeah that could be it, i noticed that my bot only survive 600 or so total rounds while the other top bots were surviving like 2k total rounds
 
5:30 PM
@Steffan Your bot is still giving invalid output
The output was "211 l" but the closest l is at position 213
 
5:56 PM
@thejonymyster No I'm bruhing at my solution for not working
This seems to be another bug in Vyxal :/
Actually nevermind, it seems to be working fine
@mousetail try adding the flag please
so just vyxal vṠ
 
Ok
 
@Steffan smh @lyxal why did you make such a stupid buggy useless lang that nobody ever uses and isnt even golfy and...
 
My laptop is having a lot of trouble running the controller now, I can barely do anything else while it's running
@Steffan That seemed to fix it
 
@DLosc some sort of ungodly fusion may be in order
ragged multidimensional arrays :P
 
6:12 PM
F nope, the bot worked when I did a quick test but now I ran it for a while and it survived never again
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.10/dist-packages/vyxal/__main__.py", line 3, in <module>
    cli()
  File "/usr/local/lib/python3.10/dist-packages/vyxal/main.py", line 337, in cli
    execute_vyxal(file_name, flags, inputs)
  File "/usr/local/lib/python3.10/dist-packages/vyxal/main.py", line 197, in execute_vyxal
 
7:00 PM
Bruh
Bugs, bugs, bugs... That's vyxal
 
@mousetail Try running with the same thing as ais' answer?
 
@emanresuA You mean with lang=x ?
 
I think it's still set though, environment variables are shared unless I explicitly set them to something else
 
 
2 hours later…
9:07 PM
@mousetail which solution does it crash on?
 
9:36 PM
@mousetail See above. I ran the controller locally and it worked fine.
 
 
2 hours later…
11:12 PM
@Steffan my bot drop down quite a few places :|, ig i got really lucky getting second
is it allowed revise ur bot, like make a version 2 @mousetail
 

« first day (5 days earlier)      last day (38 days later) »