<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:12:24] <Z0id​berg> 640K
L2[00:30:30] <sapphicf​ettucine> ayy
L3[00:30:34] <sapphicf​ettucine> got an elinks build working on oc2
L4[00:31:27] <Z0id​berg> This rooster refuses to sleep in his coop and so he sleeps every night outside on top of the electrical box rain or snow, freezing or not. Last night we had a torrential downpour and he just fucking sat there and clung on all night. https://tinyurl.com/yak2c3fo
L5[00:33:44] <Z0id​berg> >sapphicfettucine: ayy
L6[00:33:44] <Z0id​berg> Now for links -g ?
L7[00:34:06] <sapphicf​ettucine> i can't get links to compile because of some deps and i'm too sleepy to find a solution
L8[00:34:52] <Z0id​berg> I should port Slackware ha ha ha
L9[01:18:19] <luna​r_sam> >dequbed: lunar_sam: Expanding on asie's answer: Servo was really always meant as an e…
L10[01:18:20] <luna​r_sam> ah, neat
L11[01:24:28] ⇦ Quits: Vexatos (~Vexatos@port-92-192-6-121.dynamic.as20676.net) (Quit: Insert quantum chemistry joke here)
L12[01:26:11] ⇦ Quits: ben_mkiv (~ben_mkiv@200116b8145ad300fe3497fffea975f2.dip.versatel-1u1.de) (Ping timeout: 192 seconds)
L13[01:56:05] <lunar_sam> ya know
L14[01:56:16] <lunar_sam> i should make a tiny HTTP server in lua again
L15[03:03:59] <Ar​iri> Amanda, but I'm too dum not to be doing things that I should :(
L16[03:06:11] <Amanda> Sophia: a king should survey his kingdom!
L17[03:07:37] <Amanda> %choose be responsible or continue reading about the not-very-smart mage
L18[03:07:37] <MichiBot> Ama​nda: If I've learned anything in life it's that you always pick "be responsible"
L19[03:17:08] <Amanda> I mean, MichiBot have you met me?
L20[03:21:28] <Amanda> %tell Inari look, you shouldn't teleport naked, sure it keeps you keystone intact, but the mageling tutalage system is there to teach you stuff that they can't or won't cover in the academy!
L21[03:21:28] <MichiBot> Ama​nda: Inari will be notified of this message when next seen.
L22[03:46:56] * Amanda checks on elfi to make sure the update applied well, curls up and zzzmews once she's made sure the new pattern applied to her wings okat
L23[03:47:29] <Amanda> I mean-- uh
L24[03:47:53] <Amanda> Wow! You look stunning, did you get a hair cut?
L25[03:48:15] * Amanda passes out -- night nerds
L26[03:49:41] <Mic​hiyo> Night
L27[03:49:48] <sapphicf​ettucine> gnight!
L28[03:52:31] <Amanda> ( elfi definitely doesn't have little cat paw prints among her wing patterns now, no ma'am )
L29[04:34:11] <Elfi> I won't lie that's actually kind of cute
L30[04:39:26] <Va​ur> %tonk
L31[04:39:27] <MichiBot> Waesucks! Va​ur! You beat Mic​hiyo's previous record of 3 hours, 41 minutes and 4 seconds (By 4 hours, 4 minutes and 5 seconds)! I hope you're happy!
L32[04:39:28] <MichiBot> Vaur's new record is 7 hours, 45 minutes and 9 seconds! Vaur also gained 0.01628 (0.00407 x 4) tonk points for stealing the tonk. Position #1.
L33[06:04:10] ⇨ Joins: immibis (~hexchat@dynamic-089-204-138-049.89.204.138.pool.telefonica.de)
L34[06:04:49] ⇦ Quits: immibis_ (~hexchat@dynamic-089-204-138-049.89.204.138.pool.telefonica.de) (Ping timeout: 189 seconds)
L35[06:30:07] ⇦ Quits: immibis (~hexchat@dynamic-089-204-138-049.89.204.138.pool.telefonica.de) (Ping timeout: 189 seconds)
L36[06:45:38] ⇦ Quits: Thutmose (~Patrick@67.21.186.225) (Quit: Leaving.)
L37[08:53:11] ⇦ Quits: Hawk777 (~chead@2607:c000:8279:6e00:a2a6:c9d6:2542:7bcb) (Quit: Leaving.)
L38[09:24:17] ⇦ Quits: S|h|a|w|n (~shawn156@c-76-25-73-212.hsd1.co.comcast.net) (Quit: Leaving)
L39[09:39:03] ⇨ Joins: immibis (~hexchat@62.156.144.218)
L40[10:38:08] ⇨ Joins: Vexatos (~Vexatos@port-92-192-6-121.dynamic.as20676.net)
L41[10:38:08] zsh sets mode: +v on Vexatos
L42[10:43:07] <Forec​aster> %sip
L43[10:43:09] <MichiBot> You drink a powdery aluminium potion (New!). A sudden craving for soup occupies Forecaster's thoughts until they exit the room.
L44[12:36:45] <Va​ur> %tonkout
L45[12:36:47] <MichiBot> Awesome! Va​ur! You beat your own previous record of 7 hours, 45 minutes and 9 seconds (By 12 minutes and 9 seconds)! I hope you're happy!
L46[12:36:48] <MichiBot> Va​ur has tonked out! Tonk has been reset! They gained 0.007 tonk points! plus 0.012 bonus points for consecutive hours! Current score: 0.58145432, Position #1
L47[12:50:51] * Amanda meows good meowning, goes back to reading abou the mageling-mage
L48[12:53:51] <Forec​aster> my sick throat disagrees with the "good" part
L49[14:40:40] <B​ob> its kinda odd tha tthe HLAPI bunches all capabilities into one list of methods
L50[14:40:55] <B​ob> that just makes our task harder having to split each indidual set appart
L51[15:10:32] ⇨ Joins: ben_mkiv (~ben_mkiv@200116b8145ad300fe3497fffea975f2.dip.versatel-1u1.de)
L52[15:41:41] ⇦ Quits: TPG24 (~ThePiGuy2@host-92-17-122-174.as13285.net) (Ping timeout: 189 seconds)
L53[15:49:41] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@host-92-17-122-174.as13285.net)
L54[15:52:41] ⇨ Joins: Thutmose (~Patrick@67.21.186.225)
L55[17:03:48] <B​ob> this meant that i will need to make a solver that splits the capabilities form the components themselves
L56[17:03:54] <B​ob> `oc2:` is the actual component name
L57[17:03:58] <B​ob> then it has its own capability in the list
L58[17:04:01] <B​ob> god this is hacky lmao
L59[17:04:23] <B​ob> i now need to work with sets and see what and what not collides
L60[17:09:07] <B​ob> ill delegate the collision solving part to the generator library
L61[17:09:19] <B​ob> the dumper will exclusively list all the methods and all the capabilities
L62[17:15:01] ⇦ Quits: ben_mkiv (~ben_mkiv@200116b8145ad300fe3497fffea975f2.dip.versatel-1u1.de) (Killed (NickServ (GHOST command used by ben_mkiv|afk!~ben_mkiv@200116b81419bd00fe3497fffea975f2.dip.versatel-1u1.de)))
L63[17:15:04] ⇨ Joins: ben_mkiv|afk (~ben_mkiv@200116b81419bd00fe3497fffea975f2.dip.versatel-1u1.de)
L64[17:15:30] ⇨ Joins: Hawk777 (~chead@2607:c000:8279:6e00:4916:c931:fa7d:bc20)
L65[18:10:53] <Z0id​berg> >Bob: this meant that i will need to make a solver that splits the capabilities f…
L66[18:10:53] <Z0id​berg> Bob why are you doing this
L67[18:22:59] <B​ob> >Z0idberg: Bob why are you doing this
L68[18:23:00] <B​ob> 😭
L69[18:24:06] <B​ob> >Z0idberg: Bob why are you doing this
L70[18:24:07] <B​ob> well, because an address has a set of capabilities and methods, and the methods are bound to the capabilities but they arent separated
L71[18:24:12] <B​ob> its lists that got merged
L72[18:25:25] <B​ob> actually, the methods are all sequential
L73[18:25:36] <B​ob> so first is one capability, then the 2nd then the 3rd's methods and so on
L74[18:25:42] <B​ob> i just need to know where the split happens
L75[19:20:17] <Va​ur> %tonk
L76[19:20:19] <MichiBot> Yeah! Va​ur! You beat your own previous record of <0 (By 6 hours, 43 minutes and 31 seconds)! I hope you're happy!
L77[19:20:19] <MichiBot> Vaur's new record is 6 hours, 43 minutes and 31 seconds! No points gained for stealing from yourself. (Lost out on 0.00673)
L78[19:35:38] <Amanda> %choose play with $ code; fake computer or json-over-http
L79[19:35:38] <MichiBot> Ama​nda: play with fake computer code
L80[19:44:26] <Amanda> Hrm, there was some small improvement to the C++ hlapi I was going to make last night, but I forget what it is now
L81[19:45:07] <B​ob> buffer sizes ?
L82[19:45:22] <Amanda> nah, that's already maxed out to max recv size
L83[19:45:23] <B​ob> or whatever you were talkinga bout picojson doing weird stuff
L84[19:45:42] <Amanda> oh, I remember now, I was going to add a default argument to my invoke
L85[19:45:45] <B​ob> i'll benchmark buffer sizes, wanna try 1Ki, 2Ki and 4Ki
L86[19:46:10] <B​ob> i still have to make a build.rs that solves different capabilities and turns each component into Rust code
L87[19:46:52] <Amanda> I plan to (ab)use essentially fake-duck typing to handle that
L88[19:47:10] <Amanda> for an even higher-level C++ api anyway
L89[19:47:17] <B​ob> that sounds cursed
L90[19:47:49] <Amanda> Essentially this, but for functors: https://git.camnet.site/gitweb/?p=amandac/mc/oc2/cxx-fuckery.git;a=blob;f=cxx-import/main.cc;h=d05d114f23f978d9cd32bfaa191d2fae0b976104;hb=HEAD#l7
L91[19:48:24] <B​ob> so basically abusing the Index operator
L92[19:48:25] <B​ob> clever
L93[19:48:44] <Amanda> "auto file_import_export = hlapi::meta_component<"file_import_export", hlapi::meta_method<"beginImportFile", import_file>>;"
L94[19:49:13] <Amanda> Abusing the index operator is how I do my methods now, but they're still rather type-unsafe
L95[19:49:21] <B​ob> and whatever are those cursed C++ shenanigans
L96[19:49:22] <Amanda> Nothing's stopping the programmer from passing invalid values
L97[19:49:46] <B​ob> i'll go with sapphicfettucine's way, macros, i currently have a dumper for the JSONs, and now im making a solver and finally the macro itself
L98[19:49:56] <B​ob> i think i can even get RustDoc with that
L99[19:50:13] <B​ob> altough not all methods have docs so i'd want some kind of substitute / auxiliary docs file
L100[19:50:21] <Amanda> Using the methods of meta-programming in that meta_struct.h I yoinked, I plan to make some slightly-more type-safe wrapper "class"es
L101[19:50:56] <B​ob> ¯\(ツ)/¯
L102[19:53:10] <Amanda> Unfortunately I can't generate true types (yet, there's several proposals in flight for that) but I can make attempting to call beignImportFile a compile-time error for any component defined this way
L103[19:53:28] <sapphicf​ettucine> i've made it each capability a trait with default implementations via macro + made a macro that can creates a wrapper class with [x] capabilities
L104[19:54:13] <sapphicf​ettucine> it's not super efficient in code size i guess but also looks nicer for documentation
L105[19:56:20] <B​ob> i have a cursed idea
L106[20:04:21] <lunar_sam> i found a FOSS terrain editor
L107[20:04:30] <lunar_sam> 👀️
L108[20:13:52] <Amanda> I have too, it's called a shovel
L109[20:16:30] <sapphicf​ettucine> foss stands for Free & Open Source Shovel
L110[20:20:20] <CompanionCube> nice
L111[20:25:32] ⇦ Quits: Hawk777 (~chead@2607:c000:8279:6e00:4916:c931:fa7d:bc20) (Quit: Leaving.)
L112[20:41:40] ⇦ Quits: Michiyo (~Michiyo@50.38.53.215) (Read error: Connection reset by peer)
L113[21:13:03] <Dav​iana> still waiting for opencomputers to be ported to 1.16... :l
L114[21:15:21] <Amanda> You'll be waiting an infinite amount of time, becauase it's not going to be
L115[21:15:45] <Amanda> It was never planned to be
L116[21:16:04] <Forec​aster> Several people have tried and given up...
L117[21:16:34] <Dav​iana> so what, is opencomputers dead?
L118[21:17:02] <Amanda> OC2 is a thing now
L119[21:17:30] <Amanda> And was planned to be a thing, OC1 got too complicated to maintain, and they needed a clean break
L120[21:17:31] <Dav​iana> isnt that like, super early development, and also a complete rewrite
L121[21:17:56] <Dav​iana> like i tried it out but it didn't really have much in the way of features
L122[21:18:17] <Amanda> It's still early days yes, but that's to be expected from a complete rewrite
L123[21:18:28] <Forec​aster> also Scala
L124[21:18:38] <Amanda> Not even a rewrite, it's essentially a different project, a spiritual successor
L125[21:18:56] <Amanda> but OC1 wasn't planned to be ported past 1.12
L126[21:18:57] <Dav​iana> shame, i'll miss openos
L127[21:20:46] <B​ob> >Daviana: shame, i'll miss openos
L128[21:20:46] <B​ob> you can make one in OC2, it runs Linux, the sky is the limit
L129[21:37:08] ⇦ Quits: Amanda (~m-yt727s@c-73-165-62-84.hsd1.pa.comcast.net) (Ping timeout: 189 seconds)
L130[21:46:16] ⇨ Joins: Amanda (~m-yt727s@c-73-165-62-84.hsd1.pa.comcast.net)
L131[21:49:43] ⇦ Quits: Amanda (~m-yt727s@c-73-165-62-84.hsd1.pa.comcast.net) (Ping timeout: 189 seconds)
L132[21:50:04] ⇨ Joins: Amanda (~m-yt727s@c-73-165-62-84.hsd1.pa.comcast.net)
L133[21:54:34] <B​ob> HLAPI is weird af
L134[21:54:50] <Ap​ril> the server that i play on has robots banned because they can take things out of Towny chests, I'd like to try and convince them to unban robots, but I'm unfamiliar with the mod, does anyone have any advice? 😮
L135[21:55:16] <B​ob> plugins and mods dont go togheter in general ¯\(ツ)/¯
L136[21:56:48] <Forec​aster> OC should work with permissions, there's a fake user that may be able to be forbidden from interacting with them
L137[21:56:54] <Forec​aster> that might solve the issue
L138[21:57:05] <Forec​aster> I believe the fake user is named `[OpenComputers]`
L139[22:12:31] <Amanda> Elfi~ The foxes are making it heccing wimdy again and knocked out the power, and because of a nixos bug I have to manully poke the server to life~
L140[22:12:48] <Amanda> MAke them stoooppppp
L141[22:21:05] <The P​atmann> Computronics' camera is weird...
L142[22:22:54] <The P​atmann> So, When I run distance(0,0) that's just straight ahead of the camera, but I have no clue what the deal with the parameters is. I just know that they are capped at -1 and 1, and are supposedly mapped to a -32,32 block range
L143[22:33:31] <B​ob> this is very handy, now i know the definition of `energy_storage` https://tinyurl.com/y8fvcm9l
L144[22:33:39] <B​ob> i basically need to split capabilities and components
L145[22:33:52] <B​ob> as a component has several capabilities and said capabilities all come with their methods
L146[22:34:03] <B​ob> so ill make the capabilities traits, and components empty structs
L147[22:34:18] <B​ob> that even allows me to be generic over basically everything
L148[22:34:20] <B​ob> lets fucking gooooo
L149[22:34:52] <sapphicf​ettucine> yep! that's the approach i ended up on since you can have a lot of mix and matching
L150[22:35:57] <B​ob> yeah you can make methods where `T: EnergyCapability + SoundCapability` and what not
L151[22:36:02] <B​ob> thats bonkers
L152[22:36:07] <The P​atmann> >The Patmann: So, When I run distance(0,0) that's just straight ahead of the camera, but I h…
L153[22:36:08] <The P​atmann> Oh shit, wait, the maximum range is 32 blocks, so it's raycasting to a block 32 blocks away with an x and y offset related to the plane parallel to the face of the camera. @_@
L154[22:36:16] <B​ob> >Bob: yeah you can make methods where `T: EnergyCapability + SoundCapability…
L155[22:36:17] <B​ob> i just dont know how i will make them refer to the main bus
L156[22:36:24] <B​ob> as its trough the bus that invokation is done
L157[22:36:53] <B​ob> was thinking about
L158[22:36:57] <B​ob> `Rc<HLAPIBus>`
L159[22:37:19] <B​ob> i just now need a typemap, for the Java types to Rust's
L160[22:37:30] <sapphicf​ettucine> i've done it through a mutable reference
L161[22:37:42] <sapphicf​ettucine> since that guarantees only one device is using it at a time
L162[22:38:10] <sapphicf​ettucine> i don't super like that it means passing &mut bus to every method but
L163[22:38:20] <B​ob> well yeah thats my concern
L164[22:38:22] <B​ob> thats a bit janky
L165[22:38:33] <B​ob> i need to clean up and upload my JSON dumper
L166[22:38:35] <B​ob> or actually
L167[22:38:40] <B​ob> i make it part of OC2Generator
L168[22:38:43] <B​ob> yeah ill make a bin section
L169[22:39:57] <B​ob> altough no, that would trip the build.rs to generate eveything
L170[22:40:04] <B​ob> yet another crate here i come
L171[22:40:11] <B​ob> tbh i might just use a workspace or smtg now
L172[22:40:19] <B​ob> and upload subfolders to git
L173[22:40:37] <sapphicf​ettucine> yeah it's jank but also
L174[22:40:46] <sapphicf​ettucine> you need to guarantee one device at a time
L175[22:40:57] <sapphicf​ettucine> that means either arc/mutex or
L176[22:41:03] <sapphicf​ettucine> &mut
L177[22:41:06] <B​ob> i'd just use a refcell or smtg
L178[22:41:21] <sapphicf​ettucine> what happens if someone tries to use two devices at the same time
L179[22:41:33] <B​ob> a refcell would panic
L180[22:41:55] <B​ob> its runtime borrowing basically
L181[22:42:01] <B​ob> ill look into it later
L182[22:42:07] <B​ob> now OC2Generator awaits
L183[22:42:15] <B​ob> i need some kind of solver for capabilities tho
L184[22:42:22] <B​ob> dont want to maintain anything by hand
L185[22:46:14] <B​ob> stuff's getting serious `members = ["OC2Devices", "OC2Generator", "OC2Dumper"]`
L186[22:47:28] <B​ob> one additional thing i'm thinking about is a wrapper crate around those raw capabilities and devices
L187[22:47:38] <Amanda> %choose japanese radiation or english halucinations
L188[22:47:38] <MichiBot> Ama​nda: I spy with my robotic eye something beginning with "japanese radiation"!
L189[22:47:55] <B​ob> something more high level, just like you do with your robot waits, i was thinking of a file transferer for the File IO card
L190[22:48:40] <B​ob> i'll want something just like `bindgen`
L191[22:48:47] <B​ob> `OC2Generator` it will be
L192[22:48:55] <Amanda> @sapphicfettucine one of them gets ignored on the java side, and then gets confused by the resulting response, most likylu
L193[22:49:08] <sapphicf​ettucine> yea
L194[22:49:15] <sapphicf​ettucine> well, with a refcell to the bus it'd panic
L195[22:50:31] ⇨ Joins: TPG24 (~ThePiGuy2@host-92-17-122-174.as13285.net)
L196[22:51:52] ⇦ Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-122-174.as13285.net) (Ping timeout: 186 seconds)
L197[22:52:01] <B​ob> >sapphicfettucine: well, with a refcell to the bus it'd panic
L198[22:52:02] <Amanda> oh, I assumed you meant seperate processes
L199[22:52:02] <B​ob> well i guess we'd have to cope with empty structs and `&mut bus` shenanigans
L200[22:52:41] <sapphicf​ettucine> >Bob: well i guess we'd have to cope with empty structs and `&mut bus` shenanigans
L201[22:52:42] <sapphicf​ettucine> or a mutex!
L202[22:52:56] <sapphicf​ettucine> or other form of similar synchronization
L203[22:52:59] <sapphicf​ettucine> adds some overhead though
L204[22:53:14] <B​ob> >sapphicfettucine: or a mutex!
L205[22:53:14] <B​ob> dont want all my structs to have `Arc<Mutex<HLAPIBus>>` 😔
L206[23:00:40] <Amanda> That's what type aliases are for
L207[23:05:22] <Amanda> %lua "Pong!"
L208[23:05:22] <MichiBot> Pong!
L209[23:08:02] <Ap​ril> >Forecaster: OC should work with permissions, there's a fake user that may be able to…
L210[23:08:02] <Ap​ril> this is something inside the OC mod? is it version 1.7?
L211[23:13:02] <Amanda> If you mean MC 1.7.10 I don't thin kfake users were really a thing then
L212[23:27:19] ⇦ Quits: TPG24 (~ThePiGuy2@host-92-17-122-174.as13285.net) (Read error: Connection reset by peer)
L213[23:27:31] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@host-92-17-122-174.as13285.net)
L214[23:38:53] ⇨ Joins: Michiyo (~Michiyo@50.38.53.215)
L215[23:38:53] zsh sets mode: +o on Michiyo
<<Prev Next>> Scroll to Top