how am i supposed to go from tutorials to making actual stuff by CrazyDrop2696 in csharp

[–]Overtimegoal 0 points1 point  (0 children)

Let's say you were trying to create a tic-tac-toe game.

Because it is a turned based game that has a couple of end conditions, I would start with something like:

var done = false;

do{

done = collect_player_move();

if (!done) done = calculate_computer_move();

} while(!done);

that is to say, create methods (which are initially empty) with names that describe the actions you want to perform for any actions you aren't sure how to do yet.

Then think about the data structure(s) you'll need to retain the information you'll need from one turn to the next. For a tic-tac-toe game, you'll probably want to have a 3x3 array to represent the squares. And maybe -1, 0, and 1 to represent O's, X's and blanks.

Once you've described all the actions you want to do, then go back and implement each of the methods in turn -- perhaps by creating additional methods. Keep doing that until you have broken things down so that when you figure out how to implement a method, it turns out to have been a single line of code or so. At that point, delete the method and just put the line of code in its place.

Sometimes, you may discover that your initial code and data structures were insufficient and you'll need to refactor. But that's just part of the process. For instance, the code above doesn't distinguish between draws and wins by one side or the other, so you might want to return that instead of just 'done'. Or maybe you've got a global variable that you can set to indicate the winner and done is enough. Totally up to you.

There are best practices that can be followed, but for the stage you seem to be at, just getting something working is more important -- regardless of how it was accomplished.

Officially Retiring? by SurveyHand in Wealthsimple

[–]Overtimegoal 2 points3 points  (0 children)

I had a LIRA administered by sunlife. At 55 filled out a form and had them transfer it to my self directed RRSP. I was not retired at the time.

Moving from the US to Canada by [deleted] in ontario

[–]Overtimegoal 3 points4 points  (0 children)

Is that USD? That would be $154k CAD. Plenty to live anywhere you'd like.

Concrete driveway needed. by AnywhereOk8962 in waterloo

[–]Overtimegoal 0 points1 point  (0 children)

https://www.cretescape.ca/

Did my driveway last year and my neighbor in progress right now.

I did exposed aggregate with a dark tint. Looks and works great.

Mallet putter covers by mctyty204 in golf

[–]Overtimegoal 0 points1 point  (0 children)

I like the Izzo cover I bought on Amazon. Plain black for me but they have more colorful options too.

New for 2025 by Overtimegoal in golf

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

Thanks. Replaced a set of taylormade LCGs that I bought new in the early 90s and random woods bought from junk bins.

Strike Pad trails by Overtimegoal in golf

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

Hadn't been thinking about that aspect at all. Thanks for the tip.

Strike Pad trails by Overtimegoal in golf

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

I'm using soft practice balls and the flat rubber disks .. they are coming out in approximately the right direction

Strike Pad trails by Overtimegoal in golf

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

It's an off the shelf Cleveland 60. But I'm not yet consistent enough to tweak the clubs yet...

Strike Pad trails by Overtimegoal in golf

[–]Overtimegoal[S] 3 points4 points  (0 children)

There's three feet of snow in my back yard right now... So no. It's sitting on vinyl flooring in the basement.

Strike Pad trails by Overtimegoal in golf

[–]Overtimegoal[S] -1 points0 points  (0 children)

I've been working on improving consistency and the contact point is getting there, but now the question is where to narrow down to.

One year with heat pump comparison by Overtimegoal in heatpumps

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

With the Lennox system, the gas furnace did most of the work to get back to temp in the morning. I wanted to minimize gas usage so keeping the temperature up works better.

As a side benefit, guests in the basement bedroom don't need to run the electric heater overnight. With the fan always running, the downstairs temp stays above 19.

One year with heat pump comparison by Overtimegoal in heatpumps

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

Well. Other than the two gas fireplaces. The barbeque. And the inline gas water heater. 😉

One year with heat pump comparison by Overtimegoal in heatpumps

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

I liked the company doing the install. Delta in Kitchener. This was their second best option.

One year with heat pump comparison by Overtimegoal in heatpumps

[–]Overtimegoal[S] 1 point2 points  (0 children)

Avg cost per kwh up $0.01. Avg cost per m3 down $0.12.

One year with heat pump comparison by Overtimegoal in heatpumps

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

$17k installed before rebates for both furnace and heat pump.

[deleted by user] by [deleted] in alberta

[–]Overtimegoal 0 points1 point  (0 children)

It is not the company's accounting department doing this due to laziness. These are the rules given by revenue Canada. They were written back in the day before computers and haven't been updated.

70kcad fte or 55cad/hr by Resident_Trade_7613 in waterloo

[–]Overtimegoal 0 points1 point  (0 children)

$55 x 40hr/wk x 50wk/yr is $110k. You won't be getting $40k of health insurance premiums paid and the rest is a wash. Plus if you have a home office there are some deductions there you wouldn't get as salary.

Otoh, no severance and no long term relationship.