News for hackers. Stuff that matters.

oandrew

Re:Lobste.rs is now running on SQLite on Friday July 17, 2026 @11:48PM (#48955026)
Thank you!
Re:Lobste.rs is now running on SQLite on Friday July 17, 2026 @06:29PM (#48952894)
I'd appreciate a lobste.rs invite if anyone has one. Email is in my profile. Thanks!
Re:Zellij New WASM Plugin System on Tuesday June 27, 2023 @08:31PM (#36500687)
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

Re:Configure a Raspberry Pi as a USB Device on Saturday June 03, 2023 @12:36PM (#36178093)
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.

Re:Avoiding HTTP/3 (for a while) as a pragmatic default on Sunday April 02, 2023 @04:51PM (#35415063)
I've observed worse performance with caddy+http3 so I disabled it. That was especially noticable on larger files
Re:Oven: The Company Behind Bun on Tuesday August 23, 2022 @11:32PM (#32574691)
.b
Re:Async Rust doesn't have to be hard on Friday June 03, 2022 @05:09PM (#31613646)
No, since rust async is stackless. There is a stackful coroutine implementation for Rust: https://github.com/Xudong-Huang/may
Re:Practical Shell Patterns I Use on Monday January 10, 2022 @03:25PM (#29881708)
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?
Re:Practical Shell Patterns I Use on Monday January 10, 2022 @03:14PM (#29881476)
bash 4 supports `|&` as an alternative to `2>&1` which looks better in pipelines e.g.

  $ docker logs container |& grep word
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
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

Yes but typically with some sort of batching proxy in front of it

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

Re:Time(1) and CPU Frequency Scaling on Friday July 16, 2021 @12:52PM (#27858237)
you can skip shell built-ins by pretending "command":

  $ time -V
  -V: command not found

  $ command time -V
  GNU time 1.7
Re:Why hardly anyone buys Google's Pixel phones on Tuesday May 18, 2021 @10:42AM (#27195237)
No more security updates from Google though. That'll force me to upgrade sooner that I would like. LineageOS is an option but I'm not sure how secure it is.
Re:Observable Plot on Tuesday May 04, 2021 @04:01PM (#27042202)
How does this compare to Apache Echarts (https://echarts.apache.org/en/index.html) ?

p.s. My favorite data exploration toolkit is Clickhouse + Tabix (it uses apache echarts). e.g. https://tabix.io/doc/draw/Draw_Chart/

There is also

  tree --fromfile
e.g.

  echo a/b1 a/b2/c | xargs -n1 | tree --fromfile

  .
  └── a
      ├── b1
      └── b2
           └── c

 2 directories, 2 files
Re:Visualization of 40M Cell Towers on Wednesday February 17, 2021 @05:34PM (#26172724)
CID is displayed in hex so it needs to be converted to decimal first.
Re:My ISP Is Killing My Idle SSH Sessions on Monday January 11, 2021 @07:06PM (#25740217)
[mosh or eternal terminal] + tmux combo solves the problem (and adds other cool functionality)

https://mosh.org/

https://eternalterminal.dev/

https://github.com/tmux/tmux/wiki

Re:IntelliJ Idea 2020.3.1 Is Out with Apple Silicon Support on Wednesday December 30, 2020 @10:55AM (#25582717)
Make sure you're using the latest JB SDK. https://intellij-support.jetbrains.com/hc/en-us/articles/206...
Re:Ask HN: Good C++ code bases to read? on Wednesday October 28, 2020 @01:22PM (#24921501)
ClickHouse has very clean and modern C++ codebase. https://github.com/ClickHouse/ClickHouse