[bug] tx confirmation window is getting out of the screen and can't click on "send"

Bug Report
Current behavior:

When writing too much text in the "label" field on Dogecoin Core, the confirmation window is getting out of the screen and it is impossible to move it, resize it, scroll the text, to access the "send" button, no keyboard shortcut is working either.
Expected behavior

Steps to reproduce:

Write a lot of text in the "label" field
Screenshots

Dogecoin Core version

Dogecoin Core version v<IP_ADDRESS>-3a29ba6d4 (64-bit)
Machine specs

OS: macOS Ventura 13.0
CPU: Silicon M1
RAM: 16 GB
Disk size: 512 GB
Disk Type (HD/SDD): SSD

Extra information

Was able to fully reproduce this, on both M1 and Intel macOS.
In the address book, the display is limited based on text size fitting within allocated pixels, but maybe we can for starters limit the size of the displayed label in this modal to a fixed number of characters. This is a good first issue for new contributors.
I'd propose a maximum of 45 characters to not wrap lines in the label and be able to add ... if the size exceeds that:

Code location:
https://github.com/dogecoin/dogecoin/blob/3a29ba6d497cd1d0a32ecb039da0d35ea43c9c85/src/qt/sendcoinsdialog.cpp#L277-L281

@patricklodder @Decryptu is this issue specific for mac os ?

@patricklodder is there any way i can reproduce and work on this issue without syncing wallet with dodgecoin network .

@patricklodder is there any way i can reproduce this issue in a simple way without owning dogecoin ( other than manually inspecting code and changing values which would take time as i am new to codebase )

@patricklodder I have attempted to fix this issue by setting maximum of 45 characters to not wrap lines in the label and be able to add ... if the size exceeds that as you have mentioned.


Reduce to use content scripts

Currently, we have used content scripts for "Console Integration"
https://github.com/secretlint/webextension/blob/7d1ded14cfbafd24f20b0cfc2e89cf5e3fb34920/app/manifest.json#L21
https://github.com/secretlint/webextension/blob/main/app/scripts/contentScript.ts
This approach always inject content scripts to any website.
Instead of it, we want to use chrome.scripting.executeScript, however it does not exists on Firefox.

https://developer.chrome.com/docs/extensions/reference/scripting/#injection-targets

tabs.executeScript() does not support arguments.
(Also we need to inject again when move pages.)

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/Tabs/executeScript

📝 Details of context.
tabs.executeScript({ code }) use dynamic eval, This is another reason why i avoid.
We need to treat it with caution and it will make complex.
tabs.executeScript() support file but it is not dynamic(no arguments).
tabs.executeScript() support code but it just use eval.
chrome.scripting.executeScript support freezed function and arguments, but Firefox does not support yet.
chrome.scripting.executeScript(
    {
      target: {tabId: tabId},
      func: changeBackgroundColor,
      args: [color],
    },
    () => { ... });

Related #4

FYI, here is a simplified version of what I actually use for the Copy URL To Clipboard extension.
contentScript.js:
// NOTE: Write content script in IIFE to avoid redeclaration of const error.
//       If you want to use async functions, see Note in https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/executeScript#return_value
'use strict';
(() => {
  const myFunc = () => {
    const { foo } = window;
    let res;
    if (foo) {
      const { bar, baz } = foo;
      res = `${bar} ${baz}`;
    }
    return res;
  };
  return myFunc();
})();

executeContentScript.js (import it to the background script):
/* api */
const { permissions, tabs } = browser;

/**
 * execute content script to active tab
 *
 * @param {object} opt - options
 * @returns {Array|undfined} - result
 */
const execScriptToActiveTab = async opt => {
  // NOTE: Requires 'activeTab' permission.
  const isGranted = await permissions.contains({
    permissions: ['activeTab']
  });
  let res;
  if (isGranted && opt) {
    res = await tabs.executeScript(opt);
  }
  return res;
};

/**
 * execute scripts to active tab in order
 *
 * @param {Array} arr - array of objects
 * @returns {Array|boolean|undefined} - result of the last executed script
 */
export const execScriptsToTabInOrder = async (arr = []) => {
  const func = [];
  let res;
  for (const item of arr) {
    func.push(execScriptToActiveTab(item));
  }
  if (func.length) {
    // NOTE: if resolved it contains `value`, if rejected it contains `reason`.
    const { reason, value } = await Promise.allSettled(func).then(a => a.pop());
    if (value) {
      res = value;
    } else {
      console.error(reason);
      res = false;
    }
  }
  return res;
};

background.js:
import { execScriptsToTabInOrder } from 'path/to/executeContentScript.js';

/**
 * execute content script with data
 *
 * @returns {Array|boolean} - array containing result
 *                            if any error occurs, return value is false
 */
const executeContentScriptWithData = async () => {
  // Data you want to use in the content script
  const foo = {
    bar: 'bar',
    baz: 1
  };
  const res = await execScriptsToTabInOrder([
    // NOTE: window.foo won't be exposed to the real web.
    { code: `window.foo = ${JSON.stringify(foo)};` },
    { file: 'path/to/contentScript.js' }
  ]);
  return res; // ['bar 1']
};

Thanks to suggest!
Is window.foo exposed in website(page context)?
(Does Website can read window.foo?
I want to prevent to read it from page context.

No, as I noted in the sample, web page cannot see window.foo.
See DOM access

Content scripts cannot see JavaScript variables defined by page scripts.

The same is true in reverse; page scripts cannot see JavaScript properties added by content scripts.


feat(snap): add new snap features for Ireland (v2.0.0)

This PR adds the following snap features:

add  environment var configuration override support (aka rich config hooks) using edgex-snap-hooks module
add go-based hooks for Kong user and TLS certificate configuration
add vault secret-token content interface
...

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/master/.github/Contributing.md.
What is the current behavior?

Issue Number:
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

New Imports

[ ] Yes
[ ] No

Specific Instructions
Are there any specific instructions or things that should be known prior to reviewing?
Other information

@siggiskulason after moving hooks to parts, I get the following error when building:
Building hooks
+ cd /root/parts/hooks/src
+ make build
GO111MODULE=on go build -o cmd/configure/configure ./cmd/configure
go: errors parsing go.mod:
/root/parts/hooks/src/go.mod:5:2: require github.com/canonical/edgex-snap-hooks: version "v2.0.0" invalid: should be v0 or v1, not v2
Makefile:7: recipe for target 'cmd/configure/configure' failed
make: *** [cmd/configure/configure] Error 1
Failed to run 'override-build': Exit code was 2.
Run the same command again with --debug to shell into the environment if you wish to introspect this failure.

Also, your branch is out-of-sync w/master, so you need to rebase...

@siggiskulason after moving hooks to parts, I get the following error when building:
Building hooks
+ cd /root/parts/hooks/src
+ make build
GO111MODULE=on go build -o cmd/configure/configure ./cmd/configure
go: errors parsing go.mod:
/root/parts/hooks/src/go.mod:5:2: require github.com/canonical/edgex-snap-hooks: version "v2.0.0" invalid: should be v0 or v1, not v2
Makefile:7: recipe for target 'cmd/configure/configure' failed
make: *** [cmd/configure/configure] Error 1
Failed to run 'override-build': Exit code was 2.
Run the same command again with --debug to shell into the environment if you wish to introspect this failure.

fixed.

Also, your branch is out-of-sync w/master, so you need to rebase...

Thanks for the comments - I've responded to all of them - two things that I will do before removing the draft status:

update the README
rebase

Codecov Report

Merging #3579 (badfce5) into master (4428e4d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3579   +/-   ##
=======================================
  Coverage   47.13%   47.13%
=======================================
  Files         111      111
  Lines        8142     8142
=======================================
  Hits         3838     3838
  Misses       3937     3937
  Partials      367      367

Continue to review full report at Codecov.

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

One other comment is that I would slim down your commit message, as the documentation for how to configure the API gateway can be found on the snap/README.md page. I would just instead have something like:
This commit also adds the ability to configure the API Gateway using snap configuration (see snap/README.md for details).

@siggiskulason Kuiper 1.2.1 has been released, so please update the tag accordingly. Also can you please re-based against master too please?


rocketchat integration and self signed cert

Hi! I would like to send notification to our private Rocket chat server and I got error:
x509: certificate signed by unknown authority
Could tell me how to modify https://github.com/argoproj/notifications-engine/blob/master/pkg/services/rocketchat.go for allow insecure connection or how to add cert into pod?

I fixed problem using webhook. I am calling POST /api/v1/chat.postMessage service with X-Auth-Token and X-User-Id


feat: add metrics for Trin Execution

What was wrong?
I didn't know what was causing performance issues
How was it fixed?
by adding basic metrics
I also added a metrics folder which contains a docker-compose which will automatically setup the grafana dashboard up
This PR lays the foundation we can build off as we need into the future

here is a picture of it, we can improve it as we go and as we find we need more

I thought about adding more metrics in this PR, but I think this lays the foundation I have lots of idea's though

client version
block height
transaction processing (more in depth then block processing provides)

etc


If go get fails, gpm continues - it should fail

Hello.
Could you please exit gpm with go get's return code if it fails to get a package?

Definitely a good idea, I'm merging the patch and testing if for a few days before issuing a new release.
Thanks! 🎉


Pressing 'confirm' to reveal the board also marks off the top left objective

haha, I found this one in the form of "pressing confirm while not connected will crash the game". addressed in https://github.com/rhelmot/CelesteBingoClient/commit/a68e525cd78fc7f24c537d16d6869f1070225e18


[PE-D][Tester C] sort d/score dsc/ does not work as expected.

David Li, the last person in the list, has a - score, but is placed at the top, instead of being placed with the rest of the individuals with - score at the bottom.

Labels: severity.Medium type.FunctionalityBug
original: joel-foo/ped#3

Unable to reproduce at the moment

Fixed by #206


How to pass campaignId parameter into Challenge() to utilize step 8.3

The documentation tells how you setup the campaignID but not how to set that parameter from a web app or when initializing a SignIn Challenge

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

ID: b1e5f7ac-3ad0-e72d-c7b5-5f1db831a24d
Version Independent ID: 31b00702-06c0-8fad-cd9e-c1cab975e66e
Content: Customize the Azure Active Directory B2C user interface (UI) dynamically by using custom policies
Content Source: articles/active-directory-b2c/active-directory-b2c-ui-customization-custom-dynamic.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

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

@Carsenik The relying party (web or mobile) sends the "campaignID" parameter as query string parameter and details are mentioned at Step 8.2 of the document.

I am talking more about Step 8.5, where you need to add the parameter to the url string. Currently I have a login, that has a couple themes, and the when we initialize the Challenge(), i need to pass the campaignId to be a theme type to change the css styles when the b2clogin starts and it will have the url in step 8.5.

sorry meant Step 8.3, part 5

@Carsenik Current documentation is about passing campaignid through custom policies.  I suggest you please open a new MSDN forum post with the details and community will help address your query. Please refer to below link to MSDN forum to ask new question -
https://social.msdn.microsoft.com/Forums/azure/en-US/newthread?category=windowsazureplatform&forum=WindowsAzureAD&prof=required.  Please provide the MSDN link over here so that I can help you getting answered.

@Carsenik We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Guidance on integrating AzOps with policyDefinitions and policyAssignments from the Azure/Enterprise-Scale repository

First of all, thank you for a great tool!
Context
We are looking into adopting AzOps for managing our Azure tenant management groups and associated policies using AzOps, but we are also interested in relying on the efforts of upstream repositories such as Azure/Enteprise-Scale and Azure/ALZ-Bicep, specifically when it comes to modules (BRM/CRML) and policyDefinitions/policyAssignments.
In terms of using Bicep modules from the enterprise scale reference implementations, the process seems quite straightforward:

Have custom pipelines release the modules to our private container registry for Bicep modules.

Optionally: Rely on a public container registry in the future (unlikely for us, but still a possibility)

Write deployment templates in AzOps for deploying a specific version of each module to our Azure tenant.

However, when it comes to the modules for policyDefinitions and policyAssignments, the process becomes a bit hazy, since AzOps has first-party support for clearly representing policyDefinitions and policyAssignments in the git repository. What we could do is:

Have a custom pipeline for releasing the policyDefinitions module from Azure/ALZ-Bicep to our private container registry.
Reference the new policyDefinitions module in a deployment template in our AzOps git repository.
Wait for the module to be deployed by the push pipeline.
Execute the pull pipeline to create first-party policyDefinitions and policyAssignments templates in the AzOps repository (in addition to the upstream module).

However, we like to avoid using the module for policy definitions and assignments for a few reasons:

We like the visibility that AzOps grants in terms of what policies are deployed and assigned at which scopes - the module does not provide this as clearly.
We like the ability to review new policies via pull requests before merging and eventually pushing them - using the module we would need a separate process outside of AzOps for estimating the impact of deploying a new module version.
We require the ability to apply new policies as audit only, since deploying new enforced policies could have adverse effects on our production environments.

Describe the solution you'd like
We can see that the projects Azure/Enteprise-Scale and Azure/ALZ-Bicep try to maintain a single source of truth in terms of policyDefinitions by making use of (frankly) ad-hoc scripting to convert policyDefinitions from Azure/Enterprise-Scale (https://github.com/Azure/Enterprise-Scale/tree/main/src/resources/Microsoft.Authorization/policyDefinitions) into a Bicep module in Azure/ALZ-Bicep (https://github.com/Azure/ALZ-Bicep/blob/main/.github/scripts/Invoke-LibraryUpdate.ps1 and https://github.com/Azure/ALZ-Bicep/blob/main/.github/scripts/Invoke-PolicyToBicep.ps1).
What we could do ourselves is to make similar scripting for converting the same upstream policyDefinitions into a format fit for AzOps. However, we fear that this is a flaky approach since Azure/Enterprise-Scale could make changes to how they represent policyDefinitions any time, breaking our integrations.
Thus, just like the project Azure/ALZ-Bicep maintains scripting to stay up to date, we thought it would be fitting for the AzOps repository to maintain such scripting as well. The goal would be to provide a first-party set of always-up-to-date policy definitions from Azure/Enterprise-Scale ready to be used together with AzOps. We hope that a solution would make it easy to perform a PR-based workflow allowing:

Upstream changes to be reviewed before merging
Changes to enforcementMode of new and modified policyAssignments to be changed to avoid impacting running systems

This could be part of the accelerator even to make it easier for enterprises to adopt Azure/Enteprise-Scale without having to rely on either portal flows or the imperative pipelines from Azure/ALZ-Bicep. But any solution really would be interesting to us!
We look forward to hearing your thoughts on this!

Hi @Xitric, bare with us and I will get back to you on this during next week:steam_locomotive:.

Thanks for staying with us @Xitric.
Let’s see if I have understood the scenario correctly.
Your intent is to combine the ALZ-Bicep module together with AzOps as you described to achieve orchestration of deployments with AzOps as the deployment vehicle for the ALZ-Bicep module.
In addition to this you would prefer to use AzOps to fully manage policy’s natively with the AzOps PowerShell module. Due to this you envision a need to stay up-to-date with the up-stream policy changes. You correctly point out this is something already performed in the ALZ-Bicep and Azure landing zones Terraform module repositories.
We have looked at the possibility of subscribing to the upstream policy’s as you suggest and concluded for now that this is not in line with the project goals of AzOps module as a deployment vehicle.
With that said you could of course add this yourself to your desired environments like the references you point out. As a side note you could consider, using ALZ-Bicep to perform the policy updates from up-stream and then let AzOps pull them back for continued management.

Closing this question issue, please continue conversation if further questions arise.

Hello @Jefajers and thanks for the reply - I just returned from holiday, which is why am am responding this late.

As a side note you could consider, using ALZ-Bicep to perform the policy updates from up-stream and then let AzOps pull them back for continued management.

If I understand you correctly, is the consensus in the long term that AzOps should not be used as the initial deployment vehicle for Azure landing zones? Rather, should customers deploy their landing zones initially via Portal experiences or the Bicep/Terraform projects, and only later manage changes to the environment via AzOps?
Then we are back at solving the issue of staying up to date with changes in the upstream accelerator repositories, unless we accept a mixture of declarative deployments via AzOps and imperative deployments via the Bicep and Terraform accelerator pipelines.

We have looked at the possibility of subscribing to the upstream policy’s as you suggest and concluded for now that this is not in line with the project goals of AzOps module as a deployment vehicle.

I am wondering then, if it is in line with the AzOps accelerator project to subscribe to the upstream policies. We were hoping that AzOps was considered a viable project by Azure for managing the entire life cycle of a landing zone (including initial deployment and all updates). In this case, it would make sense to work on an accelerator project to provide a similar deployment experience to that in Azure/Enteprise-Scale and Azure/ALZ-Bicep, rather than relying on deployments out of band via other tools.
In the meantime, we will work on a custom solution for subscribing to changes in policies in the upstream Azure/Enteprise-Scale project, and we hope that some day this can be considered in scope of AzOps or a corresponding accelerator repository for Azure Landing Zones via AzOps.

To provide further clarity, AzOps can indeed be used for the initial deployment of Azure Landing Zones.
However, Jesper's point was that AzOps is designed as a versatile and flexible deployment pipeline/vehicle for any Azure template or scope, and we currently intend to maintain it that way. We aim to avoid additional complexity by not implementing tighter integrations at this stage.
Nevertheless, due to the nature of AzOps, you have the freedom to customize the pipelines to suit your specific requirements. For example, you can synchronize policies from the upstream repository or apply any other type of customization. Many customers have already taken advantage of this capability by utilizing code snippets from the Bicep/Terraform repositories.
Furthermore, if you create a customized solution, we would be delighted to publish it as a sample in the accelerator repository. This way, it can serve as a valuable resource for others looking to leverage AzOps for their specific use cases.


Gazebo support

supersedes #64
@olivier-stasse I hope you don't mind, but I kind of took over your PR and fixed up a bunch of things to make Gazebo actually work. With that being said, please disregard https://github.com/olivier-stasse/ros2_control_demos/pull/1
The delay we're seeing is due to the URDF being somewhat incomplete in which the description does not deliver the hokuyo.dae mesh file. Gazebo will thus try to find it desperately and eventually time out.
I added the mesh explicitly and set up a hook for Gazebo for load it on its model path.

Codecov Report

Merging #85 (900a5cd) into master (069aea9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #85    +/-   ##
=======================================
  Coverage    0.00%   0.00%
=======================================
  Files           3       1     -2
  Lines         210      70   -140
=======================================
+ Misses        210      70   -140

Flag
Coverage Δ

unittests
0.00% <ø> (ø)

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

Impacted Files
Coverage Δ

...l_demo_hardware/src/rrbot_system_position_only.cpp

...l_demo_hardware/src/rrbot_system_position_only.cpp

...l_demo_hardware/src/rrbot_system_position_only.cpp

...l_demo_hardware/src/rrbot_system_position_only.cpp
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

I also corrected the URDF. The base link was set to 0.2m in height, and I believe it should rather be 2m.
When trying to load the joint state controller, one gets an exception because of name conflict. That has to do with the current duplication/renaming from joint_state_controller to joint_state_broadcaster. I've also addressed this.

@olivier-stasse I hope you don't mind, but I kind of took over your PR and fixed up a bunch of things to make Gazebo actually work.
Dear @Karsten1987 not at all, thanks for fixing this and all the rest.
I hope you found #64 useful, let me know when you want me to close it.

I guess you could close your PR already, all your initial commits are still here on this PR. Would be great to have this merged at some point to have some Gazebo support upstream.

@destogl do you mind having a look at this?

@Karsten1987 please mind what you have on a branch, this happened to have the contents of #89 as well which normally wouldn't be an issue but given that changes weren't cherry-picked to Olivier's branch but merged into, I couldn't just remove them by rebasing, had to opt for adding another magic blob merge commit to fix things.

Managed to fix my gazebo setup (I think, although it's now shaky, see gif) and tested this.

Merging...


workflows: enable Passthrough plugin for deb/rpm packages

I think it's mostly confusing if that's not available, so I suggest to add it by default.

Also docs seem outdated: https://github.com/mavlink/MAVSDK-docs/pull/220


Update steps 3 and 4 powershell from -eq to -like

Updating powershell commands to remove wildcard issue

@MarileeTurscak-MSFT : Thanks for your contribution! The author, @MicrosoftGuyJFlo, has been notified to review your proposed change.

#sign-off

@MarileeTurscak-MSFT: I'm sorry - only the author of this article, @MicrosoftGuyJFlo, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

Please do not sign off. Other work being done in a release branch before this can be merged.

Thanks.  The change looks good but I have frozen the content pending merge of release branch. I will sign off when that happens so this can be added after that change is complete.


Inference is not working

Hey, I am running the colab you have on the docs on Mistral, the training works fine, but when doing inference I get size mismatch error:
Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
[<ipython-input-12-64c50bf8aa34>](https://localhost:8080/#) in <cell line: 12>()
     10 ], return_tensors = "pt").to("cuda")
     11
---> 12 outputs = model.generate(**inputs, max_new_tokens = 64, use_cache = True)
     13 tokenizer.batch_decode(outputs)

19 frames
[/usr/local/lib/python3.10/dist-packages/unsloth/kernels/utils.py](https://localhost:8080/#) in fast_linear_forward(proj, X, temp_lora, out)
    214         if bsz == 1:
    215             out = out.view(out_dim)
--> 216             temp_lora = torch.mv(lora_A._fast_lora, X.ravel(), out = temp_lora)
    217             out.addmv_(lora_B._fast_lora, temp_lora, alpha = lora_S)
    218         else:

RuntimeError: size mismatch, got input (16), mat (16x4096), vec (307200)

https://colab.research.google.com/drive/1Dyauq4kTZoLewQ1cApceUQVNcnnNTzg_?usp=sharing
I'm running the code as is, with no edits whatsoever.

You might have to update Unsloth via pip install --upgrade --force-reinstall --no-cache-dir git+https://github.com/unslothai/unsloth.git

@danielhanchen Thanks!. I posted it on the Discord.

@mahiatlinux Hopefully its fixed now!

Confirming that it works now!


href Sample for Thumbnail the [$FileRef]

Q
A

Bug fix?
no

New sample?
yes

Related issues?

What's in this Pull Request?
new sample for:

Use of Document-Link / [$FileRef] Variable (File Link)
Use getpreview.ashx to generate Thumbnails

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

Thanks @josy1024! For the sample repository, I removed debugMode and the download attribute.
Thanks for your contribution, it's greatly appreciated!


Update to master branch + jvde-github Windows fixes, setting post version to 20220126

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


"Belarus" Country flag is missing

Hi,
"Belarus" country flag "BY" is missing in index.js. need to BY.png in index.js

https://github.com/pohodnya/react-native-round-flags/commit/3851216af392779d9f43746405cb1c882be44bc2


quilt_base missing

im probably just missing something super obvious, but im using quilt 1.19.2 and midnightlib 1.0.0 for quilt 1.19.2 and i get the error of missing dependency quilt_base. however, this is the first im hearing of this file and because of its simple name im not getting any actual results from google or anything. where on earth do i find this? i have no idea where else to ask, so sorry if this shouldn't be here.

Check this out!
It's Quilt Standard Libraries / Quilted Fabric API, essential standard libraries for the Quilt :D


Updated test that was failing

Scope & Purpose
This PR aims to fix failures in the test tests/js/client/shell/api/multi/coordinator-metrics-cluster.js, testIResearchMetricStats, testIResearchMetricStatsSleep and any other that could be undisclosed, in which there was the need to add retries for checking that the document metrics from iresearch are present in the metrics, otherwise, in the checkRawMetrics() function, the parsing of the document fields in the metrics object would return undefined

[x] :hankey: Bugfix
[ ] :pizza: New feature
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification

Checklist

[x] Tests

[ ] Regression tests
[ ] C++ Unit tests
[x] integration tests
[ ] resilience tests

[ ] :book: CHANGELOG entry made
[ ] :books: documentation written (release notes, API changes, ...)
[ ] Backports

[ ] Backport for 3.10: probably

Related Information
(Please reference tickets / specification / other PRs etc)

[ ] Docs PR:
[ ] Enterprise PR:
[x] GitHub issue / Jira ticket: https://arangodb.atlassian.net/browse/BTS-1311
[ ] Design document:

https://github.com/arangodb/arangodb/pull/18751


Getting Cannot find module '~react-redux~redux'. error and react app "Redux TodoMVC" run with blank screen.

Hello,
I created project with config bellow:
? Which JavaScript framework do you want? React
? Which module management do you want? Webpack with NPM
? Which JS preprocessor do you want? TypeScript
? Which CSS preprocessor do you want? Less
? Which Continuous Integration platform do you want? travis
? Do you want a sample app? Redux TodoMVC
? Would you like a router? React router
Afterit I have run 'npm install'
then I have run project with: npm run serve

I am getting following errors

ERROR in ./src/app/containers/App.tsx
(2,25): error TS2307: Cannot find module '~react-redux~redux'.
ERROR in ./src/app/containers/App.tsx
(60,3): error TS2345: Argument of type 'typeof App' is not assignable to paramet
er of type 'ComponentClass<{ todos: any; } & { actions: { addTodo: (text: string
) => { type: string; text: st...'.
Type 'typeof App' is not assignable to type 'StatelessComponent<{ todos: any;
} & { actions: { addTodo: (text: string) => { type: string; text...'.
Type 'typeof App' provides no match for the signature '(props: { todos: any;
} & { actions: { addTodo: (text: string) => { type: string; text: string; }; de
leteTodo: (id: number) => { type: string; id: number; }; editTodo: (id: number,
text: string) => { type: string; id: number; text: string; }; completeTodo: (id:
number) => { type: string; id: number; }; completeAll: () => { type: string; };
clearCompleted: () => { type: string; }; }; } & { children?: ReactNode; }, cont
ext?: any): ReactElement'
ERROR in ./src/index.tsx
(3,22): error TS2307: Cannot find module '~react-redux~redux'.

And when I am trying to access  http://localhost:3000 in browser I am only see blank screen. not run todoMVC app

I'm also experiencing this exact issue with React and TypeScript. As well as different errors for each of the other sample apps.
? Which JavaScript framework do you want? React
? Which module management do you want? Webpack with NPM
? Which JS preprocessor do you want? TypeScript
? Which CSS preprocessor do you want? SASS
? Which Continuous Integration platform do you want? (Press <space> to select, <a> to toggle all, <i> to inverse selection)
? Do you want a sample app? A working landing page
? Would you like a router? React router

ERROR in ./src/app/title.tsx
(37,12): error TS2322: Type '{ style: { display: string; flexDirection: string; alignItems: string; padding: string; backgroun...' is not assignable to type 'HTMLProps<HTMLDivElement>'.
  Types of property 'style' are incompatible.
    Type '{ display: string; flexDirection: string; alignItems: string; padding: string; backgroundColor: s...' is not assignable to type 'CSSProperties'.
      Types of property 'alignItems' are incompatible.
        Type 'string' is not assignable to type '"center" | "initial" | "inherit" | "unset" | "flex-start" | "flex-end" | "baseline" | "stretch"'.

ERROR in ./src/app/main.tsx
(27,12): error TS2322: Type '{ style: { display: string; flexDirection: string; minHeight: string; }; children: Element[]; }' is not assignable to type 'HTMLProps<HTMLDivElement>'.
  Types of property 'style' are incompatible.
    Type '{ display: string; flexDirection: string; minHeight: string; }' is not assignable to type 'CSSProperties'.
      Types of property 'flexDirection' are incompatible.
        Type 'string' is not assignable to type '"column" | "initial" | "inherit" | "unset" | "row" | "row-reverse" | "column-reverse"'.

ERROR in ./src/app/main.tsx
(29,15): error TS2322: Type '{ style: { flex: number; display: string; flexDirection: string; }; children: Element[]; }' is not assignable to type 'HTMLProps<HTMLElement>'.
  Types of property 'style' are incompatible.
    Type '{ flex: number; display: string; flexDirection: string; }' is not assignable to type 'CSSProperties'.
      Types of property 'flexDirection' are incompatible.
        Type 'string' is not assignable to type '"column" | "initial" | "inherit" | "unset" | "row" | "row-reverse" | "column-reverse"'.

ERROR in ./src/app/header.tsx
(29,15): error TS2322: Type '{ style: { display: string; alignItems: string; backgroundColor: string; }; children: Element[]; }' is not assignable to type 'HTMLProps<HTMLElement>'.
  Types of property 'style' are incompatible.
    Type '{ display: string; alignItems: string; backgroundColor: string; }' is not assignable to type 'CSSProperties'.
      Types of property 'alignItems' are incompatible.
        Type 'string' is not assignable to type '"center" | "initial" | "inherit" | "unset" | "flex-start" | "flex-end" | "baseline" | "stretch"'.

? Which JavaScript framework do you want? React
? Which module management do you want? Webpack with NPM
? Which JS preprocessor do you want? TypeScript
? Which CSS preprocessor do you want? SASS
? Which Continuous Integration platform do you want? (Press <space> to select, <a> to toggle all, <i> to inverse selection)
? Do you want a sample app? Just a Hello World
? Would you like a router? React router

ERROR in /Users/beharrison/Documents/dev/Ben Harrison/new-project/src/app/hello.spec.tsx
(8,58): error TS2345: Argument of type 'void | Element | Component<any, {}>' is not assignable to parameter of type 'Component<any, any>'.
  Type 'void' is not assignable to type 'Component<any, any>'.

? Which JavaScript framework do you want? React
? Which module management do you want? Webpack with NPM
? Which JS preprocessor do you want? TypeScript
? Which CSS preprocessor do you want? SASS
? Which Continuous Integration platform do you want? (Press <space> to select, <a> to toggle all, <i> to inverse selection)
? Do you want a sample app? Redux TodoMVC
? Would you like a router? React router

ERROR in ./src/app/containers/App.tsx
(2,25): error TS2307: Cannot find module '~react-redux~redux'.

ERROR in ./src/app/containers/App.tsx
(60,3): error TS2345: Argument of type 'typeof App' is not assignable to parameter of type 'Component<{ todos: any; } & { actions: { addTodo: (text: string) => { type: string; text: string;...'.
  Type 'typeof App' is not assignable to type 'StatelessComponent<{ todos: any; } & { actions: { addTodo: (text: string) => { type: string; text...'.
    Type 'typeof App' provides no match for the signature '(props: { todos: any; } & { actions: { addTodo: (text: string) => { type: string; text: string; }; deleteTodo: (id: number) => { type: string; id: number; }; editTodo: (id: number, text: string) => { type: string; id: number; text: string; }; completeTodo: (id: number) => { type: string; id: number; }; completeAll: () => { type: string; }; clearCompleted: () => { type: string; }; }; } & { children?: ReactNode; }, context?: any): ReactElement<any>'.

ERROR in ./src/index.tsx
(3,22): error TS2307: Cannot find module '~react-redux~redux'.

Still an issue. Immediately after installation, running the build results in an error on the line:
import {IDispatch} from '~react-redux~redux';

It looks like there us a workaround in this thread here and that.. seems to work?
I also have no idea what the tilde syntax is doing..

Nodejs 8.6.0
npm install -g gulp-cli yo generator-fountain-webapp
yo fountain-webapp
Same issue here


/lootr custom

When creating a lootr chest with supplies, I find that if anyone removes inventory from the chest, the next person to open it finds an empty chest, even if they have never opened it before. Tested this in multiplayer with two other players and myself.
Recreate as follows

Place standard MC chest (doesnt seem to work with modded chests, not a big deal, but something else I noticed)
Fill that chest with loot
Use command /lootr custom
Have player two and three look in chest
Have player two take all inventory from chest
Have player three check chest to see it is empty
Open chest yourself (changing it from gold to silver) to see there is nothing in the chest

Thanks for the detailed description! I'll have to look into why this isn't working.
Re: point 1, this is true and specifically the case as there's no certain way to handle another chest easily, plus the sizing issues.

This was fixed in the most recent release, apologies for the delay.


GuiMenuBar::clearMenus required unused parameters

From Online Reference:
void GuiMenuBar::clearMenus   (   int    param1,
int    param2
)
Clears all the menus from the menu bar.

Example:
// Inform the GuiMenuBar control to clear all menus from itself.
%thisGuiMenuBar.clearMenus();

You can see tro parameters in function: param1, and param2. Unline the example clearMenus(); don't work, it required the 2 unused parameters. (clearMenus("",""); works fine. I had a look into the code and found this:
DefineEngineMethod( GuiMenuBar, clearMenus, void, ( S32 param1, S32 param2),,
   "@brief Clears all the menus from the menu bar.\n\n"
   "@tsexample\n"
   "// Inform the GuiMenuBar control to clear all menus from itself.\n"
   "%thisGuiMenuBar.clearMenus();\n"
   "@endtsexample\n\n"
   "@see GuiTickCtrl")
{
   object->clearMenus();
}

I don't know why those 2 parameters are there but they should be removed...

Definitely!

@Areloch - Can close this one, no longer relevant after the GuiMenuBar rewrite.


Are you still on this?

Hello,
I'm currently working on my MVP and I reached here. I was wondering if you're still working on this MVP generator and how can I help you with this. I found it pretty interesting.
Greetings!

Hey ! Thanks @nicolasFernandez  for the interest. This was a college project and after submission we kinda lost momentum. Surely we have loads of things to do with the project. I'll try to find time and raise issues and tag them properly.
Do you have any ideas ? What do you feel about the project ?


(bot) Update Helm release kured to v2.7.0

This PR contains the following updates:

Package
Update
Change

kured
minor
2.4.3 -> 2.7.0

Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box.

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will now ignore this update (2.7.0). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps array of your renovate config.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.


warning message when bootstrap

[2023-10-20 00:03:08.381][1][warning][misc] [source/common/protobuf/message_validator_impl.cc:21] Deprecated field: type envoy.config.cluster.v3.Cluster Using deprecated option 'envoy.config.cluster.v3.Cluster.http2_protocol_options' from file cluster.proto. This configuration will be removed from Envoy soon. Please see https://www.envoyproxy.io/docs/envoy/latest/version_history/version_history for details. If continued use of this field is absolutely necessary, see https://www.envoyproxy.io/docs/envoy/latest/configuration/operations/runtime#using-runtime-overrides-for-deprecated-features for how to apply a temporary and highly discouraged override.
[2023-10-20 00:03:08.395][1][warning][main] [source/server/server.cc:902] There is no configured limit to the number of allowed active downstream connections. Configure a limit in `envoy.resource_monitors.downstream_connections` resource monitor.
[2023-10-20 00:03:23.398][1][warning][config] [source/extensions/config_subscription/grpc/grpc_subscription_impl.cc:130] gRPC config: initial fetch timed out for type.googleapis.com/envoy.service.runtime.v3.Runtime

The second line of warning may need to be ignored temporarily. Because this extension is work-in-progress in envoy (https://github.com/envoyproxy/gateway/issues/1966#issuecomment-1766050187). Maybe I can fix other warning Message?

can we fix the second one with static_layer like istio did?

can we fix the second one with static_layer like istio did?
Runtime key overload.global_downstream_max_connections is deprecated and will be removed in future, maybe we need to raise an issue in envoy.
https://www.envoyproxy.io/docs/envoy/latest/configuration/operations/overload_manager/overload_manager#limiting-active-connections

xhref: https://github.com/envoyproxy/envoy/issues/30410

can this be closed @zirain ?

nop, I will revise this before v0.6 release, tag this as a blocker?

[2023-10-20 00:03:08.381][1][warning][misc] [source/common/protobuf/message_validator_impl.cc:21] Deprecated field: type envoy.config.cluster.v3.Cluster Using deprecated option 'envoy.config.cluster.v3.Cluster.http2_protocol_options' from file cluster.proto. This configuration will be removed from Envoy soon. Please see https://www.envoyproxy.io/docs/envoy/latest/version_history/version_history for details. If continued use of this field is absolutely necessary, see https://www.envoyproxy.io/docs/envoy/latest/configuration/operations/runtime#using-runtime-overrides-for-deprecated-features for how to apply a temporary and highly discouraged override.

xhref: https://github.com/envoyproxy/gateway/pull/2048

[2023-10-20 00:03:08.395][1][warning][main] [source/server/server.cc:902] There is no configured limit to the number of allowed active downstream connections. Configure a limit in envoy.resource_monitors.downstream_connections resource monitor.

xhref: https://github.com/envoyproxy/envoy/issues/30410#issuecomment-1783021485

[2023-10-20 00:03:23.398][1][warning][config] [source/extensions/config_subscription/grpc/grpc_subscription_impl.cc:130] gRPC config: initial fetch timed out for type.googleapis.com/envoy.service.runtime.v3.Runtime

fixed by https://github.com/envoyproxy/gateway/pull/2051

xref: https://github.com/envoyproxy/envoy/pull/30735


[BUG] When npx projen build: Task "build » compile » generate" failed when executing "./gradlew build"

Describe the bug
Went through the getting started guide, and ran into this issue.
$ npx projen build

👾 build | pnpm exec nx run-many --target=build --output-style=stream --nx-bail

 >  NX   Running target build for 7 projects:

    - myapi-typescript-react-query-hooks
    - myapi-typescript-infra
    - myapi-documentation-html-redoc
    - myapi-typescript-runtime
    - myapi-typescript-handlers
    - myapi-model
    - myapi

 ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

> nx run myapi-model:build

> nx run myapi:build  [local cache]

myapi-model: 👾 build » compile » generate | npx --yes -p @aws/pdk@$AWS_PDK_VERSION type-safe-api.copy-gradle-wrapper
myapi-model: Copying Gradle Wrapper...
myapi-model: Copied Gradle Wrapper
myapi-model: 👾 build » compile » generate | ./gradlew build
myapi-model: FAILURE: Build failed with an exception.
myapi-model: * What went wrong:
myapi-model: Could not open settings generic class cache for settings file '/Users/taryono/Code/projects/prototyping-sandbox/my-project/packages/api/model/settings.gradle' (/Users/taryono/.gradle/caches/8.3/scripts/8ye291m6tu88vf0jb5v7qjixz).
myapi-model: > BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 66
myapi-model: * Try:
myapi-model: > Run with --stacktrace option to get the stack trace.
myapi-model: > Run with --info or --debug option to get more log output.
myapi-model: > Run with --scan to get full insights.
myapi-model: > Get more help at https://help.gradle.org.
myapi-model: BUILD FAILED in 308ms
myapi-model: 👾 Task "build » compile » generate" failed when executing "./gradlew build" (cwd: /Users/taryono/Code/projects/prototyping-sandbox/my-project/packages/api/model)
myapi-model: Warning: run-commands command "pnpm dlx projen build" exited with non-zero status code

 ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 >  NX   Running target build for 7 projects failed

   Tasks not run because their dependencies failed or --nx-bail=true:

   - myapi-typescript-react-query-hooks:build
   - myapi-typescript-infra:build
   - myapi-documentation-html-redoc:build
   - myapi-typescript-runtime:build
   - myapi-typescript-handlers:build

   Failed tasks:

   - myapi-model:build

👾 Task "build" failed when executing "pnpm exec nx run-many --target=build --output-style=stream --nx-bail" (cwd: /Users/taryono/Code/projects/prototyping-sandbox/my-project)

Expected Behavior
Project built successfully.
Current Behavior
👾 Task "build » compile » generate" failed when executing "./gradlew build" (cwd: /Users/taryono/Code/projects/prototyping-sandbox/my-project/packages/api/model)
Reproduction Steps

npx projen new --from @aws/pdk --package-manager=pnpm monorepo-ts
npx projen
npx projen build
Add a Type-Safe API to .projenrc.ts
npx projen
npx projen build
Described error happened

Possible Solution
No response
Additional Information/Context
Java and maven version:
$ java --version
openjdk 22.0.1 2024-04-16
OpenJDK Runtime Environment Corretto-<IP_ADDRESS>.1 (build 22.0.1+8-FR)
OpenJDK 64-Bit Server VM Corretto-<IP_ADDRESS>.1 (build 22.0.1+8-FR, mixed mode, sharing)

$ mvn --version
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /Users/taryono/apache-maven-3.9.6
Java version: 22.0.1, vendor: Amazon.com Inc., runtime: /Library/Java/JavaVirtualMachines/amazon-corretto-22.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "14.4.1", arch: "aarch64", family: "mac"

PDK version used
0.23.37
What languages are you seeing this issue on?
Typescript
Environment details (OS name and version, etc.)
Apple M1 Pro, MacOS Sonoma 14.4.1

I'm getting the same error when building the Python version
Here's my Java info from inside the generated project
cd packages/api/model
./gradlew --version

------------------------------------------------------------
Gradle 8.3
------------------------------------------------------------

Build time:   2023-08-17 07:06:47 UTC
Revision:     8afbf24b469158b714b36e84c6f4d4976c86fcd5

Kotlin:       1.9.0
Groovy:       3.0.17
Ant:          Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM:          22.0.1 (Amazon.com Inc. 22.0.1+8-FR)
OS:           Mac OS X 14.4.1 x86_64

Hey @teddyaryono! I got a fix
Apparently Gradle 8.3 is not compatalble with our Java Corretto 22
https://docs.gradle.org/current/userguide/compatibility.html#compatibility
I just set my JAVA_HOME to a openjdk20
export JAVA_HOME=/usr/local/opt/openjdk@20/
npx projen
npx projen build

Thanks @Funkmyster - I got mine fixed by downgrading to Corretto 17.


Migrate to jest

Coverage increased (+1.4%) to 73.871% when pulling 3933b7de671945b7cbbb41429214e75405816a5d on chore/migrate-to-jest into 0b1ae08be06bf187977ba443dd0ff7d174a95033 on master.


emptyView Not Updated In Response to Item Updates

Love the framework! I have a simple test app with a section controller that initially has 0 items, and after it loads content it calls insertInSectionController:atIndexes: to add some items. However, the list adapter never updates emptyView.hidden so there's a spinner behind the content!
In terms of a workaround, I can cast the collection context to IGListAdapter and call performUpdatesAnimated:completion: from inside the section controller. That'll trigger the empty view to update even though it's not beautiful.
Tested on a748e6f6c7e957dd68fb611fc95e608db877f4a5

Thanks @Adlai-Holler ! 👍
Sounds like an edge-case that we've overlooked

Eek ya, good find. This should definitely be fixed and should be pretty easy to add a unit test for.

I'd love to take a crack at writing a fix & test(s) for this one over the weekend if no one is on it already...

@edmonston all yours!


Textures

When I use the mod on a Fabric server some textures like the armor don't appear and they would be called air.

Closing due to lack of response. I was not able to replicate this with the provided information.


Bradoyler aws publish

Some minor changes to https://github.com/Quartz/Chartbuilder/pull/249

@nsonnad 👍

Thanks!


Deploy Multicall3 on re.al

Chain Name
re.al
Chain ID
111188
RPC URL
https://real.drpc.org
Block Explorer URL
https://explorer.re.al/
Deployment Funds
Yes

If possible, I'd suggest deploying with the pre-signed transaction, as I likely won't be able to deploy until the end of this week. If you go this route, be careful and fully read the linked docs, to make sure the nonce is not burned :)

We already burned the nonce on our testnet (see #231). It's an Arbitrum stack, so using the pre-signed transaction is not an option.

Hi @mds1 can you just confirm us, that you will be able to do it at the end of the week?

I am unable to deploy as the deployer account has insufficient balance. Wallet estimates 0.04582863 REETH and current balance is 0.004 REETH:

You do not have enough reETH in your account to pay for transaction fees on re.al network. Deposit reETH from another account.

Hi @mds1 , sent more funds.

I'm sorry, I misread the total before. You can see it's 0.04640149 but I copied the 0.04582863 value, so it's still a bit short 😅

Sent more, give it a go now :D

Done, thanks!

awesome, thanks! :D


Improve Docker image build times

Currently the Docker images take about 50m to build - this is primarily down to us building an arm64 image in emulation mode which is horrendously slow.
The right way to do this is to use native cross-targeting builds and then package those into the resulting image. We already do this in our rust.yaml pipeline and so all that's left is packaging those into Docker images. The challenge is that we have different artifacts per platform, which means different Dockerfiles and/or different ARGs - something the current Docker build action doesn't support.
There is guidance on Docker's website about doing parallel/multi-agent builds for multi-platform images on GitHub actions which will likely solve this issue (since it breaks up the build steps and the final metadata aggregation).

Resolved this in #34


Linear Search

Problem: Given an integer array and another integer element. The task is to find if the given element is present in array or not.
The input consists of an integer n representing the size of the array, followed by an integer array arr[] of length n, and an integer x to be searched within the array.
If the element is present then return true, otherwise false.

Follow and Read the Contributing Guidelines.

Only the assigned person is allowed to raise the PR on this Issue.

To get this issue assigned to you comment on this issue, along with your name, branch, year and college name.

Note: Make sure to put the question under the relevant folder structure, and then make another folder having the question name and inside that folder you can write your solution in any preferred language.

Please assign this issue to me under hacktoberfest
Name : krishna agrawal
Class : TY IT
College Name : Pce


Fix _LoginPartial.OrgAuth.cshtml referencing non-existent CSS classes

Summary of the changes

Eliminate one reference to non-existent nav-text CSS class that was already being covered by nav-link class.
Replaces other two references to non-existent nav-text CSS class with navbar-text.

Before:

After:

Addresses #10779

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

I found this after updating to ASP.NET Core v2.2 (from v2.1) to get the new Bootstrap template goodness.  Dunno if this is something you'd care to backport or just save for v3.0 at this point, I just wanted to call it out!

@mkArtakMSFT I think the  change is good. Feel free to merge it if you are ok with it.

@javiercn @mkArtakMSFT @ryanbrandenburg Is there anything else you need from me before this is able to get this merged?  I don't want this to get lost in the shuffle. :)

Thanks for your effort, @AtOMiCNebula.
I'll merge this as soon as the CI checks pass. Just retried the failed once - in case those were transient.


Extra margin-top and margin-bottom for h1 in product-head component

Describe the bug
Extra margin-top and margin-bottom for h1 in product-head component
According to this doc it should be only 8px for top and bottom, but on the example page there are additional margins.

Thank you for this report! I also have this issue in our inner backlog, so it's great that you brought this.


Reloaded methods leave their group

This may prompt connector lines to appear, which looks quite confusing.

May also happen when creating a plain new method.


Display just emoji image

I have div
<div class="chatingBox">
:wink:
</div>

<script type="text/javascript">
$(document).ready(function() {
	$(".chatingBox").emojioneArea({});

});
</script>

but function display emoji in textarea and show add emoji option so, how just display image of emoji and disable edit emoji option?

i am also looking for same

Have you tried removing the contenteditable attribute from the emojionearea?

yes not works at all

If you just need convert some shortnames into emoji images, you don't need emojionearea. You just import emojione.js lib and call the function emojione.shortnameToImage(":shortname:").
Emojionearea is a emojione editor, if you do not want a editor just use the lib emojione.

Converting emojione :

shortnames to images: https://demos.emojione.com/latest/jsshortnametoimage.html
unicode to images: https://demos.emojione.com/latest/jstoimage.html
php: https://github.com/mervick/emojionearea/issues/62#issuecomment-255026504


documentation update for new permission

Update documentation with info about required permissions.
Does this PR need a docs update or release note?

[x] :white_check_mark: Yes, it's included

Type of change

[x] :world_map: Documentation

Issue(s)
Test Plan

[x] :muscle: Manual

Not sure where else the update is required. Do let me know if I have missed updating something.


metrics: add metric delineating 'cause' for TriggerPolicyUpdates

This will help us see which events are the cause of the most regenerations of all endpoints in Cilium.

Stale


I can't download images in batch in grabber android.

Is it not possible to download images in batch in booru grabber android. I tried looking for methods in the app but to no success.

Hello 👋
Batch downloads are currently not supported on the Android version, which only supports browsing and light downloading at the moment.


DeepIntent: PBS docs added

Prebid server docs added

@sourabhg - this is a pretty big problem:

suport for Imp.banner.Format array is not present at the moment

the pbsBidAdapter does not create imp.banner.h/w. It creates imp.banner[].format.h/w
I'm checking with the mobile team to see what the SDK does. But at this point, you can't expect imp.banner.h/w to exist. I think you need to update your adapter to look in format or you'll be rejecting every request.

Confirmed that SDK doesn't set imp.banner.h/w. either.


Set db-operator version on database CR during full reconcile

Issue: #79

The change is rather simple. I retrieve the pod db-operator runs in and extract the version from the image tag. I had to add a new POD_NAMESPACE environment variable to the db-operator deployment manifest so I can fetch the pod from the cluster.

I'm not sure if I should add more error handling when I split the image tag. What do you think?

I was thinking about something like that https://www.digitalocean.com/community/tutorials/using-ldflags-to-set-version-information-for-go-applications
It doesn't seem right to me that dbo will have to recieve data about itself from the k8s api. Fithermore, it doesn't have to be running in k8s

Ah I didn't know that possibility existed. Not an issue, I will implement this. 🙂
Do you mean it could also run on Openshift or what did you have in mind?

Ah I didn't know that possibility existed. Not an issue, I will implement this. 🙂
Do you mean it could also run on Openshift or what did you have in mind?

Do you mean it could also run on Openshift or what did you have in mind?
In general, it should be possible to simply run it as a bin pointing to k8s from outside

Does this go in the right direction?

Yep, it looks better to me, but I would put it to the status, not the spec

Fixed here and in the chart repository. If you want, you can test the image using this build target in the Makefile,.
build: ## Build a container
	$(CONTAINER_TOOL) build ${CONTAINER_TOOL_ARGS} -t ${IMAGE_TAG} . ${CONTAINER_TOOL_NAMESPACE_ARG} --build-arg="VERSION=v1.23.0"

I renamed the variable but had issues running make generate because I'm on Go 1.22.0 which is incompatible with controller-gen 0.13.0.
Are you fine with me updating the codebase and Github workflows to 1.22.0? After the controller-gen update the generated CRDs have a little different syntax for descriptions.

Yep, why not. Let's upgrade

I applied the necessary changes for the 1.22.1 update, renamed the variable to operatorVersion and copied the generated CRDs to the db-operator charts PR.


fs: support imports and cloud versioning

Codecov Report
Patch coverage: 44.44% and project coverage change: -0.06 :warning:

Comparison is base (147fe16) 57.37% compared to head (8e2d6f7) 57.32%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #315      +/-   ##
==========================================
- Coverage   57.37%   57.32%   -0.06%
==========================================
  Files          51       51
  Lines        3369     3365       -4
  Branches      587      589       +2
==========================================
- Hits         1933     1929       -4
  Misses       1350     1350
  Partials       86       86

Impacted Files
Coverage Δ

src/dvc_data/fs.py
61.53% <44.44%> (+2.59%)
:arrow_up:

... and 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Error about using TensorFlow1.14

Click to expand!
Issue Type
Build/Install
Have you reproduced the bug with TF nightly?
Yes
Source
source
Tensorflow Version
tf 1.14.0
Custom Code
Yes
OS Platform and Distribution
Ubuntu18.04
Mobile device
Ubuntu18.04
Python version
3.7
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
cuda10.0 cudnn7.6.5
GPU model and memory
24G
Current Behaviour?
I use Ubuntu18.04 system, cuda10.0, cudnn7.6.4, graphics card is a30,24G; TensorFlow1.14.0 was used to make ner model, but an error occurred when running, and there was no error when using it before. It can be run on another device with no change in the code. I hope to get your reply and help.
Standalone code to reproduce the issue
import tensorflow as tf
from tensorflow.contrib.crf import crf_log_likelihood
from tensorflow.contrib.layers.python.layers import initializers

from albert import modeling
import models.rnncell as rnn
from models.file_path import BaseConfig

class Config(BaseConfig):
    batch_size = 128
    epoch = 100
    print_per_batch = 100
    clip = 5
    dropout_keep_prob = 0.5
    lr = 0.0001
    optimizer = 'adam'
    zeros = False
    lower = True

    num_tags = None
    lstm_dim = 200
    max_seq_len = 256
    max_epoch = 100
    steps_check = 100

class AlbertBiLstmCrf(object):
    def __init__(self, config):
        self.config = config
        # 为模型添加占位符
        self.input_ids = tf.placeholder(dtype=tf.int32, shape=[None, None], name="input_ids")
        self.input_mask = tf.placeholder(dtype=tf.int32, shape=[None, None], name="input_mask")
        self.segment_ids = tf.placeholder(dtype=tf.int32, shape=[None, None], name="segment_ids")
        self.targets = tf.placeholder(dtype=tf.int32, shape=[None, None], name="Targets")

        self.dropout = tf.placeholder(dtype=tf.float32, name="Dropout")
        self.global_step = tf.Variable(0, trainable=False)
        self.best_dev_f1 = tf.Variable(0.0, trainable=False)

        self.initializer = initializers.xavier_initializer()
        self.albert_bilstm_crf()

    def albert_bilstm_crf(self):
        # parameter
        used = tf.sign(tf.abs(self.input_ids))
        length = tf.reduce_sum(used, reduction_indices=1)
        self.lengths = tf.cast(length, tf.int32)
        self.batch_size = tf.shape(self.input_ids)[0]
        self.num_steps = tf.shape(self.input_ids)[-1]

        # albert embedding
        embedding = self.bert_embedding()
        # dropout
        lstm_inputs = tf.nn.dropout(embedding, self.dropout)
        # bi-lstm layer
        lstm_outputs = self.biLSTM_layer(lstm_inputs, self.config.lstm_dim, self.lengths)
        # logits for tags
        self.logits = self.project_layer(lstm_outputs)
        # loss of the model
        self.loss = self.loss_layer(self.logits, self.lengths)

        # bert模型参数初始化的地方
        init_checkpoint = self.config.init_checkpoint
        # 获取模型中所有的训练参数。
        tvars = tf.trainable_variables()
        # 加载BERT模型
        (assignment_map, initialized_variable_names) = modeling.get_assignment_map_from_checkpoint(tvars, init_checkpoint)
        tf.train.init_from_checkpoint(init_checkpoint, assignment_map)
        # 打印加载模型的参数
        train_vars = []
        for var in tvars:
            init_string = ""
            if var.name in initialized_variable_names:
                init_string = ", *INIT_FROM_CKPT*"
            else:
                train_vars.append(var)
            # print("  name = %s, shape = %s%s", var.name, var.shape,init_string)

        optimizer = self.config.optimizer
        if optimizer == "adam":
            self.opt = tf.train.AdamOptimizer(self.config.lr)
        else:
            raise KeyError
        grads = tf.gradients(self.loss, train_vars)
        (grads, _) = tf.clip_by_global_norm(grads, clip_norm=1.0)

        self.train_op = self.opt.apply_gradients(zip(grads, train_vars), global_step=self.global_step)

    def bert_embedding(self):
        # load bert embedding
        albert_config = modeling.AlbertConfig.from_json_file(self.config.bert_config_path)  # 配置文件地址。
        model = modeling.AlbertModel(
            config=albert_config,
            is_training=True,
            input_ids=self.input_ids,
            input_mask=self.input_mask,
            token_type_ids=self.segment_ids,
            use_one_hot_embeddings=False)
        embedding = model.get_sequence_output()
        return embedding

    def biLSTM_layer(self, lstm_inputs, lstm_dim, lengths, name=None):

        #lstm_inputs: [batch_size, num_steps, emb_size] return：[batch_size, num_steps, 2*lstm_dim]

        with tf.variable_scope("char_BiLSTM" if not name else name):
            lstm_cell = {}
            for direction in ["forward", "backward"]:
                with tf.variable_scope(direction):
                    lstm_cell[direction] = rnn.CoupledInputForgetGateLSTMCell(
                        lstm_dim,
                        use_peepholes=True,
                        initializer=self.initializer,
                        state_is_tuple=True)
            outputs, final_states = tf.nn.bidirectional_dynamic_rnn(
                lstm_cell["forward"],
                lstm_cell["backward"],
                lstm_inputs,
                dtype=tf.float32,
                sequence_length=lengths)
        return tf.concat(outputs, axis=2)

    def project_layer(self, lstm_outputs, name=None):
        #lstm和logits之间的隐藏层
        #lstm_outputs: [batch_size, num_steps, emb_size] return: [batch_size, num_steps, num_tags]
        with tf.variable_scope("project" if not name else name):
            with tf.variable_scope("hidden"):
                W = tf.get_variable("W", shape=[self.config.lstm_dim * 2, self.config.lstm_dim],dtype=tf.float32, initializer=self.initializer)

                b = tf.get_variable("b", shape=[self.config.lstm_dim], dtype=tf.float32,initializer=tf.zeros_initializer())
                output = tf.reshape(lstm_outputs, shape=[-1, self.config.lstm_dim * 2])
                hidden = tf.tanh(tf.nn.xw_plus_b(output, W, b))

            # project to score of tags
            with tf.variable_scope("logits"):
                W = tf.get_variable("W", shape=[self.config.lstm_dim, self.config.num_tags],dtype=tf.float32, initializer=self.initializer)

                b = tf.get_variable("b", shape=[self.config.num_tags], dtype=tf.float32,initializer=tf.zeros_initializer())

                pred = tf.nn.xw_plus_b(hidden, W, b)

            return tf.reshape(pred, [-1, self.num_steps, self.config.num_tags])

    def loss_layer(self, project_logits, lengths, name=None):
        #计算crf损失
        with tf.variable_scope("crf_loss" if not name else name):
            small = -1000.0
            # pad logits for crf loss
            start_logits = tf.concat([small * tf.ones(shape=[self.batch_size, 1, self.config.num_tags]),tf.zeros(shape=[self.batch_size, 1, 1])],axis=-1)
            pad_logits = tf.cast(small * tf.ones([self.batch_size, self.num_steps, 1]), tf.float32)
            logits = tf.concat([project_logits, pad_logits], axis=-1)
            logits = tf.concat([start_logits, logits], axis=1)
            targets = tf.concat([tf.cast(self.config.num_tags * tf.ones([self.batch_size, 1]), tf.int32), self.targets], axis=-1)

            self.trans = tf.get_variable("transitions",shape=[self.config.num_tags + 1, self.config.num_tags + 1],initializer=self.initializer)
            #对数似然
            log_likelihood, self.trans = crf_log_likelihood(
                inputs=logits,
                tag_indices=targets,
                transition_params=self.trans,
                sequence_lengths=lengths + 1)
            return tf.reduce_mean(-log_likelihood)

Relevant log output
2023-06-27 14:12:06.722268: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 AVX512F FMA
2023-06-27 14:12:06.728420: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcuda.so.1
2023-06-27 14:12:06.834462: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5647fd4400f0 executing computations on platform CUDA. Devices:
2023-06-27 14:12:06.834508: I tensorflow/compiler/xla/service/service.cc:175]   StreamExecutor device (0): NVIDIA A30, Compute Capability 8.0
2023-06-27 14:12:06.838777: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2023-06-27 14:12:06.839586: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5647fb24a440 executing computations on platform Host. Devices:
2023-06-27 14:12:06.839615: I tensorflow/compiler/xla/service/service.cc:175]   StreamExecutor device (0): <undefined>, <undefined>
2023-06-27 14:12:06.840801: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: NVIDIA A30 major: 8 minor: 0 memoryClockRate(GHz): 1.44
pciBusID: 0000:65:00.0
2023-06-27 14:12:06.841076: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2023-06-27 14:12:06.842475: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2023-06-27 14:12:06.843695: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcufft.so.10.0
2023-06-27 14:12:06.844007: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcurand.so.10.0
2023-06-27 14:12:06.845668: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusolver.so.10.0
2023-06-27 14:12:06.846956: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusparse.so.10.0
2023-06-27 14:12:06.850503: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2023-06-27 14:12:06.852002: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2023-06-27 14:12:06.852036: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2023-06-27 14:12:06.853078: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect StreamExecutor with strength 1 edge matrix:
2023-06-27 14:12:06.853091: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1187]      0
2023-06-27 14:12:06.853099: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 0:   N
2023-06-27 14:12:06.854597: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1326] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 12129 MB memory) -> physical GPU (device: 0, name: NVIDIA A30, pci bus id: 0000:65:00.0, compute capability: 8.0)
2023-06-27 14:12:06,855 - /root/Tai/Project/ANER-规范性文件清单/log/train.log - INFO - Created model with fresh parameters.
2023-06-27 14:12:07.187507: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set.  If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU.  To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile.
2023-06-27 14:14:18,782 - /root/Tai/Project/ANER-规范性文件清单/log/train.log - INFO - start training
2023-06-27 14:14:20.096642: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2023-06-27 14:14:22.597785: E tensorflow/stream_executor/cuda/cuda_blas.cc:428] failed to run cuBLAS routine: CUBLAS_STATUS_EXECUTION_FAILED
Traceback (most recent call last):
  File "/root/anaconda3/envs/ner/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1356, in _do_call
    return fn(*args)
  File "/root/anaconda3/envs/ner/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1341, in _run_fn
    options, feed_dict, fetch_list, target_list, run_metadata)
  File "/root/anaconda3/envs/ner/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1429, in _call_tf_sessionrun
    run_metadata)
tensorflow.python.framework.errors_impl.InternalError: 2 root error(s) found.
  (0) Internal: Blas GEMM launch failed : a.shape=(16384, 2), b.shape=(2, 128), m=16384, n=128, k=2
	 [[{{node bert/embeddings/MatMul}}]]
	 [[Adam/update/_278]]
  (1) Internal: Blas GEMM launch failed : a.shape=(16384, 2), b.shape=(2, 128), m=16384, n=128, k=2
	 [[{{node bert/embeddings/MatMul}}]]
0 successful operations.
0 derived errors ignored.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "train.py", line 69, in <module>
    train(model, config, train_manager, dev_manager, id_to_tag)
  File "train.py", line 38, in train
    global_step, batch_loss, _ = sess.run([model.global_step, model.loss, model.train_op], feed_dict)
  File "/root/anaconda3/envs/ner/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 950, in run
    run_metadata_ptr)
  File "/root/anaconda3/envs/ner/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1173, in _run
    feed_dict_tensor, options, run_metadata)
  File "/root/anaconda3/envs/ner/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1350, in _do_run
    run_metadata)
  File "/root/anaconda3/envs/ner/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1370, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InternalError: 2 root error(s) found.
  (0) Internal: Blas GEMM launch failed : a.shape=(16384, 2), b.shape=(2, 128), m=16384, n=128, k=2
	 [[node bert/embeddings/MatMul (defined at /root/Tai/Project/ANER-规范性文件清单/albert/modeling.py:552) ]]
	 [[Adam/update/_278]]
  (1) Internal: Blas GEMM launch failed : a.shape=(16384, 2), b.shape=(2, 128), m=16384, n=128, k=2
	 [[node bert/embeddings/MatMul (defined at /root/Tai/Project/ANER-规范性文件清单/albert/modeling.py:552) ]]
0 successful operations.
0 derived errors ignored.

Errors may have originated from an input operation.
Input Source operations connected to node bert/embeddings/MatMul:
 bert/embeddings/token_type_embeddings/read (defined at /root/Tai/Project/ANER-规范性文件清单/albert/modeling.py:547)
 bert/embeddings/one_hot (defined at /root/Tai/Project/ANER-规范性文件清单/albert/modeling.py:551)

Input Source operations connected to node bert/embeddings/MatMul:
 bert/embeddings/token_type_embeddings/read (defined at /root/Tai/Project/ANER-规范性文件清单/albert/modeling.py:547)
 bert/embeddings/one_hot (defined at /root/Tai/Project/ANER-规范性文件清单/albert/modeling.py:551)

Original stack trace for 'bert/embeddings/MatMul':
  File "train.py", line 66, in <module>
    model = AlbertBiLstmCrf(config)
  File "/root/Tai/Project/ANER-规范性文件清单/models/modeling_BBC.py", line 42, in __init__
    self.albert_bilstm_crf()
  File "/root/Tai/Project/ANER-规范性文件清单/models/modeling_BBC.py", line 53, in albert_bilstm_crf
    embedding = self.bert_embedding()
  File "/root/Tai/Project/ANER-规范性文件清单/models/modeling_BBC.py", line 99, in bert_embedding
    use_one_hot_embeddings=False)
  File "/root/Tai/Project/ANER-规范性文件清单/albert/modeling.py", line 207, in __init__
    dropout_prob=config.hidden_dropout_prob)
  File "/root/Tai/Project/ANER-规范性文件清单/albert/modeling.py", line 552, in embedding_postprocessor
    token_type_embeddings = tf.matmul(one_hot_ids, token_type_table)
  File "/root/anaconda3/envs/ner/lib/python3.6/site-packages/tensorflow/python/util/dispatch.py", line 180, in wrapper
    return target(*args, **kwargs)
  File "/root/anaconda3/envs/ner/lib/python3.6/site-packages/tensorflow/python/ops/math_ops.py", line 2647, in matmul
    a, b, transpose_a=transpose_a, transpose_b=transpose_b, name=name)
  File "/root/anaconda3/envs/ner/lib/python3.6/site-packages/tensorflow/python/ops/gen_math_ops.py", line 5925, in mat_mul
    name=name)
  File "/root/anaconda3/envs/ner/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 788, in _apply_op_helper
    op_def=op_def)
  File "/root/anaconda3/envs/ner/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
    return func(*args, **kwargs)
  File "/root/anaconda3/envs/ner/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3616, in create_op
    op_def=op_def)
  File "/root/anaconda3/envs/ner/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2005, in __init__

@SupermanTai,
We see that you are using tf version 1.14, 1.x is not actively supported, please update to 2.x and let us know if you are facing the same issue.
And also you have provided the code which is suitable for 1.x version. Could you please try to migrate your TensorFlow code from TensorFlow 1.x to TensorFlow 2 with the help of this official document.
https://www.tensorflow.org/guide/migrate
Also please try to install the tensorflow latest stable version by referring to the official build documentation.
https://www.tensorflow.org/install
Thank you!

Tensorflow 1 is no longer supported, To ease the process of conversion you can install Tensorflow and Tensorflow-upgrade using the following Commands/
pip install tensorflow
and
pip install tensorflow-upgrade
Run the upgrade script on your TensorFlow 1.x code:
tensorflow-upgrade --infile your_script.py --outfile upgraded_script.py
Replace your_script.py with the name to your TensorFlow 1.x script, this will remove all the depracated methods and replace them with new ones in the new script.


renamed files

https://github.com/wasade/q2-fragment-insertion/blob/64d4b52847fef856ebcf01c6459395af0dcb5c7f/q2_fragment_insertion/_insertion.py#L50
Is there a reason why you chose to not use the tree and placement files (.relabelled) that have the restored internal node labels? As far as I understand the code, Siavash assigns every node a unique ID and prefixed the original label with this ID. In a postprocessing step (a generated python program) those IDs get trimmed from the labels to restore their original values.
Thus, users don't see those IDs in e.g. the taxonomy labels of the reference.

No strong feelings. Present tree is not great for taxonomy
On Nov 8, 2017 6:10 PM, "Stefan Janssen"<EMAIL_ADDRESS>wrote:

https://github.com/wasade/q2-fragment-insertion/blob/
64d4b52847fef856ebcf01c6459395af0dcb5c7f/q2_fragment_
insertion/_insertion.py#L50
Is there a reason why you chose to not use the tree and placement files
(.relabelled) that have the restored internal node labels? As far as I
understand the code, Siavash assigns every node a unique ID and prefixed
the original label with this ID. In a postprocessing step (a generated
python program) those IDs get trimmed from the labels to restore their
original values.
Thus, users don't see those IDs in e.g. the taxonomy labels of the
reference.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wasade/q2-fragment-insertion/issues/5, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAc8svp8YiR3RYDacZaejMoPyfzx6v0Xks5s0l8vgaJpZM4QXVRJ
.

true, but I think more useful for end users than the non-renamed

Okay, sounds good. Okay with changing
On Wed, Nov 8, 2017 at 6:30 PM, Stefan Janssen<EMAIL_ADDRESS>wrote:

true, but I think more useful for end users than the non-renamed
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/wasade/q2-fragment-insertion/issues/5#issuecomment-343028462,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAc8soUCSFBgepeSuoIbwtHFSXt3i73fks5s0mPGgaJpZM4QXVRJ
.

Now returning the renamed tree: PR #7


docs: add KGPE-D16 connection and setup

Signed-off-by: Michał Żygowski<EMAIL_ADDRESS>

@macpijan if in long run validation should take over KGPE-D16 hardware maintanance in lab they probably should spent 5min reviewing this document.


Test required argument overridden

I wrote this test, but not sure must it pass or panic, what do you think?

As you can see now it passes

I think this test should panic. In the example it doesn't appear to be a big deal but if that required arg had a value and the user called unwrap() it'd be a bad day...even though thayz probably poor CLI designing for the user to begin with :P

Closed until #184 fix


Added change method

Added change method for selectric display on original select changed manually.

Doesn't this select the item by it's index? How about changing selectric by value?


Fix iOS build

When the library is added into a new react-native project (tested on version 0.73 and 0.74) it can't be compiled for iOS.
It results in error:
$PROJECT/node_modules/react-native-malwarelytics/ios/Malwarelytics.swift:25:39 Cannot find type 'RCTInitializing' in scope
RCTInitializing header is not visible for some reason.
Even though it is located in $PROJECT/ios/Pods/Headers/Public/React-Core/React/RCTInitializing.h (like other react native headers).

Problematic RCTInitializing was removed.
Fixed by #58


add backwards compatibility for docker info api change from #26276

#26276 introduced a backwards incompatible api change in the docker info api. If the client reports a lower API version than 1.25, we need to return a response using the old format.

@vikstrous can you tell me more about this issue you're facing?
$ curl --unix-socket /var/run/docker.sock http:/v1.24/info | jq '.SecurityOptions'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2068    0  2068    0     0   156k      0 --:--:-- --:--:-- --:--:--  168k
[
  "seccomp"
]
$ curl --unix-socket /var/run/docker.sock http:/v1.25/info | jq '.SecurityOptions'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2158    0  2158    0     0   234k      0 --:--:-- --:--:-- --:--:--  263k
[
  {
    "Key": "Name",
    "Value": "seccomp"
  },
  {
    "Key": "Profile",
    "Value": "/home/amurdaca/src/github.com/docker/docker/profiles/seccomp/default.json"
  }
]

Are you using the API client? I can only imagine there's a problem there because the client uses the wrong types.Info struct. I don't know docker has ever kept backward compatibility there.

Alright, I figured this was an issue in the API client. Opened https://github.com/docker/docker/issues/28118 which fixes it (it was a version issue)


Add a guide to taking the bus, using the u-pass, etc.

When looking at the bus schedule, the app should offer some information on how to take the bus and which buses to take between campuses. Some information that should be captured in the app:

Directions on how to get to/from Lee's Campus
Directions on how to get to/from MBA
Directions on how to get to/from RGN (take shuttle)
Directions on taking the bus - u-pass, pricing, pull cord / stop button.

Not an "issue" - recorded in planning notes.


Metadata ontology id optional

Made ontology id optional for Metadata- and child widgets. Whenever no ontologyId is provided, the defining ontology is selected, or, if not available, the first other available ontology. In this case, info messages are shown on the widgets, but are left out for AlternativeNameTabWidget, CrossRefTabWidget, TitleWidget and DescriptionWidget for now as the data should be independent from the ontology there (however, it practically isn't exactly identical)

Resolved merge conflicts due to recent merge of widget error handling into main.


CATKIN_PACKAGE_LIBEXEC_DESTINATION mentioned in docs is not implemented

The documentation mentions the CMake variable CATKIN_PACKAGE_LIBEXEC_DESTINATION.
https://github.com/ros/catkin/blob/dfc93c72d9799f57442d08c2f6e9fd494bba95c1/doc/user_guide/variables.rst#L53
In addition, we see the following mentions in configure files:
https://github.com/ros/catkin/blob/dfc93c72d9799f57442d08c2f6e9fd494bba95c1/cmake/templates/cfg-extras.context.py.in#L19
https://github.com/ros/catkin/blob/dfc93c72d9799f57442d08c2f6e9fd494bba95c1/cmake/templates/env-hook.context.py.in#L19
Looking through the code, we see no mention of such a variable.
https://github.com/ros/catkin/blob/dfc93c72d9799f57442d08c2f6e9fd494bba95c1/cmake/catkin_destinations.cmake
Is this a real variable or perhaps something that was envisioned but never implemented?

That variable is indeed not populated atm.
Would you mind create a pull request either removing the variable or filling it with an actual value?


Dropdown positions are not working in Vue3 project

Describe the bug
We have added dropdown of bootsrap-vue-next, but any positions of dropdowns are not working. we have tried all dropdown positions with diffrent ways.
          <template #button-content>

            {{ text }}
          </template>
          <BDropdownItem linkClass="text-dark" href="javascript:void(0);" class="notify-item" v-for="(entry, i) in languages" :key="`Lang${i}`" :value="entry" @click="setLanguage(entry.language, entry.title, entry.flag)" :class="{ active: lan === entry.language }">
            <img :src="`${entry.flag}`" alt="user-image" class="me-1" height="12" />
            {{ entry.title }}
          </BDropdownItem>
        </BDropdown>```

### Reproduction

https://stackblitz.com/edit/bootstra-vue-next-template-5883ra?file=src%2FApp.vue

### Used Package Manager

npm

### Validations

- [X] Have tested with the latest version. This is still alpha version and sometime things change rapidly.
- [X] Follow our [Code of Conduct](https://github.com/bootstrap-vue-next/bootstrap-vue-next/blob/main/CODE_OF_CONDUCT.md)
- [X] Read the [Contributing Guide](https://github.com/bootstrap-vue-next/bootstrap-vue-next/blob/main/CONTRIBUTING.md).
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [X] The provided reproduction is a [minimal reproducible](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.

Your code block is missing the dropdown tag, you reproduction works if you make space top of the dropdown.
Fixed the reproduction with space:
https://stackblitz.com/edit/bootstra-vue-next-template-mhihkx?file=src%2FApp.vue
Can you share your code?

I have followed the documentation but it will be not working.

Provide a reproduction that shows when it's not working. the one you provided worked.


GET /certificates with query limit

Hi,
I am trying to get all the certificate(total 38) details with the following commands. But every time it is showing only 10 certificate details(default limit is 10). How to change the limit query inside the curl command.
$ curl  -H "Content-Type: application/json" -H "Authorization:Bearer $token" -X GET "http://<IP_ADDRESS>/api/1/certificates?limit=200"
Regards,
Arunava

Use the count argument instead of limit.

Thanks Man. :)
Please change the Lemur documentation as well.

Updating now... thanks for the catch!

You are welcome. :+1:


Is there a way to receive message on the local computer?

Hi,
When I was coding bot with Slack + BotKit I could receive messages on the bot running locally on my machine. That was very handy.
IS this possible in some way with this new smooch-bot implementation? I guess this old one https://github.com/gozman/smoochbot based on botkit is deprecated?
Thanks.

Yes, you can run your bot script locally. See the console example in the readme here: https://github.com/smooch/smooch-bot-example


make test function visible

Codecov Report

Merging #68 (a7853ad) into main (c2bf6cc) will decrease coverage by 0.17%.
The diff coverage is 77.77%.

@@            Coverage Diff             @@
##             main      #68      +/-   ##
==========================================
- Coverage   60.66%   60.49%   -0.18%
==========================================
  Files          12       12
  Lines        1177     1182       +5
==========================================
+ Hits          714      715       +1
- Misses        372      374       +2
- Partials       91       93       +2

Impacted Files
Coverage Δ

pkg/test/test_util.go
67.74% <60.00%> (-1.49%)
:arrow_down:

pkg/test/kafsar.go
86.66% <100.00%> (ø)

pkg/test/pulsar.go
55.55% <100.00%> (ø)

pkg/test/test_kafsar_impl.go
60.00% <100.00%> (ø)

pkg/kafsar/kafka_impl.go
48.46% <0.00%> (-0.48%)
:arrow_down:

Continue to review full report at Codecov.

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


Instead of link the page shows text [systest-filtering.md]

[Enter feedback here]
In the advanced options section in the sentence there is an .md instead of a link to the page.

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

ID: 60782905-2f9f-a018-04a2-fada4ad982b0
Version Independent ID: d31e7f48-99fc-bb22-ec10-8714043d12a2
Content: Test projects in Visual Studio - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/perf-test/testing-support.md
Service: dynamics-ax-platform
Product: ****
Technology: ****
GitHub Login: @RobinARH
Microsoft Alias: shailesn

I published a fix for this and it should go live later today. Thanks for letting us know. - Robin

I published a fix for this and it should go live later today. Thanks for letting us know. - Robin


parser.parse does not pass encoding parameter during recursion

Relevant snippet from parser.py:
def parse(src, encoding=None):
  ...
  elif safe_is_file(src):
    return parse(open(src, 'rb').read())

I suppose it shouldn't recurse in any case. Good catch!


Type Hints for Supabase-py

It would be nice if we could get type hints on the library so that we can allow users to sanity check their code.
Thank you @dreinon for proposing this!

Hey @J0 can I work on this ?

@SwarajBaral Sure 😄

Thank you @dreinon ,I will give it a go. Just a question before I begin. Should I add type hinting to a single file and create a PR first ? Just to check if I am going on the right path or not ?

@dreinon beat me to it and yes, go for it!
If you'd like, you can add hints to a single file and then request a review before moving on to the rest of the files.

Thank you for the reply @J0. I am on it.

I can help with this as well; @SwarajBaral wanna split work? 😄

This is just a recommendation, but Pydantic supports autogenerating Python models from OpenAPI specs: https://pydantic-docs.helpmanual.io/datamodel_code_generator/
Might help with this.

On second thought, I think I'm misinterpreting this issue :)
The pydantic code generation is useful if you want to add type hints for the user's tables in Supabase, not to add typehints to the Supabase codebase itself.

@aantn , go for it! It would be great if you could post a link here once you're done so that we can link to it
@dreinon  Don't think we have docs yet :( There is an examples page but it is still WIP We can definitely link to tutorials once we have a docs page though

@leynier @anand2312 feel free to take this issue and split the work if you want since we got no response from @SwarajBaral yet.

Many modules and functions in this code base look to already be using type hints (typed).
Here are the functions I see that are not typed (so far):

[ ] client.py

[ ] DEFAULT_OPTIONS
[ ] def storage...

[ ] does not have an explicit return type.

[ ] def table...

[ ] does not have an explicit return type.

[ ] def from_

[ ] does not have an explicit return type.

[ ] def rpc

[ ] function arguments are not typed
[ ] does not have an explicit return type.

[ ] async def _close_subscription

[ ] function arguments are not typed
[ ] does not have an explicit return type.

[ ] def get_subscriptions

[ ] does not have an explicit return type.

[ ] def create_client

[ ] **options could use the same type hint as DEFAULT_OPTIONS

I've been manually looking at files for missing type hints. Trying to use mypy to do this automatically. Here are my results so far:
> mypy -p supabase
pyproject.toml: Only all lowercase booleans allowed (line 25 column 1 char 733)
supabase\request_builder.py:1: error: Cannot find implementation or library stub for module named "httpx"
supabase\request_builder.py:2: error: Cannot find implementation or library stub for module named "postgrest_py.request_builder"
supabase\lib\storage\storage_file_api.py:3: error: Cannot find implementation or library stub for module named "httpx"
supabase\lib\realtime_client.py:3: error: Cannot find implementation or library stub for module named "realtime_py.connection"
supabase\lib\realtime_client.py:4: error: Cannot find implementation or library stub for module named "realtime_py.transformers"
supabase\lib\query_builder.py:3: error: Cannot find implementation or library stub for module named "httpx"
supabase\lib\query_builder.py:5: error: Cannot find implementation or library stub for module named "postgrest_py.client"
supabase\lib\query_builder.py:6: error: Cannot find implementation or library stub for module named "postgrest_py.request_builder"
supabase\lib\auth_client.py:3: error: Cannot find implementation or library stub for module named "gotrue"
supabase\lib\storage\storage_bucket_api.py:8: error: Cannot find implementation or library stub for module named "httpx"
supabase\lib\storage\storage_bucket_api.py:109: error: Return value expected
supabase\client.py:3: error: Cannot find implementation or library stub for module named "postgrest_py"
supabase\client.py:3: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
supabase\client.py:51: error: "object" has no attribute "update"
supabase\client.py:56: error: Incompatible types in assignment (expression has type "object", variable has type "str")
supabase\client.py:62: error: Argument 3 to "_init_supabase_auth_client" of "Client" has incompatible type "**Dict[str, object]"; expected "bool"
supabase\client.py:62: error: Argument 3 to "_init_supabase_auth_client" of "Client" has incompatible type "**Dict[str, object]"; expected "Dict[str, Any]"
supabase\client.py:62: note: "Dict" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
supabase\client.py:62: note: Consider using "Mapping" instead, which is covariant in the value type
supabase\client.py:62: error: Argument 3 to "_init_supabase_auth_client" of "Client" has incompatible type "**Dict[str, object]"; expected "Dict[str, str]"
supabase\client.py:73: error: Argument 3 to "_init_postgrest_client" of "Client" has incompatible type "**Dict[str, object]"; expected "Dict[str, str]"
supabase\client.py:153: error: Missing positional argument "table_name" in call to "SupabaseRealtimeClient"
supabase\client.py:154: error: Argument 2 to "SupabaseRealtimeClient" has incompatible type "Dict[str, Dict[str, str]]"; expected "str"
Found 20 errors in 7 files (checked 12 source files)

@joeriddles Thanks for compiling this list! Helps a lot 😄


Responsive Variations for sticky-top

I am trying to replicate the behavior of the navbar from the Bootstrap docs site, and having some difficulty. Specifically, I am trying to make the navbar sticky-top on wider breakpoints, but part of the content flow on smaller breakpoints, so that it doesn't take up vertical space on mobile as the user scrolls. on Bootstrap Docs, this behavior seems to be handled by a custom bd-navbar class, which uses Bootstrap's responsive breakpoints to toggle position: sticky. I request this functionality be built into Bootstrap with classes like the following:

sticky-top-xs
sticky-top-sm
sticky-top-md
sticky-top-lg
sticky-top-xl

I've some discussion in this repo about having sticky-x classes for other areas of the screen; presumably those could have responsive variations also, but I'm just asking for the top variants. 🙂

Will be available in v5 #29158

Wow, guess I missed that while searching for existing Issues but not PRs. Sorry for the duplicate!


Try encoding rune IDs as two integers

Block height is delta, txindex is delta, every time block height delta is nonzero, reset txindex to zero.

Why did I want to do this?
Maybe because conceptually a rune ID has two components?
Delta encoding doesn't really help.
You do save one byte if the rune transaction is in the first 256 of the block. But this isn't really a big savings.
I think having a single integer that is the canonical rune ID encoding is valuable.


frontend: Provide input validation

At the moment the user input is not validated. For example it is possible to input any string as the target address. Ether js will throw an error in such cases when the user clicks the send request button. It should only be allowed to set checksum addresses in the field. An appropriate error message should be shown to the user if an invalid value is given. Also the submit button should be disabled until the whole form is valid.
Validate:

Target address should be checksum
Amount should be a valid number
Amount should match token decimals
Amount should be > 0
Value + the fees should be <= the balance the user has

Design needed

@manuelwedler Potentially relevant for this issue too: https://docs.ens.domains/dapp-developer-guide/ens-l2-offchain

I would rather keep the PR small and create another afterwards for properly supporting ENS. This should also involve some testing effort, which is not related to the validation. We never supposed it to be supported, so let's use the #914 issue to track implementing this as a new feature.

Yup!


Update unmanaged cluster pre-reqs for Mac to include support for ARM64.

Our unmanged-cluster getting started docs should be updated as mac M1 (arm64) is now supported.

the warning to users should be consistent with:

picking this up now


mention debugging mode in readme

Resolves https://github.com/postwait/node-amqp/issues/431

@postwait could you please take a look at this one?


Update GitIgnore

Update GitIgnore for vscode settings

I'm good with the change but curious what prompted it. Is there an issue tracking it or something that happened recently to trigger adding it?

I installed an extension that added that folder. I noticed the other repos ignore that folder so I am just updating dotnet

/check-enforcer override