|
|
Sander Rossel wrote: So I'm working on a WCF project for a SOAP 1.2 application
You poor soul. Let me guess, you're having to interface to some klunky financial reporting service that implemented SOAP as a thin wrapper to their still operating COBOL machines?
Such was the case where I worked until December when I gave them the bird, and wished I could have given them a kick in their collective arses as well.
Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
Almost, an EDI standard that almost pre-dates the internet.
The service to connect isn't even the problem, it's the content I have to send...
There are about 120 possible values, all encoded by a six-number digit, with two leading 0's and three digits for the length (last one is the precision).
So let's say I get "DH1111110012345605000654321052" (and we're talking lines up to thousand characters).
I now know it's a D(efinition)H(eader) for event 111111.
The first field is 123456 (discard the leading 0's) and it has a length of 5.
The next field is 654321 and has a length of 5, of which 2 are decimals.
The next line could look like "VH111111Hello01234" V(alue)H(eader), which should be parsed as values "Hello" and 12.34.
The meaning of 123456 and 654321 comes from a document I have and isn't known to either the computer nor me
Luckily I only have to create the file, not parse it.
Although that's bad enough as it is, as the format has some form of layered structure where my input has not (a simple CSV file).
And, of course, some values are mandatory while others are forbidden in certain scenario's.
So you see, WCF, SOAP and XML are the least of my problems (in fact, I'd gladly trade this format for XML!)
|
|
|
|
|
So how is the crappy data format affecting the usability of .net framework vs .net core? How is .net core a panacea?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
#realJSOP wrote: So how is the crappy data format affecting the usability of .net framework vs .net core? It isn't.
I just had some issues going back to .NET Framework, but, unrelated, that wasn't my biggest problem because that is the data format.
#realJSOP wrote: How is .net core a panacea? I wouldn't call it a panacea, it has its issues (like no WCF/SOAP support).
But it comes with DI out of the box, it's right there and all your need to do is add a few lines of services.AddTransient<ISomeService, SomeService>();
The same goes for logging, just add some loggers through extensions and inject ILogger.
Or EF Core for that matter (turned out I can just use EF Core in .NET Framework too).
And the configuration is read from a JSON file, and nowhere has it been as big as my smallest .NET Framework XML config file.
It's also super easy to map JSON objects to .NET classes, so instead of putting everything in <appSettings> just add "SomeSetting": { "SomeSubSetting": { "SomeSubSubSetting": [ "v1", "v2" ] } } and it works.
And with the ConfigurationBuilder I can just add builder.AddAzureKeyVault("[uri]"); and it'll add all my KV secrets like they were in my config file to begin with.
Maybe it's not so much .NET Framework, but WCF, which is rather archaic in 2019 (no easy support for DI, so I had to use Unity or Windsor or MapSomething, went with a Unity plugin).
I have it all set up now, but it cost me a while to figure it out.
|
|
|
|
|
I had to use an IDE yesterday that felt clunky and incomprehensible.
It wasn't; it was actually better than the IDE I have been using recently.
The problem was that I had forgotten (the more intuitive places) where things were, and was looking for things in the wrong (less intuitive) places -- so it was I who was the problem, not the iDE
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Does pylon mean borrowing pastries?
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
isn't it also a hugely popular common dev methodology?
Message Signature
(Click to edit ->)
|
|
|
|
|
If it is, you'll pile on the pounds.
|
|
|
|
|
A half-baked pun - possibly crumby - but maybe it made someone smile or even loaf.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Will you accept cookies?
Because we have cookies - and you need to know that.
Socialism is the Axe Body Spray of political ideologies: It never does what it claims to do, but people too young to know better keep buying it anyway. (Glenn Reynolds)
|
|
|
|
|
Hi All,
We are working a new spin of a widget that has been around for a long time. We cannot make bit A anymore as it is a headache to get it certified, qualified & passed for it's purpose so a third party not in the country has taken on the build of bit A. All is good, come to build the next bit of A, a party phone call between me and one of the builders in which I happen to ask 'how are you doing the xyz management' to which the answer was 'oh, I don't think we are, better get on that, cheers' they have appeared to correct a serious issue by using a hand wound coil to improve the issue, it gets one factor we are testing nearly perfect (power factor) but raises another (power consumption) to stupid levels.
|
|
|
|
|
Sounds like an impedance issue exacerbated by impudence.
CQ de W5ALT
Walt Fair, Jr.PhD P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
This item from The Insider News today got me thinking: Google very angry after contractor leaks over a thousand Assistant recordings[^]
I don't have any of 'em - even Cortana is voice disabled* on my devices - but if I did, I'd be tempted to unplug it. Friends have 'em, I never felt the need, or the want.
You got one? Did you ever think about how much info you are giving the vendor about your daily routine? Did you care? Given that most of these things can be turned into spy devices pretty easily does it matter that - in theory - you can be broadcasting when your home is empty for anyone to listen to?
* This is mostly because dictation systems generally dislike my voice and I spend more time correctly them than using them.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: You got one?
What for ? I do not see the slightest interest in having one.
|
|
|
|
|
Nay, nay, nay and thrice nay.
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
I have my fingers still with me...
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
I have an Alexa, and I honestly don't care if it did record everything I said. It's not like I walk around my house reading out my bank card numbers all day.
And even if I did say something sensitive, it's not like it's publicly accessible, so what is there to worry about?
|
|
|
|
|
musefan wrote: And even if I did say something sensitive, it's not like it's publicly accessible, so what is there to worry about?
You sure about that? Hacking the Echo echo echo | Pen Test Partners[^] Ok, these are exploits that don't listen to you, and the alexa is apparently pretty good security wise. But ... how good do you believe the security is at the other end? Amazon does like to pay as little as possible, so I wouldn't be surprised to find the Amazon-end code written by subcontractors working for peanuts. And a quick trip to QA will show you how competent they can be!
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Just to add to that, some years ago my bank card details were compromised - I didn't lose anything as my bank caught the unusual spending - and the only people I'd used it for in the previous month was the local supermarkets ... and Amazon. My personal suspicion is that someone working for them sold my details to supplement his wages, and that makes me a little suspicious about the quality of the people they hire.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
It's true, I know nothing of the people on the other end and their morals, but that's true of most things. I can't waste my time caring about that. I general just give my trust to the larger companies knowing that it's in their best interests (financially) to not allow that data to be leaked.
Besides they already have my card details at the other end, and like you say, banks are pretty good at covering you for anything like that so I feel safe enough.
If I ever start thinking about doing anything illegal, then maybe I will start caring about what my Alexa listens to
|
|
|
|
|
OriginalGriff wrote: that makes me a little suspicious about the quality of the people they hire If you treat employees like sh1t, take a wild guess at how they'll end up behaving.
The power to turn good people bad is all in the hands of their employers, and amazon is a very bad employer, by all accounts.
I don't, and won't, use amazon for anything at all, because of this.
I even avoid websites when I find out they're using amazon servers.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
musefan wrote: And even if I did say something sensitive, it's not like it's publicly accessible, so what is there to worry about? "Not publicly accessible"?
https://haveibeenpwned.com/[^]
Scroll to the bottom and look at "largest" and "recent" breaches. That's how secure something is that isn't "publicly accessible". Also, this doesn't just affect you, but also your politicians, nuclear plant operators.. If you aren't worried, you haven't been paying attention
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Send me a link of my Alexa voice command history, and if I can verify it's accurate then I will start worrying a little.
Or why even limit it to that, go use my so-called "publicly available information" and do something that actually effects me.
I get that companies do get breached and lose data, but what happens to these people? Nothing.
And let's say I do start worrying for a minute... then what? What can I do to change anything? No point wasting time worrying about it.
|
|
|
|
|
musefan wrote:
I get that companies do get breached and lose data, but what happens to these people? Nothing. Nothing you are aware of. That's not the same thing, is it?
It's not just breaches; there's also a risk of the people who perform maintenance on the application misusing the data.
musefan wrote: And let's say I do start worrying for a minute... then what? What can I do to change anything? No point wasting time worrying about it. So you don't lock your house, because you don't want to worry about what makes a good lock?
What you can do to "change anything" is to not use a compromised appliance - or at least be aware of the potential problems, so you can "step outside" on that single moment you feel the need for privacy
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|