code logs -> 2017 -> Sun, 05 Nov 2017< code.20171104.log - code.20171106.log >
--- Log opened Sun Nov 05 00:00:26 2017
00:08 bowlich [bowlich@Nightstar-su4ao3.kynda.net] has quit [Connection closed]
00:14 celticminstrel [celticminst@Nightstar-u8f68e.dsl.bell.ca] has quit [Ping timeout: 121 seconds]
00:15 celticminstrel [celticminst@Nightstar-7sktdb.dsl.bell.ca] has joined #code
00:15 mode/#code [+o celticminstrel] by ChanServ
00:33 domtron [domtron@Nightstar-o290ld.sub-174-196-133.myvzw.com] has joined #code
00:35 domtron [domtron@Nightstar-o290ld.sub-174-196-133.myvzw.com] has quit [Connection closed]
00:40 domtron [domtron@Nightstar-o290ld.sub-174-196-133.myvzw.com] has joined #code
01:35 bowlich [bowlich@Nightstar-su4ao3.kynda.net] has joined #code
02:10 domtron_ [domtron@Nightstar-ep42vo.sub-97-46-193.myvzw.com] has joined #code
02:12 domtron [domtron@Nightstar-o290ld.sub-174-196-133.myvzw.com] has quit [Ping timeout: 121 seconds]
02:17 celticminstrel [celticminst@Nightstar-7sktdb.dsl.bell.ca] has quit [Ping timeout: 121 seconds]
02:17 celticminstrel [celticminst@Nightstar-48a24u.dsl.bell.ca] has joined #code
02:17 mode/#code [+o celticminstrel] by ChanServ
02:23 domtron__ [domtron@Nightstar-glplp3.sub-174-195-134.myvzw.com] has joined #code
02:23 domtron_ [domtron@Nightstar-ep42vo.sub-97-46-193.myvzw.com] has quit [Connection reset by peer]
02:24 domtron_ [domtron@Nightstar-qjl7u7.sub-174-196-140.myvzw.com] has joined #code
02:27 domtron__ [domtron@Nightstar-glplp3.sub-174-195-134.myvzw.com] has quit [Ping timeout: 121 seconds]
02:28 domtron__ [domtron@Nightstar-slka3r.sub-174-196-132.myvzw.com] has joined #code
02:28 domtron_ [domtron@Nightstar-qjl7u7.sub-174-196-140.myvzw.com] has quit [Ping timeout: 121 seconds]
02:29 domtron [domtron@Nightstar-boudu8.sub-174-196-145.myvzw.com] has joined #code
02:29 domtron_ [domtron@Nightstar-7sgml1.sub-174-195-140.myvzw.com] has joined #code
02:32 domtron__ [domtron@Nightstar-slka3r.sub-174-196-132.myvzw.com] has quit [Ping timeout: 121 seconds]
02:33 domtron [domtron@Nightstar-boudu8.sub-174-196-145.myvzw.com] has quit [Ping timeout: 121 seconds]
02:45 Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed]
02:46 domtron_ [domtron@Nightstar-7sgml1.sub-174-195-140.myvzw.com] has quit [Ping timeout: 121 seconds]
03:52 Derakon is now known as Derakon[AFK]
04:10 Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Connection closed]
04:15 Vorntastic [Vorn@Nightstar-cd95o8.sub-70-211-132.myvzw.com] has joined #code
04:25 Vorntastic [Vorn@Nightstar-cd95o8.sub-70-211-132.myvzw.com] has quit [The TLS connection was non-properly terminated.]
04:30 celmin [celticminst@Nightstar-8kmfpd.dsl.bell.ca] has joined #code
04:30 mode/#code [+o celmin] by ChanServ
04:30 celticminstrel [celticminst@Nightstar-48a24u.dsl.bell.ca] has quit [NickServ (RECOVER command used by celmin)]
04:30 celmin is now known as celticminstrel
04:34 celticminstrel [celticminst@Nightstar-8kmfpd.dsl.bell.ca] has quit [Ping timeout: 121 seconds]
04:35 celticminstrel [celticminst@Nightstar-bdllac.dsl.bell.ca] has joined #code
04:35 mode/#code [+o celticminstrel] by ChanServ
04:36 Vorntastic [Vorn@Nightstar-cd95o8.sub-70-211-132.myvzw.com] has joined #code
04:48
<@celticminstrel>
Why would a file 403 when referenced from an HTML document, yet load fine if accessed directly?
04:49
<@celticminstrel>
I don't see anything in the logs about why it 403s.
04:50
<@celticminstrel>
Unless that number just after the 403 means something.
04:50
<@celticminstrel>
The only other difference is the referrer, but I'm pretty sure I didn't have anything dependent on referrer...
04:54
<@celticminstrel>
Oh, right, there was a separate error log.
04:55
<@celticminstrel>
...but it has nothing.
05:07
<@celticminstrel>
That said, it seems the referrer is probably the cause, so if that's the case I just need to find where this is happening...
05:08
<@celticminstrel>
Ohh, found it.
05:08
<@celticminstrel>
I was doing a referrer thing to allow only local links to it.
05:10 himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
05:11
<@celticminstrel>
(The issue here is thus that the domain was changed.)
05:15 Vornlicious [Vorn@Nightstar-1e3dj3.sub-70-197-72.myvzw.com] has joined #code
05:17 Vorntastic [Vorn@Nightstar-cd95o8.sub-70-211-132.myvzw.com] has quit [Ping timeout: 121 seconds]
05:19 himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code
05:19 mode/#code [+o himi] by ChanServ
05:24 celticminstrel is now known as celmin|sleep
06:08
< Vornlicious>
Today's math I should really have known about before: the rearrangement inequality.
07:35
< Vornlicious>
(given two lists of numbers a and b, sum(aa*bb for aa,bb in zip(a,b) is maximized when a and b are sorted)
08:19 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds]
09:26 mac is now known as macdjord|slep
09:58
<&Reiver>
I have no idea what you just said
10:01
< Vornlicious>
Say I have two lists, [1, 3, 5] and [2, 4, 6]. 1*2+3*4+5*6 = 44. But if I rearrange one of the lists and then try the same thing, it won't come up with anything bigger than 44.
10:04
< Vornlicious>
Like, if I use 1,5,3, I get 1*2+5*4+3*6=40
10:07
< Vornlicious>
(other values are 3,1,5: 40 3,5,1: 32, 5,1,3: 32, and 5,3,1: 28)
10:08
< Vornlicious>
(the fact that the reverse sorted one gives the minimum is not a coincidence)
10:10
<@himi>
Is that result Significant, or just Interesting?
10:13
< Vornlicious>
Super useful. It contains both AM-GM and Cauchy-Schwarz, which are themselves considered the two most important inequalities.
10:21
<@himi>
Nifteh
10:26
<&Reiver>
I don't know what either of those mean, either.
10:31 * Reiver just finished Bastion. This is not only notable because Bastion is a truly lovely game, but for being the first game he's truly finished in roughly two years.
10:34
< Vornlicious>
AM-GM is arithmetic mean vs geometric mean. Take a pile of n positive numbers, add them up, divide by n... That'll be bigger than multiplying then and taking the nth root. Try it on, say, 2 and 8.
10:38
< Vornlicious>
Cauchy-Schwarz is about inner products; if you've done some vector math, you'll recognize it in the cosine formulation of dot product.
10:43
<@himi>
Thank you for asking for clarification, Reiver - I feel too embarrassed at my lack of higher maths to ask . . .
10:44
<@himi>
One day I'll go back to school for a second degree or something in maths . . .
10:45 Degi [Degi@Nightstar-jmqcbp.dyn.telefonica.de] has joined #code
10:45
< Vornlicious>
You have to get up relatively early in the morning to know more math than me. That or, you know, major in math.
10:51 * himi was always good at it, but skipped up a grade in maths during high school
10:52
<@himi>
That left me with annoying gaps that caused issues later on
11:00
< Vornlicious>
I skipped two. I missed... Not as much as I could have.
11:01
< Vornlicious>
Like, half life, and generic conics, and... Rational roots. Are the ones I remember.
11:02
<@himi>
I have anxiety issues that got triggered by the gaps, which was the big kicker
11:02
< Vornlicious>
Ah. Yeah that doesn't help.
11:03
<@himi>
I really just need to go back through my first year Uni textbooks and work through stuff, but finding time to do that is the challenge
11:03
<@himi>
. . . and then work through some of the more advanced textbooks, and then whatever else takes my interest
11:04
< Vornlicious>
Recommendation: start with spivak's calculus
11:07
<@himi>
Lots of 5 star reviews on Amazon
11:08
<@himi>
Why that in particular?
11:11
< Vornlicious>
Well written, self contained, built for people in a math track. You can go in with very little math knowledge and it's a full real analysis course.
11:12
< Vornlicious>
And you don't get bogged down with 100 exercises about one integration technique
11:12
<@himi>
Okay, I'll see if I can get hold of it
11:12
< Vornlicious>
I have a PDF of an earlier edition.
11:12
<@himi>
So targeted at people who don't need a lot of work to get up to speed on the stuff being covered?
11:12
< Vornlicious>
Found it on the internet.
11:12
<@himi>
That'd be nice, if you can send it to me
11:13
< Vornlicious>
Sure
11:15
< Vornlicious>
(later though when I'm home)
11:15
<@himi>
Okay
11:20
<@himi>
. . . huh - I just found a copy of the 3rd edition
11:20
<@himi>
Bitmapped PDF, but still, better than a poke in the eye with a sharp stick
11:21
< Vornlicious>
Nice
12:01
<@gnolam>
Huh, the TempleOS guy is on the run.
12:05
< Vornlicious>
Man
12:11
<@gnolam>
https://secure3.lasvegasnevada.gov/ewarrantlookup/wanted_poster.aspx?HistNo=1000 379&CaseNo=%27C1180047A%27
12:30 domtron [domtron@Nightstar-qde9la.sub-174-196-128.myvzw.com] has joined #code
12:32 domtron [domtron@Nightstar-qde9la.sub-174-196-128.myvzw.com] has quit [Connection closed]
12:34 domtron [domtron@Nightstar-qde9la.sub-174-196-128.myvzw.com] has joined #code
12:42 Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
12:51 domtron__ [domtron@Nightstar-cnvg1j.sub-174-195-128.myvzw.com] has joined #code
12:53 domtron [domtron@Nightstar-qde9la.sub-174-196-128.myvzw.com] has quit [Ping timeout: 121 seconds]
13:14 domtron__ [domtron@Nightstar-cnvg1j.sub-174-195-128.myvzw.com] has quit [Ping timeout: 121 seconds]
13:14 domtron [domtron@Nightstar-v4f2bg.sub-174-196-152.myvzw.com] has joined #code
14:30
<@abudhabi>
!roll /win 16
14:30
<@abudhabi>
Damn my fingers.
14:51 celmin|sleep is now known as celticminstrel
15:17 Vornlicious [Vorn@Nightstar-1e3dj3.sub-70-197-72.myvzw.com] has quit [Connection closed]
15:17 Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
15:42 domtron [domtron@Nightstar-v4f2bg.sub-174-196-152.myvzw.com] has quit [Connection closed]
15:42 domtron_ [domtron@Nightstar-v4f2bg.sub-174-196-152.myvzw.com] has joined #code
15:43 domtron_ [domtron@Nightstar-v4f2bg.sub-174-196-152.myvzw.com] has quit [[NS] Quit: Goodbye.]
15:43 domtron_ [domtron@Nightstar-v4f2bg.sub-174-196-152.myvzw.com] has joined #code
15:43 domtron_ [domtron@Nightstar-v4f2bg.sub-174-196-152.myvzw.com] has quit [Connection closed]
17:59 Jessikat [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed]
19:45 Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code
19:45 mode/#code [+qo Vornicus Vornicus] by ChanServ
20:25 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
20:25 mode/#code [+o Reiv] by ChanServ
22:17 Derakon[AFK] is now known as Derakon
22:34 Degi [Degi@Nightstar-jmqcbp.dyn.telefonica.de] has quit [Connection reset by peer]
22:56 Kindamoody|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
22:56 mode/#code [+o Kindamoody|autojoin] by ChanServ
23:00 Kindamoody|autojoin is now known as Kindamoody
23:23 Kindamoody is now known as Kindamoody[zZz]
23:45
<&ToxicFrog>
Hmm
23:45
<&ToxicFrog>
So I have a bunch of interfaces I need to implement (reify) and/or a bunch of classes I need to extend (proxy)
23:46
<&ToxicFrog>
And in most cases these are complicated enough that I want each one to be in its own file
23:46
<&ToxicFrog>
So perhaps what I actually want is (ns :gen-class)?
23:49
<@Reiv>
what are you working on?
23:50
<&ToxicFrog>
Reiv: I'm poking at ttymor again, this time in clojure
23:51
<&ToxicFrog>
The advantage is that this gives me access to squidlib (utilities for FOV, pathfinding, and suchlike) and lanterna (curses but also a terminal emulator)
23:51
<&ToxicFrog>
The disadvantage is that those are written in java, and I'm only just getting feet-wet with java/clj interop
23:52
<&ToxicFrog>
And some of the requirements imposed by the API are at odds with idiomatic clojure, e.g. the FOV routines expect the visibility map to be a mutable float[][]
--- Log closed Mon Nov 06 00:00:27 2017
code logs -> 2017 -> Sun, 05 Nov 2017< code.20171104.log - code.20171106.log >

[ Latest log file ]