Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
scivey7
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
scivey7
9y ago
Apologies for not contributing anything meaningful to the overall discussion here... but this is one of the best things I've read all day.
2.
▲
by
scivey7
10y ago
It's never even occurred to me to typedef a function like this, and now that I think about it I'm not sure why. Your way is a lot clearer. Thanks for the tip. Do you remember where you picked this up? Any particular book or codeb
3.
▲
by
scivey7
10y ago
This is something I haven't found an ideal solution for yet. There are existing iOS PDF readers with reflow, but each seems to have its own issues. To echo what others have said, this is an actual pain point and I'm very willing
4.
▲
by
scivey7
10y ago
In an ideal world yes, but TSX has some significant limitations. andikleen2 has mentioned some of those in his comments. TSX is somewhat unpredictable as a general tool, and there are difficulties with e.g. knowing which transactions are ev
5.
▲
by
scivey7
10y ago
Your feedback has been very helpful. Do you mind if I ask you for more advice down the line?
6.
▲
by
scivey7
10y ago
You're correct: the limits on transaction size are unknown. That's mentioned in the documentation here https://github.com/scivey/xact/blob/master/docs/api/n_way.md TSX is a black box
7.
▲
by
scivey7
10y ago
Agreed that the basic "store to 8 locations" API would need tweaking to allow locking. Re: adding a counter into the read set, I think the new generalized API here will support that out of the box: https://github.com&#x
8.
▲
by
scivey7
10y ago
I'm aware of the issue with non-terminating transactions, though I wasn't aware of the role played by page faults -- thanks for adding that detail. Looking back over the readme, I can see how the loops used in the examples are a l
9.
▲
Show HN: XACT: Lock-Free Multi-CAS for C++/x64 Built on TSX
(github.com)
7 points
by
scivey7
10y ago
|
0 comments
10.
▲
XACT: Lock-Free Multi-CAS for C++/x64 Built on TSX
(github.com)
56 points
by
scivey7
10y ago
|
27 comments
11.
▲
by
scivey7
10y ago
Multiple keys seem to be fine. I haven't seen performance issues, but it's a relatively small deployment in the scheme of things. There are also existing solutions for caching here. NSCD seems to be the go-to for caching LDAP qu
12.
▲
by
scivey7
10y ago
I just recently had to solve this problem. I ended up using this Python package: https://github.com/jirutka/ssh-ldap-pubkey
13.
▲
by
scivey7
10y ago
Xr
14.
▲
Relevanced is a document similarity scoring server in C++
(relevanced.org)
1 points
by
scivey7
11y ago
|
0 comments