<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:01:07] <Izaya> güs
L2[00:02:20] <Ariri> gyus
L3[00:04:13] <Z​ef> g
L4[00:18:55] ⇦ Quits: Ariri (~Ariri@2605:e000:1220:8039:5403:f93c:1512:788d) (Ping timeout: 202 seconds)
L5[00:26:49] ⇨ Joins: Ariri (~Ariri@2605:e000:1220:8039:5403:f93c:1512:788d)
L6[00:29:47] ⇨ Joins: AdorableCatgirl (~sam@pool-71-176-252-72.rcmdva.fios.verizon.net)
L7[00:29:54] <AdorableCatgirl> hi
L8[00:30:00] <AdorableCatgirl> i am working on my package manager
L9[00:30:14] <AdorableCatgirl> in the words of Izaya
L10[00:30:18] <AdorableCatgirl> "why do I get the feeling this will be over-engineered"
L11[00:32:59] <Ar​iri> My DNS server thinks there's 183 clients... RIP rPi CPU
L12[00:33:10] <Sagh​etti> why do I get the feeling this will be over-engineered
L13[00:37:11] <Amanda> %8ball rain box time?
L14[00:37:12] <MichiBot> Ama​nda: My reply is no
L15[00:37:13] <Michiyo> @Ariri, sorry reporting error, it's actually 831
L16[00:39:29] <Ar​iri> Heck gosh!
L17[00:57:58] <Amanda> %tell Inari me when you try with your foxes are better bs https://i.imgur.com/1LngwGt.jpg
L18[00:57:58] <MichiBot> Amanda: Inari will be notified of this message when next seen.
L19[01:01:23] <ThePi​Guy24> %tonk
L20[01:01:23] <MichiBot> Dagnammit! ThePi​Guy24! You beat Ocawes​ome101's previous record of 2 hours, 6 minutes and 8 seconds (By 10 minutes and 9 seconds)! I hope you're happy!
L21[01:01:24] <MichiBot> ThePiGuy24's new record is 2 hours, 16 minutes and 17 seconds! ThePiGuy24 also gained 0.00051 (0.00017 x 3) tonk points for stealing the tonk. Position #8. Need 0.00033 more points to pass Ocawes​ome101!
L22[01:06:46] <Ar​iri> Heh, I'm going to use that comic
L23[01:09:07] <DaCompu​terNerd> %sip
L24[01:09:07] <MichiBot> You drink a sour sapphire potion (New!). DaCompu​terNerd feels like one particular wasp has it out for them suddenly.
L25[01:09:14] <DaCompu​terNerd> they all do
L26[01:17:05] <Ocawes​ome101> Open Kernel 2's scheduler is now working :D I can display basic process info, and also kill processes
L27[01:17:17] <Ocawes​ome101> the shell is a bit basic but will improve with time
L28[01:24:46] <ThePi​Guy24> nice
L29[01:25:28] <Ocawes​ome101> I'm currently working on improving my user system
L30[01:27:40] <Ocawes​ome101> how's your OS coming?
L31[01:28:46] <Ocawes​ome101> @ThePiGuy24 ^^^
L32[01:41:20] <ThePi​Guy24> it has a not functional shell
L33[01:42:27] ⇦ Quits: Ariri (~Ariri@2605:e000:1220:8039:5403:f93c:1512:788d) (Ping timeout: 202 seconds)
L34[01:43:43] <Ocawes​ome101> I mean, that's better than just displaying info about stuff
L35[01:46:06] <ThePi​Guy24> no its worse
L36[01:46:10] <ThePi​Guy24> it just errors out
L37[01:46:44] ⇨ Joins: Ariri (~Ariri@2605:e000:1220:8039:78b2:1e98:5203:bff5)
L38[01:46:53] <Ocawes​ome101> oh
L39[01:46:57] <Ocawes​ome101> `pcall` time
L40[01:48:59] <Sagh​etti> xpcall is better
L41[01:49:09] <Sagh​etti> you can get stack traces
L42[01:49:53] ⇦ Quits: Fridtjof (znc@thonk.9net.org) (Quit: ZNC - http://znc.in)
L43[01:49:58] ⇦ Quits: Stary (znc@thonk.9net.org) (Quit: ZNC - http://znc.in)
L44[01:49:58] ⇦ Quits: CompanionCube (znc@thonk.9net.org) (Quit: ZNC - http://znc.in)
L45[01:50:14] <Ocawes​ome101> you could also do what I did in Open Kernel 2 and wrap `error` so that if you give it an error level of -1 it kernel panics with a stacktrace
L46[01:53:05] <ThePi​Guy24> hmm
L47[02:00:48] ⇨ Joins: dabako (webchat@HSI-KBW-109-193-052-191.hsi7.kabel-badenwuerttemberg.de)
L48[02:04:32] ⇨ Joins: Stary (znc@raunio.me)
L49[02:04:59] <dab​ako> Hello, am I here right to ask questions? I am programming now the last 3 hours on one thing that I dont get to work and I'm so frustrated because I can't find any help online. But I think its a lua question...
L50[02:05:08] <M​GR> %hello
L51[02:05:08] <MichiBot> M​​GR: Hello! Welcome to #oc! The one and only opencomputers channel! Please ask your questions directly (dont ask to ask) and provide error/code examples! (Use pastebin.com if theyre more than one line!) Dont mind the random conversation you might have walked into.
L52[02:05:12] <Sagh​etti> yeah this is the right place
L53[02:05:24] ⇨ Joins: Fridtjof (znc@thonk.9net.org)
L54[02:05:29] <Sagh​etti> is it about opencomputers?
L55[02:05:40] <Sagh​etti> or just lua in general
L56[02:05:58] <dab​ako> Yes I want to make a Mining script on my own
L57[02:05:59] <Z​ef> If it's in opencomputers we ~~maybe~~ can help
L58[02:06:08] ⇨ Joins: CompanionCube (znc@thonk.9net.org)
L59[02:06:13] <Sagh​etti> send your current script
L60[02:06:21] <Sagh​etti> what's wrong with it?
L61[02:07:09] <Z​ef> Upload to pastebin preferably
L62[02:07:31] <Sagh​etti> ^
L63[02:07:33] <dab​ako> Yes I am uploading right now, one moment
L64[02:09:30] <dab​ako> He makes 25 steps forward but then the script crashes with
L65[02:11:13] <Z​ef> functions is a nil value
L66[02:11:26] <Z​ef> Do you have functions.lua in the right folder?
L67[02:11:34] <Z​ef> I don't remember what folder it has to be in
L68[02:11:47] <dab​ako> its in the same folder as the minernew.lua
L69[02:11:59] <Sagh​etti> Code Block pastebined https://paste.pc-logix.com/icofujiguw
L70[02:12:00] <Sagh​etti> ??????
L71[02:12:22] <Adorabl​eCatgirl> benis
L72[02:12:26] <Adorabl​eCatgirl> ha ha ha
L73[02:12:28] <Adorabl​eCatgirl> funni
L74[02:12:31] <dab​ako> whoops I forgot to change that 😮 Sorry
L75[02:12:51] <Adorabl​eCatgirl> anyways
L76[02:12:57] <Adorabl​eCatgirl> fennec will also be overly complicated
L77[02:13:04] <Z​ef> hey ain't nothing wrong with a little penis
L78[02:13:27] <Adorabl​eCatgirl> like christ fennec is complicated
L79[02:13:45] <Sagh​etti> print(#penis)
L80[02:13:47] <Sagh​etti> `0`
L81[02:13:54] <Adorabl​eCatgirl> o o f
L82[02:14:51] <Sagh​etti> what is `penis` even for
L83[02:15:09] <Sagh​etti> it's a table that gets compared to 1 or 0
L84[02:15:18] <Sagh​etti> which will never be true because its not a number
L85[02:15:26] <Sagh​etti> and i don't see if it gets set anywhere else
L86[02:15:27] <dab​ako> it was turnedLeft but i got frustrated
L87[02:15:51] <Sagh​etti> ok
L88[02:16:42] <Amanda> I, too name variables after sexual organs when frustrated.
L89[02:17:03] <Amanda> actually that's a lie.
L90[02:17:10] <dab​ako> https://pastebin.com/dqfnwaPa
L91[02:17:17] <Amanda> I make printf stories about a princess finding a jetpack and escaping
L92[02:17:53] <Sagh​etti> i still don't know why you're doing `if (turnedLeft == 1) then`
L93[02:17:55] <Sagh​etti> it's a table
L94[02:17:56] <Z​ef> Instead of having a seperate file for functions
L95[02:18:05] <Z​ef> Make it all a single file since you're still learning
L96[02:18:07] <Adorabl​eCatgirl> i get angry and make mean comments
L97[02:18:20] <Adorabl​eCatgirl> and sometimes it fucking works
L98[02:18:25] <Z​ef> I scream and suffer
L99[02:18:26] <Adorabl​eCatgirl> ALL I DID WAS ADD COMENTS
L100[02:18:37] <Adorabl​eCatgirl> WHY DID COMMENTS SUDDENLY FIX MY SYNTAX ERROR
L101[02:18:39] <Sagh​etti> unit test passed
L102[02:18:50] <Adorabl​eCatgirl> WHY DID COMMENTS SUDDENLY FIX MY FUCKING ATTEMPT TO INDEX A NIL VALUE ERROR
L103[02:18:51] <Adorabl​eCatgirl> WHAT THE FUCK
L104[02:19:16] <Sagh​etti> :ThonkSpin:
L105[02:19:19] <dab​ako> I tried it in the same file but then it uses the function before I call it
L106[02:19:23] <Adorabl​eCatgirl> but like
L107[02:19:31] <Adorabl​eCatgirl> the bane of my existance
L108[02:19:35] <Adorabl​eCatgirl> is "internal compiler error"
L109[02:19:43] <Sagh​etti> oh no
L110[02:19:46] <Adorabl​eCatgirl> thanks gcc
L111[02:19:49] <Adorabl​eCatgirl> very cool
L112[02:20:00] <Adorabl​eCatgirl> i could never tell if it was my code
L113[02:20:01] <Adorabl​eCatgirl> or
L114[02:20:09] <Adorabl​eCatgirl> my CPU fucking dying as the PSU voltage dips
L115[02:20:26] <Sagh​etti> maybe an oom exception?
L116[02:20:43] <Adorabl​eCatgirl> because i had one instance where it was some funky code that made GCC fucking die
L117[02:20:47] <Amanda> I got a lot of those when I was making 6502 code inC++
L118[02:20:57] <Adorabl​eCatgirl> also no, it was a shitty PSU
L119[02:21:00] <Adorabl​eCatgirl> said 450W
L120[02:21:06] <Adorabl​eCatgirl> only did 200W before the voltage collapsed
L121[02:22:00] <Amanda> Anyway, I'm going to go join a witches coven in the woods, disavow the partiarchy and have relations with other women
L122[02:22:02] <Adorabl​eCatgirl> i was rocking a 3GHz Q6600 at time time so
L123[02:22:04] <Amanda> ttfn, nerds
L124[02:22:19] <Adorabl​eCatgirl> that 200W limit was hit
L125[02:22:20] <Adorabl​eCatgirl> a lot
L126[02:22:34] <dab​ako> @Saghetti Okay and how do i make turnedLeft to a variable? do I have to make local turnedLeft = ()?
L127[02:22:48] <Adorabl​eCatgirl> what
L128[02:22:49] <Sagh​etti> local turnedLeft = 0
L129[02:22:57] <Sagh​etti> or local turnedLeft = 1
L130[02:23:08] <Sagh​etti> to initialize it to 0 or 1 respectively
L131[02:23:41] <Adorabl​eCatgirl> OH YEAH
L132[02:23:42] <Adorabl​eCatgirl> CTF TIME
L133[02:23:53] <Adorabl​eCatgirl> AND THERE'S A LINUX VM
L134[02:23:55] <Adorabl​eCatgirl> WHICH USES GNOME
L135[02:24:12] <Adorabl​eCatgirl> TIME TO ESCALATE MY PRIVILEGES
L136[02:24:21] <Sagh​etti> opencomputers ctf?
L137[02:24:27] <Sagh​etti> that would be cool
L138[02:24:39] <Adorabl​eCatgirl> no
L139[02:24:56] <dab​ako> i thougt i had to initialize it in the minernew and get it to the function because i want to tell the function throgh turnLeft if it has to go to the left or right
L140[02:24:58] <Sagh​etti> ok
L141[02:25:13] <Sagh​etti> :waitwhat:
L142[02:25:19] <Sagh​etti> confused as to what's happening here
L143[02:25:28] <Sagh​etti> just pass the variable in to the function
L144[02:25:45] <Sagh​etti> wait you're already doing that
L145[02:27:35] <Sagh​etti> ok so
L146[02:27:54] <Sagh​etti> you overwrite the variable turnedLeft on line 2 of functions.lua
L147[02:28:02] <Sagh​etti> remove that
L148[02:28:27] <Sagh​etti> if you have `function turnRobot(turnedLeft)`, it automatically creates the variable turnedLeft
L149[02:28:41] <Sagh​etti> trying to initialize it just overwrites the value
L150[02:29:50] <Sagh​etti> and what does this code do?
L151[02:29:51] <Sagh​etti> Code Block pastebined https://paste.pc-logix.com/ipaqiqapuj
L152[02:29:51] <Sagh​etti> minernew.lua:5
L153[02:29:56] <Sagh​etti> and what does this code do?
L154[02:29:56] <Sagh​etti> Code Block pastebined https://paste.pc-logix.com/fisiwuquteminernew.lua:5 [Edited]
L155[02:30:31] <dab​ako> okay i tried that but then this error comes again the error from my first screenshot
L156[02:30:58] <dab​ako> without rawget my modulo didn't work
L157[02:32:32] <Sagh​etti> :waitwhat: :waitwhat: :waitwhat:
L158[02:32:45] <Sagh​etti> where did you get `o` from?
L159[02:32:49] <Sagh​etti> what is ev?
L160[02:33:02] <Sagh​etti> what is `__ev`? [Edited]
L161[02:33:25] <dab​ako> I don't know that was what duck duck go got me after i tried seraching to get modulo to work
L162[02:34:04] <dab​ako> Okay now modulo works without that line o.O
L163[02:34:09] <Sagh​etti> yeah...
L164[02:34:29] <dab​ako> Lua confuses me alot
L165[02:34:29] <MichiBot> ALOT: http://tinyurl.com/y42zurt
L166[02:34:59] <The_St​argazer> michibot now is not the time to use that
L167[02:35:14] <Z​ef> didn't michibot used to have a response if you said LUA
L168[02:35:14] <MichiBot> Lua*
L169[02:35:21] <Ocawes​ome101> lol
L170[02:35:23] <Z​ef> yeah I guess so lol
L171[02:35:39] <Sagh​etti> alot
L172[02:35:40] <MichiBot> ALOT: http://tinyurl.com/y42zurt
L173[02:35:43] <Sagh​etti> oh ok
L174[02:36:04] <Sagh​etti> dabako: you confuse me a lot
L175[02:36:08] <Sagh​etti> sorry
L176[02:36:40] <dab​ako> It's okay I am also confused from me
L177[02:38:01] <Sagh​etti> why don't you have turnRobot in the same file
L178[02:38:05] <Sagh​etti> it will make it a lot simpler
L179[02:38:22] <Sagh​etti> and you won't get the `attempt to call nil` problem
L180[02:38:55] <dab​ako> Yeah but I really don't know how o.O I tried that but then everytime I ran newminer.lua he started with turnRobot
L181[02:39:03] <The_St​argazer> usually your programs should either be just a program (e.g. `cat`) or a program and a lib (e.g. `simple` and `libsimple`)
L182[02:39:32] <Sagh​etti> wait
L183[02:39:35] <Sagh​etti> so if you put in the function
L184[02:39:46] <Sagh​etti> it ran turnRobot first?
L185[02:40:12] <dab​ako> yes
L186[02:42:33] <Sagh​etti> https://pastebin.com/pvHqAUDk
L187[02:42:41] <Sagh​etti> this should work
L188[02:43:04] <dab​ako> Okay thanks i try it
L189[02:46:00] <The_St​argazer> alright, questiom
L190[02:46:04] <The_St​argazer> alright, question [Edited]
L191[02:46:11] <Z​ef> state your question
L192[02:46:33] <The_St​argazer> should I include OPPM as one whole package group or should I split it up into several groups based on program authors
L193[02:47:00] <The_St​argazer> i want `simple` to include OPPM packages
L194[02:47:16] <Sagh​etti> overengineering in 3.. 2.. 1..
L195[02:49:14] <dab​ako> @Saghetti okay the old error is gone but now it only prints "function: 0x7feee406c240 but he does not turn o.O
L196[02:50:04] <Sagh​etti> so
L197[02:50:31] <Sagh​etti> you're trying to print the result of `turnedLeft = turnRobot(turnedLeft)`
L198[02:50:37] <Sagh​etti> let's check out turnRobot
L199[02:50:50] <Sagh​etti> what value does it return?
L200[02:50:52] <Sagh​etti> `return turnRobot;`
L201[02:50:59] <Sagh​etti> it returns itself, a fuction
L202[02:51:14] <The_St​argazer> oh yeah i always wondered what the hex string was
L203[02:51:16] <Sagh​etti> when you try and print out a function, it puts that on the screen
L204[02:51:19] <The_St​argazer> is it a RAM location?
L205[02:51:26] <Sagh​etti> it's the address to the function
L206[02:51:30] <Sagh​etti> i assume
L207[02:51:42] <The_St​argazer> the what
L208[02:51:54] <Sagh​etti> the memory address to the function
L209[02:52:19] <The_St​argazer> so yeah
L210[02:52:22] <The_St​argazer> a RAM location
L211[02:52:32] <The_St​argazer> also hOLY SHIT Theia's autocomplete is amazing
L212[02:52:35] <Sagh​etti> sure
L213[02:52:48] <Sagh​etti> python does the same thing
L214[02:52:48] <Sagh​etti> Code Block pastebined https://paste.pc-logix.com/xesucadaci
L215[02:53:11] <The_St​argazer> i just have to type `repod` and it autocompletes `repoData`
L216[02:53:28] <The_St​argazer> well actually, `rep<TAB>`
L217[02:53:45] ⇨ Joins: oktwowo (~oktwowo@218-161-62-149.HINET-IP.hinet.net)
L218[02:54:24] <Sagh​etti> is this theia? https://github.com/eclipse-theia/theiahttps://github.com/eclipse-theia/theia
L219[02:54:32] <Sagh​etti> is this theia? https://github.com/eclipse-theia/theia [Edited]
L220[02:54:36] <The_St​argazer> yeah
L221[02:54:41] <The_St​argazer> google cloud shell's editor uses it
L222[02:54:43] <Sagh​etti> why does it keep pasting double?
L223[02:54:46] <Sagh​etti> https://github.com/eclipse-theia/theia
L224[02:54:51] <Sagh​etti> hmm
L225[02:54:52] <The_St​argazer> not for me
L226[02:54:59] <dab​ako> Oh yes
L227[02:54:59] <dab​ako> I feel very stupid right now. I think then i should return turnedLeft? So he saves the variable?
L228[02:55:06] <The_St​argazer> i hit ctrl-v and whats in my clipboard gets pasted once
L229[02:55:10] <The_St​argazer> (which is `7feee406c240`)
L230[02:55:11] <Sagh​etti> yeah
L231[02:55:18] <Sagh​etti> you have some ambiguity with your variable names
L232[02:55:25] <The_St​argazer> also
L233[02:55:32] <The_St​argazer> instead of using 0 for false and 1 for true
L234[02:55:35] <The_St​argazer> use booleans
L235[02:55:45] <Sagh​etti> also this should be turnedLeft:
L236[02:55:50] <The_St​argazer> (`true`/`false`)
L237[02:55:51] <Sagh​etti> line 28
L238[02:55:56] <Sagh​etti> Code Block pastebined https://paste.pc-logix.com/gijuxafudi
L239[02:56:07] <The_St​argazer> using numbers for booleans is just no
L240[02:56:11] <The_St​argazer> i mean
L241[02:56:12] <Sagh​etti> yeah ik
L242[02:56:15] <Sagh​etti> just trying to fix it for now
L243[02:56:20] <The_St​argazer> unless you are an absolute byte conversation activist
L244[02:56:29] <The_St​argazer> where "every byte counts"
L245[02:56:48] <The_St​argazer> like i used to use stuff like `net` and `com` for `internet` and `component`
L246[02:56:53] <The_St​argazer> but i'd always end up typing the latter
L247[02:57:00] <The_St​argazer> so i just switched to always use the latter
L248[02:57:08] <Sagh​etti> https://mothereff.in/lua-minifier
L249[02:57:10] <Sagh​etti> you're welcome
L250[02:57:30] <The_St​argazer> uses crunch instead of minifying
L251[02:57:33] <The_St​argazer> lz77 compression
L252[02:57:46] <Sagh​etti> lzss ftw
L253[02:58:09] <The_St​argazer> lzss?
L254[02:58:48] <Sagh​etti> it's like lz77
L255[02:58:53] <Sagh​etti> but more optomized
L256[02:58:56] <Sagh​etti> it's a derivitive
L257[02:58:56] <Sagh​etti> https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Storer%E2%80%93Szymanski
L258[02:59:05] <The_St​argazer> is there an oc lib?
L259[02:59:33] <Sagh​etti> no need
L260[02:59:52] <Sagh​etti> Code Block pastebined https://paste.pc-logix.com/eluwuzuzot
L261[02:59:53] <The_St​argazer> also what language is that
L262[02:59:53] <Sagh​etti> decompressor right there
L263[02:59:53] <Sagh​etti> that's lua
L264[02:59:53] <The_St​argazer> no
L265[02:59:59] <The_St​argazer> `Lempel-Ziv-Storer-Szymanski`
L266[03:00:03] <The_St​argazer> The heck kinda language is that
L267[03:00:07] <Sagh​etti> last names
L268[03:00:10] <The_St​argazer> Oh
L269[03:00:25] <The_St​argazer> What's the `Lempel-Ziv` for
L270[03:00:26] <Sagh​etti> kek
L271[03:00:45] <Sagh​etti> from lz77
L272[03:00:57] <Sagh​etti> > published in papers by Abraham Lempel and Jacob Ziv
L273[03:01:03] <The_St​argazer> ohh
L274[03:01:17] <Sagh​etti> more last names
L275[03:01:24] <Adorabl​eCatgirl> L Z S S
L276[03:01:29] <The_St​argazer> right, so is there a compressor for LZSS in Lua?
L277[03:01:32] <Sagh​etti> l z s s
L278[03:01:41] <The_St​argazer> `l z s s`
L279[03:01:47] <Sagh​etti> Code Block pastebined https://paste.pc-logix.com/corinekose
L280[03:01:50] <Adorabl​eCatgirl> also yeag
L281[03:01:56] <Adorabl​eCatgirl> *yeah
L282[03:02:00] <Adorabl​eCatgirl> lemme find the lib
L283[03:02:04] <The_St​argazer> can i get the unminified version
L284[03:02:16] <dab​ako> @Saghetti Thank you so much. It worked now, I changed it to booleans, it was 0 and 1 because it bugged and I did not know if the booleans where the faulty part
L285[03:02:21] <Sagh​etti> here's a good implementation
L286[03:02:22] <Sagh​etti> https://github.com/kieselsteini/lzss/blob/master/lzss.lua
L287[03:02:30] <Adorabl​eCatgirl> https://github.com/kieselsteini/lzss
L288[03:02:30] <Sagh​etti> also @dabako you're welcome
L289[03:03:07] <dab​ako> I still have to learn a lot
L290[03:03:22] <Sagh​etti> and that's fine
L291[03:03:26] <Sagh​etti> we all started somewhere
L292[03:03:29] <The_St​argazer> ^
L293[03:03:29] <Sagh​etti> not knowing anything
L294[03:03:34] <The_St​argazer> i started knowing jack shit
L295[03:03:36] <The_St​argazer> and look at me now
L296[03:03:41] <The_St​argazer> im writing a fucking package manager ol
L297[03:03:42] <The_St​argazer> im writing a fucking package manager lol [Edited]
L298[03:03:50] <The_St​argazer> also minicord.
L299[03:03:59] <Sagh​etti> do you want to join our cult?
L300[03:04:04] <The_St​argazer> cult of what
L301[03:04:08] <The_St​argazer> package manager devs?
L302[03:04:23] <Sagh​etti> cult of unmanaged drives
L303[03:04:30] <The_St​argazer> i don't know how they work tho
L304[03:04:36] <Sagh​etti> it's easy
L305[03:04:43] <The_St​argazer> but now i wanna make a filesystem
L306[03:04:52] <Sagh​etti> we already made openf
L307[03:04:54] <Sagh​etti> we already made openfs [Edited]
L308[03:04:57] <Sagh​etti> ocawesome and i
L309[03:04:58] <The_St​argazer> yeah but is it simple
L310[03:05:07] <The_St​argazer> is it easy to use by the newest of users
L311[03:05:10] <Sagh​etti> pretty simple as far as filesystems go
L312[03:05:21] <The_St​argazer> how simple
L313[03:05:21] <Sagh​etti> we're still working on the whole ease-of-use
L314[03:05:36] <Sagh​etti> this is still all drafts and stuff
L315[03:05:38] <The_St​argazer> i kinda wanna make `simplefs`
L316[03:05:48] <The_St​argazer> the simple line of products
L317[03:05:49] <Sagh​etti> perfect
L318[03:05:52] <Sagh​etti> it fits in 8 chars
L319[03:05:53] <The_St​argazer> `simple` and `simplefs`
L320[03:05:58] <The_St​argazer> it does indeed
L321[03:06:03] <Sagh​etti> why do you need your own fs?
L322[03:06:07] <The_St​argazer> i don't lol
L323[03:06:13] <Sagh​etti> ok
L324[03:06:18] <Sagh​etti> and i already made something simple af
L325[03:06:26] <The_St​argazer> you guys can steal `simplefs` as long as i get credited
L326[03:06:37] <Sagh​etti> max 32 files, max file size of 64kb, no folders
L327[03:06:40] <Sagh​etti> it's called BROFS
L328[03:06:46] <The_St​argazer> what's the bro stand for
L329[03:06:53] <Sagh​etti> for Bootloader Read-Only File System
L330[03:07:02] <The_St​argazer> ah
L331[03:07:11] <The_St​argazer> designed to be for bootloaders im guessin
L332[03:07:12] <Sagh​etti> it's simple because it's read only
L333[03:07:15] <Sagh​etti> yep
L334[03:07:30] <Sagh​etti> so the bootloader needs to be able to easily read files from the fs
L335[03:07:34] <The_St​argazer> wait if it read only
L336[03:07:40] <The_St​argazer> how the fuck you write your boot stuff to it
L337[03:07:49] <Sagh​etti> use a tool to build the filesystem
L338[03:07:53] <The_St​argazer> ah
L339[03:08:59] <Sagh​etti> and technically nothing is read-only
L340[03:09:21] <Sagh​etti> but writing a file requires you to rebuild the entirety of the filesystem
L341[03:09:29] <Sagh​etti> so i'll just make the drivers read-only
L342[03:09:48] <Sagh​etti> do you want a quick run-down on unmanaged drives?
L343[03:10:20] <The_St​argazer> yes
L344[03:10:25] <Sagh​etti> so
L345[03:10:29] <The_St​argazer> ~~i could write a drive manager~~
L346[03:10:29] <Sagh​etti> the drive is split up into sectors
L347[03:10:36] <The_St​argazer> do we have a drive manager
L348[03:10:39] <Sagh​etti> each one containing 512 characters (bytes)
L349[03:10:39] ⇦ Quits: oktwowo (~oktwowo@218-161-62-149.HINET-IP.hinet.net) (Ping timeout: 202 seconds)
L350[03:10:47] <The_St​argazer> wait isn't that how real hdds work
L351[03:10:50] <Sagh​etti> yes
L352[03:11:01] <Sagh​etti> ocawesome wrote a tool for formatting and partitioning drives
L353[03:11:11] <Sagh​etti> so yeah the drive is made of sectors
L354[03:11:16] <Sagh​etti> you can read and write data to sectors
L355[03:11:20] <Sagh​etti> and that's about it lol
L356[03:11:26] <The_St​argazer> does ocvm support them
L357[03:11:43] <Sagh​etti> i think it's just OCEmu
L358[03:11:44] <The_St​argazer> and does openos work on them at all
L359[03:11:47] <The_St​argazer> oh rip
L360[03:11:54] <The_St​argazer> ocemu does a die when tryna use the internet card
L361[03:12:02] <The_St​argazer> gamax92's or zen1ths?
L362[03:12:03] <Sagh​etti> openos doesn't work on them, but there's a solution
L363[03:12:07] <Sagh​etti> gamax
L364[03:12:16] <Sagh​etti> Introducing virtual filesystem drivers!
L365[03:12:53] <Sagh​etti> so when the OS gets loaded by the bootloader, the bootloader provides a fake filesystem component
L366[03:13:13] <Sagh​etti> so to openos, it looks like it's running on just an ordinary managed drive
L367[03:13:24] <Sagh​etti> but all of that is being managed by transparent drivers
L368[03:13:30] <Sagh​etti> provided by the bootloader
L369[03:16:53] <The_St​argazer> right
L370[03:26:59] <AdorableCatgirl> wait did i mention OSDI works
L371[03:27:53] <The_St​argazer> osdwhat
L372[03:28:09] <AdorableCatgirl> partitioning format
L373[03:28:31] <The_St​argazer> oh
L374[03:35:22] <Sagh​etti> OpenUPT master race
L375[03:41:04] <Adorabl​eCatgirl> eh
L376[03:41:05] <Adorabl​eCatgirl> nah
L377[03:41:10] <Adorabl​eCatgirl> also
L378[03:41:12] <Adorabl​eCatgirl> "Life is not all hookers and theoretical physics, my friend."
L379[03:51:58] <ThePi​Guy24> %tonkout
L380[03:51:59] <MichiBot> Dogast! ThePi​Guy24! You beat your own previous record of 2 hours, 16 minutes and 17 seconds (By 34 minutes and 17 seconds)! I hope you're happy!
L381[03:52:00] <MichiBot> ThePi​Guy24 has tonked out! Tonk has been reset! They gained 0.002 tonk points! plus 0.002 bonus points for consecutive hours! Current score: 0.04757, Position #8 => #7 Need 0.02487 more points to pass Ko​dos!
L382[03:52:45] <ThePi​Guy24> ayy back into 7th place
L383[03:53:32] ⇦ Quits: ben_mkiv|afk (~ben_mkiv@mue-88-130-63-008.dsl.tropolys.de) (Ping timeout: 378 seconds)
L384[04:05:38] <The_St​argazer> how do i gsub specific parts of text?
L385[04:06:24] <The_St​argazer> I have the string `Package "[package name]" At "[package url]"`
L386[04:26:21] ⇨ Joins: Aririi (~Ariri@cpe-104-33-151-189.socal.res.rr.com)
L387[04:28:35] ⇦ Quits: Ariri (~Ariri@2605:e000:1220:8039:78b2:1e98:5203:bff5) (Ping timeout: 202 seconds)
L388[04:30:49] ⇦ Quits: Aririi (~Ariri@cpe-104-33-151-189.socal.res.rr.com) (Client Quit)
L389[04:32:58] <Izaya> ~w patterns
L390[04:32:58] <ocdoc> Predicted http://www.lua.org/manual/5.2/manual.html#pdf-pairs
L391[04:33:03] <Izaya> ~w pattern
L392[04:33:03] <ocdoc> Predicted http://ocd.cil.li/block:adapter
L393[04:33:18] <Izaya> https://www.lua.org/manual/5.3/manual.html#6.4.1
L394[04:34:01] <The_St​argazer> thanks
L395[04:54:12] <The_St​argazer> i think my friend is dumb
L396[04:54:15] <The_St​argazer> he tried `serID = message.content:gsub(settings.prefix.."getuser%s", "",%D)`
L397[04:54:29] <The_St​argazer> which ofc wont work bc a) gsub only takes two args and b) `%D` isnt even a fucking string
L398[04:55:49] <CompanionCube> %loot
L399[04:55:49] <MichiBot> Compan​ionCube: You get a loot box! It contains a box full of wasps. (Junk)
L400[04:55:58] <CompanionCube> goddammit
L401[04:56:49] <The_St​argazer> %tonk
L402[04:56:49] <MichiBot> Potzblitz! The_St​argazer! You beat ThePi​Guy24's previous record of <0 (By 1 hour, 4 minutes and 50 seconds)! I hope you're happy!
L403[04:56:50] <MichiBot> The_Stargazer's new record is 1 hour, 4 minutes and 50 seconds! The_Stargazer also gained 0.00108 tonk points for stealing the tonk. Position #10. Need 0.01647 more points to pass Mim​iru!
L404[04:57:43] <The_St​argazer> oh look
L405[04:57:54] <The_St​argazer> it works now that he does `userID:gsub("%D", "")`
L406[05:02:07] <Amanda> %fling the box full of wasps at the nearest bonfire
L407[05:02:07] <MichiBot> Ama​nda flings the box full of wasps in a random direction. It hits the ground near the nearest bonfire
L408[05:02:08] <The_St​argazer> mmm yes, chaining gsubs
L409[05:02:54] * Amanda cackles evilly, collects Elfi and runs off to hide in the woods and sleep
L410[05:12:30] <Sagh​etti> %loot
L411[05:12:30] <MichiBot> Sagh​​etti: You get a loot box! It contains a lootcrate. (Junk)
L412[05:12:44] <Sagh​etti> microtransactions 🙄
L413[05:13:52] <The_St​argazer> ok why does ocvm reset on boot
L414[05:13:59] <The_St​argazer> that makes it a pain to program in it
L415[05:14:42] <The_St​argazer> oh it makes a `tmp` dir in the current dir
L416[05:18:21] <The_St​argazer> wtf
L417[05:18:28] <The_St​argazer> oh
L418[05:18:28] <The_St​argazer> nvm
L419[05:18:29] <The_St​argazer> im dumb
L420[05:18:33] <The_St​argazer> forgot to make a file
L421[05:19:13] <Ocawes​ome101> you can pass a custom dir as an argument
L422[05:19:26] <Ocawes​ome101> i.e. `ocvm ~/Documents/openkernel2`
L423[05:20:33] <The_St​argazer> `[string "machine.lua"]:1055: bad arguments #2 (number expected, got string) ` ok what
L424[05:20:49] <The_St​argazer> why is `machine.lua` erroring
L425[05:21:05] <The_St​argazer> brg
L426[05:21:07] <The_St​argazer> brb [Edited]
L427[05:21:14] <Ocawes​ome101> OCVM doesn't error the same way as OC
L428[05:29:11] <The_St​argazer> Oh
L429[05:29:17] <The_St​argazer> Then what's causing that error?
L430[05:29:27] <The_St​argazer> My program?
L431[05:29:30] <Ocawes​ome101> yes
L432[05:29:33] <The_St​argazer> oh
L433[05:29:42] <Ocawes​ome101> You're passing a string somewhere
L434[05:29:43] <The_St​argazer> i thought that if machine.lua errored something internally was wrong
L435[05:29:47] <Ocawes​ome101> nope
L436[05:30:03] <Ocawes​ome101> in-game yes, in ocvm that's a regular occurrence
L437[05:30:11] <The_St​argazer> ohh
L438[05:30:57] <Ocawes​ome101> OCEmu doesn't usually throw `machine.lua` errors either
L439[05:31:29] <The_St​argazer> can `internetSocket.read()` be used with `"*a"`?
L440[05:38:12] <Ocawes​ome101> no idea
L441[05:46:51] <Sagh​etti> maybe
L442[05:46:57] <Sagh​etti> it should be like a file descriptor
L443[05:52:37] <The_St​argazer> is it `:read()` or `.read()`?
L444[05:52:58] <Ocawes​ome101> `.read()`
L445[05:53:01] <The_St​argazer> ah
L446[05:53:07] <Ocawes​ome101> `internet.connect` returns userdata
L447[05:53:20] <The_St​argazer> yeah there we go
L448[05:53:28] <The_St​argazer> `.read()` fixed it
L449[05:53:35] <The_St​argazer> does `io.open` need a mode?
L450[05:57:22] <The_St​argazer> `/lib/buffer.lua:118: attempt to index a nil value (field 'mode') `
L451[05:59:09] ⇦ Quits: Thutmose (~Patrick@host-69-59-79-181.nctv.com) (Quit: Leaving.)
L452[05:59:13] <Ocawes​ome101> probably
L453[05:59:21] <Ocawes​ome101> given the error you're getting
L454[06:00:09] <The_St​argazer> i have `local sourcesFile = io.open("/etc/simple/sources", "r")` but i still get that error
L455[06:03:06] <Ocawes​ome101> huh
L456[06:03:23] <Ocawes​ome101> if you remove "r" maybe?
L457[06:04:20] <The_St​argazer> same error
L458[06:04:35] <Izaya> ayy
L459[06:05:02] <Izaya> my recipes and oredict db only use 322KB
L460[06:05:11] <The_St​argazer> the hecc that for
L461[06:05:15] <Ocawes​ome101> strange
L462[06:05:19] <Izaya> autocrafting
L463[06:05:28] <The_St​argazer> from OC?
L464[06:05:32] <Izaya> I have the shaped recipe for every item in the game
L465[06:05:34] <Izaya> yup
L466[06:05:42] <The_St​argazer> using AE2?
L467[06:05:46] <Izaya> nah fuck AE2
L468[06:05:52] <Izaya> not a fan of magic mods like AE2
L469[06:06:04] <Izaya> I'm using MT-RPC to feed recipes to a robot which pulls the items from my storage system
L470[06:06:29] <The_St​argazer> MT-what
L471[06:06:36] <Izaya> Minitel Remote Procedure Call
L472[06:06:39] <The_St​argazer> Ah
L473[06:07:22] <Izaya> it's what exportcomponent and importcomponent use
L474[06:07:23] <Izaya> :D
L475[06:08:02] <The_St​argazer> just googled that, apparently its for computer A -> computer B communication between programs
L476[06:08:02] <The_St​argazer> answer me this: why the fuck does windows need that as a core component even when not connected
L477[06:08:07] <The_St​argazer> even old ones like XP
L478[06:08:27] <Izaya> because you can use RPC to call functions on the local machine
L479[06:08:31] <The_St​argazer> what
L480[06:08:38] <Izaya> if you generalize calls to use an RPC layer
L481[06:08:55] <Izaya> you can call local functions and remote functions exactly the same
L482[06:09:02] <The_St​argazer> oh
L483[06:09:22] <Izaya> Windows RPC is pretty horrific though
L484[06:09:27] <Izaya> it uses SMB, if I remember correctly
L485[06:09:31] <Izaya> pipes over SMB, no less
L486[06:10:30] <Izaya> https://imgur.com/XZZFk5v.png
L487[06:10:54] <The_St​argazer> %s/RPC//
L488[06:10:55] <MichiBot> <Izaya> Windows is pretty horrific though
L489[06:11:03] <The_St​argazer> much better
L490[06:11:51] <Izaya> so the database I'm using to store the recipes and stuff is fun
L491[06:11:58] <Izaya> it's kinda a CSV file
L492[06:12:06] <Izaya> but it's compressed and is decompressed as you read it
L493[06:12:08] <Izaya> good stuff
L494[06:12:14] <The_St​argazer> a what file (yea I know what CSV is but idk how it works)\
L495[06:12:25] <Izaya> comma separated value
L496[06:13:22] <The_St​argazer> yea
L497[06:13:29] <The_St​argazer> isnt it like
L498[06:13:31] <The_St​argazer> shitty xml?
L499[06:13:37] <Izaya> no that's JSON
L500[06:13:53] <Izaya> CSV is nice in that it's dumb as fuck
L501[06:14:02] <Izaya> it's basically a spreadsheet
L502[06:14:39] <The_St​argazer> so wait if json is shitty xml
L503[06:14:41] <The_St​argazer> is yaml shitty json
L504[06:14:46] <Izaya> no YAML is pain
L505[06:14:59] <The_St​argazer> i mean
L506[06:15:05] <The_St​argazer> yaml's kinda nice
L507[06:15:06] <The_St​argazer> easier than json
L508[06:15:17] <Izaya> I kinda prefer JSON
L509[06:15:20] <Izaya> at least JSON syntax is visible
L510[06:15:23] <The_St​argazer> you--what
L511[06:15:27] <The_St​argazer> what'd you do with the real izaya
L512[06:15:55] <Izaya> if you use tabs rather than 4 spaces in YAML it chucks a hissy fit
L513[06:16:04] <The_St​argazer> oh
L514[06:16:07] <The_St​argazer> does it not like hard tabs
L515[06:16:30] <Izaya> it's like python syntax autism but for configuration files
L516[06:16:37] <The_St​argazer> oh
L517[06:16:42] <The_St​argazer> does python hate hard tabs
L518[06:18:06] <Ocawes​ome101> Python is at least really picky about indentation
L519[06:18:09] <The_St​argazer> also: apparently michi is road in japanese (it says MichiBot's name funny so i opened up google translate and put `Michi` in)
L520[06:18:13] <Ocawes​ome101> you have to be consistent of else it flips out
L521[06:18:18] <The_St​argazer> so technically MichiBot is.. RoadBot??
L522[06:18:26] <The_St​argazer> 🤔
L523[06:18:59] <Ocawes​ome101> hmm
L524[06:19:55] <The_St​argazer> if i use `fs.open` instead it says `/lib/filesystem.lua:302: attempt to index a nil value (field 'fs') `
L525[06:20:03] <The_St​argazer> (`fs` is `require("filesystem")`)
L526[06:20:24] <Ocawes​ome101> are you using ocvm or ocemu?
L527[06:20:29] <The_St​argazer> ocvm
L528[06:20:35] <The_St​argazer> via google cloud shell
L529[06:20:37] <The_St​argazer> am on chromebook
L530[06:21:11] <Ocawes​ome101> ah
L531[06:21:22] <Ocawes​ome101> if I had to guess that's the source of your errors
L532[06:21:34] <Ocawes​ome101> is this your chromebook or a school chromebook?
L533[06:21:40] <The_St​argazer> library chromebook
L534[06:21:50] <The_St​argazer> dont go to school lol
L535[06:22:32] <Ocawes​ome101> ah
L536[06:23:00] <Ocawes​ome101> Is it new enough to have Linux app support?
L537[06:23:36] <The_St​argazer> Uhhh
L538[06:23:37] <The_St​argazer> What
L539[06:23:48] <The_St​argazer> Oh the chromebook?
L540[06:23:51] <Ocawes​ome101> newer chromebooks can run Debian apps
L541[06:23:54] <The_St​argazer> its locked down af
L542[06:23:57] <The_St​argazer> so no crosh
L543[06:23:59] <Ocawes​ome101> oh ok
L544[06:24:01] <Ocawes​ome101> :P
L545[06:24:15] <The_St​argazer> i guess the library doesnt want people using crosh
L546[06:37:44] <Sagh​etti> rip
L547[06:37:59] <Sagh​etti> the it admins at my school are dumb as fuk
L548[06:38:24] <Sagh​etti> all of the security is circumvented if you switch to a non g-suite google account
L549[06:38:29] <Sagh​etti> lmao
L550[06:38:32] <The_St​argazer> lol
L551[06:38:40] <Sagh​etti> but i enabled developer mode on mine
L552[06:38:51] <Sagh​etti> so i could play mc at an astonishing 4 fps
L553[06:38:55] <The_St​argazer> wow
L554[06:38:57] <The_St​argazer> amazing
L555[06:39:00] <The_St​argazer> vanilla?
L556[06:39:05] <Izaya> kinda glad my school never went all-in on the chromebook meme
L557[06:39:21] <The_St​argazer> ?
L558[06:39:32] <Izaya> they just stopped giving out school laptops
L559[06:40:10] <Izaya> the year before mine never got laptops
L560[06:40:16] <Izaya> wait
L561[06:40:19] <Izaya> they did, but mine didn't
L562[06:40:37] <Izaya> but they still tolerated laptops in classrooms so I got to bring in my own
L563[06:40:40] <Sagh​etti> chromebooks are a joke
L564[06:40:49] <Izaya> they do exactly what they're built for
L565[06:40:58] <Izaya> they can interact with google services
L566[06:41:11] <Sagh​etti> developer mode is great tho
L567[06:41:19] <Izaya> everything else is out of scope
L568[06:41:41] <Sagh​etti> out of scope, but not impossible
L569[06:41:56] <Izaya> sure, but why would they do anything for stuff that's out of scope, y'know?
L570[06:44:50] <Sagh​etti> they wouldn't, but i certainly would
L571[06:49:30] <Ocawes​ome101> I ran Linux on my Chromebook for most of the time I had it
L572[06:55:20] <Ocawes​ome101> well, OC-CraftOS (run CraftOS in OpenComputers) has completely flopped (in OCVM anyway).
L573[07:06:48] <asie> it should work fine on OC itself and potentially the reimplementation LuPI2
L574[07:06:53] <asie> we never tested it on anything else
L575[08:04:16] <Lizzian> %tonk
L576[08:04:17] <MichiBot> By my throth! Liz​zian! You beat The_St​argazer's previous record of 1 hour, 4 minutes and 50 seconds (By 2 hours, 2 minutes and 37 seconds)! I hope you're happy!
L577[08:04:18] <MichiBot> Lizzian's new record is 3 hours, 7 minutes and 27 seconds! Lizzian also gained 0.00408 (0.00204 x 2) tonk points for stealing the tonk. Position #2. Need 0.03295 more points to pass Compan​ionCube!
L578[08:20:52] <Lizzian> okay, it would seem that running the tasks on the forums via cron rather than relying on logged-in users to visit has actually helped keep the db size down. the largest table staying around 16MB and the largest one had grown to since about 2pm yesterday is 45MB
L579[08:21:50] <Lizzian> and that was only on one of the hourly checks i set up
L580[08:23:38] <Lizzian> though one thing i wanna try is seeing if i can get the tables to all be InnoDB. cause i think right now they're a mix of that and MyISAM (which doesn't replicate as well)
L581[08:36:08] <Izaya> anyone got an example of a recursive crafting resolver?
L582[08:38:13] <Lizzian> function craft() while true do craft() end
L583[08:38:15] <Lizzian> tadaa
L584[08:47:10] ⇦ Quits: baschdel (~baschdel@032-140-067-156.ip-addr.inexio.net) (Remote host closed the connection)
L585[08:47:36] ⇨ Joins: baschdel (~baschdel@156.67.140.32)
L586[09:18:31] <Izaya> well
L587[09:18:32] <Izaya> this pains me
L588[09:18:42] <Izaya> but in shitty pseudocode
L589[09:21:22] <Izaya> function craftItem(recipe) if not tryToCraft(recipe) then for item in recipe do craftItem(item) end tryToCraft(recipe) end end
L590[09:43:22] <Izaya> man I feel dirty
L591[09:43:26] <Izaya> it's such a dumb brute-force method
L592[09:51:09] ⇦ Quits: S|h|a|w|n (~shawn156@c-76-25-73-212.hsd1.co.comcast.net) (Read error: Connection reset by peer)
L593[09:57:01] <asie> without access to low-level structures (like Charset does) you won't fare much better
L594[11:14:08] <Lizzian> hmm, okay it would appear that the forums lost my edit to the forum issues topic....
L595[11:14:14] * Lizzian sighs
L596[11:15:05] <stephan48> hahaha
L597[11:40:50] ⇦ Quits: Backslash (~Backslash@d137-186-220-152.abhsia.telus.net) (Read error: Connection reset by peer)
L598[11:49:28] ⇨ Joins: minexixi (~minexixi@59.34.143.23)
L599[11:49:51] ⇨ Joins: niconiconi (~niconicon@59.34.143.23)
L600[11:49:57] <niconiconi> test
L601[11:52:01] ⇦ Quits: niconiconi (~niconicon@59.34.143.23) (Client Quit)
L602[11:56:02] <Lizzian> %8ball do the thing?
L603[11:56:03] <MichiBot> Liz​zian: Without a doubt
L604[12:19:10] <ThePi​Guy24> %8ball lilt or tango?
L605[12:19:10] <MichiBot> ThePi​​Guy24: [ The Bowling ball doesn't answer ]
L606[12:19:18] <ThePi​Guy24> ech
L607[12:19:25] <ThePi​Guy24> lilt it is
L608[12:24:03] ⇨ Joins: ben_mkiv (~ben_mkiv@mue-88-130-63-008.dsl.tropolys.de)
L609[12:26:13] <Izaya> https://social.shadowkat.net/media/86994327d219f7412a9805de4592a1dc5e01dbad6894706fd936652fb6afe6d6.webm
L610[12:26:15] <Izaya> check it
L611[12:26:17] <Izaya> autocrafting
L612[12:26:44] <ThePi​Guy24> would watch but im on mobile data
L613[12:26:52] <Izaya> 1.1M
L614[12:28:46] <DaCompu​terNerd> %tonk
L615[12:28:46] <MichiBot> Willikers! DaCompu​terNerd! You beat Liz​zian's previous record of 3 hours, 7 minutes and 27 seconds (By 1 hour, 17 minutes and 1 second)! I hope you're happy!
L616[12:28:47] <MichiBot> DaComputerNerd's new record is 4 hours, 24 minutes and 29 seconds! DaComputerNerd also gained 0.00512 (0.00128 x 4) tonk points for stealing the tonk. Position #5. Need 0.12295 more points to pass Forec​aster!
L617[12:30:02] <SquidDev> Izaya: Very neat! Rather curious how recipe search search is implemented?
L618[12:30:03] ⇦ Quits: minexixi (~minexixi@59.34.143.23) (Remote host closed the connection)
L619[12:30:10] <SquidDev> Is it just a walk over all suitable recipes until you find a path which works?
L620[12:30:20] <Izaya> pretty much
L621[12:30:23] <Izaya> brute force approach
L622[12:30:50] <Izaya> only reason it's vaguely workable is because the recipe and ore dictionary databases have a cache
L623[12:31:19] <Izaya> though it may interest you to know that both databases are stored compressed
L624[12:31:57] <SquidDev> How does it handle loops? For instance, if you try to craft an iron ingot, will it try to craft an iron block, and then loop forever?
L625[12:32:13] <Izaya> yup :D
L626[12:32:33] <Izaya> I have it hooked up to a drawer-based storage system at the moment
L627[12:32:44] <SquidDev> Nice. Autocrafting is stupidly hard :/.
L628[12:32:54] <Izaya> and before I made it check whether there were items in the system already
L629[12:33:14] <Izaya> it'd craft nuggets from ingots, which were then transparently turned back into ingots and into blocks by the compacting drawers
L630[12:33:24] <Izaya> because the compacting drawers expose all the to the system
L631[12:34:20] <SquidDev> Oh, ouch! Though I guess any crafting system will have that issue - the information you're getting is technically incorrect.
L632[12:34:31] <Izaya> yeah
L633[12:34:37] <Izaya> now it checks for items beforehand and gets to skip that step
L634[12:34:58] <Izaya> Not gonna fight the big conceptual issues, just attacking it from the practical "how can I make it do this reasonably" side
L635[12:35:02] <Izaya> though for my next trick
L636[12:35:13] <Izaya> I need to implement an actual stream for sending RPC commands
L637[12:35:31] <Izaya> because some recipes are much larger than a single packet :D
L638[12:37:59] <ThePi​Guy24> i thought minitel was supposed to sort that issue :p
L639[12:38:24] <Izaya> well it is!
L640[12:38:28] <Izaya> but not when you send single packets
L641[12:38:51] <Izaya> up until now I haven't needed more than a single packet for anything
L642[12:59:09] ⇨ Joins: Warhead (~Warhead@adsl-dyn32.78-98-163.t-com.sk)
L643[12:59:20] ⇦ Quits: Warhead (~Warhead@adsl-dyn32.78-98-163.t-com.sk) (Client Quit)
L644[13:08:26] <Forec​aster> %sip
L645[13:08:26] <MichiBot> You drink a sour stainless steel potion (New!). Forec​aster feels the need to use "%fling".
L646[13:08:34] <Forec​aster> %fling
L647[13:08:34] <MichiBot> Forec​aster flings Awiwi in a random direction. It hits Ly​mia right where they didn't expect. They take 1d4 => 3 damage!
L648[13:09:25] ⇨ Joins: minexixi (~minexixi@59.34.143.23)
L649[13:09:39] ⇦ Quits: minexixi (~minexixi@59.34.143.23) (Client Quit)
L650[13:14:59] ⇦ Quits: AdorableCatgirl (~sam@pool-71-176-252-72.rcmdva.fios.verizon.net) (Ping timeout: 204 seconds)
L651[14:02:39] ⇦ Quits: Victorsueca (~Victor_su@90.165.120.190) (Ping timeout: 190 seconds)
L652[14:02:58] ⇨ Joins: Victor_sueca (~Victor_su@90.165.120.190)
L653[14:04:49] ⇨ Joins: Thutmose (~Patrick@host-69-59-79-181.nctv.com)
L654[14:35:23] <ThePi​Guy24> %sip
L655[14:35:23] <MichiBot> You drink a bubbly ocean potion (New!). ThePi​Guy24 gains the ability to summon safety pins for 39 seconds.
L656[14:35:54] <ThePi​Guy24> %inv add 1489 safety pins
L657[14:35:54] * MichiBot summons '1489 safety pins' and adds to her inventory. I could get some good swings in with this.
L658[14:36:45] <ThePi​Guy24> %pet Izaya
L659[14:36:46] <MichiBot> ThePi​Guy24 is brushing Izaya with lawnmower. Izaya regains 1d4 => 4 hit points!
L660[14:37:09] <ThePi​Guy24> hm
L661[15:07:10] <Ocawes​ome101> asie: LuPl2?
L662[15:19:17] <Kristo​pher38> https://github.com/StarChasers/LuPI2
L663[15:20:02] <Kristo​pher38> reminds me of javascript-based OS
L664[15:20:39] <Kristo​pher38> `Lua is one of the simplest, most intuitive languages. It has only 6 types, very simple syntax, yet supports many advanced mechanisms.`
L665[15:21:29] ⇦ Quits: ben_mkiv (~ben_mkiv@mue-88-130-63-008.dsl.tropolys.de) (Killed (NickServ (GHOST command used by ben_mkiv|afk!~ben_mkiv@88.130.157.64)))
L666[15:21:34] ⇨ Joins: ben_mkiv|afk (~ben_mkiv@88.130.157.64)
L667[15:22:51] <Kristo​pher38> yeah, sadly you have to reinvent the wheel from scratch almost every time 😒
L668[15:39:47] <Ocawes​ome101> Neat
L669[15:40:14] <Ocawes​ome101> I kinda wanted to do something like that myself
L670[15:51:35] <Lizzian> ..... okay... the forums are doing a whole new wave of fuckery
L671[15:53:17] <Lizzian> okay, now it's "updated" again
L672[15:53:20] * Lizzian sighs
L673[15:54:24] <Lizzian> yeah, the forums is slowly gonna end up killing itself
L674[15:55:48] <Elfi> solution: write the forums in lua
L675[15:55:50] * Elfi giggleflee
L676[15:56:21] <Lizzian> i don't know enough lua to do it, but i do know i want to switch forums
L677[16:01:12] <Sagh​etti> what new software are your thinking of?
L678[16:08:46] <Lizzian> no idea tbh. someone suggested one a while back and even had a license key for it or something. I kinda wanna try something more open-source way though
L679[16:10:12] <Sagh​etti> i would suggest phpbb, but the default theme looks like shit
L680[16:10:36] <Sagh​etti> some of the community-made themes look pretty good though
L681[16:11:14] <Elfi> "how do you tell a boy from a girl? you put them in water, of they sink they're a boy but if they float they're boyn't"
L682[16:12:07] <Sagh​etti> https://github.com/phpbb/phpbb
L683[16:12:15] <Sagh​etti> fully open source
L684[16:12:38] <Elfi> Haha, I still remember PhpBB2...
L685[16:12:44] <Elfi> ...oh god, I still remember PhpBB2
L686[16:12:53] * Elfi looks down at her coffee mug, drops a shot of kahlua in
L687[16:12:56] * Elfi upends
L688[16:13:28] <Sagh​etti> this is phpbb 3
L689[16:14:12] <Michiyo> uuuuuuugh
L690[16:14:22] <Michiyo> Did anyone get the license plat of the bus that hit me?
L691[16:14:53] <Michiyo> s/plat/plate/
L692[16:14:53] <MichiBot> <Michiyo> Did anyone get the license plate of the bus that hit me?
L693[16:15:07] <Elfi> Wait
L694[16:15:10] <Elfi> Are they still on 3?
L695[16:15:23] <Elfi> Please tell me they aren't still on 3 after this long
L696[16:15:38] <Elfi> Surely they've made major enough updates to warrant a backend update since then
L697[16:16:19] <Sagh​etti> last version is 3.3, released 2 months ago
L698[16:17:14] * Elfi ... drinks the kahlua straight
L699[16:17:24] * Elfi faceplants
L700[16:21:21] <Elfi> I'm never satisfied. Things change to the point of unrecognizability and it depresses me. Things stay the same after 13 fucking years and it depresses me. I hate being old.
L701[16:50:20] * Amanda snugs up around Elfi, meows the demons away
L702[16:50:39] * Elfi burrows against Amanda
L703[16:51:36] ⇨ Joins: gamax92 (~gamax92@c-73-153-119-160.hsd1.co.comcast.net)
L704[16:51:36] zsh sets mode: +v on gamax92
L705[16:51:52] <dequbed> Izaya: Fun facts about YAML; if you use country codes you have to always explicity quote norway because `NO` evaluates to `false` otherwise.
L706[16:52:36] <Elfi> this is one of the reasons why I stopped using YAML after the first
L707[16:55:13] <dequbed> Oh, also ports below 60 need to be treated specially because a string like `12345:22` will be treated as the number 12345 BASE 60 (because time).
L708[16:56:13] <ThePi​Guy24> and thats why i use json
L709[16:56:27] <dequbed> YAML is like the Linux of configuration formats. It's so stupid and arbitrary that you can probably make a living of just knowing all of its quirks
L710[16:58:14] <dequbed> Oh and it does fun stuffs like allowing any other type as map keys (like other maps, lists, random tokens etc) which goes wrong in like half the languages around because they don't allow that kind of fuckery
L711[17:07:25] <Elfi> It's ironic when Javascript, known for its stupid and arbitrary quirks, has a more sensible and stable storage format based on its own language parsing
L712[17:08:14] <dequbed> JSON really isn't without its flaws either. Just because you're better than the worst of the bunch doesn't mean your *good*.
L713[17:08:29] <dequbed> s/your/you're/g
L714[17:08:29] <Elfi> Oh no, I did not mean to imply as such
L715[17:08:31] <MichiBot> <dequbed> JSON really isn't without its flaws either. Just because you're better than the worst of the bunch doesn't mean you're *good*.
L716[17:13:24] <dequbed> Elfi: But then again configuration formats all suck one way or another. I know of probably two(?) formats that are really good and even then only in specific circumstances.
L717[17:15:04] <gamax92> JSON except trailing commas are ignored and comments are a thing
L718[17:15:08] <Michiyo> INI FTW!
L719[17:15:10] <Michiyo> :P
L720[17:15:36] <Ocawes​ome101> %tonk
L721[17:15:36] <MichiBot> Voldemort! Ocawes​ome101! You beat DaCompu​terNerd's previous record of 4 hours, 24 minutes and 29 seconds (By 22 minutes and 21 seconds)! I hope you're happy!
L722[17:15:37] <MichiBot> Ocawesome101's new record is 4 hours, 46 minutes and 50 seconds! Ocawesome101 also gained 0.00185 (0.00037 x 5) tonk points for stealing the tonk. Position #8. Need 0.00182 more points to pass ThePi​Guy24!
L723[17:15:44] <dequbed> Michiyo: If you don't make heavy use of deeply nested maps INI (or rather TOML) is really good.
L724[17:15:45] <Ocawes​ome101> ayy
L725[17:16:11] <Ocawes​ome101> how does MichiBot decide how many points to give?
L726[17:16:26] <dequbed> gamax92: JSON with comments aka JSON with the actual decoding information in the comments because the type system of JSON is just wholly inadequate?
L727[17:16:51] <gamax92> eh, no?
L728[17:17:16] <gamax92> I agree with the type thing but I just want basic comments
L729[17:19:24] ⇨ Joins: Vexatos (~Vexatos@port-92-192-73-140.dynamic.as20676.net)
L730[17:19:24] zsh sets mode: +v on Vexatos
L731[17:29:22] <Amanda> dequbed: LEt's not forget all the times the Ruby yaml parser let you just.. decode any object Ruby knows of whatssoever.
L732[17:30:38] <Michiyo> @Ocawesome101 math.
L733[17:33:11] <Ocawes​ome101> Michiyo: source code?
L734[17:33:24] <Michiyo> %source
L735[17:33:25] <MichiBot> Mic​hiyo: https://github.com/PC-Logix/LanteaBot/
L736[17:33:43] <Ocawes​ome101> oh neat
L737[17:33:50] <ThePi​Guy24> `timeSinceLastTonk * arbitraryNumber`
L738[17:34:50] <Michiyo> https://github.com/PC-Logix/LanteaBot/blob/master/src/main/java/pcl/lc/irc/hooks/Tonk.java#L123-L168
L739[17:35:42] <Ocawes​ome101> ah ok
L740[17:36:10] <dequbed> Amanda: Or when the Python, Ruby & PHP decoder run arbitrary code found in YAML files. Or data that happens to look close enough to valid code.
L741[17:36:31] <Michiyo> It uses a couple of functions from Utils.Helper
L742[17:38:02] <Ocawes​ome101> Does anyone know where I can find a CPIO compression/decompression library in pure Lua, or where I can find the details to do it myself?
L743[17:38:23] <Ocawes​ome101> ~~compression/decompression~~ archiving/unarchiving
L744[17:38:28] <dequbed> I can suggest Google
L745[17:38:41] <Ocawes​ome101> tried that already
L746[17:38:53] <Ocawes​ome101> i suppose I'll try again
L747[17:41:01] <Ocawes​ome101> All that shows up is stuff about crypto and CPIO itself
L748[17:41:06] <Ocawes​ome101> nothing in pure Lua
L749[17:41:41] <Ocawes​ome101> I tried both DuckDuckGo and Google
L750[17:41:44] <dequbed> ... https://oc.cil.li/topic/1898-uncpio-a-simple-cpio-extraction-utility/
L751[17:42:12] <Ocawes​ome101> oh
L752[17:42:25] <Ocawes​ome101> face, meet desk
L753[17:42:33] <Ocawes​ome101> thank you!
L754[17:43:53] <Ocawes​ome101> I'll see if I can port it to Open Kernel
L755[18:13:19] <Amanda> dequbed: I thought that was just a result of "Any object goes" and loading the right objects with the right data?
L756[18:25:32] <Adorabl​eCatgirl> hi
L757[18:25:40] <Adorabl​eCatgirl> thanks for shilling uncpio
L758[18:27:30] <Amanda> dequbed, gamax92: Didn't whoever spearheads the standardisation of JSON say that JSON doesn't have comments because it'd encurage people to include metadata in it, that might make it more type-safe?
L759[18:27:46] <Ocawes​ome101> I might use it in the Open Kernel installer but for packages I think imma do my own archiving format since I’m too lazy to port uncpio to Open Kernel
L760[18:27:58] <Ocawes​ome101> I’ll consider it tho
L761[18:28:18] <Amanda> cpio is stupid-simple
L762[18:28:28] <Amanda> It's like, 25lines of lua
L763[18:29:00] <gamax92> Amanda: I've seen a few modules/libraries out that that already provide the filtering/support necessary for it
L764[18:29:00] <Amanda> IT's like tar, but even simpler. header -> file -> header-> file
L765[18:29:51] <Ocawes​ome101> It seems to have a little tiny bit of binary stuff in each header though
L766[18:29:52] <gamax92> also yeah cpio is super simple
L767[18:30:25] ⇨ Joins: GogoFox (webchat@91.236.4.27)
L768[18:30:28] <Amanda> well yes, the header is binary, but it's not hard at all to decode a u16 in pure-lua
L769[18:30:39] <Amanda> and you can skip over the rest
L770[18:30:42] <asie> Lizzian: BuildCraft forums used to run on SMF
L771[18:30:45] <asie> and later I think MyBB?
L772[18:31:01] <asie> phpBB is a heavyweight champion
L773[18:31:09] <asie> honestly just set up an imageboard those are TINY
L774[18:31:28] <Ocawes​ome101> Eh ok
L775[18:31:39] <Ocawes​ome101> I’ll try cpio
L776[18:32:14] <Adorabl​eCatgirl> i literally did it in pure lua
L777[18:32:27] <Ocawes​ome101> I know
L778[18:32:54] <Ocawes​ome101> You depend on OpenOS APIs though
L779[18:32:57] <Ocawes​ome101> I suppose I’ll try to port it
L780[18:35:05] <dequbed> Amanda: The Ruby On Rails exploit was pretty much that yeah but for example the python decoder has an explicit "run this module" support. Also yes, JSON has no comments on purpose but it was so it wouldn't be extended and made incompatible using comments.
L781[18:39:53] ⇨ Joins: Smeany (~Smeany@static.179.35.130.94.clients.your-server.de)
L782[18:40:24] ⇦ Quits: Smeany (~Smeany@static.179.35.130.94.clients.your-server.de) (Client Quit)
L783[18:40:57] ⇦ Quits: GogoFox (webchat@91.236.4.27) (Quit: webchat.esper.net)
L784[18:42:18] <Gog​oFox> do event listeners persist after closing the main program and do i need to event.ignore all of them?
L785[18:43:40] <M​GR> Yes and yes
L786[18:43:54] <M​GR> They persist until either ignore or computer reboot
L787[18:44:15] <Gog​oFox> hmm thats sad
L788[18:47:01] <Amanda> dequbed: "So it wouldn't be extended and made incompatible" -- so now instead everyone has their own JSON Superset
L789[18:47:15] <M​GR> What are they interfering with?
L790[18:47:37] <M​GR> Is it just that you want to run the same program multiple times between reboot, or something else?
L791[18:48:28] <dequbed> Amanda: Yeah but I have yet to see any of those being called "technically JSON".
L792[18:49:10] <Gog​oFox> if i wrote something like event.listen("interrupted",function()end) how do i ignore this listener from inside or at the end of main program, i don't quite understand the wiki
L793[18:49:58] <M​GR> Someone else should be able to explain, otherwise DM me and I'll get back to you later
L794[18:53:47] ⇦ Quits: Vexatos (~Vexatos@port-92-192-73-140.dynamic.as20676.net) (Ping timeout: 202 seconds)
L795[18:57:36] <ThePi​Guy24> `local someVariable = event.listen("interrupted",function()end)` to start the listener
L796[18:57:37] <ThePi​Guy24> `event.cancel(someVariable)` to stop it
L797[18:57:50] <ThePi​Guy24> `local someVariable = event.listen("interrupted",function()end)` to start the listener
L798[18:57:51] <ThePi​Guy24> `event.cancel(someVariable)` to stop it @GogoFox [Edited]
L799[18:58:35] <Gog​oFox> ok i wiil try that
L800[19:00:30] <Gog​oFox> yessss
L801[19:00:45] <Gog​oFox> that's exactly what i needed thx
L802[19:01:40] <ThePi​Guy24> np
L803[19:08:23] ⇨ Joins: Vexatos (~Vexatos@port-92-192-32-150.dynamic.as20676.net)
L804[19:08:23] zsh sets mode: +v on Vexatos
L805[19:10:19] <Adorabl​eCatgirl> which APIs @Ocawesome101
L806[19:11:35] <Adorabl​eCatgirl> fs.makeDirectory and io.open
L807[19:22:14] <S3_> Izaya: did I show you my new sled?
L808[19:23:09] <S3_> By the way guys. I haven't touched a normal computer outside of work in two months
L809[19:23:22] <S3_> I'm not sure what the hell is wrong with me lol
L810[19:24:57] <Kristo​pher38> can't resist but post this http://tinyurl.com/tc5nw9x
L811[19:25:07] <Kristo​pher38> can't resist to post this http://tinyurl.com/tc5nw9x [Edited]
L812[19:37:11] ⇨ Joins: Eforen (~Eforen@ec2-54-186-3-244.us-west-2.compute.amazonaws.com)
L813[19:38:17] <Eforen> Hi all
L814[19:38:31] <Eforen> Anyone here using MineOS?
L815[19:43:48] <M​GR> Probably not
L816[19:43:54] <M​GR> Most here connect from outside OC
L817[19:44:11] ⇦ Quits: Eforen (~Eforen@ec2-54-186-3-244.us-west-2.compute.amazonaws.com) (Ping timeout: 202 seconds)
L818[19:58:45] ⇦ Quits: dabako (webchat@HSI-KBW-109-193-052-191.hsi7.kabel-badenwuerttemberg.de) (Quit: webchat.esper.net)
L819[20:04:20] <Amanda> %8ball settle for debian for the USBA?
L820[20:04:21] <MichiBot> Ama​nda: My reply is no
L821[20:04:25] <Amanda> Hrm.
L822[20:04:37] <Amanda> Well, my reply is yes,for now
L823[20:10:48] <Forec​aster> %sip
L824[20:10:48] <MichiBot> You drink a freezing adamantium potion (New!). Forec​aster feels much better!
L825[20:10:55] <Forec​aster> Woo
L826[20:24:32] <Ocawes​ome101> @AdorableCatgirl mostly those. I’d also probably add 5.2 compatibility
L827[20:30:20] <Adorabl​eCatgirl> why
L828[20:31:57] <Ocawes​ome101> Because I do a lot of programming in OCVM which to my knowledge doesn’t support 5.3
L829[20:32:58] <asie> well it better consider upgrading as 5.4 is coming
L830[20:33:07] <Izaya> works fine with 5.3
L831[20:34:25] <Amanda> OCVM uses whatever lua you point it to in the makefile.
L832[20:42:49] <Adorabl​eCatgirl> ^
L833[20:56:23] <Brisingr​ Aerowing> Lizzian there's also NodeBB, which is what The Daily WTF uses for its forums. The devs are very responsive to issues as well, from what I've seen.
L834[20:57:20] <Brisingr​ Aerowing> Also,
L835[20:57:23] <Brisingr​ Aerowing> https://en.wikipedia.org/wiki/Boops_boops
L836[20:57:51] <ThePi​Guy24> boops boops
L837[21:05:23] ⇨ Joins: Inari (~Pinkishu@pD9E39780.dip0.t-ipconnect.de)
L838[21:11:02] <Michiyo> Just.. please don't switch to Discourse lol
L839[21:14:44] <Adorabl​eCatgirl> i'll write some software B)
L840[21:14:51] <Elfi> oh god, discourse.
L841[21:15:04] <Elfi> May it burn forever.
L842[21:15:55] * CompanionCube remembers TDWTF getting kicked off of discourse
L843[21:17:01] <Inari> Nep
L844[21:17:25] <Inari> Amanda: See
L845[21:17:28] <Inari> If you were a fox you had asked
L846[21:17:29] <Inari> :3
L847[21:18:44] <Adorabl​eCatgirl> i'll make the greatest forum software ever
L848[21:18:56] <Adorabl​eCatgirl> in lua
L849[21:19:28] <Z​ef> oh god
L850[21:20:50] <Inari> I'll make one in Scratch
L851[21:21:01] <Michiyo> Node.js forums.
L852[21:22:23] <Inari> Unity webplayer forums
L853[21:22:37] <The_St​argazer> `/lib/buffer.lua:118: attempt to index a nil value (field 'mode') ` the heck does this mean
L854[21:22:49] <The_St​argazer> is it because `local sourcesFile = io.open("/etc/simple/sources", "r")`?
L855[21:22:51] <ThePi​Guy24> scratch is the best programming language
L856[21:23:00] <The_St​argazer> >scratch
L857[21:23:00] <The_St​argazer> >programming language
L858[21:23:02] <The_St​argazer> 🤔
L859[21:23:24] * Inari scratches @The_Stargazer
L860[21:23:27] <Elfi> Make a forum
L861[21:23:29] <Elfi> Entirely in ZZT-OOP
L862[21:24:01] <Lizzian> asie, @"Brisingr Aerowing" Thanks for the suggestions, i'll take a look at both more tomorrow
L863[21:24:22] <asie> NodeBB is a newer one and I haven't had time to play with it
L864[21:24:22] <The_St​argazer> unrelated news: i changed simple's config file syntax
L865[21:24:27] <asie> the ones I brought up are... older
L866[21:24:35] <ThePi​Guy24> nah make a forum using malbodge
L867[21:24:39] <Adorabl​eCatgirl> also
L868[21:24:39] <The_St​argazer> instead of `ContainsPackage [name] LocatedAt [location]` it's now `Package [name] At [location]`
L869[21:24:56] <Adorabl​eCatgirl> i wouldn't write a board in lua from scratch
L870[21:25:02] <The_St​argazer> same for groups, `Group [name] At [location]`
L871[21:25:04] <Adorabl​eCatgirl> it'd be running on lapis :)
L872[21:25:12] <Adorabl​eCatgirl> also
L873[21:25:29] <Adorabl​eCatgirl> >VDOT has the worst fucking UI to try to pay unpaid tolls
L874[21:25:31] <The_St​argazer> lapis?
L875[21:25:57] <Adorabl​eCatgirl> i sure fucking love the fact that yall can't just let me pay my shit
L876[21:26:19] <Adorabl​eCatgirl> yea
L877[21:26:21] <Adorabl​eCatgirl> lapis
L878[21:26:24] <The_St​argazer> the heck is that
L879[21:26:34] <Adorabl​eCatgirl> https://github.com/leafo/lapis
L880[21:27:02] <The_St​argazer> >web framework
L881[21:27:02] <The_St​argazer> >lua
L882[21:27:13] <The_St​argazer> >nginx
L883[21:27:26] <The_St​argazer> oh god no
L884[21:27:49] <The_St​argazer> also in the examples:
L885[21:27:52] <The_St​argazer> `local lapis = require "lapis"`
L886[21:27:52] <The_St​argazer> fucks sake
L887[21:27:58] <The_St​argazer> thats not how you properly require shit
L888[21:28:09] <The_St​argazer> arent you supposed to use `require("package")`
L889[21:28:18] <Amanda> they're the same
L890[21:28:34] <Amanda> foo "bar" is just syntatic sugar for foo("bar")
L891[21:28:34] <Adorabl​eCatgirl> what wrong with nginx
L892[21:28:54] <The_St​argazer> i prefer apache i guess
L893[21:28:58] <Adorabl​eCatgirl> ah yes
L894[21:28:59] <Adorabl​eCatgirl> bloat
L895[21:29:25] <Lizzian> asie, tbh, the forums is gonna need a complete re-install to fix this issue regardless of if we go with another suite or the same as we have now, so any of the open source ones will do cause they don't require bi-yearly licenses for updates
L896[21:29:30] <The_St​argazer> what wrong with apache
L897[21:29:35] <Lizzian> or for extra themes....
L898[21:30:01] <Adorabl​eCatgirl> b l o a t @The_Stargazer
L899[21:30:12] <The_St​argazer> instead of writing a web server in lapis
L900[21:30:15] <The_St​argazer> do it in pure luvit
L901[21:30:21] <The_St​argazer> with http or coro-http\
L902[21:30:22] <The_St​argazer> with http or coro-http [Edited]
L903[21:30:28] <Amanda> Let's embed everything in the web server process, running as root, what could go wrong.
L904[21:30:45] <The_St​argazer> apache doesn't run as root iirc
L905[21:30:46] <Lizzian> isn't that basically nodejs if you were to run it as root?
L906[21:30:48] <The_St​argazer> runs as apache
L907[21:30:50] <Lizzian> or tomcat
L908[21:30:58] <Adorabl​eCatgirl> e w
L909[21:31:00] <Adorabl​eCatgirl> luvit
L910[21:31:16] <The_St​argazer> what the fuck is wrong with luvit
L911[21:31:23] <The_St​argazer> its better than goddamn luasocket thats for sure
L912[21:31:51] <Adorabl​eCatgirl> i use a modified version of luasockets that plays nice with lanes :^)
L913[21:32:21] <Adorabl​eCatgirl> anyways >m u h async everything
L914[21:32:42] <Adorabl​eCatgirl> sure, some things being async are nice
L915[21:32:47] <The_St​argazer> you do know
L916[21:32:52] <The_St​argazer> there are sync functions
L917[21:32:55] <The_St​argazer> i never use async lol
L918[21:33:02] <The_St​argazer> i cant understand it
L919[21:33:24] <Ocawes​ome101> Izaya: Oh
L920[21:33:25] <Lizzian> I haven't used apache in ages, but from when i last used it, it still spun up a thread per request or something similar
L921[21:33:25] <The_St​argazer> like nekoget uses entirely sync functions
L922[21:33:37] <Lizzian> whereas nginx uses an event-based process
L923[21:33:40] <The_St​argazer> speaking of threads
L924[21:33:47] <The_St​argazer> can you assign functions to them in openos
L925[21:34:05] <The_St​argazer> like `thread:kill()`
L926[21:34:13] <The_St​argazer> but something like `thread:stuff()`
L927[21:34:18] <Adorabl​eCatgirl> man
L928[21:34:23] <Adorabl​eCatgirl> i need to work on OSSM
L929[21:34:32] <The_St​argazer> this might sound insane but
L930[21:34:35] <Adorabl​eCatgirl> anyways
L931[21:34:37] <The_St​argazer> i kinda wanna write a hypervisor
L932[21:34:42] <The_St​argazer> for OpenOS
L933[21:34:51] <Adorabl​eCatgirl> i prefer my luasockets if i'm writing web shit in Lua :^)
L934[21:34:54] <The_St​argazer> run OpenOS inside OpenOS
L935[21:36:16] <The_St​argazer> or like
L936[21:36:21] <The_St​argazer> os images?
L937[21:36:22] <Ocawes​ome101> I might do one for Open Kernel
L938[21:36:25] <Ocawes​ome101> YES
L939[21:36:29] <The_St​argazer> like, you have your root folder\
L940[21:36:32] <Ocawes​ome101> just cpio'd OS images
L941[21:36:48] <The_St​argazer> and then inside you have folders like `production.image` and `dev.image`
L942[21:36:54] <The_St​argazer> i say folders because
L943[21:36:59] <The_St​argazer> cpio is extra stuff on an EEPROM
L944[21:37:11] <Adorabl​eCatgirl> CPIO implementation is tiny
L945[21:37:12] <Ocawes​ome101> ah faie
L946[21:37:16] <Ocawes​ome101> fair*\
L947[21:37:19] <Ocawes​ome101> fair
L948[21:38:00] <Ocawes​ome101> I think I'm going to set up an environment where one can run virtual machines inside Open Kernel
L949[21:38:22] <Ocawes​ome101> mostly just a sandboxed env that you run `machine.lua` in, lol
L950[21:38:33] <The_St​argazer> yeah i was thinking of doing vms
L951[21:38:36] <The_St​argazer> but differently
L952[21:38:38] <The_St​argazer> using threads
L953[21:38:41] <The_St​argazer> like a thread per vm
L954[21:38:50] <The_St​argazer> although threads arent sandboxed
L955[21:39:10] <Ocawes​ome101> oh yeah maybe
L956[21:39:57] <Ocawes​ome101> you can do `local ok, err = load(data, "=file", "t", ENV_TABLE); local coro = coroutine.create(ok)` to at least provide a custom global table to the coroutine
L957[21:40:03] <Ocawes​ome101> I think
L958[21:40:33] <The_St​argazer> but im kinda going more on the idea of OS images
L959[21:40:53] <The_St​argazer> like `/openosproduction.image` and `/openosdevelopment.image`
L960[21:40:59] <Ocawes​ome101> just cpio them and extract at runtime
L961[21:41:04] <Ocawes​ome101> I like the image idea though
L962[21:41:05] <The_St​argazer> and inside a `.image` folder there'd be a full OS
L963[21:41:11] <Ocawes​ome101> yeah
L964[21:41:17] <The_St​argazer> like `/openos_production.image/init.lua`
L965[21:41:33] <Adorabl​eCatgirl> just make the CPIO provide a virtual filesystem lmao
L966[21:41:47] <The_St​argazer> can you fit vfs drivers in 4kb
L967[21:42:04] <The_St​argazer> well, more like 2kb
L968[21:42:15] <The_St​argazer> also: does ocvm support custom EEPROMs?
L969[21:42:39] <Ocawes​ome101> ocvm? yeah, just overwrite `machine_dir/bios.lua`
L970[21:42:43] <The_St​argazer> aight
L971[21:43:04] <Ocawes​ome101> where `machine_dir` is the same folder you've got your filesystems and whatnot in
L972[21:43:30] <The_St​argazer> yeah
L973[21:43:59] <Adorabl​eCatgirl> also probably, LZSS exists @The_Stargazer
L974[21:44:05] <The_St​argazer> yeah i know
L975[21:44:23] <The_St​argazer> does it support decoding without an external lib like crunch's lz77 lib?
L976[21:44:38] <Adorabl​eCatgirl> what
L977[21:44:51] <Ocawes​ome101> well, there's Saghetti's new favorite piece of code, the 242-byte LZSS decompressor
L978[21:44:59] <The_St​argazer> the what
L979[21:45:11] <Adorabl​eCatgirl> oh, yeah
L980[21:45:17] <Adorabl​eCatgirl> 242 byte decompressor
L981[21:45:27] <Ocawes​ome101> return function(a)local b,c,d,e,f,g,h,i=1,'',''while b<=#a do e=c.byte(a,b)b=b+1;for j=0,7 do h=c.sub;i=h(a,b,b)if e>>j&1<1 and b<#a then g=c.unpack('>I2',a,b)f=1+g>>4;i=h(d,f,f+g&15+2)b=b+1 end;b=b+1;c=c..i;d=h(d..i,-4^6)end end;return c end
L982[21:45:34] <Adorabl​eCatgirl> the other one that has newlines was around that size if your newline was `\n`
L983[21:45:55] <Ocawes​ome101> if you've got `\r\n` or something it's 246 bytes iirc
L984[21:46:30] <Ocawes​ome101> y'know, The Microsoft Way ™️
L985[21:46:57] <The_St​argazer> i think the new notepad supports LF
L986[21:46:59] <The_St​argazer> fucking finally
L987[21:47:30] <Adorabl​eCatgirl> anyways
L988[21:47:33] <Adorabl​eCatgirl> zorya is now LZSS'd
L989[21:47:45] <The_St​argazer> next step is to turn into a proper fucking code editor
L990[21:47:45] <The_St​argazer> notepad++ is like 3mb iirc
L991[21:47:51] <The_St​argazer> if N++ can do it so can microsoft
L992[21:47:51] <Adorabl​eCatgirl> https://github.com/Adorable-Catgirl/Zorya-NEO/blob/master/src/loader.lua
L993[21:48:12] <The_St​argazer> `--#include "src/lzss.lua"` the fuck is this
L994[21:48:14] <The_St​argazer> this ain't C
L995[21:48:19] <Ocawes​ome101> I also have switched to Vim as my code editor
L996[21:48:24] <Adorabl​eCatgirl> >that's the part you point out
L997[21:48:30] <Ocawes​ome101> she wrote a lua preprocessor
L998[21:48:33] <Adorabl​eCatgirl> >not the very last ime
L999[21:48:35] <Adorabl​eCatgirl> *line
L1000[21:48:37] <Adorabl​eCatgirl> also *he
L1001[21:48:39] <Ocawes​ome101> that manages stuff like that
L1002[21:48:42] <Adorabl​eCatgirl> `return load(lzssdecompress($[[luacomp src/zy-neo/zinit.lua -mluamin 2>/dev/null | sed "s/\]\]/]\ ]/g" | lua5.3 src/lzssc.lua | lua utils/mkluastring.lua ]]), "=bios.lua")(lzssdecompress)`
L1003[21:48:43] <The_St​argazer> that too
L1004[21:48:47] <Ocawes​ome101> ok
L1005[21:48:49] <The_St​argazer> the hell is that shit
L1006[21:48:52] <Ocawes​ome101> YIKES
L1007[21:48:59] <Adorabl​eCatgirl> hahaha
L1008[21:49:05] <The_St​argazer> what is this
L1009[21:49:13] <The_St​argazer> some 7yrold's shell script?
L1010[21:49:17] <Adorabl​eCatgirl> no
L1011[21:49:30] <The_St​argazer> I cannot comprehend this attack
L1012[21:49:35] <The_St​argazer> (EB reference)
L1013[21:49:52] <Adorabl​eCatgirl> it pipes the minified zyneo kernel into sed to remove any double closing brackets, then compresses it, then makes it a string
L1014[21:49:59] <The_St​argazer> so wait
L1015[21:50:02] <The_St​argazer> you load the entire kernel
L1016[21:50:05] <The_St​argazer> as a string
L1017[21:50:07] * CompanionCube wonders why you'd want a C-style preprocessor for lua
L1018[21:50:09] <The_St​argazer> a single fucking string
L1019[21:50:14] <Adorabl​eCatgirl> yea?
L1020[21:50:18] <Adorabl​eCatgirl> it's all lua
L1021[21:50:28] <Adorabl​eCatgirl> CC: literally only OC pretty much
L1022[21:50:35] <Adorabl​eCatgirl> so i don't have to make a single file mess
L1023[21:50:46] <Adorabl​eCatgirl> when trying to write the things i do
L1024[21:50:59] <CompanionCube> why #include over loadfile or similar?
L1025[21:51:05] <Ocawes​ome101> I wrote one that only parses `--#include` and is very fragile
L1026[21:51:12] <Ocawes​ome101> just for me
L1027[21:51:14] <CompanionCube> or is this more in the vein of sqlite's almagation
L1028[21:51:19] <Adorabl​eCatgirl> because, it just seemed right
L1029[21:51:19] <CompanionCube> i can't spell that right
L1030[21:51:25] <CompanionCube> ah okay
L1031[21:51:30] <Adorabl​eCatgirl> and that's what i decided to do
L1032[21:51:31] <Ocawes​ome101> loadfile requires moar code
L1033[21:52:04] <Adorabl​eCatgirl> https://github.com/Adorable-Catgirl/LuaComp
L1034[21:52:06] * CompanionCube has once abused the c preprocessor for non-c things
L1035[21:52:06] <Adorabl​eCatgirl> here's the source
L1036[21:52:20] <Adorabl​eCatgirl> sometimes the c preprocessor makes me angry
L1037[21:52:25] <Adorabl​eCatgirl> so i'll end up using luacomp
L1038[21:52:35] <Adorabl​eCatgirl> i wish i was kidding
L1039[21:52:43] <The_St​argazer> CompanionCube: amalgamation
L1040[21:52:43] <The_St​argazer> that's how you spell it iirc
L1041[21:53:01] <Adorabl​eCatgirl> https://github.com/Adorable-Catgirl/LuaComp/blob/master/examples/test.c
L1042[21:53:03] <Adorabl​eCatgirl> i made a joke about it
L1043[21:53:49] <Ocawes​ome101> dang
L1044[21:54:07] <Adorabl​eCatgirl> also christ
L1045[21:54:09] <CompanionCube> accurate comment is accurate
L1046[21:54:22] <Adorabl​eCatgirl> this sob is inefficient
L1047[21:55:51] ⇨ Joins: Backslash (~Backslash@d137-186-220-152.abhsia.telus.net)
L1048[21:56:02] <Adorabl​eCatgirl> `_ZGIT = "$[[git rev-parse --short HEAD]]"`
L1049[21:56:32] <Adorabl​eCatgirl> https://github.com/Adorable-Catgirl/Zorya-NEO/blob/master/ksrc/kinit.lua hahahaha
L1050[21:57:42] <Adorabl​eCatgirl> building zorya neo is just a big ol jankfest
L1051[21:58:04] <Adorabl​eCatgirl> https://github.com/Adorable-Catgirl/Zorya-NEO/blob/master/utils/mkselfextract.lua
L1052[21:58:28] <Ocawes​ome101> > building ~~zorya neo~~ anything is just a big ol jankfest
L1053[21:58:29] <Adorabl​eCatgirl> https://github.com/Adorable-Catgirl/Zorya-NEO/blob/master/utils/selfextract.lua
L1054[21:58:30] <Ocawes​ome101> FTFY
L1055[21:58:45] <The_St​argazer> %s/zorya neo/anything
L1056[21:58:46] <MichiBot> <Ocawesome101> > building ~~anything~~ anything is just a big ol jankfest
L1057[21:58:50] <The_St​argazer> ok what
L1058[21:58:59] <The_St​argazer> that's not what i intended to do
L1059[21:59:00] <CompanionCube> reimplementation of make(1) in lua when? :p
L1060[21:59:07] <Ocawes​ome101> heck yeah
L1061[21:59:13] <Adorabl​eCatgirl> %s/ zorya neo /anything i make/
L1062[21:59:14] <MichiBot> <AdorableCatgirl> buildinganything i makeis just a big ol jankfest
L1063[21:59:17] <Adorabl​eCatgirl> w/e
L1064[21:59:27] <Adorabl​eCatgirl> close enough
L1065[21:59:34] <The_St​argazer> kinda sounds drunk lol
L1066[21:59:48] <Adorabl​eCatgirl> CC: don't challenge me
L1067[21:59:57] <Adorabl​eCatgirl> have you fucking seen release.lua?
L1068[22:00:08] <Adorabl​eCatgirl> you think i'm drunk but
L1069[22:00:11] <Adorabl​eCatgirl> well sometimes i am
L1070[22:00:16] <Adorabl​eCatgirl> but that's not important
L1071[22:00:18] <Ocawes​ome101> %s/buildinganything i make/anything i %s// /
L1072[22:00:19] <MichiBot> <AdorableCatgirl> anything i sis just a big ol jankfest
L1073[22:00:29] <Ocawes​ome101> oof
L1074[22:00:36] <Ocawes​ome101> I'm not very good with that one
L1075[22:00:41] <Adorabl​eCatgirl> it's 99% sleep deprivation
L1076[22:00:42] * CompanionCube pokes https://premake.github.io/ with a stick
L1077[22:00:55] <Adorabl​eCatgirl> https://github.com/Adorable-Catgirl/Zorya-NEO/blob/master/release.lua
L1078[22:01:04] <Adorabl​eCatgirl> look at this janky shit
L1079[22:01:30] <Adorabl​eCatgirl> ` os.execute("zsh -c 'cd lib/"..l.."; luacomp init.lua -mnone | lua ../../utils/zlua.lua > ../../pkg/lib/"..l..".zy2l'")`
L1080[22:01:31] <Adorabl​eCatgirl> why
L1081[22:01:50] <Ocawes​ome101> why does it depend on zsh?
L1082[22:02:01] <Ocawes​ome101> seems like sh would be a better choice?
L1083[22:02:04] <Adorabl​eCatgirl> probably because sh and bash were pissing me off
L1084[22:02:06] <CompanionCube> that's probably AdorableCatgirl's shell
L1085[22:02:12] <Adorabl​eCatgirl> and that
L1086[22:02:23] <Adorabl​eCatgirl> i use zsh because it's comfy
L1087[22:02:25] <Adorabl​eCatgirl> OH YEAH
L1088[22:02:38] <Ocawes​ome101> but... but... sh is better... and it's available by default on literally every \nix system ever*
L1089[22:02:44] <Adorabl​eCatgirl> I HAD A PROBLEM WITH BASH TOTALLY SCREWING THE POOCH
L1090[22:03:01] <CompanionCube> Ocawesome101: get the fuck out of here with your 'logic' lol
L1091[22:03:08] <Adorabl​eCatgirl> also >logic
L1092[22:03:10] <Adorabl​eCatgirl> >anything i make
L1093[22:03:14] <The_St​argazer> incompatible
L1094[22:03:24] <Adorabl​eCatgirl> christ i made a self-extracting archive w/ lua
L1095[22:03:36] <Ocawes​ome101> why, though
L1096[22:03:38] <The_St​argazer> w h a t
L1097[22:03:46] <Adorabl​eCatgirl> I POSTED THAT
L1098[22:03:48] <The_St​argazer> i used to love self-extracting archives when I was like, 7 or 8
L1099[22:03:49] <Adorabl​eCatgirl> I FUCKING POSTED THAT
L1100[22:03:57] <Adorabl​eCatgirl> https://github.com/Adorable-Catgirl/Zorya-NEO/blob/master/utils/mkselfextract.lua
L1101[22:04:04] <Adorabl​eCatgirl> https://github.com/Adorable-Catgirl/Zorya-NEO/blob/master/utils/selfextract.lua
L1102[22:05:06] <Adorabl​eCatgirl> it's literally a self-extracting LZSS'd CPIO
L1103[22:05:12] <Ocawes​ome101> tf
L1104[22:05:17] <Ocawes​ome101> why would you do this to yourself
L1105[22:05:29] <Ocawes​ome101> neat though, ngl
L1106[22:05:47] <Adorabl​eCatgirl> single file installer for Zorya
L1107[22:05:55] <Adorabl​eCatgirl> less component calls
L1108[22:05:59] <The_St​argazer> how many package authors does oppm have
L1109[22:06:23] <The_St​argazer> 37 I think
L1110[22:06:32] <The_St​argazer> count of `' programs` + `'s programs`
L1111[22:06:46] <Adorabl​eCatgirl> you can install zorya w/o internet now
L1112[22:07:03] <The_St​argazer> 37 package groups... fun.
L1113[22:07:18] <The_St​argazer> Oh fun
L1114[22:07:26] <The_St​argazer> I have to update the Global Empire simple repo
L1115[22:07:31] <The_St​argazer> to reflect the syntax change
L1116[22:08:57] <Adorabl​eCatgirl> anyways
L1117[22:09:03] <Adorabl​eCatgirl> most things i make abuse luacomp
L1118[22:09:05] <Adorabl​eCatgirl> and it's features
L1119[22:10:43] <Ocawes​ome101> like Linus Torvalds: write what you need, because you need it
L1120[22:10:45] <Ocawes​ome101> ish
L1121[22:11:14] <Adorabl​eCatgirl> and i let anyone who wants to use it
L1122[22:11:25] <The_St​argazer> Wait a second
L1123[22:11:27] <Adorabl​eCatgirl> i even provide luacomp and luacomp-static
L1124[22:11:29] <Klea​dron> i need an automatic floor tile extractro
L1125[22:11:33] <Klea​dron> i need an automatic floor tile extractor [Edited]
L1126[22:11:39] <The_St​argazer> was just browsing oclogs; found a command; wonder if it still exists
L1127[22:11:40] <The_St​argazer> %bye
L1128[22:11:40] <MichiBot> The_St​​argazer: Oh, well, bye I guess...
L1129[22:11:47] <The_St​argazer> looks like it was changed
L1130[22:11:49] <Adorabl​eCatgirl> https://github.com/Adorable-Catgirl/LuaComp/releases/tag/1.2.0
L1131[22:11:58] <The_St​argazer> personally I think `Don't let the door hit you on the way out!` is funnier
L1132[22:12:26] <Adorabl​eCatgirl> but now luacomp only works on OSX and linux :^)
L1133[22:13:07] <Ocawes​ome101> nobody cares though, right? those are the superior operating systems anyway
L1134[22:13:14] <Amanda> %bye! @The_Stargazer
L1135[22:13:15] <MichiBot> Ama​nda: Dont let the door hit you on the way out!
L1136[22:13:19] <Adorabl​eCatgirl> well
L1137[22:13:22] <Amanda> Note the !
L1138[22:13:26] <Adorabl​eCatgirl> it probably works on OSX
L1139[22:13:29] <The_St​argazer> ohh
L1140[22:13:33] <Adorabl​eCatgirl> it should work on Linux tho
L1141[22:14:05] <CompanionCube> >osx >superior
L1142[22:14:06] <CompanionCube> no
L1143[22:14:14] <Adorabl​eCatgirl> i want to know why there's a comment that says ` --Do this in the best way possible`
L1144[22:14:17] <Adorabl​eCatgirl> https://github.com/Adorable-Catgirl/LuaComp/blob/1.2.0/src/directive_provider.lua
L1145[22:15:41] <Ocawes​ome101> lol
L1146[22:15:57] <Ocawes​ome101> is it sarcastic, possibly?
L1147[22:16:14] <Ocawes​ome101> :thonking:
L1148[22:25:53] <The_St​argazer> what image name should my program use as a default? `openos`? `default`? `fallback`?
L1149[22:26:18] <The_St​argazer> it uses the 'default image' if no image name is provided or no input method is available
L1150[22:27:03] <Ocawes​ome101> `os-image.image`
L1151[22:27:40] <The_St​argazer> yeah
L1152[22:27:50] <The_St​argazer> that works
L1153[22:27:57] <Ocawes​ome101> or maybe even `image.image` lol
L1154[22:28:08] <The_St​argazer> yeah
L1155[22:28:10] <The_St​argazer> or just `os`
L1156[22:28:18] <The_St​argazer> maybe `system` or `sys`?
L1157[22:28:32] <The_St​argazer> i think `system` sounds good
L1158[22:28:36] <The_St​argazer> like `system.image`
L1159[22:29:01] <The_St​argazer> but the problem is
L1160[22:29:08] <The_St​argazer> openos expects everything to be in `/` right?
L1161[22:29:25] <Ocawes​ome101> yes
L1162[22:29:37] <Ocawes​ome101> just wrap the `filesystem` component
L1163[22:29:42] <The_St​argazer> how hard is that
L1164[22:29:52] <Ocawes​ome101> more tedious than hard
L1165[22:30:14] <Ocawes​ome101> https://github.com/ocawesome101/random-oc-stuff/blob/master/Virtual-Component/vcomponent.lus
L1166[22:30:18] <Ocawes​ome101> https://github.com/ocawesome101/random-oc-stuff/blob/master/Virtual-Component/vcomponent.lua [Edited]
L1167[22:31:57] <The_St​argazer> if I set `G.IMAGE` in my EEPROM, will it be passed to `init.lua`?
L1168[22:36:41] <Ocawes​ome101> yes
L1169[22:36:57] <Ocawes​ome101> assuming you load `init.lua` with `_G` as its global table
L1170[22:38:03] <The_St​argazer> does it do that by default?
L1171[22:40:54] ⇦ Quits: Inari (~Pinkishu@pD9E39780.dip0.t-ipconnect.de) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
L1172[22:46:19] <Ocawes​ome101> I think so
L1173[22:58:49] ⇨ Joins: maumagro (~maumagro@wsip-98-173-50-198.sd.sd.cox.net)
L1174[22:58:53] <maumagro> Aloha
L1175[22:59:58] ⇦ Quits: maumagro (~maumagro@wsip-98-173-50-198.sd.sd.cox.net) (Client Quit)
L1176[23:02:19] <The_St​argazer> Can you hash files?
L1177[23:02:22] <The_St​argazer> with the data card?
L1178[23:11:22] <Ocawes​ome101> if you mean read all the data from the file and get a sha256 hash of it then yes, even the t1 data card can do that assuming you aren't using OCEmu or OCVM
L1179[23:12:32] ⇨ Joins: FlapsUA (~FlapsUA@mc.dreamfinity.org)
L1180[23:12:40] ⇦ Quits: FlapsUA (~FlapsUA@mc.dreamfinity.org) (Client Quit)
L1181[23:14:05] <The_St​argazer> does ocvm not support the data card?
L1182[23:14:15] <The_St​argazer> also: is that how files are hashed IRL?
L1183[23:14:31] <Ocawes​ome101> it does, but only crc32 iirc
L1184[23:14:37] <Ocawes​ome101> I have no idea, but I'd assume so
L1185[23:14:38] <Amanda> IT's got a broken md5 as well
L1186[23:14:49] <Ocawes​ome101> maybe only the first 64 bytes or something
L1187[23:14:50] <Amanda> I should get around to figuring out why thta's broken
L1188[23:15:44] <FLO​RANA> why can't i place a keybaord on a microblock cover?
L1189[23:16:39] <FLO​RANA> *keyboard
L1190[23:17:30] <Elfi> Does the data card create objects that can be fed concurrent blocks before getting a digest, or is it all in one go? Because I remember it has a hard limit on how much data is processable at once.
L1191[23:17:40] <Amanda> all at once
L1192[23:18:52] <The_St​argazer> i almost wanna make a lua hash cracker that just tries random values over and over until it gets something
L1193[23:18:52] <The_St​argazer> maybe i'd set a record for slowest hash crack lol
L1194[23:19:03] <The_St​argazer> i mean hey, if you have enough randomness, you'll get there eventually
L1195[23:33:23] <Adorabl​eCatgirl> so
L1196[23:33:50] <Adorabl​eCatgirl> people can't fucking drive
L1197[23:33:53] <Adorabl​eCatgirl> >fog
L1198[23:33:56] <Adorabl​eCatgirl> >quite thick fog
L1199[23:34:01] <Sagh​etti> sup
L1200[23:34:11] <Adorabl​eCatgirl> >sitting at stoplight
L1201[23:34:42] <Adorabl​eCatgirl> >6 lanes one way, 4 the other
L1202[23:34:48] <Adorabl​eCatgirl> >my light turns green
L1203[23:35:01] <Adorabl​eCatgirl> >person still in intersection, ran the redlight in the turn lane(?)
L1204[23:35:27] <Adorabl​eCatgirl> >motherfucker behind me lays on his horn, but not a single person outside the turn lane has moved
L1205[23:35:45] <Adorabl​eCatgirl> >once man has exited the intersection, i go
L1206[23:36:10] <Adorabl​eCatgirl> >man behind me flips me off once i move
L1207[23:36:12] <Adorabl​eCatgirl> >mfw
L1208[23:37:31] <The_St​argazer> where the fuck do you live
L1209[23:37:36] <The_St​argazer> america?
L1210[23:37:50] <Adorabl​eCatgirl> what do you fucking think
L1211[23:38:18] <Adorabl​eCatgirl> nearly every other sentence i say has profanity, i don't do "-our", i do "-or"
L1212[23:38:37] <The_St​argazer> ok good point but that first one is also true of british people and some other countries
L1213[23:38:57] <Adorabl​eCatgirl> second point still stands
L1214[23:39:10] <The_St​argazer> yea
L1215[23:39:18] <Adorabl​eCatgirl> THERE IS NOW A CROSSHAIR EDITOR IN CS
L1216[23:39:20] <Adorabl​eCatgirl> Y E S
L1217[23:39:30] <The_St​argazer> >don't do "-our"
L1218[23:39:31] <The_St​argazer> what are you
L1219[23:39:31] <The_St​argazer> a fucking not-communist?
L1220[23:39:58] <The_St​argazer> also: package signatures!
L1221[23:41:42] <Michiyo> I should rewrite the sound backend for OpenFM...
L1222[23:41:43] <Michiyo> but uuuugh
L1223[23:41:55] <Adorabl​eCatgirl> those should be a simple addition for my package manager
L1224[23:42:03] <Adorabl​eCatgirl> also Michiyo: I need to rewrite OSSM :)
L1225[23:42:48] <Michiyo> Wanna write a OpenFM Control for OC? :P
L1226[23:42:58] <The_St​argazer> how are you gonna calculate your signatures?
L1227[23:42:58] <Michiyo> I'll include it in OpenFM and you'll get EXPOSURE!
L1228[23:44:00] <Adorabl​eCatgirl> PLC @The_Stargazer
L1229[23:44:06] <The_St​argazer> PLC?
L1230[23:44:17] <Adorabl​eCatgirl> https://github.com/philanc/plc/blob/master/plc/ec25519.lua
L1231[23:45:45] <The_St​argazer> ok what
L1232[23:45:45] <The_St​argazer> why do you need fucking elliptic curves
L1233[23:45:50] <The_St​argazer> just uses sha-256 lol
L1234[23:46:19] <Z​ef> cause they wanna
L1235[23:46:30] <Adorabl​eCatgirl> >signatures
L1236[23:46:33] <Adorabl​eCatgirl> >sha256
<<Prev Next>> Scroll to Top