Timestream write ray support

Feature or Bugfix

Feature
Refactoring

Detail

Ray support for timestream write
num_threads argument changed to use_threads to be consistent with the rest of awswrangler + support of os.cpu_count()

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: af6d8a1d3fb9515f20f3c2709a6fa5cc0d1a0b3f
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubLoadTests5656BB24-s6u9F3qN9oFy
Commit ID: efab4f370ae0f99a5e6af725579d58343759f358
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: efab4f370ae0f99a5e6af725579d58343759f358
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: efab4f370ae0f99a5e6af725579d58343759f358
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubLoadTests5656BB24-s6u9F3qN9oFy
Commit ID: 8f26c3c9940cdbddb45bb3ad4a8fd27a31a3e9b6
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 8f26c3c9940cdbddb45bb3ad4a8fd27a31a3e9b6
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Looking good. Did you test this in ray and non-ray scenario?

When running standard unit tests there is still an issue, I'm investigating it.

Looking good. Did you test this in ray and non-ray scenario?

When running standard unit tests there is still an issue, I'm investigating it.

I think you just need to move this argument to become the first one in _write_batch instead of database. This is because the self.exec.map method in threading is submitting boto3_primitives as the first argument

AWS CodeBuild CI Report

CodeBuild project: GitHubLoadTests5656BB24-s6u9F3qN9oFy
Commit ID: e810b7876e28f94ab1bf2ee65c5f459157134e29
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: e810b7876e28f94ab1bf2ee65c5f459157134e29
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubLoadTests5656BB24-s6u9F3qN9oFy
Commit ID: fd2c127284d1f34fd0a26277857cab15e2d98c7d
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubStandardCodeBuild8C06-llutOAimTATs
Commit ID: fd2c127284d1f34fd0a26277857cab15e2d98c7d
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: fd2c127284d1f34fd0a26277857cab15e2d98c7d
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: fd2c127284d1f34fd0a26277857cab15e2d98c7d
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: 964d1095a1297518ac1c1e831ecd576c53844ca8
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubLoadTests5656BB24-s6u9F3qN9oFy
Commit ID: 964d1095a1297518ac1c1e831ecd576c53844ca8
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubStandardCodeBuild8C06-llutOAimTATs
Commit ID: 964d1095a1297518ac1c1e831ecd576c53844ca8
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: 03a75bcd059a40da1055d19348ab0b303f462b9d
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubLoadTests5656BB24-s6u9F3qN9oFy
Commit ID: 03a75bcd059a40da1055d19348ab0b303f462b9d
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubStandardCodeBuild8C06-llutOAimTATs
Commit ID: 03a75bcd059a40da1055d19348ab0b303f462b9d
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: 3c4ee13c93eee9c1fd50ac2c08f520a600fcbb16
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubLoadTests5656BB24-s6u9F3qN9oFy
Commit ID: 3c4ee13c93eee9c1fd50ac2c08f520a600fcbb16
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubStandardCodeBuild8C06-llutOAimTATs
Commit ID: 3c4ee13c93eee9c1fd50ac2c08f520a600fcbb16
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: e0b75f200dcf4c695ba015a0e4540f38d0ffba2d
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubStandardCodeBuild8C06-llutOAimTATs
Commit ID: e0b75f200dcf4c695ba015a0e4540f38d0ffba2d
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubLoadTests5656BB24-s6u9F3qN9oFy
Commit ID: e0b75f200dcf4c695ba015a0e4540f38d0ffba2d
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: cbd2eadb71c98fc3e3a2a98f7661ed98126bc428
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubStandardCodeBuild8C06-llutOAimTATs
Commit ID: cbd2eadb71c98fc3e3a2a98f7661ed98126bc428
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubLoadTests5656BB24-s6u9F3qN9oFy
Commit ID: cbd2eadb71c98fc3e3a2a98f7661ed98126bc428
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Superseded by #1715


Multi GPU support

I was wondering if there are any plans to release multi-gpu training code?
Naively pmapping and using DDPPO does not seem to scale well, as the gpus remain idle while syncing the gradients.

Ahh that's a good idea. It was not on the roadmap, but I would imagine doing something like it would not be that difficult.
Do you think it would just largely involve pmean-ing the grad updates?

also interested in this. +1

Awesome! I took a quick look -- I see that the env steps per second scales linearly; however, do you know how performance scales with time?

@luchris429 It just takes a bit more to compile in general. I didn't notice any other performance dips for the 10 minute and ~8 hour runs.


Autorest Regen Preview to 3.0.0-alpha.20231130.1 by Chun Yu from refs/pull/3991/head

Triggered from https://github.com/Azure/autorest.csharp/pull/3991

API change check
API changes are not detected in this pull request.


Bazel Android Support

Adding support to build for android with Bazel shouldn't be hard. We should set this up
https://docs.bazel.build/versions/master/android-ndk.html

I'd rather we not do this unless it's actually requested by enough users, or if it makes development significantly easier in some way.
Supporting another platform + build system combination otherwise seems like unnecessary complexity.
fyi @KoolJBlack (we've discussed this a bit recently)

Closing as obsolete.


RegExpJsToJavaConverter \p{L} Unicode property escapes

We have an HTML pattern that looks like this:
<input type="text" pattern="[\p{L}0-9 _'@&,?/]*"/>

Observe the \p{L}. This is a Unicode property escape for the Letter group.
The RegExpJsToJavaConverter.convert() method replaces this with [p\{L\}0-9 _'@&,?/]*.
Notice the missing backslash before the p and the added backslashed before the { and }.
Is it possible to fix this?
Also see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions/Unicode_property_escapes

Yes will try to fix that - hope you are already at version 3.1

Have done a fix for this - please check the latest 3.2.0-SNAPSHOT.

We're waiting for a spring update to allow our project to use the 3.x release of HtmlUnit.
I did take a look at your code and it looks good.
Can we perhaps add a test like:
assertEquals("[^\\p{gc=Co}\\p{gc=Cn}]+", regExpJsToJavaConverter.convert("[^\\p{gc=Co}\\p{gc=Cn}]+"));

yes, passes also
can you provide some input that passes this and some that fails...
To add a test case similar like this
@Test
@Alerts("true")
public void validationPatternUnicodePropertyEscapeLowercaseLetter() throws Exception {
    validation("\\p{Ll}*", "&#x043C&#x0439&#x0440");
}

Ok found something....

The Cn group is currently empty (so untestable), according to https://www.fileformat.info/info/unicode/category/Cn/index.htm
The Co group has six characters: https://www.fileformat.info/info/unicode/category/Co/list.htm
@Test
@Alerts("true")
public void validationPatternUnicodePropertyEscapeCategoryPrivateUse() throws Exception {
    validation("[\\p{gc=Co}]+", ""); //Not sure this will copy/paste right
    validation("[\\p{gc=Co}]+", "󰀀");
}

Done, will close this. Thanks.


Use image transport to publish images

This node is trying to use image_transport,
https://github.com/orbbec/OrbbecSDK_ROS1/blob/2385c916dcb5c1a3eae1891f5981bc20d638687f/CMakeLists.txt#L51
but it is actually a ros::Publisher
https://github.com/orbbec/OrbbecSDK_ROS1/blob/2385c916dcb5c1a3eae1891f5981bc20d638687f/include/orbbec_camera/ob_camera_node.h#L276

This is rather must-have in ROS (1 and 2)

http://wiki.ros.org/image_transport

image_transport should always be used to subscribe to and publish images. It provides transparent support for transporting images in low-bandwidth compressed formats.

Direct Image publishing is generally not used in ROS, it is handled by image_transport.
@Tacha-S changes for image_transport support adapted for current master can be found here:

https://github.com/Extend-Robotics/OrbbecSDK_ROS1/commit/1ad41b525ff3890853915ea97aa3001eda06a267

A quick workaround if somebody needs to use image_transport without modifying code is to run image_transport republish
http://wiki.ros.org/image_transport (section 5)

fixed by https://github.com/orbbec/OrbbecSDK_ROS1/commit/38d8403ac2d0895dd7585af6343f216d8d530f86


Suspension cards for assignments show up as blank on the UI

There is no additional info when opening the json file.
We want to show the same data as we do with edit/create

We are circling back to the fact that it's not a database.
This is suspension proposal so it doesn't contain much information.
So I need to manage the join in the UI which will add more requests.
Expect some more lagging on this screen.

I think we need to bite the bullet since the suspension is a) super
sensitive and b) totally unclear what it is about.
On Tue, Oct 13, 2020 at 10:22 AM Grégory LATINIER<EMAIL_ADDRESS>wrote:

We are circling back to the fact that it's not a database.
This is suspension proposal so it doesn't contain much information.
So I need to manage the join in the UI which will add more requests.
Expect some more lagging on this screen.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hypha-dao/dho-web-client/issues/139#issuecomment-707773042,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF4UQTV4NCBGDBM4LMOQRKDSKRPBPANCNFSM4SO6HEHA
.


Failed to execute "terraform apply" on IAM user module

when I tried the example from example/iam-user and execute this command
$ terraform init
$ terraform plan

I got this error :
$ Error: module.iam_user.aws_iam_user_login_profile.this: expected type of password_length to be string

How to solve this ?
Iam this terraform version :
Terraform v0.11.5
+ provider.aws v1.12.0

There is an issue about this already in Terraform AWS provider, which is fixed and will be released in v1.13.0 - https://github.com/terraform-providers/terraform-provider-aws/pull/3919


URL that other sites can access this container at.

Im trying to use the docker with Unraid. Can you elaborate why I would need to use "URL that other sites can access this container at." Im opened the link up in VLC player to test and it has to ip addresses. Why cant I just use my Unraid ip with correct port?

You can. The server just needs to know to generate the HLS manifest so your clients know where to download the chunks.


Cryptopia order books fixed false parsing

Parsing order books from Cryptopia was partially wrong, 'Total' in the order books from Cryptopia API was representing the total value in base currency and not the volume that it was supposed to.  So if we take CHC/BTC market for an example, price would be parsed ok but the amount would be represented in BTC amount (base currency)  and not in CHC amount.

Thanks a lot for this fix! Merging!


Creates CONTRIBUTING.md

A doc on how to contribute.

@rubytaiwan/rubyists :ok_hand: ?

:ok_hand: :bow:

Looks good.


Create Professor Page

The layout should be similar to the Course Page, but without the prerequisite component.

[x] Summary Card
Display the following fields: ucinetid, phone, title, department, course_history
[x] Schedule of Classes Component
Filter course offerings by this professor
[x] Grade Distribution Component
Change the dropdown to list of courses this professor taught
[x] Reviews
Filter reviews by this professor's ucinetid
Use the professorID query parameter in the GET request

The professor page is pretty much done. The one minor thing is the grade distribution doesn't display the specific professor right away and the user would have to change it on the dropdown.
Ex: On Thornton's page, the grade distribution shows Bannister's grades first

But it's kinda hard to fix so I just left it like that haha


Added token_separators option

Hi!
new Typesense features (since 0.22.0) are not yet available.
I will try to add the missing options as soon as I have time.

PHPUnit_Framework_MockObject_MockObject is removed since PHPUnit 8. See this issue

Hi @npotier
I'm waiting for your feedback 😉

Thanks a lot for this PR


Split system tests for API 300

Description
System tests are suitable for the API 300. Test strategy to run tests for different schemas. Please read the README.md file from the spec/system/README.md file for instructions.
Issues Resolved
#109
Check List

[ ] New functionality includes testing.

[] All tests pass ($ rake test).

[x] New functionality has been documented in the README if applicable.

[ ] New functionality has been thoroughly documented in the examples (please include helpful comments).

[ ] Changes are documented in the CHANGELOG.

@tmiotto fixed review.


Unable to authenticate

As you can see below, i can login via api whit no problems via postman, but whanever i try to log in whit npm login on gitbash i get 409 Error.

This is my conf.yaml

(Also is there any npm command to authenticate?) npm login is an alias to npm adduser

If you using sinopia-request.
In the prototype body is always empty.
`_request( options, function ( err, res, body ) {
        if ( err ) {
            err.status = 500;
            return callback( err );
        }
        else if ( body === undefined || body.result === undefined ) {
            err = new Error( 'Bad server response.' );
            err.status = 500;
            return callback( err );
        }
        else
            return callback( null, body.result );

    } );`

So u always get stuck in the 2 if.


TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object '#'

🚨 See https://github.com/facebook/jest/issues/8069#issuecomment-470520613 for status 🚨

🐛 Bug Report
My jest tests works in all node versions but not node 11.11
TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object '#<process>'
  at _default (node_modules/jest-util/build/createProcessObject.js:85:34)

To Reproduce
https://travis-ci.org/juanjoDiaz/serverless-middleware/builds/502781207
Expected behavior
Jest behaves the same in all versions of Node.
Link to repl or repo (highly encouraged)
https://travis-ci.org/juanjoDiaz/serverless-middleware/builds/502781207
Issues without a reproduction link are likely to stall.

for those facing this issue: this happened after Node v11.11. the quickest fix is to downgrade Node to 11.10.1 in your CI lock file until further investigation

Seeing the same problem this morning - downgrading to node 11.10.1 works as a temp fix

To save people using Travis some time, if you don't need the latest stable node you can modify your .travis.yml and add:
node_js:
- 8

This has been fixed in #8050. Currently available as 24.2.0-alpha.0

<EMAIL_ADDRESS>is now available as latest.
If you are stuck on an older version of Jest, you can wait for https://github.com/nodejs/node/pull/26488 or lock down your node version

I updated Jest to 24.3.1 but still see this error on node 11.11.0 on Travis CI, anyone else? 🤔

What's the output of npm ls jest-util or yarn why jest-util?

@SimenB
oh I see... jest-environment-jsdom-thirteen could be the culprit here
+--<EMAIL_ADDRESS>| `--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   | `--<EMAIL_ADDRESS>|   `--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>  `--<EMAIL_ADDRESS>

It should be in semver range, so a npm dedupe might fix it

I updated Jest to 24.3.1 but still see this error on node 11.11.0 on Travis CI, anyone else? 🤔

I tried both 24.2.0-alpha.0 and 24.3.0 and still got the same error. Every test passes locally and every test fails on Travis with this same error.

Do you have a lockfile? Or a cached node_modules on CI?

Do you have a lockfile? Or a cached node_modules on CI?

Not sure about cached node_modules, but I do have several package-lock.json files (in root and a few subdirectories). Maybe removing these and then reinstalling with Jest version 24.3.0 would help, do you think?

Woohoo! Thanks @SimenB , removing the lockfiles and reinstalling with the newer version of Jest fixed the problem. I appreciate your help!

Jest 24, user babel.config.js instead of .babelrc, I had to change it before it started working after upgrading from 23.6 to 24.4

@SimenB Could you backport the fix to Jest 23? It's been breaking CI for v23 users that include the latest version in their CI config.

The fix landed in Node a few hours ago, I think it's fine to either use a slightly older version of node on CI or wait for release of a new version of node

i guess i will have to wait for the fixed node version. because in my project we still use babel 6 and that seems to not be compatible with jest 24. it fixes this issue, but then seems to lead to issues when not migrated to babel 7

There were mainly two solutions for this problem

Upgrade your jest version to 24.3.0 ( which didn't worked for me)
Downgrade your node version to 11.10.1

I know that downgrading node version is not a good solution but for those who want to run your tests anyways can try it. By downgrading their node version from 11.11.1 to 11.10.1
Install package call "n" .
This n package helps you to  Interactively Manage Your Node.js Versions
npm install -g  n

After installing it you just run
sudo n 11.10.1

and your node version will get changed you can check the node version by running
node --version

And later can run there test
npm test

It worked for me
I hope it will be helpful :)

still have this issue with jest version 24.5.0, the only thing helped is downgrading node to 11.10.1

@SimenB Seems there is no update for the current package (v11.12.0) on the arch packages yet.
https://www.archlinux.org/packages/community/x86_64/nodejs/

I don't know how or when arch do their updates, and that's not really relevant to this repo. The official release has dropped, when the different channels update is up to them 🙂

None of the solutions above have helped me. You cannot upgrade Jest because react-scripts comes with version 23.x so you are just adding on top of what react-scripts would already have. You cannot upgrade react-scripts so that it will have jest@24 because the latest version has jest@23.
Changing to v11.10.1 does not help either and within my Dockerfile I have tried chainging the 'FROM' in my Dockerfile to FROM node:10.15-alpine and that has not helped.
This is so frustrating.


Icon Request: Heart icon

Hello everyone,
I'm using Radix icons on a project of mine, and I was surprised to see that there's no ❤ icon yet?
I'm going to open a PR in order to fix that.
Thanks :)

Hey @vladmoroz
Are PR actively being merged on the repo?
I've opened this issue but I'm not sure it worth it if the project is inactive. Thanks in advance!

Hey @LukyVj, planning to do updates and release a new version over the next couple of days. Feel free to PR, a heart icon would be awesome.

Hey, thanks for answering, in the end, I've ended up not opening a PR.
If it's still needed, I can do that over the weekend. :)

Feel free just to paste the SVG code here in the issue, I'll check it out


Need to show output of assemble script run in default loglevel

As the output of assemble is most like the most important thing end-users will want to see we should display it by default (or have special option for that --output-assemble?).
In Origin we should show this output, nothing else is important for the end user (if the end user is not debugging issue in STI itself)

:+1:

@bparees - want to cleanup the Build logs in Origin :-)

@mfojtik the request actually came from @smarterclayton but yes...  the only thing i'd add is that it's probably worth printing out where we pulled the various scripts from.  That's pretty commonly useful information that shouldn't require special debug settings to see, imho.  If someone thinks they're using assemble from their repo and they're not, it'd be nice to be able to quickly see that.

STI now prints only assemble output/errors


Need some help with debugging the compose multiplatform core code

I downloaded the compose-multiplatform-core code only and wanted to debug it. But when syncing the gradle, it threw this error: ":internal-testutils-paging:main: Could not find androidx.paging:paging-common:0.0.0-SNAPSHOT."
And when I tried to run the DemoActivity which lies in  "\compose\integration-tests\demos\src\main\java\androidx\compose\integration\demos\DemoActivity.kt", it threw these errors:
"> Task :compose:integration-tests:demos:checkDebugAarMetadata FAILED"
"e: file:///D:/Code/compose-multiplatform-core-jb-main/compose-multiplatform-core-jb-main/compose/runtime/runtime/src/androidMain/kotlin/androidx/compose/runtime/ActualAndroid.android.kt:117:21 Actual property 'MainThreadId' has no corresponding expected declaration".
How can I fix this? And it would be better if you could give me some tutorials on how to set the environment and debug the compose multiplatform core code. Thank you very much!

Answered in https://github.com/JetBrains/compose-multiplatform/issues/5065#issuecomment-2213302787. Please don't create multiple issues.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


App crashes after updating AppDelegate.m

After modifying AppDelegate.m, I get the following error libc++abi.dylib: terminating with uncaught exception of type NSException
for the line return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); in main.m.

Ok this was due to not including the GoogleService-Info.plist in my iOS project.

Thank you for coming back and telling where the issue is. It sure did saved me a lot of time :)


fix: upgrade to version 3.1.5

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jenkins-x-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
94dbfee22d020835a86be85769201b2814c91aba
link
/test vault

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
94dbfee22d020835a86be85769201b2814c91aba
link
/test vault

kube
94dbfee22d020835a86be85769201b2814c91aba
link
/test kube

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


Blank page at the end of each batched document (external document)

I am currently using the 'develop' branch in order to test adding external PDFs. While the functionality is running great I keep running into an issue were a blank page is added in the end after importing an external document.
Here is what I am using
 batchPagesv2.add(externalDocument: PDFExternalDocument(url: url, pages: pages[count]))
Whats interesting is that if I duplicate the batch job multiple times, only one extra blank page is added on the end. If I do not use external documents there is no blank page added either. So I am a bit lost as to where this page is coming from.
So either this can be flagged as a bug or a feature suggestion to maybe make a boolean to filter out blank pages upon generation.

I might have an idea what's going on:
When adding the external document, it adds a page break afterwards, so the new page starts after the external document page. Also a new page is started when merging multiple PDFDocuments, therefore there is an another page break added afterwards.
Seems like it should not add the page break after an external document, if there is no more content in the PDFDocument.
In case you want to further debug it (until I get some time on my hand), this might be the code in question: https://github.com/techprimate/TPPDF/blob/develop/Source/Internal/External/PDFExternalDocumentObject.swift

I am working on final preparations for the launch of my app this weekend, but once I submit it to apple ill def will give it a go. Before you added merging pdfs I added a bit of a hack solution by storing the PDF as a global variable and just adding to it so similarly I had issues with extra pages that I had to resolve (and did)

The idea of specifying pages is more control on which pages to include from a file.
e.g. it's a 400 pages e book and I only want to add a single page.
But we could add improvements, such as an empty array includes all pages, or mixing single pages with ranges etc.
If that is necessary, please open up another enhancement issue about that topic

Sorry for the long pause, the way the current init is set up is messed me up regarding the pages. Because it is asking for an Int vs a closedRange (ie 1...5). So I assumed that setting the pages to say 6, would print all 6 pages vs ONLY page 6. Only thing I would maybe change is allow a closed range or let the pages be optional and do all pages if nil. Ill open a separate issue on that because I had some ideas for improvement/created several other methods.

I might have an idea what's going on:
When adding the external document, it adds a page break afterwards, so the new page starts after the external document page. Also a new page is started when merging multiple PDFDocuments, therefore there is an another page break added afterwards.
Seems like it should not add the page break after an external document, if there is no more content in the PDFDocument.
In case you want to further debug it (until I get some time on my hand), this might be the code in question: https://github.com/techprimate/TPPDF/blob/develop/Source/Internal/External/PDFExternalDocumentObject.swift

As for this, commenting out the code below worked flawlessly. My personal opinion, I would just remove it, its very easy to add a page break if adding additional stuff, or maybe make it a variable in the function if you want an extra page in the end.
result += try PDFPageBreakObject().calculate(generator: generator, container: .contentLeft)

@EliteTechnicalCare are you able to give me a small code sample to reproduce the exact issue?

I am literally just doing this:
 batchPagesv2.add(externalDocument: PDFExternalDocument(url: url, pages: pagesRange))
batchpagesv2 being the name of my PDFDocument. Thats the only thing causes the extra page.

Another possible idea would be the ability to remove a page. like pdf.removePage or something like that.

Could you create a pull request for the develop branch with your proposed fix?

I might have an idea what's going on:
When adding the external document, it adds a page break afterwards, so the new page starts after the external document page. Also a new page is started when merging multiple PDFDocuments, therefore there is an another page break added afterwards.
Seems like it should not add the page break after an external document, if there is no more content in the PDFDocument.
In case you want to further debug it (until I get some time on my hand), this might be the code in question: https://github.com/techprimate/TPPDF/blob/develop/Source/Internal/External/PDFExternalDocumentObject.swift

So the issue is this line:
 result += try PDFPageBreakObject().calculate(generator: generator, container: .contentLeft)
Commenting out fixes the problem. Additionally if you want you could add a bool "addPageBreak" and just wrap the above line in an if statement. That should be far easier than removing a page.

removing a page is fairly difficult, as the calculations are dynamic, therefore you can't be sure which page an element is on.
As for commenting out the line, this might work for you case, but it will not work for others, when adding normal content after an external page

removing a page is fairly difficult, as the calculations are dynamic, therefore you can't be sure which page an element is on.
As for commenting out the line, this might work for you case, but it will not work for others, when adding normal content after an external page

I figured as such, I think a better solution would be to either an overloaded function or simply add an additional input ie:
pdfDocument.add(externalDocument: PDFExternalDocument(url: url, pages: pagesRange, addPageBreak: false))
That way users can easily decide if they need a page break at the end or not.
OR
Comment out that line entirely because users can easily add
'createNewPage()'
But cannot easily delete a page

That would be a manual way, for sure.
I mean, it could also perform it on a smart way. If an external document is inserted, it should add a page break, but only if the next element is not another external document

I think it should only add a page break IF the next element is not an external document AND another element exists.
The issue right now is it's adding a blank page, even though there are no additional elements, so users printing out documents always have to deal with a blank page at the end of the document. This is further compounded if multiple external documents are stitched together.

this sounds correct, I created a possible fix on the develop branch.
Can you please check it out and let me know if it behaves correctly

I just released 2.0.0, where this should be fixed.
Please confirm this assumption

@EliteTechnicalCare anything new on my fix?

As I think this should be fixed now, I will close this issue for now. If it still occurs with the latest version, please reopen the issue.


docs: added docs & tests for initialization at address

Should have made a better PR separation, sorry about that


Add formatNumber function

The function will have following signature
public static String formatNumber(long number)
public static String formatNumber(long number, NumberFormatOptions options)

Test cases it should pass:
formatNumber(1000) // "1,000"
formatNumber(1000, NumberFormatOptions(2)) // "1000.00"
formatNumber(1000.754,NumberFormatOptions(0, "," , ".")) // "1.001"
formatNumber(1000000.754, NumberFormatIOptions(2, "," , ".")) // "1.000.000,75"

Please specify formatNumber(1000) //"1,000"
what about formatNumber(100000)=?
and formatNumber(10000000)=?
Also for formatOptions( ) NumberFormatOptions?
please give more test cases?

Unfortunately this project has some issues underspecified and we cannot take over them without having to go back and forth with @shekhargulati :(

Would you still be interested in a pull request for this feature?

Yes I am. Please do let me know
On 29 Aug 2017 05:44, "flube2"<EMAIL_ADDRESS>wrote:

Would you still be interested in a pull request for this feature?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/shekhargulati/strman-java/issues/78#issuecomment-325517682,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVwM4-s2AM5ZyMN2Uw7vpP1vxAQleAzQks5sc1f5gaJpZM4NZMUe
.

@ssshailesh28 @flube2 please submit the PR. I am not again PR. The point is we all discuss what should the function do.


Is the cryptojs dependency needed?

There is a cryptojs dependency which seems to be unused and seems to be not maintained anymore.
The last push to their repo was 11 years ago, i don't think there is any support for this.
Background is, i am currently checking if we will use this plugin in our pipeline and i have to ensure all the components are maintained and have a valid license.

it's my bad
i think it was lost after some refactoring


Hto to get Xbox Wireless Adapter ?

Does anyone know how to use "Windows.Devices.Enumeration" namespace to get "Xbox Wireless Adapter" on Windows 10 (1803 or 1809) ? If it can't, any namespace I can use ?

This doesn't appear to be an issue with a sample in this repo. You can open a support case with our Developer Support team:

Visit http://aka.ms/storesupport and sign-in with your Microsoft account
Under the “App Development” section choose "Windows 10 universal app development", then choose the appropriate problem type and category to get engaged through a formal support channel.


[Change Case] Paste by default, Snake case/Title case blend

Extension
https://www.raycast.com/es183923/change-case
Description
I wish this extension offered an option to paste on enter rather than copy to clipboard on enter. I wish this extension had an option for a combined snake/title case
Who will benefit from this feature?
All users!
Anything else?
No response

For me it pastes by default. I want the reverse. I want copy to clipboard by default. How do I change it?
@es183923 @pernielsentikaer


Functional test for accuracy of map matcher

Create a functional test that can assess the accuracy of a particular map-matcher. This probably has to be done with respect to a particular road network.
An idea for how to do this:

create / download a set of sample traces that have a variety of frequencies / noise.
manually identify which points should go with which road network link
run a matcher over the sample traces
compare the matcher results to the hand-built results to define how accurate the matcher did (with respect to human classification).

What issue does this close? Can we tag this with the issue number?

Another idea would be to try to request the pre-labeled data discussed in this publication: https://yifangyin.github.io/publications/PosisiL.Grab.pdf and then validate the accuracy of our map matching algorithms by running them against the dataset.


Update mbus to 2.6.1

https://github.com/Apollon77/ioBroker.mbus/issues/350#issuecomment-1869151911

2.6.1 created 25.11.2023
50 user
OK


SyntaxError: At least one

When I add it to a nuxt project, it breaks the whole structure.
SyntaxError: At least one

Best is to create a reproduction...


Remove redundant filetype definition.

Sorry about that. I realized many files use uppper case D, Dockerfile so I made a regex match for either. But didn't notice I also left the original only lower case match in. Its redundant so we should clean it up. Again sorry.

No problem.


Update shield.lua

Rise of the Phoenix update

Thanks!

Argghh, I didn't realise that you submitted the pull request against the master branch. All changes MUST go through the dev branch. I've had to revert your change; if you could re-submit it against the dev branch then that would be great.

Actually, never mind, I've applied your change manually, as I needed to fix something there anyway ("Variant: Pre 3.1.0" needs to read "Variant: {2_6}Pre 3.1.0" so that 2.6 builds know which version to default to).
I'll credit you in the changelog though :).


Changing of Volume Name

I have an external drive that, when I set it up, I wasn't thinking I guess; I put a space in the volume name. In general, this hasn't been an issue. In terminal, I just type
cd /Volumes/Big and then I tap the TAB key, and autocomplete puts it out as cd /Volumes/Big\ Box/ and I go on from there, no problem. However recently, I've come across a couple things that just aren't happy with that space in the volume name. I know HOW to change the volume name, that's easy enough, and off the top of my head, I'm not thinking of anything, but I want to toss this out and ask the group, is there some new issue that I'm not thinking of, that I would be CREATING by changing volume name? I'm unsure, if I do so, is DDEV going to be unhappy if I make such a change? I figure it's far smarter to think this through, and ask beforehand, rather than making a change, and opening an even worse can of worms.

Hi @begrafx - There are many volumes associated with ddev. None of them would have a name like "Big Box" and none of them have spaces. The most important one is the one where the database is stored; it's named <project>_mariadb. And since the project name can't contain spaces, it's unrelated to what you might be looking for.
The docker volume command does not have a "rename" option. It doesn't look like they have any intention of creating one, see https://github.com/moby/moby/issues/31154
So I don't know what volume you might be re-using, but it doesn't sound like(right now) it has anything to do with ddev.

No, "Big Box" is the name I've currently given one of my external drive volumes. Before doing so, I want to confirm, if I change "Big Box" to "BigBox" or whatever else, without the space, if I am going to create any problems/new issues, that you can think of.

Sorry, I completely misunderstood. I thought you were talking about docker volumes. You're talking about an external disk on a macOS system?
If your projects are not on that disk and you haven't tried to move Docker's disk space to that external disk, then this is completely unrelated to ddev.
If your projects are on the external disk you'll want to do a couple of things:

You'll want to make ddev "forget" about the project with ddev stop --unlist. Then it won't complain about the fact that you've "moved" it.
If you're using NFS, you'll want to check /etc/exports to see if anything has changed. If it has, you'll need to sudo nfsd restart

Your question is essentially "How do I move a project from one directory to another", as in the FAQ, https://ddev.readthedocs.io/en/stable/users/faq/

Thanks Randy. Your help is greatly appreciated, as always.


Route recruitmentteam properly for view applications

Since view applications is under /admin, if recruitmentteam users click admin they'll get the auth failed component with no ability to navigate to the view applications page. Either move view applications under a different route or make some more complex routing logic.

After re-evaluation, there's nothing in /admin that non admins need, view applications included. Recruitment team will be able to view full application info during deliberations.


image_list_reduced.yml

Thanks for your work! Could you tell me how to get the 'image_list_reduced.yml' file ? thanks

And what is your training dataset?


IndexError in parse_tree_builder.py, release 0.10.0

Describe the bug
I'm trying to parse a snippet and I get this error:
contrib/python/lark-parser/lark/lark.py:438: in parse
    return self.parser.parse(text, start=start)
contrib/python/lark-parser/lark/parser_frontends.py:215: in parse
    return self._parse(text, start)
contrib/python/lark-parser/lark/parser_frontends.py:58: in _parse
    return self.parser.parse(input, start, *args)
contrib/python/lark-parser/lark/parsers/earley.py:320: in parse
    return transformer.transform(solutions[0])
contrib/python/lark-parser/lark/parsers/earley_forest.py:353: in transform
    self.visit(root)
contrib/python/lark-parser/lark/parsers/earley_forest.py:295: in visit
    vpno(current)
contrib/python/lark-parser/lark/parsers/earley_forest.py:417: in visit_packed_node_out
    transformed = self.transform_packed_node(node, self.data[id(node)])
contrib/python/lark-parser/lark/parsers/earley_forest.py:559: in transform_packed_node
    return self._call_rule_func(node, children)
contrib/python/lark-parser/lark/parsers/earley_forest.py:521: in _call_rule_func
    return self.callbacks[node.rule](data)
contrib/python/lark-parser/lark/parse_tree_builder.py:124: in __call__
    filtered = children[i].children
E   IndexError: list index out of range

I can't figure out what's wrong, could you help me please?
To Reproduce
l = Lark(open('golang.lark').read(), start='go_file', regex=True)
l.parse("""
package x
func evalFrameHash(frame FrameData) norm.Hash {
h := [4]byte{0x5b, 0xd1, 0xe9, 0x95}
for i, b := range frame.FrameData() {
    h[i%4] ^= b
}
return norm.Hash{Data: h}
""")

grammar is here https://gist.github.com/grihabor/2014488c65cde5a5ef71fd61c13a75d6

Please try the master version and see if it helps.

I can't reproduce. Please make sure that you are actually using the most recent version (e.g. it should be 0.10.1).

@MegaIng As I can tell the latest release is 0.10.0
@erezsh master works, thank you! When the next release is coming?

Probably next week.

Cool. This looks like the same problem I reported in Gitter.

Close this issue?

Lark 0.11.0 has been released.


Fix pyproject

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.865%

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
158

Relevant Lines:
193

💛  - Coveralls


Support for branchData (or similar) in coverage

Some tools such as JSCover allow instrumentation that includes branchData, to better accommodate for whether every branch within code is ran (based on the truthiness of the conditional). It could be nice to have support for it in mocha's cov runner.
I've written my own coverage instrumentation tool for GorillaScript, would like to implement branch coverage, but have no incentive to until mocha supports it.

Unless you're going to introduce a PR for this yourself, I don't think it's going to happen anytime soon.
As there's been no other activity on this thread for over a year I'm closing this for now.


feature request: don't open confirmation when nothing changed

Did you check existing requests?

[X] I have searched the existing issues

Describe the feature
If I just open a directory and :w it asks me whether I want to apply the 0 changes.
Either doing nothing or echoing a "no changes to apply" seem more appropriate.
Provide background
No response
Additional details
No response

I've elected to let the save operation pass silently, with no preview. This has the effect that if you have modified the buffer in ways that don't change the filesystem (e.g. adding blank lines), it will reset the buffer to its base state.


Build failing on Alpine Linux

Hi,
Apologies for my lack of insight into why this is happening, all I can provide you is an error message, repro steps, and 'sharp isn't installing on alpine linux'.
The following commands produce the error message below. How can I begin to debug this further?
docker run -it alpine:edge /bin/ash

# inside container
apk add vips --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted
apk add nodejs python
npm install sharp

/ # npm install sharp

><EMAIL_ADDRESS>install /node_modules/sharp
> node-gyp rebuild

ERROR: musl libc (x86_64) requires manual installation - please see http://sharp.dimens.io/en/stable/install/
gyp: Call to 'LDD_VERSION="musl libc (x86_64)
Version 1.1.14
Dynamic Program Loader
Usage: ldd [options] [--] pathname" node -e "require('./binding').download_vips()"' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.4.0-36-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /node_modules/sharp
gyp ERR! node -v v6.5.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.
npm ERR! Linux 4.4.0-36-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "sharp"
npm ERR! node v6.5.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1

Hello, the version of vips in the Alpine "testing" repo is v8.3.1 but sharp v0.16.0 requires a minimum of v8.3.3. @wjordan is listed as the package maintainer so may be able to help.

@wjordan would really love some help here :) moving to production in the next two days and I don't have the requisite skills to solve this one!

Updated Vips to 8.3.3 in the PR linked above. While the merge is pending you can use the built version from my locally-hosted repo, your build steps should work for the most part:
apk add vips-dev --update-cache --repository http://wjordan-apk.s3.amazonaws.com/ --allow-untrusted
apk add python nodejs g++ make
npm install sharp

For production use to minimize the build size, you might want to install a pre-built node-sharp package (I have a PR for this at alpinelinux/aports#30). I haven't updated this to 0.16.0 yet though.

Appreciate your work, I'll give it a go. Thanks.

libvips v8.3.3 is now available via apk, thanks @wjordan

I don't believe this problem should be closed. It's not a vips issue.
In the error log, you'll see

ERROR: musl libc (x86_64) requires manual installation - please see http://sharp.dimens.io/en/stable/install/
gyp: Call to 'LDD_VERSION="musl libc (x86_64)
Version 1.1.14
Dynamic Program Loader
Usage: ldd [options] [--] pathname" node -e "require('./binding').download_vips()"' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1

Opening up binding.gyp you will eventually find the following command.
'download_vips': '<!(LDD_VERSION="<!(ldd --version 2>&1 || true)" node -e "require(\'./binding\').download_vips()")'

The pipe to true never succeeds so node-gyp throws us an exit 1.
db02d024bb15:~# ldd --version 2>&1
musl libc (x86_64)
Version 1.1.15
Dynamic Program Loader
Usage: ldd [options] [--] pathname
db02d024bb15:~# echo $?
1

db02d024bb15:~# ldd --version 2>&1 || true
musl libc (x86_64)
Version 1.1.15
Dynamic Program Loader
Usage: ldd [options] [--] pathname
db02d024bb15:~# echo $?
0

@pporada-gl the salient message is ERROR: musl libc (x86_64) requires manual installation. Alpine Linux currently provides libvips v8.3.3 via apk - http://pkgs.alpinelinux.org/packages?name=vips

@lovell We have vips in our container though.
db02d024bb15:~# apk info vips
vips-8.3.3-r0 description:
A fast image processing library with low memory needs

vips-8.3.3-r0 webpage:
http://www.vips.ecs.soton.ac.uk/

vips-8.3.3-r0 installed size:
2093056

@pporada-gl Which version of sharp are you using?

I have forked from master earlier this morning and am on v0.17.0.

@pporada-gl The forthcoming, yet-to-be-published v0.17.0 of sharp will require libvips v8.4.2+ - see https://github.com/lovell/sharp/blob/master/package.json#L88


Replace react-icons with flowbite-react-icons

[X] I have searched the Issues to see if this bug has already been reported
[X] I have tested the latest version

Summary
We want to replace the current react-icons with flowbite-react-icons as a dependency of the flowbite-react library.
Context
We know that react-icons is too large to be included as a dependency as we should avoid it - since now we do have our own icons, in order to keep the things aligned to our design guide and to remove this large dependency we can use our own icon package.

It would be nice if we can leave all the icon slots compatible with others libraries as well, or even to standard SVG tag.

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

can I try?


Generate SBOM for node_modules

To implement Paketo RFC0038, this buildpack will need to move from storing SBOM information in layer metadata to storing it in files that the CNB lifecycle can manipulate during the build. The RFC outlines what these files are and what they should contain.

Is this resolved now that #285 has been merged?

@fg-j yes! I'll close the issue now.


Skyline lists

Here is my branch where I have been working on the Lists feature. It's not ready to check in, but I figured I would get the ball rolling on a pull request from my fork.

Oh, I didn't realize this pull request was going to trigger a teamcity build.
I will figure out some other way of getting a code review.


  I discovered that it originated from client/base.py on line 46: raise FailedAPICallException(e['msg']).
However, when I printed e inside base.py by itself, I got a helpful error rather than just 'msg':
{u'error': {u'message': u'The request you have made requires authentication.', u'code': 401, u'title': u'Unauthorized'}}
Maybe this is just a very unique case, but otherwise it should probably be investigated.

Maybe it should be e['message'] instead of msg?

#828 fixes this.


deploy on device - no bitcode in frameworks

Hi!
Been tried to use your solution and faced with inaccessibility to run it on device because of bitcode absence in both frameworks SwiftWebRTC and WebRTC. I've fixed bitcode issue in SwiftyWebRTC but not in case of WebRTC - just started looking for source code.
My question: did you succeed in running your app on device?

Hi!
I meet an error, " initializer does not override a designated initializer from its superclass" at "WebRTCTipView override init(frame: CGRect) ". How did you fix it ?


Stronger wording for Icon.Button's iconStyle; setting margin via style causes app crashes on iOS

Just spent a couple hours debugging only to find out that setting marginRight: 'auto' is ok for Icon, but not for Icon.Button. In fact, it was causing crashes on the iOS simulator and was not providing any meaningful debugging info in the logs.
In the README, if the Properties Section more strongly warned not to use style to set margins for Icon.Button, it might help those in the future. Instead of "good for setting margins", maybe something like "margins must be set via iconStyle; may cause crashes otherwise"
P.S. Thanks for this great library! 😄

Would love to get a PR for that doc change! 👍 🙇

"ask and ye shall receive" 😄

🙇


Pull Request for #9: Prepare release for Dataverse

Can you review this pull for #9 @jmshapir @miikapaal? I added code to produce a release.zip that will be uploaded to Harvard's Dataverse. A first version of the zip file is in this Google Drive folder.
Files added

codebook.Rmd: uses as input the README and other data in the repo and ~created~ creates a codebook.md that will be attached to the Harvard Dataverse release.

release.py compiles codebook.Rmd and creates the release.zip including only the raw pdf of the Läroplaner and the final csv output.

Review
I think we should:

Check that we include everything we want in the zip file.
Review codebook.md and add other information that may be relevant

It would be really easy to save this file as pdf instead of md, which I think would be more convenient in this case. Should we switch?

Review the code and make sure it works on Mac as well.

Feel free to take a look as well if you have time @dagese!

I think so @jmshapir. What user do you prefer? I guess you should receive an email once I "save changes"

@santiagohermo let's try "@jmshapir" and see what happens. :-)

@santiagohermo let's try "@jmshapir" and see what happens. :-)

Done @jmshapir! Let me know what happens on your side.

Thanks @santiagohermo!
I did the following:

Edited the "Notes" field to point back to the github repo.
Edited the "Terms" to use the same terms as the LICENSE that we have in the repo.

If these changes look good to you @santiagohermo, can you "Publish" them in the Dataverse?

Thanks @jmshapir! Your changes look good, so I published them. It asked me to change the version :/, so I went up to 1.1.
I think we are ready to wrap up this issue?

@santiagohermo thanks!
Agreed, I have nothing else in mind to do here, so we're good to wrap up from my side, too.

Small issue @jmshapir. Because we completed the release before merging this PR, the release points to the incorrect commit

If you agree we can delete the release and recreate it with the same tag. We would need to follow the steps here.

Summary here

If you agree we can delete the release and recreate it with the same tag. We would need to follow the steps here.

@santiagohermo sounds fine to me, thanks!

Thanks @jmshapir! The problem was fixed and now the release points to the correct commit.


N2GX

Key
Value

View
https://database.shabados.com/sources/2/page/155/line/76

Source
Sri Dasam Granth

Page
155

ID
N2GX

Line
qÍpRswid ] cOpeI ]

Correction
cOpeI ] (remove qÍpRswid ])


Hint not showing

Hint is not showing when edittext is empty (empty as user not entered anything)

Hint will not show if mask setup


How to make it to use my DB

How can i make it so it used My MariaDB to recognize images

You can't directly use it. First, you have to turn this source into an API.

More details?
On Tue, 18 Jun 2019, 13:18 Mritunjay<EMAIL_ADDRESS>wrote:

You can't directly use it. First, you have to turn this source into an API.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ageitgey/face_recognition/issues/824?email_source=notifications&email_token=AI7ME7U5KJ45F7KWOQ32A6TP3CK53A5CNFSM4HN3TMZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX5SPHA#issuecomment-502998940,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI7ME7V4UEQQYFSHPGPASODP3CK53ANCNFSM4HN3TMZA
.


Changed the styling and colors of some elements to make the theme of website constant, mostly matching the color to that of the navbar.

Please kindly provide me the points for the merged PR, as it was not being counted in GSSoC'22 leaderboard.


[Usage]: How to run llama 3.2 with CPU only version

Your current environment
Collecting environment information...
WARNING 10-07 03:01:24 _core_ext.py:180] Failed to import from vllm._core_C with ImportError('libtorch_cuda.so: cannot open shared object file: No such file or directory')
WARNING 10-07 03:01:24 _core_ext.py:180] Failed to import from vllm._core_C with ImportError('libtorch_cuda.so: cannot open shared object file: No such file or directory')
PyTorch version: 2.4.0+cpu
Is debug build: False
CUDA used to build PyTorch: Could not collect
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.4 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: version 3.30.4
Libc version: glibc-2.35

Python version: 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] (64-bit runtime)
Python platform: Linux-5.15.0-122-generic-x86_64-with-glibc2.35
Is CUDA available: False
CUDA runtime version: 12.1.105
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration:
GPU 0: NVIDIA GeForce RTX 4090
GPU 1: NVIDIA GeForce RTX 4090

Nvidia driver version: 560.35.03
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.9.7
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.9.7
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.9.7
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.9.7
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.9.7
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.9.7
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.9.7
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                         x86_64
CPU op-mode(s):                       32-bit, 64-bit
Address sizes:                        46 bits physical, 48 bits virtual
Byte Order:                           Little Endian
CPU(s):                               32
On-line CPU(s) list:                  0-31
Vendor ID:                            GenuineIntel
Model name:                           13th Gen Intel(R) Core(TM) i9-13900K
CPU family:                           6
Model:                                183
Thread(s) per core:                   2
Core(s) per socket:                   24
Socket(s):                            1
Stepping:                             1
CPU max MHz:                          5800.0000
CPU min MHz:                          800.0000
BogoMIPS:                             5990.40
Flags:                                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req umip pku ospke waitpkg gfni vaes vpclmulqdq tme rdpid movdiri movdir64b fsrm md_clear serialize pconfig arch_lbr flush_l1d arch_capabilities
Virtualization:                       VT-x
L1d cache:                            896 KiB (24 instances)
L1i cache:                            1.3 MiB (24 instances)
L2 cache:                             32 MiB (12 instances)
L3 cache:                             36 MiB (1 instance)
NUMA node(s):                         1
NUMA node0 CPU(s):                    0-31
Vulnerability Gather data sampling:   Not affected
Vulnerability Itlb multihit:          Not affected
Vulnerability L1tf:                   Not affected
Vulnerability Mds:                    Not affected
Vulnerability Meltdown:               Not affected
Vulnerability Mmio stale data:        Not affected
Vulnerability Reg file data sampling: Mitigation; Clear Register File
Vulnerability Retbleed:               Not affected
Vulnerability Spec rstack overflow:   Not affected
Vulnerability Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:             Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S
Vulnerability Srbds:                  Not affected
Vulnerability Tsx async abort:        Not affected

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-cublas-cu12==<IP_ADDRESS>
[pip3] nvidia-cuda-cupti-cu12==12.1.105
[pip3] nvidia-cuda-nvrtc-cu12==12.1.105
[pip3] nvidia-cuda-runtime-cu12==12.1.105
[pip3] nvidia-cudnn-cu12==<IP_ADDRESS>
[pip3] nvidia-cufft-cu12==<IP_ADDRESS>
[pip3] nvidia-curand-cu12==<IP_ADDRESS>
[pip3] nvidia-cusolver-cu12==<IP_ADDRESS>
[pip3] nvidia-cusparse-cu12==<IP_ADDRESS>
[pip3] nvidia-nccl-cu12==2.19.3
[pip3] nvidia-nvjitlink-cu12==12.3.101
[pip3] nvidia-nvtx-cu12==12.1.105
[pip3] pyzmq==26.2.0
[pip3] torch==2.4.0+cpu
[pip3] torchvision==0.19.0+cpu
[pip3] transformers==4.45.1
[pip3] triton==2.2.0
[conda] Could not collect
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: N/A
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0    GPU1    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      PHB     0-31    0               N/A
GPU1    PHB      X      0-31    0               N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

How would you like to use vllm
I want to run inference of a meta-llama/Llama-3.2-1B-Instruct (or 3B-Instruct/11B-Vision-Instruct/90B-Vision-Instruct). I don't know how to integrate it with vllm (cpu enabled & disabled GPU).
I created the image vllm-cpu-env by following the steps on Installation with CPU, but found error when calling the model.
Please advise any help on how to host it.
INFO 10-07 02:45:23 engine.py:288] Added request chat-ba27ac30bbf14d908aaa3a9c42ced2dd.
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231] Exception in worker VllmWorkerProcess while processing method start_worker_execution_loop: ModelInputForCPU.__init__() got an unexpected keyword argument 'selected_token_indices', Traceback (most recent call last):
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231]   File "/usr/local/lib/python3.10/dist-packages/vllm/executor/multiproc_worker_utils.py", line 224, in _run_worker_process
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231]     output = executor(*args, **kwargs)
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231]   File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 116, in decorate_context
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231]     return func(*args, **kwargs)
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231]   File "/usr/local/lib/python3.10/dist-packages/vllm/worker/worker_base.py", line 69, in start_worker_execution_loop
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231]     output = self.execute_model(execute_model_req=None)
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231]   File "/usr/local/lib/python3.10/dist-packages/vllm/worker/worker_base.py", line 303, in execute_model
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231]     inputs = self.prepare_input(execute_model_req)
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231]   File "/usr/local/lib/python3.10/dist-packages/vllm/worker/worker_base.py", line 293, in prepare_input
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231]     return self._get_worker_input_from_broadcast()
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231]   File "/usr/local/lib/python3.10/dist-packages/vllm/worker/worker_base.py", line 237, in _get_worker_input_from_broadcast
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231]     self.model_runner.make_model_input_from_broadcasted_tensor_dict(
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231]   File "/usr/local/lib/python3.10/dist-packages/vllm/worker/cpu_model_runner.py", line 463, in make_model_input_from_broadcasted_tensor_dict
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231]     return ModelInputForCPU.from_broadcasted_tensor_dict(
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231]   File "/usr/local/lib/python3.10/dist-packages/vllm/worker/cpu_model_runner.py", line 71, in from_broadcasted_tensor_dict
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231]     return cls(**tensor_dict)
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231] TypeError: ModelInputForCPU.__init__() got an unexpected keyword argument 'selected_token_indices'
(VllmWorkerProcess pid=79) ERROR 10-07 02:45:23 multiproc_worker_utils.py:231]
ERROR 10-07 02:45:31 client.py:245] TimeoutError('No heartbeat received from MQLLMEngine')
ERROR 10-07 02:45:31 client.py:245] NoneType: None
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/starlette/responses.py", line 257, in __call__
    await wrap(partial(self.listen_for_disconnect, receive))
  File "/usr/local/lib/python3.10/dist-packages/starlette/responses.py", line 253, in wrap
    await func()
  File "/usr/local/lib/python3.10/dist-packages/starlette/responses.py", line 230, in listen_for_disconnect
    message = await receive()
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 555, in receive
    await self.message_event.wait()
  File "/usr/lib/python3.10/asyncio/locks.py", line 214, in wait
    await fut
asyncio.exceptions.CancelledError: Cancelled by cancel scope 7fc275ed62c0

During handling of the above exception, another exception occurred:

  + Exception Group Traceback (most recent call last):
  |   File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 401, in run_asgi
  |     result = await app(  # type: ignore[func-returns-value]
  |   File "/usr/local/lib/python3.10/dist-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
  |     return await self.app(scope, receive, send)
  |   File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 1054, in __call__
  |     await super().__call__(scope, receive, send)
  |   File "/usr/local/lib/python3.10/dist-packages/starlette/applications.py", line 113, in __call__
  |     await self.middleware_stack(scope, receive, send)
  |   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 187, in __call__
  |     raise exc
  |   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 165, in __call__
  |     await self.app(scope, receive, _send)
  |   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 85, in __call__
  |     await self.app(scope, receive, send)
  |   File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 62, in __call__
  |     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  |   File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 62, in wrapped_app
  |     raise exc
  |   File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 51, in wrapped_app
  |     await app(scope, receive, sender)
  |   File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 715, in __call__
  |     await self.middleware_stack(scope, receive, send)
  |   File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 735, in app
  |     await route.handle(scope, receive, send)
  |   File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 288, in handle
  |     await self.app(scope, receive, send)
  |   File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 76, in app
  |     await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  |   File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 62, in wrapped_app
  |     raise exc
  |   File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 51, in wrapped_app
  |     await app(scope, receive, sender)
  |   File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 74, in app
  |     await response(scope, receive, send)
  |   File "/usr/local/lib/python3.10/dist-packages/starlette/responses.py", line 250, in __call__
  |     async with anyio.create_task_group() as task_group:
  |   File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 736, in __aexit__
  |     raise BaseExceptionGroup(
  | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
  +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    |   File "/usr/local/lib/python3.10/dist-packages/starlette/responses.py", line 253, in wrap
    |     await func()
    |   File "/usr/local/lib/python3.10/dist-packages/starlette/responses.py", line 242, in stream_response
    |     async for chunk in self.body_iterator:
    |   File "/usr/local/lib/python3.10/dist-packages/vllm/entrypoints/openai/serving_chat.py", line 314, in chat_completion_stream_generator
    |     async for res in result_generator:
    |   File "/usr/local/lib/python3.10/dist-packages/vllm/utils.py", line 455, in iterate_with_cancellation
    |     item = await awaits[0]
    |   File "/usr/local/lib/python3.10/dist-packages/vllm/engine/multiprocessing/client.py", line 555, in _process_request
    |     raise request_output
    | vllm.engine.multiprocessing.MQEngineDeadError: Engine loop is not running. Inspect the stacktrace to find the original error: TimeoutError('No heartbeat received from MQLLMEngine').
    +------------------------------------

Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

It's not supported yet. Should be implemented by https://github.com/vllm-project/vllm/pull/9089


Pause functionality in Game_Controller instead of Player_Controller

Added flag management in Game_Controller for the game_paused flag; with static instance functions to match!


Install from master or stable branch?

I saw that documentation says to install from source/pip taking from the master branch
Unfortunately master branch is under development and not released often.
I tried installing from the 1.0.x branch but to make it work I had to manually comment a line in /opt/graphite/conf/graphite.wsgi:
#import graphite.metrics.search  # noqa

What is the advice for production ready and stable installations: master or 1.0.x?

Stable release is currently 1.0.2, you can use release from Github or 1.0.x branch. You can also use master, it's usually stable enough to use it in production too.
Please note that graphite.wsgi do not contain graphite.metrics.search for long time already (starting 1.0.0 release).

Thanks for the info!
I cloned it from scratch but erroneously removed only the old webapp directory within the installation directory: it was taking my old conf file, sorry 😞


Set up Dependabot?

NPM dependencies tend to move, and break, quickly. Dependabot can be set to check for updates on a weekly or monthly basis (or daily, though I don't recommend that). It also opens PRs, which can work well, depending on the CI setup.

Good idea. I haven't done that before, so if you know how to set up one, feel free. Otherwise, I can also assign the issue to myself and work on it next time I find some time.

You're going to have to do it, since it requires full admin privileges on the repo. But I can at least help by suggesting how to fill in the dependabot.yml file. (When you go to set up Dependabot, under Insights > Dependency graph, it'll give you a template, to which a few things will need to be added for it to work properly.)

I've set up a dependabot with version updates, the dependabot.yml is just the basic one now, checking on gui branch just for it to be set up, yaml can be adjusted.

You did everything right. I would only adjust the frequency to monthly, so that the PRs don't become too much of a hassle.


Add godotcpp

Adds godotcpp. This also removes godotheaders, because this repo is intended to be used with godotcpp.

android is failing, because it wants to link to z, ssl and crypto. These are dependencies of python and they get applied to godotcpp through scons. But godotcpp doesn't need these libraries. So they need to somehow get removed. Could this be implemented so that all dependencies of a binary package don't get applied to its children?

android is failing, because it wants to link to z, ssl and crypto. These are dependencies of python and they get applied to godotcpp through scons. But godotcpp doesn't need these libraries. So they need to somehow get removed. Could this be implemented so that all dependencies of a binary package don't get applied to its children?

You can disable android package first and open a issue on github, I will fix it later.

Why not use cmake? https://github.com/godotengine/godot-cpp/blob/master/CMakeLists.txt
There are more dependencies when using scons, such as python/openssl ...


collect on LibPQ.Column allocates a lot

MWE (I've used a connection to a private DB in this issue, so you'll have to construct your own DB in order to run locally):
using
    BenchmarkTools,
    JSON3,
    LibPQ,
    S3DB,
    Tables

function setup_eisdb_credentials()
    eisdb_creds = JSON3.read(read(`aws-eisdb-credentials --output json`))
    ENV["AURORA_READER_ENDPOINT"] = eisdb_creds.reader
    ENV["AURORA_DATABASE"] = eisdb_creds.dbname
    ENV["AURORA_PORT"] = eisdb_creds.port
    ENV["AURORA_USER"] = eisdb_creds.username
    return nothing
end

function get_data()
    setup_eisdb_credentials()
    db = S3DB.Client()
    conn = S3DB.AuroraClients.establish_connection(db.dsn)
    result = execute(conn, "SELECT s.data::float8 FROM generate_series(0,1000000,0.1) AS s(data);"; binary_format=true)
    data = columntable(result)
    close(conn)
    return data.data
end

function my_getindex(jl_result::LibPQ.Result, row::Integer, col::Integer)
    data_ptr = LibPQ.libpq_c.PQgetvalue(jl_result.result, row - 1, col - 1)
    return convert(Float64, LibPQ.pqparse(Float64, data_ptr))
end

function get_data(c)
    jl_result = c.result
    return map(1:length(c)) do n
        return my_getindex(jl_result, n, 1)
    end
end

lmp_column = get_data()
println("Current LibPQ performance")
display(@benchmark collect($lmp_column))
println()

println("Peformance with hack")
display(@benchmark get_data($lmp_column))
println()

The above yields the following results:
Current LibPQ performance
BenchmarkTools.Trial: 1 sample with 1 evaluation.
 Single result which took 103.319 s (4.50% GC) to evaluate,
 with a memory estimate of 23.19 GiB, over 699999498 allocations.

Peformance with hack
BenchmarkTools.Trial: 5 samples with 1 evaluation.
 Range (min … max):  954.222 ms …   1.141 s  ┊ GC (min … max): 0.14% … 16.14%
 Time  (median):     998.131 ms              ┊ GC (median):    4.66%
 Time  (mean ± σ):      1.034 s ± 89.276 ms  ┊ GC (mean ± σ):  7.67% ±  7.77%

  ██            █                                     █      █
  ██▁▁▁▁▁▁▁▁▁▁▁▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█▁▁▁▁▁▁█ ▁
  954 ms          Histogram: frequency by time          1.14 s <

 Memory estimate: 762.94 MiB, allocs estimate: 6.

Currently, LibPQ generates about 7 allocations per call to getindex (to which collect falls back). It certainly appears to be possible to elminiate essentially all allocations, as shown by the profiling results for get_data(c), which is a quick hack I used to avoid some LibPQ's internals. This change yields roughly a 100x performance improvement.
It looks the construction of a LibPQ.PQValue is at least partially responsible. Evidence:
julia> @benchmark LibPQ.PQValue{$lmp_column.oid}($lmp_column.result, 1, 1)

# BenchmarkTools.Trial: 10000 samples with 214 evaluations.
#  Range (min … max):  347.556 ns …  39.722 μs  ┊ GC (min … max): 0.00% … 98.59%
#  Time  (median):     358.355 ns               ┊ GC (median):    0.00%
#  Time  (mean ± σ):   393.463 ns ± 935.449 ns  ┊ GC (mean ± σ):  6.27% ±  2.61%

#   ▄██▇▆▅▄▄▅▇▇▅▃▂▃▃▂▁▁ ▁▁▁▂▂▂▁▁▁▂▁▁▁                    ▁▂       ▃
#   █████████████████████████████████▇██▇▆▆▃▆▅▅▄▁▃▄▄▄▅▄▆████▆▅▇▇█ █
#   348 ns        Histogram: log(frequency) by time        490 ns <

#  Memory estimate: 176 bytes, allocs estimate: 4.

This doesn't look like it's quite enough to account for all of the allocations though, so presumably there's something else going on as well.

One possible approach to solve this would be to switch from the "PQValue" typed wrapper to a typed column wrapper, which would only need to be constructed once per column (and in most cases, when parsing the whole column, the dynamic dispatch would only need to happen once as well). Another might be generating a function at runtime when constructing Result that removes the construction of PQValue and dynamic dispatch within itself.
We might also consider splitting the LibPQ Result into eager and lazy versions, where the eager performs parsing before returning and the lazy is just a very simple wrapper to PGresult and doesn't know anything about types or parsing.
Either way it sounds like we need to move away from using PQValue dispatch as the way we add new parsing methods.
I probably do not have time to implement any fixes but I am happy to facilitate anyone who does have time to learn and implement.


[turborepo] Root workspace:* dependencies don't bust the cache

What version of Turborepo are you using?
1.10.16
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Describe the Bug
We're storing our "tsconfig.json" in a "packages" project, similar to how the Reproduction Repo does it: https://github.com/vercel/turbo/issues/5808
We want to move our dependency on this "tsconfig.json" project up to the root Workspace's "package.json" to eliminate some duplication in each project in the monorepo.  They're basically all TypeScript projects, after all.
Problem is Turborepo ignores the root "package.json" dependencies when determining whether a project, via its dependencies, has changed.
Expected Behavior
Turborepo should bust the cache (and therefore perform the build task) when a root local dependency changes, just like it does when a non-root local dependency changes.
At the very least, the documentation should explain why it doesn't.  Anti-mental-gymnastics, please.
To Reproduce
Follow the Reproduction Repo creation: https://github.com/vercel/turbo/issues/5808
Remove the @repo/blah dependencies from each project, and add those dependencies to the root "package.json".  Change "base.json" in the tsconfig project.  Notice the cache isn't busted.  FULL TURBO even when there's a change.
Reproduction Repo
No response

Hi @closesimple-wl, thanks for the issue. If I'm not mistaken, Turbo is working as intended here. If you remove the dependencies from each workspace, then the workspaces' tasks will not depend on the dependencies. We don't treat root dependencies as global, so if they change, they won't affect the other workspaces.
That said, I do see where you're coming from. It makes sense that root dependencies should be global. I'll raise this with the team and we can consider a flag for this behavior.

Done in #6622  :D

Thank you @NicholasLYang .  I like how it describes the "what", but it's missing the always-crucial "why".  What's the reasoning?

We talked through this again at the team meeting today, and we've gotten consensus on a couple things:

We mostly agree that using a root dependency to affect all your workspaces is not the best setup
But if you do, we agree that internal dependencies should cause a global cache miss.

We will add the hash of files from internal dependencies to the global hash when they are in the root package.json. Note a couple things:

inputs configurations will still be respected (including Workspace Configurations), so turbo won't blindly take every file in these internal packages
We will not consider this a breaking change (even though this likely will cause unexpected cache misses for people who are used to the current behavior)

Thanks for filing and for helping shape this conversation!


Add debug mode for test-operator

This patch introduces an option for test-operator that keeps the pod running even after a failure occured or after the file run_tempest.sh has reached its end (sleep infinity). It resolves the issue that oc rsh session is killed once the execution of the run_tempest.sh finishes.

Just a thought:). I'll need to test this manually but I was thinking that we might want to enable the debug mode only when the workflow: is not specified.
Otherwise it looks really good!:)

Once this change is ready for a review please rebase this PR on main so that the check job is triggered:).

@kstrenkova I assume this PR can be closed, right? :see_no_evil:


CUDA Syntax overview.

Simple page/section aimed at Python users explaining the CUDA C equivalent of common syntax vs python which they may need for defining agent functions.
E.g, defining variable, if-else, for, function define/call.
Could link to an external guide/s at the end for greater detail.

Agent Function/CUDA Syntax
FLAMGPU agent functions are written using CUDA, which itself is a form of C++ (albeit lacking support for most of the standard library). The syntax required to write agent functions is likely to be cover a small subset of available C++ feature, common to other C style languages such as Java and C#.
If you're using the Python API and are unfamiliar with these languages, the difference between common statements is outlined below:
Declaring Variables
Python
foo = 5

CUDA
float foo = 5;

Unlike python, CUDA requires variables types to be specified. The types supported by FLAMEGPU are:

Signed Integer
Unsigned integer
Floating Point

int / int32_t
unsigned int / uint32_t
float

long long / int64_t
unsigned long long / int64_t
double

signed char / int8_t
unsigned char / int8_t

short / int16_t
unsigned short / int16_t


r.Context().Value("uid")不能获取定义在jwt里面的参数

按照文档使用jwt鉴权，需要获取当前用户的信息，返回nil

解决了

咋解决的？

咋解决的？我也遇到了！

按照文档使用jwt鉴权，需要获取当前用户的信息，返回nil

老哥，你是怎么解决的？我也遇到了这个问题

My problem : my interface JWT authentication was added later, but I only deleted the logic code. I cleared the handler and SVC and regenerated the code

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿

How did you solve it? Me too!

My problem : my interface JWT authentication was added later, but I only deleted the logic code. I cleared the handler and SVC and regenerated the code


Add Gemini support

Gemini AI APIs are free to get and use, so having support to that free alternative to the ChatGPT paid API can be beneficial to all users, it's worth to put it even as an experimental feature and let the user / the community test it's effectiveness

On it! Will release today

Added in latest version


[Bug] Full scan is happening on all docs instead of just those returned by the inverted index

We have this query,  SELECT   "customer_id" FROM   "table name" WHERE   "_viewing_merchant" = 'some merchant id'   AND (( 	"customer_id" < 'some customer id' 	AND "last_payment" =<PHONE_NUMBER>000.0     ) 	OR "last_payment" <<PHONE_NUMBER>000.0   )
and this is the explain on it
BROKER_REDUCE(sort:[last_payment DESC, customer_id DESC],limit:21)	0	-1
COMBINE_SELECT_ORDERBY	1	0
SELECT_ORDERBY(selectList:last_payment, customer_id)	2	1
TRANSFORM_PASSTHROUGH(customer_id, last_payment)	3	2
PROJECT(last_payment, customer_id)	4	3
FILTER_AND	5	4
FILTER_INVERTED_INDEX(indexLookUp:inverted_index,operator:EQ,predicate:_viewing_merchant = 'some merchant id')	6	5
FILTER_OR	7	5
FILTER_AND	8	7
FILTER_FULL_SCAN(operator:RANGE,predicate:customer_id < 'xxxxxxx')	9	8
FILTER_FULL_SCAN(operator:EQ,predicate:last_payment = '1661489443000')	10	8
FILTER_FULL_SCAN(operator:RANGE,predicate:last_payment < '1661489443000')	11	7

with the  last_payment = clause, the result has numEntriesScannedInFilter=42846997, and if we remove it, then numEntriesScannedInFilter=554  and it finishes in ms instead of hundreds of ms.
Seems like we are doing full scan on all data instead of just the one returned by the inverted index.
The performance diff is from hundreds of ms to just ms if this is resolved

You have an OR clause on last payment which will result in full scan.. add range index on last payment and this will be very fast

@kishoreg shouldn't the full scan that happens though be after the inverted index?
WHERE "_viewing_merchant" = 'some merchant id' for the test id I used, this matches only a few hundred rows.  Even without range index, a full scan on a few hundred rows should be very fast. I think the issue here is that the full scan is happening on the entire data set (42 million records) when it really should only be happened on the result of the previous filter. In this case, the merchant filter is part of the AND clause, so Pinot should not be doing full scan for the latter operator, right?

Note that the data structure backing the range index supports passing a bitmap which represents filtering already done, but isn't used in Pinot. If filter bitmaps were passed on to subsequent filters, this feature of the data structure could be used. Generally, filters are executed independently in pinot and intersected afterwards.

Linking #7597


Partially solved - breakpoint not use the real width of the window, if into the page is present the scrollbar

hi
if I use a solution like this:
responsive: [
{
breakpoint: 991,
settings: {
slidesToShow: 3,
slidesToScroll: 3
}
},
{
breakpoint: 767,
settings: {
slidesToShow: 2,
slidesToScroll: 2
}
}
]
if the page is long with the lateral scrollbar, it is necessary to use this values:
responsive: [
{
breakpoint: 979,
settings: {
slidesToShow: 3,
slidesToScroll: 3
}
},
{
breakpoint: 755,
settings: {
slidesToShow: 2,
slidesToScroll: 2
}
}
]
it is due from the scrollbar's width, normally because it is used $(window).width()
to solve this problem you can use:
var w=window,d=document,e=d.documentElement,g=d.getElementsByTagName('body')[0],x=w.innerWidth||e.clientWidth||g.clientWidth;
in this mode it is possible to use the same value of the @media css values
byeeee

###Amazing.
This was absolutely enthralling. :coffee:
Made my evening. Thank you so much @kenwheeler  and @maofree ... I even read it out loud to the :dancer: in funny voices!!
http://www.reddit.com/r/perfectloops/comments/3jcvfo/plankton_slow_clap/
:smile: :joy:


[FEATURE REQUEST] Up arrow at bottom

Description
I would like to implement up-arrow functionality at the bottom of the page as a contribution to project Moksh, GSSOC'23 😊. Clicking it the user will be scrolled up to top and will enhance user interaction with the website.
Additional Information
Screenshots (optional)
Something like this

Priority (optional)
High

I would like to work on this task. I will be highly obliged if you provide me this task to complete.


[KeyVault] Add example for container sas-definition

Fix: https://github.com/Azure/azure-cli-extensions/issues/1063

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

[ ] 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).

[ ] I adhere to the Command Guidelines.

--account-key 00000000 is only used to generate a SAS definition which actually doesn't work. It is the permission part sv=2019-02-02&ss=bfqt&srt=sco&sp=rwdlacup&se=2020-01-14T16:57:57Z&st=2020-01-14T08:57:57Z&spr=https that matters, not the sig=oD7M... part. sig is recalculated by keyvault later.
This reduces the permission to query storage account key via Storage Accounts - List Keys which requires RBAC write permission.


Fix tests in Julia 0.5

Add length functions for SDM iterators
Add iteratorsize iterator trait introduced in https://github.com/JuliaLang/julia/commit/a2ce2309863564aed3fba4f8927d586b11983219

LGTM


Instability issues

###Instability Error for 2 and more agent
First i created one agent.And it is work except action delete process. After i added another agent.But this agent  seems to be added but not added. And I can not take any action this agent.The first agent is no longer working.

For example I choose my first agent. Agent name,description does not appear like that is new agent

The sayings tab does not load when i choose.

Downloaded latest version v0.20.1. I tried it. When I change the settings of the agent and save it, I get a blank screen and the agent name is empty as the agent has never been created

Hey @harunkelesoglu a couple of these sound like bugs we've squashed in the last day or two that don't yet have a release.
I'm working my way through testing everything one more time before another release. I'll let you know when I've got that done and hopefully things a re a bit more stable.
Thanks for your patience as we try to get this new UI packaged up nice.

@harunkelesoglu I published 0.20.2 earlier today and have had really good luck with it's stability. Can you completely un-install your existing instance and download that one fresh?
https://github.com/samtecspg/articulate/releases/tag/v0.20.2
Feel free to create an issue if that one isn't more stable for you.


Adds support to multiple 'src' paths

The 'src' configuration option can now take in either a String or Array of strings
Added a 'lib' folder in fixtures to test multiple 'src' paths
Refactored most path related code in order to support multiple 'src' paths

Does that mean throwing an exception when a directory of our lib does not contain Module.js? I think we can't do that. We can have some directories which are purely for grouping modules but not a module itself also there are directories for styles, views that don't include any Module.js

I think we can merge this


Python Requirements Update

Python requirements update. Please review the changelogs for the upgraded packages.
Deleted obsolete pull_requests:
https://github.com/zubairshakoorarbisoft/edx-repo-health/pull/8

List of packages in the PR without any issue.

asgiref changes from 3.5.2 to 3.6.0
attrs changes from 22.1.0 to 22.2.0
certifi changes from 2022.9.24 to 2022.12.7
diff-cover changes from 7.2.0 to 7.3.0
exceptiongroup changes from 1.0.4 to 1.1.0
google-auth-oauthlib changes from 0.7.1 to 0.8.0
importlib-metadata changes from 5.1.0 to 5.2.0
isort changes from 5.10.1 to 5.11.4
pip-tools changes from 6.11.0 to 6.12.1
pylint changes from 2.15.8 to 2.15.9
pytest-asyncio changes from 0.20.2 to 0.20.3
pytz changes from 2022.6 to 2022.7
tox changes from 3.27.1 to 3.28.0

These Packages need manual review..

[MAJOR] coverage changes from 6.5.0 to 7.0.0
[MAJOR] coverage[toml] changes from 6.5.0 to 7.0.0
[MAJOR] packaging changes from 21.3 to 22.0
[REMOVED] pyparsing (3.0.9) removed from the requirements

Closing obsolete PR.


Locale strings should match the official abbreviations

We should change the locale strings to match its original representations. For example:

Our locale strings: en, cn
Official abbreviations: en-US, zh-CN

I agree regarding cn => zn, but can't we assume en a superset of en-GB, en-US and so? Of course, until we won't have any difference between these regions.


wasm: New maintainers

Hi! As per the new porting policy, the js/wasm port needs new maintainers, as it currently has only @neelance. I'm here to volunteer myself and two others to become part of the js/wasm maintainers. We are:

Johan Brandhorst-Satzkorn (@johanbrandhorst)
Julien Fabre (@pryz)
Evan Phoenix (@evanphx)

We understand the responsibilities involved and hope to help keep the Go wasm port stable for the future. We've had conversations with Richard (the existing maintainer) and look forward to bring new contributions to the port. Evan, Julien, please give your explicit consent in this thread.

As Johan said, I am looking forward to help maintaining the Go WASM port and help the community bringing full WASM support into Go.

I noticed we have separate teams for wasm and js, and I want to clarify that we're happy to be part of both.

Looks like someone took care of it.


Added a CMake line to select C99 in the implementation

This tells CMake to select the C99 standard in a compiler/platform agnostic way.
It should fix issue #1560
Reopened from gracicot#1

Thank you for all the workaround stuff so this can be merged before bumping the minimum CMake version!

I think this fix only covered the main glfw library, not the tests. I'm still getting errors about C99 code in tests/glfwinfo.c.

@tombsar I'll open a new pull request for that. It should be similar  and as simple as this one. I'll try to check if there is no other targets to change too.

Thank you!