Merges latest testcafe to our fork

Purpose
Describe the problem you want to address or the feature you want to implement.
Approach
Describe how your changes address the issue or implement the desired functionality in as much detail as possible.
References
Provide a link to the existing issue(s), if any.
Pre-Merge TODO

[ ] Write tests for your proposed changes
[ ] Make sure that existing tests do not fail

Thanks for the contribution! Before we can merge this, we need @DIRECTcut @Aleksey28 @AlexKamaev @wentwrong @AndreyBelym @VasilyStrelyaev @rob4629 @Farfurix @miherlosev to sign the Salesforce.com Contributor License Agreement.

I tried to sign, but was presented with an error: Could not sign the CLA, please<EMAIL_ADDRESS>

@iamerico Please disable the salesforce-cla bot or set it to stop spamming.

@iamerico, @iglosiggio, @mulesoft-labs Please stop spam from this pull request.

@iamerico, @iglosiggio, @mulesoft-labs Please stop spam from this pull request.

I'm not remotely related to this fork.
Will close the PR though. It looks like an old attempt to re-sync the fork with the master branch.


db_QueryDelete, db_QueryInsert should be renamed

db_QueryDelete and db_QueryInsert don't do exactly what they say. They attempted to be clever, to return values useful to the mentioned query types, but they are essentially the same thing as db_Query.
db_QueryDelete returns the number of affected fields.
db_QueryInsert returns the id of the item inserted (or first item changed).
I recently added some SQL code that pushed A LOT of data in to a table using an INSERT query, which is a completely valid use case, but functionally different than db_QueryInsert is used for. Ultimately I ended up using db_QueryDelete.
db_QueryDelete should probably be named db_QueryChanged, and db_QueryInsert become db_QueryId. The rest of the db_Query family should be evaluated, and make sure that the word following "Query" describes what is being returned.
The name db_QueryFetch seems to make sense, so other than some of the variants, there may not be many others to change.

db_QueryAffectedFields db_QueryAffectedItemId ?

Yeah, I ran into this with multiple-insert in notifications too. Will want to revisit the insert query there too. There isn't a nice structured way to do multiple insert at the moment without just generating the query manually.


ImportError: cannot import name 'analytics' from partially initialized module 'gradio' (most likely due to a circular import) (/usr/local/lib/python3.10/dist-packages/gradio/init.py)

ImportError: cannot import name 'analytics' from partially initialized module 'gradio' (most likely due to a circular import) (/usr/local/lib/python3.10/dist-packages/gradio/init.py)
What should I do?

I'll check it out

try with the latest notebook

Had the same problem as OP, now getting this:
Stable diffusion model failed to load
Loading weights [bb6e6362d8] from /models/model.ckpt
Loading weights [bb6e6362d8] from /models/model.ckpt
loading stable diffusion model: UnpicklingError
Traceback (most recent call last):
  File "/notebooks/sd/stable-diffusion-webui/modules/processing.py", line 607, in process_images
    sd_models.reload_model_weights()
  File "/notebooks/sd/stable-diffusion-webui/modules/sd_models.py", line 544, in reload_model_weights
    state_dict = get_checkpoint_state_dict(checkpoint_info, timer)
  File "/notebooks/sd/stable-diffusion-webui/modules/sd_models.py", line 271, in get_checkpoint_state_dict
    res = read_state_dict(checkpoint_info.filename)
  File "/notebooks/sd/stable-diffusion-webui/modules/sd_models.py", line 252, in read_state_dict
    pl_sd = torch.load(checkpoint_file, map_location=map_location or shared.weight_load_location)
  File "/notebooks/sd/stable-diffusion-webui/modules/safe.py", line 108, in load
    return load_with_extra(filename, *args, extra_handler=global_extra_handler, **kwargs)
  File "/notebooks/sd/stable-diffusion-webui/modules/safe.py", line 156, in load_with_extra
    return unsafe_torch_load(filename, *args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/torch/serialization.py", line 795, in load
    return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
  File "/usr/local/lib/python3.9/dist-packages/torch/serialization.py", line 1002, in _legacy_load
    magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, '\xec'.

check your model, make sure you tick the right box if it's safetensors or not

Mrs. TheLastBen.
Thanks to you, the error was resolved.
Thank you so much. ^ _ ^

I was getting the same error.
I changed the fast_stable_diffusion_AUTOMATIC1111 repository to the latest one and the error went away.

Requirement already satisfied: tomesd in /usr/local/lib/python3.10/dist-packages (0.1.3)
Requirement already satisfied: torch>=1.12.1 in /usr/local/lib/python3.10/dist-packages (from tomesd) (2.0.1+cu118)
Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from torch>=1.12.1->tomesd) (3.12.2)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.10/dist-packages (from torch>=1.12.1->tomesd) (4.6.3)
Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch>=1.12.1->tomesd) (1.11.1)
Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch>=1.12.1->tomesd) (3.1)
Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from torch>=1.12.1->tomesd) (3.1.2)
Requirement already satisfied: triton==2.0.0 in /usr/local/lib/python3.10/dist-packages (from torch>=1.12.1->tomesd) (2.0.0)
Requirement already satisfied: cmake in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch>=1.12.1->tomesd) (3.25.2)
Requirement already satisfied: lit in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch>=1.12.1->tomesd) (16.0.6)
Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from jinja2->torch>=1.12.1->tomesd) (2.1.3)
Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->torch>=1.12.1->tomesd) (1.3.0)
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 35, in
import gradio
File "/usr/local/lib/python3.10/dist-packages/gradio/init.py", line 3, in
import gradio.components as components
File "/usr/local/lib/python3.10/dist-packages/gradio/components.py", line 56, in
from gradio.blocks import Block, BlockContext
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 26, in
from gradio import (
ImportError: cannot import name 'analytics' from partially initialized module 'gradio' (most likely due to a circular import) (/usr/local/lib/python3.10/dist-packages/gradio/init.py)
same here

still receiving this error after using latest notebook, are these settings correct?

this is the error im getting

this is the error im getting

It's the notebook problem, i'm still getting error even i create a new google account.

rename your old sd folder to sd_old

rename your old sd folder to sd_old

I am still getting the same error as the others after renaming and installing a fresh copy.

use the latest notebook and delete the model.ckpt

@draxx318 https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb
try running it without the first cell

@TheLastBen
I will try. I copied a model from the old sd folder to the new one, perhaps that could be the issue. Im going to try both solutions later.

Running the last notebook and redownloading the model worked for me.

Had the same issues as reported here by the original op.  I reloaded a new collab notebook of Stable Diffusion.  Didn't understand this at first but figured it out. Just means you load collab Stable Diffusion again from the source where you got it. Didn't need to rename or delete anything from my end.  Kept my directory structure the same. Somehow I guess changes done in the source level (Collab notebook) changed so we needed to load again from the source.  Hope this helps some people.

ImportError: cannot import name 'analytics' from partially initialized module 'gradio' (most likely due to a circular import) (/usr/local/lib/python3.10/dist-packages/gradio/init.py)
What should I do?

Is your python script named the same as one of its import libraries? This is how I inadvertently caused this issue.


change help string and raise error if wrong input

This closes #341
The issue is that understandably some folks are using nbdev_update_lib to convert notebooks when they should be using nbdev_build_lib.  I made the following changes:

Changed the help docs of the CLI because it was wrong:

was "A notebook name or glob to convert"
changed to "A python filename or glob to convert"

Raise a warning if you try to pass in a file or glob ending with .ipynb as an argument to nbdev_update_lib

@jph00 ready for review

Good idea!


fix: zap security

What?

ZAP Security

Finally, which approach is working? deployctl.yaml? or something else?

Removed the deployctl.yaml file and implemented headers in middleware.ts file.


Config Descriptions not Updated

It still says 20% boost to both here. It is updated in the spreadsheet so idk why it isn't updated in the game.

@cedric-h - did you forget to goblin chant?


Feature: In-app redirect based call service

Similar to the customized News based on Geolocation feature we want a call button which takes the user to their call screen in case they want to call the facilities or service, where the phone number will be based on geolocation.

I can implement this feature.

May i know where i should add call button.

I don't think this feature has yet been designed for v1.0, so there is likely not a set place right now.  Be aware that this would likely not get pulled in until post v1.0.

I have implemented this feature . Since this feature is not for this version v.1.0 , i can't rise PR for this right?

May i know where can i find phone number , currently news is implemented with static data.

This can be done via the Health Authority in HTML.


tf.contrib.xprof not supported on Windows

opts = tf.contrib.tfprof.model_analyzer.TRAINABLE_VARS_PARAMS_STAT_OPTIONS
AttributeError: module 'tensorflow.contrib.tfprof' has no attribute 'model_analyzer'
I have tensorflow version 1.2 and have made all the other transitioning changes and the above error was thrown later.
Has the contrib support been resolved for Windows? Please help

The tf.contrib.xprof submodule is not yet supported on Windows. @panyx0718 is currently working to add support for this submodule, so assigning this bug to him as a placeholder.

I think it supports Windows now. Note: Now the api is: tf.profiler
Let me know if it doesn't work


[HACKTOBERFEST 2024] - Strings Quiz

[!IMPORTANT]
This issue is part of our 2024 Hacktoberfest initiative. If you are interested in working on this issue, refer to our top-level tasks to see if this issue is claimed, or to claim it if it is not.

This issue is to create the Strings quiz.
The file you should be working on is found in /curriculum/challenges/english/25-front-end-development/quiz-strings.
All quiz questions need to relate to one of these topics:

bracket notation (and extracting character form string)
template literals and interpolation
escape sequences and new lines
String constructor
substrings
prompt() method
string object vs primitive
ASCII and charCodeAt() and fromCharCode()
toString()
includes()
slice()
toLowerCase() toUpperCase()
replace()
repeat()
trim()

[!CAUTION]
Questions which do not fall under these topics will be rejected.

You are welcome to include code blocks in your questions, but please keep them short (four lines or less).
Please do NOT open a pull request until you have completed all questions. Your quiz should have exactly 20 questions.

Thank you for your interest in contributing. This issue will be opened for contribution when Hacktoberfest starts on October 1st.

[!CAUTION]
Pull requests which are created before October 1st will not be eligible for Hacktoberfest. We appreciate enthusiasm, but encourage you to hold off on contributing to this issue until the event has begun.

If you wish to be notified when this issue is opened for contribution, subscribe to notifications:

This issue is now open
If you would like to work on this issue, please leave a comment so we can assign it to you.
Be sure to read our contributing guidelines.

i want to slove this issue

@naomi-lgbt hi  i want to slove this issue please assign me

Hi, I would like to work in this issue if still available please, thank you~

This issue has been assigned a contributor. To prevent extraneous notifications, the issue is now locked. If you have any questions, please reach out to me in our Discord community.

It has been seven days without activity. This issue is now open for reassignment.

Can you assign this issue to me?

I can work on it

Hello! I would like to take this up. Thanks.

@pepitacodes you were next in line, so this issue has been assigned to you. Let us know if you are no longer interested.


Tweak histograms and traces

Adjust the histogram buckets for the query path so they're not crazy wrong, and don't trace every cache lookup, thats too many - just trace the aggregate call to the cache.
Includes #971, thats needs merging and reviewing first.

LGTM, based on just the last 2 commits.

LGTM as well, but there is a merge conflict that needs resolving first.

This makes me happy, once the batch lookups are merged.

I've moved this changes on to #981 as they depend on the code there.


fix/149 Print help if subcommand is missing

Is this already done @BAntonellini ?

yup, I noticed the same on May 12 ^. @BAntonellini ?

This PR was left aside because we fixed the "missing subcommand" bug when I worked with dbt-coves setup and it's child-commands
Closed.


Typescript Support

Add type definition to support typescript.
However, I couldn't find package.json. To make this work, please modify package.json add the following:
"type": "type.d.ts",

Publishing is currently handled by me in a separate repo. I can add this to the package.json of course, but I don't want to make a release because that would lead to diverging version numbers between the official GitHub releases and the release on NPM. So @orestbida would have to make a release first. Or we wait for the next release to include this.
@orestbide Maybe we can also discuss handing over the NPM package and publishing workflow, now that you're using workflows for vercel anyway 😄

Could I know when the next release is scheduled? By the way, it's fine to release this in the next release. 😄

@ReiiYuki Since you've already gone through the trouble of defining the types, we might as well publish a minor revision: v2.8.1, the last v2. v3 is right around the corner.
@tillsanders Yea, I think it's time! My npm account is under the orestbida username.


Refactor SARIF formatter to correctly handle endColumn in CodeScanning module

Hi 👋 . I just noticed the highlight ranges in the code scanning alerts are one-character off, and this pull request intends to adjust the endColumn 🙇 .
Behavior (with / without last_column)
Before Change (e within name is not highlighted)

After Change

Tests
Checked the behavior using the following workflow.
name: "Rubocop"

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]
jobs:
  rubocop:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
    steps:
    - name: Checkout repository
      uses: actions/checkout@v4
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: 3.1.4
    # - name: Install Code Scanning integration
    #   run: bundle add code-scanning-rubocop --version 0.6.1 --skip-install
    - name: Install Code Scanning integration
      run: bundle add code-scanning-rubocop --github parroty/code-scanning-rubocop --branch fix-range --skip-install
install
    - name: Install dependencies
      run: bundle install
    - name: Rubocop run
      run: |
        bash -c "
          bundle exec rubocop --require code_scanning --format CodeScanning::SarifFormatter -o rubocop.sarif
          [[ $? -ne 2 ]]
        "
    - name: Upload Sarif output
      uses: github/codeql-action/upload-sarif@v2
      with:
        sarif_file: rubocop.sarif

Changes
This pull request includes a change to the file_finished method in the lib/code_scanning/rubocop/sarif_formatter.rb file. The change modifies the calculation of the endColumn value. If o.last_column is zero, o.real_column is used as before, but if o.last_column is not zero, one is now added to o.last_column to calculate the endColumn value.

thanks


Build fails when target file makes use of the include_str macro for reading data

cargo mutants appears to be unable to build and run a baseline when the unit test pulls in data from the filesystem via include_str!('../../some/path/to/test/data').
I imagine this happens because mutants is builds itself in its own directory and that messes up path resolution.
Any tips to address this?

Can you try building with --in-place?
Is the path an relative path pointing outside of the Cargo workspace tree?

Maybe if the baseline build fails then we should point to a doc with some debugging steps, including trying --in-place. A start on this is in https://github.com/sourcefrog/cargo-mutants/wiki/Troubleshooting.

Is the path an relative path pointing outside of the Cargo workspace tree?
Yes, and yes the baseline build did fail. I'll try with --in-place, thanks!


Select Hive reader by serde name not instance

Instead of the expensive and error process of selecting the Hive reader by
instantiating a serde and then checking for a type, just check the class name
of the serde.
Fixes #1734

Looks good


Any Plans For V9 Update?

Really love this module and would love to see a V9 update. Been holding off upgrading to V9 as Simplefog is so important for my campaign. Any plans for a V9 update and if so when?

So far it has been working for me on V9, I have not tried any new simplefog additions to a new world but my previously set up world with simple fog is functioning as it should after migrating the world to v9 and latest DND5e.

I'm glad it's working for you but it's not the case for everyone. This module needs a v9 update.

Resolved in 0.2.0


Hosted zone Particle

has the changes for security group PR because I forgot to branch for that one. I'll do it right next time

Are there ways to add tags for hosted zone w/ boto3?
Atleast in c1 I think they were enforcing tags at some point for hosted zone, not sure if its high priority outside but might be good to have

Are there ways to add tags for hosted zone w/ boto3?
Atleast in c1 I think they were enforcing tags at some point for hosted zone, not sure if its high priority outside but might be good to have
@bhl5kj

will look into it, but they don't seem to have one after a quick look
they have an open issue asking for zone tagging


Updating README to point to nasa/podaacpy

This closes #92
@lewismc

Changes Unknown when pulling 125b2f746c9b5734b590addb321d8165112cad91 on Omkar20895:master into ** on nasa:master**.

@lewismc I am unable to add nasa/podaacpy to requires.io, I think we need to have ownership rights to add it. Thanks :)

@Omkar20895 we need to contact @jasonduley in order to have him authenticate the requires.io service from the NASA account.
@jasonduley are you able to do that for us please? requires.io is one of the CI services we have running in Podaacpy.
Thank you

Lewis, I made you an admin on the repo to set this up.

Thank you @jasonduley
@Omkar20895 this is done. Thanks for pointing it out.


Rails 6.1 support

Hello,
I am using this gem in my project for 'form objects' and I would like to upgrade to rails 6.1 - however, this gem seems to be holding back that upgrade.
Is the reason for not supporting 6.1 simply because it hasn't been done yet - or do the 6.1 changes mean the end of the road for this gem in newer rails projects ?
Thanks
Gary

Implemented by https://github.com/nulldb/nulldb/pull/106

Implemented by https://github.com/nulldb/nulldb/pull/106


Bump kythe version to latest.

Signed-off-by: Henner Zeller<EMAIL_ADDRESS>

Codecov Report

Merging #1095 (8094041) into master (83b86f7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1095   +/-   ##
=======================================
  Coverage   92.91%   92.91%
=======================================
  Files         335      335
  Lines       22192    22192
=======================================
  Hits        20620    20620
  Misses       1572     1572

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 83b86f7...8094041. Read the comment docs.


Properly handle various SHELLs

[ ] properly prepend [warp:<id>] to PROMPT/PS1
[ ] properly load the correct rc/profile file at warp opening

Goal: bash, zsh on Linux and OSX
(check how tmux does it)

tmux retrieves the shell using the following fallbacks:

env $SHELL
passwd file
platform defaults

tmux also run bash with -l which seems to standardize the behavior of the shell.

bash -l -c "echo $PS1"

Most consistent solution seems to start a bash -l or zsh and write echo $PS1; exit or echo $PROMPT; exit to it and parse the output

Didn't find a proper solution so sticking with not altering PS1/PROMPT and using the env variable with -l (for bash-like)


[nemo-qml-plugin-calendar] Store in an occurrence if its correspondin…

…g event is all day.
Working on a week view for the calendar, I found this bug, creating issues when displaying multi-day all day events. I don't have a reproducer for the month view though. I don't think the bug appears in that month view case.
Here is what is happening:

the worker is calling loadData() and a particular multi-day all day event is loaded from storage. It is loaded in the mCalendar attribute, registered in the mSentEvents hashtable and dealed with by the manager.
later on, the manager is calling loadData() again, without reset, for a range that overlap this event. Since this event is already in mSentEvents hashtable, it is not added to the local hashtable allDay. Thus, in dailyEventOccurrences this event is not treated properly, because it is not seen as an all day event.

The error is the fact that the local allDay hashtabe is not complete, and only reflects the all day status for the newly added events. But eventOccurrences() is dealing with all events in memory, including some previously loaded ones.
There are two solutions to solve this:

move the allDay modification out of the if !mSentEvents.contains() so the allDay hashtable contains all all-day events from mCalendar ;
add a flag in the EventOccurrence structure storing if the occurrence is coming from an all day event.

I chose the second option because I find it more local and avoid creating temporary hashtables to store information. @pvuorela and @chriadam , which option do you prefer ?

Nice catch.  Yes, I think this solution is nicer than the alternative, better locality.  LGTM.  @pvuorela do you agree?

Hmm, does this affect the month view case (i.e. does it mean that the month view might show an occurrence starting on each intermediate day, also?)

Also, please add: "Contributes to JB#55785" to the commit message - thanks!

Hmm, does this affect the month view case

Yes, I can reproduce it in the month view also. I've never noticed it before ! And conditions are not clear for the reproducer.
Run the following (assuming you are on October) :

SQLITESTORAGEDB=db jolla-calendar as a simple user (not to mess up with device database),
create a full day event on Saturday 25th September and make it finish on Sunday 26th,
notice that there are two dots on the two days, so far so good,
close the app and restart it with the same command,
navigate back to September, notice that the dot on Sunday is missing, close the application again,
open the date settings and force the device to be on September 25th,
restart the application again and notice that opening on September, the calendar has two dots for the two days.

So it seems closely related to how AgendaModel are (pre-)loaded for the reproducer to work. But tracing the issue lead me back to this allDay array being incomplete. Applying the patch fix the issue.

Thanks.  LGTM, @pvuorela do you agree?

The PR description is good, could pick some part of that to the commit message so the rationale for the change stays visible. Now it looks like more of refactoring.

Thank you for the review. I've added a detailed description of the rational in the commit message.


Restructured Reindexing + Added Automated Reindexing on Glossary import

Describe your changes:
Fixes

I worked on ... because ...

Type of change:

[ ] Bug fix
[ ] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My PR title is Fixes <issue-number>: <short explanation>
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@chirag-madlani  can you please help with UI side changes for this one

@mohityadav766 UI should be good now


Some images not loading properly on Kusama

What happened?
https://canary.kodadot.xyz/rmrk/explore/items?listed=true&min=100000000000000

I sense some wrong merging ?

I sense some wrong merging ?

nah same on prod this is an old issue

nah same on prod this is an old issue

i see https://kodadot.xyz/rmrk/explore/items?listed=true&min=100000000000000

nah same on prod this is an old issue

i see https://kodadot.xyz/rmrk/explore/items?listed=true&min=100000000000000

The issue has been fixed in the production environment now.

I found the root reason is that the ipfs gateway side does not return the correct 'content-type' for the metadata of nft. After I force fetching the original metadata with PR #7620, the 'content-type' would change to the correct one, and then it load properly.


add igniter-based AshSqlite.Install mix task

This PR adds an igniter-based install task for ash_sqlite. I looked at the code from the equivalent ash_postgres installer task and modified to suit, so that the generated files match the ones in the getting started guide.
Currently, this command (based on the forum post)
mix igniter.new helpdesk --install iterex,ash@github:ash-project/ash,ash_sqlite@github:benswift/ash_sqlite

generates all the right files, although it also throws this error:
** (RuntimeError) must supply the --domains argument, or set `config :my_app, ash_domains: [...]` in config

(this is because by default the ash installer doesn't generate a domain). This (throwing the runtime error) is the same behaviour as the equivalent ash_postgres one-line igniter.new install.
I know this PR lands kindof out-of-the-blue, so do let me know if you'd like some changes/modifications. Happy to discuss, but I hacked this together for my own purposes (exploring ash & sqlite together) and figured it might be useful for others.
Contributor checklist

[ ] Features include unit/acceptance tests

awesome

🚀 Thank you for your contribution! 🚀


Create section for blog posts

Create the blog posts sections and create a "hello-world" test post.

Pelican takes care of most of this. Perhaps someone could do a blog post on creating new posts in pelican.


Ordering of global search results

Issue type:
Feature request
This is a very minor suggestion!
The new global search facility (#159) is superb. However at the moment if you search for an individual IP address you get the results in the following order:

Prefixes
Aggregates
IP Addresses

I think it would be more user-friendly to display from more specific match to less specific, which would be:

IP Addresses
Prefixes
Aggregates

Additional suggestion: make the drop-down menu of object types arranged in the same order as the search results are displayed, for consistency.

A related display issue:
Searching for device via global search doesn't show its IP address in the results listing, but searching via devices page does.
Results from global search:

Results from search under /dcim/devices/

It would be nice if the global search results had the same columns as the specific searches.

The order of objects returned from a global search is currently not enforced. I'll change this to an OrderedDict to ensure consistency.

Searching for device via global search doesn't show its IP address in the results listing, but searching via devices page does.

We avoid pulling in too many related objects due to the breadth of the current global search implementation. For example, we also don't calculate rack utilization.


docs(Snackbar): added docs

Close #111

:tada: This PR is included in version 7.26.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[hasbi] create readme.md

Description
Please include the details of the API used in this PR.
Screenshot
Optional

Checklist

[x] API used in this PR was not used in just-calling-random-api before.
[x] API used in this PR is Public or I have permission to use it.
[x] My contribution is working.
[x] My contribution doesn't expose any API keys.
[x] My changes don't generate any new warnings.
[x] My changes don't affect any work done by other developers.

To tick a box, replace [ ] with [x].

Wowwwww, its amazing bro @hasbimsdd27
thanks for contributing, happy open-source!


Ztl methods returning Text instead of String

Hi guys,
I would like some help ... again with the APS generator.
I created a string attribute called Map (See below). APS methods have been generated but are using as input and output Text type instead of string. The bad thing is: I can't use the SetMap method anymore in DS ... I want to pass a string from a text area.
Thanks for the help.
"map": {
    "opts": {
      "apsControl": "codemirror",
      "cat": "Display",
      "desc": "Associated map, same scaling as base image",
      "tooltip": "Map",
      "ztlFunction": "",
      "ztlType": "String",
      apsConfig : {
			lineNumbers: true,
			mode: "text/html",
			theme: "eclipse",
			matchBrackets: true
			}
    },
    "template": "String",
    "type": "String",
    "value": "",
    "visible": true
  },

By the way, this codemirror editor is THE thing !!! :)

And ... found out.
I used Text for my first version. "Build Docu" generated the associated ZTL methods in .ztl with Text. I updated my contribution, ran the "Prepare build" (including ZTL Text), changed to string, "Build docu", which updated the ZTL func to string ... But I had to execute "1 - Prepare build" after "2 Build docu" to refresh the final ZTL file.


Added "to" - grammatical fix

@glowinginthedark : Thanks for your contribution! The author(s) have been notified to review your proposed change.


y21ga bootloop

It happens if I just hit save config and reboot. It blinks blue and reboots after a while.
The only change is in the system.conf from RTSP_AUDIO=yes to RTSP_AUDIO=
Don't know why it leaves it empty, but it breaks the boot.
edit: changing other things also makes it bootloop, even if RTSP_AUDIO=yes is set. I'll try to narrow it down...

This is a strange one, sometimes I can make it boot by deleting the autogenerated hostname file and undoing the rtsp changes, but after a few attemps it completely stops booting. I even tried saving and restoring the initial state of the sd card. It won't even connect to the cloud with no sd card in it. Only reseting helps.

I dumped mtdblock7.bin and compared it with the one created on the sdcard just after the reset. My SSID is 9 letters and the last character was changed to 0, or simple truncated to 8 characters. Any idea why saving the settings would do that?

Okay, I can now repro the bug easily. Created a 9 and 8 letter SSID on my router for convenience.
First, after reset, it connects to the 9 letter AP. I ssh into the camera and dump mtdblock7, see that the last letter is missing. Copy /tmp/configure_wifi.cfg and run configure_wifi.sh, SSID restored, reboot, it connects, but the last letter is missing again. Something happens during boot, unfortunatelly it was not the save settings functionallity.

Created a longer SSID just for fun. The 9th letter becomes a 0 but the rest is still there in mtdblock7.

So, it's not related to the webgui save button.
During the boot...
The hack procedure is responsible to run the configure_wifi.sh script when the cam is hacked.
Just the 1st time. If the camera is already hacked, the script doesn't start.
The other script /tmp/sd/yi-hack/script/configure_wifi.sh is executed when you click "Save" in the page http://<IP_ADDRESS>/index.html?page=wifi
And it's not started during the boot.
I don't remember other script/binaries of my hack that change mtdblock7.
It could be a bug in the Yi binaries.
Are you able to try to set the wifi credentials using the app?
And check if the SSID changes after the reboot?

Yes, every reboot overwrites that byte, with or without the sd card. I think it's unrelated to the hack and specific only to this version of the camera. I can change the SSID on the web interface, did it once.
The cameras came from the official Aliexpress store last month, pack of four. Not the latest ones, I guess that's what they randomly picked.

Maybe you should update the cam to version 12.1.19.


Add caching system to keep exports folder clean

It would be nice to find a way where we can use some sort of library to manage the exports folder with a caching system.
We are aiming to achieve both of the following benefits at the same time:

To keep the folder from taking up too much storage space on the VM (currently we just delete files that are more than 2 hours old).
To reduce load on the server if more than one user tries to export the same sequence. In that case, the pdf of the sequence has already been generated, so there is no point to generate it once more and we should serve the existing one. Ideally, two sequences being equivalent would mean that the json content of the yearList is equivalent, not just the raw request string.

For now, I'm leaving this as wontfix as we're not sure if it's worth the effort.


Remove dead link.

@tyclintw : Thanks for your contribution to the Azure documentation! The author, @daden, has been notified to review your proposed change.

#sign-off


Migrate to Gradle and Implement project modules

A problem in the development of CleanMOTD is that in the same project are shared packages of bungee, bukkit and velocity, so in several cases there is confusion of amounts between the platforms.
In this pull request I implement independent modules for each platform, besides migrating the project to gradle.
Some advantages of this is that the compile time can be much shorter depending on the changes made to the project compared to maven, plus simply changing the version in the gradle.properties file changes the entire project, including the plugin.yml, bungee.yml and velocity-plugin-json files.
This change will only be for development, the end user will not notice any change.

The project will be kept on maven.


Letter for Hummelstown, PA

https://tinyurl.com/y9cdczr5
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>[Insert Unique Subject Line]
Dear Administration of the Borough of Hummelstown,
My name is {...} and I am a resident of Hummelstown, PA. I am writing to you today to discuss defunding the Hummelstown Police Department.
In 2015, former Hummelstown Police Officer Lisa Mearkle fatally shot 59-year-old man David Kassik during a traffic stop and was acquitted of all charges. Even if the police department reached a settlement, that man will never get his life back. Furthermore, she tazed and subdued him before firing, which means that she could have avoided risking his life by shooting him. You must improve police officers’ training so they know how to de-escalate situations before using firearms.
Upon review of the Hummelstown Borough website, there was no clear mention of how much of the budget was going toward the police department. This should be amended. In order for residents to be properly aware of where their money is going, there should be a clear budget delineated regularly.
Next, the training period for officers in the Hummelstown Police Department is too short. Even if officers individually receive 660 hours per year in training, that is not nearly enough for them to properly understand how to use their power. Also, it is not clear how many part-time police officers there are, as they undoubtedly would receive less training. In Germany, for example, the police officer training is in between two and four years. Furthermore, police training in Germany and other European countries emphasize how to disarm people and deescalate potentially violent situations before using firearms.
Instead of arming officers without training or increasing the police budget, it would be better for the community of Hummelstown if we invest in housing, jobs, youth programs, restorative justice, and mental health workers to keep the community safe.
Sincerely,
[Name, Address, Email, Phone Number]

Thank you for submitting your city to defund12.org! Your request is now in the queue for review and publishing. We’ll reply here if we have any questions.
A couple of notes:

This is the first time I've seen no budget available online - usually we require submitters to include budget numbers, but since they aren't available, I think this will suffice.
Regarding the third paragraph: although more training may be beneficial, our mission at defund12 is to focus on defund the police, not reforming them. The reviewer may choose to change or omit this paragraph.

Editing notes: Thank you for submitting! This is the 20th email I've edited and the first with no budget, so I was a bit surprised to not find one on the city website. Thank you for advocating for records to be available! I added that the "Right-to-Know Law" being on the website is not sufficient. https://www.hummelstown.net/index.asp?SEC=95AAAC8C-4804-4989-8748-46C02766BD8F&Type=B_BASIC
I agree with mahrer's note about reform, so I reworded that sentence to read, "De-escalation training and holding police officers accountable should be a priority along with defunding the Hummelstown Police Department."
To<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: [*** INSERT UNIQUE SUBJECT LINE ***]
Message: (Don't forget to replace the [x]'s with your information!)
Dear Administration of the Borough of Hummelstown,
My name is [YOUR NAME] and I am a resident of Hummelstown, Pennsylvania. I am writing to you today to discuss defunding the Hummelstown Police Department.
In 2015, former Hummelstown Police Officer Lisa Mearkle fatally shot 59-year-old man David Kassik during a traffic stop and was acquitted of all charges. Even if the police department reached a settlement, that man will never get his life back. Furthermore, she tased and subdued him before shooting him in the back. De-escalation training and holding police officers accountable should be a priority along with defunding the Hummelstown Police Department.
Upon review of the Hummelstown Borough website, there was no clear mention of how much of the budget was going toward the police department. This should be amended. For residents to be properly aware of where their money is going, there should be a clear budget delineated regularly. The Open Records and "Right-to-Know Law" on the website is not sufficient.
Instead of increasing the police budget, it would be better for the community of Hummelstown if we invest in housing, jobs, youth programs, restorative justice, and mental health workers to keep the community safe.
Sincerely,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]


Out of date tooling warning needed

When going through the tutorial, at the section where I manually enter commands through the NuGet console, there is a warning about tooling being earlier than the current version of EF (6.0.2 to 6.0.3). The page just needs a warning to update the tooling before attempting to run the commands.

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

ID: 6719f08e-3bd7-dc1a-71df-f2ef9fbca9d8
Version Independent ID: 7096fdb3-612e-9e00-bd0b-8ea4886a09ce
Content: Part 2, add a model
Content Source: aspnetcore/tutorials/razor-pages/model.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

That's likely a transient error that will be corrected soon.


Kernel configuration change request: CONFIG_DEBUG_INFO_BTF

BTF type information is necessary for BPF CO-RE (Compile Once - Run Everywhere) functionality. This is useful for bcc/bpftrace and effectively necessary for sound (development and) deployment strategies of BPF programs.
As per https://github.com/libbpf/libbpf this is enabled on

Fedora 31+
RHEL 8.2+
OpenSUSE Tumbleweed (in the next release, as of 2020-06-04)
Arch Linux (from kernel 5.7.1.arch1-1)
Manjaro (from kernel 5.4 if compiled after 2021-06-18)
Ubuntu 20.10
Debian 11 (amd64/arm6)

I have been enabling this locally using
  nixpkgs.config.packageOverrides = pkgs: {
    linux_5_13 = (pkgs.linux_5_13.overrideDerivation (drv: {
      buildInputs = (drv.buildInputs or [ ]) ++ [ pkgs.python3 pkgs.zlib.dev pkgs.pahole ];
      postPatch = drv.postPatch + ''
        patchShebangs scripts/bpf_doc.py
      '';
    })).override {
      features.debug = true; # Needed for DEBUG_INFO only
      extraConfig = ''
        DEBUG_INFO_BTF y
      '';
    };
  };

... but I'm not sure if really is appropriately elegant way of doing this. Thus I'm filing this as bug rather than a pull request.

So, I guess I'm blind. It was added on master here: https://github.com/NixOS/nixpkgs/commit/34150f86c0a6b9d452bab09157896c3b85b103d1 ... which I only noticed while looking up how commit messages for this file are common written :facepalm: .


pallete prop is misspelled

Please rename to palette.

Agreed this is a bug. Just for historical context, this library is based off of https://github.com/rsamec/react-pathjs-chart and that seems to be where the misspelling originated.
While introducing a new property with the correct spelling is straightforward and non-controversial,  removing the old misspelled version of the property is arguable as doing so would be introducing a breaking change. It would be interesting to hear from others on whether a breaking change like that would be appropriate.


chore(master): release butler 12.3.0

:robot: I have created a release beep boop
12.3.0 (2024-04-25)
Miscellaneous

Fix broken 12.2.1 build (032f1f7)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ptarmiganlabs/butler/releases/tag/untagged-d47720c557ec3a5ac2e5 :sunflower:


Add tests for size() and contains() to LongHashSet

Another followup for #12128: Due to previously only testing the java.util.Set interface, the actual testing code never verified that size() and the actual call to contains(long) worked correctly.

I found a bug, first test works, second one does not work:
  public void testSameValue() {
    LongHashSet set2 = new LongHashSet(new long[] {42L, 42L});
    assertEquals(1, set2.size());
    assertEquals(42L, set2.minValue);
    assertEquals(42L, set2.maxValue);
  }

  public void testSameMissingPlaceholder() {
    LongHashSet set2 = new LongHashSet(new long[] {Long.MIN_VALUE, Long.MIN_VALUE});
    assertEquals(1, set2.size());
    assertEquals(Long.MIN_VALUE, set2.minValue);
    assertEquals(Long.MIN_VALUE, set2.maxValue);
  }

The problem is that MISSING is counted twice, because it is not added to the hashtable and handled separately in ctor. The fix is easy...
Will commit a fix, too.

Fixed. Actually code is better readable now.


[Quantization] fix parameter assign problem of weight

Error will be raised when using observer_quantizer since tensor assigned to parameter.

Change self.module.weight to self.module.weight.data in line 562 can resolve such problem.

I think it is better to make weight torch.Tensor instead of nn.Parameter

@chenbohua3 please help review, thanks


freebsd 10.1 can not install service, error : No service system detected.

Currently does not support freebsd?

It used to I think, but FreeBSD has changed a lot in the recent years. Can you determine what it is looking for and why it isn't working?


Fix lint/test build error

Which issue this PR addresses:

Fixes N/A
What this PR does / why we need it:

Because https://github.com/Azure/ARO-RP/pull/3903 is merged after https://github.com/Azure/ARO-RP/pull/3847 is merged, the variable used in #3847 is removed in #3903, which caused the test error.
This PR fixes the error.
Test plan for issue:

ci
Is there any documentation that needs to be updated for this PR?

N/A
How do you know this will function as expected in production?

This is a fix in unit tests.

/azp run


Floating labels not readable in high contrast mode

What is the expected behavior?
As a user with activated high contrast mode in Windows I should be able to read the labels for form fields with an outline and floating labels.
What is the current behavior?
The labels do have a white background which makes it impossible to read the label text.

What are the steps to reproduce?
Output a form field with a floating label and an outline. Then activate the Windows high contrast mode.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
@angular/material 7.1.1
Firefox 64.0

We've got a lot of styling specifically to support high contrast mode, however it only targets IE/Edge via the -ms-high-contrast media query. It doesn't look like Firefox has anything similar so we can't really target it.

I've made a note to discuss this with Google's a11y team the next time I sync with them.

Could we also add a "G" label for this issue?
One of the Google project is also affected by this.

Just tested this in Edge and Firefox. Everything looks great in Edge, but Firefox (for which we now support high-contrast mode) has some weird blocks. They don't cover the text, but they are weird:

Also confirmed that this looks to be fixed in the mdc-based form-field


Consider support for additional input types in SignalR Client to Server Streaming

We had discussed the idea of adding support for additional input types in client to server streaming feature  like streams in C# or blobs/FileReaders in TS, etc.
More context https://github.com/aspnet/AspNetCore/issues/5323#issue-391846533
Even More Context: https://github.com/aspnet/AspNetCore/issues/5316

In my case I would be very happy if we could use the ChannelReader and Writer just like we do on the server side on the C# client side.
The workaround right now is using larger transfer size limits and paging or to ignore SignalR for this entirely and use a REST API to push data to the server.

Isn't this just a dupe?

Closing a dupe of #5316


Could use filter in question one solution two?

It seems like solution two would be more readable if it were to use filter?
struct QOneSolutionTwo {
  func fourSum(_ numbers: [Int], target: Int) -> Set<Set<Int>> {

    let result = numbers
      .combinations(ofCount: 4)
      .filter { $0.reduce(0, +) == target }
      .map(Set.init)

    return Set(result)
  }
}

In the first solution you used [[Int]] and in the second you used Set<Set<Int>> is this to show some performance improvement here? I assumed the project is demonstrating the use of swift-algorithms, and as such perhaps this change from arrays to sets muddies the water? If you maintained the same return type for solution two it would simply be the following and nicely demonstrate why having an algorithms package is useful.
struct QOneSolutionTwo {
  func fourSum(_ numbers: [Int], target: Int) -> [[Int]] {

    numbers
      .combinations(ofCount: 4)
      .filter { $0.reduce(0, +) == target }
  }
}

Thanks @danielctull, great suggestion! I've added a new commit that makes the answer clearer for kSum.


fix reporting and reporting server

Signed-off-by: Mohamad<EMAIL_ADDRESS>Fixes the front end so it builds, not tested with task-v2 yet.
What's new

good news from my side as well, I got the reporting server to work locally, so now I can actually test reporting end-to-end (I'll probably be doing that later today as it works for me only on the other system)

lgtm, the example worked by following the steps.

Reporting has been removed via https://github.com/open-rmf/rmf-web/pull/628. Example deployment has been moved out to https://github.com/open-rmf/rmf_deployment_template


MNT: Re-rendered with conda-smithy 3.1.11 and pinning 2018.08.14

This is to get the Python 3.7 packages built

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.
I do have some suggestions for making it better though...
For recipe:

Whenever possible python packages should use pip. See https://conda-forge.org/docs/meta.html#use-pip

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

Closing this - I was hoping it would trigger the Python 3.7 builds, but I was told on Gitter that this is not the case


Some characters (such as ⏺ U+23FA) make the line invisible

Lapce Version
0.2.5
System information
Artix Linux (wayland, KDE)
Describe the bug
Some characters (such as ⏺ U+23FA) make the line invisible
Additional information
See line 702
with cat -n

with lapce

Seems to be fixed now


Terraform: Support provider updates

This PR implements version updates for Terraform providers
Fixes #2054

I'm planning to pull out the RegistryClient into a separate PR to keep this changeset a bit smaller


Fix input size calculation

Since AngularJS 1.3.1 or higher version changed the default behavior of
attrs.$observe(). If we dont't have a ngDisabled on uiSelect, the
initial calculation won't work in attrs.$observe('disabled')
Link: https://github.com/angular/angular.js/commit/531a8de72c439d8ddd064874bf364c00cedabb11

The default value is set to ctrl not attrs. The problem is:
attr.$observe('sth', function() {
  // if `sth` is undefined
  // this function won't trigger.
})

See the link I provided.


Holes in Data in Line/Area chart.

Hi there. I was wondering if there was a way to add holes in the data. Such as have a line on a line graph simple stop on the 3rd axis point, and then continue again on the 4th, leaving a gap between it.
Currently making the values  'null' make the line go back down to 0 by the next axis point. I want it to simply stop drawing the line until there is an actual value again instead of 'null'.
Let me know if you need for me to explain further.

I'm not sure where you're getting null starting the data at zero; unless you've actually put a literal 0?

http://jsfiddle.net/aendrew/auz6rgs4/1/
Closing as more of a support request than an issue. Could you please ask such questions in the C3 Google Group? Thanks!


Remove now unnecessary variable

As of https://github.com/rapidsai/kvikio/pull/439 the FIND_KVIKIO_CPP variable is largely superfluous. In principle we could still choose to support users who want to build the Python package without having the C++ library already available somewhere, but that use case is vanishingly small now that we have C++ wheels and it would require the developer to intentionally build without isolation and omit the C++ wheel from the environment. For advanced use cases like that it is reasonable to ask the user to handle building the C++ library separately on their own and making it available for the Python package to find. None of the normal build cases that we support (conda, pip, devcontainers, DLFW) require this any longer.

/merge


⚠ Bofrost.be has degraded performance

In 1900b83, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1870 ms

Resolved: Bofrost.be performance has improved in 5b83cdb.


How to remove Tickeys-linux?

Hi,
Recently, I want to remove Tickeys-linux. I use the command:
sudo -H pip uninstall tickeys
to remove all related files. However, after rebooting, I still see the prompt console and ask me for the password to execute Tickeys. It seems like I didn't remove Tickeys correctly (or cleanly). Please help me to fix this problem. Thanks. :+1:

I install it again (with the latest version 0.2.5), and the problem seems to be solved.


Document consensus rules from Zcash spec: 4.6 Action Descriptions

For each consensus rule:

check that the rule is implemented in Zebra
make sure the latest version of the rule is quoted in the docs for the code that implements it
make sure the code implements the latest version of the rule

Consensus rules
https://zips.z.cash/protocol/protocol.pdf#actiondesc

Implementation

#1864

PR: #1885

Hey team! Please add your planning poker estimate with ZenHub @conradoplg @dconnolly @gustavovalverde @jvff @oxarbitrage @teor2345 @upbqdn


Update default SA lifetime in the sample

Bump up the default SA lifetime from 2MB to 2GB. Customers can unwittingly copy this into production causing massive number of SA re-negotiations as perf starts to climb.

@poornagmsft : Thanks for your contribution! The author(s) have been notified to review your proposed change. @AnirbanPaul

@poornagmsft : Thanks for your contribution! The author(s) have been notified to review your proposed change. @AnirbanPaul


Upgrade versions to .NET 7

Description of Change
Upgrade website to use .NET 7
Evidence Of Change
...
Linked Issue
...

Doesn't build locally


is there a way to get hubot to listen to all messages in a room not just when @ mentioned?

Reading #5 i'm confused if it will ever be possible for a bot to react to messages without its name mentioned.
Right now I can only seem to get messages sent with @ in a room - everything else is ignored. That makes log keeping and meeting notes bots and the likes hard to implement so i'm sure i'm missing something.
Reading https://developers.google.com/hangouts/chat/concepts/bots "Just like people, bots can participate in chat rooms, and they can respond to direct messages. But unlike people, bots only see messages directed to them when a person @mentions them in a chat room, or when a person sends them a direct message."
if the above is the hard limitation I guess I answered my own question and it is not possible with google hangouts to make a bot that can i.e. convert a #5 to a github link or have short cuts, like ".meet start" rather than "@meetbot meet start" or be able to make a bot that will help transcribe and archive content.
Are my observations correct and there are no way around this ?

Correct, it's currently not possible to observe other messages in a room. The Chat team might add that at some point in the future, but I'm not aware of an ETA for it.


Update _grid-framework.scss

optimization of @mixin make-grid-columns()

This file is autogenerated. Please update the Less=>Sass converter scripts instead.


NotFoundError: The object can not be found here. (adding a nc-root div causes error)

Describe the bug
Adding a

 to the page I want to load Decap causes an error
I am using SveltKit, and in routes/admin/+page.svelte I have the following code:
<svelte:head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta name="robots" content="noindex" />

  <title>OwC Management</title>
</svelte:head>

{@html ''}

Loads fine without the div with nc-root id, but when I add the id, it give the below error (the error is in the placement of the div)
Error
There's been an error - please [open an issue on GitHub.](https://github.com/decaporg/decap-cms/issues/new?title=NotFoundError%3A+The+object+can+not+be+found+here.&body=%0A**Describe+the+bug**%0A%0A**To+Reproduce**%0A%0A**Expected+behavior**%0A%0A**Screenshots**%0A%0A**Applicable+Versions%3A**%0A+-+Decap+CMS+version%3A+%60decap-cms%403.1.10%60%0A+-+Git+provider%3A+%60github%60%0A+-+Browser+version%3A+%60Mozilla%2F5.0+%28Macintosh%3B+Intel+Mac+OS+X+10_15_7%29+AppleWebKit%2F605.1.15+%28KHTML%2C+like+Gecko%29+Version%2F17.5+Safari%2F605.1.15%60%0A%0A**CMS+configuration**%0A%60%60%60%0Abackend%3A%0A++name%3A+github%0A++repo%3A+LunarShadow%2Fowc-svelte%0A++branch%3A+main%0A++publish_mode%3A+editorial_workflow%0A++squash_merges%3A+true%0A++commit_messages%3A%0A++++create%3A+Created+%7B%7Bcollection%7D%7D+%22%7B%7Bslug%7D%7D%22%0A++++update%3A+Updated+%7B%7Bcollection%7D%7D+%E2%80%9C%7B%7Bslug%7D%7D%E2%80%9D%0A++++delete%3A+Deleted+%7B%7Bcollection%7D%7D+%E2%80%9C%7B%7Bslug%7D%7D%E2%80%9D%0Asite_url%3A+https%3A%2F%2Fovercomewithchrist.com%0Amedia_library%3A%0A++name%3A+cloudinary%0A++use_secure_url%3A+true%0A++config%3A%0A++++cloud_name%3A+dn7ubiddg%0A++++api_key%3A+866914922276626%0Adisplay_url%3A+%2F%0Alogo_url%3A+https%3A%2F%2Fres.cloudinary.com%2Fdn7ubiddg%2Fimage%2Fupload%2Fv1715370001%2Fbranding%2Ffull-color-logo-text.png%0Aslug%3A%0A++encoding%3A+ascii%0A++clean_accents%3A+true%0A++sanitize_replacement%3A+%22-%22%0Acollections%3A%0A++-+name%3A+page%0A++++label%3A+Page%0A++++folder%3A+src%2Fcontent%2Fpages%0A++++preview_path%3A+%2F%7B%7Bslug%7D%7D%0A++++create%3A+true%0A++++slug%3A+%22%7B%7Bslug%7D%7D%22%0A++++fields%3A%0A++++++-+label%3A+Layout%0A++++++++name%3A+layout%0A++++++++widget%3A+hidden%0A++++++++default%3A+page%0A++++++-+label%3A+Title%0A++++++++name%3A+title%0A++++++++widget%3A+string%0A++++++-+label%3A+Body%0A++++++++name%3A+body%0A++++++++widget%3A+markdown%0A++++publish%3A+true%0A++++type%3A+folder_based_collection%0A++++sortable_fields%3A%0A++++++-+commit_date%0A++++++-+title%0A++++++-+commit_author%0A++++view_filters%3A+%5B%5D%0A++++view_groups%3A+%5B%5D%0A++-+name%3A+post%0A++++label%3A+Posts%0A++++label_singular%3A+Post%0A++++folder%3A+src%2Fcontent%2Fposts%0A++++create%3A+true%0A++++slug%3A+%22%7B%7Bslug%7D%7D%22%0A++++preview_path%3A+posts%2F%7B%7Bslug%7D%7D%0A++++fields%3A%0A++++++-+label%3A+Layout%0A++++++++name%3A+layout%0A++++++++widget%3A+hidden%0A++++++++default%3A+post%0A++++++-+label%3A+Title%0A++++++++name%3A+title%0A++++++++widget%3A+string%0A++++++-+label%3A+Category%0A++++++++name%3A+category%0A++++++++widget%3A+select%0A++++++++options%3A%0A++++++++++-+Bible+Study%0A++++++++++-+Resources%0A++++++++++-+Testimony%0A++++++++++-+Salvation%0A++++++++++-+Prayer%0A++++++++++-+Creative%0A++++++-+label%3A+Featured+Image%0A++++++++name%3A+featuredImage%0A++++++++widget%3A+image%0A++++++-+label%3A+Video+Link%0A++++++++name%3A+videoLink%0A++++++++widget%3A+string%0A++++++++required%3A+false%0A++++++-+label%3A+Summary%0A++++++++name%3A+summary%0A++++++++widget%3A+text%0A++++++-+label%3A+Publish+Date%0A++++++++name%3A+date%0A++++++++widget%3A+datetime%0A++++++++date_format%3A+LL%0A++++++++format%3A+LL%0A++++++-+label%3A+Body%0A++++++++name%3A+body%0A++++++++widget%3A+markdown%0A++++++-+label%3A+Author%0A++++++++name%3A+author%0A++++++++widget%3A+string%0A++++++++default%3A+Cyntia+Seumo%0A++++publish%3A+true%0A++++type%3A+folder_based_collection%0A++++sortable_fields%3A%0A++++++-+commit_date%0A++++++-+title%0A++++++-+date%0A++++++-+author%0A++++++-+summary%0A++++view_filters%3A+%5B%5D%0A++++view_groups%3A+%5B%5D%0A++-+name%3A+product%0A++++label%3A+Products%0A++++label_singular%3A+Product%0A++++folder%3A+src%2Fcontent%2Fproducts%0A++++create%3A+true%0A++++slug%3A+%22%7B%7Bslug%7D%7D%22%0A++++fields%3A%0A++++++-+label%3A+Layout%0A++++++++name%3A+layout%0A++++++++default%3A+product%0A++++++-+label%3A+Name%0A++++++++name%3A+title%0A++++++++widget%3A+string%0A++++++-+label%3A+Image%0A++++++++name%3A+image%0A++++++++widget%3A+image%0A++++++-+label%3A+Price%0A++++++++name%3A+price%0A++++++++widget%3A+number%0A++++++++value_type%3A+float%0A++++++-+label%3A+Description%0A++++++++name%3A+description%0A++++++++widget%3A+text%0A++++++-+label%3A+Sizes%0A++++++++name%3A+sizes%0A++++++++widget%3A+list%0A++++++++allow_add%3A+true%0A++++++++fields%3A%0A++++++++++-+label%3A+Size%0A++++++++++++name%3A+size%0A++++++++++++widget%3A+string%0A++++++++++-+label%3A+Price%0A++++++++++++name%3A+price%0A++++++++++++widget%3A+number%0A++++++++++++value_type%3A+float%0A++++publish%3A+true%0A++++type%3A+folder_based_collection%0A++++sortable_fields%3A%0A++++++-+commit_date%0A++++++-+title%0A++++++-+commit_author%0A++++++-+description%0A++++view_filters%3A+%5B%5D%0A++++view_groups%3A+%5B%5D%0Apublish_mode%3A+simple%0Apublic_folder%3A+%2F%0AisFetching%3A+false%0Aerror%3A+null%0A%0A%60%60%60%0A%0A**Additional+context**%0A&labels=type%3A+bug)
Opening an issue pre-populates it with the error message and debugging data.
Please verify the information is correct and remove sensitive data if exists.
Details
removeChild@[native code] hl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2211743 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213007 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213405 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2214585 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213270 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2214585 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213270 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2214585 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2214585 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213405 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2214585 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2214585 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213405 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213405 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2214585 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213270 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2214585 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213270 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213270 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2214585 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213270 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2214585 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213270 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213270 gl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2213157 vl@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2214456 @https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2228336 xu@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2228891 ou@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2221390 x@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2607115 P@https://unpkg.com/decap-cms@3.1.10/dist/decap-cms.js:485:2607647

To Reproduce
add

 to svelte page where you want to load decap
Expected behavior
decap loads in the div as it normally would, but respects the layout set for the page.
Screenshots
with div:

without div:

Applicable Versions:

Decap CMS version<EMAIL_ADDRESS>Git provider: github
Browser version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15

CMS configuration
backend:
  name: github
  repo: ...
  branch: main
  publish_mode: editorial_workflow
  squash_merges: true
  commit_messages:
    create: Created {{collection}} "{{slug}}"
    update: Updated {{collection}} “{{slug}}”
    delete: Deleted {{collection}} “{{slug}}”
site_url: ...
media_library:
  name: cloudinary
  use_secure_url: true
  config:
    cloud_name: ....
    api_key: ...
display_url: /
logo_url: .../branding/full-color-logo-text.png
slug:
  encoding: ascii
  clean_accents: true
  sanitize_replacement: "-"
collections:
  - name: page
    label: Page
    folder: src/content/pages
    preview_path: /{{slug}}
    create: true
    slug: "{{slug}}"
    fields:
      - label: Layout
        name: layout
        widget: hidden
        default: page
      - label: Title
        name: title
        widget: string
      - label: Body
        name: body
        widget: markdown
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - commit_author
    view_filters: []
    view_groups: []
  - name: post
    label: Posts
    label_singular: Post
    folder: src/content/posts
    create: true
    slug: "{{slug}}"
    preview_path: posts/{{slug}}
    fields:
      - label: Layout
        name: layout
        widget: hidden
        default: post
      - label: Title
        name: title
        widget: string
      - label: Category
        name: category
        widget: select
        options:
          - Bible Study
          - Resources
          - Testimony
          - Salvation
          - Prayer
          - Creative
      - label: Featured Image
        name: featuredImage
        widget: image
      - label: Video Link
        name: videoLink
        widget: string
        required: false
      - label: Summary
        name: summary
        widget: text
      - label: Publish Date
        name: date
        widget: datetime
        date_format: LL
        format: LL
      - label: Body
        name: body
        widget: markdown
      - label: Author
        name: author
        widget: string
        default: Cyntia Seumo
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - date
      - author
      - summary
    view_filters: []
    view_groups: []
  - name: product
    label: Products
    label_singular: Product
    folder: src/content/products
    create: true
    slug: "{{slug}}"
    fields:
      - label: Layout
        name: layout
        default: product
      - label: Name
        name: title
        widget: string
      - label: Image
        name: image
        widget: image
      - label: Price
        name: price
        widget: number
        value_type: float
      - label: Description
        name: description
        widget: text
      - label: Sizes
        name: sizes
        widget: list
        allow_add: true
        fields:
          - label: Size
            name: size
            widget: string
          - label: Price
            name: price
            widget: number
            value_type: float
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - commit_author
      - description
    view_filters: []
    view_groups: []
publish_mode: simple
public_folder: /
isFetching: false
error: null

Additional context
Side Note:
It seems Decap CMS doesn't load well with snipcart. It seems to refresh or something constantly and causes my browser to crash. Maybe I'm not doing something correctly, but figured I'd add it here as well.
Thanks

Taking a look at html of successfully built cms, it's seen that decap cms uses the same id nc-root.

Because you inserted another div with the same id, cms "detected" that app already exists and tried to use existing div. Hence the error.
You'll need to use some other id

I added the doc with that root according to the instructions on the documentation for having decap appear in a specific spot.
https://decapcms.org/docs/custom-mounting/
guess you guys don’t have a solution, which is really disappointing.

Taking a look at html of successfully built cms, it's seen that decap cms uses the same id nc-root.
Because you inserted another div with the same id, cms "detected" that app already exists and tried to use existing div. Hence the error. You'll need to use some other id

I added the div according to the instructions on the documentation for having decap custom mounted.
https://decapcms.org/docs/custom-mounting/
guess you guys don’t have a solution, which is really disappointing. Probably would be a good idea to update the documentation then.

@LunarShadow next time please include instructions url in original description, to avoid similar missunderstandings

@LunarShadow
{@html '
  <title>OwC Management</title>
</svelte:head>

{@html ''}

@hip3r can you investigate?

using provided config.yml and svelte code
<svelte:head>
  <meta name="robots" content="noindex" />

  <title>OwC Management</title>
</svelte:head>

{@html ''}, because I don't have source file.
@LunarShadow if you change this line into {@html ''}, does it help?
You must have error in console, since CMS.registerPreviewStyle is called before object CMS is created

if you change this line into {@html ''}, does it help?

Yes, this helped.
Thank you guys for helping me figure this out. I really appreciate your time and effort.


Broken link in documentation: "several backends"

Informations

Qiskit version:
Python version:
Operating system:

What is the current behavior?
As reported in https://github.com/Qiskit/qiskit.org/issues/1575 by https://github.com/MannimMond86, a link in https://qiskit.org/documentation/getting_started.html in the Step 5: Simulate the Experiment section is broken.
Steps to reproduce the problem

Go to https://qiskit.org/documentation/getting_started.html
Scroll to the Step 5: Simulate the Experiment section
Click on the "several backends" link
The link is broken

What is the expected behavior?
The link should point to a valid URL.
Suggested solutions
Adjust or remove the linked URL.

Hey @eddybrando I have tried to fix that problem. Please let me know if any further changes required

I would like to work on this issue.

Can I work on it or are you done with it @divshacker

I actually tried to fix that link and I think I fixed it AFAIK. If you want to add something then you are welcome.

Close by #1195


Dogfacts

I've added some dog facts too!

Great! Could you squash the two commits into one?

Thanks! :+1: :8ball:


Wrong "Choose" word spelling on profile creation/importing/ledger accessing pages

If this issue is a duplicate please close it, I did not find alike one.

Verified. Closed.


Prepare release to Maven central repository

OSSRH Guide

[x] Repackage from org.influxdata to com.influxdb.client
[x] Update README.md
[x] Update pom.xml
[x] Complete OSS Requirements

[x] If, for some reason (for example, license issue or it's a Scala project), you can not provide -sources.jar or -javadoc.jar , please make fake -sources.jar or -javadoc.jar with simple README inside to pass the checking.
[x] Project Name, Description and URL
[x] License Information
[x] Developer Information
[x] SCM Information

[x] Change version to 1.0.0.M2-SNAPSHOT - according to Spring Versioning and our issue milestone
[ ] Deploy snapshots to OSS Snapshot repository

[ ] Create a New Project ticket
[ ] TXT record verification

[ ] Remove bonitoo-repository from pom.xml
[ ] Refactor influxdata-iot-petstore
[ ] Refactor flux-unit-tests

@alextavgen

Create a New Project ticket

Summary: The InfluxDB 2.0 JVM Based Clients
Group Id: com.influxdb
Project URL: https://github.com/bonitoo-io/influxdb-client-java
SCM url: https://github.com/bonitoo-io/influxdb-client-java.git

FYI, the request https://issues.sonatype.org/browse/MVNCENTRAL-5026


fix: fix name repeated detection in publish profile

Description
fix publish profile name duplication
Task Item
#minor
Screenshots

Coverage remained the same at 56.504% when pulling c76ea5b1f60aa8acfe0502bbc69559cd5ac0cc1f on wenyluo/fixProfileName into 98b8e45a8aed2c04f4bb70b970b83ff0655e3a99 on main.


Fix errors where the system tries to build and use busybox (and can't)

This series is based on pull request #235
The top commit changes the way the configurations are modifies system wide.  This relies on code that was added in early 2016.. but until recently still worked with the prior '_remove' operations.

merged


chore(ci): remove GCS_SIGNING_PEM

There's nothing in here reading from a gcs.pem, so we shouldn't populate
it.
Currently, Nixery uses the key material inside the file passed via
GOOGLE_APPLICATION_CREDENTIALS.

Obsoleted by removal of Travis configuration.


user ended with 2 instances of Digma backend installed and port conflicts

check the following user full events history for more details:
https://app.posthog.com/person/5d6d483c#activeTab=events
Eventually, the user ended with 2 instances of Digma backend installed and port conflicts.
The process the user went through:

The plugin got Engine.up.error (check the exception below)
Eventually Digma backend was up and running.
The user got updat backend notification
user clicks update
Digma shows the user the option to download docker-compose file
The user installed docker-compose and had issues with port conflicts (ended with 2 Digma backend installations)

notify Roni when this task is resolved, so he can update the user on this one
2023-08-25T09:46:55.241Z  Engine.up.start
2023-08-25T10:01:55.706Z  Engine.up.error
java.lang.IllegalThreadStateException: process has not exited
at java.base/java.lang.ProcessImpl.exitValue(ProcessImpl.java:560)
at org.digma.intellij.plugin.docker.Engine.executeCommand(Engine.kt:200)
at org.digma.intellij.plugin.docker.Engine.executeCommandWithRetry(Engine.kt:118)
at org.digma.intellij.plugin.docker.Engine.up(Engine.kt:35)
at org.digma.intellij.plugin.docker.DockerService.installEngine$lambda$2(DockerService.kt:153)
at org.digma.intellij.plugin.common.Backgroundable$2.run(Backgroundable.java:46)
at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:428)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:115)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$6(CoreProgressManager.java:478)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:251)
at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:71)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:186)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:173)
at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:71)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:251)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$launchTask$18(ProgressRunner.java:465)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
at java.base/java.lang.Thread.run(Thread.java:833)
2023-08-25T10:02:03.368Z		failed in removeEngine java.nio.file.FileSystemException: C:\Users\Lenovo\AppData\Local\Temp\digma-docker: The process cannot access the file because it is being used by another process
2023-08-25T10:07:54.782Z	connection first-established

@shaykeren @doppleware
I think the user flow was:

auto installation started.
docker-compose up didn't finish after 15 minutes. process.exitValue() was called and through an exception that we didn't catch, but the end result is the same even if we caught it, the docker-compose up failed and installEngine failed. (this is now fixed and the exception is caught and will provide better posthog message that installEngine failed).
after installEngine failed we trigger removeEngine to shut down any containers that may have started. removeEngine calls docker-compose down.
docker-compose down succeeds, but deleting the compose file failed because windows still holds it, the delete happened 1 millisecond after the down process finished and probably windows didn't release the file yet. so we report to posthog that removeEngine failed with exception saying that the file can't be deleted. this is now improved and the code retries to delete the file 5 times with 100 millis delay, if it can't delete report to posthog but from the plugin perspective the local engine is removed.
the docker service reports to installation wizard that installEngine failed, installation wizard will open the installation options tab with the manual install instructions focused.
user follows the instructions and install digma manually and after 5 minutes there is connection.
after some time user gets an update notification and follows the update instructions to download a new docker compose file, he downloads the compose file to a different folder then where he did on first install and runs docker-compose up and gets port already in used.


Conditions allowing C4275 warning to be ignored are not completely clear

The documentation lists several conditions where C4275 may be ignored as "if you are deriving from a type in the C++ Standard Library, compiling a debug release (/MTd) and where the compiler error message refers to _Container_base".
It's not clear to me if ALL these conditions need to apply, or if ANY of these conditions need to apply before the warning can be ignored.
It might be useful if the documentation also mentioned whether or not using different versions of the compiler to build a DLL that exports a C++ class and the application that imports the C++ class is guaranteed to work - and if not, which compiler versions are compatible.

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

ID: a6a2df25-8de5-6ba4-c4dc-b77327e10bcb
Version Independent ID: a9213cb7-68c1-e276-8e8d-aa6e84888047
Content: Compiler Warning (level 2) C4275
Content Source: docs/error-messages/compiler-warnings/compiler-warning-level-2-c4275.md
Product: visual-cpp
Technology: cpp-diagnostics
GitHub Login: @corob-msft
Microsoft Alias: corob

@DanBlanchard
The specific combination of all those conditions represents a case where the warning is spurious. That combination might not even cause a warning in the current library anymore. Basically, we documented an implementation bug at some point, and we were never told if it was fixed. I'll follow up to see if that special case still needs to be documented.
If you see the C4275 warning, you shouldn't ignore it. The compiler has detected a problem with your DLL interface. Usually, something required to instantiate an exported class is missing from your exports. We've got other documentation that goes into more details: Using dllimport and dllexport in C++ Classes and General Rules and Limitations. The C4275 article should probably include these links, too.
How to fix the issue depends on what you're doing. If you can move more of your library into headers, that can eliminate some causes of C4275. Virtual classes with factory functions that keep creation and destruction internals inside the DLL can work well. And don't do things like throw exceptions from your DLL and expect your client to catch them. Compiler versions can matter, but class layout and calling convention compatibility matter more. Compile both DLL and client with the same compiler switches.


Local queues prometheus metrics

What would you like to be added:
Expose Prometheus metrics for local queues, equivalent to the existing cluster queue metrics, but filtered and labeled by local queues.
Similarly to the visibility API, that serves information about pending workloads in local queues, it would be possible to get metrics like like pending workloads, admitted active workloads, resource usage, etc, for local queues.
If cardinality is a concern, those metrics could be exposed behind a feature flag.
Why is this needed:
Metrics about local queues can be useful for the batch users persona, so they can have visibility and historical trends about their workloads.
While some metrics are already available for cluster queues, exposing them to the batch users persona presents the following challenges / limitations:

Cluster queues metrics are global and cannot be filtered by namespaces / tenants
Querying "cluster-scoped" metrics in secured Prometheus instances is generally only authorised for cluster admin users that have access to all namespaces / tenants

Completion requirements:
This enhancement requires the following artifacts:

[ ] Design doc
[x] API change
[ ] Docs update

The artifacts should be linked in subsequent comments.

@alculquicondor @tenzen-y Do you think that'd be a useful / possible enhancement?

If cardinality is a concern, those metrics could be exposed behind a feature flag.

Yes, that's the primary concern. I wouldn't make it a feature flag, but a supported configuration field.

@alculquicondor @tenzen-y Do you think that'd be a useful / possible enhancement?

I understand that this feature is so useful, but I have the same concern with @alculquicondor.
IIRC, previously, we had similar discussions when we designed Visibility/Visibility On-demand.
So, if we introduce this feature, configurable this feature by Config API would be better.
Anyway, I guess that having a small KEP would be better since we may extend the existing Config API.

That makes sense. There could be one or two options added to the Config API,  similar to the existing .metrics.enableClusterQueueResources, like .metrics.enableLocalQueues and .metrics.enableLocalQueueResources.
I can work on a small KEP if you guys give the green light.

It seems simple enough.

SGTM

Thanks for your quick feedback! I'll work on it asap.
/assign

@astefanutti are you still looking into this?

@alculquicondor I haven't, but hopefully we'll get back to it soon.

/remove-lifecycle stale

/unassign

@varshaprasad96, please write /assign in a comment to claim this issue. It's important to communicate that you are working on an issue so that other contributors don't try to work on the same thing.

/assign

/remove-lifecycle stale
@varshaprasad96 Do you still work on this enhancement?

@tenzen-y  Yes. I'm planning to get the implementation PR up by next few days.

@tenzen-y Yes. I'm planning to get the implementation PR up by next few days.

Awsome, thanks for your effort!

I've been working on the this KEP for the last couple days and overall it seemed pretty straightforward, until I got to adding the LocalQueueByStatus metric since afaict the status metric for CQs is a bubbling up of the internal cq.status. The only representation of LQ states exists inside the CQ struct, and I felt like adding all LQs to the cache struct felt wrong. My current thought is to add a new Type in metrics LocalQueueStatus which has the following values (active, pending, and orphaned) where the LQ will inherit the status from its CQ parent. If the parent is terminating the LQ status will move to pending and if the CQ is deleted then the status would move to orphaned. When reconciling the LQ to update status I can just directly grab the status from the CQ in cache.

cc @mimowo @PBundyra @tenzen-y

@KPostOffice Could you elaborate on where exactly in localqueue_controller are you trying to update the metrics. IIUC - the local queue reconciler watches the CQ, and any status updates would be reflected in here.

I felt like adding all LQs to the cache struct felt wrong

Also, the local_queue has reference to the respective cluster queue. Can't we just directly query CQ's cache status instead while updating metrics?

@varshaprasad96 I wasn't planning on adding the metrics to the localqueue_controller I was adding them to either manager.go or cache so that the metrics were reflective of Kueue's operational state, this is what is done for CQ status metrics, see here. I'm having trouble figuring out how to exactly represent the LQ's status. I think it can just update when either:

a LQ is added
a LQ is updated
the LQ underlying CQ status is updated

/reopen
we can use the issue for follow up API changes and Beta graduation.

I added a comment for the guarding this metric by Config API: https://github.com/kubernetes-sigs/kueue/pull/3673#discussion_r1884162004
I am still wondering if we should guard this metric by that.

As we discussed in https://github.com/kubernetes-sigs/kueue/pull/3673#discussion_r1884172427, we will introduce the feature knob to the Config API in the v0.11 version, and then we will guard the slown down Prometheus query performance.


Adding timecode and related challenges

This is ready for review.
Adding timecode and related challenges for:
12-lorenz-attractor
13-reaction-diffusion
21-mandelbrot-set
22-julia-set
34-diffusion-limited-aggregation
Adding related challenges for 168-the-mandelbulb
Adding links in YT description   for 2-menger-sponge and 3-snake-game

Amazing!


Chore/integration tests

Create integration tests on Android to test app behavior.

I don't believe Compose for iOS currently supports integration tests. Once I finish the Android tests, I'll create tests for desktop.


Update to a higher baudrate(460800 or 921600) is impossible on MacOS

SerialPort Version
11.x.x
Node Version
v14.18.0
Electron Version
No response
Platform
Darwin xxx 21.6.0 Darwin Kernel Version 21.6.0: Thu Mar  9 20:08:59 PST 2023; root:xnu-8<IP_ADDRESS>0.8~1/RELEASE_X86_64 x86_64
Architecture
No response
Hardware or chipset of serialport
No response
What steps will reproduce the bug?
const serialPort = new SerialPort({path:'xxx', baudRate:230400});

serialPort.update({baudRate:460800}, (err)=>{console.log(err)});

What happens?
Received error in callback, the detailed information is:
Error: Error: Invalid argument calling ioctl(.., IOSSIOSPEED, -1 )
What should have happened?
I have read the source code, I think it is due to the ToBaudConstant method in bindings-cpp/src/serialport_unix.cpp. It will convert the baudrate passed by user. For baudrate higher than 230400, it will convert to -1 on MacOS.
I have also tested on windows, no such issue.
Additional information
No response

https://github.com/serialport/bindings-cpp/pull/186


Is SSDT installed a prerequisite?

For on premise build agents (TFS 2018.1), do we have to first install SSDT on the agents to make this work?
Cheers,
Guy

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

ID: a56478c9-7dfc-43e9-c348-357dc6862d73
Version Independent ID: dd3cd0a1-dc03-15d3-1298-b76d770e4760
Content: Build your SQL server database
Content Source: docs/build-release/apps/aspnet/build-aspnet-dacpac.md
Service: unspecified
GitHub Login: @erickson-doug
Microsoft Alias: alewis

@guylevy yes VS with SSDT tools will be required on agent side.


Expand Scanning capabilities to sharepoint

Support sharepoint scanning

I can't see a way to get a Personal Access Token for SharePoint access. It is like Slack and Discord, we have to register an App in the account and exchange them to get the user token.

Build Go apps with Microsoft Graph - Microsoft Graph | Microsoft LearnCalifornia Consumer Privacy Act (CCPA) Opt-Out IconCalifornia Consumer Privacy Act (CCPA) Opt-Out Icon
How do I get access token for SharePoint Online REST API


What produces the Finalizer in the ETCDsnapshotfiles and which resource deletes it?

Rancher Server Setup

Rancher version: 2.7.6
Installation option: Helm Chart
Proxy/Cert Details: we use proxy

Information about the Cluster

Kubernetes version: v1.26.12+rke2r1
Cluster Type: Local

User Information

What is the role of the user logged in? Admin

Describe the bug
When Rancher is deployed etcd snapshots are creating every 12 hours by default on the local cluster. It's also possible to configure snapshots via config.yaml. They belong to the api resource ETCDSnapshottfile.
kub6:~ # kubectl get ETCDSnapshotfile -A
NAME                                         SNAPSHOTNAME                    NODE   LOCATION                                                                         SIZE       CREATIONTIME
local-etcd-snapshot-kub6-1709031605-d2e33a   etcd-snapshot-kub6-1709031605   kub6   file:///var/lib/rancher/rke2/server/db/snapshots/etcd-snapshot-kub6-1709031605   55681056   2024-02-27T11:00:05Z
local-etcd-snapshot-kub6-1709074805-2163ed   etcd-snapshot-kub6-1709074805   kub6   file:///var/lib/rancher/rke2/server/db/snapshots/etcd-snapshot-kub6-1709074805   59449376   2024-02-27T23:00:05Z
local-etcd-snapshot-kub6-1709118004-be242a   etcd-snapshot-kub6-1709118004   kub6   file:///var/lib/rancher/rke2/server/db/snapshots/etcd-snapshot-kub6-1709118004   65196064   2024-02-28T11:00:04Z
Here the contect of one of the snapshot's yaml file:
apiVersion: k3s.cattle.io/v1
kind: ETCDSnapshotFile
metadata:
annotations:
etcd.rke2.cattle.io/snapshot-token-hash: f288b2239a56
creationTimestamp: "2024-02-28T11:00:04Z"
finalizers:

wrangler.cattle.io/managed-etcd-snapshots-controller

It includes the Finalizer.
If we try to delete an ETCDSnapshottfile via kubectl delete ETCDSnapshots  --namespace fleet-default, sometimes it is deleted and sometimes not because of the Finalizer.
In case it's not deleted the yaml file ishows deletionTimeStamp:
apiVersion: k3s.cattle.io/v1
kind: ETCDSnapshotFile
metadata:
annotations:
etcd.rke2.cattle.io/snapshot-token-hash: f288b2239a56
creationTimestamp: "2024-02-28T11:00:04Z"
deletionTimeStamp: "2024-02-28T11:25:00
finalizers:

wrangler.cattle.io/managed-etcd-snapshots-controller

The issue is hard ro reproduce and so to test because in the most cases the snapshot file is deleted.
What produces the Finalizer in the ETCDsnapshotfiles and which resource deletes it?
To Reproduce

check the ETCDSnapshotfiles on the local cluster via kubectl get ETCDSnapshotfile -A
delete one of them via kubectl delete ETCDSnapshots  --namespace fleet-default
check the yaml file if it was not deleted via  kubectl get ETCDSnapshotfile local-etcd-snapshot-kub6-1709118004-be242a -o yaml
in order the snapshots are created quicker, create the config.yaml with this content:
etcd-snapshot-schedule-cron:

"0/3 * * * *"
etcd-snapshot-retention:
10
restart the service via systemctl restart rke2-server.service

Result
The snapshot file is mostly deleted
Expected Result
ETCDnapshotfile should always not be deleted because of the Finalizer.

I also experienced the same bug on Rancher v2.7.9, v2.7.10 and v2.8.3.
A lot of 0B snapshots are produced and in ETCDSnapshotfile most of snapshots there are Scheduled for deletion with the finalizer but locally on each etcd node the snapshot files appear to be ok date, size and schedule cron are all ok.
The rke2-snapshot-controller restarts multiple times a day but I haven't found anything in the logs.

I also experienced the same bug on Rancher v2.7.9, v2.7.10 and v2.8.3. A lot of 0B snapshots are produced and in ETCDSnapshotfile most of snapshots there are Scheduled for deletion with the finalizer but locally on each etcd node the snapshot files appear to be ok date, size and schedule cron are all ok. The rke2-snapshot-controller restarts multiple times a day but I haven't found anything in the logs.

do you see 0B snapshots on Rancher UI? and how do you manage to delete them?

I didn't find any way to get rid of them, they still appear in each cluster's snapshots list even after I removed the finalizer in ETCDSnapshotfile. They don't appear in rke2-etcd-snapshots config map either. I suspect it is maybe related with rke2-etcd-snapshot-extra-metadata.
Issue 5008

Yes it looks like this. I faced such issue with ETCDSnapshots of a downstream clusters (not ETCDSnapshotfiles) and didn't find any solution. ETCDSnapshots do not have the Finilazers. In case of ETCDSnapshotfiles it was necessary to restart the rke2 service via command line.


Fast pipe within JSX gets reformatted to invalid code

Refmt in reason-cli 3.3.3 reformats
<div> {items->Belt.Array.map(ReasonReact.string)->ReasonReact.array} </div>;

to
<div> items->Belt.Array.map(ReasonReact.string)->ReasonReact.array </div>;

which then cannot be compiled anymore.
BuckleScript gives the error
  This has type:
    string => 'a => array('a)
  But somewhere wanted:
    ReasonReact.reactElement

This works fine though:
<div>
  {
    let x = items->Belt.Array.map(ReasonReact.string)->ReasonReact.array;
    x;
  }
</div>;

BTW, why are the {} removed in the first place?
This also happens for
<div> {s->ReasonReact.string} </div>;

but not for
<div> {ReasonReact.string(s)} </div>;

cc @IwanKaramazow

Working on it.


A problem occurred configuring project ':mcumgr_flutter'

When I add dependency with mcumgr_flutter version: ^0.4.1
It was showing error like this with android

Try to run the project from Android Studio to get a more specific error message.
In my case, it was an incompatible Kotlin version.

This is my bug

@MichaelQun
You should download the library locally, place it in a specific folder, and reference the path to the folder where the library is stored.
This will resolve the issue.


extensions: Always return pipeline/shaders, even on error

In ash::Device create_compute_pipeline() and create_graphics_pipeline() already return the list of pipelines regardless of the error code, as documented in the Multiple Pipeline Creation chapter.  Callers are expected to scan the returned array for valid pipeline handles and either use or destroy them (when handling an error).  Furthermore, the caller is guaranteed that all handles will be NULL after the first returned NULL handle when VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT is set.
Unfortunately this is not documented on the individual pipeline creation functions, but the overarching documentation does state that this applies to the raytracing pipeline creation functions in addition to graphics and compute pipeline creation.
Now VK_AMDX_shader_enqueue's vkCreateExecutionGraphPipelinesAMDX() is already defining much more clearly on its own page that all output pipelines in the array will be written, but might be set to vk::Pipeline::null() if creation for it failed.
However vkCreateShadersEXT from VK_EXT_shader_object takes the crown by additionally detailing that the caller has to destroy any non-vk::Handle::is_null() vk::ShaderEXT in the resulting array when the caller does not wish to use this impartial result when an error was returned.
All of this is being tackled upstream, where the documentation for all these functions except Shader Object creation will be made to reference the Multiple Pipeline Creation chapter.

It's tempting to push for (Vec<T>, Result<()>) here, but it does make it a lot easier to forget to check the error condition.

Yeah it's unfortunate that there's no lint to catch an unused Result when it is returned as part of a tuple.

https://registry.khronos.org/vulkan/specs/1.3-extensions/html/chap10.html#pipelines-multiple
Turns out there's actually documentation for this, and the references+language are being updated upstream.
I'd still like to think of a better way to represent the validity of the return values (and necessity to clean up non-NULL handles) before merging this in.

I've been contemplating that but it sets the false precedent that every pipeline individually has an error code. It seems better than the status-quo, though!

(Vec<Option<T>>, VkResult)?

Also considered, but that might be ambiguous with None vs Some(vk::Handle::null()) :sweat_smile:

We're gonna write high-level bindings at this point, but how about an OwnedPipeline that has an fn take(self) -> vk::Pipeline drops itself if it wasn't taken (via std::mem::take())?
It wouldn't have access to the device to do so though if the type is #[repr(transparent)].

Anything like RAII ownership of Vulkan objects starts feeling out of scope for ash.

It'd also start implying that similar mechanisms are available or supposed to be available on other types, which wouldn't be the case by for ash in any shape or form.

Upstream documentation improvements have been merged, command pages now contain this:

Pipelines are created and returned as described for Multiple Pipeline Creation.

I'll adopt and update the relevant portions of that doc here in ash on all functions, before merging this. While the function interface indeed shows that users have to do some work on error, it's better to explain and/or link what explicitly.

Perhaps that doc is a bit excessive. I pruned it down somewhat, but we could also boil it down to just the link, or perhaps at the very least (because of the return signature) state that valid references may always be returned - corresponding to create_infos[i] - and should either be used or desroyed.

Yeah, I think something a lot more terse will suffice. No need to duplicate upstream docs at length. Maybe something like:

If multiple pipelines are being created in one call, a subset of pipelines might be created even in the event of an error. Care should be taken not to leak these.