Issue with KMP iOS Project and Xcode User Script Sandboxing

Current Behavior
Hi,
I'm encountering an issue with a Kotlin Multiplatform (KMP) iOS project when running the Gradle script from Xcode with user script sandboxing enabled.
Recently, Apple introduced a new property in Xcode build settings, ENABLE_USER_SCRIPT_SANDBOXING, designed to sandbox and secure user scripts. In the context of building a KMP project, Xcode is expected to run the Gradle task from the user run script phase.
However, when the user script sandboxing is turned on (ENABLE_USER_SCRIPT_SANDBOXING=YES), the Gradle daemon is launched in a sandboxed environment, causing the corresponding task (embedAndSignAppleFrameworkForXcode) to fail with a read-write error. Additionally, even if the user later disables this setting (ENABLE_USER_SCRIPT_SANDBOXING=NO), the task still fails because the sandboxed daemon is reused. The only effective resolution is to stop all daemons explicitly using ./gradlew --stop.
Thank you for your attention to this matter.

Expected Behavior
Perhaps there should be a way to track, that a daemon was launched from sandboxed environment and thow an error.
https://developer.apple.com/documentation/xcode/configuring-the-macos-app-sandbox
Context (optional)
When developing iOS apps with KMP it is very easy to have ENABLE_USER_SCRIPT_SANDBOXING enabled by default, and in the same time could be very tricky to discover the origin of the script failure.
Steps to Reproduce
I have prepared a samle project to demonstrate this issue.
To reproduce the issue you should do the following:

Open the iosApp project with Xcode, located at Sandbox/iosApp/iosApp.xcodeproj
Make sure you have User script sandboxing Yes
Build the project (Cmd + B), this will trigger Gradle task :shared:embedAndSignAppleFrameworkForXcode. This task is intended to run only from the Xcode.
You will see a read-write error in build log

So now we have a gradle daemon instance run in a sandboxed environment.
If you change User script sandboxing to No and try to build the project again, the error will still persist.
The only way to fix it for now is to explicitly stop the daemon with ./gradlew --stop and then Xcode should build with no errors

Sandbox.zip
Gradle version
8.4
Build scan URL (optional)
No response
Your Environment (optional)
No response

Thank you for your interest in Gradle!
This feature request is in the backlog of the relevant team, but this area of Gradle is currently not in focus. It might take a while before it gets implemented.

We need to investigate the exact properties of the sandboxing happening here in order to decide if daemon reuse should be allowed between projects or at all. Additionally, we want to find a general solution for critical environment variables vs a specific solution for this one.

Same effect. Any new findings in this matter?

I disabled it by setting User Script Sandboxing to No in Xcode @janesp

I'm also having this issue, but setting User Script Sandboxing to No didn't fix it  😕
in the logs I have export ENABLE_USER_SCRIPT_SANDBOXING\=NO
but still get this error
BUILT_PRODUCTS_DIR is not accessible, probably you have sandboxing for user scripts enabled.
  To make the embedAndSignAppleFrameworkForXcode task pass, disable this feature.
  In your Xcode project, navigate to "Build Setting", and under "Build Options" set "User script sandboxing" (ENABLE_USER_SCRIPT_SANDBOXING) to "NO".

I followed the docs, which contains most of the steps on this discussion:
https://www.jetbrains.com/help/kotlin-multiplatform-dev/multiplatform-integrate-in-existing-app.html#make-your-cross-platform-application-work-on-ios
And didn't get any errors on this regard.
The only change that I did was running:  chmod +x ./gradlew  which solved:
./gradlew: Permission denied
Command PhaseScriptExecution failed with a nonzero exit code

And with that I could now build the project.


Product does not match the page

Hi,
When I follow this step:

Browse to Identity governance > Privileged Identity Management > Azure Resources.

If this is your first time using Privileged Identity Management for Azure resources, you'll see a Discover resources page.

I've never seen a Discover resources page; What I do see is:

Several times I've walked through the process in what I do see, drilled down to a resource, and selected Manage resource. It then takes me to the resource, with no indication that anything happened. I don't think anything has happened.
I'm being careful as I learn PIM, and have not yet activated PIM on our subscription. If PIM was in fact not activated for the resource after I followed the steps (I'm guessing because I'm not sure how to verify this), could it be because PIM has not yet been activated for the subscription?
Either way, I'm not sure what has or has not happened, and also confused about why what I see in the product does not match the documentation.
I'm hoping you can update this quickly, as I need to get PIM deployed soon.
Thanks!

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

ID: bef8c4d4-c8f5-aaf2-c1e8-4da44f9fdee0
Version Independent ID: 4850f3f9-10ce-78c3-9f6d-8e037e5f3de1
Content: Discover Azure resources to manage in PIM - Microsoft Entra ID Governance
Content Source: docs/id-governance/privileged-identity-management/pim-resource-roles-discover-resources.md
Service: entra-id-governance
Sub-service: privileged-identity-management
GitHub Login: @barclayn
Microsoft Alias: barclayn

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

@W00tFoo
Thank you for bringing this to our attention.
I've delegated this to content author @barclayn, who will review it and offer their insightful opinions.


ERROR  TypeError: 0, _reactNativeCloudStorage.useCloudAvailable is not a function (it is undefined)

Describe the bug
I'm getting this on iOS and Android development EAS builds
ERROR  TypeError: 0, _reactNativeCloudStorage.useCloudAvailable is not a function (it is undefined)
Steps to reproduce
I followed this to install:
https://react-native-cloud-storage.oss.kuatsu.de/docs/installation/expo
And used the Quick Start code.
Expected behavior
Error shouldn't happen?
Screenshots
Environment:
iOS Simulator, Android Device
Additional context
How can I check/debug if react-native-cloud-storage is installed properly for EAS?

Ah the Quick Start is outdated - useCloudAvailable is now useIsCloudAvailable :)


Architecture diagram: wrong visio file for MDM integration pipeline

Wrong visio file is getting downloaded for the Architecture diagram of MDM integration pipeline in the link https://learn.microsoft.com/en-us/azure/architecture/reference-architectures/data/profisee-master-data-management-data-factory
Even though the Visio diagram is linked, when downloaded it is not this diagram that is getting downloaded. Could you please upload the correct diagram for this section?

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

ID: 6724a3b3-3c90-3f27-a51d-454819e88f37
Version Independent ID: 0c1b3984-7fbd-70ab-98e1-a2bb7697876b
Content: Profisee MDM and Azure Data Factory - Azure Architectures
Content Source: docs/reference-architectures/data/profisee-master-data-management-data-factory.yml
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @EdPrice-MSFT
Microsoft Alias: Sunil.Sabat

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

Both of the Visio links are to the same download.  The MDM integration pipeline diagram can be found on page 2 of the download.


fix: end of stream when last GOP is played

fix: end of the stream when last GOP is played
Description
if we end of steam when the last GOP is not playing, the video duration will be changed, and the last GOP will not play ever.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules

Codecov Report

Merging #83 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master      #83   +/-   ##
=======================================
  Coverage   50.59%   50.59%
=======================================
  Files         124      124
  Lines        1753     1753
=======================================
  Hits          887      887
  Misses        866      866

Impacted Files
Coverage Δ

packages/griffith-mp4/src/mse/controller.js
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Cannot use nix-env from a user account

All of this is with mutableUsers = false:
The following error is thrown:
error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied

It works, once I manually set
export NIX_REMOTE=daemon

So this probably needs to be set somewhere.

You are probably using a shell that does not honor /etc/profile.
On Sun, Jan 11, 2015 at 8:10 PM, Profpatsch<EMAIL_ADDRESS>wrote:

All of this is with mutableUsers = false:
The following error is thrown:
error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied
It works, once I manually set
export NIX_REMOTE=daemon
So this probably needs to be set somewhere.
—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/nixpkgs/issues/5713.

--
NixOS Linux http://nixos.org

Indeed, zsh does not load /etc/profile by default, but it does /etc/zprofile.
What would be the sensible way to go? Link profile to zprofile when installing the zsh package?

I think the overall level of support for non-bash shells (as the default user shell) is rather low ATM.

If you are on NixOS, you must set programs.zsh.enable = true to generate the correct profile for zsh. The overall level of support for non-bash shells is poor, but I made sure for myself that zsh is working :)

@ttuegel Ah, thx!

After upgrading to the pre-release version of 18.03, i've got the same issue in bash.

Concerning nix-repl, it turned out it was enough to use nix repl instead (and uninstall nix-repl).


Can't download as SVG

toki! I tried downloading as a SVG, but I can't seem to.
When I click on the “download as SVG” link, it sends me to page with code on.
I tried importing the code into my software but it didn't work, only the code appeared.
Am I doing something wrong ? Or is this a bug ?

Safari again,
I could download the SVG just fine when using Google chrome.
Not sure why Safari is having such a hard time with the renderer.


Improve jdbc userstore queries to have underscore

Fixes wso2/product-is#12649
Similar to the above issue, when searching the roles also if there is an underscore in the filter, the jdbc userstores will treat it as a wild card.
This PR allows having the underscore in the search query

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/1413468669

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/1413468669
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/1413468669

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/1413468669
Status: failure


Cli

@wemeetagain @GregTheGreek I've enabled integration test for Deposit and Eth2Genesis log but for some reason Eth2Genesis event is never fired. At first, I figured, it was because contract is counting from zero,  thus requiring min of 11 validators. But even with new bytecode (in PR) which has this put back to 10, it still doesn't fire event.
Also feel free to comment on cli itself.
When merged should resolve #60

Nvm, I started eth1notifier two times so it gave me double count.

Final comments, curious as to what the logic is behind making the cli a class?

When I started registering them all in one file, it already got huge and hard to check and maintain, so I've made uniform interface for command, and in ./cli/index i'm iterating trough all exported commands and registering them.

Unfortunately something wierd broke when initializing beacon chain so I will stop further fixing hehe

Final comments, curious as to what the logic is behind making the cli a class?

When I started registering them all in one file, it already got huge and hard to check and maintain, so I've made uniform interface for command, and in ./cli/index i'm iterating trough all exported commands and registering them.

Hmm, understood -- looks clean regardless, nice work!

@mpetrunic wow this is awesome to see things coming together!
looks like you uncovered a bug in our ssz library xD I'll take a look, see if we can cut a new release so we can get the node up and running.

Any steps to reproduce the awesome screenshots? :)

Any steps to reproduce the awesome screenshots? :)

In README :)
https://github.com/ChainSafe/lodestar/pull/162/files#diff-04c6e90faac2675aa89e2176d2eec7d8

@mpetrunic Ran into some strange errors.
lodestar git:(cli) ✗ ./bin/lodestar beacon --db test-db --eth1RpcUrl http://<IP_ADDRESS>:8545 --depositContract 0x8c594691C0E592FFA21F153a16aE41db5beFcaaa
2019-04-15 23:37:35 info: Starting eth2 beacon node - LODESTAR!
2019-04-15 23:37:36 info: Connected to LevelDB database at test-db
2019-04-15 23:37:36 info: Started listening on eth1 events on chain<PHONE_NUMBER>375
2019-04-15 23:37:36 error: Cannot read property 'port' of undefined
./bin/lodestar deposit -m "vast thought differ pull jewel broom cook wrist tribe word before omit" -n http://<IP_ADDRESS>:85452019-04-15 23:42:56 info: Received validator deposit event index=0. Current deposit count=0
2019-04-15 23:42:56 info: Received validator deposit event index=1. Current deposit count=1
2019-04-15 23:42:56 info: Received validator deposit event index=2. Current deposit count=2
2019-04-15 23:42:56 info: Received validator deposit event index=3. Current deposit count=3
2019-04-15 23:42:56 info: Received validator deposit event index=4. Current deposit count=4
2019-04-15 23:42:56 info: Received validator deposit event index=5. Current deposit count=5
2019-04-15 23:42:56 info: Received validator deposit event index=6. Current deposit count=6
2019-04-15 23:42:56 info: Received validator deposit event index=7. Current deposit count=7
2019-04-15 23:42:56 info: Received validator deposit event index=8. Current deposit count=8
2019-04-15 23:42:56 info: Received validator deposit event index=9. Current deposit count=9
2019-04-15 23:42:56 info: Received Eth2Genesis event. blockNumber=10, time=1555545600
2019-04-15 23:42:56 info: Initializing beacon chain.
(node:32792) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'length' of undefined
    at pack (/Users/gregmarkou/tempClones/lodestar/node_modules/@chainsafe/ssz/lib/util/hash.js:61:17)
    at _hashTreeRoot (/Users/gregmarkou/tempClones/lodestar/node_modules/@chainsafe/ssz/lib/hashTreeRoot.js:41:75)
    at hashTreeRoot (/Users/gregmarkou/tempClones/lodestar/node_modules/@chainsafe/ssz/lib/hashTreeRoot.js:82:10)
    at getGenesisBeaconState (/Users/gregmarkou/tempClones/lodestar/lib/chain/helpers/genesis.js:105:54)
    at BeaconChain._callee3$ (/Users/gregmarkou/tempClones/lodestar/lib/chain/index.js:160:67)
    at tryCatch (/Users/gregmarkou/tempClones/lodestar/node_modules/regenerator-runtime/runtime.js:45:40)
    at Generator.invoke [as _invoke] (/Users/gregmarkou/tempClones/lodestar/node_modules/regenerator-runtime/runtime.js:271:22)
    at Generator.prototype.(anonymous function) [as next] (/Users/gregmarkou/tempClones/lodestar/node_modules/regenerator-runtime/runtime.js:97:21)
    at asyncGeneratorStep (/Users/gregmarkou/tempClones/lodestar/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
    at _next (/Users/gregmarkou/tempClones/lodestar/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
    at /Users/gregmarkou/tempClones/lodestar/node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
    at new Promise (<anonymous>)
    at BeaconChain.<anonymous> (/Users/gregmarkou/tempClones/lodestar/node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12)
    at BeaconChain.initializeChain (/Users/gregmarkou/tempClones/lodestar/lib/chain/index.js:195:33)
    at Object.onceWrapper (events.js:277:13)
    at EthersEth1Notifier.emit (events.js:189:13)
    at EthersEth1Notifier._callee5$ (/Users/gregmarkou/tempClones/lodestar/lib/eth1/ethers.js:258:35)
    at tryCatch (/Users/gregmarkou/tempClones/lodestar/node_modules/regenerator-runtime/runtime.js:45:40)
    at Generator.invoke [as _invoke] (/Users/gregmarkou/tempClones/lodestar/node_modules/regenerator-runtime/runtime.js:271:22)
    at Generator.prototype.(anonymous function) [as next] (/Users/gregmarkou/tempClones/lodestar/node_modules/regenerator-runtime/runtime.js:97:21)
    at asyncGeneratorStep (/Users/gregmarkou/tempClones/lodestar/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
    at _next (/Users/gregmarkou/tempClones/lodestar/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
(node:32792) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:32792) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@GregTheGreek this is the same error that @mpetrunic ran into.
its unrelated to the cli functioning, its a bug in ssz (that we resolved in 0.2.0)

@wemeetagain I updated the package.json to use 0.2.0 locally and it still gave me the same error

@GregTheGreek You have to rebuild (yarn build). Still runs into an error, but its a different error (in helpers/stateTransitionHelpers).
But neither of these are bugs in this PR. These are latent bugs in other unrelated parts of the codebase. We're just now seeing them b/c this PR finally lets us run everything.

@wemeetagain I see what you're saying -- sorry for not being clear the main error im seeing is from my stack above on ~line 4
2019-04-16 17:22:30 error: Cannot read property 'port' of undefined
Tried digging through the code on this one, I think may be from the eth1.start() function call from within the beacon command

otherwise this is ready to go imo :)

Ah, gotcha, yeah, that error looks to be we're missing an rpc.port option when we're creating our BeaconNode. We can pass one in in src/node/defaults.ts or src/cli/commands/beacon.ts

Ah, gotcha, yeah, that error looks to be we're missing an rpc.port option when we're creating our BeaconNode. We can pass one in in src/node/defaults.ts or src/cli/commands/beacon.ts

Yup, will fix it and resolve conflicts tonight :)

I've added sourceMap flag to build task so we can easier debug errors (stack trace will show lines in source files).


add option to use with dictionaries

Added the option to pass manual=True through the kwargs param to allow rendering of formatted dictionaries instead of spacy Doc.
This is already possible in displacy already documented here:
https://spacy.io/usage/visualizers#manual-usage

Hi @cceyda sorry for late reply. Thanks a lot for the contribution. :blush:
What if we try adding the manual param as a positional argument after the image_size in the __init__ method, as you mentioned in your comment? In this way we will keep the options dict clean and will simply pass the self.manual to displacy.render.

@tmynn changed it 👍


Implement a search component

As a [role]
I need [function]
So that [benefit]
Details and Assumptions
* [document what you know]

Acceptance Criteria
gherkin
Given [some context]
When [certain action is taken]
Then [the outcome of action is observed]

Implement a search component issues


export type classes

After writing some mini libraries, I realized that we need to export the classes so we don't have to use type assetions on every line.
// import hierarhy that i suggest
import * as v from '@badrap/valita' // like right now
import * as valitaLib from '@badrap/valita/lib' // export classes for library authors here

Related https://github.com/badrap/valita/issues/29
import { v } from './app/lib/core/schema-utils';

// I have 2-3 schemas for my entities: Domain, FormValidation/FormData, Database/ExternalApi

// domain entity
v.object({ id: v.number() });

// formValidation / FormData validation
// But this validation will fail if we pass data from api (schema above) as is.
v.object({
	id: v
		.string()
		.map(Number.parseInt)
		.assert((value) => value > 0),
});

// Lets you duplicate schema for working with incoming (form api) data too
v.object({
	id: v.union(
		v
			.string()
			.map(Number.parseInt)
			.assert((value) => value > 0),
		v.number(),
	),
});

// What if api can return null/undefined? I need to convert this to `''`:
v.object({
	id: v.union(
		v
			.string()
			.nullable()
			.chain((value) => {
				if (!value) return v.ok(Number.NaN);
				return v.ok(Number.parseInt(value)) ?? '';
			}),
		v.number(), // fallback to value from API
	),
});

// Finally, I decided to write a helper utility.
function field<T extends v.Type>(fieldType: T) {
	// pseudocode heres
	// returns v.union(inputType.chain((value) => fieldType.try(value)), fieldTyoe)
}

// We are here. I need a function that resolves original type and generates mapper from `inputType` to `fieldType if possible
// Resolves is a common function used in form libraries on the frontend (vee-validate, react-hook-forms, etc).

const fieldType = v.string().optional();
// ATM, I was forced to use constructions like, but I don't like it.
const resolveOriginalType = <T extends v.Type>(t: T) => (t.name === 'optional' ? t.type : null;

Probably the main and shortest point is that it will help users write smarter utility functions or schema transformers.
Now, of course, it is also possible to write one and I did so. But inside the function there are a lot of @ts-expect-error and as any, which is pretty unsafe without additional testing.

Yes, you got me right. Just a few comments:
I've already written a library that works in my case. However, internally it relies on private and protected instance fields. This looks like a bit of a mess.
To be honest, the idea of making classes public doesn't seem so straightforward. The internals can still change.
What if we write a function that resolves the type and returns a type tree? Then you can keep the classes private, but users will be able to write their own transformers, and you as the library author will be able to change the implementation.
For example:
const name = v.string().nullable()

const tree = resolve(name)

console.log(tree)

// {name: 'string', nullable: true }

// or simpler, as types works
// {name: 'union', options: [ {name: 'null' }, {name: 'string'} ] }


Use HighLevelGraph layers in dask-mongo.read_mongo

As a follow-up to https://github.com/coiled/dask-mongo/pull/2, we should update dask-mongo.read_mongo to use HighLevelGraph layers (specifically DataFrameIOLayer). This should look very similar to what's done in dask-snowflake.
cc @ncclementi

#6 creates a Bag from a dict dsk. The constructor of Bag internally converts the dict to a HighLevelGraph.

To clarify: Bag.dask is already a HighLevelGraph. This issue is about replacing the basic MaterializedLayer, which is automatically generated by the Bag constructor and contains 1 key per partition, to a bag-specific I/O class.
Since no such class exists today (correct me if I'm wrong), it would need to be first implemented in dask.bag and then used here.

@crusaderky I believe you are correct, this was open by James when we were implementing things to work with writing and reading into dataframes. @jrbourbeau Should we close this issue?

@ncclementi it's still valid - it's just missing the prerequisite infrastructure in the dask package.

Yeah, let's keep it open, but know that it is low priority


BasicObject's instance methods

BasicObject.instance_methods

Ruby:
[:!, :==, :!=, :__send__, :equal?, :instance_eval, :instance_exec, :__id__]

mruby:
[:method_missing, :initialize, :!]

Is there a reason for this difference? In particular, #__send__ can be pretty useful.
One workaround is to use eval("obj.#{method_name}(*args, &block)"), but it's obviously a poor solution.
Another potential workaround:
Kernel.instance_method(:send).bind(obj).call(:method_name)

crashes with:
Segmentation fault: 11

(both Object and BasicObject)

It's interesting.
I don't know why BasicObject#__send__ is nothing.
But,

Kernel.instance_method(:send).bind(obj).call(:method_name)

It might be mruby-method's problem.
I'll check it later.

I made BasicObject compatible with CRuby, with two exceptions:

binding is not implemented for mruby
instance_exec which is implemented in mruby-object-ext gem and moving it to BasicObject is difficult. I don't think it's worth the price of implementation complexity.
The SEGV issue is very interesting, but since it is a separate issue (probably) in mruby-method, it should be treated independently.

ksss/mruby-method size solved at https://github.com/mruby/mruby/commit/8a15abdac2d05d70018f950d428abb0957d7ebd0
Thanks


c/c++ decoder

Is there a way to create c/c++ decoder for production deployment?

If possible, please list the detailed requirements for the production deployment. Currently, the decoder is written by c/c++ backend and wrapped to python api via swig, of course, you can directly call the decoder using c/c++ api.

那么，在我看解码器的代码的时候，是看没有进行 sh setup.sh的那些在decoders文件夹下的swig文件中的c++文件吗？

For CAPI, please refer to https://github.com/PaddlePaddle/Paddle/blob/d398b96823e6df38897fc881b5b71d7bc66013dc/doc/v2/howto/capi/workflow_of_capi_cn.md


Update Get-SPOSiteScriptFromWeb.md

Enhanced documentation with additional description. Added example;

Docs Build status updates of commit 4fdcdda:
:clock10: Full build: the average full build time is 11 min(s) 51 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 4fdcdda:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteScriptFromWeb.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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

Docs Build status updates of commit 5e6dfd5:
:clock10: Full build: the average full build time is 11 min(s) 54 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 5e6dfd5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteScriptFromWeb.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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

Docs Build status updates of commit a08aceb:
:clock10: Full build: the average full build time is 11 min(s) 54 sec(s), this is based on the last 1000 build(s) for this repository.

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

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteScriptFromWeb.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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


Fix close() under PHP8

Fixes #662
At least on some platforms, maybe always with PHP8, is_resource(curl_init())===false because it returns the new \CurlHandle type instead.

Merged in https://github.com/php-curl-class/php-curl-class/commit/933e0bb76bf130b320e8d7e69643ec859caeb128. Thanks!


Changing controls in sc-desktop.py

I made a copy of sc-desktop.py and called it sc-minecraft.py, as I'm attempting to change the controls to be able to play Minecraft with it.
I see where the controls are defined in the file, but changing any of them causes it not to work.
Is there anything else I need to change in the file? I don't know much Python, but I'm generally fairly decent at editing any language.

Hi,
Send me your file please, I'll try to look at it tonight.
Regards
On Wed, Jan 13, 2016 at 4:17 PM, Silent-Hunter<EMAIL_ADDRESS>wrote:

I made a copy of sc-desktop.py and called it sc-minecraft.py, as I'm
attempting to change the controls to be able to play Minecraft with it.
I see where the controls are defined in the file, but changing any of them
causes it not to work.
Is there anything else I need to change in the file? I don't know much
Python, but I'm generally fairly decent at editing any language.
—
Reply to this email directly or view it on GitHub
https://github.com/ynsta/steamcontroller/issues/17.

How shall I send it? I can send the part I changed below:
def evminit():
evm = EventMapper()
evm.setPadMouse(Pos.RIGHT)
evm.setPadScroll(Pos.LEFT)
evm.setStickButtons([Keys.KEY_UP,
Keys.KEY_LEFT,
Keys.KEY_DOWN,
Keys.KEY_RIGHT])
evm.setTrigButton(Pos.LEFT, Keys.BTN_RIGHT)
evm.setTrigButton(Pos.RIGHT, Keys.BTN_LEFT)

evm.setButtonAction(SCButtons.A, Keys.KEY_ENTER)
evm.setButtonAction(SCButtons.B, Keys.KEY_E)
evm.setButtonAction(SCButtons.X, Keys.KEY_Q)
evm.setButtonAction(SCButtons.Y, Keys.KEY_J)

evm.setButtonAction(SCButtons.START, Keys.KEY_ESC)
evm.setButtonAction(SCButtons.BACK, Keys.KEY_TAB)

evm.setButtonAction(SCButtons.LGRIP, Keys.KEY_C)
evm.setButtonAction(SCButtons.RGRIP, Keys.KEY_LSHIFT)

return evm

sc-minecraft.py.txt

Sorry did not yet have enough time to look at your script I'll try to test
it today.
On Mon, Jan 18, 2016 at 9:46 PM, Silent-Hunter<EMAIL_ADDRESS>wrote:

sc-minecraft.py.txt
https://github.com/ynsta/steamcontroller/files/94972/sc-minecraft.py.txt
—
Reply to this email directly or view it on GitHub
https://github.com/ynsta/steamcontroller/issues/17#issuecomment-172649017
.

Hi,
The issue was LSHIFT instead of LEFTSHIFT.
use "sc-minecraft.py debug" to get python exception.
Keycodes are availlable in /usr/include/linux/input.h or can be printed
from python:
from steamcontroller.uinput import Keys
for k in Keys: print(k)
Regards,
On Tue, Jan 19, 2016 at 10:26 AM, Stany MARCEL<EMAIL_ADDRESS>wrote:

Sorry did not yet have enough time to look at your script I'll try to test
it today.
On Mon, Jan 18, 2016 at 9:46 PM, Silent-Hunter<EMAIL_ADDRESS>wrote:

sc-minecraft.py.txt
https://github.com/ynsta/steamcontroller/files/94972/sc-minecraft.py.txt
—
Reply to this email directly or view it on GitHub
https://github.com/ynsta/steamcontroller/issues/17#issuecomment-172649017
.

#!/usr/bin/env python
The MIT License (MIT)

Copyright (c) 2015 Stany MARCEL<EMAIL_ADDRESS>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
"""Steam Controller Mouse, Keyboard mode"""
from steamcontroller import SteamController, SCButtons
from steamcontroller.events import EventMapper, Pos
from steamcontroller.uinput import Keys
from steamcontroller.daemon import Daemon
def evminit():
evm = EventMapper()
evm.setPadMouse(Pos.RIGHT)
evm.setPadScroll(Pos.LEFT)
evm.setStickButtons([Keys.KEY_UP,
Keys.KEY_LEFT,
Keys.KEY_DOWN,
Keys.KEY_RIGHT])
evm.setTrigButton(Pos.LEFT, Keys.BTN_RIGHT)
evm.setTrigButton(Pos.RIGHT, Keys.BTN_LEFT)

evm.setButtonAction(SCButtons.A, Keys.KEY_ENTER)
evm.setButtonAction(SCButtons.B, Keys.KEY_E)
evm.setButtonAction(SCButtons.X, Keys.KEY_Q)
evm.setButtonAction(SCButtons.Y, Keys.KEY_J)

evm.setButtonAction(SCButtons.START, Keys.KEY_ESC)
evm.setButtonAction(SCButtons.BACK, Keys.KEY_TAB)

evm.setButtonAction(SCButtons.LGRIP, Keys.KEY_C)
evm.setButtonAction(SCButtons.RGRIP, Keys.KEY_LEFTSHIFT)

return evm

class SCDaemon(Daemon):
def run(self):
evm = evminit()
sc = SteamController(callback=evm.process)
sc.run()
if name == 'main':
import argparse
def _main():
    parser = argparse.ArgumentParser(description=__doc__)
    parser.add_argument('command', type=str, choices=['start', 'stop', 'restart', 'debug'])
    args = parser.parse_args()
    daemon = SCDaemon('/tmp/steamcontroller.pid')

    if 'start' == args.command:
        daemon.start()
    elif 'stop' == args.command:
        daemon.stop()
    elif 'restart' == args.command:
        daemon.restart()
    elif 'debug' == args.command:
        try:
            evm = evminit()
            sc = SteamController(callback=evm.process)
            sc.run()
        except KeyboardInterrupt:
            return

_main()

Thank you very much!
On Tue, Jan 19, 2016 at 2:31 PM Stany MARCEL<EMAIL_ADDRESS>wrote:

Hi,
The issue was LSHIFT instead of LEFTSHIFT.
use "sc-minecraft.py debug" to get python exception.
Keycodes are availlable in /usr/include/linux/input.h or can be printed
from python:
from steamcontroller.uinput import Keys
for k in Keys: print(k)
Regards,
On Tue, Jan 19, 2016 at 10:26 AM, Stany MARCEL<EMAIL_ADDRESS>wrote:

Sorry did not yet have enough time to look at your script I'll try to
test
it today.
On Mon, Jan 18, 2016 at 9:46 PM, Silent-Hunter<EMAIL_ADDRESS>wrote:

sc-minecraft.py.txt
<
https://github.com/ynsta/steamcontroller/files/94972/sc-minecraft.py.txt>
—
Reply to this email directly or view it on GitHub
<
https://github.com/ynsta/steamcontroller/issues/17#issuecomment-172649017>
.

#!/usr/bin/env python
The MIT License (MIT)

Copyright (c) 2015 Stany MARCEL<EMAIL_ADDRESS>
Permission is hereby granted, free of charge, to any person obtaining a
copy
of this software and associated documentation files (the "Software"), to
deal
in the Software without restriction, including without limitation the
rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included
in
all copies or substantial portions of the Software.

 IN NO EVENT SHALL
THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
"""Steam Controller Mouse, Keyboard mode"""
from steamcontroller import SteamController, SCButtons
from steamcontroller.events import EventMapper, Pos
from steamcontroller.uinput import Keys
from steamcontroller.daemon import Daemon
def evminit():
evm = EventMapper()
evm.setPadMouse(Pos.RIGHT)
evm.setPadScroll(Pos.LEFT)
evm.setStickButtons([Keys.KEY_UP,
Keys.KEY_LEFT,
Keys.KEY_DOWN,
Keys.KEY_RIGHT])
evm.setTrigButton(Pos.LEFT, Keys.BTN_RIGHT)
evm.setTrigButton(Pos.RIGHT, Keys.BTN_LEFT)
evm.setButtonAction(SCButtons.A, Keys.KEY_ENTER)
evm.setButtonAction(SCButtons.B, Keys.KEY_E)
evm.setButtonAction(SCButtons.X, Keys.KEY_Q)
evm.setButtonAction(SCButtons.Y, Keys.KEY_J)
evm.setButtonAction(SCButtons.START, Keys.KEY_ESC)
evm.setButtonAction(SCButtons.BACK, Keys.KEY_TAB)
evm.setButtonAction(SCButtons.LGRIP, Keys.KEY_C)
evm.setButtonAction(SCButtons.RGRIP, Keys.KEY_LEFTSHIFT)
return evm
class SCDaemon(Daemon):
def run(self):
evm = evminit()
sc = SteamController(callback=evm.process)
sc.run()
if name == 'main':
import argparse
def _main():
parser = argparse.ArgumentParser(description=doc)
parser.add_argument('command', type=str, choices=['start', 'stop',
'restart', 'debug'])
args = parser.parse_args()
daemon = SCDaemon('/tmp/steamcontroller.pid')
if 'start' == args.command:
daemon.start()
elif 'stop' == args.command:
daemon.stop()
elif 'restart' == args.command:
daemon.restart()
elif 'debug' == args.command:
try:
evm = evminit()
sc = SteamController(callback=evm.process)
sc.run()
except KeyboardInterrupt:
return
_main()
—
Reply to this email directly or view it on GitHub
https://github.com/ynsta/steamcontroller/issues/17#issuecomment-172960469
.


Product identifier setting not persisting

Current behavior

The product identifier setting is not persisting on the dev version of the app.
Steps:
https://jam.dev/c/704fac61-0a4c-4404-b6c4-bccf512dcd23
Log into dev environment
app will default to internal id
Go to settings -> select internal name
logout of app, log back in
App will revert to internal id

It was due to multiple existence of the product identifier setting, due to which the values are getting over-ridden, I have deleted the duplicate record for this setting.

Issue verified and working fine in release v2.0.0. Hence, closing it.
https://jam.dev/c/1dabe982-36fd-429b-9b93-8bac7c856412


DRAFT: Caip25 permission refactor

Explanation

Renames InternalScopesObject, InternalScopeObject to be NormalizedScopesObject and NormalizedScopeObject
Adds new InternalScopesObject and InternalScopeObject and uses that in the CAIP-25 permission type
Update CAIP-25 permission specification validator

References
Related: https://github.com/MetaMask/metamask-extension/pull/28574
Changelog
No changelog necessary at package has not been released yet
Checklist

[ ] I've updated the test suite for new or updated code as appropriate
[ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate
[ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

@metamaskbot publish-preview

@metamaskbot publish-preview


Dictionaries Browser Method menu

The Dictionary Browser and Projects Browser's methods menu has differences that are somewhat jarring; it would be nice if these were the same.

[x] Particularly, they should both use either Remove Method(s) ... or Delete Method(s).

[x] the are-you-sure-you-want-to-delete dialog is much nicer in the Projects Browser.

[x] Also the Browser History in the Dictionaries Browser is broken.

(edited to create task list. Needed dashes)

Think these three should all be fixed in 3.0.14. The second item took quite awhile as the dictionary & projects browser didn't share code well. At least for this feature they do now.

There's more that ought to be done, like a line under Browse Senders of..., and the BrowseMethod Pragmas rubs me the wrong way, but that all can wait.


Multiple commands produce....

Description
I patched my @shopify/react-native
"@shopify/react-native-skia": "0.1.185"
got multiple commands produce error on react_native_skia.framework header files
Version
0.1.185
Steps to reproduce
Patched react-native-skia to get rid of the GRrecordingheader.h error now facing this issue
Snack, code example, screenshot, or link to a repository

The interesting issue to fix is more about why you needed to patch the package in the first place.
A reproducible example (maybe a small repo on github) would be perfect.

Hopefully we can fix the issue, please find the info at #1619
Closing as a duplicate of #1619


Include inventory_to_use vars to add cluster's hosts in ambari_groups

This change permit to create a file in vars that define the cluster by overriding some of the properties defined in 'all' file without modifying it.
For example, I create playbooks/group_vars/poc_cluster:
`---
cluster_name: 'poc_cluster'
ambari_admin_password: '123abc;'
default_password: '123abc'
blueprint_dynamic:

host_group: "hdp-master"
clients: ['ZOOKEEPER_CLIENT', 'HDFS_CLIENT', 'YARN_CLIENT', 'MAPREDUCE2_CLIENT', 'TEZ_CLIENT', 'PIG', 'SQOOP', 'HIVE_CLIENT', 'OOZIE_CLIENT', 'INFRA_SOLR_CLIENT', 'SPARK2_CLIENT', 'HBASE_CLIENT']
services: ['NAMENODE', 'SECONDARY_NAMENODE', 'ZOOKEEPER_SERVER', 'KAFKA_BROKER', 'RESOURCEMANAGER', 'APP_TIMELINE_SERVER', 'YARN_REGISTRY_DNS', 'TIMELINE_READER', 'HISTORYSERVER', 'HIVE_SERVER', 'HIVE_METASTORE', 'OOZIE_SERVER', 'HBASE_MASTER', 'SPARK2_JOBHISTORYSERVER', 'ZEPPELIN_MASTER', 'AMBARI_SERVER', 'INFRA_SOLR', 'NIFI_REGISTRY_MASTER']

host_group: "hdp-slave"
clients: ['ZOOKEEPER_CLIENT', 'HDFS_CLIENT', 'YARN_CLIENT', 'MAPREDUCE2_CLIENT', 'TEZ_CLIENT', 'PIG', 'SQOOP', 'HIVE_CLIENT', 'OOZIE_CLIENT', 'INFRA_SOLR_CLIENT', 'SPARK2_CLIENT', 'HBASE_CLIENT']
services: ['DATANODE', 'NODEMANAGER', 'HBASE_REGIONSERVER', 'NIFI_MASTER']
`

Is the goal to have a single copy of ansible-hortonworks which you can then point to different inventories and group_vars/_ files at each run?
If so, that is a good feature, however it will need a bit more work:

Name 'inventory_to_use' isn't appropriate as it sounds like we are selecting the inventory.
Would need to update all the scripts to use it.
Would need a way to indicate you want to use it instead of 'all'.

Possibly defaulting to using the inventory name (i.e. group_vars/${inventory_to_use} and falling back to 'all' if it's not there).
Or adding a switch or variable to make it use the named vars file.


shader preprocessor - do not import if scope is not valid

Objective

fix #4011
imports are not limited by the current ifdef they are in

Solution

process imports only if the current scope is enabled

Makes sense to me. Thanks for the quick fix!

bors r+


DESTBINDIR insufficient for local install

Without also providing MANINST, the docs (which it attempts to install first) fail to install, causing the binaries to not be installed. The reason is simply that the local user does not have permission to write to /usr/local/share/man.

This seems reasonable, I will fix it. Maybe use MANINSTDIR instead as it better matches DESTBINDIR name.


Make context sub-menu easier to press

Description
There are two small issues that make it hard access the context sub-menus.
Issue 1
Sometimes the sub-menu doesn't spawn directly adjacent to the option spawning that menu

Issue 2
The sub-menu is always destroyed when the pointer leaves the option. Most context windows will have a time before the menu is destroyed so you can briefly move your mouse over other options en route to the newly create menu.
Steps To Reproduce

Right click a folder for example
Mouse over 'More'
Move mouse to new sub-menu but via the option above 'Move'
Sub-menu infuriatingly is destroyed shortly after

Expected behavior
Sub-menu should stay alive for long enough to mouse over them like the context menus in windows file explorer.
Files Version
Version: <IP_ADDRESS> OS Version: 10.0.19043.1586
Windows Version
Version 10.0.19043 Build 19043
Relevant Assets/Logs
None

Thank you for your feedback, we don't have a lot of control over the menu since we're using the default WinUI control. Can you open an issue in the WinUI repository?


Blogpost for .NET support

https://www.notion.so/amplication/Amplication-s-AI-based-Backend-Development-Platform-Now-Generates-Code-in-NET-Framework-6fdf44e501854c6c8ad024edf813646f?pvs=4

@dericksozo - Please review the blog post I wrote, and add your comments


Dragging a property from the search (control - f) will lack a self node.

Godot version:
0eb924a425281dfae4672ec114dc42b4067205ec
Issue description:
Dragging a property from the Generic Visual Search (control - f) will lack a self node.
Press control-f in an empty visual script.

This could be easily fixed by making the new function node a self call.

That sounds like a good idea It's a variable change from instance to self, want to look at it?

That sounds like a good idea It's a variable change from instance to self, want to look at it?

Will do!


External Paths

Is it possible to use external URLs to load PDFs?

Questions is answered, in current ViewerJS external urls are working (depending on proper CORS setup, which is outside the scope of ViewerJS). So closing this issue.


[CONTRIBUTION]: Work on table Contact

Work on the table contacts ,  according to Database Schema:

[ ] Name
[ ] Contact Number
[ ] Email
[ ] Reference it to Teacher
[ ] Reference it to Student

@AbhijithGanesh can I be assigned to this?

Would you like to work on the student table first? then this ?It'd be more effective this way IMO @Anik-Bardhan

@AbhijithGanesh okay. Assign me to it then.

Can you request in the issue link #6

Please don't create UUID field, It is not necessary


MANAGEDKAFKA_ADMINSERVER_EDGE_TLS_ENABLED broken

The intent of MANAGEDKAFKA_ADMINSERVER_EDGE_TLS_ENABLED was that it would cause the admin server to be run HTTPs, edge, terminated.  This feature seems to have become broken.
I've not looked why.
You can work around by setting the same env var on the fleetshard subscription.

@k-wall , support for individual envs passed to fleetshard was removed with the move to use KFM as the deployment mechanism for the data plane components. Using the subscription is the correct approach now for things like this.

https://github.com/bf2fc6cc711aee1a0c2a/kas-installer/blob/main/README.md#service-customization documents how it is done.


Make toolchain detection more resilient

Failing to run java_home on MacOS will simply return no installations
instead of failing the build.

@bot-gradle test RFM


Inline suggest hover cursor feedback is wrong when there is only 1/1 option

Testing #172029
Hovering this area shows the pointer cursor but it should be disabled and not change the cursor as there is only 1 option.

/duplicate

Do you mean https://github.com/microsoft/vscode/issues/172150, because that's only talking about the number part?

Can you verify that the fix of #172150 also fixes this? Thanks!


Why on-premise servers need to resolve names in private dns zones???

In the section "Traffic flow for an on-premises DNS query", why the on-premise servers would try to resolve names in private dns zones?
In "Use a DNS forwarder VM" section, conditional forwarders are for normal PaaS zone like database.windows.net and it is a good example of how split-brain DNS is achieved in Azure. Why with private DNS resolver, the devices that need to resolve the names, have to know they need to resolve names in private zones???

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

ID: 6ce03940-eeb4-98b6-4624-1615715beec4
Version Independent ID: 6ce03940-eeb4-98b6-4624-1615715beec4
Content: Azure DNS Private Resolver - Azure Example Scenarios
Content Source: docs/example-scenario/networking/azure-dns-private-resolver.yml
Service: architecture-center
Sub-service: example-scenario
GitHub Login: @moorthyannadurai
Microsoft Alias: moannadu

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

Revisions to the article are underway in PR 10164, but an update request and a user story need to be set up before the work can continue.

Assigning this issue to the author, who is in the process of making updates to the article in PR 10164.

This issue has been addressed in below PR
https://github.com/MicrosoftDocs/architecture-center-pr/pull/10164

Closing issue per above comment and PR


The size of the input window does not change as the window size changes

Still have the problem in 1.4 release

The size of the input window does not change as the window size changes

well spotted. This is because django-formset pilfers the styles from the original <select>-element and applies them to the web component implementing the functionality. I will try to add an event listener and recompute the styles.
Thanks for reporting.
Originally posted by @jrief in https://github.com/jrief/django-formset/issues/132#issuecomment-2053603974

Duplicate of #132
This bug has not been fixed yet and is not mentioned on the Changelog.


Update "Updates Page" for  DCP 22 Release

New projects (10):

Cell atlas of the human ocular anterior segment: Tissue-specific and shared cell types
Dissecting the cellular specificity of smoking effects and reconstructing lineages in the human airway epithelium
SARS-CoV-2 infection of the oral cavity and saliva.
Single cell RNA-seq analysis of adult and paediatric IDH-wildtype Glioblastomas
Single cell analysis of endometriosis reveals a coordinated transcriptional program driving immunotolerance and angiogenesis across eutopic and ectopic tissues
Single-Cell Lymphocyte Heterogeneity in Advanced Cutaneous T-cell Lymphoma Skin Tumors
Single-cell atlas of diverse immune populations in the advanced biliary tract cancer microenvironment
Single-cell transcriptomic analyses provide insights into the developmental origins of neuroblastoma.
Single-cell transcriptomic analysis of the adult mouse spinal cord reveals molecular diversity of autonomic and skeletal motor neurons
The regulatory landscapes of human ovarian ageing

Updated projects (3):

A spatial multi-omics atlas of the human lung reveals a novel immune cell survival niche
Cellular heterogeneity of human fallopian tubes in normal and hydrosalpinx disease states identified by scRNA-seq
A single-cell reference map of transcriptional states for human blood and tissue T cell activation

PR for this work is here: https://github.com/DataBiosphere/data-portal/pull/1915

Superseded by #1921


IGNITE-21052 Improved measurement of first query planning time

https://issues.apache.org/jira/browse/IGNITE-21052
Issue:
first query planning takes much longer, mainly due to class loading.
We found that the most time was spent scanning the class path during initialization of RelMetadataQueryEx.
And this is redundant now, since from Calcite 1.28.0 there is no need to register all known RelNode subtypes (see CALCITE-4546 for details).
Also it was found that initialization of PlannerPhase enum loads 600+ classes, and this loading affects planning time.
So I decided:

Remove redundant RelNode subtypes registration during initialization of RelMetadataQueryEx (on TeamCity it took up to 5 seconds)
Load PlannerPhase related classes during static initialization of planner (on TeamCity it took up to 2 seconds).

After these changes I run unit tests on TC 30+ times without timeout: https://ci.ignite.apache.org/viewType.html?buildTypeId=ApacheIgnite3xGradle_Test_RunUnitTests&branch_ApacheIgnite3xGradle_Test=pull%2F2960&tab=buildTypeStatusDiv
I also analyzed over 10 runs and the (first) planning time now looks more stable, between 1800-2100ms.

I have the same concerns as Yuri (point 1 in his comment). But I think it is out of scope of this PR.


ztunnel has dangerous preStop hook

https://github.com/istio/istio/blob/55192ffa740736d565063627b6bcb8dd70e7c628/manifests/charts/istio-cni/templates/daemonset.yaml#L158
This is good for the last replica, but can break if we have multiple replicas (rolling restart). We need a hitless solution

@dhawton any ideas?

fyi the issue is moving but still remains in https://github.com/istio/istio/pull/43578#discussion_r1117291332

Not stale


Exception when using System.cmd inside a plug function

After adding System.cmd("diff", ["file1.txt", "file2.txt"]) inside my handler I get the following exception:
16:49:36.864 [error] GenServer #PID<0.509.0> terminating
** (FunctionClauseError) no function clause matching in Bandit.HTTP1.Handler.handle_info/2
    (bandit 0.4.5) lib/thousand_island/handler.ex:5: Bandit.HTTP1.Handler.handle_info({:EXIT, #Port<0.35>, :normal}, {%ThousandIsland.Socket{acceptor_id: "3162ABC96567", connection_id: "7278E72B3A7D", socket: #Port<0.34>, transport_module: ThousandIsland.Transports.TCP}, %{handler_module: Bandit.HTTP1.Handler, plug: {ShowroomWeb.Router, []}, read_timeout: 60000}})
    (stdlib 3.16.1) gen_server.erl:695: :gen_server.try_dispatch/4
    (stdlib 3.16.1) gen_server.erl:771: :gen_server.handle_msg/6
    (stdlib 3.16.1) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #Port<0.35>, :normal}
State: {%ThousandIsland.Socket{acceptor_id: "3162ABC96567", connection_id: "7278E72B3A7D", socket: #Port<0.34>, transport_module: ThousandIsland.Transports.TCP}, %{handler_module: Bandit.HTTP1.Handler, plug: {ShowroomWeb.Router, []}, read_timeout: 60000}}

I tried switching to Cowboy and there it works fine. Seems the process sends an exit message which is not handled properly.

Your hunch is correct, the issue here is that the process backing your HTTP connection is being notified that the process backing the cmd call has exited (Thousand Island handlers trap exit by design, which means that they'll see :EXIT messages as above instead of themselves terminating when a child process dies).
Unfortunately, the Plug API doesn't provide a way to surface these into your plug implementation, so whatever path we take here would be policy on the part of Bandit, and might possibly result in opaque behaviour from the perspective of a plug implementor (for example, should we only trap 'normal' exits? Do we log / raise / silently drop errors otherwise?). It's unclear that there is an option here which would satisfy all users.
From a more philosophical perspective, I also think that such process details don't really belong on the user side of the Plug API, as they're really a backing detail of however Bandit decides to implement Plugs (for example, the issue you identify doesn't occur on HTTP2 connections since the HTTP2 implementation in Bandit explicitly handles process exits internally as part of how its process model works). The Plug API is simple, and part of that simplicity is that it is process agnostic; if you need to do things in your plug implementation which are aware of processes, I think the Plug answer to that is that you'll need to handle them yourself using a standalone supervision tree & process model. This also echoes generally accepted practice in Phoenix applications whereby your *Web application is best structured as a thin HTTP-mediated wrapper around your application's actual logic in a separate app.
Having said all of this, I think handling the exit message explicitly in the HTTP1 implementation makes sense, in order to bring it in line with HTTP2. On the one hand, part of Bandit's ethos is to express as little policy internally as possible, and any choice here is going to run counter to that. But on the other hand, the fact that HTTP2 already expresses a policy here (albeit unintentionally) makes us internally inconsistent.
Fixed in 094d3c58f5bc3ce2ab90442be2ba7348d918e6b3.

Do you really want to ignore the reason for the :EXIT message entirely? Is there no value to logging somehow to help with debugging in case the system process is not exiting normally?

@stevensonmt that's a very good question, and one that I deliberately didn't answer in this PR. As I mentioned above, the dogmatic side of me thinks that 'process messages are none of your business as a Plug user', which is correct from an API separation perspective (I think), but obviously deficient from a visibility & debugging perspective (as you point out, Bandit silently eating EXIT messages is the sort of thing that might cost someone hours of work to track down).
As there is no way in the Plug API to hand such termination messages over to the Plug implementor, the best we can do in this case is to log. I would propose:

The clause added in 094d3c58f5bc3ce2ab90442be2ba7348d918e6b3 be refined to consider only normal termination (and to remain silent in this case).
A catchall handle_info/2 handler be added to the end of the HTTP1 handler, which will catch abnormal termination in addition to any other unexpected messages (which will currently crash the handler). This will log at warn.
A similar catchall handle_info/2 be added to the end of the HTTP2 handler.
The existing handle_info(:EXIT) function in the HTTP2 handler be refined to only be silent in the case of Bandit 'internal' (aka stream process) pids terminating. Should a non-internal pid show up here, it will be logged.

Does this seem comprehensive @stevensonmt @philipgiuliani ?

I think that sounds great.  While it might not be in keeping with the pure philosophical foundation of the library, I think users of the library will appreciate the added logging.

Midway through working this up, and I think I'm changing my tune a little bit.
I think the correct thing to do here is to have both the HTTP1 and HTTP2 implementations silently eat :normal exit messages, and explicitly NOT handle anything else. My reasoning is twofold:

If we add a catchall handle_info/2 call to log & notify of all messages sent, we should probably also do something similar for handle_call/3 and handle_cast/2 calls for consistency (that is, if we're making it so that unexpected messages do not crash a handler, we should do so for all message types). This seems to me to be solving the problem in the wrong place - those messages shouldn't be being sent in the first place. Presumably these messages are being sent for a reason, and since we don't have a way of passing them up to the user we should be complaining loudly and fatally that these messages are being sent to the 'wrong' place.

If we were not trapping exits, the behaviour of abnormal termination would be to bring the handler process down; if we cared enough about this to handle it somehow, we would normally do so with a Supervisor mediated process tree. Point being: abnormal process termination isn't something we should live through, even if we log. We're essentially building an ad hoc, informally specified Supervisor implementation, even worse since all we can do is log it and not allow the user to take any action. I think it's much better in this case to not paper any of this over, and to blow up loudly. If the user needs to be able to handle these case, then they'll need to do it in their own process tree and leave Bandit to handle just HTTP concerns.

That's a reasonable approach. I guess the GenServer termination message will include the last message that killed it, providing a sort of de facto log for debugging anyway. I hadn't really been thinking about that earlier, but it's exactly what led OP to identify the problem. Not dying on normal exit is probably all that should be expected in that case.

Fixed in 0.4.7!


Fix memory corruption issue when CPU->CUDA memcpy is involved

Mem corruption happens when there is a CPU to CUDA memcpy. The reason is memcpy node is executed in async, so the input is get released immediately even if CUDA memcpy is still ongoing.
The fix is to check whether the async read is completed or not. If not, defer release to the end of Session.run().

Then what's the purpose of IFence::BeforeUsingAsOutput() ?  Do I still need to call this function after InferenceSession::Run() is returned?

BeforeUsingAsOutput() is used against output tensor, it's called before the kernel get executed. But in majority of case, output tensor is null, it will be no-op. Output tensor will not be null when MLValue is re-used, BeforeUsingAsOutput() is to make sure the previous use of MLValue is completely done.


possibillity to override the planet with planet_override.txt

For when you want to decide which planet to be on, to maximize chances of winning the games on that planet. The code is quite verbose, but it works.
To use it, create the file planet_override.txt next to cheat.php and write the id of the desired planet into it, for example, on linux, to stay on the Abstract Planet until it's done:
$ echo 16 > ~/SalienCheat/planet_override.txt

This way it's possible to change the prioritized planet easily without restarting the script.

If you want to maximize your time on planet this script is not for you. It was designed for max xp.


Color schema is broken

Hello
I've tried to install it. And it looks like:

Any idea how to fix it?
ps: Iterm build 2.1.4

The issue is derived from outdated terminals like stable release of iTerm v2.1.4 or even El Capitan's Terminal.app
They do not support 24-bit true color palette.
There are several options:

Use latest iTerm betas and NOT using Terminal.app
Set let $NVIM_TUI_ENABLE_TRUE_COLOR to 0 in init.vim

I should probably disable true colors by default for maximum compatibility.

Set let $NVIM_TUI_ENABLE_TRUE_COLOR to 0 in init.vim

it doesn't work

Please comment line 50 in init.vim
or simply pull latest changes.

@juanpedrojose
thanks for quick response. everything is fine now! :+1:


Increasing the segment count and corresponding thread in axon 3.1.2 leads to unexpected behaviour

We are using tracking event processor to process events and on increasing the segment count and corresponding threads we sometimes see  mismatch of count between events in eventStore and events being processed.

Could you be a bit more specific on what you do, exactly? Axon doesn't provide an API (yet) to increase the segment count. How did you do this?
How many segments did you configure and how many threads?

The TrackingEventProcessorConfiguration allows to configure segmentSIze in Axon 3.1.2.
The behaviour varies of number of segments and threads:
When we used 3 segments and 3 threads it did not publish all the events.
There were other combinations we tried as well which led to events being published multiple times.

Did you configure a sequencing policy, or use the default?
Do you know which segment numbers you had?

We used the SequentialPerAggregatePolicy.
When we used 3 segments and 3 threads on a single instance we had 0,1,2 as segment numbers and when we used 6 segments and 3 threads with 2 instances it was 0-5 with 3 active on each.

Last control question, sorry for bombarding you: what type of aggregate identifier do you use? A String? A 'custom' object type?

We use Java's random uuid for aggregate ids.
On 19-Feb-2018 21:57, "Allard Buijze"<EMAIL_ADDRESS>wrote:

Last control question, sorry for bombarding you: what type of aggregate
identifier do you use? A String? A 'custom' object type?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AxonFramework/AxonFramework/issues/508#issuecomment-366742680,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC1wX9c3qryd5lwV54TBwBGpzTCAf4BDks5tWaECgaJpZM4SH6qk
.

The aggregate Id is a micro type object that contains the uuid as string.

Then here's my guess: that micro type doesn't implement the equals and hashCode functions. If not, then that is the explanation for it. Axon uses the hashCode to calculate the hash code (what else? ;-)) of an object. Although Axon tries to reuse the same event instances as much as possible, this cannot always be done. If your identifier doesn't implement equals and hashCode, these are basically random values for each instance.
Please confirm if this was indeed the case. I will create a separate issue to implement a "sanity check" to prevent this from happening in the future.

We have added equals and hashcode method in micro type. And the issue
occurs only on certain values of segment size.
On 20-Feb-2018 15:05, "Allard Buijze"<EMAIL_ADDRESS>wrote:

Then here's my guess: that micro type doesn't implement the equals and
hashCode functions. If not, then that is the explanation for it. Axon
uses the hashCode to calculate the hash code (what else? ;-)) of an
object. Although Axon tries to reuse the same event instances as much as
possible, this cannot always be done. If your identifier doesn't implement
equals and hashCode, these are basically random values for each instance.
Please confirm if this was indeed the case. I will create a separate issue
to implement a "sanity check" to prevent this from happening in the future.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AxonFramework/AxonFramework/issues/508#issuecomment-366920337,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC1wX0XyvTG80iNXxFPnMZXVYWrFyhoaks5tWpH0gaJpZM4SH6qk
.

Here's what the problem seems to be,
For segment size the pair of segmentId and mask generated is as follows:
(0,7)
(1,3)
(2,3)
(3,3)
(4,7)
(5,7)
Given an event with aggregateId hashCode ending in bit 101 it will be processed by both segment 1 and 5
For segment id 1 -> 101 & 011 = 01
For segment id 5 -> 101 & 111 = 101
This is the reason why we are seeing duplicates events being sent out.

Thanks for this. You actually anticipated on my next question. I've been creating some tests to run up to 1000000 combination per test run, and never found an entry that would match against two values. This allows me to drill down further into the potential problem.

Good news: I found the issue. A restart of the processor should resolve the issue, as the problem lies in the initialization of segments.
When a processor starts for the first time, it does not find any segments. It will initialize some and store them in the TokenStore. However, the segment ID's it uses locally apparently do not always match the segment IDs stored in the TokenStore.
When a processor starts while segments are already available, it will use those segment ID's to calculate the Segments (including mask), which will yield correct results.

Is this scheduled to be released in any upcoming minor releases.

Yes we are. You should be able to expect 3.1.3 somewhere this week.


Allow S3 keys to be omitted for instance profiles

Allow the s3_access_key and s3_secret_key variables to be omitted and
not rendered into the configuration, which allows Docker Registry (and Boto
underneath) to use IAM instance profiles.
This is similar to 799f209 for GCS. However, I'm not providing a separate
variable to enable this, because there are only two options and the naming
(default credentials) wouldn't match the GCS implementation.

Thanks @dcarley .
I've just included it in release v1.0.6

Very quick, thanks!


flow init should add previewnet to flow.json and create a .gitignore

Issue To Be Solved
I tried flow init saved me an hour, it is amazing.
It would be nice to add previewnet to flow.json and create .gitignore for keys

Awesome! That's so great to hear. Previewnet should be on there when it's created on the stable cadence branch. Do you need it on master? And yes to the gitignore for keys. Great idea.

ah I think this was my bad, I created config with flow init then tried to use it with flow-c1 dev or something. I got error something like: contract EVM alias contains nonexisting network previewnet
flow-c1 init was not interactive somehow.


Move global styles to be handled by each component using styled components.

Move global styles to be handled by each component using styled components
Move the components from the core folder to the components folder
Don't forget to update the title in Storybook

Close this, as we have a new plan to handle MUI by using default styles as much as possible.


RFP - athens

Checklist

[x] The package I am requesting does not already exist on https://chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts with 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL : https://www.athensresearch.org/
Direct download URL for the software / installer : https://github.com/athensresearch/athens/releases/download/v1.0.0-beta.89/Athens-Setup-1.0.0-beta.89.exe
Software summary / short description: Knowledge Database

Also cross-reference https://github.com/chocolatey-community/chocolatey-package-requests/issues/1020

Why the linking cross-reference?

I pick up this package :slightly_smiling_face:
I actually already have created a Chocolatey package which is currently waiting for the review of Moderators :wink:

This package has been reviewed and approved by @TheCakeIsNaOH :slightly_smiling_face:


Add missing provides to OSXUsers.

@liamjm

Putting this in now since it's blocking other work and it's a tiny change.

LGTM


fix: make dialect.URL() return the url with the scheme consistently

This makes connection.URL() return the URL consistently.
closes #538
Before the mysql and sqlite dialects returned no scheme at all and cockroach returned the scheme postgres.

Right so I probably figured out why it was the way it was. The used sql drivers require the URL to be of the (inconsistent) pattern. The question is now: do you want .URL return a URL for the drivers pop uses or should it be consistent? From my point of view it was not clear why the urls would be returned that way and I would prefer consistency to the outside while handling inconsistent drivers internally.
I will happily fix all those tests if you say you will merge that.

My use case was basically:
(with those getXXXPopConnection functions starting a docker container and returning an open pop connection to it)
func ConnectToMySQL(t *testing.T) string {
	c := getMySQLPopConnection(t)
	url := c.URL()
	if !strings.HasPrefix(url, "mysql://") {
		url = "mysql://" + url
	}
	require.NoError(t, c.Close())
	return url
}

func ConnectToPostgres(t *testing.T) string {
	c := getPostgresPopConnection(t)
	require.NoError(t, c.Close())
	return c.URL()
}

func ConnectToCockroach(t *testing.T) string {
	c := getCockroachPopConnection(t)
	url := c.URL()
	if !strings.HasPrefix(url, "cockroach") {
		url = "cockroach://" + strings.Split(url, "://")[1]
	}
	require.NoError(t, c.Close())
	return url
}

I am closing this because OP was able to solve this using the intended API.

I am closing this because OP was able to solve this using the intended API.


fix: revert commit

:tada: This PR is included in version 1.0.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[BUG] Shotcut bug

Information
On MacOs when command+Q is pressed Laradumps try to quit while out of focus. I am using 1.4.0 version on last version of macOs monterey (12.6) on a x86 cpu.
Pre-steps
Open laradumps on MacOs, change the program focus for another program, and press command+Q, laradamps will ask the quit confirmation.
Have you searched through other issues to see if your problem is already reported or has been fixed?

[x] Yes - I did not find it.
[ ] No

Did you read the documentation?

[ ] Yes - I did not find it.
[x] No

Hi @dansysanalyst !
This bug is really driving me crazy, as any time I want to close and running app via "command + w", LaraDumps gets the focus.
Do you have any estimation, in which release this will be fixed?
Thank you so much for your work on this great helper!

In fact, I stoped use it until the solution for this bug... It is very painful.

Hi!. Could you record a video demonstrating? I'm trying to reproduce the problem, but haven't found one yet.

Hi @allanmcarvalho and @tariktokic,
I believe the PR will resolve the issue.
Thanks for the patience and reminders, I've been caught at a big work project ☺

Thanks @dansysanalyst


Should this work with internet passwords?

I'm trying to use this to retrieve and store Internet passwords (on macOS) rather than application passwords, but can't seem to make it work- it doesn't find existing passwords, and it only stores new ones as application passwords. Is it possible with this wrapper?
For example:
[SAMKeychain setPassword:@"12345" forService:@"https://mysite.com" account:@"myuser"];

SAMKeychain does not currently support fetching those items. You would need to set kSecClassInternetPassword for kSecClass instead of kSecClassGenericPassword.

Relevant code can be seen here.

Brilliant, thank you

FWIW I see no reason that couldn't be parameterized unless @soffes has any objections. Open to a pull request!


Update ODBC links

Signed-off-by: Sayali Gaikawad<EMAIL_ADDRESS>Issue #, if available:
N/A
Description of changes:
ODBC driver has new artifact that has been uploaded in production and read for download. Updating the links in the download page.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@stockholmux , @aetter Can you please review and merge this PR?

@gaiksaya Just to confirm - this is just a bug fix or something?

Yeah they fixed few things in this version


Not really an issue but is still a bit annoying

This is not really an issue but I think you should make it possible to run the installer for the newer version without having to manually uninstall the older one. I mean, if it have to uninstall the old version before installing, why can't it do that automatically when I run the installer?

I get this if I update without uninstalling the old version:

Ah, yeah, the crash after updating will be fixed next release. Also, due to how game maker works, this issue of manually updating has always been a bother.

Fixed crash, but manual updates will still be the same.

So I don't have to uninstall anymore before updating?


Add ability to use yaml references in operator files that refer to the main yaml

I'm trying to write an operations file to co-locate the concourse web and db jobs onto one vm.
https://github.com/concourse/concourse-deployment/blob/master/cluster/concourse.yml
If I use replace to add the db job to web:
- type: replace
  path: /instance_groups/name=web/jobs/-
  value:
    release: postgres
    name: postgres
    properties:
      databases:
        port: 5432
        databases:
        - name: *db_name
        roles:
        - *db_role

Then I get an error becasue the anchor is outside of the ops file...
invalid argument for flag `-o, --ops-file' (expected []cmd.OpsFileArg): Deserializing ops file 'colocate-db.yml': yaml: unknown anchor 'db_name' referenced

Is there a way that you could either
a) support yaml anchors spanning files or
b) add to replace the ability to replace a path with another path. (in effect a copy)?

In this particular case, is there a reason that the postgres link is not being used for transferring the database connection configuration?
From the YAML spec perspective, anchors are supposed to be resolved at parse time, so there's no way for the CLI to even access whether something was a reference or not. Rather than trying to use anchors, links are the preferred method since it avoids duplication of values and sidesteps the need for cross-document anchors.
Does that seem reasonable?
Duplicate of #83 and #254.

Yup seems reasonable, thankyou - wasn't aware of that feature - was simply using the pattern provided in the concourse-deployment repo.
Closing.


Tooltip for long words on the GUI

Description
Across the GUI, any long word should be cut short using elipsis and the full text be displayed on hover via tooltip. A proposed max length is 30 characters.

@Prasy12 i assume this is done as well? Can you close it if it is so.


RBAC, build a foreign key

Why in rbac migrate field 'user_id' is varchar (64)
if you migrate to yii2-app-advanced field 'id' in table 'user' integer (11)
because of this, between them you can't build a foreign key

look at #5435

you can write your own migration to create the table with an integer id.


Nested optional struct does not inherit transform_keys(&:to_sym)

Describe the bug
Nested optional structs does not inherit key transformations.
To Reproduce
class MyStruct < Dry::Struct
  transform_keys(&:to_sym)

  attribute :foo, Types::String
  attribute :bar, Dry::Struct.optional do
    attribute :baz, Types::String
  end
end

MyStruct.new({ "foo" => "foo", "bar" => { "baz" => "baz" } })

Expected behavior
It should inherit key transformations from its parent.
My environment

Affects my production application: YES
Ruby version: 3.2.1
OS: macOS 13.3.1

They can't be inherited the way you show, they have to share the same parent class. In your example the closest common ancestor is Dry::Struct, it doesn't have a key transformation. I suggest you use a custom parent class
class MyStructBase < Dry::Struct
  transform_keys(&:to_sym)
end

class MyStruct < MyStructBase
  attribute :foo, Types::String
  attribute :bar, MyStructBase.optional do
    attribute :baz, Types::String
  end
end

Right, that makes sense. At the same time it's somewhat awkward that you get inheritance for free for nested structures without a specific type, but if you want an optional nested structure, you'll have to break out a base class to keep the API the same.

True, I also felt the ergonomics aren't perfect, I couldn't come up with a useful shortcut, though. In your example, it makes sense to apply .optional to the resulting type, that is instead of calling .optional on the base class, you call .optional on the result. Unfortunately, there's no convenient place to do it :( For instance, this won't work:
attribute :bar {
  attribute :baz, :string
}.optional

because it'll send optional to the wrong receiver.
However, it is possible to define your own method like optional_attribute that does the job under the hood. It's probably the best option atm


swift 5 #compiler check

Gets rid of two additional warnings by using #if swift(>=4.1.50)

Hey @tanner0101, you just merged a pull request, have a coin!
You now have 1164 coins.


V2 of Entity Explorer - Account notebook

If this going to Template gallery, you may need to remove output results if they contain PII or secrets like data, which will fail the build check.
If this is going to Template, then please update notebookmetadada.json file as well.

This is included in #146


Add upgrade testnet info for May 15, 2020 upgrade.

Also amend related links and and info.

@majcosta Please have a look also

Looks good to me.

Good day BitcoinCash
I am busy working on my own project but i need a little bit of funding
Any help will be appreciated
Wallet for funding - qp4rrq7j7rsmc87f43tpy63xrf9yrkxpxsusm6k9e9


Upgrade PostgreSQL 13 in production

Similar to what we did in other apps, after we have successful upgrades of PostgreSQL 13 and PostGIS 3.1 in development and staging, we should perform it on production.

[ ] SELECT PostGIS_Extensions_Upgrade(); to get to 3.1.4 (run twice then log back in to confirm)
[ ] Change Terraform variables to 13 and 13-version parameter group
[ ] Run Terraform - will create new group and fail to change DB
[ ] Manually Update database from 12.8->13.6 - choosing the new parameter group terraform created
[ ] SELECT PostGIS_Extensions_Upgrade(); to get to 3.1.5 (run twice then log back in to confirm)
[ ] Maybe some REINDEXing? Not sure  it's worth doing a FULL VACUUM as it didn't do much last time.
[ ] Run another terraform plan

Check commands to run before doing a long operation:
SELECT * FROM pg_available_extensions WHERE installed_version IS NOT NULL;
SELECT * FROM pg_available_extension_versions WHERE name in ('postgis', 'plpgsql');
\l+ (database sizes)

Hey @BryanQuigley , regarding the following item:

Maybe some REINDEXing? Not sure it's worth doing a FULL VACUUM as it didn't do much last time.

From the docs, it seems good to me that this REINDEX ... CONCURRENTLY is a non-blocking operation for write/update/delete. I also saw a sentence in the docs saying Of course, the extra CPU, memory and I/O load imposed by the index rebuild may slow down other operations. So I am wondering if there is any past experience from other similar projects (considering the tables, records, and indices on them) DB upgrades that could give us some idea of if we need to schedule an app downtime to perform it. Or, we could probably do this issue first and perform the reindexing on staging (prod replica). What do you think?

A full vacuum took 1.5 hours on DB prod (on psql 12 a few weeks ago), IMU this should take less time.  We have to schedule downtime for the DB upgrade itself anyway.

@BryanQuigley sounds good.
Hey @maurizi, what would be our usual process for scheduling downtime? I am curious about the following:

Do we show a special login page or something similar that temporarily blocks frontend login during downtime?
Do we happen to have any heuristic of usual low usage time of the app or anything we could infer from CloudWatch to pick a date and time?

From the docs, it seems good to me that this REINDEX ... CONCURRENTLY is a non-blocking operation for write/update/delete. I also saw a sentence in the docs saying Of course, the extra CPU, memory and I/O load imposed by the index rebuild may slow down other operations. So I am wondering if there is any past experience from other similar projects (considering the tables, records, and indices on them) DB upgrades that could give us some idea of if we need to schedule an app downtime to perform it.

We currently run REINDEX ... CONCURRENTLY for our largest table, project, on a monthly basis: https://github.com/PublicMapping/districtbuilder/pull/1101 at midnight Eastern time, and it hasn't caused any issues. From experience it can take quite some time (longer than an hour), but the application remains in a usable state while it's ongoing.

Do we show a special login page or something similar that temporarily blocks frontend login during downtime?

@BryanQuigley whipped up something really basic for one very-long period of downtime recently, but nothing too fancy. Static assets are served by the backend, so if the application is down it's not possible to get to the login page itself.

Do we happen to have any heuristic of usual low usage time of the app or anything we could infer from CloudWatch to pick a date and time?

Our busiest times tend to be evenings. In the past when we've had downtime we've scheduled it during business hours.

Tuesday isn't the best fit for me.. but tomorrow or Friday this week or Wed/Thursday next week work.

Also dropped unused extensions: address_standardizer_data_us, address_standardizer, postgis_raster
Performed some other DB OS updates during downtime.
Manually enabled Performance Insights on Prod DB.
All done and now on Postgres 13  - PostGIS 3.1.


Moving catchcn CO2 file to bcs dir

Addressing issue #471.
This PR is using CO2 file needed for CatchCN offline simulations from boundary conditions area.
To accommodate for this in "legacy_bcs" area we added this file to these boundary conditions versions.
Icarus-NLv3; Icarus ; Ganymed-4_0
@gmao-jkolassa do you need me to add this to any other boundary conditions version?
I will add one more PR to GEOSldas to change path for ldas_setup as well.

Thanks @biljanaorescanin ! Could you please also add this file to the Heracles-NL boundary conditions version, as that is what some of the Catchment-CN4.0 simulations are using. Thanks!

@gmao-jkolassa I just added Heracles-NL its good I've asked I didn't think anyone uses that set.
@mathomp4 My understanding is that NAS sync's to DISCOVER, is that correct? If it is than this should be there with first rsync that happens? Since we already moved BCS files to be used from legacy_bcs path and not ltakacs area.

@mathomp4 My understanding is that NAS sync's to DISCOVER, is that correct? If it is than this should be there with first rsync that happens? Since we already moved BCS files to be used from legacy_bcs path and not ltakacs area.

It's the other way. We sync discover to NAS. So, if this is in whatever BCSDIR is on discover, we should get it at NAS. At the moment, we probably don't have every BCs directory at NAS because we are in a space-crunch. But if things fail, we can figure it out.


Counter Incorrect in Exercise for "hands-free" tempdb in SQL Server 2022

Step 1 under Setup has the Perfmon counter SQL Server:SQL Statistics/Page latch waits/Waits started per second but the counter is SQL Server:Wait Statistics/Page latch waits/Waits started per second.

Fixed


refactor: add issue template for bug, feature & docs

#15 : Added issue template for bug, feature & documentation.

@ashiishme  Please create your PR after you've requested to be assigned to an issue.


Update it for [uefi] version = "0.28.0"

This update nukes uefi-services crate, thus deprecating it. Instead, these functionalities are added to uefi as features and placed in helpers module. This is highly customizable.
When i tried this with [uefi] version = "0.28.0", i got incompatibility errors, like FrameBuffer is in version "0.28.0" but "0.27.0" is requested and same for ModeInfo. So i would like this to be ported to the newer version.
As mentioned in this project's README.md, other projects like uefi-graphics and uefi-graphics-driver seems to be heavily outdated. If possible, i would try to make a pull request for this change, as it is crucial for me to proceed further. I believe this project is still being maintained and not abandoned in 16 days

uefi-graphics2 is a newer and updated version that I maintain now... cuz this here wasn't touched in ages

Nope, this project is stil active... I'll try to test and update it in a couple of hours. Thanks for the issue!

I just published version 0.1.1.. hopefully it solves your problems!

0.1.3 is also now out and aims to fix a lot of problems and adds some more stuff

Yes, its now working as expected.


Fix issues with instantiated generics

IsFinal property not correctly implemented for MethodForInstantiatedType
GetFinalizer does not work if the type does not implement the finalizer directly, but instead inherits it from the parent type

@MichalStrehovsky PTAL

👍


mpd: remove unknown build options

Fixes the build after the update to meson 0.60, which treats unknown options as errors instead of warnings.
Example failed build: https://hydra.nixos.org/build/164626873/nixlog/2
Example successful build: https://hydra.nixos.org/build/164511453/log (note the WARNING)
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

FWIW: Tidal was deprecated way back in 2019 due to protocol changes
https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.21.11/NEWS


Update autoscaler.md

corrected image location for cluster-autoscaler - as per: https://github.com/MicrosoftDocs/azure-docs/issues/12924

@andyt530 : Thanks for your contribution! The author, @sakthivetrivel, has been notified to review your proposed change.

Thanks for the contribution, @andyt530.
@sauryadas Can you review this and sign off if valid, please?

#sign-off

@sauryadas: I'm sorry - only the author of this article, @sakthivetrivel, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


feat: use new RPC URLs

@2fd The RPC works with wss, right?

@nachomazzara @nicosantangelo yes, it does, you can test it with this tool: https://livepersoninc.github.io/ws-test-page/

Yes! I tested it when we first released the RPC url using wallet connect 😊


feat: add thinking animation

This adds a thinking animation for the chatbot
I added vitest-canvas-mock because tests trying to render lottie files were crashing otherwise (cf. https://github.com/felippenardi/lottie-react-web/issues/21)
https://github.com/refstudio/refstudio/assets/58954208/ce3376d7-0b08-4b0b-9557-5135db3c1f1c
Closes #420

@sehyod do you think we can also use this animation for the text editor?

@sehyod do you think we can also use this animation for the text editor?

Do you mean for the sentence completion? If so, it is possible but trickier because the sentence completion is a prosemirror plugin so it's not React

Yes, there. Ok.


"Any" is not supported as NavArgument

I want to pass "Any" as a navigation argument but it is not supported.

Hi @AbdullahJaved-dev
Yes, ofc Any it's impossible to pass as nav argument.
Here you have a list of possible nav argument types:
https://composedestinations.rafaelcosta.xyz/destination-arguments/navigation-arguments


docs(docs-site): added documentation for PORTERS

Added documentation with reference to the PORTERS service and the Taiko Name Service API provided by PORTERS.
This was done in line with the ask requested from @benedictvscriticus.
Sections Updated

Resources / Developer Tools: Added card with a link to PORTERS
Resources: Added node providers page with a high level overview of what PORTERS provides in relation to Taiko.

@scermat I believe this may belong in our ecosystem page, not our documentation. Please feel free to open a issue here

Hi @RogerLamTd! Thank you for your feedback, however @swarna1101 specifically requested us to add this to your documentation. Please clarify this matter internally and inform us over our established channels with the Taiko team where you would like us to add this.
If you prefer to sort this out outside of a PR, we are also happy to provide you with the necessary information for you to add this wherever you see fit.
Thank you for your understanding.

Hi @RogerLamTd! Thank you for your feedback, however @swarna1101 specifically requested us to add this to your documentation. Please clarify this matter internally and inform us over our established channels with the Taiko team where you would like us to add this.
If you prefer to sort this out outside of a PR, we are also happy to provide you with the necessary information for you to add this wherever you see fit.
Thank you for your understanding.

Ah I wasn't aware! Let me confirm and get back to you.

Hi @RogerLamTd! Thank you for your feedback, however @swarna1101 specifically requested us to add this to your documentation. Please clarify this matter internally and inform us over our established channels with the Taiko team where you would like us to add this.
If you prefer to sort this out outside of a PR, we are also happy to provide you with the necessary information for you to add this wherever you see fit.
Thank you for your understanding.

Ah I wasn't aware! Let me confirm and get back to you.

No worries, just let us know and we'll take it from there.

@benedictvscriticus Checked with @swarna1101, we can add to docs!


Address test pipeline not being triggered

The issue is addressed by workflow documentation, it was disabled because it is also a scheduled one and the repo had been idle for too long.
Thanks @lesteve .