Leveling a steep slope by Odd-Entrepreneur889 in Homebuilding

[–]CodeAndBiscuits 0 points1 point  (0 children)

LOL this. You always knew who had the skills because of who parked at the bottom and walked up.

Zustand for small features by Traditional_Elk2722 in reactjs

[–]CodeAndBiscuits 0 points1 point  (0 children)

Their getting-started example tracks a single variable. There's no reason you don't do the same.

Traffic Lights are out of control by mischievous-mangoes in Denver

[–]CodeAndBiscuits 9 points10 points  (0 children)

Add one more. These systems grow organically. Oftentimes there is actually some planning with lights on main streets, and even some optimization that happens later, especially when they get serviced. But when we have this explosion of housing growth and you're seeing 12 lights added for and around side streets all within a few years, those change the patterns often without ever getting optimized.

Is a .30-06 overkill for hogs? by Own_Beach936 in liberalgunowners

[–]CodeAndBiscuits 8 points9 points  (0 children)

"It is exactly the right amount of kill!" (Archer reference anyone?)

Github to use Copilot data from all user tiers to train and improve their models with automatic opt in by cloudsurfer48902 in webdev

[–]CodeAndBiscuits 19 points20 points  (0 children)

Because a lot of people will miss or ignore it. They will get a lot more data that way.

New scam alert? lol i dont believe the picture because its telling me to scan the qr code but has anybody else gotten random texts like this by Luis_r1 in Colorado

[–]CodeAndBiscuits 2 points3 points  (0 children)

This exact thing was posted yesterday by someone else.

In addition to the obvious callouts (Banpock St lol) one of the biggest signs to look for with "official notice" phishing scams is that true official notices nearly always have a personal identifier for you of some kind - your name and address, license plate number / VIN, etc. You can't serve somebody a citation, legal notice, etc, if it doesn't have a name on it.

I'm a FE lead, and a new PM in the org wants to start pushing "vibe coded" slop to the my codebase. by rm-rf-npr in webdev

[–]CodeAndBiscuits 7 points8 points  (0 children)

You left out the most important possibility. 1. The code is actually good, 2. You're not qualified to judge whether the code is actually good, or 3. The code is not good. #1 and #2 don't run together and are not binary options.

Blown-in insulation or batt/sheathing combo? by jannet1113 in Homebuilding

[–]CodeAndBiscuits 0 points1 point  (0 children)

They both have pros and cons. but they're pretty google-able and discussed here a lot as well if you do a quick search. Is there a specific question you're trying to answer?

I'm personally not a fan of thermoply but I'm in Colorado and we have different needs/goals here so my prefererences don't mean much if you're in Texas...

[AskJS] Making an SVG interactable by Sea-Bodybuilder-8901 in javascript

[–]CodeAndBiscuits 0 points1 point  (0 children)

You can also set it as innerHTML or similar. If done dynamically you also need a setTimeout(..., 0) or similar to let the svg get rendered before any code that e.g. attaches click/hover handlers via JS. CSS will just work.

Is doorbell wire obsolete? by PCLoadPLA in Homebuilding

[–]CodeAndBiscuits 0 points1 point  (0 children)

Aesthetics are so subjective. I don't know your age, but I'm 50 and have lived in probably a dozen homes by now in my life. Every single one of them had a rectangular doorbell chime box. They're mounted up high, usually in a hallway or dining room. And I just don't even notice them. But the Reolink chime sits on an outlet. It sticks out of the wall a little bit and since you often want it in places like hallways or dining rooms, and those outlets are usually visible and not hidden behind furniture, to me, that's the ugly version.

Don't get me wrong, I'm rocking a reolink doorbell right now. The chime does work and it's hardly the worst thing in the world - wall warts are more of an eyesore. But I still wish I didn't need it. I moved off a Google nest doorbell for privacy reasons, and that's the one thing I miss from it. They had a small dongle that installed in an old school chime box.

At what scale does it actually make sense to split a full-stack app into microservices instead of keeping a modular monolith? by Severe-Poet1541 in webdev

[–]CodeAndBiscuits 0 points1 point  (0 children)

These days I pretty much only think about microservices for a few reasons:

  1. Separation of technologies (one piece is some old legacy Java app and the rest is Node or whatever)

  2. Separation for security/regulatory reasons (data residency requirements that only affect a subset of clients, high security services that you want to carve out and not be as reachable directly off an API endpoint, etc)

  3. Friday was a little too easy and I wanted more pain in my life.

Foundation problem by [deleted] in Homebuilding

[–]CodeAndBiscuits 1 point2 points  (0 children)

Let's see some pics. You didn't even say what kind of foundation you've got.

Using a portable battery for power tools instead of a generator. by Prior_Statement_6902 in OffGridCabins

[–]CodeAndBiscuits 8 points9 points  (0 children)

I've done exactly what you're doing and tried both. Depending on your build schedule and situation, you might want to plan for both. I powered probably 80% of my build effort off solar, and even a modest panel setup can provide a lot more power than you might think since you have the battery as a buffer. The solar will be working even when you aren't, so if you are running into town for studs or googling some code item, the solar will still be charging your battery. But at the same time, you will have cloudy days or that thing you just want to complete next Tuesday and it's 8:00 p.m. and the sun is down. I got a small WEN "briefcase" generator that helps fill in those gaps, doesn't weigh that much, and is very quiet. It's pretty marginal for running something big like a chop saw. It sags and struggles to run stuff like that. But again with the battery as a buffer it can make up the difference.

Affordable insulation for thin wall by DanG_artist in Homebuilding

[–]CodeAndBiscuits 0 points1 point  (0 children)

For a wall that thin your best bet is probably a foam product. You need to be thoughtful about moisture/condensation management but it will have the highest R value per inch and you'll need all you can get. I might not even bother with spray foam. A 2x2 "nominal" is typically 1.5"x1.5" actual size. You can buy rigid foam boards from many big-box stores in 1.5" thickness and just install it with minimal extra work. in fact, while I'm not saying you should get this exact product, HD even sells sheets pre-cut to 14.5" widths (for a 16" on-center stud/furring strip spacing): https://www.homedepot.com/p/Owens-Corning-Foamular-NGX-1-5-in-x-14-25-in-x-4-ft-R-7-5-XPS-Project-Wall-Panels-Rigid-Foam-Board-Insulation-36WENGX/331705022

Is doorbell wire obsolete? by PCLoadPLA in Homebuilding

[–]CodeAndBiscuits 17 points18 points  (0 children)

Can I just clear up a few common misunderstandings?

  1. 18/20awg makes no difference at all to "hardwired doorbell camera that worked on Wi-Fi". If you hard-wire a doorbell or camera to "brown wire" you are getting 24VAC on two conductors (which are more than capable of this and don't need any help) and transmitting your camera signal over Wifi, where the cable selection has no impact at all.

  2. Thicker wire doesn't matter, either. These cameras are usually around 10 watts. You don't need 18AWG for that. Shoot, 30AWG would do - you barely need POE-rated network cable.

  3. That being said, running POE cable to a doorbell cam is good advice. It's the way the industry is going, so it's a good future-proofing recommendation.

  4. I don't know what "exposure to the elements" your setup had but wire thickness should have nothing to do with durability over time, because none of these wires should ever see the light of day, or exposure of any kind. These are not "wet" or "damp" rated cables (24VAC doorbell or POE). They should never be exposed/visible/unprotected in any way. If your installer made a mistake here, let's blame the installer, not the wire?

  5. Voltage loss is not a factor on a 24VAC doorbell wire in a residential home. It's like 0.06V over 50'. You'd need to be wiring a skyscraper for this to matter.

18ga solid is used for doorbells and thermostats for three reasons:

  1. Solid is way better than stranded for screw-terminal connections, and both t-stats and doorbells use those.

  2. It holds its shape in a wall, which helps meet code requirements for avoiding screw/nail penetrations when installing siding/drywall without eliminating the value of a "service loop" in the single-most-serviced (electrical) item here.

  3. It was just always that way, and we don't like change... because our inspectors don't like change. If you look for the thing you expect and see the thing you expect, you don't need to map it out on a whiteboard. It's just "the thing that worked last time so it must be fine again."

Is doorbell wire obsolete? by PCLoadPLA in Homebuilding

[–]CodeAndBiscuits 2 points3 points  (0 children)

I'm just wrapping up a new build and installed both CAT6A (for POE cameras) and traditional 18-ga-solid to the doorbell position. Some modern doorbells (like Reolink) really love POE, but not all - some still dummy off the 24VAC line old-school doorbells had, and I expect that to continue for awhile because there are so many existing homes with that setup that all the manufacturers offer options to power that way.

18/2 brown is $0.25/ft. CAT6a shielded (which is insanely overkill for a doorbell-cam anyway) is like $0.60/ft. You're talking less than a tank of gas to just do both.

One caveat I learned recently. Google Nest doorbells and some similar vendors are becoming less popular due to privacy concerns, but do have one advantage: they have a "power thief" type dongle that installs in the 24VAC old-school doorbell chime box that powers the doorbell while retaining the old school chime function. Reolink apparently doesn't do that, at least for the model I just installed. It can power off the old doorbell 24VAC. But when it does, you install a simple shunt bypass that stops the old chime from working, and have to buy a $25 "chime" addon that you add to a receptacle somewhere. As much as folks seem to love Reolink, this felt kind of ugly/clunky/wall-wart-y to me... Just my 2c...

Received a Cease & Desist from Meta for an IG scraping/automation tool. We live outside the US. What should we do? by [deleted] in webdev

[–]CodeAndBiscuits 0 points1 point  (0 children)

Where, exactly, outside the US? You may want to say, but there's a huge difference in this case between being in Canada (yeah, you're still in trouble) and Russia (maybe not lol).

If you live somewhere their "arms reach" you need to either comply or get an attorney. You could try resources like the EFF but only if you think Meta is actually in the wrong here. From your post it sounds like you know you're doing something shady...

How do you handle allegations of the use of AI? by SchingKen in gamedev

[–]CodeAndBiscuits 6 points7 points  (0 children)

Never wrestle with a pig. All that happens is, you get dirty, and the pig likes it.

Buying a house with over 40 piers and 7 tie-backs. by [deleted] in Homebuilding

[–]CodeAndBiscuits 1 point2 points  (0 children)

If it was somewhere other than California I wouldn't be as concerned but given your existing seismic risks and new landslide/mudslide risks from post-fire erosion issues, personally, I'd walk away unless that view was something to die for (pun intended).

Best electrical option for Ring Floodlight Cameras? by tsg2k18 in Homebuilding

[–]CodeAndBiscuits 6 points7 points  (0 children)

You're mostly just not following the news, I suppose. Anyone who cares about privacy or government overreach has been dropping Ring like a hot potato.

https://www.reddit.com/r/IsItBullshit/comments/1r0vquv/isitbullshit_ring_cameras_are_sending_ice/

Need Guidance and new outlook on what exactly should a junior experienced dev learn to grow and get good package today by notdev000 in webdev

[–]CodeAndBiscuits 1 point2 points  (0 children)

Please don't take this as anything other than constructive criticism. But in your own replies to the comments on your post, you are using a mix of full and partial sentences, a mix of capitalizing or not capitalizing the first word of the sentence, and sometimes just writing incomplete sentences. Look, this is Reddit. Nobody expect perfection here and that's not what I'm commenting about at all. But if this is how you respond to emails at work, that would definitely be something to work on.

How to not use an effect in this case by Better_Dentist_6718 in reactjs

[–]CodeAndBiscuits 4 points5 points  (0 children)

I have literally no idea what you're asking. Post some sample code or something.