HNHacker News
TopNewBestAskShowJobs

yamrzou

18,101 karma · joined June 13, 2018

submissionscomments
yamrzou··on A guide to reduce screen time
I recommend this one for Android: https://github.com/markusfisch/ScreenTime

It doesn't limit apps, it just displays your screen time in a permanent notification and allows you to view and export past statistics.

I've found that to be very effective. From a systems perspective, it amounts to adding a new feedback loop, similar to this leverage point described by Donella Meadows[1]:

There was this subdivision of identical houses, the story goes, except that for some reason the electric meter in some of the houses was installed in the basement and in others it was installed in the front hall, where the residents could see it constantly, going round faster or slower as they used more or less electricity. With no other change, with identical prices, electricity consumption was 30 percent lower in the houses where the meter was in the front hall.

We systems-heads love that story because it’s an example of a high leverage point in the information structure of the system. It’s not a parameter adjustment, not a strengthening or weakening of an existing loop. It’s a NEW LOOP, delivering feedback to a place where it wasn’t going before.

[1] Leverage Points: Places to Intervene in a System - https://donellameadows.org/archives/leverage-points-places-t...

yamrzou··on The ADHD body double: A unique tool for getting things done
These don't work for me. My brain knows I'm deceiving it, so it doesn't respond to this kind of stimulation.
yamrzou··on An open source, self-hosted implementation of the Tailscale control server
Does it do the fancy NAT-traversal Tailscale does?
yamrzou··on What to Do
“When you invent the ship, you also invent the shipwreck; when you invent the plane you also invent the plane crash; and when you invent electricity, you invent electrocution... Every technology carries its own negativity, which is invented at the same time as technical progress.”

— Paul Virilio

yamrzou··on A (Long) Peek into Reinforcement Learning
(2018)

Has RL changed since then?

yamrzou··on Wit and Humor (1907)
https://archive.is/UxJhs
yamrzou··on Understanding NumPy's Einsum
There is a very nice library called Einops that makes it easier to work with einsum. See:

Descriptive Matrix Operations with Einops — https://www.kolaayonrinde.com/blog/2024/01/08/einops.html

Einops tutorial — https://einops.rocks/1-einops-basics/

yamrzou··on Cottagecore Programmers
As a side note, I really like the writing style of this blog post.
yamrzou··on Heap-overflowing Llama.cpp to RCE
I tried to execute the PoC by running the following:

  git clone https://github.com/ggml-org/llama.cpp.git && cd llama.cpp
  git checkout c0d4843225eed38903ea71ef302a02fa0b27f048 # Checkout a revision prior to the exploit fix in 1d20e53c40c3cc848ba2b95f5bf7c075eeec8b19
  mkdir build-rpc && cd build-rpc
  cmake .. -DGGML_RPC=ON
  cmake --build . --config Release
  cd bin/
  ./rpc-server -p 50052
In a second terminal:

  nc -lvp 1337
Then running the exploit code in a third terminal (from llama.cpp/build-rpc/bin directory):

  pip install pwntools
  python exp.py # From https://gist.github.com/retr0reg/d13de3fde8f9d138fe1af48e59e630a9
It failed at Stage Three: Bypass boundary check via libggml and raised an EOFError. The RPC server exited with Segmentation fault. Any idea why?
yamrzou··on The Origin of the Pork Taboo
It does say it's رِجْسٌ in 6:145[1] which is interpreted as “filth” or as “impure”.

[1] https://quran.com/6/145

yamrzou··on Premultiplied Alpha (2009)
See also: The Horrors of the Alpha Channel - https://www.youtube.com/watch?v=XobSAXZaKJ8
yamrzou··on Probability and the Real World
Interview with the author, winner Brouwer Medal 2020: http://algebra.hopto.org/wis/website/naw5-2021-22-2-085.pdf
yamrzou··on Introduction to Deep Learning (CMU)
If you go to Menu > Lectures, you'll find links to the Youtube videos.
yamrzou··on Cwtch – Privacy Preserving Messaging
Because a malicious SimpleX server could run a modified version of the code that allows them to collect metadata, even if they can't see message contents. So, indeed, it assumes trust in the server[1]:

  Our open-source code that we are legally bound to use doesn't provide any metadata that could be used to learn who connects to whom. But the privacy of users' connections still depends on us honouring our promises and privacy policy.
But they offer a way out using Flux, as they explain it here[1].

[1] https://simplex.chat/blog/20241125-servers-operated-by-flux-...

yamrzou··on Cwtch – Privacy Preserving Messaging
I found this[1]:

  Use end-to-end encrypted messaging applications for all your digital communications:
  - Ideally, use peer-to-peer and metadata-resistant applications such as Cwtch or Briar. Otherwise, use metadata-resistant applications such as SimpleX or Signal.
  - Email is not metadata-resistant and should be avoided if possible. If you must use email, use PGP encryption and register an address with a trusted service provider.
  Do not use:
  - Delta Chat or Matrix, as they are not sufficiently metadata-resistant.
  - Telegram, as not all messages are end-to-end-encrypted.
And this[2]:

  Since SimpleX requires that users place some trust in the SimpleX servers, we recommend prioritizing Cwtch over SimpleX Chat for text communication with other anarchists, and using SimpleX Chat or Signal for voice and video calls. Unlike Signal, SimpleX Chat doesn't require a phone number or smartphone.
As well as this comparison chart: Interactive secure messenger feature comparison - https://bkil.gitlab.io/secuchart/

[1] https://www.notrace.how/threat-library/mitigations/digital-b...

[2] https://www.anarsec.guide/posts/e2ee/

yamrzou··on Cwtch – Privacy Preserving Messaging
How does it compare to SimpleX Chat?
yamrzou··on Family Dynamics: The Olson Circumplex Model [pdf]
See also:

The Olson Circumplex Model: A systemic approach to couple and family relationships — https://psychology.org.au/publications/inpsych/2011/february...

yamrzou··on The Triage Theory
Related:

Bruce Ames’ Triage Theory – Explained – https://fastlifehacks.com/bruce-ames-triage-theory/

yamrzou··on Tailscale is pretty useful
It seems to have relays which is interesting. For comparison, here is Tailscale's article on how they do NAT traversal: https://tailscale.com/blog/how-nat-traversal-works/
yamrzou··on Tailscale Is Pretty Useful
No, thank you. I'll try it.
yamrzou··on Tailscale Is Pretty Useful
I'm mainly looking for a solution that punches through NAT the way Tailscale does.
yamrzou··on Tailscale is pretty useful
Wireguard doesn't do NAT traversal on its own, which is, IMHO, the killer feature of Tailscale.
yamrzou··on Tailscale is pretty useful
Is there an alternative to Tailscale with a lower memory footprint? I wanted to run Tailscale on a small router, but it failed due to out-of-memory (OOM) issues.
yamrzou··on Mox – modern, secure, all-in-one email server
Apparently, it doesn't support 2FA (yet). From https://discuss.privacyguides.net/t/mox-modern-full-featured...:

> Another is 2FA. It would be relatively easy to implement in the web interfaces, but not with SMTP (submission) and IMAP. Most clients can at most do cram-md5 for authentication mechanism (old). I don’t know any clients doing the safer scram-sha-256-plus properly (with mutual verification and TLS channel binding, mox implements it). Interested in hearing what the thoughts are on these topics.

yamrzou··on Words for the Heart: A treasury of emotions from classical India
Reminds me of The Dictionary of Obscure Sorrows: https://www.thedictionaryofobscuresorrows.com/
yamrzou··on Ask HN: Local LLM to explore code repositories?
Has that already been implemented?
yamrzou··on Why Clojure?
That was an interesting talk, thanks for sharing.
yamrzou··on After 20 Years, Math Couple Solves Major Group Theory Problem
“While working together on the McKay conjecture, Britta Späth and Marc Cabanes fell in love and started a family.”
yamrzou··on Loneliness Can Change the Brain
https://archive.ph/IGHKm
yamrzou··on Try thinking and learning without working memory (2008)
How did you manage it?
Page 1 of 32Next →