<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:08:52] <DaCompu​terNerd> !tonk
L2[00:08:59] <DaCompu​terNerd> oh i failed the math
L3[00:09:08] <DaCompu​terNerd> doesn't seem it's gone through so that's interesting
L4[00:12:07] <Amanda> Because it's % not !
L5[00:21:17] <DaCompu​terNerd> ope lol
L6[00:21:23] <DaCompu​terNerd> well, too soon regardless, so good thing i got it wrong
L7[01:51:20] <Amanda> %choose continue playing with miranda or halucinate
L8[01:51:21] <MichiBot> Ama​nda: Why not both? Okay fine. "halucinate".
L9[04:07:28] * Amanda lays her head on Elfi, does a heccen zzzmew
L10[04:42:08] <Va​ur> %tonk
L11[04:42:08] <MichiBot> Kapow! Va​ur! You beat Forec​aster's previous record of 2 hours, 42 minutes and 21 seconds (By 3 hours, 38 minutes and 7 seconds)! I hope you're happy!
L12[04:42:09] <MichiBot> Vaur's new record is 6 hours, 20 minutes and 28 seconds! Vaur also gained 0.01092 (0.00364 x 3) tonk points for stealing the tonk. Position #1.
L13[06:00:31] ⇦ Quits: glasspelican (~quassel@2607:5300:201:3100::325) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
L14[06:01:03] ⇨ Joins: glasspelican (~quassel@2607:5300:201:3100::325)
L15[06:33:58] ⇨ Joins: Vexatos (~Vexatos@p200300eaef041c55803922f8db796073.dip0.t-ipconnect.de)
L16[06:33:58] zsh sets mode: +v on Vexatos
L17[06:34:29] ⇦ Quits: Thutmose (~Patrick@2620:103:a004:31::9d) (Read error: Connection reset by peer)
L18[06:35:33] ⇨ Joins: Thutmose (~Patrick@2620:103:a004:31::9d)
L19[07:05:11] ⇨ Joins: S|h|a|w|n (~shawn156@c-76-25-73-212.hsd1.co.comcast.net)
L20[07:05:20] ⇦ Quits: S|h|a|w|n (~shawn156@c-76-25-73-212.hsd1.co.comcast.net) (Client Quit)
L21[07:18:45] ⇨ Joins: ben_mkiv (~ben_mkiv@200116b81482bb00fe3497fffea975f2.dip.versatel-1u1.de)
L22[08:34:23] ⇦ Quits: glasspelican (~quassel@2607:5300:201:3100::325) (*.net *.split)
L23[08:34:23] ⇦ Quits: Michiyo (~Michiyo@50.38.54.76) (*.net *.split)
L24[08:34:23] ⇦ Quits: DBotThePony (~Thunderbi@31.220.170.28) (*.net *.split)
L25[08:34:23] ⇦ Quits: hnOsmium0001 (uid453710@id-453710.hampstead.irccloud.com) (*.net *.split)
L26[08:34:23] ⇦ Quits: Cruor (Cruor@satomi.openshell.no) (*.net *.split)
L27[08:34:23] ⇦ Quits: kan18_ (~kan18@h234.89.28.71.dynamic.ip.windstream.net) (*.net *.split)
L28[08:34:23] ⇦ Quits: Izaya (~izaya@210.1.218.92) (*.net *.split)
L29[08:34:23] ⇦ Quits: fingercomp (fingercomp@fomalhaut.me) (*.net *.split)
L30[08:34:23] ⇦ Quits: MichiBot (~MichiBot@pc-logix.com) (*.net *.split)
L31[08:34:23] ⇦ Quits: Away_21 (crystal@bronyville.me) (*.net *.split)
L32[08:34:23] ⇦ Quits: Teris (sid315557@helmsley.irccloud.com) (*.net *.split)
L33[08:34:23] ⇦ Quits: SinZ7 (thelounge@grimm.361zn.is) (*.net *.split)
L34[08:34:23] ⇦ Quits: tehbeard (~tehesper@66.228.139.228) (*.net *.split)
L35[08:34:23] ⇦ Quits: superminor2 (~super@2604:a880:800:c1::373:b001) (*.net *.split)
L36[08:34:23] ⇦ Quits: reborn (reborn@234.network) (*.net *.split)
L37[08:34:23] ⇦ Quits: daniel (~quassel@jupiter.danger-it.de) (*.net *.split)
L38[08:34:23] ⇦ Quits: SquidDev (~SquidDev@autoclave.squiddev.cc) (*.net *.split)
L39[08:34:23] ⇦ Quits: ping (~uwu@femboy.me) (*.net *.split)
L40[08:34:23] ⇦ Quits: pwootage (~pwootage@new.pwootage.com) (*.net *.split)
L41[08:34:23] ⇦ Quits: Fridtjof (~fridel@thonk.9net.org) (*.net *.split)
L42[08:34:23] ⇦ Quits: Lucifer (sid32492@id-32492.ilkley.irccloud.com) (*.net *.split)
L43[08:34:23] ⇦ Quits: Lizzy (~Lizzy@znc.theender.net) (*.net *.split)
L44[08:34:23] ⇦ Quits: lunar_sam (c44a7f2987@jabberfr.org) (*.net *.split)
L45[08:34:23] ⇦ Quits: Victorsueca (~Victor_su@190.pool90-165-120.dynamic.orange.es) (*.net *.split)
L46[08:34:23] ⇦ Quits: Arcanox (~dragonox@45.159.182.212) (*.net *.split)
L47[08:34:23] ⇦ Quits: Corded (~MichiBot@pc-logix.com) (*.net *.split)
L48[08:34:23] ⇦ Quits: Saphire (saphire@lunar.exchange) (*.net *.split)
L49[08:34:23] ⇦ Quits: ashka (~postmaste@server4.shellgratuit.com) (*.net *.split)
L50[08:34:23] ⇦ Quits: gruetzkopf (~quassel@daemon.gruetzkopf.org) (*.net *.split)
L51[08:34:23] ⇦ Quits: Chebuya (Chebuya@fomalhaut.me) (*.net *.split)
L52[08:34:23] ⇦ Quits: Kasen (~rakiru@has.anyone.really.been.far.even.as.decided.to.use.a.witch.horse) (*.net *.split)
L53[08:34:23] ⇦ Quits: Pokey (~pokey@vmi238643.contaboserver.net) (*.net *.split)
L54[08:34:23] ⇦ Quits: stephan48 (~stephanj@nemesis.stejau.de) (*.net *.split)
L55[08:34:23] ⇦ Quits: Oddstr13 (Odd@satomi.openshell.no) (*.net *.split)
L56[08:34:23] ⇦ Quits: Thutmose (~Patrick@2620:103:a004:31::9d) (*.net *.split)
L57[08:34:23] ⇦ Quits: jackie (~jackie@banana-new.kilobyte22.de) (*.net *.split)
L58[08:34:23] ⇦ Quits: CompanionCube (~samis@thonk.9net.org) (*.net *.split)
L59[08:34:23] ⇦ Quits: lordpipe (~ba7888b72@66.109.211.50) (*.net *.split)
L60[08:34:23] ⇦ Quits: Vazde (vazde@dea.fi) (*.net *.split)
L61[08:34:23] ⇦ Quits: progwml6 (~progwml6@45.159.180.88) (*.net *.split)
L62[08:34:23] ⇦ Quits: Hobbyboy (Hobbyboy@hobbyboy.co.uk) (*.net *.split)
L63[08:34:23] ⇦ Quits: Vaur (~vaur@56.ip-149-202-44.eu) (*.net *.split)
L64[08:34:23] ⇦ Quits: Forecaster (~Forecaste@2001:41d0:700:3949:2222::2) (*.net *.split)
L65[08:34:23] ⇦ Quits: infina (~infina@144.217.238.84) (*.net *.split)
L66[08:34:23] ⇦ Quits: cyn1c (~cynic@a.silly.computer) (*.net *.split)
L67[08:34:23] ⇦ Quits: Totoro (totoro@fomalhaut.me) (*.net *.split)
L68[08:34:23] ⇦ Quits: brandon3055 (~Brandon@81.25.68.254) (*.net *.split)
L69[08:34:23] ⇦ Quits: Stary (~Stary@thonk.9net.org) (*.net *.split)
L70[08:34:23] ⇦ Quits: alekso56 (~cax@84.211.54.133) (*.net *.split)
L71[08:34:23] ⇦ Quits: zsh (zsh@services.esper.net) (*.net *.split)
L72[08:35:43] ⇨ Joins: Thutmose (~Patrick@2620:103:a004:31::9d)
L73[08:35:43] ⇨ Joins: glasspelican (~quassel@2607:5300:201:3100::325)
L74[08:35:43] ⇨ Joins: Michiyo (~Michiyo@50.38.54.76)
L75[08:35:43] ⇨ Joins: Lizzy (~Lizzy@znc.theender.net)
L76[08:35:43] ⇨ Joins: jackie (~jackie@banana-new.kilobyte22.de)
L77[08:35:43] ⇨ Joins: CompanionCube (~samis@thonk.9net.org)
L78[08:35:43] ⇨ Joins: Lucifer (sid32492@id-32492.ilkley.irccloud.com)
L79[08:35:43] ⇨ Joins: Fridtjof (~fridel@thonk.9net.org)
L80[08:35:43] ⇨ Joins: pwootage (~pwootage@new.pwootage.com)
L81[08:35:43] ⇨ Joins: ping (~uwu@femboy.me)
L82[08:35:43] ⇨ Joins: daniel (~quassel@jupiter.danger-it.de)
L83[08:35:43] ⇨ Joins: SquidDev (~SquidDev@autoclave.squiddev.cc)
L84[08:35:43] ⇨ Joins: reborn (reborn@234.network)
L85[08:35:43] ⇨ Joins: superminor2 (~super@2604:a880:800:c1::373:b001)
L86[08:35:43] anarchy.esper.net sets mode: +v on superminor2
L87[08:35:43] ⇨ Joins: tehbeard (~tehesper@66.228.139.228)
L88[08:35:43] ⇨ Joins: SinZ7 (thelounge@grimm.361zn.is)
L89[08:35:43] ⇨ Joins: Teris (sid315557@helmsley.irccloud.com)
L90[08:35:43] ⇨ Joins: Away_21 (crystal@bronyville.me)
L91[08:35:43] ⇨ Joins: MichiBot (~MichiBot@pc-logix.com)
L92[08:35:43] ⇨ Joins: fingercomp (fingercomp@fomalhaut.me)
L93[08:35:43] ⇨ Joins: Izaya (~izaya@210.1.218.92)
L94[08:35:43] ⇨ Joins: kan18_ (~kan18@h234.89.28.71.dynamic.ip.windstream.net)
L95[08:35:43] ⇨ Joins: Cruor (Cruor@satomi.openshell.no)
L96[08:35:43] ⇨ Joins: hnOsmium0001 (uid453710@id-453710.hampstead.irccloud.com)
L97[08:35:43] ⇨ Joins: DBotThePony (~Thunderbi@31.220.170.28)
L98[08:35:43] ⇨ Joins: lunar_sam (c44a7f2987@jabberfr.org)
L99[08:35:43] ⇨ Joins: Victorsueca (~Victor_su@190.pool90-165-120.dynamic.orange.es)
L100[08:35:43] ⇨ Joins: alekso56 (~cax@84.211.54.133)
L101[08:35:43] ⇨ Joins: Arcanox (~dragonox@45.159.182.212)
L102[08:35:43] ⇨ Joins: Corded (~MichiBot@pc-logix.com)
L103[08:35:43] ⇨ Joins: lordpipe (~ba7888b72@66.109.211.50)
L104[08:35:43] ⇨ Joins: Vazde (vazde@dea.fi)
L105[08:35:43] ⇨ Joins: progwml6 (~progwml6@45.159.180.88)
L106[08:35:43] ⇨ Joins: Saphire (saphire@lunar.exchange)
L107[08:35:43] ⇨ Joins: ashka (~postmaste@server4.shellgratuit.com)
L108[08:35:43] ⇨ Joins: gruetzkopf (~quassel@daemon.gruetzkopf.org)
L109[08:35:43] ⇨ Joins: Chebuya (Chebuya@fomalhaut.me)
L110[08:35:43] ⇨ Joins: Hobbyboy (Hobbyboy@hobbyboy.co.uk)
L111[08:35:43] ⇨ Joins: Kasen (~rakiru@has.anyone.really.been.far.even.as.decided.to.use.a.witch.horse)
L112[08:35:43] ⇨ Joins: Vaur (~vaur@56.ip-149-202-44.eu)
L113[08:35:43] ⇨ Joins: Forecaster (~Forecaste@2001:41d0:700:3949:2222::2)
L114[08:35:43] ⇨ Joins: Pokey (~pokey@vmi238643.contaboserver.net)
L115[08:35:43] ⇨ Joins: infina (~infina@144.217.238.84)
L116[08:35:43] ⇨ Joins: cyn1c (~cynic@a.silly.computer)
L117[08:35:43] ⇨ Joins: stephan48 (~stephanj@nemesis.stejau.de)
L118[08:35:43] ⇨ Joins: Totoro (totoro@fomalhaut.me)
L119[08:35:43] anarchy.esper.net sets mode: +v on Forecaster
L120[08:35:43] ⇨ Joins: Oddstr13 (Odd@satomi.openshell.no)
L121[08:35:43] ⇨ Joins: brandon3055 (~Brandon@81.25.68.254)
L122[08:35:43] ⇨ Joins: Stary (~Stary@thonk.9net.org)
L123[08:35:43] ⇨ Joins: zsh (zsh@services.esper.net)
L124[08:35:43] anarchy.esper.net sets mode: +o on zsh
L125[08:44:37] <Forec​aster> %sip
L126[08:44:38] <MichiBot> You drink a slimy rainbow potion (New!). Forecaster shrinks by a negligible amount until the next time they hug someone.
L127[08:50:29] <Va​ur> %sip
L128[08:50:29] <MichiBot> You drink a runny orange potion (New!). Everything Vaur says is now in Wingdings until they see a bird.
L129[09:26:18] ⇦ Quits: Michiyo (~Michiyo@50.38.54.76) (Read error: Connection reset by peer)
L130[09:54:55] <Pokem​an2003> So, I've run into an interesting problem
L131[09:56:55] <Pokem​an2003> I've got this init.lua. Pretty simple configuration, all I'm attempting to do is fill the entire screen with pound symbols, as a test.
L132[09:56:55] <Pokem​an2003> Code Block pastebined https://paste.pc-logix.com/uhojepiwej
L133[09:59:20] <Pokem​an2003> A quick run down:A temporary variable gets established>comp is the proxy to access component>monitor becomes the proxy for the GPU>display becomes the proxy for screen>I attempt to force bind the GPU to the screen>I make a width and height based on the maxResolution>I fill the screen with my desired symbol
L134[10:01:19] <Pokem​an2003> Now, as far as I can tell, my code *should* be perfectly valid, albeit a bit strange way of going about it.
L135[10:01:19] <Pokem​an2003> Except, it's not.
L136[10:01:19] <Pokem​an2003> The moment I call either `monitor.maxResolution()` or `monitor.bind(display)`, I get the error `attempt to call field 'bind/maxResolution' (a nil value)`, and I cannot for the life of me figure out why
L137[10:02:13] <Pokem​an2003> Hang on there's new channels, was I suppsoed to go to #1337c0de for help?
L138[10:06:03] <M​GR> No, this is the right channel
L139[10:10:56] <Pokem​an2003> Okay, good.
L140[10:25:15] <Forec​aster> @Pokeman2003 you are calling component.list with an undefined variable as the first argument
L141[10:25:33] <Forec​aster> passing nil as the first argument makes it return a table of all components
L142[10:25:49] <Forec​aster> the () makes it return the first entry which is probably not the one you want
L143[10:26:15] <Forec​aster> you probably meant to pass gpu and screen as strings
L144[10:26:52] <Forec​aster> ie `copm.list("gpu", true)()`
L145[10:27:43] <Pokem​an2003> Oh you know what, that is EXACTLY the problem. I'm exhausted, and somehow missed that OpenOS had quotation marks
L146[10:27:46] <Forec​aster> also maxResolution and fill are methods on the gpu, not the screen
L147[10:28:07] <Pokem​an2003> (monitor is the GPU, display is the screen)
L148[10:28:09] <Forec​aster> actually maxResolution might be the screen, not sure
L149[10:28:24] <Forec​aster> ah
L150[10:28:32] <Pokem​an2003> maxResolution is the GPU, it grabs either the largest resolution the GPU can put out or the screen's max resolution, whichever comes first
L151[10:28:47] <Forec​aster> I always just call the gpu proxy `gpu`
L152[10:28:50] ⇦ Quits: Izaya (~izaya@210.1.218.92) (Quit: ZNC 1.8.2+deb2+b1 - https://znc.in)
L153[10:29:01] <Forec​aster> it's shorter than "monitor"
L154[10:29:02] <Pokem​an2003> I'm calling this PKM and making it one of the worst possible OSes I can make as a joke so
L155[10:29:05] <Redston​eParkour> also you can put the component.list(...)() call inside of the component.proxy(...) call
L156[10:29:07] <Pokem​an2003> (Program Keyboard Monitor)
L157[10:29:52] ⇨ Joins: Izaya (~izaya@210.1.218.92)
L158[10:30:41] <Pokem​an2003> I wish when it threw a bad argument that it would also have the line of where the error occured.
L159[10:31:21] <Redston​eParkour> nope, lua doesnt check your code for you
L160[10:31:42] <Pokem​an2003> I didn't demand for it to do so, I just said I wish it would because that's a very nice QoL thing.
L161[10:32:10] <Pokem​an2003> I understand that most Lua interpreters kind of get to a point where that's impossible, but still. Let a man wish for impossible things.
L162[10:32:50] <Redston​eParkour> well it could also be possible that some file loaded earlier defines `gpu` and `screen`
L163[10:33:18] <Forec​aster> you mean like this https://tinyurl.com/2azxxl58
L164[10:33:42] <Pokem​an2003> Yeah kind of like that, except for when you're working with init.lua itself
L165[10:34:06] <Pokem​an2003> It does it for pretty much any other error, but *not* bad arguments for some reason, and I just know that it's not really an option for most interpreters to display that error line.
L166[10:34:44] <Redston​eParkour> passing nil as the first argument to component.list is valid
L167[10:35:29] <Izaya> a function can throw an error if it doesn't like the arguments you give it
L168[10:35:43] <Redston​eParkour> passing nil as the first argument to something like pairs is (probably) invalid
L169[10:35:55] <Izaya> a nil filter just says "give me everything" though
L170[10:36:19] <Pokem​an2003> It's this error I'm referring to... https://tinyurl.com/2dasfx7l
L171[10:36:42] <Redston​eParkour> >Izaya: a function can throw an error if it doesn't like the arguments you give it
L172[10:36:42] <Redston​eParkour> it can also respond with a false, string value to indicate an error
L173[10:37:46] <Pokem​an2003> Well, figured it out, I'm still somehow in the wrong but I mean... for something like this, I don't need to be extra sure about my screens I suppose.
L174[10:38:00] <Pokem​an2003> (`monitor.bind(display)` is the offending piece of code)
L175[10:38:13] <Redston​eParkour> >Pokeman2003: It's this error I'm referring to...
L176[10:38:13] <Redston​eParkour> step 1 is to wrap everything in a xpcall that on error returns `false, reason.."\n"..debug.traceback()`
L177[10:38:37] <Redston​eParkour> meaning you get at least a stack trace
L178[10:38:50] <Pokem​an2003> I barely understand basic Lua, xpcall is way out of my jurisdiction. I'll figure that out soon enough considering it sounds incredibly useful.
L179[10:39:28] <Redston​eParkour> xpcall is pcall but with a custom error handler
L180[10:39:40] <Redston​eParkour> and pcall catches lua errors
L181[10:39:47] <Pokem​an2003> Alright, noted. That'll be useful for sure.
L182[10:40:22] <Pokem​an2003> So, out of curiosity, when you proxy something, does that not give you the address?
L183[10:40:34] <Redston​eParkour> proxy.address is a thing
L184[10:40:49] <Redston​eParkour> (with proxy being the returned proxy)
L185[10:41:21] <Pokem​an2003> Well yeah, thanks. I was just caught off guard because apparently directly pointing to the temporary table full of screens actually fixed the bind error
L186[10:42:29] <Redston​eParkour> component.list actually returns a table with an __call metatable value that iterates over the table
L187[10:43:07] <Pokem​an2003> ~~Oh good god what have I stepped into?~~
L188[10:43:18] <Redston​eParkour> metatable magic
L189[10:43:49] <Redston​eParkour> just think of it as both an iterator and a table
L190[10:44:57] <Pokem​an2003> Well I kind of know that, it just caught me off guard that *that* was the way things were going to go. I shouldn't be doing this while exhausted.
L191[10:45:34] <Pokem​an2003> And so it begins https://tinyurl.com/2bktxvbo
L192[10:45:55] <Forec​aster> That screen is taking quite a pounding
L193[10:46:01] <Pokem​an2003> Well anyways, thanks for the help. I'm going to go sleep now. Goodnight everyone who is in any North American time zone!
L194[11:02:59] <Va​ur> Don't mind me %tonkout
L195[11:02:59] <MichiBot> Awesome! Va​ur! You beat your own previous record of 6 hours, 20 minutes and 28 seconds (By 22 seconds)! I hope you're happy!
L196[11:03:00] <MichiBot> Va​ur has tonked out! Tonk has been reset! They gained 0.006 tonk points! plus 0.01 bonus points for consecutive hours! Current score: 2.73767625, Position #1
L197[12:29:31] ⇨ Joins: Test (~Test@188.162.3.193)
L198[12:29:40] ⇦ Quits: Test (~Test@188.162.3.193) (Client Quit)
L199[14:16:02] <Amanda> Bye Test
L200[15:21:36] <lunar_sam> holy shit i just had a genius idea, i need to make sure it works though
L201[15:44:58] <Amanda> no wait, that's illegal1
L202[15:56:50] <lunar_sam> holy _fuck_ that's an ugly hack
L203[15:57:00] <lunar_sam> but it works
L204[15:57:22] <lunar_sam> so, i came up with a way to add 64-bit dates and other extended metadata to cpio
L205[15:57:53] <lunar_sam> :v just have a file entry with a mode of 0 behind it and tack it on as the highest bits
L206[15:57:59] <lunar_sam> it _technically_ works
L207[15:58:33] <lunar_sam> gnu cpio complains with "unknown file type" but who cares
L208[15:59:14] <lunar_sam> it's not a fatal error so it's `fine`
L209[16:02:53] <lunar_sam> also the -t output looks a bit wacky but it can be filtered out with grep
L210[16:52:16] ⇨ Joins: luihum (~luihum@host86-179-253-95.range86-179.btcentralplus.com)
L211[16:53:19] ⇦ Quits: luihum (~luihum@host86-179-253-95.range86-179.btcentralplus.com) (Client Quit)
L212[17:10:01] <deal​fons> Hi, how can i connect one server over long distances? (other computers connect using wireless cards). I tried access points but they started to get overloaded after some amount (packets and queue will get full)
L213[17:14:45] <Forec​aster> a server works exactly the same as a computer
L214[17:15:15] <Amanda> If the packets and queues are filling up, ti sounds like you have a routing loop
L215[17:15:34] <Amanda> or very heavy trafic
L216[17:19:54] <deal​fons> >Forecaster: a server works exactly the same as a computer
L217[17:19:55] <deal​fons> I get that. Dont know how to do it using a computer either.
L218[17:20:06] <deal​fons> >Amanda: If the packets and queues are filling up, ti sounds like you have a routing…
L219[17:20:07] <deal​fons> How would one diagnose if there is a loop?
L220[17:20:30] <B​ob> send a packet and see if it comes back
L221[17:20:34] <B​ob> by itself that is
L222[17:20:58] <B​ob> then try cutting the network at various points, to see where the loop occurs
L223[17:21:01] <B​ob> and what kind of loop it is
L224[17:22:49] <deal​fons> Ok thanks! Will have a look around. Also do i get it correctly that if the range of an access point is lets say 400. That means i have to place an AP every 400 blocks to still have a signal?
L225[17:23:05] <Amanda> Blocks block signals, depending on their hardness
L226[17:23:22] <Amanda> also make sure the routers aren't set to rebroadcast AP packets, or that's where your loop's coming form
L227[17:25:37] ⇦ Quits: DBotThePony (~Thunderbi@31.220.170.28) (Read error: Connection reset by peer)
L228[17:27:05] <deal​fons> >Amanda: also make sure the routers aren't set to rebroadcast AP packets, or that's …
L229[17:27:05] <deal​fons> I currently do not have a "router" of sorts. All i did was conenct an AP to the server. And placed another AP to a computer further away (with an wireless card tier 2).
L230[17:27:05] <deal​fons> The connection worked. But now i have a building that is like 8k blocks away so i placed an AP every 100 blocks. Now the network is pretty random, sometimes i get connection on an AP then the other time i go to the same AP and dont have one and the AP at the server is overloaded.
L231[17:27:52] <Amanda> The APs are probably spamming the broadcast packets back and forth between eachother
L232[17:28:31] <Amanda> I'd suggesdt using a linked card and a higher-level networking stack like minitel for stuff liek this
L233[17:30:21] <Forec​aster> %tonk
L234[17:30:21] <MichiBot> Sard! Forec​aster! You beat Va​ur's previous record of <0 (By 6 hours, 27 minutes and 22 seconds)! I hope you're happy!
L235[17:30:22] <MichiBot> Forecaster's new record is 6 hours, 27 minutes and 22 seconds! Forecaster also gained 0.00646 tonk points for stealing the tonk. Position #2. Need 0.44145 more points to pass Va​ur!
L236[17:30:27] <Amanda> Or I guess GERT would work, cause MGR probably already DM'd you the sales pitch
L237[17:30:34] <Mic​hiyo> lol
L238[17:30:41] ⇨ Joins: DBotThePony (~Thunderbi@31.220.170.28)
L239[17:31:48] <deal​fons> Ah okay. Never knew about minitel so not sure about that. And the linked card would be great the problem is that it works only in pairs.
L240[17:31:49] <deal​fons> Also a weird question but cannot i directly connect the server over long distance with cables and then just put an AP to the end of the cable (so other computers in that range also have connection)
L241[17:32:14] <Amanda> OC requires all the wire's chunks to be loaded
L242[17:32:30] <deal​fons> I see
L243[17:33:01] <Amanda> Also linked cards coming inpairs is what the higher-level networking stack helps with. It can "find" routes, over normal OC networking, or over linekd cards, and save that route
L244[17:33:31] <Amanda> I use them in my tablets with a regular wireless modem as well, and minitel lets me access my base systems jyst the same
L245[17:33:47] <Amanda> but my entire base control stack's built ontop of minitel, so that helps
L246[18:12:14] <lunar_sam> minitel is cool
L247[18:16:02] <lunar_sam> hey
L248[18:16:20] <lunar_sam> Izaya: when do we make our own microcomputer from the ground up
L249[18:23:28] ⇦ Quits: ben_mkiv (~ben_mkiv@200116b81482bb00fe3497fffea975f2.dip.versatel-1u1.de) (Quit: Leaving)
L250[18:30:02] ⇦ Quits: Thutmose (~Patrick@2620:103:a004:31::9d) (Read error: Connection reset by peer)
L251[18:32:11] ⇨ Joins: Thutmose (~Patrick@67.21.186.253)
L252[18:37:11] <Kristo​pher38> lunar_sam: i have a prof at uni which is into this kind of stuff and has already built two, and his own processor
L253[18:37:23] <lunar_sam> oh shit
L254[18:37:24] <lunar_sam> neat
L255[18:39:11] <Kristo​pher38> I like to think we're best buddies cause the age gap isn't that wide
L256[18:49:30] ⇦ Quits: Amanda (~m-yt727s@c-73-165-62-84.hsd1.pa.comcast.net) (Remote host closed the connection)
L257[18:55:20] <lunar_sam> heh
L258[18:55:28] <lunar_sam> did ya see my latest hack?
L259[18:56:32] <Va​ur> latest hack ? what did you hack ? was it ethical ?
L260[18:56:44] <lunar_sam> the cpio format
L261[18:56:48] <lunar_sam> i hacked the cpio format
L262[18:56:51] ⇨ Joins: Amanda (~m-yt727s@c-73-165-62-84.hsd1.pa.comcast.net)
L263[18:56:55] <lunar_sam> added 64-bit times
L264[18:56:57] <Va​ur> right
L265[18:57:01] <lunar_sam> 32-bit uids/gids
L266[18:57:07] <lunar_sam> is that ethical or not
L267[18:57:28] <Va​ur> yes
L268[18:58:26] <lunar_sam> it's even compatible with gnu cpio
L269[19:35:13] <Z0id​berg> I have a mikrotik router working on bhyve
L270[19:35:19] <Z0id​berg> Whee virtual routers
L271[19:35:40] <Z0id​berg> Virtualizing your router is the best thing since sliced bread
L272[19:38:15] <Forec​aster> Why?
L273[19:46:33] <Pokem​an2003> I have a technical question. Let's say, I have a loaded file, and it's filled with functions. I want it to share the same scope as the thing that called it(in this case, init.lua). How would I go about that?
L274[19:46:34] <Pokem​an2003> For reference, I'm loading the file into a string, and then executing it with a load()().
L275[19:47:23] <Forec​aster> not sure what you mean
L276[19:47:44] <Forec​aster> by "share scope"
L277[19:49:34] <Pokem​an2003> Okay, so I have a number of local variables that I cannot make global because OpenComputers shits itself if I do. This is all fine and good, but these local variables happen to be the proxies to the system components. Now, when I load my file into memory and execute it, it does NOT have any access to the local variables in init.lua, so where `error(monitor)` in init.lua would give me an address, `error(monitor)` in my file would give me nil.
L278[19:50:18] <Pokem​an2003> (Excuse my language.)
L279[19:51:37] <Forec​aster> pass a table to it, add data to the table, then return it
L280[19:52:05] <Pokem​an2003> Would you mind giving a psuedocode example? I'm not quite sure I follow.
L281[19:52:23] <Forec​aster> actually you don't need to pass it a table I suppose
L282[19:53:48] <Forec​aster> Code Block pastebined https://paste.pc-logix.com/dalixoziju
L283[19:53:52] <Forec​aster> Something like that
L284[19:54:12] <Forec​aster> %lua local func, err = load("return { 'stuff': 'things', 'other': 'stuff' } end") stuff = func() print(stuff)
L285[19:54:12] <MichiBot> main:1: attempt to call local 'func' (a nil value)
L286[19:54:22] <Forec​aster> huh
L287[19:54:35] <Forec​aster> oh
L288[19:55:03] <Forec​aster> %lua local data, err = load("return { 'stuff': 'things', 'other': 'stuff' } end") print(data)
L289[19:55:03] <MichiBot> nil
L290[19:55:22] <Pokem​an2003> Try a semicolon between end") and print(data)
L291[19:55:29] <Pokem​an2003> %lua local data, err = load("return { 'stuff': 'things', 'other': 'stuff' } end");print(data)
L292[19:55:29] <MichiBot> nil
L293[19:55:31] <Pokem​an2003> oh
L294[19:55:33] <Forec​aster> lua doesn't need semicolons
L295[19:55:49] <Pokem​an2003> Lua does for multiple commands per line, according to their reference guide.
L296[19:56:21] <Pokem​an2003> Granted I might be looking at an outdated one.
L297[19:56:33] <Forec​aster> hold on, I'm booting up an emulator
L298[19:57:05] <Forec​aster> y
L299[19:57:16] <Forec​aster> that was supposed to go in the emulator
L300[19:58:03] <Amanda> or was it!?
L301[20:00:33] <Pokem​an2003> I think the weirdest part is that the moment I drop local from, say, `local monitor = comp.proxy(temp)`, it no longer considers init.lua a file
L302[20:02:16] <Pokem​an2003> Well, most of the time anyways. And when it does, it throws a nonsensical error, like `18: = expected near "monitor"`. Line 18 is `monitor.bind(screen)`.
L303[20:02:41] <Pokem​an2003> This is probably where xpcall comes in handy, but I'm still figuring that one out.
L304[20:03:04] <Forec​aster> okay, this example actually works
L305[20:04:03] <Forec​aster> Code Block pastebined https://paste.pc-logix.com/ekatanumox
L306[20:05:07] <Forec​aster> In this, the loaded string just returns an indexed table containing the strings "stuff" and "thing" which should be printed when this code is run
L307[20:05:29] <Pokem​an2003> Okay, cool.
L308[20:06:38] <Pokem​an2003> This still has a bit of a problem though, if I'm reading this correctly.
L309[20:06:58] <Forec​aster> I've run it, it works
L310[20:07:09] <Pokem​an2003> That's not the problem, the code there is perfectly fine.
L311[20:07:22] <Pokem​an2003> The problem is that I can't access local variables from within the file itself, since it's not on the same scope.
L312[20:07:36] <Forec​aster> you can access the table it returns
L313[20:07:43] <Forec​aster> that's the point
L314[20:09:44] <Pokem​an2003> Okay, here's my problem. I'm truncating this a bit because I only need part of it.
L315[20:09:45] <Pokem​an2003> Code Block pastebined https://paste.pc-logix.com/efazamitapHere's my init.lua. So far, everything is peachy.
L316[20:09:45] <Pokem​an2003> Code Block pastebined https://paste.pc-logix.com/mikihuhocu Here's my calls.sys.
L317[20:09:56] <Forec​aster> also, I am dumb, an associative table is written as ` { key = "value" }`
L318[20:10:22] <Pokem​an2003> Now, hypothetically, this *should* work.
L319[20:10:23] <Pokem​an2003> It doesn't. `monitor.fill(...)` provides the error of `attempt to index global "monitor" (a nil value)`
L320[20:11:19] <Pokem​an2003> wait crud I truncated the wrong part hang on
L321[20:11:33] <Pokem​an2003> There we are, fixed.
L322[20:12:40] <Forec​aster> okay this is the other way around from what I read earlier
L323[20:12:52] <Forec​aster> it sounded like you were assigning things in the load that you wanted out
L324[20:12:56] <Forec​aster> but this is the opposite
L325[20:13:41] <Pokem​an2003> My apologies, I didn't sleep well.
L326[20:16:39] <Pokem​an2003> In the simplest terms, I'm trying to get calls.sys to be treated like it's a part of init.lua
L327[20:18:02] <Forec​aster> you can't do that, but you don't need to
L328[20:19:16] <Forec​aster> Code Block pastebined https://paste.pc-logix.com/akefotehir
L329[20:19:26] <Forec​aster> https://tinyurl.com/27rs2qy3
L330[20:19:36] <Forec​aster> https://tinyurl.com/2ylbvw3r
L331[20:20:43] <Forec​aster> just add "monitor" as an argument and pass it to the function when you call it
L332[20:21:49] <Pokem​an2003> That's nice and all but also means that all other programs will need to find the address manually.
L333[20:22:17] <Forec​aster> what do you mean "find the address manually"
L334[20:22:53] <Pokem​an2003> Make their own GPU proxy.
L335[20:22:53] <Pokem​an2003> These are supposed to be functions you can call on the fly without worrying about manually grabbing everything yourself.
L336[20:23:33] <Pokem​an2003> You know how print isn't a command in OpenComputers but is apart of the OpenOS API? Thats what I'm essentially attempting to achieve.
L337[20:25:43] <Pokem​an2003> You don't need to create a GPU proxy to use print, OpenOS already does that for you, yknow?
L338[20:27:33] <Forec​aster> then look at how OpenOS handles print
L339[20:28:13] <Pokem​an2003> I haven't found it yet, but I can't say the thought didn't cross my mind. I'll go look.
L340[20:29:20] <Amanda> "no globals" is a concern for userspace, not kernelspace, if you're making your own OS, you'll need globa
L341[20:29:23] <Amanda> * globals
L342[20:31:39] <Pokem​an2003> Well I've been trying that, but the moment I switched the components to globals, it began to fall apart.
L343[20:31:57] <Forec​aster> https://github.com/MightyPirates/OpenComputers/blob/af2db43c53b9690fceabfb813987572bf2258db5/src/main/resources/assets/opencomputers/loot/openos/boot/00_base.lua#L32
L344[20:32:19] <Forec​aster> This looks to be where print is defined
L345[20:32:27] <Forec​aster> but it just uses io.stdout
L346[20:36:34] <Pokem​an2003> Here, Amanda, let me explain the current problem I've run into with globals.
L347[20:36:34] <Pokem​an2003> Code Block pastebined https://paste.pc-logix.com/ojixuyebarThis right here is the full beginning section of my init.lua, before I even attempt to actually do something with the computer itself. Notice how monitor(GPU), display(screen), device(computer), and fs(booted media) are all local?
L348[20:37:36] ⇨ Joins: Endington (~Endington@068-189-242-205.res.spectrum.com)
L349[20:37:42] <Pokem​an2003> The reason for this was originally because I was following OpenOS' lead on how IT handled this(all of its own components are local.) Eventually though, I decided I wanted to do globals. The problem is that when you drop local from all of them, OpenComputers decides it no longer wants to operate.
L350[20:38:09] <Amanda> Don't talk to me like I'm a child. You should Be more consise in what OpenOS is saying, and what you expect.
L351[20:41:13] ⇦ Quits: Izaya (~izaya@210.1.218.92) (Quit: ZNC 1.8.2+deb2+b1 - https://znc.in)
L352[20:41:22] <Amanda> s/OpenOS/OC/
L353[20:41:22] <MichiBot> <Amanda> Don't talk to me like I'm a child. You should Be more consise in what OC is saying, and what you expect.
L354[20:41:22] <Amanda> Paste full files, not tiny snippets of what you _think_ contains the errors.
L355[20:41:22] <Pokem​an2003> I'm trying to thoroughly walk you through my problem because I'm pretty sure I can't send you images. I'm sorry that it comes off as patronizing, that's not my intention.
L356[20:41:22] <Pokem​an2003> Fine you know what?
L357[20:41:22] <Pokem​an2003> Okay cool we can do that.
L358[20:41:22] ⇦ Quits: Endington (~Endington@068-189-242-205.res.spectrum.com) (Client Quit)
L359[20:41:22] <Pokem​an2003> Code Block pastebined https://paste.pc-logix.com/qasebaruha
L360[20:41:22] <Pokem​an2003> This is the entirety of my init.lua, in all of it's crapshot glory.
L361[20:41:22] <Pokem​an2003> I'm insecure about my coding, that's *why* I truncate it.
L362[20:41:22] <Amanda> And what exactly does OC say when you remove the "local" in front of "monitor"?
L363[20:41:22] <Pokem​an2003> The problem occurs when you drop the locals from monitor, display, device, and fs. For the most part, the only error that will come up is that init.lua no longer exists. That is *totally* nonsensical.
L364[20:41:23] <Pokem​an2003> HOWEVER, if it does decide to give you a different error, the error that comes up in its current state is line 18(`monitor.bind(display.address)`), where it expects an =s sign next to monitor for some ungodly reason.
L365[20:41:27] <Amanda> Are you sure you didn't make a typo when removing local, making the syntax invalid
L366[20:41:50] <Pokem​an2003> Code Block pastebined https://paste.pc-logix.com/vumacixilaDoes this look like invalid syntax to you?
L367[20:42:35] <Pokem​an2003> I don't see any problem with it, but there might be one I missed. I am pretty well known for missing major problems in my own code, such as last night with the whole `comp.list(gpu, true)` business.
L368[20:42:50] ⇨ Joins: Izaya (~izaya@210.1.218.92)
L369[20:43:12] <Forec​aster> according to IDEA the only "error" in this is that `evt` is not used anywhere
L370[20:43:45] <Pokem​an2003> Somewhat intentional at the moment, as you can imagine.
L371[20:44:21] <Pokem​an2003> Oh, there is a more subtle error in this code actually
L372[20:44:23] <Pokem​an2003> I just noticed it.
L373[20:44:36] <Pokem​an2003> `local monitorx, monitory` should really have its local dropped too.
L374[20:45:07] <Pokem​an2003> That's not valid though, is it?
L375[20:45:43] <Pokem​an2003> Oh I've found my issue. I can just fix it with `monitorx, monitory = 0`.
L376[20:45:58] <Pokem​an2003> I mean I knew I was missing something but man, why do people even think I'm remotely intelligent?
L377[20:46:28] <stephan48> ah you didn't drop the line but just left monitor and so on as single statement?
L378[20:47:13] <stephan48> also that is not what you expect... set both to 0 explicitly
L379[20:47:33] <Pokem​an2003> Eh?
L380[20:47:37] <stephan48> or drop the "declaration" completly.
L381[20:48:00] <stephan48> monitorx, monitory = 0 -> translates to monitory = 0 and the compiler craps itself about monitorx anyways
L382[20:49:17] <Pokem​an2003> Ah, alright. I've dropped the declaration. Not sure why I had that earlier, I suspect that I might've tried doing it while doing major refactoring, which is a really bad idea, at least in my case because it always means something catastrophically fails.
L383[21:30:37] ⇨ Joins: misha (~misha@195.18.18.244)
L384[21:31:26] ⇦ Quits: misha (~misha@195.18.18.244) (Client Quit)
L385[21:43:13] ⇨ Joins: Thutmose1 (~Patrick@2620:103:a004:31::38)
L386[21:44:44] ⇦ Quits: Thutmose (~Patrick@67.21.186.253) (Ping timeout: 189 seconds)
L387[22:03:04] <deal​fons> Hey, stupid question but how do i analyze with an tablet that has analyzer and a disk drive equipped? (left shift + right click opens disk drive and restarts the tablet)
L388[22:09:46] <Amanda> shift + rightclick, bu tyou have to hold it for several seconds
L389[22:10:26] <Amanda> That annoyed me so much I made an addon mod that binds middle-mouse to it as well. :P
L390[22:11:17] <deal​fons> that seems to just reboot my tablet
L391[22:14:52] <Amanda> Oh right, there's a sweet spot between too long and too short
L392[22:14:58] <Amanda> Try for roughly 1.5s
L393[22:21:42] <deal​fons> >Amanda: That annoyed me so much I made an addon mod that binds middle-mouse to it a…
L394[22:21:43] <deal​fons> Would you mind providing me with a link for that mod? 😄
L395[22:23:28] <Amanda> It's 1.12 only, and I am not going to provide support for it, but: https://gitlab.darkdna.net/amanda/mc-opentablets/-/jobs/17295
L396[22:23:47] <Amanda> Click the "Download" button under "Job Artifacts" on the right, the jar will be in a zip
L397[22:24:14] <Amanda> It also doesn't support rebinding it, it's hard-coded to middle-mouse
L398[22:24:28] <deal​fons> Ah i am on 1.7.10, thanks anyways. Might use it in later modpacks though
L399[22:24:52] <Amanda> It also allows tablets and other OC devices to receive energy int he inventory from FE
L400[22:25:24] <Amanda> So you don't have to charge your tablet seperately from your powered drill or whatever
L401[22:25:35] <Amanda> assuming you have a batpack or simialr
L402[22:25:59] <deal​fons> i do yeah
L403[22:26:34] <Amanda> %choose cubes or spaaace
L404[22:26:34] <MichiBot> Ama​nda: Haven't you always gone with "cubes"? Hm, maybe not.
L405[22:26:43] <Amanda> Hrm... yeah, so space
L406[22:26:49] <Amanda> Once it finishes downloading
L407[23:01:34] ⇨ Joins: Hawk777 (~Hawk777@2607:c000:8282:ff00:4e10:940f:d82b:b5aa)
L408[23:20:28] ⇦ Quits: Vexatos (~Vexatos@p200300eaef041c55803922f8db796073.dip0.t-ipconnect.de) (Quit: Insert quantum chemistry joke here)
<<Prev Next>> Scroll to Top