<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:00:32] <Amanda> I do a memset to zero it out, trying with that commented out, see what burns
L2[00:01:05] <sapphicf​ettucine> i mean, if you're reading over it and slicing only the part that was read
L3[00:01:19] <sapphicf​ettucine> you shouldn't have to zero it, right?
L4[00:01:44] ⇦ Quits: Vexatos (~Vexatos@port-92-192-6-121.dynamic.as20676.net) (Quit: Insert quantum chemistry joke here)
L5[00:02:52] <Amanda> about the same either way, it seems. Makes sense, I'm pretty sure most ISAs have an instruction to zero out some given memory, so it can be optimised pretty well
L6[00:03:21] <Amanda> ( or some way to abuse an instruction to do that )
L7[00:09:14] ⇦ Quits: Arcanox (~dragonox@45.159.182.212) (Ping timeout: 189 seconds)
L8[00:10:11] ⇦ Quits: progwml6 (~progwml6@45.159.180.88) (Ping timeout: 189 seconds)
L9[00:11:06] <sapphicf​ettucine> i guess so, yea
L10[00:11:38] <B​ob> mind passing the compiled importer please ? i'm kinda tired of the wait times with the lua one, altough i doubt ill do much progress today lol
L11[00:11:49] <B​ob> i'm still deciding if going `no_std` is worth it
L12[00:12:39] <sapphicf​ettucine> gimme a sec
L13[00:13:24] ⇨ Joins: Arcanox (~dragonox@45.159.182.212)
L14[00:13:29] ⇨ Joins: progwml6 (~progwml6@45.159.180.88)
L15[00:14:21] <sapphicf​ettucine> @Bob https://cat-girl.gay/oc2/miku-import should hopefully work
L16[00:14:35] <B​ob> nice, ty
L17[00:14:40] ⇦ Quits: immibis (~hexchat@dynamic-089-204-138-200.89.204.138.pool.telefonica.de) (Ping timeout: 189 seconds)
L18[00:14:42] <B​ob> 82kb not bad
L19[00:14:45] <B​ob> serde alone is 80kb
L20[00:15:06] <sapphicf​ettucine> panicimmediateabort + miniserde
L21[00:15:19] <B​ob> i always used panic abort and nightly strip
L22[00:15:21] <sapphicf​ettucine> (+ opt-level s and lto)
L23[00:15:23] <sapphicf​ettucine> (+ opt-level s and lto) [Edited]
L24[00:15:25] <B​ob> miniserde does wonders tho
L25[00:15:34] <sapphicf​ettucine> (and riscv64 objcopy for stripping)
L26[00:15:45] <B​ob> 🤔 should try that
L27[00:15:57] <B​ob> i have `strip` as part of the `.toml`
L28[00:16:01] <sapphicf​ettucine> it's basically the same as a strip command
L29[00:16:52] <B​ob> we need a riscv64 upx
L30[00:18:30] ⇨ Joins: immibis (~hexchat@dynamic-089-204-138-200.89.204.138.pool.telefonica.de)
L31[00:49:41] <Amanda> @sapphicfettucine Behold! Generic meta_struct deserialistion https://git.camnet.site/gitweb/?p=amandac/mc/oc2/cxx-fuckery.git;a=blob;f=Makefile;h=068f77fb8e646b47fce9aa8e05e7a2501720a271;hb=HEAD#l8 -- lets the beginImportFile output get defined like this: https://git.camnet.site/gitweb/?p=amandac/mc/oc2/cxx-fuckery.git;a=blob;f=Makefile;h=068f77fb8e646b47fce9aa8e05e7a2501720a271;hb=HEAD#l8
L32[00:51:11] <sapphicf​ettucine> oh, hell yea
L33[00:51:59] <sapphicf​ettucine> in this house we love and appreciate generics
L34[00:53:06] <Amanda> Had to decide to keep the CMake/Clang toolchain to let me do that though, gcc is super unhappy with the fixed_string class it uses
L35[00:53:16] <sapphicf​ettucine> wack
L36[00:53:23] <Amanda> There's a bug about it, but it;s not had any traction since 2020
L37[00:53:58] <sapphicf​ettucine> gah
L38[00:54:07] ⇨ Joins: Michiyo (~Michiyo@50.38.53.215)
L39[00:54:07] zsh sets mode: +o on Michiyo
L40[00:57:50] <Amanda> Though I didn't really try a newer gcc. Might see if it works with a newer gcc since I'm using an external build chain now anyway
L41[01:23:51] <CompanionCube> Bob: upx is opensource, go port it :p
L42[01:24:38] <CompanionCube> although apparently the OSS version uses a different compression method, huh
L43[01:46:20] <Michiyo> %tonkout
L44[01:46:20] <MichiBot> Holy red rock Batman! Mic​hiyo! You beat your own previous record of 4 hours, 48 minutes and 46 seconds (By 30 minutes and 33 seconds)! I hope you're happy!
L45[01:46:21] <MichiBot> Mic​hiyo has tonked out! Tonk has been reset! They gained 0.005 tonk points! plus 0.008 bonus points for consecutive hours! Current score: 0.37055, Position #3 => #2 (Overtook Forecaster) Need 0.14501432 more points to pass Va​ur!
L46[01:46:25] <Michiyo> woo!
L47[01:53:01] ⇦ Quits: ben_mkiv (~ben_mkiv@2001:16b8:1e67:a600:fe34:97ff:fea9:75f2) (Ping timeout: 192 seconds)
L48[02:07:17] <Amanda> %choose laptop nap time?
L49[02:07:17] <MichiBot> Ama​nda: "laptop nap time" doesn't really seem like a good idea right now.
L50[02:07:58] <Amanda> So now that X_TIME has passed, it makes sense
L51[02:08:23] * Amanda curls up around Elfi, puts her laptop away
L52[02:16:10] <sapphicf​ettucine> hmm, java int size is 32bit right?
L53[02:16:34] <CompanionCube> think so?
L54[02:23:53] ⇨ Joins: Ariri (uid378594@id-378594.uxbridge.irccloud.com)
L55[02:31:03] <B​ob> >sapphicfettucine: hmm, java int size is 32bit right?
L56[02:31:04] <B​ob> yes
L57[02:31:10] <B​ob> and long is `i64`
L58[02:40:21] <Izaya> does anyone have any idea how to fix firefox downloading images when you drop them into a terminal? this is really fuckin annoying https://shadowkat.net/tmp/9dee.png
L59[02:50:07] ⇨ Joins: Hawk777 (~chead@2607:c000:8279:5900:8e33:7b6:183e:eb2c)
L60[02:56:59] <B​ob> for HLAPI, i was thinking about generating Rust impls from the `:methods` JSON
L61[02:57:19] <sapphicf​ettucine> i've thought about it
L62[02:57:25] <sapphicf​ettucine> decided against it for code clarity
L63[02:57:27] <B​ob> trought `build.rs`
L64[02:57:31] <B​ob> well fair enough
L65[02:57:47] <B​ob> i just suck with `syn` and `proc2`, maybe should throw more time at it
L66[02:57:51] <B​ob> given i have 15mins a day at most
L67[03:04:37] <lunar_sam> lmao
L68[03:04:48] <lunar_sam> i should just
L69[03:04:53] <lunar_sam> hurry up and get TN impls done
L70[03:05:01] <lunar_sam> i could put them on a resume as
L71[03:05:03] <lunar_sam> a sorta
L72[03:05:05] <lunar_sam> "i did this"
L73[03:05:06] <lunar_sam> thing
L74[03:05:29] <B​ob> i should hurry too but damn wtf
L75[03:06:05] <B​ob> my sleep schedule is a better source for randomness than a CSRNG
L76[03:15:06] <Amanda> %remindme 10h look more seriously at devdocs.io
L77[03:15:06] <MichiBot> I'll tell you "look more seriously at devdocs.io" in 10h at 02/17/2022 01:15:06 PM
L78[03:15:23] * Amanda lays her head ontop of elfi, zzzmews
L79[03:15:29] <Amanda> Night nerds
L80[03:28:14] <B​ob> one thing i always wanted to do is procedural parsing without using a String buffer
L81[03:31:26] <B​ob> it should be easy enough to mitigate truncated tokens by shifting back the array and pushing to the subslice, damn are Rust slicse a fucking godsend
L82[03:34:52] <B​ob> serde does seem to be generic over `Read` but i doubt that that's the case for `miniserde`
L83[03:46:26] <B​ob> i mean, if we're insisting on using miniserde which is really just json
L84[03:46:27] <B​ob> might write a specialized json parser
L85[03:46:34] <sapphicf​ettucine> it handles strs only
L86[03:46:37] <B​ob> yep
L87[03:46:54] <B​ob> could use an array backed deque
L88[03:47:25] <sapphicf​ettucine> i'm using a centralized [u8; 1024]
L89[03:47:36] <sapphicf​ettucine> and a centralized string buffer
L90[03:47:39] <B​ob> yeah
L91[03:47:40] <sapphicf​ettucine> so that it only allocates once
L92[03:48:14] <sapphicf​ettucine> like, imo
L93[03:48:23] <B​ob> i knows its fine
L94[03:48:25] <sapphicf​ettucine> if you make sure it has enough capacity that it doesn't reallocate
L95[03:48:26] <B​ob> but i like going overkill
L96[03:48:42] <sapphicf​ettucine> fair :p
L97[03:48:59] <sapphicf​ettucine> i have a proc-macro that pre-serializes messages, i can't judge
L98[03:49:15] <B​ob> for write, it should be easy enough
L99[03:49:27] <sapphicf​ettucine> preserialization?
L100[03:49:29] <sapphicf​ettucine> or
L101[03:50:08] <B​ob> for writting i dont have any fail proof plans
L102[03:50:21] <B​ob> as the value might not have enough space to get serialized in the buffer
L103[03:50:33] <B​ob> for reads, you can just shift the buffer back, continue the read, then resume the seralization
L104[03:52:52] <B​ob> i think i can get away with the procedural parser instance storing a &mut slice ref
L105[03:53:02] <B​ob> instead of enforcing an array
L106[03:56:39] <B​ob> altough, this would imply i know the message structure before hand and its static enough
L107[03:57:11] <B​ob> gotta see how serde handles it again
L108[03:57:20] <B​ob> as miniserde takes the dynamical approach with a stack
L109[03:57:29] <sapphicf​ettucine> i've used the we know how the message is structured trick to optimize zero-argument calls
L110[03:58:00] <sapphicf​ettucine> as for responses, you could probably get away with doing for a lot of types?
L111[04:00:35] <B​ob> its like 5AM and i dont know what im doing anymore
L112[04:03:21] <B​ob> i need to peek at the macro expansion of the serde traits
L113[04:03:31] <B​ob> prolly can do that on the playground rq
L114[04:09:52] <B​ob> yeah Serde is doing its things`const VARIANTS: &[&str] = &["list", "methods", "error"];`
L115[04:10:59] <B​ob> and yeah, there's so much generated code i see why Serde adds 80kb
L116[04:12:41] <lunar_sam> https://xmpp.404.city:5280/usershare/c44a7f29876bb754953efd718432c3cb3316b2da/I9pOx3eDmgBrpoAGUT2Em7rxM9tHgmDEEmmhKGtb/bee.png
L117[04:14:15] <B​ob> i waas about to use pascal case with OC2's HLAPI
L118[04:40:18] <CompanionCube> lunar_sam: lol
L119[04:56:27] <Forec​aster> %tonk
L120[04:56:28] <MichiBot> Bejabbers! Forec​aster! You beat Mic​hiyo's previous record of <0 (By 3 hours, 10 minutes and 7 seconds)! I hope you're happy!
L121[04:56:29] <MichiBot> Forecaster's new record is 3 hours, 10 minutes and 7 seconds! Forecaster also gained 0.00317 tonk points for stealing the tonk. Position #3. Need 0.00605432 more points to pass Mic​hiyo!
L122[05:25:49] ⇦ Quits: Michiyo (~Michiyo@50.38.53.215) (Read error: Connection reset by peer)
L123[05:31:46] ⇦ Quits: Thutmose (~Patrick@67.21.186.225) (Quit: Leaving.)
L124[05:40:32] <Brisingr​Aerowing> https://imgur.com/gallery/n5IywHO
L125[06:40:48] <CompanionCube> %inv add nick clegg
L126[06:40:49] * MichiBot summons 'nick clegg' and adds to her inventory. I could get some good swings in with this.
L127[06:52:46] <CompanionCube> Izaya: today on political lulz: libdem website has a page on their scottish party which is approaching a year out of date, so it says they have an extra msp and mentions a leader that's been replaced
L128[07:29:38] ⇦ Quits: TPG24 (~ThePiGuy2@host-92-17-122-174.as13285.net) (Ping timeout: 189 seconds)
L129[07:31:30] ⇨ Joins: TPG24 (~ThePiGuy2@host-92-17-122-174.as13285.net)
L130[07:32:58] ⇨ Joins: Michiyo (~Michiyo@50.38.53.215)
L131[07:32:58] zsh sets mode: +o on Michiyo
L132[08:00:11] ⇦ Quits: ashka_ (~postmaste@62-210-251-94.rev.poneytelecom.eu) (Ping timeout: 195 seconds)
L133[08:00:25] ⇨ Joins: ashka (~postmaste@62-210-251-94.rev.poneytelecom.eu)
L134[08:10:24] ⇦ Quits: Hawk777 (~chead@2607:c000:8279:5900:8e33:7b6:183e:eb2c) (Quit: Leaving.)
L135[09:05:25] <Va​ur> %tonk
L136[09:05:25] <MichiBot> I'm sorry Vaur, you were not able to beat Forecaster's record of 3 hours, 10 minutes and 7 seconds this time. 1 hour, 27 minutes and 17 seconds were wasted! Missed by 1 hour, 42 minutes and 50 seconds!
L137[09:06:12] <Va​ur> hu
L138[09:06:19] <Va​ur> you ok MichiBot ?
L139[09:14:34] <Michiyo> I tried to tonk in the wrong channel
L140[09:14:39] <Michiyo> so yeah... my bad
L141[09:17:10] <Va​ur> oh
L142[09:25:31] ⇨ Joins: Vexatos (~Vexatos@port-92-192-6-121.dynamic.as20676.net)
L143[09:25:31] zsh sets mode: +v on Vexatos
L144[09:53:46] <B​ob> jebaited
L145[11:06:04] <Wat​tana> So I'm gonna write an init system for Ocawesome's Cynosure 2 kernel but idk what name I should give it 🤔
L146[11:06:33] <Wat​tana> Cynd?
L147[11:13:28] <Izaya> cystemd
L148[11:26:39] <Kristo​pher38> lmao
L149[13:09:47] ⇦ Quits: immibis (~hexchat@dynamic-089-204-138-200.89.204.138.pool.telefonica.de) (Remote host closed the connection)
L150[13:11:19] ⇨ Joins: immibis (~hexchat@dynamic-089-204-138-200.89.204.138.pool.telefonica.de)
L151[13:15:07] <MichiBot> Amanda REMINDER: look more seriously at devdocs.io
L152[13:33:04] <Z0id​berg> @Wattana Cynit
L153[13:33:26] <Z0id​berg> Or you can be like any other person and just call it "init"
L154[13:34:14] <Z0id​berg> That way it makes sense, and when somebody refers to yours they just call it Cynosure 2 init
L155[13:43:06] ⇨ Joins: ben_mkiv (~ben_mkiv@2001:16b8:1e67:a600:fe34:97ff:fea9:75f2)
L156[13:46:27] ⇦ Quits: Izaya (~izaya@210.1.218.92) (Read error: Connection reset by peer)
L157[13:51:34] ⇨ Joins: Izaya (~izaya@210.1.218.92)
L158[15:59:50] <Michiyo> %tonk
L159[15:59:50] <MichiBot> Yay! Mic​hiyo! You beat Forec​aster's previous record of 3 hours, 10 minutes and 7 seconds (By 3 hours, 44 minutes and 17 seconds)! I hope you're happy!
L160[15:59:51] <MichiBot> Michiyo's new record is 6 hours, 54 minutes and 25 seconds! Michiyo also gained 0.01496 (0.00374 x 4) tonk points for stealing the tonk. Position #2. Need 0.13005432 more points to pass Va​ur!
L161[16:49:28] ⇨ Joins: Thutmose (~Patrick@67.21.186.225)
L162[17:02:20] ⇦ Quits: TPG24 (~ThePiGuy2@host-92-17-122-174.as13285.net) (Ping timeout: 189 seconds)
L163[17:02:48] <Ocawes​ome101> i quite enjoy it when my laptop charges 20% in 15 minutes when i'm not using it :)
L164[17:04:21] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@host-92-17-122-174.as13285.net)
L165[17:15:04] ⇦ Quits: ben_mkiv (~ben_mkiv@2001:16b8:1e67:a600:fe34:97ff:fea9:75f2) (Killed (NickServ (GHOST command used by ben_mkiv|afk!~ben_mkiv@200116b814a39f00fe3497fffea975f2.dip.versatel-1u1.de)))
L166[17:15:06] ⇨ Joins: ben_mkiv|afk (~ben_mkiv@200116b814a39f00fe3497fffea975f2.dip.versatel-1u1.de)
L167[17:44:07] ⇨ Joins: immibis_ (~hexchat@dynamic-089-204-139-245.89.204.139.pool.telefonica.de)
L168[17:45:38] ⇦ Quits: immibis (~hexchat@dynamic-089-204-138-200.89.204.138.pool.telefonica.de) (Ping timeout: 189 seconds)
L169[17:47:01] ⇨ Joins: test (~test@host109-150-222-119.range109-150.btcentralplus.com)
L170[17:47:56] ⇦ Quits: test (~test@host109-150-222-119.range109-150.btcentralplus.com) (Client Quit)
L171[17:51:21] <Amanda> @Sangar is this code still nessary? I'm guessing it's from before the stty command was added that sets !ECHO but I'm not sure. I commented out the equivilent in my C++ impl and it's gotten 4-8s faster importing large files https://github.com/fnuecke/oc2/blob/1.18-forge/src/main/scripts/lib/lua/devices.lua#L93-L100
L172[18:10:13] <CompanionCube> cystemd is a funny name
L173[18:11:29] <Amanda> %choose comfort or utility
L174[18:11:29] <MichiBot> Ama​nda: Haven't you always gone with "comfort"? Hm, maybe not.
L175[18:15:22] ⇦ Quits: Michiyo (~Michiyo@50.38.53.215) (*.net *.split)
L176[18:15:22] ⇦ Quits: Lucifer (sid32492@id-32492.ilkley.irccloud.com) (*.net *.split)
L177[18:15:22] ⇦ Quits: Teris (sid315557@id-315557.helmsley.irccloud.com) (*.net *.split)
L178[18:15:22] ⇦ Quits: jackie (~jackie@banana-new.kilobyte22.de) (*.net *.split)
L179[18:15:22] ⇦ Quits: dequbed (~steak@banana-new.kilobyte22.de) (*.net *.split)
L180[18:15:22] ⇦ Quits: LeshaInc (~LeshaInc@sigsegv.ru) (*.net *.split)
L181[18:15:22] ⇦ Quits: Amanda (~m-yt727s@c-73-165-62-84.hsd1.pa.comcast.net) (*.net *.split)
L182[18:15:22] ⇦ Quits: Totoro (totoro@fomalhaut.me) (*.net *.split)
L183[18:15:22] ⇦ Quits: fingercomp (fingercomp@fomalhaut.me) (*.net *.split)
L184[18:15:22] ⇦ Quits: Guest16256 (znc@2400:6180:0:d0::64f:9001) (*.net *.split)
L185[18:15:22] ⇦ Quits: Fridtjof (~fridel@thonk.9net.org) (*.net *.split)
L186[18:15:22] ⇦ Quits: Stary (~Stary@thonk.9net.org) (*.net *.split)
L187[18:15:22] ⇦ Quits: gruetzkopf (~quassel@daemon.gruetzkopf.org) (*.net *.split)
L188[18:15:22] ⇦ Quits: BrightYC (~BrightYC@193.123.62.114) (*.net *.split)
L189[18:15:22] ⇦ Quits: SKye (znc@nightfall.moe) (*.net *.split)
L190[18:15:22] ⇦ Quits: Oddstr13 (Odd@satomi.openshell.no) (*.net *.split)
L191[18:15:22] ⇦ Quits: reborn (admin@234.network) (*.net *.split)
L192[18:15:22] ⇦ Quits: daniel (~quassel@jupiter.danger-it.de) (*.net *.split)
L193[18:15:22] ⇦ Quits: SlimeDiamond (~slime@basher.zenoc.net) (*.net *.split)
L194[18:15:26] ⇨ Joins: dequbed (~steak@banana-new.kilobyte22.de)
L195[18:15:27] ⇨ Joins: reborn (reborn@234.network)
L196[18:15:27] ⇨ Joins: SlimeDiamond (~slime@basher.zenoc.net)
L197[18:15:34] ⇨ Joins: gruetzkopf (~quassel@daemon.gruetzkopf.org)
L198[18:15:34] ⇨ Joins: Amanda (~m-yt727s@c-73-165-62-84.hsd1.pa.comcast.net)
L199[18:15:46] ⇨ Joins: Lucifer (sid32492@id-32492.ilkley.irccloud.com)
L200[18:15:46] ⇨ Joins: Skye (znc@nightfall.moe)
L201[18:15:47] ⇨ Joins: Michiyo (~Michiyo@50.38.53.215)
L202[18:15:47] zsh sets mode: +o on Michiyo
L203[18:15:55] ⇨ Joins: jackie (~jackie@banana-new.kilobyte22.de)
L204[18:15:55] zsh sets mode: +v on jackie
L205[18:15:57] ⇨ Joins: daniel (~quassel@jupiter.danger-it.de)
L206[18:16:11] ⇨ Joins: Oddstr13 (Odd@satomi.openshell.no)
L207[18:16:12] *** Skye is now known as Guest71540
L208[18:16:12] ⇨ Joins: Teris (sid315557@id-315557.helmsley.irccloud.com)
L209[18:16:35] ⇨ Joins: SinZ (znc@grimm.361zn.is)
L210[18:17:00] ⇨ Joins: LeshaInc (~LeshaInc@sigsegv.ru)
L211[18:17:04] *** SinZ is now known as Guest7488
L212[18:17:30] ⇨ Joins: fingercomp (fingercomp@fomalhaut.me)
L213[18:17:49] ⇦ Quits: Guest7488 (znc@grimm.361zn.is) (*.net *.split)
L214[18:18:03] ⇨ Joins: SinZ (znc@2400:6180:0:d0::64f:9001)
L215[18:18:32] *** SinZ is now known as Guest50434
L216[18:19:29] ⇨ Joins: BrightYC (~BrightYC@193.123.62.114)
L217[18:19:48] ⇨ Joins: Fridtjof (~fridel@thonk.9net.org)
L218[18:19:57] ⇨ Joins: Stary (~Stary@thonk.9net.org)
L219[18:20:04] ⇨ Joins: Totoro (totoro@fomalhaut.me)
L220[19:01:20] <San​gar> >Amanda: <@96665277030203392> is this code still nessary? I'm guessing it's from b…
L221[19:01:20] <San​gar> Hmm, I think that's mainly there to ensure the host side is in a clean, reset state. Was mostly necessary when still testing stuff. By now it should probably be fine to just do this once in init, yeah.
L222[19:43:21] ⇨ Joins: Izaya_ (~izaya@210.1.218.92)
L223[19:43:21] ⇦ Quits: Izaya (~izaya@210.1.218.92) (Read error: Connection reset by peer)
L224[20:08:22] <sapphicf​ettucine> hmm
L225[20:08:27] <sapphicf​ettucine> is there an OC2 packet size limit?
L226[20:08:36] <sapphicf​ettucine> i'm getting weird behavior testing out some udp stuff
L227[20:09:31] ⇦ Quits: immibis_ (~hexchat@dynamic-089-204-139-245.89.204.139.pool.telefonica.de) (Ping timeout: 192 seconds)
L228[20:10:20] ⇨ Joins: immibis (~hexchat@dynamic-089-204-139-245.89.204.139.pool.telefonica.de)
L229[20:10:49] <ben_mkiv|afk> there was/is an minecraft packet size limit
L230[20:11:38] <ben_mkiv|afk> "Payload may not be larger than 32767 bytes"
L231[20:11:41] <sapphicf​ettucine> oh, i guess it might be MTU
L232[20:11:59] <B​ob> dont see how MC packet size would affect OC2 packet size
L233[20:12:05] <B​ob> as its ran server side rite ?
L234[20:12:09] <Amanda> that's for server<->client, I think they mean in the network devices in OC
L235[20:12:16] <ben_mkiv|afk> oh i see
L236[20:12:18] <B​ob> yeah this
L237[20:12:20] <sapphicf​ettucine> yeah i'm talking about the oc2 network interfaces
L238[20:12:22] <ben_mkiv|afk> is OC2 a thing now?
L239[20:12:26] <B​ob> just like OC1 used to have a 8K network limit
L240[20:12:33] <ben_mkiv|afk> and wheres the source?
L241[20:12:34] <B​ob> OC2 was a think for quite a while on the CI server
L242[20:12:37] <Amanda> it's very early days, but yes
L243[20:12:46] <sapphicf​ettucine> https://github.com/fnuecke/oc2
L244[20:12:49] <B​ob> and it got recently released on CurseForge so it gets lotta attention now
L245[20:12:50] <ben_mkiv|afk> thanks
L246[20:12:55] <B​ob> well lotta in our relative OC community terms
L247[20:13:01] <ben_mkiv|afk> oh, sangar is working on it? :)
L248[20:13:02] <ben_mkiv|afk> neat
L249[20:14:14] <sapphicf​ettucine> yeah okay it's an MTU issue
L250[20:14:34] <sapphicf​ettucine> guess i have to figure out how to make this protocol even more split up
L251[20:14:42] <Amanda> whatchya working on?
L252[20:15:05] <sapphicf​ettucine> distributed file downloads
L253[20:15:20] <sapphicf​ettucine> a.k.a "fake torrents"
L254[20:15:33] <B​ob> getting Tor in OC2
L255[20:17:54] <sapphicf​ettucine> the code is truly awful right now but i just want to get it working so i can let my brain not hyperfocus for a bit
L256[20:21:53] ⇦ Quits: immibis (~hexchat@dynamic-089-204-139-245.89.204.139.pool.telefonica.de) (Read error: Connection reset by peer)
L257[20:22:00] ⇨ Joins: immibis (~hexchat@dynamic-089-204-139-245.89.204.139.pool.telefonica.de)
L258[20:27:47] <B​ob> running an MC server off of OC is even more plausible with OC2
L259[20:29:29] <CompanionCube> the RAM though
L260[20:29:40] <CompanionCube> java very much likes it
L261[20:30:27] <B​ob> who said we have to use Java
L262[20:30:37] <B​ob> i will only exclusively use Rust with OC2
L263[20:30:37] <CompanionCube> true enough
L264[20:30:40] <B​ob> maybe some Zig
L265[20:30:44] <CompanionCube> or that bash minecraft server
L266[20:30:47] <CompanionCube> that could work
L267[20:30:48] <B​ob> oh no
L268[20:30:56] <B​ob> why does the Projector block spawn so much particles when destroyed
L269[20:37:49] <B​ob> i'm thinking about switching from serde to nom
L270[20:37:55] <B​ob> as its procedural
L271[20:43:42] <Forec​aster> there's code that isn't awful?
L272[20:45:58] <Amanda> sounds fake, but okay
L273[20:47:33] <sapphicf​ettucine> lmao
L274[20:47:44] <sapphicf​ettucine> wrecked a world by messing with the mtu
L275[20:47:55] <sapphicf​ettucine> which makes oc2 crash on packets
L276[20:48:07] <sapphicf​ettucine> and i have udp code running in my computers in this world
L277[20:48:19] <Amanda> should probably distill that and file an issue
L278[20:48:26] <sapphicf​ettucine> yep
L279[20:48:29] <sapphicf​ettucine> gonna look at crash logs
L280[20:49:12] <Forec​aster> just don't crash the logs
L281[20:49:21] <sapphicf​ettucine> no promises
L282[20:51:11] <sapphicf​ettucine> some part of me is wondering if either i or amanda should submit our import alternatives to the oc2 github
L283[20:51:27] <sapphicf​ettucine> considering that the slowness of import is a complaint i've seen a fair bit on the birdside
L284[20:52:12] <Amanda> Hrm, can std::map & vector be used without libstdc++.so?
L285[20:52:21] <sapphicf​ettucine> i have no idea
L286[20:54:04] <Amanda> Cause otherwise the ~2MB dep there is a no-go until @Sangar figures out how to seperate stuff like c++ support to a seperate "package"
L287[20:59:52] <CompanionCube> Amanda: well, you don't need libstdc++.so if you statically link it
L288[21:00:46] <CompanionCube> though that route tends to be all-or-nothing, so maybe a nogo
L289[21:02:15] <Amanda> oh, that doesn't look good
L290[21:02:46] <Amanda> https://matrix.camnet.site/_matrix/media/r0/download/camnet.site/wpoqfVSYIRjCnonPpXvaPpnO/screenshot-1645131747.png
L291[21:05:29] <Amanda> I might need to move some stuff off the spinning rust
L292[21:14:42] <sapphicf​ettucine> ooh fun times, got a segfault
L293[21:14:48] <Forec​aster> %SIP
L294[21:14:49] <MichiBot> You drink a smooth pink potion (New!). Forecaster turns into an avesmingo sloth boy until they find a lamp.
L295[21:15:08] <Forec​aster> well, time to slowly look for lamp
L296[21:15:34] <Amanda> %remindme 16h move the lxd volume to the ssd instead of having it on the hdd, convert the ssd to butter first
L297[21:15:35] <MichiBot> I'll tell you "move the lxd volume to the ssd instead of having it on the hdd, convert the ssd to butter first" in 16h at 02/18/2022 01:15:34 PM
L298[21:21:13] <B​ob> Is there a list of all the possible types for a method for the HLAPI ?
L299[21:22:31] <sapphicf​ettucine> a specific method or any method
L300[21:24:25] <B​ob> for any
L301[21:25:03] <lunar_sam> soon, nelua fun
L302[21:25:10] <sapphicf​ettucine> each method has a java definition with a type signature
L303[21:25:11] <Amanda> I believe they're free-form, I think the robot API even exposes the java class name of an enum
L304[21:25:20] <lunar_sam> this will include: HLAPI and trying to make kernel modules with Nelua
L305[21:25:22] <B​ob> then ill keep it a string until then
L306[21:26:24] <CompanionCube> lunar_sam: for which kernel
L307[21:27:18] <lunar_sam> linux 5.whatever OC2 uses
L308[21:27:34] <sapphicf​ettucine> 5.9 iirc
L309[21:27:44] <CompanionCube> truly cursed
L310[21:28:08] <lunar_sam> anyways, i WILL make tsukinet for OC2
L311[21:28:15] <lunar_sam> fear me
L312[21:28:54] <CompanionCube> maybe take inspiration from whichever BSD toyed with that idea
L313[21:28:57] <CompanionCube> i don't remember which it was
L314[21:30:02] <lunar_sam> oh
L315[21:30:09] <lunar_sam> nelua is compiled to machine code
L316[21:30:23] <lunar_sam> but lua scripting in the kernel also sounds fun
L317[21:30:32] <CompanionCube> it's not a new thing
L318[21:30:47] <lunar_sam> i know one of the BSDs did it
L319[21:30:54] <lunar_sam> one of them also has lua scripting in the loader
L320[21:31:01] <CompanionCube> also any system with a modern ZFS can do it
L321[21:31:41] <CompanionCube> (well, not oracle solaris, but who cares about oracle solaris)
L322[21:31:57] <lunar_sam> so where's the assets for the flash and linux root stored
L323[21:32:00] <lunar_sam> in oc2
L324[21:32:46] <sapphicf​ettucine> <https://github.com/fnuecke/buildroot&gt;
L325[21:33:25] ⇦ Quits: Teris (sid315557@id-315557.helmsley.irccloud.com) (Ping timeout: 189 seconds)
L326[21:33:34] <lunar_sam> i mean the actual assets in the mod
L327[21:33:35] ⇦ Quits: Ariri (uid378594@id-378594.uxbridge.irccloud.com) (Read error: No route to host)
L328[21:33:40] ⇨ Joins: Ariri (uid378594@id-378594.uxbridge.irccloud.com)
L329[21:34:05] <lunar_sam> i know about the buildroot
L330[21:34:09] <lunar_sam> (i need to set up a toolchain)
L331[21:34:59] <sapphicf​ettucine> uhh
L332[21:35:09] <sapphicf​ettucine> iirc there's a line in the build script that glues sedna-buildroot in
L333[21:35:34] ⇨ Joins: Teris (sid315557@id-315557.helmsley.irccloud.com)
L334[21:40:21] <lunar_sam> found it
L335[21:40:28] <lunar_sam> it's in sedna, not oc2
L336[21:50:44] <sapphicf​ettucine> woo
L337[21:50:48] <sapphicf​ettucine> my distributed downloader works
L338[21:50:54] <sapphicf​ettucine> it's also the worst code i've ever written
L339[21:51:01] <sapphicf​ettucine> but it works so i can let my brain have a break
L340[22:04:26] <B​ob> when you `self.stringbuf.pushstr(unsafe { str::fromutf8unchecked(&self.buffer[1..bytes_read]) });` instead of `self.buffer.consume(1)` 😔
L341[22:04:52] <sapphicf​ettucine> oh that's lightweight
L342[22:05:58] <sapphicf​ettucine> the badness of the downloader code isn't really unsafety either, though i wouldn't say that RefCell<*const u8> is classical rust
L343[22:06:03] <sapphicf​ettucine> it's more just messy af architecture
L344[22:06:10] <B​ob> what the heck lol
L345[22:06:29] <B​ob> at this point, i dont know if i should maintain my own stuff with no time or just start PRing
L346[22:06:44] <sapphicf​ettucine> >Bob: what the heck lol
L347[22:06:45] <sapphicf​ettucine> need to borrow mutably/immutably against individual chunks of a mmaped slice
L348[22:07:29] <B​ob> so you basically want `splitatmut` ? 🤔
L349[22:07:30] <sapphicf​ettucine> thus: refcell + a pointer to avoid the borrow checker since refcell takes care of the only-one-mutable borrow invariant and the mmap is guaranteed to be dropped at the same time as the pointer through some struct organization
L350[22:07:54] <B​ob> well i do agree that getting multiple non overlapping mutable slice references to a buffer is hella tedious
L351[22:08:06] <B​ob> but this is still in the realm of overly cursed
L352[22:08:08] <sapphicf​ettucine> the thing is i need to keep them around in a struct
L353[22:08:36] <sapphicf​ettucine> and it's easier to manually enforce the invariants than work around the borrow checker sometimes
L354[22:09:28] <B​ob> ~~i can always peek at the source and nitpick every insignificant detail~~
L355[22:09:58] <sapphicf​ettucine> "rules are meant to be broken", i say, getting segfaulted
L356[22:10:31] <B​ob> i can put the last bits of my brainpower at work before i just go to sleep again right now
L357[22:19:40] <B​ob> oooo, now no Code 9 https://tinyurl.com/ybzny9rt
L358[22:19:42] <B​ob> but its just stuck
L359[22:27:52] <B​ob> ok so for some reason the polling makes it stuck
L360[22:28:04] <B​ob> `self.poller.wait_one()?;` just never executes
L361[22:30:17] <B​ob> yeah this is some bs i'll never figure out
L362[22:32:46] <B​ob> it must mean that data never got written if no even comes trought
L363[22:33:17] <B​ob> am i delusional or what
L364[22:36:08] <sapphicf​ettucine> yeah if poller is blocking that means it's not getting data
L365[22:36:43] <B​ob> yeah ik, but for some reason its not getting data written
L366[22:37:18] <B​ob> Code Block pastebined https://paste.pc-logix.com/agehuquzex for some reason this doesn't do shit eh
L367[22:37:56] <dequbed> @sapphicfettucine yes, there's a network packet size limit; it's 64K including all headers.
L368[22:38:00] <B​ob> screw it, i am going to `serdejson::towriter(&mut std::io::stdout().lock(), data);`
L369[22:38:16] <sapphicf​ettucine> >dequbed: <@722196443514798181> yes, there's a network packet size limit; it's 64K including …
L370[22:38:16] <sapphicf​ettucine> i've found it to be lower?
L371[22:38:21] <sapphicf​ettucine> but that may be my sketchy code
L372[22:38:25] <dequbed> No
L373[22:38:43] <sapphicf​ettucine> at least for udp, tcp does splitting to MTU automagically right
L374[22:38:48] <dequbed> The default MTU linux configures for VirtIO is 1500. The limit where OC2 will start bugging and crashing in the VM is 64K.
L375[22:39:05] <sapphicf​ettucine> ohh i see
L376[22:39:21] <B​ob> 🤔 https://tinyurl.com/ycyewt9l
L377[22:39:27] <sapphicf​ettucine> i may have set it with a few more zeros at the end than intended :p
L378[22:42:05] <B​ob> now i have no fucking clue why does my implementation yield `InvalidData`s at all times https://tinyurl.com/ycsw95fh
L379[22:42:38] <B​ob> https://tinyurl.com/yamgwqa2
L380[22:43:02] <B​ob> aight so who sneaked a 0 and not a null byte
L381[22:43:13] <sapphicf​ettucine> what are you setting DELIM to?
L382[22:43:24] <B​ob> it says it right there, i got it
L383[22:43:33] <B​ob> altough again its died
L384[22:44:43] <B​ob> yeah no i'm clueless https://tinyurl.com/yamj334p
L385[22:45:38] <B​ob> now thats better https://tinyurl.com/yabr3yv3
L386[22:45:51] <B​ob> if only printing wasn't broken in OC2
L387[22:45:57] <B​ob> until then, i'll make a wrapping print
L388[22:46:03] <sapphicf​ettucine> 90% of my debugging was just printing out what was sent/received before parsing
L389[22:46:49] <sapphicf​ettucine> >Bob: if only printing wasn't broken in OC2
L390[22:46:49] <sapphicf​ettucine> yeah sometimes i just piped to a file and then opened it in nano lol
L391[22:46:50] <dequbed> Ah yes, printf debugging.
L392[22:50:03] <sapphicf​ettucine> the one and only
L393[22:50:51] <B​ob> `fn main() { if let Err(e) = main2() { wrappingprint(&e.tostring(), 70) } }`
L394[22:50:56] <B​ob> the lengendary
L395[22:51:40] <B​ob> this is very concerning https://tinyurl.com/yb9ej4wt
L396[22:54:11] <sapphicf​ettucine> are you building with panic. abort?
L397[22:54:13] <sapphicf​ettucine> are you building with panic abort? [Edited]
L398[22:54:20] <sapphicf​ettucine> panic immediate abort*
L399[22:54:23] <B​ob> yep
L400[22:54:41] <B​ob> i guess this is an ud2 or whatever LLVM loves so much
L401[22:54:41] <sapphicf​ettucine> in my experience that does something which causes an illegal instruction on panic
L402[22:54:53] <sapphicf​ettucine> which might be intentional idk i haven't looked
L403[22:54:55] <B​ob> i have no unwraps anywhere
L404[22:55:05] <dequbed> I mean there isn't an HCF instruction on RV last I checked :)
L405[22:55:08] <B​ob> well besides stuff in STD
L406[22:55:08] <sapphicf​ettucine> still might have a panic somewhere
L407[22:55:19] <sapphicf​ettucine> so i'd try turning it off
L408[22:55:23] <sapphicf​ettucine> so you can at least get an error
L409[22:55:30] <sapphicf​ettucine> and then turn it back on when you need a min-sized binary
L410[22:55:31] <B​ob> `slice_at` can panic i guess
L411[22:58:58] <B​ob> yay, but its silent https://tinyurl.com/y997w5vp
L412[22:59:12] <B​ob> actually it just crashed silently now
L413[23:03:18] <B​ob> so a null byte magically gets trough the buffer https://tinyurl.com/y9ck8wen
L414[23:03:19] <B​ob> funny
L415[23:04:34] <B​ob> https://tinyurl.com/ybbls9lh
L416[23:04:36] <B​ob> now thats good
L417[23:14:41] ⇦ Quits: immibis (~hexchat@dynamic-089-204-139-245.89.204.139.pool.telefonica.de) (*.net *.split)
L418[23:14:41] ⇦ Quits: BrightYC (~BrightYC@193.123.62.114) (*.net *.split)
L419[23:15:13] <sapphicf​ettucine> net split day huh
L420[23:15:47] <B​ob> now i just need to fidn a way to ignore the trialing characters in serde
L421[23:15:53] <B​ob> dont even know why serde bothers with that
L422[23:16:11] ⇨ Joins: immibis (~hexchat@dynamic-089-204-139-245.89.204.139.pool.telefonica.de)
L423[23:16:11] ⇨ Joins: BrightYC (~BrightYC@193.123.62.114)
L424[23:19:14] <MR_SP​ᐰGETTY> anybody know an easy way to make and apply a "font" to some pieces of text in a script on OpenOS
L425[23:21:18] <B​ob> use weird unicode characters ?
L426[23:21:31] <B​ob> the font is unique
L427[23:23:19] <Kristo​pher38> I know you're all about OC2 these days but just wanted to share this little achievement of mine in OC1 - in-OC debugger: https://tinyurl.com/ycblk3jw
L428[23:24:22] <MR_SP​ᐰGETTY> this is the "font" i want to make in OC https://tinyurl.com/ycm9vpul
L429[23:24:42] <sapphicf​ettucine> >Kristopher38: I know you're all about OC2 these days but just wanted to share this little achieve…
L430[23:24:42] <sapphicf​ettucine> oh that's super cool
L431[23:24:51] <sapphicf​ettucine> how are you managing the execution per-line?
L432[23:26:11] <Kristo​pher38> parse debugged code -> build AST -> insert `if breakpoint defined for current line then pass control to the debugger` between every Lua statement -> ??? -> profit
L433[23:26:35] <sapphicf​ettucine> that's really neat
L434[23:27:39] <Kristo​pher38> thanks, i'm really excited for the new capabilities
L435[23:28:23] <Kristo​pher38> i hope for the days of debugging by prints to be over
L436[23:31:22] <B​ob> >MR_SPᐰGETTY: this is the "font" i want to make in OC
L437[23:31:22] <B​ob> you can use the subpixel technique
L438[23:31:47] <MR_SP​ᐰGETTY> what is the sub pixel technique?
L439[23:32:02] <B​ob> using unicode braille characters to build up bigger characters in OC
L440[23:33:20] <MR_SP​ᐰGETTY> can you direct me to an example usage of this technique
L441[23:44:58] <B​ob> Code Block pastebined https://paste.pc-logix.com/gewofizebi man this is such a hack just because serde shits itself with trailing null bytes
L442[23:45:37] <B​ob> https://tinyurl.com/yafquqbx
L443[23:45:38] <B​ob> anyways
L444[23:46:58] <B​ob> enough of this crap for today, i'm again exhausted by doing nothing
L445[23:49:50] ⇨ Joins: testname (~testname@p4feed26b.dip0.t-ipconnect.de)
L446[23:50:08] <testname> hello
L447[23:50:39] ⇨ Joins: testname2 (webchat@p4feed26b.dip0.t-ipconnect.de)
L448[23:50:40] <testname2> hi!
L449[23:51:11] ⇦ Quits: testname (~testname@p4feed26b.dip0.t-ipconnect.de) (Client Quit)
L450[23:56:29] <sapphicf​ettucine> >Bob: ```rs
L451[23:56:29] <sapphicf​ettucine> struct ScrewNulls<R: Read> { reader: R }
L452[23:56:30] <sapphicf​ettucine> impl<R: Read> Read f…
L453[23:56:30] <sapphicf​ettucine> it might be easier to strip off the last byte in future ig
L454[23:58:37] <Amanda> dequbed, Izaya_ et all: Yes, that new fediverse follow from amanda@ktistec.d.camnet.site is me. I decided to set up one of those single-user thingos on a machine I control, so it's only my own fault when stuff breaks, and because I'm too anxious to poke Lizzy when the one I was on is broken
<<Prev Next>> Scroll to Top