code logs -> 2017 -> Sun, 30 Jul 2017< code.20170729.log - code.20170731.log >
--- Log opened Sun Jul 30 00:00:43 2017
00:03 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
00:04 catalyst [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed]
00:07 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
00:07 mode/#code [+o Alek] by ChanServ
00:08 catalyst [Jessikat@Nightstar-ord6ke.dab.02.net] has joined #code
02:29
<&Derakon>
Any of y'all have recommendations for an algorithm to assign XY coordinates to a planar graph?
02:31
<&Derakon>
That is, if I have a known-planar graph and want to draw it without edge intersections, how would I determine where to place the nodes?
02:50
<~Vornicus>
This is a thing I've occasionally wanted but I've never gotten around to actually fiddling with
02:50
<~Vornicus>
The name you want to be googling is "planar graph embedding"
03:18
<&Derakon>
Thanks.
04:50 Degi [Degi@Nightstar-i23hsm.dyn.telefonica.de] has quit [Ping timeout: 121 seconds]
04:55 catalyst` [Jessikat@Nightstar-mmol4i.dab.02.net] has joined #code
04:58 catalyst [Jessikat@Nightstar-ord6ke.dab.02.net] has quit [Ping timeout: 121 seconds]
05:32 Derakon is now known as Derakon[AFK]
06:04
<&McMartin>
Success! https://pastebin.com/kbBqiRN3
06:05
<&McMartin>
Aspect-preserving scaling of arbitrary bitmaps that can be rewritten at will outside of GUI-specific code.
06:11
<&McMartin>
I don't know whether to be annoyed at how much work that was, or amazed that it was as little as it was.
06:12
<&McMartin>
The output of pkg-config --cflags --libs gtk+-3.0 turns out to be over half a kilobyte
06:37 celticminstrel [celticminst@Nightstar-4r2i8l.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:50 Kindamoody[zZz] is now known as Kindamoody
06:53 Turaiel is now known as Turaiel[Offline]
07:49 catalyst` is now known as catalyst
08:04 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has quit [Connection closed]
08:31 McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code
08:31 mode/#code [+ao McMartin McMartin] by ChanServ
10:33
<@macdjord>
Arrrg.
10:33
<@macdjord>
This site: http://www.rejectedprincesses.com/princesses/nzinga-mbande
10:34
<@macdjord>
Has a background with a few little spots and blobs, presumably to look like aged parchment.
10:35
<@macdjord>
These spots /do not/ scroll with the text... and they are, for some reason, appearently layered in /above/ all the page content.
10:36
<@macdjord>
Which means I spent the last 5 minutes trying to clean my laptop screen and wondering if these unremovable blots were permanent damage.
10:36
<&McMartin>
backround: absolute
10:38
<@macdjord>
I finally clued in when I notice my mouse pointer going 'over' them.
10:43 Kindamoody is now known as Kindamoody|afk
11:25 catalyst` [Jessikat@Nightstar-be1f4a.dab.02.net] has joined #code
11:27 catalyst [Jessikat@Nightstar-mmol4i.dab.02.net] has quit [Ping timeout: 121 seconds]
11:30 catalyst` is now known as catalyst
12:09 catalyst [Jessikat@Nightstar-be1f4a.dab.02.net] has quit [[NS] Quit: Bye]
12:55 Degi [Degi@Nightstar-cjmql8.dyn.telefonica.de] has joined #code
13:08 Degi [Degi@Nightstar-cjmql8.dyn.telefonica.de] has quit [Ping timeout: 121 seconds]
13:38 Degi [Degi@Nightstar-cjmql8.dyn.telefonica.de] has joined #code
14:17 celticminstrel [celticminst@Nightstar-4r2i8l.dsl.bell.ca] has joined #code
14:17 mode/#code [+o celticminstrel] by ChanServ
15:47 Kindamoody|afk is now known as Kindamoody
15:58 Kindamoody is now known as Kindamoody|afk
16:55 Kindamoody|afk is now known as Kindamoody
17:58
<@Alek>
haha wut
18:01 Vornotron [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
18:01 mode/#code [+qo Vornotron Vornotron] by ChanServ
18:04 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
18:12 catalyst [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code
19:21 Kindamoody is now known as Kindamoody|afk
20:26 Kindamoody|afk is now known as Kindamoody
20:50 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Connection closed]
20:55 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
20:55 mode/#code [+o Alek] by ChanServ
21:32 Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Ping timeout: 121 seconds]
21:35 Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code
21:35 mode/#code [+o Alek] by ChanServ
22:00 Turaiel[Offline] is now known as Turaiel
22:28 Derakon[AFK] is now known as Derakon
22:28 * Derakon muses about methods of building highly interconnected Metroidvania maps.
22:28
<&Derakon>
"Interconnected" basically means "loops back into itself", doesn't it?
22:28
<&Derakon>
So maybe what I should be doing is building a bunch of closed polygons and slapping them down on top of each othe.
22:28
<&Derakon>
Er, other.
22:28
<~Vornotron>
vaguely
22:29
<&Derakon>
Imagine a placement rule that was: place a circle so that it contacts at least some portion of the already-existing map, then remove the portion of the new circle that is contained by the map.
22:29
<~Vornotron>
your mehod had a weakness in that it doesn't appear to allow 3-junctions
22:30
<~Vornotron>
ah, that would.
22:30
<~Vornotron>
You could have the computer play Sprouts.
22:30
<&Derakon>
Also keep in mind that there's necessarily some translation between vector space and the very chunky "room"-level representation of your average map display.
22:31
<&Derakon>
(That is, something like http://metroid.retropixel.net/games/metroid3/metroid3_map.gif )
22:31
<&Derakon>
The translation layer could declare things to be near-enough.
22:31
<&Derakon>
What is Sprouts?
22:31
<~Vornotron>
https://en.wikipedia.org/wiki/Sprouts_(game)
22:32
<&Derakon>
Aha.
22:33
<&Derakon>
The main difficulty with that approach is teaching the computer to draw curved lines from A to B that don't overlap any existing lines.
22:33
<&Derakon>
I guess you could use Bezier splines and a spline intersection test, maybe?
22:34
<~Vornotron>
nnn, you could just do it as a graph theoretic thing
23:22 gk_1wm_su [deep-book@Nightstar-2vo.kr6.9.85.IP] has joined #code
23:22 gk_1wm_su [deep-book@Nightstar-2vo.kr6.9.85.IP] has quit [Z-Lined: spammer no spamming (ID: ATZXHYVOJW)]
23:23 Kindamoody is now known as Kindamoody[zZz]
23:38
<@Reiv>
HEY VORN
23:38
<@Reiv>
I have a 'fun' challenge for you
23:38
<@Reiv>
But you are the man with the skills and knowledge to know exactly what he's doing here
23:38
<@Reiv>
So it seems worth a shot
23:38
<@Reiv>
You see, I am playing in a new Pathfinder game.
23:39
<@Reiv>
This is well and good, but I have two shiny new complications:
23:39
<@Reiv>
1) Pathfinder, for all its similarities, has a very different feat selection to 3.5
23:39
<@Reiv>
2) oh god, I'm playing a character class that gets to pull feats out of its ass mid-combat
23:40
<@Reiv>
What I would dearly love is an app that let me input, eg, my current feat list, ability scores, BAB, etc, and be able to effectively quick-search to know what feats I have available.
23:42 catalyst [Jessikat@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Leaving]
23:43
<@Reiv>
On the bright side, at least the data is in one place? http://www.d20pfsrd.com/feats/combat-feats/
23:43
<@Reiv>
So scraping should be relatively straightforward.
23:43
<@Reiv>
But beyond that, I am dooooomed
23:44
<@celticminstrel>
Note that that contains lots of 3rd-party sources too.
23:45
<@celticminstrel>
If you want only the Paizo sources there's http://paizo.com/pathfinderRPG/prd/
23:45 catalyst [Jessikat@Nightstar-lshd6b.dab.02.net] has joined #code
23:48
<@Reiv>
Does that have a feat list?
23:48
<@celticminstrel>
I'm not quite sure if it has all the feats in one place, I've mostly looked at the bestiaries.
23:49
<@celticminstrel>
Ah, there's this, I guess? http://paizo.com/pathfinderRPG/prd/indices/feats.html
23:51
<@Reiv>
huh, I guess that could work took
23:51
<@Reiv>
*too
23:52
<@Reiv>
Though I suspect the pfsrd page is probably the easier to scrape, and does at least have a source listing
23:52
<@Reiv>
I'd have to double check the sources, but one could probably find a reasonably 'official' listing there
23:57
<~Vornotron>
that looks annoying.
23:57
<@Reiv>
Aw
23:58
<@Reiv>
Sorry, thought it would be halfway interesting. I presume the main sin is the multiple tables?
23:59
<@Reiv>
... does it get better if I discover *this*? http://www.d20pfsrd.com/feats/feats-db/
--- Log closed Mon Jul 31 00:00:44 2017
code logs -> 2017 -> Sun, 30 Jul 2017< code.20170729.log - code.20170731.log >

[ Latest log file ]