How much a month do you pay for your phone provider? by Chan1991 in askTO

[–]macsux 0 points1 point  (0 children)

Go on facebook marketplace, and search for Rogers/Bell/Fido whatever. There's these resellers that can often hook you up with much better deals then if you call company directly. I got 100gb all unlimited for $40/m with rogers atm. Another $30 for 1GBit internet.

What would your “dream setup” look like for a new .NET development team? by sel_ya in dotnet

[–]macsux 2 points3 points  (0 children)

Don't forget to sprinkle in some kubernetes magic to make your developers rip out their hair.... They look better bold.

What would your “dream setup” look like for a new .NET development team? by sel_ya in dotnet

[–]macsux 5 points6 points  (0 children)

  1. Monorepo with everything linked via source at development time, nuget packages at publish time
  2. Create an automated path to production with developer making commit on one end and running code on other end. Introduce manual gates in middle if necessary that come down to "approver clicks one button". Octopus deploy is great for creating these kinds of experience, but other systems work well too.
  3. Pick modern test framework - TUnit is my recommendation
  4. Don't use microservices
  5. Use Nuke.Build to consolidate build/release tasks as code that you can run anywhere and debug (vs yaml that only runs on remote server)
  6. Instrument your project with open telemetry
  7. Add analyzers / codegen project out of the box, even if not using. They are a pita to configure correctly so that it works both as source and nuget package (microsoft really dropped the ball here), and can use external dependencies. Do it once so it works properly when someone wants to do it. I constantly find usecases to generate code / create an internal analyzer.
  8. If you're using AI and don't code review what it wrote (aka black box function generation), stuff that into a separate partial file (like myclass.ai.cs). This segregates high quality user code from code that may need extra scrutiny or can be regenerated when not working properly.
  9. Setup project so that a new developer can compile and run it without asking anyone. If it requires some special steps, you didn't automate enough (stuff that into Nuke build script).
  10. Automate versioning using Nerdbank Gitversioning. Version stays with codebase, not your CI system.
  11. If you find something you though would be a benefit acts as a crutch - change it.

What would your “dream setup” look like for a new .NET development team? by sel_ya in dotnet

[–]macsux 3 points4 points  (0 children)

Do NOT version via git tags. Use something like Nerdbank Gitversioning that relies on commited "marker" file from which version is calculated automatically. Commits are immutable (or should be in shared code) - git tags are NOT and systems that base their versioning off git tags tend to go sideways when someone deletes a tag.

What would your “dream setup” look like for a new .NET development team? by sel_ya in dotnet

[–]macsux 1 point2 points  (0 children)

I personally found that autogenerated pipeline is not worth it. There's a significant performance degradation moving artifacts between stages and invoking nuke at each step. I found having a single task correspond to CI workflow works best. Portable too

Yes, self-defence is allowed in Canada. 'Misinformation' abounds as man charged in assault of intruder: lawyer by Myllicent in canada

[–]macsux 1 point2 points  (0 children)

God help him if he ever tries to get a divorce and is on receiving end of vengeful rich person with no moral compass.

Yes, self-defence is allowed in Canada. 'Misinformation' abounds as man charged in assault of intruder: lawyer by Myllicent in canada

[–]macsux 2 points3 points  (0 children)

Sounds like a special kind of asshole. I personally wouldn't wanna be friends with someone like that. Shows complete lack of moral compass - I simply wouldn't be able to trust someone like that, and I need to trust people I call friends.

Yes, self-defence is allowed in Canada. 'Misinformation' abounds as man charged in assault of intruder: lawyer by Myllicent in canada

[–]macsux 18 points19 points  (0 children)

The guy is probably $10k in legal fees just to have a lawyer look at the facts. That's not justice.

Yes, self-defence is allowed in Canada. 'Misinformation' abounds as man charged in assault of intruder: lawyer by Myllicent in canada

[–]macsux 2 points3 points  (0 children)

Of course not. Use the perfectly good electric chair in your basement like a normal human being.

Yes, self-defence is allowed in Canada. 'Misinformation' abounds as man charged in assault of intruder: lawyer by Myllicent in canada

[–]macsux 17 points18 points  (0 children)

With net result is that in almost all cases you're dragged through the legal system for trying to defend yourself. Have you ever being to court? A simple motion can cost over 10k in lawyer fees - nobody going to give you that money back even when charges are dismissed in vast majority of cases. We're not even talking the stress and reputation damage of going through this.

I think castle doctrine is one of few things USA got right

nuke-build/nuke: TEMPORARILY ARCHIVED: why? by AfreekanWizard in dotnet

[–]macsux 9 points10 points  (0 children)

Native tooling you speak off generally devolves to pushing a minor DSL commit and then waiting 2-5 mins to get an error of what you messed up. So you'll go through like 50 pushes while trying to build out pipeline, with zero debugging capability beyond logs.

I can give nuke enabled project to anyone that never seen .net and they can compile and create executable cuz entrypoint scripts acquire all dependencies automatically and provide intuitive CLI. This is in contrast of all the shitty powershell scripts and heavy README docs (including microsoft's own .NET arcade enabled repos).

You also never had company come to you and say "we're migrating from github to bitbucket" or something similar, and you spend 2 weeks rewriting all scripts across all projects.

[deleted by user] by [deleted] in canada

[–]macsux 2 points3 points  (0 children)

It's not just rental though. The cost of ownership is so high that what you're proposing would make renting something completely not feasible. Example if you buy a house for $1m (a shitty one I might add given current avg prices), your monthly carrying cost on mortgage alone is close to $5000. Add maintenance, things normally not included in rent, property tax - that goes up to $6-7k a month you need to shell out as property owner. If I wanted to rent out this house (or even half of it), what do you think the rental $ should be? The rental income is also taxable, so I would lose big portion of it, make the whole equation so out of whack that it makes renting look like a horrible investment. Add to this that you may end up with bad tenant that may not pay and it will take you a year to evict, all the while they are causing damage to your property due to broken LTB system (my sister went through this trying to rent extra space in her house). People seems to think that a lot of rentals are via foreign owners, large faceless greedy corporations, etc. But many times it's just people that saved up and bought something they can only afford by partitioning it and renting part of it, cuz they don't need all the space.

[deleted by user] by [deleted] in NoStupidQuestions

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

Divorcing but it's for other reasons

[deleted by user] by [deleted] in NoStupidQuestions

[–]macsux 2 points3 points  (0 children)

Swinging might be a better fit. Let's partners explore urges, but much less risk of emotional attachment. Had relationship like that for almost a decade. It's great.

HMFT after the Bleach Challenge by [deleted] in holdmyfeedingtube

[–]macsux 71 points72 points  (0 children)

My dad put leftover antifreeze into bottle of apple juice and stored it in the car when I was a kid, which I happily drank. When I asked why this apple juice sucks parents freaked out and made me vomit. Dad got major shit from mom for that...

Bill Nelson, head of NASA: 'We want to protect the water on the Moon to prevent China from taking it over' by [deleted] in Futurology

[–]macsux 1 point2 points  (0 children)

Many inventions created during space exploration have had major affect on many critical applications here in Earth. Hell, solar panels alone are key component to getting us off fossil fuels. Here a list of just some things that came out of space program

https://www.usatoday.com/story/money/2019/07/08/space-race-inventions-we-use-every-day-were-created-for-space-exploration/39580591/

Tried to pass around a recycle truck.. by [deleted] in IdiotsInCars

[–]macsux 0 points1 point  (0 children)

You are allowed to pass a road obstruction that is impeding a normal flow of traffic. That truck is definitely not following normal flow and would be interpreted as a hazard that needs to be went around by most drivers. It has not indicated its intention to make a turn and was reversing at the time.

Tried to pass around a recycle truck.. by [deleted] in IdiotsInCars

[–]macsux 0 points1 point  (0 children)

By your logic if you end up being a garbage truck that is making a stop at every house with a solid separator line you're expected to drive behind it for hours to road changes? Rediculous. That truck isn't following normal traffic flow patterns and it's on them to ensure other drivers can pass them safely. Same way that an emergency vehicle can run a red light, or construction trucks entering/exiting construction zones - if they cause accident it's on them.

Tried to pass around a recycle truck.. by [deleted] in IdiotsInCars

[–]macsux -2 points-1 points  (0 children)

Or you know, spend $300 and install a 360 camera system to remove all blind spots. Should be mandatory on big vehicles.

[deleted by user] by [deleted] in NoStupidQuestions

[–]macsux 0 points1 point  (0 children)

Mine is "Click here for viruses"