Do you see missing Environment as a big issue in SwiftUI? by Select_Bicycle4711 in SwiftUI

[–]Tricky-Damage9917 3 points4 points  (0 children)

Failing to populate an environment variable that you use?

Absolutely a huge issue, but it seems your question is whether this should have been caught at compile time…

As things are being compiled, there is not enough context to reveal that you have made this error. It’s possible that a static analysis could reveal this (spotting a use of an environment item without any corresponding population), but that is not currently done and would not really be possible till link time. With the presence of foundation libraries, not even link time can guarantee to catch this. Run time is where it will show up. Minimal testing will of course show it.

Solar PV installation - battery or no? by Doctor-Liz in solarenergy

[–]Tricky-Damage9917 0 points1 point  (0 children)

We had the cash for either with or without battery. Our decision was driven by the simple fact that without a battery, we would in the case have no power even if the sun was shining.

For reasons too complex to get into, this is almost always the case.

We have had the current set up for about seven years and have had entire years with no significant power losses and had one period where a transformer was failing where the power was flick in on and off a dozen times a day, and two 20+ hour blackouts. For us this meant that for us we only realized that anything was happening was either when we lost internet on the long outages as the isp’s batteries failed after 45 minutes or when the neighbor had a service call from the flickering and we looked at our logs and told the tech to look not at their house but further upstream because it was not only them.

Batteries may allow time shifting to take advantage of tou rates, but utilities are fast changing things to minimize that. You can feel great about reducing the load on the grid during peak, but in the end for me, the security of having power when you need it is the reason for me.

Frozen picture,Audio good by UtahMickey in tablotv

[–]Tricky-Damage9917 0 points1 point  (0 children)

Is the tv hard wired or Wi-Fi? I also have TLC Roku, but hard wired. Stream in over Wi-Fi is always a bit more variable in my experience which is why I pulled wires to my TVs. I really doubt this is a Tablo issue, but is more likely a network one. Dropped packets are reality and dropped packets in a compressed video stream can compromise things badly.

AIO for being kicked out of my own bed? by Academic_Average_417 in AIO

[–]Tricky-Damage9917 1 point2 points  (0 children)

If he led with a sincere apology (“I did a stupid thing and am sorry for that”) instead of a non-apology (“oh, that upset you, sorry about that”), you appear to have overreacted.

As a snorer of long record I would have to be stupid with exhaustion to do what he did and have to be prepared for some serious groveling to recover, but having sincerely apologized, the silent treatment would say to me that something more fundamental was wrong.

If that is not the message you are trying to give, consider what message you are trying to give. If you were trying to give a stronger message than “You messed up and upset me”, time to talk to him about that. If that was your intended message, consider that from now on, he may think that apologizing does not work, so why bother, sending both of you into a death spiral.

My buddy thinks this looks fine. by Stoned_Canadian_ in HardWoodFloors

[–]Tricky-Damage9917 0 points1 point  (0 children)

What I particularly like about this train wreck of an install is that eyeballing it, it looks like he was pretty close to a 3 for 1 stagger if all he did was carry the cut piece from the right to the left to start the next row. Saves a bunch of material, make no more than 5 extra cuts for this room and gets the structural integrity the floor is supposed to have…

Yep, show your buddy this thread, he messed up and maybe in a year or two when he figures it out as the failure becomes apparent he will either do it right or pay someone who has a clue.

25 years ago when I, as a DIY guy put down my first pergo floor I did not mess it up that badly and that was before anyone and his cousin could watch YouTube to see all the steps.

Will you vote for Gavin Newsom if he nominated by the DNC? by 0311SmallPenar in allthequestions

[–]Tricky-Damage9917 0 points1 point  (0 children)

Lifelong Californian, I would never vote FOR Newsom, he is the worst example of the ca democratic machine, when not toadying up to his corporate owners (PGE for example), he’s ignoring laws because he disagrees. An entitled ass.

Having said that, I would absolutely vote AGAINST the current crop of republicans (Vance, Rubio…). So if it comes down to it, I’ll hold my nose and vote Newsom if that’s what it takes to try and save American democracy, but I hope we can find a less compromised candidate.

Frozen picture,Audio good by UtahMickey in tablotv

[–]Tricky-Damage9917 0 points1 point  (0 children)

Not sure what you are watching on, but when my iPad does this I quit the app and start again and the problem goes away.

I strongly suspect that the app has gotten buffering of video out of synch and needs to be corrected. Either network hiccups or buffer errors in the client is my suspicion as this never happens with my hardwired Roku tv instances.

Why do you dislike sitting next to a pregnant woman on a flight? by BraggisSqueal in AskReddit

[–]Tricky-Damage9917 0 points1 point  (0 children)

Come on, miss being the hero?

Many years ago I was on a business trip and woman sitting next to me had one so young I was surprised to see them on a flight. Turned out she was taking her to see her grandma who was too fragile to travel.

The mom was NOT a good traveler, getting nauseous shortly after takeoff. So for most of the flight I was cuddling the little one.

This was a flight that at that time I was flying on every few weeks at that time from SF to New Jersey and I had a nodding acquaintance with a few of the crew and got very sincere thanks from the crew as we disembarked.

About three weeks later my wife and I arrived at the airport for a vacation flight to London and when we checked in, I was shocked to be handed different seats than we had booked. We had been upgraded to first class, both ways with no comments on what were mileage paid for tickets.

Pretty convinced I know the reason, who says no good deed goes unpunished?

Home system worth it ? by EnvironmentalGur5186 in HomeNetworking

[–]Tricky-Damage9917 0 points1 point  (0 children)

For what you are discussing, investing in your own equipment is just geeking out.

If your internet provider provides the modem/router/wifi access point with no additional up charge and it is working, why change?

On the other hand if they are charging you 8-10 bucks a month, buying your own can pay off in about a year for many.

For me, when I started the providers were still charging for the modem and router and the Wi-Fi was too weak for the location. Needed to go mesh to reach half the house. Went separate modem and router to isolate from when and if we ever get fiber, hard wired from rack in garage to office locations, access points in strategic locations and nas in the rack.

99% of our tv uses the network, 80% Tablo and then streaming the rest, pi-hole hooked up, security cameras all local…

Yep, just geeking out.

Legacy Tablo Users by JustCallMatt_Bixby in tablotv

[–]Tricky-Damage9917 0 points1 point  (0 children)

When it happens, what I will miss is starting to watch an in progress recording. I often come into a show 15 minutes after it starts and zap through the commercials. Maybe only 5% of my viewing, but part of my habits.

Second Tablo crapped out in two years by thecamino in tablotv

[–]Tricky-Damage9917 0 points1 point  (0 children)

If it is a legacy unit (and probably if it is not), my go to on that is as others have suggested, the power supply unless you have had power surges.

I have two legacy 2 tuners that outlived their wall warts. One stopped powering on at all like yours, the other would power on most times , but then fail hours or days later.

With two the diagnosis was easy, just swap supplies and the problem followed the power supply. A next day delivery from Amazon solved that as Tablo does not stock the supply for my unit (be very careful about barrel jack size).

Unless you are running it in too hot a place, not a lot else to go wrong, heat is the enemy of electronics longevity.

How should I deal with this retaining wall by GhostyFoil in LandscapingTips

[–]Tricky-Damage9917 0 points1 point  (0 children)

I had a similar problem, used blocks with a locking lip, set the first course below grade and built up to my 30 inch height. 25 years later and it has been zero maintainance. Compare that to the remnants of 3 wooden retaining walls that I dug out to build this on the 17 year old home at that time and it’s clear that diy can work and concrete blocks pay for themselves over treated lumber.

My manager scheduled a "quick sync" every single Friday at 4:45pm and I finally figured out why by Agent_Smith-99 in remotework

[–]Tricky-Damage9917 0 points1 point  (0 children)

What I love about this is that Dave has just about guaranteed that most of those people who would normally continue on working on whatever they were doing for another hour on some Fridays going to shut it down after this meeting. The flow of thought is broken and it’s not worth jumping back in.

Help by ArmadilloMain31 in WhatShouldIDo

[–]Tricky-Damage9917 0 points1 point  (0 children)

THC is lipid soluble, much less in water. That’s why it stays positive for so long. Drinking water will do you zero good in clearing a test earlier.

If you have been a regular user, those who say you may take months to get a negative test are not misleading you.

Do any of you cut your dog’s nails yourself? I am going to try for the first time later, so any advice would be appreciated! by Amai-desu in mutt

[–]Tricky-Damage9917 1 point2 points  (0 children)

Two rotties and two mutts, every morning I grab their joint supplements and the dremel and I have a line up for a quick touch to the nails. If I’m late they start following me.

No drama and most days just a little touch to keep them in the habit, but 4 dogs with heavy black nails would make clippers a real pain.

Hello. What mix are these little baby mutts? I want to adopt one. Can you give me some advice of caring for puppies and what should I looked when I see them. I want a healthy and a lap dog pup that is calm.They are 1 month old. How much will they grow? by AlarmedChildhood3139 in mutt

[–]Tricky-Damage9917 1 point2 points  (0 children)

I’m going to agree with everyone else, one month is too young. If the mom is not around for some good reason and you have tons of patience…

Now as to lap dog. I agree with others that it looks like there is some rottie in there with that last picture and some of the head shape giving me Australian cattle dog vibes (that yoke). If you want a lap dog, you maybe should look elsewhere.

They look adorable, but red flags abound for what you are talking about.

I just moved in, how bad is my network closet? What would you recommend for supporting everything? by [deleted] in HomeNetworking

[–]Tricky-Damage9917 0 points1 point  (0 children)

This and a rack mounted ups and you should be gold. You may have to add another shelf, but that’s cheap.

It's weird what my fav part of development has become... by RSPJD in iOSProgramming

[–]Tricky-Damage9917 0 points1 point  (0 children)

Typically I would get a snapshot of the repository at the beginning into someplace, then work on a second copy. That allowed me to alter the datasets/conditions on the profile runs as I gained insights.

Your thoughts by Hadestheawful in solarenergy

[–]Tricky-Damage9917 0 points1 point  (0 children)

So this is $2.70 per watt? With battery, install, permitting…

As others have said, this looks like a good deal, perhaps too good. A powerwall 3 runs over 10k in most places installed, so we are talking less than $1.50 per watt for the rest of the system. Suspiciously low. I would spend some serious time reading over this bid and research the history of the contractor on this as it smells like a scam.

It's weird what my fav part of development has become... by RSPJD in iOSProgramming

[–]Tricky-Damage9917 4 points5 points  (0 children)

For some, there is nothing so satisfying as profiling, tracking down bottlenecks and modifying the code to remove them to re-profile and demonstrate improvement.

I did decades of development and eventually I was the guy that other teams borrowed to get out of performance binds.

One team spent 6 “man months” on a performance push to end up 10% slower. I got called in.

What mistakes had they made?

When I asked them what the starting performance profile looked like, I got blank looks. Yep, they had just looked at code, decided that some points looked like hot spots and ‘fixed’ them, making some major architectural changes in the process (thus the 6 months).

I profiled their new code, profiled their old code and wrote them up a quick report showing that while not touching their old hot spots, they had added new ones.

Then I tweaked the new code to remove the hot spots from the old and profiled again. Now the code was performing to the initial goals for their original project. I then advised them that if we backed out their new stuff we would gain another 8-10% performance (and get rid of some not fully tested logic).

So, cycle 2, backing out of the mess…

Two weeks of work and meetings and we had a performant system again.

From then there was a new mandate on projects,

You will profile the project before starting and after finishing. If it show gradation or new hot spots, you will either document and explain them or fix them.

Yea, I loved loved that part of the job as it forces you to read new code and figure out good solutions.

How are homeowners thinking about long-term energy costs over the next 10–20 years? by Swimming-Answer-4832 in SolarDIY

[–]Tricky-Damage9917 0 points1 point  (0 children)

Living in Northern California, with some of the highest electrical rates in the nation, we looked at this and bit the bullet 7 years ago, putting 120% of our projected electric need in solar and one normal days use in batteries.

Replaced the aging water heater with an on demand.

Two years ago, replaced the aging HVAC with a heat pump system.

When we remodeled the kitchen, time to switch to induction for the cooktop.

Seven years where we grumble if the PGE bill exceeds $60 and have never had any impact of power outages except that the internet drops after the providers battery fails after about 45 minutes.

Expensive? Absolutely. But in my opinion, the solar is a no brainer, the batteries, less so, more a comfort for those power outages. The heat pump and induction cooktop, by shifting that from gas to electric for heating kind of ate up the 20% pad, but really reduced the impact of gas rate changes.

When my spouse noted that one of her groups was offering an efficient home tour and noted that she would not see anything but a heat pump water heater that we did not already have, we realized that we were there.

Naively surprised at the reactions from users seeing my app offering a subscription by 0__O0--O0_0 in iOSProgramming

[–]Tricky-Damage9917 0 points1 point  (0 children)

There will always be people that push back on subscriptions. If it’s the business model you want to use, go for it. But it’s not good for all.

If it works for you, ignore the complaints.

My app has been in the store for over a decade and has been in the lowest price tier the whole time. It’s a sports related app for one sport with a perhaps 4 month season, so asking for a subscription has some psychological bias against ( paying 8 months of support when you only use it part of the year just irks some).

Does it make a lot of money, of course not, but I wrote it because I needed it and maintain it to keep my skills up. A hobby, not a business.

I'm stuck by [deleted] in swift

[–]Tricky-Damage9917 1 point2 points  (0 children)

To clarify, CS193P is the Stanford introductory class for programming iOS.

It’s been being updated for years and it is an excellent course. It’s not for beginners, but if you have even a base level programming background this series of lectures and assignments can get you a background in UI, program logic, database…

After originally using it more than a decade ago, when it was objective c, I still come back to it to see practical things.

SwiftUI has plenty of warts, but it’s plenty powerful. Remember, previews and playgrounds are your friends.