<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:12:04] ⇦ Quits: bauen1 (bauen1!~bauen1@ipbcc038c0.dynamic.kabel-deutschland.de) (Ping timeout: 190 seconds)
L2[00:15:25] ⇦ Quits: CarlenWhite (CarlenWhite!~CarlenWhi@134.sub-174-241-132.myvzw.com) (Ping timeout: 378 seconds)
L3[00:18:59] ⇨ Joins: CarlenWhite (CarlenWhite!~CarlenWhi@134.sub-174-241-132.myvzw.com)
L4[00:45:17] <BohemianHacks> theeen I get back to my survival world
L5[00:45:36] <BohemianHacks> starving in a cave with 2.5 hearts waiting for the night to end
L6[00:45:55] <Corded> * <BohemianHacks> readded guns.
L7[00:54:57] <The_Stargazer> what mod are the guns from?
L8[00:59:13] <Izaya> Anyone know if there's a FF addon that can add a tooltip to emoji with their name, or better, replace them with the shortcode
L9[01:32:19] <CompanionCube> %tonkout
L10[01:32:20] <MichiBot> Willikers! CompanionCube! You beat Kodos's previous record of 2 hours, 36 minutes and 59 seconds (By 26 minutes and 9 seconds)! I hope you're happy!
L11[01:32:21] <MichiBot> CompanionCube has stolen the tonkout! Tonk has been reset! They gained 0.003 tonk points! plus 0.002 bonus points for consecutive hours! (Reduced to 50% because stealing) Current score: 0.68437
L12[01:32:36] ⇦ Quits: CarlenWhite (CarlenWhite!~CarlenWhi@134.sub-174-241-132.myvzw.com) (Ping timeout: 198 seconds)
L13[01:39:09] ⇨ Joins: CarlenWhite (CarlenWhite!~CarlenWhi@134.sub-174-241-132.myvzw.com)
L14[02:08:23] ⇦ Quits: Kleadron9 (Kleadron9!~kleadron@c-73-254-147-9.hsd1.wa.comcast.net) (Ping timeout: 202 seconds)
L15[02:16:45] <The_Stargazer> Code Block pastebined https://paste.pc-logix.com/jeroriduhe
L16[02:16:46] <The_Stargazer> Will this work?
L17[02:17:09] <The_Stargazer> it's supposed to add all components of one type to a table
L18[02:17:27] <The_Stargazer> with each component's key in the table being the first three characters of it's address
L19[02:17:54] <The_Stargazer> c.a.e is a list of components to add
L20[02:18:04] <The_Stargazer> c.a is a list of components
L21[02:18:15] <The_Stargazer> so eg. `c.a.door = {}`
L22[02:29:04] <Bob> c.a.internet.a["111"] to acces somethong thats a lotta table acceses
L23[02:29:14] <Bob> it should
L24[02:29:25] <Bob> and you still did not understood how pcall works
L25[02:29:45] <Bob> pcall(dofile("somethong")) is totally useless
L26[02:29:58] <Bob> pcall(dofile,"something") os how pcall is used
L27[02:30:08] <The_Stargazer> oh right I remember
L28[02:32:26] <ayangd> What is the difference between `pcall` and `xpcall`?
L29[02:32:28] <Bob> dofile("something") inside pcall will be called and error
L30[02:32:30] <Bob> i forgot
L31[02:32:36] <Bob> but theres a little one
L32[02:33:01] <fingercomp> `xpcall` allows you to set a message handler, called on error before the stack unwraps
L33[02:33:08] <Bob> ah yes
L34[02:33:15] <Bob> it calls an error handling function
L35[02:33:28] <The_Stargazer> is there an OC emulator available that works with the internet card?
L36[02:33:36] <The_Stargazer> OCEmu crashes on doing anything internet-related
L37[02:33:52] <Izaya> ocvm's internet card works I'm pretty sure
L38[02:33:56] <The_Stargazer> and ocvm won't compile.
L39[02:34:00] <The_Stargazer> it runs outta RAM
L40[02:34:01] <Izaya> it can do HTTP(S) at least
L41[02:34:02] <The_Stargazer> (I think)
L42[02:34:07] <Izaya> try with clang instead of gcc
L43[02:34:22] <The_Stargazer> but `make lua=5.3` runs g++..
L44[02:34:39] <The_Stargazer> also: what's clang?
L45[02:34:56] <Izaya> the C compiler that isn't gcc
L46[02:35:01] <Izaya> basically
L47[02:35:08] <Izaya> CXX=clang make lua=5.3
L48[02:35:13] <The_Stargazer> ah
L49[02:35:20] <The_Stargazer> so I run
L50[02:35:25] <The_Stargazer> `CXX=clang make lua=5.31
L51[02:35:26] <The_Stargazer> `CXX=clang make lua=5.3` [Edited]
L52[02:35:32] <The_Stargazer> is that correct?
L53[02:35:40] <Izaya> aye, assuming you have clang installed
L54[02:35:47] <The_Stargazer> where can I get clang?
L55[02:35:51] <Izaya> it's packaged in most distros now I think
L56[02:35:58] <ayangd> Yes
L57[02:35:59] <Izaya> even OS X of all things, though that's not a distro
L58[02:36:02] <The_Stargazer> i'll check my ubuntu server install
L59[02:36:18] <ayangd> `apt list *clang*`
L60[02:36:29] <The_Stargazer> is clang more lightweight?
L61[02:37:15] <ayangd> Dunno
L62[02:37:19] <The_Stargazer> it does not come with ubuntu server
L63[02:37:26] <Izaya> when it comes to ocvm, yes
L64[02:37:34] <The_Stargazer> but I can `sudo apt install clang`
L65[02:38:16] <Izaya> it's the difference between being able and not being able to compile ocvm on my old laptop
L66[02:38:20] <Izaya> can you?
L67[02:38:23] <Izaya> fuckin check the package list
L68[02:38:33] <The_Stargazer> `clang: command not found`
L69[02:38:39] <Izaya> ._.
L70[02:38:41] <The_Stargazer> `but can be installed with sudo apt install clang`
L71[02:38:54] <ayangd> `apt list *clang*`
L72[02:39:01] <ayangd> Oh
L73[02:39:02] <The_Stargazer> Ubuntu Server 19.04
L74[02:39:13] <ayangd> Install it?
L75[02:39:21] <The_Stargazer> I am
L76[02:39:38] <ayangd> Is it installed?
L77[02:39:47] <The_Stargazer> It's downloading
L78[02:39:54] <ayangd> Ok
L79[02:39:57] <ayangd> Just wait then
L80[02:40:01] <The_Stargazer> I am
L81[02:40:36] <ayangd> Try not to edit discord message. People on IRC can't see them, can they?
L82[02:40:52] <Izaya> It just resends for every edit.
L83[02:40:52] <The_Stargazer> I didn't edit any messages?
L84[02:41:06] <Izaya> Consider that edits are client-side.
L85[02:41:13] <ayangd> Okay
L86[02:43:52] <The_Stargazer> Izaya: what are the specs of your old laptop?
L87[02:44:14] <Izaya> Atom N270, 2GB RAM, 8GB SSD
L88[02:44:27] <The_Stargazer> what's the CPU speed?
L89[02:44:32] <Izaya> 1.6Ghz
L90[02:44:41] <Izaya> one and a half cores
L91[02:44:43] <The_Stargazer> better than mine
L92[02:44:47] <Izaya> I doubt it.
L93[02:44:53] <The_Stargazer> uhhhhh http://tinyurl.com/y2jdmj2c
L94[02:44:54] <The_Stargazer> 1.10GHz singlecore
L95[02:45:07] <Izaya> what model?
L96[02:45:18] <The_Stargazer> Celeron N3350
L97[02:45:32] <The_Stargazer> ..why is it saying read-only filesystem?
L98[02:45:38] <Izaya> Probably out of space
L99[02:45:47] <Izaya> Alternatively, encountered another error.
L100[02:45:56] <The_Stargazer> I have 1.49GB free space on my USB
L101[02:46:12] <Izaya> your celeron is only
L102[02:46:19] <Izaya> 433% faster than the Atom N270
L103[02:46:49] <Izaya> which makes it about twice as fast as a Pentium 4 3Ghz
L104[02:46:56] <Izaya> https://cpu.userbenchmark.com/Compare/Intel-Celeron-N3350-vs-Intel-Atom-N270/m197164vsm2697
L105[02:46:56] <The_Stargazer> can't rm -rf either
L106[02:46:58] <The_Stargazer> so not out of space
L107[02:47:11] <The_Stargazer> i should probably fsck
L108[02:47:16] <Izaya> check the log first
L109[02:47:21] <Izaya> dmesg and journalctl
L110[02:47:41] <The_Stargazer> oh, uh
L111[02:47:45] <The_Stargazer> i've already rebooted
L112[02:47:51] <The_Stargazer> into recovery mode
L113[02:48:58] <Izaya> just think, for half the price you could've gotten a laptop with an i5-2520M, which would've been twice as fast
L114[02:49:00] <The_Stargazer> okay there were errors
L115[02:49:02] <The_Stargazer> I fixed them
L116[02:49:14] <The_Stargazer> this laptop was ~$330
L117[02:49:20] <Izaya> so a third of the price
L118[02:49:33] <The_Stargazer> where from?
L119[02:49:44] <Izaya> anywhere that sells used machines
L120[02:50:19] <Izaya> buying new is dumb, especially buying cheap new
L121[02:50:27] <Izaya> https://social.shadowkat.net/media/e90c206c4ac7f0882c045b2b92ee95ded453add27bece5f51cb23e724c95d1ba.png
L122[02:50:34] <The_Stargazer> rm -rf works
L123[02:50:59] <The_Stargazer> git clone works too
L124[02:51:19] <Izaya> on a flash drive decent chance it's having disk errors because it's a flash drive
L125[02:51:40] <Izaya> pretty much the cheapest flash with a USB slave controller stuck onto it
L126[02:52:01] <The_Stargazer> ?
L127[02:52:10] <Izaya> flash drives are unreliable
L128[02:52:17] <The_Stargazer> I know
L129[02:52:21] <The_Stargazer> but what with
L130[02:52:29] <The_Stargazer> 300MB free space
L131[02:52:38] <The_Stargazer> there's not really another option
L132[02:52:47] <Izaya> $30 500GB laptop drive, $1 USB-> SATA converter
L133[02:52:55] <Izaya> go fuckin dumpster diving if you must
L134[02:53:07] <The_Stargazer> where tf can you get a USB > SATA converter for a dollar?
L135[02:53:15] <The_Stargazer> and is that NZD or USD?
L136[02:53:17] <Izaya> I linked one yesterday
L137[02:53:19] <Izaya> AUD
L138[02:53:27] <The_Stargazer> one problem: i don't have a credit card.
L139[02:53:31] <Izaya> so get one
L140[02:53:45] <The_Stargazer> i'm not about to steal a credit card
L141[02:53:50] <Izaya> ._.
L142[02:53:57] <Izaya> did I advocate theft?
L143[02:53:59] <The_Stargazer> iirc the legal age in (most places) is 18 for a credit card
L144[02:53:59] * Izaya squints
L145[02:54:06] <Izaya> in the last several minutes, at any rate
L146[02:54:06] <Lizzy> s/one/one legally
L147[02:54:07] <MichiBot> <Izaya> so get one legally
L148[02:54:21] <Izaya> https://www.aliexpress.com/item/33022895259.html
L149[02:54:35] <Izaya> give someone the cash and ask them to buy it for you if you can't get one
L150[02:54:53] <The_Stargazer> but what about shipping costs?
L151[02:54:54] <The_Stargazer> also
L152[02:54:57] <The_Stargazer> >US $1.44
L153[02:55:19] <Izaya> sorry, $2
L154[02:55:22] <Izaya> AUD
L155[02:56:17] <The_Stargazer> >write error on swap device
L156[02:57:27] <Lizzy> https://i.imgur.com/3zMdGa2.png don't you love it when sites need JS to even show basic things like text
L157[02:57:57] <Izaya> look at the shopping cart too :D
L158[02:57:59] <Izaya> oh
L159[02:57:59] <Saphire> Welp
L160[02:58:02] <Izaya> it's like that on my page too
L161[02:58:05] <Izaya> ey Saph how goes it
L162[02:58:06] <Saphire> I discovered Starbase game
L163[02:58:23] <Saphire> I love everything about it *with exception of the name of their TIS-100-esque language*
L164[02:58:28] <Saphire> "YOLOL"
L165[02:58:51] <Saphire> Oh also one of main devs is XCompWiz
L166[02:59:36] <The_Stargazer> uh
L167[02:59:40] <Saphire> And the game is a hybrid P2P/MMO kind of deal. Has servers that moderate the sim but shit processing is offloaded to players apparently.
L168[02:59:41] <The_Stargazer> temporary failure in name resolution
L169[02:59:48] <Izaya> that name is familiar
L170[02:59:53] <Saphire> @The_Stargazer Uhhh
L171[03:00:08] <Izaya> can't decide whether that's because I have seen that name or because of compiz though
L172[03:00:10] <Saphire> https://pbs.twimg.com/profile_images/3470430820/89aee3204aa31d21499a964c558dfba4_400x400.png
L173[03:00:28] <The_Stargazer> failed to load font
L174[03:00:28] <Lizzy> Izaya, think it's the same person who wrote the Mystcraft mod
L175[03:00:38] <Izaya> That'd be why it sounds familiar.
L176[03:00:41] <The_Stargazer> http://tinyurl.com/yxk8mcbg
L177[03:01:02] <Lizzy> right, i have the fun task ahead of moving more computers, so i will be back later
L178[03:01:10] <Izaya> did you follow the build instructions
L179[03:01:19] <Izaya> also does the file exist
L180[03:01:23] <The_Stargazer> i ran `cxx=clang make lua=5.3`
L181[03:01:34] <The_Stargazer> there is no font.hex
L182[03:01:38] <The_Stargazer> where can I get the font.hex
L183[03:01:41] <Izaya> well then you didn't follow the build instructions
L184[03:01:43] <Izaya> read them again
L185[03:01:59] <The_Stargazer> what build instructions
L186[03:02:06] <Izaya> the ones for ocvm
L187[03:02:18] <The_Stargazer> where would I find them? README.md?
L188[03:02:39] <Izaya> I'd suggest something called README.md would be a good start to find them.
L189[03:03:20] <Lizzy> the readme is generally always a good place to start
L190[03:03:21] <The_Stargazer> i have font.hex but
L191[03:03:22] <The_Stargazer> it just
L192[03:03:27] <The_Stargazer> clears my screen
L193[03:03:32] <The_Stargazer> that's all running ./ocvm does
L194[03:04:02] <The_Stargazer> i have all the files
L195[03:04:03] <Lizzy> that's because it runs inside your terminal
L196[03:04:10] <Lizzy> instead of seperate windows
L197[03:04:25] <Lizzy> why it's clearing and not showing you anything, i don't know
L198[03:04:28] <The_Stargazer> all I have is a terminal
L199[03:04:33] <Lizzy> hmm
L200[03:04:46] <The_Stargazer> I do not have an X server
L201[03:05:21] <Lizzy> yeah, it _should_ still work. i don't have a linux device on hand to test at the moment but i suspect it's trying to use a non-standard font and the linux console can't use it
L202[03:05:33] <Izaya> nah, it doesn't actually display the font
L203[03:05:38] <Lizzy> oh
L204[03:05:47] <Lizzy> it's been a while since i used OCVM
L205[03:06:22] <The_Stargazer> i'll try re-making it
L206[03:06:48] <The_Stargazer> okay just removing the binary didnt work
L207[03:06:50] <The_Stargazer> ill just
L208[03:06:51] <The_Stargazer> re-clone it
L209[03:06:54] <The_Stargazer> and start again
L210[03:07:56] <The_Stargazer> or I could just `make clean`
L211[03:08:03] <Izaya> >what is make clean
L212[03:08:22] <The_Stargazer> it removes the binaries
L213[03:10:01] <The_Stargazer> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/wuwipoweka
L214[03:10:19] <The_Stargazer> so you can then `make` it again
L215[03:10:40] <The_Stargazer> basically it undoes the compilation
L216[03:10:55] <Izaya> ._.
L217[03:10:58] <Izaya> I know what it does
L218[03:11:06] <Izaya> I was implying you didn't
L219[03:11:11] <The_Stargazer> oh
L220[03:11:35] <The_Stargazer> I stumbled upon it by accident
L221[03:11:39] <The_Stargazer> when reading the makefile
L222[03:14:11] <The_Stargazer> how do I disable clang's warnings?
L223[03:15:41] <The_Stargazer> okay it compiled
L224[03:15:41] <The_Stargazer> still just clears screen though
L225[03:16:11] <Izaya> that usually happens when the computer halts
L226[03:16:16] <Izaya> are you sure you have a copy of OpenOS
L227[03:16:33] <The_Stargazer> i just ran `CXX=clang make=lua5.3` then `./ocvm`
L228[03:17:00] <Izaya> did you read the build instructions yet
L229[03:17:01] <The_Stargazer> there's an openos dir in system/loot
L230[03:17:04] <The_Stargazer> yes I did
L231[03:17:21] <Izaya> so I take it you installed what it said to to get font.hex and OpenOS and such?
L232[03:17:23] <The_Stargazer> it just says to run `make`
L233[03:17:41] <The_Stargazer> and I ran `make`
L234[03:17:47] <The_Stargazer> oh
L235[03:17:53] <The_Stargazer> I think it only works with g++
L236[03:18:03] <Izaya> I give up.
L237[03:18:21] <The_Stargazer> ¯\_(ツ)_/¯
L238[03:18:35] <The_Stargazer> guess I can't build ocvm
L239[03:18:52] <The_Stargazer> is there something I'm missing?
L240[03:19:06] <Izaya> try also:
L241[03:19:09] <Izaya> ./ocvm 1
L242[03:19:26] <The_Stargazer> same
L243[03:19:51] <The_Stargazer> it does take arguments tho
L244[03:20:33] * Izaya screams
L245[03:20:34] <The_Stargazer> no bios found
L246[03:20:38] <The_Stargazer> now we're getting somewhere
L247[03:20:41] <Izaya> you didn't read the fuckin build instructions
L248[03:20:47] <Izaya> because you didn't install svn
L249[03:20:48] <The_Stargazer> I DID WHAT IT SAID
L250[03:20:49] <The_Stargazer> I RAN MAKE
L251[03:20:51] <Izaya> which it says you need
L252[03:20:52] <The_Stargazer> i have svn
L253[03:20:57] <Izaya> oh okay
L254[03:20:59] <Izaya> apologies
L255[03:21:02] <The_Stargazer> is fine
L256[03:21:17] <Izaya> you were explicit that you just ran make so I assumed you didn't get svn
L257[03:22:05] <The_Stargazer> i'll try to imply things less in the future
L258[03:22:17] <The_Stargazer> atleast i've got an error now though
L259[03:23:23] <The_Stargazer> ah
L260[03:23:27] <The_Stargazer> segmentation fault
L261[03:25:15] <The_Stargazer> also my cat is going crazy
L262[03:25:47] <The_Stargazer> can segmentation faults be fixed
L263[03:26:00] <BohemianHacks> welp, I have coke oven, super basic power and ore doubling, engineers workbench, some hemp growing, and some small amount of ores processed
L264[03:26:53] <The_Stargazer> more importantly, what is a segfault?
L265[03:26:54] <BohemianHacks> I really badly need some lapis or other blue dye to make the cloche so i can start growing food/string/flowers to eat and make bandages
L266[03:27:09] <BohemianHacks> @The_Stargazer now you are asking the right questions
L267[03:28:28] <The_Stargazer> iirc it's RAM-related
L268[03:30:04] <The_Stargazer> i'll reboot and see if that works
L269[03:30:13] <BohemianHacks> You need to learn a bunch from google/youtube/docs etc
L270[03:30:25] <BohemianHacks> before asking on discord for everything ?
L271[03:30:36] <BohemianHacks> This channel is really nice compared to most coding channels
L272[03:30:37] <The_Stargazer> well uh
L273[03:30:45] <The_Stargazer> can't have browser and vm open
L274[03:31:17] <BohemianHacks> I just mean in general, you ask quite a few questions answered by reading lua docs or google fu
L275[03:31:34] <Izaya> grab a PDF of the Lua manual and Programming in Lua
L276[03:31:39] <Izaya> no browser necessary, just MuPDF
L277[03:31:43] <BohemianHacks> ^
L278[03:31:53] <BohemianHacks> you will have better coverage of knowledge also
L279[03:32:02] <Izaya> also
L280[03:32:05] <Izaya> sit down and read them
L281[03:32:27] <The_Stargazer> mupdf?
L282[03:32:29] <BohemianHacks> if you only ask questions on discord you will end up with huge gaps in your understanding, bad coding practices, and a general lack of retention
L283[03:32:36] <Izaya> ^
L284[03:32:39] <The_Stargazer> I have a lack of retention anyway
L285[03:32:53] <Izaya> and by asking questions on IRC before considering the question, you'll annoy everyone
L286[03:33:30] <BohemianHacks> tbh im amazed at how nice people have been here, but I think its partially because opencomputers and similar are geared toward getting new people into coding
L287[03:33:53] <BohemianHacks> when i first started coding, i went to irc to get some feedback on some of my first "real" code
L288[03:34:06] <BohemianHacks> the first response I got was to never code again and kill myself
L289[03:34:13] <The_Stargazer> ...
L290[03:34:14] <Izaya> classy
L291[03:34:21] <Izaya> aren't you glad #oc isn't like that? :p
L292[03:34:23] <BohemianHacks> thats freenode for you lol
L293[03:34:26] <The_Stargazer> the world is full of idiots
L294[03:34:54] <Izaya> freenode can be nice
L295[03:34:55] <The_Stargazer> this is why aliens never invade earth
L296[03:34:56] <The_Stargazer> most of us aren't actually intelligent lifeforms
L297[03:34:59] <BohemianHacks> yes and no, it made me better at receiving criticism and evaluate my code my harshly
L298[03:35:14] <Izaya> but also there's a lot of unpleasant individuals on there
L299[03:35:18] <BohemianHacks> but it is also a pretty stiff barrier to entry for new people
L300[03:35:31] <BohemianHacks> most the big coding channels are mini-cults
L301[03:35:38] * Izaya nods
L302[03:35:55] <BohemianHacks> with a handful of people that are treated like gods and basically lurk there all the time
L303[03:36:12] <BohemianHacks> ##electronics is pretty dope though for almost anything vaguely nerdy
L304[03:36:12] <Izaya> tfw lurk here all the time but am not treated as a god
L305[03:36:21] <BohemianHacks> chemistry, engineering, coding, etc
L306[03:36:27] * Saphire chews on Izaya
L307[03:36:48] <Izaya> I assure you, I'm not very tasty.
L308[03:37:39] <vifino> Disappointing.
L309[03:37:40] <BohemianHacks> anyways, I dont mean to scare or discourage you @The_Stargazer
L310[03:38:00] <The_Stargazer> about what?
L311[03:38:13] <BohemianHacks> asking questions and stuff
L312[03:38:19] <The_Stargazer> you didn't haha
L313[03:38:26] <The_Stargazer> only way to learn is to ask
L314[03:38:37] <BohemianHacks> and read the docs
L315[03:38:47] <The_Stargazer> yeah
L316[03:39:06] <BohemianHacks> the only way to learn how to mount is the man mount ?
L317[03:39:11] <The_Stargazer> haha
L318[03:39:23] <Izaya> vifino: You're like, the 80th person to tell me I am :D
L319[03:39:30] <The_Stargazer> aaand my vm crashed
L320[03:39:51] <vifino> Izaya: Oh, no, I just mean the fact that you're not tasty.
L321[03:40:09] <Izaya> Oh, okay.
L322[03:40:19] <vifino> No reason to roast you, then.
L323[03:40:20] <Izaya> I'm too carnivorous to be tasty.
L324[03:40:29] <BohemianHacks> http://tinyurl.com/y2e46kdu
L325[03:40:39] <Izaya> ... By that logic, vegans would taste the best.
L326[03:40:42] <BohemianHacks> lmfao my GF sent me that early and I just checked my messages before bed
L327[03:41:01] <BohemianHacks> lmfao my GF sent me that earlyier and I just checked my messages before bed [Edited]
L328[03:41:29] <vifino> You fixed it... for the worse.
L329[03:42:19] <vifino> Oh, yeah, Izaya, by the way, you'll be moving to Germany.
L330[03:42:25] <vifino> I forgot to tell you.
L331[03:42:33] <Izaya> Oh, okay.
L332[03:42:40] <Izaya> Neat.
L333[03:43:19] <BohemianHacks> I just realized something...
L334[03:43:31] <Izaya> vifino: I have working computers in my base now
L335[03:43:32] <BohemianHacks> pulverizing colored wool gives string, and a chance at dye
L336[03:43:34] <Izaya> including a router
L337[03:43:49] <BohemianHacks> if you breed sheep of a certain color, you can basically farm that dye
L338[03:44:18] <vifino> Izaya: Make me some as well.
L339[03:44:23] <BohemianHacks> not very useful in most cases, but might be a handy trick for some random scenario
L340[03:44:30] <vifino> I'd do it myself, but I'm terribly lazy.
L341[03:44:38] <vifino> Also probably not wise to play minecraft at work.
L342[03:45:05] <Izaya> Help me run network cables and say you're "experimenting with new network related ideas"
L343[03:45:15] <Izaya> and by new I mean stolen from AppleTalk
L344[03:45:19] <vifino> Sure.
L345[03:45:48] <vifino> If your stack doesn't suck, I won't be forced to make my own.
L346[03:46:10] <BohemianHacks> fuck appletalk
L347[03:46:19] <BohemianHacks> unless they fixed networked printing in the last 5 years
L348[03:46:23] <vifino> I wouldn't, but you do you.
L349[03:46:25] <Izaya> you have experience wi - oh, not appletalk
L350[03:48:23] * Izaya is referring to the actual stack, not the layers sitting on top of TCP/IP
L351[03:49:56] <Lizzian> There's 2 main teaching staff rooms at my work site... I'm trying to determine which is more of a fire risk
L352[03:50:10] <BohemianHacks> light them both on fire and find out
L353[03:50:30] <vifino> Well, you can make them both 100% at risk..
L354[03:50:47] <vifino> Burn them down. Then you're at practically 0%.
L355[03:50:49] <vifino> Problem. Solved.
L356[03:52:08] <Lizzian> Heh
L357[03:52:34] <vifino> Also, hello!
L358[03:52:43] <Lizzian> There's probably also a few gdpr violations in them as well...
L359[03:52:44] <Lizzian> Haii
L360[03:53:08] <vifino> Can't have any GDPR violations if there is nothing left.
L361[03:53:26] <vifino> I'm not saying you should burn everything down but... Actually no, I am saying that.
L362[03:54:11] <Lizzian> I don't yet have another job lined up so I think I'll save that for later
L363[03:54:14] ⇨ Joins: Vexatos (Vexatos!~Vexatos@port-92-193-73-119.dynamic.qsc.de)
L364[03:54:15] zsh sets mode: +v on Vexatos
L365[03:54:39] <vifino> Oh, Vexatoast.
L366[03:54:53] <vifino> Man, people still exist here. Fascinating.
L367[03:58:04] <Vexatos> what D:
L368[03:59:16] <vifino> Nothing, just surprised people didn't die.
L369[03:59:35] <BohemianHacks> if you have GDPR then you probably have other fancy job safety measures like some kind of pay if your job burns down
L370[03:59:44] <BohemianHacks> really arson has 0 drawbacks
L371[04:03:29] <BohemianHacks> its way past my bedtime
L372[04:03:37] <BohemianHacks> the quest for blue dye will have to continue tomorrow
L373[04:03:47] <Vexatos> vifino, people below the age of 60 tend to do that
L374[04:04:03] <Izaya> speak for yourself
L375[04:10:55] <vifino> Don't tempt me to skew your statistic, Vexatos.
L376[04:13:19] <Vexatos> uh oh D:
L377[04:39:48] <The_Stargazer> are there any up-to-date GUI libraries that work?
L378[04:46:30] <The_Stargazer> that's easy to use?
L379[05:10:01] <Lizzy> %tonk
L380[05:10:01] <MichiBot> Sard! Lizzy! You beat CompanionCube's previous record of <0 (By 3 hours, 37 minutes and 41 seconds)! I hope you're happy!
L381[05:10:02] <MichiBot> Lizzy's new record is 3 hours, 37 minutes and 41 seconds! Lizzy also gained 0.00363 tonk points for stealing the tonk.
L382[05:18:59] <vifino> Fuck yeah, luck is on my side today. I was thinking about waffles on my way to work, portable waffle irons and such for camping, now a coworker asked me if anyone else would like something from a place that literally has waffle in their name.
L383[05:22:13] <Bob> Bruh
L384[06:02:45] ⇨ Joins: Thutmose (Thutmose!~Patrick@host-69-59-79-181.nctv.com)
L385[06:13:48] <The_Stargazer> How do I print a list of file with `for`?
L386[06:14:09] <Bob> what list of file ?
L387[06:14:16] <The_Stargazer> How do I print a list of files with `for`? [Edited]
L388[06:14:26] <The_Stargazer> a directory
L389[06:14:36] <Bob> use filesystem OC API
L390[06:14:42] <The_Stargazer> which
L391[06:14:44] <The_Stargazer> never works
L392[06:15:01] <Bob> cause youre doing it wrong ?
L393[06:15:04] <The_Stargazer> always fails, even if file exists
L394[06:15:12] <Bob> share your code
L395[06:15:15] <Bob> probably borken somewhere
L396[06:15:34] <The_Stargazer> will do
L397[06:16:43] <The_Stargazer> okay nevermind it works
L398[06:17:18] <The_Stargazer> how do I get the name of a file without the extension?
L399[06:17:38] <Izaya> Consider the question for a moment.
L400[06:17:44] <Izaya> What are you asking the computer to do?
L401[06:19:44] <The_Stargazer> Code Block pastebined https://paste.pc-logix.com/mejojohuze
L402[06:19:44] <The_Stargazer> I want it to print the name, without the extension.
L403[06:19:52] <Izaya> No, that's the goal.
L404[06:20:28] <The_Stargazer> ok..?
L405[06:20:28] ⇨ Joins: flappy (flappy!~flappy@88-113-149-197.elisa-laajakaista.fi)
L406[06:20:40] <Izaya> What does accomplishing that imply?
L407[06:20:54] <Bob> if witout the extention, use match
L408[06:20:57] <Bob> string match
L409[06:21:13] <The_Stargazer> right, will look up lua patterns.
L410[06:21:48] <Bob> you need to match everything before the frist point
L411[06:22:00] <Bob> or .[%.] but its probably not right
L412[06:22:59] <The_Stargazer> and how do I do that
L413[06:24:29] <The_Stargazer> `str:match("(.+)%..+")`
L414[06:24:33] <The_Stargazer> I googled it.
L415[06:29:12] <Bob> match the character group of any character (.+) before the point %. with the extnetion or any other character behind the point %..+
L416[06:29:24] <Bob> logic but hard to come up with
L417[06:32:14] <The_Stargazer> how do I check if fs.list() is empty (there are no files in the dir)?
L418[06:32:46] <Izaya> fs.list returns a table, so...
L419[06:32:57] <vifino> #fs.list()
L420[06:33:24] <vifino> you'd be better of storing the result if you wanna use it, though.
L421[06:33:37] <Bob> if its a table, to iterate over you would need ipairs
L422[06:33:42] <Bob> and yea store the table frist
L423[06:33:52] <Bob> and the lenght maybe aswell to reduce actions count
L424[06:34:01] <vifino> Also, the waffle was awesome.
L425[06:34:20] <The_Stargazer> attempt to get length of a function value
L426[06:34:35] <Bob> Does FS list return a table or an iterator function
L427[06:34:41] <The_Stargazer> a function.
L428[06:34:57] * Izaya squints
L429[06:35:11] <vifino> Are you sure you didn't do `#fs.list`?
L430[06:35:22] <Izaya> You're right.
L431[06:35:28] <Izaya> Fuckin wonk.
L432[06:35:28] <vifino> Because I remember it returning a table..
L433[06:35:33] <The_Stargazer> #fs.list("/usr/lib/osu")
L434[06:35:38] <Izaya> vifino: the filesystem component returns a table for list()
L435[06:35:42] <Izaya> but the API returns an iterator
L436[06:35:45] <Izaya> that's inconvenient
L437[06:35:46] <vifino> oh my god why
L438[06:36:04] <Izaya> https://ocdoc.cil.li/api:filesystem https://ocdoc.cil.li/component:filesystem
L439[06:36:07] <Izaya> fucked if I know
L440[06:36:15] <Bob> Oh iterator element ffs
L441[06:36:22] <vifino> payonel: fix this inconsistency.
L442[06:36:31] <Izaya> big brain would be making a table that also works as an iterator
L443[06:36:45] <Bob> metamethods smh
L444[06:36:53] <Bob> but why iterator function over table
L445[06:37:09] <Bob> We are going to convert it back to a table ?
L446[06:37:37] <vifino> t={}for k,v in pairs(fs.list(bla))do t[k]=v end
L447[06:37:41] <vifino> problem solved
L448[06:38:07] <vifino> er actually remove the pairs
L449[06:38:14] <vifino> t={}for k,v in fs.list(bla)do t[k]=v end
L450[06:38:16] <The_Stargazer> yeah was gonna say
L451[06:38:26] ⇨ Joins: Vexaton (Vexaton!~Vexatos@port-92-200-97-89.dynamic.qsc.de)
L452[06:38:26] zsh sets mode: +v on Vexaton
L453[06:38:27] ⇦ Quits: Vexaton (Vexaton!~Vexatos@port-92-200-97-89.dynamic.qsc.de) (Client Quit)
L454[06:38:43] <Bob> You know that fs list doesnt return a key
L455[06:38:45] <Bob> only the name
L456[06:38:50] <The_Stargazer> ^
L457[06:39:06] <Bob> string or nil and string
L458[06:39:13] <Bob> so youre just doing pointless stuff
L459[06:39:29] <Izaya> vifino: if it makes you any happier, PsychOS just passes the call through to the filesystem
L460[06:39:30] <The_Stargazer> I just wanna check if there are no files in a dir
L461[06:39:39] <vifino> fine. t={}for k in fs.list(bla)do t[#t+1]=k end -- my god why does it do an iterator then
L462[06:39:45] <Bob> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/uxetarecuz
L463[06:39:48] <Bob> Yes
L464[06:40:06] <Bob> %blame Payonel
L465[06:40:06] * MichiBot blames Payonel for adding a Wind-up Sadu to the inventory!
L466[06:40:09] <The_Stargazer> how does that help with my use case
L467[06:40:24] <Bob> get number of files in folder
L468[06:40:32] <Bob> #t or some value you use aside
L469[06:40:34] <The_Stargazer> oh I see
L470[06:40:37] <Bob> like an container
L471[06:40:38] <The_Stargazer> if number is 0 then
L472[06:40:43] <The_Stargazer> do some stuff
L473[06:41:09] <Izaya> flag = true for file in fs.list(whatever) do flag=false end
L474[06:41:11] <vifino> there is literally only one reason i could come up with for it to do it with an iterator, and that's because it could return a tree to make it easier to recursively iterate, but no
L475[06:41:12] <Bob> if #t or filenumber == 0 then error()
L476[06:41:12] <Bob> else tryfiles() end
L477[06:41:15] ⇦ Quits: Vexatos (Vexatos!~Vexatos@port-92-193-73-119.dynamic.qsc.de) (Ping timeout: 189 seconds)
L478[06:41:17] <Izaya> if there's a nonzero amount of files, flag will be false
L479[06:41:54] <vifino> sugoi better comes up with a damn good reason
L480[06:42:06] <vifino> he usually does things pretty sane
L481[06:42:27] <Izaya> I think it's been like that since when Sangar was main OOS dev
L482[06:43:04] <The_Stargazer> nope, doesn't work
L483[06:43:07] <vifino> i haven't used openos for a long time, i usually slap my own os on things. or p9k
L484[06:43:26] * Izaya is all about that PsychOS
L485[06:43:29] <The_Stargazer> Code Block pastebined https://paste.pc-logix.com/rogifedusa
L486[06:43:29] <The_Stargazer> returns.. nothing.
L487[06:43:45] <Bob> because T is a table
L488[06:43:48] <Bob> and you can't compare it to 0
L489[06:43:51] <Bob> :GWtloMarioFP:
L490[06:44:10] <The_Stargazer> oh I'm big stupid
L491[06:44:13] <Bob> you can't compare tables without metamethods
L492[06:44:19] <Bob> #t is the table lenght
L493[06:44:23] <Bob> either you use a flag or a table
L494[06:44:26] <The_Stargazer> yeah
L495[06:44:27] <The_Stargazer> I big dumb
L496[06:44:46] <Bob> but with the flag you do the action before you know you have 0 files
L497[06:45:01] <Bob> someone PR to have tables instaed of iterator in fs.list
L498[06:45:31] <vifino> but then you break userspace.
L499[06:45:45] <Izaya> that's why you need a table with a __call that works as an iterator
L500[06:46:15] <Bob> yse
L501[06:46:43] <vifino> isn't __call with self anyway? setmetatable(t, {"__call"=pairs})?
L502[06:47:07] <vifino> er, setmetatable(t, {["__call"]=pairs})
L503[06:47:45] <vifino> i should go back to working, after all i'm being paid a shit ton.
L504[06:48:17] <Izaya> nop, can't normally call tables
L505[06:48:35] <Bob> by default, tables dont have metatable
L506[06:48:36] <Bob> s
L507[06:48:46] <Bob> exept for the # but i doubt its a metatable
L508[06:49:16] <Izaya> There's a terminated event, right?
L509[06:49:27] <Izaya> interrupted
L510[06:49:36] <The_Stargazer> how do I do proper configs in OC?
L511[06:49:37] <The_Stargazer> I want to have the user be able to type `osu modules enable door` and enable the security door module, or `osu modules disable door` and disable the module.
L512[06:49:51] <The_Stargazer> kind of like `rc [script] enable`
L513[06:50:18] <The_Stargazer> well, exactly like that
L514[06:52:21] <vifino> Izaya: on lua 5.1.5 setting __call to pairs works
L515[06:52:32] <Izaya> oh
L516[06:52:34] <Izaya> well then
L517[06:52:35] <The_Stargazer> except stealing rc's saveConfig() function won't work
L518[06:52:36] <Izaya> ez
L519[06:52:43] <The_Stargazer> because I have like
L520[06:52:46] <The_Stargazer> twenty tables in the file
L521[06:52:48] <The_Stargazer> at least ten
L522[06:52:49] <vifino> i was right for once
L523[06:53:38] <The_Stargazer> Code Block pastebined https://paste.pc-logix.com/zocivefopo
L524[06:53:38] <The_Stargazer> I want `osu modules enable [module]` to add `module` to `c.a.e`
L525[06:53:39] <Bob> when __call is called it passes the table and arguments
L526[06:53:41] <Bob> i think
L527[06:53:41] <The_Stargazer> using `table.insert`
L528[06:53:54] <Bob> so pairs(t) would effecively returns the needed stuff
L529[06:53:57] <Bob> table insert HECK
L530[06:54:03] <Bob> you really make lua bad
L531[06:54:07] <The_Stargazer> this config file is pcall(dofile)'d at every run
L532[06:54:14] <The_Stargazer> is there another way?
L533[06:54:15] <vifino> my test: t={1,2,3}setmetatable(t, {["__call"]=pairs})for k,v in t()do print(k,v)end
L534[06:54:21] <The_Stargazer> `#table+1`?
L535[06:54:34] <Bob> obviously
L536[06:54:37] <Bob> its 7 times faster
L537[06:54:43] <The_Stargazer> right, how do I achieve my goal
L538[06:55:12] <Bob> whats your goal ?
L539[06:55:29] <The_Stargazer> Code Block pastebined https://paste.pc-logix.com/zuqewiqeda
L540[06:55:29] <The_Stargazer> I want osu modules enable [module] to add module to c.a.e
L541[06:55:57] <Bob> c.a.e[#c.a.e+1] = module at next index
L542[06:56:09] <The_Stargazer> problem
L543[06:56:18] <The_Stargazer> the config is in a separate file
L544[06:56:37] <Izaya> https://i.4cdn.org/o/1562537555091.jpg look how happy this triumph is
L545[06:57:06] <vifino> it's so happy, it turned into a banana
L546[07:04:31] ⇦ Quits: baschdel (baschdel!~baschdel@151-056-210-188.ip-addr.inexio.net) (Remote host closed the connection)
L547[07:04:59] ⇨ Joins: baschdel (baschdel!~baschdel@151-056-210-188.ip-addr.inexio.net)
L548[07:05:57] <The_Stargazer> how to list all components?
L549[07:06:01] <The_Stargazer> (in lua)
L550[07:07:18] <Izaya> what if I told you I could give you the entire OC ingame manual as plain text
L551[07:07:50] <The_Stargazer> that includes API docs? ?
L552[07:08:47] <Izaya> actually, unfortunately it's rather sparse on API docs
L553[07:08:49] <Izaya> a shame
L554[07:09:12] <Bob> Lua has no components
L555[07:09:16] <Bob> so youll do it with OC
L556[07:09:25] <Bob> and component.list() returns a table with all the components
L557[07:09:27] <Bob> simple
L558[07:09:46] <The_Stargazer> I see
L559[07:14:47] <Bob> keys as addresses and name of compoenents as values
L560[07:20:07] <The_Stargazer> how to check if a string exists in an iterator function?
L561[07:20:32] <vifino> you have to iterate it
L562[07:20:34] <vifino> which sucks
L563[07:20:57] <The_Stargazer> and how do I do that?
L564[07:21:31] <vifino> To be honest, just read the Lua manual.
L565[07:22:10] <Bob> ^
L566[07:22:16] <Bob> come up with your own solution
L567[07:22:17] <Bob> s
L568[07:23:06] <The_Stargazer> I really should RTFM
L569[07:23:09] <The_Stargazer> but am lazy
L570[07:24:10] <vifino> You're not gonna get very far if you need help doing the littlest things.
L571[07:24:59] <vifino> Without the basics, advanced topics will be out of reach for oyu.
L572[07:25:31] <Bob> without basics youre never going anywhere
L573[07:26:10] <Bob> programming without maths <<
L574[07:27:32] <vifino> Though you don't need to be able to actually calculate. You just need to know how to.
L575[07:29:04] <vifino> I could've phrased that better. You don't need to know what 2^21 is in your head. But you should know what that means.
L576[07:31:25] <The_Stargazer> two to the power of twenty-one
L577[07:32:04] <Bob> and what power does / means ect
L578[07:32:37] <The_Stargazer> actually I don't know, was never taught
L579[07:32:51] <vifino> How old are you?
L580[07:32:59] <The_Stargazer> 13.
L581[07:33:08] <Bob> you should know powers
L582[07:33:12] <Bob> maybe not trigonometrics yet
L583[07:33:18] <Bob> but in OC thats poitnless
L584[07:33:21] <The_Stargazer> (this is why I said I'm not of legal age to get a credit card)
L585[07:33:35] <Bob> im 15 and learned Lua i na week so its totally possible
L586[07:33:51] <The_Stargazer> in an entire week? wow
L587[07:33:52] <Bob> just read, research and experiment
L588[07:33:55] <Bob> yea
L589[07:33:58] <Bob> Tutorials point bae
L590[07:34:00] <The_Stargazer> goddamn that's fast
L591[07:34:07] <Bob> and im a beast at maths
L592[07:34:12] <The_Stargazer> I would never achieve such a thing with my limited attention span
L593[07:34:22] <The_Stargazer> (and my lack of maths ability)
L594[07:34:26] <Bob> ¯\_(ツ)_/¯
L595[07:34:45] <Bob> maths are required really without them i dont see programming being a thing
L596[07:34:52] <The_Stargazer> yeah I know some maths
L597[07:35:04] <The_Stargazer> I know enough to program
L598[07:35:18] <Bob> depends on your task
L599[07:35:23] <Bob> some dont even require math
L600[07:35:31] <Bob> graphics and such require a lot of maths
L601[07:35:38] <Bob> and trigonometry especially for rotating
L602[07:35:42] <vifino> I'm 19, dropped out of school, learned python for like two hours and started as a python senior developer at the place I'm currently at, earning more than most people. I'm a lazy shit. Don't let anyone tell you what you cannot do, especially not yourself.
L603[07:36:01] <Bob> python mhmh
L604[07:36:09] <vifino> It's a shitty language.
L605[07:36:20] <Bob> youre not wrong
L606[07:36:22] <The_Stargazer> that reminds me
L607[07:36:54] <The_Stargazer> my friend made a python script to download a twitch modpack's files
L608[07:36:56] <The_Stargazer> from a zip
L609[07:37:25] <vifino> But hey, as soon as that satelite company offers to pay more, I'm back to writing C.
L610[07:37:32] <Bob> i can make the same with Lya
L611[07:37:35] <Bob> and yea C rocks
L612[07:38:13] <Bob> we need Lua++
L613[07:38:15] <The_Stargazer> lua is written in C so therefore C = good
L614[07:38:18] <The_Stargazer> lua is written in C so therefore C = "good" [Edited]
L615[07:38:24] <Bob> Lua is good because of C
L616[07:38:30] <Bob> and the way its done
L617[07:38:38] <Bob> but it lacks some features i would really want to see
L618[07:38:49] <Bob> time to get into lua bindings and C in general
L619[07:38:49] <vifino> Writing code running outside of the atmosphere is pretty fucking cool.
L620[07:39:10] <Bob> OC computrer in galacticraft dimension mhmh
L621[07:39:15] <The_Stargazer> SpatialC
L622[07:39:26] <The_Stargazer> or pehaps Galactic-C
L623[07:39:48] <vifino> Actually, I still need to give the place a call. I forgot.
L624[07:40:21] <Bob> well do
L625[07:42:28] <vifino> Well, "I" is "the company" in this case.
L626[07:42:39] <vifino> So I can offload that to someone else.
L627[07:44:30] <Bob> :GWmemetownLULLLLLLLLLLL:
L628[07:44:42] <Bob> what are the odds i can find a Lua Student Job vifino ?
L629[07:44:48] <Bob> should i dive into C++ faster ?
L630[07:45:08] <vifino> Finding a job doing Lua is something rare.
L631[07:45:18] <Bob> yea i see
L632[07:45:29] <Bob> as its simple and primary scripting
L633[07:45:32] <Bob> needs being embeded
L634[07:46:28] <Bob> i mean i can do Love2d programs and stuff
L635[07:46:58] <Bob> anything better than being a cashier or MCodnalds worker will do as soon as i will be eligible for the jobs
L636[07:47:00] <Bob> soon
L637[07:47:04] <Bob> i have 2 months left
L638[07:48:06] <vifino> Didn't you say you were 15?
L639[07:48:31] <vifino> Go to school, college or whatever.
L640[07:49:29] <Bob> i am already
L641[07:49:48] <vifino> Are you living in the US?
L642[07:49:54] <Bob> Belgium
L643[07:50:02] <Bob> but im russian yes
L644[07:50:17] <vifino> Belgium is a good country, why do you need to have a job while you're doing school?
L645[07:51:34] <Bob> personnal money
L646[07:51:47] <Bob> i need to refresh my 9 years old rig kindoff
L647[07:52:01] <Bob> its gettinga bit bad with CPU cooler needing superglue to be actually in place
L648[07:54:50] <vifino> Fair point, I guess.
L649[07:55:47] <vifino> I suggest you learn a popular language, like Python or JavaScript. Even though they suck, you're almost guaranteed to get a well paying job.
L650[07:56:13] <vifino> Or, well, a job. The "well paying" part depends on your negotiation skills and your ability to impress.
L651[07:56:28] <Bob> ahaha
L652[07:56:40] <Bob> i dont think im raedy to inflict myself such sentences
L653[07:56:45] <Bob> Python and JS, oh well
L654[07:56:59] <Bob> JS has an Lua thing i could use maybe
L655[07:57:09] <Bob> so i just need to learn JS abilities and superpowersd
L656[07:59:15] <vifino> I don't make the popularity charts. If I would, first place would be C, followed by generic variants of Lisp, then Rust, Lua and some other stuff.
L657[07:59:55] <vifino> And as pessimistic as that might be, I don't think you'll have a JS job for long if you actually program Lua.
L658[08:02:31] <Bob> oh well ¯\_(ツ)_/¯
L659[08:02:43] <Bob> i will work as a convincer
L660[08:02:50] <Bob> and make peopel switch to C or Lua
L661[08:03:12] <Bob> i will see seems rather complicated to find a job related to computers in general
L662[08:15:41] <AmandaC> Yeah, no
L663[08:15:56] <AmandaC> A company isn't going to hire someone on for one language, then listen to them and up and switch to another
L664[08:16:35] <AmandaC> You need to be flexible if you want to work in programming, right tool for the job and all that
L665[08:16:59] <vifino> (Except you'll never use the right tool for the job but the one that the previous guy used.)
L666[08:17:16] <AmandaC> The person who starts it decides what tool is right
L667[08:17:31] <AmandaC> it's not very likely you'll get a chance to decide such things right off the bat
L668[08:17:57] <MichiBot> AmandaC REMINDER: look and see what happens when a player is killed in RhinoMUD
L669[08:18:03] <AmandaC> oh right
L670[08:18:08] * AmandaC makes a mega-death-roomba
L671[08:21:39] <bad at vijya> js and python make me want to commit unlive
L672[08:22:58] <AmandaC> They're not that bad
L673[08:24:07] * vifino stares
L674[08:24:55] <bad at vijya> yes they be
L675[08:25:06] <bad at vijya> also java
L676[08:25:31] <bad at vijya> haven't used scala but i'd imagine it wouldn't be that much better
L677[08:26:04] <vifino> The JVM is great. Sucks that it is primarily used for Java, though.
L678[08:26:41] * Lizzy likes python.
L679[08:26:44] <AmandaC> Well, that answers that: https://nc.ddna.co/s/tCyEJ9tQW3CjYMF
L680[08:26:57] <Lizzy> one day i do want to learn other languages but i don't have the time right now
L681[08:26:58] <AmandaC> It tells you you're dead, but doesn't move you or limit your actions
L682[08:27:17] <vifino> It's `electrocutes`, by the way.
L683[08:28:09] <bad at vijya> zap
L684[08:28:59] <AmandaC> `void Player::die() { sendOutput("You ded."); }`
L685[08:31:28] <Bob> @bad at vijya go commit lego step
L686[08:31:59] <bad at vijya> @Bob commit british plug step
L687[08:32:10] <Lizzy> ouch
L688[08:32:32] <vifino> Damn, that's harsh.
L689[08:33:05] ⇨ Joins: bauen1 (bauen1!~bauen1@ipbcc038c0.dynamic.kabel-deutschland.de)
L690[08:33:08] <Bob> no i will commit cpu cooler
L691[08:33:25] <Bob> mine recently decided to go fall off
L692[08:33:34] <vifino> I'm sorry, you've lost that insult battle. There is nothing you can say to beat this.
L693[08:35:16] <AmandaC> That's better: https://nc.ddna.co/s/K36qYA3arYA6kTX
L694[08:35:41] <AmandaC> It also empties your inventory and puts it into a corpse
L695[08:35:47] <vifino> You can still look when you're dead?
L696[08:35:59] <vifino> Convenient.
L697[08:36:04] <Bob> eyes are still open
L698[08:36:05] <Bob> so it counts
L699[08:36:06] <Bob> ?
L700[08:36:12] <AmandaC> It moves you to the recall room
L701[08:36:23] <AmandaC> maybe I should make it say something in that case?
L702[08:36:27] <vifino> Ah, a la bioshock.
L703[08:36:32] <vifino> Vita chambers.
L704[08:36:37] <vifino> I like it.
L705[08:36:52] <vifino> And yes, it should.
L706[08:37:27] <bad at vijya> i once stepped on a heatsink
L707[08:37:31] <bad at vijya> it took some skin off my heel
L708[08:37:38] <bad at vijya> it was youch
L709[08:38:26] * Lizzy stretches, then starts chasing her kittens around the room to get them some exercise
L710[08:42:43] <The_Stargazer> do british plugs have two or three thingies in them?
L711[08:42:50] <The_Stargazer> (i.e. do they have a ground)
L712[08:43:14] <AmandaC> There we go: https://nc.ddna.co/s/Abpdk6QXyFi7o3Q
L713[08:43:43] <Lizzy> always 3 prongs
L714[08:44:26] <Lizzy> on a well-designed plug socket, the live and neutral slots have covers over them that can only be opened when the earth pin goes in first
L715[08:44:56] <Lizzy> some lower-power devices just have a plastic earthing pin but all standard plugs have 3 prongs
L716[08:45:26] <bad at vijya> yeah
L717[08:45:29] <The_Stargazer> british have good plug designs
L718[08:45:32] <The_Stargazer> not so much railway designs
L719[08:45:44] <bad at vijya> british plugs are neat
L720[08:46:01] <The_Stargazer> british railways not so neat
L721[08:46:07] <bad at vijya> also if you step on them, it'll hurt you before the plug
L722[08:46:13] <bad at vijya> from what i've heard
L723[08:46:17] <The_Stargazer> you might get electrocuted
L724[08:46:21] <The_Stargazer> if it's live
L725[08:46:33] <Lizzy> ....
L726[08:46:38] <The_Stargazer> I think
L727[08:46:40] <Lizzy> no
L728[08:46:47] <The_Stargazer> oh, okay
L729[08:47:00] <Lizzy> unless someone did something really stupid and wired a plug into a plug
L730[08:47:22] <The_Stargazer> you can DO that?!
L731[08:47:36] <bad at vijya> you can do anything with wires
L732[08:47:41] <Lizzian> http://tinyurl.com/yxayrywz
L733[08:48:00] <Lizzy> that's what a UK plug looks like
L734[08:48:09] <The_Stargazer> ah
L735[08:48:19] <Lizzy> the cord goes to the device, whilst the rest plugs in the wall/extension socket
L736[08:48:29] <The_Stargazer> (I should know this, I lived in the UK for five years)
L737[08:48:42] <The_Stargazer> that's how most plugs work yeah
L738[08:49:20] <Lizzy> okay, then you understand that it can't exactly electrocute you when it's not plugged in on the floor
L739[08:49:41] <bad at vijya> hey we americans have a plug like that!
L740[08:50:10] <The_Stargazer> oh yeah I was thinking if it was plugged in
L741[08:50:14] <The_Stargazer> I was not thinking
L742[08:50:20] <Lizzy> ah
L743[08:50:29] <The_Stargazer> have been up for like
L744[08:50:32] <The_Stargazer> atleast 10 hours
L745[08:50:35] <bad at vijya> http://tinyurl.com/y4hrbfgv
L746[08:50:47] <The_Stargazer> shocked cable
L747[08:51:05] <Lizzy> if you look at the live and neutral pins, you'll also notice that only half of the protuding pin is actually bare
L748[08:51:13] <Lizzy> the rest is insulated
L749[08:51:23] <bad at vijya> yeah
L750[08:51:34] <The_Stargazer> the plug be like ?
L751[08:51:35] <bad at vijya> also don't they have fuses in them?
L752[08:51:41] <Lizzy> that's so that by the time it's making electrical contact, all the metal bits are already in the socket
L753[08:51:42] <Lizzy> yes
L754[08:52:09] <bad at vijya> yea
L755[08:52:17] <bad at vijya> p neat design
L756[08:52:25] <The_Stargazer> wonder if our plugs have fuses
L757[08:52:29] <The_Stargazer> probably not
L758[08:52:36] <The_Stargazer> are fused plugs bigger?
L759[08:52:48] <Lizzy> if you're asking about the UK ones, no
L760[08:52:58] <Lizzy> cause all (legal) plugs are fused
L761[08:53:07] <Lizzy> so all plugs are more-or-less the same
L762[08:53:24] <bad at vijya> here in AMERICA
L763[08:53:47] <bad at vijya> they can still manage to fit fuses in small plugs
L764[08:53:54] <bad at vijya> small-ish
L765[08:54:02] <bad at vijya> see christmas tree lights
L766[08:55:03] <Lizzy> there was a copper shortage after WW1/WW2 and it turned out to be cheaper to have a single "ring main" loop and then have each appliance have a fuse rather than dedicated wires to each
L767[09:03:57] <The_Stargazer> it's 2:03 AM, I should really get sleep, but fuck it I'm not tired and there's nothing else to do
L768[09:03:58] <The_Stargazer> Time to do some more programming
L769[09:04:14] <The_Stargazer> Who needs sleep when you have OC?
L770[09:04:34] <The_Stargazer> disclaimer: I am not responsible for loss of brain cells caused by following my advice
L771[09:09:11] <Bob> ahahha today i was here till 03:10
L772[09:09:17] <Bob> well different timezones asf
L773[09:09:22] <The_Stargazer> how to replace characters in io.read() with a character?
L774[09:09:22] <The_Stargazer> I want the user to enter a password, and I want all letters to be replaced with `*`
L775[09:09:22] <The_Stargazer> Or, not display them at all (a la unix)
L776[09:09:33] <Bob> use term ?
L777[09:09:40] <Bob> or make a custom interpreter
L778[09:09:42] <Bob> based on events
L779[09:09:44] <Bob> instead of io
L780[09:09:48] <The_Stargazer> `term.read("*")` fails
L781[09:09:55] <The_Stargazer> or am I not doing it right
L782[09:10:03] <Bob> i dont use term
L783[09:10:09] <The_Stargazer> should probably
L784[09:10:11] <The_Stargazer> ocdoc
L785[09:12:15] <BohemianHacks> r/mildlyinfuriating
L786[09:12:28] <BohemianHacks> @bad at vijya's image
L787[09:16:25] <bad at vijya> what
L788[09:16:43] <The_Stargazer> ah, `options = {} options.pwchar = "*" term.read(options)`
L789[09:16:46] <Bob> different plugs
L790[09:17:01] <Bob> term.read({pwchar = "*"})
L791[09:17:13] <bad at vijya> those are the same plug, it's just the us plug at an angle
L792[09:17:29] <Bob> yea but the infuriating thing
L793[09:17:34] <Bob> european plug here :GWempDab:
L794[09:20:43] <Kodos> %tonkout
L795[09:20:43] <MichiBot> Gadsbudlikins! Kodos! You beat Lizzy's previous record of 3 hours, 37 minutes and 41 seconds (By 33 minutes)! I hope you're happy!
L796[09:20:44] <MichiBot> Kodos has stolen the tonkout! Tonk has been reset! They gained 0.004 tonk points! plus 0.003 bonus points for consecutive hours! (Reduced to 50% because stealing) Current score: 0.71666
L797[09:24:57] <bad at vijya> %tonk
L798[09:25:01] <bad at vijya> fuck
L799[09:26:24] <bauen1> %tonk
L800[09:26:25] <MichiBot> Dagnammit! bauen1! You beat Kodos's previous record of <0 (By 5 minutes and 41 seconds)! I hope you're happy!
L801[09:26:26] <MichiBot> bauen1's new record is 5 minutes and 41 seconds! bauen1 also gained 0.00009 tonk points for stealing the tonk.
L802[09:27:15] <bad at vijya> w-wot
L803[09:28:10] <Bob> rekkt
L804[09:32:11] <Saphire> %tonkout
L805[09:32:12] <MichiBot> Zounderkite! Saphire! You beat bauen1's previous record of 5 minutes and 41 seconds (By 6 seconds)! I hope you're happy!
L806[09:32:13] <MichiBot> Saphire has stolen the tonkout! Tonk has been reset! They gained 0 tonk points! Current score: 0.0096
L807[09:32:23] <Saphire> %tonk
L808[09:32:23] <MichiBot> Avada Kedavra! Saphire! You beat your own previous record of <0 (By 11 seconds)! I hope you're happy!
L809[09:32:24] <MichiBot> Saphire's new record is 11 seconds!
L810[09:32:27] <Saphire> :V
L811[09:32:43] <bauen1> so we're goimg for lowest score possible again ?
L812[09:32:48] <bauen1> %tonkout
L813[09:32:59] <bauen1> k i don't understand this
L814[09:44:46] <bad at vijya> i think there's a five minute cooldown
L815[09:45:58] <Brisingr Aerowing> It doesn't work for people with spaces in their discord name.
L816[09:47:59] <Bob> oh yes
L817[09:48:02] <Bob> rekk
L818[09:49:39] <Bob> i love how windows UAC locks me out for about 10 mins
L819[09:49:46] <Bob> crap
L820[09:54:31] <BohemianHacks> today is a good day
L821[09:54:38] <BohemianHacks> http://tinyurl.com/yxa28dtr
L822[09:55:15] <BohemianHacks> Starting to get enough data that I can generate a somewhat realistic model of how many daylilies will bloom in my friends garden on a given day.
L823[09:55:25] <BohemianHacks> Couple more days and I think i should have it dialed in.
L824[09:59:34] <Lizzy> damn you Kodos
L825[09:59:46] <Lizzy> %tonk
L826[09:59:46] <MichiBot> Zounderkite! Lizzy! You beat Saphire's previous record of 11 seconds (By 27 minutes and 10 seconds)! I hope you're happy!
L827[09:59:47] <MichiBot> Lizzy's new record is 27 minutes and 22 seconds! Lizzy also gained 0.00045 tonk points for stealing the tonk.
L828[10:00:24] <Lizzy> bauen1, the lowest score record already got taken by me the other day when i managed to tonkout without tonking first so MichiBot gave me no points
L829[10:17:49] <AmandaC> %8ball halucinate?
L830[10:17:49] <MichiBot> AmandaC: Reply hazy, try again
L831[10:18:04] <AmandaC> %8ball halucinate?
L832[10:18:04] <MichiBot> AmandaC: Signs point to yes
L833[10:18:09] <AmandaC> 'kaaay
L834[10:19:15] <vifino> Do you always ask a bot if you should nom some shrooms?
L835[10:19:40] <AmandaC> no shrooms here
L836[10:19:44] <vifino> :P
L837[10:19:54] <AmandaC> I look at letters on an eink screen and imagine what they describe
L838[10:20:22] <vifino> Yeah, that's pretty trippy. Sometimes as if you'd be in another world.
L839[10:20:57] <vifino> Depends on the combination of letters, though.
L840[10:21:12] <Lizzy> note to self: Before posting stuff in your site, make sure wordpress hasn't eaten the page title
L841[10:21:42] <vifino> It thought people were entitled to their own title for your post.
L842[10:22:21] <vifino> (I'm sorry, I have a headache and bad puns spew out of me.)
L843[10:22:27] <Lizzy> it's fiine
L844[10:22:33] * Lizzy softly-headpats
L845[10:23:22] <vifino> I've gulped down an Ibu, but there is so much noise here. .-.
L846[10:23:42] * Lizzy decides to go check her "server monitoring" email and see how many spam email attempts have been made today
L847[10:25:54] <Lizzy> quite a few
L848[10:26:05] <vifino> Let me guess. 5?
L849[10:26:09] <vifino> 42?
L850[10:26:41] <Lizzy> didn't actually count them, one sec
L851[10:27:19] <Lizzy> 12
L852[10:27:21] <bad at vijya> do
L853[10:27:25] <bad at vijya> *so
L854[10:27:30] <bad at vijya> i'm at the DMV
L855[10:27:55] <bad at vijya> i lost my learner's permit l m a o
L856[10:28:02] <Lizzy> well done
L857[10:28:18] <bad at vijya> like no clue where it went
L858[10:58:36] <bauen1> vifino: amazing, we meet again on an irc channel about a minecraft mod
L859[10:58:39] ⇨ Joins: NovaLynxie (NovaLynxie!~novalynxi@52.189.234.57)
L860[10:58:59] ⇦ Quits: NovaLynxie (NovaLynxie!~novalynxi@52.189.234.57) (Client Quit)
L861[11:03:48] <AmandaC> %tell Inari please tell me the SI isn't going to go all bodysnatchers on me
L862[11:03:49] <MichiBot> AmandaC: Inari will be notified of this message when next seen.
L863[11:18:53] <Lizzy> yay home
L864[11:30:00] <ayangd> Now I realized
L865[11:30:12] <ayangd> How git's branching is important
L866[11:31:13] <ayangd> @BohemianHacks have you shared your current project somewhere?
L867[11:42:45] ⇨ Joins: ben_mkiv (ben_mkiv!~ben_mkiv@88.130.157.18)
L868[11:43:20] <bad at vijya> over an hour later: had my ticket for an hour
L869[11:43:38] <bad at vijya> they're still only at B81
L870[11:43:50] <bad at vijya> i'm B97
L871[11:44:22] <bad at vijya> got sat down when they called B69 tho B)
L872[11:46:07] <AmandaC> %tell Inari "Life's a bitch, then you rejuvinate and do it all over again" is a brilliant perversion of that old adage
L873[11:46:07] <MichiBot> AmandaC: Inari will be notified of this message when next seen.
L874[11:46:43] ⇨ Joins: Adorable-Catgirl (Adorable-Catgirl!~yaaic@107.77.240.119)
L875[11:46:54] <Adorable-Catgirl> hey gamers
L876[11:48:59] <Adorable-Catgirl> is my shit working?
L877[11:49:14] <ayangd> Wat?
L878[11:50:39] <Adorable-Catgirl> okay cool
L879[11:50:49] <Adorable-Catgirl> can't tell if my internet is dying or not
L880[11:51:24] <Bob> B£
L881[11:51:34] * Adorable-Catgirl wants to commit liven't
L882[11:51:36] <Forecaster> %tonk
L883[11:51:37] <MichiBot> Consarn it! Forecaster! You beat Lizzy's previous record of 27 minutes and 22 seconds (By 1 hour, 24 minutes and 27 seconds)! I hope you're happy!
L884[11:51:38] <MichiBot> Forecaster's new record is 1 hour, 51 minutes and 50 seconds! Forecaster also gained 0.00141 tonk points for stealing the tonk.
L885[11:51:52] <Adorable-Catgirl> b
L886[11:52:24] <Adorable-Catgirl> ee e
L887[11:52:30] <Adorable-Catgirl> e
L888[11:52:59] <Adorable-Catgirl> bees
L889[11:54:16] <Bob> Tthe bee movie
L890[11:54:23] <ayangd> @Bob I tried Storage Drawers mod, and it worked.
L891[11:54:54] <Adorable-Catgirl> you are the bee movie @Bob
L892[11:55:01] <ayangd> And it always leaves `minecraft:air` in the first slot.
L893[11:55:59] <ayangd> Dunno why
L894[11:57:15] <Bob> because it has nothing
L895[11:57:47] <Bob> and sotrage drawers are op
L896[12:00:08] <ayangd> What are the Controller Slave does?
L897[12:00:32] <Bob> wat
L898[12:00:47] <ayangd> What is the purpose of the Controller Slave? [Edited]
L899[12:00:56] <ayangd> Sorry my bad englisch
L900[12:00:58] <Bob> it is like the controller
L901[12:01:09] <Bob> just makes another interface to acces
L902[12:01:43] <ayangd> 4 wat?
L903[12:03:52] <AmandaC> for other mods
L904[12:04:02] <AmandaC> it exposes a secondary point of an inventory of the drawer's contents
L905[12:04:12] <Bob> ^
L906[12:04:16] <Bob> not expand
L907[12:04:18] <Bob> just give acces
L908[12:04:33] <ayangd> read-only?
L909[12:04:42] <AmandaC> should work for both read-write
L910[12:04:48] <Bob> yep
L911[12:04:55] <Bob> put pumml
L912[12:04:57] <Bob> pull
L913[12:07:42] ⇨ Joins: Inari (Inari!~Pinkishu@pD9E8EA20.dip0.t-ipconnect.de)
L914[12:08:28] ⇦ Quits: ba7888b72413a16a (ba7888b72413a16a!~ba7888b72@66.109.211.150) (Ping timeout: 190 seconds)
L915[12:09:18] <ayangd> Then what's the point?
L916[12:09:58] <Bob> its bery usefull
L917[12:10:10] <Bob> its to have the drawer controller accescible from other locations
L918[12:10:17] <Bob> best thing
L919[12:10:25] <ayangd> Give me example
L920[12:10:29] <Bob> do it yourself
L921[12:10:34] <ayangd> I still can't catch the point
L922[12:11:54] <ayangd> Maybe I'm gonna watch the YouTube tutorial, in german maybe? dunno...
L923[12:12:11] <Bob> why
L924[12:12:13] <Bob> its so simple
L925[12:13:24] <Bob> imagine the controller being blocked off by other drawers, slap a slave and done you can acces it if it was the controller
L926[12:13:31] <Bob> and see the drawers the controller has reach to
L927[12:13:32] <Inari> .
L928[12:13:39] <Bob> if slave and controller conneceted by drawers or frames
L929[12:13:45] <Bob> extremely simple yet usefull
L930[12:13:50] <Inari> AmandaC: hehe. Of course it'll bodysnatch you
L931[12:13:56] <Inari> (whatever that means)
L932[12:15:42] <Adorable-Catgirl> rEEEEE
L933[12:15:50] <Bob> ezz
L934[12:16:00] <Adorable-Catgirl> it slowed down again
L935[12:16:04] <ayangd> How the controller can be blocked off by other drawers. Doesn't the controller controls every drawers it connects?
L936[12:17:09] <Bob> :GWtloMarioFP:
L937[12:17:15] <Bob> its surrounded by drawers
L938[12:17:20] <Bob> and you can not anymore acces the controller
L939[12:17:34] <ayangd> Ah, the view
L940[12:17:36] <Bob> so the slave comes here as an extention or a mimic of what the controller sees
L941[12:17:36] <Bob> yes
L942[12:18:35] <ayangd> Okay
L943[12:18:37] <ayangd> so,
L944[12:18:50] <ayangd> The slave is for reading only?
L945[12:18:54] <Bob> no
L946[12:18:56] <Bob> putting aswell
L947[12:18:57] <Bob> :GWtloMarioFP:
L948[12:19:13] <ayangd> But, you can't put it by hand?
L949[12:19:20] ⇨ Joins: asoftbird (asoftbird!webchat@83-83-126-64.cable.dynamic.v4.ziggo.nl)
L950[12:19:37] <ayangd> But, with hoppers, it can?
L951[12:19:37] <Inari> GWtloMarioFP indeed
L952[12:19:55] <asoftbird> hi, I'd like to know how I can use multiple redstone I/O blocks on a cable to control, say, 3 redstone outputs
L953[12:20:06] <asoftbird> none of the compat bundled cable mods are installed
L954[12:20:19] <asoftbird> + very new to the mod but CC experienced
L955[12:21:14] <Lizzy> if you utilise the compoent.proxy() method, you can address all 3 (and more) redstone IO blocks
L956[12:21:25] <Lizzy> ~oc component
L957[12:21:37] <Lizzy> hmm, okay the wiki linking bot is dead it seems
L958[12:21:37] <Bob> component.proxy(addres) returns the component table with its methods
L959[12:21:39] <Bob> so yea
L960[12:21:43] <Bob> yea it is
L961[12:22:07] <ayangd> Okay
L962[12:22:10] <ayangd> Now i get it
L963[12:22:18] <ayangd> asoftbird: https://ocdoc.cil.li/api:component
L964[12:22:57] <Lizzy> ^ that's what i was gonna link :P
L965[12:23:24] <asoftbird> is there any way to copy an address easily?
L966[12:23:35] <asoftbird> or edit text locally? playing on a server btw
L967[12:23:47] <Lizzy> if you have an analyzer, click on the address when it appears in the chat
L968[12:23:49] <Forecaster> blocks yes, items no
L969[12:23:56] <Forecaster> locally on a server, no
L970[12:24:11] <Bob> You can edit text localy on singleplayer
L971[12:24:19] <Bob> but it requires disabbling buffering in OC configos
L972[12:24:32] <Forecaster> it doesn't *require* it
L973[12:24:34] <Bob> and you can easely copy blocks addresses using an analyser and shift
L974[12:24:37] <Forecaster> it just makes it more convenient
L975[12:24:43] <Bob> well yea
L976[12:24:55] <Bob> but each time you change something , flushing the drive eh
L977[12:25:01] <Lizzy> Another way you could do it is using component.get(), if you feed that the first 5 or so character's of a components UUID it will return the full UUID providing it's connected to that system
L978[12:25:31] <Lizzy> so like: redstone_1 = component.proxy( component.get( "abcd" ) )
L979[12:25:56] <ayangd> Also, you can abbreviate the address```component.get(address: string[, componentType: string]): string | (nil, string)```Tries to resolve an abbreviated address to a full address. Returns the full address on success, or nil and an error message otherwise. Optionally filters by component type.
L980[12:26:31] <ayangd> Ah, it's mentioned
L981[12:26:33] <ayangd> I'm late
L982[12:27:21] <Inari> You could also put a microcontroller at each I/O otuput
L983[12:28:06] <Lizzy> yes, but asoftbird is new to OC so asking them to set up microcontrollers is a bit further down the line lol
L984[12:28:20] <Bob> yea
L985[12:30:38] <Bob> Code Block pastebined https://paste.pc-logix.com/ipinayonig
L986[12:30:38] <asoftbird> I'm reading along btw, thanks
L987[12:30:38] <Bob> Are you guys sure it will be true, comparing tables isn't easy and i doubt the addresses are the same unless the component gives its table a special address that is the same for both ?
L988[12:31:12] <ayangd> If you want to get all available Redstone IO Blocks, use:
L989[12:31:13] <ayangd> `component.list([filter:string[, exact:boolean]]):function`
L990[12:31:13] <ayangd> Returns a table with all components currently attached to the computer, with address as a key and component type as a value. It also provides iterator syntax via `__call`, so you can use it like so: `for address, componentType in component.list() do ... end`
L991[12:31:36] <ayangd> put the filter to "redstone"
L992[12:31:46] <Bob> its not right
L993[12:32:06] <asoftbird> also wtf is corded, hard to distinguish between people lol
L994[12:32:07] <Bob> its
L995[12:32:07] <Bob> for address,name in pairs(component.list("filter")) do
L996[12:32:14] <Bob> Its a bot that relays between discord and IRC
L997[12:32:18] <Lizzy> asoftbird, corded is our Discord bridge bot
L998[12:32:19] <asoftbird> ...there's a discord?
L999[12:32:24] <Bob> yep
L1000[12:32:26] <ayangd> Yea
L1001[12:32:27] <Lizzy> yeah, links in the topic
L1002[12:32:31] <asoftbird> oh, thanks
L1003[12:32:38] <Lizzy> i think that still works
L1004[12:32:41] <asoftbird> couldn't find it anywhere, irc is better than nothing at least
L1005[12:32:58] <ayangd> No bob
L1006[12:33:05] <a soft bird> there we go
L1007[12:33:06] <Bob> Yes bob
L1008[12:33:09] <Bob> Welcome back
L1009[12:33:11] <a soft bird> that's a lot beter
L1010[12:33:12] <a soft bird> that's a lot better [Edited]
L1011[12:33:28] <ayangd> Code Block pastebined https://paste.pc-logix.com/zawevatuci
L1012[12:33:35] <Bob> yes but thats what i said
L1013[12:33:38] <Bob> ¯\_(ツ)_/¯
L1014[12:33:46] <Bob> component list returning a table and not an iterator
L1015[12:33:48] <Bob> like the FS list
L1016[12:33:48] <ayangd> Then I fixed it
L1017[12:33:49] <Bob> stoopid
L1018[12:34:03] <Bob> should i PR on github to have a table instead of an iterator ?
L1019[12:34:24] <a soft bird> should mention I'm not lua fluent either, know C but that's about it
L1020[12:34:28] <a soft bird> oh well, I'll figure stuff out
L1021[12:34:34] <Bob> Lua is easy as heck and its built on C
L1022[12:34:42] <Bob> i have a good starter tutorial but with C you got it all
L1023[12:34:46] <Bob> tutorialspoint.com/lua
L1024[12:34:52] <a soft bird> it feels so weird to not have to place a semi everywhere
L1025[12:34:53] <ayangd> `component.list()` is a table-returned function
L1026[12:34:57] <a soft bird> or define types
L1027[12:35:07] <Bob> Lua can use semis but its not used
L1028[12:35:08] <ayangd> wait
L1029[12:35:09] <a soft bird> ..does lua support C
L1030[12:35:14] <Bob> not OC one but Lua does
L1031[12:35:16] <Bob> its built on C
L1032[12:35:24] <Bob> and has capabilities to execute C libs
L1033[12:35:35] <Bob> so you can use it as a scripting lang to make life easier
L1034[12:35:45] <Bob> Lua also uses ends and isnt white space dependent
L1035[12:35:51] <Bob> and also use always locals when you can
L1036[12:35:58] <Bob> and dotn use table insert
L1037[12:36:00] <Bob> evil
L1038[12:36:06] ⇨ Joins: Kleadron9 (Kleadron9!~kleadron@c-73-254-147-9.hsd1.wa.comcast.net)
L1039[12:36:18] <ayangd> Lua, Python, Ruby, Bash, and VB doesn't need semis
L1040[12:37:03] <Bob> dont compare Lua to python ayy
L1041[12:37:08] <Bob> many langs dont use semis
L1042[12:37:10] <Bob> but some do
L1043[12:37:11] <ayangd> I don't
L1044[12:37:19] <Bob> Shader lang eee
L1045[12:37:41] <Inari> Soundscards seem rare and expensive :f
L1046[12:37:45] ⇨ Joins: Rahix (Rahix!~Rahix@p5385B382.club.muc.ccc.de)
L1047[12:37:45] <CompanionCube> %tonk
L1048[12:37:45] <MichiBot> I'm sorry CompanionCube, you were not able to beat Forecaster's record of 1 hour, 51 minutes and 50 seconds this time. 46 minutes and 9 seconds were wasted! Missed by 1 hour, 5 minutes and 40 seconds!
L1049[12:37:54] <Bob> IRL or OC ?
L1050[12:38:05] <ayangd> Inari: You can build one for your own?
L1051[12:38:06] <Inari> IRL
L1052[12:38:17] <ayangd> nvm
L1053[12:38:19] <Inari> @ayangd I'm not that good
L1054[12:38:20] <Inari> :p
L1055[12:38:30] <ayangd> okay :p
L1056[12:39:21] <Bob> isnt your motherboard sound card enough ?
L1057[12:39:26] <Inari> No
L1058[12:39:55] <Inari> I like having a button to switch between headphonesa nd speakers
L1059[12:40:14] <a soft bird> do I need a redstone card with redstone io blocks
L1060[12:40:16] <a soft bird> do I need a redstone card with redstone io blocks? [Edited]
L1061[12:40:23] <ayangd> Nope
L1062[12:40:27] <ayangd> They're the same
L1063[12:40:37] <Bob> no
L1064[12:40:38] <a soft bird> right, then I'm doing stuff wrong
L1065[12:40:45] <ayangd> Redstone cards are made of redstone io blocks
L1066[12:40:47] <Bob> a redstone card makes so the computer can emit and receive redstone
L1067[12:41:05] <Inari> Hm
L1068[12:41:17] <Inari> So how long till we can create an IRL substance that acts like redstone
L1069[12:41:18] <ayangd> So, put one redstone card and your computer will act as redstone io block
L1070[12:41:22] <a soft bird> Code Block pastebined https://paste.pc-logix.com/veyapoxuhe
L1071[12:41:22] <a soft bird> gives me a nasty error
L1072[12:41:35] <Bob> because addr1 is a string
L1073[12:41:37] <Bob> and its the addres
L1074[12:41:39] <Bob> and use locals
L1075[12:41:43] <Bob> globals are hellishly slow
L1076[12:41:48] <a soft bird> oh, yeah
L1077[12:41:52] <a soft bird> but uh, how would that work
L1078[12:42:00] <ayangd> `component.proxy(component.get("[addrcode]"))`
L1079[12:42:01] <Bob> local keyword
L1080[12:42:03] <Bob> local a = 1
L1081[12:42:23] <a soft bird> @ayangd set variable to that proxy and operate on that?
L1082[12:42:38] <a soft bird> @Bob I get locals lol
L1083[12:42:47] <ayangd> yea
L1084[12:42:52] <a soft bird> hm
L1085[12:42:53] <Bob> Code Block pastebined https://paste.pc-logix.com/ukosokivob
L1086[12:42:57] <Bob> and there is a simpler way
L1087[12:43:00] <Bob> component.redstone
L1088[12:43:01] <Bob> voila
L1089[12:43:03] <ayangd> yes
L1090[12:43:07] <Bob> or component.getPrimary("redstone")
L1091[12:43:08] <a soft bird> the requires are just includes basically?
L1092[12:43:12] <Bob> yes
L1093[12:43:14] <Bob> load library
L1094[12:43:27] <a soft bird> seems weird to set a var to a library personally
L1095[12:43:29] <Bob> local makes so its only avaible in the scope and subscopes but not outside
L1096[12:43:34] <a soft bird> oh, yeah
L1097[12:43:36] <Bob> well the mibrary returs a table
L1098[12:43:40] <Bob> and that table is being used
L1099[12:43:41] <Bob> simple
L1100[12:43:44] <Bob> Lua is really basic
L1101[12:43:48] <Bob> no fancy stuff here
L1102[12:43:49] <ayangd> All non-local vars are visible until you restart the computer
L1103[12:43:59] <Bob> so locals help memory and speed
L1104[12:44:02] <Bob> by being cached
L1105[12:44:05] <a soft bird> hm, thanks
L1106[12:44:20] <Bob> don't be afraid to share code so we can fix / edit it ?
L1107[12:44:32] <ayangd> Yes, please ?
L1108[12:45:17] <ayangd> What does Storage Drawers' oak trim do?
L1109[12:45:36] <ayangd> bob
L1110[12:45:56] <Bob> it acts like an drawer controller connector
L1111[12:46:07] <Bob> like you can connect drawwers between them and the controller will see
L1112[12:46:24] <ayangd> Okay
L1113[12:46:30] <ayangd> Then the frames?
L1114[12:46:39] <a soft bird> uhhhhhhhhhhhhh http://tinyurl.com/yy8fle4q
L1115[12:47:04] <ayangd> When `component.get()` fails, it'll give `nil`
L1116[12:47:14] <a soft bird> it did work on the same syntax just before
L1117[12:47:21] <a soft bird> same query
L1118[12:47:22] <DEMONITIZED BOI> looking for developers for a server! DM me
L1119[12:47:32] <Inari> https://www.youtube.com/watch?v=maKok2RItxM ~
L1120[12:47:32] <MichiBot> fhána / 青空のラプソディ - MUSIC VIDEO | length: 4m 38s | Likes: 185,593 Dislikes: 4,994 Views: 28,633,467 | by Lantis Channel | Published On 10/1/2017
L1121[12:47:46] <Bob> @a soft bird each shell line its its own scope
L1122[12:47:50] <a soft bird> ...
L1123[12:47:51] <Bob> so your local is basically flusehd
L1124[12:47:52] <Bob> yep
L1125[12:47:54] <CompanionCube> %oclogs
L1126[12:47:54] <MichiBot> CompanionCube: https://oclogs.pc-logix.com/
L1127[12:47:56] <a soft bird> I suspected that but darnit
L1128[12:47:58] <Bob> you need to use globals there
L1129[12:48:04] <Bob> ¯\_(ツ)_/¯
L1130[12:48:09] <ayangd> use locals on files, not shell
L1131[12:48:21] <Bob> you better edit files locally yes
L1132[12:48:29] <Bob> but for small tests the shell is perfect aswell
L1133[12:48:38] <ayangd> non-local vars on shell will be erased upon exiting the shell
L1134[12:48:41] <Bob> and the system already loads component and most libs
L1135[12:49:10] <a soft bird> right, that works
L1136[12:49:12] <a soft bird> thanks
L1137[12:49:43] <a soft bird> that's step one I guess, back to the docs
L1138[12:50:17] <Bob> good luck
L1139[12:50:35] <a soft bird> any libs for touchscreen functionality?
L1140[12:50:49] <a soft bird> or quick GUI control
L1141[12:50:49] <Bob> umh ?
L1142[12:50:55] <Bob> tier 3 screens have touch support
L1143[12:51:03] <a soft bird> what's the lib name for that?
L1144[12:51:08] <Bob> there is none
L1145[12:51:12] <Bob> there are events maybe
L1146[12:51:15] <ayangd> For touch events, `os.event()`
L1147[12:51:19] <Bob> you might want that
L1148[12:51:21] <Bob> wat
L1149[12:51:22] <Bob> os ?
L1150[12:51:26] <a soft bird> oh, yeah, found it
L1151[12:51:31] <ayangd> I forgot :p
L1152[12:51:33] <Bob> its an library
L1153[12:51:39] <Bob> require("event")
L1154[12:51:40] <DEMONITIZED BOI> anyone here good with railcraft?
L1155[12:51:42] <Bob> os hasn othing to do
L1156[12:51:45] <ayangd> ah
L1157[12:51:48] <Bob> @DEMONITIZED BOI a bit, Forecaster is a pro
L1158[12:51:48] <ayangd> `event.pull()`
L1159[12:51:51] <Bob> yes
L1160[12:52:01] <DEMONITIZED BOI> bob
L1161[12:52:02] <ayangd> or `event.pull(filter)`
L1162[12:52:05] <Bob> look up the event api
L1163[12:52:06] <DEMONITIZED BOI> is ur PC working
L1164[12:52:12] <Bob> Yes but im in BL2
L1165[12:52:15] <a soft bird> @Bob yeah found it, thanko
L1166[12:52:17] <Bob> and dont plan stopping
L1167[12:52:21] <ayangd> https://ocdoc.cil.li/api:event
L1168[12:52:34] <Bob> @a soft bird no rpoblemo, i can link my github if you want some examples or the OC github with OpenOS files
L1169[12:53:04] <a soft bird> sure, that'd be nice
L1170[12:53:07] <ayangd> But, it will be deep in the code
L1171[12:53:16] <ayangd> I have mine too..
L1172[12:53:27] <ayangd> But, my project on OC
L1173[12:53:28] ⇦ Quits: Adorable-Catgirl (Adorable-Catgirl!~yaaic@107.77.240.119) (Read error: Connection reset by peer)
L1174[12:53:33] <a soft bird> never coded anything gui-ish so that'll be a fun one
L1175[12:53:37] <a soft bird> levers would work too tho
L1176[12:53:40] <Bob> https://github.com/big-lip-bob/OCMessesAndBadCode
L1177[12:53:44] <Bob> i have a graphical library
L1178[12:53:45] <Bob> but its sucks
L1179[12:53:47] <Bob> literally
L1180[12:53:51] <Bob> i need to refresh
L1181[12:53:56] <Bob> since i done it when i was just starting out
L1182[12:53:58] <a soft bird> or, hell, listen for a 3-bit command and configure outputs based on that
L1183[12:54:00] <Bob> now that im very abile with Lua
L1184[12:54:06] <Bob> 3bit ?
L1185[12:54:13] <a soft bird> yeah 010 or whatever for 8 possible states
L1186[12:54:16] <ayangd> meh
L1187[12:54:21] <Bob> mhm
L1188[12:54:22] <ayangd> use bit32 library?
L1189[12:54:25] <a soft bird> it's easy for starters
L1190[12:54:28] <Bob> i know what are bits and how many is 3
L1191[12:54:33] <Bob> and Lua 5.3 has bit manipulations
L1192[12:54:35] <a soft bird> no like I only have 8 outputs anyway
L1193[12:54:52] <Bob> try to use the newest Lua architectures on Lua CPUs
L1194[12:54:56] <ayangd> Wait
L1195[12:54:57] <Bob> or sometimes older
L1196[12:55:00] <Bob> depends on the script
L1197[12:55:02] <a soft bird> select output with some bits, send a 1 or 0 to turn on/off
L1198[12:55:02] <Bob> but newer is better
L1199[12:55:03] <a soft bird> etc
L1200[12:55:13] <ayangd> Don't say you're using OC for screens only, don't you?
L1201[12:55:23] <a soft bird> I don't know yet lol
L1202[12:55:25] <Bob> OC is far more powerfull
L1203[12:55:27] <Bob> :GWaobaWink:
L1204[12:55:32] <ayangd> Yea
L1205[12:55:48] <a soft bird> I need something to handle 8 redstone outputs without clogging up a 80x80 space with redstone
L1206[12:55:49] <Bob> https://github.com/MightyPirates/OpenComputers/tree/master-MC1.12/src/main/resources/assets/opencomputers/loot
L1207[12:55:50] <ayangd> A big potency to be dig out
L1208[12:56:04] <a soft bird> and OC is t he only mod that handles that aside from IntegratedDynamics which is nice but annoying to progtram
L1209[12:56:06] <a soft bird> and OC is t he only mod that handles that aside from IntegratedDynamics which is nice but annoying to program [Edited]
L1210[12:56:18] <Bob> @a soft bird that can be easely achieved i think and even with a GUI, i would use OOP here tough
L1211[12:56:29] <a soft bird> why oop?
L1212[12:56:44] <a soft bird> haven't really ever made anything that requires objects so I'm just wondering
L1213[12:56:49] <ayangd> For testing and small projects, I don't use oop tho
L1214[12:57:21] <ayangd> And GUI will make your project bloat
L1215[12:57:25] <Bob> its simpler to manage stuff
L1216[12:57:27] <Bob> not really
L1217[12:57:34] <a soft bird> if it's a first timer, yes
L1218[12:57:35] <Bob> make just a GUI lib and GUI script separate
L1219[12:58:18] <a soft bird> I like the binary input idea anyways
L1220[12:58:23] <a soft bird> gui might come later if there's time
L1221[12:58:36] <ayangd> Yea, it's better
L1222[12:58:45] <ayangd> not to do it too soon
L1223[12:59:11] <a soft bird> I like how the OS supports both ls and dir
L1224[12:59:14] <a soft bird> for the confused users like me
L1225[12:59:17] <Bob> i can fast code a quick and dirty program
L1226[12:59:22] <Bob> OpenOS is based of linux shell so
L1227[12:59:38] <a soft bird> sort of learning to use that in my free time
L1228[12:59:51] <a soft bird> running a lil webserver and i'm proud I haven't ever crashed it so far
L1229[13:00:30] <a soft bird> got some time off for summer holidays and I'm using it to play games and learn computing/coding
L1230[13:00:45] <ayangd> Using linux service or homemade-webserver-program?
L1231[13:00:55] <ayangd> I mean, if you're on linux..
L1232[13:01:12] <a soft bird> some CentOS virtual server a friend allocated for me
L1233[13:01:19] <a soft bird> putty/scp into there, do things
L1234[13:01:34] <a soft bird> run a website with plugins that don't work well, frankenstein the php together
L1235[13:01:46] ⇨ Joins: ba7888b72413a16a (ba7888b72413a16a!~ba7888b72@66.109.211.150)
L1236[13:01:49] <a soft bird> I formally only know the C and StackOverflow languages
L1237[13:02:01] <ayangd> Wat StackOverflow language?
L1238[13:02:16] <a soft bird> the "no idea how php works but this copy paste looks like it might work"
L1239[13:02:18] <a soft bird> langauge
L1240[13:02:20] <a soft bird> language [Edited]
L1241[13:02:52] <a soft bird> yeah.
L1242[13:02:54] <ayangd> PHP is like JavaScript, but with little spice
L1243[13:02:56] <Bob> php lmao
L1244[13:03:28] <a soft bird> it doesn't help when there's seven million libs and dependencies and you have no idea which to use when
L1245[13:03:39] <a soft bird> i'm in backend hell
L1246[13:03:39] <ayangd> And JavaScript is historically built based on Java...
L1247[13:04:02] <a soft bird> anyway, I'll go work on the OC thing now, thanks for the help
L1248[13:04:07] <a soft bird> probably back in ~3 minutes
L1249[13:04:08] <Inari> JScrypted
L1250[13:04:18] <ayangd> Inari: nah
L1251[13:04:23] * Inari hands @"a soft bird" over to Temia
L1252[13:04:33] <a soft bird> oh...no
L1253[13:04:35] <a soft bird> oh...no? [Edited]
L1254[13:04:43] <Inari> Don't worry
L1255[13:04:48] <Inari> Temia is our resident minotaur girl
L1256[13:04:50] <Temia> :O
L1257[13:04:50] <Inari> And loves birds
L1258[13:04:50] <Bob> run for your life
L1259[13:04:53] * Temia squees <3
L1260[13:04:58] <a soft bird> oh no
L1261[13:04:59] * Temia headpats and releases
L1262[13:04:59] <a soft bird> not my birds
L1263[13:05:06] <a soft bird> :birb:
L1264[13:05:06] <ayangd> Yay
L1265[13:05:22] <Inari> %pet Temia
L1266[13:05:23] * MichiBot pets Temia with heaps of sleep. 2 health gained!
L1267[13:05:23] <a soft bird> hi I'm certified bird nird
L1268[13:05:25] <a soft bird> nerd
L1269[13:05:27] <a soft bird> w/e
L1270[13:05:29] <Inari> Temia: Found something new to play yet? :p
L1271[13:05:45] <a soft bird> why is bird pronounced similar to nerd, why isn't it nird
L1272[13:05:56] <Inari> Cause English
L1273[13:06:00] <a soft bird> oh, yike
L1274[13:06:09] <a soft bird> :birdamaze:
L1275[13:06:54] <Forecaster> e and i are different...
L1276[13:06:59] <CompanionCube> ...did soemone say 'javascript built on java'
L1277[13:07:04] <ayangd> Why not birb?
L1278[13:07:07] <CompanionCube> Temia: can borrow axe pls?
L1279[13:07:09] <a soft bird> sometimes
L1280[13:07:11] <a soft bird> :birb:
L1281[13:07:32] <ayangd> *a soft birb* is gut name
L1282[13:07:59] <CompanionCube> oh, i'll just do it myself
L1283[13:08:06] <CompanionCube> %bap ayangd
L1284[13:08:06] * MichiBot baps ayangd with befuzzlement
L1285[13:08:15] <CompanionCube> appropriate.
L1286[13:08:21] <Inari> %pet CompanionCube
L1287[13:08:21] * MichiBot brushes CompanionCube with cherry blossom girl. 6 health gained!
L1288[13:08:27] <CompanionCube> d'aww
L1289[13:08:28] <ayangd> wat
L1290[13:08:35] * CompanionCube huggles Inari
L1291[13:08:40] <Inari> D:
L1292[13:08:49] <CompanionCube> b-but it's a good thingg
L1293[13:08:55] <CompanionCube> why do you not like :(
L1294[13:09:06] <Inari> Hugs are reserved for my love
L1295[13:09:07] <Inari> :p;
L1296[13:09:37] <CompanionCube> :(
L1297[13:09:53] * Inari incinerates CompanionCube
L1298[13:10:13] <CompanionCube> Inari: what is the temperature of that incinerator
L1299[13:10:52] <Inari> 35 degrees C
L1300[13:11:00] <ayangd> Oh no
L1301[13:11:10] <ayangd> `robot.place()` drawers are weird
L1302[13:11:13] * CompanionCube doesn't notice a damn thing.
L1303[13:11:21] <CompanionCube> but i'm doing this anyway as retaliation
L1304[13:11:25] <CompanionCube> %fling Inari
L1305[13:11:26] * MichiBot flings a sour-toe cocktail in a random direction. It hits the ground near Inari
L1306[13:11:34] <Inari> Heh
L1307[13:11:35] <a soft bird> it's nice to be coding something and then the server crashes
L1308[13:11:36] <a soft bird> fml
L1309[13:11:51] <CompanionCube> obvious solution is to use an external editor
L1310[13:11:56] <CompanionCube> even if that's not easy on servers :p
L1311[13:12:48] <a soft bird> insert key is a thing
L1312[13:12:51] <a soft bird> pastebin too I guess
L1313[13:12:56] <Bob> pffft
L1314[13:12:57] <Bob> n00b
L1315[13:13:00] <Bob> Notepad++ > all
L1316[13:13:14] * CompanionCube stomps on Bob with emacs/vim
L1317[13:13:25] <Corded> * <Forecaster> uses Idea mostly
L1318[13:13:41] <Inari> patto hanabi ga~
L1319[13:15:13] <Inari> https://www.youtube.com/watch?v=-tKVN2mAKRI best song
L1320[13:15:13] <MichiBot> DAOKO × 米津玄師『打上花火』MUSIC VIDEO | length: 4m 53s | Likes: 1,241,535 Dislikes: 40,337 Views: 288,023,962 | by daoko_jp | Published On 9/8/2017
L1321[13:17:24] <ayangd> Yea
L1322[13:17:26] <ayangd> Gut song
L1323[13:17:38] <ayangd> And gut movie
L1324[13:17:44] <Inari> Haven't seen the movie yet
L1325[13:17:50] <ayangd> Haha
L1326[13:18:07] <ayangd> It may be confusing
L1327[13:18:20] <ayangd> But, after I saw the movie, I understand everything tho
L1328[13:18:43] <Inari> what may be confusing
L1329[13:19:37] <bad at vijya> i'm back from the DMV
L1330[13:19:48] <bad at vijya> getting my paper copy of my permit took like five minutes
L1331[13:19:51] <Inari> Got a new fake id?
L1332[13:20:09] <bad at vijya> yea boi
L1333[13:20:17] <Forecaster> why would you get a fake id from an official source
L1334[13:20:30] <Inari> If you can trick the official source it's pretty muicha n ofifical id
L1335[13:23:25] <bad at vijya> anyways
L1336[13:23:31] <bad at vijya> relaxing with some MC
L1337[13:23:36] <bad at vijya> except there's some spooky
L1338[13:23:47] <bad at vijya> i got reika's voidmonster mod just because that sounded fun
L1339[13:26:38] <bad at vijya> also, man
L1340[13:26:50] <bad at vijya> i might need to open up another hole in the earth
L1341[13:26:57] <Inari> Ah Shinigami is always such a good song to end on
L1342[13:27:00] <bad at vijya> i'm running out of my main building material, cobblestone
L1343[13:27:43] <Forecaster> better cobble some more stone together then
L1344[13:28:33] <bad at vijya> also
L1345[13:28:40] <bad at vijya> sound filters make things a bit more spooky
L1346[13:30:01] <Bob> we need DST darkness in MC
L1347[13:30:19] <ayangd> Inari: the storyline
L1348[13:30:45] <Inari> The river flows into the sea, people flow towards death / The setting sun will judge if you have done all that you can / Turn sorrow into money, make flowers bloom with your rage / All originates from and squirms under love ~
L1349[13:35:50] <bad at vijya> http://tinyurl.com/y4hhh5r2
L1350[13:39:31] <ayangd> https://github.com/ayangd/oc-automate_everything/tree/craftingRemake
L1351[13:39:38] <DEMONITIZED BOI> http://tinyurl.com/y2ozfcnr
L1352[13:39:52] <DEMONITIZED BOI> I saw this and broke out laughing
L1353[13:39:58] <ayangd> lol
L1354[13:40:09] <DEMONITIZED BOI> "I accept this shit"
L1355[13:40:15] <Bob> MineOS is shit yea
L1356[13:40:28] <DEMONITIZED BOI> I like it
L1357[13:40:41] <DEMONITIZED BOI> ~~Windows 3.1 would be better though~~
L1358[13:42:37] <ayangd> Because Windows 3.1 switched to graphics mode instead of text mode
L1359[13:43:37] ⇨ Joins: baschdel_ (baschdel_!~baschdel@2a01:5c0:16:ede1:571b:16dd:1bdb:37b)
L1360[13:43:55] <ayangd> Which may handle a dot of pixel in like 640*480 display
L1361[13:45:50] <ayangd> Btw, you can install Windows on OC
L1362[13:46:39] <Forecaster> egh
L1363[13:46:48] <Forecaster> why can't I switch to a ship just because it's wanted...
L1364[13:46:48] ⇦ Quits: baschdel_ (baschdel_!~baschdel@2a01:5c0:16:ede1:571b:16dd:1bdb:37b) (Remote host closed the connection)
L1365[13:46:50] <Forecaster> :|
L1366[13:48:07] <Forecaster> and you can't pay off bounties for a ship you're not in...
L1367[13:49:40] <bad at vijya> man
L1368[13:49:55] <bad at vijya> i gotta charge up a few energy cells for use in my quarry
L1369[13:50:07] <bad at vijya> since i cba to pipe power over there
L1370[13:50:18] <bad at vijya> and i can get higher RF/t out of two batteries than my reactor
L1371[13:52:49] ⇨ Joins: Vexatos (Vexatos!~Vexatos@port-92-200-97-89.dynamic.qsc.de)
L1372[13:52:49] zsh sets mode: +v on Vexatos
L1373[13:55:06] ⇦ Quits: Kleadron9 (Kleadron9!~kleadron@c-73-254-147-9.hsd1.wa.comcast.net) (Ping timeout: 198 seconds)
L1374[13:55:50] ⇨ Joins: DEMONITIZED_BOI (DEMONITIZED_BOI!webchat@c-67-182-0-126.hsd1.ca.comcast.net)
L1375[13:56:04] ⇨ Joins: DEMONITIZED (DEMONITIZED!~DEMONITIZ@c-67-182-0-126.hsd1.ca.comcast.net)
L1376[13:56:17] <DEMONITIZED> Wait
L1377[13:56:31] <DEMONITIZED> IRC on OC actually works
L1378[13:56:48] <Vexatos> that's a lie
L1379[13:56:52] <Inari> Why wouldn't it
L1380[13:57:07] <DEMONITIZED> I thought it was a joke
L1381[13:57:15] <DEMONITIZED> But here I am
L1382[13:57:50] <simon816> woo tcp
L1383[13:58:22] <Vexatos> tea crate policy
L1384[13:59:11] <DEMONITIZED> lol
L1385[13:59:31] <DEMONITIZED> Anyone wanna be a developer on my server?
L1386[14:00:00] <DEMONITIZED> I understand js better than lua
L1387[14:00:01] <Vexatos> I have an exam tomorrow D:
L1388[14:00:02] <Bob> do it yourself mm
L1389[14:00:22] <Forecaster> learn lua
L1390[14:00:26] <Forecaster> it's not that difficult
L1391[14:00:47] <DEMONITIZED> What do you think I;ve been doing for a month
L1392[14:01:03] <bad at vijya> lua is dead fuckin simple
L1393[14:01:07] <bad at vijya> it really be
L1394[14:01:08] <AmandaC> Temia: birb http://imgur.com/gallery/nTybnKq
L1395[14:01:15] <DEMONITIZED> Not for me
L1396[14:01:52] <Bob> it took me one week to learn it
L1397[14:01:53] <DEMONITIZED> Geez, I just don't get lua. Ne need to attack me
L1398[14:02:00] <Bob> Lua is a joke
L1399[14:02:07] <Bob> in simplicity obviously
L1400[14:02:26] <DEMONITIZED> I DON'T UNDERSTAND IT
L1401[14:02:34] <DEMONITIZED> This does not help
L1402[14:02:59] <bad at vijya> how do you not understand it
L1403[14:02:59] <Bob> then larn it
L1404[14:03:01] <bad at vijya> explain what part
L1405[14:03:02] <Bob> https://www.tutorialspoint.com/lua
L1406[14:03:03] <Bob> here
L1407[14:03:06] <Bob> read this fully
L1408[14:03:06] <bad at vijya> you don't understand
L1409[14:03:13] <Bob> if you dont get that turorial there is a problem
L1410[14:03:15] <DEMONITIZED> All of it
L1411[14:03:25] <bad at vijya> wot
L1412[14:03:49] <DEMONITIZED> I have looked at that tutorial 4 times
L1413[14:04:19] <DEMONITIZED> I feel like it made lua make less sense
L1414[14:04:42] <Bob> with that and one week here i am making cool OC stuff
L1415[14:04:45] <Bob> its not possible
L1416[14:04:47] <Bob> did you read it ?
L1417[14:04:53] <DEMONITIZED> YES
L1418[14:04:58] <DEMONITIZED> 4 TIMES
L1419[14:05:26] <bad at vijya> okay gonna be honest here
L1420[14:05:42] <Vexatos> don't be rude :(
L1421[14:05:50] <DEMONITIZED> sry
L1422[14:05:54] <Vexatos> I mean the others
L1423[14:05:54] <Vexatos> >_>
L1424[14:05:55] <bad at vijya> lua is really easy to learn. simple syntax, small std lib
L1425[14:06:12] <Bob> ^
L1426[14:06:21] <bad at vijya> you gotta explain what you don't understand
L1427[14:06:30] <Vexatos> Or just give them more time to learn it
L1428[14:06:44] <bad at vijya> one month for lua tho
L1429[14:06:46] <Bob> one week max
L1430[14:06:56] <Vexatos> Took me more than a month to learn quantum chemistry you know
L1431[14:06:58] <DEMONITIZED> What I don't understand: Everything
L1432[14:07:20] <Vexatos> Also Lua probably also took me longer
L1433[14:07:22] <DEMONITIZED> The only thing I know in lua is -- is for comments
L1434[14:07:25] <Vexatos> considering I was like 13 at the time
L1435[14:08:22] <Forecaster> https://xkcd.com/2173/
L1436[14:08:22] <MichiBot> XKCD Comic Name: Trained a Neural Net Posted on: 7/8/2019
L1437[14:08:27] ⇨ Joins: Kleadron9 (Kleadron9!~kleadron@c-73-254-147-9.hsd1.wa.comcast.net)
L1438[14:08:40] <bauen1> DEMONITIZED: do you know any other languages than javascript ?
L1439[14:08:51] <DEMONITIZED> Discord.js
L1440[14:09:01] <DEMONITIZED> if that even counts
L1441[14:09:01] <Bob> Js should be enough for Lua tbh
L1442[14:09:08] <DEMONITIZED> Trust me
L1443[14:09:13] <DEMONITIZED> It aint
L1444[14:09:21] <Bob> time to learn JS
L1445[14:09:30] <DEMONITIZED> lol
L1446[14:09:43] <DEMONITIZED> you have fun with that
L1447[14:09:54] <Bob> ill use a Lua VM inside JS Lull
L1448[14:09:55] <Bob> easy
L1449[14:10:04] <DEMONITIZED> ok
L1450[14:10:09] <bad at vijya> js gives me physical pain
L1451[14:10:12] <Bob> yes
L1452[14:10:20] <bauen1> well 3 thinks about lua: 1. no OOP (ie. no classes by default), 2. you can return as much as you want, 3. you can define nested functions
L1453[14:10:31] <Bob> OOP can be emulated easely
L1454[14:10:39] <bauen1> nr. 3 becomes fun once you start to write "good" code
L1455[14:10:39] <Bob> matter of seconds
L1456[14:10:46] <Bob> ^
L1457[14:11:05] <bauen1> yeah, but emulating it correctly takes a week of reading the lua manual and thinking
L1458[14:11:24] <bauen1> btw, I do recommend that you read the lua manual (atleast the section concering stdlib)
L1459[14:11:37] <bauen1> https://www.lua.org/manual/5.3/manual.html#6
L1460[14:12:36] <Bob> the manual is for diving deeper into it
L1461[14:12:57] <Bob> for an oveview tutorial's point tutorial does the job perfectly then reading up manual entries as you go is the way to go
L1462[14:12:59] <DEMONITIZED BOI> I want to die
L1463[14:13:28] <bad at vijya> hmm
L1464[14:13:37] <bad at vijya> seems i've underestimated the output of batteries
L1465[14:13:46] ⇦ Quits: DEMONITIZED (DEMONITIZED!~DEMONITIZ@c-67-182-0-126.hsd1.ca.comcast.net) (Ping timeout: 206 seconds)
L1466[14:14:40] <Bob> batteries op nerf pls
L1467[14:16:12] <a soft bird> damned tables start at 1
L1468[14:16:21] <a soft bird> the headaches, darnit
L1469[14:19:07] <bad at vijya> http://tinyurl.com/y5k8zqsg
L1470[14:19:51] <bad at vijya> oh fuck
L1471[14:20:01] <bad at vijya> the quarry is a bit much for my tiny reactor
L1472[14:21:14] <bad at vijya> i might need to upgrade my reactor some, get some more RF/t out of it
L1473[14:21:23] <bad at vijya> i might need to add another fuel rod ig
L1474[14:33:31] <DEMONITIZED BOI> http://tinyurl.com/yy9dcr8j
L1475[14:33:34] <DEMONITIZED BOI> This is odd
L1476[14:33:42] <DEMONITIZED BOI> Why does it show an error
L1477[14:34:38] <Bob> because it's not called ?
L1478[14:34:43] <Bob> the function may have returned ?
L1479[14:34:56] <Bob> functions aren't forced to execute til the end
L1480[14:35:34] <DEMONITIZED BOI> That's in os.lua
L1481[14:35:38] <Bob> Code Block pastebined https://paste.pc-logix.com/uqucomotey
L1482[14:35:38] <Bob> calling b will never print since it returns before
L1483[14:35:43] <Bob> i don't use CrapOS
L1484[14:35:45] <Bob> so i don't know
L1485[14:35:49] <Bob> Its heavy as hecc
L1486[14:35:55] <Bob> but dev is good at making things good
L1487[14:36:48] <AmandaC> `telnet mapscii.me`
L1488[14:37:25] <Bob> b
L1489[14:38:02] * Inari feeds AmandaC some Mate
L1490[14:39:36] <AmandaC> Inari: you better not be trying to breal the EULA!
L1491[14:40:33] <Bob> %blame EULA
L1492[14:40:33] * MichiBot blames EULA for adding a Happy Cow brush to the inventory!
L1493[14:41:40] <bad at vijya> b
L1494[14:46:20] <CompanionCube> which EULA?
L1495[14:46:29] <Vexatos> Inari, u wot mate
L1496[15:14:24] <Inari> Vexatos: ?
L1497[15:14:26] <Inari> Oh
L1498[15:27:14] ⇦ Quits: DEMONITIZED_BOI (DEMONITIZED_BOI!webchat@c-67-182-0-126.hsd1.ca.comcast.net) (Quit: webchat.esper.net)
L1499[15:27:48] <a soft bird> getting this error, any idea where it goes wrong? don't see a line number anywhere http://tinyurl.com/y3yudquz
L1500[15:28:09] <a soft bird> ...okay maybe line 11
L1501[15:28:22] <Forecaster> you're trying to call a function that wants a string, but you're giving it nil (nothing)
L1502[15:29:15] <a soft bird> probably typo'd an address I guess
L1503[15:42:38] <Bob> @a soft bird s h a r e t h e c o d e c o m m r a d e
L1504[15:43:49] <a soft bird> yea got it working but, next error coming up
L1505[15:44:41] <Bob> i need to s e e
L1506[15:45:03] <Bob> Or you can alternatevely figure out yourself, lua error traceback is good
L1507[15:45:19] <Izaya> only one m in comrade
L1508[15:45:31] <a soft bird> https://pste.me/#/WOVpD
L1509[15:45:44] <a soft bird> it errors at disableAllSprinklers()
L1510[15:45:47] <a soft bird> ignore the semicolon
L1511[15:45:50] <a soft bird> that's not in the real code
L1512[15:46:15] <Bob> also for functions localize them, put local before as usual
L1513[15:46:18] <Bob> speeds things up
L1514[15:46:23] <Izaya> gotta love it when the site can't even display text without javascript
L1515[15:46:26] <a soft bird> tried localizing functions, gave more errors http://tinyurl.com/y2vvpetl
L1516[15:46:28] <Bob> localized functions being faster by forgot how much
L1517[15:46:37] <Izaya> https://imgur.com/h144HkN.png
L1518[15:46:37] <Bob> I will see
L1519[15:46:44] <a soft bird> anyhoo, how do I iterate over a table like that
L1520[15:46:56] <a soft bird> the table and it's values do work elsewhere
L1521[15:47:02] <a soft bird> just not in the disableAllSprinklers() function
L1522[15:47:27] <Izaya> for k,v in pairs(sprinklerTable)
L1523[15:47:31] <Bob> for key,value in pairs(table) do
L1524[15:47:32] <Bob> end
L1525[15:47:39] <Bob> Or if its an array
L1526[15:47:47] <a soft bird> nah one dimensional
L1527[15:47:54] <Bob> for index,value in ipairs(table) do
L1528[15:47:54] <Bob> end
L1529[15:48:17] <Bob> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/oyaralabiv
L1530[15:49:34] <Bob> Bruh
L1531[15:50:11] <a soft bird> ...what's the name for sides.bottom? is it bottom or down
L1532[15:51:10] <a soft bird> whatever it is, it's not toggling my agricraft valves, sigh
L1533[15:51:15] <Lizzy> %tonkout
L1534[15:51:15] <MichiBot> Potzblitz! Lizzy! You beat Forecaster's previous record of 1 hour, 51 minutes and 50 seconds (By 1 hour, 21 minutes and 39 seconds)! I hope you're happy!
L1535[15:51:16] <MichiBot> Lizzy has stolen the tonkout! Tonk has been reset! They gained 0.003 tonk points! plus 0.002 bonus points for consecutive hours! (Reduced to 50% because stealing) Current score: 0.41359
L1536[15:51:46] <a soft bird> `` When it gets a Redstone signal on any side but the top, it prevents water from flowing through it.`` ffs
L1537[15:52:03] <a soft bird> redstone ports don't keep their addresses when replaced do they
L1538[15:52:25] <Izaya> do you use them for anything else connected to that computer?
L1539[15:52:27] <Bob> Code Block pastebined https://paste.pc-logix.com/buqeceyuri
L1540[15:52:32] <a soft bird> nop
L1541[15:52:33] <Izaya> just iterate over the redstone controllers
L1542[15:52:45] <Bob> A smarter loader
L1543[15:52:54] <Bob> instead of typing in 8 times the same thing
L1544[15:53:06] <Bob> do end creates a new scope
L1545[15:53:09] <Izaya> for rs in component.list("redstone") do component.invoke("setOutput",side,value) end
L1546[15:53:09] <a soft bird> atm legibility > efficiency
L1547[15:53:26] <a soft bird> i'd like to have them correctly positioned tho
L1548[15:53:43] <Bob> change the order of the indexes in the table
L1549[15:53:50] <Bob> 1st one is spr1 and so on
L1550[15:54:07] <a soft bird> yea but do they still correspond to their physical location
L1551[15:54:35] <Bob> Yes why wouldnt they ?
L1552[15:54:54] <a soft bird> oh, I was thinking of what izaya said
L1553[15:55:02] <a soft bird> anyway mekanism cardboard boxes do the trick
L1554[15:55:04] <Bob> and to do an action over all the components just iterate trough them and yea As izaya said
L1555[15:59:09] <Bob> for index,sprinkler in ipairs(sprinklersTable) do
L1556[15:59:09] <Bob> sprinkler.setOutput(sides.down,1)
L1557[15:59:09] <Bob> end
L1558[15:59:39] <a soft bird> right the program works, just agricraft being annoying now :|
L1559[16:00:41] <scj643> I haven't played modded Minecraft in forever
L1560[16:01:01] <Bob> I would love to play but my i3
L1561[16:01:12] <Izaya> an i3 is not an excuse not to play
L1562[16:01:17] <scj643> Laptop "i7"
L1563[16:01:21] <Bob> 20 fpa
L1564[16:01:24] <Bob> fps*
L1565[16:01:30] <Izaya> a laptop i7 is not an excuse not to play
L1566[16:01:33] <Bob> imagine actually buidling stuff
L1567[16:01:38] <Izaya> unless it's a -U processor in which case carry on
L1568[16:01:48] <scj643> It is one iirc
L1569[16:01:49] <Bob> Lemme introduce you to the world of low fps and lag
L1570[16:02:03] <Izaya> mfw my laptop's 2520M still BTFO's every U processor on the market
L1571[16:02:05] <scj643> i7 7500U
L1572[16:02:18] <Izaya> Bob: suck it up fucko
L1573[16:02:23] <Izaya> (<3)
L1574[16:02:32] <Bob> No u
L1575[16:02:39] <scj643> 2 cors and 4 threads
L1576[16:02:40] <Bob> Commit CPU cooler fall
L1577[16:02:42] <scj643> Cores
L1578[16:02:47] <Bob> Same here Lmao
L1579[16:02:54] <Bob> i3-3320 with 2 cores and 4 threads
L1580[16:02:57] <scj643> It can run 1.14 so
L1581[16:02:58] <Bob> 3.3Ghz ?
L1582[16:03:14] <Bob> I can aswell but as soon as i start making builds that use up tick time
L1583[16:03:19] <Izaya> dude if my X220 can run Minecraft so can your box Bob
L1584[16:03:33] <Izaya> consider also: playing on a server
L1585[16:03:36] <Bob> sorry i cant play with one mod
L1586[16:03:40] <Bob> i would if i had
L1587[16:03:42] <scj643> https://ark.intel.com/content/www/us/en/ark/products/126709/intel-xeon-w-2135-processor-8-25m-cache-3-70-ghz.html is at my desk at work
L1588[16:03:52] <Bob> VPS shut down and i dont have monies anymore
L1589[16:04:01] <Izaya> so find someon else's server
L1590[16:04:07] <scj643> With a Quadro P2000 and 32 GB DDR4 ECC
L1591[16:04:14] <Bob> esither crappy mods or too much mods
L1592[16:04:16] <Izaya> scj643: inb4 you're a web developer
L1593[16:04:26] <scj643> Nope fuck that noise
L1594[16:04:33] <scj643> Data intelligence Engineer
L1595[16:04:42] <scj643> Working with databases and shit
L1596[16:04:55] <scj643> And prototyping shit takes ram
L1597[16:05:01] * Izaya nods
L1598[16:05:15] <scj643> Especially with elasticsearch
L1599[16:05:24] <scj643> Fucking Java
L1600[16:05:40] <Izaya> web devs tend to have beefy machines and not notice when their software uses 8GB of RAM and 8 CPU cores to display some text
L1601[16:05:48] <scj643> LMFAO
L1602[16:05:54] <scj643> Fuck web devs
L1603[16:06:02] <scj643> That are inefficient
L1604[16:06:07] <Bob> Lets make Lua browsers
L1605[16:06:08] <Bob> smh
L1606[16:06:10] <Bob> change my mind
L1607[16:06:18] <scj643> Not using Webstorm
L1608[16:06:18] <Bob> Chrome eating 4GB of ram
L1609[16:06:32] <scj643> An OC connector to elasticsearch
L1610[16:06:40] <Izaya> why do we need client-side scripting anyway
L1611[16:06:43] <scj643> Now that would be interesting
L1612[16:06:54] <scj643> And trivial to implement
L1613[16:07:16] <scj643> Since elasticsearch is just HTTP requests
L1614[16:07:32] <scj643> Who wants to use Elasticsearch to monitor your inventory system
L1615[16:08:03] <scj643> Izaya: does OC rate limit HTTP requests
L1616[16:08:13] <Izaya> >using massive amounts of resources to do something trivial
L1617[16:08:19] <Izaya> now you're talking like a web developer
L1618[16:08:22] <scj643> Lol
L1619[16:08:28] <Izaya> anyway kinda you can only do 20 component calls per second
L1620[16:08:36] <scj643> I could bundle my requests into one call
L1621[16:08:53] <Bob> The CPU tier and config determine the stuff
L1622[16:08:53] <scj643> And updated every 30 seconds
L1623[16:09:05] <Bob> MC only updates 20 times a second
L1624[16:09:14] <Bob> and i think OC pcs are bound to tick time
L1625[16:09:26] <scj643> Is there an easy way to work with JSON
L1626[16:09:35] <Bob> ?
L1627[16:09:37] <a soft bird> let's use plain html for websites and allow only 50 lines js
L1628[16:09:44] <scj643> Lol
L1629[16:09:51] <a soft bird> lines capped at 100 symbols ofc
L1630[16:09:52] <Bob> Only allow Lua VM inside JS
L1631[16:10:03] <scj643> Web assembly
L1632[16:10:15] <a soft bird> sounds fun
L1633[16:10:18] <a soft bird> let's do it
L1634[16:10:26] <a soft bird> or, worse
L1635[16:10:28] <scj643> Is there a JSON library for OC?
L1636[16:10:52] <Izaya> there's next to no reason to use JS in most cases
L1637[16:10:56] <a soft bird> write in binary and address the cpu and memory directly
L1638[16:11:01] <Izaya> and if you're using JS, you should use native software instead
L1639[16:11:14] <scj643> Lol tell that to Microsoft
L1640[16:11:20] <a soft bird> reminds me of a site l saw a bit ago
L1641[16:11:25] <a soft bird> payload of 16 mb
L1642[16:11:25] <scj643> Power BI is all JS for the visualizations
L1643[16:11:32] <a soft bird> for a wiki page
L1644[16:11:37] <scj643> Since it all needs to display in a browser
L1645[16:11:51] <a soft bird> spoilers it's gamepedia and that was about 15.98 mb of ads and crap
L1646[16:12:08] <scj643> Lol the Minecraft wiki is trash now
L1647[16:12:13] <scj643> With all them ads
L1648[16:12:18] <Izaya> anything associated with amazon is gonna be pretty nasty tbh
L1649[16:12:18] <Bob> Welcome
L1650[16:12:23] <scj643> It brings my friends shit internet to a crawl
L1651[16:12:25] <Bob> and there are Lua Json Libs
L1652[16:12:32] <scj643> Thanks
L1653[16:12:41] <Bob> Import into OC done, i know google gives
L1654[16:12:51] <Bob> there is Cjson but its C so not for OC
L1655[16:13:17] <scj643> I just need to be able to make an object into json that I can put into a post request
L1656[16:13:38] <scj643> Might just be easier to do it using strings
L1657[16:14:45] <Bob> String match gmatch, sub, gsub and so on
L1658[16:15:11] <scj643> Thing is I don't have an ES cluster besides at work
L1659[16:15:22] <scj643> And ES eats memory
L1660[16:15:34] <scj643> ES = Elasticsearch
L1661[16:16:17] ⇦ Quits: asoftbird (asoftbird!webchat@83-83-126-64.cable.dynamic.v4.ziggo.nl) (Quit: webchat.esper.net)
L1662[16:16:20] <a soft bird> f
L1663[16:16:31] <scj643> Which is part of the ELK
L1664[16:16:41] <scj643> Which stands for Elasticsearch, Logstash, Kibana
L1665[16:19:26] * Lizzy still needs to set up proper logging for her servers
L1666[16:19:56] <Bob> make OC the logging manager
L1667[16:20:45] <CompanionCube> tfw spend tokens to get the badge up to level 69 because it's not like there's anything else that's worth doing with them.
L1668[16:22:25] <scj643> Lizzy: elasticsearch and logstash are great at storing metrics
L1669[16:22:38] <scj643> Just make sure you have enough disk space
L1670[16:22:55] <Bob> useles
L1671[16:22:56] <Lizzy> how much space does it need roughly?
L1672[16:22:58] <scj643> And setup your index lifecycle policies
L1673[16:23:12] <scj643> For about 3 million documents about 1 GB
L1674[16:23:24] <scj643> Which is like 3 days of metric data
L1675[16:23:30] <Lizzy> hmm, that doesn't seem too bad
L1676[16:23:46] <scj643> At work I don't really use it for metric data
L1677[16:24:12] <scj643> We use it for insights into our data refreshes
L1678[16:24:36] <scj643> It's probably better than storing it all as plain text
L1679[16:25:10] <scj643> Also it's distributed
L1680[16:25:19] <scj643> Also with Index lifecycle management you can have it move data over to lower end hardware and make it read only
L1681[16:25:52] * Izaya likes collectd
L1682[16:25:53] <scj643> At work we only have one node
L1683[16:26:03] <scj643> Collectd is interesting
L1684[16:26:10] <scj643> I use it on my router for metrics
L1685[16:26:37] <scj643> Logstash can also accept data from coklectd iirc
L1686[16:27:05] <scj643> Also you need a replication node for a proper elasticsearch cluster
L1687[16:34:03] <scj643> Also Lizzy encryption and security recently became a free feature
L1688[16:34:10] <scj643> *SSL
L1689[16:34:20] <a soft bird> @Bob tried that bit of code you typed a bit back regarding setting addresses, gives me this error http://tinyurl.com/y33sr8mu
L1690[16:34:42] <Lizzy> ah, cool
L1691[16:34:53] <a soft bird> code bein this http://tinyurl.com/y66j6kyv
L1692[16:34:56] <Bob> it calls a number line 30
L1693[16:35:00] <Bob> line 30 ?
L1694[16:35:01] <a soft bird> code being this http://tinyurl.com/y66j6kyv [Edited]
L1695[16:35:07] <a soft bird> line 30 is the for i
L1696[16:35:07] <Bob> in my code i dont call numbers
L1697[16:35:22] <a soft bird> I don't think I do either
L1698[16:35:30] <scj643> I wish I had an elasticsearch cluster
L1699[16:35:49] <scj643> I need to migrate my PostgreSQL database at some point
L1700[16:35:57] <scj643> That means downtime on IRC
L1701[16:36:02] <Bob> setProxy(spradr[i]) if i 1 then its setProxy("678...")
L1702[16:36:10] <Bob> It cant be this one
L1703[16:36:12] <Bob> check line 30
L1704[16:36:23] <Bob> if its that then its confusing since no number is called
L1705[16:36:25] <a soft bird> line 30 is the for thing, checked
L1706[16:37:19] <Bob> it errors at the 4th, 26b addres, maybe its wrong ?
L1707[16:37:25] <Bob> nowhere i call a number
L1708[16:37:31] <Bob> i call only the setProxy
L1709[16:37:34] <a soft bird> think i'll just revert to the old code tbh
L1710[16:37:48] <Bob> if it didnt error at the frist adress then its defenitely not that bit of code
L1711[16:38:03] <scj643> My PostgreSQL database is almost 9gbs of IRC logs
L1712[16:38:09] <Bob> neither it did at the 2nd and 3rd
L1713[16:38:11] <a soft bird> anyhoo, code still doesn't do what I want it to do later on
L1714[16:38:12] <Bob> weird asf
L1715[16:39:52] <a soft bird> I have this bit of code and it doesn't seem to be addressing the redstone IO thingos correctly http://tinyurl.com/y3npwvy6
L1716[16:39:54] <Bob> @a soft bird therr is only 7 addreses in the table while the iterator goes from 1 to 8
L1717[16:40:00] <Bob> that might be the error
L1718[16:40:06] <scj643> gotta upgrade my VM to a newer version of Ubuntu
L1719[16:40:09] <a soft bird> oh
L1720[16:40:13] <Bob> What are you doing
L1721[16:40:21] <Bob> why sprinkertable[i] when you have v
L1722[16:40:26] <Bob> since youre using pairs
L1723[16:40:32] <Bob> but why use pairs if its an array
L1724[16:40:36] <Bob> so only one dimension
L1725[16:40:37] <a soft bird> that just gave me a nil
L1726[16:40:45] <a soft bird> also, because yall told me to a bit ago
L1727[16:41:00] <Bob> Can you resend the code
L1728[16:41:07] <Bob> i will try to see and cleanup
L1729[16:41:11] <Bob> On phone also
L1730[16:41:18] <Bob> i might make some typoes xD
L1731[16:41:23] <Bob> keyboard damned
L1732[16:41:45] <a soft bird> i'll try
L1733[16:41:52] <a soft bird> it's stored serverside though
L1734[16:42:54] <Bob> Oh rip then unless you can upload from OC or ftp acces
L1735[16:42:55] <a soft bird> if I don't use i,v in pairs it errors, ergh
L1736[16:43:05] <Bob> You use it the wrong way already
L1737[16:43:47] <Bob> use ipairs for arrays or better i = 1,# loops
L1738[16:43:58] <Bob> pairs is for tables with non numerical keys
L1739[16:44:16] <a soft bird> but only for multidimensional right
L1740[16:44:17] <Bob> and pairs/ipairs return the value aswell so you dont need to reacces it
L1741[16:44:26] <Bob> Multidimensional is tables in tables
L1742[16:44:33] <a soft bird> I'm confused, woo
L1743[16:44:35] <Bob> so thats nested for pairs loop
L1744[16:44:39] <a soft bird> just...what do I need to use right now
L1745[16:44:46] <Bob> Lua has no 2 or 3 d arrays
L1746[16:44:58] <Bob> just tables that gived a key can store a value
L1747[16:45:06] <Bob> including themselves and other fancy stuff
L1748[16:45:18] <a soft bird> yeah, I just have single values now
L1749[16:45:18] <Bob> ipairs or for i = 1,# loop
L1750[16:45:44] <Vexatos> @Bob you say that
L1751[16:45:49] <Vexatos> but I made some
L1752[16:45:57] <Vexatos> in selene
L1753[16:46:19] <a soft bird> using ipairs gives nil again
L1754[16:46:56] <a soft bird> http://tinyurl.com/yxqebj8b
L1755[16:46:57] <a soft bird> http://tinyurl.com/y3bf5bxc
L1756[16:47:13] <Vexatos> table.filled(0, {5, 6, 7}) makes a 5x6x7 array filled with 0 :^)
L1757[16:47:23] <Bob> What are you doing xD
L1758[16:47:36] <Bob> why you try to acces the table value field while it doesnt exist
L1759[16:47:37] <Bob> brub
L1760[16:47:50] <a soft bird> I don't understand stuff
L1761[16:47:54] <a soft bird> or whatever table field values even are
L1762[16:48:20] <a soft bird> shouldn't v be the value of the table at index i
L1763[16:48:27] <a soft bird> like, "address"
L1764[16:48:33] <Bob> Code Block pastebined https://paste.pc-logix.com/hukepafezu
L1765[16:48:46] <Bob> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/itaxatepad
L1766[16:48:55] <a soft bird> technically it'd error but yeah I get it
L1767[16:49:05] ⇦ Quits: Vexatos (Vexatos!~Vexatos@port-92-200-97-89.dynamic.qsc.de) (Quit: Insert quantum chemistry joke here)
L1768[16:49:09] <Bob> if t[2] is nil then ipairs will stop at it and wont consider 3
L1769[16:49:12] <Bob> c
L1770[16:49:23] <Bob> While pairs uses all keys and values
L1771[16:49:36] <Bob> keys == index but it can be a string or anything
L1772[16:49:42] ⇦ Quits: scj643 (scj643!~quassel@scj.theender.net) (Quit: Bye)
L1773[16:49:49] <Bob> table["hello"] = "wow" is possible in Lua
L1774[16:50:00] <Bob> and to iterate trought those entries, pairs exist
L1775[16:50:01] <a soft bird> yeah but shouldn't it not find a nil since it's a table of 7 strings?
L1776[16:50:14] <a soft bird> and since it's in a for loop it only iterates over the possible indexes
L1777[16:50:16] <Bob> 8 th slot ? empty
L1778[16:50:21] <Bob> Uh no
L1779[16:50:25] <a soft bird> but I never defined anything as 8
L1780[16:50:28] <Bob> a for loop with i, can go beyond
L1781[16:50:33] <a soft bird> just "for every key in table, do"
L1782[16:50:35] <Bob> an ipairs loop cant
L1783[16:50:39] <a soft bird> uh
L1784[16:50:40] <Bob> thats pairs
L1785[16:50:47] <a soft bird> so why does ipairs still error
L1786[16:51:08] <Bob> because youre doing weird stuff and asking the table field for the value
L1787[16:51:17] <a soft bird> i have no idea what that means
L1788[16:51:27] <a soft bird> oh, wait
L1789[16:51:31] <Bob> youre doing like take value and ask table the value for that value as a key, youre just looping everything trought the wrong plave
L1790[16:51:37] <Bob> while value is already defined
L1791[16:51:37] <a soft bird> so how do I access the value? just do v.setOutput?
L1792[16:51:40] <Bob> yes
L1793[16:51:45] <a soft bird> oh
L1794[16:51:47] <Bob> because ipairs returns i and v
L1795[16:51:50] <Bob> v being t[i]
L1796[16:51:53] <Bob> and v is a local
L1797[16:52:21] <a soft bird> okay so now it's not erroring at least
L1798[16:52:33] <a soft bird> still doesn't turn off the redstone torches on the sides of the redstone I/O things
L1799[16:52:57] <a soft bird> like this is what I print http://tinyurl.com/yxc662vw
L1800[16:52:59] <Bob> you then need to set on the right side
L1801[16:53:03] <a soft bird> the 0x7fc refers to the value
L1802[16:53:09] <a soft bird> but apparently the value isn't stored correctly
L1803[16:53:12] <Bob> to the table address
L1804[16:53:16] <Bob> you cant print a table
L1805[16:53:20] <Bob> until you serialize it
L1806[16:53:23] <a soft bird> it prints the value at index i
L1807[16:53:37] <Bob> print({}) prints table 0xMemoryAddress
L1808[16:54:15] <a soft bird> it's quite literally print("Set ", v, " to ", state)
L1809[16:54:17] <a soft bird> inside the for loop
L1810[16:54:24] <a soft bird> how does that not print the value at the current index
L1811[16:54:48] <Bob> v is the value not the index
L1812[16:54:52] <Bob> i is the index
L1813[16:55:03] <a soft bird> "addressofioport" should be the value right
L1814[16:55:04] <Bob> v is the value of t[i]
L1815[16:55:13] <Bob> no
L1816[16:55:13] <a soft bird> yeah I want to print the address of the io port
L1817[16:55:15] <a soft bird> but
L1818[16:55:17] <a soft bird> ??
L1819[16:55:21] <Bob> a component proxy returns a table with all the component methods
L1820[16:55:25] <Bob> not its address
L1821[16:55:49] <a soft bird> tfw completely using proxies wrongly
L1822[16:56:05] <Bob> you know what they do right and how components work ?
L1823[16:56:13] <Bob> Read up the component wiki API section
L1824[16:56:15] <a soft bird> ...2 hours of OC experience
L1825[16:56:16] <a soft bird> but uh
L1826[16:56:26] <Bob> Well you have to start somewhere
L1827[16:56:27] <a soft bird> how do I accomplish what I need to do; set all outputs to either 15 or 0
L1828[16:56:31] <Bob> Its really just Lua
L1829[16:56:40] <Bob> well depending on the level or what youre trying to controll
L1830[16:56:59] <a soft bird> it works everywhere else, just not the "toggle all"
L1831[16:57:14] <Bob> send the code
L1832[16:57:18] <a soft bird> oh. yeah
L1833[16:57:20] <Bob> your loop is probably borken
L1834[16:57:29] <Bob> because you did weird stuff
L1835[16:57:41] <Bob> now that we sorted out what does ipairs pairs and for loops return
L1836[16:57:56] <ben_mkiv> https://9gag.com/gag/az9n0bB
L1837[16:57:58] <ben_mkiv> cat trap
L1838[16:58:22] <a soft bird> https://pastebin.com/4pk1Yf9j @Bob
L1839[16:58:53] <Bob> line ? so i know ehrr to look
L1840[16:58:53] <a soft bird> thankfully pastebin is a thing
L1841[16:58:57] <a soft bird> oh
L1842[16:58:57] <Bob> hehh
L1843[16:59:04] <Bob> or just function namep
L1844[16:59:07] <a soft bird> 68
L1845[16:59:11] <Bob> perfect
L1846[16:59:21] <Bob> good thing Dcoder IDE is a android thing
L1847[16:59:59] <a soft bird> ...just noticed that the side isn't correct
L1848[17:00:00] <a soft bird> ffs
L1849[17:00:44] <a soft bird> ..yep now it works
L1850[17:00:53] <a soft bird> note to self make that a config option
L1851[17:01:06] <Bob> You should use events
L1852[17:01:11] <Bob> for the lever detection
L1853[17:01:17] <a soft bird> sounds complicated
L1854[17:01:36] <Bob> Easy really
L1855[17:02:06] <a soft bird> the wiki is a bit incomprehensible tbh
L1856[17:02:12] <a soft bird> assumes you know what you're doing
L1857[17:02:16] <a soft bird> like, not me
L1858[17:03:55] <Bob> i dont see why the toggle loop wont work
L1859[17:04:04] <Bob> unless your level detection works a different way
L1860[17:04:06] <a soft bird> it works now
L1861[17:04:10] <a soft bird> I had a side set wrongly
L1862[17:05:10] <a soft bird> thanks for help anyway
L1863[17:05:19] <a soft bird> i'll update this whenever I feel like coding more
L1864[17:08:11] <Bob> events <
L1865[17:08:13] <Bob> next thing to do
L1866[17:09:27] <bad at vijya> ah, the exact opposite of something i care about http://tinyurl.com/y2w7f76k
L1867[17:09:43] <Bob> what does res does in your code @a soft bird ?
L1868[17:10:04] <bad at vijya> thanks breddit, i see your chinese spyware came from dollar tree
L1869[17:10:10] <a soft bird> @Bob result of lever selection
L1870[17:10:14] <a soft bird> it's very.....unwieldy
L1871[17:10:25] <a soft bird> but that's what I like
L1872[17:10:30] <a soft bird> *cough*
L1873[17:11:37] <a soft bird> anyway, off for now
L1874[17:11:43] ⇨ Joins: scj643 (scj643!~quassel@scj.theender.net)
L1875[17:16:23] ⇦ Quits: flappy (flappy!~flappy@88-113-149-197.elisa-laajakaista.fi) (Ping timeout: 190 seconds)
L1876[17:22:13] ⇦ Quits: Rahix (Rahix!~Rahix@p5385B382.club.muc.ccc.de) (Remote host closed the connection)
L1877[17:23:20] <scj643> VM is updated to 18.04
L1878[17:41:38] <Kodos> %tonk
L1879[17:41:39] <MichiBot> Dagnabbit! Kodos! You beat Lizzy's previous record of <0 (By 1 hour, 50 minutes and 23 seconds)! I hope you're happy!
L1880[17:41:40] <MichiBot> Kodos's new record is 1 hour, 50 minutes and 23 seconds! Kodos also gained 0.00184 tonk points for stealing the tonk.
L1881[17:44:30] ⇦ Quits: ben_mkiv (ben_mkiv!~ben_mkiv@88.130.157.18) (Ping timeout: 206 seconds)
L1882[17:52:30] <AmandaC> %8ball lay down and halucinate?
L1883[17:52:30] <MichiBot> AmandaC: [ The Bowling ball doesn't answer ]
L1884[17:53:00] * AmandaC rolls the bowlingball onto Inari's bed, lays down to read some more
L1885[17:53:11] <AmandaC> It can answer when it's ready
L1886[17:53:21] ⇦ Quits: Inari (Inari!~Pinkishu@pD9E8EA20.dip0.t-ipconnect.de) (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
L1887[17:53:34] <CompanionCube> %tonk
L1888[17:53:35] <MichiBot> I'm sorry CompanionCube, you were not able to beat Kodos's record of 1 hour, 50 minutes and 23 seconds this time. 11 minutes and 56 seconds were wasted! Missed by 1 hour, 38 minutes and 27 seconds!
L1889[17:53:47] <Izaya> I found a thing. https://0x0.st/zLVF.png
L1890[17:53:57] <CompanionCube> fucking wifi
L1891[17:53:58] <AmandaC> angry chicken-face!
L1892[17:54:14] <CompanionCube> Izaya: >go on surprise visit to elsewhere
L1893[17:54:31] <CompanionCube> >bring pi3 for weechat relay
L1894[17:54:45] <CompanionCube> >pi3 randomly disappears off wifi while i'm away from it
L1895[17:55:04] <CompanionCube> i'm comfortable, i'm not going to move.
L1896[17:55:24] * AmandaC slinks out CompanionCube's room's window with her new shiny chew-toy
L1897[17:55:41] <CompanionCube> %oclogs
L1898[17:55:42] <MichiBot> CompanionCube: https://oclogs.pc-logix.com/
L1899[17:56:15] <Bob> Roguelike dungeon, epic gamer time
L1900[17:56:32] <AmandaC> Right guess I'll read more Pandora's Star
L1901[18:04:35] ⇦ Quits: Izaya (Izaya!~izaya@210-1-218-92-cpe.spintel.net.au) (Ping timeout: 202 seconds)
L1902[18:07:14] ⇨ Joins: Izaya (Izaya!~izaya@210-1-218-92-cpe.spintel.net.au)
L1903[18:09:48] ⇦ Quits: Izaya (Izaya!~izaya@210-1-218-92-cpe.spintel.net.au) (Read error: Connection reset by peer)
L1904[18:10:36] ⇨ Joins: Izaya (Izaya!~izaya@210-1-218-92-cpe.spintel.net.au)
L1905[18:10:59] <The_Stargazer> How do I check which value in a table corresponds to a key? (very specific use case I know)
L1906[18:11:15] <The_Stargazer> Like say I have key "abcdef" with value "fedcba"
L1907[18:11:23] <The_Stargazer> but I only have "fedcba"
L1908[18:11:37] <The_Stargazer> and want to get the key
L1909[18:11:44] <Izaya> the solution involves pairs and if
L1910[18:12:00] <The_Stargazer> and store it in a string
L1911[18:12:19] <The_Stargazer> A better example would be
L1912[18:13:07] <The_Stargazer> I have a component address in a table of components of the same type, and each key has an address as a value.
L1913[18:13:13] <The_Stargazer> The name of the key is the component's friendly name.
L1914[18:13:23] <The_Stargazer> How do I extract this friendly name?
L1915[18:14:30] <The_Stargazer> (and store it in a string, without knowing what the friendly name is)
L1916[18:15:07] <The_Stargazer> An even more specific example:
L1917[18:15:41] <The_Stargazer> Message contained 4 or more newlines and was pastebined https://paste.pc-logix.com/orucalihuw
L1918[18:19:35] <The_Stargazer> The full address of the card reader (389...) is in a table called `config.modules.magnetic.addresses`
L1919[18:20:12] <The_Stargazer> It's friendly name is "MagStrip 01". Same for the door controllers.
L1920[18:20:12] <The_Stargazer> The door controller addresses are in a table called `config.modules.door.addresses`.
L1921[18:20:28] <The_Stargazer> Once I have the friendly name of the magstrip reader, I can do a search in that table for that friendly name.
L1922[18:20:49] <The_Stargazer> And then do a `for` loop.
L1923[18:21:04] <The_Stargazer> for each of the components, that match the friendly name, in the table.
L1924[18:21:23] <The_Stargazer> But, I need to be able to get the key with just the value.
L1925[18:21:26] <The_Stargazer> Is this possible?
L1926[18:23:58] <bad at vijya> well
L1927[18:24:01] <bad at vijya> so
L1928[18:24:28] <bad at vijya> i need to process all my ore
L1929[18:24:42] <bad at vijya> mostly because my shittier reactor is running out of fuel, so i need to inject it with more POWER
L1930[18:27:11] <bad at vijya> also
L1931[18:27:18] <bad at vijya> i need to chop down a small forest
L1932[18:27:30] <bad at vijya> to start making my mass storage room
L1933[18:30:45] <Bob> use NuclearCraft, problem solved
L1934[18:30:52] <Bob> or Thermal's power
L1935[18:31:08] <Bob> make the generators go on steroids and they can provide decend amounts of power
L1936[18:36:28] <The_Stargazer> can you pass only three letters to component.proxy()
L1937[18:36:31] <The_Stargazer> can you pass only three letters to `component.proxy()`? [Edited]
L1938[18:38:13] <The_Stargazer> I don't want my users to have to input the full address
L1939[18:39:56] <bad at vijya> @Bob up the fuck shut
L1940[18:40:01] <bad at vijya> i'm working my way to reactorcraft
L1941[18:40:13] <bad at vijya> first i need to finish my storage room and auto-sorter
L1942[18:40:29] <bad at vijya> tbh i should really invest in AE2
L1943[18:41:11] <bad at vijya> so what kind of power does AE2 need again?
L1944[18:41:19] <bad at vijya> i've forgotten
L1945[18:43:03] <bad at vijya> ah
L1946[18:43:06] <bad at vijya> alright
L1947[18:43:15] <bad at vijya> i might need to expand my "backup reactor" a little
L1948[18:43:36] <The_Stargazer> Should I make my passwords be replaced with `*` or ` ` (like linux)
L1949[18:43:39] <bad at vijya> so i can get a steady 300RF/t or more
L1950[18:44:02] <bad at vijya> probably 500RF/t is the way to go
L1951[18:44:09] <bad at vijya> but i need a way to switch off connections
L1952[18:44:20] <The_Stargazer> I think ` ` is more secure as a potential watcher doesn't even know how many characters are in the pass
L1953[18:44:31] <The_Stargazer> I think that's probably why Linux does it that way (for terminals at least)
L1954[18:44:44] <bad at vijya> so i can shutdown non-important machines
L1955[18:45:09] <bad at vijya> like if i get to mass producing warp drive armor, i won't need that in the case of an NPP shutdown
L1956[18:45:42] <bad at vijya> speaking of, i really need to get on that
L1957[18:46:03] <bad at vijya> it's gonna be fuckin expensive to get even one of my reactorgroups going but the payoff is so fuckin worth it
L1958[18:47:33] <Z0idburg> does anyone have a recommended RIAA preamp that is quality but cheap?
L1959[18:54:11] ⇨ Joins: AdorableCatgirl (AdorableCatgirl!~sam@pool-100-7-96-45.rcmdva.fios.verizon.net)
L1960[18:54:21] <AdorableCatgirl> /e nae nae
L1961[18:55:11] <CompanionCube> %juggle
L1962[18:55:11] * MichiBot juggles with a flaccid cloud, a Magic payo mayo! (25%), & a 16:1 scale inari mega-plushie
L1963[18:55:12] * MichiBot drops a flaccid cloud which takes 5 damage
L1964[18:59:43] ⇦ Quits: AdorableCatgirl (AdorableCatgirl!~sam@pool-100-7-96-45.rcmdva.fios.verizon.net) (Ping timeout: 190 seconds)
L1965[19:05:58] ⇨ Joins: AdorableCatgirl (AdorableCatgirl!~sam@pool-100-7-96-45.rcmdva.fios.verizon.net)
L1966[19:24:11] <Ariri> ~markov MichiBot
L1967[19:24:14] <Ariri> %tonk
L1968[19:24:14] <MichiBot> I'm sorry Ariri, you were not able to beat Kodos's record of 1 hour, 50 minutes and 23 seconds this time. 1 hour, 30 minutes and 39 seconds were wasted! Missed by 19 minutes and 43 seconds!
L1969[19:24:19] <Ariri> darm
L1970[19:24:28] <Ariri> anyone know wtf this is? https://i.imgur.com/YDump7X.jpg
L1971[19:24:44] <Ariri> the cat leaving shits on my screen
L1972[19:25:43] <Ariri> nm
L1973[19:25:58] <Izaya> a bad plot device
L1974[19:27:38] <Z0idburg> crap oh crap oh crap
L1975[19:27:54] <Z0idburg> so my other half apparently just gave away one of our original pressed beatles records
L1976[19:27:57] <Z0idburg> trying to get it back
L1977[19:28:05] <Z0idburg> the original presses are going for $700 +
L1978[19:31:08] <CompanionCube> dammit Ariri my plan is ruin :(
L1979[19:31:33] <CompanionCube> s/plan/tonk/
L1980[19:31:33] <MichiBot> <CompanionCube> dammit Ariri my tonk is ruin :(
L1981[19:57:45] <The_Stargazer> how do I remove a value from an array without knowing it's index?
L1982[20:14:54] ⇦ Quits: Izaya (Izaya!~izaya@210-1-218-92-cpe.spintel.net.au) (Ping timeout: 198 seconds)
L1983[20:16:57] ⇨ Joins: Izaya (Izaya!~izaya@210-1-218-92-cpe.spintel.net.au)
L1984[20:17:10] <Ariri> :P
L1985[20:25:27] ⇦ Quits: Izaya (Izaya!~izaya@210-1-218-92-cpe.spintel.net.au) (Ping timeout: 206 seconds)
L1986[20:31:39] ⇨ Joins: Izaya (Izaya!~izaya@210-1-218-92-cpe.spintel.net.au)
L1987[20:54:53] ⇦ Quits: Thutmose (Thutmose!~Patrick@host-69-59-79-181.nctv.com) (Quit: Leaving.)
L1988[20:59:25] <The_Stargazer> `for addr,type in component.list("os_alarm") do component.invoke(addr, "deactivate") end`
L1989[20:59:25] <The_Stargazer> Why does this work in the interpreter but not in a program?
L1990[21:00:54] <The_Stargazer> Code Block pastebined https://paste.pc-logix.com/cuzenudofi
L1991[21:00:54] <The_Stargazer> Same goes for this code.
L1992[21:01:49] <The_Stargazer> works FINE when I run it in the lua interpreter
L1993[21:08:39] <Izaya> because the lua interpreter has no idea what an event is?
L1994[21:08:59] <Kodos> I think you read his code backwards
L1995[21:09:23] <Kodos> Also I’d have to see how it’s used in the program to understand why it doesn’t work. Pastebin your code
L1996[21:09:38] <Izaya> also >if not why
L1997[21:09:49] <Izaya> why should be nil if ok is true
L1998[21:10:07] <Kodos> Yeah those are xor aren’t they?
L1999[21:10:12] <Kodos> If one is present the other won’t be
L2000[21:10:34] <Izaya> not necessarily I guess, depending on what the function returns
L2001[21:10:45] <Izaya> but I think if it successfully cancels the timer it'd return true
L2002[21:13:05] <The_Stargazer> pastebin is 5rly4zew
L2003[21:14:10] <The_Stargazer> also
L2004[21:14:14] <The_Stargazer> why is either true or false
L2005[21:14:25] <The_Stargazer> ok is true if why is true or false
L2006[21:15:05] <The_Stargazer> yea if cancel is success
L2007[21:15:06] <Izaya> if there's an error, why will be a string which is true to that comparison
L2008[21:15:09] <The_Stargazer> why and ok are both true
L2009[21:15:45] <The_Stargazer> what I don't understand is how even a simple `for` loop doesn't work
L2010[21:16:03] <The_Stargazer> all it's doing is iterating over every alarm component and disabling it
L2011[21:16:10] <The_Stargazer> (the sound, not the component)
L2012[21:17:38] <The_Stargazer> ignore the fact that I forgot a `pairs` somewhere
L2013[21:18:29] <AmandaC> %tell Inari jeez this chapter is a slog to read. (With the Delta alpha aliens pov)
L2014[21:18:29] <MichiBot> AmandaC: Inari will be notified of this message when next seen.
L2015[21:25:56] <CompanionCube> %tonkout
L2016[21:25:56] <MichiBot> Dagnabbit! CompanionCube! You beat Kodos's previous record of 1 hour, 50 minutes and 23 seconds (By 11 minutes and 18 seconds)! I hope you're happy!
L2017[21:25:57] <MichiBot> CompanionCube has stolen the tonkout! Tonk has been reset! They gained 0.002 tonk points! plus 0.001 bonus points for consecutive hours! (Reduced to 50% because stealing) Current score: 0.68787
L2018[21:28:51] <bad at vijya> wel
L2019[21:28:53] <bad at vijya> *well
L2020[21:29:00] <bad at vijya> i'm now decked out in bronze gear
L2021[21:29:31] <bad at vijya> w/ a bronze sword
<<Prev Next>> Scroll to Top