Redirects global lovely

What's this PR do?

Exports new regional admin permissions to edit any campaign content and static content
Redirects users to the proper translation page if the node source language does not match the user language

Where should the reviewer start?
dosomething_campaign.module -- campaign_init()
How should this be manually tested?

Create a new campaign
Under a new account with a different language, edit the campaign.
It should redirect you to a url containing /add//
Save the campaign
Hit 'Edit' again
It should redirect you to a url ending with your user language

Any background context you want to provide?
Multiple hooks were tried and discussed in #global but in the end we decided to go with hook_init()
Relevant tickets
Fixes #5020
@angaither

Solid branch name. :trophy:

credit goes to @angaither

@angaither I think its ready

:+1:


BUG - Settings Mode: multiple Elements selection / editing Elements

Does the issue occur in the electron-app or the web-app?

[ ] midi-bricks-electron
[ ] midi-bricks-web-app
[x] both

Can you determine, which version was used?
Version: 1.3.27
Describe the bug
When editing settings of Elements in the Settings Mode, clicking on an Element selects it. When trying to edit another Element, it gets multiple-selected with the previous one - which makes editing impossible without killing settings of the previously edited Element. Also it's not possible to de-select Elements.
The only way to work around, is to leave Settings Mode after every setting. That's not logical and will drive users mad.
ideas, options

apply selection of Elements only in a dedicated "select" or "copy & paste" mode
establish de-selection of Elements

As clarified, I will investigate for a mutli copy mode, which will be separated from the settings mode changes.


CDNJS: Animation uses $.fn.load, which throws an error

Version: 0.0.9 (latest on CDNJS)
When I tried to make a simple animation, my browser threw an error. After further inspection, the code uses $.fn.load rather than onLoad, which confuses jQuery.

try v1.0.8

Is there a CDN for 1.0.8?


Incorrect use of ParentDataWidget.

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

Hi @surajongithub,
When filing an issue, please provide some or all information mentioned in the issue template, so that it'll help us to identify / analyse the issue properly.

issue template
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
- https://flutter.dev/
- https://api.flutter.dev/
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent

If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill our the template below. Please read
our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports

Steps to Reproduce

Please tell us exactly how to reproduce the problem you are running into.

Please attach a small application (ideally just one main.dart file) that
reproduces the problem. You could use https://gist.github.com/ for this.

If the problem is with your application's rendering, then please attach
a screenshot and explain what the problem is.

1. ...
2. ...
3. ...

Please tell us which target platform(s) the problem occurs (Android / iOS / Web / macOS / Linux / Windows)
Which target OS version, for Web, browser, is the test system running?
Does the problem occur on emulator/simulator as well as on physical devices?

Target Platform:
Target OS version/browser:
Devices:

Run your application with `flutter run --verbose` and attach all the
log output below between the lines with the backticks. If there is an
exception, please see if the error message includes enough information
to explain how to solve the issue.

Run `flutter analyze` and attach any output of that command below.
If there are any analysis errors, try resolving them before filing this issue.

Finally, paste the output of running `flutter doctor -v` here.

Closing, as no information is provided in this ticket.


Remove static linking from Unity integration guide

Closes https://adjustcom.atlassian.net/browse/ADAPP-18837

[x] Removes that static linking instructions as this is no longer necessary as of 5.0.4 in Unity
[x] Updates the version badges to support links out to release notes

@uerceg Could you give this a quick look over when you have a chance?
https://dev-docs-git-adapp-18837-update-unity-in-ad2053-product-content.vercel.app/en/sdk/unity


Rename variables  which hide the field declared and remove unused private fields

This pull request is focused on resolving occurrences of Sonar rule squid:HiddenFieldCheck - “ Local variables should not shadow class fields”. and Sonar rule squid:S1068 - "Unused private fields should be removed"
You can find more information about the issues here:
https://dev.eclipse.org/sonar/rules/show/squid:HiddenFieldCheck
https://dev.eclipse.org/sonar/rules/show/squid:S1068
Please let me know if you have any questions.
Ayman Abdelghany.

OK, merged.


Proxy status reports proxy version incorrectly

As you can see the proxy is on 1.0.3
❯ kn logs ingress-nginx-external-controller-5878b8df7c-rc7bp --follow istio-proxy
2018-10-29T10:42:28.130078Z     info    Version<EMAIL_ADDRESS>
proxy-status says otherwise:
❯ istioctl proxy-status
PROXY                                                                      CDS        LDS        EDS               RDS        PILOT                            VERSION
ingress-nginx-external-controller-5878b8df7c-rc7bp.ingress-nginx           SYNCED     SYNCED     SYNCED (100%)     SYNCED     istio-pilot-55c5b77c8b-tmnks     1.0.2

Hi all
This is still a problem in 1.0.4, and kind of annoying when you're trying to do a cluster upgrade and check all the sidecars are OK.

And still a problem in 1.0.5!

This is still a problem in 1.1.1, apparently.
inspecting pod:
image: docker.io/istio/proxyv2:1.1.1
istioctl proxy-status:
NAME                                                   CDS        LDS        EDS               RDS          PILOT                            VERSION
web-7b6d4ffd59-5x5lm.foo-bar                SYNCED     SYNCED     SYNCED (100%)     SYNCED       istio-pilot-5996947b5f-f86dk     1.1.0

istioctl proxy-config bootstrap:
{
    "bootstrap": {
        "node": {
            "metadata": {
                    "ISTIO_PROXY_VERSION": "1.1.0",
                    "ISTIO_VERSION": "1.1.1",

I think this is tied to the fact that the ISTIO_META_ISTIO_PROXY_VERSION is not equal to the actual proxy version, and only gets bumped when the capabilities need to change. This is essentially hardcodeded into the proxy image (unless you override it, which might break things).
The value was changed for 1.1.0 and previously for 1.0.2, hence the examples @Stono posted.
https://github.com/istio/istio/blob/d76cc6f9e3e635050d1f19c8e1acac86c21ee502/pilot/docker/Dockerfile.proxyv2#L13-L14
Unless I'm missing something there are 2 options to solve this:

Bump this value in the images for each build (This might break things? Perhaps @costinm can comment)
Rework the proxy-status flow to pull the version from something else.

@dwradcliffe Simple solution would be to just set the ENV correctly in the deployment manifests.

I've been running a set of proxies with the ENV set to 1.1.1 and it seems to be working fine. I also took a quick look at the code and I think the only thing using the value is the check to see if it's > "1.1". That is definitely the simplest solution.

We have upgraded from Istio 1.1.3 to 1.1.4
But even after restarting pods, istioctl proxy-status shows version 1.1.3.
When I check the pods with k get pods <pod_name> -o yaml we can see that istio-proxy image tag is 1.1.4.

ref: https://github.com/istio/istio/pull/8252


submit koji builds and bodhi updates only for our own actions

TODO:

[x] Write new tests or update the old ones to cover new functionality.
[x] CI green (testing it out now)
[x] Drop the bodhi commit that is not needed
[x] Update release notes
[x] Update or write new documentation in packit/packit.dev. https://github.com/packit/packit.dev/pull/455

Packit should only submit production koji builds for its own dist-git commits.
This plays nicely with the provenpackager workflow: their changes are not being
acted upon so they can safely build in sidetags or kick off builds as they
need.
This PR implements the first solution so the provenpackager workflow is possible. We should then continue with an actual allowlist.
Related: https://github.com/packit/packit-service/issues/1490

RELEASE NOTES BEGIN
Packit now builds only its own dist-git commits. Other commits are not being acted upon. For more info see https://github.com/packit/packit-service/issues/1490
RELEASE NOTES END

uhhh, I thought it would be merged already so I can play with it after meetings
nope

regate


Add lib/ to path searched by find_module_setup_dir; move basic logic gates to lib/

The examples directory is not installed with pip.
This PR creates a lib directory that is installed with pip and thus, usable anywhere.
The modules present in lib can be used directly with py2hwsw <module name> setup or as a submodule.
The purpose of the new lib directory is slightly different from that of the examples.
Should the whole examples folder be moved to lib or should both be kept?

do not forget to delete them in iob-soc/lib

and to update the py2 hash in iob-soc


an error of  trt.utils.uff_to_trt_engine()

I got a error when I transfer a tensorflow model to TensorRT, The flowing is my error info:
Traceback (most recent call last):
File "pnet_to_rt.py", line 116, in
main()
File "pnet_to_rt.py", line 102, in main
engine = trt.utils.uff_to_trt_engine(G_LOGGER, uff_model,parser,MAX_BATCHSIZE,MAX_WORKSPACE)
File "/export/home/aiusr/fujingling/env/img/lib/python2.7/site-packages/tensorrt/utils/_utils.py", line 175, in uff_to_trt_engine
if datatype == infer.DataType.HALF and not builder.platform_has_fast_fp16():
TypeError: Not a tuple or list
The Flowing is my register_input,my Tensorflow model has 3 Placeholder,so I have to set 3 register_input.
parser.register_input("input_image", (3, 196, 240), 0)
parser.register_input("image_width", (1), 1)
parser.register_input("image_height", (1),2)
who knows how can I solve this problem?

Sorry, you would have to ask the TensorRT developers. Try the NVIDIA devtalk forum.
https://devtalk.nvidia.com/


[QT] Feature request: Add a form dialog for importing private keys

Rationale
Sometimes, shibes have a private key from elsewhere – like a paper wallet or from another wallet software – that they want to import into their Dogecoin Core QT wallet to move coin. Although the standard and recommended method is to “sweep” the contents linked to a key into a new address, some use-cases require more fine-grained control; for example, when there are too many utxo to consider for a single transaction. Currently the only way to perform this operation within QT is in the RPC Console. This issue requests a feature to perform this from a dialog.
Requested functionality

Add a File -> Import Private Key menu item
Create a form dialog that takes a WIF-formatted private key and optionally a label
Validate the WIF
Specify whether we need the wallet to rescan the local chain
Make sure that the WIF or parsed keys do not remain cached in memory longer than required; wipe the data from memory.
Add a warning about change address behavior, as any transaction sent from Core will by default create a new change address and sends any change there (so new keys will be created)

✅ Thank you @chromatic!
Merged into 1.14.4-dev with #1856, added to #1998 for 1.21 integration tracking.


Discuss if aligning the purge code for all resources applying soft deletion

Description
Today's approach to purge resources applying soft deletion differs. Currently:

Key vault: PS cmdlets
Cognitive services: PS cmdlets
API management: REST API
RSV VM backup: PS cmdlets

API management purge is only feasible through REST API. Ref here
Discuss if aligning also other resources to leverage the same approach. e.g. for key vault (tested)
'Microsoft.KeyVault/vaults' {
            $subscriptionId = $resourceId.Split('/')[2]
            $resourceName = Split-Path $ResourceId -Leaf

            # Fetch service in soft-delete
            $getPath = '/subscriptions/{0}/providers/Microsoft.KeyVault/deletedVaults?api-version=2019-09-01' -f $subscriptionId
            $getRequestInputObject = @{
                Method = 'GET'
                Path   = $getPath
            }
            $softDeletedService = ((Invoke-AzRestMethod @getRequestInputObject).Content | ConvertFrom-Json).value | Where-Object { $_.properties.vaultId -eq $resourceId }
            if ($softDeletedService) {
                # Purge service
                $purgePath = '/subscriptions/{0}/providers/Microsoft.KeyVault/locations/{1}/deletedVaults/{2}/purge?api-version=2019-09-01' -f $subscriptionId, $softDeletedService.properties.location, $resourceName
                $purgeRequestInputObject = @{
                    Method = 'POST'
                    Path   = $purgePath
                }
                if ($PSCmdlet.ShouldProcess(('API management service with ID [{0}]' -f $softDeletedService.properties.serviceId), 'Purge')) {
                    $null = Invoke-AzRestMethod @purgeRequestInputObject
                }
            }
        }

Personally I'd prefer Powershell as it is much easier than REST. However, as the this is already the status quo, the issue apparently rather asks to change it all to REST.
I updated now KVLT & CogntiveServices - but RSV will become a lot more complicates as it also requires a lot more individual REST calls. Are we really sure we want this?

I think the intention of the issue is discussing, not implementing. Personally I think that we should consider this only if it leads to cleaner code and improved maintainability. If not, I agree we should skip it.

Reference for KVLT & Cognitive Services: https://github.com/Azure/ResourceModules/compare/main...users/alsehr/813_alignPurge

Unfortunately there is no "one size fits all". Sometimes PS is needed, in other cases Rest API calls. Team decides, it stays as is.


[PE-D][Tester C] Filter images not loading properly on windows

Labels: type.DocumentationBug severity.Low
original: alson001/ped#8

Documentation bug, fixed in 1.4


Catch error from Service

Example: create user but email is exists.
POST /api/user - - ms - -


⚠ Samsung has degraded performance

In 8a50821, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2385 ms

Resolved: Samsung performance has improved in f3aec94.


oneDNN: 2.0 -> 2.1

Motivation for this change
Changelog:
https://github.com/oneapi-src/oneDNN/releases/tag/v2.1
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 113488 run on x86_64-linux 1

1 package built:

oneDNN

Testing another alpha feature:
oneDNN: Ask if ouput path lib (46.2M) could be split with outputs = [ ... "lib" ];

Testing another alpha feature:
oneDNN: Ask if ouput path lib (46.2M) could be split with outputs = [ ... "lib" ];

Not sure I follow, this derivation already uses split outputs.

Right. I think the check requires more work.


Dir.glob should be able receive a flag for finding dirs starting with a dot

Dir[] glob receives a flag for finding dirs starting with a dot.
Example:
If '/one/.dotdir/three.rb' exists
Dir.glob(['/one/**/*'], File::FNM_DOTMATCH).should == ['/one/.dotdir/three.rb']

This is still broken


TLS certificate generation mix the CN and SANs

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
I've observed a bug during the letsencrypt certificate generation.
Given the following endpoint config, defining the main and sans for a letsencrypt wildcard certificate.
The certresolver use the DNS challenge (as the goal is to get wildcard certificate). I won't go in more details about the certResolver and the rest of the config, as no problem on those sides.
entryPoints:
  websecure:
    address: "<IP_ADDRESS>:443"
    proxyProtocol:
      trustedips:
        - "<IP_ADDRESS>/32"
    forwardedHeaders:
      trustedIPs:
        - "<IP_ADDRESS>/32"
    http:
      tls:
        certresolver: myle
        domains:
          - main: "eu.mydomain.com"
            sans:
              - "*.eu.mydomain.com"
              - "*.archive.eu.mydomain.com"
              - "*.test.eu.mydomain.com"

I was expecting a certificate generated containing
...
Subject: CN = eu.mydomain.com
...
X509v3 Subject Alternative Name:
                DNS:*.eu.mydomain.com, DNS:*.archive.eu.mydomain.com, DNS:*.test.eu.mydomain.com
...

What did you see instead?
Instead of the expected CN and SANs, in the generated certificate I have
...
Subject: CN = *.archive.eu.mydomain.com
...
X509v3 Subject Alternative Name:
                DNS:*.archive.eu.mydomain.com, DNS:*.eu.mydomain.com, DNS:*.test.eu.mydomain.com, DNS:eu.mydomain.com
...

Confirmed by the content of the acme.json
"domain": {
    "main": "*.archive.eu.mydomain.com",
    "sans": [
        "*.eu.mydomain.com",
        "*.test.eu.mydomain.com",
        "eu.mydomain.com"
    ]
}

I tried swapping the main and sans, changing the sans order, in the config, the result is always the same.
It looks like the CN and SANs are just sorted as a unique list of string, the first element used as the CN and all the others used as SANs.
Of course as all the requested names (CN and SANs) are present in the certificate it do the job, but to be strict the generated certificate has not the asked CN, and that's bad (IMO).
What version of Traefik are you using?
binary distribution, running on Debian12.5 amd64
# /usr/local/bin/traefik version
Version:      2.11.0
Codename:     cheddar
Go version:   go1.22.0
Built:        2024-02-12T15:26:45Z
OS/Arch:      linux/amd64

What is your environment & configuration?
not relevant
If applicable, please paste the log output in DEBUG level
No response

Hello @ocanam,
Thanks for your interest in Traefik!
This behavior is expected. Letsencrypt server is doing some transformations and the CN and SANs in the resulting certificate could be re-ordered (please check out this thread).
This has no impact on the validity of the certificate for the requested CN and SANs.
I'm closing this issue as a question accordingly, but feel free to ask for reopening if you think we missed something.


[mosquitto] add Prometheus Exporter as Sidecar Container

Signed-off-by: nolte<EMAIL_ADDRESS>Special notes for your reviewer:
#100 as optional Sidecar implementation and, support for create a PodMonitor.
Checklist

[x] Chart Version bumped
~- [ ] Variables are documented in the README.md~
[x] Title of the PR starts with chart name (e.g. [radarr])

Great work @nolte /LGTM


Any update on visual interface？

I found such an automated recon framework, it also has a graphical interface, which is very convenient for viewing the scan results
https://github.com/r3curs1v3-pr0xy/vajra/

We are mainly focused on offering the best recognition tool and I think we are on the right track. A visual interface is a great addition, but not the main task, and at the moment there are only a few active contributors.

Yes, that’s great. I have used and compared several similar frameworks. and Reconftw is the best. I’m happy to join if I need any help.


PSDSCRunasCredentials implementation

Hi everyone,
I am trying to get DSC to work in an environment, where only the HTTPS endpoint is available. I am using the SPFarm resource for the testing. If I run the resource with the parameter InstallAccount, then it work, however with PSDSCRunasCredentials, I am getting access denied. (SharePoint 2019, Windows Server 2019)
I am creating a CIMSession, for the start-dscconfiguration cmdlet, if you were wondering.
I tried with all kinds of authentication for the CIMSession, but it does not change a thing. I need to understand how is  PSDSCRunasCredentials working. Is there any place I can see it? (could not find it in the SharePointDSC modules)

Hi @vshupak, not sure why there is a difference between using InstallAccount and PSDscRunAsCredential.
The InstallAccount parameter we had to implement for PowerShell v4 because that ran the LCM as the System account by default and there was no way to change that. With the InstallAccount parameter DSC is using the System account to run the LCM on the target server under and then SharePointDsc uses PowerShell Remoting and CredSSP to have the target server to connect to itself as the desired user (and escape out of the System context).
PowerShell v5 intoduced the PSDscRunAsCredential parameter, which is a PowerShell DSC generic parameter. That is why you can't find any implementation in SharePointDsc. With this parameter, DSC is using the specified account to run the LCM on the target server under. So we don't have to escape the System context there.
Can you share the cmdlets you are running and the error messages you are getting?

Hi @vshupak, not sure why there is a difference between using InstallAccount and PSDscRunAsCredential.
The InstallAccount parameter we had to implement for PowerShell v4 because that ran the LCM as the System account by default and there was no way to change that. With the InstallAccount parameter DSC is using the System account to run the LCM on the target server under and then SharePointDsc uses PowerShell Remoting and CredSSP to have the target server to connect to itself as the desired user (and escape out of the System context).
PowerShell v5 intoduced the PSDscRunAsCredential parameter, which is a PowerShell DSC generic parameter. That is why you can't find any implementation in SharePointDsc. With this parameter, DSC is using the specified account to run the LCM on the target server under. So we don't have to escape the System context there.
Can you share the cmdlets you are running and the error messages you are getting?

Hi @ykuijs !
From what I can see, due to some special security hardening, it is not working. Even if it is a PowerShell DSC generic parameter, do you know how it is running? is it a start-process or how does it actually work?
For example the simple installation process for the sample config (shortened) fails with access denied:
`        File SharePointBinaries
{
Ensure = "Present"
Type = "Directory"
DestinationPath = “Destination Path”
SourcePath = “Source Path”
Recurse = $true
Checksum = "modifiedDate"
PsDscRunAsCredential = $node.installAccount
}
Start-DscConfiguration -Path Prerequisites -Wait -Force -Verbose -ErrorAction Stop -CimSession $session
`
The error itself is like this:

VERBOSE: [ServerName]: LCM:  [ End    Test     ]  [[SPInstall]InstallSharePoint]  in 2.1280 seconds.
Connecting to remote server localhost failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1

Start-DscConfiguration -CimSession $session -Path NodeConfiguration - ...

  + CategoryInfo          : OpenError: (:) [], CimException
  + FullyQualifiedErrorId : RemoteRunspaceCreationFailed
  + PSComputerName        : server.domain.com

Hi @ykuijs !
From what I can see, due to some special security hardening, it is not working. Even if it is a PowerShell DSC generic parameter, do you know how it is running? is it a start-process or how does it actually work?
For example the simple installation process for the sample config (shortened) fails with access denied:
`        File SharePointBinaries
{
Ensure = "Present"
Type = "Directory"
DestinationPath = “Destination Path”
SourcePath = “Source Path”
Recurse = $true
Checksum = "modifiedDate"
PsDscRunAsCredential = $node.installAccount
}
Start-DscConfiguration -Path Prerequisites -Wait -Force -Verbose -ErrorAction Stop -CimSession $session
`
The error itself is like this:

VERBOSE: [ServerName]: LCM:  [ End    Test     ]  [[SPInstall]InstallSharePoint]  in 2.1280 seconds.
Connecting to remote server localhost failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1

Start-DscConfiguration -CimSession $session -Path NodeConfiguration - ...

  + CategoryInfo          : OpenError: (:) [], CimException
  + FullyQualifiedErrorId : RemoteRunspaceCreationFailed
  + PSComputerName        : server.domain.com

Perfect, just checking ;-)
I will see if I can reproduce the issue on my environment.

Perfect, just checking ;-)
I will see if I can reproduce the issue on my environment.

@vshupak I was able to reproduce the issue. Now investigating the root cause

Looks like this isn't specific to SharePointDsc. Found this issue in dsccommunity/ActiveDirectoryDsc#128 which is describing the same issue.

@ykuijs, well that is bad news for me I guess... :/ since it was not fixed since 2016, when it appeared in the backlog.
Does this mean that all datacenters, including Microsoft's are just using the HTTP listener? Maybe there is a solution out there...

Even though PowerShell is using an HTTP listener, this does not mean the traffic send across that connection is unencrypted. PowerShell itself encrypts all the commands before sending it to the remote server via HTTP. If you configure HTTPS, you basically add an extra encryption layer on top of the default PowerShell encryption.
Quote:

Encryption and transport protocols
It is helpful to consider the security of a PowerShell Remoting connection from two perspectives: initial authentication, and ongoing communication. Regardless of the transport protocol used (HTTP or HTTPS), WinRM always encrypts all PowerShell remoting communication after initial authentication.

Source: https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/winrmsecurity#encryption-and-transport-protocols

Even though PowerShell is using an HTTP listener, this does not mean the traffic send across that connection is unencrypted. PowerShell itself encrypts all the commands before sending it to the remote server via HTTP. If you configure HTTPS, you basically add an extra encryption layer on top of the default PowerShell encryption.
Quote:

Encryption and transport protocols
It is helpful to consider the security of a PowerShell Remoting connection from two perspectives: initial authentication, and ongoing communication. Regardless of the transport protocol used (HTTP or HTTPS), WinRM always encrypts all PowerShell remoting communication after initial authentication.

Source: https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/winrmsecurity#encryption-and-transport-protocols

Yes, that is correct and indeed valid, however it is a mandatory security hardening guideline for my client to only have the HTTPS listener. I still think it could be resolved by granting some permissions somewhere. Maybe local system needs some privileges? I checked with procmon, but strangely find no access denied entries....

Hi @vshupak I have discussed this issue with some others in the DSC Community and it looks like nobody has a solution at the moment. One suggested to allow HTTP listeners and block traffic to that port from the outside via the firewall. That way the HTTP listener is only available for the server itself. This does mean you need to use a pull scenario.
Another option would be to create a support case to have this investigated by the PowerShell Product Group. They can tell you if it is supported (and if so how to do it) or not. Would this be a possibility for you?

Did some further testing:
You mentioned that the built-in File resource worked as expected and I was able to confirm this. The File resource is a binary resource.
The built-in Archive resource has the same Access Denied issue. That resource is a PowerShell resource like the SharePointDsc resources.
So it looks like the issue occurs with all PowerShell resources.

We opened a case with Microsoft to investigate this issue.

The support case revealed that DSC tries to connect to the localhost over HTTP. Since the HTTP listener was removed, this did not work.
A workaround is not delete the HTTP listener, but add a firewall rule to block external traffic to port 5985. That way DSC is still able to use the HTTP listener without allowing others to use the HTTP protocol.
NOTE: As mentioned earlier: PowerShell Remoting already encrypts the traffic by default. So if you want traffic to be encrypted, that is already the case and there is no specific need to switch to an HTTPS listener.
Closing this issue, since we can't fix this issue in SharePointDsc


[core] Get rid of the all the propTypes in production

TL;DR
This new babel plugin is wrapping all the propTypes definitions around the following block:
process.env.NODE_ENV !== "production"

Expect a 20%+ size reduction win in production 🎈 .
That's exactly how React is allowing users to remove some part of the lib not needed in production.
E.g. with the AppBar:
process.env.NODE_ENV !== "production" ? AppBar.propTypes = {
  /**
   * Can be used to render a tab inside an app bar for instance.
   */
  children: _react.PropTypes.node,
  /**
   * Applied to the app bar's root element.
   */
  className: _react.PropTypes.string,

...

P.S:

That's a breaking change for anyone using those propTypes in production. However, that's considered as a bad practice. React is know displaying a warning when you try to do so.
I had an issue with the plugin, where using

export default class AppBar extends Component {

didn't work. I'm on it. The good part is that it's a hard break and it's making us more consistent 😁 .

Would be good to be cautious with this change. We could release an alpha version, just to make sure it's working fine.

@oliviertassinari why alpha not rc if its just to make sure its working fine?

A release candidate sounds enough :+1:.


Chrome styling

Ugly scrollbar with colorscheme=dark

Hints:
start chromium with chromium --force-dark-mode

closed by 13e69fc7f45bb8084fe466b5f7e9b144af4ac917


Corrected guilds.get

Changed this.client.guilds.get to this.client.guilds.cache.get

I've fixed this in the development branch to support both v11 and v12.


Update GoogleAuthenticatorAuthenticationHandler.java

Issue #2719

Thanks for the change. Reminder that you should remove the "template" from the PR body before adding comments. Just a nice-to-have :) as all that content gets sent to folk's emails and makes  it harder to focus on the "actual" description of the PR.


Check if a request being created does not already exist; Reverts back to main page

Upon hitting "no" button, return to request instead of main page. The point of this is because if someone goes to hit "created" but hasn't yet created the account, they are going to want to return to the request to create the account. Or if it was an accidental click and they meant to close as something else, they'll still want to return to the request.
Relevant code

This isn't a very serious issue, so I'd aim for resolving this in newinternal.  Ping #232.

Fixed in #232


Add example for a transparent main window

At your request: the transparent window example.

Just one nit and we're good to go! Thanks a lot! :)

@EPashkin: Should we make it point to pending or not? Since we didn't commit anything yet in the crates...

Yes, new demos accepted only for pending branch

Main problem that this PR need be based on gtk-rs:pending instead gtk-rs:master.
IMHO better do it on Github first (Edit button near title), next rebase and squash changes to pending branch.

Pff, done with it. I'll create a clean request. It cannot be that hard to add one example file.


Parse JSON data in POST requests.

Sinatra supports only application/x-www-form-urlencoded payloads in
POST request by default. The crowbar-ui sends requests in JSON format
which needs some additional preprocessing for proper handling.

 (3) S50P13 #14 Create/Connect Crowbar DB: Service Integration


Fix display name (and slug?) of Aerobellum

This edit also changes the slug. I'm guessing https://github.com/MCResourcePile/overcast-maps/tree/master/maps/arobellum 's folder name also needs to be changed, but I lack the knowledge in how to do so.

Hey, I totally missed this! Thanks for the pull request, I'll go along and update the map folder's name alongside with your changes


A proper home page and a better documentation portal

As we're inching closer to the release of RuboCop 1.0 I was wondering if it makes sense to invest in a proper home page and a better documentation portal.
RuboCop used to have a homepage, but we forgot about it as some point (http://rubocop-hq.github.io/rubocop/). It was pretty basic, though, and there was a lot of room for improvement.
Our current docs site is powered by RTD, which is quite limiting in many ways (mostly stemming from the use of Markdown, which is poorly suited for complex technical documentation). I'd say that our documentation doesn't reflect well on the project, but I don't enjoy working with RTD much and have struggled to find motivation to improve the docs, because of this.
Recently I replaced the home page and the docs portal of my other more prominent project (CIDER) with https://cider.mx and https://docs.cider.mx and I wonder if it makes sense to do something similar for RuboCop as well. I guess that's mostly a question for @rubocop-hq/rubocop-core, but everyone's welcome to share their perspective.

Seems there are no objections to doing this and I can tackle at some point the manual conversion itself, which should pretty straightforward. The only thing that will required a bit of work is the landing page and the generator for the cop docs.

Seems like some work has been done on this lately :) Looks good but I have some feedback about the Contents sidebar - should I open another issue or is this the right place to discuss it?

I was looking for this ticket the other day, but I couldn't find it. 😆

Seems like some work has been done on this lately :)

Yeah, I finally replaced the old docs site a couple of days ago.

Looks good but I have some feedback about the Contents sidebar - should I open another issue or is this the right place to discuss it?

I think it'd be best to file a separate issue.


Roll Flutter Engine from ea848c3b2443 to 285b9fb287a3 (3 revisions)

https://github.com/flutter/engine/compare/ea848c3b2443...285b9fb287a3
2024-03-13<EMAIL_ADDRESS>Copy the flutter_gpu package into the engine artifacts. (flutter/engine#51365)
2024-03-13<EMAIL_ADDRESS>[Impeller] Make masks type safe. (flutter/engine#51369)
2024-03-12<EMAIL_ADDRESS>Remove early Flutter GPU prototype from ui/experiments. (flutter/engine#51367)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


[FR]: nowrap image type

Contact Details
<EMAIL_ADDRESS>Present your request
Hello, Is there a way to import multi image in a nowrap style like notion:

Now, it looks like this and kills the beauty of the whole table:

Thanks for this wonderful plugin! It's very nice and helpful!
For which platform do you request this request??
Desktop

I will add this to the roadmap, its an useful option =) thanks for your idea

Commit da0e9ac8


Chain invocation executed before express middleware executed

https://github.com/kambojajs/kamboja/blob/d053366d973360cdcfc8499e4b30b71deafe95f5/packages/kamboja-express/src/express-middleware-adapter.ts#L8

fixed https://github.com/kambojajs/kamboja/blob/096dcd5c7c8cbe39a36f83f22edb27768598d4bd/packages/kamboja-express/src/express-middleware-adapter.ts#L8


Move cfg_env and block_env configuration from PayloadBuilderAttributes into PayloadBuilder

This PR moves the configuration environment and block environment setup from PayloadBuilderAttributes out into their respective payload builders.
Context
Both OptimismPayloadBuilder and EthereumPayloadBuilder have an evm_config that defines a fill_cfg_and_block_env that we can use to populate.
This closes https://github.com/paradigmxyz/reth/issues/10446 which has additional context.

@mattsse @onbjerg I can't seem to add reviewers as this was converted from a draft but PTAL.
I am still fixing imports etc due to /crates/optimism/ not importing correctly into my VSCode but I will fix that in parallel as this gets reviewed.

Hey @mattsse @onbjerg one thing I'd love some guidance on is now that initialized_block_env and initialized_cfg have been removed from PayloadConfig https://github.com/paradigmxyz/reth/blob/a942467656620836da037fc27cb8057dabf1f98a/crates/payload/basic/src/lib.rs#L676-L679
Both the OptimismPayloadBuilder and EthereumPayloadBuilder require these. I assume a good place to move these fields would be to OptimismPayloadBuilderAttributes and EthPayloadBuilderAttributes respectively, unless there is somewhere better/shared?

ping @mattsse would love your thoughts here

@onbjerg I removed the cfg_and_block_env from the trait and instead moved this into the payloadbuilder impl.
this isn't perfect yet, because ideally we can use the evmconfig for this entirely, but this is currently tricky because we'd need to construct the new header right away

Thanks for getting this across the line @mattsse @onbjerg much appreciated


Provide link to GitHub on the index page

Fixes #92.

Ah, I just saw this:

I prefer to receive typos and small comments on the text using the book's built-in feedback tools, which you can enable with Ctrl+E.

I can close this if appropriate.

Yeah, we would prefer feedback via the built-in tools and purposely don't advertise the Github link. We don't mind people looking over the source code and whatnot, but books written by committee are drier and less focused, which we want to avoid.


Added build settings to xcodebuild command

@KrauseFx  :warning: Added rspecs but I need to actually run this yet (figure I would commit this before I go to bed though :zzz: :zzz: :zzz: )
Closes #131
Here is a link to all the build settings (because I know I will want to find this link later) - https://developer.apple.com/library/mac/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html#//apple_ref/doc/uid/TP40003931-CH3-DontLinkElementID_10
xcodebuild(
  workspace: "...",
  scheme: "...",
  build_settings: {
    "CODE_SIGN_IDENTITY" => "iPhone Developer: ...",
    "PROVISIONING_PROFILE" => "...",
    "JOBS" => 16
  }
)

Great work @joshdholtz! :+1:
That's the correct issue: https://github.com/KrauseFx/fastlane/issues/130

@bartoszj

It works! Thanks.

Maaaaannnnnn... I didn't even get a chance to test it myself 😇

Thanks @joshdholtz! New release coming today! :+1:


Translated Uncontrolled Component

@lunmay can you help us resolve any conflicts before we can merge this?

@lunmay can you help us resolve any conflicts before we can merge this?

I'll close this one, You've addressed @regalius' reviews already in #142

Oh ya, I forgot. Thanks for your help!


Reorganize docs and remap routes

@jedireza a bunch of changes here:

moved docs into guides and tutorials
removed /docs/ from URL since its not needed
added .html to end of content URLs

:shipit:


spikes on search latency and cpu usage

Hello,
I used vespa in our search system, and it works well at the beginning.But with growing of searching and indexing qps, service becomes unstable and search errors increase dramatically due to spikes on vespa search latency.
Following is metrics of vespa search latency and cpu usage on last two days.

Index size is about 13G and it contains 630M documents.
Each node has 48 cpu cores and 200G memory.  And all data is saved on a 800G ssd.
Search qps is 250 and indexing qps is 4k. Most indexing operators are updating.
Looking forward to your help.
Thank you very much

It's not perfectly clear to me that these cpu spikes are correlating with what I assume is the end to end latency (95percentile?) as observed from a client. Do you also have the query rate graphs for the same time period. Also to get per compoment latency breakdown would help (e.g with per rank-profile as dimensions?).  See https://docs.vespa.ai/documentation/reference/metrics-health-format.html for how to gathering metrics from Vespa.
Still assuming that they do correlate then I think the cpu spikes and latency is likely caused by query pattern changes as not all queries have the same cpu cost/latency model.
E.g a query with a high number of hits using and expensive ranking profile, e.g a trained model with many features in first-phase) might cause high latency/timeout errors for those specific queries.
Vespa content node has a few maintenance jobs which runs in the background (described here https://docs.vespa.ai/documentation/proton.html) but these have low cpu impact and little or no latency impact on query serving (Their peak usage is controlled https://docs.vespa.ai/documentation/content/setup-proton-tuning.html#feeding-concurrency).With high update rate there is going to be some summary store compacting jobs which will increase cpu usage but these jobs does not impact the serving latency.
Feel free to reach out to me per email with further details if you don't want to share them here. Thanks
It would be nice to get a day worth of vespa.log* from one of your nodes (assuming that container and content nodes are running on the same host, if not logs from both container and random content node would help on diagnosing it).


Some test class/case updates

Got it!
Note: Not all the test cases are best and can be improved for better test quality and coverage.
It was fun working on you repo!
Cheers,
Tunde

Whoa, this is awesome. Thanks @tuneribaba!

Hi Manuel,
I noticed the PR has not yet been accepted. Was there something wrong with merging in the changes?
Cheers,
Tunde

Hi Tunde,
The PR looks good. I'll take a look and merge it in a couple weeks, I'm under a very tight deadline at the moment.
Thanks again and sorry for the delay!
M

Hi @tuneribaba,
There's one failure in the tests that you added: https://travis-ci.org/tabulapdf/tabula-java/jobs/122879444#L1357
Looks like a simple thing. If you have the chance to fix that, and push to this branch, I can merge your PR right away.
Thanks!

Ooops sorry for the delay. Made the change.
Thanks,
Tunde

Merged. Thanks again!

Hey @tuneribaba, if you don't mind me asking: I noticed that there was a PDF report about the work you did on Tabula's codebase. Was it a class project?

Hey @jazzido. Yes it was a class assignment in a graduate course at UBC.


Reverse engineer cipher

We were provided with a reference implementation for the encryption and decryption: https://encode-decode.com/aes192-encrypt-online/
Unfortunately, the website seems to to do the encryption and decryption on the server, and the source code isn't publicly available, so we have to figure out what it actually does in order to reproduce it. I experimented with it a little, and ostensibly, aes-192 is just an alias for aes-192-cbc. Even though we know it uses cbc, we still need to find the initialization vector. The website is deterministic, so giving any input should always yield the same output. It must have a default IV or a way to derive it from the secret input or the plaintext. Also, I don't know how it takes the secret provided and generate a key from there.

The IV is NOT prepended to the cipher text.

Reverse engineering it was easier than I expected. Here is a Python implementation that gives the same results:
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
from cryptography.hazmat.primitives import padding
from cryptography.hazmat.backends import default_backend
import base64

def pad_key(key):
    return key.encode('utf-8')[:24].ljust(24, b'\x00')

def encrypt(plaintext, key):
    padded_key = pad_key(key)
    iv = b'\x00' * 16  # 16 bytes of zeros for the IV
    backend = default_backend()
    cipher = Cipher(algorithms.AES(padded_key), modes.CBC(iv), backend=backend)
    encryptor = cipher.encryptor()
    padder = padding.PKCS7(128).padder()
    padded_data = padder.update(plaintext.encode()) + padder.finalize()
    ciphertext = encryptor.update(padded_data) + encryptor.finalize()
    return base64.b64encode(ciphertext).decode()

def decrypt(ciphertext, key):
    padded_key = pad_key(key)
    iv = b'\x00' * 16  # 16 bytes of zeros for the IV
    ciphertext = base64.b64decode(ciphertext)
    backend = default_backend()
    cipher = Cipher(algorithms.AES(padded_key), modes.CBC(iv), backend=backend)
    decryptor = cipher.decryptor()
    unpadder = padding.PKCS7(128).unpadder()
    decrypted_data = decryptor.update(ciphertext) + decryptor.finalize()
    plaintext = unpadder.update(decrypted_data) + unpadder.finalize()
    return plaintext.decode()

def main():
    choice = input("Do you want to encrypt or decrypt? (e/d): ").lower()
    if choice not in ['e', 'd']:
        print("Invalid choice. Please enter 'e' to encrypt or 'd' to decrypt.")
        return

    if choice == 'e':
        text = input("Enter the text: ")
    else:
        text = input("Enter the ciphertext in base 64: ")
    key = input("Enter the key: ")

    if choice == 'e':
        encrypted_text = encrypt(text, key)
        print(f"Encrypted (Base64): {encrypted_text}")
    else:
        decrypted_text = decrypt(text, key)
        print(f"Decrypted: {decrypted_text}")

if __name__ == "__main__":
    main()


Drain input

Fix a bug introduced by a previous merge.  Also, always drain input.

LGTM, given conversations on Github about this idiom.


Passing a string to actions.find

I'm trying to create a macro that will find a certain string (a regex string that I use a lot), that will then replace it with another regex string. I have set it up, but instead of the find string being placed in the find box, it's being placed in the text editor. Is there another argument I should be using instead of text?
	"macros": {
		"addSpacesAfterCommas" : [
			"actions.find",
				{"command": "type", "args": {"text": "search string here"}}
		]
	}

This is caused by delay in the editor, to verify it you can add a bunch of write commands (and you'll see that they eventually write in the find window)
Solution: https://github.com/geddski/macros/pull/13

Just in case anyone else lands here, the solution I landed on was:
    "macros": {
        "upgradeFMODEvent": [
            {"command": "editor.actions.findWithArgs", "args": {"searchString": "[FMODUnity.EventRef]"} },
            "editor.action.nextMatchFindAction",
         ]
    }

That helps a lot. Thank you.
And I give another example for anyone who lands here.
        "json2-": [
            {
                "command": "editor.actions.findWithArgs",
                "args": {
                    "searchString": "^ *('|\")(.+?)('|\") *: *('|\")(.+?)('|\"),? *$",
                    "replaceString": "-$2=$5",
                    "isRegex": true
                }
            },
            "editor.action.replaceAll"
        ]

To know the full args of editor.actions.findWithArgs, refer this

Just in case anyone else lands here, the solution I landed on was:
    "macros": {
        "upgradeFMODEvent": [
            {"command": "editor.actions.findWithArgs", "args": {"searchString": "[FMODUnity.EventRef]"} },
            "editor.action.nextMatchFindAction",
         ]
    }


Default to using --callers bcftools for --protocol metagenomic and --callers ivar for --protocol amplicon

This is mainly because iVar doesn't have a clever way of dealing with strand biases that are typical for amplicon data (see https://github.com/andersen-lab/ivar/issues/5).

Thank you!


SpeechSDK in C# for speech to text avatar

Hi,
we see that speechSDK for speech to text avatar is available on in JS framework. What is the equivalent C# SDK to use. References around will be useful.

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

ID: 22f001ab-c801-bf2a-0d23-7d502c9a532e
Version Independent ID: add85d8b-36f0-aa47-edfe-1782ddd6957c
Content: Real-time synthesis for text to speech avatar (preview) - Speech service - Azure AI services
Content Source: articles/ai-services/speech-service/text-to-speech-avatar/real-time-synthesis-avatar.md
Service: azure-ai-speech
GitHub Login: @sally-baolian
Microsoft Alias: v-baolianzou

@shilpaCM
Thanks for your feedback! We will investigate and update as appropriate.

@shilpaCM
Please go through this below link for your reference.
https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/csharp/dotnet-windows

@shilpaCM
We are going to close this thread, if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.
#Please-close


Fix alignment of info window

Codecov Report

Merging #941 (b028fa6) into main (d877c41) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Current head b028fa6 differs from pull request most recent head 917f9a1. Consider uploading reports for the commit 917f9a1 to get more accurate results

@@           Coverage Diff           @@
##             main     #941   +/-   ##
=======================================
  Coverage   64.63%   64.63%
=======================================
  Files         152      152
  Lines        7918     7918
  Branches     1487     1487
=======================================
  Hits         5118     5118
  Misses       1891     1891
  Partials      909      909

Impacted Files
Coverage Δ

...mposelife/ui/app/InteractiveCellUniverseOverlay.kt
92.15% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


had to create /app/tmp directory in docker image to get php sample to work

here are some command outputs from the fock build image. note the error:
mkfifo: cannot create fifo `/app/tmp/heroku.waitpipe-8080.fycbjO': No such file or directory"
and the mkdir command and then see it working.
 vcap@b3033f667ef4:~$ source ./.profile.d/php.sh
 vcap@b3033f667ef4:~$ /bin/bash cloudfocker-start-1c4352a23e52040ddb1857d7675fe3cc.sh /app vendor/bin/heroku-php-apache2
 Booting on port 8080...
 Using PHP-FPM configuration file 'vendor/heroku/heroku-buildpack-php/conf/php/php-fpm.conf'
 Using PHP configuration (php.ini) file 'vendor/heroku/heroku-buildpack-php/conf/php/php.ini'
 Using Apache2 VirtualHost-level configuration include 'vendor/heroku/heroku-buildpack-php/conf/apache2/default_include.conf'
 Using Apache2 configuration file 'vendor/heroku/heroku-buildpack-php/conf/apache2/heroku.conf'
 mkfifo: cannot create fifo `/app/tmp/heroku.waitpipe-8080.fycbjO': No such file or directory
 vcap@b3033f667ef4:~$ mkdir /app/tmp
 vcap@b3033f667ef4:~$ /bin/bash cloudfocker-start-1c4352a23e52040ddb1857d7675fe3cc.sh /app vendor/bin/heroku-php-apache2
 Booting on port 8080...
 Using PHP-FPM configuration file 'vendor/heroku/heroku-buildpack-php/conf/php/php-fpm.conf'
 Using PHP configuration (php.ini) file 'vendor/heroku/heroku-buildpack-php/conf/php/php.ini'
 Using Apache2 VirtualHost-level configuration include 'vendor/heroku/heroku-buildpack-php/conf/apache2/default_include.conf'
 Using Apache2 configuration file 'vendor/heroku/heroku-buildpack-php/conf/apache2/heroku.conf'
 Starting log redirection...
 Starting php-fpm...
 Starting httpd...
 [14-Dec-2014 08:16:47] NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
 [14-Dec-2014 08:16:47] NOTICE: fpm is running, pid 131
 [14-Dec-2014 08:16:47] NOTICE: ready to handle connections
 <IP_ADDRESS> - - [14/Dec/2014:08:17:49 +0000] "GET / HTTP/1.1" 200 65 "-" "curl/7.19.7 (x86_64-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/<IP_ADDRESS> libidn/1.15"

Tracking at https://www.pivotaltracker.com/story/show/92253168 .

Should be fixed in https://github.com/CloudCredo/cloudrocker/commit/593d1d938a4fc46d1189fc3c1497bb31ddd3b504


FTS5: python from python-build-standalone segv in cffi/sqlite-fts-python

python interpreters fetched by rye crash 100%. it occurs for all versions I tested locally 3.9, 3.10, 3.11, 3.12 on an Arch Linux VM x86-64.

always this line. FTS3 works fine.
  File "/home/hideaki/sqlite-fts-python/sqlitefts/fts5.py", line 156 in fts5_api_from_db

windows version interpreters don't seem to be affected. also Arch Linux's python package (3.11.7-1) is okay too.

this is due to statically linked _sqlite3.so in libpython3.*.so, thus  __file__ attribute doesn't exist for _sqlite3.
it used libsqlite3.so then hit the SEGV. so it similar issue to #19 and #30.
sqlite3 is also linked into libpython, so dlopen won't work, because APIs used by this package are local symbol; unable to resolve those symbols.
$ nm<EMAIL_ADDRESS>| grep sqlite3_prepare_v2
0000000000b06f80 t sqlite3_prepare_v2


Fix for Multimon-NG Square bracket encoding

Hi David,
Made some tweaks to the reader script to handle square brackets common in Victorian pager messages.
Multimon uses German charsets which spits out Ä and Ü characters instead of the brackets.
Looks like multimon-ng gave up on fixing this issue EliasOenal/multimon-ng#69
Also changed the console output to the padAddress just because the alignment was being messed up.
I don't really know much about node so these may cause issues in other places but i have been running this for a month with no issues.
Cheers
Dan
P.s - Sorry about the spam - realized i had missed a push with the correct code.

See also https://github.com/EliasOenal/multimon-ng/issues/69


Oracle Connector

This feature requests serves as a central place to discuss development and progress for the Oracle connector.

When will i get a oracle connector?

Any update on this?

This would be very useful.

If there a good generic how-to for creating a database connector?
Or would you just look at how the others are written?
Anyone can answer. Thank 😸

I'd love to see an Oracle Database connector added. But it's important that it supports bind variables!

Seconding @dmcghan. Would love to see this feature.

Yes. Oracle please. Many large financial firms use oracle.

This will be amazing feature

Yes, please add support for Oracle :-)

What is the road map for having this?

Would be great to have Oracle support :)  As @hanming2033 said, many large financial firms use oracle!

we using Oracle EBS, would be great if have Oracle Support.

Hello, any updates on this?

We've been use Oracle for twenty-five years we would love to see Prisma working with Oracle

Same here. Looking forward to Prisma/Oracle. Now, I am using objection.js/knex.js

Oracle db support +1

I would be interested in an Oracle DB Connector too

Any updates on this issue?
How can we contribute to the dev of an Oracle connector?
I am new to Prisma but it looks promising.

also interested.
if supported we'll use prisma with oracle across the board in this company
sogematech.com

This would be lifesaving feature. Were I work all legacy systems are Oracle based. Prisma is super concept. Can't wait. Where can I help? How can I help?

The demand for this seems to be super high but this post has been around about 2 years now. When can we expect support? Prisma is awesome

Oracle db support +1

Wanted to give Prisma or Prisma2 a try, but seems there is now way without Oracle DB support :-(

With oracle support, we would use prisma as the db access layer for all our microservices

+1

+1

+1

+1

+1

+1

+1

+1

Is there a guide to write a connector for prisma?
I see there are also JS drivers supported by Oracle, I would try to integrate them.
https://github.com/oracle/node-oracledb

Hi, any news on this ?
I need an Oracle connector too, it would be really great !
Is this ever planned or investigated ?

Can anyone give me a directional?
I'm interested in contributing to the project for integration with oracle database.

I definitely have interest in helping out as well

Please make this! Cannot consider using this without it

Look like main discussion for this feature is over on https://github.com/prisma/prisma/issues/2853


Context menu becomes unresponsive/laggy on mouse hover

Context menu becomes unresponsive/laggy if you keep hovering the mouse cursor over it.
https://user-images.githubusercontent.com/8935954/235319406-920dfe67-b27c-4a16-87fd-66e7adb0c547.mp4

I think this is the result of writing to the log file. Try this build 27

I think this is the result of writing to the log file. Try this build 27

That didn't help, sorry.

This issue did not appear with me. Did you try on a VM?


What unit is the radius in?

So, very basic question, what unit is the radius measured on? feet, meters, yards?

@christian-hess-94 Radius is measured in meters


Added 4 countries to geography list

Dear Yag, I am testing my Github abilities with my son in Lausanne. This one should be ready to merge :)

is there any problem for merging this ?


Not able to create second nullalbe int 🐛

Describe the Bug
When I try to create a class that has some nesting I get an error
ObjectCreationExceptionWithPath: AutoFixture was unable to create an instance from System.Nullable`1[System.Int32], most likely because it has no public constructor, is an abstract or non-public type.

Request path:
	UserQuery+Top
	  System.Nullable`1[System.Int32] NumberOne
	    System.Nullable`1[System.Int32]

Scenario
About as minimal of a scenario as I could make.
void Main()
{
	Fixture fixture = new Fixture();
	fixture.Behaviors.Add(new GenerationDepthBehavior(2));
	var top = fixture.Create<Top>();
}

class Top
{
	public int? NumberOne {get;set;}
	public Bottom Bottom {get;set;}
}

class Bottom
{
	public int? NumberTwo {get;set;}
}

class GenerationDepthBehavior : ISpecimenBuilderTransformation
{
	public int Depth { get; }

	public GenerationDepthBehavior(int depth)
	{
		Depth = depth;
	}

	public ISpecimenBuilderNode Transform(ISpecimenBuilder builder)
	{
		return new RecursionGuard(builder, new OmitOnRecursionHandler(), new IsSeededRequestComparer(), Depth);
	}

	private class IsSeededRequestComparer : IEqualityComparer
	{
		bool IEqualityComparer.Equals(object x, object y)
		{
			return x is SeededRequest && y is SeededRequest;
		}

		int IEqualityComparer.GetHashCode(object obj)
		{
			return obj is SeededRequest ? 0 : EqualityComparer<object>.Default.GetHashCode(obj);
		}
	}
}

Expected Behavior
Auto fixture generates the class
Tasks

[ ] Updated all AutoFixture and related libraries
[ ] Confirmed in support forums if behavior is expected

More Information
GenerationDepthBehavior is from a response in https://github.com/AutoFixture/AutoFixture/issues/1032 from @zvirja
Screenshots
NA
Thanks!

I have no clue what you are trying to achieve, but the bug is not in AutoFixture but in your code.
There is no recursion in your classes Top/Bottom, so basically everything works like it should if you remove the addition of the behavior.
But lets assume your original problem is recursion, then your IsSeededRequestComparer is the problem. Basically you are saying that every SeededRequest is the same. So at the crash comes when a SeededRequest for Top is equal to a SeededRequest of Nullable.
Just change
  public ISpecimenBuilderNode Transform(ISpecimenBuilder builder)
  {
    return new RecursionGuard(builder, new OmitOnRecursionHandler(), new IsSeededRequestComparer(), Depth);
  }

to
  public ISpecimenBuilderNode Transform(ISpecimenBuilder builder)
  {
    return new RecursionGuard(builder, new OmitOnRecursionHandler(), Depth);
  }

and also everything works as expected.

Thank you for responding
I have a 1000 or so classes that i am trying to generate. they are deeply nested and many of them have recursive loops. For my test i want to go 1 or 2 levels into the nesting when generating the top level class. With this level of nesting generating 1 class might take 20min or more. So, i am trying to limit the depth of generation. After applying the proposed solution from #1032 i ran into this issue but they did not mention the issue back then.
I will give this new info a try thank you.

So, the code in my initial post does not work for me because certain types count for an additional level in the nesting counting. For example public int? NumberTwo {get;set;} counts one level for the Nullable and then one level for the int. so the int returns omitspecimen and then the nullable creation blows up. I hacked my way to something that works well enough for my purposes. I would not recommend using it as is but will hopefully help someone else.
I took the initial post from #1032 and modified the currentDepth calculation so that a nullable int would not get a nest increase. and would potentially work out.
int currentDepth = -1;
var seededRequest = (SeededRequest)request;
var requestsForCurrentThread = this.GetMonitoredRequestsForCurrentThread();
if (requestsForCurrentThread.Count > 0)
{
    int depthIncrease = 1;
    if (IsType(seededRequest.Request)
        && (IsNullableValue(seededRequest.Request) || IsValue(seededRequest.Request)))
    {
        depthIncrease = 0;
    }

    currentDepth = requestsForCurrentThread.Max(x => x.Depth) + depthIncrease;
}

but when i brought it over to my actual usage i had a bunch of issues with generic types like dictionaries where they would add a whole bunch of nesting levels to the counter. For example a dictionary is made up of keyvalue pairs which is made up of the actual type parameters. a that point i gave up and slapped a trycatch on the return and called it good enough.
else
{
    try
    {
        return this.Builder.Create(request, context);
    }
    catch (Exception)
    {
        return new OmitSpecimen(); // Hack
    }
}


[SNAP-1140] Performance issues seen in query re-routing

Changes proposed in this pull request

Re-routed prepared statements are never marked as invalid so they are always re-prepared and multiple times
in one round (because reprepare gets invoked from multiple places). Mark as valid and also increment version
counter which is used by DRDA server to invalidate client side descriptors in case it gets re-prepared due
to a genuine reason.
Disable nagle's algorithm on the server-side DRDA socket. Otherwise queries returning small results can
block for quite long time (e.g. ~40ms delay seen for a query returning single row with two columns which
was tracked down to the nagle's algorithm on server-side socket); client socket already disables it
Move out pattern matching for INSERT/PUT...SELECT for re-routing to be pre-compiled static. Also changed
the STREAM pattern to be a regex rather than string match which is buggy. In addition removed the
toUpperCase() of source which is very inefficient way of matching and instead use CASE_INSENSITIVE regex.
Changed some instances of System.currentTimeInMillis() with nanoTime() spotted while reviewing code
which is much more efficient and also much more accurate for measuring intervals. Changed SessionVTI
interval type to be DOUBLE rather than BIGINT (latter was useless since time is shown in seconds).

Patch testing
Store precheckin in progress.
ReleaseNotes changes
NA
Other PRs
NA

Looks good to me.

Looks good to me for merge.


Update website server code according to style guides

If it is OK, there is a lot of style fixing in other places.

@enaqx - were you able to build the site without any errors after these changes?

@enaqx - I haven't heard back from you for a few weeks so I'm going to close this, ping me if you're interested in finishing this up and I'll reopen!

@brentvatne ping-ping. I've checked again these changes and site is working on my side. Can you check, pls? If you would like any proves (logs, screenshots, etc.) I would be happy to make it. I'm open to any suggestions or corrections. :smile:

@ide Thanks for style corrections. Since I've removed this branch and GitHub will not allow changes in this commit I'll open new PR with updates. Is it OK, guys?

Sounds good.


Update Windows/Android installer scripts for swift-foundation re-core

This updates the Windows/Android scripts to account for the Foundation re-core which involves:

New C modules _foundation_unicode and _FoundationCShims added to the SDK (with .lib files on Windows)
New Swift modules _FoundationCollections.swiftmodule, FoundationEssentials.swiftmodule, and FoundationInternationalization.swiftmodule added to the SDK (with .lib files on Windows)
New binaries for _FoundationICU, FoundationEssentials, and FoundationInternationalization

Additionally, this updates the paths for Foundation/FoundationXML/FoundationNetworking to account for the new structure of the swift module (a directory with per-arch files rather than files put into per-arch directories)

It is unfortunate that we need these headers to be distributed. Is the installed set audited in the CMake rules?

Yeah unfortunately the headers need to be distributed since we don't build Foundation with library evolution enabled so the modules need to be present in the SDK even though they're always internal imports and shouldn't be used directly by clients. Could you elaborate on a second piece? Our CMake files do list these headers explicitly if that's what you mean.

I wonder if we should clean this up in the future with some heat rules to crawl the directory.

We'd love to not need to come update this list every time we add/remove/rename a header so if there's anything we can do going forward to have it copy the whole directory rather than list files explicitly we'd definitely be on board with that.

It is unfortunate that we need these headers to be distributed. Is the installed set audited in the CMake rules?

Yeah unfortunately the headers need to be distributed since we don't build Foundation with library evolution enabled so the modules need to be present in the SDK even though they're always internal imports and shouldn't be used directly by clients. Could you elaborate on a second piece? Our CMake files do list these headers explicitly if that's what you mean.

I believe that we might need some tweaks to the compiler as these headers are not part of the default header search path, so this might cause a regression for use of Foundation.

I wonder if we should clean this up in the future with some heat rules to crawl the directory.

We'd love to not need to come update this list every time we add/remove/rename a header so if there's anything we can do going forward to have it copy the whole directory rather than list files explicitly we'd definitely be on board with that.

If the files are being audited in CMake and are isolated per module, we might be able to do something. I need to play around with that some, so for now, let's leave this.
I'm not sure I like the structure here though - we have avoid any headers in /usr/lib/swift with the Windows toolchain, and it is a shame to add them here.

If the files are being audited in CMake and are isolated per module, we might be able to do something. I need to play around with that some, so for now, let's leave this.

Sounds good

I believe that we might need some tweaks to the compiler as these headers are not part of the default header search path, so this might cause a regression for use of Foundation.

I'm not sure I like the structure here though - we have avoid any headers in /usr/lib/swift with the Windows toolchain, and it is a shame to add them here.

I believe with the current setup, these modules are installed alongside the existing dispatch, Block, and os modules. AFAICT I don't think we need any changes to the compiler since those modules already exist in the search path and in my toolchain builds in CI clients of Foundation are able to build fine. I might be missing something but since from what I can tell we already do have headers in /usr/lib/swift/dispatch, etc. is there something that's customized for those modules elsewhere that we'd need to replicate for /usr/lib/swift/_foundation_unicode and /usr/lib/swift/_FoundationCShims? I'm open to suggestions on better places to put these modules if we deem that's better, but it'd be unfortunate to have to block the re-core on a compiler change if that's what's necessary so perhaps we could revisit this once we land the change if that's a requirement?
FWIW this is where we're currently looking at putting these modules on Linux, since /usr/lib/swift/CoreFoundation is already where the CoreFoundation module exists on Linux today in Swift 5.10 (but I do see that the CoreFoundation module doesn't get installed on Windows so I know that's not exactly the same situation here).

I believe with the current setup, these modules are installed alongside the existing dispatch, Block, and os modules. AFAICT I don't think we need any changes to the compiler since those modules already exist in the search path and in my toolchain builds in CI clients of Foundation are able to build fine. I might be missing something but since from what I can tell we already do have headers in /usr/lib/swift/dispatch, etc. is there something that's customized for those modules elsewhere that we'd need to replicate for /usr/lib/swift/_foundation_unicode and /usr/lib/swift/_FoundationCShims? I'm open to suggestions on better places to put these modules if we deem that's better, but it'd be unfortunate to have to block the re-core on a compiler change if that's what's necessary so perhaps we could revisit this once we land the change if that's a requirement?
FWIW this is where we're currently looking at putting these modules on Linux, since /usr/lib/swift/CoreFoundation is already where the CoreFoundation module exists on Linux today in Swift 5.10 (but I do see that the CoreFoundation module doesn't get installed on Windows so I know that's not exactly the same situation here).

On Windows the layout is slightly different than Linux. However, my understanding from various conversations about dispatch, the C API is not intended to be part of the user surface, and so requiring the additional header search path to be added is not considered a problem. The headers being required will mean that the user will have to change the flags to make any code using Foundation continue to build.
There is no CoreFoundation module on Windows as it was late to the release and ended up sealing that exposure as well. Linux was unable to get away with it as it had shipped for quite a bit. This is why the headers are not present, but also means that the header search path does not need to be adjusted.

On Windows the layout is slightly different than Linux. However, my understanding from various conversations about dispatch, the C API is not intended to be part of the user surface, and so requiring the additional header search path to be added is not considered a problem. The headers being required will mean that the user will have to change the flags to make any code using Foundation continue to build.

There is no CoreFoundation module on Windows as it was late to the release and ended up sealing that exposure as well. Linux was unable to get away with it as it had shipped for quite a bit. This is why the headers are not present, but also means that the header search path does not need to be adjusted.

I don't have a toolchain yet to confirm (working out some SwiftPM issues and then once that's resolved hopefully I can verify this with a toolchain in practice) but I don't think that _foundation_unicode and _FoundationCShims are any different than dispatch in this case. The Dispatch swift module (which is public API) has a public import of the CDispatch clang module (which is the module installed into the usr/include/dispatch folder). If clients of Dispatch's swift module can find the CDispatch module in the dispatch folder under usr/include, is there a reason why clients of FoundationInternationalization wouldn't be able to find the _FoundationICU module in usr/include/_foundation_unicode? I agree it's unfortunate we have to install these modules but until (if) we enable library evolution for all the Foundation modules I think that's a requirement we'll need to live with. To me it doesn't sound like we'd truly need compiler changes to support this since by nature of how dispatch is setup I believe these paths already need to be in the header search path but hopefully once I have a toolchain built with these changes I can validate that's true

@compnerd I know you approved this before but given the above, any additional concerns about this? We were able to successfully produce a functional toolchain and swift-ci testing passes with these changes, so I don't think we need any compiler changes to support this. Any other issues with merging this once the PR to swift-corelibs-foundation has passed tests to confirm it all works?

I think that the android changes are not entirely correct - we do want the renaming to $(ArchTriple).swift* as that is how the compiler looks up the modules (using the ....swift{doc,interface,module}/$(ArchTriple).swift{doc,interface,module}).


Custom catalogues with mixed-case names no longer work under 0.63.0

Rancher Version: 0.63.0
Docker Version: 1.9.1
OS: CoreOS
Steps to Reproduce:
Create custom Catalogue on git server with at least one entry containing at least one parameter.
Add this to the Rancher custom Catalogues with a mixed-case name (eg, "Test")
Try to resynch catalogues
Try to create new item from this catalogue entry
Results:
When updating catalogue, stays in 'rotating flower' update rathere than completing.
When creating new item, catalogue entry appears with README.md correct and all versions listed in dropdown, but form below is not shown, only the 'rotating flower'.
Expected:
Form to create new catalogue item should be displayed so that new item can be created

Tested with Rancher Library and Community catalogues, both work fine.  However local catalogue held in local Git server, plus copy of community catalogue on github, both have this issue.  Before update to 0.63.0 both were working correctly.  Forked copy of community catalogue used for test is identical to official community catalogue.

The refresh button is https://github.com/rancher/rancher/issues/3902 , it finishes but the API isn't returning an object like the UI expects.
There's nothing special about custom vs the standard official & community ones so the 2nd part is odd; Is there anything in the browser dev tools console or failed request in the network tab?

Only error message in console is
downloadable font: rejected by sanitizer (font-family: "rancher-icons" style:normal weight:normal stretch:normal src index:0) source: https://rancher.container.auckland.ac.nz/assets/fonts/rancher-icons-29e6a8f649f4772228422e9043c7459d.ttf?1cqlea

What there does seem to be is an 404 not found error for the page, when I click on one of the Templates in the catalogue and it tries to retrieve a specific version of the tmeplate:
GET XHR https://rancher.container.auckland.ac.nz/v1-catalog/templates/UOA:janitor [HTTP/1.1 200 OK 154ms]
GET XHR https://rancher.container.auckland.ac.nz/v1-catalog/templates/uoa:janitor:1 [HTTP/1.1 404 Not Found 155ms]

The Catalogue is called 'UOA' (in capitals) -- possibly something is going on with case-sensitivity in the name resulting in lower-casing the catalogue name and it then being wrong?
Both of my 'local' catalogues have mixed-case names and seem to have the same effect

@vincent99 -- Testing confirms that the problem is with Catalogues that have mixed-case names (the rancher-supplied Library and Community catalogues are lower-case).  If I rename one of my custom catalogues in lower-case only, then it works, but is displayed with the first letter capitalised!  This is definitely a problem as it means we cannot call our catalogue 'UOA' or even 'Community-Dev'.

Seems to be a duplicate of https://github.com/rancher/rancher/issues/3955

Yes @deniseschannon, its the same issue https://github.com/rancher/rancher/issues/3955
The PR fixing the issue has been submitted.

Closing in favor of #3955


Maybe move to Qt.py as a Qt Shim

Hey @hannesdelbeke
I really like all your repos, I was wondering if you would consider a PR moving unimenu to Qt.py ?
https://github.com/mottosso/Qt.py
And in Appdetect instead of importing running for
sys.executable would be faster... I could also prep a PR for that..
But wanted to know if these would be welcome changes or not ?
Let me know what you think

Hi, I'm familiar with qt.py, used it a lot myself in the past.
What problem would it solve if we used qt.py instead of the current qt implementation?
I'm not following exactly what you mean with the app detect and sys.executable. can you  rxplain a bit more or perhaps dhow that PR. Always interested in seeing a better way.
Note that sys.exec does not always behave as expected in all apps. E.g. in old blender versions it did not return the blender python interpreter path AFAIK

And for app detect if optimization is needed we can also always swap to importlib instead of attempt an import. Checking the package name. Its a lot faster but a bit more code

Can you let me know which code you rsted in maya? Adding MAYA will use the old maya unimenu, instead of the new and better qt maya menu setup. Both work but new one has more features i believe. The test code migt need updating

Can you make a pr for the sys exec. But just for 1 app? To see how you have it in mind. Maybe maya or blender?

import unimenu
menu = unimenu.Node(label="my menu")  # create a menu
item = unimenu.Node(label="hi", command='print("hi")')  # create a menu item
menu.items.append(item)  # add the item to the menu
menu.setup()  # setup the menu in the app, parented by default to the main menu bar

produces this in Maya 2022.
Error: 'NoneType' object has no attribute 'findChild'
Traceback (most recent call last):
File "", line 5, in
File "c:\users\johannes\packages\unimenu\0.4.1\88a70aca30cb79a278872594adf043dc6c40af99\python\unimenu\apps_abstract.py", line 205, in setup
parent_app_node = parent_app_node or self._default_root_parent
File "c:\users\johannes\packages\unimenu\0.4.1\88a70aca30cb79a278872594adf043dc6c40af99\python\unimenu\apps\qt.py", line 48, in _default_root_parent
menu_bar = main_window.findChild(QtWidgets.QMenuBar)
AttributeError: 'NoneType' object has no attribute 'findChild'

https://github.com/hannesdelbeke/detect-app/pull/3
Here is the sample pr how I would implement the app detection for dccs where it is possible


support clearer "method" syntax on structs?

My basic feeling here is that calling a function using dot syntax on an instance of a struct is a method call. We're already implicitly passing self but forcing explicit arity on self at the definition site. Would it be unreasonable to introduce a meth keyword to delineate implicit self passing from function namespacing? It would only be available inside a struct. I realize this makes structs act like classes in a way, but it is clear that this is an emergent pattern and making that use explicit would be clearer in many cases. Furthermore, disallowing method calls on struct names and function calls on instances at the call site would codify what is already an implicit ruleset.
This is syntax related to OOP but not to vtables or polymorphism, which are different issues. Clearer object-ish calling conventions might make that easier to deal with as well, conceptually.
I'm not necessarily advocating for more object orientation, I'm just talking about some things that feel counterintuitive to me in the status quo.
pub const pubStruct = struct {
    pub fn pubStatic() u8 { return 1; }
    fn privStatic() u8 { return 2; }

    pub fn pubInstance(self: pubStruct) u8 { return 3; }
    fn privInstance(self: pubStruct) u8 { return 4; }

    pub const pubThing:u8 = 5;
    const privThing:u8 = 6;
};

fn main() void {
    // ok, like a static method, namespaced, basically.
    _ = pubStruct.pubStatic();    // 1

    // why isn't this internal to the struct? `pub` seems to not matter here.
    _ = pubStruct.privStatic();   // 2

    // `self` is implicitly passed when called on an instance, why am I allowed
    // to even call this here though? shouldn't this be an error when called on
    // the struct ns/type?
    _ = pubStruct.pubInstance();  // error: expected 1 arguments, found 0

    // same but + private not having meaning here
    _ = pubStruct.privInstance(); // error: expected 1 arguments, found 0

    // again, private v public...
    _ = pubStruct.pubThing;       // 5
    _ = pubStruct.privThing;      // 6

    const mypub: pubStruct = undefined;

    // self is implicitly passed in the case of "static" struct functions, I
    // feel like I shouldn't be able to do this at all instead of getting an arity
    // error
    _ = mypub.pubStatic();    // error: expected 0 arguments, found 1
    _ = mypub.privStatic();   // error: expected 0 arguments, found 1

    // these are essentially instance methods, but I can still call both public
    // and non-public ones.
    _ = mypub.pubInstance();  // 3
    _ = mypub.privInstance(); // 4

    // but I can't use "field access" to get at scoped vars... (this is as I would expect)
    _ = mypub.pubThing;       // error: no member named 'pubThing' in struct 'pubStruct'
    _ = mypub.privThing;      // error: no member named 'privThing' in struct 'pubStruct'

}

There is an advantage to functions and "methods" having the same syntax, which is, that they can be copypasted between global scope and struct scope, and nothing needs to changes (refactorability).
Many of the comments seem to be related to just needing better errors for these cases. I totally agree that the compiler shouldn't think I'm trying call "methods" from the type, and static functions from the instance.
As for pub, maybe things should be private to their current namespace instead of private to the file they are in. I'd like for pub to be simple, so hopefully, no public, protected, private, internal thingy.

@Hejsil
This is generally how I assumed things worked and how I declare my classes. I would generally be in favour of the simplest approach being the one used.
One small detail that needs to be considered is how testing behaves in conjunction with internal struct functions. These private details would be untestable with more limited scoping rules which may be an issue as tests currently are not allowed in struct definitions. An alternative would be to allow test to occur in struct/enum definitions to get around this.

@Hejsil I agree with that thought on refactorability and also that mostly I'm concerned about the error messaging. I find it strange that I can call "static" functions with the dot syntax as well as access members of the struct (and thereby call functions that are a member without passing self)
I have some more thoughts on this but here's a snippet I was thinking about if we had anon functions and default struct initialization params:
const warn = @import("std").debug.warn;

fn func(x:u8) u8 {
    return x;
}

const Thing = struct {
    // could be default to func which could live in the container Thing scope
    // here or potentially be anonymous
    f: (fn(u8) u8) // = func,
};

test "run" {
    const s = Thing { .f = func };
    warn("\n{}\n", s.f(8)); // note that this doesn't pass self
    warn("\n{}\n", Thing.f(9)); // error: container 'Thing' has no member called 'f'
}

Maybe we need another syntax for calling methods. instance->method()? :)

@jfo Let me try to clear some of these things up:
const A = struct {

One small detail that needs to be considered is how testing behaves in conjunction with internal struct functions.

One idea is that we already have the concept of a "test build". And in this build mode, everything is public.

I'm fairly satisfied with status quo, though I agree error messages could be improved. Is this a clearer explanation of what's going on? Disregard visibility for now.
const assert = @import("std").debug.assert;

const S = struct {
    a_member: u8,
    a_member_func: fn() u8,
    a_member_method: fn(self: &const S) u8,

    const a_namespaced_val: u8 = 11;
    const a_namespaced_func = aNamespacedFunction;

    fn aNamespacedFunction() u8 { return 42; }
    fn aNamespacedMethod(self: &const S) u8 { return self.a_member; }
};

fn aRegularFunction() u8 { return 22; }
fn aStructFunction(self: &const S) u8 { return self.a_member * 2; }

test "namespacing" {
    const s = S {
        .a_member = 33,
        .a_member_func = aRegularFunction,
        .a_member_method = aStructFunction
    };

    // Namespaced vals are only available through the struct type
    assert(S.a_namespaced_val == 11);
    assert(S.a_namespaced_func() == 42);

    // assert(s.a_namespaced_val == 11); // error: no member named 'a_namespaced_val' in struct 'S'
    // assert(s.a_namespaced_func() == 42); // error: no member named 'a_namespaced_val' in struct 'S'

    // Members are only available through instances of the struct
    assert(s.a_member == 33);
    assert(s.a_member_func() == 22);
    assert(s.a_member_method(s) == 66);

    // assert(S.a_member == 33); // container 'S' has no member called 'a_member'
    // assert(S.a_member_func() == 22); // container 'S' has no member called 'a_member_func'
    // assert(S.a_member_method(s) == 66); // container 'S' has no member called 'a_member_method'

    // Functions are sort of available through both
    assert(S.aNamespacedFunction() == 42);
    assert(S.aNamespacedMethod(s) == 33);
    assert(s.aNamespacedMethod() == 33);

    // Method call syntax is only available when the function is in the namespace of the
    // instance type and the first parameter is of that same type.

    // Here there is no instance
    //assert(S.aNamespacedMethod() == 33); // error: expected 1 arguments, found 0

    // Here the function is not in the namespace
    //assert(s.aStructFunction() == 33); // error: no member named 'aStructFunction' in struct 'S'
    //assert(s.a_member_method() == 66); // error: expected 1 arguments, found 0

    // Here the function does not take an instance
    //assert(s.aNamespacedFunction() == 42); // error: expected 0 arguments, found 1
}


Upgrade to Azure Application Insights Java 3.x

Are there any plans to upgrade the Azure Monitoring solution to Application Insights Java 3.x?

Plans is a strong word. If you have an environment available to test, I would welcome the contribution!

No sure how to integrate the new 3.x version because it is mainly java-agent focused. It seems there is no more SDK.
It's called codeless monitoring. This works out of the box with Quarkus JRE but no clue with Quarkus native-image.
https://docs.microsoft.com/en-us/azure/azure-monitor/app/java-in-process-agent


Doesn't work in latest VS Code release

Doesn't work in this configuration.  Code Explorer window opens and displays "no elements found".
Version: 1.30.1 (system setup)
Commit: dea8705087adb1b5e5ae1d9123278e178656186a
Date: 2018-12-18T18:12:07.165Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
OS: Windows_NT x64 10.0.17763

I second this.  When first installed it said "no data provider found" (this was when I invoked it by clicking on the {} icon on the left.  Then I tried following the instructions and opening it through the "Show Code Explorer" action, which led me to the blank list saying "no elements found"

I've just released a new version with heaps of fixes and new features. Please update the extension and give it another try.


metadata_writer shouldn't be a required parameter

Summary
Users can't create Session without creating a metadata_writer at the moment:
https://github.com/whylabs/whylogs/blob/mainline/src/whylogs/app/session.py#L87
Also SessionConfig requres a MetadataConfig:
https://github.com/whylabs/whylogs/blob/mainline/src/whylogs/app/config.py#L214
but we're passing a Writer:
https://github.com/whylabs/whylogs/blob/mainline/src/whylogs/app/session.py#L105

Closed by #269


Single array param set all elements instead of one

func TestDecodeArrayBug33(t *testing.T) {
	var data struct {
		A [3]string
	}
	cases := []struct {
		values url.Values
		want   [3]string
	}{
		{url.Values{"A": {"10"}},
			[3]string{"10", "", ""}},   // Output: [10 10 10]
		{url.Values{"A": {"10", "20"}},
			[3]string{"10", "20", ""}}, // Output: [10 10 10]
		{url.Values{"A[1]": {"20"}},
			[3]string{"", "20", ""}},   // Output: [ 20 ]
		{url.Values{"A": {"10"}, "A[2]": {"30"}},
			[3]string{"10", "", "30"}}, // Output: [10 10 30]
	}
	for _, v := range cases {
		data.A = [3]string{}
		form.NewDecoder().Decode(&data, v.values)
		t.Log(data.A)
	}
}

3rd case is correct, btw, it was included just in case.

Thanks I noticed and already fixing

Actually I believe mixing array/slice with array/slice[idx] should be illegal. As order of keys in url.Values is undefined decoding params var=10&var[0]=20 may result either in [20] or in [20,10]. (My strict checker in https://github.com/powerman/urlvalues already return error in this case, but this should be implemented in form too.)

Actually, in the library it should be determined, I set it up to process array/slice first then it assignsarray/slice[idx] as they are obviously more specific.
although it's not likely or recommended to mix, I will support it because internally it is ordered, otherwise I would agree with you.


Where is the code for edge server to receive 2D poses from each camera?

Thank you for your wonderful work. In the paper, the edge server receives the 2D poses from each camera and uses the timestamp to group the 2D poses. However, I do not find this part in your GitHub code. Can you share the code for the edge server to receive 2D poses from each camera and match them with timestamps?
Thank you for your advance.

Hi, did you get the code of 2D poses from each camera? or perhaps did you manage to solve it?


added some installation instructions after learning about bundler

Signed-off-by: Mark Cohen<EMAIL_ADDRESS>Description
installation instructions added
Issues Resolved
N/A
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #47 (84d363a) into main (17fa957) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 84d363a differs from pull request most recent head d81ff3c. Consider uploading reports for the commit d81ff3c to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main      #47   +/-   ##
=======================================
  Coverage   82.12%   82.12%
=======================================
  Files          57       57
  Lines         789      789
=======================================
  Hits          648      648
  Misses        141      141

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

This may not be the best recommendation.

Make a section to install Ruby, recommend using rvm.
Definitely do not sudo anything, much less bundler. With RVM you have a user-level installation for multiple rubies, then gem install bundler and bundle install, will be enough.
Remove all machine-specific stuff like jeff - project-tools :)

updated; didn't know about rvm, much like pipenv for python i guess. thanks!

Added installation instructions in https://github.com/opensearch-project/project-tools/pull/60.


Update FB documentation

Have updated the following
Office 365 to M365 reference
Deploy to Azure from GitHub feature
Have not updated
screenshots
Section redirection links

@suryamanohar Thanks for the thorough revision of the two Facebook topics. You did a good job in a challenging editing situation. I have reviewed and copyedited, and will merge this PR when we're ready to go live.


Frontend: show and guide user to similar areas

with active histo lens on key-event:

show detected simiar area contours as polygon
show guiding arrows around the ens to these polygons

Works but need to be extended for multi-channel.


contrib/schemast field.JSON printing incorrectly

Using schemast UpsertSchema with an ent.Field that contains a JSON field does not work as expected.

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
I am passing a field field.JSON field to the upsert schema and it puts the struct{}{} at the wrong location.
field.JSON("photo").Optional().Comment("Attachment for the Person's photo.", struct{}{})

Additionally, it does not use the correct struct that I provided to the JSON field.
Expected Behavior 🤔
It should look like the following:
field.JSON("photo", &Attachment{}).Optional().Comment("Attachment for the Person's photo.")

with an import added for that struct.
Steps to Reproduce 🕹
Steps:

Load a schema context with schemastCtx := schemast.Load(path)
Create a UpsertSchema with a field that is of type JSON.
Call upsertSchema.Mutate(schemastCtx).
Call schemastCtx(path)
Observe the output code.

Your Environment 🌎

Tech
Version

Go
1.19.?

| Ent         | 0.11.1   |
| Database    | MySQL   |
| Driver      | https://github.com/go-sql-driver/mysql        |

Hey @C-Deck
Thanks for reaching out. I'll look at this soon and circle back

@rotemtam I put up a fix for this at https://github.com/ent/contrib/pull/389. Let me know if this looks good.


dbflow should have dbflow-core as dependency

in version 4.0.5 we can use dbflow with just
annotationProcessor "com.github.Raizlabs.DBFlow:dbflow-processor:4.0.5"
compile "com.github.Raizlabs.DBFlow:dbflow:4.0.5"

in 4.1.1 require dbflow-core to compile
annotationProcessor "com.github.Raizlabs.DBFlow:dbflow-processor:4.1.1"
compile "com.github.Raizlabs.DBFlow:dbflow-core:4.1.1"
compile "com.github.Raizlabs.DBFlow:dbflow:4.1.1"

if com.github.Raizlabs.DBFlow:dbflow require com.github.Raizlabs.DBFlow:dbflow-core it should be specified in maven dependency

it does. in its build.gradle. also in the getting started docs we still ask you to include it as a dependency. it might be something with the new gradle plugin.


New version: Ndd version 2.7.0

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/116399&drop=dogfoodAlpha

/AzurePipelines run

@wingetbot


Fix unstable language test

Capybara doesn't reset the session between tests.  This can be problematic if a test expects the session to start in the blank state.  All you need to do in such cases is explicitly tell Capybara to do so:
Capybara.reset_sessions!
Nice and easy.

Coverage increased (+0.01%) to 93.012% when pulling f41b5eab86a1cf42c6c6ded191b3c20edd83fb0b on fix-unstable-language-test into aec290557446bf8e93d03d0fb815ee3b4e7ff948 on master.

Sorry to be missing all this work.
(This email caught my eye.)
Is there a place to put the reset so that it doesn't have to be called
individually in each Capybara test or Capybara test file? Maybe in the
Capybara helper file?
On Tue, Mar 8, 2022 at 1:46 AM Coveralls @.***> wrote:

[image: Coverage Status] https://coveralls.io/builds/47149314
Coverage increased (+0.01%) to 93.012% when pulling f41b5ea
https://github.com/MushroomObserver/mushroom-observer/commit/f41b5eab86a1cf42c6c6ded191b3c20edd83fb0b
on fix-unstable-language-test into aec2905
https://github.com/MushroomObserver/mushroom-observer/commit/aec290557446bf8e93d03d0fb815ee3b4e7ff948
on master.
—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/886#issuecomment-1061291363,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAALDFGHE3QFMJ54F246L33U62POLANCNFSM5QE3RTZA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Complete result of CountBench

Excuse me, where else can I see the complete results of CountBench besides Figure 4?

Hello, thank you for your question. We include the results in the last two rows of Table 2. We compare to CounTX on CountBench. I have pasted an image of the table with a yellow arrow pointing at the results below.

Oh, I saw it, thank you!

Hello, thank you for your question. We include the results in the last two rows of Table 2. We compare to CounTX on CountBench. I have pasted an image of the table with a yellow arrow pointing at the results below.

Oh, I saw it, thank you!