Better HN
topnewbestaskshowjobs
Log inSign up

div72

143 karma · joined Nov 13, 2021 (5y ago) · 41 submissions

I like cryptography, programming languages and stuff.

Feel free to say hello on Matrix. (@div72 on matrix.org)

Submissions

comment 1y ago · link · parent

It'd be far more acceptable to block the CG-NAT IPv4 addresses if you knew that the other non-compromised hosts could utilize their own IPv6 addresses to connect to your service.

comment 1y ago · link · parent

Have you seen headscale? It's a bit of work if you don't have a selfhosting setup but it enables you to use the service without being at the whim of Tailscale.

comment 1y ago · link · parent

> The largest portion of all languages in Common Crawl

https://commoncrawl.github.io/cc-crawl-statistics/plots/lang...

comment 1y ago · link · parent

What? Why is your NVIDIA modules even in the boot partition? My largest /boot is on Fedora and that's 454MiB, 87MiB on Arch and 30MiB on NixOS.

EDIT: "With grub, the situation varies; if the device has a graphics card, it usually means that driver modules need to be placed in the boot as well.", "usually" carries a lot of weight here, none of the systems I had had this kind of a requirement.

comment 1y ago · link · parent

Except TLS-SNI sends the hostnames in plaintext during the handshake and you can't disable it in at least Firefox AFAIK.

comment 1y ago · link · parent

Are you sure you were informed by Thunderbird and not by your SMTP server?

7.

Yes, elections produce stupid results. Is there an alternative?(demlotteries.substack.com ↗)

5 points · by div72 · 2y ago · discuss

comment 2y ago · link · parent

Only for the optional "read time travel and world domination plans" module.

9.

Cryptreboot: Convenient reboot for Linux systems with encrypted root partition(github.com ↗)

1 points · by div72 · 2y ago · discuss

10.

Fingerpaint – Draw using your laptop's touchpad(github.com ↗)

2 points · by div72 · 2y ago · discuss

comment 2y ago · link · parent

Copyleft licenses are restrictive as obligations are restrictions. "You must provide a source code to your users" is equivalent to "You cannot use this software if your source code is not available to your users".

Freedom is a finite resource in which copyleft licenses take from the developer to give to users. (which ends up at the same point as the article but I prefer wording it this way.)

comment 2y ago · link · parent

Isn't ARM's TrustZone equivalent to ME/PSP on Intel/AMD?

13.

Interpolation search(en.wikipedia.org ↗)

1 points · by div72 · 2y ago · discuss

comment 2y ago · link · parent

> This is a guest post. The views expressed here are solely those of the author and do not represent positions of IEEE Spectrum or the IEEE.

comment 2y ago · link · parent

The post is about unsolicited requests at startup, Tor Browser does not connect to Tor unless you click Connect or enable the auto-connect option.

comment 3y ago · link · parent

Weird thought, but have you tried using Selenium?

Seems like launching a browser tab with:

    from selenium import webdriver
    driver = webdriver.Firefox()
and navigating to duckduckgo.com:

    print(driver.current_url) # https://duckduckgo.com/
works.

comment 3y ago · link · parent

> When are we going to talk about how openly corrupt Mozilla has become?

It's routinely discussed on HN, whenever a topic about Mozilla/browsers comes up. The real question in my opinion is what can we do about it? Start an awareness campaign? Stop using Firefox? Stop donating to Mozilla?

18.

GNU – Celebrating 40 Years(gnu.org ↗)

103 points · by div72 · 3y ago · 15 comments

comment 3y ago · link · parent

Probably because of attribution. I assume that most Wikipedia articles are licensed under a version of CC with attribution requirements.

comment 3y ago · link · parent

For something to be used in PoW, it needs to be both hard to solve and easy to verify. Protein folding checks the first box but not the second. As an example, prime number calculations check the both boxes and there's Primecoin which bases its proof algorithm on prime chains.

This only applies if you prefer to be trustless though. If you are willing shed a bit, you can trust Folding@Home's scoreboard data (and whoever supplies the data to you) to use it as a pseudo-"PoW" and run a proper proof algorithm beneath. (which is also done by a number of coins like Banano, Curecoin, Gridcoin. You can see their people on the leaderboard with weird names like x_ALL_x, x_GRC_x or just bunch of non-sensical alphanumeric characters.)

21.

Remote URL handling in weechat and tmux (2019)(toxicfrog.github.io ↗)

2 points · by div72 · 3y ago · discuss

comment 3y ago · link · parent

I agree with your conclusion but the example you gave of Magnus Carlsen doing an illegal move is a pretty bad one imo. That was clearly a trap from his opponent as he did an illegal move first by checking Magnus while he was under check and then immediately calling the arbiter when Magnus moved his king in response. Magnus also probably did not have had much time left as it was a Blitz game.

comment 3y ago · link · parent

Seems like a typo, dropping the s at the end works.

comment 3y ago · link · parent

Probably should add that it's faster with PyPy as it might not be obvious on how an interpreted language like Python can beat an AOT compiled language like Go.

Interesting results nevertheless.

comment 3y ago · link · parent

Dupe of https://news.ycombinator.com/item?id=33798604.

comment 4y ago · link · parent

That's a pleasant mention of Gridcoin but I'd like to clarify that you do not actually mine Gridcoin. Gridcoin rewards scientific work for the BOINC(Berkeley Open Infrastructure for Network Computing).

(Not that your comment is wrong but one could miss the mention of scientific computing while skimming.)

(Also BOINC and Gridcoin both are open source and needs some love from contributors. I'd like to drop their links for anyone who has free time.

https://github.com/BOINC/boinc https://github.com/gridcoin-community/Gridcoin-Research )

comment 4y ago · link · parent

It'd not fully solve your issue, but have you ever seen https://github.com/py2many/py2many ?

comment 4y ago · link · parent

Yes, that is on my mind. I was actually planning on letting the user do some queries as the form data is actually stored in a sqlite database anyways.

Can you link to your format if it's public? I'm interested.

comment 4y ago · link · parent

I suppose something like WebTorrent could be used in that instance? The peers could eliminate the need for the server.

Still that's too much JS for my minimal/no-JS goals.

comment 4y ago · link · parent

I've semi-thought about that and edited the post but wish I actually edited the title instead(the option is gone now). I was thinking of pure as in no React etc., did not think that this could be interpreted in that way initially.
12