<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:02:13] <Carlen​ White> Making a library that will let you stream a table to something. Aim is for systems with little memory and they need to transmit/save a table somehow.
L2[00:02:39] <Carlen​ White> And it'll be converting the table to binary data that will be reversed.
L3[00:07:54] <Inari|2> Amanda: but hwy D:
L4[00:08:05] <Carlen​ White> Also `stream.read(x)` will read `x` bytes, blocking if necessary.
L5[00:08:11] <Carlen​ White> Also `stream.read(x)` will read `x` bytes, blocking if necessary? [Edited]
L6[00:08:21] <Carlen​ White> Oh, does IRC report edits
L7[00:08:23] <Carlen​ White> Oh, does IRC report edits? [Edited]
L8[00:08:38] <Amanda> No it doesn't
L9[00:08:42] <Amanda> Yes it does [Edited]
L10[00:08:47] <Kristo​pher38> The most efficient memory usage by far is with strings
L11[00:08:54] <Izaya> edits are a lie anyway
L12[00:09:06] <Inari|2> I wonder...
L13[00:09:20] <Amanda> Inari|2: why not?
L14[00:09:33] <Amanda> %8ball more space soasm?
L15[00:09:33] <MichiBot> Ama​nda: Outlook not so good
L16[00:09:38] <Inari 「オ​兄デレ」「狐っ娘」> read left to right top to bottom... does it report super old message edits? [Edited]
L17[00:09:42] <Inari|2> seems it does
L18[00:09:57] <Adorabl​eCatgirl> WAIT
L19[00:09:57] <Carlen​ White> Inari|2, because serializing tables easily cause out of memory errors on low memory systems in my experience.
L20[00:10:00] <Amanda> considering it's just a new message every time
L21[00:10:01] <Adorabl​eCatgirl> DID SOMEONE SAY TABLES
L22[00:10:06] <Adorabl​eCatgirl> I HAVE A LIB
L23[00:10:08] <Inari|2> I mean
L24[00:10:08] <Adorabl​eCatgirl> TO SERALIZE TABLES
L25[00:10:14] <Kristo​pher38> My take at this would be to serialise a table into a stream of packed string (with string.pack)
L26[00:10:16] <Inari|2> I was asking Amanda why she booped me
L27[00:10:16] <Inari|2> :D
L28[00:10:19] <Adorabl​eCatgirl> https://github.com/Adorable-Catgirl/OC-Tsuki/blob/master/ksrc/blt.lua
L29[00:10:27] <Kristo​pher38> @AdorableCatgirl shameless plug :D
L30[00:10:32] <Adorabl​eCatgirl> it works last time i checked
L31[00:10:32] <Carlen​ White> @Kristopher38 That's what I'm doing.
L32[00:10:41] <Inari|2> %pet Amanda
L33[00:10:41] <MichiBot> Inari|2 is brushing Amanda with a badge. Amanda regains 1d4 => 1 hit points!
L34[00:10:57] <Kristo​pher38> Oh cool, let me know how it turns out
L35[00:10:59] <Carlen​ White> I'm converting types into binary data followed by bytes determining it's value.
L36[00:11:00] * Amanda writes down the badge number for future reference
L37[00:11:09] <Inari|2> Heh
L38[00:11:18] <Amanda> %8ball rain box time?
L39[00:11:18] <MichiBot> Ama​nda: My reply is no
L40[00:11:38] <Izaya> CompanionCube: https://www.gamingonlinux.com/articles/build-your-own-paradox-interactive-bundle-over-on-humble-and-save-monies-plus-more-sales.16150
L41[00:11:43] <Adorabl​eCatgirl> i mean
L42[00:11:46] <Adorabl​eCatgirl> that's what my lib does
L43[00:11:50] <Adorabl​eCatgirl> but it's the entire fuckin table
L44[00:11:57] <CompanionCube> Izaya: i basically already have the whole set, so...
L45[00:12:01] <Jac​kPS9> hmmmm so the adapters dont see the whole multiblock structure for EnderIO's energy banks
L46[00:12:02] <Izaya> heh
L47[00:12:19] <CompanionCube> some i got for free, some not.
L48[00:13:30] <CompanionCube> lol no DLC
L49[00:13:31] <CompanionCube> lame
L50[00:13:33] ⇨ Joins: Victor_sueca (~Victor_su@90.165.120.190)
L51[00:13:44] ⇦ Quits: Victorsueca (~Victor_su@90.165.120.190) (Ping timeout: 378 seconds)
L52[00:13:58] <Adorabl​eCatgirl> @Carlen White yea my lib still works
L53[00:14:04] <Adorabl​eCatgirl> combine with LZSS for best results
L54[00:14:17] <CompanionCube> oh right, the collections
L55[00:15:34] ⇨ Joins: Victorsueca (~Victor_su@90.165.120.190)
L56[00:15:54] <Carlen​ White> I'm doing something sneaky with bools and using the same byte that determines type to determine if the bool is true or not.
L57[00:16:05] <Carlen​ White> Simple bitwise and.
L58[00:16:13] <Carlen​ White> And masking.
L59[00:20:20] ⇦ Quits: Victor_sueca (~Victor_su@90.165.120.190) (Ping timeout: 378 seconds)
L60[00:34:03] ⇨ Joins: nate2 (webchat@c-73-101-33-204.hsd1.pa.comcast.net)
L61[00:34:20] <nate2> hai
L62[00:34:41] <nate2> was wondering if anyone here has played around with the open computers Javascript engine?
L63[00:39:46] <Kristo​pher38> everyone here writes in lua as far as know
L64[00:41:06] <Z​ef> lua is kinda nice
L65[00:46:18] <Carlen​ White> Asking myself if there will be a moment someone needs a string length of `4294967296` bytes.
L66[00:46:32] <Carlen​ White> And I'm concluding that, no.
L67[00:47:04] <The_St​argazer> mmm yeah
L68[00:47:04] <Carlen​ White> For reference thats 4 gigabytes.
L69[00:47:07] <The_St​argazer> yeahhh
L70[00:47:25] <The_St​argazer> wait
L71[00:47:27] <The_St​argazer> isn't that
L72[00:47:31] <The_St​argazer> the maximum unsigned number
L73[00:47:34] <The_St​argazer> for a 32-bit computer
L74[00:47:40] <Carlen​ White> Yep
L75[00:48:02] <Izaya> %lua (2^32)-1
L76[00:48:02] <MichiBot> 4294967295
L77[00:48:36] ⇦ Quits: Inari|2 (~Pinkishu@pD9E39288.dip0.t-ipconnect.de) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
L78[00:51:24] <Adorabl​eCatgirl> i mean
L79[00:51:46] <Adorabl​eCatgirl> my table serialization lib will make numbers take up as little space as possible
L80[00:53:06] <Carlen​ White> I'm using `string.pack("n", num)`. Plus the goal is mostly to use as little memory as possible.
L81[00:53:39] <nate2> idk, just wondering
L82[00:54:09] <The_St​argazer> oh is THAT why 32-bit CPUs can only address 4GB of RAM
L83[00:54:14] <The_St​argazer> i always wondered that
L84[00:54:21] <nate2> personally I like javascript, and was contemplating trying out the addon for it. I like the idea of using a real server and client combo haha
L85[00:54:40] <The_St​argazer> you can do that
L86[00:54:41] <The_St​argazer> with lua
L87[00:54:42] <Izaya> did you know most 32-bit processors made after 2000 or so can address more than 4GB of RAM?
L88[00:54:43] <nate2> maybe even finding a way to have a web server in game, and be able to control a contraption using a website out of game
L89[00:54:49] <The_St​argazer> wait, really?
L90[00:55:00] <The_St​argazer> is that why /proc/cpuinfo displays some as 40-bit or 48-bit
L91[00:55:14] <The_St​argazer> nate2: you can do that with lua
L92[00:55:15] <Izaya> https://en.wikipedia.org/wiki/Physical_Address_Extension
L93[00:55:26] <Izaya> > PAE was first implemented in the Intel Pentium Pro in 1995
L94[00:55:28] <The_St​argazer> oh thats what that is
L95[00:55:35] <Adorabl​eCatgirl> oh yeah
L96[00:55:59] <The_St​argazer> ok so answer me this
L97[00:56:03] <nate2> yeah, but I spent like 20 years using lua in stuff. :\ I've grown out of it as sad as I am to admit lol... GMOD was my main for the longest time
L98[00:56:04] <The_St​argazer> what is the point of 40-bit and 48-bit
L99[00:56:11] <The_St​argazer> ohh
L100[00:56:19] <The_St​argazer> big F
L101[00:56:30] <Kristo​pher38> tho your OS would need to support that
L102[00:56:49] <Kristo​pher38> I was thinking why 32-bit windows didn't support more than 4 gigs
L103[00:57:00] <Izaya> XP and XP SP1 did
L104[00:57:08] <Izaya> but because legacy is god, they removed PAE support in SP2
L105[00:57:18] <Kristo​pher38> oof
L106[00:57:25] <nate2> most systems could handle it, it's just the overhead of the profiler right?
L107[00:58:22] <The_St​argazer> thanks chromeos
L108[00:58:22] <The_St​argazer> when i plug my headphones back in you assault my ears by setting the volume to 100%
L109[00:59:14] <CompanionCube> fun fact: i think most '64-bit' CPUs are not physically 64-bit
L110[01:00:19] <Kristo​pher38> In what sense?
L111[01:00:41] <Izaya> %lua (2^48)/1024/1024/1024
L112[01:00:42] <MichiBot> 262144
L113[01:01:12] <CompanionCube> in that since we didn't and still don't need *all* 64 bits, the CPU only support 48 (or more recently 52) bits
L114[01:01:29] <Kristo​pher38> Yes they can add larger numbers and whatnot than 64 bits in hardware
L115[01:01:41] <Kristo​pher38> Oh, you mean the address lines
L116[01:01:49] <Kristo​pher38> Interesting
L117[01:02:07] <CompanionCube> actually i think the more recent ones is 57, not 52...
L118[01:02:27] <CompanionCube> here's an example from my fx8350: address sizes : 48 bits physical, 48 bits virtual
L119[01:02:55] <Kristo​pher38> How much is that in terms of memory
L120[01:03:02] <CompanionCube> 256TB
L121[01:03:06] <CompanionCube> i think
L122[01:03:16] <The_St​argazer> we won't ever need that much
L123[01:03:17] <The_St​argazer> so
L124[01:03:29] <The_St​argazer> it always confuses me why there are even 1tb boards available
L125[01:04:48] <The_St​argazer> why would you ever need more than like
L126[01:04:50] <The_St​argazer> 16 or 32gb
L127[01:04:53] <CompanionCube> https://www.phoronix.com/scan.php?page=news_item&px=Intel-5-Level-Paging here's the more recent stuff
L128[01:05:37] <The_St​argazer> >4 petabytes
L129[01:05:45] <The_St​argazer> this is expansion for the sake of expansion
L130[01:05:50] <Izaya> minecraft@debian9-minecraft:~/mcsrv$ du -h -d 0
L131[01:05:50] <The_St​argazer> because we can™️
L132[01:05:52] <Izaya> 226G .
L133[01:05:54] <Izaya> oh.
L134[01:06:19] <The_St​argazer> why do you need 226gb on your home partition
L135[01:06:28] <The_St​argazer> not even i use that much
L136[01:06:31] <CompanionCube> why *don't* you
L137[01:06:31] <Izaya> well see
L138[01:06:32] <The_St​argazer> and im a serial download hoarder
L139[01:06:41] <Izaya> that partition is actually 5.5TB
L140[01:06:44] <CompanionCube> ZFS/samis 373G 378G 98.9M /ZFS/samis
L141[01:06:52] <The_St​argazer> oh right
L142[01:06:55] <The_St​argazer> du -h is disk usage
L143[01:06:58] <Izaya> but my server world backups were taking up 226GB
L144[01:07:00] <The_St​argazer> im thinking of df
L145[01:07:01] <Izaya> because I forgot about them
L146[01:07:06] <Kristo​pher38> Just because you won't get a terabyte of ram doesn't mean nobody won't
L147[01:07:13] <The_St​argazer> why would anyone need so much
L148[01:07:23] <Izaya> /dev/md0 5.5T 4.9T 289G 95% /home
L149[01:07:33] <Kristo​pher38> Someone somewhere is gonna need those 50-ish bits of address space
L150[01:07:38] <The_St​argazer> why do you need so much disk storage
L151[01:07:39] <The_St​argazer> how
L152[01:07:42] <The_St​argazer> and why
L153[01:07:48] <The_St​argazer> why would you need so much ram
L154[01:07:50] <Amanda> Stargazer: bIg DaTa
L155[01:07:53] <Kristo​pher38> Think supercomputers
L156[01:07:56] <The_St​argazer> oh
L157[01:07:57] <The_St​argazer> right
L158[01:07:57] <CompanionCube> The_Stargazer should bever visit /r/datahoarder
L159[01:07:58] <CompanionCube> ever
L160[01:08:03] <The_St​argazer> i mean
L161[01:08:07] <The_St​argazer> i'm one of them technically
L162[01:08:16] <The_St​argazer> i do hoard data
L163[01:08:19] <CompanionCube> you're complaining about 6T
L164[01:08:22] <CompanionCube> so that's a no
L165[01:09:08] <Amanda> I've decided should I fill my 4T drive for anime, I'm shipping it to Texas for my co-admi. To put in his NAS
L166[01:09:45] <The_St​argazer> i'm not complaining
L167[01:09:46] <Izaya> The_Stargazer: 3.3TB of videos, 500GB of games, 175GB of music, 172GB of OS installers, 50GB of software
L168[01:09:47] <The_St​argazer> just confused
L169[01:09:50] <Izaya> 50GB of books
L170[01:10:00] <The_St​argazer> on your whole drive?
L171[01:10:15] <Izaya> this is my server
L172[01:10:18] <The_St​argazer> i could understand even a 10tb+ for anything else
L173[01:10:36] <The_St​argazer> but for something named `debian9-minecraft`
L174[01:10:42] <Izaya> you misunderstand
L175[01:10:46] <Izaya> that is a container on my server
L176[01:10:50] <The_St​argazer> oh.
L177[01:11:00] <Izaya> I have a folder on the RAID array mounted as /home in the container
L178[01:11:04] <The_St​argazer> not a physical device?
L179[01:11:36] <The_St​argazer> also
L180[01:11:37] <The_St​argazer> what the hell kinda operating systems you keeping on there
L181[01:11:45] <The_St​argazer> a few windows 10 installs?
L182[01:11:52] <The_St​argazer> %s/few/couple
L183[01:11:52] <MichiBot> <The_Stargazer> a couple windows 10 installs?
L184[01:11:57] <Amanda> Izaya: how bigs your code folder though?
L185[01:12:13] <Izaya> I keep a 32 and 64-bit version of each Windows version, plus a variety of Linux installer isos
L186[01:12:24] <CompanionCube> Izaya: compression or no?
L187[01:12:29] <Izaya> nah that's ext4
L188[01:12:31] <The_St​argazer> by every version
L189[01:12:32] <The_St​argazer> do you mean
L190[01:12:35] <The_St​argazer> every version
L191[01:12:44] <The_St​argazer> starting from 1.0
L192[01:12:51] <Izaya> no only going back to NT4
L193[01:12:57] <Izaya> don't need that DOS garbage
L194[01:12:57] <Ocawes​ome101> Damn
L195[01:13:10] <CompanionCube> ZFS/samis usedbychildren 373G ZFS/samis logicalused 491G -
L196[01:13:27] <The_St​argazer> why are your children using 300+ gb
L197[01:13:28] <Izaya> Amanda: 115Mgitea-repositories/
L198[01:13:42] <Elfi> 3.11 and before weren't even 32-bit OSes though
L199[01:13:46] <CompanionCube> because my data is split over multiple filesystems
L200[01:13:50] <The_St​argazer> oh right they were 16-bit
L201[01:13:58] <CompanionCube> and there's ~no actual data in ZFS/samis itself
L202[01:14:02] <CompanionCube> it's a container dataset
L203[01:14:03] <The_St​argazer> what kind of stuff are your kids keeping on there
L204[01:14:09] <Elfi> I think 3.11 might've had a 32-bit compatibility layer but it only started being 32-bit proper at 3.5
L205[01:14:25] <The_St​argazer> or do you mean a different kind of children
L206[01:14:34] <CompanionCube> it's the dataset's children
L207[01:14:43] <The_St​argazer> oh
L208[01:14:51] <The_St​argazer> i thought you meant irl children
L209[01:15:01] <Izaya> man I really need to get a separate monitoring host
L210[01:15:02] <CompanionCube> you can see the compression ratio by looking at the difference between the two values.
L211[01:15:19] <Izaya> the grafana container is using 20GB of disk
L212[01:16:20] <Ocawes​ome101> should I add home-directory-substitution-with-~s to Open Kernel's shell?
L213[01:16:22] <Amanda> Izaya: I'll reply in ~15-30m when my `du -shx ~/Code` finishes
L214[01:16:27] <Izaya> nice
L215[01:16:54] <Izaya> I keep git repos in my documents folder which has a bunch of other garbage too
L216[01:17:03] * CompanionCube seperates code into 'stuff i've cloned' and 'stuff i'm actually changing'
L217[01:17:43] <Amanda> it all lives in ~/Codefor me, a hold-over from my couple years using macs, where I had to have it on it's own volume so that I could enable case-sensitivity
L218[01:17:55] <Amanda> a/using macs/using a mac/
L219[01:18:08] <CompanionCube> HFS is the devil's filesystem eh?
L220[01:18:22] <Izaya> insert linux HFS rant here
L221[01:18:27] <Izaya> uh
L222[01:18:30] <Izaya> s/x/s/
L223[01:18:31] <MichiBot> <Izaya> insert linus HFS rant here
L224[01:26:05] ⇨ Joins: ben_mkiv (~ben_mkiv@i577BCF3A.versanet.de)
L225[01:26:13] <Adorabl​eCatgirl> >HFS
L226[01:27:58] <Amanda> Izaya: 107G /home/amandac/Code
L227[01:31:56] ⇦ Quits: Vexaton (~Vexatos@port-92-192-105-227.dynamic.as20676.net) (Quit: Insert quantum chemistry joke here)
L228[01:38:10] <Izaya> damn
L229[01:41:54] <Kristo​pher38> oh christ
L230[01:42:15] <Kristo​pher38> those two missing wires took me almost 2 hours to debug http://tinyurl.com/v2gfjet
L231[01:43:37] <Ocawes​ome101> wow nice
L232[01:44:50] <ThePi​Guy24> ripp
L233[01:46:28] <The_St​argazer> whats this for
L234[01:48:00] <Kristo​pher38> so those two missing wires go into an AND gate which controls whether or not to pass the specific byte select signal
L235[01:48:09] <Ocawes​ome101> is there a way to put ICs into ICs?
L236[01:48:26] <Z​ef> Not in projectred
L237[01:48:46] <ThePi​Guy24> ic's in ic's would allow for infinite computational density
L238[01:48:59] <Amanda> Yo dawg, I heard you like ICs....
L239[01:49:25] <Kristo​pher38> so that signal was passed through when it shouldn't and activated that byte which sent it's stored data to the output
L240[01:50:09] <Kristo​pher38> and essentialy for every IC like that, thisthat signal got passed through when it only should be passed
L241[01:50:14] <Kristo​pher38> and essentialy for every IC like that, this signal got passed through when it only should be passed [Edited]
L242[01:50:23] <Kristo​pher38> ...in one module
L243[01:50:51] <Kristo​pher38> which outputted contents of a 4th byte of every module onto the output line D:
L244[01:54:52] <Kristo​pher38> what's worse is it appears I did that intentionally
L245[01:55:13] <Kristo​pher38> since that AND I was talking about had it's right input disabled
L246[01:56:01] <Kristo​pher38> so i had to manually edit that AND gate and disable it, but that might've been earlier in the development
L247[01:56:07] <Ocawes​ome101> PiGuy: Yeah, we obviously need entire computers in single blocks :D
L248[01:57:07] <ThePi​Guy24> its not like there are any mods that add that already...
L249[01:57:31] <Izaya> PDP-8/S but it's in Minecraft
L250[01:57:50] <ThePi​Guy24> perhaps
L251[01:58:16] <ThePi​Guy24> although an altair 8800 would be cool
L252[01:58:21] <Izaya> 8080 a shit
L253[01:58:32] <Kristo​pher38> altair :glowingeyes:
L254[02:02:40] <Ocawes​ome101> turns out, fsutil works on OpenOS and Open Kernel with no modifications whatsoever :D
L255[02:02:54] <Izaya> fsutil?
L256[02:02:58] <Ocawes​ome101> %s/Open Kernel/Open Kernel 2/
L257[02:02:58] <MichiBot> <Ocawesome101> turns out, fsutil works on OpenOS and Open Kernel 2 with no modifications whatsoever :D
L258[02:03:05] <Ocawes​ome101> util I wrote for managing OpenUPT stuff
L259[02:03:07] <CompanionCube> Izaya: I mean, the PDPs are the right era
L260[02:03:09] <Carlen​ White> https://gist.github.com/WhiteHusky/c012984d1719b18240968f83362f61c3
L261[02:03:19] <Ocawes​ome101> pretty awfully written lib too :P
L262[02:03:49] * Izaya contributes to continued epidemic of NIH syndrome
L263[02:03:51] <Izaya> https://git.shadowkat.net/izaya/OC-misc/src/branch/master/partition
L264[02:04:44] <Ocawes​ome101> OpenUPT uses a boot sector :D
L265[02:04:52] <Izaya> Nasty hack.
L266[02:04:53] * CompanionCube would prefer the other PDPs, probably can get better OS choices for them
L267[02:05:00] <Carlen​ White> I need to toy around with unmanaged disks more.
L268[02:05:07] <Izaya> CompanionCube: the PDP-8 is appealing because of how simple it is
L269[02:05:21] <Carlen​ White> But I should try not making myself do twenty projects at once.
L270[02:07:43] <CompanionCube> has anyone posted the CPU bug-of-the-week?
L271[02:08:00] <Ocawes​ome101> nope
L272[02:08:05] <Ocawes​ome101> don't think so
L273[02:08:29] <CompanionCube> https://arstechnica.com/information-technology/2020/03/5-years-of-intel-cpus-and-chipsets-have-a-concerning-flaw-thats-unfixable/ intel's ME has an unfixable security bug in the ROM.
L274[02:08:48] <Izaya> Now who could have seen this coming
L275[02:08:49] <Ocawes​ome101> Yikes
L276[02:09:10] <ThePi​Guy24> slow clapping
L277[02:09:43] <Izaya> CompanionCube: which generations does this hit?
L278[02:10:03] <CompanionCube> Izaya: literally the first sentence 'Virtually all Intel chips released in the past five years contain an unfixable flaw that may allow sophisticated attackers to defeat a host of security measures built into the silicon. '
L279[02:10:13] <Izaya> that's not generations
L280[02:10:21] <Izaya> but I take it haswell is too old? :^)
L281[02:10:30] <CompanionCube> 'The vulnerability affects about five years’ worth of Intel CPUs and chipsets. Intel called out systems running CSME firmware prior to versions 11.8.65, 11.11.65, 11.22.65, and 12.0.35, but as Positive Technologies has said, machines running other versions may not be fully protected against exploits. Both consumer and enterprise systems are vulnerable, but because the latter category relies more
L282[02:10:31] <CompanionCube> on on-chip security, it is likely affected more.'
L283[02:10:51] <Kristo​pher38> don't worry, intel has got you covered with other security vulnerabilites
L284[02:10:55] <Ocawes​ome101> so my i5-8400 is vulnerable?
L285[02:10:59] <Izaya> based intel
L286[02:11:03] <Kristo​pher38> there's a vulnerability for every intel user :^)
L287[02:11:16] * CompanionCube laughs in FX8350
L288[02:11:18] <Ocawes​ome101> My next PC build was gonna be Ryzen anyway :P
L289[02:11:24] <CompanionCube> can't have secure-processor vulns if there's no secure-processor
L290[02:11:43] <Kristo​pher38> wasn't amd's PSP vulnerable too?
L291[02:12:17] <CompanionCube> PSP hasn't been pwned nearly as much as the ME by any metric
L292[02:12:42] <CompanionCube> and 'sides, the FX-8350 dates from right before all AMD CPUs included a PSP, by chance.
L293[02:12:56] <Kristo​pher38> oh nice
L294[02:13:00] <CompanionCube> the downside is the single-threaded performance
L295[02:13:13] <CompanionCube> which is vastly inferior to ryzen because it's bulldozer/piledriver
L296[02:14:07] <Kristo​pher38> desktop users will most likely not be targeted by those attacks tho, companies is where it's at
L297[02:14:20] <Kristo​pher38> but my security pepee
L298[02:31:17] <Kristo​pher38> oh great, now that this bug is gone, there's a new one
L299[02:31:59] <Kristo​pher38> instead of a bug on every 4th byte there's a bug on every 1st byte
L300[02:33:47] ⇦ Quits: nate2 (webchat@c-73-101-33-204.hsd1.pa.comcast.net) (Quit: webchat.esper.net)
L301[02:35:06] ⇦ Quits: DBotThePony (~Thunderbi@31.220.170.28) (Ping timeout: 189 seconds)
L302[03:14:34] ⇨ Joins: Guest68735 (webchat@162-244-72-162-244-72-94.cpe.sparklight.net)
L303[03:15:43] <Guest68735> Anyone seen Kodos?
L304[03:18:02] <Guest68735> Guess that’s a no.
L305[03:21:50] ⇦ Quits: Guest68735 (webchat@162-244-72-162-244-72-94.cpe.sparklight.net) (Quit: webchat.esper.net)
L306[03:22:05] ⇦ Quits: AdorableCatgirl (~sam@pool-71-176-252-72.rcmdva.fios.verizon.net) (Ping timeout: 204 seconds)
L307[03:35:59] ⇦ Quits: ben_mkiv (~ben_mkiv@i577BCF3A.versanet.de) (Ping timeout: 190 seconds)
L308[03:46:39] <Ocawes​ome101> %tonkout time! :D
L309[03:46:39] <MichiBot> Consarn it! Ocawes​ome101! You beat ThePi​Guy24's previous record of 5 hours, 20 minutes and 55 seconds (By 1 hour, 18 minutes and 27 seconds)! I hope you're happy!
L310[03:46:40] <MichiBot> Ocawes​ome101 has stolen the tonkout! Tonk has been reset! They gained 0.006 tonk points! plus 0.005 bonus points for consecutive hours! (Reduced to 50% because stealing) Current score: 0.15461. Position #6 => #5 Need 0.15334 more points to pass Forec​aster!
L311[03:46:52] <Ocawes​ome101> yay! :D
L312[03:52:16] <Brisingr​ Aerowing> Nice!
L313[03:52:47] <Ocawes​ome101> thank you :)
L314[04:15:19] <Ocawes​ome101> Since when does OpenOS support multitasking? :O http://tinyurl.com/uv9fu92
L315[04:17:46] <Sagh​etti> since forever lo
L316[04:17:47] <Sagh​etti> since forever lo; [Edited]
L317[04:17:49] <Sagh​etti> since forever lol [Edited]
L318[04:18:14] <Izaya> it's not exposed to the user well
L319[04:18:18] <Ocawes​ome101> ah
L320[04:18:21] <Izaya> but you can totally run software in the background
L321[04:18:33] <Ocawes​ome101> I mean, I knew it had `rc`
L322[04:19:12] <Ocawes​ome101> I just was kind of shocked, I'd never noticed `ps` before
L323[04:19:21] <Sagh​etti> hexadecimal PIDs?
L324[04:19:23] <Sagh​etti> why...
L325[04:19:33] <Ocawes​ome101> don't ask me, ask Payonel :P
L326[04:19:41] <Izaya> because they're tostring(thread)
L327[04:19:48] <Izaya> presumably
L328[04:47:06] ⇦ Quits: Cervator (~Thunderbi@70.241.38.147) (Ping timeout: 189 seconds)
L329[04:52:18] ⇨ Joins: Cervator (~Thunderbi@70.241.38.147)
L330[05:05:37] ⇦ Quits: Thutmose (~Patrick@host-69-59-79-181.nctv.com) (Quit: Leaving.)
L331[05:07:47] ⇨ Joins: DBotThePony (~Thunderbi@31.220.170.28)
L332[05:50:21] <Ocawes​ome101> so
L333[05:50:23] <Ocawes​ome101> question
L334[05:51:19] <Ocawes​ome101> actually
L335[05:51:25] <Ocawes​ome101> one second
L336[05:57:19] <Ocawes​ome101> still question
L337[05:57:39] <Ocawes​ome101> how the hell does OpenOS format out the tabs in `debug.traceback`? when I do it I get some characters cropped off
L338[05:58:51] <Ocawes​ome101> my error http://tinyurl.com/s7hbrv5
L339[05:59:00] <Ocawes​ome101> vs OpenOS error http://tinyurl.com/uzbam2y
L340[06:01:19] ⇦ Quits: superminor2 (~super@159.242.41.91.dynamic.cltel.net) (Quit: Bye!)
L341[06:02:10] <Forec​aster> %tonk
L342[06:02:10] <MichiBot> Sard! Forec​aster! You beat Ocawes​ome101's previous record of <0 (By 2 hours, 15 minutes and 31 seconds)! I hope you're happy!
L343[06:02:11] <MichiBot> Forecaster's new record is 2 hours, 15 minutes and 31 seconds! Forecaster also gained 0.00226 tonk points for stealing the tonk. Position #4. Need 0.00461 more points to pass simo​n816!
L344[06:02:52] <Izaya> Ocawesome101: see the little character at the front?
L345[06:02:54] <Izaya> that's a tab character
L346[06:03:10] <Ocawes​ome101> Izaya: I figured that part out
L347[06:03:22] <Izaya> you'll want to replace those with the right number of spaces to align with a grid in your terminal emulator
L348[06:03:30] <Ocawes​ome101> but when I substitute it for a space, I still get those cropped-off characters
L349[06:03:48] ⇨ Joins: superminor2 (~super@159.242.41.91.dynamic.cltel.net)
L350[06:03:48] zsh sets mode: +v on superminor2
L351[06:03:59] <Izaya> gsub("\t"," ")?
L352[06:04:22] <Ocawes​ome101> maybe
L353[06:04:53] <Ocawes​ome101> the
L354[06:05:00] <Ocawes​ome101> the \*\*\*\* [Edited]
L355[06:05:04] <Ocawes​ome101> that worked
L356[06:05:09] <Ocawes​ome101> thank you
L357[06:07:27] <Ocawes​ome101> that was pretty much the one thing that I was having trouble figuring out
L358[06:07:48] <Ocawes​ome101> I tried a couple ways to substitute it but completely forgot about gsub
L359[06:08:02] <Izaya> [concern]
L360[06:18:17] ⇦ Quits: Cervator (~Thunderbi@70.241.38.147) (Quit: Cervator)
L361[06:18:42] <Ocawes​ome101> in fairness to me, it's like 1:15 AM
L362[07:04:19] ⇦ Quits: bauen1 (~bauen1@ipb21baa2d.dynamic.kabel-deutschland.de) (Ping timeout: 190 seconds)
L363[07:30:57] <Forec​aster> or is it
L364[07:31:06] <Forec​aster> %sip
L365[07:31:06] <MichiBot> You drink a sour violet potion (New!). Sitting down suddenly seems like a really terrible idea.
L366[07:57:48] <ThePi​Guy24> sit down
L367[08:12:20] <bpm140> stand up
L368[08:12:38] <bpm140> the raindrops the raindrops the raindrops the raindrops the raindrops the raindrops the raindrops the raindrops the raindrops the raindrops
L369[08:12:46] <bpm140> cool song
L370[08:12:58] <bpm140> %drink
L371[08:12:58] <MichiBot> You drink a gloomy octiron potion (New!). A bird flies past that vaguely resembles someone bpm140 knows.
L372[08:13:12] * bpm140 has left the game
L373[08:19:06] <Lizzian> %tonk
L374[08:19:07] <MichiBot> Zounderkite! Liz​zian! You beat Forec​aster's previous record of 2 hours, 15 minutes and 31 seconds (By 1 minute and 25 seconds)! I hope you're happy!
L375[08:19:08] <MichiBot> Lizzian's new record is 2 hours, 16 minutes and 56 seconds! Lizzian also gained 0.00006 (0.00002 x 3) tonk points for stealing the tonk. Position #2. Need 0.02014 more points to pass Compan​ionCube!
L376[08:22:12] <ThePi​Guy24> agh
L377[08:30:05] <Izaya> >filesystem.size returns 0 in ocvm
L378[08:30:07] <Izaya> t-thanks
L379[08:30:34] <The_St​argazer> it does that in ocemu too i think
L380[08:30:43] <Izaya> but it returns sane values in ls?
L381[08:31:04] <The_St​argazer> idk
L382[08:32:16] <Izaya> oh it requires the full path
L383[08:32:18] <Izaya> thanks
L384[08:33:44] <Izaya> I guess I have to get the current directory if the name doesn't have a slash
L385[08:33:47] <Izaya> cool
L386[08:33:48] <Izaya> that's uh
L387[08:33:50] <Izaya> great
L388[08:34:06] <Izaya> ~w absolute path
L389[08:34:06] <ocdoc> Predicted http://ocd.cil.li/item:tablet
L390[08:39:10] <ThePi​Guy24> yeah thats definitely the resource you wanted
L391[08:43:00] ⇦ Quits: Backslash (~Backslash@d137-186-220-152.abhsia.telus.net) (Read error: Connection reset by peer)
L392[08:46:14] <The_St​argazer> mmhmm
L393[08:50:56] ⇨ Joins: Inari (~Pinkishu@pD9E8F5E9.dip0.t-ipconnect.de)
L394[09:06:27] <Inari> https://media.discordapp.net/attachments/309529094452936705/685305169939791872/88197250_855304954896026_5133203663589736448_n.png
L395[09:31:46] ⇨ Joins: ben_mkiv (~ben_mkiv@i577BCF3A.versanet.de)
L396[10:14:31] <Izaya> https://imgur.com/oeJ7bZb.png
L397[10:14:50] <Izaya> reading and writing a compressed archive? success!
L398[10:20:08] <The_St​argazer> Inari: so apparently there's something like neptunia... only with guns instead of game consoles, thought you might be interested (because we all know you like neptunia)
L399[10:20:32] <The_St​argazer> not on PC tho
L400[10:20:48] <The_St​argazer> it's a mobile game, so I still have doubts
L401[10:20:52] <The_St​argazer> the fanart seems pretty aight tho
L402[10:21:08] <Inari> @The_Stargazer I mean, I only like it "okay-ish" :P It's nice though, yeah. And hmmm Gunsomething Frontline you mean?
L403[10:21:18] <The_St​argazer> Girls Frontline
L404[10:21:23] <The_St​argazer> you thinking of that?
L405[10:21:39] <Inari> Yeah
L406[10:21:52] <The_St​argazer> also out of curiosity, how many nep games do you own
L407[10:21:56] <The_St​argazer> i have like seven
L408[10:22:13] <Inari> Like 2 or so?
L409[10:22:26] <The_St​argazer> which ones, if you can remember?
L410[10:23:02] <Inari> Cyberdimension Neptunia: 4 Goddesses online, and some PS3 one, not sure right now which that was though
L411[10:23:19] <The_St​argazer> the PS3 one is bound to be one of the originals
L412[10:23:24] <The_St​argazer> i'm now slightly jealous
L413[10:23:35] <Inari> Amanda: Cats that like fish! https://www.youtube.com/watch?v=HvaQw77UQcw
L414[10:23:36] <MichiBot> Japanese meal for cats | length: 6m 43s | Likes: 88,038 Dislikes: 598 Views: 1,152,053 | by JunsKitchen | Published On 2/3/2020
L415[10:23:41] <Inari> Is it?
L416[10:23:47] <Inari> Also why jealous
L417[10:23:52] <The_St​argazer> Yeah the originals were PS3-exclusive iirc
L418[10:24:01] <The_St​argazer> Because I wanna play the originals :c
L419[10:24:10] <Inari> Aren't there PS3 emulators by now
L420[10:24:28] <The_St​argazer> Yeah but isn't that.. illegal
L421[10:24:59] <Izaya> Do you see any cops?
L422[10:25:06] <The_St​argazer> Good point
L423[10:25:10] <The_St​argazer> Although I'm in a public space
L424[10:25:17] <The_St​argazer> and I don't wanna pirate ISOs
L425[10:25:21] <Inari> WIll make you illegal
L426[10:27:21] <Izaya> ayy
L427[10:27:30] <Izaya> even figured out why lzss decompression was wonky
L428[10:27:34] <Inari> %pet Izaya
L429[10:27:34] <MichiBot> Inari is petting Izaya with baka site. Izaya regains 1d4 => 2 hit points!
L430[10:29:10] <Izaya> well
L431[10:29:15] <Izaya> one more thing and I think I'm done :D
L432[10:29:49] <Izaya> just gotta add recursing through directories
L433[10:42:33] <Inari> %pet @The_Stargazer
L434[10:42:34] <MichiBot> Inari is brushing @The_Stargazer with A lumpy potato. @The_Stargazer regains 1d4 => 4 hit points!
L435[10:44:11] <The_St​argazer> oh man
L436[10:44:19] <The_St​argazer> "A Perfect Hero" at 0.5 speed is amazing
L437[10:45:13] <The_St​argazer> same for 0.75
L438[10:47:13] <Izaya> >:D recusing into dirs
L439[10:49:11] <The_St​argazer> hmm.. am trying out Girls Frontline, i noticed Criware was involved, and iirc they were involved in the development of one (or more?) of the Nep games
L440[10:52:31] <Izaya> https://imgur.com/vv5BfOg.png
L441[10:55:06] <Izaya> you can in theory concatenate archives together but not compressed ones
L442[10:55:11] <Izaya> I guess you could lzcat them together
L443[10:55:29] <Izaya> (can't concatenate lz16 archives because there's a 4-byte lz16 header
L444[10:55:31] <Izaya> )
L445[10:56:19] <The_St​argazer> lz16?
L446[10:56:35] <Izaya> simple block compression format for LZSS
L447[10:56:50] <Izaya> 2 bytes block length followed by the compressed data
L448[10:57:00] <Izaya> LZ16 files start with "lz16"
L449[10:57:51] ⇦ Quits: BrightYC (~BrightYC@broadband-188-32-129-66.ip.moscow.rt.ru) (Quit: blocked by MISHA)
L450[10:58:35] <Izaya> that's the whole format
L451[10:58:36] ⇨ Joins: BrightYC (~BrightYC@broadband-188-32-129-66.ip.moscow.rt.ru)
L452[10:58:44] ⇦ Quits: BrightYC (~BrightYC@broadband-188-32-129-66.ip.moscow.rt.ru) (Remote host closed the connection)
L453[10:59:25] ⇨ Joins: BrightYC (~BrightYC@broadband-188-32-129-66.ip.moscow.rt.ru)
L454[11:02:13] <Izaya> The_Stargazer: https://git.shadowkat.net/izaya/OC-misc/src/branch/master/lz16/liblz16.lua
L455[11:03:14] <The_St​argazer> what's `tO.f` do
L456[11:03:23] <The_St​argazer> ` if fi:read(4) ~= "lz16" and not tO.f then`
L457[11:03:30] <The_St​argazer> it sounds like a weird variable name
L458[11:03:49] <Izaya> table of Options . force
L459[11:03:53] <The_St​argazer> oh
L460[11:03:56] <Izaya> however
L461[11:04:00] <Izaya> I think I may not have pushed an update
L462[11:04:24] <The_St​argazer> why not call it `options.force`
L463[11:04:33] <The_St​argazer> much easier to read and understand
L464[11:04:45] <The_St​argazer> a month later you'll probably be going "what the fuck is `tO.f`
L465[11:04:46] <The_St​argazer> a month later you'll probably be going "what the fuck is `tO.f`" [Edited]
L466[11:04:51] <Izaya> because the code is adapted from a utility I wrote
L467[11:04:59] <Izaya> and tO.f isn't relevant because there is no tO :D
L468[11:05:11] <The_St​argazer> how can there be no tO
L469[11:05:13] <The_St​argazer> how can there be no tO.f [Edited]
L470[11:05:16] <The_St​argazer> if there's no tO
L471[11:05:32] <Izaya> well there is no tO.f
L472[11:05:35] <Izaya> because there is no tO
L473[11:05:43] <Izaya> because in the original utility I had
L474[11:05:46] <The_St​argazer> so `and not tO.f` is always false
L475[11:05:59] <The_St​argazer> because `tO.f` == `nil`
L476[11:06:09] <Izaya> tA, tO = shell.parse(...)
L477[11:06:26] <The_St​argazer> oh
L478[11:06:34] <The_St​argazer> why not include like a matches function
L479[11:06:38] <The_St​argazer> and search for `-f` or `--force`
L480[11:06:47] <Izaya> I don't understand
L481[11:06:49] <Izaya> where
L482[11:06:51] <Izaya> in what context
L483[11:06:59] <The_St​argazer> are you using `tO` at all
L484[11:07:09] <The_St​argazer> ..nope
L485[11:07:12] <Izaya> no there's literally no tO
L486[11:07:18] <Izaya> it's just from copypasting from the util
L487[11:07:25] <Izaya> that's a library not a util
L488[11:07:44] <The_St​argazer> ohh
L489[11:07:57] <Izaya> the library is neat
L490[11:07:58] <The_St​argazer> and tO.f is passed to the lib?
L491[11:08:04] <Izaya> not any more :D
L492[11:08:07] <The_St​argazer> ah
L493[11:08:11] <Izaya> so you can give it an arbitrary LZ16 stream
L494[11:08:13] <Izaya> from a file
L495[11:08:16] <Izaya> or a network connection
L496[11:08:18] <Izaya> or whatever
L497[11:08:26] <The_St​argazer> what happens if you comment out the checks for a valid file
L498[11:08:32] <The_St​argazer> and force it to decompress, say, a lua file
L499[11:08:43] <Izaya> and it returns a stream that compresses or decompresses on the fly
L500[11:08:46] <Izaya> well basically
L501[11:08:50] <The_St​argazer> that has just given me a shitty idea
L502[11:08:51] <Izaya> you get garbage output
L503[11:08:54] <The_St​argazer> a program that takes an input
L504[11:08:57] <The_St​argazer> turns it into garbage
L505[11:09:02] <The_St​argazer> then makes the input from the garbage
L506[11:09:08] <The_St​argazer> so it breaks and then un-breaks
L507[11:09:20] <The_St​argazer> because technically you can make anything out of anything
L508[11:09:23] <The_St​argazer> you just need the input
L509[11:09:29] <The_St​argazer> and some random data
L510[11:10:48] <Izaya> https://git.shadowkat.net/izaya/OC-misc/src/branch/master/mtar/OpenOS/usr/bin/mtar.lua
L511[11:11:34] <The_St​argazer> i wrote a program that takes input from urandom and a file, and then turns the urandom input into the file input
L512[11:11:39] <Izaya> note:
L513[11:11:42] <Izaya> if opts.z then
L514[11:11:44] <Izaya> f = lz16.open(args[1],"rb")
L515[11:11:46] <Izaya> else
L516[11:11:48] <Izaya> f = io.open(args[1],"rb")
L517[11:11:50] <Izaya> end
L518[11:12:00] <The_St​argazer> ?
L519[11:12:05] <The_St​argazer> brg
L520[11:12:07] <The_St​argazer> brb [Edited]
L521[11:12:49] <Izaya> tl;dr that opens the file as an lz16 stream if you pass the program the -z flag
L522[11:13:42] <The_St​argazer> ohh
L523[11:14:37] <The_St​argazer> also i now have a newfound interest to listening to music in 0.75 speed
L524[11:14:55] <Izaya> try Running in the 90's at 0.25x speed
L525[11:15:26] <The_St​argazer> that just sounds weird
L526[11:15:50] <Izaya> sounds like a totally different song
L527[11:15:57] <The_St​argazer> yeah
L528[11:16:15] <The_St​argazer> also: i see you're a man of culture as well
L529[11:16:39] <Izaya> hardly
L530[11:18:54] <Izaya> this is going to make software distribution so much easier though'
L531[11:19:11] <Izaya> I can just fget package files and dump them onto /
L532[11:23:07] <The_St​argazer> fget?
L533[11:23:17] <Izaya> as in FRequest Get
L534[11:24:31] <Forec​aster> %tonk
L535[11:24:31] <MichiBot> Dad-Sizzle! Forec​aster! You beat Liz​zian's previous record of 2 hours, 16 minutes and 56 seconds (By 48 minutes and 27 seconds)! I hope you're happy!
L536[11:24:32] <MichiBot> Forecaster's new record is 3 hours, 5 minutes and 24 seconds! Forecaster also gained 0.00243 (0.00081 x 3) tonk points for stealing the tonk. Position #4. Need 0.00218 more points to pass simo​n816!
L537[11:24:40] *** BrightYC is now known as nebrightyc
L538[11:25:13] <Forec​aster> just need another one of at least 40something minutes and I'll claim #3 >:D
L539[11:25:30] *** nebrightyc is now known as BrightYC
L540[11:25:59] *** BrightYC is now known as OFF
L541[11:28:43] *** OFF is now known as BrightYC
L542[11:29:03] ⇦ Parts: BrightYC (~BrightYC@broadband-188-32-129-66.ip.moscow.rt.ru) ())
L543[11:32:04] ⇨ Joins: Victor_sueca (~Victor_su@90.165.120.190)
L544[11:32:27] <Kristo​pher38> > then makes the input from the garbage
L545[11:32:27] <Kristo​pher38> @The_Stargazer congratulations, you just reinvented reciprocal cipher
L546[11:33:55] <The_St​argazer> oh that's already a thing
L547[11:34:01] <The_St​argazer> but i mean like
L548[11:34:04] <The_St​argazer> you give it a file
L549[11:34:07] <The_St​argazer> it then copies the file
L550[11:34:17] <The_St​argazer> using nothing but /dev/urandom (or math.random if you arent on linux)
L551[11:34:38] ⇦ Quits: Victorsueca (~Victor_su@90.165.120.190) (Ping timeout: 378 seconds)
L552[11:35:34] ⇦ Quits: ben_mkiv (~ben_mkiv@i577BCF3A.versanet.de) (Ping timeout: 190 seconds)
L553[11:36:01] <Kristo​pher38> Not exactly sure what you mean by that
L554[11:36:12] <The_St​argazer> So
L555[11:36:18] <The_St​argazer> You give it an input file
L556[11:36:22] <The_St​argazer> It reads one byte at a time
L557[11:36:26] <The_St​argazer> Then it gets a random byte
L558[11:36:32] <The_St​argazer> Checks if that random one matches what's read
L559[11:36:37] <The_St​argazer> If match, write to file and repeat
L560[11:36:45] <The_St​argazer> If not, generate again until it finds a match
L561[11:37:22] <Kristo​pher38> D: I would ask why would you want to do that
L562[11:37:39] <Kristo​pher38> But sure enough you can for the sake of it
L563[11:38:47] <Forec​aster> that kind of sounds like a very slow way of copying the file
L564[11:38:54] <The_St​argazer> It is slow
L565[11:38:59] <The_St​argazer> I made it for a laugh
L566[11:39:04] <The_St​argazer> It takes 12 minutes to copy 1mb
L567[11:39:11] <The_St​argazer> well, about 11 and a hafl
L568[11:39:13] <The_St​argazer> well, about 11 and a half [Edited]
L569[11:40:22] ⇨ Joins: Vexatos (~Vexatos@port-92-192-105-227.dynamic.as20676.net)
L570[11:40:22] zsh sets mode: +v on Vexatos
L571[12:40:35] <ThePi​Guy24> thats kinda what i would call bogocopy
L572[12:41:08] <ThePi​Guy24> although that eould be writing the whole file randomly, then checking if it matches the original
L573[12:44:05] ⇨ Joins: ben_mkiv (~ben_mkiv@i577BCF3A.versanet.de)
L574[12:47:39] ⇦ Quits: ben_mkiv (~ben_mkiv@i577BCF3A.versanet.de) (Ping timeout: 204 seconds)
L575[12:48:37] <Amanda> And a waste of entropy
L576[12:49:11] <The_St​argazer> oh god
L577[12:49:13] <The_St​argazer> now i have to do that
L578[12:49:22] <The_St​argazer> write an entire file, check, if not, re-write
L579[12:49:28] <The_St​argazer> it'd take days, possibly weeks to copy a file
L580[12:50:33] <The_St​argazer> but it'd further prove my point that Original data > Original data < Garbage data
L581[12:50:45] <The_St​argazer> or, original data + garbage data = original data
L582[12:50:58] <The_St​argazer> can be further simplified: x = x + n
L583[12:51:12] <The_St​argazer> where x is the original data and n is just random garbage]
L584[12:51:14] <The_St​argazer> where *x* is the original data and *n* is just random garbage [Edited]
L585[12:56:55] <ThePi​Guy24> yes
L586[12:57:14] <ThePi​Guy24> just because its random, doesnt mean ifs nonzero
L587[12:57:29] <ThePi​Guy24> %s/ifs/its
L588[12:57:29] <MichiBot> <ThePiGuy24> just because its random, doesnt mean its nonzero
L589[13:07:28] <Izaya> still todo: daemon that attaches remote components in the background
L590[13:29:53] <Adorabl​eCatgirl> hi
L591[13:51:06] ⇨ Joins: ben_mkiv (~ben_mkiv@i577BCF3A.versanet.de)
L592[14:16:04] <Adorabl​eCatgirl> self extracting archives in lua let's go
L593[14:21:36] ⇨ Joins: Cervator (~Thunderbi@70.241.38.147)
L594[14:55:45] ⇦ Quits: Cervator (~Thunderbi@70.241.38.147) (Quit: Cervator)
L595[14:57:08] ⇨ Joins: bauen1 (~bauen1@ipb21baa2d.dynamic.kabel-deutschland.de)
L596[15:06:17] ⇨ Joins: Thutmose (~Patrick@host-69-59-79-181.nctv.com)
L597[15:22:31] ⇦ Quits: ben_mkiv (~ben_mkiv@i577BCF3A.versanet.de) (Killed (NickServ (GHOST command used by ben_mkiv|afk!~ben_mkiv@i577BCFC3.versanet.de)))
L598[15:22:36] ⇨ Joins: ben_mkiv|afk (~ben_mkiv@i577BCFC3.versanet.de)
L599[15:23:34] ⇨ Joins: Lisok28 (~Lisok28@178.176.164.177)
L600[15:27:37] ⇦ Quits: Lisok28 (~Lisok28@178.176.164.177) (Remote host closed the connection)
L601[16:14:33] <Carlen​ White> Does `buffer:read(n)` block until it gets `n` bytes?
L602[16:14:42] <Carlen​ White> Or will it return with what it has?
L603[16:25:45] <Forec​aster> yes it blocks I think
L604[16:25:52] <Forec​aster> there is buffer:setTimeout
L605[16:39:35] <payonel> i made a thing! http://lua-users.org/lists/lua-l/2020-03/msg00021.html
L606[16:41:47] <Michiyo> nice!
L607[16:41:57] <payonel> @Sagh​etti you asked about multitasking in openos. and the hex pids :) yeah, why not? :)
L608[16:42:33] <payonel> but yes, openos /bin/ps will show concurrent procs, to make one, see https://ocdoc.cil.li/api:thread
L609[16:48:02] <payonel> @Ocawes​ome101 the tty writer layer in openos doesn't print \t: https://github.com/MightyPirates/OpenComputers/blob/master-MC1.7.10/src/main/resources/assets/opencomputers/loot/openos/lib/tty.lua#L135
L610[16:50:07] <payonel> and, OC's \t char symbol (from our fonts) is this fancy HT thing: ... which i can't find an image for atm
L611[16:50:27] <Vexatos> I got it as an email D:
L612[16:56:47] <payonel> what, my lua post?
L613[16:57:01] <Vexatos> yes
L614[16:57:18] <payonel> i'm pretty excited. made my first contribution to the lua world
L615[16:57:34] <Vexatos> I never did
L616[16:57:41] <Vexatos> I also never looked too deep into lua though
L617[17:13:04] <Vexatos> good job, payo
L618[17:14:10] <payonel> woo!
L619[17:15:44] <Ocawes​ome101> payonel: oh ok
L620[17:38:48] <Jac​kPS9> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/wetocewiwo
L621[17:38:54] <Jac​kPS9> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/arolodeyiw
L622[17:39:22] <M​GR> Yes that looks right
L623[17:40:07] <payonel> yep
L624[17:40:45] <payonel> also, @Jac​kPS9 - try to send each line in discord chat on its own
L625[17:40:58] <payonel> those of us in irc-land see this: ...
L626[17:41:08] <Jac​kPS9> oh
L627[17:41:10] <pay​onel> http://tinyurl.com/sqsxrkt
L628[17:41:18] <B​ob> if its a library, i would localize the functions
L629[17:41:22] <B​ob> since this is vanilla Lua
L630[17:41:28] <B​ob> every bit squeezed out helps
L631[17:42:15] <payonel> @Bob huh?
L632[17:42:44] <B​ob> literally localize functions
L633[17:42:50] <B​ob> make em local and reuse
L634[17:43:30] <payonel> which function would you localize?
L635[17:43:34] <Jac​kPS9> using a GUIEditor, so trying to put some of my stuff in a different lua file so I dont have to keep re-writting the same stuff over and over again
L636[17:44:02] <B​ob> use external IDEs
L637[17:44:04] <M​GR> Pretty reasonable 🙂
L638[17:44:08] <M​GR> Also what Bob said
L639[17:44:14] <payonel> hold up
L640[17:44:17] <B​ob> Notepad++ superiorest IDE ¯\(ツ)/¯
L641[17:44:30] <payonel> @Bob you aren't making sense
L642[17:44:31] <Jac​kPS9> friend's server
L643[17:44:39] <Jac​kPS9> else I would
L644[17:44:41] <B​ob> @JackPS9 use FTP
L645[17:44:43] <M​GR> Jack, you can copy and paste
L646[17:44:44] <payonel> what function would you make local
L647[17:44:48] <B​ob> and yeah
L648[17:45:08] <B​ob> component.proxy, print but thats overkill usually i use that for GPU functions especially
L649[17:45:51] <payonel> you mean grab a reference to save from table lookups on repeated calls?
L650[17:46:06] <B​ob> yeah
L651[17:46:10] <B​ob> from that exclusively
L652[17:46:39] <payonel> so.....wow...the dude has like 3 lines of code and you're already micro-optimizing the code
L653[17:46:50] <B​ob> 👏
L654[17:46:56] <payonel> let me put a LOT more emphasis on micro
L655[17:47:27] <Elfi> Yeah, let's focus on the bigger picture
L656[17:47:34] <payonel> i've run many many benchmarks on lua performance. millions of iterations. you'll be hard pressed to ever notice a speed up on table looups
L657[17:48:02] <Inari> How about skirt lookups?
L658[17:48:08] * payonel blushes
L659[17:48:15] <payonel> hopefully no one notices that
L660[17:48:15] <Forec​aster> %bap Inari
L661[17:48:15] <MichiBot> Forec​aster baps Inari with Free Bird!
L662[17:48:18] <payonel> %pet Inari
L663[17:48:18] <MichiBot> payonel is petting Inari with explosive acorns. Inari regains 1d4 => 3 hit points!
L664[17:48:29] <payonel> ha, regains hitpoints from that? nice
L665[17:48:44] <Forec​aster> presumably they explode healing magic
L666[17:49:50] <Jac​kPS9> uh so what is the controls to paste XD
L667[17:49:55] <payonel> insert
L668[17:49:58] <payonel> (configurable)
L669[17:50:18] <Forec​aster> or middle mouse button
L670[17:52:40] <Vexatos> payonel, when your lua project gets large and involves rendering (love2d), micro-optimization becomes relevant :P
L671[17:53:10] <Vexatos> also can someone please update luajit thanks
L672[17:53:24] <Vexatos> you have no idea how bad lua 5.1 is compared to 5.3 until you have to use it
L673[17:53:26] <Forec​aster> impossible
L674[17:53:36] <Forec​aster> somone has no idea how to do that
L675[17:53:38] <B​ob> Love uses LuaJIT so localizing table values becomes irrelevent lol
L676[17:53:47] <B​ob> and yeah
L677[17:53:48] <Vexatos> they didn't know what metatables are back then
L678[17:53:57] <B​ob> Mike Pall added GC64 fixes recently
L679[17:53:59] <B​ob> but thats it
L680[17:54:01] <Vexatos> doing anything is impossible
L681[17:54:40] <B​ob> x doubt
L682[17:54:59] <B​ob> doable but from 5.3 its so sad seeing everything not working
L683[17:55:04] * Elfi yawns, goes to find a cozy spot where she can clean her antennae and have a nap. z.z
L684[17:57:32] <Vexatos> 5.1 has most of the useful metatables missing
L685[17:59:02] <payonel> Vexatos: "involves rendering" is definitely in the realm of hard pressed edge cases :)
L686[17:59:49] <Vexatos> love2d :P
L687[18:00:21] <Vexatos> but that is luajit
L688[18:00:24] <Vexatos> so it doesn't matter anyway
L689[18:00:34] <B​ob> yeah
L690[18:01:13] ⇦ Quits: ba7888b72413a16a (~ba7888b72@66.109.211.150) (Quit: https://i.imgur.com/xacQ09F.mp4)
L691[18:04:59] ⇨ Joins: ba7888b72413a16a (~ba7888b72@66.109.211.150)
L692[18:12:09] <ThePi​Guy24> rip ive been outbid on the server i was gonna buy
L693[18:13:44] * Michiyo whistles
L694[18:13:48] * Michiyo innocently
L695[18:16:18] <payonel> rude
L696[18:23:03] <Adorabl​eCatgirl> Lua 5.3 is so much nicer to write
L697[18:26:58] <ThePi​Guy24> k yeah i cant find any other r720's that are good specced and that i can afford
L698[18:27:48] ⇨ Joins: smoke_fumus (~smoke_fum@188.35.176.90)
L699[18:28:01] <Michiyo> I just bought a pair of new 12c CPUs for mine.
L700[18:32:31] <Inari> s/CPUs/panties/
L701[18:32:32] <MichiBot> <Michiyo> I just bought a pair of new 12c panties for mine.
L702[18:34:05] <payonel> %inari
L703[18:34:06] <MichiBot> pay​onel: http://i.imgur.com/XoYgHyi.gif
L704[18:35:30] <Michiyo> 12 core panties.
L705[18:35:32] <Michiyo> huh.
L706[18:35:47] <payonel> the thread count is really high on those
L707[18:35:53] <Michiyo> well, with 24 cores of panties, everything contained in them will be toasty
L708[18:37:30] * Inari wraps herself up in panties to be toasty too
L709[18:39:28] <Klea​dron> ;)
L710[18:39:39] <Michiyo> Actually, damn server even at 100% CPU load is only around 35c
L711[18:42:56] <Ocawes​ome101> Nice
L712[18:43:09] <Ocawes​ome101> My desktop idles at 50-60c iirc
L713[18:48:28] <Jac​kPS9> yay, my mini-library is done and outputs a the info to a vertical progress bar and label
L714[18:48:35] <Jac​kPS9> yay, my mini-library is done and outputs the info to a vertical progress bar and label [Edited]
L715[18:48:48] <Ocawes​ome101> %tonk
L716[18:48:49] <MichiBot> Dagnammit! Ocawes​ome101! You beat Forec​aster's previous record of 3 hours, 5 minutes and 24 seconds (By 4 hours, 18 minutes and 53 seconds)! I hope you're happy!
L717[18:48:49] <MichiBot> Ocawesome101's new record is 7 hours, 24 minutes and 17 seconds! Ocawesome101 also gained 0.01724 (0.00431 x 4) tonk points for stealing the tonk. Position #5. Need 0.14079 more points to pass Forec​aster!
L718[18:49:01] <Ocawes​ome101> Christ
L719[18:51:02] ⇦ Quits: smoke_fumus (~smoke_fum@188.35.176.90) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
L720[18:54:33] <Michiyo> 33GB of ram used.
L721[18:54:34] <Michiyo> 12%
L722[18:54:38] <Michiyo> :D
L723[18:54:43] ⇨ Joins: Vexaton (~Vexatos@port-92-192-70-143.dynamic.as20676.net)
L724[18:54:43] zsh sets mode: +v on Vexaton
L725[18:56:53] ⇦ Quits: Vexatos (~Vexatos@port-92-192-105-227.dynamic.as20676.net) (Ping timeout: 204 seconds)
L726[19:01:16] *** Vexaton is now known as Vexatos
L727[19:46:50] ⇨ Joins: Backslash (~Backslash@d137-186-220-152.abhsia.telus.net)
L728[19:54:30] <Michiyo> hmm
L729[19:54:40] <Michiyo> github.com throws a destination host unreachable on one of my VMs..
L730[20:00:20] <Elfi> Huh, I wonder what's causing it to route into a wall like that
L731[20:11:01] <Michiyo> *face desks*
L732[20:11:10] <Michiyo> Possibly the 192.0.0.0\8 route.
L733[20:11:50] <Michiyo> since github is on 192.30.etc
L734[20:13:01] <Michiyo> why... why is 192.0.0.0 in the routing table ._.
L735[20:21:14] <Michiyo> Yeah can confirm after removing the route.... Github works fine
L736[20:21:24] <Ocawes​ome101> strange
L737[20:32:03] <Z​ef> Is there a easily available distro of linux that has nothing but what you need to host a minecraft server?
L738[20:33:56] <Michiyo> @Zef I've heard MineOS mentioned before https://minecraft.codeemo.com/
L739[20:34:30] <Michiyo> I've never used it, but I know of people who have
L740[20:34:47] <Z​ef> Oh awesome, I'll try it out
L741[20:37:16] <Ocawes​ome101> ~w relay
L742[20:37:17] <ocdoc> Predicted http://ocd.cil.li/api:thread
L743[20:38:14] <Ocawes​ome101> who manages the wiki i.e. can add new pages, or is there a way for me to do it? I'd like to make one on the relay
L744[20:38:52] <Michiyo> Make an account on the wiki.
L745[20:38:58] <Michiyo> Then you too can contribute to the wiki.
L746[20:39:14] <Ocawes​ome101> I have one
L747[20:39:27] <Michiyo> Then great news!
L748[20:40:07] <Ocawes​ome101> oh, never mind
L749[20:40:18] <Ocawes​ome101> it's under `switch` for some reason
L750[20:40:39] <Michiyo> Bah, looks like page creation got restricted at some point..
L751[20:40:41] <Michiyo> it wasn't though
L752[20:40:53] <Michiyo> No
L753[20:41:05] <Ocawes​ome101> hmm
L754[20:41:13] <Michiyo> it's there.. so yeah you can create pages, just go to the non existent page, click Options and create page
L755[20:42:15] <Ocawes​ome101> oh ok
L756[20:42:17] <Ocawes​ome101> cool
L757[20:43:29] <Ocawes​ome101> is a wireless relay created by placing a wireless card into an existing Relay, or by crafting it with a wireless card?
L758[20:46:59] <Michiyo> Yeah, it's one of those.
L759[20:47:20] <Ocawes​ome101> but which one? :O
L760[20:47:44] <Michiyo> One of 'em, most likely
L761[20:47:51] <Michiyo> Possibly
L762[20:50:15] <Z​ef> well mine os immediately kernal panicked so that's a good sign
L763[20:50:27] <Ocawes​ome101> oof
L764[20:52:31] <Z​ef> So I guess it failed to mount the usb drive that it was booting off of in the first place?
L765[20:52:43] <Ocawes​ome101> ...huh
L766[20:52:46] <Z​ef> can't open /dev/sr0: no medium found
L767[20:53:00] <Z​ef> and it repeats that over and over again until dropping to a commandline
L768[20:53:08] <Z​ef> and then after a little bit kernal panicking
L769[20:54:15] <Z​ef> I guess I can try burning it to cd, if it's small enough
L770[20:54:32] <Ocawes​ome101> also turns out
L771[20:54:43] <Ocawes​ome101> wireless/linked relays are created by right-clicking
L772[20:54:47] <Ocawes​ome101> not crafting
L773[20:56:17] <Ocawes​ome101> ~w assembler
L774[20:56:17] <ocdoc> http://ocd.cil.li/block:assembler
L775[21:18:32] <Jac​kPS9> ah, much better my setup was like 50 lines, just using a bunch of functions. Now down to 25 lines and looping through an array which contains what info goes where
L776[21:24:23] <Ocawes​ome101> hmm, it appears `buffer:lines` is broken
L777[21:26:31] <Ocawes​ome101> In Open Kernel
L778[21:40:25] ⇨ Joins: Enigma (~enigma@host-89-229-168-35.dynamic.mm.pl)
L779[21:41:34] ⇦ Quits: Enigma (~enigma@host-89-229-168-35.dynamic.mm.pl) (Client Quit)
L780[21:43:48] ⇨ Joins: Enigma (~enigma@host-89-229-168-35.dynamic.mm.pl)
L781[21:45:01] ⇦ Quits: Enigma (~enigma@host-89-229-168-35.dynamic.mm.pl) (Client Quit)
L782[21:45:30] ⇨ Joins: Enigma (~enigma@host-89-229-168-35.dynamic.mm.pl)
L783[21:45:33] ⇦ Quits: Enigma (~enigma@host-89-229-168-35.dynamic.mm.pl) (Client Quit)
L784[21:46:19] ⇨ Joins: Enigma (~enigma@host-89-229-168-35.dynamic.mm.pl)
L785[21:47:15] <Enigma> .
L786[21:48:04] ⇦ Quits: Enigma (~enigma@host-89-229-168-35.dynamic.mm.pl) (Client Quit)
L787[21:48:16] ⇨ Joins: Enigma (~enigma@host-89-229-168-35.dynamic.mm.pl)
L788[21:48:24] ⇦ Quits: Enigma (~enigma@host-89-229-168-35.dynamic.mm.pl) (Client Quit)
L789[21:50:31] <B​ob> very nice
L790[22:06:21] <Inari> Indeed
L791[22:06:48] <Jac​kPS9> would a second install wipe all the already written programs?
L792[22:07:25] <Ocawes​ome101> of OpenOS?
L793[22:07:33] <Jac​kPS9> ya and just found the answer is no
L794[22:07:41] <Ocawes​ome101> ok
L795[22:07:43] <Ocawes​ome101> cool
L796[22:09:05] <Jac​kPS9> which sucks for me as I wanna wipe all the mistake files, as I have RL copies now and I made a ton of files by mistake
L797[22:11:47] <ThePi​Guy24> rm -rf /
L798[22:11:55] <ThePi​Guy24> then reinstall
L799[22:12:57] <Jac​kPS9> -rf?
L800[22:12:57] <Jac​kPS9> I understand rm, but havent seen -rf before
L801[22:13:06] <Jac​kPS9> -rf? I understand rm, but havent seen -rf before [Edited]
L802[22:13:12] <ThePi​Guy24> r = recursive, f = force
L803[22:13:17] <Jac​kPS9> ah
L804[22:13:32] <ThePi​Guy24> so: delete everything in every folder, yes im absolutely sure
L805[22:13:40] <ThePi​Guy24> so: "delete everything in every folder, yes im absolutely sure" [Edited]
L806[22:14:01] <ThePi​Guy24> add a v if you wanna see which files are being nuked
L807[22:25:17] <Ocawes​ome101> And it’s fixed. No clue why the code I had was breaking it.
L808[22:25:30] <Ocawes​ome101> Next up: OpenOS compatibility!
L809[22:27:26] <Sagh​etti> --no-preserve-root
L810[22:30:14] ⇦ Quits: simon816 (~simon816@ec2-35-178-246-72.eu-west-2.compute.amazonaws.com) (Ping timeout: 378 seconds)
L811[22:32:17] <Forec​aster> %sip
L812[22:32:18] <MichiBot> You drink a liquid void potion (New!). The bottle turns into a black trident.
L813[22:32:25] <Forec​aster> Ooh
L814[22:32:47] <Sagh​etti> %sip
L815[22:32:47] <MichiBot> You drink a solid aqua potion (New!). The next remote Sagh​etti looks for is extra hard to find.
L816[22:32:55] <Sagh​etti> dang it
L817[22:42:40] <Michiyo> %sip
L818[22:42:40] <MichiBot> You drink a stirring octiron potion (New!). A genie appears out of the empty bottle, turns it into a pie, then vanishes.
L819[22:42:47] <Michiyo> huh..
L820[23:05:14] ⇨ Joins: simon816 (~simon816@ec2-35-178-246-72.eu-west-2.compute.amazonaws.com)
L821[23:08:59] ⇦ Quits: Inari (~Pinkishu@pD9E8F5E9.dip0.t-ipconnect.de) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
L822[23:46:25] <Jac​kPS9> anyway to use clear from a file?
L823[23:49:02] <CompanionCube> y'all should see this wankery: https://twitter.com/JoshuaPotash/status/1235696925778653185?ref_src=twsrc%5Ewtf
<<Prev Next>> Scroll to Top