added support for content owner upload to partnered channel

Here is the script that I'm using to call the updated account.upload_video method:
video_params = {
title: 'My new video',
privacy_status: 'private',
category_id: 17,
description: 'This is the description of my new video',
tags: ['music']
}
content_owner_params = {
content_owner: CMSname,
channel: ChannelId
}
yt_video = video_upload(account, video_url, video_params, content_owner_params)
-- Yt GEM Video UPLOAD --
def self.video_upload(account, video_url, video_params = {}, content_owner_params = {})
yt_video = account.upload_video( video_url,
video_params, content_owner_params
)
rescue Yt::Error => @video_error
puts "Video Upload Error (YTError) " + @video_error.message
end

Hi there,
My name is Derek and I'm now one of the maintainers of the Yt gem. I want to both thank you for your contribution and apologize for the lack of feedback on your pull request. Maintaining an open source project like Yt is a pretty big job, and we're taking steps to prioritize maintenance and development of the project. We're hoping to review community contributions on a regular basis, as well as provide a roadmap for our development plans.
As part of this process we're going through the open PRs and taking action on each one, and for this PR we've chosen to close it. Unfortunately due to the sheer number of PRs and amount of time that's passed, we can't address your PR individually. If you'd like our thoughts, feel free to comment on your PR, and we'll try and get back to you in a timely manner. In lieu of that, some of the reasons we've closed PRs are:

a lack of tests. We strive for comprehensive coverage; this is important to us
the passage of time: things that were relevant when the PR was opened might not be as important anymore
feature need. Since adding features requires us to maintain them, we want to add features that many people will use

Thanks again for your contribution, and please let us know if you have any questions or comments.


Create interactive Terragrunt tutorial

To make it easier to learn Terragrunt, it would be great if we had an interactive, step-by-step tutorial that walked you through the steps it takes to use Terragrunt: e.g., putting code in one repo, using it at a specific version from another, iterating locally using --terragrunt-source, making your backend config DRY, etc.
This could be either a tutorial built into the CLI itself, or some sort of web-based tutorial.

This sounds awesome!
If you're interested at all I've had a really good experience using Google's codelabs libraries for making tutorials like this. It's a static site generator from markdown -> html with the output being styled for tutorials like this: https://github.com/googlecodelabs/tools
I have no affiliation with that project, I just thought it might be a fit here if you don't want to build web-based from scratch

Thanks for the pointer!


Gold Price Analysis and Prediction

ML-Crate Repository (Proposing new issue)
:red_circle: Project Title : Gold Price Analysis and Prediction
:red_circle: Aim : The aim of this project is to predict the future Gold price and also make an analysis of the dataset.
:red_circle: Dataset : https://www.kaggle.com/datasets/gvyshnya/gold-future-prices
:red_circle: Approach : Try to use 3-4 algorithms to implement the models and compare all the algorithms to find out the best fitted algorithm for the model by checking the accuracy scores. Also do not forget to do a exploratory data analysis before creating any model.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.

:white_check_mark: To be Mentioned while taking the issue :

Full name :
GitHub Profile Link :
Participant ID (If not, then put NA) :
Approach for this Project :
What is your participant role? (Mention the Open Source Program name. Eg. HRSoC, GSSoC, GSOC etc.)

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Complete your previous issue first @Bayyana-kiran

Can u assign me @abhisheks008 ?

Issue assigned to you @Bayyana-kiran

Hey @abhisheks008 Created a PR kindly check!
Sorry for the Delay


Feature Request Stop and restart if loading GC or Wii/Wiiware

Just leaving this as an idea, in RetroPie, I use this in my runcommand-onlaunch.sh to stop the service if I'm playing gamecube or Wii, so the wiimote in mode4 switches to true wiimote mode for dolphin games

#!/bin/bash

# Define the service name
SERVICE_NAME="dbar4gun"

# Check if dbar4gun is active
if systemctl is-active --quiet "$SERVICE_NAME"; then

    # Check if the argument is "wii" or "gc"
    if [[ "$1" == "wii" || "$1" == "gc" ]]; then
        sudo systemctl stop "$SERVICE_NAME"
    fi
fi

And then onend.sh file I have this
#!/bin/bash

# Define the service name
SERVICE_NAME="dbar4gun"

# Check if the argument is "wii" or "gc"
if [[ "$1" == "wii" || "$1" == "gc" ]]; then
    sudo systemctl start "$SERVICE_NAME"
fi

Just leaving this as an idea, in RetroPie, I use this in my runcommand-onlaunch.sh to stop the service if I'm playing gamecube or Wii, so the wiimote in mode4 switches to true wiimote mode for dolphin games

#!/bin/bash

# Define the service name
SERVICE_NAME="dbar4gun"

# Check if dbar4gun is active
if systemctl is-active --quiet "$SERVICE_NAME"; then

    # Check if the argument is "wii" or "gc"
    if [[ "$1" == "wii" || "$1" == "gc" ]]; then
        sudo systemctl stop "$SERVICE_NAME"
    fi
fi

And then onend.sh file I have this
#!/bin/bash

# Define the service name
SERVICE_NAME="dbar4gun"

# Check if the argument is "wii" or "gc"
if [[ "$1" == "wii" || "$1" == "gc" ]]; then
    sudo systemctl start "$SERVICE_NAME"
fi

Hi, I’ve been reviewing it, but I believe this implementation is more suited for the RetroPie project than for the driver. Either way, I’ll keep the issue open for anyone who wants to implement your solution. Thank you very much!


circuit deepcopy too slow

It is currently very slow to copy a circuit. Among other things, one reason is that circuits are defined over gate instances. So a circuit with 2000 H gates and 5000 CX gates will go through that many copy operations, clearly a waste. Can we modify the datastructures to optimize this?
Along the same lines, there are currently other kinds of information in a gate instance that should be static and known before instantiation, like the name, number of qubits, or definitions (for non-parameterized gates, but also maybe for parameterized ones). It seems like a refactoring is in order.

This milestone has already been achieved.

A series of merged PR probably fixed this issue. Closing it. Feel free to reopen it if more specific optimization can be done.

I believe this issue is about making gates static and only copying the necessary information instead of the entire gate instances. Currently, we still do store 2000 X-gate instances if we have 2000 X gates in a circuit so I don't think this issue can be closed.

Reopening. The expected change is refactoring gates as singletons.


Chicken-and-egg problem for Link verification check

When we release packages with a major version pump and major version is larger than v1, we will meet a chicken-and-egg problem for Link verification check. In the readme.md file, there is a package reference link which need to have version suffix in the URL. When package is not released, the URL is unreachable which result in blocking the release pipeline. The approach that releasing without version suffix at first and add them after release is not workable because it will leave a wrong doc in the pkg.go.dev. One solution is to remove the check in release pipeline. Open for better solution. cc @jhendrixMSFT , @ArcturusZhang , @lirenhe

I do not want to remove the check entirely.  Perhaps we want a special flag to bypass when doing major version updates?
Note: I would hope this is a rare occurrence :)

I do not want to remove the check entirely. Perhaps we want a special flag to bypass when doing major version updates?
Note: I would hope this is a rare occurrence :)

Agree with adding some special logic for the first onboard of major version.

Our general link guidance can be found at https://aka.ms/azsdk/guideline/links. In general, we don't want to release any links that we think will be valid in the future because there is never any guarantee, and it is always better to have no link then a broken link. We should ask whether or not the links are needed and if so perhaps have them commented out on first release and then add them in in the next release.

Note: I would hope this is a rare occurrence :)

A second major might be rare but this problem also exists for the first release of a new library as well. I would expect us to handle both the same way.

The broken link for Go is the reference doc badge in the package readme file and the link is linked with the package version. Also, this readme file will be showed in pkg.go.dev site. As you suggested, we could comment it before any major version first release and add back after release. But it will be an extra manual work out of our toolchain.


Logic tricks

Put in the logic tricks that got merged into 0.5.1.


Typo in litmuschaos.io

Not sure which repo to raise the issue, but on https://litmuschaos.io , the Features section have a typo

Bring GitOps into chaos engineering. Define chaos, run chaos and observe chaos using Kubernetes Customer Resources.

Kubernetes Customer Resources should be Kubernetes Custom Resources

Thanks @juliosueiras for reporting it. The typo has been fixed!!

@IsAmrish Can this be closed if so?


Support Context Id in SDK

CF BOSH Tracker story #134702861
Why
As a bosh user
I can assign a context to bosh deployments and errands
So that I can query a group of bosh tasks
What
This PR extends the BOSH Go SDK to support using the new `X-Bosh-Context-Id'. This change is not exposed in the CLI, only in the Go Library, so the UX is unchanged.

Director interface extended with  a WithContext(string) function that returns a Director whose subsquent requests will include the X-Bosh-Context-Id header.
Currently limited to GET/POST/PUT (see below)
Header added at http client request level so no interface changes to operations.
Director interface extended with a FindTasksByContextId(string) ([]Task, error)
Task now has a contextId property

Missing Delete support
The Bosh-Utils HttpClient package only supports customising requests for Get/Post/Put but not Delete. This PR has been submitted to add the functionality to DELETE.
However, since the vendored 18e54c sha, the head of Bosh-Utils has breaking changes to other areas of the Bosh CLI, e.g. Blobstore interface changes. So even when that PR gets merged there will be additional work to integrate with head. @cppforlife / @avade thoughts?
Sam

Additionally, what do you think of changing WithContext to WithContextID as context is an overloaded term in Go and Bosh?


imp(ibc-testkit): refactor HostBlock with a trait

Details
Currently, HostBlock is implemented as an enum of different host variants.
https://github.com/cosmos/ibc-rs/blob/d5e83145c177a2cd62135aebadaba5c9feb0fa2b/ibc-testkit/src/hosts/block.rs#L72-L75
This made its implementation a manual dispatching of methods from MockHeader and SyntheticTmBlock. We can avoid this by implementing a HostBlock trait for these two and generalizing an IBC context with a generic with the HostBlock trait bound.
Also, this allows a downstream project to reuse our MockContext with their host block variant.
This was blocked before because the ClientState derive didn't support generics. Since #1016 is resolved, we can use generics with trait bounds in an IBC context.

Version

<= v0.50.0

This is an improvement over HostType removal as part of #677

closed by #1109


Lock Nokogiri version for Webrat monkey-patch

The monkey-patch ~#2469~ in test/support/webrat/matchers.rb is not compatible with Nokogiri ≥ 1.17, so many tests are currently failing.
Nokogiri dropped support for Ruby 2.7 in 1.16 which is still supported by Devise, so locking Nokogiri to < 1.17 seems like the easiest fix.

@jrichy1 I don't understand what you mean. Where exactly are you tagged?

I'm not a committer, but I don't think this PR is mergeable.
Locking devise to an older version of Nokogiri, a gem that gets a lot of security updates will lock out a lot of users for long ago compatibility support.
Better to drop ruby 2.7 (which is not compatible with latest Rails versions and went EOL in 2023: https://endoflife.date/ruby)
Also FYI #2469 is an issue not a PR, and has no attached code.
And as an aside, webrat (last update 10 years ago) needs to be dropped - not  most likely with capybara - which is the logical upgrade path. But we'd need to see a lot of commiter enthusiasm before anyone would do a PR on that.

Sorry, the link to #2469 was wrong. Should have been https://github.com/sparklemotion/nokogiri/issues/2469.
Nokogiri is only used in tests, so there is no real security issue. But I agree that it is time to drop Ruby 2.7 support.

Nokogiri is only used in tests, so there is no real security issue.

Oops - yes missed that it was in Gemfile not gemspec... Sorry

But I agree that it is time to drop Ruby 2.7 support

👍


Update README.md

[ ] I have not changed the README.md directly.

You need to update the template file at https://github.com/analysis-tools-dev/static-analysis/blob/master/data/render/templates/README.md for this.


Properly compare velocypack objects in Agency operations

http://jenkins01.arangodb.biz:8080/job/arangodb-matrix-pr-linux/2568/

@neunhoef : ok to merge this?


Store metadata and precise reason in local database

That way, we can:

More easily evaluate the results of a dry run
We can skip re-calculating metadata on a real run

Started. Need to:

[ ] Store reason
[ ] Write from crawl's metadata object, not its methods/properties that cause calculations to be performed
[ ] Change should_archive and/or Crawl class to avoid re-calculating metadata


[UIE-102] Fail tests that write console logs

https://broadworkbench.atlassian.net/browse/UIE-102
The unit tests tend to grow noisier over time with warnings and other console logs until there's enough noise that it becomes difficult to find informative output to debug test failures.
I just wrapped up a round of cleanup: https://github.com/DataBiosphere/terra-ui/pulls?q=is%3Apr+UIE-97
To avoid this problem in the future, this change fails any test that logs to the console.

I'd prefer to keep the behavior the same locally and in CI to avoid the situation where you believe your tests are passing from running them locally and then find out they fail only after pushing to GitHub and waiting for CI. I think this tightens the feedback loop.

@s-rubenstein I added an escape hatch in https://github.com/DataBiosphere/terra-ui/pull/4064/commits/7c1a62f2266940d9d86568e97a52ef24d9dc0baf. Setting an ALLOW_LOGS environment variable allows using logs in tests without failing the tests.


Fix jobserver_exists test on single-cpu systems

Closes #8595

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

@bors r+

:pushpin: Commit 5305a3def63603b7e9d03233f216924ca38e2465 has been approved by ehuss

:hourglass: Testing commit 5305a3def63603b7e9d03233f216924ca38e2465 with merge 5de5915ca281b88cc3b8394823261ab33c2f9ab6...

:sunny: Test successful - checks-actions
Approved by: ehuss
Pushing 5de5915ca281b88cc3b8394823261ab33c2f9ab6 to master...


1137 | N-th Tribonacci Number | C++

Title - 1137. N-th Tribonacci Number
What will change - adding a new file with a solution for 1137. N-th Tribonacci Number in C++
Type of Issue -

[x] Adding New Code

Programming Language

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

please assign me this issue


fixed duplicate items in SelectWidget and ArrayWidget

When items were loaded from a vocabulary, items in select and array widget were duplicated.
Now it's fixed

@giuliaghisini please add a changelog entry.

@giuliaghisini please add a changelog entry.

sorry! done

@giuliaghisini i18n please :)

@giuliaghisini i18n please :)

pushed!


feat: Mission manage keys

Describe the problem
Link Mission with its corresponding keys.
Describe the solution you'd like
Link missions to keys to enable usage
Acceptance Criteria

[ ] Create and manage keys through missions.

Related Issues
Additional context

Did not resolve through the previous approach, instead created Crossplane's ProviderConfigs through missions, and kept the keys seperate. Steps taken #15  to ensure this does not cause errors.


[Enhancement][opensearch] - allow reusing existing serviceAccount

Is your feature request related to a problem? Please describe.
It should be possible to provide an existing serviceaccount to the cluster runner
Currently, its not possible to have the chart use an existing service account, as the serviceAccount is only ever set, if you ask to have it created.
https://github.com/opensearch-project/helm-charts/blob/b5d705857ff2e7067ff42c3820efad4fdf0a7859/charts/opensearch/templates/statefulset.yaml#L89
Meaning if you have external resources managed by someone else, you first have to get them to prepare the asset, then deploy opensearch, then back to them to patch up the service account.
Describe the solution you'd like
A clear and concise description of what you want to happen.
The rbac section should probably have an "enabled" flag, that is used instead of the "create" flag on the stateful set, such that
rbac:
   enabled: true
   create: false
   serviceAccountName: foo-bar-baz

would result in the pods running under foo-bar-baz service account rights.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
None, except for Kustomize that allow for full seperation of control between external resources and opensearch
Additional context
Add any other context or screenshots about the feature request here.

To give context:

Suppose you are not the one providing the kubernetes cluster, nor the assets (s3 bucket, iam policy etc) that the opensearch needs to use.
If the provider of those services can set up a service-account that has all the necessary rights configured to access these things, the opensearch deployment becomes a one step process.
If opensearch is undeployed, and redeployed, it will pick up those existing rights again

With the current chart-logic, the stateful set becomes a pet, since any changes made to the serviceaccount will be deleted when/if opensearch is undeployed and redeployed

ah, i'm sorry. I see now i can just provide the serviceAccount annotation with the role arn.  Closing.


[CB-18319] skip Hive database backup on upgrade

script changes run on local dev datalake with manually set params logs show only the 3 backed up
(salt_3000.8) [root@drutl-dl-salt-9-13-1-master0 srv]# cat /var/log/dl_postgres_backup.log 2022-09-13T20:06:20Z INFO  Starting backup to s3a://drutledge-sdx-daily-datalake/drutledge-cloudbreak/ 2022-09-13T20:06:20Z INFO  Conditional variable for closing connections to database during backup is set to True 2022-09-13T20:06:20Z INFO  Backing up ranger.
2022-09-13T20:06:20Z INFO  Checking the existence of database ranger ranger
2022-09-13T20:06:20Z INFO  Dumping ranger
2022-09-13T20:06:20Z Ranger admin group is None
2022-09-13T20:06:20Z INFO  Replacing None with _RANGER_WAG_2f0264fa-0a04-462b-af85-7c09891568ef in the dump before export 2022-09-13T20:06:20Z attempting kinit as hdfs using Keytab: /run/cloudera-scm-agent/process/1546335542-dfs-create-dir/hdfs.keytab 2022-09-13T20:06:20Z Successful kinit using hdfs principal 2022-09-13T20:06:20Z INFO  Uploading to s3a://drutledge-sdx-daily-datalake/drutledge-cloudbreak/ Sep 13, 2022 8:06:22 PM org.apache.knox.gateway.shell.KnoxSession createClient INFO: Using default JAAS configuration
Sep 13, 2022 8:06:25 PM org.apache.knox.gateway.shell.KnoxSession createClient INFO: Using default JAAS configuration
Sep 13, 2022 8:06:25 PM org.apache.knox.gateway.shell.KnoxSession createClient INFO: Using default JAAS configuration
2022-09-13T20:06:27Z INFO  Completed upload to s3a://drutledge-sdx-daily-datalake/drutledge-cloudbreak/ 2022-09-13T20:06:27Z INFO  Completed upload to s3a://drutledge-sdx-daily-datalake/drutledge-cloudbreak/ 2022-09-13T20:06:27Z INFO  ranger dumped to s3a://drutledge-sdx-daily-datalake/drutledge-cloudbreak//ranger_backup 2022-09-13T20:06:27Z INFO  Backing up profiler_agent. 2022-09-13T20:06:27Z INFO  Checking the existence of database profiler_agent 2022-09-13T20:06:27Z WARN  database for profiler_agent doesn't exists 2022-09-13T20:06:27Z INFO  Backing up profiler_metric. 2022-09-13T20:06:27Z INFO  Checking the existence of database profiler_metric 2022-09-13T20:06:27Z WARN  database for profiler_metric doesn't exists rmdir: removing directory, '/var/tmp//2022-09-13T20:06:20Z' rmdir: removing directory, '/var/tmp//2022-09-13T20:06:20Z' 2022-09-13T20:06:27Z INFO  Completed backup s3a://drutledge-sdx-daily-datalake/drutledge-cloudbreak/
See detailed description in the commit message.

Everything looks good, I just have some questions I'd like answered before approving to make sure it's all good.

reverted because of compile error on master

please rebase to latest master and send the PR again


Add timestamp logs and data format doc

Add timestamp to server logs #141 .
Add docs for data format #142.

You can review again. @yubowenok

tests broken

You can review again. @yubowenok

You can review again. @yubowenok

LGTM with minor indentation issue.


View source option

Is view source option available?. Could not find it in the menu.

You can use the Developer Tools (from Kiwi's 3-Dot-Menu) to see source, but it is not yet optimized for easy usage as of now.
Please close this issue if your question is answered therefore. @gokulraam

"View source" can also be accessed by opening the address bar and prefixing the current URL with view-source:.
Considering that DevTools is indeed implemented, I don't think that a View source menu would be worth it.
I'll close the issue, but feel free to express yourself if you have additional arguments and we might reopen it.


Useful links

Moving Accessible Web Pages from ESDC to DAT:
https://bati-itao.github.io/resources/bookmarks.html
Going to:
/en/bookmarks/
/fr/bookmarks/
In Progress by Kellyanne

https://deploy-preview-135--a11ycanada.netlify.app/en/bookmarks/


HSTracker Not tracking correctly

Thanks you for all the great work and the application.
I originally had version .13, a long time ago, when I was playing frequently.  This morning I tried updating from .13 to .16 directly from the menu option however it would never update completely.  It would download and then fail to install.  I then uninstalled version .13 and downloaded version .16 and following the instructions I unzipped the folder and placed the application in the appropriate application folder.  Every game I have tried to play so far nothing ever tracks.  My cards, opponent's cards, or even the turn timer.  I have tried both starting HSTracker before launching Hearthstone and starting Hearthstone before launching HSTracker.  I'm sure I'm missing something but after reading through past issues resolved I haven't found an answer.
Thank You Again

Are you sure you selected the right folder for Hearthstone ?

Right now I have selected for Hearthstone Directory:  /applications/hearthstone/logs

could you open a terminal and type
ls /Applications/Hearthstone then enter
Do you see some files or an error message ?

I see some files after entering that the command "Is /applications/Hearthstone"

Change the directory to the HS Logs folder: "/Applications/Hearthstone/Logs/Logs"
Restart HSTracker, change the directory back to HS's main folder: "/Applications/Hearthstone/Logs"

Changing between "/Applications/Hearthstone/Logs/Logs" and "/Applications/Hearthstone/Logs" did not resolve the problem.

I am having the same issue. I see the log files there but no  tracking done.

I'm having the same problem with not being able to get tracking
i get this message on console:
4/24/16 6:44:23.605 PM HSTracker[11272]: [HockeySDK] -[BITCrashManager invokeDelayedProcessing]/907 INFO: Start delayed CrashManager processing

Uninstalled version .16 and reinstalled version .14 unfortunately .14 did not work either.

With 0.16, could you

make sure you select The right Hearthstone folder (not logs)
close hstracker and hearthstone
delete ~/Library/Preferences/Blizzard/Hearthstone/log.config
restart HSTracker
restart Hearthstone

I cannot find ~/Library/Preferences/Blizzard/Hearthstone/log.config.  My library shows up as /library/application support/blizzard/hearthstone/

i'm having the same problem. i have followed your steps 1-5 but no dice.
maybe i'm not understanding what u mean by selecting the right hearthstone folder. do you mean where i place the HSTracker application? or something within the HSTracker application itself?
I've found and deleted log.config several times but to no avail.

I'm having the same issue too, can't track anything, so I just follow all the step recommend by bmichotte, and now the apps popup the notice as below, nothing happen even I keep try the reopen button.
HSTracker quit unexpectedly
Click Reopen to open the application again. Click Report to see more detailed information and send a report to Apple.
I try to select the Hearthstone folder in the apps, but it will auto change the folder to /Applications/Hearthstone/Logs
My OS is OS X El Capitan 10.11.4

@simtsang Could you open a terminal and type /Applications/HSTracker.app/Contents/MacOS/HSTracker then enter. Then, try to play and check if you have some logs in your terminal, it could help !

I try to select the Hearthstone folder in the apps, but it will auto change the folder to /Applications/Hearthstone/Logs

I have changed this (for the next release) as it cause troubles.
@NonTeoh you have to select the folder where your Hearthstone.app is (not HSTracker). If you use default battle.net installation, it's /Applications/Hearthstone

I set the folder to /Application/Hearthstone and it all looks ok, but next time I check it has been changed to /Application/Hearthstone/Logs. Is that expected/correct?

Update.
Downloaded version .16 (731).  I was unaware I had to show "hidden folders" to find ~/Library/Preferences/Blizzard/Hearthstone/log.config.  Once I figured this out I deleted the file in question and the tracker started to work.  Thanks again.

@bmichotte
Updated, and type the command already, result display
-bash: /Applications/HSTracker.app/Contents/MacOS/HSTracker: No such file or directory
and still can't see any tracking action, Reinstalled, but still error, any advise?

In the next release coming tonight (nearly 9pm here), I added some stuff which should help (hopefully).
Btw, please update as soon as possible (when the update will be available) and let me know if it helps

Running .16 and having the same issue with no tracking.  Ran the terminal to see if I could see anything come up in the logs, HS game was not open when starting, opened HS, then played one game, I swapped back and forth looking at the terminal every once in a while which shows up but noting other than the initial opening of the HS game from what I can see.  Hope this helps.
terminal log.docx

I tried the latest version with a Tavern Brawl and it successfully tracked the cards. I will try a normal game when I have time.

I've tried the 0.16 (749) version. It still does not track...I am not a coder, so I just screenshot the image I got here.

@bmichotte
Thanks for your prompt reply, but the tracker still can't work properly, nothing happen even after update to the latest version.
Beside, when I open deck manager and try to select a deck to play, the button of "use deck" have no response. Not sure is that relative to the error.
Anyway, look forward to the answer.

also unsure why each time i reopen HSTracker, it needs to re-download these
image files?
On Thu, Apr 28, 2016 at 11:43 PM, simtsang<EMAIL_ADDRESS>wrote:

@bmichotte https://github.com/bmichotte
Thanks for your prompt reply, but the tracker still can't work properly,
nothing happen even after update to the latest version.
Beside, when I open deck manager and try to select a deck to play, the
button of "use deck" have no response. Not sure is that relative to the
error.
Anyway, look forward to the answer.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/bmichotte/HSTracker/issues/366#issuecomment-215471817

@bmichotte Kind of follow-up about this issue, I tried your steps that you mentioned in #366 and it actually work, however, each time when a new game start, the Hearthstone app is totally frozen. I have to force quit the game and restart and sometime the tracker will work but sometime not.

None of the steps mentioned here fixed the issue for me.  However, based on another threadI tried switching languages and setting the hstracker game language to spanish ( mexico) with my actual language in english works.  Looks like maybe the languages aren't mapped correctly.

It has been working for me. Quit everything (Battle.NET, HS and HSTracker) and start them in this order:

HSTracker
Battle.NET
HS

Ok, it seems several users find the bug, or at least the workaround, which is close everything, then start in order HSTracker, Battle.net and finally Hearthstone.
Btw, I think I know why is causing the bug. In fact, Hearthstone never delete its log files himself, so if you let your Hearthstone goes and goes, the log file will grow untill several Mb. When HSTracker starts, it goes to the latest game you played. But if your logfile is very big, this can take a loooooonnnnnngggggg time.
When HSTracker is started first (and Hearthstone is not running), HSTracker delete those log file and then is ready to track. I guess I have to check and modify the code to try to delete the log file, even if Hearthstone is running, but I have to check if the log file is recreated while Hearthstone is already running.

Looks like Hearthstone recreate the log files whenever I delete them...

@bmichotte
I've tried every suggestion in every thread that seemed even remotely related.
I've deleted and reinstalled several times- I open in the correct order (but I've tried every combination)
I must be missing something fundamental.
I download the file.
Then I click on the download and give it permission
Then I open the finder to the applications folder
then I drag hstracker from the bottom bottom bar to the applications folder so that it adds
then I open battlement
then I press play for Hearthstone
am I missing something?

Deleting ~/Library/Preferences/Blizzard/Hearthstone/log.config and then running with /Applications/HSTracker.app/Contents/MacOS/HSTracker to see the logs worked for me 👍

ok, really new to Mac here-  how do you delete?
from Finder?
Frome terminal?

@JimmyThePenguin you can open a Finder, type cmd-shift-G then type ~/Library/Preferences/Blizzard/Hearthstone/. Your Finder will open the right folder

I have tried the workaround and I still don't get any tracking. Is there anything else I can do?
I could use the old versions fine up to 0.13.

For those running issues, could you try

close HSTracker and Hearthstone
open Finder
press ⌘⇧G
type ~/Library/Preferences/Blizzard/Hearthstone/
click "GO"
delete log.config
start HSTracker
start Hearthstone
play !

@bmichotte Thanks much. Worked perfectly.

Yep, just tried that and finally got it to work, thanks!.
Nice shiny new interface, too! :)

Well I appreciate all of your time and patience, but I have no idea what is wrong.
I followed those steps... even deleted hstracker deleted logs and reinstalled... I just can't get it to work  :(

I am not able to change the Hearthstone folder location. It is locked for me. How do I access it?

Still not working. Changed log.config console to true, then tried deleting the config. Neither works.
Process: Started HSTracker and selected the deck I wanted to try it with, then HS from battle.net.
Any more ideas on what's wrong? I've also done the same as Jimmy two posts above.
Thanks in advance. (10.10.5 rMBP 2015 / HSTracker 0.17 (769))

I am having the same issue. I can select my deck and have the decklist show on the right-hand size of the screen with the trackers for both friendly and enemy deck (how many cards left in the deck, probability, etc.), but these features remain static during a game and do not function as expected (not showing which cards I have drawn, for example).
I have tried closing both Hearthstone and HSTracker and deleting log.config in ~/Library/Preferences/Blizzard/Hearthstone/, restarting HSTracker and then Hearthstone, but the issue was not resolved. I tried deleting the HSTracker and reinstalling it and repeating the steps before (closing apps, deleting log.config, restarting apps), but the issue remained.
I am using Mac OS X El Capitan Version 10.11.6.
On Preferences -> the tab "Game":
Hearthstone directory: /Applications/Hearthstone
Decks backup directory: /Library/Application Support/HSTracker
Note: When trying to troubleshoot, I attempted changing the Decks backup directory to to ~/Library/Preferences/Blizzard/Hearthstone/. As that did not resolve the issue, I tried to reset all settings to default so that my decks backup directory has default setting, but I could not find the option to do so. I then looked up what the default setting for decks backup directory should be, and I find in another thread that it should be /Library/Application Support/HSTracker. However, I cannot find the folder "HSTracker" in /Library/Application Support/HSTracker.

same thing here /\

I had the issue again. Ran this in terminal to fix it:
rm ~/Library/Preferences/Blizzard/Hearthstone/log.config

same problem here !
rm ~/Library/Preferences/Blizzard/Hearthstone/log.config do not change anything :(

@ifeherva is actually working on a tools which help us to find and eventually correct this issue
In the same time, in HSTracker prefs, is the Hearthstone path followed by a V sign ?

Oui

Yes*

I seem to have the same problem. For some reason, the only logs that get produced on my machine are: ```ls /Applications/Hearthstone/Logs/
Achievements.log		Hearthstone Install Log.html
BattleNet.log


Additional updates for detecting a distributed scheduler

Following https://github.com/dask/distributed/pull/7482 we're no longer using the config system to say that a distributed scheduler is available. Almost all of the relevant changes needed here were included in https://github.com/dask/dask/pull/9808. This PR includes two similar updates (only noticed these because I saw related tests beginning to fail on main).
cc @fjetter for visibility

For reference, these are the test failures this PR is fixing
FAILED dask/tests/test_distributed.py::test_zarr_in_memory_distributed_err - Failed: DID NOT RAISE <class 'RuntimeError'>
FAILED dask/tests/test_distributed.py::test_to_hdf_distributed - UserWarning: Running on a single-machine scheduler when a distributed client is active might lead to unexpected results.

I'll plan to merge this PR after CI finishes so it can be included in the release later today

Going to go ahead and merge this so we can get the release out (all the macOS machines are currently occupied). This issue isn't mac-specific and was impacting other OS builds too. Given linux and windows builds have already passed, I have confidence this issue is also solved on macOS.


test docker for version TIF TIFF JPEG JPG ms.geojson support

test docker for version TIF TIFF JPEG JPG ms.geojson support

Issues on the way, refer to #68 #67

AIDE+MELCC-1.8 tag created and deployed. wait for GCP to be updated


Error during upload: TypeError: Images.write is not a function

I am getting error: Error during upload: TypeError: Images.write is not a function when trying to upload an image on server.
I am using:
ostrio:files
<EMAIL_ADDRESS>Server code:
export const insertImage = new ValidatedMethod({
  name: 'images.insert',
  validate: new SimpleSchema({
    file: { type: String },
  }).validator(),
  run({ file }) {
    console.log(file);
    Images.write(file, {
      fileName: 'sample.png',
      fielId: 'abc123myId', // optional
      type: 'image/png',
    }, function (error, fileRef) {
      if (error) {
        throw error;
      } else {
        console.log(`${fileRef.name} is successfully saved to FS. _id: ${fileRef._id}`);
      }
    });
  },
});

Client code:
  const images = document.querySelector('[name="images"]').files;

  if (images && images.length > 0) {
    const { doc } = component.props;
    const confirmation = doc && doc._id ? 'Document updated!' : 'Document added!';
    const upsert = {
      title: document.querySelector('[name="title"]').value.trim(),
      body: document.querySelector('[name="body"]').value.trim(),
      images: [],
    };

    if (doc && doc._id) upsert._id = doc._id;
    const imagesId = [];
    const reader = new FileReader();
    Array.from(images).map((image) => {
      reader.addEventListener('load', () => {
        insertImage.call({ file: reader.result }, (err, res) => {
          if (err) {
            console.log(`Error during upload: ${err}`);
          } else {
            imagesId.push(res.insertedId);
            if (imagesId.length === images.length) {
              upsertDocument.call(upsert, (error, response) => {
                if (error) {
                  Bert.alert(error.reason, 'danger');
                } else {
                  component.documentEditorForm.reset();
                  Bert.alert(confirmation, 'success');
                  if (upsert._id) browserHistory.push(`/documents/${response.insertedId}`);
                }
              });
            }
          }
        });
      }, false);
      reader.readAsDataURL(image);
    });

  }

https://imgur.com/a/bFf77
Thank you !

How did you define the Images collection?

Like this:
import { Meteor } from 'meteor/meteor';
import { FilesCollection } from 'meteor/ostrio:files';
import { BrowserPolicy } from 'meteor/browser-policy';

if (Meteor.isServer) {
  Meteor.startup(() => {
    BrowserPolicy.content.allowOriginForAll('blob:');
  });
}

const Images = new FilesCollection({ debug: true, collectionName: 'images',
  storagePath: () => {
    if (Meteor.isServer) {
      return process.env.PWD + '/uploads';
    }
    return '';
  },
});

export default Images;

Hello @badis

.write is Server only method, in your screenshot I see you're getting this error in a browser.
For file upload from Client (browser) you should use .insert() method
No need to protect storagePath with if isServer block as storagePath is not available on the Client

Hi @dr-dimitru . Thank you for your reply !

Yes, I am using .write in a Method definition only server (server code above). The error happened in server and returned to client in err argument. I displayed it in this line : console.log(Error during upload: ${err});
I am using react native and react-native-meteor package to communication with server. but for some reason I can't import and use a collection on mobile (client). so that's why I have used a method call on client to send base64 encoded file to server.
Because sometimes I use Images collection (in images.js) on web client. that's why I have add isServer to avoid issues.

So to resume, I am using : method.js (only server) . upsertDocument.js (only client) . images.js (Shared)

I need more info, please update with info from our issue template:

Version of Meteor-Files you're experiencing this issue
Version of Meteor you're experiencing this issue
Is it Client or Server issue (meteor --version)?
Post Client and/or Server logs with enabled debug option, you can enable "debug" mode in Constructor

@dr-dimitru  . I think I have made a mistake in Method calls. I will try again and let you know. Thank you !

@dr-dimitru . It is my mistake because i was importing method code in client side which is not good for my use case. So instead of doing this:
import { insertImage } from '../api/files/images/methods';
insertImage.call( { file: reader.result }, (err, res) => { ....

I should do this :
Meteor.call('images.insert', { file: reader.result }, (err, res) => { ...
So this answered my questions and I am able to send a base64 encoded file to server without errors.
But I am encountering 3 other issues.
I will try to describe them in new issue.

Feel free to close it in case if the issue is solved. ty.


[CI] Rotate access keys for uploading MacOS artifacts from Travis CI

@trivialfis

@hcho3 Do we need to change the github action too https://github.com/dmlc/xgboost/runs/3695362969 ?

No.

This one is also failing https://github.com/dmlc/xgboost/runs/3695362681

@trivialfis Ah, I will need to issue a new cred for GitHub Actions as well. Let me do that now.


[BEAM-7775] remove obsolete  performance test jobs

As discussed on devlist, these jobs are obsolete, not maintained and should be deleted.
R: @lukecwik, could you take a look, please?

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

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

Changing reviewers, @aaltay or @chamikaramj could you take a look?


fix For "CdpPage.querySelector is not a function"

I have the same issue.
I would greatly appreciate it if this could get merged. Thank you 😃

hey @fnava621 I notice this issue is fixed. I tested on my end. You can run composer update and if you are using supervisor you can restart supervisor to make it work.
I am going to close this issue

i still getting same error "CdpPage.querySelector is not a function"

i fixed on composer.json i moved from latest release to dev-zoon branch, @xtrime-ru i think it would be good if we can have a new release :smiley:

Made a release, thanks for remind.


Does the bot skip the post if it is already liked or commented?

Can we check if the user has already liked/commented on a post and skip it after it is opened? Could such a feature be added? this would be really helpful.

I had thought of that! hehe 🤣
I got it here and I will commit!
Thank you very much for evaluating my code, I started programming this month, having this feedback gives me more encouragement!

DONE! Another day I will refactor to make it cleaner! 😁

Also I have noticed that sometimes the generated comment only includes x, y or z and not a combination of xy, yz, or xz.
One more suggestion would be to put the bot to sleep for a random amount of time and be able to choose random action for every post, lets say on first post it likes, on second it will comment, on another it will like and comment and so on. I think this way it will be more human.
I the bot interacts for 15 minutes with 2 to 3 minutes sleep between each interaction, we get an average of 6 to 7 interactions after which the bot can go sleep from 5 to 15 minutes again then continue. I am not sure how safe this would be but as long as the amount of interactions are very slow, instagram cannot detect it.

About the combination xy, xz, etc ... I'm having problems with Chrome, this doesn't usually happen in firefox = /

I'll add this new random + sleep mode to the list of new features! Thank you!

And I also noticed that since I ran the bot last night, I cannot open the hashtag page for some reason, it always shows error 501 on chrome. I will try this with firefox and see what happens there.

I've been having this problem with hashtags since yesterday! I've tried to log into other computers and other accounts, but .... the problem continues, I think it might be something from Instagram... My friends are having the same problem ...

https://www.reddit.com/r/Instagram/comments/isvpu9/explore_page_not_working_on_browser/
🤔

I hope its not down for forever Lol.

Seems like the hashtags page is working again.

Finally 🙌🏻 hahahaha

It seems like commenting is not working after the new changes. Only likes

Like + comment mode - makes the first comment after giving 10 likes

like mode - just 'like' every 1-2 min

Comment mode - only comments every 6 to 10 minutes

it's working here = /
Arriving home, I will test on the other computers.
(but I only tested it on Firefox)

Yes its working, I am using firefox now. Works better I guess


Strongly recommend remove felixfbecker/* from PHP Pack vscode recommends, and replace to bmewburn/vscode-intelephense instead

As many PHPers' experience, felixfbecker's intellisense extension has many troubles that bmewburn/vscode-intelephense do not has:

Architectural defect

CPU bound, because felixfbecker extension is using php-written language server, which have so many synchronize and blocking internal functions. what issue that can cause? for example: you are trying auto complete one class, and the same time you can't using other function if your cpu is only one thread.
Memory pollution, when one thread exceptions, you have highly possibility lost communication with the vscode extension before you restart extension host.

Function missing

felixfbecker do not support @property annotation, @mixin annotation, and do not support intellisense other annotations' class.
felixfbecker is not including format code function.
felixfbecker is not including $var referenced or not checking function.

Out of maintained. felixfbecker's last release is three months ago, and there are 203 issues(server + vscode-ext) remaining. but bmewburn is 59 issues instead(including long time ago needs more info labelled issues)

As the reasons upon, I'm here, highly recommending vscode maintainers to try these two extensions, and then considering am i right to complain upon words.

VS Code now also recommends bmewburn/vscode-intelephense.


Training spec

I have question about training spec of your model. I want to know about sequence length, batch size, training time, GPU type, # of GPU, # of training samples,  and loss
You looks like acquire 3.7 loss. Could you describe the parameter of training to acquire those performance?
https://github.com/affjljoo3581/GPT2/blob/71ebf9105be828337463cd34bbf6252414620aae/src/gpt2/train_model.py#L93
Are these parameters used to get the loss ?

I'm sorry but I cannot remember the detailed training configurations for the example loss figure described in README:

But I can share the other training result with its configurations. It should be helpful!
Dataset

I constructed a custom Korean dataset collected from several platforms. The total size of the raw text file is about 30GB and it contains about 5.04B tokens.
The vocabulary size is 32000 and unk-ratio is 0.00005.
The number of tokens in each sequence is less than 512. (seq_len = 512)

Model

The model consists of 24 transformer-encoder layers and the dimensionality of hidden units is 1024. The total parameter size is 304M.

Environment

The model was trained for 8 epochs, on 2 x Tesla V100 GPUs.
The entire training spent about 24 days.

Result

test loss: 3.2398
test perplexity: 25.5819

Thank you!


Storage optimisation with xdmf files

Change from pvd files to xdmf files in order to save space

This could be done by putting all the solution in one pvd file.

Done in #24


Running node with invalid parameters/settings cause crash

dotnet run -datadir=xyz
if xyz does not exist, the application crashes. This does not sound very nice towards the user.
In general I think the user should never see exception and app crash even if it is their fault. Similar thing happens when you use -port and the port is already used by another application. The app crashes, and the user sees a lot of information they are probably not interested in, instead of "this port is in use" or "this directory does not exist" etc.

Sounds like a task for the board

Agreed, we should just stop execution and show a helpful message.
https://trello.com/c/82aV0442/192-nodesettings-running-node-with-invalid-parameters-settings-cause-crash

 [NodeSettings] Running node with invalid parameters/settings cause crash

#707 solves part of this, we still have exceptions when there is port collision (could probably be any kind of port like main port, api port, rpc port)

also we could improve on telling the user, which setting was wrong:
There was a problem in the arguments passed. Details: 'Value was either too large or too small for an Int32.'
this just tells us that some value was wrong ...

@Aprogiena good points mate. I'm looking at the config folder at the moment, trying to make the settings stuff more robust and more readable.

This whole thing is being refactored by @quantumagi at the moment so I'm closing this.


[Dewhale] implements #8

[Dewhale] This PR implements #8, created by Dewhale.

[Dewhale]: Based on the image you've provided, I'll create a static React JSX prototype for an exchange rate site. The prototype will include a header, a currency converter section, and a footer with a call-to-action. Please note that the actual conversion functionality and dynamic data fetching are not included in this static prototype.
This code provides a layout similar to the one in the image, with a header, a currency converter form, and a footer section. The converter form includes input for the amount and dropdowns for selecting the currencies. The actual conversion logic and dynamic data handling would need to be implemented for a fully functional site.


As a developer, I want to add error handling to the transaction pool, so the node becomes more stable

Update (19.8.2024):

Added basic error handling for invalid transactions (node will still panic on implementation errors or bugs)
Fixed 2 inconsistencies with ocaml

BadToken -> UnwantedToken
flipped drop/keep queue when replacing tx (wrongly flipped last time)

TODO: Writing tests from tx-pool in testing framework


Calibration problem D457

|---------------------------------|------------------------------------------- |
| Camera Model                       | { D457 } |
| Firmware Version                   | (<IP_ADDRESS>) |
| Operating System & Version |  Ubuntu 18.04  |
| Kernel Version (Linux Only)    |  (e.g. 4.14.13)                                         |
| Platform                                 | PC  |
| SDK Version                            |  2.53.1 }                          |
Issue Description
Hi, I bought a RealSense D457 (USB 3.2) recently and prepared to calibrate the camera. I downloaded the "Librscalibrationtool" tool but when the tool was started, the default resolution is 1280720. But in my case, I hope to calibrate the camera in 640480 resolution. I would appreciate it if you could give me some suggestions about how to change the default resolution when I open Dynamic Calibrator v2.12.

Hi @lpj20 You do not need to select a resolution when using the RealSense calibration tools. RealSense will make the appropriate adjustments automatically when you change resolution.
If you launch the 'rs-enumerate-devices' tool in calibration mode in the Ubuntu terminal with the command below then it lists the calibration intrinsics for each supported stream format and resolution on the camera that is plugged in, and you can see that the calibration values differ between resolutions.
rs-enumerate-devices -c

Great, @MartyG-RealSense. But I have two other questions.
The first one is that I got five coeffs results in the terminal, are that mean k1, k2, t1, t2, k3, respectively?
The second one is that the result returned from "rs-enumerate-devices -c" is different from the result I got by command "rostopic echo /camera/color/camera_info". For example, the fx, fy results from "rs-enumerate-devices -c" are 388.769 and 388.275(left pic), and the results from "rostopic" are 388.980 and 388.486(right pic). Therefore, I am wondering why there is a difference between the two results and which one is correct. Thank you very much.

For the Brown-Conrady distortion model used by RealSense 400 Series cameras, the five coefficients are listed as k1, k2, p1, p2, k3.  The link below states that different distortion models have different interpretations of the five coefficients.
https://intelrealsense.github.io/librealsense/doxygen/structrs2__intrinsics.html#acc6966b80705aa25f3b6903d173d575c
ROS may report the distortion model's name as being Plumb Bob, and RealSense ROS users at https://github.com/IntelRealSense/realsense-ros/issues/709 suggest that Plumb Bob is equivalent to the Brown-Conrady distortion model reported by rs-enumerate-devices -c.
I recommend using the values provided for Brown-Conrady by rs-enumerate-devices, as it is an official tool designed specifically for RealSense cameras.

For the Brown-Conrady distortion model used by RealSense 400 Series cameras, the five coefficients are listed as k1, k2, p1, p2, k3. The link below states that different distortion models have different interpretations of the five coefficients.
https://intelrealsense.github.io/librealsense/doxygen/structrs2__intrinsics.html#acc6966b80705aa25f3b6903d173d575c
ROS may report the distortion model's name as being Plumb Bob, and RealSense ROS users at IntelRealSense/realsense-ros#709 suggest that Plumb Bob is equivalent to the Brown-Conrady distortion model reported by rs-enumerate-devices -c.
I recommend using the values provided for Brown-Conrady by rs-enumerate-devices, as it is an official tool designed specifically for RealSense cameras.

@MartyG-RealSense.
① I know the Plumb Bob results seem to be equivalent to that of the Brown Conrady in distortion model (you can see in the last pic.). But there are large differences between fx,fy, ppx and ppy. These parameters seem irrelevant to the distortion model, why cause that?
② When I used the D457 camera, the Viewer shows device was D455, is that OK? Thank you!

The RealSense SDK does not use the 5 coefficients when estimating fx, fy, ppx and ppy - as advised by a RealSense team member at https://github.com/IntelRealSense/librealsense/issues/1430 - and so the coefficients will indeed be irrelevant to the distortion model.
As mentioned above, if you have two sets of different values (one set from from official RealSense tools such as rs-enumerate-devices and another set from tools not specific to RealSense, such as ROS) and are in doubt about which set is correct then rely on values from official RealSense tools that can access the calibration data stored inside the camera hardware.
In regard to the D457 being detected as D455 when its mode switch is set to USB, this is correct and normal.  A D457 in USB mode has the same performance and feature-set as a D455, with the added IP65 dust and water protection provided by its casing.

The RealSense SDK does not use the 5 coefficients when estimating fx, fy, ppx and ppy - as advised by a RealSense team member at #1430 - and so the coefficients will indeed be irrelevant to the distortion model.
As mentioned above, if you have two sets of different values (one set from from official RealSense tools such as rs-enumerate-devices and another set from tools not specific to RealSense, such as ROS) and are in doubt about which set is correct then rely on values from official RealSense tools that can access the calibration data stored inside the camera hardware.
In regard to the D457 being detected as D455 when its mode switch is set to USB, this is correct and normal. A D457 in USB mode has the same performance and feature-set as a D455, with the added IP65 dust and water protection provided by its casing.

@MartyG-RealSense Thank you for your patience :)


zsh: command not found

I'm trying to use this terminal in a Rails project and when I run any command like:
bundle exec rails server
bundle install
I get somethin like:
zsh: command not found: bundle
If I run rails server without bundler I get
/usr/bin/env: ruby: No such file or directory
As you can see I also use oh-my-zsh.
Any ideas?

@siklodi-mariusz Some questions I have so I can figure out why this is happening:

What OS are you operating from?
Which shell are you currently using? (You can check by going into the package settings and seeing what the default is for Shell Override)

Sorry ,I forgot about the OS. I use Ubuntu 14.04
And yes bundle works in the system's terminal, I also have the zsh plugin for bundler which has some aliases that make bundle install become bi and so on. In my system's terminal bought work.

So your aliases aren't appearing either? May I ask which zsh profile file
you are putting your alias settings in?
On Thu, Sep 17, 2015, 12:19 AM siklodi-mariusz<EMAIL_ADDRESS>wrote:

Sorry ,I forgot about the OS. I use Ubuntu 14.04
And yes bundle works in the system's terminal, I also have the zsh plugin
for bundler which has some aliases that make bundle install become bi and
so on. In my system's terminal bought work.
—
Reply to this email directly or view it on GitHub
https://github.com/jeremyramin/terminal-plus/issues/8#issuecomment-140990223
.

The plugins are configured in ~/.zshrc. I don't think the plugins are the problem because I also have plugins for git and rvm and they work.

If you enter the alias command, do you see your aliases? It might not be
loading your zsh profile.
On Thu, Sep 17, 2015, 2:16 AM siklodi-mariusz<EMAIL_ADDRESS>wrote:

The plugins are configured in ~/.zshrc. I don't think the plugins are the
problem because I also have plugins for git and rvm and they work.
—
Reply to this email directly or view it on GitHub
https://github.com/jeremyramin/terminal-plus/issues/8#issuecomment-141019542
.

Yes I do see them, alias | grep bundle returns this plus other commands.
bcn='bundle clean'
be='bundle exec'
bl='bundle list'
bo='bundle open'
bp='bundle package'
bu='bundle update'

In your regular terminal if you type which bundle, what location does it give you?
You can check the path variable (echo $PATH) in the Terminal-Plus terminal to see if that path is there.

Yep, this is the problem. When I run which bundle in my system's terminal I get: /home/mariusz/.rvm/gems/ruby-2.2.2/bin/bundle and the path is also present in $PATH.
The thing that this changes when I change the ruby version an gemset with rvm.
In Terminal-Plus when I echo $PATH I don't have that path, I have this:
/home/mariusz/npm-global/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/mariusz/.rvm/bin

Okay so it loads the aliases but it isn't resolving the PATH properly. In Terminal-Plus can you run the command zsh --login. If that doesn't work then zsh -l might be it. That would place you in a new zsh shell. Check PATH once more in this new shell instance please.

Yep, this works.

So this fixes the issue? Fantastic. Did you end up using --login or -l?

Yes it works all the comands seem to work fine. I used --login
So is this is? I just have to run this command after I open a termina-plus?
If I remember right I saw something in the settings of Terminal-plus an option to run a command when an instance was open but I can't find it now. It was removed?

The option to add Shell Arguments should be there. I was actually going to include the command myself because it should do this by default.

Ok, something else must be wrong because the only options I have are the colors.

Oh, that's not good. What version of atom are you on?

1.0.2

Ah yes. There was a bug in atom for settings configurations like in Terminal-Plus. It was fixed by Atom version 1.0.8. Updating will fix the settings issue.

Ok, great. Thank you very much for your help and for this great terminal package!

Thank you for being patient with me while working out the issues. I hope you continue to enjoy the package.

c44b6622bf76db7bda026831d0e2c35d5e7bfc54 fixes this issue.
Released in v0.4.1


read_at_*

I added the read_at_c and read_at_all_c based on your implementation, there're only a few minor changes in my implementation.
I followed the idea we discussed on testing read functions: I remove the MPI_MODE_DELETE_ON_CLOSE in original test so the that file will be kept for testing. All tests are passed by the end.
While I'm testing my work, I removed the tests/sendrecv.cxx in CMakeLists.txt because I sometimes get the "out of memory" error (killed a process), but I didn't commit that change, I don't think it's necessary.

Thanks, Penfei. Please fix the issues I marked above.

perfect, thank you.


WebView in ContentDialog does not work.

Describe the bug
links buttons in webview are not clickable.
Steps to reproduce the bug
1, run the demo in release mode.
2, click links in webview (not clickable).
3, after remove <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />, it works.
BUG.zip
Expected behavior
No response
Screenshots

NuGet package version
Microsoft.UI.Xaml 2.7.0
Windows app type

[X] UWP
[ ] Win32

Device form factor
Desktop
Windows version
October 2020 Update (19042)
Additional context
No response

Reporting two unrelated thing as one bug.
I can't replicate the WebView bug mentioned in the title on Windows 11. In seems to be behaving correctly and opening the links in the browser. It is possible that you have uninstalled Edge, which could create problems like the one you are seeing.
The ContentDialog not changing size is not a bug with WinUI2 or the System XAML. In fact it is working as you asked. Maybe don't set the MaxWidth of the ContentDialog.

after maximized:

@chingucoding HELP PLEASE.

So it seems that the corner radius being set with the WinUI styles is causing this issue. If you add the following to your ButtonBase_OnClick function before opening the content dialog, it works (note that you need to use the API contract since CornerRadius is not available on every Windows 10 version):
if(ApiInformation.IsApiContractPresent("Windows.Foundation.FoundationContract", 7))
{
    _verificationDialog.CornerRadius = new CornerRadius(0);
}

So it seems that the corner radius being set with the WinUI styles is causing this issue. If you add the following to your ButtonBase_OnClick function before opening the content dialog, it works (note that you need to use the API contract since CornerRadius is not available on every Windows 10 version):
if(ApiInformation.IsApiContractPresent("Windows.Foundation.FoundationContract", 7))
{
    _verificationDialog.CornerRadius = new CornerRadius(0);
}

when will you fix it please?

@HppZ I am not working for Microsoft so I can't tell you when this will be fixed. The problem is that the issue probably somewhere in WebView which means there isn't much one can do here beside using the workaround.

@HppZ I am not working for Microsoft so I can't tell you when this will be fixed. The problem is that the issue probably somewhere in WebView which means there isn't much one can do here beside using the workaround.

@chingucoding Thank you.

This is a duplicate of https://github.com/microsoft/microsoft-ui-xaml/issues/5299  The issue is in system xaml and has been fixed for later versions of windows however is still present for some Win10 versions. Resolving this issue is challenging and Chingucoding's suggestion of removing the corner radius is the best work around we have.


JSON Array not converted into Dart List in Dartium

Scenario: I receive JSON data from a server through a HttpRequest. This JSON data is a top-level array similar to below:
[
  {
    "key": "value"
  },
  {
    "key": "value"
  }
]

Under Dartium (and IntelliJ), the data I get back in my Dart code is of class JSArrayImpl and each of the  objects inside the array are of type JSObjectImpl.
To temporarily fix this, I've had to wrap the data I send from the server so the JSON is an object and not an array.
Dartium Version: 45.0.2454.0 (64-bit)
Dart SDK: Dart VM version: 1.15.0 (Wed Mar  9 09:55:45 2016) on "macos_x64"
Angular2: Angular2 Beta 13.
Mac OS X 10.11

JsArrayImpl implements list, so that should be fine. New JS Interop by default wraps things as opaque JS  objects, but if we know we're expecting JSON back we should convert to a Map. May just need to insert a serializedScriptValue or other conversion on that.

This is an issue of us missing a call to
convertNativeToDart_SerializedScriptValue in the latest version of
dart:html in Dartium.
While JSArrayImpl implements list, the elements will be opaque typed JS
interop objects instead of the Map objects you are looking for.
On Thu, Apr 7, 2016 at 9:50 AM, Alan Knight<EMAIL_ADDRESS>wrote:

JsArrayImpl implements list, so that should be fine. New JS Interop by
default wraps things as opaque JS objects, but if we know we're expecting
JSON back we should convert to a Map. May just need to insert a
serializedScriptValue or other conversion on that.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/dart-lang/sdk/issues/26209#issuecomment-206989643

This should be  fixed in Dartium dev 1.16.04 assuming you are referring to
accessing the response field of the HttpRequest.
If you are still seeing an issue with 1.16.04, file a bug with a repro and
I will investigate further.
https://www.dartlang.org/downloads/archive/
On Thu, Apr 7, 2016 at 9:58 AM, Jacob Richman<EMAIL_ADDRESS>wrote:

This is an issue of us missing a call to
convertNativeToDart_SerializedScriptValue in the latest version of
dart:html in Dartium.
While JSArrayImpl implements list, the elements will be opaque typed JS
interop objects instead of the Map objects you are looking for.
On Thu, Apr 7, 2016 at 9:50 AM, Alan Knight<EMAIL_ADDRESS>wrote:

JsArrayImpl implements list, so that should be fine. New JS Interop by
default wraps things as opaque JS objects, but if we know we're expecting
JSON back we should convert to a Map. May just need to insert a
serializedScriptValue or other conversion on that.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/dart-lang/sdk/issues/26209#issuecomment-206989643


InputAdornment and TextField label prop strange interaction

I am using startAdornment on a TextField component, similar to the autocomplete demo, but I would like the label prop to fall over the box when the field is unfocused like plain TextField components.
I tried adding a flag if the array of startAdornments is zero here, but that caused a strange interaction with the label after an adornment is added.

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Label should be held up when adornment object(s) is/are present
Label should be allowed to collapse when adornment is not present

Current Behavior

Label is collapsing behind the startAdornments
Steps to Reproduce

type something into the top text field
Hit enter
click away from the text field

https://codesandbox.io/s/9jo1q35m7o

Tech
Version

Material-UI
v3.2.2

React
16.4.0

Browser
chrome 67

I noticed this a while back, the current Material UI spec looks like this:

@izyb is this what you mean?

@joshwooding I'm more interested in adding stuff in front of the "Input text" in the above picture (I still want the label to rest above my adornments and not move as I add more) but you do raise a good point in that the adornments should be placed as shown if we are to follow the material design spec.

So it looks like the FormControl component sets the adornedStart property in its constructor only. Adding tracking to this property in checkDirty or some other update handler would resolve this issue.

I'm closing as it didn't get much traction since last year. Thanks for the discussion.


NPFS_012

This document does not require the use of profile tags to identify compliant resources. Use of profile tags will also allow the File Consumer to search just for resources that matches this profile in a FHIR Server that store different types of resources. Readers are required to provide feedback on this topic.

profile tagging should not be used for searching. The elements of the DocumentReference are sufficient to find what any client needs to find. If they are not sufficient, then the NPFS constraints need to be improved.


Fix missing RBAC permissions for Istio 1.8

Q
A

Bug fix?
yes

New feature?
no

API breaks?
no

Deprecations?
no

License
Apache 2.0

What's in this PR?

When trying to create a new Isito 1.8 based istio operator using these helm charts we are getting the following failure:
clusterroles.rbac.authorization.k8s.io "istio-reader-cp-v18x-istio-system" is forbidden: user "system:serviceaccount:istio-system:istio-operator-v18x" (groups=["system:serviceaccounts" "system:serviceaccounts:istio-system" "system:authenticated"]) is attempting to grant RBAC permissions not currently held:
{APIGroups:["authentication.istio.io"], Resources:["*"], Verbs:["get" "watch" "list"]}
{APIGroups:["config.istio.io"], Resources:["*"], Verbs:["get" "watch" "list"]}

This patch ensures that we are giving the istio-operator to provision 1.8 based Istio control planes too.

#620 should solve the root cause of this.


TCE Blog post of Technical Architecture

Feedback
TCE blog post on the technical architecture for our website.

We're way past this point and some other thing happened in its place!


Feature/98 add standard exception handling

Not directly related, but is there a reason other exception fields (such as StatusCode) are private? We could change it in this PR as well?


EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000 in NowPlayingInfoController.set (IOS)

Configuration
Run react-native info in your project and share the content.
  React Native Environment Info:
    System:
      OS: macOS 10.14.5
      CPU: (8) x64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
      Memory: 4.32 GB / 16.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.15.2 - /usr/local/bin/node
      Yarn: 1.12.1 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
      Android SDK:
        API Levels: 14, 15, 23, 25, 26, 27, 28
        Build Tools: 26.0.2, 27.0.3, 28.0.2, 28.0.3
        System Images: android-24 | Google APIs Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-26 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom
    IDEs:
      Android Studio: 3.3 AI-182.5<IP_ADDRESS>64788
      Xcode: 10.2/10E125 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.6.3 => 16.6.3
      react-native: 0.59.4 => 0.59.4
    npmGlobalPackages:
      react-native-cli: 2.0.1

What react-native-track-player version are you using?
1.1.4
Issue

In fabric I see crashes that look like this. I am not able to repro this locally but does happen in production.
Crashed: com.facebook.react.TrackPlayerModuleQueue
0  libswiftCore.dylib             0x2414c27ec swift_isUniquelyReferenced_nonNull_native + 10
1  AmharicRadio                   0x100d08000 specialized Dictionary.subscript.setter + 2898568
2  AmharicRadio                   0x100cdeb60 NowPlayingInfoController.set(keyValue:) + 2729448
3  AmharicRadio                   0x100ce8cd4 AudioPlayer.updatePlaybackValues() + 2770780
4  AmharicRadio                   0x100ce8e58 AudioPlayer.AVWrapper(didChangeState:) + 2771168
5  AmharicRadio                   0x100d08fec AVPlayerWrapper.state.setter + 2902644
6  AmharicRadio                   0x100cebe70 AVPlayerObserver.handleTimeControlStatusChange(:) + 2783480
7  AmharicRadio                   0x100ceb520 AVPlayerObserver.observeValue(forKeyPath:of:change:context:) + 2781096
8  AmharicRadio                   0x100ceb694 @objc AVPlayerObserver.observeValue(forKeyPath:of:change:context:) + 2781468
9  Foundation                     0x214344b08 NSKeyValueNotifyObserver + 288
10 Foundation                     0x214346e9c NSKeyValueDidChange + 364
11 Foundation                     0x2143443bc NSKeyValueDidChangeWithPerThreadPendingNotifications.llvm.9306004367141260615 + 140
12 AVFoundation                   0x219802224 -[AVPlayer runOnIvarAccessQueueOperationThatMayChangeCurrentItemWithPreflightBlock:modificationBlock:] + 672
13 AVFoundation                   0x219806adc -[AVPlayer replaceCurrentItemWithPlayerItem:] + 232
14 AmharicRadio                   0x100d0a174 AVPlayerWrapper.load(from:playWhenReady:) + 2907132
15 AmharicRadio                   0x100ce7d90 AudioPlayer.load(item:playWhenReady:) + 2766872
16 AmharicRadio                   0x100d0ed28 QueuedAudioPlayer.add(items:playWhenReady:) + 2926512
17 AmharicRadio                   0x100cf617c RNTrackPlayer.add(trackDicts:before:resolve:reject:) + 2825220
18 AmharicRadio                   0x100cf6898 @objc RNTrackPlayer.add(trackDicts:before:resolve:reject:) + 2827040
19 CoreFoundation                 0x213900900 invoking + 144
20 CoreFoundation                 0x2137e24d0 -[NSInvocation invoke] + 292
21 CoreFoundation                 0x2137e3104 -[NSInvocation invokeWithTarget:] + 60
22 AmharicRadio                   0x1009c0b78 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 95624
23 AmharicRadio                   0x100a00154 facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&) + 355172
24 AmharicRadio                   0x1009ffeb4 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 354500
25 libdispatch.dylib              0x213338a38 _dispatch_call_block_and_release + 24
26 libdispatch.dylib              0x2133397d4 _dispatch_client_callout + 16
27 libdispatch.dylib              0x2132e2320 _dispatch_lane_serial_drain$VARIANT$mp + 592
28 libdispatch.dylib              0x2132e2e3c _dispatch_lane_invoke$VARIANT$mp + 428
29 libdispatch.dylib              0x2132eb4a8 _dispatch_workloop_worker_thread + 596
30 libsystem_pthread.dylib        0x213519114 _pthread_wqthread + 304
31 libsystem_pthread.dylib        0x21351bcd4 start_wqthread + 4
Code
Show us the code you are using

Same.
This is the biggest issue in my app now.
Sadly, I don't know how to reproduce it either.
It looks like multi-thread access to Dictionary makes this crash, but I'm not sure and not familiar with the code.

I'm getting similar crashes, only on device with iOS 13.
Crashed: com.facebook.react.TrackPlayerModuleQueue
0  libswiftCore.dylib             0x191f68b00 swift_isUniquelyReferenced_nonNull_native + 38
1  TruthForLife                   0x102facb64 NowPlayingInfoController.set(keyValue:) (<compiler-generated>)
2  TruthForLife                   0x102facd74 protocol witness for NowPlayingInfoControllerProtocol.set(keyValue:) in conformance NowPlayingInfoController (<compiler-generated>)
3  TruthForLife                   0x102fb99ec AudioPlayer.AVWrapper(didChangeState:) + 321 (AudioPlayer.swift:321)
4  TruthForLife                   0x102fcb980 AVPlayerWrapper._state.setter (<compiler-generated>)
5  TruthForLife                   0x102fc9dc0 AVPlayerObserver.observeValue(forKeyPath:of:change:context:) + 114 (AVPlayerObserver.swift:114)
6  TruthForLife                   0x102fc9f48 @objc AVPlayerObserver.observeValue(forKeyPath:of:change:context:) (<compiler-generated>)
7  Foundation                     0x184b1b11c NSKeyValueNotifyObserver + 292
8  ???                            0x260e730184b1d200 (Missing)
9  ???                            0x1c2b058184b1a900 (Missing)
10 ???                            0x0 (Missing)
11 ???                            0x2a69e9018e95fa00 (Missing)
12 ???                            0x5153e08102fcd000 (Missing)
13 TruthForLife                   0x102fb8bb4 AudioPlayer.play() + 189 (AudioPlayer.swift:189)
14 TruthForLife                   0x102fdb0f4 specialized RNTrackPlayer.play(resolve:reject:) + 439 (RNTrackPlayer.swift:439)
15 TruthForLife                   0x102fd43f8 @objc RNTrackPlayer.removeUpcomingTracks(resolve:reject:) + 1823540
16 CoreFoundation                 0x18476c724 __invoking___ + 148
17 ???                            0x0 (Missing)
18 ???                            0x0 (Missing)
19 ???                            0x3762750102e2de00 (Missing)
20 TruthForLife                   0x102e6bba8 facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&) + 104 (RCTNativeModule.mm:104)
21 TruthForLife                   0x102e6b908 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 365 (Optional.h:365)
22 libdispatch.dylib              0x18440bbb0 _dispatch_call_block_and_release + 32
23 ???                            0x0 (Missing)
24 ???                            0x293a2b8184413400 (Missing)
25 ???                            0x5e38650184414000 (Missing)
26 ???                            0x71123b818441d000 (Missing)
27 ???                            0x1143ed8184472b00 (Missing)
28 ???                            0x0 (Missing)

Just to give an update, we are able to properly reproduce this issue in our app.
It only crashes when the audio is local, not streaming. We play audio, force quit the app. After opening up the app and playing that same file again, when resuming, it crashes. Here is the code for resuming:
export const streamPlay = (mediaInfo, resuming = false) => {
  if (mediaInfo.resumeAt && !resuming) {
    const resuming = async () => {
      let state = await TrackPlayer.getState();
      if (state !== TrackPlayer.STATE_READY) {
        resuming();
      } else {
        await TrackPlayer.seekTo(mediaInfo.resumeAt);
        await TrackPlayer.play();
        return;
      }
    };
    resuming();
  } else {
    TrackPlayer.play();
  }
};

Removing ! was not the solution, still got one crash today, but what did work was adding playerObserver.stopObserving() in AVPlayerWrapper.swift's reset method which gets called on stop().
It removed the data race warning, it might also fix the crash.
I am just not sure what's the root cause, the stopObserving is already being called inside the startObserving and startObserving gets called when the asset is loaded in the closure of loadValuesAsynchronously.
If anyone can come up with an explanation that would be better, I'll try to create a repo for reproduction.
Data Race while accessing NowPlayingInfoController's set method

try
public func set(keyValue: NowPlayingInfoKeyValue) {         DispatchQueue.main.async { [weak self] in             self!._info[keyValue.getKey()] = keyValue.getValue()             self!._infoCenter.nowPlayingInfo = self!._info         }     }

try this
`
public func set(keyValue: NowPlayingInfoKeyValue) {
DispatchQueue.main.async { [weak self] in
self!._info[keyValue.getKey()] = keyValue.getValue()
self!._infoCenter.nowPlayingInfo = self!._info
}
}
`

Did anyone test @banshiAnton's solution? @nishanBende you gave it a thumbs up - did it help prevent your crashes?

@puckey Yes, i haven't seen a single crash after adding this.
I even changed below as I was getting setRate in crash logs but it was done earlier and I think your change would be enough as set was the last function in every crash log stacktrace.
  @objc(setRate:resolver:rejecter:)
    public func setRate(rate: Float, resolve: RCTPromiseResolveBlock, reject: RCTPromiseRejectBlock) {
        print("Setting rate to \(rate)")
        player.rate = rate
        DispatchQueue.main.async {
            self.player.rate = rate
        }
        resolve(NSNull())
    }

Fix released in 1.2.4


Better cache busting when using dependency-versions: 'highest'

Better cache busting when using highest dependency versions
Using dependency-versions: 'highest' is the equivalent to running composer update, ensuring the latest versions of these dependencies are always used.
When it comes to cache keys, the key is unaware of when updates are available since the composer.(json|lock) files (hashed and used as part of the cache key) are not always updated to reflect these changes (the benefit of using highest is you don't have to).
Background/problem
If a project goes a long time without updating their composer.(json|lock) files, it's possible that the cache restored could become really outdated This reduces the benefit of the cache since update will need to pull new versions every workflow run.
Proposal/solution
One way to fix this could be to include a date in the cache key when using highest. In WordPress/wordpress-develop, we chose to use the date for the previous Monday to ensure the cache was refreshed at least once a week.

May I suggest a slightly more flexible solution ?
You can currently already set a custom cache key, but that is cumbersome as the basic cache key used in the ramsey/composer-install action is pretty good to begin with.
What about having an option to set a custom-cache-extra parameter which would be added to the cache key currently in use ?
That way each project could decide for themselves what would be a reasonable additional parameter to use. WordPress can use the date of a week ago, but another project may want to set this to a month ago or even to something completely unrelated to dates, like the current branch name for long-running branches.
How does that sound ?

What about having an option to set a custom-cache-extra parameter which would be added to the cache key currently in use ?

That sounds great!

FYI: I've got a PR for this ready, but CI needs to be fixed first as otherwise the build will fail no matter what, see #236 and #237.


Getting started: quick note about "cargo install cargo-binutils"

I'm motivated to post this to help with the "on-boarding".
Instructions say to run:
$ cargo install cargo-binutils rustfilt

Not sure exactly why, but this failed for me with:
error: failed to compile `cargo-binutils v0.3.6`

Caused by:
  package `cargo-platform v0.1.8` cannot be built because it requires rustc 1.73 or newer, while the currently active rustc version is 1.66.0-nightly
  Try re-running cargo install with `--locked`

I happened to have nightly-2022-10-13-x86_64-unknown-linux-gnu installed, which I think corresponds to rustc 1.66.0-nightly (c0983a9aa 2022-10-12), but this isn't my active toolchain normally. It's just installed.
So I re-ran with --locked and it worked:
$ cargo install cargo-binutils rustfilt --locked
...
   Installed package `cargo-binutils v0.3.6` (executables `cargo-cov`, `cargo-nm`, `cargo-objcopy`, `cargo-objdump`, `cargo-profdata`, `cargo-readobj`, `cargo-size`, `cargo-strip`, `rust-ar`, `rust-cov`, `rust-ld`, `rust-lld`, `rust-nm`, `rust-objcopy`, `rust-objdump`, `rust-profdata`, `rust-readobj`, `rust-size`, `rust-strip`)

Assuming that this was the right thing to do, would it make sense to suggest that users always run with --locked, to ensure that the correct versions are picked up?

Yeah, we just ran into this in another place as well. I'm going to change everything to suggest --locked. I need to talk to the Cargo folks about why this isn't the default.


Clarity needed around paid custom images deprecation

This section is tough to interpret.  Will my VMs that I created from a paid custom image in my compute gallery stop working after the deprecation date in the marketplace?  Need clarity here, please.
"""
We recommend that you create custom images from free Marketplace images, that don't have Plan Info, that are scheduled for deprecation. For Paid Marketplace images, we suggest you create custom images from the latest version of the image. Workloads running on custom images created from a deprecated paid image will no longer work after the paid image is deprecated.
"""

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1ae5bf9f-47d8-ad01-af78-ddd78604301f
Version Independent ID: 7979d401-a6f0-6cfd-1497-300a6a1d988e
Content: Deprecated Azure Marketplace images - Azure Virtual Machines
Content Source: articles/virtual-machines/deprecated-images.yml
Service: virtual-machines
Sub-service: imaging
GitHub Login: @ju-shim
Microsoft Alias: jushiman

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

HI @stevenoneill
If you have created custom images from paid Marketplace images that are scheduled for deprecation, we recommend that you create new custom images from the latest version of the image before the deprecation date. If you do not create new custom images, workloads running on custom images created from a deprecated paid image will no longer work after the paid image is deprecated.
In other words, if you have created custom images from a paid Marketplace image that is scheduled for deprecation, you should create new custom images from the latest version of the image before the deprecation date to ensure that your workloads continue to function properly. If you do not create new custom images, your workloads may stop working after the deprecation date.
I hope this helps clarify the statement. Let me know if you have any other questions or concerns.

Guess it depends on the workload, right?  For VMSS, you can swap out the the image id to an updated image id and have replacement VMs created.
My main focus in this inquiry is on just plain old VMs.  Our observation is:  if a VM is already running, and the underlying Paid marketplace image (has purchasePlan defined) is removed, the VM will continue to run.  You can DeAllocate and Start the VM, no issues.
However, no new VMs can be spun up that reference the marketplace image's purchasePlan (the 'plan' object on a VM, Disk, or snapshot, if i recall).
For example, if I needed to restore a VM from an OsDisk snapshot, I can create a new OsDisk from the snapshot, but I am unable to create a VM with that OsDisk since it references a non-existing marketplace image.
As a result, it appears that when a Marketplace image is removed, there is no way to restore/recover plain old VMs.   If that is the correct interpretation, then that is the clarity that would be helpful to more explicity call out in the docs.
Is that accurate and make sense @ManoharLakkoju-MSFT ?

@stevenoneill
I'm going to assign this to the document author so they can take a look at it accordingly
@ju-shim
Can you please check and add your comments on this doc update request as applicable.

@ManoharLakkoju-MSFT  -- any updates here?

@ManoharLakkoju-MSFT @stevenoneill public documentation has been updated https://learn.microsoft.com/en-us/azure/virtual-machines/deprecated-images#what-happens-when-a-paid-marketplace-image-with-the-purchase-plan-information-is-deprecated.

@ebolton-cyber thank you.  That makes it clear that there is no path forward for VMs, only VMSSs.
Can one item be added to the FAQ about how to ensure the correct email is configured for notifications about the alerts?  That's only gap I am still seeing.

@stevenoneill , thanks for the feedback, I would look into this and get it added on the documentation page


NXP MIMXRT1160-EVK regression issue, apps do not boot properly

Commit d1a6b453455d6964ea1cfc200e241f4a3f5c4abd updated the bus clock for RT1160, and now hello_world and other apps do not boot properly.  I am using RevA3 of the MIMXRT1160-EVK board.  The MIMXRT1170-EVK apps work fine for me.
To replicate, hello_world is built with the command below.  After flashing, nothing prints out the debug console.
west build -b mimxrt1160_evk//cm7 samples/hello_world/ --pristine

Also, this clock change interferes with the debug connection, and JLink cannot connect to the MCU.  To resolve it, I force the boot ROM into Serial Download mode by setting the DIP switches SW1 to Off-Off-Off-On.  Then press the reset button SW3 to boot in Serial Download mode.  Program the flash with a working app, or erase the flash.  Revert SW5 back to Off-Off-On-Off to boot from flash, and press SW3.  Now the debugger can connect.
@PetervdPerk-NXP, FYI

ping @hakehuang

ping @hakehuang

@dleach02 sorry it is a miss check at my side, I initially disable it for Jlink FCB issue, but I forget to enable it in after the a46fb055bc1e1f9a19560b56155c0ceeb16f840e get merged. the issue fixed now, CI will include this board


No CMake Build Distribution

Does the result of CMake build platform dependent?
cmake -DCMAKE_INSTALL_PREFIX:PATH=<install-prefix> ..
cmake --build . --config Release
cmake --install . --config Release

If no, is it possible to distribute the build result? This way, user will only need to download and add to path.

Does the result of CMake build platform dependent?

No, the CMake build will produce a mex file, that is basically a shared library and so it is platform dependent (if my "platform" you mean operating system).

If no, is it possible to distribute the build result?  This way, user will only need to download and add to path.

The OSQP project already distribute self-contained binaries https://github.com/osqp/osqp-matlab, so I do not think it make a lot of sense to do so. This build system is mainly used to include create osqp matlab bindings that are explicitly not self-contained and instead link a shared OSQP library. We use it in https://github.com/robotology/robotology-superbuild, and we also provide conda binaries for it, i.e. :
# Create environment
mamba create -n osqpmatlab
mamba activate osqpmatlab
mamba install -n conda-forge -c robotology osqp-matlab
# Launch MATLAB in the same terminal in which the environment is activated and use osqp

We also provide a one-line installer in https://github.com/robotology/robotology-superbuild/blob/master/doc/matlab-one-line-install.md, that install a lot of other packages but also osqp-matlab.

@yasirroni does this answer your question?

It is surprisingly easy to embed arbitrary source code to pypi. See my implementation of matpower on pypi: https://pypi.org/project/matpower/

The OSQP project already distribute self-contained binaries https://github.com/osqp/osqp-matlab,

I've not tested it yet. But, I'm using Octave and come here for that. I want to make user able to install OSQP-Octave via pip. So, I need it to be platform independent.

So my "platform-independent" you actually mean independent from wheater this is used in Octave or MATLAB?

Thank you. I will only support Octave then. But, what I mean by platform independent is actually an OS independent, on which OS the user use. Worst case scenario, I need to make separate package for each OS.
The main point I came here is to ask a support for just download and use. No build started by user. The only thing that user need to do is only add path to Octave search. Is it possible?

The main point I came here is to ask a support for just download and use. No build started by user. The only thing that user need to do is only add path to Octave search. Is it possible?

As explained before, we are not directly interested in Octave support (as we use this in Matlab) nor on a self-contained binary that users can just download and use (as we use conda instead and that is already provided for Matlab by https://github.com/osqp/osqp-matlab). If you want you can submit a PR providing CMake octave support and GitHub actions support to build a self-contained Octave binary and load it for any new release, but it is not something we are going to work on.

Thank you very much for the replies. I will just leave it as it is for now then. Thanks again.

Ok, feel free to open new issue if it seems fit.


Wagmi Version
2.8.3
Viem Version
2.10.2
TypeScript Version
No response
Check existing issues

[X] I checked there isn't already an issue for the bug I encountered.

Anything else?
No response

I'm experiencing this too.  Best workaround for this?

We will update to the latest MetaMask SDK version when it is stable. ☺

@jxom They already fixed that after I report. https://github.com/MetaMask/metamask-sdk/issues/833
Would you mind if I create a pull request to bump the version?

@jxom I can't install wagmi because of this error. Any workaround that isn't using a different package manager?

Working fine thank you @jxom.


call-methylation, output file contains only the header line

Dear Jared,
I checked out nanopolish on July 23rd 2018. My local installation was tested by running "nanopolish_test" and analysing the tutorial data set, both of which were successful. But I ran into the same issue posted here with my own dataset. "eventalign" worked, but "call-methylation" returned a file with only the header. I tried with --min-separation 5 but the output file still contained only the header.
The same dataset was analyzed using tombo, but all minimap2 aligned reads were filtered out due to "Poor raw to expected signal matching", even with least stringent criteria.
When you have time, could you please help me out? Here you can download the reference sequence and fast5 files:
https://fgcz-gstore.uzh.ch/public/methylation_test/test.tgz
Here is the output from "call-methylation":
nanopolish call-methylation -t 8 -r test.fastq -b test.sorted.bam -g ref.fasta > nanopolish_5mC.tsv
[post-run summary] total reads: 3590, unparseable: 0, qc fail: 55, could not calibrate: 0, no alignment: 2, bad fast5: 0
The original fast5 had 46 k reads, 10% can ba aligned using minimap2. I hope in the sub dataset send to you there are a few mappable reads. Please let me know if you need more fast5 files.
Many thanks in advance,

Hi,
It looks like these reads are RNA. Currently call-methylation only supports DNA, sorry.
Jared


Property Order is not working in Composite Environment Repositories

order property to specify the priority order for all repositories. The lower the numerical value of the order property, the higher priority it has. The priority order of a repository helps resolve any potential conflicts between repositories that contain values for the same properties. But when I tried to implement the order the priority is not changing.
Document
GitHub Link
Current response: Data Response: eng,ara,fra
Expected response: Data Response: eng,ara,fra,khm
//application.yml

server:
  port: 8888

spring:
  application:
    name: config-server

  profiles:
    active: composite

  cloud:
    config:
      server:
        composite:
          - type: git
            uri: https://github.com/mosip/mosip-config
            clone-on-start: true
            # Add the branch if not using main
            default-label: develop
            searchPaths: /
            order: 2
          - type: git
            uri: https://github.com/srikanth716/inji-config
            clone-on-start: true
            default-label: develop
            searchPaths: /
            order: 1
management:
  endpoints:
    web:
      exposure:
        include: "*"

logging:
  level:
    org.springframework.cloud: DEBUG

Can you try with Spring Cloud 2023.0.3 and see if it makes a differene?

@ryanjbaxter Still the same.

OK can you provide the response just from the config server by making a request to /mimoto/default/develop?

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

###Response
config-server-response.txt


MAINT: stats.theilslopes: warn and return nan for degenerate input

Reference issue
Resolves defect of gh-15943 (does not address enhancement)
What does this implement/fix?
theilslopes errors out with degenerate input. This PR makes theilslopes fail more gracefully for the examples in gh-15943. theilslopes still raises errors for other types of degenerate input, but those have not been reported as problematic (e.g. one or both inputs empty).
Additional information
>>> mstats.theilslopes([0, 0, 0], [0, 1, 0])
C:\Users\matth\scipy\scipy\stats\_stats_mstats_common.py:346: RuntimeWarning: invalid value encountered in sqrt
  sigma = np.sqrt(sigsq)
Out[127]: (0.0, 0.0, nan, nan)

>>> mstats.theilslopes([0, 1], [0, 0])
C:\Users\matth\scipy\scipy\stats\_mstats_basic.py:1088: RuntimeWarning: All `x` coordinates are identical.
  return stats_theilslopes(y, x, alpha=alpha, method=method)
C:\Users\matth\anaconda3\envs\scipydev\lib\site-packages\numpy\core\fromnumeric.py:3440: RuntimeWarning: Mean of empty slice.
  return _methods._mean(a, axis=axis, dtype=dtype,
Out[136]: (nan, nan, nan, nan)

Merged! Thanks @mdhaber!

I was looking ahead at adding an axis argument, when we'd want this to return NaN. Some functions currently raise an error in 1D and return nan in ND, but I thought it would be more consistent to always return NaN and have the warnings give the diagnostic information. We could revisit this across the board, though.


Renamed Gabriella folder, relocated jean paul folder to group-bio and renamed it w/o uppercase

There was an issue before that I can't merge my branch due to failed CI check on lint:ls.
After able to find the problem with is Jean Paul folder was written with uppercase. I changed the name without uppercase.

[x] Open the master repo on VSCode
[x] git pull to get the recent repo version
[x] git checkout lohygabriellato working on branch called lohygabriella
[x] Renamed Bio folder (from me Gabriella) to lohygabriella
[x] Relocated Jean Paul's bio to groups-bio folder and renamed his file without using uppercase due to failed npm check for lint:ls
[x] git add .to submit the changes
[x] Run the npm: npm run format``npm run format:check``npm run spell-check npm run lint:ls npm run lint:md
[x] All CI check passed
[x] git commit -m "notes why/which file I changed"
[x] git push origin lohygabriella

Not this one! This one is a mistake!


Improve work with known types

This PR:

Reduces the “static-ness” of `KnownTypes by introducing an enum-based singleton.
Improves separation of responsibilities between TypeUrl and TypeName .
Hides unnecessary exposed methods in MessageDeclaration.

Dependency updates:

gRPC -> 1.10.0

Spine version advances to 0.10.32-SNAPSHOT

@dmytro-grankin, PTAL.

@armiol, FYI.