HNHacker News
TopNewBestAskShowJobs

yjh0502

129 karma · joined June 16, 2011

submissionscomments
yjh0502··on DeepSeek Harness Desktop for macOS and Windows
As a non-American, I see handing my data to an American company as potentially just as risky as handing it to a Chinese company.
yjh0502··on OpenBSD – Coming soon to a -current system near you: parallel raw IP input
I’ll wait until it gets crash-safe filesystem.
yjh0502··on Mac OS update failed for the first time in 19 years
One of our mac mini CI server also failed to boot after update today. When it happens on Linux I usually try to troubleshoot the problem rather than resetting a whole machine. It does not seems to be feasible on macos with reasonable effort because of recently-introduced security features (and also my lack of understanding of macos boot process).
yjh0502··on Haskell: The Bad Parts, part 2 (2020)
`Just a` / `Nothing` in case of Haskell :)
yjh0502··on LHD: Improving Cache Hit Rate by Maximizing Hit Density [pdf]
Could the algorithm be applied to block cache problem with single item size, like filesystem block cache or database cache?
yjh0502··on Dark side of ergonomics in Rust
I used it frequently when mixing `Result` with `Future`. For example,

  fn do_something() -> Box<Future<Item=(), Error=Error>> {
    let val = match do_result() {
      Ok(x) => x,
      Err(e) => return Box::new(err(e.into())),
    };
    // do something with `val`
    unimplemented!();
  }
yjh0502··on Spying on a Ruby process's memory allocations with eBPF
It's a feature, just like strace or something.
yjh0502··on The mysterious case of the Linux Page Table Isolation patches
I seems that someone discovered KASLR from NT kernel. https://twitter.com/aionescu/status/930412525111296000
yjh0502··on Show HN: Redox Rust OS – v0.3.3 release
Could you write default username/password on a release page? :)
yjh0502··on Qp tries: smaller and faster than crit-bit tries
more general, adaptive version: https://github.com/armon/libart
yjh0502··on Show HN: Fast integer compression library in C
Faster version with SIMD instructions: https://github.com/lemire/simdcomp
yjh0502··on Look Ma, no OS
I'm not sure Erlang with a immutable infrastructure concept is good idea. Dynamic code reloading and upgrading without downtime is a key feature of Erlang, and immutable infrastructure do not play well with these features. If you make Erlang immutable, you should add another layer to ensure availability like HAProxy, which adds management burden. If you use dynamic code reloading, it is no longer 'immutable'.
yjh0502··on Swiss ISP init7 launches unlimited symmetrical gbit FTTH for $73/month
Seoul, South Korea. Gigabit internet is available for ~$18/month.
yjh0502··on Vedis – An Embeddable Implementation of Redis
It seems that multiple files are merged into single vedis.c file. It's good for embedding into application, sqlite does the same, but I think it's better to open original source code and a Makefile to generate embeddable source code, at least if they want to get contributions from community.
yjh0502··on QUIC – Next-generation multiplex transport over UDP
How about SCTP? It also supports multimple streams on single connection, no head-of-line blocking, multihoming, and in standard.
yjh0502··on Crit-bit trees
Adaptive radix tree (https://github.com/armon/libart) is also an impressive data structure. It also supports ordered iterations while showing similar random read/write performance to hash tables. Crit-bit tree is memory efficient, but it suffers for cache misses with many keys (> 1M).
yjh0502··on C# Language Specification 5.0
Here's PDF version: https://www.dropbox.com/s/dt6xzum432zine0/CSharp%20Language%...
yjh0502··on Web Development: A Crazy World
Maybe this post is the original one: http://tilomitra.com/the-crazy-world-of-code/
yjh0502··on Defold - Win/Mac/Linux/Android/iOS game engine
It seems that it does not support Android target yet. I can't find Android support in its homepage & editor.