« first day (1457 days earlier)      last day (1198 days later) » 

7:02 PM
pushed my own paste update - svg, html, plain text, download. Also experimenting with a different button order and hiding some buttons until editing. if anything's annoying, weird, broken, or otherwise unsatisfactory, please tell me
 
I guess that rules out merging?
 
@Wezl I'd want to tweak things anyway, and getting it in a mergable state in the first place would take work as you yourself noted
 
ngn
@dzaima suggestion: use codemirror and have a single tab for edit&view (with syntax highlighting)
 
@ngn does codemirror have BQN syntax highlighting? :)
 
ngn
@dzaima i bet it doesn't :)
 
7:09 PM
well there you go
 
ngn
but it has for all the other languages you support
 
@ngn its APL highlighting is pretty unsatisfactory. I prefer full control over how coloring is done anyways, and it allows doing the fancy embedded HTML/SVG stuff
anyways gtg for ~15mins
 
ngn
ok, never mind
 
it's listed first, so you'd think it would be something to be proud of :)
 
ngn
@Wezl that's the built-in one. indeed, that one is not great. i'm not sure if dzaima meant that or ride or both.
"not great" because it doesn't support the intricacies of apl/dyalog syntax, but otherwise may be ok for a paste, i'm not sure
 
7:25 PM
@ngn the most important thing to me is that it doesn't differentiate fns/mops/dops
I may at some point pull in some generic highlighting library, but not a dynamic editor. As the name implies, paste is for pasting stuff, not editing
@dzaima oh maybe it does, but that list of operators is pretty tiny (it would be pretty easy to update, but still; also i don't know how well it'd do with me wanting separate themes for APL and BQN)
 
I like paste as an alternative to something like carbon that supports APL+BQN
CMC: implement LLL lattice reduction
 
ngn
@dzaima how do you highlight bqn now?
 
ngn
that's not a lot of code
 
@ngn did you want more? :)
 
ngn
7:39 PM
@dzaima no, i mean it should be easy to turn into a codemirror language mode
 
@ngn yeah
 
@dzaima You could highlight parens and braces based on their syntactic role if you felt like writing a parser...
 
@rak1507 it also gives quite shorter links, useful for SE's limit of 500 (910 chars→292 for its default example)
 
@ngn whoa that's a bit of code! lol
 
ngn
7:57 PM
@dzaima what algorithm? zip?
 
@ngn same thing TIO used - pako, which is zlib. I meant to experiment with different compression algorithms, but never did
 
ngn
i went for huffman in ngn.bitbucket.io/k (i think i've mentioned it before)
 
@ngn for the same carbon example, 387 vs paste's 256 (just taking the portion after # and excluding =s)
 
ngn
@dzaima yes, i'll have to switch to pako
 
topaz paste (known from being recommended by AoC) with lzma is 306, though i've seen it be better than pako on a bigger input
 
8:31 PM
I like the carbon custom font option, but it only makes sense for exporting images bc links with fonts embedded are going to be huge
or maybe I could add it to paste by asking for a link to a font somewhere on the interwebs, so it's linked, not embedded
 

« first day (1457 days earlier)      last day (1198 days later) »