Posts by lina@tech.lgbt
 (DIR) Post #B4zYrc2DWiIo00FaE4 by lina@tech.lgbt
       0 likes, 0 repeats
       
       meh kanidm no has write ldapand kanidm declarative config jankytime to write sso thing
       
 (DIR) Post #B4zamRkwVyQAa4ppEe by lina@tech.lgbt
       1 likes, 0 repeats
       
       @natty tbh atp im kinda considering it
       
 (DIR) Post #B4zamSmkgjSjlygmh6 by lina@tech.lgbt
       1 likes, 0 repeats
       
       @natty oh wow i thought it used spring like every other more-than-a-few-years-old java backend thing but it actually uses quarkus :neofox_owo:
       
 (DIR) Post #B51nO2OMqzVUgZt1ma by lina@tech.lgbt
       0 likes, 0 repeats
       
       @LunaDragofelis @iro_miya @theking a friend of mine is not sure whether they can ever go to mri because they have some titanium or whatever metal replacement for one of the disks in their spine..
       
 (DIR) Post #B55eaXl9vwCSUTH89g by lina@tech.lgbt
       0 likes, 0 repeats
       
       @davidrevoy on reddit i've seen a lot of artists first have the panels as individual image, and then another picture with all of them combined.. though won't work with mastodon as that has a 4 images limit per post and even if you post from e.g. misskey the mastodon ui cuts off at the 4th with no indication that there's more :neofox_woozy:
       
 (DIR) Post #B5BPzpr9SG4RUYRKIC by lina@tech.lgbt
       0 likes, 0 repeats
       
       @ptrc can you fill in on whybecause i wouldn't think čd was particularly wealthynor do i know anything about vectrons tbf
       
 (DIR) Post #B5Bjt2GytEjn3cYYaG by lina@tech.lgbt
       0 likes, 0 repeats
       
       @navi is (my_struct *) (char *) xxx valid then?
       
 (DIR) Post #B5Bjt2iHFkZWQHKM88 by lina@tech.lgbt
       0 likes, 0 repeats
       
       @navi yeah i was thinking of arbitrary type, like how in java the compiler will not error on (String) (Object) Integer.valueOf(1)
       
 (DIR) Post #B5Bjt300BqkZJFcVl2 by lina@tech.lgbt
       0 likes, 0 repeats
       
       @navi likely it's doing actual conversions hereit's not, actually! that piece of code will error at runtime with a ClassCastException because Integer is not a subclass of String. the cast only works because you're allowed to cast down to an ancestor (and Object is the shared ancestor for everything), and to cast up from an ancestor to a derived type -- that is the part that might error out at runtime
       
 (DIR) Post #B6jJcxxhgQq6mf7UB6 by lina@tech.lgbt
       0 likes, 0 repeats
       
       @puniko what misskey pun :neofox_owo:
       
 (DIR) Post #B6jJlFuyo64Qn3nZIG by lina@tech.lgbt
       0 likes, 0 repeats
       
       @puniko ok yeah that is great lmao
       
 (DIR) Post #B6jKCFEfS6t0UasPke by lina@tech.lgbt
       1 likes, 0 repeats
       
       fym you can't put a java compact source file in a package?????
       
 (DIR) Post #B6jKPmIZptX4ng9spM by lina@tech.lgbt
       1 likes, 0 repeats
       
       and it has to have a main()meeeeeehhhh
       
 (DIR) Post #B6jKPmYAtu0da3SL8i by lina@tech.lgbt
       1 likes, 0 repeats
       
       oh ok now this makes some senseA compact source file declares a class implicitly, so the class does not have a name that can be used in source code.
       
 (DIR) Post #B84Gt5DXN6917eVIYK by lina@tech.lgbt
       0 likes, 0 repeats
       
       i find it lowk scary that i've been starting to amass some software subscriptionsfor now it's icloud+, photomator and conceptsthough i'd kill for a good obsidian handwriting experience (excalidraw does. not. count. at all.)
       
 (DIR) Post #B84H00AsWFvDVdYjT6 by lina@tech.lgbt
       0 likes, 0 repeats
       
       @natty @lunareclipse local transit app subscription? :neofox_scream_scared:
       
 (DIR) Post #B86XwhLU9gtJmSS13Y by lina@tech.lgbt
       0 likes, 0 repeats
       
       why did no one ever tell me some random shorts from the women's section from a newish brand would suit me so perfectlyand the texture is so nice too
       
 (DIR) Post #B86XwkXIIF7TfwzzNY by lina@tech.lgbt
       0 likes, 0 repeats
       
       and they have good deep pocketsthe only downside is the price... $42 :neofox_googly_woozy:
       
 (DIR) Post #B8IzqZdKcadTxskVg8 by lina@tech.lgbt
       0 likes, 0 repeats
       
       @mcc @fl0und3r you could probably just replace the futures stream/sink with the mpsc channel altogether? this sounds like making wrappers for the sake of wrappers
       
 (DIR) Post #B8Izqa298KU9CqMKMC by lina@tech.lgbt
       0 likes, 0 repeats
       
       @mcc @fl0und3r admittedly i haven't worked much with futures Sink/Stream, but futures::channel::mpsc::Receiver seems to impl Stream so i think you should be able to have smth like thislet (rx, tx) = futures::channel::mpsc::unbounded();let ws_sink = get_the_sink_somehow();spawn_task(async move {    ws_sink.send_all(rx).await;    ws_sink.close().await;});the send_all future should complete only when there's no tx leftdoc references:SinkExt.send_allfutures::channel::mpsc