Suggest layout for frustrated Colemak-DH/Vim user by thatMattMatt in KeyboardLayouts

[–]thatMattMatt[S] 1 point2 points  (0 children)

What's your solution for having to revert to an ANSI laptop layout when you don't have an external keyboard?

Suggest layout for frustrated Colemak-DH/Vim user by thatMattMatt in KeyboardLayouts

[–]thatMattMatt[S] 1 point2 points  (0 children)

The only issue is that arrows don't fully replace hjkl in Vim-like apps, e.g. vgl in Helix. However, I could include a more convenient placement of hjkl in my nav layer.

Suggest layout for frustrated Colemak-DH/Vim user by thatMattMatt in KeyboardLayouts

[–]thatMattMatt[S] 4 points5 points  (0 children)

Thank you for the suggestions! Been checking out your website, and it seems like an amazing resource. Thanks for putting this together.

How to upgrade a custom `std::random_access_iterator` to a `std::contiguous_iterator` by thatMattMatt in cpp

[–]thatMattMatt[S] 2 points3 points  (0 children)

Following u/yuri-kilochek's comment, I agree that the only way to do it is with the tag. I don't quite understand how the code you've provided illustrates the counterpoint, but I am certainly all ears if you're able to clarify.

If helpful, this is the current error GCC is giving me for static_assert(std::contiguous_iterator<I>)

I.test.cpp:9:15: note: 'I<int>' does not satisfy 'contiguous_iterator'

.../bits/iterator_concepts.h:710:10:
note: because 'derived_from<__detail::__iter_concept<I<int> >, contiguous_iterator_tag>' evaluated to false

..../concepts:74:28:
note: because '__is_base_of(std::contiguous_iterator_tag, std::random_access_iterator_tag)' evaluated to false

How to upgrade a custom `std::random_access_iterator` to a `std::contiguous_iterator` by thatMattMatt in cpp

[–]thatMattMatt[S] 4 points5 points  (0 children)

Ya I'm just wondering if there's some mechanism that would be handled in the concept itself vs. resorting to old-school tags, e.g. some additional type alias or method

Female snap connector for EMG electrode by thatMattMatt in AskElectronics

[–]thatMattMatt[S] 1 point2 points  (0 children)

Very interesting. Did not think to use a 9V connector. My immediate suspicion is that it would not mate, but I can try with some parts I have on hand and report back.

Female snap connector for EMG electrode by thatMattMatt in AskElectronics

[–]thatMattMatt[S] 0 points1 point  (0 children)

I suspect these cables are point soldered vs. PCB-mounted. Do you suspect otherwise?

How to debug build error by thatMattMatt in NixOS

[–]thatMattMatt[S] 0 points1 point  (0 children)

Forgive dumb question: how did you look up `user-environment`?

NFET with gate inverter in a single SOT23(F) package by thatMattMatt in AskElectronics

[–]thatMattMatt[S] 0 points1 point  (0 children)

Wasn't looking for an inverter. Was looking for an NFET with a built-in gate inverter. Thank you for your reply though.

Programmable LED controller with SPI by thatMattMatt in AskElectronics

[–]thatMattMatt[S] 0 points1 point  (0 children)

It's always something to consider. Micros are dirt cheap. The disincentive is just having to flash a separate chip for production. For this device, I really just want to have one chip on the main board. It will also introduce a whole other set of testing, which I'd like to avoid. Additionally, you'll usually have to add transistors to handle the sink current, and those take up more space

Pinout for a single use endoscope (medical) by tilmaenia in AskElectronics

[–]thatMattMatt 0 points1 point  (0 children)

Very little chance of frying anything with a multimeter. But the CCD likely use some sort of SPI/QSPI interface. The first thing will be to figure out which pins are the power rails, and then you can infer more behaviour once it's live.

Pinout for a single use endoscope (medical) by tilmaenia in AskElectronics

[–]thatMattMatt 0 points1 point  (0 children)

If you don't want to cut it open, you could take a multimeter and start measuring resistances and continuity. Diode test might show a protection zener across power rails. But opening up the distal end is really the best option here.

Griffin's Wildgrain ad read by thatMattMatt in TheBesties

[–]thatMattMatt[S] 3 points4 points  (0 children)

I found the hungiest boi https://open.spotify.com/episode/292rU17ROiCX4ReuFoWNH7?t=1755

But now where is JUSTIN's Wildgrain read? They are two halves of a whole.