|
You should let your boss deal with it.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Obviously, none of them is the master of his own domain.
|
|
|
|
|
I've got a slightly different problem such that I know who handles the DNS records and forward them all the information the vendor provides me to get things set up. All good so far.
Then the guy who handles the DNS piece tells me I have to send the rule exactly as I want it added. Reasoning is that if it doesn't work or breaks anything else then I'm the one who wrote the rule, so it is my fault. Except I'm not a DNS/networking person, I don't know what other rules are in there which might be affected, and so on.
|
|
|
|
|
Funny you mention DNS issues. I had an issue pop up 7 days ago that caused me to have to re-deploy about dozen apps/utility modules. A hostname for an ftp resource I have used for over 15 years suddenly quit resolving.
I checked the a/cname dns records and they check out fine. I switch to another hostname listed there and it connects just fine.
Good right? Not quite. Maybe someone else can learn a lesson from this, so here goes:
Over the last 15 years, that ftp hostname had become baked into our desktop apps that utilized ftp...around a dozen or so. Actually, the hostname and username were both hard-coded. The password is actually defaulted but gets it's value from a publicly available xml resource. (encrypted of course!) The idea was that I might need to change the password but never the hostname/username.
Ah, but it really wasn't catastrophic...the secondary ftp resource picked up the slack in most cases. It's nice when careful planning pays off!
Anyhow, I had to change the hard-coded hostname that was failing in those applications to the one that works then recompile/redeploy which was easy enough but wasted half a day doing so.
What I should have done is allow the hostname/username to be fully dynamic like the password but that would have required more time/effort than it was worth. If I were starting over with it, I'd definitely have all the pieces able to be changed on the fly.
Also, nothing to do with DNS, but rather a lesson in IP Based security done poorly, then corrected.
I have a customer with 60+ sites and around 400 or so devices using a couple of Azure web apps. All sites are WAN connected and use a common gateway for the internet. When these apps were developed over 4 years ago, all the sites used a really small set of outbound IP addresses...usually just 2 or 3 in use at a time.
The allowed IP addresses were simply stored in a comma-delimited appSetting in the Azure config section. If they changed, which had become rare, I'd get notified and have to go add the new address to the list. This method worked pretty well until last week when their IT dept. decided to become more granular on the outbound assignments and the number being used jumped to over 20.
My little method suddenly became totally inadequate for the task, so I rewrote it and did it the right way by adding another layer to handle a simple range check. The ranges are added as a comma delimited list of uInt lower and upper values in the Azure config section. The current customer is using 2 distinct ranges.
As before, the client's IP address is checked for a direct match. If a match is not found, the address is converted to a uInt and the range is checked for each range pair. So far this is working well...the hard part was finding a reverse IP tool that gives ranges, then writing a tool that converts those to uInts. Out of about 10 different reverse IP tools, only MXToolbox gave the ranges I needed.
While I'm writing a book, I also took the opportunity to address other shortcomings with the current systems mostly dealing with error logging and reporting. I'm probably going to be scared of what I find! The original method to deal with handled errors was to set a general error message and where appropriate details, then redirect to an error page displaying the reason we are here and a simple email link to report it directly. Very few end users would actually try to report anything, maybe because the mailto link was basic and didn't include a subject or body.
The error pages now trigger a database record for logging, unless of course the problem is the database! To be honest, when I wrote this app over 5 years ago, it was 4 months from the date they asked for it until going live. Their acceptance was based on a really primitive php/MySQL opensource project my business partner found and made me customize enough for a demo. When they finally decided to go a year later, I immediately announced that I was not doing anymore php and that I was starting from scratch. It was a lot of late nights and weekends and a rocky implementation but somewhere after the first week of fixing bad data every night, I got it right and it's been a great little application that requires very little of my time to support/monitor...until one little variable that's out of your control changes and exposes a weakness. I'm leaving it way better than it was before!
"Go forth into the source" - Neal Morse
|
|
|
|
|
Slab of ice with a french word for posh tea. (8)
and yes, it's on theme.
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
BERGAMOT
Slab of ice = BERG
a = A
French Word = MOT
Bergamot - a fruit that is used to flavour Earl Grey tea.
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
Yep. Thought it might last a bit longer.
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Peter_in_2780 wrote: Thought it might last a bit longer.
I figured this one out - and ifI can figure it out it isn't going to last a long time.
I, for one, like Roman Numerals.
|
|
|
|
|
Just came across this laughable garbage:
https://www.theguardian.com/technology/2019/sep/17/tech-climate-change-luddites-data
"Big tech claims AI and digitization will bring a better future. But putting computers everywhere is bad for people and the planet"
"Our built environment is becoming one big computer. “Smartness” is coming to saturate our stores, workplaces, homes, cities. As we go about our daily lives, data is made, stored, analyzed and used to make algorithmic inferences about us that in turn structure our experience of the world. "
So your fridge, should you have one that does this, knows you are consuming a lot of pork say, and directs you to a variety of pork suppliers.
Is this 'structuring your experience of the world'?
Or is it so mundane it no more structures it than an advert for Pepsi on a bill board?
He then goes on to make some even more ridiculous claims about IT:
"A growing chorus of activists, journalists and scholars are calling attention to the dangers of digital enclosure. Employers are using algorithmic tools to surveil and control workers. Cops are using algorithmic tools to surveil and control communities of color."
Is there a growing backlash in certain parts of society against IT, or is this a desperate journalist looking for a story where there isnt one?
modified 18-Sep-19 9:19am.
|
|
|
|
|
I was wondering how long would it take you to open a new front in the lounge.
The soapbox got closed. I hope you keep the profile a bit lower than there.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
This post is about IT, so I think entirely suitable in the lounge.
|
|
|
|
|
It's what is known as an opinion piece. To put it in simple terms, it's somebody's opinion. You've written several million of them yourself over the years but thankfully The Soapbox is dead now, so you'll have to find another platform.
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
PeejayAdams wrote: but thankfully The Soapbox is dead now, so you'll have to find another platform. it seems he already did... the lounge
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Not that I ever spent much time in the soapbox, but what did you expect?
Edit: That's weird! somehow an 'm' is added to some words at the end every time I edit this post.
Edit 2: Found the cause! A big breadcrumb between the keys!
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Of course, but the question is does his opinion reflect a trend in certain sectors of society. Is there a growing anti technology sentiment or not.
|
|
|
|
|
Thank goodness something interesting in the Lounge.
The digital age is causing all kinds of problems but I don't think this article has much merit.
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
What I find interesting is the guys inability to recognise IT as just a step forward in technology and culture.
OK, advertising is more focused, more directed, but it always has been directed and focused. The change is in scale, not type.
Of course if he is just being an 'anti' then that is also interesting. Why? Why does he feel the desire to 'put the brakes on' regarding technology, what is he scared of?
|
|
|
|
|
Munchies_Matt wrote: advertising is more focused Exactly. Which is why I don't care if google tracks what I do online. I'd rather get focused advertisements of something I might want rather than just random stuff.
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
I know what you are doing here and let me tell you, the high you get, it just is not as good as the real thing.
|
|
|
|
|
Slacker007 wrote: I know what you are doing here
I dont know what you mean!
|
|
|
|
|
so i rolled my own B+ tree and it performed pretty well.
but then i ran Microsoft's KwData B+ tree side by side and it did slightly better.
i thought, that's weird, Microsoft's is usually a dog.
Well, it turns out, the SortedDictionary was causing so much GC churn that the b+tree ended up paying for it down the line.
Take the other dictionaries out of the test scenario and it speeds up nicely.
This is why I hate perf testing in .NET. The GC wildcard.
And I can't suspend the GC *and* hold a million items in memory, so that's out.
*headdesk*
a day of work for nothing, or at least, for nothing other than learning the GC was bombing my test numbers.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Have you tried calling GC.Collect() at strategic times, for better performance analysis, when memory is an issue....
But if memory muddle the issue, maybe the same thing will happen in the real world?
|
|
|
|
|
if in the real world people are filling several dictionaries with millions of items then what they really need is a database.
I've considered calling collect, but i first need to refactor so that it tests each dictionary individually and then collates the results (so the search times for each appear next to each other for example)
i just haven't done it yet, but it's on a long list of todos
what gets me right now, is the variation in performance run to run for that particular class.
sometimes it does great. sometimes it does poorly, under the exact same conditions and it has left me scratching my head, because I don't think the GC can account for all of that.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
I dunno how is your test.. but if you are using the unit test runner and look at the output, it could be multiple thread runs in parallel, adding a little bit of async randomness to the results?
But if you do (likely) your performance test in a console app, synchronously, then I dunno...
I usually get consistent perf results once I remove multithreading and memory issue.
Mm.. are you using a random number generator, for random data, per chance?
|
|
|
|
|
no, it's just plain old static functions .
i'm not doing perf with nunit or anything like that.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|