|
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.
|
|
|
|
|
Especially when the only Japanese you know is "もし もし。 瑠璃子 です か"*
* "Moshi moshi. Ruriko desu ka?" or "Hello. Is Ruriko there?"
My Japanese girlfriend taught me that four decades ago so that I could call her when she went back to Japan. Unfortunately she didn't teach me what any of the likely responses might be / mean so it's wasn't any real use ...
"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've been on a Chinese Kung Fu drama series binge since last year. Grew up on the movies and decided to watch all their latest shows on YouTube. Very good!
|
|
|
|
|
I've been complaining about the Netflix algorithm for years. One time I watched this dramatic movie where a Father slowly and tragically died, and Netflix goes, "since you liked that, do you want to watch Adam Sandler's Grown Ups?"
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Try Prime instead - their algorithm recommends things it thinks you might be interested in which you've either already watched, or already have on your watch-list.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I'd noticed that myself.
"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!
|
|
|
|
|
To me, it looks Netflix pretty much figured out how your brain works
|
|
|
|
|
Trying to learn the Z80 CP/M 2.2 ED editor.
We take the power and flexibility of out current editors for granted.
40+ years ago I started my programming career on Apple IIe and it had a similar editor that at the time was state of the art but looking back now I wonder how the hell I ever got anything done.
Bob Dylan - The Times They Are A-Changin' (Official Audio) - YouTube[^]
Definition of a burocrate; Delegate, Take Credit, shift blame.
PartsBin an Electronics Part Organizer - Release Version 1.3.1 JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|
Wordstar, man! Everybody switched to Wordstar!
Mircea
|
|
|
|
|
True, but trying to find a way to transfer .asm files to cpm CF card and assemble them on the device so I can develop on my PC upload the file.
Definition of a burocrate; Delegate, Take Credit, shift blame.
PartsBin an Electronics Part Organizer - Release Version 1.3.1 JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|
Interesting project you have! I suppose you've looked into using Kermit for data transfer.
Mircea
|
|
|
|
|
I have, but I've spent a lot of time getting the device configured, CPM loaded, CF card initialized and stabilizing everything.
I spent way to long on a problem with a DS1233 (Supervisory Circuits 5V EconoReset), it was holing the reset line low and when I touched certain parts of the board the SIO would output the startup message but after stopped. So I replaced the DS device with a 10K pullup resistor and it works just fine now. But not being an electronics guru it took some time to trace down.
Definition of a burocrate; Delegate, Take Credit, shift blame.
PartsBin an Electronics Part Organizer - Release Version 1.3.1 JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|
I used to write COBOL using that - you had to be careful not to use tabs as it sent the compiler (Microfocus) crazy.
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
|
|
|
|
|
Used it only a little on CP/M and hated every moment of it. My colleagues were raving about it but I just couldn’t stand it and its silly control keys for cursor movement.
Mircea
|
|
|
|
|
After using edlin it was bliss
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
|
|
|
|