HNHacker News
TopNewBestAskShowJobs

0xml

30 karma · joined June 28, 2023

submissionscomments
0xml··on Show HN: I made a calculator that works over disjoint sets of intervals
Looks like GrafEq?

http://www.peda.com/grafeq/

0xml··on CLI tool to check the Git status of multiple projects
I'm using Google's `repo` for multi-repo project at work.

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

0xml··on Fast calculation of the distance to cubic Bezier curves on the GPU
Oops, updated.
0xml··on Fast calculation of the distance to cubic Bezier curves on the GPU
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··on Microsoft PowerToys
Better if it allowed single-tool installs instead of the whole suite.
0xml··on Speeding up Unreal Editor launch by not spawning unused tooltips
Don't have access to read the code, but I think ideally there should be only one instance created at startup, right?
0xml··on Ask HN: The government of my country blocked VPN access. What should I use?
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-core https://github.com/XTLS/Xray-core https://github.com/net4people/bbs https://en.wikipedia.org/wiki/Great_Firewall

0xml··on Spotting base64 encoded JSON, certificates, and private keys
Not exactly - encoding it twice increases by 4/3 * 4/3 - 1 = 7/9, which is about 77.78% more than the original.
0xml··on EasyTier – P2P mesh VPN written in Rust using Tokio
https://en.wikipedia.org/wiki/ICP_license
0xml··on PDF to Text, a challenging problem
Maybe Printable Document Format.
0xml··on Hexagon Spiral Coordinates
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.
0xml··on A bookmarklet to kill sticky headers (2013)
Firefox expects your script to return undefined, so you can add one at the end (or even shorter: void 0).
0xml··on Non-random uniform disk sampling
Another interesting method is Fibonacci Lattice. https://observablehq.com/@meetamit/fibonacci-lattices
0xml··on A path to O1 open source
This is a feature of arxiv that automatically converts text looks like a link into "this http url". The submitter missed the space after the "." in "...strong reasoning ability. OpenAI has claimed...".

https://info.arxiv.org/help/prep.html#abstract-required

0xml··on Dumping Memory to Bypass BitLocker on Windows 11
Related: Bypassing Bitlocker using a cheap logic analyzer on a Lenovo laptop https://news.ycombinator.com/item?id=37249623
0xml··on A joke in approximating numbers raised to irrational powers
pi^4+pi^5=e^6 lol
0xml··on USPS text scammers duped his wife, so he hacked their operation
Wang Duoyu (王多鱼) is a character in the Chinese comedy film Hello Mr. Billionaire.

https://www.imdb.com/title/tt8529186/

0xml··on Firefox Sidebar and Vertical tabs: try them out
I remember chrome has a flag for this.
0xml··on A Tricky Floating-Point Calculation
Let x=1/d, then compute the Taylor series at x=0 and take the first 2 or 3 terms. It should be accurate and fast enough.
0xml··on Why you shouldn't parse the output of ls(1)
That's why I kind of like PowerShell, object-oriented instead of string-oriented
0xml··on Super Simple Ways to Add Dark Mode to Your Website
It can be written as one rule: `body,img,video{...}`.
0xml··on The Password Game
A funny game! For anyone else struggling with the wordle, the answer is here[1]. For anyone else struggling with the country, you can fill in the names of all the countries, then run a bisection.

[1] https://www.nytimes.com/svc/wordle/v2/2023-06-28.json