<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:07:23] <Kristo​pher38> lmao I was surprised that my robot name was all garbled up when I loaded the world http://tinyurl.com/wg64v9s
L2[00:07:38] <Kristo​pher38> but then I remember it's april fool's in my timezone already
L3[00:07:42] <Kristo​pher38> but then I remembered it's april fool's in my timezone already [Edited]
L4[00:07:50] <Kristo​pher38> but then I remembered it's april fools in my timezone already [Edited]
L5[00:21:01] <20​kdc> https://20kdc.duckdns.org/nrap/
L6[00:23:55] ⇦ Quits: BobbyTables2012 (~EiraIRC@137-025-007-189.res.spectrum.com) (Remote host closed the connection)
L7[00:27:24] <The_St​argazer> why would that be an april fools joke?
L8[00:27:27] <The_St​argazer> that's not really a joke
L9[00:27:34] <The_St​argazer> if it is, i do not get it
L10[00:27:53] ⇦ Quits: ben_mkiv (~ben_mkiv@88.130.158.249) (Remote host closed the connection)
L11[00:28:11] ⇨ Joins: ben_mkiv (~ben_mkiv@88.130.158.249)
L12[00:35:09] ⇨ Joins: Ocawesome101 (~manjaro-u@38.65.249.137)
L13[00:38:05] ⇦ Quits: ben_mkiv (~ben_mkiv@88.130.158.249) (Killed (NickServ (GHOST command used by ben_mkiv|afk!~ben_mkiv@i5E86B709.versanet.de)))
L14[00:38:11] ⇨ Joins: ben_mkiv|afk (~ben_mkiv@i5E86B709.versanet.de)
L15[00:38:34] <Ocawesome101> R.E. earlier Plan9k isn't exactly broken, but it isn't exactly stable either
L16[00:40:01] <Amanda> Backspace doesn't work on macOS. :D
L17[00:40:21] <Amanda> under plan9k
L18[00:41:18] ⇦ Quits: Vexatos (~Vexatos@port-92-192-119-89.dynamic.as20676.net) (Quit: Insert quantum chemistry joke here)
L19[00:42:39] <Ocawesome101> nice
L20[00:43:58] <Ocawesome101> what is the smallest OS kernel y'all have ever written?
L21[00:44:38] <Ocawesome101> as in, /boot/kernel.lua or w/e
L22[00:45:34] <Ocawesome101> Photon's is ~360 lines and it's the smallest I've written
L23[00:47:20] <Ocawesome101> AdorableCatgirl: Working Tsuki when
L24[00:57:48] <Skye> Amanda: backspace works in openos, right?
L25[01:03:22] <20​kdc> Ocawesome101: Define kernel.
L26[01:03:29] <Sagh​etti> no
L27[01:03:56] <Ocawesome101> 20kdc: the script that does basic system setup and loads the init process
L28[01:04:09] <Sagh​etti> eh
L29[01:04:13] <Sagh​etti> weird definition
L30[01:04:14] <Sagh​etti> but ok
L31[01:07:05] <Skye> Thing is
L32[01:07:11] <Sagh​etti> technically init.lua is a kernel then
L33[01:07:15] <Skye> Different OSes are lated out very differently
L34[01:07:17] <Sagh​etti> so the smallest i've written is liek 2kb
L35[01:07:41] <20​kdc> Ocawesome: 66 lines, including comments.
L36[01:08:20] <20​kdc> Ocawesome101: ...by your very loose definition.
L37[01:08:37] <Skye> miniOS classic is like 40KB for the "kernel" which contains all the drives except the keyboard
L38[01:08:47] <Ocawesome101> >drives
L39[01:08:51] <Ocawesome101> nice
L40[01:08:52] <Skye> Drivers
L41[01:08:54] <Skye> :p
L42[01:09:28] <Adorabl​eCatgirl> Ocawesome101: thanks for the random ping
L43[01:09:45] <20​kdc> Ocawesome101: https://github.com/20kdc/OC-KittenOS/blob/master/inst/insthead.lua
L44[01:09:48] <Skye> Then the command interpreter is 8GB
L45[01:10:15] <20​kdc> ...8GB...??? How...
L46[01:10:18] <Skye> ... D
L47[01:10:20] <Skye> I mean
L48[01:10:24] <Skye> 8KB
L49[01:10:27] <Ocawesome101> lol
L50[01:10:36] <Skye> And every time you launch a program it quits
L51[01:10:40] <Skye> To save space
L52[01:10:42] <Sagh​etti> i'm sad that OC drives aren't bigger by default
L53[01:10:53] <Skye> The keyboard driver is is 3.24KB
L54[01:11:14] <DaCompu​terNerd> here's a question
L55[01:11:15] <DaCompu​terNerd> can you scroll in the terminal
L56[01:12:01] <Skye> No
L57[01:12:40] <Skye> Init.lua is under 2KB
L58[01:13:33] <Sagh​etti> how do you get a pfp on IRC?
L59[01:13:37] <Sagh​etti> for the discord integration
L60[01:19:41] <Skye> There's a bot command
L61[01:21:15] <Sagh​etti> ebic
L62[01:39:39] <Skye> https://gitlab.com/Skye/miniOS-NT if you want to see my awful code. Here it is.
L63[02:23:59] <Brisingr​Aerowing> My mom is an idiot. She decided my turned off computer was slowing down the internet, and took it away from me and then sent me outside for an hour when I told her it was off and couldn't be causing any issues.
L64[02:24:37] <DaCompu​terNerd> Ugh
L65[02:24:54] <DaCompu​terNerd> The internet is bad for everyone right now cuz everyone is on it
L66[02:26:44] <Amanda> %tell Inari https://twitter.com/nyacleicacid/status/1244829507678339075?s=20
L67[02:26:44] <MichiBot> Amanda: Inari will be notified of this message when next seen.
L68[02:36:24] ⇦ Quits: Ocawesome101 (~manjaro-u@38.65.249.137) (Ping timeout: 190 seconds)
L69[02:38:17] ⇦ Quits: lord| (~ba7888b72@66.109.211.150) (Read error: Connection reset by peer)
L70[02:38:45] ⇨ Joins: lord| (~ba7888b72@66.109.211.150)
L71[02:47:13] ⇦ Quits: lord| (~ba7888b72@66.109.211.150) (Read error: Connection reset by peer)
L72[02:47:57] ⇨ Joins: lord| (~ba7888b72@66.109.211.150)
L73[04:00:31] ⇦ Quits: Keridos (~Keridos@static.56.72.76.144.clients.your-server.de) (Quit: ZNC - http://znc.in)
L74[04:01:20] ⇨ Joins: Keridos (~Keridos@static.56.72.76.144.clients.your-server.de)
L75[04:33:34] ⇦ Quits: immibis (~immibis@x59cc9a77.dyn.telefonica.de) (Ping timeout: 189 seconds)
L76[04:34:09] ⇨ Joins: immibis (~immibis@x59cc9a77.dyn.telefonica.de)
L77[04:36:05] <ThePi​Guy24> %tonk
L78[04:36:05] <MichiBot> Jeepers! ThePi​Guy24! You beat Forec​aster's previous record of 5 hours, 38 minutes and 27 seconds (By 48 minutes and 12 seconds)! I hope you're happy!
L79[04:36:06] <MichiBot> ThePiGuy24's new record is 6 hours, 26 minutes and 40 seconds! ThePiGuy24 also gained 0.0048 (0.0008 x 6) tonk points for stealing the tonk. Position #6. Need 0.03326 more points to pass Ocawes​ome101!
L80[04:51:43] <runesc​apejon> https://pastebin.com/raw/C5fDJiUt
L81[04:51:43] <runesc​apejon> So, I'm not sure what i am doing wrong but this is what i had written to try to detect when a player is in range then push a discord message. The discord messaging system is correct but the player detection not working correctly. I am using also using Player sensor from PeripheralsPlusOne mod if anyone know what i am doing wrong please let me know thank you
L82[05:20:02] ⇨ Joins: BobbyTables2012 (~EiraIRC@137-025-007-189.res.spectrum.com)
L83[05:30:04] <fingercomp> I should say this is (or supposed to be, anyway) an OpenComputers support channel, and I haven't played with computercraft for, er, 5 years now, and I certainly don't know anything about the peripherals mod you've mentioned, and there are probably people who know all these things better in this channel than me... but if I had to guess, I'd wrap the if-block in a loop and, assuming
L84[05:30:04] <fingercomp> `getNearbyPlayers` returns a table, use the length operator in the condition
L85[05:30:27] <fingercomp> something like that, I guess https://pastebin.com/KZhYFd8h
L86[05:34:09] <fingercomp> it would also be wise to make it sleep a while after each loop, or you'd be wasting server's CPU needlessly as well as flooding the Discord channel you're sending the messages to
L87[05:38:42] ⇦ Quits: Thutmose (~Patrick@host-69-59-79-181.nctv.com) (Quit: Leaving.)
L88[05:40:19] <Izaya> I might suggest #computercraft if you're using CC
L89[05:48:13] <Frat​ty75> Can I make an `if` execute 2 expressions
L90[05:48:24] <BobbyTables2012> ofc
L91[05:49:01] <BobbyTables2012> be pretty useless if you couldn't
L92[05:55:35] <Frat​ty75> it would just go under the first expression right?
L93[06:16:51] ⇦ Quits: ben_mkiv|afk (~ben_mkiv@i5E86B709.versanet.de) (Ping timeout: 204 seconds)
L94[06:20:41] ⇦ Quits: BobbyTables2012 (~EiraIRC@137-025-007-189.res.spectrum.com) (Remote host closed the connection)
L95[06:33:02] ⇨ Joins: BobbyTables2012 (~EiraIRC@137-025-007-189.res.spectrum.com)
L96[07:15:30] ⇦ Quits: BobbyTables2012 (~EiraIRC@137-025-007-189.res.spectrum.com) (Remote host closed the connection)
L97[07:36:17] <Izaya> what an a e s t h e t i c machine https://assets.octodon.social/media_attachments/files/009/073/502/original/f32f818002db61e0.jpg
L98[08:04:49] ⇨ Joins: Inari (~Pinkishu@pD9E8F781.dip0.t-ipconnect.de)
L99[08:07:49] <CompanionCube> Izaya: you know you want to press the stalin key
L100[08:08:04] <Inari> Nep
L101[08:08:31] <Inari> Amanda: haha
L102[08:41:02] ⇦ Quits: immibis (~immibis@x59cc9a77.dyn.telefonica.de) (Ping timeout: 378 seconds)
L103[08:53:24] ⇨ Joins: immibis (~immibis@x59cc9a8a.dyn.telefonica.de)
L104[08:54:41] <Frat​ty75> http://tinyurl.com/umgpapu
L105[08:54:50] <Frat​ty75> slowly getting there 😋
L106[08:55:31] <Frat​ty75> just need to fix how to display the generator function as an actual table rather than a string
L107[09:07:37] ⇦ Quits: brayden (~brayden@2607:f2d8:4010:1a:8be::1) (Remote host closed the connection)
L108[09:07:45] ⇨ Joins: brayden (~brayden@2607:f2d8:4010:1a:8be::1)
L109[09:18:57] ⇨ Joins: Vexatos (~Vexatos@port-92-192-119-89.dynamic.as20676.net)
L110[09:18:58] zsh sets mode: +v on Vexatos
L111[09:20:47] <dequbed> @The_St​argazer Embrace the x86! Come to the dark side, we have caches! And disregard the nay-sayers~ Intel are good at ISA engineering :D
L112[09:22:29] <The_St​argazer> i still don't know why i wanted to (and still sort of do) wanna learn ASM - it's probably because it's simply another language I can learn
L113[09:22:53] <dequbed> Assembly isn't much of a *language* per se.
L114[09:22:59] <The_St​argazer> it's not?
L115[09:23:01] <dequbed> No
L116[09:23:14] <The_St​argazer> then, what is it?
L117[09:23:17] <dequbed> Assembly.
L118[09:24:16] <Izaya> assembly is a more convenient way to write machine code
L119[09:25:16] <dequbed> It doesn't have a grammar. Or statements in the first place. Or types. Or any of the other features of a programming language. Unless you go into the complex assemblies but you definitely shouldn't at the beginning.
L120[09:25:58] <The_St​argazer> i see
L121[09:27:12] <dequbed> Should you learn assembly programming? Maybe. But not because it's "Just another language". If at all learn it to understand how a computer thinks.
L122[09:28:34] <dequbed> If you want "Just another language", have Java, C++ and Python under your belt well and then frustrate yourself with Haskell, OCaml, Erlang, FORTH, Curry, Oz/Mozard, E or any other of the languages that bring something new to the table.
L123[09:29:47] <The_St​argazer> i should probably clarify: when I say "another language" it's not because i want to know every language in existence, i just like learning new stuff
L124[09:30:52] <dequbed> Yeah then go with a language that teaches you something about how you think about programming like the list I gave you. Assembly has its place, but as a means to an end not something to explicitly learn.
L125[09:31:21] <dequbed> Mainly because you can "learn" asm in an afternoon. There's nothing there to learn. The complex part is the hardware its running on.
L126[09:32:56] <The_St​argazer> tbf, most languages aren't really much on their own (so are easy to learn) - for example, Lua, C (and C++ / C# / etc), and Java are good examples - they work great on their own, but when you add libraries they can do a whole lot more
L127[09:33:21] <dequbed> That is an argument from ignorance :D
L128[09:33:26] <dequbed> Go learn Haskell, I dare you.
L129[09:33:34] <dequbed> The go learn Erlang right after.
L130[09:33:36] <dequbed> Then E.
L131[09:33:39] <dequbed> Then Curry.
L132[09:33:45] <dequbed> THEN come back and say that again.
L133[09:34:43] <dequbed> And I mean learn as in actually understand. Be able to figure out how it solves problems and why they way they do it is sensible. Or not.
L134[09:37:11] <Inari> Ada
L135[09:38:06] <dequbed> Ada is nice but its in a different category. Like Rust it's an evolution of an established means. You can go from C to Ada and apply quite some amount of experience. Have fun doing that with one of the above.
L136[09:39:01] ⇦ Quits: Backslash (~Backslash@d137-186-220-152.abhsia.telus.net) (Read error: Connection reset by peer)
L137[09:40:08] <Frat​ty75> http://tinyurl.com/rvnwrb7
L138[09:40:12] <Frat​ty75> I am gonna have a stroke
L139[09:40:21] <The_St​argazer> . . .
L140[09:40:22] <The_St​argazer> tostring.
L141[09:40:26] <Frat​ty75> WHY CANT I DISPLAY A table
L142[09:40:32] <The_St​argazer> oh, right
L143[09:40:35] <The_St​argazer> well
L144[09:40:38] <The_St​argazer> you can kind of
L145[09:40:42] <The_St​argazer> with serialization
L146[09:40:43] <Frat​ty75> when I do `tostring`
L147[09:40:46] <Frat​ty75> it gives like
L148[09:40:52] <The_St​argazer> i read it wrong lol
L149[09:40:59] <Frat​ty75> them in a really weird incomprehensable order
L150[09:41:00] <The_St​argazer> thought you were giving it a number
L151[09:41:02] <Izaya> because a table is a complex data structure that can't be accurately represented as a string
L152[09:41:08] <The_St​argazer> serialize the table
L153[09:41:30] <Frat​ty75> How do I serialize it
L154[09:41:41] <Frat​ty75> I just want to display 2 values from the table
L155[09:41:50] <Frat​ty75> the capacity and the actual amount inside the tank
L156[09:41:56] <Izaya> so grab those two values specifically and print those
L157[09:41:58] <The_St​argazer> do you know the index of them?
L158[09:42:11] <Forec​aster> then store the table in a variable and then access those fields with their indexes
L159[09:44:40] <The_St​argazer> ^
L160[09:45:59] ⇦ Quits: vifino (~vifino@b2b-78-94-116-114.unitymedia.biz) (Ping timeout: 190 seconds)
L161[09:47:35] ⇨ Joins: PixelHir (~pixelhir@102.203.242.35.bc.googleusercontent.com)
L162[09:49:04] ⇦ Quits: PixelHir (~pixelhir@102.203.242.35.bc.googleusercontent.com) (Client Quit)
L163[09:49:41] ⇨ Joins: PixelHir (~pixelhir@102.203.242.35.bc.googleusercontent.com)
L164[09:51:05] <PixelHir> Is there a way to increase the screen render quality in oc?
L165[09:51:13] <PixelHir> it's really bad when looking from distance
L166[09:55:15] <Forec​aster> woo, passed 300M credits
L167[09:55:23] <Forec​aster> only a lot more to go :P
L168[09:56:25] <The_St​argazer> only [arbitrarily large number] to go!
L169[09:56:50] <Forec​aster> it's not arbitrary
L170[09:56:54] <The_St​argazer> i know
L171[09:57:36] ⇨ Joins: vifino (~vifino@b2b-78-94-116-114.unitymedia.biz)
L172[10:00:08] <Izaya> s/arbitrarily/obnoxiously/
L173[10:00:09] <MichiBot> <The_Stargazer> only [obnoxiously large number] to go!
L174[10:00:40] <Frat​ty75> Izaya how do I grab those two values specifically, and Im not trying to print them. Trying to get them to display to monitor those values with `gpu.set` .
L175[10:00:46] <The_St​argazer> why
L176[10:00:48] <The_St​argazer> can't you just
L177[10:00:49] <The_St​argazer> print
L178[10:00:54] <Frat​ty75> @The_Stargazer No I do not know their index
L179[10:00:57] <The_St​argazer> why do raw gpu.set calls
L180[10:00:57] <Frat​ty75> how can I find that out
L181[10:01:08] <Izaya> ~w table
L182[10:01:08] <ocdoc> http://www.lua.org/manual/5.2/manual.html#pdf-table
L183[10:01:20] <Izaya> ignore that
L184[10:01:23] <Izaya> http://lua-users.org/wiki/TablesTutorial
L185[10:01:34] <The_St​argazer> just
L186[10:01:41] <The_St​argazer> use either VT100 control codes
L187[10:01:41] <The_St​argazer> or
L188[10:01:49] <The_St​argazer> set the cursor pos with the term library
L189[10:02:02] <Frat​ty75> well cuz so far from what I been taught the only way I know how to display anything is using `gpu.set(x,y,whatever I want displayed`
L190[10:02:08] <The_St​argazer> i--
L191[10:02:08] <The_St​argazer> what
L192[10:02:28] <dequbed> Educate them, don't yell at them.
L193[10:02:35] <The_St​argazer> [inhales]
L194[10:02:38] <Frat​ty75> The code dmed you yesterday
L195[10:02:49] <Frat​ty75> is the monitoring thing, I display everything with that
L196[10:02:59] <Frat​ty75> http://tinyurl.com/tgs3w4e
L197[10:03:10] <The_St​argazer> if that works, it works i guess
L198[10:03:12] <The_St​argazer> but you can also
L199[10:03:14] <Frat​ty75> Ur telling me there is an easier way?
L200[10:03:16] <The_St​argazer> set the cursor pos then print
L201[10:03:34] <Frat​ty75> so it prints where I click?
L202[10:03:37] <The_St​argazer> no
L203[10:03:43] <The_St​argazer> where you set the cursor pos.
L204[10:04:10] <The_St​argazer> there is no clicking in OpenOS (there are however touch events so you can implement your own click system)
L205[10:04:12] <Izaya> virtual cursor
L206[10:04:28] <Forec​aster> just printing a table will probably not look how you want it though
L207[10:04:30] <Izaya> you know how when you're typing you move around the solid white block and that shows where you'll type?
L208[10:04:38] <Frat​ty75> yeah
L209[10:04:46] <Izaya> that's the cursor you control from within OpenComputers
L210[10:04:54] <Frat​ty75> ohhh
L211[10:05:01] <Frat​ty75> alright that makes sense
L212[10:05:06] <Izaya> you can use VT100 control codes - see page I linked yesterday - or the term API to move it around
L213[10:05:16] <Izaya> and when you use print or io.write, it writes where the cursor is
L214[10:06:17] <Frat​ty75> Im currently reading the table tutorial you sent right now
L215[10:06:32] <Izaya> shiny
L216[10:06:45] <Izaya> that wiki has a decent few good tutorials
L217[10:07:18] <Frat​ty75> this is really helpful but I still dont get how to implent the table given by the machine. Like as in I dont know the table or any of its values or anything within the table
L218[10:07:33] <dequbed> Izaya: Should I go to the efford of writing a macro-based compile-time query system or go the "fuck you do it properly" route?
L219[10:07:53] <Izaya> allow me to blow your mind
L220[10:07:55] <Forec​aster> @Fratty75 you just have to experiment
L221[10:08:00] <Forec​aster> indexes start at 1
L222[10:08:06] <Forec​aster> just put that in and see what it returns
L223[10:08:12] <Izaya> run =component.ie_diesel_generator.getTankInfo() in the Lua prompt
L224[10:08:26] <Frat​ty75> yeah that gives me 4 values
L225[10:08:34] <Frat​ty75> @Forecaster with curly brackets right for the index
L226[10:08:34] <Izaya> in a table, presumably?
L227[10:08:49] <Frat​ty75> well yes I think so
L228[10:08:53] <Izaya> alright
L229[10:09:01] <Izaya> so if you know how a table is defined
L230[10:09:13] <Izaya> what are the keys for the values in the table?
L231[10:09:22] <Forec​aster> no you use square braces for table indexes
L232[10:09:24] <Frat​ty75> http://tinyurl.com/wkhsvvv
L233[10:09:38] <Izaya> Hit me with a guess and I'll tell you if you're right.
L234[10:09:41] <Frat​ty75> I only want the amount and capacity
L235[10:09:58] <Forec​aster> oh right, they're not number indexes
L236[10:10:03] <Frat​ty75> amount and capacity
L237[10:10:05] <Izaya> right
L238[10:10:06] <Frat​ty75> are the keys
L239[10:10:08] <Frat​ty75> right?
L240[10:10:10] <Izaya> correct
L241[10:10:14] <Frat​ty75> oh nice
L242[10:10:17] <Frat​ty75> now wait
L243[10:10:21] <Frat​ty75> do I justput
L244[10:10:27] <The_St​argazer> just add
L245[10:10:27] <Frat​ty75> amount into the bracket
L246[10:10:32] <The_St​argazer> `["capacity"]`
L247[10:10:37] <Izaya> not quite, but almost :D
L248[10:10:40] <Izaya> ^
L249[10:10:40] <The_St​argazer> or `["amount"]`
L250[10:10:53] <Frat​ty75> ohhhhh
L251[10:10:56] <Izaya> the index is a string, so you need to quote it if you're going to use bracket notation
L252[10:11:12] <Frat​ty75> man thank you guys so much
L253[10:11:27] <Frat​ty75> the square brackets come after or inside the normal brackets
L254[10:11:42] <Izaya> you're looking at it wrong
L255[10:11:49] <Frat​ty75> alright turns out its after
L256[10:12:05] <PixelHir> Btw, can you scroll up when using irc in opencomputers?
L257[10:12:14] <The_St​argazer> dont think so
L258[10:12:15] <Izaya> try pgup, but if not, probably not
L259[10:12:17] <The_St​argazer> also: switch to discore
L260[10:12:19] <The_St​argazer> also: switch to discord [Edited]
L261[10:12:27] <Izaya> >encouraging people to use malware
L262[10:12:30] <Izaya> smh
L263[10:12:31] <PixelHir> It's fun to use irc in oc :v
L264[10:12:35] <The_St​argazer> >malware
L265[10:12:39] <Frat​ty75> it would be after because I am calling the table and then choosing a index within that table right
L266[10:12:47] <Izaya> right
L267[10:12:49] <PixelHir> maybe not malware but discord does track you a lot
L268[10:13:02] <Izaya> well, not quite
L269[10:13:05] <Izaya> but
L270[10:13:10] <Izaya> you're calling the function getTankInfo
L271[10:13:14] <Izaya> and it returns a table
L272[10:13:23] <Izaya> then you're pulling a given index out of that table
L273[10:13:48] ⇦ Quits: vifino (~vifino@b2b-78-94-116-114.unitymedia.biz) (Ping timeout: 378 seconds)
L274[10:13:54] <Frat​ty75> These explanations really help out tysm
L275[10:14:03] <Frat​ty75> Im gonna try and experiment with this and implement it now
L276[10:14:19] <PixelHir> wait where is the discord url
L277[10:14:27] <Izaya> /topic
L278[10:14:44] <PixelHir> what are the params for /topic?
L279[10:14:54] <Izaya> if it wants any, /topic #oc
L280[10:15:03] <PixelHir> ty
L281[10:15:04] <Izaya> also, I bet wocchat has support for scrolling up, though I've never used it
L282[10:15:28] <Pixe​lHir> ok im here
L283[10:18:10] <Inari> I hate how annoying it is to limit a programs access to its own folder
L284[10:18:25] <Inari> (in Windows, not oc)
L285[10:18:52] <Inari> asie: Create is a good mod with a bad name
L286[10:18:58] <Izaya> run it as a different user and revoke its permissions to do anything else
L287[10:19:21] <Inari> Izaya: Yes, but that means for each program I have to make a user, then do a lot of annoying permission setting
L288[10:20:59] ⇨ Joins: vifino (~vifino@b2b-78-94-116-114.unitymedia.biz)
L289[10:25:02] <asie> Inari: told you? it's like Charset 2
L290[10:25:15] <Inari> asie: Yeah,but impossible to google
L291[10:25:35] <Inari> Create... oh wait... Create minecraft mod, wait...
L292[10:25:35] ⇦ Quits: PixelHir (~pixelhir@102.203.242.35.bc.googleusercontent.com) (Quit: PixelHir)
L293[10:25:39] <Inari> Create modpack... damn
L294[10:26:38] <The_St​argazer> Inari: The mod is actually the first result for "Create minecraft mod"
L295[10:26:39] <Inari> At least curseforge allows ifnding modpacks I guess
L296[10:30:04] <Inari> Hm this "Better Than Minecolonies Getting Started" pack doesn't sound bad
L297[10:38:06] <Frat​ty75> http://tinyurl.com/ufrlasr
L298[10:38:08] <Frat​ty75> AH finally
L299[10:39:43] <Frat​ty75> would you guys recommend using `repeat-until` or `while` if I want to make the generator run when a certain value is reached
L300[10:39:52] <The_St​argazer> both work
L301[10:50:46] <Pixe​lHir> would it be possible to use tablet to access component of another computer?
L302[10:52:45] <Forec​aster> if you use or create a way to do so via a network sure
L303[10:53:22] <Pixe​lHir> hmm i could but how can i expose the components connected to my computer?
L304[10:53:43] <Pixe​lHir> would i need to create something like a remote shell?
L305[10:53:48] <Pixe​lHir> that executes stuff on the computer?
L306[10:54:40] <Forec​aster> just write a network proxy for the component calls
L307[10:56:29] <Izaya> this may interest you https://github.com/ShadowKatStudios/OC-Minitel/tree/master/RPC/OpenOS
L308[10:56:43] <Izaya> you can export components over RPC then import them on another machine
L309[11:03:04] ⇦ Quits: flap (~flappy@88-113-149-197.elisa-laajakaista.fi) (Ping timeout: 190 seconds)
L310[11:32:56] <Inari> Maybe I'll try this VAlhelsia pack though
L311[11:34:42] <Forec​aster> %tonkout
L312[11:34:42] <MichiBot> Dagnammit! Forec​aster! You beat ThePi​Guy24's previous record of 6 hours, 26 minutes and 40 seconds (By 31 minutes and 56 seconds)! I hope you're happy!
L313[11:34:43] <MichiBot> Forec​aster has stolen the tonkout! Tonk has been reset! They gained 0.006 tonk points! plus 0.005 bonus points for consecutive hours! (Reduced to 50% because stealing) Current score: 0.56508. Position #1
L314[12:11:33] <Lizzy> %tonk
L315[12:11:34] <MichiBot> Gadsbudlikins! Li​zzy! You beat Forec​aster's previous record of <0 (By 36 minutes and 52 seconds)! I hope you're happy!
L316[12:11:35] <MichiBot> Lizzy's new record is 36 minutes and 52 seconds! Lizzy also gained 0.00061 tonk points for stealing the tonk. Position #21. Need 0.00019 more points to pass Sap​hire!
L317[12:11:46] <Lizzy> wai... oh
L318[12:11:55] <Lizzy> record was on my other nick
L319[12:12:18] <Lizzy> @forecaster was there a way to link scores?
L320[12:12:31] <Forec​aster> yes
L321[12:12:35] <Forec​aster> tonkmerge
L322[12:12:44] <Lizzy> %tonkmerge Lizzy Lizzian
L323[12:12:44] <MichiBot> Merge successful! Lizzian: 530.9400000000002 + Lizzy: 0.61 => Lizzy: 531.5500000000002
L324[12:12:59] <Lizzy> awesome
L325[12:13:21] <Forec​aster> it's not linking, but still
L326[12:14:00] <Lizzy> well, looking at the tonk page it added "lizzian"'s points to Lizzy then removed the Lizzian entry
L327[12:14:05] <Lizzy> which works for me
L328[12:14:13] <Forec​aster> yes, hence merge
L329[12:15:39] <Pixe​lHir> Can you charge tablets with enderio's wireless charger?
L330[12:15:48] <Forec​aster> no idea
L331[12:16:20] <Pixe​lHir> time to check
L332[12:16:34] <Pixe​lHir> also how can i check tablet's battery level?
L333[12:16:44] <Pixe​lHir> the durability bar seems to be responsible for something else
L334[12:16:47] <Forec​aster> computer.energy
L335[12:16:56] <Pixe​lHir> thanks
L336[12:17:59] <B​ob> @Fratty75 `repeat until` runs the body once in all cases while the `while do` loop checks the condition frist and may not run the loop at all in some cases
L337[12:26:57] <Pixe​lHir> @Forecaster also can you get max energy?
L338[12:27:14] <Forec​aster> ~oc computer
L339[12:27:14] <ocdoc> http://ocd.cil.li/api:computer
L340[12:27:37] <Pixe​lHir> thanks
L341[12:39:02] <Pixe​lHir> How do you run a rc script in background? thread.create won't let me use the shell
L342[12:39:07] <Pixe​lHir> and i want to check for something in bg
L343[12:39:34] <Amanda> %choose joystick or mushroom
L344[12:39:34] <MichiBot> Ama​nda: If I've learned anything in life it's that you always pick "mushroom"
L345[13:05:30] <Forec​aster> %sip
L346[13:05:31] <MichiBot> You drink a fragrant black potion (New!). As Forec​aster drinks the potion they become the target of a wad of llama spit! They fail to evade it with a 2 vs DC 12 and takes 1d​4 => 2 damage.
L347[13:05:45] <Forec​aster> ow D:
L348[13:14:52] <Elfi> %quaff mutable potion
L349[13:14:53] <MichiBot> You drink a mutable dilithium potion (New!). Elfi turns into a turtle until they exit the room.
L350[13:15:15] * Elfi ... staaarts walking
L351[13:16:54] <Frat​ty75> @Bob I wanted to make it that when a redstone signal (connected to a tank) is larger than 10 the generator and excavator turn on until the tank only outputs a signal strength of 1. I tried creating this with `repeat until` but couldn't get the generator and excavator to turn back off after the tank was depleted to that level.
L352[13:17:22] <B​ob> you maybe want to do actions after the loop is done
L353[13:19:45] <Forec​aster> that's an unfortunate combination Elfi xD
L354[13:20:18] <Forec​aster> %splash Elfi with antidote
L355[13:20:19] <MichiBot> You splash Elfi with some antidote. Elfi reverts to their original state before drinking any potions.
L356[13:20:36] * Elfi squeaks
L357[13:20:54] <ThePi​Guy24> %tonk
L358[13:20:55] <MichiBot> Dogast! ThePi​Guy24! You beat Li​zzy's previous record of 36 minutes and 52 seconds (By 32 minutes and 28 seconds)! I hope you're happy!
L359[13:20:56] <MichiBot> ThePiGuy24's new record is 1 hour, 9 minutes and 20 seconds! ThePiGuy24 also gained 0.00054 tonk points for stealing the tonk. Position #6. Need 0.03272 more points to pass Ocawes​ome101!
L360[13:21:13] <Elfi> At least nobody was putting me away from the door
L361[13:21:20] <Elfi> %quaff
L362[13:21:20] <MichiBot> You drink a molten violet potion (New!). Elfi's skin turn the color of metal until Sozin's Comet returns.
L363[13:21:46] <Elfi> [Metal cap theme intensifies]
L364[13:25:50] <Forec​aster> %slurp
L365[13:25:51] <MichiBot> You drink a resonating quicksilver potion (New!). A tiny genie appears, gives Forec​aster a thumbs up, and poofs away.
L366[13:52:42] <Frat​ty75> Is it possible to set up a virtual button on the screen when sneak+right clicked does calls a function?
L367[13:52:51] <Frat​ty75> Is it possible to set up a virtual button on the screen when sneak+right clicked calls a function? [Edited]
L368[13:55:13] ⇨ Joins: TheMas3212 (~TheMas321@208.98.208.203.cable.dyn.gex.ncable.com.au)
L369[13:55:17] <Amanda> Yes, that'll trigger a mouse event where the user touched the screen
L370[13:55:27] <Amanda> ~w mouse
L371[13:55:27] <ocdoc> Predicted http://ocd.cil.li/component:modem
L372[13:55:31] <Amanda> ... no
L373[13:55:54] <TheMas3212> question, is it possible to change the architecture of a cpu programatically?
L374[13:56:59] <M​GR> Not that I'm aware of
L375[13:57:13] <M​GR> Unless you mean having a robot take the CPU out and right click it
L376[14:00:28] <Kristo​pher38> I wonder if that would work
L377[14:00:38] <M​GR> I think it might
L378[14:01:10] <Kristo​pher38> I'll check it out this evening
L379[14:01:44] <Frat​ty75> Amanda how do I set up a mouse event
L380[14:02:54] <M​GR> You have to use event.listen or event.pull to get the event
L381[14:04:40] <Frat​ty75> Which is best applicable
L382[14:05:14] <M​GR> event.listen is best for working in the background, and event.pull halts program execution until it receives an appropriate event
L383[14:05:18] <M​GR> I don't know which you need
L384[14:07:35] <Amanda> which you need depends on the structure of the rest of your program
L385[14:07:51] <Frat​ty75> I think im gonna need event.listen
L386[14:08:11] <Frat​ty75> because Im running a monitor program to check values of other machines at the same time
L387[14:08:14] <Frat​ty75> and display them
L388[14:08:54] <Frat​ty75> so event.listen is exactly what I need
L389[14:09:17] <Frat​ty75> What is the event for mouse? is it `touch`
L390[14:09:20] <B​ob> yes
L391[14:09:23] <Frat​ty75> What is the event for mouse click? is it `touch` [Edited]
L392[14:09:48] <Frat​ty75> How do I define a location in reference to x,y for the `touch`
L393[14:10:17] <Frat​ty75> or is that even possible
L394[14:10:43] <B​ob> do you know how events works ? and how do you process the event arguments ?
L395[14:11:42] <Frat​ty75> so far from what I read on the PIL, once the event is triggered I can get it to call a function?
L396[14:11:50] <Frat​ty75> I think 😅
L397[14:12:07] <ThePi​Guy24> -ocdoc event
L398[14:12:11] <B​ob> PIL is not OC
L399[14:12:13] <B​ob> bruh
L400[14:12:38] <B​ob> PIL is the official Lua book, not linked to OC in any way, read the OC wiki for OC stuff
L401[14:12:51] <ThePi​Guy24> https://ocdoc.cil.li/api:event
L402[14:13:42] <B​ob> http://tinyurl.com/syvplso
L403[14:14:26] <Frat​ty75> ahhh
L404[14:14:54] <B​ob> PIL won't help with OC, only with Lua
L405[14:16:45] <Frat​ty75> Alright so if I wanted to run the function `gen.setEnabled(true)` when I press touch the screen I would make it `event.listen(touch,gen.setEnabled(true))
L406[14:16:49] <Frat​ty75> Alright so if I wanted to run the function `gen.setEnabled(true)` when I press touch the screen I would make it `event.listen(touch,gen.setEnabled(true))` [Edited]
L407[14:16:59] <ThePi​Guy24> no
L408[14:17:09] <Frat​ty75> 😩
L409[14:17:29] <Frat​ty75> Alright so if I wanted to call the function `gen.setEnabled(true)` when I press touch the screen I would make it `event.listen(touch,gen.setEnabled(true))` [Edited]
L410[14:18:02] <Izaya> unless gen.setEnabled(true) returns a function, no
L411[14:18:57] <ThePi​Guy24> Code Block pastebined https://paste.pc-logix.com/atumoyedaz
L412[14:18:58] <ThePi​Guy24> this would start the generator whenever someone clicks on the screen
L413[14:19:59] <ThePi​Guy24> but you would most likely need to do some stuff to compare the x/y coordinates returned by touch so that you can detect where is being pressed
L414[14:20:30] ⇨ Joins: ben_mkiv (~ben_mkiv@i5E86B709.versanet.de)
L415[14:21:12] <Frat​ty75> Ohhh ok I get that
L416[14:21:28] <Frat​ty75> how can I compare the x/y coords
L417[14:21:39] <Frat​ty75> could an `if` work?
L418[14:23:21] <Amanda> if x > left and y > top and x < right and y < bottom then
L419[14:26:39] <Amanda> wut http://appft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF&d=PG01&p=1&u=%2Fnetahtml%2FPTO%2Fsrchnum.html&r=1&f=G&l=50&s1=%2220200089658%22.PGNR.&OS=DN/20200089658&RS=DN/20200089658
L420[14:29:58] <Frat​ty75> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/wegiheriwa
L421[14:30:23] <Frat​ty75> what goes in the (...) @ThePiGuy24
L422[14:30:28] <B​ob> that condition looks horible but somewhat yeah
L423[14:30:30] <B​ob> and nothing
L424[14:30:34] <B​ob> ... captures the varargs
L425[14:30:40] <Frat​ty75> oh
L426[14:30:49] <B​ob> also if you won't reuse that function, you can directly pump it in the event listener
L427[14:31:05] <Frat​ty75> Im just gonna act like I know what varargs are 😅
L428[14:31:15] <Frat​ty75> Im gonna put the function in a `while true do`
L429[14:31:27] <B​ob> you will stall the computer that way
L430[14:31:34] <Frat​ty75> cuz I want it running with the monitor program where I can also manually turn off or start the generator
L431[14:31:38] <B​ob> and on each touch add another loo
L432[14:31:48] <Frat​ty75> oh what
L433[14:31:53] <Frat​ty75> why would it do that
L434[14:32:15] <Amanda> ... Why did you do newline-seperated "``" blocks? A single ```\n<code>\n``` block would have looked better and been forwareded properly
L435[14:32:16] <B​ob> Your computer doesn't have threads, if some code runs, other code won't run
L436[14:32:46] <B​ob> yeah for multilines use \`\`\`lua\`\`\`
L437[14:33:10] <Frat​ty75> it wont be a seperate program Im gonna have it in the same file
L438[14:33:23] <B​ob> doesn't matter
L439[14:33:26] <Frat​ty75> would that not work?
L440[14:33:48] <B​ob> you would again stall the computer with an non sleeping infinite loop
L441[14:33:53] <Frat​ty75> Amanda I didnt know I could use \n<>\n
L442[14:34:15] <Frat​ty75> I have an os.sleep at the end of the loop
L443[14:34:18] <Amanda> \n is just shorthand for a newline
L444[14:34:44] <Frat​ty75> the one you told me bob, `os.sleep(0)` is at the end of the loop
L445[14:35:07] <Frat​ty75> ahh
L446[14:35:40] <B​ob> you sleep for less than a tick
L447[14:35:51] <Frat​ty75> will that still cause a stall?
L448[14:35:55] <B​ob> and if your loop never exists, every touch you're going to get a new one
L449[14:36:06] <B​ob> event.listen executes the function each time the event triggers
L450[14:36:19] <B​ob> you'll end up with 50 while loops that will stall the system out and even maybe fill memory after a while
L451[14:36:37] <Frat​ty75> How do I overcome that
L452[14:37:15] <Frat​ty75> I just wanna make a button that once `touched` will turn the generator on and another button to do vice versa 😩
L453[14:39:01] <B​ob> i doubt event listen is apropriate for that
L454[14:39:20] <B​ob> i'd use OOP and on event listen, check the colision against all the buttons and if so execute thir functions
L455[14:39:28] <B​ob> its what i used in my programs so far
L456[14:39:36] <B​ob> event.pull is totally fine
L457[14:39:43] <Frat​ty75> Not an actual button, a virtual one on the screen
L458[14:39:43] <B​ob> after yo executed all your code instead of sleeping use pull
L459[14:39:47] <B​ob> yes
L460[14:40:07] <Frat​ty75> but wont that stop my monitors from refreshing
L461[14:40:13] <Ocawes​ome101> No
L462[14:40:41] <Frat​ty75> i thought event.pull halts until the event is triggered
L463[14:40:42] <Ocawes​ome101> Not if you do it right
L464[14:40:50] <B​ob> https://cdn.discordapp.com/attachments/480814000775364610/672866197049442314/unknown.png
L465[14:40:54] <Ocawes​ome101> event.listen does not
L466[14:40:56] <B​ob> event.pull(timeout)
L467[14:41:04] <Ocawes​ome101> ^^
L468[14:41:11] <B​ob> just use the timeout function
L469[14:41:16] <Frat​ty75> Holy shit @Bob how do you even make that
L470[14:41:21] <Ocawes​ome101> Where timeout is a number
L471[14:41:23] <B​ob> with my graphical library
L472[14:41:33] <B​ob> but its trash and ive not bothered to fix it for people
L473[14:42:01] <Frat​ty75> atleast you have a fancy look to it
L474[14:42:07] <Frat​ty75> http://tinyurl.com/uheen2q
L475[14:42:20] <Frat​ty75> how long should I put for the timeout
L476[14:42:48] <B​ob> how frequently you want your stats to update
L477[14:42:57] <B​ob> updating every tick isn't that nescessary
L478[14:43:06] <Frat​ty75> 1-2 seconds should be fine
L479[14:43:12] <B​ob> i can link my github OC repo but my code there is fucking trash
L480[14:43:22] <B​ob> cause it was a year ago when i wasn't knowing Lua inside out
L481[14:44:52] <B​ob> especially the GUI lib can get a big refresh
L482[14:45:35] <Frat​ty75> oh thats sick but Ill just use it to get a better understanding of how to write programs in OC cuz I dont think it would be compatible with IE
L483[14:45:49] <B​ob> why wouldn't it be compatible with IE
L484[14:45:52] <B​ob> that doesn't make sense
L485[14:46:16] <Frat​ty75> cuz all the functions and calls would be different
L486[14:46:19] <Frat​ty75> wouldnt they
L487[14:46:29] <Frat​ty75> sorry correct me if I am wrong 😅
L488[14:46:38] <B​ob> why would using other code magically make all components methods obfuscated ????
L489[14:46:47] <B​ob> Stuff is consistent, it won't magically vanish
L490[14:47:00] <B​ob> yeah, you will have to change your code but the rest will work the same way
L491[14:47:11] <B​ob> actually lemme rework my GUI library
L492[14:47:14] <B​ob> add explanations
L493[14:47:15] <B​ob> adn link it
L494[14:48:36] <Frat​ty75> Oh my that would be amazing
L495[14:48:37] <Frat​ty75> tysm
L496[14:49:04] <Izaya> I feel like now would be a bad time to mention KOS NEO
L497[14:49:17] <Frat​ty75> http://tinyurl.com/wkpyujv
L498[14:49:20] <Frat​ty75> how wrong is this
L499[14:49:27] <Frat​ty75> Izaya what is KOS NEO
L500[14:50:59] <B​ob> you don't have an end
L501[14:51:05] <B​ob> no function parenthesis at its definitions
L502[14:51:16] <B​ob> the syntax with the condition of the if on the new line is horrible
L503[14:51:22] <B​ob> the parenthesis are redundant
L504[14:51:24] <B​ob> and thats all
L505[14:51:46] <Frat​ty75> Oh 😅
L506[14:53:20] <Inari> Since we all use dark themes now
L507[14:53:26] <Inari> Should'nt it be called a darkspace instead of a whitespace?
L508[14:53:51] <B​ob> You're not wrong 🤔
L509[14:54:18] <Frat​ty75> Also wdym it doesnt have an end? does it not apply because its not on the same line as the if
L510[14:55:15] <Frat​ty75> that ^ is in `while true do` and there is an `end` at the very bottom but its not in the picture, I just realized 😅
L511[15:00:29] <Frat​ty75> http://tinyurl.com/v7gpumr
L512[15:00:39] <Frat​ty75> also would this work to make a spot for the button
L513[15:00:42] <Frat​ty75> the top section
L514[15:02:14] <B​ob> please fix the intendation and your function still wont work
L515[15:02:22] <B​ob> cause youre missing an end to it and its arguments
L516[15:02:29] <DaCompu​terNerd> function needs an end too
L517[15:02:40] <Frat​ty75> ohhhh
L518[15:03:12] <Frat​ty75> How do i fix the intendation I thought I just had to bring the `end` and `then` back
L519[15:03:35] <B​ob> that just makes it worse
L520[15:03:55] <B​ob> http://tinyurl.com/sxthsk4
L521[15:04:00] <Frat​ty75> Im sorry it must be really painful to look at that
L522[15:04:03] <B​ob> indentations are to highlight scopes and make code more visible
L523[15:04:05] <B​ob> i mean its ok
L524[15:04:14] <Frat​ty75> not that^ the one before
L525[15:05:25] <Frat​ty75> http://tinyurl.com/v4wet97
L526[15:05:27] <Frat​ty75> is this a possibility
L527[15:06:27] <B​ob> this is how it should be
L528[15:06:31] <B​ob> and () aren't very usefull
L529[15:06:37] <Inari> You don't really need the (), yeah
L530[15:06:41] <B​ob> also your function is still missing the argument parenthesis
L531[15:06:47] <Inari> Well
L532[15:06:50] <Inari> The () in the if :P
L533[15:07:23] <Frat​ty75> oh shit
L534[15:07:43] <Inari> Did anyone ever made a lower level computer mod?
L535[15:07:47] <Inari> *ever make
L536[15:07:53] <Inari> Something like Circuity was meaning to be
L537[15:07:59] <B​ob> TIS3D 👀
L538[15:08:12] <Frat​ty75> where do the argument parenthesis go
L539[15:08:15] <Frat​ty75> 😅
L540[15:08:23] <Inari> TIs lacks an upgrade path, so I don't really consider it as such
L541[15:08:29] <DaCompu​terNerd> on genStart
L542[15:08:31] <Izaya> Eloraam made a neat one
L543[15:08:46] <Inari> I mean a modern one
L544[15:08:47] <Inari> D:
L545[15:08:55] <Inari> Also
L546[15:09:02] <Inari> How do I fix this stupid block break/place lag on 1.14.4
L547[15:09:49] <Frat​ty75> http://tinyurl.com/wafu9yt
L548[15:09:58] <Frat​ty75> @DaComputerNerd like that?
L549[15:10:18] <Frat​ty75> 😬
L550[15:11:52] <Inari> xD
L551[15:12:22] <B​ob> this is worse, this will literally break the computer
L552[15:12:29] <Inari> https://www.lua.org/pil/6.html
L553[15:12:30] <B​ob> or no wait
L554[15:12:34] <Inari> " function eraseTerminal ()"
L555[15:12:34] <B​ob> it just makes no fucking sense
L556[15:12:42] <B​ob> http://tinyurl.com/t9jtb7m
L557[15:12:51] <B​ob> why
L558[15:12:56] <B​ob> thats not how pull works
L559[15:13:03] <DaCompu​terNerd> genStart()
L560[15:13:18] <Frat​ty75> man I am so sorry this must be very frustrating for you guys
L561[15:13:20] <DaCompu​terNerd> like with all the functions you're calling like setEnabled and pull
L562[15:13:23] <DaCompu​terNerd> next to
L563[15:13:43] <B​ob> the rules never change
L564[15:13:46] <B​ob> its always the same stuff
L565[15:13:51] <Frat​ty75> ohhhh
L566[15:14:00] <Frat​ty75> how does `pull` work
L567[15:14:19] <B​ob> `pull([timeout],filters...)`
L568[15:14:22] <DaCompu​terNerd> it waits for the event to happen
L569[15:14:28] <DaCompu​terNerd> the script pauses until it does
L570[15:14:35] <B​ob> until the timeout expires or all the filter conditions are met
L571[15:14:40] <B​ob> and you literally pump a function as a condition
L572[15:14:46] <B​ob> which never would make any sense
L573[15:15:24] <Frat​ty75> oh the timeout has to be in square brackets
L574[15:15:28] <B​ob> https://github.com/big-lip-bob/OCMessesAndBadCode/blob/master/Libraries/bobs_new_graph.lua
L575[15:15:28] <B​ob> btw my reworked graphical library
L576[15:15:29] <B​ob> no
L577[15:15:31] <B​ob> thats pseudo code
L578[15:15:39] <B​ob> [] means an argument is optional
L579[15:15:50] <B​ob> or <> whatever, thats pseudo code to show the synax
L580[15:15:55] <B​ob> syntax* of the function
L581[15:16:17] <DaCompu​terNerd> arguments just go in the parentheses on their own
L582[15:16:36] <DaCompu​terNerd> the problem here is not things they're in, but what arguments you are using
L583[15:16:43] <B​ob> ^
L584[15:17:28] <Frat​ty75> What arguments should I be using. Like as in is `genStart` wrong there
L585[15:17:31] <DaCompu​terNerd> yes
L586[15:18:08] <DaCompu​terNerd> what is it you actually want that to do
L587[15:18:16] <Frat​ty75> but it was correct for event.listen so I assumed it would be correct ,sorry
L588[15:18:19] <B​ob> you need to define the arguments
L589[15:18:29] <B​ob> it can't be correct
L590[15:18:36] <DaCompu​terNerd> yea, pull does a different thing so it takes different arguments
L591[15:18:38] <B​ob> if you're missing argument parenthesis then its wrong
L592[15:18:47] <Frat​ty75> I want to make a virtual button when touched that calls `gen.setEnabled(true)`
L593[15:18:49] <B​ob> and yeah event pull and event listen are fundamentally different
L594[15:19:08] <B​ob> i have an example of how i handle buttons in my graphical lib
L595[15:19:10] <B​ob> line 112
L596[15:19:20] ⇨ Joins: emily_opencomputer (~emily@92.217.209.35.bc.googleusercontent.com)
L597[15:19:21] <B​ob> you just need to check if your touch is within the buttons bundaries
L598[15:19:35] <B​ob> Code Block pastebined https://paste.pc-logix.com/oyofusulan
L599[15:20:02] ⇦ Quits: emily_opencomputer (~emily@92.217.209.35.bc.googleusercontent.com) (Client Quit)
L600[15:20:04] <B​ob> i have my button list then i pull the event, if its a touch i go down the touch latter and start looping through all my buttons to see if the cursor is inside one of them
L601[15:20:14] <B​ob> if it is then i call the button value
L602[15:20:45] <B​ob> Code Block pastebined https://paste.pc-logix.com/joqocupabo [Edited]
L603[15:21:48] <Frat​ty75> hmm yes I kinda understand whats going on there but only after `if`
L604[15:22:07] <Frat​ty75> why do you have `event,address,x,y,player = event.pull()`
L605[15:22:25] <B​ob> thing a bit of what that does
L606[15:22:32] <B​ob> seeing the arguments and whats down the latter
L607[15:22:42] <B​ob> think a bit of what that does [Edited]
L608[15:22:52] <B​ob> if you don't understand what youre doing its literally pointless
L609[15:24:31] <B​ob> so what could event.pull do and what are x,y defined ?
L610[15:24:50] <Frat​ty75> So I get the event,x and y but where does address and player come into play
L611[15:25:03] <B​ob> i don't use them in this code snippet
L612[15:25:24] <Frat​ty75> event.pull() takes the next event from the que and if it is a touch event
L613[15:25:36] <Frat​ty75> you compare it to the x and y of ur buttons
L614[15:25:43] <Frat​ty75> and if they match you call that button
L615[15:25:44] <Frat​ty75> ?
L616[15:25:47] <B​ob> Yesss
L617[15:25:56] <B​ob> thats what you want too in your program if you want buttons really
L618[15:26:09] <B​ob> buttons are just zones in this case
L619[15:26:13] <B​ob> whats draws is for us the end user
L620[15:26:21] <Frat​ty75> Well yes exactly
L621[15:26:57] <Frat​ty75> but is there no simpler more basic button that I can create
L622[15:27:16] <B​ob> you still need to do the same stuff, get a touch event, compare the x and y then call a method
L623[15:27:25] <B​ob> ¯\(ツ)/¯
L624[15:27:53] <Frat​ty75> alright I am gonna try my best to get this done.
L625[15:28:12] <Frat​ty75> do I have to define
L626[15:28:14] <B​ob> Code Block pastebined https://paste.pc-logix.com/jeviwagike I use this function to draw the button on screen and after return the button data
L627[15:28:26] <Frat​ty75> event,address,x,y,player = event.pull()
L628[15:28:30] <Frat​ty75> before my button
L629[15:28:40] <B​ob> you need to pump the touch x and y so
L630[15:28:46] <DaCompu​terNerd> can't call it event
L631[15:28:55] <DaCompu​terNerd> that would override the event you require()d
L632[15:28:55] <B​ob> if you don't recall after yeah
L633[15:29:00] <B​ob> my bad but its a local
L634[15:29:09] <B​ob> so when the loop loops event is back to being event
L635[15:29:16] <DaCompu​terNerd> ok
L636[15:29:37] <DaCompu​terNerd> that won't cause problems, having the variables named the same?
L637[15:29:49] <B​ob> if you don't reuse event lib after wards no
L638[15:30:23] <DaCompu​terNerd> interesting
L639[15:30:26] <B​ob> Code Block pastebined https://paste.pc-logix.com/denisocufu
L640[15:30:42] <DaCompu​terNerd> `end`
L641[15:30:46] <B​ob> yeah i know
L642[15:30:49] <B​ob> its an example
L643[15:30:55] <B​ob> you need to handle the even in the if body
L644[15:30:58] <Frat​ty75> Im just really confused as to where I need to start
L645[15:31:04] <B​ob> since i also have keyboard events and others
L646[15:31:22] <B​ob> i could use pullMultiple
L647[15:31:25] <B​ob> but i would still need ifs
L648[15:31:28] <DaCompu​terNerd> you could also do `event.pull("touch")` right or am i getting mixed up
L649[15:31:31] <B​ob> yes
L650[15:31:38] <B​ob> but you won't be able to process any other event
L651[15:31:49] <DaCompu​terNerd> fair enough
L652[15:32:00] <Frat​ty75> `event.pull("touch")`
L653[15:32:10] <Frat​ty75> thats the only event I want to process
L654[15:32:15] <B​ob> then you know what arguments you need
L655[15:32:26] <Frat​ty75> x and y
L656[15:32:31] <Frat​ty75> ?
L657[15:33:01] <B​ob> the touch event returns the following info `local touch,screen_address,x,y,button,player = event.pull("touch")`
L658[15:33:13] <B​ob> thats something you check with the Wiki / OpenOS Lua REPL
L659[15:33:45] <Frat​ty75> yes but in this situation I would only be interested in x and y
L660[15:33:54] <Frat​ty75> so I can leave other arguments as `_`
L661[15:33:55] <Frat​ty75> ?
L662[15:33:59] <Frat​ty75> correct me if im wrong
L663[15:34:17] <B​ob> _ is just another name for a variable
L664[15:34:23] <Saphire> So uh
L665[15:34:23] <B​ob> you can name it whatever you want
L666[15:34:31] <Saphire> Are there any working curseforge modpack downloaders?
L667[15:34:39] <B​ob> twitch launcher 👁️
L668[15:34:58] <DaCompu​terNerd> and multimc though you have to download the zip yourself for that
L669[15:35:18] <Saphire> Since what version of multimc does it work?
L670[15:35:21] <Izaya> curse makes sure there aren't
L671[15:35:22] <B​ob> so it isn't a downloader ?
L672[15:35:43] <Izaya> when are we fucking off curse
L673[15:36:28] <Michiyo> when they stop giving me money for hosting my mods there :P
L674[15:36:40] <Izaya> shit, I can't compete with bribery
L675[15:37:01] ⇨ Joins: emilyopen (~emilyopen@92.217.209.35.bc.googleusercontent.com)
L676[15:38:57] <Saphire> Izaya: not unless you do bribery yourself
L677[15:40:34] <Saphire> Also woo, multimc works so nicely
L678[15:41:21] ⇦ Quits: emilyopen (~emilyopen@92.217.209.35.bc.googleusercontent.com) (Remote host closed the connection)
L679[15:44:46] <ThePi​Guy24> Izaya: outbribe curse
L680[15:45:14] ⇨ Joins: Ocawesome101 (~manjaro-u@38.65.249.137)
L681[15:46:11] ⇨ Joins: Thutmose (~Patrick@host-69-59-79-181.nctv.com)
L682[15:47:18] <Ocawesome101> %tonk
L683[15:47:18] <MichiBot> By my throth! Ocawes​ome101! You beat ThePi​Guy24's previous record of 1 hour, 9 minutes and 20 seconds (By 1 hour, 17 minutes and 3 seconds)! I hope you're happy!
L684[15:47:19] <MichiBot> Ocawesome101's new record is 2 hours, 26 minutes and 23 seconds! Ocawesome101 also gained 0.00256 (0.00128 x 2) tonk points for stealing the tonk. Position #5. Need 0.23211 more points to pass simo​n816!
L685[15:47:39] <Ocawesome101> yeet
L686[15:56:38] <Ocawesome101> sweet, ocemu works with lua 5.3
L687[16:18:42] <Vexatos> hah https://knome.org/
L688[16:20:40] <Ocawesome101> lmao nice
L689[16:21:43] <Vexatos> payonel, when can we expect knome in OpenOS?
L690[16:22:36] <Izaya> brb porting knome to PsychOS
L691[16:39:59] <Frat​ty75> after countless failed attempts
L692[16:40:03] <Frat​ty75> Im back here
L693[16:40:30] <Frat​ty75> Can anyone guide me through making a simple on screen button
L694[16:40:44] <Izaya> step 1
L695[16:40:46] <Izaya> draw button
L696[16:40:48] <Izaya> step 2
L697[16:40:54] <Izaya> wait for touch events inside the button
L698[16:42:02] <Ocawesome101> step 3
L699[16:42:05] <Ocawesome101> act on events
L700[16:43:06] <B​ob> @Fratty75 literally what i said lol its the same scheme always
L701[16:43:20] <B​ob> draw a button, react to the touch event, see if its inside, execute
L702[16:45:27] <Frat​ty75> http://tinyurl.com/r8plnxm
L703[16:45:29] <Frat​ty75> ok is this step 1 complete?
L704[16:45:41] <Frat​ty75> ignore the first `,`
L705[16:45:54] <Frat​ty75> wait that is so wrong
L706[16:46:17] <Frat​ty75> http://tinyurl.com/thx65t8
L707[16:46:58] <Frat​ty75> Alright step 1 is correct? @Bob, Izaya, Ocawesome
L708[16:47:09] <Izaya> is it?
L709[16:47:14] <Izaya> does it produce the desired output?
L710[16:47:17] <Izaya> I don't know what you want >.>
L711[16:47:33] <Frat​ty75> I just want a 5x5 button which starts on 70,20
L712[16:48:02] <Frat​ty75> which appears red for the user
L713[16:49:25] <Izaya> well?
L714[16:49:47] <B​ob> you kinda got a red box
L715[16:49:51] <Frat​ty75> I am about to run it, launching game
L716[16:49:57] <B​ob> ocemu
L717[16:49:58] <B​ob> us it
L718[16:50:01] <B​ob> use* it
L719[16:50:07] <Frat​ty75> whats that
L720[16:50:14] <Izaya> ocvm stronk
L721[16:50:46] <B​ob> an OpenComputers Emulator
L722[16:50:50] <B​ob> to not launch the warcrime that is MC
L723[16:50:51] <Frat​ty75> Oh its a OC emu
L724[16:50:57] <Frat​ty75> ahahaha
L725[16:51:08] <Frat​ty75> Ill download it now but my game is up anyways
L726[16:57:38] <Frat​ty75> Ok yes
L727[16:57:40] <Frat​ty75> it works
L728[16:57:52] <Frat​ty75> I have some odd looking red rectangle in the center
L729[16:58:05] <B​ob> well thats your button
L730[16:58:07] <Frat​ty75> now how do I do step 2
L731[16:58:16] <Ocawesome101> ```
L732[16:58:19] <Ocawesome101> oops
L733[16:58:31] <Ocawesome101> this\nisatest
L734[16:58:38] * Ocawesome101 grumbles
L735[16:58:39] <Sagh​etti> nope
L736[16:58:39] <Frat​ty75> please explain it like ur speaking to an absolute retard cuz at this point I wouldnt be suprised if I was
L737[16:59:26] <Ocawesome101> Saghetti: do you have an IRC client open?
L738[16:59:55] <Sagh​etti> 1 sec
L739[17:00:02] <Sagh​etti> was literally just opening it
L740[17:00:39] ⇨ Joins: Saghetti (~waltermin@c-67-164-116-220.hsd1.ca.comcast.net)
L741[17:00:49] <Saghetti> a
L742[17:00:49] <Saghetti> b
L743[17:00:50] <Saghetti> c
L744[17:00:52] <Ocawesome101> :P
L745[17:00:53] <Saghetti> oh cool
L746[17:00:59] <Saghetti> it sends multiple messages
L747[17:01:16] <Saghetti> that's one way of doing newlines
L748[17:01:32] <Ocawesome101> my internet flipped out for a secont
L749[17:01:41] <Ocawesome101> we're talking 6000-7000ms pings
L750[17:02:06] <Izaya> why would you be allowed to put newlines in messages
L751[17:02:09] <Izaya> that's dumb and bad
L752[17:02:24] <Saghetti> pidgin just
L753[17:02:25] <Saghetti> makes it
L754[17:02:25] <Saghetti> multiple messages
L755[17:02:41] <Izaya> yup
L756[17:02:47] <Izaya> because each line is a line
L757[17:02:50] <Izaya> who woulda thought
L758[17:04:01] <Frat​ty75> izaya could you please help with step 2, I have done drawing the "button"
L759[17:04:11] <Izaya> ~w signals
L760[17:04:11] <ocdoc> http://ocd.cil.li/component:signals
L761[17:04:28] <Izaya> basically just repeatedly pull touch events until you get one in the specified area, then do whatever if it is
L762[17:21:17] <Frat​ty75> wait
L763[17:21:19] <Frat​ty75> holy shit
L764[17:21:31] <Frat​ty75> I think I did something
L765[17:22:19] <Frat​ty75> http://tinyurl.com/t25kp2b
L766[17:22:38] <Frat​ty75> When I hit the red box it prints "yes" into 20,25
L767[17:22:56] <Forec​aster> 👍
L768[17:22:58] <Frat​ty75> does this mean I can only have
L769[17:23:01] <Frat​ty75> 1 button tho?
L770[17:23:03] <Lizzy> %tonk
L771[17:23:04] <MichiBot> I'm sorry Lizzy, you were not able to beat Ocawesome101's record of 2 hours, 26 minutes and 23 seconds this time. 1 hour, 35 minutes and 45 seconds were wasted! Missed by 50 minutes and 38 seconds!
L772[17:23:06] <Forec​aster> no
L773[17:23:09] <Lizzy> aw
L774[17:23:15] <Forec​aster> just add another if statement
L775[17:23:26] <Ocawesome101> Lizzy: hahahahahaha
L776[17:23:32] <Frat​ty75> oh yeah
L777[17:23:33] <Frat​ty75> omg
L778[17:23:46] <Lizzy> it's not that funy
L779[17:23:53] <Lizzy> s/un/unn
L780[17:23:54] <MichiBot> <Lizzy> it's not that funny
L781[17:24:02] <Frat​ty75> It was so simple all along
L782[17:24:08] <Izaya> s/un/unn/
L783[17:24:09] <MichiBot> <Lizzy> it's not that funnny
L784[17:24:40] <Sagh​etti> am i muted?
L785[17:24:42] <Sagh​etti> oh
L786[17:24:43] <Izaya> my rack shelf arrived today
L787[17:24:56] <Frat​ty75> @Forecaster why do people make such complex button functions when they could just do this
L788[17:25:06] <Forec​aster> who does?
L789[17:25:10] <Inari> Izaya: Didn't know you needed a shelf for yours
L790[17:25:26] <Izaya> well it's just so big
L791[17:25:34] <Izaya> not having a shelf would be poor use of space
L792[17:25:42] <Inari> Makes sense
L793[17:26:07] <Frat​ty75> Well anyone I asked for the past few hours had directed me to these really complex methods or I guess I was too ignorant to understand
L794[17:26:40] <Michiyo> because wit ha function, if you want to change everything you change one function.
L795[17:26:46] <Michiyo> with 400 ifs you change EACH if.
L796[17:27:04] <Frat​ty75> Ahh makes sense
L797[17:27:07] <Frat​ty75> one thing do
L798[17:27:17] <Michiyo> if you have code that you use 10 times, make it a function
L799[17:27:19] <Izaya> a more complex initial solution often saves complexity later
L800[17:27:31] <Izaya> or work
L801[17:27:35] <Izaya> both are good to have less of
L802[17:27:42] <Michiyo> ^
L803[17:27:45] <Inari> Just write a tool that writes the 400 ifs for you
L804[17:27:46] <Inari> :D
L805[17:27:46] <Frat​ty75> how do I overcome the fact that it halts the program again
L806[17:27:54] <Frat​ty75> just place 1 right
L807[17:28:12] <Frat​ty75> `event.pull(1,"touch")`
L808[17:28:15] <Michiyo> Let's say the next version of OC changes how touch events work. with your ifs you now get to update each one. with a function change it once and done
L809[17:28:27] <Michiyo> Also, event.listen is your friend :P
L810[17:28:47] <Michiyo> .listen calls a function with the event you subscribe.
L811[17:29:02] <Michiyo> just remember to .cancel (or whatever it is) on program exit. Otherwise you end up with duplicates
L812[17:29:07] <Michiyo> (A reboot also clears them)
L813[17:29:23] <Frat​ty75> yeah thats what I was told, it would eventually cause a halt
L814[17:29:27] <Ocawesome101> lunatic86 seems to not clear its key listeners on exit
L815[17:29:35] <Ocawesome101> so you get duplicate key events
L816[17:29:37] <Ocawesome101> which is fun
L817[17:29:54] <Frat​ty75> what does `os.sleep` do exactly
L818[17:29:55] <Ocawesome101> when you're trying to use FreeDOS :P
L819[17:30:03] <Forec​aster> os.sleep calls event pull
L820[17:30:19] <Forec​aster> you only need os.sleep if you aren't calling event pull
L821[17:30:46] <Saghetti> i might make a tiny dos/unix-like single user os
L822[17:30:49] <Saghetti> how about
L823[17:30:50] <Saghetti> NanOS?
L824[17:30:58] <Izaya> [Skye wants to know your location]
L825[17:31:12] <Saghetti> ohno
L826[17:31:47] <Frat​ty75> @Forecaster wdym by that exactly. and one more thing if I dont want my program to halt I just put `event.pull(1,"touch")` ?
L827[17:31:54] <Frat​ty75> if its in a loop
L828[17:32:48] <Forec​aster> it's a bit more complicated, but essentially stopping and waiting for an event causes the program to yield, letting other parts of the compute run
L829[17:33:07] <Forec​aster> if you don't do this you will eventually get an error saying your program failed to yield
L830[17:33:15] <Forec​aster> this is what os.sleep does
L831[17:33:33] <Forec​aster> although it uses a lower level version of event pull
L832[17:33:43] <Frat​ty75> ahhhh
L833[17:34:02] <Ocawesome101> Saghetti: as long as it doesn't have driver letters
L834[17:34:10] * Ocawesome101 shudders at the thought of drive letters
L835[17:34:13] <Frat​ty75> so if I have an event.pull in my loop I shouldnt worry about placing an os.sleep regardless of the pull lasting 1 second
L836[17:34:18] <Ocawesome101> s/driver/drive
L837[17:34:20] <MichiBot> <Ocawesome101> Saghetti: as long as it doesn't have drive letters
L838[17:34:29] <Forec​aster> correct
L839[17:36:21] <Ocawesome101> the largest amount of arguments that any GPU call takes is 8, right?
L840[17:36:24] <B​ob> @Fratty75 os.sleep at its lowest level is just computer.pullSignal but it just voids it until it reaches a timer
L841[17:36:46] <Forec​aster> ^
L842[17:38:20] <Saghetti> dont worry
L843[17:38:23] <Saghetti> no drive letters
L844[17:38:37] <Ocawesome101> good
L845[17:38:46] <Saghetti> it's going to be like /0/nanos.lua
L846[17:38:52] <Saghetti> or /1/foo.txt
L847[17:38:53] <Saghetti> etc
L848[17:38:54] <Ocawesome101> monolithic or microkernel?
L849[17:38:56] <Ocawesome101> oh ok cool
L850[17:38:58] <Saghetti> monolithic
L851[17:39:00] <Ocawesome101> so drive numbers
L852[17:39:03] <Saghetti> but as small as possible
L853[17:39:05] <Saghetti> yep
L854[17:39:08] <Saghetti> but no :
L855[17:39:12] <Saghetti> and no \
L856[17:39:15] <Ocawesome101> does that include minification and compression?
L857[17:39:16] <Ocawesome101> GOOD
L858[17:39:17] * Saghetti shudders
L859[17:39:22] <Saghetti> nope
L860[17:39:26] <Saghetti> hopefully no minification
L861[17:39:32] <Saghetti> just the minimum required files
L862[17:39:34] <Saghetti> and libraries
L863[17:39:36] ⇨ Joins: Galaxy (~Galaxy@pool-71-127-50-131.washdc.fios.verizon.net)
L864[17:39:38] <Saghetti> maybe i'll minify
L865[17:39:43] <Galaxy> o/
L866[17:39:50] <Saghetti> o/
L867[17:39:59] * Izaya tapes various parts of the Minitel embedded library together, calls it an OS
L868[17:40:01] <Ocawesome101> o/
L869[17:40:15] <Ocawesome101> %bap Izaya
L870[17:40:15] <MichiBot> Ocawesome101 baps Izaya with >!
L871[17:40:17] <Izaya> we have a terminal driver and a (bad) VFS and networking
L872[17:40:31] <Izaya> it's already better than DOS
L873[17:40:48] ⇦ Quits: MajGenRelativity_ (~MajGenRel@192.154.196.28) (Read error: Connection reset by peer)
L874[17:41:20] <Adorabl​eCatgirl> i have zorya and i strapped some shit to the top of it
L875[17:41:25] <Galaxy> i am blue now i think
L876[17:41:27] <Galaxy> nop
L877[17:41:28] <Galaxy> e
L878[17:41:46] <Izaya> you r blue
L879[17:42:24] <Adorabl​eCatgirl> i'm boppin
L880[17:43:20] ⇦ Quits: Saghetti (~waltermin@c-67-164-116-220.hsd1.ca.comcast.net) (Read error: Connection reset by peer)
L881[17:44:08] <Inari> https://www.cnet.com/news/turkmenistan-fights-covid-19-by-banning-the-word-coronavirus/ pro move, absolutely brilliant
L882[17:44:42] <Inari> Hope thats just April Fools
L883[17:44:44] <Inari> But I kinda doubt it
L884[17:45:14] <Izaya> seems like something that would happen in the US tbh
L885[17:46:04] <Ocawesome101> the US is a country of free speech, it's in the Constitution
L886[17:46:34] <Izaya> Ocawesome101: are you an oil company?
L887[17:46:42] <Ocawesome101> no
L888[17:46:53] <Izaya> Then you have no freedom in the US :^)
L889[17:47:05] <Galaxy> haha funny oil
L890[17:47:34] <Izaya> speaking of oil
L891[17:47:37] <Frat​ty75> I just thought of something
L892[17:47:41] <Izaya> I gotta start my bike tomorrow
L893[17:47:49] <Izaya> don't want the carbs getting clogged from just sitting out in the shed
L894[17:47:54] <Frat​ty75> Can I get a program to run another program or open another file?
L895[17:48:04] <Frat​ty75> for example if I press a button it opens a new interface
L896[17:48:53] <Frat​ty75> for example all my code rn is in "power.lua" can I get that to run "power2.lua" and/or vice versa
L897[17:48:54] <M​GR> Yes
L898[17:49:15] <M​GR> I believe you can use loadfile, or you can use the roundabout way of having the shell execute it by using os.execute
L899[17:49:29] <Frat​ty75> alright will try both now
L900[17:49:31] <Frat​ty75> Thank you!
L901[17:49:44] <B​ob> os.execute / loadfile / dofile
L902[17:49:49] <B​ob> require even if its a library
L903[17:51:15] <Frat​ty75> how do I do that 😅
L904[17:51:31] <Frat​ty75> I tried `os.execute(power.lua)`
L905[17:52:02] <Izaya> is the lua key of the table power a string?
L906[17:52:06] <M​GR> You have to provide the file path to os.execute in string format
L907[17:52:08] <Izaya> because if not, you're gonna have a bad time
L908[17:52:33] <Frat​ty75> yes its saved as power.lua
L909[17:52:39] <Izaya> ._.
L910[17:52:47] <M​GR> No, that's not going to work
L911[17:52:57] <Izaya> ~w os.execute
L912[17:52:58] <ocdoc> http://www.lua.org/manual/5.2/manual.html#pdf-os.execute
L913[17:53:02] <M​GR> It has to be something like os.execute("/usr/bin/power.lua")
L914[17:53:11] <M​GR> Please read the oc wiki documentation
L915[17:53:23] ⇨ Joins: Saghetti (~walter@c-67-164-116-220.hsd1.ca.comcast.net)
L916[17:53:31] <Frat​ty75> alright checking now
L917[17:53:37] <Saghetti> konversation looks pretty cool
L918[17:53:40] <Saghetti> using it rn
L919[17:53:44] <Saghetti> rebooted into linux
L920[17:54:49] <B​ob> @Fratty75 you again don't know what is a string
L921[17:55:11] <B​ob> `os.execute(power.lua)` is invalid, power is not a defined table and has no lua field that returns a filename
L922[17:55:26] <B​ob> do you know what a string is and what makes it ?
L923[17:55:48] <Saghetti> as stargazer said yesterday
L924[17:56:03] <Frat​ty75> isnt a string a set of characters
L925[17:56:03] <Saghetti> r e a d t h e d o c u m e n t a t i o n
L926[17:56:38] <Izaya> I see you haven't read PIL yet
L927[17:56:46] <Izaya> unironically sit down and read it cover to cover, it's not long
L928[17:56:53] <Izaya> metaphorical cover, of course
L929[17:57:18] <B​ob> without the basics once again you won'tt go anywhere literally
L930[17:57:26] <Saghetti> ^
L931[17:57:28] <Galaxy> GTK or QT for general-purpose applications?
L932[17:57:42] <Izaya> QT
L933[17:57:48] <Saghetti> i would say Qt
L934[17:57:58] <Frat​ty75> I have read it
L935[17:58:10] <Saghetti> have you really?
L936[17:58:13] <Izaya> The APIs for both are quite hairy, but Qt has less inclination to make stupid changes for the sake of changes
L937[17:58:25] <Frat​ty75> I have read the basics section of what tables strings function variables all of those are over and over again
L938[17:58:33] <Galaxy> Welp, goodbye GNOME.
L939[17:58:39] <M​GR> And yet you can't do a string
L940[17:58:42] <Izaya> GNOME be gone
L941[17:58:46] <B​ob> @Fratty75 then how do you define a string
L942[17:58:58] <Galaxy> buuuuttttt i do like 3.36
L943[17:58:58] <Frat​ty75> with `""`
L944[17:58:59] <Frat​ty75> ?
L945[17:59:06] <M​GR> Yes
L946[17:59:13] <M​GR> And you didn't do that with your os.execute
L947[17:59:44] <Frat​ty75> yes I know sorry, I forget
L948[17:59:45] <Frat​ty75> alot
L949[17:59:45] <MichiBot> ALOT: http://tinyurl.com/y42zurt
L950[17:59:51] <B​ob> use the damn quotes lol
L951[18:00:12] <Saghetti> ah yes
L952[18:00:13] <Saghetti> the alot
L953[18:00:14] <MichiBot> ALOT: http://tinyurl.com/y42zurt
L954[18:00:24] <Frat​ty75> how do I find the directory of the file then
L955[18:00:34] <Frat​ty75> I found it in the server files but I assume that serves no purpose
L956[18:01:08] <M​GR> I think running pwd in the shell will print the entire path
L957[18:01:15] <Sagh​etti> :facepalm:
L958[18:03:52] <Frat​ty75> When I type `ls`
L959[18:04:01] <Frat​ty75> it gives me all my files I have written so far
L960[18:04:10] <Sagh​etti> yes
L961[18:04:29] <M​GR> That's not the command I gave you
L962[18:04:30] <Frat​ty75> I got it
L963[18:04:47] <Frat​ty75> Yeah I was trying another command before the one you said
L964[18:04:52] <Frat​ty75> and I just ran what you said
L965[18:04:56] <Frat​ty75> its in /home
L966[18:05:01] <Frat​ty75> and I got a button to run it
L967[18:05:05] <Frat​ty75> this is so sick
L968[18:05:11] <M​GR> Good work
L969[18:07:16] <Frat​ty75> thank you again for the patience and help
L970[18:08:33] <Sap​hire> Uhh, any clue who https://github.com/no-boot-device is?
L971[18:09:06] <Sap​hire> They have a PR for trying to fix my hacky youtube music download thing, but I'm getting 0 byte files v:
L972[18:11:32] <CompanionCube> %tonk
L973[18:11:33] <MichiBot> I'm sorry CompanionCube, you were not able to beat Ocawesome101's record of 2 hours, 26 minutes and 23 seconds this time. 48 minutes and 28 seconds were wasted! Missed by 1 hour, 37 minutes and 54 seconds!
L974[18:18:43] <Galaxy> what is %tonk
L975[18:18:46] <The_St​argazer> i should probably get to work on making the ARSE
L976[18:19:03] <The_St​argazer> ..shit, that acronym is fucking perfect
L977[18:19:16] <Galaxy> lol
L978[18:19:30] <The_St​argazer> it stands for Automatic Response System for Emergencies
L979[18:20:12] <The_St​argazer> basically: if i'm under attack, and i'm not online, the defense computer will take care of retaliation
L980[18:20:57] <immibis> Galaxy: %help tonk
L981[18:22:42] <The_St​argazer> i kinda wanna see the help text for tonk, so
L982[18:22:43] <The_St​argazer> %help tonk
L983[18:22:55] <The_St​argazer> >tonk is life
L984[18:22:56] <The_St​argazer> nice
L985[18:23:28] <Forec​aster> the "help" for tonk is actually on the scoreboard page
L986[18:23:55] <The_St​argazer> also: i've kind of accepted "tonk" as a word now
L987[18:24:09] <The_St​argazer> also also: ayy, i'm #9
L988[18:24:13] <Galaxy> tonka toy dump truck
L989[18:31:27] <Sap​hire> https://www.youtube.com/watch?v=Joed0P3hhbc sigh
L990[18:31:31] <MichiBot> [1071] Getting In My Ex-Girlfriend’s Back Door | length: 3m 58s | Likes: 72,663 Dislikes: 751 Views: 475,016 | by LockPickingLawyer | Published On 1/4/2020
L991[18:31:41] <Inari> I was going to post that
L992[18:31:45] <Inari> But wasn't sure it fulfills pg-13
L993[18:31:46] <Inari> :p
L994[18:32:12] <Sap​hire> Hm
L995[18:32:24] <Sap​hire> ...It's innuendos. Are those pg13?
L996[18:32:56] <Sap​hire> Yup, those are, apparently
L997[18:32:58] <The_St​argazer> Inari: You? PG-13? I'm sorry what
L998[18:33:16] <Sap​hire> ...also, that
L999[18:33:23] <Adorabl​eCatgirl> i am making cursed things again
L1000[18:33:39] <The_St​argazer> PG-13 Inari is an oxymoron, that's for sure
L1001[18:33:41] <Inari> I'm not allowed to be non-pg-13 anymore :p
L1002[18:33:48] <The_St​argazer> Why not
L1003[18:33:50] <Adorabl​eCatgirl> i have abused kotlin for my own horrible things
L1004[18:33:57] <Inari> Someone complaiuned and I was told not to
L1005[18:33:58] <Inari> %shrug
L1006[18:33:59] <MichiBot> In​ari: No you shrug!
L1007[18:34:03] <The_St​argazer> #oc rules or something?
L1008[18:34:04] <The_St​argazer> oh
L1009[18:34:22] <The_St​argazer> well, in my honest opinion, that person is an asshole
L1010[18:34:33] <The_St​argazer> /shrig some people just don't like fun I guess
L1011[18:34:34] <The_St​argazer> er
L1012[18:34:37] <The_St​argazer> ¯\(ツ)/¯
L1013[18:34:43] <The_St​argazer> i can't type today
L1014[18:34:52] <Inari> Eh, it'd be angry, but I that tends to be outside of my capabilities
L1015[18:34:54] <Sap​hire> complains at Inari for being PG13
L1016[18:35:01] <Inari> Even if I want to be angry, the next day I'm like "Ehhh, too much effort"
L1017[18:38:44] <Sap​hire> TBH this backdoor one is actually okay compared to older ones
L1018[19:03:57] ⇦ Quits: Saghetti (~walter@c-67-164-116-220.hsd1.ca.comcast.net) (Quit: Konversation terminated!)
L1019[19:17:37] ⇨ Joins: Vexaton (~Vexatos@port-92-192-93-224.dynamic.as20676.net)
L1020[19:17:38] zsh sets mode: +v on Vexaton
L1021[19:20:09] ⇦ Quits: Vexatos (~Vexatos@port-92-192-119-89.dynamic.as20676.net) (Ping timeout: 190 seconds)
L1022[19:21:44] <Ocawesome101> Skye: on full T1 hardware how long does miniOS take to boot?
L1023[19:22:14] <Izaya> not this autism again
L1024[19:22:35] <Skye> Ocawesome101: I don't know how long it takes to boot. Faster than openos I think.
L1025[19:22:54] <Ocawesome101> well time it B)
L1026[19:23:07] * Inari reboots Skye
L1027[19:23:54] <Adorabl​eCatgirl> jesus christ
L1028[19:24:44] <Inari> ?
L1029[19:30:14] <Forec​aster> heh http://tinyurl.com/somd7ez
L1030[19:30:54] <Inari> Whats the actual name of it
L1031[19:30:59] <Forec​aster> I presume people have submitted reviews for Frontier Pilot Simulator complaining that the ships handle like blimps
L1032[19:31:06] <Inari> Ah
L1033[19:33:05] <Skye> Ocawesome101, under a second I think
L1034[19:33:12] <Ocawesome101> nice
L1035[19:33:17] <Ocawesome101> that's an accomplishment
L1036[19:35:36] <Izaya> but how often do you need to restart :^)
L1037[19:36:57] <Inari> Make a Mciro-Os that instant boots, but when you want to do anything it actually has to load stuf ffirst
L1038[19:36:58] <Inari> :D
L1039[19:37:25] <Forec​aster> and then make one where you have to pay for it to load stuff
L1040[19:37:32] <Inari> heh
L1041[19:37:50] <ThePi​Guy24> 1p per byte
L1042[19:38:03] <Izaya> Inari: repeat until ({computer.pullSignal()})[1] == "key_down"
L1043[19:38:09] <Izaya> boom
L1044[19:38:12] <Izaya> boot time: no
L1045[19:40:19] <Frat​ty75> @Forecaster how do I use the `timeout` in event.pull
L1046[19:40:54] <Frat​ty75> I know it's a silly stupid question
L1047[19:41:04] <Frat​ty75> I tried but like always I'm stuck
L1048[19:41:19] <ThePi​Guy24> the first argument is the timeout time, in seconds. if it recieves an event in that time, then it returns the event as normal, but it if times out, then it returns nil
L1049[19:41:25] <Ocawesome101> event.pull(1)
L1050[19:41:37] <Frat​ty75> Oh wait when it gives an error as nil
L1051[19:41:46] <Frat​ty75> Means I used it correctly
L1052[19:41:51] <Frat​ty75> ?
L1053[19:42:06] <Ocawesome101> yes
L1054[19:42:52] <Frat​ty75> Oh hmm so I can use that as a bypass to continue whatever program I am running and instead have to use
L1055[19:43:01] <Frat​ty75> Even.listen
L1056[19:43:22] <Frat​ty75> event.listen [Edited]
L1057[19:46:39] <Frat​ty75> Oh hmm so I cant use that as a bypass to continue whatever program I am running and instead have to use [Edited]
L1058[19:55:07] ⇨ Joins: emilyopen (~emilyopen@92.217.209.35.bc.googleusercontent.com)
L1059[19:55:43] <Forec​aster> %sip
L1060[19:55:43] <MichiBot> You drink a bubbly aluminium potion (New!). Forec​aster feels a strong urge to recycle the potion bottle.
L1061[19:55:51] <Inari> I still hate YouTube filter formulation
L1062[19:55:59] <Corded> * <Forec​aster> eats the bottle instead
L1063[19:56:16] <Inari> Filter by Upload Date "This Month" is actually "From up to a month ago"
L1064[19:58:41] <Izaya> on an unrelated note
L1065[19:58:56] <Izaya> I was thinking about windowing systems for OC
L1066[20:00:17] <Izaya> I'm inclined to think the cleanest solution is for a window to be a buffer - in my head, it's y lines of x characters, times 2, for colour - and a program can replace the content of its buffer, and it receives events for its own window
L1067[20:01:49] <Izaya> not sure how window sizes would work
L1068[20:02:01] <Izaya> maybe a program could request a resize but the windowing system could refuse?
L1069[20:08:50] ⇦ Quits: emilyopen (~emilyopen@92.217.209.35.bc.googleusercontent.com) (Remote host closed the connection)
L1070[20:09:41] ⇨ Joins: pipe (~pipe@92.217.209.35.bc.googleusercontent.com)
L1071[20:23:25] ⇦ Quits: lord| (~ba7888b72@66.109.211.150) (Read error: Connection reset by peer)
L1072[20:23:49] <Skye> Izaya, why not just rip off kittenOS neo
L1073[20:24:06] <Izaya> because it focuses on memory efficiency over performance
L1074[20:24:12] ⇨ Joins: lord| (~ba7888b72@66.109.211.150)
L1075[20:24:29] <Izaya> a noble goal, but it's not like a windowing system on PsychOS is going to be very memory efficient anyway
L1076[20:28:28] ⇨ Joins: Backslash (~Backslash@d137-186-220-152.abhsia.telus.net)
L1077[20:39:34] <Geomet​rically> How do I take stuff from an input chest and move the items using open computers
L1078[20:39:50] <Forec​aster> use a transposer block
L1079[20:40:03] <Forec​aster> or an inventory controller in an adapter would work the same way
L1080[20:45:34] ⇦ Quits: Galaxy (~Galaxy@pool-71-127-50-131.washdc.fios.verizon.net) (Ping timeout: 190 seconds)
L1081[20:48:13] <Kristo​pher38> @MGR I've checked, you can indeed change the CPU arch with a robot
L1082[20:48:44] <Izaya> pretty sure you can change the CPU arch from code
L1083[20:48:52] <Kristo​pher38> TheMas3212: ^
L1084[20:49:13] <Kristo​pher38> Izaya: how would you go about it
L1085[20:49:14] <Sagh​etti> wiat
L1086[20:49:21] <Sagh​etti> by shift+right clicking the cpu?
L1087[20:49:29] <Kristo​pher38> is this april fools joke
L1088[20:49:38] <Izaya> I forget, but IIRC there's a call in the computer API or component to set the architecture
L1089[20:49:59] <Kristo​pher38> huh
L1090[20:50:02] <Kristo​pher38> well, let's see
L1091[20:50:13] <Sagh​etti> there's this
L1092[20:50:14] <Sagh​etti> getArchitecture(): string
L1093[20:50:14] <Sagh​etti> Returns the computer's current architecture.
L1094[20:50:18] <Sagh​etti> but no setArchitecture
L1095[20:50:32] <Izaya> is that from the docs or a real computer
L1096[20:50:35] <Izaya> because lmao OC docs
L1097[20:50:46] <Sagh​etti> ocdocs bad
L1098[20:50:58] <Sagh​etti> hasnt been updated in like 317 years
L1099[20:51:05] ⇨ Joins: ocawesome202 (~manjaro-u@38.65.249.137)
L1100[20:51:25] <Forec​aster> so update it
L1101[20:51:26] <Forec​aster> :P
L1102[20:51:35] <Sagh​etti> i did
L1103[20:51:36] <Kristo​pher38> where did you get getArchitecture from
L1104[20:51:39] <Sagh​etti> i updated like 1 thing
L1105[20:51:43] <Sagh​etti> component:computer
L1106[20:52:34] ⇦ Quits: Ocawesome101 (~manjaro-u@38.65.249.137) (Ping timeout: 189 seconds)
L1107[20:53:03] <Kristo​pher38> I see setArchitecture in the source code though
L1108[20:54:02] <Kristo​pher38> turns out component.computer and computer aren't the same thing
L1109[20:54:08] <Izaya> nop
L1110[20:54:13] <Kristo​pher38> unfortunate naming scheme, as payonel said
L1111[20:54:17] <Kristo​pher38> before
L1112[20:54:29] <Izaya> so I had this great idea right
L1113[20:54:31] <Kristo​pher38> anyway, there is setArchitecture, cool
L1114[20:54:37] <Izaya> if I'm making PsychOS incompatible with OpenOS anyway
L1115[20:54:41] <Izaya> I should fix all the spelling errors
L1116[20:54:43] <Izaya> like color
L1117[20:55:01] <Izaya> and serialization
L1118[20:55:36] <Kristo​pher38> it restarts the computer after setting it, pretty cool
L1119[20:55:46] <Kristo​pher38> I mean, that's what I would expect
L1120[20:56:16] <M​GR> Thank you Kristopher
L1121[20:57:06] *** ocawesome202 is now known as Ocawesome101
L1122[20:58:00] <Kristo​pher38> no problem, I was curious myself
L1123[20:58:31] <Kristo​pher38> I wonder what the purpose of getProgramLocations is
L1124[21:10:09] <Ocawesome101> @Kristopher38 it tells where loot disks should be mounted iirc
L1125[21:18:08] <Ocawesome101> can someone take a look at https://github.com/ocawesome101/micro and see if you can figure out why IPC is only partially working? I can send data to a process, but I can't recieve data from a process. The issue might be with process channels.
L1126[21:18:37] <Ocawesome101> being a microkernel, IPC is rather important :P
L1127[21:19:07] <Sagh​etti> hmm
L1128[21:19:11] <Sagh​etti> that description seems a bit
L1129[21:19:13] <Sagh​etti> familiar
L1130[21:19:51] <Sagh​etti> craftbox: A sandboxed microkernel for OpenComputers
L1131[21:19:59] <Sagh​etti> quark: A multitasking microkernel for OpenComputers
L1132[21:21:28] <Sagh​etti> Welcome to a buggy test of Micro
L1133[21:21:49] ⇦ Quits: Ocawesome101 (~manjaro-u@38.65.249.137) (Ping timeout: 190 seconds)
L1134[21:31:00] <Skye> silly people and their microkernels
L1135[21:31:02] <Skye> who needs that
L1136[21:31:03] <Skye> when you have
L1137[21:31:07] <Skye> a mololithic kernel
L1138[21:31:08] <Skye> of just
L1139[21:31:15] <Skye> miniOS
L1140[21:32:11] <Sagh​etti> 👎
L1141[21:32:22] <Sagh​etti> disapproves of minios
L1142[21:32:48] <Skye> https://github.com/OpenPrograms/skye-Programs/tree/master/miniOS
L1143[21:33:01] <Skye> Izaya, it still has sked.lua
L1144[21:33:02] <Sagh​etti> windows is a bad influence
L1145[21:33:09] <Sagh​etti> why would you want to make your os like windows
L1146[21:33:12] <Izaya> delet
L1147[21:33:27] <Skye> are you telling me to delete my work
L1148[21:33:36] <Izaya> no I'm telling you to delet sked
L1149[21:33:47] <Skye> why
L1150[21:34:59] <Izaya> cursed software
L1151[21:35:25] <Sagh​etti> oh god
L1152[21:35:27] <Sagh​etti> what is sked
L1153[21:35:30] <Sagh​etti> it looks like cancer
L1154[21:36:07] <20​kdc> It looks like the kind of text editor someone would write if they didn't have a text editor, to bootstrap work on a better text editor.
L1155[21:36:57] <20​kdc> i.e. Not inherently bad, but "to be replaced".
L1156[21:37:21] <Skye> Izaya, then replace it with something better
L1157[21:37:30] <Izaya> sked is a line editor designed to fit nicely in an EEPROM
L1158[21:37:42] <Izaya> Skye: skex2
L1159[21:38:01] <Skye> port it to miniOS classic then
L1160[21:41:15] <Izaya> also
L1161[21:41:18] <Izaya> big brain is exokernel
L1162[21:41:55] <Skye> biggest brain is running a microkernel inside a monolithic kernel
L1163[21:42:03] <Izaya> you're gonna end up doing the windows thing
L1164[21:42:15] <Izaya> where you reimplement your old software on a new kernel
L1165[21:42:28] <Izaya> and then never use the features of the new kernel beyond the fact it doesn't fall over in a light breeze
L1166[21:42:39] <Sk​ye> I mean
L1167[21:42:43] <Sk​ye> I didn't use the features of the old kernel
L1168[21:42:44] <Sk​ye> so
L1169[21:42:46] <Sk​ye> http://tinyurl.com/vzd92lx
L1170[21:43:19] <Sagh​etti> why not get an actual amount of free memory
L1171[21:43:29] <Sagh​etti> using the computer API
L1172[21:43:31] <Sk​ye> this is the emulator
L1173[21:43:49] <Sk​ye> OCEmu doesn't emulate ram
L1174[21:43:59] <Izaya> ocvm can do proper memory management stuff
L1175[21:44:08] <Sk​ye> how do I enable it
L1176[21:44:13] <Sagh​etti> use ocvm
L1177[21:44:17] <Izaya> ^
L1178[21:44:21] <Sk​ye> .-.
L1179[21:44:25] <Sk​ye> I am on winderps
L1180[21:44:33] <Izaya> that sounds like a you problem
L1181[21:44:37] <Sagh​etti> same tho
L1182[21:44:44] <Sagh​etti> ocvm wont compile under mingw
L1183[21:44:55] <Izaya> I hear it works under WSL
L1184[21:45:08] <Izaya> man I'm disappointed about WSL
L1185[21:45:12] <Izaya> OG WSL was like
L1186[21:45:23] <Izaya> the only time ever that there'd been another server running under the NT kernel
L1187[21:45:41] <Forec​aster> %tonk
L1188[21:45:41] <MichiBot> Aw jeez! Forec​aster! You beat Ocawes​ome101's previous record of 2 hours, 26 minutes and 23 seconds (By 1 hour, 7 minutes and 44 seconds)! I hope you're happy!
L1189[21:45:42] <MichiBot> Forecaster's new record is 3 hours, 34 minutes and 8 seconds! Forecaster also gained 0.00339 (0.00113 x 3) tonk points for stealing the tonk. Position #1.
L1190[21:45:54] <Skye> Izaya, not only time
L1191[21:46:06] ⇨ Joins: Galaxy (~Galaxy@pool-108-28-98-32.washdc.fios.verizon.net)
L1192[21:46:08] <Izaya> maybe I should filter out lines containing tonk
L1193[21:46:16] <Skye> Izaya, I think the problem with WSL was that it didn't work as people expected
L1194[21:46:49] <Izaya> s/didn't work as people expected/was too much effort to implement properly/
L1195[21:46:50] <MichiBot> <Skye> Izaya, I think the problem with WSL was that it was too much effort to implement properly
L1196[21:47:27] <Izaya> side note
L1197[21:47:38] <Izaya> can Windows act as a 9p server now? Can we delet SMB now?
L1198[21:48:50] <Amanda> Izaya: that's what WSL uses, but I don't think it's exposed
L1199[21:49:02] <Izaya> figures
L1200[21:49:11] <Skye> miniOS takes around 100KB of RAM total I think
L1201[21:49:16] <Izaya> can't allow interoperability now, can we?
L1202[21:49:21] <Izaya> >.>
L1203[21:49:22] <Sagh​etti> smb kinda weird
L1204[21:49:31] <Sagh​etti> i thought it was just like ftp at first
L1205[21:49:34] <Sagh​etti> but no
L1206[21:49:37] <Amanda> Considering it's a RPC mechanism, not directly meantto be a fs, makes sense
L1207[21:52:10] <Sagh​etti> yay
L1208[21:52:13] <Sagh​etti> i made ocvm
L1209[21:52:44] <Amanda> no, Payonel did
L1210[21:52:51] <Sagh​etti> make is weird
L1211[21:52:52] * Amanda flees
L1212[21:53:00] <Sagh​etti> i compiled ocvm
L1213[21:53:01] ⇨ Joins: NPMauz (~NPMauz@s8.mcskill.ru)
L1214[21:53:03] <Izaya> gonna make my own ocvm
L1215[21:53:06] <Sagh​etti> past tense of "make"
L1216[21:53:14] <Amanda> with blackhjack, and hookers, Izaya?
L1217[21:53:37] <Izaya> with solitaire and solitude
L1218[21:53:53] <NPMauz> Hi all
L1219[21:53:57] <Sagh​etti> sup
L1220[21:54:31] ⇦ Quits: NPMauz (~NPMauz@s8.mcskill.ru) (Client Quit)
L1221[21:55:12] <B​ob> Rip
L1222[21:56:18] <Sagh​etti> ree
L1223[21:56:28] <Sagh​etti> ocvm just self destructed
L1224[21:56:39] <Sagh​etti> now whenever i move my mouse it spams the terminal with escape codes
L1225[21:57:26] <B​ob> Event leak
L1226[21:57:55] <Sagh​etti> now it keeps beeping at me
L1227[21:57:59] <Sagh​etti> at a blank screen
L1228[21:58:29] <Amanda> run `reset`
L1229[21:59:00] <Amanda> how did it self-destruct though? If the mosue codes are being displayed once it's died it didnt' cleanly exit
L1230[21:59:08] <Sagh​etti> reset didn't prevent the mouse codes
L1231[21:59:22] <Sagh​etti> it just freezes at a blank screen
L1232[21:59:30] <Amanda> did you `make system`?
L1233[21:59:31] <Izaya> actually, unrelated, but anyone know why when I scroll sometimes ocvm fills the text with random colour?
L1234[21:59:37] <Sagh​etti> yep
L1235[22:00:19] <Sagh​etti> oh
L1236[22:00:24] <Sagh​etti> run `make system`?
L1237[22:00:37] <Amanda> yes
L1238[22:00:55] <Sagh​etti> i made the folder
L1239[22:00:57] <Amanda> That'll download the OC loot stuff
L1240[22:00:59] <Sagh​etti> oki
L1241[22:01:01] <Sagh​etti> but didnt run that command
L1242[22:01:10] <Izaya> you need svn for it to auto-download IIRC
L1243[22:01:40] <Sagh​etti> make: 'system' is up to date.
L1244[22:01:53] <Amanda> `rmdir system` then run it again
L1245[22:02:17] <Sagh​etti> Makefile:64: recipe for target 'system' failed
L1246[22:02:17] <Sagh​etti> make: * [system] Error 127
L1247[22:03:29] <Amanda> wut... how is it dying on an `echo`?
L1248[22:03:41] <Sagh​etti> oh
L1249[22:03:44] <Sagh​etti> i don't have svn
L1250[22:03:48] <Sagh​etti> :facepalm:
L1251[22:07:39] <Sagh​etti> i did make system
L1252[22:07:42] <Sagh​etti> blank screen
L1253[22:07:48] <Sagh​etti> still beeping whenever i click
L1254[22:07:59] <Sagh​etti> or just whenever i move my mouse
L1255[22:08:13] <Sagh​etti> oh
L1256[22:08:15] <Sagh​etti> critical error
L1257[22:08:19] <Sagh​etti> could not set raw moce
L1258[22:08:20] <Sagh​etti> mode*
L1259[22:10:37] <Amanda> What're you using for a terminal?
L1260[22:12:16] <Sagh​etti> cmd.exe
L1261[22:12:19] <Sagh​etti> on WSL
L1262[22:13:07] <Amanda> is your windows up to date?
L1263[22:13:30] <Sagh​etti> yep
L1264[22:13:42] <Sagh​etti> ill try a different terminal
L1265[22:13:58] <Amanda> According to https://docs.microsoft.com/en-us/windows/wsl/release-notes since 17763 WSL supports the ioctl that is failing
L1266[22:14:13] <Amanda> though it says "limited support"
L1267[22:16:11] <Amanda> Are you using WSL1 or 2?
L1268[22:16:30] <Sagh​etti> i think it's WSL1
L1269[22:16:44] <Sagh​etti> and mintty won't run WSL for some reason
L1270[22:17:27] <Amanda> Hrm
L1271[22:17:40] <Amanda> Suppossedly WSL is already in raw mode
L1272[22:18:15] <Ar​iri> %info
L1273[22:18:18] <Ar​iri> %help
L1274[22:18:18] <MichiBot> Ar​​iri: Command list: http://michibot.pc-logix.com/help
L1275[22:18:51] <Galaxy> This oinking is gonna drive me to insanity
L1276[22:19:06] <Amanda> payonel: could ocvm detect if the terminal is already in raw mode and skip trying the ioctls? I'm notthat familiar with linux's tty stuff, so this may be more up your wheel-house
L1277[22:20:42] <Sagh​etti> i'll try using wsltty
L1278[22:20:50] <Sagh​etti> a version of mintty designed for wsl
L1279[22:22:33] <Amanda> @Saghetti try `curl https://gitlab.darkdna.net/snippets/85/raw | git apply -` and rebuild, see if that works.
L1280[22:23:35] <Sagh​etti> and then `make` again, i assume?
L1281[22:23:55] <Amanda> yes
L1282[22:24:07] <Sagh​etti> error: patch failed: drivers/rawtty.cpp:127
L1283[22:24:08] <Sagh​etti> error: drivers/rawtty.cpp: patch does not apply
L1284[22:25:33] <Sagh​etti> i just patched it by hand
L1285[22:26:26] <Sagh​etti> still erroring tho
L1286[22:26:55] <Sagh​etti> forgot to do make clean
L1287[22:28:01] <Sagh​etti> still couldn't set raw mode
L1288[22:28:46] <Amanda> Not sure then, that was a blind fix, I'd have to experiment, but I'm not in the mood to deal with WSL right now
L1289[22:30:21] <Ar​iri> What language is MichiBot programmed in? Im thinking of using Discord.js to make my own bot for another server
L1290[22:30:42] <Amanda> MichiBot is an IRC bot written in Java
L1291[22:31:10] <Ar​iri> What about Corded then?
L1292[22:31:20] <Amanda> Also java
L1293[22:31:27] <Ar​iri> Thanks
L1294[22:31:42] <Ar​iri> Is there a repo for either of them?
L1295[22:31:51] <Ar​iri> Just for references
L1296[22:31:51] <Amanda> Corded: https://github.com/CaitlynMainer/Yuri
L1297[22:31:59] <Amanda> MichiBot:
L1298[22:32:00] <Amanda> %source
L1299[22:32:01] <MichiBot> Ama​nda: https://github.com/PC-Logix/LanteaBot/
L1300[22:32:09] <Ar​iri> Thanks again
L1301[22:45:06] <Brisingr​Aerowing> @Saghetti maybe try on Cygwin?
L1302[22:45:23] <Sagh​etti> cygwin won't work
L1303[22:45:36] <Sagh​etti> i tried it
L1304[22:45:41] <Sagh​etti> snippet from the readme.md:
L1305[22:45:42] <Sagh​etti> I do not plan to add support for non-ansi terminals nor windows. If this works in cygwin it wasn't on purpose
L1306[23:00:09] ⇦ Quits: lord| (~ba7888b72@66.109.211.150) (Read error: Connection reset by peer)
L1307[23:00:35] ⇨ Joins: lord| (~ba7888b72@66.109.211.150)
L1308[23:10:08] ⇦ Quits: Inari (~Pinkishu@pD9E8F781.dip0.t-ipconnect.de) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
L1309[23:10:22] ⇦ Quits: Hobbyboy (Hobbyboy@hobbyboy.co.uk) (Quit: The BNC has broken!)
L1310[23:14:19] <Forec​aster> %sip
L1311[23:14:20] <MichiBot> You drink a boiling silver potion (New!). It tastes sour.
L1312[23:14:27] <Forec​aster> Ugh
L1313[23:14:39] <Forec​aster> Dang silver
L1314[23:15:06] <Sagh​etti> %absorb
L1315[23:15:06] <MichiBot> You drink a dull titanium potion (New!). Sagh​etti's nose vanish until they see a star fall.
L1316[23:15:25] <Sagh​etti> ok
L1317[23:15:36] <Sagh​etti> %quaff
L1318[23:15:36] <MichiBot> You drink a prickly röd potion (New!). Sagh​etti's eyes turn röd until they say the word "Mew" followed by "Nice".
L1319[23:15:57] <Sagh​etti> röd?
L1320[23:16:11] <Sagh​etti> %quaff
L1321[23:16:11] <MichiBot> You drink a freezing stainless steel potion (New!). Sagh​etti's toes turn invisible until they exit the room.
L1322[23:20:05] <Vexaton> röd?
L1323[23:20:09] <Vexaton> rødgrød
L1324[23:20:14] <Vexaton> I love rødgrød it's so good
L1325[23:25:04] <Brisingr​Aerowing> %sip
L1326[23:25:04] <MichiBot> You drink a porous pussplum potion (New!). Brisingr​Aerowing remembers an important appointment.
L1327[23:29:59] ⇨ Joins: Hobbyboy (Hobbyboy@hobbyboy.co.uk)
L1328[23:39:44] <Ocawes​ome101> Has anyone figured out my IPC issue / spotted any other bugs in my code?
L1329[23:40:23] <Amanda> %8ball veg out and halucinate?
L1330[23:40:23] <MichiBot> Ama​nda: Reply hazy, try again
L1331[23:40:25] <Amanda> %8ball veg out and halucinate?
L1332[23:40:25] <MichiBot> Ama​nda: Without a doubt
L1333[23:40:32] <Amanda> :D
<<Prev Next>> Scroll to Top