--- Log opened Sat May 23 00:00:37 2015 |
00:04 | | Meatyhandbag [sebastianfe@Nightstar-0kv.59c.73.97.IP] has joined #code |
00:11 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ] |
00:11 | | catadroid [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
00:17 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
00:58 | | Meatyhandbag [sebastianfe@Nightstar-0kv.59c.73.97.IP] has quit [Ping timeout: 121 seconds] |
01:00 | | Meatyhandbag [sebastianfe@Nightstar-0kv.59c.73.97.IP] has joined #code |
01:26 | | gnolam_ is now known as gnolam |
01:26 | | mode/#code [+o gnolam] by ChanServ |
01:39 | | celticminstrel [celticminst@Nightstar-50nn7i.dsl.bell.ca] has quit [Connection reset by peer] |
01:39 | | celticminstrel [celticminst@Nightstar-50nn7i.dsl.bell.ca] has joined #code |
01:39 | | mode/#code [+o celticminstrel] by ChanServ |
02:49 | | NSGuest17749 is now known as Attilla |
03:02 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code |
03:02 | | mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ |
03:05 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Connection closed] |
03:19 | | * Derakon mutters at wget. |
03:19 | <&Derakon> | I'm trying to manipulate a PHP script on the server via wget, like so: |
03:19 | <&Derakon> | wget --load-cookies cookies.txt -p http://lpix.org/ajax/massmove.php --post-data 'gallery=11550&ids=1608990,1608991,1608992,1608993,1608994,1608995,1608996,16136 26,1613627,1613628' |
03:19 | <&Derakon> | This gives me the error "invalid dest gallery". |
03:20 | <&Derakon> | However, if I go to my browser and load http://lpix.org/ajax/massmove.php?gallery=11550&ids=1608990,1608991,1608992,1608 993,1608994,1608995,1608996,1613626,1613627,1613628 then it works. |
03:24 | | * Derakon settles for having his script spit out URLs that he then pastes into the browser. |
03:29 | <@celticminstrel> | I wonder whether crawler bots usually pass a referrer... |
03:29 | <&Derakon> | That shouldn't be needed. |
03:31 | <&Derakon> | Yeah, pasting the URL into a new browser window (which means no referer) works fine. |
03:33 | <&Derakon> | Goddamn I have way too many images on this sitet. |
03:33 | <&Derakon> | Er, site. |
03:34 | <@celticminstrel> | My comment was unrelated to anything you said, sorry. |
03:34 | <&Derakon> | Ah. |
03:35 | <@celticminstrel> | You can't put it in the query string when passing to wget? |
03:36 | <&McMartin> | It doesn't go in the query string regardless; it would go in the HTTP header, outside of the URL |
03:36 | <&McMartin> | Curl can be made to do that; I'm not sure if wget can |
03:36 | <@celticminstrel> | Well, PHP usually merges query string data with post data, though... sort of... |
03:37 | <~Vornicus> | Not quite |
03:37 | <&Derakon> | Note it also doesn't work if I do it as a GET. |
03:37 | <~Vornicus> | I haven't seen anybody use $_REQUEST in a while |
03:37 | <@celticminstrel> | (More precisely, I think scripts can access either a merged or an unmerged version, if I recall correctly.) |
03:37 | <~Vornicus> | (not least because it's Just A Bad Plan) |
03:37 | <~Vornicus> | you use $_GET and $_POST |
03:37 | <&Derakon> | Anyway I've moved like 400 images out of the default folder, so it's no longer causing massive lag when I try to load it. |
03:37 | <@celticminstrel> | But you said it works if you load that query URL in the browser? |
03:38 | <@celticminstrel> | That's a GET request, isn't it? |
03:38 | <&Derakon> | Yep. |
03:38 | <&Derakon> | Should be, I thtink. |
03:38 | <&Derakon> | Er, think. |
03:38 | <@celticminstrel> | But then... |
03:38 | <@celticminstrel> | [May 22@10:37:16pm] Derakon: Note it also doesn't work if I do it as a GET. |
03:39 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
03:39 | | mode/#code [+o himi] by ChanServ |
03:39 | <&Derakon> | Yeah, I don't know. wget must be doing something screwy. |
03:41 | <~Vornicus> | It might also have anti-scraping powers |
03:41 | <&Derakon> | The entire rest of my interactions with the site are done via wget, so I doubt that. |
03:44 | <~Vornicus> | well ok |
04:01 | | Echoes-- [rolly@Nightstar-eo05bk.co.comcast.net] has quit [Ping timeout: 121 seconds] |
04:24 | <@celticminstrel> | For some reason, my HTML table somehow gains an extra <th> that's not in the source. |
04:25 | <~Vornicus> | Maybe you should pastebin it to me |
04:25 | <@celticminstrel> | I should probably minimalize it if I'm going to do that... |
04:26 | <~Vornicus> | no, give it to us, raw and wriggling |
04:26 | <@celticminstrel> | It's really long. |
04:27 | <~Vornicus> | I'll live |
04:29 | <@celticminstrel> | You'd rather have pastebin than loading the page and viewing source? |
04:34 | <@celticminstrel> | Well, whatever, here: http://pastebin.com/VpT61hbi |
04:35 | <~Vornicus> | <th>Known Owners<th> |
04:35 | <@celticminstrel> | :O |
04:35 | <~Vornicus> | (that took about 8 seconds) |
04:35 | <@celticminstrel> | Yay. |
04:37 | <@celticminstrel> | Apparently Firefox just added ruby support in its latest release. |
04:42 | <@celticminstrel> | (Also, thanks.) |
05:00 | | Xon [Xon@Nightstar-j72.ku7.252.119.IP] has quit [Client exited] |
05:03 | | Xon [Xon@Nightstar-j72.ku7.252.119.IP] has joined #code |
05:05 | | Derakon is now known as Derakon[AFK] |
05:30 | | * McMartin does some Math to #156, gets some surprising results, proves some theorems based on those, finds the surprising results are in fact unsurprising and could be proven with a handwavy argument |
05:30 | <&McMartin> | Always fun. |
05:55 | <~Vornicus> | heh |
05:55 | <~Vornicus> | I should get back to making my Stride Seive to make 60 possibly go faster |
06:02 | | Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [Connection closed] |
06:04 | <&McMartin> | Also it seems like my think-about-Project-Euler personality facet is also my fiddle-with-DROD personality facet. |
06:32 | | celticminstrel [celticminst@Nightstar-50nn7i.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
06:48 | | Vornicus [vorn@Nightstar-uhn82m.ct.comcast.net] has quit [[NS] Quit: ] |
07:26 | | Kindamoody[zZz] is now known as Kindamoody |
07:57 | | Kindamoody is now known as Kindamoody|afk |
08:01 | | catadroid` [catalyst@Nightstar-ve78ej.dab.02.net] has joined #code |
08:05 | | catadroid [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Ping timeout: 121 seconds] |
08:36 | | catadroid [catalyst@Nightstar-cjrmla.dab.02.net] has joined #code |
08:36 | | catadroid` [catalyst@Nightstar-ve78ej.dab.02.net] has quit [A TLS packet with unexpected length was received.] |
08:38 | | catadroid` [catalyst@Nightstar-cjrmla.dab.02.net] has joined #code |
08:38 | | catadroid [catalyst@Nightstar-cjrmla.dab.02.net] has quit [Connection closed] |
09:01 | | catadroid [catalyst@Nightstar-9mg3kh.dab.02.net] has joined #code |
09:01 | | catadroid` [catalyst@Nightstar-cjrmla.dab.02.net] has quit [Connection closed] |
09:03 | | catadroid` [catalyst@Nightstar-9mg3kh.dab.02.net] has joined #code |
09:03 | | catadroid [catalyst@Nightstar-9mg3kh.dab.02.net] has quit [A TLS packet with unexpected length was received.] |
09:05 | | catadroid [catalyst@Nightstar-9mg3kh.dab.02.net] has joined #code |
09:05 | | catadroid` [catalyst@Nightstar-9mg3kh.dab.02.net] has quit [A TLS packet with unexpected length was received.] |
09:07 | | catadroid [catalyst@Nightstar-9mg3kh.dab.02.net] has quit [A TLS packet with unexpected length was received.] |
09:22 | | Echoes-- [rolly@Nightstar-eo05bk.co.comcast.net] has joined #code |
12:13 | <@froztbyte> | McMartin: running euler solutions often makes me feel like I know way too little math :( |
12:14 | <@froztbyte> | and then it gets pretty hard to search/research for some of it without the search results insta-spoiling |
13:12 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Connection closed] |
13:14 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
13:14 | | mode/#code [+o himi] by ChanServ |
14:05 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Leaving] |
14:09 | < abudhabi> | McMartin: UQM has procedurally a generated starmap, right? |
14:30 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
14:35 | | celticminstrel [celticminst@Nightstar-50nn7i.dsl.bell.ca] has joined #code |
14:35 | | mode/#code [+o celticminstrel] by ChanServ |
14:44 | | Meatyhandbag [sebastianfe@Nightstar-0kv.59c.73.97.IP] has quit [Client exited] |
15:42 | | Meatyhandbag [sebastianfe@Nightstar-0kv.59c.73.97.IP] has joined #code |
16:08 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
16:08 | | mode/#code [+o Syloq] by ChanServ |
16:34 | | kourbou_ [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code |
16:34 | | kourbou_ is now known as kourbou |
16:40 | | gizmore|2 [kvirc@Nightstar-3tc44o.dip0.t-ipconnect.de] has joined #code |
16:40 | | gizmore [kvirc@Nightstar-lvrfa7.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds] |
16:44 | | gizmore [kvirc@Nightstar-r8ajdj.dip0.t-ipconnect.de] has joined #code |
16:44 | | gizmore|2 [kvirc@Nightstar-3tc44o.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds] |
17:03 | | gizmore [kvirc@Nightstar-r8ajdj.dip0.t-ipconnect.de] has quit [Operation timed out] |
17:04 | | gizmore [kvirc@Nightstar-3s71o0.dip0.t-ipconnect.de] has joined #code |
17:12 | | Vornicus [vorn@Nightstar-uhn82m.ct.comcast.net] has joined #code |
17:12 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
--- Log closed Sat May 23 17:20:00 2015 |
--- Log opened Sat May 23 17:20:20 2015 |
17:20 | | TheWatcher [chris@Nightstar-ksqup0.co.uk] has joined #code |
17:20 | | Irssi: #code: Total of 1 nicks [1 ops, 0 halfops, 0 voices, 0 normal] |
17:20 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code |
17:20 | | Irssi: Join to #code was synced in 37 secs |
17:21 | !Deepthought.Nightstar.Net TS for #code changed from 1432398020 to 1260554468 |
17:21 | | ServerMode/#code [-not TheWatcher] by *.Nightstar.Net |
17:21 | | ServerMode/#code [+nrt] by *.Nightstar.Net |
17:21 | | Vornicus [vorn@Nightstar-uhn82m.ct.comcast.net] has joined #code |
17:21 | | Attilla [sid13723@Nightstar-h2b233.irccloud.com] has joined #code |
17:21 | | [R] [rstamer@genoce.org] has joined #code |
17:21 | | abudhabi [abudhabi@Nightstar-7nkq9k.de] has joined #code |
17:21 | | Kindamoody|afk [Kindamoody@Nightstar-180u8i.tbcn.telia.com] has joined #code |
17:21 | | Wizard [Azash@wizard.engineering] has joined #code |
17:21 | | Xires [xires@Nightstar-9jm35g.feedthetrolls.net] has joined #code |
17:21 | | froztbyte [froztbyte@Nightstar-frrora.za.net] has joined #code |
17:21 | | gnolam_ [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has joined #code |
17:21 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
17:21 | | EvilDarkLord [jjlehto3@Nightstar-16qmfh.org.aalto.fi] has joined #code |
17:21 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
17:21 | | ErikMesoy [Erik@Nightstar-skg.uk2.203.80.IP] has joined #code |
17:21 | | McMartin [mcmartin@Nightstar-rpcdbf.sntcca.sbcglobal.net] has joined #code |
17:21 | | macdjord|slep [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code |
17:21 | | Namegduf [namegduf@Nightstar-lcgn9d.beshir.org] has joined #code |
17:21 | | PinkFreud [WhyNot@Pinkfreud.is.really.fuckin.lame.nightstar.net] has joined #code |
17:21 | | Meatyhandbag [sebastianfe@Nightstar-0kv.59c.73.97.IP] has joined #code |
17:21 | | Derakon[AFK] [chriswei@Nightstar-2fe4eq.ca.comcast.net] has joined #code |
17:21 | | Tamber [tamber@furryhelix.co.uk] has joined #code |
17:21 | | Xon [Xon@Nightstar-j72.ku7.252.119.IP] has joined #code |
17:21 | | iospace [Alexandria@Nightstar-fkokc2.com] has joined #code |
17:21 | | Ogredude [quassel@Nightstar-dm1jvh.projectzenonline.com] has joined #code |
17:21 | | JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has joined #code |
17:21 | | Reiver [quassel@Nightstar-ksqup0.co.uk] has joined #code |
17:21 | | grindhold [quassel@Nightstar-0ona3l.cyan.servdiscount-customer.com] has joined #code |
17:21 | | Echoes-- [rolly@Nightstar-eo05bk.co.comcast.net] has joined #code |
17:21 | | gizmore [kvirc@Nightstar-3s71o0.dip0.t-ipconnect.de] has joined #code |
17:21 | | Tarinaky [tarinaky@Nightstar-e99cts.net] has joined #code |
17:21 | | jerith [jerith@Nightstar-ip7ar2.slipgate.net] has joined #code |
17:21 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code |
17:21 | | celticminstrel [celticminst@Nightstar-50nn7i.dsl.bell.ca] has joined #code |
17:21 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code |
17:21 | | jeroud [sid10043@Nightstar-6br85t.irccloud.com] has joined #code |
17:21 | | simon_ [simon@Nightstar-2og823.pronoia.dk] has joined #code |
17:21 | | Alek [omegaboot@Nightstar-03ja8q.il.comcast.net] has joined #code |
17:21 | | tripflag [im@Nightstar-1sfccr.ocv.me] has joined #code |
17:21 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
17:21 | | ServerMode/#code [+qooooooaooooaooooaooaoooo Vornicus Vornicus Kindamoody|afk Wizard froztbyte himi ErikMesoy McMartin McMartin macdjord|slep Namegduf PinkFreud Derakon[AFK] Derakon[AFK] Tamber iospace JustBob Reiver Reiver Tarinaky jerith jerith celticminstrel Alek Syloq] by *.Nightstar.Net |
17:21 | | ServerMode/#code [+bbbbbbbbbbb *!*@Nightstar-de4a174d.red.bezeqint.net *!*@Nightstar-857c57c7.red.bezeqint.net *!*@583787.CAD79E.827218.F171EB *!*nsJChat@*.optusnet.com.au *!*@FBC920.AABAAF.636B9D.AD957A *!*ujkan@*.sd.cox.net *!*yllnesha@*.at.cox.net *!*VanDamas@Nightstar-c3544f53.davgita.lt *!*GeniusT@F231F3.69D69B.B0C717.411B9D *!*NSwebIRC@*.adam.com.au *!Turkey@*] by *.Nightstar.Net |
17:21 | | ServerMode/#code [+bbbbbbbbbbb *!*@Nightstar-94f440dd.home.otenet.gr *!*bulin*@*.B470A6.385C09.FE4A2D *!fgd@*.wanadoo.fr *!*@Nightstar-hvd.cgc.195.197.IP *!*@F67919.75B938.3B0897.56A93F *!*@*.rv.ipnxtelecoms.com *!*pop@*.ca.comcast.net *!*x@*.ca.comcast.net *!*mIRC@*.hsb.188.78.IP *!*cryptofan@*.mts.251.178.IP *!*jbviuerbg@*.9ov.153.41.IP] by *.Nightstar.Net |
17:21 | | *.Nightstar.Net changed the topic of #code to: Welcome to #Code! || Ask, then hang about till someone appears who can help: We have high latency, but excellent signal. || We <3 newbies. || Rants and monologues are encouraged; many cores, no waiting || Pastebin: http://pastebin.starforge.co.uk/ (Antispam question: answer 'yes') |
17:21 | | mode/#code [+o TheWatcher] by ChanServ |
17:21 | | Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has joined #code |
17:22 | | mode/#code [+o Vash] by ChanServ |
17:41 | | gnolam_ is now known as gnolam |
17:41 | | mode/#code [+o gnolam] by ChanServ |
18:04 | | Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [Connection reset by peer] |
18:09 | | kourbou is now known as kourbou|foodz |
18:27 | < abudhabi> | Hmm. Java, design. I have planets, I have populations, I have empires. Populations belong to empires and are attached to planets. |
18:27 | | kourbou|foodz is now known as kourbou |
18:28 | < kourbou> | lol |
18:28 | < kourbou> | Population.Dispose(); |
18:28 | < abudhabi> | I'm thinking of having a collection of populations in the empire class (all belonging to the empire), and also a collection of populations in the planet class (all attached to the planet), which as I understand, Java lets me do by having both collections have shared members. |
18:28 | < abudhabi> | Am I wrong? |
18:33 | <@ErikMesoy> | Java collections can have shared members. Java also has functions for getting the intersection and other relations of two collections. Does this answer what you want to know? |
18:34 | < abudhabi> | I want to know if my design has major flaws as it is. |
18:46 | < abudhabi> | I definitely want to be able to easily access both lists, when going over empires and planets. |
18:46 | < abudhabi> | Well, each of the lists. |
18:47 | < abudhabi> | Not necessarily need walking between the three at-will, but that would be great if possible. |
18:53 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [[NS] Quit: Tip about keeping secrets: It's easier if you don't know them.] |
19:08 | <~Vornicus> | abudhabi: the biggest difficulty you may have is - so I'm imagining this like Sword of the Stars or Space Empires 4, where planets may have multiple races on each planet, and the population of each race is homogeneous on it - you may, if you're not careful, have deletion anomalies: running out of population on a planet you *must* delete it from both empire and planet populations |
19:11 | < abudhabi> | And if I don't, I get candy (NPE)? |
19:12 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code |
19:13 | <~Vornicus> | Probably not that, but you will get - if you go, uh, "I'm in the empire screen, and I've selected a planet's population, and now I want to see that population in its planet context" and you'll get "I can't find that" errors |
19:16 | < kourbou> | Anyone know a good Unity Custom Input Manager? |
19:16 | < kourbou> | I hate the default one that doesn't let you reprogram keys inside the game. |
19:16 | < abudhabi> | Vornicus: I see. |
19:16 | <~Vornicus> | Or, like, if you're on the planet and one of your metrics is "happiness rank of the Amon'krie population on this planet among all amon'krie in the empire" you'll get "I can't find that in the empire's populations list" |
19:34 | | Derakon[AFK] is now known as Derakon |
19:39 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [[NS] Quit: Tip about keeping secrets: It's easier if you don't know them.] |
19:54 | | catadroid [catalyst@Nightstar-olfuf8.dab.02.net] has joined #code |
20:00 | | catadroid [catalyst@Nightstar-olfuf8.dab.02.net] has quit [[NS] Quit: Bye] |
20:12 | <&McMartin> | abudhabi: UQM has procedural solarsystem generation, but not procedural starmap generation. The locations of the stars are hardcoded and serve as the seeds for planet generation within that system |
20:12 | < abudhabi> | I see. |
20:13 | < abudhabi> | Even Sol? |
20:13 | <@celticminstrel> | Sol is hard-coded too. |
20:14 | <@celticminstrel> | I wouldn't be surprised if UQM's procedural generation is incapable of generating Sol... >_> |
20:14 | < abudhabi> | Haw. |
20:15 | <&McMartin> | Plot systems have an override |
20:15 | <&McMartin> | All homeworlds have overrides. |
20:16 | <&McMartin> | Sometimes the override is just "stick an encounter on planet 1" though |
20:16 | <@celticminstrel> | Or rainbow worlds! |
20:33 | <~Vornicus> | Vash is writing on rice. |
20:39 | <~Vornicus> | oh, this is not #fleet |
21:04 | | Vornicus [vorn@Nightstar-uhn82m.ct.comcast.net] has quit [[NS] Quit: ] |
21:17 | | xenkey [xen@Nightstar-284v6e.range5-81.btcentralplus.com] has joined #code |
21:33 | | xenkey [xen@Nightstar-284v6e.range5-81.btcentralplus.com] has quit [[NS] Quit: Leaving] |
21:38 | | Kindamoody|afk is now known as Kindamoody |
22:22 | | Kindamoody is now known as Kindamoody[zZz] |
22:57 | | Vorntastic [Vorn@Nightstar-uen1kh.ct.comcast.net] has joined #code |
23:11 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
23:28 | | Vorntastic [Vorn@Nightstar-uen1kh.ct.comcast.net] has quit [[NS] Quit: Bye] |
23:31 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ] |
23:37 | | catadroid [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
--- Log closed Sun May 24 00:00:53 2015 |