Better HN
topnewbestaskshowjobs
Log inSign up

yjh0502

129 karma · joined Jun 16, 2011 (15y ago) · 25 submissions

Submissions

comment 1mo ago · link · parent

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.

comment 2y ago · link · parent

I’ll wait until it gets crash-safe filesystem.

3.

Microsoft failed to rotate certificates for winget CDN on time(cdn.winget.microsoft.com ↗)

111 points · by yjh0502 · 3y ago · 67 comments

comment 5y ago · link · parent

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).

comment 5y ago · link · parent

`Just a` / `Nothing` in case of Haskell :)

comment 8y ago · link · parent

Could the algorithm be applied to block cache problem with single item size, like filesystem block cache or database cache?

comment 8y ago · link · parent

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!();
  }

comment 8y ago · link · parent

It's a feature, just like strace or something.

comment 8y ago · link · parent

I seems that someone discovered KASLR from NT kernel. https://twitter.com/aionescu/status/930412525111296000

comment 9y ago · link · parent

Could you write default username/password on a release page? :)

11.

Instagram embedding script is gone(platform.instagram.com ↗)

4 points · by yjh0502 · 10y ago · 1 comment

comment 11y ago · link · parent

more general, adaptive version: https://github.com/armon/libart

comment 11y ago · link · parent

Faster version with SIMD instructions: https://github.com/lemire/simdcomp

comment 11y ago · link · parent

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'.

15.

Pinpoint: open-source APM for JVM(github.com ↗)

17 points · by yjh0502 · 11y ago · 2 comments

comment 12y ago · link · parent

Seoul, South Korea. Gigabit internet is available for ~$18/month.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

How about SCTP? It also supports multimple streams on single connection, no head-of-line blocking, multihoming, and in standard.

comment 12y ago · link · parent

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).

comment 13y ago · link · parent

Here's PDF version: https://www.dropbox.com/s/dt6xzum432zine0/CSharp%20Language%...

comment 13y ago · link · parent

Maybe this post is the original one: http://tilomitra.com/the-crazy-world-of-code/

comment 14y ago · link · parent

It seems that it does not support Android target yet. I can't find Android support in its homepage & editor.

23.

PSN and XBL to suffer South Korean shutdown(mcvuk.com ↗)

1 points · by yjh0502 · 15y ago · discuss