Home liberachat/#xmonad: Logs Calendar

Logs on 2022-06-19 (liberachat/#xmonad)

00:49:54 Guest48 joins (~Guest48@184.4.83.175)
00:53:24 <Guest48> hey guys im having a few issues with trayer, not sure where to ask so this is my best bet. im attempting to set a distance from both display edges but its only using my right border distance "trayer --edge top --distancefrom top --distance 3 --align right --widthtype request --padding 6 --distancefrom  right --distance 15 --SetPartialStrut true
00:53:25 <Guest48> --expand true --monitor 1--height 22" is my starting command, its a bit off the rails but it kinda works
00:54:20 <Guest48> looks like "--distance from right --distance 15" is the only part thats working (related to distance)
00:54:56 jao joins (~jao@211.68.17.95.dynamic.jazztel.es)
01:00:02 × Guest48 quits (~Guest48@184.4.83.175) (Quit: Client closed)
01:01:41 Guest48 joins (~Guest48@184.4.83.175)
01:01:47 <Guest48> :wave: still here just had a bit of a crash
01:03:28 Guest48 is now known as hipurus
01:16:39 × hipurus quits (~Guest48@184.4.83.175) (Quit: Client closed)
01:18:22 hipurus joins (~hipurus@184.4.83.175)
01:19:53 × jao quits (~jao@211.68.17.95.dynamic.jazztel.es) (Remote host closed the connection)
01:23:53 jao joins (~jao@211.68.17.95.dynamic.jazztel.es)
01:46:06 × hipurus quits (~hipurus@184.4.83.175) (Quit: Client closed)
02:03:05 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 248 seconds)
02:04:19 hipurus joins (~hipurus@184.4.83.175)
02:07:30 × td_ quits (~td@94.134.91.116) (Ping timeout: 240 seconds)
02:09:40 td_ joins (~td@muedsl-82-207-238-050.citykom.de)
02:23:06 banc joins (banc@gateway/vpn/airvpn/banc)
02:29:44 × hipurus quits (~hipurus@184.4.83.175) (Quit: Client closed)
02:30:39 × xacktm quits (xacktm@user/xacktm) (Quit: fBNC - https://bnc4free.com)
02:42:09 hipurus joins (~hipurus@184.4.83.175)
02:55:16 xacktm joins (xacktm@user/xacktm)
03:07:00 nevyn joins (~nyven@c-68-43-234-118.hsd1.mi.comcast.net)
03:50:37 × hipurus quits (~hipurus@184.4.83.175) (Quit: Client closed)
04:03:37 × mvk quits (~mvk@2607:fea8:5ce3:8500::4588) (Ping timeout: 248 seconds)
04:03:45 × steve__ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 244 seconds)
04:11:37 × jao quits (~jao@211.68.17.95.dynamic.jazztel.es) (Ping timeout: 248 seconds)
04:15:06 hipurus joins (~hipurus@184.4.83.175)
04:55:54 × Natch quits (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) (Remote host closed the connection)
05:01:17 Natch joins (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se)
05:11:11 benin0 joins (~benin@183.82.205.9)
06:02:10 × benin0 quits (~benin@183.82.205.9) (Ping timeout: 240 seconds)
06:02:32 benin0 joins (~benin@183.82.204.151)
06:09:34 × hipurus quits (~hipurus@184.4.83.175) (Quit: Client closed)
07:41:41 × benin0 quits (~benin@183.82.204.151) (Quit: Ping timeout (120 seconds))
07:42:01 benin0 joins (~benin@183.82.205.9)
07:59:33 vanvik joins (~vanvik@78.156.12.223)
08:02:56 benin06 joins (~benin@183.82.204.151)
08:04:59 × benin0 quits (~benin@183.82.205.9) (Ping timeout: 256 seconds)
08:04:59 benin06 is now known as benin0
08:34:00 mc47 joins (~mc47@xmonad/TheMC47)
09:24:57 <liskin> Solid, mc47: I just tried to do zurihac expenses on opencollective but looks like multi-currency expenses aren't enabled yet, so you guys can keep on procrastinating the expensing until this is resolved :-)
09:25:24 <liskin> also Swiss airlines can't generate receipts due to some technical trouble
09:25:30 <mc47> yey
09:25:32 <mc47> that's fun
09:26:10 <mc47> I mean, the expenses I care for are all in euros
09:26:26 <liskin> every time I try to do some paperwork I wonder who the hell thought this process makes any sort of sense
09:27:31 <liskin> if doing expenses costs more (time multiplied by a person's hourly salary) than the expensed amount, something's wrong with this world
09:28:13 <liskin> (which hopefully won't be the case here but I can easily imagine this being the case for many people)
09:28:56 <liskin> mc47: our collective is in USD so EUR doesn't help
09:29:05 <mc47> great
09:29:05 <liskin> my expenses are half GBP half CHF
09:40:42 <Solid> liskin: eh, I'd say just run them through a currency translator thingy and submit an invoice instead of an expense
09:42:45 <sm> or just convert and submit expense ? I'm curious about the problem(s)
09:47:18 <Solid> The good thing about us actually being in charge of the money is that we have the power to not generate more paperwork for ourselves; let's do that
09:47:38 <Solid> after seeing how nice everyone is I'm pretty confident this won't be abused :)
10:10:36 Ether17 joins (~Ether17@2401:f40:100c:b164:1ac0:4dff:fe69:b9d5)
10:11:42 <liskin> Invoice would create income tax obligations I think, possibly also having to register as a sole trader.
10:11:56 <liskin> But I guess submitting the expenses in USD is an option.
10:12:52 <liskin> Still, we're not entirely in charge of the money. It always requires manual approval by someone from Open Source Collective because they're on the hook for the paperwork being correct (whatever correct means in the US).
10:14:50 <Solid> mh, fair enough
10:14:52 <liskin> Anyway I've messaged someone to enable multi-currency expenses so I won't do the USD conversion manually just yet
10:15:42 <Solid> I'll throw a coin whether it'll be an invoice (using that freelance thing I had to create) or a reimbursement for me
10:15:49 <Solid> but not today, fuck money :)
10:16:35 <liskin> Do you not need to pay tax or just "fuck money"? :-)
10:17:29 <Ether17> Not to intrude, But @geekosaur had helped me make this;
10:17:30 <Ether17> eventLogHookForPolyBar :: X ()
10:17:30 <Ether17> eventLogHookForPolyBar = do
10:17:31 <Ether17>    winset <- gets windowset
10:17:31 <Ether17>    let layout = description . W.layout . W.workspace . W.current $ winset
10:17:32 <Ether17>    io $ appendFile "/tmp/.xmonad-layout-log" (layout ++ "\n")
10:17:32 <Ether17> I wanna do something similar with copy windows;
10:17:33 <Ether17>     copies <- wsContainingCopies
10:17:33 <Ether17>     let check ws | ws `elem` copies =
10:17:34 <Ether17>                    pad . xmobarColor yellow red . wrap "*" " " $ ws
10:17:34 <Ether17>                  | otherwise = pad ws
10:17:35 <Ether17> Problem is how do i append it to a file?
10:17:35 <Ether17> Credits to altercation for the code above.
10:18:03 × Ether17 quits (~Ether17@2401:f40:100c:b164:1ac0:4dff:fe69:b9d5) (Quit: Client closed)
10:24:00 <Solid> liskin: the "business" being so small I only have to pay tax on my actual profits
10:24:31 <Solid> so if I create an invoice of $<AMOUNT> and then have a business trip costing that exact amount it's fine
10:24:39 <Solid> but also definitely "fuck money" :)
10:24:43 <liskin> oh I see
10:25:04 <liskin> I completely forgot that one can also deal with expenses on their own
10:27:27 <liskin> (in Czechia the most popular method for IT people to be a business is using flat profit/expense rate which allows one to claim 60% of all income as expense regardless of whether there were any actual expenses)
10:28:03 <liskin> (and that's not only less paperwork, but also almost always waaay less tax)
10:29:50 alternateved joins (~alternate@82.180.151.116)
10:35:42 <geekosaur> @tell Ether17 same way you were already doing it, use `appendFile`
10:35:42 <lambdabot> Consider it noted.
11:02:02 <mc47> Solid: is it worth the trouble to register as a freelancer for a couple hunderd euros (in my case)? this sounds like too much work
11:03:22 <Solid> mc47: probably not, no one will notice or care I imagine :D But it was only a single formular and took me maybe one or two hours so I did it anyways
11:04:08 <mc47> thought so
11:07:59 <geekosaur> wow. I don't even need to pay tax on the small amount I've been receiving
11:09:56 <liskin> it's a reimbursement, you probably wouldn't even if it was a larger amount :-)
11:10:33 <liskin> although in some (all?) jurisdictions you're liable for tax even on non-monetary income
11:11:12 <geekosaur> yes, and there's limits on what you can claim as a reimbursement here
11:11:21 <liskin> seems strange for this to apply to non-profit for-public-good endeavours such as production of free software, though
11:11:22 <geekosaur> which is why I initially didn't
11:18:15 jao joins (~jao@211.68.17.95.dynamic.jazztel.es)
11:20:47 Guest73 joins (~Guest73@c83-251-160-169.bredband.tele2.se)
11:21:02 × Guest73 quits (~Guest73@c83-251-160-169.bredband.tele2.se) (Client Quit)
11:25:35 × jao quits (~jao@211.68.17.95.dynamic.jazztel.es) (Ping timeout: 256 seconds)
12:33:46 × henninb quits (~henninb@97-116-138-116.mpls.qwest.net) (Ping timeout: 272 seconds)
12:42:46 × benin0 quits (~benin@183.82.204.151) (Quit: The Lounge - https://thelounge.chat)
13:08:56 Edvin joins (~Edvin@h-158-174-200-141.A315.priv.bahnhof.se)
13:10:00 Edvin is now known as The_Ek_
13:42:11 <Solid> mh, interestingly I just tried reproducing the segfault in 9.2.x again and I couldn't
13:42:28 Solid is hoping it was somehow related to the commit that we reverted
13:42:40 <Solid> I'll keep trying though, perhaps it's more erratic than I thought
13:45:53 <geekosaur[m]> I'm certain it is, since for example abastro could reproduce it quickly with a config using only X.C.Desktop but with `-dynamic` and the `XMONAD_*` envars set, but I ran for over a day with that and couldn't
13:46:20 × alternateved quits (~alternate@82.180.151.116) (Remote host closed the connection)
13:48:44 rieper joins (~riepernet@webmirror.geo.uni-leipzig.de)
13:55:33 <geekosaur> also if it's related to that commit then the bug is in Xlib. technically it *was* potentially overflowing, practically both Xlib and the server should ignore the high bits as simply being out of range, and the protocol is unlikely to change lengths of fields like that because it'd be nearly impossible to parse (it'd have to parse the window ID, look up its colormap, look up the visual, then compute the bit depth to use to parse the rest of the
13:55:33 <geekosaur> request)
14:04:52 × The_Ek_ quits (~Edvin@h-158-174-200-141.A315.priv.bahnhof.se) (Ping timeout: 252 seconds)
15:17:51 arjun joins (~arjun@user/arjun)
16:13:18 jao joins (~jao@211.68.17.95.dynamic.jazztel.es)
16:52:33 <Solid> ah, nope, still getting them sometimes
16:52:41 <geekosaur> :(
16:52:54 <Solid> it's funny because I can't reproduce it at all once I compile with debugging information
16:52:59 <Solid> makes me think of a race condition
16:53:33 <geekosaur> how do you have a race condition when everything's in one thread? oy
16:57:11 <Solid> weren't you making a point about ghc using green threads even without -threaded?
16:57:58 <geekosaur> you still have to forkIO, and you caan't do that with State
16:58:00 <Solid> it's the only reason I can see why adding debugging information would "fix" this
16:58:04 <Solid> mh, I see
16:58:39 geekosaur wonders if debugging info has compiler side effects
16:58:57 <geekosaur> like, in most C compilers it suppresses some optimization so the debug information is meaningful
17:00:19 × arjun quits (~arjun@user/arjun) (Quit: tip toe-ing my way outta here)
17:03:49 <liskin> my experience is more like the debug information not being meaningful anyway :-)
17:04:54 <geekosaur> how recent? debug info has been getting a lot of work of late
17:06:21 stackdroid18 joins (14094@user/stackdroid)
17:09:21 <liskin> not very recent
17:10:03 <liskin> I rarely use gdb for anything serious, so it's definitely more than a year but can very well be more than 10 too :-)
17:10:06 <liskin> it's all a blur
17:15:46 alternateved joins (~alternate@82.180.151.38)
17:19:21 × alternateved quits (~alternate@82.180.151.38) (Remote host closed the connection)
17:20:02 alternateved joins (~alternate@82.180.151.38)
17:22:49 <Solid> > If someone wanted to experiment with extending EZConfig to run in compile time as a quasiquoter, I'd support them
17:22:51 <lambdabot> <hint>:1:64: error: parse error on input ‘in’
17:22:56 <Solid> oh that is such a good idea, how did I never think of this
17:23:25 <Solid> though it would probably be rather unergonomic due to fact that quasi-quote syntax is pretty heavy weight
17:23:33 × alternateved quits (~alternate@82.180.151.38) (Remote host closed the connection)
17:37:40 <geekosaur> only some things could be checked at compile time, although perhaps we could ignore the runtime-only cases on the assumption that a config is going to be immediately used and you get no promises about portability. and someone may bind "unusable" key sequences intended for a different keyboard layout
17:45:08 <liskin> oh I didn't know about checkKeymap, and also didn't think the quasiquoter idea through
17:45:19 <liskin> so it may be a bogus idea… :-)
17:46:04 <Solid> well, you could probably have [key|"M-s"|] but who really wants to type that? :D
17:47:08 <geekosaur> [k|M-s]
17:47:23 <Solid> oh, yeah, it wouldn't need to be a string
17:47:24 <geekosaur> nobody said you have to quote what goes through the quasiquoter
17:48:18 <geekosaur> does mean using ] as a key would require escaping though
18:41:10 alternateved joins (~alternate@185.244.214.249)
20:34:32 ocelot_ joins (~ocelot@50-78-208-189-static.hfc.comcastbusiness.net)
21:23:27 × twiclo quits (~twiclo@2604:7b80:2000:1069:52fc:cedd:fbeb:10c) (Ping timeout: 240 seconds)
21:44:32 × stackdroid18 quits (14094@user/stackdroid) (Quit: hasta la vista... tchau!)
21:58:32 × alternateved quits (~alternate@185.244.214.249) (Remote host closed the connection)
21:59:18 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
22:15:50 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Ping timeout: 240 seconds)
22:17:18 geekosaur joins (~geekosaur@xmonad/geekosaur)

All times are in UTC on 2022-06-19.