How to get text values from several EditTexts in a form?

Hi,
This might be a very silly question to ask but I am really unable to figure out a way on how to get the text from an EditText and pass the text to a button click event listener.
For example, I have the below layout json
{
  "type": "LinearLayout",
  "layout_height": "match_parent",
  "layout_width": "match_parent",
  "padding": "8dp",
  "orientation": "vertical",
  "children": [
    {
      "type": "EditText",
      "id": "etUsername",
      "layout_height": "wrap_content",
      "layout_width": "match_parent",
      "hint": "Username"
    },
    {
      "type": "EditText",
      "id": "etPassword",
      "layout_height": "wrap_content",
      "layout_width": "match_parent",
      "layout_marginTop": "4dp",
      "hint": "Password"
    },
    {
      "type": "Button",
      "id": "btnLogin",
      "layout_height": "wrap_content",
      "layout_width": "match_parent",
      "layout_marginTop": "4dp",
      "text": "Login",
      "onClick": {
        "action": "apiCall",
        "extras": {
          "endpoint": "www.someapi.com/api/v1/login",
          "method": "POST",
          "body": {
            "username": "",
            "password": ""
          }
        }
      }
    }
  ]
}

As you can see, I have a form containing username and password fields and a button. Now I am trying to set the text from etUsername and etPassword to username and password fields respectively in the onClick event object of the button whenever user clicks the button, but I am unable to figure out how to do that.
It would be a great help if anyone can help me in sorting this out as soon as possible.
Thanks,
Rajesh

@rkpattanaik this is definitely not a silly question. As of right now, proteus supports only one-way binding out-of-the-box, and forms will require two-way bindings. We are working to add forms as a feature, but we are not there yet.
If you wish to unblock yourself to continue development here is a suggested solution:

Make sure you have a reference to the root ObjectValue data and the root ProteusView container passed when you called LayoutInflater. inflate where you have the ProteusLayoutInflater.Callback registered.

Register the new AttributeProcessor for onChange event with the EditText. (exmple) and use the EventProcessor (example).

In the implementation of the onChange attribute set an TextWatcher  on the EditText.

In the implementation of the TextWatcher get the value of the text, and trigger an event say onFormInputChange using trigger("onFormInputChange", <config>, (ProteusView) view);. (example). Here config is an ObjectValue which decribes the event, similar to your onClick -> action -> apiCall

You will get this trigger as a callback in the ProteusLayoutInflater.Callback.onEvent() method. (example)

In the implementation of the OnEvent when event.equals("onFormInputChange") inject value into a data path (say @{form.data.username} as on) and call update on the root view.

How to inject new data into a data path and update the view?

To assign a value at a data path do DataBinding.valueOf("some.path").assign(value, data, 0);
Then update the container by calling container. getViewManager().update(data).

Also, convert the onClick attributes' values to a nested binding. Note the new binding values in username and password and how the entire onClick is also wrapped inside an object with the binding keyword @ as a key (nested bindings).

{
  "onClick": {
    "@": {
      "action": "apiCall",
      "extras": {
        "endpoint": "www.someapi.com/api/v1/login",
        "method": "POST",
        "body": {
          "username"<EMAIL_ADDRESS>          "password"<EMAIL_ADDRESS>        }
      }
    }
  }
}

Reference schema for config

{
  "onChange": {
    "@": {
      "action": "change",
      "changes": [
        {
          "path": "form.data.username",
          "value": "<insert the text value from the TextWatcher before triggering the event>"
        }
      ]
    }
  }
}

Use the path and value in the assign() method in the onEvent.

Hope this helps, also we will try and move this into the FAQ.

Thank you very much @adityasharat !!!
I was able to get it right and implemented it successfully. Below is the code.
MyEditTextParser.java
public class MyEditTextParser extends EditTextParser {
    @Override
    protected void addAttributeProcessors() {
        super.addAttributeProcessors();

        addAttributeProcessor(Constants.Attribute.OnChange, new EventProcessor() {
            @Override
            public void setOnEventListener(View view, Value value) {
                ((EditText) view).addTextChangedListener(new TextWatcher() {
                    @Override
                    public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {

                    }

                    @Override
                    public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {
                        value.getAsObject().addProperty("text", charSequence.toString());
                        trigger(Constants.ViewEvent.OnFormInputChange, value, (ProteusView) view);
                    }

                    @Override
                    public void afterTextChanged(Editable editable) {

                    }
                });
            }
        });
    }
}

Inside MainActivity.java
mCallback = new ProteusLayoutInflater.Callback() {
            @NonNull
            @Override
            public ProteusView onUnknownViewType(ProteusContext context, String type, Layout layout, ObjectValue data, int index) {
                return null;
            }

            @Override
            public void onEvent(String event, Value value, ProteusView view) {
                try {
                    if (event.equals(Constants.ViewEvent.OnFormInputChange)) {
                        Binding.DataBinding.valueOf(value.getAsObject().get("path").getAsString()).assign(value.getAsObject().get("text"), mData, 0);
                        mProteusView.getViewManager().update(mData);
                    }

                    if (event.equals(Constants.ViewEvent.OnClick)) {
                        String username = value.getAsObject().get("extras").getAsObject().get("body").getAsObject().get("username").getAsString();
                        Toast.makeText(mProteusContext, "Hi " + username + "!", Toast.LENGTH_SHORT).show();
                    }
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
        };

mProteusBuilder = new ProteusBuilder()
                .register(RecyclerViewModule.create())
                .register(CardViewModule.create())
                .register(DesignModule.create())
                .register(new MyEditTextParser());

mProteus = mProteusBuilder.build();

mLayout = gson.fromJson(getJsonFromFile(R.raw.activity_login), Layout.class);
        mData = gson.fromJson(getJsonFromFile(R.raw.data_main), ObjectValue.class);

        mProteusView = mProteusLayoutInflater.inflate(mLayout, mData);

activity_login.json
{
  "type": "LinearLayout",
  "layout_height": "match_parent",
  "layout_width": "match_parent",
  "padding": "8dp",
  "orientation": "vertical",
  "children": [
    {
      "type": "EditText",
      "id": "etUsername",
      "layout_height": "wrap_content",
      "layout_width": "match_parent",
      "hint": "Username",
      "onChange": {
        "path": "data.loginForm.username"
      }
    },
    {
      "type": "EditText",
      "id": "etPassword",
      "layout_height": "wrap_content",
      "layout_width": "match_parent",
      "layout_marginTop": "4dp",
      "hint": "Password",
      "onChange": {
        "path": "data.loginForm.password"
      }
    },
    {
      "type": "Button",
      "id": "btnLogin",
      "layout_height": "wrap_content",
      "layout_width": "match_parent",
      "layout_marginTop": "4dp",
      "text": "Login",
      "onClick": {
        "@" : {
          "action": "apiCall",
          "extras": {
            "endpoint": "www.someapi.com/api/v1/login",
            "method": "POST",
            "body": {
              "username"<EMAIL_ADDRESS>              "password"<EMAIL_ADDRESS>            }
          }
        }
      }
    }
  ]
}

Great, closing this issue.


✨[feature Request]: FOOTER NOT LOOKING ATTRACTIVE

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
FOOTER SHOLD BE OF DARK COLOR AND SOME ENHANCE VIBRATING FONT SHOULD BE USED IN IT
Use Case
FOOTER IS THE BASIC DESCRIPTION OF ALL WEB SO IT MUST BE ATTRACTIVE
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24EXTD contributor
[X] I have starred the repository

@Anjaliavv51 KINDLY ASSIGN IT

@Ishika-codeit  go ahead.


index wait forever to complete

Before submitting your bug report

[ ] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: windows 11
- Continue: 0.0.56
- IDE: IntelliJ IDEA 2024.1.3 (Ultimate Edition)
- Model: shaw/dmeta-embedding-zh
- config.json:

  "embeddingsProvider": {
    "provider": "ollama",
    "model": "shaw/dmeta-embedding-zh"
  },

Description
Index the continue code base. index wait forever to complete.
every time I restart the idea, it will stagnate at about 20%-40%

To reproduce
use ollama embedding model ,this is ollama logs

continue log no error
Log output
[info] Starting Continue core...
[2024-08-08T07:06:02] [info] Starting Continue core...
[2024-08-08T07:06:02] Setup
[2024-08-08T07:06:02] Core started
[2024-08-08T07:06:12] Chunk with more than 500 tokens constructed:  C:/Users/hukai/IdeaProjects/continue\core\llm\llamaTokenizer.js 526
[2024-08-08T07:06:12] Chunk with more than 500 tokens constructed:  C:/Users/hukai/IdeaProjects/continue\core\llm\llms\Replicate.ts 1103
[2024-08-08T07:07:23] Chunk with more than 500 tokens constructed:  C:/Users/hukai/IdeaProjects/continue\core\llm\llamaTokenizer.js 526
[2024-08-08T07:07:28] Chunk with more than 500 tokens constructed:  C:/Users/hukai/IdeaProjects/continue\core\llm\llms\Replicate.ts 1103

To add to this issue, every time i save a file, continue indexes all the files again

To add to this issue, every time i save a file, continue indexes all the files again

This is a bug/regression, already fixed here -> https://github.com/continuedev/continue/pull/1960 it will be included in the next Pre-Release.


Example Please?

Hey.. Can an example be provided on how to train the network and then use it for a pair of documents? Thanks!

My code demonstrates how to train the model with dummy data and also how to calculate the cosine similarity between the semantic representations of a query and a document. See my response here for why I don't provide real data.


nixos/zoneminder: fix some issues with database.createLocally option

Motivation for this change
https://github.com/NixOS/nixpkgs/issues/63152
Not tested, or even built... I haven't used zoneminder yet so completely depending on @peterhoeg and @JohnAZoidberg for all testing and review.
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

Looks great, thanks!
But I don't quite understand what the problem with mysql.initialDatabases is. Can you please explain?

@JohnAZoidberg as per https://nixos.org/nixos/options.html#services.mysql.initialdatabases:

List of database names and their initial schemas that should be used to create databases on the first startup of MySQL.

Because you want to create it again if it goes missing after a while?
That makes sense indeed and probably is more useful in many cases than initialDatabases.

@JohnAZoidberg I think you're missing the part I emphasized. I emphasized first. As in only the first time mysql starts up. Not the second. Or third. Just the first.
For example, if mysql is already installed and running on your system, then you install zoneminder the database won't be provisioned as desired.
The initialDatabases option is moreso for end users I would imagine, and shouldn't really be used in nixos itself that often (if ever). The same is true for the initialScript option.

Ahh, I do understand what you mean now!
I'd also apply this:
--- i/nixos/modules/services/misc/zoneminder.nix
+++ w/nixos/modules/services/misc/zoneminder.nix
@@ -147,6 +147,7 @@ in {
           default = "zmuser";
           description = ''
             Username for accessing the database.
+            Not used if <literal>createLocally</literal> is set.
           '';
         };

@@ -155,6 +156,7 @@ in {
           default = "zmpass";
           description = ''
             Username for accessing the database.
+            Not used if <literal>createLocally</literal> is set.
           '';
         };
       };
@@ -208,7 +210,7 @@ in {
         package = lib.mkDefault pkgs.mariadb;
         ensureDatabases = [ cfg.database.name ];
         ensureUsers = [{
-          name = cfg.database.username;
+          name = user;
           ensurePermissions = { "${cfg.database.name}.*" = "ALL PRIVILEGES"; };
         }];
       };

Because when used locally the Linux user is used for socket authentication as seen in this line:
     ZM_DB_USER=${if cfg.database.createLocally then user else cfg.database.username}

Also the nginx config validator issues a warning on location /cache { that there should be a trailing slash.
You, @aanderse seem to have a lot of experience with nginx. Could adding a slash there have negative consequences?
I build and am running these changes and it looks okay. I have never really fully used this service so I'm not sure if everything is working. I just discovered the issue while trying to make it run for a friend.

The service might be broken on unstable but I fixed that in #63151.
To circumvent that you can use nixpkgs.config.allowBroken = true; because the package is marked as broken but all the sources are in the cache ;)

You, @aanderse seem to have a lot of experience with nginx. Could adding a slash there have negative consequences?

 I have never used nginx before.

List of database names and their initial schemas that should be used to create databases on the first startup of MySQL.

Nicely caught. Wouldn't it be awesome if the mysql module actually did something similar to what you did manually? Cough, cough...
By the way, I ripped out ZM some time ago, so I'm not able to test it, but maybe a nixos test for this would be good?

Wouldn't it be awesome if the mysql module actually did something similar to what you did manually? Cough, cough...

That would be great, but possibly not as useful as one might guess. I notice that most applications these days are pretty good at being database aware because they use some form of the migration concept. Often times an application knows whether it has a table structure or not and will create it if not. Exceptions I've worked on recently, where the application is unable to determine whether it should create a database structure or not... zabbix and mediawiki. I can list about ~6 other services I have worked on recently that were database aware enough to create their own table structure.

By the way, I ripped out ZM some time ago, so I'm not able to test it, but maybe a nixos test for this would be good?

Complete hijack to this PR, but what did you replace it with? I have a video camera I'm about to install and looking for opinions :smile:
@JohnAZoidberg this puts testing solely on you! Comments added as requested.

what did you replace it with?

MotionEye.
https://gist.github.com/f9000a258afb8b73a6a427475cef9116
Far less moving parts and a way more sane architecture.

@peterhoeg I would say at this point this PR more than resolves https://github.com/NixOS/nixpkgs/issues/63152 so if you're happy please feel free to merge :smile:
A quick test might be in order just to make sure the service still boots, but I'll leave that up to you and @JohnAZoidberg to decide.

A quick test might be in order

You know, if only there was some kind of framework that would allow us to run tests against nixos.... ;-)

Thanks @JohnAZoidberg and @peterhoeg!


chore: bdd-sbhg-1584362517 to 0.0.1

chore: Promote bdd-sbhg-1584362517 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Login failed for user 'sa'. Reason: Failed to open the explicitly specified database 'WorkshopManagementEventStore'. [CLIENT: <IP_ADDRESS>]

Hi,thanks for this awesome project. I am new to all this microservices, docker and rabbitmq. Was thinking to use your youtube and this project as a startup for me to learn.
I followed your "Readme" section "Starting the application", and doing the docker-compose up. However I have issue on the error below.
2019-01-17 03:11:42.98 Logon       Error: 18456, Severity: 14, State: 38.
2019-01-17 03:11:42.98 Logon       Login failed for user 'sa'. Reason: Failed to open the explicitly specified database 'WorkshopManagementEventStore'. [CLIENT: <IP_ADDRESS>]
The error logs like the login username/password failed for sa. But I have no idea how to SQL Server and check it. You mentioned:

The first time the services are started, the necessary databases are automatically created. You could check this by connecting to the SQL Server using SSMS (server localhost, port 1434; separate the server and port with a comma in SSMS: localhost,1434) ...........

I know that, sql server is now inside the docker container, and how should I access to it? By using my host sql server management studio and login to localhost,1434? Or?
Sorry to bother you, thanks a lot for helping.

Hello @wensan312. Do you have any updates?

I will close the issue for now. If you have any question or issue later, please open a new issue and reference this one.


[Bug] Exception while fetching data (/services) : null

Search before asking

[X] I had searched in the issues and found no similar issues.

Apache SkyWalking Component
OAP server (apache/skywalking)
What happened
删除es索引后 重启sw 无法重建索引 只能重建部分索引  trace也无法使用   eg:Exception while fetching data (/services) : null
What you expected to happen
如何正常使用
How to reproduce
删除sw* 索引
Anything else
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

And this kind of things is not an issue, use English to submit one on Discussion if you have to. AFAIK, this is out of maintainer's scope.


Update docs explaining why the User and Post models are chosen

Going over the reasons the User and Post models are used across the docs.

Love it! 👍


feat(asset): create asset functionality

Largely a work in progress and hadn't seen that you self-assigned it but wanted to push what I had anyway.
Originally I was trying to create another field type with self-contained S3 Upload functionality but then the upload API would need to get merged into Core and I started to think that it needed an Asset type in Core as it would eventually be needed anyway I think.
I haven't connected the S3 part yet but uploading and S3 Uploading is based off of work that I've already done in the past that worked so shouldn't be too far off.
Never really got a chance to discuss how you feel this should be integrated so let me know if it's totally off or if you've already started it or will push it yourself and I'll step back (we just really need it ourselves)
I'm not sure how you'd like to abstract the Storage solutions so I just hardcoded an S3Storage for now inside AssetResolver (maybe a separate module called prime-asset-storage-s3 that when loaded provides an AbstractStorage into Container?)
Partially towards: https://github.com/birkir/prime/issues/209

Wow, you are on fire. Looked at the PR and everything is great so far!
Is S3 nowadays the standard for file bucket APIs? I know google cloud storage has interoperability for AWS S3, but I am thinking for people who use Azure (which is picking up pace).
Should we just go with AWS dependency and worry about other platforms later?
(I was thinking if aws-sdk should be a peerDependecy and make the upload/remove/update part with a replaceable driver interface, but to be honest aws is fine!)

aws-sdk should be a peerDep. That dependency has a new version almost every day, lol
Just add aws-sdk:* on peer deps

I ended up putting aws-sdk * as a dependency. I'm not sure how you can make it a peer dependency since prime isn't a consumable project where you have the chance to provide your own
What's left:

We need to consume the assets in document asset fields, which would probably require some library picker modal. I could do this quite simply in my own Angular projects but feel like I'll end up spending days here
The uploading isn't pretty and it doesn't update the table automatically. There's a mix of inline GQL and Stores and I think you want to go back to stores which will probably fix this?
Tests

Some screenshots of the progress so far:

I may have messed up your lockfile. If you have any errors, you can just remove it and yarn install again to get a clean one.
Sorry, am trying to keep PR's alive and up to date with master!

Rebased against master. Trying to install dependencies in China is extremely frustrating!

Wow, you are on fire. Looked at the PR and everything is great so far!
Is S3 nowadays the standard for file bucket APIs? I know google cloud storage has interoperability for AWS S3, but I am thinking for people who use Azure (which is picking up pace).
Should we just go with AWS dependency and worry about other platforms later?
(I was thinking if aws-sdk should be a peerDependecy and make the upload/remove/update part with a replaceable driver interface, but to be honest aws is fine!)

One great thing about S3 is that it is so prevalant out there that you can talk to other services while still using S3's api.
Example:
https://min.io/
Allows you to host your own buckets while you app still thinks its talking to S3.

Just to chime in on architecture decisions perhaps for the ability to add more drivers to storage abstraction in the future.
In PHP world, there is a great lib that is mostly universally used for this type of feature:
https://flysystem.thephpleague.com/docs/architecture/
It's basically using an Adapter pattern to allow talking to different types of storage (basically everything out there is supported by Flysystem from cloud providers to in-memory, etc). I think using a similar pattern (one programming API/Interface to talk to all storage types) would be beneficial in the future to add more storage implementations.
This library seems to have reproduced Flysystem in NodeJS if we'd like to have some inspiration for a PrimeCMS/TypeScript version:
https://github.com/Slynova-Org/flydrive

What's the status of this? I'd love to see PrimeCMS become a full-featured solution I can use for production projects.

@alexkreidler There's quite a lot done here. It pretty much works and there was a PR against this one that fixes some more stuff on the fork.
I've had to fallback to a hosted CMS (TakeShape) due to time constraints on my current project but would love to continue working on Prime when I have time. If someone wants this they'll have to take over. It's not that far off and just needs tying up

Further discussion and feedback
Hey folks,
I am currently testing this PR and I wanted to provide some feedback here.
In order to be able to work on the most advanced codebas, I forked the PR that was made here.
In my fork, I have also merged the current master branch to make sure I'm not diverging too far from the upstream right now. I'm not sure if this was necessary or not.
My changes
Filesystem Abstraction
Using @slynova/flydrive and S3 compatibility.
I have also tried using node-disks and storage-abstraction but felt like they were both a little bit incomplete api-wise event though I would have prefered a TypeScript-first solution right now.
It is important to note that Flydrive is being rewritten in TypeScript right now. It does not have any type definitions so it can be painful to use in a TS codebase.
In order to support MinIO (https://min.io/), Azure Blog Storage, Digital Ocean Spaces and any other S3-compatible storage service, I have added option to provide an S3_REGION, S3_ENDPOINT.
The /packages/prime-core/.env.example file was changed to reflect this in my fork too.
Here are a few examples of how that would work:
# Local (via MinIO instance in S3 "--compat" mode):

S3_REGION=us-east-1
S3_BUCKET=primecms
S3_ENDPOINT=http://localhost:5001
S3_ACCESS_KEY_ID=minio
S3_SECRET_ACCESS_KEY=minio123

# Amazon S3

S3_REGION=us-east-1
S3_BUCKET=primecms
S3_ENDPOINT=https://s3.amazonaws.com
S3_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
S3_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

# Digital Ocean Spaces

S3_REGION=nyc1
S3_BUCKET=primecms
S3_ENDPOINT=https://<region>.digitaloceanspaces.com
S3_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
S3_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

# Azure Blob Storage

S3_REGION=us-east-1
S3_BUCKET=primecms
S3_ENDPOINT=https://<webappname>.azurewebsites.net
S3_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
S3_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

Error Handling for Asset Uploads
I've changed and added a few minor things. Notably some error handling for asset uploads when there is something wrong with the values provided in the environment variables for S3.
The toast message now displays the error that occurred (S3-related or otherwise) instead of always displaying a success message like "File uploaded" regardless of the status of the upload.
Other Minor Changes
I have modified the main package json to have an ability of using debugging in VSCode when starting the application.
https://github.com/osmanzeki/prime/blob/ft/s3-media/package.json#L9
I have removed the --transpileOnly arg for the dev:debug command in @prime/core to be able to see TS errors in the CLI when developping in the project.
https://github.com/osmanzeki/prime/blob/ft/s3-media/packages/prime-core/package.json#L33
Updated the example environment variable file in @prime/core.
https://github.com/osmanzeki/prime/blob/ft/s3-media/packages/prime-core/.env.example
Implemented my own Storage class with filesystem abstraction as a drop-in replacement of the current S3Storage class in this PR. The class could definitely be rename to something a little bit less generic than Storage.
https://github.com/osmanzeki/prime/blob/ft/s3-media/packages/prime-core/src/utils/Storage.ts
Modified AssetResolver to use the abstracted storage class.
https://github.com/osmanzeki/prime/blob/ft/s3-media/packages/prime-core/src/modules/internal/resolvers/AssetResolver.ts#L22
Desirable future changes and thoughts?
On-the-fly Image Transformations
Since there are talks about having an "on-the-fly image transformation" and/or "media library" features, I think it makes sense to implement the filesystem abstraction layer right away as everything else will be needing it down the line.
Spacechop
For http-drive image transformations, I have tested spacechop but I have had issues with the way it is configured (via a static config.yaml, no programmable api).
I have also had problems with the fact that it considers values like http://localhost:5001/ having a "variable" named :5001 because of the way it is doing regexp in its paths. This is a little bit problematic in some scenarios because in containerized environments, I don't always want to have a reverse proxy just to hide the port numbers in the urls.
Imaginary
I was in the process of tested another similar project called imaginary written in Go. No feedback on this one yet. If it is configurable with a little more flexibility than yaml files, it is already a win in my opinion.
Roll Our Own?
Ideally, it could be great to have something like Glide in the PHP ecosystem but for NodeJS. As far as I know there is nothing as mature as that project out there in the Node ecosystem yet.
The best part of Glide is that it takes care of everything including the http layer, filesystem abstraction (using Flysystem), caching, expiry-headers, security, etc.
Eventually, if this makes sense in the scope of the project one could probably build something like Glide with via NodeJS projects like jimp or sharp.
Related
Prime issues
#209
#101
#207
Other issues
intellix/prime #1
ReyVolver/prime
@slynova/flydrive #87

The flydrive maintainers have pushed an early release of their 1.0.0 version (the typescript remake, among other changes).
I have update my repo to use the TS version now.
I have also added the ability to delete uploaded images from prime as well as a temporary very basic "AssetsDetail" view that shows up when clicking on an asset row.

I still need to test the "local" storage disk to see how well it behaves. For now, I will be storing the local assets into a folder located at process.cwd()/storage/app.
Cheers,
Oz

This is absolutely fantastic man, your are getting very close here!
Only thing on my todo-list with this PR, are image transformations.

Indeed. I'm not sure exactly how to approach image transforms. I'm thinking that we can't always do resizes synchronously as that might block the request thread in some conditions. Also, we might have to make sure we're not trying to resize PDFs, Movies, etc. There is nothing currently stopping the user from upload those kind of assets in there (which might be useful for linking to documents in Schemas for sure).
The best solution would most likely be to have another "abstraction layer" for the image transformations so that can be done via Cloudinary and other services of the like if need be. Now that storage is abstracted, it should be relatively straightforward.
As a sidenote, I noticed a few other problems with the current version of the app. It is not storing the user that uploaded the asset properly and is not able to detect the image sizes too. So there is also some work to be done on that end.

One other thing, I really like how the Spatie Media Library package for Laravel works overall. It allows all kinds of interesting features like placing media in collections, handling uploads, doing transformations, responsive srcset images, getting thumbnails out of videos, etc, etc.
Might be worth it to take some inspirations for database structure and features from that library.
https://docs.spatie.be/laravel-medialibrary/v7/introduction/

Maybe the easiest way to implement image transforms is to wrap https://github.com/lovell/sharp in a simple HTTP api that can run in Prime and can proxy calls to Cloudinary when needed?

any plan to merge this first before adding the image processing feature?


wallet-api: Add blockchain index

Emulator keeps track of all transactions on the blockchain
because we will need to look up transactions by their hashes
for validation (next PR)

Did we agree that we should be able to do this? When we discussed it before it sounded like we weren't sure whether we wanted to expose this as a primitive or now.

Did we agree that we should be able to do this? When we discussed it before it sounded like we weren't sure whether we wanted to expose this as a primitive or now.

When we validate a transaction, we need to access the data scripts of all its inputs. The data scripts are part of the transactions that produced those inputs (as opposed to redeemer and validator scripts, which are part of the transaction that is currently being validated). That's what the lookup is for.

I think we maybe need to talk to @mchakravarty about this, I'm confused about what the model should say again.

Let's say I have two transactions A and B with outputs a and b. Each output is a tuple (ValidatorHash, DataScript).
I want to consume a and b in a third transaction C. C has two inputs, (#a, 1, redeemer1, validator1) and (#b, 1, redeemer2, validator2). #a and #b are the hashes of A and B, 1 is the index into their respective outputs, and redeemer and validator are the scripts. BUT to validate C, the emulator (or cardano node) also needs the DataScripts of a and b. The only way the emulator can get those two is values is by looking up #a and #b on the blockchain.
The lookup has to happen, the index just makes it faster.

Yes, I agree with what @j-mueller is writing. Specifically, what is important is that inputs, while only containing the hash of the validator, always need to include the entire data script.
In fact, I discussed this with @dcoutts yesterday. Strictly speaking, we have two options: (1) exactly what @j-mueller described and (2) require the data script to be re-submitted with the spending output. Which to choose is a part of resource optimisation of core nodes and won't be decided for quite a while. (In the first case, the UTxO set of a core node needs to include data scripts and hence they increase resource pressure on core nodes. The the second case, we they need to be transmitted twice, so more bandwidth is used.)

the UTxO set of a core node needs to include data scripts

That's a good point about including them in the UTxO set (which we already keep track of) instead of adding a separate index. It also means they will be deleted after the output is consumed, which isn't the case with this PR currently. I'm going to change that now

I changed the design slightly so that we now also use the index for validating transactions in the emulator (where previously we would have scanned the entire blockchain for each transaction input).


API breakage for reverse bridge

Working through issues needed for reverse bridge (Java calling Python),  I found that the most likely source of issues is implicit casting in JPObjectType.
In particular  Python int and float cast to java.lang.Long and java.lang.Double.  But this will not be possible to guarantee in the future.  Instead these should both map to the abstract base class java.lang.Number which we can safely implement with a proper wrapper in the future.  The relative impact of this is low, but may break codes that assume a specific type.

Marked as deprecated.  Fixed in #706


Fixes

@neuling do you think this could cause some trouble: https://github.com/pure-ui/styleguide/pull/130/commits/be0e37578893ccd8999b3314604f8e8f978a1bb8? It's a quick fix that makes the code simpler …

@nikgraf sure. that way its more of an notification that something has changed but you do get the data your own way. you should remove the fs.readFileSync code from server.js because you don't need the content anymore: https://github.com/pure-ui/styleguide/blob/master/plugin/default-plugins/playground/server/server.js#L39


Historical processing service: Invalid literal for int with {DB_PORT}

Summary
Cannot launch historical processing service because it cannot read database port. Detail of this issue, see below:

Commit
NA
Expected Behavior
Can launch historical processing service without issue.
Actual Behavior
Cannot launch historical processing service because it cannot read database port.
Steps to Reproduce the Actual Behavior
docker-compose -f docker-compose.historical.yml up
Related Work
No response

Closed by #217


[Bug] onDidSelect of suggestWidget is not work when i type enter or tab

Reproducible in vscode.dev or in VS Code Desktop?

[X] Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

[ ] Not reproducible in the monaco editor playground

Monaco Editor Playground Code
const editor = monaco.editor.create(document.getElementById('container'), {
	value: "function hello() {\n\talert('Hello world!');\n}",
	language: 'javascript'
});

const controller = editor.getContribution('editor.contrib.suggestController')

const widget = controller?.widget?.value;

if (widget) {
    widget.onDidSelect(data => {
        console.log('data: ', data);
    });
}

Reproduction Steps
No response
Actual (Problematic) Behavior
No response
Expected Behavior
No response
Additional Context
No response

Reproducible in vscode.dev or in VS Code Desktop?

[x]  Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

[ ]  Not reproducible in the monaco editor playground

Monaco Editor Playground Code
const editor = monaco.editor.create(document.getElementById('container'), {
	value: "function hello() {\n\talert('Hello world!');\n}",
	language: 'javascript'
});

const controller = editor.getContribution('editor.contrib.suggestController')

const widget = controller?.widget?.value;

if (widget) {
    widget.onDidSelect(data => {
        console.log('data: ', data);
    });
}

Reproduction Steps
No response
Actual (Problematic) Behavior
No response
Expected Behavior
No response
Additional Context
No response

I saw the same issue in https://github.com/microsoft/monaco-editor/issues/3046


[iOS11] Update example project files, convert to Swift 4, and fix errors

Changes in this pull request
Used migration tool with Swift 4, fixed build errors, and killed all warnings. Only non-trivial change was in the macOS example. Will flag that one.
No changelog needed for this, right?
Checklist

[x] All tests pass. Demo project builds and runs.

Build failures fixed in #946


Poor sound quality - RPi0W on Toyota Rav4 2020r

Hi, first of all a great project, I rode for a dozen minutes so far, but I did not experience any lag, the latency was tolerable, as well as after usb cable.
The problem I have is with the noticeably weaker sound quality, the bass sounds like it's too loud and you can hear it crackle. It's like the volume on the phone is set to 120% and overdrives the range of the car radio and on the radio the quieter it is the more clearly you can hear it. I tried in the Android Auto developer settings to change the audio codec to PCM and AAC-LC but I couldn't hear any difference.
My phone is a Nothing Phone 2 on Android 14 and I listen to music through YT Music. Wired audio is as good as it gets. Is there somewhere I can change something to fix this?
And I have an additional question; by changing RPiZeroW to PRiZero2W anything will I gain? Will it at least boot faster or is it rather irrelevant?

RPi Zero 2 W should generally be faster to boot compared to RPi Zero W.
For the music quality, the dongle does not really change anything in the communication between the phone and the headunit. We simply proxy all communication. Lag is a common issue, likely due Wifi interference, which could be higher on 2.4 GHz networks. Other than that, I'm not sure why the audio quality would be different, unless phone is treating wireless connection differently.

Very sorry for the confusion, it's all clear now. It turned out that yesterday morning, due to the broken sound in one of the podcasts, I set the mono sound on my phone and only today I was reminded of it.... Unchecking this option fixed everything.
I'll give a tip in addition, you can add somewhere that the usb otg cable differs only in bridging the GND signal to the Sense also I on my Raspberry Pi took a soldering iron and tin connected the marked pins so that I connect to the car with just one regular USB-A-MicroUSB cable without any additional adapters or OTG cables.

I saw that the topic has already been touched on but I would also like the ability to change the dpi from 160 to 140, in my opinion it would look much better with a vertical bar rather than a horizontal one as in the screengrab from the Carlinkit site.

Very sorry for the confusion, it's all clear now. It turned out that yesterday morning, due to the broken sound in one of the podcasts, I set the mono sound on my phone and only today I was reminded of it.... Unchecking this option fixed everything.

Great! Thanks for confirming!
For the otg cable, I'm slightly confused. We anyway need a simple microusb to usb data cable. Why is bridging these two pins required?
For the dpi, while it might be possible to do, it requires some kind of man-in-the-middle manipulation of the Android Auto communication. We don't do that at least for now.

I looked for usb otg cable diagram and found something like this:

The cable is no different from a regular cable except for this jumper and a female usb connector and not a male one. I thought that making a jumper on the connector and not in the cable should not change anything and it doesn't ;) regular cable also works

Thanks for explaining! If I'm not mistaken, otg cable is needed when we want the device to work in host mode. But in out case, we want the RPi to behave as usb device/gadget and not host. We should only require regular micro usb cable, and it should work well with that as well.
The common issue with micro usb cable is between the regular data cable and power-only cable, where the data lines are not connected and just the two power lines are available. That doesn't work.

Closing this since the original issue was resolved. Thanks for sharing the USB OTG information as well :)


fix: add configuration parameter for kev.check.validforhours

This allows to set the kev.check.validforhours parameter via Gradle

Thanks for the PR - Sorry for the delayed approval/merge.

No worries at all! Thanks for the approval and your great work with this library!


Build debug apk on development push

Deploying the debug apk to firebase distribution on push to the development branch.
Considered doing it for every PR, but not sure how useful that would be

Deploying the debug apk to firebase distribution on push to the development branch.
Considered doing it for every PR, but not sure how useful that would be

If we do it on every PR we would make sure that this step doesn't fail after merge

Deploying the debug apk to firebase distribution on push to the development branch.

Considered doing it for every PR, but not sure how useful that would be

If we do it on every PR we would make sure that this step doesn't fail after merge

That's a good call out. I'm adding another check to build and run the test suite on every PR, so hopefully we'll be able to catch broken builds there. If we do still run into issues with broken builds after merge, I can turn this on for every PR


onChange & onCancel attributes

Hello there,
I needed to detect whenever the user clicks on 'OK' or 'Cancel'.
Using $watch on the model wasn't ok for me for multiple reasons.
So I added two more attributes 'on-change=' and 'on-cancel='.
<span ng-model="myDate" ion-datetime-picker on-change="myFunction" on-cancel="cancelFunction">
In controller:
$scope.myFunction = function(newDate){
}

$scope.cancelFunction = function(){
}

Hi William,
thanks for your code!
Unfortunately change event is already implemented using standard ng-change and I can't see any potential in supporting cancel event. I would consider it when there is more demand for it and also consider adding it for the next major version.
If you really want to use it, you can add WilliamDASILVA/ion-datetime-picker#feature/events to your bower.json file to pull your branch. Also don't forget to fix attribute signatures, from "=?" to "&?" or even "&" (event attrs should be considered optional automatically AFAIK).
Thanks anyway, good job!

I see that you are using "=?" attribute signature for events. You should be using "&" instead, but that would require a little code change in the picker. Just an idea :)


support limit_except

Is this possible? I know there's a TODO about getting the config of the builtin dav module, but what about the core module? Is it possible to get the limit_except status of the current request? Then use that to change what OPTIONS advertises?

It doesn't make sense until the standard nginx dav module supports this.


Add extends and traitUse collectors

Similar to the ImplementsCollector collectors for extends and traitUses should be added.
In AstRunner\AstMap\AstInherit methods for other types `https://github.com/sensiolabs-de/deptrac/blob/master/src/AstRunner/AstMap/AstInherit.php#L11 must be added.

extends is a bit misleading. inherits would be good?
when InterfaceA extends interfaceB it should be up the the ImplementsCollector and not the ExtendsCollector
what do you think?

Here are some more ideas :-)

ClassInheritanceCollector
InterfaceInheritanceCollector
TraitUseCollector


Add description in GitHub page

There is no top description for this project in the Github page

Thanks.


Haier AC - define a range of temperature - keep user from putting the AC way up

Thanks for a great integration.
I'm using it with the AC Haier Geos + 3.5KW.
My tenants are using the AC and sometimes put the AC too strong.
That would be great to be able to define a min setting for AC cold and max for AC heat.
If you tell me where I need to set this const in the code, I would happy to do it.
Many thanks

Hi, I think the cleanest solution would be to create a thermostat template and set your needed min and max values.
If you really want to patch the code, have a look at these lines.

I tried to create a thermostat template but it needs a toggle-type of heating.
I'll stick to the hard-coded solution for now.
Many thanks!


Replace placeholder arg_v with the correct name in function containin…

…g table stmt
Fixing:
PROCEDURE settables(b) {
    TABLE minf FROM 1 TO 2 WITH 1
    minf = 0
}

Checking that the following construct is not valid because PROCEDURE with TABLE statement should have exactly one parameter.
PROCEDURE settables(a, b) {
    TABLE <...>
    <...>

Codecov Report

Merging #768 (5666abb) into master (dba5903) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

:exclamation: Current head 5666abb differs from pull request most recent head 9525960. Consider uploading reports for the commit 9525960 to get more accurate results

@@            Coverage Diff             @@
##           master     #768      +/-   ##
==========================================
- Coverage   59.82%   59.81%   -0.01%
==========================================
  Files         200      200
  Lines       37143    37147       +4
==========================================
  Hits        22221    22221
- Misses      14922    14926       +4

Impacted Files
Coverage Δ

src/codegen/codegen_c_visitor.cpp
63.12% <0.00%> (-0.10%)
:arrow_down:

Continue to review full report at Codecov.

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


Json is represented as  "type": "object"

It should be  generated as
{
  "anyOf": [
        { "type": "object" },
        {
          "type": "array"
        }
      ]
}

it is generated as
{"type": "object"}

@capaj ThanDo for reporting this! The Issue is resolved and should be fixed now :)

@valentinpalkovic oh thank you for being able to jump on this so fast.
I just wish I had realized sooner, that a valid JSON is also saclar values like string, null or a number, so the generated type here should really be:
 "type": ["number", "string", "boolean", "object", "array", "null"]

sorry for that. I mostly use graphql these days, so I forgot how to properly do any type in json schema.

No problem! :)
I just wanted to discuss with you, whether it makes sense to define the type without null for the case, that the JSON field is required!
Required case:
"type": ["number", "string", "boolean", "object", "array"]

Not required:
"type": ["number", "string", "boolean", "object", "array", "null"]

I know, that per definition the JSON type is allowed to also be null, but I would adjust this to conform to the user's expectation! If the user defines a JSON field as required, then null shouldn't be a valid value.
What do you think?

yes, I do think null is to be expected.
I mainly use postgre as my DB and postgre will happily accept null and indeed we do use nulls in our Json fields in our production DB. So the generated schema should accept it too.

Alright! I will adjust my MR tomorrow and I will release a new version afterwards! I will let you know.


Remove `internal::CaptureStderr();´ from all tests

Brief feature description
This makes debugging error on the CI quite hard since it suppresses the output when the leak sanitizer detects a leak or the error handler calls terminate. Just outputting the console output on test failure is not enough, since either the test does not fail with the leak sanitizer or the test is already aborted when terminate is called.
Detailed information
When the tests are too verbose on the console we need to fix the root cause instead of hiding the symptoms. There is for example Logger::SetLogLevelForScope to temporary increase the log level to e.g. ERROR or WARNING.

@elBoberido I support it but only when the outcome is that a successful unit test, even when is testing catastrophic failure, is quiet.
When we can achieve this then we definitely should pursue it.

@elfenpiff even if not, it's internal API and we should not use it


Implement juyter.widget.control protocol

A few changes to get this going.
The implementation is currently leaking, as are all currently all things created from the frontend, even after they are closed (owning xholders).
Perhaps better to address that in a separate PR
A simple fix is proposed to manage comm closed by the front-end, but the fix is sensitive to Xeus modification.

Tracking the behavior for destroying the xcomm during on_close in https://github.com/jupyter-xeus/xeus/issues/356


Does spring-cloud-alibaba-sentinel support cluster flow control?

我们鼓励使用英文，如果不能直接使用，可以使用翻译软件，您仍旧可以保留中文原文。
Which Component
Sentinel
Describe what problem you have encountered
Does spring-cloud-alibaba-sentinel support cluster flow control? Is there a demo for reference ?
Describe what information you have read
I have read the reference doc of Sentinel

Yes.
0.2.1.RELEASE and 0.1.1.RELEASE add sentinel-cluster-server-default & sentinel-cluster-client-default dependencies in spring-cloud-alibaba-sentinel module.
You could see demo or reference in Sentinel wiki. spring-cloud-alibaba-sentinel module do not have some enhancements.

Yes.
0.2.1.RELEASE and 0.1.1.RELEASE add sentinel-cluster-server-default & sentinel-cluster-client-default dependencies in spring-cloud-alibaba-sentinel module.
You could see demo or reference in Sentinel wiki. spring-cloud-alibaba-sentinel module do not have some enhancements.

tks, i will try it.


Add instructions to setup a new GCP project for Open Match

Open Match instructions currently assume a working GCP project that has all the necessary services activated. This is usually not the case for new users. There should be instructions on how to:

Pointer to install gcloud
Create a GCP project
Activate the necessary services

We should also include a troubleshooting section in the documentation that basically said something like if you see this error then this is most likely the problem.
FYI: Many errors in GCP show up as authorization errors when it's something completely different like the service is not activated.

We should link to the canonical instructions for this rather than replicating them, to avoid issues if the process changes in the future.

The commands themselves should not change in the long term because there's plenty of projects that depend on them being consistent already. A good example of this is https://github.com/GoogleCloudPlatform/PerfKitBenchmarker that basically uses gcloud as an API.
We will point to installing gcloud instructions since that will be updated periodically but the gcloud command script will be in the docs.


Option to show the scrollbar when you hover over the container.

how can i show scrollbar when i hover over container, passing css to renderTrackVertical and other such props are not working

Maybe renderThumbVertical prop is the thing you need.
Since this package renders your scrollbar as a div, you can achieve it this way:

Add custom-scrollbar-container to Scrollbars className and add custom-scrollbar  to className of the div inside renderThumVertical prop (feel free to name the classes your way)

    <Scrollbars
      className='custom-scrollbar-container'
      renderThumbVertical={({ style, ...props }) => (

      )}
    >

Main

    </Scrollbars>

Add these lines to index.css

  .custom-scrollbar-container .custom-scrollbar {
    /* Use opacity here instead of display:none for a good looking transition */
    opacity: 0;
    transition-property: opacity;
    transition-duration: 300;
  }

  .custom-scrollbar-container:hover .custom-scrollbar {
    opacity: 100;
  }

You can simply right click on the scrollbar and inspect it
Addtionally, if you want to change width of scrollbar, add this
  div:has(> div.custom-scrollbar) {
    width: 12px !important;
  }

Thanks for the help man!
I need to wrap this scrollbar into table element
but the above code shared also seem to not work.
I have a structure like this

Does your code look like this one?
    <Scrollbars
      style={{
        width: 500,
        height: 300,
      }}
      renderThumbVertical={({ ...props }) => (

      )}
    >

        {/* rows go here */}

    </Scrollbars>

Then you should try this one
.custom-scrollbar {
  opacity: 0;
  transition-property: opacity, color, background-color !important;
  transition-duration: 0.3s !important;
}

div:has(> .custom-scrollbar-trigger:hover) ~ div > .custom-scrollbar {
  opacity: 100 !important;
}


[workers] Update new-url-parser-implementation.md

Update description of the new-url-parser-implementation compatibility flag to provide a bit more detail and reflect the fact that it is now the current default.

Is it possible to add a note that URL.canParse(url) is only available with the url_standard flag?

Is it possible to add a note that URL.canParse(url) is only available with the url_standard flag?

Oh, yeah, I wasn't aware of that difference, but it makes sense if it was added after the new implementation became standard, and maybe having the text present would help searchers identify problems due to using the old implementation.  Not sure if there are other significant additions, but a cursory scan through git history isn't showing anything obvious.  Will try adding that detail, and maybe some examples of the other differences already described.

Is it possible to add a note that URL.canParse(url) is only available with the url_standard flag?

Oh, yeah, I wasn't aware of that difference, but it makes sense if it was added after the new implementation became standard, and maybe having the text present would help searchers identify problems due to using the old implementation. Not sure if there are other significant additions, but a cursory scan through git history isn't showing anything obvious. Will try adding that detail, and maybe some examples of the other differences already described.

Sounds good to me! The only other thing that comes to mind is the response_redirect_url_standard flag which opts into the same behaviour for the Response.redirect() static method - maybe this flag could link to flag as well?


Google OSS-Fuzz integration

As a deliverable of #2891 and #2892, implements Google OSS-Fuzz integration. See the added FUZZING.adoc for details.

@ppkarwasz, what do your FQCN fixes address in the context of fuzzing?


Add a Showing X number of results at top of results area - make sure it doesnt conflict with the sort-bar

Based on the way the API returns in batches, can't really get a full page count so this isn't helpful.


Add my School

Website; https://colegiomaanaim.com.br/
Address; R. Waldemar Falcão, 29/31 - Brotas, Salvador - BA, 40301-110

Welp, already tried to add my School here but it got denied, contacted the Coordenation and the Domain problem was solved.

@Descafeiinado Please provide us with a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.
You can provide us with any of the following:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A WHOIS data that link the email domain to the school somehow
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

Instructions given by my school.

@Descafeiinado Thank you for the clarification. Pull request merged.


fixed image in dockerfile

When expanding the container, I get errors

and

And connection via ssh with account and password "irisowner: iris-2104" does not work

Are these errors the problem? Or am I doing something wrong?


Older wheels seem to have disappeared off Pypi

I'm trying to use rdkit-pypi version 2<IP_ADDRESS>, but when I try to install that in a python 3.9 Docker image I get the following error:
 ❯ docker run -it python:3.9-slim bash                                                                                1 ↵
Unable to find image 'python:3.9-slim' locally
3.9-slim: Pulling from library/python
Digest: sha256:ba3b77ddbc953cdb8d998b2052088d4af4b8805805e5b01975a05af4e19855ea
Status: Downloaded newer image for python:3.9-slim
root@252ed403df93:/# pip install rdkit-pypi==2<IP_ADDRESS>
ERROR: Could not find a version that satisfies the requirement rdkit-pypi==2<IP_ADDRESS> (from versions: 2021.9.4, 2<IP_ADDRESS>, 2022.3.1b1, 2022.3.1, 2<IP_ADDRESS>, 2022.3.2)
ERROR: No matching distribution found for rdkit-pypi==2<IP_ADDRESS>

Any suggestions on how to get around this? I need this specific version because the RDKit cartridge in Postgres 12 is incompatible with version 2021.9.4

2<IP_ADDRESS> is available on PyPi :  https://pypi.org/project/rdkit-pypi/2<IP_ADDRESS>/#files.
What OS you are running?

No issues on my system
 chris@penguin  ~  pip install rdkit-pypi==2<IP_ADDRESS>
Defaulting to user installation because normal site-packages is not writeable
Collecting rdkit-pypi==2<IP_ADDRESS>
  Downloading rdkit_pypi-2<IP_ADDRESS>-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.9/19.9 MB 4.8 MB/s eta 0:00:00
Requirement already satisfied: numpy>=1.19 in ./.local/lib/python3.9/site-packages (from rdkit-pypi==2<IP_ADDRESS>) (1.22.2)
Installing collected packages: rdkit-pypi
  Attempting uninstall: rdkit-pypi
    Found existing installation: rdkit-pypi 2<IP_ADDRESS>
    Uninstalling rdkit-pypi-2<IP_ADDRESS>:
      Successfully uninstalled rdkit-pypi-2<IP_ADDRESS>
Successfully installed rdkit-pypi-2<IP_ADDRESS>

So I can download it locally on my M1 Mac, but as soon as I try to install it in a Docker image (see python:3.9-slim above) -- it appears to have disappeared. I don't know enough about Pypi to know why that would be...

Are you using MacOS with an armv8 processor (M1 hardware)?

Yes:
  Model Name:	MacBook Pro
  Model Identifier:	MacBookPro17,1
  Chip:	Apple M1
  Total Number of Cores:	8 (4 performance and 4 efficiency)
  Memory:	8 GB
  System Firmware Version:	7429.61.2
  OS Loader Version:	6723.140.2
  OS: macOS Big Sur 11.6.2

I see.  rdkit-pypi python builds for M1 hardware are only available from version 2021.9.4 . You might be able to work around this by emulating the intel architecture using rosetta.

Oooh yup there's a fun workaround:
docker run -it --platform linux/amd64 python:3.9-slim bash
root@b2878ba80825:/# pip install rdkit-pypi==2<IP_ADDRESS>
Collecting rdkit-pypi==2<IP_ADDRESS>
  Downloading rdkit_pypi-2<IP_ADDRESS>-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.9/19.9 MB 12.0 MB/s eta 0:00:00
Collecting numpy>=1.19
  Downloading numpy-1.22.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.8/16.8 MB 12.6 MB/s eta 0:00:00
Installing collected packages: numpy, rdkit-pypi
Successfully installed numpy-1.22.3 rdkit-pypi-2<IP_ADDRESS>

Thanks for your help!

Glad you got it resolved.


the pygird network can not find other nodes in this network

Description
when i run the command : docker-compose up, all containers are up.
the network started at the http:localhost:7000
other nodes respectively at localhost:5000,5001,5002.
but when i browse the localhost:7000/connected-nodes , it returned {}

0.2.x is no longer supported. Please refer to the new 0.5 release.


less vetiver in function names (?)

When using this package, it can feel awkward typing vetiver.vetiver_XXX for many functions. On the R side, this makes sense as it better follows the naming conventions in the language, but it is often redundant when importing from vetiver-python.
I am thinking about renaming a few functions (ie, maybe vetiver_pin_write() -> vetiver.pin_write()) to feel more fluent in use.
CC: @has2k1

Following common practice in python for creating and saving objects,
vetiver_pin_read should be the classmethod VetiverModel.from_pin() and vetiver_pin_write should be the regular method VetiverModel.pin_write().

One thing we will want to be consistent on is how "pin" is used

What about v.write_pin() rather than v.pin_write/v.to_pin? Then it can be clear that the verb is write without it feeling redundant.

I think v.to_pin might be the best option if we want to make a change for that one now (vs. later when we can dispatch off the pinned object type, so we can do board.pin_write(v)). I worry about v.pin_write or v.write_pin because of the pins context, where the methods are for the board, not the pinned object type.
IMO it would be OK to make all these changes except the one for writing to a pin (keep vetiver_pin_write(board, model)), since we have planned changes for that later. I am also supportive of changing it twice, if you all think it's best and important. It just means more deprecation warnings, which are not a problem or bad.


How to divide trainingset and testingset?

Due to there are 50 folders in the DFDC dataset, how do you divide them? Does it matter in the final result of training?

Hi, you have to exploit the files provided by DFDC dataset creators. I also added them to the repository here.


CLI argument parsing is broken

When I run the following command:
go run cmd/connecti/main.go connect aws \
  --routes "<IP_ADDRESS>/16" \
  --region us-east-1 \
  --name "my-tailscale-bastion" \
  --subnet-ids subnet-08b322f0fec647539 \
  --api-key "abc123" \
  --tailnet<EMAIL_ADDRESS>
Connecti fails:
Attempted action:

  ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   0%
  Time elapsed: 0s

  Error:
    must specify a tailnet. See --help

If I dump the parsed arguments from Viper, I get the following:
viper.AllKeys = [virtualnetworkname subnetids debug aws:region routes apikey subnetname name tailnet azure:location resourcegroupname]
viper.AllSettings = map[apikey: aws:region:us-east-1 azure:location: debug:false name: resourcegroupname: routes:[] subnetids:[subnet-08b322f0fec647539] subnetname: tailnet: virtualnetworkname:]

Note that routes, apikey, routes, and tailnet are all blank despite being specified in the command.
If I specify TAILSCALE_TAILNET and TAILSCALE_API_KEY, the command will succeed, although routes still shows as blank.

This appears to be a bug with cobra at this point, but I can't determine why these values are not being set.

If you set the values as configuration in ~/.connecti.yaml it works great
If you set the values as env vars, it works great
if you remove the call to viper.GetString things appear to be better

I've opened https://github.com/spf13/cobra/issues/1890 to see if I can get some insight


Re-publish bootstrap-growl

Looks like you unpublished the bootstrap-growl module from npm when you renamed this project from bootstrap-growl to bootstrap-notify.
Could you please republish it under that name?  You've broken every single module out there that depends on bootstrap-growl.

@pgilad Would you be willing to loog into this?
I am sadly not very familiar with npm because I dont use it.

Hey @achingbrain what do you mean unpublished?
I just installed it bootstrap-growl using npm install bootstrap-growl into a clean directory and it installed fine. I also went ahead and installed bootstrap-notify alongside it to show the diff:

@achingbrain Also I tried installing guvnor using npm and it installed fine. What exactly is the problem?

@pgilad Thank you very much for looking into this. I will have to eventually learn npm. There are just so many things out there and I haven't had time to learn the ones I don't have to use for work. I am grateful that you looked into this.

@pgilad have you run npm install bootstrap-growl before?  If so npm probably installed it from your local cache.  Try removing it first:
$ rm -rf ~/.npm/bootstrap-growl
$ npm install bootstrap-growl
npm ERR! fetch failed https://registry.npmjs.org/bootstrap-growl/-/bootstrap-growl-2.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404

@achingbrain You're absolutely right. @mouse0270  Can you add me as a collaborater to bootstrap-growl on npm? I can try to republish the new version.

I think that since it's been unpublished, the name is now free for anyone to use on npm so you shouldn't need to be added, you can just publish.
Bear in mind this though, from the docs:

Even if a package version is unpublished, that specific name and version combination can never be reused. In order to publish the package again, a new version number must be used.

@achingbrain I couldn't republish version 2.0.0.
I created a standalone npm module called [bootstrap-growl-legacy(https://www.npmjs.com/package/bootstrap-growl-legacy) which has versions 2.0.0 and 2.0.1 as posted on bower.
Hopefully you guys can switch smoothly to that module, and meanwhile start thinking about upgrading to version 3.1.1 and use bootstrap-notify.
Sorry for the trouble..


VM Subnet Zone info. is managed as a global variable. and Modify the first letter of some functions' name as a lowercase.

VM Subnet Zone info. is managed as a global variable

To use the subnet zone info even after VM is terminated
To reduce CSP API call counts

Modify the first letter of some functions' name as a lowercase.

Related issue : https://github.com/cloud-barista/cb-spider/issues/1379


Missing parameter in documentation

Hello,
It seems that you forgot to specify the option "rn-swipe-disabled" in the documentation, I found it here
https://github.com/revolunet/angular-carousel/blob/master/src/directives/rn-carousel.js#L219
Thank you !

I have a chart inside each slide of the carousel with the zoom on option enabled. So every time I tried to zoom on a chart the carousel changed the current slide. "rn-swipe-disabled" set to true worked perfectly for me: now I can apply zoom on the charts without any issue.
Thank you for discover me this option. It is just what I was looking for. +1.


[ILLA App idea] A CRUD App built with ILLA based on Supabase.

Description
Create a CRUD App via ILLA Cloud and use Supabase as the data resoruces.
Additional Information
Create a CRUD App via ILLA Cloud and use Supabase as the data resoruces.

/assign @manancodes
I would like to work on this one.

/assign @manancodes


There needs to be a way to pass nodeSelector settings to Operator managed Aerospike Clusters

We need to be able to pass nodeSelector settings to limit the deployment of Aerospike Cluster stateful sets to specific nodeSelector criteria matching node labels.

@eb-koddi This will be added in the next release.

This has been fixed.


Bringing back hot reloading with react-hot-loader 3

Also extracted AppState and the view component into separate files. (To me as a beginner this helps to understand quicker what's going on: "here is what you need to describe a state, here is the view and here is how it all connects together")

Thanks! really nice


Allow python client to pass in requests_cache backend

Use verify(badge_input, cache_backend=MyBackend()) to pass in your own backend for requests-cache if you are using one elsewhere in your application or wrapper for badgecheck.
See requests-cache docs
Merge #140 first for a cleaner changelog.

This allows an options dict to be passed in as **kwargs to all the task functions. The ones that use requests or jsonld to potentially make HTTP requests will look in this options set for appropriate options.
When you pass in kwargs to verify(), these are added to the default options, and a
By default, the same doc cache is used for all jsonld requests within a session. A new memory-based cache is used for each new verify() request.
Implementers who wish to use this library in production are encouraged to configure and

Further improvements to the micro server app will take better advantage of the caching features. This PR is mostly aimed at implementers who will be using the library for high-volume requests.

LGTM


文档不详细

文档不详细，好难配置，希望可以把文档完善

Hi @ZClee128
what do you need more on the project documentation? We tried to keep it as complete as possible.


Block placer / Block breaker facing

Is your feature request related to a problem? Please describe.
Block placer and breaker can only be facing N/S/E/W.
Describe the solution you'd like
Allow block placer to be facing U/D as well.
Additional context
Would like to be able to automate latex production without having to use another mod for block placing, since ideally I'd have 4 Tree Fluid Extractors around the log, and the Block Placer placing the block from top or bottom.

You can already do that


Hampran

Dear all,
I order to make the workflow work on the tfc-nusantara, I am reworking/resolving files causing the failure.
I have added fakes <p> for the section A and C, as well as encoded the <l> to complete the already encoded <lg> element for the part B of text for the file Hampran. Be careful when restarting the encoding; this structure might not match the content.
@arlogriffiths you are the only one in the <teiHeader>, but I am not sure if it is really one of yours.
Best,

Thanks. I had started encoding that inscription in May 2020 but never got far and then forgot about it. I have now finished encoding it and the file validates in Oxygen, but there is a problem in transformation:

Can you determine the source of that problem, @ajaniak ?

There were a short title without tag and a wrong short title. I have corrected them and it should work now.

thanks a lot!


'get.email_data_async' returns 'attachments_details' as null though attachments are present

Hi,
I am trying to fetch 'attachment details' for each of the conversations in a message thread using 'email_data_async' API.
This API returns the details of all the messages, but for some messages the 'attachment_details' is null though 'attachments' property shows some values.
Part of the sample response below:
{
attachments: ["browser-ui.png", "Screenshot.png", "Screen Shot123.png", "Screenshot.png"]
attachments_details: null
}
To reproduce kindly check with any thread with >(5 to 6) conversations.
Anyone, please share your thoughts/inputs.

I have the same problem.
@Nishanthi have you find any solution for this issue?


Common Plots (examples)

Part 1 of 2
We can leverage on ToolLib.CommonPlots for plotting data in a uniform way.
Some example:
This one is for plotting the "last figure error used in computation" (I use it to be sure that WISEr used the figure error I wanted him to use)
LibWiser.ToolLib.CommonPlots.FigureErrorUsed(kb)

This one is to plot the intensity of a certain optical element
LibWiser.ToolLib.CommonPlots.IntensityAtOpticalElement(kb)

The function looks like this:

It plots to an external figure. I do not know if the output can be easily redirected to a GUI figure. If not we have two options:

re write proper code in WofryWiser

improve code in LibWiser

Part 2 of 2
In general, in plot we should avoid ugly formatting, such as "0.00005". The modyke Units that can (does not have to) be useful.
Example
x = 1e-7
b = Units.EngUnit(x)
b.unit = 'm'
b

100nm
b.eng_num
100n
Unit.GetEngLetter(x)
'n'

Starting point is the WiserPlot class in util.wise_util .


[FEATURE REQUEST] Include Raw Request instead of Headers

Is your feature request related to a problem? Please describe.
Many other tools like ffuf and sqlmap provide a raw request option, which makes transferring a session from a browser or tool like burp suite less error prone, and saves a lot of time.
Describe the solution you'd like
Provide a --request flag that automatically retrieves the user-agent, headers, cookie, and other attributes from a raw HTTP request.
Describe alternatives you've considered
Creating my own wrapper script that includes the data with a custom flag.
Additional context
I would be open to working on this feature if you consider it useful.

hi @Raymond-JV! sorry for the late reply. I'd happily work with you to get this included as a feature if you'd like to work ont it. Just let me know. Pinning for now

hey @Raymond-JV, just merged this in. Give it a try and lmk what you think!
https://epi052.github.io/feroxbuster-docs/docs/examples/raw-request/

@all-contributors add @Raymond-JV for ideas

Apologies for not reaching out sooner, I have been fairly inactive on GitHub.
The feature works really well. Thank you for making this tool more compatible with raw requests and Burp.


[Dubbo-2031] Fix hessian2 serialization infinit recursion(StackOverflowError) when object's writeReplace method returns the object itself

What is the purpose of the change
Fix #2031
Brief changelog
When the object's writeReplace return itself, then just serialize it as the normal object. No need to do another recursive call, which will cause infinite recursion.
Verifying this change
Check the newly added unit test case: Hessian2WriteReplaceTest.java
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn clean install -DskipTests & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[x] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #2032 into 2.5.x will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##            2.5.x    #2032      +/-   ##
==========================================
+ Coverage   28.42%   28.43%   +<.01%
==========================================
  Files         791      791
  Lines       41736    41737       +1
  Branches     8529     8530       +1
==========================================
+ Hits        11863    11866       +3
+ Misses      27799    27794       -5
- Partials     2074     2077       +3

Impacted Files
Coverage Δ

.../alibaba/com/caucho/hessian/io/JavaSerializer.java
69.27% <100%> (+5.39%)
:arrow_up:

...om/alibaba/dubbo/rpc/filter/ActiveLimitFilter.java
83.33% <0%> (-5.56%)
:arrow_down:

...mon/serialize/support/dubbo/GenericDataOutput.java
66.66% <0%> (-4.22%)
:arrow_down:

...ba/dubbo/remoting/transport/netty/NettyServer.java
68.42% <0%> (-3.51%)
:arrow_down:

...mmon/serialize/support/dubbo/GenericDataInput.java
59.45% <0%> (-2.32%)
:arrow_down:

...ibaba/com/caucho/hessian/io/SerializerFactory.java
61.2% <0%> (+0.71%)
:arrow_up:

.../alibaba/com/caucho/hessian/io/Hessian2Output.java
24.22% <0%> (+0.86%)
:arrow_up:

...libaba/com/caucho/hessian/util/IdentityIntMap.java
39.28% <0%> (+8.33%)
:arrow_up:

Continue to review full report at Codecov.

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

https://github.com/dubbo/hessian-lite alse need ix

@lovepoem
Thanks for reminding me, I just opened a pr for hessian-lite project: https://github.com/dubbo/hessian-lite/pull/1

https://github.com/dubbo/hessian-lite/pull/1 was merged
And 2.5.x and 2.6.x will remove hessian-lite module via https://github.com/apache/incubator-dubbo/pull/2074 and https://github.com/apache/incubator-dubbo/pull/2073 , use https://github.com/dubbo/hessian-lite directly. so close this pr


Bluetooth: tests: fix buf tests

Delete tests that did not end up bringing any value.
What ended up happening is busy-work to "make the test pass" without understanding what's their original purpose.
Worse, the CI change-based testing is broken and doesn't pick them up, even by PRs modifying the tests themeselves.
See #68008

I guess the author @ahmedmoheb-nordic isn't active anymore?

he isn't no. And @alwa-nordic is going to mess with bt/buf pretty soon


Looks like save_progress and save_every are not working in v0.6.2

In v0.5.3, I used to use:
exp = theanets.Experiment(theanets.Classifier, layers= ... , save_progress=path, save_every=int)
which loads a saved model (if exists), then saves the new trained model every couple of minutes.
In v0.6.2, I get "an unexpected keyword argument 'save_every' ". I can still pass the two arguments to the function:
exp.train()
which successfully saves the model every couple of minutes, but it does not load the saved model.

Yes, the kwargs API changed a bit in the v0.6.x releases -- I figured it wouldn't be too difficult to move the training-specific args to the train method call. To load the model automatically, pass the path to the Experiment constructor:
exp = theanets.Experiment(path)
exp.train(save_progress=path, save_every=5)

I'm going to close this issue, please reopen if you think it needs fixing.


Unexpected Token )

Challenge http://beta.freecodecamp.com/challenges/waypoint-target-elements-by-id-using-jquery has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
Upon entering this waypoint, 'Unexpected Token )' was a criteria to pass the exercise. It is either a glitch on my part or there is a missing criteria.

Hello @kyrize
This was just fixed but has not been pushed up. See #1450 Thanks for reporting! Happy Codding!


Need help!!!

Dear csharper:
If you have free time and want to contribute to mdc-maui, we are very much looking forward to your arrival. The most important work currently is:

IOS & MACCATALYST support.
The controls that have not yet been implemented.
The bugs that need to be fixed.
The documentation that needs to be kept up to date.

We need your help.

@yiszza,
can help with testing in IOS & MACCATALYST.
Regards

@yiszza,
can help with testing in IOS & MACCATALYST.
Regards

🎉

I can help with building support for new components. Regards.

I can help with building support for new components. Regards.

welcome!


Problem with download of playlists

When i try to access my playlist using "python spotdl.py --username
it gives me...
Traceback (most recent call last):
File "spotdl.py", line 333, in
feed_playlist(username=args.username)
File "spotdl.py", line 118, in feed_playlist
print(str(check) + '. ' + misc.fix_encoding(playlist['name']) + ' (' + str(playlist['tracks']['total']) + ' tracks)')
File "...\Python\lib\encodings\cp437.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_map)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u2013' in position 20: character maps to

Does any of your playlists contain special characters? If so, can you share its name here?

Yes I've checked and I have a playlist called "Alan Walker - Releases"

I just tried to mimic your playlist name by adding some random tracks but I cannot replicate the error.
Can you edit def feed_playlist(username) function on line 111 in spotdl.py such that it looks like:
def feed_playlist(username):
    # fetch all user playlists
    playlists = spotify.user_playlists(username)
    for playlist in playlists['items']:
        print(playlist['external_urls']['spotify'])
        print(misc.fix_encoding(playlist['name']) + ' (' + str(playlist['tracks']['total']) + ' tracks)')
    links = []
    check = 1
    ....

instead of:
def feed_playlist(username):
    # fetch all user playlists
    playlists = spotify.user_playlists(username)
    links = []
    check = 1
    ....

and then paste here the output of the spotify playlist URL just before the occur shows up. This playlist's name is most likely causing the trouble. It will help me fix this error.

I've tried to change the code but i still have the problem:
Traceback (most recent call last):
File "spotdl.py", line 334, in
feed_playlist(username=args.username)
File "spotdl.py", line 124, in feed_playlist
playlist = misc.input_link(links)
File "...\spotify-downloader-master\spotify-downloader-master\core\misc.py", line 16, in input_link
the_chosen_one = int(raw_input('>> Choose your number: '))
NameError: name 'raw_input' is not defined

Same problem.
My list is here: https://pastebin.com/KeqhpFNa
Problem occurs after number 5/during number 6
There is a hyphen.
Console Log:
C:\Python27>python spotdl.py --list=list.txt
Total songs in list = 80 songs

1. KOOL AND THE GANG   LADIES NIGHT HD

2. The Bangles - Walk Like an Egyptian

3. Tight Fit - The Lion Sleeps Tonight

4. Men At Work - Down Under

5. Stevie Wonder - Superstition

Traceback (most recent call last):
  File "spotdl.py", line 488, in <module>
    grabList(file=args.list)
  File "spotdl.py", line 400, in grabList
    grabSingle(raw_song, number=number)
  File "spotdl.py", line 366, in grabSingle
    print(getYouTubeTitle(content, number))
  File "C:\Python27\lib\encodings\cp850.py", line 12, in encode
    return codecs.charmap_encode(input,errors,encoding_map)
UnicodeEncodeError: 'charmap' codec can't encode character u'\u200e' in position 8: character maps to <undefined>

C:\Python27>

My bad, I forgot to change to input instead of raw_input for python3. I pushed a fix for this in 258b21ff05dc50a8b433b884b3c1b223a46c0370.
Please make the the above changes after downloading the code again and let me know how it goes.

I will try as soon as possible
Sent from my HUAWEI EVA-L09 using FastHub

I've tried now again after having cloned the repo... the code can now get the names of my playlist with no problem (thx)... but when i process the list of tracks with python spotdl.py -l=list.txt it downloads them, eventually it always says "Failed to download song. Will retry after other songs." although the song is downloaded correctly

That is weird. Does it fix track metadata too?

This is related to #85. I pushed a fix, it should work correctly now.


9 ghed importer

Creates an importer for the GHED dataset
Example usage

import bblocks_data_importers as bbdata

ghed = bbdata.GHED()
df = ghed.get_data()

Closes #11

You could also imagine this usage, if you wanted to be extra succinct:
from bblocks_data_importers import GHED

df = GHED().get_data()

@lpicci96 thank you!
I made a couple significant changes:

I think we should favour pyarrow dtypes. In pandas IO operations, I set dtype engine to be pyarrow. This does not set those types for new columns though, so:
I added a new utility function (to be run at the end of cleaning steps), to convert the dataframe to pyarrow dtypes

Then I also split your cleaning try block into two, so that if something fails we know what it was.
And I changed the behaviour from static methods to regular ones for cleaning because the raw data is quite large and it doesn't make sense to be passing it around memory when it's already loaded in the class (and these methods could just use it directly)


Support flag /y?

The functionality seems useful for /y, too, not just for /g.

Closing in favor of #6.


Create diiage.txt

@JarJar025 Please provide us with the following info:

the university official website URL, if different from the domain you are submitting
an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the university
an URL of a page or another proof (.pdf or a screenshot are OK) showing that the university recognizes the domain which you are submitting as an official email domain for the students.

@JarJar025 @bjfumac You might miss my previous comment. Please reply.

@JarJar025 This request remains unanswered for a while. I have to close it. Please reopen and comment if you have an update regarding abovementioned issues. Thank you for the understanding!


what required?

Error detected while processing TextChangedI Autocommands for "*":
E5108: Error executing lua ...s/start/cmp-latex-symbols/lua/cmp_latex_symbols/init.lua:1619: attempt to call global 'dump' (a nil value)

My bad. Fixed in https://github.com/kdheepak/cmp-latex-symbols/commit/07412e1fd757eee19840091c635b81f04edca3c9.


[Storage Queue] How to use retry policy?

Package Name: @azure/storage-queue
Package Version: 12.1.0
Operating system: macOS
[X] nodejs

version: 10.16.3

[ ] browser

name/version:

[ ] typescript

version:

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
In the older versions of SDK, defining a retry policy was rather simple using something like the following:
const retryOperations = new azure.ExponentialRetryPolicyFilter(5);
return azure.createQueueService(connectionString).withFilter(retryOperations);

I am wondering how can we do the same with the new SDK. I looked around but could not find any information/code samples regarding that. Any pointers will be highly appreciated.

Thanks for reporting @gmantri
@xirzec This falls into the bucket of some common documentation we should have in this repo that applies across packages to cover topics like retries and logging. Can you log an issue to track all such documentation we want to have?
@jeremymeng  Meanwhile, can you share pointers on how to use the retry policy?

Thanks @ramya-rao-a!
One more issue I would like to pile on with this is the ability to add client request id in the new SDK. I looked around but could not find a way to include that in the SDK. In the older SDK, it was as simple as clientRequestId as one of the request options. I would appreciate if documentation can be updated to include a sample for that as well.
On a different note, is there a way I can contribute towards improving the documentation? I have been using SDK quite extensively and there are places where documentation needs more details.
For example, take a look at the SignedIdentifier. The documentation simply states that accessPolicy should be an object however it fails to describe the structure of that object.  When I used it, I found that the structure of this object should be something like the following:
{
  permissions: "<permission-string>",
  startsOn: Date/Time value or undefined,
  expiresOn: Date/Time value or undefined
}

I could possibly try and fix the documentation wherever it is possible.

@ramya-rao-a  the tracking issue for core documentation is here: https://github.com/Azure/azure-sdk-for-js/issues/10239
@gmantri We automatically set a client request id in this policy: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-http/src/policies/generateClientRequestIdPolicy.ts
If you really want to set your own header for this you could set a custom header with the correct name: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-http/src/operationOptions.ts#L31
The SignedIdentifier doc issue looks like something is broken in the docs pipeline, since the definition here looks similar to what you discovered: https://github.com/Azure/azure-sdk-for-js/blob/2f62ddae1f095d149a0c86181a834ac0933d5197/sdk/storage/storage-queue/src/QueueClient.ts#L183

Thanks @xirzec for replying. I am wondering if you can share a code sample for setting custom header. I looked up the link you shared but unfortunately still clueless as to how you would go about using it. I would really appreciate that.

@gmantri Storage libraries don't use OperationOptions from core-http. So customHeaders does not exist in their option types. However if you are using JavaScript, you can add it to the options object like below:
blobServiceClient.listContainers({
        customHeaders: {
          myheader: "my header value"
        }
      })

We also have a sample showing how to set the x-ms-client-request-id using a custom policy.

For retry please use StorageRetryOptions to customize the pipeline: https://github.com/Azure/azure-sdk-for-js/blob/5fa7f3f7606275b93dff18c2985c1cb9d3d708dd/sdk/storage/storage-queue/samples/typescript/src/customPipeline.ts#L26-L28

@gmantri Please let us know if you have any further questions.  We have tracked the doc issue of Object type in another system.

@jeremymeng Thank you for your help! I am all set.


Update Symbol task WIF changes

Task name:
Description:
Documentation changes required: (Y/N)
Added unit tests: (Y/N)
Attached related issue: (Y/N)
Checklist:

[ ] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

/azp run

/azp run

@DenisRumyantsev : Can you please verify this PR?

Adding @geekzter and @silviuandrica As they were added in previous PR which was abandoned.

/azp run


Jupyter Installation standard with SageMath

In linux, upon installation of SageMath, Jupyter Notebooks is immideatly available.  This should be noted in the Project, with additional instructions if the user has trouble with running the command sage -n jupyter.

instructions added to the jupyter-installation.md file to tell the user to try the sage -n jupyter  command or look for the SageMath Notebook icon before trying to install Jupyter Notebooks.


Support Docker

Now can run OpenVPN in Docker.

Sorry but this will never be merged.
There are multiple reasons which are deal breakers to me:

The goal of this project is exactly the opposite of a Docker container: to be able to run OpenVPN with zero overhead and unneeded dependencies in a humble system.
Anyone who wants an isolated container for OpenVPN, can run this script in LXC (which Docker is based on) and it will work perfectly.
The fact that this requires an external maintainer and that I know zero about him (you). Nothing personal of course, just that you are an anonymous guy from the internet to me.

There are also other reasons, but you get it, it's out of the scope of this project. If you insist in doing this, I suggest that you maintain a separate repository for Docker, but remember that lots of other people are already managing similar projects.


Allow passing children as properties.children

If properties.children exists use it as the node's children instead of the third argument.
Add section in readme to note this behavior.
Add tests to test that properties.children is used and that it is used over the third argument (if both are given).
Relevant IRC discussion:
11:30:36 AM <parshap> Raynos: what do you think of children being passed as props.children instead of the third argument in virtual-hyperscript? see https://gist.github.com/parshap/87997ec11e90c33296bf
11:32:07 AM <parshap> For me it's easier to modify the tree written this way than deal with weird indentation between the {} and [] when using the third argument
11:32:21 AM <parshap> But maybe there's a better indentation style that I haven't thought of?
11:40:34 AM <neonstalwart> parshap: you could easily write a very thin wrapper on virtual-hyperscript to do that for you if you find it better to write
11:42:10 AM <Raynos> parshap: https://gist.github.com/Raynos/ea4c2f493c33143bea00
11:42:23 AM <Raynos> Only I changed to 4 spaces I could read both
11:42:37 AM <Raynos> I'm open for this change. Patch welcome

lgtm.

Shit. This is not the source code.
@parshap please contribute to virtual-dom instead.


Don't work on grafana 9.1

Hi, i'm trying to use your plugin with the lastest version of grafana, but i don't see any flow chart only superposed values.

Any idea ?
Thanks

Hi @judzk ,
I do get the same error you have above when I try to use a random walk or time series data, but if I use non time series data in 9.1.x, it seems to work just fine.
Let me know if you have any other questions.
Thanks!
p.s. sorry for the super late reply!  I wasn't subscribed to updates for some reason!


Docker remote API [POST /images/(name)/tag] doesn't respect "tag" parameter

Description :

curl -X POST http://<IP_ADDRESS>:2375/images/busybox:v1/tag?repo=busybox&tag=v2

will give busbox a "latest" tag, instead of "v2". (Both "latest" and "2" don't exist before).
Steps to reproduce:

pull an image busybox:oldtag
Tag the image with newtag by sending http request :
curl -X POST http://<IP_ADDRESS>:2375/images/busybox:oldtag/tag?repo=busybox&tag=newtag
The busybox image now will be tagged as "latest" instead of newtag

Environment :
Virtualbox created by docker-machine
Docker version

Client:
 Version:      1.8.2
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   0a8c2e3
 Built:        Thu Sep 10 19:10:10 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.8.2
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   0a8c2e3
 Built:        Thu Sep 10 19:10:10 UTC 2015
 OS/Arch:      linux/amd64

Docker Info

Containers: 0
Images: 59
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 59
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.0.9-boot2docker
Operating System: Boot2Docker 1.8.1 (TCL 6.3); master : 7f12e95 - Thu Aug 13 03:24:56 UTC 2015
CPUs: 8
Total Memory: 1.955 GiB
Name: boot2docker
ID: H4PN:LTAM:RT5Z:HOPW:CTO3:SUWK:CL3X:KLFC:YE2K:RCP6:CL3B:EIUP
Debug mode (server): true
File Descriptors: 10
Goroutines: 16
System Time: 2015-09-25T19:37:51.064129509Z
EventsListeners: 0
Init SHA1:
Init Path: /usr/local/bin/docker
Docker Root Dir: /mnt/sda1/var/lib/docker
Username: imlkai
Registry: https://index.docker.io/v1/

uname -a

Darwin localhost 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

The ampersand '&' is getting caught by your shell. Quote the URL argument to CURL.

@MHBauer Thanks !


Remove .storybook/styles.css after fixing by storybook

we moved storybook to github.com/ubeac/svelte-storybook repo and we don't generate .storybook/styles.css anymore