Please provide some screenshots or more details about downstream device and how to change the connection string

[Enter feedback here]
It is not clear what to do after creating an IoT Device (downstream) in IoT Hub. After double clicking IoT Device in IoT Hub I could see the connection string and understand what needs to be modified but the connection string is read only. I think there is a gap or missing information, do you expect user to copy and then modify connection string in a note pad? It makes sense but what would be the next step after creating a connecting string for downstream device? The last paragraph says now you have a downstream device ready, but not sure how to reach that point.
My downstream device publishes MQTT messages, but it does not allow to make any changes or even login. I think this tutorial/page is not describing what kind of downstream device is referred in the page.
It would be much more clear if someone includes what kind of downstream devices are supported would be appreciated. I spent a lot of time going through these pages but it is not easy to follow. In theory I know how it should work but I am not clear what is supported by Azure IoT or Azure IoT Edge. Also the next page described at the end of each page sometime does not make any sense, for example I want to connect my downstream device(mqtt pub/sub) to Azure IoT Hub through Azure IoT  Edge device, I can't find a tutorial or a group of pages I can refer to.

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

ID: 3512ec24-1146-0dc8-4529-80d4770e1ec2
Version Independent ID: 8abd57ee-a785-4d47-c0e5-6ac713367279
Content: Authenticate downstream devices - Azure IoT Edge
Content Source: articles/iot-edge/how-to-authenticate-downstream-device.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

@spranav72
Thanks for the feedback! We are currently investigating and will update you shortly.

Hello @spranav72
I have assigned the issue to the content author for further review of your feedback.

Hi @pranavsanghadia, thank you for your questions.
To begin, this set of three articles about creating a gateway scenario is specific to what we call a 'transparent gateway' which is one in which the downstream device is one that could connect directly to IoT Hub. The connection string that you retrieve from the device details page in IoT Hub is supposed to be used on your IoT device. If you develop your application using one of the IoT device SDK libraries, you can provide the connection string to connect applications running on your IoT device to IoT Hub. If this gateway scenario applies to you, then I'd start with the IoT Hub documentation. Once you have your device connected to IoT Hub and working the way you want it, then it's easier to redirect its connection to go through an IoT Edge gateway.
If you can't connect your device to IoT Hub directly, then it's a more complicated scenario. IoT Edge gateways can perform protocol translation so that devices that couldn't normally connect to IoT Hub can still connect to a gateway and then a module running on that gateway handles the messages and translates them into a format that IoT Hub can receive.
Read more about the different gateway patterns: https://docs.microsoft.com/en-us/azure/iot-edge/iot-edge-as-gateway
Finally, you mentioned that your device uses MQTT pub/sub. I believe that IoT Hub doesn't currently support that. IoT Edge recently released an MQTT broker feature that is in public preview in version 1.2 which is still in release candidate versions. But this may apply to your scenario: https://docs.microsoft.com/en-us/azure/iot-edge/how-to-publish-subscribe?view=iotedge-2020-11&preserve-view=true
Does that information help? Is there more that I can clarify?

Thank you for detailed reply and confirmation.  By now I have developed a module which subscribes to MQTT topics and then send them to IoT Hub. Currently I am trying to find out what is the correct way to include MQTT topic in azure.iot.device Message, could not find a good example or document. This question might be appropriate for QnA?

@pranavsanghadia Yes, that's probably a good question for Q&A.
Is this what you're trying to do: Send telemetry data to IoT Hub? As this is a new feature still in preview, we're working on building up the supporting documentation and examples. Knowing what customers are trying to do can help us prioritize these efforts.

Yes. Here is an overview of what I am trying to do: The downstream device publishes MQTT messages, I am using Azure IoT Edge gateway to subscribe to MQTT data and then send it to IoT Hub. I really don't have preference over protocol used by IoT Edge to send data to IoT Hub in cloud but there should a way to send topic (source) and the value such that other Azure services can easily ingest it.

@ebertrams can you comment on this?

I have posted my question in detail under azure-iot-edge Q&A.

I'm going to close this issue as it looks like you found a working solution and shared it on the Q&A post. I also got some additional information on the topic:

Essentially it is not possible to forward MQTT topics to the cloud today. We need to wait for IoT hub to have a MQTT broker to enable this scenario. For now, telemetry can only be sent to the cloud on special device telemetry topics using routing.

Thanks.
#please-close


Dropdown missing on phones/tablets

If you open https://grav-theme-x-corporation.flatfiledeveloper.com/ on a tablet or a phone the feature dropdown menu is missing.

That is how the original HTML template X-Corporation was designed, I only converted it to a Grav theme, so everything in the Grav theme is almost the same to the original HTML template.


less deps

@rultor release, tag is 0.0.8

@rultor release, tag is 0.0.8

@yegor256 OK, I will release it now. Please check the progress here


Undefined index: jump_buttons

I downloaded a fresh copy of Daux, wrote some documentation, and generated it with ./generate on macOS 10.12.4.
I installed composer with Homebrew brew install composer and run the command on the README:
composer global require justinwalsh/daux.io
Also added the composer path to my $PATH.
Yet generating static files yields this:
Andys-MacBook-Pro:Backend Documentation andyibanez$ daux
Copying Static assets ...                                                                                [  OK  ]
Generating ...
- index.htmlPHP Notice:  Undefined index: buttons in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/home.php on line 30
PHP Warning:  Invalid argument supplied for foreach() in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/home.php on line 30
                                                                                [  OK  ]
- Getting_Started.htmlPHP Notice:  Undefined index: jump_buttons in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/content.php on line 25
                                                                                [  OK  ]
- device_endpoints.php/notify_online.htmlPHP Notice:  Undefined index: jump_buttons in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/content.php on line 25
                                                                                [  OK  ]
- device_endpoints.php/fetch_airing.htmlPHP Notice:  Undefined index: jump_buttons in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/content.php on line 25
                                                                                [  OK  ]
- device_endpoints.php/fetch_notifications.htmlPHP Notice:  Undefined index: jump_buttons in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/content.php on line 25
                                                                                [  OK  ]
- device_endpoints.php/mark_notifications_read.htmlPHP Notice:  Undefined index: jump_buttons in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/content.php on line 25
                                                                                [  OK  ]
- device_endpoints.php/notify_for.htmlPHP Notice:  Undefined index: jump_buttons in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/content.php on line 25
                                                                                [  OK  ]
- device_endpoints.php/remove_for.htmlPHP Notice:  Undefined index: jump_buttons in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/content.php on line 25
                                                                                [  OK  ]
- device_endpoints.php/fetch_watching.htmlPHP Notice:  Undefined index: jump_buttons in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/content.php on line 25
                                                                                [  OK  ]
- device_endpoints.php/settings.htmlPHP Notice:  Undefined index: jump_buttons in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/content.php on line 25
                                                                                [  OK  ]
- device_endpoints.php/fetch_unread_notifications_count.htmlPHP Notice:  Undefined index: jump_buttons in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/content.php on line 25
                                                                                [  OK  ]
- Types/Message.htmlPHP Notice:  Undefined index: jump_buttons in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/content.php on line 25
                                                                                [  OK  ]
- Types/Anime.htmlPHP Notice:  Undefined index: jump_buttons in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/content.php on line 25
                                                                                [  OK  ]
- Types/Airing.htmlPHP Notice:  Undefined index: jump_buttons in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/content.php on line 25
                                                                                [  OK  ]
- Types/Notification.htmlPHP Notice:  Undefined index: jump_buttons in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/content.php on line 25
                                                                                [  OK  ]
- Types/InformationWrapper.htmlPHP Notice:  Undefined index: jump_buttons in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/content.php on line 25
                                                                                [  OK  ]

I was planning on ignoring this, but all my pages are showing that undefined index error in the generated HTML itself.

Hello @AndyIbanez
Could you take a look to your global.json file in the root of your daux install? It is wired to me, because you seems to have a new version, but old globals. In this file, there should be a jump_globals entry, like here:
https://github.com/justinwalsh/daux.io/blob/master/global.json#L36

My global.json file at the root of my Daux project is the following:
{
    "docs_directory": "docs",
    "themes_directory": "themes",

    "title": "Anime Secretary Backend",
    "tagline": "Anime Secretary Backend Documentation",
    "author": "Andrés Ibañez",
    "image": "",
    "languages": {},

    "format": "html",
    "processor": "",

    "ignore": {
        "files": [],
        "folders": []
    },

    "timezone": "America/La_Paz",

    "live": {
        "clean_urls": true
    },

    "html": {
        "theme": "daux-blue",
        "breadcrumbs": true,
		"breadcrumb_separator": "Chevrons",
        "toggle_code": true,
        "date_modified": false,
        "float": true,
        "auto_landing": true,
        "search": true,
        "auto_toc": false,
        "inherit_index": false,
        "jump_buttons": true,

        "repo": "",
        "twitter": ["FaireseTech"],
        "links": {
        },
        "buttons": {
        },

        "google_analytics": false,
        "piwik_analytics": false,
        "piwik_analytics_id": "0"
    },

    "confluence": {
        "prefix": "",
        "delete": false
    }
}

Not sure why it doesn't seem to be picking this up.

I copied and pasted that file to the file docs/config.json and it seems to be working fine now.

Thanks for the information, I made it so it doesn't break if the option isn't present.

@onigoetz
Note that his error also mention problems with button global variable. I made an PR for both: https://github.com/justinwalsh/daux.io/pull/459

index.htmlPHP Notice:  Undefined index: buttons in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/home.php on line 30
PHP Warning:  Invalid argument supplied for foreach() in /Users/andyibanez/Documents/Work/Fairese/Projects/Anime Secretary/Backend Documentation/templates/home.php on line 30

And you should pick isset instead of array_key_exists. ;)


Corrected link to the simulator

The project README still links to the first release of the simulator. Have changed it to link to the 'releases' page so that students always see and download the latest release.

Thanks, Subodh. Just updated it.


[CSM-258] Rearrange wallet fields

Renames fields to be called "blaAddress" -> "blaId"
Removes currency field
Removes type field
Moves unit and assurance from wallet to wallet set level
Add balance field to wallet set and wallet levels

Ahah, sad 😞
Your previous commit built successfully, but due merge of another my PR to master you had to resolve conflicts and we have problem again


store/darwin: Don't be specific on -p ssl policy name

Issue: https://github.com/adamdecaf/cert-manage/issues/9

See https://github.com/adamdecaf/cert-manage/issues/9#issuecomment-392963865


publish<EMAIL_ADDRESS>

Requested by: @chadwhitacre
Merge target: (default)
Quick links:

View changes
View check runs

Assign the accepted label to this issue to approve the release.
Leave the #retract comment under this issue to retract the release (original issuer only).
Targets

[ ] github
[ ] registry
[ ] gcs
[ ] docker[release]
[ ] docker[latest]

Targets marked with a checkbox have already been executed.  Administrators can manually tick a checkbox to force craft to skip it.

This has been running for almost an hour whereas last month it ran in under 3 minutes. I'm going to cancel and restart.

Not jumping out at me what the long pole in the tent is but I killed in the middle of uploading artifacts to the draft release in GitHub. Restarting ...

Reminscent of https://github.com/getsentry/self-hosted/issues/1193#issuecomment-995220313 🤔

Hrm, seemingly stuck again. On both release drafts I see five artifacts and on last months I see 6 + source artifacts. A clue? 🤔

Reaped after 60 minutes. Restarting. Third times the charm? 🙈

So happy. 🥲


Update concept-dev-box-network-requirements.md

identity --> identify

@ralwani - thanks for the typo fix!


Weird things in Powershell Terminal

I was executing the "script.py" with the "art.py" file, for this you need the colorama and tkinter libraries and as soon as I execute the script, some of the output is printed in diagonal lines have a look at it...
Desktop.zip

It looks like your report is missing some important information, See this wiki page for more info on how to report actionable terminal issues.
/label "needs more info" integrated-terminal


[BUG] Curl not working with Weather script

/usr/local/bin/weather: 7: [: <a: unexpected operator
curl: option -0500&override=no%20&Comment=%0D%0A"><img: is unknown
curl: try 'curl --help' or 'curl --manual' for more information

What os are you on? I have tested this out on GNU Linux and OSX (which uses BSD everything) so the curl command should work

Ubuntu 17.04

That is very interesting. I run elementary OS which is just based on the LTS version of ubuntu. Something must have happened to the curl command between these versions I will look into it and get back to you.

Can you try running wget -qO- en.wttr.in
@chubin I think this related to the other weather curl issue

May be not.
@whit2333 Could you please do
bash -x $(which weather)

and post the output here?

@alexanderepstein Let us see if your new update (forced curl -A) have solved this problem

I haven't heard any issue here from anyone else nor a response about the status of this issue after the update, will assume it works unless I hear otherwise and will reopen this.


Created new file after copier update seems to be deleted

Describe the problem
After doing a copier update, I cannot commit the incoming changes because the files seems to be deleted
Template
# Configuration
# ----------------------
_envops:
  lstrip_blocks: false
  trim_blocks: false
  keep_trailing_newline: true

_exclude:
  - ".git/**"
  - ".releaserc.yml"
  - "copier.yml"
  - "tests"
  - "tests/**"

_skip_if_exists:
  - "cleyrop/*"

# Questions
# ----------------------
project_name:
  type: str
  help: What is the project name?

initial_codeowners:
  type: str
  help: Who are the codeowners use @gitlab_usernames space limited. If unsure, just use your @gitlab username, including the @ sign.

certmanager_issuer:
  type: str
  choices:
    - letsencrypt
    - customCA

external_oauth:
  type: bool
  default: false
  choices:
    - true
    - false

To Reproduce
copier --vcs-ref=ci/test_remove_copier_task update
Logs
Copying from template version 4.0.0b15.post1.dev0+4e97db3
 identical  .
 identical  .gitleaks.toml
 identical  cleyrop
 identical  cleyrop/README.md
 identical  .tool-versions
 identical  .pre-commit-config.yaml
 identical  .checkov.yaml
 identical  scripts
 identical  scripts/prepare-dev-env.sh
 identical  scripts/update-asdf-version-variables.sh
 identical  scripts/install-asdf-plugins.sh
  conflict  .copier-version
 Overwrite .copier-version? [Y/n]
 identical  .git
 identical  docs
    create  docs/How_to_deal_with_Altas_as_hemera_developer.md
    create  docs/Global_Architecture_Overview.md
    create  docs/How_to_use_skeleton_as_hemera_developer.md
 identical  docs/resources
 identical  docs/resources/global_architecture_overview.drawio.png
    create  docs/resources/global_architecture_overview.drawio
 identical  docs/resources/change_cleyrop_chart_version_in_hemera_developers_env.png
 identical  docs/resources/retrieve_chart_version_in_job.png
 identical  docs/resources/charts_MR_change_values.png
 identical  LICENSE
  conflict  .copier-answers.yml
 overwrite  .copier-answers.yml
 identical  ingress-nginx
 identical  ingress-nginx/values.yaml.gotmpl
  conflict  helmfile.yaml
 Overwrite helmfile.yaml? [Y/n]
 identical  loki
    create  loki/develop.yaml.gotmpl
    create  loki/main.yaml.gotmpl
  conflict  loki/values.yaml.gotmpl
 Overwrite loki/values.yaml.gotmpl? [Y/n]
    create  loki/staging.yaml.gotmpl
 identical  README.md
 identical  .gitlab-ci-asdf-versions.yml
 identical  promtail
 identical  promtail/values.yaml.gotmpl
 identical  .yamllint.yaml
 identical  .editorconfig
 identical  prometheus
 identical  prometheus/values.yaml.gotmpl
 identical  .gitlab-ci.yml
 identical  .gitlab
    create  .gitlab/merge_request_templates
    create  .gitlab/merge_request_templates/MEP_Cleyrop.md
 identical  .gitlab/renovate.json
 identical  CODEOWNERS
 identical  CONTRIBUTING.md
 identical  external-dns
 identical  external-dns/values.yaml.gotmpl
  conflict  .gitignore
 Overwrite .gitignore? [Y/n]

Expected behavior
Created files are in my filesystem
BUT
the git status show me this
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   .copier-answers.yml
        modified:   .copier-version

Screenshots/screencasts/logs
No response
Operating system
Linux
Operating system distribution and version
Ubuntu 20.04
Copier version
copier 7.0.1
Python version
Python 3.8.10
Installation method
pipx+pypi
Additional context
No response

Created files are in my filesystem

So they're not deleted?
If Git only shows you unstaged changes, while the new files are there, I guess it means they're already tracked?
Seems a like a Git issue more than a Copier one to me.

Hi, thx for ur answer
I'm pretty sure that git is ok, because since I don't use --override, I can see the files being created by copier step by step and then being delete as soon as the cmd ends

and then being delete as soon as the cmd ends

Oh, OK, I thought you were saying that the files were there, in the file system, after the command ended.
Does your template use a task that could delete these files? By running a git or rm for example?
It's hard to help without a reproducible example.

there is no tasks in my copier.yml 😢
and i don't know how to explain this better than that... when I update my project, just before the execution end, some changes seems to be deleted (even if it says created). The current workaround is to avoid using --force and git adding during execution pausing (when it asks for overwrite confirmation)

as u can see, git says : new changes are deletion of the newly created files :

Please share your repository URL if you're allowed to, or provide us with a reproducible example. We won't be able to help otherwise :/

Check that you didn't previously committed the deletion of these files. Copier would reapply the deletion after each update, exlaining this behavior.

Look like copier just apply the difference between your 2 copier version.
I'm not sure to understand how copying works
Let's imagine this case:
I have my project in copy version 1.5 (version specified in my .copier-version) but with a "toto" folder that differs from 1.5 (because I didn't want to apply the modifications).
I run my copy update, which triggers the latest version, say 1.6.
What's going to happen?

Update my entire project. Both the 1.5 to 1.6 changes and my "toto" folder.
Update the differences between 1.5 and 1.6 (not my "toto" folder).

Copier merges both your changes and the template changes. If it cannot merge them, you get conflict markers in your file, that you can resolve yourself. There's a diagram here: https://copier.readthedocs.io/en/stable/updating/#how-the-update-works

Thank you
So, that's the option 1. Copier will update "toto" folder

I can see the files being created by copier step by step

In updates, sometimes this list is misleading. See #1156. Is this what was confusing you?

I've try something.
My .copier-version is v4.0.0-beta.21
If i run :
copier --force  --vcs-ref v4.0.0-beta.23 update

I've only difference between v4.0.0-beta.22 to v4.0.0-beta.23 and i've not modification from v4.0.0-beta.21 to v4.0.0-beta.22.
I need to run command to every command to have all modification.
It's possible to get all the changes when I skip a version

And I think @nchal have this problem too.
He see all modification comes but modification that doesn't come from last copier skeleton version, so this file seems to be deleted

I need to run command to every command to have all modification.

That is not how Copier works, so I doubt that's what happens.
As always, without a clear reproduction of the issue we can only guess.

Hi there.
Thanks for your report, but it's lacking enough information and it cannot be fixed until it's provided. I close it for that reason.
If you provide the requested information later, please reopen it.
Thank you!


Updating Experiment Type in Create Experiment and List Recommendations

Description
This PR changes the structure for creating an experiment for local monitoring namespace experiment.
Old Structure For Create Experiment:
[{
    "version": "v2.0",
    "experiment_name": "namespace-demo",
    ...
    "kubernetes_objects": [
      {
        "experiment_type": "namespace",
        "namespaces": {
          "namespace_name": "test-multiple-import"
        }
      }
    ],
    ...
  }]

New Structure For Create Experiment:
[{
    "version": "v2.0",
    "experiment_name": "namespace-demo",
    ...
    "experiment_type": "namespace",
    "kubernetes_objects": [
      {
        "namespaces": {
          "namespace_name": "test-multiple-import"
        }
      }
    ],
    ...
  }]

New Structure for Recommendations:
[
    {
        "cluster_name": "default",
        "experiment_type": "namespace",
        "kubernetes_objects": [...]
        "version": "v2.0",
        "experiment_name": "namespace-demo"
    }
]

Type of change

[ ] Bug fix
[x] New feature
[ ] Docs update
[ ] Breaking change (What changes might users need to make in their application due to this PR?)
[x] Requires DB changes

How has this been tested?
On Openshift: kruize-lm

[ ] New Test X
[x] Functional testsuite

Test Configuration

Kubernetes clusters tested on: kruize-lm

Checklist :dart:

[x] Followed coding guidelines
[x] Comments added
[x] Dependent changes merged
[ ] Documentation updated
[ ] Tests added or updated

Additional information
Kruize Image: quay.io/rh-ee-shesaxen/autotune:ns-extype-change

@shekhar316 Please update the documentation

implement this interface
public interface ExperimentTypeAware {
    String getExperimentType();
}

and use it across KruzeObject and CreateExperimentAPIObject

Updated.

@msvinaykumar, with this reflection-based approach for adding the experiment type, will the ROS need to migrate their db? Since we are adding this field for both ROS and local use cases, although we have verified that the flow won't be disrupted, but do they need to migrate their database?

@msvinaykumar, with this reflection-based approach for adding the experiment type, will the ROS need to migrate their db? Since we are adding this field for both ROS and local use cases, although we have verified that the flow won't be disrupted, but do they need to migrate their database?

It should be fine, but if the pod restarts, will the saved experiment details in the database be able to identify whether the experiment belongs to a namespace or a container?   if not You can use above util to identify in some other way

@msvinaykumar, with this reflection-based approach for adding the experiment type, will the ROS need to migrate their db? Since we are adding this field for both ROS and local use cases, although we have verified that the flow won't be disrupted, but do they need to migrate their database?

It should be fine with transient approach , but if the pod restarts, will the saved experiment details in the database be able to identify whether the experiment belongs to a namespace or a container? if not You can use above util to identify in some other way

We could have moved experiment_type inside extended_data column

@msvinaykumar, with this reflection-based approach for adding the experiment type, will the ROS need to migrate their db? Since we are adding this field for both ROS and local use cases, although we have verified that the flow won't be disrupted, but do they need to migrate their database?

It should be fine with transient approach , but if the pod restarts, will the saved experiment details in the database be able to identify whether the experiment belongs to a namespace or a container? if not You can use above util to identify in some other way
Okay, I see you've handled this using native SQL. This should work for now, but adding more columns could complicate the native SQL approach. In the future, let's consider having separate tables for create_experiment for local=true and local=false until we fully migrate.


Updatedd README.md

Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes:  #(issue no.)
#3556
Description
added dropdown features

Type of PR

[ ] Bug fix
[ ] Feature enhancement
[x] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes. Make sure to attach before & after screenshots in your PR.]
Checklist:

[x] I have made this change from my own.
[x] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

Plz add a demo video also . I wanted to review the changes u have done in readme .

Conflicting files
README.md
Resolve the conflicts in the mentioned files. Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!


Add Taiwan flag

😄

@amowu Thank you for sending this. Looks great to me. Merging it. :smile:
Keep contributing! :smile:


revise how clef changes are handled

From<EMAIL_ADDRESS>on August 10, 2011 13:54:09
Suggested procedure --
a. remove clefChange element
b. add clefGrp element
c. make clef and clefGrp members of model.eventLike (This is what will allow clef and clefGrp to occur within .)
Original issue: http://code.google.com/p/music-encoding/issues/detail?id=2

From<EMAIL_ADDRESS>on September 13, 2011 12:07:00
This issue was closed by revision r361 .
Status: Fixed


makefile: add 'epub' target to generate epub with pandoc

The looks is a little crude but it seems to work.

Test version available for a while here: https://daniel.haxx.se/media/uncurled.epub

LGTM


Changes in footer of the website

Social media icons are very small.
On clicking an icon, the page should open in a new tab.
Contact Us link would look better on navbar. Position is wrong on footer.

I would like to work on these issues under JWOC

I am interested to solve this issue please assign me this task

@suryanshsoni120 you are good to go.
All the best. Let me know if you don't want to do in case due to late response.
I'm sorry for being inactive, the reason for the same was due to some serious health issues.

I have made the changes and raised a PR.

@suryanshsoni120 can you share a preview of the changes you have made.

Size of social media icons increased.
On clicking an icon, the page opens in a new tab.
Contact Us link shifted to the navbar.

Is that send message button working. If not please make it link with<EMAIL_ADDRESS>

Done with the send message button. Queries will be sent to the mail id provided.


js8 works with js7

Signed-off-by: Ashraf Fouda<EMAIL_ADDRESS>

how much more work on this pull request?

it needs verification @rkhamis


[Improve][Script] Update the stop script to make sure the process stops completely

Description
Update the stop script to make sure the process stops completely.
shutdown.sh for the manager:
if [[ -z "$PID" ]]; then
  echo ${APPLICATION} was already stopped
else
  echo ${APPLICATION} running with PID ${PID}, begin to stop...
  kill -9 ${PID}
  echo ${APPLICATION} stopped successfully
fi

InLong Component
InLong Manager
Are you willing to submit PR?

[ ] Yes, I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

It's better to like this:
echo "stopping $command"
        kill $TARGET_PID
        count=0
        while ps -p $TARGET_PID > /dev/null;
         do
          echo "Shutdown is in progress... Please wait..."
          sleep 1
          count=`expr $count + 1`

          if [ "$count" = "$INLONG_STOP_TIMEOUT" ]; then
                break
          fi
         done

        if [ "$count" != "$INLONG_STOP_TIMEOUT" ]; then
            echo "Shutdown completed."
        fi


chore: rename nextversion to next_version

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


Expected parent IDs to be set when ordering by parent ID.

Hi Prisma Team! My Prisma Client just crashed. This is the report:
Versions

Name
Version

Node
v18.12.1

OS
windows

Prisma Client
4.8.1

Query Engine
d6e67a83f971b175a593ccc12e15c4a757f93ffe

Database
mysql

Logs
prisma:tryLoadEnv Environment variables loaded from D:\Workspace\project\bleem\bleem-mmc\back-end\.env
prisma:tryLoadEnv Environment variables loaded from D:\Workspace\project\bleem\bleem-mmc\back-end\.env
prisma:client dirname D:\Workspace\project\bleem\bleem-mmc\back-end\node_modules\.prisma\client
prisma:client relativePath ..\..\..\prisma
prisma:client cwd D:\Workspace\project\bleem\bleem-mmc\back-end\prisma
prisma:client clientVersion 4.8.1
prisma:client clientEngineType library
prisma:client:libraryEngine internalSetup
prisma:client:libraryEngine:loader Searching for Query Engine Library in D:\Workspace\project\bleem\bleem-mmc\back-end\node_modules\.prisma\client
prisma:client:libraryEngine:loader loadEngine using D:\Workspace\project\bleem\bleem-mmc\back-end\node_modules\.prisma\client\query_engine-windows.dll.node
prisma:client:libraryEngine library starting
prisma:client:libraryEngine library started
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true

Client Snippet
const cars = await this.prisma.car.findMany({
      where: {
        org: {
          orgCode: {
            startsWith: orgCode,
          },
        },
      },
      include: {
        org: true,
        factors: {
          include: {
            alarms: true,
          },
        },
        siteDatas: true,
      },
    });
    return cars;

Schema
model Organization {
  id       Int            @id @default(autoincrement())
  orgCode  String         @unique
  orgName  String
  roles    Role[]
  parent   Organization?  @relation("SubOrgs", fields: [pid], references: [id])
  pid      Int?
  children Organization[] @relation("SubOrgs")
  cars     Car[]
  sites    Site[]

  @@map("sys_organization")
}
model Car {
  id          Int          @id @default(autoincrement())
  mnCode      String       @unique
  org         Organization @relation(fields: [orgId], references: [id], onDelete: Cascade, onUpdate: Cascade)
  orgId       Int
  title       String
  plateNumber String       @unique
  picture     String?
  webcam      String?
  desc        String?
  factors     CarFactor[]
  siteDatas   SiteData[]
  dataAlerts  DataAlert[]

  @@map("biz_car")
}
model CarFactor {
  id         Int           @id @default(autoincrement())
  factorCode String
  factorName String
  factorUnit String?
  category   String        @default("base")
  factorDesc String?
  car        Car           @relation(fields: [carId], references: [id], onDelete: Cascade, onUpdate: Cascade)
  carId      Int
  alarms     FactorAlarm[] /// 因子的预警配置
  dataAlerts DataAlert[] /// 报警数据

  @@map("biz_car_factor")
}

model FactorAlarm {
  id           Int       @id @default(autoincrement())
  alertLevel   String
  thresholdMin Float?
  thresholdMax Float?
  frequency    Int       @default(1)
  factor       CarFactor @relation(fields: [factorId], references: [id], onDelete: Cascade, onUpdate: Cascade)
  factorId     Int

  @@map("biz_factor_alarm")
}

Prisma Engine Query
{"X":{}}

Hi @wincheer! We have added support for MySQL 8.0.14 and newer to the relationJoins preview feature in Prisma 5.10.0, which we expect to resolve this issue thanks to the database comparing the IDs itself when joining the data.
Does enabling the relationJoins preview feature fix this problem for you?
generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["relationJoins"]
}

Thank you in advance for following up 🙏


copy/paste from PTY output is unreliable

sometimes the correct text is copied, but more often not.

ah i see. this is due to the buggy way we hide trailing blank lines. so the terminal is off by k rows, if we have hidden k rows above the line the user is attempting to copy


Provide a way to switch index at runtime

I have a need for this in my app, and it would also be helpful for parallelizing tests. Reading through the code/docs I couldn't find a way to do this.
I would be willing to take a shot at implementing this as a lambda that would be called at runtime.

@bencrouse Sorry for missing this. When you say "switch index at runtime", what do you mean exactly?
I think you can just override the index_name and implement your own custom logic? Also, there's a setter MyModel.index_name=, which you can call anytime -- is it what you're after?
As @lorgio suggest, we support dynamic index names in Model, it should be the same in Persistance of course...

I worked around this by setting it in the initializer with index "foo_index_#{Site.current_index}", which isn't too big a deal. However, I did and would expect the behavior between Model and Persistence to be consistent.

@bencrouse Absolutely, the missing support in peristence is just a failure to implement it in time on my side. Closing this then?

fine by me


Jitpack doesn't work

Hi John,
please fix the bug so that we can use Jitpack for our projects.
https://jitpack.io/#MCMDEV/sidebar
https://jitpack.io/com/github/MCMDEV/sidebar/master-7b91071a0a-1/build.log

Closed with https://github.com/MCMDEV/sidebar/pull/3


Self closing tags are not being formatted correctly

Version: x.x.x
<EMAIL_ADDRESS>
Details
When formatting with prettier, self closing tags are not being formatted the same as components that have open/closing tags.

Expected Behavior
    <@column
        field='campaignName'
        columnText='Campaign name'
        columnDescription='Campaign name desc'
        width='1fr'
        align='center'
        sortable=true
    />

    <@column
        field='clicks'
        columnText='Clicks'
        columnDescription='Clicks desc'
        width='1fr'
        align='right'
        sortable=true
    />

Actual Behavior

    <@column field='campaignName' columnText='Campaign name' columnDescription='Campaign name desc'
    width='1fr' align='center' sortable=true /> <@column field='clicks' columnText='Clicks'
    columnDescription='Clicks desc' width='1fr' align='right' sortable=true />

Possible Fix

Additional Info
Your Environment

Environment name and version (e.g. Chrome 39, node.js 5.4):
Operating System and version (desktop or mobile):
Link to your project:

Steps to Reproduce

first...

Stack Trace

Should be fixed


Revert "ucp relnotes for 3.0.3 and 2.2.11"

Reverts docker/docker.github.io#7073

Deploy preview for modest-edison-79d82e ready!
Built with commit b20beb5dce3d9af5ae4da0e93174a118fc3a63ff
https://deploy-preview-7080--modest-edison-79d82e.netlify.com


Cannot find <V2Base.h>

Hi!
I'm not sure but, Can you specify where is located V2Base.h or which version of C++ do you use.
I cannot find this library. This one is not compatible with your implementation

It is from here:
https://github.com/versioduo/V2Base

struct PortGroup is not recoginize

should be this one?

I don't know, Base would need to be ported to any new hardware, I only ever used the SAMD microcontrollers

I don't know, Base would need to be ported to any new hardware, I only ever used the SAMD microcontrollers


WIP Use flutter_plugin_tools podspecs linter

Description
Use the flutter_plugin_tools podspec linter, remove custom script.
Related Issues
Fixes https://github.com/FirebaseExtended/flutterfire/issues/2405
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[ ] If the pull request affects only one plugin, the PR title starts with the name of the plugin in brackets (e.g. [cloud_firestore])
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See [Contributor Guide]).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the [Flutter Style Guide].
[ ] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy].
[ ] I updated CHANGELOG.md to add a description of the change.
[x] I signed the [CLA].
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

Closing for now, every package has warnings.


Add support for ADT-A03

add support for ADT_A03 - Discharge/End Visit so we can accept and convert this message type

In release 1.0.15


Fix CMake OS dependent default options.

The defaults were setting local variables, while the "option" command
uses the values from the CMake cache. This made the CI not build the
D3D12 or Metal backend on their platforms.

__assume(0) is a hint to the compiler, but there should be debugbreak() that "crashes" in Debug.
AFAIK there is no way to change Debug vs. Release from inside visual studio when using CMake :/

CMAKE_BUILD_TYPE isn't used for multi-configuration builders like Visual Studio. Took some searching around, but the way to do this is:
https://stackoverflow.com/a/24892791
https://cmake.org/cmake/help/latest/manual/cmake-generator-expressions.7.html


reset.d.ts is not really ambient

I once lost a lot of time learning that using import statements in ambient ts files breaks the ambient-ness.
I appreciate the hack of using the name reset.d.ts to tell typescript about the reset without impacting the project in any way, but someone might include it in an existing ambient file, which would break it.
Perhaps the readme should include a comment to that effect? Or maybe there's a way to tell typescript to load it via tsconfig?
reset.d.ts:
// Tell TypeScript about our reset. This actually breaks the ambient-ness of this file because
// it's an import statement, so use only this one statement in this file
import '@total-typescript/ts-reset'

Or maybe there's a way to tell typescript to load it via tsconfig?

I created a PoC for loading the reset by using a custom lib definition as described in the official typescript 4.5 blog post.
However, this would require creating a package for every lib definition there is  (e.g. es2020, esnext etc)
You can see a working example here: https://codesandbox.io/p/sandbox/broken-surf-k1bqvn?file=%2Fsrc%2Findex.ts

Not sure if @mattpocock is willing to create/maintain the lib packages on the total-typescript namespace.
I'd be happy to create them myself on a separate namespace otherwise.

@joshuajaco This sounds like an overly complex solution to a small problem. I'll add a comment to the readme saying to make sure that the import is the only thing in that reset.d.ts file.


Missing Path Parameter - (Not Present in CSDL)

Path parameters are missing from the CSDL but present in snippets
Sample Link : https://docs.microsoft.com/en-us/graph/api/accessreviewinstance-batchrecorddecisions?view=graph-rest-beta&tabs=typescript
pendingAccessReviewInstancesById is missing from MeRequestBuilder

const authProvider = new AzureIdentityAuthenticationProvider(new ClientSecretCredential("tenantId", "clientId", "clientSecret"));

//THIS SNIPPET IS A PREVIEW FOR THE KIOTA BASED SDK. NON-PRODUCTION USE ONLY
const graphServiceClient = GraphServiceClient.init({authProvider});

const requestBody : BatchRecordDecisionsPostRequestBody = {
	decision : "Approve",
	justification : "All principals with access need continued access to the resource (Marketing Group) as all the principals are on the marketing team",
	resourceId : "a5c51e59-3fcd-4a37-87a1-835c0c21488a",
};

async () => {
	await graphServiceClient.me.pendingAccessReviewInstancesById("accessReviewInstance-id").batchRecordDecisions.post(requestBody);
}

closing as this is present in beta
https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/blob/247adb8878eb8c165a72c2113d1f5c0044f4dddb/packages/msgraph-beta-sdk-users/users/item/pendingAccessReviewInstances/item/batchRecordDecisions/index.ts#L43
And the me binding is covered by #472


Doesn't compile anymore

Since yesterday I can't compile anymore, one of the dependencies (rand) seems broken.
Here is the result of a cargo build in a fresh clone of this repo:
➜  rust-sdl2 git:(master) rustc --version
rustc 1.0.0-nightly (cfea8ec41 2015-03-10) (built 2015-03-10)
➜  rust-sdl2 git:(master) cargo build
    Updating registry `https://github.com/rust-lang/crates.io-index`
   Compiling sdl2-sys v0.0.33 (file:///private/tmp/rust-sdl2)
   Compiling bitflags v0.1.1
   Compiling libc v0.1.3
   Compiling log v0.3.0
   Compiling rand v0.3.0
/Users/casimir/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.0/src/isaac.rs:94:51: 94:61 error: type `core::ops::Range<usize>` does not implement any method in scope named `step_by`
/Users/casimir/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.0/src/isaac.rs:94                     for i in (0..RAND_SIZE_USIZE).step_by(8) {
                                                                                ^~~~~~~~~~
/Users/casimir/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.0/src/isaac.rs:94:51: 94:61 error: type `core::ops::Range<usize>` does not implement any method in scope named `step_by`
/Users/casimir/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.0/src/isaac.rs:94                     for i in (0..RAND_SIZE_USIZE).step_by(8) {
                                                                                ^~~~~~~~~~
/Users/casimir/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.0/src/isaac.rs:111:43: 111:53 error: type `core::ops::Range<usize>` does not implement any method in scope named `step_by`
/Users/casimir/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.0/src/isaac.rs:111             for i in (0..RAND_SIZE_USIZE).step_by(8) {
                                                                                ^~~~~~~~~~
/Users/casimir/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.0/src/isaac.rs:170:36: 170:46 error: type `core::ops::Range<usize>` does not implement any method in scope named `step_by`
/Users/casimir/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.0/src/isaac.rs:170             for i in (0..MIDPOINT).step_by(4) {
                                                                                ^~~~~~~~~~
error: aborting due to 4 previous errors
Could not compile `rand`.

To learn more, run the command again with --verbose.

Nevermind, I always forget my installation doesn't auto update. It works perfectly with the last rustc nightly build.


eosio-abi - bool defined as _Bool

When generating abi via  eosio-abi boolean type is defined as _Bool and not as bool.
example:
[[eosio::action]]
void testaction(bool b1, bool b2)
{}

outputed abi:
....
{
    "name": "testaction",
        "base": "",
        "fields": [
            {
                "name": "b1",
                "type": "_Bool"
            },
            {
                "name": "b2",
                "type": "_Bool"
            }
        ]
}

@larryk85 replicated this issue. This bug also arises when utilizing a boolean inside of a table's struct.

It seems @larryk85 is refactoring the code of abigenerator.
For the meanwhile, I temporarily solve the problem by adding:
{"_Bool", "bool"} mapping instd::string translate_type( const clang::QualType& t ),
the file is located at eosio.cdt/eosio_llvm/tools/clang/tools/extra/eosio_abigen_tool.
After that, you can rebuild and reinstall it.

fixed as of v1.3.0


Misuses of cryptographic APIs

Hi
The following lines have cryptographic API misuses.  File name => src/main/java/io/lettuce/core/LettuceStrings.java: Line number => 115: API name => MessageDigest:First parameter (with value "SHA1") should be any of {SHA-256, SHA-384, SHA-512} File name => src/main/java/io/lettuce/core/LettuceStrings.java: Line number => 117: API name => MessageDigest:

Thanks for report. SHA1 is not used in a crypto context. It is part of the Redis API to generate checksums.


Managing R dependencies

There may be a better solution to managing R dependencies reliably these days:
https://rstudio.github.io/renv/articles/docker.html

I missed this issue when I was preparing the images for last month's OHW-espanol event. But now that I'm preparing for the next one (Nov 25-29), I'd like to try to make R env management easier and more reliable. I described problems and needs to 2i2c just a couple of days ago (pasted below); don't know yet if they'll be able to help -- their initial reply was "are you using repo2docker? If so, then let me know the GitHub repo and I can take a quick look at your configuration." I'll follow up with them today.
@abkfenris do you have time to work with me (and maybe 2i2c) over the next week or so to try to improve this?
PS. The old PR #73 is also relevant.
(challenges with) Environment management for R image.

The setup we've been using in OHW is complicated, relying on conda when an R package is available on conda-forge and Docker for packages from CRAN and GitHub. For the last two, we can't specify that dependencies be installed or upgraded automatically, so it takes a lot of extra legwork. Can you recommend improvements?
We're using pretty old versions of RStudio and (in the conda env for R) python and pangeo-notebook, due to previous issues. Can you provide guidance for recent versions that are known to work?
We ran into a problem where some packages that were already installed and used successfully in 2023 were not recognized (could not be loaded) on RStudio. We need help tracking this down

I believe we had a few different issues with repo2docker that really made it unusable for us on the Python side:

Very long solve times for conda environment, or failure to solve at all
No ability to lock environments limiting reproducibility
Some environment tweaks we needed were very hard to do

If I remember right, we really hit this wall before we started adding R.

From there we found that if we didn't install at least the core geospatial R dependencies with conda, they often would mangle each others versions of underlying libraries. Telling the ones that we've specified directly in Dockerfile to not install or upgrade dependencies automatically is part of keeping them from mangling each other.
Rstudio has some licensing issue that kept it from being able to be packaged in Conda Forge for a few years. I believe that's fixed, @ocefpaf might know more. I didn't end up updating it this year as the R folks said the environment was fine for their tutorials. Python and pangeo-notebook are probably fine to update
I know just enough R to get this process to work, so you might need to find someone who knows how RStudio finds things. I know we found that it often ignored environment variables that would otherwise be used to set paths.

Rstudio has some licensing issue that kept it from being able to be packaged in Conda Forge for a few years. I believe that's fixed, @ocefpaf might know more. I didn't end up updating it this year as the R folks said the environment was fine for their tutorials. Python and pangeo-notebook are probably fine to update

I guess only the package name throws people off. It is rstudio-desktop and not rstudio. The updates there are slow though b/c it is notoriously hard to build it. Also, it is suprt heavy and brings tons of large dependencies.
TL;DR if you really need it, it works. It not, I don't think it is worth adding to the env.

Thanks for the background and updates, @abkfenris and @ocefpaf! Very helpful. I haven't heard back from 2i2c yet (pinged them again today), but I've been reading up on these topics. One step I can -- and will -- take now is to make these core updates to the R image:

conda (environment.yml)

Python: 3.12
pangeo-notebook: I'll set it to the same one in the current pixi.toml, 2024.08.07, just for consistency

r/Dockerfile

RStudio. This is where RStudio is installed, via the rstudio-server Debian package rather than a conda package. It's currently set to rstudio-server-2022.07.1-554-amd64.deb on bionic. It looks like the hub currently uses jammy (Ubuntu 22.04), and after some digging I found the latest version on jammy: jammy/amd64/rstudio-server-2024.09.1-394-amd64.deb

I'll update the R image today with these changes, cross my fingers, then test it when it's rebuilt -- assuming it does build :sweat_smile:
The Dockerfile has the comment "Newer one has bug that doesn't work with jupyter-rsession-proxy" that goes way back and is still found in this Dockerfile on the main 2i2c hub image repo. But from what I've read, the incompatibility was resolved back in Dec. 2021 or so, with jupyter-rsession-proxy 2.0.
@abkfenris I also read the article about renv + Docker, https://rstudio.github.io/renv/articles/docker.html. That looks promising for improving dependency management, but I think it's out of my depth for now, at least as of this week. Among the OHW-espanol organizers and instructors we have several heavy R users; I doubt they have experience with renv in Docker, but I'll ask. We'll see also if that's something 2i2c can help us with.

2i2c has shared this. Very relevant comparison.

I can point you in the direction of our community CryoCloud's RStudio configuration that follows our recommended repo2docker action: https://github.com/CryoInTheCloud/hub-Rstudio-image


Does this software support batch JPG processing?

Does this software support batch JPG processing? I don’t know what the command is? Thank you

Solution here:
https://github.com/nadermx/backgroundremover/issues/22


Improve documentation for persistent volumes

The documentation we have is not sufficient:

how to setup mesos/marathon in order to use this feature (flags)
explain principal
does the example work? (should it be RELAUNCH_AFTER_TIMEOUT)

@joerg84 can you try an example as described in the docs to see what is missing? Thanks!

Potential Pitfalls[https://mesosphere.github.io/marathon/docs/persistent-volumes.html]
Replication and Backups
Because tasks are pinned to nodes, your data can be lost if the node is lost = What's it mean?
Use Case: My Jenkins is running on Slave1 and it's having local persistence volume. If some how, jenkins killed and bring back by marathon on same slave then will I lost all task? Please explain..


Create an issue

I've a regression on Confusing "isn't a valid override" error #48468
Ventura 13.1 on a M1 machine. Running dart analyze… from Terminal.
The last original example doesn't error for me. However, this:
abstract class TypeBase {
  String toString();
}

class StringScalar<String> extends TypeBase {
  @override
  String toString() => 'value';
}

actually gives me two errors:
error • scratch_5.dart:11:10 • 'StringScalar.toString' ('String Function()') isn't a valid override of 'TypeBase.toString' ('String Function()'). •
          invalid_override
           - The member being overridden at scratch_5.dart:2:10.
  error • scratch_5.dart:11:24 • A value of type 'String' can't be returned from the method 'toString' because it has a return type of 'String'. •
          return_of_invalid_type
           - String is defined in /opt/homebrew/Cellar/dart/2.18.5/libexec/lib/core/string.dart at scratch_5.dart:13:4026.

Note that the errors go away if I remove the type annotation on StringScalar: class StringScalar extends TypeBase

These errors are expected: class X<String> declares a type parameter called String which shadows actual String type from dart:core. Your code is equivalent to
class StringScalar<T> extends TypeBase {
  @override
  T toString() => 'value';
}

so these errors are correct.
They are certainly confusing. Analyzer and CFE should probably detect such shadowing and make it obvious in the error that String is a type parameter rather than a reference to a type from dart:core. e.g. a better error message could say: ... Where String is a type parameter of StringScalar or add a warning Type parameter String shadows String from dart:core.
/cc @johnniwinther @srawlins

Analyzer and CFE should probably detect such shadowing and make it obvious in the error

+1
We do have other messages that try to highlight that two types come from different imports, but we are not giving a helpful message here.


remove public preview info

During public preview, two Device update accounts can be created per subscription. Additionally, two device update instance can be created per account.

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

ID: 40e744e4-7bb1-d63a-7806-66ae19580c03
Version Independent ID: 059b3734-eb95-1e79-c92a-6d4479393513
Content: Understand Device Update for Azure IoT Hub resources
Content Source: articles/iot-hub-device-update/device-update-resources.md
Service: iot-hub-device-update
GitHub Login: @vimeht
Microsoft Alias: vimeht

@xiongyu0523 Thanks for the feedback! We are currently investigating and will update you shortly.

@xiongyu0523 PR has been created to fix this. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


I just found out that the project again takes PRs!

God keep you @lricoy!

Thanks @oshliaer 🎉

@lricoy reached out and has been a massive help!


Deleting PersistentVolumeLabel because its deprecated from this page https://kubernetes.io/docs/setup/best-practices/multiple-zones/

This is a Feature Request
What would you like to be added
PersistentVolumeLabel mentioned in this page https://kubernetes.io/docs/setup/best-practices/multiple-zones/
should be removed because this admission controller is now deprecated according to this page
https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#persistentvolumelabel
Why is this needed
For documentation to stay up to date
Comments
No

/language en

page to be updated: https://kubernetes.io/docs/setup/best-practices/multiple-zones/

/sig docs
/kind bug

Rather than plain delete, I recommend replacing that text with something appropriate for Kubernetes in 2024. Do you support that approach @hassanbenhzaine ?

@sftim yes I do, i will see what i can do about it

@sftim I made this pull request that contain updated paragraph instead of juste removing PersistentVolumeLabel
https://github.com/kubernetes/website/pull/44910

I think the PR #44910 resolves this issue and can hence can be closed

/close


Adds cachegroups using mid as secondary to ip_allow.config

This adds the IPs to ip_allow.config from any cachegroups using a mid as a secondary cachegroup.  Previously we only looked at primaries.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/701/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR-trafficops-test/660/


Python bindings

It'd be nice to have python bindings, since onnxruntime by Micro$oft has telemetry and so it is a bit unethical to depend on it. Fortunately there can be a thin abstraction layer.
To maximize compatibility to various python impls and to spare users from compiling the lib themselves it may make sense to implement it via ctypes. There are packages generating ctypes bindings from headers automatically, but usually they need extensive postprocessing.

Maybe cython is better, it's much faster than ctypes, and I'll have a try when I'm free.

Github action can do that well, a simple script will allow uploading pre-compiled wheels to pypi.

One cannot precompile wheels for every platform possible, every OS possible, every Python version possible, and every lib version possible.
Running wheels compiled by a third party is a trust and security issue;
But a pure Python solution requires no compilation at all, the same wheel can be used everywhere. And if needed, the wheel can be generated locally from source code. Installation can be done from git cheaply enough.

One cannot precompile wheels for every platform possible, every OS possible, every Python version possible, and every lib version possible.

With CI build wheels and github action's matrix, you can do that, for example, watchfiles

Running wheels compiled by a third party is a trust and security issue

If you are using ctypes for wrapping, without a compiler, you will have to install the underlying lib first, which is also compiled by a third party. But if you have a compiler, why not install from source?

But a pure Python solution requires no compilation at all, the same wheel can be used everywhere. And if needed, the wheel can be generated locally from source code. Installation can be done from git cheaply enough.

Extensions won't disable the ability to install from a git repo, thanks to setuptools.

With CI build wheels and github action's matrix, you can do that, for example, watchfiles

Not for every.

you will have to install the underlying lib first, which is also compiled by a third party

That lib can be a shared one from a trusted party, for example from distro packages.

But if you have a compiler, why not install from source?

compilation can be slow, or memory consuming.
I prefer to avoid compilation.

And pure python ones  don't require compilation.

Extensions won't disable the ability to install from a git repo, thanks to setuptools.

cexts require compilation, which can be infeasible. I prefer to stay away of compilation. Pure python packages in the most of cases require no compilation.

Okey... So, maybe a multi-backend package which both use cython and ctypes and choose to use one of them when installed should be fine?

multi-backend packages

are always welcome ❤

Actually I always write extensions with multiple backends. You can also find them in my profile, usually with cython and cffi, one for extreme performance, and another for pypy. Now maybe a third one with ctypes.


Trueshot Aura not applied in hunter simulator

Describe the bug
It seems Trueshot Aura is not applied in hunter simulator
To Reproduce
Steps to reproduce the behavior:

Go to simulator and select MM1 P1 Preset
Click on simulate, get about 7593 +- 200. (Use e.g. 10k simulations)
Remove something (e.g. silencing shot) from talents,
Click on simulate, get about 7495+- 200.
Remove trueshot aura from talents,
Click on simulate, get about 7496 +- 200 (again).

Expected behavior
Should make a difference if a talent that boost attack power by 10% is used. This should equivalent to a good 300-400 AP, at least. Not by a measly 1dps difference.
If there is a bug here, that could explain why this talent it is not part of the recommended build for MM.

I'll need a link to your settings if you want this to be debugged. However, you probably already have the same buff being provided by 'another raid member' in the Buffs section.

I use the default settings. And it seems you are right.


https://fuzz.land/free !

Why does this problem appear?
./cli -o -t 0x10ED43C718714eb63d5aA57B78B54704E256024E,0xcFF086EaD392CcB39C49eCda8C974ad5238452aC --onchain-block-number 22055611 -c BSC --onchain-local-proxy-addr http://localhost:5003
thread 'main' panicked at 'called Result::unwrap() on an Err value: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("fuzz.land")), port: None, path: "/free", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) }', src/licensing.rs:30:64
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Can you access https://fuzz.land/free ? If not, can you pls check your DNS / Network settings

I was wondering if you could provide me with some information about the reason for including this link and how I can avoid using or depending on it. Thank you for your time.

This is for collecting telemetry (https://github.com/fuzzland/ityfuzz#telemetry): https://github.com/fuzzland/ityfuzz/blob/01ada2c0db496511921adf184e0e4d479e134b6c/cli/src/licensing.rs#L36
Already removed in the latest unstable build.


Paths to templates should be absolute or config option required.

At the moment angular templates are defined without / prefix, what make them relative. In case you want to use both express and angular routing you will come to situation that path http://myhost/myroute/#!/ will add /myroute to all template paths. It blocks ability to create separate sub apps using the same main components. It could be resolved in state configuration per module, but won't be obvious enough to some contributors.

@sielay I'm not sure I totally understand, can you show an example of something that wouldn't work right now?

@sielay is this still an issue?

@sielay @rhutchison @trainerbill can you look at this?

I had no problems with this in 0.4.0 or don't remember them.

Cool.


M11-L11b: remove the "remove installer section"

In my first try, the whole deployment failed because of this code. Azure deployment portal shown the fail log as "deny to remove this path, row 68, blablabla...", I guess it maybe because the Firefox installation hasn't finished yet even after 35s sleep.
You know deployment takes 15mins waiting ha. After removed this code and tried again, deployment success.
Suggest to take this code away, just keep installer as it is. We usually remove the Lab VM after the exercise.

@LuizMacedo are we going to "delete" this lab?

MOC Labs Review did not experience this.

We will probably replace this lab with Playwright https://docs.microsoft.com/en-us/microsoft-edge/playwright. I am closing this PR for now.


Is adaptation of wavenet vocoder possible?

Thank you for your work.
is it possible to train wavenet vocoder with multi-speaker data and adapt it to a target speaker with limited data? if yes, how can i do that?

Thank you for your explanation.


Using Branch SDK on Safari (IOS) when embedded causes SAMEORIGIN error

We use the Branch SDK inside a website which is then embedded by customers. However when initalizing the Branch SDK on our website (within an iframe) we get the following error on Safari (IOS) only: "Blocked a frame with origin 'domain x' from accessing a frame with origin 'domain y'. Protocols, domains and ports must match.". Initializing the Branch SDK on any other browser works perfectly. We've looked inside the branch-latest.min.js code and saw that you use the code "window.top" and this might cause the issue on Safari (IOS) we think.

Due to the age and inactivity of this issue, I am closing this now. If you are encountering this problem still, please reach out to our support team (support.branch.io) or open a new github issue and we would be happy to help you out!


Bug:

Version
0.4.1
Issue Checklist

[X] Have you checked the Issues/Discussions to see if this hasn't been reported yet?
[X] Have you tried reinstalling the mod?
[X] Is this a genuine issue with Funker Selector and not a side-effect of another mod you have installed?

Context (Provide images, videos, etc.)
Hello, sorry for the inconvenience but, I added a new character and I got an error

here are the files for you to have a look at
scorbunny-player.json
scorbunny-player.json

This is a syntax error, you didn't add a comma after scale in characterMenu:
  "characterMenu":
  {
    "position": [170, 265],
    "scale": 1.2     <-- Here
    "selectedAnim": "cheer"
  }


Opal transpiler causes webkit crash

When including the Opal 'runtime' and a JS file that's been transpiled from Ruby, it causes the crash. The test runs fine in Selenium and before the transpired code was included.
Crash log under webkit-debug:
https://gist.github.com/msp/f35fbff610fcd63ea5e2
Thanks

Closing due to age and lack of way to replicate


examples/phantomwebintro.js not working

I tried with both phantomjs 2.0.0 and 1.9.8, examples/phantomwebintro.js just hang and log nothing.
Does includeJs have problem?
Thank you.

No, it doesn't. Seems like http://www.phantomjs.org just doesn't work.

Any update on this issue?

Sorry I missed the dupe, saw this on #13196 and submitted PR #13196
Taking out the www. fixes things for now.

Fixed in 276aa35


✨ Making StrictlyPositiveInt.Companion.create* factory functions available on Java

📝 Description
We would like to make StrictlyPositiveInt.Companion.create* factory functions available for Java users.
This means that their compatibility should be tested and their documentation should indicate their usage from Java code.
🔗 Dependencies
This issue is blocked by the following ones:

[x] #342
[x] #433
[ ] #597

✅ Checklist

[ ] Make the create(Number) function available for Java users, test its compatibility, update the public API binaries and update the unreleased changelog.
[ ] Make the create(Number, (Number) -> Any) function available for Java users, test its compatibility, update the public API binaries and update the unreleased changelog.
[ ] Make the createOrNull(Number) function available for Java users, test its compatibility, update the public API binaries and update the unreleased changelog.
[ ] Close this issue as completed and update tracking ones if present.

Another issue for stabilizing these functions will be created while resolving #619.


not able to build for ubuntu 20.04

getting an error while building for ubuntu 20.04
error: linking with cc failed: exit status: 1
also not able to build with stable release so building with
cargo +nightly-2024-02-01 tauri build

I'm sorried for this issues.
I have not build for the ubuntu yet.
Can you provide  more error infomation for this build.


Cypress test. Check ability to edit positions in AAM.

Motivation and context
Cypress test. Issue #2486
How has this been tested?

Checklist

[x] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Coverage increased (+0.03%) to 61.245% when pulling d9221f4766e71325b1ed8072c3411a2dd60b9a55 on dvkruchinin:dkru/cypress-test-issue-2486 into 5735efe72f4c5a50cd6a417cdc01ef88928e9a93 on openvinotoolkit:develop.


Create nGraph Context instead of CPU/GPU/NNP

There are four main parts this refactor I see, but of course this might change:

change all of the NNP context stuff to be an nGraph context,
parse the nGraph context argument when creating the backend
replace the context of nodes we don’t fuse with something MXNet understands
make CI/validation work with the new context.

AFAICT, our other upstreaming work is going to change the mechanism by which one mxnet backend delegates unsupported ops to MXnet's default CPU-based implementations.  I'm going to pause work on this Issue until those other changes have been made, to avoid wasted effort.


Run tests

extra information needed to run tests like the command to execute is
stored in a weak map. This data structure stores keys as weak references
which do not keep objects from being garbage collected.
These are all the example tests in the catch2 repo

When we have test discovery merged, we can redirect this PR

Also, please add an entry to the change log. I'm following the layout described at https://keepachangelog.com/en/1.0.0/


show formats selector only when export action is selected

Hi,
This little javascript hides the formats select and shows it only when the export action is selected. It is quite simple but IMHO a good usability improvement.
Should you like the idea, we also need to modify the documentation to include the collectstatic step in the installation.

looks good. default collectstatic would handle this the same way it handles other admin static files, right?

yes, let me add the step to the documentation.

I should get an rst editor :-P. This is now ready to merge.

thanks!


Merge remote-tracking branch 'origin/main'

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 3 committers have signed the CLA.:white_check_mark: umanwizard:x: fabled:x: florianlYou have signed the CLA already but the status is still pending? Let us recheck it.


use zx-slice reconstruction method for lower memory footprint

(Turns out to be much faster as well. Might be because I'm doing the backward and forward projection of the slice in one go now.)
@alisterburt could I get your opinion on this one?
I update projection matching to only reconstruct each xz-slice and immediately project it down to the next tilt angle. The intermediate tomograms is never explicitly reconstructed. It reduces memory requirements a ton and is also a lot faster (~70 sec. -> ~10 sec. per cycle in the example).
However, the downside is that you cannot account for X_rotations in the reconstruction, which I though could be cool at some point to perfectly flatten samples in the reconstruction.
What do you think? Is the memory/speed worth handing in some generality of the projection model?

@McHaillet very cool that you're pushing in this direction!! Thanks for the ping - I've taken a quick look but it's early and I am not sure I've fully understood, can you sanity check me?

you can now predict projections from the tilt-series directly rather than creating intermediate 3D reconstructions
your implementation does this by generating xz slices then projecting those
xz slices come from one row of data in the tilt series (like the IMOD program tilt), giving you speed ups
a consequence of the xz slice implementation is a more limited projection geometry

Am I right? If so, I think the limited projection geometry is a limitation of the implementation rather than the method itself and it's probably worth generalising...
If you know where all the tilt series data ends up in Fourier space after a Fourier space reconstruction and you know where you want to sample that Fourier space reconstruction to make projections you can directly sample from the 2D FFTs to make your projections. Does this feel clear? It should mean you can achieve similar speed ups without loss of generality of the projection model (which feels important)
As an aside, I was first introduced to this idea by @thomasfrosio who has worked on tilt series alignment during a PhD with Peijun Zhang, he might be able to provide useful thoughts/some implementation tips!

@McHaillet you're right that it's a convolution but its only in 1d so is very efficient :-)


Eigen3.3.8 is not supported

Hello, I am trying to build Shogun, but my Mac OS has Eigen3.3.8, and the Checklist has this error checking:
  IF(${EIGEN3_VERSION_STRING} VERSION_GREATER 3.3.7)
    MESSAGE(FATAL_ERROR "The system Eigen3 version ${EIGEN_VERSION} isn't supported!")
  ENDIF()
  SHOGUN_INCLUDE_DIRS(SCOPE PUBLIC SYSTEM ${EIGEN3_INCLUDE_DIR})

Any workaround? thanks!

Hi, I can try and build shogun with Eigen 3.3.8 and see if it works. If so I will bump the required Eigen version


enbale to import from vendor/ directory

Fix https://github.com/motemen/gore/issues/72

when new session start, create tempfile in working diretory
when exit, cleanup (remove tempfile)

The way to detect current directory, looks buggy...
note: my working PC is Linux, so I only tried this code in Linux.

test failed, sorry... 😢

Test passed in go: 1.x but test failed in go:tip .
Will we be fix it?
$ go test ./...
# github.com/motemen/gore/gocode
gocode/gocode_test.go:12: Error call has possible formatting directive %#v
ok  	github.com/motemen/gore	4.884s
FAIL	github.com/motemen/gore/gocode [build failed]
The command "go test ./..." exited with 2.

Go world is rapidly moving forward to Go modules and we don't use vendor directory anymore. Tracking issues around Go modules at  #143.


Bias-free Communication

Microsoft supports a diverse and inclusionary environment.  Within this document, there is a reference to the word 'slave.' Microsoft's Style Guide for Bias-Free Communications recognizes this as an exclusionary word.  The change I made edits the word 'slave' to 'subordinate' to be in line with the Style Guide.

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

Looks good; merging. Thanks @Exnav29


Docs / Github Watch Link in footer on https://containers.dev is broken

On all pages of https://containers.dev in the footer next to Github Star the Github Watch link https://github.com/Microsoft/dev-container-spec/subscription is broken.

Thanks @aheissenberger! Transferring to the repo for containers.dev and opened https://github.com/devcontainers/devcontainers.github.io/pull/40 to fix this.


libmoon with dpdk 20+? Mellanox PMD drivers ConnectX5

Hi - I've been trying to get libmoon to work with Mellanox ConnextX5 MT28800 cards. These cards seem to be a bit different in that dpkd-devbind.py lists them as Network Devices using Kernel driver instead of Network Devices using DPDK-compatible driver. That said I run the Mellanox OFED example tests and they seem to work. Problem is that libmoon cannot bind to any of the ports (it thinks i have no ports available).  Moreover it would be nice to use libmoon with a later version of DPDK. Has anyone tried with 20 or 21?

going to write a more informed question


RelativePanel does not measure correct size in certain configuration

Describe the bug
A clear and concise description of what the bug is.
Expected behavior (according to UWP) is that relativepanel sizes to the content, unless alignment = stretch.
<RelativePanel Background="White" VerticalAlignment="Top" HorizontalAlignment="Left">
            <Rectangle Name="rect1" Height="20" Width="20" Fill="Red"  />
            <Rectangle Name="rect2" Height="10" Width="10" Fill="Yellow" RelativePanel.AlignBottomWithPanel="True" />
          </RelativePanel>

in uwp this produces..

but in HandyControl.RelativePanel we get...

The issue is that Measure does not create a graph and calculate the correct size.
So arrange tells the graph is has the available space.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

.net: [e.g. 4.6.2]
IDE [e.g. vs2017]
Version [e.g. 1.0.0]

Additional context
Add any other context about the problem here.

btw im not just an issue filer, with some direction or pointers I could submit a PR.

fixed


Update ember-cli & ember to v3.6.0

Fixes https://github.com/HeroicEric/ember-full-story/issues/8
Updates ember-cli & ember to v3.6.0.
This also adds a yarn.lock file.

💯!!


refactor packageuploadservice

Summary of the changes (in less than 80 characters):
separate validation before uploading packages
additional work need to be done in terms of separating validation in validation service
Addresses NuGet/Engineering#2342

Here are some diffs to help you review this PR:

https://www.diffchecker.com/apJ4drcs


chore: update on ramp supported assets

Description

Remove gem and junopay as they are disabled and unused
Update supported assets for banxa, mt pelerin, and onramper
Disable gnosis support for onramper as it isn't working even though gnosis assets are shown in their supported assets list

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[x] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes https://github.com/shapeshift/web/issues/7512
Risk

High Risk PRs Require 2 approvals

Low

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

Testing

Spot check some of the new assets added for banxa, mt pelerin, and onramper that they work as intended
Verify onramper is not showing as a buy option for gnosis assets

Engineering

:point_up:
Operations

[ ] :checkered_flag: My feature is behind a flag and doesn't require operations testing (yet)

:point_up:
Screenshots (if applicable)

Tested locally, LGTM - happy to get this one in assuming Arb and BASE fix is included

onramper is not showing as a buy option for gnosis assets

Spot check

https://jam.dev/c/ac38e308-ac3d-4d55-a98a-dfad4fb003c7
LGTM overall, however while testing added Arb One and BASE assets, noticed those are producing a dead click for Banxa:

Adding to `chainIdToBanxaBlockchainCodeMap` seems to make this happy:
diff --git a/packages/caip/src/adapters/banxa/index.ts b/packages/caip/src/adapters/banxa/index.ts
index 10e077dc3b..ed6f341708 100644
--- a/packages/caip/src/adapters/banxa/index.ts
+++ b/packages/caip/src/adapters/banxa/index.ts
@@ -5,9 +5,11 @@ import type { AssetId } from '../../assetId/assetId'
 import type { ChainId } from '../../chainId/chainId'
 import {
   arbitrumAssetId,
+  arbitrumChainId,
   avalancheAssetId,
   avalancheChainId,
   baseAssetId,
+  baseChainId,
   bscAssetId,
   bscChainId,
   btcAssetId,
@@ -119,6 +121,8 @@ const chainIdToBanxaBlockchainCodeMap: Record<ChainId, string> = {
   [optimismChainId]: 'OPTIMISM',
   [polygonChainId]: 'MATIC',
   [thorchainChainId]: 'THORCHAIN',
+  [arbitrumChainId]: 'ARB',
+  [baseChainId]: 'BASE',
 } as const

 /**

good catch!
updated banxa here: https://github.com/shapeshift/web/pull/7548/commits/f5ed64bf9a4fbb7aae4e43a311c4f22c26ac393e
noticed same thing with mt pelerin for bsc here:
https://github.com/shapeshift/web/pull/7548/commits/1e32bbc9355056c4140d24f666919e9b0ed7c690


Run scheduled job immediately

Would be nice to have a button that allows you to run a scheduled job immediately.

Can I give this a try?

@bruno-costanzo of course!

This is closely related to https://github.com/basecamp/mission_control-jobs/issues/37.

@bruno-costanzo yeah, the way it's been implemented in #74 makes this completely trivial, so it's definitely better to wait for that 😊

It looks like that got merged, and I also would really like the ability to trigger scheduled jobs immediately... Has any work been done here yet?

Bumping on this, can I open a PR?

This is great news. Thanks @rosa!


Async for lambda and SNS -- tackling #603

Description
(based on @geeknam 's work) For SNS, you need to set "async_resource": "sns" (If you don't want it to auto-create then do "async_resources": false
The rest is documented at the top of zappa/async.py
This rebases @geeknam 's work, and then adds a commit.
I added a bit of abstraction for the async stuff, so that the caller can find out what happened, and if we want to add, e.g. fallback options into the task() call (e.g. fallback to synchronous, etc), then it's ready for such things.
This code is untested, so that's what I'm going to do next, but feedback (or testing) welcome.
GitHub Issues
https://github.com/Miserlou/Zappa/issues/603

Coverage decreased (-0.3%) to 12.153% when pulling e35d0c0e9cbc45d8246daef86630096bbed8d955 on schuyler1d:async_both into 4b420544fbd8772a26cdf9a5505f67ea3fcc434f on Miserlou:master.

I like this too. What is the point of getting the region and function out of the environment though?

@mcrowson How would you recommend that I get it?  My use case is calling code in my own app (and thus the same lambda function as is running).

Coverage decreased (-0.3%) to 12.174% when pulling f6e2a8e0f2f3adfae2156116223a2defa5c1df97 on schuyler1d:async_both into 4b420544fbd8772a26cdf9a5505f67ea3fcc434f on Miserlou:master.

The LambdaAsyncResponse gets instantiated and used within lambda, but we want to use the SNS topic that was created locally during the deploy/update. So rather than trying to recreate that ARN, just save the SNS ARN to the zappa_settings.py file during the deploy process. Then once you're in lambda you can get it without knowing the region.
Any other approach I can think of either requires setting the region manually like you're doing, or guessing it based on the lambda but that feels wrong.

Coverage decreased (-9.9%) to 2.595% when pulling f6aca4a3482fbe6e850aba6085fccefe303be858 on schuyler1d:async_both into 4b420544fbd8772a26cdf9a5505f67ea3fcc434f on Miserlou:master.

What's the sitrep on these PRs? Would really love to get this stuff merged in as soon as possible so we don't loose momentum. (They don't need to be perfect and I'm happy to keep working on them myself, so "works for me" could be a good enough state.) @schuyler1d @geeknam

I'd merge @schuyler1d PR, lgtm

@Miserlou  I haven't had a chance to actually test this yet, even in practice.  However I think it's pretty close.  I have a project late this week that will probably give me an opportunity to do some actual testing, though that will be for the Lambda part.  Still very interested in some others testing their use-cases, especially with SNS.
@mcrowson ah, that's very helpful -- I see in the handler now how zappa_settings.py will have the details I need, and I can import them directly.


net_download should support XNAT

I am transferring cmiclab issue 198 to GitHub as @atbenmurray expressed interest in helping improve support for XNAT in NiftyNet.
As initially discussed with @tomdoel @tvercaut and @dzhoshkun, it would be good for net_download to support fetching data from an XNAT server. This would allow us to easily share data and models internally (and externally, if the group sets up a public XNAT server) by uploading to an XNAT project.
We have python code for downloading data from XNAT. The main issue according to @tomdoel was deciding how to deal with authentication.
(A similar mechanism could be used to fetch code from a GitHub or GitLab server.)

As discussed with @tomvars and @mjorgecardoso a similar requirement for TCIA and Synapse would help making better use of challenge-related datasets.

@wyli and I had a discussion related to memory-based images #346 and he is modifying the implementation of #346 accordingly. This should provide the framework for how to handle this and other input-source-related items


Browser page up(move to the top) after update.

Hi there.
Every time i save the css file, the browser update and page up to the top, losing focus of editing area. E.g. i'm working on the footer, save the css file and the browser move to the top.
I'm using no settings.json configuration file.
Probably there is something wrong in my side, but i don't know where it is.
Thanks.
My setup: Windows 10, VS Code 1.18

Have you installed Live Server Web Extension?

If yes, turn it off!

HI.
No, i didn't, I'm working on pure html and css.

When i change the html, the page don't move, just the css change cause page up.
I tried to uninstall VS Code(erase config files too) and Live Server, but the problem continues.

It may be a bug! Have you tried anyother project? Or you have said 'after update', if you install previous version of vscode, is this working?

If it is not any sensitive content, can you send me the project (or a fake project where you're facing the same issue)?

One tips for now (if it's a bug):

Install Live Sever Web Extension (for chrome/firefox).
set the settings : liveServer.settings.useWevExt : true & start the server & copy the address.
Open Live Sever Web Extension setup (popup menu)
Click to live reload & paste the address into 'actual server address' & 'live server address' (same value).

Yes, i tried many different projects and the problem persist.
I'm not going to send the project, because the files are just for testing(regular html and css)
Gulp + browsersync are running ok here. Let me do some tests

Hi @claudiney, Today I faced the same issue what you've mentioned here.
This issue is comes from Library as handling CSS update is different from other files(HTML/JS). If you noticed, when you've changed the CSS, browser never reload the whole page  it just re-render the CSS.
There should be a settings to fix this kind of issue (Enforce browser is reload whole page instead of re-rendering CSS).

Workaround:

Use Live Server with Live Server Web Extension.

[Seriously, it is not big deal, but I am sorry, I can't update the extension right now - I am really busy for my exam]

Good luck @ritwickdey.

This features is already added in v3.1.0.  (Sorry, I forget to close it)

I had this issue and found that by disabling the chrome extension Dark Mode, the problem went away.
I added my test domain http://<IP_ADDRESS>:8080 to the Dark Mode extension's exclude list which did ignore this domain for dark mode switching,  but this error on live-server continued to occur.


[bug] Can't launch app on Android Emulator (Windows, Svelte, swr, pnpm)

Describe the bug
I'm new to Tauri, I've been following the installation guide from here and here.
I've also updated pnpm and cargo dependencies according to this.
I used pnpm tauri android init and then pnpm tauri android dev to start an app.
It launches the emulator, but it doesn't intsall/launch an actual app.
For some reason it also runs Running BeforeDevCommand (pnpm dev) and then keeps sending the following message:
 Warn Waiting for your frontend dev server to start on .....
Is there anything I'm doing wrong here or do you need any additional information from me to find the reason it doesn't launch the app on android emulator?
Reproduction
No response
Expected behavior
No response
Platform and versions
› OS: Windows 10.0.22621 X64
› Webview2: 110.0.1587.49
› MSVC:
- Visual Studio Build Tools 2019
- Visual Studio Community 2022
- Visual Studio Community 2022
› Node.js: 16.17.0
› npm: 8.0.0
› pnpm: 7.20.0
› yarn: 1.22.15
› rustup: 1.25.2
› rustc: 1.67.1
› cargo: 1.67.1
› Rust toolchain: stable-x86_64-pc-windows-msvc
Packages
› @tauri-apps/cli [NPM]: 2.0.0-alpha.2
› @tauri-apps/api [NPM]: 2.0.0-alpha.0
› tauri [RUST]: 2.0.0-alpha.3,
› tauri-build [RUST]: 2.0.0-alpha.1,
› tao [RUST]: 0.17.0,
› wry [RUST]: 0.26.0,
App
› build-type: bundle
› CSP: unset
› distDir: ../dist
› devPath: http://localhost:1420/
› framework: Svelte
› bundler: Vite
App directory structure
├─ .idea
├─ .vscode
├─ dist
├─ node_modules
├─ public
├─ src
└─ src-tauri
Stack trace
No response
Additional context
No response

You need to enable your dev-server to listen for requests on local network IPs, in your case, vite, so take a look at this https://next--tauri.netlify.app/next/mobile/development/configuration#vite

@amrbashir, I did that.
The following is my vite.config.ts file:
import { defineConfig } from "vite";
import { svelte } from "@sveltejs/vite-plugin-svelte";
import sveltePreprocess from "svelte-preprocess";
import { internalIpV4 } from "internal-ip";

// https://vitejs.dev/config/
export default defineConfig(async () => {
  const host = await internalIpV4();

  /** @type {import('vite').UserConfig} */
  const config = {
    plugins: [
      svelte({
        preprocess: [
          sveltePreprocess({
            typescript: true,
          }),
        ],
      }),
    ],

    // Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
    // prevent vite from obscuring rust errors
    // clearScreen: false,
    // tauri expects a fixed port, fail if that port is not available
    server: {
      host: "<IP_ADDRESS>",
      port: 5173,
      strictPort: true,
      hmr: {
        protocol: "ws",
        host,
        port: 5183,
      },
    },
    // to make use of `TAURI_DEBUG` and other env variables
    // https://tauri.studio/v1/api/config#buildconfig.beforedevcommand
    envPrefix: ["VITE_", "TAURI_"],
    // build: {
    //   // Tauri supports es2021
    //   target:
    //     process.env.TAURI_PLATFORM == "windows" ? "chrome105" : "safari13",
    //   // don't minify for debug builds
    //   // minify: !process.env.TAURI_DEBUG ? "esbuild" : false,
    //   // produce sourcemaps for debug builds
    //   sourcemap: !!process.env.TAURI_DEBUG,
    // },
  };
  return config;
});

what about your tauri.conf.json ?

ah I see you posted tauri info, the devPath in tauri.conf.json is incorrect, it should be http://localhost:5173

@amrbashir, I changed tauri info and then I have the following error, though I installed everything according to this

Make sure to install the android development prerequisites https://next--tauri.netlify.app/next/guides/getting-started/prerequisites/windows#android

@amrbashir, I've been debugging this app for hours already and was able to at least make this app to be installed on my Android emulator, but it keeps crashing with the following output:


AMBARI-23376. Create topic handler for small agent actions. Like restart_agent, clean_caches etc.

For bigger actions containing a lot of info or special workflow and a new topic would be required. Small actions like restart_agent/clean_cache make sense to be sent in one general topic

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1423/
Test FAILed.
Test FAILured.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1430/
Test FAILed.
Test FAILured.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1436/
Test FAILed.
Test FAILured.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1449/
Test FAILed.
Test FAILured.


Reset len after bf.clear_all()

I expected that after bf.clear_all() calling len(bf) would give 0.  It looks like it isn't being re-set.
>>> bf = pybloomfilter.BloomFilter(100, .01)
>>> silent = bf.add('foo')
>>>  len(bf)
1
>>> bf.clear_all()
>>> len(bf)
1

I'm getting this for both in-memory and file-based filters, on Ubuntu and OSX.  Python 2.7 in each case.

I've confirmed this issue exists in pybloomfiltermmap3 as well. See https://github.com/prashnts/pybloomfiltermmap3/issues/27


Unexpected token export with Lodash

Minimal repo: https://github.com/epicfaace/jest-bug-1

Issue
My tests fail:

   C:\Users\arama\Documents\My Web Sites\WordPress\wp-content\plugins\CFF\node_modules\lodash-es\lodash.js:10
    export { default as add } from './add.js';
    ^^^^^^

    SyntaxError: Unexpected token export

My code:
import {set, unset, get, isArray} from 'lodash-es';

My jest config:

  "jest": {
    "transform": {
      "^.+\\.tsx?$": "ts-jest"
    },
    "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "jsx",
      "json",
      "node"
    ]
  }

I tried changing my jest config to the following, but it still doesn't work:
  "jest": {
    "transform": {
      "^.+\\.tsx?$": "ts-jest"
    },
    "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "jsx",
      "json",
      "node"
    ],
    "transformIgnorePatterns": [
      "<rootDir>/node_modules/(?!lodash-es)"
    ]
  }

@epicfaace Can you please create a minimal repo that reproduces this issue?

@kulshekhar here it is! https://github.com/epicfaace/jest-bug-1

lodash-es requires transpilation to work properly on Node with commonjs.
I.e. extend your transforms like this:
"transform": {
    "^.+\\.js$": "babel-jest"
}

And use a .babelrc in the root of your project with at least the transform-es2015-modules-commonjs plugin defined:
{
  "plugins": [
    "transform-es2015-modules-commonjs"
  ]
}

babel-jest should already be installed due to jest, I'm not sure about the plugin - might be required to install this manually.

Thank you @DorianGrey !
It looks like I have to define two settings for transpilation, one for ts-jest and another in my webpack config. Is it possible to merge these together?

closing this as the issue seems to have been addressed but if it hasn't, this can be re-opened

Try changing the ts-jest preset to ts-jest/presets/js-with-ts:
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
  preset: 'ts-jest/presets/js-with-ts',
}

And then add the transformIgnorePatterns: ['node_modules/(?!(lodash-es))']


Fix name of the bundle in metadata.yaml

Proposal
Avoid confusing on charmcraft list-lib output (due to wrong name in metadata.yaml):
>> charmcraft list-lib
> Library name    API    Patch
> postgresql      0      7
> postgresql_tls  0      4

Release Notes
Fix bundle name in metadata.yaml.
Testing
Testing on GH Actions.

I think lib_path and references to it need to be removed in tox.ini

I think lib_path and references to it need to be removed in tox.ini

I have removed the second commit and keep name fix only.
There are tests dependencies on the library in tests/integration/helpers/helpers.py:
from charms.pgbouncer_k8s.v0 import pgb
...
async def get_cfg(ops_test: OpsTest, unit_name: str) -> pgb.PgbConfig:
    """Gets pgbouncer config from pgbouncer container."""
    cat = await cat_file_from_unit(ops_test, INI_PATH, unit_name)
    return pgb.PgbConfig(cat)

Up to the team refactor this or keep.