|
Add a mapping layer in the C# code so that certain file extensions/matches deposit to different locations in the IoT file system.
Generic regex rules.
Add a debug option that displays the transfers that would occur.
Demo app for the device could be a rotating photo display.
|
|
|
|
|
There is no filesystem on the widget, but there is an SD card writer. Problem is transmitting over CDC USB Serial and then over 1 wire SPI to the SD card will be dog slow, so it's not much of an option as a "fancy jump drive with a screen"
rotating photo thing is what i think ships with the stock firmware for the device I'm currently using. I think I'd like to cover new ground.
I mean, i can show file content previews of the currently selected file in explorer potentially but to what end?
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
If the transfer is slow, then creating a batchable transfer might be useful. Setup a batch, then go eat your lunch.
Without the IoT, I have utilities that convert selected items to text lists in files and the clip board via Windows SendTo folder. It is a much simpler technique.
Didn’t you do some work with ZIP formats? Fonts? SVG? Combine this?
Good luck figuring it out.
Maybe adapt it for a different target device?
|
|
|
|
|
If you're showing "file atributes", I'd expect to see the file size (KB) and the last modified date also.
From there you go to: create date; image dimensions; size of file vs size on disk; etc.
A "file attribute" popup.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
Hey, I think it would be very useful if it calculated the MD5 hash.
And if it's an executable file, if it told whether the file is a 32-bit or a 64-bit executable, that would also be useful.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
The app should just read the filename and do it. For example:
Filename: WakeUp.txt - the IoT should activate a soft velvet fan to sway on the head, with a soft music, for waking up gently from bed.
Filename: Sleep.txt - the IoT should switch off all the lights in the house, and more importantly, switch off the internet router (don't want notification disturbances when I'm sleeping), for the night (and switch on at say, 6 am).
Additional functionality needed for the above - is a kind of cron job. And something more than just an LCD screen.
And so on for the daily chores. What others?
modified 13-Nov-23 2:53am.
|
|
|
|
|
As a slight modification to this idea, make the IOT device configurable to look in a specific subdirectory rather than the currently selected file in Explorer, and give it the ability to recurse the files in it. Each file may be a separate XML or other data structure, that tells the IOT device to do things it is capable of. Kind of like .BAT files of the past.
|
|
|
|
|
honey the codewitch wrote: Any of you have ideas?
lol....
Classroom.
Every students computer has the tiny display facing the teacher. So the teacher can make sure they are messing with what they should be and staying away from what they shouldn't.
Consider it as the teacher wanders around the room aimlessly.
|
|
|
|
|
|
The man is talented and he can sure play the blues.
Met him back in early 80s at a night club I was working, awesome gentleman.
As the aircraft designer said, "Simplicate and add lightness".
PartsBin an Electronics Part Organizer - Release Version 1.3.0 JaxCoder.com
Latest Article: SimpleWizardUpdate
|
|
|
|
|
Mike Hankey wrote: The man is talented and he can sure play the blues. Who? Chuck Berry, Bruce Springsteen or Michael Fox?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Richard Andrew x64 wrote: Who? Chuck Berry, Bruce Springsteen or Michael Fox?
Yes
As the aircraft designer said, "Simplicate and add lightness".
PartsBin an Electronics Part Organizer - Release Version 1.3.0 JaxCoder.com
Latest Article: SimpleWizardUpdate
|
|
|
|
|
wiseguy
EDIT: Mike, did you mean that you were referring to all three of them?
The difficult we do right away...
...the impossible takes slightly longer.
modified 12-Nov-23 12:58pm.
|
|
|
|
|
Chuck Berry had originally wanted the lyrics to be a "colored boy named Johnny B. Goode", but the tenor of the times would not allow it, so it got turned into "country boy ...".
|
|
|
|
|
I always pictured it that way, even with country boy.
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
I’m begging you for the benefit of everyone, don’t be STUPID.
|
|
|
|
|
Mahogany Rush - Wikipedia[^] Also, did a smokin' version of this tune.
Johnny B. Goode (Live) - YouTube[^]
"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
|
|
|
|
|
I was at the concert for the rock hall when it opened in Cleveland in 1995. We had a membership to the rock hall before it opened so we got tickets that way, and also got to go to the hall on opening day.
It is an awesome place and anyone who is even remotely interested in the history of pop music should go there and see it!
|
|
|
|
|
#Worldle #659 1/6 (100%)
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
easy
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I want to write a medium sized project for Windows and I am considering the following options:
A: Write it in JavaFX, which means I will end up with a standard Windows MSI installer that will install a native Windows exe.
B: Write it in Kotlin which means I will end up with a Java Jar file that will run under Java on my Windows rig.
I am not really interested in C# as I got bored with it.
The question is: Which option will perform best speed wise? Any ideas out there?
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
I predict the C# version will perform best.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
There's always assembler if you're really bored.
As the aircraft designer said, "Simplicate and add lightness".
PartsBin an Electronics Part Organizer - Release Version 1.3.0 JaxCoder.com
Latest Article: SimpleWizardUpdate
|
|
|
|
|
I don't have that long to live to work in Assembler!
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Good answer Mike
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
|
|
|
|
|
Sometimes I play the "Dutch"; or I play the "Germans"; or the Spanish ... when I play video games.
In terms of "what language shall I use today", it's just not a question that comes up.
One can be a "general" or a specialist.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
You'll have to try both. Then let us know.
modified 12-Nov-23 21:52pm.
|
|
|
|