Add help/{command} endpoint

Suggested by Marc DiPasquale in Slack comment https://asyncapi.slack.com/archives/CQVJXFNQL/p1662141074739369?thread_ts=1661395911.924239&cid=CQVJXFNQL
We should create such an endpoint help/{command} to return instruction of given command to the user. For example help/generate should return available parameters such an available templates etc.
help/{command} is just a suggestion, we can go with other endpoint(s).
Also, what is very important, that endpoint should be done in a similar way as in our main CLI - https://github.com/asyncapi/cli#usage, so main help endpoint should return all available endpoints and particular one like help/generate should return details about given command.
cc @BOLT04 @smoya Do you want to add something, other requirements for task?

Hi @magicmatatjahu, I was a bit confused about what was the use case for this endpoint. By reading the thread on slack it makes sense to add the metadata info 👍, I've seen other APIs do that too (e.g. https://cloud.google.com/service-infrastructure/docs/service-metadata/reference/rest; https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_intro.html), although it might be a bit different... dunno 😅.
But I'm still confused about how we'll do it. Regarding naming, meta or metadata would be preferable to help, wdyt?
Since our goal is to provide additional information about our API resources, I think we could have the endpoints match their resource, so generator instead of generate.
I'd also like to ask if developers using this API, are most likely to go to each generator template's GitHub repository, and read the docs for parameters, or call the metadata API with the template id (e.g. "@asyncapi/ts-nats-template")?
wdyt @magicmatatjahu @smoya ?

Hi @magicmatatjahu @BOLT04, I would like to work on this.

My approach is based on the fact that the openapi.yaml file is present, which contains all the neccessary information for solving this problem.
Firstly, one creates a help.controller.ts file in the src/controllers folder. In this file, a class HelpController which implements the Controller class should be exported as default. One may then, import this class in server.ts, and add an instance of this class to the controllers array for the App constructor.
The HelpController should implement the Controller class. It should therefore define a basepath property, and a boot method. This base path may be defined as '/help'. The boot method, may start with reading the openapi.yaml file, in order to fetch all available commands. Additionally, the method should initialise a router. This router, may only support two paths:

basepath
This should respond, with a list of all available commands.
basepath/:command
This should respond, with all the information regarding the particular command if it exists.

These routes can be implemented using Express' Router.get().
As mentioned earlier, the boot method may start with reading the openapi.yml file, in order to fetch all available commands. One may start reading its content, using fs.readFileSync(), and save its result in a temporary variable. One is then able, to parse this content into readable YAML, by using AsyncAPI's parser, or any other parser supporting YAML. One may then has to create an interface matching the structure of this openapi.yml, in order to respect the TypeScript architecture.
To store the required command information, one may define two variables: commands, an object in which the command name is used as key, and the value is the corresponding information, and shortCommands, an object storing all the available commands, and a short summary of its purpose, in order to prevent having to iterate through commands to list all available commands.
One may now start actually reading the content of the openapi.yml, in order to extract the available commands. Since one has stored readable YAML earlier, one can iterate over this content. One may start with the paths field, which stores all the supported paths. Each key, of this field, stores the name of an available command, and its partial description. One can save this command name, as the key, and the partial description, as the value, and add this combination to the earlier defined commands object.
Additionally, one could map each tag, instead of being limited to only the command name, to the corresponding definition.
From openapi.yml:
paths:
  /validate: # <- this, without '/', is the command name.
    ...
  /parse: ...
  /generate: ...

The just mentioned description is partial, since it is missing the request information, which includes the parameters a particular command expect, and its type. Since defined requests may contain $ref's, one has to define these first. One may iterate over each mentioned $ref in the parsed YAML content, and save its type, as a value, in a temporary object named types. This will result in each $ref being mapped to an object defining it's type. This is neccessary for the next step.
One may now, iterate over every components > schemas > {command_name}Request field stored in the parsed YAML file. One can then extract the command name from each {command_name}Request key, and add the field's value, to the content saved in the commands object, using the extracted command name as key. If any value contains a ref, one can exchange this string, for the correct type, which will be present in the types object.
At this stage, commands should map each command name, to all the required corresponding information. However, shortCommands has not been defined yet. One may iterate through the commands object, and use each key as a key for the shortCommands object. Similary, particular fields of the value, to be used as the short definition describing the command, may be used as the value for the shortCommands object.
At this point, both commands, and shortCommands should be defined.
When a request to the base path is made, the response can consist of simply returning the shortCommands object, or formatting it in a particular way. On the other hand, when a request to basepath/:command is made, one simply has to check if the command is present in the commands object, and return the corresponding value, or inform the user that the command does not exist.

hi @tthijm, this issue is a part of the GSOC 2023 event, so it'll probably be picked up by students assigned to this project.
But you can look at other issues from this repo, or other AsyncAPI repos if you want to contribute 👍 .

@magicmatatjahu Can i work on this issue ?

hi @AayushSaini101 this was already implemented, but feel free to look at other issues 👍


Format of a photo claim

moving a conversation from a PR. When a photo claim is used in the VC-JWT, should it be binary or a data URL.

photo  OPTIONAL. The user's profile photo. The data is binary and not encoded in base64.
photo  OPTIONAL. The user's profile photo. The value is a data URL as defined in RFC 2397.

for verifiedEmployee credential type
@nklomp likes data url better.

I like RFC 2397 style more, because the data URL actually contains the mediatype.
So then you can implement based on the media type how your solution should display the photo, versus your software having to know about the Credential Type and the photo binary having to be displayed as an image


(objectivec) some keywords need to be moved to type

Types are mixed in with keywords and should be split out.

I'll try to take this issue. What exactly needs to be moved/split?

What exactly needs to be moved/split?

The keywords that really are data types, not language keywords.   Should be moved to keywords/type rather than keywords/keyword.  You can find examples in many of the other grammars that split these out.

@ElijahPepe Could you have a look at: https://github.com/highlightjs/highlight.js/pull/3499


Multiple button addons in input groups

Let me start by saying that I am not sure if this qualifies as a bug fix or a feature request, but I feel like it is more a feature request, hence I am opening this against the v4-dev branch.
I can make this work for master too, if you like.
Changes I made
(as screenshots, because images say more than a 1000 words and all that)
Before

After

Aim of change
In an .input-group, it is now possible to add multiple button addons after the input with dropdown menus. These have to be placed in separate .input-group-btn elements because otherwise the JavaScript breaks. Focus state now highlights the complete group of controls too, instead of only the input. Note that the highlighting only works if the input is the first element in the .input-group, because of CSS limitations (I want :focus-within).
Usecase
In a project I implemented this for, I have a search box where the user can change a couple of settings for the search. There are three settings that are all of the type 'select from a couple of options'. My approach (that I feel is intuitive, correct me if I'm wrong) was to add three dropdown selects as addons. When that was not styled the way I expected it to be, I first tried to find out what I was doing wrong, then whipped up this, then improved it before creating this pull request.
Remarks
I am aware of the following issues:

The highlighting does not work when there are addons before the input. I purposefully disabled the highlighting of other controls then, because I am unable to select the siblings before the :focused input with pure CSS. An implementation using JS is of course possible, but I think that that is not something you guys would be happy with, right? This can be fixed once (if) the CSS4 :focus-within selector is supported.
The left border of buttons is not visible when hovering them. The current implementation has exactly this issue, but for right borders. As soon as a button is focused or active, the border becomes visible. The current implementation will still not show the right border when the button is focused or active.

Finally, I feel that this pull request has an added value because it gets rid of a margin-left: -1px hack. This is in place currently to get rid of "double borders". I fix this by removing the left border of elements and adding it back on :focus (and :active) only. At that point the z-index is increased as well, as in the current implementation.
Side note: are you considering to introduce variables for the border width as well, or will that remain "hard-coded" to a single pixel?
How can I test this?
I extended the Bootstrap documentation examples and used those for testing.
Link to development server (for your convenience :-)) | current documentation.
To conclude
It goes without saying that I am open to any and all suggestions, critique and feedback. I can update this pull request as required. Thanks in advance for considering this change.

Side note: are you considering to introduce variables for the border width as well, or will that remain "hard-coded" to a single pixel?

As of #18150, none of the borders themselves should be hardcoded anymore. But _button-group.scss has some hardcoded -1px values for some margin-* properties; presumably those are now broken and should be changed.

Focus state now highlights the complete group of controls too, instead of only the input.

Why? To me, that just seems confusing.

Button groups are unaffected by my changes. I am now using $input-border-width for the border widths in _input-group.scss, since ac5be69cfc462586b9bf2c14993e59cd5b206a35.
Moved the styling to _input-group.scss in 41859b186001b3abfb6ffd0eb26f748f9430b224.
My reasoning behind highlighting the entire group is that it feels like a single form element to me. I found it confusing that not the entire group was highlighted. This is a very debatable thing and I am aware of that, it was my intention to start a small discussion on that. I can take it out easily :-)

Button groups are unaffected by my changes. I am now using $input-border-width for the border widths in _input-group.scss

Right, derp, pretend I said _input-group.scss instead of _button-group.scss.

CC: @patrickhlauke for an accessibility perspective regarding the focus highlighting

The highlighting does not work when there are addons before the input. I purposefully disabled the highlighting of other controls then, because I am unable to select the siblings before the :focused input with pure CSS. An implementation using JS is of course possible, but I think that that is not something you guys would be happy with, right? This can be fixed once (if) the CSS4 :focus-within selector is supported.

This part does concern me, as - unless we strongly advise against putting addons before the input, it will break essential functionality for users who rely on focus highlighting.
As for highlighting the whole group as a unit, I don't have many concerns here. It may be unfamiliar when first encountered, but should not confuse long term.

An implementation using JS is of course possible, but I think that that is not something you guys would be happy with, right?

Indeed.

This part does concern me, as - unless we strongly advise against putting addons before the input - it will break essential functionality for users who rely on focus highlighting.

Let me rephrase: I only highlight the input itself in case there are addons before the input, so the input is always highlighted. In case there are no addons before the input, then the addons are highlighted too.
Visual explanation of possible situations

But once the addons themselves are focused (moving to them with TAB/SHIFT+TAB) they do get their normal highlighting, right? If that's the case then yeh, that's fine.

Yes, that is indeed the case.

Started to review this, but realized it's going down the wrong path. You're calling the form-control-focus mixin in a ton of places, repeating the shared styles that all textual inputs freely get with it on .form-control. Beyond that, the selectors don't seem to scale out in a good way given your Remarks section from the opening comment—those behavioral changes block anything from changing here.
Thanks for the hard work, but we won't be merging this. If you're looking to try again, something with first-of-type might be more helpful and lead to few changed lines.

Thank you for you feedback. Just for completeness, and to do better in the future, I'd like to reply to the remarks and ask a couple of questions - please do not feel obliged to answer, I'd just appreciate it a ton if you (or anyone really) would.

The form-control-focus mixin was used in only one spot, I used it in one other spot as well, to highlight addons after a focused input. First of all: I realize that this behavioral change may not be something you want, so I could take it out. But say we would want this, how could you do it with fewer form-control-focus calls? It would be awesome if the mixin could still include the &:focus as well, I was not able to keep it because of the different selector I wanted to use it in (where the :focus part is halfway the selector, opposed to at the end).
 Could you point out one or two, so that I can prevent this from happening in the future?
Is the behavioral change with the focus highlighting not desired at all, or just not in its current form? And would making it configurable with a variable make it better, or even worse (because there would be more configuration options hence more complex et cetera)?
Thank you for the first-of-type suggestion. Unfortunately I fail to see where it could help, but I will give it some more thought and wait for an aha! moment :-)

Thank you again for all the feedback and in general for working on Bootstrap. I love every single bit of it.


Support JDK9+

arquillian-container-chameleon does not work on JDK9+ due to a failure locating java.sql.Date from snakeyaml. This issue was first reported 2 years ago at http://lists.jboss.org/pipermail/wildfly-dev/2016-July/005249.html . It can also be observed by building the source code with OpenJDK 10.
To get arquillian-container-chameleon build on OpenJDK 10 I had to upgrade the jboss-parent to 26. To fix the classloader issue, apply the following patch:
--- a/arquillian-chameleon-extension/src/main/java/org/arquillian/container/chameleon/ContainerLoader.java
+++ b/arquillian-chameleon-extension/src/main/java/org/arquillian/container/chameleon/ContainerLoader.java
@@ -35,7 +35,7 @@ public class ContainerLoader extends Loader {

         File[] archives = Resolver.resolve(cacheFolder, mavenDependencies);

-        ClassLoader classloader = new URLClassLoader(Utils.toURLs(archives), null);
+        ClassLoader classloader = new URLClassLoader(Utils.toURLs(archives), ClassLoader.getPlatformClassLoader());
         return loadContainers(classloader, containers);
     }
 }

A complicating factor is that many of the containers currently supported do not run on JDK9+ (such as WildFly 9).

@papegaaij
@bartoszmajsak
We fixed the same ClassLoading issue in ASF - Surefire Maven.
This requires a little bit more reflection and recognize Java Version.
If the fix is so simple please release a new version. Thx.


Opera wallet is not working properly

we are developers from sharedstake.org
App doesn't connect to opera wallet. It is highly possible this is an error on your side.
Outputted error is shown below:
Uncaught (in promise) Error: infura.io request failed
at Object.h (index.js:50)
at h (index.js:540)
at index.js:285
Thanks!

Hi @sharedStake-main! Thank you for bringing this to our attention. Is it possible for you to provide steps to reproduce this error?

Hi @sharedStake-main! Thank you for bringing this to our attention. Is it possible for you to provide steps to reproduce this error?

Have tested Opera and it seems to be working correctly with Onboard.js. I am closing this issue due to not receiving more information. Feel free to reopen it if you are still running in to this issue and can give us more details to work with.


Merge pull request #1 from alphageek-xyz/master

Use aggregate in landing admin

Coverage remained the same at 100.0% when pulling e1b1a7c0ce60cd5ae509db159d4ad46556ede090 on ryankaiser:master into 41258ad3c430d5593234d8277f28aec3a13b2c03 on alphageek-xyz:master.


OCR的场景识别模型推理遇到：missing 2 required positional arguments: 'op' and 'message'

Thanks for your error report and we appreciate it a lot.
Checklist

I have searched the tutorial on modelscope  doc-site
I have searched related issues but cannot get the expected help.
The bug has not been fixed in the latest version.

Describe the bug
OCR的场景识别模型推理遇到：missing 2 required positional arguments: 'op' and 'message'
Traceback (most recent call last):
File "end_to_end_pipeline.py", line 178, in
ocr_detection = pipeline(Tasks.ocr_detection, model=det_model)
File "/home/peng.li/.conda/envs/modelscope/lib/python3.7/site-packages/modelscope/pipelines/builder.py", line 140, in pipeline
return build_pipeline(cfg, task_name=task)
File "/home/peng.li/.conda/envs/modelscope/lib/python3.7/site-packages/modelscope/pipelines/builder.py", line 57, in build_pipeline
cfg, PIPELINES, group_key=task_name, default_args=default_args)
File "/home/peng.li/.conda/envs/modelscope/lib/python3.7/site-packages/modelscope/utils/registry.py", line 215, in build_from_cfg
raise type(e)(f'{obj_cls.name}: {e}')
TypeError: init() missing 2 required positional arguments: 'op' and 'message'
To Reproduce

What command or script did you run?

A placeholder for the command.

Did you make any modifications on the code or config? Did you understand what you have modified?
What dataset did you use?

Your Environments (required)

OS: 4.15.0-184-generic #194-Ubuntu SMP Thu Jun 2 18:54:48 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

CPU: Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              64
On-line CPU(s) list: 0-63
Thread(s) per core:  2
Core(s) per socket:  16
Socket(s):           2
NUMA node(s):        2
Vendor ID:           GenuineIntel
CPU family:          6
Model:               85
Model name:          Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz
Stepping:            7
CPU MHz:             1000.147
CPU max MHz:         3900.0000
CPU min MHz:         1000.0000
BogoMIPS:            4600.00
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            1024K
L3 cache:            22528K
NUMA node0 CPU(s):   0-15,32-47
NUMA node1 CPU(s):   16-31,48-63

Commit id (e.g. a3ffc7d8)

You may add addition that may be helpful for locating the problem, such as

How you installed PyTorch [e.g., pip, conda, source]
Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)

使用modelscope=1.4.0遇到上述错误


Create a-s-b.txt

This seems to be a secondary school; this database is for higher education (post-secondary) schools. Closing.


Loot tokens from party stash

Adds a button to the party stash (inventory sidebar) to loot selected tokens, similar to how Loot tokens can loot
Resolves #10184

just keeping it synced from the main branch

Declining this one, sorry.


changes for streamlit

Changes as follows:
Streamlit:
MSR - front end code put into streamlit/streamlit/pages/3_📍_Multiple_Shortest_Route.py & back end split out into  streamlit/streamlit/scripts/msr.py
MCLP - pages updated to use uploader
Uploader - updated and moved to 'functions' folder:
Now takes a user uploaded file as input and returns a dataframe. If no file is provided Hospital.csv is loaded


[contracts] V0 Nomad Batching

Batching transactions to reduce the number of times Home.dispatch is called.
POC implementation to evaluate savings, see here for more details.

Implemented in #824


Adds Kinetic Energy Operator

Is this pull request associated with an issue(s)?
No
Description
This PR adds the Kinetic class and the class infrastructure to support it.
TODOs
None if this passes CI.

r2g


fix onednn submodule state

Since there was actually 3 submodules that were not updated by master merge I created another fix for  all 3 submodules https://github.com/slyalin/openvino/pull/88. I close this one.


Implement explorer.html

Bring the crs-explorer functionality into spatialreference.
It is not just a copy and paste. I noticed that the html table does not perform well enough with many elements. So I tried something different here to filter and display the data.
It looks like this:

Looks great to me!


[Feature] Valid SQL PLugin

What Would You Like to See with the Gateway?
Plugin Name: Valid SQL
Plugin Description: Validates whether the given SQL code is syntactically correct
Here is the Contributing Guide for Plugin

@VisargD  can i work on this

Sure. Assigning the issue to you. Thanks!

@vrushankportkey Looks like no activity here as well, can I take this up?
Question: What is the scope of this, do we consider about DB specific syntaxes here? or just a regular SQL only. And is it okay to use js sql parser kind of package for this.

Hi @5war00p please take it up! Yes we would like the bundle size to be as small as possible. @VisargD thoughts?

Yeah makes sense, I'm whether it is tree-shakable or not. We should validate that as well, if we are choosing some package.


Disable hero autoblock

Goals:

Remove autoblock hero-generated dangling paragraph tag
Decision taken: Do not use autoblocks for heros

Will use a dedicated issue


promtool tsdb dump in OpenMetrics format

Proposal
With the new backfilling functionality, it is now possible to create Prometheus compatible blocks from an OpenMetrics file :rocket:
We can also dump data from Prometheus with promtool tsdb dump, but unfortunately it is not in OpenMetrics format so we can't re-use this file to import that data into another Prometheus server. The proposal is to add support for dumping Prometheus data in OpenMetrics format with promtool.
Use case. Why is this important?
Where I work, a decision was made in the past that we'd have one Prometheus server for each application/exporter and it's not scaling too well. We'd like to consolidate all that data into a single Prometheus that will now scrape all our metrics endpoints. We want to shut down several Prometheus, but we'd like to keep their data in our new centralized one.
With this proposal, it will be a lot easier to dump and import data from one prometheus instance to another.

The correct way to to this is to take a snapshot of TSDB and copy it over to the other prometheus server.

The correct way to to this is to take a snapshot of TSDB and copy it over to the other prometheus server.

yes, but copying the whole snapshot will copy the whole TSDB. With dump/import I can fine grain what I want with timestamp filters.

We have looked at this during our bug scrub and decided to close this as duplicate of #8281. Thanks!

We have looked at this during our bug scrub and decided to close this as duplicate of #8281. Thanks!

if data dumped and restore after being updated, any solution?


Fix the memory store to support the new top-level 2.1 SCOs.

Fixes #340 .
Checking whether an object is unversioned had been done via a marking check.  But the marking check was really just a proxy to determining what we really wanted to know: whether the object was versioned.  In hindsight, maybe that wasn't the best way to have done it, because it means that the new 2.1 SCOs are treated as versioned.  (Although SCOs weren't TLOs at the time that code was written, so it wasn't wrong to have done it that way.)
I changed the check so it is done in a better way: if an object has the modified property, it is versioned.  This should treat all current object types correctly.  That doesn't work when you only have an ID, which is the case when you need to look up an object by ID (applicable to read operations).  So that is also changed to simply react to the way the bookkeeping was set up for that ID when the object was added.  If the ID was mapped to an _ObjectFamily, it is versioned; otherwise not.  So marking checks are entirely removed from the implementation now.
Also added some unit tests for unversioned STIX objects.

Codecov Report

Merging #342 into master will decrease coverage by 0.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #342      +/-   ##
==========================================
- Coverage   98.17%   98.13%   -0.04%
==========================================
  Files         124      124
  Lines       14168    13868     -300
==========================================
- Hits        13909    13609     -300
  Misses        259      259

Impacted Files
Coverage Δ

stix2/test/v21/test_datastore_memory.py
100% <100%> (ø)
:arrow_up:

stix2/test/v20/test_datastore_memory.py
100% <100%> (ø)
:arrow_up:

stix2/datastore/memory.py
100% <100%> (ø)
:arrow_up:

stix2/datastore/filesystem.py
92.88% <0%> (-0.12%)
:arrow_down:

stix2/patterns.py
98% <0%> (-0.02%)
:arrow_down:

stix2/test/v21/test_datastore_filesystem.py
99.17% <0%> (-0.02%)
:arrow_down:

stix2/test/v20/test_datastore_filesystem.py
99.19% <0%> (-0.02%)
:arrow_down:

stix2/test/v21/test_relationship.py
100% <0%> (ø)
:arrow_up:

stix2/test/v20/test_campaign.py
100% <0%> (ø)
:arrow_up:

stix2/test/v21/test_core.py
100% <0%> (ø)
:arrow_up:

... and 60 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 fdb00c4...be52748. Read the comment docs.


Prerendering url key wrong

The prerendering header link should be https://learn.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/call-javascript-from-dotnet?view=aspnetcore-3.1#prerendering but is actually https://learn.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/call-javascript-from-dotnet?view=aspnetcore-3.1#prerendering-2.
The linking on the page does not work with the prerendering-2 like in
For Blazor apps with prerendering enabled, calling into JS isn't possible during prerendering. For more information, see the [Prerendering](#prerendering) section.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 2b7ea38a-649b-303d-bebf-c701e216ba25
Version Independent ID: 9e197a8b-2616-8363-0a15-38cac802e82e
Content: Call JavaScript functions from .NET methods in ASP.NET Core Blazor
Content Source: aspnetcore/blazor/javascript-interoperability/call-javascript-from-dotnet.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @OnSive ... This is a known issue with our current documentation versioning system. There is a long-range plan in place to covert over to a new versioning of doc content that will fix this link, but I don't have an exact ETA on when it will be implemented.


Add git pre-commit hooks to check formatting

In case this helps, here are the ones I have been using: https://github.com/igrr/notred/blob/main/.pre-commit-config.yaml

Seems like rust-analyzer used something like an xtask for it but it also seems they don't do it anymore
The relevant PR in rust-analyzer was https://github.com/rust-lang/rust-analyzer/pull/271
I think ideally, we shouldn't rely on tools written in Python (for bare-metal) - on the other hand it's just an offer to users so it might be okay

My mistake, I didn't even realize that Python tool existed. I thought the original comment in the PR was referring to the standard shell script git hooks.


crypto/des: invalid key size 32

des.NewTripleDESCipher is 24 key length, who to handle 32 key length condition?

Is this a question or a bug report?
The first 3 lines of NewTripleDESCipher are:
if len(key) != 24 {
	return nil, KeySizeError(len(key))
}

so you'll need to handle any key-length-related error that the function returns.
We don't use the issue tracker for questions, so if you have further questions please see the Questions wiki page; it has a list of good places for asking them.
Closing, since this appears to be not-a-bug-report.


➕ [RESOURCE] - <New Programming Language "J">

Idea Contribution

[X] I have read all the resource request issues.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Where do you want to add the resource? Specify the category and section.
Include URLs for each resource added to the documentation section on the website, providing users with quick access to valuable J programming materials.
Provide the URLs of the resources you are adding

J Arrays: Detailed guide on arrays in J.
J Lists: Comprehensive resource on list operations in J.
J Software Programming: Authoritative book on J by Roger Hui.
J Software Official YouTube Channel: Tutorials and webinars on J programming.

Any alternative approaches/features
Consider adding a search functionality to the documentation page to make it easier for users to find specific resources.
Additional Context
Visual aids such as screenshots of the resources or icons representing different resource types can enhance user experience.
Code of Conduct

[X] I follow the CONTRIBUTING GUIDELINE of this project.

hey @jfmartinz , please look over my issues i have stated collecting info from resources please assign it so that i can start work on this


Update .gitmodules

Using a direct url avoids setting up an ssh key for public repositories

Indeed, thanks a lot!


Hyperion Alexa dimming + color

Hey, i need help with my scripts and i hoped u could help me :/
i know that i need to put this in the dim line "/home/pi/ha-bridge/hyperion/hyperion_dim.sh ${intensity.percent}" . But what does the script looks like? I can't get it to work, could anyone help out?
I tried this but its not working
#!/bin/bash
sudo hyperion-remote -v

Is there something like " ${intensity.percent}" for colors? so i can tell alexa to turn "Ambilights" Blue?
the only codes i found are "${color.r}, ${color.g}, ${color.b}" and the ${color.hsl} but those didnt work and I couldn't figure it out how to make them work
i made a new script for every color but thats just a stupid workaround:
#!/bin/bash
sudo hyperion-remote -c white

Thanks for this awesome plugin and for the help!

Since the api used only sends encoded colors that is all there is. If you want to be industrious, you could build a script that decodes HSL or RGB to a color word.

alright, thanks a lot for your response! Have you any advise for the dimming?

kinda figured it out, but without a script. Just wrote these in the line:
sudo hyperion-remote -m 0.${intensity.percent}
My mistake was the command. its "-m" instead of "-v". also i read in another thread the plugin is using integer as a value so i had to put the "0." after "-m". i couldnt figure a better way but its good enough.
couldn't get the script to work.
tried
"/home/pi/ha-bridge/hyperion/hyperion_dim.sh ${intensity.percent}"
and without ${intensity.percent} as a path but in the script
sudo hyperion-remote -m 0.${intensity.percent}

the code in the script does not show the variable being applied.


Streamline Setup instructions

User Story
As a developer, I have easy to follow instructions, so that I can set up the repo without too much pain.
Acceptance Criteria

[ ] Setup instructions are similar to those for W21 jpa03-STARTER (SETUP-FULL, SETUP-QUICKSTART)
[ ] setHerokuVars.py script is modified to make javascript/.env.production optional
[ ] pom.xml is modified to use SPRING_PROPERTIES instead of HEROKU_PROPERTIES
[ ] custom values needs for the application (e.g. ucsb api key and MongoDB URL) are set properly

Pulled in #100

Pulled in #100


Infix To Postfix in C

Description 📜
I have prepared a documentation on:
To Convert Infix Expression To Postfix Expression using Stack Data Structure In C :)
Hope you learn from it 👍
Fixes #7351

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] C/CPP

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Okay sir

@deeqakkk sir,
I have made the required changes. Please have a look :)

@Saviour1001  Already implemented in C++ here
This one's in C, works too right?

@Suvraneel Kindly check on this once :)


Improved the UI of the footer for light mode

I have improved the UI of the footer for light mode
footer for light mode:

footer for dark mode:

Great Work @AtriSukul1508. Hope to see many more contribution from your end.


Display a colored box next to the board that indicates whose turn it is

Instead of saying "White's turn" or "Black's turn", we can put a box next to the board that is colored white when it is white's turn and black otherwise. We can also represent each of the endings (checkmate, stalemate, etc) using a distinct color or pattern.
It doesn't have to be a box but something equivalent to this (something visual, not just text) would be nice.

no longer implementing this (we don't think it would improve anything)


Unhealthy state not visible

Hi!
I got an notification on my Android Screen, that Iota nodes are unhealthy (no more Milestones).
But inside the application everything seems to be fine.

This may occur in case a refresh did not happen. E.g. if the app was still open in the background.
Could you try to swipe down to refresh the data?
If this does not help I will need to look into it more deeply. For reference on my side (iOS), it did work correctly this morning.

For sure I swiped up/down a lot of time, while the network issue occured, but the green dot (in the right corner) was still green :(

Hmm, in that case, could you try to execute this request and tell me which response code you receive?
curl --location --request GET 'https://YOUR_NODE/health'

Also please call this one as well, the returned JSON should include a isHealthy property.
curl --location --request GET 'https://YOUR_NODE/api/v1/info'

if this route is protected please add your JWT Token to the call:
curl --location --request GET 'https://YOUR_NODE/api/v1/info' \
--header 'Authorization: Bearer JWT_TOKEN'


PDK Layers should not be required when base_pdk is defined

It should be common that a PDK gets all of its layers from its base_pdk. In that case, you should not throw an error if layers is not supplied in the constructor

Hi Troy,
let me know if https://github.com/gdsfactory/gdsfactory/pull/440 fixes the issue


HAL implementation

Hi Daniel,
first of all thanks for your software! I am planning to use it for a project in a Lecture with students.  We will be using the Arduino platform and I will try to develop the HAL for the Arduino platform.
I see that the implementation of the HAL is done through conditional compilation. If I want to add a new implementation, source code from a specific platform would be added in the corresponding PROCESSOR_CHOICE macro in CAN_Transmit_Receive.c . When you want to scale this it can get messy as you are mixing all the hardware-specific implementations in the same file. In addition, you will need to add the respective include directives for the API for the respective hardware platform.
Wouldnt it be better if the HAL interface implemented polymorphism for each specific implementation? Then each implementation would reside in its own source file. The build system could then select the HAL source files depending on the target platform.
Regards
Victor

I see that the implementation of the HAL is done through conditional compilation. If I want to add a new implementation, source code from a specific platform would be added in the corresponding PROCESSOR_CHOICE macro in CAN_Transmit_Receive.c . When you want to scale this it can get messy as you are mixing all the hardware-specific implementations in the same file. In addition, you will need to add the respective include directives for the API for the respective hardware platform.

Wouldnt it be better if the HAL interface implemented polymorphism for each specific implementation? Then each implementation would reside in its own source file. The build system could then select the HAL source files depending on the target platform.

I don't think polymorphism  is easy in C. But if you have an idea, please show me.
Normally, I just juse macros to avoid my STM32 C compiler to use Arduino C++ code. That's a simple solution.
But please. Fork the project, show me and then do a pull request.


Error when building apk using this library

I get this error
Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Landroid/support/v13/view/inputmethod/InputConnectionCompat$1;
I believe I have to exclude a particular component of this library. How do I find the one that needs to be excluded?

exclude group: 'com.android.support', module: 'support-v13'
This is what's needed.

This is already mentioned in the FAQ
https://github.com/wdullaer/MaterialDateTimePicker#how-do-i-use-a-different-version-of-the-support-library-in-my-app


Introducing youki Guru on Gurubase.io

Hello team,
I'm the maintainer of Anteon. We have created Gurubase.io with the mission of building a centralized, open-source tool-focused knowledge base. Essentially, each "guru" is equipped with custom knowledge to answer user questions based on collected data related to that tool.
I wanted to update you that I've manually added the youki Guru to Gurubase. youki Guru uses the data from this repo and data from the docs to answer questions by leveraging the LLM.
In this PR, I showcased the "youki Guru", which highlights that youki now has an AI assistant available to help users with their questions. Please let me know your thoughts on this contribution.
Additionally, if you want me to disable youki Guru in Gurubase, just let me know that's totally fine.

Hey, so my personal opinion is we should not add this here, but it is fine for you to keep youki in your app. We will still need opinion from a couple of other maintainers, so let's wait and see.  Not pinging them here as this does not seem an urgent issue, let me know if different.

Hi everyone,
Have you had a chance to check this out?
Additionally, I’d like to update you on the release of the Maintainer Panel feature on Gurubase. With this panel, you can add, remove, or update data sources, as well as change the logo and more. You can find the details here.
In the near future, I’m planning to include analytics insights in this panel, such as the number of questions asked, the most frequently asked ones, and more. I’ll be sure to update this thread once it’s available. However, in case I miss it, I highly recommend joining our Discord channel to stay updated.
If you’d prefer that I don’t update this thread anymore, please let me know.

Hey @youki-dev/youki , if anyone can also take a look at this it would be great. I have mentioned my opinion above, but I would need at least a couple of more opinions before I do anything with this.
@kursataktas , thanks for your updates, and apologies for taking time from our side. If it is not an issue for you, I'll request you to keep this issue updated till we make a decision on this. Apologies again.

@kursataktas Thanks for your great suggestion. Since youki is part of the CNCF project, we must follow the CNCF rules. I'm not sure we can use LLM like Guru. Do you know something around there?

Hi @utam0k, I'm not familiar with the specific rules regarding LLM usage in CNCF projects. Is there a source I can refer to for more information?

I don't know 😭 Is there another CNCF project adopting Guru?

Is there a source I can refer to for more information?

I don't know 😭 Is there another CNCF project adopting Guru?

Is there a source I can refer to for more information?

Yes, there are a couple of CNCF projects that use Gurubase. For example: https://github.com/meshery/meshery


rocksdb: 6.2.2 -> 6.2.4

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build rocksdb

ok, everything except osquery and bareos build successfully, but the 2 are marked as broken, so I think we are good to merge


ABL LSP continues to run after close of vscode

When opening vscode (with the OpenEdge ABL plugin installed, of course), and opening folder or workspace with an openedge-project.json file or editing an individual ABL file, the expected ABL Language Server (ABL LSP) Java process (abl-lsp) is started.  After closing vscode, the ABL LSP process remains running, creating unmanaged processes and causing undesirable side-effects.
The situation is reproducable when running vscode locally or through remote SSH vscode connection.
In the later scenario, as this process is repeated (open vscode, edit ABL file, observe ABL LSP startup, close/stop vscode) the number of ABL LSP processes increases -- including when the remote vscode server process stopping due to timeout or termination.
The ABL LSP should provide one or more configuration and control options for

stopping the ABL LSP (per-project, per-workspace, entirely) manually
stopping after the editor (vscode, code server) is closed/quit/completely stopped

Processes can be enumerated using the Java jps command:
$ jps -l
<pid> <ref-folder>/.vscode-server/extensions/riversidesoftware.openedge-abl-lsp-1.4.8/resources/abl-lsp.jar
<pid> <ref-folder>/.vscode-server/extensions/riversidesoftware.openedge-abl-lsp-1.4.8/resources/abl-lsp.jar
<pid> <ref-folder>/.vscode-server/extensions/riversidesoftware.openedge-abl-lsp-1.4.8/resources/abl-lsp.jar
<pid> <ref-folder>/.vscode-server/extensions/riversidesoftware.openedge-abl-lsp-1.4.8/resources/abl-lsp.jar
<pid> <ref-folder>/.vscode-server/extensions/riversidesoftware.openedge-abl-lsp-1.4.8/resources/abl-lsp.jar
<pid> jdk.jcmd/sun.tools.jps.Jps
<pid> <ref-folder>/.vscode-server/extensions/riversidesoftware.openedge-abl-lsp-1.4.8/resources/abl-lsp.jar
<pid> <ref-folder>/.vscode-server/extensions/riversidesoftware.openedge-abl-lsp-1.4.8/resources/abl-lsp.jar
<pid> <ref-folder>/.vscode-server/extensions/riversidesoftware.openedge-abl-lsp-1.4.8/resources/abl-lsp.jar

In case there are a number of Java processes on the target system, add a grep for abl-lsp as:
$ jps -l | grep "abl-lsp"
<pid> <ref-folder>/.vscode-server/extensions/riversidesoftware.openedge-abl-lsp-1.4.8/resources/abl-lsp.jar
<pid> <ref-folder>/.vscode-server/extensions/riversidesoftware.openedge-abl-lsp-1.4.8/resources/abl-lsp.jar
<pid> <ref-folder>/.vscode-server/extensions/riversidesoftware.openedge-abl-lsp-1.4.8/resources/abl-lsp.jar
<pid> <ref-folder>/.vscode-server/extensions/riversidesoftware.openedge-abl-lsp-1.4.8/resources/abl-lsp.jar
<pid> <ref-folder>/.vscode-server/extensions/riversidesoftware.openedge-abl-lsp-1.4.8/resources/abl-lsp.jar
<pid> <ref-folder>/.vscode-server/extensions/riversidesoftware.openedge-abl-lsp-1.4.8/resources/abl-lsp.jar
<pid> <ref-folder>/.vscode-server/extensions/riversidesoftware.openedge-abl-lsp-1.4.8/resources/abl-lsp.jar
<pid> <ref-folder>/.vscode-server/extensions/riversidesoftware.openedge-abl-lsp-1.4.8/resources/abl-lsp.jar

Tested with the following:

VSCode: 1.76.0
OE ABL Plugin: v1.4.8

Last released: 3/30/2023, 04:01:01
Last updated: 3/31/2023, 12:14:39

Local environment:

MacOS 13.3
Java version: openjdk version "19.0.2" 2023-01-17
OpenEdge version: none, plugin provides simple source coloring

Remote environment:

Linux: Ubuntu 20.04.6 LTS
Java: openjdk version "11.0.18" 2023-01-17
OE Version: OpenEdge Release 12.2.8 as of Fri Mar 25 18:13:26 EDT 2022

This behavior is confirmed, that will be fixed.

Project shutdown should now be handled correctly (if the client correctly sends the stop message). Fix included in 1.4.9. Please reopen if you still see issues.

I have built the main branch, which contains the update with the deativate hook. This should be representative of v1.4.9.
Following installation of the extension into a vscode remote workspace, and verification of the correct extension version, the language server process remains upon close of the workspace, vscode editor, and even killing of the vscode server (via vscode tooling and OS kill $PID).

Project shutdown should now be handled correctly (if the client correctly sends the stop message). Fix included in 1.4.9. Please reopen if you still see issues.

How does the client send a "stop message"? There are options to restart the language server, but I do not see a "stop" command.

@ChadThomsonPSC 1.4.9 was released on Friday. Did you try this version?

I'm running v1.4.12 and the update seems to be working as expected.
There are no more LS left-overs after closing the workspace (remote and local) or disconnecting from a remote.
Fixed!


[SPARK-30276][SQL] Support Filter expression allows simultaneous use of DISTINCT

What changes were proposed in this pull request?
This PR is related to https://github.com/apache/spark/pull/26656.
https://github.com/apache/spark/pull/26656 only support use FILTER clause on aggregate expression without DISTINCT.
This PR will enhance this feature when one or more DISTINCT aggregate expressions which allows the use of the FILTER clause.
 This is good because we can evaluate filter in first aggregate locally.
But AggregationIterator only support single DISTINCT aggregate with filter clause.
So, this PR uses Project to project the filter clause as new generated attribute(e.g. _gen_attr_0) and ensure the evaluation at local.
Why are the changes needed?
Spark SQL only support use FILTER clause on aggregate expression without DISTINCT.
This PR support Filter expression allows simultaneous use of DISTINCT
Does this PR introduce any user-facing change?
No
How was this patch tested?
Exists and new UT

Test build #125985 has started for PR 29135 at commit 4f9c7e6.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30600/
Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/125985/
Test FAILed.

Test build #126016 has started for PR 29135 at commit fefbce0.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30630/
Test PASSed.

Test build #126016 has finished for PR 29135 at commit fefbce0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126016/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30648/
Test PASSed.

Test build #126036 has started for PR 29135 at commit 202a454.

Test build #126036 has finished for PR 29135 at commit 202a454.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126036/
Test FAILed.

Test build #126050 has started for PR 29135 at commit a2c842e.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30663/
Test PASSed.

Test build #126052 has started for PR 29135 at commit 7127744.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30665/
Test PASSed.

Test build #126050 has finished for PR 29135 at commit a2c842e.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126050/
Test FAILed.

Test build #126052 has finished for PR 29135 at commit 7127744.

This patch fails PySpark pip packaging tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126052/
Test FAILed.

retest this please

Test build #126059 has started for PR 29135 at commit 7127744.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30672/
Test PASSed.

Test build #126059 has finished for PR 29135 at commit 7127744.

This patch fails PySpark pip packaging tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126059/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30695/
Test PASSed.

Test build #126082 has started for PR 29135 at commit 7127744.

Test build #126084 has started for PR 29135 at commit 2253499.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30697/
Test PASSed.

Test build #126088 has started for PR 29135 at commit 7159582.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30701/
Test PASSed.

Test build #126089 has started for PR 29135 at commit ba7c3a4.

Test build #126082 has finished for PR 29135 at commit 7127744.

This patch fails PySpark pip packaging tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126082/
Test FAILed.

Test build #126084 has finished for PR 29135 at commit 2253499.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126084/
Test PASSed.

Test build #126089 has finished for PR 29135 at commit ba7c3a4.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test build #126088 has finished for PR 29135 at commit 7159582.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126088/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126089/
Test FAILed.

retest this please

Test build #126100 has started for PR 29135 at commit ba7c3a4.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30712/
Test PASSed.

Test build #126100 has finished for PR 29135 at commit ba7c3a4.

This patch fails PySpark pip packaging tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126100/
Test FAILed.

retest this please

Test build #126109 has started for PR 29135 at commit ba7c3a4.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30721/
Test PASSed.

Test build #126109 has finished for PR 29135 at commit ba7c3a4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126109/
Test PASSed.


Transaction submission during chain synchronization

Don’t make any transactions to the Archipel chain during chain synchronization.

Fixed in #17


Encounter this issue while build v2.0.2-rc1

CMake Error at libraries/chain/CMakeLists.txt:38 (enable_language):
The CMAKE_ASM-LLVMWAR_COMPILER:
g++

is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "ASM-LLVMWAR" or the CMake cache entry CMAKE_ASM-LLVMWAR_COMPILER
to the full path to the compiler, or to the compiler name if it is in the
PATH.

Need to install g++

Did installing g++ resolve your issue?


'MultiObjectTracker' object has no attribute 'detections_matched_ids'

When I try to use --track flag to run anonymize.py I get the error saying that the object of MultiObjectTracker class doesn't have the attribute named 'detections_matched_ids'. From the motpy pypi package I installed, I checked the class definition for MultiObjectTracker class and it doesn't seem to have this attribute in it. The attribute 'detections_matched_ids' is referred in forward() function of Anonymizer class to retrieve the track_ids. But the attribute seems to be absent everywhere in the class definition of MultiObjectTracker class.
Whereas, I checked this script (https://github.com/wmuron/motpy/blob/master/motpy/tracker.py) from the motpy repository and they seem to have it defined as an attribute.
My question: Was the attribute 'detections_matched_ids' intentionally removed in this project repository? I feel it could be a mistake since you try to use the track_ids in Anonymizer class. Let me know if I'm missing out something! Thanks!

EDIT: I added the lines 361, 404, 410 and 420 from this script (https://github.com/wmuron/motpy/blob/master/motpy/tracker.py) to the same tracker.py file in the motpy pypi package that's used by deep_privacy2 repo, and the anonymize.py scripts runs now with --track flag!

Motpy changed this at some point, and installing motpy with the  setup.py file provided in this repository should fix your issue. Or you could simply install it with pip
pip install git+https://github.com/wmuron/motpy@c77f85d27e371c0a298e9a88ca99292d9b9cbe6b


Not all fields exportable via GUI

Issue type
[x] Feature request
[x] Bug report
[ ] Documentation
Environment

Python version:  3.5.2
psycopg2 version:  2.7.4
NetBox version:  2.2.9

Description
I'm not sure if this is a bug or a feature given this is just via the GUI, but non custom fields are not exported by GUI.
Example for sites export, all but shipping address, physical Address, and comments are exportable.
I understand more complete exports would likely not be via GUI, but I am just bringing to your attention.

This should be addressed by #1714 and included in v2.2.10.


Add environment variable knobs to customise the E2E test runs.

The harness will now check for the existence (but not care about the
value) of two environment variables while running tests:

SWAY_TEST_VERBOSE - this disables silent_mode and prints warnings
and errors to stdout.
SWAY_TEST_USE_IR - this turns on the use_ir flag to run the tests
using the IR pipeline (useful presently until IR becomes the default).

E.g.,
$ cd sway/test
$ SWAY_TEST_VERBOSE=yes cargo r neq
    Finished dev [unoptimized + debuginfo] target(s) in 0.17s
     Running `sway/target/debug/test neq`
 Compiling neq_4_test
  Compiled library "core".
  Compiled library "core".
warning
 --> FuelLabs-sway-lib-std-5a0938f/src/result.sw:0:5
  |
...
3 |     Ok: T,
  |     -- Enum variant Ok is never constructed.
  |
warning
 --> FuelLabs-sway-lib-std-5a0938f/src/result.sw:0:5
  |
...
4 |     Err: E,
  |     --- Enum variant Err is never constructed.
  |
  Compiled library "lib-std" with 2 warnings.
  Compiled script "neq_4_test".
  Bytecode size is 108 bytes.
   ABI gen neq_4_test
  Compiled library "core".
  Compiled library "core".
  Compiled library "lib-std" with 2 warnings.
  Compiled script "neq_4_test".
_________________________________
Tests passed.
1 tests run (81 skipped)

Is there a reason to use environment variables instead of CLI options?

Is there a reason to use environment variables instead of CLI options?

Only that it's simpler.  Don't have to parse them and the pass them all the way from main().  I prefer it but maybe that's subjective.


Highlight "FC St. Pauli" in table

For better visibility, St. Pauli should be highlighted in the table. I think a background color for the table line would be nice, probably in the red color of the logo?

I would like to work on this one please.  @error401de

Hi @jkol7
thanks! Task is assigned to you.


Huginn binds to the wrong port (k8s)

Hi!
I really like Huginn. But I have a small config issue that I don't really understand at the top of my head (and sadly, don't have the time to investigate on my own right now).
I run Huginn in k8s. And the config looks something like:
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: huginn
  namespace: monitoring
spec:
  replicas: 1
    spec:
      containers:
        - name: huginn
          env:
          - name: DOMAIN
            value: "<some_local_fqdn>:3000"
          - name: FORCE_SSL
            value: "false"
          - name: PORT
            value: "3000"
          image: huginnbuilder/huginn:pr-2634
          ports:
            - name: http
              containerPort: 3000
---
apiVersion: v1
kind: Service
metadata:
  name: huginn
  namespace: monitoring
  labels:
    k8s-app: huginn
spec:
  ports:
    - name: http
      port: 80
      targetPort: http
      protocol: TCP
  selector:
    k8s-app: huginn

I removed a lot of cruft that shouldn't be relevant here.
And... the problem is when I just apply this. Huginn overrides the port to be 80 (the service port).
Which is... not what I want. And also just doesn't work because the container doesn't run as privileged so it can't bind on port 80 to begin with.
My workaround so far is to edit the yaml config, set the service port to 3000, start Huginn, then change it back to 80 and re-apply (which only modifies the service).
It works but... it's the first container where I have this issue.
Thanks for the help!
Alexis

I've got Huginn working in k8s (the webui is up).  I just set all ports in pod and service to 3000.

I've got Huginn working in k8s (the webui is up). I just set all ports in pod and service to 3000.

That's kind of missing the point of what I'm trying to do here though :-D
Sorry it took me so long to get back here ><
So this is the the values that change between the working version but hacked manually (have to modify the service mid run) and the version that fails to start because it tries to bind to port 80.
HUGINN_PORT=tcp://<IP_ADDRESS>:3000
HUGINN_PORT_3000_TCP=tcp://<IP_ADDRESS>:3000
HUGINN_PORT_3000_TCP_ADDR=<IP_ADDRESS>
HUGINN_PORT_3000_TCP_PORT=3000
HUGINN_PORT_3000_TCP_PROTO=tcp
HUGINN_SERVICE_HOST=<IP_ADDRESS>
HUGINN_SERVICE_PORT=3000
HUGINN_SERVICE_PORT_HTTP=3000

vs
HUGINN_PORT=tcp://<IP_ADDRESS>:80
HUGINN_PORT_80_TCP=tcp://<IP_ADDRESS>:80
HUGINN_PORT_80_TCP_ADDR=<IP_ADDRESS>
HUGINN_PORT_80_TCP_PORT=80
HUGINN_PORT_80_TCP_PROTO=tcp
HUGINN_SERVICE_HOST=<IP_ADDRESS>
HUGINN_SERVICE_PORT=80
HUGINN_SERVICE_PORT_HTTP=80

I have to admit I'm not sure which ones come from k8s (well the SERVICE ones at least) but...

Have you tried renaming your service to something like huginn2? I am pretty certain that k8s generates the SERVICENAME_PORT variables which confuse our the Huginn docker container.

env | grep HUGINNN
HUGINNNNN_PORT_80_TCP_PORT=80
HUGINNNNN_SERVICE_HOST=<IP_ADDRESS>
HUGINNNNN_PORT_80_TCP=tcp://<IP_ADDRESS>:80
HUGINNNNN_SERVICE_PORT=80
HUGINNNNN_PORT_80_TCP_PROTO=tcp
HUGINNNNN_SERVICE_PORT_HTTP=80
HUGINNNNN_PORT_80_TCP_ADDR=<IP_ADDRESS>
HUGINNNNN_PORT=tcp://<IP_ADDRESS>:80

So yeah all of these are from the service.
Turns out, since 1.13, there is a way to disable that behavior (that from quick reading seem to be basically not useful in the first place these days either way).
So following: https://github.com/kubernetes/kubernetes/pull/68754
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: huginn
  namespace: monitoring
spec:
  replicas: 1
  selector:
    matchLabels:
      k8s-app: huginn
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        k8s-app: huginn
    spec:
      enableServiceLinks: false

etc. etc.
Thanks for bearing with me and helping me figure this out :-)
I really appreciate it.


How to add ui-sortable attribute conditionally?

It does not appear this directive has the ability to be added conditionally.  If you attempted to implement this functionality like it's implemented for required and ng-required...
This:

Would look like this:

Unfortunately, ui-sortable was designed to be able to take an optional options value.  I believe this is also what makes the built-in ngAttr directive not work.  https://docs.angularjs.org/guide/directive#text-and-attribute-bindings
Any way to get around this?

There actually exists a disabled optio

A disabled option actuate exists and should be a perfect match for your use case.
Does it?


Godot freezes when unsupported Unicode character is placed in shader editor.

Godot version
v4.0.dev.custom_build [64a27b]
System information
Windows 10 Vulkan Clustered
Issue description
When pasting the symbol ¶ or any other Unicode such as the ones found in Latin-1 Supplement into Godot's shader editor it freezes because the never ending error messages:
USER` ERROR: U_ILLEGAL_ARGUMENT_ERROR    at: ScriptIterator::ScriptIterator (modules\text_server_adv\script_iterator.cpp:71) - Method/function failed. Unicode parsing error: Invalid unicode codepoint ffffffc2. USER ERROR: U_ILLEGAL_ARGUMENT_ERROR
In Godot 3.4 this does not freeze Godot but just gives an error saying invalid symbol.
Steps to reproduce
Type a Unicode symbol outside of normal range such as the ones in Latin-1 supplement examples being: ¡ ¢ £
(taken from: https://en.wikipedia.org/wiki/List_of_Unicode_characters) into main.gdshader
Notice how the Editor hangs because of the errors being spitted out.
Minimal reproduction project
Shader Imports.zip

cc @bruvzg


Crown Detection with Name

I saw this project and I think this project is very good project for me.
I am trying to me a project what can detect tree crown with tree name.
This project can detect tree crown as well but have no function for tree name.
If I retraining model, Can I get tree name from this project?

Tree species prediction is not yet supported. If you have labels for a tree species, you can create a multi-class model, but it not supported from the use_release() function.


pseudo localization as of March 1, 2019

@MatthewBlanski  please let me know if you have enough information here, or if you have any questions. Thank you.
Critical Changes
Changes
Pseudo localization.  We're using German (de) files.
Issues Closed
New Metadata
Deleted Metadata
Testing Notes
Please see if there are any layout issues due to text expansion, or if there are any hardcoded/missed labels.  The following document explains some of the common localization issues that pseudo localization can help find: https://sites.google.com/a/salesforce.com/rdlocalization/pseudo-localization1?pli=1#TOC-Common-Localization-Issues

@lifewithryan Should/can this pull request be closed?

@kumikoiwamoto Can I close this PR or do we need to leave this open? Since its something we never planned to merge.

Not implementing this and closing PR since it was merely a dry run test.

@lifewithryan Can we delete the branch, too?

@lifewithryan Can we delete the branch, too?
edit: actually, I meant your feature/rheadley/translationTestNoMerge

yea, I thought I did :) I can delete it.


Add default values for arns

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Why do we want to do this?  Shouldnt we only set them if they are supplied?

The template did not have these values and so create configuration failed if they were not set.

1-18 tests are passing again after this.


Returns 'BadRequest' error while publishing a pbix which uses dataset from another dataset (which is already published)

Hi Maik,
Need your help here.
The .pbix i am trying to publish doesn't have it's own dataset, rather it's a report which uses another dataset. I used your plug-in to publish the .pbix which contains the actual dataset, which gets successfully deployed to the service. However when i try to publish the second .pbix which refers to the dataset, the task fails with 'BadRequest' error.
2021-11-09T22:28:31.8241975Z Done processing Power BI Actions
2021-11-09T22:28:31.9519979Z ##[error]Operation returned an invalid status code 'BadRequest'
2021-11-09T22:28:32.0050225Z ##[section]Finishing: Power BI Action: Publish

Could you share the complete log with the variable system.debug set to true?

HI Maik,
Thank you so much for your reply. I figured out that the problem was with the pbix which was looking for a dataset to which  the user did not have permission to. All good for now. Thank you. I really like your plugin. Great stuff
Rohith

Great


async-validator error when trying to use any Naive UI component

TuSimple/naive-ui version (版本)
2.19.8
Vue version (Vue 版本)
3.0.0
Browser and its version (浏览器及其版本)
Any
System and its version (系统及其版本)
Windows 11
Node version (Node 版本)
14.18.0
Reappearance link (重现链接)
https://github.com/glebgorokhov/glebjournal-mvp/tree/naive
Reappearance steps (重现步骤)
Install Vue 3 project, install Naive UI, try to use any component
Expected results (期望的结果)
Naive UI working
Actual results (实际的结果)
Naive UI not working
Remarks (补充说明)

Error:
 ERROR  Failed to compile with 1 error                                                               7:06:31 AM

 error  in ./node_modules/async-validator/dist-web/index.js

Module parse failed: Unexpected token (847:18)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process thi
s file. See https://webpack.js.org/concepts#loaders
| class Schema {
|   // ========================= Static =========================
>   static register = function register(type, validator) {
|     if (typeof validator !== 'function') {
|       throw new Error('Cannot register a validator by type, validator is not a function');

 @ ./node_modules/naive-ui/es/form/src/FormItem.js 11:0-37 193:34-40
 @ ./node_modules/naive-ui/es/form/index.js
 @ ./node_modules/naive-ui/es/components.js
 @ ./node_modules/naive-ui/es/index.js
 @ ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/ts-loader?
?ref--14-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src
/views/Home.vue?vue&type=script&lang=ts
 @ ./src/views/Home.vue?vue&type=script&lang=ts
 @ ./src/views/Home.vue
 @ ./src/router/index.ts
 @ ./src/main.ts
 @ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js
./src/main.ts

Package json:
{
  "name": "glebjournal-mvp",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "lint": "vue-cli-service lint"
  },
  "dependencies": {
    "@vicons/material": "^0.11.0",
    "core-js": "^3.6.5",
    "firebase": "^8.10.0",
    "modern-css-reset": "^1.4.0",
    "moment": "^2.29.1",
    "naive-ui": "^2.19.8",
    "register-service-worker": "^1.7.1",
    "vfonts": "^0.1.0",
    "vue": "^3.2",
    "vue-router": "^4.0.0-0",
    "vuex": "^4.0.0-0",
    "vuexfire": "^3.2.5"
  },
  "devDependencies": {
    "@typescript-eslint/eslint-plugin": "^4.18.0",
    "@typescript-eslint/parser": "^4.18.0",
    "@vue/cli-plugin-babel": "~4.5.0",
    "@vue/cli-plugin-eslint": "~4.5.0",
    "@vue/cli-plugin-pwa": "~4.5.0",
    "@vue/cli-plugin-router": "~4.5.0",
    "@vue/cli-plugin-typescript": "~4.5.0",
    "@vue/cli-plugin-vuex": "~4.5.0",
    "@vue/cli-service": "~4.5.0",
    "@vue/compiler-sfc": "^3.0.0",
    "@vue/eslint-config-prettier": "^6.0.0",
    "@vue/eslint-config-typescript": "^7.0.0",
    "eslint": "^6.7.2",
    "eslint-plugin-prettier": "^3.3.1",
    "eslint-plugin-vue": "^7.0.0",
    "lint-staged": "^9.5.0",
    "prettier": "^2.2.1",
    "sass": "^1.26.5",
    "sass-loader": "^8.0.2",
    "typescript": "~4.1.5"
  },
  "gitHooks": {
    "pre-commit": "lint-staged"
  },
  "lint-staged": {
    "*.{js,jsx,vue,ts,tsx}": [
      "vue-cli-service lint",
      "git add"
    ]
  }

ref https://github.com/yiminghe/async-validator/issues/295

If they doesn't fix it before naive's next version, I'll lock its version to 4.0.4 in next version of naive.

I install async-validator 4.0.4 already, but still not work. And then should I config something else?

Try 4.0.3


Entitas creates a "[username].userproperties file" when running

When running the code generator from unity an empty file is created.
-[username].userproperties
This should be fixed. The file is useless, not used anywhere and can be committed into git by accident. The file depends on username the person is login as.

Hi @haltingstate
This is intentional behaviour based on the Preferences class.
. userproperties should be added to .gitignore
The idea of user properties is that user setups might be different and you can overwrite keys based on your system.
You can also reference keys from the user properties in your main properties, e.g.:
Unity.Path = /Applications/Unity/Hub/Editor
Unity.App = ${Unity.Path}/Unity.app/Contents/MacOS/Unity

If your system is setup differently, you can overwrite Unity.Path in your user properties


graph, graphql: Expand which fields we optimize away

This is a follow-on to https://github.com/graphprotocol/graph-node/pull/4827 to cover the important case where no ordering is specified (for example, for single-value child fields)

Closing this for the reasons explained in #4261


Implement client for git schema

https://git-scm.com/book/ch4-1.html#The-Git-Protocol

@ferhatelmas maybe you can take care of this as well, since you already know a bit about clients

@mcuadros Sure, my pleasure.

Merged.


Localization instructions

In response to issue #8704

Thanks for tackling this, @lucperkins.
I have some thoughts about further progress about what we should ask for/provide in terms of localization. They're best for a follow-up PR and shouldn't hold up this PR, which is almost ready to go.
The more I think about branching strategy, the more I think we need to provide some guidance to localization teams. I'm not sure what exact advice to provide, but I do think we need to talk about release branches, choosing a working branch, and choosing a branch (maybe standard across all localization repos?) to identify for periodic merging into k/website#master.

Is this good to go then?

/lgtm
/approve


Type inference problem with asJson syntax and wildcard type

Here is an example:
import io.circe.syntax._

sealed trait SealedTrait

case class Info[ST <: SealedTrait](st: ST)

implicit val infoWildcardEncoder: Encoder[Info[_ <: SealedTrait]] = ???

val infoWildcard: Info[_ <: SealedTrait] = ???

println(infoWildcard.asJson.noSpaces) //compile error
println(Encoder[Info[_ <: SealedTrait]].apply(infoWildcard).noSpaces) //compiles fine

This seems to be due to type-inference problem.  I could imagine a solution with Scala 2 macro since we have WeakTypeTag available at compile-time.
Could we consider to adapt asJson syntax for wildcard types?

In my experience existential types like this are almost always a mistake, and to be honest thinking about the semantics of stuff like Encoder[Info[_ <: SealedTrait]] makes my head hurt—I know there's a forSome under the sugar somewhere but I don't remember the rules about how it's scoped. In particular something like this seems basically equivalent but less painful to think about, and the syntax works as expected off-the-shelf:
import io.circe.Encoder, io.circe.syntax._

sealed trait SealedTrait
case class Sub(x: String) extends SealedTrait

case class Info[ST <: SealedTrait](st: ST)

implicit def infoWildcardEncoder[ST <: SealedTrait]: Encoder[Info[ST]] = ???

def info: Info[Sub] = ???
println(info.asJson.noSpaces) // compiles fine

def foo[ST <: SealedTrait](info: Info[ST]): Unit = {
    println(info.asJson) // also compiles fine
}

It might be possible to provide the syntax you're seeking for your case as written, either with or without a macro. If you can find a way to do it without a macro, I'd be happy to review a PR adding it to circe-extras.


chore(website): add anchors to sections, apply header offset for sections, fix links

Closes #1806

LGTM


run Ship detection notebook. Error found

graph_process = os.path.join(workspace, 'ShipDetection.xml')
with open(graph_process, 'w') as g_2:
    g_2.write(
"""
<graph id="Graph">
  <version>1.0</version>
    <node id="Read">
      <operator>Read</operator>
      <sources/>
      <parameters>
        <file>${inputproduct}</file>
      </parameters>
    </node>
    <node id="Land-Sea-Mask">
      <operator>Land-Sea-Mask</operator>
      <sources>
        <sourceProduct refid="Read"/>
      </sources>
      <parameters>
        <geometry>Gulf_of_Trieste_seamask_UTM33</geometry>
        <landMask>false</landMask>
        <useSRTM>false</useSRTM>
        <shorelineExtension>10</shorelineExtension>
      </parameters>
    </node>
    <node id="Calibration">

GPT complain on this line
  <geometry>Gulf_of_Trieste_seamask_UTM33</geometry>:
expression: Undefined symbol 'Gulf_of_Trieste_seamask_UTM33'. due to Undefined symbol 'Gulf_of_Trieste_seamask_UTM33'.
done.
I actually checked the file of the first step:
S1A_IW_GRDH_1SDV_20161009T165807_4550_Orb.dim
And did found there is vector data with the same name.

Hello, what version of eodag are you running ?
You should use v1.6.0 or newer, as the notebook got some fixes lately https://github.com/CS-SI/eodag/commits/master/examples/tuto_ship_detection.ipynb

Hello, what version of eodag are you running ?
You should use v1.6.0 or newer, as the notebook got some fixes lately https://github.com/CS-SI/eodag/commits/master/examples/tuto_ship_detection.ipynb

Hi @huayue21,
We've recently updated the ship detection notebook and it works fine. It contains now some more information about how to setup SNAP and the additional dependencies required to run the notebook correctly. Hope it helps you!

Closing since the notebook worked fine when I updated it. I'll reopen it if @huayue21 indicates that the problem is still there.

Hi @maximlt
I have the same problem while using SNAP 6.0:
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Initializing external tool adapters
Executing processing graph
INFO: org.hsqldb.persist.Logger: dataFileCache open start
expression: Undefined symbol 'Gulf_of_Trieste_seamask_UTM33'. due to Undefined symbol 'Gulf_of_Trieste_seamask_UTM33'.
 done.

Error: [NodeId: Land-Sea-Mask] expression: Undefined symbol 'Gulf_of_Trieste_seamask_UTM33'. due to Undefined symbol 'Gulf_of_Trieste_seamask_UTM33'.

It seems that Gulf_of_Trieste_seamask_UTM33 is in the orb file:
<MDElem name="parameters">
                        <MDATTR name="separateShapes" type="ascii">false</MDATTR>
                        <MDATTR name="vectorFile" type="ascii">eodag_workspace_shipdetection/auxdata/Gulf_of_Trieste_seamask_UTM33.shp</MDATTR>
                    </MDElem>

Hi @estambolieva,
Thanks for this report! I note that you are using SNAP 6.0 while the tutorial indicates that the version used to run it was SNAP 8.0. Could you try with this version instead?
Out of curiosity, would you mind replying to these questions?

In the first place, were you looking for a tool such as EODAG (i.e. search/download EO products) or were you more interested in this specific tutorial about ship detection or were you just looking for a tutorial with SNAP?
Have you also run the two other tutorials that makes use of SNAP (detect burnt areas)?

I'm asking because we're reworking the documentation currently and we're not sure to keep these 3 tutorials:

They don't say much about EODAG itself, it's more about processing images with SNAP/Sen2Cor/snappy
They are difficult to maintain

Hi @maximlt,
thanks a lot for the quick reply!
I downgraded SNAP to version 6.0 from 8.0 as SNAP 8.0 had a connection timeout problem (also mentioned here)
Connect to qc.sentinel1.eo.esa.int:443 [qc.sentinel1.eo.esa.int/<IP_ADDRESS>] failed: Connection timed out (Connection timed out) due to Connection timed out (Connection timed out)

What is your suggestion for getting the code up and running?
Answers:

manipulating sat. images
I have not run the other tutorials yet, but I will gladly do so :) Oh, how long would they be online for?

Cheers, K.

Ush I had a look at the link you shared, you're not the only one experiencing this issue! I'm sorry I have no suggestion for how to fix this, your best luck is to find a solution or workaround in that discussion you shared.
Ok thanks a lot for replying to my questions :+1:
We will have a discussion to see whether we should keep these tutorials around. If we remove them from the official documentation or the repo, they would anyway still be available from the previous version tags.


Add ref counter to pdu

Signed-off-by: Tom Grennan<EMAIL_ADDRESS>

staged in a topic branch for testing


@typescript-eslint/no-unnecessary-condition

Continuing conversation from https://github.com/standard/eslint-config-standard-with-typescript/pull/177#issuecomment-557457959.
https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unnecessary-condition.md

Seems not viable for Standard. Makes me think about https://github.com/standard/standard/pull/703 again.


加用字規範

Coverage decreased (-14.2%) to 58.876% when pulling cc5e1b9bfd99a0351141b7da5dccaa3540d0f35e on 加用字規範 into 8ddc374bb3f608409083389dfb5e68f65892f74c on master.

Coverage decreased (-14.2%) to 58.876% when pulling cc5e1b9bfd99a0351141b7da5dccaa3540d0f35e on 加用字規範 into 8ddc374bb3f608409083389dfb5e68f65892f74c on master.

Coverage increased (+1.0%) to 74.056% when pulling 8e3adfa4052fd8acd293d8a78a488cfbb9cbc6f9 on 加用字規範 into 8ddc374bb3f608409083389dfb5e68f65892f74c on master.

Coverage increased (+1.0%) to 74.056% when pulling 5689b29e8fe8cc386604052d422900998c92a9ab on 加用字規範 into 8ddc374bb3f608409083389dfb5e68f65892f74c on master.

Coverage increased (+1.0%) to 74.056% when pulling 5689b29e8fe8cc386604052d422900998c92a9ab on 加用字規範 into 8ddc374bb3f608409083389dfb5e68f65892f74c on master.


fix(core): accept UInt8Array in KVS.setValue()

This fixes saving screenshots via puppeteer v23, which started returning UInt8Array instead of a Buffer.
All places where we had a validation for Buffer now also accept UInt8Array.

This broken one e2e test, running them here: https://github.com/apify/crawlee/actions/runs/11052554773

Node's Buffer is a prototype-descendant of Uint8Array (source), we can save one comparison by just replacing ow.buffer with ow.uint8Array instead.
Both are also descendants of TypedArray, but there are more Array types like that, so such comparison would likely be too loose.


label superhuman.sh

Installomator.sh superhuman DEBUG=0

2021-10-20 11:52:27 superhuman setting variable from argument DEBUG=0
2021-10-20 11:52:27 superhuman ################## Start Installomator v. 0.7.0b1
2021-10-20 11:52:27 superhuman ################## superhuman
2021-10-20 11:52:28 superhuman BLOCKING_PROCESS_ACTION=prompt_user
2021-10-20 11:52:28 superhuman NOTIFY=success
2021-10-20 11:52:28 superhuman LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2021-10-20 11:52:28 superhuman no blocking processes defined, using superhuman as default
2021-10-20 11:52:28 superhuman Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.h10wS0No
2021-10-20 11:52:28 superhuman App(s) found:
2021-10-20 11:52:28 superhuman could not find superhuman.app
2021-10-20 11:52:28 superhuman appversion:
2021-10-20 11:52:28 superhuman Latest version not specified.
2021-10-20 11:52:28 superhuman Downloading https://download.superhuman.com/Superhuman.dmg to superhuman.dmg
2021-10-20 11:52:33 superhuman no more blocking processes, continue with update
2021-10-20 11:52:33 superhuman Installing superhuman
2021-10-20 11:52:33 superhuman Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.h10wS0No/superhuman.dmg
2021-10-20 11:52:37 superhuman Mounted: /Volumes/Superhuman 1
2021-10-20 11:52:37 superhuman Verifying: /Volumes/Superhuman 1/superhuman.app
2021-10-20 11:52:43 superhuman Team ID matching: 6XHFYUTQGX (expected: 6XHFYUTQGX )
2021-10-20 11:52:43 superhuman Downloaded version of superhuman is 11.0.34 (replacing version ).
2021-10-20 11:52:43 superhuman Copy /Volumes/Superhuman 1/superhuman.app to /Applications
2021-10-20 11:52:44 superhuman Changing owner to jake
2021-10-20 11:52:44 superhuman Finishing…
2021-10-20 11:52:55 superhuman App(s) found: /Applications/superhuman.app
2021-10-20 11:52:55 superhuman found app at /Applications/superhuman.app, version 11.0.34
2021-10-20 11:52:55 superhuman Installed superhuman, version 11.0.34
2021-10-20 11:52:55 superhuman notifying
2021-10-20 11:52:56 superhuman Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.h10wS0No
2021-10-20 11:52:56 superhuman Unmounting /Volumes/Superhuman 1
"disk3" ejected.
2021-10-20 11:52:56 superhuman App not closed, so no reopen.
2021-10-20 11:52:56 superhuman ################## End Installomator, exit code 0

Couldn't find a way to pull the version number via installomator, but maybe I'm missing something.
curl -fsIL https://superhuman.com/mac
HTTP/2 302
cache-control: no-store
location: https://download.superhuman.com/Superhuman.dmg
referrer-policy: strict-origin-when-cross-origin
strict-transport-security: max-age=15552000
x-content-type-options: nosniff
x-frame-options: DENY
content-type: text/plain; charset=utf-8
accept-ranges: bytes
date: Wed, 20 Oct 2021 15:38:39 GMT
x-served-by: cache-bos4651-BOS
x-cache: MISS
x-cache-hits: 0
x-timer: S1634744320.843565,VS0,VE36
vary: x-fh-requested-host, accept-encoding
content-length: 61

HTTP/2 200
date: Wed, 20 Oct 2021 15:38:40 GMT
content-type: application/octet-stream
content-length: 88246302
x-guploader-uploadid: ADPycdtznRPjqnQjjzrMevVmvJjTeG4iCSYI8LGGXEQpa8xLBkOUQfN-V8FwFIexhZV7VaAScP8Kg0rCFkbNImL7ujw
expires: Wed, 20 Oct 2021 16:37:09 GMT
cache-control: public, max-age=14400
last-modified: Fri, 15 Oct 2021 22:11:17 GMT
etag: "61d8dd9239f07a20825184b1733be377"
x-goog-generation:<PHONE_NUMBER>681793
x-goog-metageneration: 1
x-goog-stored-content-encoding: identity
x-goog-stored-content-length: 88246302
x-goog-hash: crc32c=dJwsUQ==
x-goog-hash: md5=YdjdkjnweiCCUYSxczvjdw==
x-goog-storage-class: MULTI_REGIONAL
cf-cache-status: HIT
age: 90
accept-ranges: bytes
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=QQ7yVpi56FlVSYMf1sNiKmDrvutCoMemvZguKhAOxprW%2Fe34%2Fbhs4fzGBhr%2BaVGzJaF4g2BHr%2BD%2F95Wx95dvAGrQ974tRGwWILtQxDfqboQWr6MeBuar1zI4k%2FVdpw8A1Cp9Vzc8Cjb5"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
strict-transport-security: max-age=15552000
x-content-type-options: nosniff
server: cloudflare
cf-ray: 6a13559febf0f060-EWR

Thank you for the contribution!
I managed to locate the latest version, so added that.


Make things more configurable

Heya!
Thank you for this gem, really useful. However, I think it is a bit too much opinionated.
IMO we should be able to configure:

the "bump commit" message;
the tag pattern (I don't use v in my tags).

I guess the ~/puppetforge.yml file is a good start. We could add two new parameters such as bump_commit_message and tag_pattern:

---
url: ...
username: ...
password: ...
git:
  bump_commit_message: "Bump version"
  tag_pattern: "v{version_number}"

WDYT?
William

Hello: What's the status of this?

+1


SocketCluster with JMeter

Are there any tutorials for testing SocketCluster with JMeter? We are trying to use the the "JMeter WebSocket Samplers" plugin and it is having a problem with ping-pong messages. Any help would be greatly appreciated!

Hi @MadGeometer , were you able to achieve your goal? Having same issue right now. My first idea  - for testing purpose we can bump these values:
// The interval in milliseconds on which to
// send a ping to the client to check that
// it is still alive
pingInterval: 8000,
// How many milliseconds to wait without receiving a ping
// before closing the socket
pingTimeout: 20000,


Update common.json

Sup bro. Here's the Tagalog (Filipino Language) version.

can move move this out of the en directory and make a tl directory?

You've gotta keep the original common.json — that's the English translation. Here lets close this and I'll give you a template to setup from.

I think I'm making this more complicated than it is. ok.

Ah you fixed it in the other one

Ah you fixed it in the other one

so ignore this pull request now?


Added "zarget.com" and "bjorksta.men"

Added "zarget.com" as per issue 430:
https://github.com/StevenBlack/hosts/issues/430
Added "bjorksta.men" as JS Miner
Moved "rocks.io" to JS Miner section

Thank you, @ScriptTiger!


Checking Wagtail 6.3

This pull request updates the project dependencies and testing configurations to ensure compatibility with newer versions of Python, Django, and Wagtail. The most important changes include updating the required Python version, updating the Wagtail and Django dependencies, and modifying the testing environment configurations.
I don't thing this needs a new release to be made.
I also made a few assumptions about dropping versions, please let me know if you would rather not do that.
Dependency updates:

pyproject.toml: Updated the required Python version to >= 3.9 and the Wagtail dependency to >= 5.2. Also updated the supported versions of Django and Wagtail in the classifiers section.

Testing configuration updates:

pyproject.toml: Changed the target-version for Ruff from py38 to py39.
tox.ini: Updated the testing environments to reflect the new supported versions of Python, Django, and Wagtail. Removed older versions and added new configurations for Django 5.1 and Wagtail 6.3.

Hi @nickmoreton - feels about right, in general we try and keep support with everything that's in active support.
(And there's a fix for coverage in #22).


Request for a cumulative summary graph

When graphing things like DDU consumption or revenue over time and you select SUM, then each data point in the graph is a sum for that time frame. This is good to show peaks and valleys. It would also be great to show cumulative growth, especially for things like DDU consumption. I know the total DDU purchased and I can set this as a threshold. If I could plot cumulative with forecasting, I can then project out to see if the customer will exceed the DDU purchased amount in the near future.

Bumping this one to high...

Having trouble visualizing what you're asking for... Either you want the data summed for an interval (ie a single point, depending on resolution) or you want it for the entire time range. Line/Bar provide the former table/toplist provide the latter.
Sum for entire time range:

Sums for intervals:

(DDUs summed per hour)
Are you asking to add plotlines on the y-axis to show a threshold?

Here's a graph for sum of revenue

I'd like to see this as a growth chart like this:

Ahh that makes sense. This is doable with some data manipulation.

So the power up would take each interval and keep rolling up the results.
16:20 $5,000
16:30 $4,000
16:40 $6,000
The plot lines would be $5,000 then $9,000 then $15,000 and so on

And if we could add in a forecast and threshold PU as well, then we would really have something. So for things like DDU, I plot the growth and display the threshold...say 10M DDU. Then the forecast predicts that DDU will hit the purchased limit on Nov 15th. That's the end goal...

Like this....

Added !PU(cumulative). Pushed to GitHub, added to ChromeStore 1.56.


Added example of NoCut to documentation.

This ought to document the use of NoCut to enable better composition of independently written parsers.  ("Ought to" because not all tests run as I'm not set up for scala.js, and I am entirely unfamiliar with Scalatex.)

If the build failure has anything to do with this PR, it is not obvious to me.

Looks like a flake, should be fine


Encoding extensions

e.g,  out?stealth=<Q>[&value=<satoshis>]
How should this be added?

See https://github.com/bitcoinjs/tif/issues/4


Added ring device operation

Implemented ring device operation in android client
Rename bean names in jax-rs

Add Class level/Method comments to wherever necessary.


Container window UI adjustments

From containers window, have a link to bring up the dockerfile template in an editor
so that people dont have to hunt it down.

a. usable for pointing the dockerhub url base image
b. usable for adding default pkgs
c. usable for a link to our docs
Also

Link back to Workspaces and we have with Containers... there
Some sort of indication that Create is clickable?
Double click on container connects to it if it is running? Not sure if it is feasible though.

See also #4110

I don't see

From containers window, have a link to bring up the dockerfile template in an editor
Link back to Workspaces and we have with Containers...
Some sort of indication that Create is clickable?

(From Template still has no frame)

Also, 'From Template' ... opens in current folder, should be opening where templates might be stored.

From containers window, have a link to bring up the dockerfile template in an editor

You mean our docker file? I don't like this idea. If user accidentally changes something in this file, he would have to reinstall RTVS to fix it.

Link back to Workspaces and we have with Containers...

We have just deleted it. Return it back?

should be opening where templates might be stored

User can store his templates anywhere, even as part of the project.

It is user problem. I don't think they'd be able to overwrite it since we install under Program Files and VS is not running as admin.
Yes, @smortaz  wants Workspaces... as we have Containers...

OK, then let's open ~/Documents
Still - what about double click?

Still - what about double click?

Depends on what we decide on #4041. If user has disabled a warning, he can accidentally change connection from containers window.

So be it - no different from Workspaces behavior.

Ok

It is user problem. I don't think they'd be able to overwrite it since we install under Program Files and VS is not running as admin.

Ok, if user can't change it, then what's the point of opening it?

Let's consider this done.


how get current path in (flutter web)

i want to create db in any path in flutter web
how i can do it?
like=>
// File path to a file in the current directory
String dbPath = 'sample.db';
DatabaseFactory dbFactory = databaseFactoryIo;
// We use the database factory to open the database
Database db = await dbFactory.openDatabase(dbPath);

This is a question better suited for StackOverflow, since there doesn’t seem to be anything wrong with Flutter itself. Closing, as this is not an issue report. See https://flutter.dev/community for support options.
If you disagree, feel free to comment and I will reopen the issue.


Do you have any detailed documentation?

Looking forward to your reply. Thank you.

Many .pt model files are obtained through public file training, but the next step is not given in README.md. Can we get the blurry picture as in the paper through the trained model? Or can the detailed file describe the next use of the model?

Hi @TimefliesG !
Thanks for identifying the issues. I would recommend using the src folder instead for generating the pt files. For obtaining the reconstructions, you can use the decoder_attack module and get those blurry (or non-blurry depending upon the method you use) images.
There are some images that might not be possible to get through the src directory but you can use the following reconstruction attack for that purpose.

If you can tell your exact requirement, I might be able to help more.

Thank you for your answer. @tremblerz
I will use src to generate .pt. If I encounter problems again, I will actively ask you for advice,
Best wish!

Are the defense mechanisms you mentioned in your DISCO paper not included in this benchmark? If I want to do research in this area, can you open source related content?

Hi @TimefliesG can you mention which specific ones are you referring to? We have most of them integrated and a very few left to be merged from the PRs

We should have disco merged very soon. If you wanna use it right away you can find it here https://github.com/splitlearning/InferenceBenchmark/blob/main/public/config.json, run python main.py in that directory and modify the config accordingly

Thank you for your work on this, I'll keep following and learning from this work ！

Hi @tremblerz In the data folder, dataset_utils.py does not contain UTKFace, but it is referenced in line 72 of loaders.py. Was this part not added?

I think it might have been kicked out due to some pull request, we will try to bring it back

In public, using gram-cam.py, the necessary files are missing: test_all_experiment_models and combine_models_for_analysis. At line 510, output_dir is missing. Could you mind provide the corresponding code for learning, thanks!


Disable notification

Hi,
There is any way to disable notification when the app is in background?
Best regards

Unfortunately no, if you are targeting an earlier version of Android (before 26) you can use v2.1.1


"APK in profile mode" lacks profiler

Start an app with
flutter run --engine-release --profile --no-checked --engine-src-path ...
Note that Observatory is not running.

--engine-release and --profile are mutually exclusive. This was working as intended. The arguments have changed since then though so this is moot.


Feat: Add icon on Home and Feedback button

Describe the feature
A relevant icon can be added on home and feedback button at the side of its text to make it look more appealing
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a SWOC24 contributor
[X] I want to work on this issue

Assigned this issue to @Ishita928  , kindly drop a star on this repo
HAPPY CODING !