« first day (1311 days earlier)      last day (1349 days later) » 

3:41 AM
⋄ (¯1∘↑,⍨(⍕¯2+≢),⍨1∘↑)'internationalisation'
 
@TessellatingHeckler i18n
 
Feels like there should be a shorter approach to get the first and last letters around something
 
@TessellatingHeckler is first, ⊃∘⌽ or ⊢/ is last.
@TessellatingHeckler Also you can remove s in ,⍨ by flipping the order: ⋄ (1∘↑,(⍕¯2+≢),¯1∘↑)'internationalisation'
 
@Bubbler i18n
 
@Bubbler well, that's a lot tidier ⋄ (⊃,(⍕¯2+≢),⊢/)'internationalisation'
mildly annoyed I didn't think of ⊃ or ⊢/
 
3:57 AM
are you guys allowed to play golf during the lock-down :P
 
It's socially distanced golf :P
 
coolio
 
⋄ {2/'█ '[(⌽≠⍉)⍣3⊢8 8⍴11⎕DR⍵]}'Raghu'
 
@Razetime Illegal code
 
@Adám why's APL giving me an index error?
 
4:10 AM
@Razetime Works only with ⎕IO←0
 
          ██
  ██        ██
██  ██    ██
      ████
      ████
    ██    ██  ██
  ██        ██
    ██
weeeee
CMC: Decode a name from APL avatar
    :55378158 Yours looks pretty cool
████  ██████  ██
      ██      ██
██    ██
██        ██████
██████        ██
        ██    ██
██      ██
██  ██████  ████
 
4:46 AM
@Razetime {88⎕DR,((⌽≠⍉)⍣¯1)⍣3⊢'█ '⍳8 8⍴((128⍴1 0)/⊢)⍵} might do it, if you wait for Dyalog to implement (⌽≠⍉)⍣¯1 :P
can that be undone?
 
I don't think ⌽≠⍉ has a unique inverse even in booleans, because summing all mod-2 equations will give a null equation, which means the coefficient matrix is not invertible.
Does every bit pattern having 4-way rotational symmetry have a corresponding string input? It's an open question too.
 
5:18 AM
interesting
I mean, my actual name and my udername both yied about the same output
maybe it needs to expand in size for the size of the name
that might have an inverse
Hey lyxal
and adám
 
@Razetime Hi. Well, there are only 16 bits in the final output, so there will be a lot of clashes.
 
so we need more bits
 
@Bubbler That should be brute-forceable given the size of the problem space
 
5:33 AM
@Razetime 42 bits: ⋄ {' ░▒▓█'[2/1+(⌽,⊢)6 3⍴5⊥⍣¯1⊢⎕UCS⍵]}'Raghu'
 
@Adám Illegal code
 
⋄ {' ░▒▓█'[2/1+(⌽,⊢)6 3⍴(3⍴5)⊤⎕UCS⍵]}'Raghu'
 
@Adám Illegal code
 
@DyalogAPL ⋄ ⎕UCS 'abc' ?
 
@Adám 97 98 99
 
5:37 AM
⋄ {(3⍴5)⊤⎕UCS⍵}'Raghu'
 
@Adám Illegal code
 
⋄2⊤7
 
@Adám 1
 
Huh. ⋄ {' ░▒▓█'[2/1+(⌽,⊢)6 3⍴(3⍴5)⊤⎕UCS ⍵]}'Raghu'
 
@Adám
██▓▓▓▓▓▓▓▓██
░░████████░░
    ████
▒▒▒▒▓▓▓▓▒▒▒▒
▒▒██▓▓▓▓██▒▒
██▓▓▓▓▓▓▓▓██
 
5:43 AM
@Adám 12 of the help.dyalog.com links in the AplCart tsv use http instead of https, btw
(assuming it should all be https, probably way easier to do a search/replace than a PR)
 
@TessellatingHeckler Yeah, every once in a while I run that search-and-replace…
 
@TessellatingHeckler Pushed.
 
@DyalogAPL I could actually use this as a profile picture
But i guess the simplicity of the earlier code gives cleaner patterns
 
 
2 hours later…
7:57 AM
What's the easiest way to make a function (f g h) so (f g h) x is just f g h x
obviously f g h doesn't work because that makes a train :/
 
RGS
@rak1507 f∘g∘h
 
Oh yeah
 
RGS
You can read f∘g as f with its right argument preprocessed by g
so that f∘g∘h is f with right argument preprocessed by g∘h which preprocesses the right argument with h then g and then applies f
 
In this case (⌈/≢¨⍤(⍕¨)) seems to work but multiple ∘s would need more brackets
((⌈/≢¨)⍕¨) also works
 
Given that both g and h have each, ⌈/≢∘⍕¨ should do
 
8:11 AM
great thanks
Is there a better way to do ((⌈/≢¨)↑¨⊣)? Padding to the length of the longest string
 
@rak1507 Like this?
Monadic (Mix) converts a vector of strings into a char matrix, adding space paddings as necessary. Then you can (Split) back into vector of strings.
 
That is perfect haha, so simple
Just used the rank operator correctly, feel like an APL god
(-∘⌽⍳)⌽⍤0 1∘↑(⍕∘(⍳!⊣⍴-∘1)¨1+⍳) Any obvious errors in this?
 
8:32 AM
What are you trying to achieve?
I see a Pascal's triangle using ⎕IO←0, except that it isn't quite center-aligned
 
Pascal's triangle
Yeah
Not quite sure how to properly align it
 
You need to take into account the lengths of the strings
 
yeah :/
 
8:53 AM
@rak1507 Nice, though actually has ⍤0 1 built in.
 
9:04 AM
I have some code which apparently dyalog detests - if I send a strong interrupt via RIDE the it appears to break as it should, but it's then non-responsive, and looking at top dyalog is consuming 100% cpu. This happens both on my Mac and a R-Pi. Any reason why / trick to recover from teh strong interrupt not really interrupting?
Or is it kill -9 time?
 
@xpqz That doesn't seem right. Are you allowed to save the ws and email it to support explaining?
 
It's dead -- RIDE responds to key strokes but there is no interaction with the 'terp.
 
@xpqz I mean, if you can repro it (after killing it).
 
I can see if I can cut it down to something containable.
 
Thanks.
 
9:10 AM
I don't doubt that it's a bug in my code -- most likely a non-terminating recursion or two.
 
Sure, but APL shouldn't become unresponsive after a hard interrupt.
 
Dyalog works really well on the Pi3, btw. Roughly 8-10 times slower than my mac, but it doesn't crash.
 
9:40 AM
@Adám damn, thought I'd done something clever then :(
 
9:59 AM
@Adám I've got it reproducible with a tiny data set -- I've saved the workspace.
 
@xpqz Great.
 
 
1 hour later…
11:01 AM
@dzaima I compiled your dialect of APL
APLP5 tetris works but it doesn't have a kill screen
and it shows this error
No library found for APL.types.Fun
It's probably a processing 3 problem
which version exactly should I use?
 
@Razetime i have no idea why that's a thing, but it is and it doesn't seem harmful
@Razetime it, like the language its written in, is not completed :)
 
oh lol
It has a working mandelbrot set tho
what is draw supposed to do?
 
@Razetime mostly a test for golfiness of code
(god the updated android firefox app makes using SE chat just painful)
 
oh lol
all websites have taken to pestering their users to download their app
Well, draw doesn't seem to display anything
 
@Razetime did you try clicking&dragging in the screen?
 
11:08 AM
oh so that's what it's abotu
lmaooo
 
ngn
11:19 AM
@Razetime so, if you're an apl type, you should be having fun only in the library
 
uh what's that mean?
I like the each left nd each right symbols
 
ngn
@Razetime that's what the error message is implying :D
 
@Razetime Lbrary found for APL.types.Boring?
 
@dzaima pushed fix by not using import, and properly referring to an inner class with the outer class
 
oh lol
I just need to pull it right
@dzaima voila
 
11:23 AM
@Razetime yeah. but it's largely pointless anyways
 
My masterpiece in draw.apl
oh lol
@dzaima how do I get the pixels of an APLImg object?
oh lol
Maybe I should figure some stuff out and pull request
 
@Razetime img.pixels or img.mat (i really thought i didn't implement those lol)
 
cool
maybe I can port some of my older processing answers
lmao
 
@dzaima as an example, to draw 100 lines, there are 2 options - either a 100 4-item vectors, or a 100×4 matrix (generating which is often very annoying). the rewrite does the correct thing of allowing a 4-item vector of each separate coordinate, but for some reason there are 2 separate line drawing functions and coloring things is still a complete mess (if you want to draw many different color lines, you're stuck with a loop going through each)
@dzaima (the vector of vectors approach also allows easy constants across all points - e.g. g.ln 100 (8×⍳100) 400 400 draws lines from (100;y) to (400;400) for each y in 8×⍳100)
 
That's what I imagined
The kind of flexibility apl has is great for processing
 
11:49 AM
Are there and good APL support extensions for VS Code?
Nothing is coming up in the search for some reason
 
@Razetime see last row here
 
huh. I guess I'll have to manually install it
 
RGS
12:42 PM
Is there some magic variable Dyalog APL has access to, that allows me to refer to a directory where I want to store some workspaces/.dyalog files so that I can refer to the directory with an absolute path, but making use of this (system?) variable?
maybe something relative to Dyalog APL's installation folder?
 
@dzaima
0
A: Generate an RGB colour grid

RazetimeAPL (dzaima/APL), 186 bytes Uses dzaima's Processing integration. G←P5.G z←'00' f←'ff' P5.draw←{G.stroke←z,z,f G.pt 3 3 G.stroke←z,f,f G.pt 2 3 3 2 G.stroke←f,z,f G.pt 1 3 3 1 G.stroke←z,f,z G.pt 2 2 G.stroke←f,f,z G.pt 1 2 2 1 G.stroke←f,z,z G.pt 1 1} Grid (Heavily Magnified): Actual size:

 
@RGS wouldn't you mean refer by a relative path? ]cd?
@Razetime you can use integers for colors too (the in the regular processing way of mixed 0-255 gray and 0xAARRGGBB otherwise)
you can also use 3-char color codes (i.e. 'f0f' for purple)
 
oh interesting
which would be best here
3 char right?
 
@Razetime it'd also most definitely be better to have a loop instead (or at least assigning G.stroke and G.pt to temporary functions)
 
hm ok
I'm a bit tired now
I'll golf it soon
 
12:51 PM
also z←'0'⋄f←'f'z f←'0f'
i have 54
 
ngn
1:11 PM
@dzaima it should be simpler with netpbm
 
@ngn but that's boring
@dzaima (could convert to a function for 46)
@dzaima though that has made me notice that for some reason pt (Processings POINTS shape) doesn't draw the points at 100% opacity :|
@dzaima creating an image (with P5.img which takes a matrix of colors as arg) is 31
 
1:34 PM
 
@dzaima same color grid?
 
@Razetime i just copied Jelly's output as reference for that
 
@Adám 'The letters from A to Z' doesn't point to the correct tio link
on aplcart
 
1:56 PM
Is there any reason the function for an identity matrix on aplcart is (,⍨⍴1,⍴∘0) and not (∘.∊⍨⍳)?
 
17-vs-18?
 
Ah probably
 
@rak1507 Yes:
      ]runtime -c ∘.=⍨⍳100 (,⍨⍴1,⍴∘0)100

  ∘.=⍨⍳100      → 2.5E¯6 |   0% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕
  (,⍨⍴1,⍴∘0)100 → 9.8E¯7 | -61% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕
 
Wow that is quite a difference
 
@Razetime Thanks, fixed.
 
2:01 PM
@Adám i would've expected ∘.=⍨⍳ to be an idiom, but i guess requiring the obvious faster version makes sense
 
(≢∘⍸(∘.≥⍨⍳)) Worlds dumbest nth triangular number generator
 
@dzaima Lots and lots of things could be idioms. I'm not sure why some things have been made idioms and some things not, but the idioms system isn't sustainable. We need Marshall's thunks instead.
 
@dzaima What would you ever do where generating identity matrices actually affects the total time?
 
@Marshall right, that too
 
]runtime -c '(≢∘⍸(∘.≥⍨⍳))¨ ⍳30' '{.5×⍵×1+⍵}¨⍳30'

(≢∘⍸(∘.≥⍨⍳))¨ ⍳30 → 3.6E¯4 | 0% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕
{.5×⍵×1+⍵}¨⍳30 → 1.1E¯5 | -97% ⎕ #
not really a surprise
 
2:06 PM
CMC : identity array of given shape. Identical to {1=≢¨∪¨⍳⍵}
 
ngn
why are dfns so much faster
 
@Adám yaya
 
Are they? @ngn
 
ngn
      n←100⋄ cmpx '(,⍨⍴1,⍴∘0)n' '{⍵ ⍵⍴1,⍵⍴0}n'
  (,⍨⍴1,⍴∘0)n  → 1.2E¯6 |   0% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕
  {⍵ ⍵⍴1,⍵⍴0}n → 6.9E¯7 | -44% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕
 
Interesting
 
2:11 PM
isnt ⍵⍴1 enough
 
]runtime -c '(.5×+∘1×⊢)¨⍳1000' '{.5×⍵×1+⍵}¨⍳1000'

(.5×+∘1×⊢)¨⍳1000 → 4.6E¯4 | 0% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕
{.5×⍵×1+⍵}¨⍳1000 → 3.7E¯4 | -20% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕
also interesting
 
@ngn Usually the issue is the time taken to form the derived functions. If you assign the two functions in advance, the train will probably be faster.
 
Still slower for me
a←.5×+∘1×⊢
b←{.5×⍵×1+⍵}
]runtime -c 'a¨⍳1000' 'b¨⍳1000'

a¨⍳1000 → 4.7E¯4 | 0% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕
b¨⍳1000 → 3.6E¯4 | -24% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕
 
ngn
@Marshall you're right
 
yay dzaima/APL beating Dyalog
 
2:17 PM
@rak1507 Since you're using ¨, what I said doesn't apply. In your first example the functions are created once and applied 1000 times.
 
thats a cool factoid
@dzaima Is this because of JAva, or more efficient interpreter?
 
ngn
@dzaima try ngn/k :)
 \t:1000 =100
9
 
what about ngn/apl
 
ngn
@Razetime that's in javascript (i.e. very slow)
 
@dzaima on my crappy laptop, yes
 
ngn
@dzaima why "each"? what are you solving there?
 
let's throw dzaima/BQN in the mix
@ngn what we (or at least i) are testing is the overhead of function evaluation
 
Why does '{} 1' not work? does runtime need a value?
 
@dzaima and why not, C# dzaima/BQN too (which doesn't support compiling to native bytecode for obvious reasons)
@dzaima (for a fair comparison, regular dzaima/BQN)
 
@rak1507 Yes. It compares results too.
 
2:30 PM
Wait BQN is incomplete right
 
@dzaima Hmm, if we're on the subject of I:
$ time echo "1000.i  f  1000oi f +b1*[*0.5" | ./IO > /dev/null

real    0m0.672s
user    0m0.640s
sys     0m0.030s
 
@Razetime the language is still being developed, yeah
 
So 0.67ms per execution. Not bad!
 
]runtime -c '({⍵}⍣10000) 1' '({⍵}⍣1000) 1' '({⍵}⍣100) 1' '({⍵}⍣10) 1' '({⍵}⍣1) 1'

({⍵}⍣10000) 1 → 2.1E¯4 | 0% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕
({⍵}⍣1000) 1 → 2.1E¯5 | -90% ⎕⎕⎕⎕
({⍵}⍣100) 1 → 2.5E¯6 | -99%
({⍵}⍣10) 1 → 3.7E¯7 | -100%
({⍵}⍣1) 1 → 6.1E¯8 | -100%
looks pretty linear
 
ngn
@rak1507 isn't {⍵} an idiom?
 
2:33 PM
yes
 
ngn
i'm still confused about what we are comparing here
 
@Marshall Wait, that version isn't compiling +b1*[*0.5 as a unit.
 
@ngn the performance of calculating the n'th triangular number by the x×(1+x)÷2 formula for each of the first 1000 natural numbers individually, nothing more :p
 
$ time echo "1000.i  f  1000oi f.o +b1*[*0.5" | ./IO > /dev/null

real    0m0.321s
user    0m0.300s
sys     0m0.024s
I is probably the only one that gets slower when you vectorize the arithmetic.
 
lool
 
ngn
2:43 PM
@dzaima dzaima/apl is just the upper measurement, right? (the lower looks like dyalog)
 
@Marshall No, that's the wrong result. And is wasting a lot of memory management time because it keeps old results around. Last one:
$ time echo "1000.i  f  1000oi f.o +b1*[*0.5.k o +.r" | ./IO > /dev/null

real    0m0.474s
user    0m0.464s
sys     0m0.013s
(I is maybe not the most usable language out there.)
 
@ngn in this message? yeah, dzaima/APL uses > for repl and dyalog uses 6 spaces. some separation of different parts is still a todo for paste
 
ngn
@dzaima so, you're claiming 0.044ms while dyalog is 0.130ms, ngn/k is 0.127ms, and (i measured) shakti is 0.115ms
that's 3x faster if it's true
 
@ngn apparently. makes some sense too for it to be fast in java too since 90% of most java programs are virtual method calls :D
 
@ngn It's a bytecode transpiler versus three direct interpreters, right? Doesn't surprise me at all.
 
2:49 PM
@Marshall dzaima/APL doesn't have any bytecode. but trains are pretty much pure recursive tree walkers
@Marshall (ngn/k does use bytecode though)
 
ngn
@dzaima yes, but no jit
 
@dzaima Oh, didn't realize that was the dzaima/APL time. If it's like dzaima/BQN it takes a lot of iterations to get the time down, so it might be doing some sort of dynamic inlining.
 
ngn
ok, 3x is an extraordinary claim. i'll have a closer look later. i must disappear now.
 
@Marshall with 1e5 iterations, it's stil 0.047ms straight from starting up. 1e3 is 0.15ms, and 10 is an awful 1.7ms
@Marshall i would not at all be surprised it's doing some magic too
but i also gotta go about now
 
3:47 PM
@ngn my .044ms is still ~160 processor cycles for what's essentially 5×virtual calls + 4×object allocations + 3×pervasion logic (which is probably the most expensive thing, and also includes an interface method call which might not be as simple as a virtual call) + the actual calculations
 
4:01 PM
@Marshall there is bound to be some iterations required as java requires some big number of times of execution to actually optimize/compile functions
@dzaima (there are of course a couple more things sprinkled around, such as the logic and forks checking for f g h vs A g h, but those would still be roughly free)
 
hm, im not using bqn vim keyb correctly.
i use pathogen, copied the directory into my pathogen path
opened foo.bqn set syntax
:echo g:bqn_prefix_key
E121: Undefined variable: g:bqn_prefix_key
 
4:17 PM
@dzaima BQNs pervasion logic is much worse (here from L12 returning at L19 (virtual call) → L65 returning at L72 (virtual call) → this for multiplication) yet it's 2x faster than dzaima/APL!
 
4:40 PM
I also tried w/ kakuone.
:source bqn.kak
:enter-user-mode -lock bqn
1:1: 'enter-user-mode' no such keymap mode: 'bqn'
 
5:10 PM
@Adám free to hop on a call (of the platform of your choice) whenever your free
 
@code_report Give me 10-15 mins.
 
:thumbs_up
 
5:23 PM
@code_report OK, can you come to my Zoom room? ID is the result of -\758,435,8447 in APL.
 
5:37 PM
@cannadayr The editor configs are designed to work when you edit a *.bqn file. For kakoune you could also manually run :set-option buffer filetype bqn; for vim I use :set keymap=bqn to get the keyboard on other filetypes.
I don't know how pathogen works so there could be an issue there; I just have all the files in editors/vim/ symlinked to the matching locations in ~/.vim/.
 
ngn
6:24 PM
@cannadayr g:bqn_prefix_key is a variable you can define to override the default. the plugin doesn't define it.
 
@Marshall cool cool I got it working. in vim, do you know if theres a way to "lock" the apl keyboard, instead of using a prefix key?
was gonna go for a walk to take adv of this weather but i might hack together a xkeyb file later if there isn't one yet
 
@cannadayr this?
 
@cannadayr Probably not with the current system, but I expect you could tweak keymap/bqn.vim to do it somehow.
 
ngn
@cannadayr why would anybody do that?
 
@ngn use an xkeyb file or lock/unlock the prefix key?
@dzaima +1 +1 +1
 
ngn
6:32 PM
@cannadayr lock the prefix key
 
@dzaima I can put this (adjusted to match the editor maps) in the repository. What should the filename be?
 
@ngn because of the way vim prefix keys work it only will modify the immediately successive character
what i normally do in X, use use the 4th+5th levels on my keyboard
 
@Marshall just bqn probably makes sense with a comment somewhere, as the other keymaps are plainly named too (e.g. apl is apl)
the file name is the primary way of addressing the keymap with setxkbmap
 
ngn
@cannadayr so you if press the "lock" key once and then type abc, ⍉⌊↓ will appear on screen?
 
@ngn i use right alt to go to 4th/5th levels
 
ngn
6:39 PM
@cannadayr ah, so you mean a modifier key, i.e. it types alternative characters only while (not: after) alt is pressed
 
@ngn yes but im not sure if vim can do that, i think it just uses prefixes, but i prefer the xkeyb change
 
ngn
@cannadayr i think due to the way terminals work, <alt-something> comes in as <esc>something
 
6:54 PM
@cannadayr Here's my keymap for XKB.
Untested, so please let me know if there are errors.
 
@Marshall (might want to add beside space as i forgot to)
 
@Marshall thx thx
 
@dzaima Just in the comments, right? It's there for <SPCE>.
 
@Marshall yep
 
@Marshall i merged this into my keymap file and it looks like it works perfectly ty. is there also a monospace font you use? (to get around dbl-width characters not being displayed properly in terminal)
 
7:06 PM
@cannadayr I'm still using this one based on DejaVu Sans Mono but it's missing 𝕣𝕤𝕊, so BQN386 is probably better.
 
@Marshall (fwiw making a good BQN/APL DejaVu font is something i'd like to do at some point; i prefer DejaVu for text (alphanumerics) but prefer APL385 for the actual fancy characters)
@dzaima (the latter note being mostly unrelated, if there was any confusion. it'd still be in the DejaVu style, just more organized/complete)
 
7:29 PM
ive got the font installed:
$ fc-list | grep -i bqn
/usr/local/share/fonts/BQN386.ttf: BQN386 Unicode:style=Regular

but doesnt show up as a custom font in gnome terminal. googling
 
ngn
@cannadayr whatever the problem, fc-cache -fr usually solves it :)
 
@cannadayr i was annoyed by that too, no clue what it uses to decide what's an acceptable terminal font
@ngn gnome-terminal shows a tiny subset of all fonts
it's probably expecting some marker of monospacedness about whose existence i know nothing about
 
@dzaima it shows up in gnome tweak tool
@dzaima but not in my gnome-terminal profile
 
@cannadayr exactly
 
ahh okay i got it working heres what I did:
1. install bqn386.ttf to /usr/local/share/fonts
2. fc-cache -fr
3. using gnome tweak tools set BQN386 to default system monospace font
4. make sure gnome terminal does NOT use custom font
much cleaner now thank you every1 for the help
gonna take adv of this weather and go for a walk but ill probably be back on later
btw @dzaima using your REPL setup was very easy on debian sid
 
ngn
8:29 PM
@dzaima have you tried writing it as a dfn? :)
 
@ngn yeah, and i know it's absoutely awful. :P
 
ngn
@dzaima i don't know what the jvm is doing with your trains but it's amazing
it's a factor of ~2x on my laptop (my cpu might be missing some instructions)
i thought jit might be vectorizing the computation but it's not - it's faster without ¨
 
 
1 hour later…
ngn
9:52 PM
@Razetime 22 bytes: 'P3'newline3 3 1newline(⍳3)∘∊¨⍳3 3
 
 
1 hour later…
11:17 PM
APLCart has "+∘-N Negate real part (“real conjugate”)" and "-∘+N Mirror complex N in y-axis".
Are they ... the same thing?
 
ngn
11:52 PM
@TessellatingHeckler yes but the second is probably described incorrectly (if "y-axis" means the imaginary part)
or perhaps "in" really means "across"
 

« first day (1311 days earlier)      last day (1349 days later) »