HackerTrans
TopNewTrendsCommentsPastAskShowJobs

hvenev

no profile record

Submissions

Show HN: A fast quantum circuit simulator

qblaze.org
9 points·by hvenev·hace 9 meses·0 comments

comments

hvenev
·hace 2 meses·discuss
(2023) judging by https://skysedge.com/telecom/RUSP/electrical.html
hvenev
·hace 3 meses·discuss
This blog post calls libgit2 "git's C library" as if it is in any way related to git. I don't think it is.
hvenev
·hace 4 meses·discuss
> In the meanwhile in raspberry pi land, you can just go to download a reasonably new OS image from their website anytime you want and it will run on all their models.

Are you saying that even with the Raspberry Pi we are still at the mercy of the hardware manufacturer when it comes to OS images?
hvenev
·hace 4 meses·discuss
I personally call this process of setting up a new device, whether for me or for someone else, "shit shoveling". It is something of a ritual.

In the former case the thing that needs to be removed is the entirety of the OS (and if that proves to be impossible, the device is returned or discarded), and in the latter it's a scan of all apps and removal of all unnecessary apps, my grandma does not need Samsung Galaxy Games, thank you very much.
hvenev
·hace 6 meses·discuss
Will you not have `~/.ssh`? If you have `.ssh .config/ssh` as a rewrite rule, `stat ~/.ssh` will still find it.
hvenev
·hace 6 meses·discuss
For IPv4 the graph does not start at zero, but at around 45K.
hvenev
·hace 6 meses·discuss
> Jeff once simultaneously reduced all binary sizes by 3% and raised the severity of a previously known low-priority Python bug to critical-priority in a single change that contained no Python code.

This sounds really plausible. A change to the C toolchain/library (for example, specialized/inlined memcpy) may affect binary sizes significantly, and may change the behavior of something the C standard leaves undefined (for example, memcpy with overlapping arguments).
hvenev
·hace 8 meses·discuss
Don't they already sell servers? https://www.nvidia.com/en-us/data-center/dgx-platform/
hvenev
·hace 8 meses·discuss
Back when my job involved using Kubernetes and Helm, the solution I found was to use `| toJson` instead: it generates one line that happens to be valid YAML as well.
hvenev
·hace 9 meses·discuss
From what I remember, the quality of a safe is measured in minutes, with "15-minute" safes being OK for general use.
hvenev
·hace 10 meses·discuss
English also changes, so the only way to be safe is to quote all identifiers.
hvenev
·hace 10 meses·discuss
What I personally do is

    User=per-service-user
    ExecStart=!podman-wrapper ...
where podman-wrapper passes `--user=1000:1000 --userns=auto:uidmapping=1000:$SERVICE_UID:1,gidmapping=1000:$SERVICE_GID:1` (where the UID/GID are set based on the $USER environment variable). Each container runs as 1000:1000 inside the container, which is mapped to the correct user on the host.
hvenev
·hace 10 meses·discuss
I wonder when quantum computers will be able to target post-quantum RSA [1]. Normal RSA operations (key generation, encryption, decryption) have an asymptotic advantage over Shor's algorithm, so it is not unreasonable to just use large enough keys. The advantage is similar to Merkle's puzzles [2], with the added bonus that the attacker also needs to run their attack on a quantum computer.

A while ago I generated a gigabit RSA public key. It is available at [3]. From what I remember, the format is: 4-byte little-endian key size in bytes, then little-endian key, then little-endian inverse of key mod 256**bytes. The public exponent is 3.

[1] https://eprint.iacr.org/2017/351.pdf

[2] https://dl.acm.org/doi/pdf/10.1145/359460.359473

[3] https://hristo.venev.name/pqrsa.pub