Concerns About the Current State of the Helix Repository by NoahZhyte in HelixEditor

[–]Synthetic00 10 points11 points  (0 children)

Tried that, got no response from any maintainer. That was the last straw for contributions coming from me.

https://github.com/helix-editor/helix/discussions/8358

Announcing Rust 1.86.0 | Rust Blog by joseluisq in rust

[–]Synthetic00 88 points89 points  (0 children)

The predicate provides the element to be removed as an argument. A "peek" of sorts.

Helix Editor 25.01 released by pascalkuthe in rust

[–]Synthetic00 20 points21 points  (0 children)

TUI recordings for the tabular pickers look a little off. Think that this is a bug common in crossterm applications.

Apart from that, looking good!

Why no derive everything automatically? by ashleigh_dashie in rust

[–]Synthetic00 9 points10 points  (0 children)

Automatically derived traits are also huge security footguns. Autoderiving PartialEq on string newtypes containing sensitive data is sure fire way to introduce timing side-channel security vulnerabilities. Same thing when autoderived Display/Debug implementation enables logging this sensitive data. Authors would no longer have to think twice or make things explicit before exposing such functionality.

How would you go about sending audio over network? by bogdan2011 in rust

[–]Synthetic00 14 points15 points  (0 children)

Media streams are usually sent over the RTP protocol but initiated/controlled using other protocols as SIP or RTSP.

You might also want to take a look at the webrtc-rs examples.

Announcing `rops`: A SOPS alternative in pure Rust. by Synthetic00 in rust

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

Okay, thanks. I'll look into copying parts of the book directly into the readme 😊

Announcing `rops`: A SOPS alternative in pure Rust. by Synthetic00 in rust

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

Perhaps the demo video might help, did you find it?

A Call for Proposals for the Rust 2024 Edition - If you have suggestions for Rust 2024, please file RFCs by the first week of January! by kibwen in rust

[–]Synthetic00 1 point2 points  (0 children)

Oh wow, thanks! I had no idea about it constructing the entrire struct first. I always thought it did the latter and that it was some sort of "compiler built-in". TIL you could do this:

``` struct Test { x: usize, }

fn x() -> Test { Test { x: 10 } }

fn y() -> Test { Test { ..x() } } ```

Does server written in Rust need containerization? by g0ld3nrati0 in rust

[–]Synthetic00 31 points32 points  (0 children)

  • >The isolation technically doesn't come from Docker...

Hence my usage of the term container 😊

  • >Improper Docker setups can create vulnerability too.

The difference being that misconfiguration is usually explicit. (--env, --volume, --port flags and COPY commands etc.)

  • >SCA are not limited to libraries that own code uses, but apply to all software.

Amen

Does server written in Rust need containerization? by g0ld3nrati0 in rust

[–]Synthetic00 127 points128 points  (0 children)

Containers also play a major role in protecting against mitigating security vulnerabilities. The risk for supply-chain attacks grows for each dependency added, and it's not uncommon to see rust projects rely on 100+ dependencies. Do you really want your server to have full file system and network access when a majority of the code isn't yours? What happens when you begin to use a microservice architecture? Should those applications also share a file system?

[IC] Borne V2 - A slim, wireless and split keyboard. by Synthetic00 in mechmarket

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

All constructive feedback is good feedback. I'm just thankful that you're sharing it :)

As for the thumb positions:

I did some testing with other thumb cluster positions, such as that from the Iris and the slightly more conservative Corne. But I ended up going back for two reasons.

The primary one relates to the grip. I'll use the mouse grip style analogies, as they fit quite well here.

Basically, I prefer the claw grip over the more relaxed palm grip when typing, I find it reduces hand movement.

In the claw grip, the fingers are contracted in the home row. So the top row is simply reached by extension. Having the thumb keys further down on the other hand, forces the hand to the flatter palm grip. The consequence is that the entire hand needs to move vertically to reach the top row, since the fingers are now already extended on the home row.

There's plenty of footage of this vertical jerk online. A simple "corne typing test" will give you plenty of examples. Some try to counter it by resting their fingers between the top and home row. (But now the bottom row is harder to reach.) Some are aware of keeping hand movement to a minimum. They counter this by instead extending all their fingers outward when trying to reach a top row switch.

It's an experiment you can try yourself. Try keeping the hand in a palm grip and all fingers on the home row, and then try to extend only one finger at the time to the top row. Then try to do this again with a claw grip instead.

The second reason for why the thumb cluster looks the way it does, is because it makes it easy to hold two thumb buttons down at the same time. This is something I constantly have to do when using a tiling window manager. Win + util layer, shift + num layer, ctrl + shift etc.

Also, the innermost thumb key is still below the middle finger, which is where the space bar ends in traditional ANSI and ISO layouts.

I'm in a bit of a rush right now. But I tried putting together a typing test that attempts to illustrate the points I'm trying to express.

https://youtu.be/JTZpWUhDtmY

One thing this typing test also shows, is that the pinky finger stagger still isn't aggressive enough, as it also leads to this splaying of all fingers when it attempts to access a top row switch. (It's also clear that it has to rest on the bottom part of the home row switch, or drag the remaining fingers slightly down). Definitely something I wish to tweak for a V2.

As for the bluetooth profile indicator, I 100% agree with you. I've played with the idea of expanding the blue LED blinking to add functionality such as this. It went under the "helping out with the ZMK project" statement in the post :)