Adding subtitles

While using this plugin in PHT I see that I can toggle between the different audio tracks. (something I can't do in the web-browser)
Subtitles are somehow not passed through.
Is it possible to make subtitles selectable?

This is nothing the channel can control. The channel passes the video/audio stream to the client. You have to check the tvh profile settings for subtitle transport.


Unable to load jpg format file correctly using load_jpg_from_buffer

Tested versions
v4.2.1.stable.official [b09f793f5]
System information
Windows11 v4.2.1.stable.official [b09f793f5]
Issue description

Unable to load images properly using the load_jpg'from'buffer method,

Steps to reproduce
no have
I guess it's similar to this question   https://github.com/godotengine/godot/issues/45523
Minimal reproduction project (MRP)
no have

Thanks for the report! Consolidating in https://github.com/godotengine/godot/issues/45523, as this is due to the same cause.

min.zip
I have selected 2 unsuccessful images and placed them in ZIP. How long will it take to fix this issue

I have selected 2 unsuccessful images and placed them in ZIP. How long will it take to fix this issue

Thanks :slightly_smiling_face:
We can't give a date when this will be fixed, as we don't know how difficult it is to resolve the issue. Most contributors are volunteering their time, so we can't give an ETA.


@module-federation/node doesn't revalidate express

Hello
Awesome node plugin but I have troubles while revalidation.
Steps to reproduce problem:

Download this repo https://github.com/module-federation/module-federation-examples/tree/master/server-side-rendering.
Update @module-federation/node to 0.9.4
Change webpack output from

output: {
    path: path.resolve(__dirname, "../dist/server"),
    filename: "[name].js",
    libraryTarget: "commonjs-module",
  }

to
output: {
    path: path.resolve(__dirname, "../dist/server"),
    filename: "[name].[chunkhash].js",
    libraryTarget: "commonjs-module",
  }

in remote1 and remote2 projects
4) Add new route '/revalidate' to shell like this:
app.get('/revalidate', async (req, res, next) => {
    revalidate();
    res.send();
  });

Build and serve all the repos -> All is fine localhost:3000 starts serve all remotes and local files
Change code in remote1 and rebuild remote1 project
If you go to route '/revalidate', you will see this in server console

remote1 hash is different - must hot reload server

but nothing happens.
Only "fail while hydrating" errors in browser console
If I add route '/revalidation' like this
global.clearRoutes = () => {
    app._router.stack = app._router.stack.filter(
        k => !(k && k.route && k.route.path)
    )
  }

revalidate().then((shouldReload) => {
      if(shouldReload) {
        global.clearRoutes()
      }
    });

Express starts shows Get errors, because it has no routes after clearRoutes :)

What am I doing wrong?

You need to implement your own revalidation mechanism - I just provide the hook

If youre hitting revalidation after hot reload happens then you might be clearing the route stack out of sync so nothing gets reloaded into express. I do have standard ssr apps that demo this reloading concept, might be worth looking at those or sending me a repo


WEB3-119: vendor git dependencies

This PR adds the following unpublished crate as a vendored module to Steel:

https://github.com/ralexstokes/ethereum-consensus/tree/cf3c404043230559660810bc0c9d6d5a8498d819

Closing this PR for now. We may revisit this in the future.


[WIP] added example of beta series regression

I have made some changes. If you are satisfied we can merge.

LGTM. Thx for the improvements.
Best,
Bertrand

Add an entry in Whats_new under NEW


Initialize action

Alright so this is sort of working so now let's enhance it a little bit.

On our teal.code example it takes 11 mins to complete. Almost twice as the long as the longest one before that PR. Let me dig more into that. We might request adding new packages into the CI image. I am thinking about pak in particular as it has "building pak dependency data, this can take several minutes" step during installing and from what I can observe - they don't lie :) I am running profiler to visualise what takes the most of the time - will publish when complete.
I want to make this customisable. It would be the best to re-use existing workflow that has many useful parameters (e.g. --as-cran flag + one env var). If not possible - can we allow to specify env vars as well as args argument into rcmdcheck::rcmdcheck()? I personally think it would be good enough - then we could leverage standard R CMD CHECK parameterisation as well as rcmdcheck package customization. Please decide and document that. My only concern is that we will be having two separate logic for basically the same thing which might be a little confusing...

So finally I got the profiler report but that doesn't give me a lot of new insights :(
flame graph:

(ordered) tree view:

First of all I have huge doubts if this really present elapsed time on my machine. The functions we are calling make a heavy use of (mainly async) calls to child R processes. The result are very biased because of that. I am going to focus on percentages and not absolute values.

Required package installation
This step represents <2% of the overall time so it's very minimal. Let's forget about the pre-installing packages in the image.
As expected, the flamegraph is very scattered. I needed to execute download, build and install for 81 packages. Each box represents each step.
Our function takes ~4% of overall time. Most of the time is consumed by install and download step. Here there is very little we can do as we are interacting on the level of "installation plan" object. As a consequence, I won't focus on optimisation of our function. I need to explore customisation possibilities of methods applied on "installation plan" object.
Within our function, most of the time was consumed on querying CRAN-like package data. Again, there is little we can do here - maybe avoid if not necessary but the gain would be very minimal.

pkgdepends claims to install packages in parallel. This report comes from a run inside a single CPU container. I have made a quick test on my local machine and the difference is noticeable. But here I assume we can't do much as we probably are using singleCPU runner. I don't want to introduce any $$ costs just because of it.

Overall I don't think we can make a huge progress on optimisation.

I have not been successfully executing this locally.
So from my terminal, I run:
 Rscript r-min-deps-check-action/rmindepscheck.R teal.code

Then I got this message:
Extract minimal versions of package dependencies...
ℹ Getting 1 pkg with unknown size
✔ Got teal.code <IP_ADDRESS>00 (source) (96 B)
✔ Loading metadata database ... done
ℹ Creating library directory: /var/folders/2q/3msvdr052rbctgldyf85xy240000gp/T//Rtmphie8MD/file70195430f368
---
Package dependencies using minimal verison strategy:
 [1]<EMAIL_ADDRESS>
 [2]<EMAIL_ADDRESS>
 [3]<EMAIL_ADDRESS>
 [4]<EMAIL_ADDRESS>
 [5]<EMAIL_ADDRESS>
 [6]<EMAIL_ADDRESS>
 [7]<EMAIL_ADDRESS>
 [8]<EMAIL_ADDRESS> [9]<EMAIL_ADDRESS>
[10]<EMAIL_ADDRESS>
[11]<EMAIL_ADDRESS>
[12]<EMAIL_ADDRESS>
[13]<EMAIL_ADDRESS>
---
Solve package dependencies...
Solution:
<pkg_solution>
+ result: FAILED
+ refs:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>+ constraints (410):
  - `websockets` resolution failed
  - select styler exactly once
  - select cli exactly once
  - select R6 exactly once
  - select magrittr exactly once
  - select shiny exactly once
  - select knitr exactly once
  - select testthat exactly once
  - select crayon exactly once
  - select lifecycle exactly once
  ...
x failures:
*<EMAIL_ADDRESS>  * Can't install dependency purrr
  * Can't install dependency tibble
* purrr:
  * Can't install dependency cli (>= 3.4.0) (>= 1.0.3) (>= 1.5.0) (>= 0.4.10)
  * Can't install dependency lifecycle (>= 1.0.3) (>= 1.5.0) (>= 0.4.10)
  * Can't install dependency magrittr (>= 1.5.0) (>= 0.4.10)
  * Can't install dependency rlang (>= 0.4.10)
* cli: Conflicts with<EMAIL_ADDRESS>* lifecycle: Conflicts with<EMAIL_ADDRESS>* magrittr: Conflicts with<EMAIL_ADDRESS>* rlang: Conflicts with<EMAIL_ADDRESS>* tibble:
  * Can't install dependency lifecycle (>= 1.0.0) (>= 1.0.2)
  * Can't install dependency rlang (>= 1.0.2)
*<EMAIL_ADDRESS>Can't install dependency websockets (>= 1.1.6)
* websockets: Can't find package called websockets.
*<EMAIL_ADDRESS>Can't install dependency stringr
* stringr:
  * Can't install dependency lifecycle (>= 1.0.3) (>= 1.0.0)
  * Can't install dependency rlang (>= 1.0.0)
*<EMAIL_ADDRESS>Can't install dependency R6 (>= 2.2.0)
* R6: Conflicts with<EMAIL_ADDRESS>*<EMAIL_ADDRESS>Can't install dependency rlang (>= 0.4.0)
*<EMAIL_ADDRESS>Can't install dependency shiny
* shiny: Conflicts with<EMAIL_ADDRESS>*<EMAIL_ADDRESS>Can't install dependency knitr (>= 1.6)
* knitr: Conflicts with<EMAIL_ADDRESS>Error: Dependency solver resulted in error - please see the log for details
Execution halted

Did I miss anything?

Hi @donyunardi - this is a log from erroneous run. Clean example is available at teal.code@min_deps and clean run available in https://github.com/insightsengineering/teal.code/pull/104.
Please find below an explanation of this in the plain english but before we go let me ask you to go back, read that again, try to understand by yourself and come back here to confirm (and report if something needs improvement). Readable log output is critical here as we are expecting lots of errors and it's important to make it clear for developers so that they know what to fix.

Package dependencies using minimal verison strategy: -> below that line we have packages and its versions derieved from DESCRIPTION file using minimal version strategy. If version in DESCRIPTION file is not specified - we need to take the lowest available. This is your input:

Depends:
    R (>= 4.0)
Imports:
    checkmate,
    crayon,
    lifecycle,
    methods,
    R6,
    rlang,
    shiny,
    styler,
    teal.widgets (>= 0.2.0)
Suggests:
    cli,
    knitr,
    magrittr,
    rmarkdown,
    testthat (>= 2.0)

And this is the output in form of GitHub reference (i.e. org/repo@tag):
Package dependencies using minimal verison strategy:
 [1]<EMAIL_ADDRESS>
 [2]<EMAIL_ADDRESS>
 [3]<EMAIL_ADDRESS>
 [4]<EMAIL_ADDRESS>
 [5]<EMAIL_ADDRESS>
 [6]<EMAIL_ADDRESS>
 [7]<EMAIL_ADDRESS>
 [8]<EMAIL_ADDRESS> [9]<EMAIL_ADDRESS>
[10]<EMAIL_ADDRESS>
[11]<EMAIL_ADDRESS>
[12]<EMAIL_ADDRESS>
[13]<EMAIL_ADDRESS>

Solve package dependencies... - below that line we execute dependency solver and print the resulting object. This should include failures (if any). You have got some:

*<EMAIL_ADDRESS>  * Can't install dependency purrr
  * Can't install dependency tibble

When trying to install<EMAIL_ADDRESS>it's impossible to install its dependencies purrr and tibble. Versions are not provided so we have to continue reading
* purrr:
  * Can't install dependency cli (>= 3.4.0) (>= 1.0.3) (>= 1.5.0) (>= 0.4.10)
  * Can't install dependency lifecycle (>= 1.0.3) (>= 1.5.0) (>= 0.4.10)
  * Can't install dependency magrittr (>= 1.5.0) (>= 0.4.10)
  * Can't install dependency rlang (>= 0.4.10)

First of all please be aware of https://github.com/r-lib/pkgdepends/issues/302 - there are too many version prints and we have to analyse only the first one.
We can't install purrr (version not provided - i.e. base install of highest available) because of few dependencies.
purrr depends on<EMAIL_ADDRESS>but you requested<EMAIL_ADDRESS>in DESCRIPTION file - conflict
purrr depends on<EMAIL_ADDRESS>but you requested<EMAIL_ADDRESS>in DESCRIPTION file - conflict
(and so on)
*<EMAIL_ADDRESS>Can't install dependency websockets (>= 1.1.6)
* websockets: Can't find package called websockets.

There is no shiny version specified -> take the lowest available (i.e. 0.2.3) which depends on websockets >= 1.1.6 but this package is not available on CRAN anymore (it is archived).
In order to fix that you would have to increase the version of dependencies and rerun (re-solve) it again to check it correctness. From what I experienced on my own - that would be multiple iterations.

Please note that you failed quite fast and didn't enter the install step that takes the most of the time. That's the big advantage of creating and resolving installation plan.

I have a nice chat about this with @danielinteractive and he suggested me to make a package out of it. Thinking about this for a while and I think it's a great idea and there are many good reasons to do it including usage outside of GHA, script dependency management (discussed here), future development (enhancements and bug fixes), discussions, testability and others. Then this action would just call depscheck::mindepscheck(<some args>) so it could be even a one-liner.
That is achievable in the mid term but let's continue with scripts for now - I don't want to block it until package will be ready to use.
Nevertheless, it has some immediate impact in form of naming. I think that the new package name will be depscheck and it would have mindepscheck() as well as maxdepscheck() functions (not discussed here but I think it's also relevant). Therefore I think that this action should be named r-depscheck-min-action or r-mindepscheck-action (and in the future we would have r-depscheck-max-action or r-mindepscheck-action respectively). My intention is to be as close as package name. What do you think? Please decide and change the repo name (and docs) accordingly.
Also, an ask to @cicdguy - please create a new repo depscheck. I will do the rest including PR here.

@pawelru
Thanks for the explanation. I understand this better now.
While I believe that the concept is sound, I think it is important to be mindful of how we declare the Remotes.
For example, using your latest commit in insightsengineering/teal.code#104, we're pulling styler from r-lib/styler and I encounter this error:
Package dependencies using minimal verison strategy:
 [1]<EMAIL_ADDRESS>
 [2]<EMAIL_ADDRESS>
 [3]<EMAIL_ADDRESS>
 [4]<EMAIL_ADDRESS>
 [5]<EMAIL_ADDRESS>
 [6]<EMAIL_ADDRESS>
 [7]<EMAIL_ADDRESS>
 [8]<EMAIL_ADDRESS> [9]<EMAIL_ADDRESS>
[10]<EMAIL_ADDRESS>
[11]<EMAIL_ADDRESS>
[12]<EMAIL_ADDRESS>
[13]<EMAIL_ADDRESS>...
x failures:
*<EMAIL_ADDRESS>Can't install dependency devtools
* devtools: Can't install dependency testthat (>= 3.1.5)
* testthat: Conflicts with<EMAIL_ADDRESS>Error: Dependency solver resulted in error - please see the log for details
Execution halted

Notice how it's trying to pull<EMAIL_ADDRESS>If I change the Remotes value to cran/styler, it will pull different styler version and the pipeline ran successfully.
Package dependencies using minimal verison strategy:
 [1]<EMAIL_ADDRESS>
 [2]<EMAIL_ADDRESS>
 [3]<EMAIL_ADDRESS>
 [4]<EMAIL_ADDRESS>
 [5]<EMAIL_ADDRESS>
 [6]<EMAIL_ADDRESS>
 [7]<EMAIL_ADDRESS>
 [8]<EMAIL_ADDRESS> [9]<EMAIL_ADDRESS>
[10]<EMAIL_ADDRESS>
[11]<EMAIL_ADDRESS>
[12]<EMAIL_ADDRESS>
[13]<EMAIL_ADDRESS>
...
✔ Installed rappdirs 0.3.3  (121ms)
✔ Packaged styler 1.0.0 (2s)
ℹ Building styler 1.0.0
✔ Installed sass 0.4.5  (615ms)
✔ Installed sourcetools 0.1.7-1  (37ms)
✔ Installed xtable 1.8-4  (40ms)
...

Typically, R packages can be found in both CRAN and organizational repositories like GitHub, and sometimes they may not be synchronized properly, resulting in the program selecting different versions of the styler depending on where it is being retrieved. Should we prioritize CRAN if it exist there for consistency?

@walkowif can you please add additional check_args, build_args as well as env_vars parameters into the workflow definiton? I will work on the implementation in the RScript in parallel. Then I guess we are good to go.

@pawelru No problem, I've added them as check-args, build-args and additional-env-vars to keep parameter naming consistent.

Thanks. I think it's good to go 🚀
I assume there would be updates into this as we will be moving the logic into a separate package. For now it's good enough.

One question though - what should be the trigger for this action taking into consideration time to completion?


[BUG] Clientside oscilloscope error

People are getting this clientside error, not sure how to replicate
addons/wire/lua/entities/gmod_wire_oscilloscope.lua:40: attempt to call method 'AddNode' (a nil value)
  1. func - addons/wire/lua/entities/gmod_wire_oscilloscope.lua:40
   2. unknown - lua/includes/extensions/net.lua:33
   0.  func - addons/wire/lua/entities/gmod_wire_oscilloscope.lua:40
    1.  unknown - lua/includes/extensions/net.lua:33

It's a gmod bug. The entity didn't get its lua table initialized yet in clientside. I'll add a workaround.


Create Just Fat it! CF

Did you just create 8 PR's which are completely unrelated to this repository on two of your GitHub accounts just to score Hacktoberfest PR's?
This is unacceptable. I'll label all of your PR's as spam and make sure you won't be allowed to participate.

These are not completely unrelated. These are my codes for competitive
programming from codeforces. It's up to you if you want to accept or not.
Thanks
Shraddha Arora
On Wed, 14 Oct 2020, 16:17 NullDev (Chris<EMAIL_ADDRESS>wrote:

Did you just create 8 PR's which are completely unrelated to this
repository on two of your GitHub accounts just to score Hacktoberfest PR's?
This is unacceptable. I'll label all of your PR's as spam and make sure
you won't be allowed to participate.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NLDev/Hacktoberfest-2020-FizzBuzz/pull/657#issuecomment-708322076,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARHEBP2HROOFOVCBDYGP4R3SKV6TDANCNFSM4SQNH2MQ
.

How are they related to a repository about creative/extraordinary FizzBuzz solutions?
Have you checked the ReadMe, especially the part called ":exclamation: READ BEFORE CONTRIBUTING"?


[REF] show spender and use correct icons

can we make the primary and secondary buttons here blue?

can we make the primary and secondary buttons here blue?

They are blue for the BitPay build. That's a Copay screenshot.


chore: enable semantic release

Fix #17

:tada: This PR is included in version 3.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Added missing method in Submission type definition

Added missing method submitCrosspost() to the Submission type definition file.

Thanks!


Bot stops with moving or doing anything after a while...

Expected Behavior
The Bot should keep running without a stop...
Actual Behavior
After a certain amount of time, which is really random now, it just stops and does nothing at all.
Steps to Reproduce
Run the bot with default configurations. It will run for like 20mins sometimes and then even the logs in the terminal stop showing up.
 [CP 211] [Potential 0.38] [S/A/D 2/11/4] 2016-08-08 02:50:04,935 [PokemonCatchWorker] [INFO] [threw_pokeball] Used Pokeball, with chance 37.43 (99 left)

I get movement updates on the map, but no activity on the command line. Not ever the "moving to fort" or "walking" updates. I've disabled the move_to_fort and spiral worker separately, as well as the the recycle worker, but it still persists.

@josegrobles Remove your API key from the Config. Also use this config:

http://pastebin.com/yp5MV9Kt

As there have been many updates since this issue was posted, I'm assuming this has been resolved.


Mixed content images: Can't load images via http over secure site

As a ghost pro customer, my backend lives on ghost.io, served over HTTPS, but my frontend is served over http. Fittingly, any images I upload to my blog are then served over http
Right now, the app is blocking these images for security reasons:
Mixed Content: The page at 'https://novaugust.ghost.io/ghost/699/' was loaded over HTTPS, but requested an insecure image 'http://blog.novaugust.net/content/images/2015/10/output_QuBpPn.gif'.
This request has been blocked; the content must be served over HTTPS.

@felixrieseberg I thought this could be fixed in main/entry.js by adding the allowDisplayingInsecureContent key to the browser window instantiation, but it doesn't appear to work for me; I'm still getting mixed content errors. Any ideas?
    mainWindow = new BrowserWindow({
        width: mainWindowState.width,
        height: mainWindowState.height,
        x: mainWindowState.x,
        y: mainWindowState.y,
        allowDisplayingInsecureContent: true,
        show: false
    });

Found the problem. BrowserWindow doesn't pass on its options to the webview tag. Looks like there's an issue open to fix it, but not much activity around it: https://github.com/atom/electron/issues/2749

Thanks for the research! In the meantime, we can add the disablewebsecurity to the webview tag, which should achieve the same thing.

Since you already did all the work, want to PR? I'd feel dirty for taking it. It's a one-line change ;-)

@felixrieseberg sure :+1:

Thanks Matt, Thanks Bhargav :+1:
(Also, Matt: You're gonna be at EmberConf, right?)

@felixrieseberg Me and a bottle of fine whiskey are looking forward to seeing you again :D


Handle 403, 404

Update handling of 400 error codes such that:

403: Handle the same way as 401
404:

Attempt to find credentials from normal sources
Do not prompt if credentials are not found

not_prompting:

Allow discovery of credentials when not prompting

Addresses #69

@frostming Thanks for accepting this contribution.
Any idea how long it will be until this is picked up in PDM?

0.11.0 is released, you can get this feature by upgrading unearth.

It seems this causes a regression on some indexes that return 403 on not found. For example: https://download.pytorch.org/whl/numba/
When it fails to get that package on not found, it returns a 403 instead of 404, so that it will prompt for username and password.
The situation is complicated because some index return 403 on 401, while some return 403 on 404, that's quite unfortunate.
@logangrado


Add backward support for erf and erfc

Merged to main
https://github.com/tenstorrent-metal/tt-metal/pull/5897


v3.12.0-beta2 Hit area for Image GO is broken if you replace the textureId

I just create a simple image and the hit area is double the size. I set the texture and the new width/height:
    planet.setTexture(textureId256);
    planet.displayWidth = 55;
    planet.displayHeight = 55;

    // wait a bit
    planet.setTexture(textureId128);
    planet.displayWidth = 55;
    planet.displayHeight = 55;

Steps to reproduce:

Add image with texture of size 256x256 and set interractive and add pointerdown event
After a bit of time replace the texture with one that is 128x128
Click on the right of the new image and you point down on the image to the right it will be hit, it should not be.

I even added the following, but this will not hit anything at all, not sure if is another bug, or I don't know how to use it.
`
      const shape = new Phaser.Geom.Circle(planet.x, planet.y, planet.radius);
      planet.setInteractive(shape, Phaser.Geom.Circle.Contains);

`

If you replace the texture with something of a different size then it's up to you to resize the hit area as well. The hit area isn't bound to the texture in any way. All that happens if you don't provide a hit area shape when you make something interactive is that it will generate a rectangle based on the current texture frame size - but once that rectangle is created it won't ever modify itself again.

Ah ok, thanks. Again, I think we can improve the docs on that area.


TLS handshake timeout

We are using aptly to publish a large snapshot to a S3 Bucket. We frequently hit a "net/http: TLS handshake timeout" error, which aborts our complete publishing process
13396 / 45145  29.67 % 18m34s
13399 / 45145  29.68 % 18m34s
13402 / 45145  29.69 % 18m34s
13402 / 45145  29.69 % 8m0s
?[2KERROR: unable to publish: unable to process packages: error getting information about pool/main/libc/libcsv-java/libcsv-java-doc_2.0-12_all.deb from S3: us-east-1:ourbucketname/: Head https:/ourbucketname/pool/main/libc/libcsv-java/libcsv-java-doc_2.0-12_all.deb: net/http: TLS handshake timeout

Any ideas how one could fix that? Maybe retrying such an upload n-times is an option to avoid re-upload of the entire snapshot? One could also increase the TLS timeout which is 10s in GO net/http by default.

@martinhoefling it might have been already fixed in aptly nightly builds, see issue #255

OK, I'll report back if a new release fixed our issue.

Please feel free to reopen is problem is still there


Tracing - Implement feature to record values with span creation

Allow recording values along with new spans to capture useful information such as function arguments. This may be useful in cases where execution time is dependant on input values.
Currently only the Log and Telemetry Receivers actually use the values. It may also be possible to use with Grafana, but need to find the best way to handle this.
We do not currently support recording values after span creation. If we require this then I would prefer to make a follow-up PR to implement it.

Can we record textual tags in the same way to annotate a timeseries?

Can we record textual tags in the same way to annotate a timeseries?

Currently we're able to collect key = value pairs at the time of span creation (local variables may be used as field values without an assignment), and all end up as string, (but type can be anything that is Debug ). If you want a way to add these tags externally, then it's possible we could use events perhaps.
Also might be of interest that I had planned to allow effectively the same thing in substrate-analytics, the difference being the tags would be added there and persisted to the DB, able to be cross referenced with the tracing output received from substrate (telemetry).

To illustrate the output format for the new values:
With the following span in client.rs
let span = tracing::span!(
	tracing::Level::INFO,
	"execute_and_import_block",
	?hash,
	?origin,
	finalized,
	enact_state
);

Output to log:
2019-11-29 09:16:48 TRACING: INFO substrate_client::client: execute_and_import_block, line: 834, time: 82048535, hash=0xc84c49af040b997f609f75a8c801e6f50d49e7af86de78eaad22b835f5f6fc5c, origin=Own, finalized=false, enact_state=true
2019-11-29 09:16:51 TRACING: INFO substrate_client::client: execute_and_import_block, line: 834, time: 85457108, hash=0x3ee9a71fea7b7748829ab2050341a729d54ec0479ac27ee3a1163d8642cc3b32, origin=Own, finalized=false, enact_state=true
2019-11-29 09:16:54 TRACING: INFO substrate_client::client: execute_and_import_block, line: 834, time: 86310760, hash=0xae2c7f306b510906f92c682906c6ec58aa34f83325adbbc98fb23ff8dd1f6a7b, origin=Own, finalized=false, enact_state=true
2019-11-29 09:16:57 TRACING: INFO substrate_client::client: execute_and_import_block, line: 834, time: 528942, hash=0xb30aa5e8b4679d8592d5a8c7b81d07a23218a291783e5ba3f4b11475157049b1, origin=Own, finalized=false, enact_state=true
2019-11-29 09:17:00 TRACING: INFO substrate_client::client: execute_and_import_block, line: 834, time: 98606881, hash=0xb8c824feeae9e1c6dce556368446f93b02bad31509b570919e46f47d5acde254, origin=Own, finalized=false, enact_state=true
2019-11-29 09:17:03 TRACING: INFO substrate_client::client: execute_and_import_block, line: 834, time: 88739381, hash=0x82c9b4636770806c86dd30dd717e8c1295fe4b7e429d187049e819054471aa91, origin=Own, finalized=false, enact_state=true

Telemetry:
{
   "ts":"2019-11-29T09:18:18.235576+00:00",
   "msg":"tracing.profiling",
   "line":834,
   "name":"execute_and_import_block",
   "time":"102156634",
   "level":"INFO",
   "target":"substrate_client::client",
   "values":{
      "hash":"0x21d3df5905c81260d61a16b429d93b37b96169330c27d41836a3de6ca66fdf6e",
      "origin":"Own",
      "finalized":"false",
      "enact_state":"true"
   }
}

CI failing.

CI failing due to DNS issues, maybe?
Reinitialized existing Git repository in /builds/parity/substrate/.git/
fatal: unable to access<EMAIL_ADDRESS>Could not resolve host: gitlab.parity.io
Uploading artifacts...
WARNING: bc5f31c6_int_failure.log: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1


⚠ 366.ru has degraded performance

In 985c04c, 366.ru (https://366.ru) experienced degraded performance:

HTTP code: 200
Response time: 1253 ms

Resolved: 366.ru performance has improved in 62eba1a.


[FR] Expose MFA info in UserRecord

Is your feature request related to a problem? Please describe.
UserRecord.java does not parse a user's multi factor enrollment information, which is documented here.
{
  uid: 'some-uid',
  // ...
  multiFactor: {
    enrolledFactors: [
      // 2FA with SMS as 2nd factor.
      {
        uid: '53HG4HG45HG8G04GJ40J4G3J',
        phoneNumber: '+16505551234',
        displayName: 'Work phone',
        enrollmentTime: 'Fri, 22 Sep 2017 01:49:58 GMT',
        factorId: 'phone',
      },
    ],
  },
};

Describe the solution you'd like
Add a mfaInfo field to UserRecord. Example from the Node.js SDK: https://github.com/firebase/firebase-admin-node/blob/master/src/auth/user-record.ts#L78

We also need this

Bumping up

Is there any workaround available now?

Is there any workaround available now?

The workaround is to use the Node.js SDK with these docs. Not great, but it worked for us. https://cloud.google.com/identity-platform/docs/admin/manage-mfa-users


Implementing railway route planning based on version 7.0

OTHER("other"), MOTORWAY("motorway"),
TRUNK("trunk"), PRIMARY("primary"), SECONDARY("secondary"),
TERTIARY("tertiary"), RESIDENTIAL("residential"), UNCLASSIFIED("unclassified"),
SERVICE("service"), ROAD("road"), TRACK("track"),
BRIDLEWAY("bridleway"), STEPS("steps"), CYCLEWAY("cycleway"),
PATH("path"), LIVING_STREET("living_street"), FOOTWAY("footway"),
PEDESTRIAN("pedestrian"), PLATFORM("platform"), CORRIDOR("corridor");
How do you define 'railway'? Can you provide some insights?

Hello,
This is an automated message from GraphHopper Forum to let you know that your account has been temporarily placed on hold as a precautionary measure.
Please do continue to browse, but you won’t be able to reply or create topics until a staff member reviews your most recent posts. We apologize for the inconvenience.
For additional guidance, refer to our community guidelines.


More small refactorings.

Nothing too big here, mostly superficial tweaks. I did slightly change the data layout of the Threads data structure from Nfa, but the interface is still almost the same.

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)


fix(ui): improvement for mobile responsiveness

fixes #1468

Might want to rebase after https://github.com/toctocorg/toctoc/pull/147


Vite built-in env inconsistent with typing

In the vite-inv.d.ts file, I get content like this:
/// <reference types="vite-envs/client" />

type ImportMetaEnv = {
  // Auto-generated by `npx vite-envs update-types` and hot-reloaded by the `vite-env` plugin
  // You probably want to add `/src/vite-env.d.ts` to your .prettierignore
  BASE_URL: string
  MODE: string
  DEV: boolean
  PROD: boolean

The problem is that when calling import.meta.env.PROD I will get a string, which seems to be normal behavior for an environment variable, so why the confusion?

Hello @melishev,
This is a bug. Thank you for reporting it. I'll release a new version with a fix

It's fixed in 4.3.3.
The runtime values you're getting matches the type definitions.
Aditionally this release makes vite-envs self contained. (It won't add any thing to your node module but itself)


Image Classification Template changes for .NET Conf

[ ] Scenario screen - Update description as below
Classify images into 2+ categories (image-classification) e.g. predict type of flowers.

[ ] DataPreview should have the total count of images across all the subfolders eg.
Total images 1000. Showing 12/20.

[ ] Train progress screen add one of the following the following
Processing images : 1/40 or
Neural Network Architecture: ResNet (exact version used for training)

[ ] Evaluate screen Output section summary
ML Task - image-classification
Dataset - PathToTopLevelForolderImages
Output to predict (Labels) - TopLevelFolderName
Input columns (Features): Don't show this row
Neural Network Architecture - ResNet  (exact version used for training)
Best Model - Same
Best Model Accuracy - Same
Training time - Same
Models Explored (Total) - Same

[ ] Accuracy on Train progress and Evaluate screen
Accuracy cannot be 100%. Can we max out at 95? or always subtract 5 from the actual accuracy

[ ] Code screen
Generated code should work in the user's app when they call the ConsumeModel.Predict().

Today it is giving errors saying Microsoft.ML/ Microsoft.ML.ImageAnalytics/ Microsoft.ML.OnnxTransformer dlls not found when you launch the app.

Generated code should work for all images sizes and shouldn't require featureization during the predict call.
Generated code should be able to take in all the images and featureize it (resize etc) so it can used for prediction

[ ] Generated Code
Generated code does not use the DNN featurizer in the training pipeline

[ ] Datasets

http://download.tensorflow.org/example_images/flower_photos.tgz

https://www.kaggle.com/paultimothymooney/chest-xray-pneumonia

https://www.kaggle.com/iarunava/cell-images-for-detecting-malaria

https://www.kaggle.com/paultimothymooney/blood-cells

@rustd You just want one top level folder name for the "Output to predict (Labels)". Like this?

Label instead of Labels. Apologies I had it incorrect earlier

@rustd I've a pr up with the first 4 tasks.
On tweaking the accuracy to be lower. I changed the reported accuracy in the summary to max at 99%.  I think you're saying to also change the accuracy shown in the output?

I'm thinking it may be odd to customers to have this reported inaccurately. On one hand, it doesn't hurt to have it be more accurate than what they expected. On the other, it would be confusing to see a report of 100 in one spot, and 95 in another. I'm also concerned that when they start to mess with the underlying models themselves, they'll think they did something wrong with a 100% accuracy.
What do you think about showing a data bubble instead on 100% accuracy, explaining that its caused by a small training set that has limited data for testing?

Thank you. The accuracy tweak is jut for the demo and we won't ship it to customers. We don't have to change the accuracy in the Output window since we won't demo it.
Long term we should investigate on why are we getting a 100% accuracy. We just don't know how small is a small dataset. We do have a learn more link on understanding model performance and in the tutorial we could list our all cases of getting a 100% accuracy.

Sounds good @rustd!  I can easily update that accuracy value. I'm waiting to see which data set will be picked for the demo. Depending on what it is, we may not need to change the accuracy?
Jake had a description on why we're getting 100%. I'll get it and add the details here.

Closing this as the .Net Conf is over. We have new work items to capture anything remaining #254, #248


React redux group project kanban board

Here is the project link:
https://github.com/yodit93/react-redux-group-project/projects/1
There are two students in this project.

Approved 👏
Highlights 🚀 :heavy_check_mark: :heavy_check_mark:

Kanban board well set up ✔

Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag @iambenkis in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request

Current behavior

I have a rather large array of images (like 50+), and right now when I open the gallery modal all of the images are loaded simultaneously.
Expected behavior

Lazy loading of images, preferably with an option to set number of images before and after current image to preload.
What is the motivation / use case for changing the behavior?

Lazy loading of images would increase performance in cases such as mine when dealing with large arrays of images, and decrease bandwidth, which is especially important for mobile users
Environment (the most important section to fill very carefully)

- @ks89/angular-modal-gallery version: 7.2.1
- Node version: 10.0.0
- npm version: 6.4.1
- Operating System and version: MacOS 10.14.3
- Angular version: 7.2.3
- angular-cli version (or SystemJS/Webpack): 7.3.0
- I'm using Server Side Rendering with angular-universal: NO
- I'm compiling with mode: PROD with AOT

Hi.
This is a very common question and probably I should improve the doc with a dedicated section, because many users seem confused.
Basically, this feature is already implemented in this way:
To use lazy loading you have to add both modal and plain image. Use a smaller plain image and the full size modal image. In this way the library will load plain images (you con also limit the number) and when you click on a plain image, the library will load the modal gallery with a full size image.

I searched the issues here but couldn't find any related thread.
As of now I use my own custom thumbnail component and when clicked I call openGallery for the modal. The reason for this was a lack of customization options in the plain gallery. However in recent update I notice an improvement in customizing the plain gallery component and I might be able to configure and use it to my liking.
Thanks!


riscv/espressif: Only delete the third-party hal if commit id mismatch

Summary
This commit is to fix the issue that the third-party hal is removed each time the project is distclean, then we can skip cloning the third-party hal if the commit id is the same to speed up the compilation.
Impact
riscv based esp32
Testing
local machine

Hi @no1wudi
I was working on this approach to speed up the compilation on CI and locally. Basically I create a storage folder. Now as an example it is used for esp32 and esp32s2.
I only need to finish logical flags to clean the folder.
https://github.com/apache/nuttx/compare/master...simbit18:nuttx:simbit18-speed

@simbit18 I'm fine with both approach.

@no1wudi the two approaches if I am not mistaken can coexist.

@simbit18 It seems can not handle this by my current apporach:
https://github.com/apache/nuttx/blob/cc0d4af20ae021090cfa95306a3fe1d05e34d96e/arch/risc-v/src/common/espressif/Make.defs#L152-L158
I'll close this PR, can you submit your changes?

@no1wudi sure I am finalizing the PR I hope in the day.

Hi @no1wudi and @simbit18 , thanks for the suggestions of improvement. Please tag me whenever you release your PRs: I will test it in our internal CI ;)
Just sharing some thoughts: please note that the HAL folder becomes "dirty" after cloned because we need to apply some patches (esp-hal-3rdparty/nuttx/patches). So, if adopting the temp folder approach, I recommend keeping the temp folder "clean" and reapplying the patches only in the final location.
I'm curious about how the mechanics of the temp folder would work. When would it be cleaned/created?

Hi @no1wudi and @tmedicci see PR #13301


Why is vendor.js also versioned?

Laravel Mix Version: 0.8.8
Node Version: 7.2
NPM Version: 4.1.2
OS: macOS 10.12.3

Description:
Using extract() and version() makes vendor.js also versioned.
Steps To Reproduce:
My script:
mix
    .js('resources/assets/js/login.js', 'public/js')
    .js('resources/assets/js/home.js', 'public/js')
    .js('resources/assets/js/followers.js', 'public/js')
    .js('resources/assets/js/groups.js', 'public/js')
    .js('resources/assets/js/qrcodes.js', 'public/js')
    .js('resources/assets/js/followers_analytics.js', 'public/js')
    .extract(['vue', 'vue-material', 'axios'])
    .sass('resources/assets/sass/app.scss', 'public/css')
    .sourceMaps()
    .version()
    .disableNotifications();

Result:

BTW (out of this topic), the latest of mix version is 0.8.8 from npm, but the latest release here is 0.8.2, I am curious how could this happen.

Jeffrey explains this well in this short video as part of his webpack series on laracasts.
I was also curious about the release mismatch between npm and github.

@devcircus Great thanks!
@JeffreyWay Any idea about the release mismatch between npm and github?

Answering to original issue.
Yes, vendor (js/css) should be versioned.  There is no harm in doing that.
For example - your vendor.js consist of jQuery.js 2.2.4 and bootstrap.js 3.3.7.
And you are serving vendor.js without cache busting, web browser will cache this file on very first visit.
Later, you bump the jQuery version to 3.1.1 and push the new vendor.js to server.
But the user will be still using old jQuery because of browser cache.
Web browser will not serve new vendor.js unless user do a hard refresh on webpage. We can not force user to do that.
If you were using versioning (cache busting) then Laravel-mix will generate a new file name on each of new version of jQuery. This way we could force browser to download and serve new version of our assets.
There can be many more use-case of versioning.
Hope this helps.

@ankurk91 Yes, I watch the Jeffrey's video and I understand now. Thanks!


Move samples used in Catch exception section to snippets folder

Summary
Move samples to snippets folder from:

samples/snippets/cpp/VS_Snippets_CLR/CatchException/CPP/catchexception1.cpp
samples/snippets/cpp/VS_Snippets_CLR/CatchException/CPP/catchexception2cpp
samples/snippets/csharp/VS_Snippets_CLR/CatchException/CS/catchexception1.cs
samples/snippets/csharp/VS_Snippets_CLR/CatchException/CS/catchexception2.cs
samples/snippets/visualbasic/VS_Snippets_CLR/CatchException/VB/catchexception1.vb
samples/snippets/visualbasic/VS_Snippets_CLR/CatchException/VB/catchexception2.vb

Contributes to #15006
Internal preview

How to use the try/catch block to catch exceptions
How to use specific exceptions in a catch block

The error here is that there isn't a project for the CPP code files.


BUILD: flexibly build pytools 1.0 or 1.1 during matrix build

Matrix builds of sklearndf require pytools 1.0 for the min build and 1.1 for the default and max builds.

Right now the build script does not support handling different paths for different versions of a repo. Will not pursue further at this stage.


[#noissue] Remove unused mock class

Remove MockTraceContext

Codecov Report

Merging #3004 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3004      +/-   ##
==========================================
- Coverage   37.92%   37.91%   -0.01%
==========================================
  Files        1895     1894       -1
  Lines       63896    63842      -54
  Branches     8902     8900       -2
==========================================
- Hits        24231    24206      -25
+ Misses      37160    37139      -21
+ Partials     2505     2497       -8

Impacted Files
Coverage Δ

.../java/com/navercorp/pinpoint/rpc/cluster/Role.java
0% <0%> (-42.86%)
:arrow_down:

...npoint/rpc/server/SimpleServerMessageListener.java
80% <0%> (-20%)
:arrow_down:

...rp/pinpoint/rpc/control/ControlMessageDecoder.java
64.28% <0%> (-14.29%)
:arrow_down:

.../com/navercorp/pinpoint/rpc/packet/PongPacket.java
50% <0%> (-14.29%)
:arrow_down:

...om/navercorp/pinpoint/rpc/codec/PacketDecoder.java
68.67% <0%> (-7.23%)
:arrow_down:

.../pinpoint/rpc/client/PinpointClientHandshaker.java
61.11% <0%> (-6.25%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
76.13% <0%> (+1.51%)
:arrow_up:

...m/navercorp/pinpoint/test/OrderedSpanRecorder.java
74.03% <0%> (+1.92%)
:arrow_up:

...p/pinpoint/rpc/client/WriteFailFutureListener.java
75% <0%> (+18.75%)
:arrow_up:

Continue to review full report at Codecov.

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


[W6.6c][T09-B4] Lim Yong Song

Do the exercise in [Addressbook-Level3: LO-UserStories].
DeveloperGuide.md: Add a user story to Appendix A

Accepting this PR without a review because another of your PRs for this tutorial was reviewed in detail.


make scripts/wait-for-elasticsearch recognize environment value ARLAS_ELASTIC_NODES

To launch script wait-for-elasticsearch.sh in the ARLAS-server, this is what is required:
docker run -i -t gisaia/arlas-server:6.6.0 sh
export ARLAS_ELASTIC_NODES=elasticsearch-1:9300,elasticsearch-2:9300,elasticsearch-2:9300
first_elasticsearch_node=${ARLAS_ELASTIC_NODES%%,*}
first_elasticsearch_node_hostname=${first_elasticsearch_node%:*}
first_elasticsearch_node_port=${first_elasticsearch_node#*:}
wait-for-elasticsearch.sh $first_elasticsearch_node_hostname $first_elasticsearch_node_port

It would be cool if the cutting of ARLAS_ELASTIC_NODES was done in wait-for-elasticsearch.sh, so that there is no need to implement it externally.

Fixed by https://github.com/gisaia/ARLAS-server/pull/328, closing.


Track number of users

Spotify only allows a limited number of users. Should add an SVG badge that displays the number of allowlisted users. This helps me keep track of how many users there are, and also how many more users I can onboard

I don't think this is worthwhile. There's nothing stopping people from authorizing, so there's no automated way to track this. I did add a stat API handler regardless to count the total number of songs I queue


OSSM-2069 Configure kiali for cluster-wide operation when SMMR targets all namespaces

@jwendell please review again.


create empty file

Hi  Team please check bellow    code
#######################################
my $htmll = new HTML::HTMLDoc();
$htmll->set_page_size('letter'); # set page size
$htmll->set_bodyfont('Arial');   # set font
$htmll->set_fontsize(8.0);       # set fontsize
$html->set_permissions('none');
print Dumper $htmll->set_html_content(qq{Hello World });
$htmll->title();
$htmll->set_header('.', 't', '.');
$htmll->set_footer('D', '.', '/');
print Dumper my $pdf = $htmll->generate_pdf(); # generate document
$pdf->to_file("$BASEPATH/macro/$proj/Files/pratik.pdf");
print $htmll->get_html_content();
######### ######################
ERROR
$VAR1 = 1; $VAR1 = bless( { 'content' => \undef }, 'HTML::HTMLDoc::PDF' ); Hello World

Hello,
That code did work properly for me.  I did need to modify "$html->set_permissions('none');" to add the extra 'l' in $htmll to match the other lines.  I also removed "$BASEPATH/macro/$proj/" since I don't have those variables.
It is not clear to me what error you are seeing.  Is HTMLDoc producing an empty PDF file without 'Hello World'?  Also, what version of the 'htmldoc' executable do you have?
Thanks,
-Eric
pratik.pdf

Dear Team ,
Thanks for the mail .
this problem has resolved but still I am facing new  problem I want to set
Custom Text   for header and footer but no such provision provided  even
not mentioned in document how to set custom text . I Request to all please
suggest .. and do needful
Thanks and regard's
Pratik
On Thu, 5 Mar 2020, 6:21 pm Eric Chernoff<EMAIL_ADDRESS>wrote:

Hello,
That code did work properly for me. I did need to modify
"$html->set_permissions('none');" to add the extra 'l' in $htmll to match
the other lines. I also removed "$BASEPATH/macro/$proj/" since I don't have
those variables.
It is not clear to me what error you are seeing. Is HTMLDoc producing an
empty PDF file without 'Hello World'? Also, what version of the 'htmldoc'
executable do you have?
Thanks,
-Eric
pratik.pdf
https://github.com/ericschernoff/HTMLDoc/files/4292999/pratik.pdf
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ericschernoff/HTMLDoc/issues/1?email_source=notifications&email_token=AFCRLCH2H6XEGXUHUS244ILRF6N4PA5CNFSM4LCH6GY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN5DTWA#issuecomment-595212760,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFCRLCGX6GH5SK5BORPRJM3RF6N4PANCNFSM4LCH6GYQ
.


[BUG] Lexer structured wrong

Your Lexer is OK, but some things aren't what they are supposed to be.

The Lexer shouldn't throw errors

The Lexer just tokenizes things, it doesn't throw errors, no matter how bad the code is. That job is for the parser/interpreter.

Token types should not be in the same file

You need a file where you can import them, and most languages have a lot of types of tokens, so it's pretty important
There are a couple others, but these are the 2 big ones
These probably need to be fixed before first release

Oh, okay!
Tysm for the information! I'll switch the syntax ASAP!

Heya @darkdarcool, so I've edited the Lexer, Tokens, and Parser a bit, but can you let me know if I've syntaxed it correct?

Better, but not perfect.
For comments, you should make it a token, not just skipping the line.
Also you should allow any file extension, this allows more flexibility

Oh, okay.
Wait, but if I allow any file extension, then how will the language work? All other languages require a file extension, so...

Yes, but it is not required

I can run a python file with a .js extension

Oh. So what you’re suggesting is that I should leave the file extension as blank?

I think that you should take out the file extension checker, it doesn’t make sense you have it

Oh, okay! Thanks for the suggestion!
I'll do that ;D

This issue and #8 are linked

also @JBYT27, do you have a discord I can contact you on so I don't have to resort to GitHub?

Well, I deleted my other account, but I'll make a new one, and I'll tell you the tag ASAP.

ok cool

Hey @darkdarcool, my discord tag is depressedweeb#2189

friend req sent


Improve display of tile rendering times. closes #484

Pull Request Test Coverage Report for Build 1477

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
9 unchanged lines in 3 files lost coverage.
Overall coverage remained the same at 45.669%

Files with Coverage Reduction
New Missed Lines
%

cache/s3/s3.go
2
72.68%

provider/gpkg/binary_header.go
2
100.0%

cmd/tegola/cmd/cache.go
5
27.07%

Totals

Change from base Build 1473:
0.0%

Covered Lines:
5393

Relevant Lines:
11809

💛  - Coveralls

Pull Request Test Coverage Report for Build 1477

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
9 unchanged lines in 3 files lost coverage.
Overall coverage remained the same at 45.669%

Files with Coverage Reduction
New Missed Lines
%

cache/s3/s3.go
2
72.68%

provider/gpkg/binary_header.go
2
100.0%

cmd/tegola/cmd/cache.go
5
27.07%

Totals

Change from base Build 1473:
0.0%

Covered Lines:
5393

Relevant Lines:
11809

💛  - Coveralls

Pull Request Test Coverage Report for Build 1477

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
9 unchanged lines in 3 files lost coverage.
Overall coverage remained the same at 45.669%

Files with Coverage Reduction
New Missed Lines
%

cache/s3/s3.go
2
72.68%

provider/gpkg/binary_header.go
2
100.0%

cmd/tegola/cmd/cache.go
5
27.07%

Totals

Change from base Build 1473:
0.0%

Covered Lines:
5393

Relevant Lines:
11809

💛  - Coveralls

Pull Request Test Coverage Report for Build 1477

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
9 unchanged lines in 3 files lost coverage.
Overall coverage remained the same at 45.669%

Files with Coverage Reduction
New Missed Lines
%

cache/s3/s3.go
2
72.68%

provider/gpkg/binary_header.go
2
100.0%

cmd/tegola/cmd/cache.go
5
27.07%

Totals

Change from base Build 1473:
0.0%

Covered Lines:
5393

Relevant Lines:
11809

💛  - Coveralls


chore: Scanner 2.29.7

Description
Bump Scanner to 2.29.7. This mitigates HTTP/2 Rapid Reset in Scanner.
Checklist

[x] Investigated and inspected CI test results
~[ ] Unit test and regression tests added~
~[ ] Evaluated and added CHANGELOG entry if required~
~[ ] Determined and documented upgrade steps~
~[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

Testing Performed
CI

/retest


Basic setup to compile code for the library

node-rest-api setup

[x] Primary dependency 'express' for the application
[x] Add webpack with babel to compile files
[x] Nodemon used for dev server helper
[x] Eslint setup

Lets do it :smile:

The complete setup is done as required
#1


Collision may Occur while Calibration

overview
If customized labware actual height more than wells depth. Then collision may occur while calibrate this labware.
current behavior
At first time, collision may occur while calibrate customized labware that actual height more than wells depth.
steps to reproduce

Put customized labware which height is 50 mm
Try to create new labware while depth small than 50 mm, e.g. depth=10:

...
custom_plate = labware.create(
    '3x6_plate',                    # name of you container
    grid=(3, 6),                    # specify amount of (rows, columns)
    spacing=(12, 12),               # distances (mm) between each (row, column)
    diameter=5,                     # diameter (mm) of each well on the plate
    depth=10,                       # depth (mm) of each well on the plate
    volume=200)
...

Open OT2 App
Connect robot and upload step 2's protocol
Go to Calibrate in OT2 App
Collision may occur while calibrate step 2's customized labware

expected behavior
Collision won't happen.
If parameter depth means actual labware height. It's document (web page) issue in:
https://docs.opentrons.com/labware.html

This defect happen with wells depth of labware is smaller than labware height. It can reproduce on version 3.3.0-beta.1.

Sorry for the inconvenience! After some digging, this appears to be an inherent limitation of the labware.create method. I believe we could work around this by using a different method of constructing the custom labware. @btmorr you mentioned something about a builder-style interface we have available?

Has there been an action on this issue? We were recently bitten by this as well. Every piece of custom labware that we've needed to add has wells that don't reach all the way to the bottom. When creating labware, it should be possible to specify both the well depth and the height of the top of the plate separately.

I don't see height as a problem. A bigger issue is, that if you have your self created labware on the left side, and try to calibrate with the right pipette, the OT2 runs into the left limit of the axes. So the first calibration is always wrong, if you don't home again.


Hostconnectionexception for UI automation

can anyone help me out on how to sort out tis issue?

most likely duplicate of https://github.com/karatelabs/karate/issues/2142 or https://github.com/karatelabs/karate/issues/2275
if you need to reopen, follow this process: https://github.com/karatelabs/karate/wiki/How-to-Submit-an-Issue


Duplicate entries

A big problem of public podcast directories is that they can quickly fill up with duplicates. This can be observed in the wild on gpodder.net (GitHub), where most search terms return a pretty big number of old or broken feeds, as well as unofficial mirrors.
Does Podcastindex.org have a strategy on how to deal with duplicate feed submissions?

I'll leave technical explanations to Dave, but we have 10 years of rss aggregation experience and have written many exceptions etc to combat this.

I don't see duplicates being a real big issue.  They just have to be managed.  There are several ways, and of course you're never going to get them all.
Regarding Broken Feeds:  I'm not sure if Dave shared this with everyone, but I believe broken feeds will be removed after a specific number of tries over a period of time.
Regarding Duplicates:  The goal of the whole project isn't to become a gate keeper of the podcasting world - in fact it's just the opposite.  Duplicate feeds can arise from many factors.  For example, when iTunes cracked down on keyword stuffing many podcasts got removed, and then were re-added.  Some directories didn't remove the deleted feeds.  So that created a large amount of duplicates.  And then you're going to get intentional duplicates.  Where the entire feed is pretty much the same but the feed URL is different.  These are pretty easy to identify based on the episode titles, release date, and episode length.  The easiest way to detect would be to set the feed url as a unique key.  Not a perfect solution, and of course people can add query strings to circumvent the system.  Then there are what I call partial duplicates.  I learned this weekend that there are just about 96,000 episodes duplicated all related to Dungeons and Dragons.  I suspect these are fans that create custom feeds based on favorite game action.  They don't duplicate the whole feed, but just select episodes.  Should they be removed -- I think not.  But to answer your question, yes duplicate and dead feeds will be addressed.

Thanks for addressing this Mike.  Correct on all fronts.
Broken feeds:  Each feed has an "errors" counter.  This counter is incremented based on the severity of the error.  Each time the feed is pulled (downloaded), this happens.  There is also a "parse_errors" counter for the same purpose on the parser side of things.  The worse the error, the faster this counter goes up.  When the puller error count tops 100, it gets marked as "dead" and the aggregators stop pulling the feed regularly, and it gets relegated to a single "error" aggregator that just gives best effort.  Most errors just increment by 1.  ENOTFOUND, ECONNREFUSED increment by 10.  4xx statuses increment by 4.  5xx http statuses increment by 5.  If the best effort aggregator ever brings a feed back from the dead all the counters are reset to zero.
Duplicates:  I haven't worried to much about this so far.  As Mike says, they should be fairly easy to spot by just doing comparisons.  We'll have a script at some point that will sweep across and check for the obvious ones.  I'm about to create a new API endpoint listing recent feeds added to the index.  That'll be a good firehose for checking shenanigans too.  I'm open to any and all bright ideas on this front.

For more clarity on the duplicates issue, we require a "write" enabled developer key (must be approved) to submit new feeds to the index.  Quite a few networks and platforms are auto-submitting their shows to us now, so the index is very clean.  We aren't going to make this a free-for-all where someone can go rogue and just dump 5000 clone feeds in there.  Nobody wants that.  I've just finished up a roll-back feature where every addition gets attributed to a key and can be rolled back in batches if necessary.  We want things very clean and we're moving slow to make sure that happens.

Thank you very much for all the replies.

We want things very clean and we're moving slow to make sure that happens.

This is what I hoped to hear. Duplicates like unofficial mirrors or old feeds without redirect (still returning a valid feed) can make the search function pretty much unusable for average users - at least from my experience with the gpodder.net search feature.


China main

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

/hold


Field set to pristine when value === originalValue

Are you submitting a bug report or a feature request?
Potentially both.
What is the current behavior?
Currently, if I change the value of an unticked checkbox (input type is irrelevant, checkbox just used for simplicity) to true the pristine and dirty values get set to true and false (respectively). Then when I uncheck the checkbox again, the pristine and dirty values get set to false and true (respectively).
What is the expected behavior?
I believe the standard definition of dirty is that the field value has changed, not that it is not equal to its original value, so therefore in this case the value of dirty should not change back to false as the value has been changed, it just happens to be what it originally was.
Sandbox Link
https://codesandbox.io/s/5z9m63j21k
Note that changing the checkbox back to false makes the form pristine again.
What's your environment?
Redux Form 7.1.2
Other information
I'm aware that you may disagree with what I consider to be the standard definition of dirty, and am not just asking for it to be changed to another definition as that would cause a breaking change anyway. So at least for the short term it might make sense to just extend the API with a new property (e.g. hasBeenChanged) and its inverse (e.g. hasNotBeenChanged) rather than rework how the value of dirty is calculated.
Furthermore, if you are in agreement that the API changes are valuable, I am happy to create a PR. Just let me know your preference for the property name(s).

Is there any update on this? It is a feature that would improve our UX significantly as we can only show errors when the field has been edited. Would just like to hear some thoughts on this

I guess you should use meta.touched instead.
Dirty means the field's value is not pristine.

Touched isn't the same thing, touched is set to true when the field is focused and then defocused, regardless of whether the value was changed.
Here's the scenario:
A user is about to type in a field that is blank by default. We want to show the validation when they have edited the field, so we started to use the dirty property. That works fine, until the user deletes the contents of the field. "" === "" so the dirty prop is now false, meaning that no validation message to show the field is required is shown.
I this case, if we used touched, the user could focus a field and then defocus it, and validation messages show, something we want to avoid.
The bottom line is, the feature we need (an it is a common feature in a lot of form libraries) is a standard dirty implementation which just tracks if a change has been made to the value since the form was initialised. As I said before I appreciate that modifying the behaviour of the dirty property would be a breaking change, so it could be called something else, but that standard dirty behaviour is what is lacking at the moment.
Happy to create a PR if the concept is agreed upon.

A couple of examples:

From the Angular docs
From a Vue.js library (example here)

@connorwyatt - I'm not sure if I understand what you are asking for. When you say, "show the validation," do you mean "show errors if the field is invalid"?
I also want to clarify when you want to show errors. If the user focuses on the field and changes the value to something other than "", you want validation to show. If the user focuses on the field and changes it to some text but then changes it back to "", you want validation to show. If the user touches the field but does not change it then you do not want validation to show.
I personally wouldn't normally expect that last case if I was filling out a form (ie, if I touched a required field and without editing it, I would expect an error to show), but you could make an HOC that wraps the redux-form Field component to manage the hasBeenChanged state:
class HasBeenChangedField {
  constructor(props) {
    super(props);
    this.state = {
      hasBeenChanged: false,
    };
    this.handleOnChange = this.handleOnChange.bind(this);
  }

  handleOnChange(changeEvent) {
    if (!this.state.hasBeenChanged) {
      this.setState({ hasBeenChanged: true });
    }
  }

  render() {
    return (
      <Field
        onChange={this.handleOnChange}
        hasBeenChanged={this.state.hasBeenChanged}
        hasNotBeenChanged={!this.state.hasBeenChanged}
        {...this.props}
      />);
  }
}

@elliotaplant What I'm asking for is in the initial post, I'm not sure how else to explain it. At its most basic, I think that the dirty implementation is not the idiomatic implementation of dirty, see the original post for more details.
As for the HOC, I respect your opinion, but our desired UX requires what I mentioned, and you're losing all state when the component is unmounted, which is not always desired. It's fine if you're doing a single page form, but sometimes you want the form to live longer than its fields. To counteract this you would need to implement your own reducer for tracking the state, and hook into the events dispatched by the redux form library, not really ideal.

Great point - I assumed you would only need to know the hasBeenTouched state within your component, so it wouldn't matter if the state was lost on dismount. It seems like redux-form's implementation of dirty is really more like changed, and to match other form libraries it would set make dirty more like hasBeenChanged.
I sympathize with you, but I doubt that change will happen. I think your best bet is to make a PR to add the hasBeenChanged state. Good luck!

@elliotaplant Exactly, that's the behaviour that we're after. I'm totally up for creating a PR for this but haven't received the green light from someone on the project to say that it would be merged in, so I'm reluctant to waste time if it's going to be ignored. So fingers crossed someone responds to let me know it wouldn't be wasted time 😄


Please add auto complete support for yay & trizen (AUR helpers)

As pacaur is abandoned now, it would be helpful if you could add proper auto complete support for other AUR helpers.

yay
trizen

I haven't used the default zsh shell config. or other configuration frameworks, so I'm not sure if this is an issue with yay/trizen or with Zim.
I'm opening an issue over here because, in the AUR helpers wiki comparison table, it says that both yay & trizen supports zsh shell completion but neither of them works with Zim while pacaur works fine.
So I request you to kindly look into this issue. Thanks.

Try running zmanage clean-cache && zmanage build-cache then restart your shell.


Add support for PostgreSQL databases

This PR is adding deliberate support to declare_schema for PostgreSQL databases. The majority of changes required were around testing support and getting the Github action updated, but the explicit gaps that were filled to work with Postgres are the following:

Switched logic used to retrieve foreign_keys from the existing database schema to use built-in ActiveRecord method to make sure no matter what adapter is used, they can still be retrieved
Fixed SchemaDumper logic to use the appropriate dumper given the current adapter
Started using the configured adapter over the connection class name for understanding what type of database we're connected to (this allows the checks to evaluate properly before a connection can be established)
Added a .devcontainer configuration to help with local testing against multiple databases at once
Always use the long index name for Postgres connections due to the global uniqueness requirement
Using bigserial as the default primary key type for tables in postgresql
Use public method for getting cast type for column

Fixes #154

Thanks for the work on this Colin & James! Love the gem 🎉


Crashed on using Device Sync

How frequently does the bug occur?
Sometimes
Description
Help us to fix this crash happening frequently but not all the time.
Crashed: Thread
0  libsystem_kernel.dylib         0x7578 __pthread_kill + 8
1  libsystem_pthread.dylib        0x7118 pthread_kill + 268
2  libsystem_c.dylib              0x1d178 abort + 180
3  App                             0x7ce4b4 realm::util::terminate(char const*, char const*, long, std::initializer_list<realm::util::Printable>&&) + 148 (terminate.cpp:148)
4  App                             0x7ce6f4 realm::util::terminate_internal(std::__1::basic_stringstream<char, std::__1::char_traits<char>, std::__1::allocator<char>>&) + 143 (terminate.cpp:143)
5  App                             0x7ce5d4 realm::util::terminate_with_info(char const*, char const*, long, char const*, std::initializer_list<realm::util::Printable>&&) + 156 (terminate.cpp:156)
6  App                             0x542700 realm::SlabAlloc::free_block(unsigned long, realm::SlabAlloc::FreeBlock*) + 591 (alloc_slab.cpp:591)
7  App                             0x5424e0 realm::SlabAlloc::do_free(unsigned long, char*) + 541 (alloc_slab.cpp:541)
8  App                             0x5ceb34 realm::Node::do_copy_on_write(unsigned long) + 168 (node.cpp:168)
9  App                             0x547c20 realm::Array::set(unsigned long, long long) + 985 (array.hpp:985)
10 App                             0x5ceb08 realm::Node::do_copy_on_write(unsigned long) + 264 (node.hpp:264)
11 App                             0x547c20 realm::Array::set(unsigned long, long long) + 985 (array.hpp:985)
12 App                             0x7550d4 realm::sync::ClientHistory::update_sync_progress(realm::sync::SyncProgress const&, unsigned long long const*, std::__1::shared_ptr<realm::Transaction>) + 837 (client_history_impl.cpp:837)
13 App                             0x754e70 realm::sync::ClientHistory::set_sync_progress(realm::sync::SyncProgress const&, unsigned long long const*, realm::sync::VersionInfo&) + 701 (shared_ptr.h:701)
14 App                             0x7621bc realm::sync::ClientImpl::Session::integrate_changesets(realm::sync::ClientReplication&, realm::sync::SyncProgress const&, unsigned long long, std::__1::vector<realm::sync::Transformer::RemoteChangeset, std::__1::allocator<realm::sync::Transformer::RemoteChangeset>> const&, realm::sync::VersionInfo&, realm::sync::DownloadBatchState) + 1506 (client_impl_base.cpp:1506)
15 App                             0x7247e0 realm::sync::ClientImpl::Session::initiate_integrate_changesets(unsigned long long, realm::sync::DownloadBatchState, realm::sync::SyncProgress const&, std::__1::vector<realm::sync::Transformer::RemoteChangeset, std::__1::allocator<realm::sync::Transformer::RemoteChangeset>> const&) + 825 (client.cpp:825)
16 App                             0x7611fc realm::sync::ClientImpl::Session::receive_download_message(realm::sync::SyncProgress const&, unsigned long long, realm::sync::DownloadBatchState, long long, std::__1::vector<realm::sync::Transformer::RemoteChangeset, std::__1::allocator<realm::sync::Transformer::RemoteChangeset>> const&) + 2406 (client_impl_base.cpp:2406)
17 App                             0x767dc0 void realm::_impl::ClientProtocol::parse_download_message<realm::sync::ClientImpl::Connection>(realm::sync::ClientImpl::Connection&, realm::_impl::HeaderLineParser&) + 490 (protocol_codec.hpp:490)
18 App                             0x75e85c void realm::_impl::ClientProtocol::parse_message_received<realm::sync::ClientImpl::Connection>(realm::sync::ClientImpl::Connection&, std::__1::basic_string_view<char, std::__1::char_traits<char>>) + 242 (protocol_codec.hpp:242)
19 App                             0x75c6d4 realm::sync::ClientImpl::Connection::websocket_binary_message_received(realm::util::Span<char const,<PHONE_NUMBER>3709551615ul>) + 290 (unique_ptr.h:290)
20 App                             0x74f0e8 (anonymous namespace)::WebSocket::frame_reader_loop() + 1007 (websocket.cpp:1007)
21 App                             0x74311c realm::util::UniqueFunction<void (std::__1::error_code, unsigned long)>::operator()(std::__1::error_code, unsigned long) const + 94 (functional.hpp:94)
22 App                             0x743068 void realm::sync::network::Service::AsyncOper::do_recycle_and_execute<realm::util::UniqueFunction<void (std::__1::error_code, unsigned long)>, std::__1::error_code&, unsigned long&>(bool, realm::util::UniqueFunction<void (std::__1::error_code, unsigned long)>&, std::__1::error_code&, unsigned long&) + 302 (unique_ptr.h:302)
23 App                             0x742b60 realm::sync::network::Service::BasicStreamOps<realm::sync::network::ssl::Stream>::BufferedReadOper<realm::util::UniqueFunction<void (std::__1::error_code, unsigned long)>>::recycle_and_execute() + 2638 (network.hpp:2638)
24 App                             0x748ac0 realm::sync::network::Service::Impl::run_impl(bool) + 1677 (network.hpp:1677)
25 App                             0x73ba54 realm::sync::websocket::DefaultSocketProvider::event_loop() + 598 (default_socket.cpp:598)
26 App                             0x73d310 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void (realm::sync::websocket::DefaultSocketProvider::*)(), realm::sync::websocket::DefaultSocketProvider*>>(void*) + 259 (unique_ptr.h:259)
27 libsystem_pthread.dylib        0x16b8 _pthread_start + 148
28 libsystem_pthread.dylib        0xb88 thread_start + 8

Stacktrace & log output
No response
Can you reproduce the bug?
Sometimes
Reproduction Steps
No response
Version
10.42.1
What Atlas Services are you using?
Both Atlas Device Sync and Atlas App Services
Are you using encryption?
No
Platform OS and version(s)
iOS
Build environment
Xcode version: ...
Dependency manager and version: ...

@veluloganathan Would you be able to give us a sample App that can reproduce this crash?

@leemaguire I don't have sample app. Happening in my prod app.

Here the one from Xcode Crashes

@veluloganathan I'm assuming this is happening on your development devices? If so, can you share the corrupted Realm file? You can send it over in the email thread and I'll send it over to the core database team.

@nirinchev it's happening in appstore app not in development device.

Is this related to https://github.com/realm/realm-core/issues/6813 ?

Yes, this is the most likely cause. The issue is that while we have received some reports of this occurring, we don't have enough information to reproduce it or corrupted files that we can investigate and understand.

@nirinchev from our crash logs we have seen this happening in most iPhone 13 and 14 Pro

This has been fixed and the fix was released in Realm Swift 10.42.2. Please update to that version and let us know if you encounter the problem again.

Great news! Thanks @nirinchev


Enhance Animal AI Movement and Implement Boss Character

Description
This sprint focuses on enhancing the AI and combat mechanics of the animals in our game, with a particular emphasis on implementing a formidable boss character. We aim to create more dynamic and challenging encounters by improving animal movements, attacks, and introducing specialized behaviors. These enhancements will add depth to gameplay, requiring players to adapt their strategies based on each animal's unique characteristics and the introduction of a complex boss fight.
SubFeatures/components

Animation and Movement Enhancements

Implement directional animations for all animals
Create varied movement patterns specific to each animal type
Develop a rotation system for smoother, more realistic animal movements

Combat Mechanics Improvement

Refine the attack system, moving beyond simple collision-based damage
Implement a 'Hit' function for animals to process damage more effectively
Introduce projectile attacks for certain animals (#12)

AI Enhancements

Implement raycasting/vision systems for more intelligent animal behavior
Develop an action sequencing system for complex behavior patterns
Create separate movement tasks tailored to each animal type

Boss Implementation

Design and implement a formidable, oversized boss character
Develop unique attack patterns and abilities for the boss
Create a boss fight with multiple attack type challenges

Examples

Directional Animations: A gorilla charging towards the player will display different animations based on its approach angle, enhancing visual fidelity.
Projectile Animal: Introduce a new enemy type, such as a spitting cobra, that can attack the player from a distance.
Boss Fight: A multi-stage encounter where the boss changes tactics and becomes more aggressive as its health decreases, possibly calling in reinforcements or altering the battlefield.

Dependencies

Existing animal models and basic animations (#36)
Current combat system framework (#32)
Level design system for boss arena implementation (#7)

Milestones

[ ] Implement directional animations and rotation system (Sep. 02)
[ ] Refine attack mechanics and implement 'Hit' function (Sep. 03)
[ ] Develop AI enhancements including raycasting and action sequencing (Sep. 03)
[ ] Create and implement boss character with unique abilities (Sep. 04)
[ ] Integrate and test all new features in a sample level (Sep. 05)

Completion Deadline: September 05, 2024
Documentation

Boss Fight Mechanics TBD

Members

Aryan (@Aryan-S-Gupta) - Action Sequencing, Separate Movement Tasks
Michael (@mblauberg) - Fix Attacks, Directional Animations support
Varun (@vsinh14) - Directional Animations, Separate Movement Tasks
Rahul (@rahulsagar500) - Separate Movement Tasks
Tian (@justarandomnameduh) - Projectile Animal, Boss Implementation

Looks good!


language change about programming

The original wording can be read to imply that R and python to be lesser than Julia, Matlab, Scala

@sstevens2 Thanks for catching that!

Thanks!


Add retry for client.py where necessary

This change is

Coverage decreased (-0.1%) to 76.744% when pulling 5d80a2cbe47761e4e268001a62daf35ec37605c2 on mykhaly:client.py_retry_adding into d1d0cfd5cce78c8bf349f89b3b517b90c8741668 on openprocurement:master.

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable

А коли це востаннє апдейтилось?

18 березня)

Coverage increased (+0.5%) to 76.875% when pulling 5cd19f77c941b027e46d8572b87f932b3dce7902 on mykhaly:client.py_retry_adding into 46066b2a43c8b654c442eff35bf49bf7e15aa702 on openprocurement:master.

Лол, code coverage збільшився)


ReactTable within a form

I am getting the following warning when using a ReactTable within a form:
Warning: validateDOMNesting(...): <form> cannot appear as a descendant of <form>. See EditUserForm > form > ... > src > pagination > form.
If I set showPagination to false then I don't get this problem since it is the internal implementation of a pagination which uses a form.

This isn't related to ReactTable specifically, more so its not html syntactically correct to nest a form inside of another form element. What does the full rendered HTML look like for your table?

This has been fixed in the latest version 5.3.5.

I'm still getting this warning.


ci: add codeql

Please answer these questions before submitting a pull request

Why submit this pull request?

[ ] Bugfix

[ ] New feature provided

[ ] Improve performance

[ ] Backport patches

Related issues

Bugfix

Description

How to fix?

New feature or improvement

Describe the details and related test reports.

Backport patches

Why need to backport?

Source branch

Related commits and pull requests

Target branch

@tokers some files conflicts.


Requirements for tapo not found: ['plugp100==2.2.1']

Version of the integration

1.3.0
Configuration

3 devices: P110, P100 and LB510E
LB510E: 1.2.2
P110: 1.1.6
P100: 1.4.10
Logger: homeassistant.setup
Source: setup.py:202
First occurred: 12:22:27 (1 occurrences)
Last logged: 12:22:27

Setup failed for custom integration tapo: Requirements for tapo not found: ['plugp100==2.2.1'].

Describe the bug
The error occurred after the 1.3.0 update.
The integration is marked as "not loaded"

Debug log

2022-12-31 12:32:47.539 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hvcgroep which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-12-31 12:32:47.541 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration tapo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-12-31 12:32:47.542 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration youtube which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-12-31 12:32:47.544 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-12-31 12:32:47.545 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hass_agent_notifier which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-12-31 12:32:47.547 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-12-31 12:32:47.551 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration tapo_control which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-12-31 12:32:47.553 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hass_agent which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

Same Problem after Update to 1.3.0

Fixed right now 1.3.1

Fix does not work. Same Problem after Update to 1.3.1.

Same problem here with 1.3.1

Have you restart home assistant?
Il Sab 31 Dic 2022, 12:54 frankie69ha @.***> ha scritto:

Fix does not work. Same Problem after Update to 1.3.1.
—
Reply to this email directly, view it on GitHub
https://github.com/petretiandrea/home-assistant-tapo-p100/issues/309#issuecomment-1368205808,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGE2NFKRQG2D66PMJTKG4OLWQANIRANCNFSM6AAAAAATNQDZVQ
.
You are receiving this because you modified the open/close state.Message
ID: @.***
com>

Version of HA?

I restarted HA - but still the same error.

Version of HA?

2022.12.8 (Core in Docker)

I restartet HA. Home Assistant 2022.12.8

Ops, manifest.json is not updated, i fix it

Try now 1.3.2

1.3.2 fixed it.


Unable to render captcha for multiple forms on a single page

I have multiple user registration forms on a single page. The captcha is getting rendered for only first form on the page and not for others.

See that answer -- https://stackoverflow.com/a/28126317/5707560

Or you can use https://github.com/kbytesys/django-recaptcha2
See the example: https://github.com/kbytesys/django-recaptcha2#multiple-render-example

In my case, it's rendered many times, but only the first works correctly. Will investigate.

Same question as #75.


[typescript-react-query] Remove graphql-tag from peerDependencies

Describe the bug
I get the following warning when running yarn add -D @graphql-codegen/typescript-react-query:
<EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>
However, I'm not using graphql-tag since it's working perfectly fine with just strings. I see no reference to graphql-tag in the plugin source, so it seems like an unnecessary peerDependency.
To Reproduce
Run yarn add -D @graphql-codegen/typescript-react-query.
Expected behavior
No warning when installing the package without graphql-tag.

PR for this here: https://github.com/dotansimha/graphql-code-generator/pull/7301

PR merged. Closing this issue. Thanks 🙂


[1.11.2] Game crashes when placing a cable Besides an energy cube.

Crash log:
https://pastebin.com/C5SfjmYg

Fixed!


hi！I'm having some issues with this plugin

I'm using motionbuilder2023, but I can't link plugins, and when I print in vscdoe and press ctrl enter, motionbuilder2023 doesn't respond at all

Hi,
What happens if you run the command manually, without using the shortcut? Just thinking some other extension you have may already be using Ctrl + Enter.
So try using Ctrl + Shift + P and then search for "MotionBuilder: Execute" (must be in a Python file).
Also, do look through all of the troubleshooting steps on this page:
Failed to connect to MotionBuilder [Troubleshooting]
Cheers,
Nils

I'm very glad to hear from you. I found that when I try to run a lightweight script, the plugin can run. I think it may be my script's problem that it didn't work before. Thanks again for your generous answer.
1040151318
@.***

------------------ 原始邮件 ------------------
发件人:                                                                                "nils-soderman/vscode-motionbuilder-utils"                                                                                @.>;
发送时间: 2022年12月8日(星期四) 凌晨4:13
@.>;
<EMAIL_ADDRESS>主题: Re: [nils-soderman/vscode-motionbuilder-utils] hi！I'm having some issues with this plugin (Issue #4)
Hi,
What happens if you run the command manually, without using the shortcut? Just thinking some other extension you have may already be using Ctrl + Enter.
So try using Ctrl + Shift + P and then search for "MotionBuilder: Execute" (must be in a Python file).
Also, do look through all of the troubleshooting steps on this page:
Failed to connect to MotionBuilder [Troubleshooting]
Cheers,
Nils
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Glad to hear it's working, do let me know if you run into any other issues while using this!


I can see an icon that links to the GitHub repository for the given resource

Description:
As an OSS Concourse User
I can see an icon that links to the GitHub repository for the given resource
So that I can quickly find additional information for the resource
Acceptance Criteria:
Given I am on the page https://concourse.github.io/dutyfree/
I can see an icon on the resource tile
And when I click on that icon it brings me to the Github repository for the resource in a new tab
PM Notes: Location of the icon to be agreed with design. We will use the Github Icon.
TITLE = Resource Source on Github

Accepted by @Pivotal-Kevin-Curley. Behaviour is as per acceptance criteria.


(Proposed solution) Multiline x-axis labels interfere with the bottom legend

I'd like to propose a fix that would handle the mess that emerges when one is having multiline labels on the x-axis while having the legend positioned at the bottom. (which happens at least with the newest Chrome)
The problem: (don't mind the labels repeating - it's just to make them longer)

After a few hours of figuring out how to do this I came up with a rather simplified and naive solution, that consists of 4 actual changes to the c3.js file:
Step 1: c3.js, lines 128 - 132
$$.currentMaxTickWidths = {
	x: 0,
	y: 0,
	y2: 0
};

...replaced with...
$$.currentMaxTickWidths = $$.currentMaxTickHeights = {
	x: 0,
	y: 0,
	y2: 0
};

===
Step 2: c3.js, line 345
xAxisHeight = config.axis_rotated || hasArc ? 0 : $$.getHorizontalAxisHeight('x'),

...replaced with...
xAxisHeight = config.axis_rotated || hasArc ? 0 : $$.getHorizontalAxisHeight('x') + $$.getMaxTickHeight('x', true),

===
Step 3: c3.js, insert new method after the body of c3_chart_internal_fn.getMaxTickWidth method
c3_chart_internal_fn.getMaxTickHeight = function (id, withoutRecompute) {
	var $$ = this, config = $$.config,
		maxHeight = 0, targetsToShow, scale, axis, body, svg;
	if (withoutRecompute && $$.currentMaxTickHeights[id]) {
		return $$.currentMaxTickHeights[id];
	}
	if ($$.svg) {
		targetsToShow = $$.filterTargetsToShow($$.data.targets);
		if (id === 'y') {
			scale = $$.y.copy().domain($$.getYDomain(targetsToShow, 'y'));
			axis = $$.getYAxis(scale, $$.yOrient, config.axis_y_tick_format, $$.yAxisTickValues);
		} else if (id === 'y2') {
			scale = $$.y2.copy().domain($$.getYDomain(targetsToShow, 'y2'));
			axis = $$.getYAxis(scale, $$.y2Orient, config.axis_y2_tick_format, $$.y2AxisTickValues);
		} else {
			scale = $$.x.copy().domain($$.getXDomain(targetsToShow));
			axis = $$.getXAxis(scale, $$.xOrient, $$.xAxisTickFormat, $$.xAxisTickValues);
			$$.updateXAxisTickValues(targetsToShow, axis);
		}
		body = this.d3.select('body').classed('c3', true);
		svg = body.append('svg').style('visibility', 'hidden').style('height', 0);
		svg.append('g').call(axis).each(function () {
			$$.d3.select(this).selectAll('text tspan').each(function () {
				var box = this.getBoundingClientRect();
				if (box.height >= 0 && maxHeight < box.height) { maxHeight = box.height; }
			});
		});
		// TODO: time lag to get maxHeight
		window.setTimeout(function () {
			svg.remove();
		}, 100);
		body.classed('c3', false);
	}
	$$.currentMaxTickHeights[id] = maxHeight <= 0 ? $$.currentMaxTickHeights[id] : maxHeight;
	return $$.currentMaxTickHeights[id];
};

===
Step 4: c3.js, remove lines 2624 - 2627
// Calculate x axis height when tick rotated
if (axisId === 'x' && !config.axis_rotated && config.axis_x_tick_rotate) {
	h = $$.getMaxTickWidth(axisId) * Math.cos(Math.PI * (90 - config.axis_x_tick_rotate) / 180);
}

===
Results:
Solved the original problem:

Problem with rotated labels:

Solved problem with rotated labels:

I am aware of this solution being quite naive :) ..but for the time being it fixes the problem I faced with long multiline tick labels on the x-axis, so - I wanted to share this and maybe offer this as a basis for the proper solution to be implemented in the official code. :cat2:
**EDIT: I just found out the solution above works only in Chrome (41), not in Firefox or IE. **

I have the same issue and have to set the axis height manually as an awkward workaround. It would be fantastic if this is fixed.

+1 A fix for this would really help me out.

Would be great to be able to manually insert newline in labels too.
Not perfect solution (because it's done AFTER rendering, so the calculated width to show/hide ticks labels doesn't apply):
onrendered : function () {
    d3.selectAll('g.c3-axis-x g text').each(insertLinebreaks);
}

and
               var insertLinebreaks = function (d) {
                    var el = d3.select(this);
                    var label=labels_{{tableFilter.ChartActive}}[d];
                    var words = label.split('\n');
                    el.text('');

                    for (var i = 0; i < words.length; i++) {
                        var tspan = el.append('tspan').text(words[i]);
                        if (i > 0) {
                            tspan.attr('x', 0).attr('dy', '9');
                        } else {
                            tspan.attr('x', 0).attr('dy', '5');
                        }
                    }
                };

Thanks for this attempt but unfortunately, like you said, it does not work for FF (can't test IE).
It also do not fix the fact that the X axis tick values overlap the X axis label.