Panic occurs when a query is submitted which does not access any subfields.

When making a query as such: query='{__schema { types { name }}}', you get the expected response:
{
    "data": {
        "__schema": {
            "types": [
                {
                    "name": "Boolean"
                },
                ...
            ]
        }
    }
}

Same with a query like: query='{__schema {}}', you get the expected response:
{
    "data": {
        "__schema": { }
    }
}

However, if you leave off the {} after __schema like so: query='{__schema}', you get a runtime panic:
graphql: panic occurred: runtime error: invalid memory address or nil pointer dereference
 goroutine 109 [running]:
 <vendor>/github.com/neelance/graphql-go/internal/exec.(*request).handlePanic(0xc420276d40)
 	<vendor>/github.com/neelance/graphql-go/internal/exec/exec.go:341 +0x123
 panic(0x98cae0, 0xd779a0)
 	/usr/local/go/src/runtime/panic.go:489 +0x2cf
 <vendor>/github.com/neelance/graphql-go/internal/exec.(*objectExec).execSelectionSet(0xc420142f30, 0xd51820, 0xc42027b6e0, 0xc420276d40, 0x0, 0x9c6500, 0xc4202a02d0, 0x16, 0xc420)
 	<vendor>/github.com/neelance/graphql-go/internal/exec/exec.go:475 +0x64
 <vendor>/github.com/neelance/graphql-go/internal/exec.(*objectExec).exec(0xc420142f30, 0xd51820, 0xc42027b6e0, 0xc420276d40, 0x0, 0x9c6500, 0xc4202a02d0, 0x16, 0x0, 0xc4202affb8
 	<vendor>/github.com/neelance/graphql-go/internal/exec/exec.go:469 +0x250
 <vendor>/github.com/neelance/graphql-go/internal/exec.introspectSchema(0xd51820, 0xc42027b6e0, 0xc420276d40, 0x0, 0x1, 0xa6d501)
 	<vendor>/github.com/neelance/graphql-go/internal/exec/introspection.go:42 +0xe3
 <vendor>/github.com/neelance/graphql-go/internal/exec.(*objectExec).execField(0xc4202585a0, 0xd51820, 0xc42027b6e0, 0xc420276d40, 0xc420276cc0, 0x98e4c0, 0xc42000f480, 0x16, 0xc
 	<vendor>/github.com/neelance/graphql-go/internal/exec/exec.go:552 +0xbec
 <vendor>/github.com/neelance/graphql-go/internal/exec.(*objectExec).execSelectionSet.func2()
 	<vendor>/github.com/neelance/graphql-go/internal/exec/exec.go:498 +0x72
 <vendor>/github.com/neelance/graphql-go/internal/exec.(*objectExec).execSelectionSet.func1.1(0xc4202755f0, 0xc420276d40, 0xc4202a6870)
 	<vendor>/github.com/neelance/graphql-go/internal/exec/exec.go:487 +0x77
 created by <vendor>/github.com/neelance/graphql-go/internal/exec.(*objectExec).execSelectionSet.func1
 	<vendor>/github.com/neelance/graphql-go/internal/exec/exec.go:488 +0xce

I will be hacking on resolving this issue, as I need it to work properly for my API.

This and several other query validation rules have been implemented now. Please tell me if you see any other such issues.


adopt: fix ceph_origin and ceph_repository defaults

This is overriding those variables because the precedence at the 'block
var' level is greater than the group_vars/host_vars.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2026861
Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>

jenkins test centos-container-cephadm_adopt


[char-rnn] Fixed RuntimeErrors when training locally

Fixed

"RuntimeError: Expected object of type torch.cuda.LongTensor but found type torch.cuda.IntTensor for argument #2 'target'"

when running the notebook in a local GPU, and

"RuntimeError: Expected object of type torch.LongTensor but found type torch.IntTensor for argument #2 'target'"

when training with CPU.
Edit: I thought this happens only in torch-GPU. It turns out that this problem also occurs when using  CPU. I made extra commits to fix it for both options (CPU and GPU training)

I believe this was reported on #73 and addressed on #82.


Variation test generation - generate unhappy maximum variation

If the OpenAPI has a maximum field defined, Portman could generate a request body which would be higher than the defined maximum for the field, which should result in a "unhappy result.
type: object
required:
- name
properties:
  age:
    type: integer
    format: int32
    maximum: 90

The generated variation, request body would look like:
{
  "age": 91
}

We have brought the automatic generation of "unhappy" variations in the 1.10.0 release.
Portman will use the concept of Fuzzing to change the request inputs by changing the request inputs (body, query params, ... ) to unexpected values based on the OpenAPI request properties. For each fuzzing variation, a new Postman request will be generated, for which you optionally can add contract tests, assign variables, overwrite inputs, ...
Have a look at the example: https://github.com/apideck-libraries/portman/tree/main/examples/testsuite-fuzzing-tests


add descriptions top the package listing

right now, unless you're already familiar with an app, there's no way to tell what an app is

I'm going to roll this into #108


feature/2811 add buttons to filters view on mobile

Related issues
closes #2811
Short description and why it's useful
It adds filter button and fixes styles in clear filters
Screenshots of visual changes before/after (if there are any)

Which environment this relates to

[x ] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[ ] I've updated the Upgrade notes and Changelog on how to port existing VS sites with this new feature

Contribution and currently important rules acceptance

[x ] I read and followed contribution rules
[x ] I read the TypeScript Action Plan and adjusted my PR according to it
[x ] I read about Vue Storefront Modules and I am aware that every new feature should be a module

Please do update the Changelog

@pkarw Added

320px

768px

780px

1030px

1200px

Teraz trzyma się krańca prawej strony tego containera, chyba że byśmy starali się wyrównać np. z kolorami i rozmiarem, ale trzeba mieć na uwadze, że nie zawsze jest np. tyle kolorów by wypełnić jeden row do końca. Co o tym myślisz @patzick ?

@patzick, @alinadivante I'm really not sure about this change. On the current demo, the "Clear filters" button look & feel is consistent with all the other buttons and Call to Actions (https://www.dropbox.com/s/41xvq33m9ok4fuq/Screenshot 2019-05-29 10.14.14.png?dl=0).
Why we changed it to kind of label? It doesn't look like clickable element + introduced another vertical span to the design on mobile.
Moreover, I guess the "Filter" button which is non visible on mobile view - should rather stick to the bottom all the time: https://www.dropbox.com/s/uc7ohhnoxnfhukb/Screenshot 2019-05-29 10.17.12.png?dl=0
@alinadivante can You please create an issue for that and make sure it'll be fixed?

@pkarw , @965750 will create new PR and it will be fixed


pip metadata problem in 0.2.0? (downgrades install to 0.1.0)

Expected Behavior
Using python -m pip install gpt-engineer should install version 0.2.0 by now.
Current Behavior
pip seems to reject 0.2.0 (as the package metadata is "0.0.0"???) and installs 0.1.0 instead.
Failure Information
Running the below pip command shows a message:
Discarding https://files.pythonhosted.org/packages/17/d3/adbca4a7f982636fc8a57f41bd174105f5b78b557749fc1e5d19d6f89dea/gpt_engineer-0.2.0.tar.gz (from https://pypi.org/simple/gpt-engineer/) (requires-python:>=3.8.1,<3.12): Requested gpt-engineer from https://files.pythonhosted.org/packages/17/d3/adbca4a7f982636fc8a57f41bd174105f5b78b557749fc1e5d19d6f89dea/gpt_engineer-0.2.0.tar.gz has inconsistent version: expected '0.2.0', but metadata has '0.0.0'
  Downloading gpt_engineer-0.1.0-py3-none-any.whl.metadata (7.5 kB)

Steps to Reproduce
Using an anaconda installation on MacOS
conda create -n gpt-engineer python=3.11.5
conda activate gpt-engineer
python -m pip install gpt-engineer

Thanks for raising this.  It does, indeed, seem to be an issue with the package on PyPI.

We're looking into it.

Thanks for reporting, this should now be fixed


Nullpointer Exception when running Sift bench on JDK 21.0.2

Cloned the repository and have build jvector with Azul Zulu 21.0.2
When I run ./mvnw compile exec:exec@sift on Zulu 21.0.2, it will crash after a couple of seconds with a NullPointer Exception. This also happens when I try to run it on Zulu 11.0.22 using ./mvn -Pjdk11 compile exec:exec@sift
Please find more information about the used machine, java version and the complete command line output in the attached crash.txt file.
Is there anything missing when running the sift test?
crash.txt

Thanks for the bug report -- fixed in abee1702e9404ef8fbca5e73027553694700b31e.

@jbellis let me know if a new issue is required for this.
Currently i am still receiving NullPointer Exception (ravv= Null).
Coincidently variable which causes this error is unused. Removing it removes the error.

var dimension = ravv.dimension();
Dimension is unused

Thanks.  No, we don't need a new issue.
I pushed a fix for this, but I also reverted the path change -- siftsmall/ is the correct relative path when running ./mvnw compile exec:exec@sift on openjdk + linux.  Not sure why it's different for you or how to make it generalize correctly.


Support for k8s version 1.25?

I tried to install sysbox on my k0s cluster and it started crash looping:
❯ kubectl get pod -n kube-system | grep sysbox
sysbox-deploy-k8s-8htgx                    0/1     CrashLoopBackOff   6 (51s ago)   6m53s
sysbox-deploy-k8s-nghld                    0/1     CrashLoopBackOff   6 (65s ago)   6m53s

When I checked the logs it said k8s version 1.25 is not supported:
❯ kubectl logs daemonset.apps/sysbox-deploy-k8s -n kube-system
Found 2 pods, using pod/sysbox-deploy-k8s-8htgx
ERROR: Sysbox is not supported on this Kubernetes version (v1.25).

Is there a blocking factor in supporting v1.25?

Hi @vyas-n, we don't yet support installing Sysbox on K0s unfortunately. See issue #606.

Closing as duplicate of Issue #606.

Hi @ctalledo,
Thanks for letting me know. Just to confirm, k8s v1.25 is supported on sysbox? Just not k0s?

Thanks for letting me know. Just to confirm, k8s v1.25 is supported on sysbox? Just not k0s?

Apologies for the super belated reply, but better late than never: K8s v1.25 is about to be supported on Sysbox, but K0s is not supported at all right now.


Update authentication.md

update get-token with a working example
The previous example was using deprecated ADAL.PS module and therefore didn't work when ran in powershell/azure cloud shell
The updated example uses a http call in powershell which also works in azure cloud shell and will get a valid access token.

@microsoft-github-policy-service agree

#assign: @aahill
#assign: @patrickfarley
#assign: @nitinme
#assign: @mrbullwinkle
#assign: @laujan
#assign: @eric-urban
#assign: @jboback
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

I haven't run a functional validation but I presume you have. From a PowerShell perspective, the script looks great to me.
Any time an example refers to a password, I like to remind users that the most secure option is to use the Secret Management module and integrate with a solution such as KeyVault. Do you think that is a fit here?

Hi, I've added this note. Let me know if you need phrasing changed but otherwise thanks for the suggestion.

#sign-off

#sign-off


[DNM] Test run 2

Test run 2

bot bench $ all

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2569013

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2569012

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2573859

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2573860


CupertinoDatePicker crashes when used with Compose 1.7.0

Using the CupertinoDatePicker on JVM Desktop with Compose 1.7.0 results in a crash.
To me it looks like that the rememberSnapFlingBehavior() now takes a parameter less than before.
                            java.lang.NoSuchMethodError: 'androidx.compose.foundation.gestures.FlingBehavior androidx.compose.foundation.gestures.snapping.LazyListSnapLayoutInfoProviderKt.rememberSnapFlingBehavior(androidx.compose.foundation.lazy.LazyListState, androidx.compose.runtime.Composer, int)'
	at io.github.alexzhirkevich.cupertino.CupertinoDatePickerKt.HorizontalMonthsList(CupertinoDatePicker.kt:812)
	at io.github.alexzhirkevich.cupertino.CupertinoDatePickerKt.access$HorizontalMonthsList(CupertinoDatePicker.kt:1)
	at io.github.alexzhirkevich.cupertino.CupertinoDatePickerKt$CupertinoDatePickerPager$2$1$5.invoke(CupertinoDatePicker.kt:609)
	at io.github.alexzhirkevich.cupertino.CupertinoDatePickerKt$CupertinoDatePickerPager$2$1$5.invoke(CupertinoDatePicker.kt:589)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jb.kt:137)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jb.kt:33)
	at androidx.compose.animation.AnimatedContentKt$AnimatedContent$6$1$5.invoke(AnimatedContent.kt:803)
	at androidx.compose.animation.AnimatedContentKt$AnimatedContent$6$1$5.invoke(AnimatedContent.kt:792)

Duplicate of https://github.com/alexzhirkevich/compose-cupertino/issues/55

Do you use the latest library release? As I understand it doesn't support Compose 1.7.0. Support for it was added in #64 , but there was no release with it yet.

@MrJohn10 Thanks. I didn't notice that the PR did not make it into a release yet.


Plugins are not being installed the first time when selected a bunch of them

🐛 Bug
When selecting several plugins to get installed, some of the plugins get installed. If selected each of them or again a couple of them, then they are installed successfully
To Reproduce
Steps to reproduce the behavior:

Go to Install/Uninstall plugins
Click on Install button for several plugins from the Available Plugins section
Wait for them to get installed ---> some plugins were installed successfully but not all of them
Select again the plugins that were not installed
Now they are installed

https://user-images.githubusercontent.com/63799148/157492927-e81215e5-8b8a-4ef2-abb5-d89b1b68b770.mov
Expected behavior
All plugins should get installed during the first time
Environment
napari: 0.4.15rc3
Platform: macOS-11.6.4-x86_64-i386-64bit
System: MacOS 11.6.4
Python: 3.9.10 | packaged by conda-forge | (main, Feb 1 2022, 21:28:27) [Clang 11.1.0 ]
Qt: 5.12.9
PySide2: 5.13.2
NumPy: 1.22.3
SciPy: 1.8.0
Dask: 2022.02.1
VisPy: 0.9.6
napari: 0.4.15rc3
Platform: Windows-10-10.0.17763-SP0
Python: 3.8.12 | packaged by conda-forge | (default, Oct 12 2021, 21:22:46) [MSC v.1916 64 bit (AMD64)]
Qt: 5.12.9
PySide2: 5.13.2
NumPy: 1.22.3
SciPy: 1.8.0
Dask: 2022.02.1
VisPy: 0.9.6

this should be addressed as part of the #4283, if anyone experience again or have more information please reopen this issue


[Type Improvement] System type is also possible

https://github.com/techchrism/valorant-api-docs/blob/trunk/valorant-api-types/src/endpoints/local/chat/SendChat.ts#L15
After suggested enum
 body: z.object({
        cid: z.string().describe('The conversation ID of the group to send the message to'),
        message: z.string(),
        type: z.enum(['groupchat', 'chat', 'system']).describe('Use chat for whispers, groupchat for group messages or system for message visible only to you.')
    }),

Thanks for pointing this out 👍


Allow device lambdas in device adjacent difference

This PR allows __device__ extended lambdas usage in the device adjacent difference (nvbug 3641330). The issue was caused by invoke_result_t usage on __device__ extended lambda on the host side.

cc @zasdfgbnm

Thanks for the quick fix! I think one reason why we don't like device host lambda is that for some reason it has a bigger binary size, and PyTorch has been working very hard to reduce its binary size. But functors sound like a good thing to use.
In the future, if a similar thing happens, our CI can detect it quickly, and I will confirm with you whether there is an easy way to fix it in cub/thrust. If unfortunately not, then we will update PyTorch to use functors.

Thanks for understanding -- it's an unfortunate situation, and I'm looking forward to the new diagnostics that will help catch these sooner!

In the future, if a similar thing happens, our CI can detect it quickly

It's great that ya'll are testing against HEAD -- I was happy to see that this was detected so soon after merging :)

Backported to 1.17.X and tagged 1.17.0-rc1:
https://github.com/NVIDIA/cub/commit/28de483b4e76957e9a860b9792c6ad8809ac1ecd


GRO-599: Migrating /user/edit to /settings2

This will be one of a few PRs to successfully migrate the /user/edit path to the new /settings2/edit-settings path.
Planning to do this in sections, as some parts are not migrated fully into react yet.
This portion is for the Information section, hoping to solicit feedback early.
Old Behavior:

New Behavior:

In general I'm surprised we decided to move the old form rather than just re-write it. I'd be suspicious of this working correctly in the old route since I think you'd have to also provide the new theme? Seems like more trouble than it's worth.
You'll also have to rebase to resolve the conflicts.

Double checked the old route @dzucconi, looking all good locally.


Error running the server web front-end

When I try to run the web front-end via
java -Xmx2500m -Xms50m -Dgraphhopper.prepare.ch.weightings=no   -Dgraphhopper.datareader.file=graphhopper/europe_germany_berlin.pbf -Dgraphhopper.profiles=freight_diesel   -jar target/railway_routing-0.0.1-SNAPSHOT-jar-with-dependencies.jar server

I get the error:
   Unrecognized field at: assets.resourcePathToUriMappings
    Did you mean?:
      - mappings
      - overrides
      - cacheSpec
      - mimeTypes
      - cacheControlHeader

I can run GraphHopper from the graphhopper subdirectory just fine using the Berlin PBF file.

When you do not enter any command the code returns:
       [-h] [-v] {server,check,import,match}

So perhaps there is a typo there? (as it suggests "server", not "serve").
Nonetheless, when I use "serve" I still get exactly the same error as before:
io.dropwizard.configuration.ConfigurationParsingException: default configuration has an error:
  * Unrecognized field at: assets.resourcePathToUriMappings
    Did you mean?:
      - mappings
      - overrides
      - cacheSpec
      - mimeTypes
      - cacheControlHeader

You haven't passed in the name of the .yml configuration file.  Dropwizard wants a .yml configuration file as the argument to its server command.  Just leaving this here for any Googlers.


Update ACS scenario tests

Fixes the test_aks_create_with_upgrade scenario test to work in --live mode. Still working on issues with the test_acs_create_kubernetes case, which I will fix in a separate PR.

This checklist is used to make sure that common guidelines for a pull request are followed.

[X] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[X] I adhere to the Command Guidelines.

View a preview at https://prompt.ws/r/Azure/azure-cli/6064
This is an experimental preview for @microsoft users.


fix: LeetCode.BaseURL should be private (by @applepine1125)

Thanks a lot!! Just nits PR. cc: @applepine1125

I appreciate you all's suggestion!!


feat: allow usage of both ES5 or ES2015 uglify versions

I tried this, because I wanted to be able to use webpack, with uglify es and not js.
Basically, I moved the options for Uglify into uglifyOptions key, and added an option for ES5 or ES6.
I also changed the code, to use the uglify.minify method.
Not sure if I understood something wrong, but I hope this can help.
I can correct this if needed (tested on some of my projects, and it seemed to work)

Blocked by #56

Not sure about the semver tbh, guessing it is major

What's the point of supporting uglify-js doesn't uglify-es support a superset of the functionality of uglify-js?

No need for peerdep either, that was just a hack to support the harmony branch on github

What's the point of supporting uglify-js doesn't uglify-es support a superset of the functionality of uglify-js?

Yeah... good point 😛

@michael-ciniawsky I will try to detail more soon, and to take in account your remarks.
@graingert I will change to dependencies then
I guess I was tired when reading uglify doc, I thought there were backward compatibility problems.
Indeed, uglify-js is not needed

I imagine you'll need to update the documentation too.

@michael-ciniawsky I will try to detail more soon, and to take in account your remarks.
@graingert I will change to dependencies then

@Hartorn Yep this would be highly apprectiated, thx in advance

I guess I was tired when reading uglify doc, I thought there were backward compatibility problems.
Indeed, uglify-js is not needed

All fine, this is a mess for weeks now :D, we need to backport the tests first to see what's maybe failing between uglifyjs && uglifyes then, it will make the transition a lot easier. Hopefully we can land PR (#56) for this soon :)

Okay, now I think the old options should work :
Plugin options :

test
include
exclude
sourceMap
warningsFilter
extractComments

filename
banner
condition

uglifyOptions

The uglifyOptions can take everything there : https://github.com/mishoo/UglifyJS2/tree/harmony#user-content-minify-options, except sourceMap part, which is given by the plugin.
I think it is better in a sub-object like this, would be a mess else.

@michael-ciniawsky @graingert Here is a quick sum up of the modifications, please ask for precisions if needed.

Uglify now expose a single high level function minify(code, options), which go through all the steps of minification (parse, compress, mangle, output)
it does not throw errors anymore, so the try-catch is not needed (test if there is an error key in the return of the function)
it is possible to get the warnings in the result also, so it is not needed anymore to mingle with AST_NODE warn_function
it is possible to give a filter for comments, so we can hook on that for exporting comments
it is possible to give a preamble in the output, so we can use that for the banner thing (License file, comments, ...)

Basically, we do not need to use any other function than minify from uglify, it is mainly about giving proper options, handle the source maps and output.
I did not had time to update the docs, will do in the next days.

@Hartorn Could you change the base branch to feature-defaults please ? :)

@michael-ciniawsky I changed the base, rebased my branch and corrected the lint according to the new rules (much better in ES6 :) )

@Hartorn thx

Sry it landed in master now 😅 , could you switch again and rebase against current master one more time please 😛

@Hartorn can you please rebase to master?

Please rebase against current master, sry for the inconvenience again, this is definitely the next to land 💯 😛

@Hartorn Also, i noticed you removed the try/catch in the loop for uglifyjs. Can you explain that a bit?

@hulkish @michael-ciniawsky done rebasing. I will have a look at the test now.
@hulkish Uglify does not throw error anymore, instead it is given in the result object.
See the few lines above https://github.com/mishoo/UglifyJS2/tree/harmony#minify-options

⚠  The git commit author history seems to be messed up, you either need to edit the authors via git or open a fresh PR, otherwise the CLA Bot will complain and block the PR

@Hartorn I recommend making a new pr based on master and just re apply your changes - sorry for the hassle, but I think this is your easiest route tbh.

@Hartorn Nvm, i see you've already included your updates to the tests: https://github.com/webpack-contrib/uglifyjs-webpack-plugin/pull/55/files#diff-3fbea51fb89113c24da0c56675865113R30


View from D435i camera stutters on code examples from github repo

Required Info

Camera Model
{ D435i }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{ Android}

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ targetSdkVersion 27 and targetSdkVersion 28 }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{ Smartphone  }

I'm observing that the view from the camera is stuttering. This could be observed on Android 9(Samsung Galaxy A50) and on Android 10(Samsung Galaxy A51). I'm using examples from the github source code..
I tried to install also application from Google Play store(https://play.google.com/store/apps/details?id=com.intel.realsense.camera&pageId=none). On Samsung Galaxy A50 everything works as expected - view from the camera is good, without any stutters or delays.
Is it possible to get source code for this application available on your Google Play store? Maybe some changes were implemented there which allows to run this application without problems.
I'm also attaching .zip file with working (but stuttering) application. It was implemented by "Capture" example available on your github repo.
Test.zip
I can also send you an example movie how this application behaves. Here, I can upload only 10MB so, I can send you it via email/Google drive.
This issue is related with the previous one registered under this link: https://github.com/IntelRealSense/librealsense/issues/6406
For more info you can contact me directly via email<EMAIL_ADDRESS>(double R in the beginning)
Could you please help me to resolve this problem? I'm interested in buying few new RS cameras for my project but I need to know if your Android API is working as I would expect.
Kind regards,
Robert

Hi @hunterman1   Although I have provided advice on your other case https://github.com/IntelRealSense/librealsense/issues/6406 I have assigned myself to this case too in order to provide a single point of contact for both cases and offer any new insights that I can provide as the subject is researched further.
RealSense team members are very welcome to contribute advice on this case.

Of course I've added some loggers, like textView.setText("Start test1 " + counter); to observe "where" is the application code while my device is connected to the camera. Unfortunately, without these loggers image view is also stuttering.
If you have some questions please ask me here or via email. I'll try to answer asap.
Kind regards,
Robert Kawecki

@hunterman1   Thanks a lot.  I will try to make sure that your question gets seen by a Android wrapper developer.

I also implemented an example attached below. Here camera is connects to my android device, sometimes not. Besides this I'm observing delay (more than 1s) and the image also stutters.
Capture.zip

I also tried with the native version of mobile app. I implemented an example basic on the code available on github. When I used com.intel.realsense:librealsense:2.34.0@aar I could see from the printout on textview that a device is connected. But I still think that the problem would appear so I'm waiting for your response before I'll take time to implement something using native code.
Regards,
Robert

This is an example of developed by my working native example app.
Test_native3.zip

Hi @hunterman1   Do you require further assistance with this case please or is it okay to close it?   Thanks!

Case closed due to no further comments received.

Hi @hunterman1 Do you require further assistance with this case please or is it okay to close it? Thanks!

I didn't receive help.... Second ticket was closed, and this one also - without any useful comment... I managed to solve this problem, but the documentation, how to use your D435i camera within Android SDK is very poor. It's very hard to do simple things here...
/Robert

I'm very pleased that you managed to find a solution.
The RealSense team's ability to provide support is dependent on an active conversation being maintained, so it is important for RealSense users to post comments on their cases, even if it is just to say that their problem is not yet solved and they require further assistance.  Otherwise a case is likely to be considered dormant and closed (but still findable with web searches) if no further comments are received after a couple of weeks since the last communication.


App Permission - not receiving scp/scope claim when using .default scope for client creds

I have application A which is granted global consent for scope user_impersonation for App B. App A is able to get a token (using client credentials flow) for App B using the .default scope BUT the token does not contain the scp or scope claim (or roles).
The ms library for token validation validates the existence of one of these claims - {scp, scope, roles} but since I'm unable to get one with the client creds flow, I cannot get a "valid" token at all. Please advise.

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

ID: 0ac43307-75d4-cb6f-e561-0dd9008f28c6
Version Independent ID: 8fc47e76-5ee1-6aeb-73e2-c64c44e3e4ed
Content: Microsoft identity platform scopes, permissions, and consent
Content Source: articles/active-directory/develop/v2-permissions-and-consent.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

Additional note - this documentation addresses the fact that if we have granted scopes and consent, we should be getting these scopes in our token when using the .default scope to request. This does not seem to be occurring.

@kaylakirzinger Thanks for the question! We're investigating this and will get back to you shortly.

@kaylakirzinger user_impersonation is a delegated permission and you should get it as a scp when requesting a token in user's context and not under application context. When you use client_credentials flow, you should be providing application permission and not delegated permission. You should get user_impersonation scp in the token if you use Authorization_Code flow.

Hey,
this explanation doesn't make sense. I am providing .default as indicated by the documentation and I am still not getting a scp claim. Please re-open.

@kaylakirzinger I apologize if I was not able to provide required explanation. Could you please share your understanding of ./default, delegated permissions, application permissions and user_impersonation? I will then respond to this thread accordingly.

After doing additional reading (because the documentation is entirely unclear on this) I can see that granting a permission as an application permission may get me the roles claim.
I had to do additional reading to find that we have to directly edit the manifest (why?) to add app roles.
So, it seems that in order to have client credentials properly work with V2.0 tokens we need:

to edit our app manifest for our API directly to add roles
to add specifically app permissions to our client app from our server app
to request those permissions (ROLES) via the .default SCOPE

I personally do not think this is documented at all, and without piecing that information together via  reading other tickets and questions it would have been very difficult to figure out, especially given the fact that we're having to go in and edit the manifest directly which most other functionality is done within the "Expose an API" UI blade.

@kaylakirzinger This is very well documented here: How to: Add app roles in your application and receive them in the token

Manually modifying that manifest file (with manual guid generation) in 2020 looks a bit strange and is error-prone. Hope MS folks will be able to come up with a decent UI for that.


[Snyk] Upgrade @babel/runtime from 7.14.0 to 7.25.7

Snyk has created this PR to upgrade @babel/runtime from 7.14.0 to 7.25.7.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 61 versions ahead of your current version.

The recommended version was released on a month ago.

Release notes

Package name: @babel/runtime

7.25.7 - 2024-10-02v7.25.7 (2024-10-02)
Thanks @ DylanPiercey and @ YuHyeonWook for your first PRs!
🐛 Bug Fix

babel-helper-validator-identifier

#16825 fix: update identifier to unicode 16 (@ JLHwung)

babel-traverse

#16814 fix: issue with node path keys updated on unrelated paths (@ DylanPiercey)

babel-plugin-transform-classes

#16797 Use an inclusion rather than exclusion list for super() check (@ nicolo-ribaudo)

babel-generator

#16788 Fix printing of TS infer in compact mode (@ nicolo-ribaudo)
#16785 Print TS type annotations for destructuring in assignment pattern (@ nicolo-ribaudo)
#16778 Respect [no LineTerminator here] after nodes (@ nicolo-ribaudo)

💅 Polish

babel-types

#16852 Add deprecated JSDOC for fields (@ liuxingbaoyu)

🏠 Internal

babel-core

#16820 Allow sync loading of ESM when --experimental-require-module (@ nicolo-ribaudo)

babel-helper-compilation-targets, babel-helper-plugin-utils, babel-preset-env

#16858 Add browserslist config to external dependency (@ JLHwung)

babel-plugin-proposal-destructuring-private, babel-plugin-syntax-decimal, babel-plugin-syntax-import-reflection, babel-standalone

#16809 Archive syntax-import-reflection and syntax-decimal (@ nicolo-ribaudo)

babel-generator

#16779 Simplify logic for [no LineTerminator here] before nodes (@ nicolo-ribaudo)

🏃♀ Performance

babel-plugin-transform-typescript

#16875 perf: Avoid extra cloning of namespaces (@ liuxingbaoyu)

babel-types

#16842 perf: Improve @ babel/types builders (@ liuxingbaoyu)
#16828 Only access BABEL_TYPES_8_BREAKING at startup (@ nicolo-ribaudo)

Committers: 8

Babel Bot (@ babel-bot)
Dylan Piercey (@ DylanPiercey)
Huáng Jùnliàng (@ JLHwung)
Nicolò Ribaudo (@ nicolo-ribaudo)
@ liuxingbaoyu
coderaiser (@ coderaiser)
fisker Cheung (@ fisker)
hwook (@ YuHyeonWook)

7.25.6 - 2024-08-29v7.25.6 (2024-08-29)
Thanks @ j4k0xb for your first PR!
🐛 Bug Fix

babel-generator

#16783 Properly print inner comments in TS array types (@ nicolo-ribaudo)
#16775 fix: jsx whitespace is not properly preserved when retainLines (@ liuxingbaoyu)

babel-traverse

#16727 fix: path.getAssignmentIdentifiers may be undefined (@ liuxingbaoyu)

babel-parser

#16761 fix: improve static canFollowModifier checks (@ JLHwung)

babel-helpers, babel-plugin-transform-optional-chaining, babel-runtime-corejs3

#16769 Only wrap functions in superPropertyGet helper (@ nicolo-ribaudo)

💅 Polish

babel-generator, babel-plugin-transform-async-to-generator, babel-plugin-transform-block-scoping, babel-plugin-transform-class-properties, babel-plugin-transform-classes, babel-plugin-transform-duplicate-named-capturing-groups-regex, babel-plugin-transform-named-capturing-groups-regex, babel-plugin-transform-react-jsx-development, babel-plugin-transform-react-jsx, babel-plugin-transform-react-pure-annotations, babel-plugin-transform-regenerator, babel-plugin-transform-runtime, babel-preset-env

#16780 Do not enforce printing space between ( and comments (@ nicolo-ribaudo)

babel-plugin-syntax-import-assertions, babel-plugin-syntax-import-attributes

#16781 Don't throw when enabling both syntax-import-{assertions,attributes} (@ nicolo-ribaudo)

babel-generator

#16782 TS union/intersection nested in union does not need parens (@ nicolo-ribaudo)

🏠 Internal

babel-generator

#16777 Remove unused parent params in the generator (@ nicolo-ribaudo)

Committers: 5

Babel Bot (@ babel-bot)
Huáng Jùnliàng (@ JLHwung)
Nicolò Ribaudo (@ nicolo-ribaudo)
@ j4k0xb
@ liuxingbaoyu

7.25.4 - 2024-08-22v7.25.4 (2024-08-22)
🐛 Bug Fix

babel-traverse

#16756 fix: Skip computed key when renaming (@ liuxingbaoyu)

babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators

#16755 fix: Decorator 2018-09 may throw an exception (@ liuxingbaoyu)

babel-types

#16710 Visit AST fields nodes according to their syntactical order (@ nicolo-ribaudo)

babel-generator

#16709 Print semicolon after TS export namespace as A (@ nicolo-ribaudo)

💅 Polish

babel-generator, babel-plugin-proposal-decorators, babel-plugin-proposal-destructuring-private, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-class-properties, babel-plugin-transform-destructuring, babel-plugin-transform-optional-chaining, babel-plugin-transform-private-methods, babel-plugin-transform-private-property-in-object, babel-plugin-transform-typescript, babel-runtime-corejs2, babel-runtime, babel-traverse

#16722 Avoid unnecessary parens around sequence expressions (@ nicolo-ribaudo)

babel-generator, babel-plugin-transform-class-properties

#16714 Avoid unnecessary parens around exported arrow functions (@ nicolo-ribaudo)

babel-generator, babel-plugin-proposal-decorators, babel-plugin-proposal-destructuring-private, babel-plugin-transform-object-rest-spread

#16712 Avoid printing unnecessary parens around object destructuring (@ nicolo-ribaudo)

🔬 Output optimization

babel-generator

#16740 Avoid extra spaces between comments/regexps in compact mode (@ nicolo-ribaudo)

Committers: 4

Babel Bot (@ babel-bot)
Huáng Jùnliàng (@ JLHwung)
Nicolò Ribaudo (@ nicolo-ribaudo)
@ liuxingbaoyu

7.25.0 - 2024-07-26v7.25.0 (2024-07-26)
Thanks @ davidtaylorhq and @ slatereax for your first PR!
You can find the release blog post with some highlights at https://babeljs.io/blog/2024/07/26/7.25.0.
👓 Spec Compliance

babel-helpers, babel-plugin-proposal-explicit-resource-management, babel-runtime-corejs3

#16537 await using normative updates (@ JLHwung)

babel-plugin-transform-typescript

#16602 Ensure enum members syntactically determinable to be strings do not get reverse mappings (@ liuxingbaoyu)

🚀 New Feature

babel-helper-create-class-features-plugin, babel-helper-function-name, babel-helper-plugin-utils, babel-helper-wrap-function, babel-plugin-bugfix-safari-class-field-initializer-scope, babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-preset-env, babel-traverse, babel-types

#16658 Move ensureFunctionName to NodePath.prototype (@ nicolo-ribaudo)

babel-helper-hoist-variables, babel-helper-plugin-utils, babel-plugin-proposal-async-do-expressions, babel-plugin-transform-modules-systemjs, babel-traverse

#16644 Move hoistVariables to Scope.prototype (@ nicolo-ribaudo)

babel-helper-create-class-features-plugin, babel-helper-module-transforms, babel-helper-plugin-utils, babel-helper-split-export-declaration, babel-plugin-transform-classes, babel-traverse, babel-types

#16645 Move splitExportDeclaration to NodePath.prototype (@ nicolo-ribaudo)

babel-helper-create-class-features-plugin, babel-helper-environment-visitor, babel-helper-module-transforms, babel-helper-plugin-utils, babel-helper-remap-async-to-generator, babel-helper-replace-supers, babel-plugin-bugfix-firefox-class-in-computed-class-key, babel-plugin-bugfix-v8-static-class-fields-redefine-readonly, babel-plugin-transform-async-generator-functions, babel-plugin-transform-classes, babel-traverse

#16649 Move environment-visitor helper into @ babel/traverse (@ nicolo-ribaudo)

babel-core, babel-parser

#16480 Expose wether a module has TLA or not as .extra.async (@ nicolo-ribaudo)

babel-compat-data, babel-plugin-bugfix-safari-class-field-initializer-scope, babel-preset-env

#16569 Introduce bugfix-safari-class-field-initializer-scope (@ davidtaylorhq)

babel-plugin-transform-block-scoping, babel-traverse, babel-types

#16551 Add NodePath#getAssignmentIdentifiers (@ JLHwung)

babel-helper-import-to-platform-api, babel-plugin-proposal-json-modules

#16579 Add uncheckedRequire option for JSON imports to CJS (@ nicolo-ribaudo)

babel-helper-transform-fixture-test-runner, babel-node

#16642 Allow using custom config in babel-node --eval (@ slatereax)

babel-compat-data, babel-helper-create-regexp-features-plugin, babel-plugin-proposal-duplicate-named-capturing-groups-regex, babel-plugin-transform-duplicate-named-capturing-groups-regex, babel-preset-env, babel-standalone

#16445 Add duplicate-named-capturing-groups-regex to preset-env (@ JLHwung)

🐛 Bug Fix

babel-generator

#16678 Print parens around as expressions on the LHS (@ nicolo-ribaudo)

babel-template, babel-types

#15286 fix: Props are lost when the template replaces the node (@ liuxingbaoyu)

🏠 Internal

Other

#16674 bump gulp to 5 (@ JLHwung)

babel-generator

#16651 Simplify the printing logic for ( before ambiguous tokens (@ nicolo-ribaudo)

babel-helper-function-name, babel-plugin-transform-arrow-functions, babel-plugin-transform-function-name, babel-preset-env, babel-traverse

#16652 Simplify helper-function-name logic (@ nicolo-ribaudo)

🏃♀ Performance

babel-parser, babel-plugin-proposal-pipeline-operator

#16461 Some minor parser performance improvements for ts (@ liuxingbaoyu)

🔬 Output optimization

babel-plugin-transform-classes

#16670 Reduce redundant assertThisInitialized (@ liuxingbaoyu)

babel-helper-create-class-features-plugin, babel-helper-replace-supers, babel-helpers, babel-plugin-proposal-decorators, babel-plugin-transform-class-properties, babel-plugin-transform-classes, babel-plugin-transform-exponentiation-operator, babel-plugin-transform-object-super, babel-plugin-transform-private-methods, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime

#16374 Improve super.x output (@ liuxingbaoyu)

babel-plugin-transform-class-properties, babel-plugin-transform-classes

#16656 Simplify output for anonymous classes with no methods (@ nicolo-ribaudo)

Committers: 6

Artem (@ slatereax)
Babel Bot (@ babel-bot)
David Taylor (@ davidtaylorhq)
Huáng Jùnliàng (@ JLHwung)
Nicolò Ribaudo (@ nicolo-ribaudo)
@ liuxingbaoyu

7.24.8 - 2024-07-11

7.24.7 - 2024-06-05

7.24.6 - 2024-05-24

7.24.5 - 2024-04-29

7.24.4 - 2024-04-03

7.24.1 - 2024-03-19

7.24.0 - 2024-02-28

7.23.9 - 2024-01-25

7.23.8 - 2024-01-08

7.23.7 - 2023-12-29

7.23.6 - 2023-12-11

7.23.5 - 2023-11-29

7.23.4 - 2023-11-20

7.23.2 - 2023-10-11

7.23.1 - 2023-09-25

7.23.0 - 2023-09-25

7.22.15 - 2023-09-04

7.22.11 - 2023-08-24

7.22.10 - 2023-08-07

7.22.6 - 2023-07-04

7.22.5 - 2023-06-08

7.22.3 - 2023-05-27

7.22.0 - 2023-05-26

7.21.5 - 2023-04-28

7.21.4-esm.4 - 2023-04-04

7.21.4-esm.3 - 2023-04-04

7.21.4-esm.2 - 2023-04-04

7.21.4-esm.1 - 2023-04-04

7.21.4-esm - 2023-04-04

7.21.0 - 2023-02-20

7.20.13 - 2023-01-21

7.20.7 - 2022-12-22

7.20.6 - 2022-11-28

7.20.5 - 2022-11-28

7.20.1 - 2022-11-01

7.20.0 - 2022-10-27

7.19.4 - 2022-10-10

7.19.0 - 2022-09-05

7.18.9 - 2022-07-18

7.18.6 - 2022-06-27

7.18.3 - 2022-05-25

7.18.2 - 2022-05-25

7.18.0 - 2022-05-19

7.17.9 - 2022-04-06

7.17.8 - 2022-03-18

7.17.7 - 2022-03-14

7.17.2 - 2022-02-08

7.17.0 - 2022-02-02

7.16.7 - 2021-12-31

7.16.5 - 2021-12-13

7.16.3 - 2021-11-09

7.16.0 - 2021-10-29

7.15.4 - 2021-09-02

7.15.3 - 2021-08-11

7.14.8 - 2021-07-20

7.14.6 - 2021-06-14

7.14.5 - 2021-06-09

7.14.0 - 2021-04-29

    from @babel/runtime GitHub release notes

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Test Ok


Determine fields to save after organ registration

Which fields do we want to save to the User's profile after registering to be an organ donor?

I'm thinking the most useful ones:
-state
-postal_code
-phone_number
-birthdate (if we don't have it)
-last_name
-street_address
-apartment
-city
and -gender (mike mentioned we don't have a field that maps back to this and want to also double check with jeff if this is something we'd even want to track)

@katiecrane or @angaither does the "field_address" include their full address (apt, if they gave it, for example) city and state?

@ngjo yeah I'm pretty sure, as far as I know it is an array of all the address information that we have

awesome, thanks @katiecrane !


Cannot GET /profile/ after reloading the page

Hello, all my states get the "Cannot GET /profile/" or "Cannot GET /whatever/" error in the browser after reloading the page with F5, why is this happening?
http://localhost:3000/profile/ Failed to load resource: the server responded with a status of 404 (Not Found)

this is my route file
angular.module('test123')
.config(function ($stateProvider) {
	$stateProvider
	.state('profile', {
		url: '/profile',
		templateUrl: 'profile/profile.html',
		controller: 'ProfileCtrl'
	});
})

This is probably because browser makes a request to http://localhost:3000/profile/ and interprets it like an attempt to browse a directory. You need url rewrite mode. Web server should ignore /profile part of the url as it will be later processed on the client. Had the same problem with asp.net mvc a couple of days ago.

Closing as this is an implementation issue. Like @voroninp your server needs to support rewriting all requests to the file you want to actually serve


Use schema instead of reserved in header description

For consistency with SPIR-V disassembly which outputs Schema for this
field.

Split from https://github.com/KhronosGroup/SPIRV-Tools/pull/4611

The CI is clearly stuck here!


Feature: Google Vertex AI Chat model

Implements the Google Vertex AI PaLM chat model, as referenced in #1240 and building off the work first done in pull request #1273.
Note that the LangChain BaseChatMessage pattern is completely followed here, although Google-specific extensions are included (and documented through unit and integration tests, examples, and the documentation).

Having a look now! Will have a commit up by the end of the day.

Į got you bro
On Wed, May 24, 2023 at 12:12 AM Jacob Lee @.***> wrote:

Having a look now! Will have a commit up by the end of the day.
—
Reply to this email directly, view it on GitHub
https://github.com/hwchase17/langchainjs/pull/1384#issuecomment-1560244102,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYKSQTMY6NSNSSRAHFEMBF3XHU77PANCNFSM6AAAAAAYMOGVGU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Build the compiler with PCRE2

The explicit selection of PCRE2 via -D use_pcre2 is intentional. We want the compiler to built with PCRE2 and not silently fall back to PCRE.

Converted to draft. There are a couple of CI issues with PCRE2 that need to be resolved first.

CI is all green. This is ready for review now.


USERS cannot see Team

UESRS cannot see Teams, create Teams, assign Tasks to Teams or see Tasks from other users in the same team.
Essentailly it seems to be setup so each user is an indervidual rather than part of the same organisation.
Can teams be fully intergrated in to allow colaboration between team members ?

It might be simpler add a team flag onto assigned_to
from tasks/templates/tasks_tasks_list.html
Original
{% if request.user == task.created_by or request.user.role == 'ADMIN' %}
Modified to allow assigned users to edit, view and delete.
{% if request.user == task.created_by or request.user.role == 'ADMIN' or request.user in task.assigned_to.all %}
psudo modifacation for anyone on team (im not good with Django so forgive bad code here).
{% if request.user == task.created_by or request.user.role == 'ADMIN' or request.user in task.assigned_team.all %}
perhapse switch it around so tase.created_by and request.user.role == "ADMIN" are needed to delete, but view and edit can be done by any member of the assigned team.
Allow Team drop down for non Admin when createing tasks, and share contacts, opertunities and other stuff between people on the same team.


nixos/lib/eval-config.nix: Add extraModules parameter for opt-in purity

Motivation for this change
This allows setting extraModules explicitly, making it possible to invoke NixOS without the NIXOS_EXTRA_MODULE_PATH impurity.
Thanks @ottidmes for discovering this!
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date (No mention of eval-config in nixpkgs or nixos manuals. Documentation for NIXOS_EXTRA_MODULE_PATH is still accurate.)
[x] Fits CONTRIBUTING.md.

Are there any updates on this pull request, please?

cc @nbp for an authoritative review of this small API change.


Not work with me

It didn't work with me when I write this line in Terminal : pod 'liquid-swipe'
I already write this ( pod 'liquid-swipe' ) line in podfole
give me that error in Terminal

liquid-swipe (from {:get=>"https://github.com/Cuberto/liquid-swipe.get"})
liquid-swipe

I have no troubles with installing lib.
According to the log you given, i suppose that you have some troubles with connection to github
To check it try to clone the repo

Thanks @askopin it works with me, I clone the repo as you said and the other erro was the minimum deployment target it was ios 9.0 and it must be 9.3 , I solved it.


Can the ic-siws-provider be used for React Native ?

I tried implementing this in React Native( Android applications ) but got issues with AsyncStorage is null. Just wondering if this is an error from my side or is this made specifically for web.

@ArjunQBTech I am not up to date with React Native unfortunately. I'd like to think this library could work well under RN but it has not been tested.
Did you get it to work?
Here is some info about AsyncStorage: https://reactnative.dev/docs/asyncstorage


Zawa tool Termux

1-apt update
2-apt upgrade
3-pkg install python
4-pkg install python2
5-pkg install nano
6- pkg install unizip
7-pip2 install mechanize
8-pip install --upgrade pip
9- pkg install curl
10-pkg install ruby
11-pkg install php
12-pkg install proot
13-pkg install figlet
14-pkg install cowsay
15-pkg install fish
16-pkg install grep
17-pkg install openssh
18-pkg install wget
19-pkg install git

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us halfway :grinning:


Feature request: Highlight erroneous lines in red

It would be nice if JSLint highlighted erroneous lines/lines of interest in red(or yellow) like in CSSLint:

closing this as won't fix for following reason:

this feature seems most prevalent in read-only reports (like csslint's), rather than text-editors.
text-editors seem to generally mark errors

inplace where it occurs
on the left-gutter


Runner crashes in filtered parallel execution

Expected behavior
Set of specs running in serial with flag allow_filtered_parallel_execution = true should exit properly.
Actual behavior
A set of specs that should run in serial only, crashes once the execution is finished.
[runner: 1]
Executing in 0 parallel streams.
panic: makechan: size out of range
goroutine 1633 [running]:
github.com/getgauge/gauge/execution.(*parallelExecution).startRunnersForRemainingStreams(0xc000124090)
/home/runner/work/gauge/gauge/execution/parallelExecution.go:104 +0x6e
github.com/getgauge/gauge/execution.(*parallelExecution).executeLazily(0xc000124090)
/home/runner/work/gauge/gauge/execution/parallelExecution.go:164 +0xa9
created by github.com/getgauge/gauge/execution.(*parallelExecution).run
/home/runner/work/gauge/gauge/execution/parallelExecution.go:147 +0x3d3
Steps to reproduce
Spec example 1
Tags: A, serial
Spec example 2
Tags: A, serial
execute command: gauge run --tags="A" --parallel -n 4 --only !serial
Gauge version
Your Environment Information -----------
linux, 1.1.1, 6e0d83f
html-report (4.0.12), java (0.7.9), json-report (0.3.1), spectacle (0.1.4), xml-report (0.2.3)

@jonathangiber I'm not able to replicate this issue. It works fine for mew with the versions which you have specified.
I have 10 specs, 9 tagged as "A". Out of the 9 specs 8 are tagged as "parallel".
The command which I ran  gauge run specs --tags="A" --parallel --only "parallel"
I tired with multithreading enable and disabled both.
Is there anything that I'm missing? Maybe you could create a sample project which we can use to replicate this.

Update: I'm able to replicate it.
Scneario
This happens when there are no specs to run in parallel after filtering.

Test Project https://github.com/BugDiver/gauge-java-issue-474


Upgrade System.Text.Json due to a high-severity vulnerability

VS is showing: Package 'System.Text.Json' 8.0.4 has a known high severity vulnerability, https://github.com/advisories/GHSA-8g4q-xg66-9fp4

it's already fix :) in 0.7.6


fix: merge tab issues

Description
Refactor ConflictInfo component to make it testable.
Fixes #12508
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Tests attached.
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:green_circle: Total coverage has increased
// Code coverage diff between base branch:release and head branch: fix-merge-tab

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
total
56.28 (0.04)
37.72 (0.04)
35.98 (0.07)
56.51 (0.04)

:green_circle:
app/client/src/ce/constants/messages.ts
77.36 (0.1)
100 (0)
33.05 (0.28)
82.17 (0)

:green_circle:
app/client/src/components/ads/Button.tsx
90.97 (0)
76.52 (0.87)
95.56 (0)
91.55 (0)

:green_circle:
app/client/src/components/ads/Text.tsx
93.44 (3.28)
84.38 (12.5)
100 (0)
93.33 (3.33)

:sparkles: :new:
app/client/src/pages/Editor/gitSync/components/ConflictInfo.tsx
100
100
100
100

:sparkles: :new:
app/client/src/pages/Editor/gitSync/components/InfoWrapper.tsx
100
75
100
100

:sparkles: :new:
app/client/src/pages/Editor/gitSync/components/Link.tsx
95.24
55.56
75
94.74

/ok-to-test sha=55d0e7d

/ok-to-test sha=a78d53d

/ok-to-test sha=2336a81

Failing test:

Failing test:


Support for operationName when submitting queries

The reference GraphQL implementation supports providing an operationName when the query doc contains multiple named queries (mutations). It would be nice if apollo client supported this idea so that I can have multiple named queries (mutations) in the doc and I could specify a current operationName through options object. So, currently you can specify variables for a query. In the same spirit, you could have operationName as an additional option. I see it very beneficial if I have a view (React) that can support two slightly different queries and I would like to select a query (operation) based on properties passed to a view.

What's the benefit of this versus providing them as two separate query documents?

First, it would allow me to have just one HOC wrapping my view. Second, I could decide which operation to run based on the property passed to the view from the parent.
Let's say I have a view called Customers that implements displaying a list of customers but could display it two ways: paged and non-paged. I would pass a prop called viewType to it. Based on that prop the view would render a slightly different UI and would submit a different query too. It would be wrapped in a single doc with two named queries and a view could specify which operation to run based on the passed prop viewType.
So, yes, you could do it the current way by creating two HOC elements with two different queries. I just think we could take advantage of the support of the operationName and optimize components if needed.

Personally, I don't think that's a good idea. It's better to keep the components and their data requirements simple. If you decide the data requirements based on the props passed in, it becomes more difficult to see what data that component actually uses.
That said, if you have a concrete convincing example that might help change my mind.

Yeah, I think having two HOCs right now is the right way. That makes things much clearer, rather than having complex logic which might do one query or another.

It's been a while, so I'll close this.

I have a case in Angular with a query const queryUser = gql``
fragment userFields on User {
  id
  firstName
  lastName
}

query User {
  user {
    ...userFields
  }
}

query UserById($id: Int) {
  user(id: $id) {
    ...userFields
  }
}

Where I would want to do this in my provider:
queryUser(id?: Number) {
  return this.apollo.watchQuery<{ user: User }>({
    query: queryUser,
    operationName: id ? 'UserById' : 'User',
    variables: id ? { id } : null,
  });
}

That would query the logged in user if no id is passed or a user by id if it is passed.
I read that queries should be static, so what would be better: this or doing template string interpolation to include the same fragment in two separate queries?


One Click Agi/Alch+

Hi there Sundar-Gandu,
I've really been enjoying your one click agility plugin! It's made agi on my iron a lot easier. I was wondering if you also have thought about having a one click alch OR having an option to AgiAlch for your one click plugin. To a main osrs player it'd be pretty useless but it's one of the quintessential things irons need to do that's quite boring. I'd be interested in helping out with this but am unsure about where to start with openosrs plugin development.
Cheers,
osrsalt

You arn't the first person to request this feature. I'll see what i can come up with.

🙏

If you have any thoughts on how you do it maybe I could take a stab at it and submit a PR? I just haven't developed plugins before but am familiar with java.

I apologize for taking so long. I just added the one click alch plugin. You can use that to alch while doing agility. The only thing you have to do is use a menu entry swapper to make sure the one click alch menu entry appears above the one click agility menu entry.


extra base.html file

Hey @yayoiukai
I see fileuploads/templates/base.html and it doesn't seem to be called anywhere -- seems to be the same as the higher-level base.html. Can I remove it?

yes you can!

Great! I have a branch that is changing the frontend around so I will do it in that branch.

cool

Merge of #123 will resolve this, closing early!


doesnt work with vite

Bug
Describe the bug
vue3 + vite
import SLDParser from "geostyler-sld-parser";
const parser = new SLDParser();
return error when call parser.readStyle
but when i use  work fine;
Screenshots

Additional context
Add any other context about the problem here.

Thanks for the info @yang6626
Which version of the geostyler-sld-parser are you using?
I am not familiar with vite, but there might be some build configuration missing.

thanks for the reply @jansule
i'm using 3.2.2

this package use xml2js which use node environment "events"，use command "npm install events" to fix the error.


Minor JavaDoc fix in GuildMessageUpdateEvent

Closing as duplicate of #632

@MinnDevelopment I think small incremental improvements are better than nothing at all and just leaving it there. Especially this line is a very eye-catching and obvious error. I don't have time to work on the java documentation for all the event classes, but fixing the javadoc gradually instead of one big pull-request lowers the entry-barrier and allows more people to contribute.

We are not looking for typo-fix pull requests.


git --no-pager log -1 pretty=format my_file

Hello,
I am trying to find the way to get the last commit on a file. I am doing it this way today...
exec.Command("git","--no-pager", "log", "-1", `--pretty=format:"%ad"`, file).Output()

Is there a better way ?

@mcuadros any pointers ?  git-blame doesn't work becuase i need to get the latest change

This functionality is not implemented, you will need to all the commits to find witch tree makes references to it, I suggest read the original implementation at cgit.

Duplicate https://github.com/src-d/go-git/issues/562


Added an optional argument for the Titled() component

name: Pull Request
about: Propose changes to the codebase
title: '[PR] '
labels: ''
assignees: ''

Proposed Changes
Updated the Titled() component to optionally accept a specific browser tab title that is different from the main H1 title.
For example in the fasthtml-tut repo I'm looking to update the various example files, and it would be useful to use the modified Titled() component to render the filename as the browser title, and the main H1 as it is currently.
Usage is:
@rt("/")
def get():
	return Titled('Main Page Heading', btitle='main.py')

If btitle is omitted then it behaves as before:
@rt("/")
def get():
	return Titled('Main Page Heading')

Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist
Go over all the following points, and put an x in all the boxes that apply:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] I am aware that this is an nbdev project, and I have edited, cleaned, and synced the source notebooks instead of editing .py or .md files directly.

I think I'd rather just have people pass in a separate Title component to the Container component, rather than updating the Titled component.


Include 5th and 6th orders in spectrogram modeling

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 67.17%. Comparing base (88ea6ed) to head (3173ab0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #34      +/-   ##
==========================================
- Coverage   67.26%   67.17%   -0.10%
==========================================
  Files          15       15
  Lines         724      722       -2
==========================================
- Hits          487      485       -2
  Misses        237      237

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


LinearLifetimeChecker SIL verification found an ownership error in MandatoryInlining

struct S<T>
{
}
extension S<Int?>
{
    mutating
    func foo(x:inout [Int: Int])
    {
        for _:Int in 0 ... 1
        {
            if let y:Int? = 0 as Int??
            {
                if case 0? = y
                {
                    continue
                }
            }
            else if case 0? = 0 as Int?
            {
                continue
            }
            { _ in }(&x[0, default: 0])
        }
    }
}

$ ~/.swiftenv/versions/DEVELOPMENT-SNAPSHOT-2022-09-06-a/usr/bin/swiftc test5.swift
error: compile command failed due to signal 6 (use -v to see invocation)
Begin Error in Function: '$s5test51SVAASiSgRszlE3foo1xySDySiADGz_tF'
Found outside of lifetime use!
Value: %35 = argument of bb1 : $Optional<@callee_guaranteed @substituted <τ_0_0> () -> @out τ_0_0 for <Optional<Int>>> // users: %137, %75, %82, %99, %100, %73
User:  br bb15(%34 : $Optional<@callee_guaranteed @substituted <τ_0_0> () -> @out τ_0_0 for <Optional<Int>>>, %101 : $Optional<@callee_guaranteed @substituted <τ_0_0> () -> @out τ_0_0 for <Optional<Int>>>) // id: %102
Block: bb14
End Error in Function: '$s5test51SVAASiSgRszlE3foo1xySDySiADGz_tF'
Found ownership error?!
triggering standard assertion failure routine
UNREACHABLE executed at /home/build-user/swift/lib/SIL/Verifier/LinearLifetimeCheckerPrivate.h:211!
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project and the crash backtrace.
Stack dump:
0.      Program arguments: /home/ec2-user/.swiftenv/versions/DEVELOPMENT-SNAPSHOT-2022-09-06-a/usr/bin/swift-frontend -frontend -c -primary-file test5.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -color-diagnostics -new-driver-path /home/ec2-user/.swiftenv/versions/DEVELOPMENT-SNAPSHOT-2022-09-06-a/usr/bin/swift-driver -empty-abi-descriptor -resource-dir /home/ec2-user/.swiftenv/versions/DEVELOPMENT-SNAPSHOT-2022-09-06-a/usr/lib/swift -module-name test5 -o /tmp/TemporaryDirectory.F6ckCD/test5-1.o
1.      Swift version 5.8-dev (LLVM a049441a0549936, Swift a973fe5375d3851)
2.      Compiling with the current language version
3.      While evaluating request ExecuteSILPipelineRequest(Run pipelines { Mandatory Diagnostic Passes + Enabling Optimization Passes } on SIL for test5)
4.      While running pass #78 SILModuleTransform "MandatoryInlining".
5.      While verifying SIL function "@$s5test51SVAASiSgRszlE3foo1xySDySiADGz_tF".
 for 'foo(x:)' (at test5.swift:7:5)

i reproduced this on DEVELOPMENT-SNAPSHOT-2022-08-18-a and DEVELOPMENT-SNAPSHOT-2022-09-06-a.

rdar://100371230 (Issue #61041: LinearLifetimeChecker SIL verification found an ownership error in MandatoryInlining)

Looks like this got fixed, at least as of the release/5.10 branch. I'm adding test coverage here: https://github.com/apple/swift/pull/71109


Metrics for cache and proxy resolution

In KIC 2.0 we added the concept of a Proxy interface which is responsible for resolving Kubernetes objects to Kong DSL and the upstream Kong Admin API.
The purpose of this issue is to add metrics for our caching client-go based implementation which caches and periodically resolves that cache to the Admin API.

Just a note, the metrics are part of the public interface for the controller and they shouldn't be broken so we should take extra precaution when we are introducing them and keep forward-compatibility in mind.

@shaneutt @hbagdi query for clarification : does controller expose kong (proxy, all the services deployed on the cluster) metrics using following handler ?
https://github.com/Kong/kubernetes-ingress-controller/blob/main/cli/ingress-controller/main.go#L633
how does this metrics associated to the Admin API /metrics endpoints ?

how does this metrics associated to the Admin API /metrics endpoints ?

The /metrics on Admin and Status API of Kong provides metrics for Kong proxy itself.
The metrics for controller are separate from the metrics of Kong proxy.
We don't want to mix those two.

https://github.com/Kong/kubernetes-ingress-controller/pull/1612 changed this such that we no longer manage cache in the proxy server, so this is no longer relevant.


Patch

Add a simple APKParser UI with tkinter

add manifest property, so you can writh code like

m = apkutils.APK("some.apk").manifest
print("packageName:", m.package_name)
print("version_code:", m.version_code)
print("main_activity:", m.main_activity)

Hope can be merged

when __VERSION__ in __init__.py, pip install will got the following error.
Obtaining file:///Users/codeskyblue/Workspace/apkutils
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/Users/codeskyblue/Workspace/apkutils/setup.py", line 3, in <module>
        from apkutils import __VERSION__
      File "/Users/codeskyblue/Workspace/apkutils/apkutils/__init__.py", line 7, in <module>
        import xmltodict
    ModuleNotFoundError: No module named 'xmltodict'

So I also modified here.

Thanks your request, but this is a library, not a tool.
I think you can release your tool as a new project.

OK, thanks you for making this awesome project. I will make another project.

BTW: this is an error, I think you should know

Because your OS don't have xmltodict, you can

pip install xmltodict
or run pip install -U apkutils again, it will be auto install .

it's not right

$ pip uninstall apkutils
Uninstalling apkutils-0.5.3:
  Would remove:
    /usr/local/miniconda3/lib/python3.6/site-packages/apkutils.egg-link
Proceed (y/n)? y
  Successfully uninstalled apkutils-0.5.3
$ pip uninstall xmltodict
Uninstalling xmltodict-0.11.0:
  Would remove:
    /usr/local/miniconda3/lib/python3.6/site-packages/xmltodict-0.11.0.dist-info/*
    /usr/local/miniconda3/lib/python3.6/site-packages/xmltodict.py
Proceed (y/n)? y
  Successfully uninstalled xmltodict-0.11.0
$ pip install -U apkutils
Collecting apkutils
  Downloading https://files.pythonhosted.org/packages/54/2d/b4d4068db1d1e150ae390379cbc5e0d4e545da85054c678ac71be4f75f5e/apkutils-0.5.3-py3-none-any.whl (68kB)
    100% |████████████████████████████████| 71kB 162kB/s
Collecting xmltodict (from apkutils)
  Downloading https://files.pythonhosted.org/packages/28/fd/30d5c1d3ac29ce229f6bdc40bbc20b28f716e8b363140c26eff19122d8a5/xmltodict-0.12.0-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: cigam in /usr/local/miniconda3/lib/python3.6/site-packages (from apkutils) (0.0.3)
Requirement already satisfied, skipping upgrade: pyelftools in /usr/local/miniconda3/lib/python3.6/site-packages (from apkutils) (0.24)
Installing collected packages: xmltodict, apkutils
Successfully installed apkutils-0.5.3 xmltodict-0.12.0

I tested on windows, linux. mac. It seems that is only happends on my mac.

My mac is worked.

never mind. Canot reproduce anymore


React based sample and AMP Validator

AMP Validator don't see AMP content in React based sample.
https://chrome.google.com/webstore/detail/amp-validator/nmoffdblmcmgeicmolmhobpoocbbmknc

Yes - that's working as intended. The validator requires the root document to be AMPHTML.

@sebastianbenz Do Google Search see AMP content in Shadow DOM?

When the service-worker is not installed, the user will be served the AMP version of the page, which is correctly validated by the AMP validator:

Once the service worker is installed, the request is caught by it and the app-shell is served. The app-shell itself is not an AMP page. It fetches the correspondent AMP page and uses the amp-shadow element to render it inside the shell.
So, whenever a user-agent sees the page for the first time, the AMP version is served. The AMP version will also be served when the user-agent does not support service-workers.

@andreban Service Worker is awesome. Thank you


Hashing long variant identifiers in the ETL

Context
The variant identifier generated from chr_pos_ref_alt problematic, as some in/dels can be very long, so the resulting string cannot be used as identifier. The alternative for such variants was to generate hash from the alleles and the variant id would look like this: OTVAR_chr_pos_#HASH. At this point, the logic lives in gentropy, however it poses some integrative issues as these variants coming from ClinVar exclusively.
The problem
ClinVar, Uniprot evidence are pulled from the evidence table by their variantId, which means that for long alleles these sources has to have the hashed identifier already, however gentropy shouldn't touch these datasets. It implies the ETL also does hashing... which doesn't sound right.
Proposed solution

To avoid discrepancies in the hashing, duplication in code, the hashing logic should be in the ETL, especially considering this being an integrative step.
The evidence files should have a field like variantIdFromSource that the ETL either leaves unchanged or hashes them when creating the real variantId
The same function should be applied on the variantId in the variant index.

While the implementation is not in place, there can be some interim solution:

We can be fine with that long variants are not linked to variant page (however, can break the cross-refs)
We can patch ClinVar and Uniprot data, so the variant Id is hashsed when the alleles are long.

Tagging @d0choa for ssuggestions.

To be implemented after the 24.09 Platform release

@remo87 , this is the current implementation of this functionality in gentropy:
    @staticmethod
    def hash_long_variant_ids(
        variant_id: Column, chromosome: Column, position: Column, threshold: int = 100
    ) -> Column:
        """Hash long variant identifiers.

        Args:
            variant_id (Column): Column containing variant identifiers.
            chromosome (Column): Chromosome column.
            position (Column): position column.
            threshold (int): Above this limit, a hash will be generated.

        Returns:
            Column: Hashed variant identifiers for long variants.

        Examples:
            >>> (
            ...    spark.createDataFrame([('v_short', 'x', 23),('v_looooooong', '23', 23), ('no_chrom', None, None), (None, None, None)], ['variantId', 'chromosome', 'position'])
            ...    .select('variantId', VariantIndex.hash_long_variant_ids(f.col('variantId'), f.col('chromosome'), f.col('position'), 10).alias('hashedVariantId'))
            ...    .show(truncate=False)
            ... )
            +------------+--------------------------------------------+
            |variantId   |hashedVariantId                             |
            +------------+--------------------------------------------+
            |v_short     |v_short                                     |
            |v_looooooong|OTVAR_23_23_3749d019d645894770c364992ae70a05|
            |no_chrom    |OTVAR_41acfcd7d4fd523b33600b504914ef25      |
            |null        |null                                        |
            +------------+--------------------------------------------+
            <BLANKLINE>
        """
        return (
            # If either the position or the chromosome is missing, we hash the identifier:
            f.when(
                chromosome.isNull() | position.isNull(),
                f.concat(
                    f.lit("OTVAR_"),
                    f.md5(variant_id).cast("string"),
                ),
            )
            # If chromosome and position are given, but alleles are too long, create hash:
            .when(
                f.length(variant_id) > threshold,
                f.concat_ws(
                    "_",
                    f.lit("OTVAR"),
                    chromosome,
                    position,
                    f.md5(variant_id).cast("string"),
                ),
            )
            # Missing and regular variant identifiers are left unchanged:
            .otherwise(variant_id)
        )

@DSuveges I have a couple of questions:

Does this mean that we need to process the variant index entries to hash the id?
Also every evidence input that has the variantId field needs to be hashed? or do we need hash some specific evidence input.

@remo87 ,

Yes, the hashing process will only happen in the ETL, so any sources that have variantId (variant index, evidence, pharmacogenetics needs to be processed.
The resulting column should be variantId. I'm wondering if for evidence the old column should be renamed into variantFromSourceId... What do you think?

I'm not sure we want to add a variant index step to the platform ETL, just because of this.
My first instinct was to apply the hashing in evidence and pharmacogenetics, and gentropy would handle the hashing of the variantIndex. It's true the two codebases would need to be aligned, but they need to be for many other reasons.


ERROR: clGetPlatformIDs(-1001)

When running roslaunch kinect2_bridge kinect2_bridge this error message repeatedly pops up
Running gefore 930m with nvidia 352 drivers
[kinect2_head_kinect2_bridge-2] restarting process
process[kinect2_head_kinect2_bridge-2]: started with pid [10824]
[DepthRegistration::New] Using OpenCL registration method!
[DepthRegistration::New] Using OpenCL registration method!
[OpenCLDepthPacketProcessor::init] ERROR: clGetPlatformIDs(-1001)
terminate called after throwing an instance of 'cl::Error'
what():  clGetPlatformIDs
[kinect2_head_kinect2_bridge-2] process has died [pid 10824, exit code -6, cmd /home/pc7/workspace/ros/catkin/devel/lib/kinect2_bridge/kinect2_bridge __name:=kinect2_head_kinect2_bridge __log:=/home/pc7/.ros/log/c8cf4442-3e01-11e6-aa30-e728ea441c89/kinect2_head_kinect2_bridge-2.log].
log file: /home/pc7/.ros/log/c8cf4442-3e01-11e6-aa30-e728ea441c89/kinect2_head_kinect2_bridge-2*.log
[kinect2_head_kinect2_bridge-2] restarting process

the 940m graphics card has not been tested by us to verify that it is supported per our deployment guide. With that said did you run:
 cd ~/workspace/ros/catkin/devel/lib/kinect2_bridge
 sudo ./kinect2_bridge

before running:
roslaunch kinect2_bridge kinect2_bridge.launch
more information can be found here. Did you follow these directions?

also, this may solve your error:
delete the open_ptrack folder in /home/[replace with home folder]
Now in the terminal:
ln –s /home/[replace with home folder]/workspace/ros/catkin/src/open_ptrack  /home/[replace with home folder]
then:
roscd open_ptrack/../scripts
chmod +x kinect2_install.sh
./kinect2_install.sh
now try running roslaunch kinect2_bridge kinect2_bridge.launch again, after running ( this needs to be done after each restart)
cd ~/workspace/ros/catkin/devel/lib/kinect2_bridge

For followup as to people who may have the same issue, it is a drivers issue causeed by NVIDIA Optimus. Ideally, the computer you use should not have optimus but in the event it does use NVIDIA prime to try to fix it. For our laptop(dell inspiron with nvidia gtx 960m, our solution ended up being using the following guide to reconfigure our xorg settings after installing nvidia drivers
http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html
The one change made from this document is .xinitrc was changed to .xsessionrc


Install error

composer create-project simple-swoole/skeleton ./simps
Creating a "simple-swoole/skeleton" project at "./simps"

  [InvalidArgumentException]
  Could not find package simple-swoole/skeleton with stability stable in a ve
  rsion installable using your PHP version, PHP extensions and Composer versi
  on.

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package>] [<directory>] [<version>]

macOS 12
php -v
PHP 8.1.1 (cli) (built: Dec 17 2021 22:21:23) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.1, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.1, Copyright (c), by Zend Technologies

 composer -V
Composer version 2.2.3 2021-12-31 12:18:53

php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
exif
FFI
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
intl
json
ldap
libxml
mbstring
mysqli
mysqlnd
odbc
openssl
pcntl
pcre
PDO
pdo_dblib
pdo_mysql
PDO_ODBC
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
pspell
readline
Reflection
session
shmop
SimpleXML
soap
sockets
sodium
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

I tested it with no problem, please check if your composer corresponds to the same PHP.


TODO - Coding: Update medication mapping code

Needed Scripts: Update medication concept annotation code

[x] Code to map RxNORM strings to DrugBank and return synonyms

Inputs: pandas data frame
Output: csv with maps between medication concepts and OBOs

[x] Medications code mapping update is complete! See stats below. 🎉

Unique medications (n=8,657)
Unique ingredients (n=1,660)

Mapping Type
Count

Automatically Mapped
1071

Manually Mapped - Exact
42

Manually Mapped - Synonym
164

Manually Mapped
91

Manually Mapped - Constructor
292

Final mapping can be accessed here.

Closing. Will shift focus to manuscript development.


optional worked hours correction

This PR adds an optional environment variable WORKED_HOURS_CORRECTION which can be positive or negative.
If the variable is not set, the behaviour will be the exact same as before.
Example of an output with a positive value:
total_should_have_worked_time
10.0
total_worked_time
9.0
worked_hours_correction
2.0
You have some over time
1.0
Example of an output with a negative value:
total_should_have_worked_time
10.0
total_worked_time
9.0
worked_hours_correction
-2.0
You owe big brother
-3.0

Hi @karine-larouche thanks for contributing. I realized my contributing.md was out of date.
Can you please add yourself as a (contributor)[https://github.com/wilau2/harvest-balance-calculator/pull/45] to this project?
Can you please add uses cases to your PARAM in the documentation?
Ex: You forgot to add 7.5 in a vacation day sometimes and the timesheet is already approved.
Again, Thanks for contributing.
P.S. Sorry for the delay.


save and load with Esri XYZ map does not work

config is:
{"layers":[{"type":"Group","properties":{"type":"base-group","title":"Base Maps","opacity":1,"visible":true,"zIndex":0,"id":"sdk-layer-1"},"children":[{"type":"Tile","properties":{"type":"base","title":"OSM Streets","opacity":1,"visible":false,"zIndex":0,"preload":0,"useInterimTilesOnError":true,"id":"sdk-layer-5"},"source":{"type":"OSM","properties":{"attributions":["© OpenStreetMap contributors."]}}},{"type":"Tile","properties":{"type":"base","title":"CartoDB light","visible":false,"opacity":1,"zIndex":0,"preload":0,"useInterimTilesOnError":true,"id":"sdk-layer-4"},"source":{"type":"XYZ","properties":{"attributions":["© OpenStreetMap contributors, © CartoDB"],"urls":["http://s.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png"]}}},{"type":"Tile","properties":{"type":"base","title":"CartoDB dark","visible":false,"opacity":1,"zIndex":0,"preload":0,"useInterimTilesOnError":true,"id":"sdk-layer-3"},"source":{"type":"XYZ","properties":{"attributions":["© OpenStreetMap contributors, © CartoDB"],"urls":["http://s.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png"]}}},{"type":"Tile","properties":{"type":"base","title":"ESRI world imagery","visible":true,"opacity":1,"zIndex":0,"preload":0,"useInterimTilesOnError":true,"id":"sdk-layer-2"},"source":{"type":"XYZ","properties":{"attributions":["Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community"],"urls":["http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}"]}}}]}],"view":{"projection":"EPSG:3857","center":[44273659.73019075,8749034.005966354],"resolution":2445.98490512564,"rotation":0}}

unable to reproduce now again, weird


README.md updates

Fixup the README.md to reference implementation/specification and to explain how to use sbt run.

Travis is acting odd... Trying this from @seldridge fork.


[PL-31825] Added note for referencing secrets

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Preview environment: https://hdh.pr.harness.io/pr-966

Preview environment: https://hdh.pr.harness.io/pr-966

Preview environment: https://hdh.pr.harness.io/pr-966


can't compile bef_executor in debug mode for GPU

when doing:
bazel build --config=cuda -c dbg //tools:bef_executor
using  clang-10 as the underlying compiler, it errors out with:
ERROR: /home/baarts/tensorflow/runtime/tools/BUILD:106:1: Linking of rule '//tools:bef_executor' failed (Exit 1)
third_party/concurrent_work_queue/lib/task_queue.h:0: error: undefined reference to 'tfrt::internal::TaskQueue::kCapacity'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Target //tools:bef_executor failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 307.380s, Critical Path: 141.03s
INFO: 870 processes: 870 local.
FAILED: Build did NOT complete successfully
root@a23601beb844:/home/baarts/tensorflow/runtime#
kCapacity is a static data member that doesn't have an out of class definition. This is required for C++ <= 14.
Since this is a headerfile only class definition, there's no obvious location to put the defintion.
Using c++17 instead of c++14 (in .bazelrc) makes the compilation succeed.

Thank you for notifying the issue! The bug is fixed with https://github.com/tensorflow/runtime/commit/aa1f5402f7e0768f5f6a97707effcf3bf187be04
We also improved our continuous testing to include building TFRT with all three (fastbuild, dbg, opt) modes.
Currently there are still some issues on building with GCC in debug mode, which we are working on a fix.


Allow an ENV variable to be prepended to the host

When PLEK_HOSTNAME_PREFIX is set, it will be prepended to the returned host.
This behaviour is overridden by the PLEK_SERVICE_xxx_URI functionality, because prepending plus manual override would cause unexpected behaviour.
We intend to use this in the draft stack to append draft- to our hostnames.
TODO

[ ] @mattbostock to push Go code

:+1: Ruby version looks good to me.

I've added the Go code and squashed it into Brad's commit.


docs?

any docs/article about what it does? and how to use?

I plan to do a blog post about how it works and my learnings at some point.


Revised Task Scheduler design docs

Fixed the title of the Periodic Scheduler design doc.
Fixed the formatting of lists.

Coverage remained the same at 87.904% when pulling f69d100a2761bfbcc89b111514c41278c6c0a0c5 on HuangDave:task_scheduler into 5434e47746b96573c2482c0301cba7aebca2420e on kammce:master.


Why does p_taskvardecl not support Output types?

I've just hit a parse error that seems strange.  In parser.py, why does p_taskvardecl not include a check for the Output type?
def p_taskvardecl(self, p):
        """taskvardecl : decl
        | integerdecl
        """
        if isinstance(p[1], Decl):
            for r in p[1].list:
                if (not isinstance(r, Input) and not isinstance(r, Reg) and
                        not isinstance(r, Integer)):
raise ParseError("Syntax Error")

Task statement support will be available in the next version with SystemVerilog suuport.
SystemVerilog support is under development on feature_systemverilog branch.


Question about grapheme set

Hello. Thank you for this amazing repository!
I have a question though. What’s the easiest way to get a unique grapheme set for a specific language? How did you get that list when training a multilingual model?

Hi, you can just extract it from the training data. E.g. you collect the set of characters from it and then paste the result into the config. That's basically how i proceeded for the trained models (I filtered some graphemes though).

Hi @cschaefer26 , I wanted to train the model for hindi, but had doubts on how I need to make the config file, especially the input and output because I'm getting index out of range error. Thanks!

Hi, you can use the standard config file, but you will have to adjust the text_symbols and phoneme_symbols according to the symbols that occur in your dataset!

Got it working, thanks!

Nice, let me know if you run into issues.

Hi, so I realized that in my phoneme set, if some of the phonemes have multiple characters, it doesn't get parsed and those multiple char phones are either removed or replaced after preprocessing.
Any solutions to this issue?

Hi, multiple characters shouldn't be a problem, the cmudict model has multi-char phonemes: https://github.com/as-ideas/DeepPhonemizer#:~:text=en_us_cmudict_forward
You can pass each sample as a tuple of [str, list, list], e.g. ('en', ['foo'], ['bar'])

So, I am training it in hindi and phones like t͡ʃ and ẽː dont get parsed. I used these as inputs for the tokenizer and there is no output meaning it doesn't get tokenized.
PS. t͡ʃ is actually 3 chars, not 2. Would that cause a problem?

No that should be fine. Actually your example looks more like there should be just three phoneme chars as output (t͡ʃ). Just make sure the symbols are present in the config (phoneme_symbols, e.g.  '͡')

Oh, So should I separate the chars of that phone as 3 different elements in the list?
e.g ['t', '͡', 'ʃ')

Yes, that's also how the standard config is set. You can then simply provide the phonemized words as strings.

Great, one last question. I have around 11k entries in my dataset and modified the config file for val_counts to be 1000. So I train it on around 10k entries. Is there any way I can test out my model on the val_dataset and compare it to the ground truth?
Thanks for all your help!


Move models to interface

Currently there is multiple models and interfaces, this should be changed by having multiple models in a single interface. Once this is performed, refl1d can be re-added to the available engines.

In progress in #86

Closing with #86


0.14.1

This is the 0.14.1 working branch.
The individual commits have already been reviewed.
@juliusv

:+1:

LGTM


⚠ Bofrost.es has degraded performance

In 2bc9922, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1630 ms

Resolved: Bofrost.es performance has improved in f39bd85 after 6 minutes.


Unusable BOLD-T1w coregistration in ds000323

sub-02 ses-03_task-main_run-01
Could be related to #895

I can confirm that this is not one of the worst cases. Limited FoV is a hard problem. Do you recall if this dataset has fieldmaps?

It does not have fieldmaps. I did a bit of digging and found that people recommend acquiring a full brain BOLD scan and using it as an intermediate coregistration target. This dataset did not have such extra scan.
I also read that BBR should be pretty robust to such partial FOV acquisitions - unless the initialization screwed things up. Might be worth looking at the initialization.

That all seems completely reasonable. Agree on the probable initialization problem :+1:


Unable to Install serialport on Raspberry PI 3

Operating System and Hardware: Raspberry PI 3 - Raspian
NodeJS Version: v6.3.0, NPM 3.10.3
Serialport version: Any
Python Version (if you're having trouble building serialport): 2.7.9
(Run node -v && npm -v && python --version to get the version numbers.)
Expected behavior
Trying to Install Serial Port with the following command:
sudo npm install serialport
Actual behavior
The install fails, with the following errors (debug log attached)
I have followed all of the instructions described here for a raspberry pi - with a fresh install of Raspbian: https://github.com/nebrius/raspi-io/wiki/Getting-a-Raspberry-Pi-ready-for-NodeBots
However this has not fixed the problem, I have even tried older versions of serialport and have the same issues.
Are there any further steps I need to complete for it to work on the raspberry pi 3 ? I am really keen to get this working :-)
Thank you in advance,
Output:

<EMAIL_ADDRESS>install /home/pi/node_modules/serialport
node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download: https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.1/serialport-v4.0.1-node-v48-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v48 ABI) (falling back to source compile with node-gyp)
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.3.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/node_modules/serialport/.node-gyp"
make: Entering directory '/home/pi/node_modules/serialport/build'
make: *** No rule to make target '../.node-gyp/6.3.0/include/node/common.gypi', needed by 'Makefile'.   System Linux 4.4.13-v7+
gyp ERR! command "/usr/local/node/bin/node" "/usr/local/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/home/pi/node_modules/serialport/build/Release"
gyp ERR! cwd /home/pi/node_modules/serialport
gyp ERR! node -v v6.3.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/node/bin/node /usr/local/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/home/pi/node_modules/serialport/build/Release' (1)
node-pre-gyp ERR! stack     at ChildProcess. (/home/pi/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:852:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
node-pre-gyp ERR! System Linux 4.4.13-v7+
node-pre-gyp ERR! command "/usr/local/node/bin/node" "/home/pi/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/pi/node_modules/serialport
node-pre-gyp ERR! node -v v6.3.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.29
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/node/bin/node /usr/local/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/home/pi/node_modules/serialport/build/Release' (1)
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.
npm ERR! Linux 4.4.13-v7+
npm ERR! argv "/usr/local/node/bin/node" "/usr/local/bin/npm" "install" "serialport"
npm ERR! node v6.3.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs serialport
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls serialport
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm-debug.txt
Steps and/or code to reproduce the issue
sudo npm install serialport

Yes I am running this with the standard root 'pi ' user.

I've tried all sorts and in the end the following command worked for me:
sudo npm install serialport -unsafe-perm
I was unsure what -unsafe-perm actually did and found an explantion here:
http://nodered.org/docs/hardware/raspberrypi.html
Note: the reason for using the --unsafe-perm option is that when node-gyp tries to recompile any native libraries it tries to do so as a "nobody" user and often fails to get access to certain directories. This causes alarming warnings that look like errors... but sometimes are errors. Allowing node-gyp to run as root using this flag avoids this - or rather shows up any real errors instead.
Is this approach recommended?

Thats great I'm happy with that :-) I think you should perhaps look to include this in your documentation for the raspberry pi install.

Hi. I wonder why
sudo npm install serialport --unsafe-perm
works on a Raspberry Pi and global install:
sudo npm install serialport --unsafe-perm -g
doesn't.


ConfigureSidebar feature does not work as expected

Expected behavior

The configureSidebar settings should configure a sidebar order.  If we remove an element from the array, then this menu section must be disabled in the application menu setup mode.
Actual behavior

Menu items don't follow the order in the configureSidebar setting.
If we remove an item from the configureSidebar Array them this section disappears completely even from menu setup mode, but you can go there by URL.
Environment

Browser:
- [ ] Chrome version XX
- [ ] Firefox version XX
- [ ] Safari version XX
- [ ] Opera version XX
- [ ] IE version XX
- [ ] Edge version XX

Others:

Connected feature ID

sidebar_reorder
config_configure_sidebar
Screenshots

Addition restriction:
If a user turns off the visibility of VM section and makes logout => login then he will be redirected to VM section by default. So we decided don't allow turn off the visibility of the VM section.

Tested on a simulator of branch "1166-configure-sidenav"


Add support for the Ledger Nano S Plus

Add support for the Ledger Nano S Plus, please (The Nano S is no longer available for purchase)
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 2c97:5011 Ledger Nano S Plus <--------------
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

./oasis-core-ledger list_devices
[no response]

./oasis-core-ledger show_address
ts=2022-12-07T11:45:49.041761868Z level=error module=cmd caller=address.go:59 msg="failed to connect to ledger device" wallet_id=null err="ledger/oasis: no device detected"

no device detected but i can see it listed with lsusb
ledger fw is : 1.0.2 / oasis app: 2.3.8

Probably just need to bump the underlying library that handles the USB interactions.
https://github.com/Zondax/ledger-go/pull/21