|
Turning on my setup this morning (basically microtower, display, sound thing)
nice little bang and flipped the sub and main home circuit breakers.
Anyway, I already guessed it was the semi-cheap sound system, but carefully checked the more valuable bits first - no probs.
Yup, 'twas the sound thing, or more accurately the power adapter (even before opening it I knew)
Ppened up the adapter - tiny shrapnel, slight board burn near a very telling gap between 2 severed at board level legs where a diode [I think] used to live.
Ordered a new adapter, better quality $25 (one with genuine medical grade safety cert #)
- yeah almost as much as whole a new unit, and yeah: could've had a new cheapo adapter for $9,
but I feel safer with the better quality adapter than with another fire hazard.
(and if the unit itself is toast who cares, I'll buy another same, and use my new adapter - the one I got fits no nicely almost completely out of sight in a small space behind the monitor.)
It's usually them adapters that worry me most, cheap, crap, (probably 1$ or less bulk OEM)
- but they're also the bit that closest to the 240V hurty hot pixies so not to be ignored.
pestilence [ pes-tl-uh ns ] noun
1. a deadly or virulent epidemic disease. especially bubonic plague.
2. something that is considered harmful, destructive, or evil.
Synonyms: pest, plague, CCP
|
|
|
|
|
Done that many times myself, the question is did the one you bought have a genuie Medical Cert? worth checking. I found with some I ordered at work the number was not genuie but was used as a way to complain and use the dread 'Fake Components' term in an email, which resulted in the entire batch being 'free', just check!
|
|
|
|
|
When I began reading I was thinking, "Oh no...hope didn't lose entire rig".
Glad to hear that the damage was minimal and easily fixable.
|
|
|
|
|
Don't you know to not let the magic smoke out.
|
|
|
|
|
So, I've been working on this app that will generate model and viewmodel classes from stored procs in the specified database. It's intended for folks like me, that abhor the thought of using a UDM, or that find the ADO.Net project in Visual Studio to the quagmire of failure that it is.
Every time I think I've reached a point where I think I'm finally done, I think of something else that really must be included in the app.
0) It would be nice if I could do the same thing with tables and views. Result : a new wizard page, a new window, and a crapload of refactoring in the code generator. Thought I was finally done...
1) I decided to try out the long-ignored stored proc generator. Result: new window to handle procs with input parameters, and fixing some generator code. Thought I was finally done...
2) I decided I wanted to add more flexibility where the viewmodel generation was concerned. Result: Completely refactoring the settings wizard page, adding a help window for viewmodel settings, and adding code to react to the new settings. Thought I was finally done...
3) Item #3 is boycotted today. This item will not appear in any of my enumerated lists for the remainder of the day.
4) It might be nice to add properties that provide CRUD queries for tables. Result : adding code to the code generator that does creates the queries, and adding a number of new app settings to allow some flexibility. Thought I was finally done...
5) In the process of adding the CRUD stuff, a dilemma arose regarding how to identify the column that would control update and delete functionality. Originally, I looked for a column with the text "ID" in it. I sat there looking at the code, and thought, "Not everybody is as pragmatic as I am in their column naming habits, so I, after a little research, I discovered that the ADO DataColumn object contained properties to help you find columns that auto-increment and that are read-only. So, I changed the code to retain and look for those properties to identify the most likely ID column. The whole detection code block turned into a three-tier setup, where I look for the autoincrement/readonly column, fall back to one that looks for "ID" in the name, and then finally, simply use the first column in the returned schema.
Unless you count testing, testing, and more testing, and then writing the actual article series, I think I'm finally done...
Famous last words, right?
".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
modified 4-May-20 10:08am.
|
|
|
|
|
Maybe a nice idea to make it a cross-platform app
|
|
|
|
|
It's got a WPF UI, so there's no hope of that happening.
".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
|
|
|
|
|
I thought that what .Net Core is for...
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.
|
|
|
|
|
.Net core is for commandline apps. If your app has a UI (WinForms or WPF), running in different versions of Windows is about as "cross-platform" as it gets.
They can't make a WPF layer because linux has a crap-ton of different compositors and graphics engines. Microsoft can't just pick one to support/endorse, but at the same time, they can't possibly support them all, so they chose the lazy path and decided not to do anything.
".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
|
|
|
|
|
This is like Docker on Windows: Consider it CLI only.
Well, a container might have an HTML interface, but that is not exactly like WPF.
In principle, I guess you in principle could create a container where UI libraries were replaced by stubs code running the Windows Remote Desktop protocol. The container would probably approach Windows itself in size. (Don't consider it a serious proposal )
Linux people would say: Why don't you just do it our way - you could be using X11, then everything would be fine! ... Try telling Linux affecionados that they could simply implement the Windos way in Linux, abandoning X11, and listen to the reaction you get
|
|
|
|
|
Using docker containers is a) more work than it's worth, and b) running in a docker container STILL won't let the app run in Linux.
Using .Net Core would add NOTHING tangibly positive to a WPF or WinForms app. Since it's not a web app, I'm not even sure why you mentioned it.
".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
|
|
|
|
|
You can run WPF (or WinForms, or UWP) on .net core; but since it's just a wrapper for a bunch of Win32 UI libraries your application will only work on Windows because other platforms don't support the lower level dependencies.
Or won't until someone gets bored enough to package the libraries for WINE up nicely into a format that .net core can natively use anyway.
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
|
|
|
|
|
WPF has been around since about 2009, and WINE *still* doesn't support it, as is evidenced by Wine's inability to run Visual Studio 2010 and newer (when they change the UI over to WPF).
Until Microsoft gets off their ass and provides the necessary graphics layers for use on Linux (which also won't ever happen), .Net Core is only "cross-platform" for CLI apps.
".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: Every time I think I've reached a point where I think I'm finally done, I pinched one of these from a guy in the 90s, I only stopped fiddling with it when I retired 20 years later. I still ran it from the debug build.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
#realJSOP wrote: I think I'm finally done...
Ha! John, you've been at this long enough to know that software is never done.
"Go forth into the source" - Neal Morse
|
|
|
|
|
Yeah, software is like project cars.
".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
|
|
|
|
|
Well - before I posted I checked for today in history:
Machiavelli was born - but I don't think that's it. Maybe, something more like:
Quote: 1979 Margaret Thatcher becomes the first woman to be elected Prime Minister of the United Kingdom
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 seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
...because a Luke Skywalker wig would look crap on Bob.
|
|
|
|
|
I wasn't thinking about a wig for him - but now that you got me thinking, quite an assortment of them would be worth a try:
Harry Potter
Kim Jong-Un
Bo Derrick
Telly Savalas
Dilbert's Boss
Martha Stewart
Chris Maunder
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 seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
W∴ Balboos, GHB wrote: Chris Maunder
Ah ! I think we might be on something here ! @sean-ewington, please make that happen, a Chris-shaped Bob.
|
|
|
|
|
The image this conjures in my mind disturbs me. I don't know if I have the strength to bring it to life.
Thanks,
Sean Ewington
CodeProject
modified 4-May-20 12:33pm.
|
|
|
|
|
I think the metal bikini would be hilarious, though. LOL
".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
|
|
|
|
|
Did I miss the episode where Luke was wearing a metal bikini ?
|
|
|
|
|
Rage wrote: Did I miss the episode where Luke was wearing a metal bikini ? The more important question is, are you upset that you missed that episode?
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.
|
|
|
|
|
Liea's bikini when she was Jaba's slave girl.
".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
|
|
|
|
|