gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
LnL has quit [Quit: exit 1]
LnL has joined #nixos-chat
jtojnar has joined #nixos-chat
jtojnar has quit [Quit: jtojnar]
lassulus_ has joined #nixos-chat
lassulus has quit [Ping timeout: 264 seconds]
lassulus_ is now known as lassulus
joepie91___ has joined #nixos-chat
joepie91 has quit [Ping timeout: 255 seconds]
Lisanna has joined #nixos-chat
Lisanna has quit [Remote host closed the connection]
joepie91___ has quit [Excess Flood]
joepie91___ has joined #nixos-chat
jD91mZM2 has joined #nixos-chat
joepie91___ is now known as joepie91
MichaelRaskin has quit [Quit: MichaelRaskin]
capisce_ has joined #nixos-chat
nand0p_ has joined #nixos-chat
clever_ has joined #nixos-chat
nand0p has quit [*.net *.split]
capisce has quit [*.net *.split]
clever has quit [*.net *.split]
andi- has quit [*.net *.split]
nand0p_ is now known as nand0p
capisce_ is now known as capisce
andi- has joined #nixos-chat
Lisanna has joined #nixos-chat
jcrben has quit [Quit: Ping timeout (120 seconds)]
jcrben has joined #nixos-chat
obadz has quit [Quit: WeeChat 2.0]
__monty__ has joined #nixos-chat
clever_ is now known as clever
clever has quit [Changing host]
clever has joined #nixos-chat
jtojnar has joined #nixos-chat
drakonis has joined #nixos-chat
drakonis has quit [Remote host closed the connection]
obadz has joined #nixos-chat
<andi-> jcrben: can you explain electron and performance to me? I am using an electron app for rocketchat, used vscode for a day, tried some other random electron apps and always hating how slow they react compared to an terminal..
<andi-> besides with the current state of packaging electron apps we almost always just use patchelf on nix,... I'd rather have a way to update the bundled chrome instead of begging upstream for a blesses blob
<clever> andi-: i generally try to run ${pkgs.electron}/bin/electron against the package
<clever> andi-: but some people prefer to use undocumented patches to electron and then it just breaks
<jcrben> I haven't really built on top of electron (yet), just messed around with open-source projects that use it (mostly vscode and hyper, and not a ton with either)
<andi-> clever: I'll try that! I was never really motivated to dig deeper into electron. Just lately I saw that they are still mapping stack as executable (<2.0)
<jcrben> as far as the editor, vscode performance has always been great for me. what's your current editor and how does it compare? because I used sublime for years, also use jetbrains (intellij ultimate) and nvim - vscode performance has generally felt as smooth as sublime for me; bit slower to search a lot of code
<andi-> It is a bit scary to see a browser with basically remote code execution (javascript) as part of something as my terminal emulator
<clever> andi-: the electron i pointed to above is still just patchelf'd, but it makes it simpler to update the electron in a dozen apps from one override
<andi-> jcrben: I swap between vis and neovim
<andi-> ok
<jcrben> I also use the Slack electron app (wish I didn't have to) and it's not noticeably bad unless I use their pair programming tool
<andi-> they habe a pair programming tool now?
<jcrben> andi-: hyper currently has performance issues on Linux https://github.com/zeit/hyper/issues/3018
<clever> jcrben: i prefer using slack in the browser, because clicking links in the electron app opens them in the last chrome profile i used
<clever> jcrben: but clicking links in the slack website opens them in the same profile as the site itself
<jcrben> I prefer that too, but haven't been able to fix their damned favicon highlight
<jcrben> plus the video and pair programming only work in electron
<clever> jcrben: and i use hangouts for screenshare
<andi-> yeah, that also bugs me about firefox. last active window will get the new tab. Not aware of a potential better fitting window on the same workspace.
<jcrben> andi-: they bought screenhero and released their version of it not too long ago - but I'm looking to get off it and onto vscode liveshare (https://www.visualstudio.com/services/live-share/) asap
<andi-> hows does it communicate? does it use p2p foo? end-to-end encryption?
<andi-> read the FAQ. Apparently some kind of secured e2e
<jcrben> yep, it's not open-source right now. maybe someday https://github.com/Microsoft/vscode/issues/38733#issuecomment-388213016
<infinisil> -.-
<jcrben> andi-: electron itself isn't the cause of bad performance. vscode proves that. if you're experiencing slowness, it's probably how the app was designed
<infinisil> I don't like them not releasing the code for these reasons
<andi-> jcrben: vscode is slow.. Especially the typing latency bothers me
<andi-> it just doesnt feel as consistent as with any other simple tool :/
<andi-> I'd love to use it but it alwayts annoys me. On all my machines, THe oldest being 3y..
<jcrben> andi-: I don't notice it at all, but there's some quantification of the latency at https://github.com/Microsoft/vscode/issues/27378
<jcrben> I definitely feel like the experience of vscode on my macbook is smoother than my thinkpad, not sure why
<andi-> jcrben: maybe it is the languages that I write code in? I've tried to write rust in vscode and some Python. Those plugins might be slowww?
<__monty__> Ah, the daily electron discussion? ; )
<andi-> basically yes
<andi-> I wish there would be a movement for proper non-js IDEs but the cause seems lost these years.
<andi-> I wonder when M$ will sell licenses for an ad-free binary..
<jcrben> andi-: there's a way to find out - https://github.com/pavelfatin/typometer
<jcrben> note that one of the people who ran that on Linux found that neovim was slower than vscode...
<jcrben> if it's noticeably slower than typing in a browser input, that seems really weird
<andi-> yeah. I've seen those.. I have actuallt themed a bunch of shells the same and asked people for their opinions. They all came out similar. The numbers speak against our judgement.
<andi-> I can only guess that is due to random latency spikes or a minmum of latency that is basically a baseline...
<jcrben> andi-: there's jetbrains - have you tried that? but their vim mode is more painful than vscodevim. and then there's all these neovim frontends that are popping up
<andi-> I used that for a while. Was bearable. Same ballpark number as vscode
<jcrben> also jetbrains editors are an unbearable mess when it comes to configuration
<andi-> I guess that just requires getting used to it. So does every other editor out there.
<__monty__> Any typometer statistics for TUI editors?
<andi-> have tried getting that to run for a few minutes now.. must patch the FHS'isms..
jD91mZM2 has quit [Quit: WeeChat 2.0]
obadz has quit [Ping timeout: 256 seconds]
obadz has joined #nixos-chat
MichaelRaskin has joined #nixos-chat
obadz- has joined #nixos-chat
obadz has quit [Ping timeout: 256 seconds]
obadz` has joined #nixos-chat
obadz- has quit [Ping timeout: 260 seconds]
obadz` has quit [Ping timeout: 240 seconds]
obadz has joined #nixos-chat
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos-chat
__monty__ has quit [Quit: leaving]
gchristensen has joined #nixos-chat
<sphalerit> Rust is a great language. I'm not really experienced with it, but I spent about 3 hours hacking the beginnings of a small application together with a friend yesterday, we didn't run it a single time until the end and the one and only time we ran it at the end it did exactly what we wanted it to.
<gchristensen> nice!
<MichaelRaskin> Never run it a second time to avoid breaking the illusion
<gchristensen> pish posh
<gchristensen> I'm 500loc in to something and am considering going again in Haskell to learn a thing
<MichaelRaskin> (looked up pish posh on UrbanDictionary)
obadz- has joined #nixos-chat
<gchristensen> :)
<MichaelRaskin> ErisBot: yanks randomly words from messages, looks up on UD, dumps definitions into chat.
<gchristensen> oh my word
obadz has quit [Ping timeout: 260 seconds]
obadz- is now known as obadz
<simpson> Helpful~
* gchristensen declines to post the UD definition of helpful
<MichaelRaskin> Is it postfix nicht?
* gchristensen ... either of them ...
<MichaelRaskin> And that's the easy to understand illustration of difference between reconcillation man, and Eris Bot.
<gchristensen> for whatever reason, each Kitty pane starts taking 100% cpu
<samueldr> the question is "for how long"?, if noticeable it must be at least a short while
<gchristensen> until I visit them all
<samueldr> looked at alacritty, on an E5-1660 starting alacritty consumes 23% for an htop update duration
<gchristensen> ...huh.
<samueldr> hmmm, that doesn't sound good if it's until it's visited
<samueldr> what's a pane? I see there's tabs and windows, no panes in the README
<gchristensen> uhh
<gchristensen> just ... a new `kitty` instance
<samueldr> tried to repro, my WM focuses on new windows
<gchristensen> yeah I don't know how to repro
<gchristensen> It just starts for some reason
<samueldr> (and for comparison sake, kitty reliably consumes ~19% cpu at start, where alacritty consumes ~23%)
obadz- has joined #nixos-chat
obadz has quit [Ping timeout: 240 seconds]
obadz- is now known as obadz