« first day (1056 days earlier)      last day (719 days later) » 

00:24
@Steffan it's my /srs layout
 
9 hours later…
08:57
@Steffan great!
Hmm permalink sus
@mathscat ඞඞඞඞඞඞ
I have to abort the code and click the run button again
Must be something wrong with the autorun
@mathscat well actually it doesn't time out
It errors
Because you're trying to raise something to the power of 0 and spire mustn't like that
But because this is scala js, the error is sent to the console and not the debug box
And it doesn't know to stop execution, so it just keeps going
@lyxal that isnt very cool
Arent errors problematic for golfing purposes?
Well yes
And raising to the power of 0 should return 0 anyway
Because that's current v2 behaviour
Didn't know that wasn't something spire likes
0
A: Sophie Safe primes

lyxalVyxal, 11 bytes ~æ~≬‹½æ'd›æ Try it Online! Explained ~æ~≬‹½æ'd›æ ~æ # keep only from range [1, input] where prime ~≬--- # from that, keep where: ‹½ # (n - 1) / 2 æ # is prime ' # from that, keep where: d› # 2n + 1 æ # is prime

Multi branch filter would be so useful right now
Or not :(
All these cool features I've used today and I've had to ditch them to be golfy
Or could have used
(multi branch filter would still be 10 bytes though so maybe not so much of a loss)
09:41
the site on vyxal.github.io is slightly hard to use on my phone
the buttons are too big
Mobile support is planned
@mathscat on second inspection, it looks like it's trying to do exponent with an empty string
That's what's causing the error
 
2 hours later…
11:26
me on my way to forget what I was going to work on because I was watching a pizza tower playthrough and then remembering it was sugar trigraphs
oh and word list size
11:40
Lyxal opened pull request #1665 (10k/50k Word Lists for Dictionaries) in Vyxal/Vyxal
12:01
!!/status tingly
Bot status: Onwinye
Uptime: 5 days, 17:41:34.526423
Wunnying since: 2023-03-03T18:19:35.820197
Ewwows since stawtup: 2
 
1 hour later…
13:04
Lyxal created branch implement-sugar-trigraphs-properly in Vyxal/Vyxal
Lyxal opened pull request #1666 (Add sugar trigraphs for real) in Vyxal/Vyxal
Gentlemen and gamers, I present to you: sugar trigraphs
I've mentioned them quite a few times before, but now I've actually implemented them
basically, you can use them instead of Unicode
so instead of:
#[1|2|3|4|5#] ƛ1+} Ω5%0=
you can have:
#[1|2|3|4|5#] #.[1+} #.(5%0=
this is different from literate mode in that the sugar trigraphs are normal form exclusive
Lyxal created branch ignore-comments in Vyxal/Vyxal
Lyxal opened pull request #1667 (Actually ignore comments) in Vyxal/Vyxal
13:30
GingerIndustries closed issue #12 (No tags) in Vyxal/VyxalBot2
GingerIndustries closed issue #22 (s-s-status UwU) in Vyxal/VyxalBot2
GingerIndustries closed issue #28 (Make Vyxal Version a Required Argument of Issues Opened in the Main Repo) in Vyxal/VyxalBot2
GingerIndustries closed issue #29 (Improve Good Bot Regex) in Vyxal/VyxalBot2
GingerIndustries closed issue #31 (Fake commands) in Vyxal/VyxalBot2
cool
‘lo
ahoy
remember Rabbit? that programming language I've been working on?
No.
guess you weren't there
well I just released an MVP for people to play around with
13:32
I don’t have a good memory because I’m watching the WBC…
but where’s the MVP?
I’ll probably do it later.
fair enough
Too busy watching Cuba sell to Italy.
huh?
13:35
world baseball classic
14:07
Steffan153 enqueued pull request #1667 (Actually ignore comments) in Vyxal/Vyxal
Steffan153 approved #1667 (Actually ignore comments)
Steffan153 approved #1665 (10k/50k Word Lists for Dictionaries)
Steffan153 approved #1666 (Add sugar trigraphs for real)
Lyxal deleted branch gh-readonly-queue/version-3/pr-1667-ff1b3f687a5fe6ceb34d55f2ee0c3029a62cee66 in Vyxal/Vyxal
Steffan153 merged pull request #1667 (Actually ignore comments) in Vyxal/Vyxal
Steffan153 deleted branch ignore-comments in Vyxal/Vyxal
14:54
@lyxal you know what instead of passing a print fn to globals we can just redirect stdin snd stderr for the jd jnterpreter
15:20
@lyxal abusing sugar trigraphs for ascii only challenges:
strange
according to the gist, "N NE E SE S SW W NW" is 21 bytes compressed in Vyxal, even though the uncompressed string is 19 bytes long.
Shouldn't SSS return the original string if it's shorter than the compressed one?
one min, lemme check
15:37
@mathscat It always worked for me, but I was overcomplicating the autorun. Try now
@zoomlogo I haven't optimized for mobile yet
I will tho
@Steffan yup works
15:51
@mathscat nvm
I forgor this doesn't change #C
@mathscat for a moment I thought #C was some kind of angry emoticon :b
16:14
mathcat4 requested changes on #1665 (10k/50k Word Lists for Dictionaries)
@Ginger "one-eyed angry goblin with a semi-circular frown"
leaked emoji for Unicode 16.0
16:29
If anyone's interested:
short length:10000
long length:50000
[('Hello, World!', 'Jelly 8', 'Vyxal 8'), ('ugtestslug', 'Jelly 9', 'Vyxal 9'), ('mqpcjwpf', 'Jelly 10', 'Vyxal 10'), ('very big', 'Jelly 7', 'Vyxal 6'), ('caird coinheringaahing', 'Jelly 8', 'Vyxal 8'), ('!!/status', 'Jelly 8', 'Vyxal 7'), ('For discussion about Vyxal. Re', 'Jelly 124', 'Vyxal 98'), ('Fun fake fact: The original bo', 'Jelly 51', 'Vyxal 45'), ('Meta Code Golf Stack Exchange ', 'Jelly 173', 'Vyxal 145'), ('4c1j5b2p0cv4w1x8rx2y39umgw5q85', 'Jelly 42', 'Vyxal 42'), ('N NE E SE S SW W NW', 'Jelly 18', 'Vyxal 21'), ('unpredictably', 'Jelly 5'
dict stats
16:51
Wait bug
'N NE E SE S SW W NW', 'Jelly 18', 'Vyxal 21'
That doesn’t seem right
Caddy.py bug?
Hi! Thank you guys, really like Vyxal!
Well what if i need split string at non-obvious char (nor space, comma etc)
e.g. `:`
`:`/ works well, but is it possible save 1-2 bytes?
Try \:/
Backslash escapes the next character
@mathscat Aha it works! =)
 
5 hours later…
22:24
@user how would that look?
22:38
Sorry I said stdin but meant stdout
You'd have to do System.setOut and System.setErr
Those are Java methods but will probably work in Scala.js too
So would it be set to the function we already pass in?
@mathscat there's a chance that's the one string which didn't probably compress well in jelly so I used the length of the uncompressed
22:54
Y'all have ideas for any other useful tabs I could add?
Idk what other kind of utilities
23:12
An idioms tab
Element documentation tab
Ah
What if we have something that can break down code and tell you what each element is
Also who is going to write these idioms
It'd be like a thing that grows over time
Like apl cart but not apl
And it'd just be golfing things we find
And there could be a bot command where you could add an idiom
Like !!/idiom __description__ code
@naffetS that's also a good idea
Ooh a tab where you put the question you're solving
And a tab where you can paste a test case list from a question and it turns it into a nice input format
And a program history tab that shows which programs you've executed in a session
And maybe some kind of notebook thing too
And some form of autogolfer which applies common golfing tricks
Which could also be added with bot commands
Vyxal cart
Should we have something where you can like save utility programs?
Yeah yeah yeah
I often use Vyxal to just do some quick utility task, convert format or something
Or just write some random program
23:21
These tabs are gonna be really cool
Oh and an on screen keyboard tab
And a flag list tab
Well yeah, of course we have the keyboard
Oh yeah so you can just open a tab instead of adding the h flag temporarily
Yeah
@Ginger so do you think tabs are useless now?
@lyxal Won't we have a flag for running test cases anyway?
We will. I more mean you copy in some awful text format from a challenge and the tab gives you something usable with the flag
The test case flag won't do that?
23:29
The tab allows you to specify delimiter, extra bits added to the text and that sort of stuff
And it could also turn test cases that have been split into two blocks into i -> o format
E.g the flag might struggle on
4
Q: Guessing on straws

lesobrodDedicated to Martin Gardner, taken from his book Background In the old days, the Slavs had a divination method for finding out whether a girl would get married. The girl would clutch six straws in her hand so that the ends would poke out the top and bottom of her fist. Then her friend would join ...

But the tab would allow you to specify regex to extract the different fields
The flag might struggle on
33
Q: Lithp Tranthlator

georgeMy friend made a lisp translator the other day, that is to say it took a string and converted s=>th and S=>Th. It was quite long and I thought that it could be golfed. So the task is to make a program/function that takes an input string, translates it in to lisp and outputs the string Test case...

But the tab would allow you to specify that there's a goofy amount of spaces between input and output
The flag might struggle on
14
Q: Imtiaz Germain Primes

Aitzaz ImtiazDescription "Imtiaz Germain primes" is not a technical name in Mathematics, but my weird creation, in the memoir of the famous mathematician Sophie Germain. These primes can be generated by the following process: 1. Take a Safe prime 2. Apply 2p + 1 on it to obtain a composite number 3. Apply 2p ...

But the tab would allow you to say "the output side is a space separated list of numbers"
23:55
in The Nineteenth Byte, 3 hours ago, by DLosc
TBH I wonder if having two different, interchangeable escape characters would be a good idea. Escaping backslashes with more backslashes gets unreadable pretty fast, particularly if you have to escape them twice because your string literal is actually a regex.
gosh dang it
just when I thought I could finally make progress on v3
In that case, the tab might as well just let you do regex substitution. For example, for /q/258992, you could just input the test cases and then s/N: (\d+), TopLinks: (.+?), BottomLinks: (.+?) +→ (.+)/$1, $2, $3 => $4/g or something.
@naffetS I'd be fine with that

« first day (1056 days earlier)      last day (719 days later) »