Polish translation update

Fixed a typo (level 27)
Improved unclear description (level 26)

@JakubAdamKozlowski, thanks for the tweaks!


Fix schema mistake in the document of SealedSecret

What this PR does / why we need it:
The data parameter of Secret should be a map type.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/lgtm

/lgtm

Thank you.
/approve

Thank you.
/approve


[WIP] Factor out the state of repofs

@AaronO @jpreynat @SamyPesse
Goal
It would be nice to simplify repofs for future evolutions. We want to pull the state out of the core of repofs, into an independant state value that needs to be passed around.
Changes
We will change the API so it takes as argument a state object and returns a new state in a pure fashion. The API is still Promise based.
We will take inspiration in the way Draft.js manages its state (in a EditorState object, separate from the Editor object). The state will make use of Immutable.js
Questions

The state object is part of the API. Should we expose Immutable.js structures directly ? Or only expose standard JS objects and only use Immutable.js internally ?
Update: We will expose standard JS objects

How to handle the operation stack and their events (create, update, remove) ?
We can always keep an operation stack in the state, and delegate the watching to the user of repofs.
Though it disallows simple parallel operations (like Q.all(repofs.write(...), repofs.write(...)), because each operation must use the new state from the previous one.

Events
We can ask ourselves if we want to reduce, or remove, the use of Events.
Cons of Events

Since Events break the control flow, it is best to avoid them in cases such as conflicts handling (because it must be tied to an initial action)

But: just incorporate more context to the event.
Pros of Events

They allow any component to plug in and add behavior.

But: then you can lose track of who is listening.

They can be simply translated to actions in Flux

Moved to branch immutable-state


Make primary key constraint known

👍  Just tested this with our models that have a string primary key and everything worked perfectly.


Can you share the training log on the faceforensics++ dataset?

Thanks for you interest. Here is our train log.
20200528_161252.log

Thank you very much!


Handle connection error on download file

When a file downloads fails (ex connection stops)the program fails
Instead, it should check for the error on the download request and handle it
If it's a connection error, print a message to retry the program
If another, log it
For this, download file request should be in a promise with a default catch

Error is being handled in #19


Deployments no longer a menu option

Under the "Custom Endpoint" heading at the end of this article above, it tells you to navigate to the "Deployments" from the "Custom Speech Menu".  That option doesn't seem to exist any longer.  Please advise as I feel that step is keeping me from using a customized language model in my app.

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

ID: 50d8bb98-fbcd-7562-99ed-54211fd9afd3
Version Independent ID: bd23e619-aee5-2b6e-b2d7-03ab5f7302af
Content: Customizing Speech to Text models - Microsoft Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/how-to-customize-speech-models.md
Service: cognitive-services
GitHub Login: @v-jerkin
Microsoft Alias: v-jerkin

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

@jaredbaszler Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.
@v-jerkin Hi, this is a doc-bug, can you please check the latest version and update the document as necessary? Thanks a lot!

@YutongTie-MSFT please reassign to @erhopf

#please-close
This was addressed in a previous push.


patch-user-pod.yaml.tmpl does not quote userAppParams resulting in broken manifest

https://github.com/GoogleCloudPlatform/selkies-vdi/blob/bdba31dacee30903d3f45c5b8f2f83ce2d582c62/manifests/brokerapp-base/webrtc-bundle-manifests/patch-user-pod.yaml.tmpl#L74 does not escape VDI_ environment variables propagated from userAppParams. We fixed it simply by using quote:
# Add the userParams to the env prefixed with VDI_
{{- range $key, $value := .UserParams }}
- name: VDI_{{ $key }}
   value: {{ quote $value }}
{{- end}}

Thanks for reporting this! Fixed with 260971fc63bd5bdd940976937861474addaadc11


Add module entry point for Webpack 2

Webpack 2 now prefers "module" entry point for packages with ES modules:
https://github.com/webpack/webpack/commit/dc50c0360e87204ea77172910e877f8c510f3bfb
Similar changes to other popular repos:
reactjs/react-router#3672
reactjs/redux#1871
Rollup is following along:
rollup/rollup-plugin-node-resolve#48

For more info see the Node ES6 Module Interoperability proposal and specifically section 5.1.

You realize those two are both my PRs, right? :p

:) doh..

This is fine, I'll merge it once I sort out a few more things in this library. Thanks.

Thanks!


New version: LAPACK_jll v3.10.0+0

Autogenerated JLL package registration

Registering JLL package LAPACK_jll.jl
Repository: https://github.com/JuliaBinaryWrappers/LAPACK_jll.jl
Version: v3.10.0+0
Commit: 717ccd0327bde9e3e023b2b4ae360c7636c27158
Revision on Yggdrasil: https://github.com/JuliaPackaging/Yggdrasil/commit/cf18dd53f396fed967eca6c52155d6824278e54e
Created by: @ViralBShah

:-(

@giordano Any ideas what is going wrong here now?

Ok, this is expected because we're now requiring Julia v1.8, and CI here runs on v1.7. I think we can merge this one and hope libblastrampoline won't break ABI again in the future

Ok - almost nothing uses LAPACK_jll anyways. The main reason is to have it so that it can work on M1 with Accelerate BLAS.


Support for OracleLinux 8

The support for OL8 is needed for new Installations of Oracle RDBMS.
The following points are WiP:

OL8 has no ntp
ansible-oracle needs support for chrony.

merged


Fix typo in C bindings (Close #140)

IMF_RAMDOM_Y should be IMF_RANDOM_Y

yup!

+1

Merged into develop branch.


Entities have text

Entities should handle logic for representing themselves as text, when appropriate.

Adds a text: (Self) -> Optional[str] method on Entity to be implemented by subclasses.
Changes InputWord to require a text field, since we can assume any WordPolyDict has Some(text) (i.e. text would never be None).

Actually, let's hold off on this for now. By defining .text() here, we're effectively making an implementation decision that may send the wrong signal to the user of this library.
As an example, this PR has decided that Line.text() will join all the words in a line with a single space -- this is not always appropriate. End users may want to preserve the significance of word spacing in pixel space, and will end up writing their own functions to do that.

Actually, let's hold off on this for now. By defining .text() here, we're effectively making an implementation decision that may send the wrong signal to the user of this library.
As an example, this PR has decided that Line.text() will join all the words in a line with a single space -- this is not always appropriate. End users may want to preserve the significance of word spacing in pixel space, and will end up writing their own functions to do that.


[WIP] Add checklist

This work-in-progress needs to meet several criteria before it is ready for review:

[ ] extract anonymous functions into named variables.
[ ] The current implementation is global, change so that checklists are tracked per-ticket.
[ ] Why did past Strand not test this? 😢Please add tests to cover the lifecycle of the Checklist toggle at least.
[ ] Link to 'binding the callback' in React documentation
[ ] Do a quick review for clarity.
[ ] @macrobug has noted approaches which remove the lodash dep. Remove it.
[ ] Also, update the README to indicate that we prefer plain-old EcmaScript to using lodash or another library for functional transformations.
[ ] Look at using a solution other than localstorage—specifically look for a drop-in replacement which will encrypt user data so other sites won't be able to read the task list stored in the user's browser.
[x] Inline styles are not cool. replace inline styles with class names.

This work is cancelled.


Build Error with Flutter 3

I upgrade flutter version to 3 then the plugin produces errors like.
audio_waveforms-0.1.1/android/src/main/kotlin/com/simform/audio_waveforms/AudioRecorder.kt: (20, 1): Class 'AudioRecorder' is not abstract and does not implement abstract member public abstract fun onRequestPermissionsResult(p0: Int, p1: Array<(out) String!>, p2: IntArray): Boolean defined in io.flutter.plugin.common.PluginRegistry.RequestPermissionsResultListener
e: /Users/user/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/audio_waveforms-0.1.1/android/src/main/kotlin/com/simform/audio_waveforms/AudioRecorder.kt: (97, 5): 'onRequestPermissionsResult' overrides nothing
kindly guide me how to reslove this issue.
Thanks

me too.


Pretrained model is wrong

Hi,
Thank you for sharing this great work! When I was trying to run the test.py with your provided pre-trained model file LSTM.pth, the program reported the mismatch errors between the checkpoint file and the LSTM-based model.
Seems that the pretrained model LSTM.pth is actually a GRU-based model. I appreciate your time to double-check with it.
Thank you!

Thanks for your attention. We have updated the code. Please use the latest version. If the problem is solved, please close this issue.

Thank you for the timely response!
The updated code could match with the pre-trained model now. I'll close this issue.


Updating status of a couple of projects

This pull request updates several TODOs across multiple files.

I can't figure out how to assign a reviewer. My screen doesn't show the settings icon.

Congratulations @fosterbass  on completing all the challenges for the Beginning Git course.
I didn't realise at the time, but it seems that you can only choose a reviewer if you're already a contributor a repo—apologies.
I hope that you enjoyed working through this course—if you weren't already using git for your code, hopefully this has inspired you to do so. I hope you're going to work through the "Mastering Git" video course as well—you'll soon be able to get git to bend to your will :)
You can now wear this #GitWarrior badge with pride—and Tweet your historic victory!

sam


[CS] Add test case with "Test" suffix rule

See https://github.com/ergebnis/phpstan-rules/blob/main/src/Classes/PHPUnit/Framework/TestCaseWithSuffixRule.php
Adopt to Symplify

Covered by https://github.com/symplify/symplify/commit/871e48da48c4242a28482c9022865a2f0f9c5a04#diff-6115edc26fbe153504bcd2ec81ffbea5R41


Gibberish generated with deepseek-ai/deepseek-coder-6.7b-instruct

System Info
Tried to run TGI 2.0.3 and 2.0.4 with deepseek-coder-6.7b-instruct but the output generated was a bunch of \n.
Deepseek-coder-6.7b-instruct is working with TGI 2.0.2 though
TGI Version: 2.0.3, 2.0.4
Information

[X] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction
"prompt" : "You are an AI programming assistant, utilizing the DeepSeek Coder model, developed by DeepSeek Company, and you only answer questions related to computer science. For politically sensitive questions, security and privacy issues, and other non-computer science questions, you will refuse to answer.\n###Instruction:\nexplain this python code:\nusername = u.rsplit(\".\",1)[-1].strip()\n### Response:\n"
"stop": ["</s>", "<|im_end|>"]

Output generated is
"\n\n\n\n\n\n\n\n\n\n..."

Expected behavior
Expecting the model to explain the line of code but it outputs a bunch of new line characters

I encountered the same problem.

the same problem


Homepage: Remove unused component modifications

Three component modifiers are unused since the latest refresh of the cf.gov homepage.
Removals

Remove unused home.less file that contained three modifiers for components on the homepage.

Testing

Pull branch and it should build.
Site should be unchanged.

Thanks for noticing these! When working on #5614, I also noticed that there is a bunch of home-hero stuff laying around still, too. I took a simpler approach to extending the main Hero component, so all of the home hero stuff can go away. Mind removing that in this PR, too?

@Scotchester Removed it in https://github.com/cfpb/cfgov-refresh/pull/5618/commits/40e7e2be0fb1992d7fbca92a3b751dca827a3117


[documentation] constraint.pointBVector wrongly states it is offeset from bodyA

When reading documentation about constraint pointB
constraint.pointBVector
A Vector that specifies the offset of the constraint from center of the constraint.bodyA if defined, otherwise a world-space position.

you get the impression we are offsetting from bodyA origin
When looking at the code you clearly see that we are offesetting from body B
initialPointB = constraint.bodyB ? Vector.add(constraint.bodyB.position, constraint.pointB) : constraint.pointB,

#588 I think it's duplicate.
Yes pointA for bodyA and pointB to bodyB

Yeah there's an issue with the docs here that needs to be fixed, this is a duplicate so refer to #588, thanks for raising it though.


[Feature] Collateral oracle

To support multiple assets as collaterals in the mint contract, we create a new oracle that acts as a proxy.
Collateral oracle allows the owner to register new collateral assets by providing:

collateral_premium
query_request (WASM request in binary)

The mint contract will be able to query the oracle contract to check if the collateral is whitelisted and obtain the rate and collateral_premium.
TODO:

[x] Implement collateral oracle contract

[x] Integrate it with mint contract

Resolved merge conflicts


Session closed. Reason: Payload exceeds the 104857600 bytes limit.

was it my file size?  it was 2 hours and a almost 600mb flac file and that was the message i had.
what can i do to fix this?
Session closed. Reason: Payload exceeds the 104857600 bytes limit.

Yep, the limit is about 100mb. You'll need to break your file up into smaller chunks or otherwise reduce the file size (convert stereo to mono, lower sample rate, lower bitrate, etc.)


DRILL-6624: the same schema name specified as single path and as a co…

…mplex path in the same query

@Agirish could you please review this PR?


Fixes Racket

(company-capf company-abbrev company-dabbrev-code company-dabbrev company-files company-yasnippet)

Having all these company backends seems unnecessary. Can we reduce them or remove them entirely? The doom default for prog-modes is (company-capf company-yasnippet), so we may not need to set anything for racket-mode at all.

Having both company-dabbrev-code and company-dabbrev means a lot of duplicates. These two backends are also naive, and only add to the noise. They should be used as last-resort backends in the event that company-capf isn't sufficient.

This will be slow and memory intensive, especially for as-you-type code completion, and in larger projects.

All of these backends are available through vim omnicompletion keybinds, for example:

C-x C-f for company-files
C-x C-s for company-yasnippet
C-x C-n and C-x C-p for company-dabbrev-code

I agree!
The company-capf is the main one for the Racket engine, others are optional extras.

Alright, I've made the necessary adjustments. Thanks again for your help!


NeuroglancerScale.fetch() return nii w dataobj of xyz coords

This question will not be addressed until version 2.


--module flag output module instead of self things

Can we have a ES module versionimport pbf from 'https://unpkg.com/pbf@3.2.0/dist/pbf.mjs?module' please and a proto compiler --module flag that can output a module instead of a self thing. Life is to short to wait for a stable nodejs mjs release :)
Was hoping a bit of CI magic can generate a extra dist mjs automatically
Thanks

O wait I missed this part in the readme XD CDN link<EMAIL_ADDRESS>just the --browser flag then outputting a module instead of self things

Yes, definitely in the plans!


[master] Upgrade to latest dependencies

Produced via:
./hack/update-deps.sh --upgrade
./hack/update-codegen.sh

/cc n3wscott lberk
/assign n3wscott lberk

/lgtm
@mattmoor do we need to have these twice a day?

Just copied from @n3wscott's original settings.  We can probably lower this now that things are more stable, but I'll probably wait until I can move this to knative-sandbox/knobots (which is hopefully imminent).


How to access logged in user's I-Number ?

Hi,
The Token available in the controller of a spring-boot application, after a user logs in via the XSUAA service contains only email , and  name properties (apart from others). I am using the default SAP ID service on CF. I wanted to know if it is possible to get the user's I-Number/D-Number details from the token as well ? I parsed the token but there doesnt seem to be any field containing this info.
I have configured spring boot for Neo environment where this information is available. Sample snippet -
@GetMapping("/getDetails")
	public ResponseEntity<?> getDetail( Principal principal) {
		String principalNo = principal.getName().substring(1);
                .......
     }

principalNo  contains the I-Number of the user.  I was wondering is the same possible in CF environment with the XSUAA token ?

Hi @boudhayan-dev
we can only offer you the information about the D/I/S User in case it is available as part of the JWT token (Access Token). I think the Token.getLogonName() returns the email adress as well.
Best regards,
Nena

Hi @nenaraab ,
Yes, Token.getLogonName() returns the email address. I believe, since we login to our CF account via email address and not I/D/C number, thus the above function return email address.
However, my requirement is that I retrieve the I/D/C number of the logged in user in the controllers of the Spring application. As I showed earlier, this is possible from the Principal object in Neo landscape. Neo Landscape is also using the same SAP ID Service. In that case, why is the Emplyoee number (I/D/C) not available in the token in CF ?
I checked my info in - https://accounts.sap.com and it contains the I-Number under User ID field. Doesn't SAP ID service use this info and thus the resulting token returned by XSUAA should contain this as well ?
I have parsed the Token returned by XSUAA to Spring boot but couldn't find the Employee Number anywhere. How can I configure this ? Any solution ?

@boudhayan-dev
AFIK you can configure the SAML attributes in your custom IdP in such a way that it includes the D/I/S User. But as i've understood not all SAML attributes are mapped to the JWT token.
@mwdb what do you think?

Are there any samples to do this mapping ? Also, how would I go about doing these changes to the SAP ID service. It comes configured as default.

I would suggest to open a BCP (component BC-CP-CF-SEC-IAM) / or Jira Ticket for the same as this is not the right place to discuss the same.

I have the same requirement and interested if this is solved and how?


firebase-app-distribution 0.8.0

What to do if the build fails?
At the moment contributors do not have access to the CI workflow triggered by StepLib PRs. In case of a failed build, we ask for your patience. Maintainers of Bitrise Steplib will sort it out for you or inform you if any further action is needed.
New Pull Request Checklist
Please mark the points which you did / accept.

[x] I will not move an already shared step version's tag to another commit
[x] I read the Step Development Guideline
[x] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[x] I read and accept the Abandoned Step policy

Hi @guness 👋
Thank you again for your contribution! If you have a minute, please give us feedback on the process through the following minisurvey.


Fixes related to Enterprise Fields serdes

Changelog:

adjusting size of boolean datatype to 1 byte
adding PEN number to pen getter function in generated code
added missing conditional imports required for certain datatypes for PEN fields in the code generators
handling Enterprise Bit (https://datatracker.ietf.org/doc/html/rfc7011#section-3.2) when serializing or handling ipfix templates

What I did is simply setting the Enterprise Bit when populating a Field Specifier in a Template when we have an Enterprise Field. Respectively I strip the Enterprise bit when retrieving the IE (try_from in the generated code) for the PEN IEs. Let me know if you prefer to handle this another way. An alternative could be adding in in the fields in the IE enum already, although it would not be that nice IMO.

added an additional test with Nokia pen fields serialized and deserialized to validate the changes. I generated pcaps to verify packet encoding correctness and to grab the bytes array from wireshark

Cheers,
Leonardo

Or a better solution would be to add it to the FieldSpecifier struct (https://github.com/NetGauze/NetGauze/blob/main/crates/flow-pkt/src/lib.rs#L41-L56)?

Thank you Leonardo, LGTM. I like removing the enterprise bit mask from the values.


Add basic envtest env setup and test coverage

I need to tweak the makefile a bit to allow the unit test job to run the tests and pass in prow...

I need to tweak the makefile a bit to allow the unit test job to run the tests and pass in prow...

We need to land https://github.com/openshift/release/pull/39961 first to adapt the prow job for envtest.

I need to tweak the makefile a bit to allow the unit test job to run the tests and pass in prow...

We need to land openshift/release#39961 first to adapt the prow job for envtest.

And for that we need a small fix for the makefile first :/ https://github.com/openstack-k8s-operators/glance-operator/pull/240

@gibizer Thanks for this change.
The patch works as expected:
Will run 4 of 4 specs
Running in parallel across 5 processes
••••

Ran 4 of 4 Specs in 7.991 seconds
SUCCESS! -- 4 Passed | 0 Failed | 0 Pending | 0 Skipped

Ginkgo ran 1 suite in 10.317297719s
Test Suite Passed

Before merging I suspect we need to:

Rebase go.mod
Merge https://github.com/openshift/release/pull/39961 (which is ok to have it first as no tests are executed if not present)
Rekick the functional tests here once the previous one merges and double check everything is green (I think so given I tried it locally).
Squash (github should be able to do that for you?) and merge

I'm not sure what is happening in prow.
  [FAILED] in [BeforeSuite] - /go/src/github.com/openstack-k8s-operators/glance-operator/tests/functional/suite_test.go:114 @ 06/05/23 10:19:44.935
  << Timeline

  [FAILED] Unexpected error:
      <*fmt.wrapError | 0xc000140220>:
      unable to install CRDs onto control plane: unable to create CRD instances: unable to create CRD "mariadbs.mariadb.openstack.org": Post "https://<IP_ADDRESS>:46171/apis/apiextensions.k8s.io/v1/customresourcedefinitions": http2: client connection lost
      {
          msg: "unable to install CRDs onto control plane: unable to create CRD instances: unable to create CRD \"mariadbs.mariadb.openstack.org\": Post \"https://<IP_ADDRESS>:46171/apis/apiextensions.k8s.io/v1/customresourcedefinitions\": http2: client connection lost",
          err: <*fmt.wrapError | 0xc000140200>{
              msg: "unable to create CRD instances: unable to create CRD \"mariadbs.mariadb.openstack.org\": Post \"https://<IP_ADDRESS>:46171/apis/apiextensions.k8s.io/v1/customresourcedefinitions\": http2: client connection lost",
              err: <*fmt.wrapError | 0xc0001401e0>{
                  msg: "unable to create CRD \"mariadbs.mariadb.openstack.org\": Post \"https://<IP_ADDRESS>:46171/apis/apiextensions.k8s.io/v1/customresourcedefinitions\": http2: client connection lost",
                  err: <*url.Error | 0xc000806000>{
                      Op: "Post",
                      URL: "https://<IP_ADDRESS>:46171/apis/apiextensions.k8s.io/v1/customresourcedefinitions",
                      Err: <*errors.errorString | 0xc0008c43c0>{
                          s: "http2: client connection lost",
                      },
                  },
              },
          },
      }

I'm not sure what is happening in prow.
  [FAILED] in [BeforeSuite] - /go/src/github.com/openstack-k8s-operators/glance-operator/tests/functional/suite_test.go:114 @ 06/05/23 10:19:44.935
  << Timeline

  [FAILED] Unexpected error:
      <*fmt.wrapError | 0xc000140220>:
      unable to install CRDs onto control plane: unable to create CRD instances: unable to create CRD "mariadbs.mariadb.openstack.org": Post "https://<IP_ADDRESS>:46171/apis/apiextensions.k8s.io/v1/customresourcedefinitions": http2: client connection lost
      {
          msg: "unable to install CRDs onto control plane: unable to create CRD instances: unable to create CRD \"mariadbs.mariadb.openstack.org\": Post \"https://<IP_ADDRESS>:46171/apis/apiextensions.k8s.io/v1/customresourcedefinitions\": http2: client connection lost",
          err: <*fmt.wrapError | 0xc000140200>{
              msg: "unable to create CRD instances: unable to create CRD \"mariadbs.mariadb.openstack.org\": Post \"https://<IP_ADDRESS>:46171/apis/apiextensions.k8s.io/v1/customresourcedefinitions\": http2: client connection lost",
              err: <*fmt.wrapError | 0xc0001401e0>{
                  msg: "unable to create CRD \"mariadbs.mariadb.openstack.org\": Post \"https://<IP_ADDRESS>:46171/apis/apiextensions.k8s.io/v1/customresourcedefinitions\": http2: client connection lost",
                  err: <*url.Error | 0xc000806000>{
                      Op: "Post",
                      URL: "https://<IP_ADDRESS>:46171/apis/apiextensions.k8s.io/v1/customresourcedefinitions",
                      Err: <*errors.errorString | 0xc0008c43c0>{
                          s: "http2: client connection lost",
                      },
                  },
              },
          },
      }

This is really weird and actually unrelated to the patch. It seems that suite_test is failing during the setup, but not sure why.
I'll re-trigger  the job to see if it's a consistent failure at the same point.

@gibizer this time looks different [1]. I think it failed in the BeforeEach but I'm not sure if the real reason is some missing resources there. I'll take a better look at the errors during the day.
[1] https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openstack-k8s-operators_glance-operator/239/pull-ci-openstack-k8s-operators-glance-operator-main-functional/1665707514756337664/artifacts/test/build-log.txt

It almost feels like that this job runs in a very different environment in prow than the rest of the functional jobs running envtest tests.

Pushed https://github.com/openshift/release/pull/40018

Pushed openshift/release#40018

Merging this one ^, let's see how it goes next.

/test functional

/test glance-operator-build-deploy-kuttl

Now the tests looks good https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openstack-k8s-operators_glance-operator/239/pull-ci-openstack-k8s-operators-glance-operator-main-functional/1665814367788077056/artifacts/test/build-log.txt

Now the tests looks good https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openstack-k8s-operators_glance-operator/239/pull-ci-openstack-k8s-operators-glance-operator-main-functional/1665814367788077056/artifacts/test/build-log.txt

Yes, so at least we found a constraint about the minimum requirements to run the job in prow. At this point I think we can merge it and follow up (thanks for starting this).


HBASE-26244 Avoid trim the error stack trace when running UT with maven

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 28s
Docker mode activated.

_ Other Tests _

+1 :green_heart:
asflicense
0m 18s
The patch does not generate ASF License warnings.

54m 10s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3653/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3653

Optional Tests
dupname asflicense javac hadoopcheck xml compile

uname
Linux a5b3b57dd036 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / a0864ed3bc

Default Java
AdoptOpenJDK-1.8.0_282-b08

Max. process+thread count
141 (vs. ulimit of 30000)

modules
C: . U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3653/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
11m 26s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+1 :green_heart:
mvninstall
5m 23s
master passed

+1 :green_heart:
compile
3m 24s
master passed

+1 :green_heart:
shadedjars
9m 21s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
3m 10s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 42s
the patch passed

+1 :green_heart:
compile
3m 21s
the patch passed

+1 :green_heart:
javac
3m 21s
the patch passed

+1 :green_heart:
shadedjars
9m  8s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
3m  9s
the patch passed

_ Other Tests _

-1 :x:
unit
226m 56s
root in the patch failed.

282m 17s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3653/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3653

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 1bbca2534d4e 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / a0864ed3bc

Default Java
AdoptOpenJDK-11.0.10+9

unit
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3653/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-root.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3653/1/testReport/

Max. process+thread count
3313 (vs. ulimit of 30000)

modules
C: . U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3653/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
6m 29s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+1 :green_heart:
mvninstall
5m  4s
master passed

+1 :green_heart:
compile
3m 20s
master passed

+1 :green_heart:
shadedjars
10m 21s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
2m 52s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 41s
the patch passed

+1 :green_heart:
compile
3m 19s
the patch passed

+1 :green_heart:
javac
3m 19s
the patch passed

+1 :green_heart:
shadedjars
10m 19s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
2m 49s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
493m  5s
root in the patch passed.

544m 48s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3653/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3653

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 34a3ea8c804c 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / a0864ed3bc

Default Java
AdoptOpenJDK-1.8.0_282-b08

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3653/1/testReport/

Max. process+thread count
4028 (vs. ulimit of 30000)

modules
C: . U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3653/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


contributing android ui

Hello, I developed a UI that allows users to quickly find photos stored in Android galleries using tag information, date information, and location information taken, and I would like to contribute the developed UI to this project. I uploaded rough simulation videos on readme.md, so please check my project repository!

您好，我已收到您的邮件，我会尽快处理，感谢！

您好，我已收到您的邮件，我会尽快处理，感谢！

When would be possible to give me some feedback? Actually, I have to do presentation in my university at June 7th, so I'd appreciate it if you could give feedback as soon as possible!

您好，我已收到您的邮件，我会尽快处理，感谢！

When would be possible to give me some feedback? I have to do final presentation in my university at June 7th, so I'd appreciate it if you could give feedback as soon as possible!

When would be possible to give me some feedback? I have to make a final
presentation in university at June 7th, so I'd appreciate it if you could
give feedback as soon as possible!
My Repository Link: https://github.com/MinhyeokOh/android_app_ui
2023년 5월 27일 (토) 오후 8:30, Xudadi @.***>님이 작성:

您好，我已收到您的邮件，我会尽快处理，感谢！
—
Reply to this email directly, view it on GitHub
https://github.com/wasabeef/awesome-android-ui/pull/341#issuecomment-1565358068,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APOXWXYX5CNOROLY77P3MRDXIHQURANCNFSM6AAAAAAYRD6XYE
.
You are receiving this because you authored the thread.Message ID:
@.***>


bin/dry-run.rb: not found

good day,
I'm trying to follow the steps in the readme but I can't seem to run the dry-run script. I'm very new to docker.

👋 welcome to docker.
In this case, we've already got a script that will get docker going for you automagically. So replace the docker exec command with bin/docker-dev-shell from within the folder where you git cloned the repo... ie, you're executing https://github.com/dependabot/dependabot-core/blob/main/bin/docker-dev-shell and that will spin up what you need from docker.
Full instructions: https://github.com/dependabot/dependabot-core#running-with-docker
Closing as I think this will resolve it, but if you still need help please comment and happy to re-open.

ah ok, that makes sense. thank you.


Checking for update fails with 401

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to logseq plugin screen
Click on Check Update for Logseq Jira Sync
Note dialog with the following text:

[Error] :release-channel-issue "Github API Failed(401) {"message":"Bad credentials","documentation_url":"https://docs.github.com/rest\",\"status\":\"401\"}"]

Other plugins update without issue.

Expected behavior
Using logseq plugins screen to update plugin
Screenshots
Desktop (please complete the following information):

OS: [e.g. iOS] Fedora 40
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] logseq 0.10.9, plugin 0.6.0

Additional context
Add any other context about the problem here.

I get the same error when trying a remove / install workflow as well.


Feat: Implement unique values legend on string properties in vectors (Issue #1146)

Thank you for submitting a pull request!
Description
Please describe what you changed briefly.
Type of Pull Request

[x] Adding a feature
[ ] Fixing a bug
[ ] Maintaining documents
[ ] Others ()

Verify the followings
Fixes #1146

[x] Code is up-to-date with the develop branch
[x] No build errors after pnpm build
[x] No lint errors after pnpm lint
[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check
[x] Make sure all the existing features working well

Changesets

[ ] If your PR makes a change under packages folder that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Refer to CONTRIBUTING.MD for more information.


Socks5 parent with no password

Hello!
I did try to not use socks5 user and password(trying to connect to local cloudflare warp socks5 proxy(<IP_ADDRESS>:40000) that does not support password authentication) as parent connection but it does not work.
Maybe there is some workaround for it?

address: <IP_ADDRESS>:8443
transport: tcp
protocol:
type: tls
default_target:
cert: cert.pem
key: key.pem
protocol:
type: ws
targets:
- matching_path: /hidden
protocol:
type: vless
cipher: any
user_id: hidden
rules:

mask: <IP_ADDRESS>/0
action: allow
client_proxy: direct

I'm trying to make it work thru socks5 which is at <IP_ADDRESS>:40000
With direct mode it works great, I tried to replace client proxy part and it does not work anymore.
P.S. replaced some values to "hidden" for security reasons.


Reduce the memory consumption of the javascript worker

The Javascript worker seems to take a runtime memory of about ~25MB .
It will be better if there is any possibility to reduce that memory consumption

Also ,Is there any options present to pause/stop and restart the worker whenever needed.
setMaximumWorkerIdleTime doesn't seem to solve my issue
And the docs for that API is saying No-op.
Does this mean , this API is deprecated ?
The parameter value also doesn't specify whether we have to give time in milliseconds (or) seconds

@Pranomvignesh That memory is consumed by the TypeScript compiler and language services, which is loaded when creating a JavaScript file. If you want to reduce the memory usage, then you can use directly the npm module monaco-editor-core, which does not contain monaco-typescript, which is the project that defines TypeScript workers for javascript.

@alexdima  If i use this npm module monaco-editor-core , will i be able to get the auto-completions for javascript language ?

The method setMaximumWorkerIdleTime does not do anything. It is deprecated.

The method setMaximumWorkerIdleTime does not do anything. It is deprecated.

@alexdima Thanks for your response

If I use this npm module Monaco-editor-core, will I get the auto-completion for javascript language

What about this one?

If I use this npm module Monaco-editor-core, will I get the auto-completion for javascript language

No, the module monaco-editor-core contains the core editor, without any languages.


How do I center a fixed width underline on ScrollableTabView?

It's a dynamic style, so I'm not sure what to do. I'd like to set it to 40px no matter how long the label is.

Create custom tab bar like here https://github.com/skv-headless/react-native-scrollable-tab-view#injecting-a-custom-tab-bar and use https://github.com/skv-headless/react-native-scrollable-tab-view/blob/master/ScrollableTabBar.js .
Try set 40 here https://github.com/skv-headless/react-native-scrollable-tab-view/blob/master/ScrollableTabBar.js#L118 .
Not sure that I can help somehow.

Could you please tell how to  set  the underline dynamic to text width.?


Google Trend utility makes assumptions on keys from response

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.

Example Code
The following code:
import os
from langchain_community.utilities.google_trends import GoogleTrendsAPIWrapper

os.environ['SERPAPI_API_KEY'] = ''

tool = GoogleTrendsAPIWrapper()
tool.run("Something that will yield an error like totally")

will yield this:
Traceback (most recent call last):
  File "/home/ubuntu/Work/luc/langchain-google-trends-issue-1/langchain_google_trends_issue_1/main.py", line 9, in <module>
    tool.run("Something that will yield an error like totally")
  File "/home/ubuntu/Work/luc/langchain-google-trends-issue-1/.venv/lib/python3.10/site-packages/langchain_community/utilities/google_trends.py", line 68, in run
    total_results = client.get_dict()["interest_over_time"]["timeline_data"]
KeyError: 'interest_over_time'

Description

I'm trying to use the Google Trends tool with some AI agent.
Now the (not so smart) agent ran a query with Google Trend that did NOT return what its implementation expected.
I would expect the implementation to follow a more foolproof logic.

System Info
pyproject.toml
python = "^3.10"
langchain = "0.0.354"
pytest = "^7.4.4"
google-search-results = "^2.4.2"
Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[X] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

@dosu-bot This is definitely one way to go about it, and it will work. I, personally, would like to fix it at the source (root cause).
Specifically:
https://github.com/langchain-ai/langchain/blob/v0.1.0/libs/community/langchain_community/utilities/google_trends.py#L68
Something like this patch:
index f0f15000c..c94dee6be 100644
--- a/libs/community/langchain_community/utilities/google_trends.py
+++ b/libs/community/langchain_community/utilities/google_trends.py
@@ -65,7 +65,8 @@ class GoogleTrendsAPIWrapper(BaseModel):

         total_results = []
         client = self.serp_search_engine(params)
-        total_results = client.get_dict()["interest_over_time"]["timeline_data"]
+        client_dict = client.get_dict()
+        total_results = client_dict["interest_over_time"]["timeline_data"] if "interest_over_time" in client_dict else None

         if not total_results:
             return "No good Trend Result was found"

I'd also add a test (unit? integration?). I'm not sure how integration tests are run (using actual keys?) but something of the sort would fail today and succeed after applying the patch:
# test_google_trends.py
"""Test for Google Trends API Wrapper."""
from langchain_community.utilities.google_trends import GoogleTrendsAPIWrapper
from unittest.mock import patch
import os

@patch('serpapi.SerpApiClient.get_json')
def test_unexpected_response(mocked_serpapiclient):
  os.environ['SERPAPI_API_KEY'] = '123abcd'
  resp = {
    'search_metadata': {
            'id': '659f32ec36e6a9107b46b5b4',
            'status': 'Error',
            'json_endpoint': 'https://serpapi.com/searches/1060a69da6ea9d1a/659f32ec36e6a9107b46b5b4.json',
            'created_at': '2024-01-11 00:14:36 UTC',
            'processed_at': '2024-01-11 00:14:36 UTC',
            'google_trends_url': 'https://trends.google.com/trends/api/explore?tz=420&req=%7B%22comparisonItem%22%3A%5B%7B%22keyword%22%3A%22Lego+building+trends+2022%22%2C%22geo%22%3A%22%22%2C%22time%22%3A%22today+12-m%22%7D%5D%2C%22category%22%3A0%2C%22property%22%3A%22%22%2C%22userConfig%22%3A%22%7BuserType%3A+%5C%22USER_TYPE_LEGIT_USER%5C%22%7D%22%7D',
            'prettify_html_file': 'https://serpapi.com/searches/1060a69da6ea9d1a/659f32ec36e6a9107b46b5b4.prettify',
            'total_time_taken': 90.14
    },
    'search_parameters': {
        'engine': 'google_trends',
        'q': 'Lego building trends 2022',
        'date': 'today 12-m',
        'tz': '420',
        'data_type': 'TIMESERIES'
    },
    'error': "We couldn't get valid results for this search. Please try again later."
  }
  mocked_serpapiclient.return_value = resp
  tool = GoogleTrendsAPIWrapper()
  tool.run("does not matter")

PR submitted: #15864


Unable to connect to Holographic Remoting Player With OpenXR in MRTK 2.6

I've been trying to demo some of the new MRTK 2.6 features with OpenXR but it doesn't matter what I do I can't get the new OpenXR Holographic Editor Remoting feature set to connect.
I've verified that I can connect to my HoloLens2 with the Legacy XR so that works great, also I can get to it with Microsoft Hololens App on my PC as well as the portal via IP from my PC.
Screenshots
OpenXR Feature Set Configuration:

Connection Error

Connectivity with Windows Device Portal

Your setup (please complete the following information)

Unity Version 2020.2.3f1
MRTK Version 2.6

"com.microsoft.mixedreality.openxr": "file:MixedReality\/com.microsoft.mixedreality.openxr-0.1.4.tgz",
"com.microsoft.mixedreality.toolkit.examples": "file:MixedReality\/com.microsoft.mixedreality.toolkit.examples-2.6.0.tgz",
"com.microsoft.mixedreality.toolkit.extensions": "file:MixedReality\/com.microsoft.mixedreality.toolkit.extensions-2.6.0.tgz",
"com.microsoft.mixedreality.toolkit.foundation": "file:MixedReality\/com.microsoft.mixedreality.toolkit.foundation-2.6.0.tgz",
"com.microsoft.mixedreality.toolkit.standardassets": "file:MixedReality\/com.microsoft.mixedreality.toolkit.standardassets-2.6.0.tgz",
"com.microsoft.mixedreality.toolkit.tools": "file:MixedReality\/com.microsoft.mixedreality.toolkit.tools-2.6.0.tgz",

Target platform (please complete the following information)

HoloLens 2 OpenXR

Additional context
I also tried deploying to the device and OpenXR MRTK worked ok however I couldn't see my hands at all with the handInteractionExamples scene, it also didn't react to my hands so something is clearly not working.

@dilmerv regarding the handInteractionExamples scene, you'll need to update your profiles to OpenXR. See this page for the specific OpenXR profiles to use. https://docs.microsoft.com/en-us/windows/mixed-reality/mrtk-unity/configuration/getting-started-with-mrtk-and-xrsdk#configuring-mrtk-for-the-xr-sdk-pipeline

@dilmerv, There is currently a Unity bug with Holographic app remoting where it doesn't work with Unity's XR SDK. It looks like we missed this one in the known issues section of our release notes. Thanks for the call out.

I'll also log the remoting issue with the MR OpenXR Plugin team. I've sometimes seen that if I let Unity spin for a bit ("cannot establish a connection"..."restarting OpenXR") it'll eventually connect, but not always.
@polar-kev This is editor remoting for OpenXR, so a slightly different scenario than app remoting with Windows XR plugin.

Thanks @polar-kev and @keveleigh I appreciate the feedback and yes it connects once in a while but it is more times when it fails than that it succeeds. I will also try the profile suggestions this afternoon and get back to you guys.
Thanks a lot for the quick responses.

ok I tried your suggestion but I do remember just using "DefaultOpenXRConfigurationProfile" as suggested in the documentation, then today I tried to clone that and manually settings the profiles as shown below:

But still no hands so there may be a different issue.

@dilmerv Can you please double check the settings for UWP mentioned at https://docs.microsoft.com/windows/mixed-reality/develop/unity/openxr-getting-started#configuring-xr-plugin-management-for-openxr? It might also be worth looking under OpenXR -> Features and checking that the hand tracking features are checked there for UWP as well.

@keveleigh they are all set but good suggestion :) see below and thanks !

Thanks for the screenshots! That definitely looks correct...
Oh! I just remembered, this was a regression I accidentally introduced in MRTK 2.6...fix is at https://github.com/microsoft/MixedRealityToolkit-Unity/pull/9430. We should start work on a 2.6.1 hotfix soon @davidkline-ms

I'm not sure if you can edit the tarball imported files in Library/PackageCache without Unity rewriting them, but that might be worth a try as a workaround until then

@keveleigh I think I can hack it hehe I will try it thanks man !

@keveleigh good news, I was able to modify the Packages files simply within Unity and double clicking on it, I know it will get overwritten later on but is ok for now, this actually works and I can see my hands now when I deploy to the device ! thanks a lot :)

@dilmerv  we are contacting the remoting experts to see how to diagnose next step.  We will ping back here when we have more details on this issue.

@dilmerv  we are contacting the remoting experts to see how to diagnose next step.  We will ping back here when we have more details on this issue.

Sounds good thank you and looking forward to the results !

@dilmerv The Mixed Reality OpenXR Plugin 0.9.3-preview.1 package that just shipped via the Feature Tool should have a fix for this issue! Please re-open if you're still hitting it after updating.

I'm sorry for reopening such an old issue, but I feel like I might be experiencing the same symptoms described here.
A few weeks ago I wrote a post on the Discussions board ( #11429 ) inquiring about this topic in case it was just similar but unrelated to this issue. However I've since exhausted all other potential solutions I could find/think of (provided, they're not plenty) and I can't pinpoint the issue anywhere else, so I'm left with the conclusion that the issue I'm experiencing must be this very same ( #9465 ), possibly reintroduced unknowingly at some point?
I'm using Unity 2021.3.20f1 (as recommended) and MRTK 2.8.3.
In my case the target device I'm trying to connect to a HoloLens (Gen1) (in case it's relevant).
OpenXR version 1.7.2. I have double-checked and all my settings are correct, inline with the ones shown in this issue. I can indeed connect with the Microsoft Hololens portal via wifi from my PC.
    com.microsoft.mixedreality.openxr@file:C:\UnityProjects\IndomitusReader\Packages\MixedReality\com.microsoft.mixedreality.openxr-1.7.2.tgz
    com.microsoft.mixedreality.toolkit.examples@file:C:\UnityProjects\IndomitusReader\Packages\MixedReality\com.microsoft.mixedreality.toolkit.examples-2.8.3.tgz
    com.microsoft.mixedreality.toolkit.extensions@file:C:\UnityProjects\IndomitusReader\Packages\MixedReality\com.microsoft.mixedreality.toolkit.extensions-2.8.3.tgz
    com.microsoft.mixedreality.toolkit.foundation@file:C:\UnityProjects\IndomitusReader\Packages\MixedReality\com.microsoft.mixedreality.toolkit.foundation-2.8.3.tgz
    com.microsoft.mixedreality.toolkit.standardassets@file:C:\UnityProjects\IndomitusReader\Packages\MixedReality\com.microsoft.mixedreality.toolkit.standardassets-2.8.3.tgz

So far the logs haven't really cleared why this is happening (or I haven't been able to at least), but this is what I've gathered:
(Filename<EMAIL_ADDRESS>Line: 473)

[XR] [MROpenXR][Info   ][11:20:17.914136][tid:4364] XrViewConfigurationSettings_OnXrSessionCreated SupportedViewConfigType=XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO SupportedReprojectionModesCount=0
[XR] [MROpenXR][Info   ][11:20:17.914205][tid:4364] OnSessionCreated GraphicsAPI=XR_TYPE_GRAPHICS_BINDING_D3D11_KHR sessionCreationResult=XR_SUCCESS AppName=IndomitusReader AppVersion=0.1 AppMode=PlayMode openXRRuntimeName=Microsoft Holographic AppRemoting Runtime openXRRuntimeVersion=2.8.1 APIVersion=1.0.25 PartA_PrivTags=33554432
[XR] [MROpenXR][Info   ][11:20:17.914302][tid:4364] RemoteSpeechProvider_RegisterSpeechProvider
[XR] [17252] [11:20:17.918][Verbose] Ignoring event type<PHONE_NUMBER>
[XR] [MROpenXR][Info   ][11:20:17.918057][tid:4364] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_IDLE
[XR] [17252] [11:20:17.918][Info   ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_UNKNOWN->XR_SESSION_STATE_IDLE session=2 time=684872534245800
[XR] [MROpenXR][Info   ][11:20:17.918714][tid:4364] OpenXRContext_OnEvent_XrEventDataSessionStateChanged EventType=XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED session=2 sessionState=XR_SESSION_STATE_LOSS_PENDING
[XR] [17252] [11:20:17.918][Info   ] OpenXRSession::HandleSessionStateChangedEvent: state XR_SESSION_STATE_IDLE->XR_SESSION_STATE_LOSS_PENDING session=2 time=684872534261800
[AppRemotingSubsystem] Cannot establish a connection to Holographic Remoting Player on the target with IP Address <IP_ADDRESS>:8265.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:LogError (object)


charity details

Added the charitycard , charity details, searchbar, donations, and the open donations components. Added get request method on the charity by Id class in app.py.

The charitycard , charity details, searchbar, donations, and the open donations components are yet to be pushed.


Add send audio support

Thanks for your helpful Unity DF2 agent, I've trying your project and it work like a champ
I just add audio support message hope that help.

Hi! Thank you for this contribution! This is a feature I always wanted to implement, but I never had time to do it. I will add instructions to detect intents from audio and list you into the Contributors file.
Thanks again!


Window Sliding Technique

To find maximum sum of K consecutive elements of an array.
Reference- Window sliding technique
Language Supported

C
CPP
Python
Java
C#
JavaScript
GO

I want to contribute in C and CPP to this issue

I want to contribute in java. Please assign me this issue.

I want to work on this issue in python.

i want to work on this issue in C++

I can do this in C++ and Python
I have read the contribution guidelines
Giving the brief overview of how will i solve it is by using doubly ended queue as each time we have to insert one element in right and delete one element from left.

@imPGupta You can take this issue in C.
Happy Coding!

@shubha028 You can do this in Java.
Get started !

@sukritidawar You can start working on this issue in Python.
Happy coding!

@piyushgoell Assigned in C++
Happy Coding!

@Naman-1234 You can work on this in JavaScript. I am excited to see your approach to this problem.
Happy coding!

@atarax665 review my PR


Clamp isize values returned by signed_difference

Since the difference of two usizes may not fit in an isize, clamp the
values to isize::MIN/MAX when the difference cannot be represented.
Also, be careful to avoid subtracting with overflow when computing the
diff
I couldn't think of a more succinct way to perform a clamping difference,
I'd be happy if there's a way to do it cleaner.

I think you can do:
if a > b {
  isize::try_from(a - b).unwrap_or(isize::MAX)
} else {
  isize::try_from(b - a).map(isize::saturaing_neg).unwrap_or(isize::MIN)
}

It would be a lot nicer with https://github.com/rust-lang/rust/issues/87840, but for now I think you need ^.

Ah, yeah. I think even map(|i| -i) would work, the value will always be positive, so there's no need for saturating_neg, which only acts differently for isize::MIN

Released as 0.1.9 :tada:


Materialize volatile (and some other) sets in binding constructs

Materializing a set of values consists of:

Serializing each of the values in native mode, but with computed
shape fields included.
Then, if the value is possibly multi, aggregating it into an array.

We consider materializing a set of values in two of our core binding
constructs:

WITH statements
ad-hoc computed pointers.
We don't materialize the argument to FOR, because I thought that
FOR's iteration makes it unnecessary. I found some bugs involving
FOR, though, so maybe that is wrong.

We materialize a set in the following cases:

If it is volatile, or uses a bound variable that is volatile
If it appears in a computable and refers to a bound variable.
This is somewhat overly broad, but is intended to allow us to
capture FOR variables inside a shape, and similar patterns.

The materialized sets are computed at the enclosing statement:
at the WITH statement, or at the shape subject expression.
We detect when a materialized set is referenced by its type/ptrcls.
To support this, queries on the pgast side gain some new fields for
tracking materialized (or packed) data. packed_path_rvar_map tracks
what rvars contain materialized data while packed_path_outputs
contains the actual output vars.
The most involved part of this is unpack_rvar, which extracts a set
from a packed rvar. It inspects the type of the set, generates SQL to
unpack it, and populate the current statement with the appropriate
rvars for accessing it and its fields. Materialized links (to
materialized shapes) and multi properties of shapes are placed in
packed rvars of their own.
Generating path_ids for tuple paths and shape paths on the fly, in
pgsql, is at least a little hair-raising. (Some dubious machinery
needed to be added to typeutils for the latter.)
In order to ensure that shapes (and tuples that contain shapes) can be
correctly output or correctly rematerialized, we need to reconstruct
a serialized version when we unpack. Doing this for tuples means we
need to do it for any shapes they contain, which means that unpack
needs to be driven by a recursive traversal of the type.
This also drives a reconstruction of the value of tuples, so that
a tuple containing objects can safely compared for equality and the
like, without inadvertantly comparing materialized shape data.
 There are many cases
where we only use a value once where we will materialize.
(But also cases where we only use values once where we need to.)

We materialize AT_MOST_ONE sets as if they were MANY, serializing
them into an array. This was an implementation expedient; it
shouldn't be too hard to use NULL instead.

Materializing arrays that contain shapes is pretty busted. The
tricky part is that unpacking rvars with shapes works by populating
the current rel with rvars for each of the shape fields. This is
a problem with arrays, because we can't get at those until after
some elimination form has been done on the array, and there are
several of those we'll need to deal with.

As I was doing final cleanups on this PR, I found a big cluster of
bugs involving FOR/tricky uses of WITH (
test_edgeql_volatility_for_like_hard_,
test_edgeql_volatility_for_hard_).
I am fairly concerned about these, but didn't want to delay
getting a PR up for review any longer.

Testing this was a little fiddly, since assert_query_result is pretty
useless when the output is volatile. It was important to test in both
json and native mode (since I had regularly bugs that broke only one
of them!), so I ended up building some of my own infrastructure for that.
This fixes some existing tests (including test_edgeql_scope_tuple_14),
though not as many as I hoped. (I was hoping to get some of the FOR
tests, which I'll hopefully take more of a look at soon.)
Closes #2421.
Co-authored-by: Elvis Pranskevichus<EMAIL_ADDRESS>

Oh, I forgot to measure the performance before I merged it. I'll do that today.

This is huge, Sully. :confetti_ball:


fix bugs

Signed-off-by: John Swanke<EMAIL_ADDRESS>does #stolostron/backlog#19848
does #stolostron/backlog#18550

/test e2e-cluster

/lgtm

Verified that this addresses both bugs. We will need to get a good E2E test run though.

/test e2e-cluster

Verified that this addresses both bugs. We will need to get a good E2E test run though.

Looks like claim timeout

2.4.z stream is still closed

/unhold

/lgtm


Extend AzureResourceManagerTemplateDeploymentV3 Task to include tenant scoped deployment

Question, Bug, or Feature?
Type: Feature
Enter Task Name: AzureResourceManagerTemplateDeploymentV3
list here (V# not needed):
https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/AzureResourceManagerTemplateDeploymentV3
Issue Description
Right now there is no possibility to deploy templates at tenant scope.
see https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/AzureResourceManagerTemplateDeploymentV3/main.ts#L24
Currently this Task supports the following scopes:

Resource Group
Subscription
Management Group

It would be helpful to extend this task to include tenant scoped deployments.

Any consideration took look into this issue?

I am going to ask again: Is there any plans to implement this?


Policy synchronization requests carry agent version and application metadata

期望在多活策略的请求中，携带上Agent的版本，应用名称，实例IP，实例ID，单元，分区，泳道，分区等元数据头，用于管控面查询。
Expect to carry Agent's version, application name, instance IP, instance ID, unit, partition, swimlane, and other metadata headers in requests with multi-active strategy for use in control plane queries.

done


Implement support for shared secret computation (ecdh)

Elliptic curve Diffie-Hellmann is provided in secp256k1 via the ecdh.h api. The rust wrapper provides the functionality here.

Not enough time at the moment. If anyone up for it feel free to tackle the issue.

I would like to try to take this.


fix: text flowing out of unregister entity dialog

Hey, I just made a Pull Request!
The text in UnregisterEntityDialog component was flowing out of the modal, the text was telling about the location of entities which were going to be unregistered.
The text is flowing out in both mobile and desktop.
Screenshots
Before

After

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)

Ping: @stefanalund


ISSUE WITH KAMELET azure-servicebus-source output is message length instead of message

I had below KameletBinding working with Timer source but with Azure ServiceBus.
I was getting a type conversion error
Caused by: org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: com.azure.core.util.BinaryData to the required type: java.io.InputStream
Hence, I added a JSON Serializer in between
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
  name: aws-s3-streaming-upload-sink-binding
spec:
  source:
    ref:
      kind: Kamelet
      apiVersion: camel.apache.org/v1alpha1
      name: azure-servicebus-source
    properties:
      connectionString: Endpoint=<<>>/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=<<>>
      topicOrQueueName: <<>>
      serviceBusReceiveMode: RECEIVE_AND_DELETE
  steps:
  - ref:
      kind: Kamelet
      apiVersion: camel.apache.org/v1alpha1
      name: json-serialize-action
  sink:
    ref:
      kind: Kamelet
      apiVersion: camel.apache.org/v1alpha1
      name: aws-s3-streaming-upload-sink
    properties:
      bucketNameOrArn: arn:aws:s3:::<<>>
      keyName: timer-source
      region: ap-south-1
      accessKey: <<>>
      secretKey: <<>>
      batchMessageNumber: 5

Now the PROBLEM is that instead of capturing data it's capturing length of the message
{"length":54}{"length":54}{"length":54}{"length":54}{"length":54}
How to fix this?
Do I need to configure the azure-servicebus-source Kamelet to make it output String/JSON? Is it reasonable to configure the Kamelet or should I copy and configure that one?

What you get in the body are binary data: https://docs.microsoft.com/en-us/java/api/com.azure.messaging.servicebus.servicebusreceivedmessage.getbody?view=azure-java-stable#com-azure-messaging-servicebus-servicebusreceivedmessage-getbody()
So the behavior is correct if you try to serialize it through json-serialize action

Feel free to re-open or ask again.

@oscerd  Hi Andrea
But I do have the json-serialize-action defined between the source and sink. Is it not the correct way? Please check the yaml given in my original post


Add RKE2 boostrap provider to e2e

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes https://github.com/rancher-sandbox/rancher-turtles/issues/104
Special notes for your reviewer:
Checklist:

[ ] squashed commits into logical changes
[ ] includes documentation
[ ] adds unit tests
[ ] adds or updates e2e tests

Looks like this needs a rebase.

@alexander-demicev beta release of CAPI is out https://github.com/kubernetes-sigs/cluster-api/releases/tag/v1.7.0-beta.0, let's rebase this and get going?

closing in favor of https://github.com/rancher/turtles/pull/177


TextAlign.justify is not working

Steps to Reproduce
use widget like :
Text(
  'Flutter是谷歌的移动UI框架，可以快速在iOS和Android上构建高质量的原生用户界面。 Flutter可以与现有的代码一起工作。在全世界，Flutter正在被越来越多的开发者和组织使用，并且Flutter是完全免费、开源的。',
  textAlign: TextAlign.justify,
)

Logs
[✓] Flutter (Channel master, v1.12.6-pre.13, on Mac OS X 10.15 19A603, locale zh-Hans-CN)
    • Flutter version 1.12.6-pre.13 at /Users/caigou/development/flutter
    • Framework revision 0b502b1f8b (23 hours ago), 2019-11-20 22:11:51 -0500
    • Engine revision 7a77e3625d
    • Dart version 2.7.0

Hi @Cyer
I see there's an open issue addressing the case you described.
Please follow up on that issue,
I'm closing the current one as duplicate.
If you disagree please write in the comments
and I will reopen it.
Thank you


Machine mac-4 lost external connection from iPhone device.

Machine mac-4 lost external connection from iPhone device.

The external connection has been restored by rebooting mac-4.


Tag a release

Hello! I have .deb and homebrew building off my PR https://github.com/pieter3d/simview/pull/16
One blocker is that this project does not currently have a version scheme that we can use on these platforms. Would you consider tagging a version (I'm happy to incorporate this information into the library itself to be displayed with -V or whatever).

Sure! Does a v0.1 tag work for the repo in its current state?

Sure! Does a v0.1 tag work for the repo in its current state?

I'd say any tag is good for now just to get started, but for homebrew I will most likely need that PR.

https://github.com/pieter3d/simview/releases/tag/v0.1


Support react v17 and v18

Update the peerDependencies to support react v17 and v18.
v17 works for use without problems. didn't test for v18

Tested it quickly with react v18.2 (using --force to install) and my graph seems to display fine.

It did not work fine for React 18
#565


NO MP4 file format possible

I installed version 0.4 on UBUNTU 18.04 from the original repro.
I like to have my downloads in .mp4 file format! However, this is NOT possible at all!
The download will be in .mp4 , webm and mkv format and the first two fileformart will be erased,
only .mkv ist still available in the download directory!
I am sorry, this software does not a GOOD job at ALL!
Best regards, hitam4450

Could you provide the command which is being run?

Simply right-click on the downloaded video, and click on the entry 'Get command'.
The youtube-dl command line will be simply copied to your clipboard.


object_store(aws): percent encoding test fails with latest localstack

Describe the bug
When testing with the latest localstack (1.0 and onward), we get this failure from S3 tests:
---- aws::tests::s3_test stdout ----
thread 'aws::tests::s3_test' panicked at 'assertion failed: `(left == right)`
  left: `[Path { raw: "a/b/c/foo.file" }]`,
 right: `[Path { raw: "a/b%2Fc/foo.file" }]`', object_store/src/lib.rs:638:9

failures:
    aws::credential::tests::test_instance_metadata
    aws::tests::s3_test

Not sure yet if this is a bug in localstack, or our implementation.
To Reproduce

Expected behavior

Additional context

This is an issue upstream: https://github.com/localstack/localstack/issues/7374


Fixed issue #391: replace data field with download icon

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/kind api-change
/kind backend-change
/kind ui-change
kind bug
/kind cleanup
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

What this PR does / why we need it:
Which issue(s) this PR fixes: #391

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Need to double check which data should be downloaded by user

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


how to install

hello,
I downloaded the iso to test but dont see any option to install minitena. How to install or invoke installer from terminal?

dead project

@drmarwat look https://januslinux.github.io

@nee-san are you the developer of this distribution... https://januslinux.github.io ? I will test it but do not see much of documentation about it .

I will add documentation soon. Maybe today
On Mon, Mar 18, 2019, 9:45 PM Saleem Khan Marwat<EMAIL_ADDRESS>wrote:

@nee-san https://github.com/nee-san are you the developer of this
distribution... https://januslinux.github.io ? I will test it but do not
see much of documentation about it .
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/minitena/sde/issues/7#issuecomment-474051061, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AtGtEfwys7E-jpdLdxYOrUxBYzrOqfaDks5vX961gaJpZM4aCMBp
.


Replication example with persistent storage

The replication example for MongoDB should use persistent storage (Trello card).
This is an attempt to bring the conversation from https://github.com/openshift/origin/issues/4211#issuecomment-158940707 closer to where it is to be implemented.

@wattsteve @bparees @deanpeterson I'm bringing the conversation about how to best implement replication for MongoDB in containers to this spot.

[...] obviously this means the mongo replica example needs to setup replicated shards to ensure that data is not lost if a single pod fails.

@bparees, to some extent, isn't a redeploy equivalent to all pods failing in a short time frame? So it is not enough to tolerate losing a pod (with it's data replicated elsewhere), but, for what I can imagine, we need to have persistent storage for at least one replica of each shard from which we could bring all shards back on after a new deployment is rolled.

its looking like the best way to do this for now, is to not use RCs, and have curated pods that use NodeSelectors, so they are scheduled on hosts that have the right storage available.

@wattsteve, scaling up is one of the things an RC can give, but we don't really need to use that. The other aspect of having an RC is that it can work as a "supervisor" that will make sure the pods that should be running are running.
I wrote a brief note about that in the trello card for this feature. IMHO instead of deploying pods by themselves we should use OpenShift DeploymentConfigs with replicas=1 -- that's what we do in other places, like the examples we have for MySQL and PostgreSQL in which we have a single master in a DC with replicas=1.
The problem with that approach is that there's no obvious way to "synchronize" the multiple DCs to run the logic we have currently to setup the MongoDB Replica Set. The current example uses a DC post-deploy hook that will fire a run-once pod that wires together the replica set members.
I heard an idea from @mfojtik to use e.g. etcd (in yet another pod/DC) to keep the replica set info and use that to keep any and every running MongoDB replica set member configured.
Things I'd like to see in the replication example:

Resilience to single pod failure with automatic rescheduling
Passwords (admin & app user) can be changed via OpenShift/DeploymentConfig
Redeployment at any time without data loss
Usage of faster local storage wherever possible
The example should be fully automated (via OpenShift templates), and not require users to do more than oc new-app mongo-clustered.json (given that some requirements are met, like the existence of suitable PVs or any other form of required storage)

Note that we don't have sharding involved in the example.

@bparees, to some extent, isn't a redeploy equivalent to all pods failing in a short time frame? So it is not enough to tolerate losing a pod (with it's data replicated elsewhere), but, for what I can imagine, we need to have persistent storage for at least one replica of each shard from which we could bring all shards back on after a new deployment is rolled.

that's a deployment strategy problem.  we have a rolling deployment which should be doing 1:1 replacements of pods so that it does not take the entire cluster down simultaneously.

If we'll rely on rolling deployment, then we need a readiness probe or the like, to be able to wait until the replacement has joined the replica set before shutting down the next pod.

If we'll rely on rolling deployment, then we need a readiness probe or the like, to be able to wait until the replacement has joined the replica set before shutting down the next pod.

sure.  but that's just using the platform the way it's designed to be used.  (strictly speaking you also need to wait for the new member to have completed replicating/catching up.  not sure if mongo makes that distinction clear or not)

AFAIK, depending on oplog size and # writes/sec, we can get to a point where it is impossible to fire up a new replica.
Not sure if I recall the working details correctly, but a replica starting from scratch would need to 1) do a full sync of existing data; plus 2) sync all data from when 1 started up till "now" (that needs to come from the oplog). If the oldest entry in the oplog is older than when the full sync started, replication fails.
In this kind of scenario, an online replication is impossible, or at least it used to be in the past. I heard this from MongoDB engineers several years ago in one of their events.

At the end of the day, the solution to these problems is "disable automatic deployments and use a controlled process to roll out a new deployment, possibly including quiescing traffic".

@rhcarvalho I acknowledge and agree with your point on the fact that RCs can provide a Singleton pattern when there is only one replica whereas standalone pods do not offer that.
To your other point about needing "persistent storage for at least one replica of each shard". I think that depends on the size of the Mongo cluster and how many replicas there are. If you have 10 ephemeral (EmptyDir) replicas for each shard, with each shard on an independent server (i.e. a large cluster) then perhaps you have enough replicas to be safe, whereas if you have a small cluster and can only manage 1 or 2 replicas for each shard then one of those should probably be persistent. I think eventually, it would be good for us to provide the option to tune things like this.
If we are going to use an RC for this, we need a way to ensure that there is never more than a single MongoDB pod on each server. This is because we would introduce a new failure domain if we have two pods on the same server and the pod is providing a shard replica for the other.

pls take into consideration that mongodb 3.2 changes the default storage engine to wiredtiger: https://docs.mongodb.org/manual/core/wiredtiger/

This issue is blocked on having PetSets in Kubernetes https://github.com/kubernetes/kubernetes/pull/18016 in order to have a single Deployment Config and independent storage for replicated pods.
A known workaround for having persistent storage with replication today is to use multiple DCs and never scale up.

https://github.com/sclorg/mongodb-container/pull/206 implementing this feature was merged. So closing this issue.


Account for Multi Monitor Setups (Was expanding the app across all three screens)

Bug - Multi Monitor setup had the application expanding 3 monitors
Fix - Account for a multi monitor setup (My coding in powershell is rough but it does work and tested multiple times)

Hello, thanks for the contribution.
I need to state 2 things, sorry for the incovenience.

This is sending to the main branch, there's a develop branch just for that (CONTRIBUTING.md).
The file which should be modified to get the resolution is a self-made lib, here.

Based on your idea, i think i got a definitive solution (i'll test today), thanks, and sorry cause i'll close your PR. I'll try to make you the co-author.

You can test on development branch now

@LeDragoX Whoops my bad, wasn't really paying attention and it was meant as a headstart for you, barely tinker with powershell but it seems you got it figured out and merged, have a good one glad I could help!

You can test on development branch now

That doesn't seem to work btw, the changes you did.
It seems to be an issue with Get-CurrentResolution which is why I changed it to Get-WmiObject -Class Win32_DesktopMonitor | ForEach-Object {$_.ScreenWidth, $_.ScreenHeight}
Btw I have 3 monitors, Left and right at 32in LG 4ks and middle is Asus 27in 2k Gaming Monitor @LeDragoX

This is what i did to get the correct resolution @MattRay0295.
There are 2 methods:

One which happens with only 1 monitor;
On the Else statement, when detects more than 1 monitor, or "none"

So it should take the screen with lower resolution as a parameter and use it.

You can look at this file /src/lib/ui-helper.psm1
    $NumberOfScreens = (Get-CimInstance -Class "Win32_VideoController" | ForEach-Object { "$_" }).Count
    $ScreenWidth = $null
    $ScreenHeight = $null

    If ($NumberOfScreens -eq 1) {
        # Accepts Scaling/DPI
        [System.Windows.Forms.SystemInformation]::VirtualScreen | ForEach-Object {
            If (!$ScreenWidth -or !$ScreenHeight) {
                $ScreenWidth = $_.Width
                $ScreenHeight = $_.Height
            }

            If (($_.Width) -and ($_.Width -le $ScreenWidth)) {
                $ScreenWidth = $_.Width
                $ScreenHeight = $_.Height
            }
        }
    } Else {
        # Doesn't accepts Scaling/DPI (rollback method)
        Get-CimInstance -Class "Win32_VideoController" | ForEach-Object {
            If (!$ScreenWidth -or !$ScreenHeight) {
                $ScreenWidth = $_.CurrentHorizontalResolution
                $ScreenHeight = $_.CurrentVerticalResolution
            }

            If (($_.CurrentHorizontalResolution) -and ($_.CurrentHorizontalResolution -le $ScreenWidth)) {
                $ScreenWidth = $_.CurrentHorizontalResolution
                $ScreenHeight = $_.CurrentVerticalResolution
            }
        }
    }


Issue69 durack1 automate ESGF scrape

Description
There is a need to automate the querying of the ESGF input4MIPs index, this code queries the index, but needs to be automated on a cronjob to remove an additional manual test
Checklist
Please confirm that this pull request has done the following:

[ ] Documentation added (where applicable)
[x] Changelog item added to changelog/

@znichollscr once this is merged, I'll sync my /p side git repo and the cron should be in place


Rule list

Codecov Report

Merging #1187 into master will decrease coverage by -23.09%.
The diff coverage is 48.45%.

@@             Coverage Diff             @@
##           master    #1187       +/-   ##
===========================================
- Coverage   72.72%   49.64%   -23.09%
===========================================
  Files          12       52       +40
  Lines          66      421      +355
===========================================
+ Hits           48      209      +161
- Misses         18      212      +194

Impacted Files
Coverage Δ

src/routes/index.js
100% <ø> (ø)
:white_check_mark:

src/routes/Rules/containers/PaginationContainer.js
100% <100%> (ø)

...utes/Rules/routes/Rule/containers/RuleContainer.js
100% <100%> (ø)

src/components/Header/Header.js
100% <100%> (ø)
:white_check_mark:

...es/Rules/routes/Rule/containers/ReviewContainer.js
100% <100%> (ø)

src/layouts/CoreLayout/CoreLayout.js
100% <100%> (ø)
:white_check_mark:

...utes/Rule/containers/DimensionSelectorContainer.js
100% <100%> (ø)

...outes/Rules/containers/RuleDescriptionContainer.js
100% <100%> (ø)

src/store/createStore.js
60% <100%> (ø)
:white_check_mark:

src/store/location.js
100% <100%> (ø)
:white_check_mark:

... and 84 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 fd16e16...b3e382b. Read the comment docs.


Tests fail with async

Not completely sure this is an issue of this repo, could be a jest's one. I'm reporting it here because it could be a configuration problem.
Description
Running npm test fails when using async/await.
Expected behavior
The test runs
Actual behavior
I receive an error:
  ● Test suite failed to run

    /src/merchants.js: Expected type "Expression" with option {}

      at Object.t.(anonymous function) [as assertExpression] (node_modules/babel-types/lib/index.js:362:13)
      at Array.forEach (native)

Environment
Run these commands in the project folder and fill in their results:

npm ls react-scripts: v0.8.1

node -v: v6.9.1

npm -v: v3.10.8

Operating system: Fedora 24

Browser and version: --

Reproducible Demo
Just a new "cra" project, with an async/await function tested.
I have a demonstration here, just git clone, npm install and npm test.

The problem seems to be caused by some interaction between the return value of an awaited function and destructuring it.
E.g.:
const getId = async () => {
  const p = await dispatch(42)
  return p.id
}

works, while
const getId = async () => {
  const { id } = await dispatch(42)
  return id
}

or
const getId = async () => {
  const p = await dispatch(42)
  const { id } = p
  return id
}

don't work.

In facts, tapping into node_modules/babel-generator/lib/buffer.js and casting the argument str to a String, I get an error that looks like:
var p, null;return _regenerator2.default.wrap
       ^^^^

Did it work before?

Yes, we're migrating a project from v0.6.1 to the latest

I'm getting a lot of "strange" errors.
Another one, for example, is that while using immutable, this won't work anymore:
const { Record } = require("immutable")

const User = new Record({ id: NaN })
new User({ id: 42 })

while it worked before (and works now, same version).

I was able to fix all the errors by reintroducing babel-preset-react in the test env, so it might be some misconfiguration of babel-preset-env?

Also removing { targets: { node: 'current' } }, without reintroducing babel-preset-latest seems to make the deed.

Can you try:

Keeping -env usage like in master
But also reverting https://github.com/facebookincubator/create-react-app/pull/927

?

If you mean like this:
// ...

const plugins = [

// ...

    // Polyfills the runtime needed for async/await and generators
    [require.resolve('babel-plugin-transform-runtime'), {
      helpers: false,
      polyfill: false,
      regenerator: true,
      // Resolve the Babel runtime relative to the config.
      moduleName: path.dirname(require.resolve('babel-runtime/package'))
    }],
    // The following two plugins are currently necessary to get
    // babel-preset-env to work with rest/spread. More info here:
    // https://github.com/babel/babel-preset-env#caveats
    // https://github.com/babel/babel/issues/4074
    // const { a, ...z } = obj;
    require.resolve('babel-plugin-transform-es2015-destructuring'),
    // const fn = ({ a, ...otherProps }) => otherProps;
    require.resolve('babel-plugin-transform-es2015-parameters')
  ];

// ...

if (env === 'test') {
  module.exports = {
    presets: [
      // ES features necessary for user's Node version
      [require('babel-preset-env').default, {
        targets: {
          node: 'current',
        },
      }],

// ...

no, unfortunately it doesn't work (I always double-check it by reintroducing babel-preset-latest at the end)

@hzoo Any ideas?

Thanks for your help debugging this.

No worries ^_^
Apparently what I need are:

transform-es2015-arrow-functions

unknown Expression of type "ArrowFunctionExpression"

transform-es2015-destructuring

Expected type "Expression" with option {}

transform-es2015-parameters

var addIndex = function addIndex({ index, ...routes } = {}, base)
                                          ^^^
    SyntaxError: Unexpected token ...

so yeah, the two you were saying before, plus () => {}.
Although we use es6+ a lot, and we have approx 230 unit tests, I have to say that these could be only our needs, and others might need more plugins..

So these are likely Babel bugs about hidden plugin dependencies? Can you reduce each to an isolated Babel bug report?

Either that, or some bug in babel-plugin-env, I'm going to investigate further tomorrow.
In either case should I make a PR reverting to using babel-plugin-latest for the moment?

I won't be able to cut a release today anyway so might as well wait for more details (or investigate myself tomorrow if I get there first). Once we know more we'll decide and cut a release.

Seems reasonable

@EnoahNetzach I'll try and take a look at this later tonight as well

It seems that babel-plugin-transform-regenerator tries to assert that an ObjectPattern is of type Expression.
I think that definitely we should ask help from @kittens?

btw, this seems to be already issued on babel, maybe I'll continue the conversation there.

Is this issue underlying for all the problems listed here?

Not entirely sure, I checked only transform-es2015-destructuring for now

I'm closing this issue in favor to #1156


is there a fontsDir equivalent?

I am migrating from compass to sass because the ruby config is a pain in the ...
mainly because I want to run the grunt command during deploy from my local machine using capistrano.
Anyway I trouble migrating from compass to sass.
Is there an equivalent for fontsDir options to replace the font-url mixin automatically.
my compass task looks like this
compass: {
      options: {
        sassDir: '<%= yeoman.app %>/styles',
        cssDir: '<%= yeoman.tmp %>/styles',
        generatedImagesDir: '<%= yeoman.tmp %>/assets/generated',
        imagesDir: '<%= yeoman.tmp %>/assets',
        javascriptsDir: '<%= yeoman.tmp %>/scripts',
        fontsDir: '<%= yeoman.tmp %>/fonts',
        importPath: './bower_components',
        //The full http path to images on the web server.
        //this allow Compass URL Helpers like image-url, font-url to generate the proper url
        httpImagesPath: '/assets',
        httpGeneratedImagesPath: '/assets/generated',
        httpFontsPath: '/assets',
        relativeAssets: false,
        assetCacheBuster: false,
        raw: 'Sass::Script::Number.precision = 10\n'
      },
      dist: {
        options: {
          debugInfo: false,
          generatedImagesDir: '<%= yeoman.dist %>/assets/'
        }
      },
      server: {
        options: {
          debugInfo: true
        }
      }
    },

Hi, I think you might want to check out https://github.com/sass-eyeglass/eyeglass, brought to the node-sass world by the creators of Compass.node-sass does not deal with assets at all, it just translates Sass to CSS.

We will not be adding url helpers to node-sass. There is great tooling in the npm ecosystem for rewriting urls.


just available in pytroch？

I have two questions
0、is the Tresnet just available in pytorch?
1、can you offer us more motivation of the spaceTodepth ?

no
see here

no
see here

thanks for  your reply.  i have read the history discussion before;  i am still a little confused about the spaceToDepth;
I have read the paper "Isometrics Net" ; you just use the S2D block in the Stem part  instead of using the Isometrics Net?
In your paper , the table4. Ablation study.  the line 2: add_Stem_space_2_depth: top1 just increasing the 0.1% does it make sense in the model? Reasonable fluctuation？

@zj19921221
your first message was not well articulated, to say the least.
naming an issue "just available in pytroch？" is unacceptable.
it is not informative, and does not contain needed conjunctions.
in your issue, you didn't provide a minimal introduction, nor ended with a minimal politeness ("thanks")
i strongly suggest reviewing other issues in this forum (and in general in GitHub), and try
to improve your phrasing.
only when this will be edited and improved, i will further address your (valid) technical issues.


adding this package leads to

Environment
Packages
symfony 4.4 application
$ composer show --latest
---snip---
sonata-project/block-bundle             4.7.0            4.7.0            Symfony SonataBlockBundle
sonata-project/cache                    2.2.0            2.2.0            Cache library
sonata-project/doctrine-extensions      1.14.0           1.14.0           Doctrine2 behavioral extensions
sonata-project/form-extensions          1.11.0           1.11.0           Symfony form extensions
sonata-project/twig-extensions          1.9.0            1.9.0            Sonata twig extensions
---snip---

PHP version
$ php -v
7.4

Subject
adding this package to me previously working project leads to an error  (directly after installing it with composer, while cache:clear is called).
Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!
!!  In CheckExceptionOnInvalidReferenceBehaviorPass.php line 86:
!!
!!     The service "sonata.twig.template_extension" has a dependency on a non-existent service "sonata.doctrine.model.adapter.chain".
!!
!!
!!
Script @auto-scripts was called via post-update-cmd

also tried to completly delete the cache folder.

Should be fixed with https://github.com/sonata-project/SonataBlockBundle/pull/958


Fixes link

Adds path to source file.

@lysannep : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Verified the link fix; merging. Thanks @lysannep


Database is slow for packet/frame data?

Is this a bug or a feature request?
Bug
What did you expect?
I was expecting the database to load a little bit faster...
What happened?
The database is taking several minutes to load data. The client is having issues with RestfulAPI responses, and the admin interface takes about 2 minutes to reveal Frame Logs.
What version are your using?
0.12.0
How can your issue be reproduced?
I make Restful API requests for Frame Data.
I use the Admin page for Frame Data.
Could you share your log output?
I will if requested and commands are specified! :)
Also I guess a feature request is on my mind:
If it's possibly due to too many packets in the database, is there a way to purge older data?

@PhatHub the next version will not keep a time limited cap. Instead nothing will be stored to the database anymore, but you will be able to live-stream the frames sent / received by your device or gateway from the UI.

@PhatHub I'm currently releasing a new version of LoRa Server and LoRa App Server with the new streaming frame-logging. You should keep the frame_log table in your LoRa Server database, but you can truncate it. Functionally it won't be used anymore, but please don't remove it as I'll remove this table programmatically in the next release :-)
Potentially this could free up a lot of resources on your server.

The new frame-logging feature has been released and data is not stored in the DB anymore.

Okay, sounds good. I'll check it out.


Security should enforce only one active user at a time

Added a simple login page, and a cookie mechanism. The auth cookie is disabled as soon as anyone else logs in, so only one person can use it at a time.
If suddenly you get logged out, but someone is still typing, probably you should just unplug the pi. Quickly.


Broken Link from github

Which part of the repository is your change request related to?
Link from gitbook to github is broken. We have to fix it.
Please describe which content you would expect here and tell us how to solve this request
In the gitbook there is on the right a link "Edit on github" This leads to a wrong page, here https://github.com/Arian-IDSA/idsa/blob/main/README.md
I would expect to get directed to the IDSA repo directly to work on it.
Can you already provide any alternative (or updated) content that can/should replace the existing content?
Use the link https://github.com/International-Data-Spaces-Association/idsa/blob/main/how-to-build-data-spaces/README.md
Additional notes
No additional notes

@anilturkmayali do we need to operate on a fork? Can't we use the main branch from this repo directly?

@ssteinbuss yes we can connect it to the main branch. Will do it and ensure that it doesn't affect anything badly.

@ssteinbuss Corrected. Now we have a branch called docs.internationaldataspaces.org that is fully synced with the content on Gitbook. Whenever you click on the content on Gitbook, you are directly taken into that branch on Github.


Update to 1.5.2, move to Core Lightning (CLN) labels

Closing in favor of https://github.com/Start9Labs/btcpayserver-wrapper/pull/28


Display name of Patient marital status is not supported

The only API methods available for setting the MaritalStatus of a Patient are setMaritalStatus(MaritalStatusCodesEnum) and setMaritalStatus(BoundCodeableConceptDt<MaritalStatusCodesEnum>).
Nether of these methods supports addition of the <display> element that can be added to a <coding> element. The XML I am looking to generate is as follows:
<maritalStatus>
    <coding>
        <system value="http://hl7.org/fhir/v3/MaritalStatus"/>
        <code value="M"/>
        <display value="Married"/>
    </coding>
</maritalStatus>

Hi Jackson,
You can actually add additional content to the CodeableConcept.conding value after setting it using the enum if you need to. After reviewing the documentation on our site, I would say it's pretty weak in this area so I've spent a bit of time beefing it up. Here's a sample showing exactly what you're trying to do (pulled from the rewritten documentation).
  // Set the CodeableConcept's first coding to use the code
  // and codesystem associated with the M value.
  patient.setMaritalStatus(MaritalStatusCodesEnum.M);

  // If you need to set other fields (such as the display name) after
  // using the Enum type, you may still do so.
  patient.getMaritalStatus().getCodingFirstRep().setDisplay("Married");
  patient.getMaritalStatus().getCodingFirstRep().setPrimary(true);
  patient.getMaritalStatus().getCodingFirstRep().setVersion("1.0");

Ahh my apologies, had not spotted that one! Thanks for your assistance, can definitely close this one off now given it's entirely possible.


tests: add tests for unseen http midstream traffic

Rebase #1051 after Suricata PR was merged

Merged in #1174, thanks!


Viewport is too tall before initial focus in Chrome Incognito Mobile

Main element goes beyond height of viewport until tab/window is touched. This doesn't always happen, but touching always fixing it.

I have yet to figure this out. If I open Chrome Incoginto, some of the time the height is wrong. If I click anywhere it triggers resize and changes the height. Seems like a Chrome bug but I can't confirm.
Tested this values on my S21 and it's 1021px before clicking, 718px after.
const { height: computedDocumentHeight } =
    document.documentElement.getBoundingClientRect();
const { height: computedDesktopHeight } =
    desktopRef.current.getBoundingClientRect();

setDimensions({
    computedDesktopHeight,
    computedDocumentHeight,
    desktopClientHeight: desktopRef.current.clientHeight,
    documentClientHeight: document.documentElement.clientHeight,
    innerHeight: window.innerHeight,
    offsetHeight: desktopRef.current.offsetHeight,
    outerHeight: window.outerHeight,
    screenHeight: window.screen.height,
    scrollHeight: desktopRef.current.scrollHeight,
    visualViewportHeight: window.visualViewport?.height || 0,
});

This issue happens with a fresh Next.js app and doesn't happen with Twitters homepage footer. So perhaps Next.js is part of the issue.

Made an issue on Next.js as I can't think what else it is atm. https://github.com/vercel/next.js/issues/47839

Finally think I figured out a fix. I didn't figure out why the height changes the way it does on mobile, but I fixed it anyway.
https://github.com/DustinBrett/daedalOS/commit/7667dd1d28c3948e16328b0f3374aadb3f90ca2b

Yet more specificness. https://github.com/DustinBrett/daedalOS/commit/4bc4b1ea5a7a7d9d72bf31adb7873461cad62b69
I think this fix is jank but I will try and target it to Android Chrome for now until I figure out a better solution. This is a bug imo in the browser so it lies to me and makes it hard to detect a real case of it occuring.

Ok yet another fix to get it working on prod builds. I think it worked before because of the double triggering useEffect's on strict React dev.
https://github.com/DustinBrett/daedalOS/commit/7c195118f6e11029db85c74d8172e3d0b2fbd9db

Hi, i've stumbled across this answer that I think you might be interested in.

Hi, i've stumbled across this answer that I think you might be interested in.

Thanks for this info. Interestingly I got another comment about this bug today, after a year of it being closed.
https://github.com/vercel/next.js/discussions/63724
I will look into changing my solution possibly, but at the moment I was able to finally fix it most of the time.


Presto should be upgraded to use Parquet 1.6

Presto is currently using Parquet 1.3.2, a bit old. It would be nice if Presto is upgraded to use Parquet 1.6, which is recently released.

+1 for this one even if ORC is more fast currently.

+1
in Parquet 1.3.2, stats is not available, 1.6.0 opens the oppotunity to use stats to filter out row group and column chunks, just as how the new ORC reader is doing

Can one of you that uses Parquet sent a pull request?

Shall the shaded jars be updated? I send a PR there:
https://github.com/prestodb/presto-hive-apache/pull/13

Merged #2926