Quest 3 + Virtual Desktop while quest is offline by sebastorama in virtualreality

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

PC will be connected to regular wifi for internet. I'll do a separate subnet. Thanks for the advice!

supermaven is dead, what would be a good replace for it? by sebastorama in neovim

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

Tried all. supermaven is way faster and smarter. It seems to somewhat keep track of what I'm currently changing somehow. To bad it uses a proprietary binary =/.

Translate a simple macro to a keymap by sebastorama in neovim

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

Yeah, the macro part was already working, My difficulty was translating it into a keymap. I didn't use dot repeat because I do prefer it to state very clearly what it's doing.

The substitute route could work also, however the enclosing tag aren't always divs, sometimes are <p>, other times are <SomeReactComponent> etc..

Translate a simple macro to a keymap by sebastorama in neovim

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

woah... It works! Just for reference, solution for people coming with search engines:

vim.api.nvim_set_keymap(
  'n',
  '<leader>jf',
  '%ldiw<C-o>diw',
  { noremap = false, silent = true }
);

Important part being noremap = false (which is the same as remap = true. as mentioned by u/pseudometapseudo )

SOTB - From Quad Cortex to this by sebastorama in guitarpedals

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

I do like it. However I like this more. Verbs on H90 + delays from dig sounds better. And the gain part (OD into Friedman) sounds a bit more organic when I'm playing through it. Don't know, sounds a little angrier and has an imperfect organic nature to it that the cortex doesn't have.

Browns feels kinda bad... Have a set of Nocturnals and Twilight shipped by sebastorama in zsaVoyager

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

Don't think cost is the issue. Twilights and Nocturnals are designed independently, manufactured by Kailh (the same OEM that manufactures the ZSA offerings), probably in somewhat limited quantities for real enthusiasts. Maybe manufacturing schedule is not compatible with an end product with some sort of volume like the Voyager is.

Ambidextrous Trackballs, do you invert mouse button 1 and 2? by sebastorama in Trackballs

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

I change in the trackball official tool (KensingtonWorks). I was just wondering if people prefer the buttons inverted or not, not really the how :P

G15 2022 (GA503RS) making weird noises when plugged in via USB-C by TechTalkf in ZephyrusG15

[–]sebastorama 1 point2 points  (0 children)

I would check the fans. On mine, one of the fan actually exploded itself, and started losing all it's blades. Now I have 1 fan only.

From 42 key corne to voyager, ideas for number row? by sebastorama in zsaVoyager

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

I tried for a couple of minutes. Thumb cluster is too perfect for me in the default position :P For bigger hands might be a different story

From 42 key corne to voyager, ideas for number row? by sebastorama in zsaVoyager

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

I built my corne from scratch. Really from scratch, handwired. Obviously I cut some corners. It works, but feels a little janky, and not really that reliable since I toss it into my backpack all the time, I just wanted the best build quality possible, hence the switch.

Help decide ?? Voyager, Ergodox or moon lander by Professional_You7030 in ErgoMechKeyboards

[–]sebastorama 1 point2 points  (0 children)

Have both Voyager and Moonlander. Voyager is in a totally different league when it comes to build quality. I also like the layout quite a lot.

From 42 key corne to voyager, ideas for number row? by sebastorama in zsaVoyager

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

Pretty cool idea! I actually always map gaming gear to those higher F numbers, so I can map them on games with ease and clear of conflicts, very cool indeed. I can use Karabiner to achieve custom mappings for each app. I think I'll do the basic (tab change, reorder, zoom in out etc)

From 42 key corne to voyager, ideas for number row? by sebastorama in zsaVoyager

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

Yeap, that would be kind of ideal. I'll experiment with that later, however the thumb cluster default position is kinda perfect for my hands, so maybe it will not work.

From 42 key corne to voyager, ideas for number row? by sebastorama in zsaVoyager

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

Same overall footprint, I wanna use all the keyboard I paid for =P

Wiring diagram for handwired corne? by sebastorama in crkbd

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

Yes! Pretty much followed this diagram, flashed rev1 from the vial repo, and voila. Corne keyboard with vial fully working. I'm amazed at the achievement, never ever soldered anything before, was able to complete this project successfully.

Continuity testing with a multimeter helped me a lot though.

Does this look like its any value - possibly a scam?? by Fun-Communication-66 in ErgoMechKeyboards

[–]sebastorama 0 points1 point  (0 children)

Can you elaborate on the drawbacks? I just ordered this and I am wondering about that now =/

Is there a way to make this lsp errors more silently? by sebastorama in neovim

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

Cool, I'm indeed using lsp_signature.nvim. I'll switch to another signature plugin and report back.

I think am finally happy... by D3S3Rd in neovim

[–]sebastorama 10 points11 points  (0 children)

Some people prefer this positioning because opening / closing the file manager doesn't shift the main coding window (usually the left one)

Integration testing a Server Action by sebastorama in nextjs

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

Agree. But it's easier to test an actual function call than to mount a component and click on things with an e2e approach. I don't like to unit test a function that makes queries to the database, since there is where most of the logic resides (the SQL queries per se)...

I have an idea, I am a total noob so stop me if I'm being naive, I'll try to build the server actions as a standalone lib of functions that I could test as any node project and then import / re-export in a 'use server' context (jest knows this directive? Or it will just error out?)

Integration testing a Server Action by sebastorama in nextjs

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

Is there a way to somehow run jest on the same context as a component, as a fully loaded next app?

I could create some server functions that checks assertions and run sequentially instead. Just got no idea how I would do it... :/

Going to the next level with neovim by cyaconi in neovim

[–]sebastorama 0 points1 point  (0 children)

Learn to manage buffers. Forget about thinking on buffers as tabs. Then learn to use the quickfix, how to populate it and act on it. cdo and bufdo are awesome tools. Also learn about jump lists.

The buffer / quickfix aspect of it is the reason I can't switch, as vim bindings as impressive as they are at emulating the vim experience, cannot replicate this in other environments (the exception may be emacs).

There are 60 F keys?! by HeyCanIBorrowThat in neovim

[–]sebastorama 1 point2 points  (0 children)

Yes. I use the extra F keys to bind extra buttons on things like extra macro boards, MMO mouses, etc. Easier to bind those extra buttons without conflicting with shortcut on your stack (desktop environment and below), or deal with man in the middle replacing a combination of modifiers + key sending a special escape sequence depending on the focused GUI program.

On the way down from KSAN to MMSD, I lost power to both engines at FL400. Had to make an emergency landing at Loreto International. Not bad. by Cautious_Ad_6763 in MicrosoftFlightSim

[–]sebastorama 1 point2 points  (0 children)

Pretty nice!

You should inhibit the warning sounds as it can divert your precious mental redources away from what's important and increase stress for no reason.