« first day (119 days earlier)      last day (602 days later) » 

6:34 AM
bkel
bake
bair
baie
byks
foldfixedpoint and scanfixedpoint dont work
i need help
someone please fix those things
 
 
3 hours later…
10:01 AM
i just need to figure out how to ............ load elements from the txt
maybe i can change elements.txt to a csv
 
Hallo
¯\_(ツ)_/¯
 
hi
i need help,
 
With what?
 
and display them here: pygamer0.github.io/flax
 
You probably want something like Vyxal's elements.yaml
 
10:03 AM
CMP: Should I rewrite elements.txt to a csv?
wait no not csv, a tsv
 
Provide proper docs, it'll be worth it
 
@allxy a tsv will work for my purposes
 
But will it work for other people's purposes?
 
@allxy what do you mean?
 
What I'm saying is that you probably want to provide a longer description of what each element does
 
10:08 AM
oh i will do that
@allxy here are the specs for the website: gist.github.com/PyGamer0/0a058539b361f55143ef1fd29fbdbf74
 
You may want to model your thing on the jht element search - one moment
But yeah this
 
that is neat
 
I would say fork that but because hyper's a sussy baka it requires a python backend
 
i can fork aplcart ..... but i dont want to :P
meanwhile i added an input box to the website
 
aplcart's quite different
I'll write descriptions for your element list
s/I/mostly copilott
 
10:19 AM
wait are you making a yaml?
 
Not for now
 
i want a tsv, ill make that myself
 
I'll write the descriptions for you, you can reformat that into whatever
 
ok thanks
@allxy lol, copilot there are no strings..
 
What's Bounce?
 
10:26 AM
x + x[::-1]
 
I'm officially renaming that Mirror.
IMO it should be a single byte
 
jelly calls it bounce
 
Screw jelly
That sounds somewhat disgusting
What's where (W)?
 
k's where
 
indexof?
 
10:32 AM
no
 
Describe it to someone who uses python
 
    W[2,3,1,4,0,0,1]
>>>
[0,0,1,1,1,2,3,3,3,3,6]
@allxy index of element repeated that times
 
Okay
What's unrepeat?
 
@allxy how do i add padding between the text and the input box pygamer0.github.io/flax .. padding does not work?
 
margin-left: 5px?
 
10:37 AM
let me try that
\[1,1,1,2,3,4,5]
>>>
[3,1,1,1,1]
@allxy ^
 
So, run length counts? Cool
 
@allxy worked thanks
althought it looks horrible on mobile
i want it to zoom in ...
 
You probably don't need it max width
What about join each of one to other?
Is head just first n items?
 
@allxy caird's jelly's u
@allxy i think so
 
@PyGamer0 No idea, simple list example please
Does quit just exit the program?
 
10:45 AM
@allxy yea
@allxy ok wait
 
count occurence is BQN's, right?
Wait no, it's dyadic?
 
yeah
    1ċ[1,1,1,1,2,2,3]
>>>
4
its like "how many 1s are there?"
 
Oh, just regular count
BQN's is [1,1,1,1,2,2,3] -> [1, 2, 3, 4, 1, 2, 1]
 
oh
btw @lyxal how is the website ?
html/css is easy ...
 
What's order, each left and each right?
 
10:52 AM
@allxy order is jelly's order
each left and each right, are k's each left and each right
 
So... multiplicity?
@PyGamer0 No idea
 
@allxy yeah
 
@PyGamer0 looking great!
 
Almost done... iota, enclose, reshape, and pair?
 
10:54 AM
@lyxal its got shadows :p
@allxy apl's iota, wrap, reshape, pair
 
I know they're from APL, I don't know APL.
 
pair is just [w, x]
wrap is just [x]
reshape is reshape (how do i explain that lol)
iota is like range
wait
    ⍳4
>>>
[0,1,2,3]
      ⍳[4,4]
>>>
[[[0,0],
  [0,1],
  [0,2],
  [0,3]],
 [[1,0],
  [1,1],
  [1,2],
  [1,3]],
 [[2,0],
  [2,1],
  [2,2],
  [2,3]],
 [[3,0],
  [3,1],
  [3,2],
  [3,3]]]
 
@PyGamer0 I think I understand what the bottom one does but those seem to be two unrelated things
@PyGamer0 So, coordinates matrix? Cool
 
@allxy each left, vectorise over left, each right, vectorise over right
@allxy ⍸ is just that but it starts from 1
 
@PyGamer0 The top one seems to generate a xyz*etc matrix for each element of the rhs, the bottom one seems to get the first n items for each element of lhs
 
11:00 AM
@allxy yeah
one is 1 2 3#/:4 5 6 which is 1 2 3#4, 1 2 3#5, 1 2 3#6
 
Done! You can fill in the rest (quicks) but now you won't need to deal with me (or anyone) asking annoyng questions
@PyGamer0 Ohh, does # have different behaviour on (list, num) and (num, list)
I feel like I vaquely remember this
 
@allxy its just reshape
 
Ohh i see
 
@allxy thanks!
 
So it reshapes 4 to an array of "length" [1, 2, 3], and reshapes [4, 5, 6] to length 2
 
11:25 AM
@allxy yeah
looks good on desktop
 

« first day (119 days earlier)      last day (602 days later) »