Encrypted ballot generated by the web ui doesn't contain author info

The generated json contains only the following fields:

encryptedSecret
data

The author field is missing.

FWIW we are using the git commit author, it's repeated in the JSON file for convenience but it has no implication on your vote. The web UI can't guess what is the name or the email address of the voter, so it's simpler easier to not include it.
Closing as won't fix, thanks for the report.

FWIW we are using the git commit author, it's repeated in the JSON file for convenience but it has no implication on your vote.

Ah thanks, good to know.

The web UI can't guess what is the name or the email address of the voter, so it's simpler easier to not include it.

But there's a field for the author info, right?
author: undefined <undefined>

Should that be removed?

But there's a field for the author info, right?
author: undefined <undefined>

Should that be removed?

Yes good catch. It should at least be commented out, so it's clearer that it's not a very relevant info. It's too late for this vote though, I'd rather avoid pushing non-vote commits to that PR to fix the ballot.yml file.


Support Python 3.12

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

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

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
2800

Relevant Lines:
3097

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

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

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
2800

Relevant Lines:
3097

💛  - Coveralls


Update Pages “index”

Automatically generated by Netlify CMS

👷 Deploy Preview for nervous-engelbart-a15395 processing.
🔨 Explore the source changes: 4016c09de3766b95d2e52b7bb0207f92297f7d8c
🔍 Inspect the deploy log: https://app.netlify.com/sites/nervous-engelbart-a15395/deploys/61a6ce18065085000733e1de


Contact data should be nullable

I think the most data in the contacts/users should be nullable
Currently the following country data is not nullable:

firstName
lastName
address countryId
address type

@berndhep Do you agree? IMO first and last name is the least information being available, but I can imagine that on many imports this data is missing.

First and last name should be required information in my opinion. Everything else can be null.

Ok, I revoke what I have said. First/last name OR email address should be required.

we had the last times in the slack channel some requests how to make the firstname and lastname nullable for the community bundle. I would like to make this fields nullable in the core to be more developer friendly. /cc @sulu/core-team

I don't agree that - it is possible to overwrite the entity (maybe we have to document that) so everyone can change this easily. When we want this fields required in the UI of the admin we should also make them required in the entity (or vice versa if the opinion changed about required fields).


[Bug] servers not listed in serverlist

Hi,
I just installed neovim-remote because I'd like to auto-change my colorscheme in opened vim sessions when pressing an i3-wm keystroke, and the arch neovim wasn't compiled with the +clientserver feature.
If working with a single file, I can get my workflow working fine, but it becomes more difficult when several vim sessions are opened (eg in different tmux panes).
Pane 1
$ nvr --remote file

Pane 2:
$ nvr --servername /tmp/nvimsocket2 --remote file2

Pane 3:
$ nvr --serverlist
/tmp/nvimsocket

I expected /tmp/nvimsocket2 to show up in the server list.
I could verify that a command like nvr --servername /tmp/nvimsocket2 --remote-send ",B<Enter>" works fine, hence not being able to retrieve the list of servers prevents me from implementing this "update colorscheme to all opened vim sessions" feature.
Could you fix this bug as to show all servers in the serverlist? Or should I raise this issue upstream on the neovim repo ? Or is there a simpler solution for my use-case which I oversaw ?

Here is my current hack to bypass serverlist:
.zshrc
alias "vim=NVIM_LISTEN_ADDRESS=/tmp/nvimsocket$(ls /tmp/nvimsocket*|wc -l) nvim"

script
for socket in /tmp/nvimsocket*; do
    nvr --servername $socket --remote-send ",B<Enter>";
done;

Yup, it's a known issue but sadly there's no good way to solve it. :<
See: https://github.com/mhinz/neovim-remote/issues/18

As of this commit, --serverlist should behave as expected now.

Thank you ! I wrote a blog post about it, if someone is interested.


How to make jest-chrome work with webextension-polyfill

Google search terms
Jest-chrome mozilla/webextension-polyfill jest.setup
Describe the bug
When using jest-chrome with webextension-polyfill, the browser namespace property returns undefined (For example: browser.runtime.sendMessage).
What's strange is that browser is defined and even browser.runtime, but then I look for sendMessage and it returns undefined.
I've already added browser to the global object in my jest.setup file, but I didn't know what else to do to get the namespace to be defined
How do we reproduce?
See a repo here

Expected behavior
I expect the browser namespace properties to be defined.
Actual behavior
The browser namespace property is undefined.
Screenshots

Please complete the following information:

Library Version: 0.7.0
Operating System: Linux Mint
Browser: chrome Version 87.0.4280.88
Node Version: v14.8.0

@AmySteam @belykh This is a bug we should fix, but there is a workaround:
Access the Chrome API property first
Make sure that you set the mock implementation for the Chrome API method you intend to use. In your Jest setup file, do something like this:
const { chrome } = require('jest-chrome')
Object.assign(global, { chrome })

chrome.runtime.sendMessage.mockImplementation((...args) => {
  const callback = args[args.length-1] // the last argument is always the callback
  callback() // call the callback with your expected callback args
})

You can do this in the actual test file, whatever works for you. The point is to access the Chrome API property before trying to use it in the Browser API.
Help wanted
This is a bug we need to fix! Both jest-chrome and webextension-polyfill use a Proxy, and they don't always play well together. We need to make the jest-chrome Proxy trick the webextension-polyfill Proxy into thinking the property exists, even if it hasn't been accessed before.

@AmySteam @belykh This is a bug we should fix, but there is a workaround:
Access the Chrome API property first
Make sure that you set the mock implementation for the Chrome API method you intend to use. In your Jest setup file, do something like this:
const { chrome } = require('jest-chrome')
Object.assign(global, { chrome })

chrome.runtime.sendMessage.mockImplementation((...args) => {
  const callback = args[args.length-1] // the last argument is always the callback
  callback() // call the callback with your expected callback args
})

You can do this in the actual test file, whatever works for you. The point is to access the Chrome API property before trying to use it in the Browser API.
Help wanted
This is a bug we need to fix! Both jest-chrome and webextension-polyfill use a Proxy, and they don't always play well together. We need to make the jest-chrome Proxy trick the webextension-polyfill Proxy into thinking the property exists, even if it hasn't been accessed before.


fix: images on carousel, spotlight, explorer, and gallery card

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] use image proxy directly instead of durable-jpeg

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[ ] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </bsx/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

seems spotlight on bsx gone?

pay 100 usd
yes working so far everywhere 🥳

😍 Perfect, I’ve sent the payout
💵 $100 @ 24.25 USD/KSM ~ 4.124 $KSM
🧗 DY4SQF2iD456tH89aQtz5wv1EV3BbSW8wKKuMcwbmXaj1pM
🔗 0x62ba3822ba86a0871e13f0bcd42a51149013100bfc3f6ebec44be03bee714fcf
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


KAFKA-12469: Deprecated and corrected topic metrics for consumer (KIP-1109)

The PR implements the behaviour defined in KIP-1109. It corrects the consumer topic and topic-partition metrics, while deprecating the incorrect ones.
https://cwiki.apache.org/confluence/display/KAFKA/KIP-1109%3A+Unifying+Kafka+Consumer+Topic+Metrics
Committer Checklist (excluded from commit message)

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

@AndrewJSchofield Please let us know if it's good to merge?


Top part of line halved when near the top of the graph

When the graph line gets near the top of the graph and sits on the very top of the graph, half the line appears to be hidden making it tough to see the top of the line

@robcalcroft this likely due to clipping, and is unfortunately to be expected; are you using the VictoryZoomContainer? (the zoom container relies on clipping)
You could manually set the domain for the y portion of the graph to give yourself some padding. e.g. in the above case you could have the maximum be max(data) + 0.5 = 8.5.

Ahh ok I'll give that a try 😊

@robcalcroft I should add that domainPadding can be a really quick fix to your problem, especially since it looks like you are concerned with clipping at the top of the graph. just try domainPadding={2} and see if you like it

closing this issue, but feel free to ask more questions!

Fab thanks for your help 👌

🤘🤘

For some reason domain padding didn't entirely work like this: domainPadding={{y: [0, 5]}}, but worked fine like this: domainPadding={{y: 5}}


Use variables instead of hard-coded paths in makefile

Hi Lukas,
Thank you for your contribution!
Pull requests should be based on the develop branch. Could you do it there?
The changes are not passing on Windows. We could update the AppVeyor script to use INCPATH instead of LMDBPATH but I noticed that on Linux and Mac this last variable points to where the LMDB library is located, not the header files.
We need 2 different variables, one to point where the LMDB library is installed and another to point to where the LMDB header files are located. So they can be LMDBPATH and LMDBINCPATH.
On Windows these files are generally on the same folder, so we can pass just LMDBPATH (as already being done in appveyor).
Additional changes on makefile:
on Windows section:
LMDBPATH = ../lmdb/lib...
LMDBINCPATH = $(LMDBPATH)

on Linux and Mac common section:
LMDBINCPATH = /usr/local/include
LMDBPATH = /usr/local/lib

I'll create new PR and close this one because I can't change the source branch.


Error: invalid expiry date

Currently I can open PTFWInitialSetupViewController successfully but when I press on the button pay now it alerts me a message of invalid expiry date, although I'm specifying them, I've tried various versions 4.0.6,4.0.1 and finally now I'm on 4.0.7 all of them having the same result, kindly find screenshot for my simulator, any thoughts of what am I missing

Best regards

@hesham91fci month 01 , year 20, is invalid expiry date.


Add mssql

similar to https://github.com/jhipster/jhipster-oh-my-zsh-plugin/pull/35

Thanks @pascalgrimaud :+1:


Skoda Enyaq support

Hi,
Do you have time to have a look at the Skoda connect API?
i will gladly support you in testing with my Enyaq running MEB 3.1.
The API is already working on home assistant but i like your design and would love to see this integrated in VWsFriend.
Nishant

Hi,
I'm also able to support testing the Enyaq, mine just got upgraded to 3.0
Thanks

Hey, I just moved i to a new house. I will Notverkauf able to develop something the next weeks.

Hi @tillsteinbach ,
If you are still interested, im ready to help you with testing this on my end!
Thanks,
Nishant

In general I’m interested, but right now I don’t have spare time to work on skoda support.

Just wanted to ask about the current status for Skoda support? I could also provide my credentials if that helps :)

I might come back to you later this year. I will get an Enyaq RS end of the year and would want to make it work with VWsFriend ofcourse.

Yes, I hope to find some time between Christmas and new year to start. I don't need credentials as I now have my own Enyaq.


Sync grid example code and other docs fixes

Sync grid example code with actual demo (02bca38)
Various documentation fixes (e2b40e5)

Indent all code blocks consistently
Add missing <figure> elements around example code
Normalize spacing before heading
Normalize unordered list syntax
Normalize code indentation to 2 spaces
And other small fixes

Thank you!


Do not change the formatting of the original GitHub pull request description

Once the "Sync GitHub Pull Requests to Azure DevOps" action runs on a pull request an AB#1234 reference is added to the end of the description and with that the original Markdown formatting of the pull request is messed up in GitHub. The original Markdown formatting should be kept.
See this PR for an example: https://github.com/intershop/intershop-pwa/pull/777

Original Message

Changes after the Action (the formatting changes happen here)

Just adding the link

ADO does not support markdown :(

The problem is not in ADO. The problem is in GitHub when adding the AD#6474 ADO reference the whole description is changed. Basically all line breaks are replaced by <br />. The same works well in your Issue sync Action. It would be nice if the Pull Request sync Action would behave the same.

I will take a look. But feel free to create a PR :)

Creating a PR is unfortunately something else then finding something is not working as expected.
The PR would be the next level. 😉

@MaxKless yeah stand by actually. This was to put in to handle line breaks and replace them with  html. But I have a library i am going to use that converts the markdown to clean html. it is working great with my other action and i am about to add it to this action.

@danhellem this seems to work very well now. Thanks a lot. 👍


Error in tvdb refiner for multi episode files

Error because episode can now be a list instead of number.
2018-01-23 20:38:21,917 ERROR Failed to refine video u'C:\\Temp\\autosubliminal\\completed\\Marvels.Agents.of.S.H.I.E.L.D.S05E01-E02.720p.HDTV.x264-AVS.mkv'
Traceback (most recent call last):
  File "c:\tools\python27\Lib\logging\handlers.py", line 76, in emit
    if self.shouldRollover(record):
  File "C:/Tools/GitHub/Auto-Subliminal\autosubliminal\logger.py", line 157, in shouldRollover
    msg = "%s\n" % self.format(record)
  File "c:\tools\python27\Lib\logging\__init__.py", line 732, in format
    return fmt.format(record)
  File "C:/Tools/GitHub/Auto-Subliminal\autosubliminal\logger.py", line 52, in format
    return super(_LogFormatter, self).format(record)
  File "c:\tools\python27\Lib\logging\__init__.py", line 471, in format
    record.message = record.getMessage()
  File "c:\tools\python27\Lib\logging\__init__.py", line 335, in getMessage
    msg = msg % self.args
TypeError: %d format: a number is required, not list
Logged from file tvdb.py, line 341

Closed since we only have single-ep for now.


Custom error messages

Thanks. ESLINT_PLUGIN_BOUNDARIES_DEBUG is very helpful.
What I else noticed, lack of context in error messages.
path\src\article\article.module.ts 9:29 warning Usage of 'service' is not allowed in 'module' boundaries/element-types

What module can be guessed from reported filename (article), but it's not clear what service until I check line 9 of the file.
I would like to see the names here, for example: Usage of User service is not allowed in Article module
Maybe add setting which will resolve 'type' to more descriptive name, e.g. setting {feature} {type} (default {type}) resolves to 'user service' and 'article module'
Originally posted by @unlight in https://github.com/javierbrea/eslint-plugin-boundaries/issues/75#issuecomment-770246255

Hi again @unlight,
Good idea! Your proposal could be used when the forbidding rule is not using captured values. Maybe for more specific rules, the message could be automatically built based on the used "capture" options.
For example, based on next configuration, the message when a component imports a module would be: Usage of 'modules' is not allowed in 'components of family foo', and maybe it could be confussing, because modules can't be used in any family of components.
{
  "settings": {
    "boundaries/elements": [
      {
        "type": "components",
        "pattern": "components/*/*",
        "capture": ["family", "elementName"],
        "message": "${type} of family ${family}"
      },
      {
        "type": "modules",
        "pattern": "module/*",
        "capture": ["elementName"]
        // Default message is "${type}"
      }
    ]
  }
  "rules": {
    "boundaries/element-types": [2, {
      // disallow importing any element by default
      "default": "disallow",
      "rules": [
        {
          "from": ["components"],
          "allow": ["components"]
        },
        {
          "from": ["modules"],
          "allow": [
            // allow importing any type of component
            "components"
          ]
        },
        {
          // when module name starts by "page-"
          "from": [["modules", { "elementName": "page-*" }]],
          "disallow": [
            // disallow importing any type of component not being of family layout
            ["components", { "family": "!layout" }]
          ]
        },
        {
          // when module name starts by "page-"
          "from": [["modules", { "elementName": "page-*" }]],
          "disallow": [
            // disallow importing any type of component not being of family layout
            ["components", { "family": "layout", "elementName": "foo-*" }]
          ]
        }
      ]
    }]
  }
}

If we try to build the message based on the capture options, it will add as much details as needed:

In helper file -> import Module from "modules/foo" -> Usage of 'modules' is not allowed in 'helpers' -> Is disallowed by default, so rule is not using captured values and only type is displayed.
In module file -> import Component from "components/atoms/foo-atom" -> Usage of components with family '!layout' is not allowed in modules with elementName 'page-*' -> Matches with third rule, that is using family in target, and elementName in from, so both are displayed.
In module file -> import Component from "components/layout/foo-layout" -> Usage of components with family 'layout' and elementName 'foo-*' is not allowed in modules with elementName 'page-*'  -> Matches with fourth rule, that is using family and elementName in target, and elementName in from.

Anyway, this can be complex to implement, and your proposal can be still a valid alternative better than the current behaviour.

Hi again @unlight, I have just implemented it this way:
From the new documentation of the element-types rule:
"This rule provides a lot of information about the specific option producing an error, so the user can have enough context to solve it.

If the error is produced because all imports are disallowed by default, and no rule is specificly allowing it, then the message provides information about the file and the dependency types and captured values: No rule allowing this dependency was found. File is of type 'components' with category 'molecules' and elementName 'molecule-c'. Dependency is of type 'modules' with domain 'domain-a' and elementName 'module-a'.
If the error is produced by a specific option, the the message includes information about the option producing it: Importing elements of type 'components' with category 'atoms' and elementName '*-a' is not allowed in elements of type 'helpers' with elementName 'helper-c'. Disallowed in rule 1"

Custom error messages can be defined also for all of the rules, or for one specific option producing an error, and templates can be used to provide information about the file or dependency types or captured values, as in:
{
  "message": "${file.type}s of category ${file.category} are not allowed to import ${dependency.category}s"
  // If the error was produced by a file with type "component" and captured value "category" being "atom", trying to import a dependency with category "molecule", the message would be:
  // "components of category atom are not allowed to import molecules"
}


Update readme with builds and such

I want to update readme with builds and how to install.

This issue was moved to Kondeo/Flyxer#8


other : Dashboard preview ACL to use user_id

Summary of Changes
Dashboard preview ACL to use user_id instead of email
Tests
Updated unit test. Integration test done.
Documentation
N/A
CheckList
Make sure you have checked all steps below to ensure a timely review.

[x] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[x] PR includes a summary of changes, including screenshots of any UI changes.
[x] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[x] In case of new functionality, my PR adds documentation that describes how to use it.

All the public python functions and the classes in the PR contain docstrings that explain what it does

[x] PR passes all tests documented in the developer guide

Codecov Report

Merging #485 into master will not change coverage.
The diff coverage is 75.00%.

@@           Coverage Diff           @@
##           master     #485   +/-   ##
=======================================
  Coverage   80.83%   80.83%
=======================================
  Files         223      223
  Lines        5510     5510
  Branches      640      640
=======================================
  Hits         4454     4454
  Misses        992      992
  Partials       64       64

Impacted Files
Coverage Δ

...dsen_application/dashboard_preview/mode_preview.py
83.33% <75.00%> (ø)

Continue to review full report at Codecov.

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


[Bug]: DOIs with special characters fail to escape them

Debug log ID
P5C8II2R-refs-euc/6.7.116-6
What happened?
A bug happened!
When using the browser add-on for Zotero to compile references for the .bib file, which is automatically reading the < and > symbols as math and is thus changing them to ${<}$ and ${>}$. That can then appear verbatim in the DOI which is used in the url.

P5C8II2R-refs-euc/6.7.116-6

I don't fully understand what you mean here. Is it correct that you mean by

When using the browser add-on for Zotero to compile references for the .bib file, which is automatically reading the < and > symbols as math and is thus changing them to ${<}$ and ${>}$.

that the Zotero browser plugin in changing the DOI to have ${<}$ in it rather than <, and that shows in Zotero? If so that would be a bug in the Zotero browser plugin, but I don't think that is what you mean, since the item in P5C8II2R-refs-euc/6.7.116-6 just has the < in it.
If you mean that the import was successful (has < in it, not ${<}$) an that the BBT export changes that to ${<}$, I can't reproduce that. For me the DOI field exports to
doi = {10.1175/1520-0485(1996)026<2712:TEOIWU>2.0.CO;2},

which is how I expect it to be.

The two options in the BBT export are to escape special characters, or to not. If the characters are not escaped, the URL works, but the reference appears broken as follows:
[cid:5d4a67ea-ae43-4cef-a464-4c7a1a39c1d2]
Alternatively, if the characters are escaped ($<$), then the URL fails, but the text itself looks correct. I can't figure out the way in which both can work simultaneously

From: Emiliano Heyns @.>
Sent: 07 September 2023 07:20
To: retorquere/zotero-better-bibtex @.>
Cc: Samuel Hartharn-Evans (PGR) @.>; Mention @.>
Subject: Re: [retorquere/zotero-better-bibtex] [Bug/Feature]: DOIs with special characters fail to escape them (Issue #2644)
⚠ External sender. Take care when opening links or attachments. Do not provide your login details.
I don't fully understand what you mean here. Is it correct that you mean by
When using the browser add-on for Zotero to compile references for the .bib file, which is automatically reading the < and > symbols as math and is thus changing them to ${<}$ and ${>}$.
that the Zotero browser plugin in changing the DOI to have ${<}$ in it rather than <, and that shows in Zotero? If so that would be a bug in the Zotero browser plugin, but I don't think that is what you mean, since the item in P5C8II2R-refs-euc/6.7.116-6 just has the < in it.
If you mean that the import was successful (has < in it, not ${<}$) an that the BBT export changes that to ${<}$, I can't reproduce that. For me the DOI field exports to
doi = {10.1175/1520-0485(1996)026<2712:TEOIWU>2.0.CO;2},
which is how I expect it to be.
—
Reply to this email directly, view it on GitHubhttps://github.com/retorquere/zotero-better-bibtex/issues/2644#issuecomment-1709541537, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANYLFVDP5PA65LV4ED6MBHTXZFRS5ANCNFSM6AAAAAA4NSXITQ.
You are receiving this because you were mentioned.Message ID: @.***>

I think you meant to include a screenshot, but if you respond by mail, github doesn't add images.

The two options in the BBT export are to escape special characters, or to not.

I don't know which option that would be? Any character that needs escaping is always escaped.

If the characters are not escaped, the URL works, but the reference appears broken as follows:
[cid:5d4a67ea-ae43-4cef-a464-4c7a1a39c1d2]

This image was not added to the comment.

Alternatively, if the characters are escaped ($<$), then the URL fails, but the text itself looks correct. I can't figure out the way in which both can work simultaneously

I really don't understand what you are explaining here. Can you perhaps just type the bib(la)tex output as you would expect/want to see?

You can add special characters in the posts here by including them in backquotes BTW, like so:
Alternatively, if the characters are escaped (`$<$`), then the URL

As it stands I don't have enough information to address your question.

closing for inactivity


Editor feature that spans multiple cells

Right now if I do an alt-click (or ctrl-d) in the notebook extension it behaves just like the regular editor within a single cell.  However, my workflow often involves using multi-select throughout a notebook because I have the same variable/whatever repeated in multiple cells near each other, but not in the same cell.  It would be extremely useful if there was a way to make multi-cursor selections span multiple cells.
In fact, my work flow right now is to open a notebook in text only mode and use multi-select there with the jupyterlab interface open in a browser window. With this feature implemented I could dispense with the headaches of saving and reloading there and have it all in one vscode interface.

Supporting this across cells is a core Code issue to solve.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

@Yoyokrazy do you think this would be included in the backlog at some point ? I think it's important but super difficult to search for it ; took me multiple tries and I almost opened a new one. So it's very tough for other people to find and upvote.
Cheers !

Updates from an initial exploration into this:
cc/ @rebornix
Basic work has been done to explore this concept of multiple selections across multiple cells. Initially there was thought surrounding alt-click multi-cursor implementation, however a number of unknowns will make that an increasingly complex issue to solve. The standard monaco editor performs hit tests and detection to properly place secondary cursors, and the logic to implement that in a notebook editor with a number of editors in a list view would be overly complex to begin with.
The initial work has gone with the approach of creating a cmd+d multiselect action that overrides the standard code editor action. This action will only be enabled with a tight when clause, and allow the user to find and select multiple occurrences throughout multiple cells of the notebook.

More thoughts, but bulleted:

Finding matches

initially I was going to use the NotebookFind model, however a lot of the implementation details for this are unnecessary and bring complexity to this that just isn't needed
textBuffer is a lot lighter weight, and is very easily accessed thanks to the NotebookTextModel holding the buffer attached to each of its cellTextModels
can easily iterate over cells using the Notebook text model, letting you find matches in editors outside of the viewport, and using the NotebookEditor it's not difficult to get the cellViewModel and then focus the cell and selection within.

Tracking Matches

Matches are cells containing occurrences of the word that cmd+d was initially triggered upon, and are all tracked on the NotebookMultiCursorController (one per notebook)
They take the following shape

interface TrackedMatch {
	cellViewModel: ICellViewModel;
	selections: Selection[];
	config: IEditorConfiguration;
	decorationIds: string[];
}

we store the config to address polyglot notebooks, as later in the editing state we will need to spin up cursorsControllers per tracked cell, and they need an editorConfig. Since this can be different across languages, caching this per tracked cell is convenient.
cellViewModel is stored to allow easy selection application, focusing, and also decoration management.
if there are multiple occurrences in a single cell, that's just one tracked match, but with updated selections

Decorations

Due to editor widgets being blurred as they aren't focused, cursors at the end of selections are lost and selection highlighting is dimmed -- making it difficult to tell when you are really in this notebook multi selection mode
solution to this was to highlight matches with a fairly obvious decoration (bright fuchsia at the moment...) as you traverse cells and find matches
once editing begins, the decoration shortens to just a mock cursor at the editing point, to signify still being in the editing mode of the multi selection controller

Anchor Cell

This is a concept that allows editing to happen, as we need to be catching things like typing events in order to properly have them take effect in other editors.
Each time there is a match tracked in a new cell, this active cell will become the new anchor. With the new anchor cell, there will be updated cursorControllers (since we should not create one for the active cell, it inherently already has one), and listeners are disposed of and recreated for this anchor

Editing

This is the crux of the issue, namely stemming from editors and textmodels being disposed off the viewport of the cell list view
Currently supported is only basic typing (not including backspace yet), as this can be accomplished by just creating a new CursorsController per tracked cell, and feeding it the selections from the TrackedMatch that it's associated with.
We also create text model refs before creating cursorControllers, as we need to resolve these for cells that are off the viewport

Event Relays

This is currently the thought for how to handle non-core editor commands. This would include things like moving entire lines with something like alt+arrow, and commenting lines out with ctrl+/
There's an issue here, as these editor commands take the selection from the cell that would do the relaying (ie the anchor cell) and apply the command based on that. However, since the goal would be to support cells not on the viewport, that would create issues as those editors are disposed
currently @rebornix has done some work with preserving editors outside of the viewport, however this is currently scoped to just preserve the focused/active editor (meaning you can type in an offscreen cell), potentially could be used to just preserve all editors? Then this could potentially avoid relaying events to other cells, as we could just get the editor itself

perf implications would have to be thought about, but could take an early next step and maybe just impose a pseudo arbitrary limitation of x amount of preserved cells

Todo tasks:

[ ] decoration polish

a better system than highlighting matches in bright pink as you traverse cells
ideally with css we can mock a fake cursor in non-focused cells, can likely be done with some simple animation and the current size/shape

[ ] Support for basic core commands

this includes cut/paste/deleteLeft(backspace)/compositions

[ ] Support for editor commands

will require relaying the CodeEditorWidget event for onTrigger and then passing along the associated id and payload

[ ] Undo/Redo stack

intelligently pushing undo/redo elements to allow undo/redo for the same chunks across multiple cells on/off the viewport

Closing this as completed, the core functionality is present in stable. If bugs are found or more features are requested, they should be filed in new issues.


How to Generate mask of background to inpaint background

Can you give me command
I am interested in several options
Mask of object
So the object is white and background is black or opposite doesn't matter
Having an option to make borders of the object mixed colors so it can blend better when inpainting
Having option to  expand borders inner or outer
Thank you so much
My aim is inpainting background of given object with masking

Hello, @FurkanGozukara.
First of all, I want to keep this package as simple as possible, so other than removing background and its simple use-case scenarios related to the background removal, I would like to recommend using our package as a python API. Here are script that you might want.
1. Mask of background
import cv2
import numpy as np

from PIL import Image
from transparent_background import Remover

remover = Remover()

img = Image.open('samples/aeroplane.jpg').convert('RGB')

out = remover.process(img, type='map')
out_bg = Image.fromarray(255 - np.array(out))

out_bg.save('output_bg.png')

Result of above script

Input (areoplane.jpg)
Output (output_bg.png)

2. Blur the border
import cv2
import numpy as np

from PIL import Image
from transparent_background import Remover

remover = Remover()

img = Image.open('samples/aeroplane.jpg').convert('RGB')

out = remover.process(img, type='map')

kernel_size = 10 # change this value to increase thickness of blurred edge
kernel = cv2.getStructuringElement(cv2.MORPH_ELLIPSE, (kernel_size, kernel_size))

out_bd = cv2.dilate(np.array(out), kernel, iterations=1) - cv2.erode(np.array(out), kernel, iterations=1)
Image.fromarray(out_bg).save('output_bd.png')

img = np.array(img)
out_bblur = img * (1 - out_bd / 255) + cv2.GaussianBlur(img, (0, 0), 15) * (out_bd / 255)
Image.fromarray(out_bblur.astype(np.uint8)).save('output_bblur.png')

Input (areoplane.jpg)
Border (output_bd.png)
Output (output_bblur.png)

3. Adjusting border inner and outer
import cv2
import numpy as np

from PIL import Image
from transparent_background import Remover

remover = Remover()

img = Image.open('samples/aeroplane.jpg').convert('RGB')

out = remover.process(img, type='map')

kernel_size = 10 # change this value to increase thickness of blurred edge
kernel = cv2.getStructuringElement(cv2.MORPH_ELLIPSE, (kernel_size, kernel_size))

out_dilate = cv2.dilate(np.array(out), kernel, iterations=1)
out_erode = cv2.erode(np.array(out), kernel, iterations=1)

Image.fromarray(out_dilate).save('output_dilate.png')
Image.fromarray(out_erode).save('output_erode.png')

Input (areoplane.jpg)
Expanded (output_dilate.png)
Reduced (output_erode.png)

Hope this help 😄

@plemeri thank you so much you are amazing
Usually people don't even reply :)

Dear @plemeri second step gave this error any ideas why?
I did a fresh Python 3.10 venv and installed with pip

The error does not occur on my side. Try Image.fromarray((out_bg).astype(np.uint8)).save('1_map.png') instead.
On Sep 28, 2023, at 7:06 AM, Furkan Gözükara @.***> wrote:
Dear @plemerihttps://github.com/plemeri second step gave this error any ideas why?
I did a fresh Python 3.10 venv and installed with pip
[image]https://user-images.githubusercontent.com/19240467/271126673-83b1b8b3-0fa3-4fe3-982f-236485049ef2.png
—
Reply to this email directly, view it on GitHubhttps://github.com/plemeri/transparent-background/issues/31#issuecomment-1738139462, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJXFXTHC7ZTAEKQ6YFLF2B3X4SPMRANCNFSM6AAAAAA5IF6NHU.
You are receiving this because you were mentioned.Message ID: @.***>

The error does not occur on my side. Try Image.fromarray((out_bg).astype(np.uint8)).save('1_map.png') instead. On Sep 28, 2023, at 7:06 AM, Furkan Gözükara @.> wrote: Dear @plemerihttps://github.com/plemeri second step gave this error any ideas why? I did a fresh Python 3.10 venv and installed with pip [image]https://user-images.githubusercontent.com/19240467/271126673-83b1b8b3-0fa3-4fe3-982f-236485049ef2.png — Reply to this email directly, view it on GitHub<#31 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJXFXTHC7ZTAEKQ6YFLF2B3X4SPMRANCNFSM6AAAAAA5IF6NHU. You are receiving this because you were mentioned.Message ID: @.>

he has a variable name error there
i noticed and fixed but cant find it right now 4 am here :d


OGA 1.1 - EmulationStation crash in main menu (std::out_of_range)

Describe the Issue (If applicable)
After a fresh installation pressing right or left shoulder buttons in main menu leads to EmulationStation crash and restart. Navigation with Up or Down buttons if fine. Navigtion with shoulder buttons in submenu (e.g. "options") is fine too.
How can the issue be reproduced? (If applicable)
In EmulationStation main menu press left shoulder button (once) or right shoulder button (several times).
What device are you using?
ODROID-GO Advance Black Edition https://www.hardkernel.com/shop/odroid-go-advance-black-edition-clear-white/
What version of ArkOS are you on?
ArkOS 2.0 07012022
Anything else you'd like to include that may help to review this issue or feature request?
L shoulder button:
ark@rgb10:~$ /usr/bin/emulationstation/emulationstation
librga:RGA_GET_VERSION:4.00,4.000000
ctx=0x55752b2490,ctx->rgaFd=3
Rga built version:version:+2017-09-28 10:12:42
EGL: major=1, minor=4
EGL: Vendor=ARM
EGL: Version=1.4 Bifrost-"r13p0-01rel0"
EGL: ClientAPIs=OpenGL_ES
EGL: Extensions=EGL_KHR_partial_update EGL_EXT_image_dma_buf_import EGL_KHR_config_attribs EGL_KHR_image EGL_KHR_image_base EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_KHR_gl_colorspace EGL_KHR_get_all_proc_addresses EGL_IMG_context_priority EGL_KHR_no_config_context EGL_EXT_pixel_format_float EGL_ARM_pixmap_multisample_discard EGL_ARM_implicit_external_sync EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_KHR_gl_texture_cubemap_image EGL_EXT_create_context_robustness
EGL: ClientExtensions=EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_platform_gbm

terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check: __n (which is<PHONE_NUMBER>3709551613) >= this->size() (which is 7)
Aborted

R shoulder button:
...
terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check: __n (which is 9) >= this->size() (which is 7)
Aborted

Yes.  It's a known issue with ES and doesn't occur once games are loaded.


Adopt semantic release.

https://github.com/semantic-release
https://github.com/relekang/python-semantic-release

Closed by https://github.com/dry-python/stories/pull/273


How do you recover from errors in resources?

We run into this situation in simulacrum where we are starting multiple servers, and allowing the port to be configured, but if multiple processes select the same port, then the server resource fails, and there isn't a really good way to recover from it, so the entire server ends up crashing.
How would you even recover from this? I can think of a couple of options. One way would be to have some operation that funnelled (and allowed you to catch) all errors coming to a task from itself:
import { run, self } from 'effection';

run(function*() {
  yield createResourceOne();
  yield createResourceTwo();

  try {
    yield self;
  } catch (error) {
    console.log('error occured');
  }
});

Another might be to establish a "trap" for specific tasks:
import { run, trap } from 'effectcion'

run(function*() {
  let one = yield createResourceOne();
  let two = yield createResourceTwo();

  try {
    yield trap(one, two);
  } catch (error) {
    console.log('error occured');
  }
});

That would allow handling specific errors from one resource but not the other by just not saying that you want to trap it.

🤦🏻 Of course!
I think that documenting the error boundary is a great solution in that it requires zero extra implementation. I was even aware of this pattern, but it was not obvious how to embed it into simulacrum.
As for supervisors, I think that we can implement supervisors at the library level without the need for extending the runtime. For example, here is a naïve implementation of Erlang's one_for_all restart strategy that restarts an entire group of operations if any one of them fails (for simplicity, there is no restart intensity).
function* oneForAll(...operations: Operation<unknown>[]): Operation<void> {
    restart:
    try {
      yield function* errorBoundary() {
        for (let operation of operations) {
          yield spawn(operation);
        }
        yield;
      }
     } catch (error) {
       console.error(error);
       break restart;
    }
}


future roadmap of process customization scripts

I'd like to know if https://github.com/microsoft/process-customization-scripts is compatible/properly working with Visual Studio 2019 libraries released by Microsoft on May 24th 2019 ? In other words, will these scripts work with DevOps 2020? Will these scripts be replaced by some other new scripts or by some new integrated functionality in DevOps 2020?
In essence I'd like to know the future roadmap of these scripts.
Thanks
Francesco Sclano

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

ID: 20e7fb4b-29e6-95b4-001c-7cffd985039d
Version Independent ID: 24d7d477-d998-7544-a8f4-456f37698408
Content: Validation of process templates for migration import from https://marketplace.visualstudio.com/items?itemName=ms.feed# to Azure DevOps Services - Azure DevOps
Content Source: docs/migrate/migration-processtemplates.md
Product: devops
Technology: devops-migrate
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@FrancescoSclano - Thank you for your inquiry. Please contact this email<EMAIL_ADDRESS>for questions about the scripts. THere are no plans to replace these scripts at this time and they should work for Azure DevOps 2020.  I'm not sure what the scripts have to do with Visual Studio 2019 libraries released by Microsoft on May 24th 2019.  These scripts are used on process templates for Azure DevOps Server.


ARROW-8629: [Rust] Eliminate indirection of zero sized allocations

Solves UB passing through OS.
Improves performance by removing indirections at intermediate array builds. (Increases throughput and decreases latency)

Click to see Benchmark Output!
add 512                 time:   [18.299 us 18.416 us 18.542 us]
                      change: [+0.7553% +1.9764% +3.0260%] (p = 0.00 < 0.05)
                      Change within noise threshold.
Found 2 outliers among 100 measurements (2.00%)
1 (1.00%) high mild
1 (1.00%) high severe

add 512 simd            time:   [15.412 us 15.521 us 15.642 us]
                      change: [-2.2152% -0.7069% +0.7204%] (p = 0.36 > 0.05)
                      No change in performance detected.
Found 3 outliers among 100 measurements (3.00%)
2 (2.00%) high mild
1 (1.00%) high severe

subtract 512            time:   [17.845 us 17.941 us 18.033 us]
                      change: [-3.4447% -2.3703% -1.3902%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 4 outliers among 100 measurements (4.00%)
2 (2.00%) high mild
2 (2.00%) high severe

subtract 512 simd       time:   [15.237 us 15.359 us 15.499 us]
                      change: [-3.2620% -0.8411% +1.0491%] (p = 0.49 > 0.05)
                      No change in performance detected.
Found 7 outliers among 100 measurements (7.00%)
5 (5.00%) high mild
2 (2.00%) high severe

multiply 512            time:   [17.737 us 17.854 us 17.991 us]
                      change: [-3.8368% -2.6758% -1.4903%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 6 outliers among 100 measurements (6.00%)
1 (1.00%) high mild
5 (5.00%) high severe

multiply 512 simd       time:   [15.158 us 15.331 us 15.536 us]
                      change: [-3.5028% -1.6229% +0.4772%] (p = 0.15 > 0.05)
                      No change in performance detected.
Found 9 outliers among 100 measurements (9.00%)
1 (1.00%) high mild
8 (8.00%) high severe

divide 512              time:   [18.429 us 18.563 us 18.697 us]
                      change: [-1.6791% -0.2733% +1.1091%] (p = 0.70 > 0.05)
                      No change in performance detected.
Found 23 outliers among 100 measurements (23.00%)
8 (8.00%) low mild
8 (8.00%) high mild
7 (7.00%) high severe

divide 512 simd         time:   [16.719 us 16.799 us 16.884 us]
                      change: [-2.6393% -1.7489% -0.9737%] (p = 0.00 < 0.05)
                      Change within noise threshold.
Found 1 outliers among 100 measurements (1.00%)
1 (1.00%) high severe

sum 512 no simd         time:   [8.1375 us 8.1648 us 8.1968 us]
                      change: [-4.7533% -3.5008% -2.0949%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 6 outliers among 100 measurements (6.00%)
3 (3.00%) high mild
3 (3.00%) high severe

limit 512, 256 no simd  time:   [7.6325 us 7.6738 us 7.7205 us]
                      change: [-1.1158% +0.6820% +2.4545%] (p = 0.46 > 0.05)
                      No change in performance detected.
Found 4 outliers among 100 measurements (4.00%)
2 (2.00%) high mild
2 (2.00%) high severe

limit 512, 512 no simd  time:   [7.6268 us 7.6679 us 7.7144 us]
                      change: [-1.9252% +0.2950% +2.5081%] (p = 0.81 > 0.05)
                      No change in performance detected.
Found 3 outliers among 100 measurements (3.00%)
1 (1.00%) high mild
2 (2.00%) high severe

   Running /Users/mahmut/projects/arrow/rust/target/release/deps/array_from_vec-cc4617b21b5f717d
array_from_vec 128      time:   [867.08 ns 878.05 ns 890.59 ns]
                      change: [-4.2805% -1.7058% +0.6140%] (p = 0.21 > 0.05)
                      No change in performance detected.
Found 5 outliers among 100 measurements (5.00%)
2 (2.00%) high mild
3 (3.00%) high severe

array_from_vec 256      time:   [972.12 ns 979.21 ns 986.07 ns]
                      change: [-4.5408% -2.1099% +0.5039%] (p = 0.11 > 0.05)
                      No change in performance detected.
Found 3 outliers among 100 measurements (3.00%)
3 (3.00%) high severe

array_from_vec 512      time:   [1.2980 us 1.3059 us 1.3137 us]
                      change: [-5.8054% -2.8723% +0.0052%] (p = 0.05 > 0.05)
                      No change in performance detected.
Found 7 outliers among 100 measurements (7.00%)
1 (1.00%) low mild
2 (2.00%) high mild
4 (4.00%) high severe

   Running /Users/mahmut/projects/arrow/rust/target/release/deps/boolean_kernels-4f1add90b9dd7b4c
and                     time:   [46.317 us 46.515 us 46.730 us]
                      change: [-3.8904% -1.6471% +0.6492%] (p = 0.21 > 0.05)
                      No change in performance detected.
Found 5 outliers among 100 measurements (5.00%)
1 (1.00%) high mild
4 (4.00%) high severe

and simd                time:   [10.781 us 10.852 us 10.938 us]
                      change: [-11.091% -9.3126% -7.3149%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 5 outliers among 100 measurements (5.00%)
2 (2.00%) high mild
3 (3.00%) high severe

or                      time:   [46.131 us 46.346 us 46.582 us]
                      change: [-10.908% -8.7461% -6.1048%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 8 outliers among 100 measurements (8.00%)
3 (3.00%) high mild
5 (5.00%) high severe

or simd                 time:   [10.728 us 10.783 us 10.844 us]
                      change: [-12.225% -10.449% -8.7204%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 6 outliers among 100 measurements (6.00%)
5 (5.00%) high mild
1 (1.00%) high severe

not                     time:   [25.311 us 25.406 us 25.512 us]
                      change: [-14.527% -12.309% -9.2841%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 5 outliers among 100 measurements (5.00%)
2 (2.00%) high mild
3 (3.00%) high severe

not simd                time:   [5.6415 us 5.6910 us 5.7399 us]
                      change: [-8.8171% -6.8428% -4.7340%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 11 outliers among 100 measurements (11.00%)
6 (6.00%) high mild
5 (5.00%) high severe

   Running /Users/mahmut/projects/arrow/rust/target/release/deps/builder-6a49123b1fedb178
bench_primitive         time:   [334.25 us 337.08 us 340.41 us]
                      thrpt:  [11.475 GiB/s 11.588 GiB/s 11.687 GiB/s]
               change:
                      time:   [-11.214% -6.6152% -2.5522%] (p = 0.00 < 0.05)
                      thrpt:  [+2.6191% +7.0838% +12.630%]
                      Performance has improved.
Found 12 outliers among 100 measurements (12.00%)
4 (4.00%) high mild
8 (8.00%) high severe

   Running /Users/mahmut/projects/arrow/rust/target/release/deps/cast_kernels-fe4a160bda20f75b
cast int32 to int32 512 time:   [674.87 ns 677.20 ns 679.66 ns]
                      change: [-4.9499% -2.4753% +1.3820%] (p = 0.07 > 0.05)
                      No change in performance detected.
Found 7 outliers among 100 measurements (7.00%)
3 (3.00%) high mild
4 (4.00%) high severe

cast int32 to uint32 512
                      time:   [13.541 us 13.629 us 13.734 us]
                      change: [-10.276% -7.0629% -3.5614%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 8 outliers among 100 measurements (8.00%)
4 (4.00%) high mild
4 (4.00%) high severe

cast int32 to float32 512
                      time:   [13.871 us 13.967 us 14.085 us]
                      change: [-6.5555% -3.4718% -0.4564%] (p = 0.02 < 0.05)
                      Change within noise threshold.
Found 6 outliers among 100 measurements (6.00%)
3 (3.00%) high mild
3 (3.00%) high severe

cast int32 to float64 512
                      time:   [13.864 us 13.918 us 13.978 us]
                      change: [-9.2226% -7.3604% -5.0705%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 8 outliers among 100 measurements (8.00%)
1 (1.00%) high mild
7 (7.00%) high severe

cast int32 to int64 512 time:   [13.957 us 14.068 us 14.199 us]
                      change: [-12.117% -10.875% -9.5831%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 8 outliers among 100 measurements (8.00%)
4 (4.00%) high mild
4 (4.00%) high severe

cast float32 to int32 512
                      time:   [14.655 us 14.715 us 14.783 us]
                      change: [-17.597% -15.300% -12.720%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 6 outliers among 100 measurements (6.00%)
2 (2.00%) high mild
4 (4.00%) high severe

cast float64 to float32 512
                      time:   [15.287 us 15.536 us 15.815 us]
                      change: [-6.1582% -4.8992% -3.6371%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 21 outliers among 100 measurements (21.00%)
1 (1.00%) low severe
5 (5.00%) low mild
5 (5.00%) high mild
10 (10.00%) high severe

cast float64 to uint64 512
                      time:   [14.915 us 15.027 us 15.145 us]
                      change: [-12.399% -10.036% -8.1195%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mild

cast int64 to int32 512 time:   [13.810 us 13.924 us 14.058 us]
                      change: [-7.0986% -4.1922% -1.6775%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 6 outliers among 100 measurements (6.00%)
2 (2.00%) high mild
4 (4.00%) high severe

cast date64 to date32 512
                      time:   [16.246 us 16.344 us 16.439 us]
                      change: [-5.0859% -2.4719% -0.2628%] (p = 0.05 < 0.05)
                      Change within noise threshold.
Found 12 outliers among 100 measurements (12.00%)
2 (2.00%) low mild
3 (3.00%) high mild
7 (7.00%) high severe

cast date32 to date64 512
                      time:   [15.791 us 15.882 us 15.976 us]
                      change: [-5.0716% -2.9360% -1.2361%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 3 outliers among 100 measurements (3.00%)
2 (2.00%) low mild
1 (1.00%) high severe

cast time32s to time32ms 512
                      time:   [2.0995 us 2.1090 us 2.1177 us]
                      change: [-0.8536% +0.4528% +1.6874%] (p = 0.50 > 0.05)
                      No change in performance detected.
Found 2 outliers among 100 measurements (2.00%)
1 (1.00%) low mild
1 (1.00%) high severe

cast time32s to time64us 512
                      time:   [16.979 us 17.082 us 17.196 us]
                      change: [-2.1463% -0.3436% +1.1561%] (p = 0.71 > 0.05)
                      No change in performance detected.
Found 15 outliers among 100 measurements (15.00%)
4 (4.00%) low mild
7 (7.00%) high mild
4 (4.00%) high severe

cast time64ns to time32s 512
                      time:   [18.235 us 18.339 us 18.448 us]
                      change: [-5.2148% -3.9091% -2.6382%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mild

Benchmarking cast timestamp_ns to timestamp_s 512: Collecting 100 samples in estimated 5.0018 s (6.1M iterati                                                                                cast timestamp_ns to timestamp_s 512
                      time:   [818.85 ns 824.05 ns 829.93 ns]
                      change: [+6.0716% +8.1383% +10.818%] (p = 0.00 < 0.05)
                      Performance has regressed.
Found 17 outliers among 100 measurements (17.00%)
3 (3.00%) high mild
14 (14.00%) high severe

Benchmarking cast timestamp_ms to timestamp_ns 512: Collecting 100 samples in estimated 5.0134 s (1.8M iterat                                                                                cast timestamp_ms to timestamp_ns 512
                      time:   [2.8115 us 2.8219 us 2.8330 us]
                      change: [+0.3325% +2.0477% +3.6332%] (p = 0.01 < 0.05)
                      Change within noise threshold.
Found 7 outliers among 100 measurements (7.00%)
3 (3.00%) high mild
4 (4.00%) high severe

cast timestamp_ms to i64 512
                      time:   [1.2090 us 1.2182 us 1.2280 us]
                      change: [-2.0055% -0.0832% +1.4288%] (p = 0.93 > 0.05)
                      No change in performance detected.
Found 3 outliers among 100 measurements (3.00%)
1 (1.00%) high mild
2 (2.00%) high severe

   Running /Users/mahmut/projects/arrow/rust/target/release/deps/comparison_kernels-37b960b99ca4c83f
eq 512                  time:   [20.573 us 20.680 us 20.786 us]
                      change: [-5.0693% -2.6875% -0.9950%] (p = 0.00 < 0.05)
                      Change within noise threshold.
Found 5 outliers among 100 measurements (5.00%)
5 (5.00%) high mild

eq 512 simd             time:   [20.218 us 20.344 us 20.487 us]
                      change: [-2.8292% -1.7114% -0.7110%] (p = 0.00 < 0.05)
                      Change within noise threshold.
Found 7 outliers among 100 measurements (7.00%)
2 (2.00%) high mild
5 (5.00%) high severe

neq 512                 time:   [20.521 us 20.695 us 20.898 us]
                      change: [+2.7209% +4.1109% +5.4791%] (p = 0.00 < 0.05)
                      Performance has regressed.
Found 13 outliers among 100 measurements (13.00%)
6 (6.00%) high mild
7 (7.00%) high severe

neq 512 simd            time:   [19.760 us 19.897 us 20.065 us]
                      change: [-1.4355% +0.4660% +2.3438%] (p = 0.64 > 0.05)
                      No change in performance detected.
Found 12 outliers among 100 measurements (12.00%)
7 (7.00%) high mild
5 (5.00%) high severe

lt 512                  time:   [19.709 us 19.779 us 19.854 us]
                      change: [-4.9646% -2.4118% -0.0782%] (p = 0.05 < 0.05)
                      Change within noise threshold.
Found 8 outliers among 100 measurements (8.00%)
6 (6.00%) high mild
2 (2.00%) high severe

lt 512 simd             time:   [19.849 us 20.042 us 20.250 us]
                      change: [-2.6799% -0.3414% +2.3032%] (p = 0.81 > 0.05)
                      No change in performance detected.
Found 6 outliers among 100 measurements (6.00%)
2 (2.00%) high mild
4 (4.00%) high severe

lt_eq 512               time:   [21.172 us 21.398 us 21.670 us]
                      change: [-1.5189% +0.7017% +2.6062%] (p = 0.53 > 0.05)
                      No change in performance detected.
Found 8 outliers among 100 measurements (8.00%)
7 (7.00%) high mild
1 (1.00%) high severe

lt_eq 512 simd          time:   [20.667 us 20.881 us 21.119 us]
                      change: [-1.2254% +1.6209% +4.2936%] (p = 0.26 > 0.05)
                      No change in performance detected.
Found 12 outliers among 100 measurements (12.00%)
3 (3.00%) high mild
9 (9.00%) high severe

gt 512                  time:   [20.677 us 20.865 us 21.080 us]
                      change: [+0.4445% +2.8196% +4.6280%] (p = 0.00 < 0.05)
                      Change within noise threshold.
Found 13 outliers among 100 measurements (13.00%)
2 (2.00%) low mild
3 (3.00%) high mild
8 (8.00%) high severe

gt 512 simd             time:   [20.205 us 20.376 us 20.572 us]
                      change: [+1.1167% +3.5786% +6.4322%] (p = 0.00 < 0.05)
                      Performance has regressed.
Found 7 outliers among 100 measurements (7.00%)
1 (1.00%) high mild
6 (6.00%) high severe

gt_eq 512               time:   [20.388 us 20.457 us 20.530 us]
                      change: [-2.0628% -0.1724% +1.9895%] (p = 0.89 > 0.05)
                      No change in performance detected.
Found 7 outliers among 100 measurements (7.00%)
2 (2.00%) low mild
2 (2.00%) high mild
3 (3.00%) high severe

gt_eq 512 simd          time:   [20.050 us 20.158 us 20.266 us]
                      change: [-2.9668% -0.9237% +1.2537%] (p = 0.41 > 0.05)
                      No change in performance detected.
Found 4 outliers among 100 measurements (4.00%)
1 (1.00%) high mild
3 (3.00%) high severe

   Running /Users/mahmut/projects/arrow/rust/target/release/deps/csv_writer-8ba12ecd5b1b7b63
record_batches_to_csv   time:   [219.15 us 223.37 us 228.97 us]
                      change: [-8.1368% -4.7450% -1.1190%] (p = 0.01 < 0.05)
                      Performance has improved.
Found 8 outliers among 100 measurements (8.00%)
5 (5.00%) high mild
3 (3.00%) high severe

   Running /Users/mahmut/projects/arrow/rust/target/release/deps/take_kernels-25a2e28970e1415d
take u8 256             time:   [19.674 us 19.728 us 19.787 us]
                      change: [-11.093% -8.4831% -5.6285%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 7 outliers among 100 measurements (7.00%)
4 (4.00%) high mild
3 (3.00%) high severe

take u8 512             time:   [37.091 us 37.422 us 37.802 us]
                      change: [-6.8020% -4.5601% -1.5989%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 8 outliers among 100 measurements (8.00%)
4 (4.00%) high mild
4 (4.00%) high severe

take u8 1024            time:   [70.986 us 71.458 us 71.997 us]
                      change: [-3.7991% -1.7970% +1.2059%] (p = 0.14 > 0.05)
                      No change in performance detected.
Found 5 outliers among 100 measurements (5.00%)
2 (2.00%) high mild
3 (3.00%) high severe

take i32 256            time:   [19.762 us 19.829 us 19.901 us]
                      change: [-6.3630% -4.4731% -2.2024%] (p = 0.00 < 0.05)
                      Performance has improved.
Found 9 outliers among 100 measurements (9.00%)
2 (2.00%) high mild
7 (7.00%) high severe

take i32 512            time:   [37.087 us 37.233 us 37.401 us]
                      change: [-2.8627% -1.0442% +1.0592%] (p = 0.33 > 0.05)
                      No change in performance detected.
Found 6 outliers among 100 measurements (6.00%)
1 (1.00%) high mild
5 (5.00%) high severe

take i32 1024           time:   [72.893 us 73.715 us 74.699 us]
                      change: [-1.8626% +0.0693% +2.4955%] (p = 0.95 > 0.05)
                      No change in performance detected.
Found 11 outliers among 100 measurements (11.00%)
7 (7.00%) high mild
4 (4.00%) high severe

take bool 256           time:   [22.519 us 22.696 us 22.885 us]
                      change: [-0.4679% +1.0003% +3.4266%] (p = 0.39 > 0.05)
                      No change in performance detected.
Found 22 outliers among 100 measurements (22.00%)
8 (8.00%) low severe
6 (6.00%) low mild
5 (5.00%) high mild
3 (3.00%) high severe

take bool 512           time:   [41.304 us 41.471 us 41.654 us]
                      change: [-3.0177% -1.0061% +1.3302%] (p = 0.44 > 0.05)
                      No change in performance detected.
Found 5 outliers among 100 measurements (5.00%)
2 (2.00%) high mild
3 (3.00%) high severe

take bool 1024          time:   [80.453 us 80.677 us 80.919 us]
                      change: [-2.8769% -0.7005% +2.0128%] (p = 0.63 > 0.05)
                      No change in performance detected.
Found 9 outliers among 100 measurements (9.00%)
2 (2.00%) high mild
7 (7.00%) high severe

@sunchao rebased.

@vertexclique hmm I'm seeing multiple tests failing:
---- ipc::reader::tests::read_generated_streams stdout ----
thread 'ipc::reader::tests::read_generated_streams' panicked at 'memory not aligned', arrow/src/buffer.rs:165:9

---- ipc::reader::tests::read_generated_files stdout ----
thread 'ipc::reader::tests::read_generated_files' panicked at 'memory not aligned', arrow/src/buffer.rs:165:9

---- ipc::writer::tests::read_and_rewrite_generated_streams stdout ----
thread 'ipc::writer::tests::read_and_rewrite_generated_streams' panicked at 'memory not aligned', arrow/src/buffer.rs:165:9

---- ipc::writer::tests::read_and_rewrite_generated_files stdout ----
thread 'ipc::writer::tests::read_and_rewrite_generated_files' panicked at 'memory not aligned', arrow/src/buffer.rs:165:9

these seem related. Could you take a look? Thanks.

@vertexclique Looks like a formatting issue needs to be resolved:
Diff in /arrow/rust/arrow/src/memory.rs at line 28:
 /// As you can see this is global and lives as long as the program lives.
 /// Be careful to not write anything to this pointer in any scenario.
 /// If you use allocation methods shown here you won't have any problems.
-const BYPASS_PTR: NonNull<u8> =
-    unsafe { NonNull::new_unchecked(ALIGNMENT as *mut u8) };
+const BYPASS_PTR: NonNull<u8> = unsafe { NonNull::new_unchecked(ALIGNMENT as *mut u8) };

 pub fn allocate_aligned(size: usize) -> *mut u8 {
     unsafe {

I have addressed the comments and formatting problems.


#7227: Add Unet ttnn implementation

This is a draft PR for the Unet implementation.

The Unet implementation is part of the #8421 PR. This is a duplicate PR. It can be closed.


cluster-command multiple uses in a short time frame causes port 22 to close

cluster-command multiple uses in a short time frame causes port 22 to close
Need to review two.cptx86.com ssh settings in /etc/ssh/sshd_config
ssh is set this way to protect against break in attempts

This issue is caused by the way I setup /etc/ssh/sshd_confg
review this during testing because I do not think this is a bug but a configuration setting.
Set the maximum number of concurrent unauthenticated (pending) login connections to the SSH daemon on the test computer system.  Additional concurrent unauthenticated login connections will be dropped until authentication completes or the LoginGraceTime expires.  Enable random early drop concurrent unauthenticated login connections by entering three values separated by colon (start:rate:full).  SSH daemon will refuse connection attempts with a probability of 'rate/100'.  The probability increases linearly and all concurrent unauthenticated login connections are denied when 'full' is reached with the message 'ssh_exchange_identification: Connection closed by remote host'.  Add the following line, which allows two concurrent unauthenticated login connections.  Between the third and eighth concurrent unauthenticated login connection the SSH daemon will start randomly dropping connections from 33% up to 100% at the eighth concurrent unauthenticated login connection.
MaxStartups 2:33:8

do not use sudo ufw limit ssh


Apps should not use simulated italic or bold glyph data when displaying a colour glyph

Especially for COLR v1, simulated italic or bold could badly distort the appearance of a colour glyph (much more so than simulated italic/bold for BW glyphs).

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

ID: f4347847-3b1a-3078-4619-daf2802f2411
Version Independent ID: f4347847-3b1a-3078-4619-daf2802f2411
Content: COLR - Color Table (OpenType 1.9) - Typography
Content Source: typographydocs/opentype/otspec190/colr.md
Product: typography
GitHub Login: @PeterCon
Microsoft Alias: alib

Added qualified wording recommending against using simulations designed for non-color glyph rendering.

Addressed in OpenType 1.9. Closing.


drilldown with dropdown has white space if load on small screen

So I want to have dropdown for medium and bigger devices and drilldown for small devices.
How can we reproduce this bug?

Load the codepen on an window that is <600 px ( first resize your window to < 600px and then load the codepen)
The responsive menu has a lot of white space for unkown reason

What did you expect to happen?
Normal menu to appear.
What happened instead?
White space showed.

CodePen with the issue

@AlexAlexandru This problem is because you have added the is-dropdown-submenu-parent classes directly to the menu. If you remove these the menu works just fine - [https://codepen.io/brettsmason/pen/wzqrYv](see here). Those classes are added dynamically by the JavaScript so you don't need to manually add them.
I'm going to close this, but any further problems please let us know.


error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

Just recently I started getting the following error:
It seems like pod install is not executed so Pods/Manifest.lock is not there
▸ Check Dependencies
    ignoring recursive header expansion for path '/**'
▸ Running script '[CP] Check Pods Manifest.lock'
❌  error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
Last lines of the Xcode's build log:
    /bin/sh -c /Users/vagrant/Library/Developer/Xcode/DerivedData/IvyspaceStudent-hfxlppfptdptgnedaidofsyfquaw/Build/Intermediates.noindex/ArchiveIntermediates/IvyspaceStudent/IntermediateBuildFilesPath/IvyspaceStudent.build/Release-iphoneos/IvyspaceStudent.build/Script-0BA7863857CBD338E1A17F34.sh
diff: /Users/vagrant/git/apps/ivyspace-student/ios/Pods/Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
** ARCHIVE FAILED **

Could you give me some tips to resolve this issue please?

Hi!
Can you please send the URL of the build? :)

It is possible that the "Run CocoaPods install" step is not running before the "Xcode Archive & Export" step?
I think the best idea is to put the "Run CocoaPods install" step right after the "Git Clone Repository" step.

Hi!
The url of the build is https://www.bitrise.io/build/7cb1934a9b9bd934
The more detailed error is:
ArgumentError - Malformed version number string
And I figured out that the problem started happening when stable stack was updated by bitirise - I think updating cocoapods in the stable stack caused the problem.
Temporary solution: I've just figured out that when I choose Previous Hybrid (Xamarin, Ionic, ...) on macOS, includes Visual Studio for Mac, Stable channel stack the builds are working again.
I will try to update cocoapods locally now and see if it will work with current stable stack.

@mieszko4 please upgrade your CocoaPods version on your Mac and then run a pod install or pod update with it, so that it updates the required cocoapods version in the Podfile.lock and of course commit the change.
This is required because older cocoapods versions have this issue (the Malformed version number string one) with newer Ruby versions. The latest CocoaPods (1.5.3) fixes it and can work with newer ruby versions.
You can find the official cocoapods issue report & thread at: https://github.com/CocoaPods/CocoaPods/issues/7765#issuecomment-391950260

After installing newest pod (sudo gem install cocoapods), running pod install and pushing the changes bitrise is working again with Stable stack.
Thanx guys for your help! I will close this issue now.

Glad to hear - thanks for reporting @mieszko4 ! :)


Dispose widgets to stop leaks.

The leaks are detected by leak-tracker for money app.
We will test cover the change after the leak tracker release.

Requested exemption: https://discord.com/channels/608014603317936148/608018585025118217/1001186592179896450

test-exempt: will be tested by https://github.com/flutter/flutter/issues/108322


Release 0.37.1

Hotfix Release 0.37.1

Coverage increased (+0.004%) to 26.711% when pulling 4553c610a4b4794ed24467cfe4ed16a8fc6cddd5 on release-0.37.1 into 6f0135b1bc96c8a5c7eef000161f59ac757b6904 on master.


ssh auth

How do you specify which ssh user and key to use?

bump

I tend to use the remote-user setting in my playbooks.
It would be nice to be able to specify the username in the Terraform config, so the same playbook can be run against hosts which require different usernames. But that hasn't been a problem (for me) in practice. Could definitely be achieved with #30, once we get that merged.

It's also possible to use the -u command line arg.


Simplify the import path of algorithms

Currently, implementations do not expose the main Learner class, as well as any of the developed tools in the root __init__.py .  This results in very long import paths that negatively affect the ease of use of the toolkit. For example, my suggestion would be to go from:
from opendr.perception.pose_estimation.lightweight_open_pose.lightweight_open_pose_learner import \
    LightweightOpenPoseLearner

to simply
from opendr.perception.pose_estimation import LightweightOpenPoseLearner

This can be easily achieved simply by appropriately importing the Learner class in the algorithm root's (e.g., opendr.perception.pose_estimation) __init__.py file.
I will open a PR soon demonstrating the how this can be achieved.

@ad-daniel This should probably also be one of the ToDos before the release.

Yes, can probably be done at the same time/after when we update the base classes.

I think this issue has been addressed in #133. I have also updated the contribution instructions in the wiki (https://github.com/tasostefas/opendr_internal/wiki/Adding-New-Tool).


Update Cargo.toml

Strips binary on release, moves debug to dev. This saves half a gigabyte on release builds by automatically stripping the binary.

The debug info should be spilt by external tools and will be released and used for debugging tools like gd .
https://github.com/Myriad-Dreamin/tinymist/blob/9d4700aee3ec09eaf0515c3dc87436897aa03c92/.github/workflows/release.yml#L124

Debug info shouldn't really be in a --release build though. This way, if you just do a cargo build, you'll get the symbol info (and a half-gig binary), but if you do a --release, you will get something optimized for production (48 MB).

@Enter-tainer idea on managing profiles?

https://github.com/Enter-tainer/typstyle/blob/master/Cargo.toml#L96-L96
the idea is, keep rust's default profiles untouched(debug, release..) and add a new one that inherit them.


Rectify the docs about ollama run

I noticed that after running ollama run, it also starts the API server because when I tried to exit the chat and run ollama serve, it gave me an error saying port already in use and upon checking I realized that the API is already running.
Would it make sense if the README would specify this or is there no need for that? I can open up a PR for it if that's alright.
And thank you for working on this amazing project! It's awesome.

Hey @thebigbone thank you for taking the time to create the issue. I really appreciate it.
The reason for this is you don't need to run ollama serve on the mac if you have the desktop app. By having the desktop app running, it means that we will run ollama in the background.
Hope this helps! The ollama serve command is great if you want to use it without the app


Investigate use of tempita for templates (replace django)

The Django template engine is currently used to produce source files and scripts for bindings after libclang has processed the original C++ source code. The Django template engine is good enough but is not designed to be used in isolation and pulls the whole Django framework in as a dependency and some setup steps into the generate.py file that would be nice to leave out.
I don't know a great deal about tempita but it could make templates simpler to write and maintain:
see http://pythonpaste.org/tempita/

http://pythonpaste.org/tempita/

Will not fix.


Should read credentials file instead of config file

Quoting https://github.com/aws/aws-cli/issues/1095#issuecomment-69965076 :

The ~/.aws/config and the AWS_CONFIG_FILE are an AWS CLI only configuration mechanism. If you're only working with the AWS CLI, then you can still use these values. However if you're using other AWS SDKs, then you can just use the ~/.aws/credentials file. This is a fixed location that's used by all the AWS SDKs, and is the recommended file to use for interop.

Hmm, we don't actually read from the ~/.aws/config file, do we? We just look for it to

give us some assurance the user has configured the aws cli
find the correct directory to store our files in

Would if we changed find_aws_config to look for either one?

Yes we need to change find_aws_config to check for .aws/credentials instead. .aws/config can be optional. And so aws-mfa is stopping right away :(


How to convert the struct into json object ?

I have a struct
struct studentDetails {
    string rollNumber, name, department, Icra, subCategory, subCategory2;
    double gpa;
} ;

I would like to convert vector<studentDetails> sData; into json object. Also  std::string studentJson = Json(sData).dump(); is not working.

You're looking for much more magic than you're going to find here.  There's no automatic introspection in this library (and I'd doubt whether it's possible to create such a library in C++).  You need to build JSON objects with the fields you want, and give them the names you want, etc.

@Shravan40 You may want to have a look at nlohmann/json. It allows to define serialization/deserialization code for arbitrary types, see https://github.com/nlohmann/json#arbitrary-types-conversions.
(Note I am the author of nlohmann/json and I am only posting here, because the issue has not been fixed.)

@nlohmann : Thank you for the information. It seems your's library serves my purpose. I will go through the documentation and try to implement it. In case of queries I will get back to you.


Support ['null', other_type] type. Fix #146

This PR make the form can be generated as the simple type without the 'null' type. e.g. schema type ['null', 'string'] or ['string', 'null'] will do exactly as schema type 'string'.

Hi @ulion and thanks for the PR! It looks good.

You are welcome.
2015-03-10 23:05 GMT+08:00 David Jensen<EMAIL_ADDRESS>
Merged #292 https://github.com/Textalk/angular-schema-form/pull/292.
—
Reply to this email directly or view it on GitHub
https://github.com/Textalk/angular-schema-form/pull/292#event-249379047.

--
Ulion

Coverage decreased (-0.38%) to 80.4% when pulling 744c444e21468fc206db113834d3a7369775a798 on ulion:support_simple_null_mix_type into dc32574b078e3bcedaba445057b77fe19f8a6372 on Textalk:development.


Update readme for others

Need to improve this component on \<Component name>\src\<File Name.html>
Improvements required :
working collapser was updated on others section
Any reference image?
Any external reference?
You can checkout this one for better understanding.

I have already updated the readme

I have already updated the readme

ok....


Missing data files for ssl_cert_test

The sample program programs/test/ssl_cert_test.c is designed to use data files with hard-coded names, but these data files are not present in the repository. They were removed in commit b64d9a79a466ed5c23e93fadbf74de4da4637715. We should do one of the following:

Remove ssl_cert_test.c. Nothing uses it, and as sample code I think it's redundant with programs in the x509 directory. This has been broken since 1.3, so evidently nobody cares.
Revert b64d9a79a466ed5c23e93fadbf74de4da4637715, and move ssl_cert_test.c and the test data to the x509 directory because this is not a test program.
Modify ssl_cert_test.c to look for test data in ../tests/data-files (as the motivation for b64d9a79a466ed5c23e93fadbf74de4da4637715 suggests), modify the program to use existing test data or add missing test data, and move ssl_cert_test.c to the x509 directory because this is not a test program.

@mpg

I'd recommend just removing it. Why spend time maintaining redundant code that nobody is using?

ARM Internal Ref: IOTSSL-2520


Frightened effects

Add these midi-qol flags for the "Frightened" condition in the next update?
flags.midi-qol.disadvantage.attack.all
flags.midi-qol.disadvantage.ability.check.all
Per PHB "A frightened creature has disadvantage on Ability Checks and Attack rolls while the source of its fear is within line of sight."

Fixed in release 1.0.2


Network Mode is ignored

Do you want to request a feature or report a bug?
The but is that the --network parameter get's completely ignored as far as I can see.
Please provide a sample input docker run command
docker run \ -d \ --name plex  --network=host \ -e TZ="<timezone>" \ -e PLEX_CLAIM="<claimToken>" \ -v <path/to/plex/database>:/config \ -v <path/to/transcode/temp>:/transcode \ -v <path/to/media>:/data \ plexinc/pms-docker

What is the current output?*
version: 3
services:
    pms-docker:
        container_name: plex
        environment:
            - TZ=<timezone>
            - PLEX_CLAIM=<claimToken>
        volumes:
            - '<path/to/plex/database>:/config'
            - '<path/to/transcode/temp>:/transcode'
            - '<path/to/media>:/data'
        image: plexinc/pms-docker

What is the expected/desired output?
version: 3
services:
    pms-docker:
        container_name: plex
        network_mode: 'host'
        environment:
            - TZ=<timezone>
            - PLEX_CLAIM=<claimToken>
        volumes:
            - '<path/to/plex/database>:/config'
            - '<path/to/transcode/temp>:/transcode'
            - '<path/to/media>:/data'
        image: plexinc/pms-docker

Thanks for the report @LeoDJ! Looks like we just need to add the mapping in here https://github.com/magicmark/composerize/blob/master/src/mappings.js#L61
Would you be interested in taking a stab at adding the fix?

According to https://docs.docker.com/engine/reference/run/#network-settings, docker run stars in “bridge” mode but docket-compose defaultly creates a new network. May be we should set network_mode to “bridge” defautly?


Idea: provide "inProgress" state of form

Would like to know what you think about that idea:
The form could provide some kind of "inProgress" state while validation and submission. That could be used to disable submit button during that phase:
<form method="post" {...form.props}>
    [...]
     <button
        type="submit"
        className={cx('btn', 'btn-item', form.inProgress() && 'loading')}
        disabled={form.inProgress()}
      >Submit</button>
</form>

I could provide a PR for that if you like...

Conform take cares of the validation only. The submission is fully handled by Remix. Checking navigation.state === 'submitting' should be enough.

To add a bit of context here: Client validation is done on the submit handler (i.e. form.props.onSubmit). The idea is basically calling event.preventDefault() when there is any error found.

My idea would probably combine conform too much with Remix.
I have the need to implement the onSubmit handler asynchronously (which is possible). And I want to have the in "in processing" state both during validation and during onSubmit. In a particular form, I can also do that by using useState() and implementation in onValidate and onSubmit handlers. But that has a small gap between the calls for one thing. And I would have to implement it repeatedly for each form. So I was thinking of a flag directly on the form.
Do you have any idea how to implement it reusable without deep integration in conform?

I would be interested to know more what you are trying to do with an async submit event handler. If it is used for async validation, have you tried the approach mentioned here?

I updated my demo project to use the server-validation mode of useForm. Now I understand it somehow better.
You can find my demo project here: https://github.com/snrmwg/remix-form-app
It's a simple remix project with a very contrived and slow validation and handing logic (app/routes/index.tsx) . But you can see usage of formHandlingInProgress managed by useState() and transition.state === 'submitting'.
My hope is that management of this state could somehow be more centralised?

Check out the global pending state hooks in Remix Utils. Might be helpful.

I have tried your demo. In general we should move all async logic to the server and Conform's server validation should make it seamless. But captcha is one of the exception that couldn't be done on the server. What missed from the transistion.state is the time when you are running the captcha.
const isLoading = transition.state === 'submitting' || isCaptchaRunning;

How about creating a simple hook to manage the loading state of the captcha?
function useCaptcha() {
  const [isRunning, setIsRunning = useState(false);
  const runCaptcha = async (timeoutMillis: number) => {
    setIsRunning(true);
    const token = await captcha(timeoutMillis);
    setIsRunning(false);

    return token;
  };
  return [isRunning, runCaptcha] as const;
}

Usage:
export default function Example() {
  const state = useActionData<typeof action>()
  const submit = useSubmit()
  const transition = useTransition()
  const [isCaptchaRunning, runCaptcha] = useCaptcha();
  const form = useForm({
    mode: 'server-validation',
    state: state,
    onValidate({ form, formData }) {
      // ...
    },
    async onSubmit(event, { submission, formData }) {
      if (submission.type === 'validate' && (submission.intent !== 'field2' || hasError(submission.error, 'field2'))) {
        event.preventDefault();
      } else if (submission.type === 'submit') {
        event.preventDefault();

        const form = event.target as HTMLFormElement
        formData.set('captcha', await runCaptcha(5_000))

        // Maybe Conform should also provide the method and action for you
        // This setup ignore the cases when the submitter has a `formMethod` or `formAction` attribute
        submit(formData, { method: 'post', action: form.getAttribute('action') ?? form.action })
      }
    },
  })

  return (
    <Form method="post" {...form.props}>
        {/* ... */}
        <button type="submit" disabled={isCaptchaRunning || transition.state === 'submitting'}>Post!</button>
      </Form>
  )
}

I will think about if there is any good integration Conform can do for you. I might also create a @conform-to/remix package in the future that provide tighter integration with Remix.

Your provided way feels good. @conform-to/remix also a nice idea ... For me nothing more to do in this issue.

What is transition.state? 👀  React's const transition = useTransition() returns a tuple, not an object with state.

We were referring to a hook from Remix that is now renamed to useNavigation.


Swift 3 Error:

I have this error in my code and also in the example app. I have used the code migrator to update the project to Swift 3 (the example).
2016-09-01 13:42:36.133 BWWalkthrough_Example[643:9268270] -[_SwiftValue nsli_superitem]: unrecognized selector sent to instance 0x60000005cfe0
2016-09-01 13:42:36.140 BWWalkthrough_Example[643:9268270] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_SwiftValue nsli_superitem]: unrecognized selector sent to instance 0x60000005cfe0'
It comes up with a sigabbt error on launch.

It does not crash if you only have the one page. If you add more then it crashes.

@sashalondon SWIFT 3 is not yet officially supported by the BWWalkthrough. I'm working on a separated branch (I'll push it soon).

@ariok my application is crashing too. Will you update library soon ?


support adding examples of special forms?

Janetdocs is great!
Would it be possible to add the special forms to the list of things you can add examples for?
I can add examples for def- but not for def.

Hmm, what would go in the docstring for special forms?

oh, that's a good question.  Maybe for now just a link to https://janet-lang.org/docs/specials.html ?


Add ethereum format in signature

I cant sign a transaction and send it to ethereum. I think this method can help folks.

@adr1anh Could you please review this PR?


AVAX sent to wrong chain, recoverable?

Can these funds be recovered?

 Can these funds be recovered?

yes it can be recovered kindly text there support on whatsapp - +19546679281


unique conflicts-> then decrementing cause out of bounds error

Hello,
First. I do not usually code in Python, so I had problems running it in version 3 of Python.
Second, there is a bug causing PK out of bounds.
If you have two databases: first_database, second_database
By incrementing first_database, you get primary keys  like 1000001 and second_database primary keys like 2000001.
Then there is a step : " 7/9 Mapping pk in case of uniques conflict", which finds conflicts. In case of conflict second_database primary key change to 1000001.
In step 9: Decrementing pks:  it tries to decrement - 2000000 primary keys in second database. But in those, where was conflict it goes out of bounds because it has changed.
my solution was to change function rollback_pks
                   where = ""
                   if len(table_map['pk_changed_to_resolve_unique_conficts']):
                       where = "WHERE %(pk_col)s NOT IN (%(ids)s)" % {
                           'pk_col': list(table_map['primary'].keys())[0],
                           'ids': ",".join(table_map['pk_changed_to_resolve_unique_conficts'])
                       }

                   self._logger.qs = "UPDATE `%(table)s` SET `%(pk)s` = `%(pk)s` - %(step)d %(where)s" % {"table": table_name,
                                                                                "pk": col_name,
                                                                                'step': self._increment_value,
                                                                                'where': where}
                   where = ""
                   if len(table_map['pk_changed_to_resolve_unique_conficts']):
                       where = "WHERE %(pk_col)s IN (%(ids)s)" % {
                           'pk_col': list(table_map['primary'].keys())[0],
                           'ids': ",".join(table_map['pk_changed_to_resolve_unique_conficts'])
                       }

                   self._logger.qs = "UPDATE `%(table)s` SET `%(pk)s` = `%(pk)s` - %(step)d %(where)s" % {"table": table_name,
                                                                                "pk": col_name,
                                                                                'step': self._increment_step,
                                                                                'where': where}

Thank you for documenting that here @stanlay01! If you turned that into a Pull Request, I'd be more than happy to review and merge it.


Add owners to the npm package

Can we add some new owners to the npm package?
npm owner add jmdobry
npm owner add murgatroid99
npm owner add stephenplusplus

cc @tbetbetbe

Whoever has access to the googleapis-packages account should be able to do that.

Done


fix typo file on declarative-config page

Replace "file" to "berkas" on declarative-config.md
Fix #24932
/language id
/honk

thanks @okutasan for your contribution, welcome to kubernetes! 🎉
/lgtm
/approve


lifecycle filter for addons

#155197799
Signed-off-by: Konstantin Maksimov<EMAIL_ADDRESS>

manually merged.


Custom Authentication Handler : Client certificate from MessageContext is not set and null

Description:

The client certificates from Axis Message context is always null inside the custom handler.
org.apache.axis2.context.MessageContext axis2MessageContext = ((Axis2MessageContext) messageContext).getAxis2MessageContext();
// sslCertObject  is null
Object sslCertObject = axis2MessageContext.getProperty("ssl.client.auth.cert.X509");
I tried with clean installation of WSO2 API Manager 2.2.0 and added custom handler that can access certificate like above. The API is called with client certificate using SOAPUI or apache http client and the result is same.

From https://wso2.org/jira/browse/APIMANAGER-6057

Did you try the following?
messageContext.getProperty("sl.client.auth.cert.X509");

Issue description link needs to be corrected to https://wso2.org/jira/browse/APIMANAGER-6070

please go through https://xacmlinfo.org/2015/06/02/securing-apis-using-mutual-ssl-with-wso2-api-manager/


Add gradient for Dask Arrays

Fixes https://github.com/dask/dask/issues/2918
Adds NumPy's gradient for Dask Arrays. Basically uses map_overlap to implement it with some handling for boundaries based on the arguments passed to gradient.

[x] Tests added / passed
[x] Passes flake8 dask
[x] Fully documented, including docs/source/changelog.rst for all changes
and one of the docs/source/*-api.rst files for new API

sounds good to me
On Wed, Apr 25, 2018 at 11:27 AM, Stephan Hoyer<EMAIL_ADDRESS>wrote:

@shoyer commented on this pull request.
In dask/array/routines.py
https://github.com/dask/dask/pull/3434#discussion_r184103508:

elif isinstance(axis, Number):

   drop_result_list = True

   axis = (axis,)

for e in axis:

   if not isinstance(e, Integral):

       raise TypeError("%s, invalid value for axis" % repr(e))

   if not (-f.ndim <= e < f.ndim):

       raise ValueError("axis, %s, is out of bounds" % repr(e))

if len(axis) != len(set(axis)):

   raise ValueError("duplicate axes not allowed")

axis = tuple(ax % f.ndim for ax in axis)

if issubclass(f.dtype.type, (np.bool8, Integral)):

I think issubclass is slightly saner -- issubdtype deviates from this
behavior in some weird deprecated cases.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/pull/3434#discussion_r184103508, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASszIXHgUJCtBQ121gkGzydHDA8JLbHks5tsJXygaJpZM4Tg8dt
.

Please let me know if there is anything else.

Thanks for the reviews. :)


Don't auto-dismiss the warning dialog on launch

Apparently, ShowWindow also sends a WM_MOVE, which we then turn around and use to dismiss open dialogs.
Closes #15170
Regressed in #13811

This seems like us working around implicit magic. Is there no way to suppress the WM_MOVE?

Didn't seem like it. I might be able to filter based off if the old window rect and the new one are the same, but that might not work for the initial show


Fix Get-Error serialization of array values

PR Summary
Ensure Get-Error does not hang when attempting to serialize an exception that contains a property whose type is an array of System.Type instances. Also ensures that primitive types like System.Int32, System.Boolean as well as System.String is formatted as a string rather than an object with properties.
This will no longer hang
class ExceptionWithArrayType : Exception {
    [Type[]]$Types

    ExceptionWithArrayType ([string]$Message) : base($Message) {
        $this.Types = @([string], [int])
    }
}

try { throw  [ExceptionWithArrayType]::new("") } catch {}
Get-Error

It also ensures that exception with a property containing an array of primitive types (+ [string]) is formatted as that primitive type. For example this exception
class ExceptionWithArrayPrimitive : Exception {
    [object[]]$Values

    ExceptionWithArrayPrimitive ([string]$Message) : base($Message) {
        $this.Values = @(1, "value")
    }
}

try { throw  [ExceptionWithArrayPrimitive]::new("") } catch {}
Get-Error

Currently this looks like
Exception        :
    Type    : ExceptionWithArrayPrimitive
    Values  :

        Length : 5
    HResult : -2146233088
CategoryInfo     : OperationStopped: (:) [], ExceptionWithArrayPrimitive
InvocationInfo   :
    ScriptLineNumber : 1
    OffsetInLine     : 7
    HistoryId        : 2
    Line             : try { throw  [ExceptionWithArrayPrimitive]::new("") } catch {}
    Statement        : throw  [ExceptionWithArrayPrimitive]::new("")
    PositionMessage  : At line:1 char:7
                       + try { throw  [ExceptionWithArrayPrimitive]::new("") } catch {}
                       +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    CommandOrigin    : Internal
ScriptStackTrace : at <ScriptBlock>, <No file>: line 1

With these changes it now looks like (note Values : in the Exception).
Exception        :
    Type    : ExceptionWithArrayPrimitive
    Values  :
        1
        value
    HResult : -2146233088
CategoryInfo     : OperationStopped: (:) [], ExceptionWithArrayPrimitive
InvocationInfo   :
    ScriptLineNumber : 1
    OffsetInLine     : 7
    HistoryId        : 2
    Line             : try { throw  [ExceptionWithArrayPrimitive]::new("") } catch {}
    Statement        : throw  [ExceptionWithArrayPrimitive]::new("")
    PositionMessage  : At line:1 char:7
                       + try { throw  [ExceptionWithArrayPrimitive]::new("") } catch {}
                       +       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    CommandOrigin    : Internal
ScriptStackTrace : at <ScriptBlock>, <No file>: line 1

PR Context
Fixes: https://github.com/PowerShell/PowerShell/issues/21083
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[] N/A or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

@jborean93 I created a PR to your branch with some suggested changes https://github.com/jborean93/PowerShell/pull/1

I really don't care as long as the changes you want still work or this is fixed in any other way. Feel free to push your commits onto mine without going through a PR (as long as you also fix the tests).

I forgot to mention I didn’t use [$typeValue] as IIRC that’s not how it is done when it’s a non-array value in a property.

@jborean93 I didn't want to just push commits since it's your PR.  I've updated my PR to your branch to have consistency with non-array types to be in square brackets and added that to the test.

Any chance for a backport to 7.4?