|
I bet SOMEONE is going to be in really hot water for this snafu.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Message Closed
modified 13-Mar-16 12:10pm.
|
|
|
|
|
It's not an issue with having multiple loaded copies, that class is specified in two completely DIFFERENT DLLs. Same namespace and everything.
That is real DLL hell.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Aren't they supposed to have at least 2 pieces of "flare" on everything?
Hogan
|
|
|
|
|
Amazingly, its still there 2 weeks later. That's not a fail, its an existential crisis.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
..for performance.
I dug up an ETL-method from my .NET-dark ages because I needed it again and in general it's working fine. Just a bit slow. Because there's a lot of transformational stuff going on I first thought that there's just no way around that and considered implementing a nice progress indication for the user that actually delivers on its "remaining time" estimation.
To be able to identify which "atomic parts" of the transformation require how much time I re-arranged the code so that steps which happened in a nested fashion now execute one after another. And to my surprise the transformation which I suspected to be the most time consuming one wasn't! Instead it was a step inside that one which now revealed its awful performance and on closer inspection it boiled down to using DataView.RowFilter, which, I assume, I used because there was no LINQ at the time and I couldn't be bothered to write some loops, assuming that .RowFilter wouldn't be THAT bad. But it is.
Replacing this:
treeView.RowFilter = String.Format("ParentID={0} AND {1}<>{0}", parentId, idColumnName); (and the code that relies on it) with this:
Dictionary<int, HashSet<int>> itemsByParentId = treeTable.AsEnumerable()
.Select(row => new { parentId = row.Field<int>[parentIdColIdx], itemId = row.Field<int>[itemIdColIdx] })
.Where(x => x.parentId != x.itemId)
.GroupBy(x => x.parentId)
.ToDictionary(grp => grp.Key, grp => new HashSet<int>(grp.Select(x => x.itemId)));
(and code that uses it instead) cut down the time for the whole ETL-process from 26 minutes to 2 minutes...
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
...
catch(e) {
console.warn(e);
const niceMessage = 'An error occurred';
throw new Error(niceMessage);
};
|
|
|
|
|
...someone posted a link to the most WTF inducing project ever created[^].
Why...?
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
They could mix some of JS in for good measure - especially the bits that get turned off by strict.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
Thanks, now I need to go buy some more mind bleach.
|
|
|
|
|
I built and still maintain two web sites, one with Notepad and the other with Exressionweb4. I have a friend who asked me to recommend a designer app for his proposed site. What do you guys use/recommend?
73
|
|
|
|
|
|
Thx for the info. That's exactly what I was looking for!
Sorry about the wrong group. I suppose using Notepad these
days is weird and wonderful! (Notepad site)
73
|
|
|
|
|
That's pretty good for just using notepad.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
I write virtually everything in Notepad or vi.
|
|
|
|
|
My tip would be Joomla. It is a wellknown open source solution not only building a website but maintaining it.
BTW: Our web developers are using notepad++ because it is more powerful and has some interesting plugins.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
web design - piece of paper, then move on to Photoshop or GIMP
web development - Visual Studio, Eclipse, or PHP Storm
|
|
|
|
|
I'd heard of testing in Production, but until I joined my current job, I'd never heard of running live reports from a Testing environment (test code, test database). Apparently releasing code changes to Production outside the monthly release window is so dangerous and/or bad practice that it is safer to take a copy of the Production database into the Test database and run the revised code from there. This was a compliance report to the Tax Office by the way. My People Manager and her manager both maintain there is nothing wrong with this.
What could possibly go wrong? Well, only the main database was copied down, not the lookup databases etc. What if the main routine called a another routine which had been changed? What if a tester or a batch process changed the data? What if the collation or other properties of the database were different?
What does the Code Project think? I don't think logic is going to make any difference but majority opinion may sink in.
|
|
|
|
|
Would you be then running reports on potentially outdated database all the time? What if someone tests the application using that database and just changes the data? It might panic the government, right?
"You'd have to be a floating database guru clad in a white toga and ghandi level of sereneness to fix this goddamn clusterfuck.", BruceN[ ^]
|
|
|
|
|
These guys aren't stupid - they refresh the test database from Production every time they need to run a report.
|
|
|
|
|
A bit hard on the testers though to have all their test cases regularly trashed, but we all have to make sacrifices to adhere to best practice, right?
|
|
|
|
|
Urm...isn't that too much work. How often does data update?
"You'd have to be a floating database guru clad in a white toga and ghandi level of sereneness to fix this goddamn clusterfuck.", BruceN[ ^]
|
|
|
|
|
johnsyd wrote: My People Manager and her manager both maintain there is nothing wrong with this.
They say this to you - I bet they wouldn't declare this modus operandi to the external auditors though?
|
|
|
|
|
Funny you should raise this - we are getting audited in May by the regulatory agency for our industry ... I think they should know about this, especially as it is best practice!
|
|
|
|
|
At one bank I worked at the EOD image was loaded onto a reporting system each night, it is the only way. Reporting should never be from production, that is for data capture and process.
veni bibi saltavi
|
|
|
|