|
Joan M wrote: Thank you all...
You are more than welcome!
Just one question: what the heck are you talking about?
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!
|
|
|
|
|
Oops I've updated the original post...
|
|
|
|
|
It shouldn't be any different from switching the power on and off via a power strip or similar, which is what I've been doing since the 80s. Monitors, speakers, printers, scanners, MODEMs, whatever.
|
|
|
|
|
Jeeze, Joan, ditch the things, and buy some that use wires or wifi dongles.
bluetooth has never not sucked.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
400€ for a pair of loudspeakers!
They won't replace them in the shop...
I'm stuck with them... the good part is that they sound wonderful... the bad part is that they need to be powered off.
I'm thinking on putting a smart plug to power them and then put a shortcut in my PC to connect/disconnect it...
|
|
|
|
|
Sell the #internetofshit garbage on fleabay/craigslist/whatever your local equivalent is and buy some plain ordinary dumb speakers that would work just fine 50 years ago and have no vulnerabilities in them with the money you get back.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Oh, but those are no ordinary by any means, integrated 24 bit DAC that works as sound card if you connect them by USB to your computer, a special arrangement of the speaker parts which gives a terrific sound in a very small space, an optical connection in case you want to plug a subwoofer, a 3.5 jack and Bluetooth (which is not needed at all), for 400€they are one of the best loudspeakers you can connect to a computer.
The only problem is the Bluetooth thing that the manufacturer of the loudspeakers did terribly wrong... it's clear they are speakers manufacturers... and that they don't use their heads to think a little when it's about remote connections...
But today I've found a good solution, I've even prepared a small tip/trick about it... I've put a smart socket to power the loudspeakers and I can control it from my computer using POST messages to the socket company cloud... that way I have programmed an automatic shut down task in the socket at night and I can start or stop them double clicking a shortcut in my desktop.
|
|
|
|
|
If you insist on #internetofshit functionality at a minimum you should isolate it from everything else. If you had, instead of having to kludge up a way to save your €400 speakers you'd just need to replace a dongle for around the same amount you spent adding a new #internetofshit vulnerability to your home.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Can't insist on that... I truly hate it...
I had asked the sales man on the shop specifically about this... and we reviewed the manual of the loudspeakers where it reads you must pair the bluetooth devices pressing a physical button in the loudspeaker...
I paired my cell phone using the manual depicted steps and it worked... and never ever used that Bluetooth thing again. No way I suspected the pairing would also work while the loudspeakers were standby...
It was after a year of getting those devices that one neighbor decided to have fun.
Out of warranty now.
The only way to 100% stop anyone to connect is to avoid the standby state, which can be done only unplugging them... Now, with a difficult cable placing I have not been able to figure out a better solution... I could have used a IR socket to be able to start and stop the loudspeakers using the same loudspeakers remote, but... same cost and I could leave them ON easily...
Now, if the computer logs off or gets off, the loudspeakers go OFF too... and I can program a schedule to force the loudspeakers to stop from a specific time in case I don't shut the computer down each night... and moreover it's very convenient to double click an icon to get them ON or OFF...
Better than using a Google Home Mini (I have one because they given it to me for free when I got my last cell phone) but it is still in it's box.
|
|
|
|
|
So I'm working on a WCF project for a SOAP 1.2 application
Having done nothing but .NET Core for over a year .NET feels a bit... Clunky?
It makes me appreciate how .NET Core handles configuration and dependency injection and integrates with Azure seamlessly.
Maybe I'm just a bit rusty
|
|
|
|
|
WD40 helps with that, I've found.*
* Spray it in the eyes of people who notice.
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!
|
|
|
|
|
no web sockets?
Caveat Emptor.
"Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
|
|
|
|
|
|
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
|
|
|
|
|