TypeError: Cannot read property 'prototype' of undefined instead of diff

🐛 Bug Report
Jest throws a type error
TypeError: Cannot read property 'prototype' of undefined
at actual.then.result (../../node_modules/jest-jasmine2/node_modules/expect/build/index.js:176:63)

similar to reported here: https://github.com/facebook/jest/issues/6730
To Reproduce
The test
return expect(
    mutate({
        query: MUTATION_INVITE_MEMBERS,
        variables: {
            id: defaultGroup.id,
            input: { ids: [otherSocialUser.id] },
        },
    }),
).resolves.toMatchObject({
    data: {
        social__inviteMembers: [
            {
                user: {
                    id: otherSocialUser.id,
                },
                status: 'INVITED',
                rsvpStatus: 'UNKNOWN',
            },
        ],
    },
});

The returned value
   {
        id: '957c9707-d293-4866-979e-7e2ac58a3324',
        group: {
                 id: 'c7df05fe-c1a0-4c9e-b26f-817b7a0bb1bf'
        },
        user: {
           id: 'a934391d-ace0-47ff-8aa4-1ec355527652',
           displayName: 'Marc Schipperheijn',
           gender: 'M'
       },
        status: 'INVITED' }

The rsvpStatus key is missing.
Steps to reproduce the behavior:
Expected behavior
It show a diff instead of throwing an error.
Run npx envinfo --preset jest
Paste the results here:

  System:
    OS: macOS High Sierra 10.13.6
    CPU: (4) x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
  Binaries:
    Node: 10.15.3 - ~/.nvm/versions/node/v10.15.3/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.4.1 - ~/.nvm/versions/node/v10.15.3/bin/npm
  npmPackages:
    jest: ^24.8.0 => 24.8.0

So, one thing I noticed is that jest-jasmnine2 on my system is 23.6.0.
However, when I force resolution to 24.8.0 I get this nasty error on all my tests:
TypeError: Expected throat size to be a number but got undefined

      at throat (../../node_modules/throat/index.js:34:13)
      at module.exports (../../node_modules/throat/index.js:76:12)

yarn why v1.17.3
[1/4] 🤔  Why do we have the module "jest-jasmine2"...?
[2/4] 🚚  Initialising dependency graph...
warning Resolution field<EMAIL_ADDRESS>is incompatible with requested version<EMAIL_ADDRESS>[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found<EMAIL_ADDRESS>info Has been hoisted to "jest-jasmine2"
info Reasons this module exists
   - "workspace-aggregator-08ea9065-b69c-42a2-b01c-c7278146fca3" depends on it
   - Hoisted from "_project_#jest-config#jest-jasmine2"
   - Hoisted from "_project_#server#razzle#jest#jest-cli#jest-runner#jest-jasmine2"
info Disk size without dependencies: "936KB"
info Disk size with unique dependencies: "7.36MB"
info Disk size with transitive dependencies: "32.33MB"
info Number of shared dependencies: 108
=> Found<EMAIL_ADDRESS>info Reasons this module exists
   - "_project_#jest-runner" depends on it
   - Hoisted from "_project_#jest-runner#jest-config#jest-jasmine2"
info Disk size without dependencies: "648KB"
info Disk size with unique dependencies: "11.66MB"
info Disk size with transitive dependencies: "69.81MB"
info Number of shared dependencies: 262
=> Found<EMAIL_ADDRESS>info Reasons this module exists
   - "_project_#jest-cli#jest-config" depends on it
   - Hoisted from "_project_#jest-cli#jest-config#jest-jasmine2"
info Disk size without dependencies: "648KB"
info Disk size with unique dependencies: "11.66MB"
info Disk size with transitive dependencies: "69.81MB"
info Number of shared dependencies: 262
=> Found "<EMAIL_ADDRESS>info Reasons this module exists
   - "_project_#jest-cli#@jest#core#jest-config" depends on it
   - Hoisted from "_project_#jest-cli#@jest#core#jest-config#jest-jasmine2"
info Disk size without dependencies: "648KB"
info Disk size with unique dependencies: "11.66MB"
info Disk size with transitive dependencies: "69.81MB"
info Number of shared dependencies: 262
=> Found "<EMAIL_ADDRESS>info Reasons this module exists
   - "_project_#jest-cli#@jest#core#@jest#reporters#jest-runtime#jest-config" depends on it
   - Hoisted from "_project_#jest-cli#@jest#core#@jest#reporters#jest-runtime#jest-config#jest-jasmine2"
info Disk size without dependencies: "648KB"
info Disk size with unique dependencies: "11.66MB"
info Disk size with transitive dependencies: "69.81MB"
info Number of shared dependencies: 262
=> Found "<EMAIL_ADDRESS>info Reasons this module exists
   - "_project_#jest-runner#jest-config#@jest#test-sequencer#jest-runtime#jest-config" depends on it
   - Hoisted from "_project_#jest-runner#jest-config#@jest#test-sequencer#jest-runtime#jest-config#jest-jasmine2"
info Disk size without dependencies: "648KB"
info Disk size with unique dependencies: "11.66MB"
info Disk size with transitive dependencies: "69.81MB"
info Number of shared dependencies: 262

Unfortunate that razzle depends on an old version of jest. It doesn't handle hoisted deps properly (we've tried to fix that in in jest 24). What happens if you explicitly depend on jest and jest-config? The hoisting gods might fix your issue then.

Add "jest-config": "^24.8.0", to the resolutions key solved it! Thanks!


Fixed problems of swagger.yaml

Added operation ids (#9)
Updated definition of ErrorMessage/Error to match its example

Thanks a lot!


Modify data export to allow for archived answer templates

Related to #882

Flexibility of data export took care of this with the work in 9.1, all set!


Hide InkWell hover highlight when an hovered InkWell is disabled

Description
When an InkWell is hovered and enabled, it shows an hover highlight.
Before this PR:
If the InkWell is disabled while being hovered, the hover highlight is displayed until the mouse exit.
After this PR:
If the InkWell is disabled while being hovered, the hover highlight is hidden.
Related Issue
Fixes https://github.com/flutter/flutter/issues/117733
Implementation details
Removing the highlight as soon as the InkWell is disabled is not possible because it leads to onHover callback not being called at all or being call when it is not allowed (onHover callback often apply setState).
Tests
Adds 1 test.
Updates 1 existing test.

The highlight management code in ink_well.dart is difficult to follow (as I'm sure you know). AFAICT something's not quite right here, however I could very well be misunderstanding the change.

Yes, highlights lifecycle is somewhat complex. We, Taha and I, spent some time discussing this during our internal review process. Simply calling hoverHighlight.deactivate would have been great but it’s not possible (existing tests were very helpful to understand why, but it is not straightforward to figure out, that’s why I added a long comment).
Part of the existing complexity is related to dispose() calling the onRemoved callback.
As you commented below, after calling hoverHighlight.dispose(), it seems that we are potentially leaving a disposed InkHighlight in the _highlights table but that’s not the case due to the onRemoved callback set to the following handleInkRemove inner function which takes care of removing the Highlight from the table : https://github.com/flutter/flutter/blob/7ddf42eae5ee9b9d770ce40aae362b0fc2ca1005/packages/flutter/lib/src/material/ink_well.dart#L889-L896
This fix could be summarized as removing the current hover highlight and creating a new one with a transparent color. It feels somewhat hacky. I didn’t find another solution due to the hover highlight lifecycle expectations (onHover callback should be called when removing the highlight but can’t be called anywhere because onHover callbacks often call setState).
Going deeper on InkWell code was very interesting but I don’t have a strong opinion on merging or canceling this PR.

I'm going to LGTM this PR, because it fixes the corner case demonstrated in https://github.com/flutter/flutter/issues/117733, and it's not the only place where we've used Colors.transparent to cover up a deeper problem.
If you and Taha wanted to propose a rewrite of InkWell et al., one that simplified the implementation without breaking anything, I'd be happy to review that.


[🐞] Reactivity is broken when comparing multiple signals in a ternary

Which component is affected?
Qwik Runtime (or maybe Optimizer)
Describe the bug
There appears to be some issues with reactivity in the following case:
Reproduction
Playground
Steps to reproduce

Type "foo" in the first input field
Type "foo" in the second input field
See that "No collision" is displayed in the even though the two values are equal
Type "bar" in the second field
Type "bar" in the first field (order matters)
See that "Collision detected" is now shown
Type "baz" in the second field
See that "Collision detected" is still shown even though the two values are now different

System Info
Playground/Firefox/Windows

Additional Information
This is not a recent regression, looks like it's been the case since 0.20.0

Possibly related? https://github.com/BuilderIO/qwik/issues/4249

The workaround that I found is moving the ternary into useComputed$

Fixed by https://github.com/BuilderIO/qwik/pull/4297


Chartjs.org is a dead link?

DNS can't resolve www.chartjs.org

works fine for me

Tested as well and no issues.
dig chartjs.org NS
; <<>> DiG 9.10.6 <<>> chartjs.org NS
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49243
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;chartjs.org.			IN	NS
;; ANSWER SECTION:
chartjs.org.		21408	IN	NS	anirban.ns.cloudflare.com.
chartjs.org.		21408	IN	NS	diva.ns.cloudflare.com.
;; Query time: 65 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Fri Jul 17 17:40:20 EDT 2020
;; MSG SIZE  rcvd: 98

Likely caused by the ongoing cloudflare issue
https://www.cloudflarestatus.com/


PiVpn not hiding my IP

PiVPN Issue Template

Issue
Have you searched for similar issues and solutions?
(yes/no / which issues?)

Console output of curl install.pivpn.io | bash
  Output Here

Console output of pivpn add or pivpn add nopass
  Output Here

Console output of pivpn debug
  Output Here

Console Output of sudo iptables -t nat -S
  Output Here

Console Output of sudo iptables -S
  Output Here

output of sudo netstat -uanp | grep openvpn
  Output Here

Have you taken any steps towards solving your issue?
 which?

Sorry Im new to this and not even sure how to open this request.
I setup OpenVpn on my raspberry pi 3 and it's connected to my windows 10 computer and Android phone though it's not hiding my IP. Any thoughts?
Thanks

So you have a pi3 with pivpn installed. You have a win10 and Android client with ovpn files & clients installed. When you are connected from phone through vpn and you go to whatismyip.com it displays the ip from your phone carrier or home internet ip?

On 24 Feb 2018, at 19:33, briansdough<EMAIL_ADDRESS>wrote:
Sorry Im new to this and not even sure how to open this request.
I setup OpenVpn on my raspberry pi 3 and it's connected to my windows 10 computer and Android phone though it's not hiding my IP. Any thoughts?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Yes, exactly as you described.

Yes, exactly as you described.
On Feb 24, 2018 4:31 PM, "d0nlab"<EMAIL_ADDRESS>wrote:
So you have a pi3 with pivpn installed. You have a win10 and Android client
with ovpn files & clients installed. When you are connected from phone
through vpn and you go to whatismyip.com it displays the ip from your phone
carrier or home internet ip?

On 24 Feb 2018, at 19:33, briansdough<EMAIL_ADDRESS>wrote:
Sorry Im new to this and not even sure how to open this request.
I setup OpenVpn on my raspberry pi 3 and it's connected to my windows 10
computer and Android phone though it's not hiding my IP. Any thoughts?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pivpn/pivpn/issues/478#issuecomment-368261859, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AjF_4jkhSL4aE3VTER2dlPBp4ykZ0Kh8ks5tYH-1gaJpZM4SR_cA
.

Well, which is it? The IP from your phone carrier or home ISP?

On 24 Feb 2018, at 22:41, briansdough<EMAIL_ADDRESS>wrote:
Yes, exactly as you described.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

When WiFi is on his my home IP, when 4g is on it's the phone companies.

@briansdough let's try to solve some misconceptions first.

PiVPN does not hide your IP address Neither does OpenVPN ... PiVPN Installs OpenVPN, OpenVPN is a VPN Server.
Not every article on the internet is right, and very often they lead people to think an OpenVPN server is an internet Privacy and Security Miracle that will make you vanish on the web and no one will know who you are ... That's not true.

Let's try to fix this then.
Whenever you connect to your VPN the IP address the "internet" is going to see is the Public IP address of your OpenVPN server Network. Does this make sense?
Let's Give a practical example:
You are in a Hotel room in a different country of yours, The Ip address the internet is going to see is the HOTEL Network Public IP address. OK?
Now as a concerned user, you have a VPN at home, so you can get better privacy on your traffic and to avoid prying eyes in public networks such hotels and so on, while in the hotel you connect to your OpenVPN server (installed by PiVPN), from now on, no one inside the Hotel can "understand" the traffic going from your computer (because it is encrypted) and the Internet will see your Home IP address instead of the hotel IP address.
Was this clear enough?
Now that we solved the misconception issue..... Your VPN Server is Working, right? you can connect to it, and access the internet correct?

Thanks for the info that is very helpful. So if I understand correctly PIVPN hides what i'm doing on the internet but anyone looking can see its my traffic, correct?
Yes, everything else is working correctly though my download/upload speeds are down about 50%, is that normal too?

@briansdough It """"Hides""""" what you are doing between your Computer and VPN server.
This means that no one in the same local network as you can understand the traffic because it is encrypted, however, from the VPN server to the internet works exactly the same as any other place, was that clear?

And yup having such drops are expected! it can be even worse!
What will influence?
1 - The Bandwith of network you are connecting to
2 - Upload speed of your connection ( if you have 50 Mbits up at home, and downloading from a 100Mbis network, you will only get """"""50 Mbits""""""" )
3 - The route between the network you are into and your Home
4 - RPI nic  is only 100Mbits which will suffer losses as well.
AAAND Much more!

Yes, very helpful thanks. Great analogies too!

As everything seems to be working I will be closing this issue... feel free to come back with any questions in the future

@briansdough let's try to solve some misconceptions first.

PiVPN does not hide your IP address Neither does OpenVPN ... PiVPN Installs OpenVPN, OpenVPN is a VPN Server.
Not every article on the internet is right, and very often they lead people to think an OpenVPN server is an internet Privacy and Security Miracle that will make you vanish on the web and no one will know who you are ... That's not true.

Let's try to fix this then.
Whenever you connect to your VPN the IP address the "internet" is going to see is the Public IP address of your OpenVPN server Network. Does this make sense?
Let's Give a practical example:
You are in a Hotel room in a different country of yours, The Ip address the internet is going to see is the HOTEL Network Public IP address. OK?
Now as a concerned user, you have a VPN at home, so you can get better privacy on your traffic and to avoid prying eyes in public networks such hotels and so on, while in the hotel you connect to your OpenVPN server (installed by PiVPN), from now on, no one inside the Hotel can "understand" the traffic going from your computer (because it is encrypted) and the Internet will see your Home IP address instead of the hotel IP address.
Was this clear enough?
Now that we solved the misconception issue..... Your VPN Server is Working, right? you can connect to it, and access the internet correct?

Clearest explanation ever seen. Thanks!


integrate HCI_VS_MSFT_LE_Monitor_Advertisement [v2] into Microsoft-defined Bluetooth HCI extensions

This change:

integrates all of the partner-reviewed changes to the Microsoft-defined Bluetooth HCI extensions specification to include the HCI_VS_MSFT_LE_Monitor_Advertisement [v2] command
adds a (rewritten and updated) Visio version of the HCI_VS_MSFT_LE_Monitor_Advertisement state diagram and an exported .svg for the spec
adds some new text around the diagram to integrate it a bit better with the original text

Hi @erikpe-msft,
If you're good with it at this point, I'll go ahead and merge it.
Thanks for the PR!
~ Mark

Give me just a bit to see if anyone else on my team wants to give it a look...

In reply to:<PHONE_NUMBER>

okay @mhopkins-msft , let's go ahead and merge it. if there's any additional feedback, we can spin another quick PR. Thanks!

In reply to:<PHONE_NUMBER>

@erikpe-msft it's merged. You can delete your branch.
We should also talk about using the internal repo going forward, since you are MSFT.


FlexibleConnectedPositionStrategyOrigin type does not support SVGElement, or at least Element

Expected Behavior:
FlexibleConnectedPositionStrategyOrigin should accept Element, (or SVGElement)
Actual Behavior
FlexibleConnectedPositionStrategyOrigin does not accept Element, (or SVGElement)
Environment
Angular version 9.2.1
Details
In PR bellow, was fixed to support svg, but it was not updated interface
https://github.com/angular/components/issues/18618
Interface here
https://github.com/angular/components/blob/ddc9fd6baa4f75a8b2edc20b7bec9edf92353203/src/cdk/overlay/position/flexible-connected-position-strategy.ts#L36
Please fix this, currently temporary solution I have
       this.positionStrategy.setOrigin(this.getProperTarget());
	private getProperTarget(): ElementRef | HTMLElement {
		if (this.target instanceof HTMLElement) {
			return this.target;
		} else {
			return new ElementRef(this.target);
		}
	}

Any updates?

Looks like the fix went in a while ago, but I didn't tag it properly so the issue wasn't closed. https://github.com/angular/components/pull/19199


Titlebar.TButton and Close.Titlebar.TButton styles

A Christmas present for you, @PicoPlanetDev. I finally implemented the Titlebar.TButton and Close.Titlebar.TButton styles for Sun-Valley-titlebar
Closes #5

Thank you @rdbende ! Really appreciate the constant effort to improve your theme!


[Migration] Move xsk-ide-migration module inside main repository

Currently, the source code of the migrations UI and backend is in dirigiblelabs/xsk-ide-migration and is merged into SAP/xsk using the -Pcontent build flag. We should move the migrations source into the SAP/xsk repository similar to how other Dirigible modules were moved inside the main Dirigible repository in order to have easier maintenance

This issue is closed as the project is no longer maintained


Is this project still active?

I've noticed that there are a couple of issues that are open that haven't been addressed. In addition, there are some pull requests that remain open that haven't been responded to. Thank you

Good and valid question. I personally do still moderate the issues and answer questions where I can. I've tried to coordinate a more broad update with the maintainer a while ago, but I presume personal or business circumstances have come between in the mean time.
Like I mentioned above, I do still moderate and keep issues up to date and so forth. As such I hope it's okay that I'll close this question as a duplicate of #1260, just to keep open issues focused.

Big thanks to @jeroenheijmans for moderating here. Jeroen is really doing an awesome job!!!

We just published a new version.
The plan is to publish one new version of this library for each Angular major version.

@manfredsteyer  + @jeroenheijmans thank you. Any help we can get helps. I looked at the change log and some of these bug fixes should save us about 2 weeks' worth of work.
The latest bug fixes/version requires angular 15 and some of our other packages are not up to angular 15 yet, but we will try when we can


Standardize terminal messaging output function

Rather than calling println!, it would be nice to call something like message.success with some parameters that standardize the formatting of the output for e.g. success, info, error, etc.

reading through the code base, we have a wide variety of ways we print to the terminal; the macros in use include:
* print!
* println!
* failure::bail!
* panic!
* info!


contributing(all): update minimal go version, add engine in commit message

What problem does this PR solve?

Issue Number: ref #5352
Finish task 2 in #5352
What is changed and how it works?

Minimal go version is go1.18
Add engine option in commit message.
Add bug report issue template for dataflow engine.

Check List
Tests

No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/merge

/merge

/run-kafka-integration-test
/run-leak-test


Fix exped ghost roles

:cl:

fix: Fix xeno ghost roles showing up for expeditions.

This was a bug? Aww It was realy fun being xenos.


[iOS 16.4.1 iP14] A error occurred when clicking to install TrollStore

Error when clicking "Tips", displaying error 2
I guess it was caused by the offset without adapting to the KFD vulnerability.

Hey I finally made it, I don't know how but this is what I did:
1- I used the following process on the "Books App" (var/containers/bundle/application/com.apple.iBook where I replaced the Books file with the persistent installer downloaded from the trollstore github: https://github.com/opa334/TrollStore/releases):

2- After restart it didn't work so I went back to Misaka and used the "Install Trollstore" button and selected "Books" app again. after the respring it worked this time and installed trollstore from books

The iBook app works fine.My device is an iPhone 12 Pro - 16.3.1.I simply covered it with misaka and restarted it. Thank you very much.

Trollstorehelper returned error 1


Revert "Rex4539's Fix Typos (#11362)"

This reverts commit dfae548d4a4953e8a3ff38873e68e85d7c0ce9d9
The goal here is to try to give @rex4539 credit. Let's back out the merge and try again, after a rebase and a squash.

Revert of #11362


ArangoDB driver fails on initial startup when DROP=true

Adding a ticket here in reference to https://gitlab.com/spirit-tools/mediator-service/-/issues/84, since the issue is fixed by updating arangodb\driver.js to properly perform a check. The check is not the nicest--the only way seemed to be to list all databases and check if the one we expect to drop is in that list. The issue itself did not seem to prevent the construction of the database on initial runs, but having an error logged for the first run is fairly ugly and may in the future cause the whole process to fail.

PR #90 closes this issue.


AirplaneModeStatus is ON when connected in wifi and Airplane Mode is OFF

This is probably a bug caused by #11.
It worked well in 2.0.0, but in 2.1.0, the result of checkAirplaneMode() is ON even though I did not turn on airplane mode in iOS.
This doesn't happen on Android.

After further testing, some iPhones work and some do not. I don't know what the difference is, but the phones with the bug are the 15 Pro Max (emulator) and the 12 mini.

@ShinJinBum The plugin determines airplane mode based on the device's cellular service. Since you are using a IOS emulator (no SIM - cellular service), airplane mode is always ON.
You can check again on the physical device.
Thank you.


[Bug]: Command error crash, has been a problem in all versions

What happened?
Server crash
Game Version
1.16
What platform are you using?
Forge
Platform version
Latest
Config File
N/A
Just a default config file
I have tired disabling all the commands and custom commands

Crash report / Error log (if applicable)
https://paste-bin.xyz/51781

Additional Information
ever since the slash command got added it has been a problem
it randomly crashes on load sometimes but other times works no problem

Does this still happen with the latest alpha?
2.4.3 for 1.16 will take a few minutes before releasing it now, tho
(Currently slowly sifting through all issues)

Removed Slash commands from the bot as discord allowed and had no problems since it was removed.
I don't plan on adding back in the future and have gone with a custom Rcon Discord bot to replace the feature


[bug]

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
0.1.0
Current Behavior
ENS name stopped appearing in next JS app
Expected Behavior
Expected ENS name to appear on ConnectButton after connected.
Steps To Reproduce
No response
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
Just seems like the ENS service doesn't seem to be working. When I use
const { data: account } = useAccount();   const { data: ensName } = useEnsName({ address: account?.address });
and log ensName i get null, feature was  working initially.

null means there is not an ENS name associated to the address.
Please create a minimal reproducible example and re-open this issue, but it seems like everything is working as intended.


Split  and  into separate features

Given their differing levels of support, I think it's clearer/better not to bundle them together.

Looks good to me, I'd support splitting them.

Hmm, sure, okay. It made sense way back when I first added it and all support included both, too bad not all browsers behaved that way. To be fair I don't think a lot of devs care much about  support, never hear anything about missing it.


README.md Authorization Code Flow

$provider = new Stevenmaguire\OAuth2\Client\Provider\Keycloak([
    'authServerUrl'         => '{keycloak-server-url}',
    'realm'                 => '{keycloak-realm}',
    'clientId'              => '{keycloak-client-id}',
    'clientSecret'          => '{keycloak-client-secret}',
    'redirectUri'           => 'https://example.com/callback-url',
    'encryptionAlgorithm'   => 'RS256',                             // optional
    'encryptionKeyPath'     => '../key.pem'                         // optional
    'encryptionKey'         => 'contents_of_key_or_certificate'     // optional
    'version'               => '20.0.1',                            // optional
]);

'version'               => '20.0.1',                            // optional
since 18.0.0 this is required. I just spent 3 days tracking down a 'Invalid response received from Authorization Server. Expected JSON.' error when I finally found that scope:openid was not being added due to requiring this version. Since 20.0.0 it is even more important.

After upgrade to 20.0.2 I got this error despite setting this version (and having openid in the scope auth url)


BVH building runs out of memory

Hi, we regularly see Ospray's BVH builder running out of memory on a node with 384 GB RAM. The scene geometry ranges between 80 GB and 120 GB.
Is there any optimisation we could use?

Could you try to set parameter compactMode to true on the OSPModel?

Yes, compact mode both reduces the memory needed for the BVH and avoids additional (temporary) memory during build.

Thanks!

Seems we found a solution – if not, please reopen.

I get the impression that the compactMode flag only works when set as an int value, not when set as a bool (even though bool is its given type in the docs).
I tested 3 different configurations for the flag: one with the bool line uncommented (bool), one with the int line uncommented (int) and one with both lines commented (default):
    world = ospNewModel();
        //ospSet1b(world, "compactMode", true);   // bool
        //ospSet1i(world, "compactMode", 1);   // int
    ospCommit(world);

    ... setup and render scene with slightly over 1M objects ...

I dumped extra output with --osp:debug and when I check the diffs I see no differences between default and bool (only the BHV build times are slightly different, but that's to be expected). However, I do see differences between default and int:
paulm@llt0022:~/concepts/blender-ospray-engine$ diff -ur out.default out.int
...
--- out.default	2019-03-07 17:03:12.328252099 +0100
+++ out.int	2019-03-07 17:01:29.420732394 +0100
           oriented_disc:          0
                usergeom:          0
                instance:    1050000
-building BVH8<instance> using avx::BVH8BuilderSAH ...
-finished BVH8<instance> : 929.635ms, 1.12948 Mprim/s, 0.0785343 GB/s
-  primitives = 1050000, vertices = 0, depth = 8
-  total            : sah = 176.428 (100.00%), #bytes =   72.82 MB (100.00%), #nodes = 1301626 ( 76.78% filled), #bytes/prim =  69.35
-  alignedNodes     : sah = 131.519 ( 74.55%), #bytes =   64.42 MB ( 88.46%), #nodes =  251626 ( 64.66% filled), #bytes/prim =  61.35
-  leaves           : sah =  44.909 ( 25.45%), #bytes =    8.40 MB ( 11.54%), #nodes = 1050000 (100.00% filled), #bytes/prim =   8.00
+building BVH4<instance> using avx::BVH4BuilderSAH ...
+finished BVH4<instance> : 890.656ms, 1.17891 Mprim/s, 0.0724908 GB/s
+  primitives = 1050000, vertices = 0, depth = 12
+  total            : sah = 245.715 (100.00%), #bytes =   64.34 MB (100.00%), #nodes = 1487034 ( 90.67% filled), #bytes/prim =  61.28
+  alignedNodes     : sah = 200.806 ( 81.72%), #bytes =   55.94 MB ( 86.94%), #nodes =  437034 ( 85.06% filled), #bytes/prim =  53.28
+  leaves           : sah =  44.909 ( 18.28%), #bytes =    8.40 MB ( 13.06%), #nodes = 1050000 (100.00% filled), #bytes/prim =   8.00
     histogram      : 100.00%   0.00%   0.00%   0.00%   0.00%   0.00%   0.00%   0.00%
-  alloc : used =  73.008 MB,                                                             #bytes/prim =  69.53
-  alloc : used =  73.008 MB, free =   0.005 MB, wasted =   9.417 MB, total =  82.430 MB, #bytes/prim =  78.50
-  total : used =  82.430 MB, free =   0.586 MB, wasted =   0.009 MB, total =  83.024 MB, #bytes/prim =  79.07
+  alloc : used =  64.564 MB,                                                             #bytes/prim =  61.49
+  alloc : used =  64.564 MB, free =   0.006 MB, wasted =   9.278 MB, total =  73.848 MB, #bytes/prim =  70.33
+  total : used =  73.848 MB, free =   0.494 MB, wasted =   0.008 MB, total =  74.350 MB, #bytes/prim =  70.81
   4K    : used =   0.000 MB, free =   0.000 MB, wasted =   0.000 MB, total =   0.000 MB, #bytes/prim =   0.00
   2M    : used =   0.000 MB, free =   0.000 MB, wasted =   0.000 MB, total =   0.000 MB, #bytes/prim =   0.00
-  malloc: used =  82.430 MB, free =   0.586 MB, wasted =   0.009 MB, total =  83.024 MB, #bytes/prim =  79.07
+  malloc: used =  73.848 MB, free =   0.494 MB, wasted =   0.008 MB, total =  74.350 MB, #bytes/prim =  70.81
   shared: used =   0.000 MB, free =   0.000 MB, wasted =   0.000 MB, total =   0.000 MB, #bytes/prim =   0.00
 created scene intersector
   accels[0]
-    intersector1  = avx2::BVH8InstanceIntersector1
-    intersector4  = avx2::BVH8InstanceIntersector4Chunk
-    intersector8  = avx2::BVH8InstanceIntersector8Chunk
-    intersectorN = avx2::BVH8InstanceIntersectorStream
+    intersector1  = avx2::BVH4InstanceIntersector1
+    intersector4  = avx2::BVH4InstanceIntersector4Chunk
+    intersector8  = avx2::BVH4InstanceIntersector8Chunk
+    intersectorN = avx2::BVH4InstanceIntersectorStream
 selected scene intersector
-  intersector1  = avx2::BVH8InstanceIntersector1
-  intersector4  = avx2::BVH8InstanceIntersector4Chunk
-  intersector8  = avx2::BVH8InstanceIntersector8Chunk
-  intersectorN = avx2::BVH8InstanceIntersectorStream
-Rendering sample 1 ... frame in 3.108 seconds
+  intersector1  = avx2::BVH4InstanceIntersector1
+  intersector4  = avx2::BVH4InstanceIntersector4Chunk
+  intersector8  = avx2::BVH4InstanceIntersector8Chunk
+  intersectorN = avx2::BVH4InstanceIntersectorStream
+Rendering sample 1 ... frame in 3.079 seconds
 Rendering sample 2 ...

So when setting compactMode as an integer flag the BHV ends up being smaller, while setting it as a bool flag has seemingly no influence. Could this be because of this piece of code in ospray/common/Model.cpp, where the parameter is read as an int?
  void Model::commit()
  {
    useEmbreeDynamicSceneFlag = getParam<int>("dynamicScene", 0);
    useEmbreeCompactSceneFlag = getParam<int>("compactMode", 0);
    useEmbreeRobustSceneFlag = getParam<int>("robustMode", 0);

Hmmm, looking at components/ospcommon/utility/ParameterizedObject.h it indeed looks like getParam<int>() will return the default value when the named value is not set as int but as bool:
    template<typename T>
    inline T ParameterizedObject::getParam(const std::string &name,
                                           T valIfNotFound)
    {
      Param *param = findParam(name);
      if (!param) return valIfNotFound;
      if (!param->data.is<T>()) return valIfNotFound;
      return param->data.get<T>();
    }

Ooof, that's quite a wart in OSPRay. Are you OK if this gets fixed in v2.0 instead of creating a v1.8.3?

Actually, this uncovers even worse issues than previously thought, probably worthy of a v1.8.3.

For me, it's easy to work around, as long as I know what types to use.

OK if this gets fixed in v2.0 instead of creating a v1.8.3

Should I read that as 2.0 being imminent, or that 1.8.2 was expected to be frozen to focus all attention on 2.0? ;-)

The latter....
We are on track for v2.0 in early May (we need to hit that timeline to stay on track for summer conference season). In previous attempts to work on v2.0, we always convinced ourselves that v1.x features/fixes were more important...this time around we are trying to stay committed! :)
However, fixing this should be straightforward (API.cpp just needs to set the value as an int instead of bool), and in v2.0 we can re-evaluate all our parameters to actually distinguish between int vs. bool without worrying about backward compatibility (which a real fix might break).

FWIW, in v1.x all bool parameters are queried as int, so you can safely set them with ospSet1i(). I will probably just have ospSet1b() set things as ints in v1.8.3 (why it's easy for now).


[Feature request] Support custom caching for non-reproducible actions?

I've been experimenting with using non-reproducible systems in build systems like bazel and buck2. Buck2 and many modern build systems make the assumption that all build actions are reproducible. However I'd really like to use buck2 with some non-deterministic build actions. I'm fully aware that an enormous amount of work has gone into making buck2 reproducible and hermetic, and I'm aware that what I'm suggesting here runs somewhat counter to that effort.
Would the buck2 team be against having an optional/experimental configuration that allows for more direct control over cache-artifact lifetimes? I could see the following caching strategies being useful at a "rule" level;

Never cache
Cache expires after N seconds
Cache expires on cron schedule
Lazy cache evaluation i.e. immediately return cached artifact and then update it next time it's used.

This might look something like;
# BUCK
cxx_binary(
    name = "fuzz_foo",
    srcs = ["fuzz.cpp"],
    link_style = "static",
    # Default to never
    cache_eviction_strategy = "never",
)

timed_cache(
  name = "weekly",
  expire_after = "1w",
)

fuzz_report(
    name = "fuzz",
    target = ":fuzz_foo"
    cache_eviction_strategy = ":weekly",
    runs = 10000,
)

buck2 build //:fuzz
# ... building / running fuzzer and creating report

# 5 min later
buck2 build //:fuzz
# ... return cached result

# One week later
buck2 build //:fuzz
# ... building / running fuzzer and creating report

Use case's
I'm a cyber-security researcher and I regularly conduct scan's and do local fuzzing etc. Something that I find excellent about buck2 is the ability to create complex repeatable execution graphs. Currently buck2 works great as a declarative build tool where each execution in the execution graph is repeatable e.g. clang. However it would be great to combine some of this with non-reproducible execution graphs as well. This would be useful for;

Fuzzing
Testing LLM's
Scanning a website
etc.

Is this actually a build problem? Shouldn't your implementation in fuzz.cpp e.g. take the current time and use that as a seed (or even better, take it via a command line flag or environment variable so that it's actually reproducible)? You could quantize that time if you need reproducible execution over a given period of time.
It seems to me that the part that you really care about is not the buck2 build part, but rather the buck2 run one, which isn't cached at all.

Is this actually a build problem? Shouldn't your implementation in fuzz.cpp e.g. take the current time and use that as a seed (or even better, take it via a command line flag or environment variable so that it's actually reproducible)? You could quantize that time if you need reproducible execution over a given period of time.

It may not be a build problem, but more generally an automation problem, but that might come down to just semantics. I'd be quite happy for this to look something like;
buck2 run_pipeline //:some_pipeline
It's true you could use a consistent seed for fuzzing and just fuzz n-iterations and it's possible to get reproducible outputs in that case. However there are still use-cases where it's nice to have a full execution graph (that buck2 provides via DICE) where each node in the execution graph is not necessarily reproducible. A more concrete (though still toy) example of a non-reproducible execution graph might include;

Use 5 different scanners to detect a mis-configurations in a website, each outputting there own json file.
Take said json files and convert them into a markdown file.
Take the markdown file and convert it to a static html page for developer to view.

But let's say that that the scanner's take 40min to run, and don't need to be run all that often. So having some caching involved would be great, but then you wouldn't want them to be cached indefinitely (which would be the case with buck2). It's also the case that this execution graph is by definition non-reproducible because the website that is being scanned is outside of your control.
Buck2 solves 90% of this automation problem by handling execution graphs, remote execution and caching etc. I'm aware that this doesn't necessarily fit with the primary goal of buck2 being a build system. But it has enough overlap for me to find it interesting as a generalised declarative automation framework. Does this sound too far out of left field for buck2? I'm aware that this is kind of build-system adjacent.

It seems to me that the part that you really care about is not the buck2 build part, but rather the buck2 run one, which isn't cached at all.

This is sort of true, although I think what I'm hoping for is something like buck2 run but re-using some of the execution graph semantics in the runtime space.

Never cache

Yeah, so we've talked about adding support for this kind of a thing before, primarily under the name "volatile actions." I think the hypothetical API is that when you call ctx.actions.run, you can specify volatile = True and then your action will get rerun on every command. Obviously this would need to be used with care.
The use-case that we had in mind at the time is better integration with system toolchains; for example, maybe you want to invalidate your entire build graph when you upgrade your rustc version. You could define a volatile action that prints the rustc version into a file, and then add that as a never-read input to every rustc action.
I think the vibe on volatile actions is basically positive. Just needs someone to go and write some code I think.

Cache expires after N seconds
Cache expires on cron schedule

These two seem like they could be implemented on top of the first one. You can have a volatile action that prints the current timestamp / 3600 to a file, and then depend on that file from every other action - at the top of the hour, the contents of that file will change and your actions get invalidated.
I suppose that's not exactly the same as "expire after 1 hour," but its pretty close. If you don't care about RE, then you can actually modify this scheme to use incremental actions and then get exactly those semantics (have an action that writes the current timestamp to its output, if its been more than 1 hour since the timestamp written there right now).

Lazy cache evaluation i.e. immediately return cached artifact and then update it next time it's used.

This one I'm a bit more hesitant on. My concern though isn't around the caching, but rather around the action execution management. Action executions currently are clearly tied to the lifetime of a single command, ie they are executed as part of that command, need to finish before the command can finish, and are cancelled if the command is cancelled. What you're suggesting seems like it would be a deviation from that, which I think is probably hard to do correctly, both in principle and in practice.

I've thought about the fuzzing thing a number of times, and I sort of came to the conclusion that you probably want to fix the seeds in your fuzzing tests and try to have a reasonable amount of them if you expect them to run under buck2 test or whatnot. Actual major-scale runs of fuzzing e.g. with Clusterfuzz should probably be done by deploying some other kind of artifact (e.g. an OCI image to be deployed and probed.)
But "Volatile actions" are also really useful for a lot of other random things where a program may need to invoke some kind of ambient side effect on the system, which can actually be used to improve the precision of dependency tracking. When combined with early cut-off, a lot of the time they aren't so bad, like this example:

You could define a volatile action that prints the rustc version into a file, and then add that as a never-read input to every rustc action.

This is actually a great example that I used to do all the time when using Shake (through a feature called "Oracles.") I think it's really important for some cases. For example, let's say a user builds a project with CC=gcc as the compiler, it's just picked up off $PATH. Then they do a global system upgrade to their whole system, getting a new C compiler. If the user then enters the project and tries to build, it won't rebuild anything, because nothing seems to have changed; the build system can't track anything more than the fact it invokes "$CC" to compile objects, and as far as it can tell that command still exists just fine (probably /usr/bin/gcc, so even the path doesn't tell you anything), so there's nothing left to do.
In C or C++, this kind of mistake isn't so bad, because they have de-facto stabilized ABIs. This exact case can happen today in Buck2 with system_rust_toolchain and system_cxx_toolchain; but in the case of Rust, this error could cause catastrophic and hard-to-understand build failures. You can upgrade rustc, add a new library, run buck2 build, and now you might end up with rlibs that were cached and compiled previously with an old compiler, and rlibs that were compiled freshly with the upgraded compiler, and you will be lucky if the linker just explodes on them.


compatibility with magento 2.2.4

thanks, i have successfully used the 1.0.1 tag in my composer.json

Thank you


catalog.xml should explicitly list provided entity files

Current XML catalog focheck/schema/catalog.xml redirects all URI starting with http://www.w3.org/2003/entities/2007/. However not all entity files living at that location are provided as a part of focheck. This can lead to errors when other resource is referenced, e.g. http://www.w3.org/2003/entities/2007/w3centities-f.ent but local copy of file is not present.
Solution is either to copy all .ent files into focheck or explicitly list only entity files that are part of focheck in catalog.xml.

Would the current catalog.xml work better?


bsc.exe: unknown option '-c' error in .re files with bs-platform 8.1.1

I'm not clear if this is the repo where I should be filing this error (I'm happy to put it somewhere else), but I'm getting the following error at the top of every .re file in a project once I started using bs-platform 8.1.1:
<project_path>/node_modules/bs-platform/darwin/bsc.exe: unknown option '-c'.
Usage: bsc <options> <files>
Options are:
  -bs-super-errors  Better error message combined with other tools
  -unboxed-types  unannotated unboxable types will be unboxed
  -bs-re-out  Print compiler output in Reason syntax
  -bs-jsx  Set jsx version
  -bs-refmt  Set customized refmt path
  -bs-gentype  Pass gentype command
  -bs-suffix  Set suffix to .bs.js
  -bs-no-implicit-include  Don't include current dir implicitly
  -bs-read-cmi  (internal) Assume mli always exist
  -bs-D  Define conditional variable e.g, -D DEBUG=true
  -bs-unsafe-empty-array  Allow [||] to be polymorphic
  -nostdlib  Don't use stdlib
  -bs-internal-check  Built in check corrupted data
  -bs-list-conditionals  List existing conditional variables
  -bs-binary-ast  Generate binary .mli_ast and ml_ast
  -bs-simple-binary-ast  Generate binary .mliast_simple and mlast_simple
  -bs-syntax-only  only check syntax
  -bs-eval  (experimental) Set the string to be evaluated in OCaml syntax
  -e  (experimental) Set the string to be evaluated in ReasonML syntax
  -bs-cmi-only  Stop after generating cmi file
  -bs-cmi  Not using cached cmi, always generate cmi
  -bs-cmj  Not using cached cmj, always generate cmj
  -as-ppx  As ppx for editor integration
  -bs-g  debug mode
  -bs-sort-imports  Sort the imports by lexical order so the output will be more stable (default false)
  -bs-no-sort-imports  No sort (see -bs-sort-imports)
  -bs-package-name  set package name, useful when you want to produce npm packages
  -bs-ns  set package map, not only set package name but also use it as a namespace
  -bs-no-version-header  Don't print version header
  -bs-package-output  set npm-output-path: [opt_module]:path, for example: 'lib/cjs', 'amdjs:lib/amdjs', 'es6:lib/es6'
  -bs-no-builtin-ppx disable built-in ppx (internal use)
  -bs-cross-module-opt enable cross module inlining(experimental), default(false)
  -bs-no-cross-module-opt disable cross module inlining(experimental)
  -bs-diagnose  More verbose output
  -bs-no-check-div-by-zero  unsafe mode, don't check div by zero and mod by zero
  -bs-noassertfalse  no code for assert false
  -noassert  Do not compile assertion checks
  -bs-loc  dont display location with -dtypedtree, -dparsetree
  -impl <file>  Compile <file> as a .ml file
  -intf <file>  Compile <file> as a .mli file
  -dtypedtree  debug typedtree
  -dparsetree  debug parsetree
  -drawlambda  debug raw lambda
  -dsource  print source
  -fmt  (internal) format as Res syntax
  -where  Print location of standard library and exit
  -ppx <command>  Pipe abstract syntax trees through preprocessor <command>
  -open <module>  Opens the module <module> before typing
  -verbose  Print calls to external commands
  -keep-locs  Keep locations in .cmi files
  -no-keep-locs  Do not keep locations in .cmi files
  -nopervasives  (undocumented)
  -v  Print compiler version and location of standard library and exit
  -version  Print version and exit
  -I <dir>  Add <dir> to the list of include directories
  -pp <command>  Pipe sources through preprocessor <command>
  -absname  Show absolute filenames in error messages
  -bs-no-bin-annot  disable binary annotations (by default on)
  -i  Print inferred interface
  -nolabels  Ignore non-optional labels in types
  -no-alias-deps  Do not record dependencies for module aliases
  -o <file>  Set output file name to <file>
  -principal  Check principality of type inference
  -short-paths  Shorten paths in types
  -unsafe  Do not compile bounds checking on array and string access
  -w <list>  Enable or disable warnings according to <list>:
        +<spec>   enable warnings in <spec>
        -<spec>   disable warnings in <spec>
        @<spec>   enable warnings in <spec> and treat them as errors
     <spec> can be:
        <num>             a single warning number
        <num1>..<num2>    a range of consecutive warning numbers
        <letter>          a predefined set
     default setting is +a-4-9-20-40-41-42-50-61-102
  -warn-error <list>  Enable or disable error status for warnings according
     to <list>.  See option -w for the syntax of <list>.
     Default setting is -a+5+6+101
  -warn-help  Show description of warning numbers
  -color {auto|always|never}  Enable or disable colors in compiler messages
    The following settings are supported:
      auto    use heuristics to enable colors only if supported
      always  enable colors
      never   disable colors
    The default setting is 'auto', and the current heuristic
    checks that the TERM environment variable exists and is
    not empty or "dumb", and that isatty(stderr) holds.
  -help  Display this list of options
  --help  Display this list of options```

@thislogancall Hi, this is the repo for the syntax of the language. Would it be possible to move your issue over to https://github.com/buckleScript/bucklescript/issues ?
Is there any external tool calling bsc?

Yeah, npx. I'll move the issue over to the bs repo.


Get list of most funded projects (top 10) in 2022

@MoeNick  Wanted this

I just want to ask if there is a way to determine the top 10 most funded projects in Giveth for 2022

Query
@CarlosQ96  Can you review my query to wether it's correct or not?
select  "slug", COALESCE(SUM("valueUsd"),0) as total from donation
left join project on project.id = "projectId"
where "createdAt" >'2022-01-01 00:00:00'and status='verified'
group by "slug"
order by total DESC
limit 10

Response

slug
total  USD value

expedition-grundeinkommen
480049.94

unchain-fund
146019.31

Colorado-Multiversity-0
99722.02

giveth-house
46855.215

diamante-bridge-collective-0
38331.914

the-giveth-community-of-makers
28479.236

trusted-seed
22532.244

Bloom-Network-0
18826.383

Giveth-Matching-Pool-0
16268.163

Diamante-Luz-Center-for-Regenerative-Living-0
15766.418

@mohammadranjbarz Can you share the curl of this api with me?

@mohammadranjbarz Can you share the curl of this api with me?

We don't have any curl for this, I just get it directly from DB with above query, it's not an issue that needs to get tested


Parse event uri

Hi!
Since working with the nozzle in our CF installation we have been hitting this problem:  uri parsing issue.
In our case both events containing the scheme (ie: http://my.app/v2) and without it (ie: my.app/v2) are generated and the following line for parsing them:
hostname := strings.Replace(strings.Split(event.GetUri(), "/")[0], ".", "_", -1)
just comes short in accounting for both the cases.
In re-factoring the code I've taken into account and tested the performance of the proposed solution which showed comparable execution time to the old one.
The code solves primarily an issue I've been experiencing and  has been written following this premise and perhaps with a limited understanding of other installations and requirements.
Feel free to comment it and use or modify at your discretion.
Thanks
Claudio

Hi @claudio-benfatto, thanks for opening this and for sending in the PR!
I'll test it out when I've got a bit of spare time and hopefully get it merged in.
Thanks!

Any reason this can't be pulled in?  It would be useful to have these metrics working.

@amhuber in case it helps, we keep the fork open sourced here.
The dev branch ( Link to the project ), in particular counts several other small improvements.
The code should be cleaned up in some parts, however, we currently use that version in production.
Feel free to contribute or to open issues as you wish.
Thanks!

Hi @claudio-benfatto and @amhuber.
I'm sorry it's taken me so long to get round to this.
The changes all look great to me! I'll merge them in now.
Thanks for taking time to open this and keep track of it.

Thanks @teddyking . No worries at all. I totally understand.
Btw I kept working on the nozzle after this initial pull request, and I think that next week I may submit some more work. It mostly gravitates around updating the noaa libraries and leveraging the token refresher object from them.
I'm happy for you to review it and if you deem it worth being merged to contribute again ;)
Have a nice Sunday!


Fix/add description to security group rule example

Description

add description to security group rule example.

How Has This Been Tested?

[ ]  Run terraform apply in examples/security_group_rule.

Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring (improves code quality but has no user-facing effect)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Documentation

@tily
Thank you for your contribution!


fix: metrics module repeats unnecessary reconciliation (#233)

Description
Prevent namespace controller from causing unnecessary reconciliation.
Related Issue
Namespace controller causes unnecessary reconciliation of metrics module (#233)
Checklist

[x] I have read the contributing documentation.
[x] I signed and signed-off the commits (git commit -S -s ...). See this documentation on signing commits.
[x] I have correctly attributed the author(s) of the code.
[x] I have tested the changes locally.
[x] I have followed the project's style guidelines.
[x] I have updated the documentation, if necessary.
[x] I have added tests, if applicable.

Additional Notes
The elements of the namespace array returned by GetAnnotatedNamespaces() are in random order, so
If there are more than one annotated namespace, the namespace controller may call Reconcile() with a different spec than before.

fixes #233


POST Parameter encoding

I'm trying to send some parameters to my API (Laravel project) using POST. The request works fine, but if one of the parameters contains a '+' (plus) character, the character is replaced with a ' ' (space) once the request reaches the server!
After digging into the Encoding class, i found that when using POST, the content-type header is set to: "application/x-www-form-urlencoded" but the params themselves are not checked for special (reserved) characters. For urlencoded params the + sign will be interpreted as a space.
Solution would be to check params for reserved characters and replace them with their corresponding percent-encoding.

I'm having the exactly same behaviour.
I hope it isn't intended to escape by myself

Ah ... this is an oversight on my part. Would you be so kind to open PR for a patch? 🙏

Will do!


After a successful approval with Portals it wont allow the trade to complete

Overview
If you do a Portals trade that needs an approval, the approval will go through then ask to sign the transaction, which you can select but then nothing happens. If you do another transaction then come back to the same one you did the approval for previously, you can then complete the trade with no approval with no issues
References and additional details

release:  https://jam.dev/c/afa3c4d8-b4de-4723-b064-4ed214a09445
prod: https://jam.dev/c/ae334ee0-5e88-4ece-b7b5-1ee7d0686c6e
Acceptance Criteria
Should be able to sign Portals trade after approving transaction
Need By Date
No response
Screenshots/Mockups
No response
Ownership

[X] If my bounty needs engineering or needs product I have added the respective labels on the right
[X] As the sponsor of this bounty I will review the changes in a preview environment (ops/product) or review the PR (engineering)

Estimated effort
No response
Sponsor / Stakeholder
No response
Bounty Hunters

Join our discord
Include an expected timeline for you to complete work in the work plan when you apply for this bounty!
Please refer to this link for some basic info
Please do not start work on this issue until you are approved in Gitcoin.

Same root cause as https://github.com/shapeshift/web/issues/8286 after double-checking release Jam, closing as dupe after discussing with @MBMaria


Add unicast_socket binding with errors ignored (for windows only)

properly ignoring binding errors may be helpful in preventing programs from panics, just in case of that windows sometimes retains invalid network interfaces in history.

Merged to master after some edits. Please check if it works for you.


Modify docs.microsoft.com links in assessments

Consider removing /en-us/ from all links to docs.microsoft.com in all assessments. By removing this, it allows non-US users of exam assessments to see the linked pages in their local language.
Preferreded syntax example:
https://docs.microsoft.com/learn/certifications/exams/ms-500

Thanks for the tip! 👍  I'll update things when I get a chance.

Done in commit https://github.com/Build5Nines/exam-assessments/commit/3a67602479b37935151e415333a78c30a1422206


Remove ProcessExtra and the use of java.lang.ProcessBuilder

Fixes #2736.

Hi @kzys,
Thank you for your contribution! We really value the time you've taken to put this together.
We see that you have signed the Lightbend Contributors License Agreement before, however, the CLA has changed since you last signed it.
Please review the new CLA and sign it before we proceed with reviewing this pull request:
http://www.lightbend.com/contribute/cla

How about

sbt.Process and sbt.ProcessExtra are gone. Use scala.sys.process instead.

?

Sounds good.

Hmm, could you restart the build again? I couldn't reproduce that by sbt 'scripted tests/*2of2' and it doesn't seem relate to my change.

Yea some of the test testing gets flaky sometimes. I've restarted the Travis job.


Add wnacg plugin

This should work for Wnacg and other websites similar to Wnacg.
Let me know if you see any bugs.

Awesome thanks for the PR!


Freya 857/abdullah

updated editorial members as well as added a section for alumni.

Nice work Abdullah, just one comment. It is better to tweak the current shortcode a little, so we can pass the data file name as argument. That way we don't need another shortcode for this 👍

I was thinking the same, but was not sure and tried to keep it clean.
Will fix this.