code logs -> 2016 -> Fri, 04 Nov 2016< code.20161103.log - code.20161105.log >
--- Log opened Fri Nov 04 00:00:14 2016
00:04 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving]
00:07 KiMo|autorejoin is now known as Kindamoody
00:07 mode/#code [+o Kindamoody] by ChanServ
00:13 catadroid [catalyst@Nightstar-296.bmi.132.82.IP] has joined #code
00:19 Kindamoody is now known as Kindamoody[zZz]
01:10 catadruid [catalyst@Nightstar-2tsllk.dab.02.net] has joined #code
01:12 catadroid [catalyst@Nightstar-296.bmi.132.82.IP] has quit [Ping timeout: 121 seconds]
01:39 Tamber [tamber@furryhelix.co.uk] has quit [Operation timed out]
01:43 Tamber [tamber@furryhelix.co.uk] has joined #code
01:43 mode/#code [+o Tamber] by ChanServ
01:46 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has joined #code
03:21 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [[NS] Quit: Quit]
03:28 macdjord|wurk is now known as macdjord
03:29 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
04:14 Derakon is now known as Derakon[AFK]
05:12 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Connection closed]
05:15 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
05:15 mode/#code [+o himi] by ChanServ
06:17 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
06:18 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
06:18 mode/#code [+qo Vornicus Vornicus] by ChanServ
06:35 catadruid is now known as catadroid
07:04 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
07:04 mode/#code [+o himi] by ChanServ
07:24 celticminstrel [celticminst@Nightstar-5boimd.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:34 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
07:40 catadruid [catalyst@Nightstar-no66jm.dab.02.net] has joined #code
07:43 catadroid [catalyst@Nightstar-2tsllk.dab.02.net] has quit [Ping timeout: 121 seconds]
07:45 Kindamoody[zZz] is now known as Kindamoody
08:39 catadruid [catalyst@Nightstar-no66jm.dab.02.net] has quit [[NS] Quit: Bye]
08:39 catadroid [catalyst@Nightstar-no66jm.dab.02.net] has joined #code
08:45 Emmy-werk [NSkiwiirc@Nightstar-41pbej.static.chello.nl] has joined #code
08:45 mode/#code [+o Emmy-werk] by ChanServ
09:15 Kindamoody is now known as Kindamoody|work
09:40 Emmy-werk [NSkiwiirc@Nightstar-41pbej.static.chello.nl] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
09:42 Emmy-werk [NSkiwiirc@Nightstar-41pbej.static.chello.nl] has joined #code
09:42 mode/#code [+o Emmy-werk] by ChanServ
09:43 Emmy-werk [NSkiwiirc@Nightstar-41pbej.static.chello.nl] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
09:45 ricer [ricer@Nightstar-52ic2g.wechall.net] has quit [[NS] Quit: Caught SystemExit exception.]
09:54 Emmy-werk [NSkiwiirc@Nightstar-41pbej.static.chello.nl] has joined #code
09:54 mode/#code [+o Emmy-werk] by ChanServ
10:33 * TheWatcher stabs jquery
10:34
<@TheWatcher>
Seriously, why do I have to do $("#foo").datepicker("getDate"); rather than just being able to do $('#foo').getDate();
10:39 ricer [ricer@Nightstar-52ic2g.wechall.net] has joined #code
10:42
<@Emmy-werk>
Because object-oriented programming dictates that first you mention the parent?
10:43
<@TheWatcher>
Uh
10:44
<@TheWatcher>
Mootools is vastly more OO friendly than jquery, and it'd let me do the latter
10:44
<@Emmy-werk>
hmmmh
10:45
<@Emmy-werk>
either way, you're working with a language with a 'j' in its' name. :P
10:46
<@TheWatcher>
I can't really argue with that...
11:30
<@Emmy-werk>
also, mootools? that sounds like a toolset to program cows. :P
11:37
<@Emmy-werk>
Where is Tec when you need him/her
11:38 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
11:38 mode/#code [+qo Vornicus Vornicus] by ChanServ
11:43 Emmy-werk [NSkiwiirc@Nightstar-41pbej.static.chello.nl] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
12:41 gizmore|2 [kvirc@Nightstar-8efnqs.dip0.t-ipconnect.de] has joined #code
12:41 gizmore [kvirc@Nightstar-r1a67j.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds]
14:10 catadruid [catalyst@Nightstar-kli5pr.dab.02.net] has joined #code
14:12 catadroid [catalyst@Nightstar-no66jm.dab.02.net] has quit [Ping timeout: 121 seconds]
14:17
<&VirusJTG>
I want to build a system that can modify basic switch funsions of all atteched switches at the same time. Like adding a vlan and tagging that traffic on all trunk ports
14:17
<&VirusJTG>
that stated
14:17
<&VirusJTG>
that is far too much like work for something that needs to be done once every 3 years or so
14:39 catadruid is now known as catadroid
14:46 macdjord is now known as macdjord|slep
14:46 macdjord|slep is now known as macdjord|wurk
14:47
<~Vornicus>
You could probably throw together a bash script for it
14:54
<@Tarinaky>
Suppose I had an awesome idea for some great website/service. Let's say Facebook for Coffee Machines...
14:54
<@Tarinaky>
In theory I have the skill-set to make a decent MVP/Prototype.
14:55
<@Tarinaky>
But how do you actually turn an idea into something that makes more money than it costs?
14:59
<~Vornicus>
step 1. don't ask twitter how to do that
15:08
<@Namegduf>
Build it, sell it off to someone else, run away
15:33 celticminstrel [celticminst@Nightstar-5boimd.dsl.bell.ca] has joined #code
15:33 mode/#code [+o celticminstrel] by ChanServ
15:52 catadroid [catalyst@Nightstar-kli5pr.dab.02.net] has quit [The TLS connection was non-properly terminated.]
15:59
<@Tarinaky>
That's what I was afraid you'd say :/
16:00
<@Tarinaky>
Still, I get to make humerous remarks referring to it as Twitter for Ants (it needs to be... at least 3 times bigger)"
16:22 Mango [toao.net@Nightstar-i2imh9.abhsia.telus.net] has joined #code
16:23 * Mango waves to the room
16:25
< Mango>
We have software that generates log files in XML format. So I wrote some CSS to style the XML so that it may be displayed in a browser.
16:26
< Mango>
Can you add Javascript to XML files and if so what is the syntax please?
16:29
<~Vornicus>
to *xml* files?
16:29
< Mango>
Right.
16:30
< Mango>
I just want to do some simple math on the data.
16:30
< Mango>
Oo! <xhtml:script xmlns:xhtml="http://www.w3.org/1999/xhtml" src="file.js" type="application/javascript"/>
16:30
< Mango>
I think I found it.
16:32
<&[R]>
You'll probably have to XLT or whatever it first
16:33
<@celticminstrel>
I think I'd suggest XSL too.
16:37
< Mango>
HAHAHA IT WORKS!
16:38
< Mango>
<script xmlns="http://www.w3.org/1999/xhtml" src="script.js"></script>
16:38
< Mango>
also works.
16:38
<~Vornicus>
silliness
16:38
< Mango>
?
16:39
<@Tarinaky>
I /suspect/ that's more a quirk of the Browser you're using than any kind of actual robust standard.
16:39
<@Tarinaky>
Using XSL would be more robust/correct I think?
16:40
< Mango>
It works in Firefox and Chrome but not Internet Explorer, but that's ok for this project.
16:40
<@Tarinaky>
Yeah. I don't think Firefox/Chrome have a seperate XML handler in the same way IE does.
16:41
<@Tarinaky>
So it's probably just processing it as HTML and hoping for the best.
16:44 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
16:48
< Mango>
FF/Ch do complain when XML is invalid, but not HTML.
16:52
<&[R]>
Because HTML is rarely invalid.
17:01
< ToxicFrog>
Because HTML is invalid all the time, but the browser needs to render it anyways.
17:10
<&[R]>
Ha
17:13 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has joined #code
17:23
<@abudhabi>
Why is it always so slow when I click a link in one application (for example Thunderbird, but also terminal and others), before it opens up in my system browser?
17:23
<@abudhabi>
(Linux Mint.)
17:24
<&McMartin>
I'm used to FF being super-hardcore about XHTML
17:24
<@abudhabi>
There seems to be a bottleneck somewhere.
17:24
<&McMartin>
This may have changed since hte last time I checked
17:24
<&McMartin>
abudhabi: CORBA?
17:24
<@abudhabi>
CORBA?
17:25
<&McMartin>
CORBA is the GNOME equivalent of COM
17:25
<&McMartin>
More or less
17:25
<&McMartin>
It's the IPC mechanism those tools use
17:25
<@abudhabi>
This is XFCE, not Gnome, but ionno.
17:25
< ToxicFrog>
abudhabi: AIUI, when you do that, it hands it off to xdg-open or similar, which hands it off to the browser, which then sees the running browser instance and IPCs it the link
17:25
<&McMartin>
Ah hm. Dunno what it uses
17:25
<&[R]>
xdg-open
17:25
< ToxicFrog>
In my experience, this is quite fast, and xdg-open is quite fast in general
17:25
< ToxicFrog>
So I would guess the bottleneck is in FF starting up and seeing if it's already running
17:25
<@abudhabi>
It takes like 5 seconds for links to actually open.
17:25
< ToxicFrog>
(I use Chrome)
17:26
<@abudhabi>
I use Chromium.
17:26
< ToxicFrog>
Oh wait, I got confused and thought you were using FF.
17:26
< ToxicFrog>
But yeah, on both my laptop and my workstation it's <1s from clicking the link to it opening in the browser, and most of that is just the workspace switch animation.
17:28 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [[NS] Quit: Quit]
17:28
<&McMartin>
You could fire up top and see if some other process seems to spike the CPU, I guess
17:29
< ToxicFrog>
top only refreshes once a second, but if it's taking ~5 seconds that may be good enough
17:29 gizmore [kvirc@Nightstar-8efnqs.dip0.t-ipconnect.de] has joined #code
17:29
< ToxicFrog>
Or use strace -f -etrace=process
17:30
< ToxicFrog>
Assuming it works by just fork-execing xdg-open rather than dbussing to the DE that then does it.
17:30
<@abudhabi>
top says that Chrome goes up to 40-90 CPU use when I click.
17:32 gizmore|2 [kvirc@Nightstar-8efnqs.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds]
17:43 Tarinaky [Tarinaky@Nightstar-ak1gaj.programmingresearch.com] has quit [Connection closed]
18:29 gizmore [kvirc@Nightstar-8efnqs.dip0.t-ipconnect.de] has quit [Operation timed out]
18:29 gizmore [kvirc@Nightstar-35g1g7.dip0.t-ipconnect.de] has joined #code
20:42 gizmore|2 [kvirc@Nightstar-djm9pb.dip0.t-ipconnect.de] has joined #code
20:42 gizmore [kvirc@Nightstar-35g1g7.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds]
22:24 Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has joined #code
22:57 catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving]
23:13 catadroid [catalyst@Nightstar-1b191r.dab.02.net] has joined #code
23:27 Derakon[AFK] is now known as Derakon
--- Log closed Sat Nov 05 00:00:30 2016
code logs -> 2016 -> Fri, 04 Nov 2016< code.20161103.log - code.20161105.log >

[ Latest log file ]