HackerTrans
TopNewTrendsCommentsPastAskShowJobs

tonyg

no profile record

Submissions

I-Regexp: An Interoperable Regular Expression Format

datatracker.ietf.org
3 points·by tonyg·13 วันที่ผ่านมา·0 comments

I Want You to Understand Chicago

aphyr.com
735 points·by tonyg·8 เดือนที่ผ่านมา·486 comments

Recreating the Canon Cat document interface

lab.alexanderobenauer.com
118 points·by tonyg·9 เดือนที่ผ่านมา·16 comments

The $200M Reason AMQP Became a Standard – A CTO's Inside Story [video]

youtube.com
3 points·by tonyg·10 เดือนที่ผ่านมา·0 comments

comments

tonyg
·13 วันที่ผ่านมา·discuss
That's one of the reasons RFC 9485, "I-Regexp: An Interoperable Regular Expression Format", is important.

https://datatracker.ietf.org/doc/html/rfc9485
tonyg
·5 เดือนที่ผ่านมา·discuss
*Mitchell Wand
tonyg
·6 เดือนที่ผ่านมา·discuss
I will not. I refuse
tonyg
·10 เดือนที่ผ่านมา·discuss
Is .map specialcased or do user functions accepting callbacks work the same way? Because you could do the Scott-Mogensen thing of #ifTrue:ifFalse: if so, dualizing the control-flow decision making, offering a menu of choices/continuations.
tonyg
·10 เดือนที่ผ่านมา·discuss
(1998). Java existed, but neither Scala nor Java-with-generics did.

From the conclusion:

"We have presented a programming protocol, Extensible Visitor, that can be used to construct systems with extensible recursive data domains and toolkits. It is a novel combination of the functional and object-oriented programming styles that draws on the strengths of each. The object-oriented style is essential to achieve extensibility along the data dimension, yet tools are organized in a functional fashion, enabling extensibility in the functional dimension. Systems based on the Extensible Visitor can be extended without modification to existing code or recompilation (which is an increasingly important concern)."
tonyg
·2 ปีที่แล้ว·discuss
Strange protocol. Why not pass a path to a file that should be `touch`d and/or written to, I wonder? Would avoid the complexity of sockets.
tonyg
·4 ปีที่แล้ว·discuss
Per RFC 8259:

      ws = *(
              %x20 /              ; Space
              %x09 /              ; Horizontal tab
              %x0A /              ; Line feed or New line
              %x0D )              ; Carriage return
tonyg
·8 ปีที่แล้ว·discuss
The analogous would be the Go-style represent-a-sum-badly-as-a-product,

  struct nonzero_t {
    int is_negative;
    unsigned int one_less_than_the_absolute_value;
  };
which, under interpretation, ranges from -(2^32) to -1 and +1 to +(2^32).
tonyg
·8 ปีที่แล้ว·discuss
It's perfectly possible in languages with ordinary ADTs.

  data Nat = Z | S Nat
  data NonZeroNat = OnePlus Nat
  data NonZeroInt = Negative NonZeroNat | Positive NonZeroNat