<<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]
<sapphicfettucine> i mean, if you're
reading over it and slicing only the part that was read
L3[00:01:19]
<sapphicfettucine> 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]
<sapphicfettucine> i guess so, yea
L10[00:11:38]
<Bob> 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]
<Bob> i'm
still deciding if going `no_std` is worth it
L12[00:12:39]
<sapphicfettucine> 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)
L16[00:14:35]
<Bob> 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]
<Bob> 82kb
not bad
L19[00:14:45]
<Bob> serde
alone is 80kb
L20[00:15:06]
<sapphicfettucine> panicimmediateabort +
miniserde
L21[00:15:19]
<Bob> i
always used panic abort and nightly strip
L22[00:15:21]
<sapphicfettucine> (+ opt-level s and
lto)
L23[00:15:23]
<sapphicfettucine> (+ opt-level s and lto)
[Edited]
L24[00:15:25]
<Bob>
miniserde does wonders tho
L25[00:15:34]
<sapphicfettucine> (and riscv64 objcopy
for stripping)
L26[00:15:45]
<Bob> 🤔
should try that
L27[00:15:57]
<Bob> i
have `strip` as part of the `.toml`
L28[00:16:01]
<sapphicfettucine> it's basically the same
as a strip command
L29[00:16:52]
<Bob> we
need a riscv64 upx
L30[00:18:30] ⇨
Joins: immibis
(~hexchat@dynamic-089-204-138-200.89.204.138.pool.telefonica.de)
L32[00:51:11]
<sapphicfettucine> oh, hell yea
L33[00:51:59]
<sapphicfettucine> 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]
<sapphicfettucine> 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]
<sapphicfettucine> 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! Michiyo! 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> Michiyo 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 Vaur!
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> Amanda:
"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]
<sapphicfettucine> 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]
<Bob>
>sapphicfettucine: hmm, java int size is 32bit right?
L56[02:31:04]
<Bob>
yes
L57[02:31:10]
<Bob> 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]
<Bob> for
HLAPI, i was thinking about generating Rust impls from the
`:methods` JSON
L61[02:57:19]
<sapphicfettucine> i've thought about
it
L62[02:57:25]
<sapphicfettucine> decided against it for
code clarity
L63[02:57:27]
<Bob>
trought `build.rs`
L64[02:57:31]
<Bob> well
fair enough
L65[02:57:47]
<Bob> i
just suck with `syn` and `proc2`, maybe should throw more time at
it
L66[02:57:51]
<Bob> 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]
<Bob> i
should hurry too but damn wtf
L75[03:06:05]
<Bob> 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]
<Bob> one
thing i always wanted to do is procedural parsing without using a
String buffer
L81[03:31:26]
<Bob> 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]
<Bob> serde
does seem to be generic over `Read` but i doubt that that's the
case for `miniserde`
L83[03:46:26]
<Bob> i
mean, if we're insisting on using miniserde which is really just
json
L84[03:46:27]
<Bob> might
write a specialized json parser
L85[03:46:34]
<sapphicfettucine> it handles strs
only
L86[03:46:37]
<Bob>
yep
L87[03:46:54]
<Bob> could
use an array backed deque
L88[03:47:25]
<sapphicfettucine> i'm using a centralized
[u8; 1024]
L89[03:47:36]
<sapphicfettucine> and a centralized
string buffer
L90[03:47:39]
<Bob>
yeah
L91[03:47:40]
<sapphicfettucine> so that it only
allocates once
L92[03:48:14]
<sapphicfettucine> like, imo
L93[03:48:23]
<Bob> i
knows its fine
L94[03:48:25]
<sapphicfettucine> if you make sure it has
enough capacity that it doesn't reallocate
L95[03:48:26]
<Bob> but i
like going overkill
L96[03:48:42]
<sapphicfettucine> fair :p
L97[03:48:59]
<sapphicfettucine> i have a proc-macro
that pre-serializes messages, i can't judge
L98[03:49:15]
<Bob> for
write, it should be easy enough
L99[03:49:27]
<sapphicfettucine> preserialization?
L100[03:49:29]
<sapphicfettucine> or
L101[03:50:08]
<Bob> for
writting i dont have any fail proof plans
L102[03:50:21]
<Bob> as
the value might not have enough space to get serialized in the
buffer
L103[03:50:33]
<Bob> for
reads, you can just shift the buffer back, continue the read, then
resume the seralization
L104[03:52:52]
<Bob> i
think i can get away with the procedural parser instance storing a
&mut slice ref
L105[03:53:02]
<Bob>
instead of enforcing an array
L106[03:56:39]
<Bob>
altough, this would imply i know the message structure before hand
and its static enough
L107[03:57:11]
<Bob> gotta
see how serde handles it again
L108[03:57:20]
<Bob> as
miniserde takes the dynamical approach with a stack
L109[03:57:29]
<sapphicfettucine> i've used the we know
how the message is structured trick to optimize zero-argument
calls
L110[03:58:00]
<sapphicfettucine> as for responses, you
could probably get away with doing for a lot of types?
L111[04:00:35]
<Bob> its
like 5AM and i dont know what im doing anymore
L112[04:03:21]
<Bob> i
need to peek at the macro expansion of the serde traits
L113[04:03:31]
<Bob>
prolly can do that on the playground rq
L114[04:09:52]
<Bob> yeah
Serde is doing its things`const VARIANTS: &[&str] =
&["list", "methods",
"error"];`
L115[04:10:59]
<Bob> and
yeah, there's so much generated code i see why Serde adds
80kb
L117[04:14:15]
<Bob> i
waas about to use pascal case with OC2's HLAPI
L118[04:40:18] <CompanionCube> lunar_sam:
lol
L119[04:56:27]
<Forecaster> %tonk
L120[04:56:28] <MichiBot> Bejabbers!
Forecaster! You beat Michiyo'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 Michiyo!
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.)
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]
<Vaur>
%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]
<Vaur>
hu
L138[09:06:19]
<Vaur> 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]
<Vaur>
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]
<Bob>
jebaited
L145[11:06:04]
<Wattana>
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]
<Wattana>
Cynd?
L147[11:13:28] <Izaya> cystemd
L148[11:26:39]
<Kristopher38> 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]
<Z0idberg>
@Wattana Cynit
L153[13:33:26]
<Z0idberg>
Or you can be like any other person and just call it
"init"
L154[13:34:14]
<Z0idberg>
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! Michiyo!
You beat Forecaster'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 Vaur!
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]
<Ocawesome101> 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)
L172[18:10:13] <CompanionCube> cystemd is
a funny name
L173[18:11:29] <Amanda> %choose comfort or
utility
L174[18:11:29] <MichiBot> Amanda: 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]
<Sangar>
>Amanda: <@96665277030203392> is this code still nessary?
I'm guessing it's from b…
L221[19:01:20]
<Sangar>
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]
<sapphicfettucine> hmm
L225[20:08:27]
<sapphicfettucine> is there an OC2 packet
size limit?
L226[20:08:36]
<sapphicfettucine> 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]
<sapphicfettucine> oh, i guess it might be
MTU
L232[20:11:59]
<Bob> dont
see how MC packet size would affect OC2 packet size
L233[20:12:05]
<Bob> 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]
<Bob> yeah
this
L237[20:12:20]
<sapphicfettucine> 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]
<Bob> 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]
<Bob> OC2
was a think for quite a while on the CI server
L242[20:12:37] <Amanda> it's very early
days, but yes
L244[20:12:49]
<Bob> 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]
<Bob> 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]
<sapphicfettucine> yeah okay it's an MTU
issue
L250[20:14:34]
<sapphicfettucine> 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]
<sapphicfettucine> distributed file
downloads
L253[20:15:20]
<sapphicfettucine> a.k.a "fake
torrents"
L254[20:15:33]
<Bob>
getting Tor in OC2
L255[20:17:54]
<sapphicfettucine> 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]
<Bob>
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]
<Bob> who
said we have to use Java
L262[20:30:37]
<Bob> i
will only exclusively use Rust with OC2
L263[20:30:37] <CompanionCube> true
enough
L264[20:30:40]
<Bob> 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]
<Bob> oh
no
L268[20:30:56]
<Bob> why
does the Projector block spawn so much particles when
destroyed
L269[20:37:49]
<Bob> i'm
thinking about switching from serde to nom
L270[20:37:55]
<Bob> as
its procedural
L271[20:43:42]
<Forecaster> there's code that isn't
awful?
L272[20:45:58] <Amanda> sounds fake, but
okay
L273[20:47:33]
<sapphicfettucine> lmao
L274[20:47:44]
<sapphicfettucine> wrecked a world by
messing with the mtu
L275[20:47:55]
<sapphicfettucine> which makes oc2 crash
on packets
L276[20:48:07]
<sapphicfettucine> 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]
<sapphicfettucine> yep
L279[20:48:29]
<sapphicfettucine> gonna look at crash
logs
L280[20:49:12]
<Forecaster> just don't crash the
logs
L281[20:49:21]
<sapphicfettucine> no promises
L282[20:51:11]
<sapphicfettucine> some part of me is
wondering if either i or amanda should submit our import
alternatives to the oc2 github
L283[20:51:27]
<sapphicfettucine> 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]
<sapphicfettucine> 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
L291[21:05:29] <Amanda> I might need to
move some stuff off the spinning rust
L292[21:14:42]
<sapphicfettucine> ooh fun times, got a
segfault
L293[21:14:48]
<Forecaster> %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]
<Forecaster> 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]
<Bob> Is
there a list of all the possible types for a method for the HLAPI
?
L299[21:22:31]
<sapphicfettucine> a specific method or
any method
L300[21:24:25]
<Bob> for
any
L301[21:25:03] <lunar_sam> soon, nelua
fun
L302[21:25:10]
<sapphicfettucine> 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]
<Bob> 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]
<sapphicfettucine> 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
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]
<sapphicfettucine> uhh
L332[21:35:09]
<sapphicfettucine> 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]
<sapphicfettucine> woo
L337[21:50:48]
<sapphicfettucine> my distributed
downloader works
L338[21:50:54]
<sapphicfettucine> it's also the worst
code i've ever written
L339[21:51:01]
<sapphicfettucine> but it works so i can
let my brain have a break
L340[22:04:26]
<Bob> when
you `self.stringbuf.pushstr(unsafe {
str::fromutf8unchecked(&self.buffer[1..bytes_read]) });`
instead of `self.buffer.consume(1)` 😔
L341[22:04:52]
<sapphicfettucine> oh that's
lightweight
L342[22:05:58]
<sapphicfettucine> 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]
<sapphicfettucine> it's more just messy af
architecture
L344[22:06:10]
<Bob> what
the heck lol
L345[22:06:29]
<Bob> at
this point, i dont know if i should maintain my own stuff with no
time or just start PRing
L346[22:06:44]
<sapphicfettucine> >Bob: what the heck
lol
L347[22:06:45]
<sapphicfettucine> need to borrow
mutably/immutably against individual chunks of a mmaped slice
L348[22:07:29]
<Bob> so
you basically want `splitatmut` ? 🤔
L349[22:07:30]
<sapphicfettucine> 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]
<Bob> well
i do agree that getting multiple non overlapping mutable slice
references to a buffer is hella tedious
L351[22:08:06]
<Bob> but
this is still in the realm of overly cursed
L352[22:08:08]
<sapphicfettucine> the thing is i need to
keep them around in a struct
L353[22:08:36]
<sapphicfettucine> and it's easier to
manually enforce the invariants than work around the borrow checker
sometimes
L354[22:09:28]
<Bob> ~~i
can always peek at the source and nitpick every insignificant
detail~~
L355[22:09:58]
<sapphicfettucine> "rules are meant
to be broken", i say, getting segfaulted
L356[22:10:31]
<Bob> i can
put the last bits of my brainpower at work before i just go to
sleep again right now
L358[22:19:42]
<Bob> but
its just stuck
L359[22:27:52]
<Bob> ok so
for some reason the polling makes it stuck
L360[22:28:04]
<Bob>
`self.poller.wait_one()?;` just never executes
L361[22:30:17]
<Bob> yeah
this is some bs i'll never figure out
L362[22:32:46]
<Bob> it
must mean that data never got written if no even comes
trought
L363[22:33:17]
<Bob> am i
delusional or what
L364[22:36:08]
<sapphicfettucine> yeah if poller is
blocking that means it's not getting data
L365[22:36:43]
<Bob> yeah
ik, but for some reason its not getting data written
L367[22:37:56] <dequbed> @sapphicfettucine
yes, there's a network packet size limit; it's 64K including all
headers.
L368[22:38:00]
<Bob> screw
it, i am going to `serdejson::towriter(&mut
std::io::stdout().lock(), data);`
L369[22:38:16]
<sapphicfettucine> >dequbed:
<@722196443514798181> yes, there's a network packet size
limit; it's 64K including …
L370[22:38:16]
<sapphicfettucine> i've found it to be
lower?
L371[22:38:21]
<sapphicfettucine> but that may be my
sketchy code
L372[22:38:25] <dequbed> No
L373[22:38:43]
<sapphicfettucine> 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]
<sapphicfettucine> ohh i see
L377[22:39:27]
<sapphicfettucine> i may have set it with
a few more zeros at the end than intended :p
L380[22:43:02]
<Bob> aight
so who sneaked a 0 and not a null byte
L381[22:43:13]
<sapphicfettucine> what are you setting
DELIM to?
L382[22:43:24]
<Bob> it
says it right there, i got it
L383[22:43:33]
<Bob>
altough again its died
L386[22:45:51]
<Bob> if
only printing wasn't broken in OC2
L387[22:45:57]
<Bob> until
then, i'll make a wrapping print
L388[22:46:03]
<sapphicfettucine> 90% of my debugging was
just printing out what was sent/received before parsing
L389[22:46:49]
<sapphicfettucine> >Bob: if only
printing wasn't broken in OC2
L390[22:46:49]
<sapphicfettucine> 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]
<sapphicfettucine> the one and only
L393[22:50:51]
<Bob> `fn
main() { if let Err(e) = main2() { wrappingprint(&e.tostring(),
70) } }`
L394[22:50:56]
<Bob> the
lengendary
L396[22:54:11]
<sapphicfettucine> are you building with
panic. abort?
L397[22:54:13]
<sapphicfettucine> are you building with
panic abort? [Edited]
L398[22:54:20]
<sapphicfettucine> panic immediate
abort*
L399[22:54:23]
<Bob>
yep
L400[22:54:41]
<Bob> i
guess this is an ud2 or whatever LLVM loves so much
L401[22:54:41]
<sapphicfettucine> in my experience that
does something which causes an illegal instruction on panic
L402[22:54:53]
<sapphicfettucine> which might be
intentional idk i haven't looked
L403[22:54:55]
<Bob> 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]
<Bob> well
besides stuff in STD
L406[22:55:08]
<sapphicfettucine> still might have a
panic somewhere
L407[22:55:19]
<sapphicfettucine> so i'd try turning it
off
L408[22:55:23]
<sapphicfettucine> so you can at least get
an error
L409[22:55:30]
<sapphicfettucine> and then turn it back
on when you need a min-sized binary
L410[22:55:31]
<Bob>
`slice_at` can panic i guess
L412[22:59:12]
<Bob>
actually it just crashed silently now
L414[23:03:19]
<Bob>
funny
L416[23:04:36]
<Bob> 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]
<sapphicfettucine> net split day huh
L420[23:15:47]
<Bob> now i
just need to fidn a way to ignore the trialing characters in
serde
L421[23:15:53]
<Bob> 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]
<Bob> use
weird unicode characters ?
L426[23:21:31]
<Bob> the
font is unique
L427[23:23:19]
<Kristopher38> 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
L429[23:24:42]
<sapphicfettucine> >Kristopher38: I
know you're all about OC2 these days but just wanted to share this
little achieve…
L430[23:24:42]
<sapphicfettucine> oh that's super
cool
L431[23:24:51]
<sapphicfettucine> how are you managing
the execution per-line?
L432[23:26:11]
<Kristopher38> 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]
<sapphicfettucine> that's really
neat
L434[23:27:39]
<Kristopher38> thanks, i'm really excited
for the new capabilities
L435[23:28:23]
<Kristopher38> i hope for the days of
debugging by prints to be over
L436[23:31:22]
<Bob>
>MR_SPᐰGETTY: this is the "font" i want to make in
OC
L437[23:31:22]
<Bob> you
can use the subpixel technique
L438[23:31:47]
<MR_SPᐰGETTY> what is the sub pixel
technique?
L439[23:32:02]
<Bob> 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
L443[23:45:38]
<Bob>
anyways
L444[23:46:58]
<Bob>
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]
<sapphicfettucine> >Bob: ```rs
L451[23:56:29]
<sapphicfettucine> struct ScrewNulls<R:
Read> { reader: R }
L452[23:56:30]
<sapphicfettucine> impl<R: Read>
Read f…
L453[23:56:30]
<sapphicfettucine> 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