<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:23:48] <Pinbot> Hey, what are some valid servers?
L2[00:35:54] ⇦ Quits: cpw (cpw!~cpw@24-212-222-125.cable.teksavvy.com) (Ping timeout: 189 seconds)
L3[00:39:47] <CompanionCube> what
L4[00:42:20] ⇨ Joins: cpw (cpw!~cpw@24-212-222-125.cable.teksavvy.com)
L5[00:53:30] <Kleadron> %drink random
L6[00:53:49] <Kleadron> %drink random
L7[00:54:00] <Kleadron> excuse me
L8[00:54:14] <Kleadron> %loot
L9[00:54:23] <Kleadron> well thats broken
L10[00:58:44] ⇨ Joins: Rahix (Rahix!~Rahix@31.216.236.219)
L11[01:41:19] ⇦ Quits: Rahix (Rahix!~Rahix@31.216.236.219) (Remote host closed the connection)
L12[01:59:14] ⇨ Joins: Renari (Renari!~Renari@24.229.184.254.res-cmts.sm.ptd.net)
L13[02:01:26] <Lizzy> %loot
L14[02:01:26] <MichiBot> Lizzy: You get a loot box! It contains a doorknob.! (100%)
L15[02:01:31] ⇦ Quits: Arimil (Arimil!~Renari@24.229.184.254.res-cmts.sm.ptd.net) (Ping timeout: 202 seconds)
L16[02:15:11] <Lizzy> %tonkout
L17[02:15:12] <MichiBot> I'm sorry Lizzy, you were not able to beat Forecaster's record of 13 hours, 36 minutes and 44 seconds this time. 12 hours, 35 minutes and 31 seconds were wasted! Missed by 1 hour, 1 minute and 12 seconds!
L18[02:15:16] <Lizzy> oh fuck
L19[02:27:01] <Z0idburg> ZZZZZZzzzzzzzzzzzzzzzz
L20[02:27:09] <Z0idburg> is it time to go home yte?
L21[02:27:15] <Z0idburg> yet
L22[02:47:12] <Forecaster> no
L23[03:20:42] <Forecaster> %restart
L24[03:20:43] ⇦ Quits: MichiBot (MichiBot!~MichiBot@eos.pc-logix.com) ()
L25[03:21:10] ⇨ Joins: MichiBot (MichiBot!~MichiBot@eos.pc-logix.com)
L26[03:21:10] zsh sets mode: +v on MichiBot
L27[03:21:49] <Forecaster> %sip random
L28[03:21:55] <MichiBot> You drink a smelly transparent potion (New!). Forecaster grows a tail from a water.
L29[03:22:00] <Saphire> Ffffffuck me
L30[03:23:30] <Forecaster> huh
L31[03:26:56] <Forecaster> I fixed it
L32[03:27:06] <Forecaster> it turns out DateTime.parse doesn't like empty strings
L33[03:50:36] <Lizzy> @Saphire meep
L34[03:50:47] * Lizzy isn't sure why she decided to meep there but she did
L35[03:52:49] <Corded> * <Forecaster> kicks dns api auth
L36[03:52:53] <Forecaster> :|
L37[04:12:01] <Saphire> *meeps at lizzy!*
L38[04:14:25] <Lizzy> bugger it
L39[04:15:07] <Lizzy> i set up a vm earlier in a way that i could continue setting it up via ssh but i didn't set a root password on the arch iso so i can't get into it :(
L40[04:15:27] <Forecaster> strange... when specifying a subdomain with no directive apache2 just uses the first directive in the file...
L41[04:16:30] <Forecaster> so I put my generic directive at the top, with the subdomain directives below it, expecting it to always use the generic directive for everything, but the subdomains are still working...
L42[04:20:21] <Lizzy> grr, the serial console isn't enabled either.... :(
L43[04:20:49] <Lizzy> fine, looks like i need to nomachine into my home server to get on the virtual terminal
L44[04:28:23] ⇦ Quits: Lymee (Lymee!~lymia@magical.girl.lyrical.lymia.moe) (Quit: Hugs~ <3)
L45[04:28:37] ⇨ Joins: Lymia (Lymia!~lymia@magical.girl.lyrical.lymia.moe)
L46[04:29:13] <Z0idburg> wat?
L47[04:29:15] <Z0idburg> no serial?
L48[04:32:13] <Z0idburg> You know what the suckiest part of overnight shifts is?
L49[04:38:45] <Lizzy> i don't think the arch iso has a console on serial ports by default
L50[04:39:34] <Lizzy> managed to get in now though, had to ssh to my home server then use that to wake my pc up then use nomachine to remote into that to then remote via virt-manager to my dedi to then get into the virtual console and set a root password
L51[05:03:14] ⇦ Quits: logan2611 (logan2611!~logan2611@71-218-43-91.hlrn.qwest.net) (Ping timeout: 183 seconds)
L52[05:03:21] ⇨ Joins: logan2611 (logan2611!~logan2611@71-218-43-91.hlrn.qwest.net)
L53[05:20:40] <Z0idburg> this reminds me of the time I broke my monitor
L54[05:20:54] <Z0idburg> so I booed my computer typed a bunch of commands etc to get ssh running or some crao
L55[05:20:58] <Z0idburg> just by guessing
L56[05:20:59] <Z0idburg> and it worked
L57[05:44:42] <Lizzy> urghh ffs, ssh session cut out whilst i was in the chroot and now it's semi-broken
L58[06:14:21] * AmandaC drags a phonebook over to Lizzy, meows triumphtly, cuddles up against her
L59[06:17:17] * Lizzy curls round AmandaC
L60[06:17:26] <Forecaster> %sip random
L61[06:17:26] <MichiBot> You drink a solid quicksilver potion (New!). The bottle turns into a bow.
L62[06:18:05] <Izaya> S3: managed to tighten the chain on my bike!
L63[06:18:09] <Izaya> I feel accomplished!
L64[06:18:33] * AmandaC loosens the chain again
L65[06:18:41] * Izaya implodes
L66[06:18:49] <AmandaC> D:
L67[06:19:03] <Izaya> on the way to work today the chain came off the rear sprocket
L68[06:19:15] <Izaya> so suddenly I had no power
L69[06:19:17] <Izaya> that was good
L70[06:19:59] <AmandaC> Indeed! You were supposed tobe helped on the side of the road by a wise old man who'd become a lifelong friend and confidant
L71[06:20:33] <Izaya> well
L72[06:20:38] <Izaya> I got it fixed within 5 minutes
L73[06:20:41] <Izaya> so
L74[06:20:44] <Izaya> he was too slow
L75[06:24:34] <AmandaC> Oh well, guess you'll die when the raptorure starts
L76[06:24:57] <Izaya> such is life sometimes
L77[06:38:14] <Izaya> oh in other news I sorted PsychOS not bringing up a prompt when nebooted
L78[06:38:19] <Izaya> netbooted*
L79[06:38:28] <Izaya> needed to computer.getBootAddress = computer.tmpAddress
L80[06:40:49] <Izaya> it wasn't mounting /boot
L81[06:48:10] ⇨ Joins: fyton (fyton!~fyton@122-59-24-38-fibre.sparkbb.co.nz)
L82[06:48:13] <fyton> hello
L83[06:48:23] <AmandaC> %hello
L84[06:48:23] <MichiBot> AmandaC: Hello! Welcome to #oc! The one and only opencomputers channel! Please ask your questions directly (dont ask to ask) and provide error/code examples! (Use pastebin.com if theyre more than one line!) Dont mind the random conversation you might have walked into.
L85[06:48:24] <Izaya> ey
L86[06:53:45] ⇨ Joins: JasonBot (JasonBot!webchat@122-60-93-101-fibre.sparkbb.co.nz)
L87[06:53:57] <JasonBot> hello
L88[06:54:33] ⇦ Quits: JasonBot (JasonBot!webchat@122-60-93-101-fibre.sparkbb.co.nz) (Client Quit)
L89[06:55:41] ⇦ Quits: fyton (fyton!~fyton@122-59-24-38-fibre.sparkbb.co.nz) (Quit: Proudly using WocChat!)
L90[06:56:41] ⇨ Joins: JasonBot (JasonBot!webchat@122-60-93-101-fibre.sparkbb.co.nz)
L91[06:57:29] ⇦ Quits: JasonBot (JasonBot!webchat@122-60-93-101-fibre.sparkbb.co.nz) (Client Quit)
L92[07:25:17] <Kodos> I don't buy a lot of music (I mostly listen to Pandora/iHeart) but this group is making me want to buy at least one of their albums
L93[07:32:54] ⇨ Joins: Thutmose (Thutmose!~Patrick@host-69-59-79-181.nctv.com)
L94[07:59:23] <Forecaster> what group
L95[08:02:20] <Kodos> The Puppini Sisters
L96[08:25:47] <Lizzy> NoIP why do you use gravatar? -_-
L97[08:26:22] <Lizzy> raised a support ticket and i just see my current gravatar profile pic on it (same one as the oc forums)
L98[08:36:04] <Lizzy> aha! got back into the chroot
L99[08:37:48] <simon816> RIP forums https://www.minecraftforum.net/news/60727-important-minecraft-forum-archive-announcement
L100[08:38:21] ⇨ Joins: flappy (flappy!~flappy@88-113-149-197.elisa-laajakaista.fi)
L101[08:46:55] <Izaya> bizarre
L102[08:47:13] <Izaya> seems ass-backwards but okay
L103[08:54:29] <Temia> Huh.
L104[08:55:04] <Temia> Why are they closing it? I see no rationale mentioned
L105[08:55:38] <simon816> from the comments it's a "business decision"
L106[08:56:03] <Kodos> "Hurr durr use Curseforge" is what I get from it
L107[08:56:11] <Temia> Uggggh
L108[08:58:24] <Temia> The internet was better when it was communities operating forums for special interests
L109[08:59:12] <Temia> I'm going to go make breakfast and wave my cane
L110[09:00:17] <simon816> I haven't been on the forums much since it merged with twitch, turns out lots of old topics I posted in have been deleted
L111[09:02:09] ⇨ Joins: t20kdc (t20kdc!~20kdc@cpc139326-aztw33-2-0-cust441.18-1.cable.virginm.net)
L112[09:06:20] <Izaya> I kind of started avoiding anything Curse related once Curse became a brand rather than a name at the bottom of the page
L113[09:08:49] <Lizzy> I am kinda thankful for curseforge (or at least most modders using it) because then i don't need to go searching for a download for a mod, but the rest of their stuff is meh
L114[09:11:13] <Lizzy> ooh, nginx 1.16 is available through arch
L115[09:11:14] <Lizzy> neat
L116[09:13:29] <Lizzy> hmm, okay hopefully that wont break stuff when i update whirlpool
L117[09:14:39] * Lizzy needs to learn how to use awk
L118[09:34:17] <Lizzy> right, now to reboot this vm and see if i set everything up right
L119[09:38:04] <Lizzy> aah fuck i forgot to enable the ssh daemon before i rebooted the vm..
L120[09:44:22] ⇨ Joins: ben_mkiv (ben_mkiv!~ben_mkiv@i577BCF77.versanet.de)
L121[09:55:41] ⇨ Joins: Inari (Inari!~Pinkishu@pD9E8E421.dip0.t-ipconnect.de)
L122[09:57:32] ⇦ Quits: cpw (cpw!~cpw@24-212-222-125.cable.teksavvy.com) (Ping timeout: 206 seconds)
L123[10:06:52] ⇨ Joins: cpw (cpw!~cpw@24-212-222-125.cable.teksavvy.com)
L124[10:16:34] <Lizzy> come on noip, gimmie my auth code
L125[10:22:14] <Lizzy> oh cool, FireFox now supports the Yubikey thing
L126[10:26:12] ⇨ Joins: Vexatos (Vexatos!~Vexatos@port-92-193-12-33.dynamic.qsc.de)
L127[10:26:12] zsh sets mode: +v on Vexatos
L128[10:52:20] <Lizzy> yay, home
L129[10:53:41] <TheRealBob> ?
L130[11:11:35] <Zef> %drink ^
L131[11:11:35] <MichiBot> The bottle turns into a bow.
L132[11:30:59] <Temia> %quaff gloopy adamantium potion
L133[11:30:59] <MichiBot> The bottle turns into a dagger.
L134[11:31:04] <Temia> Hrk-
L135[11:31:18] * Temia slumps over
L136[11:31:28] <Temia> Betrayed by the bottle Dx
L137[11:32:24] <Forecaster> it's probably an adamantium dagger though
L138[11:33:43] <Inari> %pet Temia
L139[11:33:44] * MichiBot brushes Temia with fightin' words. 3 health gained!
L140[11:33:57] <Inari> D:
L141[11:33:59] * Inari hides
L142[11:36:21] <Forecaster> them fightin' words
L143[11:37:33] ⇦ Quits: Renari (Renari!~Renari@24.229.184.254.res-cmts.sm.ptd.net) (Ping timeout: 189 seconds)
L144[11:39:46] ⇨ Joins: Renari (Renari!~Renari@24.229.184.254.res-cmts.sm.ptd.net)
L145[11:44:03] ⇨ Joins: nos (nos!~nos@178-55-201-233.bb.dnainternet.fi)
L146[11:44:15] <nos> Here I am! \o/
L147[11:44:31] <TheRealBob> Welcome
L148[11:44:33] <TheRealBob> %hello
L149[11:44:34] <MichiBot> TheRealBob: Hello! Welcome to #oc! The one and only opencomputers channel! Please ask your questions directly (dont ask to ask) and provide error/code examples! (Use pastebin.com if theyre more than one line!) Dont mind the random conversation you might have walked into.
L150[11:46:18] <nos> I installed Plan9k since OpenOS suddenly did not want to boot, and "cp -r . /" the oppm floppy. However I'm not finding anything like ldconfig to register the binary. Rebooting did not help.
L151[11:47:39] <nos> Is there are preferred install method for Plan9k? should I stay clear if I don't know the answer to thse questions myself? Are the .lua files compatible betweent he OSs?
L152[11:48:05] <nos> Also, thanks!
L153[11:49:26] <TheRealBob> Plan9K is abandonned and unupdated
L154[11:49:30] <TheRealBob> no wonder why its broken
L155[11:49:43] <nos> That's sad!
L156[11:49:47] <TheRealBob> use OpenOS
L157[11:49:58] <TheRealBob> Lua files are compatible only if the requried libraries are on both OSes also
L158[11:50:05] <TheRealBob> everyone uses OpenOS libs so
L159[11:50:36] <nos> Reinstalling OpenOS then... my HDD got some kind of strange startup error!
L160[11:51:04] <TheRealBob> you cleared it ?
L161[11:51:11] <TheRealBob> EEPROM corrupted ?
L162[11:51:16] <TheRealBob> or the OpenOS floppy itself is dead
L163[11:51:24] <nos> EEPROM seems fine.
L164[11:51:43] <nos> Maybe bad sectors! :D
L165[11:52:30] <TheRealBob> there are no real sectors
L166[11:54:28] <nos> I know... That's the weird part. Happened after I uninstalled a small program.
L167[11:56:08] <Skye> there's no such thing as corupted sectors
L168[11:56:15] <Skye> unless the hard drive your server is on is dying
L169[11:56:27] <Skye> s/your server/your actual minecraft game
L170[11:56:27] <MichiBot> <Skye> unless the hard drive your actual minecraft game is on is dying
L171[12:02:06] <Forecaster> %tonkout
L172[12:02:08] <MichiBot> I'm sorry Forecaster, you were not able to beat Forecaster's record of 13 hours, 36 minutes and 44 seconds this time. 9 hours, 46 minutes and 55 seconds were wasted! Missed by 3 hours, 49 minutes and 49 seconds!
L173[12:02:13] <Forecaster> dangit
L174[12:10:35] <nos> Could be the server, yeah.
L175[12:11:04] <nos> Was there a key-combo I could use to interrupt a while true do loop?
L176[12:11:15] <TheRealBob> CRTL + ALT + C
L177[12:11:15] <Skye> ctrl+c
L178[12:11:30] <nos> ah, yeah didn't work the first time!
L179[12:11:41] <TheRealBob> Crtl + c being soft interupt
L180[12:11:47] <TheRealBob> and with ALt being hard interupt
L181[12:11:51] <TheRealBob> aka throws an error
L182[12:17:33] ⇨ Joins: baschdel (baschdel!~baschdel@2a01:5c0:16:ede1:571b:16dd:1bdb:37b)
L183[12:44:31] <Forecaster> %sip random
L184[12:44:32] <MichiBot> You drink a fluffy rock potion (New!). The bottle turns into an axe.
L185[12:46:16] <Forecaster> mm fluffy rock
L186[12:48:30] <Inari> %drink random
L187[12:48:30] <MichiBot> You drink a goopy green potion (New!). Inari grows slightly.
L188[12:48:35] <Inari> Ew
L189[12:48:38] <Inari> Make it undone
L190[12:49:44] <TheRealBob> is it that bad to be tall ?
L191[12:50:18] ⇦ Quits: ben_mkiv (ben_mkiv!~ben_mkiv@i577BCF77.versanet.de) (Ping timeout: 190 seconds)
L192[12:50:18] <Inari> Yes
L193[12:50:58] <TheRealBob> w h y
L194[12:51:24] <Kleadron> %loot linus media group
L195[12:55:06] <Inari> Because tall isn't cute
L196[12:55:08] <Inari> And cutei s life
L197[12:55:54] <Temia> Tall can be cute!
L198[12:56:28] <AmandaC> %loot is a lootbox, Kleadron
L199[12:56:28] <MichiBot> AmandaC: You get a loot box! It contains a eerily quiet singing fish.! (100%)
L200[12:56:31] <Inari> Nah
L201[12:56:35] <TheRealBob> *what about me smh*
L202[12:56:57] <Inari> Temia: I guess it can be cute, but it'll be comparativley less cute to less tall
L203[12:57:00] <Kleadron> AmandaC: it is whatever i think it is >:(
L204[12:57:13] <AmandaC> I mean, clearly not
L205[13:05:26] <Skye> %sip random
L206[13:05:27] <MichiBot> You drink a oxidised dirt potion (New!). The sun turns into a giant baby face for a second. It's horrific.
L207[13:06:39] <TheRealBob> god wtf
L208[13:07:22] ⇨ Joins: Rahix (Rahix!~Rahix@31.216.236.219)
L209[13:07:38] * AmandaC carries a mutable rainbow potion over to Inari, meows
L210[13:10:47] <nos> How do I newline! \o/
L211[13:11:50] <TheRealBob> [[write a string with special characters here]] or "use special codes like \n for newline or \t for tabs"
L212[13:12:09] <TheRealBob> https://www.lua.org/pil/2.4.html
L213[13:13:31] <nos> hmm
L214[13:16:00] ⇦ Quits: baschdel (baschdel!~baschdel@2a01:5c0:16:ede1:571b:16dd:1bdb:37b) (Ping timeout: 189 seconds)
L215[13:21:10] <nos> is variable + "\n" lua?
L216[13:22:13] <MGR> Replace + with ..
L217[13:22:15] <Skye> ^
L218[13:22:25] <TheRealBob> to concatenate strings use ..
L219[13:22:29] <MGR> And that will concatenate "\n" onto your string variable
L220[13:22:36] <TheRealBob> Lua strings are immutables so its rather slow
L221[13:35:08] <Z0idburg> That's probably because sometimes it takes two signals to take an action
L222[13:35:16] <Z0idburg> this is also true in software on *nix
L223[13:35:23] <Z0idburg> they will often ignore the first
L224[13:36:07] <Z0idburg> I am going to have to guess nos is from a JS world
L225[13:39:29] <nos> I have worked with a number of languages, but never in much depth.
L226[13:40:22] ⇨ Joins: ben_mkiv (ben_mkiv!~ben_mkiv@i577BCF77.versanet.de)
L227[13:40:47] <nos> I got term.setCursor to go to the next line, but I suspect the terminal prompt is overwriting my output... is that what term.screen() is for?
L228[13:43:26] <Z0idburg> if you override the screen pointer then don't expect things not to break
L229[13:43:30] <Z0idburg> visually
L230[13:43:38] <Corded> * <Kodos> grumbles about his stolen shoes
L231[13:43:41] <Z0idburg> you are basically fighting the driver
L232[13:43:45] <Z0idburg> stolen shoes?
L233[13:43:50] <Z0idburg> did your cats take off with them?
L234[13:43:56] <Kodos> Sister stole my shoes by accident
L235[13:44:00] <Z0idburg> LOL
L236[13:44:13] <Kodos> So now they’re in Colorado
L237[13:44:16] <Kodos> And I am not
L238[13:44:29] <Z0idburg> time to make your own
L239[13:44:45] <Kodos> I have flip flops. They aren’t fun in the rain though
L240[13:44:51] <Z0idburg> meh
L241[13:44:56] <Z0idburg> I don't trust those things they're weird
L242[13:45:13] <Z0idburg> I could never ever wear sandle like things
L243[13:45:14] <Z0idburg> even with socks
L244[13:45:38] <Kodos> These just have a strap over the foot. No toe thinger
L245[13:45:54] <nos> ah, it's not overwriting... just truncating my string to all but the first character... bizarre!
L246[13:45:56] <Z0idburg> yeah but I just need a fully enveloping boot
L247[13:46:18] <Kodos> Show code or did you already
L248[13:46:45] <nos> https://i.imgur.com/40WeZUX.png
L249[13:46:46] <Z0idburg> Yes we want to see why you are doing it wrong
L250[13:46:47] <Z0idburg> ?
L251[13:46:51] <nos> like so
L252[13:47:10] <Kodos> No. The code
L253[13:47:18] <Kodos> Not the result
L254[13:47:26] <Z0idburg> I think that's code for I don't want to show the code
L255[13:47:27] <Z0idburg> ?
L256[13:47:59] <nos> ttps://i.imgur.com/H9d2lLN.png
L257[13:48:05] <Kodos> Pastebin the code nos
L258[13:48:13] <nos> ehm..
L259[13:48:31] <Kodos> This is why I edit externally
L260[13:49:24] <nos> s8n6xZrA
L261[13:49:24] <Z0idburg> I just love how marketing mislead millions of people and people mistake noise cencelation with sound isolation
L262[13:49:28] <Z0idburg> in headphones
L263[13:49:35] <Kodos> I am on mobile lol
L264[13:50:08] <nos> https://pastebin.com/s8n6xZrA
L265[13:50:11] <TheRealBob> repl.it
L266[13:51:01] <TheRealBob> you know you can just use print() ? instead of doing some black magic with term ?
L267[13:51:34] <Kodos> Yeah that’s way over complicated
L268[13:51:38] <TheRealBob> and does event.listen makes a new thread ? or
L269[13:51:41] <TheRealBob> i just never use it
L270[13:51:51] <TheRealBob> you can just use an infinite while loop
L271[13:51:57] <Kodos> I assign handlers to listen so I can close them easier
L272[13:52:15] <nos> hmm
L273[13:52:18] <TheRealBob> i don't really know how listeners works for me its black magic but ill see this summer
L274[13:52:30] <Z0idburg> infinite loops!
L275[13:52:30] <Z0idburg> Code Block pastebined https://paste.pc-logix.com/xinuyoluqi
L276[13:52:36] <Kodos> Let me refill my cup and drive home.
L277[13:52:43] <Kodos> Bbiaf
L278[13:52:45] <nos> It's concurrency. Yields a loop.
L279[13:52:53] <TheRealBob> :(){ :|: & };:
L280[13:53:03] <Z0idburg> yeah do NOT..
L281[13:53:30] <TheRealBob> :GWaobaWink:
L282[13:53:42] <Z0idburg> you know its easier but slower running to just remember perl -e 'fork while fork'
L283[13:56:08] <Z0idburg> Have a mosfet
L284[13:56:13] <Z0idburg> http://tinyurl.com/yyhdhxyo
L285[13:56:33] <nos> Well I'll stick with what people can help me with when I'm in a bind, so... no listeners then.
L286[13:57:40] <Z0idburg> OH GOD
L287[13:57:51] <Z0idburg> why are you using global variables nos
L288[13:58:25] <nos> I don't know what __index does though. Seems scary.
L289[13:58:41] <TheRealBob> Code Block pastebined https://paste.pc-logix.com/kerenetake
L290[13:58:48] <TheRealBob> __index is a metamethod
L291[13:59:01] <nos> Definitely scary.
L292[13:59:13] <TheRealBob> yea but when you will get into it its actually incredibly powerfull
L293[13:59:22] <TheRealBob> i also struggled to understand what was that scary stuff
L294[13:59:31] <Z0idburg> yeah. I recommend avoiding them at all costs but they are nifty if you are an OOP sort of person
L295[13:59:36] <TheRealBob> ^
L296[13:59:42] <TheRealBob> *love2d user here*
L297[14:00:09] <Z0idburg> the scariest thing I see in nos's code isthe part where it's like:
L298[14:00:32] <TheRealBob> g l o b a l s
L299[14:00:35] <Z0idburg> Code Block pastebined https://paste.pc-logix.com/osaligovol
L300[14:00:39] <TheRealBob> ye
L301[14:00:43] <Z0idburg> that's super bad practice
L302[14:00:52] <TheRealBob> extremly bad practice
L303[14:00:58] <TheRealBob> you can get arrested by the OC police
L304[14:01:07] <TheRealBob> they will send out drones to get you
L305[14:02:30] <Z0idburg> there are several arguments to it but
L306[14:02:38] <Z0idburg> my argument usually lies in proving what the function does
L307[14:02:51] <Z0idburg> imagine inlining the function with its own implementation
L308[14:03:04] <Z0idburg> i = 5 function foo() return i = 7 end
L309[14:03:15] <Z0idburg> the problem is if I set i to 10
L310[14:03:28] <Z0idburg> sorry return i + 7
L311[14:03:39] <nos> hm hm hmmm
L312[14:03:45] <Z0idburg> if I set i to 10 then the function is now foo() eturn 17 end
L313[14:03:58] <Z0idburg> if i was 0 before, then it was return 7
L314[14:04:07] <nos> That works perfectly!
L315[14:04:12] <Z0idburg> this means that if i is changed, it ois no longer the same function
L316[14:04:23] <Z0idburg> it sis now a completely different function that does something differengt
L317[14:04:25] <TheRealBob> nos of course it will work perfectly
L318[14:04:51] <Z0idburg> this example isn't so scary, but imagine you have a complicated function, now you have a function that will behave differently depending on some outside value, which means your functions aren't always the same
L319[14:05:04] <Z0idburg> you can't assume anymore that the result of that function is ever valid
L320[14:05:25] <nos> I have no idea how scope works in lua so I just assumed my trusty old footgun would work.
L321[14:07:45] <Z0idburg> My recommendation, and this is just my opinion, never ever use outside variables besides other functions
L322[14:07:52] <Z0idburg> and always pass values to them
L323[14:07:52] <TheRealBob> ^
L324[14:07:57] <TheRealBob> try to pass values
L325[14:08:03] <Z0idburg> that way the inside of the function will always be predictable and reduce bugs
L326[14:08:05] <TheRealBob> instead of refering to values from different scopes
L327[14:08:12] <TheRealBob> and localize the values
L328[14:08:14] <TheRealBob> 300% speed
L329[14:08:29] <Z0idburg> bugs where you have invalid data are sometimes REALLY hard to find when you have 15 functions somewhere all changing that value
L330[14:08:55] <Z0idburg> the reason why this is so important is because of what I call Z0idburg's theory
L331[14:09:15] <TheRealBob> mmm
L332[14:09:31] <Z0idburg> which states that "The only thing that can ever cause a program to crash is invalid state, nothing else; Whether that is software or even failing hardware, it does not matter."
L333[14:09:40] <Z0idburg> don't quote me on that I'm just being silly but it's true
L334[14:09:53] <Z0idburg> things will break when invalid state occurs
L335[14:10:06] <nos> My thoughts on the matter is that since state is your bread and butter as a programmer, you always need to be aware of what you have done before and what you are doing now.
L336[14:10:22] <nos> And the rest is UNIX philosophy.
L337[14:14:42] <nos> Wait, if I need to pass values when I don't know what the scope is, don't I always have to write my loops recursively?
L338[14:15:33] <Rph> No more antergos linux: https://antergos.com/blog/antergos-linux-project-ends/
L339[14:19:57] <Z0idburg> no you dont nos
L340[14:20:03] <Z0idburg> though I usually do
L341[14:20:20] <nos> Can lua handle infinite recusrsion when I have no intention of ever unstacking?
L342[14:20:51] <Z0idburg> Lua has TCO
L343[14:20:57] <Z0idburg> so yes
L344[14:21:34] <nos> sexy
L345[14:24:44] <nos> https://pastebin.com/r8F4GDfh
L346[14:24:57] <nos> This was my first attempt, before trying listeners.
L347[14:25:30] <nos> The extra stuff is for trying to see if the trivial case works.
L348[14:26:24] <nos> As you can see, I have no idea what "local" means.
L349[14:28:45] <TheRealBob> local just localizes the value and makes them only avaible in that scope and subscopes
L350[14:29:07] <nos> ah...
L351[14:29:38] <TheRealBob> aka faster value acces speeds
L352[14:29:43] <TheRealBob> and better in general
L353[14:29:44] <nos> It kept printing "n" on a new line, after I had set the string to "".
L354[14:29:45] <TheRealBob> cleaner code
L355[14:30:01] <TheRealBob> "\n" is the newline code
L356[14:30:02] <TheRealBob> not "n"
L357[14:30:04] <TheRealBob> n is just n
L358[14:30:09] <TheRealBob> while \n is newline
L359[14:31:03] <nos> yeah, I have no idea where it got the n from. It did variable .. "\n" as per your instructions
L360[14:31:28] <nos> Now I see it is not needed.
L361[14:31:39] <TheRealBob> print does the dirty work
L362[14:32:16] <TheRealBob> of concatening the "\n" at the end and "\t" between arguments
L363[14:32:28] <nos> I thought it had somehow managed to erase the rest of the string but not my player name.
L364[14:32:49] <TheRealBob> not include it
L365[14:32:51] <TheRealBob> ¯\_(ツ)_/¯
L366[14:33:24] <nos> Apparently my unicode is broken. but yea, *shrug*
L367[14:34:41] <nos> Anyway, much obliged. Next is getting the motion sensor into a drone to make a security drone.
L368[14:35:18] <nos> I'm looking to make something to deter greifing.
L369[14:36:34] <TheRealBob> Lua doesn't like unicode
L370[14:36:40] <TheRealBob> but theres now utf8 library
L371[14:37:24] <nos> I figure, together with the geolyzer you could correlate unwanted changes to your builds with survalance records, and figure out who has been messing with your stuff.
L372[14:41:16] <TheRealBob> who ?
L373[14:41:17] <TheRealBob> mmm
L374[14:41:43] <Zef> Rimworld straight up uses xml files for its save data
L375[14:49:56] <TheRealBob> why not ¯\_(ツ)_/¯
L376[14:51:14] <Zef> http://tinyurl.com/y534uufz
L377[14:53:59] <nos> No one has been messing with my stuff yet, but I found a nice public server with many very nice people and a lot of signs of raiding & greifing. Some really nice builds in abandoned bases have just been vandalized. I figure, maybe I can help the community...
L378[14:58:02] <nos> And make a killing selling the system in the market! \o/
L379[14:59:30] <TheRealBob> Potion bomber drones
L380[14:59:36] <TheRealBob> since drones are invincible
L381[14:59:43] <nos> >:D
L382[14:59:51] <TheRealBob> Also when this will be fixed, and drone will be able to use potions and stuff ?
L383[15:00:01] <TheRealBob> Drones problem is that they are ultra limuted
L384[15:00:08] <TheRealBob> max 4kb
L385[15:00:26] <nos> well there is getting code wirelessly
L386[15:00:51] <TheRealBob> Yep network but drones are as i said limited, i dont think the tier 1 wireless card has a big range
L387[15:01:36] <nos> I'm not sure how to fit motion sensing, navigation, and decent range into it.
L388[15:02:52] <nos> Maybe, have a whole swarm of them, with specializations.
L389[15:03:22] <nos> But then 4kB is getting tight.
L390[15:04:17] <nos> Anyway, bedtime. I'll bother you again tomorrow! :D
L391[15:05:11] <Inari> https://cdn.discordapp.com/attachments/485204327800242177/579992854747807754/image0.jpg
L392[15:07:34] <Skye> Inari, is that you
L393[15:07:48] <Inari> Nah
L394[15:07:51] <Inari> I wouldn't wear such a bag
L395[15:07:51] <Inari> :p
L396[15:09:55] <Lizzy> %lua 8 * 125
L397[15:09:55] <MichiBot> 1000
L398[15:10:05] <Lizzy> %lua 8 * 125000
L399[15:10:05] <MichiBot> 1000000
L400[15:10:09] <Lizzy> k
L401[15:13:09] ⇦ Quits: ben_mkiv (ben_mkiv!~ben_mkiv@i577BCF77.versanet.de) (Ping timeout: 206 seconds)
L402[15:13:50] <Inari> What you calcing?
L403[15:16:01] <Lizzy> fluid stuff in factorio
L404[15:17:16] <CompanionCube> %tonkout
L405[15:17:16] <MichiBot> I'm sorry CompanionCube, you were not able to beat Forecaster's record of 13 hours, 36 minutes and 44 seconds this time. 3 hours, 15 minutes and 9 seconds were wasted! Missed by 10 hours, 21 minutes and 34 seconds!
L406[15:17:27] <CompanionCube> fuck which tonk did i miss
L407[15:18:09] <Forecaster> that second calculating was a tad pointless wasn't it :P
L408[15:18:16] <Forecaster> calculation*
L409[15:18:57] <CompanionCube> uh
L410[15:19:07] <CompanionCube> i can't find a tonk ~3h ago
L411[15:19:32] <CompanionCube> ah, there it is
L412[15:19:33] <Forecaster> remember to also search for tonkout
L413[15:36:40] ⇦ Quits: t20kdc (t20kdc!~20kdc@cpc139326-aztw33-2-0-cust441.18-1.cable.virginm.net) (Ping timeout: 183 seconds)
L414[15:47:46] <TheRealBob> Inari where can i get that bad ?, already having an ahegao hoodie that i would like to complete with something
L415[15:49:35] <AmandaC> b-b-b-bad
L416[15:50:45] <TheRealBob> Prove me wrong
L417[15:54:46] <AmandaC> huh?
L418[16:08:28] ⇦ Quits: Rahix (Rahix!~Rahix@31.216.236.219) (Remote host closed the connection)
L419[16:32:09] <Z0idburg> back
L420[16:35:50] <Forecaster> away
L421[16:36:13] <AmandaC> from
L422[16:36:36] <TheRealBob> some
L423[16:44:06] <alexandria> what is %tonkout
L424[16:44:39] <alexandria> %tonkout
L425[16:44:39] <MichiBot> I'm sorry alexandria, you were not able to beat Forecaster's record of 13 hours, 36 minutes and 44 seconds this time. 1 hour, 27 minutes and 23 seconds were wasted! Missed by 12 hours, 9 minutes and 21 seconds!
L426[16:45:10] <Forecaster> it's a game of calculating times, which we're all terrible at
L427[16:47:23] <Z0idburg> unchallenged!
L428[16:53:47] ⇦ Quits: cpw (cpw!~cpw@24-212-222-125.cable.teksavvy.com) (Ping timeout: 202 seconds)
L429[17:00:21] <Z0idburg> lol
L430[17:13:03] ⇦ Quits: flappy (flappy!~flappy@88-113-149-197.elisa-laajakaista.fi) (Ping timeout: 190 seconds)
L431[17:14:12] <Z0idburg> I need a word
L432[17:15:50] <Forecaster> "pancake"
L433[17:16:05] <Inari> your pancakefulness
L434[17:16:52] <Z0idburg> ꟼancake
L435[17:16:55] <Z0idburg> hmm
L436[17:22:36] <Skye> alexandria: tonk is a game where you get points by "tonking" after the last tonk by at least the amount of time between previous tonks.
L437[17:23:09] <Forecaster> you actually get more points the larger the gap is
L438[17:23:12] <Skye> Tonking out gets more points and resets the cumulative time to zero to start again
L439[17:31:06] <Z0idburg> it also makes me angry
L440[17:31:08] <Z0idburg> ?
L441[17:31:19] <Z0idburg> just kidding
L442[17:33:01] <Z0idburg> OOH!
L443[17:33:10] <Z0idburg> Guess what Skye
L444[17:33:52] <Z0idburg> UMaine is getting the largest 3D printer in the world
L445[17:34:10] <Z0idburg> they're going to make boat molds with it
L446[17:54:33] <Skye> Dun dun dun
L447[17:59:40] ⇦ Quits: Inari (Inari!~Pinkishu@pD9E8E421.dip0.t-ipconnect.de) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
L448[18:05:34] <gamerred> guys for the refined storage open computer code why come to import I need to type exportItem?
L449[18:17:34] <Zef> Go ask the creators of refined storage
L450[18:21:19] <TheRealBob> a e 2
L451[18:23:45] <gamerred> ah its there fault its a tad weird to do then zef?
L452[18:36:34] <Zef> Yes
L453[18:36:38] <Zef> They wrote the api
L454[18:51:34] ⇦ Quits: Vexatos (Vexatos!~Vexatos@port-92-193-12-33.dynamic.qsc.de) (Quit: Insert quantum chemistry joke here)
L455[19:06:51] <Z0idburg> Huh
L456[19:06:57] <Z0idburg> I doin't see anything about exportItem?
L457[19:10:02] <Z0idburg> people need to stop with the camel case
L458[19:10:04] <Z0idburg> its ugly af
L459[19:10:06] <Z0idburg> and unreadable
L460[20:02:19] ⇦ Quits: logan2611 (logan2611!~logan2611@71-218-43-91.hlrn.qwest.net) (Ping timeout: 202 seconds)
L461[20:02:59] ⇨ Joins: logan2611 (logan2611!~logan2611@71-218-43-114.hlrn.qwest.net)
L462[20:06:51] ⇦ Quits: logan2611 (logan2611!~logan2611@71-218-43-114.hlrn.qwest.net) (Ping timeout: 189 seconds)
L463[20:08:45] ⇨ Joins: logan2611 (logan2611!~logan2611@184-96-187-210.hlrn.qwest.net)
L464[20:18:33] ⇦ Quits: logan2611 (logan2611!~logan2611@184-96-187-210.hlrn.qwest.net) (Read error: Connection reset by peer)
L465[20:20:40] ⇨ Joins: logan2611 (logan2611!~logan2611@184-96-194-235.hlrn.qwest.net)
L466[21:40:27] ⇦ Quits: Thutmose (Thutmose!~Patrick@host-69-59-79-181.nctv.com) (Quit: Leaving.)
L467[21:49:13] ⇨ Joins: cpw (cpw!~cpw@24-212-222-125.cable.teksavvy.com)
L468[22:36:27] ⇦ Quits: logan2611 (logan2611!~logan2611@184-96-194-235.hlrn.qwest.net) (Ping timeout: 189 seconds)
L469[22:37:07] ⇨ Joins: logan2611 (logan2611!~logan2611@184-96-212-211.hlrn.qwest.net)
L470[22:40:58] ⇦ Quits: logan2611 (logan2611!~logan2611@184-96-212-211.hlrn.qwest.net) (Ping timeout: 190 seconds)
L471[22:42:47] ⇨ Joins: logan2611 (logan2611!~logan2611@174-16-145-62.hlrn.qwest.net)
L472[23:01:58] ⇦ Quits: Cervator (Cervator!~Thunderbi@2601:4c1:4000:362c:3552:69f2:d9ed:6a3b) (Quit: Cervator)
L473[23:02:21] ⇨ Joins: Cervator (Cervator!~Thunderbi@2601:4c1:4000:362c:3552:69f2:d9ed:6a3b)
L474[23:14:18] <nos> Getting Enrecoverable Error; computer halted on boot again.
L475[23:19:08] <nos> work now...
L476[23:28:46] ⇨ Joins: baschdel (baschdel!~baschdel@2a01:5c0:16:ede1:571b:16dd:1bdb:37b)
L477[23:36:40] ⇦ Quits: logan2611 (logan2611!~logan2611@174-16-145-62.hlrn.qwest.net) (Read error: Connection reset by peer)
L478[23:37:54] ⇨ Joins: logan2611 (logan2611!~logan2611@174-16-149-97.hlrn.qwest.net)
L479[23:41:54] ⇦ Quits: baschdel (baschdel!~baschdel@2a01:5c0:16:ede1:571b:16dd:1bdb:37b) (Ping timeout: 198 seconds)
L480[23:57:05] ⇦ Quits: cpw (cpw!~cpw@24-212-222-125.cable.teksavvy.com) (Ping timeout: 206 seconds)
<<Prev Next>> Scroll to Top