Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2011-01-26

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

All times shown according to UTC.

Time Nick Message
00:31 parsleyfirefly joined #rosettacode
00:35 shortcircuit Hm.
00:35 * shortcircuit wonders where to go to file a bug in OpenSSH.
00:42 shortcircuit Hm. Best guess is it's a won't-fix.
00:43 shortcircuit in ~/.ssh/config, if you use a line like "Host rosettacode.org.", it's treated differently from "Host rosettacode.org", which I'm not sure it should be.
00:46 shortcircuit The trailing . indicates that org is the TLD, whereas omitting it would mean a local host named rosettacode.org.local. or rosettacode.org.your.site.domain.go​es.here.dhcp-x-y-z-a.isp-name.net. would be equally eligible candidates to your system resolver.
00:47 shortcircuit My expectation is that this bugfix ( https://bugzilla.mindrot.org/show_bug.cgi?id=1745 ) is enough of a workaround for them.
00:57 Mathnerd314 left #rosettacode
01:05 Mathnerd314 joined #rosettacode
01:37 shortcircuit TimToady: With the GeSHi fixes, wget -m might be workable, now.
01:39 shortcircuit With the lack of good utility of the XML-based backups, I'm not sure they'll be particularly useful.
01:40 * shortcircuit is trying wget -m atm. Will see the impact on the server.
02:04 TimToady thanks
02:15 shortcircuit You know what? I'm an idiot...I should be running this wget from my other node...
02:18 shortcircuit Oh yeah, much faster.
02:20 shortcircuit Probably doesn't hurt that it spent a while pulling more or less directly from squid.
02:41 SoniaKeys joined #rosettacode
02:57 TimToady will -m do the right thing with mutually recursive links?  you'd think it'd be smart enough...
03:00 shortcircuit Finished a bit ago
03:00 shortcircuit Will tarball in a bit
03:15 shortcircuit Tarballing. Will upload it to the primary node in a about 20-30 minutes, I think.
03:16 Coderjoe did you also specify -k (--convert-links)?
03:20 shortcircuit No. I can do the run again, though; it should pull completely from squid.
03:22 shortcircuit Run's going again. Looks like it's completely pulling from Squid this time. Will probably be finished in about ten minutes.
03:32 shortcircuit It's at about 185M out of about 228M
03:33 * shortcircuit will be curious to see the distribution of where the data volume is.
03:48 shortcircuit TimToady: http://rosettacode.org/resou​rces/rosettacode.org.tar.xz
03:48 shortcircuit I haven't looked inside myself, but there's a wget -mk.
03:49 shortcircuit It may look like it's only 17M, but it expands to 247M.
04:07 shortcircuit Ech. Doesn't handle subpages well.
04:07 shortcircuit Also, several of the off-main-page links seem not to work.
04:29 shortcircuit Trying with different options.
04:33 TimToady 'preciate it
04:56 shortcircuit TimToady: Try the link again. This one was 'wget -mkKpE rosettacode.org'. I don't have time to vet it tonight, but it should be better than the other one.
05:50 SoniaKeys left #rosettacode
06:20 Mathnerd314 left #rosettacode
06:25 snarkyboojum left #rosettacode
08:55 BenBE2 hi.
08:56 BenBE2 When I usually do backups I do plain binary copies of the data files.
08:57 BenBE2 That's not the cleanest solution if the database is running right now, but works best for playing it back - AND is fast.
08:57 BenBE2 When using dump files, hex encoded blobs usually work best. for SQL.
11:09 BenBE2 Okay guys, some more updates ;-)
11:12 BenBE2 shortcircuit oops: The symlink in my homedir for GeSHi is broken; cnan't update it because of this ...
12:30 dom96 joined #rosettacode
13:14 Mathnerd314 joined #rosettacode
13:38 Mathnerd314 left #rosettacode
14:24 BenBE2 shortcircuit Got a closer look on the server: /var/www is 0:33 with mode 750 and since I'm neither 0 nor 33 it's inaccessible for me.
14:26 BenBE2 At least provide 754 for everything above the actual directory and chown 1002:33 with perm 750 below.
14:48 shortcircuit BenBE2: Whoops; I thought I checked that you'd be able to get in there.
14:51 * shortcircuit discovers a file in his prgmr vps node named 'swap', in /var. Last modified 2009-12-27. lsof doesn't show it open anywhere.
14:51 shortcircuit Weird.
14:52 slavik lol
14:53 shortcircuit Hm. I guess that's about when this node was spun up. I didn't migrate the server until a month or so later, IIRC.
15:00 shortcircuit BenBE2: Permissions fixed; you should be able to get in and change things as before.
15:04 BenBE2 Yep. works.
15:04 BenBE2 Updated files placed.
15:05 BenBE2 Yeah, but it's not the uptime ;-)
15:22 BenBE2 left #rosettacode
15:30 BenBE joined #rosettacode
15:31 slavik BenBE: dialup? O.o
15:55 shortcircuit TimToady: It doesn't feel like I'm going to be able to do any more attempts at mirroring this week. Try the .tar.xz in the resources, see if that works.
15:56 shortcircuit Anyone interested, go ahead and try other mirroring tools. Just A) don't feed it your session cookie(!), and B) try to coordinate in here.
15:56 shortcircuit As long as there are only one or two active connections from mirrors, it should be fine.
15:57 shortcircuit wget -m used a single connection to pull all the data in under (I think) twenty minutes.
16:12 parsleyfirefly1 joined #rosettacode
16:16 parsleyfirefly left #rosettacode
16:16 parsleyfirefly1 left #rosettacode
16:17 parsleyfirefly joined #rosettacode
16:21 TimToady shortcircuit: I pulled the 1st and 2nd one last night; I assume there wasn't a 3rd one this morning
16:21 shortcircuit TimToady: The 2nd one from last night is probably the last.
16:21 shortcircuit It's the last for the moment, certainly.
16:23 TimToady thanks
16:23 shortcircuit TimToady: Do either of those look utilable for your purposes?
16:24 TimToady I can at least get to the code, which is the important part
16:25 TimToady the styling is optional, at least until someone starts adding ColorForth
16:26 shortcircuit I suppose you're not particularly interested in the Whitespace language. :)
16:26 shortcircuit Hm. I thought we had some examples of that.
16:27 shortcircuit Ah well. Just as well that we don't; I don't need to have to go in and come up with a happy medium for the highlighter extension behavior again.
16:27 TimToady well, Perl has ACME::Bleach, which turns the rest of the program into a whitespace language
16:28 TimToady but as long as you don't put it up as a problem :)
16:42 mwn3d_phone Someone should make a lookup table of whitespace commands to forth commands
16:42 shortcircuit Are they that closely related?
16:42 slavik brainf*ck?
16:44 kpreid left #rosettacode
16:46 mwn3d_phone There are "stack manipulation" commands which should map directly
16:46 mwn3d_phone I can see dup and swap and drop
16:49 mwn3d_phone I can't quite tell from the website how to do interget literals though...
16:50 mwn3d_phone Interget? Wtf is that?
16:50 mwn3d_phone Integer
16:50 mwn3d_phone I think I need more sleep
16:51 opticron nah
16:51 opticron just keep on trucking
16:51 opticron I'm doing it right now, too
16:51 opticron running on 4 hours
16:54 shortcircuit slavik: There's an open call for QuickSort in BF. I expected someone ENKI-][ to write a Forth-to-BF converter, and then write the quicksort in Forth.
16:54 slavik oh god ...
16:54 Hypftier hm, but converted programs on RC aren't very fun, are they?
16:55 Hypftier I mean, with handwritten code, you can at least structure it well and so on ... ok, maybe not so much in Brainfuck, but still, the code should be cleaner ;)
17:04 mwn3d_phone If we start using converted code for examples maybe we should mark them with disclaimers
17:05 mwn3d_phone "This code was written by a computer. It is not necessarily nice, efficient, or idiomatic. As with all examples here, use it at your own risk."
17:17 FireFly joined #rosettacode
17:24 shortcircuit Actually, in the case of BF, nothing stops you from injecting converter notes and additional comments between blocks of BF-recognized instructions. :)
17:51 Quadrescence left #rosettacode
17:58 Quadrescence joined #rosettacode
17:58 Quadrescence left #rosettacode
17:58 Quadrescence joined #rosettacode
18:13 Quadrescence left #rosettacode
18:18 Quadrescence joined #rosettacode
18:27 Quadrescence left #rosettacode
18:33 Quadrescence joined #rosettacode
18:48 mwn3d_phone Whitespace is the same way. Some of their examples have that.
18:48 mwn3d_phone You just need a suitable replacement for spaces unless you can match it up to actual code
18:49 parsleyfirefly left #rosettacode
19:00 mwn3d_phone1 joined #rosettacode
19:03 mwn3d_phone left #rosettacode
19:03 mwn3d_phone1 is now known as mwn3d_phone
20:03 parsleyfirefly joined #rosettacode
21:36 BenBE left #rosettacode
21:39 mwn3d_phone left #rosettacode
21:42 Mathnerd314 joined #rosettacode
21:51 mwn3d_phone joined #rosettacode
21:58 parsleyfirefly left #rosettacode
22:09 mwn3d_phone left #rosettacode
22:10 mwn3d_phone joined #rosettacode
22:47 FireFly left #rosettacode
22:52 BenBE joined #rosettacode
22:54 BenBE shortcircuit If you add the proper styles for it whitespace should even be highlighted on the RC wiki ;-)
22:55 BenBE slavik What did you mean regarding dialup?
22:55 mwn3d_phone BenBE: we had a problem with it before because the lang tags would eat leading and trailing whitespeace
22:56 mwn3d_phone BenBE: IRC says you're connected from a server ending in "t-dialin.net"
22:57 BenBE mwn3d_phone Integer literals in whitespace are embedded in binary with tab (1) and space (0) up to the next linebreak with LittleEndian; in places where one is expected.
22:58 BenBE mwn3d_phone That's a DSL line anyway.
22:59 BenBE T-Dialup just means that's a dynamically assigned IP for a home customer.
22:59 BenBE Yeah, I remember the whitespace issue ...
22:59 BenBE Well, I should update the Village Pump to include the latest updates I pushed.
22:59 BenBE Well, sometime later maybe.
23:02 BenBE shortcircuit BF and comments: Only as long as you don't need any , . or other marks in your comments ;-) Brackets maybe hard too ;-)
23:02 mwn3d_phone Does little endian mean MSB first?
23:06 BenBE No, on paper you usually write numbers MSB first.
23:06 BenBE And on paper that is Big Endian ;-)
23:13 mwn3d_phone At some point I was under the impression that endianness didn't refer to bit order but rather byte order in memory
23:13 mwn3d_phone I never really liked the term anyway
23:13 mwn3d_phone Probably because I never nailed down its meaning
23:13 mwn3d_phone So I would say "MSB first" or "largest byte first"
23:14 ENKI-][ joined #rosettacode
23:20 BenBE Well, there are systems with LSB in memory adressing order for the bytes, but MSb for the wires giving 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 ... ;-)

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