Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2011-01-22

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

All times shown according to UTC.

Time Nick Message
02:01 parsleyfirefly joined #rosettacode
02:04 parsleyfirefly left #rosettacode
02:04 parsleyfirefly joined #rosettacode
02:15 SoniaKeys left #rosettacode
03:14 SoniaKeys joined #rosettacode
04:28 parsleyfirefly left #rosettacode
04:33 mwn3d_phone joined #rosettacode
05:08 Quadrescence left #rosettacode
05:31 Mathnerd314 left #rosettacode
05:50 Coderjoe left #rosettacode
06:16 Coderjoe joined #rosettacode
09:26 SoniaKeys left #rosettacode
10:02 Coderjoe left #rosettacode
10:04 Coderjoe joined #rosettacode
12:06 Quadrescence joined #rosettacode
14:48 BenBE2 Hi shortcircuit
14:48 BenBE2 http://blog.benny-baumann.de/?p=976
14:48 fedaykin "Final crafting on GeSHi 1.0.8.10 << BenBE's humble thoughts"
14:50 BenBE2 Sorry for the IPv6 problems with the site; I'm aware of them (using IPv6 myself, but currently can't do much about it)
14:53 shortcircuit BenBE2: Good timing; I've finally got a GUI browser at home. :)
15:00 BenBE2 shortcircuit I just wanted to drop a note before uploading the updated files to the server.
15:00 BenBE2 People now also can use bash for doing "user# command" style notations.
15:01 shortcircuit Sweet.
15:01 BenBE2 There's now html4strict and html5 for HTML highlighting.
15:02 BenBE2 Also CDATA in html is handled as a kind of comment.
15:02 shortcircuit BenBE2: FYI, I plan to disable keyboard authentication in the server's sshd, so if you haven't set up key auth, you should do so.
15:02 * shortcircuit is out for a bit
15:03 BenBE2 shortcircuit uses PK auth all the time ;-)
15:05 BenBE2 On World IPv6 Day I plan on going a step further, than the IPv6 Day project: Disable IPv4 for 24 hours ;-)
15:18 BenBE2 New GeSHi files are online.
15:18 BenBE2 ldif, spark and euphoria not uploaded since there are some issues regarding langcheck validity or other pending feedback.
15:23 shortcircuit BenBE2: I expected that. :)
15:23 shortcircuit (re, PK auth all the time)
15:24 shortcircuit I'm probably a week or two out from enabling native IPv6 at home.
15:24 shortcircuit BenBE2: Is your 'humble thoughts' blog in RC's planet?
15:24 parsleyfirefly joined #rosettacode
15:25 shortcircuit If you could provide a tag feed of RC-relevent content, I'll add that to the planet, so followers of the planet can see as RC sees additional updates.
15:26 BenBE2 shortcircuitIDK if it is. But only the GeSHi section is english; all the rest usually is German content.
15:26 BenBE2 All content in the GeSHi category is english; I don't know if there's a specific category feed though ...
15:27 shortcircuit http://blog.benny-baumann.de/?feed=rss2&amp;tag=geshi
15:27 shortcircuit Mind if I add that to the planet?
15:28 BenBE2 Should work fine.
15:30 BenBE2 http://blog.benny-baumann.de/?feed=rss2&amp;cat=3 might be an alternative.
15:37 BenBE2 shortcircuit Please ask Kevin Reid to use GeSHi for highlighting. I can't stand plaintext ;-)
15:37 kpreid hm?
15:37 kpreid I haven't done anything lately
15:37 kpreid and I always use <lang> except for ti-89 which needs a special font
15:39 BenBE2 http://rosettacode.org/planet/ --> The code looks plaintext there ...
15:39 fedaykin "Planet Rosetta Code"
15:39 kpreid oh, my blog, not RC
15:39 kpreid you have a worthwhile point
15:40 BenBE2 BTW: Do you have a good, linkable documentation for the libc which I could include for GeSHi?
15:41 BenBE2 The current list of functions in GeSHi for C is largely incomplete.
15:45 FireyFly joined #rosettacode
15:46 BenBE2 k, so much for the list of functions: http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/libc.html
15:46 fedaykin "http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/libc.html" http://rldn.net/705
16:00 shortcircuit BenBE2, kpreid: FWIW, when I need to paste code snippets in my blog, I use a <lang> block on a scratch page in RC to get code highlighted with CSS classes, which I then float around.
16:00 shortcircuit I put definitions for the CSS classes in a couple places, but that's about it.
16:00 kpreid I don't entirely approve of geshi's classification, among other things
16:01 kpreid I'm probly going to leave it as is until such time as I move to a custom(izable) blog platform
16:01 BenBE2 shortcircuitWP-Syntax updated to use GeSHi 1.0.8.9 recently.
16:02 BenBE2 kpreid You have an example at hand?
16:04 shortcircuit BenBE2: My current 'blogging platform' has me write the post on multiply.com, which crossposts it to LiveJournal, from which it gets pulled into a couple planets.
16:04 kpreid hm actually, having reviewed what I wrote into e.php, I retract that remark; I have insufficient recollection to discuss with certainty
16:04 BenBE2 shortcircuit I host my blog myself; it's much easier and leaves me at least limited control on my content.
16:05 shortcircuit BenBE2: Oh, I've got all the control I need. I don't care to host the blog myself, as I don't want to spend the time keeping another webservice patched and secured.
16:06 shortcircuit I mean, if it came to it, I'd probably be happy writing one that used Disquis (or similar) for comments, and had no server-controlling functions accessible from anywhere but a terminal.
16:08 shortcircuit I think masak from #perl6 does similar. I don't remember if he's got a commenting system, though. (I only ever see the content through RSS readers)
16:09 BenBE2 Well I had to enable a Captcha in addition to the excessive filtering I do in the background as the incoming spam got annoying ...
16:09 BenBE2 50 spams in 2 days ...
16:10 BenBE2 I hope even though it's outlined in German it should be easy to understand when commenting ;-)
16:30 shortcircuit kpreid: Hm. Re, TI-89. Is the font appropriately-licensed that I can serve it up from RC's side?
16:31 kpreid that's not the problem
16:31 kpreid or rather, that's not the reason I do something differently
16:31 shortcircuit Another possibility is that I might be able to do some kind of glyph or image generation magic as is done with <math>.
16:31 kpreid it's simply that if I use a <lang> then the font selection style isn't there
16:31 kpreid it could just as well be added to the stylesheet
16:32 kpreid if the font isn't there the characters will be wrong but not desperately so
16:32 kpreid (in most cases)
16:32 shortcircuit Easy enough; each 'pre' block generated by the lang tag gets per-language CSS classes assigned to it.
16:32 kpreid right, so just stick font-family: 'TI Uni', monospace; on it and my gripe will be gone
16:33 shortcircuit Heh
16:33 BenBE2 Please ensure that the font is served as a downloadable font from the server.
16:33 BenBE2 Otherwise you breack it for people who don't have it.
16:33 shortcircuit BenBE2: I'll need some technical details on how to do that.
16:33 kpreid BenBE2: *NO*.
16:34 shortcircuit Also, how to set a fallback font.
16:34 kpreid CSS fallbacks work fine. Nothing is more-broken than without this rule.
16:34 kpreid font-family: 'TI Uni', monospace; <- that's a fallback right there
16:37 BenBE2 shortcircuit http://www.netmechanic.com/news/vol3/css_no15.htm
16:37 fedaykin "CSS Tip: Get Any Font You Want"
16:37 BenBE2 This might help.
16:37 kpreid making the font downloadable is *useful* but is an *additional* refinement
16:38 shortcircuit Stuck in a corner atm.
16:38 BenBE2 Which I'd go for since without the TI font most of the TI programs get unreadable;-)
16:38 shortcircuit On the system I'm in, I only allocated 2GB for /home, because I needed motivation to get lvm operational and get my usual /home back.
16:39 shortcircuit Makes testing tricky.
16:39 shortcircuit Anyway, I'll look at that in a bit.
16:39 shortcircuit I'm probably going to be offline for a few hours, starting shortly.
16:40 shortcircuit Normally, I'd have a laptop I'd connect from, but _that_ machine is out of commission, too.
16:42 BenBE2 That's unfortunate ...
16:42 BenBE2 BTW: Just adding some of the LibC functions to GeSHi.
16:43 shortcircuit This one is almost planned; I needed to swap out a drive for RMA, and wound up taking the opportunity to do an OS switch. Laptop died the next day, haven't had time to poke at it.
16:44 BenBE2 Take a long stick and keep your distance ;-)
17:01 parsleyfirefly1 joined #rosettacode
17:02 BenBE2 Another small update: The C highlighter now has the standard C library functions included.
17:03 parsleyfirefly left #rosettacode
17:13 shortcircuit ls
17:13 shortcircuit ls
17:14 sorear ls: This is IRC
17:14 BenBE2 ???
17:14 shortcircuit *snort*
17:14 shortcircuit Didn't realize I had the mouse over that window
17:16 mwn3d_phone left #rosettacode
17:17 mwn3d_phone joined #rosettacode
17:26 shortcircuit What's the lang tag parameter for the TI-89 code?
17:26 shortcircuit Mm. ti89b?
17:27 BenBE2 shortcircuit Can you pull a manual update on the planet?
17:28 shortcircuit BenBE2: Yes, but not right this second. I also haven't updated the configuration to pull in your geshi feed.
17:28 BenBE2 There's no ti89 langfile AFAIK yet ...
17:29 shortcircuit BenBE2: The way RC's glue extension for GeSHi works, if there's no language file available for the specified language, it falls back to 'text' as far as GeSHi's concerned.
17:29 BenBE2 Ahhh, k.
17:30 BenBE2 Yeah, there was something like this.
17:30 shortcircuit Meanwhile, it still adds a couple CSS classes to the pre block. 'highlighted_source' and '(whatever the lang name was)'
17:33 shortcircuit kpreid: Common.css updated. It'll probably be quite some time before it percolates around, though; between Squid and local caching, old versions are going to be wedged in for a while.
17:34 BenBE2 The updated GeSHi sources should be visible instantly, if not cached. Otherwise tomorrow IIRC.
17:35 shortcircuit I can easily clear _some_ of the serverside caching. (squid's an odd beast I don't touch much)
17:35 shortcircuit Ok, reset MW's cache epoch. Squid's the only barrier, now.
17:36 BenBE2 okay. thx.
17:38 BenBE2 Especially C, bash and JS should have noticeable differences. Also some ALGOL68 and Go fixes.
17:41 * shortcircuit pokes BenBE2, points at planet.rosettacode.org
17:41 fedaykin "Planet Rosetta Code"
17:42 mwn3d_phone left #rosettacode
17:45 BenBE2 I wonder why the planet doesn't have proper colors here ...
17:45 shortcircuit I don't have the CSS classes defined
17:48 BenBE2 Someone here knows Lua?
17:54 BenBE2 What kind of numbers are supported for Lua?
17:55 shortcircuit I added line-height:120% to the planet's .css; BenBE2's use of a serif font made it tricky for me to read there.
17:55 shortcircuit Mm.
17:55 shortcircuit http://www.lua.org/manual/5.1/
17:57 shortcircuit http://www.lua.org/manual/5.1/manual.html#2.1
17:58 shortcircuit The part you're interested in is probably: "A numerical constant can be written with an optional decimal part and an optional decimal exponent. Lua also accepts integer hexadecimal constants, by prefixing them with 0x."
17:58 fedaykin "404 Page Not Found"
17:58 fedaykin "Lua 5.1 Reference Manual - contents"
18:00 BenBE2 Or in GeSHi terms:
18:00 BenBE2 GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_HEX_PREFIX |
18:00 BenBE2 GESHI_NUMBER_FLT_NONSCI | GESHI_NUMBER_FLT_NONSCI_F |
18:00 BenBE2 GESHI_NUMBER_FLT_SCI_SHORT | GESHI_NUMBER_FLT_SCI_ZERO,
18:25 BenBE2 Okay, the Lua file got some updates too ...
18:25 SoniaKeys joined #rosettacode
18:27 BenBE2 Could someone test please?
18:27 BenBE2 http://benbe.home.omorphia.de:43815/geshi-misc/profiling/geshi-trunk/contrib/example.php
18:27 fedaykin "GeSHi examples" http://rldn.net/7uK
18:28 BenBE2 I'm especially looking for hints on the coloring.
18:31 shortcircuit LUA apparently has a chatroom on Freenode. #lua
18:32 shortcircuit BenBE2: If you can provide an operable test environment, you might be able to find someone interesting in offering advice.
18:34 FireyFly left #rosettacode
18:37 BenBE2 shortcircuitThat is my test environment. Just hack on the CSS with Firebug ;-)
18:37 shortcircuit Ah.
18:38 shortcircuit Just an FYI... you did notice http://irclog.perlgeek.de/rosettacode/today ?
18:38 fedaykin "IRC log for #rosettacode, 2011-01-22"
18:41 BenBE2 Oh, cool ;-)
18:42 shortcircuit There's still #rosettacode-unlogged, if you need a place for links that won't wind up publicly-logged.
18:45 shortcircuit Well, either background-color needs to be darker, or any instance of #9c9 should be changed to #6c6
18:45 shortcircuit er
18:45 shortcircuit #696
18:48 shortcircuit #b1b100 to #a90 looks nicer, IMO.
18:50 shortcircuit font-weight:900 on .sy0 helps, too; otherwise, it's hard to see the .
18:53 shortcircuit .st0 to #f66 matches the general saturation level better, and the red doesn't pop out as disproportionately.
18:54 BenBE2 You aren't forced with the current colors; I don't quite like them the way they are right now.
18:55 mwn3d_phone joined #rosettacode
18:55 * shortcircuit is disappearing for a while.
18:55 BenBE2 ATM the hue for all the keywords is the same; that's not making things easier to read :(
18:55 shortcircuit I'd suggest a graduated saturation level.
18:56 shortcircuit Most saturated for .k1, less for .k2, less still for .k3, etc.
18:56 BenBE2 kakushinaide ;-)
18:56 BenBE2 k1 = structural, k2 = operators, k3 = functions, k4 = constants, k5 = types.
18:56 shortcircuit Honestly, I wish more language files paid greater attention to their keyword categories, to take advantage of visual relations.
18:57 BenBE2 Jep. That's just what I did a moment ago with Lua ;-)
18:58 BenBE2 The released language file did have only ONE keyword group.
18:58 BenBE2 But unfortunally there's not much response to my question in #Lua ... :(
19:36 sorear I know Lua what do you need
19:44 BenBE2 Have a look at the following link and try the color scheme there:
19:44 BenBE2 http://benbe.home.omorphia.de:43815/geshi-misc/profiling/geshi-trunk/contrib/example.php
19:44 fedaykin "GeSHi examples" http://rldn.net/7uK
19:46 BenBE2 You can use Firebug to change the style sheet or simular tools like stylish. If you find problems with the highlighting itself, drop me a note.
19:47 BenBE2 shortcircuitThe shortlinks produced by this bot cause NoScript's XSS-protection to alert me with a XSS attemp.
20:02 parsleyfirefly joined #rosettacode
20:07 parsleyfirefly1 left #rosettacode
20:16 BenBE2 left #rosettacode
20:16 BenBE2 joined #rosettacode
20:33 BenBE3 joined #rosettacode
20:33 BenBE3 left #rosettacode
20:33 BenBE3 joined #rosettacode
20:33 BenBE3 is now known as BenBE
20:36 BenBE2 left #rosettacode
21:27 BenBE3 joined #rosettacode
21:27 BenBE3 left #rosettacode
21:27 BenBE3 joined #rosettacode
21:27 BenBE left #rosettacode
22:10 parsleyfirefly left #rosettacode
23:28 SoniaKeys left #rosettacode

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