Better HN
topnewbestaskshowjobs
Log inSign up

0xml

30 karma · joined Jun 28, 2023 (3y ago) · 22 submissions

Submissions

comment 7mo ago · link · parent

Looks like GrafEq?

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

comment 1y ago · link · parent

I'm using Google's `repo` for multi-repo project at work.

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

comment 1y ago · link · parent

Oops, updated.

comment 1y ago · link · parent

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

comment 1y ago · link · parent

Better if it allowed single-tool installs instead of the whole suite.

comment 1y ago · link · parent

Don't have access to read the code, but I think ideally there should be only one instance created at startup, right?

comment 1y ago · link · parent

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

comment 1y ago · link · parent

Not exactly - encoding it twice increases by 4/3 * 4/3 - 1 = 7/9, which is about 77.78% more than the original.

comment 1y ago · link · parent

https://en.wikipedia.org/wiki/ICP_license

comment 1y ago · link · parent

Maybe Printable Document Format.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Firefox expects your script to return undefined, so you can add one at the end (or even shorter: void 0).

comment 1y ago · link · parent

Another interesting method is Fibonacci Lattice. https://observablehq.com/@meetamit/fibonacci-lattices

comment 1y ago · link · parent

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

comment 1y ago · link · parent

Related: Bypassing Bitlocker using a cheap logic analyzer on a Lenovo laptop https://news.ycombinator.com/item?id=37249623

comment 2y ago · link · parent

pi^4+pi^5=e^6 lol

comment 2y ago · link · parent

Wang Duoyu (王多鱼) is a character in the Chinese comedy film Hello Mr. Billionaire.

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

comment 2y ago · link · parent

I remember chrome has a flag for this.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

That's why I kind of like PowerShell, object-oriented instead of string-oriented

comment 3y ago · link · parent

It can be written as one rule: `body,img,video{...}`.

comment 3y ago · link · parent

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