Publish 06/29/2022 3:30 PM PT

Docs Build status updates of commit f64a8d3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Set-UnifiedGroup.md
:white_check_mark:Succeeded
View (exchange-ps)

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


ng-animate-ref - Clone doesn't copy contextual styling of original

When an ng-animate-ref element is cloned before an animation, I would expect it to look exactly the same as its source element. Instead, when the source element has styling applied because of the specific context it is in (e.g. .context .source-element { background: green; }), this styling is not applied to the cloned element.
This makes the animation weird: it first snaps to the styling the .source-element would have when in no context, and then animates to its new context. Example: http://plnkr.co/edit/AXzKmQcE5BUx4NXg4cCS?p=preview. When clicking an element, it first snaps to a blue background, before animating to a black background. I would expect it to animate directly from a green to a black background.
This can be worked around by simply applying all styling directly to the source element to be animated (e.g. .source-element-in-context { background: green; } (see this plunker: http://plnkr.co/edit/Odho9WnoOm9JFv3gzzZl?p=preview), but it makes much more sense to me when angular itself applies all styling of the source element to the cloned element.

Sounds resonable!

I believe this is the behavior you are experiencing. Your plunker link didn't exhibit the issue for me. http://plnkr.co/edit/OLhhDaz8awp5wzLoeAr1?p=preview
I have made a PR #14366
Here is the Plunker with the modified version of ng-animate
http://plnkr.co/edit/EvBFwIGD40pHxewXCYGY?p=preview
Let me know what you think!

Hm I guess something went wrong with the plunker or its url. But your plunker shows what i meant. Your example of the modified ng-animate looks good!
But thinking about this some more, I would also expect this to work in more advanced cases. For example:
http://plnkr.co/edit/iZB1Y5pKFtRsJ6SLqg0w?p=preview
In this case, the last row has a position: fixed. Right now it snaps before animating. It would be cool if angular would put the cloned element on exactly the same position as the fixed element is.
This also applies to width and height.

I agree. This is also an issue with elements nested inside the element and their contextual styles. I think there is only so much that you can do though.
The other method I was trying first was to call getCalculatedStyle() and use that as the new styles for the clone, but there are some issues with that that I couldn't get ironed out. I wonder if that method would be more smooth. Although it would come at the cost of performance probably.

Another example. ng-style causes this snapping behavior when going to an ng-style.
http://plnkr.co/edit/4QQ1RhHOsQ0w6lLKrJRY?p=preview
Compared to the modified:
http://plnkr.co/edit/TIQR2lv0Wa3zAwqeEhy0?p=preview


Lottery Prediction

Pull Request for ML-Crate 💡
Issue Title:

Info about the related issue (Aim of the project) :
Name:
GitHub ID:
Idenitfy yourself:

Closes: #issue number that will be closed through this PR
Describe the add-ons or changes you've made 📃
Give a clear description of what have you added or modifications made
Type of change ☑
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested? ⚙
Describe how it has been tested
Describe how have you verified the changes made
Checklist: ☑

[ ] My code follows the guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly wherever it was hard to understand.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added things that prove my fix is effective or that my feature works.
[ ] Any dependent changes have been merged and published in downstream modules.

@Saurabhbangar0 please do the required changes otherwise this will not be counted towards the contribution to this project repository.

I need a help to find out 1st Kerala lottery winning result. My email id is<EMAIL_ADDRESS>


[FEATURE] shadowsocks support

hi thanks for your great tool
is it possible to add support for the shadowsocks ( ss:// ) protocol?
I'm using surfshark shadowsocks proxy for connecting to the internet and I wonder if it is possible to add shadowsocks support so guys like me can use those ss:// links as proxy
thanks

This is interesting. Let's see if Golang supports shadowsocks proxy for that, we will implement it here afterwards.

that's great 🙂
thanks you

Instead of adding full Shadowsocks support how about chaining existing Shadowsocks client that usually exposes a SOCKS5 proxy?
You can run multiple Shadowsocks clients concurrently and tell them to expose different ports: mubeng shall be able to rotate through local proxies which would work the same manner as you described.


librsvg: 2.57.92 -> 2.58.0

Changes: https://gitlab.gnome.org/GNOME/librsvg/-/releases/2.58.0
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I think this is likely to land in master at the same time as #291339 anyway, but :+1: from the perspective of having committed the same thing here ae26cecfeac865076dda6cf5525b6a7b6281e6b5


Add payment contract functions - deploy and show

As a tenant, create a payment contract for revenue splits.
At creation - specify the list of stakeholders:  an array of addresses and a corresponding array of shares.
Shares are integers and represent proportions so they don't need to, for example, add up to 100 (but they can, for simplicity).
Examples:
Create a payment contract
./elv-live payment_contract_create 0xc05e0274158442b7d595e5ac6d483d18df8fc93e,0x165b828643eb0fa8a7c6b15330670106169941cc 80,20
Deploy new payment contract

contract_address: '0xcd6c150e4da4a22cdc3d128f4024e039234d6b59'
shares: 100

Show status of payment contract and stakeholders
./elv-live payment_contract_show 0xcd6c150e4da4a22cdc3d128f4024e039234d6b59 0x4c6C3547f81Ef23ED6e6562ab05a598DDdDd140d
Show payment contract status

contract_address: '0xcd6c150e4da4a22cdc3d128f4024e039234d6b59'
shares: 100
released: 0
payees:
  '0xC05e0274158442B7d595E5AC6D483d18DF8fc93e':
    shares: 80
    released:
      _hex: '0x00'
  '0x165B828643eB0fA8A7C6b15330670106169941cc':
    shares: 20
    released:
      _hex: '0x00'

Follow up items (can be done as separate PRs)

figure out how to call the payment 'releasable' function (currently fails)
could refine the 'show' output to represent the values with 'decimals' instead of big ints

releasable method was overloaded function.
Followed fix from here:
https://github.com/ethers-io/ethers.js/issues/407
and made formatArguments false. It seems to work now.
./elv-live payment_contract_show 0xcd6c150e4da4a22cdc3d128f4024e039234d6b59 0x4c6C3547f81Ef23ED6e6562ab05a598DDdDd140d
Show payment contract status

contract_address: '0xcd6c150e4da4a22cdc3d128f4024e039234d6b59'
shares: 100
released: 0
payees:
  '0xC05e0274158442B7d595E5AC6D483d18DF8fc93e':
    shares: 80
    released: 0
    releasable: 0
  '0x165B828643eB0fA8A7C6b15330670106169941cc':
    shares: 20
    released: 0
    releasable: 0

@elv-serban


[Feature Request] datepicker range option to set first/second months

Existing Component
Yes
Component Name
daterange,datetimerange
Description
It would be great if there was a way to specify default first-second months.
Currently, it defaults to current month to the first month and next month to the second month.
There are situations where one would need to set last month as the first, and current month as the second. For example, when selecting a date range from past dates only.

Use default-value: https://jsfiddle.net/oo50xmdp/

Great!
Code for the example I described:
 datePickerOptions() {
    const isDisabled = function (date) {
        return date.getTime() > new Date().getTime()
    };

    const currentMonth = new Date();
    currentMonth.setDate(1);
    const lastMonth = new Date(currentMonth.getTime());
    lastMonth.setMonth(lastMonth.getMonth() - 1);

    return {
        disabledDate: isDisabled,
        defaultValue: [lastMonth, currentMonth]
    };
},

@Leopoldthecoder one weird thing I noticed: if I select dates from right panel, then re-open datepicker, it's switching the right panel to left. Is this expected behavior? Is there a way to change it?

The principal is: when the binding value is not empty, the start date will always be in the left panel. So this is the expected behavior.


Increasing Number of RPC Requests Impacting WebSocket Performance and CUU Metrics

Issue Overview:

Rising number of RPC (Remote Procedure Call) requests via WebSocket.
Significant impact on CUU (Compute Units Used) per second and per month.
Topic requires further exploration to identify root causes.

Identified Concerns:

Logging operations consuming excessive compute resources.
RPC methods such as eth_sendRawTransaction and eth_estimateGas contributing to high compute usage.

Scalability Considerations:

Need to address scalability of WebSocket connections and processing capabilities.
Impact on gas fees as transaction volumes increase, leading to potential cost surges.

Required Actions:

Investigate the most compute-intensive operations
Analyze and optimize high-impact RPC methods.
Develop strategies to manage connection and compute scaling effectively.
Explore methods to mitigate rising gas fees under high transaction loads.
Consider a DRPC provider.

The situation is fixed following this documentation - https://docs.lilypad.tech/lilypad/hardware-providers/setup-arbitrum-rpc


stream_delete_event: Include only stream IDs in the event.

Fixes #32369
Migrate stream delete event to include only stream ids in the form of "stream_ids": [1,...] because clients only need the ids.
While also keep sending same ids in the form of "streams": [{stream_id: 1},...] for compatibility with all clients other than web.

Addressed review comments !

Adressed review comments and migrate frontendcode to  use stream_ids

Addressed review comments

Resolved merging conflichts and addressed review comments

Addressed review comments

Addressed review comments !

Looks good to me.


pull request for e2e test at 12/26/2016 01:56:11

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Prefix Bug

Build 2.3.4 doesn't have the ability to properly hide prefixes. (And still apply the prefix when sending a chat)

bump


Billing clear test data and reset connection

billing - endpoint to clear test data

@LucasBrazi06 : Server-side is ready (witth automated tests).
@cabch : Please take over for the UI part. Thanks


rc12: since stats were implemented you can't call a db 'stats'

Or at least that's what I guess is happening as this worked against rc10:
⇒  curl -G http://localhost:8086/query --data-urlencode "q=CREATE DATABASE stats"
{"error":"error parsing query: found STATS, expected identifier at line 1, char 17"}%

In my opinion you should be allowed to call a db 'stats', but if that makes things too complex to parse then I accept that it's a bit of an edgecase.

Or actually I think I'm being overly anal here. You can't call databases 'select' or other reserved keywords I'm sure either in many dbs.

I think it's worth picking a different name for our built in system database though. Since many people probably use stats. Maybe system @otoolep?

This is part of the query language now, it has nothing to do with the database name.  The internal name is _stats I believe or something like that.
We would have to change it from SHOW STATS to something like SHOW SYSTEM-STATS, etc.  I'm not sure if they can still create a database name called "stats" by quoting it.  This is the same now as trying to create a database name called "select", or "drop", etc.

ah right, SHOW STATS. Ok, never mind what I said :)
On Mon, Mar 16, 2015 at 8:33 AM, Cory LaNou<EMAIL_ADDRESS>wrote:

This is part of the query language now, it has nothing to do with the
database name. The internal name is _stats I believe or something like
that.
We would have to change it from SHOW STATS to something like SHOW
SYSTEM-STATS, etc. I'm not sure if they can still create a database name
called "stats" by quoting it. This is the same now as trying to create a
database name called "select", or "drop", etc.
—
Reply to this email directly or view it on GitHub
https://github.com/influxdb/influxdb/issues/1966#issuecomment-81742035.


API docs and Python API refactor

A skeleton of the python API docs are now in the api-docs branch. As this also requires some configuration changes to the ReadTheDocs site, I've setup a temporary docs build at the old airr-formats url.
There's still a lot of missing information, especially w.r.t. the metadata methods/arguments, and the TOC needs work, but it's more or less what it will look like. So I'm soliciting feedback. Holler if anything looks wrong.
Also, we currently have both read/write for the TSV and metadata going through the same class (airr.formats.RearrangementsFile) with a writable state and some metadata arguments, rather than separate reader/writer classes. It'd be a chunk of work to do, but it's probably more clear to have separate reader/writer classes for both (we could drop alot of items from the Attributes docs in airr.formats.RearrangementFile).
Do we want to restructure at all? If we're going to make any changes to the structure, I think we should decide now so we don't have to rewrite the docs.

Talked with @schristley a bit and went ahead with the refactor.

API docs are now in a finished state.
Metadata code remains in the package, but has been removed from the docs and split into a separate class for future work.
We could probably move the definitions.yaml import into the formats.RearrangementSchema class, but that won't impact the docs.

On another note... Is anyone attached to the Alabaster theme? It, most vexingly, won't let me configure the toctree depth for pages and the sidebar separately.  I assume we want a white theme?  Any objections to experimenting with bootstrap?
Updated doc preview is here:
http://airr-formats.readthedocs.io/en/api-docs/index.html
If there are no objections by Thursday, then I'll initiate a PR with the API docs and refactor.

Any objections to experimenting with bootstrap?

Nope. Looks good for me.

Looks good. Only question is external_fields. Should it be externalFields to match the case style of the rest of the code?

Looks good. Only question is external_fields. Should it be externalFields to match the case style of the rest of the code?

I just autopiloted functionName and variable_name, with the @property methods  following variable_name.
If we want to be PEP8 compliant it should be function_name.  I feel like we talked about PEP8 at some point, but can't recall what we decided...

Okay, if that's what PEP8 specifies then that's good. We have PEP8 listed in our CONTRIBUTING.md

Ah, okay. Then I need to change the method names.


CrumbException not being honoured - CSRF issue

I have setup a hook in GitHub pointing to https://my-jenkins/ghprbhook (where my-jenkins is the actual address of my jenkins setup).
When I test the hook, I can see jenkins returning Invalid HTTP Response: 403 to GitHub.
I can also see in jenkins logs No valid crumb was included in request for /ghprbhook. Returning 403.
If I disable jenkins' CSRF protection, jenkins instead returns Invalid HTTP Response: 302, still not working but clearly hitting a different problem - I'll cross that bridge when I come to it.
All this suggests that the CrumbException is not being honoured when using this plugin.

dep
version

Jenkins
2.73.2

ghprb
1.39.0

credentials
2.1.16

matrix-project
1.8

build-flow-plugin
0.20

ssh-agent
1.15

structs
1.10

github
1.28.1

git
3.6.3

github-api
1.90

plain-credentials
1.3

job-dsl
not installed

token-macro
2.0

I'm happy to provide more config/context if needed.
Any help/pointers would be greatly appreciated.

Unrelated to your crumb problem, but I was googling for an issue and it led me here:
The solution to your Invalid HTTP Response: 302 error is probably not having a trailing slash on the web hook URL: https://my-jenkins/ghprbhook/
Hope that helps.

@donnellyk you are correct, that was the issue that caused the 302. Adding the slash fixed that problem.
I'm currently running with CSRF disabled globally on jenkins but obviously I'd like to not have to do that.

We are running with CSRF and this plugin successfully.


get /home disappearing ?

Just checking the changes made on the new version api with the folders/personal  :

Where are the workspaces,do i need a second call ?
Where are the sub folders ?
Where are the sheets, reports and dashbaord inside of a folder (or a workspace) ?

Given those changes, how can we rebuild a the tree of folders, and sheet:
Lets say i want a tree view of items in folder i'll need calls for :

List sheets inside of a folder
List reports in that folder
List dashbaord/sights in that folder
List folders in that folder

Any other laternive are in the pipe, such as paging ?

Hi @mermich,
Looking at the public API here: https://smartsheet.redoc.ly/tag/homeDescription
It says: In the Smartsheet UI, the "Home" tab shows all objects a user has access to, including dashboards (also called Sights in the API), folders, reports, sheets, templates, and workspaces. NOTE: The GET /home endpoint is deprecated. Use GET /folders/personal to get shared items and GET /workspaces/ to get workspaces.
Q1: Where are the workspaces,do i need a second call?

Yes, a second call is needed, I believe given the API blurb above you can use a specific workspaces call to get them.

Q2: Where are the sub folders?

Depending on where your subfolders are located you may get a list of the top level ones from folders/personal for things
inside of the sheets folder. Otherwise you may need to find them in other workspaces.

Q3: Where are the sheets, reports and dashboards inside of a folder (or a workspace) ?

I did a little looking around for this and found that there is a list folders API https://smartsheet.redoc.ly/tag/folders#operation/list-folders this will get you a list of folder objects that should have a list of sheets, reports and dashboards inside of them. https://smartsheet.redoc.ly/tag/foldersObjects#section/Folder-Object

For a tree view of items in a folder I think it can be done with mostly the list folders API and maybe a few more calls for each subfolder.
Is your last question asking if we are thinking of implementing paging for the /home API? I believe that it is being fully deprecated and will not be supported long term.
Thanks for being on top of the changes we are making 👍

So in other words, I'l have to do recursive calls to get all the hierarchy, of sheets, reports and forlder (thus 4 call per folder).
I can't figure out the number of calls required to rebuild the tree of large clients, nor the cost of redevelopping the programs and solutions because of such regression.
Just to say, currently the only change on the v4 is deactivating the /home endpoint, and no addition on any feature/endpoint.
One more question : will this change only affect the US instance, or will it also affect the US GOV and Europe instances as well ?
Last question : when will the current /home endpoint will get deactivated ?

One more example : let's say I want to find where a sheet is located, including folder and subfolder: i'll have to first read the sheet to get its workspace and then do recursive calls to read each folder/subfolder.

So, first and foremost the /home deprecation PR is not in version 4.0.0.
That version is a major update to the dot net 8.0 which was a big jump so that is why it jumped us to 4.0.0.
Possible solution to /home deprecation
I have been thinking about how the /home deprecation will be a big shake up and I have some ideas on how to ease
migration off of /home.
Note before I begin:  I totally get having a hierarchy of sheets, reports, dashboards, folders, workspaces. It closely mimics the browse behavior in Smartsheet and is useful for users without many things. That being said here is some ideas
on how to move away from it...

Start a hierarchy with only listing workspaces, this should be relatively quick and only require calls to the list workspaces API.

When a user clicks on one of the workspaces that is when you can list all folders inside that workspace and any
sheets, reports, dashboards that are not in a folder. Note I might suggest doing a preload of this if you think you will run into issues with latency/paging requirements.
If a user clicks on a folder you can use the folder object to list all sheets, reports, dashboards etc that are in that folder.

(Extra awesome) For users that will not like the completely collapsed hierarchy you can also implement a search bar with or without ways to filter for the assets they want to look for. I would personally default it to non-rows since
they seem to always clutter the search results.

Caveats
As for knowing where a sheet is located I do agree it would be kinda tedious to get that information. That is part of
why I started thinking of this level based approach in steps 1-3.
Extra things you asked about.

This change to the SDK will effect whatever environment you want to hit. I know there are plans to deprecate home completely in all regions so eventually US Gov and EU will also have this deprecated.

As for when /home will be fully deactivated. I will see if I can get you info on that, I primarly wanted to update the SDK to reflect something before it broke and caused users like yourself to be in a really bad state.


Fix link to ThreadPool.SetMinThreads

Fixed broken link to ThreadPool.SetMinThreads article on msdn.

Hi @boades, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@boades : Thanks for your contribution to the Azure documentation! The author, @robinsh, has been notified to review your proposed change.

Hello @boades ! Thanks for contributing to our documentation; this change looks good.
@tysonn Please merge this change, it's good to go.

#sign-off


Add a Hover Effect to "Become a Partner" Button for Theme Compatibility

The "Become a Partner" button currently lacks a hover effect that complements the overall website theme. To improve user experience and visual consistency, I propose changing the hover effect to something that aligns with the site's design aesthetics.

Hii @Mayukh69-gif I would like to work on this issue.Can u please assign this issue to em

hi @PAVAN507-STAR, I have already worked on this issue, if u want to work on this issue again create a new issue, please or contact @anuragverma108

@Mayukh69-gif If its not yet solved i would like to work on it

@PAVAN507-STAR I already solved this issue.


x/tools/dashboard/app: incorrect build failure emails

For tests the app sends failure emails only on ok->fail transition. But for perf
benchmarks it sends emails for all failures. I've tried to fix it, but obviously failed.
The logic is not trivial as there can be partial results and/or partial failures.
For benchmarks the app needs to send emails only on ok->fail transitions as well.

The old dashboard has been dismissed years ago so we can close this.


Quickstart issue

Hello.
When trying to use this component in angular project, there appears following problem: map is shown as separated square pieces covering random screen space (as st the screenshot below).

The LeafletModule is imported in the work module as it is described in README. The component itself has been taken from the Basic Map Setup as is.
The markup of the app is built on the Bootstrap grid base. Leaflet is located within a col-md-.. div, but goes out of its scope.
So, what can cause such a problem?
Thank you

i had the same problem when somehow it didn't load leaflet css properly. Double check it's loading node_modules/leaflet/dist/leaflet.css

@probadb yeah, thank you! I already figured it up. There was a problem with alignment and padding.


Angular (2+) documentation is wrong

https://github.com/getsentry/raven-js/blob/master/docs/integrations/angular.rst is wrong, https://sentry.io/for/angular2/ is more WRONG. They were based on early days API (https://github.com/angular/angular/blob/2.0.0/modules/@angular/core/src/error_handler.ts).
Simply sending err should work. However, if we want to be perfect, we should do something like the default handler. This is too much to be written on all users' side, so we'd better bundle it inside Raven, or if dependencies are a problem, create a separate repo to host the ErrorHandler module(service).

Can you show your config? I'm having issues with Angular 2 + Sentry after following their documentation.

Minimal to be functional:
export class RavenErrorHandler implements ErrorHandler {
  handleError(err: any): void {
    Raven.captureException(err);
  }
}

According to same problem that we had with this installation and @ishitatsuyuki comment here is Pull Request.

Ugh, I'm pained this got lost / took us so long. #992 is merged and docs are updating, so this is now closed.


Added Jito-RPC Executer

Added Jito-RPC Executer
https://jito-labs.gitbook.io/mev/searcher-resources/json-rpc-api-reference
No need to authorize custom Private Key from jito
Just set the executer to 'jito' and set the fees

What if we want to use a custom RPC with our own jito setup? I tried today and couldn’t get it to work

This setup for jito doesn't support custom RPC.
If it doesn't work it is because of congestion or low tips/slippage.
The code it self is well implemented.

I hear you, I think it should support custom RPC with the jito keypair because it would be faster, no?

The code it self is well implemented.

This feels like a challenge 😳


Gift Entry: template level customizable batch table header

Critical Changes
Changes
Issues Closed
Community Ideas Delivered
New Metadata
Deleted Metadata

**lurch: attach W-041565

Tracking W-041565

@psadie-sfdo One thing we will have to address is how to handle batches that were set up prior to introducing the batch table customizations - I just deployed this branch, and when opening my pre-existing batch I was greeted with a "null input to JSON parser" toast and "[NoErrorObjectAvailable] Script error" popup as well

@psadie-sfdo @ptewson-sfdo added a few minor shortDescription change suggestions, but other than that, the PR looks good from docs point of view. Though, there's been enough back and forth about this work, I wouldn't mind seeing a demo before this PR is merged. Probably loop Grace in on that as well. Thanks!

@psadie-sfdo will get sign-off from Grace, but docs-wise, this PR is good to go. Labels, help text, and description look good. FYI @ptewson-sfdo & @vmartinov-sforg.

Sorry for the delay; it took a little while longer than anticipated to spin up a scratch org. Two questions for you @psadie-sfdo:

Should the visible fields include the four recommended ones (Donation Name, Donor Name, Status, Failure Information)?
The alignment of "Available Fields" and "Visible Fields" looks a little tight against the selection boxes and a smidge too far to the left. Did you run it by Grace?

CC: @vmartinov-sforg

We've opted not to make changes to the default template that we ship with in this case. But happy to revisit that decision if we feel strongly that we should. Alternatively we could add additional logic to force those selection of those fields on whenever we don't find any selected headers when editing an existing template. Thoughts @vmartinov-sforg @kenlewis-sfdo?
Grace has seen this, but we didn't take a deep look at the position and paddings of those labels. My initial thought is that this might actually be a bit challenging to adjust as we're using a base lightning component here. I'll check in with Grace to get her thoughts regardless though!


[Feature Request] Mock Interactions

It would be much more convenient if web-component-tester included a set of mock interactions like those provided by the iron-test-helper package without having to import a separate library.

The issue with bundling more libraries in WCT is that then the test runner is versioned with your test libraries, so the more libraries we ship the more version constraints we add to your projects, and the harder it is to upgrade to a new version of WCT (or to upgrade the test libraries that are shipped with WCT).
Our plan is actually to go in the opposite direction and ship fewer things by default. It would be nice for polymer init to install and include a bunch of test libraries for you though. Filed as https://github.com/Polymer/polymer-cli/issues/659 to track


Add on_repl_devs_init_completed cb.

A stable callback is needed regardless whether we have repl_dev created.
This CB is a nice place for upper layer to recover those depends on repl_dev.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 66.40%. Comparing base (1a0cef8) to head (9313dae).
Report is 100 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #602      +/-   ##
==========================================
+ Coverage   56.51%   66.40%   +9.88%
==========================================
  Files         108      109       +1
  Lines       10300    10834     +534
  Branches     1402     1482      +80
==========================================
+ Hits         5821     7194    +1373
+ Misses       3894     2935     -959
- Partials      585      705     +120

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


Search isn't reset after creating resource tag 🔎

Description
After creating a tag for a resource, the dropdown that is supposed to show all available tags is only showing the tag that just got created because the search value is not being reset under the hood (though in the UI it seems to be reset).
Steps to Reproduce
Steps to reproduce the behavior:

Go to /resources/add to add a resource.
Create/select a new tag.
The newly created tag is the only one that appears in the dropdown.

Expected Behavior
After creating a tag, the search should truly reset and the dropdown should show all options as if there was an empty search value.
Screenshots
https://github.com/colorstackorg/oyster/assets/38056800/6997b16c-8e7f-434d-8267-9391f8ef5dd8
Additional Context
A good place to start with this is the ResourceTagsField.

Hello! I would like to tackle issue #272 :)

You got it, @AshleyJagai!

Going to open up this issue!

I'd like to take this on :)

@iperalta7 you've got it!


Add an example for how to extend cookie expiration for login

Currently the examples given will use the default cookie expiration for authentication. It'd be nice to have some examples for how to extend this to be longer than the default.

I'm testing out adding this before adding the authentication schemes in Program.cs. I'll let you know how it goes!
builder.Services.AddAuthentication().AddCookie(options =>
{
    options.Cookie.Expiration = TimeSpan.FromDays(7);
    options.SlidingExpiration = true; // renew the cookie if it is accessed before expiration
});

@toiyabe the above example didn't seem to work. Do you have any ideas for how to extend this so people aren't logging in constantly? Or perhaps a pointer on investigating why a session may expire for a user?

Attempting this now. Will report back. If this is the case I'll expose these as parameters on the class.
https://github.com/MoonriseSoftwareCalifornia/AspNetCore.Identity.CosmosDb/pull/34

Thanks Eric
Get Outlook for iOShttps://aka.ms/o0ukef

From: Eric Triebe @.>
Sent: Monday, September 2, 2024 1:25:19 PM
To: MoonriseSoftwareCalifornia/AspNetCore.Identity.CosmosDb @.>
Cc: Eric Dean Kauffman @.>; Mention @.>
Subject: Re: [MoonriseSoftwareCalifornia/AspNetCore.Identity.CosmosDb] Add an example for how to extend cookie expiration for login (Issue #32)
Attempting this now. Will report back. If this is the case I'll expose these as parameters on the class.
#34https://github.com/MoonriseSoftwareCalifornia/AspNetCore.Identity.CosmosDb/pull/34
—
Reply to this email directly, view it on GitHubhttps://github.com/MoonriseSoftwareCalifornia/AspNetCore.Identity.CosmosDb/issues/32#issuecomment-2325181170, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMRFM3JJ5CTIVX2E62FQEHTZUSUQ7AVCNFSM6AAAAABNB3K2LGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRVGE4DCMJXGA.
You are receiving this because you were mentioned.Message ID: @.***>


fix(controller): Fix node status when daemon pod deleted but its children nodes are still running

Checklist:

[ ] My organization is added to USERS.md.

This fix is out on https://github.com/argoproj/argo/releases/tag/v2.12.5

This fix is out on https://github.com/argoproj/argo/releases/tag/v2.12.5


New rules using the local string not the localized files

Hello again!
I'm loving vee validate you have NO IDEA.
In any case, i don't know how to prevent vee validate from using the string defined when you create the rule but the rules you add to the localized files.
When i switch languages it switches as well to the proper locale file in that language but my default is en and it takes the error message contained in the extend function.
THat is a bit ugly for me, i know i am doing something wrong but i forsee one day my user not selecting english as their default locale and it won't work.
I tried not adding a message but it's required so i was a bit stuck.
Thanks!!!!!!!!!!!!!!!!!!!!!!!!

If you have a localized string already in dictionary, you call the extend function passing only the validator function directly:
// since the localized string is in the dictionary.

Validator.extend('myRule', (value) => {
  // determine if valid.
});

Like i said, you are a PRINCE!!!!
thanks. I'm sending you a trillion dollars as soon as i make a dime from this!!!


make docker-image fails

Running make docker-image on the master branch
cp etc/docker/elyra/Dockerfile build/docker/Dockerfile
cp etc/docker/elyra/start-elyra.sh build/docker/start-elyra.sh
DOCKER_BUILDKIT=1 docker build -t docker.io/elyra/elyra:dev -t quay.io/elyra/elyra:dev build/docker/ --progress plain
#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.0s

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.80kB done
#1 DONE 0.0s

#3 resolve image config for docker.io/docker/dockerfile:experimental
#3 DONE 1.0s

#4 docker-image://docker.io/docker/dockerfile:experimental@sha256:de85b2f3a...
#4 CACHED

#5 [internal] load metadata for docker.io/jupyterhub/k8s-singleuser-sample:...
#5 DONE 0.4s

#6 [1/4] FROM docker.io/jupyterhub/k8s-singleuser-sample:0.10.6@sha256:8bc1...
#6 DONE 0.0s

#7 [internal] load build context
#7 transferring context: 1.04kB done
#7 DONE 0.0s

#8 [2/4] ADD start-elyra.sh /usr/local/bin/start-elyra.sh
#8 CACHED

#9 [3/4] RUN chmod ugo+x /usr/local/bin/start-elyra.sh &&     apt-get updat...
#9 0.577 Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
#9 0.600 Get:2 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
#9 1.119 Err:1 http://security.ubuntu.com/ubuntu focal-security InRelease
#9 1.119   At least one invalid signature was encountered.
#9 1.364 Err:2 http://archive.ubuntu.com/ubuntu focal InRelease
#9 1.364   At least one invalid signature was encountered.
#9 1.412 Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
#9 1.499 Err:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
#9 1.499   At least one invalid signature was encountered.
#9 1.570 Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
#9 1.678 Err:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
#9 1.678   At least one invalid signature was encountered.
#9 1.683 Reading package lists...
#9 1.696 W: GPG error: http://security.ubuntu.com/ubuntu focal-security InRelease: At least one invalid signature was encountered.
#9 1.696 E: The repository 'http://security.ubuntu.com/ubuntu focal-security InRelease' is not signed.
#9 1.696 W: GPG error: http://archive.ubuntu.com/ubuntu focal InRelease: At least one invalid signature was encountered.
#9 1.696 E: The repository 'http://archive.ubuntu.com/ubuntu focal InRelease' is not signed.
#9 1.696 W: GPG error: http://archive.ubuntu.com/ubuntu focal-updates InRelease: At least one invalid signature was encountered.
#9 1.696 E: The repository 'http://archive.ubuntu.com/ubuntu focal-updates InRelease' is not signed.
#9 1.696 W: GPG error: http://archive.ubuntu.com/ubuntu focal-backports InRelease: At least one invalid signature was encountered.
#9 1.696 E: The repository 'http://archive.ubuntu.com/ubuntu focal-backports InRelease' is not signed.
#9 ERROR: executor failed running [/bin/bash -o pipefail -c chmod ugo+x /usr/local/bin/start-elyra.sh &&     apt-get update && apt-get install -y build-essential curl &&     curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - &&     echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list &&     apt-get update && apt-get install -y yarn &&     rm -rf /var/lib/apt/lists/*]: runc did not terminate sucessfully
------
 > [3/4] RUN chmod ugo+x /usr/local/bin/start-elyra.sh &&     apt-get update && apt-get install -y build-essential curl &&     curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - &&     echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list &&     apt-get update && apt-get install -y yarn &&     rm -rf /var/lib/apt/lists/*:
------
failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = failed to build LLB: executor failed running [/bin/bash -o pipefail -c chmod ugo+x /usr/local/bin/start-elyra.sh &&     apt-get update && apt-get install -y build-essential curl &&     curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - &&     echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list &&     apt-get update && apt-get install -y yarn &&     rm -rf /var/lib/apt/lists/*]: runc did not terminate sucessfully
make: *** [docker-image] Error 1

Not sure whether anybody else has seen this issue before ...

@ptitzler - Trying it now, Ive gotten past the apt update portion though. Sometimes its just a hiccup in the network and running it again usually works. If it doesnt, you might want to try deleting any base images like the singleuser image and its parent base image as well from your local env and trying again

Same here, I can't reproduce the issue.
As @akchinSTC suggested I would:

Remove the dev tagged images (both repositories)
Run docker system prune
Try again.

After it kept failing multiple times I've tried a couple answers that came up on a google search. None of them seemed to make a difference until I ran docker image prune -a.  The subsequent build took 20 minutes but worked in the end (:


Model.get_model_path() shouldn't cache models at a relative path from cwd

Two requests:

It should be possible to specify a cache_dir
the default cache should be at a fixed path system-wide, not at a relative path from the current working directory. I want to use the cache regardless of my current working directory.

Hi @janluke - Would you be able to specify the SDK that has this issue?

https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.model(class)?view=azure-ml-py

@janluke - Thanks! Directing this to the right people.

Closing legacy issue.
Please consider upgrading to AzureML v2 CLI/SDK. https://learn.microsoft.com/en-us/azure/machine-learning/concept-v2


Consider dropping enquirejs

Grid depends upon enquirejs, maybe consider an alternative. I've had great success with ssm for previous projects or rolling a simple stylesheet generated with BSS could suffice too. The way in which Enquire pulls in and provides cjs support results in minor headaches when rolling with bundlers like Rollup.
Thanks for all the work on this vrimar, really is a beautiful addition to the mithril nexus. Would love to be able to buy you a coffee/beer/vodka. Thanks.

I've replaced enquirejs with ssm in v0.2.9 and added the ability to override the defaults. I appreciate your interest in the library and thanks for the offer haha!

I just realized I'm importing the minified version of ssm, import ssm from 'simplestatemanager/dist/ssm.min.js';.
Would this cause issues with rollup?

Will be no problems at all. Thanks a ton for the quick fix. I'll be leveraging construct UI heavily on an upcoming project, very excited to go deeper in the codebase.


Lazy initialization

Just to start a discussion. Do not merge for the moment.

Here is a first proposition to change a more lazy initialization process.
Remain to do:

kernel : add a log of changes in nsds to initially only what has changed
mechanics :

be careful with the class SpaceFilter that appears to be an incomplete base class (@bremond could you have a look ?)
simulation->link has been changed to nsds->link. To be checked carefully that it works
mechanisms has to be updated

control : the model has been replaced by nsds and simulation. @xhub could you check carefully that I have not mixed the plant nsds with the process nsds ?
io : Nothing is done.

Should we separate the serialization of the nsds and the simulation ?
is it possible to put a nsds and a simulation in single archive ?

Remain to do:

kernel :

add a log of changes in nsds to initialize only what has changed
review initialize_new in simulation to remove what has to be done only one time

mechanics :

be careful with the class SpaceFilter that appears to be an incomplete base class (@bremond could you have a look ?)
simulation->link has been changed to nsds->link. To be checked carefully that it works
mechanisms has to be updated

control : the model has been replaced by nsds and simulation. @xhub could you check carefully that I have not mixed the plant nsds with the process nsds ?
io :

we serialize from the simulation

I have found that the ref file for BulletBouncingBox.cpp does not match anymore in the latest lazy_initialization head.  It does match where I had it before, quite a few commits back in f41b911c9b13e529b4ba4c5b12c11edd2b96f190.  Meanwhile the ref file for BouncingBallTS.cpp matches just fine, so it seems something changed wrt to the collision engine.  Currently I am doing a bisect to find what changed.

It seems this is due to moving updateInteractions() back outside the Newton loop.
I had put it in TimeStepping::initializeNewtonLoop(), between computeInitialNewtonState and updateOutput/Input.  To work better with lazy initialization I moved it to Simulation::initialize(), such that it's now before computeInitialNewtonState.
If I move it back to after computeInitialNewtonState then the ref files pass.
Now I am not sure which is more correct.  The idea of putting it after initializeNewtonLoop is that it creates the contact points after moving forward one step, and so their locations should be more accurate.  I have verified that it does tend to prevent more interpenetration.  On the other hand this could contribute to passing through thin surfaces for fast-moving objects.  I found that leaving it in both places still passes the ref file, which is nice.  This make sense in any case since Bullet uses persistent contacts, so setting up contacts at the beginning of the timestep and updating them after the initial move should be robust.  (With a bit more work we could defer removal of contacts until the next timestep..)
I think for now I will put back the call to updateInteractions after computeInitialNewtonState, and further discussion of robust/predictive contact detection can be left for another discussion.

After this last commit, more all the examples are running well. There are still some examples that are broken,  but they were already broken on master

I have been using this for a while and ironed out a few more issues. I will merge it since I don't think we will go back on this work.  The changelog is a very useful idea imho.  (E.g., I think we can use it for automatically tracking graph copies for multiple simulations, etc.)


Application does not start on Big Sur

A fresh install on an Apple M1 chipset (Macbook pro 2021)  running Big Sur 11.5.1 does not launch the program.
Behavior: Applications appears to begin to launch, printing the opening statements and gets frozen when trying to launch main window.
It appears to be tied to pyqt (and QT in general) - https://bugreports.qt.io/browse/QTBUG-87014

Upgrading pyqt5 from the installed version (5.12.3) to 5.15.2 resolves the issue.


No prerequisites section?

All I know is, none of the commands in this doc work out of the box. What do I need to install to be able to follow the steps here?

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

ID: 6218e372-7c8c-b41d-34b1-4a418896a715
Version Independent ID: 411fe566-abd8-a884-1cc8-574d192bff37
Content: Use Azure service principals with Azure PowerShell
Content Source: docs-conceptual/azps-8.2.0/create-azure-service-principal-azureps.md
Service: azure-powershell
GitHub Login: @mikefrobbins
Microsoft Alias: mirobb

@PatrickFarley You'll need to install the Az PowerShell module or use Azure Cloud Shell.
I'll add a prerequisites section to the referenced article.
Thanks for the feedback!


Maybe constructors does not provides concat

It seems that Maybe constructors does not provides concat on 2.0.0-beta1
> var { Just, Nothing }  = require('folktale/data/maybe')
undefined
> var concat = require('folktale/core/fantasy-land/concat')
undefined
> concat(Just('example'), Just('example'))
TypeError: folktale:Data.Maybe.Just({ value: "example" }) does not have a method 'concat'.
    at /home/neto/engProjects/spd/src/node_modules/folktale/helpers/unsupported-method.js:14:11
    at concat (/home/neto/engProjects/spd/src/node_modules/folktale/core/fantasy-land/concat.js:38:174)

Environment

OS: Linux
JavaScript VM: V8
Folktale version: 2.0.0-beta1

Yeah, right now those are still not implemented :(
Semigroup and some other algebras are planned for a post-2.0 release, though. And since the only thing blocking an actual 2.0 release right now is me finishing the new website, this should happen soon(ish).

Okay, thank you by the feedback. Actually we are using a monkey patch in our project to temporarily solve this. But we can may help you with this. I will talk with my team about it.

Hi @robotlolita, while implementing semigroup and monoid for maybe, this problem happen when running the laws for monoid.
Exception: type[empty] is not a function.

Here is the patch. github/diasbruno/folktale
Probably, something is missing to inject .empty on the type Maybe.

Oh yeah, I got why mempty can't be implemented. It depends on the a on Monoid a => a to implement it correctly.

@netoguimaraes I'd happily accept a PR for adding Semigroup to Maybe :)
@diasbruno hey~☆
That was a bug in the test. https://github.com/origamitower/folktale/commit/268af9e775a8038c2e48733a6418d4bb80adf5f1 should fix it.

Thanks, I'll check it out.

That fix the problem. Thank you.
github/diasbruno/folktale#feature/maybe-semigroup-monoid

@robotlolita
@diasbruno and I are working on the same project, that need this implementation. So this PR will allow us to remove the actual monkey patch ;). Thank you for the atention, by the way <3;

I'll try to release this during the weekend :)

Oh, I forgot to comment, but this has been released as v2.0.0-rc1, though that release contains some breaking changes.


SafeBrowsing RedisAdapter

Related to https://github.com/nixsolutions/yandex-php-library/issues/185

Coverage decreased (-1.2%) to 82.446% when pulling e55d45636eb860f27e00d21daedfed5368ddd133 on spytz:SafeBrowsing_RedisAdapter into 1dc1a51956383a444b352402f6ef0f4fe8886efb on nixsolutions:master.


Double check that the executables were cross compiled in the release program

run file <file-name> after completing cross compile and check the output to make sure they have the right architecture to prevent more regressions

Just wondering if there's a go package that implements this functionality since file is not present across major Linux distros ootb.

@metmajer Good point

It does indeed:
https://golang.org/pkg/debug/elf/
https://golang.org/pkg/debug/pe/


feat(party): specify the Party archetype pattern with OpenAPI and JSON schemas

:bulb: TIP: Select the "Preview" Tab to help read these instructions.
1. Issue type

Type the letter "x" in the "checkbox" the best describe this issue.

[x] Feature: I'm requesting an enhancement.

2. User story summary

Describe what you want to accomplish and in what role/capacity, and why it's important to you.

As an API consumer,
I want to consistently describe essential information about people, organizations, and their preferences,
In order to conduct business unambiguously and clearly.
3. Acceptance criteria

Replace the examples below with your own imperative, "true/false" statements for the behavior you expect to see, or the behavior that would be true if there were no errors (for defects).

The following valid, well-formed OpenAPI 2.0 documents and JSON schemas specify:

[x] 1. TheParty represents properties that belong to an identifiable, addressable entity that may have a legal status and that normally has autonomous control over (at least some of) its actions.
[x] 1.1. The PartyIdentifier uniquely identifies a Party
[x] 1.2. The RegisteredIdentifier represents identifiers assigned by recognized or statutory bodies
[x] 1.3. EffectiveDates represent valid "from" and "to" date ranges
[x] 2. Address represents contact information by
[x] 2.1. ⚠  GeographicAddress
[x] 2.2. ⚠  TelecomAddress
[x] 2.3. ⚠  EmailAddress
[x] 2.4. ⚠  UrlAddress
[x] 2.5. ⚠  AddressProperties
[x] 3. Person represents information about human beings
[x] 3.1.  Gender expresses femininity and masculinity as a continuum of attributes
[x] 3.3. Ethnicity represents ethnic and cultural backgrounds
[x] 3.4. ⛔  BodyMetrics provide information about the human body
[x] 3.5. PersonName represents peoples' names
[x] 4. Organization represents administrative and functional structures
[x] 4.1. OrganizationName provides the name of an Organization
[x] 4.2 ⚠  OrganizationUnit represents an Organization that is part of another Organization
[x] 4.3 ⚠  Company represents companies
[x] 4.4 CompanyGroup represents a related group of Companies
[x] 4.5. CompanyName represents a company name
[x] 4.6. ⛔  Partnerships and SoleProprietors represent their legal counterparts
[x] 5. Preference expresses a Party's choice of or liking for something
[x] 5.1 PreferenceType provides a range of PreferenceOptions for Parties
[x] 6. Expose the APIs with Swagger-UI.

Standard
Contents

OMG Party Management Facility Specification
A standard that supports party management

ISO 3166
Two- and three-letter country codes and country names

ISO 5218
A representation of human sexes

ITU-T Recommendations
Telecommunication numbering plan

Added Swagger-UI for the http://api.swindle.net/ at
__http://api.swindle.net/swagger-ui/__

Closed by #2.


merge bitcoin #14708 #15087

backports bitcoin#14708 and bitcoin#15087

@ogabrielides You NEED to backport via git cherry-pick -m1! The commit message when doing this should look like
Merge #14708: Warn unrecognised sections in the config file
Also, now you need to rebase :)

Will open a new PR using the correct commit hashes


Prisma generate command crashes with RustPanic: RuntimeError: panicked at 'internal error: entered unreachable code', query-engine/prisma-models/src/field/scalar.rs:93:50

Hi Prisma Team! The following command just crashed.
Command
generate
Versions

Name
Version

Platform
debian-openssl-3.0.x

Node
v18.16.0

Prisma CLI
4.16.2

Engine
4bc8b6e1b66cb932731fb1bdbbc550d1e010de81

Error
RustPanic: RuntimeError: panicked at 'internal error: entered unreachable code', query-engine/prisma-models/src/field/scalar.rs:93:50

@shalomsam Could you share your Prisma schema with us so we could reproduce this?

@Jolg42 - This was the version of the file with the issue. I managed to fix, the issue seems to have been an incorrect reference in the @unique(...) helper method (Unless I am mistaken). But the prisma vscode plugin didn't highlight it as an error.

Thanks!
This is the minimal schema that I could come up that shows the same issue
generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "mongodb"
  url      = "mongodb://localhost:27017/ecommerce"
}

model Post {
  id         String      @id @default(auto()) @map("_id") @db.ObjectId
  author     User        @relation(fields: [authorId], references: [id])
  authorId   String      @db.ObjectId
  attributes Attribute[]

  @@unique([authorId, attributes])
}

model User {
  id   String @id @default(auto()) @map("_id") @db.ObjectId
  Post Post[]
}

type Attribute {
  name  String
  value String
  group String
}

@Jolg42 - This was the version of the file with the issue. I managed to fix it, the issue seems to have been an incorrect reference in the @unique(...) helper method (Unless I am mistaken). But the prisma vscode plugin didn't highlight it as an error.

I had the same issue and was able to find the cause. You get this error when you try to reference the whole composite type instead of a composite type field in the attributes @unique or @@unique
in the example above, the following line causes the error:

@@unique([authorId, attributes])

@shalomsam I read most of your schema and you have multiple models with this problem
@Jolg42 it would be helpful if the error message could actually reflect that

@quest-bot stash 150

@quest-bot embark

@quest-bot embark

@quest-bot loot #20037


using input as an mp3 , wav file

the code it self is great but is there an way to use an file as the input instead of using the microphone and please ask me for info if you need, thx in advance

There is not a way currently.

The only way to achieve something similar is to set default sound input to stereo mix on Windows (as described in readme) and play mp3 file in builtin music player


Add docker-compose instructions

add docker-compose instructions for those who are not familiar with it.

Done.


Added Todoist clone under React category

Todoist clone with React and Firebase
Description
We're going to be creating the popular Todoist list application (https://todoist.com) from scratch using React (Custom Hooks, Context), Firebase & React Testing Library (unit & integration testing).
Motivation and Context

I think this will help lot of beginners like me. Also I am learning GitHub so want to contribute to community.
Types of changes

[ ] Content Update (change which fixes an issue or updates an already existing submission)
[x] New Article (change which adds functionality)
[ ] Documentation change

Checklist:

[x] My code follows the code style of this project.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have made checks to ensure URLs and other resources are valid

Thanks :)

Thanks Mate ;)


Add more logging to deployment

Spawned from the following deployment failure that happens intermittent.
> Task :deployfrcCpproborio FAILED
    -F-> C:\Users\daltz\Documents\roboRIO Projects\testProject\build\exe\frcUserProgram\linuxathena\release\frcUserProgram -> frcUserProgram @ /home/lvuser

> Task :deployfrcStaticFileDeployroborio
    -C-> mkdir -p  @ /home/lvuser/deploy
      -[-1]
    5 file(s) are up-to-date and were not deployed

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':deployfrcCpproborio'.
> A failure occurred while executing edu.wpi.first.deployutils.deploy.artifact.ArtifactDeployWorker
   > 4: Failure

* Try:

Turns out this error is an internal sftp error, happening when copying a file. From what I can tell, it seems more likely to occur if the program is in a crash loop. I'm guessing a race condition inside of the SFTP library, which I plan on using a new one next season.

This is going to be closed by #29. The logs ssh gives us should be better. That "Failure" is literally all the old setup gave us.


atom-python-isort runs on saved file, rather than editor content

The expected behavior of 'python-isort:sortImports' is that it runs on the current editor's contents, using isort to directly convert text.
eg:

new_contents = SortImports(file_contents=old_contents).output

Instead, the sortImports function runs isort on 'getFilePath', which means that isort doesn't appear to do anything if the file has not been saved immediately before running sortImports.
I think it's probably bad form to directly edit the focused .py file, rather than changing the editor's contents, because it doesn't allow for the user to view and/or revert the changes that isort makes.
I'd be happy to update this behavior, if nobody else wants to.

That would be a nice feature but the package works by calling the command line tool isort on the file. The isort tool itself is implemented in python so there's no simple and straight-forward way to call it from the js/coffee source of the atom-python-isort package as you've suggested. Also, please consider https://github.com/lexicalunit/atom-isort as seems to have become defunct.

Thanks a lot for the redirect, and for keeping this package updated!
I went ahead and wrote a version that just runs on the editor's contents, by way of
this.provider = require('child_process').spawn(
      'python', [__dirname + '/editor-isort.py'], env: process.env
    )

(as is done in python-tools)
Would you (or other people) be interested in using it? I'd be happy+willing to integrate my solution with lexicalunit/atom-isort, if you're ok with helping me some to make my implementation less hack-y.
Thanks again!

Nice! I'm definitely interested in this feature! If you make a PR against lexicalunit/atom-isort we can iterate on it through the review process until we come up with something we're both happy with. I'm gonna be out for a bit though as I'm getting sinus surgery tomorrow morning.

Awesome! I'll try to clean up what I have, will make a PR when I have some free time, (probably this weekend.)
Hope the surgery goes well!


Missing order of setpoints in the new dataset

Currently the retrieval of setpoint data relies on the order of the registered dependent paramenters. So for example the code below will fail for depends_on_wrong and pass for depends_on_right
import qcodes as qc
from qcodes import ParamSpec, new_data_set, new_experiment
from qcodes.dataset.database import initialise_database
from qcodes.dataset.data_export import get_data_by_id

initialise_database()
new_experiment('issue1239', 'test2')

indep1 = ParamSpec('indep1', "numeric")
indep2 = ParamSpec('indep2', "numeric")
depends_on_right = [indep1, indep2]
depends_on_wrong = [indep2, indep1]
dep = ParamSpec('response', "numeric", depends_on=depends_on_wrong)

dataset = new_data_set("results", specs=[indep1, indep2, dep])
dataset.add_result({'response': 1234,
                    'indep2': 2,
                    'indep1': 1 })
dataset.mark_complete()

d = get_data_by_id(dataset.run_id)
# test if data is correctly saved
for el in d[0]:
    if el['name'] == 'indep2':
        val = el['data']
        break
# val[0] is actually 1, i.e indep2 and indep1 are interchanged
assert val[0] == 2

In the failing case the values for the setpoint axes get interchanged, because the array of dependent ParamSpecs is reversed.
This behavior is of course undesired and has to be resolved.
In my opinion this problem roots all the way back to the get_setpoints method of sqlite_base.py, which returns the setpoints as a List[List[List[Any]]], for a parameter specified by its name. I don't think that we should establish some standard order of the setpoints to resolve this problem. We should possibly rather return a dictionary with the setpoint parameter names as keys instead of one level of the lists.
The named function gets only used in this presented use case (i.e. get_data_by_id).
I will start implementing a fix that involves a dictionary return value for this purpose.

fully agree. Beware though that @WilliamHPNielsen has started working on a new format for storing dependencies information in relation to the data model. Perhaps, you can align with him.

@astafan8, good point. See https://github.com/QCoDeS/Qcodes/pull/1227 for a description of what is about to change. Unfortunately, https://github.com/QCoDeS/Qcodes/pull/1227 (preferably) requires https://github.com/QCoDeS/Qcodes/pull/1002 to be merged.

Thanks for pointing that out. It is good that we are all aware of those correlations. It seems to me that #1227 will require a reimplementation of get_data_by_id . This reimplementation should include the changes proposed here. I think implementing these changes already in the current version will not impose extra work.


Excludes .tox from flake8 to prevent checking third-party libraries

Description
Ads .tox to the exclude list in flake8 commands
Motivation and Context
flake8 is failing in the CI due to errors found in the .tox directory. Since these have nothing to do with our code, they can be safely ignored.
Have you tested this? If so, how?
We'll see if it passes CI. Since other stuff is currently broken, we'll have to check the flake8 test in particular.

While it's still red I believe it's less red :)

I can't replicate the other failures locally, I think the server might have a weird environment.


add test infrastructure and automation

using git workflow, create testing automation. Also using jest and react-testing-library, create frontend test workflows.

.take


Convert VPC Blueprint to variables

going to put all of these into 1 PR into release-1.0 since the change set isn't going to be that large for each blueprint.


MNT: more flexible static

EDIT:
In mpl-sphinx-theme, we provide static/logo.svg which gets copied to _build/html/_static/logo.svg.
#1132  changed the behaviour of "logo" config option to do what sphinx's html_logo does, which is just copy the logo file from a relative path (relative to the conf.py) into _static, and raised a warning if the file did not exist.  So:
html_theme_options = {
    "logo": {"link": "https://foo.bar/stable/",
             "image_light": "mylogos/wherever/logo2.svg",
             "image_dark": "mylogos/whereever/logo_dark.svg"},
...

would copy to _build/html/_static/logo2.svg, _build/html/_static/logo_dark.svg.
However, because we provide the logo as part of the theme payload, its "source" never exists - it gets copied directly into _static/logo2.svg.  The PR here checks if that file exists, and doesn't warn if it already there.   We specify that file in the conf.py as
"logo": {"link": "https://matplotlib.org/stable/",
             "image_light": "_static/logo2.svg",
             "image_dark": "_static/logo_dark.svg"},

which makes the links work properly in setup_logo_path.  Unfortunately we cannot check for the existence of _build/html/_static/logo2.svg in setup_logo_path, because the build directory has not been populated yet.

it's 1:30 at my place so way to late for a complete answer, I'll review the comments you made in the PR.
Food for thoughts if you want to continue digging while I sleep:
The purpose of #1132 is to handle logo whatever version of sphinx you are using: sphinx 5 (that have a logo jinja variable) and sphinx 6 (that have a logo_url variable and dropped logo).
By doing so we realized that the way we handle logo was not consistent with Sphinx so we updated as well (path now nned to be relative to conf instead of static)

OK, so I will try and make the path logic relative to conf (which its not with this change). But I think thats relatively easy while still allowing subdirectories.

OK, finally got to dig into this properly:
https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_logo

If given, this must be the name of an image file (path relative to the configuration directory) that is the logo of the docs, or URL that points an image file for the logo. It is placed at the top of the sidebar; its width should therefore not exceed 200 pixels. Default: None.

New in version 0.4.1: The image file will be copied to the _static directory of the output HTML, but only if the file does not already exist there.

So the change in 0.13.0 to "logo/image_light" seems in this spirit - the image Is copied to _build/html/_static and referenced from there.
Our difficulty, is that we would like the logo to be in the theme that inherits from pydata-sphinx-theme, and gets copied from theme/static/images to build/_static/images.   From matplotlib's point of view, it's probably fine to move these up a level and then specify as _static/logo.svg.  Then all that needs to happen is that copy_logo_images doesn't try to copy if the file exists.  Thats what the newest push here does...

In case it's helpful, here how we set a default logo in the jupyterhub theme (which inherits from this theme)
https://github.com/jupyterhub/jupyterhub-sphinx-theme/blob/d4071da94ccb40216389c413c04a0bd684dc764d/src/jupyterhub_sphinx_theme/__init__.py#LL58C2-L58C2
I ran into the same problem you did, and my solution was just to be lazy and put the logo image directly under static, but if we could find a more principled way around this that would be great

In case it's helpful, here how we set a default logo in the jupyterhub theme (which inherits from this theme)

yes, thats super helpful - we could probably do all the same defaulting for matplotlib and save all the client projects from specifying the logo at all.

but if we could find a more principled way around this that would be great

@choldgraf I guess your method of setting the path to the theme static and having pydata-sphinx-theme copy from there is fine.  I feel the way proposed here is OK as well - let sphinx copy the theme static to build/html/_static and then let pydata-sphinx-theme only copy the file across if it needs to (or error if it can't find it).  Certainly it will make our __init__.py less complex.


Duplicate classes when used with other player

Hi, thanks for this great library.
I am working in a project that uses a old exoplayer dependencie and I having these kind of errors:
 Duplicate class com.google.android.exoplayer2.ui.WebViewSubtitleOutput$1 found in modules jetified-exoplayer-ui-2.14.2-runtime (com.google.android.exoplayer:exoplayer-ui:2.14.2) and jetified-exoplayer-ui-r2.16.4-runtime (com.github.DoubleSymmetry.ExoPlayer:exoplayer-ui:r2.16.4)

 Duplicate class com.google.android.exoplayer2.video.spherical.CameraMotionListener found in modules jetified-exoplayer-core-2.14.2-runtime (com.google.android.exoplayer:exoplayer-core:2.14.2) and jetified-exoplayer-core-r2.16.4-runtime (com.github.DoubleSymmetry.ExoPlayer:exoplayer-core:r2.16.4)

It is because Kotlin audio is using the same "com.google.android.exoplayer2" package name, maybe could be it changed for future versions?

Any update?

We are currently planning to stop using our fork of ExoPlayer, so this should potentially fix this issue.

Fork was removed some while back and should have resolved this issue


location of .apk file in root - where is root?!

https://github.com/jekyll/docker/wiki/APK:-System-Packages mentions, that additional packages can be installed by placing a file called .apk into the root directory. Is this the directory, where _config.yml and Gemfile are located?

We only have on root, and that's Jekyll's root.  And yes that is where _config.yml is.  Questions should be asked at https://talk.jekyllrb.com, this ticket system should be reserved for bugs only.


fix: add rakesh9100

resolves #1665
Checklist for profile addition

[x] Name the PR fix: add <your-username>.
[x] You've added file named your-username.json in the profiles directory.
[x] You've linked the PR to the correct issue.

Thanks! 🎉

Kindly merge @Panquesito7 Thanks!!

Thanks! 🎉

Kindly merge @Panquesito7 Thanks!!

Will do so when another maintainer approves the PR.

Okay, and sorry for this requested review to you, sent by mistake @Panquesito7

Hello, @Panquesito7 pls request the second reviewer who he/she is to approve and merge so that my profile get visible on the website...


UofT-DSI | Deep Learning - Lab 6

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Complete Deep Learning Lab 5 by filling out lab_5.ipynb file
What did you learn from the changes you have made?
I learned how to build Neural Networks for text classification
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
N/A
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
It takes time to grasp already written code and add own code
How were these changes tested?
Changes were run locally
A reference to a related issue in your repository (if applicable)
N/A
Checklist

[x] I can confirm that my changes are working as intended

Labs 1-6 complete


Multiple text styles get overridden on replace

screenshot

^ message if a different font weight from name

@rorysmyth yeah, that's the case unfortunately and we haven't found a way around it. I fear it has to do with a limitation on the Sketch side and we cannot really solve it for the plugin.
Any comment on this from @lukas77me or @bomberstudios?

So far, I haven't found any way to extract the font/text style from a substring inside a text layer. It'd be great if @bomberstudios could point us in the right direction.

@lukas77me maybe this could hint to a solution? https://medium.com/sketch-app-sources/sketch-plugin-snippets-for-plugin-developers-e9e1d2ab6827 (scroll down to "Working with Text Layers")?

The article points out a great way to set the style to a range so I'll see if I can get it to detect the initial style ranges too. Then it'll be possible to reapply the original style.

Came to log this request as well - glad to see its already being deliberated. Thanks for the wonderful plugin anyway!

I'm new to the data populator and I tripped over this problem as well. Thanks for working on it.


Implements OpenId authorization method. Closes #14

Changed uses of unwrap to use unwrap suffix (?)
Refactor oauth methods
Added OpenId request_authorization

Includes some work for #15


Bug: iOS Calendar Outline Wrong Icon in Font File

The ios-calendar-outline font icon does match the "ios-calendar-outline.svg" in the downloadable assets.
Here's what's in the font file when doing a search for "ios calendar" at http://ionicons.com/:

It's named "ion-ios-calendar-outline"
Here is what is included in the downloadable assets

...and is named "ios-calendar-outline.svg" I think it either is misnamed or didn't get included for some reason. It would be great if it could be included in the font file.
PS: To all those working on this project, thanks so much! This is a great tool and has been quite helpful to our development process!

Greetings @joellebel!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


Loosing unknown faces when requesting successive train faces

Hereafter you can see the scenario I run to highlight the issue. I reported the various number of faces we can see on Library tab and faces tab (labelled and inferred popup).
It looks coherent when I remove some faces and associate cluster with a name. At one moment I launched successive faces train without any additional actions. And I noted figures continue to evolve and apparently some unknown faces disappear.
If necessary, I will try to prepare a smaller base to simply reproduce the problem.

I made some progress to reproduce the issue with only 2 pictures! Hope a dev will accept to take a look ;-)
As shown on the attached capture, I run the following scenario:

1/Launch LP and request scanning of 2 pictures containing 155 faces
2/ creation of 2 persons from labelled unknown-other set of faces, pers1 with 10 faces pers2 also with 10 faces. For the time being all is correct
3/ start train faces ; then a 3rd not visible person appears in the count but not on faces tab
4/ after that, if I delete all present faces, one unknown person and one unknown face still exists. If I look to the detail of one of the 2 picture, I see ONE unknown-other face.
I repeated this scenario several time with the same result. I guess that if someone follows strictly the scenario he should get the same result! That's it ;-)
I join a zip file containing LP directory including the 2 pictures.
LP issue 729.zip

As far as demo2 server is functioning again, I've been able to reproduce the issue while uploading the 2 pictures with numerous persons.
Hope this helps!

Should be fixed now :)


tests_l2: Update readme links

Updated RHOCP version and readme links
Signed-off-by: vbedida79<EMAIL_ADDRESS>

LGTM!


zip:// mib source

This PR introduces the feature of reading ASN.1 MIB files from .zip archives via the zip:///... URI.

Codecov Report

Merging #14 into master will decrease coverage by 2.61%.
The diff coverage is 71.75%.

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
- Coverage   62.75%   60.13%   -2.62%
==========================================
  Files          21       30       +9
  Lines        2411     2827     +416
==========================================
+ Hits         1513     1700     +187
- Misses        898     1127     +229

Impacted Files
Coverage Δ

pysmi/reader/__init__.py
100% <100%> (ø)

pysmi/__init__.py
75% <100%> (ø)
:arrow_up:

pysmi/reader/url.py
27.27% <7.14%> (ø)

pysmi/reader/zipreader.py
79.13% <79.13%> (ø)

pysmi/codegen/base.py
70.58% <0%> (-5.89%)
:arrow_down:

pysmi/debug.py
42.85% <0%> (-2.6%)
:arrow_down:

pysmi/lexer/smi.py
73.97% <0%> (-0.69%)
:arrow_down:

pysmi/codegen/jsondoc.py
11.21% <0%> (-0.32%)
:arrow_down:

pysmi/parser/smi.py
81.03% <0%> (-0.18%)
:arrow_down:

pysmi/reader/httpclient.py
33.33% <0%> (ø)

... and 8 more

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 a9d8ed1...95dcb69. Read the comment docs.


More automated tests

Added more automated tests, chipping in for the 100% test coverage goal mentioned in here
I really don't know the project, if not for what I studied while writing tests, so I picked the least complicated route and wrote a couple of automated tests of "well exposed" functions and methods

busboy-emit.test.js should check if the first call to busboy.emit('finish') returns anything

@Uzlopak am I reading the code wrong, or Busyboy.emit will never return anything?


Scheduled code regeneration test

Generated by autorest.java - preview build 20240827.1Triggered from branch: main

API change check
API changes are not detected in this pull request.


Bug fix issue #1999

Description (required)
Nearby card used to dismiss itself even on clicks, instead of switching tabs
Fixes #1999 (Nearby : swipe to dismiss nearby notification card dismisses even on touches)
What changes did you make and why?

Added a threshold on swipe, ie. if a swipe is considered a swipe only if it covers a distance of 100 dp

Tests performed (required)
*Tested the normal click
*Tested the swipe
Tested { ProdDebug} on {name of device Samsung s 6 edge} with API level {27}.
Screenshots showing what changed (optional - for UI changes)
NA

Congratulations on number 2000! 😊
On Tue, Nov 13, 2018, 23:44 Ashish Kumar<EMAIL_ADDRESS>wrote:

Description (required)
Nearby card used to dismiss itself even on clicks, instead of switching
tabs
Fixes #1999
https://github.com/commons-app/apps-android-commons/issues/1999 (Nearby
: swipe to dismiss nearby notification card dismisses even on touches)
What changes did you make and why?

Added a threshold on swipe, ie. if a swipe is considered a swipe
only if it covers a distance of 100 dp

Tests performed (required)
*Tested the normal click
*Tested the swipe
Tested { ProdDebug} on {name of device Samsung s 6 edge} with API level
{27}.
Screenshots showing what changed (optional - for UI changes)
NA
You can view, comment on, or merge this pull request online at:
https://github.com/commons-app/apps-android-commons/pull/2000
Commit Summary

Bug fix issue #1999

File Changes

M
app/src/main/java/fr/free/nrw/commons/nearby/NearbyNoificationCardView.java
https://github.com/commons-app/apps-android-commons/pull/2000/files#diff-0
(11)

Patch Links:

https://github.com/commons-app/apps-android-commons/pull/2000.patch
https://github.com/commons-app/apps-android-commons/pull/2000.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/commons-app/apps-android-commons/pull/2000, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAGFBtZZQ8zXUNHyGq9drvcqhJeHH3R7ks5uutrdgaJpZM4YbzRn
.

Codecov Report

Merging #2000 into 2.9-release will decrease coverage by <.01%.
The diff coverage is 0%.

@@              Coverage Diff               @@
##           2.9-release   #2000      +/-   ##
==============================================
- Coverage         4.18%   4.18%   -0.01%
==============================================
  Files              216     216
  Lines            11111   11113       +2
  Branches          1014    1014
==============================================
  Hits               465     465
- Misses           10611   10613       +2
  Partials            35      35

Impacted Files
Coverage Δ

.../nrw/commons/nearby/NearbyNoificationCardView.java
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Grats on PR #2000 , and nice work! ;) Swipe works perfectly for me now.


Refactor: Extract out repitition of start-stop node pattern

Overview
I've extracted out the common pattern of

Initialize nodes
Start nodes
Check failures
Test cleanup / defer call to stop node and free resources
into separate helper functions to remove redundancy and reduce scope of common error in these.

Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Summary by CodeRabbit

Tests

Enhanced test suite for node operations with streamlined startup and cleanup processes.
Improved error handling and maintainability across various node-related test functions.
Introduced NodeType enum to clarify node types in tests.
Refactored numerous test functions to use centralized initialization and cleanup logic, improving test readability.
Adjusted logic in test functions for more accurate simulation of node behaviors and interactions.

@MSevey This is the first separate PR, only for startAndStopNode part. Sorry for the delay in opening this 😅

@MSevey This one's ready for review :D


[BUG] Different implementation for GetStudy and GetAssay

Here the current implementations on ArcInvestigation:
// ASSAY
    member this.GetAssayIndex(assayIdentifier: string) =
        let index = this.Assays.FindIndex (fun a -> a.Identifier = assayIdentifier)
        if index = -1 then failwith $"Unable to find assay with specified identifier '{assayIdentifier}'!"
        index

    // - Assay API - CRUD //
    member this.GetAssayAt(index: int) : ArcAssay =
        this.Assays.[index]

    // - Assay API - CRUD //
    member this.GetAssay(assayIdentifier: string) : ArcAssay =
        let index = this.GetAssayIndex(assayIdentifier)
        this.GetAssayAt index

// STUDY
    member this.GetStudy(studyIdentifier: string) : ArcStudy =
        this.Studies.Find (fun s -> s.Identifier = studyIdentifier)

This lead to different handling of edge cases. Obviously GetAssay will fail if we try to get an assay from an identifier that does not exist. BUT, for GetStudy we will get the default null value. See the following two examples:
let x = ResizeArray(Array.init 10 (fun i -> sprintf "%i" i))

x.Find(fun y -> y = "5") //val it: string = "5"
x.Find(fun y -> y = "42") // val it: string = <null>

#r "nuget: ARCtrl, 1.0.0-beta.7"
open ARCtrl.ISA
let y : ResizeArray<ArcStudy> = ResizeArray([ArcStudy.init("My Study")])

y.Find(fun z -> z.Identifier = "My Study") // val it: ArcStudy = seq []; strange output but found result
y.Find(fun z -> z.Identifier = "UNKNOWN") // val it: ArcStudy = <null>

So we should most likely change it follow ArcAssay implementation?

Solution:
Use Seq.try find and fail if None on normal Get functions


Pass parameters to functions given to post_parse

Currently there are post_parse functions--very cool: post_parse=[multiply_by_two]
Can we pass arguments to them? For instance, post_parse=[multiply_by_x(2)]?
If this is supported it would be great to see an example.

Hi, you can use functools.partial for it. E.g. partial(multiple_by_x, 2)
Please re-open if it didn't help


IndexGet() of Array/ImmutableArray/Undefined types

#83

IndexGet on sequence types: returns undefined if index is out of bounds
IndexSet on Array: raises a run-time error if index is out of bounds
IndexGet on Undefined type: always returns undefined

Slicing on sequence types: returns a new sequence of same type (except for ImmutableArray which returns Array) with the elements with:

invalid slice index error if low > high
sequence with elements within the range
empty sequence when no element are within the range

Amazing! 👍  Hey, can you update the documentations too? Here and here.

I'll do it later today.

Docs are updated.


Update to data 3.0.0

See https://github.com/Senzing/docker-compose-demo/issues/253

Pull requests:

https://github.com/Senzing/docker-xterm/pull/67


Retraining confusion

The wording of the "Retraining" section is confusing to me. To me, it reads that retraining and updating existing deployments are different commands. When I first read it I thought there was a way to retrain in place. However, I have not found any commands that deal with retraining.

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

ID: b7273b67-d37b-527a-b541-016aee0c516a
Version Independent ID: 2ceaf554-7658-d298-28de-a30f169a0920
Content: Conceptual overview of Azure Machine Learning Model Management
Content Source: articles/machine-learning/desktop-workbench/model-management-overview.md
Service: machine-learning
GitHub Login: @nk773
Microsoft Alias: padou

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

@cjgronlund Hi, this should be a doc-enhancement issue, can you please check it and update the document as necessary? Thanks a lot!

The retraining operation is meant to be a manual process. You would take the telemetry from model usage stored in user-defined storage and import it into your experiment and then re-create the model with the new data. From there register it as a new version of the model and then run the update command to push out a new version of the service.

@YutongTie-MSFT - this article was deprecated in September and is no longer maintained. #please-close.

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


Fix "navbar initializing color"

Set the default navbar to white, with black-colored logo and nav items. Once JS and the image loads, we'll have functionality as expected with our navbar color changes.
Scrollspy was also added to landingPage.js 's load listener, because if a user refreshes while half-way down a page, we still want the nav item to highlight in relations to where they're located on the page. I was getting some bugs with this while testing, but implementing it this way took care of the problem.
These changes were tested in Firefox, Chrome, and Edge - various interactions with device widths, switching between pages, and throttling via browser dev tools were also implemented.
Also increases footer padding and title margins to lengthen page.
Closes #30.
Closes #34

We should use all lower-case letters for git branch names.

Initial PR comment updated

@levsthings Let me know your thoughts/review on this current implementation when you get a chance.
🌳 Thank you!

Initial PR message edited.


Add Default trait to derive

Hi,
Thanks for the great library! The Default trait is needed to automatically derive Default on a struct containing Deg or Rad. This PR adds it to the list of traits automatically derived so that it will get derived when T: Default is satisfied. There's a test at the bottom that shows its usage.
:tada:

thanks!


Amend Subalfred milestone deliverables

https://github.com/w3f/Grant-Milestone-Delivery/pull/615#issuecomment-1308480639

https://github.com/w3f/Grants-Program/pull/1158


REQUEST: API call for wallet transaction history

In the design for the wallet we have a section for transaction history. These are all the instances where the wallet has sent and received money. Currently there is no API to retrieve this information.
We should spec out what this API should look like, and what kind of data we need from it.
Ping @cpacia @jjeffryes @rmisio @hoffmabc @morebrownies @tyler-smith

Ideally, the get transactions API would be paginated, since the number of transactions could be very large. The API should be able to take a parameter for the ID of the last transaction (ie: return X transactions after this ID) and a parameter for the number of transactions to return. If no parameter is passed, we could either return a default number or all of them.
As a first pass, I think we'd need the following data for each transaction:
id: string (transaction id),
amount: number (btc value of the transaction),
sender: string (guid of the sender),
receiver: string (guid of the receiver),
moderator: string (guid of the moderator, if any. I'm not sure if this is needed, it's not shown in the designs),
confirmations: number (-1 if the transaction is considered dead),
timestamp: a timestamp for the transaction,
note: string (only for user-sent transactions),

I think order data should be in the notes.
Also we probably wont have a guid for transactions that aren't part of an order.

Right, the recipient guid was still in the designs, I forgot we won't have that. I updated it to be a boolean to indicate if it is incoming or outgoing.


ctrl/cmd+alt+r isn't reloading the latest sources when running npm start dev

STR:
run npm start dev
make a change to something in the frontend that you'd notice, i.e. change this to background 'red': https://github.com/mozilla/tofino/blob/master/app/ui/browser/views/navbar/navbar.jsx#L23
press ctrl/cmd+shift+r
Expected:
The navbar is now red
Actual:
No change (app does 'reload' though)

I think this probably stopped working when hot module reloading was dropped (#142), and we need to rebuild when the key shortcut happens (or rebuild in background on file changes)

Looks like it's actually not matching --run-dev here: https://github.com/mozilla/tofino/blob/master/build/main.js#L35, here's what I see for process.argv:
[ '/usr/local/bin/node',
  '/path/to/build/main.js',
  '--run',
  'dev' ]

Ah, the correct command is now npm run dev, that explains it


fix_their-need-title-bar_#1061 merged?

is this branch merged / can we delete it?

branch deleted, did not have any commits that master did not have


Reply successfully to pre-flight requests

Without these cors settings, ic-ref does not respond to OPTIONS
requests, which are made by most browsers. These changes make ic-ref
behave more like the replica.
I don't think the spec mentions this.
@nomeata @roman-kashitsyn this is a follow up to https://github.com/dfinity/internet-identity/pull/425.

To check this, start ic-ref and issue either a curl preflight-y check:
$ curl -H Origin: http://localhost:8080 -H Access-Control-Request-Method: GET -H Access-Control-Request-Headers: X-Requested-With -X OPTIONS --verbose http://<IP_ADDRESS>:8001/api/v2/canister/fterm-bydaq-aaaaa-aaaaa-c/query

or try to call any canister from a browser:
before

after

You probably have to update the freeze file


make holofans destructable

About the PR

Fixes #20352
Why / Balance

oh yeah baby i love blatantly broken mechanics
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

fix: Holofans can now be destroyed by explosions.

video demonstration? can bullets still go through? will wide swinging prioritize players or the holofan?

You can't hit it with melee. Bullets still go through. Laser go through.

You can't hit it with melee. Bullets still go through. Laser go through.
still intangible

The point is that explosions will destroy them now, so you can’t surround a syndicate bomb with holofans and contain the entire explosion.

You can't hit it with melee. Bullets still go through. Laser go through.
still intangible

The point is that explosions will destroy them now, so you can’t surround a syndicate bomb with holofans and contain the entire explosion.

atmos techs when their funny gas blocker no longer protects against nuclear warheads


bugfix: transaction_name too long

Ⅰ. Describe what this PR did
transaction_name too long cause insert failed.
Ⅱ. Does this pull request fix one issue?

fixes #1635
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #1648 into develop will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop    #1648   +/-   ##
==========================================
  Coverage      47.23%   47.23%
  Complexity      1764     1764
==========================================
  Files            359      359
  Lines          12999    12999
  Branches        1617     1617
==========================================
  Hits            6140     6140
  Misses          6193     6193
  Partials         666      666

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 186baf3...f5b2d23. Read the comment docs.


Error Pulling image "quay.io/tigera/operator:v1.34.3" while upgrading to latest version v3.28.1

Hi projectcalico team,
Seems like the image trying to be fetched is not available yet in the quay.io image repository .
Please check and fix the issue, either wrong image name specified in the manifest or the tag is not yet updated in the quay.io image repository ..
Please find the below logs .
[root@prod-k8s-cp1 ~]# curl https://raw.githubusercontent.com/projectcalico/calico/v3.28.1/manifests/tigera-operator.yaml | grep "quay.io/tigera/operator:v1.34.3"
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 1724k  100 1724k    0     0  3641k      0 --:--:-- --:--:-- --:--:-- 3637k
image: quay.io/tigera/operator:v1.34.3
[root@prod-k8s-cp1 ~]#

Events:
Type     Reason     Age                  From               Message

Normal   Scheduled  2m36s                default-scheduler  Successfully assigned tigera-operator/tigera-operator-77f994b5bb-zwckp to prod-k8s-n2
Normal   Pulling    66s (x4 over 2m35s)  kubelet            Pulling image "quay.io/tigera/operator:v1.34.3"
Warning  Failed     65s (x4 over 2m34s)  kubelet            Failed to pull image "quay.io/tigera/operator:v1.34.3": rpc error: code = NotFound desc = failed to pull and unpack image "quay.io/tigera/operator:v1.34.3": failed to resolve reference "quay.io/tigera/operator:v1.34.3": quay.io/tigera/operator:v1.34.3: not found
Warning  Failed     65s (x4 over 2m34s)  kubelet            Error: ErrImagePull
Warning  Failed     54s (x6 over 2m34s)  kubelet            Error: ImagePullBackOff
Normal   BackOff    42s (x7 over 2m34s)  kubelet            Back-off pulling image "quay.io/tigera/operator:v1.34.3"

Thanks & Regards,
Muthukumar Subramaniam

We're experiencing the same problem. But the reason the image seems to be missing is because version 1.34.3 of the Tigera Operator is not even released yet? It is not listed on https://github.com/tigera/operator/releases.
I suspected earlier today that the release might have been a little bit late, but several hours hours later, this release is still not available. Maybe the Helm chart references the wrong operator version?

CC @danudey
Sorry about this - please continue to use the previous release for now. There was a gap between publishing the chart and publishing the operator release. Should be resolved today, thank you for your patience. :pray:

This issue was fixed 2 weeks ago.
Thanks & Regards,
Muthukumar Subramaniam


Tooltip's need revised for GC

There is an issue with Tooltips that prevents them from being properly collected.  Some initial investigation is discussed here:
https://discord.com/channels/531175899588984842/599270434642460753/1208556624902492250

The problem is indeed the _allTooltips property on the Tooltip class. The solution could be as simple as removing the tooltip from the collection when it's disposed.
This is the solution I came up with for the Mystic Crafting module:
public class DisposableTooltip : Tooltip
   {
       public DisposableTooltip(ITooltipView tooltipView) : base(tooltipView) { }

       private void RemoveFromCollection()
       {
           var type = typeof(Tooltip);
           var field = type.GetField("_allTooltips", BindingFlags.NonPublic | BindingFlags.Static);

           if (field == null)
               return;

           var tooltips = (ControlCollection<Tooltip>)field.GetValue(null);

           if (tooltips == null)
               return;

           tooltips.Remove(this);
       }

       protected override void DisposeControl()
       {
           RemoveFromCollection();

           base.DisposeControl();
       }
   }

@dlamkins I'm happy to help with this issue, but I'm not entire sure how to solve this problem.
Firstly, there are 3 issues I've found

Tooltip cannot be collected by GC because of static reference
Tooltip is not disposed
Menu is not disposed

Menu and Tooltip are not disposed, because they are not called on the Dispose method of Control.cs. They are also not children of a container (parent = null).
Is it safe to dispose the Tooltip and Menu when a control is disposed? The same Tooltip object could be assigned to multiple controls. For example:
var tooltip = new Tooltip()
var imageControl = new Image();
var labelControl = new Label();

imageControl.Tooltip = tooltip;
labelControl.Tooltip = tooltip;

imageControl.Dispose() //Tooltip should not be disposed because it's used multiple times?

The Tooltip.DisposeControl function also executes CurrentView?.DoUnload() while the view might be used elsewhere. I'm not sure what would be a good solution in this case.
Let me know what you think, but if the above is not an issue, then I can implement the following solution:

Remove tooltip static reference when disposed.
Dispose Tooltip and Menu when Control is disposed.

Something else to note, is that tooltips are seemingly disposed when using the BasicTooltipView thanks an event initialized during build:
protected override void Build(Container buildPanel) {
        _tooltipLabel.Parent = buildPanel;

        buildPanel.Hidden += (sender, args) => buildPanel.Dispose();
}

I think we should change this as well.


Better Neumorphic Buttons in Darkmode

Made the neumorphic button shadows darker and highlights dimmer when the data-theme is set to dark.
Fixes: #902
Before -

After -

I am still yet to update the minified CSS file, is this just done through a CSS minifier website or such?

@MorganGodden Great Work! Thank you and no you don't have to  update the minified CSS it is done by github actions.

Great work thank you!
@all-contributors please add @MorganGodden for bug