-
nicoco
the investors are happy to see new releases anyway, kpis go brrrrrrrr
-
krig
š
-
nicoco
what is the icon theme used on the website frontpage?
-
nicoco
https://chat.slidge.im:5281/file_share/069c6484-d9b0-7214-b51f-05e11c7529ce/06dd749f-3f82-453c-a46e-c2c46a43380d.png
-
nicoco
^ this one
-
krig
I think thatās one of the Catppuccin ones? Not sure, sorry!
-
nicoco
since icons are off by default, maybe that screenshot is a bit misleading
-
nicoco
why that choice btw?
-
krig
More of a mistake than a choice. I spent like six months just messing around with the code, and apparently changed the defaults at some point. But in my own config, I had turned on icons again so I didnāt notice
-
nicoco
very much a detail, but I believe the screenshot on the front page should reflect the default?
-
krig
and now I am reluctant to change the defaults once people are using the editor. But I just pushed a change for the next version which will turn on icons if they are off by default and someone changes the icon theme
-
nicoco
ok!
-
krig
Maybe. Not sure. The configurability is one of the features I want to highlight..
-
nicoco
fair enough. those catpuccin icons look nice, I just switched :)
-
nicoco
btw I had a look at RPM package registry in codeberg, it looks very similar to debian, and since my work-provided laptop is running Fedora I think I'll submit a small PR for this so my usual `dnf update` updates gram too :)
-
krig
I think what Iāll do when I revise the website is to make it a carousel that shows off different features. There is a PR for that already! It just needs a typo fix to merge
-
krig
by theDoctor
-
krig
for RPM registry that is
-
nicoco
ha ok well, less work for me then :)
-
nicoco
ha damn, the new rendering thing is causing issues on sway/intel (very annoying flickering randomly occuring). previously I worked around that by using `env -u WAYLAND_DISPLAY` which I think forced x11 through Xwayland, but 1.2.1 just hangs if I do that :(
-
nicoco
logs stop as INFO [gram] ========== starting gram version 1.2.1, sha 0b406ac ========== and the process is `[defunt]` according to ps
-
krig
:/ I should have held off on the wgpu merge.. especially since I donāt use Linux that much. Maybe I should release 1.3.0 and revert it, and make it a branch for now. Sigh..
-
nicoco
I think I've read something similar in an issue thread, but I see that gram uses (?) my nivida card: [gram::gram] Using GPU: GpuSpecs { is_software_emulated: false, device_name: "NVIDIA RTX 2000 Ada Generation Laptop GPU", driver_name: "NVIDIA", driver_info: "580.126.18" }
-
krig
But did that env trick work in 1.2.0? Because there are no code changes at all between 1.2.0 and 1.2.1
-
krig
ah, right.. you can force it to use a different GPU with GRAM_DEVICE_ID
-
nicoco
oh let me try that GRAM_DEVICE_ID
-
nicoco
I did not even know it was possible to use the nvidia gpu for display using sway xD
-
nicoco
(I only use it for CUDA stuff, yes I do machine learning, please don't ban me)
-
krig
I guess it isnāt š
-
krig
no evil stuff I hope
-
nicoco
> But did that env trick work in 1.2.0? Because there are no code changes at all between 1.2.0 and 1.2.1 mm no I was using < 1.2.0 on this laptop previously ↺
-
nicoco
> I guess it isnāt š well yes it is, but it's flickery xD ↺
-
nicoco
no evil stuff, I hope so, machine learning for medical image segmentation. not the fancy newest architectures like transformers, boring "old" convolutional networks :)
-
nicoco
How do I know which GRAM_DEVICE_ID value I should set?
-
krig
I used to study AI before LLMs, when it was more alpha-beta pruning and less data centers on fire. Had a chess app in the iOS store early on.. Iām mostly frustrated that the whole field got taken over by finance scammer bros.
-
krig
ālspci -nn | grep VGAā should tell you the device id, something like ā[10de:2484]ā. Then set GRAM_DEVICE_ID=0x2484
-
nicoco
Well, I think we should not throw away the baby with the bath water, machine learning has non-evil use-cases for sure. The hype is crazy and destructive, but eg, for this very specific task I mentioned, segmentation of medical images, there is no match, all other approaches are inferior. And with segmented medical images you can do a lot of fun (and maybe usefulā¦) things. Who knows, maybe I'm wrong :)
-
nicoco
> ālspci -nn | grep VGAā should tell you the device id, something like ā[10de:2484]ā. Then set GRAM_DEVICE_ID=0x2484 that worked to force intel (interestingly, the nvidia card was not listed by that command). I'll see if the random flickering is still there after a few minutes of usage I guess :) ↺
-
nicoco
thanks!
-
krig
No I am sure there are legitimate uses. But right now those are getting crushed by the illegitimate ones. The first practical application I saw of machine learning in the wild was a company which was building face recognition into vending machines, so that they could detect gender and race of the person shopping. Just completely amoral, horrible shit.. I just donāt think our society is equipped to handle this technology responsibly.
-
nicoco
(damn it flickers too0
-
nicoco
> No I am sure there are legitimate uses. But right now those are getting crushed by the illegitimate ones. The first practical application I saw of machine learning in the wild was a company which was building face recognition into vending machines, so that they could detect gender and race of the person shopping. Just completely amoral, horrible shit.. I just donāt think our society is equipped to handle this technology responsibly. no need to convince me about that ↺
-
krig
I had that problem or something similar on my ARM SoC before the wgpu move. Itās probably bugs in the editor and not the graphics library then..
-
nicoco
To play devil's advocate, I think a lot of radical criticism of "AI" (gosh I hate that marketing terminology) applies to computers (or even technology) in general. And maybe it is valid and computers are evil and I should burn all my electronics and grow tomatoes instead. I have not made that jump yet :)
-
krig
Totally. Some days I just want to farm potatoes and never look at a screen again, haha
-
nicoco
well, gram does not help for that, since I enjoy using it a lot =)
-
krig
oh no š
-
nicoco
anyway I reverted to 1ab182fb7f78ff86a77c0585cad2564a96267224 which I had previously built and allows forcing Xwayland which does not flicker
-
botaki
> :/ I should have held off on the wgpu merge.. especially since I donāt use Linux that much. Maybe I should release 1.3.0 and revert it, and make it a branch for now. Sigh.. Yes maybe wgpu should be reverted and added when more debugging and testing is done. ↺
-
krig
so thereās a bug in sway that may be the issue here actually: https://github.com/swaywm/sway/issues/8755
-
nicoco
oh
-
nicoco
I'll live with an old gram version until this is fixed and released (or maybe I'll try these env var workarounds when I'm bored ^^)
-
krig
I can create a branch that is 1.2.1 with the wgpu patches reverted, shouldnāt be too difficult to put together
-
krig
and build a release from that
-
nicoco
whatever you feel is best. I am not a real software engineer but one thing I've learned about it over the years is that you can't have workarounds everywhere to ensure compatibility with buggy third parties
-
nicoco
if it's a sway bug, it's a sway bug and this is where efforts should go (however, this is completely out of my depth, I can't help xD)
-
krig
no, it wouldnāt be a long term thing.. I still have hope to get the wgpu stuff in better shape eventually
-
krig
I find it kind of ridiculous to have these kinds of issues with a text editor to be honest :D even if it wants hardware acceleration, it should run just fine on some ancient opengl
-
nicoco
Well, I trust your call on that.
-
krig
but yeah thatās the editor I forked, so thatās what we have to work with..
-
nicoco
I mean, perf is good, but coming from now enshittifAIed jetbrains IDE I can't imagine rendering text on the screen would ever be a performance bottleneck I could feel
-
nicoco
(but I don't know much about the subject tbh)
-
krig
itās silly yeah
-
thedoctor
> ha ok well, less work for me then :) I hadn't looked in here a while and it occurred to me that it wasa logical thing to do š Not sure what to think of the signing issue, though.
-
thedoctor
Speaking of packages: there are now three AUR packages for gram and there's one that I think is better quality to use for us "gram-editor-bin". It does list a few things as runtime dependencies that I don't know are necessary, though. Things like openssl, sqlite, alsa-libs. Any thoughts on that?✎ -
thedoctor
Speaking of packages: there are now three AUR packages for gram and there's one that I think is better quality to use for us, namely "gram-editor-bin". It does list a few things as runtime dependencies that I don't know are necessary, though. Things like openssl, sqlite, alsa-libs. Any thoughts on that? ✏
-
krig
I think @nerdyslacker who created that one is working on another version
-
krig
so for the signing, was that a missing feature in forgejo or something we need to do? hmm
-
krig
ah I see, codeberg doesnāt enable it. Guess we just have to wait for them to turn it on
-
thedoctor
> I think @nerdyslacker who created that one is working on another version I tried adapting one of the PKGBUILD files, built a package and uploaded it to my fork of gram, pretty straightforward in total. I did it inam Arch container, though. Is it possible to have one in CI with Codeberg somehow?✎ -
thedoctor
> I think @nerdyslacker who created that one is working on another version I tried adapting one of the PKGBUILD files, built a package and uploaded it to my fork of gram, pretty straightforward in total. I did it in an Arch container, though. Is it possible to have one in CI with Codeberg somehow? ✏
-
krig
yeah that should be possible, I need to add another base image to the runner
-
krig
I can look at that yeah
-
thedoctor
Just submitted a PR adding build instructions for an Arch package. Once this is built in CI, I would add the necessary steps to push the package into the Gram package registry and add instructions to add it as a custom Arch repo.
-
krig
Hi, yes I have seen it, will check it out as soon as I can!
-
thedoctor
> Hi, yes I have seen it, will check it out as soon as I can! No need to rush, enjoy your weekend :)