text:
Autocapitalization doesn't always work

I've noticed a weird bug in KeyboardKit – if you insert a character and delete it, it won't be auto-capitalized unless you press backspace again. Today I finally decided to try and fix it. After doing some debugging, I found out that the reason for that behavior is textDidChange doesn't get called when it should (this seems to be a known issue). Here is a short screen recording displaying the issue: https://www.youtube.com/watch?v=JAp2RZEDY8c.
This is also related to #24. Could calling tryChangeToPreferredKeyboardTypeAfterTextDidChange in the same place where text changes for autocomplete are observed could fix the issue?

Hi @f-person
Thanks for the bug hunt! Did you find a solution to this problem?

Oh, that code is since long gone :)
BUT I will look at working with external keyboards soon, and that also requires a textDidChange adjustment.

Hi @f-person
I'm late to the party, and I ran into this now when investigating an unrelated issue, where the autocomplete toolbar didn't reset when sending a message in Messenger cleared the text field.
This resulted in the autocomplete bar still showing suggestions, although the text field was empty.
Turns out that the text document proxy is not immediately updated, and may have old content when textDidChange is called. I've seen this in other cases too, e.g. when reading the full document context.
Wrapping the code in textDidChange in a DispatchQueue.main.async (will we ever be able to stop relying on this?) seems to give the proxy enough time to update itself:
open override func textDidChange(_ textInput: UITextInput?) {
    super.textDidChange(textInput)
    DispatchQueue.main.async { [weak self] in
    self?.textDidChangeAsync(textInput)
    }
}

/// This function will be called with an async delay, to
/// give the text document proxy time to update itself.
open func textDidChangeAsync(_ textInput: UITextInput?) {
    performAutocomplete()
    tryChangeToPreferredKeyboardTypeAfterTextDidChange()
}

This new function can be overridden to give you better odds that the proxy is updated, and should also fix the problem that you described.
This will be available in 8.0 and can be tested in the v8 branch.

Awesome, thank you! I'll update the keyboard to v8 once it's out :)

will we ever be able to stop relying on this?

Time will show but if I had to guess, not really :)

Oh, I tried this with the new async delay, and you still have to tap backspace twice 🤔

Ok, I found it :D
Turns out that the behavior check looks like this:
open func shouldSwitchToPreferredKeyboardType(
    after gesture: Gesture,
    on action: KeyboardAction
) -> Bool {
    // if action.isAlternateQuotationDelimiter(for: context) { return true }
    switch action {
    case .backspace: return isPreferredKeyboardDifferent
    case .keyboardType(let type): return type.shouldSwitchToPreferredKeyboardType
    case .shift: return true
    default:
        let isRelease = gesture == .release
        let isDifferent = isPreferredKeyboardDifferent
        return isRelease && isDifferent
    }
}

However .backspace doesn't trigger it's action on .release, but on .press. Adding a separate check for .backspace solved this issue.

authors: danielsaidi f-person

repo: KeyboardKit/KeyboardKit


text:
Update jline to 3.24.0

About this PR
📦 Updates org.jline:jline from 3.21.0 to 3.24.0
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.jline", artifactId = "jline" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.jline", artifactId = "jline" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #65.

Superseded by #68.

source: gharchive/pull-request

license_type: permissive

license_source: github-api


text:
Add labels in a more principled way.

Summary:
Before, I was just munging the label to the name, so I wouldn't have
to change a lot of code.  This didn't work because the name was used
in places where the code needs it to actually be a name (e.g. when
telling github what reviewers to add to the PR).
So now I store names and labels separately, and just print the label
explicitly when emitting the comment text.  This also gives me more
control over where the label goes; all in all a more maintainable
arrangement.
Issue: https://khanacademy.atlassian.net/browse/FEI-5970
Test plan:
yarn jest

Here's Gerald's comment: https://github.com/Khan/gerald/pull/90#issuecomment-2471741967 for more context on self-testing and #remove-me

You can also just test things in the Gerald repo, I think, if you want to avoid the long chain of gerald → actions → webapp.

Sadly, I can't, because the gerald repo's github action is Khan/actions@gerald-pr-v3, so it doesn't see the new code until I go through all the rigamarole.

@csilvers I believe you can temporarily point Gerald to the sha that is one behind of the tip of your PR? Because the sha of the commit that points to one behind the tip is the tip...

@csilvers I believe you can temporarily point Gerald to the sha that is one behind of the tip of your PR? Because the sha of the commit that points to one behind the tip is the tip...

Oh, I can change the label.  But that will change things for everyone, not just me, so it's a little scary.  I'll try it later in the day.

@csilvers I think on this branch, point this repo's workflow file to a sha on this branch. I think that should work in a way that doesn't affect other people?

@csilvers I think on this branch, point this repo's workflow file to a sha on this branch. I think that should work in a way that doesn't affect other people?

I don't know how to do that.  Right now the repo's gerald-pr.yml file looks like this:
    steps:
      - uses: Khan/actions@gerald-pr-v3
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          admin-token: ${{ secrets.KHAN_ACTIONS_BOT_TOKEN }}

what are you proposing I change it to?

@MiguelCastillo you're just being added because I needed a name for testing this new functionality.
There's one more test you could help with -- could you add a comment to this PR that just says #removeme?  I want to test that this then auto-removes you as a reviewer.

@MiguelCastillo you're just being added because I needed a name for testing this new functionality.
There's one more test you could help with -- could you add a comment to this PR that just says #removeme? I want to test that this then auto-removes you as a reviewer.

Sure thang!
#removeme

Not sure how important it is, but the tricky thing about using # to start a trigger word is that github thinks you want to reference a PR.  Just an annoying observation :D

@MiguelCastillo : I think you may need to say #removeme here, at the top level.

@MiguelCastillo : I think you may need to say #removeme here, at the top level.

I did above.  I also did it as an inline comment in case that made a difference.  Will do a standalone one too.

#removeme

Oh, it's still processing the PR, maybe it will be a while before it's ready to run the github actions to do the update.

@csilvers I think on this branch, point this repo's workflow file to a sha on this branch. I think that should work in a way that doesn't affect other people?

I don't know how to do that. Right now the repo's gerald-pr.yml file looks like this:
    steps:
      - uses: Khan/actions@gerald-pr-v3
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          admin-token: ${{ secrets.KHAN_ACTIONS_BOT_TOKEN }}

what are you proposing I change it to?

@csilvers I tried and failed :-( https://github.com/Khan/gerald/pull/91

It's still processing the PR.  Something is very wrong.  Probably the huge index.js file.

OK, I'm landing this.  I'm not convinced #removeme works, but I have no experience with it, so I can't say for sure, or if not if it's this PR that broke it or not.  If it's being problematic in a way that matters I'm sure we'll hear about it!

authors: MiguelCastillo csilvers lillialexis

repo: Khan/gerald

license: MIT


text:
iCloud integration in HAP-NodeJS with MFi chip

Hi we are working one homekit and we are registered with MFi program. We have our existing smart home hub which works with ZWave and we are using your HAP-NodeJS library to expose our existing devices through your bridge. Now we need to access it through the iCloud and defiantly we are going to use MFi chip for authentication kindly help us to integrate it with your library or kindly connect us the apple concerned person if you know.

Please contact your MFi representative for more information regarding to HAP over iCloud.

source: gharchive/issue

authors: KhaosT nurulbitcanny

repo: KhaosT/HAP-NodeJS

license_source: bigquery


text:
Startup and schematic issues

4.10.0-37-generic #41~16.04.1-Ubuntu SMP Fri Oct 6 22:42:59 UTC 2017 x86_64 GNU/Linux
Just finished MCEdit.v1.4.0.1.Lin.Universal.run installer
Getting this
Starting MCEdit...
Running in fixed mode. Support files are in your Documents folder.
Splash load...
Traceback (most recent call last):
  File "../bin3/mcedit/mcedit.py", line 71, in <module>
  File "../bin3/mcedit/version_utils.py", line 416, in <module>
  File "../bin3/mcedit/version_utils.py", line 79, in load
  File "../bin3/mcedit/version_utils.py", line 51, in __convert
KeyError: 'username'
Press any key to close.

When i do "running from source" thing, it runs well except schematic export
Getting this
[   ERROR][                    root.py:59]:Exception:
Traceback (most recent call last):
  File "/home/mitya12342/MCEdit-Unified/mceutils.py", line 53, in _alertException
    return func(*args, **kw)
  File "/home/mitya12342/MCEdit-Unified/editortools/select.py", line 1225, in exportSelection
    self.editor.exportSchematic(schematic)
  File "/home/mitya12342/MCEdit-Unified/leveleditor.py", line 843, in exportSchematic
    StructureNBT.fromSchematic(schematic).save(filename)
  File "/home/mitya12342/MCEdit-Unified/pymclevel/schematic.py", line 813, in fromSchematic
    structure = cls(size=(schematic.Width, schematic.Height, schematic.Length), mats=namedMaterials[getattr(schematic, "Materials", 'Alpha')])
  File "/home/mitya12342/MCEdit-Unified/pymclevel/schematic.py", line 737, in __init__
    from materials import blockstateToID
ImportError: cannot import name blockstateToID

How exactly are you running from source? This issue was fixed a few days ago so you shouldn't experience it if running from source

Completely redownloaded all the files, now it works
Sorry for taking your time

It's really ok, we're glad to help!
If you experience any other issues, don't hesitate to report them as well :)

repo: Khroki/MCEdit-Unified

license: isc


text:
Update CTS to reflect changes in pragma optionality

Covers all changes to align the CTS with the outcome of https://github.com/KhronosGroup/OpenCL-Docs/issues/82

Discussed in the 2023/08/01 teleconference. Prior to changing the specification, we want to add new tests to check that implementations accept pragmas for all extensions that have already shipped. At a later point we will also want to check that implementations do not require the pragmas for the functionality in extensions that do not modify the compiler's behaviour to be usable.

repo: KhronosGroup/OpenCL-CTS


text:
Add a CMakeLists.txt file for use by cmake, ctest

This enables out-of-tree builds, and the use of other build tools.
This will not overwrite Makefile if you are building in the
source tree.  To use makefiles generated from CMake, you must
build out of the source tree.
Usage: If SPIRV-Cross source is in $SPIRV_CROSS_ROOT, then to
build with ninja in a different directory:
cmake -G Ninja $SPIRV_CROSS_ROOT
ninja
Run tests, if enabled
ctest
Tests will be enabled if you have python3.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

Approved. Will merge once CLA check is green.

My local lawyer ok'd the CLA, so I've signed it now.  :-)

Squashed into one commit.

Thanks :)

authors: CLAassistant HansKristian-ARM dneto0

repo: KhronosGroup/SPIRV-Cross


text:
Documentation about build and test

I tried to build this tool using ninja and realized that there is no explicit explanation.
If a short documentation exists, it would be better.
For someone who will search the "ninja" keyword .. I am not sure it is correct but maybe we can use the following commands:
$ cd path/to/SPIRV-Tools
$ git clone https://github.com/KhronosGroup/SPIRV-Headers.git external/spirv-headers
$ git clone https://github.com/google/googletest.git external/googletest # optional
$ mkdir build && cd build
$ cmake -G Ninja ..
$ ninja
$ ninja test

In addition, I wonder if there are other ways to test this tool.

The existing documentation has
cmake [-G <platform-generator>] <spirv-dir>
cmake --build . [--config Debug]  # runs `make` or `ninja` or `msbuild` etc.

for the build instructions, which includes ninja.
The testing section says
ctest -j <num threads>

which again includes ninja.
I don't think we should have to document every method for every generator, so I will close this.

authors: jaebaek s-perron

repo: KhronosGroup/SPIRV-Tools


text:
Dead input elimination doesn't remove corresponding decorations

When a dead input is eliminated, if it was decorated (such as 'flat'), those decorations are still leftover in the SPIR-V, resulting in a validation error.

Hi @mbechard, thanks for the finding.
Would you have a sample shader to shader where you can reproduce this?
@greg-lunarg is that's something you could look into since you are actively working on those passes?

@mbechard  @Keenuts Yes, I will fix.

@mbechard Sorry I didn't see this until yesterday.
Is the problem when eliminating a whole variable, or when removing a component from an array or structure?

It was when removing a a variable from a structure. For example I had a 'flat int' in my vertex->pixel struct that was removed by dead input elimination in the pixel shader, but the decoration remained in the SPIR-V.
However since GLSLang now has dead input elimination removed from the pixel shader pass, this isn't currently an issue. However I assume it'll resurface when cross-stage elimination is merged in.

However I assume it'll resurface when cross-stage elimination is merged in.

Yes. I will fix.

Hmm. I am not seeing the problem with the latest ToT. Here is the frag shader:
#version 450

layout(location = 0) in Vertex
{
    vec4 Cd;
    flat int uv;
} iVert;

layout(location = 0) out vec4 fragColor;

void main()
{
    vec4 color = vec4(iVert.Cd);
    fragColor = color;
}

I then do:
glslangValidator.exe -V --target-env vulkan1.3 -o t.frag.spv t.frag
spirv-opt.exe --eliminate-dead-input-components -o t.frag.edic.spv t.frag.spv
spirv-opt.exe --eliminate-dead-code-aggressive -o t.frag.dce.spv t.frag.edic.spv

Both t.frag.edic.spv and t.frag.dce.spv validate without issue.
Let me know if I am not completely recreating your use case.

Hmm ok, let me try and re-find the repro case.

Unable to reproduce anymore, closing this

authors: Keenuts greg-lunarg mbechard


text:
Validator doesn't check Sampled Type of OpTypeImage instruction

The specs state that

Sampled Type is the type of the components that result from sampling or reading from this image type. Must be a scalar numerical type or OpTypeVoid.

which means that passing a vector type is illegal. Nevertheless the validator does ignore if a vector type is passed as Sampled Type.

The validator is quite incomplete. I'll add this to the validator project.

I think we now have checks for it:
https://github.com/KhronosGroup/SPIRV-Tools/blob/8ba68fa9b94da071e879e3064adf8aaaea1a7051/source/validate_image.cpp#L607-L624

authors: antiagainst dneto0 paniq


text:
Animation Pointer Error

Hi all I'm exporting GLB from unity with animation, in unity the model is animated, when i test it on https://gltf-viewer.donmccurdy.com/  , the animation is listed , but doesnt play and I have this in log:

many warnings:  "VALUE_NOT_IN_LIST	Invalid value 'pointer'. Valid values are ('translation', 'rotation', 'scale', 'weights').	/animations/0/channels/0/target/path"

info messages:" UNSUPPORTED_EXTENSION	Cannot validate an extension as it is not supported by the validator: 'KHR_animation_pointer'.	/extensionsUsed/2"
NODE_EMPTY	Empty node encountered.	/nodes/3
NODE_EMPTY	Empty node encountered.	/nodes/9
NODE_EMPTY	Empty node encountered.	/nodes/14
NODE_EMPTY	Empty node encountered.	/nodes/24

Im suing mixamo animations, and i noticede that when I drop exported glb into viewer, i cant see the legs of skeleton, still in unity all works fine.
I considered this an issue since it was working fine with previous versions of UnityGLTF, still dont get what im doing wrong, any hint ?
Thanks a lot in advance

@hierro you can disable KHR_animation_pointer export in the UnityGLTF settings.

Not every viewer supports this extension - but it allows you to animate basically anything inside the glTF. We heavily use it in Needle Engine and it will work in https://viewer.needle.tools for example

Thank you for your reply and knowledge, I will try and make comparison also
with needle, btw very interesting engine, thanks !
On Tue, 30 Jul 2024, 16:05 Marcel Wiessler, @.***>
wrote:

@hierro https://github.com/hierro you can disable KHR_animation_pointer
export in the UnityGLTF settings (see the Assets/Resources folder)
image.png (view on web)
https://github.com/user-attachments/assets/be1db889-65d7-4d2b-816f-a8f0245c1d63
Not every viewer supports this extension - but it allows you to animate
basically anything inside the glTF. We heavily use it in Needle Engine and
it will work in https://viewer.needle.tools for example
—
Reply to this email directly, view it on GitHub
https://github.com/KhronosGroup/UnityGLTF/issues/761#issuecomment-2258305188,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJZDNDSOK67D24CPB5CRZTZO6FR5AVCNFSM6AAAAABLVJZFO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJYGMYDKMJYHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

authors: hierro marwie

repo: KhronosGroup/UnityGLTF


text:
Writable and executable sections in libvulkan.so

Gentoo's package manager warns:

QA Notice: The following files contain writable and executable sections
Files with such sections will not work properly (or at all!) on some
architectures/operating systems.  A bug should be filed at
https://bugs.gentoo.org/ to make sure the issue is fixed.
For more information, see:

https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart

Please include the following list of files in your report:
Note: Bugs should be filed for the respective maintainers
of the package in question and not hardened@g.o.
RWX --- --- usr/lib64/libvulkan.so.1.0.54

It does not occur with 1.0.51.0 but does with 1.0.54.0. Looking through git, I assume it is a result of commit 1b88cb983ece32b88bea4d5ee5b107e53705a226 and the follow-on commits.

The pull request I created that just referenced this issue should be a fix for your problem. I ran scanelf as the article you linked shows, and the problem appears to be resolved. Do you have any other way I can verify that the problem is resolved, or is running scanelf good enough?

Nope, that's works great.
Thanks for the really quick turn-around!
If you want, feel free to add a
Tested-by: Matt Turner mattst88@gmail.com
tag to your commit.

The fix is now on master as commit 75645294adadeac5779e7939a4637e5ed256f9db.


text:
Tobin mock icd unexpected error cleanup

This cleans up most of the unexpected errors when testing with the mock ICD.
Make a few changes to the ICD limits and format properties.
Update a bunch of tests, primarily to make sure buffer allocation size meets requirements.

Rebased to master


text:
Can't export animations on NLA tracks

My problem is that i can't export stashed or pushed animations from NLA editor, only 1 animation is exported every time.
I'm getting the following messages on the console
"ERROR: Invalid count 0"
"WARNING: Skipping sampler {boneName}_{actionName}_translation, found missing or invalid data."
"WARNING: Skipped channel in action stand, missing sampler."
Tried to debug but couldn't managed it.
The trace that i followed:
the log "Invalid count 0" comes from create_accessor()
that is called from generate_animations_parameter() when dealing with translation_data
there is part commented # Sampler doesn't exist, lets create it
keys = sorted(translation_data.keys()) keys are always empty[]
I've seen many issues about exporting multiple animations, however now it should work, based on other  GitHub issues.
So maybe my model has something to do with it, but the animations just work one-by-one, even if I import the model to Three.js
https://rawgit.com/tomo0613/2d-coa-test/master/index.html

Transferring this to the new repository - the model now exports with multiple animations, but the skinning animation is incorrect.

Thanks for the update.
As i wanted to test, and replaced the exporter blender addon, i got the message below.
Traceback (most recent call last):
  File "/home/tomo/.config/blender/2.79/scripts/addons/io_scene_gltf2/__init__.py", line 289, in execute
    from .blender.exp import gltf2_blender_export
  File "/home/tomo/.config/blender/2.79/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 22, in <module>
    from io_scene_gltf2.blender.exp import gltf2_blender_gather
  File "/home/tomo/.config/blender/2.79/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather.py", line 18, in <module>
    from io_scene_gltf2.blender.exp import gltf2_blender_gather_nodes
  File "/home/tomo/.config/blender/2.79/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_nodes.py", line 24, in <module>
    from io_scene_gltf2.blender.exp import gltf2_blender_gather_mesh
  File "/home/tomo/.config/blender/2.79/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_mesh.py", line 19, in <module>
    from io_scene_gltf2.blender.exp import gltf2_blender_gather_primitives
  File "/home/tomo/.config/blender/2.79/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_primitives.py", line 24, in <module>
    from io_scene_gltf2.blender.exp import gltf2_blender_gather_materials
  File "/home/tomo/.config/blender/2.79/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_materials.py", line 20, in <module>
    from io_scene_gltf2.blender.exp import gltf2_blender_gather_texture_info, gltf2_blender_export_keys
  File "/home/tomo/.config/blender/2.79/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_texture_info.py", line 19, in <module>
    from io_scene_gltf2.blender.exp import gltf2_blender_gather_texture
  File "/home/tomo/.config/blender/2.79/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_texture.py", line 22, in <module>
    from io_scene_gltf2.blender.exp import gltf2_blender_gather_image
  File "/home/tomo/.config/blender/2.79/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_image.py", line 19, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'

I guess it only works under 2.8beta, but I failed to launch that as well "libmvec.so.1: cannot open shared object file"...
I think just wait for the stable releases.

This model now exports correctly when Always sample animations is enabled.
Closing this issue, and tracking the dependence on that option in https://github.com/KhronosGroup/glTF-Blender-IO/issues/558.

repo: KhronosGroup/glTF-Blender-IO


text:
How can I set USB mode to its own profile?

My use case is that I use the keyboard plugged into USB on one machine and then switch to other machines via Bluetooth. However, it appears when a USB cable is plugged in that connection is always active regardless of what Bluetooth profile I select. How can I set USB mode to a profile (like 5) so that I can switch between USB mode and Bluetooth mode without repeatedly unplugging the USB cable to the left side? For reference, this is how I use the glove80 keyboard which is also uses ZMK: https://github.com/moergo-sc/zmk . Thank you.

Use the &out behaviour documented here: https://zmk.dev/docs/behaviors/outputs

This works great, thank you!

authors: ReFil abreinig


text:
🛑 FSDH INT is down

In 5735c25, FSDH INT (https://fsdh-portal-app-int.azurewebsites.net/register) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FSDH INT is back up in 4b4cf9d after 10 minutes.

repo: KingBain/proto-datahub-uptime


text:
multiples users

Hi, your great software work only with principal user
in my island have 4 users playing
best regards

Why was this closed? Was it fixed?

I'd be interested in that, too. I also play mainly with the secondary character

authors: Bart1909 itpropro kamanchak

repo: KingLycosa/acnhpoker


text:
[Bug] Wrong menu selected in login page

Description
Instead of the login menu selected, we can see 'Home' menu is active/selected on the login page. Can I please work on this?
Screenshots

Sure, go ahead! 🤩

repo: KiranAminPanjwani/LeatherHoard


text:
CustomComponent Example

Please provide an example for use of a custom component
Thanks

@0mars Hi, please check this out https://github.com/KirillGudkov/in-app-message-example


text:
added 'steps' back to expected sim props, fix #413 simput input step …

…issues

Thanks

repo: Kitware/HPCCloud


text:
fix: Don't display arrows unless they are needed

@floryst This removes the arrows unless they are needed. I assume you think we should also recoup the space, which will require a like more work.

Yay! Glad the change is straightforward. :)

repo: KitwareMedical/paraview-medical


text:
[profile] User should be forced to create a profile before buying a credit

During a demo I witnessed a user purchase a credit but they weren't prompted to create a profile.
This meant that they could not view the assets in their portfolio, and they were confused why.

The prompt should be more clear to explain that they need to create a profile to view their assets
Consider where we can trigger the create profile modal

Will be addressed after AA work.

repo: KlimaDAO/klimadao


text:
Implemented edit_order endpoint

I took a shot at implementing the edit_order endpoint as best I could. Please let me know if this is on the right track or not.

I took a shot at implementing the edit_order endpoint as best I could. Please let me know if this is on the right track or not.

The only thing I'm missing is the unit test but It looks good to me. Let's merge it as-is and I'm going to follow up with some unit tests. I will also improve the documentation to make it easier for contributors to support a new endpoint. This looks great. Thanks @jonandtice.

authors: KmiQ jonandtice

repo: KmiQ/coinbase-advanced-python


text:
how to forward matched packet to controller?

I need to match udp packets to 69 port and send it to controller, i'm try, but have
sending OFPBMC_BAD_PREREQ error reply to OFPT_FLOW_MOD message
func (ctrl *ofpCtrl) HandleSwitchFeatures(msg *ofp13.OfpSwitchFeatures, dp *gofc.Datapath) {
→ fmt.Printf("swfeat %#+v\n", msg)

→ insts := make([]ofp13.OfpInstruction, 0)
→ match := ofp13.NewOfpMatch()
→ udpdst := ofp13.NewOxmUdpDst(69)

→ match.Append(udpdst)
→ inst := ofp13.NewOfpInstructionActions(ofp13.OFPIT_APPLY_ACTIONS)
→ inst.Append(ofp13.NewOfpActionOutput(ofp13.OFPP_CONTROLLER, 300))
→ insts = append(insts, inst)

→ fm := &ofp13.OfpFlowMod{
→ → ofp13.NewOfpHeader(ofp13.OFPT_FLOW_MOD),
→ → 0,
→ → 0,
→ → 0,
→ → ofp13.OFPFC_ADD,
→ → 0,
→ → 0,
→ → 0,
→ → ofp13.OFP_NO_BUFFER,
→ → ofp13.OFPP_ANY,
→ → ofp13.OFPG_ANY,
→ → ofp13.OFPFF_SEND_FLOW_REM,
→ → match,
→ → insts,
→ }

→ dp.Send(fm)

}

Thank you @vtolstov for your report.
Now, I still haven't can solve the problem, but I was able to reproduce that problem in my environment.
Following is my environment information.

Ubuntu16.04
go 1.6
openvswitch 2.5.4-0ubuntu0.16.04.1

I was able to add flow to switch that match udp dest port 69 and send packet to controller.
Following matching rule is needed as prerequisites to use OXM_OF_IPV4_DST in OpenFlow13.

oxm_type=OXM OF ETH TYPE, oxm_hasmask=0, oxm_value=0x0800 or 0x86dd
oxm_type=OXM OF IP PROTO, oxm_hasmask=0, oxm_value=17

Your code will be like bellow.
func (ctrl *ofpCtrl) HandleSwitchFeatures(msg *ofp13.OfpSwitchFeatures, dp *gofc.Datapath) {
  fmt.Printf("swfeat %#+v\n", msg)

  insts := make([]ofp13.OfpInstruction, 0)
  match := ofp13.NewOfpMatch()
  ethip := ofp13.NewOxmEthType(0x0800)
  ipproto := ofp13.NewOxmIpProto(17)
  udpdst := ofp13.NewOxmUdpDst(69)

  match.Append(ethip)
  match.Append(ipproto)
  match.Append(udpdst)
  inst := ofp13.NewOfpInstructionActions(ofp13.OFPIT_APPLY_ACTIONS)
  inst.Append(ofp13.NewOfpActionOutput(ofp13.OFPP_CONTROLLER, 300))
  insts = append(insts, inst)

  fm := &ofp13.OfpFlowMod{
  ofp13.NewOfpHeader(ofp13.OFPT_FLOW_MOD),
  0,
  0,
  0,
  ofp13.OFPFC_ADD,
  0,
  0,
  0,
  ofp13.OFP_NO_BUFFER,
  ofp13.OFPP_ANY,
  ofp13.OFPG_ANY,
  ofp13.OFPFF_SEND_FLOW_REM,
  match,
  insts,
  }

  dp.Send(fm)
}

Finally, I get this flow information from openvswitch using ovs-ofctl.
% sudo ovs-ofctl -O OpenFlow13 dump-flows br0
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=3.651s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=0,udp,tp_dst=69 actions=CONTROLLER:300

Big thanks! Now works fine.

authors: Kmotiko vtolstov

repo: Kmotiko/gofc


text:
Update to the new project system

[x] Migrate to the new project system, with no functional changes to the build outputs
[x] Include a proper .NET Standard 1.0 binary

Thank you for this! Could I add you as a collaborator on the project so my lack of time wouldn't be an obstacle for merging it when it is ready?

This seems to be a good start. Additional work can be done in follow-up changes:

The manual .nuspec could be changed to a "create package on build"
The .nuspec could be moved to CommonMark.Console if we want to create the package on build without worrying about the circular dependency
The .nupkg could be attached to the build output
The tests could be integrated with OpenCover/codecov.io for code coverage
Nerdbank.GitVersioning could be integrated for automatic package versioning support

I wasn't sure which of these (if any) you would be interested in, so I'm pointing them out but not implementing them unless requested. 😄

authors: Knagis sharwell


text:
Time-based axis

For dynamic data it is important to have time-based axis (preferably based on Kotlinx-datetime Instant. It requires #63 to work properly.

You can use a LongLinearAxisModel for representing date types and use kotlinx-datetime to format it. I have created a sample that does this.
I realize this isn't the same as having a natively supported type, but I don't want to add kotlinx-datetime as a required dependency. This is a good use case for an extension library that people can optionally include to support additional data types.

authors: SPC-code gsteckman

repo: KoalaPlot/koalaplot-core


text:
Work

Some work 😄

Gut


text:
/usr/local/share/lua/5.1/kong/cmd/migrations.lua:34: [cassandra error] Error during migration 2017-01-24-132600_upstream_timeouts_2: [Read timeout] Operation timed out - received only 0 responses.

NOTE: GitHub issues are reserved for bug reports only.
Please read the CONTRIBUTING.md guidelines to learn on which channels you can
seek for help and ask general questions:
https://github.com/Kong/kong/blob/master/CONTRIBUTING.md#where-to-seek-for-help
Summary
Getting below error while running kong migrations up for brand new environment.
Error:
/usr/local/share/lua/5.1/kong/cmd/migrations.lua:34: [cassandra error] Error during migration 2017-01-24-132600_upstream_timeouts_2: [Read timeout] Operation timed out - received only 0 responses.
stack traceback:
        [C]: in function 'assert'
        /usr/local/share/lua/5.1/kong/cmd/migrations.lua:34: in function 'cmd_exec'
        /usr/local/share/lua/5.1/kong/cmd/init.lua:88: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:88>
        [C]: in function 'xpcall'
        /usr/local/share/lua/5.1/kong/cmd/init.lua:88: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:45>
        /usr/local/bin/kong:7: in function 'file_gen'
        init_worker_by_lua:41: in function <init_worker_by_lua:39>
        [C]: in function 'xpcall'
        init_worker_by_lua:48: in function <init_worker_by_lua:46>

Additional Details & Logs

Kong version - 0.11.2
Operating System - Redhat Linux 7.4

Cassandra Error:
java.lang.RuntimeException: Unknown column upstream_read_timeout during deserialization
        at org.apache.cassandra.db.Columns$Serializer.deserialize(Columns.java:445) ~[apache-cassandra-3.11.1.jar:3.11.1]
        at org.apache.cassandra.db.filter.ColumnFilter$Serializer.deserialize(ColumnFilter.java:470) ~[apache-cassandra-3.11.1.jar:3.11.1]
        at org.apache.cassandra.db.ReadCommand$Serializer.deserialize(ReadCommand.java:722) ~[apache-cassandra-3.11.1.jar:3.11.1]
        at org.apache.cassandra.db.ReadCommand$Serializer.deserialize(ReadCommand.java:659) ~[apache-cassandra-3.11.1.jar:3.11.1]
        at org.apache.cassandra.io.ForwardingVersionedSerializer.deserialize(ForwardingVersionedSerializer.java:50) ~[apache-cassandra-3.11.1.jar:3.11.1]
        at org.apache.cassandra.net.MessageIn.read(MessageIn.java:123) ~[apache-cassandra-3.11.1.jar:3.11.1]
        at org.apache.cassandra.net.IncomingTcpConnection.receiveMessage(IncomingTcpConnection.java:192) ~[apache-cassandra-3.11.1.jar:3.11.1]
        at org.apache.cassandra.net.IncomingTcpConnection.receiveMessages(IncomingTcpConnection.java:180) ~[apache-cassandra-3.11.1.jar:3.11.1]
        at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:94) ~[apache-cassandra-3.11.1.jar:3.11.1]

Closing this due to the 15 days delay without replies. Feel free to re-open @kdp117.

Hi all,
Sorry for commenting on a closed issue, but I had the same issue as @kdp117 and I just found the solution for that.
On my side, it happened on a multi-nodes Cassandra Cluster (3 nodes), with a database that if fully empty (so no link with Cassandra loading or with the number of records in the apis table).
Indeed, step 2017-01-24-132600_upstream_timeouts_2 starts with a selection of all rows of the apis table (https://github.com/Kong/kong/blob/master/kong/dao/migrations/cassandra.lua#L417). However:

This comes just after step 2017-01-24-132600_upstream_timeouts that just altered the same apis table
And the selection is done by directly using a raw SELECT * FROM apis query, so not using the DAO layer... so not taking benefit on the "retry on read" policy nor of the "wait schema consensus" provided by this DAO layer.

Working on the issue with a Cassandra DBA, the analysis is that:

As working on a multi-nodes Cassandra cluster, the table alteration might not have been propagated properly on all nodes when the raw SELECT * is run, generating a read error (most probably due to an inconsistency on the schema of the queried node)... and unfortunately, no retry is implemented on this read error as this is a raw query that is done.
Solution is just to use local rows, err = dao.apis:find_all() instead of the local rows, err = dao.db:query([[ SELECT * FROM apis; ]]): the schema consensus is obtained and even if a read error occurs, a retry is performed by the DAO layer.

I'm about to submit a PR on that.
Note that retrying the migration was a good workaround as the time elapsed between the 2 migrations attempts gives enough time to Cassandra to apply the table alteration to all nodes => the SELECT * can run properly during the second migration attempt.

authors: kdp117 pamiel thibaultcha

repo: Kong/kong


text:
Where is the documentation about  kong 1.0 grpc ?

Where is the documentation about  kong 1.0 grpc

the same question.

Kong 1.0 is using openresty 1.13.6.2 Source 1, Source 2 implying Nginx 1.13.6 is being used. But grpc support was introduced in Nginx 1.13.10.
Unless I'm missing something...

See here for answer:
https://discuss.konghq.com/t/kong-1-0-is-now-generally-available-1-0-0-released/2496/7
As far as L7 routing there are no plugins or support yet for gRPC with Kong.

authors: JHzhangqian jeremyjpj0916 neowulf qqlee


text:
refactor(db): clean get_default_workspace()

Summary
KAG-5713
Checklist

[ ] The Pull Request has tests
[ ] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

Fix #[issue number]

error loop or previous error loading module 'kong.db.declarative'


text:
perf(clustering) conditional rebuilding of router, plugins iterator and balancer on dp (2.8)

backport of #8519
Summary
Implements conditional rebuilding of router, plugins iterator and balancer on
data planes. This means that DPs will not rebuild router if there were no changes in
routes or services. Similarly, the plugins iterator will not be rebuild if there were
no changes to plugins, and finally balancer in not reinitialized if there are no
changes to upstreams or targets.

Hi,if one target is updated,post a new target,then delete a old target,the whole upstreams and routes will be put.is it that expected behavior in kong?

authors: aboudreault zffocussss


text:
feat(ktableview): add bulk actions feature [KHCP-13106]

Summary
Jira: https://konghq.atlassian.net/browse/KHCP-13106
Adds bulk actions functionality in KTableView:

new bulkActions reserved header for enabling bulk actions column
new rowBulkAction prop
new bulk-action-items slot
new bulk-actions-select emitted event

The functionality looks good. I just have a couple of questions:
It seems we can bulk select across different pages, but I’m not sure if this is best practice. (I’m okay with it if it’s a widely used pattern.) Personally, I tend to only select what I can see to avoid unnecessary mistakes.
Additionally, how does this work with cursor pagination, where we (FE) might not store the previous or next page data?

The functionality looks good. I just have a couple of questions:
It seems we can bulk select across different pages, but I’m not sure if this is best practice. (I’m okay with it if it’s a widely used pattern.) Personally, I tend to only select what I can see to avoid unnecessary mistakes.
Additionally, how does this work with cursor pagination, where we (FE) might not store the previous or next page data?

We had a long discussion about this in our team (unfortunately it was on an unrecorded call so I can't link you back to it) and decided that it bulk actions should work with pagination as it seems to be a common practice many services follow (Gmail and DataDog were among the few we reviewed).
As to how this works with cursor pagination - KTableView actually doesn't know any other data other than what's provided in data prop so how it works under the hood is it stores all selected rows in a separate ref. When user navigates through pagination pages, it checks whether any of the objects provided through data prop are in the selected items array. You can test that behaviour in the sandbox: https://deploy-preview-2365--kongponents-sandbox.netlify.app/#/table-view (go to the table at the very bottom).

authors: lukewhchen portikM

repo: Kong/kongponents


text:
CI: Document modifications do not require running all tests.

Is there an existing issue for this?

[X] I have searched the existing issues

Problem Statement
We have files that only contain documents. When we make changes to them, we don't need to run all tests.
e.g.

README.md and  other *.md
docs
keps

https://github.com/Kong/kubernetes-ingress-controller/actions/runs/6939756390?pr=5193
Proposed Solution
we can add a path filter.

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-excluding-paths
https://github.com/dorny/paths-filter

Additional information
No response
Acceptance Criteria
No response

Reopened by revert done in #5225

repo: Kong/kubernetes-ingress-controller


text:
fix serviceName when backend.service.port uses name instead of number

replace #1177 , targeting next branch

Thank you for your contribution. Please fill out the following form to claim your contributor swag:
https://github.com/Kong/kong/blob/master/CONTRIBUTING.md#contributor-t-shirt.


text:
decode structure data is incorrect

I am an electron project.When decode a complex structured data, the data I read is different from the one printed in C++, and I'm not sure what the problem is. Can you please help me?
1.this is my SDK.h
#pragma once
typedef struct SDK {
	char version[16];
} SDK, * PSDK;

#pragma pack(1)
typedef struct EventData {
	unsigned short code;
	unsigned short length;
	char data[0];
} EVENT_DATA, * PEVENT_DATA;

typedef struct EventGetConfig {
	unsigned long long currentCredits;
	unsigned int accountUnit;

	unsigned int defaultPlayerDenom;
	unsigned short playerDenomCount;
	unsigned int playerDenom[16];

	unsigned short defaultPlayerBetLevel;
	unsigned short playerBetLevelCount;
	unsigned short playerBetLevel[16];

} EVENT_GET_CONFIG, * PEVENT_GET_CONFIG;

#pragma pack()

typedef void (*PCLIENT_EVENT) (PSDK sdk, void* sender, PEVENT_DATA data);

extern "C" __declspec(dllexport) PSDK CreateSDK();
extern "C" __declspec(dllexport) void SetEventCallback(PSDK sdk, void* sender, PCLIENT_EVENT callback);
extern "C" __declspec(dllexport) BOOL ParseEventToGetConfig(PEVENT_DATA data, PEVENT_GET_CONFIG getConfig);

2.This is an example of my C++call
void CNativeSDKExampleDlg::OnSDKEvent(PSDK sdk, PEVENT_DATA data)
{
	CString str;
	str.Format("======== On Event %d, length %d ========", data->code, data->length);
	m_lstBox.AddString(str);

	switch (data->code)
	{
		case EVENTCODE_GETCONFIG:
		{
			EVENT_GET_CONFIG getConfig;
			if (ParseEventToGetConfig(data, &getConfig))
			{
				m_lstBox.AddString("Get Config Responsed");

				m_accountUnit = getConfig.accountUnit;
				m_defaultPlayerDenom = getConfig.defaultPlayerDenom;
				m_playerDenomCount = getConfig.playerDenomCount;
				memcpy(m_playerDenom, getConfig.playerDenom, sizeof(m_playerDenom));
				m_defaultPlayerBetLevel = getConfig.defaultPlayerBetLevel;
				m_playerBetLevelCount = getConfig.playerBetLevelCount;
				memcpy(m_playerBetLevel, getConfig.playerBetLevel, sizeof(m_playerBetLevel));

				UpdateCredits(getConfig.currentCredits);
				UpdateBetScore();

				int selectIndex = -1;
				m_comboDenom.ResetContent();
				for (int i = 0; i < m_playerDenomCount; i++)
				{
					if (i >= 16)
						continue;
					if (m_playerDenom[i] == m_defaultPlayerDenom)
						selectIndex = i;
					double denom = m_playerDenom[i] / 10000.0;
					str.Format("%.2f", denom);
					m_comboDenom.AddString(str);
				}
				if (selectIndex >= 0)
					m_comboDenom.SetCurSel(selectIndex);

				m_comboBetLevel.ResetContent();
				for (int i = 0; i < m_playerBetLevelCount; i++)
				{
					if (i >= 16)
						continue;
					if (m_playerBetLevel[i] == m_defaultPlayerBetLevel)
						selectIndex = i;
					str.Format("%d", m_playerBetLevel[i]);
					m_comboBetLevel.AddString(str);
				}
				if (selectIndex >= 0)
					m_comboBetLevel.SetCurSel(selectIndex);

				double currency = m_accountUnit / 10000.0 * getConfig.currentCredits;
				str.Format("> Current Credits: %lld (Currency: %.2f)", getConfig.currentCredits, currency);
				m_lstBox.AddString(str);

				str.Format("> Account Unit: %.2f", getConfig.accountUnit / 10000.0);
				m_lstBox.AddString(str);

				str.Format("> Default Player Denom: %.2f", getConfig.defaultPlayerDenom / 10000.0);
				m_lstBox.AddString(str);

				str.Format("> Player Denom Count: %d", getConfig.playerDenomCount);
				m_lstBox.AddString(str);

				for (int i = 0; i < getConfig.playerDenomCount; i++)
				{
					str.Format("> > Player Denom[%d]: %.2f", i, getConfig.playerDenom[i] / 10000.0);
					m_lstBox.AddString(str);
				}

				str.Format("> Default Player Bet Level: %d", getConfig.defaultPlayerBetLevel);
				m_lstBox.AddString(str);

				str.Format("> Player Bet Level Count: %d", getConfig.playerBetLevelCount);

				for (int i = 0; i < getConfig.playerBetLevelCount; i++)
				{
					str.Format("> > Player Bet Level[%d]: %d", i, getConfig.playerBetLevel[i]);
					m_lstBox.AddString(str);
				}

			}
		}
		break;

	}
}

3.This is the sdk.js code for my electron project
const { ipcMain, BrowserWindow } = require('electron');
const koffi = require('koffi'); //koffi 2.9.2

// load dll
const mySDK = koffi.load('./sdk/NativeSDK_x64.dll');

// define structs
const structs = {
    SDK: koffi.struct('SDK', {
        version: koffi.array('char', 16)
    }),

    EventData: koffi.struct('EventData', {
        code: 'ushort',      // unsigned short
        length: 'ushort',    // unsigned short
        data: koffi.pointer('void')  // char data[0]
    }),

    EventGetConfig: koffi.struct('EventGetConfig', {
        currentCredits: 'ulonglong',  // unsigned long long
        accountUnit: 'uint',          // unsigned int
        defaultPlayerDenom: 'uint',   // unsigned int
        playerDenomCount: 'ushort',   // unsigned short
        playerDenom: koffi.array('uint', 16),  // unsigned int[16]
        defaultPlayerBetLevel: 'ushort',    // unsigned short
        playerBetLevelCount: 'ushort',      // unsigned short
        playerBetLevel: koffi.array('ushort', 16)  // unsigned short[16]
    }),
};

//define function from c++
const functions = {
    CreateSDK: 'SDK* CreateSDK()',
    InitializeSDK: 'void InitializeSDK(SDK* sdk)',
    ParseEventToGetConfig: 'bool ParseEventToGetConfig(EventData* data, EventGetConfig* getConfig)',
};

// register functions
for (const [name, proto] of Object.entries(functions)) {
    mySDK[name] = mySDK.func(proto);
}

const PCLIENT_EVENT = koffi.proto('void PCLIENT_EVENT(SDK* sdk, void* sender, EventData* data)');

mySDK.SetEventCallback = mySDK.func('void SetEventCallback(SDK* sdk, void* sender, PCLIENT_EVENT* callback)');

// initialize sdk
function initialize() {
    return new Promise((resolve, reject) => {
        try {
            // step1
            sdkInstance = mySDK.CreateSDK();

            // step2
            const eventCallback = (sdkPtr, sender, eventData) => {
                try {
                    const eventDataRef = koffi.decode(eventData, structs.EventData);
                    console.log('eventDataRef:', eventDataRef);

                    switch (eventDataRef.code) {
                        case Constants.EVENTCODE_GETCONFIG: {
                            // decode eventData
                            const configData = koffi.decode(eventData, structs.EventGetConfig);
                            console.log('configData:', configData);
                            break;
                        }
                    }
                } catch (error) {
                    console.log('eventCallback err:', error);
                }
            };

            mySDK.registerEventCallback = koffi.register(eventCallback, koffi.pointer(PCLIENT_EVENT))

            //set callback
            mySDK.SetEventCallback(sdkInstance, null, mySDK.registerEventCallback);

        } catch (error) {
            logger.error('initialize err:', error);
            reject(error);
        }
    });
}

4.This is the data printed from breakpoints in C++
{
	    currentCredits = 21380,
		accountUnit = 500,
		defaultPlayerDenom = 10000,
		playerDenomCount = 4,
		playerDenom = {
			1000,
			2500,
			5000,
			10000,
			3435973836,
			3435973836,
			3435973836,
			3435973836,
			3435973836,
			...
		},
		defaultPlayerBetLevel = 10,
		playerBetLevelCount = 6,
		playerBetLevel = {
			1,
			5,
			10,
			15,
			20,
			25,
			52428,
			52428,
			52428,
			52428,
			52428,
			52428,
			52428,
			52428,
			52428,
			...
		}
}

5.This is the data printed by my sdk.js
[2024/12/10 10:37:27] eventDataRef: {
  "code": 21030,
  "length": 118,
  "data": {}
}
[2024/12/10 10:37:27] configData: {
  "currentCredits": 85899353674278,
  "accountUnit": 0,
  "defaultPlayerDenom": 500,
  "playerDenomCount": 10000,
  "playerDenom": {
    "0": 65536004,
    "1": 163840000,
    "2": 327680000,
    "3": 655360000,
    "4": 655360,
    "5": 65542,
    "6": 655365,
    "7": 1310735,
    "8": 25,
    "9": 0,
    "10": 0,
    "11": 0,
    "12": 0,
    "13": 0,
    "14": 0,
    "15": 0
  },
  "defaultPlayerBetLevel": 0,
  "playerBetLevelCount": 0,
  "playerBetLevel": {
    "0": 0,
    "1": 0,
    "2": 0,
    "3": 0,
    "4": 0,
    "5": 0,
    "6": 0,
    "7": 0,
    "8": 0,
    "9": 0,
    "10": 0,
    "11": 0,
    "12": 0,
    "13": 0,
    "14": 0,
    "15": 0
  }
}

6.I have reviewed the official documentation and found that decoding requires setting an offset. I have modified the line code const configData=koffi.decode (eventData, 4, struct.EventGetConfig); Part of the data is correct
[2024/12/10 17:21:41] eventDataRef: {
  "code": 21030,
  "length": 118,
  "data": {}
}
[2024/12/10 17:21:41] configData: {
  "currentCredits": 51380,
  "accountUnit": 500,
  "defaultPlayerDenom": 10000,
  "playerDenomCount": 4,
  "playerDenom": {
    "0": 163840000,
    "1": 327680000,
    "2": 655360000,
    "3": 655360,
    "4": 65542,
    "5": 655365,
    "6": 1310735,
    "7": 25,
    "8": 0,
    "9": 0,
    "10": 0,
    "11": 0,
    "12": 0,
    "13": 0,
    "14": 0,
    "15": 0
  },
  "defaultPlayerBetLevel": 0,
  "playerBetLevelCount": 0,
  "playerBetLevel": {
    "0": 0,
    "1": 0,
    "2": 0,
    "3": 0,
    "4": 0,
    "5": 0,
    "6": 0,
    "7": 0,
    "8": 0,
    "9": 0,
    "10": 0,
    "11": 0,
    "12": 0,
    "13": 0,
    "14": 0,
    "15": 48
  }
}

This is the current phenomenon, which has been studied for 3 days but is still incorrect. I don't know how to solve it. Thank you for your help!!

The main problems I can see are:

Your JS definition of the EventData struct is wrong, the last member is an array and not a pointer, so it should be data: koffi.array('char', null).
Your structs are packed because of #pragma pack(-1), meaning the members are not naturally aligned. Use koffi.pack() instead of koffi.struct() to define packed struct types.
Instead of using an offset when decoding, refer to eventDataRef.data instead which is what you actually want to decode.

Below you can find your JS code with the necessary changes, although I can't be sure it is enough because I haven't tested your code.
const { ipcMain, BrowserWindow } = require('electron');
const koffi = require('koffi'); //koffi 2.9.2

// load dll
const mySDK = koffi.load('./sdk/NativeSDK_x64.dll');

// define structs
const structs = {
    SDK: koffi.pack('SDK', {
        version: koffi.array('char', 16)
    }),

    EventData: koffi.pack('EventData', {
        code: 'ushort',      // unsigned short
        length: 'ushort',    // unsigned short
        data: koffi.array('char', null)  // char data[]
    }),

    EventGetConfig: koffi.pack('EventGetConfig', {
        currentCredits: 'ulonglong',  // unsigned long long
        accountUnit: 'uint',          // unsigned int
        defaultPlayerDenom: 'uint',   // unsigned int
        playerDenomCount: 'ushort',   // unsigned short
        playerDenom: koffi.array('uint', 16),  // unsigned int[16]
        defaultPlayerBetLevel: 'ushort',    // unsigned short
        playerBetLevelCount: 'ushort',      // unsigned short
        playerBetLevel: koffi.array('ushort', 16)  // unsigned short[16]
    }),
};

//define function from c++
const functions = {
    CreateSDK: 'SDK* CreateSDK()',
    InitializeSDK: 'void InitializeSDK(SDK* sdk)',
    ParseEventToGetConfig: 'bool ParseEventToGetConfig(EventData* data, EventGetConfig* getConfig)',
};

// register functions
for (const [name, proto] of Object.entries(functions)) {
    mySDK[name] = mySDK.func(proto);
}

const PCLIENT_EVENT = koffi.proto('void PCLIENT_EVENT(SDK* sdk, void* sender, EventData* data)');

mySDK.SetEventCallback = mySDK.func('void SetEventCallback(SDK* sdk, void* sender, PCLIENT_EVENT* callback)');

// initialize sdk
function initialize() {
    return new Promise((resolve, reject) => {
        try {
            // step1
            sdkInstance = mySDK.CreateSDK();

            // step2
            const eventCallback = (sdkPtr, sender, eventData) => {
                try {
                    const eventDataRef = koffi.decode(eventData, structs.EventData);
                    console.log('eventDataRef:', eventDataRef);

                    switch (eventDataRef.code) {
                        case Constants.EVENTCODE_GETCONFIG: {
                            // decode eventData
                            const configData = koffi.decode(eventDataRef.data, structs.EventGetConfig);
                            console.log('configData:', configData);
                            break;
                        }
                    }
                } catch (error) {
                    console.log('eventCallback err:', error);
                }
            };

            mySDK.registerEventCallback = koffi.register(eventCallback, koffi.pointer(PCLIENT_EVENT))

            //set callback
            mySDK.SetEventCallback(sdkInstance, null, mySDK.registerEventCallback);

        } catch (error) {
            logger.error('initialize err:', error);
            reject(error);
        }
    });
}

Thank you for your patient explanation. According to your definition of koffi. array ('char ', null) for char [0], I encountered an error after running it。TypeError: Unexpected Null value for length, expected integer

The main problems I can see are:

Your JS definition of the EventData struct is wrong, the last member is an array and not a pointer, so it should be data: koffi.array('char', null).
Your structs are packed because of #pragma pack(-1), meaning the members are not naturally aligned. Use koffi.pack() instead of koffi.struct() to define packed struct types.
Instead of using an offset when decoding, refer to eventDataRef.data instead which is what you actually want to decode.

Below you can find your JS code with the necessary changes, although I can't be sure it is enough because I haven't tested your code.
const { ipcMain, BrowserWindow } = require('electron');
const koffi = require('koffi'); //koffi 2.9.2

// load dll
const mySDK = koffi.load('./sdk/NativeSDK_x64.dll');

// define structs
const structs = {
    SDK: koffi.struct('SDK', {
        version: koffi.array('char', 16)
    }),

    EventData: koffi.pack('EventData', {
        code: 'ushort',      // unsigned short
        length: 'ushort',    // unsigned short
        data: koffi.array('char', null)  // char data[]
    }),

    EventGetConfig: koffi.pack('EventGetConfig', {
        currentCredits: 'ulonglong',  // unsigned long long
        accountUnit: 'uint',          // unsigned int
        defaultPlayerDenom: 'uint',   // unsigned int
        playerDenomCount: 'ushort',   // unsigned short
        playerDenom: koffi.array('uint', 16),  // unsigned int[16]
        defaultPlayerBetLevel: 'ushort',    // unsigned short
        playerBetLevelCount: 'ushort',      // unsigned short
        playerBetLevel: koffi.array('ushort', 16)  // unsigned short[16]
    }),
};

//define function from c++
const functions = {
    CreateSDK: 'SDK* CreateSDK()',
    InitializeSDK: 'void InitializeSDK(SDK* sdk)',
    ParseEventToGetConfig: 'bool ParseEventToGetConfig(EventData* data, EventGetConfig* getConfig)',
};

// register functions
for (const [name, proto] of Object.entries(functions)) {
    mySDK[name] = mySDK.func(proto);
}

const PCLIENT_EVENT = koffi.proto('void PCLIENT_EVENT(SDK* sdk, void* sender, EventData* data)');

mySDK.SetEventCallback = mySDK.func('void SetEventCallback(SDK* sdk, void* sender, PCLIENT_EVENT* callback)');

// initialize sdk
function initialize() {
    return new Promise((resolve, reject) => {
        try {
            // step1
            sdkInstance = mySDK.CreateSDK();

            // step2
            const eventCallback = (sdkPtr, sender, eventData) => {
                try {
                    const eventDataRef = koffi.decode(eventData, structs.EventData);
                    console.log('eventDataRef:', eventDataRef);

                    switch (eventDataRef.code) {
                        case Constants.EVENTCODE_GETCONFIG: {
                            // decode eventData
                            const configData = koffi.decode(eventDataRef.data, structs.EventGetConfig);
                            console.log('configData:', configData);
                            break;
                        }
                    }
                } catch (error) {
                    console.log('eventCallback err:', error);
                }
            };

            mySDK.registerEventCallback = koffi.register(eventCallback, koffi.pointer(PCLIENT_EVENT))

            //set callback
            mySDK.SetEventCallback(sdkInstance, null, mySDK.registerEventCallback);

        } catch (error) {
            logger.error('initialize err:', error);
            reject(error);
        }
    });
}

Thank you for your patient explanation. According to your definition of koffi. array ('char ', null) for char [0], I encountered an error after running it。TypeError: Unexpected Null value for length, expected integer
Then I changed to another way of writing, but still got an error,TypeError: Array length must be positive and non-zero
Is there any other way to write it? Thanks。

Thank you for your patient explanation. According to your definition of koffi. array ('char ', null) for char [0], I encountered an error after running it。TypeError: Unexpected Null value for length, expected integer
Then I changed to another way of writing,koffi. array ('char ', 0), but still got an error,TypeError: Array length must be positive and non-zero
Then switch to the third writing style，koffi.pointer('char'), got an error,ERROR:crashpad_client_win.cc(868)] not connected
Is there any other way to write it? Thanks。

Indeed, my faulty, as it happens support for flexible arrays members is only in Koffi 3.0 (not yet released).
Anyway, we can work around this, use koffi.array('char', 1) because the size does not seem to matter here. Don't use koffi.pointer('char') this is not the same thing at all!
const { ipcMain, BrowserWindow } = require('electron');
const koffi = require('koffi'); //koffi 2.9.2

// load dll
const mySDK = koffi.load('./sdk/NativeSDK_x64.dll');

// define structs
const structs = {
    SDK: koffi.struct('SDK', {
        version: koffi.array('char', 16)
    }),

    EventData: koffi.pack('EventData', {
        code: 'ushort',      // unsigned short
        length: 'ushort',    // unsigned short
        data: koffi.array('char', 1)  // char data[]
    }),

    EventGetConfig: koffi.pack('EventGetConfig', {
        currentCredits: 'ulonglong',  // unsigned long long
        accountUnit: 'uint',          // unsigned int
        defaultPlayerDenom: 'uint',   // unsigned int
        playerDenomCount: 'ushort',   // unsigned short
        playerDenom: koffi.array('uint', 16),  // unsigned int[16]
        defaultPlayerBetLevel: 'ushort',    // unsigned short
        playerBetLevelCount: 'ushort',      // unsigned short
        playerBetLevel: koffi.array('ushort', 16)  // unsigned short[16]
    }),
};

//define function from c++
const functions = {
    CreateSDK: 'SDK* CreateSDK()',
    InitializeSDK: 'void InitializeSDK(SDK* sdk)',
    ParseEventToGetConfig: 'bool ParseEventToGetConfig(EventData* data, EventGetConfig* getConfig)',
};

// register functions
for (const [name, proto] of Object.entries(functions)) {
    mySDK[name] = mySDK.func(proto);
}

const PCLIENT_EVENT = koffi.proto('void PCLIENT_EVENT(SDK* sdk, void* sender, EventData* data)');

mySDK.SetEventCallback = mySDK.func('void SetEventCallback(SDK* sdk, void* sender, PCLIENT_EVENT* callback)');

// initialize sdk
function initialize() {
    return new Promise((resolve, reject) => {
        try {
            // step1
            sdkInstance = mySDK.CreateSDK();

            // step2
            const eventCallback = (sdkPtr, sender, eventData) => {
                try {
                    const eventDataRef = koffi.decode(eventData, structs.EventData);
                    console.log('eventDataRef:', eventDataRef);

                    switch (eventDataRef.code) {
                        case Constants.EVENTCODE_GETCONFIG: {
                            // decode eventData
                            const configData = koffi.decode(eventDataRef.data, structs.EventGetConfig);
                            console.log('configData:', configData);
                            break;
                        }
                    }
                } catch (error) {
                    console.log('eventCallback err:', error);
                }
            };

            mySDK.registerEventCallback = koffi.register(eventCallback, koffi.pointer(PCLIENT_EVENT))

            //set callback
            mySDK.SetEventCallback(sdkInstance, null, mySDK.registerEventCallback);

        } catch (error) {
            logger.error('initialize err:', error);
            reject(error);
        }
    });
}

repo: Koromix/koffi


text:
Parse sourmash results

After running sourmash gather, it outputs a CSV file. This will need to be parsed and put into the same format as that of #7, thus allowing us to compare the predicted functional profile with the true one.

FYI, there is a function that helps us figure out which part of the gather results to concentrate on: HelperFuncs.check_sourmash_correlation(). Initial experiments indicate that f_unique_weighted correlates well with nucleotide_overlap, median/mean_coverage, and reads_mapped


text:
[REFACTO] Newer architecture with a lot of fixes

Changes

Moved HTTP Router and routes to middleware
Moved handlers to separate folder
Made architectural picture, how the code will work
Moved PostgreSQL Envs to Config

Architecture

I haven't seen it here in changes, so I still think it misses the New containers and interfaces to initialize the services.

I've read about interfaces and containers, but i don't see where i can use them. Interfaces basically say which methods the object should have - Effective Go. You can take a look for a good example here.
I don't know what do you mean by "containers".

I haven't seen it here in changes, so I still think it misses the New containers and interfaces to initialize the services.

I've read about interfaces and containers, but i don't see where i can use them. Interfaces basically say which methods the object should have - Effective Go. You can take a look for a good example here.
I don't know what do you mean by "containers".

Actually, they were named constructors.

repo: KostLinux/skeleton-go-web-app


text:
Temporary documentation sitemap solution

While Writerside cannot yet produce a sitemap.xml (for indexability of the documentation website in search consoles), we can add such a file manually. This PR adds a temporary static sitemap file to the documentation website.

Looks good. Can you interactively rebase your branch to squash 3 commits with the same name together? You can also use amend when commiting, makes history a bit easier to read imo.
Also, we'll have to update sitemap manually for now, until writerside comes up with their solution?

Looks good. Can you interactively rebase your branch to squash 3 commits with the same name together? You can also use amend when commiting, makes history a bit easier to read imo. Also, we'll have to update sitemap manually for now, until writerside comes up with their solution?

yep that's right. But unless we add or remove pages we won't have to change it.

authors: Jolanrensen koperagen

repo: Kotlin/dataframe


text:
🛑 Sebastian VmW is down

In 38dcc9d, Sebastian VmW (https://verkaufenmitwerten.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sebastian VmW is back up in c6c882c after 6 minutes.

repo: KrisKodira/uptime-monitor


text:
🛑 Sebastian VmW is down

In fc46506, Sebastian VmW (https://verkaufenmitwerten.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sebastian VmW is back up in e5d7acc after 11 minutes.


text:
Ubuntu 21.10: No Release File

The installation instructions do not work on Ubuntu 21.10 (Impish).
Following these instructions: https://github.com/KrispyCamel4u/SysMonTask#installation
I get the resulting output:
$ sudo add-apt-repository ppa:camel-neeraj/sysmontask
[. . .]
Repository: 'deb http://ppa.launchpad.net/camel-neeraj/sysmontask/ubuntu/ impish main'
Description:
A window like Task Manager for Linux.
More info: https://launchpad.net/~camel-neeraj/+archive/ubuntu/sysmontask
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Adding deb entry to /etc/apt/sources.list.d/camel-neeraj-ubuntu-sysmontask-impish.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/camel-neeraj-ubuntu-sysmontask-impish.list
Adding key to /etc/apt/trusted.gpg.d/camel-neeraj-ubuntu-sysmontask.gpg with fingerprint 6FF464A7A524D6B532AC6ED0499E6345B743746B
[. . .]
Err:8 http://ppa.launchpad.net/camel-neeraj/sysmontask/ubuntu impish Release
  404  Not Found [IP: 91.189.95.85 80]
[. . .]
E: The repository 'http://ppa.launchpad.net/camel-neeraj/sysmontask/ubuntu impish Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

$ sudo apt install sysmontask
[. . .]
E: Unable to locate package sysmontask

$ sudo apt update
[. . .]
Err:8 http://ppa.launchpad.net/camel-neeraj/sysmontask/ubuntu impish Release
  404  Not Found [IP: 91.189.95.85 80]
[. . .]
E: The repository 'http://ppa.launchpad.net/camel-neeraj/sysmontask/ubuntu impish Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

$ sudo apt install sysmontask
[. . .]
E: Unable to locate package sysmontask

Thanks.
This by this weekend it will be available.

Hi,
The build is available now.

Confirmed fixed on Lubuntu 21.10


text:
height modified

Solve issue #59
Before

Now

Adjusted height property to set home page to screen size for mobile screens

could you review the changes by today?

then content should also come in the center

then content should also come in the center

Ok done, have a look at this one

I have fixed it. Could u plz verify since today is the last day of
hacktober :)
On Tue, Oct 31, 2023 at 9:34 AM Kritika Gupta @.***>
wrote:

then content should also come in the center
—
Reply to this email directly, view it on GitHub
https://github.com/Kritika30032002/Top_Secrets/pull/66#issuecomment-1786405912,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKC47CZ4CJJ7GWZ4SU5FJ3YCB2D3AVCNFSM6AAAAAA6WIWGHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBWGQYDKOJRGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

then content should also come in the center

Ok done, have a look at this one

..

Thanks for your valuable contribution.
Don't forget to star the repo.


text:
improve event management

change how ImageModal emits events (all optional)

[ ] closed => to say if ImageModal is closed or not
[ ] visibileIndex => an integer with the index of the displayed image
[ ] lastImage => true/false if it is the last image
[ ] firstImage => true/false if it is the first image

implemented, develop branch.
PS: systemjs demo updated, but not webpack demo

license: mit


text:
feat: CachedRedisStorage will now default to flushing a batch ASAP to…

… reduce the length of time the cache is out of sync with Redis counters.
Setting a flushing_period is still supported to have a delay before flushing which can be useful to reduce the load on the Redis server in exchange for having staler counters in limitador.

yep not need any more.

repo: Kuadrant/limitador


text:
前置阅读 | Pre-reading

[X] 文档/Doc
[X] Issues
[X] FAQ

PicList的版本 | PicList Version
1.9.4
系统信息 | System Information
Mac
问题重现 | Bug reproduce
上传图片到GitHub，图片处理选择转换成webp格式，压缩质量选75。
图片上传成功后，在菜单栏点击图标、以及相册中，图片均不能正常显示
相关日志 | Logs
No response

咦，又自动好了，难道是网络抽风。。。

咦，又自动好了，难道是网络抽风。。。

github用的时候最好挂个代理，国内经常抽风

authors: Kuingsmile xuconnery

repo: Kuingsmile/PicList


text:
Frievald's Algorithm in C, C++, Java & Python

Is your feature request related to a problem? Please describe.
Given three matrices A, B and C, find if C is a product of A and B.
Describe the solution you'd like
- Given three matrices: A (n x m), B (m x k), and C (n x k), where the product of A and B should equal C.
- Choose a random vector x (m x 1) consisting of 0s and 1s.
- Calculate a temporary vector y by performing matrix-vector multiplication: y = A * (B * x).
- Calculate another temporary vector z by performing matrix-vector multiplication: z = C * x.
- Subtract the vectors y and z element-wise.
- If the resulting vector has all 0s, return "Product is correct." Otherwise, return "Product is incorrect."

Additional context

I would like contribute to this issue, please assign this to me.

I would like to contribute please @Kumar-laxmi !

@Kumar-laxmi I would like to contribute, please assign me this issue

Assigned!
@aadya-21 : C, C++, Java & Python

@Kumar-laxmi  Please assign me this issue it will be my first pr i can do it in C++ C python java

@aadya-21 What is your status on this issue?

@aadya-21 What is your status on this issue?

working on it !

repo: Kumar-laxmi/Algorithms


text:
Luma wont update

What model of system are you using?

[ ] Old 3DS
[x] Old 3DS XL
[ ] 2DS (non-XL)
[ ] New 3DS
[ ] New 3DS XL
[ ] New 2DS XL

What is your current Luma3DS version?
If you are running an hourly version of Luma3DS, please manually update to a stable version as I will no longer deal with people who are using hourlies.

[ ] Luma3DS v7.1 + boot9strap v1.0/v1.1
[ ] Luma3DS v8.0 + boot9strap v1.2+
[ ] Luma3DS v8.1 + boot9strap v1.2+
[ ] Luma3DS v8.1.1 + boot9strap v1.2+
[ ] Luma3DS v9.0 + boot9strap v1.2+
[ x] Luma3DS v9.1 + boot9strap v1.2+
[ ] Luma3DS v10.0+ + boot9strap v1.2+

What version of Luma Updater are you using?

[ ] v2.0
[ ] v2.1
[ ] v2.1.1
[ ] v2.1.2
[ ] v2.2
[x ] v2.3
[ ] v2.4
[ ] v2.5

How are you running Luma Updater?

[x] .cia
[ ] .3dsx + HBL/Rosalina

What problems are you experiencing?
Please tell us what problems you are facing. When I try to update the luma updater it crashes and when I skip that update and try to update luma it says im not connected to the Internet but the Internet is working fine on the console
What is the exact error code you are receiving?
Please give the exact error code the app gives you. It isn't giving me an error code
Steps to reproduce

Go to the luma installer
Skip the luma update
Try and update it and I get the message

+1 same hardware, same Luma Updater version.
The error message on the lower screen reads: FATAL: Could not get Location header for 3xx reply
Ret code: ded92

https://github.com/KunoichiZ/lumaupdate/releases
Download the latest lumaupdater.cia and throw it a folder named cias on your microSD card.
Put the microSD card back into your 3DS. Then open FBI app, navigate SD -> cias -> lumaupdater.cia -> Install CIA
Then power off and back on.
Now open Luma Updater and apply the latest version.
Worked for me just now.

#53

It downloaded and the update went fine but some of the apps still don't work which is the whole reason I updated

Thanks for the replies, guys.  I ended up doing the cia process on my own, but wanted to make sure the bug got reported if it were fixable.

@MFGookey The bug is fixable and was already fixed in v2.5.
@maeday5615 That’s not my problem. Bring that up to the Luma3DS devs.

authors: GrimmGringo KunoichiZ MFGookey maeday5615

repo: KunoichiZ/lumaupdate

license: WTFPL


text:
Makes Routes

Is your feature request related to a problem? Please describe.
Make Routes for Flask backend
Describe the solution you'd like
"/contact" should take me to the contact page, and similarly others as well.

I like to work on this

Sure @silenteyesoncode go ahead!

Hey! I would like to work on this. Could you assign this issue to me?

Hey! I would like to work on this. Could you assign this issue to me?

Hey @dwij2212 , currently @silenteyesoncode  is working on this issue, you can work on some other issue till then.


text:
[Enhancement] Remove dead code in the kclvm_parser crate

Enhancement
Remove dead code at

kclvm/parser/src/parser/schema.rs

Close with #421

repo: KusionStack/KCLVM


text:
(Feature Request) Music keyword search brings up multiple choices

This would be a way to have the bot show a list of selections for the search query instead of auto-selecting the first result, which is often not what the user wanted played in the first place.
I've seen this on another bot before and would be a good addition to this one.
An example would be: "!!play nujabes"

Yeah it's possible and not terribly hard to do, but with youtube API it's just a bit annoying and inherits some issues from that. Plus I'm not sure how much faster that is over searching again.
Anyways, I know that feature and I think that it would come after a bigger re haul of the music module first

Yea this is a nice suggestions

Not a priority. After 1.3

I won't do this for 1.42, I'll go through the whole music module soon:tm: to stabilize it and add this too.

Scrap that, seems fun, I'll do it tomorrow as the last thing for 1.42

Was fun to make

authors: Kwoth shikhir-arora wamuzu

repo: Kwoth/NadekoBot


text:
NSFW tag blacklisting is not working

I am a NSFW Mod on a discord server. What we did is type ".nsfwtagbl gore"(without the quotes). When we typed in ".hentai gore" (without the quotes), a picture of hentai with the tag of gore came up. Thanks for reading.

If you're self-hosting, have you tried to clear Nadeko's cache with .nsfwcc?

Nobody in the server hosts the bot.

Can confirm, .hentai does not take the blacklisted tags into mind.

Blacklist is only for nfsw command, not for hentai :man_shrugging:
(says the description of nfswtagbl)

Hentai is an NSFW command.


text:
Changed funcs to open files RDONLY (#42)

Helps multithreaded. Changed
.hdf5.fileSize
.hdf5.dataSize
.hdf5.isAttr
.hdf5.isObject
.hdf5.getDataShape
.hdf5.getAttrShape
.hdf5.readData
.hdf5.readAttrDataset

This is not just for system call to access file, but how hdf5 tracks files & what they are being used for (when they add in protection around multi-threading/etc)


text:
Wrong value type in config file.

line 23 (max-speed) only accepts int value instead of float value, and thus only whole numbers can be used here
only mentioned this cos the provided example above this line mentions the default max speed for players, which is a float value

v1.14.10 uses double now

authors: Entrodor KyTDK

repo: KyTDK/NeoPerformance


text:
进程已结束,退出代码-1073740791 (0xC0000409)

您好，我在训练的时候，刚开始就出现这个错误，不知道您之前遇到过没？如果没遇到的话，抱歉打扰您了

没有呢
---- 回复的原邮件 ----
| 发件人 | @.> |
| 日期 | 2022年07月01日 01:35 |
| 收件人 | @.> |
| 抄送至 | @.***> |
| 主题 | [KyanChen/BuildingExtraction] 进程已结束,退出代码-1073740791 (0xC0000409) (Issue #6) |
您好，我在训练的时候，刚开始就出现这个错误，不知道您之前遇到过没？如果没遇到的话，抱歉打扰您了
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

authors: ChenHongyu-bo KyanChen

repo: KyanChen/BuildingExtraction


text:
Add Indonesia translation

Hi, thanks for the great app!
I added Indonesia translation into this app, feel free to review my changes.
Thank you.

Hi @atticdev , thanks so much for your contribution!

authors: KyleKun atticdev


text:
Overlay will randomly stop working after last update

I am trying to reproduce the issue but its hard. Some time it will happen after the first price check. After pressing CTRL+D it will simply not come up with the overlay window. Other times it will stop after 3 or 4 price check. As I like using my default browser maybe that is the issue? After pressing CTRL+Click it gets stuck somewhere?
Mouse scroll wheel randomly stops working too. Tried restarting the tool and PoE few times.

I think i figured it out. Try pressing ALT + any key if this happens (while game is focused). Basically the ALT state got stuck by using ALT+TAB.

0.5.0-alpha.0 should fix this. Please let me know if it is!

This was indeed a case of ALT stucking on ALT+TAB. Thanks for fixing so quick.


text:
Suggestion: PoE Overlay Evaluate "Adds (setableNumber)-(setableNumber) passive skills" to cluster jewels

When using the PoE Overlay Evaluate on a cluster jewel, there is no way to set the specific number.
So if I had a cluster jewel with "Adds 4 passive skills", there would be no way to make the evaluate cluster jewels show 4-5 passive skills.
Which is really annoying because then I would have to actually look up the price on poe trade.

Hi, I've create a short gif on how to change the filter values and enabling it. Please let me know if this helps. 👍

In order to modify the range you scroll while hovering.

Holding Alt will change the step size to 0.1
Holding Shift will change the step size to 5

Value can be enable by Right Click
Value can be reseted by Wheel Click


text:
Allow use of env-variables in (dynamic)LambdaNode

Should allow usage as eg.
s("transform", {
	l(l.TM_SELECTED_TEXT:gsub("a", "e"), {}),
}),

@leiserfg What do you think of the implementation? I'm still not that sure around lambdas, so no idea if this is the best way to do it.

Why not an  l.env var that gives access to the snippet environment instead so we can add other vars without fearing collisions later?

Tbh only because I was planning to expose captures in a similar fashion eg. l.CAPTURE1 (l.captures[1] or similar wouldn't work if I understand correctly) and then having env in its own table would've been weird.
What kind of collisions are you fearing? All-caps should be pretty safe.

Also, it's a bit shorter, but that's not really a good argument against some namespacing.

Tbh only because I was planning to expose captures in a similar fashion eg. l.CAPTURE1 (l.captures[1] or similar wouldn't work if I understand correctly) and then having env in its own table would've been weird.
What kind of collisions are you fearing? All-caps should be pretty safe.

Well, that's true, giving that the idea to type less, having then as uppercase should be good enough.

Tbh only because I was planning to expose captures in a similar fashion eg. l.CAPTURE1 (l.captures[1] or similar wouldn't work if I understand correctly) and then having env in its own table would've been weird.
What kind of collisions are you fearing? All-caps should be pretty safe.

Actually nvm that, we can also expose captures with __index and return the appropriate values there.

I don't have a big preference between l.env.VARNAME and l.VARNAME, I feel like l.env contains a bit of duplicate info (uppercase somewhat indicates that it is a env-variable), but it would also be a bit closer to the actual data in the snippet (snip.env.VARNAME, snip.captures[1]).
l.VARNAME is a bit shorter to type, maybe that's actually not as little an advantage as the lambdaNodes are for comfort, so sticking with that for now.
The actual implementation seems alright to you?

I would prefer not to touch _lambda.lua so it has no knowledge of the rest of the code. But I couldn't come with a way to pass the snip to the generated function without having to do so.

Very true.
We could probably change it so that even _1, _2,... don't directly refer to parameters of the function, but to a table passed to it. That would allow us to set the __index of that table to search the snippet, which could be done outside of _lambda.
Downside would be that we lose the ability to do l.captures[n]

(missclick)

With that we diverge a bit from the original and manual usage of these lambdas would be more cumbersome, but that's alright.
Afaict it didn't break anything+we have more separation.

As far as it does not break old snippets... all good!

By the way, I extended the snippet parser from archseer  so it does not break with regexes containing escapes, the code is  here
https://github.com/leiserfg/LuaSnip/blob/parser_combinator/lua/luasnip/loaders/parser.lua
I have not done a PR as it will require also creating the snippet from the AST, so feel free to use it or I will try to do it myself later.

By the way, I extended the snippet parser from archseer so it does not break with regexes containing escapes, the code is here
https://github.com/leiserfg/LuaSnip/blob/parser_combinator/lua/luasnip/loaders/parser.lua
I have not done a PR as it will require also creating the snippet from the AST, so feel free to use it or I will try to do it myself later.

Ohhh, sick. Best shoot the guys at nvim a message on the vim.lsp.util.parse_snippet-issue, perhaps they will still want to use a modified version of archseers' parser if someone already wrote it :D
There has so far not been any concrete discussion about the AST (although the generated trees probably wouldn't differ by too much), right? It would be really nice to use your implementation now and then switch to nvims' later on.


text:
Build issues

I have some build issues.Please help me to solve these issues, thank you!
Like this:
[100%] Built target carla_l5player_pid_controller_node
Aborted  <<< carla_l5player_pid_controller [6.37s]
Summary: 15 packages finished [18.2s]
1 package failed: carla_l5player_nop_with_python_script
10 packages aborted: carla_ackermann_msgs carla_l5player_aeb_with_python_script carla_l5player_lqr_pid_controller carla_l5player_lqr_pid_controller_waypoint carla_l5player_mpc_controller carla_l5player_pid_controller carla_l5player_pid_new_controller carla_l5player_stanley_pid_controller carla_ros_bridge rviz_carla_plugin
13 packages had stderr output: carla_ad_agent carla_common carla_l5player_aeb_with_python_script carla_l5player_bridge_ego_vis carla_l5player_nop_with_python_script carla_manual_control carla_ros_scenario_runner carla_spawn_objects carla_twist_to_control carla_walker_agent carla_waypoint_publisher ros_compatibility rqt_carla_control
3 packages not processed

Now, I have a new issues:
[0.555s] ERROR:colcon.colcon_core.extension_point:Exception loading extension 'colcon_core.shell.zsh': cannot import name 'OVERRIDE_OPT' from 'em' (/home/zjq/anaconda3/envs/car0.9/bin/em.py) The Python package 'empy' must be installed and 'em' must not be installed since both packages share the same namespace
Traceback (most recent call last):
File "/home/zjq/anaconda3/envs/car0.9/lib/python3.8/site-packages/colcon_core/extension_point.py", line 166, in load_extension_points
extension_type = load_extension_point(name, value, group)
File "/home/zjq/anaconda3/envs/car0.9/lib/python3.8/site-packages/colcon_core/extension_point.py", line 207, in load_extension_point
return EntryPoint(name, value, group).load()
File "/home/zjq/anaconda3/envs/car0.9/lib/python3.8/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/home/zjq/anaconda3/envs/car0.9/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 843, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/zjq/anaconda3/envs/car0.9/lib/python3.8/site-packages/colcon_zsh/shell/zsh.py", line 13, in
from colcon_core.shell.template import expand_template
File "/home/zjq/anaconda3/envs/car0.9/lib/python3.8/site-packages/colcon_core/shell/template/init.py", line 19, in
raise e from None
File "/home/zjq/anaconda3/envs/car0.9/lib/python3.8/site-packages/colcon_core/shell/template/init.py", line 10, in
from em import OVERRIDE_OPT
ImportError: cannot import name 'OVERRIDE_OPT' from 'em' (/home/zjq/anaconda3/envs/car0.9/bin/em.py) The Python package 'empy' must be installed and 'em' must not be installed since both packages share the same namespace

license: Unlicense


text:
블록체인에서 데이터 저장하고 가져올 때 기준 문자로 자르기

??? {ddd} 이런 식으로 중괄호로 감싸서 안정성을 높이자

@junhoyeo 이건 지난번에 시연할때 안정성 떨어졌지? 그거 해결하는 거임

repo: LAB-C/BISS-Blockchain


text:
I can't install the integration ¯_(ツ)_/¯

Hello. For some reason I can't install this integration. HACS just doesn't have it. Then I tried to install manually, but it didn't help either, it doesn't appear after restarting HA. What could be the problem?

Oh, I had to add this as a custom integration, through three dots in the upper right corner in HACS, and it worked.

Nah. It still doesn't work. Even though I managed to install the integration, it still doesn't work. This is not in the list of integrations. No new services have appeared. I can't create a notification through this service, because it doesn't exist. Reinstalling via the HACS didn't help((
Here is the video:
https://disk.yandex.ru/i/gA5dSrr4s6tbjg

Of course, I don't understand much, but isn't it better to use not a separate service for projecting notifications on Windows, but something that will simply reflect persistent notifications? It would work even without the internet.

Hi @FiftyFour7250, thank you for the extensive report! You can ignore my reply here, since you already managed to install.
You have to add the notification entity first, as described here:
notify:
  name: "hass agent test device"
  platform: hass_agent_notifier
  resource: http://{device_ip}:5115/notify

Restart your Home Assistant instance, and afterwards you can add the new entity in your scripts and automatoins. So you don't have to call the integration directly.
Regarding your persistent notifications tip; this method also doesn't require internet. It goes from your Home Assistant instance directly to your machine, no external servers required. But I do plan on making notifications easier to use - now that this version's released, I'll start looking into better ways that don't require tinkering with ports. Thanks!

Hi @FiftyFour7250, please remove & reinstall the integration. I noticed Home Assistant didn't like the folder name, so I changed it to be more compliant. After reïnstalling, the snippet I posted will work.
Be sure to change the IP to your device's ip, and open the port in your firewall. You can run the following command from an elevated promt if you want:
netsh advfirewall firewall add rule name="HASS.Agent Notifier" dir=in action=allow protocol=TCP localport=5115

Yea, thanks it worked.
For posterity: "device IP" - is the local IP address of your computer
To open the port, just run the command prompt as an administrator, and paste the line from the last message

Good to hear, thanks for the feedback! I'll have a look at the documentation to see if it can be made more clear.


text:
🛑 Metro API is down

In bd56490, Metro API (https://api.metro.net) was down:

HTTP code: 502
Response time: 9875 ms

Resolved: Metro API is back up in 70e5d9a after 7 minutes.

repo: LACMTA/uptime


text:
Db shrink optimization

tested

Are this db changes compatible with the old database? Have you tested update from the current dev chain to this new one?

sorry, forgot about it. will test

Are this db changes compatible with the old database? Have you tested update from the current dev chain to this new one?

sorry, forgot about it. will test

tested

repo: LATOKEN/lachain


text:
Tiempo de carga de la información en la sección de grupos

La información de la pagina de grupos se demora en cargar. Es necesario o mejorar la velocidad o poner un reloj para que la gente sepa que esta calculando.

Disminuir tiempo de carga de la información de la sección de grupos. Poner un indicador de actividad (reloj) cuando el sistema este ocupado cargando datos

Se realizo una limpieza y simplificación de algunas consultas que cargaban con la página inicial de grupos. De igual forma se realiza un llamado al servicio de especies para precargar los nombres de forma asíncrona lo cual disminuye el tiempo al ingresar a la pestaña Especies. Queda pendiente seguir midiendo los tiempos de espera en Tareas y Usuarios.


text:
Mttl 219 create search index db

Link to JIRA ticket
https://hackney.atlassian.net/browse/MTTL-219
Describe this PR
What is the problem we're trying to solve
Setting up the TF infrastructure for Elastic Search
What changes have we introduced
Changed the existing terraform files to reflect the changes we wish make for our search api Elastic DB.
Checklist

[x] Checked all code for possible refactoring
[x] Code pipeline builds correctly

Yes it should be (I hope it is at least), did I miss any environment-related variables?

No, It looks fine to me

repo: LBHackney-IT/search-api


text:
tests for more functionality of editor tab with loaded profile

The meat of this ticket is 6bc2bf0 (last commit).  The first 3 commits are small tweaks to help us write and debug tests that I hope aren't objectionable.
I captured all the undone testing I could think of re: functionality in separate issues.
Resolves #53

Coverage remained the same at 0.0% when pulling 9bc69e30595964b283b6a6ebbb62611bed5a6cd8 on editor-loading-profiles into bc59b376eb61303842c7dd749b551c8ba9bc8f31 on master.

authors: coveralls ndushay


text:
When invoke job, warn if files missing

Force the person to use the -Force keyword in these cases.

Not sure what this is referring to, so deep-six it.

repo: LHCAtlas/AtlasSSH


text:
TypeError: null is not an object (evaluating 'this.button.blur')

https://sentry.internal.kevinlin.info/sentry/linkr-demo/issues/69/
TypeError: null is not an object (evaluating 'this.button.blur')
  at value (/:3:120625)
  at value ([native code])
  at E (/:3:304838)
  at r (/:3:280414)

Retroactive; resolved with 1051866fa176a2d636afde1891758a13ab6a4842

repo: LINKIWI/linkr


text:
[Exploratory] Mpi consistency

Tested in openmp mode on quartz, lassen and tioga, pascal and x86 (nosite)

Superseded by current work.

repo: LLNL/benchpark


text:
Add a function for creating an NDCube with a single WCS from a list of images in time

Co-aligning a stack of images to a common WCS is a common task. We should have a function that, given a target WCS, reprojects a list of images to that target WCS and adds an additional axis to that WCS corresponding to the time dimension. Without performing interpolation, this time axis will, generally speaking, be irregularly spaced (even at the nominal AIA cadence, not accounting for dropouts and/or small deviations) and as such the resulting WCS will have to be a non-FITS WCS. This example gallery entry illustrates how to deal with this case with a wavelength axis, but this can be straightforwardly adapted to deal with the time case.
Things to decide:

What is the input data structure? List of Maps? Sequence? An NDCube sequence?
Do we want an ndcube dependency? If not what should this return?
Should this return a MapSequence instead? There would be no time axis in that case.

See also sunpy/sunpy#7676 for a similar issue about creating an example gallery entry for this kind of workflow.

When writing such a function, we should remember that there may be serious performance considerations to take into account, e.g. reprojecting 6 h worth of full-cadence/resolution data is going to be computationally expensive. As such, when writing this function, we should be conscious of allowing ways for this operation to scale (e.g. with dask), but also not requiring them.
Another thing to consider: should such a function necessarily live in aiapy? This has broad use cases outside of just AIA. That being said, something like this would certainly be too specific for ndcube.

repo: LM-SAL/aiapy


text:
Ranobelib duplicates of all chapters after updating to 1.1.15

Source information
Ranobelib
Steps to reproduce

Update any light novel from ranobelib.me in 1.1.15 version.

Expected behavior
Searches for new chapters.
Actual behavior
After updating it shows duplicates of all chapters as new chapters, with the same dates and titles. There were issues before when the app got confused by different translations of the same light novel, but this is not it.
LNReader version
1.1.15
Android version
13
Other details
I am not sure if this error is with the app (since it appeared with an update) or with the source, so I may post it in the app repository if I get no answer in a while.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 1.1.12.
[X] I have updated all installed extensions.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

It's expected since the url of the chapters have changed.
You could remove the novels from library, clear database in advanced settings and add them again.

authors: Naironic rajarsheechatterjee

repo: LNReader/lnreader-sources


text:
Kolnovel new domain

Steps to reproduce
Kolnovel changed there domain
Expected behavior
Changed domain
Actual behavior
https://kolbook.xyz/
LNReader version
Stable 2.0.0
Android version
Android 14
Device
Oppo Reno 11
Other details
New domain
https://kolbook.xyz/
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with a source, I should be opening an issue in the sources repository.
[X] I have updated the app to version 2.0.0.
[X] I will fill out all of the requested information in this form.

I have the same issue i don't know how to read

If this is an issue with a source, I should be opening an issue in the sources repository.

repo: LNReader/lnreader


text:
[Search Results] Web Resources should be saved and need to display in my plan page.

From @turpu-rakesh on July 12, 2018 14:52
#221  Save Resources to user profile.
Copied from original issue: Microsoft/Access2Justice#229

Item is still not fixed.

@KellyeDC @grawdon - There still appear to be issues.  I tested the following after logging in:

Save - Nothing happens
Share - send link - I could enter my email address and it appeared to do something but no email arrived in my inbox with the link.  I tried both my lsc and gmail emails.
Share - copy link - I successfully copied the link and pasted it into a new browser, but the page continued to load for a very long time and never actually successfully loaded.

Correct @breeglej   I returned this to the backlog because it wasn't resolved and failed testing but needs to be prioritized.  We can move this to candidate for next sprint.

This worked for me. I was able to save Articles and Topics.

authors: KellyeDC aroubin breeglej grawdon svasylenko

repo: LSCOIT/LegalNavigator


text:
Admin portal status message needs to change

[ ] Admin portal status message needs to change

Text should read:
Statuses can only be updated forward towards completion

Hi Sherazad, there are two confirmation messages.
This is related to the following issue:
https://github.com/LSFLK/MedicinesforLK/issues/307#issuecomment-1202571840

authors: jayasanka-sack nshamit

repo: LSFLK/MedicinesforLK


text:
Stack Club Course Syllabus

This is a "work in progress" PR for issue #124
Ready for review

I think this is good to merge to get us started, and then we can improve it based on the consultation with Jim Bosch. It certainly helped Greg and me get the new members started yesterday - thanks!

authors: drphilmarshall kadrlica

repo: LSSTScienceCollaborations/StackClub


text:
Broken. Needs revamp?

Is re-scoped-model broken per Readme? Or is it just the codesandbox build?
Seems package and example build locally.
Thank you, sir.

Sorry for the late reply. I checked out the CI logs and it seems that the codesandbox build is broken, as Parcel cannot resolve the react library. I need to check this out, thank you!

Nice. Well done, @LXSMNSYC

authors: LXSMNSYC idkjs

repo: LXSMNSYC/scoped-model


text:
Added to string array and from string array.

FIx #32

Bleep bloop!
LabVIEW Diff Robot here with some diffs served up hot for your pull request.
Notice something funny? Help fix me on my GitHub repo.
TBM module configuration.lvclass--from string array.vi.png:
TBM module configuration.lvclass--from string.vi.png:
TBM module configuration.lvclass--to string array.vi.png:

Looks good

authors: DCAF-Builder becega jbellamyNI

repo: LabVIEW-DCAF/ModuleInterface


text:
Não consigo concluir os exercícios

Não estou conseguindo concluir os exercícios, o sistema não deixa eu refazer, lá aparece que eu já fiz três de três e não me permite refazer, e eu não consigo enviar o teste para vocês, estou recebendo bastante mensagem pedindo para eu finalizar mais não estou conseguindo vocês pode me ajudar

Olá, @Melaraujoco. Você pode entrar em contato pelo e-mail selecao@laboratoria.la

authors: JulianaFacciolla Melaraujoco

repo: Laboratoria/tech-support


text:
Move .pyuscope to $XDG_CONFIG_HOME/pyuscope/config

This would also allow us to store some other application specific data there beyond a simple file
"If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used."
"If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used."

If we are cleaning this up we might also consider if there is a better place to put scans and such. ie something like ~/Documents/pyuscope or something of that sort

repo: Labsmore/pyuscope


text:
Homebrew Support

Would be awesome to add Homebrew support so as new versions are released it will be easier to upgrade to that newer version as well as making it easier for new users to download the utility for the first time.

now supported :)

authors: Ladicle mitchellmaler

repo: Ladicle/kubectl-bindrole


text:
Heapsort added

Related Issue

HeapSort Algorithm Added #1019

Proposed Changes

HeapSort Algorithm Added

Checklist

[x] ✅ My code follows the code style of this project.
[x] 📝 My change requires a change to the README.
[ ] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

review @Lakhankumawat

HeapSort is already there , Where is readme?

solved

repo: Lakhankumawat/LearnCPP