<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:12:23] ⇨ Joins: tinydoggy (tinydoggy!webchat@157-217-223-66.gci.net)
L2[00:12:36] <tinydoggy> what the heck is an "uncraftable potion"
L3[00:12:53] <MineRobber9000> a potion a player cannot craft?
L4[00:13:13] <tinydoggy> okay so, why is it in the recepie for naviagation upgrade?
L5[00:14:43] <MineRobber9000> idk
L6[00:15:07] <Forecaster> where are you seeing it?
L7[00:15:17] <Forecaster> are you seeing it in the component list in the tooltip?
L8[00:15:58] <tinydoggy> im seeing that in the NEI
L9[00:16:12] <tinydoggy> and on the wiki it just says "potion" and shows a water bottle
L10[00:16:41] <tinydoggy> https://imgur.com/a/JPQsF
L11[00:16:43] <tinydoggy> here ya go
L12[00:16:51] <Forecaster> it probably just takes any potion then
L13[00:17:21] <tinydoggy> thats what i thought too but it did not work :(
L14[00:26:00] <Forecaster> strange
L15[00:57:14] ⇦ Quits: SF-MC (SF-MC!~EiraIRC@131-191-86-130.as.clicknet.org) (Remote host closed the connection)
L16[01:07:28] <Forecaster> %jumble ^
L17[01:07:28] <MichiBot> did thats :( it but i what not work thought too
L18[01:10:11] <Forecaster> https://imgur.com/gallery/sC59ClE
L19[01:10:29] <Forecaster> So apparently this took place
L20[01:10:45] <Forecaster> That's a stupid title...
L21[01:40:51] <Pablu> Where can I find documentation for creating addons?
L22[01:41:28] <Pablu> Like creating a custom block that is connected as a component
L23[01:50:58] ⇨ Joins: jackmcbarn (jackmcbarn!jackmcbarn@gateway02.insomnia247.nl)
L24[01:57:10] <Forecaster> @Pablu look at computronics and/or ask Vexatos
L25[02:02:19] <Pablu> Okay, thanks
L26[02:09:28] ⇨ Joins: Vexatos (Vexatos!~Vexatos@p5B3C8EFD.dip0.t-ipconnect.de)
L27[02:09:28] zsh sets mode: +v on Vexatos
L28[02:15:24] <Pablu> @Vexatos , hey
L29[02:15:53] <Pablu> Do you mind if I dm you?
L30[02:16:45] <Forecaster> don't dm people
L31[02:17:54] <Pablu> why?
L32[02:18:42] <Forecaster> if you have questions related to OC ask them here
L33[02:19:20] <Forecaster> even if directed at a specific person there's a chance someone else may be able to help or have input
L34[02:20:05] <Pablu> True, yeah
L35[02:21:19] <Pablu> @Vexatos , is there a documentation for interacting with OC, as in creating new blocks that work as "components"? Or should I guess it by reading the source code?
L36[02:22:36] <Vexatos> OC has what's just about the most well-documented API in any mod I know
L37[02:22:45] <Vexatos> just reading the javadoc should tell you almost everything
L38[02:23:00] <Vexatos> TLDR there are two ways to do this, and you need to seriously think about which one to choose
L39[02:23:07] <Vexatos> what kind of component are you interested in addin
L40[02:23:35] <Pablu> A printer
L41[02:23:58] <Vexatos> Ah
L42[02:23:59] <Pablu> So you put a paper item in it, print stuff, and get a printed paper
L43[02:24:03] <Vexatos> Which minecraft version
L44[02:24:19] <Forecaster> there's such an addon already
L45[02:24:22] <Vexatos> doing this is a lot easier on 1.11+
L46[02:24:27] <Vexatos> also that https://minecraft.curseforge.com/projects/openprinter
L47[02:24:34] <Vexatos> Not to discourage you from making your own
L48[02:25:01] <Forecaster> of course not, just in case you weren't aware
L49[02:25:52] <Pablu> It's for 1.11+, yeah
L50[02:26:03] <Pablu> Making my own because that one is outdated
L51[02:26:15] <Forecaster> outdated?
L52[02:26:21] <Pablu> Yes
L53[02:26:45] <Forecaster> how is it outdated?
L54[02:27:03] <Forecaster> it has a release for 1.12
L55[02:27:22] <Pablu> Yeah, the 1.12 release is broken for me
L56[02:27:39] <Forecaster> you know it's open source right? :P
L57[02:27:44] <Pablu> Some UIs don't show correcly or crash the game
L58[02:27:53] <Pablu> Oh, is it?
L59[02:27:57] <Forecaster> of course...
L60[02:28:14] <Forecaster> as are most OC addons
L61[02:28:19] <Forecaster> if not all
L62[02:28:46] <Vexatos> Why did you think it was called ~Open~Printer
L63[02:29:24] <Pablu> Ah, what a genius I am
L64[02:29:57] <Vexatos> OpenComputers isn't called OpenComputers for no reason :P
L65[02:30:21] <Pablu> I also want to add something like a punch tape
L66[02:30:37] <Forecaster> that is not something that already exists
L67[02:30:56] <Forecaster> though open security has mag-cards which would be sort of similar
L68[02:30:58] <Pablu> So there's no OpenPunchTape? I'm glad. Haha
L69[02:31:05] <Forecaster> might be something to look at to see how it's done
L70[02:31:26] <Vexatos> I mean Computronics has a ticket machine that punches tickets
L71[02:31:33] <Forecaster> train tickets > - >
L72[02:31:35] <Vexatos> Railway tickets :P
L73[02:31:49] <Pablu> Yeah, my current method is to read the source code of the tape drive
L74[02:31:51] <Vexatos> It has the world's best dot-matrix printer sound though
L75[02:31:53] <Vexatos> bwahaha
L76[02:32:06] <Vexatos> oh god don't read the source code of the tape drive
L77[02:32:10] <Vexatos> that stuff is from 2013
L78[02:32:23] <Pablu> ?
L79[02:32:26] <Vexatos> If you plan to make your mod for 1.11 or 1.12 there is a waaay better way to do i
L80[02:32:28] <Vexatos> it
L81[02:32:47] <Vexatos> TL;DR Environment is a capability now.
L82[02:32:52] <Pablu> yeah 1.12.2 is my target
L83[02:33:05] <Vexatos> If you don't know what that is, learn about it. If you do, great you are practically done
L84[02:33:24] <Vexatos> making an OC addon has never been this easy
L85[02:33:24] <Pablu> Enviroment?
L86[02:33:39] <Vexatos> Environment is the thing you implement on a block to turn it into a Component
L87[02:33:43] <Vexatos> or rather, you used to implement it
L88[02:33:53] <Vexatos> now you just attach a capability extending Environment
L89[02:34:21] <Vexatos> If you want to keep it simple, you can implement SimpleComponent too
L90[02:34:27] <Vexatos> or rather annotate it with that
L91[02:34:38] <Vexatos> But you likely want your block to consume energy, etc
L92[02:34:43] <Vexatos> so Environment is the way to go
L93[02:34:59] <Vexatos> as I said, OC has absolutely excellent javadoc
L94[02:35:04] <Vexatos> in its API
L95[02:35:36] <Pablu> Ah, alright
L96[02:35:42] <Pablu> Great, thanks
L97[02:37:01] <Vexatos> Just ask me anything >-<
L98[02:37:12] <Vexatos> anything that isn't answered in the javadoc, that is
L99[02:38:05] <Forecaster> what is love?
L100[02:39:18] <Vexatos> a game development framework for Lua
L101[02:39:25] <Vexatos> https://love2d.org/
L102[02:39:42] <Vexatos> next
L103[02:39:59] <Izaya> another satisfied customer
L104[02:40:09] <Pablu> what is the meaning of life, universe, and everything?
L105[02:40:26] <Vexatos> I'm still working on that
L106[02:40:47] <Forecaster> the actual name for that is "LÖVE" :|
L107[02:40:52] <Vexatos> Yes it is
L108[02:40:52] <Forecaster> I'm dissatisfied
L109[02:40:54] <Vexatos> or love2d
L110[02:41:14] <Forecaster> but my question didn't end with "LÖVE" or "love2d" :|
L111[02:41:23] <Vexatos> en.wikipedia.org/wiki/Love
L112[02:42:04] <Forecaster> huh, Move or Die uses LÖVE
L113[02:42:06] <Forecaster> nice
L114[02:42:08] <Forecaster> I have that
L115[02:42:10] <Forecaster> it's fun
L116[02:42:26] <Vexatos> wait
L117[02:42:33] <Vexatos> people use it for anything other than prototyping?
L118[02:42:38] <Vexatos> It's really quite slow >_<
L119[02:42:47] <Forecaster> move or die is a fast game
L120[02:42:57] <Vexatos> I think I know the game
L121[02:43:04] <Pablu> Beings slow gives it a retro feel, y'know?
L122[02:44:10] <Forecaster> move or die is none of those things :P
L123[03:31:32] ⇨ Joins: andreww (andreww!~xarses@c-67-180-86-164.hsd1.ca.comcast.net)
L124[03:33:29] ⇦ Quits: xarses_ (xarses_!~xarses@c-67-180-86-164.hsd1.ca.comcast.net) (Ping timeout: 186 seconds)
L125[03:37:16] <Forecaster> %jubmle
L126[03:37:21] <Forecaster> %jumble
L127[03:37:21] <MichiBot> Yes it is
L128[03:37:25] <Forecaster> ...
L129[03:37:29] <Forecaster> okay then
L130[03:37:41] <Forecaster> hm
L131[03:37:54] <Forecaster> I should maybe prevent it from outputting the input...
L132[04:42:35] <Sparky> Hello
L133[04:52:41] <Forecaster> Hi
L134[04:52:59] <Sparky> Do any of you have a robot program I could use for mining?
L135[04:53:06] <Forecaster> check the forum
L136[04:53:32] <Sparky> Also, how does the robot regenerate its power?
L137[04:53:59] <Forecaster> charger, solar panel upgrade or generator upgrade
L138[05:12:41] ⇦ Quits: Yarillo (Yarillo!~Yarillo@2001:660:4701:2004:5054:ff:feb8:97e9) (Ping timeout: 186 seconds)
L139[05:14:19] ⇦ Quits: Temia (Temia!~temia@monmusu.me) (Ping timeout: 383 seconds)
L140[05:14:23] ⇨ Joins: Temia` (Temia`!~temia@monmusu.me)
L141[05:31:46] ⇨ Joins: Inari (Inari!~Pinkishu@p5DEC63A7.dip0.t-ipconnect.de)
L142[05:37:45] ⇨ Joins: Guest48 (Guest48!~textual@159.224.109.206)
L143[05:41:08] <Inari> Empires Apart sounds neat
L144[05:42:18] <Forecaster> An employee in the Burger King I'm at is wearing a bunny onesie
L145[05:53:21] <Mettaton_Fab> thats still ok
L146[05:55:26] <Forecaster> Still ok?
L147[05:58:23] <Inari> Haha
L148[05:58:24] <Inari> Love it
L149[06:08:54] <Inari> AmandaC / payonel: https://twitter.com/EmrgencyKittens/status/979313792331997184 a special kind of art
L150[06:08:54] <MichiBot> Thu Mar 29 06:06:17 CDT 2018 @EmrgencyKittens: what a realistic illustration ?
L151[06:09:44] <Mettaton_Fab> man, Pants Pants Revolution really is amazing
L152[06:12:23] <Kodos> Okay, I need tips for muscle pain that aren't being tased by a cop
L153[06:12:37] <Inari> Being tased is good against muscle pain?
L154[06:12:39] <Kodos> To clarify, my shoulder is killing me, and I need it to stop
L155[06:12:47] <Kodos> Inari, ever heard of a TENS unit?
L156[06:13:05] <Inari> I thought those are generally to exercise a muscle
L157[06:13:08] <Inari> Not to soothe pain
L158[06:13:27] <Kodos> I've always used them to relieve pain
L159[06:13:31] <Kodos> But I can't find mine
L160[06:17:16] ⇨ Joins: Turtle (Turtle!~SentientT@ip5657cbb2.direct-adsl.nl)
L161[06:19:45] ⇦ Quits: Guest48 (Guest48!~textual@159.224.109.206) (Remote host closed the connection)
L162[06:20:58] <Sparky> What does the digger floppy do? I assume its a digging program for a robot, but I can't find any information on it
L163[06:21:48] <Arcan> dig?
L164[06:22:11] <Kodos> I believe it's just a shovel version of excavate, isn't it?
L165[06:22:21] <Kodos> Actually, let me just go check the files
L166[06:24:05] <Kodos> Yeah, looks like it's basically an excavation program
L167[06:27:37] <Sparky> What are the functions of it? How do I make it do
L168[06:28:43] <Kodos> It should have a man page
L169[06:29:09] <Kodos> Just type `man dig`
L170[06:30:01] <Kodos> I'm heading to bed, but you can find all the loot disk source files on the GitHub if you need to check anything
L171[06:31:52] ⇨ Joins: Yarillo (Yarillo!~Yarillo@2001:660:4701:2004:5054:ff:feb8:97e9)
L172[07:16:05] ⇨ Joins: MajGenRelativity (MajGenRelativity!uid288574@id-288574.hathersage.irccloud.com)
L173[07:49:07] ⇨ Joins: SuperCoder79 (SuperCoder79!uid276919@id-276919.tooting.irccloud.com)
L174[07:53:08] ⇨ Joins: SolaoBajiuik (SolaoBajiuik!~quassel@75.97.233.152.res-cmts.leh.ptd.net)
L175[07:56:46] <Izaya> microtel socket listeners work wonderfully on embedded devices
L176[07:56:47] <Izaya> excellent
L177[07:57:38] <Izaya> It's still larger than I'd like but it does work.
L178[07:58:58] <Izaya> 2,999 bytes for the whole stack, but you can generally cut at least 500 bytes off of that.
L179[08:00:38] <Izaya> Oh, with normal line endings it's only 2849. Excellent.
L180[08:01:13] <Izaya> For just something that listens for connections, only 2267 bytes. :D
L181[08:01:29] <Mimiru> So today is the last day of my trip. I’m starting from Nice California (pronounced niece.. lol). I should be in Portland OR around 4 pm.
L182[08:01:41] <Izaya> Exciting?
L183[08:01:46] <Mimiru> 9ish hours left
L184[08:01:52] <S3> Well this just really pisses me off
L185[08:02:05] <S3> -somebody- put every pair of pants I own in the wash this morning
L186[08:02:08] <Mimiru> I’m ready for the drive to be done lol
L187[08:02:13] <S3> so I have to miss class and what else
L188[08:02:37] <Izaya> did they steal your pants off your person while you were asleep?
L189[08:02:54] <Mimiru> S3 go in your pjs lol
L190[08:02:58] <S3> Nah I didn't sleep in my clothes last night
L191[08:03:02] <S3> Mimiru No! Gross!
L192[08:03:09] <S3> That's just really weird.
L193[08:03:13] <Mimiru> Lol
L194[08:03:17] <Izaya> It'd be like a nightmare.
L195[08:03:36] <S3> Might as well go in your underwear
L196[08:03:52] <Mimiru> @payonel I’ll be in Portland in like 9 hours!
L197[08:04:00] <Izaya> !confetti
L198[08:04:03] <S3> Mimiru PORTLAND!
L199[08:04:04] <Izaya> %confetti
L200[08:04:07] <Izaya> fug
L201[08:04:20] <S3> population 67000
L202[08:04:34] <Izaya> oh wow that's only double here
L203[08:04:46] <MGR> I'm pretty sure that's Portland, ME not Portland, OR
L204[08:04:50] <S3> :)
L205[08:04:53] <MGR> Mimiru is going to Portland, OR
L206[08:04:54] <S3> yeah I was teasin
L207[08:05:00] <S3> portland OR is like 630,000
L208[08:05:02] <S3> or some shit
L209[08:05:16] <S3> I live not far from a place that is 40,000
L210[08:05:20] <S3> and 40,000 is TOO MANY PEOPLE
L211[08:05:32] <Izaya> 35,000 here
L212[08:05:33] <Izaya> too few people
L213[08:05:41] <S3> Izaya: I grew up in a town of ~600
L214[08:05:44] <Izaya> if you're gonna have more than 10 people you might as well have a million
L215[08:05:51] <S3> the town next over was just over 100
L216[08:06:02] <Izaya> I grew up in a similar place.
L217[08:06:05] <Izaya> Never again.
L218[08:06:14] <Izaya> I never want to go anywhere with a population below 1000.
L219[08:06:30] <S3> Izaya: should move here: http://www.kokadjo.com/images/moose/kokadjosign-moose-1.jpg
L220[08:06:30] <S3> :D
L221[08:07:26] <S3> I think the population is actually 3 iirc
L222[08:07:29] <S3> if it hasn't changed
L223[08:08:31] <S3> there's no population consensus that is acurate because it is considered to be part of greenville about 20 minutes to the southwest
L224[08:08:38] <S3> and that town is population 1000 something
L225[08:21:12] * Izaya sighs
L226[08:21:22] <Izaya> Looks like crunch doesn't work any more, excellent.
L227[08:23:47] <Arcan> %pet Izaya
L228[08:23:48] * MichiBot brushes Izaya with a rhubarb. Izaya recovers 1 health!
L229[08:23:55] <Arcan> mm, rhubarb is good
L230[08:24:09] <AmandaC> %give MichiBot a rebar
L231[08:24:09] * MichiBot accepts the rebar and adds it to her inventory
L232[08:24:12] <Izaya> I'm not entirely sure what it is, but last time it was in something I didn't dislike it
L233[08:26:30] <Izaya> Oh well, 2.2KB is pretty good for a full networking stack with sockets and all.
L234[08:43:49] <AmandaC> %choose code or anime
L235[08:43:49] <MichiBot> AmandaC: anime
L236[08:44:20] <Izaya> guess you'll write something interesting, then
L237[08:45:58] <AmandaC> Might just do nothing. Not really in the mood to veg out quite yet
L238[08:46:05] <AmandaC> but also not int he mood to code
L239[08:46:14] <AmandaC> %choose game or no game
L240[08:46:14] <MichiBot> AmandaC: no game
L241[08:48:13] <AmandaC> Oh hey, the replacement fan for my laptop will be here tuesday, it seems
L242[08:48:23] <MGR> ?
L243[08:48:38] <MGR> My replacement motherboard will be here tomorrow, hopefully ending 2 months of downtime
L244[08:49:05] <Izaya> Still waiting to borrow a first-gen ryzen from a friend to get my 2200G box working x_x
L245[08:49:24] <MGR> You have a 2200G?
L246[08:49:27] <MGR> It's a nice CPU
L247[08:49:33] <Izaya> I have a machine with a 2200G
L248[08:49:38] <MGR> Do you have a dedicated GPU, or just using the iGPU?
L249[08:49:45] <Izaya> iGPU
L250[08:49:49] <Izaya> it's no slouch
L251[08:49:55] <MGR> Correct
L252[08:50:08] <MGR> The 2400G is good enough for 1080p at low-medium
L253[08:50:11] <Izaya> apparently it'll perform like a 1030 or 750Ti, which is p. impressive
L254[08:50:29] <Izaya> Much better than anything Intel does in that dept, and much cheaper to boot.
L255[08:50:41] <Izaya> But yeah x_x BIOS update needed.
L256[08:50:48] <MGR> The 2200G might be -20% to the 1030, but you can overclock the iGPU and memory to close that gap and surpass the 1030
L257[08:51:01] <MGR> But yeah, it destroys Intel's iGPU
L258[08:51:12] <Izaya> That's the important part, I guess.
L259[08:51:24] <Izaya> It'll run Skyrim, which I imagine is the important part.
L260[08:51:37] <MGR> I think AMD picked a good time to release them
L261[08:51:53] <MGR> dGPU prices are sky high, which makes a powerful iGPU much more effective
L262[08:51:58] <Izaya> Indeed.
L263[08:52:20] <MGR> dGPU prices are sky high, which makes a powerful iGPU much more attractive [Edited]
L264[08:53:59] <Izaya> Oh, and the Talos II is shipping now.
L265[08:54:16] <Forecaster> Praise the Divines
L266[08:54:40] <Izaya> 64 threads per CPU, ~4Ghz, fucktonnes of RAM supported...
L267[08:55:03] <MGR> What?
L268[08:55:34] <Izaya> The high-end POWER9 chips have 16 cores, 4 threads per core, and run at ~4Ghz
L269[08:56:20] <MGR> Ahhhhh, I didn't know you were talking about POWER9 now
L270[08:56:45] <Izaya> Too bad I can't afford one x_x
L271[08:57:11] <Izaya> Or anything much right now, I guess. Oh well.
L272[08:57:20] <Izaya> Incentive to sell off some of this shit, I s'pose.
L273[09:01:31] ⇦ Quits: minecreatr (minecreatr!~minecreat@tterrag.com) (Quit: I left for some reason)
L274[09:07:58] <S3> Izaya: By the end of the day today my actor model test should be working! :D
L275[09:08:06] <Izaya> :D
L276[09:08:10] <S3> I just need to figure out how I'm going to do my process loader with custom environments
L277[09:08:53] <S3> I do have a concern that if a process sends a message to another process with a table and the other process edits the table it will modify the table on the other process..
L278[09:08:57] <S3> what do you think?
L279[09:09:35] <Izaya> That's how it works, I think.
L280[09:09:51] <Izaya> I'd advise copying table contents
L281[09:09:56] <S3> It's an antipattern of actor model, so I could copy yeah
L282[09:10:04] <S3> though if the table is really large it may be a long delay
L283[09:10:17] <Izaya> Does your stuff run on OpenOS or?
L284[09:10:29] <S3> an alternative is to deep copy the state of a process and crash the process every iteration
L285[09:10:41] <S3> well right now it's literally just a scheduler.
L286[09:10:51] <S3> I want it to integrate in openos as a service maybe at some point
L287[09:11:05] <S3> right now it's all in an init.lua :D
L288[09:11:18] <S3> it's probably about 50 lines or less
L289[09:12:04] <Izaya> oic
L290[09:12:39] <S3> I plan to test it out with a gpu api once it's running
L291[09:12:44] <S3> and try to print hello, world with it
L292[09:13:01] <Izaya> Well, if you want a super minimal networking API for testing, tape this to the front of your init:
L293[09:13:05] <Izaya> https://github.com/ShadowKatStudios/OC-Minitel/tree/master/Embedded/microtel
L294[09:13:25] <S3> microtel eh
L295[09:13:37] <Izaya> Minitel for embedded devices :D
L296[09:14:04] <S3> neat. How's it work?
L297[09:14:16] <S3> I might be interested in using minitel for cluster computing the actors :D
L298[09:14:32] <Izaya> Hooks computer.pullSignal mostly
L299[09:14:42] <S3> my hope is that if you have 2 or more OC computers connected then you can boot it up so that the actors you start distribute across those computers
L300[09:14:56] <Izaya> The -3 version exposes net.send and queues net_msg events
L301[09:15:12] <S3> it won't run any faster I don't think, but it can pool resources like disk space
L302[09:15:16] <S3> and make use of more memory
L303[09:15:25] ⇨ Joins: Unh0ly_Tigg (Unh0ly_Tigg!~Unh0ly_Ti@c-24-21-196-226.hsd1.or.comcast.net)
L304[09:15:32] <Izaya> -4 allows messages larger than the hardware MTU and -5 has sockets
L305[09:17:58] <Izaya> I still need to document the API but I finally got sockets working properly tonight
L306[09:30:54] ⇨ Joins: minecreatr (minecreatr!~minecreat@tterrag.com)
L307[09:39:57] ⇦ Quits: Backslash (Backslash!~Backslash@ip-94-114-162-224.unity-media.net) (Quit: Leaving)
L308[09:48:13] <Inari> Anyone here happen to use Clipstudio Paint? :P
L309[09:48:42] <Forecaster> %jumble ^
L310[09:48:42] <MichiBot> happen Clipstudio to Anyone :P use here Paint?
L311[09:50:26] <Inari> I'm trying to understand what "brush density" means and how it differs from "opacitY". As well as what "gap" means in this context
L312[09:51:04] <Forecaster> probably brush splatter?
L313[09:51:28] <Inari> Well it's help seems to say the brush desnity adjusts the opacity of each bursh tip
L314[09:51:39] <Inari> But its somehow different from just decreasing the opacity of the brush itself
L315[09:52:08] <Forecaster> maybe there's some variance
L316[09:53:08] <Inari> What I mostly notice is that when I draw with decreased brush density
L317[09:53:14] <Inari> And I draw over the same area in the same stroke it adds up
L318[09:53:19] <Inari> Wiht opacity it doesn't do that in the same stroke
L319[09:53:23] <Inari> Only when you let go and do another
L320[10:01:45] ⇦ Quits: Arimil (Arimil!~Renari@24.229.185.155.res-cmts.sm.ptd.net) (Ping timeout: 198 seconds)
L321[10:15:01] ⇨ Joins: BearishMushroom (BearishMushroom!~BearishMu@82-209-154-59.cust.bredband2.com)
L322[10:37:59] <S3> trying to remember how I used load to run a coroutine with a custom ENV
L323[10:47:31] <S3> payonel: turns out soni wasnt a local problem
L324[10:47:41] <S3> apparently soni has been going around in other communities doing the same shit
L325[10:47:47] <S3> including the official Lua community
L326[10:47:52] <S3> lol
L327[10:48:20] <MGR> And what has he been doing exactly?
L328[10:49:24] ⇨ Joins: Thutmose (Thutmose!~Patrick@host-69-59-79-123.nctv.com)
L329[10:51:35] <S3> everything, apparently
L330[10:58:24] <S3> Apparently now he's having fun in the Rust community
L331[11:01:10] <S3> MajGenRelativity: https://github.com/LuaJIT/LuaJIT/issues/194
L332[11:01:11] <MichiBot> Title: Support for smart quotes | Posted by: SoniEx2 | Posted: Sun Jun 19 14:54:29 CDT 2016 | Status: closed
L333[11:01:11] <S3> :D
L334[11:02:09] ⇨ Joins: Backslash (Backslash!~Backslash@ip-94-114-162-224.unity-media.net)
L335[11:02:09] <MajGenRelativity> Well would you look at that
L336[11:02:21] <Forecaster> since when does notepad use smartquotes
L337[11:02:35] <S3> apparently soni said: "I don't care so much about the speed of the interpreted JIT as much as I care about being able to experiment with it at runtime."
L338[11:48:26] ⇦ Quits: fingercomp (fingercomp!~fingercom@fomalhaut.me) (Quit: ZNC - http://znc.in)
L339[11:48:38] ⇨ Joins: fingercomp (fingercomp!~fingercom@fomalhaut.me)
L340[11:49:06] *** fingercomp is now known as Guest70004
L341[11:49:41] *** Guest70004 is now known as fingercomp
L342[12:00:32] <Temia`> I love how succinct that issue is.
L343[12:00:34] <Temia`> It's almost artistic.
L344[12:00:38] *** Temia` is now known as Temia
L345[12:05:34] <CompanionCube> S3: i have seen soni in multiple other channels
L346[12:05:39] <CompanionCube> such as archlinux
L347[12:06:40] <Temia> It's almost unreal how clueless he is.
L348[12:11:35] <S3> CompanionCube: rofl
L349[12:11:53] <CompanionCube> S3: it was about package distribution
L350[12:12:00] <CompanionCube> and I think I have the logs
L351[12:12:09] <S3> heh
L352[12:12:16] <S3> was it complaining about the AUR at least?
L353[12:12:21] <S3> since the AUR is horrifyingly awful
L354[12:12:34] <CompanionCube> don't think so
L355[12:13:02] <S3> heh
L356[12:13:20] <S3> ok this is a challenge
L357[12:13:28] <S3> I want to have spawn(function
L358[12:13:29] <S3> )
L359[12:13:39] <S3> where function is a passed function
L360[12:13:52] <S3> and I want it sandboxed in its own ENV. I know I've done something like it before without debug..
L361[12:14:23] <payonel> S3: not possible with lua >= 5.2
L362[12:14:35] <S3> I did something with load
L363[12:14:46] <S3> but it may have been passing a string of a function instead
L364[12:14:50] <S3> which is ugly af
L365[12:14:50] <payonel> you don't load a function, you load text
L366[12:15:09] <S3> wait.. wait wait wait wait wait
L367[12:15:13] * payonel waits
L368[12:15:20] <S3> I may be on to something
L369[12:15:28] <S3> I can load a string with an empty env as a template
L370[12:15:40] <payonel> you said "pass a function"
L371[12:15:46] <S3> then everyoe is inside that env when they pass the function within that env
L372[12:15:50] <S3> yesbut this is like a wrapper
L373[12:15:56] <payonel> that was the only part i was declaring not possible
L374[12:16:20] <payonel> S3: once a function exists, you can't swap its env
L375[12:16:27] <payonel> you bake in its env
L376[12:16:29] <payonel> when you load it
L377[12:17:30] <S3> my right but the idea is to setup env in a string
L378[12:17:42] <S3> before they make the function
L379[12:18:16] <S3> so for example, the OS might run in two layers
L380[12:18:26] <S3> the top layer has full access, the bottom layer is in its own sandbox
L381[12:18:29] <payonel> look, simplify then work back
L382[12:18:49] <payonel> all i'm saying is once you've loaded a function, its env is fixed
L383[12:19:08] <S3> yes so you mess with the env before the function is loaded
L384[12:19:29] <payonel> fine, but in oc you don't have access to upvalues of the function
L385[12:19:39] <S3> if everyone spawns their processes in the lower half of the stringified loaded kernel..
L386[12:20:02] <S3> well something I did as a test a year ago or so was make what I call a punch gate
L387[12:20:51] <S3> where you basically have an interface to talk between environments. It actually worked, I'm pretty sure I remember how I did it too
L388[12:21:08] <S3> I think I just cheated and put the function in the sandboxed env iirc
L389[12:21:26] <S3> May have been more complicated
L390[12:22:12] <S3> I almost thing I used a closure object
L391[12:22:17] <S3> think*
L392[12:22:47] <S3> because a table can exist in more than one environment
L393[12:23:47] <S3> payonel: you probably think I'm insane and crazy by now
L394[12:24:31] <payonel> no, with all due respect. i think youre over complicating the building blocks you have available, but i do think you're clever and i know you can come up with something good
L395[12:26:43] <S3> payonel: I tend to overcomplicate things for the sake of having something to think about.
L396[12:26:45] <S3> :D
L397[12:28:10] <S3> My goals in reality are that, actors can't share their data without sending messages, so there's no shared memory. Also, messages are deep copied so that for example messaged table modification can't create side effects that effect other actors directly
L398[12:28:22] <S3> shared memory is an anti pattern of actors
L399[12:32:17] <S3> It is also quite likely payonel that this will be slow as shit, even though my actors won't run unless they have an event in their mailbox.
L400[12:32:25] ⇨ Joins: Cervator (Cervator!~Thunderbi@2601:4c1:4001:1d5d:45d2:4da:7af7:6ee5)
L401[12:50:16] <payonel> S3: will you be doing string parsing and load()s a lot during "runtime" to get jobs done?
L402[12:50:25] <payonel> if not, perf will be fine
L403[12:55:05] <S3> the idea is to just load processes as a sting when you start them
L404[13:02:24] <AmandaC> %choose anime or game or meh
L405[13:02:24] <MichiBot> AmandaC: anime
L406[13:04:41] ⇨ Joins: ImSoBored246 (ImSoBored246!~imsobored@cpc117894-brad23-2-0-cust58.17-1.cable.virginm.net)
L407[13:05:30] ⇦ Quits: ImSoBored246 (ImSoBored246!~imsobored@cpc117894-brad23-2-0-cust58.17-1.cable.virginm.net) (Client Quit)
L408[13:05:34] ⇨ Joins: ImSoBored246 (ImSoBored246!~imsobored@cpc117894-brad23-2-0-cust58.17-1.cable.virginm.net)
L409[13:06:20] <S3> AmandaC: I've bunge watched a lot of anime lately
L410[13:06:22] <Sparky> Hello
L411[13:06:30] <S3> Hey Sparky!
L412[13:07:01] ⇨ Joins: |TomImura| (|TomImura|!~|tomimura@cpc117894-brad23-2-0-cust58.17-1.cable.virginm.net)
L413[13:18:37] <Sparky> I'm trying to do robot farming.. but my programming skills are terrible
L414[13:18:55] <payonel> i'm a great programmer, but my farming skills are terrible
L415[13:19:05] <Forecaster> You'll get better
L416[13:19:09] <Forecaster> Probably
L417[13:19:50] <Sparky> I may get better
L418[13:20:19] <Sparky> But I'll stick with using other people's code
L419[13:21:43] <Forecaster> Then you won't get better :P
L420[13:22:46] ⇦ Quits: |TomImura| (|TomImura|!~|tomimura@cpc117894-brad23-2-0-cust58.17-1.cable.virginm.net) (Remote host closed the connection)
L421[13:22:46] ⇦ Quits: ImSoBored246 (ImSoBored246!~imsobored@cpc117894-brad23-2-0-cust58.17-1.cable.virginm.net) (Remote host closed the connection)
L422[13:29:38] <Kodos> What's the name of the coffee that's made with monkey shit
L423[13:30:52] <AmandaC> I don't remember, but wasn't it cat shit after feeding tjem cofffee beans?
L424[13:31:06] <Kodos> No, it was monkey shit after feeding them coffee beans I thought
L425[13:40:20] <Brisingr Aerowing> It was Servals, a kind of feline.
L426[13:48:35] <Kodos> Oh, was it? Interesting
L427[13:51:41] <Sparky> How do I troubleshoot this? https://i.imgur.com/vmnW9O1.png
L428[13:53:11] <Wuerfel_21> local component = require("component")
L429[13:53:24] <Wuerfel_21> Code Block pastebined https://paste.pc-logix.com/ijoriqenuj [Edited]
L430[13:53:33] <Wuerfel_21> at the top of your file
L431[13:53:59] <Sparky> Sweet!
L432[13:54:28] <Sparky> I looked at it.. and I immediately realized that A) I'm using a robot and not a drone and B) It doesn't have navigation upgrade
L433[13:54:39] <Sparky> How do I run programs on a drone though?
L434[13:55:13] <Wuerfel_21> You need to program an EEPROM with the code on it
L435[13:55:53] <Molinko> ~w custom os
L436[13:55:53] <ocdoc> Predicted http://ocd.cil.li/tutorial:custom_oses
L437[13:56:05] <Molinko> ^ for drone related stuff
L438[13:56:38] <Molinko> see "whats available" section
L439[13:59:40] <payonel> @sparky it's all the same, drone or robot or microcontroller or computer with openos
L440[14:00:11] <payonel> @sparky the rules are all the same, the difference is: "some stuff has been loaded by an operating system for your convenience", that being openos
L441[14:00:33] <payonel> the only question you need ask yourself is, "have i loaded openos or have i not"
L442[14:02:20] <Pablu> "Am I alive?" "What does it mean to be?"
L443[14:02:41] <Pablu> "Have I loaded OpenOs"
L444[14:02:45] <Pablu> etc
L445[14:02:46] <Sparky> so I load it with the eeprom that has the program on it?
L446[14:03:02] <payonel> @sparky loading openos is pretty intentional
L447[14:03:13] <payonel> you have to craft the openos floppy disk
L448[14:03:31] <payonel> and either boot with it, or install it to a hdd
L449[14:05:55] ⇦ Quits: MajGenRelativity (MajGenRelativity!uid288574@id-288574.hathersage.irccloud.com) (Quit: Connection closed for inactivity)
L450[14:07:21] <payonel> @sparky on your drone - do you have a floppy disk drive with the openos floppy in it? or do you have a hdd that you installed openos to?
L451[14:07:51] <payonel> sort of a trick question, you can't put disk drives nor hdds on drones
L452[14:09:11] <Molinko> @Sparky (On a computer loaded with OpenOS) create a new file with your microcontroller program, save it, remove the Lua bios EEPROM from computer, put a blank EEPROM in the computer, and run 'flash myProgramName'
L453[14:09:18] <Sparky> I have the open OS on a computer hard drive, but I can't put a hard drive in the drone
L454[14:09:41] <Sparky> OKAY!
L455[14:09:46] <Sparky> Got it I understand
L456[14:09:48] <payonel> @sparky correct, that's how you know youre not running openos on a drone
L457[14:09:52] <Molinko> @Sparky you cant put a disk drive in the drone. it was a trick question
L458[14:09:53] <Sparky> Flash program
L459[14:10:02] <payonel> you can use `flash`
L460[14:10:06] <payonel> you can also edit the eeprom code directly
L461[14:10:11] <payonel> `edit /dev/eeprom`
L462[14:10:28] <Molinko> @payonel I ❤ that devfs btw
L463[14:10:33] <Molinko> o sexy
L464[14:10:41] * payonel blushes
L465[14:10:46] <Molinko> lol
L466[14:10:51] <Molinko> you minx you
L467[14:11:35] <Molinko> cat somethingsexy > /dev/eeprom
L468[14:14:15] <Molinko> @Sparky just a tip. If your program crashes on the microcontroller (you'll see a flashing red light) use the analyzer to get the error so we can help
L469[14:17:09] <Molinko> Hey @payonel I hear you have a tty patch in the works.. Can i take peek somewhere?
L470[14:18:47] <payonel> ah sure. it's quite wip and i'm still playing with some ideas
L471[14:19:27] <AmandaC> tty patch? Other than the escape code thing?
L472[14:23:31] <Molinko> thx Id just like to get an idea of where its going. just curious is all. Thx
L473[14:25:23] <Sparky> I got it! @Molinko it did crash!
L474[14:26:00] <payonel> it's similar to the current tty code, but will let me mess with the stream a bit easier for things like edit and term api
L475[14:26:08] <payonel> @molinko https://github.com/payonel/OpenComputers/blob/tmp2/src/main/resources/assets/opencomputers/loot/openos/lib/tty.lua
L476[14:26:29] <payonel> the interesting bit would be https://github.com/payonel/OpenComputers/blob/tmp2/src/main/resources/assets/opencomputers/loot/openos/lib/tty.lua#L71
L477[14:26:46] <payonel> and then on line 91, c:handle(name, char, code)
L478[14:26:58] <Sparky> @Molinko "Attempt to Perform Arithmetic on Field 'y' (a nil value)
L479[14:27:06] <payonel> this being the default cursor library: https://github.com/payonel/OpenComputers/blob/tmp2/src/main/resources/assets/opencomputers/loot/openos/lib/core/cursor.lua
L480[14:27:14] <Sparky> So I understand what that means.. but I don't know how to fix it
L481[14:27:26] <payonel> a cursor need only know how to move, update, echo, and handle
L482[14:27:36] <payonel> @sparky this ...
L483[14:27:43] <payonel> %lua return y+1
L484[14:27:43] <MichiBot> main:1: attempt to perform arithmetic on global 'y' (a nil value)
L485[14:27:52] <payonel> %lua return y, type(y)
L486[14:27:52] <MichiBot> nil, nil
L487[14:29:41] <Sparky> i FIXED IT
L488[14:29:47] <Sparky> Capslock.. I fixed it
L489[14:30:03] <payonel> @molinko: basically, i'm moving all blink, cursor movement, cursor input buffer, event handling - to the cursor
L490[14:30:10] <payonel> the cursor in a sense acts as the "host" layer
L491[14:30:17] <Sparky> It was missing a waypoint
L492[14:30:27] <payonel> this lets the tty be a raw input/output stream manager
L493[14:30:41] <payonel> then, any application (like edit) can define any custom cursor
L494[14:30:56] <payonel> or term for horizontal reads
L495[14:31:07] <payonel> i've removed all cursor logic out of tty
L496[14:31:22] <Molinko> nice
L497[14:33:05] <Molinko> Do processes already have independent tty ?
L498[14:33:27] <payonel> yes
L499[14:33:47] <payonel> but making a custom tty isn't a straight forward api, because i haven't committed to an api yet
L500[14:34:00] <payonel> though, wocchat is already using it, so, i'm stuck :)
L501[14:34:15] <payonel> i dont want wocchat to need 3 code paths, it already has 2
L502[14:34:23] <payonel> (for dealing with term)
L503[14:34:41] <Molinko> i see
L504[14:35:09] <payonel> anyways, there is a term.internal.open which creates a new tty window
L505[14:35:17] <Molinko> i remember
L506[14:35:18] <Sparky> Wait, why isn't my drone dropping off in a chest? Its just droppng things on the chest
L507[14:35:38] <Molinko> @Sparky you require an inventory_controller component
L508[14:36:06] <payonel> @sparky the inventory_controller has a method you can use to move items between inventories
L509[14:36:25] <Molinko> ~w inventory_controller
L510[14:36:25] <ocdoc> http://ocd.cil.li/component:inventory_controller
L511[14:37:13] <Sparky> I just dropped a vacuum chest, easy enough
L512[14:40:54] <Molinko> @payonel so are you basically separating the tty 'driver' and 'line discipline'?
L513[14:41:12] <Molinko> maybe im reading too much into it :/
L514[14:41:13] <payonel> i'm seperating the cursor from tty
L515[14:41:16] <Molinko> lol
L516[14:41:30] <payonel> in the real world, "cursor" is managed by the "host application"
L517[14:41:36] <Sparky> What bit of code can I add that will make the drone wait before it's action cycle?
L518[14:41:42] <payonel> in openos, the cursor will be an object defined by the host application
L519[14:41:59] <payonel> tty defaults to a "vertical scrolling cursor input"
L520[14:42:31] <payonel> @sparky define "action cycle" ? and when would you want it to start? after n seconds? after an event?
L521[14:43:32] ⇨ Joins: techno156 (techno156!~techno156@185.57.5.138)
L522[14:43:35] <payonel> @molinko when this is done, i should be able to write /bin/edit in terms of the cursor
L523[14:43:53] <Sparky> @payonel So my program cycles through waypoints, I was wondering if I could give the drone a longer wait
L524[14:44:09] <payonel> @sparky how much longer?
L525[14:45:03] <Sparky> is open computers tics or time?
L526[14:45:28] <Sparky> 1 minute or 1200 ticks
L527[14:45:40] <payonel> @sparky our time functions work in floating point seconds
L528[14:45:51] <payonel> so you could just os.sleep(120)
L529[14:45:58] <Molinko> 0.05 being a single tick i belive
L530[14:46:03] <payonel> yes, 1/120
L531[14:46:05] <payonel> derp
L532[14:46:06] <payonel> 1/20
L533[14:46:16] <payonel> but we dont work in ticks, we works in seconds
L534[14:48:31] <Molinko> @payonel maybe the doc is just old but i dont think drones have the os.sleep method..
L535[14:48:49] <payonel> @molinko and for those on the bleeding edge of memory usage, if you never call io.read on the tty, you'll save a LOT of memory on boot
L536[14:49:28] <payonel> oh right, thanks @molinko
L537[14:49:32] <Molinko> not sure i follow
L538[14:49:34] <payonel> computer.pullSignal(120)
L539[14:49:48] <payonel> @sparky ^
L540[14:49:56] <payonel> that'll wait for 120s (or until it receives a signal)
L541[14:50:13] <Molinko> shove it in a repeat statement
L542[14:50:28] <Molinko> difftime that sucker
L543[14:51:03] ⇦ Quits: techno156 (techno156!~techno156@185.57.5.138) (Ping timeout: 190 seconds)
L544[14:51:29] <payonel> @sparky if you wanted something like os.sleep, this is how openos defines it: https://github.com/MightyPirates/OpenComputers/blob/master-MC1.7.10/src/main/resources/assets/opencomputers/loot/openos/boot/02_os.lua#L40
L545[14:51:42] <payonel> in place of event.pull, just use computer.pullSignal
L546[14:51:46] <payonel> with the same argument
L547[14:53:26] <payonel> @molinko if you are loading openos, you load tty. the cursor library is only needed for input -- and if you have a robot that never calls io.read (just runs a script on boot) then it'll not need to load the cursor library
L548[14:53:51] <payonel> that'll save a lot of memory, probably a few k
L549[14:54:03] <payonel> for those who push the mem usage, they'll care
L550[14:54:13] <Sparky> @payonel Like this? function wait()
L551[14:54:13] <Sparky> computer.pullSignal(120)
L552[14:54:13] <Sparky> end
L553[14:54:29] <payonel> right now (in my personal dev builds with the new tty code) i'm booting with ~67k free
L554[14:54:39] <payonel> @sparky yes
L555[14:55:10] <payonel> @sparky for eeprom code, that's just fine. my sensibilities cringe at non local functions, but it's fine :)
L556[14:56:28] <Molinko> @payonel my balls retract when i see non local var declarations
L557[14:57:06] <payonel> @molinko not sure if you follow the mem usage stats of openos versions, but the ram allocated for boot in 1.5 was ~205k, 1.6 was 190k, 1.7 was 140k, and 1.7.3 will maybe be 130k or maybe even 125k
L558[14:57:07] <Molinko> What did you mean by not using io.read or pull while booting?
L559[14:57:29] <payonel> @molinko when you reach the shell, youre running an io.read for user input
L560[14:58:01] <payonel> if you run a script that never calls read on the tty, then the cursor library won't need to load
L561[14:58:02] <Molinko> right. so any terminal is going to consume a lot of memory you're saying?
L562[14:58:09] <Molinko> ah i see
L563[14:58:15] <payonel> well any terminal is going to load the cursor lib
L564[14:58:20] <payonel> which i've now (in dev) separated
L565[14:59:33] <Molinko> thanks for the hints
L566[14:59:38] <Molinko> and the peep
L567[15:29:43] ⇨ Joins: MajGenRelativity (MajGenRelativity!uid288574@id-288574.hathersage.irccloud.com)
L568[15:32:51] ⇦ Quits: Unh0ly_Tigg (Unh0ly_Tigg!~Unh0ly_Ti@c-24-21-196-226.hsd1.or.comcast.net) (Quit: Leaving)
L569[16:12:06] ⇦ Quits: SolaoBajiuik (SolaoBajiuik!~quassel@75.97.233.152.res-cmts.leh.ptd.net) (Remote host closed the connection)
L570[16:37:13] ⇦ Quits: lp (lp!~lordpipe@66.109.211.167) (Quit: WeeChat 2.0.1)
L571[16:37:35] ⇨ Joins: lp (lp!~lordpipe@66.109.211.167)
L572[17:40:09] ⇦ Quits: erratic (erratic!erratic@shells.yourstruly.sx) (Ping timeout: 198 seconds)
L573[17:52:44] <Forecaster> %jumble
L574[17:52:44] <MichiBot> lib to the load well cursor any terminal going is
L575[18:15:40] ⇦ Quits: tinydoggy (tinydoggy!webchat@157-217-223-66.gci.net) (Quit: Web client closed)
L576[18:27:47] ⇦ Quits: Inari (Inari!~Pinkishu@p5DEC63A7.dip0.t-ipconnect.de) (Quit: 'Chickens will peck - peck - peck until they've worked out who's top chicken. But you know who's really top chicken? WE'RE TOP CHICKEN!' (CGP Grey))
L577[19:58:20] ⇨ Joins: Renari (Renari!~Renari@24.229.185.155.res-cmts.sm.ptd.net)
L578[20:01:52] ⇦ Quits: Vexatos (Vexatos!~Vexatos@p5B3C8EFD.dip0.t-ipconnect.de) (Quit: Insert quantum chemistry joke here)
L579[20:15:07] ⇨ Joins: Arimil (Arimil!~Renari@24.229.185.155.res-cmts.sm.ptd.net)
L580[20:17:43] ⇦ Quits: Renari (Renari!~Renari@24.229.185.155.res-cmts.sm.ptd.net) (Ping timeout: 182 seconds)
L581[20:33:07] ⇦ Quits: Turtle (Turtle!~SentientT@ip5657cbb2.direct-adsl.nl) (Read error: -0x1: UNKNOWN ERROR CODE (0001))
L582[21:32:38] <AmandaC> LIB TO THE LOAD WELL!
L583[21:33:15] * AmandaC slinks back off to the shadows, as she gets ready to turn off the lights and halucinate for a few hours while being paralyzed
L584[21:43:45] <S3> AmandaC: ACID is not the answer
L585[21:46:28] <AmandaC> %search xkcd hallucinate
L586[21:46:28] <MichiBot> AmandaC: Unknown sub-command 'xkcd' (Try: google, curseForge, wiki, urban, ann, youtube)
L587[21:48:00] <AmandaC> https://xkcd.com/203/
L588[21:48:01] <MichiBot> XKCD Comic Name: Hallucinations Posted on: 12/29/2006
L589[21:48:55] <AmandaC> Now: games, then: hallucinate, later: odk, bears maybe?
L590[21:54:41] <S3> lol
L591[21:54:56] ⇦ Quits: BearishMushroom (BearishMushroom!~BearishMu@82-209-154-59.cust.bredband2.com) (Read error: Connection reset by peer)
L592[22:05:56] ⇦ Quits: MajGenRelativity (MajGenRelativity!uid288574@id-288574.hathersage.irccloud.com) (Quit: Connection closed for inactivity)
L593[22:07:37] <S3> fI just realized something payonel ..
L594[22:07:46] <S3> load() will except a function not just a source string.
L595[22:08:06] <S3> says so in the ref manual
L596[22:08:14] <Izaya> lets you set the env, IIRC
L597[22:08:52] <S3> well
L598[22:08:57] <S3> it's mroe complicated
L599[22:09:05] <S3> the function you pass it must provide a string of the lua code
L600[22:09:08] <S3> to chunk
L601[22:09:17] <S3> so you can pass it a file reading iterator for example
L602[22:09:45] <S3> so it's not as great as I thought it was
L603[22:10:11] <Izaya> oh, makes sense
L604[22:10:41] <S3> so here's what I am going to do
L605[22:10:43] <Izaya> https://shadowkat.net/img/amiga-3000ux.jpg
L606[22:11:05] <S3> neat
L607[22:11:11] <Molinko> yum
L608[22:11:38] <S3> I will make spawn() take a string. for most processes you will load them from disk then send it to spawn() to create a process from a strring
L609[22:11:48] <S3> a second function exists called spawn_task()
L610[22:12:17] <S3> spawn_task differs from spawn by accepting a function instead. it will create a process from the function having a sandboxed environment of the process that spawned it
L611[22:12:26] <S3> this allows you to do something like:
L612[22:13:17] <Molinko> maybe make spawn(proc) proc:string or function
L613[22:13:22] <S3> local function myreader(socket) dispatch(read(socket)) return myreader(socket) end
L614[22:13:28] <S3> and then go spawn_task(myreader)
L615[22:13:30] <Molinko> like load is? keep it
L616[22:13:48] <S3> yes that's not a bad idea
L617[22:14:09] <Molinko> spawn could use load or or call spawn_task from within based on arg type
L618[22:14:10] <S3> I reallyw ish I could sandbox anonymous functions
L619[22:14:15] <Molinko> mee too
L620[22:14:16] <S3> because that'd be the most ideal ever
L621[22:14:21] <Izaya> oh S3, I wrote the docs for Microtel https://github.com/ShadowKatStudios/OC-Minitel/blob/master/Embedded/microtel/README.md
L622[22:14:28] <S3> Izaya: yay!
L623[22:14:28] <Molinko> sweeeeeeeeet
L624[22:14:39] <Molinko> I really do like it ❤
L625[22:14:55] <Molinko> so easy to use.... *swoon
L626[22:15:02] <S3> so you mention reliability
L627[22:15:11] <S3> but OC networking is lossless isnt it?
L628[22:15:16] <Molinko> i need to re-test it.
L629[22:15:30] <Molinko> last time i did was when i msg'd you about tunnels
L630[22:15:31] <Izaya> S3: in theory, but not when you're routing via other machines
L631[22:15:35] <S3> when will packets ever come out of order, etc
L632[22:15:38] <S3> I see
L633[22:15:51] <Izaya> once you have some more development done I'll look into a proper port of Minitel for your setup
L634[22:15:55] <S3> I suppose in concurrency models like mine they may end up in strange orders
L635[22:17:51] <Izaya> I do need to test out flisten
L636[22:19:16] <Izaya> Not sure whether it actually works, but it should in theory
L637[22:19:18] <Izaya> listen works
L638[22:30:25] <S3> nuuuuuuuuuuuuuuuu
L639[22:30:33] <S3> it says I'm missing an end to my function
L640[22:30:38] <S3> says its the last line of the file
L641[22:30:48] <S3> I hate thosse
L642[22:30:57] <S3> those kind of errors are so damn hard to find sometimes
L643[22:31:30] ⇦ Quits: Cervator (Cervator!~Thunderbi@2601:4c1:4001:1d5d:45d2:4da:7af7:6ee5) (Remote host closed the connection)
L644[22:31:38] ⇨ Joins: Doty1154 (Doty1154!~Doty1154@2601:648:8000:134f:dda1:d648:42b5:7585)
L645[22:31:58] <S3> ... I see no problem
L646[22:40:38] <S3> fixed.
L647[22:40:43] <S3> I had else if instead of elsif
L648[22:40:51] <S3> elseif*
L649[22:48:32] ⇦ Quits: Away_21 (Away_21!~Wuerfel21@bronyville.me) (Quit: lol im out bye TACOS)
L650[22:51:33] ⇦ Quits: Thutmose (Thutmose!~Patrick@host-69-59-79-123.nctv.com) (Quit: Leaving.)
L651[22:57:00] ⇨ Joins: erratic (erratic!erratic@shells.yourstruly.sx)
L652[23:06:00] ⇦ Quits: Dark (Dark!~MrDark@2607:fcc8:d48b:eb00:d10e:f0c2:89f7:b53) (Read error: Connection reset by peer)
L653[23:06:46] ⇨ Joins: Away_21 (Away_21!~Wuerfel21@bronyville.me)
L654[23:12:36] <Izaya> S3: you may find this amusing https://lainchan.org/%CE%BB/res/41.html#7556
L655[23:43:31] <MichiBot> Saphire REMINDER: Huh
L656[23:46:05] <Saphire> ...wait what was that one about? D:
<<Prev Next>> Scroll to Top