<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:25:59] ⇦ Quits: Vexatos (~Vexatos@port-92-192-163-98.dynamic.as20676.net) (Quit: Insert quantum chemistry joke here)
L2[00:29:05] ⇦ Quits: Renari (~Renari@64.67.31.239.res-cmts.bgr.ptd.net) (Read error: Connection reset by peer)
L3[00:35:00] ⇨ Joins: Renari (~Renari@64.67.31.239.res-cmts.bgr.ptd.net)
L4[00:38:06] <Ocawes​ome101> `{1={body={1={type=call,args={1={value="Hello, World!\n",},},name=printf,},},ctype=int,args={},type=declaration,name=main,object=function,},}`
L5[00:38:10] <Ocawes​ome101> hmmmmm
L6[00:42:59] <Kristo​pher38> please throw some pretty printing at this
L7[00:43:32] <Ocawes​ome101> that's the prettiest printing i could be bothered to throw together xP
L8[00:44:15] <Ocawes​ome101> yes, i'm trying again https://tinyurl.com/ydm3h975
L9[00:44:27] <Ocawes​ome101> but this time i have a proper(ish) tokenizer
L10[00:44:54] ⇦ Quits: Renari (~Renari@64.67.31.239.res-cmts.bgr.ptd.net) (Read error: -0x1: UNKNOWN ERROR CODE (0001))
L11[00:46:43] <Kristo​pher38> nice
L12[00:46:47] ⇨ Joins: Renari (~Renari@64.67.31.239.res-cmts.bgr.ptd.net)
L13[00:46:52] <Kristo​pher38> so what's the goal, I've forgotten already
L14[00:47:04] <Kristo​pher38> you gonna generate assembly? transpile to lua?
L15[00:47:08] <Kristo​pher38> or what
L16[00:48:45] <Ocawes​ome101> hopefully the backend will be flexible
L17[00:48:57] <Ocawes​ome101> transpiling to lua would just be insane lmao
L18[00:50:54] <ThePi​Guy24> transpile lua itself into lua ;p
L19[00:51:02] <ThePi​Guy24> and then the entire linux kernel ;p
L20[00:51:17] <Ocawes​ome101> Code Block pastebined https://paste.pc-logix.com/ukimudejiy
L21[00:51:23] <Ocawes​ome101> fine i made a pretty(ier) printer
L22[00:52:42] <Kristo​pher38> ah yes much better
L23[00:53:00] <ThePi​Guy24> ~~the trailing commas irritate me~~
L24[00:53:17] <Ocawes​ome101> the trailing comments are perfectly valid syntax ~~fuck off~~
L25[00:53:37] <Ocawes​ome101> fr tho yeah they're a little annoying
L26[00:53:47] <Ocawes​ome101> but w/e i can't be bothered to parse for them xP
L27[00:59:54] <Kristo​pher38> You dodged my question though
L28[01:00:20] <Kristo​pher38> "backend will be flexible" but do you have some target in mind already?
L29[01:01:32] <Ocawes​ome101> pure lua and maybe custom architectures
L30[01:02:08] <bad at​ vijya> 👀
L31[01:02:11] <bad at​ vijya> mmm
L32[01:02:14] <bad at​ vijya> xdpu
L33[01:02:28] <Ocawes​ome101> i can still barely parse it though so code gen is a while off
L34[01:02:37] <bad at​ vijya> perfect for the fact that i'll be adding to ossm
L35[01:02:44] <Ocawes​ome101> :P
L36[01:02:50] <bad at​ vijya> soon™️
L37[01:03:13] <Ocawes​ome101> anyway once it's done (or at least working) feel free to steal it and write your own backend
L38[01:03:19] <Ocawes​ome101> i shall now go have cake bye
L39[01:13:08] <ThePi​Guy24> by the looks of it you could bodge in a lua target real easy ;p
L40[01:13:29] ⇦ Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-126-142.as13285.net) (Remote host closed the connection)
L41[01:42:10] ⇦ Quits: t20kdc (~20kdc@cpc139384-aztw33-2-0-cust220.18-1.cable.virginm.net) (Remote host closed the connection)
L42[02:04:53] <bad at​ vijya> @Ocawesome101 and you can steal my FS stuff once i get it done :P
L43[02:04:58] <Ocawes​ome101> Heh
L44[02:05:07] <Ocawes​ome101> @ThePiGuy24 that’s precisely the goal
L45[02:11:42] <Amanda> dequbed, @bob -- I think I'm done fucking about with it for now -- if either of you have any idea why I need to send a blank line to kick off the bloody client loop, that'd be great. (Nothing, none of the negioation, gets sent until I send a blank line)
L46[02:15:58] <Va​ur> %tonk
L47[02:15:59] <MichiBot> By my throth! Va​ur! You beat your own previous record of <0 (By 5 hours and 33 minutes)! I hope you're happy!
L48[02:16:00] <MichiBot> Vaur's new record is 5 hours and 33 minutes! No points gained for stealing from yourself. (Lost out on 0.00555)
L49[02:19:03] <Amanda> NOW I'm done. Just made it stop pegging my CPU, it'll tick at least once a second now. Will figure out at-most later
L50[02:19:29] <Amanda> %choose rain-box or irradiate
L51[02:19:29] <MichiBot> Ama​nda: Pretty sure I'd want you to go with "irradiate"!
L52[02:19:44] ⇨ Joins: S|h|a|w|n (~shawn156@c-76-25-73-212.hsd1.co.comcast.net)
L53[04:14:06] <Va​ur> %sip
L54[04:14:06] <MichiBot> You drink a freezing pink potion (New!). Vaur's hair turn the color of dirt until they tonk.
L55[04:19:05] <Amanda> dequbed: I don't know what I want is called, and I'm having no luck finding something with the search "cache" on crates.io. basically I want a hashmap, that I can add things to, and it'll take ownership of them, then it'll give out arc's of the keys, and when that's reached zero, it'll remove the entry from itself. So a HashMap<k, arc<v>> with disappearing entries when nothing but the
L56[04:19:07] <Amanda> HashMap a
L57[04:19:09] <Amanda> H
L58[04:19:26] <Amanda> dequbed: nothing but the HashMap had an arc of it
L59[04:20:14] <Amanda> It's 00.30 but I'll check the backlog in the meowning, night nerds
L60[04:27:43] <Hawk777> If it were a garbage collected language, it would be called a weak hashmap, if that’s any help.
L61[04:27:51] <Hawk777> (probably)
L62[04:28:18] <Hawk777> Haven’t ever looked for such a thing in Rust though.
L63[04:30:19] <Hawk777> Perhaps a HashMap<K, Weak<V>> would be sufficient? It would not automatically remove elements when their refcounts reach zero (instead it would hold empty Weak<V> objects), but you could possibly do that with a cleanup pass, or by impling Drop on V to clear the entry.
L64[05:09:24] <Amanda> Guess who has insomnia I guess
L65[05:14:35] <Amanda> Reading the docs on std::rc::weak mentions the allocation doesn't go away, does that mean it'll be "dropped" but still be in memory?
L66[05:15:34] <Amanda> I mainly want to do this to avoid loading more and more of the world into ram when the players only in a small part of it
L67[05:22:10] <Hawk777> Yes, exactly. The allocation has to remain because otherwise the Weak object would itself contain a dangling pointer.
L68[05:22:29] <Hawk777> But if you gave V a Drop impl that removes the element from the map, that would solve the problem.
L69[05:25:25] ⇦ Quits: ben_mkiv (~ben_mkiv@2001:16b8:1e96:e500:fe15:be7d:b382:accd) (Ping timeout: 189 seconds)
L70[05:29:43] <Va​ur> getting the hang of mining (sadly cut short due to a disconnect) https://tinyurl.com/yf8xartj
L71[05:30:16] <Amanda> How would v get it's map though? Although if HashMap implements retain I could just add a call to that to only retain weaks that are still valid
L72[05:30:41] <Amanda> Since I only really need a small amount of these weak maps
L73[05:31:11] <bad at​ vijya> https://tinyurl.com/ygfldrmq
L74[05:32:17] <Amanda> Wait, the drop would know because it'd be the type-specific maps anyway
L75[05:32:42] <Amanda> Now like I'd have two weak maps of the rooms in my mud
L76[05:32:57] <Amanda> s/Now/Not/
L77[05:32:58] <MichiBot> <Amanda> Not like I'd have two weak maps of the rooms in my mud
L78[05:33:41] <Izaya> aaaargh
L79[05:33:55] <Izaya> I got excited because something matching "Super Cub" showed up in nyaa's literature section
L80[05:33:58] <Izaya> but it was manga q_q
L81[05:39:10] <Klea​dron> >super cub
L82[05:39:11] <Klea​dron> WHAT
L83[05:39:27] <Izaya> the honda C50 super cub
L84[05:40:00] <Klea​dron> CAR
L85[05:40:42] <Izaya> https://files.catbox.moe/9ehyxc.png
L86[05:42:30] <Izaya> I'm not sure what direction the money went but there's an anime this season about a girl that buys a C50 and it's comfy and each episode is effectively a 24-minute honda ad
L87[05:44:03] <Amanda> Looks like HashMap does have retain
L88[05:44:25] <Amanda> So that'll work, danke Hawk777
L89[05:44:50] <Klea​dron> I was wondering why the image was taking so long to load and then I saw the resolution
L90[05:45:38] <Amanda> %remindme 6h HashMap<k, weak<v>> and retain to clean
L91[05:45:39] <MichiBot> I'll tell you "HashMap<k, weak<v>> and retain to clean" in 6h at 05/13/2021 11:45:38 AM
L92[05:46:07] * Amanda decides to attempt sleep again. Night nerds
L93[05:46:20] <Izaya> o/
L94[06:14:31] <Ar​iri> i have no idea what im doing
L95[06:14:32] <Ar​iri> https://cdn.discordapp.com/attachments/822189659244724334/842283324776775690/Screenshot_from_2021-05-12_23-12-07.png
L96[06:15:08] <Forec​aster> %sip
L97[06:15:08] <MichiBot> You drink a porous cyan potion (New!). Forecaster feels slightly weaker.
L98[06:15:14] <Forec​aster> Aww
L99[06:23:03] <Klea​dron> poop os
L100[06:29:16] <Va​ur> %sip
L101[06:29:16] <MichiBot> You drink a fiery aether potion (New!). Vaur turns into a wolf lizard until they have A Basic Sapphire potion.
L102[06:35:51] <Ariri> lol
L103[06:37:13] <B​ob> ive wanted to try Pop
L104[06:37:21] <B​ob> but i settled with Manjaro cause Arch
L105[06:40:20] <Klea​dron> %drink
L106[06:40:20] <MichiBot> You drink a simulated weather potion (New!). Kleadron suddenly forgets a random piece of trivia.
L107[06:44:46] <Ariri> I was going to go Manjaro and did use it, but went with Pop cause Ubuntu
L108[06:44:58] <Ariri> already have it on my servers and I liked it
L109[06:56:35] ⇦ Quits: Hawk777 (~chead@2607:c000:8265:f800:64ec:64c0:c3cf:e089) (Quit: Leaving.)
L110[07:10:09] <Sagh​etti> %sip Basic Sapphire potion
L111[07:10:09] <MichiBot> You drink a basic sapphire potion (New!). Saghetti's pockets suddenly contain 1d​10 => 10 Unobtanium colored marbles.
L112[07:20:56] <Forec​aster> you're rich!
L113[07:25:29] <bad at​ vijya> https://tinyurl.com/ydtg7knx
L114[07:32:49] <Ar​iri> not exactly the kind of "stealth" technology the military was looking for
L115[07:33:22] <Forec​aster> it's perfect when hiding in a jungle though, everyone will think it's just a leopard
L116[07:36:44] ⇦ Quits: S|h|a|w|n (~shawn156@c-76-25-73-212.hsd1.co.comcast.net) (Read error: Connection reset by peer)
L117[07:38:55] <bad at​ vijya> the leading distributor of MiG parts
L118[07:46:35] <Ar​iri> @Forecaster https://tinyurl.com/yeuqumpp
L119[07:46:55] <Ar​iri> it's bug hunting time
L120[07:48:37] <Forec​aster> the bugs sure like those nebula
L121[07:51:01] <CompanionCube> %tonkout
L122[07:51:01] <MichiBot> Awesome! Compan​ionCube! You beat Va​ur's previous record of 5 hours and 33 minutes (By 2 minutes and 1 second)! I hope you're happy!
L123[07:51:02] <MichiBot> Compan​ionCube has stolen the tonkout! Tonk has been reset! They gained 0.005 tonk points! plus 0.004 bonus points for consecutive hours! (Reduced to 50% because stealing) Current score: 1.061151. Position #2 Need 0.05813155 more points to pass Va​ur!
L124[07:51:45] <CompanionCube> %drink
L125[07:51:46] <MichiBot> You drink a hairy honey potion (New!). For about a second CompanionCube knows the location of a great treasure.
L126[07:52:00] <CompanionCube> cool but useless
L127[07:52:08] <bad at​ vijya> another fun title i had for the screenshot was "Fox hunt" lmao
L128[08:21:20] ⇨ Joins: Inari (~Pinkishu@p508ef098.dip0.t-ipconnect.de)
L129[08:47:00] <schafhi​rte 204> %sip
L130[08:47:01] <MichiBot> You drink a stirring blue potion (New!). schafhirte 204 gains an additional bone.
L131[08:47:56] <schafhi​rte 204> %tonk
L132[08:47:56] <MichiBot> schafhi​rte 204: You should probably read this: https://michibot.pc-logix.com/tonk
L133[08:55:49] <Forec​aster> %tonk
L134[08:55:49] <MichiBot> Dogast! Forec​aster! You beat Compan​ionCube's previous record of <0 (By 1 hour, 4 minutes and 48 seconds)! I hope you're happy!
L135[08:55:50] <MichiBot> Forecaster's new record is 1 hour, 4 minutes and 48 seconds! Forecaster also gained 0.00108 tonk points for stealing the tonk. Position #3. Need 0.1822203 more points to pass Compan​ionCube!
L136[09:18:07] ⇦ Quits: hnOsmium0001 (uid453710@id-453710.stonehaven.irccloud.com) (Quit: Connection closed for inactivity)
L137[09:38:53] ⇨ Joins: Vexatos (~Vexatos@port-92-192-163-98.dynamic.as20676.net)
L138[09:38:54] zsh sets mode: +v on Vexatos
L139[09:48:19] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@host-92-17-126-142.as13285.net)
L140[09:58:56] ⇨ Joins: Trixelit (~trixelit@static-33-80.grapevine.net.au)
L141[09:59:04] <Trixelit> hello
L142[09:59:57] ⇦ Quits: Trixelit (~trixelit@static-33-80.grapevine.net.au) (Remote host closed the connection)
L143[10:00:41] <ThePi​Guy24> wow they managed to pass the 1 minute mark!
L144[10:00:43] <ThePi​Guy24> just
L145[10:02:32] <Forec​aster> Instant Reply Chat strikes again
L146[10:04:58] <Kristo​pher38> Instant reply chat xD
L147[10:14:07] <Elfi> We all lurk down here
L148[10:15:53] <dequbed> Amanda: The issue at hand is that Rust doesn't have upward type communication i.e. if you have an HashSet<Arc<T>> the `T` can't know it's in an Arc and the Arc has no idea it's in a HashSet. In your case you'd have to e.g. define a ArcHashMap<T> that does the given notification. Or be lazy (in CS terms, not human ones) and use Weak with cleanup whenever.
L149[10:17:44] <OneShot-Sp​rachfehler> Hello
L150[10:23:38] <Inari> nep
L151[10:24:14] <Inari> Ariri: Dunno, it's kinda dumb they keep sticking cat ears on everything imo
L152[10:24:41] <Forec​aster> what if it was fox ears
L153[10:24:50] <Inari> still
L154[10:24:52] <Inari> It's a shark girl
L155[10:24:56] <Inari> she shouldn't have fox/cat ears
L156[10:24:56] <Inari> smh
L157[10:26:20] <Forec​aster> I have no idea what that is about but okay
L158[10:32:25] <dequbed> Izaya: Unrelated but I got myself a vacuum tube power supply / tester: https://i.imgur.com/AnSkdbp.jpg :D
L159[10:36:21] <Vexatos> nice Netzeinheit
L160[10:36:34] <Vexatos> why do you have a need to test vacuum tubes
L161[10:37:21] <dequbed> Because a) Vacuum tubes b) how could I look at a 500V power supply and *not* cackle with glee Vexatos? :P
L162[10:37:28] <Vexatos> >500V
L163[10:37:29] <Vexatos> ah
L164[10:37:30] <Vexatos> right
L165[10:37:52] <Vexatos> I've once used a 10kV power supply :⁾
L166[10:37:58] <Vexatos> it was installed in a decvice but still
L167[10:38:03] <Vexatos> device*
L168[10:38:04] <dequbed> All these angry pixies and their mine to command! :3
L169[10:38:29] <Forec​aster> what about their mine
L170[10:38:36] <Forec​aster> do you not have enough minerals
L171[10:38:39] <dequbed> Eh, high voltage is less fun because you have to actually watch out because that will kill you.
L172[10:39:00] <Vexatos> it is fun if you only have the cathode
L173[10:39:09] <Vexatos> and you're generating electron beams
L174[10:39:25] <Forec​aster> 500 isn't high?
L175[10:39:32] <dequbed> no
L176[10:39:35] <dequbed> >1kV is high
L177[10:39:52] <dequbed> 500V is quite low voltage
L178[10:40:08] <Forec​aster> it's more than household voltage, I'd consider that high
L179[10:40:13] <Vexatos> I don't even know what half the dials on that PSU are supposed to do
L180[10:41:33] <dequbed> @Forecaster household voltage is 440V on two phases that's not even all that far from 500V. 1kV is where it starts to become serious, above 10kV is where you don't get to make mistakes and live to tell the tale
L181[10:41:41] <Forec​aster> ah, it's defined by the risk of arcing
L182[10:42:29] <Vexatos> this is high voltage but low amperage
L183[10:42:54] <Vexatos> what I was doing I mean
L184[10:42:54] <Forec​aster> mains two-phase voltage here is 230V
L185[10:43:44] <Forec​aster> three-phase is 400V
L186[10:43:44] <dequbed> @Forecaster only between P and L. Between two phases it's 440
L187[10:45:27] ⇨ Joins: t20kdc (~20kdc@cpc139384-aztw33-2-0-cust220.18-1.cable.virginm.net)
L188[10:49:44] ⇨ Joins: flappy (~flappy@88-113-155-26.elisa-laajakaista.fi)
L189[10:58:07] ⇨ Joins: q1q1q1 (webchat@068-119-238-166.res.spectrum.com)
L190[10:58:38] ⇦ Quits: q1q1q1 (webchat@068-119-238-166.res.spectrum.com) (Client Quit)
L191[11:02:27] <dequbed> Vexatos: https://i.imgur.com/fif19k1.jpg foxes
L192[11:03:45] <Vexatos> not sure if fruit gummy or 3D prints
L193[11:03:50] <Vexatos> ...or both
L194[11:04:16] <dequbed> 3D prints
L195[11:04:31] <dequbed> But you've got a point. I should make fruit gummy fox molds
L196[11:14:26] <Kristo​pher38> dequbed: but fox friday is tommorow
L197[11:14:50] <dequbed> I'm not at the lab tomorrow
L198[11:15:31] <Vexatos> I've never used a 3D printer
L199[11:15:32] <Vexatos> sounds fun
L200[11:15:44] <dequbed> Come over I'll let you have a go at ours :P
L201[11:17:28] <Vexatos> hm that's a bit far I'm afraid
L202[11:18:09] <dequbed> But fun machinery :o
L203[11:18:17] <Vexatos> fair
L204[11:18:32] <Vexatos> expensive machines is the thing I miss the most now that I am in quantum chemistry
L205[11:19:06] <Vexatos> all our computer combined are less than half the price of the vacuum chamber I worked at for six weeks
L206[11:19:12] <Vexatos> all our computers*
L207[11:19:29] <Vexatos> vacuum chambers with electron beams and helium-cooled adsorption plates
L208[11:20:01] <Vexatos> and manually configuring a PID controller for a heating coil to run a linear temperature gradient between 30 and 500 kelvin :^)
L209[11:20:04] <Vexatos> (not fun)
L210[11:20:14] <dequbed> Unrelated but we have a rather pricey assembly line sorting robot (used to visually check solar panel modules for defects and organize them), and I was debating making that organize drink crates and build the worlds most expensive vending machine
L211[11:20:41] <dequbed> As in it has a grab arm and can reach an outside window. And it can visually recognize which bottles are empty, what bottles are what, etc
L212[11:20:57] <Vexatos> a vending robot arm sounds neat
L213[11:21:08] <dequbed> Wanna go help me build it? :3
L214[11:21:14] <Vexatos> pfft
L215[11:21:25] <Vexatos> I can do a bit of woodworking but not much else :⁾
L216[11:21:26] <dequbed> I've got the go-ahead from the lab, we can totally go build that
L217[11:23:04] <Vexatos> is it just sitting on a shelf right now?
L218[11:23:19] <Vexatos> decommissioned?
L219[11:23:45] <dequbed> it's 3x3x4 metres. Not exactly "on a shelf" more like "is the shelf"
L220[11:23:58] <Vexatos> ah
L221[11:24:44] <dequbed> And it's funnily enough one of the machines which is the least likely to kill you. It's not all that strong ... for a robot.
L222[11:30:33] ⇨ Joins: Victor_sueca (~Victor_su@90.165.120.190)
L223[11:33:38] <Amanda> dequbed: I think I decided on Hashamp<k, Weak<v>> last night, with cleanups every "tick"
L224[11:34:06] <dequbed> Amanda: Cleanup every tick sounds expensive but I mean it's a MUD.
L225[11:34:16] <Amanda> dequbed: hashmap has a `retain` funciton, so you can just do `hm.retain(|k, v| { v.is_not_Valid() })`
L226[11:34:45] <t20kdc> %choose tell them or don't tell them
L227[11:34:45] <MichiBot> t20​kdc: Once you get a taste of "don't tell them" you can't stop.
L228[11:34:59] * t20kdc throws a newspaper headline received from the future into the rubbish bin
L229[11:35:03] <Amanda> Can therebe multiple `impl Foo` Blocks in a source file
L230[11:35:10] <dequbed> Retain iterates the entire map IIRC, which is what I meant with 'expensive'
L231[11:35:25] <dequbed> Amanda: Yes. Even multiple with the same restrictions
L232[11:35:26] <Amanda> yeah, if it turns out to be, it can always be toned down
L233[11:35:39] <Amanda> ( every X ticks instead of every tick )
L234[11:35:45] <Amanda> that said, each tick is 1s apart atm
L235[11:36:00] <Amanda> so it's not like I'm hurting for time
L236[11:36:15] <Amanda> Purrfect! TIme to write kitten's second macro
L237[11:36:24] <dequbed> Amanda: I would have instead went with "on deletion check that entry" because as far as I understood your usecase that is the only situation where you'd actually have to clean up?
L238[11:37:03] <Amanda> dequbed: do you mean the Drop method that hawk mentiond last night?
L239[11:38:32] <dequbed> Amanda: As I understood you want a HashMap which does reference counting so that you only ever have one instance of the room in memory and multiple threads(?) use that one instance which will be deallocated when nobody needs it anymore
L240[11:39:18] <Amanda> dequbed: yeah
L241[11:41:36] <Vexatos> what are you working on?
L242[11:42:15] <Amanda> a MUD
L243[11:43:18] <Va​ur> %tonk
L244[11:43:19] <MichiBot> Holy paper crane Batman! Va​ur! You beat Forec​aster's previous record of 1 hour, 4 minutes and 48 seconds (By 1 hour, 42 minutes and 41 seconds)! I hope you're happy!
L245[11:43:20] <MichiBot> Vaur's new record is 2 hours, 47 minutes and 29 seconds! Vaur also gained 0.00342 (0.00171 x 2) tonk points for stealing the tonk. Position #1.
L246[11:44:00] <dequbed> Amanda: I'd do that by having a wrapper type that implements a different `remove` function which only decrements references until it needs to deallocate. `Drop` on the wrapper type would decrement all entries once
L247[11:45:39] <MichiBot> Amanda REMINDER: HashMap<k, weak<v>> and retain to clean
L248[11:53:07] ⇨ Joins: TPG24 (~ThePiGuy2@host-92-17-126-142.as13285.net)
L249[11:53:39] ⇦ Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-126-142.as13285.net) (Ping timeout: 204 seconds)
L250[11:58:09] <Inari> Amanda: https://twitter.com/ShouldHaveCat/status/1392468060737622017
L251[11:58:13] <MichiBot> Wed May 12 13:13:51 UTC 2021 @ShouldHaveCat: <https://t.co/KlwMiO6R4u&gt;
L252[11:58:16] <Inari> @Forecaster about hololive vtubers
L253[11:58:26] <Forec​aster> ah
L254[11:58:44] <Inari> Gura is a shark girl, but in her new outfit she has cat ears apparently
L255[11:58:48] <Inari> %actualshrug
L256[11:58:49] <MichiBot> ¯\_(ツ)_/¯
L257[12:36:29] ⇦ Quits: TPG24 (~ThePiGuy2@host-92-17-126-142.as13285.net) (Ping timeout: 189 seconds)
L258[12:37:05] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@host-92-17-126-142.as13285.net)
L259[12:48:49] <pay​onel> @Kristopher38 poke
L260[12:49:10] <Kristo​pher38> whom'stve called me
L261[12:49:38] <pay​onel> drive max stack size with uuid, 1, else 64
L262[12:50:48] <pay​onel> Code Block pastebined https://paste.pc-logix.com/rohugeqawi
L263[12:52:59] <Amanda> dequbed: ... now for the million-dollar question: How the hell do I get a static mut HashMap
L264[12:53:13] <Amanda> lazy_static doesn't seem to accept mut
L265[12:53:14] <dequbed> static mut or &'static mut?
L266[12:53:26] <Amanda> what's the difference?
L267[12:53:36] <Amanda> I want to be able to mutate the static global
L268[12:53:46] <dequbed> One's a reference the other one's impossible
L269[13:03:19] <Amanda> figured it out with lazy_static -- just wrapped it in a Mutex. :D
L270[13:09:28] <Amanda> woo, it works
L271[13:11:06] <Forec​aster> @Lizzy-chan do you remember what you used to package a python script into an exe?
L272[13:11:20] <Forec​aster> I've tried pyinstaller and py2exe and can't get either one to work
L273[13:12:07] ⇨ Joins: Thutmose (~Patrick@host-69-59-79-181.nctv.com)
L274[13:13:03] <Lizzy​-chan> Pyinstaller is what I used, think there's an argument to make a single file
L275[13:13:16] <Forec​aster> yeah but it doesn't run
L276[13:13:27] <Forec​aster> or rather, it tries but fails
L277[13:13:55] <Forec​aster> from what I found it needs a development version of python installed, but I can't get that
L278[13:14:12] <Forec​aster> I can run it on ubuntu fine, but it can't cross-compile
L279[13:16:57] <Lizzy​-chan> I'll have a look at what I did when I'm back at my desk
L280[13:16:59] <Amanda> Hey Inari, come here I need help with my physics homework
L281[13:18:43] <Amanda> My teacher wants me to do practical experiments to find out the terminal velocity of a fox
L282[13:22:00] <dequbed> Please don't hurt the foxes
L283[13:25:41] <Forec​aster> I might just have to stick to distributing the script and just make it prompt about missing libraries and offer to install them or something
L284[13:28:39] <Kristo​pher38> >pay​onel: drive max stack size with uuid, 1, else 64
L285[13:28:39] <Kristo​pher38> yay! thank you
L286[13:29:59] <pay​onel> now fixing robot bucket use on cows
L287[13:33:23] <Lizzy​-chan> >Forec​aster: I might just have to stick to distributing …
L288[13:33:24] <Lizzy​-chan> This is roughly what I used for LRPU, don't think i tweaked it too much for the windows version
L289[13:33:24] <Lizzy​-chan> `pyinstaller --onefile --clean -n NameOfProgram --hidden-import urllib3 --hidden-import queue --distpath updater src/main.py`
L290[13:33:24] <Lizzy​-chan> if you're missing the libraries, try adding them through the `--hidden-import` arguments
L291[13:35:06] <Forec​aster> the error I'm getting is `OSError: Python library not found: libpython3.7m.dll, libpython37.dll, libpython37m.dll, python37.dll, libpython3.7.dll`
L292[13:35:24] <Forec​aster> which from what I found is because I have the release version of Python and not the dev version
L293[13:35:46] <Forec​aster> but I couldn't find a dev version of Python for windows
L294[13:42:32] <Amanda> dequbed: not even the rude foxes that keep stealing my noms?
L295[13:43:08] <Lizzy​-chan> err, hmm
L296[13:44:10] <Lizzy​-chan> @Forecaster i can't recall if there's options in the installer to add stuff in
L297[13:44:28] <Amanda> I don't think python 3.7 is dev anymore? Aren't they up to 3.10 or something nowl?
L298[13:44:41] <Lizzy​-chan> though to me that sounds like it can't find the lib files itself
L299[13:44:51] <Forec​aster> current version is 3.9.5
L300[13:45:24] <Forec​aster> I just managed to switch to that version now
L301[13:45:26] <Lizzy​-chan> do you have multiple versions of python installed?
L302[13:45:31] <Forec​aster> maybe it'll work better
L303[13:45:33] <Forec​aster> yes
L304[13:45:56] <Lizzy​-chan> hmm, it might be that pyinstaller was getting run with one version but trying to use another or something
L305[13:46:13] <Forec​aster> it seems to work better now
L306[13:46:18] <Forec​aster> it's still running
L307[13:46:20] <Lizzy​-chan> i've never had luck with multiple versions of python installed so i usually just wipe them all and install the latest
L308[13:46:21] <Forec​aster> it failed quickly before
L309[13:46:30] <pay​onel> AH HA! fixed the cows
L310[13:46:34] <Forec​aster> oh hey it worked
L311[13:46:55] <Amanda> @payonel remember to spay or nuter your bovine
L312[13:47:07] <Forec​aster> well, in IDEA you have to point the project at an install location
L313[13:47:19] <Forec​aster> I had to change which one the project pointed to
L314[13:48:18] <Lizzy​-chan> hmm, i don't think i've ever used idea for python dev, I mainly use pycharm for that
L315[13:48:37] <Forec​aster> never used pycharm
L316[13:48:44] <Forec​aster> I use IDEA for everything
L317[13:49:17] <Lizzy​-chan> i think they're both made by Jetbrains
L318[13:49:23] <Forec​aster> they are
L319[13:49:56] <Lizzy​-chan> i'm not sure how the free versions compare, but i know that the pro version of pycharm has a fair bit more stuff that helps with Django development
L320[13:50:19] <Forec​aster> I have IDEA Ultimate
L321[13:50:27] <Forec​aster> also never used or looked at Django
L322[13:51:08] <Lizzy​-chan> i think it does more than that, but that's the main reason i got it
L323[13:51:15] <Forec​aster> now I just need a gui
L324[13:51:45] <Lizzy​-chan> depending on your usecase, PySimpleGUI is a neat little lib that i've used in the past
L325[13:52:12] <Forec​aster> I just need a simple form type gui for users who can't commandline
L326[13:52:15] <Amanda> %choose halucinate or continue oxidysing
L327[13:52:15] <MichiBot> Ama​nda: Is it a bird?! Is it a plane?! No! It's "halucinate"!
L328[13:52:18] <pay​onel> i'm not trying to be "that guy" about "my IDE is better". honest i'm not, but, i really don't like IDEA
L329[13:52:37] <Lizzy​-chan> @Forecaster then PySimpleGUI might just be the thing for you
L330[13:52:39] <Forec​aster> the tricky part will be figuring out how to have the gui script use the cmd script while keeping them separate
L331[13:53:27] <Amanda> just make the GUI only porecelin
L332[13:53:40] <Kristo​pher38> also @payonel I don't know how your tagging scheme works but if cross_mod means "crossmod operation incompatibility" then my other issue shouldn't be tagged that https://github.com/MightyPirates/OpenComputers/issues/3210
L333[13:53:41] <MichiBot> Title: Drones with chunkloader upgrade stop operating after going through a portal | Posted by: Kristopher38 | Posted: Mon Jan 06 21:20:25 UTC 2020 | Status: open
L334[13:53:53] <pay​onel> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/xoluxufetu
L335[13:54:28] <pay​onel> @Kristopher38 oh vanilla portal?
L336[13:54:33] <Kristo​pher38> yeah
L337[13:54:42] <pay​onel> there were other issues about star..something, portals
L338[13:54:45] <Kristo​pher38> a different issue mentioned stargate portals
L339[13:54:48] <pay​onel> yeah
L340[13:54:52] <Kristo​pher38> but it doesn't work even on vanilla
L341[13:54:59] <pay​onel> hmm............ok, i might look at that then
L342[13:54:59] <Kristo​pher38> with vanilla portals*
L343[13:55:05] <Kristo​pher38> no rush
L344[13:55:16] <pay​onel> serialization/persistance issues are so very hard to debug
L345[13:55:31] <Kristo​pher38> i can imagine 😦
L346[13:55:31] <pay​onel> i built a tool specifically to help me investigate those issues
L347[13:55:47] <pay​onel> spent days on it, all kinds of debugger data, and special tools to help me "step through" our lua systems
L348[13:56:30] <Kristo​pher38> damn, sound like a lot of effort
L349[13:56:32] <Kristo​pher38> damn, sounds like a lot of effort [Edited]
L350[13:57:07] <Amanda> what's even moreimpressive is it's all written in lobsters
L351[13:57:16] <Amanda> millions upon millions oflobsters
L352[13:57:34] <pay​onel> yeah, and i still couldn't fix it
L353[13:57:41] <Kristo​pher38> no Amanda, it's just a thinking rock
L354[13:57:51] <pay​onel> i did find the bug in our eris persistence layer
L355[13:58:27] <pay​onel> but it was a bit complex to figure out the fix. basically, the lua internal structs use tables to refer to metadata about upvals
L356[13:58:50] <pay​onel> and those upvals can have shared refs in other tables, like for callback metadata, and envirnments in threads
L357[13:59:52] <Forec​aster> lobsterscript is much more pinchy than catscript
L358[13:59:59] <Forec​aster> catscript is more scratchy
L359[14:00:08] <Amanda> %scratch @Forecaster
L360[14:00:14] <Amanda> %claw @Forecaster
L361[14:00:14] <MichiBot> Ama​nda is trying to claw @Forec​aster! They have 1 minute if they want to attempt to %defend against it!
L362[14:00:25] <Forec​aster> %dodge
L363[14:00:26] <MichiBot> Forecaster failed to dodge Amanda. With an 11 vs 12 Forecaster takes the full 1 damage.
L364[14:00:30] <Forec​aster> ow
L365[14:00:42] <pay​onel> depending on the random order of serialization, key data can be stored in our serialization that breaks our deserializer, because when we deserialize that key data it doesn't get resolved on the 2nd reference. i think we are missing a "lookup existing key for reference sharing" in a convoluted edge case
L366[14:01:09] <pay​onel> but this is only under a very specific upval + thread shared reference
L367[14:01:37] <pay​onel> again, it took me days, and i was starting to dislike reading the lua c code
L368[14:02:18] <pay​onel> anyways, @Kristopher38 thanks for letting me know. i've fixed the labels
L369[14:02:40] <Kristo​pher38> I'm planning to venture into lua's C code more in the coming summer, hopefully
L370[14:02:47] <Kristo​pher38> also np
L371[14:03:10] <Forec​aster> hm, I need a file selector... I hope this library has that
L372[14:04:21] <Forec​aster> oh it does, nice
L373[14:05:43] <Kristo​pher38> btw a bunch of people have been successfully using the latest dev build (we even have a server running it) without issues for a long while now
L374[14:09:55] <pay​onel> im going to fix just one more bug, the domain whitelist. and i'll poke at the drone portal issue (we'll see)
L375[14:10:03] <pay​onel> and then i'll cut an official 1.7.5 release update
L376[14:12:44] <Izaya> speaking of drones
L377[14:13:36] <Izaya> thinking about using drones to do more complicated logistics
L378[14:14:14] <Izaya> thinking the idea is to have a buffer box for items to be moved, then have the drone listen for RPC calls to move to x-y coordinates relative to the zero-position
L379[14:15:03] <Izaya> so you'd tell it "please move all the items from the box to 4,-2" and it'd suck up all the items and move them to the box
L380[14:15:17] <Izaya> this would be for use with IE crates and EnderIO conduits
L381[14:15:28] <Izaya> so you'd end up with 4x4 clusters of crates hooked up to different item conduit networks
L382[14:18:19] <Kristo​pher38> Izaya: I've seen this recently: https://www.youtube.com/watch?v=wl1kYqgnDV4&ab_channel=Shaman2525Plays
L383[14:18:19] <MichiBot> Minecraft 1.12.2 Open Computers, Drones Swarm Project | length: 10m 41s | Likes: 3 Dislikes: 0 Views: 223 | by Shaman2525 Plays | Published On 13/9/2020
L384[14:19:23] <Kristo​pher38> but also they do this irl too, not for moving stuff around but for bookeeping though https://www.youtube.com/watch?v=5N87L_nO2ms&ab_channel=DSVGlobalTransportandLogistics
L385[14:19:23] <MichiBot> DSV improves warehouse operations with drone system | length: 2m 57s | Likes: 101 Dislikes: 3 Views: 15,084 | by DSV Global Transport and Logistics | Published On 17/11/2020
L386[14:22:39] <Izaya> very fancy
L387[14:22:56] <Izaya> I just wanted to use them to distribute items
L388[14:22:59] <Izaya> between boxes
L389[14:23:21] <Izaya> because I have a nice inventory system that works well, but with one transposer you can only get 4 outputs
L390[14:23:28] <Izaya> and I want n+1 inventory access terminals
L391[14:24:03] <Izaya> so if I have one output that goes to a system that actually does the distribution between many outputs, we'll be good
L392[14:24:18] <Izaya> Then the constraint becomes the EnderIO conduit networks and only having 16 channels.
L393[14:26:18] <Izaya> But if I do the crates in grids of 4x4 there can be one block spacing between each cluster
L394[14:26:48] <Izaya> (the plan was also to give names to coordinate pairs, then route based on where the request came from)
L395[14:32:38] <dequbed> Amanda: No, foxes are friends not ~food~ equipment for gravity experimentation
L396[14:42:19] <Ar​iri> Inari: in this case, Gura specifically said not long after her debut that she would go nuts if she got cat ears
L397[14:42:27] <Ar​iri> this was basically a gift
L398[14:43:55] <Ar​iri> dequbed: but what if it's a fox made out of gelatin?
L399[14:45:06] <Ar​iri> Inari:
L400[14:45:08] <Ar​iri> https://youtu.be/eZwxezoCv04
L401[14:45:08] <MichiBot> Gura Wants Cat Ears for Yagoo... And for Herself | length: 2m 1s | Likes: 1,816 Dislikes: 2 Views: 23,717 | by Rizulix | Published On 26/11/2020
L402[14:49:05] <dequbed> Ariri: Sounds disgusting
L403[14:50:38] <dequbed> Izaya: https://youtu.be/otJWo9jhFkk
L404[14:50:38] <MichiBot> 204 | I dropped something | length: 7s | Likes: 9,170 Dislikes: 7 Views: 64,127 | by Telepurte | Published On 13/5/2021
L405[14:50:51] <Amanda> Hrm
L406[14:51:10] <Amanda> %choose dive into proc macros?
L407[14:51:10] <MichiBot> Ama​nda: No, maybe tomorrow.
L408[14:51:15] <Amanda> Okay
L409[14:54:53] <Ar​iri> dequbed, I was going to provide a counter providing some made-up stats about flexibility and color changing ability, but I found this derpy thing instead https://tinyurl.com/ygqyuhhy
L410[14:55:46] <dequbed> @Ariri That is adorable
L411[14:56:10] <Ar​iri> Yes
L412[15:03:17] ⇨ Joins: hnOsmium0001 (uid453710@id-453710.stonehaven.irccloud.com)
L413[15:08:42] ⇨ Joins: Tiktak133 (~Tiktak133@83.25.197.249.ipv4.supernova.orange.pl)
L414[15:09:01] ⇦ Quits: Tiktak133 (~Tiktak133@83.25.197.249.ipv4.supernova.orange.pl) (Client Quit)
L415[15:17:00] ⇨ Joins: Hawk777 (~chead@2607:c000:8265:f800:64ec:64c0:c3cf:e089)
L416[15:21:57] ⇨ Joins: thorben3 (webchat@aftr-88-152-185-52.unity-media.net)
L417[15:22:11] ⇦ Quits: thorben3 (webchat@aftr-88-152-185-52.unity-media.net) (Client Quit)
L418[15:43:38] ⇦ Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-126-142.as13285.net) (Remote host closed the connection)
L419[16:26:07] <Inari> @Ariri will make you go nuts tbh
L420[16:42:31] ⇨ Joins: Webchat932 (webchat@86-63-109-174.sta.asta-net.com.pl)
L421[16:42:34] ⇦ Quits: Webchat932 (webchat@86-63-109-174.sta.asta-net.com.pl) (Client Quit)
L422[17:06:20] ⇨ Joins: ben_mkiv (~ben_mkiv@2001:16b8:1e3f:9b00:8d17:b1bc:5e52:fc55)
L423[17:13:08] <Va​ur> %tonkout
L424[17:13:09] <MichiBot> Hooray! Va​ur! You beat your own previous record of 2 hours, 47 minutes and 29 seconds (By 2 hours, 42 minutes and 20 seconds)! I hope you're happy!
L425[17:13:10] <MichiBot> Va​ur has tonked out! Tonk has been reset! They gained 0.005 tonk points! plus 0.008 bonus points for consecutive hours! Current score: 1.13570255, Position #1
L426[17:35:02] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@host-92-17-126-142.as13285.net)
L427[17:56:16] <Ar​iri> Inari: I’m a well-mannered kemonomimi enthusiast, thank you very much
L428[17:56:44] <Inari> :p
L429[18:50:04] ⇦ Quits: ben_mkiv (~ben_mkiv@2001:16b8:1e3f:9b00:8d17:b1bc:5e52:fc55) (Ping timeout: 189 seconds)
L430[18:50:29] ⇦ Quits: lord| (~ba7888b72@66.109.211.50) (Quit: https://i.imgur.com/xacQ09F.mp4)
L431[18:52:18] <Train​fan91> how do i extend remote terminal range?
L432[18:52:38] <Forec​aster> you can't
L433[18:52:55] <Forec​aster> unless there's a config setting for it
L434[18:53:11] <B​ob> isn't it like infinite ?
L435[18:54:42] <Train​fan91> @Bob it craps out a about 16 chunks away; despite a chunk loader being present...
L436[18:55:03] <Forec​aster> it's not meant to be a portable computer
L437[18:56:39] <Train​fan91> @Forecaster well is there a way to make a component wireless (i.e. RAID)
L438[18:57:16] <Train​fan91> i found the bride on oc devices; but that doesn't work with tablets sadly...
L439[18:57:38] <Train​fan91> i found the bridge block on oc devices; but that doesn't work with tablets sadly... [Edited]
L440[18:58:19] <Forec​aster> you can make anything network enabled if you write an interface for it
L441[19:00:23] <Train​fan91> @Forecaster it's a block though...
L442[19:00:54] <Forec​aster> and?
L443[19:01:35] <Train​fan91> and block BE made wireless via linked card?
L444[19:01:51] <Train​fan91> and blocks can BE made wireless via linked card? [Edited]
L445[19:02:34] <Forec​aster> why wouldn't they
L446[19:02:52] <Forec​aster> also linked cards are not wireless, it's a tunnel
L447[19:03:19] ⇨ Joins: ben_mkiv (~ben_mkiv@2001:16b8:1e3f:9b00:8d17:b1bc:5e52:fc55)
L448[19:10:57] <Izaya> export the component over the network
L449[19:10:59] <Izaya> ez
L450[19:16:11] <Train​fan91> what should i make the range for wireless network card for "unlimited" in config?
L451[19:16:34] <Train​fan91> if it helps, java 64 bit over here...
L452[19:17:39] <bad at​ vijya> made this for the PW discord guild https://tinyurl.com/ydb25sxh
L453[19:17:40] <Vampyre> if the range is round, then it's pi*world border
L454[19:18:16] <Vampyre> ah, no, sqrt(2) times world border
L455[19:18:25] <Train​fan91> vampyre what is world border range EXACTLY?
L456[19:18:55] <Vampyre> no idea in 1.1
L457[19:18:56] <Vampyre> 2
L458[19:19:35] <Vampyre> max 60 million?
L459[19:20:30] <Vampyre> oh, and it's 2*sqrt(2)*border, you could have a computer in the opposite corners ;-)
L460[19:26:03] <Va​ur> %tonk
L461[19:26:05] <MichiBot> Potzblitz! Va​ur! You beat your own previous record of <0 (By 2 hours, 12 minutes and 56 seconds)! I hope you're happy!
L462[19:26:06] <MichiBot> Vaur's new record is 2 hours, 12 minutes and 56 seconds! No points gained for stealing from yourself. (Lost out on 0.00222)
L463[19:42:45] <Amanda> dequbed: how would you suggest command dispatching, because it seems my commandholder isn't up to the job regarding lifetimes.
L464[19:44:25] <B​ob> 🤔
L465[20:04:56] ⇦ Quits: Renari (~Renari@64.67.31.239.res-cmts.bgr.ptd.net) (Read error: Connection reset by peer)
L466[20:05:15] ⇨ Joins: Renari (~Renari@64.67.31.239.res-cmts.bgr.ptd.net)
L467[20:18:20] <dequbed> Amanda: uh... more detail please
L468[20:20:11] ⇦ Quits: Amanda (~weechat@c-73-165-85-199.hsd1.pa.comcast.net) (*.net *.split)
L469[20:20:11] ⇦ Quits: MichiBot (~MichiBot@ip160.ip-192-99-104.net) (*.net *.split)
L470[20:20:11] ⇦ Quits: immibis (~immibis@62.156.144.218) (*.net *.split)
L471[20:20:11] ⇦ Quits: dmod (sid32492@id-32492.charlton.irccloud.com) (*.net *.split)
L472[20:20:11] ⇦ Quits: daniel (~quassel@jupiter.danger-it.de) (*.net *.split)
L473[20:20:11] ⇦ Quits: Arcanox (~dragonox@45.159.182.212) (*.net *.split)
L474[20:20:11] ⇦ Quits: Saphire (saphire@lunar.exchange) (*.net *.split)
L475[20:20:11] ⇦ Quits: s0cks (socks@ds003.info) (*.net *.split)
L476[20:20:12] ⇨ Joins: daniel (~quassel@jupiter.danger-it.de)
L477[20:20:28] ⇨ Joins: MichiBot (~MichiBot@ip160.ip-192-99-104.net)
L478[20:20:29] ⇨ Joins: dmod (sid32492@id-32492.charlton.irccloud.com)
L479[20:20:30] zsh sets mode: +v on MichiBot
L480[20:20:32] ⇨ Joins: Amanda (~weechat@c-73-165-85-199.hsd1.pa.comcast.net)
L481[20:20:42] ⇨ Joins: Arcanox (~dragonox@45.159.182.212)
L482[20:20:42] ⇨ Joins: immibis (~immibis@62.156.144.218)
L483[20:21:44] ⇨ Joins: Saphire (saphire@lunar.exchange)
L484[20:23:12] ⇦ Quits: DBotThePony (~Thunderbi@31.220.170.28) (Quit: DBotThePony)
L485[20:23:51] ⇨ Joins: s0cks (socks@ds003.info)
L486[20:27:04] <Amanda> dequbed: basically, I waant to pass a Context with two &mut T's in it, but it's yelling at me that I need to specify a lifetime, when I add the params, suddenly the lifetimes are 'static causing the whole thing to explode
L487[20:28:29] <Amanda> I feel like I'm missing something about lifetimes, but I'm not sure what or where
L488[20:31:30] <Forec​aster> hm... I need to figure out how to translate a CLI operation that asks for user input via the console to the GUI
L489[20:31:55] <Forec​aster> preferrably without bypassing the CLI script
L490[20:33:14] <Forec​aster> I guess I could just make the main function return and iterate
L491[20:36:54] <Amanda> ... I figured it out, kinda? if I construct the commandholder on the spot, it works better, because the Context will have non-static lifetime params
L492[20:37:02] <Amanda> but that's not really what I want
L493[20:44:27] <CompanionCube> Izaya: Skye: https://twitter.com/policescotland/status/1392874548329132035
L494[20:44:28] <MichiBot> Thu May 13 16:09:05 UTC 2021 @policescotland: Updated statement on Kenmure Street, Glasgow <https://t.co/1ELrLVZhOg&gt;
L495[20:45:23] <Amanda> dequbed: so, I've got https://git.camnet.site/gitweb/?p=amandac/rusty-rhino.git;a=blob;f=src/cmds.rs;h=2dce0ad8239ae363288f826737e2eaf9658563ff;hb=HEAD#l8 -- I want 'c and 'p's lifetimes to be at least the length of whatever Context they're loaded into, but I don't know how to do that, and most of my flailing ended up making them 'static which makes the main loop throw a fit
L496[20:48:52] <Amanda> ( Because suddenly the Connection and the Player I loaded into it are lasting until the next loop
L497[20:49:45] ⇦ Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-126-142.as13285.net) (Ping timeout: 189 seconds)
L498[20:56:12] <Hawk777> So what’s failing with the code as written, exactly?
L499[20:58:32] <Amanda> ... just moving Context into the commandholder directly instead of using a generic param seems to have made it happy how I wanted it
L500[20:59:55] <Amanda> Hawk777: nothing, as of that commit. But I don't like that I'm reconstruccting the commandholder::CommandHolder for every input
L501[21:00:17] <Amanda> and my attempts to make it a variable higher in the program was causing lifetime issues
L502[21:01:48] <Hawk777> Where should I be looking to see where the reconstruction is happening?
L503[21:03:10] <Amanda> https://git.camnet.site/gitweb/?p=amandac/rusty-rhino.git;a=blob;f=src/main.rs;h=323cf77875c93bf8528869bbb77cb0c11b5474de;hb=HEAD#l82
L504[21:03:46] <Amanda> if I was to run cmds::build anywhere higher, the lifetime of the Context would be 'static or some other too-long-lived lifetime
L505[21:03:52] <Hawk777> Ah, I see.
L506[21:06:10] <Hawk777> What you really want is for the functions registered in CommandHolder to take an “&mut Context” whose lifetime need not be any longer than the length of the function call, right? In other words, the command callbacks promise not to hang onto the Context for longer than that?
L507[21:07:47] <Amanda> yeah
L508[21:07:49] ⇦ Quits: JonnyGreenwood (~djmadest@95.182.122.116) (Ping timeout: 204 seconds)
L509[21:09:01] <Amanda> moving the Context iinto the commandholder module then removing the generic to use it seems to have worked for now though,
L510[21:09:31] <Amanda> ( That is, instad of CommandHolder<Ctx> -- it's all just CommandHolder and Ctx is hard-coded to be Context )
L511[21:10:05] <Hawk777> I wonder if this is a higher-ranked trait bound situation.
L512[21:10:10] <Hawk777> To do it generically.
L513[21:10:28] <Hawk777> Since you’re trying to say that you want the Fn to be callable over “for<'a> &'a mut Context<'a, 'a>”
L514[21:11:05] <Hawk777> I haven’t used HRTBs myself though.
L515[21:12:36] <dequbed> HKT best types
L516[21:13:55] ⇨ Joins: JonnyGreenwood (~djmadest@95.182.122.116)
L517[21:14:58] <Hawk777> Hm, yeah, it seems like you want to specify part of the generic parameter in one place and part in another—CommandHolder<Ctx> would kind of like Ctx to be a type name with its lifetime parameters unspecified, and then talk only about HRTBs over that type internally (e.g. “where F: 'static + for<'c, 'p> Fn(&mut Ctx<'c, 'p>, &str, &str) -> CmdResult” for register) but I don’t know how to split those two pieces up.
L518[21:16:09] <Izaya> who would win: 10 years of modders' best efforts to prevent automation, or xdotool mousedown?
L519[21:17:15] <bad at​ vijya> heh
L520[21:19:48] <Forec​aster> https://www.techdirt.com/articles/20210512/23570046789/dartmouths-insane-paranoia-over-cheating-leads-to-ridiculous-surveillance-scandal.shtml
L521[21:36:21] <Forec​aster> %tonkout
L522[21:36:24] <MichiBot> I'm sorry Forec​aster, you were not able to beat Va​ur's record of 2 hours, 12 minutes and 56 seconds this time. 2 hours, 10 minutes and 17 seconds were wasted! Missed by 2 minutes and 38 seconds!
L523[21:36:29] <Forec​aster> dammit
L524[22:06:03] <dequbed> "Yeah this should be a quick call" *6h later* "oh"
L525[22:08:28] <t20kdc> Izaya: xdotool mousedown
L526[22:14:39] <bad at​ vijya> https://tinyurl.com/yd69s64a
L527[22:14:45] <bad at​ vijya> i know what i must do with this screenshot
L528[22:16:03] <bad at​ vijya> Interdictor Interception
L529[22:17:07] <Amanda> time for my not-quite-regular weekly update, I guess, since I've been futzing with my nixrc stuff anyway
L530[22:20:05] <Forec​aster> huh, odd
L531[22:20:28] <Forec​aster> when I run a bat script in IDEA's terminal it can't find pyinstaller
L532[22:20:36] <Forec​aster> running it outside of IDEA works fine
L533[22:21:05] <Forec​aster> for some reason it seems it can't access the PATH when inside of IDEA
L534[22:31:13] <t20kdc> Forecaster: presumably, IDEA changes the PATH?
L535[22:40:05] <bad at​ vijya> https://tinyurl.com/y8d7ugcm
L536[22:47:46] <Ar​iri> are those two suns or missile rocket plumes
L537[22:49:26] <bad at​ vijya> it's bloom
L538[22:54:02] ⇦ Quits: Vexatos (~Vexatos@port-92-192-163-98.dynamic.as20676.net) (Quit: Insert quantum chemistry joke here)
L539[22:59:26] <Train​fan91> how do i change oc hostname
L540[23:01:00] <Train​fan91> anyone?
L541[23:01:12] <Izaya> echo whatever > /etc/hostname
L542[23:01:19] <Izaya> the hostname program may be able to do it itself
L543[23:01:44] <Train​fan91> TY!
L544[23:12:00] ⇦ Quits: Inari (~Pinkishu@p508ef098.dip0.t-ipconnect.de) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
L545[23:51:53] <Train​fan91> i need to run a program over tunnels; how could i do that?
L546[23:52:33] <Kristo​pher38> wdym by "run over tunnels" exactly
L547[23:54:24] <Train​fan91> how do send a command to another open computer #1 and have it execute at open computer #2?
L548[23:54:34] <Izaya> what sort of command
L549[23:54:52] <Train​fan91> a lua script
L550[23:55:02] <Train​fan91> over linked card
L551[23:55:05] <Izaya> so you want to send a lua script over the network to another machine and have it execute
L552[23:55:20] <Izaya> ... and return the result, presumably?
L553[23:55:26] <Train​fan91> yes
L554[23:55:43] <Train​fan91> think programs like "teamviewer"
L555[23:55:49] <Train​fan91> irl
L556[23:56:01] <Izaya> ... that's for remote access for a whole machine, not executing scripts remotely
L557[23:56:20] <Izaya> if you want remote shell access to another machine, psh is probably the way to go
L558[23:56:44] <Train​fan91> is psh in openprograms?
L559[23:57:11] <Izaya> if you want to execute arbitrary scripts remotely you'll have to get your hands dirty and write a script to listen on one end for scripts to run from the other end, which will need a program to send them
L560[23:58:12] <Izaya> but before you can solve any problems you have to be able to define them
L561[23:58:18] ⇦ Quits: Hawk777 (~chead@2607:c000:8265:f800:64ec:64c0:c3cf:e089) (Quit: Leaving.)
L562[23:59:08] <Train​fan91> i want a tablet to use a linked card in a way similar to a remote terminal; how do i do that?
L563[23:59:18] <Izaya> psh is most likely the way to go then, yeah
L564[23:59:28] <Izaya> not sure if it's in oppm but there's a good way to find out
L565[23:59:38] <Train​fan91> ty
L566[23:59:48] <Train​fan91> how do i use psh?
<<Prev Next>> Scroll to Top