<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:18:19] ⇦
Quits: Saphire (saphire@lunar.exchange) (Ping timeout: 189
seconds)
L2[00:34:46]
<bad at
vijya> i should make a 3TB FoxFS volume for the funny
L3[00:41:22] <Amanda> Is foxfs tested for up
to petabyte scale?
L4[01:04:24]
<ThePiGuy24> alright time to continue
stabbing apache to see why its still not doing what i want despite
not having no reason not to
L5[01:11:24]
<bad at
vijya> Amanda: what's 4094*(2^48)
L6[01:11:36]
<bad at
vijya> cause that's what Tsuki supports
L7[01:13:53]
<bad at
vijya> sorry, 4096
L8[01:14:06]
<bad at
vijya> somehow hit 4 instead of 6, not sure how
L9[01:16:01] ⇨
Joins: Saphire (saphire@lunar.exchange)
L10[01:17:04]
<bad at
vijya> soooo
L11[01:17:07]
<bad at
vijya> 1 EiB
L12[01:17:10]
<bad at
vijya> [x] neat
L13[01:17:18]
<bad at
vijya> probably could go further with larger block sizes
L14[01:17:38]
<bad at
vijya> but that only scales to like
L15[01:17:39]
<bad at
vijya> 16EiB
L16[01:18:50]
<bad at
vijya> TPG24: as someone who used to use apache, it's because
apache
L17[01:33:37]
<Ariri>
inb4 at some point in the distant future someone needs to plug in a
drive larger than one EiB and foxfs can't support it so the world
ends
L18[01:33:43] ⇨
Joins: Hawk777
(~chead@2607:c000:8268:1a00:39f8:b69b:fc73:1b2e)
L19[01:35:38] <Amanda> Please, humans will
be on to qu-bits by then
L21[01:52:15] <Amanda> Izaya, *furiously
scribbling notes* it is now!
L22[02:01:05] ***
TPG24 is now known as ThePiGuy24
L24[02:05:50]
<ThePiGuy24> no escape
L25[02:06:03] <Ariri> I see
L27[02:16:39] *
Amanda tucks in around elfi, zzzmews
L28[02:16:43] <Amanda> Night nerds
L29[02:21:57]
<Spider
EveryOS> Gn
L30[02:22:03]
<Spider
EveryOS> Amanda
L32[02:24:51]
<Spider
EveryOS> Nice, I've honestly never heard of PsychOS
before
L33[02:25:04] <Izaya> that's probably for
the best
L34[02:25:08] <Izaya> it's not good for
your health
L35[02:25:58] <Saphire> For your..
PSYCHological health? ;P
L36[02:34:41] ⇦
Quits: t20kdc
(~20kdc@cpc139384-aztw33-2-0-cust220.18-1.cable.virginm.net)
(Remote host closed the connection)
L37[02:35:39]
<Vaur>
%tonkout
L38[02:35:44] <MichiBot> Yeah! Vaur! You
beat your own previous record of 3 hours, 45 minutes and 56 seconds
(By 27 minutes and 46 seconds)! I hope you're happy!
L39[02:35:45] <MichiBot> Vaur has tonked
out! Tonk has been reset! They gained 0.004 tonk points! plus 0.006
bonus points for consecutive hours! Current score: 1.30937255,
Position #1
L40[02:41:06] ⇦
Quits: SlimeDiamond (~slime@basher.zenoc.net) (Ping timeout: 189
seconds)
L41[02:41:45] ⇨
Joins: SlimeDiamond (~slime@basher.zenoc.net)
L42[02:49:30]
<coderboy14> Working on filesystems is so
confusing, lol. It always feels like one step forward, one step
back, especially because of the features I want.
L43[02:58:38] ⇦
Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-126-142.as13285.net)
(Remote host closed the connection)
L44[03:05:58]
<coderboy14> What really breaks my brain,
is virtual components (VirtualFiles, VirtualFolders, and
VirtualDisks). Since if you think of it as a graph (which I am), I
have to have two potentially conflicting nodes in the same
"place".
L45[03:12:16] <CompanionCube> Izaya: wow
the new freenode management are UTTER WANEK
L46[03:12:17] <CompanionCube>
WANKERS.
L47[03:12:31] <Izaya> what'd they do
today?
L48[03:16:51]
<Ocawesome101> Got my hands on a Latitude
D610 today
L49[03:17:02] <CompanionCube> bulk
takeover+redirect of any # channel that mentioned libera or
such
L50[03:31:07] <Izaya> oh that's
fucked
L51[03:31:25] <Izaya> there goes any
credibility the new administration had
L52[03:34:42] <CompanionCube> >implying
they had any
L53[03:41:22] ⇦
Quits: Thutmose (~Patrick@host-69-59-79-181.nctv.com) (Quit:
Leaving.)
L54[03:43:29]
<bad at
vijya> W H O A
L55[03:43:38]
<bad at
vijya> >not enough memory for buffer allocation
L57[03:44:07]
<bad at
vijya> wait what
L58[03:44:16]
<bad at
vijya> how is it not able to allocate 4096 bytes?
L60[03:45:55]
<bad at
vijya> wait is this an endian issue
L61[03:47:22]
<bad at
vijya> yes it was!
L62[04:08:20]
<bad at
vijya> sam suddenly has a dumb idea
L63[04:08:39]
<bad at
vijya> what if i gave tsuki a posix library that mirrors
luaposix
L64[04:08:51] <Izaya> that would be an
interesting idea
L65[04:08:55] <Izaya> also implement fake
luasocket
L66[04:10:24]
<Ocawesome101> This latitude seems like it
could be a good OC machine
L67[04:10:59]
<Ocawesome101> Pentium M 760, 1GB of RAM,
awesome keyboard
L68[04:11:23] ⇦
Quits: max (~m@irc.everythingisawesome.us) (Ping timeout: 204
seconds)
L69[04:11:49]
<bad at
vijya> Izaya: of course, and fake LFS
L70[04:12:30]
<bad at
vijya> honestly, if i implement a fake luaposix, i can use it to
build everything else
L71[04:12:30]
<bad at
vijya> heh
L72[04:12:56] <Izaya> hmhm
L73[04:13:08] <Izaya> mtar only natively
supports files in an archive up to 64k
L74[04:13:34]
<Kleadron>
use zip
L76[04:13:43]
<Kleadron>
why not
L77[04:13:57] <Izaya> well, ignoring that I
don't want to implement it, it doesn't do inter-file
compression
L78[04:14:20]
<Kleadron>
"inter-file compression"?
L79[04:14:31] <Izaya> if you zip two
identical files
L80[04:14:40] <Izaya> you'll have two
identical copies of the data
L81[04:14:41]
<Kleadron>
oh
L82[04:14:50] <Izaya> compressed data, but
twice
L83[04:15:06]
<Kleadron>
that sounds stupid
L84[04:15:12]
<Kleadron>
just do a second pass :)
L85[04:15:25] <Izaya> tar-style
"archive then compress" is much better for that, but
slower to access
L86[04:15:37] <Izaya> the real solutions
are implemented in stuff like squashfs and 7z, but those are
complicated
L87[04:15:50] <Izaya> anyway
L88[04:16:14]
<bad at
vijya> tsar is fun if you need larger than 64k
L89[04:16:25]
<bad at
vijya> and if you need larger than uhhhh
L91[04:16:34]
<bad at
vijya> 2^48-1 bytes
L92[04:16:41]
<bad at
vijya> then just use cpio64 ez
L93[04:16:44] <Izaya> if I change two
characters in my mtar library, as if by magic, it can support files
up to 16M or 4GB or 1TB
L94[04:17:05] <Izaya> but also it doesn't
have any signature stuff for that
L95[04:17:44] <Izaya> maybe I'll add a
header
L96[04:17:44]
<bad at
vijya> pls no compatibility break
L97[04:18:17]
<bad at
vijya> i will love you if you add a header
L98[04:18:24] <Izaya> so I want a
header
L99[04:18:34]
<bad at
vijya> the easy thing would just be like
L100[04:18:39] <Izaya> but I don't want to
change the fact that a single file with a filename and a length is
a valid mtar file
L101[04:18:47]
<bad at
vijya> oh
L102[04:18:47]
<Kleadron>
"oh no, don't break the compatibility!"
L103[04:18:48]
<Kleadron>
stfu
L104[04:18:48]
<bad at
vijya> h,
L105[04:18:51]
<bad at
vijya> *hm
L106[04:18:52] <Izaya> so
L107[04:18:57] <Izaya> what I'm thinking
is
L108[04:19:02]
<bad at
vijya> wait
L109[04:19:14]
<bad at
vijya> zero length name file
L110[04:19:21]
<bad at
vijya> and uhh
L111[04:19:22] <Izaya> that's how it
detects the end of a file
L112[04:19:26]
<bad at
vijya> oh fuck
L113[04:19:30] <Izaya> BUT
L114[04:19:30]
<bad at
vijya> uh
L115[04:19:35] <Izaya> so what I'm
thinking is right
L116[04:20:00] <Izaya> if the first byte
of the filename length is 255
L117[04:20:04] <Izaya> (aka RUN
AWAY)
L118[04:20:17] <Izaya> the next byte is
the variant
L119[04:20:23]
<bad at
vijya> oh
L120[04:20:28] <Izaya> this means you can
only have 32K byte filenames
L121[04:20:38] <Izaya> but I think that's
acceptable
L122[04:20:45]
<bad at
vijya> huh
L123[04:20:50]
<bad at
vijya> neat
L124[04:21:21] <Izaya> anyway, if it is
2554
L125[04:21:24] <Izaya> s/4//
L126[04:21:25] <MichiBot> <Izaya>
anyway, if it is 255
L127[04:21:36] <Izaya> check the next byte
for a variant number then parse depending on that
L128[04:22:13] <Izaya> alternatively I
could say fuck it, if it's 255, parse normally except the file
length is 64 bits
L129[04:22:14]
<bad at
vijya> i wonder if i ever put up a spec for tsar
L130[04:22:17]
<bad at
vijya> or if it's just
L131[04:22:22]
<coderboy14> By any chance, is it possible
to allow `debug.setmetatable` through config or anything?
L132[04:22:26]
<bad at
vijya> "lmao look how i implemented it in zorya"
L133[04:26:31] <Izaya> bad_at_vijya: do
you think I should do variants or just a "super bigge file
section if 255" thing
L134[04:26:45] <Izaya> variants imply some
significantly more complicated parsing
L135[04:27:55]
<bad at
vijya> do versioning
L136[04:28:01]
<bad at
vijya> you may never have to go above version 1
L137[04:28:03]
<bad at
vijya> but just in case
L138[04:28:07] <Izaya> hmmm
L139[04:28:12] <Izaya> you're probably
right
L140[04:28:25]
<bad at
vijya> i've learned that versioning is good
L141[04:28:36] <Izaya> after a few years I
can drop the old variant parsing
L142[04:30:04]
<bad at
vijya> p much
L143[04:30:30] <Izaya> alternatively
L144[04:30:35] <Izaya> is mtar actually
used anywhere?
L145[04:30:38] <Izaya> besides
PsychOS?
L146[04:32:18]
<bad at
vijya> i thiiiink zorya has an implementation but i think it's
psychos related, other than that, well
L147[04:32:23]
<bad at
vijya> i don't check other people's projects
L148[04:32:26]
<bad at
vijya> @Ocawesome101
L149[04:32:29]
<bad at
vijya> hey do you use mtar
L150[04:32:33] <Izaya> fair
L151[04:33:09] <Izaya> "first
byte" got me worried about endianness
L152[04:33:27] <Izaya> so what if I just
make it "if the file length is 65535 use the new parser
L153[04:33:47] <Izaya> s/file length/file
name length/
L154[04:33:47] <MichiBot> <Izaya> so
what if I just make it "if the file name length is 65535 use
the new parser
L155[04:33:51] <Izaya> s/$/"/
L156[04:33:52] <MichiBot> <Izaya> so
what if I just make it "if the file name length is 65535 use
the new parser"
L157[04:34:01]
<Saghetti>
a
L158[04:34:11]
<Saghetti>
wow discord substitution sucks
L159[04:34:13]
<bad at
vijya> Izaya: That sounds good
L160[04:34:51] <Izaya> also I'm gonna test
liblz16 and libmtar with string.pack on x86
L161[04:34:54] <Izaya> it should be
fine
L162[04:36:13]
<bad at
vijya> remember that you can specify endian
L163[04:36:13] <Izaya> modified them
in-situ on my eMac
L164[04:36:21]
<bad at
vijya> `<` and `>`
L165[04:36:22] <Izaya> yup, that's why I'm
switching to it
L166[04:36:53] <Izaya> liblz16 will be
staying with 16-bit chunk lengths though
L167[04:37:00] <Izaya> given so far I've
mostly used it with 2KB chunks
L168[04:39:19] <Izaya> hmm, I know I wrote
an mtar util, wonder where it ended up
L169[04:39:52] <Izaya> even had liblz16
support
L170[04:39:53] <Izaya> nice
L171[04:40:41] <Izaya> (found it, was in
my ocvm dir)
L173[04:43:20]
<bad at
vijya> heh
L174[04:43:28]
<bad at
vijya> i should make a tsar util
L175[04:43:36]
<bad at
vijya> it'd be more like cpio though
L176[04:44:45]
<bad at
vijya> ooor, i could make lcpio
L177[04:44:48]
<bad at
vijya> like, for real this time
L179[04:45:49] <Izaya> the utility is
significantly larger than the library
L180[04:46:01] <Izaya> side note I love
the mtar library
L181[04:46:09] <Izaya> it only has two
functions
L182[04:46:54]
<bad at
vijya> is there a liblz16 util
L183[04:47:03] <Izaya> not yet
L184[04:47:05] <Izaya> soonTM
L185[04:47:14] <Izaya> one you give a
stream and it gives you an iterator over the files in the archive,
and another to format a header
L186[04:47:22]
<bad at
vijya> so i can just do `find . | tsar -o | lz16 >
test.tsar.lz16`
L188[04:50:44]
⇨ Joins: bad_at_vijya
(~sam@pool-70-16-239-151.rcmdva.fios.verizon.net)
L189[04:50:51] <bad_at_vijya> man, i might
change my name again
L190[04:51:02] <bad_at_vijya> in fact, i
think i will
L191[04:51:05] ⇦
Quits: bad_at_vijya
(~sam@pool-70-16-239-151.rcmdva.fios.verizon.net) (Client
Quit)
L192[04:51:44]
⇨ Joins: s_a_m
(~sam@pool-70-16-239-151.rcmdva.fios.verizon.net)
L193[04:51:51] <s_a_m> i am now a surface
to air missile
L194[04:51:58] <Izaya> n i c e
L195[04:52:05] <Izaya> speaking of
identity and names and such
L196[04:52:14] <Izaya> steam doesn't do
transparent backgrounds
L197[04:52:16] <Izaya> so
L198[04:52:21] <s_a_m> oof
L200[04:53:28] <s_a_m> oh dear god i have
over a GiB of packages to download
L201[04:53:29] <s_a_m> pain
L202[04:53:39] <Elfi> Xenia is cuter
L203[04:54:26] <s_a_m> this new avatar is
a sparc moment
L205[04:59:24] <CompanionCube> yeo
L206[04:59:31] <CompanionCube> that's
them
L207[04:59:33] <s_a_m> freenode is
dead
L208[04:59:54] <Izaya> channels mentioning
OFTC seem to be safe for now
L209[05:00:24] <s_a_m> [Day changed to 26
May 2021]
L210[05:00:29] <s_a_m> thanks irssi
L211[05:00:30] <CompanionCube> Izaya: even
+s channels got it.
L212[05:03:03] <s_a_m> hmm
L213[05:03:10] <s_a_m> what other easy
stuff can i add to luna
L214[05:03:33] <s_a_m> i guess there's
webm support
L215[05:05:24] <s_a_m> vichan api support
is gonna be a little bit of a pia >->
L216[05:06:40] <s_a_m> purely because i
decided to store thread IDs as hex strings
L217[05:08:40] ⇦
Quits: Izaya (~izaya@210.1.218.92) (Ping timeout: 198
seconds)
L218[05:10:53] <s_a_m> izaya died
again
L219[05:14:03]
<Vaur>
%tonk
L220[05:14:05] <MichiBot> Yay! Vaur! You
beat your own previous record of <0 (By 2 hours, 38 minutes and
21 seconds)! I hope you're happy!
L221[05:14:06] <MichiBot> Vaur's new
record is 2 hours, 38 minutes and 21 seconds! No points gained for
stealing from yourself. (Lost out on 0.00264)
L222[05:15:36] <Vaur> CompanionCube: lol,
someone got upset xD
L223[05:16:10] <CompanionCube> rip
izzya
L224[05:17:22] <CompanionCube> Vaur: the
arrogance of them never ceases to annoy.
L225[05:35:21]
⇨ Joins: Izaya (~izaya@210.1.218.92)
L226[05:35:59] <s_a_m> wait
L227[05:36:04] <s_a_m> i don't remember
which was faster
L228[05:36:33]
⇨ Joins: maxpowa (~m@irc.everythingisawesome.us)
L229[05:37:02] <s_a_m> `for i, val in
ipairs(tbl) do` or `for i=1, #tbl do local val = tbl[i]`
L230[05:39:28] <s_a_m> looks like the
second
L231[05:42:36]
⇨ Joins: phroa` (phroa@anarchy.esper.net)
L232[05:46:27] ⇦
Quits: phroa (~phroa@173.254.236.155) (Quit: r`heaven)
L233[05:46:45] ***
phroa` is now known as phroa
L234[05:54:55] ⇦
Quits: Izaya (~izaya@210.1.218.92) (Ping timeout: 189
seconds)
L235[05:58:06]
⇨ Joins: Izaya (~izaya@210.1.218.92)
L236[05:59:05] <Izaya> internet is having
a bad time
L237[05:59:32] <Izaya> s_a_m: is there an
LZSS lib I should link to from oppm rather than slapping the file
in the minitel repo
L238[06:03:12] <Izaya> I need to get like,
a green LED
L239[06:03:20] <Izaya> something that goes
out when I can't ping various sites
L240[06:11:09] <Izaya> oh, that's
cute
L241[06:11:31] <Izaya> mtar seemed to
freeze when listing big files until I clicked on the screen a
lot
L242[06:11:40] <Izaya> turns out that
coroutine.yield() on OpenOS waits for an event
L243[06:14:09] <Izaya> s_a_m: I'm going to
allow version 0 mtar archives with version 1 headers
L244[06:20:44]
<tShaw> So
question: In OpenComputers we have the Data Card, which is able to
perform various cryptographic function, specifically: generating a
diffie-hellman keypair, generating a diffie-hellman shared key, and
a function for performing ecdsa. The question is: when performing a
handshake (i.e., exchanging cryptographic public diffie-hellman
keys) does the client typically use the ecdsa algorithm to protect
their key, or would it be fine if the se
L245[06:20:44]
<tShaw>
only has that functionality? In words, does the client need to
protect their public key, or just the server?
L246[06:20:56]
<tShaw> So
question: In OpenComputers we have the Data Card, which is able to
perform various cryptographic functions, specifically: generating a
diffie-hellman keypair, generating a diffie-hellman shared key, and
a function for performing ecdsa. The question is: when performing a
handshake (i.e., exchanging cryptographic public diffie-hellman
keys) does the client typically use the ecdsa algorithm to protect
their key, or would it be fine if the s
L247[06:20:56]
<tShaw>
only has that functionality? In words, does the client need to
protect their public key, or just the server? [Edited]
L248[06:23:17] <Izaya> s_a_m: additional
cursed-ness, you can specify your own sizes by adding a
mtar.versions[int] = {nlf = "format", flf =
"format"}
L249[06:28:06] <Izaya> can anyone think of
a nicer way to do this than
L250[06:28:11] <s_a_m> cursed as fuck but
fair enough
L251[06:28:22] <Izaya> if os.sleep then
os.sleep() else coroutine.yield() end?
L252[06:28:45] <Izaya> I tried if os.sleep
and os.sleep() or coroutine.yield()
L253[06:29:04] <s_a_m> if you just want to
like
L254[06:29:05] <Izaya> but os.sleep
doesn't actually return anything so it does both
L255[06:29:06] <s_a_m> yield
L256[06:29:09] <Izaya> yeah
L257[06:29:11] <s_a_m> but not pause
L258[06:29:19] <Izaya> but yielding on
OpenOS blocks until you get an event
L259[06:29:23] <s_a_m> you want
corotuine.yield(0)
L260[06:29:28] <Izaya> no dice
L261[06:29:29] <s_a_m> coroutine,
rather
L262[06:29:30] <s_a_m> wh-what
L263[06:29:35] <Izaya> I tried that
L264[06:29:36] <s_a_m> try
0.0000000000001
L265[06:29:52] <s_a_m> if that doesn't
work, that's an OpenOS moment
L266[06:30:13] <Izaya> OpenOS moment
L267[06:30:18]
<Saghetti>
>bit_flip: So question: In OpenComputers we have the…
L268[06:30:18] <s_a_m> weird.jpeg
L270[06:30:19] <MichiBot>
Secret Key
Exchange (Diffie-Hellman) - Computerphile | length:
8m
40s | Likes:
14,100 Dislikes:
208 Views:
545,941 | by
Computerphile | Published On 15/12/2017
L271[06:30:23]
<Saghetti>
it does a great job of visualizing
L272[06:30:46] <s_a_m> i've honestly
forgotten how Zorya's scheduler worked
L273[06:30:50]
<tShaw>
nice, already got it up
L275[06:31:00]
<tShaw> its
a pretty good video
L276[06:31:02] <s_a_m> and i'm currently
rewriting Tsuki's scheduler again
L277[06:31:03]
<Saghetti>
and afaik both the client and server have their own private keys
that need to be protected
L278[06:31:09] <s_a_m> so it can support
io wait states and whatnot
L279[06:31:15] <s_a_m> for any async
i/o
L280[06:31:22]
<Saghetti>
there wouldn't be any other way to have bi-directional
communication
L281[06:31:26] <Izaya> well, on the
upside, if os.sleep then os.sleep(0) else coroutine.yield() end
does work
L282[06:31:37]
<Saghetti>
unless i'm understanding this incorrectly
L283[06:32:15] <s_a_m> i, once again, have
crazy stuff in store for tsuki
L284[06:32:24] <s_a_m> but this time i
have a much easier to manage filesystem
L285[06:32:43] <s_a_m> i'll use foxfs on
LuPPC when drive support is added :P
L286[06:33:04] <s_a_m> Izaya: or can i
open block devices?
L287[06:33:10] <Izaya> you got any docs on
talking to block devices from C or Lua?
L288[06:33:19] <Izaya> if I can just talk
to them from Lua that would make adding support easy tbh
L289[06:33:25] <s_a_m> uhhh
L290[06:33:34] <Izaya> because part of the
lua environment can open anything in the filesystem
L291[06:33:35] <s_a_m> could just fopen
them :P
L292[06:34:22] <Izaya> if I io.open() a
block device what happens
L293[06:34:26] <Izaya> does my computer
explode
L294[06:34:32] <s_a_m> no
L295[06:34:40] <s_a_m> but iirc you wanna
open them as r+
L296[06:35:20] <s_a_m> also
posix.fcntl.open can be used to open them with O_DSYNC
L297[06:35:30] <Izaya> I do not have
luaposix
L298[06:35:44] <s_a_m> or, well, fcntl's
`open`
L299[06:36:26] <Izaya> I'll poke at it
later
L300[06:36:29] <s_a_m> yea
L301[06:36:32] <Izaya> I'll have to make a
partition for it
L302[06:36:36] <Izaya> first, mtar
L303[06:36:38] <s_a_m> heh
L304[06:36:41] <s_a_m> m t a r
L305[06:38:13] <s_a_m> i'm not actually
working on tsuki yet:tm:, i got distracted and decided to write a
lua version of icecrypt
L306[06:39:31]
⇨ Joins: Vexatos
(~Vexatos@port-92-192-63-219.dynamic.as20676.net)
L307[06:39:32]
zsh sets mode: +v on Vexatos
L308[06:40:30] ⇦
Quits: Hawk777 (~chead@2607:c000:8268:1a00:39f8:b69b:fc73:1b2e)
(Quit: Leaving.)
L309[06:58:19] <Izaya> > read returns
nil for no apparent reason
L310[06:58:21] <Izaya> c-cool
L311[06:59:04] <Izaya> it's not like I'm
at the end of the file yet
L312[06:59:08] <Izaya> I haven't even read
the start
L313[07:02:43] <Izaya> okay it's just that
I'm dumb
L314[07:02:45] <Izaya> that's cool
L315[07:05:30] <Izaya> ayy it works
L316[07:05:32] <Izaya> :D
L317[07:05:39] <Izaya> packsize is
magic
L318[07:06:19] <Izaya> :q
L320[07:13:00] <s_a_m> SO
L321[07:13:02] <s_a_m> AS IT TURNS
OUT
L322[07:13:13] <s_a_m> MY ICEKEY
IMPLEMENTATION HAS A PROBLEM
L323[07:13:46] <s_a_m> but seeing as it's
reversable means it's probably like
L324[07:13:47] <s_a_m> one place
L325[07:27:57] <s_a_m> Izaya: also, i see
you're using a sane number of bytes
L326[07:27:58] <s_a_m> unlike me
L327[07:28:13] <Izaya> s_a_m: watch
this
L328[07:28:14] <s_a_m> "look, all i
need is 48-bits"
L329[07:28:36] *
Izaya implements a version 2 with 48 bits and has the computer
switch between formats for records for each file depending on
size
L330[07:28:41] <Izaya> oh yeah that's
something I'm doing now
L331[07:28:51] <s_a_m> oh god
L332[07:29:03] <Izaya> writing version 0
headers for files under 64K and version 1 headers for files over
64K
L333[07:29:19] <Izaya> it saves 4 bytes
per sub-64K file
L334[07:29:35] <Izaya> (this is a joke,
please don't do this)
L335[07:29:43] <s_a_m> lmao
L336[07:30:06] <s_a_m> ya know, i didn't
version tsar
L337[07:30:21] <s_a_m> but, by the time a
new version of tsar becomes needed
L338[07:30:23] <s_a_m> well, uh
L339[07:30:25] <s_a_m> i'll be long
gone
L340[07:30:54] <s_a_m> Y10k :^)
L341[07:32:19] <s_a_m> or whenever we
start hitting PiB of data
L342[07:32:40] <s_a_m> which would
probably be sooner
L343[07:32:59] <s_a_m> but since i don't
really need tsar outside of the context of OC or other resource
limited contexts
L344[07:33:08] <s_a_m> it's w/e
L345[07:33:49] <s_a_m> anyways
L346[07:34:10] <s_a_m> i can't figure out
why my lua icekey implementation gives different outputs from the c
library
L347[07:34:13] <s_a_m> fear
L348[07:34:34] <Izaya> also added a
--csize option to the mtar util
L349[07:34:52] <Izaya> so you can specify
your compressed block size
L350[07:35:06] <Izaya> or rather, your
uncompressed block size to feed into the compression function
L351[07:35:43] <s_a_m> oh wait
L352[07:36:00] <s_a_m> i might have found
the reason in ice_key_set
L353[07:37:22] <s_a_m> well that didn't
change the output at all
L354[07:37:22] <s_a_m> wtf
L355[07:39:03]
<bad at
vijya> OH
L356[07:39:44] <s_a_m> okay what the
fuck
L357[07:40:52] <s_a_m> alright, finally
had a change in the output
L358[07:43:43]
⇨ Joins: ThePiGuy24
(~ThePiGuy2@host-92-17-126-142.as13285.net)
L359[07:48:28] <s_a_m> yeah this is all in
the key building
L360[07:48:28] <s_a_m> pain
L361[07:51:21]
<Forecaster> %sip
L362[07:51:22] <MichiBot> You drink a
freezing adamantium potion (New!). Forecaster's favourite cup is
now upside down.
L363[07:53:36]
⇨ Joins: ben_mkiv
(~ben_mkiv@2001:16b8:1ecb:1f00:794f:1008:ca08:eab1)
L364[07:57:29] ⇦
Quits: SlimeDiamond (~slime@basher.zenoc.net) (Ping timeout: 204
seconds)
L365[07:58:03]
⇨ Joins: SlimeDiamond (~slime@basher.zenoc.net)
L366[07:58:59]
⇨ Joins: flappy
(~flappy@88-113-152-7.elisa-laajakaista.fi)
L368[08:07:37] <MichiBot>
What If Your
Arm Falls Off Right After a Vaccine? | length:
3m 33s |
Likes:
6,844 Dislikes:
262 Views:
96,451 | by
SciShow |
Published On 25/5/2021
L369[08:07:41]
<Forecaster> good to know
L370[08:10:45] <s_a_m> i sense that all of
my errors are off by one errors
L371[08:10:51] <s_a_m> since i'm porting
straight from c
L372[08:11:05] <s_a_m> well, trying to
modify for lua
L373[08:13:48] <s_a_m> so i'll try the
java version and see if i can get it lmao
L374[08:15:23] <Izaya> s_a_m: you never
answered my question about whether you have a release of lzss.lua
somewhere
L375[08:16:54]
⇨ Joins: Nicp
(webchat@HSI-KBW-046-005-241-189.hsi8.kabel-badenwuerttemberg.de)
L376[08:17:08] ⇦
Quits: Nicp
(webchat@HSI-KBW-046-005-241-189.hsi8.kabel-badenwuerttemberg.de)
(Client Quit)
L377[08:17:16]
⇨ Joins: Nico
(webchat@HSI-KBW-046-005-241-189.hsi8.kabel-badenwuerttemberg.de)
L378[08:21:00] <s_a_m> oh, not in any
public repos, i don't think
L379[08:21:04] <s_a_m> Izaya:
L380[08:21:11] <Izaya> okey
L381[08:21:15] <Izaya> I'll publish my
copy then
L382[08:21:53] <s_a_m> cool
L383[08:22:44] <Izaya> is
"liblzss" a suitable package name? it'll still be called
lzss.lua
L385[08:36:40]
<Kleadron>
I am going insane
L386[08:45:24] <s_a_m> Izaya: sounds
good
L387[08:45:45] <s_a_m> also MY OTHER
ICEKEY LIBRARY I WROTE, BASED OFF THE JAVA ONE, GIVES YET A
DIFFERENT OUTPUT
L388[08:45:50] <s_a_m> GAH FUCKING
AAAAAAAAAA
L389[08:46:05] <Izaya> :D
L390[08:46:18] <s_a_m> and once again, it
reverses perfectly fine
L391[08:46:21] <s_a_m> >->
L392[08:52:35] ⇦
Quits: SlimeDiamond (~slime@basher.zenoc.net) (Ping timeout: 204
seconds)
L394[08:54:14]
<bad at
vijya> what the fuck, it's still different
L395[08:54:29]
<bad at
vijya> my head hurts
L396[08:54:38]
<bad at
vijya> and the fact it's reversible hurts it even more
L397[08:54:40]
<bad at
vijya> fuck this
L398[08:54:43]
⇨ Joins: SlimeDiamond (~slime@basher.zenoc.net)
L399[08:54:43]
<bad at
vijya> i'm making some easy
L400[08:54:44]
<bad at
vijya> comfy
L401[08:54:48]
<bad at
vijya> a tsar util
L402[08:55:01]
<bad at
vijya> no more complex math, only comfy archiving
L403[08:55:06] <Izaya> famous last
words
L404[08:55:45]
<bad at
vijya> jokes on you, i made sure tsar was dumb as rocks
myself
L405[08:55:58]
<bad at
vijya> i mean, it's a bit more advanced but
L406[08:56:01]
<bad at
vijya> not much
L407[08:56:06] <Izaya> I made mtar as dumb
as me and I still spent 4 hours fighting it
L408[08:56:11]
<bad at
vijya> "haha, funny numbers go brrr"
L409[09:15:06]
<bad at
vijya> i'm not even gonna make like
L410[09:15:12]
<bad at
vijya> a good tsar util yet
L411[09:23:47]
<bad at
vijya> wow
L412[09:23:50]
<bad at
vijya> it didn't throw an error
L413[09:23:51]
<bad at
vijya> wacky
L414[09:25:59] ⇦
Parts: Izaya (~izaya@210.1.218.92) (Disconnected: Received
SIGTERM))
L415[09:26:03]
⇨ Joins: Izaya (~izaya@210.1.218.92)
L416[09:34:51]
<coderboy14> My kernel is finally
bootable! No crashes ..... yet.
L417[09:36:11]
<bad at
vijya> cool
L418[09:36:14]
<bad at
vijya> my tsar util works
L419[09:36:18]
<bad at
vijya> Izaya: did it
L420[09:36:40]
<bad at
vijya> 3.7k
L421[09:37:09]
<bad at
vijya> it doesn't detect endian, it doesn't actually preserve
any file values
L422[09:37:16]
<bad at
vijya> but it makes and extracts and lists
L424[09:37:55]
<coderboy14> Interesting. I've seen a
couple archive libraries, which I was looking at for setting up my
initramfs file, but it was too much trouble in the initial
stages.
L425[09:38:12]
<bad at
vijya> anyways, i'm going to bed with this small win
L426[09:39:35]
<bad at
vijya> i'll make it better tomorrow
L427[09:39:47]
<bad at
vijya> hook luaposix and whatnot to it
L428[10:00:22] <Izaya> coderboy14: you
left logs in your git repo
L429[10:11:45] ⇦
Quits: flappy (~flappy@88-113-152-7.elisa-laajakaista.fi) (Ping
timeout: 204 seconds)
L431[10:54:41]
⇨ Joins: t20kdc
(~20kdc@cpc139384-aztw33-2-0-cust220.18-1.cable.virginm.net)
L432[10:55:46] ⇦
Quits: SlimeDiamond (~slime@basher.zenoc.net) (Ping timeout: 189
seconds)
L433[11:05:51] <MichiBot> Amanda REMINDER:
remove weechat systemd service, unless heisen kicked us and burned
our house in the mean time
L434[11:06:14]
⇨ Joins: SlimeDiamond (~slime@basher.zenoc.net)
L435[11:09:28]
⇨ Joins: TPG24
(~ThePiGuy2@host-92-17-126-142.as13285.net)
L436[11:11:17] ⇦
Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-126-142.as13285.net) (Ping
timeout: 204 seconds)
L438[11:19:08]
⇨ Joins: flappy
(~flappy@88-113-152-7.elisa-laajakaista.fi)
L439[11:27:33] ⇦
Quits: Nico
(webchat@HSI-KBW-046-005-241-189.hsi8.kabel-badenwuerttemberg.de)
(Quit: webchat.esper.net)
L440[11:29:05]
<Vaur>
%tonkout
L441[11:29:06] <MichiBot> Swell! Vaur!
You beat your own previous record of 2 hours, 38 minutes and 21
seconds (By 3 hours, 36 minutes and 39 seconds)! I hope you're
happy!
L442[11:29:07] <MichiBot> Vaur has tonked
out! Tonk has been reset! They gained 0.006 tonk points! plus 0.01
bonus points for consecutive hours! Current score: 1.32537255,
Position #1
L443[11:43:29] ⇦
Quits: Away_21 (crystal@bronyville.me) (Ping timeout: 189
seconds)
L444[11:43:37] ⇦
Quits: Crystal|AFK (crystal@eris.the.sexiest.cat) (Ping timeout:
189 seconds)
L445[11:57:12]
<Ocawesome101> @bad at vijya no I don’t
but now that you mention it I might
L446[11:58:45] <Izaya> there's a
wonderfully convenient library
L447[12:16:17]
⇨ Joins: Nicolas1296
(~nicolas12@185.116.156.165)
L448[12:18:17] <Nicolas1296> Hello!
L449[12:18:44] <Vampyre> hi
L450[12:22:21] ⇦
Quits: Nicolas1296 (~nicolas12@185.116.156.165) (Quit:
Nicolas1296)
L451[12:26:25] <Vampyre> bye
L452[12:41:55] ⇦
Quits: flappy (~flappy@88-113-152-7.elisa-laajakaista.fi) (Ping
timeout: 189 seconds)
L453[12:53:53] ⇦
Quits: kinkinkijkin (sid476447@id-476447.tinside.irccloud.com)
(Ping timeout: 189 seconds)
L454[12:53:56]
⇨ Joins: kinkinkijkin
(sid476447@id-476447.tinside.irccloud.com)
L455[12:58:55]
<Forecaster> %tonk
L456[12:58:56] <MichiBot> Consarn it!
Forecaster! You beat Vaur's previous record of <0 (By 1 hour,
29 minutes and 49 seconds)! I hope you're happy!
L457[12:58:57] <MichiBot> Forecaster's new
record is 1 hour, 29 minutes and 49 seconds! Forecaster also gained
0.0015 tonk points for stealing the tonk. Position #3. Need
0.1581203 more points to pass CompanionCube!
L458[13:16:02]
⇨ Joins: Thutmose
(~Patrick@host-69-59-79-181.nctv.com)
L459[13:22:06]
⇨ Joins: Crystal|AFK
(crystal@eris.the.sexiest.cat)
L460[13:24:36]
⇨ Joins: Away_21 (crystal@bronyville.me)
L461[13:50:15] ⇦
Quits: ben_mkiv (~ben_mkiv@2001:16b8:1ecb:1f00:794f:1008:ca08:eab1)
(Killed (NickServ (GHOST command used by
ben_mkiv|afk!~ben_mkiv@200116b8143fde00909b18c1e04a8fe3.dip.versatel-1u1.de)))
L462[13:50:18]
⇨ Joins: ben_mkiv|afk
(~ben_mkiv@200116b8143fde00909b18c1e04a8fe3.dip.versatel-1u1.de)
L463[13:58:08]
<Forecaster> gotta love sites that
generate a password for you and send it to you in an email
L464[14:11:07]
<Bob> hope
the protocol used to send the email is plain text
L465[14:40:35] <Amanda> %choose first;
bedding or fur
L466[14:40:36] <MichiBot> Amanda: bedding
first
L467[14:43:13] <Amanda> %remindme 90m
check the noisy spinny machine
L468[14:43:13] <MichiBot> I'll tell you
"check the noisy spinny machine" in 90m at 05/26/2021
04:13:13 PM
L469[14:45:07] ⇦
Quits: ben_mkiv|afk
(~ben_mkiv@200116b8143fde00909b18c1e04a8fe3.dip.versatel-1u1.de)
(Ping timeout: 189 seconds)
L470[15:20:05] ⇦
Quits: TPG24 (~ThePiGuy2@host-92-17-126-142.as13285.net) (Read
error: Connection reset by peer)
L471[15:20:13]
⇨ Joins: ThePiGuy24
(~ThePiGuy2@host-92-17-126-142.as13285.net)
L472[15:35:06] <Vampyre> ah yes, the short
cycle of the uranium enrichment centrifuge. the 90m program gives
you a nice glowing result
L473[15:35:37] <Izaya> washing machines
have gotten really complicated
L474[15:36:31] <Amanda> Part of me wants
to take apart various appliances in my house that have buzzers
attachedto them and replace them with internet pings, but I know
for a fact if I messed up at all, my family would be "I'm not
mad, just disappointed" about having to buy a whole new
whatever
L475[15:37:24] <Amanda> or rather, my
anxity tells me that.
L476[15:37:34] <Amanda> And that's
assuming I didn't fry myself on a high-voltage wire by
mistake
L477[15:38:47]
<Forecaster> generally you'd probably
unplug the device before disassembling it
L478[15:38:58] <Vampyre> small microphone
with velcro and a microcpu?
L479[15:39:21] <Vampyre> or hall sensor
placed on the buzzer coil
L480[15:39:39] <Vampyre> s/on/near
L481[15:39:39] <MichiBot> <Vampyre>
or hall sensor placed near the buzzer coil
L482[15:40:05] <Corded> *
<Forecaster> places a sensor near Vampyre
L483[15:40:30] <Amanda> @Forecaster well,
I know for example that microwaves have big-fucking-capaciters in
them that make them dangerous even unplugged.
L484[15:40:41] <Amanda> or was that
CRTs... or both.
L485[15:41:02] <Vampyre> only for a few
minutes
L486[15:41:06]
<Forecaster> that's true, but those are
probably not close to the bell
L487[15:41:26] <Vampyre> you can short the
ground and neutral to expedite discharging
L488[15:41:29]
<ThePiGuy24> or you just make sure to
discharge them before going further ;p
L489[15:41:47]
<ThePiGuy24> using the ol' grounded
screwdriver trick
L490[16:01:03]
<Forecaster> %sip
L491[16:01:03] <MichiBot> You drink a
fragrant röd potion (New!). Forecaster recovers some mana.
L492[16:13:14] <MichiBot> Amanda REMINDER:
check the noisy spinny machine
L493[16:21:52] <Amanda> %remindme 90m
check both the noisy spinny machines
L494[16:21:52] <MichiBot> I'll tell you
"check both the noisy spinny machines" in 90m at
05/26/2021 05:51:52 PM
L495[16:34:55]
⇨ Joins: Hawk777
(~chead@2607:c000:8268:1a00:2b59:e4fc:7de4:7c7b)
L496[16:46:14] <Amanda> %choose play with
synapse or play with nexus
L497[16:46:15] <MichiBot> Amanda: A
wizard is never late, and sometimes engages in some "play with
nexus".
L498[17:04:56]
<Vaur>
%tonk
L499[17:04:56] <MichiBot> Fopdoodle!
Vaur! You beat Forecaster's previous record of 1 hour, 29 minutes
and 49 seconds (By 2 hours, 36 minutes and 10 seconds)! I hope
you're happy!
L500[17:04:57] <MichiBot> Vaur's new
record is 4 hours and 6 minutes! Vaur also gained 0.0052 (0.0026 x
2) tonk points for stealing the tonk. Position #1.
L502[17:11:39] <Amanda> I like how they're
givig nthem the benifit of the doubt, like the MAFIAA isn't already
running fake peers to detect and tag any bittorrent download.
L503[17:12:12] <Amanda> ("mis-pasted
hash" part )
L504[17:39:54]
⇨ Joins: TPG24
(~ThePiGuy2@host-92-17-126-142.as13285.net)
L505[17:41:30] ⇦
Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-126-142.as13285.net) (Ping
timeout: 198 seconds)
L506[17:42:27] ***
TPG24 is now known as ThePiGuy24
L507[17:51:53] <MichiBot> Amanda REMINDER:
check both the noisy spinny machines
L508[17:52:49] ⇦
Quits: glasspelican (~quassel@2607:5300:201:3100::325) (Ping
timeout: 204 seconds)
L509[17:55:28] <Vampyre> next step, build
a nuclear pile with some graphite and work up to plutonium
L510[17:57:12] <Amanda> %remindme 90m
check the noisy heat-spinny machine
L511[17:57:12] <MichiBot> I'll tell you
"check the noisy heat-spinny machine" in 90m at
05/26/2021 07:27:12 PM
L512[18:01:08] <Vampyre> ah, yes, I forgot
the heat tratment to turn the fluoride into pure metal, sorry
L513[18:01:50] <Vampyre> also, I suppose
there is a folding the metals step coming up too ;-)
L514[18:02:07] <Amanda> nah, just leave
them in the output hopper for a few months
L515[18:02:23] <Vampyre> heh, that works
too
L516[18:04:13]
⇨ Joins: glasspelican
(~quassel@2607:5300:201:3100::325)
L517[18:18:10] <s_a_m> Izaya: rate
tsar
L518[18:18:26] <s_a_m> wait i don't have a
git repo for it
L519[18:21:26]
<bad at
vijya> oh well
L520[18:21:32]
<bad at
vijya> i'll make one in a bit
L521[18:21:42]
<bad at
vijya> and a PsychOS tsar util
L522[18:33:01]
⇨ Joins: Tar_Lev
(~Tar_Lev@46-138-176-3.dynamic.spd-mgts.ru)
L523[18:36:33] ⇦
Quits: Tar_Lev (~Tar_Lev@46-138-176-3.dynamic.spd-mgts.ru) (Client
Quit)
L524[18:37:17]
⇨ Joins: ben_mkiv
(~ben_mkiv@200116b8143fde00909b18c1e04a8fe3.dip.versatel-1u1.de)
L525[18:53:24]
⇨ Joins: Inari
(~Pinkishu@p4fe7ebb1.dip0.t-ipconnect.de)
L526[19:00:55]
⇨ Joins: SpecialCheater
(~SpecialCh@176-67-23-201.dynamic-pool.mclaut.net)
L527[19:02:06] ⇦
Quits: SpecialCheater
(~SpecialCh@176-67-23-201.dynamic-pool.mclaut.net) (Quit:
SpecialCheater)
L528[19:27:13] <MichiBot> Amanda REMINDER:
check the noisy heat-spinny machine
L529[19:27:51]
<deviluna>
Hello! A quick question, the goal of OC2 is having a fully
simulated processor? If so, there will be option to run other
languages beside LUA?
L530[19:27:51] <MichiBot> It's Lua, not
LUA. Name not an acronym.
L531[19:28:11]
<deviluna>
Hello! A quick question, the goal of OC2 is having a fully
simulated processor? If so, there will be option to run other
languages beside lUa? [Edited]
L532[19:32:07]
<Forecaster> This channel isn't really
about OC2, it's only realted to OC by name
L533[19:32:30]
<Forecaster> you might be better off
asking that in the repo
L534[19:35:15]
<Kristopher38> very helpful
L535[19:35:36]
<Kristopher38> @deviluna yes, you can
currently run anything that compiles to risc-v
L536[19:37:48]
<Forecaster> more helpful than ignoring
them, at least
L537[19:43:59]
<deviluna>
>Kristopher38: <@!206836921614204930> yes, you can
curre…
L538[19:43:59]
<deviluna>
Thanks! I will have to figure out a lot of new stuff then 😄
L539[19:44:19]
<Kristopher38> the mod itself is in alpha
stage though
L540[19:44:34]
<Kristopher38> but i guess it's
workable
L541[19:56:00] <Amanda> I got an OC1
emulator (barely) working in OC2 by cross-compiling it, so.
L542[19:56:15] <Amanda> seemed to hang the
OC2 vm somehow,though
L543[19:56:23] <Amanda> guessing linux
OOM'd
L544[20:15:11]
<Durex77>
guys do u know a good algo to autocraft items with oredictionary
and etc
L545[20:15:13]
<Durex77>
guys do u know a good algo to autocraft items with oredictionary
and etc& [Edited]
L546[20:15:26]
<Durex77>
guys do u know a good algo to autocraft items with ore-dictionary
and etc? [Edited]
L547[20:31:23]
<Kristopher38> SquidDev: ^
L548[20:32:20] <SquidDev> Tears and
infinite time
L549[20:33:28] <SquidDev> Once you take
account of ore-dictionary, complexity goes through the roof.
Easiest way is just to do a naive recursive descent.
L550[20:40:54]
<bad at
vijya> turns out servers are really heavy
L551[20:40:56]
<bad at
vijya> my back now hurts
L552[20:47:34]
<Durex77> I
already have naive recursive algo
L553[20:47:44]
<Durex77>
but I wanna improve my storage system
L555[21:00:19]
<Durex77>
what is it?
L556[21:04:50]
<bad at
vijya> some WD Purple i got from a DVR in a dumpster
L557[21:16:41]
<Forecaster> %sip
L558[21:16:41] <MichiBot> You drink a
rather rainbow potion (New!). After drinking the potion Forecaster
notices a label that says "Side effects may include giggle
fits and excessive monologuing."
L559[21:17:12]
<Forecaster> %tonkout
L560[21:17:12] <MichiBot> Crud!
Forecaster! You beat Vaur's previous record of 4 hours and 6
minutes (By 6 minutes and 15 seconds)! I hope you're happy!
L561[21:17:13] <MichiBot> Forecaster has
stolen the tonkout! Tonk has been reset! They gained 0.004 tonk
points! plus 0.003 bonus points for consecutive hours! (Reduced to
50% because stealing) Current score: 1.0129107. Position #3 Need
0.1496203 more points to pass CompanionCube!
L562[21:27:43] ⇦
Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-126-142.as13285.net) (Ping
timeout: 189 seconds)
L563[21:30:03]
⇨ Joins: ThePiGuy24
(~ThePiGuy2@host-92-17-126-142.as13285.net)
L564[21:34:35]
⇨ Joins: TPG24
(~ThePiGuy2@host-92-17-126-142.as13285.net)
L565[21:34:35] ⇦
Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-126-142.as13285.net) (Read
error: -0x1: UNKNOWN ERROR CODE (0001))
L566[21:48:59] ⇦
Quits: m1cr0man (~m1cr0man@gelandewagen.m1cr0man.com) (Quit:
G'luck)
L568[21:49:51]
<bad at
vijya> based
L569[21:50:07]
<Ocawesome101> Izaya: can i have a link to
the mtar library
L570[21:50:47]
⇨ Joins: m1cr0man
(~m1cr0man@gelandewagen.m1cr0man.com)
L571[21:54:12] ⇦
Quits: TPG24 (~ThePiGuy2@host-92-17-126-142.as13285.net) (Remote
host closed the connection)
L572[21:55:31]
<Ocawesome101> @coderboy14 what are you
using uncpio for?
L573[21:58:25]
<coderboy14> @Ocawesome101 I have files
for boot stored in a `cpio` archive, which I'm working on loading
on boot ... issue, the `cpio` library was built with having a
filesystem in mind, lol, so I am trying to patch it to store the
extracted contents just in a table.
L574[21:58:51]
<Ocawesome101> ah
L575[21:59:32]
<Ocawesome101> you'll also need to account
for differences in the filesystem component vs. the OpenOS
filesystem API if you haven't already
L576[22:00:45]
<coderboy14> That's what I've been using.
It doesn't use the filesystem API (except the makeDirectory method,
but I already replaced that). The library does find the first
couple entries in my archive, but then once it gets to a file, it
just spouting out gibberish to the terminal and eventually hits an
error.
L577[22:02:35]
<coderboy14> The main library I had to
override/implement was the `io` library, since that is what it uses
to open and work with the files. Since my disk is ROM, I don't
actually create a tree or anything, I'm doing it the absolute most
lazy way possible, and so even if I ignored the `makeDirectory`
command, it should still work - in theory.
L578[22:05:40] ⇦
Quits: SlimeDiamond (~slime@basher.zenoc.net) (Ping timeout: 189
seconds)
L579[22:05:41]
<coderboy14> Does working with the `io`
library or `filesystem.makeDirectory()` cause
`os.getenv("PWD")` to change in OpenOS?
L580[22:07:41] <Amanda> no?
L581[22:07:45]
⇨ Joins: SlimeDiamond (~slime@basher.zenoc.net)
L582[22:08:30] <Amanda> or well,
fs.makeDirectory no, I'm sure there's functions in both filesystem
and io to hange the directory
L583[22:08:58]
<bad at
vijya> i've used cpios in other places
L584[22:08:59]
<bad at
vijya> like uhhh
L585[22:09:01]
<bad at
vijya> zorya-neo
L586[22:09:02]
<coderboy14> I don't seen any direct calls
to change the directory, but I just wanted to cover my bases.
L587[22:09:09]
<bad at
vijya> i mean now it uses tsar for archive stuff
L588[22:09:49]
<coderboy14> I'm mostly using cpio because
it's dang simple. I'm using this library before my OS is actually
loaded - meaning no fancy filesystem apis or anything. That's why
I'm patching it.
L589[22:09:56]
<bad at
vijya> musta removed the cpio library but i have tsar
L590[22:10:00]
<bad at
vijya> same sorta thing, really
L592[22:10:32]
<coderboy14> Does it require any external
deps?
L593[22:11:02]
<bad at
vijya> shouldn't?
L594[22:11:09]
<bad at
vijya> just requires a read, seek, and close function
L595[22:11:19]
<bad at
vijya> you should be able to adapt it for CPIO
L596[22:11:57]
<coderboy14> I'm going over it now, and
yah. I can do that. I don't really care what format it is in. As
long as I can extract the contents, and supply the aforementioned
contents to my fsdisk controller.
L597[22:12:11]
<bad at
vijya> don't have a usable tsar util out i think
L598[22:12:16]
<bad at
vijya> unless the zorya utils have one
L600[22:13:23] <Amanda> Inari: You didn't
survive the IRC reboot! D:
L601[22:13:55]
<coderboy14> That'll be handy for later
stages. Right now, the bootloader only will ever need to open the
archive (`/boot/initramfs`). Thanks, I'll try and slot this into my
code.
L602[22:14:16]
<bad at
vijya> i mean the tsar creator only works on linux anyways
L603[22:14:18]
<bad at
vijya> requires lfs
L604[22:15:27] <Amanda> %choose halucinate
or veg out
L605[22:15:27] <MichiBot> Amanda: Oh no,
not "halucinate" again! I'll have "veg out"
instead.
L606[22:18:34]
<bad at
vijya> i'm wondering if i should create a set of easy to
implement libraries for more advanced bootloaders 🤔
L608[22:32:51] <Amanda> Or is it!?
L609[22:34:25]
⇨ Joins: ThePiGuy24
(~ThePiGuy2@host-92-17-126-142.as13285.net)
L610[22:38:48]
<Ocawesome101> Izaya: how do i get LuPPC
to compile
L612[22:44:16] <Izaya> did you do the
dependency script
L613[22:44:34]
<Ocawesome101> oh, no
L615[22:44:45]
<Ocawesome101> thank you
L616[22:45:09] <Izaya> I haven't updated
the docs yet so if you're going to re-implement it take a look at
the lib
L617[22:45:16] <Izaya> but you should just
be able to use the lib
L618[22:46:47]
<Ocawesome101> hmmm i have no
i486-linux-musl-gcc
L619[22:48:43] <Izaya> you can also force
x86_64, but it still expects a musl toolchain
L620[22:52:00]
<bad at
vijya> ^
L621[22:52:10]
<bad at
vijya> i need to PR some changes so i can use i686 :)
L622[22:52:22]
<Ocawesome101> musl is fine, i can spin up
an alpine vm
L623[22:52:31]
<Ocawesome101> or void
L624[22:52:43]
<Ocawesome101> actually i think i have a
void one already
L625[22:53:51] <Izaya> in the README
there's a link to a project to help set up a musl cross
compiler
L626[22:54:28]
<Ocawesome101> 👍
L628[23:01:53] ⇦
Quits: glasspelican (~quassel@2607:5300:201:3100::325) (Ping
timeout: 204 seconds)
L629[23:02:39] ⇦
Parts: simon816
(~simon816@ec2-35-178-246-72.eu-west-2.compute.amazonaws.com)
(Leaving))
L630[23:02:47]
⇨ Joins: glasspelican
(~quassel@2607:5300:201:3100::325)
L631[23:02:53]
⇨ Joins: simon816
(~simon816@ec2-35-178-246-72.eu-west-2.compute.amazonaws.com)
L632[23:04:12]
<Ocawesome101> right, now to wait for gcc
source to download
L633[23:15:39]
<ThePiGuy24> i use the gcc to compile the
gcc
L634[23:22:09]
<bad at
vijya> i love titanfall 2
L635[23:22:15]
<bad at
vijya> the sticky grenade launcher is my favorite gun
L636[23:22:22]
<bad at
vijya> i love fighting people with it mid air
L637[23:22:32]
<bad at
vijya> and just seeing when i get a hitmarker and knowing
they're DOOMED
L638[23:24:56]
<coderboy14> Yah, Lua on Windows is
annoying. I might have to go back to digging into the `CPIO`
library. Yay, lol.
L639[23:25:35]
<Ocawesome101> anything on windows is
annoying tbh
L640[23:25:40]
<Ocawesome101> except perhaps the
occasional game
L641[23:25:45]
<ThePiGuy24> windows is annoying
L642[23:26:13]
<coderboy14> I absolutely agree. But since
my game is meant for games, it has Windows, and even if I wanted,
switching between Windows and Linux would be
ugh!
L643[23:27:00] <Izaya> I do not miss DLL
hell
L644[23:27:38]
<Ariri> I’m
glad that rhymes
L645[23:27:40]
<coderboy14> Trying to get the right lua
installed was a nightmare, and so I gave up, and got the latest
.exe installer I could... but that means bitwise symbols are
invalid, lol
L646[23:28:05]
<Kristopher38> windows for games, linux
for work
L647[23:28:19] <Izaya> linux for games,
linux for work
L648[23:28:21] *
Izaya burns
L649[23:28:27] ⇦
Quits: s_a_m (~sam@pool-70-16-239-151.rcmdva.fios.verizon.net)
(Ping timeout: 198 seconds)
L651[23:28:45]
<Ariri>
about time
L652[23:28:46] <Izaya> I assume it's still
the chocolatey clone they were working on a while back, so it isn't
a real package manager, but neat
L653[23:29:10]
<Kristopher38> i'm not in the camp that
enjoys fucking with whatever linux has for running windows games
nowadays for several hours before I can finally play the game I
want to
L654[23:29:19]
<Ariri>
`winget` lol
L655[23:29:26] <Izaya> neither am I,
that's why I use linux instead of windows :^)
L656[23:29:33]
<Kristopher38> >
L657[23:29:58]
<coderboy14> Thankfully my system has
enough power that if I really need it, I just launch VirtualBox and
use both Linux AND Windows, lol
L658[23:30:01] <Izaya> can't tell if my
bridge hiding script is wonky or if you're >implying at me
L659[23:30:10]
<Ariri>
that's it
L660[23:30:12]
<Ariri>
>
L661[23:30:12]
<Kristopher38> i'm implying at you
L662[23:31:03] <Izaya> I stand by what I
imply
L663[23:31:33]
<Ariri> i
would just use a windows vm but some games auto ban on detection of
being run in a VM
L664[23:31:45]
<Ariri>
also i don't have a powerful enough computer to do it well
L665[23:31:52] <Izaya> do novideo drivers
still refuse to work if you run them in a VM?
L666[23:32:12]
<Kristopher38> this is what i'm talking
about
L667[23:32:13]
<Ocawesome101> ariri: i guess they decided
to winget
L668[23:32:15]
<Ocawesome101> (wing it)
L669[23:32:18] ⇦
Quits: Vexatos (~Vexatos@port-92-192-63-219.dynamic.as20676.net)
(Quit: Insert quantum chemistry joke here)
L670[23:32:21]
<Ariri>
haha
L671[23:32:35]
<Kristopher38> "oh these drivers
refuse to work in whatever vm you're using for some reason and now
i have to fix it to play my game"
L672[23:32:45] <Izaya> why are you running
a game in a VM
L673[23:32:54]
<Kristopher38> i'm not
L674[23:32:56] <Izaya> proton/DXVK
stronk
L675[23:33:04] <Izaya> actually I gotta
bail, work to do x_x
L676[23:33:06] <Izaya> o/
L677[23:33:31]
<Ariri>
he's running away
L678[23:33:37]
<Ariri>
close the windows
L679[23:34:13]
<coderboy14> Would somebody be able to try
and look at my `cpio` patch, if it isn't too much trouble. This is
driving me insane.
L681[23:36:32] <Vampyre> buffer is not a
table yet when you want to table.insert
L682[23:36:55] <Vampyre> local buffer,
byte = {}, nil -> local buffer = {}, byte = {}, nil
L683[23:37:40] <Vampyre> or did I forget
lua aleady..
L684[23:38:15]
<coderboy14> I'll still try changing it.
Might as well fix one of the issues - now to just stop having it
spam file contents (I don't think it is supposed to do that,
lol)
L685[23:38:49] <Hawk777> Nah, doesn’t
“local buffer, byte = {}, nil” equate to “local buffer = {}” and
“local byte = nil”?
L686[23:39:00] <Vampyre> I just scrolled
down to the first "error here" I found ;-)
L687[23:39:06] <Vampyre> dunno what you're
trying to do
L688[23:40:38]
<coderboy14> So, I'm trying to patch the
original `cpio` library (I included that too) to work without a
filesystem. I tried to add comments near the `refs` declaration.
When expanding the `cpio` archive, I don't want to write to
filesystem, I want to have all the children put into an
array.
L689[23:50:34] <Vampyre> ok, so just to
understand your thinking, why did you choose to go the long wat
around and implement things like read and seek?
L690[23:51:03] <Vampyre> I assume the
archive itself is also going to be a memory object?
L691[23:52:08] <Amanda> %choose now or
later
L692[23:52:08] <MichiBot> Amanda: I have
a pamphlet that says never to engage in "now", so you
should definitely do it!
L693[23:52:25] <Amanda> Sounds good
L694[23:52:27]
⇨ Joins: s_a_m (~sam@172.58.204.73)
L695[23:52:36]
<coderboy14> I was just writing sloppy
code, and that was the first way I thought to do it, lol. The
archive does exists on the boot disk, it is a real file. It exists
at `/boot/initramfs` and contains a root filesystem for the
kernel.
L696[23:57:59] <Vampyre> ok, I really have
a hard time following the logic choice here ;-)
L697[23:58:21] <Vampyre> doesn't the whole
original code just do an write in fwrite?
L698[23:58:52] <Vampyre> so, take that
line, and instead of io.write, dump it in an table there and you're
done?
L699[23:59:00] <Vampyre> or am I thinking
too simply here?
L700[23:59:56]
<Ocawesome101> i think that'd work
L701[23:59:59]
<coderboy14> I think(?) that's what I was
doing. That's why I emulated the `io` library. I forgot to
implement it, because I was trying to fix the other issues, but
once the `io:close()` is called and the handle is shut down, that's
when I'll commit the file to the `refs` tree.