Rename annotation_layer_spec.js to annotation_spec.js to better describe what is actually tested, and simplify the FileAttachmentAnnotation unit-test to avoid having to use the entire API in the test

Every other unit-test in annotation_spec.js is already only testing the annotation code. Hence it seems unnecessarily convoluted to make use of the API here, when we can (fairly) simply provide the necessary data explicitly as in all the other annotation unit-test.
Edit: Note how doing this will also allow us to run the annotation unit-tests on Travis!
Compare the run with this PR: https://travis-ci.org/mozilla/pdf.js/builds/191392213#L369; with a previous run: https://travis-ci.org/mozilla/pdf.js/builds/191349139#L350.

/botio unittest

Can you rename 'annotation_layer_spec.js' to 'annotation_spec.js' (and use it in the 'clitools.json')? Also can you remove PDFJS/displayGlobal? I don't think we have tests for display/annotation_layer.js here

Good call on the file name, and the fact that displayGlobal is now unused; I've addressed both points now.
Thanks for the review!
/botio unittest

Thank you for the patch.


Rewrite the get-latest-versions with python3

Unfortunately python2 seems to have problems with proxies on ubuntu 16.04.
I'm not a python expert, this may be done easier or with python 2. But now it works for me :-D

@tristanlins I'm not a python guy. How is the distribution of Python3? Is installed by default on every Ubuntu instance? Maybe it makes sense to have 2 scripts, on with Python 2 and another one with Python 3. In the update script we could check which version of Python is available and depending on that we could use the correct get-latest-versions script.

I'm not a python guy as well, I just read the documentation and adopt the examples with the help of stackoverflow xD

Maybe @svogt can share his opinion with us about Python 3 :)

@tristanlins @svogt I close this ticket because @timgluz refactored the script that it works with pure shell and jq. Now we don't need Python anymore :) See pull request #8.


Counter in kafka not updating

The entry, exit and occupancy count is always 0 in the kafka message output. I am running a video in loop for my testing.
My kafka message output is slightly different from the expected.
{
"messageid" : "0bf31cbb-5254-488f-8588-af1007a495c4",
"@timestamp" : "2021-05-06T08:58:39.166Z",
"analyticsModule" : {
"occupancy" : 0.0,
"source_id" : 0.0,
"Entry" : 0.0,
"Exit" : 0.0
},
"videoPath" : ""
}
Did I miss some configuration or did something wrong?

hi, I did a fresh install of the setup again and it's working. I think the issue might possibly due to the wrong kafka version type being used, used a non-scala version initially.


Improve error handling on darwin

Errors were ignored in fairly dangerous places, which could result
in infinite loops. Potential fix for elastic/beats#2747.

Current coverage is 70.76% (diff: 11.11%)

Merging #47 into master will decrease coverage by 1.74%

@@             master        #47   diff @@
==========================================
  Files            10         10
  Lines           793       1081   +288
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            575        765   +190
- Misses          178        257    +79
- Partials         40         59    +19

Powered by Codecov. Last update 2716c1f...af4c1bd

LGTM


TN-3107 restore deactivate UI for non-patient accounts on admin page

https://jira.movember.com/browse/TN-3107
restore deactivation UI for non-patient account on admin page -  allowing a user with admin role to deactivate any non-patient account

@pbugni  can you please remind me where access to the /admin page is governed on the backend?

@mcjustin I see that only users with admin role can access /admin page, I checked here


Make sure that the latest version can be retrieved behind proxy

I had some problems with retrieving the latest version while being
behind a proxy. I've tried all sorts of options with ENV['http_proxy']
but was unable to make this work.
This seemed like the most logical solution, to use Chef classes
themselves.

This is nice and clean. What version of Chef was this introduced? This cookbook currently supports Chef 11, but I can be persuaded to move to Chef 12.  There is another alternative I would like your feedback on: https://github.com/dhoer/chef-nexus3/pull/15/files.  What are the pro and cons to these approaches? Will p_port be an issue with Chef's approach?

Hey
tbh: I'm not entirely sure what version. I ran a local kitchen verify and that uses Chef 11 as far as I can see: this worked fine:
chef-chromedriver 17h retrieve-latest-version-with-proxy / kitchen verify                                                                                java-1.8.0_77
-----> Starting Kitchen (v1.7.3)
-----> Creating <default-centos-71>...
       Bringing machine 'default' up with 'virtualbox' provider...
       ==> default: Importing base box 'bento/centos-7.1'...
==> default: Matching MAC address for NAT networking...
       ==> default: Checking if box 'bento/centos-7.1' is up to date...
       ==> default: Setting the name of the VM: kitchen-chef-chromedriver-default-centos-71_default_1475133442072_58657
       ==> default: Clearing any previously set network interfaces...
       ==> default: Preparing network interfaces based on configuration...
           default: Adapter 1: nat
       ==> default: Forwarding ports...
           default: 4444 (guest) => 6444 (host) (adapter 1)
           default: 22 (guest) => 2222 (host) (adapter 1)
       ==> default: Booting VM...
       ==> default: Waiting for machine to boot. This may take a few minutes...
           default: SSH address: <IP_ADDRESS>:2222
           default: SSH username: vagrant
           default: SSH auth method: private key
           default:
           default: Vagrant insecure key detected. Vagrant will automatically replace
           default: this with a newly generated keypair for better security.
           default:
           default: Inserting generated public key within guest...
           default: Removing insecure key from the guest if it's present...
           default: Key inserted! Disconnecting and reconnecting using new SSH key...
       ==> default: Machine booted and ready!
       ==> default: Checking for guest additions in VM...
       ==> default: Setting hostname...
       ==> default: Machine not provisioned because `--no-provision` is specified.
       [SSH] Established
       Vagrant instance <default-centos-71> created.
       Finished creating <default-centos-71> (0m37.01s).
-----> Converging <default-centos-71>...
       Preparing files for transfer
       Preparing dna.json
       Resolving cookbook dependencies with Berkshelf 4.3.2...
       Removing non-cookbook files before transfer
       Preparing solo.rb
-----> Installing Chef Omnibus (11.16)
       Downloading https://www.chef.io/chef/install.sh to file /tmp/install.sh
       Trying wget...
       Download complete.
       el 7 x86_64
       Getting information for chef stable 11.16 for el...
       downloading https://www.getchef.com/stable/chef/metadata?v=11.16&p=el&pv=7&m=x86_64
         to file /tmp/install.sh.12424/metadata.txt
       trying wget...
       sha1	33e264eee97c225d47a4701d17aef7556d1afbd4
       sha256	278599ff185b680703e7a779db8674eeba843e9fe42a0ae06e01a9dfa9ac4d0e
       url	https://packages.chef.io/stable/el/6/chef-11.16.4-1.el6.x86_64.rpm
       version	11.16.4
       downloaded metadata file looks valid...
       downloading https://packages.chef.io/stable/el/6/chef-11.16.4-1.el6.x86_64.rpm
         to file /tmp/install.sh.12424/chef-11.16.4-1.el6.x86_64.rpm
       trying wget...
       Comparing checksum with sha256sum...
       Installing chef 11.16
       installing with rpm...
       warning: /tmp/install.sh.12424/chef-11.16.4-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
       Preparing...                          ################################# [100%]
       Updating / installing...
          1:chef-11.16.4-1.el6               ################################# [100%]
       Thank you for installing Chef!
       Transferring files to <default-centos-71>
       [2016-09-29T07:18:57+00:00] WARN:
       * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
       SSL validation of HTTPS requests is disabled. HTTPS connections are still
       encrypted, but chef is not able to detect forged replies or man in the middle
       attacks.

       To fix this issue add an entry like this to your configuration file:

       ```
         # Verify all HTTPS connections (recommended)
         ssl_verify_mode :verify_peer

         # OR, Verify only connections to chef-server
         verify_api_cert true
       ```

       To check your SSL configuration, or troubleshoot errors, you can use the
       `knife ssl check` command like so:

       ```
         knife ssl check -c /tmp/kitchen/solo.rb
       ```

       * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

       Starting Chef Client, version 11.16.4
       Compiling Cookbooks...
       Recipe: chrome::yum
         * yum_repository[google-chrome] action add[2016-09-29T07:18:58+00:00] WARN: The :add method in yum_repository has been deprecated in favor of :create. Please update your cookbook to use the :create action

           * template[/etc/yum.repos.d/google-chrome.repo] action create
             - create new file /etc/yum.repos.d/google-chrome.repo
             - update content in file /etc/yum.repos.d/google-chrome.repo from none to 11ebce
             --- /etc/yum.repos.d/google-chrome.repo	2016-09-29 07:18:58.462211332 +0000
             +++ /tmp/chef-rendered-template20160929-12541-dybko0	2016-09-29 07:18:58.462211332 +0000
             @@ -1 +1,10 @@
             +# This file was generated by Chef
             +# Do NOT modify this file by hand.
             +
             +[google-chrome]
             +name=Google Chrome Repo
             +baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
             +enabled=1
             +gpgcheck=1
             +gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
             - change mode from '' to '0644'
             - restore selinux security context
           * execute[yum clean metadata google-chrome] action run
             - execute yum clean metadata --disablerepo=* --enablerepo=google-chrome
           * execute[yum-makecache-google-chrome] action run
             - execute yum -q -y makecache --disablerepo=* --enablerepo=google-chrome
           * ruby_block[yum-cache-reload-google-chrome] action create
             - execute the ruby block yum-cache-reload-google-chrome
           * execute[yum clean metadata google-chrome] action nothing (skipped due to action :nothing)
           * execute[yum-makecache-google-chrome] action nothing (skipped due to action :nothing)
           * ruby_block[yum-cache-reload-google-chrome] action nothing (skipped due to action :nothing)

         * package[google-chrome-stable] action install
           - install version 53.0.2785.116-1 of package google-chrome-stable
         Converging 32 resources
       Recipe: chromedriver_test::packages
         * package[gcc] action install
           - install version 4.8.5-4.el7 of package gcc
         * package[libffi-devel] action install
           - install version 3.0.13-16.el7 of package libffi-devel
         * package[make] action install (up to date)
       Recipe: java_se::_linux_install
         * ruby_block[fetch http://download.oracle.com/otn-pub/java/jdk/8u102-b14/jdk-8u102-linux-x64.tar.gz] action run
           - execute the ruby block fetch http://download.oracle.com/otn-pub/java/jdk/8u102-b14/jdk-8u102-linux-x64.tar.gz
         * ruby_block[set-env-java-home] action run
           - execute the ruby block set-env-java-home
         * directory[/etc/profile.d] action create (up to date)
         * file[/etc/profile.d/jdk.sh] action create
           - create new file /etc/profile.d/jdk.sh
           - update content in file /etc/profile.d/jdk.sh from none to 26187d
           --- /etc/profile.d/jdk.sh	2016-09-29 07:24:12.482142832 +0000
           +++ /tmp/.jdk.sh20160929-12541-23wy2g	2016-09-29 07:24:12.483143332 +0000
           @@ -1 +1,2 @@
           +export JAVA_HOME=/usr/lib/jvm/java
           - change mode from '' to '0755'
           - restore selinux security context
         * ruby_block[set JAVA_HOME in /etc/environment] action run (skipped due to only_if)
         * yum_package[glibc] action install (skipped due to only_if)
         * package[tar] action install (up to date)
         * ruby_block[adding java to /usr/lib/jvm/jdk1.8.0_102] action run
           - execute the ruby block adding java to /usr/lib/jvm/jdk1.8.0_102
         * template[adding /usr/lib/jvm/.java.jinfo for debian] action create (skipped due to only_if)
         * link[/usr/lib/jvm/java] action create
           - create symlink at /usr/lib/jvm/java to /usr/lib/jvm/jdk1.8.0_102
         * ruby_block[update-alternatives] action run
           - execute the ruby block update-alternatives
         * link[/usr/lib/jvm/default-java] action create (skipped due to only_if)
       Recipe: selenium::hub
         * selenium_hub[selenium_hub] action install
         Recipe: selenium::default
           * package[unzip] action install
             - install version 6.0-15.el7 of package unzip
           * directory[/opt/selenium/config] action create
             - create new directory /opt/selenium/config
             - restore selinux security context
           * directory[/opt/selenium/server] action create
             - create new directory /opt/selenium/server
             - restore selinux security context
           * remote_file[/opt/selenium/server/selenium-server-standalone-2.53.1.jar] action create
             - create new file /opt/selenium/server/selenium-server-standalone-2.53.1.jar
             - update content in file /opt/selenium/server/selenium-server-standalone-2.53.1.jar from none to 1cce6d
             (file sizes exceed 10000000 bytes, diff output suppressed)
             - change mode from '' to '0775'
             - restore selinux security context
           * link[/opt/selenium/server/selenium-server-standalone.jar] action create
             - create symlink at /opt/selenium/server/selenium-server-standalone.jar to /opt/selenium/server/selenium-server-standalone-2.53.1.jar
           - evaluate block and run any associated actions
           - Install Hub Service: selenium_hub
           * template[/opt/selenium/config/selenium_hub.json] action create
             - create new file /opt/selenium/config/selenium_hub.json
             - update content in file /opt/selenium/config/selenium_hub.json from none to 5ee4f3
             --- /opt/selenium/config/selenium_hub.json	2016-09-29 07:24:38.275032832 +0000
             +++ /tmp/chef-rendered-template20160929-12541-1plg979	2016-09-29 07:24:38.275032832 +0000
             @@ -1 +1,16 @@
             +{
             +  "host": null,
             +  "port": 4444,
             +  "newSessionWaitTimeout": -1,
             +  "servlets": [],
             +  "prioritizer":  null,
             +  "capabilityMatcher": "org.openqa.grid.internal.utils.DefaultCapabilityMatcher",
             +  "throwOnCapabilityNotPresent": true,
             +  "nodePolling": 5000,
             +  "cleanUpCycle": 5000,
             +  "timeout": 30000,
             +  "browserTimeout": 0,
             +  "maxSession": 5,
             +  "jettyMaxThreads": -1
             +}
             - restore selinux security context
           * user[ensure user selenium exits for selenium_hub] action create
             - create user selenium
           * template[/etc/systemd/system/selenium_hub.service] action create
             - create new file /etc/systemd/system/selenium_hub.service
             - update content in file /etc/systemd/system/selenium_hub.service from none to 2bd349
             --- /etc/systemd/system/selenium_hub.service	2016-09-29 07:24:38.410100332 +0000
             +++ /tmp/chef-rendered-template20160929-12541-1t8hg9x	2016-09-29 07:24:38.411100832 +0000
             @@ -1 +1,16 @@
             +[Unit]
             +Description=selenium_hub
             +After=syslog.target network.target
             +
             +[Service]
             +Type=simple
             +User=selenium
             +
             +ExecStart=/usr/bin/java -jar "/opt/selenium/server/selenium-server-standalone.jar" -role hub -hubConfig "/opt/selenium/config/selenium_hub.json"
             +KillMode=process
             +Restart=on-failure
             +RestartSec=45s
             +
             +[Install]
             +WantedBy=multi-user.target
             - change mode from '' to '0755'
             - restore selinux security context
           * service[selenium_hub] action enable
             - enable service service[selenium_hub]
           * service[selenium_hub] action start
             - start service service[selenium_hub]
           * service[selenium_hub] action restart
             - restart service service[selenium_hub]

       Recipe: xvfb::package
         * package[xorg-x11-fonts-100dpi] action install
           - install version 7.5-9.el7 of package xorg-x11-fonts-100dpi
         * package[xorg-x11-fonts-75dpi] action install
           - install version 7.5-9.el7 of package xorg-x11-fonts-75dpi
         * package[xorg-x11-fonts-Type1] action install
           - install version 7.5-9.el7 of package xorg-x11-fonts-Type1
         * package[xorg-x11-server-Xvfb] action install
           - install version 1.17.2-10.el7 of package xorg-x11-server-Xvfb
         * package[mesa-libGL] action install (up to date)
       Recipe: xvfb::service
         * template[/etc/systemd/system/xvfb.service] action create
           - create new file /etc/systemd/system/xvfb.service
           - update content in file /etc/systemd/system/xvfb.service from none to dc5f7e
           --- /etc/systemd/system/xvfb.service	2016-09-29 07:24:58.971375832 +0000
           +++ /tmp/chef-rendered-template20160929-12541-lhhczu	2016-09-29 07:24:58.972376332 +0000
           @@ -1 +1,10 @@
           +[Unit]
           +Description=Xvfb X Server
           +After=network.target
           +
           +[Service]
           +ExecStart=/usr/bin/Xvfb :0 -screen 0 1280x1024x24
           +
           +[Install]
           +WantedBy=multi-user.target
           - change mode from '' to '0755'
           - restore selinux security context
         * service[xvfb] action enable
           - enable service service[xvfb]
         * service[xvfb] action start
           - start service service[xvfb]
       Recipe: chrome::yum
         * yum_repository[google-chrome] action nothing (skipped due to action :nothing)
         * package[google-chrome-stable] action nothing (skipped due to action :nothing)
       Recipe: chromedriver::default
         * directory[/opt/chromedriver] action create
           - create new directory /opt/chromedriver
           - restore selinux security context
         * directory[/opt/chromedriver/chromedriver_linux64-2.24] action create
           - create new directory /opt/chromedriver/chromedriver_linux64-2.24
           - restore selinux security context
         * package[unzip] action install (up to date)
         * execute[unzip chromedriver] action nothing (skipped due to action :nothing)
         * remote_file[download chromedriver] action create
           - create new file /tmp/kitchen/cache/chromedriver_linux64-2.24.zip
           - update content in file /tmp/kitchen/cache/chromedriver_linux64-2.24.zip from none to 0c01b0
           (new content is binary, diff output suppressed)
           - restore selinux security context
         * execute[unzip chromedriver] action run
           - execute unzip -o /tmp/kitchen/cache/chromedriver_linux64-2.24.zip -d /opt/chromedriver/chromedriver_linux64-2.24 && chmod -R 0755 /opt/chromedriver/chromedriver_linux64-2.24
         * link[/usr/bin/chromedriver] action create
           - create symlink at /usr/bin/chromedriver to /opt/chromedriver/chromedriver_linux64-2.24/chromedriver
       Recipe: selenium::node
         * selenium_node[selenium_node] action install
           - Install Node Service: selenium_node
           * template[/opt/selenium/config/selenium_node.json] action create
             - create new file /opt/selenium/config/selenium_node.json
             - update content in file /opt/selenium/config/selenium_node.json from none to 3426a5
             --- /opt/selenium/config/selenium_node.json	2016-09-29 07:25:00.645212332 +0000
             +++ /tmp/chef-rendered-template20160929-12541-1500z7q	2016-09-29 07:25:00.649214332 +0000
             @@ -1 +1,22 @@
             +{
             +  "capabilities": [
             +  {
             +    "browserName": "chrome",
             +    "maxInstances": 5,
             +    "version": "53.0.2785.116",
             +    "seleniumProtocol": "WebDriver"
             +  }
             +],
             +  "configuration":
             +  {
             +    "proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
             +    "maxSession": 5,
             +    "port": 5555,
             +    "host": "ip",
             +    "register": true,
             +    "registerCycle": 5000,
             +    "hubPort": 4444,
             +    "hubHost": "ip"
             +  }
             +}
             - restore selinux security context
           * user[ensure user selenium exits for selenium_node] action create (up to date)
           * template[/etc/systemd/system/selenium_node.service] action create
             - create new file /etc/systemd/system/selenium_node.service
             - update content in file /etc/systemd/system/selenium_node.service from none to d0c47a
             --- /etc/systemd/system/selenium_node.service	2016-09-29 07:25:00.679229332 +0000
             +++ /tmp/chef-rendered-template20160929-12541-163si2d	2016-09-29 07:25:00.680229832 +0000
             @@ -1 +1,17 @@
             +[Unit]
             +Description=selenium_node
             +After=syslog.target network.target
             +
             +[Service]
             +Type=simple
             +User=selenium
             +
             +Environment=DISPLAY=:0
             +ExecStart=/usr/bin/java -jar "/opt/selenium/server/selenium-server-standalone.jar" -role node -nodeConfig "/opt/selenium/config/selenium_node.json"
             +KillMode=process
             +Restart=on-failure
             +RestartSec=45s
             +
             +[Install]
             +WantedBy=multi-user.target
             - change mode from '' to '0755'
             - restore selinux security context
           * service[selenium_node] action enable
             - enable service service[selenium_node]
           * service[selenium_node] action start
             - start service service[selenium_node]
           * service[selenium_node] action restart
             - restart service service[selenium_node]

       Recipe: xvfb::service
         * service[xvfb] action restart
           - restart service service[xvfb]

       Running handlers:
       Running handlers complete
       Chef Client finished, 45/51 resources updated in<PHONE_NUMBER>96 seconds
       Finished converging <default-centos-71> (7m14.87s).
-----> Setting up <default-centos-71>...
       Finished setting up <default-centos-71> (0m0.00s).
-----> Verifying <default-centos-71>...
       Preparing files for transfer
-----> Installing Busser (busser)

I guess the other alternative is fine, however it requires separate configuration which you presumable already have in your client.rb file. And no, port should not be an issue because in the client.rb you normally specify like this:
http_proxy "http://<IP_ADDRESS>:1234"
https_proxy "http://<IP_ADDRESS>:1234"

so you have the port included. Also in client.rb you have options to specifry username and password, whereas in the other approach you need to add even more parameters. (I haven't checked with username/password, but presumably that works).

Windows is having the following issue:
[2016-09-29T16:00:00+00:00] ERROR: SSL Validation failure connecting to host: chromedriver.storage.googleapis.com - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

Is there a way to disable the ssl check like the previous version did?

Or do this:
# ENV['http_proxy'] = 'http://myself:Password1@proxy.example.org:8080'
proxy = ENV['https_proxy'] || ENV['http_proxy'] || false
no_proxy = ENV['no_proxy'] || false
if proxy && !(no_proxy && proxy.host.include?(no_proxy))
  p_addr = URI(proxy).host if proxy
  p_port = URI(proxy).port if proxy

  userinfo = URI(proxy).userinfo if proxy
  p_user = userinfo.split(':')[0] unless userinfo.nil?
  p_pass = userinfo.split(':')[1] unless userinfo.nil?

  response = Net::HTTP.new(uri.host, nil, p_addr, p_port, p_user, p_pass).start { |http| http.get uri.request_uri }
else
  response = Net::HTTP.new(uri.host).start { |http| http.get uri.request_uri }
end

This would be consistent with how chef client handles proxies.

Is that a real-world example of the windows version failing? Or is that a test setup somewhere? It seems to me that the remote_file 'download chromedriver' that actually downloads the chrome driver binary would also fail on a SSL failure in that case right?

$ knife ssl check https://chromedriver.storage.googleapis.com
Connecting to host chromedriver.storage.googleapis.com:443
Successfully verified certificates from `chromedriver.storage.googleapis.com'

This is appveyor's 2012r2 image.  This is usually an issue with ssl certs in ruby http being out of date.  Windows version of chef must be a little different than linux. That is why I ignore the certs, which is probably a bad thing to do, but hey, it works!

Perhaps it would be best to limit that to specific windows versions in that case.

@sspans: @aukevanleeuwen was able to get around this be setting the following in chefspec:
Chef::Config[:ssl_verify_mode] = :verify_none


added documentation to disable the BlueZ battery plugin

Fixes #32895
Added documentation to disable the BlueZ battery plugin on Raspberry Pi.
If the BlueZ battery plugin is not disabled, the BLE connection will be terminated during the Matter commissioning process with iOS Matter controllers.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Drop xmldom from dependencies

#5 removed the code that used xmldom and @types/xmldom devDependency but missed the xmldom dependency. I used node 12 to run npm install.
Since then, several PRs from automated tools kept the unused dependency up-to-date.
<EMAIL_ADDRESS>is vulnerable and can no longer be updated by the maintainers:
https://github.com/xmldom/xmldom/security/advisories/GHSA-5fg8-2547-mr8q
https://github.com/xmldom/xmldom/issues/271
So it's easier to finally drop the dependency than doing another upgrade.

Very nice find. Thanks. I'll merge when green.


Problem with CSF

The theme is blocking CSF saving and only display a spinning wheel that never completes. This is when editing the configuration file. Started with the last 3 updates.

What is your csf version? Run csf -v in CLI?

Authentic Theme 17.72
ConfigServer Security & Firewall 8.21
This may help
Webmin version 1.791

Because there was a change in CSF. Update the theme please to the latest.

17.84 is out. Please upgrade.

Hi I'm using Authentic theme:17.84 and ConfigServer Security & Firewall 9.07.
When I go to the CSF module settings the y-overflow is disabled (I can't scroll down. No scrollbars).
I've only tested this on chrome browser and haven't seen if the problem persist in firefox.

That shouldn't be the issue. Try resetting browser's cache. If it doesn't help, try reinstalling (force upgrading) CSF by running csf -uf.
But first of all, update theme to the latest 18.03.

i am having the same issue, i just ran csf -uf and updated that, but when i go to force update the theme all i get is a update notice page and not sure what to do.  How do i check my version of the theme and how do i get the new version.  thanks

https://github.com/qooob/authentic-theme/issues/547

To check the theme version go to the Dash board. The latest is 18.10

ok so i have 18.10 webmin and 18.10 authentic theme and virtualmin 5.04  and i still cant access csf, it tries to load and then goes to the dashboard.

What is your CSF version?

hi, its 9.20

Just purge/remove csf*.* under theme extensions golder. It'll work for now.

OK thank you sir.. :)

Just got an update from csf 9.22 and installed.  It works and page is static and good... However just so you know those two csf js files i removed in extensions dir were not replaced.  But it seems to be ok for now.

I can't get it to work. Still keeps redirecting back to the home webmin page.
Webmin: 1.810
Theme: 1.810
CSF: 9.23
In a previous comment above you said "ust purge/remove csf. under theme extensions golder. It'll work for now." - Not sure exactly how to do this?

After deleting it make sure that you clean browsers cache.

I commented out everything in the file: csf.min.js
That worked. does not look so great but at least I can access it now.
Thanks!

Sure, yes I will make it look even nicer than it was. ;)

I have this problem, with csf
Authentic Theme 18.10 + CSF 9.24 (Generic), when i try to open CSF menu, it always loading.

Just remove csf.min.js located in /usr/(libexec|share)/webmin/authentic-theme/extensions/csf.min.js
Debian systems have it under share and RHEL under libexec.
It will be fixed in 18.20

Removing csf.min.js worked for me, and I use 18.20 ( it was bugged ).

Yes. Correct.


Vertical Scroll is not working in iOS Devices

Using hammer.js (v 2.0) I tried to trigger events for the pandown gesture, but when the element Which I am applying the gesture event is having more content than the browser layout height, the default scrolling stops, see this codepen http://codepen.io/shmdhussain/pen/GomRVw#0
Issue happening in iOS Devices iPhone ( tested on iPhone 6Plus with iOS 8.4.1)

@shmdhussain this is intentional vertical pan and scrolling cant coexist because they are the same gesture. see http://hammerjs.github.io/touch-action/

I am Implementing Pull to Refresh, How could I Implement?, If the content is more, user will always want to scroll down the page.

Pull to refresh in the browser is not really supported currently there are several well known issues that prevent this sort of functionality right now these are being worked on at the browser and spec level. If you google around you will find some people that have found some ways to make it work ok. This is not something that hammer does though.

@shmdhussain the best way I've seen this accomplished is to hook into scroll and if/when scroll offset is "0" start "pulling" instead

@runspired @arschmitz Thanks For suggestions and help. I Implemented this usingt he code shared by berkin http://codepen.io/berkin/pen/jyfHq see this implementation

@shmdhussain Were you able to fix the scroll issue ?

Yes sharath ...see my post above...I used older version. I am able to do that....

Thanks @shmdhussain for quick reply. I tried the link, pull to refresh works good, but I cannot use mouse left button to scroll. Basically I have to implement pull to refresh on mobile web, where both scroll using touch and drag at the top the container(this is to refresh content) should work. Let me know if you think of anything. Thanks in advance.

Sharath disable scrolling when user pulls down and enable again when user release....so scrolling will work.....

How would you disable/enable scroll ? Sorry for asking detail things.


"c14 create" output is a mess.

I'm trying to get the create output to a variable so I can upload to it from a script, but the output is a mess:
$'\r'-$'\r'$'\r'\\$'\r'$'\r'\|$'\r'$'\r'/$'\r'$'\r'-$'\r'$'\r'-$'\r'$'\r'\\$'\r'$'\r'\|$'\r'$'\r'/$'\r'$'\r'-$'\r'$'\r'-$'\r'$'\r'\\$'\r'$'\r'\|$'\r'$'\r'/$'\r'$'\r'-$'\r'$'\r'-$'\r'$'\r'\\$'\r'$'\r'\|$'\r'$'\r'/$'\r'$'\r'-$'\r'$'\r'-$'\r'$'\r'\\$'\r'$'\r'\|$'\r'$'\r'/$'\r'$'\r'-$'\r'$'\r'-$'\r'$'\r'\\$'\r'$'\r'\ $'\r'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa
uuid was replaced with a's for potential security reasons.
This makes scripting an unnecessary pain, and is probably a bug.
Here's what Ask Ubuntu General Room has to say: It looks like a progress spinner of sorts, the output - Ah! Yes.  - Ask them to print progress reports to stderr where they belong.

Upon further digging in code, I found 2 stuff:

The spinning status output: https://github.com/online-net/c14-cli/blob/master/pkg/api/helpers.go#L90

it should go to stderr, not stdout.

there's apparently a quiet flag: https://github.com/online-net/c14-cli/blob/master/pkg/commands/create.go#L42

But it's not documented on c14 --help:

Ok, my second point of --help not showing is due to me adding --help in middle...
that's weird. Meh.

Step 1 : Run 'c14 COMMAND --help' for more information on a command.
Step 2 : c14 create --help

-q, --quiet=false     Don't display the waiting loop

it's pretty simple i think, no ? :)


lower GPU VRAM  usage , upscalers integration

i think using timm==0.9.2 will lower VRAM usage
trying to implement this project to sdwebui
in zoedepth\models\base_models\midas.py i changed the line  341:
midas = torch.hub.load("intel-isl/MiDaS", midas_model_type,
pretrained=use_pretrained_midas, force_reload=force_reload)
to :
midas = torch.hub.load("AyaanShah2204/MiDaS", midas_model_type,
pretrained=use_pretrained_midas, force_reload=force_reload)
it's using about 6-7gb on my end
plus i'm using the preinstalled dependencies of sdwebui 1.6
that could be the improvement .
edit :
thinking about it ,the input image gets upscaled using resolutions only , why not use AI upscalers like  4x-UltraSharp .. etc
i will work on doing that soon and see the results

Thanks for your effort. I would have a try about this modification. It's really helpful.
The image upsample idea is amazing for me. Would it be possible for us that even if given a blur image, we could still give a high-resolution image?

i did test  4x-ultrasharp after i generated an image with SDWEBUI the image was 768*1344 upscaled 2x
the results appears to be very good for depth generation , the image was clear not  blurry
for blur image that i think you will have to use img2img to clear it , here is an example just posted using COntrolnet SOftedge HED + controlnet TIle no preprocesor. https://www.reddit.com/r/StableDiffusion/comments/18msbgb/magnific_ai_but_it_is_free_a1111/
i think you can just upscale it and send it as an image no need to replace image_hr = F.interpolate(image, image_resolution, mode='bicubic', align_corners=True)
it's the same results if you use it or not it's good to have so that the patches will always cover the image


Attention RNN fails to compile on Tensorflow r0.10

While i try to execute the following code:
./bazel-bin/magenta/models/attention_rnn/attention_rnn_train --run_dir=/home/prakhar/Documents/Music/Magenta/outdir --sequence_example_file=/home/prakhar/Documents/Music/Magenta/dataset_dir/training_melodies.tfrecord --hparams="{'batch_size':64,'rnn_layer_sizes':[128,128]}" --num_training_steps=2000
I get this error thrown at me using tensorflow 0.10:
Traceback (most recent call last):   File "/home/prakhar/Documents/Music/Magenta/magenta/bazel-bin/magenta/models/attention_rnn/attention_rnn_train.runfiles/__main__/magenta/models/attention_rnn/attention_rnn_train.py", line 37, in <module>     import attention_rnn_graph   File "/home/prakhar/Documents/Music/Magenta/magenta/magenta/models/attention_rnn/attention_rnn_graph.py", line 171, in <module>     _is_sequence = tf.nn.rnn_cell._is_sequence AttributeError: 'module' object has no attribute '_is_sequence'
Same thing also happens with the master branch of tensorflow. But the issue vanishes with tensorflow r0.9. Unfortunately i have significant reasons to stick to r0.10 and if someone could point me in the direction as to what might be wrong?

This should be fixed by https://github.com/tensorflow/magenta/pull/148, which was merged in this morning. Are you still having the issue after doing a pull?

Yes I can confirm, that with the commit ffec2883b66d3818380d4f53cc9794b7276556ca, still doesn't works with the same error as said above. Thanks for such a prompt response.

I see the issue. Will fix shortly.

Okay, should be fixed at fcbc824. Thanks for bringing this to our attention.


PROMPT_INDICATOR doesn't show up properly

Platform Windows 10, MacOS, maybe others
Terminal software Windows Terminal, Ghostty, maybe others
Describe the problem you are observing.
When you set the PROMPT_INDOCATOR like this $env.PROMPT_INDICATOR = {|| "\n❯ " } the indicator doesn't show up. This was found testing this PR in nushell https://github.com/nushell/nushell/pull/11494
Before (Note: The indicator is on the 2nd line)

After (Note: The indicator has disappeared)

After After (Note: You can see that I typed ls and did not hit enter. So, the indicator is just eaten somehow)

Yup. I'm gonna leave it. I thought there was an issue but couldn't find it because I was searching for PROMPT_INDICATOR. Now we have 2 issues that'll close on one fix. 😆


BuildType in primitives.go

I was re-using this code. Thanks a lot. great work!
Some of the cases in the BuildType function in primitives.go do not correctly pass values.
E.g. PrimInt, PrimString, and PrimBytes. Should be something like:
	case PrimInt:
		t.OpCode = p.Type.TypeCode()
		t.Type = PrimNullary
		t.Int = p.Int

	case PrimString:
		t.OpCode = p.Type.TypeCode()
		t.Type = PrimNullary
		t.String = p.String

	case PrimBytes:
		t.OpCode = p.Type.TypeCode()
		t.Type = PrimNullary
		t.Bytes = p.Bytes

Thanks, but adding values (i.e. t.Int = p.Int) is not intended here.
BuildType() is meant to construct a type definition based on values, but returned primitives are not supposed to contain any values. When you output the type tree it has the same structure as as a normal type definition in a Michelson script.
We use BuildType only to construct a conforming type tree for packed data (PACK does not store type info currently) which can later be used to process unpacked values in the same way we process normal values.

Thanks echa, for the clarification. I was expecting something else, since I was using it differently.

Can you explain your use case? We're working on a separate Go library that's supposed to contain these building blocks in a composable way.


ERROR: unable to download video data: HTTP Error 403: Forbidden////For All Youtube Videos

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
I send a fairly high number of download requests to YouTube.
But recently I keep getting this error and I can no longer download videos.
maybe YouTube blocking IP !?
Is there a way to fix this problem?
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '-q', '--cookies-from-browser', 'firefox', 'ytsearch:/root/cookies.sqlite', '-f', 'bestaudio[ext=m4a]', 'https://www.youtube.com/watch?v=V2DyivP_rVQ']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [ff0779267] (debian*)
[debug] Python 3.12.3 (CPython x86_64 64bit) - Linux-6.8.0-48-generic-x86_64-with-glibc2.39 (OpenSSL 3.0.13 30 Jan 2024, glibc 2.39)
[debug] exe versions: ffmpeg 6.1.1 (setts), ffprobe 6.1.1
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.08.30, mutagen-1.46.0, requests-2.32.3, sqlite3-3.45.1, urllib3-2.0.7, websockets-14.1
[debug] Proxy map: {}
Extracting cookies from firefox
[debug] Extracting cookies from: "/root/snap/firefox/common/.mozilla/firefox/0jzlp3e8.default/cookies.sqlite"
Extracted 58 cookies from firefox
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1810 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
[debug] Downloading _update_spec from https://github.com/yt-dlp/yt-dlp/releases/latest/download/_update_spec
Current version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
ERROR: As yt-dlp has been installed via apt, you should use that to update.  If you're on a stable release, also check backports.
[youtube:search] Extracting URL: ytsearch:/root/cookies.sqlite
[download] Downloading playlist: /root/cookies.sqlite
[youtube:search] query "/root/cookies.sqlite": Downloading web client config
[debug] [youtube:search] Extracted SAPISID cookie
[youtube:search] query "/root/cookies.sqlite" page 1: Downloading API JSON
[youtube:search] Playlist /root/cookies.sqlite: Downloading 1 items of 1
[download] Downloading item 1 of 1
[youtube] Extracting URL: https://www.youtube.com/watch?v=mQkFWgAFE2o
[youtube] mQkFWgAFE2o: Downloading webpage
[debug] [youtube] Extracted SAPISID cookie
[youtube] mQkFWgAFE2o: Downloading ios player API JSON
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (1/3)...
[youtube] mQkFWgAFE2o: Downloading ios player API JSON
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (2/3)...
[youtube] mQkFWgAFE2o: Downloading ios player API JSON
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (3/3)...
[youtube] mQkFWgAFE2o: Downloading ios player API JSON
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] Unable to download API page: HTTP Error 400: Bad Request (caused by <HTTPError 400: Bad Request>)
[youtube] mQkFWgAFE2o: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (1/3)...
[youtube] mQkFWgAFE2o: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (2/3)...
[youtube] mQkFWgAFE2o: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (3/3)...
[youtube] mQkFWgAFE2o: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] Unable to download API page: HTTP Error 400: Bad Request (caused by <HTTPError 400: Bad Request>)
[youtube] mQkFWgAFE2o: Downloading player 89dfc5b3
WARNING: [youtube] mQkFWgAFE2o: nsig extraction failed: You may experience throttling for some formats
         n = 9I5_vTFyU7T-19 ; player = https://www.youtube.com/s/player/89dfc5b3/player_ias.vflset/en_US/base.js
[debug] [youtube] Unable to extract nsig function code (caused by RegexNotFoundError('Unable to extract \x1b[0;94mInitial JS player n function name\x1b[0m; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube] mQkFWgAFE2o: nsig extraction failed: You may experience throttling for some formats
         n = ojgQbA1rUqYiQj ; player = https://www.youtube.com/s/player/89dfc5b3/player_ias.vflset/en_US/base.js
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[info] mQkFWgAFE2o: Downloading 1 format(s): 140
[debug] Invoking http downloader on "https://rr5---sn-4g5e6nsk.googlevideo.com/videoplayback?expire=1732487431&ei=p1RDZ5KuMPT5xN8PzaW2CA&ip=<IP_ADDRESS>&id=o-AJZkN0jtYpU6-2EIa9fJ_suKG04DgkRMCONyrZXon2B_&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1732465831%2C&mh=DL&mm=31%2C26&mn=sn-4g5e6nsk%2Csn-5hnednsz&ms=au%2Conr&mv=m&mvi=5&pl=23&rms=au%2Cau&initcwndbps=460000&siu=1&bui=AQn3pFRP1nV_asXfe7DQ61y7LhSwJaEgchCquL9l2Iqve_cZ8Oeixj2omwIjGUxrJoutvBsx3g&spc=qtApAZtKgF1omSeYcsvNMq1wyqec2BflYRX9cM5WDPcNCJi74zq16imuHSBlD4xp89scPese3Q&vprv=1&svpuc=1&mime=audio%2Fmp4&ns=7cw1YyZkEzr-BIh8Lm19N9oQ&rqh=1&gir=yes&clen=1251320&dur=77.276&lmt=1691580942605807&mt=1732465299&fvip=3&keepalive=yes&fexp=51326932%2C51335594&c=WEB&sefc=1&txp=6211224&n=ojgQbA1rUqYiQj&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Csiu%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgCMktopDE-idEnhxP8at_5OqsNWH2DIEcTCtBK6YBFbMCIQCl3y0bDOyGkl0FcUUpV62cuaDHd854e_Ag-I_qqJnbkQ%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRAIga7wNCdDJvvKxgJ0dHcsao_Un49OREgNqyhAEvcftbA4CICgFO1W27vnyV0zpSp8m9pjO8cEQBM4JJnUISRMIuW0V"
[download] SQLite Database Browser fails to open Firefox cookie database [mQkFWgAFE2o].m4a has already been downloaded
[download] Download completed
[download] Finished downloading playlist: /root/cookies.sqlite
[youtube] Extracting URL: https://www.youtube.com/watch?v=V2DyivP_rVQ
[youtube] V2DyivP_rVQ: Downloading webpage
[youtube] V2DyivP_rVQ: Downloading ios player API JSON
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (1/3)...
[youtube] V2DyivP_rVQ: Downloading ios player API JSON
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (2/3)...
[youtube] V2DyivP_rVQ: Downloading ios player API JSON
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (3/3)...
[youtube] V2DyivP_rVQ: Downloading ios player API JSON
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] Unable to download API page: HTTP Error 400: Bad Request (caused by <HTTPError 400: Bad Request>)
[youtube] V2DyivP_rVQ: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (1/3)...
[youtube] V2DyivP_rVQ: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (2/3)...
[youtube] V2DyivP_rVQ: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (3/3)...
[youtube] V2DyivP_rVQ: Downloading android player API JSON
WARNING: [youtube] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube] Unable to download API page: HTTP Error 400: Bad Request (caused by <HTTPError 400: Bad Request>)
[debug] [youtube] Extracting signature function js_89dfc5b3_106
[debug] Loading youtube-sigfuncs.js_89dfc5b3_106 from cache
WARNING: [youtube] V2DyivP_rVQ: nsig extraction failed: You may experience throttling for some formats
         n = ZkFl6Q8Rd8ixdP ; player = https://www.youtube.com/s/player/89dfc5b3/player_ias.vflset/en_US/base.js
[debug] [youtube] Extracting signature function js_89dfc5b3_102
[debug] Loading youtube-sigfuncs.js_89dfc5b3_102 from cache
WARNING: [youtube] V2DyivP_rVQ: nsig extraction failed: You may experience throttling for some formats
         n = BzoXqyGVs2TNjX ; player = https://www.youtube.com/s/player/89dfc5b3/player_ias.vflset/en_US/base.js
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[info] V2DyivP_rVQ: Downloading 1 format(s): 140
[debug] Invoking http downloader on "https://rr5---sn-4g5edn6k.googlevideo.com/videoplayback?expire=1732487433&ei=qVRDZ46JGJSDi9oPlqSNKA&ip=<IP_ADDRESS>&id=o-ABO6v0KiUCUPasBwlTwq0nx1DtZlCW0CzpkpDK6z8-U3&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1732465833%2C&mh=QH&mm=31%2C29&mn=sn-4g5edn6k%2Csn-4g5lznle&ms=au%2Crdu&mv=m&mvi=5&pl=23&rms=au%2Cau&initcwndbps=322500&siu=1&bui=AQn3pFRLYIv5vy6XPDZexgT6OLmJ-Dt7b3Tboq5AkaJr0BD4ecPxvMCnGR7Uw_B4mzXC7J-Pzw&spc=qtApAQ3z6qzac6My1VoWPfFCllpUTCYgpsANE9GaLZRS_Gy481E6HtTazSK5h6KjvZHK9GuEWg&vprv=1&svpuc=1&mime=audio%2Fmp4&ns=oge3dP8RgH5n8KwhAdNmwcAQ&rqh=1&gir=yes&clen=3110872&dur=192.168&lmt=1728216367778514&mt=1732465299&fvip=1&keepalive=yes&fexp=51326932%2C51335594&c=WEB&sefc=1&txp=5532434&n=BzoXqyGVs2TNjX&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Csiu%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRQIhALfUOV1qSIg-uje7ZAXPmfIu4OIg6JN5dBP7xdRGDFubAiAejbJK9bosp1BQRdbqXjXw1lZPbzFyaq_OX9btmce-BA%3D%3D&sig=AJfQdSswRAIgKSji8Hhpi8b6P4rKgZ9lY6jiNoNftW3zw3QGJS-9G9MCIG44B7wXW4YJ86Xix6oAB18iD0-nQKjYTWif6XeNnfo8"
ERROR: unable to download video data: HTTP Error 403: Forbidden

Current version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp

You are running a really old version. Update.

I am having the same issue with the latest version.

I am having the same issue with the latest version.

The issue lies with the iOS player API  JSON, but downloads still work in my case via mweb, so it's not really an issue per se. It just retries the iOS API four times and throws a bad request for each. The iOS player on ReVanced also stopped working recently, so it's likely the same issue happening here. If you still want a new issue opened I can do that, but the iOS API isn't going to work regardless of the software version so I'd be surprised if it wasn't already known.

@All-The-Foxes it's likey an A/B test / slow rollout, and it hasn't been rolled out for any of the maintainers yet. Please do open a new issue with verbose log


missing "convolution + add_relu" fusion

inception v3 model has many "convolution + add_relu" patterns (about 20) that are not vertically fused.
Below is snippet of dump:
@569 = gpu::convolutionpadding=0, 0,stride=1, 1,dilation=1, 1,padding_mode=0,group=1 -> float_type, {1, 192, 17, 17}, {55488, 289, 17, 1}
.....
@573 = hip::add_relu(@569,@570,@572) -> float_type, {1, 192, 17, 17}, {55488, 289, 17, 1}
....
@945 = gpu::convolutionpadding=1, 0,stride=1, 1,dilation=1, 1,padding_mode=0,group=1 -> float_type, {1, 384, 8, 8}, {24576, 64, 8, 1}
.....
@948 = hip::add_relu(@945,@946,@947) -> float_type, {1, 384, 8, 8}, {24576, 64, 8, 1}

We have some heuristics here to skip miopen fusions when channel sizes are large or winograd is being used because miopen fusion is slower than doing it separately.

@pfultz2 resolved?

Close no change.


Merge to original to Fix gamemode issue

the title says.

I'm actually not sure what the title is saying...

the problem has been fixed, i opened the issue in the wrong project, it was to have opened in your Geyser fork
something else your Geyser fork release is not loading chunks when you teleport to long distance


ID mismatch between depressions / regions in depressions_info

lidar version: 0.6.1
Python version: 3.8
Operating System: Ubuntu

Description
The following image shows the mismatch in the depressions_info.csv after executing
sink_path = ExtractSinks(
    dem_raster,
    2,
    out_dir
)
DelineateDepressions(
    sink_path,
    2,
    0,
    0.2,
    out_dir,
    True
)

The depressions_info.csv  references the region_id 143 for depression 163 while a look at the map show that actually region 173  spatially matches the depression 163. I tested in another region and here everything was correct and the region/depression IDs matched as they should. I expect this to be a bug. Any other suggestions?
PS: I attached the SRTM image to test srtm_dem.zip

Can you also check the raster files to see if the IDs match? Sometimes the raster-to-vector conversion can cause the issue

I have added the corresponding region and depression_id raster and they have identical IDs. Also none of the other raster files here have the value 143.
So far I have never seen any pixel to shape conversion issues. The same with the depression which all got the ID 1 (See #)

The algorithm is well suited for high-resolution LiDAR data. You used a coarse-resolution srtm without projection. I don't think the algorithm will generate meaningful results for this.

Thanks for the feedback. I unterstand that by using SRTM data, I cannot expect too meaningful results, especially in flat lands like the example above (Netherlands). That is clear, and SRTM is only our fallback data. But I would still assume that the ID referencing should work correctly. Or would you say the correct ID reference between output pixels and the CSV is resolution dependant?
For me this looks more like a bug, when the CSV is created.


Problem with using minuteChanged and secondChanged together

Hi
I am writing a program to display he time on an  LED matrix. I used secondChanged to blink a colon between the hours and minutes and also manually tracked when the minute changed in order to update the time on the display. That worked fine.
I figured I could simplify things by using minuteChanged to trigger a screen refresh rather than tracking when the minute changed. However, when I use both minuteChanged and secondChanged together I find that secondChanged is being triggered approx 100,000 times per second rather than just once per second.
My questions are:

should the combination of these two functions work as I expect, and there is a bug occurring?
these two functions not designed to work together in the same program?

Thanks
aussieW

You have to read the time using one of ezTime's functions (such as now()) for it to update _last_read_t, which is used internally to determine whether the seconds or minutes have changed since the last time the time was read. So just calling the function and then not reading the time when it returns true keeps it returning true. Just read the time with now() every time it has changed and you're fine.

Thanks. Works great now.


CBSSports - extractor error

Hi Guys, I was wanting to download a video from cbssports and it gave an extractor error. Here is the detials of the out put.
youtube-dl -v -f best -o "/media/436905539781.%(ext)s" "http://www.cbssports.com/video/player/nba/436905539781/0/los-angles-clippers-vs-san-antonio-spurs-preview"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'-f', u'best', u'-o', u'/media/436905539781.%(ext)s', u'http://www.cbssports.com/video/player/nba/436905539781/0/los-angles-clippers-vs-san-antonio-spurs-preview']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.04.28
[debug] Python version 2.7.6 - Linux-3.13.0-35-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: ffmpeg git-2014-12-27-d4fd3f2, ffprobe git-2014-12-27-d4fd3f2, rtmpdump 2.4
[debug] Proxy map: {}
[CBSSports]<PHONE_NUMBER>81: Downloading JSON metadata
ERROR: An extractor error has occured. (caused by StopIteration()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 276, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/cbssports.py", line 29, in _real_extract
    video_info = next(v for v in all_videos if v['pcid'] == video_id)
StopIteration
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 649, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 282, in extract
    raise ExtractorError('An extractor error has occured.', cause=e)
ExtractorError: An extractor error has occured. (caused by StopIteration()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

There is no such video.

The site took the video down. Thanks.


show viewshed location

Description
PR to add a new Kotlin sample "Show Viewshed from point in scene" in Analysis category.
Links and Data
Sample Epic: runtime/kotlin/issues/1137
Note
The double touch drag feature is not available in kotlin api as of <IP_ADDRESS>21. Due to which the move viewshed functionality isn't available with this sample
What To Review

Review the code to make sure it is easy to follow like other samples on Android
README.md and README.metadata.json files

How to Test
Run the sample for build 200.2.0:3910 or below on the sample viewer or the repo.
There is an issue with viewshed not showing for builds 3911 and above. See comment here

@shubham7109 I have applied your suggestions! Thank you.
Also, the viewshed is visible starting build 3921.

should this sample wait for the fix for building the scene view in the latest builds?

Since, the sample works on a physical device, as sceneview renders, don't think it should wait.
When a fix is available for sceneview rendering on emulators, we can verify all sceneview samples with the appropriate build

Thanks @shubham7109 for the suggestion on adding the Preview and the changes around it. It makes sense to me why we need to do these changes from your explanation. I have modified code based on your suggestion.


testcloud provisioner should have a default image

testcloud provisioner should have a default image. If you decide against having one, the example in docs/examples.rst should be modified.

Agreed to always have a default image. That would be nice/handy for podman as well. @thrix, what do you say?

Yes, I guess by default it will map to what --image fedora does ....

Fixed in 10a0c9e.


Error while fetching Videos

I am not able to fetch the recent videos of a Streamer. I get the following error:
json: cannot unmarshal string into Go struct field Video.data.duration of type time.Duration
My Code
videoCall := client.Videos.List().UserID("50985620").Type("archive")

videos, err := videoCall.Do(context.Background(), api.WithBearerToken(bearer.AccessToken))

if err != nil {
	panic(err)
}

fmt.Println(videos.Data[0].Title)

What I tried
I modified twitch_videos.go to print the response of the twitch response.
I took out every duration and tried to parse it: https://go.dev/play/p/iY-z3kKFArE
That ended up working so I think its not the data thats coming from Twitch.
But as I am not that confident with go yet I have no Idea how to continue

Fixed via #19


Private notes in Issues not correcty serialized to JSON

Hello, I have found a Bug in serializing Redmine-Issues to JSON: For the key PRIVATE_NOTES the value IsPrivate is used. I think it should be PrivateNotes.
See Redmine.Net.Api.JSonConverters.IssueConverter line 83.

@afcaJordi if it is a small code change, could you fix this and create a pull request for @zapadi ? he mentioned he would release an updated nuget package in January. Until then we will have these changes in our local copy and use the official package afterwards (along with the other fixes).


Add simple code interpreter sandbox example

This PR adds a simple code interpreter sandbox example, showing how to use stdin and stdout for control of a process.
Type of Change

[x] New example
[ ] Example updates (Bug fixes, new features, etc.)
[ ] Other (changes to the codebase, but not to examples)

Checklist

[x] Example is testable in synthetic monitoring system, or lambda-test: false is added to example frontmatter (---)

[x] Example is tested by executing with modal run or an alternative cmd is provided in the example frontmatter (e.g. cmd: ["modal", "deploy"])
[x] Example is tested by running with no arguments or the args are provided in the example frontmatter (e.g. args: ["--prompt", "Formula for room temperature superconductor:"]

[x] Example is documented with comments throughout, in a Literate Programming style.
[x] Example does not require third-party dependencies to be installed locally
[x] Example pins its dependencies

[x] Example pins container images to a stable tag, not a dynamic tag like latest
[x] Example specifies a python_version for the base image, if it is used
[x] Example pins all dependencies to at least minor version, ~=x.y.z or ==x.y
[x] Example dependencies with version < 1 are pinned to patch version, ==0.y.z

Something went wrong with the preview deployment.

Something went wrong with the preview deployment.

Actually there's an issue with the frontend deployment and the example testing, so don't merge!

🚀 The docs preview is ready! Check it out here:     https://modal-labs-examples--frontend-preview-6422d6b.modal.run

Something went wrong with the preview deployment.

🚀 The docs preview is ready! Check it out here:     https://modal-labs-examples--frontend-preview-35017b8.modal.run

🚀 The docs preview is ready! Check it out here:     https://modal-labs-examples--frontend-preview-6d23af3.modal.run

🚀 The docs preview is ready! Check it out here:     https://modal-labs-examples--frontend-preview-0ab9d7a.modal.run

🚀 The docs preview is ready! Check it out here:     https://modal-labs-examples--frontend-preview-fd28974.modal.run


luarocks: enable for unix-like platforms

I tried to cross-compile neovim for x86_64-freebsd and discovered this package only supports linux/darwin.
FreeBSD ports does have luarocks though so I assume there must not be any incompatibility.
Looking back through the git history the initial commit was linux-only then darwin was enabled, without justification of why other platforms are disabled.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

do you want to add yourself as a maintainer ?


set the UDP receive buffer size on Windows

Fixes #2837.

Good point. Will do so in a separate PR.


Why int8 mode performance better?

Thanks a lot for your amazing work. But a question is that why it performance even better for 5 mAP after speed up with int8 mode? That is really strange！

Usually Int8 mode gets a little worse infer result in the dataset. As I test other model tried int8 and fp32, the int8 mode gets a little worse but sometimes better result. So It is not certainly in all the model and all the test data. Maybe it is a method for preventing model overfitting so that gets a better result. By the way, I am not sure actually :)


asset compilation in production mode

Assets are not compiled if RAILS_ENV is set to production mode

@lkoenigsberger fixed, thanks for reporting.


Web UI

Would be very cool if I could send a url to a friend and for them to get a web page with codemirror or the like from which they can edit as if they were using atom editor.
... basically allow access to non atom users.

This repository is specifically the Atom package implementing the Teletype protocol.
I think you are likely looking for teletype-client, the goal of which is to provide a library to talk the Teletype protocol in an editor agnostic manner, allowing other editors to implement it and work with an Atom instance on a document. If that doesn't fill your needs either file an issue there or look over the teletype-crdt and teletype-server repositories for how to implement it in your own language/application.
Thanks for taking the time to file an issue!


Where is the rgb/.png and depth/.npy data for inference.py?

Hello.
I'm trying to get inference.py to work.
I would like a sample of the data you are using in lines 31 and 32（in  inference.py）, is there somewhere I can find it?
Data used in rgb/.png and depth/.npy.

I decided to use the same data as eval.py.
I can use this
https://github.com/hughw19/NOCS_CVPR2019 in real_test dataset (http://download.cs.stanford.edu/orion/nocs/real_test.zip)

@foxmari Hi, sorry to bother you. Do you know how to get the initial pose and scale of the object?


Deploy has hit rate limits

Describe the bug
Tried to deploy
Link to the Bolt URL that caused the error
https://bolt.new/~/github-uakdhf
Steps to reproduce
load project
hit deploy
Expected behavior
it deploys
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 65484463,
  "usedJSHeapSize": 54698827,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = MattVOLTA
Chat ID = 6a465c4c2396

Additional context
Error:
We ran into a Netlify rate limit error, please try again in a bit.

@MattVOLTA this issue is being tracked in #1037


[1] - Dashboard(feat): Adding Features for Dashboard Page

Addresses: https://github.com/a2i-code-For-Govstack/nise3-skill-and-certification/issues/1
Added features:

Institute Analytics Cards
quick display Events Section with calender

Added EventSeeder in DatabaseSeeder for automatic seeding Events during migrations

Added Trainee Analytics cards (total Trainee, Trainee courses pending Requests, Trainee Certificates requests)
Added User roles

Check for the dashboard link that show error 403 and fix that.
Fix a grey dot next to the text "Dashboard" which routes to dashboard. Also, make dashboard text itself clickable and make it route to dashboard. Hover should highlight the text as a link and cursor should be pointer.
Institute admin should not be shown total institutes and total courses, branches, etc should be with respect to that institute.
Replace 'management' words to 'analytics' on dashboard.
Show Institute -> Trraining center -> branch -> batch -> trainee analytics on dashboard

Rechecked all sidebars menus and dashboard cards related to error 403
fixed position of grey dot and channed dashboard to clickable and also added hover effect that can highlight the Text as a link.
removed total institutes, total courses, branches, .. crads from the Institute Dashboard.
Replaced 'management' words to 'analytics' on dashboard for headings and Also changed  <h2> to <h3> tags and added padding of p-1
changed the orders of cards as mentioned above

removed grey dot icon


Not Found for source Resource Group

Hi there,
No matter which scenario i am trying, it is throwing Not Found for source resource group.  I even tried something like this to get the resource group automatically:
$sourceappname = gladiatus
$sourceRG = Web-App-RG
$getsourceRGname = Get-AzResourceGroup -Name $sourceRG
$sourceRGname = $getsourceRGname.ResourceGroupName
$srcapp = Get-AzWebApp -ResourceGroupName $sourceRGname -Name $sourceappname
$destapp = New-AzWebApp -ResourceGroupName WebApp-RG-US -Name gladiatus-clone -Location "Central US" -AppServicePlan Web-App-Plan-US -SourceWebApp $srcapp
The result is:
],
"Code": "NotFound",
"Message": "Cannot find ResourceGroup with name Web-App-RG."
}
When i am querying $sourceRGname it returns Web-App-RG. When i query $srcapp it returns the full details of the app including the Web-App-RG resrouce group
ResourceGroup               : Web-App-RG
Not sure how to get past this.

@Djongov
Thanks for your feedback! We will investigate and update as appropriate.

@Djongov I'm not sure which version of Azure PowerShell you're using but when running 2.8, I get Bad Request error when using the -SourceWebApp parameter. Not the same error as you so I'm assuming you might be on an older version. Nonetheless, there might be a bug so I'll create an issue in the Azure PowerShell repo for you.

@Djongov When you set $DebugPreferences=true and rerun your New-AzWebApp cmdlet, what's the message that you see?
Also bear in mind that cloning is only available to app service plans that are 'Standard' SKU or higher.

Let me try again tomorrow. Just in case i will try from Azure portal Powershell too. And yes I am using Standard SKU on both App Service plans

Hi Ryan,
I just tested again and it's still the same. Let me give you more context.
I have a web app in West Europe called gladiatus that i want to close to Central US. The app is running in S1 app service plan. The resouce group is called "Web-App-RG".
Following the article i am defining my src app.
$srcapp = Get-AzWebApp -ResourceGroupName Web-App-RG -Name gladiatus
Checking what $srcapp actually recorded i run the $srcapp variable alone which prodices the following result:
`PS C:\WINDOWS\system32> $srcapp
GitRemoteName               :
GitRemoteUri                :
GitRemoteUsername           :
GitRemotePassword           :
AzureStoragePath            : {}
State                       : Running
HostNames                   : {xxxxx, gladiatus.trafficmanager.net, gladiatus.azurewebsites.net}
RepositorySiteName          : gladiatus
UsageState                  : Normal
Enabled                     : True
EnabledHostNames            : {xxxxx, gladiatus.trafficmanager.net, gladiatus.azurewebsites.net, gladiatus.scm.azurewebsites.net}
AvailabilityState           : Normal
HostNameSslStates           : {gladiatus.azurewebsites.net, xxxxxx, gladiatus.trafficmanager.net, gladiatus.scm.azurewebsites.net}
ServerFarmId                : /subscriptions/xxxxxx/resourceGroups/Web-App-RG/providers/Microsoft.Web/serverfarms/Web-App-Plan-Standard
Reserved                    : False
IsXenon                     : False
LastModifiedTimeUtc         : 22-Oct-19 8:58:36 AM
SiteConfig                  : Microsoft.Azure.Management.WebSites.Models.SiteConfig
TrafficManagerHostNames     : {gladiatus.trafficmanager.net}
ScmSiteAlsoStopped          : False
TargetSwapSlot              :
HostingEnvironmentProfile   :
ClientAffinityEnabled       : True
ClientCertEnabled           : False
HostNamesDisabled           : False
OutboundIpAddresses         : <IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>
PossibleOutboundIpAddresses : <IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>
ContainerSize               : 0
DailyMemoryTimeQuota        : 0
SuspendedTill               :
MaxNumberOfWorkers          :
CloningInfo                 :
ResourceGroup               : Web-App-RG
IsDefaultContainer          :
DefaultHostName             : gladiatus.azurewebsites.net
SlotSwapStatus              :
HttpsOnly                   : False
Identity                    :
Id                          : /subscriptions/xxxxxxxxxxxx/resourceGroups/Web-App-RG/providers/Microsoft.Web/sites/gladiatus
Name                        : gladiatus
Kind                        :
Location                    : West Europe
Type                        : Microsoft.Web/sites
Tags                        : Now obviously the Web-App-RG resource group is returned and existing. Now i try to clone the app to an App Service Plan in Central US called with a tier S1 called Web-App-Plan-US.  so my command is the following $destapp = New-AzWebApp -ResourceGroupName WebApp-RG-US -Name gladiatus-clone -Location "Central US" -AppServicePlan Web-App-Plan-US -SourceWebApp $srcapp The result however is (using debug) basically that the originating resource group Web-App-RG is not FoundDEBUG: 11:26:01 AM - NewAzureWebAppCmdlet begin processing with ParameterSet 'WebAppParameterSet'.
DEBUG: 11:26:02 AM - using account id<EMAIL_ADDRESS>DEBUG: [Common.Authentication]: Authenticating using Account<EMAIL_ADDRESS>environment: 'AzureCloud', tenant: '72f988bf-86f1-41af-91ab-2d7cd011db47'
DEBUG: [ADAL]: Information: 23-Oct-19 8:26:03 AM: 829abf21-ecab-4470-bc05-14fd0ac01d9d - AcquireTokenHandlerBase.cs: === Token Acquisition started:
Authority: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/
Resource: https://management.core.windows.net/
ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
CacheType: null
Authentication Target: User
DEBUG: [ADAL]: Information: 23-Oct-19 8:26:03 AM:  - TokenCache.cs: Deserialized 3 items to token cache.
DEBUG: [ADAL]: Verbose: 23-Oct-19 8:26:03 AM: 829abf21-ecab-4470-bc05-14fd0ac01d9d - TokenCache.cs: Looking up cache for a token...
DEBUG: [ADAL]: Information: 23-Oct-19 8:26:03 AM: 829abf21-ecab-4470-bc05-14fd0ac01d9d - TokenCache.cs: An item matching the requested resource was found in the cache
DEBUG: [ADAL]: Information: 23-Oct-19 8:26:03 AM: 829abf21-ecab-4470-bc05-14fd0ac01d9d - TokenCache.cs: 54.9371202416667 minutes left until token in cache expires
DEBUG: [ADAL]: Information: 23-Oct-19 8:26:03 AM: 829abf21-ecab-4470-bc05-14fd0ac01d9d - TokenCache.cs: A matching item (access token or refresh token or both) was found in the cache
DEBUG: [ADAL]: Information: 23-Oct-19 8:26:03 AM: 829abf21-ecab-4470-bc05-14fd0ac01d9d - AcquireTokenHandlerBase.cs: === Token Acquisition finished successfully. An access token was retuned:
Access Token Hash: 9pzylDekKDQTyqCqfGRjwmxSVk5heW7cIcjTcnBW6QE=
Expiration Time: 23-Oct-19 9:20:59 AM +00:00
User Hash: 6TctmK/Gk/hnvtJjUkQeA2c87e5DwhdhHquHA0G3EXs=
DEBUG: [ADAL]: Information: 23-Oct-19 8:26:03 AM: d740a2eb-63e4-4f18-9093-2e885f6d2037 - AcquireTokenHandlerBase.cs: === Token Acquisition started:
Authority: https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/
Resource: https://management.core.windows.net/
ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
CacheType: null
Authentication Target: User
DEBUG: [ADAL]: Information: 23-Oct-19 8:26:03 AM:  - TokenCache.cs: Deserialized 3 items to token cache.
DEBUG: [ADAL]: Verbose: 23-Oct-19 8:26:03 AM: d740a2eb-63e4-4f18-9093-2e885f6d2037 - TokenCache.cs: Looking up cache for a token...
DEBUG: [ADAL]: Information: 23-Oct-19 8:26:03 AM: d740a2eb-63e4-4f18-9093-2e885f6d2037 - TokenCache.cs: An item matching the requested resource was found in the cache
DEBUG: [ADAL]: Information: 23-Oct-19 8:26:03 AM: d740a2eb-63e4-4f18-9093-2e885f6d2037 - TokenCache.cs: 54.936869705 minutes left until token in cache expires
DEBUG: [ADAL]: Information: 23-Oct-19 8:26:03 AM: d740a2eb-63e4-4f18-9093-2e885f6d2037 - TokenCache.cs: A matching item (access token or refresh token or both) was found in the cache
DEBUG: [ADAL]: Information: 23-Oct-19 8:26:03 AM: d740a2eb-63e4-4f18-9093-2e885f6d2037 - AcquireTokenHandlerBase.cs: === Token Acquisition finished successfully. An access token was retuned:
Access Token Hash: 9pzylDekKDQTyqCqfGRjwmxSVk5heW7cIcjTcnBW6QE=
Expiration Time: 23-Oct-19 9:20:59 AM +00:00
User Hash: 6TctmK/Gk/hnvtJjUkQeA2c87e5DwhdhHquHA0G3EXs=
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
PUT
Absolute Uri:
https://management.azure.com/subscriptions/xxxxxxx/resourceGroups/WebApp-RG-US/providers/Microsoft.Web/sites/gladiatus-clone?api-version=2018-02-01
Headers:
x-ms-client-request-id        : 1920977f-5550-4b5f-b6d8-095183d705fe
accept-language               : en-US
Body:
{
"properties": {
"serverFarmId": "Web-App-Plan-US",
"cloningInfo": {
"cloneCustomHostNames": true,
"cloneSourceControl": true,
"sourceWebAppId": "/subscriptions/xxxxxxx/resourceGroups/Web-App-RG/providers/Microsoft.Web/sites/gladiatus",
"configureLoadBalancing": true,
"trafficManagerProfileName": "True=True"
}
},
"location": "Central US"
}
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
NotFound
Headers:
Pragma                        : no-cache
Strict-Transport-Security     : max-age=31536000; includeSubDomains
x-ms-ratelimit-remaining-subscription-resource-requests: 499
x-ms-request-id               : 53cbdde1-b88d-472b-8379-ab2693b6a868
x-ms-correlation-request-id   : 53cbdde1-b88d-472b-8379-ab2693b6a868
x-ms-routing-request-id       : WESTEUROPE:20191023T082606Z:53cbdde1-b88d-472b-8379-ab2693b6a868
X-Content-Type-Options        : nosniff
Cache-Control                 : no-cache
Date                          : Wed, 23 Oct 2019 08:26:05 GMT
Server                        : Microsoft-IIS/10.0
X-AspNet-Version              : 4.0.30319
X-Powered-By                  : ASP.NET
Body:
{
"Code": "NotFound",
"Message": "Cannot find ResourceGroup with name Web-App-RG.",
"Target": null,
"Details": [
{
"Message": "Cannot find ResourceGroup with name Web-App-RG."
},
{
"Code": "NotFound"
},
{
"ErrorEntity": {
"ExtendedCode": "51004",
"MessageTemplate": "Cannot find {0} with name {1}.",
"Parameters": [
"ResourceGroup",
"Web-App-RG"
],
"Code": "NotFound",
"Message": "Cannot find ResourceGroup with name Web-App-RG."
}
}
],
"Innererror": null
}
New-AzWebApp : Operation returned an invalid status code 'NotFound'
At line:1 char:12

$destapp = New-AzWebApp -ResourceGroupName WebApp-RG-US -Name gladiat ...

       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : CloseError: (:) [New-AzWebApp], DefaultErrorResponseException
FullyQualifiedErrorId : Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.NewAzureWebAppCmdlet

DEBUG: AzureQoSEvent: CommandName - New-AzWebApp; IsSuccess - False; Duration - 00:00:07.9413701; Exception - Microsoft.Azure.Management.WebSites.Models.DefaultErrorResponseException: Operation returned an invalid status code 'NotFound'
at Microsoft.Azure.Management.WebSites.WebAppsOperations.d__338.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Management.WebSites.WebAppsOperations.d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Management.WebSites.WebAppsOperationsExtensions.d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Management.WebSites.WebAppsOperationsExtensions.CreateOrUpdate(IWebAppsOperations operations, String resourceGroupName, String name, Site siteEnvelope)
at Microsoft.Azure.Commands.WebApps.Utilities.WebsitesClient.CreateWebApp(String resourceGroupName, String webAppName, String slotName, String location, String serverFarmId, CloningInfo cloningInfo, String aseName, String aseResourceGroupName)
at Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.NewAzureWebAppCmdlet.CreateWithClonedWebApp()
at Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.NewAzureWebAppCmdlet.ExecuteCmdletActions(SessionState state)
at Microsoft.Azure.Commands.WebApps.Cmdlets.WebApps.NewAzureWebAppCmdlet.ProcessRecord();
DEBUG: Finish sending metric.
DEBUG: 11:26:09 AM - NewAzureWebAppCmdlet end processing.
DEBUG: 11:26:09 AM - NewAzureWebAppCmdlet end processing.`

@Djongov I see your cloning your app from WebApp-RG to WebApp-RG-US. It's a stretch but do you get the same error if you clone within the resource group?

@Djongov, I think the best course of action is to file an issue over at https://github.com/Azure/azure-powershell/issues. I'm thinking it might be a bug in a the New-AzWebSite cmdlet.
I'm going to go ahead and close this issue. But should you require assistance, feel free to reopen and tag me.


Segfault in ServerContext.IsCancelled

I'm getting a segfault when I call ServerContext.IsCancelled using the C++ API at revision 75c60c1.
Here's a stack trace:
* thread #2: tid = 0xffe4d, 0x000000010054f48e server`grpc::CompletionQueue::TryPluck(this=0x0000000000000000, tag=0x00000001564218b0) + 14 at completion_queue.cc:91, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x000000010054f48e server`grpc::CompletionQueue::TryPluck(this=0x0000000000000000, tag=0x00000001564218b0) + 14 at completion_queue.cc:91
   88  	void CompletionQueue::TryPluck(CompletionQueueTag* tag) {
   89  	  std::unique_ptr<grpc_event, EventDeleter> ev;
   90
-> 91  	  ev.reset(grpc_completion_queue_pluck(cq_, tag, gpr_inf_past));
   92  	  if (!ev) return;
   93  	  bool ok = ev->data.op_complete == GRPC_OP_OK;
   94  	  void* ignored = tag;

i think validation of pointer should be before this reset.
i.e
if (!ev) return;
ev.reset(grpc_completion_queue_pluck(cq_, tag, gpr_inf_past));

The trace above shows that the code has somehow entered this section with "this=0x0".

Good catch, @vjpai. I was able to make it crash again. Looking at the trace, it seems grpc::ServerContext's cq_ variable == NULL, which is why this=0x0 in TryPluck.
(lldb) p *ctx
(grpc::ServerContext) $9 = {
  completion_op_ = 0x00000001555452d0
  deadline_ = {
    __d_ = (__rep_ =<PHONE_NUMBER>854775807)
  }
  call_ = 0x0000000102c01400
  cq_ = 0x0000000000000000
  sent_initial_metadata_ = false
  client_metadata_ = size=0 {}
  initial_metadata_ = size=0 {}
  trailing_metadata_ = size=0 {}
}

I don't know the code well enough to tell if cq_ should ever be NULL or the code is missing a NULL check.

cc @yang-g

Well, cq_ should never be NULL, but the fact that it's happening indicates some deeper problem, IMO. Would you be willing to give a stack trace from the crash site? Just want to know what called what. Thanks!

I've added a patch to grpc-common that triggers the bug for me. Here are the steps to reproduce:

Apply the patch from my grpc-common fork
Make and run greeter_client and greeter_server in grpc-common/cpp/helloworld
Watch it fail

Unfortunately I didn't build GRPC with debug symbols, but it appears to fail in the same place:
* thread #2: tid = 0xc9f4da, 0x000000010000e32e greeter_server`grpc::CompletionQueue::TryPluck(grpc::CompletionQueueTag*) + 14, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x000000010000e32e greeter_server`grpc::CompletionQueue::TryPluck(grpc::CompletionQueueTag*) + 14
    frame #1: 0x000000010001139b greeter_server`grpc::ServerContext::IsCancelled() + 27
    frame #2: 0x000000010000c798 greeter_server`GreeterServiceImpl::SayHello(this=0x00007fff5fbff418, context=0x0000000100503db8, request=0x0000000101200210, reply=0x0000000101200270) + 56 at greeter_server.cc:57

I'm confirming that I can generate this seg fault using the same code as Max, and that we indeed do not have any test function or any source code that uses or tests the IsCancelled function.

Is there a reason that you'd like to invoke IsCancelled? I believe that it is a vestigial API and no longer supported or used, and I am suggesting to remove it in PR #1109 . Please let me know if you have a need for it.

I'm using it for an RPC that returns a large (possibly infinite) stream of
processing results. I'd like to know if the RPC was cancelled so I can stop
processing. I suppose I can just let writes fail instead?
On Sun, Mar 22, 2015 at 12:47 PM Vijay Pai<EMAIL_ADDRESS>wrote:

Is there a reason that you'd like to invoke IsCancelled? I believe that it
is a vestigial API and no longer supported or used, and I am suggesting to
remove it in PR #1109 https://github.com/grpc/grpc/pull/1109 . Please
let me know if you have a need for it.
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/985#issuecomment-84686192.

Ah, I remember why I tried to use IsCancelled. I was attempting to work around issue #999, which triggers a failing assertion when writing to a cancelled RPC channel. Once that issue is resolved I won't have a use for IsCancelled.
Thanks for troubleshooting!

Vijay, I think we may still need the API. I was targeting to adding more
tests for various cancellation cases but have not been able to get the
time. Anyway, please look at PR 1110 which should fix this issue. Unless it
is blocking anyone, I would not want to merge it before some tests are
added.
On Sun, Mar 22, 2015 at 12:47 PM, Vijay Pai<EMAIL_ADDRESS>wrote:

Is there a reason that you'd like to invoke IsCancelled? I believe that it
is a vestigial API and no longer supported or used, and I am suggesting to
remove it in PR #1109 https://github.com/grpc/grpc/pull/1109 . Please
let me know if you have a need for it.
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/985#issuecomment-84686192.

Thanks Max for reporting and providing the patch. I've meant to look at
this issue and 999 but was not able to. I've created PR 1110 which should
fix this one. But I will add more tests and look at 999 too in this week.
This path is relatively new and we definitely need more tests to make sure
it works robustly.
On Sun, Mar 22, 2015 at 1:29 PM, Max Hawkins<EMAIL_ADDRESS>wrote:

Ah, I remember why I tried to use IsCancelled. I was attempting to work
around issue #999 https://github.com/grpc/grpc/issues/999, which
triggers a failing assertion when writing to a cancelled RPC channel. Once
that issue is resolved I won't have a use for IsCancelled.
Thanks for troubleshooting!
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/985#issuecomment-84694659.

Lookup please more carefully my note to #999 concerning on finish_batch().
I successfully fixed this bug in my local branch and it works fine for me.
No IsCancelled() is need because writer->Write() just returns false if connection was reset.
You can fix it in the same way, or similar.

@yang-g Just had a chance to try out #1110. Fixed the segfault, but now I'm hitting an assertion on Mac OS:
E0404 23:01:44.982807000<PHONE_NUMBER> sync_posix.c:74] assertion failed: err == 0 || err == ETIMEDOUT || err == EAGAIN

I'll open a new bug to track.


Fix verify for RSAPublicKey formated keys

Ran into a problem like in #70, but with a public key beginning with:
-----BEGIN RSA PUBLIC KEY-----

This fixes my issue.

Thank you! published as 4.2.2


This mod just causes Resonite to crash after main load... with write to file enabled

here my log:
DESKTOP-LK8MJGD - 2<IP_ADDRESS> - 2024-05-30 05_37_58.log
i tried multiple times and its always saying
Exception running asynchronous task:
System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Sharing violation on path C:\Program Files (x86)\Steam\steamapps\common\Resonite\rml_logs\RML_*.txt

It fully loads the game then after it attempts to load local world it just request a game shutdown.

I am using MonkeyLoader with rml support

I disabled write to file and no crash


PHP 5.6 support dropped

The new release adds support for Laravel 5.4 and removes support for PHP 5.6.
However, the minimum supported PHP version in Laravel is 5.6.4 So, people who use PHP 5.6 are not able to use Hashids.
Wouldn't it be better to keep support for PHP 5.6 ?

Laravel 5.5 will most likely move to PHP 7.0 (probably in June or July 2017). We're just one step ahead in the release. I suggest upgrading to PHP 7.0+ since there are huge benefits.

I totally agree with you! However, since this  is a package for Laravel, I think it should support the same versions per release. This is just a suggestion, to keep support for PHP 5.6 until the next LTS release of Laravel.

I get your point but I wanted to benefit from new changes in PHP 7.0 and decided to drop 5.6 from all my packages.

Ok, no problem.
Keep the good work, thanks for replying 👍


ServiceManager v2-v3 compatibility

This builds on #86 adding ServiceManager v2/v3 compatibility.
The v2 tests will fail pending https://github.com/zendframework/zend-validator/pull/51

Nice one @Maks3w ! That makes flipping between versions when testing locally one heck of lot easier too :)

@Maks3w : doesn't look like the --prefer-lowest is going to work.
The fail is due to the minimum symfony/file version specified by php-cd-fixer: 2.1. The notPath() method it's failing on was introduced in 2.2, and even that is pretty ancient.

@kynx and @Maks3w — I tried it out with a couple of components this past week, and ran into similar issues; development tools were causing failures by composer to resolve dependencies. Specifying the upper and/or lower bounds as separate tests seems to work consistently and without issue.

@weierophinney Probably is an issue with the cached dependencies. Could you detail what issues did you had so I could investigate?
Recently I have refactored a Symfony Test suite from to test every Supported version (Currenlty 4) to only to test lowest and newest with the only issue of reset the cache.
Previous: https://travis-ci.org/Maks3w/FR3DLdapBundle/builds/108739742
Current: https://travis-ci.org/Maks3w/FR3DLdapBundle/builds/109023062


Add FlowContainer.Insert method

It allows us to cleanup client code a little.
usage https://github.com/ppy/osu/pull/5205

https://ci.appveyor.com/project/peppy/osu-framework/builds/25667597

xmldoc for parameters should be full sentences.


LINK-1740 | Update maintenance text to tell that Linked Registration is published

Description
Update maintenance text to tell that Linked Registration is published and add link to instructions to it
Closes
LINK-1740
Screenshot

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (dd4516c) 99.73% compared to head (0ac903a) 99.73%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #286   +/-   ##
=======================================
  Coverage   99.73%   99.73%
=======================================
  Files         591      591
  Lines        9756     9756
  Branches     2157     2157
=======================================
  Hits         9730     9730
  Misses         23       23
  Partials        3        3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


It is not possible to get full screen the identity server architecture youtube video

https://docs.wso2.com/display/IS541/Architecture

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Fix incorrect screencat sha256

For some reason the sha256 for screencat is wrong. This PR provides the correct sha256.

Looks good, thanks! :+1:

For some reason

The binary might’ve been updated in-place. Not uncommon.


[3.8.0] Edit Weapon Preset able to access Flea Market before Lvl 15

General information:
Project issue is for:
Server
Expected result:
Edit Weapon Preset via Workbench Built Pre-15 should only show trader offers/barters
Actual result:
Edit Weapon Preset via Workbench Built Pre-15 shows and allows purchase of player offers
How to reproduce:

Build Workbench in Hideout
M2 click weapon -> Edit Weapon Preset
Build your weapon however you want, hit assemble and it shows flea player offers

Screenshots:
Added

Attachments

2024-02-04[00-16] (0).png (2121 KiB)
server-2024-02-04.log (59 KiB)
LogOutput.log (8 KiB)
2024.02.04_6-15-05_<IP_ADDRESS>.28476 traces.log (45 KiB)

Originally written by acidphantasm

Added overview screenshot showing level
Added zipped profile (can't upload .json?)
(also my bad, I posted a second comment instead of just editing the original...and also closed and reopened)

Attachments

2024-02-04[00-28] (0).png (3440 KiB)
65bd5a3e0005975885125892.zip (58 KiB)

Originally written by acidphantasm

Fixed with: https://dev.sp-tarkov.com/SPT-AKI/Server/commit/193161f786605b9b268f0e5e074197af07b87947

Originally written by chomp

Can confirm this is fixed on ther current build.

Originally written by Dabi7582


Release Django 1.7 version

Test and ship a version supporting django 1.7

Any ETA on getting a 3.x compatible version onto PyPI?

@nicktimko Please open a new issue to address Python 3 compat

Seems django-axes is working fine with Django 1.7.
If anyone found any issue please open a new ticket.

This is happening again on a fesh installation of django 1.8, I have to temporable disable axes from INSTALLED_APPS

@RafaelOrtiz What is happening again?

@aclark4life :  /django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
ProgrammingError: relation "axes_accessattempt" does not exist
LINE 1: ... "axes_accessattempt"."failures_since_start" FROM "axes_acce...
It could be a matter of just erasing access tables and syncdb...but not sure if there is another more elegant solution.

@RafaelOrtiz Are you sure it is not the same issue as in https://github.com/django-pci/django-axes/issues/106 ?

@seperman  sure, this is something like an initial migration not happening, curiously is does not happen when you add django-axes after having a working  project. to reproduce I just reinstalled a project that in its settings has axes configurations on a complete new db and new virtualenv.

I found the root cause of this error, I had a wrong settings that was preventing to reach the axes migration, after this error was solved i re run the project and it worked without problems.


Newline between type annotation and implementation should "just work"

app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br" }

import pf.Stdout

main =
    Stdout.line (foo "bar")

foo : Str -> Str

foo = \_ ->
    "baz"

This currently errors with:
── DUPLICATE NAME in annotation_newline.roc ────────────────────────────────────

The foo name is first defined here:

8│  foo : Str -> Str
    ^^^

But then it's defined a second time here:

10│  foo = \_ ->
     ^^^

Since these variables have the same name, it's easy to use the wrong
one by accident. Give one of them a new name.

────────────────────────────────────────────────────────────────────────────────

1 error and 1 warning found in 74 ms

This should work without errors.

What's Roc's syntax rule for annotation placement? If the definition is also provided, must the annotation be immediately above the definition? If we're okay with one extra newline between, is ten okay? A comment? Another annotation? Another definition?

I would go with the same approach as elm; any number of newlines or comments (not doc comments) in between is allowed, but nothing else.


Code review for commit 875fbf7

Yo @narinmahmuti , can you please review the code I submitted in the commit 46bd89f23e80448a054d67beb10b52ed81b575fc ? Looking forward to your feedback.
Cheers,
A.

Will do asap!

Hey Ata, reviewed your code just now. I think you did a great job overall. No bugs that I could find, but a few things caught my eye:

Maybe pay attention to indentation a little bit more in the future, it will be really helpful in terms of readability and overall will look much better
Also try and add more comments so that in times like these when other people read your code they'll have a better idea of what's going on :)
I'd work a little on writing better commit messages, here's a great source you can check out: https://robots.thoughtbot.com/5-useful-tips-for-a-better-commit-message
You could provide some unit tests for the code (not sure what would work with JSP though since I don't think JUnit works)
Other than that, I like your variable names/methods/overall style of writing, it's very clear to understand. Keep up the good work!


Internal release 20230222

Codecov Report

:exclamation: No coverage uploaded for pull request base (release@dc27623). Click here to learn what that means.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             release    #1492   +/-   ##
==========================================
  Coverage           ?   27.25%
==========================================
  Files              ?       93
  Lines              ?    10097
  Branches           ?        0
==========================================
  Hits               ?     2752
  Misses             ?     7165
  Partials           ?      180

Flag
Coverage Δ

backend_ut
27.25% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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