<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:00:05] ⇨ Joins: ATMunn (ATMunn!ATMunn@hellomouse.net)
L2[00:03:34] ⇦ Quits: Icedream (Icedream!~icedream@212.83.173.97) (Ping timeout: 190 seconds)
L3[00:04:49] ⇨ Joins: Icedream (Icedream!~icedream@212.83.173.97)
L4[00:49:29] <ben_mkiv> %seen sangar
L5[00:49:30] <MichiBot> sangar was last seen 129d 1h 17m 23s ago. Quitting
L6[01:45:03] <Forecaster> %shell
L7[01:45:05] * MichiBot loads the pronoun game into a shell and fires it. It strikes Thog. They take 11 damage. ICWiener and modmuss50 stood too close and take 9 and 7 damage respectively.
L8[01:46:38] <Forecaster> %time
L9[01:46:38] <MichiBot> Forecaster: 2018-Dec-17 07:46:38
L10[01:53:54] ⇦ Quits: ba7888b72413a16a (ba7888b72413a16a!~ba7888b72@66.109.211.150) (Quit: WeeChat 2.3)
L11[01:56:34] ⇨ Joins: ba7888b72413a16a (ba7888b72413a16a!~ba7888b72@66.109.211.150)
L12[02:24:04] <Wattana Gaming> Guess thats the next step in implementing filesystem http://tinyurl.com/y8mnbtw4
L13[02:51:00] <Wattana Gaming> Hey how do I invoke the filesystem? I can get the bootaddress but i cant invoke the filesystem
L14[02:52:51] <Izaya> fs=component.proxy(computer.getBootAddress())
L15[03:19:04] <Mimiru> %tonk
L16[03:19:04] <MichiBot> Mimiru! You beat Kodos's previous record of 1 day, 2 hours, 24 minutes and 24 seconds! I hope you're happy!
L17[03:19:05] <MichiBot> Mimiru's new record is 1 day, 5 hours, 3 minutes and 49 seconds
L18[03:24:37] <Forecaster> Dammit
L19[03:27:09] <Kleadron> damn dag nabbit
L20[03:36:16] <Wattana Gaming> Does that count as a step forward? http://tinyurl.com/yap6uly4
L21[03:37:00] <Forecaster> I guess, if you like text being written to the screen
L22[03:37:02] <Forecaster> :P
L23[03:41:04] <Wattana Gaming> Any idea how to get file size using filesystem component? I need to load a file and execute it
L24[03:47:32] <Izaya> ~w component:filesystem
L25[03:47:32] <ocdoc> http://ocd.cil.li/component:filesystem
L26[03:47:40] <Izaya> IIRC it's just .size(path)
L27[03:48:03] <Izaya> though if you just want to load the whole file, :read(math.huge) until it stops returning
L28[04:04:13] <JoBanJo> hello every one
L29[04:04:20] <JoBanJo> any one on? i need some help
L30[04:04:28] <Kleadron> do not ask to ask
L31[04:04:29] <Kleadron> just ask
L32[04:04:59] <JoBanJo> okay sorry, any one got a button api code?
L33[04:09:03] <Forecaster> https://oc.cil.li/index.php?/topic/255-button-api-now-for-oc-updated-9-6-2014/
L34[04:09:55] <JoBanJo> its an old demo
L35[04:10:03] <JoBanJo> will it still work?
L36[04:11:32] <Forecaster> I don't know
L37[04:11:40] <JoBanJo> @Forecaster so it says save as "demo" does that mean i type edit demo then paste that?
L38[04:11:41] <Forecaster> it's just the first result on google
L39[04:11:47] <JoBanJo> lol
L40[04:14:59] <JoBanJo> is there any one that can run me through this a little?
L41[04:21:16] <Forecaster> if you ask specific questions
L42[04:21:41] <JoBanJo> how do i make a button api
L43[04:22:44] ⇨ Joins: annias (annias!~annias@us56.mchost.pro)
L44[04:23:59] <Forecaster> learn how to lua, then make button api
L45[04:24:08] <Forecaster> or google
L46[04:24:34] <JoBanJo> is lua difficult?
L47[04:24:52] <Forecaster> that's subjective
L48[04:24:57] <Forecaster> I would say no
L49[04:25:46] <JoBanJo> how do i get the screen to just display random things?
L50[04:26:44] <Forecaster> "random" is a lot more difficult than "specific"
L51[04:27:03] <JoBanJo> damn
L52[04:42:17] <Wattana Gaming> Discord vs IRC?
L53[04:42:37] <Forecaster> what?
L54[04:42:49] <Wattana Gaming> the question explains itself
L55[04:43:27] <ben_mkiv> this shows random characters... https://github.com/IgorTimofeev/MineOS/blob/master/Screensavers/Matrix.lua
L56[04:45:03] <Wattana Gaming> My low-level gpu print is showing this instead of a new line, how do I fix this? and how to I wrap the text if its longer than the screen width? http://tinyurl.com/ybjqhvqv
L57[04:46:13] <ben_mkiv> check string length before print and split it to multiple prints if necessary?
L58[04:46:18] <Forecaster> it doesn't explain anything because there is no context
L59[04:47:22] <JoBanJo> how do i change the colour of text?
L60[04:48:08] <Wattana Gaming> http://tinyurl.com/yat87n6e
L61[04:48:11] <Wattana Gaming> just an example
L62[04:48:51] <JoBanJo> can you dm that text? please
L63[04:49:27] <ben_mkiv> require("component").gpu.setForeground(colorIndex)
L64[04:50:08] <ben_mkiv> for more info and color table read this https://ocdoc.cil.li/component:gpu
L65[05:13:28] <JoBanJo> can some one explain? http://tinyurl.com/y7n6k6pa
L66[05:22:51] <ZefTheFox> I can't explain that unless I see line 1
L67[05:25:34] <JoBanJo> dont worry i fixed it
L68[05:26:15] <ZefTheFox> Then there's no reason to dm me
L69[05:27:05] <Wattana Gaming> Anyone how how to fix this? I try to make my gpu print function start a newline when it encounter \n http://tinyurl.com/y8bs94s9
L70[05:27:52] <Wattana Gaming> Here is the source code of the function: http://tinyurl.com/ybo3osfo
L71[05:29:25] <JoBanJo> sorry to interrupt, but how is ur code coloured?
L72[05:30:06] <Izaya> ([^\r\n]+)
L73[05:30:10] <Izaya> should work I think
L74[05:31:26] <Izaya> though the real idea is to use a proper terminal emulator :^)
L75[05:31:57] <Wattana Gaming> Wow you literally saved a lot of my time, thank you ? http://tinyurl.com/yau3nzev
L76[05:32:10] <Izaya> https://github.com/ShadowKatStudios/OC-Minitel/blob/master/Embedded/vt100.lua
L77[05:32:24] <JoBanJo> how do these bots work?
L78[05:32:57] <Izaya> bots?
L79[05:33:02] <Izaya> we have ocdoc
L80[05:33:04] <Izaya> ~w vt100
L81[05:33:05] <ocdoc> Predicted http://ocd.cil.li/api:event ( I tried D: )
L82[05:33:26] <Izaya> ocdoc does wiki and manual lookups
L83[05:33:42] <Wattana Gaming> My guess is that Izaya is on the IRC channel and a bot with his/her name copied the message
L84[05:33:44] <Izaya> there's also MichiBot which does lots of stuff like text replacement and stuff
L85[05:34:05] <Izaya> oh that's Corded
L86[05:34:33] <Izaya> some webhook fuckery is involved to relay messages from IRC to Discord and on the Discord side they change nick to reflect the IRC user's nick
L87[05:36:10] <Forecaster> the most important thing MichiBot does is, of course, tonk
L88[05:36:38] <Izaya> ^
L89[05:36:42] <Izaya> %tonk
L90[05:36:42] <MichiBot> I'm sorry Izaya, you were not able to beat Mimiru's record of 1 day, 5 hours, 3 minutes and 49 seconds this time.
L91[05:36:43] <MichiBot> 2 hours, 17 minutes and 37 seconds were wasted!
L92[05:36:49] <Izaya> :^)
L93[05:37:12] <Lizzian> %loot
L94[05:37:12] <MichiBot> Lizzian: You get a loot box! It contains a tiny model shoe.
L95[05:39:50] <Wattana Gaming> Izaya why does it skips a blank line? http://tinyurl.com/yagpz9tm
L96[05:39:59] <Izaya> doesn't match the pattern
L97[05:40:04] <Wattana Gaming> http://tinyurl.com/yc4ffbrd
L98[05:40:07] <Wattana Gaming> Any fix?
L99[05:40:09] <JoBanJo> this is creppy
L100[05:40:16] <JoBanJo> is it a real person?
L101[05:40:19] <Izaya> a proper terminal emulator
L102[05:40:24] <Izaya> no real people here
L103[05:40:27] <Izaya> only bots
L104[05:40:53] <JoBanJo> are we all bots?
L105[05:41:08] <Wattana Gaming> Izaya I will make a seperate terminal emulator next but the kernel needs to properly print stuff too
L106[05:41:21] <Izaya> The thing about parsing it with that pattern is that it matches all characters that aren't \r or \n
L107[05:41:31] <Izaya> two \ns in a row are the same as one
L108[05:41:39] <Izaya> put a space on the line if it worries you I guess
L109[05:42:14] <Wattana Gaming> thanks
L110[05:42:23] <ZefTheFox> Dude
L111[05:42:27] <ZefTheFox> It's an irc relay
L112[05:43:20] <ZefTheFox> Read the description of the channel
L113[05:44:43] <Wattana Gaming> Ok now I need it to wrap text around when it reaches the rightmost side. Any idea?
L114[05:45:33] <Forecaster> `if string length > screen width then break`
L115[05:45:53] <Izaya> I don't know if lua patterns let you do specific numbers of repetitions so uh
L116[05:46:33] <Izaya> for each line returned by the pattern, split it every (screen width) chars and write that to the screen
L117[05:46:35] <Forecaster> `if string length > screen width then insert break after [screen width] number of characters` [Edited]
L118[05:47:57] <Wattana Gaming> Can I have an example code pls?
L119[05:48:34] <Izaya> uuuuh
L120[05:49:29] <Izaya> repeat sline,line = line:sub(1,80) writetoscreen(sline) until line == ""
L121[05:49:58] <Izaya> where line has already been split by \ns
L122[05:53:18] <Wattana Gaming> Where do I put it? http://tinyurl.com/yahfsss3
L123[05:53:59] <Izaya> writetoscreen is the gpuInvoke statement basically
L124[05:54:01] <Izaya> so in there
L125[05:54:05] <Izaya> line is i
L126[05:54:24] <Wattana Gaming> in the for loop?
L127[05:54:30] <Izaya> yeah
L128[05:54:47] <Wattana Gaming> do I put it after cursorPos offset?
L129[05:55:44] <Izaya> wrap cursorpos also
L130[06:02:16] <Wattana Gaming> rip http://tinyurl.com/ychp73q7
L131[06:03:14] <Wattana Gaming> it caused some weird bug where gpuPrint never finishes doing its job
L132[06:03:24] <Izaya> and this is the downside of reusing variables
L133[06:03:41] <Izaya> you changed the sline,line to sline,i right?
L134[06:06:31] <Wattana Gaming> no
L135[06:06:46] <Wattana Gaming> i changed line:sub to i:sub
L136[06:07:13] <Izaya> the reason it would normally work is it
L137[06:07:14] <Izaya> wait
L138[06:08:38] <Izaya> https://0x0.st/sk4F.txt
L139[06:08:58] <Wattana Gaming> I tweaked it by putting the repeat loop in an if statement. it still broke when it face a newline tho http://tinyurl.com/y7e2uzvr
L140[06:08:59] <Wattana Gaming> http://tinyurl.com/ydgpygh9
L141[06:10:37] <Wattana Gaming> I tried your new function and it... well...... http://tinyurl.com/y7ne25ht
L142[06:10:57] <Izaya> interesting result
L143[06:12:25] <Izaya> shouldn't freak out on a single-char line though
L144[06:12:38] <Izaya> until i == "" or i == nil I guess?
L145[06:18:11] <Wattana Gaming> It cause double-line bug thingy when it got a newline
L146[06:18:12] <Wattana Gaming> Here is the printStatus source code: https://pastebin.com/uAkcjmF8
L147[06:20:19] <Izaya> after line 11 there, do i = ""
L148[06:20:20] <Izaya> ?
L149[06:20:32] ⇨ Joins: Vexatos (Vexatos!~Vexatos@p200300C107205E11D38CFA638BDC77F6.dip0.t-ipconnect.de)
L150[06:20:32] zsh sets mode: +v on Vexatos
L151[06:22:31] ⇦ Quits: Icedream (Icedream!~icedream@212.83.173.97) (Quit: A lol made me boom.)
L152[06:25:19] <Wattana Gaming> im not sure
L153[06:26:32] ⇨ Joins: Icedream (Icedream!~icedream@212.83.173.97)
L154[06:29:36] <Wattana Gaming> I think the cause of this is because the word-wrap feature collides with the newline split
L155[06:32:28] <Izaya> I'm going with i isn't being reset
L156[06:32:42] <Izaya> when there's an empty line
L157[06:34:00] <JoBanJo> good night ?
L158[06:34:09] <Izaya> o7
L159[06:34:54] <JoBanJo> ???
L160[06:35:11] <MGR> It's a salute
L161[06:35:19] <MGR> o is the head, and the 7 is the bent arm
L162[06:36:11] <JoBanJo> ahhh i see
L163[06:38:50] <Wattana Gaming> Man I think I better put the advanced functions into an API
L164[06:40:24] <EveryOS> %fling inari
L165[06:40:25] * MichiBot flings german engineering in a random direction. It hits the ground near inari
L166[06:41:01] <EveryOS> Cuz' you did that to me yesterday
L167[06:43:57] <Izaya> htm
L168[06:43:59] <Izaya> hrm
L169[06:44:19] <Izaya> using a potentiometer would be an easy way to build a throttle but I hear they don't have great durability
L170[06:44:37] <Izaya> a rotary encoder would probably be better :|
L171[06:51:53] ⇨ Joins: fmate2006 (fmate2006!~fmate2006@4E5C2302.dsl.pool.telekom.hu)
L172[06:52:07] <fmate2006> i promise i won't use any alts this time okay?
L173[06:53:06] <Izaya> HDD motors can be used as rotary encoders, apparently...
L174[06:54:10] <fmate2006> so you watch GreatScott too?
L175[06:54:19] <Izaya> apparently so
L176[06:54:25] <Izaya> doing some research because I want to build myself a throttle
L177[06:56:21] <Wattana Gaming> But I watch Scott The Woz
L178[06:57:32] <fmate2006> well, i do have a hdd that doesn't work so i might be able to make it
L179[06:57:46] <Izaya> yeah I have an old 40GB one that just makes a crunching noise
L180[06:58:06] <fmate2006> but first i need to get out 2 stuck screws that are still screwed in
L181[06:58:18] <fmate2006> also an atom sized torx screw
L182[06:58:57] <fmate2006> i even tried prying it open... with no luck of course
L183[07:00:10] <Izaya> my worry is how many turns you need to do to induce anything
L184[07:01:08] ⇨ Joins: wattana (wattana!webchat@node-8tr.pool-125-27.dynamic.totbb.net)
L185[07:01:16] <fmate2006> well... considering that hdd motors have to spin veryveryveryvery fast, it's probably very sensitive
L186[07:01:19] <Wattana Gaming> welp
L187[07:01:25] ⇦ Quits: wattana (wattana!webchat@node-8tr.pool-125-27.dynamic.totbb.net) (Client Quit)
L188[07:02:56] <Izaya> the one in the video only seemed to have one magnet in it, resulting in relatively few points, I'm inclined to think an optical one may be a better fit
L189[07:03:12] <Izaya> ie you'd have to rotate it at least once to get anything out of it
L190[07:04:21] <fmate2006> wait, you mean the one that spins the cd or the one that moves the head?
L191[07:04:45] <Izaya> spins the platter
L192[07:06:08] <fmate2006> oh yeah, i'm about to take one of those out of an old cd drive
L193[07:06:12] ⇨ Joins: wattana (wattana!~wattana@node-8tr.pool-125-27.dynamic.totbb.net)
L194[07:06:24] ⇦ Quits: wattana (wattana!~wattana@node-8tr.pool-125-27.dynamic.totbb.net) (Client Quit)
L195[07:07:37] <fmate2006> i recommend using screw loosener or wd40 though
L196[07:08:05] <fmate2006> because the screws can be really tight sometimes
L197[07:14:11] ⇨ Joins: Lobeadon (Lobeadon!webchat@host234-144-static.47-85-b.business.telecomitalia.it)
L198[07:15:09] <fmate2006> hello?
L199[07:16:43] <Wattana Gaming> hi
L200[07:17:00] <JoBanJo> whats irc?
L201[07:17:11] <Wattana Gaming> daymmm
L202[07:17:22] <Izaya> Internet Relay Chat, the most universal IM protocol
L203[07:17:23] <JoBanJo> ????
L204[07:17:33] <JoBanJo> ahhhhhhhh ok
L205[07:17:43] <Izaya> predicted to outlive the universe
L206[07:17:44] <Izaya> etc etc
L207[07:17:47] <JoBanJo> thank u gn
L208[07:19:14] <Wattana Gaming> Sooo I managed to load a file into memory, now how can I execute it? I cant really find a way to execute something stored in string variable
L209[07:19:26] <Izaya> load(string)()
L210[07:21:33] <Wattana Gaming> i tried both load and loadstring
L211[07:21:43] <Wattana Gaming> http://tinyurl.com/y8l4bqo3
L212[07:21:45] <Wattana Gaming> http://tinyurl.com/yatnurrf
L213[07:22:02] <fmate2006> well... we can't copy paste
L214[07:22:28] <MGR> What do you mean?
L215[07:22:30] <Izaya> ~w load
L216[07:22:30] <ocdoc> http://www.lua.org/manual/5.2/manual.html#pdf-load
L217[07:22:45] <fmate2006> i mean the links in the chat
L218[07:23:07] <MGR> Oh, you can't use the links in the chat because you're using the in game IRC client?
L219[07:23:21] <fmate2006> i'm in wocchat
L220[07:23:29] <fmate2006> but irc is installed if that matters
L221[07:23:35] <MGR> I recommend connecting using either Discord or a real IRC client
L222[07:23:41] <MGR> wocchat is an in game IRC client
L223[07:23:43] * Izaya would suggest installing an IRC client
L224[07:23:48] <Izaya> on the real machine, that is
L225[07:23:49] <fmate2006> oh okay
L226[07:23:56] <Izaya> there's webchat too https://oc.cil.li/index.php?/topic/1167-irc-webchat/
L227[07:24:02] ⇦ Quits: fmate2006 (fmate2006!~fmate2006@4E5C2302.dsl.pool.telekom.hu) (Read error: Connection reset by peer)
L228[07:24:07] <Izaya> but running a web browser for text chat is kinda si-
L229[07:24:09] <Izaya> ok
L230[07:25:05] <scj643> I use quassel and quassel web
L231[07:25:23] <scj643> So I can access it when I can't use a native client
L232[07:25:31] ⇨ Joins: fmate2006 (fmate2006!webchat@4E5C2302.dsl.pool.telekom.hu)
L233[07:25:48] <scj643> Hi fmate2006
L234[07:25:55] <fmate2006> hello
L235[07:26:09] <Izaya> if you want a proper client, hexchat is okay enough https://hexchat.github.io/downloads.html
L236[07:26:32] <Izaya> scj643: I haven't used quassel, how is it?
L237[07:26:39] <scj643> Good
L238[07:27:06] <scj643> I have a VPS running the core
L239[07:27:11] <Izaya> I think I used a fork on a PPC Macintosh at one point
L240[07:27:17] <Izaya> Colloquy?
L241[07:28:24] <Wattana Gaming> bad argument #1 to 'load' (function expected, got nil)
L242[07:28:35] <Izaya> ~w load
L243[07:28:35] <ocdoc> http://www.lua.org/manual/5.2/manual.html#pdf-load
L244[07:28:52] <Izaya> you sure you're giving it a string?
L245[07:29:00] <Wattana Gaming> yes
L246[07:30:00] <Wattana Gaming> oh w8 i fixed it
L247[07:30:44] <scj643> Colloquy isn't based on quassel
L248[07:30:57] <Wattana Gaming> wha?
L249[07:31:13] <Izaya> Oh okay.
L250[07:31:28] <scj643> Colloquy iirc is an iOS irc client
L251[07:31:29] <Wattana Gaming> oh btw can I use load()() to load an api? if yes, do I just load it or what?
L252[07:31:53] <Izaya> an API should return a table
L253[07:31:55] <scj643> Quassel is written in QT
L254[07:32:09] <Izaya> so api = load(string)()
L255[07:32:23] <scj643> I have like 5 GB of IRC logs last time I checked
L256[07:32:34] <Wattana Gaming> wow...... i never realized i can do that
L257[07:32:43] <Izaya> I thought the thing about Quassel is that you were meant to have a native version connecting to the main thing
L258[07:32:51] <scj643> Yeah
L259[07:33:10] <Izaya> having a -STEP frontend doesn't seem like much of a stretch
L260[07:33:14] <scj643> You have a Quassel core and then your Quassel client
L261[07:33:30] <scj643> I typically use QuasselDroid
L262[07:33:47] <scj643> Also I do weekly backups of my database
L263[07:33:53] <Izaya> I've been meaning to try out Weechat Relay but the idea of using HTTP for IM seems inherently wrong
L264[07:34:09] <scj643> Quassel uses it's own protocol
L265[07:34:22] <scj643> Which isn't HTTP
L266[07:34:28] * Izaya nods
L267[07:34:46] <scj643> Also there is a plug-in for IRSSI iirc
L268[07:34:55] <Izaya> The weechat relay protocol uses HTTP for transport
L269[07:35:03] <scj643> Eewwwww
L270[07:35:13] * Izaya is going to just stick to ZNC and Revolution
L271[07:35:27] <scj643> Quassel also syncs backlog
L272[07:36:15] <scj643> I even have backlog of some dead IRC servers
L273[07:37:37] <Izaya> I need to set up something to search IRC logs
L274[07:37:45] <Izaya> I have 10GB or so
L275[07:38:01] <Izaya> a nice CLI tool for grepping through the logs would probably work nicely
L276[07:38:20] <scj643> Elasticsearch
L277[07:38:25] <scj643> Index all of it
L278[07:38:25] <Izaya> No thanks.
L279[07:38:28] <scj643> Lol
L280[07:38:36] <Izaya> Maybe if I had a few hundred GB of logs
L281[07:38:50] <Izaya> (though I'm half inclined to say grep might be faster anyway)
L282[07:38:53] * scj643 uses Elasticsearch for indexing SQL Table and View metadata
L283[07:39:24] <scj643> Like columns and comments
L284[07:39:54] <scj643> Grep might actually be faster
L285[07:40:05] <scj643> Especially if you need wildcards
L286[07:41:18] <scj643> I managed to get infuser oil onto my bag and it got onto my work laptop
L287[07:41:34] <scj643> Now it's caked on to parts of my laptop
L288[07:41:40] <Izaya> eeegh
L289[07:41:48] <Izaya> I had juice explode in my bag at one point
L290[07:41:51] <Izaya> orange juice no less
L291[07:42:01] <scj643> OwO
L292[07:42:09] <scj643> Computer still boots
L293[07:42:10] <Izaya> had to disassemble and clean my laptop
L294[07:42:19] <Izaya> it hasn't been quite the same since
L295[07:42:19] <scj643> Going to have IT do that
L296[07:42:38] <scj643> Though explaining it to IT will be fun
L297[07:45:15] <Wattana Gaming> VAriAble TYpE cheCking be LIKe: http://tinyurl.com/yafkmws2
L298[07:45:39] ⇦ Quits: Lobeadon (Lobeadon!webchat@host234-144-static.47-85-b.business.telecomitalia.it) (Quit: webchat.esper.net)
L299[07:47:30] <TheFox> I love this error.
L300[07:47:45] <TheFox> Just not the blue screen of death. Its traumatizing lol
L301[07:47:54] <Wattana Gaming> lmao
L302[08:01:28] <ben_mkiv> meh... working on truetype support for openglasses... so apparently there are ttf fonts which are several megabytes big -.-
L303[08:01:52] <ben_mkiv> also what would be an easy way to get the ttf file on the computer? probably only wget?
L304[08:02:12] <TheFox> I would think.
L305[08:47:29] <Wattana Gaming> why tf did load()() suddenly turn into a nil value???
L306[08:47:41] <AmandaC> %roll 1d2
L307[08:47:41] <MichiBot> AmandaC: [1]
L308[08:47:58] <AmandaC> Either the code you executed didn't return anything, or the code had a syntax error.
L309[08:50:28] <Wattana Gaming> http://tinyurl.com/ycdt8rau
L310[08:50:29] <Wattana Gaming> http://tinyurl.com/ybqa6wnl
L311[08:50:29] <Wattana Gaming> http://tinyurl.com/yadxb3j9
L312[08:51:25] <AmandaC> `/bin/init.lua` has a syntax error
L313[08:52:10] <AmandaC> `load()` returns nil on a syntax error
L314[08:52:36] <Izaya> https://a.uguu.se/yCLVugXNlTBr_130487.jpg
L315[08:53:11] <Wattana Gaming> http://tinyurl.com/yamjea2k
L316[08:53:18] <Wattana Gaming> http://tinyurl.com/ydguvyw6
L317[08:57:57] <Lizzian> it might be that `require()` is not yet defined that early in the boot process
L318[08:58:05] <Lizzian> ~oc computer:api
L319[08:58:05] <ocdoc> Predicted http://ocd.cil.li/api:computer
L320[08:58:26] <AmandaC> %roll 1d3
L321[08:58:27] <MichiBot> AmandaC: [2]
L322[08:58:33] <Lizzian> ~oc component:computer
L323[08:58:33] <ocdoc> http://ocd.cil.li/component:computer
L324[08:58:38] * AmandaC slinks off to read
L325[08:58:56] <Forecaster> %fling
L326[08:58:57] * MichiBot flings electro swing in a random direction. It hits rashy on a small but very important bone. They take 9 damage.
L327[08:59:57] <Lizzian> @Wattana Gaming you might want to look into the computer component to do the shutdown stuff
L328[09:23:16] <Wattana Gaming> Hey how do I check if a string ends with "/"?
L329[09:37:15] <MGR> There's a string function for that
L330[09:37:17] <MGR> One second
L331[09:38:27] <MGR> string.find(stringA, "/", string.len(stringA)-1) should work
L332[09:39:24] ⇨ Joins: andreww (andreww!~xarses@24.5.179.230)
L333[09:39:37] <AmandaC> or `string.sub(string, -1) == "/"`
L334[09:41:23] ⇦ Quits: xarses_ (xarses_!~xarses@24.5.179.230) (Ping timeout: 190 seconds)
L335[09:42:25] <scj643> Update on the laptop they are going to try and replace it
L336[09:42:38] <scj643> Though RIP my drawing stylus for it
L337[10:40:00] <Wattana Gaming> Hi everyone
L338[10:40:34] <Wattana Gaming> Just an update about my os. The kernel is now fully functional and even load up /bin/init without any problem. I am now working on the init system
L339[10:46:37] ⇨ Joins: wattana (wattana!~wattana@node-8tr.pool-125-27.dynamic.totbb.net)
L340[10:46:39] ⇦ Quits: wattana (wattana!~wattana@node-8tr.pool-125-27.dynamic.totbb.net) (Remote host closed the connection)
L341[10:47:12] ⇨ Joins: wattana (wattana!~wattana@node-8tr.pool-125-27.dynamic.totbb.net)
L342[10:47:29] <wattana> I guess that count as a success....
L343[10:50:17] ⇦ Quits: ben_mkiv (ben_mkiv!~ben_mkiv@i577B475C.versanet.de) (Ping timeout: 180 seconds)
L344[10:55:43] ⇦ Quits: wattana (wattana!~wattana@node-8tr.pool-125-27.dynamic.totbb.net) (Quit: wattana)
L345[11:11:10] ⇦ Quits: fmate2006 (fmate2006!webchat@4E5C2302.dsl.pool.telekom.hu) (Quit: webchat.esper.net)
L346[11:24:47] <Forecaster> shhh
L347[11:24:49] <Forecaster> damn pirates
L348[11:24:50] <Forecaster> :|
L349[11:25:02] <Forecaster> now I got a mining ship blown up
L350[11:25:33] <Forecaster> I've got like 3 of those, but still
L351[11:25:48] <Michiyo> No insurance?
L352[11:29:08] <Forecaster> only the basic
L353[11:30:36] <Forecaster> it was a Covetor that I had in a random low-sec station for some reason
L354[11:32:10] <Wattana Gaming> hi. I have a small problem with my os again. When I use load()() to execute a code stored in memory, the code cant seem to access the function of its parent(the program that used load()()). How to I fix this? My kernel have the fs function but Init cant access it
L355[11:35:35] <Forecaster> damn gate campers
L356[11:35:43] <Forecaster> I need to look into warp core stablizers
L357[11:35:50] <Forecaster> I need low-sec ores...
L358[11:57:54] <Skye> @"Wattana Gaming" you need to give it an environment. let me find the document
L359[11:58:04] <Skye> ~help
L360[11:58:04] <ocdoc> Hello, I'm #oc's wiki bot.
L361[11:58:12] <Skye> ...
L362[11:58:22] <Skye> ~w load
L363[11:58:22] <ocdoc> http://www.lua.org/manual/5.2/manual.html#pdf-load
L364[12:02:40] <Skye> does that help?
L365[12:03:55] <Wattana Gaming> no
L366[12:04:36] <Wattana Gaming> the init script highly depends on the function from the kernel so i need it to be accessible. here is the source code: https://github.com/WattanaGaming/OCLinux/blob/master/bin/init.lua
L367[12:05:04] <Wattana Gaming> Not sure if its related to how the kernel load up the init script
L368[12:05:10] <Skye> erm
L369[12:05:59] <Skye> load(string_containing_entire_kernel_code, location_of_kernel, environment)
L370[12:06:21] <Skye> you should probably set environment to _G in this case
L371[12:06:29] <Skye> _G is the "global environment"
L372[12:06:38] <Skye> essentially stuff that you didn't set as local
L373[12:09:58] <Wattana Gaming> but that doesnt seem to load the init script
L374[12:10:09] ⇨ Joins: Inari (Inari!~Pinkishu@p5DEC6F83.dip0.t-ipconnect.de)
L375[12:10:13] <Skye> what
L376[12:10:32] <Skye> the init.lua file is loaded by OC, you have to start other things from it
L377[12:11:10] <Wattana Gaming> nonono init.lua is the bootloader. I make is Linux-like to the real init is at /bin/init
L378[12:11:20] <Skye> ah
L379[12:11:22] <Wattana Gaming> */bin/init.lua
L380[12:11:38] <Skye> makes sense
L381[12:11:39] <Skye> uhhh
L382[12:11:42] <Skye> yeah uh
L383[12:12:03] <Skye> what goes wrong?
L384[12:12:31] <Skye> load(string_containing_all_the_code_of_the_program_to_load location_of_kernel, environment)
L385[12:12:50] <Wattana Gaming> i'll try that
L386[12:13:03] <Skye> load(string_containing_all_the_code_of_the_program_to_load location_of_program_to_load, environment)
L387[12:15:22] <Wattana Gaming> still cant acess fs function from the kernel http://tinyurl.com/ybkc9h3p
L388[12:31:55] <Skye> I need to see your code
L389[12:32:01] <Skye> the latest version of your code
L390[12:33:07] <Skye> you didn't give it the environment
L391[12:33:15] <Skye> https://github.com/WattanaGaming/OCLinux/blob/master/boot/kernel/OCLinux.lua#L86
L392[12:33:40] <CompanionCube> https://www.theguardian.com/politics/live/2018/dec/17/brexit-latest-theresa-may-commons-statement-greg-clark-backs-cabinet-calls-for-mps-to-be-asked-to-vote-on-options-if-mays-deal-defeated-politics-live
L393[12:33:42] <CompanionCube> whee!
L394[12:46:27] ⇨ Joins: TuxMan20 (TuxMan20!~tuxman20@modemcable205.133-178-173.mc.videotron.ca)
L395[13:00:52] ⇨ Joins: themixedupstuff (themixedupstuff!webchat@88.249.130.192.static.ttnet.com.tr)
L396[13:01:11] ⇦ Quits: themixedupstuff (themixedupstuff!webchat@88.249.130.192.static.ttnet.com.tr) (Client Quit)
L397[14:04:40] ⇦ Quits: annias (annias!~annias@us56.mchost.pro) (Remote host closed the connection)
L398[14:26:52] <Wattana Gaming> @Skye I have updated it now
L399[14:43:11] ⇦ Quits: ba7888b72413a16a (ba7888b72413a16a!~ba7888b72@66.109.211.150) (Ping timeout: 202 seconds)
L400[14:46:04] <Skye> @"Wattana Gaming" change the middle option for the load to be "/bin/init.lua"
L401[14:46:50] <Skye> it won't do anything other than explain a bit morewhen it crashes
L402[14:52:52] <Inari> %pet Skye
L403[14:52:53] * MichiBot pets Skye with a glass of H2SO4. 8 health gained!
L404[14:53:04] * Skye ded
L405[14:53:16] <Inari> Vexatos: Is that good or bad
L406[14:53:46] <AmandaC> It's Sulfric Acid
L407[14:53:55] <Inari> Sounds bad
L408[14:54:01] <Inari> %pet AmandaC
L409[14:54:02] * MichiBot brushes AmandaC with a 16:1 scale inari mega-plushie. 4 health gained!
L410[14:54:15] <AmandaC> "Johnny was a chemist's son, but johnny is no more. What Johnny thought was H2O was H2SO4."
L411[14:55:05] <Wattana Gaming> Same bug, the /bin/init.lua just exit mid-execution
L412[14:55:59] <Skye> can you printscreen the error
L413[14:57:08] <AmandaC> %choose Read more of the current story, or catch up on the other stories that haev updated while you read the first 183 pages.
L414[14:57:08] <MichiBot> AmandaC: I sense some catch up on the other stories that haev updated while you read the first 183 pages. in your future!
L415[14:59:37] <AmandaC> %roll 1d3
L416[14:59:37] <MichiBot> AmandaC: [1]
L417[14:59:47] <Wattana Gaming> here http://tinyurl.com/yb6n5p9z
L418[15:16:12] ⇨ Joins: ba7888b72413a16a (ba7888b72413a16a!~ba7888b72@66.109.211.150)
L419[15:35:48] ⇦ Quits: ba7888b72413a16a (ba7888b72413a16a!~ba7888b72@66.109.211.150) (Read error: -0x1: UNKNOWN ERROR CODE (0001))
L420[15:39:12] <Kleadron> known error code*
L421[15:40:27] ⇨ Joins: ba7888b72413a16a (ba7888b72413a16a!~ba7888b72@66.109.211.150)
L422[15:44:47] ⇦ Quits: Lymia (Lymia!~lymia@2600:3c00::43:8000) (Ping timeout: 180 seconds)
L423[15:57:00] ⇨ Joins: Lymia (Lymia!~lymia@magical.girl.lyrical.lymia.moe)
L424[16:11:01] ⇨ Joins: Arimil (Arimil!~Renari@70.15.63.19)
L425[16:13:14] ⇦ Quits: Renari (Renari!~Renari@70.15.63.19) (Ping timeout: 190 seconds)
L426[16:19:33] <payonel> %lua ponk("payonel")
L427[16:19:33] <MichiBot> welp, ponk time [3 days, 21 hours, 29 minutes, 54 seconds] is reset. [Inari] keeps the ponk
L428[16:19:42] <Inari> payonel: :3
L429[16:19:49] <payonel> :#
L430[16:19:51] <Inari> %tonk
L431[16:19:52] <MichiBot> I'm sorry Inari, you were not able to beat Mimiru's record of 1 day, 5 hours, 3 minutes and 49 seconds this time.
L432[16:19:53] <MichiBot> 10 hours, 43 minutes and 9 seconds were wasted!
L433[16:20:16] <payonel> oh mine doesn't say how close i was, woops
L434[16:20:26] <payonel> Inari: how close was i?
L435[16:20:34] <Inari> No clue
L436[16:20:38] <payonel> :>
L437[16:20:52] <Inari> Tonk isn't all that interesting once it goes above a few hours really
L438[16:25:14] ⇦ Quits: Icedream (Icedream!~icedream@212.83.173.97) (Quit: A lol made me boom.)
L439[16:28:19] <payonel> *sigh* hitman 2 is (practically) always online
L440[16:28:25] <payonel> i was going to buy it, was looking forward to it
L441[16:28:40] ⇨ Joins: Icedream (Icedream!~icedream@212.83.173.97)
L442[16:28:51] <payonel> going afk. but wow, i hate online gated requirements in games
L443[16:29:31] <Inari> Heh
L444[16:31:21] <Forecaster> Technically tonk is always online
L445[16:31:50] <Inari> xD
L446[16:31:54] <Inari> %bap Forecaster
L447[16:31:55] * MichiBot baps Forecaster with the picture of a crudely drawn appendage
L448[16:33:05] ⇦ Quits: Inari (Inari!~Pinkishu@p5DEC6F83.dip0.t-ipconnect.de) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
L449[16:37:00] <JoBanJo> does any one know how to add buttons?
L450[16:51:00] ⇨ Joins: annias (annias!~annias@us56.mchost.pro)
L451[17:01:26] * CompanionCube is totally down with capping tonk at 24 hours maximum
L452[17:11:12] ⇨ Joins: johnmoore (johnmoore!~johnmoore@31.214.224.182)
L453[17:11:13] ⇦ Quits: johnmoore (johnmoore!~johnmoore@31.214.224.182) (Read error: Connection reset by peer)
L454[17:27:26] ⇨ Joins: Lobeadon (Lobeadon!~Aka@95.238.122.76)
L455[17:32:30] ⇦ Quits: Lobeadon (Lobeadon!~Aka@95.238.122.76) (Quit: Leaving)
L456[17:45:05] <JoBanJo> how do i add a bot to my discord server?
L457[17:48:07] <MGR> You can invite the bot to your server
L458[17:51:25] <JoBanJo> ok
L459[18:09:42] ⇦ Quits: annias (annias!~annias@us56.mchost.pro) (Remote host closed the connection)
L460[18:11:41] ⇦ Quits: Vexatos (Vexatos!~Vexatos@p200300C107205E11D38CFA638BDC77F6.dip0.t-ipconnect.de) (Quit: Insert quantum chemistry joke here)
L461[19:03:53] ⇨ Joins: ben_mkiv (ben_mkiv!~ben_mkiv@109.250.148.54)
L462[19:13:11] <JoBanJo> how do i make a connected texture?
L463[19:13:32] ⇨ Joins: Wiiplay123 (Wiiplay123!~Wiiplay12@70-137-59-140.lightspeed.nsvltn.sbcglobal.net)
L464[19:22:19] <AmandaC> %choose hallucinate more or irradiate
L465[19:22:20] <MichiBot> AmandaC: I'm 40% hallucinate more!
L466[19:22:49] <AmandaC> I've decided that that flavor text means "anything but (choice)"
L467[19:27:21] ⇨ Joins: aphistic (aphistic!webchat@cpe-65-28-188-48.wi.res.rr.com)
L468[19:27:56] <AmandaC> As the number one user of %choose I make that decree
L469[19:28:21] <aphistic> hey! does anyone have a good way to iterate on an OC program? I'm just starting to get into OC but i know lua and was hoping to edit things in vscode and then run it in-game
L470[19:29:07] <Izaya> turn off bufferChanges in the config then point your choice of editor (or, in the case of VSCode, web browser) at the computer files in the save dir
L471[19:29:20] <Izaya> you know we really should have a wiki article for that
L472[19:30:02] <aphistic> it would be awesome, i've been up and down the wiki
L473[19:33:06] <Izaya> tl;dr edit .minecraft/config/OpenComputers/settings.conf, find the bufferchanges line and set it to false, then you can edit the files in .minecraft/saves/world/opencomputers/fs-uuid/ with external programs
L474[19:33:52] <aphistic> cool, thanks!
L475[19:41:56] <CompanionCube> Izaya: did you read about mips
L476[19:42:04] <Izaya> hm?
L477[19:42:19] <JoBanJo> this server confuses me
L478[19:42:46] <Ethbot_Bot> How?
L479[19:42:55] <Izaya> esper is an IRC net like any other :^)
L480[19:43:11] <JoBanJo> all these bots talk like real poeple
L481[19:43:41] <Ethbot_Bot> These bots *are* real people.
L482[19:43:43] <Ethbot_Bot> In game.
L483[19:43:48] * Izaya is not in game
L484[19:43:56] <Ethbot_Bot> *kek*
L485[19:44:06] <Ethbot_Bot> Most of them are in-game i'd say
L486[19:44:10] <Izaya> I doubt it.
L487[19:44:12] <JoBanJo> ahhhhhhhh
L488[19:44:32] <Izaya> Most people in-game wouldn't be able to stay connected reliably
L489[19:45:06] <JoBanJo> right
L490[19:45:19] <Izaya> it'd be more accurate to say most aren't here at all, given bouncers exist
L491[19:45:26] <JoBanJo> do you know how to make a connected texture?
L492[19:46:40] <Izaya> CompanionCube: ?
L493[19:46:51] <JoBanJo> ???
L494[19:47:23] <Ethbot_Bot> huh
L495[19:48:07] <JoBanJo> im confused
L496[19:52:21] ⇦ Quits: erratic (erratic!erratic@shells.yourstruly.sx) (Ping timeout: 183 seconds)
L497[19:59:29] ⇦ Quits: aphistic (aphistic!webchat@cpe-65-28-188-48.wi.res.rr.com) (Quit: webchat.esper.net)
L498[20:14:17] <Ethbot_Bot> i believe ping timeouts are in-game people
L499[20:17:45] <Izaya> not necessarily
L500[20:18:13] <Izaya> but when a computer connected to IRC is unloaded it'll disconnect
L501[20:30:15] ⇨ Joins: erratic (erratic!erratic@shells.yourstruly.sx)
L502[20:51:56] <Kleadron> does it get annoying after a while
L503[20:52:16] <JoBanJo> yes
L504[20:52:38] <AmandaC> Not really, my client compresses them
L505[20:53:08] <AmandaC> https://usercontent.irccloud-cdn.com/file/AYae5cf9/Screenshot_20181217-215246.png
L506[20:54:19] <AmandaC> %choose sleep or not yet
L507[20:54:19] <MichiBot> AmandaC: I received a message from future you, said to go with sleep.
L508[20:54:33] <AmandaC> Hrm
L509[20:55:12] <AmandaC> Omnious, why would future me regret staying up late the day before a funeral
L510[20:55:48] <AmandaC> Oh well, my body agrees with future me, night nerds
L511[21:25:17] * Izaya doesn't see anyt quits/joins from anyone that hasn't talked recently
L512[21:25:31] <Izaya> https://i.imgur.com/OzEElCi.png
<<Prev Next>> Scroll to Top