Readit News logoReadit News
0xml commented on CLI tool to check the Git status of multiple projects   github.com/uralys/check-p... · Posted by u/chrisdugne
0xml · a month ago
I'm using Google's `repo` for multi-repo project at work.

https://gerrit.googlesource.com/git-repo

0xml commented on Fast calculation of the distance to cubic Bezier curves on the GPU   blog.pkh.me/p/46-fast-cal... · Posted by u/ux
jasonjmcghee · 2 months ago
Your link 404s- private repo?
0xml · 2 months ago
Oops, updated.
0xml commented on Fast calculation of the distance to cubic Bezier curves on the GPU   blog.pkh.me/p/46-fast-cal... · Posted by u/ux
0xml · 2 months ago
Last time I found a paper in Graphics Gems titled Solving the Nearest-Point-on-Curve Problem, which transforms the problem into a Bernstein polynomial form. Then an exact solution can be obtained using A Bézier Curve-Based Root-Finder. This is my implementation [1], but it's not very robust for high-degree cases.

[1] https://github.com/Long0x0/distance-to-bezier

0xml commented on Microsoft PowerToys   learn.microsoft.com/en-us... · Posted by u/akudlacek
0xml · 3 months ago
Better if it allowed single-tool installs instead of the whole suite.
0xml commented on Speeding up Unreal Editor launch by not spawning unused tooltips   larstofus.com/2025/09/02/... · Posted by u/samspenc
0xml · 3 months ago
Don't have access to read the code, but I think ideally there should be only one instance created at startup, right?
0xml commented on Ask HN: The government of my country blocked VPN access. What should I use?    · Posted by u/rickybule
0xml · 4 months ago
If VPNs don't work for you, I recommend using an anti-censorship tool with an obfuscation protocol like v2ray which is commonly used in China.

https://github.com/v2fly/v2ray-corehttps://github.com/XTLS/Xray-corehttps://github.com/net4people/bbshttps://en.wikipedia.org/wiki/Great_Firewall

0xml commented on Spotting base64 encoded JSON, certificates, and private keys   ergaster.org/til/base64-e... · Posted by u/jandeboevrie
xg15 · 4 months ago
I think it's more the waste of space in it all. Encoding data in base64 increases the length by 33%. So base64-encoding twice will blow it up by 33% of the original data and then again 33% of the encoded data, making 69% in total. And that's before adding JSON to the mix...

And before "space is cheap": JWT is used in contexts where space is generally not cheap, such as in HTTP headers.

0xml · 4 months ago
Not exactly - encoding it twice increases by 4/3 * 4/3 - 1 = 7/9, which is about 77.78% more than the original.
0xml commented on EasyTier – P2P mesh VPN written in Rust using Tokio   easytier.cn/en/... · Posted by u/wucke13
csomar · 7 months ago
Anyone familiar with the Chinese tech scene can explain what this is at the bottom?

# Zhejiang ICP No. 2024137671-1

It takes you to some government website but it is not clear whether this is a business registration or something else.

0xml commented on PDF to Text, a challenging problem   marginalia.nu/log/a_119_p... · Posted by u/ingve
anonu · 7 months ago
They should called it NDF - Non-Portable Document Format.
0xml · 7 months ago
Maybe Printable Document Format.
0xml commented on Hexagon Spiral Coordinates   redblobgames.com/blog/202... · Posted by u/ibobev
sesm · 9 months ago
The spiral looks unnatural, why not do it like this: https://imgur.com/a/e25fDvc ?
0xml · 9 months ago
This was my first instinct as well, which makes sure numbers are adjacent. OP also mentioned this variant as lucidBrot/hexgridspiral in the older post.

u/0xml

KarmaCake day30June 28, 2023View Original