Skip to content

Instantly share code, notes, and snippets.

View irclog-summarizer
Strawman design for a summarizer version of Moritz's irclogger.
Phase 1
-------
Call the web display that you (Moritz) have currently implemented at
http://irclog.perlgeek.de/perl6/today "Full mode" or Full for short.
"Summarizer mode" is as it sounds like you (Moritz) have in a branch --
a similar display to Full but with a "Summaries checkbox" against
@raiph
raiph / gist:3732447
Created Sep 16, 2012
Feedback for Moritz about irclogger changes
View gist:3732447

What about “Communal logmarks”? To logmark a line that isn’t already logmarked, click it’s time field. From now till someone or something unhighlights it, that line will be highlighted for you. And for everyone else. It’s a communal logmark. Anyone (or anything) can click again to unhighlight.

Original gist below, with couple minor edits.

Feedback for Moritz about irclogger changes

Even if you do nothing else…

I am very happy you’ve done what you’ve done. I say the prognosis just sharply improved for #perl6 summaries, my carpal tunnel pain, and your irclogger software!

@raiph
raiph / gist:3734995
Created Sep 17, 2012
HTML showing odd cell coloring of Moritz's irclogger display
View gist:3734995
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta name="description" content="IRC LOG for channel #perl6" />
<link rel="stylesheet" type="text/css" href="/style.css" title="Irclog Stylesheet" />
<link rel="shortcut icon" href="/moose1.ico" type="image/x-icon" />
<link rel="canonical"
href="/perl6/2012-09-17" />
@raiph
raiph / gist:5079034
Created Mar 4, 2013
Covering gap in #perl6 IRC log 3/2/2013 noon thru 3/3/2013 7am
View gist:5079034
[2013-03-02 07:00:30] -!- mberends [~martin@171-87-143-37.ftth.glasoperator.nl] has quit [Quit: Leaving]
[2013-03-02 07:04:57] <moritz> r: say (1, 2, 3).Array.[0] = 42
[2013-03-02 07:04:59] <p6eval> rakudo 40069f: OUTPUT«42␤»
[2013-03-02 07:06:43] <FROGGS> jnthn: I thought I pulled before that, sorry for the accusation :o)
[2013-03-02 07:07:51] -!- _ilbot [moritz@faui2k3.org] has quit [Remote host closed the connection]
[2013-03-02 07:08:53] <jnthn> FROGGS: np :)
[2013-03-02 07:09:45] -!- kaare__ [~kaare@94.191.203.192.bredband.3.dk] has joined #perl6
[2013-03-02 07:09:48] -!- moritz [moritz@ssh.faui2k3.org] has quit [Remote host closed the connection]
[2013-03-02 07:12:43] -!- moritz [~moritz@p579E998F.dip.t-dialin.net] has joined #perl6
[2013-03-02 07:13:36] -!- kivutar [~kivutar@jol13-2-82-235-181-242.fbx.proxad.net] has quit [Quit: Ex-Chat]
View gist:11267503
ASCII: ( ) [ ] { }
Full width variant:( ) [ ] { }
White variants: ⦅ ⦆ 〚 〛 ⦃ ⦄
Common Western quotation: “ ” ‘ ’ ‹ › « »
Asian:「 」 〈 〉 《 》 【 】 〔 〕 ⦗ ⦘
Asian white variant:『 』 〖 〗 〘 〙
Half width variant: 「 」
Math: ⟦ ⟧ ⟨ ⟩ ⟪ ⟫ ⟮ ⟯ ⟬ ⟭
Decorative: ❛ ❜ ❝ ❞ ❨ ❩ ❪ ❫ ❴ ❵ ❬ ❭ ❮ ❯ ❰ ❱ ❲ ❳
Vertical: ⏜ ⏝ ⎴ ⎵ ⏞ ⏟ ⏠ ⏡
View gist:2714c5decbc9463dd095
grammar BBCode {
regex TOP { (<para> | <code>)* }
regex para { [\N+ [\n|$]]+ [\n|$] }
regex code { '[code]' .* '[/code]' <.ws> }
}
BBCode.parse: Q:to[END];
[code]
a := f()
[/code]
@raiph
raiph / gist:5c6ce5013ff4918eab1060472de4d891
Created Jan 19, 2017
One body shared by multiple signatures (Tentative proposal for 6.d)
View gist:5c6ce5013ff4918eab1060472de4d891
This is one of several gists I've written that relate to several distinct tentative proposals for 6.d that make sense both independently and together.
This gist discusses a long conjectured feature that would work nicely with the other proposals:
Others include:
* [Implicit/explicit mutation in 6.c]().
----
@raiph
raiph / trans.md
Last active Jan 22, 2021
trans DWEM
View trans.md

What this is

My documentation of P6's .trans routine for anyone who reads it.

It may be a step toward updating the official doc and/or cleaning up the relevant spec tests and/or functionality.

I have tried to be clear enough that a future me will be able to make sense of it, and hopefully anyone else who reads this.

It's supposedly exhaustive (definitely exhausting!).

View gist:ad0c6019a285805d3131f1ebf7c64717
================
What I'm starting with
================
Toshiba Satellite Pro C50-A-1E0
4GB RAM
455GB drive
DVD RW drive
Celeron 1005M @ 1.9GHz, 64 bit
@raiph
raiph / .md
Last active Aug 3, 2022
Raku's "core"
View .md

This article drills down to Raku's core: a metamodel ("model of a model") of a model of computation ("how units of computations, memories, and communications are organized") that is actor model semantics "ready".1

Functions

Then mathematical neatness became a goal and led to pruning some features from the core of the language. ... Another way to show that LISP was neater than Turing machines was to write a universal LISP function and show that it is briefer and more comprehensible than the description of a universal Turing machine.

— John McCarthy, History of Lisp

Many presume the mathematical theory of functions (or exact equivalents like lambda calculus) is an adequate computation primitive.