Recover keys from original P-frames in i3_to_json.py

Previously i3_to_json.py would fill all the keys required by the realtime JSON generation code with dummy values. This was likely an unintended consequence of running the trigger splitter to create SplitUncleanedInIcePulses, which would result the creation of an empty P-frame. See #5 and #6 for context.
With this PR this behavior changes:

original P-frames are extracted and indexed by uid
where available, realtime keys are copied over from the original P-frame, otherwise they are filled with dummy values.

To achieve this, some machinery is introduced for this in the form of the fill_key() and fill_missing_keys() functions. The latter replaces functionality previously implemented in alertify().
Additional changes:

replacement of deprecated from I3Tray import;
replacement of icetray.load with import of the corresponding module;
introduction of a suppress_warnings module as a workaround for IceTray Issue #3112. Why not call warnings.filterwarnings() in the main file? Because flake8 would then complain that all following imports are not at the head of the file and I didn't want to disseminate temporary noqa statements everywhere;
black-ification of the code (I know we don't like this usually but I really needed some auto-formatting). I can revert it if you think it's better.

Thanks for this. In lieu of running a separate tray, what about adding an optional argument -p for a user-specified pulse-series, which can be copied into SplitUncleanedInIcePulses? Then we can just run over the original p-frame.
This would mitigate some unintended behavior when there is a clash of uid.

It's a possibility, but how do we establish that the user-specified pulse-series is the correct one / equivalent to  SplitUncleanedInIcePulses ? For example I would not know which one to pick and I would rather encode default and fallback options rather than leaving it open.
Then I would still go for an opt-in method to choose which keys to copy and avoid flooding the output file with unnecessary data (also it seems the content of at least a couple of keys is not serializable).

Thanks for this. In lieu of running a separate tray, what about adding an optional argument -p for a user-specified pulse-series, which can be copied into SplitUncleanedInIcePulses? Then we can just run over the original p-frame.
This would mitigate some unintended behavior when there is a clash of uid.

It's a possibility, but how do we establish that the user-specified pulse-series is the correct one / equivalent to SplitUncleanedInIcePulses ? For example I would not know which one to pick and I would rather encode default and fallback options rather than leaving it open.
Then I would still go for an opt-in method to choose which keys to copy and avoid flooding the output file with unnecessary data (also it seems the content of at least a couple of keys is not serializable).

Yes that's true, it's not possible ensure the passed pulseseries will match SplitUncleanedInIcePulses. Though it would allow some additional flexibility if users wanted to run scans on different pulses.
I think the opt-in method would work (and  already exists to some extent with the --extra). Maybe one way to get around the UID for MC is to hash the InIcePulses, which would be unique for all intents and purposes.

It's a possibility, but how do we establish that the user-specified pulse-series is the correct one / equivalent to SplitUncleanedInIcePulses ? For example I would not know which one to pick and I would rather encode default and fallback options rather than leaving it open.
Then I would still go for an opt-in method to choose which keys to copy and avoid flooding the output file with unnecessary data (also it seems the content of at least a couple of keys is not serializable).

Yes that's true, it's not possible ensure the passed pulseseries will match SplitUncleanedInIcePulses. Though it would allow some additional flexibility if users wanted to run scans on different pulses.

This should be rather a feature for Skymap Scanner :)

I think the opt-in method would work (and already exists to some extent with the --extra). Maybe one way to get around the UID for MC is to hash the InIcePulses, which would be unique for all intents and purposes.

I guess this can be done but we still have the issue of the output filename (I would avoid long hashes in filename if possible).

That's a lot of diff.

FWIW this repo doesn't have much history anyway, so I think the big diff is okay


iconFamily as a prop for Icon

Hi
Thanks for the great work. Is it doable to just place iconFamily as props for Icon?

Sometimes, we may want Icon from different families in the same component.

That is not something we're looking at right now because you can always import another set of icons from react-native-vector-icons for another iconFamily.


Release/0.4.2

got targets ES2018 which means having ES2017 as our target is a little pointless since the only available emitter uses got. This bumps the typescript target to ES2018 for the tracker and bumps got to the latest release. This is an attempt to fix a type issue being exhibited in a client application.

Coverage remained the same at 100.0% when pulling 6b2da9bc8278bc6d568e9bc4375a594b98b79257 on release/0.4.2 into 618b9f92bbe179b724eed1d73772011b6f9dc2e5 on master.


Regression in annotation processor performance due to JDK-8153229

This relates to the performance regression observed in #522.  We saw some good performance improvement due to getting the fix for  JDK-8171294 but still see a significant regression in compile time on Error Prone 2.0.16 as compared to Error Prone 2.0.15.  Digging more, it seems like the underlying problem is JDK-8153229, which gets exposed by heavy annotation processor use.  The issue has been fixed upstream; see google/error-prone-javac@d025db9b1da41b8236fa9bdbaff2eb135f37076c.
When possible, could this commit be backported to error-prone-javac?  My apologies for not finding this issue before the 2.0.16 release; I had assumed that the fix for JDK-8171294 would solve our problems.

Sure, thanks for doing the investigation.
Can you verify that the backport for JDK-8153229 is sufficient? Here's an archive containing an error-prone-javac that includes the fix, and a snapshot build of Error Prone based on that javac: https://github.com/google/error-prone/files/778933/i529.zip

I will try to verify the fix tonight and report back.
On Wed, Feb 15, 2017, 6:48 PM Liam Miller-Cushon<EMAIL_ADDRESS>wrote:

Sure, thanks for doing the investigation.
Can you verify that the backport for JDK-8153229 is sufficient? Here's an
archive containing an error-prone-javac that includes the fix, and a
snapshot build of Error Prone based on that javac:
https://github.com/google/error-prone/files/778933/i529.zip
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/error-prone/issues/529#issuecomment-280214672,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALyUVWIF5unZWIBS2e4aRdbq2P-RTHbks5rc7jhgaJpZM4MCZti
.

Verified!  This fix reduces an annotation-processor-heavy build time from ~50s to ~23s, which is roughly the build time we were seeing before with Error Prone 2.0.15.  (It was up to ~80s before the fix for #522.)

Seems like 2.0.16 did not make it into maven central yet. https://mvnrepository.com/artifact/com.google.errorprone/error_prone_ant
Maybe the fix can be part of 2.0.16 upon release?

It's already there http://search.maven.org/#search|ga|1|error_prone_ant
mvnrepository.com is some third-party, super slow website. Don't use it.

I cut a javac release with the fix, and will push another error prone release soon.

@cushon Thanks. We are waiting to include native EP support in buck build tool: [1]. EP documentation should be extended to reflect Buck native support.

[1] https://github.com/facebook/buck/pull/1047

@davido thanks, I'd be happy to take a PR to update the docs once that lands.


Running Supabase CLI start with Docker Rootless on Ubuntu

Edit: Sorry, when creating this issue from the discussion post I failed to see that it was in the supabase instead of the cli repository. Feel free to move it or close it as appropriate.
Discussed in https://github.com/supabase/supabase/discussions/7104

Originally posted by snorremd June  1, 2022
Hello community.
I've setup Docker Rootless on my Ubuntu workstation. I've made sure the DOCKER_HOST environment variable is set and that it points to unix:///run/user/1000/docker.sock. Whenever I try to run supabase start I just get an error:
Error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
  in github.com/supabase/cli/internal/utils.AssertDockerIsRunning:26
  in github.com/supabase/cli/internal/start.Run:35

It seems Supabase CLI is not picking up on the correct DOCKER_HOST URL. But I'm not sure if that is down to my setup or some error in the code. I would be grateful for any advice.
Running containers in rootless mode with the docker command works nicely:
$ docker run -it -p 8080:80 nginx
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up

Solution
It seems that the supabase-cli ignores DOCKER_HOST and always creates a docker client using the default host, /var/run/docker.sock. I've temporarily fixed the issue by symbolically linking the socket to this location:
sudo ln -s /run/user/1000/docker.sock /var/run/docker.sock

I  think Supabase CLI should probably check for the DOCKER_HOST variable when creating its docker client.

I'd be willing to try to make a PR for this if that is okay with the maintainers. It has been a while since I wrote any go, but I think this should be a reasonably simple fix.

Please do! I believe you can simply cherry-pick these changes: https://github.com/supabase/cli/blob/83b133e24b98b6506864850ba19107317a534af9/internal/utils/docker.go#L21-L26


 No collections found! This series may be blocked in your area.
! This series may also be for mature audiences! Try logging in with an account with mature content enabled.

I am in Australia, so using the unblock command allows me to get around region locking, however whenever I used --unblocked I can't then use my Crunchyroll login, because it's an AU account.
Thus I'm wondering if it's possible for you to add a flag to enable mature content via some part of the query or is that not possible?

I believe that media was taken from Crunchyroll due to the Funimation split last year, I have already accounted for mature shows otherwise.

Is it outputting the wrong error message then?
Because it clearly says that the content is for mature audiences.
The line before that ! No collections found! This series may be blocked in your area. I presume is the removal of the content like you say, but why is the later line still display?
(Just interested)

I have that generic error because there is no way to determine the exact error.
To elaborate, Crunchyroll has an empty collection for the series you mentioned, because they removed the series after the Funimation split. However, if you visit a series which is available in one region but is not available elsewhere in the world, Crunchyroll will still show empty collections as well (For example, https://www.crunchyroll.com/one-punch-man and https://crunchyroll.com/cowboy-bebop show as empty for me in Canada, but you can watch them in the UK). They do this for mature series as well, when the user does not have that enabled in their settings.
Since I cannot tell if the series is blocked, restricted due to mature settings, or removed, I display that one generic error message.


Model Compiler - ONNX flow fix & Fuse Ops fix

-This pr fixes onnx 'keyerror' issue
-This PR fixes the fuse ops issue where it tries to read the binary files when it is not there until the runtime

This fixes the keyerror issue. I have been able to run alexnet 7, resnet50 2, squeezenet 7 and vgg16 7 all the way through anntest.
Alexnet 7 fails with fuseOn though.

@hansely can you fix the codacy issues - https://github.com/GPUOpen-ProfessionalCompute-Libraries/MIVisionX/pull/1082/checks?check_run_id=13499916194

@kiritigowda fixed one of the two codacy issues. Fixing the other codacy issue will cause the keyerror issue. The PR is ready to be merged

All the models are now passing with fuse on.
RAN (ONNX): squeezenet, precision - FP32, batch size - 1
RAN (ONNX): squeezenet, precision - FP32, batch size - 2
RAN (ONNX): squeezenet, precision - FP32, batch size - 4
RAN (ONNX): squeezenet, precision - FP32, batch size - 8
RAN (ONNX): squeezenet, precision - FP32, batch size - 16
RAN (ONNX): squeezenet, precision - FP32, batch size - 32
RAN (ONNX): squeezenet, precision - FP32, batch size - 64
RAN (ONNX): squeezenet, precision - FP32, batch size - 128
RAN (ONNX): vgg19, precision - FP32, batch size - 1
RAN (ONNX): vgg19, precision - FP32, batch size - 2
RAN (ONNX): vgg19, precision - FP32, batch size - 4
RAN (ONNX): vgg19, precision - FP32, batch size - 8
RAN (ONNX): vgg19, precision - FP32, batch size - 16
RAN (ONNX): vgg19, precision - FP32, batch size - 32
RAN (ONNX): vgg19, precision - FP32, batch size - 64
RAN (ONNX): vgg19, precision - FP32, batch size - 128
RAN (ONNX): resnet50, precision - FP32, batch size - 1
RAN (ONNX): resnet50, precision - FP32, batch size - 2
RAN (ONNX): resnet50, precision - FP32, batch size - 4
RAN (ONNX): resnet50, precision - FP32, batch size - 8
RAN (ONNX): resnet50, precision - FP32, batch size - 16
RAN (ONNX): resnet50, precision - FP32, batch size - 32
RAN (ONNX): resnet50, precision - FP32, batch size - 64
RAN (ONNX): resnet50, precision - FP32, batch size - 128
RAN (ONNX): densenet, precision - FP32, batch size - 1
RAN (ONNX): densenet, precision - FP32, batch size - 2
RAN (ONNX): densenet, precision - FP32, batch size - 4
RAN (ONNX): densenet, precision - FP32, batch size - 8
RAN (ONNX): densenet, precision - FP32, batch size - 16
RAN (ONNX): densenet, precision - FP32, batch size - 32
RAN (ONNX): densenet, precision - FP32, batch size - 64
RAN (ONNX): densenet, precision - FP32, batch size - 128
RAN (ONNX): googlenet, precision - FP32, batch size - 1
RAN (ONNX): googlenet, precision - FP32, batch size - 2
RAN (ONNX): googlenet, precision - FP32, batch size - 4
RAN (ONNX): googlenet, precision - FP32, batch size - 8
RAN (ONNX): googlenet, precision - FP32, batch size - 16
RAN (ONNX): googlenet, precision - FP32, batch size - 32
RAN (ONNX): googlenet, precision - FP32, batch size - 64
RAN (ONNX): googlenet, precision - FP32, batch size - 128

Alexnet doesn't work since there is a group convolution failure issue with MIOpen.
https://github.com/ROCmSoftwarePlatform/MIOpen/issues/2067

@paveltc can you test this?

Checked this yesterday. Should be good to merge.

@kiritigowda Can be merged now


Multiple tables

Hello 🙋♂🙋♂
🔰 Pull Request Title:
Enhancement: Implement Database Schema and Queries for Animal Ownership
🔰 Pull Request Description:
This pull request addresses the project requirements related to creating and managing a database schema for animal ownership. It includes the creation of tables, insertion of data, and the formulation of SQL queries to extract meaningful insights from the database.
🔰 Changes Made:
✅ Created the owners table with columns: id, full_name, and age, and inserted relevant data.
✅ Created the species table with columns: id and name, and inserted data.
✅ Modified the animals table:
✅ Set id as an auto-incremented PRIMARY KEY.
✅ Removed the species column.
✅ Added the species_id column as a foreign key referencing the species table.
✅ Added the owner_id column as a foreign key referencing the owners table.
✅ Inserted animals into the animals table based on specified rules regarding species determination and ownership.
🔰 Created SQL queries to answer the following questions:

What animals belong to Melody Pond?

List of all animals that are Pokemon.

List all owners and their animals, including those without any animals.

How many animals are there per species?

List all Digimon owned by Jennifer Orwell.

List all animals owned by Dean Winchester that haven't tried to escape.

Who owns the most animals?

@addod19 Thank you so much for your thorough review and for approving the pull request!


Upgrade sqlparse based on dependabot security warning

This PR uprades sqlparse to address this dependabot warning: https://github.com/ansible/django-ansible-base/security/dependabot/9

This will cause a conflict with controller so controller will need to be updated as well.

This will cause a conflict with controller so controller will need to be updated as well.

A PR is up in tower repo: https://github.com/ansible/tower/pull/6704


Declare Python 3 support

Python 3 is working just fine. Let's declare that and run automated tests for it.

Does travis support python? Having that sanity check in place sounds like a good idea. I should look into that.

Yeah, you can setup a whole bunch of Python versions as a test matrix. See patch and docs.

Oh word, I already have this set up with travis. XD And you added the versions to the tavis.yaml file I forgot I already made.
Cool.

lgtm, thanks


Remove unused rest call

Checklist

[x] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.

Motivation and Context

While i was working on my integration tests i found this rest route, which existed on the client, but not on the server. After investigating the test-repository functionality we decided to remove the rest call, since the test-repository does not have build logs.
Steps for Testing
There are no steps for testing the "new" functionality, but in order to ensure that remaining functionality is not effected by the change please use the following steps

Create a Programming Exercise with an enabled Online Editor
Open the editor and create a compile error (for example remove curly brackets)
Click on the submit button
=> the build should fail and a build output should be shown

Good finding and thank you for testing @anditurdiu . I receive the same error. I tried it also with the development build and then i also receive the same error. So from my understanding the problem already existed and should be addressed in an additional PR.

@F4lka @kloessst  and I double checked again and tested the use case above on the current release of Artemis and the error is still present. This means that it is unrelated to this pull request. We can probably go ahead and merge and should create a new issue for the bug

@F4lka @kloessst and I double checked again and tested the use case above on the current release of Artemis and the error is still present. This means that it is unrelated to this pull request. We can probably go ahead and merge and should create a new issue for the bug

Here is the new Issue:
#1436


2024-04-23, 24, Python으로 웹 스크래퍼 만들기: From 6.0 to 6.6

https://replit.com/@developerfeel/feel-challenge-6


webpack externals are still bundled in vue-cli

Version
3.0.0-rc.11
Node and OS info
node v8.11.3; npm v6.1.0; windows 10
Steps to reproduce
Reproduction steps in the readme of this repo: https://github.com/rjm0017/external-bundle-issue
What is expected?
vue-cli should be using the exports in vue.config.js to externalize three.js
What is actually happening?
bundle size is massive when three.js is imported, even with the externalization referenced from the vue-cli docs

Reproduction can be done in https://github.com/rjm0017/external-bundle-issue and all of the steps are there

externals should be a package name, i.e. lowercase three, not THREE.


Add section for Enabling Azure Product Search

Bug 621010: Docs issue #3568: Add section for Enabling Azure Product Search

:x: Organization membership check failed
Members of the MicrosoftDocs organization should use the private repo. Please move your changes to https://github.com/MicrosoftDocs/Dynamics-365-Operations, and close this pull request.


Add a Forcings Engine Data Provider

This PR resolves #705 by adding a ForcingsEngineDataProvider that directly queries the NextGen Forcings Engine to generate zonal forcings aggregates for each catchment in a given hydrofabric subset.

[!WARNING]
In progress

Additions

Adds data_access::ForcingsEngine, which is a singleton abstraction over the Python BMI Adapter specifically for the Forcings Engine BMI package.
Adds data_access::ForcingsEngineDataProvider, which inherits GenericDataProvider, that holds reference to data_access::ForcingsEngine.
Adds checks for the Forcings Engine python package and the $WGRIB2 environment variable prior to instantiating a Forcings Engine instance.

Changes

Modifies the forcings listfile to handle adding source files when dependent features are enabled/not enabled.

Notes

To use the forcings engine, the user's environment requires NetCDF/PNetCDF, ParallelIO, and ESMF (+ python bindings). Additionally, the wgrib2 executable is required.
When running the forcings engine, the WGRIB2 environment variable must be set to the path of the wgrib2 executable. If/when pywgrib2 is integrated, this will not be a requirement.
Currently the forcings engine requires a separate config file, and pre-downloaded forcings extracts.

To-Do

[x] Allow forcings engine to be installable as a package (https://github.com/jduckerOWP/ngen-forcing/pull/3)

Checklist

[X] PR has an informative and human-readable title
[X] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[X] Code follows project standards (link if applicable)
[ ] Passes all existing automated tests
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Target Environment support

[ ] Linux
[ ] macOS

Mind if we make this change as well as part of this PR?
diff --git a/include/forcing/GenericDataProvider.hpp b/include/forcing/GenericDataProvider.hpp
index 6bdeeb4f0..d4c6bd7ae 100644
--- a/include/forcing/GenericDataProvider.hpp
+++ b/include/forcing/GenericDataProvider.hpp
@@ -6,12 +6,7 @@

 namespace data_access
 {
-    class GenericDataProvider : public DataProvider<double, CatchmentAggrDataSelector>
-    {
-        public:
-
-        private:
-    };
+    using GenericDataProvider = DataProvider<double, CatchmentAggrDataSelector>;
 }

@donaldwj @hellkite500 Could one of you review this? I'm happy with it, but I've also had a lot of say in its progression, so I don't want to be the one to sign off on it.


ExtensionLoader#addExtension doesn't work

[ ] I have searched the issues of this repository and believe that this is not a duplicate.
[ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.6.5
Operating System version: win10
Java version: 1.8

Steps to reproduce this issue

com.alibaba.dubbo.common.extension.ExtensionLoader#addExtension

public void addExtension(String name, Class<?> clazz) {
        getExtensionClasses(); // load classes

        ...

        if (!clazz.isAnnotationPresent(Adaptive.class)) {
            ...

            cachedNames.put(clazz, name);
            cachedClasses.get().put(name, clazz);
        }
         ...
    }

I wan't to load xXXFilter when dubbo init，when call this method , ExtensionLoader#cachedActivates will load system extension，but xXXFilter I call this method manually don't load in ExtensionLoader#cachedActivates.This will lead ExtensionLoader#getActivateExtension() don't have xXXFilter.
Did I use it incorrectly?
Did I misunderstood the purpose of this method?

The ExtensionLoader here is not only for loading class extensions, but also provides an instance of @Adaptive annotations. The addExtension method is to ensure that the class always provides a default class extension, so that the ExtensionComper will be set to adaptive extension when the ExtensionLoader is loaded. class
You can see the contents of the META-INF/dubbo/inetrnal/org.apache.dubbo.common.compiler.Compiler file in the dubbo-common module.
adaptive=org.apache.dubbo.common.compiler.support.AdaptiveCompiler
jdk=org.apache.dubbo.common.compiler.support.JdkCompiler
javassist=org.apache.dubbo.common.compiler.support.JavassistCompiler

The place to load the class extension is in the getAdaptiveExtensionClass method.
private Class<?> getAdaptiveExtensionClass() {

    //First find all resource files, load all extension classes, but not instantiated
    // In the process of loading the extension class, if you encounter a class with an Adaptive
    //annotation, the class will be set to the cache cachedAdaptiveClass
    // In this case, the logic to achieve adaptive expansion by the user

    getExtensionClasses();
    if (cachedAdaptiveClass != null) {
        return cachedAdaptiveClass;
    }

    return cachedAdaptiveClass = createAdaptiveExtensionClass();
}

It is recommended to write the following code test
package org.apache.dubbo.common.extension.adaptive.codeGen.impl;

  import org.apache.dubbo.common.URL;
  import org.apache.dubbo.common.extension.adaptive.codeGen.MyExtension;
  import org.apache.dubbo.common.extension.adaptive.codeGen.URLGetter;

  public class DefaultMyExtension implements MyExtension {
      @Override
      public String adaptiveMethod(String param1, int param2, URL url) {
          return String.format("Params passed in are: param1:%s, param2:%d, url:%s");
      }

      @Override
      public String adaptiveMethod2(String param1, int param2, URLGetter urlGetter) throws Exception {
          return String.format("Params passed in are: param1:%s, param2:%d, urlGetter:%s");
      }

      @Override
      public void noAdaptiveMethod(String param1, URLGetter urlGetter) throws Exception {

      }
  }

package org.apache.dubbo.common.extension.adaptive.codeGen;

  import org.apache.dubbo.common.URL;
  import org.apache.dubbo.common.extension.Adaptive;
  import org.apache.dubbo.common.extension.SPI;

  @SPI("default")
  public interface MyExtension {

  @Adaptive
  String adaptiveMethod(String param1, int param2, URL url) throws Exception;

  @Adaptive("protocol")
  String adaptiveMethod2(String param1, int param2, URLGetter urlGetter) throws Exception;

  void noAdaptiveMethod(String param1, URLGetter urlGetter) throws Exception;
  }

package org.apache.dubbo.common.extension.adaptive.codeGen;

  import org.apache.dubbo.common.URL;

  public class URLGetter {
      private URL url;

      public URLGetter(URL url){
          this.url=url;
      }

      public URL getUrl() {
          return url;
      }

      public void setUrl(URL url) {
          this.url = url;
      }

      @Override
      public String   toString() {
          return "URLGetter{" +
                  "url=" + url +
                  '}';
      }
  }

package org.apache.dubbo.common.extension.adaptive.codeGen;

  import org.apache.dubbo.common.extension.AdaptiveClassCodeGenerator;
  import org.junit.jupiter.api.Test;

  public class AdaptiveClassCodeGeneratorTest {

      @Test
      public void testProtocolCodeGen() {
          AdaptiveClassCodeGenerator generator=
                  new AdaptiveClassCodeGenerator(MyExtension.class,"default");
          String code=generator.generate();
          System.out.println(code);
      }
  }

@masteryourself

I see what you mean. I misunderstood the purpose of this method, it's my mistake. Thank you.

I have another problem. Can I use api to add xXXFilter dynamic when dubbo init, not set dubbo.consumer.filter = xXXFilter but api. I want to controller filter by procedure judge.

Maybe you can pass the  getActivateExtension method

No feedback for a long time, please close the issue temporarily. If there is still a problem, you can reopen it.


Added request data to intent handlers

renamed request object to data
added data to 3rd parameter of intent handler
#22

Coverage remained the same at 100.0% when pulling 9785fa98fa046f2ba9b28bd9a3c0bd1460b693e1 on read-entire-request into 61bcf78c16da204c6c1950f6e5397bd6cda4b2f2 on master.


JSDoc: Add support for odd tabSize in onEnterRules

In the description of the JSDoc inside the class declaration is not added symbol * when moving to a new line.

VSCode Version:

OS Version: Linux Mint 18 x64

Steps to Reproduce:
/**
 * @class My
 * @prop {string} name
 */
class My {
   constructor() {
      this.name = 'MyName';
   }

   /**
    * @method func
    * @param {string} p1
    */
   func() {

   }
}

In the code in the label 1 press Enter;
* added in new line (label 2);
In the code in the label 3 press Enter;
* not added in new line (label 4).

screen1
screen 2

@IgorNovozhilov See comment in #16076. I believe you might have installed an extension that binds the "enter" key and implements its own enter custom logic instead of our default one.

Your example doesn't match what I sent.
Not only works inside the class definition:
/**
 * @class My
 * @prop {string} name
 */
class My {
   constructor() {
      this.name = 'MyName';
   }

   /**
    * @method func
    * @param {string} p1
    */
   func() {

   }
}

The same does not work when using an odd number of spaces when the tab for example 3

@alexandrudima, does not work when using an odd number of spaces when the tab for example 3

@alexandrudima, the same is not working if I use Tab instead of Spaces.
if line: \t\s*\t@propName
after pressing enter adds the string without *
settings:
   "editor.tabSize": 2,
   "editor.insertSpaces": false

The regular expressions we ship with are optimized for a certain style of JSDoc comments and for an even number tabSize. The typescript/javascript extension could support multiple styles of JSDoc comments through a configuration option and ajust the onEnterRules accordingly.
Additionally, an extension could be written to overwrite them to something new.
Code pointer: https://github.com/Microsoft/vscode/blob/4f398bafda1fde8e17ec4646371272baad6d3914/extensions/typescript/src/typescriptMain.ts#L261
fyi @mjbvz

:+1:


Logic: Music Command Fixed Resource for .Jar

Coverage increased (+0.3%) to 88.243% when pulling 7f101b307447cc10e2d1a976f5887aac81f00dc0 on hanselblack:Music into 75db56d45a861183230e299ffbb5083b027ec5cf on CS2103AUG2017-W11-B4:master.


error witn .env example

it gives me this error with python 3.10.8
Traceback (most recent call last):   File "/home/mrbrune/facebook-event-aggregator/app/main.py", line 42, in <module>     pages = read_pages_from_env()   File "/home/mrbrune/facebook-event-aggregator/app/scrape_and_parse/scrape_and_parse.py", line 143, in read_pages_from_env     raw_pages = loads(getenv("pages"))   File "/usr/local/lib/python3.10/json/__init__.py", line 346, in loads     return _default_decoder.decode(s)   File "/usr/local/lib/python3.10/json/decoder.py", line 337, in decode     obj, end = self.raw_decode(s, idx=_w(s, 0).end())   File "/usr/local/lib/python3.10/json/decoder.py", line 353, in raw_decode     obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 71 (char 70)

ok solved in this pull #5

Wacky oversight on my end, thank you for spotting & fixing it!


Update to resize 0.8

This also requires rgb 0.8 and its FromSlice trait.

looks good to me, thanks!


Kite not working with Neovim

I just installed Kite, restarted Neovim, restarted my computer and tried again but still nothing. The plugin is installed and running but completions aren't appearing, Copilot isn't following my cursor, and running :KiteGotoDefinition always returns Kite: unable to find a definition.
Application Logs: https://s3.console.aws.amazon.com/s3/object/kite-client-logs/prod/646900/kite_local/client.log.2021-01-16_12-14-58-PM.bak.gz
kite-vim.log
The triangles are from my fish welcome message I think
> /home/ecal/.config/nvim/pack/kite/start/vim-plugin/lib/linux/kite-http --timeout 120ms 'http://<IP_ADDRESS>:46624/clientapi/languages'
< △▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽HTTP/1.1 200 OK
<
< ["bash","c","cpp","csharp","css","go","html","java","javascript","jsx","kotlin","less","objectivec","php","python","ruby","scala","tsx","typescript","vue"]
<

> /home/ecal/.config/nvim/pack/kite/start/vim-plugin/lib/linux/kite-http --timeout 400ms 'http://<IP_ADDRESS>:46624/api/buffer/vim/%3Ahome%3Aecal%3Ascripts%3Atest.py/△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽5aac84a48218316830b58cbc28ee5081/hover?cursor_runes=17'
< HTTP/1.1 404 Not Found
<
< file not found: /home/ecal/scripts/test.py
<

> /home/ecal/.config/nvim/pack/kite/start/vim-plugin/lib/linux/kite-http --timeout 400ms 'http://<IP_ADDRESS>:46624/api/buffer/vim/%3Ahome%3Aecal%3Ascripts%3Atest.py/△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽5aac84a48218316830b58cbc28ee5081/hover?cursor_runes=17'
< HTTP/1.1 404 Not Found
<
< file not found: /home/ecal/scripts/test.py
<

> /home/ecal/.config/nvim/pack/kite/start/vim-plugin/lib/linux/kite-http --timeout 120ms 'http://<IP_ADDRESS>:46624/clientapi/languages'
< △▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽HTTP/1.1 200 OK
<
< ["bash","c","cpp","csharp","css","go","html","java","javascript","jsx","kotlin","less","objectivec","php","python","ruby","scala","tsx","typescript","vue"]
<

> /home/ecal/.config/nvim/pack/kite/start/vim-plugin/lib/linux/kite-http --timeout 400ms 'http://<IP_ADDRESS>:46624/api/buffer/vim/%3Ahome%3Aecal%3Ascripts%3Atest.py/△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽5aac84a48218316830b58cbc28ee5081/hover?cursor_runes=17'
< HTTP/1.1 404 Not Found
<
< file not found: /home/ecal/scripts/test.py
<

> /home/ecal/.config/nvim/pack/kite/start/vim-plugin/lib/linux/kite-http --timeout 400ms 'http://<IP_ADDRESS>:46624/api/buffer/vim/%3Ahome%3Aecal%3Ascripts%3Atest.py/△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽△▽5aac84a48218316830b58cbc28ee5081/hover?cursor_runes=17'
< HTTP/1.1 404 Not Found
<
< file not found: /home/ecal/scripts/test.py
<

Kite is running:

And the extension is loaded:

I suspect the triangles are preventing the response being parsed, so nothing works.
Interestingly they are only present for 200 OK responses, not the 404s.
The question is what is triggering those triangles – presumably either the plugin or the kite-http helper.

I suspect the triangles are preventing the response being parsed, so nothing works.
Interestingly they are only present for 200 OK responses, not the 404s.
The question is what is triggering those triangles – presumably either the plugin or the kite-http helper.

The plugin uses system() to call out to kite-http.  system() goes via the shell.
@e-cal Please can you try :set shell=/usr/local/bin/bash (or whatever your bash path is) and see if things work?

The plugin uses system() to call out to kite-http.  system() goes via the shell.
@e-cal Please can you try :set shell=/usr/local/bin/bash (or whatever your bash path is) and see if things work?

@airblade That did remove the welcome message from the logs but wasn't the problem.
But thanks to your suggestion I managed to fix it by adding exec permissions to ~/.config/nvim/pack/kite/start/vim-plugin/lib/linux/kite-http as it only had read permissions before. I installed everything as per the documentation so I'm not really sure why that was the case but glad I have it working now. Thanks for the help!

@airblade That did remove the welcome message from the logs but wasn't the problem.
But thanks to your suggestion I managed to fix it by adding exec permissions to ~/.config/nvim/pack/kite/start/vim-plugin/lib/linux/kite-http as it only had read permissions before. I installed everything as per the documentation so I'm not really sure why that was the case but glad I have it working now. Thanks for the help!

@e-cal Well spotted!  I'm glad you got it working.
@metalogical This has occurred several times now.  It was supposed to have been fixed in https://github.com/kiteco/kiteco/issues/11177 but evidently the installer doesn't always give kite-http execute permissions.

@e-cal Well spotted!  I'm glad you got it working.
@metalogical This has occurred several times now.  It was supposed to have been fixed in https://github.com/kiteco/kiteco/issues/11177 but evidently the installer doesn't always give kite-http execute permissions.


Added null cheks for some of the web settings so that settings not pr…

Q
A

Bug fix?
yes

New feature?
no

New sample?
no

Added null cheks for some of the web settings so that settings not provided in the provisioning template does not overwrite settings on the web. This also supports clearing out the settings if it is left empty in the template. This was not possible for web title before.
Example 1:
...
<pnp:WebSettings WelcomePage="Pages/default.aspx"/>
...
This will no longer reset web description, site logo, or alternate css.
Example 2:
...
<pnp:WebSettings WelcomePage="Pages/default.aspx" Title=""/>
...
Same as previous example, but now makes it possible to set the web title to an empty string.

thx Jens.


API to load images from internet

please make the image component support  load pictures from the remote web server。
ex：just like flutter  load pictures from the remote web server Image.network ( " picture's web link " )
the image component for desktop  now only support load Local device pictures，not support load pictures from the remote web server。that is not friendly for developer.

Can you explain more?  There's literally no description provided and a confusing title

Yes, please clarify what exactly you believe should be added

make the image Component  support load the network iamge, （ for windows desktop）

laod  pictures of the remote web server，ex：just like flutter ：Image.network( " picture's  web link  " )

You can use libs such as https://github.com/alialbaali/Kamel or https://github.com/ltttttttttttt/load-the-image
Or, for android you can use https://github.com/coil-kt/coil
But I agree that it should have native support out of the box...

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Make non-Amherst maps work

OSM utils to get maps based off of coordinate and format them are already in place, just need to get something working for smart caching/loading (i.e if we request campus center->amherst center and then mcguirk football field->amherst center, it should reuse the amherst center map and dynamically load and save the in-between maps)

Fixed by #29


Getting ERR_STREAM_WRITE_AFTER_END error while executing test suite

Error Details
Error [ERR_STREAM_WRITE_AFTER_END]: write after end
at writeAfterEnd (_stream_writable.js:248:12)
at WriteStream.Writable.write (_stream_writable.js:296:5)
at ProgressFormatter.log [as logProgress] (/home/anandxavier/Documents/shariq-testcafe/connect-ui-automation/node_modules/cucumber/src/formatter/progress_formatter.js:25:10)
at EventEmitter.emit (events.js:187:15)
at EventEmitter.emit (domain.js:441:20)
at TestCaseRunner.emit (/home/anandxavier/Documents/shariq-testcafe/connect-ui-automation/node_modules/cucumber/src/runtime/test_case_runner.js:61:27)
at TestCaseRunner.emit (/home/anandxavier/Documents/shariq-testcafe/connect-ui-automation/node_modules/cucumber/src/runtime/test_case_runner.js:160:10)
at Generator.next ()
at Generator.tryCatcher (/home/anandxavier/Documents/shariq-testcafe/connect-ui-automation/node_modules/bluebird/js/release/util.js:16:23)
at PromiseSpawn._promiseFulfilled (/home/anandxavier/Documents/shariq-testcafe/connect-ui-automation/node_modules/bluebird/js/release/generators.js:97:49)
at Promise._settlePromise (/home/anandxavier/Documents/shariq-testcafe/connect-ui-automation/node_modules/bluebird/js/release/promise.js:574:26)
at Promise._settlePromise0 (/home/anandxavier/Documents/shariq-testcafe/connect-ui-automation/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/home/anandxavier/Documents/shariq-testcafe/connect-ui-automation/node_modules/bluebird/js/release/promise.js:694:18)
at _drainQueueStep (/home/anandxavier/Documents/shariq-testcafe/connect-ui-automation/node_modules/bluebird/js/release/async.js:138:12)
at _drainQueue (/home/anandxavier/Documents/shariq-testcafe/connect-ui-automation/node_modules/bluebird/js/release/async.js:131:9)
at Async._drainQueues (/home/anandxavier/Documents/shariq-testcafe/connect-ui-automation/node_modules/bluebird/js/release/async.js:147:5)

This information is not sufficient to discover the cause of the issue. Could you please create a separate ticket using this bug report template https://github.com/DevExpress/testcafe/issues/new?labels=&template=bug-report.md
Please complete all template sections and provide us as many details as possible.

@juliusgonawan Could you please clarify what TestCafe version you are using? If you can reproduce the issue with the latest version, could you share your test project and code?

The problem seems to be related to the problem we discussed at https://github.com/DevExpress/testcafe/issues/3114
Could you please try to install the latest TestCafe version from the following link https://github.com/AndreyBelym/testcafe/releases/download/gh-3114-4/testcafe-0.23.3-alpha.gh3114.4.tgz

I will close the issue because no activity has been encountered for a long time.
Feel free to reopen the issue if the problem persists and you can provide an example to reproduce it.

Have the same issue. I have two reporters. One from which - 'testacafe-reporter-spec', and the second it's my custom reporter. 'spec' reporter printing logs to console. My reporter printing logs to file.
Part of .testcaferc.json:
"reporter": [
    {
      "name": "my-reporter",
      "output": "reports/report.log"
    },
    {
      "name": "spec"
    }
  ]

In my reporter wrote logic for printing logs in reportTaskDone method.
Logs
Error [ERR_STREAM_WRITE_AFTER_END]: write after end
    at writeAfterEnd (_stream_writable.js:248:12)
    at WriteStream.Writable.write (_stream_writable.js:296:5)
    at ReporterPluginHost.newline (/Users/vladislavpisarev/projects/Automate/node_modules/testcafe/lib/reporter/plugin-host.js:132:22)
    at ReporterPluginHost.reportTaskDone (/Users/vladislavpisarev/projects/Automate/node_modules/testcafe-reporter-my-reporter/lib/index.js:128:12)
    at processTicksAndRejections (internal/process/next_tick.js:81:5)

Code of reportTaskDone method:
async reportTaskDone(endTime, passed, warnings, result) {
      const closeResponse = await this.reporter.closeRun();
      if (closeResponse) {
        const runUrl = get(closeResponse, 'url', null);
        this.write(`Click to link for open Test run: ${runUrl}`)
          .newline()
          .write(`End time: ${endTime}`)
          .newline()
          .write(`Test passed: ${passed}/${result.failedCount}. Skipped test: ${result.skippedCount}`);
      } else {
        this.write('Error trying close run');
      }
    },

Your Environment details:

testcafe version:                   1.1.2
node.js version:                    v11.12.0
command-line arguments:  I use custom runner similar to this. For run use command ts-node src/e2eRunner.ts
browser name and version: chrome
platform and version:          macOS 10.14.3
other:                                   My reporter wrote on JS. Test and runner wrote on TypeScript

Since this issue is closed, I would ask you to create a separate issue using this form.
Please also provide us with as much detailed information as possible: your project or the url to public website, your test code, full code of your custom reporter, and full code of your runner configuration. Thank you in advance.


Remove Python cache (pycache, *.pyc files) from repo

It is usually recommended not to commit pycache/*.pyc files

Thank you for your suggestion.
We have now pushed a large update to the git and removed these files, thank you for your feedback!


bundles: auto-vendor all dependencies into published bundle

Suppose we have following dependencies:
# .helm/Chart.yaml
apiVersion: v2
dependencies:
- name: redis
  version: "16.0.0"
  repository: "https://charts.bitnami.com/bitnami"
- name: redis2
  version: "16.0.0"
  repository: "file://../vendor_charts/redis2"
- name: common
  repository: https://charts.bitnami.com/bitnami
  tags:
  - bitnami-common
  version: 1.x.x

Automatically download all dependencies and store into the bundle during werf bundle publish.
Support relative paths in repository like file://../vendor_charts/redis2. Such chart located outside of .helm, but should be saved into the bundle.

Workaround for subcharts stored in the project git repository outside of .helm directory:

Create symlink from inside .helm to outside dir, for example:
cd .helm
ln -fs ../vendor_subcharts vendor_subcharts

Specify dependency path to this symlink:
# .helm/Chart.yaml
apiVersion: v2
dependencies:
- name: redis2
  version: "16.0.0"
  repository: "file://vendor_charts/redis"


something error with YinMediaEncoder

If you're not able to read the source video, click "Convert to AVI" and it will work.


FreeDOS 1.3 - CD-ROM drivers unable to detect drive after install

BEFORE SUBMITTING YOUR ISSUE, PLEASE LOOK AT THE PINNED ISSUES AND USE THE SEARCH FUNCTION TO MAKE SURE IT IS NOT ALREADY REPORTED. ALWAYS COMMENT ON AN EXISTING ISSUE INSTEAD OF MAKING A NEW ONE.
Describe the issue
I used UTM to install a copy of FreeDOS 1.3.  The installer was able to detect the CD-ROM drive and the install went fine.  After rebooting I was unable to get the CD-ROM drive to work.  I tried many different drivers and only one of them detected the drive.  the UIDE driver seems to detect the drive but then SHSUCDX reports error 249 and the D: drive doesn't work.
I used the same disk image from the UTM install with qemu-system-i386 and the CD-ROM works fine, either supplying -cdrom option or selecting the iso image from the menu bar. QEMU version is 7.0.2 installed from homebrew.
Configuration

UTM Version: 4.1.2
macOS Version: 13.0.1
Mac Chip (Intel, M1, ...): M1 Pro

Crash log
N/A
Debug log
debug.log
**Upload
config.plist.zip
freedos13.qcow2.zip

Hi! I had this issue yesterday. You need to change the CD-ROM to whatever iso/img you want then restart the machine (reboot command). FreeDOS only detects CD-ROM changes after reboot for some reason.

the problem is in VINFO incorrectly detecting a wrong machine type. It will spit back 80186 for any 486 machine in 86box or PCEm for example. I don't know how to force vinfo to give a specific result. I can modify fdauto to correct it but i would rather it just worked as it should.

No issues with freedos13.qcow2.zip under Mac Mini M1, using the -cdrom option. Tested with FreeDOS 1.3 Live CD and Bonus CD image.

I'm having the same issue with UTM.  After getting FreeDOS 1.3 installed I unmounted the Live CD and mounted the Bonus CD image but I'm unable to read it due to the CD-ROM driver not being installed.
I could try other CD-ROM drivers but it sounds like that won't fix the problem.
Configuration: Mac mini M2 Pro
UTM 4.1.6 (75)
debug.log


404 not found error on loading WIKIANN dataset

Describe the bug
Unable to retreive wikiann English dataset
Steps to reproduce the bug
from datasets import list_datasets, load_dataset, list_metrics, load_metric
WIKIANN = load_dataset("wikiann","en")

Expected results
Colab notebook should display successful download status
Actual results
FileNotFoundError: Couldn't find file at https://www.dropbox.com/s/12h3qqog6q4bjve/panx_dataset.tar?dl=1
Environment info

datasets version: 1.10.1
Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic
Python version: 3.7.11
PyArrow version: 3.0.0

Hi @ronbutan, thanks for reporting.
You are right: we have recently found that the link to the original PAN-X dataset (also called WikiANN), hosted at Dropbox, is no longer working.
We have opened an issue in the GitHub repository of the original dataset (afshinrahimi/mmner#4) and we have also contacted the author by email to ask if they are planning to fix this issue. See the details here: https://github.com/huggingface/datasets/issues/2691#issuecomment-885463027
I close this issue because it is the same as in #2691. Feel free to subscribe to that other issue to be informed about any updates.


[Transition] module.can.animate does not exist

I am getting the following error:
https://github.com/Semantic-Org/Semantic-UI/issues/3040
However I believe this i being caused by:
https://github.com/Semantic-Org/Semantic-UI/blob/master/src/definitions/modules/transition.js#L188
as module.can.animate() does not exist in file, should be module.can.transition()

can.animate does exist here

@jlukic are all the transitions included when using the semantic-css package, they seem to be.


the layer MLP has never been called and thus has no defined output

Describe the bug
When using tensorflow 2.16 or 2.17 to do train ,there is  an  error occurred:the layer MLP has never been called and thus has no defined output.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Windows, Linux, iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. Samsung S20]
OS: [e.g. Android 11]
Browser [e.g. stock browser, chrome]
Version [e.g. 0.1.1, master]

Additional context
Add any other context about the problem here.

models.py file should be added the following code:
import os
os.environ["TF_USE_LEGACY_KERAS"] = "1"

hi @sparta-2024, the issue is of the version of tensorflow you can try with 2.9.0 version which is preferred version and can refer following documentation policy for more information.


Release Google.Cloud.Batch.V1Alpha version 1.0.0-alpha00

Changes in this release:
Initial release.

I've added the snippet bot label to not require product prefixes.


Umbraco V9 404 error when loading css files

All the steps have been followed (all fields populated), and the css file paths are valid, but we receive a 404 error when the file loads. Please get back to us when you can.

Hi @WeewahSlayer1 , thanks for this. A fix has been deployed as a new version 3.1.5


Alt text sprint

Added in everyone's great suggestions!
Built the docs locally + fixed rst formatting

Can one of the admins verify this patch?

@ian-r-rose feel free to let me know if there's anything else we need to do!

Woo!


Fix minor papercuts

I just tested the gem and came across these minor papercuts.

Fix minor papercuts in README.
Add description to rake task to make it appear in rake -T.

Another thing I was wondering about was that it appears frame_src is deprecated (according to http://content-security-policy.com/), so does it make sense to remove it from the example in the README?
Thanks!

Thanks! 🎊


Add tests for file uploads

https://github.com/gundotio/guild/pull/2133/
https://github.com/gundotio/guild/issues/1169

Done


Only get proxy if using proxyAuthorization in JavaNetAuthenticator.au…

…thenticate (#3809)

@swankjesse : is there anything I need to do to get this to progress?

Yeah I can take a look soon.

@jsoref can you please tell me how did you do mvn clean verify. I am newbie for contribution and one of my PR failed for this repository. can you please give me any reference link? Thanks :)

@Aks-4125 : I don't understand the question. I'm going to reply in #3833

I’m going to fix this by fixing the underlying problem – we shouldn’t pass a null route to the authenticator.
https://github.com/square/okhttp/pull/3840

Thanks for surfacing this, and sorry about the bug!

Gotcha. OkHttp won't do keep and re-send the authorization header, but you can add it in a few lines with an interceptor.


Firestore Snapshot Listener executes too much work on main thread

[REQUIRED] Step 1: Describe your environment

Xcode version: 12.4
Firebase SDK version: 6.34.0
Installation method: CocoaPods
Firebase Component: Firestore

[REQUIRED] Step 2: Describe the problem
Snapshot listener executes large tasks on the main thread and makes the app extremely laggy.
I was wondering if the code can be optimized to perform the work on a background thread
Steps to reproduce:

Have an active snapshot listener (listening to 10 documents)
Perform large number of writes (this can be a cloud function updating the documents, 10-20 updates in a second)

I don't see this issue on the Android client
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
Relevant Code:
profiler.trace.zip

@aryaxt have you tried setting the callback queue to a background queue?

Can you also share the code of you listeners and approximate the number of documents in each snapshot? Raising the snapshot should not put a lot of work on the main queue, but accessing the document data inside of the snapshot may kick off expensive operations.

Thanks, I'll try the callback queue and report back

good

I'm setting the callback queue to a background queue, but doing this makes the listeners sometimes don't send any response. Tried using concurrent and serial queues, for now, I'm keeping the main queue to avoid this kind of issue.
I'm using now Firebase 9.4.1, but it's also happening on version 9.5.0. Xcode 14b6, iOS 16 beta.


test: add backup e2e scenario

Description:
Adds e2e test scenario for backup
Checklist:

[ ] My PR follows the contribution guidelines of this project
[ ] My PR is free of third-party dependencies that don't comply with the Allowlist
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked the PR title to follow the conventional commit specification

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 41.758%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4874

Relevant Lines:
11672

💛  - Coveralls


Error after downloading a song DeprecationWarning

"bot.py:467: DeprecationWarning: change_status is deprecated, use change_presence instead.
await self.change_status(game)" dunno what is going on bot was working fine without this errors, the musics still plays but everytime it plays the next song it shows that error.

This is normal and is because of changes to discord.py. Ignore it, and the message will not occur in the next bot version.

ah cool, thanks ;)


Several issues when walk through the "Adding and searching simple records (Rust)" tutorial

Hi, I'm very new to the IC and the Rust programming language, I met some difficulties when trying to go through the Building on the IC -> CDKs -> cdk-rs by DFINITY (Rust) -> Adding and searching simple records tutorial.

On the developer doc: Adding and searching simple records
On GitHub: rust-profile.md

I cannot successfully run the code if I strictly follow the steps, here are some problems I detected from my very superficial understanding.
In the Modify the default project section, some descriptions confused me a bit, such as:

Open the template src/rust_profile/lib.rs file in a text editor and delete the existing content.
The next step is to add a Rust program that implements the getSelf, update, get, and search functions.
Copy and paste this code into the profile.rs file.
Save your changes and close the file to continue.

The file path src/rust_profile/lib.rs which I believe should be src/rust_profile_backend/src/lib.rs if someone create the project with dfx new --type=rust rust_profile with the current version of dfx, this issue also occurs in other parts of the tutorial, such as the place talking about Cargo.toml. Besides, I think the file profile.rs was put into the tutorial without enough context and explanation, We can just write the new code into lib.rs or expressly mention about declaring profile module in lib.rs with mod profile;
In the refered sample code (this code), there are several issues that make the code unrunnable.
In the import statements, I believe this part:
use ic_cdk::{
    call::{self, ManualReply},
    // ...
};

should be:
use ic_cdk::{
    api::call::{self, ManualReply},
    // ...
};

I personally cannot use the original one, it always gave me an unresolved import error. And I also wonder why the imported self in this part is completely not used.
The next problem is about the search function, the original code is quite strange and results in a mismatched types compile error.
#[query(manual_reply = true)]
fn search(text: String) -> ManualReply<Option<Profile>> {
    let text = text.to_lowercase();
    PROFILE_STORE.with(|profile_store| {
        for (_, p) in profile_store.borrow().iter() {
            if p.name.to_lowercase().contains(&text) || p.description.to_lowercase().contains(&text)
            {
                return ManualReply::one(Some(p));
            }

            for x in p.keywords.iter() {
                if x.to_lowercase() == text {
                    return ManualReply::one(Some(p));
                }
            }
        }
    });

    ManualReply::one(None::<Profile>)
}

I modified it in this way to solve the problem:, should the code be like this?
#[query(manual_reply = true)]
fn search(text: String) -> ManualReply<Option<Profile>> {
    let text = text.to_lowercase();
    let mut result = ManualReply::one(None::<Profile>);
    PROFILE_STORE.with(|profile_store| {
        for (_, p) in profile_store.borrow().iter() {
            if p.name.to_lowercase().contains(&text) || p.description.to_lowercase().contains(&text)
            {
                result = ManualReply::one(Some(p));
            }

            for x in p.keywords.iter() {
                if x.to_lowercase() == text {
                    result = ManualReply::one(Some(p));
                }
            }
        }
    });
    result
}

In the Call functions on the deployed canister section, I believe all the canister name rust_profile should be rust_profile_backend.
After all, the last obstacle I met was about ManualReply, I deployed and executed the code above with this testing calls:
dfx --identity Miles canister call rust_profile_backend update '(record {name = "Miles"; description = "Great Dane"; keywords = vec {"Boston"; "mantle"; "three-legged"}})'
# successful, return ()

dfx --identity Miles canister call rust_profile_backend search "Miles";
# error here

I got this error:
Error: Failed query call.
Caused by: Failed query call.
  The Replica returned an error: code 5, message: "IC0504: Canister rrkah-fqaaa-aaaaa-aaaaq-cai violated contract: ic0.msg_reply_data_append: the call is already replied"

And the way I solved this issue was not to use ManualReply:
#[query]
fn search(text: String) -> Profile {
    let text = text.to_lowercase();
    let mut result: Profile = Profile { name: "".to_string(), description: "".to_string(), keywords: vec![] };
    PROFILE_STORE.with(|profile_store| {
        for (_, p) in profile_store.borrow().iter() {
            if p.name.to_lowercase().contains(&text) || p.description.to_lowercase().contains(&text)
            {
                result = p.clone();
            }

            for x in p.keywords.iter() {
                if x.to_lowercase() == text {
                    result = p.clone();
                }
            }
        }
    });
    result
}

In sum, all those were major problems I met when try to go through this tutorial, I hope you are so kind as to take a look on them and make this tutorial more novice-friendly. I'm also glad to participate in doc maintenance, but I think I'm still too new and need to learn more, so I decided to first open this issue.

Thank you so much for all the feedback! We're trying to get a technical writer on board so that our tutorials (and all other docs as well) can stay in better shape. Your PRs are very much appreciated!
I tried to address the smaller problems in the PR above, but sadly I don't have time to do a much better job.
Minimal explanation on why the IC0504: Canister rrkah-fqaaa-aaaaa-aaaaq-cai violated contract: ic0.msg_reply_data_append: the call is already replied error appeared:
ManualReply may only be used once per call.
#[query(manual_reply = true)]
fn search(text: String) -> ManualReply<Option<Profile>> {
    let text = text.to_lowercase();
    let mut result = ManualReply::one(None::<Profile>);            <<<<<<<< ManualReply used once
    PROFILE_STORE.with(|profile_store| {
        for (_, p) in profile_store.borrow().iter() {
            if p.name.to_lowercase().contains(&text) || p.description.to_lowercase().contains(&text)
            {
                result = ManualReply::one(Some(p));                 <<<<<< ManualReply used a second time
            }

            for x in p.keywords.iter() {
                if x.to_lowercase() == text {
                    result = ManualReply::one(Some(p));
                }
            }
        }
    });
    result
}

Thank you so much for all the feedback! We're trying to get a technical writer on board so that our tutorials (and all other docs as well) can stay in better shape. Your PRs are very much appreciated!
I tried to address the smaller problems in the PR above, but sadly I don't have time to do a much better job.
Minimal explanation on why the IC0504: Canister rrkah-fqaaa-aaaaa-aaaaq-cai violated contract: ic0.msg_reply_data_append: the call is already replied error appeared:
ManualReply may only be used once per call.
#[query(manual_reply = true)]
fn search(text: String) -> ManualReply<Option<Profile>> {
    let text = text.to_lowercase();
    let mut result = ManualReply::one(None::<Profile>);            <<<<<<<< ManualReply used once
    PROFILE_STORE.with(|profile_store| {
        for (_, p) in profile_store.borrow().iter() {
            if p.name.to_lowercase().contains(&text) || p.description.to_lowercase().contains(&text)
            {
                result = ManualReply::one(Some(p));                 <<<<<< ManualReply used a second time
            }

            for x in p.keywords.iter() {
                if x.to_lowercase() == text {
                    result = ManualReply::one(Some(p));
                }
            }
        }
    });
    result
}

Thank you for the timely help!
For the search function, From your instructions I figured out an (I think) perfect version within the demo's scope in #546, the function can now run perfectly on my test environment.


Add: Pure Python submodules

Moved all modules under usearch

Nice, thank you! Can you please make sure that the documentation and usage examples are updated accordingly?


Blank page when following installation instructions for spa shell app

Needs reproduction
Using the guidelines from https://github.com/SAP/cloud-commerce-spartacus-storefront/wiki/Building-the-Spartacus-Storefront-from-Libraries I created a new Spartacus based storefront.
I also attempted to use the app.module.ts from our spa install repo with the same result.
This storefront loads up without an error but when opening the site, the page is blank. The network calls to get pages are successful but the cms components don't seem to render. (see screenshots)

Browsers: Firefox & Chrome (latest)
Lib versions: (latest)

"@spartacus/core": "~0.1.0-alpha.5",

"@spartacus/storefront": "~0.1.0-alpha.7",

"@spartacus/styles": "~0.1.0-alpha.7"

Hi @hackergil ! I fixed this issue adding:
<EMAIL_ADDRESS>and updating these dependencies:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

@cinthiadavalos Yup I just found out this morning. A few more to update as well. Thanks!


addElementTransformer not applied after oneUri call

Seeing some behaviour that looks like a possible bug to me.
If I do this:
Restangular.one('people', '12345')

I will get an object with the route attribute set to the string people.
But if I do this:
Restangular.oneUrl('people', 'people/12345')

I will get an object with the route attribute set to people/12345.
This appears not to match my routes for addElementTransformer and/or extendModel and the object, which has the correct fields fetched over REST, is missing these transformations.
This doesn't work:
Restangular.extendModel('people', function(model) {
  model.prettifyAmount = function() {};
  return model;
});

As a test, this does work:
Restangular.extendModel('people/12345', function(model) {
  model.prettifyAmount = function() {};
  return model;
});

I thought the first parameter to oneUrl, the route, would be used to set this attribute.

Any update on this issue? Was the problem resolved?


CLIPScore implementation inconsistent with original paper?

Hi! Is it possible that the CLIP score implementation of this repo is incorrect?
The original paper states that the score between 2 embeddings c and v should be computed as
score = w * max(cos(c, v), 0)

, but the max operation is missing from the implementation here (we can ignore the w factor since it is a constant and only changes the range of values).
For reference, the CLIPScore implementation in torchmetrics is consistent with the paper (in their case, w = 100).
Is this an oversight, or is the implementation here referring to a different definition of the score?
Thanks for sharing your work 🙂

Thank you for your question!
We cite both the two references CLIPScore and CLIP adhere to CLIPScore calculation in our paper. Here we use the calculation method from CLIP repository  :
image_features /= image_features.norm(dim=-1, keepdim=True)
text_features /= text_features.norm(dim=-1, keepdim=True)
similarity = (100.0 * image_features @ text_features.T).softmax(dim=-1)

And here we omit the constant multiplier 100 and the softmax function in our approach
Hope this helps!

Thanks for the swift reply and for providing these pointers!
I'm with you on the part where you say that the implementation in this repo follows the calculation of CLIP similarity from the OpenAI repo and paper.
What I'm highlighting, though, is that this similarity measure does not seem to be what the CLIPScore paper proposes as a metric, see "Section 3: CLIPScore" because of the added max operator (a ReLU on the similarity, if you wish...).
Now, I am not entirely sure what the rationale for the value clipping in the CLIPScore paper is (besides having non-negative metric values, which could be better achieved in not lossy ways such as a simple scale+shift), but the two references seem incompatible with each other, and that's where my confusion stems from.

Hi! As it is stated in CLIPScore paper, it is used for RefCLIPScore: "Across all of these
cases, we never observed a negative negative cosine similarity. But, to be safe, we take a maximum
between the cosine similarity and zero because the
harmonic mean used to compute RefCLIPScore
would be undefined for negative values."

Thank you so much for the explanation, I did not consider the empirical fact when opening this issue. Closing it 🙂


Display citation key in library view

Since updating Zotero and BBT, I no longer have a column with citation keys when looking at my library. I used to have this ever since starting to use Zotero a couple of years ago, and have got used to identifying entries and searching etc based on citation keys, but now I can only see cite keys when an item is selected.
In the screenshot below, cite keys used to be in a column where the red circle is.

Is there a simple checkbox I'm missing like "show cite keys in library view" or something?

Support log ID WHW7LGJI-apse

I have the issue.  Also, I can't change the BibTeX keys.
87YHCIBK-refs-euc

I have the same issue: Citation Key is missing on a PC. Citation is available as the first item in the Info/Note/Tags/Relation panel on a Mac.

If you right-click the column names bar, can you re-enable the citekey column? Zotero seems to have changed the behavior around column display.

Not for me at least. I have only this menu if I right-click the columns names bar,

Thanks heaps @retorquere, that's exactly the simple checkbox I was looking for! Right click the "Title" pane and the menu appears.

@maikol-solis that means you must have a different problem. Can you restart with debugging enabled from the help menu, and then send a new support log?
@hnguyen19 I can't access logs behind that kind of ID, please see https://github.com/retorquere/zotero-better-bibtex/issues/2088#issuecomment-1081305025

This is weird. I restarted Zotero again, and now I have the Citation key column available

Just in case this is, my support ID 9VQF3UM5-refs-euc
Thanks for the help.

I also have this issue; I just noticed that BBT is disabled in the addons menu with "Better BibTex for Zotero is incompatible with Zotero <IP_ADDRESS>". I guess I need to downgrade BBT? Upgrading Zotero is not really an option for me currently.

I'm afraid so, yes. I'm surprised that zotero let you upgrade to this version; I don't readily know what the last version was that supported the 5 line, and I can't easily downgrade zotero, but if you have a version that works I can make it so it doesn't update.

de842d7014b532a3bb75e3860ed6969ba2c763a0 is titled "Z6 update" and changes the supported version from 5.0.85 to 6.0, and that's in all releases since BBT 6.3, so I suspect BBT 6.2.14 is the last version that will work on Zotero 5 (it seems to work fine for me).

https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-6.2.14.xpi will be up for about a week. This version will not update, so if at some point you do upgrade Zotero, you will need to manually install a newer BBT.

The screenshot shows what I have on Mac. I will report the PC situation as
soon as possible.
Emiliano, you might not see anything from my error message because Zotero
doesn't see it as an error. It says "no error" after I debugged but still
let me submit an error. I had thought the error message would include
system details. Sorry about that.
Huong
On Thu, Apr 7, 2022 at 4:46 PM Emiliano Heyns @.***>
wrote:

https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-6.2.14.xpi
will be up for about a week. This version will not update, so if at some
point you do upgrade Zotero, you will need to manually install a newer BBT.
—
Reply to this email directly, view it on GitHub
https://github.com/retorquere/zotero-better-bibtex/issues/2088#issuecomment-1092241039,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGA6G43EEKXWTA3TUALF2RLVD5JUVANCNFSM5R4233BQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Huong Nguyen
Ph.D. Candidate in Sustainable Agriculture
3403 Agronomy Hall
Iowa State University
Pronouns: she, her, hers

@hnguyen19 I don't expect there to be a difference between mac and PC. If you want me to help you, please restart with debugging enabled, and create a log as per https://github.com/retorquere/zotero-better-bibtex/issues/2088#issuecomment-1081305025, point 2. Please read those instructions carefully. Log IDs that look like D<number> are structurally useless to me as they are sent to the Zotero crew, of which I am not a part.


OpenAI: Attach custom attributes to llm_events when prefixed with llm.

Customers should be able to add custom attributes to a transaction via add_custom_attribute API. If a custom attribute is prefixed with llm., we should automatically attach it to the llm event, ie llm.<user_defined_metadata>
We should make sure this is captured in documentation and may need to additionally describe this functionality in the reserved keyword docs.
Update the references to conversation_id to use this new llm. style.

While we're working on this, let's make sure the attributes are applied to all custom events. Not just chat completion summaries.
The conversation_id is now being handled like any other llm.* custom event and should be added to all events when available.

@kaylareopelle Yes let's throw that on here ◡̈

@kaylareopelle jsky Im going to remove conversation_id in a different PR. It'll touch a lot of files and I dont want that to detact from this addition!


Dploy with Jenkins

There is a way to call user and password in the command line?
Something like :
dploy user pass
It would be useful for use in Jenkins

Hey @BielRibeiro, it's not possible on this current version of DPLOY - but on the next version you will be able to set the parameters on the CLI, like this:
dploy stage --user=your_user --pass=your_pass

If you want to give it a try on the beta, try this branch then:
https://github.com/LeanMeanFightingMachine/dploy/tree/v2-beta


Please describe any errors, ambiguities, or other improvement opportunities that you can find in the documentation.
flushers:

Type: flusher_elasticsearch
Addresses:

http://<IP_ADDRESS>:30201

需要增加 http:// 连接才生效

https://github.com/alibaba/ilogtail/pull/979


GSoC-2019-Webworker support

This PR is about a Webworker support feature.
Features

It adds support for Webwoker over CPU backend.
It adds support for Webwoker over WEBGL backend.
It adds support for webworker on fromPixels and save.

Question

How should we properly import Webworker related Objects inside typescript? Since the Webworker related objects have internal conflicts with original dom objects, we may need to find out a way to add them or just use @ts-ignore for now.
How should I do the unit test in this case, should I build up a new set of test in the Webworker environment for all operations or just the effected operations? Or, is there any better way of achieving it?

After this PR is merged, I will move on to the tfjs-node side to add similar support for it. Just let me know, if I miss anything!

This change is

Hi - @tafsiri @dsmilkov
Thanks for your suggestion! I have removed the webworker flag which surely makes the logic clearer.

would typeof(self) !== 'undefined' work in this case (to be consistent with the rest of the checks)?

For this, both of  webworker and browser environments have the self  global variable but points to different instances. Thus,  typeof(self) !== 'undefined' may not work in this case. Currently, I used the typeof(self) !== typeof(document) to detect if it is under webworker, since document will be 'undifined' in webworker.


add explicit versioning to resources

#1084  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jlewitt1 and the rest of your teammates on  Graphite


558 pjg monsoon wang parser

@doutriaux1 Pls review/modify and merge.   This branch involves cleaning up of the monsoon_wang inparam and driver.   Note the example inparam (https://github.com/PCMDI/pcmdi_metrics/blob/558_pjg_monsoon_wang_parser/examples/parameter_files/inparams-example_monsoon-wang.py) there is a pointer to the data to download to run examples.

@doutriaux1 CD made your changes ... Note PG is recommending a changed here... all files in examples/parameters_files are to be "start-to-finish" working examples with data a user can download to verify.   Pls mv forward with this by either merging or making additional suggestion.

@gleckler1 ok so I merge master in this one too. Apparently you made changes to wang parser but i did too, they're in two separate files right now, but a quick diff shows how much they differ. Do you remember what you changed so i can review it.

@gleckler1 looking at the diff in the "file changed" section I'm pretty sure the changes were incorporated in a different PR. I'll further review next week.

@gleckler1 what about all the deleted files?

Pull Request Test Coverage Report for Build 1105

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 76.047%

Totals

Change from base Build 1094:
0.0%

Covered Lines:
3213

Relevant Lines:
4225

💛  - Coveralls


added a pull script to easily fetch all pre-build docker VNFs from th…

…e public DockerHub

test this please

test this please

test this please

test this please

test this please


Update: Fast GeLU Approximation

Proposed changes
Update the fast approximation for GeLU activation.
Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING document
[x ] I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
[x*] I have added tests that prove my fix is effective or that my feature works
[x ] I have updated the necessary documentation (if needed)

Same tests in place for GeLU should already apply

@nkasmanoff could you check the tests that failed?

@nkasmanoff could you check the tests that failed?

@awni looks like they passed now? I committed your suggestion and when the tests re-ran so I couldn't see what the last failure was.

@nkasmanoff can you see this: https://app.circleci.com/pipelines/github/ml-explore/mlx/1325/workflows/d7cbb23f-363b-4867-b1e2-9e9880b28bc9/jobs/3510

So I can add some context to this and then we can choose what to do. The x * mx.sigmoid(1.773 * x) approximation is simply one I trained with SGD (in the range (-6, 6) IIRC). It is better than 1.702 in every way, absolute error, squared error etc.
Now having said that and given the fact that using mx.compile exact gelu is as fast as the approximations, it might make sense to change those to match others in the literature. For instance this can be changed to 1.702 and the other one can be changed to PyTorch's tanh one.
Wdyt?

My impression is we want the 1.702 for fast, only to ensure consistency in the MLX adaptations of models made in transformers
My only concern is that if we keep 1.772, this causes the vision encoder in LlaVA to have seemingly worse performance when asked about images, as well as fail the tests @mzbac set up with the Transformers implementation of llava.
https://github.com/ml-explore/mlx-examples/pull/461/files#diff-62e0686eab4fe2568b5497693e3094c7c1ba582d48215096b674141dbfee3474R95

Yeah I agree, I think we should change it. Just to be clear though one could always just write a simple one line activation function. There is no need to use gelu_fast_approx.

I think in it's current form it's a bit of a trap since it sounds like the fast gelu that has become slightly standard. I would probably change  and encourage people to use the regular gelu in most cases.
I've been under the impression the sigmoid is the same as the tanh just implemented with a sigmoid, but I don't think I ever verified it. Where did that one come from?

That one came from me training a y = x σ(α x (1 + β x^2)). I guess I was quite bored when writing those back when :-) . This is the error profile in comparison to the tanh approximation


Adds Store on Collide and Wand of the Locker

About the PR

Adds Wand of the Locker for Wizards! Which is a wand that shoots out cursed lockers that will store anyone it collides with
Which requires the Store on Collide Component! This component will store entities into storage when collided.
Why / Balance

Wand of Locker is part of the wizard arsenal and it's a fun goofy weapon. More of an annoyance than something super dangerous. Could allow for some fun combinations in the future!
Store on Collide will be nice not only for the locker projectiles but it can open possibilities for things like ore boxes (dragging boxes over ore for easy storage).
Technical details

Store on Collide will store any entities that collides with it via Collide Event.
Options to lock and to disable were added for further control.
Media

https://github.com/user-attachments/assets/6c644221-5a52-4dba-ac8e-9afc5111566a
Requirements

[x] I have read and am following the Pull Request and Changelog Guidelines.
[x] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl:

add: Adds Wand of the Locker - a wand that shoots out cursed lockers, that will store anyone they touch!

is there any point in the cl if the players can't get the wand yet?

is there any point in the cl if the players can't get the wand yet?

The other alternative is a huge changelog when wizard is out, which I do not want to do.

A few things I noticed while testing:
* You might want to layer the paper layer below the magic lock effect:
  ![grafik](https://private-user-images.githubusercontent.com/161409025/392217101-77f84a4d-dea5-4ce1-b634-3486985f7bba.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzMyODk0NjIsIm5iZiI6MTczMzI4OTE2MiwicGF0aCI6Ii8xNjE0MDkwMjUvMzkyMjE3MTAxLTc3Zjg0YTRkLWRlYTUtNGNlMS1iNjM0LTM0ODY5ODVmN2JiYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMjA0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTIwNFQwNTEyNDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05ODRlMDZmNDkxZDYxZWI2YjkzNjVjOTc0NTY3NTZhZWRjZmQ2MzY4MDRjZmRhNjkzM2FkNWE3MWY3MDViMjZhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.2lXsADmXaxgkXM2p5jkNQ95DrTpza_i2HO-A8aTZcw4)

* Welding the locker has the layers in the wrong order as well:
  ![grafik](https://private-user-images.githubusercontent.com/161409025/392217365-fff85ff9-2183-4a0a-b509-e737ae5f7b12.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzMyODk0NjIsIm5iZiI6MTczMzI4OTE2MiwicGF0aCI6Ii8xNjE0MDkwMjUvMzkyMjE3MzY1LWZmZjg1ZmY5LTIxODMtNGEwYS1iNTA5LWU3MzdhZTVmN2IxMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMjA0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTIwNFQwNTEyNDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zMmU2MGUxODVkZjQyZGYwN2VkYmVmYWE5M2I1YTE1YjgzYWE5MTRlNjMzMTUzMjQwM2EyZmRhZmQzYzEzM2VmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.yh_nagDjGuA_5OnWC2FVbeWLbrJJoCXTP9F5dq80GsY)

* The locker has no collisions with players once it stops. You can simply walk through it.
  ![grafik](https://private-user-images.githubusercontent.com/161409025/392217587-4d59bf39-b73e-44c8-b0d7-c78842fdc478.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzMyODk0NjIsIm5iZiI6MTczMzI4OTE2MiwicGF0aCI6Ii8xNjE0MDkwMjUvMzkyMjE3NTg3LTRkNTliZjM5LWI3M2UtNDRjOC1iMGQ3LWM3ODg0MmZkYzQ3OC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMjA0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTIwNFQwNTEyNDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jNTZjYzIxYjBjOTQ1MmM0ZWQ2ZmIzNTYxOGVhYTI4Y2ExMDMyZGQwNDc4ODkyZmIwYTZiMDI4YTJkMWE0ZjAzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.bRGhLFw2DNPR-wX5JvWnY2lkvI6rTzQwcxUWhqGCeJU)

* The locker has no mass (drag it around and i will slide). Not sure if this is intended, might make it easier to drag around this way though.

That's due to the shooter being excluded from colliding with the locker, since it's a projectile. If it collided with the shooter when shot, you can see the issue there.


Flash memory overflow

Greetings,
       I'm having problems compiling the code it says that the flash memory has run out I just ran "make" and gave the following error:

ifo.lst fifo/fifo.c -o build/fifo.o arm-none-eabi-gcc -c -mcpu=cortex-m0 -mthumb   -DUSE_HAL_DRIVER -DSTM32F030x6 -DMB_MODE=MB_MODE_SLAVE -ICore/Inc -IDrivers/STM32F0xx_HAL_Driver/Inc -IDrivers/STM32F0xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F0xx/Include -IDrivers/CMSIS/Include -Ififo -Imodbus -Os -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/mb.d" -Wa,-a,-ad,-alms=build/mb.lst modbus/mb.c -o build/mb.o arm-none-eabi-gcc -c -mcpu=cortex-m0 -mthumb   -DUSE_HAL_DRIVER -DSTM32F030x6 -DMB_MODE=MB_MODE_SLAVE -ICore/Inc -IDrivers/STM32F0xx_HAL_Driver/Inc -IDrivers/STM32F0xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F0xx/Include -IDrivers/CMSIS/Include -Ififo -Imodbus -Os -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/mb-check.d" -Wa,-a,-ad,-alms=build/mb-check.lst modbus/mb-check.c -o build/mb-check.o arm-none-eabi-gcc -c -mcpu=cortex-m0 -mthumb   -DUSE_HAL_DRIVER -DSTM32F030x6 -DMB_MODE=MB_MODE_SLAVE -ICore/Inc -IDrivers/STM32F0xx_HAL_Driver/Inc -IDrivers/STM32F0xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F0xx/Include -IDrivers/CMSIS/Include -Ififo -Imodbus -Os -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/mb-crc.d" -Wa,-a,-ad,-alms=build/mb-crc.lst modbus/mb-crc.c -o build/mb-crc.o arm-none-eabi-gcc -c -mcpu=cortex-m0 -mthumb   -DUSE_HAL_DRIVER -DSTM32F030x6 -DMB_MODE=MB_MODE_SLAVE -ICore/Inc -IDrivers/STM32F0xx_HAL_Driver/Inc -IDrivers/STM32F0xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F0xx/Include -IDrivers/CMSIS/Include -Ififo -Imodbus -Os -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/mb-link.d" -Wa,-a,-ad,-alms=build/mb-link.lst modbus/mb-link.c -o build/mb-link.o arm-none-eabi-gcc -c -mcpu=cortex-m0 -mthumb   -DUSE_HAL_DRIVER -DSTM32F030x6 -DMB_MODE=MB_MODE_SLAVE -ICore/Inc -IDrivers/STM32F0xx_HAL_Driver/Inc -IDrivers/STM32F0xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F0xx/Include -IDrivers/CMSIS/Include -Ififo -Imodbus -Os -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/mb-packet.d" -Wa,-a,-ad,-alms=build/mb-packet.lst modbus/mb-packet.c -o build/mb-packet.o arm-none-eabi-gcc -c -mcpu=cortex-m0 -mthumb   -DUSE_HAL_DRIVER -DSTM32F030x6 -DMB_MODE=MB_MODE_SLAVE -ICore/Inc -IDrivers/STM32F0xx_HAL_Driver/Inc -IDrivers/STM32F0xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F0xx/Include -IDrivers/CMSIS/Include -Ififo -Imodbus -Os -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/mb-process.d" -Wa,-a,-ad,-alms=build/mb-process.lst modbus/mb-process.c -o build/mb-process.o arm-none-eabi-gcc -c -mcpu=cortex-m0 -mthumb   -DUSE_HAL_DRIVER -DSTM32F030x6 -DMB_MODE=MB_MODE_SLAVE -ICore/Inc -IDrivers/STM32F0xx_HAL_Driver/Inc -IDrivers/STM32F0xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F0xx/Include -IDrivers/CMSIS/Include -Ififo -Imodbus -Os -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/mb-table.d" -Wa,-a,-ad,-alms=build/mb-table.lst modbus/mb-table.c -o build/mb-table.o arm-none-eabi-gcc -x assembler-with-cpp -c -mcpu=cortex-m0 -mthumb   -DUSE_HAL_DRIVER -DSTM32F030x6 -DMB_MODE=MB_MODE_SLAVE -ICore/Inc -IDrivers/STM32F0xx_HAL_Driver/Inc -IDrivers/STM32F0xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F0xx/Include -IDrivers/CMSIS/Include -Ififo -Imodbus -Os -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/startup_stm32f030x6.d" startup_stm32f030x6.s -o build/startup_stm32f030x6.o arm-none-eabi-gcc build/main.o build/gpio.o build/usart.o build/stm32f0xx_it.o build/stm32f0xx_hal_msp.o build/stm32f0xx_hal_tim.o build/stm32f0xx_hal_tim_ex.o build/stm32f0xx_hal_uart.o build/stm32f0xx_hal_uart_ex.o build/stm32f0xx_hal_rcc.o build/stm32f0xx_hal_rcc_ex.o build/stm32f0xx_hal.o build/stm32f0xx_hal_i2c.o build/stm32f0xx_hal_i2c_ex.o build/stm32f0xx_hal_gpio.o build/stm32f0xx_hal_dma.o build/stm32f0xx_hal_cortex.o build/stm32f0xx_hal_pwr.o build/stm32f0xx_hal_pwr_ex.o build/stm32f0xx_hal_flash.o build/stm32f0xx_hal_flash_ex.o build/stm32f0xx_hal_exti.o build/system_stm32f0xx.o build/tim.o build/fifo.o build/mb.o build/mb-check.o build/mb-crc.o build/mb-link.o build/mb-packet.o build/mb-process.o build/mb-table.o build/startup_stm32f030x6.o -mcpu=cortex-m0 -mthumb   -specs=nano.specs -TSTM32F030F4Px_FLASH.ld  -lc -lm -lnosys  -Wl,-Map=build/MBTest.map,--cref -Wl,--gc-sections -o build/MBTest.elf /usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: build/MBTest.elf section .text' will not fit in region FLASH' /usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: region FLASH' overflowed by 3296 bytes
collect2: error: ld returned 1 exit status
make: *** [Makefile:185: build/MBTest.elf] Error 1`

I was able to compile but I don't have hardware to test using memory optimization
CFLAGS += -g -gdwarf-2 -Os -flto

you have error will not fit in region . in this example i use low memory micro stm32f03, 16KB flash and 4KB ram. i think modbus lib need 4KB to run. also i don't show error when run make on windows and it done successfully .
file: myTerminalOut.txt
   text    data     bss     dec     hex filename
  16000     128    1984   18112    46c0 build/MBTest.elf

I try make on linux and get same as your error!
let me fix that ...

I want to change micro stm32f03 to stm32f103(blue pill). it's Ok?

it's done!

It's Done!
I change code for STM32F103C8T6 (Blue Pill)  for better developing and extend flash size.
The old code also available

Keep in mind that the current project I developed, used a virtual USB COM Port called USB CDC mode. simply u can change code for using hardware UART in physical MODBUS network but just for the simplicity of the project i use USB CDC mode for example.

Greetings,
Thanks a lot for the reply and the changes. But I would like to use a low-cost microcontroller from STM.
The bluepill I have to test the new code.

I still don't understand the reason for the increase in file size during compilation on Linux.


add openwrt support

Signed-off-by: qdk0901<EMAIL_ADDRESS>

Looks good to me

LGTM

@qdk0901, could you, please, combine your commits into one?
Combining commits could be accomplished with the following command sequence:

git remote add upstream_master https://github.com/Samsung/jerryscript.git
git fetch upstream_master
git rebase -i upstream_master/master
edit the opened file, putting fixup instead of pick on second line; close the file
check that commits were actually combined and are rebased on current master using git log and git diff upstream_master/master
git push --force origin branch_name

@ruben-ayrapetyan thanks your instructions, it's combined now

@qdk0901, I'm sorry. I've missed that the Signed-off-by is in incorrect format.
I already started merge procedure, but precommit checker catched the issue.
Please, update it to JerryScript-DCO-1.0-Signed-off-by: qdk0901<EMAIL_ADDRESS>You could perform this using git commit --amend, and then git push --force origin branch_name

@ruben-ayrapetyan it has been updated now.

@qdk0901, thank you!
The pull request is merged (columnIndex)

@qdk0901, thank you!
The pull request is merged (db6caf3c4830c352bc45a9178a43aba909574ba8)


Variant annotation set names

Makes the variant annotation set records return conform better to the schema closing #832.
Depends on #869

I'm not sure if the comments I've made here should be on this PR or the other one, sorry for the confusion.

@jeromekelleher I've closed my other PR and including your suggestions here. This PR adds tests using the simulated annotation set as well as improving how effect search works in accordance with the schemas.

Looks good @david4096, +1 modulo the minor niggles above and a squash.


Accumulo iterators next() methods need to return the next element

See AbstractElementIteratorReadIntoMemory and AbstractElementIteratorFromBatches.
Currently multiple calls to next() will keep returning the same element. In order to use the iterators users must call hasNext() before calling next().
Also calling hasNext() multiple times before calling next() will skip elements.

This is expected behaviour,
The client side check on if both ends of an edge are valid for set retrievers executes on the client side to check that no incorrect Edges (Not within/between the sets) got through the bloom filter.
Calling .hasNext() without this check would simply be able to tell you if another Element existed in the accumulo scanner, not if there was a valid Element left.
If you were to call .next() and then do the check there, you could get the next Element, check to see if that Element was valid and then find that it wasn't, discard that Element but then find that the iterator has no more Elements left to check, whereupon you would be forced to return null or the last Element again, after the iterator having told you that there was another Element with the .hasNext() method.

Merged into develop.


Use Github pages feature

Describe the bug
we can use GitHub pages features instead of using other hosting platforms
To Reproduce
A contributor can fork the repo and simply contribute to it and then host that fork GitHub repo through their Github account
Its easy, fast, and hassle-free for a contributor and also to review for a Mentor
Expected behavior
It will be easy for a contributor to get review his contribution
Screenshots

Additional context
Add any other context about the problem here.

I would like to work on this Issue

I would like to work on this Issue

Okay.

Closing this issue until further notice @asimaries


Custom picker: Show differently pictures that are currently bing uploaded

What is the user problem or growth opportunity you want to see solved?
After a day out, I usually have hundreds of pictures to uploads, that I split in multi-uploads of around 10 to 30.
To save time, I always fill metadata for the next upload while the previous is still uploading.
Problem: When choosing pictures, I often do not remember up to what picture I have uploaded.
Similarly to how the app shows what pictures have been uploaded already (and what pitures are not for upload), it would be great if the app could show differently (for instance with a ⬆ icon overlay in the bottom right corner) pictures that are currently being uploaded.
How do you know that this problem exists today? Why is this important?
Allows user to not lose time thinking, or miss some pictures.

Hi @nicolas-raoul just wanted to cross-check one doubt here. When the image is uploaded you look for a result to be true/check for the modified SHA1 to be present in db. Is there any differentiating factor between a normal image and an image being uploaded similar to the modified SHA1 that you are using for identifying uploaded images among a pool of normal images?

There is no SHA1 database of images being uploaded.
The app would need to keep track of images being uploaded, probably in memory. As long as the uploading class is running, presumably we can get such information from that class? Storing that information locally may be a solution, though it would be great if that can be avoided because it would be more complex and could be hard to keep in sync.

I have just finished working on custom-image-selector for a recent PR and I would like to work on this. Can you assign this to me?

@shashankiitbhu It is yours, thanks! Please do not hesitate to ask questions about this one. :-)

@nicolas-raoul I have completed this task but just confused about choice Icon - Should I use a new "Uploading" Icon for it or use the existing Icon that we use for uploaded to Wikimedia?

@nicolas-raoul If the above logo (4th Row, 3rd Column) works then can you please review the above PR, thanks


[enhancement] intellisense for workspace clean settings would be nice

At the job level, we support this construct:
workspace:
    clean: enum  # values are: outputs | resources | all

This tells the agent what portions of the build directory to clean up at the end of the pipeline.

See https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#job


Extrude silently fails resulting in no part

with BuildPart() as p:
    with BuildSketch() as s:
        Rectangle(10, 1)
        Rectangle(1, 10)
    extrude(amount=2, taper=15)

No error is given, there is just no part. Adjusting the taper lower or higher will result in a valid extrude.

I don't know what is special about that combination of sizes but OCCT LocOpe_DPrism generates a non-manifold part (as shown by looking at the STEP file) - the top of the center section is missing:


Release Number

Create a release number and micro releases for each version of the database to be passed to the website (https://github.com/SIMPLE-AstroDB/SIMPLE-web/issues/98)

Proposed current workflow:

Add Versions table
Update versions table before making a new Github release
Release on Github

Referring to https://calver.org/, we've decided to version control YYYY.minor. E.g., the first releases in 2022 would be 2022.1, the next one would be 2022.2 and so on. We can have as many releases in a year as we want.

The un-released version is called latest and doesn't get a version number until it is released.


can we add graphs?

I don't know if we really need this but it would be awesome to have them.

Hey @gurrrung , we can send graphs using quickchart.io. In this we just have to send data in form of link in telegram send photo method. Telegram will automatically fetch and send it as photo. I will try and show the result in a day or two if you can specify me in what commands we need to send graphs.

Great, we can give it a try.

First of all, we can try graph of daily command.
g daily should give the bar chart form of the data of the daily command.

g daily should give the bar chart form of the data of the daily command.

okay i will implement this in a day or two😋

here, I implemented graph as you said.
we can change the color of bars etc and other things too

that's great, let's do a PR.
We have to make sure colors works well in dark mode too.

that's great, let's do a PR.

okay making a PR now

We have to make sure colors works well in dark mode too.

yes sure😀