« first day (838 days earlier)      last day (637 days later) » 

12:06 AM
week.golf has made me realize how long it's been since I've read from stdin lmao
I can't compete in any of them competitively because idk how to golfily take multiline input
 
12:49 AM
@user wdym?
I'm pretty sure week.golf passes from cmdline
at least, this week it seems to
because you'd think you could take all lines with
because it looks like they're all separate inputs
but you can't
because the input is actually a single string with literal newlines in it
 
Wait really?
For Python and Java at least it uses stdin
Haven't tried Vyxal yet because I know I don't stand a chance against yall
 
@user this week, yes
 
@lyxal Why not add APL lol
 
1:04 AM
because I don't APL very well with golf, and Vyxal is the only language I can use competitively at the moment
also it'd be funny to language block them for a second month lol
 
I'm really bad at J but imma try it
I have a couple answers here
 
I've tried APL for golf, and it just ends up not being a pleasant experience
 
1:18 AM
Really? I’ve found apl to be very satisfying (when i can get it to work)
It’s great for array challenges
 
guess I'm just too used to strings as objects instead of strings as lists of characters
 
@lyxal i know you’re good at python
 
Good at it when writing it for code standards
not good at it when writing it for golf
 
Yeah string stuff is not as fun with apl
 
plus lists containing other lists that aren't all the same size
that's a little annoying at times with APL
because sometimes you just want something like 5ɾɾ
!!/run 5ɾɾ
 
1:22 AM
@lyxal (output was empty)
 
really?
even with python?
wow
 
1:42 AM
Must be the site API
 
 
1 hour later…
3:09 AM
No, I tested with the console and it gives empty output if you don't set Content-Type to application/json
I'm thinking that hyper's stackchat.js is funky and isn't passign the header
!!/am i privileged
 
@Steffan you are a privileged user
 
@Steffan the bot is on the python version though
 
oh weird
 
!!/pull
 
@lyxal pulling new changes; I will restart in a few seconds if any updates are available
 
3:11 AM
see
pull doesn't exist in js version
 
It's not sending it as json
It should set json=payload, not data=payload
I think
Yes
 
Steffan153 opened PR #67 (Vyxal/VyxalBotSE) (Vyxal:Steffan153-patch-1 → Vyxal:master): hopefully fix run
 
it needs 2 reviews lol
!!/run ka
 
@Steffan (output was empty)
 
Looking in the pythonanywhere access log, the request was sent, but in the server log, you can see that req.json was None
So it's not being received as JSON
 
3:32 AM
don't forget to fix on js bot too
 
3:45 AM
@ly pull plz
@lyxal pull plz
 
!!/pull
 
@lyxal pulling new changes; I will restart in a few seconds if any updates are available
 
!!/run 10(n,)
 
[@lyxal: 61714811]
1
2
3
4
5
6
7
8
9
10
 
Can has admin?
 
3:46 AM
ask hyper
I don't even know how to make admin
and even then, hyper's bot so hyper's approval on adminship
 
!!/issue next multiple builtin get the next multiple of one input after another enhancement
 
Vyxal-Bot opened issue #1377 in Vyxal/Vyxal: next multiple builtin
 
 
13 hours later…
5:21 PM
why did they have to invalidate all of our "cheat" solutions
now i have to suffer being outgolfed :(
 
@emanresuA what about "next number after this one that satisfies the given condition"
ooh something to add to fig
 
6:12 PM
@Steffan Where?
 
 
3 hours later…
8:42 PM
@Seggan If you want, but making that into next multiple is another byte...
And I believe there's a couple of num-num overloads free
 
@user weekgolf
 
@Steffan The bash ones?
 
yes
just exec bash code.
No, the bash lang ones were fine. I mean python, ruby, php, etc.
 
Yep, that's wha tI mmeant
 
it's not exactly cheating
it's just abusing the fact that bash is way shorter
so it leads to very uninteresting solutions
 
9:01 PM
Steffan153 opened issue #1378 in Vyxal/Vyxal: Prepending a list to a LazyList errors
 
@emanresuA i know but its a good generalisation
@lyxal done
 

« first day (838 days earlier)      last day (637 days later) »