Search results for query: *

  1. Skydiver

    Question Linux: Socket.BeginReceiveFrom: Seems not working on Linux ... it doesnt Do anything

    Yikes? So you just check-in code into the main branch without testing first?
  2. Skydiver

    Document Scanner in ASP.Net Core MVC

    Is it really for reference? Or is this a case of "gimme-the-codez"?
  3. Skydiver

    Document Scanner in ASP.Net Core MVC

    A scanned document is just an image. Inserting an image into a database table as a blob is simple, but usually not recommended. The usual recommendation is to keep the image file outside of the database in a filesystem, and then have the database point to that file.
  4. Skydiver

    Is Microsoft going to miss another C# opportunity?

    ...of people who learned to program C code using the Turbo C++ compiler? This is perfectly valid C code: #include <stdio.h> #include <malloc.h> typedef struct { int x; int y; } Foo; int main() { Foo * foo = malloc(sizeof(Foo)); foo->x = 19; foo->y = 47; return 0; }
  5. Skydiver

    Is Microsoft going to miss another C# opportunity?

    But that Windows-only dependency is not something due to the language. It's something that is due to the tooling (e.g. only the MSVC compiler supports it). So just need some people to pick up the gauntlet and implement it for the compilers on the other platforms. I do see where you are coming...
  6. Skydiver

    Is Microsoft going to miss another C# opportunity?

    Have you seen C++/CLI and IJW in action? It's not quite the same as what you seem to be asking for in terms of C code, but it does make a lot of C++ code ready to run in a managed .NET environment.
  7. Skydiver

    Integration Clarification and Documentation Request

    Money is money. Every penny counts.
  8. Skydiver

    Trying to code a PHP equivalent of this C# code. Hashing and Signing of a text value

    What happens when you use these instead: openssl_pkey_get_private() and openssl_pkey_get_public() ?
  9. Skydiver

    Trying to code a PHP equivalent of this C# code. Hashing and Signing of a text value

    Perhaps it's the way you are sending the token to the API that is issue, and not necessarily the creation of the token. A quick way to verify if the generated token is correct is to sign the same string both using the C# code and using the PHP code. If the results are different, then it's the...
  10. Skydiver

    Trying to code a PHP equivalent of this C# code. Hashing and Signing of a text value

    I don't know PHP APIs that well. Are you absolutely sure that accessing $certData['pkey'] will give you the private key from the certificate?
  11. Skydiver

    dynamically generate intermediate nodes

    Anyway, what you seem to be trying to do above looks like what is called a "mesh" in game programming. Since Unity is a framework primarily geared towards game programming, there is a very high probability that it already implements a class that supports meshes.
  12. Skydiver

    dynamically generate intermediate nodes

    When you start naming variables with number suffixes, it is often a code smell than indicates that you should be using arrays (or lists). When you start copying and pasting code, it is a code smell that you likely need loops and/or helper functions.
  13. Skydiver

    Integration Clarification and Documentation Request

    Can I design in a 1.5% commission paid to me for every seller and buyer transaction?
  14. Skydiver

    Integration Clarification and Documentation Request

    Your usage description above feels like a first step towards your API documentation. I'm not sure what exactly you are looking for unless you come the old school 80's developers who believe that "the code is the documentation". In that case, this feels more like a gimme-the-codez thread? Are...
  15. Skydiver

    outdated .net version

    IT says that your project targets .NET 6.0 which is no longer supported. You need to change the target framework to the project to something is in support. Probably .NET 8.0 or .NET 9.0. Recall tat .NET 6.0 went out of support this past November 12, 2024. You can see the various framework...
  16. Skydiver

    Tip ExpenseTracker Backend | .NET Core • Clean Architecture • DDD • CQRS • Event Sourcing

    Perhaps I'm missing how your Audit and Expense services are Microservices. The point of a microservice is that everything with it is self-contained and it can be modified and updated independently of other code that is part of the application. But it looks like both of your microservices share...
  17. Skydiver

    cant see sub class properties with base class List

    For reference regarding "composition over inheritance": https://en.wikipedia.org/wiki/Composition_over_inheritance
  18. Skydiver

    cant see sub class properties with base class List

    In the future please post the relevant code here instead of linking to a location that may go away in the future. For reference of people who are too scared to open some random link on the Internet: using listWrapper.a.a; namespace listWrapper.La1.La1 { public class _La1 : List<_a> {...
  19. Skydiver

    Building "Freya": A Comprehensive Guide to Desktop Assistant Development For Intermediate to Advanced C# Developers

    Are you sure that the AppendEncryptedText() works correctly? Trying to decrypt the resulting stream throws an exception: "System.Security.Cryptography.CryptographicException: 'Padding is invalid and cannot be removed.'" Here is some minimal repro based on your code above. using System; using...
  20. Skydiver

    Building "Freya": A Comprehensive Guide to Desktop Assistant Development For Intermediate to Advanced C# Developers

    Looks like your IT professors may have missed that you are re-using the same initialization vector for multiple files. Each file should have it's own IV. https://en.wikipedia.org/wiki/Initialization_vector And IVs don't need to be encrypted or protected. Since your app is Windows centric, you...
Back
Top Bottom