<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:57:44] * Amanda teaches Elfi how to steal the power of a Dream Walker to get to see all kinds of fun worlds
L2[00:57:52] <Amanda> Night girls
L3[01:55:38] <PewPew​Cricket> https://discordembeds.pc-logix.com/live/1715133338378.png
L4[01:55:44] <PewPew​Cricket> uh, openOS didnt like my program
L5[02:52:17] <Corded> > <PewPew​Cricket> uh, openOS didnt like my program
L6[02:52:17] <PewPew​Cricket> I've asked many people and no one can seem to see the issue
L7[03:09:53] <Corded> > <PewPew​Cricket>
L8[03:09:53] <PewPew​Cricket> Let me log the full error real quick
L9[03:09:56] <PewPew​Cricket> In a file
L10[03:54:52] <stephan48> and maybe the full code? :P
L11[05:01:04] <Corded> > <PewPew​Cricket>
L12[05:01:04] <Ocawes​ome101> you know you've done something right when your error traceback is more than 50 lines
L13[05:10:08] <PewPew​Cricket> It was 150+
L14[05:10:20] <PewPew​Cricket> I forgot to close a string, thays literally it
L15[05:10:39] <PewPew​Cricket> Everyone was so focused on looking for something that would break everything really badly
L16[05:10:54] <PewPew​Cricket> We didn't see the lack of an ending "
L17[05:11:01] <PewPew​Cricket> On a string
L18[05:11:25] <PewPew​Cricket> Idk how that crashed process.lua's error handler though
L19[05:11:30] <PewPew​Cricket> Lol
L20[06:15:00] <Spider ​EveryOS> %tonkout because I am going to sleep
L21[06:15:00] <MichiBot> Yay! Spider ​EveryOS! You beat your own previous record of 9 hours, 5 minutes and 27 seconds (By 4 minutes and 38 seconds)! I hope you're happy!
L22[06:15:01] <MichiBot> Spider ​EveryOS has tonked out! Tonk has been reset! They gained 0.009 tonk points! plus 0.016 bonus points for consecutive hours! Current score: 1.2205018, Position #3 Need 0.0904764 more points to pass Va​ur!
L23[07:08:01] ⇦ Quits: Hawk777 (~Hawk777@2001:569:7ca4:2a00:8111:122d:ccd2:cc1a) (Quit: Leaving.)
L24[10:12:46] <Forec​aster> %tonk
L25[10:12:47] <MichiBot> Woooo! Forec​aster! You beat Spider ​EveryOS's previous record of <0 (By 3 hours, 57 minutes and 46 seconds)! I hope you're happy!
L26[10:12:48] <MichiBot> Forecaster's new record is 3 hours, 57 minutes and 46 seconds! Forecaster also gained 0.00396 tonk points for stealing the tonk. Position #1.
L27[11:27:14] * Amanda meows and looks around
L28[11:32:07] <PewPew​Cricket> https://discordembeds.pc-logix.com/live/1715167927566.png
L29[11:32:23] <PewPew​Cricket> Making a thing
L30[11:52:24] * Amanda does the meowning ceremonial %splash @Forecaster with mutable octiron potion
L31[11:52:25] <MichiBot> You fling a mutable octiron potion (New!) that splashes onto @Forecaster. @Forecaster turns into a rubium sword girl until they find a baseball cap with the starbucks logo on it.
L32[11:52:53] <Amanda> I see I see
L33[12:33:08] ⇨ Joins: theros (~theros@pat10.cvsd.iu13.net)
L34[12:33:50] <theros> hello, are there any forum mods here?
L35[12:48:21] ⇦ Quits: theros (~theros@pat10.cvsd.iu13.net) (Quit: theros)
L36[12:59:55] <Amanda> %choose looooong conveyers or cargo ship
L37[12:59:55] <MichiBot> Ama​nda: A nearby lamp whispers "cargo ship" such that it's barely audible.
L38[14:40:25] ⇨ Joins: Vexatos (~Vexatos@p200300eaef453200482f4baed7336e40.dip0.t-ipconnect.de)
L39[14:40:25] zsh sets mode: +v on Vexatos
L40[15:26:06] ⇨ Joins: Hawk777 (~Hawk777@2001:569:7ca4:2a00:dd1e:fe85:e724:7985)
L41[15:41:54] <prys​modot> https://paste.pc-logix.com/zuyoberexa
L42[15:42:12] <prys​modot> * like
L43[15:42:12] <Corded> table based
L44[15:42:12] <Corded> ```
L45[15:42:12] <Corded> local widgetAPI = {}
L46[15:42:12] <Corded> local btns = {}
L47[15:42:13] <Corded> function widgetAPI.newBtn(name)
L48[15:42:13] <Corded> btns[name] = {name=name}
L49[15:42:14] <Corded> end
L50[15:42:14] <Corded> function hello(name)
L51[15:42:15] <Corded> print("Hi I'm a button, my name is", btns[name].name)
L52[15:42:15] <Corded> end
L53[15:42:16] <Corded> return widgetAPI
L54[15:42:16] <Corded> ```
L55[15:42:17] <Corded> oop
L56[15:42:17] <Corded> ```
L57[15:42:18] <Corded> local wAPI = {}
L58[15:42:18] <Corded> function wAPI.newBtn(name)
L59[15:42:19] <Corded> local btn = {name = name}
L60[15:42:19] <Corded> function btn.hello(self)
L61[15:42:20] <Corded> print("Hi I'm a button, my name is", self.name)
L62[15:42:20] <Corded> end
L63[15:42:21] <Corded> return btn
L64[15:42:21] <Corded> end
L65[15:42:22] <Corded> return wAPI
L66[15:42:22] <Corded> ```
L67[15:42:23] <Corded> My concern is the OOP version would use significantly more ram for more widges I create, what should I do?
L68[15:43:59] <prys​modot> * do?
L69[15:43:59] <Corded> the pros of OOP for me would just be that the code is more organized and easy to use, but I'm ok with tables if it means that it frees up a lot of space
L70[15:47:14] <Hawk777> Why would the OOP method use more RAM? It seems to me that in both options you have a table per button (either the table is returned by newBtn and held onto by the caller, or the table is stuffed into the btns table), and a name string per button.
L71[15:48:09] <prys​modot> afaik every instance of the btn object will carry it's own methods, so it would be a copy of every methods for each instance
L72[15:49:12] <Hawk777> Oh I see, I missed that part.
L73[15:49:14] <Hawk777> Don’t do that.
L74[15:49:16] <Hawk777> Use setmetatable instead.
L75[15:50:18] <Hawk777> Put all the methods in a table, create a second table whose __index points to the first table, and then when you create an object table, set the object table’s metatable to be the second table.
L76[15:50:28] <Hawk777> Now you can call the methods on the object table without actually adding key/value pairs for them to the object table itself.
L77[15:51:24] <Hawk777> The first and second tables only need to have one copy which is shared between all the objects.
L78[15:53:05] <prys​modot> alright I'll try to look up metatables since I don't know what they are but it looks like a good way to go
L79[15:53:08] <prys​modot> thanks!
L80[15:54:16] <Hawk777> Here’s an example: https://paste.pc-logix.com/omafurevop.bash
L81[15:55:41] <Amanda> %math 1600 / 3.6
L82[15:55:41] <MichiBot> 1600 / 3.6 => 444.44446
L83[15:57:19] <Corded> > <Haw​k777> Here’s an example: https://paste.pc-logix.com/omafurevop.ba���
L84[15:57:19] <prys​modot> ooo, very cool indeed, thanks for the help
L85[16:08:00] <Amanda> Oh good, for a second I though my steamdeck woes were increasing and my deck got cursed even further, but nope, someone else is having this issue: https://steamcommunity.com/app/1675200/discussions/1/4357872852118069798/
L86[16:10:19] <Amanda> Hrm, strangely it seems a hard reboot fixed it, at least for meow
L87[16:10:43] <Amanda> I wonder if the steam client is A/B partitioned as well
L88[16:19:41] ⇦ Parts: Hawk777 (~Hawk777@2001:569:7ca4:2a00:dd1e:fe85:e724:7985) ())
L89[16:20:01] ⇨ Joins: Hawk777 (~Hawk777@2001:569:7ca4:2a00:dd1e:fe85:e724:7985)
L90[16:26:14] ⇨ Joins: sigmaman (~sigmaman@185.107.192.149)
L91[16:26:22] <sigmaman> what da sigma
L92[16:26:30] ⇦ Quits: sigmaman (~sigmaman@185.107.192.149) (Quit: sigmaman)
L93[16:27:11] ⇨ Joins: ben_mkiv (~ben_mkiv@200116b8004ac600f40d1a0a3c4ead12.dip.versatel-1u1.de)
L94[16:32:53] <Amanda> %choose cut power out of the main grid?
L95[16:32:53] <MichiBot> Ama​nda: After all, why shouldn't you "cut power out of the main grid"?
L96[16:33:26] <Amanda> Probably wise, so that the solar panel in the power gen area has a higher chance of actually bootstrapping the boilers if I run out
L97[16:59:11] <Forec​aster> Nothing, what's da sigma with you
L98[17:19:41] <Va​ur> %tonk
L99[17:19:42] <MichiBot> Potzblitz! Va​ur! You beat Forec​aster's previous record of 3 hours, 57 minutes and 46 seconds (By 3 hours, 9 minutes and 8 seconds)! I hope you're happy!
L100[17:19:43] <MichiBot> Vaur's new record is 7 hours, 6 minutes and 54 seconds! Vaur also gained 0.0126 (0.00315 x 4) tonk points for stealing the tonk. Position #2. Need 0.3666518 more points to pass Forec​aster!
L101[17:32:02] ⇦ Quits: Hawk777 (~Hawk777@2001:569:7ca4:2a00:dd1e:fe85:e724:7985) (Quit: Leaving.)
L102[18:08:26] <Va​ur> %sip
L103[18:08:27] <MichiBot> You drink an awful solarium potion (New!). Vaur is suddenly wearing a tiny glove on each finger.
L104[18:24:57] ⇨ Joins: Hawk777 (~Hawk777@2001:569:7ca4:2a00:2e85:3542:3b17:e401)
L105[18:39:49] <Amanda> Well that's mildly infurating. Casting machines, and arc furnaces have their panels and in/outputs aligned to where you can't place the casting machine directly next to the arc furnace because it'll have an unused input aligned with the arc furnace's output
L106[19:38:25] ⇦ Quits: BadCoder (~wasp@109.229.108.131) (Ping timeout: 183 seconds)
L107[19:39:00] ⇨ Joins: BadCoder (~wasp@109.229.98.2)
L108[19:45:04] ⇦ Parts: lunar_sam (c44a7f2987@jabberfr.org) ())
L109[19:45:05] ⇨ Joins: Izzy_ (~izzy@210.1.218.92)
L110[19:45:08] ⇦ Quits: Izzy (~izzy@210.1.218.92) (Ping timeout: 183 seconds)
L111[19:47:56] ⇨ Joins: lunar_sam (c44a7f2987@jabberfr.org)
L112[20:35:19] * Amanda offers Elfi some snacks before dinner
L113[20:36:15] <Va​ur> %sip
L114[20:36:16] <MichiBot> You drink a shimmering pussplum potion (New!). Vaur turns into a platinum unicorn golem girl until someone turns off a lamp and then on again.
L115[20:54:54] <Forec​aster> you shouldn't have snacks before dinner!
L116[20:55:22] <Forec​aster> it'll ruin your appetite
L117[20:56:24] <Amanda> %choose laptopnaptime?
L118[20:56:24] <MichiBot> Ama​nda: Rip and tear! Sorry I was playing Doom. Go ahead.
L119[20:56:38] * Amanda nods sagely
L120[21:03:32] ⇦ Quits: Vexatos (~Vexatos@p200300eaef453200482f4baed7336e40.dip0.t-ipconnect.de) (Quit: Insert quantum chemistry joke here)
L121[21:09:46] <Forec​aster> %sip
L122[21:09:48] <MichiBot> You drink a robust bavarium potion (New!). Everything Forecaster says is now in Comic Sans until they steal a lamp.
L123[21:09:54] <Forec​aster> Dang
L124[21:59:09] * Amanda curls up around Elfi by the window, waiting for the foob to be delibered
L125[22:26:50] ⇦ Quits: ben_mkiv (~ben_mkiv@200116b8004ac600f40d1a0a3c4ead12.dip.versatel-1u1.de) (Killed (NickServ (GHOST command used by ben_mkiv|afk!~ben_mkiv@200116b800fa9900c27d0fd8daef35c5.dip.versatel-1u1.de)))
L126[22:26:54] ⇨ Joins: ben_mkiv|afk (~ben_mkiv@200116b800fa9900c27d0fd8daef35c5.dip.versatel-1u1.de)
L127[22:43:39] ⇦ Quits: ben_mkiv|afk (~ben_mkiv@200116b800fa9900c27d0fd8daef35c5.dip.versatel-1u1.de) (Quit: Leaving)
L128[23:28:40] ⇨ Joins: Test (~Test@c-68-34-72-152.hsd1.mi.comcast.net)
L129[23:29:47] ⇦ Quits: Test (~Test@c-68-34-72-152.hsd1.mi.comcast.net) (Client Quit)
L130[23:44:21] ⇦ Quits: Hawk777 (~Hawk777@2001:569:7ca4:2a00:2e85:3542:3b17:e401) (Quit: Leaving.)
<<Prev Next>> Scroll to Top