<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:06:51] <S​ky> >Kosmos: if you're making your own, consider https://tweaked.cc/module/os.html#���
L2[00:06:51] <S​ky> NO
L3[00:06:55] <S​ky> NEVER SAY THAT
L4[00:07:08] <S​ky> os.loadAPI should never *ever* be touched
L5[00:07:34] <S​ky> its being removed in the next major update to CC
L6[00:08:54] <Kos​mos> how nice, the "for removal" part wasn't in the deprecation notice
L7[00:09:16] <Kos​mos> and I presume there's also no replacement, like the PATH system every OS uses
L8[00:09:42] <S​ky> >Kosmos: and I presume there's also no replacement, like the PATH system every …
L9[00:09:42] <S​ky> The replacement is `require`...
L10[00:12:18] <Izaya> require is very flexible assuming it's a proper implementation
L11[00:12:20] <Izaya> v cool
L12[00:13:18] <Amanda> %choose handheld or tv
L13[00:13:18] <MichiBot> Ama​nda: The proof is in the pudding. Definitely "handheld". Hm, this is surprisingly good...
L14[00:13:20] <Kos​mos> I know Lua's require even has custom loader support, I'm using it for notepad scripting
L15[00:40:18] ⇦ Quits: Vexatos (~Vexatos@pd9e21222.dip0.t-ipconnect.de) (Quit: Insert quantum chemistry joke here)
L16[00:54:57] <Amanda> %choose candy or iced creams
L17[00:54:58] <MichiBot> Ama​nda: A nearby lamp suddenly screams "candy!" such that it's barely audible.
L18[00:55:26] * Amanda curls up around Elfi's lamp, offers her a frozen recess cup
L19[00:57:30] <Amanda> %choose waves; em or pressure
L20[00:57:30] <MichiBot> Ama​nda: pressure waves
L21[01:04:09] <Izaya> CompanionCube: https://www.youtube.com/watch?v=e0FXy1Mho3c
L22[01:04:45] <CompanionCube> nice
L23[01:07:27] <Izaya> guy has like a million dollars worth of PDP-11 hardware now
L24[01:16:26] ⇦ Quits: TPG24 (~ThePiGuy2@84.69.239.153) (Remote host closed the connection)
L25[01:16:54] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@84.69.239.153)
L26[02:16:43] ⇨ Joins: thh (~thh@185.107.192.130)
L27[02:16:47] ⇦ Quits: thh (~thh@185.107.192.130) (Remote host closed the connection)
L28[02:31:34] * Amanda lays her head on elfi, burying her in floof, does a heccen zzzmew while she can
L29[02:32:00] <Amanda> I imagine I'll wake up with a painful mouth
L30[02:32:59] <Amanda> But I didn't take a note of when I took my acetaminophen, so I don't want to take more before sleeps
L31[02:33:26] <Amanda> Anyways, night girls
L32[02:46:05] ⇦ Quits: infina (~infina@2001:470:1802:10b5:3c1e:c5ff:fef8:2a3f) (Quit: ZNC - http://znc.in)
L33[02:47:55] ⇨ Joins: infina (~infina@2001:470:1802:10b5:3c1e:c5ff:fef8:2a3f)
L34[02:50:02] ⇦ Quits: infina (~infina@2001:470:1802:10b5:3c1e:c5ff:fef8:2a3f) (Client Quit)
L35[02:50:46] ⇨ Joins: infina (~infina@2001:470:1802:10b5:3c1e:c5ff:fef8:2a3f)
L36[02:54:35] ⇦ Quits: infina (~infina@2001:470:1802:10b5:3c1e:c5ff:fef8:2a3f) (Client Quit)
L37[02:57:10] ⇨ Joins: infina (~infina@2001:470:1802:10b5:3c1e:c5ff:fef8:2a3f)
L38[02:59:06] ⇦ Quits: infina (~infina@2001:470:1802:10b5:3c1e:c5ff:fef8:2a3f) (Client Quit)
L39[02:59:15] ⇨ Joins: infina (~infina@chr.lobsternetworks.com)
L40[03:19:18] <ThePi​Guy24> %tonk
L41[03:19:18] <MichiBot> Darn it! ThePi​Guy24! You beat Forec​aster's previous record of 7 hours, 59 minutes and 36 seconds (By 18 minutes and 42 seconds)! I hope you're happy!
L42[03:19:19] <MichiBot> ThePiGuy24's new record is 8 hours, 18 minutes and 18 seconds! ThePiGuy24 also gained 0.00248 (0.00031 x 8) tonk points for stealing the tonk. Position #6. Need 0.019074 more points to pass Redston​eParkour!
L43[03:22:58] ⇨ Joins: caecior (~caecior@1535583-v115.1165-static.oswgilaa.metronetinc.net)
L44[05:11:08] ⇨ Joins: yes (~yes@097-097-099-052.res.spectrum.com)
L45[05:11:15] <yes> huh
L46[05:11:57] <yes> hows it goin folks
L47[05:17:45] ⇦ Quits: yes (~yes@097-097-099-052.res.spectrum.com) (Remote host closed the connection)
L48[05:33:04] <Forec​aster> %skull resonating salmon
L49[05:33:04] <MichiBot> You drink a resonating salmon potion (New!). Forecaster gains knowledge about a random useless subject.
L50[05:33:54] <Forec​aster> But I wanted a research point...
L51[05:33:54] <Mic​hiyo> %onkout
L52[05:33:57] <Mic​hiyo> %tonkout
L53[05:33:57] <MichiBot> I'm sorry Mic​hiyo, you were not able to beat ThePi​Guy24's record of 8 hours, 18 minutes and 18 seconds this time. 2 hours, 14 minutes and 39 seconds were wasted! Missed by 6 hours, 3 minutes and 38 seconds!
L54[05:34:03] <Mic​hiyo> wait wat
L55[05:34:08] <Mic​hiyo> god damn it
L56[05:34:12] <Mic​hiyo> how did I miss THAT?
L57[07:10:50] <Forec​aster> Sorcery
L58[07:23:54] <Forec​aster> %skull
L59[07:23:54] <MichiBot> You drink a woolly crimson potion (New!). The bottle turns into a coral dagger.
L60[08:01:13] ⇦ Quits: Hawk777 (~Hawk777@2607:c000:8292:4400:2736:50eb:4ec0:cd29) (Quit: Leaving.)
L61[08:59:18] ⇨ Joins: Vexatos (~Vexatos@pd9e21222.dip0.t-ipconnect.de)
L62[08:59:18] zsh sets mode: +v on Vexatos
L63[09:02:42] <Kristo​pher38> >Izaya: guy has like a million dollars worth of PDP-11 hardware now
L64[09:02:43] <Kristo​pher38> where can I get my pdp-11 T_T
L65[10:07:50] <Forec​aster> "We have pdp-11 at home"
L66[10:08:04] <ThePi​Guy24> my favourite motivator, spite! https://tinyurl.com/27z6fqpl
L67[10:27:26] <Izaya> Forecaster: don't even joke about that
L68[10:27:48] <Izaya> all our computers are bad PDP-11 imitations
L69[10:28:02] <Izaya> ThePiGuy24: yeah I'd develop software for ... 18 years out of spite what of it
L70[10:28:25] <Izaya> it was one of the primary motivators for minitel after all
L71[10:50:12] <Forec​aster> >Izaya: all our computers are bad PDP-11 imitations
L72[10:50:12] <Forec​aster> That fits the meme perfectly
L73[10:56:56] <Elfi> Forget the PDP, I want a NABU
L74[10:57:20] <Izaya> Those are cute, has someone written a replacement ROM and/or put in some sort of storage peripheral yet?
L75[11:03:39] <Elfi> Yeah
L76[11:04:02] <Elfi> They also got ahold of a lot of the original software and revised it
L77[11:04:42] <Izaya> oh sweet
L78[11:04:59] <Izaya> I saw the ... Tech Tangents? video on it a while back
L79[11:05:18] <Izaya> found a copy of the manual and it seems simple enough to add hardware to with the expansion headers
L80[11:05:31] <Elfi> Yee
L81[11:05:45] <Elfi> Seems the original listings on ebay dried up
L82[11:06:09] <Izaya> did they sell the whole stock or is it only the first listing?
L83[11:06:23] <Elfi> Dunno
L84[11:06:25] <Izaya> apparently the guy had like a whole shittonne but was going to be selling X many at a time so he could handle the order volume
L85[11:06:38] <Izaya> so you might still be in luck!
L86[11:06:42] <Elfi> I guess I'll keep an eye and ear out
L87[11:07:16] <Elfi> As it is, shipping is prohibitively expensive because for some reason the warehouse is in the states
L88[11:07:26] <Izaya> ah I see
L89[11:07:28] <Izaya> road trip time? D:
L90[11:07:32] <Izaya> s/D:/:D/g
L91[11:07:32] <MichiBot> <Izaya> road trip time? :D
L92[11:07:39] <Elfi> I wish
L93[11:08:01] <Elfi> A road trip would probably be just as expensive?
L94[11:08:14] <Izaya> yeah but you'd be getting an experience too
L95[11:08:17] <Elfi> Ah well, MAME has an emulator for it now
L96[11:08:23] <Izaya> really? wild
L97[11:09:04] <Izaya> I guess it's just an unusual Z80 machine, but...
L98[11:09:27] <Elfi> It's also a piece of Canadian computing history
L99[11:09:41] <Elfi> But that matters little for emulation, yeah
L100[11:10:01] <Elfi> It really is a lot of off-the-shelf parts
L101[11:10:50] <Izaya> hehehe
L102[11:10:53] <Izaya> > Hey if it’s not working yet then it’s emulating my NABU perfectly!
L103[11:11:04] <Elfi> I wanna bolt a YM2413 to it like it's an MSX
L104[11:11:49] <Izaya> I2C and a floppy controller in that cute box would be pretty sweet
L105[11:12:10] <Izaya> I guess you could do storage over I2C, but...
L106[11:12:35] <Elfi> Oh yeah, that reminds me
L107[11:13:17] <Elfi> I had an idea for an AVDAC cartridge for the Raspberry Pi 400 to make up for there being no composite video out
L108[11:13:40] <Elfi> And I was going to break out I2C on it
L109[11:14:24] <Elfi> But then they publicized hiring a surveillance cop and dug in their heels so now I never have to worry \o/
L110[11:14:34] <Izaya> \o/
L111[11:15:02] <Izaya> I want an I2C card for my RC2014 system so I can do access.bus
L112[11:18:53] <Elfi> I2C really is a nice thing to have handy
L113[11:28:54] ⇨ Joins: byxlo666 (~byxlo666@185.107.192.166)
L114[11:29:19] ⇨ Joins: klianer (~klianer@185.107.192.166)
L115[11:29:56] ⇦ Quits: byxlo666 (~byxlo666@185.107.192.166) (Client Quit)
L116[11:30:26] ⇦ Quits: klianer (~klianer@185.107.192.166) (Client Quit)
L117[11:34:35] ⇨ Joins: Klianer (~Klianer@185.107.192.166)
L118[11:35:17] ⇨ Joins: byxlo (~byxlo@185.107.192.166)
L119[11:39:31] ⇦ Quits: Klianer (~Klianer@185.107.192.166) (Quit: Klianer)
L120[11:42:50] ⇨ Joins: Klianer (~Klianer@185.107.192.166)
L121[11:43:17] <Klianer> привеет
L122[11:44:15] ⇦ Quits: Klianer (~Klianer@185.107.192.166) (Client Quit)
L123[11:46:45] <ThePi​Guy24> privyeeted themselves outta here
L124[11:52:20] ⇨ Joins: Klianer (~Klianer@185.107.192.166)
L125[11:56:04] * Amanda meows and looks around
L126[11:56:47] * Amanda spots an elfi, wanders over to protecc and provide breakfast
L127[11:56:56] ⇦ Quits: Klianer (~Klianer@185.107.192.166) (Remote host closed the connection)
L128[11:57:10] ⇦ Quits: byxlo (~byxlo@185.107.192.166) (Remote host closed the connection)
L129[11:59:51] ⇦ Quits: ThePiGuy24 (~ThePiGuy2@84.69.239.153) (Quit: h)
L130[12:01:19] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@84.69.239.153)
L131[12:09:40] ⇦ Quits: ThePiGuy24 (~ThePiGuy2@84.69.239.153) (Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in)
L132[12:09:56] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@84.69.239.153)
L133[12:10:15] <ThePiGuy24> there we go, got znc set up now ;p
L134[12:10:21] <Forec​aster> dang, all the junk screens I've found at work use VGA...
L135[12:10:23] <Forec​aster> >:
L136[12:10:24] <Amanda> or do you?
L137[12:10:38] <Forec​aster> I need a slightly newer junk screen that has DVI
L138[12:11:02] <Amanda> Best I can do is composite
L139[12:11:24] <Izaya> no primo 1440x900s?
L140[12:11:51] <Forec​aster> DP would also work, but I think that's asking too much from my workplace
L141[12:13:24] <ThePiGuy24> Amana
L142[12:13:32] <ThePiGuy24> brain go brr
L143[12:13:45] <ThePiGuy24> Amanda: probably, idk im just pressing random buttons here
L144[12:14:55] <Forec​aster> aren't we all
L145[12:15:04] <Amanda> pressing random buttons is the breast way to do sysadmin work - A cat
L146[12:15:19] <ThePiGuy24> as a cat, i agree
L147[12:16:34] <Forec​aster> as a (currently) fox I don't think I can agree by principle
L148[12:16:45] <ThePiGuy24> also what was the command to set the corded pfp again?
L149[12:17:04] <Forec​aster> %avatar
L150[12:17:04] <MichiBot> Use `!setmyavatar <url>`
L151[12:17:10] <ThePiGuy24> thanks
L152[12:17:12] <Amanda> And that's why you're in containment, Forecaster~
L153[12:17:43] <ThePiGuy24> !setmyavatar https://thepiguy24.net/media/icon.png
L154[12:17:57] <ThePiGuy24> did it do the thing?
L155[12:18:01] <ThePiGuy24> yay
L156[12:18:02] <Forec​aster> yes
L157[12:19:06] ⇦ Quits: ThePiGuy24 (~ThePiGuy2@84.69.239.153) (Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in)
L158[12:19:59] <ThePi​Guy24> oops killed the server
L159[12:20:15] <Forec​aster> gasp, murder
L160[12:21:19] ⇨ Joins: ThePiGuy24 (~ThePiGuy2@84.69.239.153)
L161[12:21:35] <ThePiGuy24> bingus
L162[12:24:34] <ThePiGuy24> and now to find a suitable client for my pp
L163[12:59:55] <Forec​aster> %skull
L164[12:59:55] <MichiBot> You drink a simulated silver potion (New!). A bard starts playing a lute behind Forecaster until they sneeze.
L165[13:00:11] <Forec​aster> ohno, there's no pepper in this containment cell D:
L166[13:52:28] <ThePiGuy24> %tonkout hopefully if i timed this right?
L167[13:52:28] <MichiBot> Potzblitz! ThePi​Guy24! You beat your own previous record of 8 hours, 18 minutes and 18 seconds (By 12 seconds)! I hope you're happy!
L168[13:52:29] <MichiBot> ThePi​Guy24 has tonked out! Tonk has been reset! They gained 0.008 tonk points! plus 0.014 bonus points for consecutive hours! Current score: 0.054876, Position #6 => #5 (Overtook RedstoneParkour) Need 0.058204 more points to pass Va​ur!
L169[13:52:49] <ThePiGuy24> fucking hell that was closer than i wouldve liked
L170[13:53:48] <CompanionCube> .....
L171[13:55:18] <CompanionCube> well, at least 12 seconds wasn't much
L172[13:55:50] <ThePiGuy24> i am not good at date/time math, as is evident now
L173[13:56:28] <CompanionCube> but you still got it :p
L174[13:56:36] <ThePiGuy24> barely ;p
L175[13:56:59] <Forec​aster> better than missing by 12 seconds
L176[13:57:00] <ThePiGuy24> i really gotta be more careful when checking the seconds heh
L177[13:57:14] <ThePiGuy24> yea ;p
L178[13:57:14] <Forec​aster> I always add at least a minute
L179[14:03:32] <ThePiGuy24> yeah i probably shouldve
L180[14:06:12] ⇨ Joins: ben_mkiv (~ben_mkiv@2001:16b8:1e72:3d00:fe34:97ff:fea9:75f2)
L181[15:14:03] <AR2​000> what is the goal of `package.delay` ? in `/lib/package.lua`
L182[15:16:27] <Pigeon​Antoxa> where can i find functions for GTCE? I want to check power in batter buffer
L183[15:18:39] <AR2​000> check that OC recognise the batter buffer with `components`
L184[15:18:39] <AR2​000> use the `lua` interpreter to look for the methods available `component.componentName` or
L185[15:18:39] <AR2​000> Code Block pastebined https://paste.pc-logix.com/usumixaqop
L186[15:23:55] <Pigeon​Antoxa> >AR2000: check that OC recognise the batter buffer with `components`
L187[15:23:55] <Pigeon​Antoxa> use the `lua` inter…
L188[15:23:55] <Pigeon​Antoxa> oooo, i can use this for any blocks to get methods for them?
L189[15:24:03] <AR2​000> yep
L190[15:24:27] <AR2​000> if OC integration exists
L191[15:25:14] ⇦ Quits: feldim2425 (~feldim242@178-191-187-206.adsl.highway.telekom.at) (Ping timeout: 189 seconds)
L192[15:26:07] ⇨ Joins: feldim2425 (~feldim242@2001:871:25a:803d:bb6c:281d:d93:7122)
L193[15:29:50] <Pigeon​Antoxa> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/ayitahorub
L194[15:30:04] <Amanda> @AR2000 lets OpenOS load libraries partially, until the full version is needed by a program, allowing lower memory usage for less-used features
L195[15:30:46] <Amanda> @AR2000 one of payonel's primary goals for openos was it should work on a t1 with minimal ram, at least mostly
L196[15:31:04] <AR2​000> nice
L197[15:31:49] <AR2​000> that's why it play with the __index metamethod. To wait for it to be used at least once
L198[15:50:51] ⇦ Quits: infina (~infina@chr.lobsternetworks.com) (Quit: ZNC - http://znc.in)
L199[15:51:21] ⇨ Joins: pan_urge (webchat@213.87.146.146)
L200[15:51:52] ⇦ Quits: pan_urge (webchat@213.87.146.146) (Client Quit)
L201[15:57:34] <Pigeon​Antoxa> https://tinyurl.com/25jubekj
L202[15:57:55] <Pigeon​Antoxa> https://tinyurl.com/2dz7hov8
L203[15:58:27] <Amanda> You call it on the component, not globally
L204[15:58:43] <Amanda> So GTbuffer.getEnergyStored
L205[16:03:11] <Forec​aster> >PigeonAntoxa: And if i want my program to use 2 adapters, than i must write
L206[16:03:11] <Forec​aster> local compone…
L207[16:03:11] <Forec​aster> you use the component.proxy method to refer to a component with its address
L208[16:20:06] <ThePiGuy24> ls
L209[16:20:16] <ThePiGuy24> wait this isnt the terminal
L210[16:20:17] <Forec​aster> no files here innit
L211[17:01:51] ⇦ Quits: ben_mkiv (~ben_mkiv@2001:16b8:1e72:3d00:fe34:97ff:fea9:75f2) (Killed (NickServ (GHOST command used by ben_mkiv|afk!~ben_mkiv@2001:16b8:1ed3:4700:fe34:97ff:fea9:75f2)))
L212[17:01:55] ⇨ Joins: ben_mkiv|afk (~ben_mkiv@2001:16b8:1ed3:4700:fe34:97ff:fea9:75f2)
L213[17:21:11] <Pigeon​Antoxa> what does '''select()'''' do?
L214[17:21:56] <Pigeon​Antoxa> Code Block pastebined https://paste.pc-logix.com/poyexegufa
L215[17:22:12] <AR2​000> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/ahiwiyayut
L216[17:22:41] <AR2​000> https://www.tutorialspoint.com/select-function-in-lua-programming
L217[17:23:34] <Pigeon​Antoxa> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/ucowokoset
L218[17:23:34] <Pigeon​Antoxa> i read that but didn't undertstand for it do in example above
L219[17:24:11] <ThePiGuy24> reading the documentation on events will help with that probably
L220[17:24:35] <AR2​000> select take a position as a first argument. It return all the other arguments passed stating at the position you gave
L221[17:24:50] * Elfi zzzz on Amanda
L222[17:25:00] <Pigeon​Antoxa> want to make function repeat until i wrote another command
L223[17:25:19] <AR2​000> select won't work for that
L224[17:25:24] <Pigeon​Antoxa> hmmm
L225[17:25:26] <AR2​000> it's not a switch
L226[17:25:37] <Pigeon​Antoxa> no no
L227[17:25:51] <Pigeon​Antoxa> it will stop when cmd == stop
L228[17:26:26] <Pigeon​Antoxa> but why i can't write just cmd = event.pull(1, "modem_message")
L229[17:26:31] <AR2​000> Code Block pastebined https://paste.pc-logix.com/ufamikizec
L230[17:28:04] <Pigeon​Antoxa> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/opaxoyujir
L231[17:28:04] <Pigeon​Antoxa> no, i need to repeat program if i don't write something. It's for checking energy level in battery buffer
L232[17:28:05] <AR2​000> >PigeonAntoxa: but why i can't write just cmd = event.pull(1, "modem_message")
L233[17:28:05] <AR2​000> event return multipe variables
L234[17:28:06] <AR2​000> Code Block pastebined https://paste.pc-logix.com/hajilagumo
L235[17:28:29] <Pigeon​Antoxa> aaaaaaaaa ok
L236[17:28:44] <AR2​000> >PigeonAntoxa: no, i need to repeat program if i don't write something. It's for checkin…
L237[17:28:44] <AR2​000> Code Block pastebined https://paste.pc-logix.com/iyanupeyic
L238[17:30:34] <AR2​000> instead of `envent.pull` you can use `event.listen`
L239[17:30:34] <AR2​000> Code Block pastebined https://paste.pc-logix.com/wonofobofe
L240[17:30:34] <AR2​000> onModemMessage will be called when a message arrive and take the execution thread to do it's think. The execution is resumed where it left when the function end
L241[17:31:01] <AR2​000> the listener can be called while waiting for keyboard inputs, in a loop, or anywhere
L242[17:45:18] <Pigeon​Antoxa> https://tinyurl.com/272fovgn
L243[17:45:57] <AR2​000> noooooooo
L244[17:46:16] <Pigeon​Antoxa> >AR2000: noooooooo
L245[17:46:16] <Pigeon​Antoxa> i read this with pain in voice
L246[17:46:23] <AR2​000> named parameter are a thing in python, not lua
L247[17:46:46] <AR2​000> the 2nd argument of `event.pull` is a string, the name of the event you want to wait for
L248[17:46:55] <Pigeon​Antoxa> >AR2000: named parameter are a thing in python, not lua
L249[17:46:55] <Pigeon​Antoxa> i don't know python XD, only java, c++
L250[17:47:14] <AR2​000> what you could do is use `event.timer` to read the energy every x seconds
L251[17:47:16] <Pigeon​Antoxa> aaaa i need to write function there
L252[17:47:23] <AR2​000> >PigeonAntoxa: aaaa i need to write function there
L253[17:47:24] <AR2​000> nop
L254[17:47:34] <AR2​000> `event.pull` take a string, the event name, not a function
L255[17:48:07] <Amanda> The event is returned by event.pull with multiple returns, not by passing in a value
L256[17:48:08] <AR2​000> `event.listen(eventName: string, callback: function)`
L257[17:49:31] <Pigeon​Antoxa> >AR2000: what you could do is use `event.timer` to read the energy every x seconds
L258[17:49:31] <Pigeon​Antoxa> but in this case i need to turn off computer cause i can't stop programm
L259[17:49:51] <AR2​000> Code Block pastebined https://paste.pc-logix.com/bidabivila
L260[17:49:59] <AR2​000> >PigeonAntoxa: but in this case i need to turn off computer cause i can't stop programm
L261[17:50:00] <AR2​000> ctrl+c
L262[17:50:12] <Pigeon​Antoxa> >AR2000: ctrl+c
L263[17:50:13] <Pigeon​Antoxa> a lol
L264[17:50:23] <AR2​000> it send a "interrupted" event that if not handled, kill the program
L265[17:50:40] <Va​ur> %tonk
L266[17:50:40] <MichiBot> Fopdoodle! Va​ur! You beat ThePi​Guy24's previous record of <0 (By 3 hours, 58 minutes and 12 seconds)! I hope you're happy!
L267[17:50:41] <MichiBot> Vaur's new record is 3 hours, 58 minutes and 12 seconds! Vaur also gained 0.00397 tonk points for stealing the tonk. Position #4. Need 0.07015 more points to pass Mic​hiyo!
L268[17:51:10] <Pigeon​Antoxa> >AR2000: it send a "interrupted" event that if not handled, kill the program
L269[17:51:10] <Pigeon​Antoxa> i need Visual Studio inside minecraft for OpenComputers
L270[17:51:11] <AR2​000> btw : `term.read()` stop the execution until the user sent something. No timeout possible
L271[17:51:25] <Pigeon​Antoxa> >AR2000: btw : `term.read()` stop the execution until the user sent something. No timeou…
L272[17:51:26] <Pigeon​Antoxa> ohhh
L273[17:51:35] <AR2​000> https://tinyurl.com/232lpl2c
L274[17:52:21] <Pigeon​Antoxa> so in this i can't stop program by entering something in computer. I can stop it if it can recive message from outside?
L275[17:52:32] <Pigeon​Antoxa> like modem?
L276[17:53:12] <AR2​000> set `bufferChanges` to false in OC's config
L277[17:53:12] <AR2​000> then go to `save/opencomputers/hdd-uuid`
L278[17:53:43] <Pigeon​Antoxa> >AR2000:
L279[17:53:43] <Pigeon​Antoxa> pog\
L280[17:53:47] <Forec​aster> >AR2000: it send a "interrupted" event that if not handled, kill the program
L281[17:53:48] <Forec​aster> Incorrect, ctrl + c just sends the interrupted event, if not handled nothing happens
L282[17:54:16] <Forec​aster> ctrl + alt + c forces an error that if not handled will kill the program
L283[17:55:29] <AR2​000> >PigeonAntoxa: like modem?
L284[17:55:29] <AR2​000> yep
L285[17:55:29] <AR2​000> Code Block pastebined https://paste.pc-logix.com/unisozejup
L286[17:57:22] <AR2​000> when you do ctrl+c in some io method, it return nil or false (one is ctrl+c, the other ctrl+d)
L287[17:58:59] <Pigeon​Antoxa> okay, now another question
L288[17:59:14] <Pigeon​Antoxa> is it possible to run few programs at same time?
L289[17:59:27] <Pigeon​Antoxa> in different monitors
L290[18:00:08] <Pigeon​Antoxa> example: in 1st room power generation, in 2nd room ore production rate
L291[18:00:27] <Forec​aster> one computer runs one program
L292[18:00:43] <Redston​eParkour> make said program use all monitors
L293[18:02:00] <Pigeon​Antoxa> >Forecaster: one computer runs one program
L294[18:02:00] <Pigeon​Antoxa> not like in computer craft to send different programs to different monitors?
L295[18:07:13] <Redston​eParkour> OpenOS *probably* isn't designed to handle that
L296[18:07:25] <Forec​aster> it's not
L297[18:07:55] <Va​ur> %sip
L298[18:07:55] <MichiBot> You drink a fluffy coral potion (New!). Vaur remembers an important appointment.
L299[18:08:02] <Forec​aster> you'd have to write a program that displays different information on different monitors, or use another OS that has that capability built in
L300[18:08:55] <ThePiGuy24> i have messed about with writing programs for multiple monitors in oc, but is naturally messy
L301[18:09:14] <ThePiGuy24> and also slow, binding screens is slow
L302[18:09:57] <ThePiGuy24> multiple gpus would be much faster, but also more expensive and requires more component slots
L303[18:10:55] <Elfi> Possibly doable by wrapping theGPU interface with a driver to queue drawing calls per monitor, but that'd require overriding a lot of the core systems
L304[18:11:39] <Elfi> I have in the past written something to iterate over all monitors and slowly overwrite everything on them with BABEL BABEL BABEL BABEL BABEL
L305[18:12:15] <Elfi> Where slowness is less of a problem since it's meant to be a progressive overwrite to get that patlabor movie aesthetic
L306[18:13:37] <Forec​aster> I expect this to be a little over the top for someone who's new to Lua
L307[18:14:46] <ThePiGuy24> eh not really, can just create a virtual gpu component, and use a bit of jank to 'unregister' the original gpu ;p
L308[18:16:06] <Forec​aster> *just*
L309[18:18:01] <Amanda> Don't need to unregister the old, really. Just set the virtual as primary, and "component.gpu" will point to it, and I believe OpenOS tracks the primary GPU for the rest of the io stuff
L310[18:25:07] <ThePiGuy24> from my experience, it seems to be inconsistent as to whether it does or not
L311[18:30:23] <Va​ur> %sip
L312[18:30:23] <MichiBot> You drink a shiny copper potion (New!). Vaur briefly feel like they have just stepped out of a car.
L313[19:00:32] <Pigeon​Antoxa> "different OS" is something like this:
L314[19:00:33] <Pigeon​Antoxa> https://github.com/IgorTimofeev/MineOS/blob/master/README.md
L315[19:04:50] <Forec​aster> yes, but we don't support third party operating systems
L316[19:05:01] <Forec​aster> they're supported by their individual authors
L317[19:05:37] <Amanda> There's also other OSes
L318[19:05:50] <Amanda> I can think of like five off the top of my head
L319[19:10:05] <ThePiGuy24> there are quite a lot of oses, though quality and usability varies a lot
L320[19:10:46] <ThePiGuy24> but for the most part, it is reccomended just to stick with openos until you are more familliar with how oc works
L321[19:15:36] <Pigeon​Antoxa> okay, can i work with OC lua in Visual Studio (not VC Code)
L322[19:16:34] <ThePiGuy24> you can work with it in anything that can edit text files, though your experience will vary depending on which. vs will probably work
L323[19:16:39] <AR2​000> if vscode can I don't see why vs studio can't
L324[19:17:07] <AR2​000> just don't forget to set `bufferChanges` to false in OC's config
L325[19:18:18] <Pigeon​Antoxa> >AR2000: if vscode can I don't see why vs studio can't
L326[19:18:18] <Pigeon​Antoxa> wait i can sync VC and Computer in minecraft?
L327[19:19:49] <Amanda> files in OC are just files on the computer running the server, so yes
L328[19:20:11] <Amanda> you have to disable bufferChanges first though, otherwise they'll only update when the hdd is taken out and put back in
L329[19:36:24] <Pigeon​Antoxa> ok, now i need VC code cause there are nothing for Visual Studio
L330[19:38:38] ⇨ Joins: Maxim_gm2 (~Maxim_gm2@46.200.65.209)
L331[19:39:07] ⇦ Quits: Maxim_gm2 (~Maxim_gm2@46.200.65.209) (Quit: Maxim_gm2)
L332[19:40:01] <AR2​000> >PigeonAntoxa: ok, now i need VC code cause there are nothing for Visual Studio
L333[19:40:01] <AR2​000> you can use Visual studio
L334[19:40:01] <AR2​000> Any text editor works
L335[19:40:48] <AR2​000> some will have better lua plugins, vscode has a opencomputers one (but break lua plugin)
L336[19:40:48] <AR2​000> I'm using vscode with a normal lua plugin
L337[19:43:52] <Pigeon​Antoxa> i instailed this one
L338[19:43:53] <Pigeon​Antoxa> https://marketplace.visualstudio.com/items?itemName=subtixx.opencomputerslua
L339[19:45:03] <AR2​000> that's the one I used
L340[19:46:55] ⇦ Quits: ben_mkiv|afk (~ben_mkiv@2001:16b8:1ed3:4700:fe34:97ff:fea9:75f2) (Quit: Leaving)
L341[19:47:30] <AR2​000> work, but I prefer : sumneko.lua
L342[19:47:31] <AR2​000> It doesn't know oc libs, but it work better for syntax highlight and checking
L343[19:47:55] <Amanda> You can teach sumneko OC stuff.
L344[19:48:29] <AR2​000> Probably, I tried, but didn't fully make it work
L345[19:48:44] <Amanda> https://git.camnet.site/amandac/oc-monorepo/src/branch/master/hack/meta/opencomputers and https://git.camnet.site/amandac/oc-monorepo/src/branch/master/.luarc.json
L346[19:49:16] <AR2​000> settings.json
L347[19:49:17] <AR2​000> Code Block pastebined https://paste.pc-logix.com/uzomafunaq
L348[19:49:18] <Amanda> Works pretty well, even considering I'm developing for like 3 playforms in that repo
L349[19:51:27] <Amanda> DOn't have it for OpenOS, but you can do this with the meta stuff: https://git.camnet.site/amandac/oc-monorepo/src/branch/master/hack/meta/kos-neo/library/globals.d.lua
L350[19:51:46] <Amanda> And then you get type-checked stuff, very nice
L351[19:52:16] <AR2​000> looks nice
L352[19:52:16] <AR2​000> I think I'll pose my Ethernet reimplementation and do that
L353[19:56:31] <Forec​aster> but that's illegal
L354[19:57:15] <AR2​000> why ?
L355[19:57:15] <AR2​000> I want TCP/IP, UDP/IP and sockets
L356[19:57:15] <AR2​000> But I want a clean Ethernet first
L357[19:57:39] <Forec​aster> Why?! It's against fox law!
L358[19:57:57] <ThePiGuy24> just use soap and water like eveyone else does, thats how i clean my ethernet
L359[19:58:38] <AR2​000> Oh, good. laws are not retroactive
L360[19:58:39] <AR2​000> There is no fox in 1.12.2. I'm not concerned by fox law
L361[19:59:11] <Amanda> Quark adds fire hounds, which are nether foxen
L362[19:59:15] <AR2​000> I'm really doing it for the technical challenge.
L363[19:59:15] <AR2​000> With sockets files in /dev
L364[19:59:25] <ThePiGuy24> cat law still applies though :3
L365[19:59:46] <ThePiGuy24> luckily for you, cat law does not care about ethernet
L366[19:59:58] <AR2​000> I have mekanism, sgcraft, oc, open security, open printer, computronix
L367[19:59:58] <AR2​000> I thinks that's all
L368[20:00:19] <Forec​aster> they're biased because ethernet cable standards are named after them >:
L369[20:00:31] <AR2​000> cat law say Ethernet cannot help dogs
L370[20:00:36] <Amanda> %math 7 * 4
L371[20:00:36] <MichiBot> 7 * 4 => 28
L372[20:02:06] <CompanionCube> ethernet over oc modems is kinda weird
L373[20:02:34] <ThePiGuy24> 1.12 has birds, you can do IPoAC
L374[20:02:40] <CompanionCube> much like my never-implemented cursed idea of 'what if we resurrected the OSI stack for OC'
L375[20:02:49] <AR2​000> the modem API is ethernet in a way. I'm building a API to present it like a Ethernet frame
L376[20:03:02] <AR2​000> >CompanionCube: much like my never-implemented cursed idea of 'what if we resurrected the…
L377[20:03:02] <AR2​000> that's my goal
L378[20:03:14] <AR2​000> Once ethernet is done, I'm doing IP
L379[20:03:18] <AR2​000> and TCP/UDP
L380[20:03:20] <AR2​000> with sockets
L381[20:03:35] <CompanionCube> OSI stack doesn't include TCP/IP :)
L382[20:07:01] <CompanionCube> (btw, this is stack to which the 'Lightweight' in LDAP compares to, so, yeah)
L383[20:29:00] <Forec​aster> %skull
L384[20:29:00] <MichiBot> You drink an oxidised rød potion (New!). Forecaster's clothes turn the color of dilithium until an elephant forgets.
L385[20:31:27] ⇦ Quits: Victor_sueca (~Victor_su@190.pool90-165-120.dynamic.orange.es) (Ping timeout: 186 seconds)
L386[20:33:41] ⇨ Joins: Victor_sueca (~Victor_su@190.pool90-165-120.dynamic.orange.es)
L387[20:37:14] <Va​ur> %sip
L388[20:37:15] <MichiBot> You drink a still moonstone potion (New!). After the first sip the potion poofs away.
L389[20:44:40] <AR2​000> Amanda: thx a lot, I'm back 10ft deep in documentation hell
L390[20:44:40] <AR2​000> I'm going to make def for the components / libs I use, and re-anotate my code
L391[20:46:36] <Amanda> This has defs for all the components I regularly use: https://git.camnet.site/amandac/oc-monorepo/src/branch/master/hack/meta/opencomputers/library/builtin-components.d.lua
L392[20:50:26] <AR2​000> no gpu :(
L393[20:50:34] <AR2​000> I already stole modem
L394[20:50:47] <Amanda> I don't regularly touch the GPU. :P
L395[20:50:51] <AR2​000> rn I'm stealing ocdoc.cil.li
L396[20:51:10] <AR2​000> After gpu, next on my list is data
L397[21:06:41] <Va​ur> %sip
L398[21:06:42] <MichiBot> You drink a resonating pear potion (New!). Vaur feels slightly faster.
L399[21:22:03] <CompanionCube> %tonk
L400[21:22:03] <MichiBot> I'm sorry CompanionCube, you were not able to beat Vaur's record of 3 hours, 58 minutes and 12 seconds this time. 3 hours, 31 minutes and 22 seconds were wasted! Missed by 26 minutes and 49 seconds!
L401[21:22:07] <CompanionCube> dammit
L402[22:19:48] <Izaya> hmm, someone implemented gpu.fill over VT100 control codes didn't they
L403[23:08:36] <ThePiGuy24> sounds like a very ocawesome thing to do
L404[23:22:46] <ThePiGuy24> man i have the desire to do cursed shit but not the motivation to do it
L405[23:53:16] ⇦ Quits: Vexatos (~Vexatos@pd9e21222.dip0.t-ipconnect.de) (Quit: Insert quantum chemistry joke here)
L406[23:53:50] <Kristo​pher38> >ThePiGuy24: sounds like a very ocawesome thing to do
L407[23:53:50] <Kristo​pher38> it does indeed
L408[23:53:57] <Kristo​pher38> i'm pretty sure he did
<<Prev Next>> Scroll to Top