code logs -> 2015 -> Mon, 20 Apr 2015< code.20150419.log - code.20150421.log >
--- Log opened Mon Apr 20 00:00:39 2015
00:21 kourbou [kourbou@Nightstar-olb444.fios.verizon.net] has joined #code
01:03 kourbou is now known as kourbou|film
01:26 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
01:34 kourbou|film [kourbou@Nightstar-olb444.fios.verizon.net] has quit [[NS] Quit: Bye]
01:34 kourbou [kourbou@Nightstar-olb444.fios.verizon.net] has joined #code
01:43 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
01:43 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
03:00 thalass [thalass@Nightstar-h1qmno.eastlink.ca] has quit [Connection closed]
04:03 Turaiel[Offline] is now known as Turaiel
05:00 kourbou is now known as kourbou|zzz
05:05 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Connection closed]
05:06 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
05:06 mode/#code [+o himi] by ChanServ
05:10 Derakon is now known as Derakon[AFK]
05:34 Turaiel is now known as Turaiel[Offline]
05:38 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
05:42 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [[NS] Quit: Quit]
06:20 celticminstrel [celticminst@Nightstar-ofp6uf.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:38 Checkmate [Z@Nightstar-pdi1tp.customer.tdc.net] has quit [Ping timeout: 121 seconds]
07:46 Kindamoody[zZz] is now known as Kindamoody
08:48
< abudhabi>
Hmm.
08:48
< abudhabi>
How do I sanitize a lump of text data, in JSON-ish form, for HTML and JS?
08:50
< abudhabi>
I have a text string that's in the form of key-value pairs: {foo:'bar',baz:'baq'}
08:50
< abudhabi>
But obviously having things like ' inside the values will break things.
09:31 Kindamoody is now known as Kindamoody|afk
09:37
<@froztbyte>
dump it in actual json with an actual json lib, instead of whatever you did
09:39
< Xon>
^ ++
09:43
< abudhabi>
That would be great, if I can get it to work.
09:43
<@froztbyte>
what are you getting it from?
09:47
< abudhabi>
I have a list of Things in the action bean, that I need to convert to key-value pairs. This is easy enough, and I can even have that as JSONOBjects. The problem emerges when I try to communicate this via JSP to the Javascript that makes wonderful things happen.
09:47
<@froztbyte>
eh
09:47
<@froztbyte>
see, you're doing the wrong thing
09:47
<@froztbyte>
JSP
09:47
<@froztbyte>
just XML that shit up
09:47
<@froztbyte>
bet it'll be quicker
09:47
<@froztbyte>
(I'm only about 30% joking)
09:48
< abudhabi>
http://select2.github.io/select2/ <- I need to feed the 'data' parameter of this thing.
--- Log closed Mon Apr 20 10:09:15 2015
--- Log opened Mon Apr 20 10:09:20 2015
10:09 TheWatcher [chris@Nightstar-ksqup0.co.uk] has joined #code
10:09 Irssi: #code: Total of 37 nicks [23 ops, 0 halfops, 0 voices, 14 normal]
10:09 mode/#code [+o TheWatcher] by ChanServ
10:09 Irssi: Join to #code was synced in 36 secs
11:05
<@Tarinaky>
Ruby question.
11:05
<@Tarinaky>
Is there an equivalent to Python's * for converting lists and function arguments?
11:06
< Meatyhandbag>
Anyone here familiar with the role of a Tank?
11:06
< Meatyhandbag>
in d&d, not war
11:07
<@Tarinaky>
D&D doesn't really have 'tanks'
11:07
<@Tarinaky>
The terminology comes from MMORPGs
11:07
< Meatyhandbag>
well, the mmorpg
11:07
< Meatyhandbag>
"Tank"
11:07
<@Tarinaky>
Yes, I am familiar.
11:08
< Meatyhandbag>
I am trying to find the best non MMORPG example of a Tank character in video games
11:08
< Meatyhandbag>
specifically, 2, so that I can have them fight, in a 3-man vs 3-man fight
11:09
<@Tarinaky>
They don't tend to occur outside MMOs
11:09
<@Tarinaky>
Because the concept matches up with the mechanics of a semi-turn based combat.
11:09
<@Tarinaky>
Outside of MMOs the 'Lightning Brick' is more common.
11:10
< Meatyhandbag>
yes, but the Lightning Brick is still an excellent roll to encounter in video games
11:10
<@Tarinaky>
It's a variation on tank though.
11:10
< Meatyhandbag>
Not really
11:11
< Meatyhandbag>
a Tank has many variations of style
11:11
<@Tarinaky>
I'd argue that a tanks only defining characteristic is having a lot of hit points.
11:11
<@Tarinaky>
That's... actually kinda sucky.
11:11
<@Tarinaky>
Even D&D has Lightning Bricks (Barbarians) and Tacfighters (Fighter)
11:12
< Meatyhandbag>
You could have the Aggro Lightning Rod character that makes all enemies come to him. You have the annoying Halfling Rogue/Monk who pisses off all the enemies so they chase after him but never reach him. You have the Immobile Fortress who stands between the enemy and his allies and just endures all the damage. You have the Army of Meat Shield Minions guy who just throws a hundred sock puppets between you and the enemy
11:13
<@Alek>
hrm. Tanks are generally fighters built to attract enemy damage to themselves instead of the enemy, and to be able to take it - whether that's through a huge health pool, high avoidance rate, huge damage reduction, high rate of healing, or whatever...
11:14
<@Alek>
instead of allies. ugh. I should slep soon.
11:14
< Meatyhandbag>
right, the way a Tank operates can be all kinds of ways
11:14
< Meatyhandbag>
All that matters is that the Tank makes sure no one in their party gets hurt
11:15
<@Alek>
yep.
11:16
<@Alek>
in fact, they're not necessarily fighters - paladins can tank, or barbarians, or even necromancers. :P
11:16
<@Alek>
or the abovementioned rogue/monk.
11:16
< Meatyhandbag>
So, Alek what Video Game characters do you think would best serve as Tanks?
11:16
< Meatyhandbag>
They don't even have to be player characters
11:16
<@Alek>
hm. you know what... I dunno.
11:16
< Meatyhandbag>
They could be enemies
11:17
< Meatyhandbag>
I'm running low on ideas. The best concept I can come up with is Big Daddy from Bioshock and Bioshock 2
11:17
<@Alek>
who was the guy in the magitek FF who moved in front of his allies to take damage aimed at them?
11:18
< Meatyhandbag>
uh, not a big FF player
11:18
<@Alek>
and the Big Daddy's a decent example.
11:18
< Meatyhandbag>
Big Daddy's whole existence is to protect the Little Sisters by serving as a giant armoured knight and just acting as a bullet sponge
11:19
<@Alek>
but he also isn't the best. he's more a bruiser, he isn't focused on shielding anyone else in the fight.
11:19
<@Alek>
well, yes, but I don't exactly recall the Little Sisters actually being targets.
11:19
<@Alek>
it's been a while, though.
11:20
< Meatyhandbag>
true, not to mention his primary method of attack is to charge at the enemy, leaving his sister unprotected
11:20
<@Alek>
yep.
11:20
<@Alek>
"the best defense is a good offense" and all that. :P
11:20
< Meatyhandbag>
right
11:20
<@Alek>
this would be a case of overlap between tank and bruiser, imho.
11:21
<@Alek>
it's all rather fluid.
11:21
< Meatyhandbag>
I only have the limitation that each side is a 3-man team, and each character must assume the role of one of the 3-men
11:22
<@Alek>
hm. what is this for?
11:22
< Meatyhandbag>
A personal project
11:22
< Meatyhandbag>
Think Death Battle, but on a larger scale, focusing on Team Work and the coordination of character's personalities and powers
11:22 [R] [rstamer@genoce.org] has quit [Ping timeout: 121 seconds]
11:23
<@Alek>
hah, the term predates MMORPGs as we know them. apparently it originated in MUDs.
11:23
<@Alek>
DikuMUD in '94, according to wiki.
11:23
< Meatyhandbag>
kool
11:24
< Meatyhandbag>
So, I need 2 Tank characters, but how the characters take on the role of Tank is entirely up to them
11:25
< Meatyhandbag>
There could be an Annoying Halfling Monk and a Necromancer Meat Shield Army, with neither side getting a traditional Lightning Rod Tank
11:30
<@Alek>
hrm. Final Fantasy's Knight classes generally have the Cover ability (take damage instead of adjacent allies), or you have the Cover skill/materia/whatever learnable/trainable. depending on the game.
11:30
<@Alek>
no specific examples come to mind though, really.
11:31
< Meatyhandbag>
The problem with "Class powers" is that anyone can have them. I need specific people so that there's nothing that can be misconstruded
11:31
< Meatyhandbag>
We know exactly what Erik the Red Knight has done and can't do. We don't know anything about what [insert name here] can do
11:38
<@Alek>
Heavy or the Engineer's Sentry, in TF2, as tank, maybe? they don't /pull/, but if you don't take them down sooner, you'll be dead.
11:41
< Meatyhandbag>
hmm, the Heavy is a Good option for tank, but he requires the Medic to completely become a good tank. And I don't like relying on more than 1 character from a franchise, since it defeats the purpose of going across different franchises. I might as well pit TF2 against Mortal Kombat or something
11:41
< Meatyhandbag>
Which is something i might try, just not with this one
11:41
< Meatyhandbag>
Hmm, can the engineer mape turrets in more than one place? or is he restricted to only 1 at a time?
11:42
< Meatyhandbag>
Because a tactical Tank, creating turrets that attack the enemy, forcing the enemy to move away from the team and attack the turrets is a very smart idea
11:54
< Meatyhandbag>
Actually, Monsoon from Revengeance would make a good Tank also
11:56
< Meatyhandbag>
His ability to disperse his body into a bunch of tiny parts to avoid getting hit makes him very dangerous, and his electrokinesis means he can move large heavy objects in the way as impromptu shields if he wants
11:56
< Meatyhandbag>
But he sort of completely outclasses the Engineer
12:01 [R] [rstamer@Nightstar-d7h8ki.org] has joined #code
12:11 Reivthia [orthianz@Nightstar-pj6.vla.224.119.IP] has quit [Ping timeout: 121 seconds]
12:15 Orthia [orthianz@Nightstar-abq426.callplus.net.nz] has joined #code
12:15 mode/#code [+o Orthia] by ChanServ
12:22
<@Alek>
the Engineer can only place one Sentry, one Dispenser, and two Teleporters. but one of his secondary weapons allows him to build a second, smaller Sentry.
12:23
< Meatyhandbag>
Found a better substitute for the Engineer
12:23
< Meatyhandbag>
http://koei.wikia.com/wiki/Chen_Gong
12:24
< Meatyhandbag>
Magically summons additional troops to attack for him
12:27 kourbou|zzz is now known as kourbou
12:32
< Meatyhandbag>
Now I need a Tank that can counter him. Monsoon is still way too OP for any of these guys
12:32
< Meatyhandbag>
He can literally throw skyscrapers at you
12:33
< Meatyhandbag>
Or, not Counter Chen Gong, but Equal him
12:39 Orthia [orthianz@Nightstar-abq426.callplus.net.nz] has quit [Ping timeout: 121 seconds]
12:44 Orthia [orthianz@Nightstar-pj6.vla.224.119.IP] has joined #code
12:44 mode/#code [+o Orthia] by ChanServ
12:48 kourbou is now known as kourbou|shower
12:55
< Meatyhandbag>
Hmm, Ezio from Assassin's creed 2 has a special taunt that enrages guards into attacking you, and leaves them open for counter attacks. If you interpret that right. He's effectly Aggro Controlling enemy spawns
13:10
< [R]>
Why isn't this discussion in #dnd or similar?
13:11
< abudhabi>
Probably because Meatyhandbag isn't in #DnD.
13:12
< [R]>
Clearly that needs to be fixed
13:13 kourbou|shower is now known as kourbou
13:15 * abudhabi puts an ajax call in an ajax call.
13:17
< [R]>
You mean an ajax call in the handler for another ajax call?
13:17
< abudhabi>
In its on-success block.
13:18
< [R]>
Yeah
13:18 Reiver [quassel@Nightstar-ksqup0.co.uk] has quit [Connection closed]
13:20 Reiver [quassel@Nightstar-ksqup0.co.uk] has joined #code
13:20 mode/#code [+ao Reiver Reiver] by ChanServ
13:29 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has quit [Client exited]
13:50
< abudhabi>
Ajax is a really neat technology.
13:51
< [R]>
Cause you can ajax while you ajax?
13:52
< abudhabi>
Among other things.
13:52
< abudhabi>
I like how I don't have to load the entire damn page all at once if there are things that are only required on-demand.
13:54
< EvilDarkLord>
Yo dawg I heard you like Ajax so we put an Ajax in your Ajax so you can fight Hector while you code.
13:59
< kourbou>
Coding in JavaScript, now that's brave. https://node-os.com
14:01 celticminstrel [celticminst@Nightstar-ofp6uf.dsl.bell.ca] has joined #code
14:01 mode/#code [+o celticminstrel] by ChanServ
14:05
< [R]>
"The following demo only works on an Ubuntu 64-bit image because it relies on Docker." I wish people were less stupid
14:06
< [R]>
(That's from the Read More link on the node-os page BTW)
14:09
< kourbou>
Oh xD
14:09
< kourbou>
So you can't run it ground up >.>
14:09
< [R]>
No, they also assume Docker requires Ubuntu, which makes me more cautious about the thing.
14:10
< abudhabi>
[R]: Be careful what you wish for. The IQ required to destroy the world dwindles fast enough!
14:20 * TheWatcher eyes node-os
14:21
<@TheWatcher>
...Nowhere on there can I see an answer to the more important question: why?!?
14:24
< kourbou>
No reason why. :P
14:27 kourbou|phone [kourbou@Nightstar-rvk.11n.56.172.IP] has joined #code
14:28 kourbou [kourbou@Nightstar-olb444.fios.verizon.net] has quit [NickServ (RECOVER command used by kourbou|phone)]
14:28 kourbou|phone is now known as kourbou
14:35 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has joined #code
14:39 EvilDarkLord [jjlehto3@Nightstar-evu5hu.org.aalto.fi] has quit [[NS] Quit: leaving]
14:39 EvilDarkLord [jjlehto3@Nightstar-16qmfh.org.aalto.fi] has joined #code
14:40 kourbou [kourbou@Nightstar-rvk.11n.56.172.IP] has quit [Ping timeout: 121 seconds]
14:49 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has quit [Client exited]
14:54 Meatyhandbag [sebastianfe@Nightstar-j8e.qhr.224.136.IP] has joined #code
15:00 Meatyhandbag [sebastianfe@Nightstar-j8e.qhr.224.136.IP] has quit [Client exited]
15:10 grindhold [quassel@Nightstar-0ona3l.cyan.servdiscount-customer.com] has quit [Operation timed out]
15:13 grindhold [quassel@Nightstar-0ona3l.cyan.servdiscount-customer.com] has joined #code
15:16 kourbou [kourbou@Nightstar-8da.0tb.56.172.IP] has joined #code
15:28 Meatyhandbag [sebastianfe@Nightstar-j8e.qhr.224.136.IP] has joined #code
15:28 Meatyhandbag [sebastianfe@Nightstar-j8e.qhr.224.136.IP] has quit [Connection closed]
15:29 Meatyhandbag [sebastianfe@Nightstar-j8e.qhr.224.136.IP] has joined #code
15:30 Turaiel[Offline] is now known as Turaiel
15:36 kourbou [kourbou@Nightstar-8da.0tb.56.172.IP] has quit [Ping timeout: 121 seconds]
16:08 Turaiel is now known as Turaiel[Offline]
16:30 kourbou [kourbou@Nightstar-n5r.q7l.56.172.IP] has joined #code
16:50 Meatyhandbag [sebastianfe@Nightstar-j8e.qhr.224.136.IP] has quit [Client exited]
17:26 gnolam [quassel@Nightstar-1ntleb.pools.vodafone-ip.de] has joined #code
17:27 mode/#code [+o gnolam] by ChanServ
17:27 Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has joined #code
17:48 kourbou is now known as takourbou
17:50 takourbou is now known as kourbou
18:23 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has joined #code
18:23 mode/#code [+o Vash] by ChanServ
18:32 Tarinaky [tarinaky@Nightstar-e99cts.net] has quit [[NS] Quit: Lost terminal]
18:32 Tarinaky [tarinaky@Nightstar-e99cts.net] has joined #code
18:32 mode/#code [+o Tarinaky] by ChanServ
18:43
<&jeroud>
node-os is probably the most terrible idea I've seen all day.
18:44
<&jeroud>
And I've seen some pretty terrible ideas today.
18:52 Checkmate [Z@Nightstar-ev6.6um.94.83.IP] has joined #code
18:52 mode/#code [+o Checkmate] by ChanServ
18:57
< kourbou>
lol
18:57
< kourbou>
Eg.
18:58 Checkmate [Z@Nightstar-ev6.6um.94.83.IP] has quit [[NS] Quit: If I had a world of my own, everything would be nonsense. Nothing would be what it is because everything would be what it isn't. And contrary-wise; what it is it wouldn't be, and what it wouldn't be, it would. You see?]
18:58 Checkmate [Z@Nightstar-ev6.6um.94.83.IP] has joined #code
18:58 mode/#code [+o Checkmate] by ChanServ
19:05
<&jeroud>
(I have a long list of package managers I will use without complaining. npm is not on it.)
19:08
< kourbou>
Oh :P
19:08
< kourbou>
Bower.io?
19:10
<&jeroud>
npm isn't the only thing I hate about the JS world.
19:10
<&jeroud>
But it is a good example of many of the problems.
19:11
<&ToxicFrog>
So...how does nodeos actually work? Has someone implemented a kernel with a JSVM in it, or is it just linux but with npm as the package manager and userspace tools written in js?
19:11
<&jeroud>
For example, it works fine if everything goes well
19:11
<&jeroud>
ToxicFrog: The latter, from a quick glance at the website.
19:12
<&jeroud>
And node as the shell.
19:12
< kourbou>
^
19:12
< kourbou>
I think.
19:13
< kourbou>
It doesn't even run ground up.
19:13
< kourbou>
You need docker.
19:13
< kourbou>
And Ubuntu.
19:14
< kourbou>
Apparently. XD
19:14
<&ToxicFrog>
Weaaaak.
19:15
< kourbou>
It's bsing you more than http://www.theflatearthsociety.org/
19:15
<&jeroud>
Anyway, npm. If anything doesn't go well, such a 502 fetching the second package, it carries on to the end and then returns a non-zero exit code and leaves you with a broken environment.
19:15
< kourbou>
Haha
19:15
< kourbou>
GG
19:15
< kourbou>
So basically breaks everything.
19:15
< kourbou>
And your program didn't even run in the end.
19:17
<&jeroud>
Yes. But your build jobs still waste several minutes doing useless stuff before failing.
19:25
< kourbou>
That's useless.
19:27
< kourbou>
CTRL-C
19:27
<&jeroud>
Can't CTRL-C Travis.
19:28
<&jeroud>
(Well, you can cancel the build.)
19:30
<&jeroud>
(But you're not watching it, because you're doing other stuff while you wait for the notification email.)
19:37 * iospace ^C's jeroud
19:38 Checkmate [Z@Nightstar-ev6.6um.94.83.IP] has quit [[NS] Quit: If I had a world of my own, everything would be nonsense. Nothing would be what it is because everything would be what it isn't. And contrary-wise; what it is it wouldn't be, and what it wouldn't be, it would. You see?]
19:39 kourbou|phone [kourbou@Nightstar-mrb.ovm.56.172.IP] has joined #code
19:39 * jeroud catches SIGINT.
19:39 kourbou [kourbou@Nightstar-n5r.q7l.56.172.IP] has quit [Ping timeout: 121 seconds]
19:41 Checkmate [Z@Nightstar-ev6.6um.94.83.IP] has joined #code
19:41 mode/#code [+o Checkmate] by ChanServ
20:04 kourbou|phone [kourbou@Nightstar-mrb.ovm.56.172.IP] has quit [Ping timeout: 121 seconds]
20:05 gnolam [quassel@Nightstar-1ntleb.pools.vodafone-ip.de] has quit [[NS] Quit: No Ping reply in 180 seconds.]
20:13 gnolam [quassel@Nightstar-1ntleb.pools.vodafone-ip.de] has joined #code
20:14 gnolam is now known as NSGuest24389
21:06 NSGuest24389 is now known as gnolam
21:06 mode/#code [+o gnolam] by ChanServ
21:07 gnolam_ [quassel@Nightstar-1ntleb.pools.vodafone-ip.de] has joined #code
21:09 gnolam__ [quassel@Nightstar-1ntleb.pools.vodafone-ip.de] has joined #code
21:10 gnolam [quassel@Nightstar-1ntleb.pools.vodafone-ip.de] has quit [Ping timeout: 121 seconds]
21:10 gnolam__ is now known as gnolam
21:11 gnolam is now known as NSGuest16578
21:11 gnolam_ [quassel@Nightstar-1ntleb.pools.vodafone-ip.de] has quit [Ping timeout: 121 seconds]
21:11 NSGuest16578 is now known as gnolam
21:11 mode/#code [+o gnolam] by ChanServ
21:12 Turaiel[Offline] is now known as Turaiel
21:14 gnolam_ [quassel@Nightstar-1ntleb.pools.vodafone-ip.de] has joined #code
21:14 gnolam [quassel@Nightstar-1ntleb.pools.vodafone-ip.de] has quit [NickServ (RECOVER command used by gnolam_)]
21:14 gnolam_ is now known as gnolam
21:15 mode/#code [+o gnolam] by ChanServ
21:17 gnolam_ [quassel@Nightstar-1ntleb.pools.vodafone-ip.de] has joined #code
21:19 gnolam [quassel@Nightstar-1ntleb.pools.vodafone-ip.de] has quit [Ping timeout: 121 seconds]
21:32 gnolam [quassel@Nightstar-1ntleb.pools.vodafone-ip.de] has joined #code
21:33 mode/#code [+o gnolam] by ChanServ
21:34 gnolam_ [quassel@Nightstar-1ntleb.pools.vodafone-ip.de] has quit [Ping timeout: 121 seconds]
21:45 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [[NS] Quit: Quit]
22:03 Turaiel is now known as Turaiel[Offline]
23:02 Checkmate [Z@Nightstar-ev6.6um.94.83.IP] has quit [Ping timeout: 121 seconds]
23:03 thalass [thalass@Nightstar-h1qmno.eastlink.ca] has joined #code
23:03 mode/#code [+o thalass] by ChanServ
23:12 gnolam [quassel@Nightstar-1ntleb.pools.vodafone-ip.de] has quit [[NS] Quit: Z?]
23:18 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
23:18 mode/#code [+qo Vornicus Vornicus] by ChanServ
23:32 Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
23:32 mode/#code [+o Checkmate] by ChanServ
23:47 Kindamoody|afk is now known as Kindamoody
23:52 Turaiel[Offline] is now known as Turaiel
--- Log closed Tue Apr 21 00:00:55 2015
code logs -> 2015 -> Mon, 20 Apr 2015< code.20150419.log - code.20150421.log >

[ Latest log file ]