HNHacker News
TopNewBestAskShowJobs

ainiriand

2,226 karma · joined July 18, 2014

Software engineer. Creative mind.

https://rustquant.dev https://rustaceo.es

submissionscomments
ainiriand··on iPhone Air
Everything, and nothing.
ainiriand··on We all dodged a bullet
Well in this case it makes sense to update fast isn't it?
ainiriand··on No adblocker detected
If it serves any purpose just today I've published docscandroid.app just because the document scanners out there are really scary and do not really fit my purpose. My app is not perfect but its mine and that is enough.
ainiriand··on How can England possibly be running out of water?
The market will regulate itself! There will appear a new water company that makes things right and obviously will get all the customers, do not worry!
ainiriand··on How to make metals from Martian dirt
Cooling is should not be an issue, considering it goes to ~-80C at night, we only need a smart way of harnessing that difference.
ainiriand··on I am giving up on Intel and have bought an AMD Ryzen 9950X3D
I think you've found a particularly weak memory cell, I would start thinking about replacing that module. The consistent memory_channel=1, csrow=0 pattern confirms it's the same physical location failing predictably.
ainiriand··on The future of 32-bit support in the kernel
What makes you think that a 32 bit system has 32 transistors? For example, from the top of my head, the pentium pro had a 86 bit direction bus and a 64 bit data bus.
ainiriand··on Synthetic gasoline
I write like that as my wife is an SEO specialist and showed me the impact of those elements in SEO.
ainiriand··on Yamanot.es: A music box of train station melodies from the JR Yamanote Line
It is also very cool the infinite scroll of all the stations as this is the circular line. Top class!
ainiriand··on The Limits of NTP Accuracy on Linux
Even the author acknowledges that when they say:

It’s easy to fire up Chrony against a local GPS-backed time source and see it claim to be within X nanoseconds of GPS, but it’s tricky to figure out if Chrony is right or not.

ainiriand··on The Limits of NTP Accuracy on Linux
Chrony is an incredible piece of software, but I am afraid that in this case it is used incorrectly, unless more details are provided. Benchmarking across threadripper AMD, raspberrypi arm, and LeoNTP servers cannot be done lightly. I do not see how going down to the nanosecond scale can be done in this way, without more details, sorry. This is only my opinion and I know it is not very useful here.
ainiriand··on The Limits of NTP Accuracy on Linux
Correct me if I am wrong, but wouldn't that be true only for testing accross comparable hardware? Would that be true in scenarios like the one that the author describes, where he uses 3 different systems (threadriper cpu, raspberrypi, and LeoNTP GPS-backed NTP server) and architectures?
ainiriand··on Climbing catfish filmed scaling waterfalls
Catfish is disgusting to eat, at least the ones we have here in Spain, which are sometimes past 50kg.
ainiriand··on The Limits of NTP Accuracy on Linux
If those times are produced on different architectures, then yes, the comparison can never be accurate enough since the underlying measurement mechanisms differ fundamentally. While the author goes to great lengths to demonstrate very small time differences, I believe the foundation of their comparison is already flawed from the start. I do not want to generate any polemic sorry!
ainiriand··on The Limits of NTP Accuracy on Linux
He uses Chrony, which uses system time, and compares those times across different machines. Unless proper setup is done the benchmark is faulty.
ainiriand··on The Limits of NTP Accuracy on Linux
In my opinion when you want such precision, you need to stablish strict constraints to the measurements, for example memory fences: https://www.kernel.org/doc/Documentation/memory-barriers.txt

If you do not do this, the times will never be consistent.

The author produced a faulty benchmark.

ainiriand··on The Limits of NTP Accuracy on Linux
Unfortunately I think the same as you. The provided details in the blog post are by no means any way of doing any sort of time benchmark or network i/o benchmark. For starters, he is comparing times from tsc enabled hardware (x86_i64), with raspberry pi which are arm. Network i/o benchmarking on linux should be done with system calls to the network cards or input devices and not through the kernel drivers etc...
ainiriand··on Equal Earth – Political Wall Map (2018)
I see Amami, what is the error?
ainiriand··on Optimizing FizzBuzz in Rust
Divan is what I used as reference for some parts of my work (mostly the CPU timestamp parts). My project is less complete, but it will also include other important benchmarks for HFT, like current network I/O or some real trading patterns like order placement overhead.
ainiriand··on Optimizing FizzBuzz in Rust
In my opinion a more accurate measure when you go down to the micro seconds level is TSC directly from the CPU. I've built a benchmark tool for that https://github.com/sh4ka/hft-benchmarks

Also I think that CPU pining could help in this context but perhaps I need to check the code in my machine first.

ainiriand··on The rise and fall of the Seagaia Ocean Dome wave pool
From the outside does not look wildly different from Tropical Island in Germany.

Ps: do not go there, very rude staff.

ainiriand··on Show HN: Hanaco Weather – A poetic weather SNS from the OS Yamato project
Hi Tsuyoshi, I really love the concept behind this system, and I would love to test it. Can I switch it to Spanish or English? Thanks!
ainiriand··on Prime Number Grid
Go for 258 and be ready to get your mind blown.
ainiriand··on How Keeta processes 11M financial transactions per second with Spanner
Seems to be neither.
ainiriand··on OpenBSD is so fast, I had to modify the program slightly to measure itself
You have to benchmark tsc against a fixed CPU speed, say 1000Mhz, then you have a reliable comparison.
ainiriand··on Itch.io seeks payment processors who work with with adult material
Now crypto currencies don't look that crazy.
ainiriand··on A deep dive into Rust and C memory interoperability
Sorry, but why that can be a downside in 2018?
ainiriand··on Ask HN: ADHD and focus during meetings: what works for you?
Very interesting, I will try that too.
ainiriand··on Study mode
Standard ChatGPT 4o.
ainiriand··on Study mode
The key points that helped me, besides correlating sections to the corresponding chapters in the book, are the proposal of certain exercises every week to cover the topics we've seen and the encouragement to write small articles around the lessons. I've already completed the Rustlings independently before this but it left me kind of lopsided and wanted to make this knowledge as full as possible.
← PreviousPage 4 of 34Next →