« first day (644 days earlier)      last day (828 days later) » 

12:02 AM
@user Which one's L again?
 
Length? idk
Wait no it's top of stack joined by newlines
l is length of top of stack
 
Wait what
I confus
 
Like if someone uses jl to join the the stack and then get that string's length, how do you want it to work for infinite lists?
 
It should just not halt
Also, I won't be able to be as active today, because I'll be out for a few hours
 
@VyxalBot See what I did in this branch was add a separator parameter to LazyList's output method so if you find the j flag you just call output.output(sep="") if the output is a lazylist, but if you want it to not halt, that's a lot harder ⍨
 
12:10 AM
I'm available for the next 30ish minutes, but after that i might not be
 
o/
 
lol
@user it should be easy to not halt
If it's printing an infinite list, it'll not halt by default
 
Right but what do you do if you get l afterwards?
 
It'll never evaluate
 
Or do you want it to do vy_print right when it gets the j flag and exit the loop?
Exit the loop it is then
 
12:13 AM
!!/run - h
 
[@lyxal: 60211083]
ALL flags should be used as is (no '-' prefix)
    H    Preset stack to 100
    j    Print top of stack joined by newlines on end of execution
    L    Print top of stack joined by newlines (Vertically) on end of execution
    s    Sum/concatenate top of stack on end of execution
    M    Make implicit range generation start at 0 instead of 1
    m    Make implicit range generation end at n-1 instead of n
    Ṁ    Equivalent to having both m and M flags
    v    Use Vyxal encoding for input file
 
Why do we even have the l flag anyway? Seems kinda cheaty
 
For when you have an L at the end you want to get rid of
 
sus
(but really, I can't see why you can't just put an L at the end and take an L)
 
A lambda followed by an L feels unsatisfying sometimes
Especially when it's at the end of a program
 
12:17 AM
But unsatisfying things always happen, you can't make a flag for all of them
 
It is what it is
 
._.
 
!!/run print("Hello, World!");"`Hello, World!`#"
 
@Fmbalbuena Hello, World!
 
@lyxal ^ polyglot?
 
12:20 AM
Looks like it
 
@lyxal Explain in Vyxal?
 
Nice
 
The print... part all does stuff to a bunch of 0s
The backtick string is pushed and the last " is ignored
Just use normal trash
 
@lyxal Why?
Trash will be TLDR.
 
Trash is shorter than `Trash`
 
12:27 AM
I think that's my last PR for the day, then it's time to sleep and eat for me
 
@lyxal This is recommended
 
I'll use it next time
It might be beneficial to keep bursts of vyxal bot activity contained to the site
 
Meh, I don't think it really matters, but if it's a room where we're ROs, we could move "trash" back into Vyxal if necessary
 
Ighto my mostly unavailability starts now
o/
 
12:34 AM
o/
 
12:53 AM
i think being able to move things back from trash is a somewhat overrated thing since i don't think we've had that need so far and you could just ask me
but yeah custom trashcan ain't a bad idea
what
no if people need messages moved from trash back to this room they can ask me since I'm automatically RO of pretty much every room I can see
 
1:32 AM
What happens if you go blind? :o
 
@user Nothing happens, but you can't learn Vyxal
 
 
2 hours later…
3:16 AM
@Fmbalbuena That should throw a parsing error...
 
4:02 AM
@emanresuA could you nark shallow flatten done in the big chrcklist?
 
Btw for infinite output formatting I mean something like for item in result: print(item, end=' ') for joining on spaces for example
 
The formatting isn’t a problem, combining multiple flags is
 
Oh ok
 
But lyxal clarified that you exit the loop so /shrug
 
When userscript slow
 
4:15 AM
Nah just movile
But i have definitely fgitwed tge userscript before lol
 
@user Oh lol
 
4:32 AM
@emanresuA As long as I understand the rules correctly, I’ve got a chain of 3
does this look right? Try it Online!
 
4:48 AM
I posted the crack, so if I misinterpreted the rules and it’s invalid, just let me know
 
 
2 hours later…
6:46 AM
Perfectly fine
 
 
5 hours later…
11:27 AM
!!/ingo
!!/info
 
is there no one byter for prepending a 0?
 
12:19 PM
I think there’s an element for that
 
12:31 PM
!!/run 10r0p
 
@PyGamer0 ⟨ 0 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 ⟩
 
@user ^, diagraph
 
1:18 PM
@lyxal I have a question
 
If you ask it quickly enough I'll be maybe able to answer it
And if I can't I'll try again in 9 hours
 
um no it'll probably take a bit time
 
Ask
 
okay
What are encodings? How do they define bytes? What encodings are valid for code golf? What do charactersets and codepages have to do about all this?
 
Encodings are how computers interpret raw bytes
Or how they display them more accurately
The idea is that answers are actually just raw series of bytes
Meaning that Vyxal answers (and answers in non utf 8 langs) should be given as something like a hexdump
I say should, but I mean should very technically
Encodings make the raw bytes look nice
 
1:25 PM
hm okay. But why is Vyxal non utf-8?
 
If you can make an encoding for your language that can run on a computer then it can be used
@mathcat because it uses all possible 8-bit combinations
If utf-8 was used, byte counts would become way longer
The idea is that a byte can only have 256 different values
Utf 8 has special rules for allowing bytes to be grouped together
Vyxal doesn't bother with that
Instead, it uses a custom SBCS
(single byte character set)
 
So every character in Vyxal is one byte?
 
In its own encoding, yes.
 
nice
 
Say your program was 7f 3a 1e 86 21 in raw bytes
If you use the vyxal encoding, it'll display as 5 characters
But if you use utf-8 encoding, it might display as only 3 or 4 characters
Even though it's the same program with the same byte count
 
1:29 PM
and last question: Are there any pros/contras for using utf-8 rather than a SBCS?
 
Utf-8 allows a greater character set (millions rather than just 256)
But the moment you start venturing outside of ascii, characters become more than 1 byte
 
oh, okay
nice thanks
 
¡ is one byte using vyxal encoding
Two with ascii
Aug 24 '21 at 5:17, by exedraj
ª═¿¬kF*│é
That's technically a vyxal fizzbuzz
It's just presented using a different encoding
It'd need to be converted to raw bytes and the v flag would need to be used of course
But it'd work
 
ok, I think I understood a bit, thanks
 
₁ƛ₍₃₅kF½*∑∴ is what it looks like in Vyxal encoding
@mathcat see, that didn't take too long :p
!!/'night
 
1:34 PM
@lyxal o/
 
@mathcat (you might want to ask in TNB for more specific details if you have any more questions - I'm just going off my own understanding from experience and that one lesson at school I had on ascii and utf8)
Okay I'm going for real this time
!!/'night
 
@lyxal o/
 
\o
^ I'm right handed
 
1:59 PM
o right, i forgor about tests. give me a sec
 
2:11 PM
tests added
 
 
1 hour later…
4:23 PM
@PyGamer0 sirry i don’t understand
 
4:42 PM
@lyxal why is it limited to 256? why not 512 or 1024?
 
@BgilMidol 256 is the max you can fit in a single byte
 
oh yeah
 
 
2 hours later…
6:57 PM
chunkybanana opened issue #661 in Vyxal/Vyxal: Python string output uses `vy_repr` and is bugged
 
 
1 hour later…
8:14 PM
in The Nineteenth Byte, 9 mins ago, by Peilonrayz
I got an invite for Lyaxl, Vyaxl, (IDK you guys name things weird) yesterday... just reopened the tab :)
 
 
2 hours later…
10:28 PM
@emanresuA truly my favourite golfing language
 

« first day (644 days earlier)      last day (828 days later) »