<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:01:21] <lunar_sam> heh
L2[00:01:37] <lunar_sam> yeah, i wanna make
Tsuki and Zorya for OC2
L3[00:01:49] ⇨
Joins: lordpipe (~ba7888b72@66.109.211.50)
L4[00:02:48] <lunar_sam> >cpio is
included
L5[00:02:50] <lunar_sam> oh yeah
L6[00:02:59] <lunar_sam> an archive util i
remember how to use
L7[00:03:07] <lunar_sam> `i can extract
archives with tar but not make them`
L8[00:04:18]
<Ocawesome101> `tar cf file dir`
L9[00:04:29] <lunar_sam> ah
L10[00:04:31] <lunar_sam> neat
L11[00:04:41] <lunar_sam> i'll still use
cpio because i'm stuborn
L12[00:05:06]
<Ocawesome101> it took me quite a bit to
be able to remember how to use tar without needing to consult the
man page every time :P
L13[00:05:32] <lunar_sam> lmao
L14[00:05:41] <lunar_sam> i got used to
cpio after using cpios for zorya
L15[00:06:18] <lunar_sam> `find dir | cpio
-oF file` or `find dir | cpio -o | compressor > file`
L16[00:06:38]
<Ocawesome101> i should write an mtar util
that works in standard lua
L17[00:07:58] <lunar_sam> wait what
L18[00:08:00] <lunar_sam> it has
lzma?
L19[00:08:28]
<Ocawesome101> eh?
L20[00:09:39] <Amanda> Okay, I don't have
the spoons to debug what the hell that poll is doing in the
devices.lua so I just cheated, now I re-open the device node every
RPC!
L21[00:09:44] <lunar_sam> lzma is
included
L22[00:09:46] <lunar_sam> lmfao
L23[00:09:54] <lunar_sam> i uh
L24[00:10:00] <lunar_sam> i dunno if it has
enough RAM for that
L25[00:10:44]
<lunar_sam>
hm
L26[00:10:50]
<lunar_sam>
i wonder if lcpio would work on here
L27[00:11:09] <lunar_sam> oh there's no
luaposix
L28[00:11:10] <lunar_sam> shame
L29[00:20:04] <lunar_sam> where's the
source for the linux flash?
L30[00:42:49] ⇨
Joins: ThePiGuy24
(~ThePiGuy2@host-92-17-122-174.as13285.net)
L31[00:43:32] ⇦
Quits: TPG24 (~ThePiGuy2@host-92-16-9-254.as13285.net) (Ping
timeout: 189 seconds)
L33[00:58:27] ⇨
Joins: lordpipe (~ba7888b72@66.109.211.50)
L35[01:22:20] ⇦
Quits: Vexatos (~Vexatos@port-92-192-6-121.dynamic.as20676.net)
(Quit: Insert quantum chemistry joke here)
L36[01:23:45] ⇨
Joins: lordpipe (~ba7888b72@66.109.211.50)
L37[01:27:18] ⇦
Quits: lordpipe (~ba7888b72@66.109.211.50) (Client
Quit)
L38[01:34:14] ⇨
Joins: Izaya_ (~izaya@210.1.218.92)
L39[01:34:14] ⇦
Quits: Izaya (~izaya@210.1.218.92) (Read error: Connection reset by
peer)
L40[01:47:33] ⇨
Joins: caden
(~caden@c-73-11-191-191.hsd1.wa.comcast.net)
L41[01:47:39] <caden> gaming
L42[01:48:10] <caden> haha
L43[01:48:16] <caden> i
jahsdfljhkzbsdfl;kzjdsbf;zklsdjnfbzpsidjfnosdijvnapoigjfh;ezoihrgf
L44[01:49:15] <caden> reboot
L45[01:49:15] ⇦
Quits: caden (~caden@c-73-11-191-191.hsd1.wa.comcast.net) (Client
Quit)
L46[01:49:25] ⇨
Joins: caden
(~caden@c-73-11-191-191.hsd1.wa.comcast.net)
L48[01:50:46] <caden> @michiyo
L49[01:51:02] <caden> jajajaja
L50[01:54:18] <lunar_sam> ._.
L52[01:54:42] <caden> discord im mc
L53[01:58:16] ⇦
Quits: caden (~caden@c-73-11-191-191.hsd1.wa.comcast.net) (Ping
timeout: 189 seconds)
L54[01:59:12] ⇦
Quits: flappy (~flappy@91-154-0-54.elisa-laajakaista.fi) (Ping
timeout: 189 seconds)
L55[01:59:40] <Ariri> CompanionCube: I know
what I've said about crypto and all, but I cannot defend NFTs (at
least, how they've been popularized and such) for my life
L56[02:00:26] <CompanionCube> i like the
description of them as the 'star registry' scam with extra
blockchain
L57[02:00:42] ⇨
Joins: lordpipe (~ba7888b72@66.109.211.50)
L58[02:03:45] <Amanda> lunar_sam: but we
have luaposix at home. Luaposix at home: fnctl
L59[02:04:14] <lunar_sam> heh
L60[02:04:29] <lunar_sam> i can't wait to
be able to make a custom OS/firmware for OC2 :v
L61[02:04:54] <Amanda> At least that's what
devices.lua uses for file and polling
L62[02:05:04] <Amanda> File Io*
L63[02:05:16] <lunar_sam> i wanna make velx
loading firmware :v
L64[02:05:21] <lunar_sam> and then make
zorya
L65[02:06:13] <Amanda> Now that we can make
our own disk images easily, I want to try something I made
long-long ago. The Linux init process isn't really magic in it's
responsibilities
L66[02:06:37] <Amanda> So I made a Linux
distro that booted into nyancat
L67[02:06:48] <Izaya_> install lupi2
L68[02:06:57] ***
Izaya_ is now known as Izaya
L69[02:10:57] <Amanda> @Sangar is there any
game/balance reason I shouldn't use a <8mb disk drive in a
recipe for a custom disk? Just want to make sure I'm not going to
make free disk space via a cheaper recipe
L70[02:12:45] <Amanda> I mean, I'll do it
anyway, just curious of I should attach a warning to the datapack I
want to make
L72[02:32:19] ⇦
Quits: ben_mkiv
(~ben_mkiv@200116b814713500fe3497fffea975f2.dip.versatel-1u1.de)
(Ping timeout: 192 seconds)
L74[02:54:21] <Amanda> Well, my laptop is
currently buried on my nightstand for the night, so task for
future-amanda.
L75[02:54:33] <Amanda> Future Amanda loves
past Amanda!
L76[02:58:45] ⇨
Joins: lordpipe (~ba7888b72@66.109.211.50)
L77[03:05:05] <Michiyo> %tonkout
L78[03:05:05] <MichiBot> Potzblitz!
Michiyo! You beat your own previous record of 5 hours, 34 minutes
and 58 seconds (By 1 hour, 21 minutes and 53 seconds)! I hope
you're happy!
L79[03:05:06] <MichiBot> Michiyo has
tonked out! Tonk has been reset! They gained 0.006 tonk points!
plus 0.01 bonus points for consecutive hours! Current score:
0.32674, Position #3 Need 0.03235568 more points to pass
Forecaster!
L80[03:06:24] <Amanda> %splash Inari with
mutable yellow potion
L81[03:06:24] <MichiBot> You fling a
mutable yellow potion (New!) that splashes onto Inari. Inari turns
into a gold fairy girl until someone stops looking at them.
L82[03:07:09] *
Amanda moves Inari so she's reflecting light twords Elfi, curls up
around Elfi (not obstructing the view) and zzzmews
L83[03:37:14] <CompanionCube> %loot
L84[03:37:15] <MichiBot> CompanionCube:
You get a loot box! It contains a tiny spoon. (Junk)
L85[04:27:47] ⇦
Quits: Thutmose (~Patrick@67.21.186.225) (Quit:
Leaving.)
L86[07:10:40] ⇨
Joins: fdddkhj (webchat@n11648109041.netvigator.com)
L87[07:10:55] <fdddkhj> hey
L88[07:11:11] ⇦
Quits: fdddkhj (webchat@n11648109041.netvigator.com) (Client
Quit)
L89[07:55:48]
<Sangar>
>Amanda: <@96665277030203392> is there any game/balance
reason I shouldn't use a <…
L90[07:55:49]
<Sangar>
Well, the resulting disk will have as much space as your image
(since is copied on init to make it writable, just like the builtin
Linux one). So I'd say, as rule of thumb, use as many disks in
combination to get as close to the image size as possible, or
something?
L91[07:59:50]
<Bob> i
think now if i port `termios` to `nostd` (using `acidio`) and
finally fix my HLAPI wrapper, it'll turnout only like 40 kB at
most
L92[08:00:06]
<Bob>
altough i need to see if i can also get mini / micro serde troguth
the `no_std` barrier
L93[08:00:22]
<Bob> i do
have `alloc` given i have `libc` and just used `libc_alloc` to
rewire the `malloc`s
L94[08:30:14] ⇦
Quits: Hawk777 (~chead@2607:c000:8279:3f00:3a24:67c3:87ed:6d16)
(Quit: Leaving.)
L95[08:49:34] ⇨
Joins: Vexatos
(~Vexatos@port-92-192-6-121.dynamic.as20676.net)
L96[08:49:34] zsh
sets mode: +v on Vexatos
L97[09:19:45] ⇦
Quits: Izaya (~izaya@210.1.218.92) (Ping timeout: 192
seconds)
L98[09:23:29] ⇨
Joins: Izaya (~izaya@210.1.218.92)
L99[09:45:58] <Michiyo> %tonk
L100[09:45:58] <MichiBot> Wild! Michiyo!
You beat your own previous record of <0 (By 6 hours, 40 minutes
and 52 seconds)! I hope you're happy!
L101[09:45:59] <MichiBot> Michiyo's new
record is 6 hours, 40 minutes and 52 seconds! No points gained for
stealing from yourself. (Lost out on 0.00668)
L102[10:31:48]
⇨ Joins: immibis_
(~hexchat@dynamic-046-114-038-006.46.114.pool.telefonica.de)
L103[10:33:27] ⇦
Quits: immibis (~hexchat@62.156.144.218) (Ping timeout: 189
seconds)
L104[12:08:02] <dequbed> lunar_sam:
Consider yourself informed that OC2 in our pack isn't vanilla but
comes with our cursed patchset including but not limited to VXLAN
for connection to the outernet.
L105[12:10:45]
⇨ Joins: MajGenRelativity
(~MajGenRel@c-73-123-203-209.hsd1.ma.comcast.net)
L106[12:12:12]
⇨ Joins: immibis
(~hexchat@dynamic-046-114-038-006.46.114.pool.telefonica.de)
L107[12:12:35] ⇦
Quits: immibis_
(~hexchat@dynamic-046-114-038-006.46.114.pool.telefonica.de) (Ping
timeout: 192 seconds)
L108[12:25:08]
⇨ Joins: ben_mkiv
(~ben_mkiv@200116b814713500fe3497fffea975f2.dip.versatel-1u1.de)
L109[12:26:52]
⇨ Joins: immibis_
(~hexchat@dynamic-046-114-038-006.46.114.pool.telefonica.de)
L110[12:27:00] ⇦
Quits: immibis
(~hexchat@dynamic-046-114-038-006.46.114.pool.telefonica.de) (Read
error: Connection reset by peer)
L111[12:30:04]
<Bob>
>dequbed: lunar_sam: Consider yourself informed that OC2 in our
pack isn't vanil…
L112[12:30:04]
<Bob> now
this is a cursed fork
L113[12:46:19] <Amanda> @sangar ah, so
there's no magic expansion being done? That's good to know.
L114[12:48:40] <Amanda> I thought it
worked like how raspi sd images tend to work, the image size is
minimal then on first boot it'd expand the partition and fs
L115[13:04:11]
<gruetzkopf> no, there is not
L116[13:35:46]
<Forecaster> %sip
L117[13:35:47] <MichiBot> You drink a
warpy yellow potion (New!). Forecaster looks up and sees the moon
smile at them for a second.
L118[13:35:59]
<Forecaster> That's pretty warped
L119[13:47:16] <Amanda> Gotta love how
clangd assumes any type it doesn't know about is an int
L120[13:51:41] <dequbed> Because that's
what C dictates Amanda
L121[13:51:51] <dequbed> undefined types
*must* default to int
L122[13:52:45] <Amanda> ah
L123[13:54:48] <dequbed> If you have a
backwards-compatible compiler that means you can skip defining a
return type for functions by the way since that means it's
defaulted to int. AIUI that's also the reason why it's that way,
since returning a nonzero int is what C considers "error
handling"
L124[13:56:38]
<Bob> i
like your magic words magic man
L125[13:57:24] <dequbed> … what?
L126[14:09:53]
<Z0idberg>
@Bob I thought dequbed identified as a dino mecha-robot model
1234B.
L127[14:11:57] <Amanda> Damn. I can't just
transplant my old nyan-os init process into OC2 and have it work.
Apparentlt it's using too much memory, making go choke and
die
L128[14:12:38] <dequbed> @Z0idberg I have
significantly fewer cybernetic parts than you might think. And
@Ariri is to blame for most of them seeing how her shenanigans cost
me an arm and a leg sometimes. :P
L129[14:13:22]
<Z0idberg>
OMG LOL
L130[14:13:40]
<Z0idberg>
Unrelated but I was just reading the CVE details for mariadb's
latest security reports
L131[14:14:02]
<Z0idberg>
The very first sentence in the bug report has a hilarious choice of
a particular word:
L132[14:14:02] <dequbed> Amanda: We're
probably going to up the RAM stick sizes by a factor of 2 or 2.5.
IMHO Tier 1 should be enough to just about get a slim Linux
running, Tier 2 enough to get a fat Linux running like ours and be
able to do things and Tier 3 should leave you with plenty of free
RAM for shenanigans like that.
L133[14:14:02]
<Z0idberg>
I used my fuzzing tool to test Mariadb , and found a bug that can
result in an abortion.
L134[14:14:20]
<Z0idberg>
"Found a bug that can result in abortion". Huh.
L135[14:15:00]
<Z0idberg>
MDEV-25636
L137[14:23:17] <Amanda> dequbed: how much
of this are y'all planning to dump on @Sangar at once? :P
L138[14:23:48]
⇨ Joins: TPG24
(~ThePiGuy2@host-92-17-122-174.as13285.net)
L139[14:23:59] ⇦
Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-122-174.as13285.net) (Ping
timeout: 189 seconds)
L140[14:24:00] <dequbed> Amanda: Third
degree burns are best taken in shifts :)
L141[14:24:43] <Amanda> dequbed: the
latest master would let you guys package your buildroot fork as a
datapack, at least.
L142[14:25:01] <Amanda> instead of having
to recompile all of OC2
L143[14:26:42] <dequbed> We're also
recompiling all of OC2 because a) custom patches like (proper
managed) switches, b) aformentioned VXLAN c) fiberoptic cables d)
we can't seem to get the Config loader to work so VXLAN config is
hard-coded.
L144[14:27:26] <dequbed> Wireguard in the
buildroot is the easy part, that's just unzipping the jar and
replacing the buildroot zip.
L145[14:27:39] <Amanda> :P
L146[14:27:52] <Amanda> Just saying it
means you don't have to diverge as far from upstream
L147[14:28:03] <Amanda> sure, it's a
trivial amount, but still a divergence
L148[14:28:19] <dequbed> It's not even all
that trivial now that I've started on PCI
L149[14:28:35] <dequbed> I'd like to get
all of that upstream don't worry but it isn't for now.
L150[14:29:07] <dequbed> And to not make
that a single gigantic PR touching every other file in the repo
there's a large amount of code untangling still to do.
L151[14:29:42]
⇨ Joins: Thutmose (~Patrick@67.21.186.225)
L152[14:33:40]
<Z0idberg>
I want VLB
L153[14:33:49]
<Z0idberg>
can has the VLB bus protocol?
L154[14:34:25] <dequbed> VESA Local Bus?
That's publicly available IIRC.
L155[14:34:47]
<Z0idberg>
I need a new VLB GPU...
L156[14:35:01]
<Z0idberg>
I replaced my 486 motherboard, and it meant having to give up
PCI
L157[14:35:17]
<Z0idberg>
The new one is a better board but it's ISA and VLB
L158[14:35:31] <dequbed> That sounds like
a major downgrade.
L159[14:35:55]
<Z0idberg>
I just don't have any ISA video cards anymore
L160[14:36:00]
<Z0idberg>
and I definitely don
L161[14:36:14]
<Z0idberg>
don't have any VLB either, VLB was only around for a very short
period of time
L162[14:36:50]
<Z0idberg>
A Hercules VLB could be a good start
L164[14:38:24]
<Z0idberg>
KLook at these monsters
L165[14:39:39]
<Z0idberg>
I would rather have a color SVGA card though
L166[14:40:04]
<Z0idberg>
Especially if it is a VESA extensions SVGA alternative
L167[14:40:42]
<Z0idberg>
Holy shit a mach32
L169[14:41:06] ⇦
Quits: ben_mkiv
(~ben_mkiv@200116b814713500fe3497fffea975f2.dip.versatel-1u1.de)
(Killed (NickServ (GHOST command used by
ben_mkiv|afk!~ben_mkiv@2001:16b8:1e04:ab00:fe34:97ff:fea9:75f2)))
L170[14:41:09]
<Z0idberg>
$72..
L171[14:41:10]
⇨ Joins: ben_mkiv|afk
(~ben_mkiv@2001:16b8:1e04:ab00:fe34:97ff:fea9:75f2)
L172[14:41:15]
<Z0idberg>
I won't get paid by the time it's done 😦
L173[14:44:44] ⇦
Quits: Thutmose (~Patrick@67.21.186.225) (Quit:
Leaving.)
L174[14:45:23]
<Z0idberg>
This has VESA extensions
L175[15:52:43] <lunar_sam> dequbed:
projectors when
L176[15:53:02] <dequbed> lunar_sam: When
one of us gets around to it, don't hold your breath.
L177[15:56:20]
<gruetzkopf> >lunar_sam: dequbed:
projectors when
L178[15:56:20]
<gruetzkopf> on the radar for one of the
next test builds
L179[15:56:40] <lunar_sam> :eyes:
L180[15:56:48] <lunar_sam> also where do i
find the uhhh
L181[15:56:56] <lunar_sam> firmware source
code
L182[15:57:11] <lunar_sam> also EEPROM
flashing when?
L183[15:58:10] <lunar_sam> `i might be
dumb and there might already be EEPROM flashing`
L184[15:58:33]
⇨ Joins: Thutmose (~Patrick@67.21.186.225)
L185[15:58:38]
<gruetzkopf> which part are you looking
for
L186[15:58:48]
<gruetzkopf> flash (linux) item?
L187[15:58:56] <lunar_sam> ye
L188[15:58:59] <lunar_sam> the source of
the code on that
L189[15:59:24] <Kilobyte> I'd also really
love to see serial terminals :D but for now there are more
important things
L190[15:59:29] <lunar_sam> i know about
the buildroot
L191[16:00:17] <Kilobyte> The switch is
pretty much still PoC and the vxlan code needs major cleanup
L192[16:00:46]
<gruetzkopf> not too sure, we haven't
touched that yet
L193[16:00:52] <Amanda> the flash is built
by buildroot as well, I believe?
L194[16:01:12] <Amanda> It's opensbi + the
linux kernel
L195[16:01:22] <Kilobyte> I think the
kernel is part of the flash, so that would make sense
L196[16:01:38] <lunar_sam> ah
L197[16:01:47] <lunar_sam> neat
L198[16:08:06] <dequbed> Kilobyte: The
whole of OC2 is basically a PoC, that shouldn't be a benchmark
:P
L199[16:22:31] <lunar_sam> :P
L200[16:25:40]
⇨ Joins: ThePiGuy24
(~ThePiGuy2@host-92-17-122-174.as13285.net)
L201[16:26:05] ⇦
Quits: TPG24 (~ThePiGuy2@host-92-17-122-174.as13285.net) (Ping
timeout: 189 seconds)
L203[16:46:24]
<Hunter 🏹>
Hey guys, I've been trying to play around with the early OC2
patches and am finding myself stuck repeatedly on this issue.
Trying to just call the move method of "robot"
device.
L204[16:47:04]
<Hunter 🏹>
All of the different versions of r:move aren't even on the screen
there. I've tried lots of dif things. I just don't understand what
I'm missing
L205[16:47:27] *
Amanda cackles manically:
L207[16:47:45] <Amanda> I'm finally
speaking the hlapi correctly! Praise be!
L208[16:48:55] <dequbed> Amanda:
Nice!
L209[16:54:00] <Amanda> Hunter: Can you
send the screenshot seperately, it doesn't bridge correctly
L210[16:54:34] <Amanda>
s/doesn't/didn't/
L211[16:54:34] <MichiBot> <Amanda>
Hunter: Can you send the screenshot seperately, it didn't bridge
correctly
L212[17:06:57] <lunar_sam> i should do a
funny
L213[17:07:09] <lunar_sam> nelua for
OC2
L214[17:24:53]
<Michiyo>
Amanda their screenshot was:
L216[17:25:21] <Amanda> Try "up"
instead of up
L217[17:25:53] <Amanda> @"Hunter
🏹" ^
L218[17:26:34]
<Michiyo>
It actually managed to ping them, good job past me.
L219[17:28:37]
<Forecaster> Yay I'm back online (for real
online not with 4G)
L220[17:30:09]
<Michiyo>
yay
L221[17:34:35] <Vaur> %tonk
L222[17:34:35] <MichiBot> Yay! Vaur! You
beat Michiyo's previous record of 6 hours, 40 minutes and 52
seconds (By 1 hour, 7 minutes and 45 seconds)! I hope you're
happy!
L223[17:34:36] <MichiBot> Vaur's new
record is 7 hours, 48 minutes and 37 seconds! Vaur also gained
0.00791 (0.00113 x 7) tonk points for stealing the tonk. Position
#1.
L224[17:46:49]
⇨ Joins: immibis
(~hexchat@dynamic-089-204-138-014.89.204.138.pool.telefonica.de)
L225[17:47:24] ⇦
Quits: immibis_
(~hexchat@dynamic-046-114-038-006.46.114.pool.telefonica.de) (Ping
timeout: 189 seconds)
L226[17:53:08] ⇦
Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-122-174.as13285.net) (Ping
timeout: 189 seconds)
L227[17:54:49]
⇨ Joins: ThePiGuy24
(~ThePiGuy2@host-92-17-122-174.as13285.net)
L228[17:59:44] ⇦
Quits: MajGenRelativity
(~MajGenRel@c-73-123-203-209.hsd1.ma.comcast.net) (Quit:
Leaving)
L229[18:15:06] <lunar_sam> man, just got a
detangling brush and life is suddenly good
L230[18:20:54] <CompanionCube> 'an
abortion' is certainly an unusual way to phrase it....
L231[18:31:50] <Amanda> Well, that's not
good:
L233[18:32:33] <Amanda> same file, my
import produces a different md5
L234[18:33:01] <Amanda> and it
segmentation faults, who'd have guessed?
L235[18:33:37]
<Forecaster> not me
L236[18:33:48]
<Forecaster> my guesses are never
faulty
L237[18:36:34]
<Bob>
>Amanda: Well, that's not good:
L238[18:36:34]
<Bob> i
once had a weird af, non executable thing after importing for some
reason
L239[18:36:42]
<Bob> it
might just be faulty
L240[18:37:23] <Amanda> I mean, in this
case it's most likely caused by my c++ reimplementation of
import.lua being broken somehwo
L241[18:37:38] <Amanda> imporitng a new
build with my HLAPI debug prints enabled to see if I can figure it
out
L242[18:42:32]
<Bob> i
still need to figure out termios, make a stty wrapper in a `nostd`
context, and get `fs` into `nostd`
L243[18:42:39]
<Bob>
wishing Rust's std was a bit more fragemented
L244[18:45:26]
<Forecaster> %sip
L245[18:45:28] <MichiBot> You drink a
bubbly mithril potion (New!). Forecaster's favourite hair suddenly
disintegrates.
L246[18:45:40]
<Forecaster> aw
L247[18:46:46]
<Kristopher38> `attempt to index a table
value`
L248[18:46:49]
<Kristopher38> now that's a new one
L249[18:48:10]
<Bob> very
nice
L250[18:49:24]
<Hunter 🏹>
>Amanda: Try "up" instead of up
L251[18:49:24]
<Hunter 🏹>
That's what I had. My issue was that I had r:move("up",
true) when the true wasn't needed I suppose
L252[18:52:55] <Amanda> in the screenshot
you sent you had up, not "up" -- notice the quotes
L253[18:53:31]
<Z0idberg>
file encoding problems, amanda?
L254[18:54:03] <Amanda> I'm opening it as
binary, so I don't think so, @Z0idberg
L255[18:55:07]
<Z0idberg>
colordiff can be useful for this sometimes
L257[18:58:25]
<Z0idberg>
guess you could also use diff with xxd
L258[18:58:31]
<Z0idberg>
or hexdump -C
L259[19:09:59] <Amanda> Well, that'lll do
it. My hlapi code's getting partial read:
L261[19:10:27] <Amanda> and I guess
picojson's leanent enough to not care that there's no ] or }
L262[19:12:49]
<Bob> i
dont know if i want to pursue to `no_std` rabbit hole, i got no
time at all
L263[19:17:11] <Amanda> There we go, It
helps to properly read the protocol:
L265[19:17:29] <Amanda> and not just
assume a full read was successful
L266[19:21:31] <Amanda> and now I'm
checking picojson's error bit, instead of assuming the JSON is
fine, as apparently it can partially decode and returns the partial
result.
L267[19:21:43] <lunar_sam> i should
explore the HLAPI
L268[19:21:53]
<Bob> its
just JSON
L269[19:21:57] <lunar_sam> i know
L270[19:22:03]
<Bob> the
hardest part is getting that damn stty to work
L271[19:22:32] <Amanda> I mean. Nothing's
stopping you from just shelling out to the stty like the python
& Lua bindings do
L272[19:22:38]
<sapphicfettucine> it's a really neat
protocol
L273[19:22:58] <Amanda> you just have to
do it after you open the file handle, otherwise it'll not apply,
unless that was a fluke in my own C++ impl
L274[19:22:59]
<sapphicfettucine> i'm pretty happy with
how my proc macro bindings ended up
L275[19:23:11] <lunar_sam> i'm gonna make
an nelua library :)
L276[19:23:14]
<sapphicfettucine> >Amanda: you just
have to do it after you open the file handle, otherwise it'll not
apply, u…
L277[19:23:14]
<sapphicfettucine> i'm pretty sure that's
it, yea
L278[19:23:32] <lunar_sam> also i have to
get a toolchain set up for it
L279[19:23:34] <lunar_sam> but o
well
L280[19:23:55] <lunar_sam> lol discord is
broken on my end
L282[19:27:20]
<sapphicfettucine> yeah discord is at it
again
L283[19:27:39]
<sapphicfettucine> it's raining in the
data center again i guess
L284[19:28:22] <lunar_sam> i'm kinda
impressed how unstable it is
L285[19:28:39] <CompanionCube> meanwhile
irc is fine
L286[19:28:51] <lunar_sam> yep <3
L287[19:28:57]
<Ocawesome101> tfw irc
L288[19:28:57] <lunar_sam> so is
XMPP
L289[19:29:13]
<sapphicfettucine> it's almost like cloud
architecture is a mess that's falling apart at the seams.
almost
L290[19:29:17] <lunar_sam> tfw XMPP
L291[19:31:01] <lunar_sam> >
<@sapphicfettucine> it's almost like cloud architecture is a
mess that's falling apart at the seams. almost
L292[19:31:01] <lunar_sam> CLOUD WEBSCALE
BLOCKHAIN SCALABLE CRYPTO NODE ASYNC BITCOIN METAVERSE NFT SMART
CONTRACT WEB3 i've run out of buzzwords at the moment
L293[19:31:28]
<sapphicfettucine> don't forget running
programs on the ~edge~
L294[19:32:11] <lunar_sam> why did we let
documents run code
L295[19:32:17] <lunar_sam> this is not
just the web
L296[19:32:32]
<sapphicfettucine> it was a mistake we're
still paying for
L297[19:32:52]
<Ocawesome101> lunar_sam: don't forget
agile
L298[19:33:05]
<sapphicfettucine> honestly web3 is so
funny to me as a sysadmin. like. the scaling issues are so terrible
and people want to run the web on top of this?
L299[19:33:21] <lunar_sam> is there still
msword VBS malware
L300[19:33:27]
<sapphicfettucine> likely
L301[19:33:34] <lunar_sam> web3 is
baffling to me
L302[19:33:52] <lunar_sam> why would you
call more centralization "decentralization"
L303[19:33:56]
<sapphicfettucine> >sapphicfettucine:
honestly web3 is so funny to me as a sysadmin. like. the scaling
issues are so terr…
L304[19:33:56]
<sapphicfettucine> you simply love to run
your services on top of a shared computer with less power than a
raspberry pi that you have to pay per operation
L305[19:34:11]
<sapphicfettucine> >lunar_sam: why
would you call more centralization
"decentralization"
L306[19:34:11] <lunar_sam> like
L307[19:34:11]
<sapphicfettucine> to convince people to
buy in with fake promises
L308[19:34:20] <lunar_sam> i'm just
baffled by it
L309[19:34:26] <lunar_sam> and like
L310[19:34:28] <lunar_sam> people i
know
L311[19:34:34] <lunar_sam> who are
genuinely intelligent
L312[19:34:36]
<sapphicfettucine> [herzog voice]
capitalism
L313[19:34:41] <lunar_sam> fell for this
grift
L314[19:34:57]
⇨ Joins: Wattana
(webchat@node-4i0.pool-101-109.dynamic.totinternet.net)
L315[19:35:02]
<sapphicfettucine> yikes
L316[19:35:04] <Wattana> Looks like I'm
stuck with IRC for a while
L317[19:35:10] <lunar_sam> absolutely
baffling
L318[19:35:19]
<sapphicfettucine> i really don't get how
you learn anything about code and then look at web3 and say
"ah yes good"
L319[19:35:27] <lunar_sam> anyways, i am
very anti-crypto
L320[19:35:30] <lunar_sam> rather
L321[19:35:32] <Wattana> You guys can
still use Discord?
L322[19:35:35] <lunar_sam>
anti-blockchain
L323[19:35:36]
<sapphicfettucine> yes the thing i want in
tech is "having to spend more money to get into the
field"
L324[19:35:49]
<sapphicfettucine> discord's sort of
working for me still
L325[19:35:59] <Wattana> It's completely
down for me
L326[19:36:00]
<MGR> It's
working for my primary, but not for all of my alts
L327[19:36:15] <lunar_sam> i'm on XMPP so
i don't have any problems :P
L328[19:36:17]
<Ocawesome101> works for me
L329[19:36:17] <Wattana> > alts
L330[19:36:17] <Wattana> sus
L331[19:36:18]
<sapphicfettucine> partial outage i
guess
L332[19:36:29]
<sapphicfettucine> can't believe ffxiv is
more stable than discord
L333[19:36:37] <lunar_sam> anyways
L334[19:36:43] <Wattana> Thank god we
still have IRC as backup lol
L335[19:36:53]
<Ocawesome101> partial outage indeed, as
of about ten minutes ago
L337[19:37:18] <ThePiGuy24> still out for
me
L338[19:37:29] <lunar_sam> something
something ace combat zero quote something something
L339[19:37:40]
<sapphicfettucine> sometimes i remember
that their image resizing backend is opencv glued to golang and
that explains a lot for me
L340[19:37:58] <lunar_sam> you know
L341[19:38:08] <lunar_sam> i wish luajit
had the fuckin
L342[19:38:10] <Wattana> Is it just me or
is Discord down for longer than usual fuckups? Or did I remember
wrong
L343[19:38:14] <lunar_sam> lua 5.3 syntax
for bitops
L344[19:38:16]
<Ocawesome101> it
L345[19:38:20]
<Ocawesome101> it's been down for uh
L346[19:38:23]
<sapphicfettucine> gods same sam
L347[19:38:28]
<Ocawesome101> quite a bit before
L348[19:38:35]
<Bob>
>sapphicfettucine: i'm pretty happy with how my proc macro
bindings ended up
L349[19:38:35]
<Bob> yeah
dumping the JSON and generating methods from it was a pretty idea,
but i suck at writting proc macros
L350[19:38:42]
<Bob>
always end up getting lectured by Yandros
L351[19:38:43] <lunar_sam> Wattana: these
things typically take time because their infra is literal
lassagna
L352[19:38:53]
<sapphicfettucine> but like
L353[19:38:58]
<sapphicfettucine> those frozen
lasagnas
L354[19:39:02] <Wattana> lunar: not
spaghetti?
L355[19:39:02]
<sapphicfettucine> that fall apart
L356[19:39:11] <lunar_sam> lasagna, that's
how you spell it
L357[19:39:12]
<sapphicfettucine> that's an insult to
spaghetti wattana
L358[19:39:18] <Wattana> oh lol
L359[19:39:26] <lunar_sam> Wattana: it's
layers of pasta
L360[19:39:28] <lunar_sam> thus
L361[19:39:30] <lunar_sam> lasagna
L362[19:39:55] <lunar_sam> anyways
L363[19:39:57]
<sapphicfettucine> "microservices are
the future! they are!" i shout as i slowly shrink into a corn
cob
L364[19:40:00] <ThePiGuy24> lasaga
L365[19:40:46]
<Ocawesome101> la saga discordia
L366[19:40:53] <lunar_sam> i remember
people trying to tell me that lua's shit and whatnot and my project
was pointless because it "already had been done" when i
got luajit<->byond interactions and then i get DM'd by
someone asking
L367[19:41:08] <lunar_sam> "yo, you
know much about lua vm internals?"
L368[19:41:23] <lunar_sam> _kindly_ fuck
off
L369[19:41:28]
<Ocawesome101> heh
L370[19:41:56]
<sapphicfettucine> >lunar_sam:
"yo, you know much about lua vm internals?"
L371[19:41:56]
<sapphicfettucine> lua internals? made of
cheese
L372[19:42:06] <lunar_sam> heh
L373[19:42:12] <lunar_sam> but yeah it's
just like
L374[19:42:13] <lunar_sam> cmon
L375[19:42:25] <lunar_sam> maybe i'm
misremembering names, because, fuck, there's a lot
L376[19:42:29] <lunar_sam> anyways
L377[19:42:32] <lunar_sam> don't do SS13
dev
L378[19:42:35] <lunar_sam> not even
once
L379[19:42:35]
<Forecaster> everything being made of food
is making me hungry
L380[19:43:02] <lunar_sam> also
L381[19:43:07] <lunar_sam> sam is working
on a cool thing
L382[19:43:15] <lunar_sam> currently only
for OC1
L383[19:43:25] <lunar_sam> but maybe soon
for OC2 and real computers :P
L385[19:43:52]
<Forecaster> real computers don't exist,
there is only OC
L386[19:43:54]
<Bob> i'll
yoink the stty interop
L387[19:44:08] <Wattana> hey Ocawesome
what does the count argument for TTY read actually mean? I've been
trying to make sense of it and I only know that it effects how many
char per read
L388[19:44:19] <lunar_sam> tsukinet
soon
L389[19:44:40]
<Ocawesome101> Wattana: which bit
L390[19:44:46] <Amanda> Added operators to
the device class to get methods by name, and an call operator on
the method operator to invoke them
L391[19:44:49]
<Ocawesome101> the scheme level or the
actual tty code level?
L392[19:45:03] <Wattana> userland TTY
r/w
L393[19:45:13] <Wattana> via syscall
L394[19:45:39]
<Ocawesome101> that can be any format that
lua's `io.read` accepts
L395[19:45:49]
<Ocawesome101> since it's wrapped in a
buffer
L396[19:46:51]
<Ocawesome101> with or without an
`*`
L397[19:47:04]
<Ocawesome101> i encourage not using a
`*`, in fact
L398[19:47:09] <Wattana> Yeah but any
count values more than 1 is kind of funky
L399[19:47:16] <Wattana> Like, n chars per
read
L400[19:47:23]
<Ocawesome101> mhm?
L401[19:47:23] <Wattana> But the behavior
I've seen is kind of inconsistent.
L402[19:47:24]
<Ocawesome101> how so?
L403[19:48:19]
<Ocawesome101> inconsistent in what
way?
L404[19:48:30] <Wattana> 1 seems to be
best for reading user input
L405[19:48:50] <ThePiGuy24> ah there we
go, finally back for me
L406[19:48:53]
<Ocawesome101> i should think `l` would be
best there
L407[19:49:00] <Wattana> huh lemme
see
L408[19:49:20] <Wattana> oh
L409[19:49:38]
<Ocawesome101> it is line-buffered, so you
can only read up to the last newline in the read buffer
L410[19:49:44] <Wattana> then what the
hell does numeric value for count do actually do other than being
funky when higher than 1?
L411[19:49:58]
<Ocawesome101> if you need to read input
in chunks it's useful
L412[19:50:54]
<Wattana>
ayyyy discord's back
L413[19:50:57]
<Ocawesome101> yep
L414[19:51:13]
<Wattana>
and i'm more voluntarily sleep deprived than ever lmao
L415[19:51:26]
<Ocawesome101> heh
L416[19:51:49]
<Ocawesome101> what behavior are you
observing with passing counts higher than 1? it should just return
the current line in chunks of that size
L418[19:52:21]
<Wattana>
it's.... complicated
L419[19:52:52]
<Wattana>
Inputs with less size than a chunk seems to sometimes not
return
L420[19:53:03]
<Wattana>
like it's infinitely taking in inputs
L421[19:53:16]
<Ocawesome101> hmm, you're right
L422[19:53:26]
<Ocawesome101> and i know exactly what's
causing that
L423[19:53:48]
<Wattana> I
think this was in Cynosure 1 too, right?
L424[19:53:57]
<Ocawesome101> might've been
L425[19:54:16]
<Wattana>
Since I remember seeing similar behavior with C1's TTY at least in
my ported ver for OCLinux
L426[19:54:33]
<Ocawesome101> yeah i think cynosure 1 had
this too
L427[19:54:37]
<Ocawesome101> wasn't a case i ever tested
lol
L428[19:54:44]
<Ocawesome101> should be fixed now
L429[19:55:28] <CompanionCube> lunar_sam:
inb4 'yes i know too much about lua vm imternals'
L430[19:56:19] <lunar_sam> i wish i
understood the lua vm well enough
L431[19:56:20] <CompanionCube> never mind
all the other voodoo implied in the proje.
L432[20:01:24] ⇦
Quits: Wattana
(webchat@node-4i0.pool-101-109.dynamic.totinternet.net) (Quit:
webchat.esper.net)
L433[20:03:07] <Amanda> Wheee, arguments
work now! Kinda. You have to manually pass picojson::value's --
time to do some metaprogramming to make it so stuff can be
serialised from C/C++ objects
L434[20:03:24] <Amanda>
s/objects/types/
L435[20:03:24] <MichiBot> <Amanda>
Wheee, arguments work now! Kinda. You have to manually pass
picojson::value's -- time to do some metaprogramming to make it so
stuff can be serialised from C/C++ types
L436[20:03:52]
<Bob> we
have the HLAPI sure, but what about going lower level even, what
about MMIO ?
L437[20:27:33] <Amanda> Pretty sure MMIO
means hacking on the kernel, which is a no from me, nya
L438[20:29:21]
<Bob> i
dont know, maybe its more `/dev` handles :thonk
L439[20:30:02] <CompanionCube> still
*some* kernel hacking to expose the right RAM regions as /dev nodes
or whatecer
L440[20:30:25]
<Bob> just
write to `/dev/mem` duh
L442[20:31:05] <CompanionCube> ew
/dev/mem, also you probably want to be able to do it as
non-root
L443[20:31:09] ⇦
Quits: m1cr0man (~m1cr0man@2a01:4f8:191:503f::1) (Quit:
G'luck)
L444[20:31:12]
<sapphicfettucine> i love
totally-safe-transmute so much
L445[20:31:25]
⇨ Joins: m1cr0man
(~m1cr0man@2a01:4f8:191:503f::1)
L446[20:31:27]
<Bob> we
love unix
L447[20:34:04]
<Bob> yeah
no my heart hurts, ill look at this more tommorow
L448[20:34:27]
<Bob> i
have a performance rating of 1 LoC/day
L450[20:48:55]
<sapphicfettucine> that's really clean,
hell yea
L451[20:50:44] <Amanda> I _think_ this
might be workable back to C++11 too, if I removed some calls I do
which are added in C++20 (map.contains)
L452[20:56:58] <Amanda> you still only can
get a picojson::value out as a result, but I'm low on spoons so
that may just have to be the case for now
L453[20:57:27]
<Sangar>
uh, very cool
L455[20:59:33] <Amanda> Specifically:
console.firebase.google.com/u/0/
L456[20:59:45]
<sapphicfettucine> sometimes i go to
change my datapack i use for testing and just
L457[20:59:45] <Amanda> ... where the fuck
did you get that from, clipboard?
L459[20:59:56]
<sapphicfettucine> remember i have a 10MB
h264 executable in here
L460[21:01:29]
<Bob>
>Amanda: ... where the fuck did you get that from,
clipboard?
L461[21:01:29]
<Bob> i
think ill settle with termios too on the Rusty side
L462[21:09:36] <Amanda> The bus-list test
is now only ~57KB with the hlapi stuff extracted into a seperate
binary
L463[21:09:43] <Amanda> * shared
library
L464[21:10:58] <Amanda> libhlapi.so
however is a bit heavier than compiling it into the binary,
strangely
L465[21:13:37]
<sapphicfettucine> unused code
optimizations?
L466[21:15:25] <Amanda> oh right! I was
going to add -Os to the flags I compile with
L467[21:15:51]
<Bob> i use
-O3, theres not a big difference
L468[21:15:54] <Amanda> Now bus-list test
is 15KB
L469[21:16:04]
<Bob> if i
strip std and serde, the difference is massive
L470[21:16:09] <Amanda> -Os is
"optimise for size"
L471[21:16:16] <Amanda> not
performance
L472[21:17:23]
<Bob> yeah
i know
L473[21:19:04]
<sapphicfettucine> my miku-rpc import test
is coming in at 88kb
L474[21:19:40]
<sapphicfettucine> probably could be
smaller by stripping out the bufreader but eh
L475[21:19:52] <Amanda> libhlapi.so went
from 300+KB to 64 with -Os
L476[21:19:59]
<sapphicfettucine> hell yea
L477[21:22:15] <CompanionCube> w00t
L478[21:22:38]
<sapphicfettucine> here's my miku-rpc
import.lua copycat
L480[21:23:42]
<Ocawesome101> hm
L481[21:24:15]
<Ocawesome101> looking at the risc-v isa
it's actually small enough one person can memorize the whole
thing
L482[21:24:58] <CompanionCube> depends on
the extensions, surely?
L483[21:25:25]
<sapphicfettucine> oh, hey, the
cryptography ISE was ratified
L485[21:28:09]
<Ocawesome101> in any case it's still a
hell of a lot better than x86
L486[21:28:43]
<sapphicfettucine> tbf what isn't
L487[21:29:08]
<Ocawesome101> x86_64, probably?
L488[21:30:41] <CompanionCube> wouldn't it
be the other way around
L489[21:30:43]
<sapphicfettucine> it'd be nice to have
the AES acceleration instructions in sedna.. maybe i'll take a look
at implementing it sometime
L490[21:31:08] <CompanionCube> x86_64
probably has gains from some legacy cleanup
L491[21:34:43]
<Ocawesome101> actually that might be
true
L492[21:39:26] <dequbed> Amanda: Yay for
generic code and dynamic dispatch :P
L493[21:40:25] <dequbed> CompanionCube:
Yeah, AMD64 has dropped *a lot* of bad legacy things.
L494[21:50:39]
<The
Patmann> >sapphicfettucine: oh, hey, the cryptography ISE
was ratified
L495[21:50:39]
<The
Patmann> What's that?
L496[21:51:19]
<sapphicfettucine> instruction set
extension - a set of additional instructions to the RISC-V
specification
L497[21:51:45]
<The
Patmann> Ah, neat!
L498[21:51:56]
<sapphicfettucine> these specifically deal
with cryptography, so you can accelerate things like SHA256 hashing
or AES encryption/decryption
L499[21:52:18]
<sapphicfettucine> they're fairly standard
for x86 but seem to have only been ratified for risc-v late last
year
L500[22:00:11] <dequbed> "Fairly
Standard" AES-NI is from 2008 :P
L501[22:00:39]
<sapphicfettucine> that's why i said
fairly :p
L502[22:00:57] <dequbed> That's like a
toddler in ISA terms! :P
L503[22:02:00] *
CompanionCube wonders how common non-aesni cpus are
atm
L504[22:03:21] <dequbed> All non-embedded
AMD and Intel have it IIRC. I think the only missing ones are
oddballs like Gaming consoles and such
L505[22:03:48] <Kilobyte> my first laptop
didn't have AES-NI
L506[22:04:03] <Kilobyte> i got that
around 2010-2012 i believe
L507[22:05:03]
<sapphicfettucine> seems to have been
westmere up for intel
L508[22:06:01] <Kilobyte> that one had an
AMD E-350 btw
L509[22:47:08]
<sapphicfettucine> ayy
L510[22:47:40]
<sapphicfettucine> my lil' rust
implementation of import is ~70s faster than import.lua :D
L511[22:48:52]
<Ocawesome101> nice
L512[22:49:38]
<Ocawesome101> how does `ld-linux` do
dynamic library caching? i can't find anything containing the
actual details of it on the internet
L513[22:50:48] <Kilobyte> well linux
caches all open files
L514[22:51:09] <Kilobyte> and ld memory
maps librarys
L515[22:52:05]
<Ocawesome101> sure. and how does it
maintain that list/cache across multiple executions? (does it do
that at all?)
L517[22:54:10] <Kilobyte> @Ocawesome101:
to my knowledge it doesn't need any additional caching, simply by
how memory mapping works. All loaded binaries share the same
physical memory pages anyways
L518[22:54:22] <Kilobyte> i am definitely
no expert on this topic though
L519[22:54:25]
<Ocawesome101> hm, interesting
L520[22:54:49] <Kilobyte> i'm a sysadmin,
not a kernel developer :P
L521[22:54:50]
<Ocawesome101> yeah, there's the
`MAP_SHARED` flag
L522[22:55:03]
<Ocawesome101> i think that is indeed
it
L523[22:55:04]
<Ocawesome101> thanks
L524[22:57:39]
⇨ Joins: TPG24
(~ThePiGuy2@host-92-17-122-174.as13285.net)
L525[22:59:09] ⇦
Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-122-174.as13285.net) (Ping
timeout: 192 seconds)
L526[23:15:46]
<Kristopher38> >Forecaster: real
computers don't exist, there is only OC
L527[23:15:46]
<Kristopher38> god i wish
L529[23:18:00] <Amanda> Decided to
rejigger the from_json mechanisms to be wrapped by
std::optional
L530[23:18:38] <Amanda> and none of this
required a recompile of libhlapi.so which I consider a win
L531[23:18:55] <Amanda> fancy C++ stuff
ontop of the static ABI
L532[23:23:33]
<ThePiGuy24> goddamnit pacman why you
overwrite my xterm configs
L533[23:24:10]
<ThePiGuy24> serves me right for just
modifying the system wide ones rather than user specific ones, but
goddamn you pacman
L534[23:24:15] <Corded> *
<ThePiGuy24> shakes fist
L535[23:35:56] ⇦
Quits: immibis
(~hexchat@dynamic-089-204-138-014.89.204.138.pool.telefonica.de)
(Remote host closed the connection)
L536[23:36:19]
⇨ Joins: immibis
(~hexchat@dynamic-089-204-138-014.89.204.138.pool.telefonica.de)
L537[23:59:17] ⇦
Quits: immibis
(~hexchat@dynamic-089-204-138-014.89.204.138.pool.telefonica.de)
(Remote host closed the connection)
L538[23:59:26]
⇨ Joins: caden
(~caden@c-73-11-191-191.hsd1.wa.comcast.net)
L539[23:59:31] <caden> hello