<disasm>
lol :) like I said, not much further than playing with the skeleton. I had two other people that were interested in doing some work if it formulated and it never did
<disasm>
you'll have to tell me what stuff.samueldr.com is running. You have some kind of automated way to upload screenshots to your own URL?
<samueldr>
like everything, good will and bad scripts :)
<disasm>
just an nginx static site with some scp magic?
<samueldr>
a script which uses maim for selecting a window, and rsyncs them to my server which serves files
<samueldr>
it's basically a whole lot of nothing, but is really useful
<disasm>
yeah, I was thinking of doing that with a wrapper around `scrot` :)
<disasm>
but haven't quite figured out the best way to get the url it generates when it copies the screenshot
<disasm>
lot about logging it, but then I gotta check the journal every time I take a screenshot, and at that point, might as well just manually scp it :)
<samueldr>
I pre-fill the filename within the script
<samueldr>
so it's the script that decides the filename, gives it to scrot, so since it knows, can then copy to clipboard
<samueldr>
and since it's a well-known pattern, rsynced to the server, it's easy to concat stuff
<disasm>
oh, copy to clipboard...
<samueldr>
it's also bound to a key combination
<samueldr>
ctrl+print screen will do it, it's become *too* natural
<disasm>
yeah, I use ctrl-z already for screenshots, but don't have the upload magic. What command are you running to add the URL to the clipboard?
<samueldr>
xclip
<disasm>
that requires a daemon running iirc, right?
<ldlework>
imgur-screenshot is what i use
<samueldr>
no
<ldlework>
it is in nixpkgs
<samueldr>
but then, imgur isn't self-hosted :)
<ldlework>
it uses scrot behind the scenes
<samueldr>
(I really like to brand my URLs ;))
<ekleog>
samueldr: BUT if you add an entry to /etc/hosts to redirect imgur to your server…!
<samueldr>
no, add it to all nixos machines!
<ekleog>
mwahahahahaha
<samueldr>
we have the technology
sir_guy_carleton has joined #nixos-chat
<disasm>
ah, just tried it with `echo test|xclip -i` and it worked :) Might be writing a script tomorrow, time for bed now
<samueldr>
about to do the same
<ldlework>
disasm: if xclip doesn't work for you sometimes
<ldlework>
try "xclip -sel clip"
<ldlework>
infinisil: do you use yasnippet?
<infinisil>
nope
<ldlework>
its quite useful for writing nix
<disasm>
so essentially, I can just replace `bindsym --release $mod+z exec /run/current-system/sw/bin/scrot -s ~/screenshots/%Y-%m-%d-%T-screenshot.png` with bindsym --release $mod+z exec ${myScript} where `myScript` is defined as `writeScriptBin "samleathers-screenshot-sync" ''script here'' and I should be in business.
Guanin has quit [Ping timeout: 260 seconds]
<ldlework>
infinisil: do you use nix-format-buffer? are you using nixfmt?
<ldlework>
i have the latest nix-mode and closing parens still indent too far
<ldlework>
so annoying
Guanin has joined #nixos-chat
<Drakonis>
is spacemacs worth it?
<ldlework>
i don't use it
<ldlework>
oh i fixed the indent problem
<ldlework>
nice
<ldlework>
happy days
<ldlework>
I had to do (define-key nix-mode-map (kbd "TAB") 'nix-indent-line)
<etu>
ldlework: Pastes parts of buffers or whole buffers to random pastebin-like services, and has failover if one fails.
<Drakonis>
webpaste is some kind of website for pasting software?
<Drakonis>
its useful
<ldlework>
why are you telling me about it?
<Drakonis>
although pastebin itself is absolute crap these days
<ldlework>
there's only one pastebin you need, gist
<Drakonis>
what if github dies
<ldlework>
when has it ever done that
<Drakonis>
(unlikely given microsoft owns it now)
<etu>
I kinda prefer ptpb.pw
<etu>
(No affiliation with it though, just that it's clean and nice)
<ldlework>
gist is associated with the rest of my portfolio
<Drakonis>
well that's fine
<ldlework>
anyway it feels so good to have auto-formatting for nix code :D
Drakonis has quit [Remote host closed the connection]
sphalerite_ is now known as sphalerite
<sphalerite>
Drakonis[m]: you don't need to wait with submitting PRs until ofborg is alive again, you can always write `@GrahamCOfBorg eval` later on (or get someone with permission to do so)
<LnL>
alive again?
<LnL>
/o\
<LnL>
looks fine
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<sphalerite>
samueldr: disasm: I use dmenu to get a filename for my screenshot-upload script
<sphalerite>
LnL: drakonis said it was down, so I just based what I said on that
<LnL>
don't scare people like that so early in the morning! :D
<adisbladis[m]>
ldlework: What did you do? :)
<adisbladis[m]>
I want a better nix editing experience too
<ldlework>
this line depends on straight.el's use-package integration to install the package from git
<adisbladis[m]>
I use nix to manage my emacs packages :)
<ldlework>
i figured
<ldlework>
infinisil: ah crap, somewhere along the way i removed whatever was providing me with your znc module enhancements. Would you happen to have an overlay for that?
<ldlework>
argh
vdemeester has joined #nixos-chat
__Sander__ has joined #nixos-chat
ma27 has joined #nixos-chat
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos-chat
__monty__ has joined #nixos-chat
pie_ has quit [Ping timeout: 256 seconds]
__monty__ has quit [Quit: leaving]
__monty__ has joined #nixos-chat
__monty__ has quit [Client Quit]
__monty__ has joined #nixos-chat
pie_ has joined #nixos-chat
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos-chat
harrow` has joined #nixos-chat
harrow has quit [Quit: Leaving]
etu has quit [Quit: WeeChat 2.1]
etu has joined #nixos-chat
Sonarpulse has joined #nixos-chat
Drakonis has joined #nixos-chat
jtojnar has quit [Remote host closed the connection]
NinjaTrappeur has quit [Quit: WeeChat 2.2]
NinjaTrappeur has joined #nixos-chat
jtojnar has joined #nixos-chat
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos-chat
Lisanna has quit [Quit: Lisanna]
__monty__ has quit [Quit: leaving]
__Sander__ has quit [Quit: Konversation terminated!]
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos-chat
Sonarpulse has quit [Ping timeout: 240 seconds]
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos-chat
Sonarpulse has joined #nixos-chat
__monty__ has joined #nixos-chat
<gchristensen>
it is a bad look having spam recommend other networks
<samueldr>
do they?
<gchristensen>
17:43 <nlsun> Don't support freenode and their ICO scam, switch to a network that hasn't been co-opted by corporate interests. OFTC or efnet might be a good choice. Perhaps even https://matrix.org/
<samueldr>
hadn't seen those in the other channels I track that are victim
<samueldr>
(but they are there)
<samueldr>
though, to be fair, efnet is probably a victim here too :/
<samueldr>
(as is matrix)
<samueldr>
it's all a mess :(
Guanin has quit [Remote host closed the connection]
<__monty__>
What is with the tidal wave of spam lately?
<{^_^}>
__monty__: 16 hours, 38 minutes ago <infinisil> There are some openings! I'll first try to finish my bachelor before I start really looking for jobs though :)
<infinisil>
Perfect timing {^_^} lol
<__monty__>
: )
<samueldr>
__monty__: someone's got beef against freenode, probably constructed, and unleashed the classical skiddie kind of attack
<samueldr>
scorched earth
<samueldr>
they also spam *other irc networks*
<__monty__>
Sounds like discidents.
<__monty__>
sic.
capisce_ is now known as capisce
<gchristensen>
so Pony looks like a cool lang
<simpson>
Pony's cool. They're ocap, kind of, although their commitment to taming is lacking.
<gchristensen>
ocap? taming?
<simpson>
ocap is object capabilities; Pony sits next to languages like E, Monte, Waterken, etc.
<gchristensen>
gotcha, I knew "cap" but not "o"cap
<simpson>
Taming is the act of making cap-aware stuff integrate with non-cap-aware stuff. For languages, taming the kernel and userland is usually the hardest part.
<gchristensen>
ooOOOoo cool
<simpson>
e.g. here's a Monte & Pony contributor trying to convince the Pony folks that maybe the system timer is dangerous: https://github.com/ponylang/rfcs/pull/28
<{^_^}>
ponylang/rfcs#28 (by dckc, 1 year ago, open): FFI taming
<simpson>
(Meanwhile, Monte has *no* FFI; we don't believe that taming a ctypes interface is possible!)
<gchristensen>
yes that is a complicated line to walk, given, well, they want to be in that space :P
<simpson>
Definitely. Like the language name suggests, they want a whole bunch of conflicting features all at once.
<gchristensen>
right
<gchristensen>
they do describe their thought process there pretty clearly
kisik21 has joined #nixos-chat
kalbasit is now known as kalbasit[m]
kalbasit has joined #nixos-chat
kalbasit has quit [Quit: WeeChat 2.1]
<gchristensen>
anyone using nixops as part of a ci deployment pipeline?
<simpson>
Like, calling it from CI? Gutsy.
<gchristensen>
most deploys I do are pretty safe
<gchristensen>
for scary ones? happy to do it by hand :P but I'd like to be able to allow other people to do easy ones safely
<LnL>
not nixops specifically
* gchristensen
looks at his yak rapidly grow hair
Drakonis has quit [Remote host closed the connection]