Today's changes

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

63 of 74 (85.14%)  changed or added relevant lines in 1 file are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-2.4%) to 92.529%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

catwalk.go
63
74
85.14%

Files with Coverage Reduction
New Missed Lines
%

catwalk.go
4
92.53%

Totals

Change from base Build<PHONE_NUMBER>:
-2.4%

Covered Lines:
322

Relevant Lines:
348

💛  - Coveralls


support tokio's tracing feature

error: failed to select a version for `madsim-tokio`.
    ... required by package `risingwave_ctl v0.1.9 (/Users/skyzh/Work/risingwave/src/ctl)`
    ... which satisfies path dependency `risingwave_ctl` (locked to 0.1.9) of package `risingwave_cmd v0.1.9 (/Users/skyzh/Work/risingwave/src/cmd)`
versions that meet the requirements `=0.2.0-alpha.3` (locked to 0.2.0-alpha.3) are: 0.2.0-alpha.3

the package `risingwave_ctl` depends on `madsim-tokio`, with features: `tracing` but `madsim-tokio` does not have these features.

we may see if we can pass this feature flag to tokio.

Oops, I'll add this feature soon. As a workaround, you can add tokio = { version = "1", features = ["tracing"] } to Cargo.toml to enable this feature. 😅


Update french translation for v2

Summary

This PR updates the existing French translation (I updated some words based on the context of the page) as well as the new additions from the English version.
Description for the changelog

French translation is updated for Version 2.0
Other info

Closes #530

@jgadsden The translation is now updated, let me know if it is okay to be merged!


Unusable on extremely large/complex workflows - Hangs on "Got Prompt" for >15 minutes

I haven't found the EXACT point where this becomes an issue, but the Everywhere nodes seem to be unusable on complex workflows.
With Everywhere Nodes:

Without:

It seems to happen when the workflow JSON starts to exceed 10,000 lines, but I'm not 100% on that figure.

further investigation shows that this may be an issue with ComfyUI's execution method


Small text updates

Align the naming with the System.ValueTuple type name.

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

#sign-off


fix recursion bug

In general, the output directory only contains files. However, if there are folders, the recursion will repeatedly retrieve all the files within those folders.

Do you have an example output showing the original error?

Sorry, in my local project, I am using pathlib.Path().rglob('*') instead of os.listdir(). Please ignore this, I will close this PR.


Problems in visualizing grape_detection_syntheticday

On this dataset I can see the bounding boxes with the method viz.visualize_image_and_boxes, but It give errors if you try to run the other methods for showing the masks (visualize_image_and_mask, overlay_segmentation_masks, visualize_overlaid_masks). The problem could be that the coco_info["segmentation"] is a 3D array an not a 2D one.

Could you post a code snippet showing exactly what you're running? It'll help me to reproduce the issue.

This is the snippet:
!pip install -q agml
import agml
import agml.viz as viz
import numpy as np
from pprint import pprint

loader = agml.data.AgMLDataLoader('grape_detection_syntheticday')
image, coco_info = loader[0]
_ = viz.visualize_image_and_mask(image, coco_info["segmentation"])

And the problem is

ValueError                                Traceback (most recent call last)
 in ()
1 image, coco_info = loader[0]
2 pprint(coco_info)
----> 3 _ = viz.visualize_image_and_mask(image, coco_info["segmentation"])
/usr/local/lib/python3.7/dist-packages/agml/viz/masks.py in preprocess_mask(mask)
40     label_indx = 1
41     while True:
---> 42         x_values, y_values, * = np.where(mask == label_indx)
43         coords = np.stack([x_values, y_values]).T
44         if coords.size == 0:
ValueError: not enough values to unpack (expected at least 2, got 1)

if we see the segmentation part it looks like this:

'segmentation': array([[[576, 415, 599, 415, 599, 499, 576, 499]],>
[[324, 404, 348, 404, 348, 479, 324, 479]],>
[[259, 418, 283, 418, 283, 505, 259, 505]],>
[[451, 386, 492, 386, 492, 497, 451, 497]],>
[[405, 363, 447, 363, 447, 514, 405, 514]],>
[[196, 420, 239, 420, 239, 578, 196, 578]],>
[[143, 423, 185, 423, 185, 553, 143, 553]],>
[[0, 459, 36, 459, 36, 613, 0, 613]],>
[[0, 459, 46, 459, 46, 603, 0, 603]],>
[[373, 393, 396, 393, 396, 476, 373, 476]]], dtype=object)}

Ah, I see the issue. AgML doesn't technically support instance segmentation datasets yet, so those segmentation dictionaries are simply here as placeholders (for whenever we add support in the future). They're not meant to be used for anything meaningful at the moment.
The visualize_image_with_mask method is meant for the semantic segmentation datasets, which have their segmentation masks in pixel format, not COCO format. That's why the method is failing. Hopefully this answers your question.

Hi Andrea! Welcome to the AgML developer community. We're excited to have
you involved. If you want to open up an issue of "add instance
segmentation" and label it as an "enhancement", we can put it on the radar
for development. Further, if you want to try to add the feature in a
separate branch and make a pull request, that would be fantastic!
On Fri, Apr 15, 2022 at 7:27 AM Amogh Joshi @.***>
wrote:

Ah, I see the issue. AgML doesn't technically support instance
segmentation datasets yet, so those segmentation dictionaries are simply
here as placeholders (for whenever we add support in the future). They're
not meant to be used for anything meaningful at the moment.
The visualize_image_with_mask method is meant for the semantic
segmentation datasets, which have their segmentation masks in pixel format,
not COCO format. That's why the method is failing. Hopefully this answers
your question.
—
Reply to this email directly, view it on GitHub
https://github.com/Project-AgML/AgML/issues/17#issuecomment-1100141785,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG5FGPB7XPADTG46RBKXHELVFF4GBANCNFSM5TO73RTQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


How to ag-grid cellrender boolean checkbox?

How would I render a boolean field to checkboxes? Not for selecting the row, only for managing the value of that cell?

This is what I tried:
import justpy as jp

grid_options = """
{
    defaultColDef: {
        filter: true,
        sortable: true,
        resizable: true,
        cellStyle: {textAlign: 'center'},
        headerClass: 'font-bold'
    },
      columnDefs: [
      {headerName: "Make", field: "make"},
      {headerName: "Model", field: "model"},
      {headerName: "Price", field: "price"},
      {headerName: "Enabled", field: "enabled"}
    ],
      rowData: [
      {make: "Toyota", model: "Celica", price: 35000, enabled: true},
      {make: "Ford", model: "Mondeo", price: 32000, enabled: false},
      {make: "Porsche", model: "Boxter", price: 72000, enabled: false}
    ]
}
"""

def grid_test():
    wp = jp.WebPage()
    grid = jp.AgGrid(a=wp, options=grid_options)
    grid.options.columnDefs[3] = {
        'cellRenderer': 'checkboxRenderer',
        'headerName': "Enabled",
        'field': "enabled"
    }
    return wp

jp.justpy(grid_test)

There's a way to render html in a cell. Is this what you're looking for?
grid_options = """
{
    defaultColDef: {
        filter: true,
        sortable: true,
        resizable: true,
        cellStyle: {textAlign: 'center'},
        headerClass: 'font-bold'
    },
      columnDefs: [
      {headerName: "Make", field: "make"},
      {headerName: "Model", field: "model"},
      {headerName: "Price", field: "price"},
      {headerName: "Enabled", field: "enabled"}
    ],
      rowData: [
      {make: "Toyota", model: "Celica", price: 35000, enabled: '<input type="checkbox" checked="checked">'},
      {make: "Ford", model: "Mondeo", price: 32000, enabled: '<input type="checkbox">'},
      {make: "Porsche", model: "Boxter", price: 72000, enabled: '<input type="checkbox">'}
    ]
}
"""

def grid_test():
    wp = jp.WebPage()
    grid = jp.AgGrid(a=wp, options=grid_options)
    grid.options.columnDefs[3] = {
        'cellRenderer': 'checkboxRenderer',
        'headerName': "Enabled",
        'field': "enabled"
    }
    grid.html_columns = [3]
    return wp

I am out of the office, so it will take me a few days to find a good solution for this.
Please take a look at https://github.com/elimintz/justpy/issues/107
It is easy enough to render the check boxes:

import justpy as jp

grid_options = """
{
    defaultColDef: {
        filter: true,
        sortable: true,
        resizable: true,
        cellStyle: {textAlign: 'center'},
        headerClass: 'font-bold'
    },
      columnDefs: [
      {headerName: "Make", field: "make"},
      {headerName: "Model", field: "model"},
      {headerName: "Price", field: "price"},
      {headerName: "Enabled", field: "enabled"}
    ],
      rowData: [
      {make: "Toyota", model: "Celica", price: 35000, enabled: '<input id="check1" type="checkbox" onclick="{console.log(this); console.log(this.checked)}" />'},
      {make: "Ford", model: "Mondeo", price: 32000, enabled: '<input id="check2" type="checkbox" />'},
      {make: "Porsche", model: "Boxter", price: 72000, enabled: '<input id="check3" type="checkbox" />'}
    ]
}
"""

def grid_test():
    wp = jp.WebPage()
    grid = jp.AgGrid(a=wp, options=grid_options)
    grid.html_columns = [3]
    return wp

jp.justpy(grid_test)

The question remains how to get the value of the click back to the server. Probably will have to add to  the component JavaScript code.

Thank you! Exactly, I'm trying to get the value back to the server so I print it in python.

@elimintz, ag-grid, Vue checkbox. Does this help?
https://plnkr.co/edit/KIlOopnaJUrg0c7A?preview
Link to ag-grid blog: https://blog.ag-grid.com/binding-boolean-values-to-checkboxes-in-ag-grid/

Yes, this is helpful. It currently looks like the best option. In any case this means making changes also in the JavaScript so will require a new version.

This feature has been added in the just released version 0.1.4:
https://justpy.io/grids_tutorial/checkbox/


random comment to check labeler.yml flow

Description
This PR fixes #
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

labeler working @jerensl @leecalcote


Move publishing resources out of the repo

Privacy Policy copied to https://github.com/stephenquan/qt5-qml-promises-demo/wiki/Privacy-Policy
Terms & Conditions copied to https://github.com/stephenquan/qt5-qml-promises-demo/wiki/Terms-and-Conditions


implement addition/changes for CS Code Web Extensions

the extension isn't availble for Mac users, one solution would be to make additions for the extension to be available in VS Code Web (vscode.dev).  The following link explains updating an existing extension.  This would cover other OSs including Mac, probably others as well.
https://code.visualstudio.com/api/extension-guides/web-extensions#migrate-extension-with-code
the idea came from this post on the Retool forums:
https://community.retool.com/t/developer-dark-mode/6935/22?u=bobthebear

I'm on a mac, seems to be sorted!


CUDA kernel function

Thanks for your great job! I want to transfer the border_align to rotated object detection and faced the error RuntimeError: CUDA error: an illegal memory access was encountered. After analyzing, I found it maybe due to the wrong index from the loop CUDA_1D_KERNEL_LOOP. In your code, I'm not clear about dim3 grid(std::min(THCCeilDiv((long)output_size, 64L), 4096L));. Could you please tell me why output_size divided by 64? Thanks.

That's the dim of grid for cuda kernel to launch and its maximum value is 2048L. In this line, using 512L instead of 64L is better and we will fix it later(and remember that this value doesn't mater much).
By the way, are you willing to be an intern of our team?

That's the dim of grid for cuda kernel to launch and its maximum value is 2048L. In this line, using 512L instead of 64L is better and we will fix it later(and remember that this value doesn't mater much).
By the way, are you willing to be an intern of our team?

Thank you for your reply! I'll try it. If it does not matter much, then I should do further debugging.
I'm willing to be the intern, can you share more details to my email<EMAIL_ADDRESS>

That's the dim of grid for cuda kernel to launch and its maximum value is 2048L. In this line, using 512L instead of 64L is better and we will fix it later(and remember that this value doesn't mater much).
By the way, are you willing to be an intern of our team?

Thank you for your reply! I'll try it. If it does not matter much, then I should do further debugging.
I'm willing to be the intern, can you share more details to my email<EMAIL_ADDRESS>
sent.


Multiple Accounts

Suggested new feature or improvement
I think that it would be helpful to allow users to connect more than one GitHub account to Dev Home.
Scenario
I have one GitHub account for personal use, as well as one for school. It would be nice to be able to manage activity from both accounts in Dev Home.
Additional details
No response

Improving support for multiple GitHub accounts is in the backlog but requires some dependent work from GitHub before we can enable. All clients today support 1 account at a time but we'd like to improve this.

One of the pieces to light up the E2E is being worked on at https://github.com/git-ecosystem/git-credential-manager/pull/1267.

The last piece needed was released last week: https://github.blog/changelog/2023-11-03-multi-account-support-on-github-com/.
This unblocks us to implement multi-account support in Dev Home.


simulator error

Cannot install simulator using this command p.threefold.simulator.install() from 3bot shell.

Branch: development

please add the package using packagemanager/package_add method. (this will create the locations for openresty)

verified.


Bugfix: Discord spoilers aren't included on the final guess if the game was lost

This resolves the bug for those who might lose a game of Wordy, leaving them nowhere to hide their shame.
Context
Don't ask how I discovered this, but hypothetically if you were to lose a game of Wordy and you wanted to share the result (for some reason) with Discord spoilers, the last guess of the game would not include the spoiler despite it not being the correct answer.
Fix
Before including each spoiler and new line in the Emoji art, the guess is checked for victory, rather than relying implicitly on the guess count.

No strong opinions on the for...of by the way, it just felt right for this. Happy to go with the original for if you want.

Ok let me just test this in my staging environment


Allow replacing actual call to perform HTTP request via subclassing

Basically, I have my own urllib wrapper that I'm maintaining almost entirely out of spite. It has it's own cookie/UA/header/etc... management, and I'd like to be able to just wrap that instead of having to move things back and forth between it and the requests session continuously.
This change basically moves the actual calls to the parent  super().request() call into a stub function, so I can subclass CloudScraper(), and then just replace the body of perform_request() with my own HTTP fetching machinery.
I'm not sure this is something of interest to really anyone other then myself, but it's also a really simple change (and could potentially be useful for testing purposes/mocking as well). Being able to plug in any arbitrary HTTP(s) transport seems like a nice feature too.

Whats wrong with the pre/post hooking?

Can you change to the dev branch please.

This change basically moves the actual calls to the parent super().request() call into a stub function, so I can subclass CloudScraper(), and then just replace the body of perform_request() with my own HTTP fetching machinery.

 I suppose I could try to clobber requests.sessions.Session before it's imported by cloudscraper, but that sounds like a easy way to wind up with import-order driven behaviour that'll fail in weird ways when you're not looking.

Woot!

:) thanks for contributing

Thanks for dealing with cloudflare so I don't have to!

It'll go through on next production release, unless some else happens ... it'll prob be when cloudflare changes something in ~6 days


Deployment header broken

On my browser I see:

Firefox 115.0 (64-bit)

Fixed by commit 001358f in the website repo

POGOMEGA!!!!!!


Add Ange du Blanc Pur by Nanahira

Song Name
Ange du Blanc Pur
Artist Name
Nanahira
Source
Youtube
Youtube Link
5bfbmDB8rMM
Direct File Link
No response
Song ID
2222
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 107377312

accept


Multichannel support

As discussed in #35 here is the pull request for multichannel support.

Thanks a lot for your work! I'll update the README.md and put up a signed binary build tomorrow.


Patch/correct i event sink contract

For having a clean parameter input and removing redundant methods with one input, I changed methods with having params type parameter.

Great to see you PR :-)
One note though: Backward Compatibility is something precious and I think we can keep the old methods and introduce the signatures with params

@yasharvc do you need help with this PR?
I'm happy to help fixing the merge conflicts.


How to configure a OPTIGA Trust X with ESP8266 (client)

https://github.com/Infineon/mbedtls-optiga-trust-x/wiki#setting_up_tls_client
But you need ESP32 not ESP8266

I didn't understand that give me Procedures for that...

just give procedure??


[bigint] Add missing header file #3319

File BigIntegerUtils.hh, which is required by the library, was not being copied, as described in #3319

Thanks for the PR!

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


feat(ci): add automatic releases and publish to luarocks

Hey, hope you guys are doing well!
It seems like telescope.nvim is already there and it would be great to have their extensions available too :)
Summary
This PR is part of a push to get Neovim plugins on LuaRocks.

See this blog post, which follows up on a series of posts.
See also: rocks.nvim, a new luarocks-based plugin manager.

Things done:

Add a release-please workflow that creates release PRs with SemVer versioning based on conventional commits.
Add a workflow that publishes tags to LuaRocks when a tag is pushed.

The workflows are based on this guide by @vhyrro.
Notes

On each merge to master, the release workflow creates (or updates an existing) release PR.
You decide when to merge release PRs. Doing so will result in a SemVer tag, and a GitHub release, which will trigger the luarocks workflow.
For the luarocks workflow to work, someone with a luarocks.org account will have to add their API key to this repo's GitHub actions secrets, as mentioned in the guide mentioned above.

Thanks for the PR and info.
I've been meaning to start versioning telescope-file-browser properly for a while. I have a few things I want to take care of before cutting a 1.0.0 release. I will come back to this PR when that's ready.


Trailer image / banner / graphical abstract

When deploying the plugin to pypi, a page on the napari hub will be created that is identical with the readme of the github repository. I recommend putting a screenshot of the plugin, e.g. showing a noisy and a denoised image, on top of the page as a graphical abstract. Users tend to not read the documentation. To give them a glimpse what the plugin does, that screenshot might help.

Love the idea!

Done in https://github.com/juglab/napari-n2v/commit/b9604125737402597ff72806782488a9846e6de5


Mixed type, variable length, memcpy

I am on Julia 1.10.3 and Enzyme main (5fc23099cdac3dbdfa9d413ee3f17b34759bb6f2). The following works:
struct A1{T}
    x::T
end

struct B{T}
    as::T
end

function f1(x, ::Val{AT}) where AT
    as = [A1(x) for i in 1:10]
    as2 = AT(as)
    b = B(as2)
    return b.as[1].x
end

autodiff(Reverse, f1, Active, Active(2.0), Const(Val(Array)))[1][1] # Gives 1.0

However, adding an unused field to the struct makes the gradient disappear:
struct A2{T}
    index::Int
    x::T
end

function f2(x, ::Val{AT}) where AT
    as = [A2(i, x) for i in 1:10]
    as2 = AT(as)
    b = B(as2)
    return b.as[1].x
end

autodiff(Reverse, f2, Active, Active(2.0), Const(Val(Array)))[1][1] # Gives 0.0, should be 1.0

Is this still an issue?

I think so yeah, since a proper fix requires an enzyme change and Julia informing about the variadic type update of memcpy

Currently multi typed updates are only properly supported for fixed size copies, and variable length copies use the last known type for the variable length


[Outlook] (event-based) Add image for Mac

Docs Build status updates of commit 605203a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/images/outlook-mac-autolaunch.png
:white_check_mark:Succeeded
View

docs/outlook/autolaunch.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


@conda-forge-admin, please add user @mabraham

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I tried to added user @mabraham as requested, but the recipe already has maintainer @mabraham so no changes were made.


Palindrome Linked List

Hi @shreyamalogi , I have raised the PR for the created issue. Please merge it.

#199


b2c-support added info for displayname

Added the following <> characters not allowed for Displayname.

Learn Build status updates of commit e5e67e1:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/active-directory-b2c/user-profile-attributes.md
:warning:Warning

Details

articles/active-directory-b2c/user-profile-attributes.md

Line 1, Column 1: [Warning: ms-date-missing - See documentation] Missing required attribute: 'ms.date'. A freshness date is required for this content set. Add a date in format MM/DD/YYYY.
Line 1, Column 1: [Warning: ms-topic-missing - See documentation] Missing required attribute: 'ms.topic'. Add a valid value to indicate the article type.
Line 1, Column 1: [Warning: author-missing - See documentation] Missing required attribute: 'author'. Add the current author's GitHub ID.
Line 1, Column 1: [Warning: title-missing - See documentation] Missing required attribute: 'title'. Add a title string to show in search engine results.
Line 1, Column 1: [Warning: ms-author-missing - See documentation] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 1, Column 1: [Warning: ms-prod-or-service-missing - See documentation] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 14, Column 1: [Warning: yaml-header-syntax-error] While parsing a block mapping, did not find expected key.
Line 1, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@kengaderdus

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Learn Build status updates of commit cead186:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/active-directory-b2c/user-profile-attributes.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit cead186:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/active-directory-b2c/user-profile-attributes.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

#sign-off

Learn Build status updates of commit 01de97f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/active-directory-b2c/user-profile-attributes.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Due to the upcoming Ignite conference, all merging and publishing is on hold until the morning of October 12.
This PR is ready for merge on 10/12.
This repo is in lockdown for content freeze. If you need to make additional changes to these files, please submit your changes a new PR.
#label:"event-triaged-to-10AM"


Warn when --platform resolves fail tag checks.

The addition of a wheel tag compatibility check to the overall
post-resolve check in #2512 regressed users of abbreviated --platform
in some cases by failing PEX builds that would otherwise succeed and,
later, actually work at runtime. Keep the spirit of #2512 by emitting a
detailed warning at build time with remediation steps instead of failing
the build outright.
Fixes #2532

@benjyw and @huonw this is FYI since 2.19.0 is a regression for Pants assuming it still supports --platform; so you'd want to stay behind or skip ahead to 2.19.1 to avoid fallout.

@cburroughs added you FYI. Avoid Pex 2.19.0 as a --platform user.

Thanks for the alert.
FYI, although I imagine it doesn't particularly change anything... Pants almost doesn't use it any more (the last use on main is now deprecated for removal in a few releases).

Yeah, I did that research here: https://github.com/pantsbuild/pants/pull/21425#issuecomment-2356400360
I think that deprecated FaaS use is the only one in the code base affecting end users from a search this am.


C# code is obsolote on .net core 3.1

[Enter feedback here]
The following code is obsolete. can you please update the page?
var telemetry = new Microsoft.ApplicationInsights.TelemetryClient();
telemetry.TrackTrace("Slow database response",
SeverityLevel.Warning,
new Dictionary<string,string> { {"database", db.ID} });
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b7265053-e223-593d-eba7-7dc87c3f9246
Version Independent ID: 1b8daf9a-78f6-2ccf-ec31-85c125edc44b
Content: Explore .NET trace logs in Application Insights - Azure Monitor
Content Source: articles/azure-monitor/app/asp-net-trace-logs.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @lgayhardt
Microsoft Alias: mbullwin

@lorenzobrito Thanks for your comment. We will review the issue and get back to you shortly

Assigning to content author @lgayhardt for review and document enhancement consideration.

This article needs to be updated further in the future, but to address your immediate issue I modified that code snippet as follows:
  TelemetryConfiguration configuration = TelemetryConfiguration.CreateDefault();
  configuration.InstrumentationKey = "instrumentationkey";
  var telemetryClient = new TelemetryClient(configuration);
  telemetryClient.TrackTrace("Slow database response", SeverityLevel.Warning, new Dictionary<string, string> { { "database", "db.ID" } });

The update should go live tomorrow.

#please-close


can not play for next frame

https://goo.gl/aH1y8c

The video only has 1 frame (see the --limit=1 argument), this is working as expected.
https://arewecompressedyet.com/?job=new-av1-screen-ibc-filt-nowf-d0-1%402018-02-01T00%3A55%3A51.819Z
new-av1-screen-ibc-filt-nowf-d0-1@2018-02-01T00:55:51.819Z ...
peloverde submitted 10 days, 17 hours, 15 minutes ago
Extra: --tune-content=screen --limit=1
Build: -DCONFIG_INTRABC=1
Codec: av1
Commit: bd0fb2fbd26597a2214727c69a4dd40da567bd03
Task: twitch-1
Qualities:
Run A/B Compare: false
Save Encoded Files: true
Status: Completed


MMIF-FIXIT conversion

updated based on recent discussions.
New Feature Summary
As a part of aapb package, we'd like to have a data format converter between MMIF and AAPB json files used in FIXIT tool internally. This should enable us data exchange between CLAMS pipelines and FIXIT (crowd-based ASR correction tool), and import FIXIT-ed transcript into CLAMS pipelines for further processing.
Additional context
Here are some example AAPB json files provided by @owencking.
cpb-aacip-3fde6d4dc0b-transcript.json
cpb-aacip-05a9a67fd3d-transcript.json
and some notes from him;

I think the format is pretty self-explanatory. Just two notes:  (1) Notice the speaker_id key.  We need to leave that in there, but right now it's not in use.  Our convention is to start with 1 and increment the value with each transcript segment.  (2) In the future, we will add a provenance key at the top of the JSON file with an object containing a few keys related to the origin of the transcript.  We're still figuring out exactly what info to put in there.  It will probably be some of the same info that appears at the beginning of a MMIF file.

More examples on google drive shared folder.
Implementation requirements
So the conversion needs to support both directions; MMIF to AAPB (m2a, or outbound) and AAPB to MMIF (a2m, or inbound).
m2a conversion

On the top level of AAPB json, there will be provenance key added to contain information about source (MMIF) and FIXIT process. At the moment, there isn't a complete settlement on how the information will be organized except for that it will be a nested dictionary with fairly flat structure. Thus for now, the convert should consider putting a placeholder for that "meta" key.
In AAPB json, the language key on the top level has been used to mostly keep en-US values. In MMIF spec, we have @language key in text documents, but we haven't been used regional code. See the following for how language description is specified in the current

MMIF spec
and mmif-python SDK

For elements in parts field in the AAPB json, GBH seems to have been using a fixed duration (5 sec) to generate "segments" of transcript text that populates the parts list. When Brandeis team worked on MMIF > VTT conversion in MMIF-viz, we used fixed number of tokens (8 tokens) to generate VTT segments. However, as the primary ASR app in the CLAMS platform as of now is whisper, we want to re-use sentencization from the whisper as the "chunks" to show on FIXIT interface.

a2m conversion
Primary goal for the a2m conversion must be generating a MMIF views that's identical enough to CLAMS ASR MMIF  so that any downstream CLAMS pipeline can be applicable to both types of "ASR" input. Also note that,

not all CLAMS ASR outputs will be FIXIT-ed
not all FIXIT output has originating MMIF (non-CLAMS origin)

A few things to note for implementation;

On the top level, there will be provenance key added to contain information about source (MMIF) and FIXIT process. At the moment, there isn't a complete settlement on how the information will be organized except for that it will be a nested dictionary with fairly flat structure. Thus for now, the convert should consider putting a placeholder for that "meta" key.
The language key on the top level has been used to mostly keep en-US values. In MMIF spec, we have @language key in text documents, but we haven't been used regional code. See the following for how language description is specified in the current MMIF (and SDK)

https://github.com/clamsproject/mmif/blob/230da396b0ad0dd05ada78ce61cdb2d7a3084b95/specifications/index.md?plain=1#L110
https://github.com/clamsproject/mmif-python/blob/226ddf4086896c863c2d4260a9baa3d055c7434a/mmif/serialize/annotation.py#L513

For elements in parts field, GBH seems to have been using a fixed duration (5 sec) to generate "segments" of transcript text that populates the parts list. When Brandeis team worked on MMIF > VTT conversion in MMIF-viz, we used fixed number of tokens (8 tokens) to generate VTT segments. We need to discuss to bring an agreement on how this converter should conduct the segmentation, given CLAMS whisper wrapper output (or other future CLAMS ASR apps) will return token by token time syncs.

Next version of whisper wrapper will have the Sentence annotation objects. But here's a teaser output file;
whisper-v4.out.json


drivers: led: shell: Add devices as sub commands

NOTE: I've added this commit upstream so I thought it would be nice to include here as well until we bump zephyr version :)

Can you add a reference to the upstream commit sha in the commit message at the end? Then it's pretty easy to follow that it's already merged upstream, but we cherry-picked it for now


fix(helm): Use line breaks consistently in status output

The output from helm status does not have consistent use of line breaks.
For some resources there is a line break after the kind header, for
others there is not. This is caused by how the printer handles column
headers. This removes a line break for all but the first resource listed.
Signed-off-by: Morten Torkildsen<EMAIL_ADDRESS>

For reference, this has to do with how Kubernetes deals with printing human readable material. Specifically, see the human readable printer at https://github.com/kubernetes/kubernetes/blob/17c77c7898218073f14c8d573582e8d2313dc740/pkg/printers/humanreadable.go#L308-L310
		if h.lastType != nil && h.lastType != t && !h.options.NoHeaders {
			fmt.Fprintln(output)
		}

If there was a previous type printed it adds the new line. That's why we need it on the first one but not the rest.


Many of your test cards are invalidated

Describe the bug
When using the test cards found in your documentation many cards don't work, take the first one for instance 3700 0000 0000 002.
https://docs.adyen.com/development-resources/test-cards/test-card-numbers
To Reproduce
You can test this yourself using the checkout component and filling in: 3700 0000 0000 002
Expected behavior
It should be valid since it's in your documentation
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: macOS Catalina
Browser: Chrome
Version: 80.0.3987.122 64 bit

Hi @josefnorlin, and thanks for reaching out.
Those are indeed valid test cards, but keep in mind you still need to have those card brands configured in your account. You probably don't want to accept all card brands there are.
For more information about how to add and configure different payment methods, check our Payment Methods documentation page. Also feel free to contact our Support team if you need further help.
Have a nice day, cheers!

Thank you @pabloai !
The reason why I think this is a bug is that this just started to happen, around the same time we moved over to clientKey but seems to be unrelated. And from what I know we haven't changed anything in the configuration. Amex (which this card in particular is) is still a valid payment method, and the card number have been working great before: 3700 0000 0000 002

Hi again @josefnorlin,
I imagine this is happening in your test environment, right?
And just to know, did you double check if you're using the clientKey for test? Do you see any errors in the console?
Another thing you can try is to check the brands array in your Card component by simply doing myCardComponent.brands. Is Amex listed there?
I'm not being able to reproduce that behaviour, but if you think it's indeed a bug, of course feel free to reopen the issue!

This is confirmed to be clientKey problem since when we moved to originKey everything worked again.

Can I reopen the issue or do I have to create a new one?

Ok, thanks for checking.
Do you see any errors in the console? Is the clientKey for test? Is the environment also set to test?

No errors in the console. The clientKey is for test yes, the environment is also set for testing.
binLookup?token=test_****************** gives this response:
{
   "detectedBrands":["amex"]
   "issuingCountryCode":"NL",
   "requestId":"babede05-3577-49dc-8583-90b090e9dea7"
}

Were you able to also check this:

Another thing you can try is to check the brands array in your Card component by simply doing myCardComponent.brands. Is Amex listed there?

@pabloai, I'd love to test that. Could you give me more precise instructions? With myCardComponent, do you mean checkout.brands (which seems not to work)? Or how do I access that?

@josefnorlin, sorry if I wasn't clear.
When you create the card component, do you store it in a variable?
For example
const cardComponent = checkout.create('card', { /* options */}).mount('.contianer');

If so, you can simply do cardComponent.brands to get an array of the brands the card component is expecting. The idea is to see if Amex is among those brands.

I see, tested that now and that array is completely empty.

Thanks for checking.
It seems the Card component is not configured correctly, since it doesn't have a list of brands it should accept.
For this you can make a call to our /paymentMethods endpoint and pass the response to the AdyenCheckout constructor in the paymentMethodsResponse. Alternatively you can pass a brands array with the list of brands you want to accept.
For more information please refer to our Card components docs.


[Tech] Spike - Include SonarQube.com and Travis for JSLint coverage

https://docs.travis-ci.com/user/sonarqube/
http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner

Issue migrated to civictechro/auth-sso#4


connectivity changes of employees management system front-end

description

created a project for employees management system
created express connection in index file
created react connectivity in App.js file
and created Pages folder. it has Home.js and Home.css files for styling.

code screenshot

UI

I think you haven't run the "react server".

SVFrank I think you haven't run the "react server".

@SVFrank Pls , delete the development branch you have created, Lets keep a single branch


Correction for raw affiliation IMAGE Laboratory, University of Moulay Ismail, Meknes 50000, Morocco.; Mohammed V University, Rabat 10090, Morocco,; Research Group in Biomedical Engineering and Pharmaceutical Sciences, ENSAM,; the High School of Technology ESTC, University of Hassan II, Casablanca 20153, Morocco.

Correction needed for raw affiliation IMAGE Laboratory, University of Moulay Ismail, Meknes 50000, Morocco.; Mohammed V University, Rabat 10090, Morocco,; Research Group in Biomedical Engineering and Pharmaceutical Sciences, ENSAM,; the High School of Technology ESTC, University of Hassan II, Casablanca 20153, Morocco.
raw_affiliation_name: IMAGE Laboratory, University of Moulay Ismail, Meknes 50000, Morocco.; Mohammed V University, Rabat 10090, Morocco,; Research Group in Biomedical Engineering and Pharmaceutical Sciences, ENSAM,; the High School of Technology ESTC, University of Hassan II, Casablanca 20153, Morocco.
new_rors: 04cnscd67;00r8w8f84;001q4kn48
previous_rors: 04cnscd67;018pp1107;00r8w8f84;001q4kn48
works_examples: W4362705033
contact: 920b64dc784471c96c4b2df566807661:730134595ebfa4d689d651afaf @ ensam.eu

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Add example for go bindings

This PR adds an example of how to use the Go binding, just to clear any possible confusion. There's a minor complication, but I'm not terribly worried about this because it's not going to be used by any client. The old version of this package that doesn't work is cached and there isn't an easy way to remove it. This is a problem because this is the package that Go recommends. We moved go.mod to the project root; Go is referencing the old location.
Example of problem
Delete the module files:
$ cd bindings/go/example
$ rm go.mod go.sum

Create a new module:
$ go mod init example
go: creating new go.mod: module example
go: to add module requirements and sums:
        go mod tidy

Follow Go's instructions and run go mod tidy:
$ go mod tidy
go: finding module for package github.com/ethereum/c-kzg-4844/bindings/go
go: downloading github.com/ethereum/c-kzg-4844/bindings/go v0.0.0-20230126171313-363c7d7593b4
go: found github.com/ethereum/c-kzg-4844/bindings/go in github.com/ethereum/c-kzg-4844/bindings/go v0.0.0-20230126171313-363c7d7593b4
go: downloading github.com/stretchr/testify v1.8.1
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/pmezard/go-difflib v1.0.0

As you can see, it downloads the old one, from January 26th:

github.com/ethereum/c-kzg-4844/bindings/go v0.0.0-20230126171313

Try running it:
$ go run .
# github.com/ethereum/c-kzg-4844/bindings/go
/Users/jtraglia/go/pkg/mod/github.com/ethereum/c-kzg-4844/bindings/go@v0.0.0-20230126171313-363c7d7593b4/main.go:6:11: fatal error: 'c_kzg_4844.c' file not found
 #include "c_kzg_4844.c"
          ^~~~~~~~~~~~~~
1 error generated.

LGTM!


Error: "String was not recognized as a valid DateTime."

The Perf Mon file was saved as a csv.  It is 4MB large, and was made from a Windows 2016 server.
Here is the error report:
Overall progress... Status: Creating the HTML report, PAL 2.8.1 Progress: 94%... Creating the HTML report,
An error occurred on...
$Date1 = Get-Date $([datetime]$global:oPal.aTime[0]) -format $global:sDateTimePattern
At C:\Program Files\PAL\PAL\PAL.ps1:4701 char:25 + $Date1 = Get-Date $([datetime]$global:oPal.aTime[0]) -format $glo ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cannot convert value "18:41.5,3526,0,0,0,0,0,0,0,0,0,0,0,0, , , , , ,,," to type "System.DateTime". Error: "String was not recognized as a valid DateTime."

This is likely a localization issue. When locality of Windows are you using?
On Tue, Apr 30, 2019 at 3:53 PM Nifroc<EMAIL_ADDRESS>wrote:

The Perf Mon file was saved as a csv. It is 4MB large, and was made from a
Windows 2016 server.
Here is the error report:
Overall progress... Status: Creating the HTML report, PAL 2.8.1 Progress:
94%... Creating the HTML report,
An error occurred on...
$Date1 = Get-Date $([datetime]$global:oPal.aTime[0]) -format
$global:sDateTimePattern
At C:\Program Files\PAL\PAL\PAL.ps1:4701 char:25 + $Date1 = Get-Date
$([datetime]$global:oPal.aTime[0]) -format $glo ... +
Cannot convert value "18:41.5,3526,0,0,0,0,0,0,0,0,0,0,0,0, , , , , ,,,"
to type "System.DateTime". Error: "String was not recognized as a valid
DateTime."

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/clinthuffman/PAL/issues/41>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACFOL6LF2Y32VYZXOZ5TVFLPTCPTHANCNFSM4HJPVRZQ>
.

I'm running PAL on a Win10 laptop.

Right. So Win10, is it running en-us, or a different languge?
On Tue, Apr 30, 2019 at 3:56 PM Nifroc<EMAIL_ADDRESS>wrote:

I'm running PAL on a Win10 laptop.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/clinthuffman/PAL/issues/41#issuecomment-488092613,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACFOL6NOV3WHMM5AO4QQIX3PTCP5XANCNFSM4HJPVRZQ
.

U.S. English

Ah interersting. You haven't changed the date format in Windows to
something other than default perhaps? I can't repro your issue.
On Tue, Apr 30, 2019 at 3:58 PM Nifroc<EMAIL_ADDRESS>wrote:

U.S. English
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/clinthuffman/PAL/issues/41#issuecomment-488093244,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACFOL6PGZXWRQ57RORZILXLPTCQEVANCNFSM4HJPVRZQ
.

I haven't changed the date format in Windows.  From the error message, I can tell that it can't define the different columns apart. "Cannot convert value:  "18:41.5,3526,0, . . . " 18:41.5 is the time, 3526 is the second column, and so forth.

Issue found:  The data collector didn't format the date/time correct.  18:41.5 only shows the time of 12:18:41 AM, without the date.  On my functioning one, the date and time were recorded.  I'll now see why Per Mon didn't record the date field.


value is deprecated in favour of content in sst.cloudflare.dns.createRecord

"value"  in  sst.cloudflare.dns.createRecord function (using the pulimi Record class) should be replaced by "content". Creating new dns records actually does not work so it seems like "value" has already been removed in pulimi.
export declare class Record extends pulumi.CustomResource {
...
/**
 * The value of the record. Conflicts with `data`.
 *
 * @deprecated `value` is deprecated in favour of `content` and will be removed in the next major release.
 */
value?: pulumi.Input<string>;

Just realized that this was reported already, closing


Lightline not showing even though statusbar is enabled

Hello! I've been trying to solve this issue for a while but I can't figure it out. For some reason, lighltine doesn't show when I open vim unless I manually run call lightline#update(), and it disappears again after I save the file. Sometimes I can see the statusbar flash on for a second when I first open vim but it disappears very quickly. The only workaround I've found is to add an autocmd that runs a delayed call to lightline#update() on a few different events:
autocmd VimEnter,BufWritePost,BufEnter * call timer_start(6, { tid -> execute('call lightline#update()')})

It doesn't work with no delay (and it doesn't work with a delay lower than 6 milliseconds) so I assume that some other action is running and overriding the statusbar after lightline does. I've also tried using a blank init.vim with only the basic lightline setup, reinstalling lightline, and reinstalling neovim, but nothing changed.

Please share your entire configuration to identify the problem.

call plug#begin()
Plug 'sonph/onehalf', { 'rtp': 'vim' }
Plug 'itchyny/lightline.vim'
call plug#end()

" Theme
colorscheme onehalfdark
set termguicolors
set t_Co=256
syntax on

" Misc
set number
set wrap!

" Lightline
set laststatus=2
set noshowmode
let g:lightline = {
  \ 'colorscheme': 'deus',
  \ 'active': {
  \   'left': [ [ 'mode' ],
  \             [ 'filename', 'modified' ] ]
  \ }
  \ }

I've also tried with just this and I get the exact same results:
call plug#begin()
Plug 'itchyny/lightline.vim'
call plug#end()
set laststatus=2

Write the output of :scriptnames.

Also :verbose set stl would be helpful.

:verbose set stl output:
  statusline=%=
        Last set from Lua

:scriptnames output:
  1: ~/.config/nvim/init.vim
  2: ~/.config/nvim/autoload/plug.vim
  3: /usr/local/share/nvim/runtime/filetype.vim
  4: /usr/local/share/nvim/runtime/ftplugin.vim
  5: /usr/local/share/nvim/runtime/indent.vim
  6: /usr/local/share/nvim/runtime/syntax/syntax.vim
  7: /usr/local/share/nvim/runtime/syntax/synload.vim
  8: /usr/local/share/nvim/runtime/syntax/syncolor.vim
  9: ~/.config/nvim/plugged/lightline.vim/plugin/lightline.vim
 10: /usr/local/share/nvim/runtime/plugin/gzip.vim
 11: /usr/local/share/nvim/runtime/plugin/health.vim
 12: /usr/local/share/nvim/runtime/plugin/man.vim
 13: /usr/local/share/nvim/runtime/plugin/matchit.vim
 14: /usr/local/share/nvim/runtime/pack/dist/opt/matchit/plugin/matchit.vim
 15: /usr/local/share/nvim/runtime/plugin/matchparen.vim
 16: /usr/local/share/nvim/runtime/plugin/netrwPlugin.vim
 17: /usr/local/share/nvim/runtime/plugin/rplugin.vim
 18: ~/.local/share/nvim/rplugin.vim
 19: /usr/local/share/nvim/runtime/plugin/shada.vim
 20: /usr/local/share/nvim/runtime/plugin/spellfile.vim
 21: /usr/local/share/nvim/runtime/plugin/tarPlugin.vim
 22: /usr/local/share/nvim/runtime/plugin/tohtml.vim
 23: /usr/local/share/nvim/runtime/plugin/tutor.vim
 24: /usr/local/share/nvim/runtime/plugin/zipPlugin.vim
 25: ~/.local/share/nvim/site/pack/packer/start/galaxyline.nvim/plugin/galaxyline.vim
 26: ~/.local/share/nvim/site/pack/packer/start/nvim-bufferline.lua/plugin/bufferline.vim
 27: ~/.local/share/nvim/site/pack/packer/start/nvim-web-devicons/plugin/nvim-web-devicons.vim
 28: ~/.local/share/nvim/site/pack/packer/start/plenary.nvim/plugin/plenary.vim
 29: /usr/local/share/nvim/runtime/ftplugin/vim.vim
 30: /usr/local/share/nvim/runtime/indent/vim.vim
 31: /usr/local/share/nvim/runtime/syntax/vim.vim
 32: /usr/local/share/nvim/runtime/syntax/lua.vim
 33: /usr/local/share/nvim/runtime/syntax/vim/generated.vim
 34: ~/.config/nvim/plugged/lightline.vim/autoload/lightline.vim
 35: ~/.config/nvim/plugged/lightline.vim/autoload/lightline/tab.vim
 36: ~/.config/nvim/plugged/lightline.vim/autoload/lightline/colorscheme/default.vim
 37: ~/.config/nvim/plugged/lightline.vim/autoload/lightline/colorscheme/powerline.vim
 38: ~/.config/nvim/plugged/lightline.vim/autoload/lightline/colorscheme.vim

Looks like the conflict with galaxyline.nvim plugin, which is also a statusline plugin.

Oh, thank you. I don't even remember installing packer or galaxyline, but deleting ~/.local/share/nvim/site/pack/packer solved it. Thank you so much!


nixos.vimPlugins.youcompleteme fails to start server

ycmd seems to fail starting the 'server':
2020-04-01 14:02:06,299 - DEBUG - No global extra conf, not calling method YcmCorePreload
2020-04-01 14:02:06,300 - ERROR - ycm_core library not detected; you need to compile it by running the build.py script. See the documentation for more details.
Traceback (most recent call last):
  File "/home/chris/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/ycmd/utils.py", line 480, in ImportAndCheckCore
    ycm_core = ImportCore()
  File "/home/chris/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/ycmd/utils.py", line 471, in ImportCore
    import ycm_core as ycm_core
ModuleNotFoundError: No module named 'ycm_core'

To Reproduce
Steps to reproduce the behavior:
nix-env -iA nixos.vimPlugins.youcompleteme

Vim configured with:
Plug 'ycm-core/YouCompleteMe'

Metadata
nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.102, NixOS, 19.09.2070.b9cb3b2fb2f (Loris)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.2`
 - channels(root): `"nixos-19.09.2070.b9cb3b2fb2f, unstable-20.03pre212770.cc1ae9f21b9"`
 - channels(chris): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

If I understand you correctly you're using vim-plug directly to manage your plugins and wanting to use the global vimPlugins.youcompleteme package to avoid building YCM with vim-plug. I believe other distros support this use case but I don't think we do. (It would probably be exposed separately as a top-level package rather than within vimPlugins.) As far as I know nixpkg's vimPlugins are only supported using nixpkg's vimPlugins infrastructure.

Looks like nixos.ycmd may be what you're looking for.

I believe the issue is the library is not added to the PYTHONPATH because ycmd is built with the generic mkDerivation rather than buildPythonPackage.

closing because stale. Feel free to reopen if you can still reproduce.


Increase performance

in this milestone  :

We optimized database performance.
we used git flow
we wrote professional and clean code
we took the screenshot using EXPLAIN ANALYZE to see the execution time
BEFORE
SELECT COUNT(*) FROM visits where animal_id = 4;

SELECT * FROM visits where vet_id = 2;

SELECT * FROM owners where email =<EMAIL_ADDRESS>
AFTER

sorry sent wrong picture


preParsePostFormat documentation is missing

After merging pull request #1255 to solve issue #416 on the main repo, the website documentation is missing preParsePostFormat plugin documentation.
The plugin needs to be loaded in order to transform language numerals such as ar displaying "Eastern Arabic numerals"<PHONE_NUMBER> instead of "Arabic numerals"<PHONE_NUMBER>.

Interested to submit a pull request?

Sure will do 😃

Already done (just noticed the issue). https://day.js.org/docs/en/plugin/preparse-postformat

done


K8S Network policy applied is not allowing traffic

We are using ALB ingress controller for creating load balancers.  Now, our requirement is that, pods should be able to receive calls from only within the namespace and from loadbalancer.  But, we are not able to configure ALB with a network policy.
ALB is deployed in 'kube-system', and our pod is deployed in a namespace 'one'.
Our Network policy looks like this:
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
  namespace: one
  name: deny-from-other-namespaces
spec:
  podSelector:
    matchLabels:
  ingress:
  - from:
    - podSelector: {}
    - namespaceSelector:
        matchLabels:
          test-label: kube-system

The pods are now unreachable from the load balancer.
Is this configuration even possible from ALB?

@aalimovs : Do you have any idea on how to achieve this while target-type is set to IP ?. We don't have a way to define a way to allow incoming ingress traffic from ALB.

whoever stumbles upon this, we achieved this on EKS with Calico with the following:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: deny-from-other-namespaces
  namespace: your-namespace
spec:
  podSelector:
    matchLabels:
  ingress:
  - from:
    - podSelector: {}
---
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
  name: allow-external
  namespace: your-namespace
spec:
  podSelector:
    matchLabels:
      app: your-app-label
  ingress:
  - from: []
    ports:
    - port: 3000

The first policy denies traffic from other namespaces. However, if you're using alb-ingress-controller with alb.ingress.kubernetes.io/target-type: instance (default), this will break your services, because of NodePort. To solve that, allow ingress to your app port in the second policy.
While you've restricted pod to pod traffic, the pods in other namespaces can still hit the service via node-ip:port. This is good enough for our setup, since these services are exposed to the public via ALB anyway.
If you want to restrict even that, look at denying all egress in all namespaces and only whitelisting the ones the require. The other solution is to change alb.ingress.kubernetes.io/target-type to ip, however, you'll introduce downtime to your deployments, see #814 for more details.

Hello I have tried this with NodePort but I can still connect from another other pod from another namespace to this restricted pod's port.
kubectl get pods -n os  -o wide
NAME                     READY   STATUS    RESTARTS   AGE   IP              NODE                                           NOMINATED NODE   READINESS GATES
nginx-5976c8f8d6-s674r   1/1     Running   0          15h   <IP_ADDRESS>   ip-10-100-150-255.eu-west-1.compute.internal   <none>           <none>
nginx-5976c8f8d6-xw5vb   1/1     Running   0          16h   <IP_ADDRESS>   ip-10-100-102-177.eu-west-1.compute.internal   <none>           <none>

and then
kubectl run --generator=run-pod/v1  tmp-shell  --rm -i --tty --image nicolaka/netshoot -- /bin/bash
If you don't see a command prompt, try pressing enter.
bash-5.0# nc -zv <IP_ADDRESS> 80
Connection to <IP_ADDRESS> 80 port [tcp/http] succeeded!
bash-5.0# nc -zv <IP_ADDRESS> 80
Connection to <IP_ADDRESS> 80 port [tcp/http] succeeded!


Wrong documentation

Describe the bug
into the readme the documentation is related to firebase and others modules
To Reproduce
Steps to reproduce the behavior:

Go to https://github.com/capacitor-community/native-audio

Expected behavior
A clear and concise description of how to use the plugin

Closing this issue as the documentation have been updated.


Merge dev to feat-fast-sync 14.01.2022

This PR integrates the recent changes from the dev (as of 14.01.2022 2:30pm CEST) branch into the feat-fast-sync branch.

Closing now because it contains changes from this PR which apparently needs to be reverted from dev.
The new dev to feat-fast-sync PR will be created after the revert.


No proper Redirection of Pages !!

There is no proper redirection of pages!!! As by clicking each page in navbar its openning new tab in browser, which is disruptive and confusing for users. This can be  ensured that clicking on the navbar direct users to the intended sections within the browser interface, rather than opening new browser tabs.

Kindly assign me @Riyasharma28 under GSSOC'24


add CAM pressure-latitude atmospheric cross section - using DASK

Hi,
We would like to add our code to the gallery as a product of the hackathon.
Thanks for all of your help this week!
Best,
Jen, Brian, Shima, and Aneesh

Thanks for the PR @jenkayco! This looks great!


Support creating metalink files

Currently, a previous task must create the metalink file before this can be resource can be used. Often, that task runs the same sort of import-file/file-upload commands. This gets redundant across multiple pipelines and repositories, and can probably be made simpler.
Alternatively, allow put operations to receive a list of files from which to generate a metalink using import-file. For the file-upload, it should probably receive a list of upload targets. Currently upload configuration can only be specified by environment variables.
A future put/out interface might look like...

metalink - path to the metalink file (one of metalink or files must be specified)
files - an array of file glob paths to create a new metalink file from (one of metalink or files must be specified)
upload_files - an array of hashes to upload files when creating a metalink with files

to - a supported upload path with basic template interpolation support (e.g. s3://hostname/bucketname/{{.Name}}; version is available with {{.Version}}, and checksums are available, e.g. {{.SHA1}})
env - a hash of configuration to specify through environment variables for the upload (e.g. AWS_ACCESS_KEY_ID)

version_file - a path to a file whose contents have a version number to include when creating a metalink with files
rename - publish the metalink file with a different file name (only applicable with metalink)
options - a hash of supported options, depending on the repository type

for git repositories

author_name, author_email - the commit author
message - the commit message

With an example pipeline usage being...
jobs:
- name: build
  plan:
  - get: repo
  - get: version
    params:
      bump: rc
  - task: build
      file: repo/ci/tasks/build/config.yml
    - put: repo-dev-artifacts
      params:
        files:
        - ssoca-*
        version_file: version/version
        upload_files:
        - to: "s3://s3-external-1.amazonaws.com/my-release/releases/{{.Version}}/{{.Name}}"
          env:
            AWS_ACCESS_KEY_ID: ((assets_s3_access_key))
            AWS_SECRET_ACCESS_KEY: ((assets_s3_secret_key))
resources:
- name: repo-dev-artifacts
  type: metalink-repository
  source:
    uri: git+ssh://git@github.com:my/release.git//dev#artifacts
    options:
      private_key: ((git_private_key))

This does result in a fairly complex put configuration, though. In theory, the upload_files could (should?) become part of the resource configuration and be renamed to upload_options/upload/mirrors? This would help ensure consistency across puts to the resource, and reduce the amount of configuration needed for resource operations. If termed mirrors, it would also allow mirroring existing metalinks to other targets as they are being added to a repository.
Perhaps something more like...
jobs:
- name: build
  plan:
  - get: repo
  - get: version
    params:
      bump: rc
  - task: build
      file: repo/ci/tasks/build/config.yml
    - put: repo-dev-artifacts
      params:
        files:
        - ssoca-*
        version_file: version/version
resources:
- name: repo-dev-artifacts
  type: metalink-repository
  source:
    uri: git+ssh://git@github.com:my/release.git//dev#artifacts
    options:
      private_key: ((git_private_key))
    mirrors:
    - uri: "s3://s3-external-1.amazonaws.com/my-release/dev/{{.Version}}/{{.Name}}"
      env:
        AWS_ACCESS_KEY_ID: ((assets_s3_access_key))
        AWS_SECRET_ACCESS_KEY: ((assets_s3_secret_key))

Implemented via https://github.com/dpb587/metalink-repository-resource/commit/0dfee74a311eae011387c4a1ab7fc4c37124aa11.


Do not require space by the incrementation operator

Your reader macro, after collecting all the tokens, can iterate over all of them and check if any of them are of form FOO++ (same thing for ++FOO and  --). If so, it can split that token into FOO and ++.
This should be enough to type the ++ operator in a more natural style - without any spaces between the variable name and the operator.

I see. I have thought only the reader splits and makes tokens.
That is correct, the reader will see FOO++ as a single token. Nobody prevents you from adding a post-processing step though, that will accept raw input from the reader and split FOO++ into a pair of tokens that are FOO and ++ in the result.

Sorry, I am very late for responding.
I implemented a new pass for splitting token including ++, --, or unary *, &. (commit 7d87cea).
And I rewrote examples in README. The example of "Duff’s Device" now looks prettier.
Additionally, I plan to add some features in future:

Extending this treatment for some operators; When I write C, I use !, ~, -> without spaces. I think they are good candidates.
Trying to look local bindings using variable-information of CLtL2, because I want to use with-c-syntax in anywhere.

Anyway, Thank for your suggestion!

I've added two comments at https://github.com/y2q-actionman/with-c-syntax/commit/7d87cea006a8379bb117e0120aedaeb07c72b5e8.


Update README.md

dawg just be honest lmao

This goes for you as well.
I have no idea if this is sarcastic or you are being serious.

This goes for you as well.
I have no idea if this is sarcastic or you are being serious.

both, i used to be an avid cracker, but what youve uploaded is clearly a tool to crack NetLimiter, saying you dont support cracking and that this is for educational purposes only is ridiculous

It might be "ridiculous" for you but i am actually not supporting it.
To prevent such patch it only requires to pack/protect the application.

consider telling the devs if you havent, people will most likely use it to illegal register NetLimiter

l

m

a

o


Dynamic import (Polymer.importHref) breaks tests

In my custom element i have usage of the Polymer.importHref. Dynamicly imported file is a plain HTML wrapped into the dom-module. To be able to use dom-module i have to import polymer/polymer.html or polymer/lib/elements/dom-module.html which brings the following error during tests:
Failed to execute 'define' on 'CustomElementRegistry': this name has already been used with this registry at /bower_components/polymer/lib/elements/dom-module.html:128
For a bundled build (CLI polymer build) this issue is being resolved by adding fragments section to the polymer.json config file.
"fragments": [
  "src/dynamic-import1.html",
  "src/dynamic-import2.html",
  "src/dynamic-import3.html"
]

Is there any solution for testing elements with dynamic import?
Versions

polymer: v2.0.0
web-compnent-tester: v6.0.0

I found what causes the problem.
The path to the dynamically imported element was incorrect.
I was calculating path to the resource relative to the document.origin but instead i shoud've been using method this.resolveUrl('../../resources/dynamic-import.html').
This.resolveUrl solve the problem.


Can you please invite me to the slack channel

Can you please invite me to the slack channel? my email address is<EMAIL_ADDRESS>

https://easyerp-opensource.slack.com/join/shared_invite/enQtMjY1OTE2ODczNjY0LWU5OTcxYjkwZDYyMzQ3NzZiY2NiN2U0MGUzYjEwNDU4NTljNWNhMWMyODBhMDRmZWNiNTAwZGEzMmY2M2E1Yzg
Use this link to join their slack.


[WIP] rewrite channel

for the further multi thread support
I think the design of channel should be changed.

is it fixed https://github.com/crystal-lang/crystal/issues/3900 https://github.com/crystal-lang/crystal/issues/3862?

how it performance in threadring benchmark https://github.com/kostya/crystal-benchmarks-game#threadring?

Thanks for the PR @firejox. However, part of the team is currently working heavily on multi threading support, so I'd advise against submitting large changes relative to the design of channels, at least until this stabilizes.
Also, besides multithreading in particular, please refrain from submitting PRs that involve large changes without opening an issue to discuss it first: otherwise you risk spending a lot of time working on an implementation for something that was not to be accepted for some particular reason.

@kostya Yes, it would fix those issues. Every select will not run more than one times coroutine switch. and here is the performance https://gist.github.com/firejox/f9fb7c4b6d44501d0b1070c123a1fab6
it is slower than origin but still faster than other language.

@spalladino Sorry, I would open a issue and explain my design.

@spalladino Sorry for without opening issue first. Now I open a issue to discuss this.

Now the rewrite is done. 😃

Channel and all other concurrency-related stuff are only handled by the core team. And also they are working on it so these changes won't be compatible with them.


need to fix macOS build against older numpy versions

After the change to LAPACK 3.4.0, the macOS builds against numpy <1.11.3 don't work anymore. In https://github.com/MacPython/scipy-wheels/pull/32 a copy of a recent numpy.distutils is put into scipy/_build_utils/. We should do this in scipy itself, so macOS users can build SciPy themselves against an older NumPy.

I don't see any PRs linking in on this -- going to have to bump it to 1.3.0?

Let's make a decision here whether we care enough about numpy <1.11.3 or not. If so, we can still fix this after the 1.2.x branch. If not, we can bump the minimum requirement on macOS for source builds. I'm inclined to go with the latter, and bump to 1.11.3 unconditionally for 1.3.0

Okay, thought about it some more - I don't care enough to do this. People should just upgrade to >=1.11.3. macOS users are good at upgrading anyway. And it only affects whoever builds from source, wheels are fine.
Leaving this open because technically it is a real bug (we claim to support >=1.8.2), let's fix it for the next release by bumping up the minimum NumPy version.

fixed by now by requiring numpy >= 1.13.3, closing


Feature: Java Bindings

Hello RealSense enthousiats,
I developped a first Java binding for libRealsense:

The bindings are generated by JavaCPP.
They will be part of JavaCPP-Presets, for now they are waiting in a pull request from my fork.
They work with OpenCV in Java through JavaCV.
They will work with Processing and be part of the PapARt library .

It is a first version, not a full feature yet. I can get color and depth, IR is also theoritically available.
If anyone want to contribute you are welcome to do so, here is what is missing:

Linux only.
Many Hacks in the source code to create the java bindings.
Java overhead minimalistic (nothing really...).

Cheers,
Jeremy.

Thank you, that's awesome.
Can we link back to your fork for now from the documentation pages?

Yes absolutely, it is not really easy to use for now, it will be conveniant once its integrated within javacpp-presets because precompiled binaries are distributed.

Added a mention to Readme.md. Closing the issue for now, please update the community once it is integrated.


The QR code is wierd

Hi, Lingdong.
Due to my server environment, I add chrome_options.add_argument("--remote-debugging-port=9222") to make chrome executable on my server. Then I run wechit. But the QR code is wierd, with most of the area black and only left-up corner is white.

Hi egg-west,
I haven't tried my project remotely myself, but here's a guess:
First, this is how the program extract the QR code:

it controls an invisible Chrome instance in background
it makes a screenshot of entire login page, and at the same time read the HTML to get the bounding box of QR code
it crops the screenshot according to the bounding box, to get an image containing only QR code.

Therefore my guess is that your invisible Chrome window is too small, and most of the QR code is outside of view, and during the cropping step the invisible area are simply filled black.
(e.g. the situation in the screenshot below)

I can write up with a solution such as resizing the window automatically for users when I have time. But if it is possible, maybe you can remove the headless flag, and actually see the Chrome window and how the QR code looks in it?
Thanks

Since cannot open display, maybe you need to have X11 forwarding etc. on your server and use ssh -Y to view the GUI?
I’m so sorry but I’m not very familiar with using Chrome remotely. Probably you’ll be able to find more help on chromedriver’s site or selenium’s site: https://github.com/SeleniumHQ/selenium or http://chromedriver.chromium.org ?
Thanks

I think wechit is coolif I can use it without any display devices. Or if I have display devices, I would like to use web version of wechat.
Thanks.

I'm suggesting displaying the GUI because that just makes it easier to track down the problem. Once things are working correctly, there should be no need to show the GUI.
But back to your first question about how only one corner of QR code shows up.
try putting this line in init_driver in wechit.py:
driver.set_window_size(1000,1000);
It makes your window sufficiently large, so the QR code should be visible to the program

I think we're almost there! From your screenshot and description, it seems the problem is that during the step where the screenshot is cropped, the bounding box information returned by selenium is inaccurate.
Could you please try print(rect) after line 212 of wechit.py. It should print the coordinates (x0, y0, x1, y1) that indicates the upper left and lower right corner of the QR code in the screenshot. Compare it with the actual bounding box in the imagetemp/login-screen.png, are they different?
For me, when the window size is driver.set_window_size(1000, 1000), the correct bounding box is (730, 422, 1270, 962). So maybe you can try hardcoding that on line 217, e.g.
im = Image.open(LOGIN_SCREEN_FILE).crop((730, 422, 1270, 962))

The above should solve the problem, but if the problem persists then could you please try adding im.save("temp/qr.png") right after line 217. This should save an image containing only the QR code to the ./temp folder. Then compare it to temp/login-screen.png to see which part is being cropped.
Thanks, and I'm so sorry if this has been a frustrating experience for you.

Thank you so much for your patiently reply.
Tried it but not work. I finally tune the size myself and after a long time exploring I made it show the whole QR code. Then I scan it and accept. But nothing happens. Is this normal? Should I write scrip to control what will happen after this?
Thanks again.

Normally, right after you scan the QR code, it will print "logged in as <your name>! loading chats..." and then print a list of recent conversations.
But before your conversations can be fetched, it first need to wait for the page to load. My code checks if the page is loaded by seeing if your username is visible on page. So it is possible that your username contains weird characters that confuses python. So it kept thinking that your username is not loaded and kept waiting for it. If that's the case, change wait_for_chat_window on line 256 to something like this:
def wait_for_chat_window(driver):
    prompt = "press a key after scanning..."
    if IS_PYTHON3:
        return input(prompt)
    else:
        return raw_input(prompt)

So you'll just hit a key manually after scanning the QR code to proceed.
Another possible cause is the unlikely case that you really have no conversations, and my code assumes that you have and they're just not loaded yet, so it keeps waiting. If that's the case, change while True: on line 295 to for i in range(10):.
I know the logic behind these code sounds horrible but I'll improve them next time I update the project. :P
Thanks.

This QR problem is solved so you may close it freely. @LingDong-

Hey, I'm having what appears to be the same problem, though I'm not on a server. Is hard-coding the bounding box the only way to solve it still?


Add (or link/reference) the diagram for the network that is built by this tutorial

Add (or link/reference) the diagram for the network that is built by this tutorial
A visual representation will help tremendously.

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

ID: ec8503e0-6d9b-00ed-87e1-f3e15e9c7b57
Version Independent ID: dcb28198-c501-9530-4765-9837e6a4fc97
Content: Tutorial - Create a hub virtual network in Azure by using Terraform
Content Source: articles/terraform/terraform-hub-spoke-hub-network.md
Service: terraform
GitHub Login: @TomArcherMsft
Microsoft Alias: tarcher

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Closing out old GitHub Issues. If the issue is still valid, please open again so it's created in current repo. #please-close


feat(LinearAlgebra/Matrix/Trace): add Matrix.trace_diagonal

The statement that the trace of a diagonal matrix is the sum of the diagonal elements.
Zulip discussion

Is this ready for review?

Ah, yes, I simply forgot to tag it!

bors r+


feat: add full user journey example

Resolves #140, #149
This also fixes a long-standing issue we had where we couldn't compile contracts without some hacky feature flags because of multiple panic handler implementations. It turns out the fix was target_arch = "wasm32" instead of target_arch = "wasm32-unknown-unknown".
PR Checklist

~[ ] Tests~
[x] Documentation

I think we should next target into separate cli tool for contract deployment. To be able to deploy any contract in examples directory.
Similar to cargo stylus but that seeks for constructor.sol file and injects it into wasm.

Yes! Ideally, this would be cargo-stylus itself, that's why I asked the team at Offchain Labs if we could convert it to a library, so it's easy to integrate with. Hopefully, it's possible soon.


Style issues when clicked

There will be a light blue background when I click on it, Under the svg picture, why?

Is there a way to disable this focus state when clicked (but keep for when keyboard tabbing)?


MIC-629: UaP: Reopen identified need

Codecov Report
Attention: Patch coverage is 94.44444% with 2 lines in your changes missing coverage. Please review.

Project coverage is 91.13%. Comparing base (e2ae7b9) to head (8045224).

Files with missing lines
Patch %
Lines

...s/update-plan/reopen-identified-need/controller.ts
87.50%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #266      +/-   ##
==========================================
+ Coverage   87.37%   91.13%   +3.76%
==========================================
  Files         290      292       +2
  Lines        4363     4399      +36
  Branches      673      676       +3
==========================================
+ Hits         3812     4009     +197
+ Misses        543      388     -155
+ Partials        8        2       -6

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


CI Preview builds for the Hub

Migrated from GitLab: https://gitlab.com/meltano/hub/-/issues/238
Originally created by @aaronsteers on 2022-04-19 22:02:46

We should probably use Netlify or another option to publish+host preview builds from the Hub.
From this convo in slack: https://meltano.slack.com/archives/CKHP6G5V4/p1650405682886009?thread_ts=1650405346.062149&cid=CKHP6G5V4

We have this now.


Re-enable toes

This PR will re-enable toes for avatars, I also added toes in the leg manager but did not expand on the existing foot transforms such as hmd_floor as I thought maybe this might be already in use.

https://user-images.githubusercontent.com/51108458/140411074-953ffacf-e877-4ba5-b9bd-3f017a697ff4.mp4
This is the toe bones enabled with IK

https://user-images.githubusercontent.com/51108458/140411159-f74c4e85-0a74-4a4b-a8a6-adf863ca3a16.mp4
This is toe bones enabled without IK

Btw @yaserOSource if you put "Fixes https://github.com/webaverse/app/issues/1663" in the topic it will auto close on merge.

Fixes https://github.com/webaverse/app/issues/1663