Scrcpy 3.1 detected as a malware by Windows Defender

Scrcpy_win64.zip download is blocked by windows defender since v 3.1.
It works fine on 3.0.
Windows version: 11 23h2

Duplicate of #5531 #5600.


upgrade to manticore and RHEL9

@mayorova , if you want to deploy this, the image is quay.io/3scale/searchd:manticore and in operator you can merge this into your object:
spec:
  system:
     searchdSpec:
       image: quay.io/3scale/searchd:manticore

And it works until it gets stuck at 36%:  [ 36%] Building CXX object src/CMakeFiles/lmanticore.dir/sphinxsort.cpp.o

Actually, it just finishes eventually.


ISPN-12596 Incorrect Hotrod Multimap get KeyDoesNotExist response

https://issues.redhat.com/browse/ISPN-12596
When the server sends a KeyDoesNotExist response, it also includes
an empty collection of values.
Also includes a partial fix for https://issues.redhat.com/browse/ISPN-12598

@danberindei ?

@danberindei ?

@karesti the change at https://github.com/infinispan/infinispan/pull/8953/files#diff-3bbf24ceace4d49db015820b51c96fa61e08260ff561fc9fc960b6c5ed1b8b34R34 is enough to reproduce the problem, because the test was already hitting it but was passing because the client was ignoring the error and retrying.


Add support for remapping coco category ids

Remap class ids to make sure they are continuous. MSCOCO dataset has 80 classes but the class ids range  from [1, 90], this adds support  to remap class ids to fall in the range [0, 79]

results for mscoco-retinanet-resnet50-640x640-3x-256
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.381
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = 0.576
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = 0.404
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.178
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.430
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.549
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = 0.317
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 10 ] = 0.493
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.521
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.283
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.590
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.707


Feature Request - Videos to Assist Written Documentation

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Had request from customer that they would appreciate additional videos that could cover the following:

Videos that would walk through some of the examples.
Videos that could assist with giving a deeper look at how the module is designed and correlates to the different configurations available.
Videos talking through some of the limitations as well as some of the things to watch out for.

Hey @oZakari,
Have you/they seen the recent Azure Enablement Show videos @krowlandson and @matt-FFFFFF have made?
They are available here via the AAC page: https://learn.microsoft.com/azure/architecture/landing-zones/terraform/landing-zone-terraform

Thanks @jtracey93, wasn't aware of these!

This is a great ask @oZakari so also adding these to the Wiki as part of some other updates I'm making today. Thank you! 👍🏻


Deployment patch example misses the spec part

Just making the example in the documentation a bit more clear, adding replicas under the spec section.

/test e2e-gcp

/test e2e e2e-gcp


Dynamic  tutorial?

This is similar to #28, but mine looks similar to this: <compose view="../patterns/${patterns}.html"></compose>. How do I do PLATFORM.moduleName on a dynamic HTML file that has no ViewModel to go with it?
I tried using various version of this: new GlobDependenciesPlugin({'pattern-index': './src/apps/pattern-library/patterns/**/*.html'}),, but I can't get it working yet. What am I doing wrong?

The fact that it's .html or .js doesn't change anything as far as the build is concerned. The module just has to be referenced somehow.
As in previous answers I would like to first suggest binding to the full module name if that's reasonable. That means the module name actually appears somewhere in your code and you can wrap that with moduleName.
With rare exceptions, I also recommend using absolute module names rather than relative when using Webpack (the ../patterns part).
When it comes to GlobDependenciesPlugin:

note that the path starts in your webpack.config.js folder.
a glob should not start with .. Try src/apps/pattern-library/patterns/**/*.html.

As in previous answers I would like to first suggest binding to the full module name if that's reasonable. That means the module name actually appears somewhere in your code and you can wrap that with moduleName.

Unfortunately, that isn't something viable otherwise I'd do that.

With rare exceptions, I also recommend using absolute module names rather than relative when using Webpack (the ../patterns part).

It seems to get the right path: Unhandled rejection Error: Unable to find module with ID: apps/pattern-library/patterns/intro/patterns.html I just need to get it as a module somehow.
I did try without the ., but the same result.

Arf I know why.
pattern-index is supposed to be the module id that depends on those globs.
Clearly that's not correct.
Probably more like apps/pattern-library/patterns/pattern-index or something similar.

Sorry, I'm pretty new to webpack, so I'm kind of dense.
Same error as before, but just with a different name:
ERROR in ./src/apps/pattern-library/app.js
Module not found: Error: Can't resolve 'apps/pattern-library/patterns/pattern-index'

Since I'm not seeing your config, code structure and file names you need to adjust the names when I guess wrong.
GlobDependenciesPlugin adds extra dependencies to the graph that Webpack builds to pack your app.
Specifically, its parameter is an object whose:

keys are modules that must have additional dependencies, e.g. can be the view with <compose>;
values are glob patterns to find the extra dependencies.

If you need more help please provide more info, such as the organization of your code.

Hopefully this can help you get a better idea:

So it looks like this:
-src
--apps
---pattern-library
---(other-folders)
-webpack.config.js

Not completely but I will give it a try anyway:
 { "apps/pattern-library/app.html": "src/apps/pattern-library/patterns/**/*.html" }

So if I manually do this: new GlobDependenciesPlugin({'apps/pattern-library/patterns/intro/patterns.html': 'src/apps/pattern-library/patterns/intro/patterns.html'}), it works fine, but as soon as I try to do the wildcard HTML it causes issues. If there a different/better way to accomplish that?

Scratch everything I said earlier, this was the trick: new GlobDependenciesPlugin({'apps/pattern-library/app.html': 'src/apps/pattern-library/patterns/**/*.html'}),

I'm adding my 2¢ for troubleshooting tips:  I found that GlobDependenciesPlugin doesn't work if the components are in the same folder as the module referencing them.  Once I moved the components into a subfolder, and updated GlobDependenciesPlugin it finally started adding them to the bundle.

I've been banging my head trying to get this to work, and can't figure out the paths. Given the example above, can someone explain why the path to the dependent module is relative to the 'src' folder, and the path to the dependencies is relative to the root? Given that the webpack.config.js is in the root, I would expect that the path to the dependent module would be relative to the root, and the path to the dependencies is relative to either the root, or to the dependent module, but neither seems to be the case.

@EMooreMAC
The dependent module is resolved according to your webpack configuration, as any other module reference would be. Assuming you have in your webpack config resolve.modules = ["node_modules", "src"], this explains why it appears to be relative to src.
In reality it is not "relative to src" and you can refer to a 3rd party module aurelia-dialog, use aliases, etc.
The dependencies are glob. They are not directly modules and can't easily be resolved according to your config. To start with, when you have more than one folder in resolve.modules it would be unclear in which one to look, or ambiguous if several matched.
So they are glob evaluated as paths on the file system, from your root folder.
Hope this clarifies things up a little bit.


PHP Version

I was trying out Rocketeer today to see if I could get it setup for a Symfony app. I am getting the following error:
Checking presence of git
Checking PHP version
Checking presence of Composer
Checking presence of mcrypt extension
The version of PHP on the server does not match Laravel's requirements
Deployment was canceled by task "Check"

I am assuming that the Rocketeer is built ontop of Lavarel? If so, what version does it require?

Hey I have the same problem "PHP is not at the required version" . In Json - "php": ">=5.5.9", on server - Current PHP version: 7.0.9

Can you run $task->php()->run('version'), what does that yield?

where I can run this? I have tried to put this in example.php on server file like phpinfo().

There is a tinker REPL command on Rocketeer, you could go in there and IIRC you should have an $app variable representing Rocketeer's container on which you can call $app->bash->php()->run('version')

rocketeer tinker [enter]
[1] rocketeer> $app->bash->php()->run('version'); [enter]
PHP Notice:  Undefined variable: app in phar:///usr/local/bin/rocketeer/vendor/d11wtq/boris/lib/Boris/EvalWorker.php(152) : eval()'d code on line 1
...


Better support for linting multiple files

Related: #680

[ ] if given a directory, TSLint should recursively search for .ts{,x} files in that directory and add them to be linted (similar to ESLint)

implemented here: #857

if provided the path to a tsconfig.json file, TSLint should lint all the files listed in the "files" list and files they reference via imports or references

Q: should we ignore .d.ts files by default? and provide an option to opt-in to linting them?
Q: should this be the default if no files are specified? i.e. TSLint searches for a tsconfig.json file in the same way it currently searches for a tslint.json file
moved to #858

[x] support globs in CLI on Windows (#688, #779)

implemented here: #827

Q: should we ignore .d.ts files by default? and provide an option to opt-in to linting them?
Yes please. Getting lint errors because the typings from tsd doesn't follow the same code standard as the project would be pretty messy.
An opt-out would work as well, but I think the most common would be to not wanting to lint .d.ts files.

:+1: and I agree with ignoring .d.ts files by default.

TSLint should lint all the files listed in the "files"
Are you going to support fileGlobs from tsconfig as well as files?
This would be very helpful, as it is close to impossible to define all the sources in files in large projects.

@raveclassic Definitely want to support filesGlob and exclude. Without those things are significantly more painful

@JKillian Thanks, waiting for changes. For now will use gulp to gather the files.
Besides, great work guys!

I wonder what's the benefit of merging multiple reports into one... I think that three (relatively) small issues have a greater chance to be implemented than one big issue. But sure, it's up to you how you manage your project...

I have an unfinished solution for task 2 and #680 in here. I don't have enough time to finish it so if anyone would like to step in feel free to do so.
BTW, after #857 is merged I feel that this one should be closed. Task 2 isn't relevant here.

moved task 2 (tsconfig.json support) to #858

I agree with ignoring .d.ts files by default

Please do not do that, at least not hard coding that. Using tslint to lint .d.ts for typings.

No one is really pining for directories support (first checklist item in the issue description) so it seems like globs are enough. Closing this out.


Pre-trained model

Thanks for your work! Could you please upload the pre-trained model to the huggingface model hub, so I can use it for some experiments?

Unfortunately, I don't have pretrained weights at hand. Sorry!


Update Readme.md

sample_sheet.Header.Assay

was

sample_sheet.header.Assay

which gives an error as all class attributes are all caps now.

Good catch!

I was getting back to my code and it stopped working due to updates on your library, then it clicked.

Sorry about that @nuin, we did make an API change to support attributes as they are named in the Sample Sheet (with whitepsace converted to _).
As we move to a released API (v1) things should break less :D


Sidecar sometimes fails to call /subscribe-endpoint without recovery

I posted this as an answer to a related issue #2167
We use a pubsub component that very rarely fails to call the app's /subscribe endpoint, most likely due to an error within our app or our message broker:

time="2023-10-20T11:25:45.801096171Z" level=error msg="rabbitmq pub/sub: error in subscriber for [redacted] in ensureSubscription: channel not initialized" app_id=[redacted] component="pub-sub (pubsub.rabbitmq/v1)" instance=[redacted]-7c9db7fb75-bl6gk scope=dapr.contrib type=log ver=1.11.2
time="2023-10-20T11:25:45.801148276Z" level=warning msg="rabbitmq pub/sub: subscriber is reconnecting in 3s ..." app_id=[redacted] component="pub-sub (pubsub.rabbitmq/v1)" instance=[redacted]-7c9db7fb75-bl6gk scope=dapr.contrib type=log ver=1.11.2
time="2023-10-20T11:25:48.802146207Z" level=info msg="rabbitmq pub/sub: connectionCount: current=0 reference=0" app_id=[redacted] component="pub-sub (pubsub.rabbitmq/v1)" instance=[redacted]-7c9db7fb75-bl6gk scope=dapr.contrib type=log ver=1.11.2
time="2023-10-20T11:25:54.345422725Z" level=error msg="error occurred while beginning pubsub for topic [redacted] on component pub-sub: failed to subscribe to topic [redacted]: failed to subscribe to [redacted]" app_id=[redacted] instance=[redacted]-7c9db7fb75-bl6gk scope=dapr.runtime type=log ver=1.11.2
time="2023-10-20T11:25:54.345490731Z" level=info msg="rabbitmq pub/sub: subscription for [redacted] has context canceled" app_id=[redacted] component="pub-sub (pubsub.rabbitmq/v1)" instance=[redacted]-7c9db7fb75-bl6gk scope=dapr.contrib type=log ver=1.11.2

We experienced this issue with both RabbitMQ as well as Azure Service Bus. So far we haven't been able to pinpoint exactly what's going wrong on our side but imho Dapr is sorely lacking a recovery mechanism. Currently Dapr doesn't react at all and continues "functioning" despite the pubsub component not working properly. This is quite frustrating as we have to manually stumble upon a broken pod in order to fix this.
One solution would be for the component to report its status and make it queryable via /healthz so that Kubernetes knows to restart the container.
In what area(s)?

/area runtime

What version of Dapr?

1.1.x

Expected Behavior
Either implement a recovery mechanism or allow health checks to query for component health so that Kubernetes can remove pods with non functional components.
Steps to Reproduce the Problem
Possibly manully returning 500 on /subscribe

this is still very much an issue

this is still very much an issue

Still an issue


iroh-blobs store that uses s3 as a storage backend

There is customer demand for a s3 storage backend for iroh-bytes.
There are various use cases, one, from https://www.eqtylab.io/ , to serve from existing s3 buckets. Other projects that might find this useful are s5 (they are doing this already) and bacalhau.
Questions:

s3 just for the data itself, or also for the outboard?
ability to compute outboard for existing s3 asset?
should this be just a library (some assembly required) or a full iroh feature?

Note: the current store traits allow importing a file from the local file system. But it seems that for some users this is not wanted. Instead you want to compute an outboard for an existing s3 bucket. That is reasonably easy to do at the library level, but fully integrating this into iroh would take some time.
So maybe the best way to do this in a reasonable time would be a small separate project similar to sendme or dumbpipe?

s3 just for the data itself, or also for the outboard?

I'd like to see a world where we can do both, but would start with s3 just for the data. In the situation where we also store outboards on the bucket we'd likely want to use .obao extension convention. having read/write access to the store would require write access to the bucket, which will take a while. Let's start with local outboard & remote data.

ability to compute outboard for existing s3 asset?

Yes. This one is crucial.

should this be just a library (some assembly required) or a full iroh feature?

We should start it as a library, and only move it down if lots of people want it & we can stabilize the API.
I think the starting point should focus on the readonly paths of the S3 API. After a basic "I give iroh one object URL, iroh computes the outboard & can serve subsequences using that URL", I'd want us to look toward deeper integration with the S3 API for listing bucket objects, possibly creating collections from "folders".

s3 just for the data itself, or also for the outboard?

I'd like to see a world where we can do both, but would start with s3 just for the data. In the situation where we also store outboards on the bucket we'd likely want to use .obao extension convention. having read/write access to the store would require write access to the bucket, which will take a while. Let's start with local outboard & remote data.

ability to compute outboard for existing s3 asset?

Yes. This one is crucial.

should this be just a library (some assembly required) or a full iroh feature?

We should start it as a library, and only move it down if lots of people want it & we can stabilize the API.
I think the starting point should focus on the readonly paths of the S3 API. After a basic "I give iroh one object URL, iroh computes the outboard & can serve subsequences using that URL", I'd want us to look toward deeper integration with the S3 API for listing bucket objects, possibly creating collections from "folders".

OK, so something like this: I write a s3 compatible store impl with a few extra fns in an example project. The extra fns are about importing from existing s3 buckets (as opposed to importing from the local fs). This allows you to point to a s3 resource and then serves it using the iroh-bytes protocol, similar to sendme send.
Once that is refined, this s3 compatible store impl moves to iroh-bytes under a feature flag.
Then we decide whether to integrate this into iroh itself or not. But I think this would be rather hard to do in a generic way, so let's see.

Just my 50 cents, may it worth to create a file system implementation and then just mount S3 through s3fs?

Just my 50 cents, may it worth to create a file system implementation and then just mount S3 through s3fs?

That's something you could do now. But it would be limiting in terms of platform compatibility. And also I think one of the benefits of this idea is that you can take existing resources on s3 and make them content-addressed and range queryable retroactively by just computing an outboard. That would not work with the s3fs approach, since that requires iroh to control the resource name.

I may missed something. But why "computing an outboard" can be done for S3 and cannot be done for local files?

Hi, I discovered these issues from my friends who shared the Iroh project. This project is incredibly cool, and I personally find this issue interesting.
I'm from the Apache OpenDAL community which offers a unified data access layer, empowering users to seamlessly and efficiently retrieve data from diverse storage services.
Currently, OpenDAL supports S3, GCS, AzBlob, and other major storage services, making it a suitable choice for this project.
I am interested in building a demo based on our existing trait. What are your thoughts?
https://github.com/n0-computer/iroh/blob/39d4bd9c757da0dc7005f97b5c3d588532f48c42/iroh-blobs/src/store/traits.rs#L298-L389

I'm curious if any progress has been made towards an s3 backed blob store implementation? We have a use case for exactly this. We need peers to import blobs to their store from an existing s3 bucket, the calculated BAO outboard should be stored locally (although I'm open to other suggestions...), the actual bytes should stay in the bucket. When a blob is downloaded from the network, the bytes should end up on the receiving nodes own configured bucket. Importantly, calculating the BAO outboards should be done incrementally over chunked data as we can't have the whole blob on the local filesystem ever (as they're very large).
I saw the example code in iroh-experiments for an s3 BAO store, this is great as a reference, but a full implementation of the store traits will be more involved than what's been done there.
Any efforts towards this from within iroh org or otherwise?


Adds feature to prune remotes. Fixes #556

Description
A request for the option to prune a remote was made in #556
There was some discussion as to the exact functionality that people wanted:
The main concern I believe was to simply prune the remote
There was also talk to remove any local branches tracking pruned remote branches, which I thought might be better for a feature separate from pruning, as it alters the local repo in a way most would not expect
EDIT: it was agreed upon in #556 that this feature should just prune the remote. A new issue to implement the second functionality was made at #817
Also, I wasn't sure which icon to use, but thought that the icon-branch.svg fit the best. I can change this if people wish
Testing
To test this feature with my test gitlab repo, I did the following:
1 - create a new remote branch on gitlab, and add a file to it
2 - from gitlens, fetch the remote to which I made these changes. Make sure the remote branch is seen
3 - merge the remote branch into remote master and delete on merging
4 - pull from the remote
5 - run git remote prune --dry-run <remoteName> to ensure there was indeed a branch to prune
6 - use the "prune" functionality added in gitlens
7 - check to make sure the remote branch disappears in gitlens. Also run another git remote prune --dry-run <remoteName> just to be safe
Screenshots:

steps 1 and 2 (feature-pr remote branch is still in remote)

step 3

steps 4 and 5 (check that there is indeed a branch to prune)

step 6 and 7 (after pressing the "prune" button in gitlens)
Checklist

[x] I have followed the guidelines in the Contributing document
[x] My changes are based off of the develop branch
[x] My changes follow the coding style of this project
[x] My changes build without any errors or warnings
[x] My changes have been formatted and linted
[x] My changes include any required corresponding changes to the documentation
[x] My changes have been rebased and squashed to the minimal number (typically 1) of relevant commits
[x] My changes have a descriptive commit message with a short title, including a Fixes $XXX - or Closes #XXX - prefix to auto-close the issue that your PR addresses

@eamodio Awesome, I'll make those changes tomorrow! Should I squash them locally and push the changed history to my fork, or should I just add on another commit that can be squashed from Github? Not sure if the first option will delete this pull request or something

Great thank you! You can do it either way as long as you keep pushing to the same branch you opened the PR on it will update the PR. Although I noticed that you used the same branch as develop as your last PR. In the future it would be best to create a new branch for each PR

Just pushed those changes 👍
Also sorry about not creating new branches! I'll do that from now on!
Thanks again for your help!

Looks great -- thank you!


ARM Build - push image scripts for u16 to github.com/dry-dock-aarch64/u16

https://github.com/Shippable/pm/issues/8930

this is done, closing


Allow leapp packages to be removed

Leapp packages that were installed with the Leapp utility are automatically added to the exclude list to prevent critical files from being removed
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/upgrading_from_rhel_7_to_rhel_8/performing-post-upgrade-tasks-rhel-7-to-rhel-8_upgrading-from-rhel-7-to-rhel-8#doc-wrapper

yum module actually has disable_excludes option which I think is better, if you update to use that then I will approve

This is already present.  https://github.com/redhat-cop/infra.leapp/blob/main/roles/upgrade/tasks/leapp-post-upgrade.yml#L3

As Jeffery noted, the Clean dnf exclude list task earlier in this task file is already doing this.


(MODULES-2207) Modulesync

This brings the following items under modulesync:

.gitignore
.travis.yml
CONTRIBUTING.md
Gemfile
appveyor.yml
spec/spec.opts

Most importantly, this ensures that acl has up to date Gemfile, Travis CI and
AppVeyor configurations that allow it to be tested properly.

I believe this requires updating @ferventcoder

Done.

I have some files that snuck in here on file mode changes. I need to back those out

There we go.

Validated combos of gems on each of the matrix cells in TravisCI and AppVeyor :+1:


Fix WinkAC mode API calls to correct methods

Description:
Minor fix to call correct pywink methods for WinkAirConditioner to fetch the current and possible modes.
Related issue (if applicable): fixes #25542
Pull request with documentation for home-assistant.io (if applicable):
Example entry for configuration.yaml (if applicable):
wink:

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Hi @cameronrmorris,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!


Prerequisites GitHub links broken

Search.Azure, Search.Contracts and Search.Dialogs are all 404

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

ID: d3bc8631-6157-a3aa-431a-fc65abc6c752
Version Independent ID: d8d2de9c-082d-090f-f6d0-93e74555089e
Content: Create data-driven experiences with Azure Search - Bot Service
Content Source: articles/dotnet/bot-builder-dotnet-search-azure.md
Service: bot-service
GitHub Login: @matthewshim-ms
Microsoft Alias: v-shimma

These projects can be found here now. The links are fixed in a PR that should go live soon.

The links take to V3 bots, are there Azure search samples for v4 bots


getLoadableState)(...).then is not a function

First off, great work! I love the simplicity of this project.
Expected behavior
getLoadableState() should return a promise.
Actual behavior
getLoadableState() returns an instance of DeferredState if no queries are found.
Steps to reproduce

From the root of an empty directory: yarn add loadable-components.
Open node_modules/loadable-components/server/index.js.

getLoadableState contains the following line:
if (!queries.length) return new _DeferredState2.default([]);
If I download the repo and run yarn build, this is output instead:
if (!queries.length) return Promise.resolve(new _DeferredState2.default([]));
Opening up the tarball listed on npm shows the line that isn't wrapped in Promise.resolve, so I think all that needs to be done is to update that.

Thanks! I will fix it soon.

It was already fixed, I published a new version: https://github.com/smooth-code/loadable-components/releases/tag/v0.2.1


Fix typo in TotpSecurityStampBasedTokenProvider docs

Hi @ctolkien, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

Merged thanks!
7649b3ebb33845e5c456c5c6ab91aa1522ce2ffe


Typo: server -> service

Fixes https://github.com/jetstack/cert-manager/issues/4104

Duplicate of #608


feat: config supports toggling HTTP and Stats servers on/off (#594)

This changes the behavior of the stats server and git server but I assume most people don't want that by default.
The ssh/http servers are most likely the primary ones?

LGTM! Finally, could you add tests to check if the servers are enabled/disabled

Not exactly sure what you're looking for...
Do you mean a test case where the env vars are verified to be working?

Do you mean a test case where the env vars are verified to be working?

Yes. You could use testscripts to write the tests

Do you mean a test case where the env vars are verified to be working?

Yes. You could use testscripts to write the tests

Ack, done.
Tests got a little bit of polish as well.

Tests got a little bit of polish as well.

Perfect! Could you put the test changes in a separate PR so that it doesn't get mixed up with the changes here?

This was rebased and submitted in another PR.


improve error handling in targeted_long for too-big and too-small targets

There are bounds on the target_rate argument that are not observed presently. The rate upper bound is obvious -- they should not be targeting a rate that is greater than the current fixed rate, since longs can only reduce the rate. The lower bound is trickier -- in addition to the base amount being bound by the output of calculate_maximum_long, we can assume that there is a point near zero where the fixed rate is too small.
As of now if you provide pathological arguments for target_rate it will throw errors that are not sufficiently informative; it would be better to check that the target_rate argument is within a reasonable bounds.

https://github.com/delvtech/hyperdrive/pull/956 partially addresses this by adding a check if the target_rate is above the current_rate (which means we would want a targeted short).

Duplicate issue with https://github.com/delvtech/hyperdrive/issues/861 ; closing


Update brew installation to the the latest format

Not stale

Whoops.. seems like there are already a few duplicate PRs to fix this:

Update brew installation to the the latest format #2003
use brew install --cask instead of brew cask #2148

And not strictly a duplicate, but another update to the homebrew section of the docs:

Explain what homebrew is #1660

Originally posted by @0xdevalias in https://github.com/meetfranz/franz/pull/2149#issuecomment-1312841841


gtk-doc + json-glib: fix cross-compilation

Motivation for this change
Fixes https://github.com/NixOS/nixpkgs/issues/117181.
I first thought that the patch for gtk-doc didn't make sense, but I think it does. Still have to disable building docs for json-glib, since it also uses introspection, which doesn't support cross-compilation (well).
Important for cross-compilation, since glib is used in a lot of (GUI) applications.
Please let me know if this is the right approach. I think we should disable introspection on cross-compiled packages until we have proper support for it, so we can at least get cross-compilation working for most of the system. However, I'm not 100% sure if that's the right approach. If there are objections, I'd like an explanation of why we need introspection / what it's useful for.
I'm planning on doing more fixes as I get further with cross-compiling. I've quite a lot done, but it needs tidying up and a good look before I want to send them here. Also, I'd like some feedback on this approach before pushing all of that into nixpkgs.
Cc @Ericson2314 @samueldr
Things done

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

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

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

Does it help if I split this up? Only fixing gtk-doc and submitting the json-glib change later?

I tried building some packages with these changes (native x86-64):

[x] xwayland
[x] gtk3
[ ] flatpak (still building)

I guess that gives pretty good confidence this at least builds.
Also built:

[x] pkgsCross.aarch64-multiplatform.gtk-doc
[x] pkgsCross.aarch64-multiplatform.json-glib

Note that disabling gobject-introspection has some disadvantages, e.g. python apps using pygobject won't work / compile. However, I think it's a reasonable tradeoff considering some application are able to be cross-compiled when you disable introspection, and something is more than nothing.
In the future we could consider re-enabling introspection whenever we figure out how to properly cross-compile apps using introspection (see also https://github.com/NixOS/nixpkgs/pull/88222).

Thanks for the comments. I'll have a good look at this and will try some things to make cross-compilation happy. Indeed soms of the depsBuildBuild feel wrong, it's good to have that confirmed.

I've updated the PR so depsBuildBuild are not used anymore in json-glib. It appears that that was not needed / I couldn't make sense of it. Maybe it's something to look at in the future.
I did have to disable strictDeps again though. It would work when I put pkg-config in depsBuildBuild, but I didn't really understand why that was needed and I couldn't really figure it out together with @Ericson2314. It doesn't seem logical to put pkg-config there, and I can't find that pattern anywhere else in nixpkgs. Somehow when I enabled strictDeps, I got an error that gobject-introspection couldn't be found anymore (even though pkg-config and gobject-introspection are both in nativeBuildInputs).

It is logical to put pkg-config there too when it is needed for build time packages' pc files, and I do recommend that.

This is ready IMO. Let me know if there's anything still to be addressed.


Right-click menu for selecting what a city builds

This was already done by Flintlock, but we didn't have an issue written up for it.  Adding one so it's easier to keep track of what we've done.

Closing as already done.


Upgrade Hystrix to 1.5.5

Fixes #1289

Current coverage is 73.19% (diff: 100%)

Merging #1294 into master will increase coverage by 0.01%

@@             master      #1294   diff @@
==========================================
  Files           184        184
  Lines          5532       5532
  Methods           0          0
  Messages          0          0
  Branches        846        846
==========================================
+ Hits           4048       4049     +1
  Misses         1173       1173
+ Partials        311        310     -1

Powered by Codecov. Last update 1b9d91d...9316124


fixes #7051

Changed return type to GRPCCall * from ProtoRPC *

Descriptive title?

Please fix indentation.


Do I need Ametrin.Utils.Registry?

The Ametrin.Utils.Registry namespace slows development significantly leading to the question:
Should I remove it? This Issue is here to track where it is used and to what extend the code bases benefit from it

History: This was developed for https://github.com/BarionLP/CommandSystem which doesn't even use it anymore

the namespace gives no reasonable improvement over Dictionaries. It will be marked as obsolete and removed in the near future (probably with .net 8 support)
all functionality it does provide will become extension methods over Dictionary


the maximum a posteriori estimate samples flux?

The function max_a_post appears to be sampling fluxes, rather than returning a MAP estimate:
https://github.com/prob-ml/bliss/blob/89b26a77ffbad0bc18bd8efcc3b8edf1a693fc5b/bliss/models/location_encoder.py#L277

Oh I see, the standard deviation is set to 0. Still, this is a bizarre way to do it.

Can you rename this issue to be more actionable?


In 2022, I was working as a journalist, covering various stories and constantly seeking inspiring narratives. One day, I stumbled upon a story about cryptocurrency, particularly Bitcoin, and how it was transforming lives. Intrigued, I decided to dive deeper. After extensive research, I saw a fantastic opportunity to make more money and focus on my personal growth. Taking a bold step, I quit journalism and invested $30,000 in Bitcoin. in my first year, my investments paid off tremendously, and I started making $100,000 a month. My new lifestyle, marked by financial freedom and personal development, caught the attention of my friends. However, instead of being happy for me, some became jealous. Their envy turned into a dangerous plan to abduct me and steal my newfound wealth. One night, their plan was set in motion, but thankfully, it failed. During the chaos, I lost my phone, which held crucial access to my Bitcoin wallet. With my funds seemingly inaccessible, I was desperate. That's when I came across GRAYWARE TECH SERVICES. They were my beacon of hope in a dire situation. I contacted them, and they were incredibly professional and efficient. Not only did they help me recover access to my wallet with all my funds intact, but they also uncovered the plot behind the abduction attempt. Their expertise ensured my financial security and provided the evidence needed to bring my so-called friends to justice. The law caught up with them, and they faced the consequences of their actions. This experience taught me several valuable lessons. Firstly, success can sometimes attract negative attention, and it's crucial to be mindful of who you trust. Secondly, securing your digital assets is paramount. GRAYWARE TECH SERVICES team showed me the importance of having robust security measures in place. Lastly, resilience and seeking help in times of trouble are vital. Without the assistance of the recovery team, I would have been lost. In conclusion, my journey from journalism to successful Bitcoin trading was fraught with unexpected challenges, but it ultimately led to significant growth and learning. The support and expertise of the GRAYWARE TECH SERVICES team were instrumental in overcoming these hurdles. My story is a testament to the power of resilience, the importance of security, and the impact of the right support in times of crisis.
GRAYWARE TECH SERVICES CONTACT INFO:
Website: www.graywaretechservices.com
What's App: +447421348767
Email<EMAIL_ADDRESS>Best Regards,
Inchag Jones..

After serving in the military in Afghanistan and returning home in 2016, I found it incredibly challenging to transition back into civilian life and secure a normal job. The structured environment of the military was starkly different from the corporate world, and despite my skills and discipline, finding a job that matched my experience and provided a sense of purpose was difficult. Many employers seemed to overlook the value of my military background, and I struggled with the feeling of being underutilized and misunderstood. During this period of uncertainty, I developed an interest in forex trading and cryptocurrency trading. The dynamic nature of these markets and the potential for substantial returns captivated me. After thorough research and cautious consideration, I decided to invest a significant portion of my savings into these ventures. I allocated $350,000 across various trading platforms, with a substantial $250,000 dedicated to purchasing bitcoins. This decision was driven by my belief in the future potential of cryptocurrency and the opportunities it presented for financial growth.However, my journey took an unexpected turn when I was attacked by thugs who attempted to steal from me. Although they were unsuccessful in their theft, they managed to destroy my phone in the process. Panic set in as my phone held crucial information, including my cryptocurrency wallets. The realization of how difficult it could be to recover the necessary phrases and access my investments was overwhelming, especially since the phone was completely totaled.Amidst this chaos, my wife played a crucial role in seeking a solution. Her relentless efforts led her to a testimony on Facebook about a service called (TRUST GEEKS HACK EXPERT) . Desperate and hopeful, we decided to give them a chance. Their team was not only able to recover all my lost data but also helped us secure our cryptocurrency assets more effectively.The experience was a stark reminder of the volatile nature of the digital world and the importance of securing one’s investments. The assistance from (TRUST GEEKS HACK EXPERT) was a lifesaver, restoring our financial stability and providing us with peace of mind. Their expertise and prompt service were invaluable, and I am incredibly grateful for their help in what could have been a disastrous situation.
CONTACT INFO OF TRUST GEEKS HACK EXPERT
Website. https://trustgeekshackexpert.com/
Email:: trustgeekshackexpert@fastservice . com


E-Mail is Scrunched on Mobile Team Member View

Just need to fix the table so it does not scrunch the user e-mail.

Hey I was wondering, it doesn't look like we ever actually collect the users' first and last names. Whether they sign up using devise or google I think we only ask for an email or a password. Should I just nix those from the listings of the team mates?

Yeah I think that makes sense.
On Wed, Nov 2, 2016 at 9:13 PM Frank Cardillo<EMAIL_ADDRESS>wrote:

Hey I was wondering, it doesn't look like we ever actually collect the
users' first and last names. Whether they sign up using devise or google I
think we only ask for an email or a password. Should I just nix those from
the listings of the team mates?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/codeforboston/cambridge_energy_app/issues/329#issuecomment-258045343,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAihj_h6i4EQsVsuBT5HbjDkCmj3hR9jks5q6TUOgaJpZM4KmwMB
.


Caching of build trees

In GitLab by @tristanvb on May 5, 2017, 06:02
It can be interesting to cache and store a dirty build tree for later reuse.
The idea is that if the build tree itself, with object files and timestamps in tact could be cached and shared, then this could allow incremental builds at a later time on another host.
One could then, for instance, desire to hack on WebKit and create a workspace using the last known build of the correct cache key, so after modifying some file, only part of the webkit build would have to run.

In GitLab by @knownexus on Mar 20, 2018, 13:47
I've looked into this a bit and have come up with a plan for how this could work:
Step 1

Create a directory in the cache to contain the sandbox Build Dir

Step 2

Get Sandbox root directory
Append Build-root directory to the end
Copy the contents of this directory to the cache build dir

Step 3

Add argument to project conf file
Have code grab the argument from the file
If no argument is found: Set default value
Pass value to element.py
Determine if build dir should be cached

Step 4

Update cache key dict to contain Cached build tree key
Pass the new key the value determined in (3)

Testing
This requires additional functionality to be tested.
See Issue #311 for details

In GitLab by @LaurenceUrhegyi on Apr 17, 2018, 19:04
mentioned in merge request !372

In GitLab by @knownexus on May 23, 2018, 10:40
assigned to @knownexus

In GitLab by @toscalix on May 23, 2018, 15:47
marked this issue as related to #402

In GitLab by @LaurenceUrhegyi on May 24, 2018, 11:49
marked this issue as related to #311

In GitLab by @knownexus on May 25, 2018, 10:30
mentioned in merge request !474

In GitLab by @tristanvb on May 26, 2018, 10:07
Note: either as a part of this or separately, the use case described in #407 should be considered (running a shell with the build directory also staged).

In GitLab by @albfan on May 26, 2018, 10:28
I will try myself this branch and provide feedback. I'm trying to hack on test for gtksourceview of gnome-build-meta

In GitLab by @tristanvb on Jun 5, 2018, 19:45
mentioned in merge request !475

In GitLab by @toscalix on Jun 24, 2018, 14:30
@albfan any news on this topic or should we put it back to ~"To Do" ?

In GitLab by @albfan on Jun 24, 2018, 20:03
I want to hack on gtksourceview gtk_source_manager_guess_language() and want to add some test about it (as said in #407), upstream maintainer agreed yesterday to hack on it https://gitlab.gnome.org/GNOME/gtksourceview/issues/12#note_253185 so expected news this week

In GitLab by @albfan on Jun 25, 2018, 21:08
I use this project to test:
https://gitlab.com/albfan/buildstream-flatpak-gtksourceview
I can see build objects.
I realized that without any options (--use-cached-buildtree=when-local is the default)
bst workspace list

fails to list opened workspaces
meanwhile using --use-cached-buildtree=ignore-cached workspace list works as expected
Any further checks for this? Do you want me to fix it or just report?

In GitLab by @knownexus on Jul 18, 2018, 10:19
unassigned @knownexus

In GitLab by @tristanvb on Jul 22, 2018, 09:31
Some updates to this after taking a brief look at !474

Since we are now early in 1.3.x cycle, it will be acceptable to merge the caching of build trees functionality separately, in advance of using them from a workspace #311.

This should be quicker to land, and unlock potential work which can leverage this and can be done in parallel

We do not want any project.conf variable related to this at all if it can be avoided

The cost of considering that an artifact might, or might not have a cached build tree available is going to be increasingly expensive, this is a distinction we don't want to have to make.

I should note that it is still very important that the users who download the build tree, do so only at the time we know they really need it. I.e.:

Creating the artifact with the build tree locally should not be too expensive
Pushing the artifact takes more bandwidth, because an artifact must always have it's buildtree, otherwise the artifact would be incomplete
Normally a build server is the one pushing artifacts more often than a user, so this cost is mostly mitigated
A developer who is using an artifact share in order to reduce local build times, should not have to download the build tree part of the artifact. Instead we should only pull the build tree part when:

The user launches some command which requires the build tree
The build tree does not happen to be available locally

This means that we will have to have different PullQueue modes, or a separate new queue type for downloading the build tree portions of artifacts, this queue should be used only when we've determined that the user wants to use a build tree.
In order to unblock activities which depend on cached build trees, the optional/selective downloading of the build tree can also be a separate activity.

In GitLab by @tristanvb on Jul 23, 2018, 11:01
mentioned in merge request !504

In GitLab by @knownexus on Jul 23, 2018, 11:09
mentioned in merge request !560

In GitLab by @tristanvb on Jul 23, 2018, 14:20
This is closed by !560

In GitLab by @tristanvb on Jul 23, 2018, 14:20
closed

In GitLab by @LaurenceUrhegyi on Aug 1, 2018, 11:42
marked this issue as related to #534

In GitLab by @LaurenceUrhegyi on Aug 1, 2018, 11:56
removed the relation with #534

In GitLab by @tristanvb on Aug 2, 2018, 08:51
Note: Asides from the fact we need to implement features which actually use the cached build trees (which is covered in part by #539 already), the main technical debt incurred by implementing this feature is described in #494, and #487 indirectly, but as a consequence of this issue.

In GitLab by @toscalix on Aug 2, 2018, 09:28
marked this issue as related to #494

In GitLab by @toscalix on Aug 2, 2018, 09:28
marked this issue as related to #539

In GitLab by @toscalix on Aug 2, 2018, 09:28
marked this issue as related to #487

In GitLab by @tpollard on Feb 6, 2019, 10:46
marked this issue as related to #896


Prepare CHANGELOG/README for 0.15.0

Changes for 0.15.0.

These are all docs changes, so going ahead and merging now.


Added mock to the "Running tests" documentation

Coverage remained the same at 91.819% when pulling 3b8acc218a4ab5084fd5173cac86e4330a7724d0 on ataylor32:tests-docs-mock into 85ece7254157ca1b9be21b84687ac940cf424fab on jazzband:master.


keyboard bindings?

Is there a list of keyboard bindings anyplace?  Would like to use keypresses to control it from my USB foot pedal.  Thx!

Also, is it possible to issue commands from a script, like from bash?  Is midi the only external command type?

This probably isn't the best answer, but the midimonster project lets you convert between various signal and event formats such as MIDI, Joysticks, keyboard input, etc.
You can configure it to take exclusive control of your foot pedal, and then get it to send MIDI signals for the various "keypresses" from the pedal.
Midimonster has JACK support, but it hasn't been stable for me. As a fallback, it works well to use a2jmidid to forward ALSA MIDI devices (i.e. midimonster) into the JACK system and from there you can plug it into loopers.

@eldstal that all sounds like a huge pain, lol.  I've started using ardour to record my practice loops instead and that's a nice solution.  Would be nice to have a simple looper controllable by a foot pedal but if I have to use jack and route midi and etc then forget it.

Oh, if you're not using JACK in the first place it doesn't need it. Midimonster is just a handy way to turn whatever controller you do have into a MIDI controller, so you can use it in applications that don't support other protocols.
If anyone else comes by looking for a solution, here's an example configuration that is sufficient:
[backend evdev]
  detect = on

[evdev kbd]
  device = /dev/input/my_footpedal_device
  output = keys
  exclusive = on

[backend midi]
  name = MidiMonster
  detect = on

[midi footpad]
  write = "Midi Through"

[map]
  kbd.EV_KEY.KEY_SPACE > footpad.ch0.note9


Translate components and props

@azizaismayilova I have opened the PR for your for Components and Props. Please write what is done and what is left in the the description.

@saidfagan @GasimGasimzada please review it


CB-13391. Addendum - rename resourceCrn to environmentCrn in freeipa …

…operation controller
See detailed description in the commit message.

Follow-up to  #11057.


Fixing the warning with the new SDK (4.5+).

The new SDK (4.5+) always shows a warning before compile printf. I solved the problem by casting Date as a different way.

I fixed it myself but then saw this closed request. Why wasn't it pulled to the repository?

Well, I don't know. I fixed this back in July but wasn't pushed to master :P


Applying diff edits (revert, etc) for Notebook Cell/Output metadata is a noop

Create a notebook (e.g. jupyter)

Add a cell and generate some output (e.g. run a Python cell)
Save this in SCM
Make changes to cell metadata (e.g. run again when using Jupyter)
View diff & metadata diff is displayed
Reverting changes to metadata has no effect

It works,


Feature: JSON IO?

Currently we write and read JSON lines.
https://jsonlines.org/
I believe it would be a minor modification to also be able to read and write JSON. We could wrap the JSON Line values in an array and separate them with a , instead of a new line char.
E.g. now we write:
JSON Lines
{c1:"a"}
{c1:null}

JSON
[{c1:"a"},
{c1:null}]

Would this fit the scope of arrow2, as this is something different then what pyarrow does? I don't mean that we should drop the JSON Lines functionality, but that we also allow reading and writing JSON.

Yes, definitely in scope. We currently already support writing to JSON like that. IMO we should aim to drop the serde_json dependency because it would give us more control without the massive performance penalty associated to it (see #709)

Yes, definitely in scope. We currently already support writing to JSON like that. IMO we should aim to drop the serde_json dependency because it would give us more control without the massive performance penalty associated to it (see #709)

Definitely agree. Serde is awesome because of its generic targets, but hard to optimize in my experience.

if there was support for arrays, a lot of libraries support an optional indent parameter. Would it be a lot of extra effort to add something like this.
python has json.dumps(data, indent=2)
js has JSON.stringify(data, null, 2)
serde_json has PrettyFormatter

@universalmind303 , yes, definitely in scope also. It needs some piping of the ident level for struct arrays, but imo nothing blocking.

arrow supports both json lines  and delimited json -- in case it is helpful for API design or implementation:
https://docs.rs/arrow/6.5.0/arrow/json/writer/index.html

arrow supports both json lines and delimited json -- in case it is helpful for API design or implementation:
https://docs.rs/arrow/6.5.0/arrow/json/writer/index.html

Thanks Andrew!

arrow supports both json lines and delimited json -- in case it is helpful for API design or implementation:
https://docs.rs/arrow/6.5.0/arrow/json/writer/index.html

Thanks Andrew!

I think that both implement the same writer. The main difference between them at this point is https://github.com/jorgecarleitao/arrow2/pull/709

My random thoughts over this situation:
Reading
for historical reasons our parser splits the file in lines via \n and .readlines. This means that we do not support JSON, only NDJSON (that forbids new lines in the middle of the file at the expense of human readability).
When a file can't be split in chunks, we can't read it in chunks. This means that we can't separate IO from CPU and need to read the whole file at once (e.g. via serde_json). To offer an example, consider
[
    {"a": 1, "b": 2},
    {"a": 2, "b": 20},
    {
         "a": 3,
         "b": 30
    },
    {"a": 4, "b": 40}
]

splitting it using the \n results in
[
---------
    {"a": 1, "b": 2},
---------
    {"a": 2, "b": 20},
---------
    {
---------
         "a": 3,
---------
         "b": 30
---------
    },
---------
    {"a": 4, "b": 40}
---------
]

i.e. we broke the 3rd record into pieces, thus making individual lines invalid JSON.
What we want in this case is to be able to split it in something like
[
---------
    {"a": 1, "b": 2},
---------
    {"a": 2, "b": 20},
---------
    {
         "a": 3,
         "b": 30
    },
---------
    {"a": 4, "b": 40}
---------
]

AFAIK this is not supported by serde_json, that has a (owned) in-memory format (serde_json::Value) and reads the json end-to-end.
The quick hack is to read the whole thing into serde_json::Value. More performant and less memory intensive ways are warrant.
IMO, for something like this, we need the an API similar to that of the csv crate, that offer a parser that could read rows of an array without deserializing the whole content on it. In this context, the same way CSV must check for " to indicate that the delimiter is part of a string column, the equivalent here is a a state machine that ignores , when it is part of a nested struct.
This would allow to perform minimal CPU work on read, and support the same APIs we already have for pure CPU work: deserialize(rows: &[Row], &Field) -> Box<dyn Array>

addressed by #712

addressed by #712 (quick hack of the above comment)

Nice, seems like a good starting point to improve upone.


Getting Margipose to run without docker

Hi Aiden,
I am new to pytorch and would like to play around with the margipose code. Given the pre-trained model that you provide. How can I use it to make an inference on a single image? Any insight into the script that I can use would be really helpful!!
Thanks!

I've just added a single-image inference script in commit https://github.com/anibali/margipose/commit/f6154cd8c338546d3c5fbb846f2f7513ce578f77. All it does is run the specified image through a MargiPose model and show the normalised skeleton prediction in a GUI. Here's an example invocation of the new command:
./run.sh margipose infer --model margipose-mpi3d.pth --image man_running.jpg

Here is the man_running.jpg image I tested it with:

The result should look something like this:

Please note that there are some caveats to this script.

The input image is assumed to be centred on a human subject, and scaled appropriately.
Since camera intrinsics are not known, the skeleton is left in normalised form. This can lead to "warped"-looking skeletons in certain situations.

can i run it without any docker installation?
eg.
margipose infer --model margipose-mpi3d.pth --image man_running.jpg

@gearmlai Yes, as long as you have MargiPose and all of the dependencies set up correctly. Note that the command in that case would be:
margipose infer --model margipose-mpi3d.pth --image man_running.jpg


<EMAIL_ADDRESS>decompress error

PS C:\Users\Mason> scoop bucket add extras
Checking repo... OK
The extras bucket was added successfully.
PS C:\Users\Mason> scoop install extras/youtube-music
Updating Scoop...
Updating 'extras' bucket...
Updating 'main' bucket...
 Converting 'main' bucket to git repo...
Checking repo... OK
The main bucket was added successfully.
Scoop was updated successfully!
Installing 'youtube-music' (1.19.0) [64bit] from extras bucket
YouTube-Music-1.19.0.exe (71.3 MB) [==========================================================================] 100%
Checking hash of YouTube-Music-1.19.0.exe ... ok.
Extracting dl.7z ... done.
Running pre_install script...
ERROR Exit code was 2!
Failed to extract files from C:\Users\Mason\scoop\apps\youtube-music\1.19.0\$PLUGINSDIR\app-64.7z.
Log file:
  ~\scoop\apps\youtube-music\1.19.0\$PLUGINSDIR\7zip.log

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Extras/issues/new?title=youtube-music%401.19.0%3a+decompress+error

7zip.log

As you can see from your 7zip log, you are running out of storage space on your C drive, please consider increasing the size of your C drive or deleting files to free up space.
Sub items Errors: 1
ERROR: Cannot set length for output file : There is not enough space on the disk. asar

If this solves your problem, please consider closing this issue.


Python Script/Function Runtime Calculation Module ⏱🐍

Objective:
Create a Python module that allows users to calculate the run time of a specific function or an entire script. This module will help users analyze the performance of their code.
Features:

Function Runtime Measurement:

Implement functionality to measure the execution time of a specific function.

Script Runtime Measurement:

Provide the ability to measure the overall execution time of an entire Python script.

User-Friendly Output:

Display the calculated run time in a human-readable format (e.g., seconds, milliseconds, etc.).

Example Usage:
# Example usage of the runtime calculation module
import runtime_calculator

# Measure the runtime of a function
@runtime_calculator.measure_runtime
def my_function():
    # Function code here
    pass

# Call the function
my_function()

# Measure the runtime of the entire script
if __name__ == "__main__":
    runtime_calculator.measure_script_runtime()

Difficulty: Intermediate
Tags: Python, Performance Analysis, Run Time Measurement, Profiling
Additional Information:

Familiarity with Python functions and modules is recommended for contributors interested in this task.
Consider using the time module for measuring run time.

Hi, I'll gladly tackle this issue!

Sure!!
Just note a few things,

only one pull request per issue is allowed.
add README.md file with documentation.

Thanks : )
Happy Coding!!

Hi @Namatuzio,
Fantastic job! Your contribution is invaluable.
I encourage you to continue exploring and contributing to the repo. Your skills and perspective are a valuable addition to this community.
Once again, thank you for your time, effort, and enthusiasm. We look forward to more collaborations in the future!
Warm regards,

Thank you for the opportunity! I had a blast implementing the module!


Client Allocation Request for: DukeSoft

Client Allocation Questions
Core Information

Name: DukeSoft
Website / Social Media: dukesoft.nl
Region: Europe
DataCap Requested: 500TiB
Addresses to be Notarized: f3w436qzcbnzpngwwkslethcbsnt7rjdslf25mk7ufoo27gmf4uxt3pa3yn5zilzaqwqduew7pqmu5v2nypuiq
Notary Requested: cryptowhizzard

@RobQuistNL Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Can be closed, your website doesn't work and doesn't show the request has been made.


osv-scanner: 1.3.3 -> 1.3.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/osv-scanner/versions.
meta.description for osv-scanner is: Vulnerability scanner written in Go which uses the data provided by https://osv.dev
meta.homepage for osv-scanner is: https://github.com/google/osv-scanner
meta.changelog for osv-scanner is: https://github.com/google/osv-scanner/releases/tag/v1.3.4
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.3.4 with grep in /nix/store/mcyvj6xrr4ls9w6d7nsvdmi2vygaqjs9-osv-scanner-1.3.4
found 1.3.4 in filename of file in /nix/store/mcyvj6xrr4ls9w6d7nsvdmi2vygaqjs9-osv-scanner-1.3.4

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
osv-scanner

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/mcyvj6xrr4ls9w6d7nsvdmi2vygaqjs9-osv-scanner-1.3.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A osv-scanner https://github.com/r-ryantm/nixpkgs/archive/76a48e3a45f53ba82a140a6dd4ab1795027dd3a3.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/mcyvj6xrr4ls9w6d7nsvdmi2vygaqjs9-osv-scanner-1.3.4
ls -la /nix/store/mcyvj6xrr4ls9w6d7nsvdmi2vygaqjs9-osv-scanner-1.3.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

osv-scanner

Maintainer pings
cc @stehessel @urandom2 for testing.

Result of nixpkgs-review pr 237400 run on aarch64-darwin 1

1 package built:

osv-scanner


Global mean steric height change for multi-segment simulation

The global mean steric height change (sterGloH) is referenced to the global mean steric height at the beginning of a simulation. If the simulation is conducted as multiple segments, i.e. stop and restart, sterGloH would be referenced to the value at the beginning of each segment. So for any segment other than the first, the sterGloH values of the multi-segment simulation would be different from those from the long, one-segment, simulation.
Is there a way for any segment besides the first to know the value of sterGloH at the beginning of the first segment? This would probably involve making RHOsumGlob_0 and VOLsumGlob_0 of the first segment (available at the end of ecco_init_varia.F) accessible to other segments.

Closing this since issue described here has been fixed in PR #716 which has been merged recently.


Sync devel branch with uptream

Sync the upstream changes from ceph/ceph-csi:devel into the devel branch.
The most important recent changes that we want included are:

[rhbz#2050056] util: use vaultNamespace if vaultAuthNamespace is not set
miscellaneous cleanups

/lgtm


VTS fix added additional nodes for usb passthrough

fixed vts test SuspendSepolicyTests added addtional nodes for ADL-PS device
showing for the test exectuion.
Tracked-On: OAM-111651

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has completed Engineering Build for this issue, build is SUCCESS.To merge the changes please click on APPROVE FOR MERGE button in Android CI WEB

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has completed Engineering Build for this issue, build is SUCCESS.To merge the changes please click on APPROVE FOR MERGE button in Android CI WEB

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has completed Engineering Build for this issue, build is FAILURE. Please check the linked Tracked-On issue/Android CI Web  for more details


Promotions: Diabled promotions with Customer rules will be delete the promotion if you edit the order

If you have a promotion with customer rule  (f.e. “customer number =” ) and you disable this promotion and then you edit an order, who have used this promotion, then the promotion will be deleted automatically from the order.
This will not be happened, when there is no customer rule and should never happen.

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-38756
[created from NEXT-38756, comment 501034]

[public]

Status Change: Open

This issue is ready for implementation.
[created from NEXT-38756, comment 510132]

[public]

Status Change: In Progress

Work on this issue has started. It is now being implemented.
[created from NEXT-38756, comment 511509]


js9_build doesn't copy ssh public key from ssh-agent into authorized_keys

Did we change this? If so, please also update README.
With SSH private key successfully loaded, and verified with ssh-add -l it's still doesn't end-up in authorized_keys

false alarm


Add support for ILM policies

Pull Request (PR) description
Add support for managing ILM policies
Work is based on #1146 and makes #1103 obsolete
This Pull Request (PR) fixes the following issues
Fixes #1038

That feature is actually missed at our side too and would be greatly appreciated!

@usp-rol for what it's worth we have been using this code (along with #1164 & #1146) for months in several clients without any issues

@usp-rol for what it's worth we have been using this code (along with #1164 & #1146) for months in several clients without any issues

great we aim to do the same (puppet managed environment being migrated to ILM). as I can see this work is basically ready to be integrated (as long as someone having write permission is willing to do so), is that correct?
would be great to see that missing piece integrated into the module.

+1
It would be great to see it merged and released.


Document configuration values

Specific Demand
There's some values in the Dioxus.toml which aren't documented on the website or even the source code itself. I looked in the 0.3.0 book as well, and they don't seem to be there either. It seems strange to me that these would be undocumented, but I guess that's the case.
Additionally, it would be great if there was a way to generate an example Dioxus.toml that would contain all possible values. This would allow us to replace the dioxuslabs.com configuring page with a link to the docs.rs, thus reducing the amount of documentation we need to maintain.
Implement Suggestion
Initially, I wanted to document them myself, but realized it's difficult seeing as I didn't write it, and I only have experience with the web configuration (which is documented). However, I've got some suggestions.
The config structs are in cli/src/config.rs. The documentation for some of them is on the dioxuslabs.com configuring page, so that can be copied. Other documentation needs to be added though.
As for generating the example, we could use something like this:
// [dependencies]
// serde = { version = "1.0.0", features = ["derive"] }
// toml = "0.8.0"

use serde::{Serialize, Deserialize};

#[derive(Debug, Clone, Serialize, Deserialize, Default)]
pub struct BundleConfig {
    // other fields...
    pub identifier: Option<String>,
    // Why is "icon" a vector? Shouldn't it be "icons"?
    pub icon: Option<Vec<String>>,
    pub resources: Option<Vec<String>>,
    // other fields...
}

// Maybe in a post-build cargo-make?
fn main() {
    // I don't really know what these fields refer to, so these example values might be wrong
    let example_bundle = BundleConfig {
        identifier: Some("GitHub".to_string()),
        icon: Some(vec!["assets/favicon.ico".to_string()]),
        resources: Some(vec!["assets/*".to_string(), "octocat_images/*".to_string()]),
    };

    match toml::to_string_pretty(&example_bundle) {
        Ok(toml_str) => println!("{toml_str}"),
        Err(_) => println!("Failed to generate example"), // Or panic
    }
}

Output:
identifier = "GitHub"
icon = ["assets/favicon.ico"]
resources = [
    "assets/*",
    "octocat_images/*",
]

Bundler settings are copied from tauri-bundle (more docs here). (The only reason we don't use tauri's structs directly is because tauri's structs don't implement serialize and deserialize which we need to convert them to and from toml

Bundler settings are copied from tauri-bundle (more docs here)

That explains it. I suppose linking the tauri docs would be sufficient then.

Bundler settings are copied from tauri-bundle (more docs here)

That explains it. I suppose linking the tauri docs would be sufficient then. Also, does the TUI use the tauri bundler, or only desktop and mobile? For the docsite.

I think it should work for TUI, but I haven't tested it. Mobile does not use dx bundle yet


Feature support sw3

This PR is for:
[FR] AutoTracing TraceType support sw3 #4449

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: Wadud-Ma:x: JuvenileJuvenile seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@Wadud-Ma Can you merge these 6 commits so that only one commit remains in this PR?

@Wadud-Ma Can you merge these 6 commits so that only one commit remains in this PR?

Do I need to pull a new branch and submit a pr？


Basics: fix minor typo ("Containzerization")

This change is

LGTM.  Would you sign the CLA please?

@mistydemeo you need to sign the new linuxfoundation CLA as well please.


Snapshots don't produce consistent results (.image)

Description
I'm trying to implement .image snapshots for view controllers.
Problem
For more complex view controllers that make a few network requests and have several states (loading, loaded, error), I'm experiencing an issue where (even when using the .wait() function) the view controller is not fully loaded when the snapshot is taken.
When I test on multiple devices with something like this:
func verifyViewController(viewController: UIViewController, named name: String, status: ViewState, with entilement: UserState) {
    // Set size of snapshots
    let size: CGSize = .init(width: 390, height: 2000)
    let delay: TimeInterval = status == .loaded ? 5 : 0

    // Choose devices to test
    let devices: [String: ViewImageConfig] = ["iPhoneX": .iPhoneX, "iPhone8": .iPhone8, "iPhoneSe": .iPhoneSe]

    // isRecording = true

    // For each device, verify the snapshot
    let results = devices.map { device in
        verifySnapshot(matching: viewController,
                       as: .wait(for: delay, on: .image(on: device.value, size: size)),
                       named: "\(device.key)",
                       testName: "\(name)-\(status.rawValue)-\(entilement.rawValue)")
    }

    // Check that no errors were thrown
    results.forEach { XCTAssertNil($0) }
}

class ExampleUITests: XCTestCase {

    override class func setUp() {
        super.setUp()
    }

    override class func tearDown() {
        super.tearDown()
        HTTPStubs.removeAllStubs()
    }

    func testExampleViewController() {
        // Setup stubs
        stubResponse(path: "/example", filename: "file.json")
        stubResponse(path: "/anotherExample", filename: "file2.json")

        // Create view controller
        guard let exampleViewController = UIStoryboard(name: "Example", bundle: nil).instantiateInitialViewController() else {
            XCTFail("ExampleViewController not found")
            return
        }

        // Take the snapshot
        verifyViewController(viewController: exampleViewController, named: "ExampleViewController", status: .loaded, with: .premium)
    }

}

I get 3 snapshots in 3 completely different states (one loading, one almost loaded, one fully loaded). Ideally, all of these snapshots should be of the same view controller in the same state (fully loaded).
The snapshots do not always occur in the same order, but the first snapshot is always in a loading state, the second one is almost loaded (sometimes fully loaded), and the last one is always perfect / fully loaded.
Does anyone know why I'm getting different results? Or how I am supposed to make sure that the snapshots are consistent?
Example of this issue:

Loading
https://user-images.githubusercontent.com/23180788/115765833-1932a400-a35c-11eb-868c-2f010f79c3fc.png

Almost loaded / mid render (missing a few UI elements)
https://user-images.githubusercontent.com/23180788/115765826-1768e080-a35c-11eb-9ca7-9e7fa07ffd80.png

Loaded
https://user-images.githubusercontent.com/23180788/115765837-19cb3a80-a35c-11eb-9e1f-3dbb46bfc208.png

It's worth mentioning that running the test on a single device produces one snapshot in the loading state (the 1st picture above). So it seems like the more tests I run, the further along the view controller is in its initialization process, but the view controller should obviously be setup the first time it's tested. (extending the duration of the .wait() does not work)
I've tried to hack around this with triggering lifecycle events for the view controllers before passing it in to verifySnapshot() or assertSnapshot(), but nothing has worked, and I feel that this should be handled by the lib anyway. Any tips / advice would be much appreciated.
Tools

OS: Big Sur 11.2.3
Xcode 12.4
SnapshotTesting 1.8.2
ViewImageConfigs used: .iPhoneX, .iPhone8,  .iPhoneSe

@tonyhunt hey, i'm experiencing the same issue. How did you solve this?


Given @Seed not recognized in both test methods

As you can see in the following code snippet, two test methods are annotated with the same seed.
@ExtendWith(InstancioExtension.class)
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
public class DummyTest {

    @Test
    @Order(1)
    @Seed(1118162188242661009L)
    void checkInstancioSeed_withResult() {
        var instancio = Instancio.of(Foo.class);
        System.out.println("seed = " + instancio.asResult().getSeed());
        var foo = instancio.create();

        assertThat(foo.value()).isEqualTo(3969);
    }

    @Test
    @Order(2)
    @Seed(1118162188242661009L)
    void checkInstancioSeed_withoutResult() {
        var foo = Instancio.of(Foo.class).create();

        assertThat(foo.value()).isEqualTo(3969);
    }

}

record Foo(int value) { }

I expected both methods to set the same value (3969) for the same seed, but in my setup, they repeatedly differ.
The second method raises an org.opentest4j.AssertionFailedError:
expected: 3969
 but was: 8667

Is this the expected behaviour?
My Setup:

Java 21
Instancio instancio-junit:4.8.1
Started in IntelliJ IDEA 2024.1 (Ultimate Edition)
Windows 11

The reason you're seeing different results is because the two test methods are not the same.

Order(1) method creates two objects: first one with asResult(), and the second with create().
Order(2) method creates one object.

If you update the methods to be the same, it should produce the same results:
    @Test
    @Order(1)
    @Seed(1118162188242661009L)
    void checkInstancioSeed_withResult() {
        var result = Instancio.of(Foo.class)
                .asResult();

        System.out.println("seed = " + result.getSeed());
        var foo = result.get();

        assertThat(foo.value()).isEqualTo(8667);
    }

    @Test
    @Order(2)
    @Seed(1118162188242661009L)
    void checkInstancioSeed_withoutResult() {
        var foo = Instancio.of(Foo.class).create();

        assertThat(foo.value()).isEqualTo(8667);
    }

Oh, my fault. Thanks a lot for your quick answer, @armandino .


Check AC State

Should not close audiocontext when it's already closed. Chrome throws a warning if done so.

When https://github.com/katspaugh/wavesurfer.js/pull/1021/ is merged it will reintroduce the global audio context singleton. Which means destroying it will be done in the destroy function if the parameter closeAudioContext is set to true. So this will be a manual process. We could add the check there and complain if it's already closed.


Add Tag register to protocol

Summary
This PR adds a new register to the protocol called Tag.
This new register should be used to optionally keep information regarding a specific tag of a firmware version. A simple use case would be to keep track of a development version of a given minor release.
Motivation
During development it is often the case that intermediate firmware versions are released. These are impossible to track in the firmware as the protocol only specifies a major and minor version. This new register is added to meet this need. Users can use this register to add a "build" or "preview" tag to the firmware, for instance the git commit that generated the release.
Detailed Design
A new register will be added with the following specs:
Name: Tag
Address: 17
Format: U8[8]
Access: Read-only
Design Meetings
See further discussion in the following issues:

#16

This is now implemented on the RP2040 Harp Core:
https://github.com/AllenNeuralDynamics/harp.core.rp2040/pull/30

[ ] Re-iterate that its little-endian
[ ] Ensure that UID is consistent in the proposal (instead of UUID)


Xcode 8 beta 3

Checking at check.qutheory.io doesn't work with new beta of xcode.

The next version of Vapor and the toolbox will support the latest Xcode.

do you have any plans when you will publish a beta 3 compatible release? I've updated already to beta 3 and a the old snapshot seems incompatible with it and the older beta 2 isn't listed in apples developer download section anymore.

Hopefully this week!

🆒👍

Hopefully this week too!

now works for Xcode 8 beta 3?

Yup! Looks like you just need to do swiftenv install DEVELOPMENT-SNAPSHOT-2016-07-25-a

I will have a try. thanks.

Thanks! Works like a charm!


1099 cli ingest cleanup cache

Description
add clean_cache argument to ingest cli
./quickwit index ingest --index hdfs-logs --clean_cache
How was this PR tested?
Describe how you tested this PR.

@PSeitz can you review?

Thanks for the PR! I left some comments. Can you also add a test in quickwick-cli/tests/cli.rs?

thanks i added the changes

Looks good so far, but the tests are failing.
I had a look, but couldn't see why the caching directory still exists in the test without the cleanup cache

yea i'm aware, will update

Looks good, thanks for the PR!


Possible template starting point

Does anybody have any opinions on the Tufte template?
https://www.overleaf.com/latex/templates/handout-design-inspired-by-edward-tufte/dtsbhhkvghzz

I personally like the Tufte template and it could be a good idea.
Please allow authors to use Biblatex instead of BibTeX for references; it has superior entry and field type "granularity" as well as customisation possibilities.


Gaussian blur optimization [PyTorch backend]

Feature
The Gaussian blur augmentation in the PyTorch backend differs slightly from the Tensorflow implementation, as it uses torchvision.transforms.GaussianBlur, requiring odd-numbered kernel sizes only. It is also much slower, with throughput on a 3960X / A100 system of 500 img/sec (compared to the Tensorflow implementation at 7000 img/sec).
Pitch
Optimization of the Gaussian Blur augmentation to improve image throughput.

Implemented in 2.1.0.


Individuals button

Fixed individuals modification update button by switching the current param.integer to pn.widget.IntInput. It now immediately updates based on the input.
I also purposefully removed the max and min restriction so that inputs out of bounds are handled by the existing check_data_modification function instead - thereby providing the user with info about the 'error'

Also added debug configuration .vscode/launch.json, not PR specific


Add elm.json fallback to FindRootDirectory

Was running into an issue with :ElmTest in elm 0.19.0 where it was unable to find the root directory. Did a little digging, and found that elm#FindRootDirectory only looks for elm-package.json, and not elm.json.
So I added a fallback so that if an elm-package.json cannot be found, FindRootDirectory will look for an elm.json file before returning an empty string. After Pluging my forked repo, this fix appears to have the desired behavior.
I'm a total vimscript noob, though, so please let me know if anything looks off.

@H12 This looks solid to me. Only feedback is I think we can combine the two if statements since they are checking for the same result here: https://github.com/ElmCast/elm-vim/blob/dab5d39895d8df0ac5ecfd53cfbde7ab5de6d0fc/autoload/elm.vim#L351

@mdxprograms Thanks, I've updated so that the match for elm-package.json and elm.json have their own variables, rather than re-assigning the original match variable.

👍 LGTM!


HttpLib2 Missing Header Error When Timezone Is Incorrect

Environment details

OS type and version: OSX
Python version: Python 3.7.4
pip version: pip 20.2.2
google-api-python-client version: Version: 1.10.0

Steps to reproduce
When calling this API endpoint:
https://developers.google.com/bid-manager/v1.1/queries/createquery
With this field set to ( should be "America/Los_Angeles" ):
timezoneCode:"Los Angeles/America"
The following error shows up consistently at the wrong layer:
httplib2.RedirectMissingLocation: Redirected but response is missing a location: header
Code example
See above.

This is a bug that took hours to track down because the error is manifesting in httplib.  Which is the wrong layer to catch this.
  Hopefully having this be reproducible will help.
PS: Look me up at Google if you need to reproduce.

@pkenjora Are you using this in internal code? The internal copy of this library is behind the external one. What version of httplib2 are you using?
The error looks like #891 and is probably from the API returning a status code that httplib2 treats as a redirect by default.

I'm getting this as well for bq load
Google Cloud SDK 306.0.0
alpha 2020.08.14
beta 2020.08.14
bq 2.0.59
core 2020.08.14
gsutil 4.52
kubectl 1.15.11

I don't know what the underlying issue is, but error is BigQuery error in load operation: Could not connect with BigQuery server due to: RedirectMissingLocation('Redirected but the response is missing a Location: header.',)

I figured out the bq command has a separate copy of httplib2 which I suspect doesn't have the fix that was added for gcloud. I manually went in, removed 308, and command worked.

@shadow-light Ah I see, good to know.
@shollyman @steffnay where is the issue tracker for the bq command line tool?

@shadow-light I too am experiencing the same bq load issue, can you elaborate exactly how you removed 308 for your workaround?

I needed to run bq load only once, so I just hacked the httplib2 package that google-api-python was using. I removed 308 from this line.
You do not want to do that to a copy of httplib2 that other packages are using because it's a hack specific to the Google API. A 308 should usually be treated as a redirect. Also note that bq used a separate copy of httplib2 than gcloud on my system, which took me a long time to figure out!

@shadow-light thanks for the details. I was able to downgrade to cloud sdk version 289 where bq load is working fine for large files.

I am experiencing this issue too with the same endpoint: https://developers.google.com/bid-manager/v1.1/queries/createquery.
I have two email addresses (accounts) to access DBM/DisplayVideo360 tool.
I don't know if this can help but:
-with one account, the endpoint works and I don't have any problem.
-with the other account, I can't create queries/reports with the method 'createquery' (for all my advertisers!), and I get the mentioned error:
httplib2.RedirectMissingLocation: Redirected but response is missing a location: header
I am currently working on the following environment:

python 3.7
google-api-python-client 1.7.3
httplib2                 0.15.0

And I tried to change the versions, upgrade, downgrade, but nothing changes.
Does anyone have more information about this issue?

The gcloud SDK team is aware of the BQ CLI issue. If you're seeing this on another API, please open a new issue and we'll take a look.
Thanks!

Issue is appearing again with this endpoint

Issue is appearing again on this endpoint
https://developers.google.com/bid-manager/v1.1/queries/createquery

I second the fact that the problem is happening again. Below is a traceback for this:
    return wrapped(*args, **kwargs)
  File "/gaia/.local/lib/python3.6/site-packages/googleapiclient/http.py", line 846, in execute
    method=str(self.method), body=self.body, headers=self.headers)
  File "/gaia/.local/lib/python3.6/site-packages/googleapiclient/http.py", line 164, in _retry_request
    resp, content = http.request(uri, method, *args, **kwargs)
  File "/gaia/.local/lib/python3.6/site-packages/google_auth_httplib2.py", line 198, in request
    uri, method, body=body, headers=request_headers, **kwargs)
  File "/gaia/.local/lib/python3.6/site-packages/httplib2/__init__.py", line 1976, in request
    cachekey,
  File "/gaia/.local/lib/python3.6/site-packages/httplib2/__init__.py", line 1679, in _request
    content,
httplib2.RedirectMissingLocation: Redirected but the response is missing a Location: header.

Also seeing this exact issue as of this morning when hitting the endpoint at https://developers.google.com/bid-manager/v1.1/queries/createquery


Error

Got an error trying to connect.
Error sending request   {"username": "UserName", "error": "Post \"https://gql-realtime-2.reddit.com/query\": socks connect tcp <IP_ADDRESS>:9050->gql-realtime-2.reddit.com:443: dial tcp <IP_ADDRESS>:9050: connectex: No connection could be made because the target machine actively refused it."}

You need to run a tor node locally, read the tutorial

SocksPort 9050 in torrc file solved the issue.


NFS backup failed with error 'file exists'

Question

Suggest to use https://github.com/longhorn/longhorn/discussions to ask questions.

Environment

Longhorn version:1.2.4
Kubernetes version:1.24
Node config

OS type and version
CPU per node:
Memory per node:
Disk type
Network bandwidth and latency between the nodes:

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): baremetal

Additional context
Add any other context about the problem here.
Trying to debug..looks like folder for mounts was created, and failed with creation error.  Can I delete old one or say to longhorn use existing folder?

Trying to debug..looks like folder for mounts was created, and failed with creation error.

Do you mean the NFS mountpoint is already mounted on your longhorn node?

Can you try to create backup again and provide the logs of longhorn-manager-xxx pods inside the longhorn-system namespace?


Dev amy

As recorded in changelog, this branch dev_amy in my fork is based on your branch dev. The changes made from dev are:
Added

Created and back-dated a CHANGELOG.md
GitHub action to deploy book on push to main
Copy of environment as requirements.txt for GitHub action (as conda environment was very slow and had an error)

Changed

Add logo and fixed GitHub url in _config.yml
Minor alterations for clarity, spelling, grammar or corrections in README.md and content/

@amyheather What was the error in environment.yml

@TomMonks
Error here: https://github.com/amyheather/stars-simpy-example-docs/actions/runs/11072615547/job/30767234952
 PackagesNotFoundError: The following packages are not available from current channels:

    - python[version='3.1.*,3.10.14.*']

However, I did not try to troubleshoot this error when building with  environment.yml as it was so slow (6 minutes), and so I just switched to requirements.txt which ran fine and in 35 seconds.

okay. suspect conda is unsuitable for these types of builds.  I think normally micromamba is used for env mgt in CI.  But this looks a good solution (and great idea btw!).  Thanks so much.


Filesize can be reduced by putting SVG images in --css-variables

Some SVG's are used multiple times and the build process/minifier doesn't automatically de-duplicate identical url("data/image ....") being used inside CSS files.
:root {
  --bs-image-form-select-indicator: escape-svg($form-select-indicator);
}

.form-select {
  background-image: var(--bs-image-form-select-indicator);
}

De-duping inline images by creating a css-variable out of it would save some KB's.

That's a very good idea! I'll look into it. Can probably do some nesting of CSS vars too given we change the full colors across a lot of these backgrounds.

Turns out this doesn't save as much as one would hope. Basically we go from 182985 to 182608 bytes, so we're saving ~380 bytes. This includes changing all form icons into CSS variables and using those CSS vars instead of Sass ones in the background-image declarations.
Output of those:
:root {
  --form-select-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/></svg>");
  --form-check-input-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/></svg>");
  --form-check-radio-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='2' fill='#fff'/></svg>");
  --form-check-input-indeterminate-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/></svg>");
  --form-switch-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='rgba(0, 0, 0, 0.25)'/></svg>");
  --form-switch-focus-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#8bbafe'/></svg>");
  --form-switch-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#fff'/></svg>");
  --form-feedback-icon-valid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/></svg>");
  --form-feedback-icon-invalid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='#dc3545' viewBox='0 0 12 12'><circle cx='6' cy='6' r='4.5'/><path stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/><circle cx='6' cy='8.2' r='.6' fill='#dc3545' stroke='none'/></svg>");
}

We'd shave a little more if we put our carousel icons in there, but limited it to one chevron and then used a CSS transform to mirror the icon for the other side.

Beyond that, not as much savings. Thoughts @twbs/css-review?

If a SVG is used only once (including it's fill) then using a custom property is counter-productive when it comes to filesize.
This should be used only for icons used at least twice, but that makes a good argument to use the same fill color for each icon occurence and apply colors with filters as you're doing in the close icon branch.

Yeah, I've found that as well re: usage numbers. I think the filters are great when used surgically, but beyond that they get a little too clever maybe. Like turning black to a random color instead of just inverting/grayscaling.
Worth playing around a little more though!

Custom properties in :root are global, which means they leak into every DOM element. I don't think there's a huge performance downside to it, but it doesn't feel like a best practice since (like @ffoodd said) they are often used only once.
filters might be the way to go indeed.

Custom properties in :root are global, which means they leak into every DOM element. I don't think there's a huge performance downside to it, but it doesn't feel like a best practice since (like @ffoodd said) they are often used only once.
filters might be the way to go indeed.

I don't think browsers copy the :root variables in memory for every DOM element, but I am not sure. Would sound counter-intuitive to me.

They are inherited, so yes: every single DOM element has access and can use single properties applied above in the DOM. Meaning the :root one are global.

Basically we go from 182985 to 182608 bytes, so we're saving ~380 bytes.

To clarify, are you talking about gzip/brotli size or uncompressed?

Uncompressed, was just using a Terminal command to snag file size.

We should compare the gzip output too, but I agree 100% with @ffoodd; unless we use an icon more than once, it might not benefit us a lot.
That being said, we should check the compressed output. Feel free to push a temp branch so that we check bundlewatch.

Closing for now as a won't fix since this doesn't seem to make a meaningful impact. Happy to revisit if other ideas come up!