|
Wordle 1,009 4/6
⬛🟨🟨⬛🟨
⬛🟨🟨🟨🟨
🟨🟩🟩🟩⬛
🟩🟩🟩🟩🟩
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,009 5/6*
⬛🟨🟨⬛🟨
⬛🟩🟨🟨⬛
🟩🟩⬛🟩⬛
🟩🟩🟩🟩⬛
🟩🟩🟩🟩🟩
|
|
|
|
|
Update: I made a solution by extracting the deflated stream from the zip using a utility I wrote, and then working with that stream instead of the entire zip contents. The whole mess is here.[^]
I just made a stupid. I spent a lot of time and effort getting an ESP32 widget to be able to update its firmware from a .zip file only to realize - after I got it all working - that zip files aren't practical for this, because they store all the information you need first at the END of the file. So you can't stream it over a serial port without reading the whole damned thing first, which isn't practical on this device. I got as far as emailing a colleague about it, producing a github repo and beginning to write an article here before it dawned on me.
Hours I can't get back. Oh well, you can still use the tech from something like an SD card.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
modified 24-Mar-24 12:08pm.
|
|
|
|
|
I believe in you. You can make it work.
|
|
|
|
|
I can, just not with the .zip file format.
Which I should have known upfront, considering I wrote the code the parse the format.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Stream it in reverse!
"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!
|
|
|
|
|
Can you somehow do a 'pre-zipper' that determines that information and redundantly stores it at the beginning of the file somehow?
|
|
|
|
|
What I can theoretically do is extract the compressed stream from the zip, store that, and just decompress that.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
What you probably need is a stream encoder like ALDC. I see there is a C implementation[^] for it but I don't know if it will fit your needs.
Mircea
|
|
|
|
|
I just extracted the compressed stream and used that.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Why not zip each file individually and group of small files as 1? 🤔
Graeme
"I fear not the man who has practiced ten thousand kicks one time, but I fear the man that has practiced one kick ten thousand times!" - Bruce Lee
|
|
|
|
|
I did. The central directory for a zip file is at the end of it, regardless of how many files are in the archive.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
this error run my project
"
System.NullReferenceException: 'Object reference not set to an instance of an object.'
System.Data.DataTableCollection.this[string].get returned null. "
Pls help fixed my error
|
|
|
|
|
The lounge is not a place for asking such questions.
|
|
|
|
|
Aso PIEBALDconsult said, this should be asked in the proper place: Ask a Question[^]
But ... we can't solve it from that single line of code because it's not the source of your problem. Let me just explain what the error message means: "You have tried to use a variable, property, or a method return value but it contains null" - which means that there is no instance of a class in the variable.
It's a bit like a pocket: you have a pocket in your shirt, which you use to hold a pen. If you reach into the pocket and find there isn't a pen there, you can't sign your name on a piece of paper - and you will get very funny looks if you try! The empty pocket is giving you a null value (no pen here!) so you can't do anything that you would normally do once you retrieved your pen. Why is it empty? That's the question - it may be that you forgot to pick up your pen when you left the house this morning, or possibly you left the pen in the pocket of yesterday's shirt when you took it off last night.
We can't tell, because we weren't there, and even more importantly, we can't even see your shirt, much less what is in the pocket!
Back to computers, and you have done the same thing, somehow - and we can't see your code, much less run it and find out what contains null when it shouldn't.
But you can - and Visual Studio will help you here. Run your program in the debugger and when it fails, it will show you the line it found the problem on. You can then start looking at the various parts of it to see what value is null and start looking back through your code to find out why. So put a breakpoint at the beginning of the method containing the error line, and run your program from the start again. This time, the debugger will stop before the error, and let you examine what is going on by stepping through the code looking at your values.
But we can't do that - we don't have your code, we don't know how to use it if we did have it, we don't have your data. So try it - and see how much information you can find out! This is one of the most common problems we get asked, and it's also the one we are least equipped to answer, but you are most equipped to answer yourself.
"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 watched just one Korean TV series* and suddenly it's recommending Japanese animations (with English subtitles) and Filipino Tearjerker dramas.
Don't really understand why, but it smells a bit racist - as if Netflix is assuming that "Korean == Asian == Japanese == Filipino == Chinese" which is total bs.
* "The Silent Sea" - dubbed into English with subtitles for the Korean language bits. Not bad at all, well acted for the most part and sufficiently suspenseful.
"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 Silent Sea is excellent. I suspect you are seeing suggestions based on what others viewed afterwards. It's probably not anything more sinister than that.
|
|
|
|
|
It was indeed - but the depressing thing is that if you Google for "The Silent Sea Series 2" The "People also ask" section has the question: Quote: Is The Silent Sea movie based on a true story?
"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!
|
|
|
|
|
Respectfully, the racism might be in your head, not the algorithm. What if it thinks, "he's interested in east Asian culture?"
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Unconscious bias? It's possible. I'm normally pretty careful to avoid that - for example I don't look at who wrote an article / question / solution here before deciding if it's acceptable when moderating so no unconscious bias on my part would influence my decision.
Even then, Korean culture is wildly different from Japanese, which is at all nothing like Chinese!
"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!
|
|
|
|
|
Ideally, the recommendation algorithm should recommend other Korean series (of the same genre) based on what you just watched. The recommendation should also take into account your demographics and age: Elderly gentlemen usually do not watch Japanese animation.
Hey, Netflix, do you wanna hire me as your recommendation engineer? Do I have what it takes to be? Ans: Yes, I have common sense.
modified 23-Mar-24 22:03pm.
|
|
|
|
|
The demographics would be wrong then. I know a lot of people, my age, who are really into anime. I regularly recommend Attack On Titan to people, for instance.
|
|
|
|
|
|
Older than many of the users here, but not as old as the green little man in his profile pic.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Definitely in the older person category. Put it this way, I was old enough to see ACDC with Bon Scott.
|
|
|
|