Unable to start EMR studio workspaces

Description
After deploying EMR studio using the modules/studio terraform module, users are unable to start EMR studio workspaces
Versions

Module version [Required]: v1.0.0

Terraform version: 1.2.9

Provider version(s): hashicorp/aws 4.54.0

Reproduction Code [Required]
module "test_emr_studio" {
  source  = "terraform-aws-modules/emr/aws//modules/studio"
  version = "1.0.0"

  name                = "test-emr-studio"
  auth_mode           = "IAM"
  default_s3_location = "s3://sometestbucket/test-emr-studio"

  vpc_id     = <vpcid>
  subnet_ids = [<subnet_ids>]
}

Steps to reproduce the behavior:

Deploy EMR studio using the above code
Have an IAM user with only EMR studio privileges (no EC2:CreateNetworkInterface privileges) login to AWS
The user starts an idle workspace

Expected behavior
User able to start an idle workspace
Actual behavior
User unable to start an idle workspace
Cloudtrail shows Client.UnauthroizedOperation for CreateNetworkInterface
{
    "eventVersion": "1.08",
    "userIdentity": {
        "type": "AssumedRole",
        "principalId": "XXXXXXXXXXXXXX:ElasticMapReduceEditorsSession",
        <removed>
        },
        "invokedBy": "elasticmapreduce.amazonaws.com"
    },
    "eventTime": "2023-05-18T06:36:39Z",
    "eventSource": "ec2.amazonaws.com",
    "eventName": "CreateNetworkInterface",
    "awsRegion": "us-east-1",
    "sourceIPAddress": "elasticmapreduce.amazonaws.com",
    "userAgent": "elasticmapreduce.amazonaws.com",
    "errorCode": "Client.UnauthorizedOperation",
    "errorMessage": "You are not authorized to perform this operation. Encoded authorization failure message: <removed>",
    "requestParameters": {
        "subnetId": "subnet-XXXXXXXXXXXXXXXXXX,
        "description": "ENI for attaching editor e-XXXXXXXXXXXXXXXX",
        "groupSet": {
            "items": [
                {
                    "groupId": "sg-XXXXXXXXXXXXXXXX"
                }
            ]
        },
        "privateIpAddressesSet": {},
        "tagSpecificationSet": {
            "items": [
                {
                    "resourceType": "network-interface",
                    "tags": [
                        {
                            "key": "for-use-with-amazon-emr-managed-policies",
                            "value": "true"
                        }
                    ]
                }
            ]
        },
        "clientToken": "XXXXXXXXXX
    },
    "responseElements": null,
    "requestID": "XXXXX",
    "eventID": "XXXXXXXXX",
    "readOnly": false,
    "eventType": "AwsApiCall",
    "managementEvent": true,
    "recipientAccountId": "XXXXXXXXXXXX",
    "eventCategory": "Management"
}

Additional context
There are discrepancies between the service role policy provided by AWS in https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-studio-service-role.htm and the one in modules/studio/main.tf:data.aws_iam_policy_document.service

This issue has been resolved in version 1.1.0 :tada:


How to exclude jetton from monitoring transactions and only accept ton transactions

https://github.com/xssnick/tonutils-go/blob/master/example/accept-payments/main.go#L70

Hi, just ignore jetton amounts, remove this block https://github.com/xssnick/tonutils-go/blob/9db1a1391b6c8007f5d2e6ee812aeb55764c50c8/example/accept-payments/main.go#L77

Every transaction carries some amount of ton, you can consider only it


feat: Support Parquet modular encryption

Hi
The Java Iceberg implementation is adding support for using native Parquet modular encryption, which is being developed as part of version 3 of the Iceberg specification: https://github.com/orgs/apache/projects/393/views/1.
This encrypts data in Parquet files, but also requires encryption of manifests and manifest lists due to these containing potentially sensitive data like column statistics.
I'm currently working with @rok on adding support for Parquet modular encryption to arrow-rs in https://github.com/apache/arrow-rs/issues/3511, which would be a prerequisite for supporting Parquet encryption in iceberg-rust.
We're considering using Iceberg for a project but would need encryption support. Is there any plan already to follow the Java version and add encryption support, or is this something that would be likely to be accepted if we contributed it?

OK great, we're not sure what our plans are yet but I'll update here if we decide to start working on this.


How to contribute to this project?

Apologies for asking this kind of question in the issues section but I am helpless so wanted other developers to know what I am trying.
Can I contribute to this project with Salesforce Developer Edition?
I followed steps mentioned in this step! but not able to log into power of hub and then emailed<EMAIL_ADDRESS>and below is the response I received:

My apologies. Are you working on a pro bono project? I am only able to grant access to the Power of Us Hub to nonprofit and higher ed users and approved partners.

If we cannot contribute to this project with salesforce developer edition then how can I contribute? I am just wondering how the other developers are contributing? Do i need to be Employee of Salesforce??
Thanks

Hi @aleramesh - thank you so much for your interest in contributing to NPSP. I'm the Open Source Manager at Salesforce.org who works with contributors to our open source projects. May I ask specifically what you're interested in contributing? There is no requirement for Power of Us Hub access to contribute, and you can indeed use a standard Developer org. But I'd love to hear about what you're working on so we can be sure that you're connected with the right resources to guide and review even before your pull request. Thanks!


Document how to Build and Deploy

The README must be updated to demonstrate to users how to build and deploy the service.

Has there been any documents or quick help provided to get this going with Openwhisk and CouchDB?
I don't have a Cloudant db, is it still possible to use this?

@mimy2001 At the moment, CouchDB support is not tested, although some work has been done in #88 to make this possible. Cloudant is a superset of CouchDB, but I don't think we are using any of the Cloudant-specific features that are not in CouchDB. As such, I would think the work in #88 could be generalized to always use CouchDB - instead of switching between Cloudant/Couch based on a configuration flag as is proposed in #88
The trouble is that #88 has probably rotted a bit due to its age. Perhaps you can revive it?

@bjustin-ibm Thanks for showing #88 to me, I'll give that a try in my environment and see if it works.  Any reason why #88 was not merged into the main branch even though there was work done on it?

@mimy2001 I think the only reason it wasn't merged earlier was because it was a lower-priority item at the time, and we were scrambling to complete other features. Now that we have a user that has a use-case for it, the priority definitely goes up a few notches 😉
If you get it working, please open a PR and we'll work on getting it merged.

So I got the image up and working but when I tried to create a trigger, I ran into issues:
if (params.lifecycleEvent === 'CREATE') {
// makes a PUT request to create the trigger in the feed service provider
var putTrigger = function(validatedParams) {
var body = validatedParams;
            // params.endpoint may already include the protocol - if so,
            // strip it out
            var massagedAPIHost = params.endpoint.replace(/https?:\/\/(.*)/, "$1");
            body.triggerURL = 'https://' + process.env['__OW_API_KEY'] + "@" + massagedAPIHost + '/api/v1/namespaces/' + namespace + '/triggers/' + trigger;

            var options = {
                method: 'PUT',
                url: feedServiceURL,
                body: JSON.stringify(body),
                headers: {
                    'Content-Type': 'application/json',
                    'User-Agent': 'whisk'
                }
            };

            return doRequest(options);
        };

When the following code executes to doRequest, I'm getting a failure:
error { Error: socket hang up
2017-04-10T19:59:34.690359375Z stdout: at createHangUpError (_http_client.js:254:15)
2017-04-10T19:59:34.690380981Z stdout: at Socket.socketOnEnd (_http_client.js:346:23)
2017-04-10T19:59:34.690388747Z stdout: at emitNone (events.js:91:20)
2017-04-10T19:59:34.690395579Z stdout: at Socket.emit (events.js:185:7)
2017-04-10T19:59:34.690402333Z stdout: at endReadableNT (_stream_readable.js:974:12)
2017-04-10T19:59:34.690409207Z stdout: at _combinedTickCallback (internal/process/next_tick.js:74:11)
2017-04-10T19:59:34.690416213Z stdout: at process._tickCallback (internal/process/next_tick.js:98:9) code: 'ECONNRESET' }
I installed as : ./installKafka.sh cat ~/openwhisk/ansible/files/auth.whisk.system <IP_ADDRESS> <IP_ADDRESS> 9092 <IP_ADDRESS>
I have the ask action producing messages to kafka without problems. It's only the trigger that's not quite working now. Can you help me with this?

Please post the output of docker logs <kafka provider container>

lzhao@sclg205:~/openwhisk-package-kafka$ docker logs ow_kafka
INFO:root:check_ssl is True <type 'bool'>
[2017-04-10 20:28:11,926] [INFO] [??] [kafkatriggers] check_ssl is True <type 'bool'>
INFO:root:enable_generic_kafka is True <type 'bool'>
[2017-04-10 20:28:11,927] [INFO] [??] [kafkatriggers] enable_generic_kafka is True <type 'bool'>
INFO:root:Starting DB migration
[2017-04-10 20:28:11,927] [INFO] [??] [kafkatriggers] Starting DB migration
INFO:root:design doc already exists
[2017-04-10 20:28:11,981] [INFO] [??] [kafkatriggers] design doc already exists
INFO:root:Database migration complete
[2017-04-10 20:28:11,982] [INFO] [??] [kafkatriggers] Database migration complete
INFO:root:Fetching all triggers from DB
[2017-04-10 20:28:11,983] [INFO] [??] [kafkatriggers] Fetching all triggers from DB
INFO:root:[Doctor] The Doctor is in!
[2017-04-10 20:28:11,992] [INFO] [??] [kafkatriggers] [Doctor] The Doctor is in!
INFO:root:Successfully retrieved 0 triggers
[2017-04-10 20:28:12,029] [INFO] [??] [kafkatriggers] Successfully retrieved 0 triggers

@bjustin-ibm
so the kafka provider container, what port is it suppose to be running on? this would be the image I built from the Dockerfile right?

@bjustin-ibm I got it working

@mimy2001 Ok, that looks pretty good. The most likely issue is that the port number/forwarding is wrong. By default, the provider service will listen on port 5000. You can change this by passing a PORT environment variable when starting the container but really... it's not that important to change since this is running inside the container. The most important part is that when you run the container, you expose whatever port the service is running on through the container.  For example:
docker run -p 9092:5000 <image name>
This command isn't complete. I omitted other key env variables that you seem to have already figured out 😉  However, this tells the container to pass requests from port 9092 outside the container into port 5000 inside the container. Whatever you decide to chose for your externally-visible port should be the port number passed into installKafka.sh. You can quickly check if the port forwarding is correct by hitting (in this example) http://<IP_ADDRESS>:9092/health

@mimy2001 We have a public Slack team for all things OpenWhisk. It works a little better for this kind of back-and-forth conversation: http://slackindwo.mybluemix.net/

@bjustin-ibm ok thanks I've joined the slack channel.

Hi there, is there any hint on how to get the service running? I am new to Openwhisk and I am trying to use this package to communicate with Kafka.

@Sarah1024 Just to be clear, if you are using OpenWhisk on Bluemix, this feed is already available to you. However, if you are deploying your own OW, here is the very (very) short version of the build/deploy procedure for the Kafka feed provider:
Docker images are regularly published to Docker Hub with the latest stable tag currently being 1.0.18. You can start the service by running:
docker run -d -p 5000:5000 -e CLOUDANT_USER=<cloudant username> -e CLOUDANT_PASS=<cloudant password> openwhisk/kafkaProvider:1.0.18

Yes, this currently only works with Cloudant, but generic CouchDB support is likely coming. If you want to build your own docker image, you can certainly do that as well.
To install the actions, run:
./installKafka.sh <AUTH> <EDGEHOST> <KAFKA_TRIGGER_HOST> <KAFKA_TRIGGER_PORT> <APIHOST>

Where <AUTH> is your OW API key for installing system-wide actions/packages, <EDGEHOST> and <APIHOST> are the IP:port of your OW controller, <KAFKA_TRIGGER_HOST> is the IP of the machine running the above container, and <KAFKA_TRIGGER_PORT> is 5000 (unless you customize it in the docker run command above.
Or, if you are using Message Hub as your Kafka service, instead run ./installCatalog.sh with the same exact arguments.
I hope this helps. Please let me know if you have any issues or, better, join us on Slack: http://slackindwo.mybluemix.net/

In the above intructions. I request one calrification from you @bjustin-ibm  that if my local openwhisk setup is using a ephermeral couchdb. cn i still install create one  coundant instance in bluemix and provide that cloudant details in docker run -d -p 5000:5000 -e CLOUDANT_USER= -e CLOUDANT_PASS= openwhisk/kafkaProvider:1.0.18
and it will run?

@Katiyman I have not tested that scenario, but I can't think of any reason that wouldn't work. This is, however, a moot point now that CouchDB support has been merged into master via #160.

How would we deploy locally using CouchDB?

@Anuraag-Advani I have written a development guide and added it to #187. Please review that pull request and let me know if you encounter any issues.

I am running openwhisk locally and do not have whisk.system/messaging installed, after running install.sh I get kafkaFeed in the guest namespace, so when I run  wsk trigger create MyKafkaTrigger -f /whisk.system/messaging/kafkaFeed -p brokers "[\"mykafkahost:9092\", \"mykafkahost:9093\"]" -p topic mytopic -p isJSONData true
It fails as it tries to find kafkaFeedWeb in the whisk.messaging namespace

@Anuraag-Advani This is a problem that should be addressed by #181. Please verify that you have that change locally.

Yes I do

Can you verify that you are using the whisk.system auth key as the first argument to installKafka.sh?

Also, this conversation may go quicker if you join us on Slack: http://slackindwo.mybluemix.net/
😉

I think no, where is it located, I am using the the one in wskprops

Ok, I think the whisk.system auth key is required. There are parts of this that assume the actions will be installed in the whisk.system namespace.


added albatros library

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "master" git@github.com:dcylabs/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

@dcylabs Can you sign off your commit, using the instructions that @GordonTheTurtle gave above?

@thaJeztah Sure, just signed off

Thanks!
LGTM
ping @moxiegirl @SvenDowideit @jamtur01

LGTM


New rule: tag-req-attr

Pull request for https://github.com/htmllint/htmllint/issues/113
It's an optional rule to start with (default = false). There are some "must haves" on the web: html needs lang, img needs alt, ... but I don't think it's a good idea to "force" them. I believe we could add the previous "must haves" to a preset of some sort, but I didn't want to make it a forced list by default.
Configurable as such:
Rule: tag-req-attr
Configuration: object with key-value mapping. Key is the name of the tag (img, div, ...), value is an array of objects. Each object, within the array must contain at least 1 key-value pair, but it may contain 2.

First key-value pair is: Key = "name", value is the attributename.

Second key-value pair is: Key = "allowEmpty", value is true/false. Default = false (as in: may not be empty)

Example:
'tag-req-attr': { 	'img': [ 		{ 			'name': 'src' 		}, 		{ 			'name': 'alt', 			'allowEmpty': true 		} 	] }

Both img-req-alt and img-req-src are set by default, so combining them with this option would be nice. Inline configuration needs to handle object values for options better, though.


[Bug] Complete description not shown after creating a service

Steps to reproduce:

Go to https://nycservicefinder.live/services/create/
Create a listing
Add multiple description items with the same key but different values
Create Service

Current:
System accepts all the description items without flagging any error

System showing only one description item

Expected:
Info shown to the user specifying that the keys have to be unique (i dont think its mentioned in the doc either, please correct me if I am wrong)

Its technically a duplicated field and an expected behavior

Its technically a duplicate field and an expected behavior

But as a service provider, I was neither informed that duplicate keys are not allowed (on the UI) nor after clicking on 'Create Service' because it created the service without any errors. Dont you think the user has to be informed ?

Its technically a duplicate field and an expected behavior

But as a service provider, I was neither informed that duplicate keys are not allowed (on the UI) nor after clicking on 'Create Service' because it created the service without any errors. Dont you think the user has to be informed ?

If we are logically speaking here, a service provider would usually use different keys per item in a normal scenario. If they do, the system usually just picks one of the values to set, so it is the intended behavior. If you ask for this issue to be communicated to the user via the UI, this could be easily done with a simple HTML/CSS constraint. I would consider this an enhancement or suggestion rather than a bug @arsalananwar11

Its technically a duplicate field and an expected behavior

But as a service provider, I was neither informed that duplicate keys are not allowed (on the UI) nor after clicking on 'Create Service' because it created the service without any errors. Dont you think the user has to be informed ?

If we are logically speaking here, a service provider would usually use different keys per item in a normal scenario. If they do not (as in your scenario), the system usually just picks one of the values to set, so it is the intended behavior. If you ask for this issue to be communicated to the user via the UI, this could be easily done with a simple HTML/CSS constraint. I would consider this an enhancement or suggestion rather than a bug @arsalananwar11

I believe that any user provided information being discarded without user's knowledge is a bug which needs to be communicated. Also, what do you think is the definition of a bug? Thanks @KartikeySharma

@arsalananwar11 keeping this on topic, I understand your concern about user communication. While I see this as expected system behavior, I agree the UI could be enhanced to handle duplicate keys. We'll create a task to add a validation message as an improvement. Thanks for pointing this out! :)

@arsalananwar11 keeping this on topic, I understand your concern about user communication. While I see this as expected system behavior, I agree the UI could be enhanced to handle duplicate keys. We'll create a task to add a validation message as an improvement. Thanks for pointing this out! :)

Hey @omerfarukbasar, I think you got my concern wrong. My concern is with the user's data being deleted without the knowledge of the user. This is the reason why I think it is a bug! No where in your document have you specified that duplicate keys should not be entered, neither is it indicated to the user on the UI, which is why it is a fair game! I leave it to your best hands to take it forward and to the broader team including @gennadiycivil and @anthonynikhilreddy to make a call if its a bug.
All the very best! Looking forward to see this product taking its final shape!

@arsalananwar11 we are not denying what you found is a bug. We already established that we are going to address this. I see no point in prolonging this thread over semantics. Also, please refrain from bringing the TA and Professor into this over a trivial matter.

@arsalananwar11 we are not denying what you found is a bug. We already established that we are going to address this. I see no point in prolonging this thread over semantics. Also, please refrain from bringing the TA and Professor into this over a trivial matter.

@omerfarukbasar

I see misalignment in your team about what each member thinks about this. You think its a bug while Karthikey thinks its not (refer attached snippet) . Just to be clear, it is not bad to have issues (bugs/enhancements/whatever) in the application and I am not trying to put you in a spot. My job was to test as a part of the course and that is what I did.
I wanted to hear from professor about what can be classified as a bug and what issues as enhancements. We are all here to learn and hence, there's nothing wrong in taking the opinion of the professor and TA whose course I am taking. So nothing trivial, sorry!

FYI, I wouldn't be following this thread further. We can connect on slack if you need any other information on this issue! So feel free to send your message on slack (if any)!


Running at higher FPS than MaxTickRate drops events?

I'm running at 60 FPS but the default MaxTickRate is ony 30. This seems to cause server events to be dropped. I think the problem is that the events are only around for one Update cycle but the server system that requests them only runs half of the time.
I tried removing the in_set condition on the sending_system and that fixed it. I think that it was fixed because the system now runs on every Update cycle.

It is also fixed if I make the MaxTickRate 60 but that takes way more bandwidth I think?

Oh, right, It's a bug, I should switch to manual event cleanup.

It is also fixed if I make the MaxTickRate 60 but that takes way more bandwidth I think?

If your world changes more often - yes.

Could you try #31?

That works, yes!

Great, I will draft a new release this evening.


BA-69 - Remove unnecessary CWU element

Removed element entitled "Email to Receive Acceptance of Terms and Contract".  This field is no longer required.
BA-69 - Remove logic preventing publication
Removed logic test preventing publication when "Email to Receive Acceptance of Terms and Contract" field was empty.

Good point. I'll take a look.
On Tue, Sep 18, 2018, 2:22 PM Andrew Sutherland<EMAIL_ADDRESS>wrote:

@sutherlanda commented on this pull request.
I think this will break the functional tests unless we modify
OpportunitiesAdminCreatePage.groovy and remove references to this field.
Let me know if you want me to take a look.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/BCDevExchange/devex/pull/479#pullrequestreview-156575254,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEvpIPj8GSUI4FgTMAiqww_v8ohopgQhks5ucWQJgaJpZM4Wus_p
.


Self-Signed Certificate Trust?

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
I have local CA that is responsible for my local certificates. I do tests again local domains that are using my local certs. I already trust my local CA on the linux machine I'm running Uptime-Kuma on (debian).
I already tried adding the option for my CA trust inside the systemd file.
Selfsigned Certificates in Chain is still there :/
[Unit]
Description=Uptime-Kuma - A free and open source uptime monitoring solution
Documentation=https://github.com/louislam/uptime-kuma
After=network.target

[Service]
Type=simple
Restart=on-failure
User=root
WorkingDirectory=/opt/uptime-kuma
ExecStart=/usr/bin/npm run start-server --ssl-cert=/usr/local/share/ca-certificates/mylocalCA.crt

[Install]
WantedBy=multi-user.target

📝 Error Message(s) or Log
[DOWN] self signed certificate in certificate chain
🐻 Uptime-Kuma Version
1.23.11
💻 Operating System and Arch
Debian 12
🌐 Browser
Brave
🐋 Docker Version
no docker, Debian installation inside a LXC
🟩 NodeJS Version
16.20.2

Question is on how to setup this env variable with the systemd service => like it was done here in docker environment
https://github.com/louislam/uptime-kuma/issues/3506#issuecomment-1714933483

The systemd config file allows you to set environment variables by adding Environment="". (Stack Exchange post)

The systemd service config file allows you to set environment variables by adding Environment="".  Thank you very much, did the trick :)
And just in case someone else is looking for this, here the complete systemd service file.
Dont forget to do systemd daemon-reload after changing anything to the file.
[Unit]
Description=Uptime-Kuma - A free and open source uptime monitoring solution
Documentation=https://github.com/louislam/uptime-kuma
After=network.target
[Service]
Type=simple
Restart=on-failure
User=root
Environment="NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/myCAcertfile.crt"
WorkingDirectory=/opt/uptime-kuma
ExecStart=/usr/bin/npm run start-server
[Install]
WantedBy=multi-user.target


Webcam callback hooks execute exponentially (potential memory leak).

Seems to happen in either Chrome or FireFox and with either using on.('uploadComplete'), or upload(data, '/path/to/save', callback).
Essentially running snap 3 times will log
a1, b1, a2, b2, b3, a3, b4, b5, b6
instead of
a1, b1, a2, b2, a3, b3
var a = 1, b = 1;
Webcam.snap(function(data_uri, canvas, context) {
    console.log('a' + a++);
    Webcam.on('uploadComplete', function(code, text) {
        console.log('b' + b++);
    });
    Webcam.upload(data_uri, '/path/to/save');
});

or
Webcam.snap(function(data_uri, canvas, context) {
    console.log('a' + a++);
    Webcam.upload(data_uri, '/path/to/save', function(code, text) {
        console.log('b' + b++);
    });
});

Additionally tried calling Webcam.reset(); Webcam.attach(); in the callback with the same results.
Issue appears to be related to the Webcam.on and Webcam.dispatch methods, though appears as it is the desired functionality.
	on: function(name, callback) {
		// set callback hook
		name = name.replace(/^on/i, '').toLowerCase();
		if (!this.hooks[name]) this.hooks[name] = [];
		this.hooks[name].push( callback );
	},

Should be
    on: function(name, callback) {
        // set callback hook
        name = name.replace(/^on/i, '').toLowerCase();
        if (!this.hooks[name]) {
            this.hooks[name] = [];
            this.hooks[name].push(callback);
        }
    },

Or
  on: function(name, callback) {
        // set callback hook
        name = name.replace(/^on/i, '').toLowerCase();
        if (!this.hooks[name]) {
            this.hooks[name] = callback;
        }
    },

Then change off and dispatch to reflect the change.
Or to keep appending to the hooks array for General Usage, documents should note the usage of .on and .off for expected results.
Webcam.snap(function(data_uri, canvas, context) {
    console.log('a' + a++);
    var callback = function(code, text){
        console.log('b' + b++);
        Webcam.off('uploadComplete', callback);
    };
    Webcam.upload(data_uri, '/path/to/save', callback);
});

This is as designed behavior.  Each call to on() is supposed to append the handler to an array, so multiple listeners can listen in on the same event.  Your example which uses off() is correct usage.  I will update the docs to explain this behavior.  Thanks for the detailed bug report!

Ah ha, you're absolutely right regarding passing an inline callback to Webcam.upload().  This totally accumulates the callback onto the event array, which is a bad situation, and not intended.  I just fixed this one, and updated the README as well:
https://github.com/jhuckaby/webcamjs/commit/5f91ae0b380ae4193cbd7868a9c927e7d77249c2
The usage of on() and off() is as designed, however, and I added an explanation of that behavior in the docs.
Thanks for pointing this out!


SimplePortal.js using Hooks

SimplePortal example using Hooks

[ x ] I have followed (at least) the PR section of the contributing guide.

@ralvs Wrong target, we are working on the next branch. Could you rebase your work? Also, notice that there is no more .hooks.js files. It's all hooks now.

@ralvs Let us know if you need any help.

@ralvs Let us know if you need any help.

@oliviertassinari This is my first PR ever. Sorry any mess I could cause.
I just rewrite the file SimplePortal.js example using hooks and submit this PR, all from github page. And follow your instructions from first comment

@ralvs No problem, at all :)


Can one machine monitor multiple PHP applications?

Can one machine monitor multiple PHP applications?

@lpvus
It can't now, but we are trying to realize it.


💅 named import type prefix not being parsed the same as import default type

Environment information
CLI:
  Version:                      1.6.4
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v21.7.1"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "npm/10.5.0"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    true
  VCS disabled:                 true

Linter:
  Recommended:                  true
  All:                          false
  Rules:                        style/noNonNullAssertion = "off"

Workspace:
  Open Documents:               0

Rule name
lint/style/useImportType
Playground link
https://biomejs.dev/playground/?code=aQBtAHAAbwByAHQAIAB7ACAAdAB5AHAAZQAgAE0AeQBUAHkAcABlACAAfQAgAGYAcgBvAG0AIAAiAC4ALwBmAG8AbwAiADsACgAKAGMAbwBuAHMAdAAgAHQAOgAgAE0AeQBUAHkAcABlACAAPQAgACIAdAByAHUAZQAiADsA
Expected result
import type { MyType } from "foo";

should be the same as:
import { type MyType } from "foo";

however the latter isn’t recognized by Biome. I prefer the latter, because:

It’s less diff noise if you do have to add or remove a runtime import, and
often, VS Code’s Tab import will make a net-new import statement if there’s an import type (not always; I haven’t figured out what causes it, but it overall seems to do a better job with import { type … } 🤷

Do you agree? If those should be parsed the same, happy to assist with a PR 🙂
Code of Conduct

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

They aren't the same, unfortunately.
With a specific set of TypeScript options, the second will emit JavaScript that will fail at runtime: https://www.typescriptlang.org/play?isolatedModules=true&verbatimModuleSyntax=true&allowSyntheticDefaultImports=true#code/JYWwDg9gTgLgBAbzjAnmApnAsigKmzAXzgDMoIQ4AiEiCKgbgCgg
Since Biome can't understand the tsconfig, we opted for the safest route.

Also, I'm not what you mean by parsed... Both syntax are parsed and analyzed correctly

Oh my mistake! I was making assumptions, since I got the same lint error whether { type MyType } or { MyType } so I thought it just was ignoring type but perhaps not. If it’s an intentional decision that makes more sense.

Since Biome can't understand the tsconfig, we opted for the safest route.

Ah I didn’t realize! That makes sense. What are your thoughts on just letting the user configure that? For ESLint’s consistent-type-imports rule, for example, the user can specify whether they prefer the default import type, vs inline import { type … }. That way the decision is on the user, not parsing the tsconfig correctly. Would a configurable option make sense here?

This is intended. Citing the rule description:

The rule ensures that all imports used only as a type use a type-only import. It also groups inline type imports into a grouped import type.

The idea behind this behavior is to avoid emitting empty imports such as import {} from "mod". This can lead to runtime error (trying to import a module that doesn't exist) when using a bundler.

Ah I didn’t realize! That makes sense. What are your thoughts on just letting the user configure that? For ESLint’s consistent-type-imports rule, for example, the user can specify whether they prefer the default import type, vs inline import { type … }. That way the decision is on the user, not parsing the tsconfig correctly. Would a configurable option make sense here?

Why do you need this?

Thanks for the explanation! Actually you’re right; this is working as-intended! Closing because this is working correctly. Thank you!
Extra explanation
I think the error messages was what was tripping me up, trying to migrate an existing app with all sorts of inconsistent imports (that ESLint’s consistent-type-imports ironically wasn’t catching, or I hadn’t configured it correctly), and kudos to Biome for correctly flagging issues I didn’t even know existed! But 2 the error messages from lint/style/useImportType, and their intended fix, were tripping me up:

All these imports are only used as types → You should use import type …
Some named imports are only used as types → Some named imports are missing the type prefix

Scanning all the error output quickly, I was accidentally reading those as the same error message, and I incorrectly thought Biome was trying to get me to double-up an import type along with a runtime import, when really Biome was just going to either use import type or type named prefix correctly, depending on the situation (I also could have just autofixed it and never seen these, but I was curious what code Biome was suggesting to change, and why).
I’m not suggesting the short descriptions should change; this may just have been my own confusion. Thanks again to the whole Biome team for an amazing tool! I’m so excited to move off ESLint 🙂.

that ESLint’s consistent-type-imports ironically wasn’t catching, or I hadn’t configured it correctly

consistent-type-imports miss many things. This is why I didn't follow naively their implementation.

Scanning all the error output quickly, I was initially confusing those 2 problems

Thanks for your detailed explanation. This is the kind of comments that allows improving Biome!
Feel free to open a PR to improve it. Otherwise, I will take a look when I find some time.

Feel free to open a PR to improve it.

Thanks! I’m not sure if it would be helpful to change Some named imports are only used as types. to something like Some named imports are missing the `type` prefix just yet; will have a think on it (there are other error messages that are similarly-formatted like The default import and some named imports are only used as types. which are all cohesive as-written)
But maybe as a start I could update the use-import-type.md docs with some more “valid” and “invalid” examples. Will open a PR but feel 100% free to suggest changes and/or revisions!


Updated the path to extract the downloaded Vagrant box images in the correct place

@samuelson Is this correct? I don't know that script well enough to confidently review.

yes, looking at the code above, it downloads to that directory.  .box files don't contain any directories so you need to untar them where you want the files.


Create a mission statement for Apinf

Related to #104, write a mission statement describing the Apinf project and product.
Definition of done

[ ] Hackpad document containing mission statement.
[ ] Updated descriptions in Facebook and Twitter accounts.

We decided to create two separate statements. One short one, more like slogan. The other one with two sentences, more like description.
Proposals:

Building a bridge between API developers and API owners.

-Bringing API owners and developers under the same roof.
-Connecting API owners and developers.
-We want to enable easy discovery and use of API's.
-We help organizations open, manage and monitor their APIs. We enable developers to discover and use APIs easily.
-We help organizations and individual developers to open, manage, discover and use  API's easily.

+1


Fix format:uncompressed only leaving one directory uncompressed

Description
The format:uncompressed property was being removed after the first directory was added to artifacts
Types of changes

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

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

I think this is insufficient. There are arbitrary properties you can pass into the compression (I believe) and these need to be passed without the uncompressed property (most likely).
I think I would just feel better seeing a test around this, which can be a step or two in the general tests buildrunner file


Added docker-sync integration files and updated the README

@paales I hope it can help you!

Run into a few issues to get this working for testing

Couldn't install docker-sync with supplied commands due to to insufficient rights, actually needed gem install --user-install docker-sync

possibly because client and server have been compiled with different versions of the OCaml compiler.``` when running docker-sync, no files are being synced

Unsure what user specific settings should be entered in docker-sync.yml (might be the cause of above error)

My other issues with syncing:

We have had a lot of issues in the past with syncing and Magento. From experience I remember that we had a lot of mismatched syncing issues where manual interference was necessary to select the right file to save.
Would be nice if the syncing command could be included in docker-compose somehow.

Startup with docker-sync:

Startup with mutagen:

In my example container I need to transfer 9GB of data from the box to the container. This takes a long time and lots of CPU, the whole system slows down to a crawl.
We are currently syncing because nginx needs to serve a few javascript/css or image files.. We aren't syncing because we need blazing fast disk access. Because of this we can actually move to a network-only system that doesn't sync anything.
Startup with NFS:

NFS is pretty fast, more than fast enough for serving the static assets
NFS doesn't duplicate the disk space
NFS is native on OSX
NFS is supported in Docker

We don't need any additional tools to actually use it.

Might be a bit offtopic (or side topic), but related with the ease of setup of NFS: what would be a good guide to set NFS up?
Since Docker Enterprise has been bought it seems that some links don't work (such as the one in the README).
Using Google's cache I can get to:
https://webcache.googleusercontent.com/search?q=cache:WkznWBeWbjYJ:https://docs.docker.com/ee/dtr/admin/configure/external-storage/nfs/+&cd=1&hl=en&ct=clnk&gl=nl&client=firefox-b-d
And the docker NFS page redirects now to https://docs.mirantis.com/docker-enterprise/v3.0/dockeree-products/dtr.html, but there's no mention to NFS in that page, only DTR. It's a bit confusing.

@cesarb1392 @zetxek I've implemented the nfs integration for the nginx container which should solve the sync issues. I'm closing this issue. If the sync issues aren't solved with this we'll reevaluate.

Great @paales  - in the end if the performance is good, and there's less software to install... it's better!


[Feature Request] All unhandled events

Hey Paolo
I'd love to do a kind of pipe to another EventEmitter for all events that haven't been handled by my component.
The API I have in mind is the following:
server.on('foo.*', function(value1, value2) {
  console.log(this.event, value1, value2);
}).on('bar.baz', function(value1, value2) {
  console.log(this.event, value1, value2);
}).unhandled(function(value1, value2) {
  // Any event not in 'foo.*' or 'bar.baz':
  console.log(this.event, value1, value2);
});

unhandled could be onOther or whatever else fits into the EventEmitter style.
What do you think, could this be low-level enough to be useful for everyone else?

You can listen on "all" events using onAny, should be easy enough to make a wrapper or utility to enable this functionality. Also, adding state to the result of on doesn't seem like it'd be good for performance.


feat: add support for different higlight groups

This will allow the user to change the text color to any highlight group they want

Hey @ChristianChiarulli ! Thanks for the PR!
But I feel reluctant to add this feature to nvim-gps. I want to keep this plugin minimalistic and not do anything other than just provide context information. I pretty sure that there will be new plugins that come up for customizing winbar and they will provide these functionality of setting colors just like statusline plugins do. Let me know your thoughts.

Sure, I don't mind maintaining my fork for now. Feel free to close this unless you change your mind.


Compatibility with Django 2.0

We need to add the now required on_delete attribute to the user ForeignKey in the BaseAPIRequestLog.

Note: To get the old behavior (when using on_delete was allowed) we should use on_delete=models.CASCADE

It is actually already a warning in 1.11
Let's do a PR for that :)

@triat Any other compatibility issues for Django 2.0 that we should address?

I made the pull request for "bool" object is not callable... https://github.com/aschn/drf-tracking/pull/99

@luvpreetsingh You can try install the latest from source

Thank you!


finding out the stride of the model

Hello, I would like to use a model's codebook to label a dataset of audio files by chunks. The first problem I am encountering is to find out the actual stride of the model, that is how much of the audio it can label for one entry. SO I tryed the following: first I tryed, on the 24khz model, to divide model.hop_length/24000, and the result is 0.013333333333333334(which should be a value in seconds), but it doesn't make that much sense as it's not that close to an int. So then I tryed labeling an audio 79.55990929705216 seconds long. In the resultin class, chunk_length is 72, so I tryed dividing the number of resulting representations (result.codes.shape[-1]) which is 8928 by 72, and the result is 124.0. Then, trying to divide the total length in seconds by this value, I obtain 0.6416121717504206(seconds) which is not even close to my first value, even trying to adjust the numbers to account for some sort of padding. This might be a stupid question but I think it's worth asking to save me and everyone else some time as I'm quite lost, I also tryed taking a look through the very clear source code and paper but I think I'm missing something very obvious. Thanks! P.S, if it's necessary please try to include verbal explanations of the images you might want to include in your comments as I am totally blind.

I believe this is what you want: https://github.com/descriptinc/descript-audio-codec/blob/main/dac/model/base.py#L206
I took a file that was 44khz and ~1668.9 seconds.
The win_duration (window size) is 5, so it's scanning over every five seconds, but they make some corrections to that, so the hop = 204650 and the n_samples = 220672.
The full number of samples nt =~ 44100 * 1668.9 =~ 73599023.
The codes returned have shape [nc, 9, 149760] = [nc, 9, 416 * 360] = [nc, 9, 416 * nt / hop].
In other words, every set of [nc, 9, 416] codes represents win_duration = 5 seconds, which would lead me to suspect that each of the [nc, 9] codes represents 5 / 416 = ~.012 seconds. This is reinforced by it being described as having a T[ime] dimension on the end in the codebase. Given that this comes from a convolutional encoder (https://github.com/descriptinc/descript-audio-codec/blob/main/dac/model/dac.py#L64C4-L64C4), this seems to be about right to me.


Google auth doesn't allow switching accounts

On current master, if you login with one Google account, and then log out, and then click the "sign in with Google" button, it doesn't present a picker for which Google account to use -- it just logs you in with the same Google account you used originally.

New AppAuth for google sign in has it's PR here https://github.com/zulip/zulip-android/pull/70 will check for this bug once new API's get's merged in.

@kunall17 I think this bug is still open.

So you mean once we log in using one ID, it doesn't show the account picker anymore right?

right


Remove version: 8x8.VirtualOfficeDesktop version <IP_ADDRESS>

Consolidating into 8x8.Work. Related to: #135119
Microsoft Reviewers: Open in CodeFlow

URL: https://vod-updates.8x8.com/ga/work-64-msi-v7.22.3-4.msi
Status Code: 200
(Automated message - build 656)


[WIP] Standardizing exercise names #344

This is a first pass

This looks good to me.

Cool,
I want to do a second pass to make sure #344 really is fixed/imports make sense, and then write some more documentation in Contributions before I merge.


Coverity Scan not work

https://travis-ci.org/srz-zumix/iutest/jobs/416613146

Running Coverity Scan Analysis Tool...
[WARNING] Template config template-ld-config-0 already exists for ld and will be reused.
Generated coverity_config.xml at location /tmp/coverity-scan-analysis/cov-analysis-linux64-2017.07/config/coverity_config.xml
Successfully generated configuration for the compilers: g++-3-8 g++-4-8 g++-8 gcc-3-8 gcc-4-8 gcc-8
Coverity Build Capture (64-bit) version 2017.07 on Linux 4.4.0-112-generic x86_64
Internal version numbers: c7e331b562 p-milo-push-30112.651
g++-8 -I../include -g -Wall -Wextra   -std=c++1z  -Werror -Wno-missing-field-initializers -o all_tests main.cpp assertion_tests.cpp basic_tests.cpp combine_tests.cpp compatibility_tests.cpp filepath_tests.cpp fixture_tests.cpp floatingpoint_tests.cpp no_failure_tests.cpp nullptr_tests.cpp param_test_tests1.cpp param_test_tests2.cpp pred_tests.cpp prod_tests1.cpp prod_tests2.cpp spi_tests.cpp static_assertion_tests.cpp string_assertion_tests.cpp syntax_tests.cpp syntax_gtest_tests.cpp type_param_tests1.cpp type_param_tests2.cpp type_param_tests3.cpp typed_test_tests.cpp values_tests.cpp
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received
The build has been terminated

10min ログが出力されなかったので、タイムアウト。
gcc version を上げたのが影響した？

gcc-7 を使うように戻した

ジョブは成功してたけど、レポート送信できてなかった


Component/Page: Login Form/Page

Do we want this to be a separate page or modal that can open on any page?

Page is made but needs to be styled and functionality added


Merge from vscode aa71228026fd4c030b36b46ba7705db78730bc44

This PR fixes #

Closing this since we need to make a new one after I get my merge in


Next js deploy error [AccessDenied]

Region=ap-south-1
Id=d3rx4fur1b76fm
2021-05-23T11:46:38.872Z [INFO]: Done in 24.98s.
2021-05-23T11:46:38.876Z [INFO]: Starting SSR Build...
2021-05-23T11:47:56.230Z [INFO]: AccessDenied

I am trying to deploy a starter next js app which I just created and added amplify I get the above error. Everything else deployed perfectly. Even it built successfully. But I get the above error. I have followed all steps as per this https://aws.amazon.com/blogs/mobile/host-a-next-js-ssr-app-with-real-time-data-on-aws-amplify/
I have double checked the IAM role too its perfectly set up with full permission. I think its an issue with configuring cloudfront probably ?
Any clues ?
Originally posted by @sudarshann in https://github.com/aws-amplify/amplify-console/issues/412#issuecomment-846551092

Hi @sudarshann, you mentioned that you have the IAM role setup. Can you confirm this is the service role. Also, how many CloudFront distributions  in your account have Lambda@Edge distributions attached. There is a limit documented here.
https://docs.aws.amazon.com/amplify/latest/userguide/server-side-rendering-amplify.html#troubleshooting-ssr-deployment
CloudFront service quotas limit your AWS account to 25 distributions with attached Lambda@Edge functions. If you exceed this quota, you can either delete any unused CloudFront distributions from your account or request a quota increase. For more information, see Requesting a quota increase in the Service Quotas User Guide.

I have no cloudfront services created across my entire account across all regions

Any updates on this? I got the same message too.
2021-06-05T01:10:51.872Z [INFO]: Starting SSR Build...
2021-06-05T01:11:45.333Z [INFO]: AccessDenied

same error too

i am facing the same issue my app id = d3dh32c6fp1s0y

Hi all, we've recently made improvements to our SSR error logging and have added support for Next.js 10/11.
Please follow this guide to upgrade to our latest support of Next.js: https://docs.aws.amazon.com/amplify/latest/userguide/server-side-rendering-amplify.html#update-app-nextjs-version

hi @Athena96 i am still getting AccessDenied while starting my SSR Build..Can you please help me on this. my app id =d3dh32c6fp1s0y and region=eu-central-1.

Any updates on this? I am running into this too.

@timclark97 can you try this: https://github.com/aws-amplify/amplify-console/blob/master/FAQ.md#error-accessdenied-access-denied

@swaminator I changed the app to SSG so it is working now. Prior to doing that though, I followed this tutorial to create an IAM role with the AdministratorAccess-Amplify policy, which I assume had all the permissions listed in that FAQ you shared. Does that policy not have all the necessary permissions?

@timclark97 the AdministratorAccess-Amplify policy is useful for creating your backend environments via the Amplify CLI. But with SSR apps we create a CloudFront distribution, an S3 bucket and Lambda@Edge functions in your account without using CloudFormation, which is why that policy doesn't work.
We are working on making this experience with IAM permissions and SSR apps smoother. In the meantime, I recommend to create your own policy with these permissions if you need to deploy an SSR app again: https://github.com/aws-amplify/amplify-console/blob/master/FAQ.md#error-accessdenied-access-denied.

I using Nextjs SSR, but the deployment always failed, with Access Denied error

I already create a new policy named: Amplify-additional-policy as below, which I follow this, literally copy and paste from here: https://github.com/aws-amplify/amplify-console/blob/main/FAQ.md#error-accessdenied-access-denied

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "lambda:CreateFunction",
                "iam:UpdateAssumeRolePolicy",
                "lambda:TagResource",
                "cloudfront:ListFieldLevelEncryptionConfigs",
                "iam:CreateRole",
                "s3:CreateBucket",
                "iam:AttachRolePolicy",
                "lambda:GetFunctionConfiguration",
                "iam:PutRolePolicy",
                "route53:ListHostedZonesByName",
                "cloudfront:CreateInvalidation",
                "lambda:EnableReplication",
                "cloudfront:GetDistribution",
                "acm:RequestCertificate",
                "route53:ListResourceRecordSets",
                "lambda:DeleteFunction",
                "cloudfront:GetDistributionConfig",
                "amplify:GetApp",
                "iam:GetRole",
                "cloudfront:TagResource",
                "route53:ChangeResourceRecordSets",
                "sqs:GetQueueAttributes",
                "lambda:UpdateFunctionCode",
                "s3:PutObject",
                "s3:GetObject",
                "acm:DescribeCertificate",
                "cloudfront:ListTagsForResource",
                "cloudfront:ListInvalidations",
                "lambda:ListEventSourceMappings",
                "sqs:DeleteQueue",
                "lambda:PublishVersion",
                "cloudfront:ListDistributionsByWebACLId",
                "cloudfront:ListCloudFrontOriginAccessIdentities",
                "s3:GetBucketTagging",
                "s3:PutAccelerateConfiguration",
                "s3:ListBucket",
                "s3:GetAccelerateConfiguration",
                "lambda:CreateEventSourceMapping",
                "lambda:UntagResource",
                "cloudfront:CreateCloudFrontOriginAccessIdentity",
                "amplify:GetBranch",
                "iam:PassRole",
                "lambda:ListTags",
                "s3:PutBucketTagging",
                "iam:DeleteRolePolicy",
                "acm:ListCertificates",
                "cloudfront:UpdateDistribution",
                "sqs:SetQueueAttributes",
                "amplify:UpdateApp",
                "cloudfront:UntagResource",
                "lambda:GetFunction",
                "cloudfront:ListDistributionsByLambdaFunction",
                "lambda:UpdateFunctionConfiguration",
                "amplify:UpdateBranch",
                "cloudfront:CreateDistribution",
                "cloudfront:ListPublicKeys",
                "iam:CreateServiceLinkedRole",
                "cloudfront:ListDistributions",
                "cloudfront:ListFieldLevelEncryptionProfiles",
                "s3:PutBucketPolicy",
                "sqs:CreateQueue",
                "cloudfront:ListStreamingDistributions"
            ],
            "Resource": "*"
        }
    ]
}

Then I attached this newly created policy into the role. So the role look like this:

New Role Name: amplifyconsole-backend-role1
Attached policies: Amplify-additional-policy and also AdministratorAccess-Amplify

Build the stuff then get the following error

2021-12-22T15:33:14.842Z [INFO]: Done in 97.04s.
2021-12-22T15:33:14.846Z [INFO]: Starting SSR Build...
2021-12-22T15:37:55.449Z [ERROR]: AccessDenied: Access Denied
                                  at Request.extractError (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/services/s3.js:699:35)
                                  at Request.callListeners (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
                                  at Request.emit (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
                                  at Request.emit (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/request.js:686:14)
                                  at Request.transition (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/request.js:22:10)
                                  at AcceptorStateMachine.runTo (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/state_machine.js:14:12)
                                  at /root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/state_machine.js:26:10
                                  at Request.<anonymous> (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/request.js:38:9)
                                  at Request.<anonymous> (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/request.js:688:12)
                                  at Request.callListeners (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/sequential_executor.js:116:18)
                                  at Request.emit (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
                                  at Request.emit (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/request.js:686:14)
                                  at Request.transition (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/request.js:22:10)
                                  at AcceptorStateMachine.runTo (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/state_machine.js:14:12)
                                  at /root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/state_machine.js:26:10
                                  at Request.<anonymous> (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/request.js:38:9)
                                  at Request.<anonymous> (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/request.js:688:12)
                                  at Request.callListeners (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/sequential_executor.js:116:18)
                                  at callNextListener (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/sequential_executor.js:96:12)
                                  at IncomingMessage.onEnd (/root/.//node_modules/@sls-next/aws-s3/node_modules/aws-sdk/lib/event_listeners.js:335:13)
                                  at IncomingMessage.emit (events.js:412:35)
                                  at IncomingMessage.emit (domain.js:475:12)
                                  at endReadableNT (internal/streams/readable.js:1334:12)
                                  at processTicksAndRejections (internal/process/task_queues.js:82:21) {
                                  code: 'AccessDenied',
                                  region: null,
                                  time: 2021-12-22T15:37:55.189Z,
                                  requestId: '7YG3Y9H22YZY92YZ',
                                  extendedRequestId: 'e61XrGC0bWdFvy7vBWuTZh+yQvKjcdi2aih58fKSrh3xG1t75R5CzV/XuZqomjv72CJUiVOAxqc=',
                                  cfId: undefined,
                                  statusCode: 403,
                                  retryable: false,
                                  retryDelay: 45.0836004027408
                                  }
Terminating logging...

My code is able to build in local and also the build logs shown my code is done being built. Just when deploy it keep ACCESS DENIED. I even add AdministratorAccess policy into the role, but still the same.
The very funny part is, before this, I have deploy Nextjs endless of time using the same role, different project, all successfully deployed, but TODAY, it have this error, I dont know why.
Can anybody tell me why it is still Access denied even though I already attached the policy stated here https://github.com/aws-amplify/amplify-console/blob/main/FAQ.md#error-accessdenied-access-denied? This is VERY PAINFUL, cause it happened suddenly

@timclark97 can you try this: https://github.com/aws-amplify/amplify-console/blob/master/FAQ.md#error-accessdenied-access-denied

Already try this sir, I even detached AdministratorAccess to the role, but still not success

I think found the root cause, which is this https://github.com/aws-amplify/amplify-console/issues/2086#issuecomment-932103935.
The problem is my account cannot enable  Transfer Acceleration at all for ANY BUCKET. Even a newly created bucket in S3 console, also cannot enabled that, having the same ACCESS Denied error in S3 console. Therefore the SSR deployment always cannot deploy to CloudFront although the service role having AdminstratorAccess.
So the question now is, where to get help to solve this? How to solve this? What should I do?

I think found the root cause, which is this #2086 (comment).
The problem is my account cannot enable Transfer Acceleration at all for ANY BUCKET. Even a newly created bucket in S3 console, also cannot enabled that, having the same ACCESS Denied error in S3 console. Therefore the SSR deployment always cannot deploy to CloudFront although the service role having AdminstratorAccess.
So the question now is, where to get help to solve this? How to solve this? What should I do? Can I disable the transfer acceleration thing?

Ok, for anyone who experience this, fastest way to solve this is:  Deploy your app into a new AWS account

I've just created my new AWS account and followed exactly what is suggested above with no luck. I use the recommended permissions and attached the new created policy to the role. Hi @ferdingler, could you please help us to check this issue?

Same here. I followed every step in Amplify Studio.
When I deploy... permission denied.
AccessDenied
Access Denied

Same Issue; ACCESS DENIED during FrontEnd Stage build

Same Issue; ACCESS DENIED during FrontEnd Stage build
If your build works locally but fails on Amplify, you probably need to try it on a new account. That was my final solution.
Sucks especially when you're hosting an app suite under one account.
In my case i tried different policies and roles and also used the policy in the troubleshoot. Also; Tried changing the regions, Tried changing basedirectory, Tried Full Admin privileges for s3, tried to rework the transfer Acceleration but some things are not fully accessible for free Tier such as that and Support.

I suspect that if one has another installation on the account such as a separate private VPS instance like LightSail or such, its rules might affect other installations on the same account. In that case, this is an internal problem. I had to escalate to support.

Same Issue; ACCESS DENIED during FrontEnd Stage build

If your build works locally but fails on Amplify, you probably need to try it on a new account. That was my final solution.
Sucks especially when you're hosting an app suite under one account.
In my case i tried different policies and roles and also used the policy in the troubleshoot. Also, Tried changing the regions, Tried changing basedirectory, Tried Full Admin privileges for s3, tried to rework the transfer Acceleration but some things are not fully accessible for free Tier such as that and Support.
I suspect that if one has another installation on the account such as a separate private VPS instance like LightSail or such, its rules might affect other installations on the same account. In that case, this is an internal problem. I had to escalate to support.

Hi, this issue happens only for AWS accounts that were created recently, as it turns out that S3 transfer acceleration takes a while to be available for a new account to prevent abuse of the feature. While we figure out a solution, please contact AWS Support and ask them to enable S3 Transfer Acceleration for you.

I want to share my experience as well, since nothing worked for me until an AWS assistance guy helped me.
Basically I was using a different pair of AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in my .env file.
Since I was not setting them by the Amplify Console, they passed their checks (you cannot use AWS_ keys as env vars).
Since my pair of keys had only some specific permissions, these keys of mine were replacing the ones set by Amplify in order to deploy the application (because amplify environment to deploy and the nextjs app share it).
To fix I only had to rename my keys in my .env file to something else, and it worked as a charm!
I'm using node 14.18.1 and next 12.1.6 btw.


P4: Remove text in top left of RightOn Central

The text in the top left (in this case, Teacher/ExploreChromebook) was intended only to be a label on the mockups and not supposed to be displayed in the actual website.

Two other adjustments to make to the top bar. For the Explore tab, the actual "Explore" text should move a few pixels to the right of the explore icon to even out the spacing, and the Explore tab should switch to the same shade of grey as the Game Maker tab when it is deselected. At the moment it stays white regardless of if it is selected or not.


The implementation of "looping until connected" and problem with esp_wifi_connect() function return  (IDFGH-3719)

I want to implement a general WiFi code call it as a function and make the board waiting untile connected to WiFi. I have implemented it but the problem is the work one time.
I have put  "esp_wifi_connect()" function in while loop until return ESP_OK (that what I think) after "SYSTEM_EVENT_STA_START" event, but I see that this function return ESP_OK even the board not connected to the wifi !! so what is ESP_OK means and what the condition that helps me to implement this idea?
The code of the loop part:
...
esp_err_t err;
do{
err = esp_wifi_connect();
} while(err != ESP_OK);
...
I have looked here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/network/esp_wifi.html?highlight=esp_wifi_connect#_CPPv416esp_wifi_connectv

Hi @walidamriou, esp_wifi_connect function is a non-blocking function, it doesn't wait until the connection is established. Wi-Fi driver communicates connection status using WIFI_EVENT_STA_CONNECTED event: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/wifi.html#wifi-event-sta-connected.
Please have a look at https://github.com/espressif/esp-idf/blob/master/examples/wifi/getting_started/station/main/station_example_main.c example. If you aren't using the master branch, check the version of this example in your copy of IDF. The example doesn't check for WIFI_EVENT_STA_CONNECTED (it waits until the IP address is obtained), but the handling of WIFI_EVENT_STA_CONNECTED is very similar to what is shown in the example.

Hi @walidamriou, does @igrr's explanation solve your issue?

Hi @liuzfesp I didn't try it yet

@walidamriou Thanks for reporting, would you please help try and share some updates? Thanks.

@walidamriou Thanks for reporting, would you please help share if any updates for this issue? Thanks.

@Alvin1Zhang I will come back to it in the future, after complete the current tasks.

@walidamriou Thanks for sharing the updates.

@walidamriou Thanks for reporting, would you please help share if any updates for this issue? Thanks.


[modify] cms site import: invalid remove_files_recursively

(cherry picked from commit 1c4ec6bddccacf4d18b3d46cfe8c73f6fe22cc3d)

Coverage decreased (-2.3%) to 82.386% when pulling<PHONE_NUMBER>52f5a9aa03e4638eb257bcdcc91111 on fix-site-import-uploader-file into cbd53b1b789f4d0c9afcc8df0aacc8cd0520ec6c on master.


[mediamatters] Add support for mediamatters embeds

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.06.05. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.06.05

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v http://www.theblaze.com/news/2017/06/09/nra-host-calls-out-kim-kardashians-mental-illnesses-over-gun-control-rant/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'http://www.theblaze.com/news/2017/06/09/nra-host-calls-out-kim-kardashians-mental-illnesses-over-gun-control-rant/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.06.05
[debug] Python version 2.7.12 - Linux-4.4.0-72-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.11-0ubuntu<IP_ADDRESS>, ffprobe 2.8.11-0ubuntu<IP_ADDRESS>
[debug] Proxy map: {}
[generic] nra-host-calls-out-kim-kardashians-mental-illnesses-over-gun-control-rant: Requesting header
WARNING: Falling back on generic information extractor.
[generic] nra-host-calls-out-kim-kardashians-mental-illnesses-over-gun-control-rant: Downloading webpage
[generic] nra-host-calls-out-kim-kardashians-mental-illnesses-over-gun-control-rant: Extracting information
[download] Downloading playlist: None
[generic] playlist None: Collected 2 video ids (downloading 2 of them)
[download] Downloading video 1 of 2
[debug] Invoking downloader on u'http://www.theblaze.com/wp-content/themes/theblaze/audio/new-message.mp3'
[download] Destination: NRA host calls out Kim Kardashian’s ‘mental illnesses’ over gun control rant-nra-host-calls-out-kim-kardashians-mental-illnesses-over-gun-control-rant.mp3
[download] 100% of 32.24KiB in 00:00
[download] Downloading video 2 of 2
[debug] Invoking downloader on u'http://www.theblaze.com/wp-content/themes/theblaze/audio/swoosh.mp3'
[download] NRA host calls out Kim Kardashian’s ‘mental illnesses’ over gun control rant-nra-host-calls-out-kim-kardashians-mental-illnesses-over-gun-control-rant.mp3 has already been downloaded
[download] 100% of 32.24KiB
[download] Finished downloading playlist: None

...
<end of log>

Here is another example (this one just fails):
youtube-dl -v https://www.mediamatters.org/blog/2017/06/09/after-comey-s-extremely-damning-testimony-fox-friends-focuses-distractions/216851
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.mediamatters.org/blog/2017/06/09/after-comey-s-extremely-damning-testimony-fox-friends-focuses-distractions/216851']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.06.05
[debug] Python version 2.7.12 - Linux-4.4.0-72-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.11-0ubuntu<IP_ADDRESS>, ffprobe 2.8.11-0ubuntu<IP_ADDRESS>
[debug] Proxy map: {}
[generic] 216851: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 216851: Downloading webpage
[generic] 216851: Extracting information
ERROR: Unsupported URL: https://www.mediamatters.org/blog/2017/06/09/after-comey-s-extremely-damning-testimony-fox-friends-focuses-distractions/216851
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1970, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2526, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2515, in _XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 51, column 59
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 761, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 433, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2795, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://www.mediamatters.org/blog/2017/06/09/after-comey-s-extremely-damning-testimony-fox-friends-focuses-distractions/216851


Can't select model in webui Model interface (Inferencing voice list empty)

I can't select model in webui Model interface (Inferencing voice list empty)
Running on Windows 11
Models placed in c:\Users\Fylh\RVC-beta0717\models\

Models should be in the weights folder for the dropdown to detect them.


eosd "--public-endpoint arg" need to be elaborated

the --public-endpoint arg under eos::network_plugin is commented as "overrides the advertised listen endpoint ip address".
The definition of advertised listen endpoint may need to be elaborated.

Here's a revised description:
--listen-endpoint arg (=<IP_ADDRESS>:9876) The actual host:port used to listen for
incoming p2p connections.
--public-endpoint arg                 An externally accessible host:port for
identifying this node. Defaults to
listen-endpoint.
--remote-endpoint arg                 The public endpoint of a peer. Repeat
this option to build a list.
--agent-name arg (="EOS Test Agent")  The name supplied to identify this node
amongst the peers.

What's the meaning of "Repeat this option to build a list.", may elaborate "option" and "list"

no, but I trimmed too much from the "remote-endpoint" description. Is something like this more clear:
-- remote-endpoint arg   The public endpoint of a peer node to connect to. Use multiple remote-endpoint options as needed to compose a network.

Resolved by #698.


docs: remove zh-cn related docs and custom css; remove deprecated files.

Ⅰ. Describe what this PR did
This PR removes zh-cn related docs and custom css, as well as deprecated files.
Ⅱ. Does this pull request fix one issue?

NONE.
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
For documentation only.
Ⅳ. Describe how to verify it
N/A
Ⅴ. Special notes for reviews
Removed /docs folder to avoid confusion; all docs should be maintained in /content folder.

Codecov Report

Merging #173 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #173   +/-   ##
=======================================
  Coverage   79.74%   79.74%
=======================================
  Files          27       27
  Lines        1185     1185
=======================================
  Hits          945      945
  Misses        210      210
  Partials       30       30

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 98e3023...08aa4f7. Read the comment docs.


About ControlNet harmless

When I loaded SDXL and Control checkpoints, the model produced pictures normally. But the model generates noise when I load only SDXL's ckpt. According to the zero layer processing in the paper, should the model be consistent with SDXL at this time?

The models from the provided SDXL checkpoints additionally learn a different time embedding which is then also being used by the base model.
cheers

The models from the provided SDXL checkpoints additionally learn a different time embedding which is then also being used by the base model.
cheers

Thank you for your prompt reply. The problem has been solved.


[Bug] After upgrade, node_modules' css files are loaded AFTER mine

Steps to Reproduce the problem
Use :

An External UI library like AntDesign in my case,
Your own less file in src/,
React-static 6,
the react-static-plugin-less plugin

When using the start command, everything works fine. But when building, the CSS from AntDesign is loaded after my own which cancels all my overwritings out.
My code is a bit long, but here is the repo : https://github.com/ostrebler/strebler
I don't know if that's linked in any way, but since I switched to react-static 6, I get this after build :

and file size warning while building :

I guess it might be linked.
Expected Behavior
That the CSS from AntDesign is being loaded before my own CSS. Before react-static 6 this was the case.

Maybe linked to https://github.com/nozzle/react-static/issues/984

I believe this is directly related to that issue. Let's track it there.

@ostrebler were you ever able to figure this out?  I am having the same problem with react-static v7 and REALLY struggling to find a good solution.  Any tips would be appreciated!


Support for returning uint64 across the WASM/JS boundary

This is the companion PR to FStarLang/karamel#267 --  it enables returning uint64s as a multi-value, and the "nice" API layer on top of it is aware of that calling convention and uses a JS bignum to represent a 64-bit integer adequately.
There are some extra fixes to be reviewed by @denismerigoux ... namely, the int32 return value was renamed to uint32, because as far as I know, all of the functions that were bound by the API return unsigned values... and the api.js code was changed accordingly to interpret those as unsigned via a logical-shift (>>> 0), otherwise, a HACL function that returns 0xffffffff would be returning -1 in JS -- can you confirm that, as far as you remember, there was no usage of signed integers in the code for which you wrote bindings?

Sure, sorry, I completely forgot about this PR! It looks good to me!


feat(search-filter): Add an on-init callback so user can close dropdown programmatically

Just tested it, seems to be working as expected 👍


Distinguish (inflected) word-forms seen in a corpus from computational-model-generated ones

We want to show more prominently in the paradigms (inflected) word forms that have been seen in some corpus, in comparison to (inflected) word forms that have been generated by the computational model.
This could be a way of dealing with the critique about the weirdness of non-attested forms which may be semantically or pragmatically weird but structurally sound - and possible with enough creative thinking.
We can either tag these in the computational model with a feature like +Obs, or create a list of all such inflected word forms. So this may require linguistic modeling work.

Following are the Present tense forms for wâpamêw (with only ê- preverb forms for the Conjunct):
cat ~/altlab/crk/corpora/ahenakew_wolfart_MGS_tab-sep-anls_freq-sorted.txt | egrep '\<wâpamêw\>' | gawk '{ if(index($0,"Prs")!=0) if(index($0,"PV")!=0) if(index($0,"PV/e")!=0) print; else; else print; }'
  10 ê-wâpamak	PV/e+wâpamêw+V+TA+Cnj+Prs+1Sg+3SgO
   4 ê-wâpamât	PV/e+wâpamêw+V+TA+Cnj+Prs+3Sg+4Sg/PlO
   4 niwâpamâw	wâpamêw+V+TA+Ind+Prs+1Sg+3SgO
   2 ê-wâpamakik	PV/e+wâpamêw+V+TA+Cnj+Prs+1Sg+3PlO
   1 ê-wâpamâyêk	PV/e+wâpamêw+V+TA+Cnj+Prs+2Pl+3SgO
   1 ê-wâpamitân	PV/e+wâpamêw+V+TA+Cnj+Prs+1Sg+2SgO
   1 ê-wâpamit	PV/e+wâpamêw+V+TA+Cnj+Prs+3Sg+1SgO
   1 ê-wâpamiht	PV/e+wâpamêw+V+TA+Cnj+Prs+X+3SgO
   1 ê-wâpamakwâw	PV/e+wâpamêw+V+TA+Cnj+Prs+1Sg+3PlO+Morph
   1 wâpamêwak	wâpamêw+V+TA+Ind+Prs+3Pl+4Sg/PlO
   1 wâpamêw	wâpamêw+V+TA+Ind+Prs+3Sg+4Sg/PlO
   1 niwâpamâwak	wâpamêw+V+TA+Ind+Prs+1Sg+3PlO
   1 kiwâpamâwâwak	wâpamêw+V+TA+Ind+Prs+2Pl+3PlO
   1 kiwâpamâwak	wâpamêw+V+TA+Ind+Prs+2Sg+3PlO
   1 kiwâpamâw	wâpamêw+V+TA+Ind+Prs+2Sg+3SgO

If we were to mark the observed forms in the basic VTA paradigm, that would look like the following:

First implementation proposal:

Read in a word-form list with disambiguated analyses and frequencies.
Mark unobserved word forms in grey, in contrast to full-black for observed word-forms (or something comparable).

Resolved by #506


Document requirement to place +<line>:<column> before file name with :edit

I came here to open an issue as to why I couldn't get my fuzzy-finder grep-in-files-with-preview command to work right. Then I found #31, adjusted my command and it suddenly worked. I had no idea this was supposed to come first. We should have some sort of warning in the docs that unlike the kakoune binary, where you put it matters for the :edit command.
Although, perhaps we should consider supporting either to avoid the surprising behaviour?

I will take a look.  I’d like to keep the implementation simple and not slow.
If you have a suggestion for the :edit command, you can open a PR or paste a gist below.

No suggestion in particular. I don't know the internals and how you got to where you are with it. Documentation should be enough.


Figure out a shortcut for dark mode

Any standard out there? Couldn't find.

I use this extension called Dark Reader for adding dark mode to any site.  For dark mode toggle, Option or Alt + Shift + d is used.

How often do people change the theme so we need a shortcut for it? I think we just need to comply on load #2025

Yea, if there's no common standard, or we don't figure out something obvious, we can prob skip it.

I use this extension called Dark Reader for adding dark mode to any site. For dark mode toggle, Option or Alt + Shift + d is used.

Interesting, Alt + Shift + d was what I came up with, too. The only downside is it's not mac-friendly in terms of keyboard layouts (we'd need to use KeyboardEvent.code instead of .key coz Mac prints differents keys when using the Option modifier).

We can still add a shortcut key as this would enhance the usability of keyboard users.
alt+shift+d sounds good. We are anyways using option+z / option+r so should be fine to use KeyboardEvent.code

I can take this up if we are adding the shortcut!

I think Alt+Shift+D is a good shortcut. We're already using it in Excalidraw+. @h7y taking it on?

Sure!


chore: promote test15 to version 0.0.5

chore: promote test15 to version 0.0.5
this commit will trigger a pipeline to generate the actual kubernetes resources to perform the promotion which will create a second commit on this Pull Request before it can merge

@q1323829945: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

verify
b862481b090f5e228e26d9a282f0f021ef4162d1
link
/test verify

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


cdnjs issue was opened

Hi
There is a problem with you labrari on cdnjs
please check this conversation and provide solution
thank
https://github.com/cdnjs/cdnjs/issues/11656

Hi! Thanks for bringing it to my attention. This is because we haven't yet officially released v1.9.0, which is a real shame, so I'll try to do that today. :) In the meantime, I'll comment on the cdnjs issue and close this one.


benches: disable caching per default

Spotted some large weight decrease for BlockExecutionWeight on the Polkadot release branch v0.9.29 here.
It comes from the new Trie cache https://github.com/paritytech/substrate/pull/11407 feature which has unforeseen influence on the weights here.
This MR disables caching per default and makes enabling it explicit.

bot merge


ABI Cleanup

Enhancement Description

Rewrite every ABI as a dictionary declared in a properly-formatted manner, rather than as a (very long) string which is json-loaded into a dictionary during runtime
Keep in every ABI only the functions and events that the bot relies on
Merge the ABIs of all DEX contracts into a single ABI

Bullet 3 is doable only if no two functions which differ only by the return-value type exist within the different DEX contracts.
Even the potential of this possibility in the future (as more DEXs are added) might be a good reason for avoiding it altogether.
The main advantage here is that it would revoke the need to interact with different DEX contracts using different ABIs.
Rationale
The ABI of a contract doesn't need to include all the functions and events in the contract.
It is sufficient for every ABI to include only the functions and events that are actually used in the bot.
The main advantage in the current implementation is that every ABI can be copied as is from etherscan or similar, and then pasted directly into the code without "having to think about it any further".
The main disadvantage is a ton of redundant information which needs to be maintained in the code.
And keeping it as a string makes it even more difficult, both in terms of readability and in terms of maintenance.
For example, searching through functions or events in an ABI is extremely difficult under the current implementation.
Impact Analysis

"true" will need to change to True
"false" will need to change to False
In a given ABI, any function within a group of overloaded functions (same function name, different input argument types) will need to be called using a "slightly annoying" syntax

As a example for the overloaded-functions issue, suppose a ABI with the following two functions:

function getFee(uint256 id, bool stable) external returns (uint256)
function getFee(uint128 id) external returns (uint256)

The way to call each one of these functions with id = 5, for example, is something like:

contract.getFee["uint256,bool"](5)
contract.getFee["uint128"](5)

Supplemental - parameter names in an ABI are generally optional:
Function parameter names have no impact whatsoever, so they are only "nice to have".
Event parameter names impact how the client's side web3 package provides the event to the caller.
They do not need to be identical to the ones in the contract, which means that the programmers on the client side can rename them as desired.
This becomes useful when several events on different ABIs are identical with the exception of parameter names.
By aligning these names under a single convention, one can simplify the handling of the related events.
For example, the PairCreated events in the Uniswap V2 factory ABI and in the Pancakeswap V2 factory ABI, are identical with the exception of the 1st parameter name (tkn0_address vs token0) and the 2nd parameter name (tkn1_address vs token1).
Aligning these parameter names shall allow to:

Get rid of the Pancakeswap V2 factory ABI, which subsequently becomes identical to the Uniswap V2 factory ABI
Simplify the handling of all related events, since they subsequently bare the exact same parameter names


Example wanted, RGB/monochrome rendering

The toolbox as we have demonstrated it is set up for spectral rendering. For some applications, features of the render toolbox may be highly useful, but spectral rendering will not be needed.  The use of spectral rendering then takes up time.
It would be nice to have examples that illustrate RGB or even monochromatic rendering, perhaps with the generically compiled versions of the renderers.

Hi David, I am actually trying to do exactly this right now (monochromatic rendering) as I am fitting rendered images to some photos I took. This requires me to update the parameters of rendering at every step and re-render, which takes a very long time with spectral rendering. Is there a quick way of getting only monochromatic output that you might know of?


Add dependency on openscap gem

Moving dependency from https://github.com/ManageIQ/manageiq-gems-pending to this repo, where it is used.

Test failures on Metric and EmsEvent seem completely unrelated, merging.


SWRConfig not applied to hook calls

I am trying to wrap my entire application inside a SWRConfig to disable revalidation on focus, like this:
<SWRConfig value={{ revalidateOnFocus: false }}>
	<Provider store={store}>
		<Router history={history}>
			<App />
		</Router>
	</Provider>
</SWRConfig>

Then components inside <App /> use useSWR to fetch data.
The problem is SWRConfig is not applied at all, and every time I focus on the page again everything reloads. This is especially cumbersome as some routes to edit information are reloaded, rerendered and changes are lost every time the user changes page.
Reading the docs I couldn't spot the misusage of functions here, what am I doing wrong that the setting is being ignored?

Hi @ranisalt! Do you mind creating a minimal reproduction on https://codesandbox.io? The code looks correct to me.

I am most definitely seeing this issue as well. From my _app.js:
import { SWRConfig } from 'swr';

// ...

<ThemeProvider theme={theme}>
  <ErrorBoundary>
    <SWRConfig value={{ revalidateOnFocus: false }}>
      <Contexts>
        <Component {...pageProps} />
      </Contexts>
    </SWRConfig>
  </ErrorBoundary>
</ThemeProvider>

Things load on initial page load, and then when I tab away and back, things reload...every time I tab away and back.

Running into the same issue.

Same

Hi @nzpopa, I'm not able to reproduce this issue personally. Would be great if you can provide a basic reproduction on CodeSandbox to help me identify the problem, thanks!
I'll re-open this issue when more information is provided (version, reproduction, etc.).


🚧Setup kdadmin

Complete The Item Below

[X] I have updated the title without removing the 🚧 emoji.

Description
Setup the new kdadmin tool by creating a kdadmin.yml configuration file
Acceptance Criteria

[ ] kdadmin cli tool config setup

ToDo Items

[X] Change type labels added to this issue.  Refer to the Change Type Labels section below.
[X] Priority label added to this issue.  Refer to the Priority Type Labels section below.
[X] Issue linked to the correct project (if applicable).
[X] Issue linked to the correct milestone (if applicable).
[ ] Draft pull request created and linked to this issue (only required with code changes).

Issue Dependencies
No response
Related Work
No response
Additional Information:
Change Type Labels

Change Type
Label

Bug Fixes
🐛bug

Breaking Changes
🧨breaking changes

New Feature
✨new feature

CICD Changes
♻cicd

Code Doc Changes
🗒documentation/code

Product Doc Changes
📝documentation/product

Priority Type Labels

Priority Type
Label

Low Priority
low priority

Medium Priority
medium priority

High Priority
high priority

Code of Conduct

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

Put https://github.com/KinsonDigital/Velaptor/labels/on hold until it is decided what to do with the KDAdmin project


fix: defaultTest and scenario assert merging

This PR fixes two interactions among assertions defined in defaultTest, a scenario's config, and a scenario's test case:

If defaultTest.assert was defined and neither the scenario's config nor the scenario's test case defined assert, all assertions from defaultTest.assert were run twice for that test case.
If a test case in a scenario defined assert, none of the assertions in the scenario's config.assert were run for that test case.

Thank you @onyck!


Sitemap for StanfordSpezi/Spezi doesn't include their "Setup" article URL

The sitemap itself looks great and includes documentation links:

However, there's a link in my testing set to an "article" rather than reference documentation: Setup and that URL is not in the sitemap. We need to look into whether any "articles" are in that list of linkable entities.

This has been fixed by the multiple target support in the builder! 🎉


first commit for the addition of the TabDDPM plugin

Description
I added TabDDPMPlugin, named "ddpm", in the generic plugin category, implementing the Tabular DDPM model proposed in this paper. A torch.nn.Module, TabDDPM, is implemented in the folder "src\synthcity\plugins\core\models\tabular_ddpm". The test cases for the "ddpm" plugin are written in "tests\plugins\generic\test_ddpm.py" accordingly. I also added a discrete_columns function in "src\synthcity\utils\dataframe.py" to determine the discrete features in a dataframe by its number of unique values. This is mainly to help the implementation of TabDDPM, but I also used this function to simplify the code in "src\synthcity\plugins\core\dataloader.py".
How has this been tested?
I ran the test_ddpm.py file and all 24 test cases were passed.

Checklist

[X] I have followed the Contribution Guidelines and Code of Conduct
[X] I have commented my code following the van der Schaar Lab Styleguide
[X] I have labeled this PR with the relevant Type labels
[X] My changes are covered by tests

Hi @robsdavis , could you please work with Bogdan to review & moderate this pull request? Hi @bcebere , please help Rob to get familiar with the pull request reviewing process (as an important step of handover).
Many thanks!

@bcebere @ZhaozhiQIAN
I have added a file "synthcity/utils/callbacks.py" and created an EarlyStopping callback, which a plugin can use it in a callback list in the arguments of initialization. To use EarlyStopping, a torch.nn.Module must have an X_val dataset and call callback.on_epoch_end(self) to determine whether to terminate the training loop. If it considers the training should be stopped early, a StopIteration exception will be raised and the model should catch it. Finally, the model can call callback.on_fit_end(self) to load the state dict of the best model.

Hey all. I wanted to try this method out, so I was preparing a tutorial to get this PR merged but found a couple of issues in 'modules.py' in tabular_ddpm folder. Was able to fix it and train the model locally.
There are still issues with the generate flow which I'm hoping to get to later.
In the meantime, I'm not too sure on how I could push my changes. Although my fork is up to date, it doesn't have the changes from TZTsai's fork and I can't create another fork from their fork.
Any ideas ? @robsdavis @bcebere

Hey all. I wanted to try this method out, so I was preparing a tutorial to get this PR merged but encountered a couple of issues (one with tensors not being on the same device and another with resize/reshape) in 'modules.py' in tabular_ddpm folder. Was able to fix it and train the model locally.
There are still issues with the generate flow (about indices being on the same device as the tensor being indexed) which I'm hoping to get to later.
In the meantime, I'm not too sure on how I could push my changes. Although my fork is up to date, it doesn't have the changes from TZTsai's fork and I can't create another fork from their fork.
Any ideas ? @robsdavis @bcebere

Sorry I have been obsessed with GPT4 recently, since I have got its API access and I wrote a Telegram bot to chat with it. I can write the tutorial this weekend, but if you are really interested you are welcome to push the changes.

Hey all. I wanted to try this method out, so I was preparing a tutorial to get this PR merged but encountered a couple of issues (one with tensors not being on the same device and another with resize/reshape) in 'modules.py' in tabular_ddpm folder. Was able to fix it and train the model locally.
There are still issues with the generate flow (about indices being on the same device as the tensor being indexed) which I'm hoping to get to later.
In the meantime, I'm not too sure on how I could push my changes. Although my fork is up to date, it doesn't have the changes from TZTsai's fork and I can't create another fork from their fork.
Any ideas ? @robsdavis @bcebere

Sorry I have been obsessed with GPT4 recently, since I have got its API access and I wrote a Telegram bot to chat with it. I can write the tutorial this weekend, but if you are really interested you are welcome to push the changes.

Hello both,
Thank you again  for your contributions. @robsdavis will merge this PR tomorrow, and then you are welcome to add more tutorials in a separate PR. Thank you!


Cant edit individuall cells.  Overtyping value generates a window saying null

Original author<EMAIL_ADDRESS>(May 05, 2011 13:51:03)_
What steps will reproduce the problem?
1.Hover over specific cell
2.Click edit
3.Overtype value in pop up
4. Hit enter
5. Ge message from webpage saying 'null'
What is the expected output? What do you see instead? I expect to see entered value populate cell
What version of Google Refine are you using? Version 2.0 [r1836]
What operating system and browser are you using?  Windows 7 with IE 9.08112
Is this problem specific to the type of browser you're using or it happens in all the browsers you tried? not tried it in another browser as refine always opens IE9.  I have Chrome installed.
Please provide any additional information below.
Original issue: http://code.google.com/p/google-refine/issues/detail?id=376

Closing since IE9 browser is no longer supported


Switch Authentication Method

How do I switch my primary authentication method? It is currently set to my Mobile App but I recently got a new phone and my app wasn't backed.

Found the answer here: https://docs.microsoft.com/en-us/azure/active-directory/user-help/multi-factor-authentication-end-user-manage-settings

@shdenf Thank you very much for providing the additional information to resolve your issue. Please let us know if we can be of further assistance.