|
1. The lounge is for the CodeProject community to discuss things of interest to the community, and as a place for the whole community to participate. It is, first and foremost, a respectful meeting and discussion area for those wishing to discuss the life of a Software developer.
The #1 rule is: Be respectful of others, of the site, and of the community as a whole.
2. Technical discussions are welcome, but if you need specific programming question answered please use Quick Answers[^], or to discussion your programming problem in depth use the programming forums[^]. We encourage technical discussion, but this is a general discussion forum, not a programming Q&A forum. Posts will be moved or deleted if they fit better elsewhere.
3. No sys-admin, networking, "how do I setup XYZ" questions. For those use the SysAdmin[^] or Hardware and Devices[^] forums.
4. No politics (including enviro-politics[^]), no sex, no religion. This is a community for software development. There are plenty of other sites that are far more appropriate for these discussions.
5. Nothing Not Safe For Work, nothing you would not want your wife/husband, your girlfriend/boyfriend, your mother or your kid sister seeing on your screen.
6. Any personal attacks, any spam, any advertising, any trolling, or any abuse of the rules will result in your account being removed.
7. Not everyone's first language is English. Be understanding.
Please respect the community and respect each other. We are of many cultures so remember that. Don't assume others understand you are joking, don't belittle anyone for taking offense or being thin skinned.
We are a community for software developers. Leave the egos at the door.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
modified 16-Sep-19 9:31am.
|
|
|
|
|
Played: 105
Win : 99%
Current streak: 30
Max streak: 43
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I got no stats. Because I am not Wordling!
|
|
|
|
|
Come to the Dark Side: we have cookies!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
All this IoT coding without a debugger has totally leveled me up.
I've got a guy using my GFX library, who ran into two major issues with it.
First one I tracked down took me under 5 minutes.
It was a signed unsigned mismatch buried in this file: gfx/gfx_open_font.cpp at master · codewitch-honey-crisis/gfx · GitHub[^]
I jumped right to it, based purely on a value I got back from a single call, with the problem being clear down the call stack. I actually kind of astonished the person I was helping.
Second one was today. He was crashing after hours of running. Immediately I tracked the crash and found out it was due to heap fragmentation. Not even a problem with my code. Found it in under a minute.
I'm getting *really* good at this. I almost don't even need my exception decoder.
To err is human. Fortune favors the monsters.
|
|
|
|
|
|
Wordle 334 6/6
🟨⬜⬜⬜⬜
⬜🟨⬜⬜⬜
⬜🟩🟩⬜⬜
🟨🟩🟩⬜⬜
⬜🟩🟩🟩⬜
🟩🟩🟩🟩🟩
Just made it.
|
|
|
|
|
Wordle 334 5/6
🟨🟨⬜⬜⬜
⬜⬜⬜⬜⬜
⬜⬜🟨⬜⬜
⬜🟩🟩🟩⬜
🟩🟩🟩🟩🟩
Keep forgetting about repeated letters.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Wordle 334 5/6
🟨⬛⬛⬛⬛
⬛🟩🟩⬛⬛
⬛🟩🟩⬛⬛
🟨🟩🟩⬛🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Close. Very close:
Wordle 334 5/6
🟨⬜⬜⬜🟩
⬜🟨⬜🟨🟩
⬜🟩🟩⬜🟩
⬜🟩🟩🟨🟩
🟩🟩🟩🟩🟩
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 334 5/6
⬜⬜⬜⬜🟩
🟨🟩⬜⬜⬜
⬜⬜⬜⬜⬜
🟩🟩🟩⬜⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Imagine this: you have a piece of square stock wood: 4x4 say.
You want to cut it so that the square profile becomes an octagon.
So you tilt your table saw to 45o and move your fence across so that a single pass will cut off a triangular corner. You can then pass each side against the fence and voila! (Or possibly violin.)
The question is "how far should the fence be from the cutting edge of the blade?".
I did this this morning: I measured the stock, subtracted a bit under 4 cm, set my fence and cut a test piece.
It was spot on, each of the eight edges was the same length (with marginal variation because the stock wasn't exactly square but close enough) and I moved on.
Except I've been sitting here trying to work out the geometry, and just how I got my number from the original side length. And I have no idea how the heck I did it, because I didn't use geometry, I didn't use a calculator, and it's the first time I've done this. I just went "oh, it's 9.3cm, so I want 3.8cm edges, that's 6.5cm from the blade edge". And I was right.
But it's doing my head in trying to work out how I knew what the numbers were ... and why I was right first time ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Cos you're inspirational and clever
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
Says a man who has never met me ...
My brain is screaming "0.707" at me, which is half root two, so it's probably bloody obvious Pythagoras, but I'm damned if I can see it. Or do square roots in my head.
I suspect this is going to keep me awake tonight.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I had a professor many moons ago, when he couldn't readily explain a particular step of a mathematical proof, would say with a smirk,
"it's IOTTMCO!" (Intuitively Obvious To The Most Casual Observer), and he'd move on.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Draw as square. Now draw a 45 degree diagonal across a corner. The lengths of the triangle sides are 1, 1, sqrt(2). That hypotenuse has to be the same length as the edge of the square timber that does not get sawn off. So, in terms of the corner you saw off, the length of a given side is 2+sqrt(2) units. That means for a 4" square timber, your diagonal cuts need to be made approximately 1.17" from the edge. This gives a side of your octagon of about 1.65 inches. e.g 1.17 + 1.65 + 1.17 = 3.99
Keep Calm and Carry On
|
|
|
|
|
I created a demo project named as BarEngineChart01. when I build it into .exe, my internet security software regards this exe as malware and deleted it. it triggered a full scanning and reboot.
what is the safe name for me to name my project?
diligent hands rule....
|
|
|
|
|
'KillerVenenum' ?
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
I don't think your IS detects it because of the file name.
Check your .exe at
VirusTotal[^]
and keep us posted about the result.
|
|
|
|
|
it is. this case happened several times.
I used Kaspersky suite...
diligent hands rule....
|
|
|
|
|
It seems You do not want to understand.
Your IS may detect it because it is a new file and it has no rating for it or because of suspect behavior or something else.
The name itself is not the reason - but the content of the file may be suspect for your IS.
Rename it and you'll know it.
And scan it at VT as suggested before.
|
|
|
|
|
renaming it does not help. I tried this way and it triggered disinfect and need to restart my computer...
I did some research and want to try this solution at the link.
diligent hands rule....
|
|
|
|
|
The poster didn't say that renaming the file would fix it, the poster said that the name of the file makes no difference and is not the reason it's being flagged.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
here is the message I quote from stackoverflow:
Quote: Kaspersky it's using the heuristic scan, a technology which checks the code behind for the patterns. Some pieces of the code they are used in the malware programs and it gonna say that they are viruses. I remember that once I've created a service to insert some MySql data for wordpress, he said it's a virus, another time used a geojson to draw a map and it was saying that it's a virus when I've added a piece of code to draw for each city a dot.
it hints that more dots can be suspicious...
diligent hands rule....
|
|
|
|
|
Go into your AV software, and set your programming directory to not be scanned. That's what I had to do when I had Norton. Don't know about Kaspersky.
|
|
|
|