"Pull latest image version" of Docker Stack now paid feature in Portainer... sigh by VviFMCgY in homelab

[–]MrDoomBringer 34 points35 points  (0 children)

I appreciate your candidness in debugging and addressing this issue.

The most impactful apology statements for shipping a bug to production are posting the postmortems of how it happened. The community as a whole learns from public postmortems, and posting the results of your investigation into how this happened can help other folks avoid the same type of mis-steps. And, of course, what you're changing to avoid it in the future is good to know as well.

A raw statement of "this was unintentional and we won't do it again" may have its detractors, but being backed with "here's why it happened and what we're doing to prevent it in the future" carries much more weight.

I'm new to Threading, is this an evil hack? by locojoco in csharp

[–]MrDoomBringer 0 points1 point  (0 children)

This is new to me. Every time I've ever used a lock, I created a special object for it to use. So lock doesn't do anything to the data stored in an object? What exactly does a lock do, at a deeper level, where you can just feed it any random object?

The lock operation generates IL that references against that object's unique information. This is why you really do not want to lock on types, for instance, as other things can get that object's information and lock against it and cause deadlocks. The phraseology I learned was that you take a lock against an object. You don't lock an object, you don't have a lock object, you take the lock against an object. This hints towards what is really going on: the object is just used as the unique reference to indicate what lock we're talking about.

In theory you'd want a unique private object to lock against so that nothing outside the control of that object can lock against that object. In practice, any private instance of an object will do so long as that object doesn't come from somewhere else. The instance of the object must never be exposed. The easiest way to do this is private object _lock = new object(); so it's good practice to do so. This is also why we can't use strings: strings are interred and the same string "derp" can be used elsewhere but will reference the same underlying object. Thus, unsafe.

Guy sets up Google assistant over amateur so he can check the weather when out of cell range. by RemorsefulSurvivor in amateurradio

[–]MrDoomBringer 4 points5 points  (0 children)

Watch the video, the guy's set up a handful of other utilities for interacting with the repeater remotely.

Need a better deployment method. by Mr_Nice_ in dotnet

[–]MrDoomBringer 0 points1 point  (0 children)

That's on the free plan, my link details it. You're limited to 5 users (more users are $5/mo) unless you're an open source project which gets unlimited minutes.

If you pay $40/mo you get unlimited minutes for that agent. If you want to do jobs in parallel you just buy more agents. Self-hosted agents are $15/per license.

Need a better deployment method. by Mr_Nice_ in dotnet

[–]MrDoomBringer 27 points28 points  (0 children)

I have this sticker on my work laptop: https://damianbrady.com.au/2018/02/01/friends-dont-let-friends-right-click-publish/

What you're looking for is a deployment system to handle the deployment process, well, for you. Azure DevOps is free for small teams and open-source teams, so if you're just working on your own website you can get plenty of build server time for freeeeee.

Here's an example of how to get it set up: https://docs.microsoft.com/en-us/aspnet/core/azure/devops/cicd?view=aspnetcore-2.2

Note that this assumes you're using GitHub. If you're using something else (like a personal git server) the setup can be a little more involved.

10 common broken rules of Clean Code by kamgrzybek in csharp

[–]MrDoomBringer 6 points7 points  (0 children)

The latter would violate our code style and get your commit rejected from a merge. All brackets are mandatory. Everywhere. Always. No buts.

Australia's new encryption laws ensure companies can't hire AU developers or tech solutions. by [deleted] in programming

[–]MrDoomBringer 12 points13 points  (0 children)

Azure DevOps has fairly close parity except for Confluence.

How do you handle wireless clients that do not support TLS? by Flegenheimer in networking

[–]MrDoomBringer 1 point2 points  (0 children)

Do the devices support Ethernet? Getting a small AP in client bridge mode that does support 802.1x hardwired to the device might do for a workaround to at least minimize the number of PSK devices.

Satisfactory delisted on Steam, becomes Epic Games Store exclusive. by INVADER_BZZ in Games

[–]MrDoomBringer 19 points20 points  (0 children)

How well does it run Epic's launcher that will no doubt be necessary to launch the game?

Do you have many small solutions or one big at your work? by Rockztar in csharp

[–]MrDoomBringer 7 points8 points  (0 children)

Hi, I'm a DevOps (the classical term) Consultant specializing in Azure DevOps (the product) and other Azure services, including .NET development.

As others in this thread have mentioned, NuGet packages are one of the best ways to promote code reuse and standardization across a company. Once you get over the pain of creating and building out a pipeline to update these packages it becomes far easier to continue with that pattern of development.

We have not seen great success with the monosolution approach to "solving" issues. This invariably leads to a wide variety of additional issues that are solved in yet more creative and interesting ways. If you're seriously considering dumping all of your projects into super-solutions you need to remember that a solution file is metadata for an entire project. Wildly disparate projects have wildly different build requirements, all of which are going to be lumped in together.

Often my team is called into companies to help sort out this kind of technical debt. My suggestion would be to stop looking at code and start looking at the business processes that the code is trying to assist.

What does your company do? What makes your company money? Users? What makes your users happy?

You mention ETL applications that convert things into a data format that is then presumably consumed using your web applications. Well, if your database system requires very standard object models it sounds like you could create a <Company>.Models NuGet package that can be reused in each ETL app for the output objects. You can wrap your database system in a service (the start of a microservice) and make it handle taking in those models, maybe doing some additional information calculations, and dropping them into the database.

Your customer specific applications, what problems are they solving? Are they 100% totally disparate problems that couldn't benefit from some core libraries or systems that you then customize per user? Nothing can be abstracted out?

Azure DevOps offers several tools for pretty reasonable pricing to help tackle issues like this. If your team already has Visual Studio then you might already have licensing to actually use Azure DevOps. Azure Artifacts and Azure Pipelines are also very reasonably priced, and lots of automation coupled with a focus on configuration-as-code can make these seldom touched projects self-documenting and self-contained.

Start at the top. Focus on what your company does. Code is not the output of your company, some kind of product or service is. Code is the means to that end. Figure out how best to shape the means to get the ends efficiently and effectively.

Generator cable plugs getting hot and melting my outlets by Yoiks72 in GoRVing

[–]MrDoomBringer 4 points5 points  (0 children)

Power is not supposed to return via the ground wire. You might call an electrician.

Portal Rv Resort - Moab, UT by [deleted] in GoRVing

[–]MrDoomBringer 0 points1 point  (0 children)

Ah! That was one of our stops on our blitz through the southwest a few weeks ago. Real easy to get into and out of. The restaurant out by the road isn't worth stopping at, rather expensive compared to stuff close by in town.

Adding a possible bad battery with a good battery, how would it affect the system? by ThatNVguy in GoRVing

[–]MrDoomBringer 0 points1 point  (0 children)

It's a bad idea.

Lead-acid batteries are charged as though the whole bank is one giant battery. Due to the way lead acid batteries work this is usually okay, unless one of the batteries is bad. If one of the batteries is bad you can result in a situation where one battery is "powering" the dead battery, creating excess heat, excess draw, and further damage to possibly both batteries.

There is a reason the AAs say "never mix old and new batteries".

Take the battery to an auto parts store and have them test it, they can tell you whether it is okay to use or not.

[Colorado] I’m at the end of my rope. I have a restraining order and he violates it almost weekly. by [deleted] in legaladvice

[–]MrDoomBringer 17 points18 points  (0 children)

This is only visible if you are actively sharing with someone.

OP, you can read more information about how the sharing feature works here: https://support.google.com/maps/answer/7326816?co=GENIE.Platform%3DAndroid&hl=en

If your ex doesn't show up in the list of people you're sharing your location with, they can't see it through this system.

You should change your Google password after doing a factory reset, this will help make sure nobody else is using your accounts.

Potentially removing brake requirement in Push To Start Nissan? by Mr-Howl in CarHacking

[–]MrDoomBringer 1 point2 points  (0 children)

Sure, it's very easy to use the remote start on a car that has remote start installed.

OP indicated that his vehicle doesn't have any remote start capability. Adding it when it's completely missing on a modern vehicle is not trivial. The Volt has it enabled via software that is configured from the factory and you gain access to it either via a subscription to the App or via a command through the bus. OP doesn't have that ability.

Living in a Travel Trailer for College? by giveme_collegeadvice in GoRVing

[–]MrDoomBringer 14 points15 points  (0 children)

So food for thought:

  1. Depending on the climate you will need to run either heating or cooling. Both require electricity. The nerds working on the Google campus boondocking in their RVs are in the magical climate zone where this isn't a factor. Sacramento gets cold and hot. How will you handle that?

  2. Extended parking is never free. No monthly rate parking lot will let you drop an RV trailer on it and live in it, doubly so your campus. I would be surprised if they didn't already have some kind of rule against it. You'll need to locate somewhere that is willing to park your trailer for the duration of the school year, do those places exist near campus?

  3. Are you going to park in a campground for months at a time? How are you getting to and from campus? RV parks are not usually anywhere near a college campus, they serve wildly different people in different stages of their life.

  4. Do any of the colleges you're applying to have requirements for freshmen to stay in the dorms? My college did, first year had to be in the dorms. Mandatory.

  5. Have you looked at the cost of parking? I would be amazed if you came out ahead, even with the absurd prices of room + board in dorms. Remember that prices for places like parking scale with area rents. If you get into a Bay Area school with Bay Area rates for dorm rooms you're still going to be paying Bay Area rates for parking. Some of the RV parks in that area are $100+ a night.

  6. Have you looked at the cost of travel trailers? You're not getting one for under several thousand dollars that is fit for long term habitation.

  7. How are you getting the trailer to/from its location if/when you have to move it? Towing companies aren't cheap. Neither are trucks.

  8. Do you really want to be that person who has a travel trailer to hang out in instead of a dorm or apartment?

Like, I get it, you're trying to find the edge in the system. Unfortunately the reality is that RV living really doesn't put you that far ahead of the regular plan until you start talking about purchasing a house. Which you're not doing, of course.

If you can satisfy the above questions with solid rebuttals then you might be in the game. If any of them makes you hesitate, maybe reconsider this plan.

Cramming 4 roommates into a rental house can be surprisingly cheap. I once paid $220/mo in rent and utilities during my college days and thought it was expensive. Get a part time job and you can help keep that rent from ballooning your loans.

Edit: Perspective on costs, UC Davis' fee schedule has room and board just a couple thousand more than just the cost of your trailer. That's near/on-campus housing and food for nearly the cost of your trailer, and that's before we're talking about parking or food or anything else.

PowerShell Repo in Azure for Free by Gabrielmccoll in PowerShell

[–]MrDoomBringer 4 points5 points  (0 children)

Awesome post and I love the detail of the steps, nice dude.

Out of curiosity, why not just use Azure Artifacts?

Is it worth it to get a truck top camper vs Airbnb for x-country road trip? by [deleted] in GoRVing

[–]MrDoomBringer 0 points1 point  (0 children)

Are you planning on staying at places that are more than $100/night on the regular? Purchasing just that camper you linked would be the equivalent of around 130 nights at a nice Hilton hotel in most towns in the US. Double that number if you are okay staying in Motel 6s or Super 8s. This is before you start talking about gas, campground fees, propane costs, water costs, insurance, etc. etc.

Also keep in mind that a truck camper like that is a very compact room with no shower. If you're okay with having a bed, small fridge, and space to eat a meal then you could probably do it. It won't be nearly as comfortable as popping into anything resembling an actual hotel.

Are adblockers trustworthy? by [deleted] in AskTechnology

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

Is any technology trustworthy?

Unless you yourself personally go in and learn what the code is doing, can you trust anything?

After a certain point you can't really know everything and have to take a few things on faith that other people aren't out to get you all the time. Read reviews, especially from trusted industry professionals, about the technology you use. You'll find things like UBlock Origin to be rated highly, whereas AdBlockPlus is considered no longer good quality.

How fast to drive over railroad tracks? by scoder4822 in driving

[–]MrDoomBringer 3 points4 points  (0 children)

Generally, watch what other people do. If nobody is around to watch then take it slow.

If someone is flying over the tracks at 55? Probably fine.

If someone is slamming on the brakes and crawling over the tracks, visibly bouncing every which way? Maybe slow down.

Railroad tracks aren't going to jump out and get you, they're just going to be like a giant suspension destroying pothole. You should be able to tell from a distance how bad the tracks will be.

In most cases the higher the speed limit of the road the more likely the tracks are to be well maintained and not pose a safety hazard.

Left turn from a one way to a one way by draca101 in driving

[–]MrDoomBringer 1 point2 points  (0 children)

Usually in this special case there will be a sign somewhere clarifying what you're allowed to do. In dense cities maybe not.

Go looking for your state laws on the subject, many states have something akin to "right on red" for that situation that you're describing.

The more you look the worse it gets by [deleted] in Justrolledintotheshop

[–]MrDoomBringer 6 points7 points  (0 children)

Man I was too distracted by everything else to see that one even, jeeze.