Madhu: Workflows, 2 weeks

Learning Objectives

Priorities: 🥚, 🐣, 🐥, 🐔 (click to learn more)

There is a lot to learn in this repository. If you can't master all the material
at once, that's expected! Anything you don't master now will always be waiting
for you to review when you need it. These 4 emoji's will help you prioritize
your study time and to measure your progress:

🥚: Understanding this material is required, it covers the base skills you'll
need for this module and the next. You do not need to finish all of them but
should feel comfortable that you could with enough time.
🐣: You have started all of these exercises and feel you could complete them
all if you just had more time. It may not be easy for you but with effort you
can make it through.
🐥: You have studied the examples and started some exercises if you had time.
You should have a big-picture understanding of these concepts/skills, but may
not be confident completing the exercises.
🐔: These concepts or skills are not necessary but are related to this module.
If you are finished with 🥚, 🐣 and 🐥 you can use the 🐔 exercises to push
yourself without getting distracted from the module's main objectives.

🥚 0. Local Development Without Git
Practice the foundational workflows of software development by learning to write
Markdown locally on your own computer using Visual Studio Code (VSCode), the
Command Line Interface (CLI), and NPM scripts to automate your code's quality
(formatting, linting and spell checking).

[x] 🥚 Folder Structures: You can explain how files and folders are stored
in your computer and can find, open or create files in your computer
without using the Command Line Interface.
🥚 Command Line Interface (CLI): In a Unix shell you can ...

[x] open a new terminal window
[x] navigate up and down directories using cd
[x] list the contents of a directory using ls
[x] view the contents of a file using cat
[x] create new files using touch
[ ] create new folders using mkdir

[x] 🥚 Markdown: You can write a document in Markdown with no syntax
mistakes that renders into a well-formatted document.
🥚 VSCode: You can complete these workflows in VScode, and can use
keyboard shortcuts to complete them all:

[x] Opening a repository in a new window
[x] Opening the VSCode terminal
[x] Adding a new file
[x] Adding a new folder
[x] Deleting a file
[x] Deleting a folder
[x] Previewing a Markdown File
[x] Formatting a Markdown document

[x] 🥚 READMEs: You can write a README file that describes the project you
are working on, why it's helpful, and how someone can use it.
🥚 NPM: You can use NPM commands to verify your code's quality, this
includes ...

[x] using npm install to install a project's dependencies
[x] reading a package.json file to find which scripts are available for
the project
[x] use npm run <script> to execute an npm script

🥚 Formatting Code: You can use Prettier to make sure all the code in your
project is well-formatted:

[x] You can use the Prettier VSCode extension to format a document while you
are writing it
[x] You can use npm run format to format all of the documents in your
project
[x] You can use npm run format:check to make sure all files are
well-formatted

🥚 Linting Folder and File Names: You can ...

[x] use npm run lint:ls to check all folder and file names in your project
[x] you can fix all linting mistakes reported by npm run lint:ls

🥚 Linting Code: You can ...

[x] use npm run lint:md to check all Markdown files in your folder for
linting mistakes
[ ] you can fix all linting mistakes reported by npm run lint:md

🥚 Spell Check: You can ...

[x] use the Code Spell Checker VSCode extension to correct spelling mistakes
in your Markdown documents while you are writing
[x] use npm run spell-check to check the spelling in all the files of your
project
[x] update .cspell.json to add words that should be allowed in your
project

🥚 File and Folder Naming Conventions: You can ...

[x] identify and follow the naming conventions for the project you are
working on.
[x] use npm run lint:ls to check that all files and folders follow the
project's naming conventions.
[x] you can correct any file and folder names to make them match the project
conventions.

[ ] 🐣 File Extensions: You can identify all of the languages covered at
HYF and give the correct file extension. You don't need to know the
languages, just recognize them.
[ ] 🐣 Touch Typing: You can write a Markdown file without looking at your
keyboard to find any letters, numbers or special characters. (slowly is
ok!)

🥚 1. Local Development With Git
Practice using Git to save and organize your development process. You will learn
how you can use Git to go back to previous versions of your project, and to work
on different changes in parallel.

🥚 Git: Using the CLI you can ...

[x] Initialize a new git repository with git init
[x] stage changes using git add <path>
[x] check what is staged with git status
[x] commit changes using git commit -m <message>
[x] display your repository's git history using git log
[x] create a new branch using git branch <branch-name>
[x] check out a branch using git checkout <branch-name>
[x] create a new branch and check it out using
git checkout -b <branch-name>
[x] merge changes from one branch to another using git merge <branch-name>
[x] return to a previous version of your project with git log and
git checkout <commit-hash>
[ ] stash and retrieve uncommitted changes with git stash and git pop

🥚 .gitignore: You can use a .gitignore file to describe which files
you don't want included in your git history.
🥚 VSCode: You can ...

[x] use the Git Graph extension to to visualize your repo's commit history
[x] use the Git Lens extension to investigate your repository's commit
history
[x] explain how the file tree in VSCode can show you which files have
uncommitted changes

[ ] 🥚 Atomic Commits: You can save your development progress using small
commits with clear and helpful message.
[ ] 🐣 Feature Branches: You can organize your development process using
branches. You can create a new branch for each part of your project and
merge those changes to main when they are finished.

🥚 1. Local/Remote Development
Learn how you can connect your local Git repositories with a GitHub repository
to add more structure to your development process and to share your projects.

🥚 Licenses: You can ...

[ ] explain why it's important to include a license for your code on GitHub
[ ] choose a license for your projects that matches how you want others to
use your code

[x] 🥚 GitHub SSH Key: You can connect your computer to your GitHub
account using an SSH key, clone using the SSH link, and push/pull using
your SSH connection.
🥚 GitHub Repositories: You can ...

[x] create new repository on GitHub
[x] write a description for your repository
[x] turn on GitHub Pages
[x] configure your repository to block pushing to main
[x] configure your repository to block merging to main until Continuous
Integration (CI) checks have passed

🥚 Git Remote/Local Connection: You can ...

[ ] clone a remote repository to your computer
[ ] initialize a new repository locally and connect it to an empty remote
repository
[ ] push and pull changes between remote & local branches

[x] 🥚 Pull Requests: You can create a pull request between two branches
in your repository and merge changes without causing any conflicts.
[x] 🥚 PR templates: You can use a PR template to add a checklist to all
of your PRs so you are sure the code is great before merging to main.
[x] 🥚 Continuous Integration: You can use GitHub Actions to check your
code's quality before merging a pull request to the main branch.
[x] 🐣 Local/Remote Branching Workflow: You can use a branching workflow
that keeps mistakes away from the main branch and prevents conflicts
from happening in GitHub. For each contribution to the project you can ...

Check out a new local branch and write your code
Check out main on your local machine
Pull changes from remote main to local main
Merge changes locally from main to your new branch

Fix any conflicts on your new branch before pushing!

Format and lint your code
Push your new local branch to your remote repository
Open a Pull Request from the new branch to main

Go through the PR's checklist to make sure everything is correct
Make sure all CI checks pass!

Merge your new remote branch to main

You can delete the branch after it's merged if you want to

🐣 3. Remote Collaboration
Learn how to collaborate with a group on a single project hosted in a GitHub
repository. Practice using GitHub's project management features to organize your
group's tasks and to double-check your project's code quality.

[x] 🥚 Contributor Guidelines: Your group can define contributor
guidelines that describes how everyone can add their work to the project.
[x] 🥚 Code of Conduct: Your group can write a code of conduct for your
project that describes how everyone should communicate and what behavior
is considered unproductive.
[x] 🥚 Repository Contributors: You can add group members as collaborators
in a repository.
[x] 🥚 Issue Templates: Your group can use issue templates to make sure
all issues are complete and relevant to the project. in your repository
and merge changes without causing any conflicts.
[x] 🥚 Code Review: You can use the PR Template and CI checks to review
another group member's code before merging it to main.
🐣 GitHub Project Management: You can ...

[x] use issues to define tasks in a group project. Each issue should have a
helpful title, complete description, and helpful labels.
[x] use a Project Board to organize a project's issues
[x] claim issues and track your progress with the project board
[x] link a PR to your claimed issue
[x] assign someone to review your PR
[x] use GitHub code review features to discuss your code with your reviewer

[x] 🐣 Fixing Merge Conflicts: You can fix merge conflicts by selecting
which change to keep, or deciding how to combine them. If a conflict
occurs in a GitHub PR you can pull both branches and fixh the conflict
locally.

🐥 4. Open Source Development
Explore the wider world of Open Source software by learning how communities of
independent developers write and maintain the code we all rely on.

[x] 🥚 Finding Issues: You can read through an open source project's
issues and determine if there is one you can help with.
[x] 🐣 Commenting in Issues: You can productively join the conversation in
an open source projects' issues.
[x] 🐥 Opening Issues: You can open a helpful issue in an open source
repository, following their contributor guidelines and code of conduct.
[x] 🐔 Contributing: You can create a fork of an open source project and
open a PR that contributes something helpful and follows the Contributor
Guidelines and Code of Conduct.

TOP

Study Tips

expand/collapse

Don't rush, understand! Programming is hard.

The examples and exercises will still be there to study later.
It's better to fail tests slowly and learn from your mistakes than to pass
tests quickly and not understand why.

Don't skip the examples! Understanding and experimenting with working code is
a very effective way to learn programming.
Write lots of comments in the examples and exercises. The code in this
repository is yours to study, modify and re-use in projects.
Practice
Pair Programming:
two people, one computer.
Take a look through the
Learning From Code
guide for more study tips

Study Board
Creating a project board on your GitHub account for tracking your study at HYF
can help you keep track of everything you're learning. You can create the board
at this link: https://github.com/your_user_name?tab=projects.
These 4 columns may be helpful:

todo: material you have not studied yet
studying: material you are currently studying
to review: material you want to review again in the future
learned: material you know well enough that you could help your classmates
learn it

TOP

Setting Up

You will need
NPM
installed on your computer to study this material

Clone this repository:

using SSH:
git clone --depth 1 git@github.com:HackYourFutureBelgium/workflows.git

navigate to the cloned repository

cd workflows

Install dependencies:

npm install

It's highly recommended that you use either Linux or Mac. If you have a
Windows computer you can either dual-boot your computer or install a virtual
machine.

TOP

Code Quality Scripts

expand/collapse

This repository comes with some scripts to check the quality of this code. You
can run these scripts to check the code provided by HYF, and to check the code
you write when experiment with the examples and complete the exercises.
npm run format
This script will format all of the code in this repository making sure that all
the indentations are correct, the code is easy to read, and letting you know if
there are any syntax errors.
npm run format:check
Checks the formatting of all files in the repository and throws an error if any
files are not well-formatted.
npm run spell-check
This script will check all of the files in your repository for spelling
mistakes. Spelling is not just a detail, is important! Good spelling helps
others read and understand your programs with less effort.
spell-check is not so clever though, it doesn't have all possible words in
it's dictionary and it won't know if you wanted to spell a word incorrectly.
If you think one of it's "Unknown word"s is not a problem, you can either ignore
the suggestion or add the word to the "words": [ ... ], list in
.cspell.json.
npm run lint:md
This script will lint all
the Markdown files in this repository, checking for syntax mistakes and other
bad practices. Fixing linting errors will help you learn to write better code by
pointing out your mistakes before they cause problems in your program.
Some linting errors will take some practice to understand and fix, but it will
be a good use of time.
npm run lint:ls
This script will lint the
names of all files and folders in the project to check that they follow the
project naming convention
(kebab-case).

TOP

Week 2
I Need Help With:

I am confused with  what all assignments/ tasks to be completed in a week. Consolidating the tasks of the week in one place/ template would help me. If such template already exist kindly suggest.
navigation between repositories; hackyourfuture,lab-brussels-1 is quite challenging.

What went well?

Followed workflow instructions which was simple to understand and execute.
Mentors explanation helped in clearing doubts and fixing the errors.

What went less well?

As mentioned took long time what all tasks supposed to be worked on. However could get the better result.

Lessons Learned

cloning repos to local machine
familiar with terminal commands - both Unix and VS code terminals.
git Commands.
creating issues and changing the status of issues accordingly.

Sunday Prep Work
-I will go through the study materials.

@MadhuMNG for each module, you have to create 2 issues, one for check-ins (to keep track of your study progress) and one for deliverables (to submit homework)
now we are on week-1 of the Workflows module, for instance. so please change the title of the issue and the label as well to reflect this.

@MadhuMNG happy to hear that you understand git commands!
for each module, you have to create 2 issues, one for check-ins (to keep track of your study progress) and one for deliverables (to submit homework)
now we are on week-1 of the Workflows module, for instance. I have now changed the title of the issue and the label as well to reflect this.

Thanks Danial

@MadhuMNG you already added a week-2 label, but I do not see the check-in comment yet for this week. are you working on it now?

Workflow - Week2
I Need Help With:

I am getting familiar with commands and the workflow.
Would need help in new installations.

What went well?

Created the issue
started working as per the README.md file
Pulled the most recent code from master
created a new branch and did modification in branch
I have added my bio file.
Initially I had  difficulties in using right commands, now I have a good hold on commands.
Lot of practices in VS code

What went less well?

PR was not reflecting even after a successful push to remote repo, hence I tried a couple more times and ended up with multiple branches. Realised that the network was down hence PR wasn't reflected immediately. To wait for sometime is a good approach.
Naming convention created lot of confusion.

Lessons Learned

Understood  whats the task for the week and proceeded towards the execution.
Tried to fix team member's issue and helping them brought me more confidence on subject knowledge.
adding photo/image in remote repos.

Sunday Prep Work

I have started reading document- Planning and collaboration.
Getting to know about html.

@MadhuMNG very happy to see that you gained a lot of confidence this week and could also help others. Can you say what naming convention caused confusion for you? You mean kebab-case vs camelCase? Yes, GitHub was down today, that usually does not happen..do not worry about it. What installations do you need help with?

Thanks Daniel.

Particularly naming the branch file. Which one should be used, Github username or any  nam is fine?
I was getting few errors while running npm install -g eslint' .  When I used the command Sudo and gave password then if I run  npm install -g eslint , there were no errors. Bernardo helped me with installations.

1 There is no one good way to name branches, it is really up for discussion within each team. Also, there are many different branching strategies, the two most popular are Git Flow and GitHub Flow. You can look them up.
2 the -g option means that that package will be installed globally, on your entire operating system, not just one repo. In order to do this, you need to have admin privileges on your machine. sudo invokes this and asks for your password.

@MadhuMNG, you also won't need ESLint until we reach JavaScript.  For now the MarkdownLint that comes with the project repository is enough since you're only writing Markdown.  There's already a script in the package.json for linting the project:

npm install - install the dependencies in your package.json, you only need to do this once
npm run lint:md - run this each time you want to lint the project.

Thanks  @danielhalasz  @colevandersWands


Ordering added for consistency

Proposed changes
Ordering added for consistency when trying to paginate. Fixes #208
Types of changes
What types of changes does your code introduce to the project: Put
an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)

Checklist
Put an x in the boxes that apply. You can also fill these out after
creating the PR. If you're unsure about any of them, don't hesitate to
ask. We're here to help! This is simply a reminder of what we are going
to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have signed the Contributor License Agreement
[x] I have updated the RELEASE NOTES
[x] I have added tests that prove my fix is effective or that my
feature works
[x] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in
downstream modules

@c0c0n3 Actually yes, it would be good to order those as well. Pushing a quick fix.

Nevermind, trying to order those causes problems. Reverting the changes, we are not touching the middleware in this request.


Pixeles conversion Adw y varios de FB, + tests.

Codecov Report

Merging #7 into master will decrease coverage by 0.88%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
- Coverage   93.22%   92.33%   -0.89%
==========================================
  Files           5        6       +1
  Lines         236      261      +25
==========================================
+ Hits          220      241      +21
- Misses         16       20       +4

Impacted Files
Coverage Δ

src/service/pixel.service.js
84% <83.33%> (ø)

Continue to review full report at Codecov.

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


undefined local variable or method 'foo'; Did you mean 'foo'?

Hi,
I saw this tweet: https://twitter.com/garybernhardt/status/807041495563837440
It seems that if a method or variable is defined conditionally and the program has not entered the conditional, the formatter may still recommend the same method or variable name.
Reproduction:
def fun
  if true
    puts(x)
  else x = 1
  end
end
fun()

Output:
test.rb:3:in `fun': undefined local variable or method `x' for main:Object (NameError)
Did you mean?  x
       from test.rb:7:in `<main>'

Maybe we can add a flag if the method/variable called is the same as the recommendation, we output a separate warning.
Let me know what you think. With some guidance, I would love to contribute a patch.

I believe this issue has been fixed. Could you try upgrading to 1.0.2?

Looks like it was! Thanks.


How to run multiple instances of the WireGuard server?

Basically I want to create different VPN's each with it is own subnet and clients.

I have managed to do that, I see that the configuration basically allows for that. Would be great if the script would allow doing something like this:
wireguard-install.sh [server-name]
And take care for assigning correct firewall rules and users for the different server configs. It is not that complicated I see. Some modifications to the script are needed.
Great work, thank you. As for my needs, I have already managed to make some multiple server setup but still some work on the automation of the script to adjust to the different server configurations.

I am sorry, but I have no plans to implement this into the installer.


Custom Library/Resources selector

In the same way that we have bases variables with the alternative to adding extra variables, the main idea is to create something to handle the libraries and resources that are used in the site (JS or/and CSS), to not have the need to set all enabled on the site by default or commenting them.
For example something like:
$mainResourcesCSS = array(
			'jquery-ui' => array('css/jquery-ui.min.css',
						'css/jquery-ui.structure.min.css',
						'css/jquery-ui.theme.min.css'),
			'datatables' => array('css/dataTables.bootstrap.min.css'),
			);

$mainResourcesJS = array(
			'jquery-ui' => array('js/jquery-ui.min.js'),
			'datatables' => array('js/jquery.dataTables.min.js'),
			);

I will no longer support this idea to no break the structure in standalone projects.


Output to Zotero

Recommendation 29. COPIM should test the ODS with Zotero and liaise regarding any unforeseen issues.

Potentially solved by #104


fromNow() wrong if relativeTimeThreshold gets changed?

Take a look at this fiddle
I would expect the third output "1 minutes ago" to be "a minute ago" instead.
Is this a bug? Should/can I fix it?

The problem is in this line. I'm currently working on a PR.

A PR would be welcome

Close in favor of #2635.


clairfy github token example

For clarity: just so no one thinks we accidently put a secret in here

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


Revert "[Improvement-15910][UI] Supposed to provide a default value for the custom parallelism when using the mode of parallel execution."

Reverts apache/dolphinscheduler#15912
Revert due to the argument is still unresolved.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 39.65%.  Consider uploading reports for the commit 92f9352 to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##                dev   #15930      +/-   ##
============================================
- Coverage     39.72%   39.65%   -0.08%
+ Complexity     5034     5012      -22
============================================
  Files          1349     1349
  Lines         45615    45577      -38
  Branches       4891     4866      -25
============================================
- Hits          18122    18075      -47
- Misses        25578    25587       +9
  Partials       1915     1915

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Due to this is not a serious problem, I closed the revert PR.
Maybe we need to draft a doc, which case should be reverted.


IDX10503 Exception with Secret Issued from Partner Center for Store Listed Application (SharePoint Provider hosted addin)  - Client Secret is no longer base64 string

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
SharePoint Add-ins
Developer environment
Windows
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[X] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details
No response
Describe the bug / error
I have a Store listed SharePoint Add-in that was created few years ago, and need to update the secret. Our old Client Secret expired before we noticed. Yesterday in the morning we created a new client secret and removed old ones from the Partner Portal. New client secret that we get from the Partner Portal is no longer a base64 string and when we replaced ClientSecret in our web.config, we got the following error:
System.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.
In order to avoid this issue, we encoded the client secret to base64 string and now we get the following error:
Microsoft.IdentityModel.Tokens.SecurityTokenInvalidSignatureException: 'IDX10503: Signature validation failed. Keys tried: '[PII is hidden]'.
It's already been more than 24 hours since we created new Client Secret, so we believe it should already propagate correctly.
Is the basic encoding to base64 a wrong choice, or what could be a reason for our application not to validate a token properly?
I have also checked the new client secret using Connect-PnPOnline via powershell and without any additional encoding the secret works.
Thanks in advance - as this is about our live application, I would appreciate any help.
Steps to reproduce

Locate a SharePoint Store listed, provider hosted add-in, created several years ago.
Create a new Secret in Partner Center
Update the application with the new secret.

Expected behavior
The expected behaviour is for the JWT token to pass validation correctly.

We have also noticed that related App Registration in Portal Azure is missing valid Certificate:

Old certificates were added automatically when we created new Client Secret in Partners Portal.
At the same time, new client secret created in Partners Portal was automatically added in our App Registration in portal azure.

Any ideas? Should we manually create a new certificate?

@RafalUrbanski : Can you please open a ticket with Partner Center for this? Did you associate your Add-In with a tenant?

@jansenbe We opened tickets everywhere we could, also with Partner Center, hoping anybody had a same issue. Partner Center need 1-2 business to validate, we are still waiting for a response.
We associated Microsoft Entra Tenant with Microsoft Partner Center (acording to this article https://learn.microsoft.com/en-us/partner-center/account-settings/multi-tenant-account#add-a-microsoft-entra-tenant-to-your-account )

@RafalUrbanski : great to hear you got the issue resolved and thanks for sharing the write-up, sharing is caring 💖


When searching for a pro player name, for example: Dendi, show the pro player first on the search list

This requires a backend change: https://github.com/odota/core/issues/1183

fixed in #575


counterparty-server shows duplicate data

All output shown in counterparty-server is duplicated:
example:[INFO] Running v1.0.0 of counterparty-server.
[INFO] Loading configuration file: /home/counterparty/.config/counterparty-server/counterparty-server.conf
[INFO] Running v9.49.3 of counterparty-lib.
[INFO] Running v9.49.3 of counterparty-lib.
[INFO] Acquiring lock.
[INFO] Acquiring lock.
[INFO] Connecting to database.
[INFO] Connecting to database.
[INFO] Connecting to backend.
[INFO] Connecting to backend.
[INFO] Starting API Server.
[INFO] Starting API Server.
[INFO] Resuming parsing.
[INFO] Resuming parsing.
[INFO] Block: 281146 (0.35s)
[INFO] Block: 281146 (0.35s)
[INFO] Issuance: 1LMPuuw781iW3NJz2GYAjqg1m14s5zQ4Yy created<PHONE_NUMBER>854775807 of indivisible asset CRUDEOIL (2c43ac1fec79f7dec7218e6606e24fd9ad6116d3083cb6f4dc0297c238072a3d) [valid]
[INFO] Issuance: 1LMPuuw781iW3NJz2GYAjqg1m14s5zQ4Yy created<PHONE_NUMBER>854775807 of indivisible asset CRUDEOIL (2c43ac1fec79f7dec7218e6606e24fd9ad6116d3083cb6f4dc0297c238072a3d) [valid]
[INFO] Block: 281147 (0.67s)
[INFO] Block: 281147 (0.67s)
[INFO] Block: 281148 (1.16s)
[INFO] Block: 281148 (1.16s)

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Fixed already: https://github.com/CounterpartyXCP/counterparty-cli/commit/35b57630cb6641e55e906b274d212a44949c870f


Solr documentation

Hi @lmakarov
There is no documentation about Apache Solr and how to integrate it with Drude, but container is exists in compose.yml file: https://github.com/blinkreaction/drude/blob/develop/docker-compose.yml#L94-L104

See #107

Landed in develop
https://github.com/blinkreaction/drude/blob/develop/docs/apache-solr.md


Multiple instances of CKEditor created only in production

Version
3.1.4 (Only happens in production)
Reproduction link
https://jsfiddle.net/efpraz51/
Click the "Load Parameters" button once and it loads CKEditor fine, then clicking it again and it loads two instances. Further clicks correctly only loads the one instance. If you switch the version of Vue to the development version then it correctly only loads one instance of CKEditor when you click the button.
This issue is something I've been struggling to pinpoint but I've managed to track it down to the example above. I'm struggling to understand if this is an issue with CKEditor or Vue, however this only happens during the development version of Vue so I have posted the issue here.

Please, next time consider using the forum, the Discord server or StackOverflow for questions first. But feel free to come back and open an issue if it turns out to be a bug 🙂
Remember to follow https://new-issue.vuejs.org/?repo=vuejs/vue#why-repro when reporting bugs


[Snyk] Security upgrade golang from 1.9 to 1.24rc1

Snyk has created this PR to fix 3 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

awstesting/sandbox/Dockerfile.test.go1.9

We recommend upgrading to golang:1.24rc1, as this image has only 78 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Arbitrary Argument Injection SNYK-DEBIAN9-GIT-340821
  554

Arbitrary Argument Injection SNYK-DEBIAN9-GIT-340821
  554

Integer Overflow or Wraparound SNYK-DEBIAN9-SQLITE3-307593
  505

Out-of-Bounds SNYK-DEBIAN9-GLIBC-356506
  343

Out-of-Bounds SNYK-DEBIAN9-GLIBC-356506
  343

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)
:white_check_mark: license/snyk check is complete. No issues have been found. (View Details)


Added Russian tags for dungeons BWD, BOT2, and TOFW

Ty for the contribution. Ill get these merged and try to release them on a beta along with some other internal rework being done.


Research on usage of google::s2

We plan to experience to use google::s2 to build spatial index for charge stations.  For more context, please go to: https://github.com/Telenav/osrm-backend/issues/231
The target we want to achieve is:

For given charge stations, we pre-calculate all charge stations in certain route distance(such as 600km), the result should be sorted based on distance

The first step should be build spatial index for all charge station points
For given charge station position, could retrieve all nearby charge stations based on great circle distance
Calculate route distance between given charge station and all reachable charge stations, sort result by distance.

My notes about Google S2

Google S2 general: https://github.com/CodeBear801/tech_summary/blob/master/tech-summary/navigation/spatial_index/google_s2.md
Google S2 basic types: https://github.com/CodeBear801/tech_summary/blob/master/tech-summary/navigation/spatial_index/google_s2_basic_types.md
Google S2 Cell definition: https://github.com/CodeBear801/tech_summary/blob/master/tech-summary/navigation/spatial_index/google_s2_cell.md

Draft logic:

Loading charge station data(stationid : string, location: lat, lon)
Construct S2PointIndex for charge stations

  S2PointIndex<int> index;
  for (int i = 0; i < num_index_points; ++i)
  {
    index.Add(station_point, i);
  }

Dump result to file(Encode?), so next time could build this quicker(optional)
For each charge station point

// Create a query to search within the given radius of a target point.
S2ClosestPointQuery<int> query(&index);
query.mutable_options()->set_max_distance(
      S1Angle::Radians(S2Earth::KmToRadians(FLAGS_query_radius_km)));  // 600km
for (int i = 0; i < num_index_points; ++i)
{
    S2ClosestPointQuery<int>::PointTarget target(station_point);
    result = query.FindClosestPoints(&target)
    dump_result_2_json
}

Implementation of S2ClosestPointQueryBase

template <class Distance, class Data>
inline std::vector<typename S2ClosestPointQueryBase<Distance, Data>::Result>
S2ClosestPointQueryBase<Distance, Data>::FindClosestPoints(
    Target* target, const Options& options) {
  std::vector<Result> results;
  FindClosestPoints(target, options, &results);
  return results;
}

The go version didn't implement FindClosestPoints, so my plan is using C++ for part of work:

Stage 1, C++, finding nearest charge stations for each charge station in great circle distance.  Result record in json format?

The code still put into integration, it will use compiling env of osrm docker and also put dependencies there such as google/s2geometry, create separate cmake file for this one.

Stage 2, Go, take stage 1's output as input, using OSRM to calculate shortest path distance between each charge station-> other charge stations, sort them based on distance and dump result to json

The reason to use g

Write logic to load this file and generate a hash map, which could answer queries like:

Before start C++ version, will investigate whether could make it work all use GO code.
Could be:

First build ShapeIndex for each station points
Second, iterate all cell id cover each station point, build reverse index map, like <cellid, all charge stations> // need confirm
Third, check how to answer <circle, cellids> query

The go version didn't implement FindClosestPoints, so my plan is using C++ for part of work:

Stage 1, C++, finding nearest charge stations for each charge station in great circle distance.  Result record in json format?

The code still put into integration, it will use compiling env of osrm docker and also put dependencies there such as google/s2geometry, create separate cmake file for this one.
Why not GO: It implements about 40% of all C++ features: https://github.com/golang/geo, not including PointIndex and ClosestPointQuery

Stage 2, Go, take stage 1's output as input, using OSRM to calculate shortest path distance between each charge station-> other charge stations, sort them based on distance and dump result to json

The reason to use go is due to I already implement a wrapper for OSRM

Write logic to load this file and generate a hash map, which could answer queries like:

give one point, retrieve nearby stations
give one station, retrieve all reachable stations based on some filter(distance_of_avoid_distance, max_distance_could_reach)

If new C++ binary is necessary, I'll suggest to use integration/cpp as its root folder, i.e. put its C++/cmake codes in. The dependency can be installed into osrm-backend-dev if necessary. The build process can be added in dockefile of osrm-backend as a separate step.

The go version didn't implement FindClosestPoints, so my plan is using C++ for part of work:

Stage 1, C++, finding nearest charge stations for each charge station in great circle distance.  Result record in json format?

The code still put into integration, it will use compiling env of osrm docker and also put dependencies there such as google/s2geometry, create separate cmake file for this one.
Why not GO: It implements about 40% of all C++ features: https://github.com/golang/geo, not including PointIndex and ClosestPointQuery

Stage 2, Go, take stage 1's output as input, using OSRM to calculate shortest path distance between each charge station-> other charge stations, sort them based on distance and dump result to json

The reason to use go is due to I already implement a wrapper for OSRM

Write logic to load this file and generate a hash map, which could answer queries like:

give one point, retrieve nearby stations
give one station, retrieve all reachable stations based on some filter(distance_of_avoid_distance, max_distance_could_reach)

If new C++ binary is necessary, I'll suggest to use integration/cpp as its root folder, i.e. put its C++/cmake codes in. The dependency can be installed into osrm-backend-dev if necessary. The build process can be added in dockefile of osrm-backend as a separate step.

Agree.  Thanks for the suggestion.

Play with https://github.com/google/s2geometry
openssl
brew install open ssl

// go to the folder you want to build
cmake -DOPENSSL_ROOT_DIR=/usr/local/Cellar/openssl/1.0.2s -DOPENSSL_LIBRARIES=/usr/local/Cellar/openssl/1.0.2s/lib ..
make

Experiment on S2 Unit Tests
Center is Great America Pkwy, radius as 1600 meters

Center is Great America Pkwy, radius as 500km


Fine-tune microdnf commands used while building images

Same as https://github.com/RedHatInsights/notifications-backend/pull/2928.

/konflux


code release

hi, thanks for your great work, is there a schedule to release the codes. Looking forward to your reply, thanks! @fangli333

hi, thanks for your great work, is there a schedule to release the codes. Looking forward to your reply, thanks! @fangli333

Hi,
Thank you for your interest in our work. As our paper is still in submission, the release of our code will depend on our paper's reviews and decisions. We will inform you once we release the official code. Thank you.


Use array for SetShape

Issue #, if available:
We decided to use Array for SetShape in internal discussions for similar reasons to why Objects are used instead of Map:

new Set needs to be created by calling new Set(), just like new Map()
setObj.has(value) is similar to objMap.get(key)

Smithy specification for Set https://awslabs.github.io/smithy/spec/core.html#set
Not all languages support set data structures with non-scalar values. Such languages SHOULD represent sets as a custom set data structure that can interpret value hash codes and equality. Alternatively, clients MAY store the values of a set data structure in a list and rely on the service to ensure uniqueness.

Description of changes:
Use array for SetShape
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

CodeGen PR: https://github.com/aws/aws-sdk-js-v3/pull/1144

Removed instanceof Set check in https://github.com/awslabs/smithy-typescript/pull/172/commits/e9894d603d76035f7f8ee5fa09ab29c281a4640b


nixos/tests/chromium: Print the content of chrome://{sandbox,gpu}

Motivation for this change
$ nix-build nixos/tests/chromium.nix -A stable -A ungoogled -A chrome-stable -A chrome-beta -A chrome-dev
/nix/store/binyv1h0ys3nwwdc1w6cv6w8ihxzqqwq-vm-test-run-chromium-stable
/nix/store/6yvn486fcjpj05qfsil0ra2wljl1bax6-vm-test-run-chromium-ungoogled
/nix/store/8bmf7adkcinqh7f8v4f6wrbdb4xy5ypy-vm-test-run-chromium-chrome-stable
/nix/store/cmqcxsrghfmn356b8s8vmzcr8gkd8ra1-vm-test-run-chromium-chrome-beta
/nix/store/s1f89lx5v0j6qqysaqxl9q9z7k634cyg-vm-test-run-chromium-chrome-dev

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

@ofborg test chromium


[Feature Request] Draw the circular shape, the radius can be drawn according to the specified value increase or decrease.

Draw a round shape with a radius of 1500 meters. When you drag, you cannot accurately reach the execution radius. If the value of the value is set to 100, then it will become very easy.

Hey, I'm sorry I'm not sure I totally understand what is being asked here. I think you're asking that you want resizing to allow for changes in specific geodesic measured increments i.e. you want to create/resize in increments of say 100 meters? In honesty this would be quite complex and I think is probably outside the core scope.
I think you could definitely achieve this using custom modes if that's something you wanted to explore.

Hey, I'm sorry I'm not sure I totally understand what is being asked here. I think you're asking that you want resizing to allow for changes in specific geodesic measured increments i.e. you want to create/resize in increments of say 100 meters? In honesty this would be quite complex and I think is probably outside the core scope.
I think you could definitely achieve this using custom modes if that's something you wanted to explore.

Thank you very much

This really depends on your specific requirements, but if you only want to allow changing of a circle within two specific sizes, you could do that with something like this based on area:
new TerraDrawSelectMode({
    flags: {
    polygon: {
        feature: {
            validation: (feature) => {
                return ValidateMinAreaSquareMeters(feature, 1000000) && ValidateMaxAreaSquareMeters(feature, 2000000)
            }
        }
    }
})

If you wanted diameter, you could adjust the function to calculate the circle diameter to ensure it was in between two given numbers.
I will close this as my belief is it can be achieved using the validation function and some custom logic which can be provided by the developer.


Revert govuk puppet locks stuff

Pushing this into Integration caused problems, so I'm rolling back because I think it needs better testing and I don't want it to block deployments of Puppet for a functionality that we can easily live without.

:+1:

I think this is working fine so would be happy to push to Staging/Prod with this stuff reverted.


story US785459 [next] Validate @zowe/cli@next installation works on z/OS USS and zLinux

Please review:
https://github.com/zowe/docs-site/blob/jabauman-USS-zLinux/docs/user-guide/cli-install-cli-next.md
https://github.com/zowe/docs-site/blob/jabauman-USS-zLinux/docs/user-guide/cli-using-daemon-mode.md
https://github.com/zowe/docs-site/blob/jabauman-USS-zLinux/docs/user-guide/cli-configure-daemon-on-zlinux-os.md
https://github.com/zowe/docs-site/blob/jabauman-USS-zLinux/docs/user-guide/cli-configure-scs-on-zlinux-os.md
https://github.com/zowe/docs-site/blob/jabauman-USS-zLinux/docs/user-guide/cli-configure-os-where-scs-unavailable.md
thx,
Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.

[ ] If the changes in this PR is part of the next future release, make this pull request against the docs-staging branch which will be published at the next release boundary. If the changes in this PR are part of the current release, use the default base branch, master. For more information about branches, see https://github.com/zowe/docs-site/tree/master#understanding-the-doc-branches.

[ ] If this PR relates to GitHub issues in docs-site or other repositories, please list in Description, prefixed with close, fix or resolve keywords.

Description (including links to related git issues)
Please describe your pull request.
:heart:Thank you!

@MikeBauerCA   pending your review.
FYI that we added three articles to the doc site;  They are highlighted below

thx

note the following URL change (changed topic title)
From
https://github.com/zowe/docs-site/blob/jabauman-USS-zLinux/docs/user-guide/cli-configure-os-where-scs-unavailable.md
To
https://github.com/zowe/docs-site/blob/jabauman-USS-zLinux/docs/user-guide/cli-configure-cli-on-os-where-scs-unavailable.md

Signed-off-by: JamesBauman<EMAIL_ADDRESS>


New App Repository Request - googlecloudcompute

Name of the app
googlecloudcompute
Integration
Google Cloud Compute Engine Service
About
This application will integration with Google Cloud's Compute Engine REST API service to perform various actions such as listing compute instances.
The initial set of actions for this app will be:

test_connectivity
list_vm_instances

Thank you for contributing to Splunk SOAR!

The repo https://github.com/splunk-soar-connectors/googlecloudcompute has been created.


500 error in sending requests

Summary
500 error in sending requests
Simplest Example to Reproduce
request
    .get('https://tools.cisco.com/security/center/publicationService.x?criteria=exact&cves=&keyword=&last_published_date=&limit=20&offset=0&publicationTypeIDs=1,3&securityImpactRatings=critical,high&sort=-day_sir&title=',
        {
            'User-Agent':'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0',
            'Accept-Language':'zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2'
        })
    .on('response', function(response) {
        console.log(response.statusCode); // 200
        console.log(response.headers['content-type']); // 'image/png'
    });

Expected Behavior
no
Current Behavior
no
Possible Solution
no idea
Context
when i visited the site "https://tools.cisco.com/security/center/publicationService.x?criteria=exact&cves=&keyword=&last_published_date=&limit=20&offset=0&publicationTypeIDs=1,3&securityImpactRatings=critical,high&sort=-day_sir&title="
I would get 500 statusCode in return
But  i changed the coding language into python3, i found it's ok
import requests r = requests.get("https://tools.cisco.com/security/center/publicationService.x?criteria=exact&cves=&keyword=&last_published_date=&limit=20&offset=0&publicationTypeIDs=1,3&securityImpactRatings=critical,high&sort=-day_sir&title=") print(r.text)
/usr/local/bin/python3.7 /Users/xx/x/x/x/lib/modules/test.py [{"identifier":"cisco-sa-20191112-asa-ftd-lua-rce","title":"Cisco Adaptive Security Appliance Software and Firepower Threat Defense Software Remote Code Execution Vulnerability","version":"2.5","firstPublished":"2019-11-12T13:15:00.000+0000","lastPublished":"20. ... .. ..
Your Environment
node v13.2.0
mac OS

real got no idea

really got no idea..

Your not setting the headers the correct way, read about it at https://github.com/request/request#custom-http-headers


define TRAINING_FEATURES should be removed

The code is full of TRAINING_FEATURES ifdefs. It must be default that during a compilation you want the training features.
However, when the training is done and the neural network will only be used for predictions, it may be natural to have a PREDICTION_ONLY define. I think that leads to something like find and replace:
:bufdo % s/#ifdef TRAINING_FEATURES/#ifndef PREDICTION_ONLY/g | update

That might be a bit brutal, I may be a bit more careful. :-)

Done in 4f885ae. I've not tested the PREDICTION_ONLY define. Closing


rename psycopg2 to psycopg2-binary

Proposed changes
Renamed psycopg2 library to psycopg2-binary. It causes a warning.
You can see detailed official announcement here:
http://initd.org/psycopg/articles/2018/02/08/psycopg-274-released/

Deploy preview for docsdocker ready!
Built with commit 9031360ae77681cd8e12e0eae25f2ffdb8ed66af
https://deploy-preview-7349--docsdocker.netlify.com

This needs review and merge.


HuggingFace 2.5.1 Peer Dependencies Conflict

Seeing the following error with latest hugging face version 2.5.1.
#0 37.39 npm ERR! code ERESOLVE
#0 37.41 npm ERR! ERESOLVE could not resolve
#0 37.41 npm ERR!
#0 37.41 npm ERR! While resolving<EMAIL_ADDRESS>#0 37.41 npm ERR! Found<EMAIL_ADDRESS>#0 37.41 npm ERR! node_modules/@huggingface/inference
#0 37.41 npm ERR<EMAIL_ADDRESS>from the root project
#0 37.41 npm ERR!
#0 37.41 npm ERR! Could not resolve dependency:
#0 37.41 npm ERR! peerOptional<EMAIL_ADDRESS>from<EMAIL_ADDRESS>#0 37.41 npm ERR! node_modules/langchain
#0 37.41 npm ERR<EMAIL_ADDRESS>from the root project
#0 37.41 npm ERR!
#0 37.41 npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>#0 37.41 npm ERR! node_modules/@huggingface/inference
#0 37.41 npm ERR!   peerOptional<EMAIL_ADDRESS>from<EMAIL_ADDRESS>#0 37.41 npm ERR!   node_modules/langchain
#0 37.41 npm ERR<EMAIL_ADDRESS>from the root project
#0 37.41 npm ERR!
#0 37.41 npm ERR! Fix the upstream dependency conflict, or retry
#0 37.41 npm ERR! this command with --force or --legacy-peer-deps
#0 37.41 npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
#0 37.42 npm ERR!
#0 37.42 npm ERR!
#0 37.42 npm ERR! For a full report see:
#0 37.42 npm ERR! /root/.npm/_logs/2023-06-15T10_12_01_331Z-eresolve-report.txt

@hwchase17 any update?

upgrade the packages?


added a new rebus

Associated Issue: #
Summary of Changes

change 1
change 2

Pull Request Test Coverage Report for Build 740

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.143%

Totals

Change from base Build 514:
0.0%

Covered Lines:
158

Relevant Lines:
180

💛  - Coveralls


Describe the bug
The current version has a bug. I ran the essential tweaks and the result was that my W11 didn't shut down or restart anymore. I used the restore point to undo the changes and it worked fine again. I am willing to help you debug it. Just let me know what logs you want.
To Reproduce
Steps to reproduce the behavior:
Run Essential tweaks.
Expected behavior
Screenshots
Additional context
Add any other context about the problem here.

Issue still isn't fixed. Just tried again.

I am not the only one. This comes from your frontpage:
Unknown
7 days ago
I've always been a big fan of your scripts but the older one from july 2021 was much better, this one just makes me pc take too long to restart or even to shutdown
fara
12 days ago
esential tweak make restart stuck so i dont use esensial tweak now, iam use win10 21h1
J
26 days ago
I am on windows 11 and once i ran essential tweak i get infinite waiting restart. I have to manually hit the reset button on the pc.

Same here just ran the essential tweaks and now it takes forever to restart or even boot the system. It takes almost 10 minutes to start when it took only 30 sec before running this.


Check infrastructure capacity

Find out how long it takes for 3TB of data to fit into system.  Can the infrastructure handle it?  Can the network handle it?

this is for whole pipeline, needs to be evaluated against Roger, Nebula/ADS, campus cluster
how long does it take from AZ, how long does it take within NCSA?
what is rate of data loss during transfer? Where / how much / how long to cache locally at AZ?
use of Larry Smar's off-the shelf streaming system / West Coast pipeline?

to be assigned to Dan Lapine

Are we doing based on real world measurements or starting with theoretical estimates using the known pathways? For real world tests, I'll need access to the resources at AZ

@dlapine the goal is to make real-world measurements. I've sent an email to our collaborators at AZ to request access.

Start with theroretical
They have I2.  100 GB - unsure if they will use this entire bandwith for this project.
Local equipment is more important

It will take ~1 hour to move 3TB

One hour is a good estimate to the first order of magnitude. Speeds to Nebula or ICC may be slower. Speeds at the Az endpoint may be slower

We will have a meeting Dec 4 with AZ team

PerfSonar tests between UA and NCSA show up to 6Gbps of bandwidth between the two sites. Testing with MAC will have to wait until 1Gbps fiber is in place, ETA mid January 2016.  The 1Gbps link will be the bottleneck.  If we can saturate it, a 5TB data transfer will take approximate 12.5 hours.

Some testing has been completed.  We can not test to MAC until line is in but testing for UA is done.

Performance seems to be within expectations, transfers at this point are running at 80%+ network capacity with minimal tuning.  Closing issue.


Error: viewer certificate conflicts

Hey @squidfunk!
Description
Im getting an error back that im not sure how to debug. After i run $ terraform plan -out the.plan i get these two errors:
Error: module.cognito-auth.module.web.aws_cloudfront_distribution._: "viewer_certificate.0.acm_certificate_arn": conflicts with viewer_certificate.0.cloudfront_default_certificate

Error: module.cognito-auth.module.web.aws_cloudfront_distribution._: "viewer_certificate.0.cloudfront_default_certificate": conflicts with viewer_certificate.0.acm_certificate_arn

my terraform code:
module "cognito-auth" {
    source  = "git@github.com:squidfunk/terraform-aws-cognito-auth.git"
    version = "0.3.4"

    # Required
    namespace                      = "myapp.mydomain.com"
    region                         = "${data.terraform_remote_state.region.name}"
    cognito_identity_pool_name     = "myapp mydomain com"
    cognito_identity_pool_provider = "login.mydomain.com"
    api_stage                      = "development"

    # Optional: Default UI
    app_hosted_zone_id             = "${data.terraform_remote_state.provider.my_zone_id}"
    app_certificate_arn            = "${data.terraform_remote_state.region.us_east_2_myapp_cert_arn}"
    app_domain                     = "login.mydomain.com"
    app_origin                     = "admin.mydomain.com"

    # Optional: Email delivery
    ses_sender_address             =<EMAIL_ADDRESS>}

Expected behavior
Should create necessary resources to use this module
Actual behavior
returns 2 errors.
Steps to reproduce the bug

add module to my providers region
Configure files and folders
run $ terraform plan -out the.plan

Package versions

terraform-aws-cognito-auth: 0.3.4
terraform: 0.11.8

System information

OS: 10.14

Hmm, strange, never encountered this problem. Does this also happen with the latest Terraform version? 0.11.8 seems pretty old. I will try to reproduce it, when I find the time.

Thank you @squidfunk
I tried this module with the latest terraform version .12.1 and noticed it was not compatible with the language changes used in version .12
I upgraded to the latest .11.14 and got the same error:
$ terraform -v
Terraform v0.11.14
+ provider.aws v2.0.0
+ provider.external v1.1.2
+ provider.null v2.1.2
+ provider.template v2.1.2

Your version of Terraform is out of date! The latest version
is 0.12.1. You can update by downloading from www.terraform.io/downloads.html
$ terraform plan -out the.plan

Error: module.cognito-auth.module.web.aws_cloudfront_distribution._: "viewer_certificate.0.acm_certificate_arn": conflicts with viewer_certificate.0.cloudfront_default_certificate

Error: module.cognito-auth.module.web.aws_cloudfront_distribution._: "viewer_certificate.0.cloudfront_default_certificate": conflicts with viewer_certificate.0.acm_certificate_arn

Okay, thanks for testing. I will try to upgrade the module to be compatible with Terraform 0.12.
Regarding your problem: did you create your certificate in us-east-1? CloudFront demands that certificates are created in this region, otherwise it will not accept the certificate, see this link.

Okay, so I took the chance to directly upgrade to the latest Terraform version. The code is currently on the fix/upgrade-terraform branch. Here is what I did:
– Destroyed the current demo deployment with terraform destroy
– Upgraded to Terraform 0.12
– Made all necessary changes so it's compatible with Terraform 0.12
– Deployed everything again with terraform apply
I haven't encountered the problem you described, so either it's gone now, or (what's more likely) it's an issue with your certificate, as described in my last comment. I will shortly issue a new release to ensure compatibility with Terraform 0.12.

Closing for housekeeping. If the issue persists, and you manage to provide a reproducible scenario, feel free to re-open.


Add tutorial for Workflow APIs

This patch adds a basic tutorial for Workflow APIs how to use them, how
to define them and some best practises for them.
Signed-off-by: Vinzenz Feenstra<EMAIL_ADDRESS>

And I am still missing explanation what the workflow API is and what is the purpose of it. I can read it, but from the point of users, it's not so lear why they should be interested about the workflow APIs. As well, it's mentioned only in tutorial but it should be mentioned on more places. If there is no time for that now, create please issue so we will not froget about that.

oh crap. I didn't want to create merge commit.

@vinzenz pls rebase


SvgDocument Background color not rendered properly

Expected:
Background color renders White (#FFFFFF) as per the SVG specifications.

When an SVG document is a top-level document, meaning it is not embedded in another document, the root ‘svg’ element is considered to be the page group and is composited with a backdrop of white with 100% opacity.
From https://www.w3.org/TR/SVG2/render.html#ParentCompositing

Actual:
Background renders transparent.

I have tried several attempts to get a white background. Is there something I am missing from the API? Here is my current solution that gets me the white background as I expect, however, this feels like it should be part of the Draw method to comply with the SVG spec.
var bitmap = new Bitmap(
        (int)self.ViewBox.Width,
        (int)self.ViewBox.Height,
        PixelFormat.Format32bppArgb);

using (var g = Graphics.FromImage(bitmap))
{
    g.FillRegion(Brushes.White, new Region(new Rectangle(0, 0, bitmap.Width, bitmap.Height)));
}

self.Draw(bitmap);

return bitmap;

Is there a description in SVG1.1 about background color ?


Example of using two 74hc595 to control a matrix of LEDs

I'm trying to use this to control a matrix of LEDs by hooking the positive as rows to one SR and then the negatives as columns to another SR.  I'm having them share the same rclk and srclk pins and just using different ser pins (simplifying by not having oe or srclr at least for now).
I'm following the left half of this wiring diagram for reference.
It would be nice if there was an example of how to use this for two different SR sharing the same clocks but different latches.  No amount of fiddling seems to get them to actually work as expected.

I'd also add that I'm using the bitbang implementation since I'm a bit confused by how to use SPI with the Seeed XIAO-RP2040

You only need 1x 74HC595 to drive a 8x8 led matrix.
eg. https://medium.com/arduino-playground/using-a-74hc595-to-control-a-led-matrix-84559feee7cd
You could use 2x 74HC595s, one driving the high side and one driving the low side, and chain them to share the same clock.
You may notice LED brightness issues when you try to drive an entire row/column, with 1 resistor shared between 1-8 LEDs.
I'd recommend using a MAX7219 instead. It's also chainable, driven by SPI and has brightness control.

I'm going to end up with a 6x6 matrix of LEDs and 6x6 matrix of buttons so I think that the 2x 74CH595 is the best overall use case for me.  What I'm not sure about is the procedure for using two of them.  Like if I had a 2x2 matrix do I set b0000_0001 for the high side and b0000_0001 for the low side to enable the first row and column?  Is there a specific order to sending the bits and latching to make it work properly.


[bug]:  I can't move with the arrows to choose the options

Is there an existing issue for this?

[X] I have searched the existing issues.

CLI Version
0.2.4
Firebase Tools version
11.8.0
Flutter Doctor Output
**[✓] Flutter (Channel stable, 3.3.0, on macOS 12.4 21F79 darwin-x64, locale es-419)
• Flutter version 3.3.0 on channel stable at /Users/exedemaio/Development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ffccd96b62 (6 days ago), 2022-08-29 17:28:57 -0700
• Engine revision 5e9e0e0aa8
• Dart version 2.18.0
• DevTools version 2.15.0
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/exedemaio/Library/Android/sdk
• Platform android-31, build-tools 30.0.2
• ANDROID_HOME = /Users/exedemaio/Library/Android/sdk
• Java binary at: /Users/exedemaio/Library/Application
Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/211.7628.21.2111.8193401/Android
Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 13F100
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
[✓] Android Studio (version 2021.1)
• Android Studio at /Users/exedemaio/Library/Application
Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/211.7628.21.2111.8193401/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
[✓] Android Studio (version 2020.3)
• Android Studio at /Users/exedemaio/Library/Application
Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7784292/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
[✓] VS Code (version 1.70.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.46.0
[✓] Connected device (2 available)
• macOS (desktop) • macos  • darwin-x64     • macOS 12.4 21F79 darwin-x64
• Chrome (web)    • chrome • web-javascript • Google Chrome 104.0.5112.101
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!**
Description
I can't move with the arrows to choose the options. The selection with the space bar works but I can only choose the first option since I cannot move to others.
Steps to reproduce

Run flutterfire configure
I can't move

Expected behavior
When I run the command I want to be able to move around and choose the available options
Screenshots
No response
Additional context and comments
No response

Same Here!  If I use the spacebar it just adds an extra line but wont move to the next step.

I have a similar issue - can't move (but also can't select the first option (and CPU constantly at 55-56% while only it and my normal background processes running)

If you have a long list of projects, the underlying Dart CLI tool we use isn't very good at handling it. A workaround for now is to specify the project with the argument --project=YOUR_PROJECT_ID.

If you have a long list of projects, the underlying Dart CLI tool we use isn't very good at handling it. A workaround for now is to specify the project with the argument --project=YOUR_PROJECT_ID.

This solved my issue in VS Code Terminal (the issue of not being able to move continued with gitbash in not being able to choose the platforms - did not try others).

Closing out as specifying the project is a solution, the underlying Dart CLI tool we use has a problem with long lists unfortunately.


Add exclude pattern to combining annotations

Add option to exclude files with a specific pattern from the combination operation

Codecov Report
Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (aa2fca4) 29.81% compared to head (dc323a9) 29.37%.

:exclamation: Current head dc323a9 differs from pull request most recent head ac906bd. Consider uploading reports for the commit ac906bd to get more accurate results

Files
Patch %
Lines

...bboxes_labelling/combine_and_format_annotations.py
0.00%
6 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #77      +/-   ##
==========================================
- Coverage   29.81%   29.37%   -0.45%
==========================================
  Files           6        6
  Lines         332      337       +5
==========================================
  Hits           99       99
- Misses        233      238       +5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

thanks @samcunliffe for having a look!
Re the fake jsons test, I reproduced exactly your commands and I got: ValueError: Error decoding JSON data from file: test_fake_jsons/bad-1.json - which makes sense since there is nothing in the json file right? We are also expecting json files in the VIA format.
If you are wondering why the list_input_json_files includes the "bad" ones, I would still expect that because the filtering occurs when you combine them (rather than when you read the CLI arguments).
This test in which we copy a sample annotation file should work:
mkdir test_fake_jsons
for i in {1..10}; do cp tests/data/COCO_VIA_JSONS/VIA_JSON_1.json test_fake_jsons/good-$i.json; done
for i in {1..10}; do cp tests/data/COCO_VIA_JSONS/VIA_JSON_1.json test_fake_jsons/bad-$i.json; done
combine-annotations test_fake_jsons --exclude-pattern "bad-*.json"

If you are wondering why the list_input_json_files includes the "bad" ones, I would still expect that because the filtering occurs when you combine them (rather than when you read the CLI arguments).

Ah right. I assumed you'd filter the files before you opened them.

Ah right. I assumed you'd filter the files before you opened them.

@samcunliffe I do, the error message just shows what you passed as a CLI argument right?

Ah right. I assumed you'd filter the files before you opened them.

@samcunliffe I do, the error message just shows what you passed as a CLI argument right?

Ahhh sorry. I'm being slow. So the error is thrown after filtering, before opening the files ✅. But the fact that it threw an error at all makes typer dump the CLI arguments for your information.

Confirmed that it works with toy Jsons containing actual content. 👍


Use of sys.exit in import

In the generated code, it uses sys.exit(1) if the smbus import cannot be found.
https://github.com/google/cyanobyte/blob/bc904d9166cff4397476dd3efd32b848897cf62c/test/sampleData/Mcp4725.py#L26
Is this a bit harsh? If the code is written this way, then it does not allow the end user to deal with the exception themselves.

Right now there's a tight coupling to smbus, and without the dependency I'm not sure how the end user will deal with it.

I'm imaging the use case where there is an optional peripheral in a user's program. If the import fails, they disable the functionality in their application.

Should I remove the try and just let the exception be thrown in the higher-level code?

Yea

It's my experience that sys.exit(1) can also break test fixtures and Python auto-doc generation which is why I've been broadly moving away from it in our libraries.
The error/hard exit approach was a hand-holding technique used in libraries written to serve very inexperienced users.
There's no particular reason to tightly couple smbus either, since a drop-in-replacement library smbus2 exists which can be used in its place. It may be preferable to accept a bus as a constructor argument, and fall back to import smbus where None is supplied.

At what layer should the library selection be implemented? In the long-term, the peripheral files themselves will be expected to output to Python, C, and other platforms/languages. I wouldn't want to tie that into the peripheral, but you could imagine having two mostly identical templates raspberrypi.py and raspberrypi_smbus2.py that have different imports.


Updates github actions

I'm not sure if this will work because I don't know how to test. But I saw a lot of older actions.
I did not update dependencies such as python, dotnet, or go version.

In the last commit I updated the toolchain version to latest LTS.

Thank you for the contribution @mjvankampen. We have some automation around our CI workflows which this repo hasn't been onboarded to yet, hence while things are so outdated and broken. After https://github.com/pulumi/pulumi-kubernetes-cert-manager/pull/38 we should see releases start working again.

Closing in favor of https://github.com/pulumi/pulumi-kubernetes-cert-manager/pull/38


"Concurrent modification" on ListQueue in 6.6.3

Platform:

[ ]  Dart
[X]  Flutter Android or iOS
[ ]  Flutter Web

IDE:

[ ]  VSCode
[X]  IntelliJ/AS
[ ]  XCode
[ ]  Other, which one?

split-debug-info and obfuscate (Flutter Android or iOS) or CanvasKit (Flutter Web):

[ ]  Enabled
[X]  Disabled

Platform installed with:

[X] pub.dev
[ ] GitHub

Output of the command flutter doctor -v below:
[✓] Flutter (Channel stable, 3.0.4, on macOS 12.4 21F79 darwin-x64, locale pl-PL)
    • Flutter version 3.0.4 at /Users/tomasznoinski/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 85684f9300 (11 days ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tomasznoinski/Library/Android/sdk/
    • Platform android-31, build-tools 30.0.2
    • ANDROID_SDK_ROOT = /Users/tomasznoinski/Library/Android/sdk/
    • Java binary at: /Library/Java/JavaVirtualMachines/temurin-8.jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (Temurin)(build 1.8.0_332-b09)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] IntelliJ IDEA Community Edition (version 2022.1.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 69.0.4
    • Dart plugin version 221.5921.27

[✓] VS Code (version 1.61.2)
    • VS Code at /Users/tomasznoinski/Downloads/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] VS Code (version 1.61.2)
    • VS Code at /Users/tomasznoinski/Downloads/Visual Studio Code 2.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • Pixel 4a (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 12 (API 32)
    • macOS (desktop)   • macos               • darwin-x64     • macOS 12.4 21F79 darwin-x64
    • Chrome (web)      • chrome              • web-javascript • Google Chrome 103.0.5060.114

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

The version of the SDK (See pubspec.lock):
6.6.3

I have the following issue:
When I upgrade from 6.6.1 to 6.6.3 my app starts throwing the following exception while attempting to report exceptions to Sentry:
I/flutter (20758): #1      ListQueue._checkModification (dart:collection/queue.dart:864:7)
I/flutter (20758): #2      _ListQueueIterator.moveNext (dart:collection/queue.dart:971:12)
I/flutter (20758): #3      Scope.clone (package:sentry/src/scope.dart:401:30)
I/flutter (20758): #4      _CustomZone.registerBinaryCallback (dart:async/zone.dart:1364:19)
I/flutter (20758): #5      _asyncErrorWrapperHelper (dart:async-patch/async_patch.dart:64:8)
I/flutter (20758): #6      Sentry.captureMessage (package:sentry/src/sentry.dart:170:12)
(...)

This is my code calling captureMessage directly (i.e. frame #7):
    Sentry.captureMessage(
      message,
      withScope: (scope) {
        scope.setContexts(_scopeContextKey, data);

        if (fingerprint != null) {
          scope.fingerprint = [fingerprint];
        }
      },
      level: level.toSentryLevel(),
    );

To be clear: this is NOT happening in 6.6.1, that version works fine.
Steps to reproduce:
I don't know how hard it is to reproduce, my app is closed source; but I didn't try hard to trigger the bug, it's there every time.

@noinskit thanks, we'll look into it.

I grepped my whole codebase and we're using: captureMessage(), captureEvent(), captureException(), configureScope() and addBreadcrumb(). But I'm not sure which of these get called in this specific scenario which triggers the problem. I'm not explicitly synchronizing any of these, we assumed that they're all async-race-conditions-safe.
We're spawning isolates, but we're only calling Sentry methods from the main isolate.


Fix file open

Ah, I didn't see the .bat files sneaked in. I fixed it on master directly! :+1: We can close this I suppose. :-) Thanks again!


Added three flat top

This design solves the problem of similarity of Cyrillic ZE and three.

Looks great Pavel!  Thanks for contributing this!  Do you want to let users know in https://github.com/source-foundry/Hack/issues/422 or shall I post it?  Merging.

Done :)


Use d3 for stack bar chart

Also:

Update getColorFn take the domain list
Remove deprecated functions

demo: https://screenshot.googleplex.com/EOnWvXYhEF3

Looks nice!


NeuSomatic as a tumor-normal variant caller

Have a look at NeuSomatic. It this papers it seems that it outperforms every other method, including the ensemble one using the best known tools out there (Mutect2, Strelka2 etc)
https://www.nature.com/articles/s41467-019-09027-x

Hi Konstantinos,
Thanks-- I'd take the claim that it outperforms the other methods with a huge grain of salt, since they ran the other methods using the default parameters, not sure how that comparison got past reviewers. We're happy to investigate support if there are some more fair metrics showing it is doing better than the other callers, but I think that paper isn't support for it.

Feel free to reopen if you find some better comparisons or run a comparison on your own and show it is doing better. We're always looking to improve, but have to focus our limited resources on things that we have strong evidence for being a better way to go. Thanks again!


Graphs are not bidirectional

Hi,
prot_df_to_graph and mol_df_to_graph result in graphs with connections that go only one way, which is due to the output of scipy's query_pairs. A possible fix would be to use:
edges = torch.cat((edges, edges.flip(dims=(0,))), dim=1)

Hi, thanks for the catch! This should be fixed now.


Swift Basic/Driver recognizes OpenBSD.

Add the platform conditional and set up other basics for the toolchain.
The ConditionalCompilation tests are updated to match, since otherwise
they seem to trip when building on non-OpenBSD platforms.
This is orthogonal to pr #30082, which needs to wait for pending build system changes. This can proceed independently, but can wait if necessary.

I think it would be nice to have a test to ensure that lld is invoked by default for OpenBSD.

Added to Driver/linker.swift, cribbing off existing stanzas, since it was simple enough.

@swift-ci please test

Cool!
⛵


Upgrade to Rust 2018

I'm hoping this can be merged quickly (i.e before it goes stale, and with any and all feedback addressed), as it would enable further changes like exploring the use of the impl Trait (for future and streams).
I'm also interested in know what anyone here thinks about unnesting all the modules (from issues/mod.rs to plain issues.rs)?  Having everything be in mod.rs files makes things like "find usage" painful.

I'm also interested in know what anyone here thinks about unnesting all the modules (from issues/mod.rs to plain issues.rs)? Having everything be in mod.rs files makes things like "find usage" painful.

@softprops might be able to comment on the original reason for this. I agree that having directories with just a single mod.rs is unnecessary.


Add rpz_enable and rpz_disable commands to unbound-control

Thanks for the feature!  It is merged in the code repository.

Thanks for the feature!  It is merged in the code repository.


Cannot publish to Linux

@developervariety Can you provide more details?

Sorry for lack of information. I was in a rush, but yes I can.
I am trying to publish an application to Linux and Windows. With Windows it compiles to native code just fine, but with Linux it throws an exception of cross compilation.
With latest docs, it seems Linux is supported though or am I wrong?

Cross compilation means running the compilation on OS A, targeting OS B. Cross compilation is not supported yet.
To publish for Linux, you need to publish on a Linux machine (you can also use WSL).
It's a point in time issue - we want to support cross compilation eventually.

Thank you for the fast response, I completely understand now. I will look into WSL!


Add documentation infrastructure

Fixes spring-cloud/spring-cloud-task-app-starters#1
Writing the actual README.adoc files is left as an exercise to the reader :)

Assigning this to you @sobychacko, as this is pretty much the same thing as the stream one.

rebased and merged.


[QIR] MultiControlledX for lightning devices.

Expected behavior: MultiControlledX is supported natively in lightning.qubit. We should implement this as well.

Actual behavior: Not implemented.

Dug into the thread again, but apparently MultiControlledX is not a native gate in Lightning. Instead they added general support for control wires, so any existing native operation (such as PauliX) can be executed with additional controls.
So first we need to add support for general control wires, which was started in this PR: #187


Added DisplayAlert Support

Added basic DisplayAlert Support.
The DisplayAlert API in Xamarin.Forms uses the MessagingCenter to communicate with platform code. This is a simple Subscribe and Unsubscribe including adding and removing the element from the Renderer.

Usage
public async void OnButtonPressed(object sender, EventArgs e)
{
    await DisplayAlert("Title", "Some message", "OK");
}

Styles
Following inline with our current UI styles I used Bootstrap styles to build the modal
Current Features

Displays modal using boostrap styles
Title
Message
Cancel Button (typically your OK button)

This means it currently does not support 2 buttons, right now it is just 1 button

X button at the top right corner of the modal
Closing the modal by clicking the cancel button or the x button

Still needs implementing
A list of items that need to be implemented still

When the API is called with both accept and cancel it needs to return true/false depending on what the user clicks

--
This is where I finished up after playing around with it tonight. I wanted to submit the PR so we can have the code and provide any feedback. I plan to finish up this PR with implementing the return value logic.

This is great! I was debating whether to use alert() itself, but this looks to be a better approach.
My biggest comment so far has only to do with code formatting. Please make sure your editor obeys the .editorconfig so that all the reformats in Platform.cs go away.
The code looks good now. If you want to keep this PR open to finish that last feature you mentioned, that's fine. Otherwise I can merge and another PR can finish it. Let me know what you prefer.
Try to get a commit in that fixes the formatting if you can. Thanks!

I was thinking the exact same thing of using alert vs bootstrap but since we are using bootstrap all over the place I thought it would be a good place to start. Granted if the bootstrap stylesheet is not referenced this will not work. Perhaps we should add some custom styles to make sure this always works. Unless we are saying Ooui.Forms is going to be dependent on bootstrap.
Code Formatting

I have no idea how the code formatting code like this, I'll take care of it and update the PR

Additional Changes

Add support for accept/cancel bool return values
Clean up modal code and move it into it's own class so it is easier to manage

** Build failing**

Is my current PR okay as far as a build goes?
I notice the bitrise build is failing but can't see the output

For now I'm OK to take a dependency on bootstrap. I kept wavering, but I think it's the smart way to go.
In the future, it would be nice to integrate other UI libraries (semantic and material come to mind) - but we'll tackle that when we need it.

@praeclarum regarding the formatting issue: there is an issue with the Platform.cs and it's line endings there is a mismatch of LF and CRLF. It would be best to normalize the line endings, how would you like this done?

That was a mild nightmare to fix but I got the line endings all cleaned up in the Platform.cs class. Now I'll work on the rest of my changes

@praeclarum I would say the PR is ready to merge into master. I added a code file comment regarding an issue with multiple DisplayAlert's rendering at the same time and a solution I tried that didn't work.
Let me know if you need me to do more work on this

Looks great, thanks again for your hard work!


import error

Hello, the fire introduced in your main function has not been found where, could you please provide it?
if name == 'main':
import fire
fire.Fire()

You make sure you can import tensorboradX?
You can run python in your terminal and try to import tensorboardX to see if it works.


Add Kafka channel example

Current behavior:
Currently, we have only HTTP channel based examples
Expected behavior:
Add Kafka channel based example, describing how Kafka topic & message are mapped to Tuple type & Tuple data.

I don't understand this enhancement request. Flogo Rules should support any Flogo trigger. Why are we suggesting to implement the exact the same thing implemented already in flogo core?

@mellistibco It's my bad. I didn't mean to add same Kafka trigger here instead add an example for kafka channel and update rules/action input parameters (for mapping, only if required). Let me update the issue title/description accordingly.

i think we need to clean up terminology also. we need to keep things consistent. A channel is basically the same thing as a trigger, can we work on cleaning up terminology both in code and in documentation? I can't think of any reason to have multiple overlapping terms. Flogo has standardized on triggers and we should stick with that as a way to define/describe an input source into an action.

@mellistibco agreed, updating the issue terminology accordingly.
Don't want to dilute the original objective of this issue. Can we take up fixing any terminology deviations as a different issue?

@rameshpolishetti yes, let's create a different issue to capture and track the larger task of fixing terminology, etc.


✨[feature Request]: Broken Navigation Links in Navbar (Adding page for option MORE)

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Broken Navigation Links in Navbar
Description:
Clicking on the "More" option in the navigation bar doesn't lead to any content, resulting in a broken or incomplete user experience.
Suggested Solution:
Adding contents like

Blog/Articles
Testimonials
FAQs

Use Case

Blog/Articles:
Provides valuable content about vintage collections, keeping users engaged with historical insights, trends, and tips.

Testimonials:
Builds trust and credibility by showcasing positive customer experiences and reviews.

FAQs:
Helps address common questions, improving user experience by providing quick answers about shipping, authenticity, and more.

Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24EXTD contributor
[X] I have starred the repository

@divyalakshmi0 go ahead


Adding XeTLA FA implementation for all variants mentioned in the FA paper

More shapes support.
More causal support.
Backward support.

Item 1 & 2: PR under review.
Item 3: TBD.


Documentation on Teleportation for Quantum Circuit Mapping

The current documentation doesn't include any information on the teleportation feature for the heuristic mapper.
I suggest introducing a subsection regarding this topic in the Heuristic Mapper section in Mapping.rst.

@hillmich could you please take care of this once #114 is merged?

Just pinging here, so it does not get lost. Would be great to have a separate section in the documentation for this. Could also be a separate Jupyter notebook that shows some very simple examples and how teleportation can be used.


Added typecheck for the registry tags

Small changes to add type check for registry tags to check if registry_tags is a valid Dict[str, str] parameter.
the registry tags are in a dictionary format like this:
{"description":"this is a test feature"},so valid dictionary parameter.
and if the user does something like this
{"description", "this is a test feature"}, it'll also validate it.

@hangfei Thanks for reviewing. While I am trying to run the tests I am facing some issues during the installation of feathr module on my system. Here is the issue I have mentioned https://stackoverflow.com/questions/72316535/confluent-kafka-install-error-error-legacy-install-failure

@hangfei could you please also elaborate briefly about adding test dicts? Do I need to add any test files for this? I am still so new in this case so adding some links to reference docs might help me figure that out.


fix: add compatible tbl_flatten

Add compatible tbl_flatten to fix #360.
This is similar to the implementation in nvim-lspconfig.

Thanks for the PR!


error message after WIN 10 Update

The following Error message appears when startin cewe2pdf from the commandline on December 14th:
"Error:
An assembly specified in the application dependencies manifest (Cewe2pdf.deps.json) was not found:
package: 'Microsoft.Win32.SystemEvents', version 4.7.0'
path: 'runtimes/win/lib/netcoreapp2.0/Micorosoft.Win32.SystemEvents.dll'"
OS ist WIN 10-64. After the Microsoft update from 2021-12-18 it runs with  Microsoft.Net Core Runtime 3.1.22(X64) and Microsoft.Net Core SDK 3.1.416. Before this Update I used cewe2pdf last time in the beginning of November without any problems.

Hi, thanks for reaching out!
Not quite sure why this happens, on my machine everything still works.
Are you running the latest Cewe2pdf 0.3.0-alpha version?
I am currently on NET 6.0, maybe try upgrading your net core by downloading the latest version from microsoft?
https://dotnet.microsoft.com/en-us/download/dotnet/6.0/runtime
I think the 'run console apps' download should be enough.
Hope this helps, otherwise let me know and i'll look further into this :)


Cancel lowercase namings

In our workflows, we often set inputs and variables of clients/backupsets/subclients etc.
However we have a naming convention and it would be better if the naming of the entity would be as wanted when creating it through the .add() method.
Unfortunately, cvpysdk currently lowers the backupset values.
For example here:
https://github.com/Commvault/cvpysdk/blob/master/cvpysdk/backupset.py#L481
Also, the add() method for clientgroups.py lowers the client names with the _valid_clients() method:
https://github.com/Commvault/cvpysdk/blob/0e5e97c7d66e41782ea24f8215bcc17679c264d1/cvpysdk/clientgroup.py#L281
It is also the same for getting a clientgroup:
https://github.com/Commvault/cvpysdk/blob/0e5e97c7d66e41782ea24f8215bcc17679c264d1/cvpysdk/clientgroup.py#L765
This makes us use the commvault api directly for these cases through cvpysdk.request()
Would it be possible to cancel that or would there be too potential side-effects?

Hi @kevin-menon-EDF,
It might be regressive to cancel lowercase for names. Using lowercase everywhere makes it easier for us to support case-insensitive names.
But for such scenarios, we have added display_name for the client and a few other entities. Can you please check if you can use those?
https://github.com/Commvault/cvpysdk/blob/master/cvpysdk/client.py#L3718
https://github.com/Commvault/cvpysdk/blob/master/cvpysdk/clientgroup.py#L1215
Thanks,
Sachin


Version 5 redux dev tools support?

Hi,
We are deciding which version of router-redux to use for the upcoming project. We've set up router 4 with redux-router 5 beta6 and it works great, but any changes in dev-tools have no effect whatsoever. We can see the LOCATION_CHANGE actions being dispatched, but changing them in dev tools does nothing.
Can you please advise if you will support dev tools any time soon, or if we shall go with the previous version of redux-router?
Thank you!

This is always the case. The actions are swallowed by the middleware. If you change the order of your middleware and devtools application, you should be able to see them.

Hey Tim!
Thanks for your suggestion, but it's still a bit unclear - do you maybe have a working example somewhere? We follow the readme on beta6 version and it is still not quite working. Here is how we create our store:
const middleware = routerMiddleware(history);
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__  || compose;
const enhancer = composeEnhancers(applyMiddleware(middleware));
const store = createStore(rootReducer, defaultState, enhancer);
export default store;

P.S. Sorry, i know it's not the place for support requests and don't want to be annoying, but we really need to get this thing working or roll back to previous version of router.

@timdorr
Also here's another example, this time not using browser extension, but rather installing devtools into the project: https://github.com/jpsierens/webpack-react-redux (swapping devtools/middleware order didn't not help either)


fix: Error: Module did not self-register

I found that if use node-sass, invalid all modules cache will lead to Module build failed: Error: Module did not self-register., so only invalid cache of vue related modules.

Codecov Report

Merging #2361 into dev will not change coverage.
The diff coverage is 100%.

@@         Coverage Diff          @@
##            dev   #2361   +/-   ##
====================================
  Coverage   100%    100%
====================================
  Files        15      15
  Lines       987     987
====================================
  Hits        987     987

Impacted Files
Coverage Δ

lib/builder/builder.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Update WHM ThinAir module for Endwalker

Changed tracking to usage-based instead of time-window based, as Thin Air uses charges now and drops after the first spell. Also added some minor recommendations based on MP saved per Thin Air charge usage.

Did some minor cleanup, will try to get the old syntax fixed now.


rewrite to d1

rewritten calls made by the server
not touched migration

tasky said in the discord that this pr wont do, didnt bother to close it tho


changed library name

this will be the final major change for the library.

Hi, how does this work?
If the file at https://github.com/LiveSplit/LiveSplit.AutoSplitters/blob/master/LiveSplit.AutoSplitters.xml is not changed at the same time to fetch the library by the new file name, is the splitter still going to work in the interim period of time?

Since I'm a collaborator on that repository, I can simply do the change instantly myself! :)


Add overlay split view

Note for reference to myself: The examples here aren't compiling because Passwordrow stems from Adwaita 1.4 and Ubuntu 22.04 works with 1.1 at best.
So excluding from the examples for now is necessary

Nearly half a year later I finally merged one of these :sweat_smile: Nice work on this PR!


Stackweight not working with multiple stacks

Expected behavior
The stackWeight is to control the relative height of the scale. It would be expected that scales positioned to the right have the same relative height as the scales on the left when in the same stack with the same stackWeight.
It would also be expected that scales in two different stacks with the same stackWeight also have the same height.
Current behavior
My use case contains a chart  with scales positioned left and right. On the left side the chart is stacked and on the right side there is a single scale. The scale on the right should be equal height to the first scale on the left. Currently the scale on the right does not respond to the stackWeight .
The height of the scale on the right is always 100% and does not change with stackWeight. This is the case when the stack identifier is the same as on the left or a different identifier is used.
Reproducible sample
https://codepen.io/Engraver0636/pen/ExOQQLG
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
v4.3.0
Browser name and version
Firefox
Link to your project
No response

@nordicgit70 IMO it's working as designed. Currently, the scales are stacked using a key composed by position and stack,
As workaround and if it's addressing your need, you could add another invisible scale on the right position, something like
        y4: {
          display: false,
          stack: '1',
          stackWeight: 1,
          position: 'right',
          offset: true,
        }

Thanks, I have implemented the workaround through a function that dynamically aligns left and right.


Add some useful methods for library and sample.

Add OnItemClickListener and OnItemLongClickListener for ReclyclerView in the sample.
Add setExpandedText for SearchViewlayout.

Can you bring up a use case for setExpandedText?

@sahildave For example, you are searching "Android" but you only input "An". And the search results list has shown "Android" on one item, so you can click the item then a full word can be set on the editText for stuffing.

Ok. I am doing this myself in an app where in I findViewById and then set the text.
This seems a better API.
Merging.

@sahildave Oh, Thanks for merging.


Create eventgrid samples

API change check for azure-monitor-opentelemetry-exporter
API changes are not detected in this pull request for azure-monitor-opentelemetry-exporter


Getting events from Tradfri buttons

I would love to be able to do something when one of my Tradfri buttons was pressed. I can see the switches In my objects list, but they have no actionable properties. Would it be possible to add something like that?

Nope, see previous issues requesting the same. The gateway doesn't give us that info.
https://github.com/AlCalzone/ioBroker.tradfri/issues/446
https://github.com/AlCalzone/ioBroker.tradfri/issues/278

I was afraid of that, but couldn't find it as I was searching in English. Thanks @AlCalzone , for clearing that up.


Adding Submodules in NetBox

Hello;
I just started using NetBox and I have an issue with adding modules.
Actually, I have a Module that has 2 submodules. When I add this module to a device I can't add a daughterboard to the main modules.
How can I add this Module and then add 1 daughterboard to it?
Is that impossible or have I missed something here?

Hello @yousefii this seen like a NetBox question, not about the NBRisk, for that you might get better help in:

NetBox Slack Channel
NetBox Discussions