code logs -> 2013 -> Mon, 02 Dec 2013< code.20131201.log - code.20131203.log >
--- Log opened Mon Dec 02 00:00:08 2013
--- Day changed Mon Dec 02 2013
00:00
< jeroud>
I would be sad if I discovered that any C-level thing escaped.
00:00
<&McMartin>
Well, there will need to be some way to write back into the mutable structs, at least for now.
00:00
<&McMartin>
If that's a PITA I'll have to write mutator functions, I guess
00:00
< jeroud>
(Excluding primitive values and such.)
00:01
< jeroud>
I can wrap mutable structs in Python objects easily enough.
00:01
<&McMartin>
Yeah, I'm thinking that'll be MonocleObject itself, and it'll also do some kind of dispatch on collisions.
00:02
<&McMartin>
So end users will be subclassing MonocleObject once for each kind in their program that has custom reaction code.
00:02
< simon>
does Java's classpath work recursively? e.g., if I include ~/foo, does ~/foo/bar/boo.jar get included?
00:03
<&McMartin>
No, but you can include ~/foo/bar/* and it'll hit all the jars in that directly.
00:03
< jeroud>
I don't know if subclass-per-kind is really the right model.
00:03
<&McMartin>
It wouldn't be mandatory, certainly.
00:03
<&McMartin>
But it ought to be *possible*
00:04
< jeroud>
Sure.
00:04
<&McMartin>
I'm imagining that MonocleObjects get extended with collideTraitName(self, other) methods and that pymonocle can find and call that appropriately as the processing of a collision.
00:05
<&McMartin>
(collideWall, collideHazard, etc)
00:05 * simon just realized how awesome of a project Monocle sounds.
00:05
<&McMartin>
You don't have to get those in place with inheritance, but this is a place where it seems like the most sensible way to do so.
00:06
<&McMartin>
simon: A series of vaguely stable drafts are on github, if you haven't been following very closely: https://github.com/michaelcmartin/monocle
00:06
<&McMartin>
The docs are presently kind of all lies, though; I need to do a major pass over them once I have a model that actually works.
00:06
< jeroud>
I was just going to go with .collide() and let subclasses (or overridden instance methods) do fancier dispatch.
00:07
<&McMartin>
That works too.
00:07
<&McMartin>
Seems like a trick a demo should use, at least in a STEAL THIS CODE sense.
00:09
< jeroud>
If there turns out to be a nice way to tie that to the definitions of the collision traits it's a reasonable thing to put on a subclass or something.
00:10
< jeroud>
Or even in a default implementation that you're free to replace.
00:11
< jeroud>
This is the kind of thing I'd have to play with and have other people poke with sticks before settling on.
00:12
< jeroud>
(Preferably other people who haven't written several games with me.)
00:16
< jeroud>
Anyway, to return to your original question, a void* pointer on MNCL_OBJECT is potentially useful in pymonocle but much more likely to be useful in other languages.
00:20
< jeroud>
It is now two hours past my bedtime and I have work tomorrow. G'night.
01:12 Omega [omegaboot@Nightstar-qa936g.il.comcast.net] has joined #code
01:12 Alek [omegaboot@Nightstar-qa936g.il.comcast.net] has quit [NickServ (GHOST command used by Omega)]
01:12 Omega is now known as Alek
01:12 mode/#code [+o Alek] by ChanServ
01:34
<~Vornicus>
planets know their own names; they can look at the planet view object indexed by their name and examine. Okay. view = {planets = {$each_planet = {planet_sprite_id = $blah, owner_sprite_id = $blah, etc etc}}}
02:20
<@celticminstrel>
Okay, so every one of my test programs works except recursive binomial coefficient.
02:21
<@celticminstrel>
The other recursive tests (fibonacci and gcd) do work.
03:43 Xon [Xon@Nightstar-q4s.ku7.252.119.IP] has quit [[NS] Quit: ]
03:44 Xon [Xon@Nightstar-q4s.ku7.252.119.IP] has joined #code
04:02 Harlow [Harlow@Nightstar-2dbe3d64.il.comcast.net] has quit [[NS] Quit: This computer has gone to sleep]
04:05 * Vornicus laments his own bad habits
04:05
<~Vornicus>
I'm a programmer, Vash isn't; yet, her parentheses discipline is vastly stronger than mine.
04:05
< Syka>
i read that as 'bed habits'
04:06
< Syka>
that is probably me projecting, since I got no sleep last night
04:06
<~Vornicus>
For that there's only one thing I lament: I apparently roll around enough to undo the corner of the bedsheet nightly!
04:07
< Syka>
i sort of curl into my sheet
04:07
< Syka>
top sheet, thing
04:07
< Syka>
although it's not
04:07
< Syka>
it's like... a throw thing
04:07
< Syka>
it has little holes in it as part of the pattern
04:07
< Syka>
anything thicker is too hot :(
04:08 ErikMesoy [Erik@Nightstar-3kot9q.80-203-17.nextgentel.com] has joined #code
04:09 ErikMesoy|sleep [Erik@Nightstar-ekm.o7n.203.80.IP] has quit [Ping timeout: 121 seconds]
04:11 Harlow [Harlow@Nightstar-2dbe3d64.il.comcast.net] has joined #code
04:11 Xon2 [Xon@Nightstar-q4s.ku7.252.119.IP] has joined #code
04:12
<@Reiv>
Vornicus: What is your parenthesis discipline then
04:14 Xon [Xon@Nightstar-q4s.ku7.252.119.IP] has quit [Ping timeout: 121 seconds]
04:36 Xon2 is now known as Xon
04:38 Kindamoody[zZz] is now known as Kindamoody
04:55 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
04:59 Derakon is now known as Derakon[AFK]
05:03 Stalker [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code
--- Log closed Mon Dec 02 05:12:42 2013
--- Log opened Mon Dec 02 05:29:50 2013
05:29 TheWatcher [chris@Nightstar-ksqup0.co.uk] has joined #code
05:29 Irssi: #code: Total of 40 nicks [17 ops, 0 halfops, 0 voices, 23 normal]
05:29 mode/#code [+o TheWatcher] by ChanServ
05:29 * ToxicFrog also stabs maildrop's SUSE maintainer
05:30 Irssi: Join to #code was synced in 39 secs
05:52 celticminstrel [celticminst@Nightstar-gj43l1.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:58 Turaiel is now known as Turaiel[Offline]
07:00 RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has quit [[NS] Quit: Gone.]
07:04 RichyB [RichyB@Nightstar-c6u.vd5.170.83.IP] has joined #code
07:13 himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has quit [Ping timeout: 121 seconds]
07:36
<&jerith>
There are days when I find myself facing the hermitage on the cliff, with deadlines that preclude tearing it down. :-/
07:47
<@froztbyte>
the solution is obvious
07:47
<@froztbyte>
get Road Runner in
07:47
<@froztbyte>
that way Wile. E. Coyote will attempt something silly, like blowing off a chunk of the cliff
07:48
<@froztbyte>
thus conveniently taking the hermitage with it
07:48
< jeroud>
The hermitage is but a metaphor.
07:52
< jeroud>
I have constructed several new rooms already, perched upon a large and stable rocky outcrop.
07:53
<~Vornicus>
what's all this?
07:54
< jeroud>
Vornicus: thecodelesscode.com
07:58
< jeroud>
Specifically the case named "Fear".
08:04
<~Vornicus>
ah, that one
08:04
<~Vornicus>
Yes indeed.
08:05
<~Vornicus>
My hermitage has several other hermitages next to it.
08:11 You're now known as TheWatcher[afk]
08:14 Vornicus [vorn@Nightstar-sn7kve.sd.cox.net] has quit [[NS] Quit: ]
08:15
<@froztbyte>
hermivillage!
08:29 Kindamoody is now known as Kindamoody|afk
08:36 Harlow [Harlow@Nightstar-2dbe3d64.il.comcast.net] has quit [[NS] Quit: BED]
09:07 himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code
09:07 mode/#code [+o himi] by ChanServ
09:59 You're now known as TheWatcher
10:20
<&McMartin>
Aha, it's been released. http://nickm.com/post/2013/11/nanowatt/
10:51
<@Alek>
watt.gif
11:29
<@froztbyte>
Montreal?
11:29
<@froztbyte>
wut
11:30
<@froztbyte>
also \o/
11:30
<@froztbyte>
McMartin: pouet link? ;D
11:31 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
11:52
<@TheWatcher>
Why, why can I never remember the order of margin: and padding: arguments? it's just NESW, but why do I always need to check that >.<
11:57 You're now known as TheWatcher[d00m]
12:55 You're now known as TheWatcher
13:11
<@gnolam>
http://i.imgur.com/Pai6w2U.jpg
13:26
< Syka>
TheWatcher: don't use NESW, it's Bad
13:27
< Syka>
TheWatcher: use something like SASS that lets you do "padding: \n left: 10px \n right: 10px" etc
13:31
<@TheWatcher>
Yes, because what I really want to do is arse around with Ruby.
13:32
<@TheWatcher>
I have ruby on exactly a single machine, and that only because I need to run gitlab
13:33
< Syka>
LESS, then
13:33
< Syka>
or https://github.com/Kronuz/pyScss
14:44 You're now known as TheWatcher[afk]
14:52 celticminstrel [celticminst@Nightstar-gj43l1.dsl.bell.ca] has joined #code
14:52 mode/#code [+o celticminstrel] by ChanServ
15:02 celticminstrel [celticminst@Nightstar-gj43l1.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
15:02 celticminstrel [celticminst@Nightstar-gj43l1.dsl.bell.ca] has joined #code
15:02 mode/#code [+o celticminstrel] by ChanServ
15:39 ErikMesoy is now known as Sun
15:59 celticminstrel [celticminst@Nightstar-gj43l1.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
16:04 Netsplit *.net <-> *.split quits: Turaiel[Offline], VirusJTG, ToxicFrog, Sun, AnnoDomini
16:11
<@Azash>
I can't wrap my head around it, but isn't there an algorithmic way to merge two subarrays in mergesort without using a second array?
16:12
<@Azash>
I think I have an idea that can do it with just temp storage for one array node
16:14
<@froztbyte>
you could extend the first array?
16:14
<@froztbyte>
but it seems like a prime way to make mistakes
16:37 You're now known as TheWatcher
18:05 ErikMesoy [Erik@Nightstar-3kot9q.80-203-17.nextgentel.com] has joined #code
18:05 Turaiel[Offline] [Brandon@Nightstar-vku52k.resnet.mtu.edu] has joined #code
18:05 ToxicFrog [ToxicFrog@Nightstar-gtjrvq.dsl.teksavvy.com] has joined #code
18:05 AnnoDomini [abudhabi@Nightstar-4ji.fl3.98.208.IP] has joined #code
18:05 VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code
18:05 ServerMode/#code [+ao ToxicFrog ToxicFrog] by *.Nightstar.Net
18:20 AnnoDomini [abudhabi@Nightstar-4ji.fl3.98.208.IP] has quit [Ping timeout: 121 seconds]
18:23 AnnoDomini [abudhabi@Nightstar-4ji.fl3.98.208.IP] has joined #code
18:23 AnnoDomini [abudhabi@Nightstar-4ji.fl3.98.208.IP] has quit [[NS] Quit: Lost terminal]
18:23 abudhabi [abudhabi@Nightstar-4ji.fl3.98.208.IP] has joined #code
18:28 abudhabi [abudhabi@Nightstar-4ji.fl3.98.208.IP] has quit [Ping timeout: 121 seconds]
18:39 Kindamoody|afk is now known as Kindamoody
18:58 abudhabi [abudhabi@Nightstar-4ji.fl3.98.208.IP] has joined #code
19:11 abudhabi [abudhabi@Nightstar-4ji.fl3.98.208.IP] has quit [Operation timed out]
19:13 abudhabi [abudhabi@Nightstar-4ji.fl3.98.208.IP] has joined #code
19:13 abudhabi [abudhabi@Nightstar-4ji.fl3.98.208.IP] has quit [[NS] Quit: leaving]
19:14 AD [NSwebIRC@Nightstar-b4f6dc81.tmi.telenormobil.no] has joined #code
20:00 Kindamoody is now known as Kindamoody[zZz]
20:29 Turaiel[Offline] is now known as Turaiel
20:55 * Tarinaky pokes the room...
20:56 * Azash is summoned from his coffin
20:57
<@Tarinaky>
I'm having extreme difficulty writing this assignment. I'm supposed to have 4 pages and I can't even do 1 :/
20:58
<@Tarinaky>
I'm having a great amount of difficulty saying anything that isn't very superficial
20:58
<@Tarinaky>
And my morale is poor.
20:58
<@Tarinaky>
-.-
20:58
<@Tarinaky>
I've got just under 2 days no less :/
20:59
<@Tarinaky>
I'd ask for advice on what kind of self-inflicted injury would get me out of handing this assignment in but then I'd still have the exam to contend with.
21:00
<&ToxicFrog>
What assignment is it?
21:00
<@Tarinaky>
Computer Vision.
21:08
<@Tarinaky>
Umm, let me reupload stuff.
21:08
<@Tarinaky>
https://www.dropbox.com/s/0mvqd8p6e5s5sm8/scenario.pdf https://www.dropbox.com/s/84s3jdsls7b37zw/assignment%282%29.pdf https://www.dropbox.com/s/wk2jvesfgqn9e3l/SSS08.pdf
21:10
<@Tarinaky>
So far I'm thinking the only way out of this is to go in tomorrow try to find someone and play the 'I'm waiting for a referral for a psych and having a breakdown' card.
21:10
<@Tarinaky>
Hurray for dignity (and lack thereof) :/
21:13
<@Tarinaky>
But even if they buy it the only thing it can buy me is a full resit. :/
21:14
<@Tarinaky>
-.-
21:15
<@Tarinaky>
Fuck my life -.-
21:23 Turaiel is now known as Turaiel[Offline]
21:27
<&ToxicFrog>
Hmm. So it's a literature survey sort of thing?
21:28
<@Tarinaky>
I don't know. They explicitly said it wasn't a literature review.
21:28
<&ToxicFrog>
Aah.
21:28
<&ToxicFrog>
...oh, I see. I think. Given this problem domain, you are expected to write about (but not implement) various ways of solving it?
21:29
<@Tarinaky>
Or just this one I think...
21:30
<&ToxicFrog>
Assignment 2 looks pretty straughtforward, though.
21:30
<&ToxicFrog>
Which of these is the one you're actually talking about?
21:30
<@Tarinaky>
They're all one assignment.
21:30
<&ToxicFrog>
Um
21:31
<&ToxicFrog>
assignment(2).pdf is quite clearly an assignment to read a single paper, summarize it, and critique its proposed solution(s)
21:32
<&ToxicFrog>
scenario.pdf is something different and much larger and sounds like it's meant to be done after assignment(2)
21:32
<@Tarinaky>
Scenario covers both this and the exam.
21:49 Stalker [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
21:50 Vornicus [vorn@Nightstar-sn7kve.sd.cox.net] has joined #code
21:50 mode/#code [+qo Vornicus Vornicus] by ChanServ
21:56 himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds]
21:58 celticminstrel [celticminst@Nightstar-gj43l1.dsl.bell.ca] has joined #code
21:58 mode/#code [+o celticminstrel] by ChanServ
22:18 Vornicus [vorn@Nightstar-sn7kve.sd.cox.net] has quit [[NS] Quit: Leaving]
22:26
<&McMartin>
Oof. QXmlQuery doesn't work on XML files of any size
22:40 ErikMesoy is now known as ErikMesoy|sleep
23:13 Turaiel[Offline] is now known as Turaiel
23:26 Kindamoody[zZz] is now known as Kindamoody
23:31 himi [fow035@Nightstar-q9amk4.ffp.csiro.au] has joined #code
23:31 mode/#code [+o himi] by ChanServ
--- Log closed Tue Dec 03 00:00:53 2013
code logs -> 2013 -> Mon, 02 Dec 2013< code.20131201.log - code.20131203.log >

[ Latest log file ]