Viewing profile — hmpc
hmpc
HN member- Joined
- Wed, Jan 01, 2014, 11:05 PM UTC
- HN karma
- 149
- Public activity
- 42 items
- HN profile
- View on Hacker News ↗
About hmpc
Recent public activity
-
comment
Comment #47932044
Similarly, if not performance-focused, I can wholeheartedly recommend Building Git[0], which walks you through building your own git clone in Ruby (although the language is immater…
-
comment
Comment #47919985
It's definitely possible to do correctly, but looking through the code for both crates it doesn't look like they take the necessary precautions (issuing a fence or using RDTSCP). W…
-
comment
Comment #47919410
Thanks for sharing this! I hadn't seen it before, I'll definitely add a mention in the post. This approach is a smart way to get the same precision as the kernel without tying it t…
-
comment
Comment #47919273
This is explicitly called out in the post as well as the Intel instruction manual. Every codebase I've ever seen that reads the TSC either issues an LFENCE or uses RDTSCP. In my be…
-
comment
Comment #47916865
You might've misunderstood the requirements. The time scale was 1-10 micros per component; 100 ns was the overhead per span we were aiming for. In this case distributed tracing abs…
-
comment
Comment #47916814
Yep, I should probably have mentioned this option for completeness. In practice, however, it only saves you a few cycles/nanos and adds more complexity and failure points downstrea…
- story
-
comment
Comment #47634970
Check the specification at the top. The range for x is [-1, 1]. For the range you provided the accuracy of the 0.5x alternative is reported as only 33%: https://herbie.uwplse.org/d…
- story
- story
-
comment
Comment #47536909
It depends on your use case, as always. Correctness is not always black and white (hence my favourite compilation flag, -funsafe-math-optimizations) and time complexity can be misl…
-
comment
Comment #47536795
There's an interesting comment on this over on Lobsters: https://lobste.rs/s/e4y5ps/two_studies_compiler_optimisation...
-
comment
Comment #47536710
(Author here) >It all seems very brittle, though. And that something has gone very wrong with our ecosystem of tools, languages, and processes when it becomes advisable to massage …
- story
- story
- story
-
comment
Comment #24555126
Don't you need your read to be line-oriented to avoid breaking up lines?
-
comment
Comment #17491337
Full disclosure: I work for Veniam on connected vehicle technology, including LTE, Wi-Fi, and DSRC stacks. Unfortunately there's also still no agreement on what 5G will actually be…
-
comment
Comment #12556511
Backticks are discouraged for any new scripts, since they complicate nesting, quoting, and escaping, besides being graphically less explicit. See also http://mywiki.wooledge.org/Ba…
-
comment
Comment #11214056
Actually no. From the manpage: Use "-C -" to tell curl to automatically find out where/how to resume the transfer. It then uses the given output/input files to figure that out.
-
comment
Comment #11203966
Veniam | Mountain View, CA/Porto, Portugal/Singapore | Multiple openings | ONSITE We are looking to fill several openings across Engineering, Sales, and Management: https://veniam.…
-
comment
Comment #11188215
You can also remove all the "STCP | PortoDigital" networks in Porto, Portugal, which are WiFi hotspots in the public buses. Interesting map! (Disclaimer: I work for the company who…
-
comment
Comment #10951987
This is the service supervision approach, which is indeed the best, avoiding race conditions and nasty polling. If you really must monitor processes which you cannot parent, at lea…
-
comment
Comment #8980694
Veniam, Portugal - Software Engineer - http://www.veniam.com/ Veniam just raised a $4.9M series A to build the networking fabric for the Internet of Moving Things ( http://techcrun…
-
comment
Comment #8923791
Unless I misunderstood, that's what the TIMER_ABSTIME option is for. This is actually what I use for soft real-time loops, when I'm concerned about both drift and jitter.