code logs -> 2017 -> Mon, 17 Jul 2017< code.20170716.log - code.20170718.log >
--- Log opened Mon Jul 17 00:00:26 2017
00:07 Kindamoody is now known as Kindamoody[zZz]
00:08 Jessikat [Jessica@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving]
00:22 Jessikat [Jessikat@Nightstar-j22vh7.dab.02.net] has joined #code
00:34 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
00:37 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
00:37 mode/#code [+o Alek] by ChanServ
01:49 VirusJTG_ [VirusJTG@Nightstar-055.kas.104.208.IP] has joined #code
01:50 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Ping timeout: 121 seconds]
04:46 VirusJTG_ [VirusJTG@Nightstar-055.kas.104.208.IP] has quit [[NS] Quit: Leaving]
05:08 Derakon is now known as Derakon[AFK]
06:23 celticminstrel [celticminst@Nightstar-4r2i8l.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:24 celticminstrel [celticminst@Nightstar-4r2i8l.dsl.bell.ca] has joined #code
06:24 mode/#code [+o celticminstrel] by ChanServ
06:24 celticminstrel [celticminst@Nightstar-4r2i8l.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:39 Turaiel is now known as Turaiel[Offline]
06:45 Jessikat` [Jessikat@Nightstar-lh9gc6.dab.02.net] has joined #code
06:48 Jessikat [Jessikat@Nightstar-j22vh7.dab.02.net] has quit [Ping timeout: 121 seconds]
06:52 Jessikat` is now known as Jessikat
07:18 Vornotron [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
07:18 mode/#code [+qo Vornotron Vornotron] by ChanServ
07:20 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
07:21 Kindamoody[zZz] is now known as Kindamoody
07:24 Vornotron [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
08:44 Kindamoody is now known as Kindamoody|afk
09:38 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has quit [Ping timeout: 121 seconds]
12:02 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
12:02 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
12:07 Jessikat [Jessikat@Nightstar-lh9gc6.dab.02.net] has quit [[NS] Quit: Bye]
13:23
<&[R]>
Forgive me, for I have sinned
13:24
<&[R]>
I'm currently trying to mod Minecraft, now unfortunately, I've had zero luck actually doing it via Java
13:24
<&[R]>
So I'm stuck with using CustomStuff 2, which provides a JS interface to add new blocks and the like
13:25
<&[R]>
However, to do that, it wants you to define the new items/blocks in a file, and each of those files has a brand new context and there's no way to pass variables into it
13:26
<&[R]>
I wanted to add 34 blocks that were all identical except their name and texture were different
13:26
<&[R]>
Obviously I didn't want to write up 34 new files
13:26
<&[R]>
So with a bit of trial and error I found an object that I could monkey-patch that was in both contexts: Function
13:27
<&[R]>
So I am passing arguments to my block creation script by adding a property to the Function function/constructor/object.
13:41
<&[R]>
There doesn't seem to be some general use global object
13:41
<&[R]>
At least not one that won't throw an error when I try and add a property to it
14:28
<@TheWatcher>
There's something fitting about having to hack something into minecraft to get blocks in minecraft...
14:40
<&[R]>
:p
14:41
<&[R]>
I will admit, CS2 is amazingly poorly archetectured.
14:41
<&[R]>
All of the callbacks are done via JS code in strings
14:42
<&[R]>
Anytime you would expect a callback to be called otherwise is done by telling it a filename to run, and that gets a new context (which has the issue I was dealing with above)
14:44 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
14:44 mode/#code [+qo Vornicus Vornicus] by ChanServ
15:08 domtron [domtron@Nightstar-r8ehsd.ct.charter.com] has joined #code
17:54 Jessikat [Jessica@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
19:56 RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has joined #code
20:59 Turaiel[Offline] [Brandon@Nightstar-8t8.2pu.55.45.IP] has quit [Ping timeout: 121 seconds]
21:00 Turaiel[Offline] [Brandon@Nightstar-8t8.2pu.55.45.IP] has joined #code
21:00 mode/#code [+o Turaiel[Offline]] by ChanServ
21:02 domtron [domtron@Nightstar-r8ehsd.ct.charter.com] has quit [Connection closed]
21:02 domtron_ [domtron@Nightstar-r8ehsd.ct.charter.com] has joined #code
21:25 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code
21:25 mode/#code [+ao McMartin McMartin] by ChanServ
21:26
<&McMartin>
https://twitter.com/dexhorthy/status/856639005462417409
22:40
<~Vornicus>
I was told that the internet was in fact *not* a big truck, what is this
22:40
<&McMartin>
There are two relevant facts.
22:40
<&McMartin>
(1) The Internet is not a dump truck.
22:41
<&McMartin>
(2) This is Kubernetes, not the Internet.
22:43 domtron_ [domtron@Nightstar-r8ehsd.ct.charter.com] has quit [Connection reset by peer]
22:44 domtron__ [domtron@Nightstar-r8ehsd.ct.charter.com] has joined #code
22:45
<&[R]>
topic {
22:45
<&[R]>
B:BoolEntry=true
22:45
<&[R]>
S:StringEntry=ASDF
22:45
<&[R]>
}
22:45
<&[R]>
^ Anyone know the name of that config format?
22:46
<@Tamber>
JSON?
22:46
<&[R]>
...
22:46
<&McMartin>
That's not JSON.
22:46
<@Tamber>
(I could be wrong. Wild-ass guess~)
22:46
<@Tamber>
Well, there we go. I'm wrong. :p
22:46
<&McMartin>
It's also not XML
22:47
<&McMartin>
YAML has like five forms, and for all I know it's one of those. It also looks vaguely like what Gradle uses, which IIRC is some kind of DSL built on top of Groovy, which is some Perl-like language for the JVM
22:47
<&McMartin>
The B: S: thing is kind of weird though. I haven't seen that in a nested form before.
22:47
<&[R]>
That might be it, since this is the format Forge offers, and Forge does use Gradle.
22:48 domtron__ [domtron@Nightstar-r8ehsd.ct.charter.com] has quit [Ping timeout: 121 seconds]
22:48
<&McMartin>
"Gradle Configuration"
22:51
<&[R]>
Hmm, no pre-built parsers that I can see. Guess I'll write my own, wee!
22:52
<&McMartin>
It's possible that you just feed it to Groovy's equivalent of eval()
22:52
<&[R]>
Possibly, but I'm not writting in Java
22:53
<&McMartin>
Indeed you wouldn't be, Groovy isn't Java, or else I'd be able to actually make more sense of it -_-
22:53
<&[R]>
:p
23:07 Derakon[AFK] [Derakon@Nightstar-fr5qel.ca.comcast.net] has quit [Ping timeout: 121 seconds]
23:40 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
23:56 Derakon [Derakon@Nightstar-fr5qel.ca.comcast.net] has joined #code
23:56 mode/#code [+ao Derakon Derakon] by ChanServ
--- Log closed Tue Jul 18 00:00:27 2017
code logs -> 2017 -> Mon, 17 Jul 2017< code.20170716.log - code.20170718.log >

[ Latest log file ]