Sender | Message | Time |
---|---|---|
24 Sep 2024 | ||
Phil |
I used | 09:29:21 |
Mist | Oh, ol' gnuplot. It's a very cool tool indeed! Used it for my math notes until I decided to go a little crazy and do some python plots | 09:38:02 |
Mist | Wonder if should do some lisp once for fun | 09:38:07 |
Mist | Interesting, there are some cool libraries on GH for lisp plotting 🤔 | 09:40:15 |
Phil | I've occasionally seen screenshots of some nice embedded org-mode plots – people generating data via org-babel code blocks, and then passing that to gnuplot (or whatever), and having the resulting image embedded into the output block. Pretty nice. (And maybe more or less what you were doing?) | 09:53:38 |
Mist |
In reply to Phil Yup, that is what I was doing indeed! Thinking about my setup atm and what I should go with for this new class | 11:40:09 |
Mist | Will come back with setup if you are interested :) | 11:40:14 |
viz | In reply to MistRacket's plotting lib is solid | 11:54:09 |
alphapapa | In reply to @gilganix:matrix.orgSetting that variable stops future automatic syncs, but an outstanding sync won't be interrupted, so you may need to wait until the ement-syncs variable is nil before starting the profiler. Sorry that I forgot to mention that. | 11:54:41 |
alphapapa | In reply to @phil.catalyst:matrix.org I'm nearly certain that it's GC. If we start doing our thing and Emacs is close to doing GC anyway, then our work triggers it. I wonder if using that package that does GC while idle would solve that. | 11:56:35 |
alphapapa | In reply to @ruther:ditigal.xyzWow. Please be sure to report that. | 11:57:06 |
Phil |
In reply to alphapapa Aha. My apologies for suggesting a driver error with the profiler then, Mist. | 12:01:16 |
Mist | No worries Phil! :) | 12:14:06 |
Mist | Also alphapapa, want me to redo the profile-report bit? | 12:14:53 |
alphapapa |
In reply to Phil
Well, I think I was wrong too: | 12:19:06 |
alphapapa |
In reply to Mist Please see the comment I just posted on the GitHub issue. | 12:19:13 |
Mist | Want the whole report or just mentions (+ parens) of revert-buffer? | 12:23:43 |
Mist | 34 3% - funcall-interactively 34 3% - revert-buffer 34 3% - ement-room-list-revert 34 3% - ement-room-list 11 1% - taxy-fill 11 1% - #<byte-code-function 1F2> 11 1% - #<lambda AEF> 11 1% - taxy-take-keyed 11 1% - taxy-take-keyed 11 1% - taxy-take-keyed 11 1% - taxy-take-keyed 10 1% - taxy-take-keyed 10 1% - taxy-take-keyed 10 1% - taxy-take-keyed | 12:24:22 |
Mist | Will post those bits in the issue if you confirm that this is enough | 12:24:31 |
Mist | No other mentions of revert-buffer besides above | 12:24:56 |
alphapapa | If the directions were followed carefully, then go ahead and post the whole thing, please. | 12:25:19 |
Mist |
I did wait +1 minute -> room list -> profiler start + cpu -> | 12:26:12 |
Mist | That is enough, yes? | 12:26:15 |
Mist | Left a comment in the issue page. Please check it out! :) | 12:28:56 |
alphapapa | FYI, I've pushed a commit to master that adds support for viewing other types of authenticated media requests (e.g. files and audio attachments; til now it was just image messages). Please report any problems. I'll probably delay the v0.16 release for another week to give this time to settle. Also, I've yet to implement a separate action to download attached files rather than displaying them in Emacs. (It's all much more complicated now since the requests must be made with Matrix authentication, so you can't just get a URL to download in an external program.) | 18:46:35 |
Mist | How would one go on about viewing the other media types through Emacs? (never done that before tbh) | 21:26:39 |
25 Sep 2024 | ||
alphapapa |
In reply to Mist I suppose one could write some code to pipe the data to external viewers or players, but other than that, you'd probably need to download them to a local file. I could even imagine a hacky thing that would serve a file from a local port to an external browser… Many possibilities, but basically, just download it. This is an unfortunate consequence of the move to authenticated media on Matrix servers: you can't just get a URL and request it from any program. | 01:08:30 |
alphapapa | But it's probably necessary, otherwise any media you post that's unencrypted can be accessed by anyone, if they know the URL. | 01:09:07 |
Mist | Maybe I should just add an audio player to my emacs setup then. That would make more sense to have it become a native solution :) | 07:15:29 |
alphapapa |
In reply to Mist Well, there is https://github.com/alphapapa/listen.el ;) | 16:12:10 |