Click here to Skip to main content
15,886,919 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
News64-bit Visual Studio 2022 arrives Pin
Kent Sharkey8-Nov-21 9:46
staffKent Sharkey8-Nov-21 9:46 
NewsForget bendy screens—Microsoft patents “foldable mouse” Pin
Kent Sharkey8-Nov-21 8:16
staffKent Sharkey8-Nov-21 8:16 
NewsBreaking changes in .NET 6 Pin
Kent Sharkey8-Nov-21 7:04
staffKent Sharkey8-Nov-21 7:04 
NewsAnnouncing .NET 6 — The fastest .NET yet Pin
Kent Sharkey8-Nov-21 7:03
staffKent Sharkey8-Nov-21 7:03 
GeneralRe: Announcing .NET 6 — The fastest .NET yet Pin
PIEBALDconsult8-Nov-21 12:10
mvePIEBALDconsult8-Nov-21 12:10 
GeneralRe: Announcing .NET 6 — The fastest .NET yet Pin
Kent Sharkey8-Nov-21 15:26
staffKent Sharkey8-Nov-21 15:26 
News10 eureka moments of coding in the community Pin
Kent Sharkey7-Nov-21 7:16
staffKent Sharkey7-Nov-21 7:16 
GeneralRe: 10 eureka moments of coding in the community PinPopular
Marc Clifton7-Nov-21 9:03
mvaMarc Clifton7-Nov-21 9:03 
Two stories (the two I was thinking about when I replied to honey the codewitch[^]:

1a: Detecting hydrogen fires in realtime after the Challenger accident - We had a multispectral camera, basically a camera with a spinning wheel having 6 narrowband filters in front of the CCD where this spin rate was sync'd to the cameras 60hz scan rate, and I managed to do two things (quite impressive given this was 30 years ago) - flip the image capture board into capture frame for the desired filter, flip back to display the captured frame for the next 5 frames, rinse and repeat. (By removing the IR filter in front of the CCD it was just barely able to detect the emissions around 950nm from burning hydrogen.) All during the vertical refresh interval, so it had to be assembly code, and the code let you move to the previous / next filter on the wheel. The point being, so you could see just the filter you wanted to see.

1b: The PhD people had created a complicated FFT to analyze all six frames of a captured set of images to determine if a hydrogen fire existed. It took like 30 minutes to run (remember, this was 30 years ago) and produced a questionable image result and then you had to tweak the parameters to try again. I realized that the entire process was just a lookup table of intensity for each filter band. So I wrote a near-real-time translation to produce a single video frame from the six filter frames.

2: The PhD's had been working on analyzing the failure modes of switch rings in satellites (this[^] is a simple but good example). The idea being, analyze the ring that the engineers dreamed up for handling failed TWTA's (Travelling Wave Tube Amplifier) which would be switched to spare TWTA's on the satellite, and determine what the failure modes were that couldn't be handled even if there were available spares. This is not as simple as one might think, as the output of one switch can be the input of another switch as an alternate input.

The point being, the PhD's were using the tools in their PhD toolbox: complicated algorithms of network analysis that they couldn't figure out and if they did, nobody could figure out how to turn into code. I ended up looking at the problem from the opposite direction - given an output combination, what were the valid inputs which then produced a list of inputs that couldn't be handled, based on the simple rule that a T-switch or C-switch (another pic here[^]) could only have a maximum of two inputs and two outputs. This greatly simplified to complexity of the analysis because the rule was simple: if there are 3 or 4 inputs going to the switch, this is a failure case in the ring topology.

The result was that the code could analyze fairly complex rings in less than an hour. Once multithreaded processors came out, I refactored the code to multitask the analysis for the # of cores, so it could handle more complex topologies. To my knowledge, the satellite manufacturer is still using my code to this day, originally written almost 30 years ago in C++, then rewritten in C#, without performance degredation mind you.

Sorry for the long post!

GeneralRe: 10 eureka moments of coding in the community Pin
Gjeltema7-Nov-21 10:19
Gjeltema7-Nov-21 10:19 
GeneralRe: 10 eureka moments of coding in the community Pin
Marc Clifton9-Nov-21 6:05
mvaMarc Clifton9-Nov-21 6:05 
GeneralRe: 10 eureka moments of coding in the community PinPopular
Vivi Chellappa7-Nov-21 22:46
professionalVivi Chellappa7-Nov-21 22:46 
GeneralRe: 10 eureka moments of coding in the community Pin
Marc Clifton9-Nov-21 6:09
mvaMarc Clifton9-Nov-21 6:09 
GeneralRe: 10 eureka moments of coding in the community Pin
Vivi Chellappa9-Nov-21 6:40
professionalVivi Chellappa9-Nov-21 6:40 
GeneralRe: 10 eureka moments of coding in the community Pin
Nelek9-Nov-21 11:29
protectorNelek9-Nov-21 11:29 
NewsPlease ask stupid questions as a new software developer Pin
Kent Sharkey7-Nov-21 7:01
staffKent Sharkey7-Nov-21 7:01 
GeneralRe: Please ask stupid questions as a new software developer Pin
Marc Clifton7-Nov-21 9:12
mvaMarc Clifton7-Nov-21 9:12 
GeneralRe: Please ask stupid questions as a new software developer Pin
Kevin McFarlane8-Nov-21 1:47
Kevin McFarlane8-Nov-21 1:47 
GeneralRe: Please ask stupid questions as a new software developer Pin
Nelek7-Nov-21 9:38
protectorNelek7-Nov-21 9:38 
NewsTo learn a new language, read its standard library Pin
Kent Sharkey7-Nov-21 7:01
staffKent Sharkey7-Nov-21 7:01 
GeneralRe: To learn a new language, read its standard library Pin
Richard Andrew x647-Nov-21 7:27
professionalRichard Andrew x647-Nov-21 7:27 
GeneralRe: To learn a new language, read its standard library Pin
Kent Sharkey7-Nov-21 8:04
staffKent Sharkey7-Nov-21 8:04 
GeneralRe: To learn a new language, read its standard library Pin
Richard Andrew x647-Nov-21 8:07
professionalRichard Andrew x647-Nov-21 8:07 
GeneralRe: To learn a new language, read its standard library Pin
Rob Grainger8-Nov-21 23:22
Rob Grainger8-Nov-21 23:22 
GeneralRe: To learn a new language, read its standard library Pin
Greg Utas7-Nov-21 10:38
professionalGreg Utas7-Nov-21 10:38 
GeneralRe: To learn a new language, read its standard library Pin
Kevin McFarlane8-Nov-21 1:35
Kevin McFarlane8-Nov-21 1:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.