|
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.
|
|
|
|
|
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.
|
|
|
|
|
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.
|
|
|
|
|
|
|
Just remember, it's only in math classes where you can buy 64 watermelons and no one wonders why.
|
|
|
|
|
So Doordash has no security is the lesson I received from this.
|
|
|
|
|
I never liked it when my wife let the kids play games on her phone, when they were young. Thankfully, no one ordered a bunch of Micky D burgers. Yikes!!!
Years ago, my SIL's son downloaded and played a video game on her phone, racking up over $800 on in-game purchases. I was laughing for weeks at that one.
|
|
|
|
|
|
So I have an app that's designed to run on a piece of hardware intended for musicians, who are not tech savvy.
They also use equipment that can produce corrupt files, although that's not exceedingly common.
My software boots and reads an inserted SD card. Currently during this process it loads each MIDI file and scans through its entire contents to determine if its valid before adding it to the list of available files. That way, corrupted files do not appear in the list. It also means I can display more information about each file.
Once loaded, you scroll through the file list with a small rotary encoder (a knob basically for those of you that don't know what one is)
The issue is this: The title screen can take some time to load. It's not terrible with a dozen files, but more than that and it starts to be like "hurry up!"
Couple this with the difficulty of scrolling through a ton of files with just a knob.
I'm thinking this is okay. Basically, don't put 100 files on an SD card. What do you think?
To err is human. Fortune favors the monsters.
|
|
|
|
|
Do not wait for the scan to finish all the files. When one scanned add it to the list and to the screen (scroll in the new ones)
It probably will take more time to finish the scan but the end user will not wait on empty screen
As for the knob - IMHO it is much better than push buttons...
“Real stupidity beats artificial intelligence every time.”
― Terry Pratchett, Hogfather
|
|
|
|
|
That's an interesting idea. I'll consider it. My main concern with it is if the list isn't done loading it will be hard to tell when it's done and you've reached the end or if there's more to go. I guess I can squeeze an indicator on there but the screen is very small.
Also it displays only one file at a time due to the size of the screen, and displaying information about each file, so there's no "list" to scroll. Plus scrolling is out of the question for performance reasons the way these little gadgets work.
To err is human. Fortune favors the monsters.
|
|
|
|
|
The indicator is very important for perceived performance - if you can quickly count the files, I assume you can even show a percentage or similar?
Maybe if you detect more than a reasonable amount of files, you can start by displaying a text saying "This will take a long time, do you want to continue" (well, something shorter probably). If you are really fancy, you can start the loading in the background while displaying the message so the time until they react (if they react) is not wasted. If they just insert the SD card and throw it on the table without paying attention - at least it will then have finished loading when they come back from lunch instead of just sitting waiting for them to press the button.
|
|
|
|
|
Yeah I probably could put an indicator. Do you want to continue is a little tricky, as taking input is always a bit involved when you're dealing with limited user input devices.
To err is human. Fortune favors the monsters.
|
|
|
|
|
"Click to continue". It's not like saying "no" really means anything they can't express by taking out the SD card. The important thing is that they are told what they can do to avoid it being so slow. Do not expect users to think twice about filling an SD card with old data if you do not tell them the problems it will give.
|
|
|
|
|
Maybe add a button and use a tree structure for the files, where you can drill down into; (and I don't know a damn thing about it...but)
drum beats
chill
jazzy
moody
etc.
The most expensive tool is a cheap tool. Gareth Branwyn
JaxCoder.com
|
|
|
|
|
That's not possible. MIDI files aren't classified that way, and to impose such a structure would require the user to do so in some way, such as using folders. I'm not scanning subfolders due to the complexity, primarily of navigating folders using nothing but a button and rotary encoder. This isn't for tech savvy folks.
To err is human. Fortune favors the monsters.
|
|
|
|
|
Gotcha, only other way would be paging.
The most expensive tool is a cheap tool. Gareth Branwyn
JaxCoder.com
|
|
|
|
|
My current solution is to simply make the user wait to load it all. It doesn't handle a lot of files really well anyway because it has to load them all into memory first. The reason is the rotary encoder can be turned much faster than the SD card reader can read file info. So I have to prefetch everything. I have about 320kB free at that point, so it's not terrible, but it can't be excessive.
So my current idea is - MIDI files in the root directory only, and then just don't put a ton of them there.
It's actually better to use multiple SD cards. If you only have one file on it it will load it automatically so you can punch sets in an out.
To err is human. Fortune favors the monsters.
|
|
|
|