Search
Sunday, 17th of February 2019, 12:17:47 UTC
17:38:56
phoe
Shinmera: let me know when you've rebuilt qtlibs - I'll want to upgrade and remove the workaround from qui
17:39:00
phoe
for now, I'll keep on using it though
17:52:12
Shinmera
i know, that's literally what we already decided yesterday
17:52:40
phoe
yep - I just wanted to stress that I'm waiting for it
18:00:54
phoe
Shinmera: about overrides, it doesn't seem like CALL-NEXT-METHOD or CALL-NEXT-QMETHOD works
18:01:24
phoe
CALL-NEXT-METHOD errors with no next method, and CALL-NEXT-QMETHOD doesn't call the next override, it just drops down to the basic qmethod
18:03:23
Shinmera
read again what I told you to do
18:03:29
Shinmera
you need to pass the method name
18:06:26
phoe
And, whenever I override, I need to pass that method name to all overrides, and then use CALL-NEXT-METHOD in all but the deepest call?
18:08:44
Shinmera
"pass it" is the wrong term, it's not a function call. You specify it in the override definition
18:09:25
Shinmera
alternatively you can just, uh, not define-override and instead defmethod
18:09:39
Shinmera
for all but the topmost
18:09:55
phoe
topmost, you mean, the one that gets called last?
18:10:03
phoe
the one that's deepest in the call chain?
18:10:17
Shinmera
the one that does define-override
18:12:06
phoe
sigh, now I gotta make yet another PR to fixed-qtextedit to also include the GF name
18:12:26
Shinmera
you could not include it and just defmethod on the one it generates
18:12:38
Shinmera
not pretty, but it works
18:17:47
phoe
the thing is, I need to export it from qui anyway
18:18:05
phoe
so I may as well export something that doesn't begin with a percent sign
21:00:42
phoe
Shinmera: would you enjoy https://plaster.tymoon.eu/view/1202#1202 in qui?
21:00:42
Colleen
plaster.tymoon.eu/view/1202... Website (XHTML), Title: - Plaster
21:00:56
phoe
the first is for appending a paragraph to a qtextedit and aligning it in a certain way right afterwards
21:01:18
phoe
the second is literally "draw that svg on a new pixmap and return it"
21:03:13
Shinmera
not the first, but the second, sure
21:04:21
Gnuxie[m]
Shinmera: what irc client did you use in the trial Q&A?
21:05:06
Shinmera
Did I use one? The Q&A went over the stream chat
21:05:21
phoe
which file should I put it in? toolkit.lisp?
21:05:35
Shinmera
phoe: doesn't it require qtsvg?
21:05:54
Shinmera
in that case, toolkit won't do. Can't force qtsvg on everyone
21:06:33
phoe
Shinmera: it does require it
21:06:36
Shinmera
maybe make an svgtools thing, idunno
21:07:14
phoe
I'll make a new ASD and put it there
21:07:15
Gnuxie[m]
Shinmera: no i mean before it started you were checking something and it had irc and discord rooms
21:07:19
Shinmera
I don't care, svgtools would be more consistent
21:07:33
Shinmera
Gnuxie[m]: Uh, I have nothing that has both IRC and Discord
21:07:47
Shinmera
IRC is Weechat, Discord is via Ripcord
21:09:16
Shinmera
you're welcome to try and dig into the unholy mess that is the undocumented and unsupported discord client API and write a lisp library for it
21:09:39
Shinmera
if you do that I'll hook it into Maiden and work on writing a UI again
21:12:21
Gnuxie[m]
I was working on something that could wrap a list of api-endpoints automatically but can't see it being useful
21:14:24
Shinmera
though that reminds me to finish another project of mine, a graphql lib
21:29:40
phoe
Shinmera: flingin' a PR your way
21:31:40
Shinmera
you don't need to tell me every time, I have email
21:31:59
phoe
oh, you mean it should be in a separate PR?
21:34:10
phoe
sigh, making a PR per each commit is a hassle
21:34:41
Shinmera
I could just give you push access too
21:35:27
phoe
Are you sure? I might irrepairably break shit for you that way
21:35:50
Shinmera
I'll just complain if that happens... on the internet!!
21:36:50
phoe
> You now have push access to the Shinmera/qtools-ui repository.
21:37:16
phoe
thanks - I'll do my best to keep it sane there
21:37:28
phoe
and direct any questions here
21:37:52
Shinmera
though feel free to do whatever, I did it mostly so I'd get less messages, not more
21:38:39
Shinmera
general recommendation: set up PGP signing for your commits
21:43:18
phoe
let me figure out how to do that
21:44:11
Shinmera
Magit has a =S option in the commit popup
21:44:26
phoe
never got to learn magit properly
21:44:27
Shinmera
what is wrong with you
21:44:41
Shinmera
learning magit is easy as fuck
21:45:59
Shinmera
using magit allows you to be even lazier
21:46:26
Shinmera
anyway, the gist is adding --gpg-sign=KEY to commit
21:46:38
Shinmera
which magit will do automatically for you if you set up =S
21:47:00
Shinmera
magit's log is also actually usable
21:47:14
Shinmera
and its commit window allows you to easily stage individual hunks or even lines
21:47:31
Shinmera
by just going where you want with the cursor and hitting 's' or 'u'
21:48:19
Shinmera
'c' is for commit popup, 'F' is for pull popup, and 'P' is for push popup.
21:48:28
Shinmera
from there it should be trivial
21:48:43
Shinmera
it's really self-explanatory
22:35:12
Shinmera
annoying that there's a decode-float, but no encode-float
22:38:44
no-defun-allowed
doesn't look too hard to write
22:39:13
no-defun-allowed
i'll take that back actually
22:39:44
no-defun-allowed
i thought it just put out something like a*2^b but no
22:40:17
Shinmera
I mean, the notes literally state: (multiple-value-bind (signif expon sign) (decode-float f) (* (scale-float signif expon) sign)) == f
22:41:27
Shinmera
but I would have appreciated a homogenuous interface
23:02:02
Shinmera
Aight, got a lexer for GraphQL
23:02:10
Shinmera
probably gonna write the parser tomorrow
23:02:36
Shinmera
Then I can go back to the anguish that is figuring out how to automatically generate schema accessors
Monday, 18th of February 2019, 0:17:47 UTC