Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2012-07-07

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:04 ttmrichter joined #rosettacode
01:05 mwn3d_phone1 joined #rosettacode
01:22 mwn3d_phone joined #rosettacode
05:26 mischi joined #rosettacode
05:52 sirdancealot joined #rosettacode
05:58 mischi joined #rosettacode
08:10 GlitchMr joined #rosettacode
08:14 sorear joined #rosettacode
13:04 GlitchMr joined #rosettacode
13:42 BenBE2 mikemolJust being working on the GeSHi update/releases.
15:17 mwn3d_phone1 joined #rosettacode
15:33 mwn3d_phone joined #rosettacode
15:41 mikemol BenBE2: Cool
15:47 mwn3d_phone1 joined #rosettacode
15:50 BenBE2 mikemol Just having to clean up quite some stuff here to finish the release.
15:52 * mikemol nods
15:52 mikemol Hey, you offered hosting for Rosetta Code a while back.
15:53 mikemol I was thinking about that, and while I don't intend to move full hosting away from prgmr, I was thinking that setting up a proxy server for local serving of cached objects might not be a bad idea.
15:56 mikemol Not yet sure how to manage  proper client locality, though. Anycast won't work as I don't have PI space, and I'm not sure DNS is a good option, as it's likely to result in US clients making HTTP requests against European servers.
15:59 mikemol I don't want to do things like "us1.rosettacode.org" and "de1.rosettacode.org", as I don't want links to those domains becoming permanent fixtures of the web.
16:01 mikemol I could *probably* get PI space in IPv6, and probably even get prgmr to announce it for me, but anyone who wants to host an RC mirror proxy would have to be able to get their ISP to announce for them as well.
16:02 mikemol (PI space in IPv4? fuhgeddaboudit.)
16:07 kpreid joined #rosettacode
16:12 eMBee PI?
16:26 BenBE2 mikemol Yeh, I wonder what would be a good choice here ...
16:27 BenBE2 Latency-wise I think having a round-robin in DNS with every server being just a proxy to your internal one might be an option.
16:43 mikemol BenBE2: When people connect to rosettacode.org, they currently connect to a squid proxy.
16:43 mikemol That can act as a parent cache to any other, really.
16:46 mikemol eMBee: "Provider-Independent". Basically, you get your own IP address block independent of your ISP's, but you allow your ISP to manage routing announcements.
16:48 mikemol From ARIN, that looks to cost a minimum of $1,250 US up front for the addresses, $500 US for the initial registration, and $100 US annual as a maintenance fee. And that's just what you pay to ARIN.
16:50 mikemol Arrangements with your ISP for BGP announcement agreements is a separate thing. As may be transit agreements so packets destined to your address range will make it across intermediate networks.
16:51 mikemol (AFAIK, this last is only fundamentally an issue if you want to be accessible to people for whom all network paths go through Cogent.)
17:01 BenBE2 mikemol So Using this parent cache as source for other caches with a round-robin on the secondary actually might be an option ... I just don't know how feasable it is.
17:01 BenBE2 At least PI doesn't seem to be an option unless you know you'll get that money back in somehow.
17:01 mikemol Meh. At this point, I don't expect RC to get me money back. And I'm no longer so personally tight on money that that's a problem.
17:04 mikemol Anyway, the caching proxy thing is trivial to try. Set up a public Squid proxy which only allows access to rosettacode.org, listening on port 80, for starters. Then I can add its IP addresses to RC's DNS, and we can see if it breaks. Any additional tuning can follow that.
17:08 BenBE2 Yeah, maybe test this later today. Just have to grab the Rexxfiles for GeSHi so I can fix the release up ...
17:08 * mikemol is away for the rest of the foreseeable day
17:42 * BenBE2 is fed up fixing peoples' language files containing errors you could easily find with the langcheck tool.
17:42 BenBE2 orse: I just received 3 language files roughly containing the same errors, ranging from missing specs, syntax errors, ...
18:22 eMBee mikemol: thanks. PI seems not really worth it unless you have a lot of computers. isn't that effectively like becoming your own provider with a set of ip addresses and getting your upstream provider to route for you?
19:34 SHUPFS joined #rosettacode
19:40 sirdancealot joined #rosettacode
20:37 mwn3d_phone1 joined #rosettacode
20:49 mikemol eMBee: More or less. Though the "worth it" question is very debateable. PI's chief value is avoiding the costs of renumbering when you switch ISPs.
20:51 mikemol For example, when I switched from Slicehost to Linode, I had to renumber. When I switched from Linode to prgmr, I had to renumber. Even while at prgmr, I've had to renumber, because prgmr's upstream jacked up the price they were charging prgmr to lease IPs. If I'd been on IPs owned by prgmr, that wouldn't have occurred.
20:54 mikemol BenBE2: You know, things like codepad.org have become more and more common of late. Perhaps you could set up a submission page which ran langcheck and spat out any errors on rejection?
20:54 fedaykin "codepad"
20:54 mikemol Certainly, arbitrary PHP code execution is an ugly thing, but I suspect it's possible to sufficiently lock it down.
20:55 sorear BenBE2: make an automated submission tool that runs langcheck.  tell people you won't accept files any way except the tool.
20:55 mikemol Probably want to use an instance of php on fastcgi, with fastcgi running as 'nobody' and the php instance stripped of all extensions.
20:55 sorear ...I'm late to the party
20:55 * mikemol passes out party hats.
20:56 mikemol s'ok. It's a very, very slow party spanning many, many hours.
20:56 mikemol window 5
20:56 mikemol er.
22:15 mwn3d_phone joined #rosettacode
22:16 BenBE2 sorear I already do; just look into the documentation.
22:17 BenBE2 And one of the recent languages that had trouble was rexx ...
22:17 BenBE2 IDK who noticed the discussion about it on RC.
22:18 BenBE2 Anyone here good at Haskell?
22:19 * BenBE2 needs some tipps optimizing http://www.entwickler-ecke.de/viewtopic.php?p=665376#665376
22:19 fedaykin "196-Algorithmus - Entwickler-Ecke" http://rldn.net/H2H

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary