Readit News logoReadit News
zadwang commented on Autocorrect in Your Keyboard Firmware (2021)   getreuer.info/posts/keybo... · Posted by u/samwho
zadwang · a year ago
Such ideas generally interfere with usability. I loath any such automations. Some more examples: the menu changes when the mouse hovers over the item; the window size or position changes when the window movement nears the border; Word automatically indent bullet items etc etc. The people designing such systems think they are designing a smart system and the usability is horrible, for me at least.
zadwang commented on Is the frequency domain a real place?   lcamtuf.substack.com/p/is... · Posted by u/zdw
zadwang · 2 years ago
Fourier basis is unique in that the complex exponential basis functions are the eigen vectors of the linear time invariant (LTI) systems. No other transform has this property. Many real world systems (circuits, communication channels, antennas, etc) are LTI. This property make sure for example, signals transmitted over different frequencies do not interfere. That is why Fourier transform is so useful and used instead of other transforms. There is also the connection with quantum physics, in using Fourier pair as wave functions of position and momentum, which other transforms don’t have.
zadwang commented on The xz attack shell script   research.swtch.com/xz-scr... · Posted by u/todsacerdoti
zadwang · 2 years ago
The set of unix utilities have been tested a long time. I just wish the kernel and key utilities keeps fixed and not changed. Unless absolutely necessary. Don’t fix it if it ain’t broken. The software empire seems out of control.
zadwang commented on Show HN: Multi-monitor KVM using just a USB switch   github.com/fiddyschmitt/S... · Posted by u/fiddyschmitt
zadwang · 2 years ago
I use DDC and synergy. So no hardware. It is mostly working OK.
zadwang commented on The Nanohertz Gravitational-Wave Detection Explained   physics.aps.org/articles/... · Posted by u/raattgift
zadwang · 2 years ago
Excellent illustration. After reading it I thought this looks like the PHD style. And I checked the author, who IS Jorge Cham. About 22 years ago I was reading his Piled higher and deeper, PHD, series and bought several books of his. It is a great feeling to see that he is still doing comics. Thanks Jorge!
zadwang commented on Gallery of Processor Cache Effects   igoro.com/archive/gallery... · Posted by u/signa11
zadwang · 2 years ago
Is this the reason modern apps like Mozilla are so slow? Basically OS memory movement is the bottle neck?
zadwang commented on Ask HN: Is Vim still worth learning?    · Posted by u/harco
zadwang · 3 years ago
Vi was designed for very slow connections, maybe 300 symbols per second. As such it needed to minimize the keys needed to accomplish a task and maximize user friendliness within such constraints. Turns out that goal is still very much relevant today - although there is a learning process to learn the code book.
zadwang commented on Notmuch – Just an email system   notmuchmail.org/... · Posted by u/tosh
zadwang · 3 years ago
Last time I checked I disliked the size of search index folders and files. So I am sticking to mairix, which integrates well with mutt and is small and fast.
zadwang commented on Go: Redefining For Loop Variable Semantics   github.com/golang/go/disc... · Posted by u/denysvitali
zimpenfish · 3 years ago
> whenever address of iteration variable is used

That wouldn't fix the closure problem where the address isn't taken.

zadwang · 3 years ago
You are right.

Would it be possible to add closure use as another case?

zadwang commented on Go: Redefining For Loop Variable Semantics   github.com/golang/go/disc... · Posted by u/denysvitali
viraptor · 3 years ago
> This is about the same as adding x:=x in the loop

It's one per module though. In large enough modules you'll have tens of x:=x though. I assume this also opens the option of doing more such changes through the same system in the future.

zadwang · 3 years ago
Correct.

The “static analysis” section says that it is impossible to catch all cases where address is used which is true. However if the analysis checks for whether address is TAKEN, then it is trivial. I would like to propose that as an alternative- whenever address is taken the variable is per iteration. Otherwise per loop.

This seems the simplest and logical modification.

u/zadwang

KarmaCake day99March 31, 2018View Original