Readit News logoReadit News
omgtehlion commented on Git Diagramming "The Weave"   daverupert.com/2025/08/gi... · Posted by u/tobr
DonHopkins · 6 days ago
A mobile screen is not wide enough anyway!
omgtehlion · 6 days ago
It's not mobile, it is IE6 era all over again, when sites are designed and work only in one (dominant) browser :(
omgtehlion commented on I'm too dumb for Zig's new IO interface   openmymind.net/Im-Too-Dum... · Posted by u/begoon
Galanwe · 14 days ago
The Zig's language is really good, but the standard library is really a big work in progress, constantly shifting, missing a lot of bits, overly abstracted at some places and too low level at other places.

I would say just stay away from the standard library for now and use your OS API, unless you're willing to be a beta tester.

omgtehlion · 14 days ago
Yup, exactly how I use zig most of the time: just use good old OS apis, it is very easy to use cImports, when I'm too lazy to create zig definitions )
omgtehlion commented on Without the futex, it's futile   h4x0r.org/futex/... · Posted by u/eatonphil
nromiun · 18 days ago
Is it just me or moving things out of kernel space improves performance in general? Like context switching, mutex or entire TCP stack. I wonder what else can be moved into user space.
omgtehlion · 17 days ago
Yes it is. In hft (or any algo trading nowadays) it is commonplace to use usermode networking since like ~2010 or even earlier.

The part of NICs address space is mapped to a process (control registers and memory rings), and whole driver just runs in your process without going through the kernel. Of course, it ignores usual stuff like firewalls, iptables, etc, but who cares when all you need is the lowest latency possible )

omgtehlion commented on Should we remove XSLT from the web platform?   github.com/whatwg/html/is... · Posted by u/edent
JimDabell · 22 days ago
Some recent discussion on XSLT here:

XSLT – Native, zero-config build system for the Web – 27th June 2025 (328 comments):

https://news.ycombinator.com/item?id=44393817

The only useful thing I have seen it do in the past couple of decades has been to style Atom/RSS feeds. I haven’t personally used it in 25 years. The complexity and attack surface area isn’t justified by its utility, so it’s hard to make the case for keeping it.

omgtehlion · 22 days ago
> so it’s hard to make the case for keeping it.

How about “not breaking stuff” which can not be upgraded? Like old sites/services without active maintainers but still useful. Or hardware appliances that still work, but will not get firmware update ever. Let alone rss feeds, brought up multiple times in the linked thread.

Looks like builtin polyfill (similar to pdfjs in FF) would do. But google seems to be reluctant doing it.

omgtehlion commented on RE#: High performance derivative-based regular expression matching (2024)   arxiv.org/abs/2407.20479... · Posted by u/fanf2
omgtehlion · a month ago
Source repository (https://github.com/ieviev/resharp) seems to be deleted. Does anyone have a link to the actual code?

Edit: answering myself, this seems to be (at least partially) merged into the dotnet itself https://github.com/dotnet/runtime/pull/102655

omgtehlion commented on I want an iPhone Mini-sized Android phone (2022)   smallandroidphone.com/... · Posted by u/asimops
omgtehlion · 2 months ago
These days I want an iPhone Mini-sized iPhone phone... :(
omgtehlion commented on Splice: Cable Harness Design Made Simple   splice-cad.com... · Posted by u/nateb2022
dylan604 · 2 months ago
I've never seen reference to mate/wire side instead of male/female. Is that a Euro thing?
omgtehlion · 2 months ago
I suppose this is about different thing: male/female are about two parts of connector mating together. And each of these parts has mating side (to the other) and side where wires come in. This is the first time I see this distinction though (usually only mating side is considered)...
omgtehlion commented on On latency, measurement, and optimization in algorithmic trading systems   architect.co/posts/how-fa... · Posted by u/auc
dmurray · 2 months ago
The article also touches on some reasons this isn't enough. You might want to test outside of production, you might want to measure the latency when you decide to send no order, and you might want to profile your code at a more granular level than the full lifecycle of market data to order.
omgtehlion · 2 months ago
All internal parts are usually measured by low-overhead logger (which materializes log messages in a separate thread, and uses rdtsc in the hot path to record timestamps)
omgtehlion commented on On latency, measurement, and optimization in algorithmic trading systems   architect.co/posts/how-fa... · Posted by u/auc
omgtehlion · 2 months ago
In HFT context (as in the article) measurement is quite easy: you tap incoming and outgoing network fibers and measure this time. Also you can do this in production, as this kind of measurement does not impact latency at all
omgtehlion commented on Battery-electric "Infinity Train" will charge itself using gravity   newatlas.com/transport/fo... · Posted by u/croes
brnt · 2 months ago
How come Soviets electrified all rail? It wasn't because they're swimming in money...
omgtehlion · 2 months ago
Well, they did not. Only major lines are electrified

u/omgtehlion

KarmaCake day1029June 21, 2011View Original