selfhost/typechecker: Impl typecheck_for

Implements desugaring of the For loop exactly like the Rust
version. With this, typecheck_statement is 100% implemented, since
there are no match cases left to fill.

thanks


Fix #106: Fix wrongly filtered out packages when using --versioned-dirs

I have not (yet) made --versioned-dirs the default, as I think we might want to have a separate discussion about this.
As I'm not clear on the following question:
Once it's the default, should --versioned-dirs be a no-op flag, or should the user still be able to DEactivate that feature? Depending on the answer, we can or can't remove the decision-code I added.

I have not (yet) made --versioned-dirs the default, as I think we might want to have a separate discussion about this.

Yeah agree.


Seed only when I am the only seeder

I could not find a way to fine-tune seeding strategy? I would like to be configure seeding only when I am the only seeder, so to seed rare files, but not seed otherwise. Like an archive for less popular torrents. In library mode.
I would guess I would need a notify channel to be informed about all changes to peers and when there is no peer which seeds, I start seeding? But I am not sure if it is really possible to get full seeding information for a torrent as a client? Probably only trackers have full information?

There isn't built-in support for custom storage implementations. However, I've made a small change to make it easier to modify in the code and build yourself.
Storage appears as an interface to the client:
https://github.com/cenkalti/rain/blob/master/internal/storage/storage.go
If you are willing to write some code, this line is where you should start:
https://github.com/cenkalti/rain/blob/e8a4831e39945901c8c2e456525992407dcdeb9e/torrent/session.go#L448-L450
Please let me know if you have questions.

Because of the current design, you can't see the number of seeders without starting the torrent. To find out the seeder count, the torrent client needs to send an announce request first. I'm not sure how to get the seeder count for stopped torrents.


chore: add cookie check to graphql-ws

This adds a cookie session check to the graphql-ws server.
It was marked as TODO and I need it for my setup.

code should also be ported to the new independent ws-server

code should also be ported to the new independent ws-server

This is done. Pull request is ready for review. I am running this in my own cluster already.

can you explain a good way to test this?

A way to test it would be a combination of the kratos cookie login + existing subscription test. We'd need to create a middleware for the apollo link which injects the kratos cookies into the request. At least that's what I could come up with at first glance.

what use case this covers that we're not covering yet

The usecase is cookie authentication with the graphql-ws subscriptions instead of subscriptions-transport-ws. Since that is the library my client uses I would not be able to use authenticated subscriptions otherwise. It could be that galoy has no usecase. But since it was marked as TODO I thought I'd help along.

I have downgraded to subscriptions-transport-ws so I can use the official release. This Pull Request I no longer needed.


test-core-release

Current dependencies on/for this PR:

main

PR #837   👈

This stack of pull requests is managed by Graphite.


Update metadata

go run main.go
2021/08/04 11:13:55 Complete Updating meta databases!
2021/08/04 11:13:55 Building map for: disposable.txt
2021/08/04 11:13:55 Read 115347 mappings in disposable.txt
Writing new ../../metadata_disposable.go
2021/08/04 11:13:55 Building map for: free.txt
2021/08/04 11:13:55 Read 4471 mappings in free.txt
Writing new ../../metadata_free.go
2021/08/04 11:13:55 Building map for: role.txt
2021/08/04 11:13:55 Read 888 mappings in role.txt
Writing new ../../metadata_role.go

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
495

Relevant Lines:
588

💛  - Coveralls


[1.10] Bump Mesos to nightly 1.4.x f05058d

High-level description
This is a routine bump to the latest Mesos and mesos-modules.
Related JIRA Issues
Checklist for all PRs

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Changelog:
https://github.com/apache/mesos/compare/1a762020ec9fdc46b55754afd955d81f1da8880f...f05058dad7219950fd9bdc2748ab9c9a79d6e7f1

[ ] Test Results: [link to CI job test results for component]

[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label Ready For Review


Set * text=auto in .gitattributes

Please review thoroughly as I've never tried this before. This change should ensure that all new text files get LF-style line endings in the repository and on future check-outs regardless of the platform.
See https://help.github.com/articles/dealing-with-line-endings/ and the articles linked from there.
I tested this by adding a new CRLF-style text file to the repo. When I did git add newfile.txt I got the following, which is what I expected:
warning: CRLF will be replaced by LF in newfile.txt.
The file will have its original line endings in your working directory.

I couldn't provoke git into converting an existing CRLF-style file into LF-style, and I don't know whether it's good or bad that they stay as they are until somebody explicitly converts them. We currently have 325 CRLF-style files in this repository.

Superseded by #106.


Locking in Java Client ConsoleLogger

We need to lock around our logging operations. Apparently System.out.println isn't thread safe

//cc @BrennanConroy

Be careful with locking around all log calls - or you'll end up with huge perf problems like the .NET Console Logger did.
cc @pakrym


Add api_token

An improvement adding api_token to the user table

Hello, why should this be? You can do this in your application

Since its part of laravel core that could improve on api development, since i saw that there is some plan to make an api

Yes, the API is planned, but the authorization or keys must be on the user side. The api_token field is not universal, for example, if you use Laravel Passport


kernel: limit thread local storage to Zephyr SDK

Toolchains other than Zephyr SDK may not support generating
code with thread local storage. So limit TLS to Zephyr SDK
for now, and only enable TLS on other toolchains as needed.
Fixes #29541
Signed-off-by: Daniel Leung<EMAIL_ADDRESS>

Updated to add a hidden option.


Please add support to multiple connections and store it saved, like Filezilla :)

How can I connect to multiple FTP accounts?
The file config is reseted ever and ever.
This is bad :(
Please add support to multiple connections and store it saved, like Filezilla :)

duplicate to #122


Throwing an error in a transaction hangs the transaction

Using bookshelf and postgreSQL, if you start a transaction with return bookshelf.knex.transaction(function (tx) {..., and then inside that transaction throw new Error(), the transaction never aborts or terminates.  It simply hangs onto the transaction, and therefore the database connection from the pool, for the foreseeable future.
If, instead, you return Promise.reject(error), the transaction will abort and free up the database connection.
We discovered this because we were throwing errors inside transaction blocks, and eventually discovered that those tasks would never finish, and the server would eventually completely bog down because there were no available database connections.
Using PostreSQL 9.3.4, Bookshelf.js 0.7.9, knex.js 0.6.22
To replicate, create a new transaction through the bookshelf.knex.transaction function.  Perform a database operation, then throw an error.  If you go into psql and look at current transactions, you will see that the one created in your script is still open, and your code that was supposed to execute after the transaction never ran.
If you change the exact same code to return Promise.reject() (we are using bluebird 2.3.4), the transaction will close, and the code will complete.

Hi. This is a knex issue, since you're accessing Knex#transaction directly. Have you tried updating to a more recent version of knex (or bookshelf for that matter)?
Related: tgriesser/knex#405.

Sorry @rhys-vdw, I wasn't aware there was a separate repo for knex (although it makes sense).
We have not tried updating, because we're afraid of what that might do to our existing codebase.  Since we found a workaround (by returning a rejected promise rather than throwing), we decided it wasn't worth the risk of updating.

No probs.


SetGameSize does not work in iphone mobile.

Version

Phaser Version:
Phaser v3.24.1 (Canvas | Web Audio)
Operating system:
IphoneX,Iphone7
Browser:
Chrome 84.0.4147.71/ Safari 13.1.2

Description
The problem I encountered is somewhat similar #4355 , I have a game that can have a horizontal/vertical version on my phone, So when the user turns the phone, I will use the Phaser.Scale.ScaleManager to reset his width and height.
This feature is successful in the desktop version/android phone. Whether using Safari or Chrome.
But in the iphone. this feature does not work,I can't find any way to fix.
And when I using Iphone click this issue it can not do the fullscreen function #4355 in Iphone mobile.
https://labs.phaser.io/100.html?src=src\scalemanager\full screen game.js
So how can I let it work in Iphone mobile?
Example Test Code

update(){
this.game.scale.on( 'orientationchange', ( orientation: string ) => {
console.log('go try get landscape')
if ( orientation === Phaser.Scale.PORTRAIT||'portrait-primary'||'portrait-secondary' ||'portrait') {
if (!this.creates){
console.log('im portrait')
this.scale.setGameSize(414,736);
this.scene.switch('testGame');//change to the other scene for portrait version
}
this.creates=true;
} else if ( orientation === Phaser.Scale.LANDSCAPE||'landscape-primary'||'landscape-secondary'||'landscape') {
        }
    } );

}
Additional Information
My html is very simple.

What actually happens?

What actually happens?

It just does not have any effect. When I using android it works.
I can using DOM to delete/create a canvas to handler it. but too slowly and can not rotate to many times.
It's work from using chrome on android/PC but iphone.
you can using Iphonx to open this
https://labs.phaser.io/100.html?src=src\scalemanager\full screen game.js
can not work. but in android phone it works.

Can you make a test case?
iPhone doesn't do fullscreen, that's unrelated to setGameSize().

setGameSize

I just want to say the iphone dose not do a lot of function phaser made before.
Now I can not using setGameSize() on the IphoneX and Iphone6/7

this is my demo : git@github.com:IDNMAX/phaser.git
When you using iphone chrome/safari can not using setGameSize().
Please help me.


Discussion: Issuer certificate as (optional) input to lint

Hello,
this came up while working on
https://github.com/zmap/zlint/pull/378
The current implementation makes some assumptions because the certificate issuer is not present. An assumption-free implementation would need the issuer certificate as input to the lint.
The proposal is to allow the issuer certificate as (optional) input to lints. This has the advantage that several other lints would then be implementable (e.g. signature verification, AKIE consistency, SubjectDN-issuerDN encoding consistency) also the lint who brought this issue up could be implemented in another way.
What is your opinion on that?

One issue is that this makes testing a specific certificate non-deterministic. We could incidentally mark a certificate as having an error because we passed in the wrong parent in during the linting process. We should probably have some way of denoting which parent was used for the test in the lint output.

As @zakird noted, the non-determinism makes this a bit complicated. Assuming the use-cases @mtgag described above (AKID checking, Issuer-Subject DN comparisons), I don’t see us automatically finding the issuer, since to decide which certificate is the issuer, we would be using the aspects of the certificate these lints are specifically checking for errors. Necessarily, we would need to know the “right” answer for the SKID of the parent certificate, the encoding of the Subject DN of the parent, and so on.
Given this, I’d assume anyone using these lints would have a priori decided which certificates to lint against which issuers. One use case might be a CA linting only their own certificates from a specific issuer at time of issuance.
I suggest we take any lints of this form, put them in their own “group”, and assume that ZLint is instantiated with a single issuer to check against, leaving it up to the user to select which certificates to lint, and which issuer to use. We can somehow indicate in the output if we do not think the issuer certificate actually issued an input certificate. We can probably also support one issuer per key type, e.g. one RSA cert, one ECDSA certificate, etc.
If someone wishes to send all certificates ever issued through the lints requiring an issuer, it would be “on them” to figure out which issuer to use with which certificate.

I agree with @dadrian points out here, but also note that CAs add the parent to CT, so in many ways we  know the issuing certificate that CAs intended to use when performing external validation.

I thought about a simple approach.  Something like extending the LintInterface to
CheckApplies(c *x509.Certificate, issuer *x509.Certificate) bool and
Execute(c *x509.Certificate, issuer *x509.Certificate) *LintResult
where the issuer is optional.
For old lints (that do not need the issuer) nothing changes in the implementation independent of whether the caller provides the issuer or not. For lints that require the issuer a simple check in CheckApplies like
if (issuer is not provided) return false
perform other checks to evaluate whether this lint should be triggered or not.
and in Execute the issuer is evaluated (because it definitely present) to implement the lint.
To sum it up. If the LintInterface is extended with the optional issuer, the caller has an additional chance to provide the issuer to enable further lints. If the caller does not provide the issuer then the current functionality of the lints remains unchanged. In terms of source code the LintInterface and the underlying lints needs to be extended with the new argument and all calls to CheckApplies and Execute provide a nil as a second argument. The implementations of lints must not be changed at all.
The support for the issuer is then provided by zlint. It is up to the callers to take advantage of this functionality and perform this correctly. I am not sure whether this is a task for zlint. What do you think about this approach?

I agree with @dadrian that the lints being non-deterministic and/or relying on what could be third party information makes them a better candidate for a separate group of lints.
Also, I feel like it's pretty rough to change the Lint interface for what is likely to be decidedly less lints. That means every lint needs to be able to handle an issuer parameter even if it won't ever use it, which will be the case the vast majority of the time. It also means every lint implementation would have to change in one PR. Yuck!
Unfortunately, my first statement above would also mean that very few people would bother with these lints. Also, the added complexity to the testCerts model currently used in zlint can't be ignored.

CheckApplies(c *x509.Certificate, issuer *x509.Certificate) bool
Execute(c *x509.Certificate, issuer *x509.Certificate) *LintResult

What happens when issuer is nil for a lint that requires an issuer? Does it skip CheckApplies, or is it an error result?

That's a good question. I think that might very well introduce a new status similar to NA but for not enough data provided result.

I believe if the issuer is nil this should be a "weak" failure. Either skip in the sense that this lint does not apply since the issuer is missing or as @zakird proposed introduce a new status. Otherwise providing the issuer would become somehow mandatory which currently I think it is restrictive.

My worry for NA is that I don't want folks to think they've had all applicable tests run when that hasn't actually happened. A certificate could be in scope and we just weren't able to run the lint.

#include <discussion_from_491>
@sleevi @cardonator @zakird porting the week's coversation from #491 here trying to break up the conversation a bit.
There appears to be a second, equally complex, discussion of what to do with otherwise ambiguous results (because even if we allow for a chain to be included in the run that does not mean that it always will be).
So I went ahead and fired up #522 to discuss precisely what-and-how to convey the notion that a lint result was inconclusive.
Hopefully that can help narrow this particular thread to only issues of, say, path building.


Static directory doesn't follow the same path once build

I have a static public directory with css files that are being referenced inside the head.html.
<link rel="stylesheet" type="text/css" href="public/util.css">

When I build the storybook, the css files are put directly under the root directory so the link doesn't work anymore.
In dev, I also try to use this syntax but It doesn't work:
<link rel="stylesheet" type="text/css" href="util.css">

I currently use a workaround by declaring both path for dev and prod, but that's not very clean.

@mnmtanish could you check on this as well.

@mthuret I think we've fixed a relative bug and try using the latest version of storybook.
Also if you specified your public directory with -s flag, simply link css like this:
<link rel="stylesheet" type="text/css" href="util.css">

It should works everywhere.

Yes, I get the issue with the -s flag. Works fine.


Update BooleanMap type

Updates the BooleanMap type to include both true and false cases and to map to boolean instead of true. Before this change a Button that had a loading variant (and therefore prop) would need to change write the following:
<Button loading={conditionalBooleanPropIsLoading as true | undefined}>
   etc
</Button>

With this change you will no longer need to do that and can more clearly write:
<Button loading={conditionalBooleanPropIsLoading}>
   etc
</Button>

This also aligns with stitches' behaviour.

Hey @benjervis! This is great, thanks for taking a look and getting a full PR in so quickly. I had only been testing true cases hence missing this 😅  Enjoying migrating over to vanilla-extract, thanks a lot!


Merge PR fixing TuneIn

This PR fixes TuneIn which is otherwise broken since like forever:
https://github.com/ytdl-org/youtube-dl/pull/20459
Example:
youtube-dlc -v https://tunein.com/radio/MELODY-Pyrnes-959-s48718/ -J
Please consider merging PR above and thank you for this fork !

Still reviewing and fixing it. Doesn't work out of box.


Preserve undo history after reload, even when file has no unsaved changes

#8665 didn't completely fix the problem.

Looks good to me :rocket:


created asteroid game using python

Signed-off-by: haraman1078<EMAIL_ADDRESS>

sorry but this repo is only for code in c++ language and hence we cannot merge your request


MSH300 connection loss

I have the following problem: when the connection losses, my MSH300 begin flashing and it can't reconnect to Mosquitto broker. I see it connected in the LAN but not to the MQTT broker. Does anyone experienced the same issue and found a solution?

Hello @shra1976,
Every Meross device has 2 mqtt brokers configured (primary and secondary) and it should keep switching between the two when any fails. But, in some user experiences, when the primary fails and the second is not configured, it looks like it 'stalls' the switching algorithm (or kind of).
That's why, when configuring for a private mqtt broker, the usual utilities (like the @bytespider one) allow you to configure both the primary and secondary.
By setting both the mqtt primary and secondary brokers to the same address, the device usually works consistently by keeping retrying to connect to the same one.
If I'm not wrong, the latest versions of the @bytespider utility automatically sets both the addresses to the one you configure as (primary) mqtt broker but if you used an older version, the secondary would be empty and so you need to fix this.

@krahabb you are correct, the latest version will set both addresses to the primary one if only one is provided

@shra1976 have you recently upgraded your broker, say From Home Assistant Mosquitto addon 5.x to 6.x?

Hello @krahabb thank you for your help. Probably I've set only the primary broker. I used the android app made by Alberto Geniola (the first issue). Now I tried with the latest version of the @bytespider utility but I can't connect to my MQTT broker. I have a Mosquitto broker version 1.6.12. The mosquitto configuration is:
port 8883 require_certificate false allow_anonymous true cafile /etc/mosquitto/certs/mqtt_ca.crt certfile /etc/mosquitto/certs/mqtt.crt keyfile /etc/mosquitto/certs/mqtt.key connection_messages true log_type all log_dest stdout
It works with other MQTT devices but MSH300 doesn't connect to it... where am I wrong?

@shra1976 let me get the facts correct:
You are running vanilla Mosquitto 1.6.12 (not via Home Assistant)
The device connects to your LAN but not the broker
Questions:
What messages, if any, are displayed from your broker when the device tries to connect?
Do devices have access to the internet?

In my case, the msh300 does connect to the wifi and to the MQTT broker. I see messages being published:
/appliance/2108317438792926281348e1e974d3be/publish {"header":{"messageId":"668a11b610af0e18f640c80b1e9b304c","namespace":"Appliance.Control.Bind","method":"SET","payloadVersion":1,"from":"/appliance/2108317438792926281348e1e974d3be/subscribe","timestamp":1636892671,"timestampMs":788,"sign":"ea1651217b48e62892237f8db23a8a9a"},"payload":{"bind":{"bindTime":1636892671,"time":{"timestamp":1636892671,"timezone":"","timeRule":[]},"hardware":{"type":"msh300hk","subType":"un","version":"4.0.0","chipType":"MT7686","uuid":"2108317438792926281348e1e974d3be","macAddress":"48:e1:e9:74:d3:be"},"firmware":{"version":"4.1.24","homekitVersion":"4.1","compileTime":"2021/08/23 14:58:32 GMT +08:00","encrypt":1,"wifiMac":"46:d9:e7:d7:b7:08","innerIp":"<IP_ADDRESS>","server":"<IP_ADDRESS>","port":8883,"userId":0}}}} /appliance/2108317438792926281348e1e974d3be/subscribe {"header": {"messageId": "5787d43f9df741a49a120362ff53d286", "namespace": "Appliance.Hub.Sensor.All", "method": "GET", "payloadVersion": 1, "from": "/appliance/2108317438792926281348e1e974d3be/publish", "timestamp":<PHONE_NUMBER>, "timestampMs": 0, "sign": "2724ba68ba6bc4986c571c0696f59151"}, "payload": {"all": []}} /appliance/2108317438792926281348e1e974d3be/subscribe {"header": {"messageId": "62d5b4e4a9264e349c47851e7ca55acb", "namespace": "Appliance.Hub.Mts100.All", "method": "GET", "payloadVersion": 1, "from": "/appliance/2108317438792926281348e1e974d3be/publish", "timestamp":<PHONE_NUMBER>, "timestampMs": 0, "sign": "31eb8944a0f2ea56757e523a5367336f"}, "payload": {"all": []}} /appliance/2108317438792926281348e1e974d3be/subscribe {"header": {"messageId": "ae576028843140e5a86b455385723c86", "namespace": "Appliance.Hub.Battery", "method": "GET", "payloadVersion": 1, "from": "/appliance/2108317438792926281348e1e974d3be/publish", "timestamp":<PHONE_NUMBER>, "timestampMs": 0, "sign": "40ae5e47bf2e7a2ee84a20b9763cbe62"}, "payload": {"battery": []}}
But the green light keeps blicking on the hub and I cannot pair the valves (MTS150). The Wifi icon on the valve itself keeps blinking as well :/ Well i tried double tapping on the hub, i read this is the way to pair those to the bub.
I have internet connection as well

@override80 do you allow the device to connect to the internet?

@bytespider I do, in the DHCP settings of my DHCP server I provided my ISP router as a gateway (it has no firewall rules).

@override80 are you in a position to try this experimental branch? I watched the pairing process of the Official App and noticed they send over some time information. https://github.com/bytespider/Meross/tree/feature/network-time

Yes, of coruse, I did, but I cannot execute the command successfully anymore:
$ ./meross setup --gateway <IP_ADDRESS> --wifi-ssid FightClub --wifi-pass .FC-891115 --mqtt mqtts://<IP_ADDRESS>  Setting up device with IP <IP_ADDRESS> ┌───────────────────────────────────────────────────┬─────────────────────────────────────────┐ │Primary MQTT broker                                │<IP_ADDRESS>:8883                         │ ├───────────────────────────────────────────────────┼─────────────────────────────────────────┤ │Failover MQTT broker                               │<IP_ADDRESS>:8883                         │ └───────────────────────────────────────────────────┴─────────────────────────────────────────┘ Error Unable to connect to device Error Unable to connect to device Setting up device timezone Europe/Rome Error Unable to connect to device Setting up device wifi Error Unable to connect to device Device will reboot...
If i check out master, this is the result:
$ ./meross setup --gateway <IP_ADDRESS> --wifi-ssid FightClub --wifi-pass .FC-891115 --mqtt mqtts://<IP_ADDRESS>  Setting up device with IP <IP_ADDRESS> ┌───────────────────────────────────────────────────┬─────────────────────────────────────────┐ │Primary MQTT broker                                │<IP_ADDRESS>:8883                         │ ├───────────────────────────────────────────────────┼─────────────────────────────────────────┤ │Failover MQTT broker                               │<IP_ADDRESS>:8883                         │ └───────────────────────────────────────────────────┴─────────────────────────────────────────┘ ┌────────────────────┬────────────────────────────────────────────────────────────────────────┐ │Device              │msh300hk un MT7686 (hardware:4.0.0 firmware:4.1.24)                     │ ├────────────────────┼────────────────────────────────────────────────────────────────────────┤ │UUID                │2108317438792926281348e1e974d3be                                        │ ├────────────────────┼────────────────────────────────────────────────────────────────────────┤ │Mac address         │48:e1:e9:74:d3:be                                                       │ ├────────────────────┼────────────────────────────────────────────────────────────────────────┤ │IP address          │                                                                        │ ├────────────────────┼────────────────────────────────────────────────────────────────────────┤ │Current MQTT broker │<IP_ADDRESS>:8883                                                        │ ├────────────────────┼────────────────────────────────────────────────────────────────────────┤ │Credentials         │User: 48:e1:e9:74:d3:be                                                 │ │                    │Password: 0_5c0c6e167a67fdef302cce33457bc54d                            │ ├────────────────────┼────────────────────────────────────────────────────────────────────────┤ │MQTT topics         │Publishes to: /appliance/2108317438792926281348e1e974d3be/publish       │ │                    │Subscribes to: /appliance/2108317438792926281348e1e974d3be/subscribe    │ └────────────────────┴────────────────────────────────────────────────────────────────────────┘ Device will reboot...

@override80 ,
The previous successful MQTT log states everything was (and maybe still can be) good with MSH300 on MQTT and maybe the issue with the beta from @bytespider is something related to this new feature he's trying to implement.
The hub led blinking could definitely be the pairing with the MTS150 which is not working reliably. I remember I had issues with my MTS100 for the same process and had to reboot/restart the valves different times in order to get it right

@shra1976 ,
From your first message I guess the MSH300 was likely working on MQTT except when losing connection for whatever reason and not being able to reconnect. If this is the case then your MQTT setup should be fine and I'd keep investigating the MSH300 setup/configuration.
If it 'never' worked i.e. you never had a successfull meross topic broadcast over mqtt then I'll suggest you to check https://github.com/krahabb/meross_lan/wiki/Mosquitto-Mon-Amour .
If we're in this scenario the problem could lie in MQTT authentication. From your comment I don't see any password file or authentication configuration in your mosquitto and this should or could be good but... maybe there's something else 'hidden'
My wiki tries to sort out the mosquitto configuration process and that could provide you some hints

Hi @krahabb it's definitively as you said. I tried installing the Meross official app and setting up the MSH300 - it all went through smoothly BUT there is no way i can pair the valve with the hub. I've tried the whole +/- reset stuff 10 times, doble tapping the button on the hub at different times, changing batteries, bringing the hub closer etc... They do not pair. At this point I'm starting to think that the hub might be having some issues, I'll simply return it...

@bytespider Yes, of coruse, I did, but I cannot execute the command successfully anymore:
Thanks for trying. I was hoping that if it was a time related issue it could be resolved by telling the device what the current timezone should be. Granted only have a limited sample set (2 x MSS310)

@override80 if you cant get it working with the official app then I would agree there is an issue with the device/s

Finally solved! I was wrong using mqtts protocol. With mqtt:// it works and I can connect to my broker. Thanks for the help!

Awesome!


Export default please

Hello - can you please export a default object containing { load, config, ... }?  Right now in ES6 I have to do import { load } from dotenv-extended which isn't so user-friendly.  If you could just add a default export that'd be great!

This is for usage with my package here https://github.com/niftylettuce/dotenv-parse-variables

@niftylettuce Let me know if this works for you or if you run into any problems.

tyvm @keithmorris


(576) Add exclusion zones page

Changes in this PR

Update question copy for the exclusion zones page
Adds ExclusionZones page to the apply journey

Screenshots of UI changes
Before

After

Release checklist
As part of our continuous deployment strategy we must ensure that this work is
ready to be released at any point. Before merging to main we must first
confirm:
Pre merge checklist

[ ] Are any changes required to the e2e tests?
[ ] If you've added a new route, have you added a new
auditEvent? (see server/routes/apply.ts for examples)
[ ] Are there environment variables or other infrastructure configuration which needs to be included in this release?
[ ] Are there any data migrations required. Automatic or manual?
[ ] Does this rely on changes being deployed to the CAS API?

Post merge checklist
Once we've merged it will be auto-deployed to the dev environment.
Find the build-and-deploy job in CircleCI.
Should a release fail at any step, you as the author should now lead the work to
fix it as soon as possible.

 Area - Exclusion zones


Setup Bazel selective test running

Currently for every change to the repository both the hypervisor tests and the workstation tests are being triggered, even though some of the source files related to those tests aren't touched making it unnecessary to run those tests in the first place.
Because we are using Bazel and git it should be doable to figure out for each change what targets have changed and thus what associated tests should be run!

Issue on Bazel about this topic https://github.com/bazelbuild/bazel/issues/7962

This seems to be a good tool to achieve this https://github.com/Tinder/bazel-diff.


Make range converter public

I'd like this function to be public:
https://github.com/IntrepidPursuits/swift-wisdom/blob/368d58cfbd43da5373808eeeb13b18611bbe395a/SwiftWisdom/Core/StandardLibrary/String/String%2BIndexing.swift#L29

Addressed through #94


Supports BEL (\a) characters

BEL (\a) characters are used instead of \x1b\ at the end of the URL.

This pr was needed for ls --hyperlink.


  PLEASE DON'T ASK FOR WORKAROUNDS OR TIMELINES - THIS IS FREE SOURCE CODE
Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[ ] iOS
[*] Android
[ ] UWP

PLATFORMS THAT YOU CANNOT FILE ISSUES ON RIGHT NOW: Tizen, watchOS, tvOS, macOS
Feature Library
beta components are not fully done - issues MUST include full reproducible sample and stacktrace or they will be closed without explanation!!!

[ ] Core
[ ] Locations
[ ] HTTP Transfers
[*] Notifications
[ ] Push
[ ] Push - Azure Notification Hub
[ ] Push - Firebase (beta)
[ ] Sensors
[ ] AppCenter Logging Integration
[ ] Location Sync (beta)
[ ] Photo Sync (alpha)
[ ] BluetoothLE (beta)
[ ] Beacons (beta)
[ ] SQLite Integration

Version of Library
<IP_ADDRESS>5
Version of OS(s) listed above with issue
Android 7.1
Steps to Reproduce

Clone this repo https://github.com/brminnick/LocalNotificationsSample
Upgrade all packages and change Android SDK version to 10 Q (default is 11, i have installed 10), set Target Android Version too Android 10.0 (API Level 29 -Q).
Check Deploy in Solution Properties -> Configuration Properties -> Configuration (otherwise it wont deploy).
Debug it on Android 7.1 (I tested on my phone and emulator. It works well on Android 9 emulator).

Expected Behavior
Display notifications.
Actual Behavior
Throw blow errors:
Java.Lang.ClassNotFoundException: 'Didn't find class "android.app.NotificationChannel" on path: DexPathList[[zip file "/data/app/com.minnick.localnotificationssample-1/base.apk"],nativeLibraryDirectories=[/data/app/com.minnick.localnotificationssample-1/lib/arm64, /data/app/com.minnick.localnotificationssample-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64, /data/downloads, /data/priv-downloads]]'
On the internet some people says before Android Oreo there is no Notification Channel, so you should avoid create channel if it's blow Android 8. Maybe that's the reason. Please check it and give asolution.

Sounds like the tooling broke or something because 1.2 used to compile fine for that OS as I wouldn't use notification channels in the execution path for them.
In any case, in 2.0 which is near release, I don't plan to support lower than Android 8 since we are into v12 betas at this point

I have tried some days with this Notification plugin and never make it work on Android 7.1 (works well on Android 9). So i tried that example repo and still won't work. at the end figured out if write Application class like blow it also throw exception:
[Application]
public class MainApplication : Shiny.ShinyAndroidApplication<YourNamespace.YourShinyStartup>
Instead simply write like this it will compile fine and run
public class MainApplication : Application

But still not showing notification on Android 7.1 (Android 9 still show notification).
At first i thought maybe I'm using it wrong way, so tried different usages on the internet without succeed.
What should I do? using the older version?

You should fork this project and patch it to your needs if you require anything below 8.1

Thanks for information and your great work. It worked on <IP_ADDRESS>2


RunStatus of mlflow run is "FINISHED" instead of "FAILED" when the kedro run fails

Description
When I launch kedro run and the run fails, the on_pipeline_error closes all the mlflow runs (to avoid interactions with further runs)
Context
I cannot distinguish failed runs from sucessful ones in the mlflow ui.
Steps to Reproduce
Launch a failing pipeline with kedro run.
Expected Result
The mlflow ui should display the run with a red cross
Actual Result
The mlflow ui displays the run with a green tick
Does the bug also happen with the last version on develop?
Yes.
Potential solution:
Replace these lines:
https://github.com/Galileo-Galilei/kedro-mlflow/blob/63dcd501bfe98bebc81f25f70020ff4141c1e91c/kedro_mlflow/framework/hooks/pipeline_hook.py#L193-L194
with
while mlflow.active_run():
    mlflow.end_run(mlflow.entities.RunStatus.FAILED)

or even better, retrieve current run status from mlflow?

Good catch !
Since we catch the Error and manually end the run, mlflow do not receive the "error code 1" of the current process. If we no longer end run manually, mlflow will tag the run as FAILED. But since we want to control the pipeline error, we can apply your suggestion (specifiying the status as failed)

Yes, but we need to terminate the run manually when it failed and one use it interactively (in CLI, tis makes no difference because it gets the error code as you say) to avoid further interference.


deps(webdriver-manager): use replacement

Current workaround to use webdriver-manager-replacement until we
publish a beta release of webdriver-manager

This will unblock the currently failing tests.

Looks like it passes!


Eval time

The evaluation phase takes too much time
So Comparing after training for 1000 epochs is not feasible due to time constraints

First, let's train for 100 epochs and compare. But, even that might take a long time.


ENH: vectorize expected value method for continous random variables

Reference issue
Closes gh-19372
What does this implement/fix?
Enable vectorized calls to expect for continously distributed
random variables with the following changes

update rv_continous.expect in scipy.stats._distn_infrastructure.py
map loc and scale arguments to numpy arrays
use numpy.vectorize on the numerical integrator
remove The function is not vectorized. from docstring

See gh-19372

Thanks for the PR. Please add some tests for the change you made.

That is usually a good suggestion, but in this case I would recommend finding a reviewer before continuing. Several stats maintainers are working on the new distribution infrastructure these days. I won't speak for them, but for that reason, I'm not interested in reviewing this one.

I think I'll close the pull request for now, seeing as the issue would possibly be resolved by the new infrastructure and likely with a more performant implementation.


"Error: Cannot call a namespace ('getISOWeek')"  ionic 2 - rc0

I get the following error when running ionic serve..
Any help resolving this issue would be greatly appreciated.
$ ionic serve
Running 'serve:before' npm script before serve
> ionic-hello-world@ watch E:\web\apps\femkoApp
> ionic-app-scripts watch
[15:34:57]  ionic-app-scripts 0.0.23
[15:34:57]  watch started ...
[15:34:57]  build dev started ...
[15:34:57]  clean started ...
[15:34:57]  clean finished in 14 ms
[15:34:57]  copy started ...
[15:34:57]  typescript compiler started ...
[15:34:57]  lint started ...
[15:34:57]  copy finished in 86 ms
[15:34:58]  lint finished in 899 ms
[15:35:01]  typescript compiler ready in 4.44 s
[15:35:01]  bundle dev started ...
[15:35:07]  Error: Cannot call a namespace ('getISOWeek')
    at error (E:\web\apps\femkoApp\node_modules\rollup\dist\rollup.js:5406:12)
    at CallExpression.bind (E:\web\apps\femkoApp\node_modules\rollup\dist\rollup.js:5829:5)
    at E:\web\apps\femkoApp\node_modules\rollup\dist\rollup.js:5151:50
    at VariableDeclarator.eachChild (E:\web\apps\femkoApp\node_modules\rollup\dist\rollup.js:5168:5)
    at VariableDeclarator.bind (E:\web\apps\femkoApp\node_modules\rollup\dist\rollup.js:5151:7)
    at E:\web\apps\femkoApp\node_modules\rollup\dist\rollup.js:5151:50
    at VariableDeclaration.eachChild (E:\web\apps\femkoApp\node_modules\rollup\dist\rollup.js:5165:19)
    at VariableDeclaration.bind (E:\web\apps\femkoApp\node_modules\rollup\dist\rollup.js:5151:7)
    at BlockStatement.bind (E:\web\apps\femkoApp\node_modules\rollup\dist\rollup.js:5617:9)
    at FunctionExpression.bind (E:\web\apps\femkoApp\node_modules\rollup\dist\rollup.js:6458:13)

[15:35:07]  sass started ...
[15:35:09]  sass finished in 1.67 s
[15:35:09]  build dev finished in 12.10 s
[15:35:09]  watch ready in 12.18 s

app.module.ts
import { NgModule } from '@angular/core';
import { IonicApp, IonicModule } from 'ionic-angular';
import { BrowserModule } from '@angular/platform-browser';
import { MyApp } from './app.component';
import { Page1 } from '../pages/page1/page1';
import { Page2 } from '../pages/page2/page2';
import { HttpModule } from '@angular/http';
import { provideAuth, AuthHttp } from 'angular2-jwt';
import { CalendarModule, CalendarEventTitle, CalendarDateFormatter } from 'angular2-calendar';

@NgModule({
  declarations: [
    MyApp,
    Page1,
    Page2
  ],
  imports: [
    IonicModule.forRoot(MyApp),
    HttpModule,
    BrowserModule, CalendarModule

  ],
  bootstrap: [IonicApp],
  entryComponents: [
    MyApp,
    Page1,
    Page2
  ],
  providers: [
    AuthHttp,
    provideAuth({
      headerName: 'authorization',
      headerPrefix: 'Bearer',
      tokenName: 'token',
      tokenGetter: (() => localStorage.getItem('id_token')),
      globalHeaders: [{ 'Content-Type': 'application/json' }],
      noJwtError: true
    }),
    CalendarEventTitle,
    CalendarDateFormatter
  ]
})
export class AppModule {}

page1.ts
import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';

import { AuthHttp } from 'angular2-jwt';
import { startOfDay, subDays, addDays, endOfMonth, isSameDay, isSameMonth, addWeeks, subWeeks, addMonths, subMonths } from 'date-fns';
import { CalendarEvent, CalendarEventAction } from "angular2-calendar"

const colors: any = {
  red: { primary: '#ad2121', secondary: '#FAE3E3' },
  blue: { primary: '#1e90ff', secondary: '#D1E8FF' },
  yellow: { primary: '#e3bc08', secondary: '#FDF1BA' }
};

@Component({
  selector: 'page-page1',
  templateUrl: 'page1.html',
})
export class Page1 {

  view: string = 'month';

  viewDate: Date = new Date();

  actions: CalendarEventAction[] = [{
    label: '',
    onClick: ({event}: {event: CalendarEvent}): void => {
      console.log('Edit event', event);
    }
  }, {
    label: '',
    onClick: ({event}: {event: CalendarEvent}): void => {
      this.events = this.events.filter(iEvent => iEvent !== event);
    }
  }];

  events: CalendarEvent[] = [{
    start: subDays(startOfDay(new Date()), 1),
    end: addDays(new Date(), 1),
    title: 'A 3 day event',
    color: colors.red,
    actions: this.actions
  }, {
    start: startOfDay(new Date()),
    title: 'An event with no end date',
    color: colors.yellow,
    actions: this.actions
  }, {
    start: subDays(endOfMonth(new Date()), 3),
    end: addDays(endOfMonth(new Date()), 3),
    title: 'A long event that spans 2 months',
    color: colors.blue
  }];

  activeDayIsOpen: boolean = true;

  increment(): void {

    const addFn: any = {
      day: addDays,
      week: addWeeks,
      month: addMonths
    }[this.view];

    this.viewDate = addFn(this.viewDate, 1);

  }

  decrement(): void {

    const subFn: any = {
      day: subDays,
      week: subWeeks,
      month: subMonths
    }[this.view];

    this.viewDate = subFn(this.viewDate, 1);

  }

  today(): void {
    this.viewDate = new Date();
  }

  dayClicked({date, events}: {date: Date, events: CalendarEvent[]}): void {

    if (isSameMonth(date, this.viewDate)) {
      if (
        (isSameDay(this.viewDate, date) && this.activeDayIsOpen === true) ||
        events.length === 0
      ) {
        this.activeDayIsOpen = false;
      } else {
        this.activeDayIsOpen = true;
        this.viewDate = date;
      }
    }
  }

}

page1.html

<ion-content padding>

               Previous

               Today

               Next

{{ viewDate | calendarDate:(view + 'ViewTitle'):'en' }}

Month

Week

Day

        <mwl-calendar-month-view
          *ngSwitchCase="'month'"
          [viewDate]="viewDate"
          [events]="events"
          [activeDayIsOpen]="activeDayIsOpen"
          (dayClicked)="dayClicked($event.day)">
        </mwl-calendar-month-view>
        <mwl-calendar-week-view
          *ngSwitchCase="'week'"
          [viewDate]="viewDate"
          [events]="events">
        </mwl-calendar-week-view>
        <mwl-calendar-day-view
          *ngSwitchCase="'day'"
          [viewDate]="viewDate"
          [events]="events">
        </mwl-calendar-day-view>

</ion-content>

I've hit this issue before, it's because of a conflict between the way that rollup and typescript treat commonjs / ES6 modules interop. Typescript expects import * as lib from 'lib'; to import the value from module.exports and rollup expects import lib from 'lib'; to import the value from module.exports. Googling about reveals that there is no easy way to get them to play together, I think the easiest way to solve this is just to go back to commonjs requires for the date-fns lib. I will cut a new release tonight that should solve the issue.
ps I wouldn't recommend using this in ionic as it's not very responsive, this might suit your needs better: https://github.com/twinssbc/Ionic2-Calendar

Should be fixed in https://github.com/mattlewis92/angular2-calendar/commit/7e758badf6a2d064dae0dadf5120bdb132cf05ff and released as 0.2.7, thanks for reporting! 😄

I'm new for mobile software
There is much to learn
Thanks you for the help

No problem 😀

On 6 Oct 2016, at 07:23, Bilal YILMAZ<EMAIL_ADDRESS>wrote:
I'm new for mobile software
There is much to learn
Thanks you for the help
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.


Step 7: MessageFilter.Builder() error

I'm following the tutorial from here:
https://codelabs.developers.google.com/codelabs/hello-beacons/#6
But after following it step by step I'm getting an error on this line:

                .setFilter(new MessageFilter.Builder()
                        .includeNamespacedType("some_namespace", "some_type")
                        .build();

Error:
/Users/xxxxx/AndroidStudioProjects/hello-beacons/HelloBeacons-Subscribe/app/src/main/java/com/google/android/gms/nearby/messages/samples/hellobeacons/MainActivity.java
Error:(198, 33) error: ')' expected
:app:compileDebugJavaWithJavac FAILED
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

This problem is caused by a missing call to the build() method and is discussed here:
http://stackoverflow.com/questions/39041134/beacons-in-android-error-in-tutorial


support for tile card?

Has anybody tested the tile card with this theme? I'm new to this theme, but I can't seem to get it render like I'd expect. Here's my code and a screenshot how it renders.
      - type: tile
        entity: group.main_floor_lights
        name: Main
        icon: mdi:lightbulb
        tap_action:
          action: navigate
          navigation_path: "/ui-lcars/lights-main"
        icon_tap_action:
          action: call-service
          service: button.press
          target:
            entity_id: button.basement_equipment_room_phantom_kp_position_1_keypad_main_off
        card_mod:
          class: button-bullet

I haven't addressed that card specifically yet. I assume you are wanting it to render like the button-bullet? In your screenshot, it looks like Tile is functionally jus ta button, so I would recommend making a button for you Main light, and then applying the bullet class to it for the following effect (in your selected theme colors, of course):

Thanks! I liked the icon_tap_action vs tap_action that the tile card offers, but it looks like I can make this same functionality work with tap_action and double_tap_action.
For anybody that stumbles upon this, here's what I ended up doing.
          - type: button
            entity: group.main_floor_lights
            icon: mdi:lightbulb
            name: Main
            show_state: true
            tap_action:
              action: call-service
              service: button.press
              data:
                entity_id: button.basement_equipment_room_phantom_kp_position_1_keypad_main_off
            double_tap_action:
              action: navigate
              navigation_path: "/ui-lcars/lights-main"
            card_mod:
              class: button-bullet


new release?

@jasta there have been a fair few commits go into master since 1.5.0 - are there any plans to do a new release?

+1. Looking for a new release.

+1

@iamareebjamal - probably a good idea to open a separate issue on that. I havent explicitly done this on P yet but if there are code changes to make to support it we need to track it

#607 solved that as far as I know

+1

+1

For anyone looking for a new build, jitpack seems to work well, so you can use any revision as a dependency by using jitpack, e.g.:
repositories {
    maven { url "https://jitpack.io" }
}
dependencies {
    implementation 'com.github.facebook.stetho:stetho:6d148f20b96ecb29320cced6617830eda8af0426'
}

@jasta @rogerhu @AlexTrotsenko Please release a new version! It's hopefully just running a script, there's no reason this is open since months now :(

Maybe first fix the JS and database consoles. Stetho is crippled in recent Chrome releases :cry:  https://github.com/facebook/stetho/issues/634

@brianguertin  - I think that issue is upstream.

New version is incoming.  The #634 issue is indeed different though and I believe uptsream is fixing it independently.


zsh: command not found: z

I've installed oh-my-zsh via curl, but the z command don't work!
Could someone help me?

Did you enable the z plugin?


Error loading images

I am tryring to get the images for a product.
//var test2 = await Client.GetImagesForProduct(entity_id); - productid
Unfortunately this error occures
: Error reading JObject from JsonReader. Current JsonReader item is not an object: StartArray. Path '[0]', line 1, position 2.

*FIXED - It turns out that the REST Roles wasn´t configured properly.


python3Packages.elkm1-lib: 1.2.2 -> 1.3.1

Description of changes
https://github.com/gwww/elkm1/blob/main/CHANGELOG.md#132

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 168541 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.elkm1
python310Packages.elkm1-lib
python39Packages.elkm1-lib


Future send

closes #265
@l3r8yJ, take a look, please

PR-Codex overview
This PR makes changes to the Producer interface and its implementations to return a Future<RecordMetadata> instead of void when calling the send method.
Detailed summary

Changes the Producer interface to return a Future<RecordMetadata> instead of void when calling the send method.
Updates the FkProducer and KfProducer classes to reflect the new interface.
Adds the RecordMetadata import to the relevant classes.
Removes the @todo comments related to the send method.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@h1alexbel thank you for your Pull Request. I'll assign someone to review it soon.
If this PR solves a todo from the code, please don't forget to remove it.

@h1alexbel please review this Pull Request. Deadline (when it should be merged or closed) is 2023-04-27T18:22:17.855671.
You should check if the requirements have been implemented (partially or in full), if there are unit tests covering the changes and if the CI build passes. Feel free to reject the PR or ask for changes if it's too big or not clear enough.
Estimation here is 30 minutes, that's how much you will be paid. You will be paid even if this PR gets rejected.

@rultor merge

@rultor merge

@rultor merge

@h1alexbel OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@h1alexbel Done! FYI, the full log is here (took me 2min)

@h1alexbel thank you for resolving this ticket. I've just added it to your active invoice. You can always check all your invoices and more on the Contributor Dashboard.


Button Issue (Lollipop)

Text on the button is not visible.

Can you please give more details about your devices?

Nexus 5
Android Version 5.1
On Sat, Apr 4, 2015 at 2:13 PM, Rey Pham<EMAIL_ADDRESS>wrote:

Can you please give more details about your devices?
—
Reply to this email directly or view it on GitHub
https://github.com/rey5137/material/issues/18#issuecomment-89529436.

Yogesh Madaan
Tel: +91-7838685554 | W: www.yogeshmadaan.in http://www.yogeshmadaan.in

http://www.yogeshmadaan.in*

It working fine in my genymotion 5.1 emulator. It's weird that there's no others report this bug.

For refernce you can consider the screenshot attached in the previous bug
(dialog issue)..
On Apr 10, 2015 9:51 AM, "Rey Pham"<EMAIL_ADDRESS>wrote:

It working fine in my genymotion 5.1 emulator. It's weird that there's no
others report this bug.
—
Reply to this email directly or view it on GitHub
https://github.com/rey5137/material/issues/18#issuecomment-91424563.

Yes, I noticed it too. But without a real device, I cannot re-procedure this bug.

Ok no problem.
I will try to find the bug if I could.. Can you suggest a specific section
which I should consider first.
On Apr 10, 2015 9:55 AM, "Rey Pham"<EMAIL_ADDRESS>wrote:

Yes, I noticed it too. But without a real device, I cannot re-procedure
this bug.
—
Reply to this email directly or view it on GitHub
https://github.com/rey5137/material/issues/18#issuecomment-91424894.

@rey5137  Just repull the changes and its quite weird but its working correctly now. SO i guess we can close it.


Fix RWST Apply instance.

Fixes #29 ... Probably.
Also shuffled around the Bind Instance, as it wa a bit hard to follow.

:+1: I like it! Thanks.


3D Example - Updated Defaults

Much better defaults

Great Job. I played with it a bit. Many Interesting patterns emerge just by pressing the random button even without fine-tuning. I myself not very much into 3D but I think many people will like it and inspires them to do similar projects.


Integration Tests - Gateway Testing Flake

Current Behavior
Currently we have a flake which seems to be hitting some small percentage of test runs:
 === CONT  TestUnmanagedGatewayServiceUpdates
    gateway_test.go:248:
        	Error Trace:	gateway_test.go:248
        	Error:      	Condition never satisfied
        	Test:       	TestUnmanagedGatewayServiceUpdates

The purpose of this task is to get that sorted out.

This is not yet resolved, I have my suspicions that the problem is stemming from collisions of parallelism in the tests (e.g. occasionally the two different areas which update the service change it to close to the same time, with one test winning out) and will be investigating that further.


c++ code for simple interest

@KoduruYaswanthReddy  thnx for contributing, try this year, and make sure you follow me and star this repo for updates about special swags I will be giving.
Contribute in October for Hacktoberfest 2020


Name setting dialog

This dialog will ask for the
a) name and
b) contact
to be rendered into a dithered bitmap and finally shown to the user as a preview.
(Later on this will be sent as an image to be sent as a page to the badge.)

A+ UI is present:
Updated dithering algo, updated editors (one for the page, one for the resulting image)


[BUG] container images have no versions. Only latest

Please release and tag old container images that are stored at ghcr.io - at least 1.3.4

@siredmar sorry to reply late, now OpenYurt v1.4.0 has been released, pleas enjoy it.


EVM Chains support

Update chains.json (update CI)
Update Polkadot Vault transaction signing
Transfers in Moonbeam, Moonriver
Create multisig operations in Moonbeam, Moonriver
Check if Multisig address for Moonbeam, Moonriver is correct (compare with extisting multisig)
Check that Matrix (SMP) works with Moonbeam, Moonriver multisigs
Check if acccount identicon is correct. It should match Polkadot js apps identicon
Check if EVM chains work with Dynamic derivations key generator, Dynamic Derivations transactions.
For Single Polkadot Vault wallet create accounts for EMV chains if QR code contains ethereum address, for Substrate chains if QR code contains Substrate address.

PR plans:

Pairing accounts with EVM chains
Signing operations for EVM chains (transfer)

Status verification: ✅


Progress Saving

Hey there!
I don't think I've seen this mentioned yet, but is progress saving in the works?

Hi,
It already saves the books progress to the device, do you mean like saving it to the server for usage on other devices/clients?

do you happen to know what filetypes the books/comics you've tried reading are?

Additionally, what device/devices are you using. a little more info would be helpful

I'm so sorry - as a maintainer I should have known to give more info.
It's an .ePub, and I'm using an iPhone 12 Pro running iOS 16.3.
The Jellyfin server is running 10.8.9, the latest.

I just tested on my end as well, that seems to be the case when running .ePub files.
I will get started on reworking that to improve the .ePub experience (I'll finally add image support to it as well hopefully)

Hi, I added image support and continue reading support but epub files have proven to be a pain to deal with. I will continue to leave this open for the time being as I do not feel satisfied with my work but I will try to fix up the current system or improve it with a different system

I think this may be in a good idea to close this for the time being. I have added the stuff needed but am planning to do a full rewrite of the ePub reader soon.


Key result in chapter 10 sensitive to jittering

This issue pertains to Chapter 10 and its source code in variability.py, which estimates distributions for the mean and standard deviation of male and female heights, then uses the distributions to compute distributions for the coefficient of variation for males and females. A key result seems to be that the coefficient of variation for females is higher than that of males. However, if you remove the jittering that gets applied to the original heights, this result seems to be reversed.
variability.py line 462 applies "jittering" to the list of heights.
I also modified line 266 to print the label for the posterior mean being printed.
If you run the script with jittering, you see that the coefficient of variation for females is greater than that of males, which matches the book's result.
$ python variability.py
...
female CV posterior mean 0.04379422911488041
male CV posterior mean 0.04151490569938492
...
female bigger 1.0000000000000628
male bigger 0

The resulting plot also matches that the book:

Now if you comment-out line 462 (the jittering), and re-run the script, you see that the mean coefficient of variation is non-negligibly higher for males.
$ python variability.py
...
male CV posterior mean 0.042135070189436574
female CV posterior mean 0.039877437544664336
...
female bigger 0
male bigger 1.0000000000000615

The resulting plot reflects this result.

My instinct is to trust the second result, as it uses the data in its raw form. Still, it would be nice to understand how this simple jittering can cause such a drastic difference in the coefficient of variation.
I'll post back if I can think of any solution or explanation to this problem.

Interesting.  I will investigate as soon as I can, but it might be a little while.
Both distributions have some strange outliers, which have a disproportionate effect on the estimated CV.  I might investigate whether something is going on there.
Thanks for raising the issue.

Hi,
Talking about jittering, why do we jitter in the first place? What is the use of jittering?
We use jittering in the Variability Hypothesis also.


Update WASM AOT guidance 8.0

Fixes #30151
I'm glad you said something in spite of my working on it. This is looking much better.

Internal previews

📄 File
🔗 Preview link

aspnetcore/blazor/tooling.md
Tooling for ASP.NET Core Blazor

I have the duplicated AOT content, so I'll remove that for now.
@radekdoulik, I'm going to merge this after one more commit and go ahead and merge it to the live doc set.
Could you look it over for the two versions to see if any changes are needed for either set of remarks ...

.NET 7 version: https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-7.0&pivots=windows#net-webassembly-build-tools
.NET 8 version: https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=windows#net-webassembly-build-tools


Fix(which): match only executable files (#657)

Fixes #657.

Codecov Report

Merging #874 into master will decrease coverage by 0.06%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##           master     #874      +/-   ##
==========================================
- Coverage    95.8%   95.74%   -0.07%
==========================================
  Files          34       34
  Lines        1263     1268       +5
==========================================
+ Hits         1210     1214       +4
- Misses         53       54       +1

Impacted Files
Coverage Δ

src/which.js
93.18% <83.33%> (-1.69%)
:arrow_down:

Continue to review full report at Codecov.

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

@nfischer done

Thanks @termosa!


KeyError when connecting to partially started cluster

Hi @emmett9001
I have a Kafka cluster setup running 3 servers. I have a topic which has a replication-factor of 2. When I describe my topic, I see that Kafka configured my topic this way:
Topic: mytopic Partition: 0 Leader: 1 Replicas: 2,1 Isr: 1
So the topic is residing in Kafka servers 1 and 2. Then I start server 0 and 1 and I do not start server 2. In theory, mytopic is available on server 0, so I should be able to access this topic.
But when I start my application using pykafka 2.7.0, I'm getting a KeyError when calling:
kafka_client_object.topics["mytopic"]
Debugging into the topics property I see that my topic name is actually in the dictionary. Digging deeper I see that it's a custom dictionary of type TopicDict. Getting an item from this dict is calling getitem function on TopicDict class. Within this function, a Topic class is instantiated:
topic = Topic(self._cluster(), meta.topics[key])
In the constructor of Topic the update function is called and that's were the error originates:
if meta.id not in self._partitions:
  log.debug('Adding partition %s/%s', self.name, meta.id)
  self._partitions[meta.id] = Partition(
    self, meta.id,
    brokers[meta.leader],
    [brokers[b] for b in meta.replicas],   # <---- this line
    [brokers[b] for b in meta.isr],
  )

For mytopic meta.replicas holds 2,1 but there are only 2 brokers connected: 0,1. So when accessing broker[2] it is throwing an KeyError.
I think the solution is to just only append brokers to this list when the broker exists, but I can't oversee if this covers the whole issue.

Thanks for reporting this, @rubenbouman - it seems like an old oversight that's probably worth fixing now. I'll have to look a bit closer, though.

Thank you @emmett9001 If you need any help or testing, plz let me know!

@rubenbouman I'm unable to replicate your issue locally, but it makes sense to me theoretically. I've put together https://github.com/Parsely/pykafka/pull/804 as a potential fix. Please let me know if that change fixes your issue, as well as any other thoughts you have or information on how to replicate the error.

@emmett9001 I tested it in my environment, and the probleem indeed is fixed! Tnx for that.
My setup: 3 kafka servers on one machine making a cluster of 3 with 1 zookeeper, running kafka <IP_ADDRESS> and since today 1.1.0. I create a topic with the following settings:
bin/kafka-topics.sh --zookeeper localhost:2181 --create --replication-factor 2 --partitions 1 --topic mytopic
So a replication factor of 2 on 3 servers. When having 2 out of three Kafka servers running, my application gives the KeyError while running pykafka 2.7.0. With your fix, the KeyError is gone and the problem seems fixed!
Thanks!

Hm, that exactly matches my local testing setup (except for Kafka broker version). I wonder why it's not working. Either way, this fix seems innocuous to me and I'm happy to merge it.


Phoenix does not refresh the auth token

With the example/separate configuration for phoenix we use the auth code flow.
Over night my auth token expired and I can see the notification requests with a 401 Unauthorized.
curl 'http://localhost:20080/ocs/v2.php/apps/notifications/api/v1/notifications?format=json' -H 'Sec-Fetch-Mode: cors' -H 'Referer: http://localhost:8300/' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36' -H 'authorization: Bearer 85-r1nKx4Kq6Sa-x4XvLTXtY25MJDOn8kfmXAN_Dk2g.-slGakJdyR6pMQi0t03fPgXkN169JMRJLR7c2TEgpeM' -H 'OCS-APIREQUEST: true' --compressed -v
*   Trying ::1:20080...
* TCP_NODELAY set
* Connected to localhost (::1) port 20080 (#0)
> GET /ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1
> Host: localhost:20080
> Accept: */*
> Accept-Encoding: deflate, gzip
> Sec-Fetch-Mode: cors
> Referer: http://localhost:8300/
> X-Requested-With: XMLHttpRequest
> User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
> authorization: Bearer 85-r1nKx4Kq6Sa-x4XvLTXtY25MJDOn8kfmXAN_Dk2g.-slGakJdyR6pMQi0t03fPgXkN169JMRJLR7c2TEgpeM
> OCS-APIREQUEST: true
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 401 Unauthorized
< Date: Tue, 12 Nov 2019 09:08:13 GMT
< Content-Length: 0
<
* Connection #0 to host localhost left intact

Hmmm no in the browser the OPTIONS request fails
curl -X OPTIONS 'http://localhost:20080/ocs/v2.php/apps/notifications/api/v1/notifications?format=json' -H 'Sec-Fetch-Mode: cors' -H 'Referer: http://localhost:8300/' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36' -H 'authorization: Bearer 85-r1nKx4Kq6Sa-x4XvLTXtY25MJDOn8kfmXAN_Dk2g.-slGakJdyR6pMQi0t03fPgXkN169JMRJLR7c2TEgpeM' -H 'OCS-APIREQUEST: true' --compressed -v
*   Trying ::1:20080...
* TCP_NODELAY set
* Connected to localhost (::1) port 20080 (#0)
> OPTIONS /ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1
> Host: localhost:20080
> Accept: */*
> Accept-Encoding: deflate, gzip
> Sec-Fetch-Mode: cors
> Referer: http://localhost:8300/
> X-Requested-With: XMLHttpRequest
> User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
> authorization: Bearer 85-r1nKx4Kq6Sa-x4XvLTXtY25MJDOn8kfmXAN_Dk2g.-slGakJdyR6pMQi0t03fPgXkN169JMRJLR7c2TEgpeM
> OCS-APIREQUEST: true
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Content-Type: application/json
< Vary: Origin
< Date: Tue, 12 Nov 2019 09:44:53 GMT
< Content-Length: 74
<
* Connection #0 to host localhost left intact
{"ocs":{"meta":{"status":"error","statuscode":998,"message":"Not found"}}}%

but that is a 404 ... and contains a body ... so it is not really an OPTIONS response, but just not handled ... urgh.
I'll fix that first and then see if phoenix tries to get a new auth token when the old one expires.

OPTIONS request require an Access-Control-Request-Method header:
curl -X OPTIONS 'http://localhost:20080/ocs/v2.php/apps/notifications/api/v1/notifications?format=json' -H 'Sec-Fetch-Mode: cors' -H 'Referer: http://localhost:8300/' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36' -H 'authorization: Bearer 85-r1nKx4Kq6Sa-x4XvLTXtY25MJDOn8kfmXAN_Dk2g.-slGakJdyR6pMQi0t03fPgXkN169JMRJLR7c2TEgpeM' -H 'OCS-APIREQUEST: true' -H 'Access-Control-Request-Method: *' --compressed -v
*   Trying ::1:20080...
* TCP_NODELAY set
* Connected to localhost (::1) port 20080 (#0)
> OPTIONS /ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1
> Host: localhost:20080
> Accept: */*
> Accept-Encoding: deflate, gzip
> Sec-Fetch-Mode: cors
> Referer: http://localhost:8300/
> X-Requested-With: XMLHttpRequest
> User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
> authorization: Bearer 85-r1nKx4Kq6Sa-x4XvLTXtY25MJDOn8kfmXAN_Dk2g.-slGakJdyR6pMQi0t03fPgXkN169JMRJLR7c2TEgpeM
> OCS-APIREQUEST: true
> Access-Control-Request-Method: *
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Vary: Origin
< Vary: Access-Control-Request-Method
< Vary: Access-Control-Request-Headers
< Date: Tue, 12 Nov 2019 10:06:09 GMT
< Content-Length: 0
<
* Connection #0 to host localhost left intact

I hate it that chrome no longer shows the options requests ...
In any case the options requests returns fine.

@butonic what does the phoenix config look like?
Please make sure that it contains this option with the openIdConnect section:
"automaticSilentRenew": true

ohhhh nice! will check later!

if you grab a more recent version of phoenix it should work out of the box ....

If not: network and console logs - THX


Adding FindCUDA and NCCL to distro

Ho Soumith,
This PR is obviuously not for literal merge.
The purpose was to add FindCUDA properly - it has to be a module that you can 'cmake install' before the rest. I have cleaned up my FindCUDA repo to no use luarocks and to pull files from CMake repo - check it out.
Also the PR has my latest changes to add nccl module - so you can add both in one commit.
There are some more new modules at the end of .gitmodules - you may want to bring some of those dependencies in, too, to avoid luarocks pulling and building them. Also that makes them available on Android.
You should be able to  apply diffs for CMakeLists.txt and install.sh.

I will submit a separate one for nccl.


Inject Snippets into XML Doc Comments

Code Snippets should be pulled from files in samples directory and injected into XML documentation comments.
Code Snippets can be marked with #region and pulled in to documentation.
@AlexGhiondea @pakrym @heaths

#7928

Resolved with https://github.com/Azure/azure-sdk-for-net/pull/11808


Playground Type Inference Errors Persist After Fix

Describe the bug
In the playground, some type inference error caused by lack of type information seem to persist even after resolving the issue using type annotations.
To Reproduce
The following code correctly issues an error regarding the unknown type of temp:
namespace input {

    @EntryPoint()
    operation Main() : Unit {
        let temp = [];
        for i : Int in temp {
            Message($"{i}");
        }
    }
}

However, even after applying a type annotation to temp: let temp : Int[] = [];, the red-squiggles and error message for the type inference error persists. I can see that the error is actually resolved as I can click the "Run" button and the error go away.
Expected behavior
The red-squiggle and error message should go away as soon as I fix the issue by adding the type annotation.

I'm unable to repro this today on the playground... perhaps there is something different with latest main? @ScottCarda-MS, can you confirm whether you still see this issue?

I'm unable to repro this today on the playground... perhaps there is something different with latest main? @ScottCarda-MS, can you confirm whether you still see this issue?

No I'm definitely still able to reproduce the issue on latest main. I'm running on Windows OS using the Chrome browser, if that helps.

Is this with the published playground or locally compiled? I'm using the published playground, but I haven't tried locally compiled.

Also, I wonder if this could be a side effect of other bugs where certain things cause language server crashes. If the language server does not restart then nothing clears or regenerates diagnostics, leaving things in whatever the last state was.

This is with the locally compiled playground. I can't get the behavior to reproduce on the published playground. The language server doesn't seem like it is crashed. There are not errors reported in the browser console, and other language server features work find.

Hmm... I wonder if that points to a subtle race condition issue. The locally hosted playground might be running with different performance characteristics. For me, even trying the locally hosted playground in a few different browsers I can't get it to repro. But I know Dmitry mentioned seeing something like this too, so whatever it is, it's out there.

This is difficult to repro, @ScottCarda-MS and @minestarks seem to be the only ones who can repro it. Closing for now, and we can reopen it if we have a deterministic repro.


Videos on the feed er blacked out ?

How come alle videos on the feed is blacked out ?

Same

Same


Exception handling

This PR addresses issues in #12.
@hhsecond I'm going to merge this once you confirm that this covers the cases you need.

Merging this now. closes #16


change flag to pflag

This PR is followed by #87 .
This PR will replace flag package with spf13/pflag. The output of ./bin/node-problem-detector -h will like below:
Usage of ./bin/node-problem-detector:
      --address="<IP_ADDRESS>": The address to bind the node problem detector server.
      --alsologtostderr[=false]: log to standard error as well as files
      --apiserver-override="": Custom URI used to connect to Kubernetes ApiServer
      --hostname-override="": Custom node name used to override hostname
      --kernel-monitor="/config/kernel-monitor.json": The path to the kernel monitor config file
      --log_backtrace_at=:0: when logging hits line file:N, emit a stack trace
      --log_dir="": If non-empty, write log files in this directory
      --logtostderr[=false]: log to standard error instead of files
      --port=10256: The port to bind the node problem detector server. Use 0 to disable.
      --stderrthreshold=2: logs at or above this threshold go to stderr
      --v=0: log level for V logs
      --version[=false]: Print version information and quit
      --vmodule=: comma-separated list of pattern=N settings for file-filtered logging

At the same time, this PR also changes command line argument usage info in docs and configuration. :)
/cc @dchen1107 @kubernetes/node-problem-detector-reviewers

This change is

/lgtm

@Random-Liu This PR should be merged first before #91 . :) After this one is merged, i will rebase #91 .

@andyxning Will merge this as soon as the test passes.

@Random-Liu It's green now. :)

@andyxning Merged! :)


Write gbif_download_meta() function

Usage:
gbif_download_meta("../data/output/gbif_downloads.csv")

The script would:

Verify and report errors the input:

Can it be found?
Is it a csv file?
Has a the file a column gbif_download_key

Use rgbif occ_download_meta() to get status information for all downloads in the list
Add information for all records in the input file in the columns:

gbif_download_created
gbif_download_status
gbif_download_doi

Example of a response you'll get: http://api.gbif.org/v1/occurrence/download/0000251-150304104939900

Note: function should be part of TrIAS R package, not this repository.

Done. Function name: update_download_list.R

Done in https://github.com/trias-project/trias/pull/2. Closing issue.


Video is not available to you yet

i have setup everything and when i enter the url into the user interface it simply says video is not available to you yet

I'm presuming that you tried to download a video by putting a URL to the RT website. This is probably because the video is set to members or higher, while this tool assumes you are a guest. I haven't implemented a way to download videos through an account, but it probably wouldn't be that difficult.
Because this is mostly a leisure project, it may take a while before I get around to fixing this issue, however you can try to get around this by looking at the video page's source code (Ctrl+U in Chrome) and looking for a URL to a .m3u8 file. This is actually a playlist file, but you can try using this downloader to try grabbing it.

cant seem to find any m3u8 file in the source page found many urls though


Add contributing.md Japanese ver.

This PR translates the contributing.md to Japanese.
According to the issue: #1572
Thanks!!

@tokusumi
Thanks for the review!! 👍 I am embarrassed to many careless miss. 😓
I fixed everything. So, check my fix please.

@Attsun1031
Thank you for the suggestion.
I applied it. Check the fix please. 👍

Awesome, thank you @komtaki ! :bow: :coffee:
And thanks @Attsun1031 and @tokusumi for the reviews :nerd_face: :cake:


Enforce trailling comma styling rule

Start enforing trailling comma styling rule as soon as ktlint starts supporting it. It seems at the moment that the rule is experimental. As soon as it is deemed stable, consider enabling it.
The issue to track about its support.

Done as part of #211 (36333a3fb1cd3002913008ac2cca1c9f2ea4022b & 0fb6f0048b35ade083b88732525d761fc4497526).


codegen issues

Issues

package and tools versions are not pinned.
uses protocV4, while console is on v3.20.3.
codegen missing for envoy, xds and udpa packages.
code carryover from https://github.com/pomerium/enterprise-client without ability to test before commit - causes broken commits to main - https://github.com/pomerium/enterprise-client-python/actions/runs/3019748836/jobs/4855978582

Solution

perform python codegen in this repo
pin package and tool versions
get rid of https://github.com/pomerium/enterprise-client

I am stuck on
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

I spent many hours on this. The generated code is impossible to get working out of the box. We have to edit the files using sed and a lot of other very clunky, brittle hacks that are guaranteed to fail every time we do a release.
I will try again tomorrow.


[ERROR] AttributeError: module 'botocore.vendored.requests' has no attribute 'post' despite having import requests

Describe the bug
[ERROR] AttributeError: module 'botocore.vendored.requests' has no attribute 'post'
Steps to reproduce
import requests
import json
def resume(url, headers):
    requests.post(url, data={}, headers=headers)
def scheduleResumption(api_access_token, session_id):
    headers = {
        'Authorization': f'Bearer {api_access_token}',
        'Content-Type': 'application/json',
    }
    t = Timer(interval=30.0,
          function=resume,
          args=(f'https://api.amazonalexa.com/v1/_customSkillSessions/{session_id}/resume/', headers)
          )
    t.start()

Expected behavior
for it to POST
Debug logs
2020-11-13T02:23:33.842-05:00	[ERROR] AttributeError: module 'botocore.vendored.requests' has no attribute 'post'
                             	Traceback (most recent call last):
                             	  File "/var/lang/lib/python3.8/imp.py", line 234, in load_module
                             	    return load_source(name, filename, file)
                             	  File "/var/lang/lib/python3.8/imp.py", line 171, in load_source
                             	    module = _load(spec)
                             	  File "<frozen importlib._bootstrap>", line 702, in _load
                             	  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
                             	  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
                             	  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
                             	  File "/var/task/lambda_function.py", line 86, in <module>
                             	    requests.post(url, data = myobj)

Runtime:
tried with python 3.8 & 3.7 & have a layer that had requests library in it.

Hi @DaniyalDhz,
Requests was removed from botocore a little over a year ago in version Botocore 1.13.0. We released a blog post on October 1, 2019 which has full details on the change. Going forward, you'll want to install requests separately with pip install requests.

Hi there,
Thanks for getting back,
requests library is already in my lambda's layers. Nonetheless, I manually pip installed it to my lambda per your recommendation, as can be seen:

Nonetheless, the same error is presisting.

@DaniyalDhz - I am using layer to add dependency to my lambda function and its working correctly. This is how i am uploading my dependency to my lambda function:
pip install requests --target python

zip -r dependency.zip python

Then create a layer using this zip file and use this layer in your lambda function. In order for the dependency to work you have to put Python dependencies into either a python directory or into python/lib/python<3.x>/site-packages.
Let us know if you are still facing any issues.

@swetashre Thanks for getting back. I followed that too. Sorry, I forgot to close it.


[Automation] Generate Fluent Lite from fist#package-2023-02-08-preview

request https://github.com/Azure/sdk-release-request/issues/4265
namespace https://github.com/Azure/azure-sdk-pr/issues/1126
iotfirmwaredefense
[Automation] Generate Fluent Lite from fist#package-2023-02-08-preview

/azp run prepare-pipelines

/azp run java - iotfirmwaredefense - ci

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-resourcemanager-iotfirmwaredefense


Status changed with latest update Plugin v1.3.6

Hi,
With the latest update I get the order status being set to "completed" once someone has paid for an order, before the update the status was set to "open" and everything was good for us. Now we have trouble managing orders because the status is auto set to "completed".
Any idea why ?
Using  Plugin v1.3.6
This is the mollie plugin conf :
https://i.ibb.co/x7xRbsd/2020-11-25-163747.png
https://i.ibb.co/B2zppJ3/2020-11-25-163705.png

Hi Marcel, are you aware that you can manage the order states in the plugin configuration yourself?

You are so right ! I misunderstood the "order status" field.


pubsub: remove publisher flowcontrol

@jabubake I need to remove getPublisherWithCustomFlowControlSettings because flowcontrol on publisher is going away. I can't find reference to it in this repo; is it used somewhere else?

Changes Unknown when pulling efefaed0c764a408e2fb302099a09f87ccd8de2b on pongad:rm-pub-fc into ** on GoogleCloudPlatform:master**.

Changes Unknown when pulling c4c5db2f434a57de62092ebaa3c13e274342f720 on pongad:rm-pub-fc into ** on GoogleCloudPlatform:master**.


fix(backwards-compatible): adjustments so kong-build-tools is backwards compatible and a CI check to verify as such

Adjust kong-build-tools to be backwards compatible to 2.8.0

I'd also like to see the changes to re-enable the buffered output as a separate commit or even revert commit (of the commit that disabled them).


⚠ HopeAlley Ecards has degraded performance

In 8bac909, HopeAlley Ecards (https://hopealley.com/ecards) experienced degraded performance:

HTTP code: 200
Response time: 6657 ms

Resolved: HopeAlley Ecards performance has improved in 4295882.


Make blot logo in tab black

It's not visible right now when the tab is selected.

Hello @leomcelroy , iam chaste , iam also the member of hack club , may you please give me more information about that issue, thanks

i have changed that shortcut icom, iam waiting hack club to merge the pull request


Stuck on loop fetching nostr.json

Describe the bug
If NIP-05 nostr.json fails, nostr.watch get's stuck fetching it over and over again.
Nothing else works after that happens.
To Reproduce
See the console logs for:
https://nostrex.fly.dev/.well-known/nostr.json
Expected behavior
nostr.watch should retry the failed nostr.json with an exponential backoff and bail after 3 to 5 tries.
Screenshots

Desktop (please complete the following information):

OS: Mac OS
Browser: Chrome

Additional context
Add any other context about the problem here.

The fix will be on http://next.nostr.watch in a few moments, after I've confirmed everything is good and there's no migration issues, I'll push to production.
Thanks again!

Had to do a bit more work than anticipated, however, the production deploy is now in progress.


Accept compatible versions of stdlib

5.x will also be compatible, so this should accept that, too.
https://github.com/puppetlabs/puppetlabs-stdlib#version-compatibility

@ghoneycutt thanks for the contribution, but since stdlib5 does not exist yet we can't be certain it will be compatible with the usage of stdlib4 in this module. Once stdlib5 is more solidified we will adjust dependencies accordingly.


Whois not able to gather data

VT and Shodan are working as expected. PT is not configured, since no account is possible now. Whois output is red, "unable to gather data".

@Spiegel-Leser this sounds like VT not being able to get whois data for the domain. Does it happen on every query or just some? If the latter, mind sharing which domain/s whois is failing on? Thanks!
Also aware of PT being eventually losing free tier access (see #20 ) and currently looking for alternatives. Meantime there is a kind of hack where you can still sign up using this link (if you are so inclined to get a free PT account).

It happens reproducible with some domains. All have in common a german
suffix (.de), like wikipedia.de or google.de. On the other hand,
amazon.com works.
I'll try the hack, thx.
Am 31.10.22 um 01:44 schrieb joon:

@Spiegel-Leser https://github.com/Spiegel-Leser this sounds like VT
not being able to get whois data for the domain. Does it happen on
every query or just some? If the latter, mind sharing which domain/s
whois is failing on? Thanks!
Also aware of PT being eventually losing free tier access (see #20
https://github.com/pirxthepilot/wtfis/issues/20 ) and currently
looking for alternatives. Meantime there is a kind of hack where you
can still sign up using this link
https://community.riskiq.com/registration/ (if you are so inclined
to get a free PT account).
—
Reply to this email directly, view it on GitHub
https://github.com/pirxthepilot/wtfis/issues/25#issuecomment-1296405679,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPT2MJFZLN4B4SI7SPQ7FDWF4I7JANCNFSM6AAAAAARSS7QI4.
You are receiving this because you were mentioned.Message ID:
@.***>

Latest version (v0.4.0) (PR #31) adds an additional whois source (ip2whois.com) which offers 500 free queries per month. I find the data isn't as good as PT (for example it's still not able to pull whois from .de domains) but it's better than what VT provides. I will keep looking for more quality whois sources.


Demo Doesnt Work

Missing Fontawesome.otf file after installing pods

It's necessary to run git submodule update --init to fetch the Font-Awesome repository.


Not able to install pcl through vcpkg

I have installed ROS on y windows machine. I am using VS 2019 and VS code.  I have tried the way it is wriiten in the support to install ros. Now when I am trying to install pcl, it is showing error. screenshot is below.

Warning: Different source is available for vcpkg (2020.6.15 -> 2020.2.4). Use .\bootstrap-vcpkg.bat to update.
The vcpkg.exe is out of date with the ports being installed.
Follow the boldface instructions and try to install pcl again.

Hi @RajatGarg1
Thanks for posting this issue.
Please do as @StarGate-One suggested above. Run \bootstrap-vcpkg.bat  first, then try to rebuild.

I tried this. First ran .\bootstrap-vcpkg.bat then build vcpkg.exe
Stilll such error is occuring

@RajatGarg1 you many need to create a new vcpkg instance and try again.

It seems that x86-windows triplet is not detected in your Visual Studio.
Could you please try to build the triplet x64-windows ? run .\vcpkg install pcl:x64-windows

@RajatGarg1
Is this still a problem for you?

I shifted to linux. I'll still try after sometime.

I'm closing this issue for now since seems no update.
Please feel free to reopen this issue if it is still a problem for you.


Custom 404 Page

Is there a way to easily customise the 404 response - for instance with a custom page?
I also tried to add my catch-all route in the route entry file and associate it with a not-found-page: however, this results in a 200. Is there a way to define the 404 status code in the page lifecycle?

Is there a way to define the 404 status code in the page lifecycle?

Yep, it's not well documented, but you should be able to do this by adding hasDocument to your response from handleRoute:
class NotFoundPage {
    handleRoute() {
        return {code: 404, hasDocument: true};
    }

    getElements() {
        return <Awesome404 />;
    }
}

@gigabo That works, thank you. I could open a PR for documenting this somewhere in the docs (maybe where I would have expected to find it). Maybe one of the examples could also have a custom 404 page?

@feychou Yeah, that would be awesome!

This was fixed in #893; closing


urlize: "@a@b" isn't a valid e-mail, don't mailto:ise it

This chases https://lists.sr.ht/~sircmpwn/sr.ht-dev/<lelaromu5mjgibe6jywrc2iwoikon2piwo2h34rcsyjhbyge5y%40fdtowru7pv5e> and thus https://101010.pl/<EMAIL_ADDRESS>It's a common way to spell both "a user of some site" but also universal in the mastodon world. None of these are valid e-mail addresses (especially since urlize makes<EMAIL_ADDRESS>into <a href="mailto:@eater@cijber.social"><EMAIL_ADDRESS>which straight-up just isn't really a valid e-mail address anyway).
Checklist:

[x] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
[ ] Add or update relevant docs, in the docs folder and in code. – I don't think this is needed, since @a@b isn't really a valid email anyway and it was erroneously accepted
[x] Add an entry in CHANGES.rst summarizing the change and linking to the issue.
[ ] Add .. versionchanged:: entries in any relevant code docs. – Likewise
[x] Run pre-commit hooks and fix any issues.
[x] Run pytest and tox, no tests failed.

Four-month bump

It looks like you didn't enable "allow pushes from maintainers" for this PR, so I can't update it to prepare for merge. I'll open a new PR to continue.


v0.0.9  Cannot find module 'n-readlines'

I updated vscode and this plugin.
Plugin not working and vscode Developer tools show Cannot find module 'n-readlines'

Change to v0.0.7 is worked.

vsce does not post install the dependencies from package.json file.

it turn that it is a yarn  issue from vsce https://github.com/microsoft/vscode-vsce/issues/497
new version is coming

Still the same

v0.0.12 is out, build by an older version of vsce just tested on linux and works as expected.
Please try to update the extension again.

@stef-k : v0.0.12 It's OK. Thanks!


⚠ Bofrost.de has degraded performance

In 4300535, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2754 ms

Resolved: Bofrost.de performance has improved in d17d59d.


SourceGenerator seems to be running multiple times?

Hello,
Thanks for this package... It's been very helpful.
I am suddenly getting a bunch of errors on build from the analyzer, such as:
Project\ReactiveMarbles.ObservableEvents.SourceGenerator\ReactiveMarbles.ObservableEvents.SourceGenerator.EventGenerator\SourceClassSystem.Windows.Controls.CheckBox-InstanceEvents.SourceGenerated.cs(4,20,4,36): error CS0101: The namespace 'System.Windows.Controls' already contains a definition for 'RxCheckBoxEvents'
Project\ReactiveMarbles.ObservableEvents.SourceGenerator\ReactiveMarbles.ObservableEvents.SourceGenerator.EventGenerator\SourceClassSystem.Windows.Controls.ListView-InstanceEvents.SourceGenerated.cs(4,20,4,36): error CS0101: The namespace 'System.Windows.Controls' already contains a definition for 'RxListViewEvents'
Project\ReactiveMarbles.ObservableEvents.SourceGenerator\ReactiveMarbles.ObservableEvents.SourceGenerator.EventGenerator\TestExtensions.SourceGenerated.cs(25,20,25,59): error CS0101: The namespace 'ReactiveMarbles.ObservableEvents' already contains a definition for 'GenerateStaticEventObservablesAttribute'
Project\ReactiveMarbles.ObservableEvents.SourceGenerator\ReactiveMarbles.ObservableEvents.SourceGenerator.EventGenerator\TestExtensions.SourceGenerated.cs(40,21,40,31): error CS0101: The namespace 'ReactiveMarbles.ObservableEvents' already contains a definition for 'NullEvents'
Project\ReactiveMarbles.ObservableEvents.SourceGenerator\ReactiveMarbles.ObservableEvents.SourceGenerator.EventGenerator\TestExtensions.SourceGenerated.cs(24,6,24,20): error CS0579: Duplicate 'AttributeUsage' attribute
Project\ReactiveMarbles.ObservableEvents.SourceGenerator\ReactiveMarbles.ObservableEvents.SourceGenerator.EventGenerator\TestExtensions.SourceGenerated.cs(15,34,15,40): error CS0111: Type 'ObservableGeneratorExtensions' already defines a member called 'Events' with the same parameter types
Project\ReactiveMarbles.ObservableEvents.SourceGenerator\ReactiveMarbles.ObservableEvents.SourceGenerator.EventGenerator\TestExtensions.FoundEvents.SourceGenerated.cs(6,72,6,78): error CS0111: Type 'ObservableGeneratorExtensions' already defines a member called 'Events' with the same parameter types
Project\ReactiveMarbles.ObservableEvents.SourceGenerator\ReactiveMarbles.ObservableEvents.SourceGenerator.EventGenerator\TestExtensions.FoundEvents.SourceGenerated.cs(7,72,7,78): error CS0111: Type 'ObservableGeneratorExtensions' already defines a member called 'Events' with the same parameter types
Project\ReactiveMarbles.ObservableEvents.SourceGenerator\ReactiveMarbles.ObservableEvents.SourceGenerator.EventGenerator\TestExtensions.SourceGenerated.cs(31,16,31,55): error CS0111: Type 'GenerateStaticEventObservablesAttribute' already defines a member called 'GenerateStaticEventObservablesAttribute' with the same parameter types
Project\ReactiveMarbles.ObservableEvents.SourceGenerator\ReactiveMarbles.ObservableEvents.SourceGenerator.EventGenerator\SourceClassSystem.Windows.Controls.ListView-InstanceEvents.SourceGenerated.cs(7,16,7,32): error CS0111: Type 'RxListViewEvents' already defines a member called 'RxListViewEvents' with the same parameter types
Project\ReactiveMarbles.ObservableEvents.SourceGenerator\ReactiveMarbles.ObservableEvents.SourceGenerator.EventGenerator\SourceClassSystem.Windows.Controls.CheckBox-InstanceEvents.SourceGenerated.cs(7,16,7,32): error CS0111: Type 'RxCheckBoxEvents' already defines a member called 'RxCheckBoxEvents' with the same parameter types

I've tried cleaning, deleting bin and obj, deleting the %appdata% VS generated files temp folder, restarting the computer. Failed in VS and dotnet build.
Is this a known issue? Any ideas? Is the generator actually emitting duplicates? It doesn't appear so when I look under the Analyzer.
Thanks in advance for any ideas. I'm unable to develop until I figure it out.

Not a known issue, are you including the nuget from multiple projects without doing the PrivateAssets="all" by chance?

No, I can confirm that both are not the case. Not multiple projects, and the project has PrivateAssets="all".
I'll try to clear the vs cache, but it happens with dotnet build too... I'll also try another machine in the morning. It's a strange one.
Thanks for the quick reply.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Glenn @.>
Sent: Tuesday, July 12, 2022 6:31:30 PM
To: reactivemarbles/ObservableEvents @.>
Cc: Jeremy Navarro @.>; Author @.>
Subject: Re: [reactivemarbles/ObservableEvents] SourceGenerator seems to be running multiple times? (Issue #130)
Not a known issue, are you including the nuget from multiple projects without doing the PrivateAssets="all" by chance?
—
Reply to this email directly, view it on GitHubhttps://github.com/reactivemarbles/ObservableEvents/issues/130#issuecomment-1182632323, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANVGSSXEGPIJXVPU4YAOFRLVTYE6FANCNFSM53MPM44A.
You are receiving this because you authored the thread.Message ID: @.***>

Hmm. Keep me in the loop and I will see if I can help.
Definitely a weird one.

Hello, I've also got this bug after update VS to version 17.2.6. May be .net version 6.0.7 have some breaking changes because "dotent build" command gives me the same error
https://github.com/dotnet/roslyn/issues/62582 - seems to be same problem with source generators

See my comment here https://github.com/dotnet/roslyn/issues/62582#issuecomment-1183103168
Definitely seems related to 6.0.7

We are also seeing this issue. Our only change was to move from SDK 6.0.6 to 6.0.7

Seems to be fixed downwind in dotnet


:seedling: update to new wizard for assessment-wizard and custom-wizard-footer

Would like some thorough testing on this.
#1244

@gitdallas haha sorry about that! You can create a stakeholder in the "controls" section of the app.

Looking good - just a few small comments re: leftover function & useMemo usage.