« first day (517 days earlier)      last day (952 days later) » 

12:01 AM
i found the pascal question vyxalable
i gonna try it lol
 
Why not try it, then?
 
12:17 AM
‡3∆ƈ is this correct?
or should i use ≬ instead
 
Might want to ask in the Vyxal room instead
 
@user good advice, see you later :P
 
!!/issue Factorial for negative numbers should return the factorial of their absolute value enhancement
 
Vyxal-Bot opened issue #245 in Vyxal/Vyxal: Factorial for negative numbers should return the factorial of their absolute value
 
you forgor to add the on-hold tag
 
12:32 AM
Hi again
@lyxal Oops
 
hi
 
Oof, just ported my Jelly answer to vyxal and got double the bytes :/
 
howdy
@cairdcoinheringaahing because you're bad at Vyxal
I got 7 bytes porting
 
I am taking the combination formula
 
12:33 AM
@cairdcoinheringaahing ₌ẏL‹$ƈ⁼
7 bytes
 
15 messages moved from The Nineteenth Byte
 
@cairdcoinheringaahing Why use the register when you can abuse the input cycling thingy?
 
^
 
Because you don;t need the input, you need the length -1 of it
 
Ah
 
12:35 AM
As an aside, man, the elements.md needs code formatting for the commands table :P
 
Use elements.txt instead
 
@lyxal What does low equals do?
 
parallel apply
 
@cairdcoinheringaahing idk why Vyxal had a separate txt and md file, but we have a single yaml file now that we can probably add backticks to
@lyxal The parallel symbol (|| but as a single character) would've been nice
 
So you push [0, ..., len(z)] and len(z), then decrement to get len(z) - 1. Swap to get the right order, apply ƈ and test if equals
 
12:37 AM
@Niko I don't know why you're doing ‡3∆ƈM when ƈ is the element that does nCr
@cairdcoinheringaahing correct
 
Why is ƛ always monadic?
 
@Niko also, ƈ automatically vectorises
 
i thought i need delta for that :p
 
@cairdcoinheringaahing I'm not sure why it wouldn't be
 
@lyxal See, that's what tripped me up :P I just assume that no Vyxal commands auto-vectorise :P
 
12:38 AM
@cairdcoinheringaahing Would've been nice for ƛ2 to zip two lists together and map
@lyxal Map lambdas don't automatically zip, do they?
 
@user no
 
@lyxal This should give ⟨⟨1|1⟩|⟨2|2⟩|⟨3|1⟩⟩, at least from my PoV
 
it just applies to the top
 
A sensible map command would apply to the entire stack, so that you modify more than one thing
 
It would be nice to pop the appropriate number of lists from the stack depending on the arity of the lambda, then zip and apply to all together
@cairdcoinheringaahing 😕
 
12:41 AM
For example, let's say you have a complex dyadic function f(x,y) that you need to apply to each element of a list l (to get [f(i,y) for i in l]). How would you go about doing that?
 
so [[f(i,y) for i in l] for l in x]?
 
???
 
No, [f(i,y) for i in l]
x was just a "placeholder" argument in the definition
 
@cairdcoinheringaahing Mƛ<function>R;
 
I assume you'd do →l ƛ →y f ;
 
12:45 AM
how do i use nameless var
 
you mean the register?
 
yes
the one i pushed in with arrow
 
It's all about the money
@Niko That's not the register
 
@Niko £ to set, ¥ to get
 
oh
 
12:46 AM
and work for a register if and only if the next thing isn't a letter/underscore
 
does getting it resets it?
 
@lyxal You need money to do anything. We reallydo live in a society
@Niko No
What would it even be reset to?
 
0 probably
The register isn't like ><> where it gets emptied
 
@lyxal But 0 is kinda useless, no reason to reset it
 
Exactly
 
12:49 AM
nice ipad typing
 
@Niko because the arguments are reversed
 
ooh
 
Try it Online! if you want to retain the 2-element lambda
and it uses a flag ;)
(1- -> )
(also, no need for ? at the start, because input is implicit)
(that is, if an element pops more items from the stack than there are items on the stack, it reads from the input)
eg: ??+ and + are equivalent
@Niko ^
 
i am joining the flag gang faster than i thoguht
 
oh no, we've lost another one /s
 
12:56 AM
I have a 7 flagless and a 6 with -r
 
flag r means repeat?
 
@Niko no
reverse arguments
 
oh
 
each element takes it's arguments in reverse order
 
wait a minute
 
12:59 AM
it's the equivalent of inserting $ before every dyadic element pretty much
 
thats cheesy af :p
 
25
Q: r flag my Vyxal

emanresu AVyxal is a stack-based language, meaning that everything operates by popping and pushing values onto a stack. It has a bunch of useful flags, one of which is r. Running a Vyxal program with the r flag causes functions to take their elements in reverse order. For example, the program 5 3 - means:...

 
sounds epic
 
There's a whole question on it
 
@emanresuA no
vyxal is not an efficient language so this would not improve readability and would probably greatly impact performance
or rather i should say if you code it in vyxal you will probably run into one of the following:
- your transpiled code is 5x longer than it should've been because there aren't transpilation optimizations
- you end up with circular references
- you end up doing things the golfy / vyxal-idiomatic way which ends up losing performance over how it should've been done in python
vyxal doesn't need to be all that efficient as a golfing language but there's no need to introduce unnecessary inefficiencies
 
1:08 AM
 
@Niko Try it Online! for 6
 
is there a flag auto test equal?
 
no
that'd be too cheaty, even for me
(don't tell redwolf i said that ;p)
 
what does that blue = do
 
parallel apply
it applies each of the next two elements with the same stack
 
1:11 AM
sounds complex
 
so something like ₌+- would push top + second from top and top - second from top
4 3 ₌+- pushes 7 and 1
 
oh
so it does both thing at the same time
 
correct
it applies them "parallel"
 
so we do that weird y and len both
 
correct
it does the y and the length to the top item "simultaneously"
 
1:13 AM
which sent into c
 
(I say "simultaneously", but it's implemented in a single thread internally)
@Niko correct
 
and do vectorise combination stuffs
 
yep
 
so most of the thing that takes two number can also do vectoise cacu?
like apply to everything?
 
yes
that is, most things automatically vectorise
the documentation will tell you if it doesn't vectorise
 
1:16 AM
holy
 
generally speaking, if there's an (otherwise): vectorised in the element's documentation, it vectorises
 
ok
 
@Niko are you going to post your answer?
you're good to post the 6 byter, because it's simply -4 from your 10 byter
 
2:00 AM
@Niko NOOOO
 
@user okay redwolf.
 
2:20 AM
yeet
i am back
was on class
posted :P
 
 
1 hour later…
3:27 AM
@Niko upvoted :p
 
4:12 AM
@lyxal i will use 100
some common constants are good options
 
 
7 hours later…
11:10 AM
@lyxal How dare you call me a redwolf
That’s like the worst thing obe vyxaler can say to another vyxaler
!!/sus
 
@user ඞ
 
@user saying no to flags is a very redwolf thing to do
 
:(
I’m hurt
 
11:29 AM
No, you're user
 
No, you're JoKing
 
12:26 PM
@lyxal Should Niko's name be italicized?
 
CMQ: ^
 
12:58 PM
Also I noticed someone seems to be going for the bounty:
 
1:08 PM
@lyxal 🤷 Sure, zhy not?
You’ve been pretty indiscriminate qbout ros so fqr, zouldnt nqke sense not to qdd niko too
 
are you ok?
 
Yes, zhy?
 
just making sure
 
thete we go
 
1:10 PM
Qlright
@Feeds Zelcone, niko
You hqve been initiated into vyxal gqng
Your first tqsk is to shitpost sôezhere
 
how tf did you manage to get unicode into that?
 
I somehow qctivqted a french keyboqrd and qm just too lqwy to correct nyself lol
ओके, लुक्स लाइक इ हवें आ नोर्मल कीबोर्ड वेट नो नेवर माइंड इ आम ऐन इडीयट
There we go
 
@user namaste :P
 
Hi
 
mý kèybóàŕđ īs bŕeaķinģ
 
1:18 PM
Oh dear,r did you use regex toi parse vyxal again?
 
1:30 PM
@lyxal 2.6? after the rewrite? I think it should be 3.0?
 
2.6 is the rewrite
v3 is different
 
1:48 PM
@user jokes on you because you actually were redwolf for a day
 
Oh dear, I must have residual flag hatred clinging to the insides of my brain O.O
 
Lol
!!/'night
 
@lyxal o/
 
Good bot
!!/hug
 
@user (づ。◕‿‿◕。)づ
 
 
6 hours later…
7:34 PM
ysthakur opened issue #246 in Vyxal/Vyxal: Make Vyxal a package so it can be installed with pip
 
7:51 PM
ysthakur created branch Vyxal/packaged
 
 
1 hour later…
9:31 PM
ysthakur opened PR #247 (Vyxal/Vyxal) (Vyxal:packaged → Vyxal:master): Allow Vyxal to be installed with pip install
 
10:28 PM
if we want vyxapedia search tool to work we should probably add search keywords into the yml
a bit late to mention it
 
11:11 PM
True, it's not too late
 
well it's never really too late to it's just that had i mentioned it earlier we could've considered/discussed it rather than now having to retroactively insert it :p
 
Oh yeah
 
@hyper-neutrino just fuzzy search against the name and description and overloads
 
@lyxal The description doesn't always have all the keywords necessary
It's low priority, but it would be nice to have
 
it definitely isn't a priority right now
no point setting up a website to search for features that don't exist
and i can't guarantee vyxapedia will even be working anytime soon after it gets added
 
11:30 PM
Oooh the community ads are live
And ours was accepted
Very cool
 
🎉🎉🎉
 
Apparently our site had 19 ads selected
Which is the most ads network wide
 
Proof that CGCC is the best site
 
11:43 PM
in The Nineteenth Byte, 5 mins ago, by caird coinheringaahing
@lyxal If Vyxal was on TIO, would you still use the pythonanywhere interpreter?
I thought I'd mention it here because I wanted to expand a bit on my reply
I'd personally use TIO sometimes for things like infinite list/generator stuff
Because TIO would run the offline version, meaning that printing would be good and stuff
Also, I'd use it if PA would time out
 
And no worrying about security and stuff because you're not in charge
 
But I think I'd still use PA for the most part
Because of auto github integration, syntax highlighting and the on screen keyboard
 

« first day (517 days earlier)      last day (952 days later) »