|
Wordle 669 4/6
⬜⬜⬜⬜⬜
🟨⬜⬜🟨⬜
⬜🟨🟨🟨⬜
🟩🟩🟩🟩🟩
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 669 4/6
⬜🟨⬜⬜⬜
⬜🟩⬜🟩⬜
🟨⬜⬜🟨⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 669 5/6
⬛⬛⬛⬛⬛
⬛⬛⬛🟨⬛
🟩🟨⬛🟩⬛
🟩🟩🟩🟩⬛
🟩🟩🟩🟩🟩
Get me coffee and no one gets hurt!
|
|
|
|
|
Wordle 669 4/6*
⬜🟨⬜⬜⬜
🟨⬜⬜⬜🟨
🟩⬜🟨⬜⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 669 3/6
⬜⬜⬜⬜🟨
⬜🟨🟨⬜⬜
🟩🟩🟩🟩🟩
Caught by surprise
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Hi All,
Was having an issue with an if() statement in C, this was for an Embedded temperature monitor. A green light for heating, A Blue I have got to heat and Red time to demold. The issue was it would work fine at temps lower than the limit, the Blue and Green switch over Okay and back and forth, the issue was the Red would trigger and the Green would trigger, a disarster. Sitting at my desk thinking hard all afternoon, train trip home listening to a Led Zeppelin bootleg, I came up with a solution (a variable which when set is tested in a logical OR with the value read in, and reset by the mould being opened). Got home tested it with Dev C++ it works with the value being simulated via scanf(). Remember to look out the Window!, I know Google probably could have solved this in seconds but I wanted the hit of dopamine by solving it myself! (also time is not an issue as we are waiting for the new tool for this thing to mounted on)
UPDATE: Got to work, tried it on the Hardware works perfectly!!!
modified 19-Apr-23 3:43am.
|
|
|
|
|
There's always room for one more variable.
|
|
|
|
|
I know embedded minimize variables, function calls, I'll try it tomorrow see if it works...
|
|
|
|
|
glennPattonWork3 wrote: Just solved an issue without Googling it
Must be some kind of witch! Burn Him! Burn Him!
Keep Calm and Carry On
|
|
|
|
|
Just solved an issue without Googling it using AI.
|
|
|
|
|
Kudo's! (it is always the missing constraint)
>64
Some days the dragon wins. Suck it up.
|
|
|
|
|
For a recent birthday I got a new Dell XPS desktop. It is a beautiful machine with fast 64GB DDR5 memory and two M.2 connectors for NMVe drives on the main board. I did not like the somewhat slow NVMe that Dell installed as a systems drive, so I replaced it with a fast Samsung 980 PRO NVMe.
I was doing quite well with a clean install when I got to trying to install a very old cd/dvd application for dvd burning. It had 2 separate plugins for Dell machines that you had to run separately. This app was from the days of Windows 2000 or XP and I should have known beter than to fool with such an old piece of software.
When I tried to run the second plugin, it suddenly reported that there were no drives attached to the machine. Next thing the operating system died and the machine refused to restart. I could get into the BIOS but that was all. Nothing I did in the BIOS did any good. There were no visible drives in the machine (I had previously installed 2 NVMe drives and 2 regular Sata SSDs). It also had no visible USB3 ports so I could not boot from a repair flash drive.
Later it occurred to me that the USB2 ports were still working, so I did have a functional keyboard and a mouse to work the BIOS with
After a couple of hours struggling, and starting to panic big time, in desperation, I decided to uninstall all 4 drives one at a time. But I did not hold out much hope that this will achieve any result. But when I removed the systems drive, the machine suddenly came to life! What a relief!
Hours later, having re-done a clean install on a different drive, I started to figure out what happened. Using Diskpart I inspected the defective systems drive and it reported the drive was "off line". Running the Diskpart command "online disk" on the drive, immediately brought it back to life!
That plugin that killed the machine must have knocked the systems drive off line. When the systems drive went off line, it must have blocked the entire PCI bus to which it was connected. Hence no drives or USB3 ports worked. That will teach me to mess with very old software in a brand new machine! That old software worked like a charm on machines that it was intended for.
My machine is now back and running beautifully on the Samsung 980 PRO!
Get me coffee and no one gets hurt!
modified 18-Apr-23 19:47pm.
|
|
|
|
|
Wow. happy you got it working, but don't even get me started on trying to clone NVME drives. What a boondoggle.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
|
Love these Samsung Pro NVMes. I got the 990 Pro which was pricey, but OMG, it's so ridiculously fast.
Because of the cache it's got, my compiler can peg core 0 when dealing with a bunch of tiny C/C++ implementation files. I don't think I'd get nearly the performance otherwise.
So I know where the money went, and I'm happy. Love these drives.
I'm glad you got your machine back online. System drive failures are scary.
To err is human. Fortune favors the monsters.
|
|
|
|
|
I was tempted to get the 990, but I read several reviews that the 990's performance started to degrade soon after deployment. I would love to hear from you in due course, whether you had the same experience!
Get me coffee and no one gets hurt!
|
|
|
|
|
Yeah, I read that too.
I also read the same thing about their 980 drives
So considering how many people on the internet are full of excrement, and get paid to fling said excrement I don't give those reviews much stock.
To err is human. Fortune favors the monsters.
|
|
|
|
|
I will from time to time check the performance of my 980s. I may upgrade to a 990 at a future date. I love the speed of these drives!
Get me coffee and no one gets hurt!
|
|
|
|
|
|
thanks
To err is human. Fortune favors the monsters.
|
|
|
|
|
I also have a year old XPS with a nice RTX 3050 and I'm planning to add additional NVMe drive. The only thing that holds me back is I'm afraid from opening it - so many screws. So far, the only intervention with the BIOS I've done is changing keyboard lights - now the keys are lit indefinitely.
Advertise here – minimum three posts per day are guaranteed.
|
|
|
|
|
I am currently picking up an old project of mine which is basically a parser for a relatively basic code syntax for industrial automation. This is the first time I've used C# for real in many years and I've switched to VC2022, dotnet 4.8
The amount and quality of auto-complete and tab completion suggestions is... scary.
To my surprise, the C# IDE understands what I am doing well enough that it literally suggested this line of code for tab completion after I typed 'if'
if((index >= range.Start) && (index < range.End))
I've been coding all day and it doesn't always make suggestions but when it does, they are almost always very close to what I wanted.
|
|
|
|
|
Yes, it's stunning. And also when I'm manually refactoring (meaning not search & replace) something with a repetitive change, it realizes what I'm doing so when I mouse over the next piece of code I need to change, it's often blocked in red and all I have to do is hit tab to accept the refactoring change.
If you wonder why I don't just do search&replace for this kind of change, it's weird, it give my brain some breathing room to consider the question "does this change actually make sense?" There are times when I realize, nope. Ctrl+Z time, lol.
One amusing note. I type so fast that often the IDE makes the correct suggestion but I'm typing furiously so I see the suggestion flash by. At which point I delete the few extra characters and start over, more slowly, so I can just hit Tab. Not sure that's very productive.
|
|
|
|
|
Get the heck out of my head.
I could have written your post.
To err is human. Fortune favors the monsters.
|
|
|
|
|
Marc Clifton wrote: If you wonder why I don't just do search&replace for this kind of change, it's weird, it give my brain some breathing room to consider the question "does this change actually make sense?" There are times when I realize, nope. Ctrl+Z time, lol. Ditto! Some times a global search-n-replace will do exactly what is needed, but other times? In carpentry the rule is "measure twice, cut once". In IT it should be "think twice, change once".
Ctrl-Z works ... IF the problem is caught soon enough.
|
|
|
|