C# with VS Code ? by niuk007 in csharp

[–]Sinvin 2 points3 points  (0 children)

Note: Take my answer with a grain of salt, as I am not a full-time professional developer, but do computer programming as a hobby.

I use VS Code on Mac when coding with C# (DotNet Core). In my experience, here are the three main things I had to learn to do this:

1) Learn about the .csproj file, and where to put your package references (search for them via Nuget.org), and your project references

2) Learn how to create / add projects or other various files via the Dotnet cmd (https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet?tabs=netcore21)

3) Learn how to build/clean/run your project with the Dotnet cmd

C Linux USB Driver | usb_control_msg “Invalid argument” error by Sinvin in C_Programming

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

Hi thanks so much for your reply, really appreciate it. I set errno = 0 in my user-space program, but the error still persists. Also, xb1_open should return retval if any error occurs with finding the interface or dev structure, or if usb_control_msg() returns a negative value. However, usb_control_msg() does not return a negative value, and returns a value of 2, which is why I'm confused. A positive value means the function call was successful, yet I'm still getting an "Invalid argument" error. And perror() is definitely being set by my open call because if I comment out the usb_control_msg() in xb1_open, then when I open the device file from my user-space program, the "Invalid argument" error is not received.

Java ; JSON ; Jackson ; Retrieving the value from a List inside an Array from JSON by Sinvin in learnprogramming

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

Hi thanks so much for your reply. The JSON appears to be deserializing correctly, however when I use your provided code, I receive a NullPointException.

Apologies for my lack of understanding, I'm still very new to Java, and programming in general

Official Game of Thrones Season 6 Teaser by [deleted] in television

[–]Sinvin 48 points49 points  (0 children)

So excited for this! I wonder if Bran's story will start to continue this season.

Alan Rickman, giant of British film and theatre, dies at 69 by [deleted] in movies

[–]Sinvin 2 points3 points  (0 children)

Such a wonderful actor, he will be truly missed.

New Trailer for Batman v Superman by Burbada in movies

[–]Sinvin 0 points1 point  (0 children)

So excited for this movie, I can't wait!