cucumberOpts 'format' not working

I want to use the 'format' option while I run wdio-cucumber. But I cant figure out  how to make this work, lets say I want to write output from cucumber js into a json file.
cucumberOpts: {
   failFast: false,
   timeout: 20000,
   snippets: false,
   backtrace: true,
   format: ['json:report/out.json']
}

I want to generate my report as cucumber js format as the default 'dot' or 'json' reporter is not a option for me to print pretty cucumber test results

hi. did you find a solution for using reporter inside this framework

Sorry no luck! I have ended up writing a custom reporter to display results in a friendly manner. See the below explanation,
https://github.com/webdriverio/wdio-cucumber-framework/issues/6


Add missing #{dest_table} to geocodings fixes #4433

This fixes #4433

Frontend tests were OK :+1: (details)

Frontend tests were OK :+1: (details)

@rafatower CR this, please.

:+1:


Adding new Facebook tracking parameters

Facebook recently decided to add a whole new bunch of tracking parameters, and I thought I'd share the ones they use when trying to click on pretty much anything on the website. Would be good if they were added to the default entries alongside the older Facebook parameters currently there.
This one is the major one (pretty much on any internal link):
__tn__
These are the others, some seem to replace older methods (eg. fb_ref is now fref):
__xts__%5B0%5D
eid
source_ref
ref_type
ref
cref
fref
ls_ref
hc_ref
hc_location
comment_tracking
action_history
placement
campaign_id
extra_1
acontext
ref_newsfeed_story_type
feed_story_type

Are they all purely tracking? I mean can we break anything if we add them?
@sfionov please be cautious with adding any new param, we need to test carefully how it works. In this particular case, we will need to surf facebook and click links there:)

Are they all purely tracking? I mean can we break anything if we add them?

I've had these added on the beta browser extension and on the macOS nightly build, and I haven't noticed any problem when removed.
Most of these are from the News Feed, when hovering over names, photos, internal and external links. I've avoided the ones that are required, like https://www.facebook.com/photo.php?fbid=xxxx&set=xxxx&type=xxxx as fbid, set and type are needed.
I'd say __tn__, __xts__%5B0%5D and eid would be the three big ones that seem to be purely tracking related... but I could be wrong, you guys definitely are the experts 🏆


Question on CuPy-ROCm

There are very few distros(Ubuntu, SLE, RHEL) that can install ROCm successfully.
I have many fails on installation ROCm(rocm-dkms) on my OpenSUSE Tumbleweed(It's different from SLE), because dependencies cannot match ROCm.
Could you release the integrated package which includes ROCm environment?
For example, this method is adopted by PyTorch.

This does not make much sense IMHO. In any case it still requires you to install at least ROCm's kernel driver (rock-dkms); all the packaging efforts can only include things in the user land. Therefore, you have to figure out how to install ROCm for your distro.
In fact, AMD does provide instructions for SUSE based distros:
https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html#sles-15-service-pack-2
and it seems to be working since ROCm 3.5, the version that we started to work for the support. Maybe you could give it a shot?

This does not make much sense IMHO. In any case it still requires you to install at least ROCm's kernel driver (rock-dkms); all the packaging efforts can only include things in the user land. Therefore, you have to figure out how to install ROCm for your distro.
In fact, AMD does provide instructions for SUSE based distros:
https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html#sles-15-service-pack-2
and it seems to be working since ROCm 3.5, the version that we started to work for the support. Maybe you could give it a shot?

Thanks for your reply.
SUSE and OpenSUSE have the different repository resources. I have two failed attempts by this method.
The OpenSUSE software center also shows "unresolvable" for ROCm on openSUSE Tumbleweed and Leap 15.03:
https://build.opensuse.org/package/show/home%3Apatrikjakobsson%3Aaomp/rocm
If you release the ROCm libs integrated version, it's a great work: people can use CuPy-ROCm on any distros.

This does not make much sense IMHO. In any case it still requires you to install at least ROCm's kernel driver (rock-dkms); all the packaging efforts can only include things in the user land. Therefore, you have to figure out how to install ROCm for your distro.
In fact, AMD does provide instructions for SUSE based distros:
https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html#sles-15-service-pack-2
and it seems to be working since ROCm 3.5, the version that we started to work for the support. Maybe you could give it a shot?

I tried again, and find that:
Some packages can be installed directly.
rock-dkms
rocm-gdb: requires me to install python36 (My OS has python38 installed)
rocminfo
rocm-opencl
rocm-opencl-devel
Some packages cannot be installed with dependencies problems.
rocm-dkms
rocm-dev
rccl
rocm-libs
I'm new to computational physics, could you tell me the minimal installation of ROCm environment requires me to install which packages from the official repo?
Thanks!!!

Hi @Photonico, glad to know you gave http://repo.radeon.com/rocm/zyp/zypper/ a try.
In the simplest scenario (single-version installation) you should just install 1 package: rocm-dkms, which is a meta package that would install for you the kernel driver rock-dkms along with most of the components in rocm-dev (another meta package) such as rocm-opencl, rocminfo, etc. Then, once you verify hipconfig and rocminfo generate sensible outputs, you can install CuPy's dependencies as listed in https://docs.cupy.dev/en/stable/install.html#id1.

Hi @Photonico, glad to know you gave http://repo.radeon.com/rocm/zyp/zypper/ a try.
In the simplest scenario (single-version installation) you should just install 1 package: rocm-dkms, which is a meta package that would install for you the kernel driver rock-dkms along with most of the components in rocm-dev (another meta package) such as rocm-opencl, rocminfo, etc. Then, once you verify hipconfig and rocminfo generate sensible outputs, you can install CuPy's dependencies as listed in https://docs.cupy.dev/en/stable/install.html#id1.

Thanks for your answer!!!!!
I install the all the packages on the list without any question.
Is that all of the needed components of CuPy-ROCm?
How can I check if CuPy-ROCm works?
However, there is a question that appears when I install rocm-dkms and rocm-dev:
It requires libffi.so.7()(64bit) which openSUSE Tumbleweed cannot provide.
Also, it required me to installed python36: there are already many pythons on my computer(python2.7 python3.8 python3.9).

Hi @Photonico, glad to know you gave http://repo.radeon.com/rocm/zyp/zypper/ a try.
In the simplest scenario (single-version installation) you should just install 1 package: rocm-dkms, which is a meta package that would install for you the kernel driver rock-dkms along with most of the components in rocm-dev (another meta package) such as rocm-opencl, rocminfo, etc. Then, once you verify hipconfig and rocminfo generate sensible outputs, you can install CuPy's dependencies as listed in https://docs.cupy.dev/en/stable/install.html#id1.

I find this package is provided by openSUSE officially. I will roll back my system to openSUSE leap 15.03.
I will tell you how I get after that. Thanks!

Is that all of the needed components of CuPy-ROCm?
How can I check if CuPy-ROCm works?

You can try building CuPy, import it in Python, and run some basic commands. It should be enough to get started.

However, there is a question that appears when I install rocm-dkms and rocm-dev

I'd pick either rocm-dkms or rocm-dev to install; I don't think they should coexist but I could be wrong.

Also, it required me to installed python36: there are already many pythons on my computer(python2.7 python3.8 python3.9).

A general recommendation is feel free to set up the system packages (like ROCm or CUDA) as needed, but don't use system Python. Nowadays you should pick either Conda, pyenv, or other Python virtual environments to create a safe isolation from system dependencies. This way you probably wouldn't worry how many Pythons the system package manager installed for you, as long as the dependency is correctly kept track.

It requires libffi.so.7()(64bit) which openSUSE Tumbleweed cannot provide.

I find this package is provided by openSUSE Leap 15.03 officially. I will roll back my system to openSUSE leap 15.03.

At this point I feel it is more of ROCm's issue. It sounds like the installation was not solidly verified for SUSE in their releases. I see that you did the right thing to ask in the ROCm repo (https://github.com/RadeonOpenCompute/ROCm/issues/1534) 👍 Perhaps the discussion should be moved there 🙂

Is that all of the needed components of CuPy-ROCm?
How can I check if CuPy-ROCm works?

You can try building CuPy, import it in Python, and run some basic commands. It should be enough to get started.

However, there is a question that appears when I install rocm-dkms and rocm-dev

I'd pick either rocm-dkms or rocm-dev to install; I don't think they should coexist but I could be wrong.

Also, it required me to installed python36: there are already many pythons on my computer(python2.7 python3.8 python3.9).

A general recommendation is feel free to set up the system packages (like ROCm or CUDA) as needed, but don't use system Python. Nowadays you should pick either Conda, pyenv, or other Python virtual environments to create a safe isolation from system dependencies. This way you probably wouldn't worry how many Pythons the system package manager installed for you, as long as the dependency is correctly kept track.

It requires libffi.so.7()(64bit) which openSUSE Tumbleweed cannot provide.

I find this package is provided by openSUSE Leap 15.03 officially. I will roll back my system to openSUSE leap 15.03.

At this point I feel it is more of ROCm's issue. It sounds like the installation was not solidly verified for SUSE in their releases. I see that you did the right thing to ask in the ROCm repo (RadeonOpenCompute/ROCm#1534) +1 Perhaps the discussion should be moved there slightly_smiling_face

The openSUSE Tumbleweed has python3.8 as the default Python. Do you mean that I better not use it?
ROCm's installation forces me to install python3.6. Does it mean that it only works on Python3.6?

Wow, so not all AMD GPUs support its own compute stack...Sorry to hear that...

Wow, so not all AMD GPUs support its own compute stack...Sorry to hear that...

sigh, I spent a whole weekend to install it which doesn't support my GPU yet. BTW, do you/your team have plan to release CuPy- OpenCL? OpenCL is a generic GPU computing library.

Nope, it would require a significant change and maintenance overhead. There is a fork called clpy but I never used it myself. It's based on a very early CuPy version, though.

Nope, it would require a significant change and maintenance overhead. There is a fork called clpy but I never used it myself. It's based on a very early CuPy version, though.

I have noticed this project. It seems does not get maintain for a long time.

@leofang
Hi,
ROCm 4.3 is released yesterday.
However, it still does not support the GFX10 series GPU (NAVI Cards).  :(  T_T
They said NAVI cards can be supported before the end of 2021.
Detail: https://github.com/RadeonOpenCompute/ROCm/issues/1542
So I have a plan to buy RTX A5000 (3600AUD) or RTX 3090 (3500AUD), I prefer RTX A5000.
Or continue to wait for ROCm 4.4/4.5/... released.
The major purpose is scientific computation (and for video games).
I noticed that you are experienced in computational physics, I want your opinion on that.
Thanks a lot!!!!


Validation split does not take into account the shuffle=True argument of the tuner search method.

https://github.com/tensorflow/tensorflow/blob/80117da12365720167632761a61e0e32e4db2dcc/tensorflow/python/keras/engine/training.py#L1130
I believe I spotted a mistake in the keras tuner code. While shuffle=True is indeed the default argument, it is not taken into account when creating the train and validation set.
Hope this helps for people to come.

@cevheck ,
We see that the issue template has not been filled, could you please do so as it helps us analyse the issue. Can you please elaborate about the statement. Also, please specify the Use Cases for this statement. Thanks!


LeaseOutput is slow with postgres backend

Issue
SendCoins takes much longer to run with postgres as the db backend, and this itest failure has been shown multiple times,
harness_rpc.go:97:
        	Error Trace:	/home/runner/work/lnd/lnd/lntest/rpc/harness_rpc.go:97
        	            				/home/runner/work/lnd/lnd/lntest/rpc/lnd.go:374
        	            				/home/runner/work/lnd/lnd/itest/lnd_taproot_test.go:129
        	            				/home/runner/work/lnd/lnd/itest/lnd_taproot_test.go:52
        	            				/home/runner/work/lnd/lnd/lntest/harness.go:385
        	            				/home/runner/work/lnd/lnd/itest/lnd_test.go:139
        	Error:      	Received unexpected error:
        	            	rpc error: code = DeadlineExceeded desc = context deadline exceeded
        	Messages:   	Alice: failed to call SendCoins

Observations
Turns out that when using postgres, leasing outputs take much longer, which is called here when crafting the tx for SendCoins.

For kvdb backend, the leasing of 100 utxos takes about 1 second.
For postgres backend, the leasing of 100 utxos takes about 40 seconds.

Steps to reproduce
Running with make itest icase=sign_psbt/fund_and_sign_psbt backend=btcd,
2024-06-04 03:37:30.353 [INF] RPCS: [sendcoins] addr=2MzusuQmFdFCBgtns6LjnCnQemeAhRftiku, amt=0 BTC, sat/kw=12500, min_confs=0, send_all=true
2024-06-04 03:37:30.353 [DBG] SWPR: [WithCoinSelectLock] entered the lock
2024-06-04 03:37:30.453 [DBG] SWPR: [WithCoinSelectLock] finished fetching UTXOs
2024-06-04 03:37:30.453 [DBG] SWPR: [WithCoinSelectLock] leasing utxo: 65734f6883a0949f4588589fda166b9339bfb77081cf77dad1ee91b5dc78c000:0
...leasing 98 more...
2024-06-04 03:37:31.616 [DBG] SWPR: [WithCoinSelectLock] leasing utxo: 2fb2947606ac7bf141ae364e8ea8d805344f56a319b679efa4380e6839782bf8:0
2024-06-04 03:37:31.626 [DBG] SWPR: [WithCoinSelectLock] exited the lock
2024-06-04 03:37:31.656 [DBG] SWPR: Creating sweep transaction 6c4bc2d7afeecb395d8bf0654065d7f5acb52b1017e5b4a61442bbd1dd3d7207 for 100 inputs...

Running with make itest icase=sign_psbt/fund_and_sign_psbt backend=bitcoind,
2024-06-04 03:46:54.785 [INF] RPCS: [sendcoins] addr=2MzDETUurmNbcnx2mLWtm4tdeARCFUkdQbU, amt=0 BTC, sat/kw=12500, min_confs=0, send_all=true
2024-06-04 03:46:54.786 [DBG] SWPR: [WithCoinSelectLock] entered the lock
2024-06-04 03:46:54.856 [DBG] SWPR: [WithCoinSelectLock] finished fetching UTXOs
2024-06-04 03:46:54.856 [DBG] SWPR: [WithCoinSelectLock] leasing utxo: f4436cede2c43faa7eb16cc2d4577e0825790f685b146eacfbe2a07a1006df00:0
...leasing 98 more...
2024-06-04 03:46:55.960 [DBG] SWPR: [WithCoinSelectLock] leasing utxo: 8dd273ce89622e59cae55a216a33b65d581a0d9ea95a30d74138140f5a0d15ff:0
2024-06-04 03:46:55.970 [DBG] SWPR: [WithCoinSelectLock] exited the lock
2024-06-04 03:46:55.984 [DBG] SWPR: Creating sweep transaction c383561e0096a6099dfe5c9cd57a42a6f393cb7fd281e137e5d989c518db3627 for 100 inputs...

Running with make itest icase=sign_psbt/fund_and_sign_psbt backend=bitcoind dbbackend=postgres,
2024-06-04 03:41:21.576 [INF] RPCS: [sendcoins] addr=2N6HM91LmDZP63ViD5MPirXxLScp3gmK2zf, amt=0 BTC, sat/kw=12500, min_confs=0, send_all=true
2024-06-04 03:41:21.577 [DBG] SWPR: [WithCoinSelectLock] entered the lock
2024-06-04 03:41:23.324 [DBG] SWPR: [WithCoinSelectLock] finished fetching UTXOs
2024-06-04 03:41:23.324 [DBG] SWPR: [WithCoinSelectLock] leasing utxo: 38fecbec097297b3e4b1e2f535e4d4707efc8d5668424f4c14e29805aa771801:0
...leasing 98 more...
2024-06-04 03:42:02.574 [DBG] SWPR: [WithCoinSelectLock] leasing utxo: ad3297020e2b81993d2093ae239894a47ad3f67b243fc2f79c0f1fdf808384fc:0
2024-06-04 03:42:03.284 [DBG] SWPR: [WithCoinSelectLock] exited the lock
2024-06-04 03:42:03.772 [DBG] SWPR: Creating sweep transaction e50f98c1f40080ee20139d095945149a16d3334080658598bf4a5eef8ec90a7f for 100 inputs...

Running with make itest icase=sign_psbt/fund_and_sign_psbt backend=bitcoind dbbackend=postgres nativesql=true,
2024-06-04 03:53:42.474 [INF] RPCS: [sendcoins] addr=2MuaBevMSc9Gxdi4WGAnuEiRXH2pGAcYNaj, amt=0 BTC, sat/kw=12500, min_confs=0, send_all=true
2024-06-04 03:53:42.475 [DBG] SWPR: [WithCoinSelectLock] entered the lock
2024-06-04 03:53:44.029 [DBG] SWPR: [WithCoinSelectLock] finished fetching UTXOs
2024-06-04 03:53:44.029 [DBG] SWPR: [WithCoinSelectLock] leasing utxo: 1deb82f888c58b2c9e86d0f8773537324a5b1fe2ddd2b3d3a243088cb9990000:0
...leasing 98 more...
2024-06-04 03:54:19.937 [DBG] SWPR: [WithCoinSelectLock] leasing utxo: a4304be189a3075d22f5cabc638af956da871b09ae46ffb48a6dd1c143d084fe:0
2024-06-04 03:54:20.671 [DBG] SWPR: [WithCoinSelectLock] exited the lock
2024-06-04 03:54:21.260 [DBG] SWPR: Creating sweep transaction a6d8019cb0cb3f5bb0603bcfc4676b6eef81f88301933e75bd67673650b4e1c5 for 100 inputs...

The implementation here is pretty unglamorous: https://github.com/btcsuite/btcwallet/blob/6fe19a472a627b5f3a6ab2eda9ed7d8809d04f2e/wtxmgr/tx.go#L1184-L1204
Perhaps the culprit is that we'll create 100 distributed transactions for the 100 outpoints, instead of just 1 transaction?


Additional reason to move messages to the Transfer DLQ

Ran into this issue. Needs to be documented as exception is not raised by the broker and instead message is moved to the TransfDLQ.

@SeanFeldman,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@sethmanheim @jtaubensee

@SeanFeldman Looks good, thanks. As long as you have the PR open, can you please change it to "The destination queue or topic exceeds the maximum entity size."?

Done @sethmanheim

@SeanFeldman Actually I meant to change the text of the sentence you're adding, but no worries -- I'll fix it once it's merged. Thanks again for the contribution! #sign-off

Fixed it

@sethmanheim Hi Seth If this looks good, please sign off so that automation adds the "ready-to-merge" label. Thanks.

@jomolnar I already did sign off in the comment above! Let's try that again... #sign-off

@jomolnar Guess that isn't working. OK to merge anyway...

@sethmanheim Sorry for the extra annoyance, Seth. It's merged.

No, they're not -- in this case I think the bot was kidnapped!


md-checkbox inside form tag get this error: "If ngModel is used within a form tag, either the name attribute must be set"

When I use md-checkbox inside form tag with ngModel I get this error "If ngModel is used within a form tag, either the name attribute must be set". How can I fix this problem? Could anybody help me please?

It sounds like you didn't set the name attribute. This is a requirement of the Angular core FormsModule (which contains the ngModel directive).  See example plunker here: http://plnkr.co/edit/X4mckCDOikBBsQHRnnMo?p=preview.
As this is expected, closing.

Hi @kara thank you for your help!


max_backtracking_attempts value

I am using dspy.Suggest and want to set a custom value for max_backtracking_attempts

You should be able to do that by creating your own backtrack_handler setting the max_backtracks value:
https://github.com/stanfordnlp/dspy/blob/300f0eddefef0fa8397eb524fac132904b12f615/dspy/primitives/assertions.py#L179
You then need to set your custom backtrack handler as the assertion_handler when calling assert_transform_module:
https://github.com/stanfordnlp/dspy/blob/300f0eddefef0fa8397eb524fac132904b12f615/dspy/primitives/assertions.py#L304


needs a bit of cleanup

It's very handy to have this list.
It does have a few non-words in it, possibly due to OCR errors. A couple I caught were

brainwashjng
neritjc

@huttarl thanks a bunch for reporting this issue!
Would you mind opening the source file in SublimeText, editing the offending word and submitting a Pull Request to update it?
I've invited you to be a collaborator on the repo: https://github.com/dwyl/english-words/invitations
and to be a member of DWYL: https://github.com/dwyl so you can create branches on the repo without having to fork.
Thanks! ❤

Thanks for the invitation.
There's a lot more cleanup that could be done. It would be a substantial undertaking. If I invested that kind of time into an open-source word list -- which could be worthwhile -- I'd want to make sure it was one with a clear copyright, which this one doesn't seem to have.

@huttarl please suggest the appropriate license. The words come from a couple of sources, but I don't know that much about Copyright for an alphabetical list of words ... would have thought Creative Commons would be good but honestly don't know.
Of the hundreds of people who have used the list you are only the second person to contribute back (even just open the issue is greatly appreciated!)
Thanks again! 👍

I would think any license would have to be consistent with the permissions of the original source. But since the link to infochimps is broken, I don't know what the options are.

Imported this into a TRIE tree, and found a single duplicate word: animate.  Appears everything else is unique.

@Smadarl thanks for confirming that!
I think the animate duplicate has now been removed: https://github.com/dwyl/english-words/pull/5 ...?

For a word list, the public domain feels right, doesn't it? You can use CC0 to declare it:
https://creativecommons.org/share-your-work/public-domain/cc0/

@mikestopcontinues I agree, "Public Domain" feels appropriate for this list.
I never understood how an alphabetical list of english words could be copyrightable in the first place. But then I'm not a lawyer/legal-expert and most of the time I don't understand why people/companies feel the need to restrict usage of things which incur no incremental cost and result in no "loss" to the original creator...

If anyone has time to add the https://creativecommons.org/share-your-work/public-domain/cc0/ license as a Pull Request we'd gladly accept it! ✅

While I salute the CC0 licensing choice, I still believe I would be wise of you to get a "written" agreement from CSC to avoid future "surprises".

I agree with @dacbarbos... It's fine to discuss what we'd like the license to be, but until we know what restrictions infochimps has or hasn't put on the list, it seems like a moot point.

I love seeing how GitHub is growing every year, practically becoming the new Wikipedia for  supporters. While poking around, I found another interesting repo.

@dacbarbos that's such a cool/useful list for people learning English! 👍
good find! thanks for sharing!

:octocat: rulez! sharing is caring...

Cleanup performed in #11
Considering "fixed". ✅


[Bug]: cms-adapters:style extractor takes too much time

Package name
extractors
Package version
11.0.4
Reproduction steps
Create a library with many components having stylings
Run yarn run cms-adapters at root
Notice the time it takes for nx run @mypackage:"cms-adapters:style"
Current result
In our case, this cms-adapters:style step is taking ~7m30s for a package containing around 100 components
Expected result
Can we optimize the process to reduce the processing time? As globally this step has a high impact on our current build statistics.
Additional comments

@julienama ,
Thank you for the report.
The process cms-adapters:style is actually using the Sass API and rebuild each Sass files matched by its input patterns.
The performance issue can be due to import of a large amount of Sass dependencies (direct or indirect) in every Sass parsed.
Is it a new issue you faced after an update of the Otter library? Can it be due to an update or your Sass architecture on your side? Or is it an issue you have since long time?

The issue started when we added the extraction and check of the CMS metadata in our pipeline (brown + orange in the screenshot), the build step is now longer which makes the overall pipeline close to the 1h which is the time-out limit we have in our current set-up.

Maybe to avoid building each time all the Sass files we could store somewhere the result or something to rebuild only the updated Sass files?
Or at least have a check that a Sass file was updated. I just got the same issue with a PR updating a single module.ts file, I'm not sure the check on the sass files was necessary in that case.

Thanks @OxyFlax , this is indeed a workaround to rely on Nx Cache or Lerna Change and trigger the extraction only when really needed.


出問題

[Enter feedback here]

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

ID: 7254052d-2d37-509e-e6c8-d5674ea775ca
Version Independent ID: a2acc423-07d3-409c-7de1-21dd88e3cdcd
Content: Report a problem: States and FAQ - Visual Studio
Content Source: docs/ide/report-a-problem.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @madskristensen
Microsoft Alias: madsk

@ccc0122000 -- for sign-in errors or for issues with the Feedback Tool in Visual Studio, please email us at<EMAIL_ADDRESS>


using new tag 1-58

CSI controller base image change to the latest tag
Old tag  -> registry.access.redhat.com/ubi7/python-36:1-56.1568971386
New tag -> registry.access.redhat.com/ubi7/python-36:1-58
the new tag 1-58 fix patch issue inside the image.

This change is

Hopefully the last PR on this release :-)


add ParentNode['replaceChildren'] to dom.generated.d.ts

lib Update Request

Configuration Check

My compilation target is ES2021 and my lib is lib.dom.d.ts.
Missing / Incorrect Definition

ParentNode.replaceChildren()
Sample Code

document.body.replaceChildren();
document.body.replaceChildren('hello world', document.createElement('button'));

Documentation Link

MDN
WHATWG

relevant issue from the repository the types are generated from: https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/985

Has this been merged into upstream? I have n.parentNode.replaceChildren successfully executed but TypeScript reports error:
TS2339: Property 'replaceChildren' does not exist on type 'ParentNode'.

for the following code:
function mount(n: Node) {
	for (let p = n.parentNode; p != null && p.nodeName != "HTML"; p = p.parentNode) {
		(<ParentNode>p).replaceChildren(n)
		n = p
	}
}

Also if I don't force casting (<ParentNode>p), it reports:
TS2339: Property 'replaceChildren' does not exist on type 'Node & ParentNode'.

Don't know why.

Well, don't compile in production mode. I have to use type casting (<any>p).replaceChildren(n) for it to build.

This was fixed back in #44684 for TS 4.4+. The examples in this thread all compile. Playground Link


[NOT AN ISSUE] -Simple double range slider

Love your work, thanks for that!
I was wondering if you might already have a double range slider component somewhere that is just not included in this library.
An example could be a double range slider with a list of years from 2000 to 2020, and I would be able to select data that only between 2010 to 2015.
Thanks

Thanks for the kind words! There are existing Svelte packages with such a component. Both of these should serve your purpose:

https://github.com/simeydotme/svelte-range-slider-pips
https://mhkeller.com/svelte-double-range-slider

Thanks Janosh.


Initial draft of the st2 sdk module [WIP][DO NOT MERGE]

Introduce a new st2forge library that will be uploaded to pypi. The st2forge library contains a base python Action class that the python runner will recognize. The st2common.runners.base_action.Action class will be deprecated in future releases.

Good start. Let's jolt the higher level requirements on how we want it end-to-end. Obviously action is just a beginning. Pls do your version of a mini-spec here, or on a discussion/ or st2/issues.

Codecov Report

Merging #3204 into master will decrease coverage by -0.02%.
The diff coverage is 34.09%.

@@            Coverage Diff             @@
##           master    #3204      +/-   ##
==========================================
- Coverage   77.78%   77.77%   -0.02%
==========================================
  Files         433      437       +4
  Lines       22430    22438       +8
==========================================
+ Hits        17447    17449       +2
- Misses       4983     4989       +6

Impacted Files
Coverage Δ

st2forge/dist_utils.py
0% <ø> (ø)

st2forge/setup.py
0% <ø> (ø)

st2forge/st2forge/init.py
100% <100%> (ø)

...2common/st2common/runners/python_action_wrapper.py
58.14% <62.5%> (-0.73%)
:x:

st2forge/st2forge/packs/actions/init.py
63.64% <63.64%> (ø)

st2common/st2common/runners/utils.py
93.33% <66.67%> (-3.1%)
:x:

st2client/st2client/base.py
72.22% <ø> (-8.08%)
:x:

st2common/st2common/services/triggerwatcher.py
85.92% <ø> (-4.23%)
:x:

st2api/st2api/controllers/v1/timers.py
76.92% <ø> (-3.85%)
:x:

st2client/st2client/commands/auth.py
68.13% <ø> (-2.3%)
:x:

... and 41 more

Continue to review full report at Codecov.

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

https://stackstorm.slack.com/archives/community/p1492186092951888


Give user an option to change his answer

We are trying to migrate our bot from V3 to V4 using composer and there are 2 functionalities that we are using and could not find if those options are available in V4:

"Back" - In V3 if user provides back, the bot asks previous question again and allows the user to change his answer. I could not find anything regarding this in docs. If there is no way to do this in composer for now  it would be great because if the user makes a mistake in one of the questions then he would need to start the form from the beginning to change his answer.

Example:

"Confirm" - In V3 there is an option at the end of the form to ask user's confirmation if all the answers he provided are good, and if there is one answer that is a mistake, he has an option to change only that answer. Is this option also available in V4 composer?

Example:

This can be achieved thru the tools already available in Composer. I have attached a bot that demonstrates this. The bot's construction includes:

Separating out each question into its own dialog so the question can be repeated, when necessary
One "parent" dialog that each question dialog is a child of. User input in the child dialogs are returned to the parent dialog and stored
In the various input prompts, setting the 'max turn count' to 0 so the question itself is repeated immediately on failed validation
Not necessary for the demonstration, but inclusion of input validation to verify the user's answers are at least in the realm of appropriate for the question
Setting the input prompt to store a default null value in case no value is somehow provided
Set always prompt to true so a repeated question will always ask for and store a new value
The inclusion of a confirmation prompt after user input so the user can verify their own response. If not acceptable, then the question is repeated. Otherwise, the conversation moves on to the next question / end of dialog.

Not included in the demo, but you could also enable interruptions. Then create triggers that, for example, when the user says 'enter new age' would bring them back thru the age dialog. When the interruption finishes, it should return the user where they had exited (unless you redirect as part of the interruption).
I'm closing this as resolved as this solution should meet your needs.
ChangeAnswerOption.zip


remove released packages from Indigo which fail to build

The following released packages are been removed since they failed to build on the farm for some time without being fixed:

freefloating_gazebo @PR2-Builder-Bot http://jenkins.ros.org/view/IbinT64/job/ros-indigo-freefloating-gazebo_binarydeb_trusty_amd64/
graspit @mateiciocarlie http://jenkins.ros.org/view/IbinT64/job/ros-indigo-graspit_binarydeb_trusty_amd64/
micros_dynamic_objects_filter @yincanben http://jenkins.ros.org/view/IbinT64/job/ros-indigo-micros-dynamic-objects-filter_binarydeb_trusty_amd64/
pcan_topics @najkirdneh http://jenkins.ros.org/view/IbinT64/job/ros-indigo-pcan-topics_binarydeb_trusty_amd64/

@tfoote Please review and merge


Color problem in charts

Hi, i applied the same codes in the video. I see the charts but entry values and squares near the values are not coloured. They are black.

Ok solved with ValueLabelColor = SKColor.Parse("#00BFFF").
But you should update the video : https://www.youtube.com/watch?v=tmymWdmf1y4&list=PLUo7v81sml-naRVl1uipV4OVM0S7wvleD&index=6

That is sadly not our video, I can update the readme to not reference it if it's confusing people.

I have removed the outdated tutorial video from the readme file


Show eslint rule that line is breaking in output

It would be great if linter-js-standard could show the rule name that a line is violating. This helps if you need to manually disable a specific rule for a line.
Sublime's linter-standard does this like so for a line that is breaking the 'react/prop-types' rule:

Yeah sure it does make sense and it's very doable. But only if the user can enable/disable showing the rule name

the sublime linter accomplishes this by passing the --verbose option to the standard bin. Perhaps a config option that allows the user to supply custom arguments to the selected linter would make sense?

Yeah I know I pass it as well but I choose to left it out from the actual message

Feature added on the last release (2.4.0)
Thank you for your input @qrohlf


feat: experiment about executing sql on memory and parquet

Which issue does this PR close?

Closes #.
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

it's a good idea. for some CDC scenes。

Very interesting idea, consider providing memory data with external write capability and memory data dump into parquet files?


All lives matter, yes, because that's obvious to most people. #BlackLivesMatter is just a message to all racists who think only white lives matter.

https://twitter.com/dan_abramov/status/1267224910839066630
"It’s curious how software developers struggle with logic when applied to real world situations."

All lives matter, yes, because that's obvious to most people.

Not all racists are white, but I understand and agree with what you're saying

Should be up and running

Thank you to all who speak up to original poster. Locking conversation.


Height Property

Hey there,
Congrats for your plugin! You might consider setting the min-height param and not the height as it will allow more flexibility; just a quick hint :)
Radu

Hi, I am using the 0.5.2 version and the above fix does not seem to work. Was the min-height released as part of the 0.5.2? Thanks again for your work and for sharing.

This feature is currently only in the latest master build so please use that for the time being, thanks.

Thanks. Will do.
Sent from my iPhone

On Mar 26, 2015, at 5:12 PM, Liam<EMAIL_ADDRESS>wrote:
This feature is currently only in the latest master build so please use that for the time being, thanks.
—
Reply to this email directly or view it on GitHub.


[Design] Should GetVirtualPath return PathString

@rynowak
This is for #31. Since I have 40+ tests to update + probably more from the MVC repo, I'd like to make sure this fix is correct before updating more tests.
Thanks,

Hi @ianhong, I'm your friendly neighborhood Microsoft Open Technologies, Inc. Pull Request Bot (You can call me MSOTBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Youngjune Hong). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla2.msopentech.com.

TTYL, MSOTBOT;

I closed this since I should picked another branch instead of dev.


Ensure noexcep_operators and ocos_operators get built always

When ONNX Runtime is built with the flags --use_extensions within a minimal build (reduced ops), some of the operators are not built within the onnxruntime-extensions.
For example, building onnx runtime with the flag --cmake_extra_defines=OCOS_ENABLE_TF_STRING=ON only expects the ocos string operators to be built and included. These operators are currently built inside the noexcep_operators and as a result ocos_operators library does not get built (as it has no valid sources).
However, onnxruntime takes a dependency on ocos_operators library (and now also on noexcep_operators library after https://github.com/microsoft/onnxruntime/pull/17850). Since ocos_operators library does not get built, it results in ONNX Runtime build failure as well.
This PR introduces placeholder source files that always get included in the target sources (regardless of whether there are other src files or not). Doing this, guarantees that both the libraries get built.

/azp run extensions.ci


Crash when selecting campcraft

The game crashes when selecting campcraft on the radial menu when using any mod that have modcomponent as its dependency. It shows error Exception processing message 0xc00000005 - Unexpected parameters

I have the same issue, the previous version of ModComponent seems to work fine.  I don't have any TLD DLC.

I have the same issue, the previous version of ModComponent seems to work fine. I don't have any TLD DLC.

Confirmed. Version 6.2.5 works with no issues so far.

The stack trace is e.g.

Me too,cant use campfire building.Crashed

I just switch the 6.2.6 version back to 6.2.5 and now everything works fine

I tried using 6.2.6 and 6.2.5 to no avail. Is it not compatible with the DLC?

Hi, How do I switch the 6.2.6 version back to 6.2.5?

Just download the older release on the main page on the right side.

Just download the older release on the main page on the right side.

Thanks so much.


Fix executor datasource lost

Signed-off-by: crazyhzm<EMAIL_ADDRESS>What is the purpose of the change
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #10685 (47eb875) into 3.1 (e6748c7) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##                3.1   #10685   +/-   ##
=========================================
  Coverage     65.21%   65.22%
  Complexity      493      493
=========================================
  Files          1336     1336
  Lines         56922    56927    +5
  Branches       8435     8436    +1
=========================================
+ Hits          37124    37128    +4
+ Misses        15831    15829    -2
- Partials       3967     3970    +3

Impacted Files
Coverage Δ

...apache/dubbo/common/constants/CommonConstants.java
100.00% <ø> (ø)

.../threadpool/manager/DefaultExecutorRepository.java
70.28% <100.00%> (+0.87%)
:arrow_up:

...g/apache/dubbo/remoting/api/ConnectionHandler.java
51.51% <0.00%> (-9.10%)
:arrow_down:

.../common/threadpool/serial/SerializingExecutor.java
72.41% <0.00%> (-6.90%)
:arrow_down:

...ubbo/registry/client/AbstractServiceDiscovery.java
81.34% <0.00%> (-1.50%)
:arrow_down:

...ting/zookeeper/curator/CuratorZookeeperClient.java
70.51% <0.00%> (-0.86%)
:arrow_down:

.../dubbo/registry/integration/RegistryDirectory.java
48.58% <0.00%> (+0.35%)
:arrow_up:

...pache/dubbo/registry/support/AbstractRegistry.java
69.40% <0.00%> (+2.30%)
:arrow_up:

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


Some of the functions in the document header are not sorted alphabetically, but in the description they are.

Godot version:
3.2.alpha.custom_build. 71d6990e1
Issue description:
In description of Control node can_drop_data function is below accept_event

As seen on the screenshot, the first part art virtual functions, which are also listed alphabetically in their own section (with _ being before a in the alphanumeric sorting).
But yeah, the description section should likely use the same ordering.

Which file should I be looking at here?


Horizontal cursor

It might be nice to have a horizontal cursor such that the user can specify a visual aid for a threshold. Sometimes I am looking for the current to exceed a certain value. It would be nice to visually see all those points without zooming into the details (since triggering on current is not possible to my knowledge).

Hi @efox29.  Before I start asking questions, perhaps you have not yet come across horizontal markers:

This feature is now in the most recent 0.9.2 release, and it is admittedly not the most easily discoverable feature.  To add a horizontal marker, right-click (control-click on mac) on the y-axis, like this:

Does this already do what you want?

Derp.
This is exactly it, I saw that menu, but when I saw single and dual markers, I just assumed, it was for the vertical (which is what I use most of the time).
Closed.


docs: add benchmarks for light account

I don't think we have a public way to generate those? cc @howydev


Adding resource

IMPORTANT: When creating your Pull Request, please use the following format for the title: Category - Resource Name & Section
PR Title samples:

Web development - YouTube Channel

Fixes Issue
Closes #245
Description:
Added the resource of Apna College under the YouTube Channel section in Web Development Readme.md File
Resource URL:
Apna College: https://youtube.com/playlist?list=PLfqMhTWNBTe3H6c9OGXb5_6wcc1Mca52n&si=UYYv7L3NHDF31bHL
Checklist:
Before submitting your pull request, ensure that you have completed the following tasks:

[x] I have carefully reviewed and adhered to the contributing guidelines before creating this pull request.
[x] I followed the prescribed PR title template. (Check this if you're adding a resource)

Is this course about front end, backend or full stack?

Add it here instead, nad I will merged it after this change, thanks

Sure sir. Will do the necessary changes suggested by you.

Solve the conflict

Sure sit on it.

Done sir via #326

Please solve the  conflict before I merged this pr, you can refer to this link for more information


feat(CommandContext): add member property that resolves to Member of the author

About
Makes the author property on CommandContext resolve to Member automatically, this is more or less for convenience, as many manually fetch the Member object of the author, and the User object is still accesible through ctx.author.user. Makes no sense to return the User when the author must be in the server if he sent a message with a command.
Adds a new member property on CommandContext that resolves to the Member of the author.
Status

[x] These changes have been tested against Discord API or do not contain API change.
[ ] This PR includes only documentation changes, no code change.
[x] This PR introduces some Breaking changes.

Well uhh, you do realize this change breaks most of the bots using Harmony's Command framework..? I suppose you made this in response to someone's question in Discord #help, but this is not correct way. ctx.author is supposed to be User, while there is ctx.message.member which is Member object resolved out of the message's author. Though, what would be useful would be to add a ctx.member which is a reference to ctx.message.member.

Well uhh, you do realize this change breaks most of the bots using Harmony's Command framework..? I suppose you made this in response to someone's question in Discord #help, but this is not correct way. ctx.author is supposed to be User, while there is ctx.message.member which is Member object resolved out of the message's author. Though, what would be useful would be to add a ctx.member which is a reference to ctx.message.member.

Yeah I made it in response to someone's question in #help, I'll update the pr to add a ctx.member then.

@DjDeveloperr thoughts on adding this as authorMember or something along those lines? member isn't very clear as to what it actually does imo.

I think it's clear since ctx, Command Context is all about the command which was executed and member would refer to Guild Member who executed it. Maybe we can add JS Doc?

I think it's clear since ctx, Command Context is all about the command which was executed and member would refer to Guild Member who executed it. Maybe we can add JS Doc?

fair enough, I'll add JSDoc


build: build ICU for XCTest

The XCTest framework uses Foundation which relies on ICU.  Ensure that
we build ICU to have a new enough ICU.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please test

CC: @shahmishal @millenomi

Build failed
Swift Test Linux Platform
Git Sha - 5bf6165d9a583a80035e4a1eca23203a863e146c

@swift-ci please test Linux platform

This is wrong, @shahmishal fixed this the right way.


How to avoid dropdown to be closed and open on click list inside it?

First of all thanks to create this theme its very useful and nice design you created.
I have just issue with your dropdown menu. If i click any list inside main main ul then main ul will closed immediately and opens too. i dont want to close my ul when i click on any of the list inside it. I used
$(".child_menu").click(function(event) {
    event.stopPropagation();
});

to overcome my issue but nothing happens. please help me with the same bro. how to remove that function of slideUp and slideDown on list.

This piece of code is responsible for menu sliding:
$SIDEBAR_MENU.find('a').filter(function () { 		return this.href == CURRENT_URL; 	}).parent('li').addClass('current-page').parents('ul').slideDown(function() { 		setContentHeight(); 	}).parent().addClass('active');

We already pointed this issue, seems like it's a common one, are some duplicated tickets about it.
We will take care of ti as soon as possible, thank you !


Implementation of WaitUntil.CoroutineEnds

This is an implementation of WaitUntil.CoroutineEnds as described here.

Scanned through the changes a bit. Looks pretty good already but I think we can generalize it a bit more so we can use this for more than just a coroutineends feature.
Also I want to measure the performance of this again.

As expected some allocations are happening. Seems to be about 144 bytes per call which does impact performance quite a bit.
// * Summary *

BenchmarkDotNet=v0.12.1, OS=Windows 10.0.18363.836 (1909/November2018Update/19H2)
AMD Ryzen 9 3900X, 1 CPU, 24 logical and 12 physical cores
  [Host]     : .NET Framework 4.8 (4.8.4180.0), X64 RyuJIT
  DefaultJob : .NET Framework 4.8 (4.8.4180.0), X64 RyuJIT

|                Method |      N |             Mean |          Error |         StdDev |     Gen 0 |     Gen 1 |    Gen 2 |  Allocated |
|---------------------- |------- |-----------------:|---------------:|---------------:|----------:|----------:|---------:|-----------:|
| CallEndlessSubRoutine |      1 |         72.61 ns |       0.835 ns |       0.781 ns |    0.0869 |         - |        - |      144 B |
| CallEndlessSubRoutine |     10 |        672.92 ns |       3.946 ns |       3.498 ns |    0.8698 |         - |        - |     1444 B |
| CallEndlessSubRoutine |    100 |      6,785.61 ns |      32.611 ns |      27.232 ns |    8.6975 |         - |        - |    14443 B |
| CallEndlessSubRoutine |   1000 |     78,150.10 ns |     691.155 ns |     646.507 ns |   56.3965 |   14.0381 |        - |   144427 B |
| CallEndlessSubRoutine |  10000 |  1,027,735.81 ns |  11,053.970 ns |  10,339.890 ns |  230.4688 |  115.2344 |        - |  1444252 B |
| CallEndlessSubRoutine | 100000 | 29,019,037.50 ns | 248,125.998 ns | 232,097.212 ns | 2625.0000 | 1093.7500 | 343.7500 | 14442578 B |

Not yet satisfied with the performance as there is alot of allocations going on (closures, boxing) but I don't think there's a way around this unless C# adds something like a yield all or yield foreach keyword.
In that regard writing this does exactly the same:
foreach(var step in SubCoroutine()) {
  yield return step;
}

This should prevent most of the allocations (there is still a enumerator being allocated) and makes the WaitUntil struct smaller.
It is however more verbose and less readable.

If this is how it is, then I believe it's better to just remove the method altogether.. there are many ways to deal with it in case.
You can take the foreach route, or you can go with the full coroutine-declaring approach that even lets you pause or resume it.
I'll just close it


Safe ITK/C++ exception handling in python

Hi,
I'm using python wrapper of sitk for image registration. I'd like to test different combinations of image normalizations so that I test different registration methods within a loop and I'd prefer not failing fast getting one exception but register the rest "good" combinations. Once in the middle of a loop, I can get an exception from ITK metric class e.g. "Joint PDF summed to zero".
So, I've tried to wrap the registration method in a try-except in python. But then I still continuously get the same exception for remaining iterations within a loop. I also tried to reload SimpleITK package.
What is a safe way to handle itk exceptions in python sitk?
Will it be possible to wrap itk exceptions in sitk?
Best regards,
Stas

Hi,
I've also found that memory is not released properly from a python wrapper of SITK. Should I call GC every time after execution of registration method in a loop? Are there any plans to fix this?
By now I have to run the registration procedure at the "worker" process apart from the main one to handle memory leak and failing by exceptions.
Best regards,
Stas

Hello @take5v,
The exception thrown when "Joint PDF summed to zero" indicates that likely there is no overlap between the two images. This should not happen after a reasonable initialization. Please check this.
With respect to repeatedly getting the same exception, you will have to post a minimal working example illustrating the issue as the code layout is not clear from your description (also not sure what you mean by "image normalizations").
The code below illustrates a repeated registration starting at different initial transformations. The first transformation will cause an exception with the same problem you are having. The second transformation will result in a successful registration.
The images can be downloaded from here and here.
import SimpleITK as sitk

fixed_image =  sitk.ReadImage('training_001_ct.mha', sitk.sitkFloat32)
moving_image = sitk.ReadImage('training_001_mr_T1.mha', sitk.sitkFloat32)

# Create a list of initial alignments. The first causes the images to have no overlap
# and will result in an exception. The second will have overlap and a successful registration.
initial_transforms = []
t1 = sitk.Euler3DTransform()
t1.SetTranslation((1000,0,0))
initial_transforms.append(t1)
initial_transforms.append(sitk.CenteredTransformInitializer(fixed_image,
                                                            moving_image,
                                                            sitk.Euler3DTransform(),
                                                            sitk.CenteredTransformInitializerFilter.GEOMETRY))

# Configure registration
registration_method = sitk.ImageRegistrationMethod()
registration_method.SetMetricAsMattesMutualInformation(numberOfHistogramBins=50)
registration_method.SetMetricSamplingStrategy(registration_method.RANDOM)
registration_method.SetMetricSamplingPercentage(0.01)
registration_method.SetOptimizerAsGradientDescent(learningRate=1.0, numberOfIterations=100, convergenceMinimumValue=1e-6, convergenceWindowSize=10)
registration_method.SetOptimizerScalesFromPhysicalShift()

# Run registrations starting at each of the initial transformations
for i_transform in initial_transforms:
    try:
        registration_method.SetInitialTransform(i_transform, inPlace=False)

        final_transform = registration_method.Execute(fixed_image,
                                                      moving_image)
        print('Final metric value: {0}'.format(registration_method.GetMetricValue()))
        print('Optimizer\'s stopping condition, {0}'.format(registration_method.GetOptimizerStopConditionDescription()))
    except RuntimeError as e:
        print('Got an exception\n' + str(e))

I think this issue has been resolved. It it still persists please reopen and provide more details.

Hi @take5v
I am facing the same issue on kaggle notebook submission file.
My code is breaking in for loop in which I'm writing .nii image using SITK.
I have used try and except for solving this but then I still continuously get the same exception as you mentioned.
Can you please help me in fixing this issue.

Please open a new issue. Please include a minimal reproducible example code, and the output for your problem.


SEAB-6465 Add DB fields to aid periodic tasks - topics

Description
Add a field to record what versions have been used for topic generation (and clears it if it is updated). Add an endpoint to return a latest version for consideration for topic generation.
Will need minor dockstore-support following PR
Review Instructions
n/a probably will need dockstore-support follow-up
Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-6465
Security and Privacy
None
Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that you pass the basic style checks and unit tests by running mvn clean install
[x] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[x] Follow the existing JPA patterns for queries, using named parameters, to avoid SQL injection
[x] If you are changing dependencies, check the Snyk status check or the dashboard to ensure you are not introducing new high/critical vulnerabilities
[x] Assume that inputs to the API can be malicious, and sanitize and/or check for Denial of Service type values, e.g., massive sizes
[x] Do not serve user-uploaded binary images through the Dockstore API
[x] Ensure that endpoints that only allow privileged access enforce that with the @RolesAllowed annotation
[x] Do not create cookies, although this may change in the future
[x] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

After we generate an AI topic, we save the request that we submitted to the AI system, in the form of a hash of the request. Then, to test if we need to regenerate, build the request that corresponds to the current entry state, hash it, and if differs from the saved hash, submit the request to the AI system to regenerate the topic.

Not exactly an objection, but I would like the first pass to be relatively simple and then we can collect data on effectiveness, billing, etc. before deciding to optimise (or prematurely optimise?) more and in what way we optimise.
Going to create https://ucsc-cgl.atlassian.net/browse/SEAB-6484 for further discussion on this and the "what branch or tag" to consider question.

Also followed by https://ucsc-cgl.atlassian.net/browse/SEAB-6485 for the CLI portion

(hoverfly failure seems to be separate issue from develop, noted in #dockstore)


possible to use with ps4 remote play ?

If the remote play application works with a Xbox controller then with a few changes to the source code this may work, ill test it tomorrow when I have time right now I'm trying to see if I can get the mouse to work nicely.

SCP driver supports PS4 control so it could work.  I think we'd need to add the stream to look for PS4 remote play applicatioin too.

I cloned the repo and added "PS4 Remote Play" to the defaultAppNames string array in XboxStream.cs and then ran a build.
The app recognizes when PS4 Remote Play turns on (app goes green), but the buttons don't do anything. They are registering if you click on the Controller Live/Realtime Preview, but they don't do anything in the Remote Play app.

I think that could work with a Xbox controller


Refactor(pedantic): Can we rename points?

"Element" isn't a clear enough word, imo.
affine_element -> affine_point
element -> jacobian_point (if I recall correctly)
And should we have a dinstinct class for when a point is in montgomery form, to make it clear? (Maybe we already do... I'm doing a lot of uninformed backseat driving by opening this issue, sorry).
(We could even go mad and give the names PascalCase).

Montgomery form would be for curves which have an Edwards form, so it would not apply for bn254 or grumkin.
Maybe you meant when the point's co-ordinates are in montgomery form, if so then I think we should not expose whether a field element is in montgomery form as its an implementation detail that should not leak through to the proving system. This is because a field element could use barret reduction to implement modular arithmetic and then you need to change your proving system code because of a change you made in your field element class. The change here would be getting rid of the to_montgomery and from_montgomery methods.
I opened an issue on gnark-crypto here for the same problem.
I think I brought up the field elements exposing montgomery form with @codygunton or maybe it was @ledwards2225

For replacing Element I think it depends on the usecases we are using. I think thats what most other libraries do. ie the concrete struct is AffinePoint, JacobianPoint and then they have an interface called Element or GroupElement which AffinePoint and JacobianPoint satisfies.


create beforeFind lifecycle callbacks, will write afterFind if there is ...

Resubmitting against 0.11 branch

Old discussion: https://github.com/balderdashy/waterline/pull/525

+1 to afterfind !!!

One potential issue with beforeFind and afterFind is that queries can have certain criteria ALWAYS. I suggest using _.defaults or similar to make the criteria specified just default, meaning, if the user passes a value to the query, the beforeFind shouldn't overwrite it. This is up to the user to do this.

@aclave1 I'm not sure I understand. can you be a little more specific, give me an example of what you mean?

I'll use a soft delete example:
//MyModel.js
module.exports = {
attributes:{
name:"string",
isDeleted:"boolean"
},
//wrong way to write this code:
beforeFind:function(query,cb){
query.isDeleted = false;
cb();
}
};
//somewhere else
MyModel.find({name:'bob',isDeleted:true})
.then(function(found){
//found[0].isDeleted === false
});
If you write the beforeFind like that, you're overwriting the user's query params no matter what. A better way to write it would be:
module.exports = {
attributes:{
name:"string",
isDeleted:"boolean"
},
//better way to write this code:
beforeFind:function(query,cb){
_.defaults(query,{isDeleted:false});
cb();
}
};
MyModel.find({name:'bob',isDeleted:true})
.then(function(found){
//found[0].isDeleted === true
});
What we're doing with lodash here is, we're specifying that the default query parameter for isDeleted is false, but that it can be overridden. The beforeFind implementation doesn't do that for you, because there may be a situation where no matter what, a certain value should be attached, and we shouldn't keep the user from doing that.
An example of when a certain value should be attached, maybe we need to use a database partition key for a query which is set in the environment. Or maybe a locale key which is retrieved from another service.

That is a good example, but it is a unique example. I think your claim that beforeUpdate should not overwrite variables passed is too broad of a statement and that although people make dumb mistakes all the time, it is easy to recognize when I'm overwriting a variable every time.
An exception might be that if I am querying over a date range and I want to accept all types of dates, but the end result sent to my DB needs to be an integer. I could check the dates in my beforeFind and transform them to an integer if they are dates. This would require directly manipulating those values.

@randallmeeker Agreed, I think I really just wanted to mention this potential issue that people may face.

:+1:

Back in #525 the general consensus was that this was ready to go. It would be good to merge this to 0.11 so adventurers can start using the 0.11 branch and provide some feedback.
@particlebanana, @tjwebb, @randallmeeker, @devinivy do you have any concerns regarding these changes?

needs docs

Created balderdashy/waterline-docs#59 to address that.

Hey.
I'm very interested in this PR. Though, I installed it and I identified 2 issues on it:

the fact that the criteria is passed by ref and meant to be mutated from the callback is not a reliable strategy: if you go Model.find() without any criteria, then the ref is null and you have no way to mutate query criteria at all. A callback accepting a criteria as a second parameter would be very much better.
calling callback(new Error()) doesn't throw anything

I'll try to submit a PR with failing unit tests soon if that can help!

A callback accepting a criteria as a second parameter would be very much better.

@cyrilchapon, currently no lifecycle callback accepts criteria as a parameter. Any change to this behaviour should be done in a similar manner to what is being discussed in #1004. Our lifecycle callbacks should be as consistent as possible.

@dmarcelino

currently no lifecycle callback accepts criteria as a parameter

Indeed... However, no similar situation was faced before: due to the fact that update() and create() cannot be called without where argument, thus before/afterUpdate/Create/Validate are never invoked with a null criteria parameter. If that wasn't the case, such an issue would have been raised waaay sooner, I think.

Any change to this behaviour should be done in a similar manner to what is being discussed in #1004. Our lifecycle callbacks should be as consistent as possible.

I was afraid of this. But as I just stated, I think this is the first time ever any lifecycle callback has a chance to be invoked with a null argument =/

this is the first time ever any lifecycle callback has a chance to be invoked with a null argument =/

Good point, still, wouldn't it be simpler to do criteria.where = criteria.where || {} before basic.js#L44 instead of adding something to the callback?

Yes. As long as one has a chance to add some criteria. Your solution seems good =)
There is still the callback(err) issue that is not handled

There is still the callback(err) issue that is not handled

I totally agree with you on that onde ;)

I have a situation where an AfterFind would be incredibly useful.
My Model is actually working as a side cache of an LDAP server. Before creating a instance it looks up the data from the LDAP (the primary information source) and then sets all it's own appropriate attributes appropriately.
It would be nice to have an afterFind LifeCycle callback, so that I could do a bit of custom code to check the MySql UpdatedAt field and if the record is stale enough run an automatic update, rather than having to call an update explicitly.

I have another situation where beforeFind/afterFind are useful. When searching for users by email address, the search needs to be case INsensitive, since emails are case insensitive. When we create a user, we toLowerCase their email in a beforeFind, but we have no way to do this in a query without manually doing so every time we search a user by email.

@cyrilchapon, any updates on the changes you wanted to make?

@dmarcelino Node =(, sadly I won't have a chance to fix it myself in the future weeks.
I said

I'll try to submit a PR with failing unit tests soon if that can help!

And won't be able to, sorry. Shouldn't be hard though.

What is the status here?

Any progress here or a way to implement this in the meantime?

closed w/o comment?

@randallmeeker @joncodo @kevinob11 @cyrilchapon @dmarcelino @aclave1 Hey y'all, just posted in https://github.com/balderdashy/waterline/pull/1198#issuecomment-283238977 -- going to go through and cap off these other threads so that we can funnel discussion into one place.  (Also the link will cause them to get automatic back-references, so it'll be easier for folks from search engines to get up-to-date, relevant information this way)


Update mrlearning-base-ch2.md

OPS Build status updates of commit b9ced37:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/mrlearning-base-ch2.md
:white_check_mark:Succeeded
View

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.


security/acme-client: add support to multiple dns api providers

Add support to other DNS APIs:
autoDNS (InternetX)
Azure DNS
DirectAdmin
DreamHost DNS
INWX
KingHost DNS
Knot (knsupdate) DNS
Namesilo.com DNS
selectel.com / selectel.ru
Servercow
UnoEuro
Zilore DNS
zonomi.com

Yes you're totally right, as the text doesn't contain any markup chars there's totally no point of not parsing the section, I will correct it soon

@fabianfrz Corrected with commit https://github.com/opnsense/plugins/pull/712/commits/c5b049cd9a3f8b6966ae32efe220696f0ddaad62, you can continue reviewing, thanks

Merged, thanks! :)


Akdeniz Üniversitesi

Akdeniz Üniversitesi
Official website: https://www.akdeniz.edu.tr/en
Computer Engineering Department: https://cse.akdeniz.edu.tr
Document explaining @ogr.akdeniz.edu.tr domain for students: https://akuzem.akdeniz.edu.tr/tr/ogrenciler_icin_ogr_akdeniz_edu_tr_eposta_hesabi_alma-4305

@tsvayer I am sorry, the domain ogr.akdeniz.edu.tr is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Gerber files for v3b board required

It would appear the v3b board Gerber files are missing from the repo.  This file is for the v3 board (dated 2020-02-16), however, the current boards being sold appear to be a later revision, v3b (dated 2020-03-15).
Please could the v3b Gerber files be uploaded, potentially deprecating the older file?  I note on the v3 PCB layout the pins are in a slightly different location.  It appears the drill scaling may also be off (I'm not familiar with making PCBs, a friend had to explain).
Many thanks for all your work on this @LeafCutterLabs.

I've seen this too. Layers from V3 PCB are not aligned correctly, it seems.

Uploaded the v3b board. The holes line up but there is a difference between the plated holes and regular drills. The non-plated holes are for the encoder mechanical attachment and 5th holes on the Cherry MX footprint.

Many thanks @LeafCutterLabs .


RectangleLabels all bounding box edges resized to fit zoomed in image when adjusting one edge

Description
When adjusting the bounds of a bounding box (RectangleLabels) while zoomed in, the entire box will be reset to fit within the currently zoomed size. For example, if shifting the right edge, the left edge will also be moved to be inside the zoomed area
To Reproduce
Steps to reproduce the behavior:
<View>
  <RectangleLabels name="labels" toName="image">
    <Label value="Person" />
    <Label value="Animal" />
  </RectangleLabels>
  <Image name="image" value="$image"  zoomControl="true"/>
</View>

Add RectangleLabel to full size image

Zoom in such that at least one edge of the bounding box is outside the view
Resize one edge of the bounding box

See that all edges are now within the zoomed area

Expected behavior
Only the edge of the box currently being adjusted when zoomed in should be changed. All other edges of the box should be kept in place.
Environment:

OS: Docker
Label Studio Version:

{
 "label-studio-os-package": {
   "version": "1.3.post0",
   "short_version": "1.3",
   "latest_version_from_pypi": "1.3.post0",
   "latest_version_upload_time": "2021-09-18T12:52:01",
   "current_version_is_outdated": false
 },

 "label-studio-os-backend": {
   "message": "[fix] Filter chaining (#1594)",
   "commit": "e2eba82c8858e80479196c265b672ac0e80ff181",
   "date": "2021-10-15 09:24:13 +0300",
   "branch": "master",
   "version": "1.3.0+83.ge2eba82.dirty"
 },

 "release": "1.3.post0",
 "label-studio-frontend": {
   "message": "Add parent annotations, fix styles",
   "commit": "73555b417ab811033c8d0b3bd3c16130e9298f3b",
   "branch": "feature/parent-anno",
   "date": "2021/10/11 23:36:04"
 },

 "dm2": {
   "message": "Form fields fix",
   "commit": "6cc91af181fcc223a4af2ba28d58f1749cae6e3a",
   "branch": "HEAD",
   "date": "2021/10/12 13:17:15"
 },

 "label-studio-converter": {
   "version": "0.0.33rc1"
 }
}

Additional context
This is not reproducible using the Playground

Hi, @Adrian-Rasmussen ! Thanks for pointing out, currently working on it

This issue was fixed, please try the latest master.

Hi @niklub / @makseq unfortunately this issue seems to be happening again in the latest docker version:
{
  "release": "1.6.0rc5",
  "label-studio-os-package": {
    "version": "1.6.0rc5",
    "short_version": "1.6",
    "latest_version_from_pypi": "1.6.0",
    "latest_version_upload_time": "2022-09-27T17:09:34",
    "current_version_is_outdated": true
  },

  "label-studio-os-backend": {
    "message": "Bump rc5",
    "commit": "b0df5dd19a5400e8d26fb8269e2add87799af055",
    "date": "2022-09-27 16:32:57 +0100",
    "branch": "HEAD",
    "version": "1.6.0+0.gb0df5dd"
  },

  "label-studio-frontend": {
    "message": "fix: DEV-3510: fix video regions w/o label",
    "commit": "5d4231c2a8b9703f8c43abdf62948ac892d6f742",
    "branch": "master",
    "date": "2022/09/27 13:58:00"
  },

  "dm2": {
    "message": "feat: DEV-3373: Enable video preview (#106)  * Enable video preview  ...",
    "commit": "8374cbfeceb5aa9870278fc5371f0585d452c111",
    "branch": "master",
    "date": "2022-09-27T08:11:03Z"
  },

  "label-studio-converter": {
    "version": "0.0.44"
  }
}


Handle collections containing secrets when finding existing property GUIDs

Addresses one of the known issues for collection GUID assignment addressed in #207:

GUID association does not work for collections items that have a secret field AND no logical key field

It looks like there's a merge conflict in api/staged_products_property_collection_guid_assigner_test.go.go (and it also has the .go extension twice, which seems weird). Other than that, LGTM


How to set margin-top/bottom/left/right auto trick in RN?

Hello,
I wonder how can i do the  margin trick in RN such as we do on web
For example lets say we have 2 divs. And i want the bottom one expand to  the top.Think about a chat screen and you need to set  messages go from bottom to top... How would set such a setup ?
Iin WEB you just set message container to flex 1 and and make a empty  component on top of the list and give kt a margin-top:auto... And empty component will take all the empty space untill the list item..
So how to do same thing in flatlist in react native??
I actually tried inverted=true in flatlist props but this gives me everything reversed..  i dont need that..

@Bayramito could you provide a rough drawing of what you need? Based off of your requirements you could potentially use flexbox column reverse, but i'd love to see your use-case to better help you out

@Bayramito could you provide a rough drawing of what you need? Based off of your requirements you could potentially use flexbox column reverse, but i'd love to see your use-case to better help you out

Hi,
Thank you for you response.
So my goal is to create a chatting screen. As you can gues, chat ballons starts from bottom and goes to top. For this effect i could use flatlist with prop called inverted=true,  but then the data inside of it, also being reversed. Of course i can manipulate the data before putting in flatlist but, it causes me different problems.
The major problem is, i can't find a way to put the date of the message on top of the message box.
My case is explained much more detailed here please take a look at :) Thank you!
https://stackoverflow.com/questions/61237564/how-can-i-show-days-by-group-like-whatsapp-chat-screen


Wrong build badge in README.md

The badge points to https://ci.appveyor.com/project/speps/libtessdotnet, which I assume is a mistake.

Yeah copy paste error :) I'll fix it
On 17 May 2015 09:53, "Christoffer G. Thomsen"<EMAIL_ADDRESS>wrote:

The badge points to https://ci.appveyor.com/project/speps/libtessdotnet,
which I assume is a mistake.
—
Reply to this email directly or view it on GitHub
https://github.com/speps/go-hashids/issues/13.


Token usage missing

https://platform.openai.com/docs/api-reference/chat/create
  "usage": {
    "prompt_tokens": 9,
    "completion_tokens": 12,
    "total_tokens": 21
  }

This blocks langchain working seamlessly.
Maybe just dummy it for now? I didn't run into issues when disabling the dictionary access in langchain so probably doesn't hurt

Yes I've not included this so far because it seemed pointless, as we shouldn't have to monitor token consumption. But if it's breaking pipelines in tools such as langchain better have a dummy one.


[probes.grpc] add plaintext option to use insecure transport credentials

Hello!
I recently added a probe to my team's cloudprober deployment to check a grpc endpoint. Before adding, I confirmed the configuration with a local instance of the application, and a local instance of cloudprober. The configuration seemed fine, but upon deploying into production, the probe errored out.
After some unsuccessful debugging, I set the following env vars for grpc
GRPC_GO_LOG_VERBOSITY_LEVEL=99 GRPC_GO_LOG_SEVERITY_LEVEL=info
and was presented with the following error:
Err: connection error: desc = "transport: authentication handshake failed: local credentials rejected connection to non-local address
I found that this error was from the credentials/local pkg of go-grpc.
Since the endpoint I was trying to hit does not use tls, but isn't local, I patched cloudprober to use credentials/insecure instead.
To make this cleaner, I've opened this PR to add a config option to the grpc probe config to use plaintext auth.

@manugarg Could you take a quick look here and let me know if this makes sense? Thx in advance for reviewing!

Hey @abaratif, thanks for the PR! I think such an option makes sense. A couple of quick suggestions:

Can you please use the protoc version in the tools script to avoid the large diff in all the files.
For the config option itself, I think the name allow_insecure will probable make more sense. You can explain it in the comments.

P.S.: Is it for DoorDash? Good to know that DoorDash is still using Cloudprober :)

@abaratif so the change has been committed, but since I cut a release only yesterday, I'll wait for a couple of weeks before the next release. Can you use the "main" docker tag (or download unreleased binaries) in the meantime.


Support Metrics Report February 2022

This report looks at the trends around support to help us better understand areas we need to improve and highlight key topics for the month.
Tickets received

The number of tickets received increased by about 8% from 2080 in January to 2252 in February. By removing blank tickets and expenses notifications where no action was required the trend remained roughly the same (6% increase) with 798 tickets compared to 747 in January. You can find the working files here.
The tickets contribution across the teams was as shown below:

Trends and Recommendations
We had 798 tickets that required support attention. Here is the summary of the common areas of questions - please note we take out the Expenses and Onboarding topics as these are addressed separately and would make a large portion of the questions we handle.
Below are some notes on these trends:
Virtual cards
With the switchover from Privacy to Stripe, some follow up with collectives was necessary for collectives with previous cards. We also get many inquiries for virtual cards from OCF and OSC, showing this remains a very popular feature.
Tax
It being Tax Season in the US, inquiries related to taxes are high.
Lost
We still consistently receive a relatively large number of tickets when users are looking to contact a specific initiative/project. There is roughly the same amount going from January to February, from 22 to 25. It’s likely this will continue, and an upside is that many of these inquiries do get resolved.
HR
This task has been changing hands and deepening the offerings, which is an involved task, especially for OCF but also OSC.
Independent Collective
Alanna has been helping Ember give ICs better direct support, with conversations about improved onboarding to forestall some of the sticky problems and confusion ICs can get into.
Expenses and Onboarding
It seems like it would make sense to aggregate these categories into a separate section to look at some of the trends we can witness. Below is a more detailed description.
Expenses
Common issues during February and other topics worth noting and weren’t flagged last month:

With the war in Ukraine taking place and the restrictions on payments to Russia we currently not able to process payments to Russia based contributors. The impact for February was still pretty small with PayPal only stopping their support to these payments during early March, but this is something major for us to flag. Mostly impacts OSC.
During March OCF started supporting 1k Project for their renewed mission of supporting Ukrainian families and this impacted the expenses process. We anticipate the tickets related to expenses for March to increase due to these changes. As of now we established an automated process (big shout to the engineering team for making it happen!) that allows us sending money to that part of the world.

Onboarding
There is a 11% decrease in the number of new initiatives joining OSC and a 23% increase for OCF. Here is how it was distributed:
We approved 58 new applications for OCF in February compared with 47 in January.
For OSC -  71 new collectives were approved this month compared to 80 in January.

This is super helpful @emberwry - It'd be interesting to know for example for Tax or Virtual Cards what are the most common enquiries. This will be useful for finding solutions or showing the info to the users before it reaches support.
Any specific ideas, please feel free to add them to the https://github.com/opencollective/opencollective/issues/5337

@piamancini for the question on tax - most of the tickets in February related to our follow up on some info missing for 1099 generation, folks contacting us to enquire why forms were not received (mostly related to the changes in the reporting requirements through PayPal where 1099s are received through them rather being sent by OSC). As for the virtual cards question, I think @emberwry would have a much better context than me

hi, @piamancini ! virtual card tickets are most often virtual card requests for a new card or for an increase in budget, and then earlier this year (feb especially) involved back and forth around receipts needing to be uploaded.

yeah! i'm pretty sure most of the virtual card tagged tickets are virtual
card requests. there was some chatter about the shiftover to Stripe and
uploading receipts as well, but none were recurring issues.
On Fri, Mar 18, 2022 at 12:57 PM alinamanko @.***>
wrote:

@piamancini https://github.com/piamancini for the question on tax -
most of the tickets in February related to our follow up on some info
missing for 1099 generation, folks contacting us to enquire why forms were
not received (mostly related to the changes in the reporting requirements
through PayPal where 1099s are received through them rather being sent by
OSC). As for the virtual cards question, I think @emberwry
https://github.com/emberwry would have a much better context than me
—
Reply to this email directly, view it on GitHub
https://github.com/opencollective/opencollective/issues/5336#issuecomment-1071881975,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUM6MODIW7AQW4HVDK4TNFDVAPBG5ANCNFSM5Q5SH3YA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


Add support for loading minified classes

Missing: Actually setting lc_name in all the serializable classes

Fixes # (issue)

Ended up opening #2328 on top of this - will merge that instead.


How to get current tps ?

Hi, all
There are any way  to get current tps of my running system by metrics?
I use Meter or Time,  but the mean rate is not my expected.

If you want to get the current value of something at the exact moment in time, then you'll have to use a gauge. All other metric types (except for gauges and counters) are in some way pre-aggregated.
See https://metrics.dropwizard.io/4.1.22/manual/core.html for details.

got it，thank for you reply @joschi


bugfix: Remove forced default width, forced full-width

Updated bugFix due to changes in user editor config - setting default width no longer enables full width publihsing.

fixes #173

Is this change backwards compatible to older versions of confluence?

@mrueg full-width is the original and how confluence was prior to the new editor. The "default" mode in latest is based on the new editor fixed-width which is only circa 80% wide. The full-width value is backwards compatible  as far as I have seen, do you have an issue running this? In addition to this have left out content-appearance-draft as that is user preference and configured as a profile setting

@mrueg also for clarity in May 22 Atlassian fixed the api for fixed-width, however another bug was introduced. A fix was applied in Dec 22 which resulted in allowing either value to the API. The default is "fixed-width" hence causing the issue with full-width in mark when passing "Layout: plain"

Thanks a lot for the clarification @jay-stillman! I haven't seen any issues here, wanted to make sure that it doesn't break things for other users.


SGX attestation: Document input values for getting a Quote

Specifically:

[ ] What is the quote type (linkable vs unlinkable)?
[ ] What is the SPID?
[ ] Do we want a nonce?
[ ] What should buf size (quote size) be?

Based on this information, some of the current values may need to be updated.

The above fields have turned out not to be relevant because they are for a V2 Quote (we are using V3). However, V3 fields in the protobuf requests should still be documented.

The above fields have turned out not to be relevant because they are for a V2 Quote (we are using V3). However, V3 fields in the protobuf requests should still be documented.


Doc issue 3 - Code snippet does not contain sufficient information

The code snippet for notifySelectedVideoEffectChanged
notifySelectedVideoEffectChanged(effectChangeType: EffectChangeType, effectId: string | undefined)
This code snippet does not contain information for what will be the effectChangeType and what will be the effectId. We can add note or comments which will define from where to use these values. For eg effectId will the the id for the applied effect which is also available in manifest.

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

ID: 62dc58bf-69e5-8c4c-90f2-9148ee03b30f
Version Independent ID: 62dc58bf-69e5-8c4c-90f2-9148ee03b30f
Content: Video filters for meeting apps - Teams
Content Source: msteams-platform/apps-in-teams-meetings/video-filters-for-meeting-apps.md
Service: msteams
GitHub Login: @v-ypalikila
Microsoft Alias: v-ypalikila

@surbhigupta12 - Could you please help here to update the documentation?

Hi @ChetanSharma-msft @Prithvi-MSFT ,
We have updated the manifest with additional information in the docs for the issue request. Request you to confirm if we can close the git Issue.
Sharing the following screenshot and link for your reference:
Link: https://review.learn.microsoft.com/en-us/microsoftteams/platform/apps-in-teams-meetings/video-filters-for-meeting-apps?branch=pr-en-us-6618&tabs=meeting-lobby-experience%2Capp-validator%2Ccategory-1#video-extensibility-api-reference
Screenshot:

Thanks,
Yash

Closing this issue as it is resolved.


Not compatible with Ethiopia update?

Describe the bug
Does not seem to work with game once Ethiopia update is installed. City menu is the regular Civ VI menu.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
General informations

OS: [e.g. iOS]
Version [e.g. <IP_ADDRESS>6]
Expansion [e.g. None, Rise and Fall]
Other mods [e.g. YnAMP]

Save game and logs
Please attach if you can your save game and the logs. You can find them in ..\documents\my games\sid meier's civilization vi\ on windows or /Users/[user]/Library/Application Support/Sid Meier's Civilization VI/ on Mac OS.
Additional context
Add any other context about the problem here.

Please post logs.
Everything working good for me (surprisingly).

The icons in the production menu look a bit weird. Looks like Firaxis changed something here.

Not enough information to reproduce. The pull request #105 should fix all things we found to be broken with the Ethiopia update. Any issue that exists after the pull should have a new issue opened.


RequestSubscriber doesn't work

https://github.com/PacktPublishing/Drupal-10-Development-Cookbook/blob/main/chp04/recipe5/mymodule/src/EventSubscriber/RequestSubscriber.php
I replaced getSubscribedEvents() with:
public static function getSubscribedEvents() {     $events['kernel.request'][] = ['doAnonymousRedirect', -28];     return $events; }
Only then did it work.

confirming that I had the same issue with this and the above modification fixes the issue.

Same here


Advertising support

I've tested this library for a BLE Beacon scanner, which works well using the device scanner.  However, it would be fantastic if support for adding advertisements could be added so it's possible to create beacons also!  I noticed the docs for the advertising manager are already in this repo, so this might already be planned or initiated?  I haven't DBussed before, but with some collaboration I could maybe contribute to the implementation somehow...
For reference: https://github.com/SuessLabs/Linux.Bluetooth/blob/master/docs/BlueZ/advertising-api.txt
Thanks for the efforts so far btw =]

@svedmark, That would be a good example to include to ensure that the feature is supported.
Added it to the backlog. If you're able to pick up the work item before I do, that would be great. Currently, the main focus I'm targeting is BLE Server supportability.

Examples based on DotnetBleServer library:

https://github.com/phylomeno/dotnet-ble-server/tree/39e020fc9d447750b47548ef0e852d9c0660a15c/Examples
WIP https://github.com/wcoder/CPUTemp

Thank you @wcoder! As soon as i wrap up the next release of Prism.Avalonia, i'll dig into it 👍

Hello @DamianSuess - I'm trying to understand the current state of your library as it relates to BLE peripheral support. Does your library currently allow for advertisements and acting as a GATT server?
Specifically, I'm trying to understand if this feature request is just to author some demo code or if the actual implementation is still unimplemented?
Thanks in advance!

The GATT Server portion can be wired in, however, I do not have helper classes programmed in just yet. By all means, if you want to contribute a PR to help improve, please do :)

Hi @DamianSuess, since the title has [Enhancement] now, does this mean that advertising functionality is already implemented? If so, is it included in the latest NuGet package release?
Thanks for the great work! 😄

Hi @DamianSuess, since the title has [Enhancement] now, does this mean that advertising is already supported? If so, is it included in the latest NuGet package release?
Thanks for the great work! 😄

Yes, @ahak-Yem , this does support advertising.
With this NuGet gives you access to the DBus layer. So even if I don't have a wrapper, you can quickly write your own code for the BlueZ interface.


Create Google Map with sample markers

Example Package: https://github.com/visgl/react-google-maps

@sosualfred please assign this to me

great


[MT-5209] Fix normalization logic

Fix normalization logic

Can you please also describe what exactly was wrong?

Slate has default normalization which inserts text if element has no children, here was a bug that this function was not called


Debug node autoprovisioning: did not match Pod's node affinity

Description
In #670 we enabled node auto-provisioning. In practice what we are seeing when trying to create pods is the following message:
Events:
  Type     Reason             Age   From                 Message
  ----     ------             ----  ----                 -------
  Warning  FailedScheduling   38s   prod-user-scheduler  0/2 nodes are available: 2 node(s) didn't match node selector.
  Warning  FailedScheduling   38s   prod-user-scheduler  0/2 nodes are available: 2 node(s) didn't match node selector.
  Normal   NotTriggerScaleUp  38s   cluster-autoscaler   pod didn't trigger scale-up: 1 node(s) didn't match Pod's node affinity

And this is preventing any new node from coming up.
Value / benefit
We need to spin nodes up!
Implementation details
No response
Tasks to complete
No response
Updates
No response

I did the following:
kubectl get pod jupyter-sgibson91 -o yaml > mypod.yaml
Edited the yaml and removed the nodeSelector
kubectl apply -f mypod.yaml
And that seemed to spin up fine

@sgibson91 For what it's worth, in QHub we haven't tried node auto-provisioning. Instead we have node pools that are explicitly defined and pods get scheduled on them. Wish we could be of more help here

Thanks @tylerpotts - that is 2i2c's default too. But when I raised the question about appropriate machine sizes for those pool in #666 we found out Pangeo are using auto-provisioning and we didn't really have any data to hand for optimising the machine sizes to expected load.

@sgibson91 We have been recently struggling with the problem of optimizing workload to node size as well. For the most part we have been allocating a single node per user pod/dask pod which has helped somewhat when it comes to the larger scale clusters.
As far as determining the allocatable  resources available on the nodes, we have quite a bit of research detailed here that you may find useful: https://github.com/Quansight/qhub/issues/792. Unfortunately there doesn't seem to be a linear formula, as kubernetes reserves variable amounts of millicpu and RAM depending on the size of the node

I've added an update to the top comment, to reflect that we're manually provisioning the Pangeo hub for now!


validate_on_init or pydantic_run_validation doesn't work

Initial Checks

[X] I have searched GitHub for a duplicate issue and I'm sure this is something new
[X] I have searched Google & StackOverflow for a solution and couldn't find anything
[X] I have read and followed the docs and still think this is a bug
[X] I am confident that the issue is with pydantic (not my code, or another library in the ecosystem like FastAPI or mypy)

Description
On trying to run below code, it results into validation errors because i am passing string type value for port rather then list -
pydantic.error_wrappers.ValidationError: 1 validation error for MySQLConfig
port
value is not a valid list (type=type_error.list)
I am trying to use validate_on_init or pydantic_run_validation to avoid this pydantic validation errors. but this doesn't work
Can you help me finding a way to avoid pydantic init validation errors when we pass different field type value? this works with stdlib dataclasses?
Example Code
@dataclass()
class MySQLConfig:
    driver: Dict[str, str] = field(default_factory=dict)
    port: List[str] = field(default_factory=list)
    password: int = 0

    @validator("password")
    def validate_supported_password(password: int, values, **kwargs):
      if password == 100:
          raise ValueError(f"'password' cannot be 100 got: {password}")
      return password

config = MySQLConfig(driver={"test":"omry"}, port="13", password=3, validate_on_init=False)
config = MySQLConfig(driver={"test":"omry"}, port="13", password=3, __pydantic_run_validation__=False)
config = MySQLConfig(driver={"test":"omry"}, port="13", password=3, validate_on_init=False).__pydantic_run_validation__=False

Python, Pydantic & OS Version
pydantic version: 1.10.2
pydantic compiled: True
install path: /home/runner/VainSuperficialEmulators/venv/lib/python3.8/site-packages/pydantic
               python version: 3.8.12 (default, Aug 30 2021, 16:42:10)  [GCC 10.3.0]
                     platform: Linux-5.15.0-1017-gcp-x86_64-with
optional deps. installed: ['typing-extensions']

Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .dict() and .json()
[ ] JSON Schema
[X] Dataclasses
[ ] Model Config
[X] Field Types - adding or changing a particular data type
[X] Function validation decorator
[ ] Generic Models
[X] Other Model behaviour - construct(), pickling, private attributes, ORM mode
[ ] Settings Management
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

@PrettyWood  @samuelcolvin  I have submitted a new issue with better description to tell about my issue. as I was not able to reopen last issue [https://github.com/pydantic/pydantic/issues/4496] . Please guide me if I am doing something wrong in the code