Implement contributable tree views

Implement contributed views those can be shown in Explorer as trees.

Contribution point to describe a view
API to register a tree data provider for the view
Multi views explorer

Awesome! Look forward to this API! 😃

I played around with the API and here is some feedback:

not restoring the UI state on restart is a very tough one for me. at the minimum I think we should restore the view expansion state and size. my scenario is a FTP explorer and always having to click it to show the contents is very annoying at times
in my case I am showing files in the same way the explorer does. I would like to reuse the same icons the explorer uses for files without me having to introduce new icons. for that, maybe the API should allow a TreeItem to have a resource URI that we then simply take as ResourceLabel and support icons with?
if we were to introduce resources for TreeItem, maybe we should automatically just apply a command to open that item's resource in the editor? that is basically what I have to add manually now (createTextDocument, showTextDocument)
API: registerTreeDataProvider  is not really related to the view in terms of naming, I suggest registerView (similar to registerCommand)
having a generic onDidChange on both text document provider and tree data provider is odd, because that way I cannot have my class implement both interfaces
question: is it possible to contribute actions to the view header?
suggestion: we should probably come up with a way to contribute views to a specific position in the same way I can set the location of an action when contributed into a menu. people will have the desire to put a view to the top or in between opened editors and the explorer itself

@bpasero Thanks for the feedback.

Agreed that, we need to support persisting view state. There are multiple use cases, one is what you mentioned and other is if there is a view that shows different tree based on the document opened. Then state should be stored when switching back and forth.

Good point to include resourceUri for enabling file icon themes

I see your point about registerTreeDataProvider. I think what we are using this API is to register a data provider for a view. So we can name it registerTreeDataProviderForView. View is already registered in package.json and having registerView again might be confusing

Reason to have a generic onDidChange listener is to support change on both element and root. To make it more specific and align with the provider, I can call onDidTreeDataChange.

Yes, you can contribute actions to the following locations: view/title and view/resource by giving proper when clause. Eg:

"view/title": [
	{
		"command": "extension.commandId",
		"when": "view == viewId",
		"group": "navigation"
	}
],
"view/resource": [
	{
		"command": "extension.commandId",
		"when": "view == viewId && resource == contextValue",
		"group": "navigation"
	}
]

Positioning of views, yes thought about it. Was thinking providing a property index in view contribution for the position of the view.

Re: registerTreeDataProvider

I just like the symmetry between contributing a command via package.json and having a method registerCommand

Re: onDidChange

That is fine, I am more concerned about the name clash with the text document provider. If all providers have the same event onDidChange, you cannot implement all the interfaces in one class in my extension. I suggest onDidChangeTextDocument (unfortunately we cannot change this anymore as it already is API) and onDidChangeTreeData.

Re: Positioning of views

Instead of introducing a new concept with index, why not reuse what we do for menus where you have menu item groups?

Another thing that might come up is being able to change the view label dynamically. For example for the ftp explorer I could maybe show the currently connected host in there.

I am having an idea to expose Views as an API just like other objects (editors, extensions, documents) and have some methods to control the view. This would be next step.

in my case I am showing files in the same way the explorer does [...]

I have a very similar use case - I want to implement a tree view that shows a few folders (of dependencies) outside of the current workspace. That means tree view items should otherwise behave exactly like those in the existing file explorer. They should:

have a tooltip showing the URI
have the usual context menu for rename / delete / etc
support drag and drop into editor tabs or to move them around between folders
there might be more I'm not aware of

Maybe this could be tied to the planned resourceUri?

@bpasero FYI Implemented remembering the view collapsible state and size.

Implement Git History Explorer (used to view commit history and view diff in each commit) real quick.

My 2 cents:

I really love the simplicity of the API, intuitive, easy to adopt. I spent 99% of the time on the real business code.
Currently getChildren doesn't support paging., in my extension, I don't have a way to load more commits if users scroll to the end of list.
Not quite sure what's contextValue in TreeItem used for.
It would be awesome if we can customize the context menu (I suppose it's on your list)
We can add a toolbar with limited actions for explorer, e.g., collapse and refresh buttons.

Tiny issues

I tried to use shortcuts for file explorer on custom explorer, not all of them work. For example, enter doesn't expand/collapse the node.
If we set icon path as string or Uri, it only works in light theme. After switching to Dark theme, the icon is gone.
Label of node is not vertically centered.

@rebornix

Currently getChildren doesn't support paging., in my extension, I don't have a way to load more commits if users scroll to the end of list.

Yes there is no support for Paging and I thought about it. I think we need paging support in internal Tree API too.

Not quite sure what's contextValue in TreeItem used for.
It would be awesome if we can customize the context menu (I suppose it's on your list)
We can add a toolbar with limited actions for explorer, e.g., collapse and refresh buttons.

Actions on View/Title and View/Item are supported. Its my bad that I did not document them well. I will update the API doc explaining how to contribute actions with examples. Please see the description for how to contribute menu actions to view and view items. Context value should be used for when expression of menu item contributions.

I tried to use shortcuts for file explorer on custom explorer, not all of them work. For example, enter doesn't expand/collapse the node.

Right, I will see why it is not working

If we set icon path as string or Uri, it only works in light theme. After switching to Dark theme, the icon is gone.
Label of node is not vertically centered.

Fixed these yesterday and should work in today's builds

Nice! I put together a quick integration into cquery here.

Some thoughts:

TreeItemCollapsibleState should have a third state, ie, NotExpandable. It's confusing/unexpected that undefined carries unique semantic meaning.
Expanding/collapsing a tree view node with the mouse always invokes the associated command. This is not the case with keyboard navigation (always invoking is a bit strange, since in my integration it jumps to a code location - but I suppose I'm not using the API for the intended purpose :))
Commands arguments are ignored, instead, the tree node instance is passed as the first argument.
It'd be really nice to reuse the standard vscode icons that are used in, ie, document outline or code completion.

@jacobdufault Thanks for the feedback

TreeItemCollapsibleState should have a third state, ie, NotExpandable. It's confusing/unexpected that undefined carries unique semantic meaning.

This is good one. Added a new entry called None.

Expanding/collapsing a tree view node with the mouse always invokes the associated command. This is not the case with keyboard navigation (always invoking is a bit strange, since in my integration it jumps to a code location - but I suppose I'm not using the API for the intended purpose :))

You can contribute commands only to those items you want to. These commands gets called when an user selects an item. This should be true with mouse and keyboard. (Will check if it is not working with keyboard).

Commands arguments are ignored, instead, the tree node instance is passed as the first argument.
Tree commands are triggered by the platform and it only knows the node the command belongs to. Hence only the item model is passed as an argument.

It'd be really nice to reuse the standard vscode icons that are used in, ie, document outline or code completion.
Yes, there is a plan to reuse file based icons provided that item gives a file uri. Will think about the other icons too.

@jacobdufault

Commands arguments are ignored, instead, the tree node instance is passed as the first argument.

Ignore my previous comment regarding this. I am mistaken. Yes this is a bug which will be fixed here #27535

Is there a plan to provide virtualization support for this tree views? I would love to connect this to trees that may have 100k+ nodes or even 1million nodes under a single folder. It would be nice to be able to load more items on demand using either ranges (e.g. give me items 101 to 200) and/or using continuation tokens to get the next page when needed.

@alvarorahul It is paging support and mentioned in the list in the description. There are no plans as of now.

Closing this and further improvements will be tracked under #27823


Lights and shutters dev

I've made some modifications in the API to manage the lights and shutters.
I fixed an issue for the command request LiftTo

OK I have added the fix for the current_lift you picked up and also found the error for schedule_id and fixed that.  0.0.25 is on the master branch so you can update your fork from this.
We probably need to align on how to send the work you are doing to me using Pull Requests as this will make it much easier to keep in sync.

I have also now included all the changes you have made to the api into the master branch on my repo (v0.0.25), except 2.
You have put the available_modes in the collection class.  I don't think this is a good idea as we may get different light/shutter types going forward which may have different available_modes.  This property is available on the actual light/shutter and should be used from there.

I have put the available_modes in the collection class because i got an error and the system advise me to put it there….

Le 9 mars 2022 à 12:44, Mark Parker @.***> a écrit :
I have also now included all the changes you have made to the api into the master branch on my repo (v0.0.25), except 2.
You have put the available_modes in the collection class. I don't think this is a good idea as we may get different light/shutter types going forward which may have different available_modes. This property is available on the actual light/shutter and should be used from there.
—
Reply to this email directly, view it on GitHub https://github.com/msp1974/wiserHeatAPIv2/issues/4#issuecomment-1062836233, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWZIJEO6BLVKK7BDGZGDMRLU7CFJJANCNFSM5QJC3PYA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.

OK I see now and I actually did this on smartplugs! ;-) Ok will put this in too.

@msp1974
OK Mark, I always draw inspiration from the code you produced to give some consistency, to be able to join it to the integration (API and Wiser Integration).

this should be fixed now


Fix [310] :bug: Some exceptions are not caugth by SugoiAdviceController

Signed-off-by: CChemin<EMAIL_ADDRESS>

I removed the ResponseStatus for Password exceptions, is that okay ?
Also I changed the ResponseStatus of InvalidPasswordException from 401 to 403, I thought it was better but I'm not sure.


Introducing a new WorkflowInput type: customizable_value.

Summary
Introducing a new WorkflowInput type: customizable_value.
This is part of the Button starting workflow  effort and will allow Next-gen developers to include a customizable_value as an input type. We are following Option 2 in the Link triggers with input tech spec.
Here is the major change in this PR:
/** The structure that must be provided to the workflow input to pass a value */
type WorkflowInput = WorkflowInputValue | WorkflowInputCustomizableValue;

type WorkflowInputValue = {
  // deno-lint-ignore no-explicit-any
  value: any;
  customizable_value?: never;
};

type WorkflowInputCustomizableValue = {
  customizable_value: boolean;
  value?: never;
};

Tests have been added.
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Samuel Barksdale seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Conflicts with GDAL 2.0

Lack of support for GDAL 2.0 is beginning to impact users. See #255. If someone has Fiona installed (linking the system GDAL) and upgrades their system GDAL to 2.0, Fiona breaks. If someone installs GDAL 2.0 (only) on their system and installs Fiona, Fiona is broken.

I tried to figure out more in detail what is needed to port fiona to gdal2. See https://github.com/Toblerity/Fiona/compare/master...rbuffat:gdal2
==1== 64bit
The 64bit datatypes need to be added in ogrext. The issue here is, that int in python2 there is the distinction between int and long and in python 3 only in exists.
==2== utf8
in test_bytescollection.py we have self.failUnlessEqual(self.c.encoding, 'utf-8'). This fails because self.c.encoding equals OGR_DETECTED_ENCODING = '-ogr-detected-encoding'
ograpi.OGR_L_TestCapability(
self.cogr_layer, OLC_STRINGSASUTF8) and
OGR_DETECTED_ENCODING)
The documentation states:
OLCStringsAsUTF8 / "StringsAsUTF8": TRUE if values of OFTString fields are assured to be in UTF-8 format. If FALSE the encoding of fields is uncertain, though it might still be UTF-8.
should therefore the test be changed to the following?
ograpi.OGR_L_TestCapability(
self.cogr_layer, OLC_STRINGSASUTF8) and
"utf-8")
== 3 == synctodisk:
ograpi.OGR_DS_SyncToDisk(cogr_ds) in ogrext.Session.sync returns an error code for the geopackage driver
OGR_DS_SyncToDisk calls internally FlushCache. The API documentation says
"Using this method does not prevent use from calling GDALClose() to properly close a dataset and ensure that important data not addressed by FlushCache() is written in the file."
http://www.gdal.org/classGDALDataset.html#ab6421c7ec7068c274a030e22aa6609e1
Thus it sounds as synctodisk would not really be needed if the dataset is closed after creation
With adding 1 and commenting out 2 and 3 520 tests are ok and 1 is skipped. 2 and 3 need definitely more time investigating.

Note that also debian is considering moving to gdal 2.0 - fiona is one of the packages where the build fails in that case.
https://lists.debian.org/debian-gis/2015/10/msg00022.html

Just a followup note as a user. I ran into the GDAL2/fiona issue recently when trying to iterate through features (actually through the rasterstats package). @rbuffat's gdal2 branch worked for me as a quick fix. Let me know if/how I can best try to help (I don't know any of fiona's internals, but I am a C++/Python dev -- or at least I tell myself I am).

@gidden Do you encounter this problems also with the master branch of fiona? The gdal2 branch is outdated and was used to develop the changes necessary to support gdal 2.0. You should be fine with the master branch of fiona.

I jumped straight from the pip install version to building on your branch. I'll confirm when I'm back in the office tomorrow. Thanks for the heads up, @rbuffat.

Just confirmed, @rbuffat, the master branch does indeed work. The link in
the comments made it seem like these commits weren't merged in. Apologies.
On Mon, Jan 11, 2016 at 1:40 PM, René Buffat<EMAIL_ADDRESS>wrote:

@gidden https://github.com/gidden Do you encounter this problems also
with the master branch of fiona? The gdal2 branch is outdated and was used
to develop the changes necessary to support gdal 2.0. You should be fine
with the master branch of fiona.
—
Reply to this email directly or view it on GitHub
https://github.com/Toblerity/Fiona/issues/259#issuecomment-170533729.

Any idea when a release will be made including these fixes?

Update: 1.7b1 is on PyPI now. See https://github.com/Toblerity/Fiona/issues/289.


transfers: GET over a time range

What were you trying to do?
I want to view all transfers for a given day that my user created.
What did you expect to see?
An endpoint like: GET /transfers/2020-04-03[?status=processed] that I can call and get back JSON objects for each Transfer.

Replaced by https://github.com/moov-io/paygate/issues/455


<primitive> :object breaking references to THREE objects (v4.0.0-next.1)

Describe the bug
Problem
When using a THREE object in <primitive :object="[the THREE object]">, the on-screen object cannot be updated in <script setup>.
Possible cause
It appears that src/core/nodeOps.ts clones the primitive's :object, breaking the reference to the THREE object in <script setup>.
Reproduction
https://stackblitz.com/edit/tresjs-basic-lgdhxs?file=src%2Fcomponents%2FTheExperience.vue
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

Related:

https://github.com/Tresjs/tres/issues/363
https://github.com/Tresjs/tres/issues/503


Bump to Angular 2 .37

The counter example doesn't work with .37.
Reducers are called, state changes but that change never hits the App component again so counter is always 0.
Tried to update it, but I think it is a problem with ng2-redux itself.

Hey!
Thanks for all your PRs.
Regarding this issue, I can't reproduce it.
The only change I had to do to have the example work with .37 is fix the event syntax on the counter component.
See the commit here

Let me try then

That is odd, but a good odd.

:+1:


[IOU] Pay with Expensify option

Details
Added the option to pay with Expensify in the IOU Details modal if the report has USD set as its currency. See the issue for more context.
Fixed Issues
Fixes https://github.com/Expensify/Expensify/issues/159572
Tests

Created 3 users (A, B, and C) with Gold Expensify Wallets (via this SO)
Used A to submit an IOU Request to B and C.
Used the Pay with Expensify option to pay for B and C.
Verified that the payments were added in the reimbursements table:

SELECT * from reimbursements WHERE reportID=[reportID];

QA Steps
Same as the above tests.
Tested On

[ ] Web
[ ] Mobile Web
[ ] Desktop
[ ] iOS
[ ] Android

Screenshots
Web

Mobile Web

Desktop

iOS

Android

@Gonals Ready for review, thanks!

Should this be hidden behind a beta?

@Gonals Hmm you're probably right, all the Web-E code that this calls is hidden behind BETA_EXPENSIFY_WALLET. Is this enough, or do we need to also enable it here?

@jasperhuangg @Gonals Not sure if we're able to test this on our side. We don't have accounts with Gold Expensify Wallets.


[type:dependencies] upgrade dubbo and add 2.7.0 integrated test

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #4888 (0b0d9a9) into master (c4483a6) will decrease coverage by 0.13%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #4888      +/-   ##
============================================
- Coverage     64.48%   64.36%   -0.13%
+ Complexity     8243     8235       -8
============================================
  Files          1166     1166
  Lines         34254    34242      -12
  Branches       3070     3066       -4
============================================
- Hits          22088    22039      -49
- Misses        10406    10443      +37
  Partials       1760     1760

see 20 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Service backend not found

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
hello,
I was installed cilium with enabled bgpControlPlane for loadbalancer, but i'm getting connection timeout to my nginx application.
On grafana blackbox, i see each 3 seconds timeout to url, then 200 status code and again status code 0.
helm values.yaml
cluster:
  id: 3
  name: rc-infra

tunnel: vxlan

debug:
  enabled: true
  verbose: datapath

#ipam:
#  mode: kubernetes

bgpControlPlane:
  enabled: true

k8sServiceHost: "<IP_ADDRESS>"
k8sServicePort: 6443
kubeProxyReplacement: "strict"
ipv4NativeRoutingCIDR: <IP_ADDRESS>/20

#bpf:
#  lbExternalClusterIP: true
#  masquerade: true

#loadBalancer:
#  algorithm: maglev

#maglev:
#  tableSize: 65521
#  hashSeed: 25Mk1ue79J3wCZ0j
# -- Enables masquerading of IPv4 traffic leaving the node from endpoints.
enableIPv4Masquerade: false

Cilium Version
1.13.4
Kernel Version
5.14
Kubernetes Version
1.27.2
Sysdump
CILIUM SYSDUMP https://filetransfer.io/data-package/SnALT0zE#link
Relevant log output
root@k8s-rc-infra-control-plane2:/home/cilium# cilium monitor --type drop
Listening for events on 4 CPUs with 64x4096 of shared memory
Press Ctrl-C to quit
level=info msg="Initializing dissection cache..." subsys=monitor
xx drop (Service backend not found) flow 0x8100c2a5 to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:47444 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0x8100c2a5 to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:47444 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0x8100c2a5 to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:47444 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0x8100c2a5 to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:47444 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0x80d64053 to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:49610 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0x80d64053 to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:49610 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0x80d64053 to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:49610 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0x80d64053 to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:49610 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0x89693ed0 to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:58886 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0x89693ed0 to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:58886 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0x89693ed0 to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:58886 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0x89693ed0 to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:58886 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0x9f70af6c to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:42852 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0x9f70af6c to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:42852 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0x9f70af6c to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:42852 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0x9f70af6c to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:42852 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0xbeef206e to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:43668 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0xbeef206e to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:43668 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0xbeef206e to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:43668 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0xbeef206e to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:43668 -> <IP_ADDRESS>:443 tcp SYN
xx drop (Service backend not found) flow 0xd2673e41 to endpoint 0, ifindex 2, file 1:651, , identity world->unknown: <IP_ADDRESS>:55582 -> <IP_ADDRESS>:443 tcp SYN

Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@allanian is this still an issue? Unfortunately, the sysdump link has expired. If this is no longer an issue, can you provide a brief description of what resolved the issue?

Hi, I am facing similar case:
<REDACTED>:/home/cilium# cilium monitor --type drop
Listening for events on 2 CPUs with 64x4096 of shared memory
Press Ctrl-C to quit
level=info msg="Initializing dissection cache..." subsys=monitor
xx drop (Service backend not found) flow 0x43fb43fb to endpoint 0, file bpf_host.c line 670, , identity world->unknown:
<REDACTED> ->
<REDACTED> tcp SYN
xx drop (Service backend not found) flow 0x99619961 to endpoint 0, file bpf_host.c line 670, , identity world->unknown:
<REDACTED> ->
<REDACTED> tcp SYN
xx drop (Service backend not found) flow 0x495d495d to endpoint 0, file bpf_host.c line 670, , identity world->unknown:
<REDACTED> ->
<REDACTED> tcp SYN
xx drop (Service backend not found) flow 0x43fb43fb to endpoint 0, file bpf_host.c line 670, , identity world->unknown:
<REDACTED> ->
<REDACTED> tcp SYN
xx drop (Service backend not found) flow 0x99619961 to endpoint 0, file bpf_host.c line 670, , identity world->unknown:
<REDACTED> ->
<REDACTED> tcp SYN

It turned out that dropped events were ALB healtcheck to NodePort on node, that doesn't run selected pod.


Fullscreen Marquee H1 For Mobile

Describe your specific features or fixes
Implements CSS for the mobile version of the fullscreen marquee. Requires authoring changes.
With these new CSS rules, the h1 of the fullscreen marquee block is made available on mobile pages. In turn, the h2 and description of the following template-x block is suppressed only on mobile pages. The fullscreen image is not displayed on mobile pages. This will improve SEO since we are missing the H1 on mobile pages.

Resolves: MWPW-NUMBER
Test URLs:

Before: https://main--express--adobecom.hlx.page/express/
After: https://echen-fs-marquee-mobile--express--adobecom.hlx.page/drafts/echen/vertical

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

Project coverage is 36.35%. Comparing base (25eb484) to head (c65c92a).
Report is 1 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #742      +/-   ##
==========================================
- Coverage   36.43%   36.35%   -0.09%
==========================================
  Files         132      132
  Lines       25713    25713
==========================================
- Hits         9369     9347      -22
- Misses      16344    16366      +22

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

Isn't this done? https://github.com/adobecom/express/pull/709

This block to block suppression actually feels a little anti-pattern to me. Could you please link the ticket number to this PR and we can understand the ask together? Thanks!


Include VIP Coding Standards with 10up Default.

Description of the Change

Since https://github.com/10up/phpcs-composer/commit/5f9ac994db1af9924a71b0f5663fe7f6bd59c812 the 10up Default coding standards require the WordPress VIP sniffs be installed. This includes the sniffs with the 10up-Default ruleset.

Closes #24
How to test the Change

Changelog Entry

Fixed - Include WP VIP coding standards with 10up-Default sniffs.

Credits

Props @peterwilsoncc
Checklist:

[x] I agree to follow this project's Code of Conduct.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my change.
[ ] All new and existing tests pass.

LGTM.
Works as expected: 10up/simple-podcasting@1a97247
May produce new errors and warnings on existing projects because of rulesets change.

@cadic @dkotter Do you think we should hold of merging for now and consider changing to using numbered versions in the OSP repos, rather than stable?

Do you think we should hold off merging for now and consider changing to using numbered versions in the OSP repos, rather than stable?

Hmm... yeah, not sure here. I recently thought that we should change all our public Actions to use version numbers in their releases, which seems to be the standard there (so instead of including stable or a release like 2.0.0, you include v1 or v2. I don't think our Actions work like this right now).
That's a slightly different, though similar, thing then what's at play here. The concern as I see it here is if we merge this in, it could start causing failures on existing projects due to the new rules. While it would be great to update any project that uses this Action to reference a tagged release instead of stable, not sure how realistic that is.
I guess I lean towards merging this in and not seeing it as a bad thing if new issues are flagged that need fixed. But then would love to get on a more normal release pattern (and update docs) so projects aren't loading straight from stable. Any thoughts on this @jeffpaul?

I'm fine merging this in.
I'm fine with projects referencing stable if we effectively want to be on the latest version of an action.
I'm also with projects referencing a specific release branch, e.g. v2, if we want to maintain functionality and avoid breaking changes.

So, kinda saying... YOLO I guess?

Thanks Jeff. YOLO!


Merge pull request #2 from tensorflow/master

Update from origin

Can one of the admins verify this patch?

I assume this PR was opened in error.


Wrong default value ChrgBr

When a new SPS::CreditTransfer transaction is created, regardless of the value selected for service_level, builder.ChrgBr('SLEV') is always executed. According to the ISO manual, SLEV may only be used for SEPA payments.

Tested with ZKB in Switzerland
Code:
https://github.com/viafintech/sps_king/blob/b9db3101364836ceb07103041d3b5d0f6157b64d/lib/sps_king/message/credit_transfer.rb#L59

Hi @andre-m-dev
interestingly we have been using this for years without any issues or complaints for transfers within switzerland.
The service level currently only influences the service level code: https://github.com/viafintech/sps_king/blob/b9db3101364836ceb07103041d3b5d0f6157b64d/lib/sps_king/message/credit_transfer.rb#L34
So in my opinion, service_level should not directly affect the charge bearer.
We could make it optional to provide the value and use the provided charge bearer value instead of using the SLEV value.

As per page 47:
https://www.six-group.com/dam/download/banking-services/standardization/sps/ig-credit-transfer-v2.0.2-de.pdf

So you are right, only for SEPA it must always be SLEV. I am wondering why it would be invalid in the general case though. Then again, we are always using an IBAN.
Could you maybe share a bit more information about your specific use case?

I created the transaction as follows:
sct.add_transaction(
  name:                   'XXX',
  bic:                    'ZKBKCHZZ80A',
  iban:                   'CHXXX',
  amount:                 2.00,
  currency:               'CHF',
  remittance_information: 'ACHTUNG TEST',
  batch_booking: false,
  instruction:            'InstrIDTEST',
  creditor_address: SPS::CreditorAddress.new(
    country_code:        'CH',
    street_name:         'XXX',
    building_number:     'XXX',
    post_code:           '8048',
    town_name:           'Zürich'
  )
)

and transmitted via: XE2. The technical support replied:
"In der Testdatei ist nach wie vor im B-Level der "falsche" Code für den Gebührenträger (Element "Charge Bearer") vorhanden (gelb markiert):
Gemäss dem ISO-Handbuch dürfte der Code SLEV nur für SEPA-Zahlungen verwendet werden:"
But maybe it's not the problem at all:
"Dieser Code wird aber offenbar von unserer Plausi-Prüfung ignoriert und lässt das File trotzdem durch. Abgesehen davon ist das File aber tiptop."
Hopefully this will help, otherwise you are welcome to get in touch by other ways.

Ok, so here would be my proposal:

let's make charge bearer a field that can be passed separately
since it is technically an optional field, I would actually make it optional and not set it unless it is given
add it as a very explicit mention in the release notes
Since we are still in the 0.x versions, it would not result in a major version change

Would that solve your issue? On our side, I can take care of explicitly passing the field in the future so that nothing actually changes for our flow for now

@tobischo thank you very much for your effort and time. Based on the answer from technical support, I was just wondering why the attribute "ChrgBr" is always added with the value SLEV. The proposal looks good to me and I can test it afterwards.

Pretty much because I may not have paid enough attention in the docs to the value being SEPA specific a few years ago 😄

Alright, prepared a change in #7
Please let me know what you think


Typing numeric value into mixing Amount doesnt work as expected. Windows 10

Originally issue was opened in ZeroLink repo. https://github.com/nopara73/ZeroLink/issues/57 by @ghhelperau

Windows 10.

When on mixing page, and you go to type "8" in the "Amount (BTC)" field, no matter the numeric value you enter, it increases the amount already in the field by 0.1 BTC.

When value is 0.4, and you type 9, the value changes to 0.5.

Its as if the numeric values are being treated as an "arrow up" keypress.

Yes, it is being treated exactly like that. Is this confusing?

Yes, its confusing to me, anyway.
If I enter a decimal/interet input field, I expect to be able to type numeric fields.
I guess if I wanted to mix 108 BTC, I would be there for a while, for example.

I guess if I wanted to mix 108 BTC, I would be there for a while, for example.

I'm not sure how to go about it. Of course it can be made less confusing, if I don't use a numeric field, but big numbers are hard, letting numeric values to be written there is not an option, since denominations must be kept.

No problem, I just want to help where I can, I am happy to give my feedback as I see it, and some will be useless, some useful, and some somewhere in between.

There is a new version of the wallet, called Wallet Wasabi. The GUI is not yet implemented, but it'll be implemented with Avalonia, that's native .NET, instead of Electrum (JavaScript) so I will not reuse this part of the code.


SEP to support update production

This command we call to the debugger doesn't look like we pass in update debug like we do for batch.
We need an additional Boolean parameter to ibmidebug.create-service-entry-point-with-prompt to control this.
https://github.com/codefori/vscode-ibmi/blob/master/src/api/debug/index.ts#L457

This is an enhancement we can add in the next release. As a complete user story, only adding a parameter to ibmidebug.create-service-entry-point-with-prompt is not enough. We also need to add an action on an SEP object to toggle this setting and also show the setting value in the SEP view.

I will use a simpler implementation, which just honours the "update production files" setting from the code-for-i debug settings page when setting an SEP. We will only go with the more expensive solution of making this setting configurable for each SEP, if there is such a requirement later.

Just figured out that we also need to update the debug service for this one. SEP debug uses the attach launch configuration. We are not passing the updateProductionFiles setting in the attach launch right now. I will discuss with the team on when we can rebuild the debug service PTF.

I've been unable to debug any programs that need updprod(*yes). Is there a workaround for this issue while we wait for the update to fix this?

@McJablesSupreme There is no workaround for the updprod issue in SEP debug. We will need an update to the debug service PTF.

@mkwan01, that was a really fast reply! Thanks for letting me know. I'll keep an eye out for that.

Change your library containing your database files from *PROD to *TEST. That worked for us.

This problem was fixed in debug client v2.0.2. The new debug client requires a debug service update via the following host PTFs:
7.3 PTF SJ02996
7.4 PTF SJ03026
7.5 PTF SJ03030
Please note that you need to regenerate the SSL certificate after updating the debug service.
@worksofliam


Get-WinEvent is not friendly than Get-EventLog

Get-EventLog is more comfortable providing the ability to ask for Events without checking any documentation.
However, Get-WinEvent  is a little more complicated to define a HashTable to filter events.
I hope Get-WinEvent can be improved by using more parameters , just like Get-WinEvent can use tons of parameter and the value of parameter can be automatically completed by using TAB.
$FilterHashTable = @{
LogName   = 'Security'
ProviderName= 'Microsoft-Windows-Security-Auditing'
#Path = <String[]>
#Keywords = <Long[]>
ID        = 4625
#Level = <Int32[]>
StartTime = (Get-Date).AddDays(-1)
EndTime   = Get-Date
#UserID =
#Data = <String[]>
}
Get-WinEvent -FilterHashtable $FilterHashTable -MaxEvents 5
Get-EventLog -LogName 'Security' -Source 'Microsoft-Windows-Security-Auditing' -Newest 5

New logs have more advanced API and the API was exposed to Get-WinEvent cmdlet. There is only a few common parameters. They are easy to remember or take from examples of help. Powerful queries can only be made using XML. So I do not see any benefit from adding new parameters. Perhaps we could improve IntelliSense.

Thank you for the feedback - this is by design.


Helpers.FindFilesByPathAsync Not Returning New Files

I'm using Helpers.FindFilesByPathAsync to return a list of files from a specific folder on my Google Drive. At first it seemed to be working just fine, returning every file in the folder. Then I created a new file within the folder, and it does not recognize this new file. I've waited >24 hours assuming Google Drive APIs have some kind of delay, and yet the file is still not being picked up.
When I delete or move an older file from within the folder it is no longer picked up, and if I turn on the trash flag it will pick up old deleted files, but it will not pick up any new files. I also tried making exact copies of old files, and still no luck.
Is there a local cache that UnityGoogleDrive makes that I'm unaware of?

Is there a local cache that UnityGoogleDrive makes that I'm unaware of?
Not that I’m aware of.

I've just checked the built-in test and it seem to pick up new files just fine. Maybe the issue is with some custom code you're using?

@Elringus I am able to reproduce with the code used in the test scene. I'm still only seeing 2 files (ones that previously existed), and not seeing any new ones (there are 5 in the same folder). I can even modify the existing ones and see the updated contents, which is strange. It just seems like the new ones are being completely ignored. I'm the only one with access to the drive folder I am using.
Here's the code I'm using from the test scene.
`
private Dictionary<string, string> results;
    private void Awake()
    {
        FindFilesByPathAsync("My/Drive/Path/");
    }

    public async void FindFilesByPathAsync(string path)
    {
        var files = await Helpers.FindFilesByPathAsync(path, false, new List<string> { "files(id, name, size, mimeType, modifiedTime)" });
        BuildResults(files);
    }

    private void BuildResults(List<File> fileList)
    {
        if (fileList.Count == 0) { results = new Dictionary<string, string> { [string.Empty] = "Non files found." }; return; }

        results = new Dictionary<string, string>();

        foreach (var file in fileList)
        {
            var fileInfo = string.Format("Name: {0} Size: {1:0.00}MB '{2}' Modified: {3:dd.MM.yyyy}",
                file.Name,
                file.Size * .000001f,
                file.MimeType,
                file.ModifiedTime);
            results.Add(file.Id ?? "Failed", fileInfo);
        }
        foreach (string result in results.Values)
        {
            Debug.Log(result);
        }
    }

`

I was manually adding files, and expecting it to get picked up. As it turns out the file must be created by the authorized app. Misunderstanding on my part. Closing.

Well, I've tested it by manually dropping files to the drive via browser and they were picked up. I guess standalone clients should behave similarly. Not sure how else is possible to add the files to the drive (without an authorized client).

The issue had to do with authorization scope.  The OP was using auth/drive.file scope, which means the app could only see files that it had created itself.  Files added via the browser are not visible to the app, by design.  So everything was working exactly as it should.

Ah, I see. Thanks for the info! Will mention that in the readme.


More search filters

Add more flexible search filters especially in the following pages:
Schema details
http://<IP_ADDRESS>/view/project/samm/schema-details
Observed details
http://<IP_ADDRESS>/view/project/samm/observed-details

sure, can you give me some example of what you would to filter?

Ideally all columns should be filter(able).. however, if we need to list the most important ones:
Schema details
http://<IP_ADDRESS>/view/project/samm/schema-details
description: this will help the user find which practice is related to his keyword.
key: just to filter out the results for easier readability.
Observed details
http://<IP_ADDRESS>/view/project/samm/observed-details
team: if we can add a filter to search by team(s) name(s), this will help the manager to focus on specific targeted teams.


Support externalDocs in Python docstring

Since recent M4, externalDocs might be filled with a link to relevant doc for that operation. We should read that field, and generate it (@seeAlso or anything comparable, let's check the Sphinx doc to the right name and do proposal in this issue)

M4 Input:
M4 provide externalDocs by operation:

Generation:
Generate the externalDocs as seealso comment for operation:

The Sphinx doc will look like this:

Hi @lmazuel , @iscai-msft , would you take a look whether this is what we want to generate?

Yep sounds like the perfect place for it! The sphinx docs say that's where you put a  list of references to module documentation or external documents


🐛 [Spotweb] Spotweb is spamming CLI with crond messages

Description
Spotweb spams the CLI with crond messages.
Running Haos in virtualbox

Reproduction steps
1. Go to 'addons'
2. Click on 'start spotweb'
3. See spam on CLI

Addon Logs
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
 Add-on: Spotweb
 Spotweb is a decentralized usenet community based on the Spotnet protocol
-----------------------------------------------------------
 Add-on version: 1.5.4-8
 You are running the latest version of this add-on.
 System: Home Assistant OS 10.5  (amd64 / qemux86-64)
 Home Assistant Core: 2023.9.2
 Home Assistant Supervisor: 2023.09.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/01-custom_script.sh
[19:27:22] INFO: Execute /config/addons_autoscripts/spotweb.sh if existing
[19:27:22] INFO: ... no script found
cont-init: info: /etc/cont-init.d/01-custom_script.sh exited 0
cont-init: info: running /etc/cont-init.d/90-spotweb
[19:27:22] WARNING: Spotweb is using the Maria DB addon
[19:27:22] WARNING: Please ensure this is included in your backups
[19:27:22] WARNING: Uninstalling the MariaDB addon will remove any data
core-mariadb (<IP_ADDRESS>:3306) open
[19:27:22] INFO: Existing database, checking health with upgrade-db....
[19:27:23] INFO: Existing database, clearing cache with upgrade-db
[19:27:23] INFO: to fix potential cache corruption...
Validating cache content, items 0 to 1000, done.
cont-init: info: /etc/cont-init.d/90-spotweb exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun cron (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
services-up: info: copying legacy longrun phpfpm (no readiness notification)
[19:27:23] INFO: Starting PHP-FPM...
s6-rc: info: service legacy-services successfully started
[19:27:23] INFO: Starting NGinx...

Architecture
amd64
OS
HAos

Hopefully this will do the trick


Extend IP subnet check to take into account host's domain

Even with the IP range check we sometimes lose a lot of contracts at once due to hosts which are clearly on the same domain.
e.g. foo.example.com, bar.example.com, baz.example.com.
We should only form a contract with one of those hosts to avoid losing too much redundancy at once when a provider goes offline.
e.g. Arequipa just lost 10 contracts at once due to such a provider no longer accepting contracts on all hosts.

How are you going to cater for people using DDNS? There a many hosts using noip.com's free domains (such as ddns.net), FreeDNS, DynuDNS and so on. These hosts can safely share the some domain and are likely nothing to do with each other.

Unfortunately we can't without making renters vulnerable. If a host doesn't have a custom domain or static IP, it will be a first come, first served situation. Similar to how hosts in the same datacenter compete already.

So there are 89 ddns.net (noip.com) active hosts, 5 freedns/dnsfree, 10 hopto.org/zapto.org (noip.com), 2 sytes.net (noip.com), 36 duckdns.org and many other DDNS names. You are really going to can them? There is even a DDNS update in hostd for noip.com and duckdns.org names.

We don't need to outright can them. The details are still not worked out but there might be less invasive ways.
e.g. if we need n contracts for the set we could pick as many as possible from unique domains and add more if we can't get a full set.

Please can I suggest you discuss this with Nate and come up with a concrete proposal. I think it is crazy to try to pick just one domain from ddns.net when they make up over 25% of the hosts and they are randomly scattered over the internet. The original idea was to ensure geographical separation of the hosts. You may be able to build a small database of "approved" DDNS domains. But then how do you deal with your own *.sia.host domain, and who is going to be the gatekeeper? CtrlAltDefeat has 3 servers. 2 are in different towns in Holland and one is in Germanay, but you want to effectively reduce him to 1 server?
Even the /24 concept it is broken.  Perhaps even the /24 rule should be revisited and try to do a whois to see how big the block is but I think you have to be cute as RIPE return the data differently from IANA etc.

We're already discussing, internally. I'm going to close this for now while we discuss alternatives.


Discovering in shared wallets

Issue Number

adp-927
Overview

[x] Adding the integration test showing the case
[x] implement IsOurs and enable discovery
[x] introduce hardened index guard outlawing improper ix in account when creating wallet
[x] investigated another chain follower error for active shared wallet. It turn out there is very subtle error in sqlite handler when inserting the cosigner. Before that all cosigners were deleted which is incorrect, only cosigner row for a given credential and walid should be deleted. Otherwise, payment cosigners are deleted when delegation template is present and reading (selecting) is erroneous.

Comments

@piotr-iohk could you confirm the two issues in the ticket are fixed now, please :-)

@piotr-iohk could you confirm the two issues in the ticket are fixed now, please :-)

Looks good now! :+1: Both cannot be reproduced.

bors r+

bors r+

spotted in integration testing:

cardano-wallet                 > [cardano-wallet.network:Warning:2092] [2021-05-28 18:40:41.48 UTC] Connection lost with the node. Network.Socket.recvBuf: resource vanished (Connection reset by peer)
--

cardano-wallet                 >
--

cardano-wallet                 > Failures:
--

cardano-wallet                 >
--

cardano-wallet                 >   src/Test/Integration/Scenario/API/Byron/Wallets.hs:187:59:
--

cardano-wallet                 >   1) API Specifications, BYRON_WALLETS, BYRON_RESTORE_01, GET_01, LIST_01 - Restore a wallet, ledger 21 words
--

cardano-wallet                 >        While verifying (Status {statusCode = 200, statusMessage = "OK"},Right (ApiByronWallet {id = ApiT {getApiT = WalletId {getWalletId = 7784a684aefeacf73e52ddd5746a1d0b7402347b}}, balance = ApiByronWalletBalance {available = Quantity {getQuantity = 0}, total = Quantity {getQuantity = 0}}, assets = ApiWalletAssetsBalance {available = ApiT {getApiT = TokenMap (fromList [])}, total = ApiT {getApiT = TokenMap (fromList [])}}, discovery = DiscoverySequential, name = ApiT {getApiT = WalletName {getWalletName = "Empty Byron Wallet"}}, passphrase = Just (ApiWalletPassphraseInfo {lastUpdatedAt = 2021-05-28 18:18:35.624318912 UTC}), state = ApiT {getApiT = Syncing (Quantity {getQuantity = Percentage {getPercentage = 1037 % 1250}})}, tip = ApiBlockReference {absoluteSlotNumber = ApiT {getApiT = SlotNo 2023}, slotId = ApiSlotId {epochNumber = ApiT {getApiT = EpochNo {unEpochNo = 40}}, slotNumber = ApiT {getApiT = SlotInEpoch {unSlotInEpoch = 23}}}, time = 2021-05-28 18:17:13.6 UTC, block = ApiBlockInfo {height = Quantity {getQuantity = 1000}}}}))
--

cardano-wallet                 >        Waited longer than 90s to resolve action: "wallet is available and ready".

bors retry

So I gotta be honest I don't know what a kit of this means. But long story short I was stoked bro get into the new atomic wall, stocking and interest. I just started transferred every thing alllbabsuddenbi get this error that won't me me konfbin. I tried and tried to get in but not even my key phrase was working and I took a f****** picture of it. I real installed it and the code worked so I thought I was gravy. Took be a couple transaction nrhat this was a different wall. Wtf is that' I was was straight up moving me tire wallets to atomic 4k worth. Next thing I know it all over the place. I  was pissed that's my day saving.  WTF HAPPEND. HOW DO I LABlE MY SEHIT SO THIS CANT HAPOEN AGAIN?

This scared me half to death.


Paginate user list

I was trying to use the user roles+data list earlier, and it took upwards of 5 seconds to load. I have a feeling pagination might be handy there.

Note: previously the user roles list was limited to 100 items (like most lists on MS), but #404 asked for this limit to be expanded, As a result of this, selected pages were changed to have a 1000 item limit (e.g. the user data/roles page, My Feedbacks page).
Currently, we have less than 1000 users (although the IDs go above 1000, there are many deleted users), so no pagination appears on the user list.
Would you like to propose that we modify this limit?

Agree with moving those back to 100 items. 1000 takes significantly longer to load.

Gonna leave My Feedbacks where it is for now, but pulling User Data/Roles back to 100 (primarily since I've been using it lately and it is kinda slow).


undefined is not being caught in filters

another potential fix for #299

Coverage remained the same at 72.393% when pulling 34d26a5d1c4a5821bdd3d017c18e1135f19f086a on aprakash-sovrn:filter_undefined_patch_2 into 547348bd2d8e904222626ff20cb003eeaa783461 on gregnb:master.


Mock code for external modules

Description
Mocking the code for a module should work as follows:

The code for the mock should be in <Module>Mock.cpp and <Module>Mock.hpp
Whether to use the mock or the real code is decided with CMake by adding <Module>.cpp or <Module>Mock.cpp to the target sources.
Similar to the non-virtual interface (NVI) design pattern, the public functions that need to be mocked and are declared in <Module>.hpp, forward their calls to functions of the same name but with prefix Do, _, Mock or something like that. I'll call them "do functions" from now on.
These do functions are actually function pointers. For each one, a set function must be declared in <Module>Mock.hpp and defined in <Module>Mock.cpp. As the name suggests, the set functions are used to chose where the function pointers point to. This means that you can choose and change the implementation of the mocked function at runtime.
All function pointers must be initialized with a default function that does nothing. This way, tests using <Module>Mock.cpp instead of <Module>.cpp will at least compile without any further changes.

To do

[ ] Mock FRAM code (for telemetry memory and persistent state)
[ ] Mock RF code (when the time is right, and we actually implement RF protocols, TX queues, etc.)
[ ] Mock file system code (maybe)
[ ] Mock EDU code (even more optional because it's a lot of work)

Blocked by #103


MediaInfo CLI read Menu ONLY

OS : Windows 11
MediaInfo GUI/CLI : V24.06
I want MediaInfo CLI read Menu ONLY,but MediaInfo CLI shows ALL informations.
MediaInfo --Output=Menu;"%%MenuID/String%%" 1.mkv

You need to use MediaInfo CLI. Here you use MediaInfo GUI and MediaInfo GUI doesn't (yet) support CLI related commands.
https://mediaarea.net/MediaInfo/Download/Windows

The GUI snapshot is a sample.
I use CLI.
MediaInfo --Output=Menu;"%%MenuID/String%%" 1.mkv

The GUI snapshot is a sample.

would have been better to copy/paste the CLI output for avoiding the mistake.

MediaInfo --Output=Menu;"%MenuID/String%" 1.mkv

OK, I see, it is fine with everything but Menu, I need to dig in code for that

Can i get 3,905 kb/s or 3905 kb/s ?

MediaInfo.exe "--Language=  Config_Text_ThousandsSeparator;,"
(2 spaces after "=")

would have been better to copy/paste the CLI output for avoiding the mistake.

My fault.

MediaInfo.exe "--Language= Config_Text_ThousandsSeparator;,"
(2 spaces after "=")

Yes,it works.

OK, I see, it is fine with everything but Menu, I need to dig in code for that

I have tested General,Video,Audio,Text and works well.
Do you have test Chapter and Image ?


maintaining a cart instance for a current user

This is a great package, thanks. I would have asked this on the L4 forum but couldn't find any mention of your package there..
It seems I can only maintain a logged-in users cart instance (by using their id) within a single script. What would be the best way to keep their cart instance current whenever they are logged-in? I have tried an event listener, but couldn't get it  to work. Any ideas?
Thanks.

great package!! I am looking to save the cart, in db using just serialize, but the only way I can see is to serialize Cart::content(). But this does not store the models/namespaces, so when I go the backend of my app, I lose the relationships. Is there anything implemented for this?

How about cart expiration time? After how long session is expired, it can be configured?


DGEMM Failures on Fiji

Compiling clBLAS and running ./test-short --gtest_filter=*dgemm* on a Linux system with Catalyst 15.12 and an R9 Nano GPU results in a variety of test failures, as detailed below.
test.txt
clBLAS was compiled as: cmake -G"Unix Makefiles" -DOPENCL_VERSION=2.0 followed by a make.

Looks like you are testing the /master branch at this point; /develop has fixes checked into it that have not been promoted yet.  Also, it is important to use MKL or netlib blas as the reference library, because our unit tests expect bit precise ( O ULP ) results and we have had problems with both ACML and Atlas in the past.
Arrayfire has kindly hosted a clBLAS dashboard for develop branch, and we currently have green lights for AMD platforms.

I can confirm that switching from the master branch to the develop branch resolves these issues.


Add drop-down filters to table component

Can we please update the table component to include drop-down select options, similar to what we currently offer in the Angular production version of the Platform?

Based on conversations in a meeting yesterday, we are going to define better this task and decide on the most reasonable timeline

Based on conversations in a meeting yesterday, we are going to define better this task and decide on the most reasonable timeline

Duplicated #1145

Duplicated #1145


Add Code of Conduct file

Description:
Your project repo misses an important point Code of Conduct file which invites unnecessary elements to the project and spoil the environment here. I can make one for you
Checklist:

[ Yes] Contributor in GSSoC-ext
[Yes ] Want to work on it

https://github.com/AlgoGenesis/C/blob/main/CONTRIBUTING.md


What does points_per_group mean？

What does points_per_group mean？

I have the same confusion. After calculation, I think points_per_group is exactly equal to the number of reference_points in the z direction, such as 4 in the BEVFormer paper. Could @DerryHub confirm whether my understanding is correct?
Best,

I have the same confusion. After calculation, I think points_per_group is exactly equal to the number of reference_points in the z direction, such as 4 in the BEVFormer paper. Could @DerryHub confirm whether my understanding is correct? Much Thanks.
Best,

Yes, that's exactly what you said.


ValueError: attempting to read TAttLine object version 2 with a class generated by streamer version 1

I cannot read root files (~13GB) like below (python 2.7.13).
>>> branch = uproot.open("/path/to/mydir/foo.root")["mytree"]['mybranch']
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/path/to/workdir/envname/lib/python2.7/site-packages/uproot/rootio.py", line 219, in __getitem__
    return self.get(name)
  File "/path/to/workdir/envname/lib/python2.7/site-packages/uproot/rootio.py", line 334, in get
    return key.get()
  File "/path/to/workdir/envname/lib/python2.7/site-packages/uproot/rootio.py", line 827, in get
    return self._context.classes[classname].read(self._source, self._cursor.copied(), self._context, self)
  File "/path/to/workdir/envname/lib/python2.7/site-packages/uproot/rootio.py", line 764, in read
    out = cls._readinto(out, source, cursor, context, parent)
  File "<generated from TStreamerInfo 'TTree' at 0x7fe3f7f22390>", line 11, in _readinto
  File "<generated from TStreamerInfo 'TAttLine' at 0x7fe3f7f223d0>", line 9, in _readinto
ValueError: attempting to read TAttLine object version 2 with a class generated by streamer version 1

I don't understand what happens, so any idea?
Best regards

Could I see a copy of this file? It says that the data in the file aren't consistent with the class definitions in the same file.

Incidentally, it has nothing to do with the size of the file. The same would probably be true of an empty TTree, made the same way.
TTree is a subclass of TAttLine, and therefore it has to deserialize TAttLine just to read the header of the TTree.

Hi again! Please let me see an example file, even if it's not one that can be made public in unit tests. I'm working on streamers right now and so now would be a great time to fix this.
I'm thinking it might be that hadd combined two files with different versions of a streamer for TAttLine, so they're both in the streamers table, and I made a class from one and ignored the other. Thus, my class lookup should be by class name and version, rather than just class name, and that will require some thinking that I would not want to do purely theoretically (without an example file).
Thanks!

Thank you.
I surely hadd two files which has same TTree, TBranch. But I cannot understand difference between two files version. These were made by same methods.
Can you acsess CERN-lxplus server (/afs/cern.ch/user/...) ? I can put these root files on lxplus or send link to these root files.
My using verions is below:
python 2.7.13
 pip version 6.0.8

Best regards.

Yes, please put them on lxplus with permissions sick that user pivarski can access them (me). Thanks!

Defualt environment,
$ which hadd
 /usr/bin/hadd  # when this hadd, failure uproot.open

After
$ export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
$ alias setupATLAS='source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh'
$ setupATLAS
$ lsetup root

,
$ which hadd
/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.10.04-x86_64-slc6-gcc62-opt/bin/hadd

For root files hadded after lsetup root, uproot.open is succesfully worked. However, root files made by default hadd, uproot.open is failured.
So I think the cause is hadd version (ROOT5 or ROOT6 ?).
I put root files on "/afs/cern.ch/user/y/yfukuhar/public/test_uproot/".
before_01.root and before_02.root are not hadded files.
hadd_default.root is  made by default hadd:
$ hadd hadd_default.root before_01.root before_02.root # default hadd

For hadd_defalut.root,
branch = uproot.open('~/public/test_uproot/hadd_default.root')['t_tap']['probe_pt']
>>> (some messages)
ValueError: attempting to read TBranchElement object version 9 with a class generated by streamer version 10

hadd_v6.root is  made after lsetup root:
$ hadd hadd_v6.root before_01.root before_02.root # hadd after lsetup root

For hadd_v6.root,
branch = uproot.open('~/public/test_uproot/hadd_v6.root')['t_tap']['probe_pt']
>>> # sucess

Best regards

With that update, I think that uproot will be more useful for me !!!
Thanks:smile:!


Users with formatted vhosts are invisible to the bot's PRIVMSG regex

Sorry about the chat content ;)

As a result, users with formatted vhosts cannot use anything that relies on a PRIVMSG, such as commands.

If you don't have any clue, I guess it's a wontfix...


enhance(amplify-provider-awscloudformation): multiple lambdas per resource

Issue #, if available:
Description of changes:
There may be reasons to have a multiple lambda function resources inside a single function resource. This may be because the function is doing one-off deployment tasks as a custom resource, or handling other processing duties related to the main lambda. For example, one lambda may handle domain logic and handle CRUD for a dynamodb table, another Lambda may do the stream processing of the dynamodb table, and another might setup dynamodb ttl properties, or perform a data migration. At the same time, the details of these functions do not need to be exposed as a top level function and are best served by being encapsulated in another resource. Having the top level resources littered with tiny lambdas can lead to messy code.
This PR changes the push resources code to update all resources in a template that are a lambda and have a Code property. Previously, only the resource named LambdaFunction would have its Code property updated.
Users would not set a Code property in a resource template that they do not expect to have overwritten, but it is technically possible.
There are no better alternatives to handle this use case as the cloudformation provider is in control of the bucket and key names. Users could inline their functions inside the template, but that excludes a lot of nice tooling.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@RossWilliams I tried merging this PR but it caused several failures in our pipeline: https://app.circleci.com/pipelines/github/aws-amplify/amplify-cli/2514/workflows/2982ec79-ca20-4cd4-ac3f-e154f3f8a5e4
I didn't investigate much but it looks like the "Code" property of the lambda resources is not being set correctly in some cases.


Ingestion fastbatch cbp

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
services/friendbot, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.
[ ] I've updated any docs (developer docs, .md
files, etc... affected by this change). Take a look in the docs folder for a given service,
like this one.

Release planning

[ ] I've updated the relevant CHANGELOG (here for Horizon) if
needed with deprecations, added features, breaking changes, and DB schema changes.
[ ] I've decided if this PR requires a new major/minor version according to
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.

What
Use FastBatchInsertBuilder for writing to claimable_balances and claimable_balance_claimants tables.  FastBatchInsertBuilder uses ‘COPY' to insert into the db which is faster than using 'INSERT'.
Why
#5086
Known limitations

@urvisavla , per the branching strategy discussion, you intend to change merge target on this PR to ingestion-next? Wanted to let you know, I have two changes headed into the branch soon:

merge https://github.com/stellar/go/pull/5083, enables fast batch in ingestion.
port latest master onto ingestion-next

after which, if you then merge this PR to ingestion-next, we can then take the branch into some performance testing cycles to see how it's looking with all in, does this sound ok?

@urvisavla , per the branching strategy discussion, you intend to change merge target on this PR to ingestion-next? Wanted to let you know, I have two changes headed into the branch soon:

merge integrating new loaders and builders into processors #5083, enables fast batch in ingestion.
port latest master onto ingestion-next

after which, if you then merge this PR to ingestion-next, we can then take the branch into some performance testing cycles to see how it's looking with all in, does this sound ok?

Thanks @sreuland. Yes, as discussed, I am waiting for #5083 to be merged before I rebase and send this PR for review. I have started reviewing the #5083 and have a few questions that we can discuss tomorrow.
Also, I can port the latest master if you have not already started.


specifying the radius of points

Hi @marcomusy
While generating a network, the radius of the points are specified in the following manner
pts = Points(nxpts, r=12)
I would like to know if this can be modified later on, for instance, while plotting the network.
pts1 = pts.clone().cmap('Blues', values[i], vmin=vmin, vmax=vmax)
plt.show(pts1, edg, txt, box, at=i)

I would like to know if there is a way to change the radii of points in pts1 e.g. from 12 to 1.

yes - you should be able to change it with eg:
pts.pointSize(10)

Thanks so much. This helps. We shall close this issue :)


MINIFICPP-293: Update repos

MINIFICPP-293: Fix some potential issues with decrement. MINIFICPP-295: remove new/delete char buffer
Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with MINIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file?
[ ] If applicable, have you updated the NOTICE file?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

These tickets solve one problem in this ticket and the other mentioned ticket. Can't close the MINIFICPP-293 with this as we haven't proven the issue is solved.


series int function implementation

this lets you convert a one-element series to an int, e.g. import pandas; print(int(pandas.Series(1)))


Add flexibility to projects so that they can be added to the frontend even if they don't have associated data / models

This was done with #698


JAMES-3676 S3 blobStore leaks HTTP connexions when reading streams partially

@chibenwa Is this finished or you want to have more time on this?

@chibenwa Is this finished or you want to have more time on this?

I think it is finished.


Cannot list hosts after upgrade to <IP_ADDRESS>

ISSUE TYPE

Bug Report

COMPONENT NAME
API

CLOUDSTACK VERSION
<IP_ADDRESS>

CONFIGURATION
Cloudstack management server (single node), just upgraded von <IP_ADDRESS> to <IP_ADDRESS>.
OS / ENVIRONMENT
CentOS 6
SUMMARY
After the upgrade, I can no longer list hosts.
STEPS TO REPRODUCE
Click on "Infrastructure", then on "Hosts"
(Or use cloudmonkey, and run "list hosts")
EXPECTED RESULTS
I expect to see a list of hosts (XenServers in my case).
ACTUAL RESULTS
I see only a field "no data to show".
With cloudmonkey, I get an empty response.
Log file:
2019-07-19 17:00:05,674 DEBUG [c.c.a.ApiServlet] (qtp1445157774-109827:ctx-28a7db3d) ===START===  <IP_ADDRESS> -- GET  command=listHosts&type=Routing&zoneid=03058b62-7ec1-40d6-bc3c-77c818bda870&clusterid=d24d9682-7f37-4113-bccf-4ca803cce3b2&page=1&pagesize=20&response=json&_=1563548405631
2019-07-19 17:00:05,676 DEBUG [c.c.a.ApiServer] (qtp1445157774-109827:ctx-28a7db3d ctx-9df7bb4c) CIDRs from which account 'Acct[48ad12e6-68bd-11e4-89ca-5193ece8c729-admin]' is allowed to perform API calls: <IP_ADDRESS>/0,::/0
2019-07-19 17:00:05,679 DEBUG [c.c.a.q.QueryManagerImpl] (qtp1445157774-109827:ctx-28a7db3d ctx-9df7bb4c) >>>Searching for hosts>>>
2019-07-19 17:00:05,682 DEBUG [c.c.a.q.QueryManagerImpl] (qtp1445157774-109827:ctx-28a7db3d ctx-9df7bb4c) >>>Generating Response>>>
2019-07-19 17:00:05,682 DEBUG [c.c.a.ApiServlet] (qtp1445157774-109827:ctx-28a7db3d ctx-9df7bb4c) ===END===  <IP_ADDRESS> -- GET  command=listHosts&type=Routing&zoneid=03058b62-7ec1-40d6-bc3c-77c818bda870&clusterid=d24d9682-7f37-4113-bccf-4ca803cce3b2&page=1&pagesize=20&response=json&_=1563548405631

Looks like a database schema issue: the hosts table contents is there, but SELECT * FROM host_view; gives no result.

After comparing with a working cluster, I found the issue:
The host_view contains lots of LEFT JOINs. After removing the joins on last_annotation_view, I got results.
On both servers, this view is empty, but on the other one, I got results.
Then I noticed that the other server runs MariaDB 10.1.38, while the faulty server runs 10.1.28.
So I upgraded MariaDB, and now it works, so it apparently was a bug in MariaDB.


feat: Add SuccessCondition to HTTP template

Closes https://github.com/argoproj/argo-workflows/issues/7258
Fixes https://github.com/argoproj/argo-workflows/issues/7323

One thought on this. Can we use expr?

We are using expr

Not needed. Phase should never be error. So only pass or fail. So can be bool.

Correct. Error is reserved for actual errors when making requests

A couple of failing tests related to HTTP template.

A couple of failing tests related to HTTP template.

Fixed
@sarabala1979 Could I ask you to review please? This is a large PR that keeps getting hit with conflicts and other PRs depend on this as well

LGTM

LGTM, v3.2.x has the bug which broken me,  @simster7 can we cherry-pick this patch into v3.2.7?


IOS Error

Error output from Xcode build: ↳     objc[88435]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x213ff3678) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10833c2c8). One of the two will be used. Which one is undefined.     objc[88435]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x213ff36c8) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x10833c318). One of the two will be used. Which one is undefined.     ** BUILD FAILED ** Xcode's output: ↳     Writing result bundle at path:     	/var/folders/q1/7mc8hw2532x8q_80f61ln3280000gn/T/flutter_tools.YWA6IZ/flutter_ios_build_temp_dirGHNr8H/temporary_xcresult_bundle /opt/homebrew/Caskroom/flutter/2.8.0/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_apple-9.0.3/ios/Classes/strategies/PhonePermissionStrategy.m:50:35: warning: 'subscriberCellularProvider' is deprecated: first deprecated in iOS 12.0 [-Wdeprecated-declarations]         CTCarrier *carrier = [netInfo subscriberCellularProvider];                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~                                       serviceSubscriberCellularProviders In module 'CoreTelephony' imported from /opt/homebrew/Caskroom/flutter/2.8.0/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_apple-9.0.3/ios/Classes/strategies/PhonePermissionStrategy.m:8:     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTTelephonyNetworkInfo.h:112:50: note: property 'subscriberCellularProvider' is declared deprecated here     @property(readonly, retain, nullable) CTCarrier *subscriberCellularProvider API_DEPRECATED_WITH_REPLACEMENT("serviceSubscriberCellularProviders", ios(4.0, 12.0)) API_UNAVAILABLE(macos);                                                      ^     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTTelephonyNetworkInfo.h:112:50: note: 'subscriberCellularProvider' has been explicitly marked deprecated here     1 warning generated.     1 warning generated.     /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/ios/Pods/WeScan/WeScan/Scan/CameraScannerViewController.swift:14:50: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead     public protocol CameraScannerViewOutputDelegate: class {                                                      ^~~~~                                                      AnyObject     /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/ios/Pods/WeScan/WeScan/Protocols/CaptureDevice.swift:12:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead     protocol CaptureDevice: class {                             ^~~~~                             AnyObject     /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/ios/Pods/WeScan/WeScan/Scan/CameraScannerViewController.swift:14:50: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead     public protocol CameraScannerViewOutputDelegate: class {                                                      ^~~~~                                                      AnyObject     /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/ios/Pods/WeScan/WeScan/Protocols/CaptureDevice.swift:12:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead     protocol CaptureDevice: class {                             ^~~~~                             AnyObject     /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/ios/Pods/WeScan/WeScan/Edit/EditImageViewController.swift:13:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead     public protocol EditImageViewDelegate: class {                                            ^~~~~                                            AnyObject     /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/ios/Pods/WeScan/WeScan/Scan/CameraScannerViewController.swift:14:50: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead     public protocol CameraScannerViewOutputDelegate: class {                                                      ^~~~~                                                      AnyObject     /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/ios/Pods/WeScan/WeScan/Protocols/CaptureDevice.swift:12:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead     protocol CaptureDevice: class {                             ^~~~~                             AnyObject     /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/ios/Pods/WeScan/WeScan/Scan/CameraScannerViewController.swift:14:50: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead     public protocol CameraScannerViewOutputDelegate: class {                                                      ^~~~~                                                      AnyObject     /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/ios/Pods/WeScan/WeScan/Protocols/CaptureDevice.swift:12:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead     protocol CaptureDevice: class {                             ^~~~~                             AnyObject     /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/ios/Pods/WeScan/WeScan/Edit/EditImageViewController.swift:13:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead     public protocol EditImageViewDelegate: class {                                            ^~~~~                                            AnyObject     /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/ios/Pods/WeScan/WeScan/Scan/CameraScannerViewController.swift:14:50: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead     public protocol CameraScannerViewOutputDelegate: class {                                                      ^~~~~                                                      AnyObject     /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/ios/Pods/WeScan/WeScan/Protocols/CaptureDevice.swift:12:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead     protocol CaptureDevice: class {                             ^~~~~                             AnyObject     /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/ios/Pods/WeScan/WeScan/Scan/CameraScannerViewController.swift:14:50: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead     public protocol CameraScannerViewOutputDelegate: class {                                                      ^~~~~                                                      AnyObject     /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/ios/Pods/WeScan/WeScan/Protocols/CaptureDevice.swift:12:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead     protocol CaptureDevice: class {                             ^~~~~                             AnyObject     /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/ios/Pods/WeScan/WeScan/Edit/EditImageViewController.swift:13:40: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead     public protocol EditImageViewDelegate: class {                                            ^~~~~                                            AnyObject     /opt/homebrew/Caskroom/flutter/2.8.0/flutter/.pub-cache/git/flutter_image_editor-84c052b6e1a76e3bea1dc52e6abdd179aa169f6e/ios/Classes/ImageEditorPlugin.m:8:9: fatal error: 'image_editor_dove-Swift.h' file not found     #import "image_editor_dove-Swift.h"             ^~~~~~~~~~~~~~~~~~~~~~~~~~~     1 error generated.     /opt/homebrew/Caskroom/flutter/2.8.0/flutter/.pub-cache/git/flutter_image_editor-84c052b6e1a76e3bea1dc52e6abdd179aa169f6e/ios/Classes/ImageEditorPlugin.m:8:9: fatal error: 'image_editor_dove-Swift.h' file not found     #import "image_editor_dove-Swift.h"             ^~~~~~~~~~~~~~~~~~~~~~~~~~~     1 error generated. Error: Couldn't resolve the package 'image_editor_pro' in 'package:image_editor_pro/image_editor_pro.dart'. : Error: Not found: 'package:image_editor_pro/image_editor_pro.dart' import 'package:image_editor_pro/image_editor_pro.dart';            ^     Unhandled exception: FileSystemException(uri=org-dartlang-untranslatable-uri:package%3Aimage_editor_pro%2Fimage_editor_pro.dart; message=StandardFileSystem only supports file:* and data:* URIs) #0      StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:34:7) #1      asFileUri (package:vm/kernel_front_end.dart:623:37) #2      writeDepfile (package:vm/kernel_front_end.dart:763:21)     <asynchronous suspension> #3      FrontendCompiler.compile (package:frontend_server/frontend_server.dart:586:9)     <asynchronous suspension> #4      starter (package:flutter_frontend_server/server.dart:85:12)     <asynchronous suspension> #5      main (file:///opt/s/w/ir/cache/builder/src/flutter/flutter_frontend_server/bin/starter.dart:13:24)     <asynchronous suspension>     Failed to package /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias.     Command PhaseScriptExecution failed with a nonzero exit code     ld: framework not found image_editor_dove     clang: error: linker command failed with exit code 1 (use -v to see invocation)     rsync: link_stat "/Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/build/ios/Debug-iphonesimulator/App.framework" failed: No such file or directory (2)     rsync error: some files could not be transferred (code 23) at /System/Volumes/Data/SWE/macOS/BuildRoots/533514bb11/Library/Caches/com.apple.xbs/Sources/rsync/rsync-55/rsync/main.c(996) [sender=2.6.9]     rsync: link_stat "/Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/build/ios/Debug-iphonesimulator/App.framework" failed: No such file or directory (2)     rsync error: some files could not be transferred (code 23) at /System/Volumes/Data/SWE/macOS/BuildRoots/533514bb11/Library/Caches/com.apple.xbs/Sources/rsync/rsync-55/rsync/main.c(996) [sender=2.6.9]     Unhandled exception:     Exception: Command "rsync -av --delete --filter - .DS_Store /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/build/ios/Debug-iphonesimulator/App.framework /Users/mehmetkaranlik/Desktop/Repositories/Notititas/notitias/build/ios/Debug-iphonesimulator/Runner.app/Frameworks" exited with code 23 #0      Context.runSync #1      Context.embedFlutterFrameworks #2      Context.run #3      main #4      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:295:32) #5      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)     Command PhaseScriptExecution failed with a nonzero exit code     note: Using new build system     note: Planning     note: Build preparation complete     note: Building targets in dependency order     Result bundle written to path:     	/var/folders/q1/7mc8hw2532x8q_80f61ln3280000gn/T/flutter_tools.YWA6IZ/flutter_ios_build_temp_dirGHNr8H/temporary_xcresult_bundle Lexical or Preprocessor Issue (Xcode): 'image_editor_dove-Swift.h' file not found /opt/homebrew/Caskroom/flutter/2.8.0/flutter/.pub-cache/git/flutter_image_editor-84c052b6e1a76e3bea1dc52e6abdd179aa169f6e/ios/Classes/ImageEditorPlugin.m:7:8 Error (Xcode): Framework not found image_editor_dove Could not build the application for the simulator. Error launching application on iPhone 13 Pro. Exited (sigterm)
No matter what i do i cant pass this error.

https://github.com/bladeofgod/flutter_image_editor/issues/2


Admin dash done with the voyager laravel package

Project dashboard with Voyager Laravel package. This is just the first install with updates on the database tables, roles, and models still to come.

Kindly @BrianTum and @nyakagwafred check on the conflicts and resolve

@Basele  I have reviewed the PR. I can't see any files conflicting with the the DB migrations I did.
@BrianTum can you try and pull from the develop branch first and see if there are any emerging conflicts in these files.
Conflicting files

app/Http/Controllers/HomeController.php
composer.json
composer.lock
database/seeds/RolesTableSeeder.php
database/seeds/UsersTableSeeder.php
package-lock.json
package.json
public/css/app.css
public/js/app.js
resources/views/index.blade.php
routes/web.php


[US] Getting used to Scala and REScala

Estimated story points: 55
(11 * 5)
(note this user story was started before creating this github repository)
Description

all team members get used to Scala and REScala

Acceptance criteria

every team member has a working development environment with Scala and RESscala
every team member has a fundamental understanding of Scala and REScala
the REScala Todolist example runs on every team members computer.

estimated hours: ~10.5 hours

estimated hours: ~11 hours

time: 9h

time: 10h


Error: Cannot find module 'react' in version '^2.0.0-beta.27'

Hi!
I created a new project yesterday using the stable version of next.js. However, I was feeling adventurous and tried upgrading next using the command npm install --save next@beta. Everything went well, except for some unmet peer deps.:
── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>
When I ran npm run dev, Next refuses to start and throws the following error message:
❯ npm run dev

><EMAIL_ADDRESS>dev /Users/vernon/Sites/ecurring-homepage
> next

Error: Cannot find module 'react'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/vernon/Sites/ecurring-homepage/node_modules/next/dist/server/render.js:277:14)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)

The only dependencies that are listed in my package.json are:
  "dependencies": {
    "next": "^2.0.0-beta.27",
    "styled-components": "^1.4.3"
  }

Am I missing something?

Oops, this was supposed to be posted in next.js :/ My bad


Missing powershell

since configMgr 2107 provides choosing the ADR deployment whether required or available
any news for having them using powershell ?
with any of the following command
New-CMAutoDeploymentRuleDeployment
Or
set-CMAutoDeploymentRuleDeployment
thanks

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

ID: 98f176a2-882d-56a5-6976-38d32cded989
Version Independent ID: 15d43302-fe22-f210-dec3-fb104b3af047
Content: Set-CMAutoDeploymentRuleDeployment (ConfigurationManager) - Configuration Manager
Content Source: sccm-ps/ConfigurationManager/Set-CMAutoDeploymentRuleDeployment.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Hi @MohamedAmeen-MSFT, we use the PlatyPS tool to automate most of the PowerShell docs. So what's documented is what's in the module. In other words, if it's not in the module, it's not documented. I suggest filing product feedback to request changes to the cmdlet. For more info, see https://docs.microsoft.com/mem/configmgr/core/understand/product-feedback


Support initializing with Zenoh Runtime

As mentioned here, we should support using Zenoh Runtime to do the construction.

Close #49


Better testing of the Disabled flag.

In #139, a bug was discovered in the Disabled flag. The original sin was that the feature was added hastily without proper testing.
This issue is here just to remind to add proper unit tests for the unit Disabled flag, to see that there are no further lurking bugs in there.
The feature could also be reimplemented in a more future-proof way: just filter out all the disabled units before generating the bytecode so there is no way the disabled units could affect the compile results.

https://github.com/vsariola/sointu/blob/master/vm/delaytable.go#L145-L147
this block seems to crash the tracker now if a track with disabled units is in the cache.

 Also you're always really quick with the maintenance here, which is super cool imo :)

Took me while to figure out how to make the crash, but the immediate fix to the crash & the unit tests should be there.

I didn't do the refactoring to filter out the disabled units, because that would make a slightly unnecessary copy of the synth structure just for that purpose; this is something that happens every time you e.g. move a slider a notch so I'm a bit worried that maybe the amount garbage this creates is not negligible... so I need to test this in real action if there's any effect on performance.


Capturing multiline code chunks

I rely on treesitter functionality to send multiline codechunks into an interactive REPL-window using iron.nvim.
I want to be able to capture semantic blocks, specifically using the function ["af"] =<EMAIL_ADDRESS>(described in this section) and send them to the REPL in one motion, as suggested by the plugin author in an issue I opened on the project's repo.
Sending the code:
add_10 <- function(x){
    x = x + 10
    print(x)
    }

add_10(100)

add_20 <- function(x){
    x = x + 20
    print(x)
    }

add_20(100)

Returns the output:
> function(x){
    x = x + 10
    print(x)
    }
function(x){
    x = x + 10
    print(x)

Not quite what I was expecting. Further calling the following afterwards:
iris |>
    head()

Returns:
>

Nothing. Same with the magrittr-pipe.
This works correctly for Bash and Python, but not for R. I therefore suspect this might be a bug.
I will also admit that my grasp of treesitter is still very limited, so I might be doing someting wrong.
Does anyone have an idea on how to overcome this issue?

FYI, we figured out a way to do this in R.nvim by checking if the surrounding node is either "program" or "brace_list".

FWIW we are planning to merge the next branch into main soon, and we are going to freeze main as something like old-main, so you'll likely have to rework that a little

Thanks for the heads up!


Using a custom middleware instead of the supplied

Is your feature request related to a problem? Please describe.
The default middleware has some limitations to what can be configured. It would be good to have an official way to skip the supplied middleware and write a custom one.
I'm currently on<EMAIL_ADDRESS>and<EMAIL_ADDRESS>when writing this.
Some of the issues i've discovered with the official middleware:

Multi-domain with english on all domains can not use "en" as path prefix. Let's say that we have 2 domains with a total of 4 locales: sv-se, en-se, nb-no and en-no.

example.se/* should be sv-se
example.se/en/* should be en-se
example.no/* should be nb-no
example.no/en/* should be en-no.

Turning off locale redirects. Using the same example as above:

example.se/nb-no/swedish-content should use the sv-se locale and skip redirects. Currently a 301 to example.no/swedish-content will be issued that will result in a 404 after the redirect. This is not optimal as we're telling robots that example.se/nb-no/swedish-content do indeed exist, but then immediately redirect to a 404 page.
example.se/sv-se/invalid-path will also issue a 301 to example.se/invalid-path that will result in a 404 (if prefix is not set to always).

Impossible to set a default locale based on domain for paths inside _next/ as these are not recommended to be handled by the middleware. This is possible using a custom middleware.

There are issues with basePath that the middleware shouldn't have to care for if redirects can be completely disabled.

Describe the solution you'd like
Some official way to set the next-intl locale in a custom middleware. Maybe something like setRequestLocale(request: NextRequest).
If cookies would be set that should be an option as cookies are not always a requirement for the implementation.
Describe alternatives you've considered
I've currently implemented a middleware that works like what i described above. However, the header to set the locale is not exposed so it feels a bit unstable and requires testing for every update.
If anyones interested heres the full middleware (that works with or without basePath set in next.config):
import { NextRequest, NextResponse } from "next/server";

/** The header next-intl uses to determine the current locale. */
const nextIntlLocaleHeaderName = "X-NEXT-INTL-LOCALE";

interface LocaleConfig<T> {
  /** The url prefix to use. */
  prefix: string;
  /** The locale to set based on the prefix. */
  locale: T;
}

interface DomainConfig<T> {
  /** The host of the domain to match. */
  host: string;
  /** Available locales for this domain, excluding the default. */
  locales: LocaleConfig<T>[];
  /** The default locale to use when none of the prefixed locales match. */
  defaultLocale: T;
}

/**
 * Create a middleware to handle i18n rewrites and configure next-intl locale.
 *
 * @param domains The domain configuration. Uses first if none matches.
 */
export function createI18nMiddleware<T extends string>(
  domains: DomainConfig<T>[],
) {
  return function middleware(request: NextRequest) {
    if (!domains.length) {
      throw Error(
        "At least one domain must be specified in the i18n middleware.",
      );
    }

    // Match host against domain configuration
    const host = request.headers.get("host");
    const domain = domains.find((d) => d.host === host) ?? domains[0];

    // Set default domain locale for api and static files
    if (
      /^\/(api\/.+|_next\/.+|icon.png|robots.txt)$/.test(
        request.nextUrl.pathname,
      )
    ) {
      request.headers.set(nextIntlLocaleHeaderName, domain.defaultLocale);
      return NextResponse.next({ request });
    }

    // Check if we can find a locale in the url based on the prefix
    const locale = domain.locales.find(
      (l) =>
        request.nextUrl.pathname === `/${l.prefix}` ||
        request.nextUrl.pathname.startsWith(`/${l.prefix}/`),
    );

    request.headers.set(
      nextIntlLocaleHeaderName,
      locale?.locale ?? domain.defaultLocale,
    );

    const url = request.nextUrl.clone();
    if (locale) {
      // Remove our prefix from the path and add the full locale.
      const path = url.pathname.substring(locale.prefix.length + 1);

      url.pathname = `/${locale.locale}${path}`;
    } else {
      // Add default locale as we have no prefix in the url.
      url.pathname = `/${domain.defaultLocale}${url.pathname}`;
    }

    return NextResponse.rewrite(url, { request });
  };
}

Usage:
import { createI18nMiddleware } from "@/i18n/middleware";
import type { NextRequest } from "next/server";

type Locale = "sv-se" | "en-se" | "nb-no" | "en-no" | "fi-fi" | "sv-fi" | "en-fi";

const i18nMiddleware = createI18nMiddleware<Locale>([
  {
    host: "example.se",
    locales: [{ prefix: "en", locale: "en-se" }],
    defaultLocale: "sv-se",
  },
  {
    host: "example.no",
    locales: [{ prefix: "en", locale: "en-no" }],
    defaultLocale: "nb-no",
  },
  {
    host: "example.fi",
    locales: [{ prefix: "sv", locale: "sv-fi" }, { prefix: "en", locale: "en-fi" }],
    defaultLocale: "fi-fi",
  },
]);

export function middleware(request: NextRequest) {
  return i18nMiddleware(request);
}

This will totally break the next-intl <Link> component. I've created a custom Link component that creates absolute url's including the domain for locales not included in the current domain. But that's a different feature request :)
Many thanks for a great library!

Thank you very much for this detailed feature request!
I agree there's a piece missing here currently. I've opened https://github.com/amannn/next-intl/issues/653 to collect this issue together with similar ones, also to share solutions that can be used today.

If cookies would be set that should be an option as cookies are not always a requirement for the implementation.

That's a good point. I've addressed this in https://github.com/amannn/next-intl/pull/654.

I've currently implemented a middleware that works like what i described above. However, the header to set the locale is not exposed so it feels a bit unstable and requires testing for every update.

The header will definitely remain there for at least the 3.x version range. If anything changes in regard to it, this will be announced as part of a major version.

@cbodin I've updated https://github.com/amannn/next-intl/issues/653 with a proposal that I think could support your use case. Let me know in the linked issue in case you have feedback or a better idea in mind!

I'll close this now in favor of #653. This issue is mentioned there and will be taken care of.


Handle decimal to decimal cast overflow condition

It looks like there's a conflict with trunk, could you please rebase?

I have the internal tests all passing except for the issue I highlighted above.
Also it looks like there are a couple unresolved comments still from others
"add test for null on failure."
"Can you also try for min() ?"
If you can help address these I can land this PR.


Fix isatty build error with Embarcadero C++ Builder.

Resolves upstream issue #10.

Thank you @BrendanSimon