Need more assistance

Hi Koen,
Can you help me out please?
Created this folder config/esphome/common containing 4 yaml files: base, aqi, bme280 & mh-z19b.
in the yaml config for the ESP8266 the packages not used are # (out).
still getting al kinds of errors but can't find the issue.
When trying to transfer the configuration to the ESP:
Couldn't find ID 'pm2_5_value'
Couldn't find ID 'pm10_value'
Couldn't find ID 'show_calibrating'. Please check you have defined an ID with that name in your configuration. These IDs look similar: "co2_calibrate", "co2_calibrated"
I'm using the d1_mini wemos.
and more of those like that,
can you give me a hint please ?
thanks
H

It's best to copy all YAML files from the common directory. For instance, the errors about the pm values are because these are defined in the sds011.yaml file.

Thanks Koen, that helped.
It is working (I think ) set it to calibrate, see what happens tomorrow
H

Calibration is done for 20 minutes: https://github.com/koenvervloesem/ESPHome-Air-Quality-Monitor/blob/acff085bf7ee94120aadeeb3bae73f3d337e15e5/common/mh-z19b.yaml#L74

Hi Koen,
Can't get it working; The code reverts back to different yaml than the one is uploaded?! Can't figure out why this is happening:
1: create a new ESPHOME device with the code what's in here : koenvervloesem/ESPHome-Air-Quality-Monitor/esphome-air-quality-monitor-esp8266.yaml.
2: made some adjustments to this code for logging and WIFI
3: upload this yaml to the 8266
4: device is not getting online
5: ESPhome detects a new device !
6: Click adopt to add this new one to ESPhome
7: After adopt and install the device is online but the yaml code is different ?!
8: yaml code is now (below):
9: this isn;t working because the pin declarations in the online version are different than my esp
10: how to stick with the yaml I uploaded first ??
_substitutions:
name: esphome-airquality-c00b8d
friendly_name: AIRQUALITY c00b8d
packages:
koenvervloesem.air-quality-monitor: github://koenvervloesem/ESPHome-Air-Quality-Monitor/esphome-air-quality-monitor-esp8266.yaml@main
esphome:
name: ${name}
name_add_mac_suffix: false
friendly_name: ${friendly_name}
api:
encryption:
key: "......blablabla......"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password_
_

I'm not sure what is going wrong.
If you have exactly the same configuration as in the table, with an MH-Z19B connected to the ESP8266, then you could try the web-based firmware installer for this project. This requires Chrome or Edge.

Thanks,
I'm using the d1_mini thus the pinout is different.
Could you do me a favor ?
Can you write me a yaml for d1_mini containing only the code for the mhz19b without the packages?
Also getting this error:
You're_ using the same serial port for logging and the UART component. Please disable logging over the serial port by setting logger->baud_rate to 0
But I can't disable the logging because improv serial needs it
can I buy you a coffee ?
thanks
H

Now that I'm reading your previous message again, I think what's happening is that you changed the esphome-air-quality-monitor-esp8266.yaml file with the pinout of your D1 mini, right? But you kept these lines:
https://github.com/koenvervloesem/ESPHome-Air-Quality-Monitor/blob/main/esphome-air-quality-monitor-esp8266.yaml#L23-L24
So that's why the code reverts back to the one for the NodeMCU. So if you delete those two lines in your YAML file, I expect that you're closer to a solution :-) Can you give this a try?

Yes thanks Koen,That is the trick.But; found out that the MH-Z19B sensor does only work with nodemcu ESP not with others.Has something to do with the double use of the UART/FTDI combination. Lots of people having this issue. Don't now whether you chose the nodemcu bij coincidence?Anyway,  I'm copying your entire project thus I ordered a nodemcu for myself.Thanks
-------- Original message --------From: Koen Vervloesem @.> Date: 05/06/2023  08:41  (GMT+01:00) To: koenvervloesem/ESPHome-Air-Quality-Monitor @.> Cc: madebywitteveen @.>, Author @.> Subject: Re: [koenvervloesem/ESPHome-Air-Quality-Monitor] Need more assistance (Issue #7)
Now that I'm reading your previous message again, I think what's happening is that you changed the esphome-air-quality-monitor-esp8266.yaml file with the pinout of your D1 mini, right? But you kept these lines:
https://github.com/koenvervloesem/ESPHome-Air-Quality-Monitor/blob/main/esphome-air-quality-monitor-esp8266.yaml#L23-L24
So that's why the code reverts back to the one for the NodeMCU. So if you delete those two lines in your YAML file, I expect that you're closer to a solution :-) Can you give this a try?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Internal server error when accessing

Environment
Docker
Version
latest
Describe the problem
I saved the container and then later loaded it on the server. i found that the container seems to be using the wrong network. I then changed it to host network and released port 7575. Error when accessing
Logs
hostname: '3b1ba11303aa'
}
Error: getaddrinfo ENOTFOUND 3b1ba11303aa
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: '3b1ba11303aa'
}
Error: getaddrinfo ENOTFOUND 3b1ba11303aa
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: '3b1ba11303aa'
}
Error: getaddrinfo ENOTFOUND 3b1ba11303aa
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: '3b1ba11303aa'
}
Error: getaddrinfo ENOTFOUND 3b1ba11303aa
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: '3b1ba11303aa'
}
Error: getaddrinfo ENOTFOUND 3b1ba11303aa
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: '3b1ba11303aa'
}
Error: getaddrinfo ENOTFOUND 3b1ba11303aa
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: '3b1ba11303aa'
}
Error: getaddrinfo ENOTFOUND 3b1ba11303aa
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: '3b1ba11303aa'
}
Error: getaddrinfo ENOTFOUND 3b1ba11303aa
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: '3b1ba11303aa'
}
Error: getaddrinfo ENOTFOUND 3b1ba11303aa
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: '3b1ba11303aa'
}
Error: getaddrinfo ENOTFOUND 3b1ba11303aa
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: '3b1ba11303aa'
}
Error: getaddrinfo ENOTFOUND 3b1ba11303aa
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: '3b1ba11303aa'
}
Error: getaddrinfo ENOTFOUND 3b1ba11303aa
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: '3b1ba11303aa'
}
Error: getaddrinfo ENOTFOUND 3b1ba11303aa
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: '3b1ba11303aa'
}
Error: getaddrinfo ENOTFOUND 3b1ba11303aa
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: '3b1ba11303aa'
}
Context

Please tick the boxes

[X] I confirm that I attached the proper logs
[X] I've read the docs
[X] I've checked for duplicate issues
[X] I've tried to debug myself

Hey, thanks for the report. I think the problem is related to the usage of host network.
As we're using HOSTNAME to request authentication stuff internally (inside the container) and host network is configured it no longer can access the hostname, in your example 3b1ba11303aa. I would suggest to not use host network. Either you can create networks between docker things or follow the following stackoverflow post:
https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach
Usage of HOSTNAME:
https://github.com/ajnart/homarr/blob/5b23f7d13acc9cacc3c85522b3fd9ef01928cb72/scripts/run.sh#L4

Thanks, I used the default network, but even after letting go of the firewall, I still can't access it!

Hey, thanks for the report. I think the problem is related to the usage of host network. As we're using HOSTNAME to request authentication stuff internally (inside the container) and host network is configured it no longer can access the hostname, in your example 3b1ba11303aa. I would suggest to not use host network. Either you can create networks between docker things or follow the following stackoverflow post: https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach
Usage of HOSTNAME:
https://github.com/ajnart/homarr/blob/5b23f7d13acc9cacc3c85522b3fd9ef01928cb72/scripts/run.sh#L4

After following the Stackoverlfow post. The following was added to my docker-compose.yml:
extra_hosts:
    - "host.docker.internal:host-gateway"

When adding a new App and setting the "Internal address" to http://host.docker.internal:<port> I get the following error:
ERROR  failed to communicate with media server 'Jellyfin' (547821ba-f60d-4900-85f3-1ea10bb0c563): TypeError: sessions.filter is not a function

A workaround for me is to set the "Internal address" to the same as the public address (a public ipv4 address), and then it works. But this won't work if the service is only listening on the local network


Fix docker login on Travis CI

The -e option has been removed from docker login.
Command taken from https://docs.travis-ci.com/user/docker/#Pushing-a-Docker-Image-to-a-Registry

Thank you!
Merged on 6.4.2 branch and building:
https://travis-ci.org/APSL/docker-thumbor/builds/364730644


Custom search query that refers to @searchable-generated types and inputs

Amplify CLI Version
12.3.0
Question
How would I refer to @searchable-generated types and inputs from a custom search query like below:
search(
  agreements: SearchableAgreementFilterInput
  rates: SearchableRateFilterInput
): SearchableConnection

Agreement and Rate are types annotated with @searchable,
but I get an error saying Unknown type for SearchableAgreementFilterInput and SearchableRateFilterInput.
I think this is because those aren't in the source schema, only in the generated schema.
How would I move past the error and reuse those inputs and other types that are only in the generated schema?

This is basically our first step to adding a global / multi-model search
and we want to provide an interface that is similar to the single-model search.

Hi @redjonzaci, these searchable types are added during the schema compilation, so not accessible before that operation. You might need to define your own custom types for your case.


How to customize h2 title "Blogs"

I am not seeing a way to customize the title that appears at https://hugo-profile.netlify.app/blogs/ . This looks to be generated from https://github.com/gurusabarish/hugo-profile/blob/master/layouts/_default/list.html#L12 where Title is set by front matter(?) or uses the site's main title.
How am I supposed to set this variable appropriately as an end user?
For example, for the navbar I have configured the following in my config.yaml:
Menus:
  main:
    - identifier: blog
      name: Articles
      title: Blog posts
      url: /blog
      weight: 1

I would like the title of the /blog URL to be Articles, not Blogs. Nowhere in my config does "blogs" exist, yet it must be picked up from somewhere deeper in the theme to generate in this .Title field.

Ahh thank you!


How can I calculate the speed of processing for the algorithm? e.g. calculate FramesPerSecond.

I need to compute how many frames can the algorithm process in a second. What script is responsible for calling the four blocks (Yolo, SORT, HRNet, GAST)?

Hi. The blocks are not called in parallel but in sequence. For example: first YOLO computes every frame of the video and gives results, then HRNet starts to elaborate each frame. At the end of HRNet work for each frame, GAST starts.
So, if you want to have an fps value you need to start from the main script and then add your fps calculations singularly for each block.

@rirri93  can you give the script for real time 3d pose estimation of all pipline as your demo video demonstrated ?


youtube-dl option to check on running download

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

WRITE QUESTION HERE
Hi, i am looking for the correct option if exist to check on running downloads. I use youtube-dl on headless machine that is accessed via terminal window.  When it is accidently closed i can not see the current running download status.
thanks

If you typed a yt-dl command into the terminal window and then closed the window while the command was running, yt-dl was probably closed as well.
This may be helpful.

i understand thanks

If you have a follow-up question, re-open the issue.

@gl86
You could redirect youtube-dl's stdout to a file, and then run tail on that file.
Else, build (or find) a wrapper around youtube-dl to handle the remote status interrogation you seek.


Need support for multi-word terms

I need support for glossary terms with multiple words. Any chance you can add this?

I need support for glossary terms with multiple words. Any chance you can add this?

Would also like this feature. Many of my terms have spaces.


stats: don't leak obsolete stats across hot restart

Stats previously "migrated" across hot restart by simply living in shared memory. With PR #5910, they will instead be passed in messages from hot restart parent to child. In the current implementation, the merging of a parent's counter value into the child is indistinguishable (from the stats system's point of view) from the actual child Envoy legitimately add()ing to that stat. The result is that an obsolete counter name, which would previously have been dropped due to the child simply never attaching to that piece of shared memory, will stick around forever in the child.
Suggestions so far:
from @mattklein123:

The simplest solution would be to just not add to counters that don't exist yet in the new process. However, if we do this, and we are sending deltas, we may actually lose data. The other option would be to somehow store deltas for unknown counters through the hot restart drain period, and then if they are still not attached by the time the parent shuts down, we just abandon the counter deltas.

from me:

Maybe a clean way would be to let everything be the way it currently is in this PR, but add a flag bit "used by this process" that would be set by any interaction (other than merging) with the stat. Then, at the end of the hot restart, get rid of all stats without that flag set.
[...there could be a performance issue...]
I wonder if it's possible to repurpose the existing Used flag, which is already getting set by all stat modifications, and which currently (going by my not-too-deep look just now) doesn't actually appear to be doing all that much.

@fredlas I'm marking this a bug and going to assume you are going to work on it as a near-term follow up, right?

Correct, I will start on it now, now that #5910 looks unlikely to significantly change further.

One important piece of info: do we consider the child accessing a stat's .value() to be enough to want to keep it, or should the child need to modify the value?

One important piece of info: do we consider the child accessing a stat's .value() to be enough to want to keep it, or should the child need to modify the value?

Optimally the thing we key off of is creation, not access or modification. This would be similar to the previous behavior, and I think optimal from a performance perspective.
Keep in mind that if you add and then delete, you probably need to setup some type of temporary scope, because stats cannot be deleted from the root scope IIRC. This is why I still think it might be better to not add at all if the child has not yet created a stat.

@fredlas I thought of what I think is a pretty slick solution to this problem, let me know what you think:

Create a new scope off of the root when you hot restart.
Put all parent stats in this scope.
Delete the scope at the end of hot restart.

I'm pretty sure that due to reference counting, if another scope references the same stat it won't go away, otherwise it will. WDYT? cc @jmarantz

SGTM. I suppose the scope doesn't need to include a prefix.

That does sound very clean. I still don't understand exactly what scopes and stores are, and how they relate and differ, especially given some of the spooky behavior shown in thread_local_store_test.cc. So, I'm not sure I would be able to implement that approach in a reasonable amount of time. I implemented the "hold the deltas" approach yesterday evening and this morning; maybe that can be a stopgap until someone can do this one? (There will not be any incompatibility issues).

@fredlas can you potentially sync up with @jmarantz in person? I think the scope method I outline would be very easy to implement and also easy to test.

We just chatted f2f -- I think we should be good with your approach now.

Fixed by https://github.com/envoyproxy/envoy/pull/6850


fix: removed the 10 white space infront of the issue's text

Resolves  #772

Sensible defaults sounds like a good idea!

https://github.com/ubiquity/ubiquibot/blob/628c2221a2d6ee62583b702d711ba57393415b6c/src/helpers/comment.ts#L10
you should modify this function to still parse the element but not its children. For example currently if it's ignore-children: code it won't include code item and its children, but we still want to include code. Don't forget to resolve conflicts
@pavlovcik do we want to set some sensible default like ignore-children: blockquote, code, pre, a

sure

@whilefoo going to open a new pull req and push the changes in one commit its kinda messy rn


About: Developers: many names missing

Proposal: all developers who contributed more than 100 lines should be listed.
src/components/dropdown/About.tsx

Ning Yuan suggests that we use the github API to extract contributors:
It'd be nice to implement the list automatically. Use the github api (e.g. use https://www.npmjs.com/package/github-api) to pull a list of contributors once during every build, maybe?

I think it was @Rrtheonlyone who showed me how to use the github API in order to give credit to the developers in an About page. I think something like that could boost our developers' motivation. Which of our teams could look into this?

To be resolved in #609


Implement recycling views

When you have 200+ games on your Switch and you try to use the sys-clk manager, the framerate is down the toilets and RAM usage is up to the roof. That is because 200+ list items are allocated and drawn (they are clipped when out of view, but still), with each list item its own thumbnail.
To solve that problem, we need to implement the same recycling mechanism as Android has:

Image credit to https://alexdunndev.files.wordpress.com/
This works best if all views in the list are the same.

On screen you always draw just enough views to fill the screen, that would be about 4/5 for the above diagram -> that's the framerate efficiency
You keep some unused views to avoid allocations when scolling, but views that are out of the screen don't actually exist -> that's memory efficiency
When you scroll, you recycle existing views and change their data (so change the label text, the image source etc...) to make it LOOK like it's scrolling to the user

Here's how to implement it in borealis:

Make a RecyclingList view
Make an RecyclingAdapter interface, containing three methods: one to allocate a new view, one to "bind data to a view" and called when the view is "thrown away"
Make a convenience adapter class for XML views XMLRecyclingAdapter, which implements the "allocate a new view" part from a given XML file
When creating a recycling list view, you give it an adapter
The "allocate a new view" method gets called everytime a new view is needed (on creation, if the screen is resized, or if an abnormally small view gets added, adding the need to a new one to fill in the gap...)
The "bind data to a view" method gets called everytime the user scrolls enough for a new view to come in, before showing the view
The "thrown away" method is called everytime a view slides out of the screen, before returning to the views stash

The user is responsible for handling resources in the adapter code. If there are images to load for instance, they have to be unloaded in the "throw away" method, and loaded back in the "bind data" method. It can even be asynchronous if loading the image takes time (provided the Image class allows it 👀 ).
Or the implementation can be naive and everything can be stored in one big std::vector... in which case the framerate will stay fast, but the memory usage will be high. That's up to the user.

In progress via #153


add reason if UNSUPPORTED

If you think that the substring "(e.g. setting CA certificate bundle)" should be removed or the whole string otherwise modified somehow, please do propose alternatives.
closes #211

Can you get unsupported from other than no sni (which is included) and lacking CA certificate bundle capabilities? If not, it could be just "the stub couldn't implement CA certificate bundle usage".

@aleksiklasila I did test it with the obsolete php stub tho, works like a charm. As soon we agree on the string this can be merged.

"the stub couldn't implement the requested behaviour (e.g. setting CA certificate bundle)"
"the stub couldn't implement the requested behaviour".
something similar

I might just prefer the first one (maybe more informative although may not always seem as clear/ universal as the second one).
The more detailed information can anyways be printed as the context (output) if wanted.


WIP: Support Rails 5

This repo doesn't have the Rails 5.0 & 5.1 commits that others had already contributed, so I merged https://github.com/nickgal/postgres_ext/tree/as_rails-5-1. I'm currently working on 5.2 support.
CC @aschuster3 @nickgal @shaneog

🤔 Arel is pretty hard to understand. I'd definitely appreciate help with this :octocat:

IIRC the problems I was having here were related to bind parameters. I just discovered that ActiveRecord::Base.connection.unprepared_statement{ ... } lets you disable bind parameters, so that might help with debugging.

For anyone subscribed to this PR, there's a new gem that you might want to use instead: https://github.com/danmcclain/postgres_ext/issues/3


python311Packages.patsy: 0.5.4 -> 0.5.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.patsy is: A Python package for describing statistical models
meta.homepage for python311Packages.patsy is: https://github.com/pydata/patsy
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.5.6 with grep in /nix/store/j1xmyql6y16kcj6pd5hm6rdwj0cdgag8-python3.11-patsy-0.5.6
found 0.5.6 in filename of file in /nix/store/j1xmyql6y16kcj6pd5hm6rdwj0cdgag8-python3.11-patsy-0.5.6

Rebuild report (if merged into master) (click to expand)

19 total rebuild path(s)

19 package rebuild(s)

First fifty rebuilds by attrpath
intensity-normalization
python311Packages.bsuite
python311Packages.cufflinks
python311Packages.flyingsquid
python311Packages.intensity-normalization
python311Packages.patsy
python311Packages.pgmpy
python311Packages.plotnine
python311Packages.pmdarima
python311Packages.scikit-posthocs
python311Packages.statsmodels
python311Packages.tbats
python311Packages.tsfresh
python312Packages.patsy
python312Packages.plotnine
python312Packages.pmdarima
python312Packages.scikit-posthocs
python312Packages.statsmodels
python312Packages.tbats

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/j1xmyql6y16kcj6pd5hm6rdwj0cdgag8-python3.11-patsy-0.5.6 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.patsy https://github.com/r-ryantm/nixpkgs/archive/5ea2d3f8b7e86a7ce7e20386377ec56fe1ea7b8e.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/5ea2d3f8b7e86a7ce7e20386377ec56fe1ea7b8e#python311Packages.patsy

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/j1xmyql6y16kcj6pd5hm6rdwj0cdgag8-python3.11-patsy-0.5.6
ls -la /nix/store/j1xmyql6y16kcj6pd5hm6rdwj0cdgag8-python3.11-patsy-0.5.6/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package marked as broken and skipped:

python312Packages.plotnine

7 packages failed to build:

intensity-normalization (python311Packages.intensity-normalization)
python311Packages.flyingsquid
python311Packages.pgmpy
python311Packages.scikit-posthocs
python312Packages.pmdarima
python312Packages.scikit-posthocs
python312Packages.tbats

10 packages built:

python311Packages.bsuite
python311Packages.cufflinks
python311Packages.patsy
python311Packages.plotnine
python311Packages.pmdarima
python311Packages.statsmodels
python311Packages.tbats
python311Packages.tsfresh
python312Packages.patsy
python312Packages.statsmodels

Maintainer pings
cc @1pakch for testing.

@ofborg build intensity-normalization


Remove unwanted byte-buddy forced version.

It looks like this PR introduced an unwanted byte-buddy artifact version:
https://github.com/apache/beam/commit/8a3399b95cabaf486523712eb74ac1bdfd8a19d9#diff-23833058cbf2c1172b90e7764032aa59R464
This library was recently vendored, and nobody uses the key library.java.byte_buddy.  However, the code later in the module now forces this version during resolution (although only at runtime?  I had some odd gradle reports that suggested it wasn't enforced.)
For test artifacts, Mockito 3.0.0 merged last week depends on 1.9.7+

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @mxm

Run Portable_Python PreCommit

Run Portable_Python PreCommit

Java PreCommit fails but it is "only" an old flaky test: https://jira.apache.org/jira/browse/BEAM-8025

Will merge this when Portable_Python PreCommit passes.


[release-1.19] Dedupe wildcard routes based on the virtualservice with the most specific match (#48071)

Fixes #48258

@keithmattix: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test unit-tests-arm64

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

@keithmattix: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test unit-tests-arm64

integ-basic-arm64_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test integ-basic-arm64

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

@keithmattix: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test unit-tests-arm64

integ-basic-arm64_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test integ-basic-arm64

unit-tests_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test unit-tests

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

@keithmattix: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test unit-tests-arm64

integ-basic-arm64_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test integ-basic-arm64

unit-tests_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test unit-tests

release-test_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test release-test

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

@keithmattix: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test unit-tests-arm64

integ-basic-arm64_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test integ-basic-arm64

unit-tests_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test unit-tests

release-test_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test release-test

integ-ds_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test integ-ds

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

@keithmattix: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test unit-tests-arm64

integ-basic-arm64_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test integ-basic-arm64

unit-tests_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test unit-tests

release-test_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test release-test

integ-ds_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test integ-ds

analyze-tests_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test analyze-tests

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

@keithmattix: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test unit-tests-arm64

integ-basic-arm64_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test integ-basic-arm64

unit-tests_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test unit-tests

release-test_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test release-test

integ-ds_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test integ-ds

analyze-tests_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test analyze-tests

lint_istio_release-1.19
b587d8ef494ecda97338aa6ca602dcc91c797991
link
true
/test lint

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

@keithmattix: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-basic-arm64_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test integ-basic-arm64

unit-tests_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test unit-tests

release-test_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test release-test

integ-ds_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test integ-ds

analyze-tests_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test analyze-tests

lint_istio_release-1.19
b587d8ef494ecda97338aa6ca602dcc91c797991
link
true
/test lint

unit-tests-arm64_istio_release-1.19
b587d8ef494ecda97338aa6ca602dcc91c797991
link
true
/test unit-tests-arm64

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

@keithmattix: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-basic-arm64_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test integ-basic-arm64

unit-tests_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test unit-tests

release-test_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test release-test

integ-ds_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test integ-ds

lint_istio_release-1.19
b587d8ef494ecda97338aa6ca602dcc91c797991
link
true
/test lint

unit-tests-arm64_istio_release-1.19
b587d8ef494ecda97338aa6ca602dcc91c797991
link
true
/test unit-tests-arm64

gencheck_istio_release-1.19
b587d8ef494ecda97338aa6ca602dcc91c797991
link
true
/test gencheck

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

@keithmattix: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-test_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test release-test

integ-ds_istio_release-1.19
d358a30a7bf0270cc49b20cca37fa703c656beab
link
true
/test integ-ds

lint_istio_release-1.19
b587d8ef494ecda97338aa6ca602dcc91c797991
link
true
/test lint

unit-tests-arm64_istio_release-1.19
b587d8ef494ecda97338aa6ca602dcc91c797991
link
true
/test unit-tests-arm64

gencheck_istio_release-1.19
b587d8ef494ecda97338aa6ca602dcc91c797991
link
true
/test gencheck

unit-tests_istio_release-1.19
b587d8ef494ecda97338aa6ca602dcc91c797991
link
true
/test unit-tests

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

@hanxiaop did this PR make to 1.19.5?

@hanxiaop did this PR make it to 1.19.5?

@kfaseela I don't think so, it should be in the next release.

@hanxiaop did this PR make it to 1.19.5?

@kfaseela I don't think so, it should be in the next release.

Ok, thank you!


Biosample links to Qiita

The biosample class in the NMDC schema includes a variety of slots for capturing web-resolvable identifiers such as those from GOLD and INSDC.
Several of those identifiers are already materialized as links on the data portal
@emileyfadrosh asked if we could add links to biosamples on the Qiita site, especially for the EMP 500 samples.
@cmungall and I looked into that on Friday and did not see any per-sample pages at Qiita. So I am inclined to say no, we cant' do that.

If we did find find Qiita per-sample pages, we would have to determine if they are parameterized with some IDs that we already have in mongodb. For example, if there's soemthing like a Qiita ID, we would either need to add that to the schema, or we would need to find a way to convert between the Qiita ID and soemthing we already do have for the biosamples.

Correct, there are no per-sample pages on Qiita, just the study page: https://qiita.ucsd.edu/study/description/13114
@turbomam @cmungall would it make sense/be possible to add that as part of the study? thanks!

Thanks, @emileyfadrosh
When I enter https://qiita.ucsd.edu/study/description/13114 into Chrome, I am sent directly to the Qiita home page:

Qiita Spots Patterns
Qiita (canonically pronounced cheetah) is an entirely open-source microbial study management platform...

^ maybe because I'm not logged in!

note to self: remember to log into Qiita!


Add skip to fix unnoticed bug with import migration tool

See pull request #1342. Fixes logic so that imports that should not be changed are skipped, which was not happening correctly before. This was huge oversight on my part. I added a test for normal imports that shouldn't be touched.

Thanks!


windeployqt locates a release version of icudtXX.dll for a debug binary

Describe the bug
windeployqt locates a release version of icudtXX.dll for a debug binary
Environment

OS: Windows
Compiler: msvc

To Reproduce
Steps to reproduce the behavior:

> cmd /c "set "path=d:\src\vcpkg\installed\x64-windows\debug\bin;%path%" && d:\src\vcpkg\installed\x64-windows\tools\qt5\debug\bin\windeployqt.exe --qmldir E:\tmp\Project1\QtQuickApplication1 E:\tmp\Project1\out\build\x64-Debug\QtQuickApplication1"
E:\tmp\Project1\out\build\x64-Debug\QtQuickApplication1\xxx.exe 64 bit, debug executable [QML]
Unable to locate ICU library icudt67.dll

Expected behavior
windeployqt should have looked for icudtd67.dll
Additional context
Although qtdeploy.ps1 could deploy icudtd, it couldn't handle QML imports.

FYI: We fixed the issue upstream as well. The fix will also be cherry picked to Qt 5.15.


feat: query pending utxos and update balance only when required

Closing this as it is not worth the effort in my opinion for now and would introduce also many more query+update calls for a little result.


pythonPackages.iso-639: add setuptools dependency

Motivation for this change
Needed at runtime (can be tested by using streamlink). cc #68314
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

Notify maintainers
cc @

Can you paste the error you encounter? I couldn't reproduce.

Ah, it's possible this was just in release-19.09.
streamlink https://www.twitch.tv/videos/480528462 best                                                                                ~
[cli][info] Found matching plugin twitch for URL https://www.twitch.tv/videos/480528462
Traceback (most recent call last):
  File "/nix/store/qdylmrk0fkyh43miifj0pb7x639bk8ds-streamlink-1.1.1/bin/.streamlink-wrapped", line 11, in <module>
    sys.exit(main())
  File "/nix/store/qdylmrk0fkyh43miifj0pb7x639bk8ds-streamlink-1.1.1/lib/python3.7/site-packages/streamlink_cli/main.py", line 1033, in main
    handle_url()
  File "/nix/store/qdylmrk0fkyh43miifj0pb7x639bk8ds-streamlink-1.1.1/lib/python3.7/site-packages/streamlink_cli/main.py", line 577, in handle_url
    streams = fetch_streams(plugin)
  File "/nix/store/qdylmrk0fkyh43miifj0pb7x639bk8ds-streamlink-1.1.1/lib/python3.7/site-packages/streamlink_cli/main.py", line 457, in fetch_streams
    sorting_excludes=args.stream_sorting_excludes)
  File "/nix/store/qdylmrk0fkyh43miifj0pb7x639bk8ds-streamlink-1.1.1/lib/python3.7/site-packages/streamlink/plugin/plugin.py", line 317, in streams
    ostreams = self._get_streams()
  File "/nix/store/qdylmrk0fkyh43miifj0pb7x639bk8ds-streamlink-1.1.1/lib/python3.7/site-packages/streamlink/plugins/twitch.py", line 768, in _get_streams
    return self._get_hls_streams("video")
  File "/nix/store/qdylmrk0fkyh43miifj0pb7x639bk8ds-streamlink-1.1.1/lib/python3.7/site-packages/streamlink/plugins/twitch.py", line 737, in _get_hls_streams
    force_restart=not stream_type == "live"
  File "/nix/store/qdylmrk0fkyh43miifj0pb7x639bk8ds-streamlink-1.1.1/lib/python3.7/site-packages/streamlink/stream/hls.py", line 374, in parse_variant_playlist
    locale = session_.localization
  File "/nix/store/qdylmrk0fkyh43miifj0pb7x639bk8ds-streamlink-1.1.1/lib/python3.7/site-packages/streamlink/session.py", line 496, in localization
    return Localization(self.get_option("locale"))
  File "/nix/store/qdylmrk0fkyh43miifj0pb7x639bk8ds-streamlink-1.1.1/lib/python3.7/site-packages/streamlink/utils/l10n.py", line 118, in __init__
    self.language_code = language_code
  File "/nix/store/qdylmrk0fkyh43miifj0pb7x639bk8ds-streamlink-1.1.1/lib/python3.7/site-packages/streamlink/utils/l10n.py", line 143, in language_code
    self.language, self.country = self._parse_locale_code(language_code)
  File "/nix/store/qdylmrk0fkyh43miifj0pb7x639bk8ds-streamlink-1.1.1/lib/python3.7/site-packages/streamlink/utils/l10n.py", line 128, in _parse_locale_code
    return self.get_language(parts[0]), self.get_country(parts[1])
  File "/nix/store/qdylmrk0fkyh43miifj0pb7x639bk8ds-streamlink-1.1.1/lib/python3.7/site-packages/streamlink/utils/l10n.py", line 172, in get_language
    return Language.get(language)
  File "/nix/store/qdylmrk0fkyh43miifj0pb7x639bk8ds-streamlink-1.1.1/lib/python3.7/site-packages/streamlink/utils/l10n.py", line 78, in get
    l = languages.get(alpha2=language)
  File "/nix/store/idzmzk0w9clsppmn3kvy435a1qig9hw4-python3.7-iso-639-0.4.5/lib/python3.7/site-packages/iso639/iso639.py", line 265, in get
    return getattr(self, key)[value]
  File "/nix/store/idzmzk0w9clsppmn3kvy435a1qig9hw4-python3.7-iso-639-0.4.5/lib/python3.7/site-packages/iso639/iso639.py", line 132, in __getattr__
    'alpha2': self.part1,
  File "/nix/store/idzmzk0w9clsppmn3kvy435a1qig9hw4-python3.7-iso-639-0.4.5/lib/python3.7/site-packages/iso639/iso639.py", line 105, in __get__
    val = self.f(instance)
  File "/nix/store/idzmzk0w9clsppmn3kvy435a1qig9hw4-python3.7-iso-639-0.4.5/lib/python3.7/site-packages/iso639/iso639.py", line 198, in part1
    return dict((x.part1, x) for x in self.languages if x.part1)
  File "/nix/store/idzmzk0w9clsppmn3kvy435a1qig9hw4-python3.7-iso-639-0.4.5/lib/python3.7/site-packages/iso639/iso639.py", line 105, in __get__
    val = self.f(instance)
  File "/nix/store/idzmzk0w9clsppmn3kvy435a1qig9hw4-python3.7-iso-639-0.4.5/lib/python3.7/site-packages/iso639/iso639.py", line 174, in languages
    l, i, m, p5, p2, p1 = _fabtabular()
  File "/nix/store/idzmzk0w9clsppmn3kvy435a1qig9hw4-python3.7-iso-639-0.4.5/lib/python3.7/site-packages/iso639/iso639.py", line 20, in _fabtabular
    from pkg_resources import resource_filename
ModuleNotFoundError: No module named 'pkg_resources'
zsh: exit 1     streamlink https://www.twitch.tv/videos/480528462 best

Anyway, it is a runtime-dep: https://github.com/noumar/iso639/blob/master/iso639/iso639.py#L20

Thanks @averelld, did confirm something did need it at

https://github.com/noumar/iso639/blob/2175cf04b8b8cec79d99a6c4ad31295d67c22cd6/iso639/iso639.py#L20

Thanks for confirming @averelld.

backported in e73366b9e05a1f60fed5b795f22b523275cb31bb


Work with Releases ?

Hello,
Does this plugin works with Azure Releases ? Or is it only for Azure Pipelines YAML ?
Regards,

Currently, this plugin doesn't support release pages.
I can take a look at the feasibility of adding support for this in a few days

Hello,
Does this plugin works with Azure Releases ? Or is it only for Azure Pipelines YAML ?
Regards,

Good news!
I have successfully added support for Release deployments to the plugin

Each stage should have it's own attachments, so you won't get cross contamination when viewing the plans
This is currently live on the Azure DevOps Marketplace, however it is not merged to master just yet.
I have some code cleanup I'd like to do before I finalise this feature
You can view the code yourself here: feat/add-release-support

Ok @JaydenMaalouf thank you for your reactivity, I will test this!

@JaydenMaalouf I'm not sure it is resolved as my Terraform Plan tab is still empty when I do a Terraform Plan.  How did you passed your "test" Plan to this tab ?


Allow --justfile without --working-directory

Currently, the --justfile requires the --working-directory flag to also be passed. I think I did this out of an overabundance of caution. It should be changed so that the working directory defaults to same directory the justfile passed with --justfile is in.
This is a great first issue ^__^

is this done now? looks like there are a few commits and a test to verify that --working-directory is optional.

The current test only checks that the flag is optional, it needs a test that verifies that the working directory when --working-directory isn't passed is correct, i.e. the same as the directory the justfile is in.

This just landed in #392. I'm going to wait until #390 lands to cut a release, since it's super close.


'row, vector' Nomenclature is confusing

In several places you refer to 'rows' and 'vectors', and by default you seem to think of a data frame as organized in columns. I find this confusing, especially since both a row and a column in a DF are of class Daru::Vector. It would be nice if this nomenclature was agnostic and treated rows and columns equally. I.e., #filter currently defaults to columns, and #filter(:row) is how you filter across rows. I would vastly prefer either #filter_rows and #filter_columns or #filter(:col) and #filter(:row), etc. I don't see any particularly good reason to assume that rows or columns are primary, and if it comes to that I tend to assume row => record, so that by default I would filter across rows.

These functions exist. The #filter(axis_name) function exists only as a convienience function. There is #filter_vectors and #filter_rows which work exactly the way you're expecting them to (which #filter calls internally).
Iterating over vectors is faster than iterating over columns. DataFrame is intended to be a data-complete, collection of heterogeneous column arrays (Daru::Vector objects). Higher precedence is given to vectors over rows because that's the way its represented internally. Maybe later if the implementation is changed to represent a DataFrame as one huge matrix this might change.

It is just plain ambiguous to say filter_vectors when you clearly mean filter_columns. I don't think the internal representation should be presented to the user at all; a data frame is a matrix-like object and should be agnostic about rows vs. columns, so I think that's how the interface should look to the user. What's powerful about a data frame is that you can search/select across rows and columns simultaneously, and the interface should facilitate this.

A column is just called a vector. That's something we inherited from statsample. Why is it ambiguous? Once you internalize the fact that a column is a Vector in daru, everything should fall into place.
IMO if you use the library more it should not feel ambiguous at all.


Load occurrence data on map

Markers need to be added to the map for occurrence data - specifically location and count (site.location and sample.n_all). The markers and data display for this should follow the documented design from #127 (if this has been completed first - otherwise just add markers with hoverover data for the count)
Data should be extracted from the graphql endpoint, using the query documented in #98.
Data should be extracted in pages - loading an appropriate number of data points initially, and subsequently loading additional data until all data is loaded. This is to reduce the initial load time of the page.
Acceptance Criteria:

[x] Occurrence data is show on the map
[x] This data is loaded in pages  loading an appropriate number of data points initially, and subsequently loading additional data until all data is loaded. The map is populated with more data after each load.
[x] The location and count data is shown in a clear way

All AC met.

Occurrence data points, showing location and count, can be seen on the map (TC-3.12).
The data loads in chunks of 100. Examples of calls to API:
query: "query Occurrence {\n OccurrenceData(skip:0, take:100)\n {\n items{\n year_start\n site{\n location\n }\n sample{\n n_all\n }\n }\n total\n hasMore\n }\n }"
query: "query Occurrence {\n OccurrenceData(skip:900, take:100)\n {\n items{\n year_start\n site{\n location\n }\n sample{\n n_all\n }\n }\n total\n hasMore\n }\n }"


GL_NV_geometry_shader_passthrough extension support

#version 450
#extension GL_NV_geometry_shader_passthrough : require
layout(triangles) in;
layout(passthrough) in gl_PerVertex { vec4 gl_Position; } gl_in[];

void main() {
}

GL_NV_geometry_shader_passthrough extension and the passthrough qualifier get omitted in the resulting shader. I am trying to speed up the voxelization process by using passthrough-only geometry shader.

I second this.

Alright, there isn't much else taking higher priority, so I'll consider this one. Don't think I'll get around to it before January though.


Any intent to provide vsphere support?

see question

Nothing planned, but if there's customer demand I think we could, if not we could also take as community contribution.
CC @katherinedube

It wouldn't be until we add installer provisioned infrastructure support for deploying to VMware vSphere in the OpenShift installer before we would be able to consider it. However, adding more provider support for Hive is something we'd like to do.

@katherinedube
Is there any intent to add vsphere IPI support to the installer?

Yes. We're planning to see what can be done early next year to come up with an approach to be able to provide an installer provisioned infrastructure deployment method for vSphere. Unlike public cloud providers where we readily have access to standard DNS and Load Balancer services with a programmatic API, those services aren't available in a vSphere environment (typically, a myriad of customer-managed services are used.) However, those services are needed in order to bootstrap an OpenShift cluster. While non-trivial, it should be able to be solved by leveraging on-cluster DNS & LB services to handle internal cluster communication while integrating with external customer-managed services for ingress communication.

@katherinedube, I hope you also account for disconnected installations.  I assume especially image/content location is one of the things that is special in this scenario.
I have just found this project, and havent had the time to comprehend all the current features.  So sorry if this is a non issue.
Do you have any information about how this would map with Resource Pools?  I would assume that most enterprises won't supply (vSphere) cluster wide credentials, but only to a specific Resource Pool for this purpose.  And I would also assume that it would be quite useful to be able to control the various users/teams resource usage through mapping to child pools, such that some teams may be allowed to provision more clusters/machines than others.
I know this is not your direct use case, but my primary use case would be to use Hive to internally offer cluster-as-a-service to teams through something similar to RedHat cluster manager website/api.

+1

we are beginning to work on vSphere support now.

@gregsheremeta thanks are there any expected timescales on when this will be available (even as alpha)?

@jaykeshur I cannot commit to anything, but we hope for completion by early summer. I'll try to remember to ping you when PRs are up, or feel free to watch the repo.

@gregsheremeta I wonder how the vsphere support will work in hive until there is no IPI support in the installer for vpshere?

@rasheedamir I don't fully understand your question, but Hive uses the vsphere IPI support in the installer.

If I am not wrong OpenShift 4.4 has only UPI support for vSphere; and still IPI support is missing which is mainly due to lack of DNS & LB services in vSphere
Might be its coming in 4.5 or 4.6; and hive is using those versions for testing?

I can't speak to what version it will GA in OpenShift.
https://github.com/openshift/installer/blob/master/docs/user/vsphere/install.md

This is awesome! We have been waiting for IPI support for quite sometime now

Installer-provisioned infrastructure support for VMware is planned for the next release.

It looks like this might be possible now... any docs around showing an example cluster deployment? Would love to use this with ACM

No docs yet. See #975 for a hiveconfig example which will generate the ClusterDeployment with -o yaml
ACM will use Hive's vSphere support natively.

Hmmm... getting permission denied in hive install container.
'/vsphere/./..data' -> '/etc/pki/ca-trust/source/anchors/./..data'
'/vsphere/./.cacert' -> '/etc/pki/ca-trust/source/anchors/./.cacert'
cp: cannot create symbolic link '/etc/pki/ca-trust/source/anchors/./..data': Permission denied
cp: cannot create symbolic link '/etc/pki/ca-trust/source/anchors/./.cacert': Permission denied
cp: cannot create directory '/etc/pki/ca-trust/source/anchors/./..2020_08_01_02_20_01.633234305': Permission denied

Maybe I dont have a proper version of that hive installer image? :(

Please open an issue and include hive version, openshift version, vsphere version, and the steps you took.


Seems like a  Serializer Error in Unity2017.3.3

Dear Big God, I use Customer Serializer in unity,and seems find a issuse.
Information about bug or feature
below is  the dataType:

[Serializable]
public struct Point3:INetSerializable{
	public float x;
	public float y;
	public float z;

	#region INetSerializable implementation
	public  void Serialize (NetDataWriter writer)
	{
		writer.Put (x);
		writer.Put (y);
		writer.Put (z);
	}
	public  void Deserialize (NetDataReader reader)
	{
		x = reader.GetFloat ();
		y = reader.GetFloat ();
	}
	#endregion

}
[Serializable]
public class  NetPosition{
	public string agentID{get;set;}
	public Point3 position{get;set;}
	public override string ToString ()
	{
		return string.Format ("[NetPosition: position={0},{1},{2}],agent={3}", position.x,position.y,position.z,agentID);
	}
}

below is  client send Data:
                        Point3 position;
			position.x = 1.1f;
			position.y = 2.2f;
			position.z = 3.3f;

			NetPosition netPosition = new NetPosition{position=position,agentID=netID};
			byte[] bytes = netSerializer.Serialize<NetPosition>(netPosition);
			serverPeer.Send (bytes,0,bytes.Length,SendOptions.ReliableOrdered);

below is server Deal the Received message:
	                netSerializer = new NetSerializer ();
			netSerializer.RegisterCustomType<Point3> ();
			netSerializer.SubscribeReusable<NetPosition,NetPeer>(OnNetPositionReceived);
                        ......
                        netSerializer.ReadAllPackets (reader,peer);

can  ReadPackets↑↑↑ ,but after read packets,will print a issuse...
the issuse is:
ArgumentException: Destination array is not long enough to copy all the items in the collection. Check array index and length.
System.BitConverter.PutBytes (System.Byte* dst, System.Byte[] src, Int32 start_index, Int32 count) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/BitConverter.cs:182)
release version (<IP_ADDRESS>)
Framework:  Unity2017.3.3
OS: Windows10

ok . use   netSerializer.ReadPacket (reader,peer); instead of  netSerializer.ReadAllPackets (reader,peer);
things will befine. happy
it seems like i let the server natPunchHole server self,and use netSerializer.ReadAllPackets (reader,peer); will
get the issuse.
i am ugly...,Please Delete this Question & Help Note, Big God.


GPS on A7670 get satellites always is 0

Dear,
I run the example GPS_BuiltIn
https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/examples/GPS_BuiltIn
With the config file:
#define LILYGO_T_CALL_A7670_V1_0

However, I always get satellites are 0
OK
FixMode:3
Latitude:****
Longitude:****
...
Visible Satellites:0
Used Satellites:0
...

Retrieving GPS/GNSS/GLONASS location again as a string
AT+CGNSSINFO

The example still works and can return the correct longitude and latitude.
I need the visible and usable satellite value.
What is the problem?
Thanks.

The number of visible GPS satellites has been fixed, but the number of visible satellites is not available. If you need more GPS messages you need to use the GPS_NMEA_Parse function.

Hi,
Thanks for your reply.
I see the Visible Satellites number.
OK
FixMode:3
Latitude:**** Longitude:*****
........
Visible Satellites:9	Used Satellites:0
......
Retrieving GPS/GNSS/GLONASS location again as a string
AT+CGNSSINFO

And the Used Satellites always is 0.
Is this due to hardware limitations or something else?

I think I have said above that the number of satellites used is not available. This is because the GNSSINFO command does not return this value.


Document how to configure it

It's unclear from the README where you configure the s3 bucket and AWS credentials. I assume it's via the CircleCI UI, but it would be nice to be explicit!

Yah, i need to write something up. Related to #4.
https://github.com/nathany/s3up has an IAM policy for the s3 bucket.
And yes, there are environment variables set in the CircleCI UI.


Altered path to default Icon

Altered the path of defaultIconUrl
Issue in focus: #533
The default image didn't seem to load on referring. I tried my level best to find the fault by backtracking through all the reference of the defaultIconUrl but got lost on my way. I realised this might have been caused as a result of the previous path ../renderer/img/icon.png not going back to the image, probably due to some previous change in the structure. Now using __dirname we get the complete path of the file that allows us the access to image from any corner of the code base.
Also this was the only thing that I could track back to that may have caused this issue.
You have tested this PR on:

[ ] Windows
[ ] Linux/Ubuntu
[ ] macOS

Quick note - whatever approach you follow, please try to test the same on Windows if possible.

I currently don't have a Windows device in sight but I'll make sure it is the first thing i do tomorrow

Sorry for no update for so long but __dirname returns path with backslash like c:\home\ and concatenating  as shown above will give a mixture of \ /. There is a way to get the path in UNIX format using normalize() but I think that will not help in fetching the image on windows.

@flowkraD if you use node's path module this could be done in manner that could work cross-platform by using path.resolve method like: path.resolve(__dirname, '../renderer/img/icon.png')

Thanks for the help @priyank-p. Will submit a new PR with the change. Just wanted to confirm, is it 100% cross-platform. I have very little access to windows machine so it's hard for me to check this.
Thank for your help, really appreciate it (^_^)

Yes, It is cross-platform since the method is part of core node.js module.

Thanks a lot for that confirmation and guidance  (^_^)

@flowkraD feel free to send a PR and I can test the same on Windows.


Works Type Does Not Include Abstract

Expected behaviour

CrossrefClient.works() should return an object that includes the abstract key to be consistent with the Crossref REST API

Actual behaviour

abstract is not included in the Works type

Reproduction
Version: 1.0.2
import { CrossrefClient, Items, Works } from "@jamesgopsill/crossref-client";

export async function main() {
  const client = new CrossrefClient();
  console.log("running query");
  const response = await client.works({
    query: encodeURIComponent("10.1007/s11263-019-01247-4"),
  });
  if (!response.ok && response.status !== 200)
    throw new Error("Request failed");
  // Property 'abstract' does not exist on type 'Works'.ts(2339)
  console.log(response.content!.message.items[0]!.abstract);
}

main();

Hi SMC242,
Thanks for pointing this out. I have been through the REST API docs and have updated the works typing information. I have also added the ability to select the fields you want returned. I hope it's useful
https://github.com/jamesgopsill/crossref-client/releases/tag/v1.1.0
J


sortableFields not sorting MONTH and YEAR

Describe the bug
Sorting the fields by date using sortableFields it is only filtering the
weekday and month day ignoring the rest of the TIMESTAMP.
ddd, dd MMM yyyy HH:mm:ss K
To Reproduce
Create multiple *.md with a date field with the timestamp type as mentioned above
and setting sortableFields: ['date']
Expected behavior
Expect ordering the field accordingly with the timestamp.
Screenshots

Applicable Versions:

Netlify CMS version: 2.10.47
Git provider: GitHub
OS: macOs Mojave
Browser version chrome 81.0

Node.JS version: v12.4

CMS configuration

public_folder: '/images'
publish_mode: editorial_workflow

collections:
  - name: 'blog' # Used in routes, ie.: /admin/collections/:slug/edit
    identifier_field: name
    label: 'Blog' # Used in the UI
    label_singular: Blog Post # Used in the UI, ie: "New Post"
    slug: '{{title}}{{year}}-{{month}}-{{day}}_{{slug}}'
    description: >
      ...
    folder: src/pages/blog/
    preview_path: blog/{{slug}}
    create: true # Allow users to create new documents in this collection
    publish_mode: false
    fields: # The fields each document in this collection have
      - label: Featured
        name: featured
        hint: Toggle on to label this article as featured.
        widget: boolean
        default: false
        required: false
      - label: 'Category'
        name: 'category'
        hint: Select the category you wish to classify the article
        widget: select
        options: ['Innovation', 'Insight', 'Marketing', 'Tech', 'Work/Life']
      - label: 'Publish Date'
        name: 'date'
        widget: 'datetime'
        hint: 'To schedule an article to be published you must select a date and time in the future for when you want the article to be available. NOTE: The article must still be published and will only be made available after the date and time specified'
      - { label: 'Title', name: 'title', widget: 'string', tagname: 'h1' }
      - { label: 'Description', name: 'description', widget: 'text', required: false }
      - { label: 'Author', name: 'author', widget: 'string', default: 'TotallyMoney' }
      - { label: 'Body', name: 'body', widget: 'markdown', hint: 'Main content goes here.' }
      - label: 'Page Settings'
        name: 'settings'
        widget: 'object'
        fields:
          - { name: 'slug', label: 'Slug', widget: 'string', required: false }
          - { name: 'title', label: 'Title', widget: 'string', required: false }
          - { name: 'description', label: 'Description', widget: 'string', required: false }
          - name: 'opengraph'
            label: 'Open Graph'
            widget: 'object'
            required: false
            fields:
              - { name: 'type', label: 'Type', widget: 'string', required: false }
              - { name: 'image', label: 'Image', widget: 'image', required: false }
    summary: '{{title}}  {{day}}-{{month}}-{{year}}'
    sortableFields: ['date', 'title']```

Hi @menttys, thank you for reporting this. I tried creating a new entry with your config file and the date is saved in the following format: date: 2020-04-27T10:47:55.773Z.
Are the existing files were created by the CMS?
I think if you store the the date value in a yaml timestamp format the sort should work as expected.
Another option is for the CMS to support extending yaml types to parse that specific format as a date and not as a string.

Hi Erez, indeed these files are imported and converted from an old cms  I presumed it would parse from a valid timestamp format. I will convert and test.
thanks a lot!


Merge sequences. (Logical OR similar to subtract which is logical NOT)

Feature Request

Q
A

New Feature
yes

BC Break
no

Proposal
We have subtract method for sequences. It represents logical operator NOT.
I need the same logical operator OR. It can be called merge.
example 1
2 sequences:
== == = ==
==========
output:
==========

example 2
2 sequences:
= = =
 = =
output
=====

example 3
3 sequences:
= = =
=
==
output:
=== =

We have a car rental with 10 cars. All cars are similar. Desired rent duration is provided. We want to show a time windows available for rent while combining 10 cars into one. Available periods for each car should cover the same interval and should paint general availability.  I doubt that there is an existing feature that would allows this.
Correct me if i'm wrong. Please provide some advice. Also I hope to discuss it further. Thank you in advance!

since I don't exactly understand what you want I can only tell you to read the documentation and found a solution with the exposed Sequence method. If not you can always submit a PR with the requested feature implemented.


RegExpExecArray should be Array<string | undefined>

TypeScript Version:  2.4.0 / nightly (2.5.0-dev.201xxxxx)
Code
const rgx = /(a)?(b)(c)?(d)/;
const match = rgx.exec("bd");
if (match !== null) {
    const a: string = match[1];
    console.log(a.toUpperCase());
}

Expected behavior:
Compile error.
Actual behavior:
Run-time TypeError: Cannot read property 'toUpperCase' of undefined.

how is that different from a regular array access? you still can get undefined.

In this case, we're looking at an array with undefined values embedded in it:
> /(a)?(b)(c)?(d)/.exec("bd");
[ 'bd', undefined, 'b', undefined, 'd', index: 0, input: 'bd' ]

If we remove the properties index: 0 and input: 'bd' and paste this into TypeScript code, the inferred type is Array<string | undefined>:

Duplicate #17094, #17053


Fullscreen screenshot has side effects

Taking a fullscreen screenshot does not always create the intended image.
Sometimes sides effect can be noticed, either on the image, or when running with a headfull chrome instance.
These effects are cause, by this code:
await this.devtoolsSession.send('Emulation.setDeviceMetricsOverride', {
          ...contentSize,
          deviceScaleFactor: scale,
          mobile: false,
});

Changing the viewport of the device is a clever way to take fullscreen images, but has side effects on website where this change is detected. Some issues that I saw:

shift of content, probably related to aspected ratio change
extra context that was opened by hero (querySelector.click...), is closed again
random weird behaviour in some components

This can partially be linked to #13., and can be solved in newer chrome versions by using captureBeyondViewport: true.

Thanks for this ticket. Great points. This entire feature has largely been driven by community needs. The captureBeyondViewport has a long history of not actually being implemented in Chrome. I saw that you did some testing, so it's clearly working to some degree now! I believe there are still Chromium tickets indicating there continue to be bugs with it. Might be worth seeing if we can find anything that's still open and if they impact our testing.
Your test PR could test previous chrome versions for you (it currently goes back to 97), but there were issues with the tmp directory.


convert H264AnnexBTrack to FragmentedMp4Writer

i have write this code to convert H264AnnexBTrack to FragmentedMp4Writer
    FileInputStream stream = new FileInputStream(new File("/media/ashraf/WorkSpace/IdeaProjects/streamer/m.h264"));
    H264AnnexBTrack h264AnnexBTrack = new H264AnnexBTrack(stream);
    WritableByteChannel channel = new FileOutputStream(new File("output.mp4")).getChannel();
    FragmentedMp4Writer writer = new FragmentedMp4Writer(Collections.singletonList(h264AnnexBTrack), channel);
    h264AnnexBTrack.call();
    writer.close();

but the generated file not work it's a bad file

I'm having the same issue running
mp4parser/examples/src/main/java/org/mp4parser/examples/mux/streaming/H264AACExample.java . Ffprobe gives
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x105c5a0] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 500x208): unspecified pixel format
When I try it on the result, and vlc doesn't play it.


How to hide or handle "add watch later" and "share" buttons in top of the player view

As mentions above, "add watch later" button and "share" button are appearing on top of the player view when playing a video is starting or pausing.

And unfortunately, these buttons seem to be respond nothing when clicked...
Are there any way to handle or remove these buttons?
Thanks.

Hi, this issue is related to #228 and #226.
Unfortunately YouTube has recently updated their web player. The options that I was using to hide that part of the player's UI is now being ignored.
In the next version of the library I will try to handle this new buttons, by making them clickable. For the moment you could overcome the problem by creating your own custom ui in such a way that those buttons are clickable.

Thanks for your response!
Ok, I will try it.
Best regards.

I have made the following changes to handle add watch later button, share button and More videos button that appear inside the player.
File name: DefaultPlayerUIController.java
Comment the following line:
panel.setOnClickListener(this);
After commenting this, the buttons will start to work. but on video tap, you will not be able to see the bottom progress bar once it has disappeared.
To handle it, inside onStateChange method in the DefaultPlayerUIController.java file
update the playing  check with the following and it should work.
if (playing) {
startFadeOutViewTimer();
} else {
toggleControlsVisibility();
handler.removeCallbacks(fadeOutRunnable);
}
So whenever the state would changed to false, the player controls will again be visible.
From the default_player_ui.xml file:
remove the following lines from the view with id: panel
android:clickable="true"
android:focusable="true"

Hi, this solution gives a significant side effect: the behavior of the web UI is exposed, and every time the player is touched the playback is toggled. The native UI is shown only when the video gets paused.
Using both native and web UI doesn't work well in this case. It doesn't result in a very good user experience, I think the result for the user is worse compared to the current behavior of the library.
I suggest following one of the two approaches I mentioned earlier:

if you want to use both native and web UI you should create a custom UI to replace the default native UI and default UI controller of the player.
if you don't care about having native UI you can just disable the native UI and use only the web UI.

@PierfrancescoSoffritti  Can you please help on another thing. On some devices the watch later and share button shows in different language than the device language. I guess Spanish. The device's language is English but the watch later, share and more videos text display in Spanish when set to full screen in default player.

Could you share a screenshot?

Starting from version 9.1.0 it will be possible to initialize the player using YouTubePlayerView.initializeWithWebUI.
This is the only way to have access to the non-removable buttons in the web player. Read the doc for more info.

@PierfrancescoSoffritti When will version 10.0.0 be out? Really need to handle this.

A couple of days.
But it isn't doing anything more than what I have already explained in previous posts. It's just more straightforward.
You can copy paste this and obtain the same thing with version 9.0.1.

We can remove these buttons using shouldInterceptRequest.
We can inject css code in to www-player.css by intercepting request
sample example (not bulletproof) (from onCreate()):
mYouTubePlayerView.getYouTubePlayerWhenReady(new YouTubePlayerCallback() {
            @Override
            public void onYouTubePlayer(@NonNull YouTubePlayer youTubePlayer) {

                WebView player = (WebView) youTubePlayer;

                player.clearCache(true); //we will need to reload www-player.css later
                player.setWebViewClient(new WebViewClient() {

            private int loadCount;
            private boolean injected;

            @Override
            public WebResourceResponse shouldInterceptRequest (final WebView view, WebResourceRequest wrr) {

                String url = wrr.getUrl().toString();
                if(url.contains("youtube.com") && url.contains("www-player.css") ) { // find iframe player css file
                    WebResourceResponse resp = doInject(url);
                    if (resp != null) {
                        injected = true;
                        return resp;
                    }
                }
                return super.shouldInterceptRequest(view, wrr);
            }
            @Override
            public void onPageFinished(WebView view, String url) {
                if(!injected && loadCount++ <3) // prevent loop
                    view.reload(); // we need reload because we set WebViewClient
                                   // after WebView started loading the iframe
                                   // only once
            }

            private WebResourceResponse doInject(String url){
                try {
                    Request request = new Request.Builder()
                            .url(url)
                            .build();

                    Response response =
                            new OkHttpClient()
                            .newCall(request)
                            .execute();

                    // inject code that hides the buttons
                    assert response.body() != null;
                    String fin = response
                            .body()
                            .string()
                            +" .ytp-chrome-top-buttons {display: none !important;}";

                    return new WebResourceResponse(
                            "text/css",
                            "UTF-8",
                            new ByteArrayInputStream(fin.getBytes())
                    );
                } catch (IOException e) {
                    e.printStackTrace();
                }
                return null;
            }
        });
            }
        });

We can inject any type of code in any file, but css is the fastest way to get desired effect

We can remove these buttons using shouldInterceptRequest. We can inject css code in to www-player.css by intercepting request
sample example (not bulletproof) (from onCreate()):
mYouTubePlayerView.getYouTubePlayerWhenReady(new YouTubePlayerCallback() {
            @Override
            public void onYouTubePlayer(@NonNull YouTubePlayer youTubePlayer) {

                WebView player = (WebView) youTubePlayer;

                player.clearCache(true); //we will need to reload www-player.css later
                player.setWebViewClient(new WebViewClient() {

            private int loadCount;
            private boolean injected;

            @Override
            public WebResourceResponse shouldInterceptRequest (final WebView view, WebResourceRequest wrr) {

                String url = wrr.getUrl().toString();
                if(url.contains("youtube.com") && url.contains("www-player.css") ) { // find iframe player css file
                    WebResourceResponse resp = doInject(url);
                    if (resp != null) {
                        injected = true;
                        return resp;
                    }
                }
                return super.shouldInterceptRequest(view, wrr);
            }
            @Override
            public void onPageFinished(WebView view, String url) {
                if(!injected && loadCount++ <3) // prevent loop
                    view.reload(); // we need reload because we set WebViewClient
                                   // after WebView started loading the iframe
                                   // only once
            }

            private WebResourceResponse doInject(String url){
                try {
                    Request request = new Request.Builder()
                            .url(url)
                            .build();

                    Response response =
                            new OkHttpClient()
                            .newCall(request)
                            .execute();

                    // inject code that hides the buttons
                    assert response.body() != null;
                    String fin = response
                            .body()
                            .string()
                            +" .ytp-chrome-top-buttons {display: none !important;}";

                    return new WebResourceResponse(
                            "text/css",
                            "UTF-8",
                            new ByteArrayInputStream(fin.getBytes())
                    );
                } catch (IOException e) {
                    e.printStackTrace();
                }
                return null;
            }
        });
            }
        });

We can inject any type of code in any file, but css is the fastest way to get desired effect
to hide whole titlebar inject css:
.ytp-chrome-top {display: none !important;}

instead of
.ytp-chrome-top-buttons {display: none !important;}

this solutin will work as long as the iframe player design remains unchanged

I was trying to use this method but for whatever reason It isn't working for me… Mind pointing out what I am doing wrong, I am attaching my implementation below… Thank you in advance.
youTubePlayerView.getYouTubePlayerWhenReady(youTubePlayer -> {
            youTubePlayer.loadVideo(getVideoId(getIntent().getStringExtra("youtubeLink")),0);
            yPlayer = youTubePlayer;

            WebView player =(WebView) youTubePlayer;

            player.clearCache(true);
            player.setWebViewClient(new WebViewClient(){
                private int loadCount;
                private boolean injected;

                @Override
                public WebResourceResponse shouldInterceptRequest (final WebView view, WebResourceRequest wrr) {

                    String url = wrr.getUrl().toString();
                    if(url.contains("youtube.com") && url.contains("www-player.css") ) { // find iframe player css file
                        WebResourceResponse resp = doInject(url);
                        if (resp != null) {
                            injected = true;
                            return resp;
                        }
                    }
                    return super.shouldInterceptRequest(view, wrr);
                }
                @Override
                public void onPageFinished(WebView view, String url) {
                    if(!injected && loadCount++ <3) // prevent loop
                        view.reload(); // we need reload because we set WebViewClient
                    // after WebView started loading the iframe
                    // only once
                }

                private WebResourceResponse doInject(String url){
                    try {
                        Request request = new Request.Builder()
                                .url(url)
                                .build();

                        Response response =
                                new OkHttpClient()
                                        .newCall(request)
                                        .execute();

                        // inject code that hides the buttons
                        assert response.body() != null;
                        String fin = response
                                .body()
                                .string()
                                +" .ytp-chrome-top-buttons  {display: none !important;}  ";

                        return new WebResourceResponse(
                                "text/css",
                                "UTF-8",
                                new ByteArrayInputStream(fin.getBytes())
                        );
                    } catch (IOException e) {
                        e.printStackTrace();
                    }
                    return null;
                }
            });

        });

How can we hide share button on youtubePlayer? is there any method so pls let me know i want to just hide share  button


Support 'ngInject' string-based annotation

The README only mentions implicit annotation or one done via the /* @ngInject */ comment. The 'ngInject'; string-based annotation should be supported as well:
class svc {
  constructor(dep1){
    'ngInject';
    this.dep1 = dep1;
  }
  method1() {
    this.dep1.doSth();
  }
}

Do you have a reason for preferring this style?
I generally haven't seen it used much in the wild, and @-prefixed comments seem to be the standard convention for annotating JS sources, and mimic the annotation syntax used in ES6/Java/Python.

I guess you're right in that it reminds other tools more.
My preference came from a few things:

The fact that I have 'ngInject'; sprinkled all over my projects so migrating to this Babel plugin would require refactoring. 😄
It resembles "use strict", "use asm" etc. a little.
ng-annotate itself has described this way as the preferred one: https://github.com/olov/ng-annotate#explicit-annotations-with-nginject

See also https://github.com/olov/ng-annotate/issues/180#issuecomment-165988194 and https://github.com/olov/ng-annotate/issues/206. I have an impression that quite many people think the 'ngInject'; pragma is the recommended way, some even think other forms are deprecated. :) In some cases it's the only way as some transpilers will lose comments or misplace them.
Adding this way of annotating would increase the compatibility with the original ng-annotate.

Thanks! :tada:

Huh.  I didn't realize that it had emerged as the preference.
Fortunately, it's also a whole lot easier to implement.
Unless I'm missing something, I think class constructors are the only new ES6 feature where a prologue would be useful/usable.  Can you think of any place else where this would be useful?
Class methods come to mind, but is there an actual use-case for that?

I'd expect it to be used only for class constructors, at least I don't see use cases for annotating methods. If some come up, it can always be added later, I guess. :)


All decoders generated without implementing IMessageDecoderFlyweight interface

After generating codes we got errors in the packing process, we've found that most decoders should implement  IMessageDecoderFlyweight and do it manually, how we can do it by command?

I found it, by adding -Dsbe.java.generate.interfaces=true option.
Please create a Wiki


http 404 error

Steps to reproduce
Source information
Cimaleel 14.1
Source language
Arabic
Steps to reproduce
Open Cimaleel
Expected behavior
Expected:
"should load Latest movies"
Actual behavior
Actual behavior
shows "http 404 message check web page in webview"

Crash logs
No response
Aniyomi version
<IP_ADDRESS>
Android version
Android 14
Device
Poco x6 pro
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extension's repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

If this is an issue with an extension, I should be opening an issue in the extension's repository.

So when can you solve the problem?

It's not our problem to solve

Oh, so I have a question, the site has changed its URL, How can I change the source link? I can in manga sources but not in anime.

As you've already been told, this isn't the place to report extension issues. It's for the main app and main app only.

Sorry, this is my first time reporting a bug. Where can I report such problems?


Bumped semver to latest legacy version

Description
Bumped semver versions to address dependabot alerts.
Issues Resolved
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.
[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

1. Add semver to resolutions
2. Delete yarn.lock
3. run  yarn osd bootstrap to regenerate yarn.lock file

added backport to 1.3 tag. Hopefully the workflow will succeed @VijayanB

@kaituo looks like issue from AD backend plugin. Is anyone working on that?

@VijayanB Will prepare a PR to fix backend.

Thanks for updating!


The server should not crash when it can't connect to the RPC target

As for now, if the host filled in WEB3_URI is down, the server will just stop.
It should keep waiting for connection and maybe display a disclaimer for better UX
This is quite important as it's really problematic during deployments

I already implemented checking the connection before start the service.
We should close this issue. For other 'connection on error' improvements, we can create a new issue.


Adding Number of Days Calc

Fixes
#347

Description
This calculator helps to calculate number of days between two specified dates.

Type of change

[x] New project (non-breaking change which adds functionality)

How Has This Been Tested?
This has been tested on local pc and local browser with a demonstrating video in readme.md file.

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have included a README.md file
[x] My project follows this structure: Domain Folder/ Project Name Folder/ Project files and Readme.md files
[x] I have added demonstration in the form of GIF/video file
[x] I am a GSSoC'22 Participant

Please Check I have changed the video.

@Rakesh9100, LGTM🎉✨

Thanks


Converting sparse IndexedSlices to a dense Tensor of unknown shape

I get the following warning during training. Is this anything to worry about? How can I correct this?
/home/.local/lib/python3.5/site-packages/tensorflow/python/ops/gradients_impl.py:91: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "

I am having the same warning as you. Do not know if is something that we can ignore of if it is going to make the model train slower.

@stephaniedebats @jsendino I got the same warning. In my case, it seems like it never trains at all for some reason. With this warning, did the training complete in your case?

Yes, training proceeds for me, even with the warning.

Having this issue as well, training happens but it's extremely slow, any updates or solutions?

Same here. Training is happening but very slow because of this warning

Any further update on this？ Training is very slow with this warning， and sometimes it switches to CPU for training.  For now， I just reduce the batch size to keep it running on GPU...Hope there is a solution soon

Same, how to fix?


Change frigate database location Home Assistant Supervised/frigate-hass-addons

I'm running home assistant supervised and the full access addon with protection mode disabled; this is the only way I've found to have my tpu and hw accel be recognized. Now the issue I'm having is that my mediafrigate.db is getting randomly recreated when I'm rebooting, or just restarting the addon. I'm am not sure exactly what is prompting this, as it's been happening while getting the tpu and a camera working properly, but it's not happening everytime.
To aliviate this I would like to change the location of mediafrigate.db from /var/lib/docker/overlay2/{docker-id?}/diff/ to a static folder. I see in /usr/share/hassio/addons/git/ccab4aaf/frigate_fa/config.yaml the following entry:
environment:
  CONFIG_FILE: /config/frigate.yml

Is there anything I can put in this section, or in the file to use a different folder to store the db?
environment:
  CONFIG_FILE: /config/frigate.yml
  DATABASE_FILE: /path/to/folder/mediafrigate.db```

When I was running a docker I didn't have this issue, but wanted to have frigate and home assistant running on the same machine, so had to go the addon route, thanks.

This is already supported: https://docs.frigate.video/configuration/advanced#database

I edited the config.yml file like so:
name: Frigate (Full Access)
version: 0.12.0
panel_icon: "mdi:cctv"
panel_title: Frigate
slug: frigate-fa
description: NVR with realtime local object detection for IP cameras
url: "https://github.com/blakeblackshear/frigate"
image: ghcr.io/blakeblackshear/frigate
startup: application
boot: auto
init: false
webui: "http://[HOST]:[PORT:5000]/"
watchdog: "http://[HOST]:[PORT:5000]/"
ingress: true
ingress_port: 5000
ingress_entry: /
panel_admin: false
homeassistant_api: true
hassio_api: true
ports:
  8555/tcp: 8555
  8555/udp: 8555
  8554/tcp: null
  5000/tcp: null
  1984/tcp: null
  1935/tcp: null
ports_description:
  8555/tcp: WebRTC over tcp
  8555/udp: WebRTC over udp
  8554/tcp: RTSP Restream
  5000/tcp: Web interface (Not required for Hass.io Ingress)
  1984/tcp: go2rtc API
  1935/tcp: RTMP streams
host_network: false
tmpfs: true
full_access: true
privileged:
  - SYS_ADMIN
environment:
  CONFIG_FILE: /config/frigate.yml
**database:
  path: /config/frigate/mediafrigate.db    <---- My edit**
schema:
  plus_api_key: password?
services:
  - "mqtt:want"
arch:
  - amd64
  - aarch64
  - armv7
map:
  - "media:rw"
  - "config:rw"

The db file is still in the same place:
/usr/share/hassio/addons/git/ccab4aaf/frigate_fa$ sudo find / -xdev -name 'mediafrigate.db'
/var/lib/docker/overlay2/ec4ec3693d2b9d8f7fe85086d2e573e7261feb801ce4a72cc0dea47c6c938258/diff/mediafrigate.db
/var/lib/docker/overlay2/97d42987178423fd83a704dcd6a47a8c895fe7dd5930361192dc271b9b4b016f/diff/mediafrigate.db

I created the folder in this location:
ls -l /usr/share/hassio/homeassistant/
drwxr-xr-x  2 root root      4096 Apr 30 13:50 frigate

I checked the log and I see the mentions of migrating and creating the sql tables, but not in the folder I was expecting.

You shouldn't be editing the addon config

I see, so is there somewhere I can make this change?

I see, so is there somewhere I can make this change?

In the standard frigate.yml config file

SIGH... I'm sorry, I'm going to be now. I would have been more efficient to tackle this after getting some rest; I would hope my reading comprehension would have been slightly better then. Thank you gents.


[853] Return to origin page after completing an edit workflow

Context
https://trello.com/c/lrgavNan/853-l-return-to-origin-page-after-completing-an-edit-workflow
Changes proposed in this pull request

Extracted the origin page logic from DynamicBackLink::View into a reusable object (OriginPage) so we can use it in the Trainees::ConfirmDetailsController
Updated some feature specs to reflect the new behaviour

Guidance to review

Fire up the app locally and confirm the behaviour matches the requirements outlined in the card

 [L] Return to origin page after completing an edit workflow

 [L] Return to origin page after completing an edit workflow

Nice work guys! I couple of small things I noticed below, plus a bit of a ramble on where our code lives.
I checked a few of the redirects and everything worked as expected apart from trainee details:
* Head to `/review-draft` for a trainee

* Click 'change' on `Trainee details`

* Click 'continue' on the 'Trainee ID' page

* You're redirected to the trainee show page, not review draft

Looks like this is because we don't actually go via a confirm page for this flow? I haven't checked the prototype for what should actually happen!

@AbigailMcP I've added OriginPage to TraineesController and this has fixed the issue.

Nice work guys! I couple of small things I noticed below, plus a bit of a ramble on where our code lives.
I checked a few of the redirects and everything worked as expected apart from trainee details:
* Head to `/review-draft` for a trainee

* Click 'change' on `Trainee details`

* Click 'continue' on the 'Trainee ID' page

* You're redirected to the trainee show page, not review draft

Looks like this is because we don't actually go via a confirm page for this flow? I haven't checked the prototype for what should actually happen!

@AbigailMcP I've added OriginPage to TraineesController and this has fixed the issue.


Creating a new spin app with go prints error message export comment has wrong name

When I create a new go-example app and try to run the app via go build
I see the "error" message: export comment has wrong name "spin_http_handle_http_request", want "handle_http_request"
Steps to reproduce:
./spin new
Pick a template to start your application with: http-go (HTTP request handler using (Tiny)Go)
Enter a name for your new application: my-spin-go
Description: Go demo app
HTTP path: /hello

...

cd my-spin-go

$ go build
go: downloading github.com/fermyon/spin/sdk/go/v2 v2.0.1
go: downloading github.com/julienschmidt/httprouter v1.3.0
# github.com/fermyon/spin/sdk/go/v2/http
/home/tom/go/pkg/mod/github.com/fermyon/spin/sdk/go/v2@v2.0.1/http/internals.go:16:1: export comment has wrong name "spin_http_handle_http_request", want "handle_http_request"

Application Prerequisites
Troubleshooting - Rust
Cloud FAQ
If you still see a bug or problem, please let us know:

Spin version: spin 2.0.1 (1d72f1c 2023-11-10)
Installed plugin versions:

$ spin plugins list --installed
check-for-update 0.1.0 [installed]
cloud 0.5.1 [installed]
cloud-gpu 0.1.0 [installed]
js2wasm 0.6.1 [installed]
py2wasm 0.3.2 [installed]

cc @adamreese

You'll want to use TinyGo rather than Go. Go won't compile it correctly.
Side note: I think you found a bug in Go because that isn't a comment.

Forgot to mention that you can build using spin build and it will execute the correct command.