code logs -> 2012 -> Tue, 09 Oct 2012< code.20121008.log - code.20121010.log >
--- Log opened Tue Oct 09 00:00:45 2012
00:02
< gnolam>
You can - Sobel is nicely parallelizable and works just fine with shaders.
00:02
< gnolam>
But it's not something you want to use for games.
00:02
< gnolam>
There are simpler ways of doing outlines. :)
00:06 Attilla [Obsolete@Nightstar-b60121d0.as43234.net] has quit [Ping timeout: 121 seconds]
00:10
<~Vornicus>
reminds me of something I kind of wanted to do in vornmoo and since i never got around to actually doing vornmoo I never wrote it, but I saw it in supcomm
00:12
<~Vornicus>
which is to say merging circles
00:19
< Reiv>
eh?
00:20
< Namegduf>
Oh wow I just ran into someone who thought that C# and PHP popularised closures.
00:21
<&McMartin>
Closures are popular~
00:21
<&McMartin>
?
00:21
<&McMartin>
That's actually a tricky question, though
00:21
< Namegduf>
They're reasonably regularly used in the languages supporting them.
00:21
<&McMartin>
Right
00:21
<&McMartin>
What I mean is, like, do Python's equivalents count
00:21
< Namegduf>
Yes
00:22
< Namegduf>
JavaScript is the simplest counter example
00:22
< Namegduf>
They went quiet after I linked the table at http://en.wikipedia.org/wiki/First-class_function#Language_support
00:22
<&jerith>
Python has proper closures.
00:22
<~Vornicus>
Reiv: so the original thing I wanted to use it for was sensor ranges: in MoO and by extension VornMoO, each planet you control has a fixed (by current technology level) sensor range. I wanted to see the frontier of that sensor range.
00:23
<&McMartin>
jerith: Hm. I guess I hesitate because it's imperative and doesn't have writable upvalues.
00:23
<&jerith>
Writeable upvalues?
00:23
< Reiv>
Vornicus: This is difficult?
00:24
<&jerith>
You can close around a mutable object.
00:24
< Reiv>
Therefore I assume you did not want sensors to simply overlap?
00:24
<&McMartin>
jerith: yes, but that's cheating~
00:25
<~Vornicus>
Reiv: correct. I wanted the circles to merge, because you've seen what happens to readability when they don't.
00:25
<&jerith>
McMartin: It's consistent with Python's data model.
00:25
< Reiv>
Vorn: Make them all flat. Provide only the outline of the whole lot.
00:26
<~Vornicus>
that's what I wanted. It was kind of tricky though.
00:28
<&jerith>
McMartin: Python 3 (which isn't Python~) has a "nonlocal" keyword for writeable upvalues.
00:29
<&McMartin>
jerith: My objection is rescinded in full, then~
00:30
<&jerith>
McMartin: Except your objection was about *Python*, and is still valid there.~
00:31
< Namegduf>
Oh dear.
00:48 You're now known as TheWatcher[T-2
00:53 * gnolam snickers as he watches his virtual helicopter leave behind its propellers.
00:54 You're now known as TheWatcher[zZzZ]
00:54
< gnolam>
That's right. I was supposed to add constraints in this step. >_>
00:55 himi [fow035@D741F1.243F35.CADC30.81D435] has joined #code
00:55 mode/#code [+o himi] by ChanServ
00:56
< gnolam>
At least collision filtering is working.
01:13 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has quit [Connection closed]
01:57 Vash [Vash@Nightstar-3ba4108e.wlfrct.sbcglobal.net] has joined #code
01:57 mode/#code [+o Vash] by ChanServ
02:00 Derakon[AFK] is now known as Derakon
02:00 mode/#code [+ao Derakon Derakon] by ChanServ
03:06 * ToxicFrog tries, once again, to figure out why people like vim
03:12
<&Derakon>
Heh.
03:13
<&Derakon>
I find command mode to be helpful for transforming large blocks of text; unlike in Emacs I don't have to press four keys for every command I want to perform.
03:31
< rms>
I found it faster to pick-up
03:32
< rms>
Sucks when you find yourself using vi instead though.
03:36 Outpost [Outpost@Nightstar-798f08ac.pa.comcast.net] has quit [Client closed the connection]
03:36 OutpostI [Outpost@Nightstar-798f08ac.pa.comcast.net] has joined #code
03:54
<~Vornicus>
...oh, duh, I can do that, let me see here....
03:54 * Vornicus tries enumerating 5x5 slitherlink loops.
03:55 PinkFreud [WhyNot@NetworkAdministrator.Nightstar.Net] has joined #code
03:55 mode/#code [+o PinkFreud] by ChanServ
04:17
<~Vornicus>
well okay I'll start with 3x3 loops
04:39 * Vornicus buzzes through 5x5 loops, discovers there's well over a million of them.
04:45
<~Vornicus>
2301878 different 5x5 loops.
04:47
<&Derakon>
So what you're saying is, this may take a little while.
04:47
<~Vornicus>
(not 'essentially different' though: I haven't accounted for symmetries, which probably knocks that down by a factor of about 6)
04:48
<~Vornicus>
Well... yes.
04:48
<&Derakon>
Hell, 400k isn't that much.
04:50
<~Vornicus>
Well, idunno - the next step I think requires that I not account for symmetries, because it's "how many /actual puzzles/ are there", and that means figuring out the similarity masks between various loops
04:51
<~Vornicus>
...and then there's figuring out how much stuff escapes the similarity masks.
04:52
<~Vornicus>
That I don't know how I'll do but I hope I can escape brute force.
04:55
<~Vornicus>
Well. Okay I don't think I'll escape brute force, that's worse than 3SAT
04:56
<~Vornicus>
...well, okay, it's not really, but
04:58
<~Vornicus>
I do have to do a lot of powersetting.
05:17
< Reiv>
What is this for Vorn?
05:26
<~Vornicus>
I was wondering how many different slitherlink games there are in 5x5. The answer appears to be "a fuckton"
05:36
< Reiv>
slitherlink?
05:38
<~Vornicus>
( www.puzzle-loop.com does slitherlink games)
05:38 * Vornicus forgot to hit enter
05:40
<~Vornicus>
so I figured out a way to list off valid loops (basically it goes "the inside of the loop is black, the outside is white, can I floodfill /every/ black cell with one click"), and now I'm generating the clue set for those.
05:41
<~Vornicus>
Then I get to, for each pair of loops, intersect the clue sets to find the largest clue set that's insufficient to distinguish between them.
05:53 iospace is now known as iospacingout
05:53
<~Vornicus>
(I believe but am uncertain that no loops have exact twins)
05:58 * Vornicus gets one direction of the clue set generator working.
06:02 Derakon is now known as Derakon[AFK]
06:07
<~Vornicus>
...ooops, I did miss a spot. the other bit is that all the 0s have to floodfill to the edge...
06:10
<~Vornicus>
in 3x3 there's only 5 (of 219) that do that but pass the black floodfill test. For 5x5 there's probably a whole lot more
06:10
<~Vornicus>
(because there are a whole lot more cells that don't already touch the edge)
06:13 * Vornicus fiddles with it, figures sending it through the floodfill checker again after some rejiggering would work!
06:31
<~Vornicus>
good. Okay.
06:32 * Vornicus now puts that bit to work on 5x5 to see the true number of things.
06:36
<~Vornicus>
...man, that's a lot fewer than last time. After going through about 10 million i'm at 430k as opposed to 722k
06:40 himi [fow035@D741F1.243F35.CADC30.81D435] has quit [Operation timed out]
06:46
<~Vornicus>
1,222,364. Whole lot smaller.
07:00 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Client closed the connection]
07:01 Attilla [Obsolete@Nightstar-6d0dced8.as43234.net] has joined #code
07:07 You're now known as TheWatcher
07:07 * Vornicus ...eyes the schlock mercenary forums. LEARN2ARMYOFROBOTS, GUYS
07:15 celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:24
< Reiv>
Vorn: Eh wot?
07:30 * TheWatcher eyes this student
07:32
<@TheWatcher>
Looks like I'm going to be spending half my morning writing an explanation of computer operation to answer one question from this guy.
07:33
<@TheWatcher>
On the one hand, yey for students asking decent questions. On the other, shit, I have entirely too much to do for that ;.;
07:33
<&jerith>
:-/
08:07
<~Vornicus>
Reiver: so there's an effort listed on the zoo that they're trying to update the transcriptions for Schlock Mercenary
08:07
<~Vornicus>
A noble effort indeed, but the first step in this is copying out all the /existing/ transcriptions.
08:08
<~Vornicus>
To do this they're handing out years to people and asking them to copy them into notepad files
08:09 Vash [Vash@Nightstar-3ba4108e.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!]
08:09
<~Vornicus>
About five minutes ago I launched my script. I will have /every/ transcript downloaded into text files within the hour.
08:10
<@TheWatcher>
"And then, Mr Bond, nothing you can do will stop me!"
08:10
<@TheWatcher>
>.>
08:10
<@TheWatcher>
I may need more tea...
08:10 You're now known as TheWatcher[afk]
08:11
<~Vornicus>
Then they're talking about the technical side and we have "the easiest way would be to write them in notepad and email them to Howard".
08:11
<~Vornicus>
Guys.
08:11
<~Vornicus>
Just no, guys.
08:12
<&McMartin>
GO FORTH, MY ARMY OF ROBOTS.
08:16
<~Vornicus>
...find kitten?
08:18
< Reiver>
Vornicus: Hahaha, awesome.
08:18
< Reiver>
Why do they need to copy the existing stuff? Is this not Howard Sanctioned, or?
08:19
<~Vornicus>
I suspect part of this is "we need to know where the holes are"
08:19
< Reiver>
Stride Forth And Conquer For The Old Guard, etc
08:19
<~Vornicus>
There's also "proofread"
08:19
< Reiver>
Remember Chalain Hill!~
08:20
<~Vornicus>
Heh
08:20 * Vornicus derps, forgot to advance the date in situations where the date has no transcripts.
08:21
<~Vornicus>
anyway, that fired off again...
08:29 * Vornicus wanders around picking out some technology so that once it's done the rest is easy.
08:39 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
08:40 mode/#code [+o himi] by ChanServ
09:06 Rhamphoryncus [rhamph@Nightstar-cc6253d6.abhsia.telus.net] has quit [Client exited]
09:24
<~Vornicus>
glad I supervised this. It didn't occur to me that the html parsing might fail on some of these.
09:50 You're now known as TheWatcher
10:13
<~Vornicus>
down to the last 6 months.
10:43 * Vornicus pokes his git tools. work, damn your eyes
10:51
<~Vornicus>
okay, how do I get the stuff up there. it's complaining about fast-forward or something
10:51
<&McMartin>
pull first, there are upstream changes you need to merge
10:53
<~Vornicus>
I thought I'd done that, but apparently not.
10:54
<~Vornicus>
okay, that's fixed
10:55
<~Vornicus>
...oh, gotta add extensions to 3000 files now. bah!
10:56
<&jerith>
Vornicus: "for ff in *; do mv $ff $ff.ext; done"
10:56
<@TheWatcher>
for i in *; do .... that
10:56
<~Vornicus>
let's assume I don't have a bash shell
10:57
<~Vornicus>
Also that the files are two directories deep.
10:57
<&jerith>
Vornicus: "bash -c 'for ff in *; do mv $ff $ff.ext; done'" :-P
10:58
<&jerith>
And then you use `find . -name 'someglob'` instead of *.
10:58
<&jerith>
But I've stopped being helpful.
10:58
<&jerith>
Is this on Windows?
10:58
<~Vornicus>
Or I could just rejigger the python script and have it do it.
10:58
<&jerith>
You could do that.
10:58
<&jerith>
os.rename()
10:59
<&jerith>
Also os.listdir()
10:59
<~Vornicus>
already looking up the thingy.
11:00
<~Vornicus>
signature. thingy.
11:00
<~Vornicus>
all done.
11:05
<~Vornicus>
...okay um that didn't work nearly as planned.
11:07
<~Vornicus>
...because the wiki doesn't do subpages, fucking thing
11:11 Moltare [Moltare@583787.FF2A18.190FE2.4D81A1] has joined #code
11:18
<~Vornicus>
well that worked, eventually.
11:23
<~Vornicus>
right I should have been in bed three hours ago but someone was NOT SUFFICIENTLY USING HIS ROBOT ARMY on the internet.
11:58 iospacingout is now known as iospace
12:20 RichyB [richardb@7D8456.14C5E0.08BE20.B646E9] has joined #code
12:48
< rms>
`man rename` tool for mass renaming of extensions...
12:48
<@Tamber>
Well, that's handy.
12:49
< rms>
Yup
12:54
<&McMartin>
http://cloud.steampowered.com/ugc/560954765831906810/FEBE477909CC6E560CF823352A9 568F74A798B5B/
12:54
<&McMartin>
DELICIOUS SCIENCE
12:54 * McMartin takes a nap before heading to work later this morning
13:09
< gnolam>
McMartin: ...
13:25 * gnolam stabs Doxygen in the brain.
13:25
< AnnoDomini>
It has a brain?
13:26
< gnolam>
Goddammit people.
13:26
<@TheWatcher>
?
13:26
< gnolam>
Just adding bare doxygen class overviews does not make your API documented.
13:26
<@TheWatcher>
... no, no it does not
13:28
< gnolam>
Yet /every single example of public doxygen use I have seen/ seems to believe this.
13:29
< Moltare>
But it has "gen" in the title!
13:29
< Moltare>
That means you just push a button and it does it all for you
13:37
< gnolam>
Since a couple of years back, there is also the "but we have a wiki" excuse for no documentation.
13:38
< gnolam>
After all - if you put up a wiki, useful and correct information magically appears, right?
13:43 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Ping timeout: 121 seconds]
13:43 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
13:59
<@TheWatcher>
gnolam: that or anyone complaining about the lack of information can be told "well, why don't you go and add it to the wiki?"
13:59
<@TheWatcher>
s/information/documentation/
14:00
<@TheWatcher>
shouldn't get those confused, really, asn one does not imply the other...
14:06
< gnolam>
... oh, and a library rename for a minor version. Thanks for that.
14:12
< gnolam>
Together with general borkage, it seems.
14:14
<@TheWatcher>
huzzah
14:14
<@TheWatcher>
(which library is this?)
14:14
< gnolam>
Bullet Physics.
14:17 * TheWatcher goes to look at it, out of curiosity, ...s
14:21
<@TheWatcher>
That is some spectacularly shit documentation :/
14:28
< gnolam>
Good. It's not just me then. :P
14:44 You're now known as TheWatcher[afk]
15:07 Syloq_Home [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
15:34 gnolam [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has quit [Client closed the connection]
15:34 gnolam [lenin@Nightstar-ccbf4b44.cust.bredbandsbolaget.se] has joined #code
15:39 OutpostI is now known as Outpost
16:49 RichyB [richardb@7D8456.14C5E0.08BE20.B646E9] has quit [[NS] Quit: Leaving]
17:05 EvilDarkLord is now known as Maze
18:48
< iospace>
froztbyte: aborted for today
18:48
< froztbyte>
yeah I saw
18:48
< froztbyte>
teh grumpies, I am
18:49
< iospace>
:<
18:50
< froztbyte>
troll wind is troll
18:50
< iospace>
i'm sure you're not as pissed as Felix
18:51
< froztbyte>
no, sure
18:51
< froztbyte>
though I'm wondering which side he's on
18:51
< froztbyte>
(pissed or doubtful)
18:53
< iospace>
it may be a few days before they can do it again
18:53
< iospace>
i'm glad they're being safe though
19:04
<~Vornicus>
There. That's that part fixed.
19:21 Moltare [Moltare@583787.FF2A18.190FE2.4D81A1] has quit [Ping timeout: 121 seconds]
19:25 Moltare [Moltare@583787.FF2A18.190FE2.4D81A1] has joined #code
20:30 Maze is now known as EvilDarkLord
21:55 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has quit [Operation timed out]
21:57 Derakon[AFK] [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code
22:38 Vash [Vash@Nightstar-3ba4108e.wlfrct.sbcglobal.net] has joined #code
22:38 mode/#code [+o Vash] by ChanServ
23:00 You're now known as TheWatcher
23:25
<~Vornicus>
oh fun, markdown's written in perl
23:32 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
--- Log closed Wed Oct 10 00:00:00 2012
code logs -> 2012 -> Tue, 09 Oct 2012< code.20121008.log - code.20121010.log >

[ Latest log file ]