|
Wordle 485 3/6
β¬π¨β¬β¬β¬
π©π©π©β¬β¬
π©π©π©π©π©
Get me coffee and no one gets hurt!
|
|
|
|
|
In an effort to procrastinate real work I am stuck on - because I am responsible like that - I've been working on revamping the emulator on the ESPlay Micro V2 - Handheld ESP32 Game Console | Makerfabs[^]
The original firmware used nofrendo for NES emulation but unfortunately it worked using the ESP-IDF which gets worse framerates than the Arduino framework on the ESP32 platform. It also froze on the start screen of Super Mario Brothers 3 for some reason, which was unacceptable.
I ported what I believe is newer version of nofrendo already prepped for Arduino, and interfaced it with the ESPlay hardware.
The trick was that last bit, as the hardware for this device is not documented well at all, forcing me to reverse engineer the stock firmware.
It has taken me 2 days, but now I have everything but sound and the onscreen menus. The menus are non-trivial and may require me to modify the guts of nofrendo. I'm not sure.
One thing I may do is put a preview screen to the right of the file/ROM selection menu. It will run the starting screen of the currently selected game, in a small window (by cutting half the pixels horizontally and vertically - I don't have enough CPU heft to do linear interpolation much less bicubic filtering.
That would be trick, but difficult to pull off. I guess I have a lot of stuff to keep me occupied until I want to tackle the paying work.
But I am thrilled that I got proof of life. It has been heckin' heck getting this far.
To err is human. Fortune favors the monsters.
|
|
|
|
|
Greetings This is off topic but still wish to speak to you regards i.e. to wit to be specific namely in particular I recently purchased a macro-keypad but have some difficulty recalling witch key is bound to witch macro. Feedback upon finger hovering and keypress would be helpful via perhaps audio and/or display via on board resources as I dislike utilizing/interrupting/draining/ main computer resources by external devices. As you are the only hard-aware person I know of I inquire if you consider this a useful or worthy project for yourself. Thank You Kindly
|
|
|
|
|
I'd need to know quite a bit more about what you have and what you're trying to do before I could know if I could help.
To err is human. Fortune favors the monsters.
|
|
|
|
|
I have the macro-keypad link below however I do not expect it to be modifiable but rather am wondering if constructing a proper macro-keypad would be of interest to yourself namely fully programmable w/ feedback as mentioned or other feedback you would consider superior. I do not know if you are familiar w/ programmable macro-keypads. Some have limited programmability some have more. Some provide lighted keys. This one does w/ a surprising amount of programmability to the light display which I have little interest in. The colors though provide some feedback re/ purpose. I utilize red for cut/delete operations green for paste/insert and yellow for copy as can be seen via Dropbox link below. As for programmability this keypad only permits one control key + one other key for a macro. Any number of keys would be preferable. I am not certain but some keypads may permit mouse clicks also. Real time programmability would be very nice also just as in a text editor e.g. NotePad++. There are many other features I believe a keypad should have but you no doubt have better things to do than engage in my whims. I apologize for needlessly inflicting this on you. However I thank you for your kind response.
https://www.amazon.com/12-Mechanical-Programmable-Swappable-Keyboard/dp/B09NRQQFHW/ref=sr_1_28[^]
https://www.dropbox.com/s/1gs1n7itutb28ut/Macro%20Keypad%20Toy.JPG?dl=0[^]
|
|
|
|
|
You could just use any USB keypad, wire it through Prang Prang Once Again[^]
Modify the firmware to intercept keystrokes, and replace them with your own. That's probably what I would do.
To err is human. Fortune favors the monsters.
|
|
|
|
|
The sockets on my UPS and I assume all others are too close together to accommodate the use of multiple USB/AC Mains Plug adaptors inserted next to each other as these USB/AC Mains Plug adaptors are overly wide. Does anyone know of an adaptor which can be plugged into say a 9 (my USB) socket linear array of AC Mains sockets but which presents the same number only more widely spaced? I assume this is a common problem but did not find solution via web. Thank You Kindly
|
|
|
|
|
Here's your solution:
Short Extensions[^]
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Super Duper! Thank You Kindly I never would have thought of short extensions or even considered such existed May You Live Long and Prosper
modified 16-Oct-22 0:50am.
|
|
|
|
|
Glad I could help!
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
what always irritates me is how the a/c power strips have the blades in line with the strip, meaning a wall wart always consumes 2 slots. I know some of the a/c strips have sockets that rotate, but rotation almost doubles the price.
I'm looking down at my power strip with all of those extensions sticking out of it
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.
|
|
|
|
|
|
Why are dogs terrible dance partners?
They have two left feet.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Well, that makes you paws for thought.
"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!
|
|
|
|
|
The celery was unacceptable so I did not turnip for work.
*hides*
To err is human. Fortune favors the monsters.
|
|
|
|
|
It won't help to stay in your root cellar; we WILL dig you out!
|
|
|
|
|
That pun was very corny...
|
|
|
|
|
Oh so bad but a good one too.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Abbott: Did you ever draw a nice fat salary?
Costello: No, but I sketched a skinny tomato.
|
|
|
|
|
lol, A&C are classic.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Not so much a programming question, but more of a what's your opinion / experience on the matter.
So, a customer of mine is importing CSV files through a website, hosted in Microsoft Azure.
The file typically has around 2000 to 2500 lines and 20 to 25 values per line (depending on the type of import).
However, something is currently very wrong in my software or database and more often than not my customer is greeted by a timeout error (well, a "something went wrong" message, because I do proper error handling ).
Last week, it took 17 tries to import one file.
The funny thing is, it ultimately works every time.
Of course it wasn't always like that, but the import table in Azure SQL has over 2 million records now and I need to validate for double records, calculate a couple of other fields for which I need additional data, create some grouped data, etc.
Since I've added some stuff in the past year it's gotten slower and slower.
Not so much an issue in my development environment, but apparently a bottleneck in production.
Good thing they're calling me now that it's out of control, rather than sooner when it was more manageable
Anyway, I've currently got it down to four to six seconds, which is still an eternity I think.
Inserting so many records into the database, as well as fetching a good amount, just takes some time, apparently.
I'm doing everything synchronously (well, async, but waiting) and I haven't checked indexes yet, so maybe I could get it a bit faster still.
Perhaps upgrading my database in Azure could help a bit to.
If I really wanted to, I could make it instant, handle everything async, and give the user live updates.
They've got like five imports a day, so it's not like these five seconds are that big of a deal.
Other than that the system is pretty fast and they're very satisfied
So, for my question, how long should such an action take, according to you?
Is five seconds alright and should I just show a "busy" message, or is five seconds completely unacceptable (considering the scenario)?
|
|
|
|
|
Sander Rossel wrote: Last week, it took 17 tries to import one file.
The funny thing is, it ultimately works every time.
Would dumping it into a blank temp table, then doing the work from there after it is all in make things better? I would not be concerned about 5 to 10 (or even more) seconds for something that takes a lot of background checking.
|
|
|
|
|
David O'Neil wrote: Would dumping it into a blank temp table, then doing the work from there after it is all in make things better? Yeah, something like that would be my "instant" solution.
The UX would be better, but the use case is that they import the file and then immediately work with the transformed data, so they'd be waiting for that in any case.
|
|
|
|
|
I wouldn't waste another minute on this. If one of my DABs was working on it I would redirect them. Find something that run 10,000 a day.
|
|
|
|
|
And if you were me, I'd be out of a job for such short-sightedness.
That they don't use it much does not mean it's not important.
One CSV can result in 16 invoices, no invoices no money...
Now 16 invoices, five times a day, equals 80 invoices and 80 invoices is enough to keep you busy for the day.
Uploading five files should take about five minutes, but right now it takes them half an hour or even longer, and that means other people are waiting too...
So yeah, I am going to "waste" minutes on this vital task that they perform every day and which doesn't work most of the time!
In fact, the client called me twice to tell me this is a top priority and should be fixed ASAP.
|
|
|
|