« first day (1010 days earlier)      last day (765 days later) » 

01:01
@Ginger Yeah not everyone does it, but I don't think it's unusual to have an empty __init__.py
@Ginger I think it's very likely that you will, it just so happened that this one doesn't require modifying Vyxal/Vyxal
I still don't see why Crosshatch needs to be a separate repo. If I were someone who wanted to try out Vyxal and did pip install vyxal, I would expect the REPL included in that to be the "good" one. I don't see why people should have to explicitly do pip install vyxal[repl] to get the good REPL, since Crosshatch isn't a 5GB package or something
It will very likely end up being less than a dozen filies, which is not very big
@Ginger Fixed
01:21
Steffan153 approved on PR #1554 (Vyxal/Vyxal): "I guess that makes sense."
@Steffan Should we have a digraph for doing multiple replacements on a single list? Or move the current behavior to a digraph?
01:48
ysthakur created branch Vyxal/v3-mill
The only problem with mill is that it isn't an acronym like sussy baka training is
ysthakur opened PR #1563 (Vyxal/Vyxal) (Vyxal:v3-mill → Vyxal:version-3): Mill support for v3
@lyxal mill is a pretty run-of-the-mill build tool, which is good
sbt is awesome and powerful and all that, but I really dislike the shell
Any modern build tool should be able to make daemons
Frick batch mode
Simple build tool more like shitty build tool
How do you feel about supporting both sbt and mill for a while until we can be sure mill really works?
đź‘Ť
poggers
02:00
@user but I can't make jokes about it like I can shady blue tourists :p
New libraries won't be added very often so it shouldn't be too hard to ensure that build.sbt and build.sc are in lockstep
@lyxal You can, it's just a bit harder to make jokes about my Italian lasagna's limpidness
Hmm, limpid does not mean what I thought it meant
Which makes limpid lasagna all the more worrying
Huh, configuring Mill actually seems to take less code than sbt
@user Massive inidgo lime-shaped legumes just doesn't have the same ring as seriously big toes :p
Yeah
I guess it's the 2 L's making it hard
We probably won't need that ScalablyTyped thing since most of our Scala.js code will just be a bridge between real JS and the shared code
But good to have starred ig
Just on the topic of test formats, I quite like the describe, describe, it format
So maybe something that can replicate it would be good
02:16
Which one's that, AnyFunSpec?
We don't need to replicate it, I think
Holy hell, it's been a year and a half since cookie
We need another LotM-style thing to drive up Vyxal's popularity, there aren't enough people using it :(
Getting added to week.golf was good though, looks like a few new users came in
I think Vyxal doesn't really have the reputation of being an "easy" language yet
02:50
@user java naming conventions go brrr
@user gradle
 
3 hours later…
05:22
@Seggan no.
My experiences with gradle have not been fun
I do not want gradle
 
5 hours later…
10:01
@Seggan gradle doesn’t support scala as well as sbt and mill
I wish it did but anyway, gradle is kinda complicated and I’m not a fan of groovy (and the kts files don’t seem to work well with plugins that are unaware of kotlin)
@Seggan wdym
@lyxal may i ask what specifically put you off?
I haven’t found gradle to be that bad
@user the fact that it needs to download every single library each and every time I open a project
If the Scala community devoted all its efforts to gradle instead of Scala i would move my personal projects to it too
@lyxal it shouldn’t be doing that
Well it does
Every time I open something like Android studio or intellij, it starts downloading a whole bunch of stuff
Maybe there’s a setting making it not cache?
I wouldn't know because I don't use it any more
10:05
@lyxal what about from the cli?
Oh ok
Never used it from the cli
I suspect that was an intellij issue
I’ve had it do all sorts of goofy stuff like telling me a dependency didn’t exist because it somehow went into offline mode
3 mins ago, by user
If the Scala community devoted all its efforts to gradle instead of Scala i would move my personal projects to it too
mathcat4 deleted branch Vyxal/workflow_test
*instead of sbt
Silly bear topics is cool though
10:08
It is
But I’ve heard writing plugins for it is complicated, though not as much as gradle (not that we’re doing any advanced stuff with it)
Really the only reason why I want mill is the shell
I think it might be possible to make an salacious bacon tripod wrapper to allow it to be used without a shell
6
And then we won’t need millexcept for the project structure
Can v3 already convert yaml to md?
There is no yaml
It's all in the code
wait what where
In the elements folder
The parameters given when adding implementations also acts as data source for txt and md
ah
so GenElements handle that?
10:27
Yes
And can somebody link the docs, I can't find it.
oh its in the main repo nvm
 
2 hours later…
12:11
Lyxal merged PR #1554 (Vyxal/Vyxal) (Vyxal:1398-make-replace-and-replace-first-occurrence-loop-over-lists → Vyxal:main): Make replace and replace_first deep
Lyxal deleted branch Vyxal/1398-make-replace-and-replace-first-occurrence-loop-over-lists
Lyxal closed issue #1398 (Make replace and replace first occurrence loop over lists, Vyxal/Vyxal)
off it goes, heading to the pypi :p
@user looks like it's running 2.18.3 at the very latest (a November 2022 release)
@VyxalBot ayy I actually did something
 
2 hours later…
13:57
> However, the rule of thumb in Scala is to always use val unless the variable specifically needs to be mutated. (@user)
Is this just a thing in scala or is it better performance-wise?
 
1 hour later…
15:06
GingerIndustries closed PR #1560 (Vyxal/Vyxal) (Vyxal:add-a-version → Vyxal:main): Add a __version__ attribute
GingerIndustries merged PR #5 (Vyxal/Crosshatch) (Vyxal:vyxal-version → Vyxal:dev): Get Vyxal version
GingerIndustries deleted branch Crosshatch/vyxal-version
GingerIndustries closed issue #3 (Have the greeting report an actual Vyxal version, Vyxal/Crosshatch)
ain't that spicy
15:29
!!/help
All of my commands start with @VyxalBot or !!/
- Use "ping me" or "don't ping me" to add/remove yourself from the ping list
- To evaluate Vyxal code, use "(execute|run|run code|evaluate)", followed by code, flags, and inputs inside inline code blocks (multiline code is not supported; provide multiline input in multiple code blocks)
- For a full list of commands, see https://github.com/Vyxal/VyxalBotSE/blob/master/instructions.md
!!/status
@Ginger I am doing a binge marathon of Breaking Bad. What the frick are you talking about Jesse?.
ah yes, ?.
16:15
@mathcat nothing to do with performance, just considered good practice in Scala and other languages
If you declare a variable with val then the compiler will yell at you if you accidentally try to assign to it
(Getting the compiler to yell at you when you screw up is a good thing in statically typed languages)
And it only takes a small change (var -> val)
Re: ^, aby thoughts?
On ehat constants to use
Maybe we can make a Discussion to vote on
alright so
there does not seem to exist a version of Vylight for Python
so I guess I get to make that too :p
16:30
Vylight runs in the browser
I’m not sure what a Python Vylight would do
Unless you’re talking about syntax highlighting in the repl
well technically it's just going to be a utility class that's part of Crosshatch
That’d be cool ig
yeah, what I really want is for the prompt to automatically syntax-highlight as you type
16:46
alright, I found a module that could work, but tbh it feels like overkill for what I want
I'm already using rich, do I really need a whole other CLI toolkit just for input?
17:19
found more complete bindings for GNU Readline, which should work, but they require the user to have ncurses installed on their machine :p
eh, it's probably fine™
 
2 hours later…
18:52
okay, I have decided that it is not worth my time to have as-you-type highlighting
19:07
@user kotlin works perfectly fine in my opinion
@user sounds like the ObjectExecutorFactory things java unfans make fun of
Vylight is... a hacky fork of the original Jyxal created when I had no idea how parser grammars worked.
lol
19:38
@Seggan I had to use mangled groovy names when configuring a plugin once
@Seggan ah, no, it’s not some abstract nonsense, if you see the docs they explain why it’s named that
The *Spec classes are for specifications
The Fun means it treats tests as functions (I think)
Not sure what Any means exactly, I’ll have to check the docs when I’m at my laptop
@Seggan i think it was a ktlint gradle plugin (the one by the person whose name starts with j)
I’m waiting for the majority of people to switch to kts so that kotlin becomes better supported than groovy
Even if groovy is more flexible with its syntax (which really becomes a disadvantage if you want helpful errors)
@Seggan there’s also AnyFlatSpec, where you don’t nest your tests; WordSpec, which restricts the format/wording of your tests; and AnyFunSuite, which seems to be like AnyFunSpec but not nested, I think
I think AnyFlatSpec uses “it should” which I don’t really like
AnyFunSuite has a more normal test() syntax
Okay imma stop talking about non vyxal stuff now
—-
@Ginger sorry if i sound like a broken record, but could you please tell me why crosshatch beeds to be a separate repo and what the disadvantages of putting it in the main repo are? I’m just confused
Does crosshatch require a ton of dependencies that people won’t want?
19:57
maybe we can move the code to the main repo after major features (like syntax highlighting) are added
Also, what do you think of a v3 tutorial for first-time golfers?
If vyxal is designed to be a good lang for beginners, you probably need one.
IMO you couldn't understand the v2 tutorial if you were new to golflangs.
When I first tried to learn vyxal, even after half learning pyth and japt, I had trouble understanding the tutorial. (But granted, that 2 years younger me).
@mathcat that’s a great idea!
It’s slightly different from vyxal v2 so itd be useful to have another tutorial
@mathcat what about hyper’s tutorial? I thought it was pretty good
!!/info
@user too short
I agree
Good if you’re just starting out though
20:08
true
Also i love the vyxapedia and jelly site themes
Everyone knows looks are more important than content
3
are list literals ever used?
20:25
Given a list and an integer (not received via input), what's the easiest way to calculate the difference between the integer an each element of the list?
<list><int>-?
or ε is you want abs difference

« first day (1010 days earlier)      last day (765 days later) »