x-yl's comments

x-yl | 8 months ago | on: Black hole merger challenges our understanding of black hole formation

An observer falling into the black hole would not observe any distortion in time. They would simply fall in, under the influence of gravity. From the perspective of a far-away observer it would look as if time is slowing down as the photons would take increasingly longer to escape. At the event horizon the photons would effectively be held in place. Eventually though, the last photon will have escaped and you will just observe a slightly larger black hole.

So the merger definitely happens from the point of view of the black holes. We might observe odd artifacts but they would eventually fade away.

x-yl | 10 months ago | on: Understanding Memory Management, Part 5: Fighting with Rust

Are you suggesting Rust should automatically insert the borrow annotation because it is able to see that a borrow is sufficient? That would be quite unintuitive and make it ambiguous whether a for loop is borrowing or consuming the iterator without reviewing the body. I'd strongly argue that it should unambiguously do either one or the other and not try and read the author's mind.

x-yl | 1 year ago | on: Anyone can access deleted and private repository data on GitHub

This behaviour is also important for ergonomic submodules. The .gitmodules file lists the upstream repo as the origin. So, if you're modifying an upstream project in a submodule and push changes to a fork, it's important that the SHA that git tracks is still reachable through the upstream link.

Ultimately I don't think it's feasible to break this behaviour and the most we can hope for is a big red warning when something counterintuitive happens.

x-yl | 2 years ago | on: This year in Servo: over 1000 pull requests and beyond

Andreas is incredible but that's an overstatement.

  $ git log --format="%an %s" | grep -E "Browser|LibWeb|Ladybird|LibJS" | wc -l
  15524
  $ git log --format="%an %s" | grep -E "Browser|LibWeb|Ladybird|LibJS" | grep "Andreas Kling" | wc -l
  4249
  $ calc 4249/15524
  ~0.28530018036588508116
Still a monumental feat but don't downplay the community that's rallied behind him.

x-yl | 2 years ago | on: Create a shortcut for even lower phone brightness

SoundAssistant on Samsung devices lets you do this as well. It gives you per-app sliders which stack with the main slider allowing you to go below 1% -- or whatever number rounds to "off" on your headphones.
page 1