feat: semantic release automation

WIP

Codecov Report

Merging #294 (005671a) into main (a6cc21d) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #294   +/-   ##
=======================================
  Coverage   86.41%   86.41%
=======================================
  Files          86       86
  Lines        1987     1988    +1
=======================================
+ Hits         1717     1718    +1
  Misses        270      270

Files
Coverage Δ

src/otg/__init__.py
100.00% <100.00%> (ø)


bwa not generating sam file when provided with simulator's output

Hi,
I tried to simulate chr7.fa with 1000 random SNPs with the command
perl simuG.pl -refseq chr7.fa -snp_count 1000 -prefix simulated
Then I tried to generate sam file using bwa. Got following error

Would appreciate if you provide any pointers.
Please note, bwa worked very well with the original chr7.fa
Regards
Mrinal

Hi Mrinal,
Thanks for trying out simuG!
In its current implementation, simuG is for simulating the genome but not the reads, but you can simulate reads using read simulator (e.g. ART for Illumina reads) based on the simulated genome generated by simuG.  You can check the supplementary note of our simuG paper for how to do this.
Please let me know if you have further questions.
Best,
Jia-Xing

Hi Jia-Xing,
Got it.
Thank you so much for your prompt reply.
Regards
Mrinal
From: Jia-Xing Yue<EMAIL_ADDRESS>Sent: Thursday, May 23, 2019 6:06 PM
To: yjx1217/simuG<EMAIL_ADDRESS>Cc: Mrinal Puranik<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [yjx1217/simuG] bwa not generating sam file when provided with simulator's output (#1)
Hi Mrinal,
Thanks for trying out simuG!
In its current implementation, simuG is for simulating the genome but not the reads, but you can simulate reads using read simulator (e.g. ART for Illumina reads) based on the simulated genome generated by simuG. You can check the supplementary notehttps://oup.silverchair-cdn.com/oup/backfile/Content_public/Journal/bioinformatics/PAP/10.1093_bioinformatics_btz424/1/btz424_supplementary_data.pdf?Expires=1558708370&Signature=eDbZ~XgewKxSMTQgIv-KX6~866bMqjmZWzos75HNh~oFBboz8qgKhvWUK11hTy9SxivRoBm3pjJNMFvpGELPpH11mChcjn7w3pkPc3X8~ChcM~1a7tZyXeH1ZImGJV6GVRCQAVId45yJCb7A41mQ3JjC-tZ6fXxdNEq4fiSFZ-lIEdI181r1cD8LMd8cQwVhswCFieDPg9i3Nte015moUXI0D25rsoKRmcQD6hRLJIKWGldWdkHp8b9uDJAKePZpP942qFty3v8fCamcnbN3H05~l1JVrf4UE6uyhcsgwmhIs6LjyCbsr18faXONKNP2p0IIosR4~jLKGtdVeoMpmQ__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA of our simuG paper for how to do this.
Please let me know if you have further questions.
Best,
Jia-Xing
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/yjx1217/simuG/issues/1?email_source=notifications&email_token=AMEMJBIWXNUVU35S4UH7FM3PW2FTPA5CNFSM4HPBLODKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWCCP6A#issuecomment-495200248, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMEMJBJHYZSEUT5COLJX2LTPW2FTPANCNFSM4HPBLODA.
DISCLAIMER
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

 :-)
I am closing this issue now.
Best,
Jia-Xing


Remove console-api CRUD queries from search pages

Signed-off-by: Zack Layne<EMAIL_ADDRESS>Related Issue: https://github.com/open-cluster-management/backlog/issues/17364

/cc @KevinFCormier @jamestalton

/hold

/unhold

/lgtm


Unable to run

Describe the bug
When starting the Linux version with npm run serve. An error in the index.js is thrown
Error Code
/home/bgpalerter/index.js:34
import yargs from 'yargs';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Module._compile (/home/bgpalerter/node_modules/pirates/lib/index.js:99:24)
at Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Object.newLoader [as .js] (/home/bgpalerter/node_modules/pirates/lib/index.js:104:7)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at Object. (/home/bgpalerter/node_modules/@babel/node/lib/_babel-node.js:170:21)
at Module._compile (internal/modules/cjs/loader.js:999:30)
Expected behavior
BGP Alerter should start
Are you using the binary or the source code?
Source Code
Your information
LouD 27257

Hi @telescope40,
Please, be sure that you did "npm install" and that you have a version of node >= 12 (see here).

Hey Massimo,
I reset Git to the pull from the initial 1.28.1 and performed npm intall. I did get the service working once again. Thanks for the quick response !


[BIB-83] - ACL evaluator

Pull Request Test Coverage Report for Build 990604418

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-11.1%) to 88.889%

Totals

Change from base Build 983061879:
-11.1%

Covered Lines:
8

Relevant Lines:
9

💛  - Coveralls

Pull Request Test Coverage Report for Build 990635071
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-11.1%) to 88.889%

Totals

Change from base Build 983061879:
-11.1%

Covered Lines:
8

Relevant Lines:
9

💛  - Coveralls

Pull Request Test Coverage Report for Build 990635071
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-11.1%) to 88.889%

Totals

Change from base Build 983061879:
-11.1%

Covered Lines:
8

Relevant Lines:
9

💛  - Coveralls


No docs for environment variables field in Debug

Need to update the screens at https://github.com/Microsoft/PTVS/wiki/Debugging#debugging-with-a-project and describe the new box (esp. how it relates to global or VS process env vars).

+1
I tried using the field to modify the PATH env variable, or set some random new one (VS2015, PTVS 2.2.40623.00-14.0) and can't get the field to do anything.  Assumption is that either I'm using it wrong or its intended for another purpose?

We've actually had the fix for this sitting in a PR for over a year :( It's updated now: https://github.com/Microsoft/PTVS/wiki/Debugging#command-line-arguments-and-environment-variables

@FrozenKiwi If you're sure you are using the field correctly, please file a new issue with as much detail as you can.


Cant Login to Dashboard

Issue/Feature Description:
Cant login to the Dashbaord UI in localhost. OS: CentOS 9
Why this issue to fixed / feature is needed(give scenarios or use cases):
Cant login with the credentials in the dashboard after running sudo -E env "PATH=$PATH" ansible-playbook site.yml -i local.hosts -vvv --tags dashboard , Soda Dashboard: https://{hostip}:8088
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)
Note did not have any error after running the above command.

Please check if the authchecker docker container is up and running.
use the following command docker ps -a | grep auth.
If the opensds-authchecker docker container is Exited or not running then you will need to reinstall.
If the opensds-authchecker docker container is running then try the next steps.

Open the login screen of the dashboard.
Keep the developer toolbar open (in chrome you can press F12 to open it or right click on the page and click on the inspect toolbar then switch to the network tab)
enter the credentials and then click on login.
check the network toolbar for the v3/identity API call and check the response
Take a screenshot of the same and share it here.

Error: Authcheckers will be installed using keystone,in which I am getting error>
Keystone won't install, getting some error while installation. Am also sharing the error to the keystone (TASK [auth-installer : install keystone with the docker]) after running sudo -E env "PATH=$PATH" ansible-playbook site.yml -i local.hosts --tags keystone

Delfin was installed successfully
Dashboard code was executed successfully
Running on CentOS-9

The dashboard needs the Keystone service for authentication. Without the keystone service you will not be able to login.
could you try reinstalling everything with the -vvv option and paste the output for the Keystone installation step.
sudo -E env "PATH=$PATH" ansible-playbook site.yml -i local.hosts -vvv

Please ensure that the prerequisites to install SODA are met.
https://docs.sodafoundation.io/soda-gettingstarted/installation-using-ansible/
- SODA installation is tested on Ubuntu 18.04& Ubuntu 20.04
- Python 3.6 or above should be installed
- If Ansible, Docker & Go are not installed in the OS, script install_dependencies.sh will install it.
- If Ansible, Docker & Go are installed ensure that the version as listed below.
    - Docker: Latest (Verfied on 20.10.21)
    - Ansible: Latest (Verfied on 5.10.0, Ansible Core 2.13.5)
    - Go: go1.17.9

Dashboard login error


Service UI Selectors

Missed this out from the last PR (oops!)
Added field selectors so it looks nice in UI mode

This is great stuff - thanks @matt-oneill


Assert Rust's version commands

If Rust's installation has succeeded but the tools are not properly,
the execution reaches user-defined phases, which would most likely
fail.
In order to prevent this, we assert that Rust's various --version
commands all pass, so that we can fail the job as early as possible.

See https://travis-ci.community/t/macos-rust-beta-build-failures/803/3 for more information.


Accessibility Audit - Carbon Website: Components - Checkbox

This epic is tied to a larger "release" that is meant to track the progress of the Accessibility Audit for the Carbon Website. We will audit all of the pages of the carbon website based on AVT 1, AVT 2, & AVT3 - which can be found here.

AVT 1: will audit the site against the IBM Accessibility Checker - browser extension

AVT 2: will audit the site against accessible keyboard interactions

AVT 3: will audit the site against screen readers

Legend:

🌶 fully audited - on all three AVT levels

:one: 🔍 AVT 1 audited
:two: 🔍 AVT 2 audited
:three: 🔍 AVT 3 audited

:boom: issues and documentation - on all three AVT levels are complete

:one: 🚨 AVT 1 issues submitted
:two: 🚨 AVT 2 issues submitted
:three: 🚨 AVT 3 issues submitted

:sparkles: tickets are triaged

Current status of this page:

1⃣ 🔍 AVT 1 audited & 🚨 AVT 1 issues submitted

Components - Checkbox:

Usage: 6 violations - no new violations
Style: 3 violations - no new violations
Code: 8 violations - no new violations
Accessibility: 8 violations - no new violations

Closing due to inactivity. Will reopen if/when ready to be worked on again.


Executing code blocks as one entity instead of line by line with Cmd + Enter in Quarto documents

Describe the bug
In R Markdown documents, hitting Cmd + Enter will execute code block in one go.
In Quarto documents, hitting Cmd + Enter will execute the code block line by line - which is cumbersome.
To Reproduce
Steps to reproduce the behavior:

Create a .qmd file with Shift + Cmd + P and then type "Quarto: New Document (qmd)" and hit the respective entry
Type Shift + Cmd + i to enter a new code cell
Type R within the curly braces of the code cell meta information
Type a code block that consists of multiple lines. For example

foo <- function() {
  "hello world"
}

Move the cursor in the first line of the code block and execute with Cmd + Enter. You'll see that it executes "line by line" instead of the entire code block as would be the case for R Markdown documents (file extension .rmd)

Can you fix this issue by yourself? (We appreciate the help)
No. I didn't find any setting that would allow me to change this behavior
(If applicable) Please attach setting.json
{
    "editor.rulers": [80],
    "security.workspace.trust.untrustedFiles": "open",

    // ----- R -----
    // Ensure 'radian' is used instead or 'Rterm'
    // "r.term.mac": "/opt/homebrew/bin/R",
    // "r.term.mac": "~/.pyenv/shims/radian",
    "r.rterm.mac": "/Users/jankothyson/.pyenv/shims/radian", // "/opt/homebrew/bin/R",
    "r.rpath.mac": "/opt/homebrew/bin/R",
    "r.libPaths": [
        "/opt/homebrew/lib/R/4.2/site-library",
        "/opt/homebrew/Cellar/r/4.2.1_4/lib/R/library"
    ],
    // https://github.com/randy3k/radian/issues/170
    "terminal.integrated.env.osx": {
        "R_HOME": "/opt/homebrew/Cellar/r/4.2.1_4/lib/R"
    },
    "files.associations": {
        "*.Rmd": "rmd"
    },
    // Ensures that pressing Ctrl (Command) + Enter will always
    // send to the active terminal rather than trying to create an R terminal if there is none.
    // "r.alwaysUseActiveTerminal": true,
    "r.alwaysUseActiveTerminal": false,
    // Ensures the command chunk can be correctly sent to radian
    "r.bracketedPaste": true,
    // "r.bracketedPaste": false,
    // Enables R session watcher for better interactive functionality
    "r.sessionWatcher": true,
    // Better plotting window experience
    "r.plot.useHttpgd": true,
    "terminal.integrated.inheritEnv": false,
    "quarto.mathjax.theme": "dark",

    // ----- UI -----
    "window.zoomLevel": 2,
    // Empty startup screen
    // "workbench.startupEditor": "none"

    // Color
    "editor.fontFamily": "Menlo, 'DejaVu Sans Mono', Consolas, 'Lucida Console', monospace",
    "workbench.colorTheme": "Hyper Term Black",
    "editor.cursorStyle": "block",
    "editor.minimap.enabled": false,
    "editor.renderLineHighlight": "none",
    "panel.border": "#10c3ff",
    "editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": [
                    "entity.namespace.r"
                ],
                "settings": {
                    "foreground": "#10c3ff"
                }
            },
            {
                "scope": [
                    "editorGroup.border"
                ],
                "settings": {
                    "foreground": "#ff10f0"
                }
            },

            // Functions
            {
                "scope": [
                    "variable.function.r"
                ],
                "settings": {
                    // "foreground": "#ff10f0"
                    "foreground": "#f9458d"
                }
            },
            // Function args
            {
                "scope": [
                    "variable.parameter.r"
                ],
                "settings": {
                    "foreground": "#cbff62"
                }
            },
            // Variables
            {
                "scope": [
                    "variable.other.r"
                ],
                "settings": {
                    // "foreground": "#ffdb10"
                    // "foreground": "#a7ff10"
                    "foreground": "#ff10f0"
                }
            },
            // ::
            {
                "scope": [
                    "keyword.other.r"
                ],
                "settings": {
                    // "foreground": "#ffdb10"
                    "foreground": "#a7ff10"

                }
            },
            {
                "scope": [
                    "string.quoted.double.r"
                ],
                "settings": {
                    "foreground": "#FFFFFF"
                }
            }
        ]
    },
    "workbench.colorCustomizations": {
        "editorRuler.foreground": "#f9a0ef",
        "[Hyper Term Black]": {
            // "editor.selectionBackground": "#75e0fa",
            "editorCursor.foreground": "#ff10f0",
            "editorCursor.background": "#FFFFFF",
            // "sideBar.background": "#347890",
            "editor.tokenColorCustomizations": {
                "textMateRules": [
                    {
                        "scope": [
                            "variable.function.r"
                        ],
                        "settings": {
                            "foreground": "#FFFFFF"
                        }
                    }
                ]
            }
        }
    },
    "workbench.editorAssociations": {
        "*.R": "default"
    },
    "[r]": {
        "editor.defaultFormatter": "Ikuyadeu.r"
    },
    "peacock.favoriteColors": [
        {
            "name": "Angular Red",
            "value": "#dd0531"
        },
        {
            "name": "Azure Blue",
            "value": "#007fff"
        },
        {
            "name": "JavaScript Yellow",
            "value": "#f9e64f"
        },
        {
            "name": "Mandalorian Blue",
            "value": "#1857a4"
        },
        {
            "name": "Node Green",
            "value": "#215732"
        },
        {
            "name": "React Blue",
            "value": "#61dafb"
        },
        {
            "name": "Something Different",
            "value": "#832561"
        },
        {
            "name": "Svelte Orange",
            "value": "#ff3d00"
        },
        {
            "name": "Vue Green",
            "value": "#42b883"
        }
    ],
    "workbench.iconTheme": "vscode-icons",
    "editor.wordWrap": "on",
    "explorer.confirmDelete": false
}

Expected behavior
Execute code blocks as "one entity" instead of line by line
Screenshots

I also recorded a short Loom video that shows the difference between .rmd and .qmd files
Environment (please complete the following information):

OS: macOS
VS Code: 1.72
VS Code extension for R: 2.6.1
R version: 4.2.1
vscode-R version: 2.6.1
VS Code extension for Quarto: 1.53.0

Additional context
/

I think this is a bug of the quarto extension.
See quarto-dev/quarto-vscode#7

If am not mistaken, this was reported and closed in https://github.com/quarto-dev/quarto-vscode/issues/108

I can confirm that this is fixed now with https://github.com/quarto-dev/quarto-vscode/issues/108


LCFS - Approve draft fuel code

Description:
IDIR users with the government analyst, manager or director roles can approve fuel codes within the LCFS portal by clicking on the 'Approve" button when viewing a fuel code with a 'Draft' status. Key elements of this functionality include:

Displaying the 'Approve' button to IDIR users when the fuel code status is in 'Draft' status and the user is viewing the code (on the edit draft fuel code page)
Positioning the 'Approve' button to the right of the 'Save draft code' button below the grid (Please see wireframe for details).
Implementing a confirmation modal window that appears upon clicking the 'Approve' button.
The modal window messaging says "Are you sure you want to approve this fuel code?"
The modal window has a Cancel button to return the user to the 'Edit draft fuel code #' screen.
The modal window has an Approve button.
Clicking on the Approve button in the modal window: displays a material UI success message, returns the user to the main 'Fuel codes' page, highlights the fuel code row for the approved fuel code, and updates the fuel code status to 'Approved'.

Wireframe:
Approve button available:
https://preview.uxpin.com/59145260c7d8cc48969ac79401cc03d84843c3d9#/pages/165712432/simulate/sitemap
Purpose and Benefit to User:
This development will provide a seamless and intuitive interface for IDIR users to approve fuel codes. It enhances the workflow efficiency and ensures that the approval process is transparent and accessible to authorized users.
Acceptance Criteria:

[ ] Given I am an IDIR user, When I click the approve button, then a confirmation model should appear
[ ] clicking the approve button in the modal should display a success message and return the user to the main fuel codes page
[ ] clicking the cancel button should close the modal
[ ] the fuel code on the fuel codes page should now display the fuel code as "approved"

Development Checklist:

[ ] use the 'update fuel code' endpoint to update the status of the fuel code ( endpoint will be created in another ticket )
[ ] model the flow of transfer ( modal, success message, etc )
[ ] use the button cluster as used in the view transfer page ( separate ticket to create a component for the button cluster )

Notes:

Confirmed with business area that government analysts still need ability to approve fuel codes as the actual required approval letter by the director is completed through a different government system called eApprovals.

Before card #437 for approving a draft fuel code can be completed, users must first have the ability to save a draft fuel code (#435 )


Add missing guard keyword in Router docs

Just noticed this small mistake in the Router guide

Thanks for that


move to posix shm

@matt335672 They're still used by the GFX mainline_merge branch. Maybe a comment to merge the two is in order, but I don't want to break mainline_merge just yet, it'll take a bit to integrate with this going forward.

Fine - that sounds very much like it's a 'bad idea' to remove them then!

@jsorg71 - Can we merge this now?
Thanks

Just a note that I'm good with this. It will break mainline_merge but I'm happy to rebase and refactor on top of this. We need this change, and my AVC444 work should not be considered blocking any more.

Yes this will break mainline_merge, I'll help fix that too.

This also needs to go in: https://github.com/jsorg71/xorgxrdp/tree/posix_shm

I think that I got the xorgxrdp part done.  A good reason to leave the sysv share memory part in for a bit is that newer xrdp can work with older xorgxrdp.

This is great, I was working on adding it to mainline_merge today!

I had to do another PR to get everything working. #2786 That plus the PR from xorgxrdp should work.
To get xorgxrdp_helper working, I think we'll need to watch for message 64 and accept the fd and resend it.  First we should get it working in mainline_merge without xorgxrdp_helper.  I think we'll need that for message 63 too.

Cool, I'm happy to try my hand at getting this working. Not quite sure I understand how to do the handoff with xorgxrdp_helper but as you said, that comes later.
Should probably have one of our Friday chats soon. I have a lot of updates about AVC444.


New version: Tencent.UGit version 5.26.1

Created by 🥟 Dumplings in workflow run #10063.

Log
Updated: 5.26.0 → 5.26.1
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
The manifests for the last version 5.26.0 will be removed. Reason: No installer URL is changed compared with the last state while the version is updated
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

@wingetbot run

@wingetbot run

@wingetbot run

This package installs and launches normally in a Windows 10 VM.

This package installs and launches normally in a Windows 10 VM.


CAMEL-8217: Fix typeHints option for camel-xmljson

Fixed camel-core model to set the option on the data format. Changed the
behaviour of YES and WITH_PREFIX to reflect documentation and naming.

Applied the patch into camel master branch and camel-2.14.x and camel-2.13.x branches.

Thanks!


lint using pep8-naming

THIS IS A BREAKING CHANGE
use the pep8-naming flake8 extension to enforce pep8-compliant names.
stacked on #114

marking as a draft until #114 is merged

@danieleades would you like to revisit this? I am wondering if this is still valid, since pep8-naming was already added and didn't raise any issues. Do you know why that could be?

this is not a rebase I feel that I am emotionally equipped for, so I'll probably just close this.
I have no idea why the pep8-naming plugin isn't complaining about the *Exception suffixes, given https://peps.python.org/pep-0008/#exception-names

Because exceptions should be classes, the class naming convention applies here. However, you should use the suffix “Error” on your exception names (if the exception actually is an error).

there's something fishy going on. I'm looking at cleo.exceptions now and I can see there are unused imports in that file that aren't being flagged by the pre-commit hooks


Improve thread pool management to prevent blocking and waiting when using a combination of apoc components that use thread pools

 Issue by bradnussbaum
Wednesday Aug 23, 2017 at 21:48 GMT
Originally opened as https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/562

 Comment by jexp
Wednesday Aug 23, 2017 at 23:37 GMT

Do you have some more details here?
Esp. thread-dumps or other logs that show the blocking.
We've seen some of this in the graph-algos library when a ton of tasks got scheduled, the thread-queue was full and the tasks had to be rescheduled after a short wait.

 Comment by bradnussbaum
Tuesday Aug 29, 2017 at 13:15 GMT

@jexp Just talking to Alex, sounds like you have reached a consensus about what is going to be added. Can you provide an update of what will get in?

 Comment by alex-price
Tuesday Aug 29, 2017 at 13:34 GMT

@jexp Can you clarify that parallel is indeed bugged and deprecated? Or am I misinterpreting this result being incorrect?
with timestamp() as start
call apoc.cypher.parallel('call apoc.util.sleep(1000) return timestamp() as end', { x: range(1, 100) }, 'x') yield value
return collect(value.end - start) as execution_time
[1016, 2023, 3024, 4028, 5030, 6032, 7038, 8044, 9050, 10051, 11053, 12054, 13057, 14062, 15067, 16072, 17073, 18078, 19082, 20085, 21086, 22088, 23091, 24095, 25100, 26104, 27106, 28107, 29108, 30114, 31115, 32119, 33121, 34126, 35129, 36135, 37138, 38144, 39145, 40148, 41154, 42160, 43164, 44170, 45171, 46176, 47179, 48184, 49186, 50191, 51197, 52200, 53204, 54210, 55212, 56215, 57217, 58222, 59223, 60227, 61229, 62233, 63240, 64244, 65250, 66253, 67258, 68261, 69266, 70270, 71275, 72277, 73282, 74286, 75292, 76294, 77298, 78298, 79303, 80309, 81311, 82315, 83320, 84321, 85323, 86329, 87333, 88335, 89338, 90344, 91349, 92351, 93355, 94356, 95361, 96367, 97367, 98369, 99373, 100374]

 Comment by pradeepponduri
Monday Aug 06, 2018 at 13:58 GMT

Is parallel2 depricated in 3.4.4?

 Comment by bradnussbaum
Tuesday Aug 29, 2017 at 15:35 GMT

Looks like parallel and parallel2 have slightly different behavior when it comes to projecting the partition objects. See below:
Working parallel:
with timestamp() as start, range(1, 100) AS range unwind range as num with collect({num:num, start:start}) AS partitions, start with { partitions:partitions , start:start } as params, start call apoc.cypher.parallel('with {partitions} as partition call apoc.util.sleep(100) return timestamp() - partition.start AS execution_time', params, 'partitions') yield value return collect(value.execution_time) as execution_times
Fails with parallel2:
with timestamp() as start, range(1, 100) AS range unwind range as num with collect({num:num, start:start}) AS partitions, start with { partitions:partitions , start:start } as params, start call apoc.cypher.parallel2('with {partitions} as partition call apoc.util.sleep(100) return timestamp() - partition.start AS execution_time', params, 'partitions') yield value return collect(value.execution_time) as execution_times
with exception:

Failed to call procedure apoc.cypher.parallel2(fragment :: STRING?, params :: MAP?, parallelizeOn :: STRING?) :: (value :: MAP?): Error executing in parallel  WITH {start} AS start,{direction} AS direction  UNWIND {partitions} AS partitionswith {partitions} as partition call apoc.util.sleep(100) return timestamp() - partition.start AS execution_time

Working parallel2:
with timestamp() as start, range(1, 100) AS range unwind range as num with collect({num:num, start:start}) AS partitions, start with { partitions:partitions , start:start } as params, start call apoc.cypher.parallel2('with {partitions}[0] as partition call apoc.util.sleep(100) return timestamp() - partition.start AS execution_time', params, 'partitions') yield value return collect(value.execution_time) as execution_times

Closed since these procedures are in apoc extended.


enhancement: delivery oriented fixes.

Description

[x] add defaulValidEvents props in sanatizeCompProps function
[x] CoreRoutes API calls multiple time
[x] activate StrictMode in dev mode only
[x] Authentication related changes
[x] AppContainerLayout working
[ ] RolePermission menu generation in menuReducer.
[x]  Login pages to dashboard login not working (splash component navigation problem)
[x]  Logout navigation not working
[x] Left drawer click not working (valid props missing toggleDrawer in coreDrawer)
[x] profile popover navigation links (view profile, settings) not working. (route registry from context coming empty in CoreProfilePopOver component )
[ ] Settings page is not having CoreTabs (Core tabs component related problem)
[x] Register page not following auth layout i.e. width becoming full page.
[x] @wrappid/core version is 0.447 is coming when running setup. This is missing a major update available in 0.0.452.
[x] reset form state while changing form state

Requested by @techoneel in person to create PR and merge to development.


Removes all hash for parameters not used for each source, and for all…

Adds the option to add efficiency parameters.
adds all shape parameters not used and all efficiency parameters to each sources extra_dont_hash_settings, thereby avoiding caching PDFs for parameter changes that do not affect the PDF.

This code produces only 4 cached PDFs (2 WIMP 2 ER):

from alea.blueice_extended_model import BlueiceExtendedModel
statistical_model = BlueiceExtendedModel.from_config(config_path)

data = statistical_model.generate_data(wimp_rate_multiplier = 10.)
data[2]["signal_efficiency"] = 0.2
statistical_model.data = data
print("set signal eff to see effect on fit, should get wimp_rate_multiplier around 50:")
print(statistical_model.fit())

for signal_efficiency in [0,0.3,1,3]:
    print(statistical_model.get_expectation_values(signal_efficiency = signal_efficiency))

and outputs:
`Computing/loading models on one core: 100%|█| 2/2 [00:0
Computing/loading models on one core: 100%|█| 2/2 [00:0
INFO:root:initing simulator, binned: False
INFO:root:initing simulator, binned: False
set signal eff to see effect on fit, should get wimp_rate_multiplier around 50:
({'wimp_mass': 50.0, 'livetime_sr0': 0.2, 'livetime_sr1': 1.0, 'wimp_rate_multiplier': 45.81721355528466, 'er_rate_multiplier': 1.1432726668929618, 'signal_efficiency': 0.20000990901055393}, -3111.486710614569)
{'er': 240.0, 'wimp': 0.0}
{'er': 240.0, 'wimp': 3.6}
{'er': 240.0, 'wimp': 12.0}
{'er': 240.0, 'wimp': 36.0}
`

One detail I just noticed: The Parameter  attribute type  is set via the kwarg ptype . I think since it’s an attribute of the parameter we don’t have to add the p in front of type so we can just also call the kwarg type . I don’t remember if there was some deeper thought behind this so if anyone remembers — please remind me :smile:

@kdund I had a first quick look: runs nicely and does what it's supposed to do 😊 I'll have a more detailed look later.


Updated about page

Could you make them links to their GitHub page?

@Jaiganeshkumaran I will look at doing that when I make further improvements to the credits in the about page.


Operator should use supported CORS config API for 4.2, and have fallback behavior for other versions

Not sure what the fallback behavior should be if the new CORS API doesn't exist, but at least with 4.2, we need to operator to configure CORS using the officially introduced API here: https://jira.coreos.com/browse/MSTR-717
It's my understanding that the ability for us to detect the version of the cluster has been removed, with the recommendation for us to instead use the API discovery mechanism to determine if the capability exists. I'm not sure how it would be possible to dynamically detect if this feature is present or not. Will follow up with what we expect to do.

To looTo add, it looks like the configuration is done via the same configuration it's simply an additional field that's been added, so trying to determine whether the feature exists by api availability probably isn't going to work.


docs(app-check): Fix unreachable in-file links

Description
Markdown documents within directory docs/app-check/ contain unreachable relative links to other .mdx files, causing 404 error on GitHub when visited.  These links were subsequently updated with complete file extensions.
Similar behaviors may exist in .mdx format documentations on other flutterfire extensions and app-check is chosen as an example due to the relatively small size of changes to be made. Larger scope of updates on the documentations can be worked on if deemed worthwhile by repository maintainers.
Related Issues
None.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (melos run analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

Closing since documentation has been migrated. Thanks for the PR


Reproducing the Director-Envoy notebook on DevCloud

I am trying to reproduce the director-envoy notebook on DevCloud for a demo. There is a strange behavior that I have come across. One of the envoy starts training, but other one fails for some reason. I am adding the traceback of the error down below. If someone knows why that is happening, could you please let me know?
plan.py:176
[04:28:34] ERROR    Collaborator failed with error: unsupported pickle protocol: 5:                                                                  envoy.py:69
Traceback (most recent call last):
File "/home/u71711/.local/lib/python3.7/site-packages/openfl/component/envoy/envoy.py", line 67, in run
self._run_collaborator()
File "/home/u71711/.local/lib/python3.7/site-packages/openfl/component/envoy/envoy.py", line 104, in _run_collaborator
self.certificate, shard_descriptor=self.shard_descriptor)
File "/home/u71711/.local/lib/python3.7/site-packages/openfl/federated/plan/plan.py", line 427, in get_collaborator
model_provider, task_keeper, data_loader = self.deserialize_interface_objects()
File "/home/u71711/.local/lib/python3.7/site-packages/openfl/federated/plan/plan.py", line 536, in
deserialize_interface_objects
for filename in filenames
File "/home/u71711/.local/lib/python3.7/site-packages/openfl/federated/plan/plan.py", line 536, in
for filename in filenames
File "/home/u71711/.local/lib/python3.7/site-packages/openfl/plugins/interface_serializer/cloudpickle_serializer.py", line 27,
in restore_object
return cloudpickle.load(f)
ValueError: unsupported pickle protocol: 5
INFO     Send WaitExperiment request                                                                                director_client.py:72
INFO     WaitExperiment response has received                                                                                director_client.py:74
[04:36:48] ERROR    Failed to get experiment: <_MultiThreadedRendezvous of RPC that terminated with:                                                 envoy.py:58
status = StatusCode.UNAVAILABLE
details = "Socket closed"
debug_error_string = "{"created":"@1635939408.195000784","description":"Error received from peer
ipv4:<IP_ADDRESS>:50051","file":"src/core/lib/surface/call.cc","file_line":1062,"grpc_message":"Socket closed","grpc_status":14}"
>
Traceback (most recent call last):
File "/home/u71711/.local/lib/python3.7/site-packages/openfl/component/envoy/envoy.py", line 55, in run
experiment_name = self.director_client.wait_experiment()
File "/home/u71711/.local/lib/python3.7/site-packages/openfl/transport/grpc/director_client.py", line 75, in wait_experiment
response = next(response_iter)
File "/home/u71711/.local/lib/python3.7/site-packages/grpc/_channel.py", line 416, in next
return self._next()
File "/home/u71711/.local/lib/python3.7/site-packages/grpc/_channel.py", line 803, in _next
raise self
grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "Socket closed"
debug_error_string = "{"created":"@1635939408.195000784","description":"Error received from peer
ipv4:<IP_ADDRESS>:50051","file":"src/core/lib/surface/call.cc","file_line":1062,"grpc_message":"Socket closed","grpc_status":14}"
>
########################################################################
End of output for job 1007752.v-qsvr-1.aidevcloud
Date: Wed 03 Nov 2021 04:36:50 AM PDT
########################################################################
I have ensured that the director and the two envoys are actually on a separate machine. I don't exactly understand what could the reason be.

@saransh09 which particular example you are trying to use?

@saransh09 which particular example you are trying to use?

https://github.com/intel/openfl/tree/develop/openfl-tutorials/interactive_api/PyTorch_Kvasir_UNet

@saransh09 let's try to see if we are achieving the same behaviour with Python 3.8. Keep us updated.

@saransh09 let's try to see if we are achieving the same behaviour with Python 3.8. Keep us updated.

       INFO     Building 🡆 Object CloudpickleSerializer from openfl.plugins.interface_serializer.cloudpickle_serializer Module.                  plan.py:170
       INFO     Settings 🡆 {}                                                                                plan.py:173
       INFO     Override 🡆 {}                                                                                plan.py:175

[02:16:02] ERROR    Collaborator failed with error: an integer is required (got type bytes):                                                         envoy.py:69
Traceback (most recent call last):
File "/home/u71711/.conda/envs/python38/lib/python3.8/site-packages/openfl/component/envoy/envoy.py", line 67, in run
self._run_collaborator()
File "/home/u71711/.conda/envs/python38/lib/python3.8/site-packages/openfl/component/envoy/envoy.py", line 103, in
_run_collaborator
col = plan.get_collaborator(self.name, self.root_certificate, self.private_key,
File "/home/u71711/.conda/envs/python38/lib/python3.8/site-packages/openfl/federated/plan/plan.py", line 427, in
get_collaborator
model_provider, task_keeper, data_loader = self.deserialize_interface_objects()
File "/home/u71711/.conda/envs/python38/lib/python3.8/site-packages/openfl/federated/plan/plan.py", line 534, in
deserialize_interface_objects
interface_objects = [
File "/home/u71711/.conda/envs/python38/lib/python3.8/site-packages/openfl/federated/plan/plan.py", line 535, in
serializer.restore_object(self.config['api_layer']['settings'][filename])
File
"/home/u71711/.conda/envs/python38/lib/python3.8/site-packages/openfl/plugins/interface_serializer/cloudpickle_serializer.py",
line 27, in restore_object
return cloudpickle.load(f)
TypeError: an integer is required (got type bytes)

@saransh09 any modifications to code of the example? Any comments from DevCloud team? I wonder if you would change machines in devcloud and see the same behaviour

Sorry for the delay
I am pasting the traceback of the exact problem, I tried to segregate and repeat the experiment in a different environment :
ERROR: Could not find a version that satisfies the requirement cfxmagic==0.1.dev0 (from versions: none)
ERROR: No matching distribution found for cfxmagic==0.1.dev0
[02:05:48] ERROR    Failed to install requirements: Command '['/home/u71711/.conda/envs/py38/bin/python', '-m', 'pip', 'install', '-r',          workspace.py:46
'/home/u71711/demo_openf12/envoy_2/kvasir_test_experiment/requirements.txt']' returned non-zero exit status 1.
[02:05:53] INFO     FL-Plan hash is 7a28389c40262921ad82ab9c8ded1d9fec90785eb6ed7b32b392c8474f4e44d2ca6ccf7932db67099ef20c4ba5e0faba                 plan.py:232
INFO     FL-Plan hash is 7a28389c40262921ad82ab9c8ded1d9fec90785eb6ed7b32b392c8474f4e44d2ca6ccf7932db67099ef20c4ba5e0faba                 plan.py:232
INFO     Parsing Federated Learning Plan : SUCCESS : plan/plan.yaml.                                                                      plan.py:141
INFO     aggregator:                                                                                plan.py:145
settings:
best_state_path: save/best.pbuf
db_store_rounds: 1
init_state_path: save/init.pbuf
last_state_path: save/last.pbuf
rounds_to_train: 2
template: openfl.component.Aggregator
api_layer:
required_plugin_components:
serializer_plugin: openfl.plugins.interface_serializer.cloudpickle_serializer.CloudpickleSerializer
settings:
aggregation_function_interface_file: aggregation_function_obj.pkl
dataloader_interface_file: loader_obj.pkl
model_interface_file: model_obj.pkl
tasks_interface_file: tasks_obj.pkl
assigner:
settings:
task_groups:
- name: train_and_validate
percentage: 1.0
tasks:
- train
- localy_tuned_model_validate
- aggregated_model_validate
template: openfl.component.RandomGroupedAssigner
collaborator:
settings:
db_store_rounds: 1
delta_updates: false
device_assignment_policy: CPU_ONLY
opt_treatment: CONTINUE_GLOBAL
template: openfl.component.Collaborator
data_loader:
settings:
train_bs: 4
valid_bs: 8
template: openfl.federated.DataLoader
network:
settings:
agg_addr: s001-n120.aidevcloud
agg_port: 57365
cert_folder: cert
client_reconnect_interval: 5
disable_client_auth: false
hash_salt: auto
tls: false
template: openfl.federation.Network
task_runner:
required_plugin_components:
framework_adapters: openfl.plugins.frameworks_adapters.pytorch_adapter.FrameworkAdapterPlugin
settings: {}
template: openfl.federated.task.task_runner.CoreTaskRunner
tasks:
aggregated_model_validate:
function: validate
kwargs:
apply: global
localy_tuned_model_validate:
function: validate
kwargs:
apply: local
settings: {}
train:
function: train
kwargs:
some_parameter: 42
Data = {}
INFO     🧿 Starting a Collaborator Service.                                                                                envoy.py:101
INFO     Building 🡆 Object CloudpickleSerializer from openfl.plugins.interface_serializer.cloudpickle_serializer Module.                  plan.py:170
INFO     Settings 🡆 {}                                                                                plan.py:173
INFO     Override 🡆 {}                                                                                plan.py:175
[02:05:56] ERROR    Collaborator failed with error: an integer is required (got type bytes):                                                         envoy.py:69
Traceback (most recent call last):
File "/home/u71711/.conda/envs/py38/lib/python3.8/site-packages/openfl/component/envoy/envoy.py", line 67, in run
self._run_collaborator()
File "/home/u71711/.conda/envs/py38/lib/python3.8/site-packages/openfl/component/envoy/envoy.py", line 103, in
_run_collaborator
col = plan.get_collaborator(self.name, self.root_certificate, self.private_key,
File "/home/u71711/.conda/envs/py38/lib/python3.8/site-packages/openfl/federated/plan/plan.py", line 435, in get_collaborator
model_provider, task_keeper, data_loader = self.deserialize_interface_objects()
File "/home/u71711/.conda/envs/py38/lib/python3.8/site-packages/openfl/federated/plan/plan.py", line 541, in
return (self.restore_object(api_layer['settings'][filename]) for filename in filenames)
File "/home/u71711/.conda/envs/py38/lib/python3.8/site-packages/openfl/federated/plan/plan.py", line 561, in restore_object
obj = serializer_plugin.restore_object(filename)
File
"/home/u71711/.conda/envs/py38/lib/python3.8/site-packages/openfl/plugins/interface_serializer/cloudpickle_serializer.py", line
27, in restore_object
return cloudpickle.load(f)
TypeError: an integer is required (got type bytes)
INFO     Send WaitExperiment request                                                                                director_client.py:72
INFO     WaitExperiment response has received                                                                                director_client.py:74
There seems to be an issue with the library cfxmagic and trying to install it on DevCloud.
After some googling, I found this : https://community.intel.com/t5/Intel-DevCloud/cfxmagic-module-not-found-error/td-p/1174141
There was no conclusive workaround to this that was posted. Therefore, I will loop in the DevCloud team into this.
Closing the issue for now


Binary release isn't available

link still broken http://amusecode.org/blog/new_image
This is sad

Dear Gekaremi,
Could you explain what is sad about a broken link?
Simon
On Sat, Apr 21, 2018, 11:50 PM gekaremi<EMAIL_ADDRESS>wrote:

link still broken http://amusecode.org/blog/new_image
This is sad
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/amusecode/amuse/issues/205, or mute the thread
https://github.com/notifications/unsubscribe-auth/AETyzAnX4rmLpGn5djhBjbtZBTmPctV9ks5tq6migaJpZM4TeoX8
.

Hello! Amuse binary image was great for quick deploy(especially for non-trivial linux distros) and tests. And good ipython tutorials
After suse studio shutdown ( http://amusecode.org/blog/new_image ) last available virtual disk image is old "Release 8.1" ( http://www.amusecode.org/wiki/releases )

Ah, yes, the http://www.amusecode.org/wiki/releases page is definitely out-of-date. We're working on a more up-to-date website to address that, in the meantime I've added a link to the 11.1 release to that page.
The release of binary images is another point of attention. Hopefully we can soon again have a working binary release available.

Good to hear it, thank you


Added exception for persisting autoscaler policy in registry manager

Added registry exception for persisting autoscaler policy in registry manager
Also ensured the autoscaler policy is not added to the information model in policy manager, if the adding of the autoscaler policy is unsuccessful

Thanks for the fix @Vishanth! I have now merged this to master branch.


[TRACKING] update container_entrypoint for all runtimes given new process tree behavior

Update container_entrypoint macro for all runtimes given new process tree behavior.
Opening this for tracking to ensure we complete this for Falco 0.36.0 as we need a bit of team work on this one. @Andreagit97 @darryk10 @loresuso.
P1

[x] CRI containerd
[ ] CRI cri-o
[ ] docker

Other

[ ] podman
[ ] rkt
[ ] lxc
[ ] libvirt
[ ] ... ?

docker should use containerd + runc under the hood so we should be fine (?) I've taken these captures using docker
v [tail] tid: 107370, pid: 107370, ptid 107364, vtid: 19, vpid: 19, reaper: 0
v [sh] tid: 107364, pid: 107364, ptid: 107357, vtid: 13, vpid: 13, reaper: 0
v [containerd-shim] tid: 107196, pid: 107196, ptid: 100562, vtid: 1943, vpid: 1943, reaper: 1
v [systemd] tid: 100562, pid: 100562, ptid: 100542, vtid: 1, vpid: 1, reaper: 1,
v [containerd-shim] tid: 100542, pid: 100542, ptid: 1, vtid: 100542, vpid: 100542, reaper: 0
v [systemd] tid: 1, pid: 1, ptid: 0, vtid: 1, vpid: 1, reaper: 1

v [tail] tid: 107370, pid: 107370, ptid 107364, vtid: 19, vpid: 19, reaper: 0
v [sh] tid: 107364, pid: 107364, ptid: 107357, vtid: 13, vpid: 13, reaper: 0
v {runc} tid: 107357, pid: 107354, ptid: 107204, vtid: 2019, vpid: 2016, reaper: 0
v {containerd-shim} tid: 107204, pid: 107196, ptid: 100562, vtid: 1951, vpid: 1943, reaper: 0,
v [systemd] tid: 100562, pid: 100562, ptid: 100542, vtid: 1, vpid: 1, reaper: 1,
v [containerd-shim] tid: 100542, pid: 100542, ptid: 1, vtid: 100542, vpid: 100542, reaper: 0
v [systemd] tid: 1, pid: 1, ptid: 0, vtid: 1, vpid: 1, reaper: 1

Bonus: i was wondering if we could use other methods to detect a shell instead of using the pname, but right now I have no too many ideas :/

Thanks for double checking @Andreagit97, just now had a minute to test launch a pod using crictl and cri-o runtime and I observed runc -> crio -> systemd hence crio could be a parent in case runc already exited.
PR for that is up.

Not sure if the other container runtimes were even considered in the container_entrypoint macro before. Therefore marking this as completed.


Can't use chat anymore

On installing copilot extension I am seeing aiTextSearchProvider related log in the logs. I am unable to interact with the chat UI. If somehow I am able to send messages then it keeps thinking/generating.

Extension Version
Github Copilot: 1.178.0
Github Copilot Chat: 0.14.0

VS Code Version: 1.88.0
OS Version: Windows_NT x64 10.0.19045
Logs:

2024-04-06 11:02:30.763 [info] [FetcherService] Using Helix fetcher
2024-04-06 11:02:30.763 [info] [gitExtensionService] Initializing Git extension service.
2024-04-06 11:02:31.046 [info] [gitExtensionService] Successfully activated the vscode.git extension.
2024-04-06 11:02:31.046 [info] [gitExtensionService] Enablement state of the vscode.git extension: true.
2024-04-06 11:02:31.046 [info] [gitExtensionService] Successfully registered Git commit message provider.
2024-04-06 11:02:32.324 [info] [auth] Logged in as pcc-sainik
2024-04-06 11:02:33.214 [info] [chat] copilot token chat_enabled: true
2024-04-06 11:02:33.214 [info] [chat] Registration of interactive providers failed:,Error: Extension 'GitHub.copilot-chat' CANNOT use API proposal: aiTextSearchProvider.
Its package.json#enabledApiProposals-property declares: handleIssueUri, interactive, terminalDataWriteEvent, terminalExecuteCommandEvent, terminalSelection, terminalQuickFixProvider, chatParticipant, chatParticipantAdditions, defaultChatParticipant, chatVariableResolver, chatProvider, mappedEditsProvider, aiRelatedInformation, codeActionAI, findTextInFiles, textSearchProvider, contribSourceControlInputBoxMenu, newSymbolNamesProvider, findFiles2, extensionsAny, authLearnMore, testObserver but NOT aiTextSearchProvider.
The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api GitHub.copilot-chat
2024-04-06 11:02:33.214 [info] [githubTitleAndDescriptionProvider] Initializing GitHub PR title and description provider provider.
2024-04-06 11:02:33.274 [info] [auth] Got Copilot token for pcc-sainik
2024-04-06 11:02:34.597 [info] [githubTitleAndDescriptionProvider] Successfully activated the GitHub.vscode-pull-request-github extension.
2024-04-06 11:02:34.597 [info] [githubTitleAndDescriptionProvider] Successfully registered GitHub PR title and description provider.

Steps to Reproduce:

Install the extension.
you'll see aiTextSearchProvider in logs

Update: the error is still there but I am able to interact with copilot in the chat. I am okay to close the issue now.

hello , I have also encountered this issue, which can only be used in chat and cannot be directly prompted in the code view

Also experiencing this issue, any recourse?

same here, token expired or invalid 403

The issue appeared today:

@joyceerhl You closed this with no info, can you link us to most recent issue tracking?

me too

I'm seeing the same error in the dev tools console when opening a in a new window.
Steps to Reproduce:

Install or enable GitHub Copilot extension.
Open a New Window via File > New Window
Open dev tools via Command Palette > Toggle Developer Tools

Versions
Extensions
GitHub Copilot: v1.194.886 (pre-release)
GitHub Copilot Chat: v0.15.2024043005 (pre-release)
VS Code
Version: 1.89.1
Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
Date: 2024-05-07T05:14:32.757Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.5.0
Error text
console.ts:137 [Extension Host] [chat] Registration of interactive providers failed: Error: Extension 'GitHub.copilot-chat' CANNOT use API proposal: aiTextSearchProvider.
Its package.json#enabledApiProposals-property declares: interactive, terminalDataWriteEvent, terminalExecuteCommandEvent, terminalSelection, terminalQuickFixProvider, chatParticipant, chatParticipantAdditions, defaultChatParticipant, chatVariableResolver, chatProvider, mappedEditsProvider, aiRelatedInformation, codeActionAI, findTextInFiles, textSearchProvider, contribSourceControlInputBoxMenu, newSymbolNamesProvider, findFiles2, extensionsAny, authLearnMore, testObserver but NOT aiTextSearchProvider.
 The missing proposal MUST be added and you must start in extension development mode or use the following command line switch: --enable-proposed-api GitHub.copilot-chat

@zkreutzjanz - Did you end up opening a new issue with this? I'm experiencing the same issue (Registration of interactive providers failed) for the aiTextSearchProvider extension.  The Yellow Diamond Icon

only showed on files that were not known code (.tfvars, .env,). it does not appear in files that are known types (.py, .tf, .md).

@od-dstefan No, it started working for me. I was on the latest release when the issue occured, i had to totally wipe and reinstall for everything to work. IE remove all extensions from profile, uninstall vs code, reinstall and add needed extensions.


Solved issue #25

Made the header and nav full width as screen
Made the footer text visible

Please let me know If there is any sort of problem with updation or PR


Problem in Building

This is the output after running cmake
~/rmpe_dataset_server/build$ cmake
Usage

  cmake [options] <path-to-source>
  cmake [options] <path-to-existing-build>

Specify a source directory to (re-)generate a build system for it in the
current working directory.  Specify an existing build directory to
re-generate its build system.

Run 'cmake --help' for more information.

My bad


improve C# support

Does C # support?

@Avatarchik
Now it support! Please update and try it, thx~


cmake: Backport changes from the master branch

This PR:

Backports changes from https://github.com/bitcoin/bitcoin/pull/27375.
Aligns symbol checks with https://github.com/bitcoin/bitcoin/pull/27699.

A possible way to review this PR and the whole symbol check logic is to observe the Autotools vs CMake diff in the config/bitcoin-config.h:
./autogen.sh
./configure
cmake -B build
diff -u src/config/bitcoin-config.h build/src/config/bitcoin-config.h

Friendly ping @vasild @m3dwards @pablomartin4btc @TheCharlatan @fanquake @maflcko @theuni :)


CI is broken due to rolling + Ubuntu 22.04 shift

Currently, CI uses Docker images for rolling, and it's support (22.04) has shifted away from Drake's (20.04).
One possible solution is to use tarball approach to provision CI, even for non-Bazel workflows.
Drake Slack: https://drakedevelopers.slack.com/archives/C01B5B320QY/p1644958013772819

I think this was resolved by #42, so I'll close it.


Feature request: Allow localhost access in webview

#44466
I don't think the current API offers any easy way to preview a localhost address.
There are understandable concerns for allowing webview to access any remote server. However, users should be in control of the localhost servers they are running so it's should be fine.
This opens up a lot of possibility for making powerful development tools, because of the easy bi-directional communication between webview and extension host.

Note for http: this is already possible using an iframe inside the webview

I tried to use a iframe inside the webview but I don't see the webpage I'm serving via localhost.
// The module 'vscode' contains the VS Code extensibility API
// Import the module and reference it with the alias vscode in your code below
const vscode = require('vscode');

// this method is called when your extension is activated
// your extension is activated the very first time the command is executed
function activate(context) {

    // Use the console to output diagnostic information (console.log) and errors (console.error)
    // This line of code will only be executed once when your extension is activated
    console.log('Congratulations, your extension "vscode-ud" is now active!');

    // The command has been defined in the package.json file
    // Now provide the implementation of the command with  registerCommand
    // The commandId parameter must match the command field in package.json

    //let disposable = vscode.commands.registerCommand('extension.sayHello', function () {
    // The code you place here will be executed every time your command is executed

    // Display a message box to the user
    //    vscode.window.showInformationMessage('Hello World!');
    //});

    let disposable = vscode.commands.registerCommand('extension.previewUD', function () {
        // The code you place here will be executed every time your command is executed

        // Display a message box to the user
        //vscode.window.showInformationMessage('Hello World!');

        const panel = vscode.window.createWebviewPanel('previewUD',
            "Preview UD",
            vscode.ViewColumn.One,
            {}
        )
        // And set its HTML content
        panel.webview.html = getWebviewContent();
    });

    context.subscriptions.push(disposable);
}
exports.activate = activate;

// this method is called when your extension is deactivated
function deactivate() {
}
exports.deactivate = deactivate;

// function to show webview content
function getWebviewContent() {
    return `<!DOCTYPE html>
    <html lang="en">
    <body>
        <iframe src="http://localhost:8080"></iframe>
    </body>
    </html>`;
}

result:
https://twitter.com/sstranger/status/1053656372619960321/photo/1
Ignore https reference in screenshot. Changed that to http://localhost:8080 and that also didn't showed the correct result.
What am I missing?
/Stefan

I can't repo this. Here's that exact extension code with 8080 running using http-server

Can you load localhost:8080 in an iframe on a normal webpage outside of vscode?

My bad I needed to enableScripts property of the WebView to get it working.
Sorry for not responding earlier.
/Stefan


Error CS0656

Hi, i'm facing a dependency problem
Assets\RandomPlot.cs(87,50): error CS0656: Missing compiler required member 'Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create'
I did everything as described in the article on zenn.dev and at the startup stage of the project i got this error, can you help?

Please select .NET Framework in Api Compatibility Level. NET Standard 2.1 will not work.

omg thank you very much!


Design Document/ToDo List

Alright, now that I'm finally back home and can actually begin work on this project, here's my submission for the Perihelion design document. This list will serve as a guideline for what we need to do in order to make an English HRP server work correctly. The requirements for HRP are radically different from many design decisions that Wizden has made for SS14, and some may require making certain changes to core game code. As a whole, the purpose of an HRP server is to provide what is essentially a very advanced form of writers chat room, rather than an actual "Game" that someone can win. Therefore certain "Gamifications" need to be reworked or removed in order to better support this intended goal.
The Hard Requirements are design elements that must be completed before an HRP server can be opened to the public. These are not optional, and some of them may be quite involved. A few of them I have worked on design documents for, but will require discussion on how they may be implemented.
Soft Requirements are those we do not explicitly require to launch an HRP server, but are helpful to have for the player experience.
Hard Requirements

[ ] Removal/Rework of "Greentext" Antagonists

The entire gameplay concept of the "Greentext" is antithetical to an HRP server. An HRP round cannot be "Won", and no effort should be made to encourage such playing to win behavior. Therefore a majority of the game's antagonists will need to be commented out or removed from rotation. The only antagonist that currently exists in the game which we can rework easily is the Traitor, which I'd like to invite an open ended discussion for what their new objectives should be. Since removing the Greentext itself is not easily done without touching Wizden's side of things, a temporary approach may be made whereby all objectives are automatically "Green" at the end of the round, provided the traitor is alive.

[ ] Rework Traitors to have open-ended objectives with explicit RP directions.

To give an example of a some open ended objectives, Kill/Maroon might be replaced with Poach/Recruit/Kill. With the goal being to meet with the target player, and attempt to convince them to join the Syndicate, or quit Nanotrasen. This is an explicitly RP oriented objective, whose solution comes from talking with your target and actually meaningfully interacting with them. Another objective might be to Infiltrate a certain department, that is, get yourself hired on to a specific department, so you can observe and steal company secrets. A traitor might be instructed to get themselves hired by the Security department.

[ ] Character Backstory/Exploitable Information(Employee Records, Medical Records, Blackmailable Records, Security Records)

I'll expand more upon this one with a separate design document. The gist of this is that in the character customization screen, the "Description" tab needs to be reworked as an Information tab, which will include the Description, as well as a character's Backstory. Backstory will be written in four different form fields, for each of the 4 different Exploitables. Employee Records will be readable by anyone who is a head of staff via a corporate records console. Medical Records will be readable by anyone with Medical access(they have to put an ID into a medical records computer, then they can read the records). Same with Security records, they can put an ID in a special computer, then read up on anyone's security records.
The last one is Blackmailable information. Traitor players will be able to buy a laptop item that lets them search for, and read a character's blackmail information. The rules for this will be thus: By invoking a given character's blackmailable information, that character is temporarily considered a minor antagonist, and is expected to provide some assistance to the traitor in exchange for the traitor's silence. What form of assistance this may take is up to the two players, but generally should not include extreme crimes such as terrorism or murder.
Only the player themself should be able to write what's in their character's backstory. They cannot be edited ingame, only in the lobby.

[ ] Create a Lore Document/Lore Wiki
[ ] Write up Rules for the HRP server.
[ ] Rework to player slots/whitelist.

This last one is very important. To prevent the server from being just a Clique, there needs to be a certain number of player slots explicitly set aside for non-whitelisted players. Rather than locking the server to new people when the player count is above 20, there needs to explicitly be slots set aside that can only be taken by people who aren't whitelisted, likely no more than 15 to 20 people. The main purpose of this would be to allow people who aren't whitelisted to come on the server and advertise themselves as a writer for the purpose of getting whitelisted. The standards for who is whitelisted should take into account people's skill in writing a character. That is, we should mainly consider the quality of people's ingame character sheets, and whether or not their character is a good fit for the server.
Soft Requirements

[ ] Develop the Extended-Secret gamemode
[ ] Opt-In Sleeper Agent traitors, traitors that can spontaneously become traitors some significant amount of time during the round. Essentially, Midround traitor activations.
[ ] Implement Aurora Station's Cryostasis system. Players need to be able to leave a round(and have their job specific equipment returned to the original department).
[ ] Implement leaving and rejoining rounds(as different character). Basically an extension of Cryostasis, you can leave a round via either permanent death or cryostasis, and then rejoin the round as a different character entirely. For obvious reasons, same rules as Ghost Roles apply, players cannot act on information they have learned from previous lifes.
[ ] Expanding visual character customization (I have a separate design document for this, and am actively working on it)
Underclothes as Markings
Tattoo/Barber shop ingame to change markings
Toggleable Clothing States via a right click dropdown menu
Prosthetic Limb sprites

Just a quick place to organize stuff that I'll set up later because I was randomly motivated to look at this again.
https://go.delta-v.org/perihelion


Merge two sorted arrays C++ code

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
This is C++ code for merging two sorted arrays without using extra space.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#909

@atarax665 Please review this, I have made all the required changes.

Done @atarax665

@atarax665 Please review this. I have made changes 3 days ago.

@atarax665 Please review this. I have completed the changes 7 days ago.


Provide vlo*, vector load ordered variants with consecutive pairing

RVWMO allows PoR load instructions, even with 0 to vl ordered cache request issuing, to provide results from a global memory order that are not in chronological order, and especially are not in dependency order as RVWMO imposed to concurrently updating harts (see discussions in https://github.com/riscv/riscv-v-spec/issues/501#issuecomment-660573181) .
PoR - https://github.com/riscv/riscv-v-spec/commit/a67925038b653a75cd7eadb68b9915449941745d
With #534, allowing non-strict 0 to vl processing order the available result sets is substantially increased. Specifically, Rule 2 is eliminated with respect to all element reads (including overlapping non-identical addresses).
To allow vector loads to provide as close to fully deterministic and concurrent hart RVWMO rule consistent return set as is possible, I propose we define new load instructions designated vlo*, for ordered that RVWMO pair each element read with the read of the next consecutive elements read in 0 to vl order.
An outstanding consideration is whether masked out elements participate in the read pairing.
PoR is silent on the matter, however, it states

Masked vector loads do not update inactive elements in the destination vector register group.

My preference, as a concession to "intuitive" expectations, is that masked out elements are skipped, that the pairing is between the current unmasked element and the next unmasked element in 0 to vl order.
I believe the current PoR load opcode mapping should remain. However, it may be instructive to rename vl* as vlu*, especially if #534 is adopted.
The current naming could initially be an alias with vlu*

Moved to post v1.0 discussion.


KAFKA-9314: Apply RetryWithToleranceOperator to push() and poll()

This commit applies RetryWithToleranceOperator added as part of KIP-298 to be
used when retrying RetriableExceptions thrown from SinkTask::put() and
SourceTask::poll().
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@wicknicks Could you please take a look when you get a chance? Thanks!

@ncliang, thanks for creating this PR! We've recently adopted and implemented KIP-610. Would you mind taking a look to see whether that solves the problem?
If not, then wouldn't we need a KIP to define the new behavior for automatic retries?


AssetRewrite.rewriteAssetPath incorrectly matching remote file paths containing the same name as a valid rewrite

As described in this S.O. issue, if there is a remote file path that contains the same filename as another file that is a valid rewrite (an actual asset path that should be rewritten), the rewriteAssetPath method is processing those paths even though they're to a remote path.
For instance, in a project named coolapp:
model: function() {
  // this path is being rewritten because it's matching `coolapp` but not taking into account that it's from a remote path
  return Ember.$.getJSON('http://my.remote.url.com/coolapp.json');
}

I imagine this probably just needs some adjustments to the regex to prevent matching remote paths.

This is unfortunately a pretty complex problem to solve. Any help with failing test cases, etc. would be much appreciated.

I'll try to throw together a test case, and maybe even take a crack at it later tonight. I'm doing something similar with ember-cli-mv, but I'm walking the AST for each file and updating paths there (currently just doing a regex as well).

@trabus thanks for reporting this!


Add wrap files for xtensor-0.21.5

Why not go straight to 0.21.10?

Why not go straight to 0.21.10?

Why not go straight to 0.21.10?

0.21.5 is the version our projects use right now, we don't currently have the time to update it

Why not go straight to 0.21.10?

0.21.5 is the version our projects use right now, we don't currently have the time to update it

Since it's actively being used, I'll accept that logic and merge old stuff anyway. :)

Since it's actively being used, I'll accept that logic and merge old stuff anyway. :)

Will think about it and try again later

Will think about it and try again later


Support native schema for Set

Currently there is no native support for sets. However, some protocols and formats have a native representation for sets (e.g. Redis). Consequently, there is a strong advantage to having a native set type, distinct from Sequence.

[ ] Add new Schema.Set case class, which stores a schema for element type, and extends Schema[Set[A]].
[ ] Support new schema type for all existing codecs and other operations that match on schema

@thinkharderdev Contender for ZIO Hackathon??

I would like to work on this one

I'd like to work on this.

It looks like there's already some work in #142 that I can build on top of.

Closed by #173


General: Address Book

Overview
It is sometime really handy to have a set of "trusted" addresses that I'd want to reference by alias. It would also be really handy to have an address book to use when I am doing some work in a script but don't want to completely dox someone's address.
Specification
$ ape accounts save 0xAbCd...1234 my-friend
[INFO] Account `0xAbCd...1234` saved as `my-friend`

from ape import accounts

alice = accounts.load("me")
bob = accounts.load("my-friend")
alice.transfer(bob, "1 ether")

Could be a use case to add a second account container to ape_accounts that are just basic ape.Address classes

idea: might even be cool to have different address books you can switch between for different projects :thinking:

Should we also allow this to be done via conifg?
contacts:
  my_friend: "0x1122334455677E444496A5555A258Aff9333B1002"

from ape import accounts

my_friend = accounts.load("my_friend")

Should we also allow this to be done via conifg?

Yes, but I've been thinking more and more lately that it might make sense to have a "global config" in the data folder, for things like your network preferences. This address book concept would probably fit nicely too. Basically anything that is a user preference and not a project one.
The "global config" would be the same format as the local one, but be retreived first, with the local applied over it, in this order:
config defaults > global config > local config

Oh, nice, yes that makes sense. I will create a ticket for that.

Would it makes sense for the global config to be in the .ape/ application directory or would it make more sense to have it just be in the user's $HOME directory (like a global .gitignore)?
I am leaning on the data directory, like you suggest, but I am a little concerned of that UX as users don't typically interact with application data folders

Would it makes sense for the global config to be in the .ape/ application directory or would it make more sense to have it just be in the user's $HOME directory (like a global .gitignore)?
I am leaning on the data directory, like you suggest, but I am a little concerned of that UX as users don't typically interact with application data folders

Could be .ape/config.yaml yeah, but also... could make a whole config CLI to ease the setting of popular user-preference types of config (e.g. what provider plugins to install, favorite network, etc.)

Like
ape config add-plugin
ape config add-account
ape config set-network
Or even
ape config set-editor vi (or code or emacs or whatever editor binary command you use).
ape config edit and that opens up the config.yaml file and allows you to edit it.
might also need something like ape --config --show-path to show the path to the config file controlling the setting

hmm, a lot in there. maybe:
$ ape config set-default ethereum rinkeby infura
$ ape config --list

Decided to make this into a plugin: https://github.com/ApeWorX/ape-addressbook


[Feature] Update collect_freshness config in src_greenhouse.yml to account for dbt macro logic

Is there an existing feature request for this?

[X] I have searched the existing issues

Describe the Feature
Our fivetran_utils collect_freshness macro was designed to override dbt's equivalent macro to allow for the enabling/disabling of variables when running dbt source snapshot-freshness.  Thus if a source table does not exist, dbt will not run (and error on) a freshness test on the table.
dbt has since updated its macro in recent versions to basically provide the same functionality. So warnings are being thrown to upgrade the package logic.
We will want to modify all versions of the meta: is_enabled config in our src_greenhouse.yml package (example here) to match the config: enabled dbt logic. Once those dependencies are either updated or removed, we can further explore updates to our own internal collect_freshness macro.
Describe alternatives you've considered
At the moment, we will be proceeding forward with updating dbt_fivetran_utils to match the logic of dbt's collect_freshness macro. That way customers will no longer experience that warning.
More details can be found in this ticket.
Are you interested in contributing this feature?

[X] Yes.
[ ] Yes, but I will need assistance and will schedule time during your office hours for guidance.
[ ] No.

Anything else?
Customers raising this issue can be found in this dbt slack thread https://getdbt.slack.com/archives/C03SAHKKG2Z/p1683127164993329

this has been addressed in the mentioned release!


CHEBI:140801 and CHEBI:166984 are identical, please merge

Hi Adnan,
The two above compounds are both icas#10(1-) (also called IC-asc-C9(1-)) with the InChIKey VGNCAEIQHDZOLI-JTCUFRKPSA-M. Both compounds are 2-star compounds.
Please merge them.
Best wishes,
Kristian

Now merged. Thanks


Remove 'has input' from GOREL

Duplicate of a RO relation:
has_input	GOREL:0000753
has_input	RO:0002233
Thanks, Pascale

was just missing the altid.

@alexsign


fix(sidepanel): use buttons

Please check if the PR fulfills these requirements

[x] The commit(s) message(s) follows our guidelines
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

What is the current behavior? (You can also link to an open issue here)
the current sidepanel use <a href="#"/>
What is the new behavior?
the new sidepanel use <button class="btn btn-link" role="button">
Does this PR introduce a breaking change?

[x] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
the styles may be impacted
Other information:

The hover behavior is different from when we had <a>.
The paddings are not aligned with the guidelines anymore.

I will fix unit tests


How to load a model offline

When I execute openllm start for the first time, the model will be downloaded to the local and then started, but it seems that it will also send a network request to huggingface (although it will not be downloaded again) before it can be started.
I tried setting HF_DATASETS_OFFLINE=1 TRANSFORMERS_OFFLINE=1 but it didn't work

same question here, need a fully local mode

In 0.5, you can save it to bento model store first with
with bentoml.models.create("your-model") as model:
  ...

then you can start with openllm start your-model.


chore(package): update npm-template-sync to version 8.9.0

Pull Request Test Coverage Report for Build 2593

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 85.714%

Totals

Change from base Build 2588:
0.0%

Covered Lines:
72

Relevant Lines:
86

💛  - Coveralls


Is this project maintained?

@ojake there is a very old valid PR that has not been merged. There hasn't been a release in 9 years.
If you need someone to maintain this project I would be happy to take over those responsibilities.

Hi again @ojake
I have made a request to PyPi to release the package name to my organisation, Overcast: https://github.com/pypi/support/issues/3477


[PROPOSAL] Add some useful path finding  algorithm as sql functions like the ( Block A* , Hybrid A* , CH , CRP ) to OrietntDB

As we discussed in https://github.com/orientechnologies/orientdb/issues/7103#issuecomment-275836380 ,  we know path-finding algorithms is so useful to Robotic , Intelligence Traffic Management, Routing for the smart vehicle systems and some similar applications.
OrientDB currently (v2.2.15) supports the Shortest Path , Dijkstra , A (a star)* algorithms . but we can add some other useful path finding to orientdb now .
OrientDB is a multimodel database that supports graph functionalities .  so we must have access to wide range of algorithms to working with the graphs .
I recommend to implementing Block A* , Hybrid A* , CH , CRP path finding functions too .
The following Chart gives a compare some popular path finding algorithms :

Implementation and  tasks for :

[ ] Block A*
[ ] Hybrid A*
[ ] CH
[ ] CRP

Welcome to comments .

It would be awesome!

@saeedtabrizi have you had the chance to work on this?

@lvca sure . i have wrote some lines of code to implement it . but i should complete it asap.  I will push it in the next week  .

Awesome, thanks!

Hi @lvca i have some question for implementing CH that be one of fastest routing algorithms :
As we know for decrease the cost of routing in huge request for routing problems like the bing maps or google maps or OSM services , CH algorithm makes precomputed cost shortcuts between the vertex and finally execute a Dijkstra over the shortcuts and main graph data.
So according to Wiki of CH algorithm for implementing CH we have the following phase :

A) Preprocessing :

Compute traveling cost between nodes and build  shortcuts .
Put shortcuts to a local cache for next re usability . (Be or not to be , this is my question)

B) Querying :

Execute a Dijkstra over the shortcuts to find the cheapest cost .

So please tell your idea for implementing a local cache for computed shortcuts .
I can make a named Index or Class to store the shortcuts  or using the OrientDB internal caching mechanism or make an custom caching mechanism for it.
Which would better and faster for my scenario ? please help me .
I prefer to make a named Class for ease of use and implementing .
The first syntac for CH function is :
ch(<sourceVertex>, <destinationVertex>, <weightEdgeFieldName>, [<options>])
 // options  : {direction:"OUT",edgeTypeNames:[] , shortcutClassName:"MyMapShortCuts", updateShortcuts:true,rebuildShortcuts:true}

Thanks
Saeed Tabrizi

I like the idea of using a class for caching, so it would be persistent and the user can choose the class name. Also, the signature seems good. So +1 for me.

If there is not any more comment about it , i just starting to finalize implementation .

+1

Hi @lvca , I start this issue implementation to compatible for ODBv3  .
Just i try to make a compatible version very soon  (maybe in the next week) .


Replacing GroebnerBasis with msolve

GroebnerBasis.jl is now depreciated, so it would be great to move the code to msolve. At the moment, F4 works only over finite fields, so one should either

refine the sampling bound from the paper (Theorem 3.3 in https://arxiv.org/abs/2111.00991)
reduce to the zero-dimensional solving

The latest update to v0.3.5 does not solve this issue.

@finmod This is correct.
Note that, the used functionality of GroebnerBasis.jl is not completely supported by msolve, this makes the transition not straightforward.

Right now I tried to make it work with FiniteField but it has not worked yet due to this error: https://github.com/SciML/StructuralIdentifiability.jl/runs/4762906264?check_suite_focus=true#step:5:989. I have not figured it out yet, I think it comes from some Nemo functionality. Also, once msolve works with characteristic 0, the transition should be simplified, so another solution is to wait 😃

GroebnerBases.jl has been replaced by Groebner.jl and it works fine. It would be still a good idea to have solve as an additional backend, I will open a separate issue for this.

test StructuralIdentifiability is now compiling and passing ok,


Please merge "increment analysis server protocol version" into dev channel

commit(s) to merge: https://dart-review.googlesource.com/c/sdk/+/82480
merge instructions: clean merge
reason: dartfix added a new edit.dartfix analysis server protocol and the dartfix client checks the protocol version before continuing.
/cc @dgrove @kevmoo @mit-mit @whesse @athomas

This commit 8c20adffe66ff672111aa5ab4dbbd557df097e30 is cherry-picked into 2.1.0-dev.9.0.
Other cherry-picks are missing, and arm building is broken, so 2.1.0-dev.9.1 should be used instead.


Escape commas in monitor config lines

Discussed in https://github.com/hyprwm/Hyprland/discussions/2130

Originally posted by Hubro April 22, 2023
I want to reuse my hyprland config across multiple machines, so I can't configure ports like DP-1 directly, I need to use monitor descriptions.
Unfortunately, one of my monitors has a comma in the description:
Monitor DP-2 (ID 0):
<EMAIL_ADDRESS>at 0x0
	description: GIGA-BYTE TECHNOLOGY CO., LTD.  M28U 22120B003932

I have tried every method to escape the comma I can think of (double comma, backslash escape, deleting it altogether, quoting the entire desc with double and single quotes) but nothing works.
How do I escape this comma so I can target the correct monitor?

Maybe can make regex working with monitor desc in config?

I have the same problem. If it helps you, here is my output of hyprctl monitors for the monitor in question (also a GIGABYTE):
Monitor DP-9 (ID 3):
<EMAIL_ADDRESS>at 0x1080
	description: GIGA-BYTE TECHNOLOGY CO., LTD. M34WQ 0x00000B52 (DP-9)
	make: GIGA-BYTE TECHNOLOGY CO., LTD.
	model: M34WQ
	serial: 0x00000B52
	active workspace: 4 (4)
	special workspace: 0 ()
	reserved: 0 0 0 0
	scale: 1.00
	transform: 0
	focused: yes
	dpmsStatus: 1
	vrr: 0

In my case I don't need to share the configuration file across multiple devices. But my three monitors are connected over thunderbolt and a DisplayPort Switch. Depending on the order the monitors are detected during boot, the port name DP-9 changes.
This makes addressing the monitors via the port name difficult.
For now I have solved this with a custom bash script that essentially does the description matching and then invokes hyprctl to update the monitor configuration on the fly.


Create Readme for the Project

Requires Description about the Project and guidelines for contribution .Can  later include contributors too.

hey, @Rayman-Sodhi
I want to work on this issue , I want to make Impressive Readme for this awesome Repo. .
For further process,  " Assign "  me this issue .

Hi, you can start creating the template . I will assign you this one as soon as I add the label for SWOC

You can take reference from other projects  too and create a template with necessary instructions.

Hi, you can start creating the template . I will assign you this one as soon as I add the label for SWOC

ok,

hey @Rayman-Sodhi , my readme work is completed .
Can you tell me , When I can push PR.

Hi @ayush-sleeping  you can add your role in the excel sheet and start working on this issue

Hi @ayush-sleeping you can add your role in the excel sheet and start working on this issue

I have added now, Kindly checkout .

@Rayman-Sodhi , Kindly tell me ,
When can I start making PR .

can you send me ss of the readme ,I can have a look

can you send me ss of the readme ,I can have a look

https://github.com/ayush-sleeping/Clone-IT
Checkout here and if you want me to add some other things , Let me know ..........

This  Looks good .Can you increase the size of few headlines:
This the place, Where you can find Clone of some of the best Websites.
Table of Contents :
Available Clones:
Thanks to all the people who contribute
Never made an open source contribution before? Wondering how contributions work in the in our project? Here's a quick rundown!

Also ,for the guidelines : refer to the image

Hey @Rayman-Sodhi , checkout  this https://github.com/ayush-sleeping/Clone-IT
Updated all the things, Which you recommended .

great you can make a pr

@ayush-sleeping  you have not taken the role as participant for Cloneit in excel sheet .


Konami Code hint text appears an infinite number of times

when you click on the snek more than once the easter egg text appears more and more times. should only appear once. literally unusable.
/s

lol

fixed, thanks for telling me lmao

not actually fixed

ok ok i get it it's a feature


wasmparser: get function name

Is it possible to get function names when parsing WA with wasmparser? It seems FunctionSectionReader doesn't have such ability.

Per Wasm design, functions names are stored in the custom name section (if available). Use NameSectionReader to access this information. If you desire to see export function names, use ExportSectionReader. Closing as answered.


build failure with CPLEX

What version of OR-Tools and what language are you using?
Version: stable branch
Language: C++/Python
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
CPLEX
What operating system (Linux, Windows, ...) and version?
docker linux debian bullseye
What did you do?
try to build ortools with CPLEX into a docker image from the stable branch dockerfiles 1 + 2. CPLEX is installed first and seems to be ok.
What did you expect to see
ortools build successfully
What did you see instead?
# git status
On branch stable
Your branch is up to date with 'origin/stable'.

nothing to commit, working tree clean
# cmake --version
cmake version 3.21.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).
# make third_party BUILD_DOTNET=OFF BUILD_JAVA=OFF BUILD_PYTHON=ON USE_CPLEX=ON CPLEX_ROOT=/opt/ibm/ILOG/CPLEX_Studio1210
...
CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0111 is not set: An imported target missing its location property
  fails during generation.  Run "cmake --help-policy CMP0111" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  IMPORTED_LOCATION not set for imported target "CPLEX::CPLEX" configuration
  "Release".
This warning is for project developers.  Use -Wno-dev to suppress it.
...
# cat -n dependencies/CMakeFiles/ortools.dir/build.make | grep CPLEX
   634	lib/libortools.so.9.3.1: CPLEX::CPLEX-NOTFOUND

continuing the build with make python fails with
CMakeFiles/ortools.dir/build.make:634: *** target pattern contains no '%'.  Stop.

Some poking around (please ignore if not relevant)...
cmake docs:

The IMPORTED_LOCATION target property … specifies the location of the main library file on disk

So perhaps something like
set_target_properties(CPLEX::CPLEX PROPERTIES IMPORTED_LOCATION <path>)

is needed in FindCPLEX.cmake?
It looks like a windows variant of this was removed in 70db1c1ff6aa7de8cea9ee96dd3769e25a3fe89a
Anything else we should know about your project / environment

Same here (see https://groups.google.com/g/or-tools-discuss/c/Yjf_kMN5ZzE) [except: this is on an up-to-date Manjaro machine and using CPLEX Studio v22.1].

Exactly the same problem here!

I was able to work around this by manually setting the target in cmake/FindCPLEX.cmake
set_property(TARGET CPLEX::CPLEX               PROPERTY IMPORTED_LOCATION               "${CPLEX_ROOT}/cplex/lib/x86-64_linux/static_pic/libcplex.a")

After the following two steps, it works normally in MacOS environment.
1、Modify  USE_CPLEX ?= ON in or-tools/makefiles/Makefile.cpp.mk
2、Add set_property(TARGET CPLEX::CPLEX PROPERTY IMPORTED_LOCATION "${CPLEX_ROOT}/cplex/lib/x86-64_osx/static_pic/libcplex.a") just at the next line of if(APPLE) in or-tools/cmake/FindCPLEX.cmake.  And I set CPLEX_ROOT in environment paths, it can also be set in FindCPLEX.cmake

@Robot-1x for 1) you should be able to pass it in the terminal or as env variable e.g.
USE_CPLEX=ON make ...

Make will catch it and since we use ?= it should take precedence over the default OFF value...

I've just integrated feedback from @PixelAmp and @Robot-1x to main branch, will see if it help you.
ps: any feedback are welcome

No news. Closing. Please reopen if needed.


decode verify, which checks that decoded data is equal to input

Continue of https://github.com/rust-ethereum/ethabi/pull/284
The issue is, that for some types we still can check, that decoded data is not equal to encoded, but we need to check the actual data, not only offsets
There is an example of such types in test:
FixedBytes(20) will still be encoded as 32 bytes, but the data is in the first 20 bytes
Address will be encoded as 32 bytes, but the data is in the last 20 bytes
So to determine which type is the input data, we need to look at the data itself. And imo the easiest way to do that by encoding the data back and check, that everything is equal

Is there any standard that says the extra bytes have to be zero? It also seems possible that the contents of the extra bytes should be ignored in which case it shouldn't error.

By solidity specifications it must be zeroes.
https://docs.soliditylang.org/en/v0.8.17/abi-spec.html#formal-specification-of-the-encoding

This checks relies on our encoding doing the zeroing correctly so we can compare the results. The most correct way of doing this would be to check the zeroes in the decoding internals directly.
Doing it with the encoding round trip is slower and could be wrong if there is anything the spec leaves ambiguous. Because then an equality comparison wouldn't be enough to invalidate the other encoding.
Compared to your previous change, this check you could also make yourself outside this library because it doesn't rely on data that is private to the decode function. With the mentioned downsides I feel that is a better place. On the other hand if we did the validation directly in decode then I would be fine with it.  That's probably more involved and we'd have to decide how we want to handle backwards compatibility.

Compared to your previous change, this check you could also make yourself outside this library because it doesn't rely on data that is private to the decode function.

For decode, yes
For logs, sadly, no(

If there is a way to make it work logs, I'd take an easier way. If not, I could potentially implement something more complex

I've implemented correct validation for some types.
Right now I left the int case, because I'm not sure what current implementation returns
In the doc it says, that in int case the value is two complemented and first 2 bytes are the sign bytes, but none of this is found in current implementation, so... Does the current implementation just returns the raw data, without actually parsing the integer?

Does the current implementation just returns the raw data, without actually parsing the integer?

I don't know.

I think we can leave int case for now
Do you have any other suggestions?

Hi, can we merge this?

Is there a rush to merge it? We probably can but I also want to give other people a chance to review, even if it's unlikely that someone will.


Async::NotReady was not supported for stream body

I have the following as my service function:
fn servefile() -> impl Stream<Item=String, Error=Error> {
    let mut cnt = 1000;
    let mut timer = std::time::SystemTime::now();
    poll_fn(move || {
        if let Ok(e) = timer.elapsed() {
            //The first call is always ready, then wait 10ms for each call
            if cnt<1000 && e.as_millis()<10 {
                info!("Not ready");
                return Ok(Async::NotReady)
            };
        }
        info!("Ready");
        timer = std::time::SystemTime::now();
        if cnt==0 { return Ok(Async::Ready(None)) }
        cnt -= 1;
        Ok(Async::Ready(Some("Hello\r\n".to_owned())))
    })
}
fn hello(req: Request<Body>) -> Result<Response<Body>, Error> {
    info!("uri: {}", req.uri());
    let mut resp = Response::builder();
    resp.header("Content-Type", "text/plain")
        .status(StatusCode::OK)
        .body(Body::wrap_stream(servefile()))
        .map_err(Error::from)
}

I intended to return some text content that takes time to generate progressively. The above is a simulation.
The above didn't continue iteration after the first "Not Ready".

I don't know if you've figured this out already, but it has to do with the way futures work. If you return NotReady, you need to have setup some way to notify the Task whenever a thing is Ready.


GCKLoggerDelegate Invalid network address.

You can file a bug against the Cast SDK: https://issuetracker.google.com/issues?q=componentid:190205 status:open&s=modified_time:desc


Summernote image attributes

Hi,
I already integrated this plugin in my application https://github.com/StudioJunkyard/summernote-image-attributes But it's not working perfectly. It shows these errors.
https://drive.google.com/file/d/0BwAzgV3nKU7aTk0xekxlSTZDNFE/view?usp=drivesdk
How can I fix this? Waiting for your reply.
Thank you :)

I just had a look using Chrome in Linux Mint, and inspected (or rather looked for) the errors in Chrome Dev Tools, and Firebug. No errors.
What Browser/OS are you using?
Also, I'm using jQuery v2.1

First error in your screenshot is jQuery, so your version may not contain the function. The missing function could also be causing the second error to be thrown.

I am using Ubuntu 16.04 LTS as OS and Google Chrome Version 51.0.2704.63 (64-bit). Jquery didn't show this error when I removed summernote-image-attributes.js from my script.
Thank you :)

I'm still not seeing these errors. Are you using the latest Summernote?
Which inspector are you using that's showing the error's?

I already uploaded a sample script. Please if you have time, then download it and check.
summernote.zip

Oh ok, I'd forgotten about this, @MarkosBL was looking into this as his mods were causing this to happen. You can set the options inside the script if you need to, just don't set the options when calling Summernote. I'll have to make a note of this in the readme.
Remove the
        imageAttributes:{
            icon:'<i class="note-icon-pencil"/>',
            removeEmpty:false // true = remove attributes | false = leave empty if present
        },
        imageShape: {
            icon: '<i class="note-icon-picture"/>'
        }

Thank you so much :) Now it's working. Many many thank you for your valuable time.

No worries, thank you for bringing this to my attention, I'd forgotten all about it.


Introduce the Attribute criterion

This PR introduces the Attribute criterion along with the internal words-level-positions-docids database required. This criterion is designed to be performant when the number of candidates is small or big. It adopts the right algorithm for both situations. When it is small, a linear algorithm is used, and when it is big it uses the words-level-positions-docids database to do unions and intersections.
Closes #108.
What must be done before we can merge

[x] Implement the set-theory-based algorithm for when the number of candidates is big.
[x] A request from @LegendreM is to create only word positions level groups on deterministic bounds. This means that instead of doing group levels of runs of four existing positions, we should instead do group levels of runs of potentially existing positions. If there are words at positions 0, 1, 3, and 4, we should do two groups (0..=3 and 4..=7) instead of one group (0..=4).

@Kerollmops can you review this PR,
@irevoire could you give an external eye to this PR,
Thanks!


añado mi nombre

Hola desde Zaragoza España

@javieriranzo3, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?


github actions

justs test, i could have it push a build artifact (which contains the mod), tho this will expire

I discussed it with Sokyran, as it is, it wouldn't bring much benefit to us. We think it'd be more useful it if published the built zip so people could grab MPCompat right from the github instead of having to compile it.

An action publishing releases has been added