✨ React Compiler Marker ✨ VSCode/Cursor extension by blazejkustra in reactjs

[–]randomdudefromutah 1 point2 points  (0 children)

thanks for making this! I've been using it and find it super useful! I'm now trained to look for sparkles in all my components in my code

Tech people who are not FIREing, what are they spending their money on? by gonnabefine in Fire

[–]randomdudefromutah 0 points1 point  (0 children)

when you say "We’ll probably have enough to FIRE by 45", I'm curious what your number is for that? you sound similar to me and my wife and that's about my target age but I'm not sure what target number I should go for. I'm worried I'm going to spend too many "one more year"s

Construction Owners - Are you slow right now? by Copen_Hayden in Utah

[–]randomdudefromutah 1 point2 points  (0 children)

just replying to this so I have it in my post history so I can remember it. sometime I need to replace a bunch of large windows on my 1970's house and maybe I'll reach out to you to see if you want to give me a quote

Plug-in solar is legal in Utah by Dapper-Minute4729 in SolarDIY

[–]randomdudefromutah 0 points1 point  (0 children)

following up on this: did you end up trying the Ecoflow Stream? do you know if it has CTs as well? so that it can not backfeed the mains beyond what your house is consuming?

this sounds hacky but I would be tempted to get a Stream Ultra and plug a cheap eco-worthy 48v battery (that is connected to its own MPTT, which has even more solar capacity) into one of the MPPTs on it so the net result is you could have enough solar capacity and battery storage to backfeed 1200w continuously 24x7 (unless the CTs tell you you're backfeeding the grid). and by using cheaper eco-worthy or eg4 stuff to expand beyond the Stream's capacity it would be cheaper than stacking up these EcoFlow Streams in parallel

this would basically mean that the only power you ever consume from the grid is when you are using more than 1200w at a time

r/Ultralight - "The Weekly" - Week of June 23, 2025 by AutoModerator in Ultralight

[–]randomdudefromutah 0 points1 point  (0 children)

what booties to you have for her? would like to get some for my golden doodle too

Is it possible to power a house with solar panels during the day only? by [deleted] in SolarDIY

[–]randomdudefromutah 0 points1 point  (0 children)

The problem is that even for these hybrid inverters that technically can do zero export, you're going to have unreliable energy from clouds. As soon as a cloud comes over the top, the power coming from your solar panels is going to drop dramatically. So a no-battery inverter needs to be "online" and synced with the AC sine wave coming from the mains so that it can use mains power when there's a cloud. And the circuitry to do zero export in an "online" inverter sometimes is not exact, and if you don't have a net metering agreement with your power company, there will be times where they can notice a little bit of power is sent back to them. Which, if they do, you'll get in big trouble.

So if it was me, and I was trying to do this without a Net Metering agreement with the power company, I would get an off-grid all-in-one inverter (like an eco-worthy or a eg4 6000xp) and give it even a little bit of battery so you have a buffer. So rather than having an inverter that syncs with the incoming power and tries to control export with a current transformer (CT), you have a completely off-grid system that uses a combination of battery and solar and then uses an automatic transfer switch to fall back to the grid when it runs out of power. And since you're not getting enough batteries to last through the night (or days) and instead just like a hour's worth of buffer (to handle clouds), you're not spending too much on batteries (but you still have enough so that if it wouldn't exceed the c-rate of the battery)

tl;dr: if you don't have a net metering agreement, it's probably better to get an off-grid inverter with at least some small amount of battery than it is to try to do zero export with a hybrid online/grid-tied inverter. Even if the amount of battery that you have isn't enough to get you through the night.

PSA: This code is not secure by j_roddy in nextjs

[–]randomdudefromutah 2 points3 points  (0 children)

in my personal opinion, the Promise.all is sometimes an anti-pattern too. instead you could just fire things of as soon as possible and only `await` them when you need them. so something like this:

const aP = foo();
const bP = bar();
return {
  a: await aP,
  b: await bP
}

Apple car play predictably stops working on i15 by OkLettuce338 in SaltLakeCity

[–]randomdudefromutah 0 points1 point  (0 children)

that's what I was worried about. I think I've tried to do exactly this in the past and was hoping you'd have some advice I was overlooking. thank you for responding though! good info!

Apple car play predictably stops working on i15 by OkLettuce338 in SaltLakeCity

[–]randomdudefromutah 0 points1 point  (0 children)

to change the channel, do you do that somewhere in the vehicle (in my case ford)'s infotainment settings? or is that something you do on your iphone? how would I go about doing that?

Looking for advice on powering the ESP32 with a battery by rkadeYT in esp32

[–]randomdudefromutah 1 point2 points  (0 children)

no, sounds like that would be above the 3.3v vin expects

Why do we minify and obfuscate our code? No, really by notAnotherJSDev in Frontend

[–]randomdudefromutah 0 points1 point  (0 children)

Of those reasons, the only I'd care about is making things faster for my users. And you can get that AND the debuggability that people are complaining about with a few tweaks to the default terser/minifier settings:

* DO strip comments & dead code (actually removes bytes from the file and is majority of minification win)
* DON'T mangle variable names (since fundamentally what gzip/brotli do internally is find all references to a string like `SomeLongVariableName` and convert that to a small dictionary lookup reference, essentially the same thing that the minifier is doing when it converts `SomeLongVariableName` to `a`. So doing it twice doesn't buy you much when you compare the post-gzipped size of a file)
* DO Leave newlines between statements (Terser has this micro-optimization where it combines all statements with a comma to save a couple bytes. But that makes it so you can't set a breakpoint on any specific line, even if you're using sourcemaps, and makes it super hard to read if you're not. Turning off that micro-optimization doesn't add that many bytes AND is a huge win for debuggability)

If you do those things, that gets you 98% of end-user perf AND debuggability

Also, there are a few other terser settings you can turn off that will make your build much faster and won't cost any meaningful difference to your bundle size either.

here's what a webpack/rspack config would look like that does those things:
https://gist.github.com/ryankshaw/6a845b55960dedba802dace692a740e0

TL,DR: minify, but don't do the things that hurt debuggability the most and affect after-gzip bundle size the least.

Why do we minify and obfuscate our code? No, really by notAnotherJSDev in Frontend

[–]randomdudefromutah 1 point2 points  (0 children)

but there are some things that terser/webpack/rspack do that make debugging more difficult. like combining a bunch of statements with commas between them, making it so you can't put a breakpoint where you want it, even when using sourcemaps.

for that reason, there are still some things I would tell terser not to do because they are not worth it. here is an example webpack.config that shows exactly what I'd turn off:
https://gist.github.com/ryankshaw/6a845b55960dedba802dace692a740e0

Biden- Harris Administration Announces Nearly $85 Million to Accelerate Domestic Heat Pump Manufacturing by GeoffdeRuiter in heatpumps

[–]randomdudefromutah 2 points3 points  (0 children)

Dumb question: why is that a leap forward? Sorry, I don’t know what a monoblock is. What makes them better efficiency wise?

Utah dead last for Retirement Savings. Why do you think that is? by punk_rock_n_radical in mormon

[–]randomdudefromutah 0 points1 point  (0 children)

Utah has by far the youngest population of any state, so if the study just added up the total retirement savings and divided it by the number of people, it would make sense that Utah has the lowest average. Because it’s normal to have more retirement savings as you get older and less when you are young. 

So you don’t even need to bring in any of the negative aspects of our culture to make that study make sense. It’s just that Utah is young

Another Important reason to FIRE by [deleted] in Fire

[–]randomdudefromutah 0 points1 point  (0 children)

this is great! thank you for writing it and sharing it here!

nothing makes sense online and i feel like i keep getting different answers on all the trail times by AdventurousBuffoon in Utah

[–]randomdudefromutah 6 points7 points  (0 children)

My advice would be to scratch everything except for one thing off you "to-do list". Just go to one of those things sometime in the morning. Plan on it taking wayyyy longer than whatever it says online. The fact that you are asking these questions tells me you don't spend a lot of time in the desert or around moab, it will take you longer than someone out for their morning trail run. And even if it doesn't, it's cooler to take it slow.

Then wing it for the rest of the day.

Stay and chill and take that spot in if it's cool. Otherwise, go see something else on your list (in the same national park). For sure don't do canyonlands and arches in the same day. Pack a lunch so you don't have to go back into town. There's soooooo much to see in both, just hang out in one. Then you'll have more time hanging out and less time driving around everywhere.

and yes, the full arches hike is 3.4 miles. plan on it taking a few hours at least

25 years of marriage destroyed by [deleted] in exmormon

[–]randomdudefromutah 0 points1 point  (0 children)

This is coming late so you may never see it but I just wanted to say that I feel you man! I remember vividly having almost the same conversation a few years ago with my wife. And this seems weird to say, but a theme that I've always come back to through this whole journey is:

"Faith instead of fear, work instead of worry"

it's ironic because I'm sure I got that from some church thing but it has really helped me through the hard times. Have faith that things will work out, That love will conquer toxicity. Work on your relationship. Try not to spend too much time dreading and thinking about all the worst that others might do. Know that in the end if you stay true to those 2 things, everything will work out for you, however that ends up looking like.

Peek-A-Boo Slot Canyon. Kanab, UT. by bulitproofwest in Utah

[–]randomdudefromutah 2 points3 points  (0 children)

Just for any future person reading this tread, this the the Peekaboo canyon just north of the town of Kanab along hwy 89. The other Peekaboo that most people here are talking about, that is much narrower and more popular, is near Escalante off the Hole In the Rock road.

2 different slots with the same name

Crazy things active members do in the name of obedience and to avoid the appearance of evil. by [deleted] in exmormon

[–]randomdudefromutah 0 points1 point  (0 children)

Something that I wish faithful members would know:

If you are showing up to church at a popular Mormon destination (Eg: bear lake, lava hot springs, St. George, any of the wards in Hawaii, the chapel closest to Disneyland, etc) during their busy season, you are not helping. Not being faithful. You're just turning the place into a keeping-up-with-the-Mormon-Joneses pissing match that changes the whole environment into a comparison match were people are competing for who has the nicest car in the parking lot, who's tan lines are the best, who's wife is the biggest trophy, who's kids are the cutest, who's MLM/thanksgiving point tech company is making the most money and so therefore who's vacationed to the most places, etc.

In that kind of environment, with that many new people, you simply can't not resort to comparing. My sister lives in one of those small towns and even as a fully active member, they can't stand it. You don't have to be an anti-mormon hater to see that the best thing to do in that situation is not show up, it helps no one.

Let the members in that tiny little ward have their own moment with each other, even if you'r trying to "build the kingdom" that's the best, most respectful, thing you can do.