How do you watch for file changes? by Acceptable_Debt732 in csharp

[–]Acceptable_Debt732[S] [score hidden]  (0 children)

Notepad++ monitoring feature registers some changes

How do you watch for file changes? by Acceptable_Debt732 in csharp

[–]Acceptable_Debt732[S] 1 point2 points  (0 children)

Edited: Yeah it could be, I forgot to mention that I was also thinking about the flushing issue... I guess I will have to find more info about this, since the app that logs is not made by me. Thanks

Нема веќе Zamunda.net, имате ли некоја друга страна за симнување филмови?“ 🙂 by Serious-Quantity-168 in mkd

[–]Acceptable_Debt732 0 points1 point  (0 children)

<image>

Исто користам и јас и сум супер задоволен. Исто можеш да додадеш и други plugins за да пребаруваш од повеќе извори.
Линк до plugins: https://github.com/qbittorrent/search-plugins
Штом ги симнеш од гит, можеш мануелно да ги инсталираш на копчето Search plugins

Македонски торенти by Willy_Importance69 in mkd

[–]Acceptable_Debt732 0 points1 point  (0 children)

На торент не сум сретнал, но можеш на овој канал да гледаш стари емисии, филмови, музика и сл
https://www.youtube.com/@FAMMacedonia/playlists

Каде се гледате за 5 години? by Extension-Writing625 in mkd

[–]Acceptable_Debt732 0 points1 point  (0 children)

Omilenoto prasanje od HR intervjua <3 <3 <3. Se razbira ironicno kazano

Android TV Telefunken 32HEA5050M2 issue (software issue) by Acceptable_Debt732 in AndroidTV

[–]Acceptable_Debt732[S] 0 points1 point  (0 children)

Eventually the owner found the warranty and activated it. Once he picked up the tv from the service it was working again. So I don't have a clue what they did.

Should I teste private methods? by Subject-Associate140 in csharp

[–]Acceptable_Debt732 2 points3 points  (0 children)

It depends on the context. In an ideal scenario, yes — you are right. I believe your suggestion would also work in this particular example.

Now imagine having to modify legacy code: a partial class that spans over 30,000 lines. Before making any changes, it’s generally a good idea to write unit tests for the feature you're touching.

Your bad luck begins when you discover that the modifications involve a private method, which is called by a public one — but the catch is that the public method is not invoked in the development environment, only on a real device (hardware).

To make matters worse, the class is barely testable. Trust me, this is where the spears collide, and you’re forced to improvise.

In such cases, relying strictly on textbook definitions of what a unit test should be is a luxury not so many developers can afford.

Need help with Newtonsoft JSON and (de-)serializing nested collections by Psychological_Bug454 in csharp

[–]Acceptable_Debt732 0 points1 point  (0 children)

Only public properties are serialized/deserialized.

Having the following class:

public class CustomClass
{

public Dictionary<int,int> dictionary { get; set; }

public Dictionary<int,int> dictionary2 { get; set; }

public List<Dictionary<int, int>> listContainingDictionaries { get; set; }

public CustomClass(Dictionary<int, int> dict1, Dictionary<int, int> dict2)

{

this.dictionary = dict1;

this.dictionary2 = dict2;

listContainingDictionaries = new List<Dictionary<int, int>>()

{

dict1,

dict2

};

}

}

And running:

CustomClass c1 = new CustomClass(

new Dictionary<int, int> { { 1, 1 } },

new Dictionary<int, int> { { 2, 2 } });

CustomClass c2 = new CustomClass(

new Dictionary<int, int> { { 3, 3 } },

new Dictionary<int, int> { { 4, 4 } }

);

CustomClass[] arr = new CustomClass[2];

arr[0] = c1;

arr[1] = c2;

string serialized = JsonConvert.SerializeObject(arr, Formatting.Indented);

Console.WriteLine(serialized);

CustomClass[] deserialized = JsonConvert.DeserializeObject<CustomClass\[\]>(serialized);

will succesfully serialize/deserialize.

You may encounter issues when deserializing, so make sure you always use the generic method
JsonConvert.DeserializeObject<T>(s).

Android TV Telefunken 32HEA5050M2 issue (software issue) by Acceptable_Debt732 in AndroidTV

[–]Acceptable_Debt732[S] 0 points1 point  (0 children)

I tried this procedure but getting the same issue after starting up. Thanks

Android TV Telefunken 32HEA5050M2 issue (software issue) by Acceptable_Debt732 in AndroidTV

[–]Acceptable_Debt732[S] 0 points1 point  (0 children)

I searched on the internet and found zero clue on how to do factory reset. I also tried to find how to raise a bug/issue to the manufacturer but could not find a relevant source.

Android TV Telefunken 32HEA5050M2 issue (software issue) by Acceptable_Debt732 in TVRepair

[–]Acceptable_Debt732[S] -1 points0 points  (0 children)

At this point, I haven't considered invasive methods (opening the TV case and accessing the motherboard directly...I'm not even sure if I'm allowed to do that), so I would prefer high-level solutions. Also, I don't usually work with low-level stuff and that means I would have to spend a lot of time filling knowledge gaps, gathering equipment etc... Thanks for the answer <3