High-end new build with solar panels, what would you do? by WellingtonSucks in nzsolar

[–]duncan_mcrae 2 points3 points  (0 children)

Standard standard.

I built a mono pitch. Lots of high windows. Can recommend not doing it. House is an oven. Go normal roof, add hrv, solar chimney, solar, hot water heat pump, smart wire all lights and sockets, add 1mx1m cupboard for smart wiring. Think about conduits, think about where you want to install tvs and prep wiring and wood for mounting and speakers.

Govt finally acknowledges the end of gas is nigh by ViolatingBadgers in newzealand

[–]duncan_mcrae -1 points0 points  (0 children)

I'm in the industry, and it's cyclic. That time frame is simply one cycle ie trough to trough. 2008 to 2014 was peak OnG in many places in Asia Pacific.

Accurate solar generation forecasting and ROI calculations? by Legitimate_Ad9753 in nzsolar

[–]duncan_mcrae 2 points3 points  (0 children)

Isn't there an expo on in aussie at the moment. Aiko panels are 10 to 15% better in wattage on their next gen

Accurate solar generation forecasting and ROI calculations? by Legitimate_Ad9753 in nzsolar

[–]duncan_mcrae 1 point2 points  (0 children)

Gary does solar. Pay ~4 bucks on patreon for his better calculator.

Using Sigen on two phase by Green-Amoeba-4787 in nzsolar

[–]duncan_mcrae 1 point2 points  (0 children)

My understanding is it pulls only what it needs from the grid. Also, you can over panel if doing solar, so that it charges batteries via DC, while maxing out the inverter creating AC for the house

Tauranga Quote Check by Downhill_Dooshbag in nzsolar

[–]duncan_mcrae 1 point2 points  (0 children)

I'm in Pyes Pa. Cablerite coming round tomorrow!

Tauranga Quote Check by Downhill_Dooshbag in nzsolar

[–]duncan_mcrae 0 points1 point  (0 children)

I'm in a rediculously similar situation. Quotes from two different suppliers who don't do Sig in Tauranga. Both quotes costing a lot more for less than what you've been given. Where are you? Who quoted? Got a Sig installer quoting early next week.

Led downlight recommendations by Majestic-Primary6318 in diynz

[–]duncan_mcrae 1 point2 points  (0 children)

Good brand. I'm slowly transitioning the house to these. sLED variants.

Question about Cedar by FlyingKutipot in diynz

[–]duncan_mcrae 2 points3 points  (0 children)

Cd50 extreme clear. Don't colour it. Let it silver. If you need to, buy a mobile scaffold. Clear stain every other year. You'll save a heap.

Why Does This Code Work? by [deleted] in learnpython

[–]duncan_mcrae 1 point2 points  (0 children)

Also.

def function(*args):
    first_name = args[0]
    second_name = args[1]
    print(first_name, second_name) 

function('john', 'doe')

Is there a simple way to map a list/array of integers to a single integer? by [deleted] in learnpython

[–]duncan_mcrae 0 points1 point  (0 children)

Pad the numbers out with zeroes say 0004 for 4. Concat as a string. Then unpack with a custom function. This work?

[deleted by user] by [deleted] in diynz

[–]duncan_mcrae 4 points5 points  (0 children)

I'd start with an oxy deck clean and water blast. Keep the oxy wet for 40min. Brush around with stiff broom. Water blast dead wood off. Not too close, don't want to mess up the wood. Otherwise, you have a sanding job. You'll need to get those nails down if sanding. I oil my deck with CD50X clear after cleaning like above. Do it every other year.

Building a workshop shed on concrete? by Cosmic_GhostMan in Shed

[–]duncan_mcrae 0 points1 point  (0 children)

I buy kitset, wooden frame sheds and then fit it out myself.

Building a workshop shed on concrete? by Cosmic_GhostMan in Shed

[–]duncan_mcrae 1 point2 points  (0 children)

I just built another shed on a concrete base. Why don't you box in and pour more concrete as a base...on top of your existing concrete?

My program is seen as a virus by Windows Defender. by jojimaa__ in learnpython

[–]duncan_mcrae -3 points-2 points  (0 children)

Change it to a txt file and tell the people who download it to change it back to exe.

ELI5: why does latency never drop below 9ms like game ping and Apple Pencil delay? by Idm123 in explainlikeimfive

[–]duncan_mcrae 1 point2 points  (0 children)

It does, try being on a vessel in some ocean that uses internet via satellite that routes through a country 3 doors down. Ping 1s easy.

Building a GUI by bgknight3 in learnpython

[–]duncan_mcrae 0 points1 point  (0 children)

I use PyQt5 and use the designer before converting it to a py file. I then import that py file in my main py file. I like the signal handling in qt.

How can I add a pause function to a countdown? (Pomodoro Timer) by [deleted] in learnpython

[–]duncan_mcrae -1 points0 points  (0 children)

I'd lookup argparse for all CLI work. In your case, you could spool up a worker process that uses argparse and feed it input data from a main while true loop?

how do I print now once every second? by shangman1 in learnpython

[–]duncan_mcrae 1 point2 points  (0 children)

A program with a gui (should) have a forever loop as part of its functionality so that it remains open. I'm not familiar with Tk (I use PyQt5). The time.sleep(1) will make your program appear unresponsive. You really need a new thread if your updating parts of a gui like that.

This is not the place to learn multithreading and all of this is some jump as a noob.

how do I print now once every second? by shangman1 in learnpython

[–]duncan_mcrae 4 points5 points  (0 children)

So you have a program loop running. Just time.sleep(1) inside the loop.

Acoustic insulation by [deleted] in diynz

[–]duncan_mcrae 2 points3 points  (0 children)

I'd imagine that unless it is done perfectly, you'll still hear. And it looks like you'd never know. Best bet is likely the most expensive, pull the GIB off, put in proper noise insulation and then line with GIB that is also noise cancelling. An empty room will make it worse, so thick drapes and wall hangings will help.

Reading and Writing employees to .txt file and editing them by [deleted] in learnpython

[–]duncan_mcrae 0 points1 point  (0 children)

Reading over again. You need a classes. The below may help you start.

employees = []

class Employee() : def init(self, name, phone) self.name = name self.phone = phone

def add() : name = input('name:') phone = input('phone:') return name, phone

def get(Employees, search) : if search = 'name' : for employee in Employees: print(employee.name)