Azure synapse Cli: ImportError: cannot import name 'RoleAssignmentOptions'

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
When running az synapse role assignment list --workspace-name 'workspacename' in my ubuntu wsl and getting the below error

Command arguments: ['synapse', 'role', 'assignment', 'list', '--workspace-name', 'usedctoardwsa0k', '--debug']
Event: Cli.PreExecute []
Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7f4960a1fd90>, <function OutputProducer.on_global_arguments at 0x7f4960a87d90>, <function CLIQuery.on_global_arguments at 0x7f49609e80d0>]
Event: CommandInvoker.OnPreCommandTableCreate []
Modules found from index for 'synapse': ['azext_synapse', 'azure.cli.command_modules.synapse']
Loading command modules:
Name                  Load Time    Groups  Commands
synapse                   0.039        22        89
Total (1)                 0.039        22        89
These extensions are not installed and will be skipped: ['azext_ai_examples']
Loading extensions:
Name                  Load Time    Groups  Commands  Directory
synapse                   0.034        10        39  /home/jayendran/.azure/cliextensions/synapse
Total (1)                 0.034        10        39
Loaded 22 groups, 89 commands.
Found a match in the command table.
Raw command  : synapse role assignment list
Command table: synapse role assignment list
Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7f49607aeae8>]
az_command_data_logger : command args: synapse role assignment list --workspace-name {} --debug
metadata file logging enabled - writing logs to '/home/jayendran/.azure/commands'.
Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x7f4960763b70>, <function register_global_query_examples_argument..register_query_examples at 0x7f49606e3ae8>]
azure.cli.core.util.handle_exception is called with an exception:
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 215, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 553, in execute
self.commands_loader.load_arguments(command)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 478, in load_arguments
self.command_table[command].load_arguments()  # this loads the arguments via reflection
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 310, in load_arguments
super(AzCliCommand, self).load_arguments()
File "/opt/az/lib/python3.6/site-packages/knack/commands.py", line 106, in load_arguments
cmd_args = self.arguments_loader()
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 787, in default_arguments_loader
op = handler or self.get_op_handler(operation, operation_group=kwargs.get('operation_group'))
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 827, in get_op_handler
op = import_module(mod_to_import)
File "/opt/az/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/synapse/operations/accesscontrol.py", line 7, in
from azure.synapse.accesscontrol.models import RoleAssignmentOptions
ImportError: cannot import name 'RoleAssignmentOptions'

cli.azure.cli.core.azclierror : CLIInternalError: The command failed with an unexpected error. Here is the traceback:
CLIInternalError: The command failed with an unexpected error. Here is the traceback:
cli.azure.cli.core.azclierror : cannot import name 'RoleAssignmentOptions'
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 215, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 553, in execute
self.commands_loader.load_arguments(command)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 478, in load_arguments
self.command_table[command].load_arguments()  # this loads the arguments via reflection
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 310, in load_arguments
super(AzCliCommand, self).load_arguments()
File "/opt/az/lib/python3.6/site-packages/knack/commands.py", line 106, in load_arguments
cmd_args = self.arguments_loader()
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 787, in default_arguments_loader
op = handler or self.get_op_handler(operation, operation_group=kwargs.get('operation_group'))
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 827, in get_op_handler
op = import_module(mod_to_import)
File "/opt/az/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/synapse/operations/accesscontrol.py", line 7, in
from azure.synapse.accesscontrol.models import RoleAssignmentOptions
ImportError: cannot import name 'RoleAssignmentOptions'
cannot import name 'RoleAssignmentOptions'
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 215, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 553, in execute
self.commands_loader.load_arguments(command)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 478, in load_arguments
self.command_table[command].load_arguments()  # this loads the arguments via reflection
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 310, in load_arguments
super(AzCliCommand, self).load_arguments()
File "/opt/az/lib/python3.6/site-packages/knack/commands.py", line 106, in load_arguments
cmd_args = self.arguments_loader()
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 787, in default_arguments_loader
op = handler or self.get_op_handler(operation, operation_group=kwargs.get('operation_group'))
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 827, in get_op_handler
op = import_module(mod_to_import)
File "/opt/az/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/synapse/operations/accesscontrol.py", line 7, in
from azure.synapse.accesscontrol.models import RoleAssignmentOptions
ImportError: cannot import name 'RoleAssignmentOptions'
To open an issue, please run: 'az feedback'
Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f49607aed08>]
az_command_data_logger : exit code: 1
Command ran in 6.629 seconds (init: 0.995, invoke: 5.634)
Suppress exception:
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/azure/cli/main.py", line 60, in
raise ex
File "/opt/az/lib/python3.6/site-packages/azure/cli/main.py", line 53, in
sys.exit(exit_code)
SystemExit: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/decorators.py", line 74, in _wrapped_func
return func(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/telemetry.py", line 482, in _get_session_id
process = psutil.Process()
AttributeError: module 'psutil' has no attribute 'Process'

telemetry.save : Save telemetry record of length 11874 in cache
telemetry.check : Negative: The /home/jayendran/.azure/telemetry.txt was modified at 2020-11-10 21:03:34.412215, which >>> in less than 600.000000 s

To Reproduce

Expected behavior

Environment summary
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:        20.04
Codename:       focal
Additional context

synapse

The installation was went wrong. Once I reinstalled the azure cli correctly all working fine now. So closing this issue


Refine fast-jit load func pointers

Copy fast jit function pointers array from wasm module into wasm
module instance, and load fast jit func pointer from module instance
instead wasm module, so as to reduce one load operation when callbc.

LGTM


Update all form versions on formfields

Resolves: #150
Update all form versions to 4.0 in the formfields

Will update release version after review

Form fields with Completed UIs that have not already been changed to 4.0 have been adjusted
A quick note:
I updated A4G and A4D form fields to 4.0, as they seemed to be all part of the A4 form? Just let me know if I interpreted this incorrectly.


Windows installation bug

Same issue and same console error on Windows 10 Home v2004 build 19041.630 using version 29 of alpha.
Possibly triggered by the following commit: b1e6235
working version of alpha (28) does not contain any migrations properties but the above commit looks like it added a migrations property which is causing it to hit a fail condition when it cannot find the projectVersion.

Solved at https://github.com/thenewboston-developers/Account-Manager/pull/484

@buckyroberts same issue here. Blank screen on starting the app.
PS: I am an old watcher of thenewboston, nice to see you back with such an amazing project :)


*: drain http.Response.Body before closing

Draining the body prevents the TCP/TLS connection from closing
and makes the connection available for reuse.

Won't do much speed-up since this is not in the critical path, I think. *_1 is the one with this patch. At least no regression?

(Reference https://github.com/google/go-github/pull/317#issue-143835628)

@xiang90 PTAL.

@xiang90 PTAL. Thanks!

LGTM after tests pass.

My goimports didn't work. Fixed. Will merge after green lights. Thanks!


Cannot use a SystemTime

I write a DLL with Rnet and I want to get a SystemTime in argument of my function. How can I do?

This is not natively supported - you can convert the system-time to an integer number of seconds by subtracting the UNIX_EPOCH and then pass that though.


onCreate missing

Could you add the onCreate function to the $firebaseAuth() function?
See the following triggers:
https://firebase.google.com/docs/functions/auth-events#trigger_a_function_on_user_creation
Regards,
Thomas

Hi @thomas-vl! This is only for the firebase-functions server SDK. If you create a user with the client SDK it will trigger this event on the server.


auto close does not work once you reach the time control of datetimepicker

use example here: https://gijgo.com/LiveEdit/Index/getting-started.html?component=DateTimePicker#
set footer = false, modal = false
auto close works for the calendar, but does not for the time


Provide a way to specify a custom backoff function for retried jobs.

This PR provides a solution for issue #11. Unit tests included and passing :-)

Hi! Something wrong with the PR? Any comments?


Erase effect?

Hello,
This is not a bug report. I just wonder if it is possible to have the erase effect. Les say Im drawing a rectangle with 4 paths and when I reach path 2 I want to start erasing path 1 so it looks kinda like a the rectangle is drawn more at the end and erased at the beginning.

Mmmm.. I'm not sure to understand what you want to achieve. Can you draw something, or make a schema please?
Also, because this is not a bug, let's continue on Gitter.


ci(components): enable npm publish

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@0591223). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #237   +/-   ##
=======================================
  Coverage        ?   93.88%
=======================================
  Files           ?       27
  Lines           ?      278
  Branches        ?        4
=======================================
  Hits            ?      261
  Misses          ?       15
  Partials        ?        2

Flag
Coverage Δ

unittests
93.88% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0591223...e23915c. Read the comment docs.


SetDebugErrorFilterX

Hi,
in renderer_d3d12.cpp, what are the hex error codes in the 1st parameter? What do they stand for? Where do they come from?
ie: 0x73EC9EAF
Could not find anything much in the GDK....

Issue tracker is ONLY used for reporting bugs, for everything else please use Discord: https://discord.gg/9eMbv7J


Update min version Serilog for usage in Asp.net 5 project

issue #3

#3 mentions .NET core.
If you are trying to use this with .NET core then I don't think this will work since it's still referencing dlls from and building against .NET4.5.
I'm not an expert in .NET core though so happy to be proven wrong.

You are right with the .net core will not work, but will work with dnx451 within asp.net 5

I'm happy with this if you are @nblumhardt.
I note the serilog version it depends on is a beta though - is that an issue?
How do we make sure there is a major version bump in this library or does the build server automatically match it to the serilog version?

We'll need to open a dev branch in this repo; I'll pull the PR into it when I have a chance later today :+1:

This is merged to dev, I'm working on getting a 2.0.0-beta* build out of it. The PR won't show up as merged until it hits master; I'm changing the repo's default branch now to use dev for future PRs.

Done! 2.0.0-beta-20 is now on NuGet :-)

Nice!

On 26 Apr 2016, at 10:00 am, Nicholas Blumhardt<EMAIL_ADDRESS>wrote:
Done! 2.0.0-beta-20 is now on NuGet :-)
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub


password protect the port

Implemented basic HTTP basic auth functionality (issue #11 ) to password protect the port. Here's the sample conf file used for authentication,
basic_auth_enabled: true
username: admin
password: secret

Please support


Build Dart from Source on Centos 6.5

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?
1.gclient config http://dart.googlecode.com/svn/branches/bleeding_edge/deps/all.deps
2. gclient sync
3.Bang!!
What is the expected output? What do you see instead?
Updated to revision 30973.
Syncing projects:  97% (33/34), done.hird_party/gyp
________ running '/usr/bin/python dart/tools/compiler_scripts/generate_my_projects.py' in '/home/Steve/dart'
________ running '/usr/bin/python dart/editor/build/generate_sources.py' in '/home/Steve/dart'
________ running '/usr/bin/python dart/tools/gyp_dart.py' in '/home/Steve/dart'
Traceback (most recent call last):
  File "dart/third_party/gyp/gyp_main.py", line 18, in <module>
    sys.exit(gyp.script_main())
AttributeError: 'module' object has no attribute 'script_main'
Error: Command /usr/bin/python dart/tools/gyp_dart.py returned non-zero exit status 1 in /home/Steve/dart
[Steve@charlie dart]$
What version of the product are you using? On what operating system?
dart svn revision 30973.
cat /etc/*release
CentOS release 6.5 (Final)
LSB_VERSION=base-4.0-ia32:base-4.0-noarch:core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Please provide any additional information below.
I can't find a complete redhat/centos/Fedora install from source guide in any google search. I'm trying to build from source as I face the gclib 2.15 issue, so pre-built zipped dart-editor for linux fails to run.

At this point, this issue doesn't seem be... about anything specific. Close?


mail/rspamd: fix permissions and add sender whitelisting

Closes #1353
Also adds global sender whitelisting

Can we hold off on this .. rspamd made some version jumps in the form of 1.9.x and it probably needs some setup.sh foo for user management (changed to rspamd user/group)

Let's merge this for now.
There is a specific option to respect the SPF value, but if a sender doesn't have a SPF there's no way to whitelist. Problem I see here is, that mostly the other side is just a user complaining and not the administrator responsible for the domain.
https://rspamd.com/doc/modules/whitelist.html#whitelist-rules-modes

done


combinate it with PFA-Pose

Thanks for your greate work
how you combinate it with PFA-Pose， can you give some advice or code?
thanks

Hey, thanks for your interest. PFA-Pose uses WDR-Pose for pose initialization. To combine RADet with PFA-Pose, we run WDR-Pose on the cropped patch according to the detected bounding box by RADet.

thanks for your reply
If I want to combine RADet with PFA-Pose, do I have to use WDR-pose? Is that what you mean?
in this paper chapter 4.2，you mention "The original PFA-Pose cannot handle multiple instances from the same class, making it inapplicable to some datasets. So we only reproduce its results on LM-O and YCB. "
you combine RADet with PFA-Pose.
in the nest paragraph, "To demonstrate its generalization ability, we test our detection method
on YCB with two other typical pose regression networks,WDR-Pose [19] and CDPNv2 [26]. Table 6 provides the
results, evidencing that our detection method consistently improves the pose results" ,
you combine RADet with WDR-Pose，too.
Aren't the PFA-Pose and WDR-Pose independent?

No, for the above one you mentioned, PFA-Pose is combined with the original WDR-Pose which can not handle multiple instances. If we combine RADet with WDR-Pose(PFA-Pose), RADet can handle the case with multiple instances.

Thank you so much.
i want to re-implement RADet with the PFA-Pose.  but there is no demo combined RADet with the PFA-Pose in your git repository.
I found the open source link of the PFA-Pose，https://github.com/cvlab-epfl/perspective-flow-aggregation , In your paper, you mentioned that bbox needs to be passed to the PFA-Pose. Is there any other information that needs to be passed? Do I need to make a lot of modifications to the code of the PFA-Pose to adapt to RADet?

No. We only re-implement WDR-Pose to intergerate it into PFA-Pose pipeline and keep the PFA-Pose refinement module. In the future, we will open-source the re-implemented WDR-Pose. But you can also try to re-implement it by yourself. Basically, you need to first crop the patch according to the detected bbox and resize to a fixed resolution. And WDR-Pose should be re-trained in this new setting.

thanks for your reply. maybe give it a try.

Hey, in our latest work Pseudo Flow Consistency for Self-Supervised 6D Object Pose Estimation,  we combine WDR-Pose with RADet for pose initialization. We will open source the re-implemented WDR-Pose in this code repo in next few days, please stay tuned.

We have released the code for combining RADet with WDR-Pose here. Please check!

nice!


handle nested java dirs, such that we can build up correct projects

I have no idea why it can't leave the comment https://github.com/fabianvf/windup-rulesets-yaml/actions/runs/4702327623/workflow?pr=24#L11-L12

I'll be the bot
Overall success rate: 73.53% (1636/2225)


Project URL  Wrong in packages

it links the manifest not the git page

Thank you - should be fixed now. Also, added PF2E as a required system.


Using types from another module as generic type argument

We might have talked about this before, but I have forgotten what our story here is.
Consider this scenario: an entry-point shader ForwardPass_vs and ForwardPass_ps are defined in ForwardPass.slang, where it defines a type_param TMaterial : IMaterial.
And then, the engine defines different material types in different .slang files. When specializing the entry point shader, the engine calls the spSetGlobalGenericArgs function to pass in the type name of the concrete material type.
Unless there is anything changed recently, the issue I was having is that the entry point shader may not import the module that defines the given material type. This means that type checking will fail because the specified type cannot be found.
We might be able to just patch up check to ensure that it also looks into all other translation units in the compilation request regardless of whether the module is imported or not.

One thing to note: you should be able to create a single translation unit request and then add a bunch of .slang files to it (both the ones with the entry points, and also whatever files define the types you need), and then the lookup should work. It is not generally needed to have more than one translation unit if you are just compiling .slang files (multiple translation units in a compile request is really to support applications that put their VS and PS in different .hlsl files).
On the bigger issue, the situation right now is that the Slang C API is quite limited when it comes to this stuff because it is stuck working with strings all the time.
If you look in compiler.h, you'll find that the behind-the-scenes types that are used to implement the public API have been revamped to try to provide a more powerful model of compilation that we now need to design a public API around.
The big-picture idea is that you can create a Linkage which tracks a set of loaded code modules. Any front-end compile request is done in the context of a Linkage, and anything that gets imported gets loaded into and cached on the linkage.
A front-end compile request produces one Module per translation unit, and it is also possible to just load a Module by its name on a Linkage (which effectively does what an import would do). The Module owns both the AST and the IR code, and can be used to look up types and entry points by their names.
A Program is a container that gets created from a Linkage and contains a list of entry points, and a list of "referenced modules." When we go to generate code, we always generate it from a Program, so its list of referenced modules defines what shader parameters are going to show up in the output code (we don't just emit everything in the linkage...).
Both Programs and EntryPoints can be specialized by providing concrete arguments for their generic/existential type parameters. There has been some refactoring in check.cpp to separate it out so that the string-based APIs resolve the argument strings into exrpessions, and then invoke a lower-level routine that expects the arguments to be passed in as AST object (e.g., ones looked up via reflection).
When a Program or EntryPoint gets specialized, we carefully update its list of referenced modules to include the modules that define any types used as arguments; this ensures that if you use a type from Foo.slang to specialize your program, the output code will be as if Foo.slang had been imported.
So, all that new machinery is in place at the lower level, but we haven't built up any API around it just yet (I'm trying to decide whether this is the point where we should jump to doing a COM-lite API rather than keeping on going with the current C API).
One thing to note is that the current strategy here for Linkages and reflection  is that we'd retain the AST for modules that get compiled for the lifetime of the Linkage, and the pointers a user gets through the reflection API would continue to be pointers to the actual AST objects. This works nicely because then when it comes time to specialize something we have the actual AST objects we need to drive specialization, but it also creates a risk of memory bloat because we are keeping the full AST alive for longer.
Eventually the goal would be that a Linkage maintains the Modules only in their serialized form (serialized AST + serialized IR), and it vends out lightweight proxy objects that wrap the serialized information for reflection purposes. Actions like loading a new module or generating back-end code would then deserialize what they need for the particular operation, but then drop those objects after the operation completes. Actually implementing that memory-management policy will take a while, though, since we haven't even started in on AST serialization.

I see. Thanks for the clarification. Exposing the new API will make everything much cleaner to work with.
I am currently implementing a cross-platform graphics library that sits above D3D and Vulkan for doing all the shader component stuff using Slang. One of things that I am exposing is a ShaderLinkage, which is exactly the Linkage in Slang. It stores the shader sources and reflection info, and can be used for specialized code generation.
If I remember correctly, the reason why need multiple translation units is to make sure that the global parameters for different HLSL entry points don't get mixed together?

If I remember correctly, the reason why need multiple translation units is to make sure that the global parameters for different HLSL entry points don't get mixed together?

It is more or less that, yeah. The problematic scenario is when a user has a shared shader parameter (often in a header):
// shared.h

cbuffer SharedCB { float4 u; }

float utilityFunc(float x) { return x; }

and then they include that in both their vertex and fragment shaders:
// vertex.hlsl

cbuffer VertexCB { ... }
#include "shared.h"

float4 main(...) : SV_Position { ... }

// fragment.hlsl

#include "shared.hlsl"
cbuffer FragmentCB { ... }

float4 main(...) : SV_Target { ... }

The average user expects to get code where SharedCB gets a consistent register when emitting both the vertex and fragment kernels, because it is "obviously" the same declaration. Making that work requires that we compile both the vertex and fragment shaders together in the same compile request (and Program), so that we can "see" the global parameters of both at once. Because of scoping issues, we cannot compile both vertex.hlsl and fragment.hlsl as the same translation unit, or else the utilityFunc defined in shared.hlsl would have a redefinition error (and there would be two different main functions...).
Realistically, we are close to the point where we can drop all that fiddly behavior that is just there for HLSL compatibility in a fairly niche corner case (most HLSL input will have explicit regsiters, and will be compiled one entry point at a time; only Falcor ever really relied on the current behavior).
If we only had to worry about Slang input, I would strongly argue that a compile request should have only a single translation unit where you can dump in any number of .slang files and they will all share a single global scope (so that symbols in one file can see those in another implicitly), which produces a single module. In that case you can just put the shared constant buffer declaration in any one of your files and it would Just Work.

Exposing the new API will make everything much cleaner to work with.
I am currently implementing a cross-platform graphics library that sits above D3D and Vulkan for doing all the shader component stuff using Slang. One of things that I am exposing is a ShaderLinkage, which is exactly the Linkage in Slang. It stores the shader sources and reflection info, and can be used for specialized code generation.

Yeah, this sounds like the missing abstraction that we are failing to surface through the Slang API. I've been under water with other stuff, so I haven't had a chance to revisit this part of the API, but I may need to do so soon as part of some work I'm doing in Falcor.
If you decide you want to work on improving the Slang API and creating a PR, please let me know so that we don't duplicate each other's efforts. It may turn out to be easier for you to just keep doing your own ShaderLinkage abstraction to insulate yourself from any churn, though.

I may not be able to work on this right now. But if I got time and if is is still not done by then I'll let you know before I start working on it.

Understood. Just having your feedback as a user/customer of the new API would be a big help, so I'll be sure to ping you when we get around to it.


The enabling time in timed transitions is set at initialization time

When the petri net is created, the enabling time is set in enabled timed transitions.
The first thread that comes to a timed transition with a small timespan, will always come too late, and if there is no other thread firing any transition succefully, the petri net will lock itself.
There should be a method which set the enabling times when the petri is starting to fire.

(Y)


cookieDomainRewrite don't works

var proxyMiddleware = require('http-proxy-middleware')
var proxyTable = {
      '/web':{
      target: 'http://10086.com:8080', // running on localhost set 'http://localhost:8080'
      changeOrigin: true,
      pathRewrite: {
            '^/web' : '/',     // true request to remote server will remove suffix '/web'
        },
      cookieDomainRewrite:{
        '*':'localhost' // all domain cooke rewrite to localhost
        }
      }
    }

Object.keys(proxyTable).forEach(function (context) {
  var options = proxyTable[context]
  if (typeof options === 'string') {
    options = { target: options }
  }
  app.use(proxyMiddleware(context, options))
})

I can not get any cookie from remote server,'cookieDomainRewrite' useless that can not search in module source code

http-proxy-middleware uses http-proxy. that's probably why you can't find references in this project.
cookieDomainRewrite is added in http-proxy v1.16.1 (https://github.com/nodejitsu/node-http-proxy/commit/8cb451f20cff0a19fc9576fc2558307fb17a5710)
Check if you are using the right version with npm ls in your project.

@chimurai Thx

My http-proxy 's version is v1.16.2, but cookieDomainRewrite also don't work, please help me to resolve this problem. thinks


TFX serving

Hey @lshug
I have copied the checkpoint from the Pytorch repo. Now I want to utilize TFX serving as just a fun web app :). Had a few questions about it

So to make the code run faster how should one proceed with build.py
Also any thoughts/tips on how to make it servable?

Any help/resource is appreciated thanks!

Hello again.
If you want to serve the model through TFX by exporting SavedModels and running them on TF ModelServer on GPU instances, then the only two options for optimization that you can try are setting a high batch sizes (as allowed by your available VRAM) and building with --predictiononly flag, which will build the generator in such a way that it only outputs the predicted frames.
As for making the model servable, the key thing you'll have to decide if you want to perform the animation process itself on the service-consuming client or as a part of the TFX pipeline. In the former case, the advantage is that on TFX side all you'll have to do is expose the ModelServers, and the downside is that you'll have to reimplement the animation process in a client, and if you decide to change how the models handle results of each step then you'll have to push updates to clients or risk the client-side animation code becoming incompatible with the served models. IN case of the latter, the advantage is that the client will only have to pass the source image and the driving video to the pipeline, and everything else will be handled on TFX side, so the risk of an incompatibility appearing in client-side code is slim to none. The downside is that you'll no longer be able to just expose the ModelServers serving the SavedModels, and instead you'll have to implement the animation process as a part of the inference pipeline (as a TFX custom component).


Feature/728/92 okhttp client timeouts

Created a test utility method to build an OkHttpClient with long timeouts, and adapting relevant unit tests to use it.
Previously CI is failing 17 out of 100 runs. With this change we only have 6 of 100 runs failing, 5 due to LoaderManagerImplTest and 1 due to a blip in maven central.

Codecov Report

Merging #104 (b88dbc3) into feature/728-ci-test-timeouts (39ee6ab) will not change coverage.
The diff coverage is n/a.

@@                       Coverage Diff                       @@
##             feature/728-ci-test-timeouts     #104   +/-   ##
===============================================================
  Coverage                           56.57%   56.57%
  Complexity                           2112     2112
===============================================================
  Files                                 593      593
  Lines                               13126    13126
  Branches                              927      927
===============================================================
  Hits                                 7426     7426
  Misses                               5286     5286
  Partials                              414      414

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 39ee6ab...b88dbc3. Read the comment docs.


Line breaks in docstring formatting conflict with unit testing requirements

Description of your problem
When writing an array (numpy) in a docstring that must (should) break lines, one has the option of meeting the needs of unit testing OR formatted text in Spyder. This is likely a bug (shortcoming) of the rst interpreter, not Spyder proper, but I don't know how to connect through to the right place.
What steps will reproduce the problem?

Insert the following as a docstring:
temp.py.txt

>>> A = np.array([[ 0.,   0. ,  1.    ,  0.    ],\
                      [ 0.,   0. ,  0.    ,  1.    ],\
                      [-1.4,  1.2, -0.0058,  0.0014],\
                      [ 0.8, -1.4,  0.0016, -0.0038]])

Get help in Spyder
Yuck

What is the expected output? What do you see instead?
The formatting doesn't recognize the line break. It results in one giant long line.
Using \ fixes this, but breaks unit testing (pytest).
Please provide any additional information below
Versions and main components

Spyder Version: 4.0.0 and 3.2.4
Python Version: 3.6.3
Qt Version: 5.9.2
PyQt Version: 5.9.1
Operating system: Darwin (10.13.1)

Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
IPython >=4.0    :  6.2.1 (OK)
cython >=0.21    :  0.26.1 (OK)
jedi >=0.9.0     :  0.11.0 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
numpy >=1.7      :  1.13.3 (OK)
pandas >=0.13.1  :  0.21.0 (OK)
psutil >=0.3     :  5.4.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.6.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.7.4 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
rope >=0.9.4     :  0.10.5 (OK)
sphinx >=0.6.6   :  1.6.3 (OK)
sympy >=0.7.3    :  1.1.1 (OK)

Just FYI, sphinx is the package that handles building/showing the help docs, so that's probably where you'll want to submit a bug I would think unless this is a problem specific to Spyder.

Will do. I'll close and repost there.

This is easily resolved by using ... at the start of the continuation lines.
>>> A = np.array([[ 0.,   0. ,  1.    ,  0.    ],
...                      [ 0.,   0. ,  0.    ,  1.    ],
...                      [-1.4,  1.2, -0.0058,  0.0014],
...                      [ 0.8, -1.4,  0.0016, -0.0038]])

Ah, I knew there was a reason I've never had this problem in my own code without using \ ... and here I thought I was just using them for style points; didn't know docstrings would break without them.

I had to post the answer here, though. This way I can search and find it the next time I forget. At my age... that's likely tomorrow!

Thanks!

Thanks! I'm already a scatterbrained scientist at the age of 22...can't imagine what it'll be like when I'm older, heh.

Stay scatterbrained. It keeps your mind alive. Most my age have given up any technical skills. I refuse to, even though my job would allow. It's fun to stay current!


Error in signing up

Actual Behaviour

Expected Behaviour
Log the user in straight away after a successful signup
Would you like to work on the issue?
Yes

@rideep What's the progress on the issue?
Let me know if you need help, @sriramr98 was willing to work on the issue as well, so maybe you two can work together.

Please look at this issue https://github.com/fossasia/open-event-orga-app/issues/680

@the-dagger I am working on the issue.In SignupActivity getResponse() is highlighted as 'cant resolve method'.And instead of using switch can use if-else.

@rideep The solution (as mentioned in the issue I linked above) is simply to change the base URL in the config.json. There is no need to change any code at all


Implement bash pattern matching

Implement pattern matching for the following functions
${var#substring}
${var##substring}
${var%substring}
${var%%substring}
${var/substring/replacement}
${var//substring/replacement}
${var/#substring/replacement}
${var/%substring/replacement}

Based on the following specification:
http://wiki.bash-hackers.org/syntax/pattern
http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_13
Resources:
https://research.swtch.com/glob
https://play.golang.org/p/C-rYgJihRT
Conversion from Pattern string to Go Regexp:
https://github.com/mvdan/sh/blob/master/syntax/pattern.go#L45
https://github.com/mvdan/sh/blob/master/expand/param.go#L267

https://github.com/drone/envsubst/pull/5 implements a subset of pattern matching for # ## % %% using path.Match in the go standard library. This isn't a fully compliant implementation, but should definitely satisfy the majority of real world use cases (thanks @jmccann)

@bradrydzewski Feel free to add some more commented tests of stuff that should work but doesn't.  I wouldn't mind maybe taking a further look into this later.  :)

possible alternative implementation that converts the pattern to a regex. need to explore further:
https://github.com/mvdan/sh/blob/master/syntax/pattern.go#L45
https://github.com/mvdan/sh/blob/master/expand/param.go#L267

closing this as we are closing issues


[bbc] Fix news articles

Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[ ] Searched the bugtracker for similar pull requests
[ ] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[ ] I am the original author of this code and I am willing to release it under Unlicense
[x] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

Description of your pull request and other information

Fixed videos on BBC news articles, which may now have a type of video instead of media.

gotcha. Next time, remember to give examples in the PR description (except when there is already an issue open)


Remove the guard that elides adding empty collection fields

See the added LListFormatSpec for a minimised motivation of this.
UnbuilderContext.ObjectContext assumes that every field in $fields is
present in the JSON (by using fields.apply in "fields(names(idx))").
This is in alternative to changing that to Map#get and the downstream
type signature changes.

The alternative fix: https://github.com/dwijnand/sjson-new/commit/76837220bf6816726780589a97a0c20d8f808b4e.

   val person = Person("x", Nil, Array(), Map(), Vector())
 -  val personJson = JsObject("name" -> JsString("x"))
 +  val personJson = JsObject(
 +    "name" -> JsString("x"),
 +    "value" -> JsArray(),
 +    "ary" -> JsArray(),
 +    "m" -> JsObject(),
 +    "vs" -> JsArray()
 +  )

Can we keep LList as is and handle this in the reading side if the field doesn't exist?

See #74.

Closing this in favor of #75.


Add an onboarding template doc for new users

Feature Request
Is your feature request related to a problem or unsupported use case? Please describe.
Some users are not super familiar with block based structured editors, slash commands, markdown etc.
Docs is super confusing for them.
Describe the solution you'd like
For new users instead of having no docs. Why not display a doc which content can serve as tutorial. Where there would be examples of all text blocs. Instructions to play around etc.
Describe alternatives you've considered
Adding a tooltip on the docs editiing page. When you click on it you get a modal that explain the features of the editor. Like in the pad. But I feel it's less interactive.

Discovery, Documentation, Adoption, Migration Strategy
Notion isn't empty when you join. You can play with template to get started.

Add an item to have the user try the AI features.

Here the content for the page : https://docs.numerique.gouv.fr/docs/2e71cbaf-2251-4442-a540-7dca099a9b12/
The idea is to create this doc for each user. It will be a private doc with restricted access. They'll have edit rights on it.
For existing users if we can pin it to the top of their list it could help them advance their knowledge of the tool. (Not sure about this one).

In addition to having this doc created for each user. It would be great to feature it in the welcome email each user receives at registration.


Add Various Symbols To Futures Database (Part 3 / 11)

Description

Adds symbols AGA, AJL, AJS, AJY, AKL, AKZ, ANE, APS, AR0, ARE, AUP, AVZ, AW, AYV, AYX, AZ1, B0, B7H, BCF, BIO, BK, BOO, BR7 to futures expiration functions, market hours database, symbol-properties-database
Corrects wrong entry for symbol ZT in symbol-properties-database
Adds missing holidays or early closes for energies and fx in mhdb
Related Issue

#2991
Motivation and Context

Ongoing completion efforts of the futures database
Requires Documentation Change

No
How Has This Been Tested?

New unit tests
Types of changes

[ ] 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)
[x] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] My branch follows the naming convention bug-<issue#>-<description> or feature-<issue#>-<description>

Thank you again for the PR @gsalaz98, please see if you can tidy up the test exceptions: https://api.travis-ci.org/v3/job/521068249/log.txt

The source of all the new holidays and early closes I added were mainly Thanksgiving and Independence Day additions. I discovered that I had an incomplete list of holidays and early closes after browsing through the holiday spreadsheets and documents manually while implementing the Equity, Bloomberg, and Black Sea Corn groups.
As for the repeating holidays, (mainly 7/31 and 8/31), these holidays are respectively: Eid al-Adha (Hari Raya Haji) in Singapore (ending on 7/31/2020) and London Summer Bank Holidays. As for the reason why some symbols exhibit these holidays, I don't know completely, but I suspect it probably has to do with the symbol's origin (e.g. Singapore Gasoil (Platts) vs. Low Sulphur Gasoil Futures "AGA" closing for Eid al-Adha, but not other symbols).
I did inquire about odd closing hours for the FX group, and received a message from CME stating that because the settlement bank doesn't accept deposits on a certain date (Columbus), the symbol has an exception for its Last Trade Date. Maybe in this scenario, it might be a similar case as the FX group, but with different holidays.
Another thing I want to point out: there are Good Friday holidays included in some symbols for 2024 (3/29/2024). We might be able to infer that CME will declare that Good Friday a holiday, consistent with previous published holidays. But as I've told Jared, there might exist inconsistencies with predicting future holidays (such as changed early closing hours), and the only way to know for sure is to look at the holiday calendar once it's been published by CME.

Thank you very much, Gerardo!


Doesn't work with multiple packages

To reproduce, add this to the examples:
import "examples/other"

func iface2() (other.Iface, error) {
	return nil, nil // want "return both the `nil` error and invalid value: use a sentinel error instead"
}

And add this to a new package under "examples":
package other

type Iface interface {
	Do()
}

Reading the code of the linter, the package of the type is not considered in the analysis and *ast.SelectorExpr is not traversed in isDangerNilType, so only types form the same package are analyzed.
One way to "fix" this might be to create a config that bypasses this type based analysis entirely by saying "all types should be checked". That still wouldn't work if a custom config is given and typed based analysis is still desired, but I think it would work for most users.

Actually, there's a test that expects this wrong behaviour right now:
func ifaceExtPkg() (io.Closer, error)            { return nil, nil }

Also, my proposed solution would break these test cases:
func unsafePtr() (unsafe.Pointer, error)         { return nil, nil }
func slice() ([]int, error)                      { return nil, nil }

So I think a different solution is needed... the type analysis can't be skipped entirely :(

@vikstrous2
Hi! Thank you for issue.
Quote from README:

Assumptions

Types from external packages are not supported.

Are you interested in this feature?

Yeah, I like the pattern of using sentinel errors and I want to make sure we can detect the use of nil pointers as "not found" errors more reliably everywhere.

@vikstrous2 new release has been published, thanks!
Wait for it in the nearest release of golangci-lint 👌

This is amazing! I can't wait to try it out in golangci-lint! It seems to work so far


latest Zanata translation changes in jbpm-designer from 2016-09-03

this PR is identical to PR #412 and can be closed


How to get Trigger percentage ?

The trigger button can be pressed gradually, how to get that percentage between 0 and 100 ?

It's in the ControllerEvents:
https://steamvr-unity-toolkit.readme.io/docs/controllerevents#section-gettriggeraxis-0


abi: add mangling for 'scope' and 'return'

Also sorted the list.

Blocked by what?

The DMD PR. Is it not?

DMD pull was merged, so this is no longer blocked.


Errors

I see a lot of errors here when validation the module. Maybe some of them should be fixed?
Link: https://validator.prestashop.com
Report:
autoupgrade_validation_20181221.txt

Hoy,
Be careful about these errors. The validator main advise to use the core methods, while during the upgrade we CANNOT rely on it. The core is actually being upgraded, and its behavior may change between two calls. Using its methods is likely to make the process failing.


testing commit

Chip height, font weight and hot link edits to css

Chip height, font weight and hotlnk edits


Download link for Pi4J-Basis-OS in README.md fails

Unfortunately the download link for Pi4J-Basis-OS mentioned in the README.md does not work. Currently it points to https://pi4j-download.com/latest.php?flavor=basic which results in "Invalid image flavor specified, unable to download...". Which link do I have to use for downloading Pi4J-Basis?

We are in preparation of the new release and not everything is ready, yet. Sorry for that.
The newest images can be downloaded from here:
https://github.com/Pi4J/pi4j-os/actions/runs/5390384409
Please be sure to add a new user 'pi', password 'pi4j' when using Raspberry Pi Imager.

Und vielen Dank für das Interesse an den Pi4J Images.

 Das Basic-Image werde ich gleich herunterladen!


Cannot install on Windows/MinGW v0.4.0

Installing luasystem v0.4.0 or scm-0 via luarocks causes a compilation error on Windows/MinGW:
luarocks install luasystem 0.4.0 --server=https://luarocks.org/dev
Installing https://luarocks.org/luasystem-0.4.0-1.src.rock

luasystem 0.4.0-1 depends on lua >= 5.1 (5.4-1 provided by VM)
gcc -O2 -fPIC -c -o src/core.o -IC:/msys64/ucrt64/include src/core.c -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -IC:\msys64\ucrt64/include -IC:\msys64\ucrt64/include
gcc -O2 -fPIC -c -o src/compat.o -IC:/msys64/ucrt64/include src/compat.c -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -IC:\msys64\ucrt64/include -IC:\msys64\ucrt64/include
gcc -O2 -fPIC -c -o src/time.o -IC:/msys64/ucrt64/include src/time.c -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -IC:\msys64\ucrt64/include -IC:\msys64\ucrt64/include
gcc -O2 -fPIC -c -o src/environment.o -IC:/msys64/ucrt64/include src/environment.c -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -IC:\msys64\ucrt64/include -IC:\msys64\ucrt64/include
gcc -O2 -fPIC -c -o src/random.o -IC:/msys64/ucrt64/include src/random.c -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -IC:\msys64\ucrt64/include -IC:\msys64\ucrt64/include
gcc -O2 -fPIC -c -o src/term.o -IC:/msys64/ucrt64/include src/term.c -DWINVER=0x0600 -D_WIN32_WINNT=0x0600 -IC:\msys64\ucrt64/include -IC:\msys64\ucrt64/include
src/term.c: In function 'lst_readkey':
src/term.c:762:10: error: implicit declaration of function '_kbhit' [-Wimplicit-function-declaration]
  762 |     if (!_kbhit()) {
      |          ^~~~~~
src/term.c:766:18: error: implicit declaration of function '_getwch'; did you mean '_getcwd'? [-Wimplicit-function-declaration]
  766 |     wchar_t wc = _getwch();
      |                  ^~~~~~~
      |                  _getcwd

Error: Build error: Failed compiling object src/term.o

Installing 0.3.0 compiles without issue.

I assume that is because of using Msys. After looking around a bit, you might have to include a header called conio.h on Msys.

Thinking again; for msys2, it might be better to use the Posix code branches instead.

Including conio.h compiles. How would I test the Posix code branches?

Fixed by #27

fix released in v0.4.1


Multiple absorbing states for AbsorbAfterDoneWrapper?

I am wondering when do we need multiple absorbing states? Shouldn't we only need one absorbing state?
In AbsorbAfterDoneWrapper, if we dont specify absorb_obs, then the absorbing state will be changing every episode.
In case where there is a "fixed" terminal state, then the absorbing state will only be one. But say the terminal state is "not fixed" (eg. done=True when the |s - g| < epsilon), then the absorbing state will be changing every episode.
If having multiple absorbing states is unintentional, the easy fix would be just "latch" the absorbing state to be the absorbing state of the first episode.

It's a good question. Having multiple absorbing states is odd from an MDP theory perspective. But for an environment that wasn't built with this in mind, what should the designated absorbing state be? Just replaying the last observation at least keeps it on-distribution.
I don't think latching it really helps much here. It'd still vary from run to run. And then you'd have potentially quite odd transitions into the absorbing state. E.g. imagine you're playing an Atari game, get to level 3 on episode 0, then die immediately on episode 1 -- should you really transition into a screenshot of a level 3 absorbing state?
So basically I agree with you the current approach is fishy but I'm not sure there's a less-bad thing to do here if we want absorbing states without significantly modifying existing environments. I think this is as an argument for just automatically resetting and making one big episode.

Aha I see, really clear illustration. Thanks for the answer!


Cancelable queries

@kardianos please take a look.
All tests are passing.  But code looks ugly.  Maybe you would have some ideas on how to make it better.   I think if there is a way to integrate Context with network sockets then it would probably allow to simplify some of this logic.

I don't know of a clean way to integrate sockets with context, other than to call context.Deadline and set that as the write/read deadline, but that still doesn't handle ad-hoc cancels.


Vulnerabilities

Tried installing this module this evening only to be met with the following. Please advise:
"npm WARN deprecated<EMAIL_ADDRESS>Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
npm WARN deprecated<EMAIL_ADDRESS>Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm notice created a lockfile as package-lock.json. You should commit this file.
added 203 packages from 140 contributors and audited 203 packages in 18.826s
6 packages are looking for funding
run npm fund for details
found 12 vulnerabilities (6 moderate, 6 high)
run npm audit fix to fix them, or npm audit for details"

I'm also getting the same issues

The dependencies are updated in the latest version. Please pull the source code and try it. When the problem is still there, please open a new issue.


Don't filter the instance label in the targets page

At least when relabeling is used to set the instance label (see http://www.robustperception.io/controlling-the-instance-label/) we should not filter the instance label from the targets page overview. Any objections to just always show it?
https://github.com/prometheus/prometheus/blob/05d3d6d9f72ad02ec27077f2686b4b17d76b9f76/web/ui/templates/targets.html#L36

Agreed, lets always show it.


Snippet's icons are not shown correctly

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
v0.9.5
Operating system/version
Arch Linux
Describe the bug
Firstly, I must point out that I'm very new to nvim and lua. I have recently started with LazyVim as it looks awesome. Great job!
Watched recommended Youtube video and went through manuals on http://www.lazyvim.org/. So I setup and configured everything as I wanted but one little detail. For some reason I cannot get icon shown correctly only in front of Snippet in pop-up window of vnim-cmp plugin. The text for Snippet look overshadowed as well, not sure if this is related. All other icons seem to be shown correctly.

In the screenshot above, it looks like bashls language server is loaded correctly. And it looks like the snippet comes from it. However, it looks like the icon could not be loaded.
My terminal is Alacritty 0.13.2 (bb8ea18e) where I've configured JetBrainsMono Nerd Font (v3.1.1).
Steps To Reproduce

Get started template from github.
Enable "Dot Files" in :LazyExtras
Create a new bash script and type if to get if-related snippets.

Expected Behavior
I've looked through a lot of pages, and I believe I've seen a correct icon for snippets somewhere. I don't remember in what context exactly and I couldn't find a solution for my problem anyway there.
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  "folke/LazyVim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

This is default behavior. The icon is what LazyVim actually sets for snippets and the text looks overshadowed because the highlight group CmpItemKindSnippet is linked by the colorscheme to Conceal by default.

Ok, thank you for the fast response.


404 Discussion not found

Hello, recently I found that when giscus try to pull the discussion through API, it return "404 Discussion not found". However, the discussion in my repo is open normally. In the past, it could also work normally. May I ask where the problem might be? Thanks!
My repo discussion link：https://github.com/zzsqwq/hugo-blog-comment/discussions?discussions_q=
giscus query data api link：https://giscus.app/api/discussions?repo=zzsqwq/hugo-blog-comment&term=posts/summary-2022/&category=Announcements&number=0&strict=false&first=15

I don't know, looks like there's something wrong with your repository on GitHub's side and has nothing to do with giscus. Clicking the Discussions tab on your repo even returns no results: https://github.com/zzsqwq/hugo-blog-comment/discussions
Looks like if you put anything in the search query, it doesn't work. So maybe there's an issue with the search index. Try adding stuff on your repo, perhaps that would trigger a reindex on GitHub's server.

I have same issue

I have same issue

@huykon  I posted a related thread on the Github Community, but no one replied. However, I found a workaround, which is to first close the problematic discussion and then reopen it. Everything will return to normal. Please note that this will send notification emails to those subscribed to the discussion. Hope this helps :)

@zzsqwq 你有修改过项目名吗？如果修改过的话，看看代码配置里的仓库是否还是原来的

@zzsqwq 你有修改过项目名吗？如果修改过的话，看看代码配置里的仓库是否还是原来的

没有，应该就是单纯 GitHub 的 bug，把所有的 Discussion 关闭重新打开就正常了。

@zzsqwq 你有修改过项目名吗？如果修改过的话，看看代码配置里的仓库是否还是原来的

没有，应该就是单纯 GitHub 的 bug，把所有的 Discussion 关闭重新打开就正常了。

好吧，我刚遇到了所以搜到了这个issue，结果发现是我rename过

I have the same issue. It loads existing discussions but for some reason couldn't create a new one. What should I do?

Here is a site: https://blog.unbegames.com/en/posts/january-developer-update/
Here is a discussions: https://github.com/unbeGames/unbegames.github.io/discussions

I had the same issue, and the 404 error disappeared when I changed the Discussion Format to Announcement in the Category settings. Check the format connected to giscus.

@zzsqwq 你有修改过项目名吗？如果修改过的话，看看代码配置里的仓库是否还是原来的

没有，应该就是单纯 GitHub 的 bug，把所有的 Discussion 关闭重新打开就正常了。

尝试将 Discussion  重新打开也不行，最后尝试自己手动在仓库的 Discussion 添加了一条记录之后可以正常使用了😒


Open source?

I thought we were going to make this open source.

This project has been open source for a while now.


Finalize Ballerina Update tool Specification

Description:
Finalize Ballerina Update tool Specification with finalized commands

Finalized and document has been updated
https://docs.google.com/document/d/1HNBNrxVvlJlh245g17R3xOMXJHrz6IAU52F6eMCnCQw/edit#heading=h.6ncjnocm6km0


About the components

I have got a question,how to make my components to be created automatically according to the JSON data's being parsed.
Many thanks!

This isn't the venue for this kind of question. I would suggest jumping on Gitter and asking there. https://gitter.im/vuejs/vue


Feature/filter module organisation

Quick update to do 2 things:

Create a FilterBoxComponent which sits at a level between the filter manager component and components for filter controls (e.g. date filter component). Does nothing, but makes the filter manager component a bit more readable.
Move some filter components into subdirectories to /frontend/src/app/filter is less cluttered.

Contains no original code, so no elaborate review is needed. Feel free to approve without going through the code if these suggestions sound good to you.

We could move the filter controls into another subdirectory. The ad-hoc-filter should go in there too though, it exists on the same level as boolean filter / date filter /etc


Lumen Support?

It's not compatible with Lumen. Can you create a package for Lumen?

added to our PHP support list. In the meantime you can use the PHP client directly.

As far as I have seen, the only reason why the package is not compatible with Lumen, is because of configPath method which is present in Laravel but not on Lumen.
As a workaround, what I did was creating my own Application class, extending Lumenone.
<?php

namespace App;

use Laravel\Lumen\Application as LumenApplication;

class Application extends LumenApplication
{
    /**
     * Get the configuration path.
     *
     * @return string
     */
    public function configPath()
    {
        return $this->basePath.DIRECTORY_SEPARATOR.'config';
    }
}

of course then you need to edit your bootstrap/app.php file and use this new Application class. This way I'm able to use the package successfully on Lumen (create activities, retrieve streams, etc).