« first day (674 days earlier)      last day (808 days later) » 

12:54 AM
cgccuser opened issue #732 in Vyxal/Vyxal: Transpose needs infinite list support
 
I think I can (partially) fix this tomorrow
 
 
2 hours later…
3:07 AM
@emanresuA ah, my bad
 
 
4 hours later…
7:11 AM
I've come up with a better generator element for vyxal v3
Ṣ<relation>|<initial terms>;
For example: k≈Ṣ+ is all Fibonacci numbers
because it’s saying that each term is the sum of the last two terms
because the stack for each number generated starts with all previous terms on it
it would be a structure type instead of a lambda because n and m would refer to the last term and second last term respectively
actually that reminds me to mention that I’m planning on making m also be a context variable
but instead of referring to arguments, it refers to indexes/iteration counts/etc
@lyxal this is different to lambda types which have n as the current argument and m as the argument index
I also have another structure idea that could be useful
Ḍ<predicate>|<container>;
Which is, does there exist an item in container such that predicate returns true
it would be helpful for decision problems
because instead of filtering by a function and then checking if it’s empty, you just use this structure instead
for example, this structure would allow for a theoretical 6 byte answer to the “is it a concatenation of two squares” challenge
2ṗḌ∆²A
Which is, from all the ways to split the input into two consecutive items, does there exist an item such that all items in that item are square?
The characters used are all subject to change
Because these are simply demonstrations of some ideas I’ve come up with
and I didn’t mention it earlier, but if only one branch is provided to these structures, it takes the second branch (initial terms / container) from the stack
but if the second branch is provided, it is evaluated in lambda like conditions
as in, it’s run on its own stack with contextual variables and stuff
But i don’t know what the contextual variables would refer to in that case
maybe the top of the stack without popping it
idk the finer details yet, this is just brainstorming at this point
I’ve also had the idea to have elements for things like ?<swap> and ?n
basically shorthand forms of when you want to have the input followed by either what was originally top of stack or the context variable
 
8:01 AM
thats a lot of messages
 
 
2 hours later…
10:23 AM
Why doesn't to-base vectorise?
!!/run `Hello, world!`C3τ
 
[@mathcat: 60473952]
STDERR:
Traceback (most recent call last):
  File "/home/Vyxal/mysite/vyxal/main.py", line 154, in execute_vyxal
    exec(code, locals() | globals())
  File "<string>", line 7, in <module>
  File "/home/Vyxal/mysite/vyxal/elements.py", line 3651, in to_base
    raise ValueError("to_base only works on numbers")
ValueError: to_base only works on numbers
 
I dunno probably oversight on my part
I'll fix it in a bit
 
@lyxal nice
then I'll be "tied" with Jelly
 
10:52 AM
and I think * and are dupes
!!/run `abc`2*
 
@mathcat abcabc
 
!!/run `abc`2•
 
@mathcat aabbcc
 
oh wait
no
it vectorises?
 
it's per character
also, the vectorised to_base patch is half done
just gotta write tests for it
 
11:07 AM
@VyxalBot @mathcat come forth and review so you can tie with jelly
now to merge that into prod
 
Lyxal opened PR #734 (Vyxal/Vyxal) (Vyxal:main → Vyxal:production): Update Production (20/02/2022)
 
merge that and you've got your W
 
how does that work?
 
merging into production updates the site
it means you can actually run it online
W here means Win
 
ah nice
 
11:12 AM
Lyxal merged PR #734 (Vyxal/Vyxal) (Vyxal:main → Vyxal:production): Update Production (20/02/2022)
 
There we go, the changes should be live in a few moments
go forth and win
 
how ... did you merge without 2 reviews?
 
production only takes 1
 
@lyxal I'm not fully sure though if I can get 9 bytes
 
@mathcat everything has already been done with 2 reviews, so the branch protection for production is just so people don't go merging other branches into production
but I could have also merged it with 0 reviews
because there's a neat little button that lets organisation admins merge using admin abuse
that button only exists on prod
it's disabled on main
main always needs 2+ reviews
 
11:14 AM
okay
 
Lyxal opened PR #735 (Vyxal/Vyxal) (Vyxal:2.8.4-version-bump → Vyxal:main): Version 2.8.4
 
If I have a list of lists, how can I join the inner one by nothing and the outer by newlines?
 
vṅ⁋
 
@lyxal wow nice
 
11:31 AM
actually
8 bytes flagless
even with finite list
 
@mathcat there isn't any usage of J there though
 
oh
wrong link
j flag
 
For once I'm not to blame
I haven't touched flags for a while
 
11:46 AM
SE-Nitro opened issue #736 in Vyxal/Vyxal: `j` flag again
Lyxal opened PR #737 (Vyxal/Vyxal) (Vyxal:make-j-flag-great-again → Vyxal:main): Fix the `j` flag
 
wow that was fast
 
am speed
 
couldn't you do output.output(open=None, close=None) rather than a for loop?
 
no
because strings are wrapped in `
 
ah
so output doesn't do vyxalified print on each element?
 
no, it still tries to print the lists' items as if they were list items
when printing a list, strings are wrapped in backticks
e.g
⟨ `aa` | `bb` | `cc` | `dd` | `ee` | `ff` ⟩
setting open and close to "" doesn't account for turning off string backticking
 
but what's with nested lists? will they be handled like ⟨ `aa` | `bb` ⟩
 
they'll be printed properly
 
nice
 
12:26 PM
so uh yeah
that was probably not intentional
 
?
 
because it's "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" in the docs
wait non-repro?
 
 
I'll reload
 
you're thinking of kL
!!/run kL
 
12:27 PM
@lyxal abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
 
ah
sorry
 
1:07 PM
:/
ugh
:\
I had an element idea in the shower
but I forgot what it was
 
lmao
 
@lyxal you remember redwolf’s cursed lang where assigning inside functions created fields for that object? I’m thinking we can kinda do that for classes. I’ll type up a proposal later, it’d be somewhat similar to scala
@mathcat oof, i can relate
Sometimes I’m in the shower and I forget that I’ve already finished showering
So i shower multiple times. I think i stayed in there for over half an hour once
 
 
2 hours later…
3:00 PM
@user yeah, happens to me every time
sometimes I keep a timer
but mostly I forget to get the phone
 
3:11 PM
lmao imagine keeping a timer and actually bothering to get out of the shower
 
3:35 PM
@user Thoughts? @lyxal @emanresuA @AaroneousMiller @pxeger
Honestly, if we're not going to add inheritance, we should just add plain object literals, and "classes" would simply be functions that return object literals
I'm not too clear on how operator overloading will work for dyads and triads, though. If I do ←mycustomobj1 ←mycustomobj2 +, will Vyxal try to find an overload on mycustomobj1 or mycustomobj2? What about for triads?
I was kinda against adding any operator overloading at all, but I guess it'd be inconvenient to define a plus method rather than using +
 
 
1 hour later…
4:59 PM
um uh
if this is a bug
I'd get a new streak
(2 in a day)
Why does this not print |, but this a
Is it an escape char?
 
 
2 hours later…
6:49 PM
That's a parsing bug
Put it on the repo
 
7:05 PM
?
as an issue?
@emanresuA YES
I got a new bug streak!!!
 
I thought v2.6's parser actually worked... Apparently not.
 
SE-Nitro opened issue #738 in Vyxal/Vyxal: `|` not working in loops
 
D'you have any idea why |?
is it a special char like ```?
no
ugh
like ​​​​​\​
ah got it
I got a backslash in a code block!!!
 
noice, did you use a zwsp?
 
yes
 
8:09 PM
and aren't J and + dupes?
!!/run `abc``def`+
 
@mathcat abcdef
 
!!/run `abc``def`J
 
@mathcat abcdef
 
With strings, yes. Not with numbers
!!/run 1 2+
 
@user 3
 
8:19 PM
!!/run 1 2 J
 
@user 12
 
@VyxalBot oof
Parsing is hard
 
9:02 PM
Why would you expect me to know?
 

« first day (674 days earlier)      last day (808 days later) »