<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:02:20] ⇦ Quits: Nachtara (~Nachiebre@173-22-110-5.client.mchsi.com) (Quit: Mischief Managed!)
L2[00:10:28] <vifino> Hey, S3.
L3[00:20:57] ⇨ Joins: Crazylemon (~Crazylemo@207.62.170.220)
L4[00:52:40] ⇦ Quits: Xal (~xal@S0106f0f2490b0073.vw.shawcable.net) (Quit: Leaving)
L5[01:04:30] ⇨ Joins: testingofcourse (webchat@75.139.33.22)
L6[01:05:10] ⇦ Parts: testingofcourse (webchat@75.139.33.22) ())
L7[01:06:16] ⇨ Joins: testingofcourse (webchat@75.139.33.22)
L8[01:07:42] ⇦ Quits: testingofcourse (webchat@75.139.33.22) (Client Quit)
L9[01:25:13] ⇦ Quits: jackmcbarn (jackmcbarn@gateway.insomnia247.nl) (Ping timeout: 192 seconds)
L10[01:25:19] ⇨ Joins: jackmcbarn (jackmcbarn@gateway.insomnia247.nl)
L11[01:49:46] ⇨ Joins: Trangar (~Trangar@249-153-145-85.ftth.glasoperator.nl)
L12[02:16:47] ⇦ Quits: Ashindigo_ (uid202308@2604:8300:100:200b:6667:7:3:1644) (Quit: Connection closed for inactivity)
L13[02:17:43] ⇦ Quits: Doty1154 (~Doty1154@2601:648:8000:134f:548c:b731:526f:8d72) (Quit: Leaving)
L14[03:19:40] ⇨ Joins: Vexatos (~Vexatos@p200300556E5AFE19C9D26E5235DEF1DB.dip0.t-ipconnect.de)
L15[03:19:40] zsh sets mode: +v on Vexatos
L16[03:27:27] ⇦ Quits: Crazylemon (~Crazylemo@207.62.170.220) (Remote host closed the connection)
L17[03:51:37] ⇨ Joins: Pigpork (~pigpork@014198047005.ctinets.com)
L18[03:52:07] <Pigpork> how do i make a program on a floppy disk autorun?
L19[03:55:21] <Vexatos> %tell Sangar what would be a good icon for JEI's component doc? https://puu.sh/tZAtU/5cc1305051.png
L20[03:55:21] <MichiBot> Vexatos: Sangar will be notified of this message when next seen.
L21[03:56:12] ⇦ Quits: Pigpork (~pigpork@014198047005.ctinets.com) (Client Quit)
L22[03:56:33] ⇦ Quits: Cervator (~Thunderbi@2601:4c1:4000:1050:7837:46ee:b715:1958) (Quit: Cervator)
L23[04:00:07] ⇨ Joins: Pigpork (~pigpork@014198047005.ctinets.com)
L24[04:00:17] <Pigpork> can anyone help me lol
L25[04:00:39] <Forecaster> your lucky numbers are 1, 2, 3 and 4
L26[04:01:19] <Forecaster> And todays weather will be 100% fat-free
L27[04:01:20] <Pigpork> how do i make a program on a floppy disk autorun?
L28[04:01:29] <Forecaster> autorun.lua
L29[04:01:58] <Pigpork> i know but can you show/find a example code for me lol?
L30[04:02:10] <Forecaster> look at the openos disk
L31[04:02:16] <Pigpork> okay
L32[04:02:46] <Forecaster> but really you can just name your main program file "autorun.lua"
L33[04:02:57] <Forecaster> and it will, you know, autorun
L34[04:03:07] <Pigpork> oh okay i will do it now
L35[04:03:11] ⇦ Quits: Pigpork (~pigpork@014198047005.ctinets.com) (Client Quit)
L36[04:03:58] <Forecaster> kay...
L37[04:37:19] <Forecaster> %yes
L38[04:37:20] <MichiBot> no
L39[04:37:26] <Forecaster> hm...
L40[05:16:42] ⇨ Joins: Nathan1852 (~Nathan185@hsi-kbw-091-089-189-253.hsi2.kabel-badenwuerttemberg.de)
L41[05:40:33] <Vexatos> %tell Sangar https://github.com/MightyPirates/OpenComputers/commit/c32fbe700947144674decf25f1ab04b29481f772
L42[05:40:33] <MichiBot> Vexatos: Sangar will be notified of this message when next seen.
L43[05:51:32] ⇦ Quits: glasspelican (~quassel@stanley.glasspelican.ca) (Ping timeout: 206 seconds)
L44[05:54:49] ⇨ Joins: glasspelican (~quassel@stanley.glasspelican.ca)
L45[06:04:08] <Kodos> My God, SNL was hilarious last night
L46[06:04:47] <Forecaster> Snakes, Nationality, Location
L47[06:06:11] <Kodos> Saturday Night Live
L48[06:07:45] <20kdc> Sandwich Nomming Location
L49[06:07:51] ⇨ Joins: BearishMushroom (~BearishMu@90-231-174-194-no159.tbcn.telia.com)
L50[06:08:03] <Corded> * 20kdc noms sandwiches while listening to songs about sandwitches
L51[06:08:14] <20kdc> (does that even make sense?)
L52[06:08:25] <Corded> * 20kdc needs to think about the sentence to work out what it means.
L53[06:08:45] <20kdc> My goodness. *NPCs that can use sand as a weapon.*
L54[06:29:25] ⇨ Joins: Ashindigo_ (uid202308@id-202308.hathersage.irccloud.com)
L55[06:38:55] ⇦ Quits: Epix (~Epix@182.46.1.230) (Quit: Leaving)
L56[06:42:12] ⇨ Joins: Turtle (~SentientT@82.171.92.73)
L57[06:55:52] ⇨ Joins: AshIndigo (~EiraIRC@host-92-11-196-119.as43234.net)
L58[07:16:02] <Techokami> http://pastebin.com/f8pvgVu1 if only my skills were up to snuff to do something like this... :<
L59[07:20:18] <AshIndigo> meh i need opensecurity right now
L60[07:24:10] <Mimiru> A nice message to sit down too.. lol
L61[07:24:41] <S3> whee
L62[07:41:59] <vifino> Hey S3.
L63[07:45:53] <Turtle> mhm. I wonder if I'm going to regret rewriting most of my OC scripts. :P
L64[07:54:51] <vifino> S3: if you didn't see already, i have a beaglebone black now.
L65[07:54:55] <vifino> i like it.
L66[07:55:09] <vifino> gonna use it as the controller of my second 3D printer.
L67[07:55:29] <vifino> Probably using the CRAMPS cape and machinekit, running on arch linux.
L68[07:55:30] <S3> vifino: YAY!
L69[07:55:43] <S3> I have FreeBSD running on mine
L70[07:55:55] <S3> and despite arm I still built all my packages from source
L71[07:56:18] <vifino> Wish it would have more ram, though.
L72[07:56:52] <vifino> I mean I don't need much now, but I'd like to not worry about running out of ram eventually.
L73[07:57:19] <vifino> Currently, I use 28mb...
L74[07:59:40] <S3> it has like 512 mb or 1 gb doesn't it?
L75[07:59:45] <S3> it's something excessive imo
L76[07:59:50] <vifino> pls.
L77[08:00:07] <vifino> its 512mb and it's not "excessive".
L78[08:00:15] <S3> that sounds excessive to me
L79[08:00:18] <S3> for what it is
L80[08:00:31] <S3> freebsd uses 8 MB on boot
L81[08:00:32] <S3> heh
L82[08:01:09] <vifino> In any case, the bbb got the pi 1 series beat for sure in everything, and apart from memory and cpu, the bbb is way less... crappy than even the newest pi's.
L83[08:01:32] <vifino> like thank god, the bbb doesn't have that horrible usb setup.
L84[08:02:13] <S3> vifino: my msp430 has less than 512 bytes of ram
L85[08:02:13] <S3> :D
L86[08:02:26] <S3> and I can make an entire irc client in that
L87[08:02:30] <vifino> how is that of any relevance?
L88[08:02:39] <S3> nobody needs more than 64K :)
L89[08:03:09] <Izaya> does the BBB have display out?
L90[08:03:44] <S3> yes
L91[08:03:48] <S3> it's a mini hdmi port
L92[08:03:56] <S3> I use a serial cable
L93[08:04:15] <S3> all yu need is a 3 wire 3.3v serial ttl cable for that
L94[08:04:21] <S3> (though mine is like 6 wire)
L95[08:04:32] <vifino> hw flow control!
L96[08:04:45] <vifino> important for all emacs users.
L97[08:04:52] <S3> lol..
L98[08:04:57] <S3> I prefer no flow control
L99[08:05:04] <S3> makes things easy
L100[08:05:17] ⇦ Quits: Herobrine (~1@47.199.240.122) (Read error: Connection reset by peer)
L101[08:05:19] <S3> flow control is nice for bidirectional packet data but
L102[08:05:22] <S3> for a tty? wtf
L103[08:05:53] ⇨ Joins: Herobrine (~1@47.199.240.122)
L104[08:05:55] <S3> and if you're doing network traffic it's better not to use a UART
L105[08:06:00] <S3> iut's better to use a USART instead
L106[08:06:56] <S3> the problem with a usart is that you can fry the machine on the other end theoretically
L107[08:07:19] <S3> by using a clock duty cycle that is over some maximyum
L108[08:07:21] <S3> maximum*
L109[08:08:10] <vifino> at this point i'd also like to mention that i am using arch linux and not the debian thing.
L110[08:08:45] <S3> oh angstrom?
L111[08:08:48] <S3> angstrom is dumb
L112[08:08:53] <vifino> not angstrom.
L113[08:12:53] <S3> angstrom is what mine came with
L114[08:21:29] ⇦ Quits: sytoru (webchat@host31-48-182-63.range31-48.btcentralplus.com) (Ping timeout: 180 seconds)
L115[08:51:55] <S3> so
L116[08:52:02] <S3> caching your swap partition is a bad idea
L117[08:52:19] <AshIndigo> how so?
L118[08:52:49] <XDjackieXD> well if caching uses RAM... xD
L119[09:23:19] ⇨ Joins: Chaoschaot234 (~Chaoschao@83-221-68-156.dynamic.primacom.net)
L120[09:35:13] <S3> AshIndigo: it's called thrashing
L121[09:35:49] <S3> ever all of a sudden had an issue where you ran out of ram and your system is runing out of swap space and all of a sudden the hard drive is making shit tons of annoying noise and it takes 5 minutes just toi move the mouse accross the screen?
L122[09:36:01] <S3> that's called your operating system is being retarded
L123[09:36:06] <S3> thrashig
L124[09:36:09] <S3> thrashing*
L125[09:36:24] <S3> it can bring down the entire system
L126[09:36:27] <AshIndigo> sounds "fun"
L127[09:36:35] <S3> never had it happen?
L128[09:36:50] <S3> windows used to do it ALL the time
L129[09:36:57] <AshIndigo> not that i remember
L130[09:39:01] * Kodos slaps payonel
L131[09:39:01] * EnderBot2 laughs
L132[09:52:40] <gamax92> S3: I mean Linux does that too so...
L133[09:53:11] <S3> it does
L134[09:53:23] <S3> but it tends to happen a lot more on windows
L135[09:53:30] <S3> I haven't had it happen on 10 yet..
L136[10:26:20] ⇦ Quits: Nathan1852 (~Nathan185@hsi-kbw-091-089-189-253.hsi2.kabel-badenwuerttemberg.de) (Read error: Connection reset by peer)
L137[10:26:45] <payonel> ouch
L138[10:26:52] <payonel> why was i slapped?
L139[10:27:31] <Forecaster> to amuse EnderBot2
L140[10:28:33] <Mimiru> Kodos, has a question/concern I think
L141[10:28:53] <Kodos> payonel, in 1006-dev, a lot of ints in my events are coming in as floats
L142[10:28:55] <Kodos> whai
L143[10:29:55] <Vexatos> Didn't know OC actually used integers in events
L144[10:30:32] <payonel> Kodos: don't know, division?
L145[10:30:48] <Kodos> key_up/down is giving me things like 56.0
L146[10:30:49] <payonel> i assume he's using 5.3
L147[10:31:33] <payonel> ah no, i do NO munging of event args during dispatch
L148[10:31:57] <payonel> so that would be in the scala if anything
L149[10:32:08] <payonel> Kodos: did you switch from using a 5.2 cpu to a 5.3?
L150[10:32:47] <Kodos> I don't believe so
L151[10:32:50] <payonel> or the other way around
L152[10:32:51] <Kodos> I'll have to check later, I'm at work
L153[10:33:10] <payonel> i dont know what oc-scala does with the key codes in the key events
L154[10:34:48] <Vexatos> Well
L155[10:34:56] <Vexatos> If you are using Lua 5.3 there are no integers
L156[10:35:18] <Vexatos> All I can think of is that payonel changed something so that whatever you use to print those numbers simply prints an additional decimal point
L157[10:35:35] <Vexatos> and the digit after it
L158[10:36:28] <payonel> no formatting besides tostring
L159[10:36:36] <payonel> and what do you mean no integers in 5.3
L160[10:37:02] <payonel> it's the opposite of that, that's when they added integers
L161[10:39:25] <Kodos> I'm using dmesg to see events
L162[10:39:49] <Kodos> And key_down is returning values with the additional '.0'
L163[10:39:54] <Kodos> Along with most other events
L164[10:40:58] <payonel> Kodos: in 5.3 the floatness is preserved, 5.2 the numbers were all floats, and tostring on 5.2 numbers truncate the float values
L165[10:41:20] <payonel> so in 5.3, `x=56.0` and then print(x) would should 56.0
L166[10:41:24] <payonel> in 5.2 that would be 56
L167[10:41:35] <Kodos> Alright
L168[10:41:37] <payonel> so probably - the scala is using floats for all numbers
L169[10:42:03] <payonel> and thus probably is packing the key events (And others) with floats
L170[10:42:14] <payonel> and now that your cpu is 5.3, you "keep" that floatyness
L171[10:45:50] <Vexatos> payonel, uuh I meant 5.2 ,_,
L172[10:46:53] <payonel> ah, yeah no integers there, stored interally as floats, but the tostring would truncate for precision
L173[10:47:32] <TYKUHN2> Does tostring truncate precision?
L174[10:47:52] <payonel> tykuhn: tostring does not remove your precision
L175[10:47:59] <TYKUHN2> Last I checked I was fighting it to remove precision
L176[10:48:13] <payonel> what i meant by "for" precision was to say, "in the name of"
L177[10:48:35] <payonel> tostring cleans it up, drops the 0s beyond the relevant precision
L178[10:49:01] <payonel> this is 5.2 behavior, 5.3 is slightly different
L179[10:49:05] <TYKUHN2> I've had tostring add multiple 0s to a whole number before
L180[10:49:14] <TYKUHN2> Can
L181[10:49:19] <TYKUHN2> Can't remember which version
L182[10:49:56] <payonel> you can (x-x%.1) to drop extra decimal value
L183[10:51:02] <payonel> in 5.2, (x-x%1) for example, would floor your value, and your tostring would be clean
L184[10:51:10] <payonel> in 5.3, you'd still have .0
L185[10:51:13] <TYKUHN2> Something in my head isn't clicking with modulo. Unrelated to this.
L186[10:52:59] <TYKUHN2> Although my favorite is m^e mod N = c
L187[10:54:51] <TYKUHN2> Why is my reaction time so poor?
L188[10:59:56] <AshIndigo> so why do cables have such a high metadata?
L189[11:01:01] <Forecaster> what?
L190[11:01:45] <AshIndigo> according to nei cables have the metadata of "11250603"
L191[11:02:00] <Forecaster> probably because of multipart or something
L192[11:02:32] <AshIndigo> how would multipart effect the cables in my ae system
L193[11:03:06] <Forecaster> I thought you were talking about oc cables
L194[11:03:10] <AshIndigo> i am
L195[11:03:24] <Forecaster> I'm confused
L196[11:03:47] <AshIndigo> http://imgur.com/a/iOci9
L197[11:04:54] <Forecaster> well I dunno
L198[12:01:04] ⇨ Joins: Cervator (~Thunderbi@2601:4c1:4000:1050:f0aa:957:5e70:5c73)
L199[12:06:16] <gamax92> payonel: I compile 5.3 with silent interger<->double conversion
L200[12:06:53] <gamax92> instead of erroring for no reason like 5.3's default behaviour
L201[12:14:20] <Temia> How pythonic. `w`
L202[12:22:03] <gamax92> Temia: I get the best of both worlds by doing that
L203[12:22:23] <Temia> ~
L204[12:22:23] <gamax92> I can have 5.3 be my default lua runtime and stuff for 5.2 doesn't randomly break and stuff for 5.3 works
L205[12:23:30] * gamax92 pets Temia
L206[12:23:44] <TYKUHN2> Does Lua 5.1 work?
L207[12:23:48] <TYKUHN2> Because I have a lot of that
L208[12:26:25] <TYKUHN2> For instance my router is built in Lua 5.1
L209[12:26:36] <gamax92> work for what?
L210[12:26:47] ⇦ Quits: Ashindigo_ (uid202308@id-202308.hathersage.irccloud.com) (Quit: Connection closed for inactivity)
L211[12:31:53] ⇨ Joins: Wiiplay123 (~kvirc@adsl-72-154-27-119.bna.bellsouth.net)
L212[12:40:32] ⇨ Joins: Wiiplay123|2 (~kvirc@adsl-72-154-27-119.bna.bellsouth.net)
L213[12:40:33] ⇦ Quits: Wiiplay123 (~kvirc@adsl-72-154-27-119.bna.bellsouth.net) (Read error: Connection reset by peer)
L214[13:23:32] <Wiiplay123|2> Idea for an april fool's update
L215[13:23:36] <Wiiplay123|2> robot.succ()
L216[13:33:18] ⇨ Joins: Nathan1852 (~Nathan185@hsi-kbw-091-089-189-253.hsi2.kabel-badenwuerttemberg.de)
L217[13:47:07] <MGR> S3, I'm now implementing openRoute on the GERTi gateway!
L218[13:47:19] <S3> oh? what's that
L219[13:54:52] <MGR> S3, it's the function that confirms that a destination is in fact reachable
L220[13:54:59] <MGR> then I can do the transmission backend and stuff
L221[14:20:16] ⇦ Quits: xarses (~xarses@c-71-198-44-234.hsd1.ca.comcast.net) (Ping timeout: 194 seconds)
L222[14:20:38] ⇨ Joins: xarses (~xarses@c-71-198-44-234.hsd1.ca.comcast.net)
L223[14:21:04] ⇦ Quits: xarses (~xarses@c-71-198-44-234.hsd1.ca.comcast.net) (Remote host closed the connection)
L224[14:21:14] ⇨ Joins: xarses (~xarses@c-71-198-44-234.hsd1.ca.comcast.net)
L225[14:44:02] <MGR> lol
L226[14:44:12] <MGR> handling OPENROUTE messages on the client takes up 30 lines
L227[14:44:29] <MGR> handling OPENROUTE messages on the gateway takes up 50 lines, and I'm only halfway done
L228[14:45:37] <MGR> and I'm going to have to enhance the handling if I want to be able to go gateway -- computer -- computer -- destination
L229[14:45:55] <MGR> which is what I need to make this thing practical
L230[14:49:34] <Forecaster> %stab MichiBot
L231[14:49:34] * MichiBot stabs MichiBot
L232[14:50:05] <Forecaster> %stab the concept of love
L233[14:50:05] * MichiBot stabs the
L234[14:50:10] <Forecaster> uh, okay
L235[14:50:15] <Forecaster> I can fix that too
L236[14:50:19] <Forecaster> :P
L237[14:50:54] <Vexatos> Uh-huh https://redd.it/5tno2v
L238[14:51:45] <AshIndigo> neato
L239[14:52:06] <XDjackieXD> intersting
L240[14:52:25] <Vexatos> Or is it
L241[14:53:08] <Forecaster> I guess it's useful to people who don't have their own servers?
L242[14:53:15] ⇦ Quits: cloakable (~cloakable@cpc87219-aztw31-2-0-cust211.18-1.cable.virginm.net) (Read error: Connection reset by peer)
L243[14:53:21] ⇨ Joins: cloakable (~cloakable@cpc87219-aztw31-2-0-cust211.18-1.cable.virginm.net)
L244[15:11:20] <MGR> S3, Gavle and I just developed the prototype openRoute for the gateways!
L245[15:11:34] <MGR> once that is validated, we will be quite close to finishing GERTi!!!!!!!!!!!!!!!!!!!!
L246[15:21:59] ⇦ Quits: Woxbel (~Woxbel@52491ef6.cm-4-2a.dynamic.ziggo.nl) (Quit: Leaving)
L247[15:29:53] <TYKUHN2> HOLY CHRIST
L248[15:30:02] <AshIndigo> are you ok?
L249[15:30:05] <TYKUHN2> I HAVE GIT LINES GOING EVERY WHICH DIRECTION
L250[15:30:17] <AshIndigo> so your not ok?
L251[15:31:18] <TYKUHN2> No ?
L252[15:31:35] ⇦ Quits: AshIndigo (~EiraIRC@host-92-11-196-119.as43234.net) (Read error: Connection reset by peer)
L253[15:32:17] ⇨ Joins: Ashindigo_ (uid202308@id-202308.hathersage.irccloud.com)
L254[15:32:53] <TYKUHN2> Rebasing. Rebasing works.
L255[15:33:01] <TYKUHN2> I don't know git.
L256[15:36:59] <Ashindigo_> %xkcd git
L257[15:37:03] <MichiBot> Ashindigo_: https://xkcd.com/1597/ - *xkcd: Git*: " · >|. Permanent link to this comic: https://xkcd.com/1597/ Image URL (for hotlinking/embedding): https://imgs.xkcd.com/comics/git.png.&quot;
L258[15:42:35] <TYKUHN2> Welp. It works.
L259[15:42:47] <TYKUHN2> Needs more error checking but assuming absolute idiots arn't running the show it works!
L260[15:45:53] <Antheus> %weather 76020
L261[15:45:54] <MichiBot> Current weather for Azle, TX Current Temp: 69.6°F/20.9°C Feels Like: 69.6°F/20.9°C Current Humidity: 32% Wind: From the NE 18.0 Mph/29.0 Km/h Conditions: Clear
L262[15:47:11] <TYKUHN2> Hmm. 50% CPU usage at idle. Probably should optimize that.
L263[15:48:42] <Forecaster> git is great™
L264[15:48:58] <Forecaster> (terms and conditions may apply)
L265[15:49:16] <TYKUHN2> By adding one line of code my idle went from 50% usage to 0% usage.
L266[15:49:22] <TYKUHN2> ^ We call that efficiency
L267[15:50:09] <MGR> @TYKUHN2 our civilization? is producing 1,000 science with 100 population?
L268[15:50:10] <TYKUHN2> Used socket.select so that instead of every cycle checking the server socket I tell the lua thread to halt until server socket causes an interrupt.
L269[15:50:57] <TYKUHN2> @MGR What?
L270[15:51:21] <MGR> @TYKUHN2 Civ V joke
L271[15:52:33] <TYKUHN2> Think I've only ever beaten that game once
L272[15:54:24] <TYKUHN2> Hehe
L273[15:54:32] <MGR> It's an awesome game
L274[15:54:50] <TYKUHN2> My error function now consists of the line "return error(str)"
L275[16:01:22] <TYKUHN2> Also
L276[16:01:32] <TYKUHN2> Lua 5.1 that is NOT what the laws of math say 2/0 is
L277[16:02:23] <Vexatos> In Java, positive infinity is defined as 1/0 and negative infinity as -1/0
L278[16:03:24] <TYKUHN2> Same for Lua 5.1
L279[16:03:43] <TYKUHN2> Just not what mathmatics says ?
L280[16:09:49] <Mimiru> %delcommand stab
L281[16:09:51] <MichiBot> Mimiru: Command deleted
L282[16:10:31] <20kdc> Nooo!
L283[16:10:35] <20kdc> wait. what did that command do?
L284[16:10:47] <Mimiru> it stabbed $variable
L285[16:10:50] <Forecaster> I used it like 2 hours ago
L286[16:10:52] <Forecaster> :P
L287[16:10:57] <20kdc> Ah. Nevermind.
L288[16:11:12] <Mimiru> What'd you think it did?
L289[16:11:12] <Mimiru> lol
L290[16:12:50] <20kdc> Stack tables?
L291[16:13:08] <Forecaster> that's a stretch
L292[16:13:13] <Forecaster> :P
L293[16:15:44] <Vexatos> %tell Sangar D: https://www.reddit.com/r/feedthebeast/comments/5tno2v/varipass_website_opencomputers/
L294[16:15:44] <MichiBot> Vexatos: Sangar will be notified of this message when next seen.
L295[16:18:13] ⇨ Joins: IzayaXMPP (~858c52067@210.1.213.55)
L296[16:23:58] <TYKUHN2> Anyone here have experience with popen?
L297[16:24:30] <Forecaster> I hear he's a nice guy
L298[16:26:00] <TYKUHN2> The program opened via popen, does it use stdin and stdout to access the streams?
L299[16:26:18] <IzayaXMPP> I should make a BIOS-level T400 emulator
L300[16:26:46] <IzayaXMPP> t400.lua is only 1.75k
L301[16:26:49] ⇦ Quits: MichiBot (~lb@hekate.pc-logix.com) ()
L302[16:26:54] <IzayaXMPP> I'd just need to implement some I/O
L303[16:27:07] ⇨ Joins: MichiBot (~lb@hekate.pc-logix.com)
L304[16:27:07] zsh sets mode: +v on MichiBot
L305[16:28:17] <CompanionCube> LOL. A UK newspaper did a telephone poll, got an unsecified number of responses....and magically the result was 99% on their side and 1% on the other
L306[16:28:25] <CompanionCube> totally accurate and legitimate, that
L307[16:29:04] <TYKUHN2> Valve making VR games?!? Headcrabs in VR? I don't want Diarreha!
L308[16:29:34] <Wiiplay123|2> robot.succ() ;)
L309[16:30:15] <CompanionCube> IzayaXMPP: ^
L310[16:33:27] <TYKUHN2> WTF
L311[16:35:43] <Wiiplay123|2> I need help
L312[16:35:51] <Wiiplay123|2> How do I find the current dns server I'm using
L313[16:37:16] <CompanionCube> Wiiplay123|2: OS?
L314[16:37:22] <Wiiplay123|2> Windows 7 x64
L315[16:37:32] <Wiiplay123|2> also I might have to restart my computer, the wifi's being dumb again
L316[16:37:32] <CompanionCube> ipconfig /all might show you
L317[16:37:35] <Wiiplay123|2> except it also rained recently
L318[16:38:17] <Wiiplay123|2> ok yeah it's what I thought it wtas
L319[16:38:19] <Wiiplay123|2> just the router
L320[16:38:55] ⇦ Quits: Vexatos (~Vexatos@p200300556E5AFE19C9D26E5235DEF1DB.dip0.t-ipconnect.de) (Quit: I guess I have to go now. Bye ✔)
L321[16:39:08] <TYKUHN2> Yeah my router registers itself as a DNS, NTP, and DHCP server
L322[16:39:24] ⇦ Quits: Nathan1852 (~Nathan185@hsi-kbw-091-089-189-253.hsi2.kabel-badenwuerttemberg.de) (Read error: Connection reset by peer)
L323[16:39:47] * CompanionCube only uses the router's DNS on the tablet
L324[16:39:48] <Wiiplay123|2> my internet goes out whenever it rains
L325[16:39:56] <CompanionCube> other devices typically use either dnsmasq or Unbound
L326[16:40:36] <TYKUHN2> It forwards this information from (DNS) 8.8.8.8 and (NTP) openwrt.pool.ntp.org
L327[16:40:50] <CompanionCube> ah
L328[16:40:59] <CompanionCube> Google's nameserver and an NTP pool.
L329[16:41:14] <TYKUHN2> My computer is USUALLY bound to 8.8.8.8 for DNS but I'm using a router as a bridge.
L330[16:41:23] <TYKUHN2> And it's nicely configured.
L331[16:41:44] ⇦ Quits: Trangar (~Trangar@249-153-145-85.ftth.glasoperator.nl) (Quit: Leaving)
L332[16:42:01] <TYKUHN2> OpenWRT is the 3rd party that made my firmware
L333[16:42:12] <TYKUHN2> BUT IT'S NOT LUA 5.3 YET
L334[16:42:12] <EnderBot2> Lua*
L335[16:42:27] <TYKUHN2> No EnderBot2 the capitalization was correct that time.
L336[16:43:33] <TYKUHN2> I can't tell you how nice it was configuring my SSH key. Coming from RPi which is screwy with my keygen
L337[16:44:02] * CompanionCube has used ssh-copy-id before
L338[16:45:02] <IzayaXMPP> fun fact
L339[16:45:09] <IzayaXMPP> event-based async memory I/O is hard
L340[16:46:38] <CompanionCube> is the hard part the event-basis or the async bit
L341[16:46:50] <TYKUHN2> Not sure how I want to handle this
L342[16:46:59] <TYKUHN2> Maybe I can do async...
L343[16:47:23] <TYKUHN2> Alternatively I can just allocate a specific amount of time and decide "Nope too slow" if it's not finished by then
L344[16:47:55] <IzayaXMPP> well
L345[16:48:00] <IzayaXMPP> here's how it works
L346[16:48:10] <IzayaXMPP> my emulation library requests an address
L347[16:48:31] <IzayaXMPP> the program sends an actual request and writes down that it's waiting for that address
L348[16:48:56] <IzayaXMPP> upon receiving a message it checks if it's what it's looking for
L349[16:49:04] <TYKUHN2> Async could be difficult for killing slow lorises
L350[16:49:06] <IzayaXMPP> if it is, it writes that down and waits for the next cycle of using the library
L351[16:49:14] <IzayaXMPP> with some luck that works
L352[16:50:40] <TYKUHN2> Might as well commit the optimizations as is
L353[16:58:52] ⇦ Parts: IzayaXMPP (~858c52067@210.1.213.55) (Disconnected: closed))
L354[17:02:55] ⇨ Joins: IzayaXMPP (~858c52067@210.1.213.55)
L355[17:03:50] <IzayaXMPP> fuck. memory request is being received by memory beforethe processor is finished executing
L356[17:04:21] <IzayaXMPP> if I manually feed it data it runs fine
L357[17:06:01] <IzayaXMPP> oh okay I made it work
L358[17:06:04] <IzayaXMPP> ~magic~
L359[17:08:56] <IzayaXMPP> who was it that was talking about writing a B compiler?
L360[17:13:41] <CompanionCube> ...B?
L361[17:13:48] <CompanionCube> as in, the language that preceded C?
L362[17:14:27] <IzayaXMPP> yes
L363[17:14:51] <CompanionCube> why
L364[17:15:15] <IzayaXMPP> because I have a stack machine and would like something a little higher-level than FORTH
L365[17:22:52] <TYKUHN2> Mmmm Opera Creams
L366[17:23:01] <TYKUHN2> I just had a few
L367[17:25:23] <CompanionCube> IzayaXMPP: Maybe a simple Scheme or Lisp?
L368[17:27:17] <TYKUHN2> How doth one push commit without one pushing previous commits?
L369[17:27:35] <CompanionCube> You can't.
L370[17:27:38] <TYKUHN2> Oh! I know how! Checkout the other out of date branch!
L371[17:30:53] <TYKUHN2> Why does unstaged files cause conflict with checkout!?
L372[17:30:54] <TYKUHN2> ?
L373[17:31:23] <CompanionCube> well, wouldn't want to lose your work now would we?
L374[17:32:05] <TYKUHN2> Considering there is no changes other than the unstaged ones the checkout shouldn't be conflicting
L375[17:32:48] <TYKUHN2> OH CRAP
L376[17:32:59] <TYKUHN2> Lost my work ?
L377[17:33:16] <TYKUHN2> Thankfully I kept it open in notepad++ so I still have it
L378[17:34:07] <CompanionCube> well, don't say git didn't warn you.
L379[17:34:48] <Mimiru> [[ while true do print('loop') end]] -> (false,Script overran resource limits.)
L380[17:34:52] * Mimiru coughs
L381[17:35:14] ⇨ Joins: Nachtara (~Nachiebre@173-22-110-5.client.mchsi.com)
L382[17:35:42] <CompanionCube> ?
L383[17:35:53] ⇨ Joins: Doty1154 (~Doty1154@2601:648:8000:134f:4c47:3aad:d12e:38e8)
L384[17:36:11] <Mimiru> I'm totally not working on adding a lua command to MichiBot...
L385[17:36:11] <Mimiru> nope
L386[17:37:39] ⇨ Joins: Doob (~Doob@89.40.194.140)
L387[17:38:32] ⇦ Parts: Doob (~Doob@89.40.194.140) ())
L388[17:41:02] <TYKUHN2> Why!?
L389[17:41:25] <CompanionCube> ah
L390[17:41:29] <TYKUHN2> Github requires applications to be allowed access to an organization. SSH keys are not sufficient. Oddly enough, github for windows doesn't!?!?
L391[17:42:13] <TYKUHN2> Is GitKraken trying to push through integration channels instead of ssh!?
L392[17:43:11] <Mimiru> http://michi.pc-logix.com/hexchat_2017-02-12_17-43-03.png
L393[17:43:42] <TYKUHN2> Anyone know Gitkraken enough to fix this?
L394[17:44:06] <xandaros> dafuq is gitkraken?
L395[17:44:15] <TYKUHN2> GitHub for windows Alternative
L396[17:44:18] <TYKUHN2> And I figured out the issue
L397[17:44:59] <TYKUHN2> The pricks at Github autogive Github for Windows authorization over the entire account regardless of limits for remote applications such as requiring independent organization permissions.
L398[17:46:33] <xandaros> I don't get it... I just use the cli - works perfectly fine
L399[17:47:26] <TYKUHN2> It's a nicer alternative to github. It has better controls
L400[17:48:40] <xandaros> alternative to github? I thought it was just a gui git thing...
L401[17:49:18] <TYKUHN2> Github for Windows*
L402[17:49:50] <xandaros> Don't even know what that is :P Another GUI?
L403[17:50:03] <TYKUHN2> It's all GUIs ?
L404[17:50:15] <xandaros> Yeah, I don't use any. CLI is much easier IMO
L405[17:50:16] <TYKUHN2> Also I hate powershell why must I use powershell?
L406[17:50:30] <xandaros> because you're on windows
L407[17:54:33] <TYKUHN2> Bleh. It never generated the key like it said it would. I'll just use Github for Window's keys
L408[17:56:47] ⇦ Quits: Ashindigo_ (uid202308@id-202308.hathersage.irccloud.com) (Quit: Connection closed for inactivity)
L409[17:57:33] <TYKUHN2> Frustrating
L410[17:57:37] <Mimiru> ok.. I can't get print to work...
L411[17:57:40] <Mimiru> return works
L412[17:57:42] <Mimiru> but not print :/
L413[17:57:43] ⇦ Parts: IzayaXMPP (~858c52067@210.1.213.55) (Disconnected: closed))
L414[17:57:45] <TYKUHN2> CLI can push using these keys but GitKraken can't
L415[18:03:08] <TYKUHN2> Bloody Github is locking itself down too hard
L416[18:11:55] <Mimiru> oooh
L417[18:11:58] <Mimiru> print is going to stdout
L418[18:14:17] <xandaros> Mimiru: You can override print in the Lua environment with your own implementation. Might be easier
L419[18:14:32] <Mimiru> I have no idea where I'd start... :P
L420[18:15:06] <xandaros> Pretty sure you can just set it in the global table
L421[18:16:07] <xandaros> Mimiru: Are you using luaj?
L422[18:16:34] <Mimiru> Yeah
L423[18:16:45] <Mimiru> This is horridly hacked together... :P
L424[18:17:05] <Mimiru> https://gist.github.com/4d4f85eaed925cff9e287f829ecb4e58
L425[18:17:22] <xandaros> Something like JsePlatform.standardGlobals().set(LuaValue.valueOf("print"), yourPrintFuncHere);
L426[18:18:20] <xandaros> Mimiru: https://github.com/Xandaros/CafeMun/blob/master/src/io/inp/cafemun/MainThread.java#L57
L427[18:18:30] <xandaros> Not the same thing, but the same idea^^
L428[18:19:51] <xandaros> Also not that I haven't touched this in 2 years. The API might have changed
L429[18:28:57] ⇦ Quits: g (~g@ultros.tentacles.are.evidently.sexy) (Ping timeout: 180 seconds)
L430[18:30:04] ⇨ Joins: g (~g@ultros.tentacles.are.evidently.sexy)
L431[18:50:27] ⇨ Joins: IzayaXMPP (~858c52067@210-1-213-55-cpe.spintel.net.au)
L432[19:04:23] ⇦ Quits: MichiBot (~lb@hekate.pc-logix.com) ()
L433[19:04:41] ⇨ Joins: MichiBot (~lb@hekate.pc-logix.com)
L434[19:04:42] zsh sets mode: +v on MichiBot
L435[19:04:47] <Mimiru> There, a broken fucking lua bot.. :P
L436[19:04:49] <Mimiru> don't use print
L437[19:04:54] <Mimiru> cause nothing I tried works lol
L438[19:05:04] <Mimiru> return works though
L439[19:05:11] <Mimiru> %lua return("Meh")
L440[19:05:12] <MichiBot> Meh
L441[19:05:52] <Mimiru> Here, someone else fuck with this shit: https://github.com/PC-Logix/LanteaBot/blob/master/src/main/java/pcl/lc/irc/hooks/LuaJSandbox.java
L442[19:05:57] <Mimiru> I'm going to go shoot myself.
L443[19:24:30] <xandaros> Don't do that. That's unhealthy
L444[19:29:53] <xandaros> %lua print("hi")
L445[19:29:53] <MichiBot> bad argument: value expected, got nil
L446[19:30:03] <xandaros> That makes like no sense
L447[19:30:07] <Mimiru> cause print is going to stdout
L448[19:30:11] <Mimiru> so it's not getting anything
L449[19:30:24] <Mimiru> that "hi" is sitting in the bot's log output
L450[19:30:39] <xandaros> Right...
L451[19:30:50] <IzayaXMPP> %lua while true do print("hi") end
L452[19:30:50] <MichiBot> Script overran resource limits.
L453[19:30:56] <xandaros> user_globals is the environment?
L454[19:30:57] <IzayaXMPP> excellent
L455[19:31:03] <Mimiru> xandaros, I assume so
L456[19:31:06] <xandaros> k
L457[19:31:09] <Mimiru> I don't know much.. :(
L458[19:31:34] <xandaros> Well, I'm gonna try hacking it together without actually testing it :D
L459[19:31:42] <Mimiru> \o/
L460[19:33:42] *** medsouz|offline is now known as medsouz
L461[19:39:00] <TYKUHN2> What if you replace print with a return?
L462[19:39:06] <TYKUHN2> %lua temp = print
L463[19:39:06] <MichiBot> bad argument: value expected, got nil
L464[19:39:14] <TYKUHN2> %lua function print(str) return str en
L465[19:39:24] <TYKUHN2> %lua function print(str) return str end
L466[19:39:24] <MichiBot> bad argument: value expected, got nil
L467[19:39:31] <TYKUHN2> %lua print("Hi!")
L468[19:39:31] <MichiBot> bad argument: value expected, got nil
L469[19:40:42] <TYKUHN2> Mimiru you're just printing/xmiting the return of pcall[2]?
L470[19:40:52] <Mimiru> I linked it.. :p
L471[19:41:06] ⇦ Parts: IzayaXMPP (~858c52067@210-1-213-55-cpe.spintel.net.au) (Disconnected: closed))
L472[19:41:13] <Mimiru> %resetlua
L473[19:41:13] <MichiBot> Sandbox reset
L474[19:41:15] <Mimiru> :P
L475[19:41:35] <TYKUHN2> No! No! Bad Mimiru! Take your Java away from here!
L476[19:42:06] <TYKUHN2> %lua return __VERSION
L477[19:42:07] <MichiBot> bad argument: value expected, got nil
L478[19:42:18] <TYKUHN2> %lua return _VERSION
L479[19:42:18] <MichiBot> Luaj-jse 3.0.1
L480[19:43:03] <Mimiru> it's 5.2, BTW :p
L481[19:43:24] ⇦ Quits: Nachtara (~Nachiebre@173-22-110-5.client.mchsi.com) (Quit: Mischief Managed!)
L482[19:43:36] <TYKUHN2> I wonder how good your sandboxing is
L483[19:44:19] <Corded> * TYKUHN2 performs an evil giggle
L484[19:45:11] <xandaros> Hmmm
L485[19:45:33] ⇨ Joins: Cervator1 (~Thunderbi@c-98-192-133-39.hsd1.fl.comcast.net)
L486[19:45:34] <xandaros> Need to access the target during execution somehow :/
L487[19:45:51] ⇦ Quits: Cervator (~Thunderbi@2601:4c1:4000:1050:f0aa:957:5e70:5c73) (Ping timeout: 198 seconds)
L488[19:45:51] *** Cervator1 is now known as Cervator
L489[19:46:51] <xandaros> Oh, target is global
L490[19:46:54] <xandaros> wtf, but sure
L491[19:48:10] <xandaros> Mimiru: The gist editor fucked up the indentation, but here you go: https://gist.github.com/Xandaros/818a4b71aa2cb020bb75df6e320c39af#file-luajsandbox-java-L149
L492[19:48:46] ⇨ Joins: IzayaXMPP (~858c52067@210-1-213-55-cpe.spintel.net.au)
L493[19:48:49] ⇦ Quits: BearishMushroom (~BearishMu@90-231-174-194-no159.tbcn.telia.com) (Read error: Connection reset by peer)
L494[19:48:55] <TYKUHN2> Depending on the limitations I could totally make a fork bomb using that.
L495[19:49:51] <Mimiru> ooooh
L496[19:50:41] <Mimiru> xandaros, This method must return a result of type Varargs, should I add a return, or switch that to void
L497[19:50:55] <Mimiru> Oh, can't do void lol
L498[19:51:01] <xandaros> Oh yes, forgot about that
L499[19:51:05] <xandaros> sec
L500[19:51:44] <xandaros> return LuaValue.varargsOf(LuaValue.NIL) //should do it
L501[19:51:59] <TYKUHN2> %lua temp = print
L502[19:51:59] <MichiBot> bad argument: value expected, got nil
L503[19:52:07] <TYKUHN2> %lua function print(str) return(str) end
L504[19:52:07] <MichiBot> bad argument: value expected, got nil
L505[19:52:13] <TYKUHN2> %lua print("Hi!")
L506[19:52:13] <MichiBot> bad argument: value expected, got nil
L507[19:52:16] <TYKUHN2> Nope
L508[19:52:29] <TYKUHN2> %lua return(io.popen)
L509[19:52:29] <MichiBot> main:1 attempt to index ? (a nil value)
L510[19:52:36] <TYKUHN2> Nope can't fork
L511[19:52:56] ⇨ Joins: techno156 (~techno156@137.154.136.242)
L512[19:54:21] <TYKUHN2> %lua return(os.execute)
L513[19:54:22] <MichiBot> execute
L514[19:54:29] <TYKUHN2> Err?
L515[19:55:30] <Mimiru> xandaros, http://michi.pc-logix.com/hexchat_2017-02-12_19-55-22.png lol
L516[19:55:55] <xandaros> right
L517[19:56:07] <xandaros> Now you just need to stop trying to print if the executed function returns nil :P
L518[19:56:13] <Mimiru> lol yeah
L519[19:57:54] <Mimiru> eh, it's going to have to wait..
L520[19:57:59] <Mimiru> I'm also disabling os I guess
L521[19:58:13] <Mimiru> since it seems some stuff like os.execute would be bad :p
L522[19:58:20] <xandaros> Yeah...
L523[19:59:08] <xandaros> Later on, you can add these libraries with only a subset of functions if you want. But for now, just disable them
L524[19:59:44] <TYKUHN2> %lua return(os.execute("TIME"))
L525[19:59:44] <MichiBot> bad argument: value expected, got nil
L526[20:00:11] <TYKUHN2> Either that didn't execute as expected or you're running Linux! >:)
L527[20:00:23] <Mimiru> Linux.
L528[20:00:25] <Mimiru> :p
L529[20:00:29] <IzayaXMPP> %lua return os.execute("time")
L530[20:00:29] <MichiBot> bad argument: value expected, got nil
L531[20:00:38] <IzayaXMPP> why would you not run loonix
L532[20:00:41] <TYKUHN2> Windows TIME returns system time
L533[20:01:12] <TYKUHN2> Supposedly also works on Linux
L534[20:02:08] <TYKUHN2> %lua return(os.execute("echo hi!"))
L535[20:02:08] <MichiBot> true
L536[20:02:20] <TYKUHN2> So what did we learn
L537[20:02:31] <xandaros> Why would you assume that it's running on windows? lol
L538[20:02:31] <TYKUHN2> LuaJ actually parses system commands >:)
L539[20:02:51] <xandaros> The Linux command to see the current time is "date" btw
L540[20:02:56] <TYKUHN2> Xandaros it was a command I could find really easily and I knew would show no important information
L541[20:03:22] <xandaros> sudo cat /etc/shadow
L542[20:03:28] <xandaros> >:D
L543[20:04:55] <TYKUHN2> %lua function betterExec(cmd) local result = {os.execute(cmd)} return table.unpack(result, 2) end
L544[20:04:55] <MichiBot> bad argument: value expected, got nil
L545[20:05:04] <TYKUHN2> %lua betterExec("date")
L546[20:05:04] <MichiBot> bad argument: value expected, got nil
L547[20:05:07] <TYKUHN2> Pfft
L548[20:05:26] <TYKUHN2> %lua return ({os.execute("date")})[2]
L549[20:05:26] <MichiBot> exit
L550[20:06:03] <TYKUHN2> %lua return ({os.execute("date")})[3]
L551[20:06:03] <MichiBot> 0
L552[20:06:13] <TYKUHN2> HAH! Editing Discord retransmits
L553[20:07:28] <Mimiru> Yes..
L554[20:17:24] ⇦ Quits: Turtle (~SentientT@82.171.92.73) (Quit: Nettalk6 - www.ntalk.de)
L555[20:27:42] ⇦ Quits: Doty1154 (~Doty1154@2601:648:8000:134f:4c47:3aad:d12e:38e8) (Read error: Connection reset by peer)
L556[20:40:07] ⇦ Parts: IzayaXMPP (~858c52067@210-1-213-55-cpe.spintel.net.au) (Disconnected: closed))
L557[20:43:36] ⇦ Quits: MichiBot (~lb@hekate.pc-logix.com) ()
L558[20:43:52] ⇨ Joins: MichiBot (~lb@hekate.pc-logix.com)
L559[20:43:52] zsh sets mode: +v on MichiBot
L560[20:43:58] <Mimiru> It's still broken, but print "works"
L561[20:45:50] <Kodos> My God, this seagulls song
L562[20:49:47] <xandaros> Mimiru: What's broken about it?
L563[20:50:26] <Mimiru> still prints the error cause I CBA to figure it out
L564[20:50:47] ⇨ Joins: sytoru (webchat@host31-48-182-63.range31-48.btcentralplus.com)
L565[20:50:51] <xandaros> ...
L566[20:50:51] <sytoru> toot toot
L567[20:51:13] <Mimiru> I'd poke it, but Overwatch lol
L568[20:53:30] <xandaros> %lua print("hi")
L569[20:53:30] <MichiBot> hi
L570[20:53:31] <MichiBot> main:1 vm error: java.lang.NullPointerException
L571[20:53:38] <xandaros> right
L572[20:55:24] <xandaros> %lua return "hi"
L573[20:55:24] <MichiBot> hi
L574[20:55:31] <xandaros> %lua return nil
L575[20:55:31] <MichiBot> bad argument: value expected, got nil
L576[20:55:37] <xandaros> %lua return print
L577[20:55:37] <MichiBot> function: 2
L578[20:55:54] ⇨ Joins: Doty1154 (~Doty1154@2601:648:8000:134f:d16e:7d5:9760:7e97)
L579[20:55:59] <xandaros> Oh, cause you're returning null there
L580[20:57:19] <TYKUHN2> How does one return null?
L581[20:57:38] <vifino> nil*
L582[20:58:12] <xandaros> No, null
L583[20:58:17] <xandaros> This is in Java land
L584[20:58:45] <Mimiru> Oh shit
L585[20:58:48] <Mimiru> I didn't mean to push that change
L586[20:59:09] <TYKUHN2> I'm running out of Opera Creams!!!!
L587[20:59:23] <Mimiru> @resetlua
L588[20:59:26] <Mimiru> err
L589[20:59:28] <Mimiru> %resetlua
L590[20:59:28] <MichiBot> Sandbox reset
L591[20:59:34] <Mimiru> there it'll return args now :P
L592[20:59:44] <xandaros> Mimiru: Maybe return LuaValue.varargsOf(new LuaValue[0]); ?
L593[20:59:52] <xandaros> %lua print("asd")
L594[20:59:52] <MichiBot> asd
L595[20:59:53] <MichiBot> bad argument: value expected, got nil
L596[20:59:59] <xandaros> yeah
L597[21:00:20] <Mimiru> return LuaValue.varargsOf(LuaValue.NIL, args); is the current
L598[21:00:55] <TYKUHN2> "In a World Where Peas are Heavier Than the Moon"
L599[21:01:18] <xandaros> Mimiru: Isn't your resetlua and your init the same?
L600[21:01:35] <Mimiru> No... I was playing and pushed the wrong code
L601[21:01:50] <xandaros> k
L602[21:26:29] <Mimiru> return LuaValue.varargsOf(new LuaValue[0], args); still returns nil
L603[21:27:33] <xandaros> Mimiru: No second parameter
L604[21:27:50] <Mimiru> Oh.. that threw an error when I tried it last time..
L605[21:27:50] <Mimiru> odd
L606[21:27:59] <Mimiru> I'll give it another shot since I'm inbetween games
L607[21:28:02] <xandaros> It only works with arrays
L608[21:28:30] <xandaros> static Varargs varargsOf(LuaValue[] v)
L609[21:29:08] <xandaros> But yes, it does return nil. That's the point. Just looking for a nicer solution that is more like the original print function :P
L610[21:29:19] <xandaros> %lua print("foo", "bar")
L611[21:29:19] <MichiBot> (foo,bar)
L612[21:29:20] <MichiBot> bad argument: value expected, got nil
L613[21:29:26] <xandaros> Oh well...
L614[21:29:34] <Mimiru> (it's not been pushed to the current build yet :P
L615[21:29:36] <Mimiru> )*
L616[21:29:46] <Mimiru> join #michibot and use @lua
L617[22:22:01] ⇦ Quits: techno156 (~techno156@137.154.136.242) (Quit: Leaving)
L618[22:24:41] *** medsouz is now known as medsouz|offline
L619[23:02:15] ⇦ Quits: MichiBot (~lb@hekate.pc-logix.com) ()
L620[23:02:35] ⇨ Joins: MichiBot (~lb@hekate.pc-logix.com)
L621[23:02:35] zsh sets mode: +v on MichiBot
L622[23:02:48] <Mimiru> %lua a="test"
L623[23:02:54] <Mimiru> %lua print(a)
L624[23:03:02] <Mimiru> now we wait...
L625[23:03:09] <MichiBot> nil
L626[23:03:19] <Mimiru> ._.
L627[23:03:23] * Mimiru sighs
L628[23:03:31] <Kodos> %lua a="test" print(a)
L629[23:03:31] <MichiBot> test
L630[23:03:39] ⇦ Quits: Dark (~MrDark@cpe-75-185-6-240.columbus.res.rr.com) (Quit: Off to nuke a wizard)
L631[23:03:44] <Mimiru> Yeah.. but they're supposed to persist
L632[23:03:49] <Kodos> %lua print(a)
L633[23:03:49] <MichiBot> test
L634[23:03:59] <Mimiru> Odd...
L635[23:04:02] <Kodos> ¯\_(ツ)_/¯
L636[23:04:06] <Mimiru> maybe it processed them backwards
L637[23:04:13] <Mimiru> since it was still starting up
L638[23:04:17] <Kodos> Could be
L639[23:04:26] <Mimiru> Anyway, it's crappy, but it "works"
L640[23:04:38] <Mimiru> xandaros helped, gamax92 or someone may have some ideas tomorrow
L641[23:05:41] <xandaros> %lua print(a)
L642[23:05:41] <MichiBot> test
L643[23:06:00] <xandaros> %lua a = "foobar"
L644[23:06:03] <xandaros> %lua print(a)
L645[23:06:03] <MichiBot> foobar
L646[23:06:25] <xandaros> Seems to work
L647[23:06:29] <xandaros> %lua return nil
L648[23:06:32] <xandaros> :)
L649[23:07:14] <xandaros> %lua a = "barfoo"
L650[23:07:16] <xandaros> %lua print(a)
L651[23:07:17] <MichiBot> barfoo
L652[23:07:42] <xandaros> I wonder...
L653[23:08:01] <xandaros> %lua for i=1,16 do print(i) end
L654[23:08:01] <MichiBot> 1
L655[23:08:02] <MichiBot> 2
L656[23:08:03] <MichiBot> 3
L657[23:08:04] <MichiBot> 4
L658[23:08:05] <MichiBot> 5
L659[23:08:06] <MichiBot> 6
L660[23:08:07] <MichiBot> 7
L661[23:08:08] <MichiBot> 8
L662[23:08:09] <MichiBot> 9
L663[23:08:09] <Kodos> Ugh
L664[23:08:10] <MichiBot> 10
L665[23:08:11] <MichiBot> 11
L666[23:08:12] <MichiBot> 12
L667[23:08:13] <MichiBot> 13
L668[23:08:14] <MichiBot> 14
L669[23:08:14] <Mimiru> shit...
L670[23:08:15] <MichiBot> 15
L671[23:08:16] <MichiBot> 16
L672[23:08:23] <Mimiru> I should REALLY try to get that to print a single line
L673[23:08:29] <Kodos> Need to do it like deadbeef, and pipesep it
L674[23:08:44] <Kodos> Try poking vif tomorrow
L675[23:08:49] <Kodos> He may know how
L676[23:09:12] <xandaros> Just buffer the output and print after execution
L677[23:11:04] <xandaros> %lua local a = "localstuff" print(a)
L678[23:11:05] <MichiBot> localstuff
L679[23:11:08] <xandaros> %lua print(a)
L680[23:11:09] <MichiBot> barfoo
L681[23:11:18] <Kodos> Lol
L682[23:11:19] <Kodos> is broke
L683[23:11:25] <xandaros> ?
L684[23:11:30] <xandaros> That worked as expected
L685[23:11:38] <Kodos> Oh
L686[23:11:38] <Kodos> Right
L687[23:12:04] <xandaros> %lua local x = "" for i=1, 513 do x = x .. "x" end print(x)
L688[23:12:04] <MichiBot> Script overran resource limits.
L689[23:12:06] <xandaros> :D
L690[23:12:23] <xandaros> %lua local x = "" for i=1, 100 do x = x .. "xxxxxx" end print(x)
L691[23:12:23] <MichiBot> Script overran resource limits.
L692[23:12:38] <Kodos> If you're going to try and make the bot spam, do it in PM
L693[23:12:52] <Kodos> Lest I have to beat you
L694[23:12:53] <Mimiru> IIRC it doesn't respond to lua in PM atm
L695[23:12:59] <Kodos> Either way
L696[23:13:10] <xandaros> The print is outside the loop
L697[23:13:18] <xandaros> I want to see what happens if you overflow the irc message
L698[23:13:30] <Mimiru> use #michibot
L699[23:13:34] <xandaros> k
L700[23:13:35] <Mimiru> both bots are there
L701[23:14:05] <xandaros> Oh right, I only have 200 instructions
L702[23:16:44] <xandaros> So much spam in that other channel. Wow. :P
L703[23:18:30] ⇦ Quits: fingercomp (~fingercom@host-46-50-128-141.bbcustomer.zsttk.net) (Read error: Connection reset by peer)
L704[23:19:16] <Mimiru> :P
L705[23:19:57] <Mimiru> Max used to be 20, didn't leave much room lol
L706[23:23:33] <Kodos> A farmer buys a young rooster. As soon as he gets it home, it screws all 150 hens. The farmer is impressed. At lunch, the rooster once again hits all 150 hens. The next day, it's screwing the ducks and geese, too. Sadly later that day he finds the rooster lying on the ground, half dead, with vultures circling overhead. Laughing, the farmer says "Ha, you deserve it!" The rooster opens one eye, looks up at the farmer and says "Shh,
L707[23:23:33] <Kodos> they're about to land"
L708[23:31:09] ⇦ Quits: Wiiplay123|2 (~kvirc@adsl-72-154-27-119.bna.bellsouth.net) (Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/)
L709[23:31:41] ⇨ Joins: Ashindigo_ (uid202308@id-202308.hathersage.irccloud.com)
L710[23:31:49] <TYKUHN2> Uhhh Kodos... you okay?
L711[23:31:59] <Kodos> Yes
L712[23:32:01] <Kodos> It was funny, wanted to share
L713[23:32:22] <xandaros> Right... time to do some actual work and refactor about half our codebase. It's in python, too, so it's not even going to tell me if I mess up. Dynamic typing is awesome. So easy and saves so much time, just like everyone says!
L714[23:35:34] ⇨ Joins: fingercomp (~fingercom@host-46-50-128-141.bbcustomer.zsttk.net)
<<Prev Next>> Scroll to Top