<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:11:56] <Kleadron> wasn't there a way to get the cpu architecture
L2[00:15:29] <Wuerfel_21> doing something that is illegal in Lua 5.2 and catching the exception?
L3[00:29:00] ⇦ Quits: Thutmose (Thutmose!~Patrick@host-69-59-79-181.nctv.com) (Quit: Leaving.)
L4[00:37:03] <Kleadron> just figured out there is a _VERSION variable that tells you what the lua version is
L5[00:55:36] <Kleadron> alright so the window order has been changed in my reactor program so that the easy info bars take up half the screen space and allow the more detailed information to stretch upwards and display more of it
L6[01:15:59] <Izaya> finally got around to pushing and shit https://git.shadowkat.net/izaya/OC-PsychOS2
L7[01:16:48] ⇨ Joins: erratic (erratic!erratic@206.125.168.77)
L8[01:23:53] ⇦ Quits: Kleadron (Kleadron!~kleadron@c-73-254-147-9.hsd1.wa.comcast.net) (Ping timeout: 190 seconds)
L9[01:59:19] <CompanionCube> differences vs v1?
L10[01:59:38] <Izaya> the whole thing
L11[01:59:41] <Izaya> :D
L12[02:00:17] <CompanionCube> ...
L13[02:00:28] <CompanionCube> you know what I meant :P
L14[02:00:57] <Izaya> well I rewrote it, hopefully it's cleaner and saner, went more unixy this time with a lua bent
L15[02:01:27] ⇨ Joins: MichiBot (MichiBot!~MichiBot@eos.pc-logix.com)
L16[02:01:27] zsh sets mode: +v on MichiBot
L17[02:01:30] <Mimiru> %tonk
L18[02:01:39] <Mimiru> Finally got home and could ssh
L19[02:02:07] <MichiBot> Aw jeez! Mimiru! You beat TheFox's previous record of 9 hours, 13 minutes and 19 seconds! I hope you're happy!
L20[02:02:10] <MichiBot> Mimiru's new record is 11 hours, 24 minutes and 37 seconds! 2 hours, 11 minutes and 17 seconds gained!
L21[02:02:17] <Mimiru> %tonkout
L22[02:02:18] <MichiBot> Mimiru has tonked out! Tonk has been reset! They gained 0.011 tonk points! Current score: 0.022
L23[02:02:52] <CompanionCube> Izaya: user-level/desigm changes?
L24[02:02:59] <Izaya> no user system yet
L25[02:03:06] <Izaya> but uh
L26[02:03:21] <Izaya> we have a system for unified I/O now
L27[02:03:26] <Izaya> 'unified'
L28[02:03:28] * Izaya frowns
L29[02:04:13] <CompanionCube> so, more a refinement of the original style than someting completely different?
L30[02:04:21] * Izaya nods
L31[02:04:55] <Izaya> basically all fds should act the same, the FS lib is much better, scheduler is somewhat cleaner if less smart, multi-monitor support is a thing, an amount of ANSI escape codes are supported...
L32[02:06:08] <Izaya> it still uses fuck-all memory
L33[02:06:12] <Izaya> and now it supports Minitel
L34[02:06:15] <Izaya> :D
L35[02:07:02] <Izaya> CompanionCube: it would not be inaccurate to say it's designed more as a programming environment than an OS except for the lack of a good text editor
L36[02:07:38] ⇦ Quits: erratic (erratic!erratic@206.125.168.77) (Ping timeout: 190 seconds)
L37[02:07:56] <Kleadron> make a graphical shell for PsychOS2
L38[02:08:15] <Izaya> doing that with VT100 escape codes sounds painful
L39[02:08:30] <Izaya> I'm gonna stick to CLI
L40[02:08:31] <CompanionCube> so you could say it's following in the Lisp/Smalltalk tradition in that way?
L41[02:09:10] <Izaya> I suppose so
L42[02:09:19] <CompanionCube> Izaya: if you ever want a nice CLI shell, look into IBM i/OS/400
L43[02:09:27] <Izaya> shell is a lua prompt
L44[02:09:58] <Izaya> as it allows interacting with the system both directly and in a rather powerful manner without requiring another layer of abstraction
L45[02:10:07] <Izaya> in related weird design decisions, from the shell, functions and executable files are treated the same by the shell
L46[02:10:42] ⇦ Quits: Xal (Xal!~Xal@S010664777dabacc3.vw.shawcable.net) (Ping timeout: 198 seconds)
L47[02:10:44] <Izaya> ps() in the screenshot is a file /boot/exec/ps.lua
L48[02:11:06] <CompanionCube> the mentioned OS does an uncommon take on the combination of CLI/TUI
L49[02:11:15] <Izaya> https://git.shadowkat.net/izaya/OC-PsychOS2/src/branch/master/exec/ps.lua
L50[02:11:56] <Izaya> https://www.mcpressonline.com/images/images/stories/ArticleImages/2009/041709LennonFigure1.png
L51[02:11:59] <Izaya> ?
L52[02:12:10] <CompanionCube> yep
L53[02:12:36] <Izaya> This is the one that treats in-memory objects and on-disk objects the same too
L54[02:12:40] <CompanionCube> it is
L55[02:12:46] <Forecaster> %tonk
L56[02:12:48] <MichiBot> By my throth! Forecaster! You beat Mimiru's previous record of <0! I hope you're happy!
L57[02:12:49] <MichiBot> Forecaster's new record is 10 minutes and 29 seconds! 10 minutes and 29 seconds gained!
L58[02:12:56] <Izaya> weird stuff
L59[02:12:59] <Izaya> I like it
L60[02:13:04] ⇨ Joins: Xal (Xal!~Xal@S010664777dabacc3.vw.shawcable.net)
L61[02:13:28] ⇦ Quits: feldim2425 (feldim2425!~feldim242@93-82-136-51.adsl.highway.telekom.at) (Ping timeout: 190 seconds)
L62[02:13:28] * CompanionCube is on a freenode channel of people interested in it
L63[02:13:31] <Izaya> oh CompanionCube get this,
L64[02:13:41] <Izaya> I ported the OpenOS minitel daemon and library to PsychOS2
L65[02:13:53] <CompanionCube> implementing a proper GUI with VT100 is impossible
L66[02:13:55] <Izaya> but I didn't remove anything, just walled it off in ifs
L67[02:14:08] <Izaya> so I now have a daemon and library that works on both
L68[02:14:11] <Izaya> :D
L69[02:14:11] ⇦ Quits: xarses (xarses!~xarses@24.5.179.230) (Remote host closed the connection)
L70[02:14:35] <Izaya> Going to try to add KOS NEO support also, so I can just maintain one version for all platforms
L71[02:14:44] ⇨ Joins: xarses (xarses!~xarses@24.5.179.230)
L72[02:15:17] ⇦ Quits: Arcanox (Arcanox!~dragonox@104.168.20.139) (Ping timeout: 180 seconds)
L73[02:15:58] <Izaya> ... can the Raptor CS machines run IBM i?
L74[02:16:28] <CompanionCube> no
L75[02:16:33] <Izaya> aw
L76[02:16:54] <CompanionCube> at least I'd expect not
L77[02:17:03] <Izaya> >Multics for a considerably earlier system which provided persistent objects
L78[02:17:06] <Izaya> wot
L79[02:17:21] <CompanionCube> from what I learned on freenode it requires special IBM disks in the least.
L80[02:17:53] <CompanionCube> and then there's the undocumented bits
L81[02:18:07] <Izaya> >Multics implemented a single-level store for data access, discarding the clear distinction between files (called segments in Multics) and process memory.
L82[02:18:09] <Izaya> neat
L83[02:18:36] ⇨ Joins: Arcanox (Arcanox!~dragonox@104.168.20.139)
L84[02:18:58] ⇨ Joins: feldim2425 (feldim2425!~feldim242@93-82-157-60.adsl.highway.telekom.at)
L85[02:18:59] <Izaya> so a thing that works in PsychOS 2 that didn't work in the original: I can have a program open a file with io.open, get the fd from the object io.open returns, set an environment variable, then print() to the file
L86[02:19:10] <CompanionCube> (iirc IBM i uses undocumented POWER ISA extensions or similar, so unless raptor magically reproduces those...)
L87[02:21:35] <CompanionCube> Izaya: a single-level-store workstation OS would be interesting af though
L88[02:21:51] <CompanionCube> and some of the other bits would be cool too
L89[02:21:52] <Izaya> only nominally possible in OC though I'm afraid
L90[02:22:06] <Izaya> I've mapped files into a table before though, that was cool
L91[02:22:10] <CompanionCube> yeah
L92[02:22:15] <Izaya> you need lots of memory to handle large files :|
L93[02:22:33] <CompanionCube> but I also meant IRL
L94[02:23:16] <CompanionCube> (Even if Android has basically copied one part, and BeFS/WinFS sort-of another)
L95[02:23:43] <Izaya> it'd be a lot easier with real OS hardware I think
L96[02:25:25] <Izaya> you could actually trap unmapped memory and page it in on demand
L97[02:25:36] <Izaya> your RAM ends up as another layer of cache
L98[02:27:30] * Izaya hrms
L99[02:27:40] <Izaya> I still have some wonkyness with the shell I want to work out :|
L100[02:27:49] <Izaya> ie you cna backspace past the prompt
L101[02:27:49] <CompanionCube> Izaya: optane/NVDIMM might make it a breeze eventually
L102[02:29:51] ⇨ Joins: erratic (erratic!erratic@206.125.168.77)
L103[02:31:26] ⇦ Quits: Spacemike (Spacemike!webchat@132.170.46.19) (Quit: webchat.esper.net)
L104[02:31:47] <payonel> Izaya: tell me what to buy for ed
L105[02:32:00] <Izaya> ?
L106[02:32:04] <Forecaster> who's ed? :P
L107[02:32:46] <payonel> E:D -> e;d [no shift] -> ed [lazy]
L108[02:32:57] <payonel> e;d it is though, i like that
L109[02:33:48] <Forecaster> I just say Elite
L110[02:33:49] <Forecaster> :P
L111[02:35:15] <payonel> elite, i like that to
L112[02:35:16] <payonel> too*
L113[02:35:17] <Izaya> payonel: are you talking ships or guns or input devices or what
L114[02:35:26] <payonel> i haven't even installed the game yet
L115[02:35:35] <payonel> i want to buy a joystick, and a rift
L116[02:35:46] <payonel> first i need to set an appointment with my eye dr, to get some contacts
L117[02:35:52] <payonel> because i dont like vr without contacts
L118[02:35:59] <payonel> i.e. with glasses
L119[02:36:23] <Izaya> apparently the vive handles VR with glasses more comfortably, but fair enough
L120[02:36:43] <payonel> %tonk
L121[02:36:44] <MichiBot> Dogast! payonel! You beat Forecaster's previous record of 10 minutes and 29 seconds! I hope you're happy!
L122[02:36:45] <MichiBot> payonel's new record is 23 minutes and 56 seconds! 13 minutes and 27 seconds gained!
L123[02:36:45] <Izaya> well, I'm using a chinese Saitek X-45 clone
L124[02:37:12] <Izaya> but if you're fine with no separate throttle Logitech sells some fairly cheap flight sticks
L125[02:37:44] <Forecaster> I honestly mostly play with a controller and my keyboard now
L126[02:37:54] <payonel> will i be happy w/o vr?
L127[02:37:55] <Izaya> the ones I looked at were the Logitech Extreme 3D Pro and the Thrustmaster T. Flight Stick X
L128[02:38:08] <Izaya> but if you have an xbox controller I'd advise trying that out first
L129[02:38:08] <Forecaster> I don't have any VR either
L130[02:38:26] <Izaya> get used to the game before investing $$$ in peripherals for it
L131[02:38:54] * Izaya is too cheap for VR, put together a $10 head tracking setup instead
L132[02:40:57] <payonel> yeah, i was going to try the game for a while before buying extra peripherals
L133[02:55:33] ⇦ Quits: Xal (Xal!~Xal@S010664777dabacc3.vw.shawcable.net) (Ping timeout: 190 seconds)
L134[02:57:13] ⇨ Joins: Xal (Xal!~Xal@S010664777dabacc3.vw.shawcable.net)
L135[03:03:53] <Forecaster> voice control is nice as well
L136[03:04:35] <Forecaster> also, https://www.youtube.com/watch?v=56dyCNgqaok
L137[03:04:36] <MichiBot> HTC VIVE - VIVE Cosmos Trailer | length: 24s | Likes: 317 Dislikes: 131 Views: 21,658 | by HTC VIVE | Published On 7/1/2019
L138[03:04:37] <Izaya> I need to look into that more, VoiceAttack was great on Windows once I figured out how to pirate it but I want to roll my own now that I have everything on loonix
L139[03:09:34] ⇦ Quits: erratic (erratic!erratic@206.125.168.77) (Ping timeout: 190 seconds)
L140[03:30:39] <CompanionCube> %tonk
L141[03:30:40] <MichiBot> Dagnammit! CompanionCube! You beat payonel's previous record of 23 minutes and 56 seconds! I hope you're happy!
L142[03:30:41] <MichiBot> CompanionCube's new record is 53 minutes and 56 seconds! 29 minutes and 59 seconds gained!
L143[03:31:04] <CompanionCube> 29 minutes 59 seconds lol
L144[03:48:42] <Forecaster> if you'd been 3 seconds faster the record would've been 53m 53s
L145[04:06:23] ⇦ Quits: feldim2425 (feldim2425!~feldim242@93-82-157-60.adsl.highway.telekom.at) (Ping timeout: 190 seconds)
L146[04:08:55] ⇨ Joins: feldim2425 (feldim2425!~feldim242@2002:5d52:8d75:0:aa97:c000:d1a8:3da1)
L147[04:22:42] <Izaya> CompanionCube: https://my.mixtape.moe/gswmml.png
L148[04:28:48] <Izaya> it's even remotely fast
L149[04:29:17] <Izaya> I should probably write something to cache writes or this will be very painfully slow
L150[04:32:04] <Bob> o
L151[04:32:25] <stephan48> %tonk
L152[04:32:26] <MichiBot> You got the first Tonk stephan48, but this is only the beginning.
L153[04:32:37] <stephan48> huh?
L154[04:32:46] <Bob> %tonk
L155[04:32:52] <Bob> :hahAA:
L156[04:32:55] <Bob> soon
L157[04:33:25] <Izaya> %tonk
L158[04:33:27] <Izaya> %tonk
L159[04:33:28] <MichiBot> Dogast! Izaya! You beat stephan48's previous record of <0! I hope you're happy!
L160[04:33:29] <MichiBot> Izaya's new record is 1 hour, 2 minutes and 47 seconds! 1 hour, 2 minutes and 47 seconds gained!
L161[04:33:35] <Izaya> ???
L162[04:33:52] <Bob> :awaitwhat:
L163[04:33:59] <Bob> u broke it
L164[04:34:00] <Bob> gg
L165[04:36:58] <stephan48> we broke it
L166[04:37:03] <stephan48> gj Izaya :D
L167[04:37:08] <Izaya> :D
L168[04:40:19] <Bob> :aPPepeClap:
L169[04:40:49] <Izaya> emotes were a mistake
L170[04:43:10] <Forecaster> she gets confused about the current record holder and time, but remembers the ongoing counter from the last tonk
L171[04:51:43] <Bob> Is Discord Nitro your worst mightmare Izaya ?
L172[04:51:53] <Izaya> Never seen it in action tbh
L173[04:52:22] <Izaya> That said, giving money to scum is generally not very high in my book of good things
L174[04:52:58] <Izaya> that said
L175[04:53:05] <Bob> i got it for free so..
L176[04:53:05] <Izaya> real emote horror is the fediverse
L177[04:53:23] <Izaya> any server admin can add their own emotes which show up on your instance
L178[04:54:04] <Izaya> Good news: a PsychOS remote shell uses a relatively small amount of bandwidth, only one packet per two relay cycles
L179[04:54:11] <Bob> Anyone that has the emote management tag /shrug
L180[04:54:22] <Izaya> bad news: it uses that all the time
L181[04:54:34] <Bob> oof
L182[04:55:41] <Izaya> Let's see if we can cut that down a bit...
L183[05:00:43] <Izaya> yay, gone unless there's actual traffic
L184[05:02:26] <Izaya> there's still some optimisation I could do...
L185[05:03:15] ⇦ Quits: logan2611 (logan2611!~logan2611@71-218-50-110.hlrn.qwest.net) (Ping timeout: 202 seconds)
L186[05:03:55] ⇨ Joins: logan2611 (logan2611!~logan2611@71-218-50-110.hlrn.qwest.net)
L187[06:50:29] <MichiBot> Izaya REMINDER: >
L188[06:51:01] <Forecaster> Add reminder: <
L189[06:51:51] <Izaya> that was for actual IdleRPG
L190[06:52:33] <Forecaster> %tonk
L191[06:52:33] <MichiBot> Gadsbudlikins! Forecaster! You beat Izaya's previous record of 1 hour, 2 minutes and 47 seconds! I hope you're happy!
L192[06:52:34] <MichiBot> Forecaster's new record is 2 hours, 19 minutes and 5 seconds! 1 hour, 16 minutes and 17 seconds gained!
L193[06:52:40] <Forecaster> woo
L194[07:16:55] <AmandaC> %roll 1d2
L195[07:16:56] <MichiBot> AmandaC: [2]
L196[07:36:45] ⇨ Joins: ben_mkiv (ben_mkiv!~ben_mkiv@i577BCF27.versanet.de)
L197[07:44:24] <Izaya> where is require defined in OpenOS?
L198[07:44:46] <Lizzian> in one of the `/lib/core` files
L199[07:45:47] <Lizzian> i think...
L200[07:46:02] <Izaya> /lib/package.lua
L201[07:46:19] <Lizzian> yep, just found it, derp
L202[07:47:25] <Izaya> hrm
L203[07:47:37] <Izaya> it looks like it looks in /lib/ before /usr/lib/
L204[07:47:39] <Izaya> how inconvenient
L205[07:50:56] * Izaya squints
L206[07:51:05] <Izaya> now why is this letting me backspace when the buffer is empty
L207[08:12:40] <Izaya> jesus christ I'm dumb
L208[08:13:01] <Izaya> if ch == 8 and buf:len() > 0 then
L209[08:13:19] <Izaya> .___________.
L210[08:13:37] <Izaya> only display backspace properly if there's more than nothing in the buffer
L211[08:13:40] <Izaya> quality
L212[08:36:05] <Izaya> ~w io.read
L213[08:36:06] <ocdoc> http://www.lua.org/manual/5.2/manual.html#pdf-io.read
L214[08:36:08] <Izaya> ~w term.read
L215[08:36:08] <ocdoc> http://ocd.cil.li/api:term
L216[08:37:00] <Izaya> payonel: can I io.read() with a timeout of zero?
L217[08:47:51] <Izaya> ~w thread
L218[08:47:51] <ocdoc> http://ocd.cil.li/api:thread
L219[08:56:37] <Izaya> io.read() does not like to share the screen :|
L220[08:58:23] <Izaya> ~w event
L221[08:58:23] <ocdoc> http://ocd.cil.li/api:event
L222[09:02:30] <Lizzian> %tell payonel can OpenOS threads generate events (via `event.push/computer.pushSignal`) and have any other event listeners (either in main process or other threads) get them?
L223[09:02:32] <MichiBot> Lizzian: payonel will be notified of this message when next seen.
L224[09:05:16] ⇨ Joins: Thutmose (Thutmose!~Patrick@host-69-59-79-181.nctv.com)
L225[09:05:21] <Mimiru> %tonk
L226[09:05:22] <MichiBot> I'm sorry Mimiru, you were not able to beat Forecaster's record of 2 hours, 19 minutes and 5 seconds this time.
L227[09:05:23] <MichiBot> 2 hours, 12 minutes and 48 seconds were wasted! Missed by 6 minutes and 16 seconds!
L228[09:05:29] <Mimiru> damn
L229[09:06:09] <Forecaster> D:
L230[09:06:18] <Forecaster> I mean :D
L231[09:06:22] <Forecaster> I mean D:
L232[09:25:44] <Izaya> shit I think my fan died
L233[09:26:24] <Izaya> and we're back
L234[09:26:27] <Izaya> ???
L235[09:26:56] <Forecaster> it's important to keep your fans alive
L236[09:27:22] <Izaya> indeed
L237[09:27:25] <Izaya> otherwise you will die
L238[09:28:06] <stephan48> did you feed it enough dust, might it just have starved for a bit?
L239[09:28:11] <Lizzian> you don't want to get shit in them, right @superminor2?
L240[09:29:29] <Izaya> https://my.mixtape.moe/cqxpmf.webm
L241[09:43:02] <superminor2> Oh definitely not
L242[09:43:24] <superminor2> I try to avoid shitting in fans
L243[09:59:21] <gerard> Nice Izaya \?
L244[09:59:53] <Izaya> \o/
L245[10:05:14] <Lizzian> ?
L246[10:38:13] ⇨ Joins: MrX (MrX!webchat@ip1f11979a.dynamic.kabel-deutschland.de)
L247[10:38:26] ⇦ Quits: MrX (MrX!webchat@ip1f11979a.dynamic.kabel-deutschland.de) (Client Quit)
L248[10:49:23] ⇨ Joins: t20kdc (t20kdc!~20kdc@cpc139326-aztw33-2-0-cust441.18-1.cable.virginm.net)
L249[11:16:21] ⇨ Joins: Inari (Inari!~Pinkishu@p54AFF7B8.dip0.t-ipconnect.de)
L250[11:16:54] <Inari> AmandaC: https://cdn.discordapp.com/attachments/372088760868929546/527888765918773248/ihdqqSe.png
L251[11:20:52] <superminor2> Apparently Cisco decided that dns isn't really needed, and a recent firepower update was kinda just... Blocking dns.
L252[11:21:15] <superminor2> That is how I love to spend my mornings, trying to find the source of a dns issue
L253[11:22:07] <Corded> * <Lizzian> claps
L254[11:23:28] <Izaya> it's always DNS
L255[11:25:51] <superminor2> It really is
L256[11:50:51] <payonel> Izaya: yeah, threads don't share cursor position well. it has caused me to realize that printing should always move the cursor, it's a slightly different model than where openos is today. 1.8 might fix that. but note that 1.8 is also free to break back support
L257[11:51:27] <Izaya> payonel: implemented my own input handler
L258[11:51:34] <payonel> @Lizzian yes, pushSignal (and note, event.push == computer.pushSignal) goes back to the metal, and thus everything gets the signal
L259[11:51:46] <Izaya> I presume you can't see the video
L260[11:51:48] <Lizzian> awesome
L261[11:52:40] <payonel> Izaya: your own keyboard read? you've done that a few times before. what is of note this time? also, what vid?
L262[11:53:30] <Izaya> payonel: it's so I can read from it non-breakingly
L263[11:53:34] <Izaya> https://my.mixtape.moe/cqxpmf.webm
L264[11:53:39] <Izaya> [Music]
L265[12:02:12] <payonel> Izaya: so youre saying you had to implement a custom stdin stream for nc on openos?
L266[12:02:26] <Izaya> kinda
L267[12:02:32] <payonel> that's unfortunate
L268[12:02:39] <payonel> i didnt have to for psh
L269[12:02:42] <Izaya> I couldn't make io.read to cooperate so I did it myself
L270[12:03:06] <payonel> how are you accepting nc connections?
L271[12:03:20] <payonel> event.listen ?
L272[12:03:26] <payonel> or ... in other words ...
L273[12:03:45] <Izaya> it's just listening with minitel.listen() on the server then forking
L274[12:03:47] <payonel> how is the nc connection process resumed?
L275[12:04:02] <payonel> yes, but forking via what mechanism?
L276[12:04:09] <Izaya> os.spawn
L277[12:04:17] <payonel> in openos-lingo
L278[12:04:22] <payonel> how are you forking in openos?
L279[12:04:30] <Izaya> I'm notm?
L280[12:04:38] <Izaya> Server is PsychOS
L281[12:04:41] <payonel> oh i see
L282[12:04:46] <payonel> so then i'm confused again ...
L283[12:04:53] <payonel> you couldn't run the nc client from openos..why?
L284[12:04:57] <payonel> what would go wrong?
L285[12:05:09] <Izaya> io.read would block
L286[12:05:19] <payonel> what else needed to run?
L287[12:06:08] <Izaya> the part that runs from the socket
L288[12:06:17] <Izaya> s/runs/reads/
L289[12:06:18] <MichiBot> <Izaya> the part that reads from the socket
L290[12:06:30] <payonel> but isn't that an event registrant?
L291[12:06:41] <payonel> i.e. via listen or timer, etc
L292[12:07:07] <Izaya> No, and in addition, it wouldn't help much
L293[12:07:27] <payonel> so the socket reading in nc happens inline
L294[12:07:29] <Izaya> io.read doesn't move with the cursor
L295[12:08:12] <payonel> we've got layers of misunderstanding here, the cursor _does_ move with io.read. but lets' return to that later
L296[12:08:43] <payonel> so your nc client is handling socket events and io events inline without event registrations?
L297[12:09:09] <Izaya> hear me out
L298[12:09:47] <Izaya> If you io.read(), then io.write("aaa"), then type, it'll replace the aaas on the screen
L299[12:10:55] <payonel> 1. io.read() is blocking, so you can't io.write() until it is done. 2. yes, i now see that the cursor blink should be stateful, and thus unblinked from any cursor:echo() operation, which would correctly move the cursor if any concurrent io.write() occurred
L300[12:11:40] <payonel> [[ also note, because io.read is blocking, the only way to concurrently io.write is via async ops e.g. event callbacks ]]
L301[12:16:05] <Izaya> So in implementing a read function that respects the cursor position by only working via io.write, I made mine non-blocking also
L302[12:16:47] <payonel> but before you fixed that, how were you asyncronously calling io.write? given that io.read is blocking?
L303[12:17:26] <Izaya> I wasn't :D
L304[12:17:39] <Izaya> Mash enter to get it to display anything
L305[12:18:02] <payonel> ok but in that not-async state, the cursor position was fine?
L306[12:18:54] <Izaya> Because it was only writing to the screen when io.read wasn't active, yes
L307[12:19:05] <payonel> ok cool, we're on the same page
L308[12:19:49] <payonel> Izaya: i had the same problem with psh client
L309[12:19:56] <payonel> look at this: https://github.com/OpenPrograms/payonel-Programs/blob/master/psh/usr/lib/psh/client.lua#L34
L310[12:20:27] <payonel> that's what the cursor should be doing on its own
L311[12:21:23] <payonel> Izaya: and this is where the stdout from the socket is written https://github.com/OpenPrograms/payonel-Programs/blob/master/psh/usr/lib/psh/client.lua#L58
L312[12:21:39] <Inari> It's payo!
L313[12:21:46] <payonel> Inari: :> hi
L314[12:21:51] <Inari> %potion
L315[12:21:51] <MichiBot> Inari: You get a shimmering gold potion
L316[12:21:53] <Inari> Drink that!
L317[12:22:15] <Izaya> you know OpenOS inr
L318[12:22:16] * payonel drinks shimmering gold potion
L319[12:22:20] <Inari> Nono
L320[12:22:20] <payonel> Inari: https://i.imgur.com/aJSQeSR.gifv
L321[12:22:31] <Inari> with "%ddrink ^" !
L322[12:22:37] <Izaya> Internals much better than me
L323[12:22:40] <payonel> %drink
L324[12:22:41] <MichiBot> Drink what?
L325[12:22:47] <payonel> %drink shimmering gold potion
L326[12:22:48] <MichiBot> payonel remembers an important appointment.
L327[12:22:55] <Inari> xD You needed to put the ^ too
L328[12:23:01] <Inari> payonel: Thats an interesting face on that cat
L329[12:23:22] <payonel> Izaya: you didn't do anything wrong though, i have a bug in the cursor
L330[12:23:54] <Izaya> Anyway, I have PsychOS2 remote login working nicely :D
L331[12:24:27] <payonel> %drink ^
L332[12:24:27] <MichiBot> This doesn't seem to be a potion I recognize...
L333[12:24:40] <payonel> so that would work, Inari, if i had a potion? (still)
L334[12:24:52] <Inari> Well, if its within the last 10 lines I think
L335[12:24:59] <Inari> %potion
L336[12:24:59] <MichiBot> Inari: You get a porous green potion
L337[12:25:07] <payonel> %drink ^
L338[12:25:07] <MichiBot> payonel's hair turns to the color of tan.
L339[12:25:10] <payonel> ha!
L340[12:25:24] <MGR> %potion
L341[12:25:24] <MichiBot> MGR: You get a ripe citrus potion
L342[12:25:28] <MGR> Tasty
L343[12:25:32] <MGR> %potion ^
L344[12:25:49] <payonel> Izaya: that is awesome
L345[12:25:50] <Izaya> Oh payonel did I tell you
L346[12:25:57] <MGR> %potion ^
L347[12:25:57] <MichiBot> MGR: You get a shimmering tuna potion
L348[12:26:03] <payonel> it would be really cool to psh from an nc connectin, or nc from psh :)
L349[12:26:06] <MGR> %drink ^
L350[12:26:06] <MichiBot> MGR's clothes turn the color of lime.
L351[12:26:09] <Izaya> One minitel version for all platforms?
L352[12:26:15] <payonel> yeah :) you did
L353[12:26:18] <MGR> Also tasty
L354[12:26:23] <Izaya> :D
L355[12:26:53] <payonel> Izaya: i'm getting close to finishing pshfs
L356[12:27:01] <Izaya> Still comfortably under 20K too
L357[12:29:01] <payonel> Izaya: my dream is that i can pshfs from eeprom, and boot a remote init.lua
L358[12:29:21] <Izaya> That seems exceedingly useful
L359[12:29:36] <payonel> there is a lot of code that'll have to be minified for that to work :)
L360[12:29:45] <payonel> so, it might be a pipe dream
L361[12:29:51] <Izaya> Heheh.
L362[12:30:02] <Inari> Did asie leave :f
L363[12:31:16] <Izaya> I managed to get FRequest working in an EEPROM, I should set that up to be useful
L364[12:31:36] <Izaya> Allow downloading stuff to the tmpfs
L365[12:33:25] zsh sets mode: +v on Vexatos
L366[12:33:25] ⇨ Joins: Vexatos (Vexatos!~Vexatos@p200300C107205E154F360A2151C0933C.dip0.t-ipconnect.de)
L367[12:54:55] <Lizzy> what's the difference between the teir 1 wireless network card and the teir 2 one?
L368[12:55:47] <MGR> Tier 1 can only have 1 open port and has a shorter range
L369[12:55:53] <Lizzy> ah
L370[12:55:59] <MGR> I also don't think it can also function as a wired card, but I'm not sure about that part
L371[13:05:43] <payonel> i think there was a bug about it accepting or sending wireless, one of the two. but it is SUPPOSED to only send/recv wireless
L372[13:31:55] <MGR> "And as a cherry on top, he once sent the mindmap file inside a zipped folder -- inside a powerpoint presentation! I didn't even know that such a thing was possible, but having told him that we don't have Microsoft Office, and requesting that he just sends us the mindmap or zipped folder, he once again refused, we must buy Microsoft Office to extract the file." --- Quote 1/2
L373[13:49:59] <Mimiru> %tonk
L374[13:49:59] <MichiBot> Dagnabbit! Mimiru! You beat Forecaster's previous record of 2 hours, 19 minutes and 5 seconds! I hope you're happy!
L375[13:50:00] <MichiBot> Mimiru's new record is 4 hours, 44 minutes and 37 seconds! 2 hours, 25 minutes and 32 seconds gained!
L376[13:54:44] ⇨ Joins: Kleadron (Kleadron!~kleadron@c-73-254-147-9.hsd1.wa.comcast.net)
L377[13:55:58] <Forecaster> aw
L378[13:56:21] <ZefTheFox> I have a stupid idea and it's going to use around 1600 threads for a second
L379[13:56:32] <ZefTheFox> Worst case scenario
L380[14:10:31] <ben_mkiv> and another riddle solved... -.-
L381[14:10:45] <ben_mkiv> https://i.imgur.com/KpjOFZa.png was fun to calculate those for dynamic screen tilt
L382[14:20:33] <ZefTheFox> When you crash the ocemulator
L383[14:24:39] <payonel> Inari: https://i.imgur.com/S8A6Y3Q.jpg
L384[14:24:52] <Inari> Haha
L385[14:24:57] <Inari> Poor cat, it found the best tight spot
L386[14:26:13] <Michiyo> Wish I had waited 7 more seconds...
L387[14:26:18] <Michiyo> 4:44:44.. lol
L388[14:26:33] <Inari> %pet Mimiru
L389[14:26:34] * MichiBot pets Mimiru with a fairy. 9 health gained!
L390[14:28:40] <Lizzy> payonel, If i have a linked card in a tablet/pc and the other end in a relay, how can i send messages from the pc/tablet and have them be emitted like normal network messages on devices connected to the relay?
L391[14:30:57] <Lizzy> wait nvm
L392[14:31:10] <ZefTheFox> yeah it really doesn't like it http://tinyurl.com/y9ollxf7
L393[14:31:19] <Lizzy> just realised that they do come through but on port 0
L394[14:31:54] <Skye> O_o
L395[14:37:29] *** rashy_ is now known as rashy
L396[14:40:33] <Kleadron> i tweaked the gui a bit on my program to allow for more of the detailed information on the side http://tinyurl.com/yab8l4ml
L397[14:41:03] <Kleadron> i need to add more stuff to it
L398[14:49:41] <Forecaster> More cowbell
L399[14:51:23] <payonel> Inari: https://giphy.com/gifs/5Uth0oIOnfZeuMn6Q0
L400[14:52:02] <payonel> Lizzy: we dont translate message types like that (At least, not how i'm reading your question) but you could handle the link card signals and translate them to modem_messages
L401[14:52:32] <payonel> Lizzy: wait was i wrong!? link card signals are modem_messages in relays on port 0?
L402[14:52:56] <payonel> @ZefTheFox HOW did you do that?
L403[14:53:26] <Lizzy> relay-to-relay linked cards keeps the messages as normal. pc-to-relay linked cards have the port as 0 (because the linked card has no concept of it)
L404[14:53:35] <ZefTheFox> I tried making it fill the screen by using threads and those threads would cycle through a table of characters at each location on the screen before closing
L405[14:53:57] <ZefTheFox> It was using the oc emu
L406[14:54:18] <AmandaC> Lizzy: huh, using relay-to-relay wasn't something I ever considered with that. I ended up making an eeprom that "translates" my protocol via a linked card
L407[14:54:34] <payonel> Lizzy: oh i see
L408[14:55:09] <payonel> @ZefTheFox but this looks like a bug in threads, which....is very surprising
L409[14:55:16] <payonel> that has been an extremely reliable library
L410[14:55:20] <payonel> i need a repro
L411[14:55:39] <payonel> and using ocemu is fine
L412[14:58:44] <ZefTheFox> https://pastebin.com/r3GCy19h
L413[14:58:52] <ZefTheFox> Judge me
L414[14:59:33] <payonel> @ZefTheFox bad table `t`
L415[14:59:44] <payonel> it doesn't take a two dimensional (jagged) array of threads
L416[14:59:52] <payonel> it is a single dimensional array of threads
L417[14:59:53] <ZefTheFox> ah
L418[15:00:24] <ben_mkiv> also you can do "for place=1,#table do" in line 11
L419[15:00:31] <ben_mkiv> and get rid of place = place+1
L420[15:01:22] <ben_mkiv> and line 10, so its compacter and doing the same
L421[15:02:42] <ZefTheFox> Yeah
L422[15:02:52] <ZefTheFox> I was doing it to see if it was possible
L423[15:02:56] <ZefTheFox> not trying to be efficient
L424[15:03:31] <ben_mkiv> also 21 => t[i] = {{}}
L425[15:03:34] <ben_mkiv> that should fix it?!
L426[15:03:59] <ben_mkiv> nvm that^
L427[15:10:50] <TheFox> Oh, I am judging this very much, Zef
L428[15:10:52] <TheFox> lmfao
L429[15:11:09] ⇦ Quits: ben_mkiv (ben_mkiv!~ben_mkiv@i577BCF27.versanet.de) (Quit: no! no!! not that button!!!)
L430[15:12:40] <TheFox> %tonk
L431[15:12:41] <MichiBot> I'm sorry TheFox, you were not able to beat Mimiru's record of 4 hours, 44 minutes and 37 seconds this time.
L432[15:12:42] <MichiBot> 1 hour, 22 minutes and 41 seconds were wasted! Missed by 3 hours, 21 minutes and 56 seconds!
L433[15:12:52] <TheFox> uwu
L434[15:17:39] <ZefTheFox> ><
L435[15:18:27] <TheFox> What's OCs max res anyways?
L436[15:18:45] <ZefTheFox> uh I *think* 160 x 50\
L437[15:18:57] <TheFox> blocks?
L438[15:19:04] <TheFox> I assume so
L439[15:20:50] <ZefTheFox> Oh no
L440[15:21:05] <ZefTheFox> I have no idea what the block limit is
L441[15:25:46] <Lizzy> max screen size? 8 x 6 blocks
L442[15:32:25] <AmandaC> %roll 1d2
L443[15:32:25] <MichiBot> AmandaC: [1]
L444[15:32:52] <AmandaC> right, let's see what the new chapter of this story that infected my dreams contains!
L445[15:37:00] ⇦ Quits: ba7888b72413a16a (ba7888b72413a16a!~ba7888b72@66.109.211.150) (Read error: Connection reset by peer)
L446[15:37:33] ⇨ Joins: ba7888b72413a16a (ba7888b72413a16a!~ba7888b72@66.109.211.150)
L447[16:03:11] <ZefTheFox> http://tinyurl.com/y7bcnb4t
L448[16:03:18] <ZefTheFox> It actually looks really cool
L449[16:03:30] <ZefTheFox> It has definite room for improvement
L450[16:04:09] <ZefTheFox> https://pastebin.com/ngQjRr8T
L451[16:04:17] <ZefTheFox> I defintely suggest looking at it running
L452[16:06:12] <Kleadron> what is that
L453[16:06:54] <ZefTheFox> It fills in the screen with a cool animation
L454[16:07:26] <Kleadron> i see
L455[16:07:53] <Kleadron> try using braille characters for more squares
L456[16:07:53] <ZefTheFox> and is probably really really innefficient
L457[16:12:43] <ZefTheFox> It looks even better!
L458[16:15:43] <TheFox> ```"▖", "▌", "▛","█"```
L459[16:16:13] <TheFox> "Tetris revised so that each brick is a whole new thread!"
L460[16:16:24] <ZefTheFox> Lol, no every spot on the screen is a new thread
L461[16:16:36] <ZefTheFox> that lasts like 0.8 seconds
L462[16:17:05] <TheFox> yes, but why not multithreaded tetris?
L463[16:17:14] <ZefTheFox> yes
L464[16:17:23] <TheFox> Totally not a waste
L465[16:19:08] <ZefTheFox> Just start a new thread for every line of code
L466[16:20:17] <TheFox> thread.create(function() print("Yeah Zef, why not?") end)
L467[16:22:14] <ZefTheFox> I really enjoy how anything done to math.huge returns math.huge
L468[16:23:42] <Rph> math.huge - math.huge
L469[16:23:57] <Rph> hmm tetris where each segment is a separate thread
L470[16:32:07] <payonel> @ZefTheFox btw, you should ping me when you ever you see an openos crash (like the thread one)
L471[16:32:16] <payonel> and especially for threads
L472[16:32:22] <payonel> threads are my most cherished openos feature
L473[16:32:35] <Inari> pings payonel even with no crash!
L474[16:36:01] <ZefTheFox> Alright
L475[16:36:58] <Kleadron> Does OpenOS use a monolithic kernel or a microkernel
L476[16:40:28] * payonel pings Inari: https://i.imgur.com/I03KwTN.png
L477[16:44:40] <Rph> payonel, does OpenOS wrap the standard coroutine API as well? (If I coroutine.yield, do other OpenOS tasks get temporary control?)
L478[16:44:42] <payonel> @Kleadron openos is monolithic in that the kernel invokes driver api directly. there is a single process. most of the inter-communication is direct, not with ipc or services. But there is a sprinkling of micro kernel design
L479[16:45:14] <Rph> and if not, is there a way to escape the OpenOS process wrapper from within openos (Execute a function on the kernel coroutine)
L480[16:46:35] <payonel> @Rph 1. does openos wrap coroutines: definitely yes, there is a lot of deep os stuff going on that you shouldn't ever even be aware of. 2: does coroutine.yield allow other tasks to run? depends ... are you yielding any arbitrary coroutine? no, are you yielding your shell executed program? then yes. it really depends.
L481[16:46:51] <payonel> @Rph but this relates strongly to why openos has threads (i.e. /lib/thread)
L482[16:47:14] <Rph> So the easiest way to "escape" openOS, is to replace init.lua with my own file and reboot
L483[16:47:18] <Rph> correct?
L484[16:47:25] <Kleadron> thx for the answer
L485[16:47:35] <payonel> 3. escape the process wrapper: no, everything is a process or a child of a process, but, run directly on the kernel? not sure what you mean, but, thread `detach` MIGHT be what you're looking for
L486[16:47:54] <payonel> @Rph replacing init.lua sounds like the wrong thing to do, from my perspective
L487[16:48:28] <payonel> i highly doubt openos doesn't already have the infrastructure you need, as is
L488[16:48:37] <Rph> I just thought of the possibility of having a "blocking" event listener
L489[16:48:43] <Rph> so I do coroutine.yield
L490[16:48:51] <Rph> but the top level process doesn't resume any other coroutine than mine
L491[16:48:59] <Rph> until I declare that other coroutines may be resumed
L492[16:49:22] <payonel> why on earth would you want a blocking event listener? that could cause the os to crash
L493[16:49:56] <Rph> Some aspects of security
L494[16:50:07] <Rph> Lets say a password prompt
L495[16:50:20] <Rph> Where no other event listener receives key events
L496[16:50:25] <Rph> Besides the prompt itself
L497[16:50:57] <Rph> Or I am just overthinking stuff
L498[16:51:12] <payonel> first of all, the os can get in a bad state if some of its event listeners don't get their signals
L499[16:51:22] <payonel> when you first boot openos, run `ps`
L500[16:51:31] <payonel> you'll see there are ~16 event listeners already registered
L501[16:52:24] <payonel> if you want to control user-space event registrations, you can control that via threads
L502[16:53:03] <payonel> however, keep in mind that openos wasn't written with security in mind. rather, stability
L503[16:53:25] <payonel> could i find ways to break stuff? sure
L504[16:53:43] <payonel> anyways, any event registratations you make within the context of a thread belong to that thread
L505[16:53:49] <payonel> registrations*
L506[16:54:13] <payonel> when you suspend or kill that thread, ALL event registrants are effectively cut off
L507[16:54:13] <Rph> So I am better off making something from scratch or making a modified version of OpenOS with my security aspects in mind
L508[16:55:47] <payonel> so, init.lua runs the system shell (see boot/94_shell.lua: os.setenv("SHELL", "/bin/sh.lua") )
L509[16:55:57] <payonel> i would first look at putting your security system at that level
L510[16:56:26] <payonel> from there, build your sandbox, execute /bin/sh.lua yourself, in a thread, or execute the login first
L511[16:56:28] <payonel> those types of things
L512[16:56:45] <payonel> but if you do, and if you run /bin/sh.lua in a thread, then when you exit that thread, any user event stuff is tossed out
L513[16:56:57] <Rph> I see
L514[16:57:22] <payonel> can this be exploited? yeah. you'll have to protect files and libraries from user modification
L515[16:57:44] <payonel> anyways, nothing wrong with forking openos
L516[16:58:15] <Rph> I'll have to protect the computers directory from getting a server admin snooping inside of it
L517[16:58:29] <payonel> it wasn't made for security, and that's one of the things i understand people wanting to build as a fork of openos, rather than using the libs and base i've provided "as is"
L518[16:59:14] <Rph> I think with some tweaking OpenOS could be built out into a nice multi user OS
L519[16:59:31] <Rph> But I understand that is not your primary goal
L520[16:59:56] <Rph> I will probably have a go at that myself
L521[16:59:59] <Kleadron> user 2 is hogging all the ram and cpu time and user 1 is pissed at user 2
L522[17:00:20] <Rph> I could implement something like CPU budget or whatever
L523[17:00:37] <Rph> So out of 30 seconds you can only hog 15
L524[17:00:47] <Rph> And your coroutines don't get resumed
L525[17:00:52] <Rph> Until the budgets reset
L526[17:01:05] <Kleadron> i put a 20 tick global timer in my reactor program to attempt to be able to do more things at once
L527[17:01:13] <Rph> And if you get a too long without yielding crash, your budget gets zeroed
L528[17:01:16] <payonel> btw, i recommend you use threads for running arbitrary user coroutines
L529[17:01:29] <Rph> Okay
L530[17:02:17] ⇦ Quits: mrkirby153 (mrkirby153!mrkirby153@2a01:7e00:e000::11) (Quit: Leaving)
L531[17:02:38] <payonel> @ZefTheFox so running hundreds of threads to update the screen actually worked?
L532[17:05:55] ⇦ Quits: t20kdc (t20kdc!~20kdc@cpc139326-aztw33-2-0-cust441.18-1.cable.virginm.net) (Ping timeout: 183 seconds)
L533[17:06:47] <Kleadron> is upgrading to OC 1.7.3 an extremely important task
L534[17:07:34] <Kleadron> would it be a good idea to test performance on the older version for the slower lua execution
L535[17:12:01] <payonel> 1.7.3 over 160 bugs, iirc
L536[17:12:07] <payonel> fixed** over
L537[17:12:35] <payonel> also, i'm working on psh a lot these days
L538[17:12:43] <payonel> so if you like the idea of psh, you'll have to upgrade
L539[17:13:53] <Kleadron> what is psh
L540[17:14:09] <ZefTheFox> Yes
L541[17:14:13] <Kleadron> and is it OpenOS related
L542[17:14:38] <ZefTheFox> https://pastebin.com/ngQjRr8T here's the code payonel
L543[17:14:49] <payonel> psh is payo's ssh, and not *s*ecure :)
L544[17:15:21] <payonel> i'm bundling psh, pshd, pshfs, and pshcp in the final package
L545[17:15:28] <payonel> right now, on oppm, it just has psh and pshd
L546[17:15:48] <payonel> derp, i said it wrong again, not pshcp, just pcp
L547[17:15:49] <payonel> :)
L548[17:15:54] ⇨ Joins: mrkirby153 (mrkirby153!mrkirby153@2a01:7e00:e000::11)
L549[17:16:01] <Kleadron> if its in openos i could just grab the os files from the latest version of opencomputers and drop it into the hard drive folder of a computer
L550[17:16:16] <Kleadron> but updating oc is easier
L551[17:16:26] <payonel> the 1.7.3 fixes are all over the place
L552[17:16:33] <payonel> many in openos
L553[17:16:39] <payonel> or are you asking about psh? that is just oppm
L554[17:16:45] <payonel> but psh requires openos 1.7.3
L555[17:17:00] <Kleadron> just install openos 1.7.3
L556[17:17:39] <Kleadron> i wonder what the oldest version of opencomputers that the latest openos version can run on is
L557[17:17:50] <payonel> 1.6
L558[17:18:26] <Kleadron> and im guessing that openos 1.0 runs on any version
L559[17:18:46] <payonel> no, 1.6 was a hard break
L560[17:19:00] <payonel> and the older version had other breaking changes too
L561[17:19:08] <Kleadron> hmm ok
L562[17:19:18] <payonel> such as how the machine sandbox was prepared, and then later the eeprom changes, etc
L563[17:47:17] <AmandaC> %choose halucinate or play
L564[17:47:20] <MichiBot> AmandaC: My grandfather always told me that halucinate is the way to go!
L565[18:15:24] <Kleadron> good enough for now http://tinyurl.com/y7p3skyd
L566[18:30:07] ⇦ Quits: Inari (Inari!~Pinkishu@p54AFF7B8.dip0.t-ipconnect.de) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
L567[18:34:44] <Kleadron> Izaya: I saw you using a custom font for PsychOS 2, how did you do that?
L568[18:35:02] <payonel> he might have been running it in ocvm
L569[18:35:14] <Kleadron> no wait i am probably dumb
L570[18:35:16] <payonel> which uses your shell font
L571[18:35:21] <Kleadron> i see
L572[18:35:27] <payonel> shell/console/terminal
L573[18:54:12] ⇦ Quits: Xal (Xal!~Xal@S010664777dabacc3.vw.shawcable.net) (Ping timeout: 198 seconds)
L574[18:56:05] ⇨ Joins: Xal (Xal!~Xal@S010664777dabacc3.vw.shawcable.net)
L575[19:27:45] ⇦ Quits: Vexatos (Vexatos!~Vexatos@p200300C107205E154F360A2151C0933C.dip0.t-ipconnect.de) (Quit: Insert quantum chemistry joke here)
L576[19:33:41] <Izaya> Kleadron: either because I'm using it in a terminal (ocvm, the font would be SGI Screen 10) or I'm using it at large GUI scale
L577[19:48:29] ⇨ Joins: ben_mkiv (ben_mkiv!~ben_mkiv@i577BCF27.versanet.de)
L578[19:50:15] <Wattana Gaming> Tried something new http://tinyurl.com/y86koam7
L579[19:52:45] <Izaya> very ... vista
L580[19:52:58] <Izaya> not sure whether that's a good thing but it can't be worse than GNOME I guess
L581[19:53:30] <Izaya> hey Wattana check this out https://social.shadowkat.net/media/63af2363-3aa1-4bd0-b350-65a1050aa1bc/termsrv2.webm
L582[20:27:08] <Wattana Gaming> An OS that runs on a Lua shell?
L583[20:27:58] <Izaya> yup
L584[20:30:16] <Wattana Gaming> I can't even make a proper shell on top of my kernel
L585[20:30:40] <Izaya> (while we're at it, I ported minitel and set up a thing for remote login which is neat I guess)
L586[20:46:58] ⇦ Quits: Thutmose (Thutmose!~Patrick@host-69-59-79-181.nctv.com) (Quit: Leaving.)
L587[21:12:28] <ZefTheFox> This hurts http://tinyurl.com/yc3pqjyb
L588[21:20:53] <Kleadron> interesting setup
L589[21:27:48] <Kleadron> Okay, I have a legitimate question, why do the CPUs you get from the creative tab come with Lua 5.2 by default, but the CPUs crafted through normal means are Lua 5.3
L590[21:37:08] <ZefTheFox> Is that a real difference or is it just mislabeled?
L591[21:37:24] <Kleadron> its a real difference
L592[21:37:35] <ZefTheFox> Very strange lol
L593[21:37:53] <ZefTheFox> You'd think it'd be simpler to keep them the same
L594[21:37:59] <Kleadron> you can still switch between 5.2 and 5.3
L595[21:39:16] ⇨ Joins: Spacemike (Spacemike!webchat@132.170.48.95)
L596[21:53:09] <Kleadron> finally got rid of the flicker in my program by merging the content into the window generation
L597[21:53:35] <Kleadron> previously it would generate the window and the background of the window and then put the content onto that
L598[21:53:46] <Kleadron> now that its merged, it should also go faster
L599[21:54:11] <Kleadron> except inverting the screen broke it
L600[21:55:08] <Kleadron> bug fixed
L601[21:56:49] <Spacemike> Hello, I've been trying to add a Tier 3 drone using only Java (as I am not that familiar with scala and I already have the dronecase3 item created through Java), but I've run into an issue with setting the componentSlots value for the registerAssemblerTemplate command, although, based on what I can tell, it's more of an issue with java seeing Tier.
L602[21:56:49] <Spacemike> https://paste.ubuntu.com/p/HyRFnS6gnS/ (I tried putting the {} on the outside of the () but java would tell me that instead of the first Pair.of there should be a })
L603[21:56:49] <Spacemike> Two(), Slot.Card(), etc. as it's own individual item and not the actual integer of 1 or so that it actually is in the ArrayList (which is what I found out should work with the Iterable type). Does anyone have any knowledge of how I might be able to fix this?
L604[22:03:26] <ben_mkiv> no idea, but did you try it this way? https://ocdoc.cil.li/tutorial:modding_imc
L605[22:03:49] <ben_mkiv> there are events that you can use to register the template
L606[22:06:27] <ben_mkiv> also, this is what i've done but never finished... https://pastebin.com/Q4pTx63r
L607[22:06:40] <ben_mkiv> @ Spacemike
L608[22:07:52] <ben_mkiv> but i have no idea if it would even work xD
L609[22:08:02] <AmandaC> %tell Inari Inarriiii~ You can't just call down the wrath of god just because a planet has oil!
L610[22:08:02] <MichiBot> AmandaC: Inari will be notified of this message when next seen.
L611[22:08:05] <Spacemike> also, I am using import li.cil.oc.common.Slot; and import li.cil.oc.common.Tier; to get the Tiers and Slot variables.
L612[22:08:05] <Spacemike> And, thanks! i'll give that a shot! ah, alrighty, so you declared it outside of it and then imported it in. i'll give the nbt thing a try first, as in my searching around, this is the first time I saw it.
L613[22:08:45] <Izaya> hrm, minitel daemon is getting larger than I'd like due to supporting all platforms with the same file :| 8.5KB
L614[22:09:15] <ben_mkiv> guess you have to use the register template event anyways so that OC is aware of the "recipe"
L615[22:09:16] <AmandaC> Izaya: solution: split the platform-dependent stuff into a minimum-common-demoninator library, ala the JVM
L616[22:09:27] <ben_mkiv> if its an addon mod and not a patch to OC itself
L617[22:09:46] <Izaya> AmandaC: an interesting idea
L618[22:09:54] <Izaya> I'll investigate that once I have it 100% on all platforms
L619[22:10:24] <Spacemike> alrighty, that makes sense, as it is supposed to be and addon. (as adding it to the base code looks like a piece of cake, but i'm assuming a Tier 3 drone would be a bit OP)
L620[22:10:57] <ben_mkiv> well the api exists for stuff like that :P
L621[22:11:44] <Mimiru> %tonk
L622[22:11:44] <MichiBot> Jiminy Cricket! Mimiru! You beat your own previous record of 4 hours, 44 minutes and 37 seconds! I hope you're happy!
L623[22:11:45] <MichiBot> Mimiru's new record is 6 hours, 59 minutes and 3 seconds! 2 hours, 14 minutes and 25 seconds gained!
L624[22:12:02] <AmandaC> oh right, I was going to add the killing curse to that
L625[22:12:31] <AmandaC> meh, veg out to youtube time, maybe tomorrow
L626[22:12:40] <Spacemike> true, and I was trying to use the api, but I only saw this GitHub notice for it, and I couldn't find any more documentation other than those few things. https://github.com/MightyPirates/OpenComputers/tree/master-MC1.12/src/main/java/li/cil/oc/api
L627[22:12:52] <Mimiru> TIL: The email address login system for Square Enix is case sensitive..
L628[22:13:04] <Mimiru> Which explains the login trouble I've been having
L629[22:13:13] <ben_mkiv> well thats basically all you get about the API xD
L630[22:13:27] <ben_mkiv> and what other modders figured out
L631[22:13:49] <ben_mkiv> but i dont know of ANY mod yet which adds a own "case" for the assembler
L632[22:15:02] <ben_mkiv> even though it should be easier if you just extend the dronecase api and increase the tier
L633[22:15:10] <ben_mkiv> dronecase class*
L634[22:15:48] <Spacemike> true, but there's that page you just sent me on it, was there any specific way you got to find that api page you sent? and, true enough, guess that means i'm the first XD but I know i'm not the first to try to also add in a tesseract card (although the one I am trying to make will use enderio's dimensional transceiver).
L635[22:17:35] <ben_mkiv> probably google
L636[22:18:05] <ben_mkiv> and there isnt that much information about addon modding on the wiki, but this information that no one used yet xD
L637[22:19:08] <Spacemike> ah, ok, I think I tried that, must not have entered in the right stuff. and, true enough, but at least there is the source code, which I can try to reverse engineer, I did notice the nbt stuff in the files, but I thought that was internal stuff as it was on the scala side.
L638[22:20:20] <ben_mkiv> yea, looking on how drones/robots register might help
L639[22:20:33] <ben_mkiv> "registerAssemblerTemplate" 3 google hits xD
L640[22:20:57] <Spacemike> that's what lead me to my original idea xp and oof
L641[22:24:10] <Izaya> ~w xpcall
L642[22:24:11] <ocdoc> http://www.lua.org/manual/5.2/manual.html#pdf-xpcall
L643[22:40:58] <slavka> Sex Dating > http://discord.amazingsexdating.com
L644[22:41:08] <Kleadron> @Mimiru
L645[22:41:13] * Izaya ignores Corded
L646[22:41:13] <Kleadron> ban this noob
L647[22:52:37] <Izaya> what the fuck
L648[22:52:42] <Izaya> why does this function work some of the time
L649[22:52:48] <Izaya> but other times it doesn't
L650[22:53:00] <Izaya> there's a pattern but that pattern seems to be whether the function is called by cat or not
L651[22:55:59] <⛈9> Squenix doesn't... doesn't know what an email is?
L652[22:56:04] <Kodos> Because ocdoc doesn't actually say, what's the max dimensions on a multiblock screen
L653[22:56:11] <⛈9> Sounds like some regexp superhero did their job well.
L654[22:56:40] <Izaya> Kodos: 8x6
L655[22:56:43] <Izaya> I believe
L656[22:56:59] <Kodos> 8x5 sounds closer to accurate
L657[22:57:24] <⛈9> So uh
L658[22:57:27] <⛈9> TIL: https://github.com/melted/idris-lua exists.
L659[22:57:47] <⛈9> TIAL: The runtime does not fit on an open computer. Truly the days of megabytes of memory were dark times.
L660[22:58:05] <⛈9> Maybe that mod that just gives you a buffer in your OS would run it for me.
L661[22:58:05] <Izaya> Nah, software was just smaller.
L662[22:58:14] <⛈9> Software was just dumber. ?
L663[22:58:23] <Izaya> Maybe so.
L664[22:58:44] <Izaya> Not necessarily a bad thing :^)
L665[22:58:52] <⛈9> Idris is amazing. It's a dependently typed programming language. It's possible to write proofs for your code.
L666[22:58:57] <⛈9> As the code itself.
L667[22:59:14] <⛈9> So you can know that within the limts of the runtime and hardware execution model, the code does what it says.
L668[23:00:02] <⛈9> Is there a cheeky mod somewhere that gives me a stick of ram that is just a resizing buffer in the Java runtime? ?
L669[23:00:05] <⛈9> I only need a gig or so!
L670[23:00:43] <Izaya> Is Idris the one that avoids the halting problem by having no infinite loops?
L671[23:00:57] <ben_mkiv> @Kodos you can change that in the oc configuration file
L672[23:02:22] <⛈9> Uh, several languages do that. Idris lets you just accept the problem by default, but you can demand a function be "total". If so, if you're ever caught iterating over anything but a Nat, you're toast. ?
L673[23:02:36] <⛈9> That said, there is a way to loop infinitely from a socket and still be "total."
L674[23:04:59] <ben_mkiv> maxScreenHeight=6, maxScreenWidth=8
L675[23:05:03] <ben_mkiv> seems to be default
L676[23:05:58] <⛈9> That's a lotta screen
L677[23:06:56] <ZefTheFox> Make it so large a block is a character
L678[23:08:22] <CompanionCube> %tonk
L679[23:08:22] <MichiBot> I'm sorry CompanionCube, you were not able to beat Mimiru's record of 6 hours, 59 minutes and 3 seconds this time.
L680[23:08:23] <MichiBot> 56 minutes and 37 seconds were wasted! Missed by 6 hours, 2 minutes and 25 seconds!
L681[23:09:41] <ben_mkiv> good, my panels identify as tier4 screen now and wont merge with oc panels xD
L682[23:13:55] <Izaya> rewrote io.open and it works properly now :D
L683[23:15:36] <Kleadron> ah yes, when you rewrite something even though it looks correct and it suddenly starts working properly
L684[23:16:11] <Izaya> it was very complicated and hard to follow
L685[23:16:15] <Izaya> now it's not
L686[23:20:47] <Izaya> ~w signals
L687[23:20:48] <ocdoc> http://ocd.cil.li/component:signals
L688[23:31:25] <Mimiru> @⛈9 Computronics has creative ram thingy IIRC
<<Prev Next>> Scroll to Top