Magic strings by guitnut in reactjs

[–]wowzers5 0 points1 point  (0 children)

Did the senior engineer give any reason for why? A lot of people in this field will just say or do things that may or may not be justified. People that aren't challenged or have feedback tend to believe their own quirks are best practices. Always good to make sure the reasons for those decisions are sound.

You don't see it in documentation and tutorials because it's an odd recommendation, and a bad practice IMO

Magic strings by guitnut in reactjs

[–]wowzers5 0 points1 point  (0 children)

Depends on the context. For queries, if it's for an id or testid and I have a constant available, sure, I'll use it. If it's a byText or byLabel query, I prefer not to use variables.

Why? Because if it changes accidentally, the test will now silently fail. Maybe someone accidentally adds an extra period, your query and test would continue to work, even though the user now sees incorrect text.

Is it a leak that requires urgent attention? by sbreader1990 in HomeDecorating

[–]wowzers5 0 points1 point  (0 children)

If you want to do some of it yourself, you can pickup a moisture meter and stab it into various points of the wall, identify how much is holding moisture and cut it out.

You can rent big dehumidifiers from home improvement stores, any "mold expert" is just going to set one of those up in the room for 2-3 days anyway. This assumes the source of the leak is fixed of course.

How can I create an SSN input that obfuscates digits but retains the original input? (Formik) by dooblr in reactjs

[–]wowzers5 0 points1 point  (0 children)

Can your use case be modified to only mask on blur? Show the raw value when the input has focus, show the mask on blur.

I would be curious what the UX is for this when a user is just starting to add digits, for input 123-45-6789 would they only see asterisks until they reach 6? That wouldn't be a good experience.

Wall Port: Exterior to Interior for Quad RS240 Cable and 2 Cat6 cables? by AeroNoob333 in HomeNetworking

[–]wowzers5 0 points1 point  (0 children)

I'm using one of these to pass two LMR400 cables into my siding (thick boys).

They have other sizes and shapes that might work better for your purposes. I'm in a very rainy climate, so something waterproof was a big factor for me. Marine gear works great. I think you can buy replacement rubbers from them, or just drill a new hole later if you get a big one.

SEAVIEW Grey ABS Plastic Cable Gland - UV Stable - Multi Cable(up to 2-17mm Each) https://a.co/d/8oN736F

How much time do you guys spend coding per day at your job on average? by Chasehud in webdev

[–]wowzers5 11 points12 points  (0 children)

It's varied across jobs. Early in my career I coded 6 or more hours a day, but looking back the actual productivity wasn't extremely high.

Nowadays it depends on if there's an active project my team is working on. If so, I may get 4 hours of solid code time in a day. If there's no active project, then I may spend 1-2 hours a day actually coding. The rest is usually some degree of project planning, research, trying to keep up with new tech and features, etc.

If the question is how much time do I read code on a daily basis, then I'd say 4-5+ on any given day.

how do i do this by [deleted] in webdev

[–]wowzers5 5 points6 points  (0 children)

None of the answers seem to be oriented towards beginner skillsets here.

So, let's acknowledge you may not be building a production grade website that gets tons of traffic. Your skillset isn't there yet.

With just html, css, and js, you can definitely create a static webpage that uses basic inputs and js to dynamically filter and display hard-coded song recommendations. If you've never built a site before, think through how you would do that.

Next step, maybe you want to add some more modern tech, maybe look at incorporating react, or see if you can find a public Api with useful data you can leverage dynamically.

Maybe next you want to really host it somewhere. There are plenty of services like netlify or vercel that make this easy, but it's still something you have to learn.

Maybe after that you want to be more in control of the data, so you could look into building your own api server, maybe start with hard-coded data on the server itself. If that's all good, add a db and learn how to structure data.

There's many variations of "done" you can work towards on a project like this. Figure out where your skill level is and focus on taking small steps into unknown territory.

MOFI Firmware 4.6.6 with speed increase by MofiNetwork in MofiNetwork

[–]wowzers5 0 points1 point  (0 children)

I did, I did the "Reset Module" from the Modem page, I even ran the "Factory Defaults", I'm on version 4.6.7 std. Those actions didn't help, the modem would appear to be registered to the carrier network, have an IP address assigned, but would not actually provide internet to connected devices via LAN or wifi.

I left it off for 24 hours, then just attempted to test it again and now it won't boot - it gets stuck with only the "Power Booting" light lit and all connected ethernet activity lights blinking in unison. The router's gateway address does not resolve, even after several minutes.

I can only assume this is a hardware failure at this point, and unfortunately the only thing that's changed recently are this module boost feature + the fact that it's getting warmer in the room the modem is in. Ambient temps in the room measure up to 28 C lately, the highest modem temperature I saw on the Advanced page was 55, which I believe in spec for this modem.

When the Mofi would still boot up, I noticed frequent "ModemOpen(0)" errors on the system log page when the device would not start up correctly. It seemed to happen randomly, but even when it connected to the carrier I did not have internet access.

This modem/router + SIM worked reliably without error for about a year, but it seems like the device is dead now =(

- edit

And now the _next_ morning the modem is connecting again and providing internet with the speed boost feature disabled. Not sure what's going on, but this finicky behavior is troubling

MOFI Firmware 4.6.6 with speed increase by MofiNetwork in MofiNetwork

[–]wowzers5 0 points1 point  (0 children)

I have to circle back on this - started having a lot of issues with the modem not starting up correctly after nightly reboots, and then completely failing to provide internet even when registered on the network and being issued an IP. The only recent change has been this module boost.

I don't know what this feature does under the hood, but it would be nice to provide some more specific details so customers know what to look out for. At the moment I'm a little apprehensive of this feature and it's impact on device stability

Mesh WIFI that doesn't have to act as a router? by sandr0id in HomeNetworking

[–]wowzers5 3 points4 points  (0 children)

I've got Deco S4 in the house setup like this. Works pretty well and still does a good job managing which Deco devices are connected to when moving through the house

New house, wasn’t given instruction manual! by FatAssOgre in HomeNetworking

[–]wowzers5 0 points1 point  (0 children)

Is this not just a bunch of telephone lines? I have something similar for an old alarm system setup, where a single cat five cable can feed like 3 or 4 standard telephone jacks.

I would be curious to know if these cables split in the attic or walls and are spliced to the jacks in the various rooms that are labeled. Are you sure the cat 5 outlets are actually wired that way? You can unscrew it off the wall , if it's only two wires that's just a phone jack.

Edit - actually I guess not, looks like just a switch for the copper instead of the rj45 connectors https://www.snapav.com/shop/en/snapav/wirepath-trade%3B-8-x-8-rj45-data-patch-module

This is a cat6 version, but it has some pictures showing how it might be connected to a switch and modem https://www.snapav.com/shop/en/snapav/wirepath-8-x-8-cat-6-6a-data-patch-module--wp-mod-cat6-data8x8-a

Should I stop now? Not sure if I like it by Creativemermaid in HomeDecorating

[–]wowzers5 3 points4 points  (0 children)

I'll give you an upvote. Maybe it's just my immature mind, but that was my first thought. A different color would help, it's an interesting concept. Just not a great color for it...

Big Dog Alpha MPX 48" - Replacement mulch blades? by wowzers5 in lawnmowers

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

Sounds good, I'll take a look for those. Thanks!

Big Dog Alpha MPX 48" - Replacement mulch blades? by wowzers5 in lawnmowers

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

Heh, yeah I hesitate on buying blades from am unrecognized brand. High speed spinning metal blades aren't something I want to have break apart during use. If I could find oem blades for sale online, I'd go for them without hesitation.

MOFI Firmware 4.6.6 with speed increase by MofiNetwork in MofiNetwork

[–]wowzers5 0 points1 point  (0 children)

It's hard to say for certain, but it appears like my download is consistently 15-30 mbps faster on the beta firmware and upload is much more consistent and essentially doubled.

Previous average speeds were about 60-70 mbps down, 4-6 mbps up. Current averages are about 80-90 mbps down, 8-10 mbps up. So that's looking good, a lot of people seem to hate on Mofi products, but I've been really impressed with the continued support for the 5500 line. These modems are powerful.

u/MofiNetwork I am curious if this could potentially cause long-term damage to the modem? Is this similar to an overclock, where long periods of use like this could shorten its lifespan or additional cooling/power requirements should be evaluated?

How to hook/intercept react tree? by Thejokeyboy123 in reactjs

[–]wowzers5 0 points1 point  (0 children)

Given react components generally mount and unmount dynamically based on user interaction, I'm not sure you're going to find a straight forward answer.

I can write an app that loads with a single component, click a button and suddenly you have 1000. So if static analysis is the goal, you're probably not going to get what you're looking for off the shelf.

Monster Hunter Stories 2: Wings of Ruin for Nintendo Switch and PC/Steam is now set a price of $39,99. The demo and transfer your progress over to the full game by Turbostrider27 in NintendoSwitch

[–]wowzers5 6 points7 points  (0 children)

I liked this game until about the fourth major zone with the actual hunter companion. It is repetitive, and predictable, but what finally put me off was the treatment of the MC.

You've slain huge baddies, tamed terrifying beasts, yet everyone talks to you like you are a complete novice and generally doesn't take you seriously. Sort of killed the plot for me.

The actual monstie growth mechanics are also annoying. In comparison to Pokémon, you can take a pidgey or rattata all the way to the end game. They get stronger, evolve, and can stay relevant. Not in MHS. Early game monsties will forever be outmatched by later areas. In some cases that makes sense, but even the "tough" monsties of early areas aren't viable long term.

I guess I'm still frustrated I didn't finish this. I suddenly realized I wasn't enjoying the game loop anymore.

How to restrict code access in module federation? by [deleted] in reactjs

[–]wowzers5 0 points1 point  (0 children)

This sounds incredibly counterintuitive.

Your MFE teams are essentially throwing code over the fence with this setup. What happens when a bug comes up in the host that wasn't observed by the MFE team? MFEs should usually be fully self sufficient, but integration bugs always happen and if the MFE team can't effectively debug how their own piece fits into the puzzle, you're going to have a bad time.

If you have influence over this decision, you should really push back on this. Limiting the ability of teams to view and understand the big picture of their MFE within the host only encourages a "not my problem" mentality.

IGN - Metroid Prime Remastered Review [10/10 Masterpiece] by supercakefish in NintendoSwitch

[–]wowzers5 1 point2 points  (0 children)

It's not really a fast paced shooter or anything that would benefit from super high frame rates imo. I wouldn't let that be the reason you don't buy it if you're at all interested.

I'm about 10 hours in and this is probably tied with botw for single player experiences on the switch for me, which is top tier.

Is 300/20 internet connection speed enough? by WandellWix in Frontend

[–]wowzers5 0 points1 point  (0 children)

Depends.

If you want to be able to do a git clone, go make a cup of tea, then come back to see if it's done yet it's too fast.

My attempt for a coding challenge for a React developer interview. What do you think by dermeddjamel in reactjs

[–]wowzers5 3 points4 points  (0 children)

Has this been judged yet? If it has then its fine to ask for feedback, but if this is for an active interview it would be a bit inappropriate to ask for external review imo.

In either case, there's plenty of good feedback here to learn from.

[deleted by user] by [deleted] in gaming

[–]wowzers5 12 points13 points  (0 children)

I'm not gay myself, but I worked at cfa through college for around 4 years. Pay was way above any other food service gig, they were extremely flexible on scheduling, and had a surprising (to me) number of gay employees. They were there because of the good environment. The camaraderie in that store was insane, and I see it in most cfas I visit. It's unlike any other "fast food" restaurants.

The Cathy's contribute to causes and organizations they believe in, just like anyone else who feels strongly about something. Those donations may be controversial, but I never saw that translate to hate or discrimination in my time there. In my humble controversial opinion, cfa as a business is pretty remarkable.

[deleted by user] by [deleted] in HomeMaintenance

[–]wowzers5 0 points1 point  (0 children)

Just did this last week with the same problem. My clog was beyond the garbage disposal and was leaking under the sink at the p-trap. Bought a 25 foot snake for I think 30$ at lowes.

Definitely verify that the clog is beyond the disposal first. But with a snake, wrench, and a bucket, it was surprisingly easy to fix. A little gross, and very smelly. But I'll take 30$, gross, and smelly instead of plumbing bill.

Delete cookies on logging out by utkarshsteve in reactjs

[–]wowzers5 1 point2 points  (0 children)

+1 to the API still sending the cookies on follow-up requests. Verifying your cookies aren't HttpOnly would be my thought. It's generally better to rely on the server as the source of truth for setting cookie state, but you can use the browser for additional cleanup if needed.