« first day (908 days earlier)      last day (867 days later) » 
00:00 - 06:0006:00 - 00:00

06:01
why doesn't flatten work?
It's not flattening my list - f
what's the program
add f at the end
it doesnt do anything
because the list is already flat
oh
:face_palm:
how do I stringify it with no spaces?
06:14
tysm
works perfectly!
How do I remove a duplicate and its orginial?
So if 99
both will disappear
Is there a 1 byter for that
remove a value altogether?
or just any duplicated value?
ya
nonono
so, "199934" -> "134"
o
!!/run `199934` 9 o
@lyxal 134
hmm
it can be any number though
I tried Uo didn't work
06:24
interesting
hmm
can input be a string, or does it need to be a number
number
er
ya number only
f'?fO1=
It's kinda yucky, but it works
lmao
what's the f at the statr for
turn number to a list of digits]
what's the fO1= for?
06:33
is the count of the number in the input 1?
as in, that's what it's literally doing
fO1= => "is the count of the number in the input 1?"
oh lmao
sry
> I plan to clear them all (unless I can't solve them)
@lyxal ambitious? or stupid XD
reasonable
a respectable grind
better than I can come up with
@lyxal Hehe
06:46
another 6 byter: Ċ⟑÷ṅß₴
Try multiset stuff?
@lyxal ?
for your remove duplicated digits thing
oh
I see
lol
you can see the answer in home page
06:51
@emanresuA doesn't work when there's no duplicated digits
Traceback (most recent call last):
  File "/home/Vyxal/mysite/vyxal/main.py", line 195, in execute_vyxal
    exec(code, locals() | globals())
  File "<string>", line 5, in <module>
  File "/home/Vyxal/mysite/vyxal/elements.py", line 6086, in vy_filter
    res = "".join(map(str, res))
  File "/home/Vyxal/mysite/vyxal/LazyList.py", line 176, in __iter__
    while self.has_ind(i):
  File "/home/Vyxal/mysite/vyxal/LazyList.py", line 257, in has_ind
    next(self)
  File "/home/Vyxal/mysite/vyxal/LazyList.py", line 197, in __next__
probably a bug
@Leo that was my bad actually, basically mashed the numbers on my keyboard, didn't notice the leading zero. But yes, input can be taken as a string — Mayube Jun 28, 2017 at 8:17
Btw lyxal
let's say I have an array [1,2,5,4,3,7]
I want to make it strictly increasing
so [1,2,5,7]
How do I do so?
> Erm if you want, you're welcome to edit my answer to add in the explanation! :3
⟑¾pÞ⇧ß⅛;¾
@lyxal ????
3 mins ago, by DialFrost
How do I do so?
that's how
ah
explain? lol
oh ya btw pls edit my answer to include ur explanation (unless u dont want to)
07:00
I will soon
mkay
tysm
erm lyxal?
⟑..; applies code to a whole list without using lazy evaluation (think a for loop but with the context reusing of a map lambda). In that map:
¾p appends the item being mapped to a copy of the global array (think a register that you can only push and pop things from)
I cant find 1/8 or 3/4 on the keyboard
Þ⇧ß⅛ appends the item being mapped if and only if the global array plus the item is still strictly ascending. Basically, it goes through each item and only adds it if doing so would keep the strictly increasing status.
The ¾ at the end pushes the entire global array to the stack. And that's how it works.
@DialFrost end of the keyboard
nvm im blind
07:05
ye
saw it :3
Btw, I meant edit my answer earlier (the 9 to 8 to 7 bytes one), right?
Sry lol idk which you meant "yes" to
yes
ah ok
i know which answer you mean
thx
@lyxal er ya
the one which I have no idea what you gave me
XD
@lyxal my scroll bar for the query is currently around 2% of the way suprisngly
07:12
upon closer inspection, the dropsort answer is too long
tysm
is there a 1 byter to remove 0's in a list?
@lyxal tysm
u helped me tie with first
well done, gamer
why doesnt this do anything?
its supposed to output current date no?
07:23
!!/run
@lyxal ⟨ 12 | 10 | 2022 ⟩
today is the 12th day of the 10th month of 2022
wut
it doesnt work on the site
wait nvm
I had the A flag still on
:P
this for sure can be golfed
but requires string compression, which I dont know :3
øD
07:28
!!/run `It's % already, folks, go home.`øD
@lyxal `It's % ×ġ, ṗḊ, go λ∵.`
!!/run `It's % ×ġ, ṗḊ, go λ∵.`
@lyxal It's % already, folks, go home.
wut the ....
now you're probably wondering why the %
07:28
ye lol
well that's because string formatting
if you've ever used string.format(value, value, ...) in python, it's the same thing
!!/run `It's % ×ġ, ṗḊ, go λ∵.` 2022 %
@lyxal It's 2022 already, folks, go home.
a little like that
In summary, øD takes a string and returns it compressed for you
and % can be used for string formatting
07:30
ah
I'll leave it up to you to figure out how to make it dynamic
as in, use the actual current year
done
:3
It's now 27 bytes
Excellent
Some of the challenges in Steffan's query are quite fun
:3
that is the nature of code golf
07:33
depends
everyone enjoys one of two things: doing the golfing or making the tools for golfing
I like certain stuff, dislik certain stuff compared to others :3
@lyxal hmm
wise words
I like the 1st
:3
I have 0 idea to make tools for golfing so erm
For example, people like caird tend to like the golfing
on the other hand, people like me spend years making tools for golfing
(tools here being golfing languages)
lol
and yet u have 25k from answers
23
which is a mix of answers and questions
07:34
close enough :P
majority should come from answers
but I still like golfing language design more
ic
WAIT WHAT
i have 32 questions
total score 225, how is that possible
Oh I guess back then there were more people for upvoting
codegolf.stackexchange.com/questions/109491/ascii-triangles this is suprinslgy hard in vyxal unlike python :(
07:53
Anyhow, I'm going to be afk for a few hours
@DialFrost try porting python first
And golf from there
I'll be back soon
o/
08:35
@lyxal aww ok
@lyxal but it's so complicated!
09:22
sry if im bugging u lyxal but u forgot to edit explanation :P codegolf.stackexchange.com/questions/128784/…
Me when all my vyxal tips get upvoetd
@emanresuA :3 that's me :3
I have the exact amount of votes left for this day to upvote every answer in that question :3
I figured
@emanresuA how?
09:38
@DialFrost I haven't forgotten - I just haven't been able to yet
I'll get around to it, I promise
mkay isok
@lyxal more lectures? :3
Not at my computer right now
10:31
yay i finally got the code golf tag badge
thanks to u @lyxal for teaching me vyxal :3
10:53
@DialFrost edit done
thx!!!
11:15
@lyxal lambda x:'\n'.join(['|'+' '*n+'\\'for n in range(x)]+['-'*-~x*(x>0)])
that's too hard :D
 
1 hour later…
12:42
I've, uh, forgotten how to, uh run vyxal from the command line without using the pypi version
like I know I can python -m vyxal (I think)
but I forgot how to use poetry basically
yeah
big brain I know
dang
I forgot where the tests were located too
Lyxal opened PR #1469 (Vyxal/Vyxal) (Vyxal:make-requests-work-again → Vyxal:main): Make web requests work again
At least I remember how to make PRs
13:09
Ah yes
what are the general rules with using flags to shave off bytes
none!
they're free!
now see people may not particularly like them (cough radvylf cough)
and they may downvote flag answers
we should have a flag for h and t commands at the end tbh
13:13
but flags are free and add 0 bytes
we already have the max and min for the stack
@Pacmanboss256 I'd love to but over the last year or so, I've copped so much about flags that it feels too controversial
hell, version 3 is dropping a few flags because of criticism
which ones...
13:15
one second
gotta get the branch open
nooo i used m
well at this stage it's just planning
ok
also i like H for when i need some arbitrarily large input that isnt too much
like for the pie one
in The Nineteenth Byte, May 13, 2021 at 0:17, by lyxal
@hyper-neutrino the H flag is being saved for emergencies (read: someone else figures out 11 bytes and I need to quickly reach 10)
that's like 69% of the reason it exists :p
13:18
but fizzbuzz can be 5 bytes now anyway
in The Nineteenth Byte, Oct 6 at 11:40, by caird coinheringaahing
5 bytes with extremely questionable builtins. also the 11-byter can be 10 with H flag — Steffan Jun 3 at 17:46
!!/run `ċ`ṪĖ j
[@lyxal: 62183685]
1
2
Fizz
4
Buzz
Fizz
7
8
Fizz
Buzz
11
Fizz
13
14
FizzBuzz
16
17
Fizz
19
Buzz
Fizz
22
23
Fizz
Buzz
26
Fizz
28
29
FizzBuzz
31
32
Fizz
34
Buzz
Fizz
37
38
Fizz
Buzz
41
Fizz
43
44
FizzBuzz
46
47
Fizz
49
Buzz
Fizz
52
53
Fizz
Buzz
56
Fizz
58
59
FizzBuzz
61
62
Fizz
64
Buzz
Fizz
67
68
Fizz
Buzz
71
Fizz
73
74
FizzBuzz
76
77
Fizz
79
Buzz
Fizz
82
83
Fizz
Buzz
86
Fizz
88
89
FizzBuzz
91
92
Fizz
94
Buzz
Fizz
97
98
Fizz
Buzz
Top quality language design
absolutely nothing wrong here
yeah that seems fine
Y'all seem like y'all are sticking around for the long game
so I figured I'd add both of you as ROs
13:19
thanks!
that brings us to a total of 25 ROs
because why the hell not.
3
@Feeds ?
aww thx lyxal
@lyxal wut lmaoo
there are 25 ROs of this room
 
1 hour later…
14:37
@lyxal so many :P
14:48
@lyxal whats `ċ`
is it literally "fizzbuzz code"
@emanresuA lol same
 
3 hours later…
17:29
Steffan153 merged PR #1469 (Vyxal/Vyxal) (Vyxal:make-requests-work-again → Vyxal:main): Make web requests work again
Steffan153 deleted branch Vyxal/make-requests-work-again
Steffan153 closed issue #1464 (Get request doesn't work, Vyxal/Vyxal)
 
6 hours later…
23:14
@lyxal what can ROs do?
Pin messages, move messages and that's about it really
It's more just a recognition that "you're one of us"
@lyxal :3
23:49
@lyxal welp!
00:00 - 06:0006:00 - 00:00

« first day (908 days earlier)      last day (867 days later) »