Support rich content in markup annotation

use the xfa parser but in the xhtml namespace.

Fix #2966
Fix #13915

/botio test

/botio test

The "regressions" are due to the fact we're using the xhtml now instead of the contents.
For example in annotation-highlight.pdf, the xml is:
RC = "<?xml version=\"1.0\"?>
Highlight content
"

which specifies a font and a font size.
I wonder if we should strip out the font-family (because Arial for example won't be available everywhere).
Should we use for example Liberation to render all the annotations in order to provide the same rendering for everybody ?

I wonder if we should strip out the font-family (because Arial for example won't be available everywhere).

That might be the simplest solution, and would ensure a more consistent handling of all PopupAnnotations regardless if they're using Contents or RichText.

Should we use for example Liberation to render all the annotations in order to provide the same rendering for everybody ?

Unless absolutely necessary, I'd advise against that for overall simplicity since not all PDF.js implementations will be bundling the standard font files and we'd thus need to ensure proper fallback behaviour in that case.

/botio test

/botio test

/botio-linux browsertest

/botio makeref

/botio-linux makeref


[backport] Sets the default value for thread_local.linalg if not defined

Backport of #2915

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 50e521624e801b76668b0df6ce5617ff89e20416, target branch v7) succeeded!


Use SVG rather than PNG

Reason is pretty obvious.

I'd planned on using https://mozilla.github.io/pdf.js/ to show the rendered PDF, but SVG might be a better choice.
With regard to SVG output, http://www.lilypond.org/doc/v2.18/Documentation/usage/command_002dline-usage says, "This creates a single SVG file, without embedded fonts, for every page of output. It is recommended to install the Century Schoolbook fonts, included with your LilyPond installation, for optimal rendering."
It might be a nightmare trying to get the necessary fonts to the user (also consider licensing issues). If SVG proves to be tricky, try PDF.

I have considered PDF.js, but its API seems to be fairly convoluted, while we can reuse the corrent zooming routins for SVG. Plus PDF might prove to be larger than SVG (haven't checked).
For the font issue, the page you referenced says: "There is also an option svg-woff (below) for use of woff font files in the SVG backend." Not sure if that would satisfy our requirements.

Figured out a way to do SVG stuff:

Output SVG Done
Add web fonts for Century Schoolbook L
Move to svg-pan-zoom. Why? Currently the SVG is loaded with <img>, which unfortunately doesn't work with @font-face in parent HTML/CSS. <svg> in HTML works however, so does rewriting SVG to add CSS, which is tricky. Preview.js doesn't work with <svg>, and I am not in the mood of wrestling with it.


Inline Validation in change password.

Related Issue

Closes: #294
Inline validation in change password fields
Description of Changes
Added inline validation in change password fileds
Checklist:

[x] My code adheres to the established style guidelines of this project.
[x] I have conducted a self-review of my code.
[x] I have included comments in areas that may be difficult to understand.
[ ] I have made corresponding updates to the project documentation.
[x] My changes have not introduced any new warnings.

Screenshots
https://github.com/apoorvaron/Shorty/assets/86224794/ac1b5b15-df5f-499b-983d-ae2997dc6681

@AlfiyaSiddique
One request review

Green border in old password (after entering the data in old password field just remove the border but keep same if field is empty then make it red because we don't have to tell user that this is correct old password from frontend)

Just remove green border 👇
https://github.com/apoorvaron/Shorty/assets/83576954/c6b3ddcc-a3f3-48dd-bb5d-d1acc0cc51f5

@AlfiyaSiddique
One request review

Green border in old password (after entering the data in old password field just remove the border but keep same if field is empty then make it red because we don't have to tell user that this is correct old password from frontend)

Just remove green border 👇
Screen.Recording.2023-08-07.at.10.49.13.PM.mov

Okay Got it. 👍🏻

@apoorvaron implemented the changes
https://github.com/apoorvaron/Shorty/assets/86224794/3aae3104-8311-4fae-adba-91a75d8e90d7


not creating activity

hello,
i can't create any activity with
u = User.find(2)
t = User.find(5)
t.create_activity :create, owner: u    OR    t.create_activity key: 'user.create', owner: t

no error raise but nothing added in DB
for user model i added
include PublicActivity::Model
tracked
Rails <IP_ADDRESS>
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]

my gemfile
gem 'public_activity', github: 'chaps-io/public_activity', branch: 'master'

i had override activities method in user model. This is the reason it was not working


Re-design of emissions summary page

Describe the task
The business area has updated criteria for emissions summary. We need to update the design of the emissions summary page based on the change. See also #294
Acceptance Criteria

[x] Cross-check with business area about the updates
[ ] Update design of emissions summary
[ ] Review design with devs and BA
[ ] Update the design everywhere

Additional context

Emission Summary Page tickets: #142 and #202

@suhafa  I've added links to the 2 user story tickets for Emissions Summary pages. Based off the outcome of this ticket these will likely need to be refined.

Notes from BA:
"For the Methodology Dropdown list, there be 2 separate options: "Replacement Methodology" and "Alternative Parameter Measurement Methodology"
Upon selecting either of these aforementioned 2 options, there be a note (through an asterisk or similar) with the following text: “By selecting Replacement Methodology/Alternative Parameter Measurement Methodology, you may be contacted by Ministry staff to verify compliance.”
Following selection of either of the 2 options, a mandatory comment box will appear with a note above the comment box “Replacement Methodology/Alternative Parameter Measurement Methodology Description”"
This ticket can be converted to a dev ticket for implementation of this


Add jobs for planner api tests on prod-preview

This PR updates the existing template for job 'devtools-test-end-to-end-{test_url}-planner-api-test' to run tests against prod and prod-preview. Currently tests are run on production only.

Updates the credential id for job "devtools-test-e2e-prod-preview.openshift.io-planner-functional-tests"

Can one of the admins verify this patch?

[test]

[test]

@jmelis I've made the changes. Please review again.

[test]


coprocesser: it will report error if use gbk_chinese_ci

Bug Report

What version of TiKV are you using?

What operating system and CPU are you using?

Steps to reproduce

What did you expect?
What did happened?

/assign


[FEATURE] Add async support

Feature
I don't really know how async + ui/graphics stuff behaves (e.g. the egui crate blocks thread on await), but it would probably always be useful to have some kind of rayon/tokio/whatever support.
Solution
Re-implement stuff in async using futures-lite crate and add rayon feature.
rayon may also be used for iterating through pixel buffers.

Just found out async in game loops is pretty much impossible.
However, implementing async in enter and leave may be possible.

Seems like it's not possible to implement async in most components.
Rayon support may be added in a future issue.


testing sonar PR from new branch

SonarQube Quality Gate Result

Result: :exclamation: Error
Triggered by @omri-ratson on pull_request

Metric
Status
Value
Error Threshold

Reliability rating
:white_check_mark: OK
1
> 4

Security rating
:white_check_mark: OK
1
> 1

Sqale rating
:white_check_mark: OK
1
> 1

New coverage
:exclamation: Error
0.0
< 80

Coverage
:exclamation: Error
0.0
< 80

Duplicated lines density
:white_check_mark: OK
0.0
> 4

View on SonarQube
(updated: 12/11/2022, 4:06:20 PM)

SonarQube Quality Gate Result

Result: :exclamation: Error
Triggered by @omri-ratson on pull_request

Metric
Status
Value
Error Threshold

Reliability rating
:white_check_mark: OK
1
> 4

Security rating
:white_check_mark: OK
1
> 1

Sqale rating
:white_check_mark: OK
1
> 1

New coverage
:exclamation: Error
0
< 80

Coverage
:exclamation: Error
0
< 80

Duplicated lines density
:white_check_mark: OK
0
> 4

View on SonarQube
updated: 1/11/2023, 10:29:43 (UTC+0)

SonarQube Quality Gate Result

Result: :white_check_mark: OK
Triggered by @omri-ratson on pull_request

Metric
Status
Value
Error Threshold

Reliability rating
:white_check_mark: OK
1
> 4

Security rating
:white_check_mark: OK
1
> 1

Sqale rating
:white_check_mark: OK
1
> 1

Duplicated lines density
:white_check_mark: OK
0
> 4

View on SonarQube
updated: 1/15/2023, 07:33:45 (UTC+0)

SonarQube Quality Gate Result

Result: :white_check_mark: OK
Triggered by @omri-ratson on pull_request

Metric
Status
Value
Error Threshold

Reliability rating
:white_check_mark: OK
1
> 4

Security rating
:white_check_mark: OK
1
> 1

Sqale rating
:white_check_mark: OK
1
> 1

Duplicated lines density
:white_check_mark: OK
0
> 4

View on SonarQube
updated: 1/15/2023, 07:38:03 (UTC+0)


[admin] Publish

Docs Build status updates of commit 6491ae9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


add context to default interaction terms

It's fairly risky to change the default behavior of learners but I've been pulling my hair why some of my models weren't learning anything with the synthetic data generation just to realize it's because I've used the default interaction terms instead of my manually provided list.
Is there a reason for omitting the context term?

You know I'd noticed the same behavior... I don't have a good explanation for why it helps so much with your test environment...
The reason we exclude it is because in theory we don't need it... Some of my collaborators on the VW team have recommended excluding it on some other projects. Internally vw just does linear regression so in a specific context all actions we are evaluating should have the same "x" making it irrelevant when VW predicts the expected reward for each action.
I'm currently running a large experiment on 208 datasets to compare the current default to what you are proposing (I've never actually done this before). We'll know by tomorrow morning which default does best on these datasets. I'm also running each dataset with 50 shuffles so we'll be able to put a pretty tight CI on the difference as well.
Here is the result so far. The green dots are datasets where the current default does better. The blue dots are when the new proposed default does better. Each dot is a dataset and the dots show the difference in total average reward for the two proposed learners on each dataset.

It's been bugging me that your test environment needs 'x'. I figured out why this morning. Your actions should be tuples.
Change:

cb.SimulatedInteraction(context=context, actions=[0,1], rewards=rewards)

To:

cb.SimulatedInteraction(context=context, actions=[(1,0), (0,1)], rewards=rewards)

With that change you won't need 'x'. I'm happy to explain what's going on if it doesn't make sense.
Also, for what it is worth, here are the final results of my experiments last night:
By Dataset:

By Training Example:

Oh, very interesting!
Thanks for doing the analysis! Looks like this change is unnecessary.
I don't quite understand why action=[0, 1] doesn't work. I could replicate the learners working without needing the x term for the tuples as well as actions=["a", "b"]. I suspect it has something to do with 0/1 being processed in an ordinal way but couldn't spot where.

Yes,
The way the action values are processed is internal to VW so you wouldn't see it anywhere in COBA.
In short, the features of the linear regressor in the old way would look like this (assuming we only have xa):

if action = 0 then features are [0f1, 0f2, 0*f3] = [0,0,0]
if action = 1 then features are [1f1, 1f2, 1*f3] = [f1,f2,f3]

This means that VW will always predict 0 for action=0 because [0,0,0] @ [w1,w2,w3] = 0 for any coefficients.
When we make action a tuple it looks more like this

if action = (1,0) then features are [1f1, 1f2, 1f3, 0f1, 0f2, 0f3] = [f1,f2,f3,0,0,0]
if action = (0,1) then features are [0f1, 0f2, 0f3, 1f1, 1f2, 1f3] = [0,0,0,f1,f2,f3]

With these features it is possible for VW to learn a reward for the first action using the first three coefficients.
It is interesting that adding simple [x, ax] works because that means here is what VW saw

if action = 0 then features are [f1, f2, f3, 0f1, 0f2, 0*f3] = [f1,f2,f3, 0, 0, 0]
if action = 1 then features are [f1, f2, f3, 1f1, 1f2, 1*f3] = [f1,f2,f3,f1,f2,f3]

In this case the optimal solution could be achieved if VW learned to use the first three coefficients to predict reward for action = 0 and then used the second three coefficients to learn to predict the difference between action 0 and action 1. This seems to be what VW does given that it learns a good policy.
Does that make sense?

(oh and when you use string values for the actions such as "a" and "b" VW automatically one hot encodes the values internally)

That makes sense (does it? 😅), thanks for the explanation!
I guess we have to be careful to cast actions as strings if their numeric values don't carry particular meaning.


Module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0 compiler

Module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0 compiler

Same issues here

You can use my fork. If you have some problem the last option which always works, is to adde it as submodule adding all files to your project.

@asam139 Save my day, thx~

I am getting the same issue, please can you guide how to fix this?

@asam139 can you guide?

or @pacoyang

Hi @dcubebusiness,
@pacoyang and I are using my fork, "https://github.com/asam139/ARVideoKit.git".
The simple way is to add as submodule in your repository and to add all files in your project.
I have not tried to add my fork as a pod, so I did not know if it works.


Revert #80; breaks arg splitting on OS X/Linux

In 0.17 argument splitting is now broken on OSX/Linux when single quotes are used correctly.
Basically:
Given package.json:
"watch": "watch 'npm run css' ./src",

OSX/Linux
process.argv.slice(2) => ['npm run css', './src'] // OK
process.argv.slice(2).join(' ') => 'npm run css ./src'
require('splitargs')(process.argv.slice(2).join(' ')) => [ 'npm', 'run', 'css', './src']

Please see discussion in #80.

Thank you for catching this! I just published 0.17.1

No worries, love watch.  Keep up great work!


Enable CD for authenticating-proxy

I believe the appropriate criteria have been met since deploying https://github.com/alphagov/authenticating-proxy/pull/238 and https://github.com/alphagov/smokey/pull/740.

Ah yes, thanks, I've opened https://github.com/alphagov/smokey/pull/741 to fix that!


Undoing tab indentation

First off, this is an awesomely simple extension!! Thank you!!!
I noticed that after pressing tab (On Chrome 99.0.4844.82), I can't undo with ctrl+z on my clipboard anymore.
Would it be possible to make it add the indentation without clearing the browser's native undo stack? From a quick Google search, it looks like it might get complicated when supporting multiple browsers..
I've previously used https://www.npmjs.com/package/text-field-edit, perhaps using something similar to their implementation would work.

TBH I've noticed the same, not because I pressed a single char tab and needed to ctrl+z, simply because I've selected multiple rows and then pressed tab and lost all rows without ctrl+z ability ... yes, this is something absolutely needed to make this component usable in the real world, and it's already in my radar ... I'm just a bit slow these days and really spending minutes, not even hours, on this ... but I'll get shit done at some point, please bear with me!

too bad it took forever in Firefox to fix that ... but modern browsers will all work now as expected


Mesh Reflector Material

Is your feature request related to a problem? Please describe.
Shining floors everywhere!!
Describe the solution you'd like
Same concept as R3F Drei https://github.com/pmndrs/drei#meshreflectormaterial
Suggested solution
Shaders

Hi @alvarosabu :)
What is missing from this, any reason why is not in the docs?

I'm going to close this one, since @andretchen0 is working on this one in another issue

Hey @JaimeTorrealba !
Yeah, the new version will replace this version. So all good to close here, I think.
@alvarosabu agreed with that approach when I asked him a few days ago on the Discord.


Piece repository delete request enhancement

Currently when you want to delete a repository from the platform UI shows a generic toast and i think it is not helpful. Imagine when you have a lot of workflows and you get this warning.

My proposal is to delete all workflows containing this repository by asking the user.

@luiztauffer @nathan-vm
What you think about that?
Maybe we can have something like a confirmation modal asking if the user want to delete all workflows with a relation to the repository to be deleted, them we can cascade delete them.

we definitely don't want to just delete with one step.
Perhaps we could have something similar to a dialog with:
The following workflows are dependent on this repository, and will be deleted together with it:
- workflow 1
- workflow 2
- workflow 3
...

To delete the `repository name` and all the workflows above, confirm writing the name of the repository below:
___________________________
confirm     cancel

I reconsidered my proposal I think deleting a workflow when we want to delete a repository used in this workflow is kind of a bad design. The reason that made me open this issue was Domino does not allow the user to add a new version of an existing repository. I think it is designed in the current approach because a breaking change in the repository would break workflows using the repository. But a new release does not have to be a breaking change. What is the appropriate way to update an existing repository used by several workflows? IMO it’s a fundamental problem and needs to be designed carefully. Let me know if I am missing some points.

I agree, we need a very explicit confirmation modal.
I'll work on this once I finish the refactoring on front-end storage.


Add kclient functions for creating volumes

What type of PR is this?
/kind feature
What does does this PR do / why we need it:
Adds the base kclient package functions required for creating PVC and adds the Volume and Volume Mounts to the Pod Template Spec of the Devfile fat pod.
The logic to read the volumes from the Devfile components are in my personal branch and will open a PR for them once the PR for Devfile parser, as well as the PR for creating Deployment for the Devfile components are merged.
Please have a look at my action plan as per issue comment https://github.com/openshift/odo/issues/2472#issuecomment-579966277. I have linked my personal POC branch changes for the Devfile volume logic against the checklist
Which issue(s) this PR fixes:
Partially implements https://github.com/openshift/odo/issues/2472
How to test changes / Special notes to the reviewer:

cd pkg/kclient
go test -v or go test ./...

maysuns-mbp:kclient maysun$ go test -v
=== RUN   TestCreateDeployment
=== RUN   TestCreateDeployment/Case:_Valid_deployment_name
=== RUN   TestCreateDeployment/Case:_Invalid_deployment_name
--- PASS: TestCreateDeployment (0.00s)
    --- PASS: TestCreateDeployment/Case:_Valid_deployment_name (0.00s)
    --- PASS: TestCreateDeployment/Case:_Invalid_deployment_name (0.00s)
=== RUN   TestGenerateContainer
=== RUN   TestGenerateContainer/#00
=== RUN   TestGenerateContainer/container1
--- PASS: TestGenerateContainer (0.00s)
    --- PASS: TestGenerateContainer/#00 (0.00s)
    --- PASS: TestGenerateContainer/container1 (0.00s)
=== RUN   TestGeneratePodTemplateSpec
=== RUN   TestGeneratePodTemplateSpec/podSpecTest
--- PASS: TestGeneratePodTemplateSpec (0.00s)
    --- PASS: TestGeneratePodTemplateSpec/podSpecTest (0.00s)
=== RUN   TestGeneratePVCSpec
=== RUN   TestGeneratePVCSpec/1
=== RUN   TestGeneratePVCSpec/2
--- PASS: TestGeneratePVCSpec (0.00s)
    --- PASS: TestGeneratePVCSpec/1 (0.00s)
    --- PASS: TestGeneratePVCSpec/2 (0.00s)
=== RUN   TestGetPVCsFromSelector
=== RUN   TestGetPVCsFromSelector/Case:_Valid_pvc_name
--- PASS: TestGetPVCsFromSelector (0.00s)
    --- PASS: TestGetPVCsFromSelector/Case:_Valid_pvc_name (0.00s)
=== RUN   TestWaitAndGetPod
=== RUN   TestWaitAndGetPod/phase:_running
 ✓  Waiting for component to start [92886ns]
=== RUN   TestWaitAndGetPod/phase:_failed
 ✗  Waiting for component to start [70005ns]
=== RUN   TestWaitAndGetPod/phase:_unknown
 ✗  Waiting for component to start [68260ns]
--- PASS: TestWaitAndGetPod (0.00s)
    --- PASS: TestWaitAndGetPod/phase:_running (0.00s)
    --- PASS: TestWaitAndGetPod/phase:_failed (0.00s)
    --- PASS: TestWaitAndGetPod/phase:_unknown (0.00s)
=== RUN   TestCreatePVC
=== RUN   TestCreatePVC/Case:_Valid_pvc_name
=== RUN   TestCreatePVC/Case:_Invalid_pvc_name
--- PASS: TestCreatePVC (0.00s)
    --- PASS: TestCreatePVC/Case:_Valid_pvc_name (0.00s)
    --- PASS: TestCreatePVC/Case:_Invalid_pvc_name (0.00s)
=== RUN   TestAddPVCToPodTemplateSpec
=== RUN   TestAddPVCToPodTemplateSpec/podSpecTest
--- PASS: TestAddPVCToPodTemplateSpec (0.00s)
    --- PASS: TestAddPVCToPodTemplateSpec/podSpecTest (0.00s)
=== RUN   TestAddVolumeMountToPodTemplateSpec
=== RUN   TestAddVolumeMountToPodTemplateSpec/podSpecTest
--- PASS: TestAddVolumeMountToPodTemplateSpec (0.00s)
    --- PASS: TestAddVolumeMountToPodTemplateSpec/podSpecTest (0.00s)
        volumes_test.go:206: podTemplateSpec is &PodTemplateSpec{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:podSpecTest,GenerateName:,Namespace:default,SelfLink:,UID:,ResourceVersion:,Generation:0,CreationTimestamp:0001-01-01 00:00:00 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{app: app,component: frontend,},Annotations:map[string]string{},OwnerReferences:[],Finalizers:[],ClusterName:,Initializers:nil,},Spec:PodSpec{Volumes:[],Containers:[{container1 image1 [tail] [-f /dev/null]  [] [] [] {map[] map[]} [{myvolume false /tmp/path1  <nil>} {myvolume false /tmp/path2  <nil>}] [] nil nil nil   Always nil false false false}],RestartPolicy:,TerminationGracePeriodSeconds:nil,ActiveDeadlineSeconds:nil,DNSPolicy:,NodeSelector:map[string]string{},ServiceAccountName:default,DeprecatedServiceAccount:,NodeName:,HostNetwork:false,HostPID:false,HostIPC:false,SecurityContext:nil,ImagePullSecrets:[],Hostname:,Subdomain:,Affinity:nil,SchedulerName:,InitContainers:[],AutomountServiceAccountToken:nil,Tolerations:[],HostAliases:[],PriorityClassName:,Priority:nil,DNSConfig:nil,ShareProcessNamespace:nil,ReadinessGates:[],},}
PASS
ok  	github.com/openshift/odo/pkg/kclient	0.447s

maysuns-mbp:kclient maysun$ go test ./...
ok  	github.com/openshift/odo/pkg/kclient	0.397s

I am wrapped up in some other PRs so give me some time, I will get back to this by the end of this week.

/approve

/retest

Not sure if the Unit Test on MacOS X is flaky, because when I try locally on my Mac, they always seem to pass:
maysuns-mbp:odo maysun$ make test
go test -race github.com/openshift/odo/cmd/cli-doc github.com/openshift/odo/cmd/odo github.com/openshift/odo/pkg/application github.com/openshift/odo/pkg/application/labels github.com/openshift/odo/pkg/auth github.com/openshift/odo/pkg/catalog github.com/openshift/odo/pkg/component github.com/openshift/odo/pkg/component/labels github.com/openshift/odo/pkg/config github.com/openshift/odo/pkg/debug github.com/openshift/odo/pkg/devfile github.com/openshift/odo/pkg/devfile/parser github.com/openshift/odo/pkg/devfile/versions github.com/openshift/odo/pkg/devfile/versions/1.0.0 github.com/openshift/odo/pkg/devfile/versions/common github.com/openshift/odo/pkg/kclient github.com/openshift/odo/pkg/log github.com/openshift/odo/pkg/log/fidget github.com/openshift/odo/pkg/machineoutput github.com/openshift/odo/pkg/notify github.com/openshift/odo/pkg/occlient github.com/openshift/odo/pkg/odo/cli github.com/openshift/odo/pkg/odo/cli/application github.com/openshift/odo/pkg/odo/cli/catalog github.com/openshift/odo/pkg/odo/cli/catalog/describe github.com/openshift/odo/pkg/odo/cli/catalog/list github.com/openshift/odo/pkg/odo/cli/catalog/search github.com/openshift/odo/pkg/odo/cli/catalog/util github.com/openshift/odo/pkg/odo/cli/component github.com/openshift/odo/pkg/odo/cli/component/ui github.com/openshift/odo/pkg/odo/cli/config github.com/openshift/odo/pkg/odo/cli/debug github.com/openshift/odo/pkg/odo/cli/login github.com/openshift/odo/pkg/odo/cli/logout github.com/openshift/odo/pkg/odo/cli/preference github.com/openshift/odo/pkg/odo/cli/project github.com/openshift/odo/pkg/odo/cli/service github.com/openshift/odo/pkg/odo/cli/service/ui github.com/openshift/odo/pkg/odo/cli/storage github.com/openshift/odo/pkg/odo/cli/ui github.com/openshift/odo/pkg/odo/cli/url github.com/openshift/odo/pkg/odo/cli/utils github.com/openshift/odo/pkg/odo/cli/version github.com/openshift/odo/pkg/odo/genericclioptions github.com/openshift/odo/pkg/odo/util github.com/openshift/odo/pkg/odo/util/completion github.com/openshift/odo/pkg/odo/util/validation github.com/openshift/odo/pkg/preference github.com/openshift/odo/pkg/project github.com/openshift/odo/pkg/secret github.com/openshift/odo/pkg/service github.com/openshift/odo/pkg/storage github.com/openshift/odo/pkg/storage/labels github.com/openshift/odo/pkg/testingutil github.com/openshift/odo/pkg/testingutil/filesystem github.com/openshift/odo/pkg/url github.com/openshift/odo/pkg/url/labels github.com/openshift/odo/pkg/util github.com/openshift/odo/pkg/version
?   	github.com/openshift/odo/cmd/cli-doc	[no test files]
?   	github.com/openshift/odo/cmd/odo	[no test files]
ok  	github.com/openshift/odo/pkg/application	(cached)

..

ok  	github.com/openshift/odo/pkg/url/labels	(cached)
ok  	github.com/openshift/odo/pkg/util	(cached)
?   	github.com/openshift/odo/pkg/version	[no test files]
maysuns-mbp:odo maysun$

Not sure if the Unit Test on MacOS X is flaky, because when I try locally on my Mac, they always seem to pass:

In is flaky test :-( https://github.com/openshift/odo/issues/2588

/retest

a small nitpick @maysunfaisal :point_up:

/lgtm


Reduce the number of branches in the switch / case that feed the webviews stores

We should reduce the number of branches in the switch/case by having an enum instead:
const actionToDispatch = {
  ...
  [PlotsDataKeys.PLOT_ERRORS]: updatePlotErrors
  [PlotsDataKeys.SELECTED_REVISIONS]: updateSelectedRevisions
  ...
}

and a simple dispatch(actionToDispatch[key](data.data.key))
Originally posted by @sroy3 in https://github.com/iterative/vscode-dvc/pull/5165#discussion_r1446163741

Taking this just to get back into my IDE


Unfolding does not pass tests

The uninittests for unfolding fail on recent (1.10.7, 1.10.8) builds:
$ python test_unfolding.py

 FF
 ======================================================================
 FAIL: test_Unfolding_NaCl (__main__.TestUnfolding)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "test_unfolding.py", line 39, in test_Unfolding_NaCl
     self._compare(weights, "unfolding.dat")
   File "test_unfolding.py", line 59, in _compare
     self.assertTrue((np.abs(weights_in_file - weights) < 1e-3).all())
 AssertionError: False is not true

 ======================================================================
 FAIL: test_Unfolding_SC (__main__.TestUnfolding)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "test_unfolding.py", line 54, in test_Unfolding_SC
     self._compare(weights, "unfolding_to_atoms.dat")
   File "test_unfolding.py", line 59, in _compare
     self.assertTrue((np.abs(weights_in_file - weights) < 1e-3).all())
 AssertionError: False is not true

 ----------------------------------------------------------------------
 Ran 2 tests in 30.289s

 FAILED (failures=2)

I have removed this test from the set to be able to build the package,
but we need to fix it before 1.10.9.

I fixed this issue. In some reason, the order of data changed, thought it is irrespective to physics. I found the data to be compared were too big (~2MB), so I use more processed and condensed data (~40kB) to be compared with for the test, and the data are ordered by the values.

Where is the fix? Is this just the problem with tests or actual code?

You are quick! I merged it to develop branch.


the image that is transparent turns black

I haven't tried for png images that don't have transparency, hope it can be fixed soon

Hi @ayyuby26 , i will try to solve the issue as soon as possible

@vikassandhu999 hello, any update on this issue?

If anybody is still facing this issue then they may give try to pdf_manipulator plugin as it supports compressing pdf to a certain extent with iText7 support.


Unable to log in Debug View in Development enviroment

Hi,
I have added firebase analytics in my project. We were able to see logs before but after updating firebase to pod 'Firebase/Core', '~> 4.0.0',  I can't see logs in Debug View for my development build. I have enable -FIRDebugEnabled and -FIRAnalyticsDebugEnabled

I can see logs in my xcode console as:
 [Firebase/Analytics][I-XXXxxxxxx] Debug mode is enabled. etc...  and
[Firebase/Analytics][I-XXXxxxxxx] Debug logging enabled
But in debug View console, I am unable to see the logs as there is no device available.

Please help asap as we have very big event coming in few days.

Can you post some debug logs that include some events? Thanks

Hi I am unable to get any logs in sandbox environment but it is firing in my app store app.

In xcode debug console I am getting this log:
2017-07-20 18:54:58.410 AppName[390]  [Firebase/Analytics][I-ACS023072] Event logged. Event name, event params: screen_view (_vs), {
firebase_screen_id (_si) =<PHONE_NUMBER>124801075;
firebase_screen_class (_sc) = AppName.SplashScreenViewController;
firebase_event_origin (_o) = auto;
firebase_realtime (_r) = 1;
firebase_debug (_dbg) = 1;
}
2017-07-20 18:54:58.421557+0530 AppName[390:50717] [Firebase/Analytics][I-ACS023027] Do not schedule an upload task. Task already exists. Will be executed in seconds: -571.0032959580421

hmm, that's interesting that it is sending in App Store app but not in development. How can the launch arguments get into in store app? Can you show us the Scheme of your app target in development (what kinds of arguments you passed into the app are)?

Hi, I am passing two arguments :
-FIRDebugEnabled  as per this document
-FIRAnalyticsDebugEnabled as per log which I am getting in my debug console for enabling debugging.
Here is the screenShot:

I actually have no idea why it behaves this way. It looks like you are running Debug in Development as shown in your screenshot. Have you tried with a different app like the sample app to see whether they behave similarly?

Closing due to lack of activity. Please create another issue if you'd like to continue the conversation.

I am having same issue as @priyankamistry09. I already try @ojordann solutions and does not work. Anyone else with the same problem?

Exact same problem after updating pods... no solution working for me yet

@hIUG  @adrianortuzar Can you see the debug log in the console log but not see on the debug view? Also do you have similar issue with having released apps sending events in debug view?

@baolocdo @hIUG  looks it was a Firebase downtime, also in twitter you can find people complain the same problem. It was a pity loose too many hours in this error. I would like to have some feedback from Firebase when some on the nice tools they have does not work :(
At least now is working fine.

hi,
I'm facing this same issue. Debug view not showing the events. But in the stream view, I'm seeing the events.
Also in the xcode log, I'm  seeing "[Firebase/Analytics][I-ACS031010] Tracking view controller." 2019-07-23 12:34:58.983482+1000 SamFirebaseAnalyticsTest[44855:245373] 6.5.0 - [Firebase/Analytics][I-ACS024000] Debug mode is on 2019-07-23 12:34:59.974433+1000 SamFirebaseAnalyticsTest[44855:245369] 6.5.0 - [Firebase/Analytics][I-ACS023073] Debug mode is enabled. Marking event as debug and real-time. Event name, parameters: first_open (_f), {
So this means my setup is fine? Then why I'm not seeing the device in the Firebase console - > analytics -> DebugView  "no devices available".
I tried setting "FIRDebugEnabled" or / and "FIRAnalyticsDebugEnabled" Also made "IS_ANALYTICS_ENABLED" in googleservice plist to YES.
Please help me.

Im facing the same problem right now, tried multiple versions for Firebase and can't see my device on DebugView, the logs show me Debug View is enable and sending events Right...
Any solution?

@GraLucena Maybe just try with an open network. For me, it not worked in an internal office network and worked when tried with a VPN or open network.

Same problem, cannot make it work


Strange path behaviour when loading assets

Bevy version
(Latest git version)
branch: main
commit: 1ff4b98
Relevant system information
If you cannot get Bevy to build or run on your machine, please include:

the Rust version you're using (you can get this by running cargo --version)

cargo 1.69.0 (6e9a83356 2023-04-12)

the operating system or browser used, including its version

SystemInfo { os: "Windows 11 Education N", kernel: "22621", cpu: "AMD Ryzen 7 5800H with Radeon Graphics", core_count: "8", memory: "31.4 GiB" }

If your bug is rendering-related, copy the adapter info that appears when you run Bevy.
AdapterInfo { name: "NVIDIA GeForce RTX 3060 Laptop GPU", vendor: 4318, device: 9504, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "532.03", backend: Vulkan }

What you did
Loading assets from subfolder in the "assets" folder in two differnt ways:

1 (Failed)

asset_server.load("img/Player.png")

2 (Worked)

asset_server.load("./img/Player.png")

The first one didn't works for one specific image (haven't tried if different images, but maybe its the naming).
What went wrong
Well, I was progamming a simple 2 player pong game to give this great game engine a try (great work!). When loading the bars for the Player I recognised that only one texture was loaded and the other not. After a bit of confusion (because there were no errors and everything seemed to work fine) I discovered (more or less) at random that it seems like a path problem. Placing all images at the root of the assets folder also worked.
I not completely shure if this is intended (an I don't know about it). If this behaviour i intended there should be some note somewhere in the documentation.
Additional information
Here the assets that I was loading (just in case). The Computer asset worked all the time, the Player asset has the described behaviour.

And here the setup system loading the assets:
fn setup(mut commands: Commands, windows: Query<&Window>, asset_server: Res<AssetServer>) {
    commands.spawn(SpriteBundle {
        texture: asset_server.load("./img/Player.png"),
        sprite: Sprite {
            anchor: Anchor::CenterLeft,
            ..default()
        },
        transform: Transform::from_xyz(PADDLE_WIDTH - windows.single().width() / 2., 0., 0.),
        ..default()
    });

    commands.spawn(SpriteBundle {
        texture: asset_server.load("./img/Computer.png"),
        sprite: Sprite {
            anchor: Anchor::CenterRight,
            ..default()
        },
        transform: Transform::from_xyz(-PADDLE_WIDTH + windows.single().width() / 2., 0., 0.),
        ..default()
    });
}

When loading some more assets the problem accured the other way around. So 1 is working for one of them but 2 not.

Ok I got it. The problem was that I did not set the z-index correctly.
Sorry for opening an issue.


[nrf noup] net: lwm2m: Fixes SenML CBOR R support

Path level below object instance was not handled properly.
Signed-off-by: Veijo Pesonen<EMAIL_ADDRESS>

@jheiskan81 Please review.

can you remove first commit away.

Rebased.


Push new TOC Live

Docs Build status updates of commit eee9c01:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

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

File
Status
Preview URL
Details

BingMaps/getting-started/google-maps-to-bing-maps-migration-guide/Google-Maps-to-Bing-Maps-Migration-Guide.md
:white_check_mark:Succeeded
View

BingMaps/getting-started/google-maps-to-bing-maps-migration-guide/media/image25.png
:white_check_mark:Succeeded
View

BingMaps/sdk-native/TOC.yml
:white_check_mark:Succeeded
View

BingMaps/styling/TOC.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Create Search layout

Lo-Fi Layout

Layout was set up at 07e7a3a7ce8f791ee897520410e07467a7727dc8

Chips were created  for the category and sources chip groups. This has been successfully implemented by d24f69ee85cdc12a429d219f9d510fcae1040d1c


Support livedoor news dataset

https://www.rondhuit.com/download.html#ldcc

Directory structure:
text
├── CHANGES.txt
├── README.txt
├── dokujo-tsushin
│   ├── LICENSE.txt
│   ├── dokujo-tsushin-4778030.txt
│   ├── ...
├── it-life-hack
│   ├── LICENSE.txt
│   ├── it-life-hack-6292880.txt
│   ├── ...
...
└── topic-news
    ├── LICENSE.txt
    ├── topic-news-5903225.txt
    ├── ...
    └── topic-news-6918105.txt

Format for each .txt:
${URL}\n
${TIMESTAMP}\n
${BODY}

For example, text/topic-news/topic-news-6918105.txt:
http://news.livedoor.com/article/detail/6918105/
2012-09-04T12:45:00+0900
ジャンプ連載漫画が終了に、ユーザが新たな提案!?
『ONE PIECE』や『NARUTO』、『BLEACH』といった人気漫画でもお馴染み、...

@abcdefg-1234567 This may be a good candidate for the next issue.


SMB Protocol support for storage_options

When using fsspec with the smb protocol, e.g. with fsspec.open("smb://myserver/share/file.txt") as f: it does not seem to be possible to pass storage options to the underlying smbprotocol library.
The implementation calls smbclient.open_file via _open here: https://github.com/intake/filesystem_spec/blob/master/fsspec/implementations/smb.py#L202
This method on smbclient supports options such as share_access: https://github.com/jborean93/smbprotocol/blob/master/smbclient/_os.py#L311
However, although _open in smb.py passes kwargs to smbclient.open_file, the kwargs are not propagated from the outer call to fsspec.open https://github.com/intake/filesystem_spec/blob/master/fsspec/core.py#L102
Is there an established pattern for passing these implementation-specific options through to the _open call in the implementation? Should the implementation capture them in the constructor of SMBFileSystem since the storage_options appear to be passed when an instance of AbstractFileSystem is instantiated here? https://github.com/intake/filesystem_spec/blob/master/fsspec/core.py#L376

Yes, you are quite right: the "storage options" in fsspec.open refer to global parameters used in creating the file-system, and do not fo to its file-open method. We could reasonably add another optional argument to fsspec.open specifically for this purpose. Note that most versions of _open() don't take any/many options.
The trouble that will need to be faced, is that fsspec.open can create multiple file systems in the case of a chained URL. It can already pass arguments to the various components, but whether and where _open will be called isn't clear or consistent (e.g., zip operates on one open file, but simplecache uses get() to download files and never uses open at all). Maybe the extra argument in fsspec.open would always only go to the "outermost" _open.

Should the implementation capture them in the constructor

This is the only way to do it now

Thank you for the rapid response!

This is the only way to do it now

I will have a go at a PR on this basis.


Add interactive mode for selecting Tk8 provisioners while creating cluster

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
An interactive prompt in the CLI. The user can select the provisioner and the config.yaml for the provisioner can be applied. The user does not need to manually specify the provisioner name in the command.
Describe alternatives you've considered
NA
Additional context
NA

Fixed by #111


Improve README

Add explanation of why this plugin is useful / examples of the cases it lints against. It's clear by looking at the source but would be helpful to include in readme

Valid point..

Let me close this for #9.
There could be still room for improvement.
I wish anyone feel free to file a new issue if there's something explicit to improve.


chore: update dev dependencies

This PR was automatically generated to update versions of dev dependencies to their latest versions. This helps ensure we get fixes and improvements in a timely fashion and reduces the impact of updating the versions that can arise if versions are allowed to become stale for an extended period.
What did you change?
This action ran yarn upgrade:automatic to update package.json files to request the latest versions of each package. Certain critical packages are intentionally excluded.
This action also deleted the yarn.lock file in order to recreate it with the latest matching versions of secondary dependencies.
This PR includes the various package.json that pull our dependencies forward to the latest versions, the yarn.lock update that maps required versions to the actual versions to be used, and updates the offline mirror.
How did you test and verify your work?
This PR should not normally significantly affect the build outputs or runtime packages. Ensure that yarn ci-check runs cleanly and all tests pass (done automatically as part of the PR checks).

Thanks for reviewing @kennylam! Some extra context, these PRs that upgrade dependencies are scheduled to open on the 1st and 15th of every month. It's opened by me because I was the last person to update the action that opens this PR 😄

Ah, gotcha!

Replaced by #5389 ... but we should probably bring this up in our huddle so people know how to address this when if it gets auto-assigned.


⚠ Activitar Management Platform has degraded performance

In 4d62d3b, Activitar Management Platform (https://new.activitar.com) experienced degraded performance:

HTTP code: 200
Response time: 12415 ms

Resolved: Activitar Management Platform performance has improved in bbb158f after 21 minutes.


Refresh button does not work

The custom 404 needs rewriting or maybe we should look at Reach Router..

This seems to be working fine now.


task: allow to specify namespaces which are restored externally

Currently, C/R in https://github.com/moby/moby is completely broken. This pr is required to fix it.
Here is an example of how entirely fix looks like:
https://github.com/avagin/docker-ce/commit/911c89fcae200ae1df56b2f8d4ed300e62df334a

Codecov Report

Merging #2425 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #2425   +/-   ##
======================================
  Coverage      45%     45%
======================================
  Files          92      92
  Lines        9412    9412
======================================
  Hits         4236    4236
  Misses       4493    4493
  Partials      683     683

Flag
Coverage Δ

#linux
49.23% <ø> (ø)
:arrow_up:

#windows
41.3% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Cc: @kolyshkin

Notes

this also requires some changes to moby/moby for restore to start working again
statically compiled containerd then segfaults on restore for the same reason as dockerd did (see https://github.com/kolyshkin/go-tar/blob/go-1.10/README.md; should be fixed by Go 1.11)
Either this repo or moby (or both?) would benefit from having tests for cpt/rst

Either this repo or moby (or both?) would benefit from having tests for cpt/rst

Here we have a few tests:
https://github.com/containerd/containerd/blob/master/container_checkpoint_test.go

Is there anything needed for this PR to go through?

Hi , @avagin , from your example fix commit, you write that
checkpoint: don't restore a container network namespace
A network namespace should not be dumped and restored, it is created by
Docker even for restored containers.

Could you tell me why criu cannot dump and restore net ns, thanks.

@Ace-Tang criu can dump/restore netns, but it should not in this very case.

Thanks for your reply, @kolyshkin


Use Rayon for escore algorithm guessing.

Hey, so I tried using Rayon inside the escore algorithm guess method.
I was able to get quite a nice speedup on my 4 core PC:
Benchmark 1: roget_old.exe
  Time (mean ± σ):      3.778 s ±  0.036 s    [User: 0.005 s, System: 0.004 s]
  Range (min … max):    3.708 s …  3.821 s    10 runs

Benchmark 2: roget_new.exe
  Time (mean ± σ):     650.0 ms ±  11.2 ms    [User: 1.3 ms, System: 6.8 ms]
  Range (min … max):   633.3 ms … 662.5 ms    10 runs

Summary
  'roget_new.exe' ran
    5.81 ± 0.11 times faster than 'roget_old.exe'

However, I noticed that each time I run the program with these changes the score is slightly different, i'm assuming that i'm doing something incorrect with Atomics?

Hi! Thanks for contributing :)
I think I'd approach this slightly differently — rather than having the threads all communicate using atomics, instead have each thread operate completely independently and compute their own "best" candidate, and then do a quick (single-threaded) pass at the end that just finds the best among those found by each thread. I think you should be able to do that just with rayon (probably using something like ParallelIterator::reduce).
Also, I just landed some pretty big restructuring changes on main, so you may want to do your changes on top of that instead :)


Update dependencies

This PR will move the App to ZF3

What needs to be done here? It looks really great :+1:

We're in the middle of a rewrite here. Moving to ZF3 turned out to be too complicated… See my comments on the other issue

Which issue?
I could help migrate to Symfony and making as much code as possible framework agnostic.


Allow ~ or $HOME in new configuration file

Hi,
thanks for developing greenclip! :-) I like to use it a lot.
I just upgraded to 4.0 and saw that I have to update the configuration file.
I'm syncing my configuration to various machines where $USER or $HOME will be different.
In the old config I had ~/.cache/greenclip.history but now that doesn't seem to work any more. Can I request to get that back or is there a workaround for this?
Thanks,
Jonas

Nevermind, I didn't restart the daemon. It still works :heart: Have a nice day!

Oh wait, it created a ~ directory in my base dir now. So I'll have to make sure to run everything from my home dir and remove the ~/ part. But I'll reopen in case you want to handle that differently.

haha yes, :P
I fixed it yesterday with this commit https://github.com/erebe/greenclip/commit/6946666a901dea32951e47a2e4e383fe2ecafc61
I just need to make a new release out of it (most likely this week-end)
if It is a major concern to you, you can download the binary from this job https://github.com/erebe/greenclip/actions/runs/814443267


Any usage indication plz ?

Hi,
The documentation of CoreBundle is here: https://github.com/avoo/QcmCoreBundle/blob/master/README.md
If you want to use all fonctionality, please install "qcm-standard". See the documetnation here:
https://github.com/avoo/qcm-standard/blob/master/README.md
Thanks,
Avoo


Bug fix

Describe the bug
A clear and concise description of what the bug is.
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.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Awesome, thanks!
On Sat, May 13, 2023 at 8:12 AM Emma Dawson @.***>
wrote:

Closed #297
https://github.com/AccessibleForAll/AccessibleWebDev/issues/297 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/AccessibleForAll/AccessibleWebDev/issues/297#event-9238455845,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7CNFZR2DCAXOOXGBCDWKSDXF53DVANCNFSM6AAAAAAYAH3URQ
.
You are receiving this because you were mentioned.Message ID:
@.***
.com>


Passing Strings to a function

Description of the tutorial
Tutorial on passing strings as function argument
Do you want to be assigned to work on this?
(mark [x])

[X] YES
[ ] NO

Optional: Any additional info you want to add
Part of 12-strings folder

@sabderemane This would be another tutorial on strings. Would like to work on it as well.

@RR-08  go ahead


#232 add add documents in batches and update documents in batches

Pull Request
What does this PR do?
Fixes #232

PR checklist
Please check if your PR fulfills the following requirements:

[x] Does this PR fix an existing issue?
[x] Have you read the contributing guidelines?
[x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to MeiliSearch!

bors merge


Connecting to remote MySQL/MariaDB database is not possible if in localhost exists the same database with the same user and credentials

Bug description
If you have the same database on a remote server and in localhost, and you configure the client to connect to the remote server, the client checks the remote connection, but works with localhost database if the same user and credentials exists in the localhost database.
How to reproduce

Make a copy of any database in your localhost with user and credentials to a remote server.
Change connection configuration to your remote server.
Insert any data on any table of your remote database.
Data will be inserted into the localhost database, not in the remote.
Change credentials for the user in the localhost database.
Try again to write, and now data was written into the remote database.

Expected behavior
Work with remote database, not with localhost database.
Prisma information
Any MySQL database schema.
Environment & setup

OS: Ubuntu 22.04
Database: MariaDB
Node.js version: 21.1.0

Prisma Version
5.6

So if I have a MySQL docker running locally under port 3306, Prisma in your opinion will always connect to that even if the connection string for url is configured for a remote hostname?

I haven’t checked with Docker, but I have done with full installation, and the answer is yes.
I am migrating from one server to another and have cloned all apps, including the database. The destination (new) database has all the same users and passwords. During migration, I moved the apps first, and the database will be the last. I reconfigured all URL connections to use the old database from the new computer, previously I've used "localhost" in URL. To my surprise, no data was appended to the old database as configured. Instead, the data went to the new database that my apps were not configured to use. After many checks, I made a final change. I changed the password of the user in the new database to one that the apps would not have, awaiting auth errors. To my surprise, all data now goes to the old database. I changed the password back to the original one in the new database, and again, all data went to the new database. I was so astonished that I repeated this process many times in a state of madness. It tries first to localhost database and if not, try with the URL host name, but only hostname, all other URL parameters are kept.


Disable auto-detection of Kubeflow environment

What does this PR do?
Several users have reported that they needed to unset the KUBERNETES_PORT environment variable in order to run multi-GPU training (#5254 and #16236). This is because the Trainer has auto-selected the Kubeflow environment despite the fact that the process wasn't launched using PyTorchJob. So the detection is unreliable.
I propose to disable the auto-detection. PyTorchJob users can still use the environment plugin by passing it to the trainer:
from lightning.pytorch.plugins.environments import KubeflowEnvironment

trainer = Trainer(plugins=KubeflowEnvironment())

Closes https://github.com/Lightning-AI/lightning/issues/16236

Before submitting

Was this discussed/agreed via a GitHub issue? (not for typos and docs)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
Did you make sure to update the documentation with your changes? (if necessary)
Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
Did you list all the breaking changes introduced by this pull request?
Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

Reviewer checklist

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

cc @borda @justusschock @carmocca @awaelchli

One could label it as such yes. We don't have any usage guides for it however.


Adding an Option

I was working with your module, really liked it.  My CSV uses pipes as a separator though, so I thought I might add some edits to your module to allow users to change this if they need.

Our module now! :smile: Thanks.

Tried this, had to reject, underlying CSV lib really takes the 'C' part literally, it allows no other delimiters. We could probably make this change, but it would require swapping out csv2array, or updating that module first.

Let me do some more testing.  I tried it several times with multiple separators without an issues.  I'll take another stab at it.  csv2array actually already accepts a separator option, so it was as simple as adding it to dbcsv, which forwards the option on to csv2array.  Shouldn't have been an issue.

Ok I see it was undocumented. Just add a test case in test/index?

I added it back in + test. Actually looking at it, since separator is a pass through and already defaults to ',', the explicit setting of that in the defaults is unneccessary? Updated to v0.0.3 and published to npm.

Are you saying you don't have to add the option to dbcsv, because the option if used automatically passes through to csv2array?

Yes, I wrote the test before re-adding the separator and it worked because it passes through if you set it as an option. What do you think, should we enforce the separator at this module level (and make it explicit) or just let the ccsv2array handle it?

Let csv2array handle it. But keep it in the readme so that users know its an option without having to dig like I did.  Good stuff

Yep. All set, thanks for the update!


docs(readme): thumbsup

honestly just working on my automerge

:tada: This PR is included in version 1.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


some bugfix

1, api-gateway some python files are missing to install to docker images
2, api-gateway/asr/ctcdecode_numpy depends libpython3.8
3, fix model path error

looks good


Sensors - streaming mask

Hello, I don't want to bother you but I would like to ask you if you would be so kind and show me how to set streaming mask? I'm working on a project with Sphero BOLT but I am new to Python, so I'm not really sure what to put as parameters.
Also in your sensors example you have a method/function that uses data: Dict, is this the only way to get the output from sensors (Locator, Accelerometer and so on)?

Hi!

not really sure what to put as parameters.
Simply put additional parameters in set_notify, e.g.:

from pysphero.device_api.sensor import CoreTime, Accelerometer, Gyroscope
...
sphero.sensor.set_notify(notify_callback, Gyroscope, Accelerometer, CoreTime)
...

Also in your sensors example you have a method/function that uses data: Dict, is this the only way to get the output from sensors (Locator, Accelerometer and so on)?

Yes. But you can do anything in a function, like put it in a queue, save into DB and so on.

Hello, thank you very much for the response that is very usefull information and I will use that for sure, but the first part of my question was aimed at the streaming mask. For example when I worked with Sphero SDK for iOS devices 2 years ago (before they deprecated it) I was able to choose from multiple values to set the streaming mask. I think the values were 1, 10, 20, 50, 100 and some more (meaning number of readings per second). I can see that you have implemented it in sensor.py in class SensorCommand (there is set_sensor_streaming_mask and get_sensor_streaming_mask) but when i tried to get the output from get_sensor_streaming_mask it failed and when I want to set_sensor_streaming_mask, I simply don't know how to (it needs parameters like mask, interval and count). Do you know how to set the streaming mask to, let's say, 10?

You can use interval argument:
from pysphero.device_api.sensor import CoreTime, Accelerometer, Gyroscope
...
sphero.sensor.set_notify(notify_callback, Gyroscope, Accelerometer, CoreTime, interval=100)
...

Hello, I'm sorry I didn't respond before, I tried it and it works well but I have one problem. When I try to stream values (start sensor) and drive sphero simultaneously while I'm sending drive methods really often (like every 0.3 seconds new drive command) the program ends with an error - Bad response checksum. Do you think that the problem is in this SDK/API? Maybe that Python is not really fast language and sending packets so often causes errors?
I even tried really simple code (I'm sending you a photo of the code and error), my only idea is that this SDK (python) is not so fast to send drive commands so often (if I tried sending commands like every 2 seconds its ok).
Thank you for your time.


Feature/902/161 dpf system test

What this PR changes/adds
Adapt system-test to use Embedded DPF to perform file copy, rather than the legacy DataStreamPublisher mechanism.
Why it does that
Include DPF in system test scope
Further notes
Note that the shared instrumented thread pool from another PR is not used, which is fine anyway since this is just test code
Linked Issue(s)
#161
Checklist

[x] added appropriate tests?
[x] performed checkstyle check locally?
[x] added/updated copyright headers?
[x] documented public classes/methods?
[x] added/updated relevant documentation?
[x] added relevant details to the changelog? (skip with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #204 (1ab7b3d) into feature/902-dpf-test-and-sample (7f94fe1) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@                          Coverage Diff                          @@
##             feature/902-dpf-test-and-sample     #204      +/-   ##
=====================================================================
- Coverage                              63.97%   63.97%   -0.01%
  Complexity                              2798     2798
=====================================================================
  Files                                    661      661
  Lines                                  14453    14454       +1
  Branches                                1001     1001
=====================================================================
  Hits                                    9247     9247
- Misses                                  4748     4749       +1
  Partials                                 458      458

Impacted Files
Coverage Δ

...lane/selector/core/DataPlaneSelectorExtension.java
0.00% <0.00%> (ø)

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 7f94fe1...1ab7b3d. Read the comment docs.


fab generate should validate manifests

It's currently possible for fab generate to generate malformed yaml, which cannot be applied against a cluster (as a consequence of bad user input).
After generation, we can possibly use "kubectl --validate=true --dry-run --recursive -f ./generated/generated_environment" to perform validation against the output environment.

Fixed in release 0.2.0: https://github.com/Microsoft/fabrikate/commit/35d30e63f7935f2f2d29a5dce5e70aee57116864


code display wrong

<code>tag and <guttter>tag line div not alligned.

This is a inner bug of hexo.
https://github.com/hexojs/hexo/pull/794
This way fixed the issue by limiting height of div line:
    .line
       height: 20px


could you please add align-items-start to util?

ionic theme is flex-box base,
so could you please add helpers such as align-items-start to util?

Hello! Thanks for the feature request. I'm going to move this issue over to our internal list of feature requests for evaluation. We are continually prioritizing all requests that we receive with outstanding issues. We are extremely grateful for your feedback, but it may not always be our next priority. I'll copy the issue back to this repository when we have begun implementation. Thanks!

This issue was moved to driftyco/ionic-feature-requests#203


Cannot get it to work with Gatsby v5^

Description
I cannot manage to get the plugin to work with Gatsby V5.0.0^. It says that it's incompatible.
Steps to reproduce

Create a new Gatsby project.
Follow the instructions to setup the gatsby-source-craft.
Fill in some queries
Attempt to build.

Additional info

Craft version: Craft Pro 4.4.15
PHP version: 8.0.28
Database driver & version: MySQL 8.0.31
Plugins & versions:

Amazon S3 | 2.0.3
Field Manager | 3.0.6
Mail Service (Custom, Non Released Plugin) | 1.0.0
Redactor | 3.0.4
Remote Sync | 4.1.1
Super Table | 3.0.9
Gatsby Helper |  2.0.1

I tried to play with the way the Token is written (removing the Authorization: (Failed) and Authorization: Bearer - it led to this.
ERROR  UNKNOWN
Unable to source nodes!
ERROR #11321  API.NODE.EXECUTION
"gatsby-source-craft" threw an error while running the createSchemaCustomization lifecycle:
ENOENT: no such file or directory, scandir
'.../gatsby/delasign/node_
modules/gatsby-source-craft/.cache/internal-craft-fragments'
Error: ENOENT: no such file or directory, scandir '.../gatsby/delasign/node_modules/gatsby-source-craft/.cache/inter
nal-craft-fragments'
success createSchemaCustomization - 0.027s
ERROR  UNKNOWN
Unable to source nodes!
ERROR #11321  API.NODE.EXECUTION
"gatsby-source-craft" threw an error while running the sourceNodes lifecycle:
ENOENT: no such file or directory, scandir
'.../gatsby/delasign/node_
modules/gatsby-source-craft/.cache/internal-craft-fragments'
Error: ENOENT: no such file or directory, scandir '.../gatsby/delasign/node_modules/gatsby-source-craft/.cache/inter
nal-craft-fragments'
warn The gatsby-source-craft plugin has generated no Gatsby nodes. Do you need it? This could
also suggest the plugin is misconfigured.

Sorry @delasign the Gatsby source plugin does not currently support Gastby 5.0. 4.X versions of Gatsby should work though.

@brianjhanson I just downgraded to Gatsby v4.20.0 and tried again and I am having the exact same problems.

Got it working on v5.11 of Gatsby. Tutorial coming on how to coming soon.

https://delasign.com/blog/gatsby-craft-cms-source-plugin

Will we get support for Gatsby 5 on this project?


Allow non-exsit of project config

Merge develop master's allow non-existence of  project config file  feature


how did you create the image of your app that you have added in your readme?

I just wanted to know how people create these images that shows their projects in  images like these
https://github.com/uzzii-21/astro-portfolio/blob/master/public/assets/images/astro-portfolio.png

I have used Figma to create these types of images.


WIFI-2604 wlan-ap-factory-reset.sh calls DigiCert

Signed-off-by: Rick Sommerville<EMAIL_ADDRESS>

Merged 17918705


log: Fix switch statement

MISRA-C has several rules about switch statements like each clause
end with an unconditional break. This commit fix these problems to
be in accordance with the standard.
MISRA-C rules 16.1, 16.3 and 16.4
Signed-off-by: Flavio Ceolin<EMAIL_ADDRESS>

Codecov Report

Merging #12121 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master   #12121      +/-   ##
==========================================
- Coverage   48.07%   48.06%   -0.01%
==========================================
  Files         284      284
  Lines       43328    43334       +6
  Branches    10389    10389
==========================================
  Hits        20828    20828
- Misses      18363    18369       +6
  Partials     4137     4137

Impacted Files
Coverage Δ

subsys/logging/log_output.c
67.84% <0%> (-1.85%)
:arrow_down:

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 07eb5d1...968e840. Read the comment docs.


Compress log/stderr files on the fly

Migrated from sf.net, feature request 104:
I think it would be neat if we could offer to write compressed logfiles if the user wishes so (for example when the logfile name contains a .gz at the end). This should be pretty easy to implement using IO::Zlib, for example. With the availability of zless or similar on pretty much any system, this could be a large space saver.

won't do


Update dependencies and remove automerge

The dependencies clearly can change in ways that the bot doesn't notice so automerge isn't safe.

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender


popperPlacement prop

Is your feature request related to a problem? Please describe.
I am using DatePicker inside this component which doesn't show DataPicker's popper when opens at the top. So I would like to force DatePicker to open it's popper at bottom.
Describe the solution you'd like
I found this comment helpful.
Describe alternatives you've considered
I was thinking about using Calendar inside a Modal as alternative, which need more code to write.

@SidMorad This is a nice feature. Thanks for suggesting it. I will add this property to the next version. Till then, I keep this issue open

@SidMorad This prop is now implemented 🎉You can use calendarPopperPosition in the latest version(3.1.0). It can take one of these values, 'auto'(default), 'top', and 'bottom'. For your case, you can simply pass 'bottom' as a value to it 😊


Update README with compile instructions

What

See title
Add .gitignore with .swp files ignored for vim users

Test

Spelign n gramr check
Instructions on how to compile seem to work properly

Can someone remove me from this, I don’t think I have access to my github
anymore.
Thanks,
Noah
On Thu, Aug 16, 2018 at 8:21 PM Mark Stacey<EMAIL_ADDRESS>wrote:

@Gudahtt approved this pull request.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MUNComputerScienceSociety/Website/pull/19#pullrequestreview-147051037,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADdj78Qe3DnNoGS3_cCAEBq8ny2KYGKYks5uRfdXgaJpZM4WAr4-
.

@EpicWayne I've just removed you as a member. If that doesn't work, I'm afraid we can't help you. You'll have to find a way to unsubscribe, either by gaining access to your account or filtering blocking the emails.

Thanks Mark!
On Thu, Aug 16, 2018 at 8:26 PM Mark Stacey<EMAIL_ADDRESS>wrote:

@EpicWayne https://github.com/EpicWayne I've just removed you as a
member. If that doesn't work, I'm afraid we can't help you. You'll have to
find a way to unsubscribe, either by gaining access to your account or
filtering blocking the emails.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MUNComputerScienceSociety/Website/pull/19#issuecomment-413708736,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADdj7_xeO7mE1tuVzLOroNa5kDrfF1WLks5uRfi5gaJpZM4WAr4-
.


Add ability to restart failed workflow execution from the middle

Currently there is no way to restart failed workflow from the point of failure or completed workflow from some point in the middle if some bug was fixed.
The proposal is to create a new execution with the same workflowID which contains copy of partial history of the workflow run being restarted. For this to work correctly the copy of history should be analyzed and either all open activities failed or may be requeued if not started yet.
The other hard problem is to figure out up to which point a history should be copied. Having that multiple activities can be failing and rescheduled from multiple coroutines there is no clear way to determine what part of history should not be copied.

Hey @mfateev .. Is this new feature in some future plans ?

It is being worked on and should be available within a quarter.

Great.. Thanks !

Related to #620

@longquanzheng reset is now released, can this issue be closed?

Yes, it should be closed

@dmetzgar let's have some document for external customer: https://github.com/uber/cadence/pull/1821


g8os.alpha: create/list/delete/snapshot/snapshotRestore subvols

starting from name of filesystem (/storage/$filesystemname)

eachof the subvols get a name

duplicated of https://github.com/g8os/core0/issues/4


add more hint in create space page for host not enough for fresh user

someone would do their first create space referring to create space docs page, a hint to guide them will help a lot.

[ ] lift to en docs

trying to fix with #2025


Option to disable all metadata queries

--TEST 1: when executing SQL queries in Snowflake, I see 2 extra queries done by dbeaver on same session:

--I found 2 settings to turn off suggested in:

preferences > editors > data editor >
[ ] Read table metadata (unique keys)
[ ] Read table references (foreign keys)

But that only removes one of the rogue metadata queries from being executed:

--TEST 2 - another test, simple disconnect/connect and execute 3 USE + query to grab all queries executed

I executed 4 queries but Snowflake says DBEaver executed 11 queries in total:
my 4 queries:
use role sysadmin; use database db; use schema s;
the 7 extra metadata queries that seems DBeaver enjoying doing on its own :(
`
--1st dbeaver query:
SELECT DISTINCT
CASE TABLE_TYPE
WHEN 'BASE TABLE' THEN 'TABLE' // For backward compatibility.
ELSE TABLE_TYPE
END AS TABLE_TYPE
FROM INFORMATION_SCHEMA.TABLES;
--2nd dbeaver query:
SELECT CURRENT_DATABASE(), CURRENT_SCHEMA();
--3rd dbeaver query:
SELECT CURRENT_DATABASE(), CURRENT_SCHEMA();
--4th dbeaver query:
show /* JDBC:DatabaseMetaData.getCatalogs() */ databases in account
--5th dbeaver query:
show /* JDBC:DatabaseMetaData.getSchemas() */ schemas in database "DB"
--6th dbeaver query:
USE DATABASE DB;
--7th dbeaver query:
SELECT CURRENT_DATABASE(), CURRENT_SCHEMA();
`
Is there any options to disable/prevent  DBEAVER from executing ANY queries on its own ?
If I execute 4 queries, I only want to see 4 queries executed in snowflake.
Thanks ~

Probably fix https://github.com/dbeaver/dbeaver/issues/21774

We decided to add info about conflicting settings to hints in Preferences:

Has this actually been fixed?  That is, I'm trying to use Version <IP_ADDRESS>409221725 - with various version of the Snowflake JDBC driver, and I can't find any way to disable the extra metadata queries.  I've tried all above (unchecking ALL of Metadata: Show row count for tables
Editors: Force object refresh on editor open
Data Editor: Read table metadata (unique keys)
Data Editor: Read table references (foreign keys)
SQL Editor: Save/restore active schema
Code editor: Read database table/columns for semantic analysis
SQL Processing: Refresh active schema after SQL Execution)
And I still get the extra queries, such as:
show /* JDBC:DatabaseMetaData.getForeignKeys() */ imported keys in database "ZZZZZ";
Which cause the whole tool to just hang forever in our environment because of the catalog.
Is there a way to truly turn off all the extra meta-data querying?
Thanks-
R


Added FindChild and GetComponentInChildren

Added these two because I needed one of them to continue developing a game trainer

FindChild (by path name)
GetComponentInChildren (to get components in children of gameobjects)

I'm not sure I implemented them the best way but they both work.

Seems fine in most cases, but you should add another function which doesn't require IL2CPP::Class::Find, since calling IL2CPP::Class::Find can have big performance hit. You can check the GetComponents function how it is defined with 2 options. Also checking if const char* is valid shouldn't be even there its up to user end to check properly before they call the API. Anyway after that I will pull the request.

I understand that there is no need to check if the const char* in the FindChild function is NULL, but I don't understand how I should implement GetComponentInChildren without using IL2CPP::Class::Find since I see the same structure in the function below (GetComponents) and other functions.

Oh, yeah I noticed you already defined it I just overlooked it my bad.


can't resolve symbols

Hi I have an issue, can't resolve symbols by
import { SchemaTypes } from 'object-editor-react';
import { ArrayEditor, ObjectEditor } from 'object-editor-react';

Hi @maksmaers
Could you provide some more information about the problem you're having?
Specifically, could you include the following:

the exact error message you're seeing, copy/pasted
node --version and npm --version
details about your build process (e.g. are you using webpack? some other bundler? typescript?)
object-editor-react version you're using

Thanks :)

Hi @maksmaers
I'm going to close this for now, but I'm happy to reopen it if we're able to reproduce it


[htex auto scale] RuntimeError: dictionary changed size during iteration

Describe the bug
A RuntimeError exception is thrown (stack trace below) while running a workflow based on Parsl.
2020-09-10 00:15:14 parsl.dataflow.dflow:509 [INFO]  Task 0 launched on executor medium
2020-09-10 00:15:14 workflow:68 [INFO]  Waiting for validation task to complete...
2020-09-10 00:15:17 parsl.providers.torque.torque:128 [DEBUG]  coerced job_id 1838438.wlm01 -> 1838438.wlm01
2020-09-10 00:15:17 parsl.dataflow.strategy:332 [DEBUG]  Executor medium has 0 active tasks, 0/1 running/pending blocks, and 0 connected workers
2020-09-10 00:15:17 parsl.dataflow.flow_control:114 [ERROR]  Flow control callback threw an exception - logging and proceeding anyway
Traceback (most recent call last):
  File "/home/akila/Documents/NUS_CSI/Parsl/parsl.git/parsl/dataflow/flow_control.py", line 112, in make_callback
    self.callback(tasks=self._event_buffer, kind=kind)
  File "/home/akila/Documents/NUS_CSI/Parsl/parsl.git/parsl/dataflow/task_status_poller.py", line 66, in poll
    self._strategy.strategize(self._poll_items, tasks)
  File "/home/akila/Documents/NUS_CSI/Parsl/parsl.git/parsl/dataflow/strategy.py", line 302, in _strategy_htex_auto_scale
    for label, executor in self.dfk.executors.items():
RuntimeError: dictionary changed size during iteration
2020-09-10 00:15:22 parsl.providers.torque.torque:128 [DEBUG]  coerced job_id 1838438.wlm01 -> 1838438.wlm01

This is similar to the issue reported in #1606 which occurred intermittently when using strategy='simple'
The same fix should be done for htex_auto_scale which was introduced in #1563
To Reproduce

Setup Parsl with master branch commit: 5445f90
Enable checkpointing and monitoring
Set strategy='htex_auto_scale' in Parsl config
Execute a simple workflow (multiple bash_apps and python_apps chained together)

Expected behavior
No RuntimeError exceptions.
Environment
OS: RHEL6.1
Python version: 3.7 (Anaconda 4.8.2)
Parsl version: master branch commit: 5445f90
Distributed Environment
PBS Pro in NSCC's ASPIRE1

@benclifford perhaps we should add a test case to uncover this race condition

ideally i think those two strategies should share more code because they don't do very much different from each other.


Popup element is not removed from the dom when created dynamically with el parameter

Framework7 version: [e.g. 5.6.0]
Platform and Target: [Chrome browser]
Live Link or JSFiddle: https://codepen.io/blikblum/pen/mdeRrOo?editors=1010

Describe the bug
Popup element is not removed from the dom when created dynamically with el parameter and there's a static popup in the page
To Reproduce
Steps to reproduce the behavior:

Go to https://cdpn.io/blikblum/debug/mdeRrOo/yPAJjKpaNmPA
Open dev tool and click on Open Content Button
Look at devtool inspector, you should see an popup element inserted as child of root element
Close the popup, The inserted popup is removed
click on Open Element Button, an popup element is inserted as child of root element
close the popup: the inserted element is not removed. Clicking and closing over again will increase the number of nodes in dom

Expected behavior
The popup element should be removed from dom when closed
Actual Behavior
The popup element is kept dom when closed
Additional context
If i remove the static popup in the template, the dynamic popup element is removed when closed

It happens because you call .destroy on closed, call it with, for example, 0 setTimeout, and it will work

Many thanks.
BTW: Is really necessary to call closed in those cases? In the docs example destroy is not called.


Fix for travis with miniconda and some cleaning

This resolves https://github.com/python-acoustics/python-acoustics/pull/200.
I removed lines for optional dependencies that were used in the past.

:thumbsup:


Stopped working with DW

Since some time this utility has stopped working with Dreamwidth. I'm sure the username and password in the ljdump.config are correct (I can login with them interactively into DW) but whenever I start ljdump I get the error:
$ ./ljdump.py
Fetching journal entries for: victor_sudakov
Traceback (most recent call last):
  File "./ljdump.py", line 378, in <module>
    ljdump(server, username, password, username, args.verbose)
  File "./ljdump.py", line 165, in ljdump
    }, Password))
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 1243, in __call__
    return self.__send(self.__name, args)
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 1602, in __request
    verbose=self.__verbose
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 1283, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 1316, in single_request
    return self.parse_response(response)
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 1493, in parse_response
    return u.close()
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 800, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 101: 'Invalid password'>

FreeBSD 12.2-RELEASE-p7, python2.7 from ports.

(Seems like this would be solved with #8)


⚠ Bofrost.be has degraded performance

In 0efa2fb, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2143 ms

Resolved: Bofrost.be performance has improved in 2bea89a.


Arch: RoPE instead of ALiBi

The repository is currently using the unpadding trick to reduce wasted compute, so adding RoPE is not as straightforward as it'd normally be, since it must be implemented in a way that'll keep track of where each sequence ends and begins.

@staghado, I hear you're interested in this one 👀 ?

Sure, I can take a stab at it.


bluez: 5.66 -> 5.68

Description of changes
Based this on staging because quite a lot depends on it and it seems to cause a lot of rebuilds.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Superseded.


Fix: Don't jail already jailed validators

Closes #184.
TODO:

Tests.

After testing / detailed analysis, this is not needed / already solved, because jailing is over the set of active validators already.


Getting francetv videos with subtitles

Not an issue, but a desirable development, particularly for non-French speakers
Subtitles in French being available on the francetv site while viewing videos, It would be great if these subtitles could be selected to be included when videos are downloaded with aspiratv.
Thanks

Great suggestion, thank you.
I'll check how to do that for channels that provide subtitles and multiple sound track.

Hi,
Thanks for aspiratv, seems really nice.
Even for French speakers who love to watch in VO, it will be great to have the possibility to choose the language for audio/subtitles.
Regards,

Hi

Thanks for aspiratv, seems really nice.

Thanks you!

Even for French speakers who love to watch in VO, it will be great to have the possibility to choose the language for audio/subtitles.
Regards,

Hi,
Subtitles are send in its own stream in DASH stream, and are not forced on the video stream. Alas FFMEG  can't handle the stream. Depending on the version, FFMPEG just ignores it otherwise stops before downloading anything.
I have tested with ffmpeg v3.4 coming with ubuntu and the latest available 4.2.
More problematic, the audio stream labelled "VO" is in French even for English shows like Brokenwood. English isn't available on webplayer too.
++ Simulot

Subtitles are send in its own stream in DASH stream, and are not forced on the video stream. Alas FFMEG can't handle the stream. Depending on the version, FFMPEG just ignores it otherwise stops before downloading anything.
I have tested with ffmpeg v3.4 coming with ubuntu and the latest available 4.2.

I'm not sure if it is the case for all providers, but at least for artetv, the video have the subtitles hard-coded and are available directly in the mp4 from the test I just done.
https://api.arte.tv/api/player/v1/config/fr/091111-001-A?autostart=1&lifeCycle=1
Slow quality - original version with subtitles:
$ wget https://arteptweb-a.akamaihd.net/am/ptweb/091000/091100/091111-001-A_MQ_0_VO-STF_04849640_MP4-300_AMM-PTWEB_1IychKvGPo.mp4
$ vlc 091111-001-A_MQ_0_VO-STF_04849640_MP4-300_AMM-PTWEB_1IychKvGPo.mp4

More problematic, the audio stream labelled "VO" is in French even for English shows like Brokenwood. English isn't available on webplayer too.
++ Simulot

Maybe for this show and francetv provider, but not for artetv.
And if VO is french for some shows, we could assume that the VO is not available and is not something that aspiratv could deal with since it is not available on the provider itself.
Regards,

My comments was on FRANCETV.
Yes, ARTETV exposes several audio tracks and subtitle. I'll add command line options and configuration parameter.

This issue is now fixed for FranceTV


⚠ ClamAV has degraded performance

In d84fa1f, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 54 ms

Resolved: ClamAV performance has improved in 76eda33.


Qualified type name is not (always) picked up in specs

Given:
defmodule EmptyMix do
  defstruct [:name]
  use TypeCheck, enable_runtime_checks: Mix.env() != :prod
  @type! t :: %__MODULE__{name: String.t()}

  @spec! example(%{optional(String.t()) => any} | EmptyMix.t()) :: EmptyMix.t()
  def example(%__MODULE__{} = struct), do: struct
end

one would expect this module to compile.
However, it fails with:
** (UndefinedFunctionError) function EmptyMix.t/0 is undefined (function not available)

Replacing EmptyMix.t() with plain t() circumvents the problem, but the library should be able to figure this out by itself.
Originated from #152

The fix is part of the now-published release v0.12.4.


Notify Fenne instead of Sven

Sorry this took a while @svenvanderburg @FenneRiemslagh!
@liekelotte For review: I ran into some issues with Microsoft authentication >.< and installing the httpuv package helped; hence the added dependency in the Description file.
If you want to test-drive the updated function, you can use this code:
old_workshop = traininginfrastructure::read_from_drive() |> traininginfrastructure::get_future_workshops(future = "none")
View(old_workshop) # this is to check what old workshop to pick; I chose the R packaging one
old_r_workshop = old_workshop[3,] # select the old workshop here depending on the number
save_post_sharepoint(old_r_workshop)

Closes #61

P.s. Nice that we can pass the name now :) (also taking into account future pregnancies 👶 )


🚀 Feature: Migrate create-app to the new backend system

🔖 Feature description
As part of moving to the new backend system we want to migrate the template in @backstage/create-app to use the new backend system.
🎤 Context
Part of #11611, #18301
✌ Possible Implementation
We'll want to move over packages/backend/src/index.ts to use the new system and cleanup the other files.
One decision that needs to be made as part of this is what to do with the auth backend, most likely we migrate it and show example usage of one of the modules, but in the end we need to update the backend migration docs to mention more patterns for how to create custom resolvers or even fall back to the legacy helper to support modules that haven't been migrated yet.
Tangentially related are the templates for backstage-cli new as well, which could be updated as part of this effort or separately. When updating those templates it's likely best to keep compatiblity with both systems simply through how we structure the code, i.e. keep the pattern of a createRouter function that we still export for use in the old system.
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, I don't have time to work on this right now

@minkimcello is this something that you were going to pick up? :pray:

Nice! I've assigned you to it, godspeed! :tada:

@minkimcello yep indeed, you'd need to stick to the old version of the plugin for now in that case

@Rugvip @freben can we close this now?

@Rugvip @freben can we close this now?

Closing this for now 🙂


Update Mentor Availabilities + Add Olga as Mentor

Description

Added new ad-hoc availability for Adriana, Anastasia, Eleonora, Fernanda, Sonali, Irina, and Gabriel
Added Olga as mentor

Change Type

[ ] Bug Fix
[ ] New Feature
[ ] Code Refactor
[x] Mentor Update
[ ] Documentation
[ ] Other

Related Issue

Screenshots

Pull request checklist
Please check if your PR fulfills the following requirements:

[x] I checked and followed the contributor guide
[x] I have tested my changes locally.
[x] I have added a screenshot from the website after I tested it locally

@mads6879 Olga has been added


Update "Where can I get tested" link (Addresses #1611)

This PR updates the "Where can I get tested" links which are on the top of every page. The images in the FAQ entry "where_can_i_get_tested" are updated too. There are no big visible differences, so no screenshots this time (;

Closes #1611

Internal Tracking ID: EXPOSUREAPP-8937

@Ein-Tim Many thanks!