Spyke

Replies

Comment on

why not a,b or x,y?

I generally use a for each type loop or a map because I am usually applying some function across a collection, and in both cases I use the singular name from the collections plural.

Cities.map(city -> …)

For (val city in cities)

If I actually need the index for some reason I still prefer loop structures that give me the index and the item together

*note syntax pulled out of my head and not necessarily belonging to any specific language.

For ( city, index in cities)

cities.map((city, index) -> … )

If I need to double loop a matrix array I would use rowIndex and ColIndex for the indexes.

Comment on

What operating system do you use on your main computer?

macOS, and after having to use virtual desktops on windows for work, I appreciate macs spaces implementation so much more.

I have windows 11 on my gaming computer and that’s fine with a third party clipboard manager, and powertoys.

Windows 10 in the office even with powertoys and a third party clipboard manager still annoys me.

The virtual desktop includes all monitors as one desktop. If you switch one screen to a different desktop it switches all of them. On my Mac I can switch per screen with a swipe.

Also the virtual desktop overview is laggy so moving windows between virtual desktops is a pain. Furthermore in that overview you can only move windows between the same monitors virtual desktop, you can move across monitors for whatever reason.

vegan

Comment on

Favorite tofu marinades?

I’m partial to Thai peanut marinade From it doesn’t taste like chicken. She has a lot of marinades to try here

Thai Peanut Marinade: 3 tablespoons peanut butter 1 ½ tablespoons soy sauce 1 ½ tablespoons lime juice 2 teaspoon agave ½ teaspoon garlic powder ½ teaspoon powdered ginger

rust

Comment on

Warp: Rust-based terminal

Reply in thread

I love it, has lots of sensible things that should have been fixed forever ago. You can just edit the input like normal text.

It makes blocks out of output which makes navigating output much easier

You reached the end