HackerTrans
TopNewTrendsCommentsPastAskShowJobs

oandrew

no profile record

comments

oandrew
·3 года назад·discuss
Iterm2 has tmux control mode support that enables somewhat native ui: https://iterm2.com/documentation-tmux-integration.html

There is also wezterm with its own mux server implementation: https://wezfurlong.org/wezterm/multiplexing.html
oandrew
·3 года назад·discuss
Check this out: https://github.com/oandrew/ipod-gadget

It's a USB gadget kernel module that pretends to be an iPod to stream music to car/etc.
oandrew
·3 года назад·discuss
I've observed worse performance with caddy+http3 so I disabled it. That was especially noticable on larger files
oandrew
·4 года назад·discuss
.b
oandrew
·4 года назад·discuss
No, since rust async is stackless. There is a stackful coroutine implementation for Rust: https://github.com/Xudong-Huang/may
oandrew
·5 лет назад·discuss
One feature I really wish for in shells is something similar to Perl's unquoted strings / single line concise HEREDOC syntax / raw literal syntax. e.g.

  $ echo q(no ' escaping ` required " here)
  no ' escaping ` required " here
This would make typing sql / json much easier. To my knowledge none of the shells implement this. Does anyone know why?
oandrew
·5 лет назад·discuss
bash 4 supports `|&` as an alternative to `2>&1` which looks better in pipelines e.g.

  $ docker logs container |& grep word
oandrew
·5 лет назад·discuss
Interesting. Confluent Avro + Schema registry + Kafka uses exactly the same approach - binary serialized Avro datums are prefixed with schema id which can be resolved via Schema registry
oandrew
·5 лет назад·discuss
So basically it's Amazon's version of Apache Avro. Avro supports binary/json serialization, schema evolution , logical types (e.g. timestamp) and other cool stuff.

https://avro.apache.org/docs/current/spec.html
oandrew
·5 лет назад·discuss
Yes but typically with some sort of batching proxy in front of it

e.g. https://clickhouse.com/docs/en/interfaces/third-party/proxy/