Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tidwall
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
tidwall
2y ago
Hi HN. I’m the author of this hash. It’s just something I whipped up last night. It’s really not much different than the other hashes out there. I wanted to see if I could make a simple quality hash that easy to cut & paste, under 80 ch
32.
▲
by
tidwall
2y ago
PRs cannot be disabled.
33.
▲
by
tidwall
2y ago
A working example in Go. https://github.com/tidwall/btree
34.
▲
by
tidwall
2y ago
Also it is possible to start multiple Neco schedulers in different threads, there’s an example in the readme.
35.
▲
Show HN: Neco – Coroutine Library for C
(github.com)
145 points
by
tidwall
3y ago
|
36 comments
36.
▲
A closer look at the stack guard page (2022)
(devblogs.microsoft.com)
1 points
by
tidwall
3y ago
|
0 comments
37.
▲
by
tidwall
3y ago
Japan is geographically larger than Germany. https://en.wikipedia.org/wiki/List_of_countries_and_dependen...
38.
▲
by
tidwall
3y ago
TG isn't spherical and wasn't designed to be. It's 2D and projection agnostic. Crossing the antimeridian is a user problem to solve. I recommend following the GeoJSON rule of antimeridian cutting [1]. As I said in the README.
39.
▲
by
tidwall
3y ago
I can't stop precision loss in all cases, but I do my darnedest to avoid loss when it causes false positives, especially for stuff like intersect detection code. For example the collinear [1] function looks really big for a seemingly s
40.
▲
by
tidwall
3y ago
I have strict safety rules for this project, one of which requires that all geometries are thread-safe pointers. So in the example you show, it would not be safe to share the tg_geom pointer with other threads because it belongs on the stac
41.
▲
by
tidwall
3y ago
It’s a new structure I came up with as described in the docs/POLYGON_INDEXING.md document. https://github.com/tidwall/tg/blob/main/docs/POLYGON_INDEXIN...
42.
▲
by
tidwall
3y ago
Yes, I used wasm as one of the targets during development.
43.
▲
Show HN: TG – Fast geometry library for C
(github.com)
201 points
by
tidwall
3y ago
|
32 comments
44.
▲
Complaints about the new GitHub feed
(github.com)
9 points
by
tidwall
3y ago
|
1 comments
45.
▲
Show HN: XV - Expression Evaluator for C
(github.com)
2 points
by
tidwall
3y ago
|
0 comments
46.
▲
Non-AI Licenses
(github.com)
2 points
by
tidwall
4y ago
|
1 comments
47.
▲
Show HN: A fast little JSON parser for C
(github.com)
2 points
by
tidwall
4y ago
|
0 comments
48.
▲
by
tidwall
4y ago
Yes. That library has a flexible kNN method built in. https://pkg.go.dev/github.com/tidwall/rtree#RTree.Nearby
49.
▲
by
tidwall
4y ago
Maybe I'm missing something but the server application resulting from the source code in this book does not actually work with redis-cli or any Redis clients. It appears to be using a custom binary protocol, not valid RESP. I feel tha
50.
▲
by
tidwall
4y ago
Integer keys are not uncommon. It's just that they are usually combined as key/value map entry, like the BTreeMap in Rust, such as BTreeMap[int, *myObj] or BTreeMap[string, string]. Another interesting use is ordered set like BTre
51.
▲
by
tidwall
5y ago
It’s a 1M items, not nodes. Each item is a Go interface{}, about 16 bytes each. the benchmarks actually show that the tree is around 36MB.
52.
▲
by
tidwall
5y ago
When my family moved to Arizona in 1987 we brought along our Pontiac Firebird. My mom loved that car. But it melted in the summer heat. Literally the glue that adhered the the interior materials could not handle the heat and stuff just star
53.
▲
Show HN: Gjson for Rust
(github.com)
1 points
by
tidwall
6y ago
|
0 comments
54.
▲
by
tidwall
6y ago
I made a walkthrough on cheaply registering a trademark without an attorney. It’s a couple years old now and the rules and processes may have changed. But for what it’s worth. https://github.com/tidwall/uspto-trademark
55.
▲
by
tidwall
6y ago
Tesla is not a private company. And private companies cannot do whatever they want.
56.
▲
by
tidwall
6y ago
I traded in my Tesla Model S last December due to its degrading reliability. I ran into numerous issues towards the end such as: - The touchscreen bubbling and tearing away due to "delamination". - Door handles "not presentin
57.
▲
by
tidwall
6y ago
I only use Safari and I’ve actually been on realtor.com a ton the past few days. I just punched in realty.com and it directed me to realtor.com. If I do http://realty.com it takes me to the correct site.
58.
▲
Tile38 – Realtime geofencing and geospatial index, v1.18
(github.com)
2 points
by
tidwall
7y ago
|
0 comments
59.
▲
Tile38 – Realtime geofencing and geospatial index, v1.17
(github.com)
1 points
by
tidwall
7y ago
|
0 comments
60.
▲
by
tidwall
7y ago
So leetcode is code that is written by the interviewee during an interview? Sounds tough. I never had to do that. I would probably clam up and fail.
More ›