@lyxal yeah, it's mostly because i figured I'm not very active of a contributor anymore... like i don't mind contributing but i'm not active here enough to know what needs doing
@ASCII-only would you recommend that? like I haven't done enough research into it but it (deno) looks cool; are deno and discordeno stable enough?
I'll have to look into if it supports the other libraries I need but if it has noticeable stability or performance benefits I might want to rewrite my bot (again...) in it lol
I have noticed that djs is pretty annoying to use with ts
especially that one version where they half-implemented discord adding text-in-voice to stage channels so they'd pass .isTextBased() but not have a .send() meaning I'd need to use "send" in channel which is horrifying and terrible
@hyper-neutrino deno should be very stable nowadays, discordeno... is full-featured enough for me but i dont use anywhere near all of discord's API so i cant really say whether itll cover your usecase
i guess you could do a quick search in issues for some of the more obscure features (if any) if there are any they still havent implemented or something
@ASCII-only not sure about "needs" but I had a few ideas it would have been nice to run past you, such as Pivot(:Right); to set the pivot direction absolutely, multidimensional indexing for AtIndex and AssignAtIndex, or I was also pondering a complete rewrite of the canvas handling code since it didn't like it when you skipped lines out completely
> In converting from B to C, one wants to replace & by && in such a statement; to make the conversion less painful, we decided to keep the precedence of the & operator the same relative to ==, and merely split the precedence of && slightly from &.
@user yeah my only concern about discordeno is it might stop being updated at some point if it doesn't have as much of a community and dev team backing it as djs does; djs is too large for people to just abandon it (presumably)
I looked into it and it seems stable enough? and the way it does things looks pretty nice at least
@ASCII-only alright, thanks
oh, one thing I needed to find a weird workaround for in my current code was being able to dynamically unload/reload files which I ended up doing by setting my compiler output mode to convert my imports to require and then using require and deleting stuff from require.cache - seems like deno supports that natively though with deno cache --reload=file.ts though which could be really nice
What about this one? github.com/xsduan/conniebot/blob/dev/src/helper/utils/…DMChannel doesn't have the permissionsFor method, but other channel objects do, and the only way I know of to convince TS this is safe is, once again, in
I want to be clear on something: I did not write the majority of this bot. I've been its primary maintainer for the past couple years, but was not for the majority of its existence.
Rabbit's development process is Cunningham's Law as an art form: I post my godawful code, everyone's like "nooo Ginger you should be doing it this way instead", I steal their code while laughing evilly, and rinse and repeat
but also yeah what ginger said probably isn't a bad idea; especially if (not saying you are, but if) you're the only person really working on it it's probably worth the time to rewrite it into something you can more easily work with
As I said, I'm also not hosting it. If I want to do it in basically anything other than JS (the host has node) or C (the host has gcc) I'd almost certainly have to switch to hosting it myself
My path is set to /run/wrappers/bin:/home/beberka/.nix-profile/bin:/etc/profiles/per-user/beberka/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin
If you're linking against Foundation, that already has these (and re-exports them even) so you don't have to do this. But some libraries, especially for server-side Swift, try to avoid Foundation.
Foundation is dynamically linked on Darwin platforms but statically linked everywhere else; it really bloats your binary size if you're not compiling for Darwin
@Bbrk24 It's so that you can have multiple generations at once, I think. If your current generation is messed up, you can boot into a previous generation instead
You know what I hate? Scripts that use #!/usr/bin/bash rather than #!/usr/bin/env bash or #!/usr/bin/sh
I have seen advice in several places to use the following shebang line
#!/usr/bin/env bash
instead of
#!/usr/bin/bash
My knee-jerk reaction is, "what if somebody substitutes this executable for their own in say ~/.local/bin ?" That directory is often set up in the user's path before the sys...
turns out there was never actually a version of c without &&, but they decided to keep the precedence from b anyways just to make it easier to port lmao
Your bots went to the mall together, but they got lost! Worse, they didn't agree on any strategy to find one another again.
Here's what they do know:
There are \$n\$ stores, and bots can only meet each other in the stores.
Each time step, each bot must choose one store to be in.
Two bots go t...
@user you're the only person I know who can list file directory paths and leave me wondering if you mean a generic path or an absolute path you have on your computer