Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
apankrat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
apankrat
7y ago
It'd be interesting to see any real-world uses of this. Must be something rather exotic that could benefit from not doing bswap/s in bulk.
92.
▲
by
apankrat
7y ago
Depends on the differences, but generally - no, of course, not.
93.
▲
by
apankrat
7y ago
__f is a questionable name for a macro. But it's a petty irrelevant detail. I can't fathom how anyone could seriously see this is as a subject worthy of a prolonged discussion. The repo is a demo for a serialization technique, yet
94.
▲
by
apankrat
7y ago
I take it's this one - https://github.com/niXman/yas ? I haven't seen it before, but there are bound to be similar solutions to the same problem. The library I posted is used internally for a number of our pr
95.
▲
by
apankrat
7y ago
Such a clever swipe! Don't know where you are sourcing your definitions from, but, conventionally, being a library merely means that it's a reusable piece of code that does something well-defined.
96.
▲
by
apankrat
7y ago
> the results can be almost impossible to diagnose Humor me - concote a case with a standard header using __f name in a way that will make a conflict with this particular __f() macro "almost impossible to diagnose". I can
97.
▲
by
apankrat
7y ago
It almost universally is though, no? I'd expect a processor core with inverted endianness to be excluded from the general use and reserved for select processes that require that feature.
98.
▲
by
apankrat
7y ago
Nice, didn't know that. Seems a bit unfair though they didn't cover middle-endian order. Seriously though, how many machines are configured like that in the real world and what's the overlap with our target installation base?
99.
▲
by
apankrat
7y ago
Because it's not a "dangerous bad practice". There are examples of actually bad and dangerous language misuse, but this is not one of them. It's mostly pedantry. Like using KiB instead of KB.
100.
▲
by
apankrat
7y ago
No. See caveat #4. The code stems for the same-machine IPC library. No point in doing any byte order normalization. Trivial to add though if needed.
101.
▲
by
apankrat
7y ago
Noted. From my perspective it's the same class of issues as with using _t suffix for custom C types - also reserved, so technically not good, but trivial to fix if it ever causes any trouble. PS. In practice, the use of underscores, bo
102.
▲
by
apankrat
7y ago
Done.
103.
▲
by
apankrat
7y ago
Under 500 lines, this probably barely qualifies as a library , but it still allows packing structs and containers to/from binary blobs with as little effort as possible. It has virtually no dependencies, requires no pre-processing (li
104.
▲
Show HN: Serialize++ – Tiny Data Serialization Library for C++
(github.com)
37 points
by
apankrat
7y ago
|
44 comments
105.
▲
by
apankrat
7y ago
A link to the project page with HowTos won't hurt - https://www.brachiograph.art/
106.
▲
by
apankrat
7y ago
I hope you kept it ;)
107.
▲
by
apankrat
7y ago
Indeedly! Very clean and simple, but not trivial or bare. Really good job, jmstfv.
108.
▲
by
apankrat
7y ago
> I was able to sign in to the AWS console and resolve the issue Kids these days. I had a RAM stick fry in one of the physical machines sitting in a colo 1 hour drive away. Not die, but just start flipping bits here and there, triggeri
109.
▲
by
apankrat
7y ago
Wrote one just this weekend. Not a chatty variety though. Keeps an eye on new CVE vulnerabilities being posted and forwards them to me. https://github.com/apankrat/cve-monitor
110.
▲
Our Company Renaming Saga
(iobureau.com)
3 points
by
apankrat
7y ago
|
0 comments
111.
▲
by
apankrat
7y ago
GWF is utterly useless for any non-trivial issues. They have a mob of high-ranking posters upvoting each others' replies, patting each other on the back and ultimately ganging up on anyone who doesn't accept their replies. We had
112.
▲
by
apankrat
7y ago
It is Windows-specific in details, obviously, but it's not an async IO explainer. The subject is different even if it's related. PS. Who peed in your espresso today? "For the lazy", "you are welcome", "uh-
113.
▲
by
apankrat
7y ago
Not really, no.
114.
▲
Fundamentals of Fast Bulk IO
(bvckup2.com)
2 points
by
apankrat
7y ago
|
4 comments
115.
▲
by
apankrat
7y ago
The only commonality with rsync is that both algorithms split file into blocks and hash them, a common trait for any algorithm that does block-level updating.
116.
▲
Delta Copying
(bvckup2.com)
2 points
by
apankrat
7y ago
|
3 comments
117.
▲
Show HN: Noisy-gradient.js – Removing banding from linear gradients with WebGL
(github.com)
1 points
by
apankrat
7y ago
|
0 comments
118.
▲
by
apankrat
7y ago
It's an upside down A... or at least that was the idea, which frankly wasn't the very best one. I still wonder how many sales we routinely lose because of the name.
119.
▲
by
apankrat
7y ago
There are quite a few small ISVs out there. From the top of my head and in areas related to my own - Arq backup, SoftPerfect, Syncovery. I don't think Macrium and Glasswire are terribly big either. Ditto for 2BrightSparks. HexRays. Boa
120.
▲
by
apankrat
7y ago
OK, I see. That's a good case, let me think about it.
More ›