allow any image to be specified as parameter to show-pkg-diffs and show-file-diffs queries

currently, only 'base' is supported well as a parameter to pass to show-*-diffs queries.  useful feature would be to add the ability to compare the input image(s) to any other image

fixed!  comparison is now done on request, instead of in advance and stored.


Revert from v3 to v2 for HumanoidStandup, Reacher, InvertedPendulum and InvertedDoublePendulum

Description

Motivation and Context

[ ] I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes

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

Checklist:

[ ] I've read the CONTRIBUTION guide (required)
[ ] I have updated the changelog accordingly (required).
[ ] My change requires a change to the documentation.
[ ] I have updated the tests accordingly (required for a bug fix or a new feature).
[ ] I have updated the documentation accordingly.
[ ] I have reformatted the code using make format (required)
[ ] I have checked the codestyle using make check-codestyle and make lint (required)
[ ] I have ensured make pytest and make type both pass. (required)

Note: we are using a maximum length of 127 characters per line

Do I need to update rl_zoo3 version?


Keep previous page state

What this PR does / why we need it?
To keep previous page state in ‘documents’ when it is needed. / It can enhance user experience.
Any background context you want to provide?
This is my first PR in this repository, so I have low understanding of the project.
I think maybe this is not the best practice and someone can solve this issue in a better way.
Btw about router’s state property, I could pass only boolean type flag value to prevent data fetching in useEffect.
However, for better scalability, I actually passed previous projectName and implemented it comparing with current projectName.
This approach will prevent errors if projectName changes only in client-side without using router in the future.
What are the relevant tickets?

Fixes #100
Checklist

[ ] Added relevant tests or not required
[ ] Didn't break anything

I don’t know If I should make additional relevant tests.
And I’m not sure this PR didn’t break anything, but maybe it is..
Let me know if someone have any questions or would like me to make any additional revisions.

 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.


Add ball representation similar to VMD's 'VDW'

I'm currently work with code that models proteins as spheres with a fixed radius.  I can visualize these models in VMD using the VDW drawing method. I haven't found anything similar in for nglview. I thought ball+stick could be used but that doesn't allow me to set a defined radius of the balls. Only a value for some spectRatio.

Is the spacefill representation with radiusType: "vdw" what you're after?

Spacefil already looks promising. How can I set the radius? There isn't anything in the docs
As a reference for 1E8L I get the following in VMD with selecting 'name CA', as a drawing method VWD and as spherescale 4.2 (thats the bead radius in Angström).

OK I found that I can do 'radiustype=size' and then set the radius to the value I like.

There are a scale and a radius parameter that work for most structure representations, see https://arose.github.io/ngl/api/global.html#StructureRepresentationParameters
The doc on radiusTyoe is a bit unclear, possible values are size, vdw, sstruc, covalent, and bfactor.
comp.addRepresentation( "spacefill", { radius: 4.6 } )  // will set radiusType to "size"

You beat me :-)

@kain88-de  you meant using radiustype=size in nglview? This is weird. (should be radius_type or radiusType)

I meant radiusType. I just missed the capital letter when writing

@arose the size parameter has Angström as units?

the radius parameter has Angström as units?

yes


Can someone provide a docker image?

Tried many times , in vps or in docker , still couldn't make the web run properly .
Can someone provide a docker image which evilgnix run in properly ?

Docker image may have certs in it , so this issue is not  suitable for processing.
This issue can be closed.

OK thanks.  I have actuallly tried fiddling with it.  Please can you kindly give more specific  details. I don't need your test configuration.  Can you briefly explain  exactly  how you got it working,  maybe like a dummy config sample,  it would  go a long way helping  me learn  from my mistakes.  Thanks alot


Update ReadMe

Add info about calling preg_last_error() to readme
Add info about "always an exception" to table of contents

PS:

Add general PatternException (or maybe TRegxException) that all methods will call.

Add info about not having any dependencies

Write throughout documentation with https://docusaurus.io

All exceptions thrown by T-Regx should implement/extend the base exception, instead of InternalCleanRegexException.


Make error

deepstream_test5_app_main.c: In function ‘bbox_generated_probe_after_analytics’:
deepstream_test5_app_main.c:438:25: error: ‘NvDsConfig {aka struct }’ has no member named ‘dsanalytics_config’; did you mean ‘dsexample_config’?
if (!appCtx->config.dsanalytics_config.enable){
^~~~~~~~~~~~~~~~~~
dsexample_config
deepstream_test5_app_main.c: In function ‘event_thread_func’:
deepstream_test5_app_main.c:756:19: error: ‘AppCtx {aka struct _AppCtx}’ has no member named ‘active_source_index’
appCtx[rcfg]->active_source_index = source_id;
^~
deepstream_test5_app_main.c:804:15: error: ‘AppCtx {aka struct _AppCtx}’ has no member named ‘active_source_index’
appCtx[rcfg]->active_source_index = -1;
^~
deepstream_test5_app_main.c: In function ‘nvds_x_event_thread’:
deepstream_test5_app_main.c:867:18: error: ‘AppCtx {aka struct _AppCtx}’ has no member named ‘active_source_index’
appCtx[index]->active_source_index = source_id;
^~
deepstream_test5_app_main.c:874:21: error: ‘AppCtx {aka struct _AppCtx}’ has no member named ‘active_source_index’
appCtx[index]->active_source_index = -1;
^~
deepstream_test5_app_main.c: In function ‘main’:
deepstream_test5_app_main.c:998:11: error: ‘AppCtx {aka struct _AppCtx}’ has no member named ‘active_source_index’
appCtx[i]->active_source_index = -1;
^~
Makefile:66: recipe for target 'deepstream_test5_app_main.o' failed
make: *** [deepstream_test5_app_main.o] Error 1
How can I do?

Hi,
Which deepstream version are you using?

5.0

Seems like you don't have dsanalytics_config added in NvDsConfig. Could you please check   NvDsDsAnalyticsConfig dsanalytics_config; in NvDsconfig at sources/apps/sample_apps/deepstream-app/deepstream_app.h?


Can't sign with key alias with white space?

New Issue Checklist

[ ] Updated fastlane to the latest version
[ ] I have read the Contribution Guidelines

Can't sign when white space in key alias
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

[INSERT OUTPUT HERE]

sign_apk(
keystore_path: "${HOME}/keystores/mykeystore.jks",
alias: "my app",
storepass: options[:storepass],
tsa: "http://timestamp.comodoca.com/rfc316",
keypass: options[:keypass],
)
[15:00:48]: ▸ Only one alias can be specified
[15:00:48]: ▸ Please type jarsigner -help for usage

Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
[INSERT OUTPUT HERE]

🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.11.4

Ruby
2.0.0

Bundler?
false

Git
git version 2.4.9 (Apple Git-60)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.11.4 (15E65)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib

OpenSSL Version
OpenSSL 0.9.8zc 19 Mar 2015

Is contained
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
7.1

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.4.0"

default_platform :android

platform :android do
  before_all do
    ENV["SLACK_URL"] = "https://hooks.slack.com/services/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"
  end

  desc "Runs all the tests"
  lane :test do
    gradle(task: "test")
  end

  desc "Submit a new Beta Build to Crashlytics Beta"
  lane :beta do
    gradle(task: "assembleRelease")
    crashlytics

    # sh "your_script.sh"
    # You can also use other beta testing services here
  end

  desc "Deploy a new version to the Google Play"
  lane :deploy do
    gradle(task: "assembleRelease")
    supply
  end

  desc "Build and Sign APK"
  lane :build do |options|
    gradle(task: "clean")
    gradle(task: "assemble")
    sign_apk(
      keystore_path: "${HOME}/keystores/mykeystore.jks",
      alias: "my app",
      storepass: options[:storepass],
      tsa: "http://timestamp.comodoca.com/rfc316",
      keypass: options[:keypass],
      )
    zipalign(apk_path: "#{lane_context[SharedValues::SIGNED_APK_PATH]}")
    gradle(task: "test")
    slack(message: "Android Build Success: Test App", success: true)
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used
# No personal data is sent or shared. Learn more at https://github.com/fastlane/enhancer```
</details>

<details><summary>`./fastlane/Appfile`</summary>

```ruby
json_key_file "" # Path to the json secret file - Follow https://github.com/fastlane/supply#setup to get one
package_name "com.myapp.test" # e.g. com.krausefx.app

fastlane gems

Gem
Version
Update-Status

fastlane
2.10.0
🚫 Update available

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

i18n
0.7.0

thread_safe
0.3.5

tzinfo
1.2.2

minitest
5.8.3

activesupport
4.2.5

colored
1.2

claide
0.9.1

xcodeproj
0.28.2

rouge
1.11.1

xcpretty
0.2.4

terminal-notifier
1.7.1

terminal-table
1.4.5

plist
3.2.0

public_suffix
2.0.4

addressable
2.5.0

multipart-post
2.0.0

word_wrap
1.0.0

babosa
1.0.2

highline
1.7.8

commander
4.4.1

excon
0.54.0

faraday
0.10.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20161129

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
1.6.8

gh_inspector
1.0.2

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

multi_json
1.12.1

logging
2.1.0

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.9.20

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.1.7

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.1.1

bundler
1.13.6

faraday_middleware
0.10.1

json
1.8.3

generated on: 2017-02-03

🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.11.4

Ruby
2.0.0

Bundler?
false

Git
git version 2.4.9 (Apple Git-60)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.11.4 (15E65)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib

OpenSSL Version
OpenSSL 0.9.8zc 19 Mar 2015

Is contained
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
7.1

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.4.0"

default_platform :android

platform :android do
  before_all do
   # ENV["SLACK_URL"] = ""
  end

  desc "Runs all the tests"
  lane :test do
    gradle(task: "test")
  end

  desc "Submit a new Beta Build to Crashlytics Beta"
  lane :beta do
    gradle(task: "assembleRelease")
    crashlytics

    # sh "your_script.sh"
    # You can also use other beta testing services here
  end

  desc "Deploy a new version to the Google Play"
  lane :deploy do
    gradle(task: "assembleRelease")
    supply
  end

  desc "Build and Sign APK"
  lane :build do |options|
    gradle(task: "clean")
    gradle(task: "assemble")
    sign_apk(
      keystore_path: "${HOME}/keystores/mykeystore.jks",
      alias: "my app",
      storepass: options[:storepass],
      tsa: "http://timestamp.comodoca.com/rfc316",
      keypass: options[:keypass],
      )
    zipalign(apk_path: "#{lane_context[SharedValues::SIGNED_APK_PATH]}")
    gradle(task: "test")
    slack(message: "Android Build Success: Test App", success: true)
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used
# No personal data is sent or shared. Learn more at https://github.com/fastlane/enhancer```
</details>

<details><summary>`./fastlane/Appfile`</summary>

```ruby
json_key_file "" # Path to the json secret file - Follow https://github.com/fastlane/supply#setup to get one
package_name "com.myapp.test" # e.g. com.krausefx.app

fastlane gems

Gem
Version
Update-Status

fastlane
2.10.0
🚫 Update available

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

i18n
0.7.0

thread_safe
0.3.5

tzinfo
1.2.2

minitest
5.8.3

activesupport
4.2.5

colored
1.2

claide
0.9.1

xcodeproj
0.28.2

rouge
1.11.1

xcpretty
0.2.4

terminal-notifier
1.7.1

terminal-table
1.4.5

plist
3.2.0

public_suffix
2.0.4

addressable
2.5.0

multipart-post
2.0.0

word_wrap
1.0.0

babosa
1.0.2

highline
1.7.8

commander
4.4.1

excon
0.54.0

faraday
0.10.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20161129

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
1.6.8

gh_inspector
1.0.2

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

multi_json
1.12.1

logging
2.1.0

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.9.20

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.1.7

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.1.1

bundler
1.13.6

faraday_middleware
0.10.1

json
1.8.3

generated on: 2017-02-03

@htooaunghlaing  where did you get the sign_apk action as this does not seem to be part of fastlane standard 👍  according to google i found: https://github.com/appfoundry they provided a action like that, in fact it seems to be a problem with the action that it does not provide the alias in a way to support whitespaces.
just in case i did a PR on the repo there:  https://github.com/appfoundry/fastlane-android-example/pull/3
maybe you can give it a try and confirm it?

just to let you know https://github.com/appfoundry/fastlane-android-example/pull/3 has been merged 👍

Ok, Thanks @hjanuschka

@htooaunghlaing your issue has been solved? if so can you close this issue?


:memo: Add label property info on enum settings

This adds 'label' to the comments but settings-view doesn't look for such a property when displaying it on-screen.  Without that this PR makes no sense unless I'm missing something.

It actually did use the undocumented label property up until 1.9 (IIRC). The description property only set the title attribute on the select items originally, resulting in blank options.


Log package: support logging to file

/kind feature

Please implement it and file a PR.

Hi, I am a student from Shanghai Jiao Tong University and will be a Caiclouder in the next year. I am interested in the project :-)
Actually, I have a question about our logger package. There are many libraries about loggers then I am not sure why we implemented the std logger on our own. Is there any thing I missed about it? I'd appreciate it if you could resolve my doubts.

Actually the biggest problem is there are many log libraries. So we implement a common log interface (glog-like) to constraint our codes. Then you can replace the implementation of logger with any other packages which you like.
In the other hand, Nirvana should have its own log packages for common usage. e.g. std, file.

@gaocegege go ahead.

@gaocegege hello，what is the status of this issue?

@lauber00 There is no implementation of file logger now. If you could implement it, we'll very appreciate it.

/assign


Check a possibility of a version up of plotly.js

Currently we are using plotly.js = 1.54.x while it is now ver. 2.x. Need to check whether we can upgrade it and compatibility with react-plotly.

Discussed with DK, no good way to really qa other than reporting any bugs we find over time


Olivier Lamy contributor spotlight - Sept 10 2024

This PR is to add the contributor spotlight for Olivier Lamy. It also updates the feature property for Daniel's to false so that this would become the featured spotlight.

@olamy would you be able to review and provide feedback when you have a free moment?


fixed fire job twice in server side.

Codecov Report

Merging #20 into master will not impact coverage.

@@           Coverage Diff           @@
##           master      #20   +/-   ##
=======================================
  Coverage   98.03%   98.03%
=======================================
  Files          11       11
  Lines         153      153
=======================================
  Hits          150      150
  Misses          3        3

Impacted Files
Coverage Δ

src/ssr/runJobs.js
100% <100%> (ø)
:white_check_mark:

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 6a6bc7f...5a2454d. Read the comment docs.

Thanks @cowwen!


ftp issue w/broad or something else?

[root@ip-10-0-0-44 config]# bcbio_nextgen.py upgrade --data --genomes hg38 --genomes mm10  --aligners hisat2 --aligners star --aligners bwa --cores 8
Not sure if this deterministically fails or not?  Perhaps it could fail more gracefully, if login is actually correct and there isn't an issue with broad-ftp....?
Running GGD recipe: hg38 1000g_omni_snps 20160105
--2019-04-04 11:01:28--<EMAIL_ADDRESS>=> ‘variation/1000G_omni2.5.vcf.gz.tbi’
Resolving ftp.broadinstitute.org (ftp.broadinstitute.org)... <IP_ADDRESS>
Connecting to ftp.broadinstitute.org (ftp.broadinstitute.org)|<IP_ADDRESS>|:21... connected.
Logging in as gsapubftp-anonymous ...
Login incorrect.
Traceback (most recent call last):
File "/usr/local/bin/bcbio_nextgen.py", line 221, in
install.upgrade_bcbio(kwargs["args"])
File "/mnt/fsx/share/bcbio/anaconda/lib/python3.6/site-packages/bcbio/install.py", line 105, in upgrade_bcbio
upgrade_bcbio_data(args, REMOTES)
File "/mnt/fsx/share/bcbio/anaconda/lib/python3.6/site-packages/bcbio/install.py", line 347, in upgrade_bcbio_data
args.cores, ["ggd", "s3", "raw"])
File "/home/bcbioadmin/pact_175_rnaseq/config/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 350, in install_data_local
_prep_genomes(env, genomes, genome_indexes, ready_approaches, data_filedir)
File "/home/bcbioadmin/pact_175_rnaseq/config/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 476, in _prep_genomes
retrieve_fn(env, manager, gid, idx)
File "/home/bcbioadmin/pact_175_rnaseq/config/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/genomes.py", line 846, in _install_with_ggd
ggd.install_recipe(os.getcwd(), env.system_install, recipe_file, gid)
File "/home/bcbioadmin/pact_175_rnaseq/config/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/ggd.py", line 30, in install_recipe
recipe["recipe"]["full"]["recipe_type"], system_install)
File "/home/bcbioadmin/pact_175_rnaseq/config/tmpbcbio-install/cloudbiolinux/cloudbio/biodata/ggd.py", line 62, in _run_recipe
subprocess.check_output(["bash", run_file])
File "/mnt/fsx/share/bcbio/anaconda/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/mnt/fsx/share/bcbio/anaconda/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bash', '/mnt/fsx/share/bcbio/genomes/Hsapiens/hg38/txtmp/ggd-run.sh']' returned non-zero exit status 6.

Seemingly intermittent

Sorry about these issues. This is an intermittent problem with the Broad FTP servers. They can report this when they get oversubscribed or are otherwise unhappy. Unfortunately just re-trying is the best approach we can offer right now. Hope a re-start gets it finished for you.


Checking object parameters

Hi, how would i check object params? There are only examples for arrays.

The lib works only with arrays. Use reflections to convert your object into an array or implement a toArray() method that does that for you in your object. The library seems to be no longer maintained, otherwise I would have suggested to create a PR to add object support.


fe: upgrade yarn dependencies

Codecov Report

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

@@           Coverage Diff           @@
##           master      #78   +/-   ##
=======================================
  Coverage   50.52%   50.52%
=======================================
  Files          62       62
  Lines        6126     6126
=======================================
  Hits         3095     3095
  Misses       2691     2691
  Partials      340      340

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 7ec4340...eac4070. Read the comment docs.


Backups by category similar to updates

Describe your suggested feature
If you have a massive library backups cease to work and it makes a size 0 file.  If we can make backups by category like the update system so we can backup our libraries piecemeal the issue will be mitigated.
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.16.3.
[X] I will fill out all of the requested information in this form.

How massive is your library? I've seen people with several thousand entries have no issues with creating backups. Maybe the problem of your 0 size backup is a different one that's not got to do with the library size.

How massive is your library? I've seen people with several thousand entries have no issues with creating backups. Maybe the problem of your 0 size backup is a different one that's not got to do with the library size.

Over ten thousand... The issue has been around for a long time even with the past app. I think they improved it because several thousand used to be the limit but I guess my library grew too large lol. I think it's a size issue because the only way for me to migrate my library to Mihon was to shrink the file size by transferring the entire library with no history attached. Then deleting the rest of the library and transferring over only the full history of my currently reading category still numbering quite a bit. So I've lost the history of everything except what I'm currently reading. It's still a useful feature to have if you want to transfer parts of your library for whatever reason.

That is a lot of entries but still shouldn't cause a 0-size backup file. I'm sorry for your already deleted data but next time you encounter such an issue, try the support Discord (or an issue if you don't have Discord) for help with that first, we might have been able to save that data somehow in the end.
I think the core issue here is the fact that very large libraries fail during the backup creation process. Did you ever get some sort of error message or crash screen when you tried to create a backup back then? If so, do you remember what kind of error it was? If you don't, are you still able to reproduce this issue with your large library or is the issue gone now?

Closing since it's a duplicate of #38


Howie/publish readme

Packages impacted by this PR
No
Issues associated with this PR
Readme contained error.   Need to republish.
Describe the problem that is addressed by this PR
I need to republish readme
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.


Correct Email settings for travis.yml

Make emails for failures.

The person that committed the broken version.  Here's the quote from travis-ci:

By default, email notifications are sent to the committer and the commit author, if they are members of the repository (that is, they have push or admin permissions for public repositories, or if they have pull, push or admin permissions for private repositories).
Emails are sent when, on the given branch:

a build was just broken or still is broken
a previously broken build was just fixed

Ah ok, perfect.


Write a PHP program to convert string to snakecase

Description
Write a PHP program to convert string to snakecase
Snakecase is a style of writing in which all letters are lowercase and spaces are replaced with underscores.
Input  : "hello world"
Output : "hello_world"

How to contribute

Save the solution in program/convert_string_to_snakecase.php file
Add convert_string_to_snakecase.php file in convert-string-to-snakecase folder

!assign

!assign


Large batch size when pretraining E5 models

In the E5 paper, you mention that you're using a batch size of 32768 during pretraining.
I'm planning on additionally pretraining the e5-{small,base}-v2 models on a custom dataset, but I'm having a hard time fitting batch sizes larger than ~128 on a single GPU (T4, A100). I'm already using half-precision training (torch.autocast), and I'm trying to implement checkpointing.
Do you have any tips or code on how to fit such a large batch size during training?

Sure, the common techniques are:

Use gradient checkpointing, it saves at least half of GPU memory while being ~30% slower.
Use DeepSpeed launcher if possible, its ZeRO stage 2 partitions optimizer states and gradients across multiple GPUs.
Restrict your input maximum length. You can freeze the position embedding, train with small input length (like 128 / 256), and then test with input length 512.

Also, if you use mined hard negatives, you do not need a large batch size. One hard negative is worth thousands of in-batch negatives.
Best,
Liang

Thanks that is very helpful!

For gradient checkpointing, I've found this reference implementation for contrastive learning: https://sourcegraph.com/github.com/microsoft/LoRA/-/blob/examples/NLU/examples/research_projects/longform-qa/eli5_utils.py?L128-164 Is this a practical approach, or are there more effective approaches?
Thanks, I'll try out DeepSpeed.
Freezing the position embeddings is very interesting. I'm curious why does that make a difference?

Unfortunately, no mined negatives 🙂

If you are using the Trainer from HuggingFace transformers library, gradient checkpointing is enabled by simply passing an argument --gradient_checkpointing True.
Shorter inputs mean less activation values to store in GPU memory. But using different lengths during training and test would create a discrepancy, we thus freeze the position embeddings to make the model stick to the values learned in the original MLM pretraining. Empirically, this strategy has a small gain over only fine-tuning part of the position embeddings.

I'm using a native PyTorch training loop, but I can try to migrate to the Trainer class for the gradient checkpointing and the DeepSpeed integration. Hopefully, that gets me to batch size 32768 😄

The v2 models are pre-trained on larger text pair datasets, the network architecture and training recipes are the same.

There is a way to train with any batch you want in cost of one extra forward pass: https://arxiv.org/pdf/2101.06983.pdf
Minimal example for a single gpu:
# define some variables
bs = 1024  # target batch size
mbs = 256  # micro batch size (maximum available for gpu)
hidden_dim = 768  # model dim
tau = 0.01
loss_fn = torch.nn.CrossEntropyLoss()
device = "cuda"

# compute representations
model.eval()
q = torch.zeros((bs, hidden_dim), dtype=torch.float16, device=device)
p = torch.zeros((bs, hidden_dim), dtype=torch.float16, device=device)
with torch.no_grad():
    for i in range(0, bs, mbs):
        j = i + mbs
        q[i:j], p[i:j] = model(**{k: v[i:j] for k, v in batch.items()})

# compute loss and derivatives w.r.t q and p
q.requires_grad = True
p.requires_grad = True
s = F.normalize(q) @ F.normalize(p).t() / tau
labels = torch.arange(bs, device=device)
loss = loss_fn(s, labels)
loss.backward()

# compute derivatives w.r.t model
model.train()
for i in range(0, bs, mbs):
    j = i + mbs
    qi, pi = model(**{k: v[i:j] for k, v in batch.items()})
    qi.backward(gradient=q.grad[i:j])
    pi.backward(gradient=p.grad[i:j])


SiweMessage.regexFromMessage considerations

Sorry guys, don't you believe it's somehow innatural to construct a  SiweMessage just to check the matching gruops of another message? I mean, would't it be handier if regexFromMessage was a static method?
It comes also in mind to make its arg optional, defaulting to preapareMessage(). In that case the need for the object would be justified. But if you want to check a message field after a SiweMessage has been successfully constructed, why reparsing the entire message, if all the fields are already available?

Thanks for raising that issue and good point. We are considering addressing this issue in one of our next releases.


Remove x86_64 from the OpenJ9 build

Was building x86_64 with OpenJ9 to be able to test locally; in order to be released, this arch must not be present.
This fix things moving forward.

Thanks @osnipso


Incorrect leaderboard update

I think that the leaderboard update with https://github.com/gunnarmorling/1brc/commit/c4d2dc96a8de6b9b27d4dc1a21fe00f236aa2da9 is incorrect. The 2nd entry (mine) has a link to https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_artsiomkorzun.java.
Checking it a bit better, I see that I was twice in there before. I believe that in the update on https://github.com/gunnarmorling/1brc/commit/37350f1c8edf2d5d4fd55c68c42ad6da42cca886 the entry for @artsiomkorzun uses my name instead of the user whose contribution that is

Good spot, fixed.


add .adt pretty-printer in format_adt.py

This makes it easier to inspect .adt files manually without the burden of fully parsing them.
The formatter works by exploiting the almost-Python syntax of the ADT. It tweaks it into valid Python, then parses and formats it using Python's ast.literal_eval and pprint.pprint modules. After this, it reverses the transformation to produce something very much like BAP.
Is this something you would like to have?
Example output from the formatted secret_write.adt:
 Program(
  Tid(1_696, "%000006a0"),
  Attrs([]),
  Subs(
   [Sub(
     Tid(1_646, "@__cxa_finalize"),
     Attrs(
      [Attr("c.proto", "signed (*)(void)"),
       Attr("address", "0x5D0"),
       Attr("stub", "()")]),
     "__cxa_finalize",
     Args(
      [Arg(
        Tid(1_697, "%000006a1"),
        Attrs(
         [Attr("c.layout", "[signed : 32]"),
          Attr("c.data", "Top:u32"),
          Attr("c.type", "signed")]),
        Var("__cxa_finalize_result", Imm(32)),
        LOW(32, Var("R0", Imm(64))),
        ("Out"))]),
     Blks(
      [Blk(
        Tid(1_018, "@__cxa_finalize"),
        Attrs([Attr("address", "0x5D0")]),
        Phis([]),
        Defs(
         [Def(
           Tid(1_266, "%000004f2"),
           Attrs(
            [Attr("address", "0x5D0"),
             Attr("insn", "adrp x16, #65536")]),
           Var("R16", Imm(64)),
           Int(65536, 64)),
  ...

There is a big with zero-argument terms, ("Out") in the example should be Out().

With larger files, it is slow and heavy in both the parsing and printing phases. For cntlm.adt, it takes 100 seconds and up to 8GB memory on my computer (pypy reduces time to 40 seconds but the memory is the same).

I don't have an awful lot of personal use for this - I find the .adts are manageable enough with heavy use of CTRL+F, but I'm happy to merge this in, sure.


setting min & max ranges for line charts

Is it possible to set the min & max which are not from the data itself?
Sat my data is [20,30] and I would still like to see the Y axis from 10-80. Is it possible?
If not I believe it would be great to add it.
Would be happy to add it myself

As a hack i set a 2nd dataset with desired [min, max] and render a transparent line. Not ideal but worked as a temp fix for me.

Thanks !
On Mon, Feb 22, 2021, 20:04 Geoff Abbott<EMAIL_ADDRESS>wrote:

As a hack i set a 2nd dataset with desired [min, max] and render a
transparent line. Not ideal but worked as a temp fix for me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/indiespirit/react-native-chart-kit/issues/447#issuecomment-783561969,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO6CAQRVBBCJGKRPMPODZQDTAKMBTANCNFSM4UMDDR2A
.

Good method!

As a hack i set a 2nd dataset with desired [min, max] and render a transparent line. Not ideal but worked as a temp fix for me.

Nice hack! Any way to set withShadow={false} just for that hacky line?

I used this  datasets: [             {               data,             },             {               data: [min, max],               color: () => 'transparent',               strokeWidth: 0,               withDots: false,             },           ],

@BishoyBishai This worked thank you!

As a hack i set a 2nd dataset with desired [min, max] and render a transparent line. Not ideal but worked as a temp fix for me.

Nice hack! Any way to set withShadow={false} just for that hacky line?

The method @BishoyBishai proposed causes the single data point to get rendered halfway through the chart, which gives that shadow. The way around this is to fill the whole length of your data with the min, max:
// this assumes that all datasets[i].data are the same length and that datasets[0].data is defined
datasets: [
  ...datasets,
  {
    data: new Array(datasets[0].data.length).fill(min),
    color: () => 'transparent',
    strokeWidth: 0,
    withDots: false,
  },
  {
    data: new Array(datasets[0].data.length).fill(max),
    color: () => 'transparent',
    strokeWidth: 0,
    withDots: false,
  },
],

I used this  datasets: [ { data, }, { data: [min, max], color: () => 'transparent', strokeWidth: 0, withDots: false, }, ],

Thanks, @BishoyBishai !
Looking at the line chart code, strokeWidth is not used so we can simplify our dummy dataset. If strokeWidth is zero (falsy) on the dataset, it falls back to the value for the chart, and if that is falsy, it defaults to the magic number 3.
https://github.com/indiespirit/react-native-chart-kit/blob/304116394d20729b53216ba024684eaf30fc85b7/src/line-chart/LineChart.tsx#L235
This looks like the same issue as #259. It would be great to make this a feature, to set y-axis min and max values in the chart config. There is already a fromZero option, so the effort to do this might not be too terrible.

Good news for our very hacky solution. As @BishoyBishai taught us above, we can add a new dataset to our list to push the y-axis range higher or lower (this can only extend the range, not constrict it).
The dataset was made invisible by setting color function to transparent. This wasn't convenient for me, so I used svg dashes to hide the dummy dataset:
{
      key: 'dummy-range-padding',
      data: [min, max],
      strokeDashArray: [0, 1000],
      withDots: false,
    }

The first of the strokeDashArray is the width of the dash. Zero make it not draw one. The second value there is the width of the space. 1000 is just an arbitrary non-zero value.
The withDots field tells the graph not to draw all the points, just the line (which we suppressed with the strokeDashArray).
Then min and max are the new graph extents, which you can calculate to nicely frame your data.
The key field is just an identifier, not used by the graph.

you can use fromNumber to set the max value for Y axes

you can use fromNumber to set the max value for Y axes

This is what worked for me!! Thank you so much

you can use fromNumber to set the max value for Y axes

Perfect answer thank you

@QzLP2P thanks a ton mate, worked for me

you can use fromNumber to set the max value for Y axes

Mark this as the PERFECT answer! This worked for me too

Why is there a fromNumber but no toNumber..

I did it without a hack, just like this
< LineChart
    fromZero={true}
    fromNumber={100}  />

found this in the source code for AbstractChart.tsx
 extends Component<AbstractChartProps & IProps, AbstractChartState & IState> {
  calcScaler = (data: number[]) => {
    if (this.props.fromZero && this.props.fromNumber) {
      return Math.max(...data, this.props.fromNumber) - Math.min(...data, 0) || 1;
    } else if (this.props.fromZero) {
      return Math.max(...data, 0) - Math.min(...data, 0) || 1;
    } else if (this.props.fromNumber) {
      return (
        Math.max(...data, this.props.fromNumber) -
          Math.min(...data, this.props.fromNumber) || 1
      );
    } else {
      return Math.max(...data) - Math.min(...data) || 1;
    }
  };


bActorInitialized should be IsActorInitialized()

Need to change bActorInitialized to IsActorInitialized() on line 137 of RadiantStaticMeshWebViewActor.cpp for a successful build:
https://github.com/joeriedel/RadiantUI/blob/4.6/Plugins/RadiantUI/Source/RadiantUI/Private/RadiantStaticMeshWebViewActor.cpp#L137
Otherwise you get the error:
error C2248: 'AActor::bActorInitialized' : cannot access private member declared in class 'AActor'

fixed problem for me
thx
guys fix it


rmc : create empty rmc.db if no board content exists

Signed-off-by: Per Hallsmark<EMAIL_ADDRESS>

Hi,
I'm not sure this is the best way to fix current build issue :
| NOTE: Trying to install /.../build/tmp/deploy/images/axxiax86-64/bzImage as /.../build/tmp/work/axxiax86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/wrlinux-image-glibc-std-1.0/hddimg/vmlinuz
| install: cannot stat '/.../build/tmp/deploy/images/axxiax86-64/rmc.db': No such file or directory
| WARNING: /.../build/tmp/work/axxiax86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/temp/run.build_hddimg.94042:1 exit 1 from 'install -m 0400 /.../build/tmp/deploy/images/axxiax86-64/rmc.db ${DEST}/rmc.db'
| DEBUG: Python function do_bootimg finished
but at least it do the trick. Shouldn't meta-axxia, as it now depends on meta-intel, use rmc as is from meta-intel?
Possibly also follow meta-intel/documentation/rmc/README on howto add own board content to rmc.db?

After commit 04db22e2a2f8d38af2e340a792379755a1734e48 (axxiax86-64: Remove duplication from meta-intel), rmc recipes from meta-intel is inherited. So, db database will not be empty because in meta-intel there are some boards defined. This build issue will not be reproducible anymore.
Still need to discuss about adding Axxia boards to rmp db as you suggested.

We can close this pull request now as the build works out-of-the box for this matter.
The integration of rmc db additions is an improvement probably worth looking into for the bsp developer(s) though.


reject packets with the wrong connection ID in the client

Fixes #825.

A Public Reset is not supposed to be sent by the client, see https://quicwg.github.io/base-drafts/draft-ietf-quic-transport.html#rfc.section.7.7.5.

@lucas-clemente: PHAL. I had to dependency-inject the connection ID generation in the client, such that we can mock it in the tests, because all the tests for dialing new connections failed because we now drop packets with the wrong connection ID.

Codecov Report

Merging #831 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #831      +/-   ##
==========================================
+ Coverage   90.98%   90.99%   +<.01%
==========================================
  Files          87       87
  Lines        6056     6058       +2
==========================================
+ Hits         5510     5512       +2
  Misses        347      347
  Partials      199      199

Impacted Files
Coverage Δ

client.go
90.16% <100%> (+0.11%)
:arrow_up:

Continue to review full report at Codecov.

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


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v3.2 to before v5.16.5",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0cbf32e1681d870632a1772601cbaadd996dc978",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ace7b6ef41251c5fe47f629a9a922382fb7b0a6b"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "0cbf32e1681d870632a1772601cbaadd996dc978",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "ace7b6ef41251c5fe47f629a9a922382fb7b0a6b",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "scsi: bnx2fc: Flush destroy_work queue before calling bnx2fc_interface_put()\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.16.5 by commit ace7b6ef41251c5fe47f629a9a922382fb7b0a6b, it was introduced in version v3.2 by commit 0cbf32e1681d870632a1772601cbaadd996dc978. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000621


Lack of option to disable code transformations when using new URL(...)/import(...) syntax

Describe the bug
I'm using emcripten generated files that needs to be imported as-is. When using vite in dev mode, it injects the following import at the beginning of the file and alters the import(...) calls.
import { injectQuery as __vite__injectQuery } from "/@vite/client";

The built app works without a problem though. As this transformation is not present there. I have seen couple of other people create issues for this problem.
I would like to recommend adding a ?plain or ?blob special query parameters to skip any transformations like how it is described in Vite's documentation. See my PR on it #15651
Other issues
https://github.com/vitejs/vite/issues/14974
https://github.com/vitejs/vite/issues/11266
https://github.com/vitejs/vite/issues/2703
https://github.com/vitejs/vite/discussions/5690
Reproduction
https://github.com/DenizUgur/vite-injectquery-bug
Steps to reproduce
Run npm install followed by npm start. Then open browser dev tools and look at the console. You will see the transformed js file contents. The actual file is bin/some.js
System Info
System:
    OS: Linux 6.5 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
    CPU: (32) x64 Intel(R) Core(TM) i9-14900K
    Memory: 50.44 GB / 62.57 GB
    Container: Yes
    Shell: 5.8.1 - /usr/bin/zsh
  Binaries:
    Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
    npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
  Browsers:
    Chrome: 120.0.6099.224
  npmPackages:
    vite: latest => 5.0.11

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

This issues also affects imports via ?url
The use case that this issues also affects is a little bit different though. For me I'm trying to setup vitejs with FFmpeg WASM but FFmpeg WASM requires you to pass in the URL of the Worker we're using in, in trying to this I keep running into the issue highlighted by @DenizUgur

ffmpeg-core.worker.js:1  Uncaught SyntaxError: Cannot use import statement outside a module (at ffmpeg-core.worker.js:1:1)

The source of which is

vite seems to automatically add the injectQuery import to Workers imported using the ?url import scheme if said Workers also import another module, this issue seems to have been around for a while now https://github.com/vitejs/vite/discussions/5690.
The reason for this use case is to allow users to easily switch out various variants of a module within a worker, e.g. if you want a multi-threaded worker which might use the SharedArrayBuffer to synchronize and might run into CORS issues, or a single-threaded worker which doesn't use SharedArrayBuffer (and doesn't have any CORS issues).
^ That's what FFmpeg WASM uses this technique for but with Vite injecting injectQuery it breaks the module imports, and there's no way to avoid vite injecting the helper function.
Personally I second the suggestion of ?plain, but I would also encourage the addition of ?plain&url, I feel ?blob might be confusing

Vite's incessant need to pull @vite/client into workers is no end of trouble. Things work fine when doing a build/preview, but in the dev server there doesn't seem to be any way to get it to behave. I have no idea why it even bothers as the client code contains document references that will error out any time HMR is activated anyway.
I've seen some arguments mentioned against removing it in other GitHub issues by people seemingly more intimate with Vite than myself, so I guess I'll take their word for it, but people have been complaining about this for some time now, I feel there should just be an option in vite.config.js to disable this behavior completely.
Just adding ?blob doesn't go far enough to fix Emscripten. If you use Emscripten with pthreads it'll generate yourmodule.worker.mjs that is loaded by yourmodule.js outside of your control, and Vite will helpfully do this injection and break things.
My Emscripten modules are built in ES6 mode, and my worker.format in vite.config.js is configured as es as well, on Vite v5.2.0-beta.1. That's all needed to fix other problems I was having.
In the end all I could do to get rid of this injectQuery import was hook worker creation like this:
const org_worker = Worker
Worker = function(scriptURL, options) {
    if ("undefined" != scriptURL.href && scriptURL.href.includes(".worker.mjs?worker_file&type=module")) {
        scriptURL = new URL(scriptURL.href.replace("&type=module", "&type=classic"))
        options = {type: 'classic'}
    }
    return new org_worker(scriptURL, options)
}

If you load workers in classic mode Vite seems to skip the import injection. Some adaptation of the above may work for others as well.

At least with Emscripten v3.1.58 this shouldn't be an issue anymore for that particular use case


macOS: git over ssh wrong file permissions

Summary

Gopass Git is not able to pull/fetch the repository. Git is not able to communicate with the ssh-agent and I keep getting this SSH error every time I try to use a Git related Gopass command. I noticed fixing the permissions fixes the problem. The password store has these permissions, directories 700, files 600, and changing them to 755 and 644 respectively fixes the issue.
› gopass sync
🚥 Syncing with all remotes ...
[<root>]
   git pull and push ... Skipped (no remote)
[<my-remote-private-repository>]
   git pull and push ... ⚠ Failed to pull before git push: exit status 1: unix_listener: path "/var/folders/v3/5pnzpycs0pzdpytmgfzc7tj80000gn/T//.ssh-1e25961f1d73a0c01e9dc5758de11744b777931d.g4fuPOi40otuQpzO" too long for Unix domain socket
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
❌ Failed to push "<my-remote-private-repository>" to its remote: exit status 128: unix_listener: path "/var/folders/v3/5pnzpycs0pzdpytmgfzc7tj80000gn/T//.ssh-1e25961f1d73a0c01e9dc5758de11744b777931d.PigaO4YBexcHychd" too long for Unix domain socket
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
✅ All done

Steps To Reproduce

Running any command that involves Git ex. gopass sync
Expected behavior

Git under Gopass should be able to access the ssh-agent to be able to communicate with the remote repository since I'm using git+ssh
Environment

OS: macOS Big Sur
OS version: Darwin Aymans-MacBook-Pro.local 20.5.0 Darwin Kernel Version 20.5.0: Sat May  8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64
gopass Version: 1.12.6-git+HEAD go1.16.5 darwin amd64
Installation method: go get github.com/gopasspw/gopass

Additional context

As suggested in the FAQ, setting TMPDIR didn't help PR https://github.com/gopasspw/gopass/pull/1899. What I ended up doing is using GIT_SSH_COMMAND environment variable and aliasing gopass to
GIT_SSH_COMMAND="ssh -oControlMaster=auto -oControlPersist=600 -oControlPath=/tmp/.ssh-%C" gopass

Did you see this: https://github.com/gopasspw/gopass/issues/1896#issuecomment-854193711 ?
Maybe you have some "leftover SSH settings" in your git config?

Interestingly, it turned out that the git password store git config had a long ssh command path which was causing the problem. I still don't know how and why that got set in the config. But changing the ssh command control path to /tmp/.ssh-%C in the git config solves the problem


Does not anti-translate descriptions without page reload

If you click on another video, youtube loads it without full reload. Then anti-translation doesn't work.
I don't know how to fix it, because there is no way to get original description for video loaded that way.

If you click on another video, youtube loads it without full reload. Then anti-translation doesn't work.
I don't know how to fix it, because there is no way to get original description for video loaded that way.

You  can send the original description to the background script and retrieve it later. Check out https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/sendMessage

The link is from Firefox docs, but it works the same in Firefox and Chrome


Write that follows timed out write always hangs

Write on the same fd that follows write that was canceled with IORING_OP_LINK_TIMEOUT never completes.
See attached tests for repro.
Was discovered on 5.7.15

This one was pretty useful. Are you going to reopen it later?
I'll comment on a coupe of thing there anyway.

This one was pretty useful. Are you going to reopen it later?

Agree, I think we should add the test case, just needs a bit of cleaning to adhere to what is expected of the regression tests.


Pin package:test_core/test_api

Pinning because of https://github.com/flutter/flutter/issues/127226
I attempted to resolve customer tests in https://github.com/flutter/flutter/pull/127447 but could not, so pinning to unblock the roll.

FYI @natebosch

Looks like more packages need to bump (or stop narrowly pinning) mockito to get unblocked. Let me know if there are other packages you think are blocking you - I don't see anything else that can publish to get you unblocked.

We don't need to pin this as I was able to roll them in: https://github.com/flutter/flutter/pull/127447


feat: Retiring non-AVM modules

As part of the retirement process of the non-AVM modules, this PR:

Removes the source code of 26 modules.
Adds a REPLACED.md or RETIRED.md file with information on what's happening to the module, and what's the replacement module - if applicable.
Adds the same content to the top of the README.md file.
Adds an ARCHIVED.md file that lists all the previous versions of the module that were ever released.

Dependencies (this PR cannot be merged before these AVM modules are published):

avm/res/app-configuration/configuration-store - in PR
avm/res/event-hub/namespace - @elanzel, please prioritize this work as it's blocking this PR. Thanks!

opened https://github.com/Azure/bicep-registry-modules/pull/1138 for blocking eventhub module

@shenglol - With the nature of this PR is there anything we can do surrounding this failing check

@shenglol - With the nature of this PR is there anything we can do surrounding this failing check

We can temporarily update the branch protection rules and force merge the PR since it won't trigger module publish.


Crash on running with fettle.config.example.yml

I have built successfully from the source code (also HasSurvivingMutants project), but when I tried running  .\src\Console\bin\Debug\Fettle.Console.exe -c .\fettle.config.example.yml it doesn't work. The error messages are shown below. Anyone has ideas? Thanks ahead!
An error ocurred that Fettle didn't expect.
System.AggregateException: One or more errors occurred. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeAssembly.get_DefinedTypes()
at System.Composition.Hosting.ContainerConfiguration.<>c.b__16_0(Assembly a)
at System.Linq.Enumerable.d__172.MoveNext()    at System.Composition.TypedParts.TypedPartExportDescriptorProvider..ctor(IEnumerable1 types, AttributedModelProvider attributeContext)
at System.Composition.Hosting.ContainerConfiguration.CreateContainer()
at Microsoft.CodeAnalysis.Host.Mef.MefHostServices.Create(IEnumerable1 assemblies)    at Microsoft.CodeAnalysis.Host.Mef.DesktopMefHostServices.get_DefaultServices()    at Microsoft.CodeAnalysis.MSBuild.MSBuildWorkspace.Create(IDictionary2 properties)
at Fettle.Core.MSBuildWorkspaceFactory.Create() in fettle\src\Core\Internal\MSBuildWorkspaceFactory.cs:line 16
at Fettle.Core.Config.d__33.MoveNext() in fettle\src\Core\Config.cs:line 66
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()    at Fettle.Core.Config.<HasAnyMutatableDocuments>d__34.MoveNext() in fettle\src\Core\Config.cs:line 73    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task1.get_Result()    at Fettle.Console.Program.Run(String[] args, ITestRunnerFactory testRunnerFactory, Func4 mutationTestRunnerFactory, Func2 coverageAnalyserFactory, ISourceControlIntegration sourceControlIntegration, IOutputWriter outputWriter) in fettle\src\Console\Program.cs:line 100 ---> (Inner Exception #0) System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.    at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)    at System.Reflection.RuntimeAssembly.get_DefinedTypes()    at System.Composition.Hosting.ContainerConfiguration.<>c.<WithAssemblies>b__16_0(Assembly a)    at System.Linq.Enumerable.<SelectManyIterator>d__172.MoveNext()
at System.Composition.TypedParts.TypedPartExportDescriptorProvider..ctor(IEnumerable1 types, AttributedModelProvider attributeContext)    at System.Composition.Hosting.ContainerConfiguration.CreateContainer()    at Microsoft.CodeAnalysis.Host.Mef.MefHostServices.Create(IEnumerable1 assemblies)
at Microsoft.CodeAnalysis.Host.Mef.DesktopMefHostServices.get_DefaultServices()
at Microsoft.CodeAnalysis.MSBuild.MSBuildWorkspace.Create(IDictionary2 properties)    at Fettle.Core.MSBuildWorkspaceFactory.Create() in fettle\src\Core\Internal\MSBuildWorkspaceFactory.cs:line 16    at Fettle.Core.Config.<FindMutatableDocuments>d__33.MoveNext() in fettle\src\Core\Config.cs:line 66 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at Fettle.Core.Config.d__34.MoveNext() in fettle\src\Core\Config.cs:line 73<---

nvm, the problem is from the wrong version of code analysis related .dll

Hi @shiyuw3 I'm a bit confused, how was the wrong version used? Is this an issue with Fettle itself?

@oliwennell No its not an issue with fettle itself. I just used CodeAnalysis 2.0.0 from NuGet, everything works fine after I used the .dlls from tools folder of fettle (on NuGet). Thank you very much!


nil pointer evaluating resource.Resource.MediaType on gifoid

Hi there,
I just updated to the newest commit and getting the following error.
Start building sites …
hugo v0.104.3-58b824581360148f2d91f5cc83f69bd22c1aa331+extended linux/amd64 BuildDate=2022-10-04T14:25:23Z VendorInfo=snap:0.104.3
Error: Error building site: ".../index.de.md:15:1": failed to render shortcode "gifoid": failed to process shortcode: ".../themes/hugo-theme-color-your-world/layouts/shortcodes/gifoid.html:54:69": execute of template failed: template: shortcodes/gifoid.html:54:69: executing "shortcodes/gifoid.html" at <$resourcePath.MediaType>: nil pointer evaluating resource.Resource.MediaType
Total in 71 ms

Do you have any idea what's wrong?
Thanks!
Michael

Putting a copy of the video in webm format in the directory video solved the problem.


State is not announced  whether the item is collapsed or elapsed.

Describe the bug
Users who rely on screen readers will affect to navigate if state is not announced by the Narrator for combo box. The state is not announced whether the item is collapsed or elapsed.
To Reproduce
Steps to reproduce the behaviour:
Step 1: Open Graph Explorer URL in Anaheim dev  Edge browser.
Step 2: Navigate to the left pane.
Step3: Navigate to the Controls present under "Search sample queries".
Step 4: Observe the issue.
Expected behaviour
The state should be announced whether the item is collapsed or elapsed.
Desktop (please complete the following information):

OS: OS build Version 2004 (OS Build 20170.1000)
Browser: Anaheim Edge Dev Version: 87.0.634.0 (Official build) dev (64-bit)
Screen Reader: Narrator
AB#7472

At the moment, state is  announced when one navigates to the caret icon displayed

@ElinorW what's the next step to this.  Are we waiting for someone to address something?

@ddyett at that time, there was no implementation on Fluent UI yet... but I am revisiting the issue and looking into other options.

@ElinorW  let's revisit this one during our next milestone.

@adhiambovivian This was fixed with the upgrade to Fluent UI. I forgot to close this.


iOS Build Error with npx react-native | UPDATE: Potential $CDPATH collision

Description
Not sure this is a bug. I'm new to React Native and encountered build errors. I switched to using Expo, which worked, but wanted to figure out what it is that is interfering with a vanilla install of React on a hardly used MacBook Air.
Fresh install of Xcode 14.2 and Command Line Tools for Xcode.
node -v  # v18.12.1
yarn -v  # 3.3.1
npx react-native info # 0.70.6

The project creates, yarn start spins up Metro, but yarn ios encounters an error during the build process.
BuildError.log
Version
0.70.6
Output of npx react-native info
info Fetching system and libraries information...
System:
    OS: macOS 13.1
    CPU: (4) x64 Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz
    Memory: 25.65 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 18.12.1 - ~/.nvm/versions/node/v18.12.1/bin/node
    Yarn: 3.3.1 - ~/.nvm/versions/node/v18.12.1/bin/yarn
    npm: 9.2.0 - ~/.nvm/versions/node/v18.12.1/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.11.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
    Android SDK: Not Found
  IDEs:
    Android Studio: Not Found
    Xcode: 14.2/14C18 - /usr/bin/xcodebuild
  Languages:
    Java: Not Found
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.1.0 => 18.1.0
    react-native: 0.70.6 => 0.70.6
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce
Terminal 1
npx react-native init Test  # success!
cd Test
yarn set version stable
yarn install
yarn add pod-install
yarn pod-install ios
yarn start  # success!

Terminal 2
cd Test
yarn ios # build error!

Snack, code example, screenshot, or link to a repository
None.
Comments / Interesting Discoveries
Something odd (found in the attached log) is an error that seems to be pointing to a .js file in an unrelated node project. On this machine the only reason I can think that it would search there would be due to overloading the CDPATH (i.e.export CDPATH=~/node-apps/sails:$CDPATH) in ~/.bashrc
node:internal/modules/cjs/loader:998
  throw err;
  ^

Error: Cannot find module '/Users/developer/node-apps/sails/scripts/generate-specs-cli.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
    at Module._load (node:internal/modules/cjs/loader:841:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Removing that from the equation (unset CDPATH) and a build error still occurs.
Oddly, I ran it again and build error with output too long, so went to redirect to a file (> BuildError.log) then quickly noticed that was going to log standard output, so issued a Command+C to quit the process and (2> BuildError.log) to capture the error messages.  What happened? ... it ran successfully?
$ yarn ios 2> BuildError.log

info Found Xcode workspace "Test.xcworkspace"
info Building (using "xcodebuild -workspace Test.xcworkspace -configuration Debug -scheme Test -destination id=EDF41749-5A8C-4B66-80B2-9F5CDC9BB6E2")
success Successfully built the app
info Installing "/Users/developer/Library/Developer/Xcode/DerivedData/Test-dgirdvjytdbuutfcygtogcekjinb/Build/Products/Debug-iphonesimulator/Test.app"
info Launching "org.reactjs.native.example.Test"
success Successfully launched the app on the simulator

I have no idea what's going on.
That's the STDOUT output. The BuildError.log is a bunch of build and expected output, but I don't get why it worked this time after a few failures.  I'm going to walk through the steps again.

Round 2: Re-run
To ensure CDPATH was not a factor I unset it.  Now I get an error when initializing a new project:
unset CDPATH
npx react-native init Test2

               ######                ######
             ###     ####        ####     ###
            ##          ###    ###          ##
            ##             ####             ##
            ##             ####             ##
            ##           ##    ##           ##
            ##         ###      ###         ##
             ##  ########################  ##
          ######    ###            ###    ######
      ###     ##    ##              ##    ##     ###
   ###         ## ###      ####      ### ##         ###
  ##           ####      ########      ####           ##
 ##             ###     ##########     ###             ##
  ##           ####      ########      ####           ##
   ###         ## ###      ####      ### ##         ###
      ###     ##    ##              ##    ##     ###
          ######    ###            ###    ######
             ##  ########################  ##
            ##         ###      ###         ##
            ##           ##    ##           ##
            ##             ####             ##
            ##             ####             ##
            ##          ###    ###          ##
             ###     ####        ####     ###
               ######                ######

                  Welcome to React Native!
                 Learn once, write anywhere

✔ Downloading template
✔ Copying template
✔ Processing template
✔ Installing Bundler
✖ Installing CocoaPods dependencies (this may take a few minutes)
error warn Multiple Podfiles were found: ios/Podfile,vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/Podfile. Choosing ios/Podfile automatically. If you would like to select a different one, you can configure it via "project.ios.sourceDir". You can learn more about it here: https://github.com/react-native-community/cli/blob/master/docs/configuration.md

✖ Installing CocoaPods dependencies (this may take a few minutes)
error Error: Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/next/environment-setup and follow the React Native CLI QuickStart guide for macOS and iOS.
Error: Error: Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/next/environment-setup and follow the React Native CLI QuickStart guide for macOS and iOS.
    at createFromTemplate (/Users/developer/.npm/_npx/7930a8670f922cdb/node_modules/@react-native-community/cli/build/commands/init/init.js:169:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.initialize [as func] (/Users/developer/.npm/_npx/7930a8670f922cdb/node_modules/@react-native-community/cli/build/commands/init/init.js:222:3)
    at async Command.handleAction (/Users/developer/.npm/_npx/7930a8670f922cdb/node_modules/@react-native-community/cli/build/index.js:140:9)
info Run CLI with --verbose flag for more details.

Tell me this isn't weird.
So I shutdown the simulator, opened a new shell session keeping the CDPATH, and ran the above code again -- it worked 🥰
So I delete the project (rm -rf Test Test2), unset the CDPATH, and ran again. It also worked. -- weird
After building, I opened a new terminal session and just started everything up with CDPATH (on the project I created without CDPATH) just to see if it would complain. It ran without issue.
Is it common for React (perhaps on lower performing devices) to have init errors?

Final Re-Run
So one  through the whole init/start/build phase one more time, again with CDPATH and it seems to have held, rendering the initial issue null-and-void. Kind of interested to hear if someone has thoughts.  I've cleared out the ~/.../DerivedData/* directories and files between builds to ensure that wasn't a conflict.
These errors weren't imagined, so maybe Xcode or xcodebuild has cache files which it corrects itself with after subsequent runs? -- no idea, I'm grasping at straws.

Final? Thoughts
The issue may have been related to exporting CDPATH. I intentionally exported CDPATH, adding it to my .bashrc many years ago and I'm not sure why.  Maybe I did it for csh or maybe out of ignorance I copied the formatting of the PATH export?
General online recommendations are not to export CDPATH as they may interfere with commands on the command line, which is what is occuring. This is the first time after decades that it has interfered with anything.
Also interesting, in the ruby gems that come loaded with react-native project's (i.e. vendor/bundle/ruby/2.7.0/gems) there are many files that intentionally delete or unset CDPATH.  I'm guessing something in the react-native ios pipeline also needs to clear out the environment variable as a precaution.
Examples where it's done:
TestProject/vendor/bundle/ruby/2.7.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/pod_source_preparer.rb:62:
ENV.delete('CDPATH')

TestProject/vendor/bundle/ruby/2.7.0/gems/ffi-1.15.5/ext/ffi_c/libffi/man/Makefile.in:76:
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd

TestProject/vendor/bundle/ruby/2.7.0/gems/ffi-1.15.5/ext/ffi_c/libffi/ltmain.sh:144:
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH

...

It seems Expo is good about it too:
~/.nvm/versions/node/v18.12.1/lib/node_modules/expo-cli/build/commands/utils/CreateApp.js:184:
const cdPath = path().relative(process.cwd(), projectRoot);

~/.nvm/versions/node/v18.12.1/lib/node_modules/expo-cli/build/commands/utils/CreateApp.js:185:
if (cdPath.length <= projectRoot.length) {

~/.nvm/versions/node/v18.12.1/lib/node_modules/expo-cli/build/commands/utils/CreateApp.js:186:
return cdPath;

~/.nvm/versions/node/v18.12.1/lib/node_modules/expo-cli/build/commands/initAsync.js:385:
const cdPat = CreateApp().getChangeDirectoryPath(projectRoot);

...

I've re-run the creation scripts with CDPATH set, but not exported and I think the issue is resolved.

 I also had set (and forgot about) CDPATH in my .zshrc, causing the same issue.
The fix in my case:
$ unset CDPATH
$ rm -rf ~/Library/Developer/Xcode/DerivedData/
$ rm -rf ios
$ npm run ios

Unbelievable! unset CDPATH did work for me also .-.


are you sure about the lines 53 and 54 in startup.cs ?

because it looks like you compare
the same thing

will check it , but irc it checked if the current lauched is the found process. if not means there is already a running instace of the app.


Add unattended installation process

This commit adds the ability to install Symphony without the need to
fill the install form manually. The only thing needed to implement it is
to fake POST data with a php file, namely manifest/unattend.php.
The unattended process can launch the installation process or simply
prefill the form. This is done with the 'action' array.
If something goes wrong, the form will be shown, with all the error
messages. Next form POSTs will override values coming from the
unattend.php file, giving you a quick way to fix the problems.
This feature was motivated with the need to be able to automatize the
install process without much change to the current code base.
Finally, a scaffolding version of a unattend.php file is provided in the
install/includes folder.

I'd like to have review on this as much as possible! Feedback is welcome!

Ah this is a lighter touch than #2604!
This LGTM, probably the best we'll get without heavy refactoring 👍

What's interesting though is config_default.php already exists as a concept.

The problem with this file is that's is committed in git. You could theoretically use it as a pre-filler. But it won't automatically install the whole thing.
Would you merge it in @brendo ?

I had the same problem. I think this a an advanced feature. I do not think that it will be in the README, a wiki entry would suffice. I do create all my manifest folder beforehand already and the manifest folder is the safest place.
The question is, which is thing makes it less secure ? I do not know that.
The installer won't delete the file, but users should. Again, advanced feature.
Since both @brendo and @michael-e seems to agree, I would consider this as "mergeable". I'll still keep it open for reviews and comments.

Review period is closing, will be merged as is soon. Thanks y'all.


Run unit tests from GitHub actions

Create unit tests in GitHub Actions that tests msal-proxy.
Edited by Danielkon96 on 6/21/21

Work on this issue only after this one is complete: https://github.com/Azure/EasyAuthForK8s/issues/6


Failed Purchase

Not sure if I am missing something in particular but the bot stopped/failed on "Submit Order" - I am using firefox.
This error message might of help:
2021-01-08 07:01:03,013 [PID 22807] [Thread<PHONE_NUMBER>] [ERROR] [root] Failed visibility check for Submit Button: Message:
Traceback (most recent call last):
File "/Users/Snkrs-Bot/main.py", line 527, in poll_checkout_phase_one
check_submit_button(driver=driver, xpath_o=xpath)
File "/Users/Snkrs-Bot/main.py", line 474, in check_submit_button
wait_until_clickable(driver, xpath=xpath, duration=.2)
File "/Users/Snkrs-Bot/main.py", line 580, in wait_until_clickable
WebDriverWait(driver, duration, frequency).until(EC.element_to_be_clickable((By.XPATH, xpath)))
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/support/wait.py", line 80, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
2021-01-08 07:01:03,014 [PID 22807] [Thread<PHONE_NUMBER>] [INFO] [root] Too many iterations through checkout element check. Terminating check...
2021-01-08 07:01:03,014 [PID 22807] [Thread<PHONE_NUMBER>] [INFO] [root] Purchase failed
Now that I read back on it, it seems to have failed visibility checks for Address, Shipping and payment as well but those seem to have gone through since it just failed at Submit Order. I pulled in the latest changes and would love any advice on how to fix this! (I am completely new at python)

What is the command/params you executed to run the script?

What is the command/params you executed to run the script?

thanks for your response @mnai01 , here you go! python3 main.py --username username --password pw --url https://www.nike.com/launch/t/air-force-1-07-craft-mantra-orange --shoe-size 11 --driver-type firefox --shoe-type M --dont-quit  --cvv cvv --release-time "2021-01-06 07:00:00" --shipping-option STANDARD --purchase

thanks for your response @mnai01 , here you go! python3 main.py --username username --password pw --url https://www.nike.com/launch/t/air-force-1-07-craft-mantra-orange --shoe-size 11 --driver-type firefox --shoe-type M --dont-quit  --cvv cvv --release-time "2021-01-06 07:00:00" --shipping-option STANDARD --purchase

It looks like this problem is coming from the most recent PR. A polling system was implemented by @alfredog1976 to check what elements appear first during the checkout and I assume the problem might be coming from there. Possibly the constant SUBMIT_BUTTON_XPATH is different on the page you were on. Testing will have to be done to see if this is the problem but I will need to run it myself during a drop. Next time if you can run the command with --html-path as a param to save the HTML source then I can check to see if indeed the XPATHS were different, in addition, I can check any other theories.

It looks like this problem is coming from the most recent PR. A polling system was implemented by @alfredog1976 to check what elements appear first during the checkout and I assume the problem might be coming from there. Possibly the constant SUBMIT_BUTTON_XPATH is different on the page you were on. Testing will have to be done to see if this is the problem but I will need to run it myself during a drop. Next time if you can run the command with --html-path as a param to save the HTML source then I can check to see if indeed the XPATHS were different, in addition, I can check any other theories.

yes i can definitely do that! thanks!

yes i can definitely do that! thanks!

thanks gesseekur I learned how to run from your setup

thanks gesseekur I learned how to run from your setup

thanks gesseekur I learned how to run from your setup

thanks gesseekur I learned how to run from your setup

@J420C youre welcome!

@J420C youre welcome!

@mnai01 could you give me an example of how the html path should look like ? Do I just set up an empty html file and use that?

@mnai01 could you give me an example of how the html path should look like ? Do I just set up an empty html file and use that?

@J420C were you ever able to purchase any shoes ?

@J420C were you ever able to purchase any shoes ?

@gesseekur no & didn't have opportunity to run today I will run tomorrow see if I can it usually goes to cvv step but doesn't add cvv ¯_(ツ)_/¯

@gesseekur no & didn't have opportunity to run today I will run tomorrow see if I can it usually goes to cvv step but doesn't add cvv ¯_(ツ)_/¯

@J420C Ive had this issue before, usually if you use an account that already made a purchase with that card before then it will bypass that..if not maybe try entering it yourself ...but it may not be quick enough

@J420C Ive had this issue before, usually if you use an account that already made a purchase with that card before then it will bypass that..if not maybe try entering it yourself ...but it may not be quick enough

if someone has an example of the solution you need id love to see it

if someone has an example of the solution you need id love to see it

if someone has an example of the solution you need id love to see it

I haven't looked at the source or anything, but someone should make a fork with a set browser user agent, as it should prevent there from being multiple different sites depending on the operating system or other things.


docs: update README.md with output from generateBuildMatrix.sh

all "openj9" jobs are cleaned up
refer: https://github.com/zdtsw/ci-jenkins-pipelines/blob/fix/215_2/README.md for better review format
Fix: #215

@smlambert Can I get a review on this PR?

Merging with or without knowing if code freeze lifted as is doc specific.


Initial authorization on workspace and workspace-templates  NOTE! Don't merge until the PR that sets the env vars merges

PR for issue #310
(ignore branch name!)
What is being addressed
This PR adds the requirement for a JWT Bearer token to authorize calls to /workspaces/* and /workspace-templates/*
This implementation supports the Azure AD v2 endpoints.
Notes:

The token is validated and admin role is validated but access to user workspaces is not implemented in this PR
The necessary API ENV vars will be set in a separate PR along with a script to create the necessary AAD Applications

Closes #96 - Enforce AUTH on POST /workspaces - only TRE Admin
Closes #310 - Implement AUTH token validation for API
Closes #311 - Enforce AUTH on GET /workspaceTemplates - only TRE Admin
Closes #312 - Enforce AUTH on POST /workspaceTemplates - only TRE Admin
Closes #313 - Enforce AUTH on GET /workspaceTemplates/{template_name} - only TRE Admin
Closes #314 - Configure swagger to use OpenID AAD AUTH

I was going to comment on using Depends instead of Middleware for auth and then I read that in FastAPI Depends is the canonical method. Weird I say but we all have opinions :)
I am concerned that with auth in working locally is going to become challenging. Is it possible to somehow create non auth FastAPI app in debug mode or we can make LOCAL mode.

I was going to comment on using Depends instead of Middleware for auth and then I read that in FastAPI Depends is the canonical method. Weird I say but we all have opinions :)
I am concerned that with auth in, working locally is going to become challenging. Is it possible to somehow create non auth FastAPI app in debug mode or we can make LOCAL mode.

As we discussed in the daily - we won't implement a debug route for security purposes -- but, for temporary debugging purposes you can override the dependencies (as in the app test fixture)


Add and utilize snapshots in integration tests

Currently, the integration tests setup a fully functioning filesystem and add it to IML. This includes both ldiskfs and zfs filesystems. When performing tests on these filesystems we should taking into account the fact that snapshots are being taken along the way. While we can't take snapshots of docker, we can still restore snapshots of the server nodes and re-add them to a clean docker setup to allow for faster testing.
To use snapshots effectively, a tree structure of snapshots should be generated at the beginning of a test. The test can then ask the snapshot manager for a particular snapshot. If the snapshot exists, it will restore the snapshot on each of the server nodes. If the snapshot does not exist, it will go to the nodes ancestor and check if that snapshot exists. If so, it will return that snapshot to the test. The test will need to know how to respond to which snapshot is available. For example, consider a test for an ldiskfs filesystem. If a snapshot exists where the filesystem has been configured on the storage servers, then we can easily start from that point in time and focus on running the test. If this snapshot does not exists, we will look at the next possible snapshot (ancestor in the tree), which might be when the server was deployed and all necessary software was installed. If it finds this snapshot, it can restore at this point, but it will still be responsible for creating a filesystem.
We may need to specify a list of commands to run depending on what snapshot is being restored. For example:
"server_deployed" => [configure_ntp, create_ldiskfs_fs, detect_fs],
"bare" => [configure_docker_network, server_add(servers), ...]
As i'm thinking about this more, this feels more complicated than it should be. I'd like to simplify this a bit. Any thoughts?

I'd take a look at a crate like https://docs.rs/petgraph/0.5.0/petgraph/ .
If you build the tree beforehand and then have slots to track whether each spot was provisioned, it should be fairly simple to find the starting point and go from there.

Sample DAG I will be modeling:

I now have the graph integrated along with unit tests. The graph api allows for easy generation of dot files. I passed in a full set of snapshots and generated the graph. Here is the dot output:


Please update orbit-web to the latest js-ipfs \o/

Hey. I just checked out feat/new-orbitdb and ran it, Safari on Mac. Drag and Dropped an image in the chat window and it seemed to upload the image. However, I didn't "see" the image. I'm not sure what to expect though. I'm happy to help, just need some guidance.
I also noticed that assets/common.js doesn't exist after doing nom run build. The resulting index.html file is referencing it though.

when i drag and drop a file/image, and then click on the resulting link, a js error occurs:
    at Store.onLoadFile (MessageStore.js:263)
    at EventEmitter.eventHandler (PublisherMethods.js:44)
    at EventEmitter.emit (index.js:116)
    at Function.trigger (PublisherMethods.js:63)
    at PublisherMethods.js:74```

`this.orbit.getFile(...)` doesn't seem to be returning a Promise.


closes #112 added extra example for AVAL in months

Closes #112 .
Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Code is formatted according to the tidyverse style guide
[x] Updated relevant unit tests or have written new unit tests - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md
[x] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue so that it closes after successful merging.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done!  Much love to your accomplishment!

@bundfussr feel free to take a look if you get chance today. The checks are still running but hopefully should be ok as such a minor update.

@amitjaingsk are you ok to review this one please? i checked with Yohann who raised the issue and he was happy with the updates.


Serve tex-mml-chtml locally

Hello, I'm using your theme with this patch https://github.com/bbhtt/hugo-theme-monochrome/commit/d5a7b1c46bcb5ab6c588d877d3313c07f1f68978 to reduce external connections (to JSDelivr... etc.)
Would it be possible for you to integrate this?
Thanks!

Hi, thank for the suggestion. Can you provide the benefits of bundling the library instead of using CDN? The most attractive reason for me is that your library function is still available even when the CDN service is down. But mathjax library depends on lots of extenal resources (e.g. additional fonts), which seems meaningless for the benefits unless you bundle the full resources into your site (which is tedious to maintain). WDYT?
Thanks.


We should ensure our docker-compose.yml files include all relevant server_names

As noted by @dchiller in https://github.com/DDMAL/CantusDB/pull/1286#discussion_r1476453258

Note: this will be in the nginx configurations, not in docker-compose.yml


Recipe app?

Looks like there's a free recipe database at: https://www.themealdb.com/api.php
It'd be great to be able to store recipes on Bangle.js such that you could just step through each step one by one. Ideally with the quantities included for each step, but this doesn't seem to be handled by the API

I reckon we can close this issue off - there's now a newly introduced recipe app (#795) with the potential to iterate further

Sounds great - thanks! Link to app at https://espruino.github.io/BangleApps/?id=followtherecipe


Helm 3 chart / installation guide not up to date

Bugs should be filed for issues encountered whilst operating cert-manager.
You should first attempt to resolve your issues through the community support
channels, e.g. Slack, in order to rule out individual configuration errors.
Please provide as much detail as possible.

Describe the bug:
https://cert-manager.io/docs/installation/kubernetes/#steps says use
helm install --name cert-manager --namespace cert-manager --version v0.12.0 jetstack/cert-manager
leading to (with Helm 3):

Error: unknown flag: --name

It works with
`helm install cert-manager jetstack/cert-manager --namespace cert-manager --version v0.12.0
NAME: cert-manager
LAST DEPLOYED: Tue Dec  3 11:22:31 2019
NAMESPACE: cert-manager
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
cert-manager has been deployed successfully!
[...]`
Checking the release:
helm ls --namespace cert-manager
NAME            NAMESPACE       REVISION        UPDATED                                 STATUS          CHART                   APP VERSION
cert-manager    cert-manager    1               2019-12-03 11:22:31.4253918 +0100 CET   deployed        cert-manager-v0.12.0    v0.12.0
(--namespace cert-manager is required)
Expected behaviour:
Correct command in installation guide
Environment details::

Kubernetes version (e.g. v1.10.2): 1.12
Cloud-provider/provisioner (e.g. GKE, kops AWS, etc): GKE
cert-manager version (e.g. v0.4.0): 0.12
Install method (e.g. helm or static manifests): helm

/kind bug

The command for helm 3 is
helm install [NAME] [CHART] [flags]

or
helm install jetstack/cert-manager cert-manager --namespace cert-manager --version v0.12.0

Are the CRDs and namespace are rolled in for helm 3, or do they still need to be installed separately?

This has now been updated on the website to include Helm 3 and Helm 2 commands.

Are the CRDs and namespace are rolled in for helm 3, or do they still need to be installed separately?

They are kept separate still. Helm will not upgradea CRDs after initial installation if they are bundled up into the 'crds/' directory of the chart.


Run release branch specific builds for kind in staging

Issue #, if available:
Description of changes:
Kind is the long pole when it comes to builds in the staging batch build. This breaks the build up by release branch
NOTE The binaries will build and publish in each build and since they are not released branch it will overwrite, this shouldn't be an issue since the checksums will all guarantee the resulting builds are all the same, but something to keep in mind just in case.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
/approve


Oc 478 osgp builds

 You should sign our Contributor License Agreement in order to get your pull request merged.


using ^n on a field is only valid syntax for lycene. This caused the …

using ^n on a field is only valid syntax for lycene. This caused the name field to never be search which resulted in channels not being searchable. I added the boost parameter which is what is supposed to be used. I made the weight 5 based tests around "super" which is a query that returns 1800 hits. The intention is to make sure that channels show up first in the results.
I also ran lint to fix the file I was working on.

Looks like a great bugfix, tried on dev instance without any problems. Merging and deploying this in half an hour from now!


low quality

how to crop high quality by cropper.js ?

Reference the HTMLCanvasElement.toDataURL:
$().cropper('getCroppedCanvas').toDataURL('image/jpeg', 1);

hello. My problem was not solved. continues to be very low-quality images and colors together.


Doc fix

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok to test.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok to test.

I signed it!

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok to test.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok to test.

LGTM.

Thanks for your pull request.

This is ok to test


does eb_deployer supports assisted blue-green deployments?

does eb_deployer supports assisted blue-green deployments? I mean can the CNAME flip be "manually"
triggered?

by looking at the code base there is an undocumented deployment strategy called (blue_only), it should do the trick...I guess..


indentation

indentation adjustments

What's the point of this change?

Hey @vschs007 -- I took a look at your git history, and it looks like you're forking quite a few big repositories, and making very minor code-style changes, which isn't really useful for anyone.
If you're trying to make meaningful contributions, I'd try taking a look at the issues section on any github repo, and finding something that's broken that you can actually fix.


searchText issue with big layouts

From<EMAIL_ADDRESS>on November 15, 2011 07:01:36
What steps will reproduce the problem? 1.Have a big layout with textviews inside and put in in a scrollview
2.Search for a text that is visibile only if you scroll down the layout What is the expected output? What do you see instead? Expected: true, Get: false What version of the product are you using? On what operating system? 3.0 (same problem on 2.5). Android 2.3 - Desire HD Please provide any additional information below. This is especialy strange since if i search for texts visible only if scroll right it works (because the isViewSufficientlyShown method from ViewFetcher check only that the view to be visible on the Y-axis)
I checked the code and it seems that the searchFor method from the Searcher use the getCurrentViews method from the ViewFetcher (which returns only visible views). I think it should use the getAllViews(false) method since the non visible views should be removed only if the onlyVisible flag is true (wich is done anyway by: RobotiumUtils.removeInvisibleViews)
Original issue: http://code.google.com/p/robotium/issues/detail?id=182

From<EMAIL_ADDRESS>on November 15, 2011 07:15:18
Thanks for this. Does it scroll when first not finding the text?

From<EMAIL_ADDRESS>on November 15, 2011 07:20:57
No, no scroll is made.
Also i use a custom view for scrolling since i need scrolling bot vertically and horizontally. Can this be the issue?
Andrei

From<EMAIL_ADDRESS>on November 15, 2011 07:23:11
This is the scroll view used: http://blog.gorges.us/wp-content/uploads/TwoDScrollView.java

From<EMAIL_ADDRESS>on November 15, 2011 07:32:03
The problem here is that scrollDown() only checks if your using a scroll view or a list view (also extending them with custom views). That is why it does not scroll as it only finds a framelayout. Right now there is no plan to change that behaviour as it would be hard to determine when a framelayout can scroll or not.
The best thing would be if you can change your custom view so that it extends a scroll view and then add the changes needed in your custom scroll view instead.
Status: Invalid
Owner<EMAIL_ADDRESS>

From<EMAIL_ADDRESS>on November 15, 2011 07:32:29
Also what happens if i have for example a listview and also a scroll view in my layout: will the search scroll all of them searching for my text?

From<EMAIL_ADDRESS>on November 15, 2011 07:38:04
The ones that are visible will be scrolled yes. It will first scroll down the scroll view and then the list view (if that is the setup) If you for example have an application with tabs you will need to first click the right tab and then search. Its not possible to add this behaviour for a framelayout though as every custom version of the framelayout will have its own special way of scrolling (which robotium will not know about).


add functionality to request contact data

Looks good to me 🔥
Would you mind to add tests for this feature? You'll find something similar for others DTO

I added test file, but wasn't able to run the tests locally - so just hoping I did everything right

No problem, I will merge and will eventually fix any failure


Invalid line ending with yarn on Unix system

Hello,
Thanks for your involvement in keeping this project alive!
There seems to be an issue when using your fork with yarn on a Unix system.
Steps to reproduce
yarn global add @vendure/ngx-translate-extract
ngx-translate-extract

This gives following output:
/usr/bin/env: ‘node\r’: No such file or directory

(Using @bartholomej/ngx-translate-extract instead displays help, which is expected behavior)
Reproduced on

Ubuntu 20.04
Ubuntu 22.04
MacOS Ventura 13.3.1

Side note
Using dos2unix or sed -i $'s/\r$//' on bin/cli.js fixes the issue locally.

I just published a new version, v8.2.0 - let me know if the problem is resolved in that version.

Problem solved, thanks a lot!


FPS

Great project !
I have a question regarding the calculated FPS .
From your code I can see that you're running Haar cascade classifier to detect and locate faces on the PS. Then you classify each face using your model on the PL.
However you're not taking the time needed to transfer the data between the PS and the PL back and forth into consideration.
Also you're not taking the time needed by Haar classifier (which might be the actual bottleneck) into account.
Therefore the reported FPS is much higher than what is shown in your evidence video.
Did you profile that extra time? what's the actual FPS in your running demo?
I know that a part of the time is wasted on the visualization, but still I guess that the FPS is much lower than 400.

The main idea is calculate the FPS of the TensorFlow model through the FPGA. We are measuring the efficiency of FPGA above CPU (Raspberry Pi) and GPU (Jetson Nano).

Yes I got it. But isn't FPS the time to fully process a whole frame (including Haar)? wouldn't calling it "classification run-time" more precise than saying FPS?
I'm just curious about the actual FPS ...

Average 9 FPS considering the Haarcascades processing.


#RustWasm2019

This issue exists to collect all our #RustWasm2019 posts in one place! If you write a #RustWasm2019 post, drop a link to it here!

Hi all,
our post on WebAssembly #RustWasm2019

Thanks everyone who wrote a #RustWasm2019 post! We are in the RFC stage now: https://github.com/rustwasm/rfcs/pull/7