« first day (440 days earlier)      last day (1335 days later) » 

01:41
@lyxal Given that there are many languages in highlight.js that exist that SE is actively choosing to not load, it is pretty much 100% not going to get added - even for practical purposes, one will likely never get added, and this is a random golfing language we're talking about :P
Heh
it was worth a shot
 
3 hours later…
04:40
@lyxal I can just provide the static version I had before I integrated it into codemirror in the first place as a static JS file that returns HTML, but oh well.
@Ausername yeah, it doesn't matter now. I guess we'd have to increase in popularity and usage
A lot.
Also, I came back online to like 10 challenges.
Ooh I is big brain
04:57
@Ausername I don't know
I got 8 bytes
Oh
Well done
Ykw I'm adding that to the tips list
Isn't r the easiest flag to reomve?
just do Ǐƛ⁰$/‹$Ḋ;Π - wouldn't that work?
(assuming the original answer worked)
It almost does
05:02
you just need to filter out primes
also, 2 isn't really an edge case
Treu
Why are you that obsessed with spacing?
well your columns don't line up otherwise
the ; and the AND are in the same column
Oh
Refixing
05:13
@hyper-neutrino everything can be done flagless. I think the question was more
"can this be as short or shorter without flags"
Yes thats what I mean
Actually fixed, I hope.
Just port jelly
It should come out roughly the same length
is there "filter a out of b"
this is the problem i have with excess overloading; a lot of useful functions don't work on types that they'd be arguably more useful on
Yes
There should be a filter a out of b
I say should because I can never remember which one is which
05:21
@lyxal this is set difference right
yes but with lists
1 min ago, by lyxal
I say should because I can never remember which one is which
although here it doesn't matter
∪ (a: any, b: any)                   = set union # Merge without duplicates
∩ (a: any, b: any)                   = set intersection # Common elements
⊍ (a: any, b: any)                   = set(a) ^ set(b)
05:22
@Ausername beautiful editor.
tbh 0/10 for characters that don't space nicely :P
it spaces quite fine on my end
same
probably becuase I force all monospace things to iosevka
0/10 font choice by me then
05:23
@Razetime Thx
oh the answer username linked works fine
if you force all fonts to GNU freefont, everything will align
but stuff like AND don't
wait...
is decrement a shortcut for push 1 and subtract
hence why r is causing it to become complement
05:27
@hyper-neutrino y..yes
...
well done
it...it shouldn't be?
56 secs ago, by hyper-neutrino
is decrement a shortcut for push 1 and subtract
is that bad?
like are you asking me if this is bad or are you saying r shouldn't be flipping it
05:27
12 secs ago, by lyxal
is that bad?
Its annoyinh
wait hold up
ok this is even more cursed
it's not actually consistent
try just with the r flag on
try Ǐ$o$/‹ with no flags
this doesn't seem to be a bug with the r flag necessarily
global stack, register, printed, output, MAP_START, MAP_OFFSET, _join, _vertical_join, use_encoding, input_level, raw_strings, retain_items, reverse_args, this_function
stack.append(prime_factors(pop(stack)))
top, over = pop(stack, 2); stack.append(top); stack.append(over)
needle, haystack = pop(stack, 2); stack.append(remove(haystack, needle))
top, over = pop(stack, 2); stack.append(top); stack.append(over)
rhs, lhs = pop(stack, 2); stack.append(divide(lhs, rhs))
stack.append(subtract(pop(stack), 1))
it does not push 1 and subtract
you lied to me
oh
well maybe maintaining 2 branches has confused me
and i found the problem
compare 1 2 3 4 5W‹ and 1 6r‹
it's my least favourite kind of issue: generators and vectorising not playing nicely
05:32
Oof.
I can't actually seem to find an issue in either subtract or _two_argument
It'll be something to do with _safe_apply
or the actual vectorise function
dw I'm working on a fix
wait, you don't have (Generator, types[1]) mapped
oh nvm that's not a problem
yep
just what i thought it was
sigh
I changed the way _safe_apply takes its arguments some time back
(intentionally btw)
05:35
Oh yeah because vi
and of course I had the arguments passed incorrectly inside vectorise
try now
I think I added the functionality that makes this work a while ago (product of empty list)
05:38
why does λǏo:?/‹ḊΠ;ṅ not work
it's just the answer wrapped in a find-first
> Most recently popped arguments: [0, '0']
why tf is it popping a STRING???!
idfk
Uh..............................................................................................................................................................................................................
better question: why does Ǐ return an empty list on 0 and 1
because that's where the issue is coming from
05:44
that makes sense, I think
@hyper-neutrino did you make sure to enable the r flag?
... i think so
it was TLEing when I had it
Javascript is the Javascript of all programming languages.
@hyper-neutrino and also, replace ? with n
05:50
oh
 
6 hours later…
11:52
Any feedback for Vylight, which is part of the editor now?
5
 
1 hour later…
13:14
@Ausername it seems that the data entered into the code box is no longer being recognised as being in the code box
As in, document.getElementByID("code").value doesn't return the code present
The POST request made when the submit button is clicked relies on the value of the textareas
 
1 hour later…
14:44
@lyxal i'm trying to run vyxal locally, i get the error no module named flask_cor, even if i installed all modules from requirements.txt
@math Did you do pip install flask_cor?
@math Oh, wait, that's my bad, it should be pip install flask-cors
@AaronMiller thanks. but i have a problem with git, too, it's named different.
I couldn't figure out the git one either, but that's only needed for the auto-update thing on the site, so you can just remove import git from line 5 of flask_app.py
14:53
ok, but mustn't i get a localhost link? it made a folder i think, but no output
no wait, i just had to say app.run()
Run FLASK_APP=flask_app.py flask run and then go to http://localhost:5000
@AaronMiller thanks
 
3 hours later…
17:40
Idea: There's a bunch of mirror/palindromise functions, and a bunch of is_attribute(a) functions, but we don't have a is_palindrome function. Unless I'm blind, which is always a possibility. However, if I'm not blind, I think that should be added as a new diagraph or something.
17:56
@Ausername Looks pretty good
[feature-request]: highlighting matching parens/braces/lambdas and semicolons?
 
2 hours later…
19:45
@user There's a addon for that, but I'd have to get it to backmatch the first valid token before a semicolon...
@lyxal If you're on the static version , it's static. If not, make sure you're using e_code/e_header/e_footer.doc.getValue().
20:30
Oh
Btw Vyxal's approaching 1k commits!
 
2 hours later…
22:56
56
A: ImportError: No module named git after reformatting laptop

Martijn PietersThe git module is not the same thing as the git command line executable. They happen to have the same name and cover related tasks, but they are distinct software packages. I'm going to assume that the git module your code is importing is the one provided by the GitPython project. You'll need to...

gitpython
I'll have to add that to my requirements list

« first day (440 days earlier)      last day (1335 days later) »