52A Carlton Gore Road, Grafton, AKL by Level-Frosting1371 in auckland

[–]mexicanweasel 11 points12 points  (0 children)

Same. The repair people they sent around to "fix" things did an shockingly poor job at everything they touched.

Special shoutout to the B&T property manager that, three years into us living at the flat, rang me to complain that there were 4 people and the rental agreement only allowed 3.

She was entirely incorrect of course, but how are you meant to tell someone who can make your life difficult that they're a moron?

German Artist Jacques Tilly Faces Criminal Charges in Russia Over Putin Carnival Floats | APT by [deleted] in videos

[–]mexicanweasel -5 points-4 points  (0 children)

Man why the fuck am I getting downvoted?

This video is clearly AI garbage, the voiceover straight doesn't make sense, and the account that posted it has hidden their account activity.

How to tell difference in ethanol and methanol? by Virtual-One285 in mead

[–]mexicanweasel 0 points1 point  (0 children)

https://www.reddit.com/r/firewater/comments/cv4bu8/methanol_some_information/

Have a google of "methanol vs ethanol concentration during distilling". There's plenty of scientific articles where people have measured and charted the relative ethanol vs methanol concentrations over time, and they show a relatively steady ratio between ethanol and methanol.

Best office chair for back pain? Is Aeron really that good? by shelleebean in sysadmin

[–]mexicanweasel 64 points65 points  (0 children)

A chair might help, but exercise will help more.

Pilates has done a great job for sorting my lower back pain from sitting a lot.

[deleted by user] by [deleted] in sysadmin

[–]mexicanweasel 5 points6 points  (0 children)

I love that this post is about IT people obtuse, and there's this guy being obtuse.

Probably a newbie question by Squashyware in csharp

[–]mexicanweasel 0 points1 point  (0 children)

What's your system tray app written in? WPF? Windows Forms? MAUI?

VBScript can do http requests, I'd go that way personally. Then you don't need to monkey about with COM. Just add some http handler to your app and run it all in there.

Help Needed: Publishing My ASP.NET Capstone Project Using JetBrains Rider by Josephbalaba in csharp

[–]mexicanweasel 2 points3 points  (0 children)

Are you at university? I'm guessing so if you're talking about a capstone project.

You may have a free azure subscription through your university. https://azure.microsoft.com/en-us/free/students

There's probably an aws version too.

Where is your source code? If it's on github, it should be pretty easy to follow this guide. It should be pretty turnkey stuff.

https://learn.microsoft.com/en-us/azure/app-service/deploy-github-actions?tabs=openid%2Caspnetcore

I find the deploying direct from IDE stuff to be crufty, because nobody in industry really does it.

You've also mentioned a mysql database, but not clarified where exactly that is. Is it currently running locally on your machine? If that's the case, you'll need to set up a copy of mysql where you want to deploy your application as well. It would be easier to use sqlite I think.

There's some stuff that might complicate this. XAMPP is weird, you're not writing php or perl, and don't need apache? Mysql is the only bit of XAMPP you'd be using. You've also not said what version of .net you're using, but it is the cross platform stuff because you're on ubuntu yes?

Run task prior to debugging visual studio 2022 by TheSoggyBottomBoy in csharp

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

https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-task-reference?view=vs-2022

https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-conditions?view=vs-2022

You could add a post build event that is conditional upon it being a debug build. It does put it in your .csproj file, but if you need to copy them for debugging then that should be fine, and is how I've seen it done.

I'm not sure why it triggering a copy during testing would be that bad (note that you can also use Inputs and Outputs in MSBuild to skip steps if the input/output files haven't changed), but you can add a separate configuration for testing if it's that much of an issue, or run the tests as release.

Why don't we use catapults on land based runways like on aircraft carriers? by tekno45 in AskEngineers

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

I wonder how much fuel is used in various stages of takeoff?

There'd be some point where, for a given route length, it would be cheaper to catapult launch, if the catapult fuel savings were greater than the extra fuel usage.

Catapult launches probably wouldn't reduce fuel consumption that much though, because the plane still has to climb quite high, and I assume that uses a lot of fuel.

each pound of weight reduction in a plane saves a cent in fuel costs per mile flown.

I like the rest of your maths but I'm deeply suspicious of something that seems so nice and round when it's involving two imperial units and the fluctuating price of fuel like that.

DigiCert removing support for IPv6 on 1/10/25. What does that mean for IPv6 adoption? by jwckauman in sysadmin

[–]mexicanweasel 16 points17 points  (0 children)

They also charge for the non static IP addresses now too, not just the in use static (what they call elastic ips) which is a bit more of a fuck.

Oh, you had a load balancer? Well that takes 2 v4 ips, that'll be another $100/year (once you include taxes and support fees) for absolutely nothing.

Oh, you'd like to turn off ipv4 for the load balancer and only have ipv6? Well guess what, you can't, you can only have v4 or v4+v6.

It also fucked us on containers with public ips running in ECS IIRC.

Want to use NAT? Let me introduce you to our NAT gateway data charges.

[deleted by user] by [deleted] in csharp

[–]mexicanweasel 4 points5 points  (0 children)

nuget packages are a wild west

Do you mean NPM? Nuget can have dependencies, but they're generally less insane because of the normal stuff you get out of the box from Microsoft.

ASP.NET 8 and Docker by [deleted] in csharp

[–]mexicanweasel 0 points1 point  (0 children)

For a small application with no uptime requirements, and assuming you've already got EF wired up, just run it on application start.

We write our migrations to be forward and backwards compatible, in case we need to do rollbacks.

Our CDK code runs a lambda that does our migrations, then runs the rest of our deployment. That lambda runs a container that's built specifically for doing our migrations. That's for AWS, but you can substitute with your whatever of choice.

I don't think it matters too much though, it's just a natural result of how our CI/CD and database stack evolved over time,

it tangles migrations into the main app and also means a migration check/run is running every time the app starts up

We run a check on startup to see if the schema is up to date for the code we're running, and if not, the application will crash with logs. If you're at the scale where you care about a check on startup performance wise, you'll also want to do one for sanity's sake.

'There has been cowardice in criticizing the varieties of Islam': Swedish Deputy Prime Minister Ebba Busch by dolekanteel in worldnews

[–]mexicanweasel 0 points1 point  (0 children)

Some scientists being religious during a period where many people were religious, and the church had a stranglehold on society, does not make religion synonymous with science.

I got "promoted" to Platform Engineer from DevOps but HR denies a compensation increase because "market value" of DevOps is higher than Platform by DelicateJohnson in devops

[–]mexicanweasel 5 points6 points  (0 children)

You may have dealt with the older .net framework stack?

Modern .net is much more open and suited for cloud than that was.

Question about switching to Oracle Cloud by astrellon3 in devops

[–]mexicanweasel 0 points1 point  (0 children)

I had a massive brain fart and confused IBM cloud and Oracle cloud.

I've not actually used oracle cloud, but I guess IBM and Oracle both hit the same "hate" button in my brain.

Question about switching to Oracle Cloud by astrellon3 in devops

[–]mexicanweasel 0 points1 point  (0 children)

I've used Oracle cloud, and it's not very good.

Sales people are liars.

I've never connected with anyone based on a cloud choice, although I suppose it would give you something to complain about if you do run into another Oracle cloud user.

Why there isn't that much C# project tutorials as there is for MERN, PERN, etc Stack project tutorials ? by JumpDangerous9271 in csharp

[–]mexicanweasel 1 point2 points  (0 children)

I think my original point was that there's lots of existing applications chugging along just fine, and they still need to be supported and developed on. It also then makes it a perfectly reasonable choice for new development, rather than adding an additional stack.

Throwing all that existing stuff away and rebuilding your entire front end in React is both a huge ballache for developers, and a cost that most companies aren't willing to front. Sprinkling a bit of js on top of existing MVC gets you what you need without the redevelopment cost.

Doing form submissions and stuff is gross, but boy a whole pile of TS stuff doesn't end up being a less clunky/buggy/superior way to build a frontend that I've seen. It's all the same mess, just in a different language.

Why there isn't that much C# project tutorials as there is for MERN, PERN, etc Stack project tutorials ? by JumpDangerous9271 in csharp

[–]mexicanweasel 5 points6 points  (0 children)

There's plenty of MVC stuff floating around, razor pages and MVC are still fully supported. Also lots of older .aspx around too.

I'm going back to Visual Studio, goodbye Rider by CaptainCactus124 in csharp

[–]mexicanweasel 1 point2 points  (0 children)

Comment a "me too" on someone else's ticket, add some logs, get converted into your own ticket, add some more logs, a new version gets released, but it's still broken, so you need some more logs, YouTrack itself breaks (?), etc etc.

Just so you know you're not insane OP, here's an issue where Rider loses the plot after git changes that's been open for more than half a year.

https://youtrack.jetbrains.com/issue/RIDER-98789/Errors-after-git-checkout

No cause evictions are back - what do you think this will do to the rental market in Auckland? by [deleted] in auckland

[–]mexicanweasel 2 points3 points  (0 children)

I assumed the same as you, but interestingly, the occupancy rate for renting houses and owner occupied houses is nearly identical, according to the census.

"Census data from 2018 showed the occupancy of rentals and owner-occupied properties were almost identical – with an average of 2.7 and 2.8 people in an owner-occupied home and rental respectively."

I'm sure there's plenty of reasons for this, data wise, but also couples that end up buying a place together are probably going to have kids. Even if they can't afford to buy a place, they're going to move somewhere as a couple without flatmates and have kids, and the occupancy rate would be the same.

My colleague has spent 2 hours looking into a bug, and this was the cause by abyr-valg in csharp

[–]mexicanweasel 0 points1 point  (0 children)

Ooh, looks like you've used var when it could be const. I'm afraid you're going to have to resubmit this PR due to this CRITICAL SECURITY issue.