Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
exDM69
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
271.
▲
by
exDM69
4y ago
I read about this story in Horowitz, Hill : "The Art of Electronics" chapter on negative feedback. You can find an old edition freely available here: https://archive.org/details/TheArtOfElectronics/Vol-1&
272.
▲
by
exDM69
4y ago
I will respectfully disagree about opamp feedback loops being recursion. It is almost magical but I do not see any recursive nature in it. You can't compute fib(n) recursively with O(1) transistors. Maybe if you use the non-recursive e
273.
▲
by
exDM69
4y ago
More like the state of portable GUI in general, regardless of the programming language.
274.
▲
by
exDM69
4y ago
More like compile once and distribute one blob, run anywhere. In theory. Write once, run anywhere is true with cross compilers and native executables without any bytecode intermediate formats. Or even things like APE executables and cosmopo
275.
▲
by
exDM69
4y ago
This is uniform across Europe, it's 30 days from a positive test to have comparable numbers. That isn't very reliable any more as testing is reduced and not comparable from country to country (it was more reliable in 2020). The &q
276.
▲
by
exDM69
4y ago
Lifer at a gigacorp with golden handcuffs since 2008. Had second thoughts about it a few years back and did some interviews. Got a great offer for an interesting role at a great company. For half my current TC and worse benefits. In my poor
277.
▲
by
exDM69
4y ago
This could've been very useful to me when setting up some cross compiler targets in a Rust project. I burned through my almost all of my 3000 actions minutes in no time at all. Had to put my project on a hiatus until the next billing p
278.
▲
by
exDM69
4y ago
I think you are vastly overestimating the willingness and capability of volunteers and underestimating the effort needed to coordinate such an effort. And having any kind of manual intervention required will almost certainly reduce the reli
279.
▲
by
exDM69
4y ago
I work as a software developer in a hardware company. We have A LOT of tests. But testing costs a lot more when there is hardware present. It's a whole new dimension in your testing matrix. You can't run on cloud provider CI. Hard
280.
▲
by
exDM69
4y ago
These blessed "system components" do not exist any more. Windows has two or three different ways of doing widgets and so does MacOS while the Unix land never had one. You can still use the old ones, but they will look old and may
281.
▲
by
exDM69
4y ago
Perhaps, but it's also much better than it was two years ago and there is work going on to make it better two years in the future. A myriad of experimental prototypes (like the failure crate and its descendants) have been made, experim
282.
▲
by
exDM69
4y ago
For simple tasks you can get away without any external crates by using `Result<T, Box<dyn Error>>`. But it's much more comfortable to use thiserror or anyhow in the long run. fn read_string() -> std::io::Result<
283.
▲
by
exDM69
4y ago
You will not distinguish an echo, just a change in the "tone" of the sound you make as it reverberates in your surroundings. The echo pulses are there but just milliseconds after the sound you made. It will all blur into a softer
284.
▲
by
exDM69
4y ago
I have practiced echolocation for fun. Getting some basic awareness from your surroundings is not that difficult, like detecting if there is a wall on your left or right side. The difference in the sound response is subtle but clear. It
285.
▲
by
exDM69
4y ago
Yes, but GCC has several internal representations, Gimple and RTL.
286.
▲
by
exDM69
4y ago
Same software, different country: https://fi.m.wikipedia.org/wiki/Apotti_(potilastietoj%C3%A4r... It's been a very expensive disaster on the taxpayers' dime. Similar problems in UK and Denmark (links in Wikip
287.
▲
by
exDM69
4y ago
> Arch actually has a guide to do it from within the other Linux, which seems crazy and fun. It's not as crazy as it sounds, after all installing a Linux system is a matter of populating the rootfs, and passing kernel+initrd images
288.
▲
by
exDM69
4y ago
> Paredit is doable with Treesitter Yes, indeed. Helix has built-in paredit-like navigation using tree-sitter, the default keybindings are alt-i, alt-o, alt-n and alt-p. Maybe the Debug Adapter Protocol (DAP) used by vscode will solve th
289.
▲
by
exDM69
4y ago
Cursor needs to be between double quotes (e.g. inside string literal) for ci" to work. See `:help text-objects`.
290.
▲
by
exDM69
4y ago
The keybindings are pretty similar, the paradigm change from verb-noun to noun-verb and the multiple cursor paradigm are bigger changes. I got used to it with my brief affair with Kakoune. The Vim muscle memory will be quite helpful and not
291.
▲
by
exDM69
4y ago
Make sure you have rust-analyzer installed, and check `hx --health` to see that Helix finds it. Not sure if this is still necessary, but I needed this workaround in ~/.config/helix/languages.toml: language-server = { co
292.
▲
by
exDM69
4y ago
I've used Helix for all my recreational programming projects (in Rust) for about 6 months and I've written about 10kLOC of code with it. Still using vim at $WORK for a variety of reasons (giant c++ codebase that does not easily pl
293.
▲
by
exDM69
4y ago
They not only change the keybindings, they change the editor paradigm from a verb-noun model (dw = delete word) to a noun-verb (wd = select word, then delete) model. Multiple cursors also have an effect. It's pretty close to vim keybin
294.
▲
by
exDM69
4y ago
Here's a life changing tip to avoid this kind of issues with GDB: use the extended-remote mode. Open two terminals (e.g. in tmux), and in the first one run the GDB server. $ gdbserver --multi :5555 In the second terminal, open
295.
▲
by
exDM69
4y ago
Capture of the individuals behind it? Perhaps not. Identifying the vessel(s) supporting the sabotage operation? Much more likely.
296.
▲
by
exDM69
4y ago
> assuming all of these nations record the real-time location of every fishing boat, dinghy, yacht and tug-boat; and can play it back and analyze all of the data This is a pretty safe assumption to make. The relevent authorities have thi
297.
▲
by
exDM69
4y ago
If this act of sabotage was not conducted by nation state actors with submarines, but someone using fishing boats and scuba divers instead like you suggest, the perpetrators will be caught in a manner of days. The straits between the coasts
298.
▲
by
exDM69
4y ago
And he was pulled out of the water by two other persons using a paddle. Before that he was stuck upside down under the kayak for a solid 10 seconds before another person grabbed the kayak. There was no indication that they could've upr
299.
▲
by
exDM69
4y ago
And posting this kind of sensitive historical geopolitics post without any context during the ongoing heightened tensions is not helping anyone.
300.
▲
by
exDM69
4y ago
Two hours in and I'm enjoying it. So far the puzzles have been fun, but not very difficult. The plot is a bit heavy with references to the story of the earlier games, but perhaps not too much (my partner enjoyed it too, having only pla
More ›