HackerTrans
トップ新着トレンドコメント過去質問紹介求人

tonyg

no profile record

投稿

I-Regexp: An Interoperable Regular Expression Format

datatracker.ietf.org
3 ポイント·投稿者 tonyg·13 日前·0 コメント

I Want You to Understand Chicago

aphyr.com
735 ポイント·投稿者 tonyg·8 か月前·486 コメント

Recreating the Canon Cat document interface

lab.alexanderobenauer.com
118 ポイント·投稿者 tonyg·9 か月前·16 コメント

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

youtube.com
3 ポイント·投稿者 tonyg·10 か月前·0 コメント

コメント

tonyg
·13 日前·議論
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 か月前·議論
*Mitchell Wand
tonyg
·6 か月前·議論
I will not. I refuse
tonyg
·10 か月前·議論
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 か月前·議論
(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 年前·議論
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 年前·議論
Per RFC 8259:

      ws = *(
              %x20 /              ; Space
              %x09 /              ; Horizontal tab
              %x0A /              ; Line feed or New line
              %x0D )              ; Carriage return
tonyg
·8 年前·議論
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 年前·議論
It's perfectly possible in languages with ordinary ADTs.

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