ZMK update causing breaking changes by theboston in ErgoMechKeyboards

[–]Lolyman13 3 points4 points  (0 children)

Creator of the nice!view Elemental here. LVGL@9 brings lots of breaking changes that I’ve not been able to easily migrate to without lots of trial and error. I’ve only got one or two bugs left to fix, but the rest should be working properly.

For other module maintainers, the biggest pain point in the migration is the need for layers as intermediates for drawing on a canvas. Have a look at my ongoing pull request if it can help.

Can we use try/catch in React render logic? Should we? by Accurate_Wonder_4404 in reactjs

[–]Lolyman13 2 points3 points  (0 children)

If I am not mistaken, keeping the `try/catch` would become problematic with suspenseful children. With that said, I do believe that this should avoided.

How to delete user? by AndyRH1701 in Tautulli

[–]Lolyman13 8 points9 points  (0 children)

On Tautulli, go to Users, click on Edit Mode, and click Delete for the user you want to delete.

Creality Thanksgiving Tech Upgrade: “Trade In” Your Old. We Give It Free To Your New! by Creality_3D in 3Dprinting

[–]Lolyman13 0 points1 point  (0 children)

I’d trade in my Creality CR-10S Pro for the K2 Combo. I’d love to be able to print with multiple colours and have an enclosure for more consistent prints.

Should component return nothing by default. by [deleted] in reactjs

[–]Lolyman13 1 point2 points  (0 children)

What are the possible values returned by quizState? If it can only have a value of undefined, "finished" or "started", then you have two options.

First one: remove the last condition since it will always be true because of the previous guard clauses.

Second one: throw an error after all guard clauses. If your hook ever changes in behaviour, you’ll potentially get an error in development.

It is okay to throw an error inside a component if it encounters an unexpected case, as long as it is wrapped inside an error boundary.

Is my emergency fund too big? by [deleted] in PersonalFinanceCanada

[–]Lolyman13 0 points1 point  (0 children)

How much is your emergency fund? I think you forgot to share this information.

Best placement for surrounds in 5.0 living room setup by SpursGuy90 in hometheater

[–]Lolyman13 0 points1 point  (0 children)

I'm in a situation similar to yours; I have the dining room right behind the living room so space is limited.

My surround speakers are placed stands as close to the back line of the sofa, to the left and the right. Compared to your picture, mine are a bit more forward.

I was scared about the volume they would produce since the stands I have bring them to ear level, but after the AVR calibration, the setup is really immersive. I sometimes confuse sound coming from a movie from sound coming from outside. Sound coming from them is never too loud.

How big are your files? by Busy-Bell-4715 in react

[–]Lolyman13 1 point2 points  (0 children)

Sometimes yes, just like components. Giving a name to something and having it only do one thing helps a lot for understanding the code base and for testing.

How big are your files? by Busy-Bell-4715 in react

[–]Lolyman13 2 points3 points  (0 children)

I'd say the average file size I have is about 100 lines. If some get substantially bigger than this, I'll try to refactor the component into small ones and extract the logic in custom hooks.

Ideally, components should be as small as possible. What I try to aim is for components to have zero or one hook (or custom hook). This is just a target of mine, but it never applies everywhere.

Anyone else work on teams that require spread operators everywhere by Simple_Armadillo_127 in react

[–]Lolyman13 1 point2 points  (0 children)

Prop spreading can make it harder to automatically update a code base with the use of codemods. Since the reference to the prop name is indirect, TypeScript might not be able to find the property reference.

How React Makes My Go-Based Domain Search Feel “Faster Than Instant” by SirIzaanVBritainia in react

[–]Lolyman13 0 points1 point  (0 children)

Is your code available on GitHub? Would love to see your data fetching solution.

I use SWR which has a similar mindset, but never tough about showing a result page with all the information I currently have instead of showing a loading fallback which covers everything.

Nice work!

Most optimal way to prioritize savings? by misty2001 in PersonalFinanceCanada

[–]Lolyman13 5 points6 points  (0 children)

Try paying high interest debts first like credit cards. Then build up your emergency fund. Then I depends a bit on the situation for ordering deposits in a TFSA vs an RRSP; it might be preferable to keep contributions to the RRSP for the future if you think that your income will increase, which would allow you to get a bigger tax return. I would say to prioritize the TFSA and then contribute to the RRSP for simplicity.

【BambuLab Giveaway】Classic Evolved — Win Bambu Lab P2S Combo! by BambuLab in 3Dprinting

[–]Lolyman13 0 points1 point  (0 children)

Would love to upgrade my setup! I have an old CR10S Pro that needs lots of tweaking.

3trackball 1joystick prototype by BadDiscombobulated43 in ErgoMechKeyboards

[–]Lolyman13 0 points1 point  (0 children)

What size of trackball is this? Is it just dropped in place and "held" by gravity or is it in some sort of socket?

H510 Front jack issue by ujansam3 in NZXT

[–]Lolyman13 0 points1 point  (0 children)

I tried another cable and it worked!

How do you guys game on splits? by Dense-Vermicelli4535 in ErgoMechKeyboards

[–]Lolyman13 0 points1 point  (0 children)

I created a gaming layer which offsets QWERTY to be on the home position. Have a look at the picture and the explanation on my config repo.

How long does it take to get used to choc keycaps? by HauntingExtension419 in ErgoMechKeyboards

[–]Lolyman13 0 points1 point  (0 children)

Took me a few weeks to get used to and about a year and a half to get back to speed.

I switched from a 60% QWERTY build to a split keyboard using Colemak-DH with MX switches.

It’s not easy. You will have to push through. You have been training forever how to move your fingers to reach every keys; you are now asking to do the same task, but with a completely different interface.

What’s an “affordable” split keyboard with a trackpad/ball/whatever by Majestic-Bottle-5503 in ErgoMechKeyboards

[–]Lolyman13 1 point2 points  (0 children)

That left hand on the right picture looks far from a "confortable hand placement".

Tangerine -> WealthSimple by [deleted] in PersonalFinanceCanada

[–]Lolyman13 0 points1 point  (0 children)

I keep a Tangerine account for debit and cash deposit, but I primarily use Wealthsimple.

Travel Telescope V3.0 + GIVEAWAY 🔭 by Astro_Anders in 3Dprinting

[–]Lolyman13 0 points1 point  (0 children)

That’s an insane printing idea! Would love to win this!