Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 24 23:59
    QuiNz0r opened #281
  • Jul 03 17:03
    poveden commented #279
  • Jun 18 19:31

    Sharparam on 6.0.0

    Disable coverage reports on Tra… Update GitHub target in Cake I… Use Cake in GitHub actions (compare)

  • Jun 18 19:21

    Sharparam on 6.0.0

    Fix invalid table formatting (compare)

  • Jun 18 19:20

    Sharparam on 6.0.0

    Add note in readme about pre-re… Configure indent size for markd… Make top of README prettier and 8 more (compare)

  • Jun 18 18:22

    Sharparam on 6.0.0

    Use dotnet tool version of Repo… Move coverage report generation… Add zip of coverage report and 2 more (compare)

  • Jun 18 16:47

    Sharparam on 6.0.0

    Fix commented code (compare)

  • Jun 18 15:59

    Sharparam on 6.0.0

    Fix old paths in GitHub Actions… Fix parameter parsing in build.… (compare)

  • Jun 18 15:36

    Sharparam on 6.0.0

    Switch to using Cake as a dotne… Use GitVersion as a dotnet tool Use uppercase "V" for verbosity and 5 more (compare)

  • Jun 18 01:14

    Sharparam on gh-pages

    [AUTOMATED] Documentation updat… (compare)

  • Jun 18 01:11

    Sharparam on v6.0.0-rc14

    (compare)

  • Jun 18 01:02

    Sharparam on 6.0.0

    Fix glob pattern in cache key Update artifact paths (compare)

  • Jun 18 00:48

    Sharparam on 6.0.0

    Fix glob paths for artifacts (compare)

  • Jun 18 00:45

    Sharparam on 6.0.0

    Upgrade Travis dist to bionic Enable main GitHub Action workf… Create some artifacts in GitHub… (compare)

  • Jun 18 00:12

    Sharparam on 6.0.0

    Fix caches Remove Coveralls integration Add GitHub Actions workflow (compare)

  • Jun 17 23:58

    Sharparam on 6.0.0

    Handle RC tags in docs script Skip restore when running tests Remove outdated code and 2 more (compare)

  • Jun 17 20:08

    Sharparam on 6.0.0

    Add missing newline Add OldStyle option back to Ope… (compare)

  • Jun 17 20:00

    Sharparam on 6.0.0

    Use Path32 register mode for Op… (compare)

  • Jun 17 19:55

    Sharparam on 6.0.0

    Update OpenCover settings (compare)

  • Jun 17 19:32

    Sharparam on gh-pages

    [AUTOMATED] Documentation updat… (compare)

Adrian
@WolfspiritM
Will try to sync them back to the UI Thread
Adam Hellberg
@Sharparam
not entirely sure how C#/.NET handles event threads
firing an event will run the event handler in its own thread, but how those threads are managed and if they are re-used i'm not sure
maybe we should get jon skeet in here lol
@brandonscott make it happen
Adrian
@WolfspiritM
According to System.Threading.Thread.CurrentThread.ManagedThreadId right before SetKeys it's always the same Thread.
However...I will try a few more things tomorrow. For now I need to go. Thanks for the help! :-)
Adam Hellberg
@Sharparam
always
Adrian
@WolfspiritM
Okay. I tried one last thing...making my color changes in a simple winforms app. I have the same problem there including a repro. That seems to be an issue somewhere deeper. Not sure if in Corale or even deeper in the SDK. Here is my repo: http://pastebin.com/X935yS6E
The funny thing is if you remove or add one Key somewhere...it works again
but as it is there...it only displays parts
Adrian
@WolfspiritM
Okay I fixed it with a change in Colore. I just changed the foreach...SetKey(key, color); in the SetKeys method to foreach..._grid[key] = color; and at the end I'm calling SetGuid(NativeWrapper.CreateKeyboardEffect(_grid)); in the SetKeys method. Prevents creating Effects for every Keychange. Seems like the SDK has troubles creathing effects for every key in some cases.
Bart van Vliet
@Kapulara
Nico
@njbmartin
@Kapulara Can you explain what it is?
Dariusz Niemczyk
@Palid
@Sharparam please opensource your whackamole, same goes for @brandonscott's snake. It would really help everyone using your library, as you lack docs. ;)
Adam Hellberg
@Sharparam
Brandon Scott
@brandonscott
The docs really aren't lacking
They're very good compared to the average
Adam Hellberg
@Sharparam
every single entity in Colore is documented, i fail to see how that constitutes "lacking docs"
Brandon Scott
@brandonscott
I'm reluctant to open source the apps as it opens it up for easy abuse if people want to maliciously attack users.
I know there are some caveats to the above that @Sharparam would say to me.
On my return from holiday I'll write example apps
Adam Hellberg
@Sharparam
it's .net, anyone who wants to "attack users" (whatever that's supposed to mean with locally running apps that do not have interaction capabilities) can use any run-of-the-mill .NET decompiler to obtain the source almost as it was written from actual source
Brandon Scott
@brandonscott
Not up for public discussion Adam.
Nico
@njbmartin
I agree that sample apps would be useful, but not necessarily the apps Brandon and Adam have worked on
Dariusz Niemczyk
@Palid
@Sharparam right, sorry guys about the docs, guess I was thinking about examples but said docs, haha
@brandonscott I don't understand your point of view in this case, can you elaborate please? How does opensourcing an end-app makes it easier to maliciously attack users? It would be the case for serverside software or sth, but right now you're talking like you have some kind of backdoor in your snake ;)
Bart van Vliet
@Kapulara
@njbmartin It's a simple paint application to use on chroma keyboard, You can view the usage on in the release. https://github.com/Kapulara/ChromaPaint/releases
Bart van Vliet
@Kapulara
@Sharparam How do i start the Razer Chroma SDK .exe manually ?
RzSDKService.exe to be specific
Adam Hellberg
@Sharparam
@Kapulara not sure, Razer would probably recommend against doing it manually. The SDK should be available after installing the latest synapse (you should probably Uninstall previous SDK versions first)
Nico
@njbmartin
@Palid I believe he means malicious users who repackage the app with malware or some other nasty stuff
Adrian
@WolfspiritM
How comes that Color.Orange isn't actually Orange but R=0, G=165, B=255 :P
Adam Hellberg
@Sharparam
@WolfspiritMhttps://CoraleStudios/Colore#67
damn formatting
@WolfspiritM CoraleStudios/Colore#67
Adrian
@WolfspiritM
Oh great.... Just notice IsSdkAvailable doesn't work anymore with latest Synapse update. It always returns false. Enabling Chroma Apps in Synapse sets Enable to Dword instead of byte now.
Adrian
@WolfspiritM
nevermind...just noticed you guys are lightning fast in develop :-)
Adrian
@WolfspiritM
@Sharparam Would it be possible to try-catch the NativeCallException in the Finalizer of Chroma and send it to /dev/null or at least around the NativeWrapper UnInit in Colore? Throwing exceptions in the Finalizer is pretty bad causing the whole application to crash and it's pretty hard to catch from the outside without any hooks.
(Destructor)
Adam Hellberg
@Sharparam
@WolfspiritM Does this mean that you have confirmed exceptions are being thrown under some occasions in the finalizer? Do you have more details about the situations where Uninit is returning back an error? And as you say finalizers are not supposed to throw exceptions, we'll have to look into that. Thanks for bringing it up!
Adrian
@WolfspiritM
@Sharparam Yes. It is reproducable for example if the SDK Service is not running but SDK is installed and enabled. Init throws an exception (catchable on the first call to Instance but the Finalizer is called somewhere later calling uninit and throwing a NativeCallException.
Adam Hellberg
@Sharparam
@WolfspiritM What causes the SDK service to not be running?
Adrian
@WolfspiritM
@Sharparam Not sure. A user disabled the Service for example or it crashed somehow earlier. Or a user killed it with the Taskmanager. It's just one case to reproduce it. If the Init fails in any way, then the uninit is called by the Finalizer and will fail, too. I also had that happen as the SDK got stuck somehow resulting in a NativeCallException saying device is not available or something like that.
Bart van Vliet
@Kapulara
@WolfspiritM that was also the question i had. You would have to restart ur computer.
Adam Hellberg
@Sharparam
@WolfspiritM #107
Adrian
@WolfspiritM
@Kapulara Yeah there seems to be a rare case the SDK can get stuck like that. I luckily only had that happen once and only got it fixed with a restarted. Even restarting the service or unplugging the Keyboard didn't work.
@Sharparam Thanks!
Dariusz Niemczyk
@Palid
@njbmartin That's why you should always, ALWAYS, with no exceptions link to the Github releases page for your project. ;)
Nico
@njbmartin
@Palid Certainly wouldn't stop others distrubuting via other means