Google PageSpeed Insights Performance discussion

The Liteness template in version 1 is returning a low 35/100 in the Google PageSpeed Insights report, much of which is no doubt attributable to the large image files (one is 414KB according to pingdom.com), but do you have any plans to improve the other points Google's tool raises?
On another non-Microweber site I've improved performance by 18% by enabling compression with a directive in .htaccess.
Minifying js and css files has it's drawbacks with regards readability, unless you operate a system of maintaining both versions, and minifying the production file every time there's a change.
But what about the one at the top of the list 'Eliminate render-blocking JavaScript and CSS in above-the-fold content' which is proving to be a challenge on my non-Microweber site; we are testing labjs.com to load scripts asynchronously and to reduce the list in Insights to just this one labjs script.
On a plus note their user experience metric shows 100%!

I know you had plans for some image editing capabilities, not sure how much was included in version 1, but it would be great if the image upload facility incorporated loss-less image optimization.

Hi Nick, thanks for suggestions
I will take a look on this and how we can improve page speed. Maybe for version 1.1 we can include those improvements

Use this report to optimize MW:
https://gtmetrix.com/reports/microweber.com/emMeNTzz

You see, it's a bit complicated. If we minify core assets that will take effect on the development process. We also can't have gulp or some other kind of tool as a dependency or the support for shared hosting providers will not be full.
Instead we've been discussing tools for CloudFlare integration for when the user has created their website. They provide great free tier services for CDN and content caching and only require DNS intervention (i.e. no server-side tweaking).

Hello,
in version 1.0.7 we have added some improvements on the performance and caching with .htaccess
more improvements can be made in the next versions

I was looking for a script that combines all the scripts to one file to reduce the quantity of scripts.
Any ideas about this approach?

Hi @Staalkoper  this is done right now only on the core files api.js, default.css, etc
The compiled files are stored in userfiles/cache folder.
On the template files, its up to the template author to compile the files using some tool.
Doing this in PHP is not the best solution and its open to many errors

In v1.2.10 under Settings > Advanced > Cache Settings the code for the Optimize Assets option includes a minify_js function but file Minifier.php has moved from Utils/**lib**/JShrink/Minifier.php to Utils/**ThirdPartyLibs**/JShrink/Minifier.php so the js is not minified.


facet.query is not working with {!sparql}

> curl "http://<IP_ADDRESS>:8080/solr/store/sparql?facet=true&rows=10&start=0" \
    --data-urlencode "q=SELECT ?o WHERE { ?s <rdf:type> ?o }" \
    --data "facet.query={!sparql}SELECT * WHERE {?s ?p ?o}"

Produces
<lst name="facet_queries">
    <int name="{!sparql}SELECT * WHERE {?s ?p ?o}">0</int>
</lst>

Queries in facet.query (and fq as well) doesn't pass through a SearchComponent. As consequence of that SolRDF classes are not involved (e.g. SolRDFGraph / Dataset), the SPARQL query is parsed by Solr query parser and rhe corresponding execution results in 0 results.

Closing this issue as this doesn't make much sense in SolRDF context.


Use ruff format as our Python formatter

What
ruff format is much faster.
But, it is still in beta: https://github.com/astral-sh/ruff/milestone/6
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested demo.rerun.io (if applicable)
[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG

PR Build Summary
Docs preview
Examples preview
Recent benchmark results
Wasm size tracking

It should be fine to run just ruff check --fix && ruff format according to the author: https://x.com/charliermarsh/status/1717229721954799727?s=20


Update admission controller links

This PR would probably fall under issue #9286 , it simply updates internal links that were previously referencing the old admission-controllers location to point to their new target from the redirects file.
Previous Link: /docs/admin/admission-controllers
New Link: /docs/reference/access-authn-authz/controlling-access
If desired I can probably do the same for the other entries updating them to their new location :)

/lgtm
/approve

@mrbobbytables Can you also resolve the merge conflicts in this one?

I fixed the merge conflicts. This PR should be good to go.

/approve
/lgtm

/approve


Apple: Remove redundant flags

Clang's --target argument is enough to specify the architecture, OS and deployment target, so let's remove the redundant -arch and -m*-version-min flags.
The first commit is a non-functional refactor, the others do the actual removal. Proper GCC support is still broken, since we specify -arch and not -march, will fix that separately.
Fixes https://github.com/rust-lang/cc-rs/issues/1030.

cc @BlackHoleFox can you take a look at this PR please?

I decided to go a different direction with the PR, have updated the title and description to reflect that.

cc @BlackHoleFox can you take a look at this PR please?

Suppose I'm 4 hours late but this looks fine to me 🎉


Changed redirect_uri check to http://localhost/callback.

I changed the code so the redirect_uri is always http://localhost/callback. This redirect_uri must be configured as redirect_uri on the Client when registering the Client in ADFS.
The relyingPartyId can not be standardized as this is the resource that is relying on ADFS for authentication. I.e. the resource you’re requesting an access_token for.
Let me know if you need more info.

Hi @kromkens,
Can you fetch from the upstream and merge your changes?  It looks like your commit didn't sync up correctly.
Thanks,

I fetched the upstream and merged. Could you try again?

Thanks for your contribution :)

Thanks you for the library in the first place!


feat: Notify when refresh token fails

Add event REFRESH_TOKEN_FAILED and notify when _callRefreshToken failed

This would be the SIGNED_OUT event, no?

This would be the SIGNED_OUT event, no?

I have changed the event to SIGNED_OUT, I want to capture this event. However, it's currently failing and the session becomes null without any notification.


SWARM-1316: Update to msc 1.2.7.Final

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you created a JIRA and used it in the commit message?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same issue?
[ ] Have you built the project locally prior to submission with mvn clean install?

@bobmcwhirter I know you have been working on MSC stuff lately. Any thoughts on the version update?

If this helps alignment I'm for it. I've been looking at WF11 rebase which is a larger and orthogonal issue.

looks good to me


Cant build brain.js on arm63

Hello, im trying to install Brain.JS package but i get node gyp error when trying to build
https://srcb.in/0cbXvffunz
I have everything installed (python 3.10.4, make, gcc, g++ and etc) im also running Ubuntu 22.04 ARM64

Please provide the command typed and the full error log.

Please provide the command typed and the full error log.

I just used npm i brain.js i will send error log soon

https://srcb.in/hlRDNHnOwb

It is insecure to click on a link.    Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.de>
768 timing reifyNode:node_modules/uuid Completed in 1098ms
769 timing reifyNode:node_modules/tweetnacl Completed in 1102ms
770 timing reifyNode:node_modules/har-schema Completed in 1101ms
771 timing reifyNode:node_modules/gauge Completed in 1098ms
772 timing reifyNode:node_modules/minimist Completed in 1102ms
773 warn deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
774 timing reifyNode:node_modules/request Completed in 1120ms
775 timing reifyNode:node_modules/qs Completed in 1125ms
776 timing reifyNode:node_modules/readable-stream Completed in 1124ms
777 timing reifyNode:node_modules/bl/node_modules/readable-stream Completed in 1134ms
778 timing reifyNode:node_modules/tar-stream/node_modules/readable-stream Completed in 1133ms
779 timing reifyNode:node_modules/psl Completed in 1136ms
780 timing reifyNode:node_modules/tar Completed in 1134ms
781 timing reifyNode:node_modules/tar-fs Completed in 1139ms
782 timing reifyNode:node_modules/node-gyp/node_modules/semver Completed in 1150ms
783 timing reifyNode:node_modules/sshpk Completed in 1157ms
784 timing reifyNode:node_modules/uri-js Completed in 1176ms
785 timing reifyNode:node_modules/acorn Completed in 1172ms
786 timing reifyNode:node_modules/nan Completed in 1174ms
787 timing reifyNode:node_modules/ajv Completed in 1218ms
788 timing reifyNode:node_modules/node-gyp Completed in 1265ms
789 timing reifyNode:node_modules/gpu.js Completed in 1270ms
790 timing reifyNode:node_modules/brain.js Completed in 1347ms
791 timing reifyNode:node_modules/gl Completed in 1682ms
792 timing reifyNode:node_modules/webgpu Completed in 1732ms
793 timing reify:unpack Completed in 1741ms
794 timing reify:unretire Completed in 1ms
795 timing build:queue Completed in 8ms
796 timing build:link:node_modules/acorn Completed in 4ms
797 timing build:link:node_modules/detect-libc Completed in 3ms
798 timing build:link:node_modules/mkdirp Completed in 3ms
799 timing build:link:node_modules/node-gyp Completed in 3ms
800 timing build:link:node_modules/nopt Completed in 3ms
801 timing build:link:node_modules/prebuild-install Completed in 2ms
802 timing build:link:node_modules/rc Completed in 2ms
803 timing build:link:node_modules/rimraf Completed in 2ms
804 timing build:link:node_modules/semver Completed in 2ms
804 timing build:link:node_modules/semver Completed in 2ms
805 timing build:link:node_modules/sshpk Completed in 2ms
806 timing build:link:node_modules/uuid Completed in 1ms
807 timing build:link:node_modules/which Completed in 1ms
808 timing build:link:node_modules/node-gyp/node_modules/semver Completed in 3ms
809 timing build:link Completed in 6ms
810 info run<EMAIL_ADDRESS>install node_modules/gl prebuild-install || node-gyp rebuild
811 info run<EMAIL_ADDRESS>install { code: 1, signal: null }
812 timing reify:rollback:createSparse Completed in 223ms
813 timing reify:rollback:retireShallow Completed in 0ms
814 timing command:i Completed in 26982ms
815 verbose stack Error: command failed
815 verbose stack     at ChildProcess. (/home/notdemonix/.nvm/versions/node/v18.8.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:63:27)
815 verbose stack     at ChildProcess.emit (node:events:513:28)
815 verbose stack     at maybeClose (node:internal/child_process:1091:16)
815 verbose stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
816 verbose pkgid<EMAIL_ADDRESS>817 verbose cwd /home/notdemonix/Desktop/Ai
818 verbose Linux 5.15.0-1016-oracle
819 verbose node v18.8.0
820 verbose npm  v8.18.0
821 error code 1
822 error path /home/notdemonix/Desktop/Ai/node_modules/gl
823 error command failed
824 error command sh -c -- prebuild-install || node-gyp rebuild
825 error make: Entering directory '/home/notdemonix/Desktop/Ai/node_modules/gl/build'
825 error   CXX(target) Release/obj.target/angle_common/angle/src/common/Float16ToFloat32.o
825 error   CXX(target) Release/obj.target/angle_common/angle/src/common/MemoryBuffer.o
825 error   CXX(target) Release/obj.target/angle_common/angle/src/common/angleutils.o
825 error   CXX(target) Release/obj.target/angle_common/angle/src/common/debug.o
825 error   CXX(target) Release/obj.target/angle_common/angle/src/common/mathutil.o
825 error   CXX(target) Release/obj.target/angle_common/angle/src/common/string_utils.o
825 error   CXX(target) Release/obj.target/angle_common/angle/src/common/tls.o
825 error   CXX(target) Release/obj.target/angle_common/angle/src/common/utilities.o
825 error   AR(target) Release/obj.target/angle/src/angle_common.a
825 error   COPY Release/angle_common.a
825 error   COPY Release/obj/gen/angle/id/commit.h
825 error   TOUCH Release/obj.target/angle/src/commit_id.stamp
825 error   CXX(target) Release/obj.target/libANGLE/angle/src/common/event_tracer.o
825 error   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/AttributeMap.o
825 error   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Buffer.o
825 error   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Caps.o
825 error   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Compiler.o
825 error   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Config.o
825 error   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Context.o
825 error   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Data.o
825 error   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Debug.o
825 error   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Device.o
825 error   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Display.o
825 error   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Error.o
825 error   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Fence.o
825 error   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/Framebuffer.o
825 error   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/FramebufferAttachment.o
825 error   CXX(target) Release/obj.target/libANGLE/angle/src/libANGLE/HandleAllocator.o
825 error make: Leaving directory '/home/notdemonix/Desktop/Ai/node_modules/gl/build'
826 error gyp info it worked if it ends with ok
826 error gyp info using<EMAIL_ADDRESS>826 error gyp info using<EMAIL_ADDRESS>| linux | arm64
826 error gyp info find Python using Python version 3.10.4 found at "/usr/bin/python3"
826 error (node:663702) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
826 error (Use node --trace-deprecation ... to show where the warning was created)
826 error gyp info spawn /usr/bin/python3
826 error gyp info spawn args [
826 error gyp info spawn args   '/home/notdemonix/Desktop/Ai/node_modules/node-gyp/gyp/gyp_main.py',
826 error gyp info spawn args   'binding.gyp',
826 error gyp info spawn args   '-f',
826 error gyp info spawn args   'make',
826 error gyp info spawn args   '-I',
826 error gyp info spawn args   '/home/notdemonix/Desktop/Ai/node_modules/gl/build/config.gypi',
826 error gyp info spawn args   '-I',
826 error gyp info spawn args   '/home/notdemonix/Desktop/Ai/node_modules/node-gyp/addon.gypi',
826 error gyp info spawn args   '-I',
826 error gyp info spawn args   '/home/notdemonix/.cache/node-gyp/18.8.0/include/node/common.gypi',
826 error gyp info spawn args   '-Dlibrary=shared_library',
826 error gyp info spawn args   '-Dvisibility=default',
826 error gyp info spawn args   '-Dnode_root_dir=/home/notdemonix/.cache/node-gyp/18.8.0',
826 error gyp info spawn args   '-Dnode_gyp_dir=/home/notdemonix/Desktop/Ai/node_modules/node-gyp',
826 error gyp info spawn args   '-Dnode_lib_file=/home/notdemonix/.cache/node-gyp/18.8.0/<(target_arch)/node.lib',
826 error gyp info spawn args   '-Dmodule_root_dir=/home/notdemonix/Desktop/Ai/node_modules/gl',
826 error gyp info spawn args   '-Dnode_engine=v8',
826 error gyp info spawn args   '--depth=.',
826 error gyp info spawn args   '--no-parallel',
826 error gyp info spawn args   '--generator-output',
826 error gyp info spawn args   'build',
826 error gyp info spawn args   '-Goutput_dir=.'
826 error gyp info spawn args ]
826 error gyp info spawn make
826 error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
826 error ../angle/src/libANGLE/HandleAllocator.cpp: In constructor ‘gl::HandleAllocator::HandleAllocator()’:
826 error ../angle/src/libANGLE/HandleAllocator.cpp:29:52: error: ‘numeric_limits’ is not a member of ‘std’
826 error    29 |     mUnallocatedList.push_back(HandleRange(1, std::numeric_limits::max()));
826 error       |                                                    ^~~~~~~~~~~~~~
826 error ../angle/src/libANGLE/HandleAllocator.cpp:29:76: error: ‘::max’ has not been declared; did you mean ‘std::max’?
826 error    29 |     mUnallocatedList.push_back(HandleRange(1, std::numeric_limits::max()));
826 error       |                                                                            ^~~
826 error       |                                                                            std::max
826 error In file included from /usr/include/c++/11/algorithm:62,
826 error                  from ../angle/src/libANGLE/HandleAllocator.cpp:12:
826 error /usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
826 error  3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
826 error       |     ^~~
826 error ../angle/src/libANGLE/HandleAllocator.cpp:29:43: error: expected primary-expression before ‘(’ token
826 error    29 |     mUnallocatedList.push_back(HandleRange(1, std::numeric_limits::max()));
826 error       |                                           ^
826 error ../angle/src/libANGLE/HandleAllocator.cpp:29:52: error: ‘numeric_limits’ is not a member of ‘std’
826 error    29 |     mUnallocatedList.push_back(HandleRange(1, std::numeric_limits::max()));
826 error       |                                                    ^~~~~~~~~~~~~~
826 error ../angle/src/libANGLE/HandleAllocator.cpp:29:73: error: expected primary-expression before ‘>’ token
826 error    29 |     mUnallocatedList.push_back(HandleRange(1, std::numeric_limits::max()));
826 error       |                                                                         ^
826 error ../angle/src/libANGLE/HandleAllocator.cpp:29:76: error: ‘::max’ has not been declared; did you mean ‘std::max’?
826 error    29 |     mUnallocatedList.push_back(HandleRange(1, std::numeric_limits::max()));
826 error       |                                                                            ^~~
826 error       |                                                                            std::max
826 error In file included from /usr/include/c++/11/algorithm:62,
826 error                  from ../angle/src/libANGLE/HandleAllocator.cpp:12:
826 error /usr/include/c++/11/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
826 error  3467 |     max(initializer_list<_Tp> __l, _Compare __comp)
826 error       |     ^~~
826 error make: *** [angle/src/libANGLE.target.mk:239: Release/obj.target/libANGLE/angle/src/libANGLE/HandleAllocator.o] Error 1
826 error gyp ERR! build error
826 error gyp ERR! stack Error: make failed with exit code: 2
826 error gyp ERR! stack     at ChildProcess.onExit (/home/notdemonix/Desktop/Ai/node_modules/node-gyp/lib/build.js:194:23)
826 error gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
826 error gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
826 error gyp ERR! System Linux 5.15.0-1016-oracle
826 error gyp ERR! command "/home/notdemonix/.nvm/versions/node/v18.8.0/bin/node" "/home/notdemonix/Desktop/Ai/node_modules/.bin/node-gyp" "rebuild"
826 error gyp ERR! cwd /home/notdemonix/Desktop/Ai/node_modules/gl
826 error gyp ERR! node -v v18.8.0
826 error gyp ERR! node-gyp -v v7.1.2
826 error gyp ERR! not ok
827 verbose exit 1
828 timing npm Completed in 27110ms
829 verbose unfinished npm timer reify<PHONE_NUMBER>459
830 verbose unfinished npm timer reify:build<PHONE_NUMBER>421
831 verbose unfinished npm timer build<PHONE_NUMBER>421
832 verbose unfinished npm timer build:deps<PHONE_NUMBER>421
833 verbose unfinished npm timer build:run:install<PHONE_NUMBER>436
834 verbose unfinished npm timer build:run:install:node_modules/gl<PHONE_NUMBER>437
835 verbose code 1
836 error A complete log of this run can be found in:
836 error     /home/notdemonix/.npm/_logs/2022-08-27T10_23_06_339Z-debug-0.log

error gyp info using<EMAIL_ADDRESS>
The text that was deleted when creating this issue explained how to fix it.


Add NodeSelector to CockroachDB Pods

What this PR does / why we need it:
This is a feature I needed to make sure the pods were running on the nodes I needed. This is a non-breaking change to let others do the same.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:

/assign @a-robinson

Thanks!
/ok-to-test
/lgtm
/approve

/lgtm

Sorry, this is my first PR and I'm learning I should have just shoved it into a new PR branch...

No worries, thanks for the contribution!


Add Practical Python Course & MongoDB Cheat Sheet

What does this PR do?
Add resources
For resources
Description

Added Practical Python: An Immersive Python Course by Nina Zakharenko
Added MongoDB Cheat Sheet by MongoDB

Why is this valuable (or not)?

It's well organized and beginner-friendly course.
MongoDB Cheat Sheet comes in handy for quick revision over commands.

How do we know it's really free?

This course is free and doesn't even require signing up.
This is the free content provided by the MongoDB organization itself.

For book lists, is it a book? For course lists, is it a course? etc.

Course
Cheat Sheet

Checklist:

[X] Read our contributing guidelines
[X] Search for duplicates.
[X] Include author(s) and platform where appropriate.
[X] Put lists in alphabetical order, correct spacing.
[X] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!

Awesome!✨
Hey, can you add the hacktoberfest-accepted label so that it will be counted for Hacktoberfest 2021?
Thanks!


Add the ability to change the default manager.name filter (better server migration support)

There's a problem with the current default filter system : you can't change the manager.name filter. This is an issue when you migrate your data from one server to another and they don't have the same name.
Indeed, we had an old wazuh server called wazuh-server. We had to shut it down but we still need to search old data so I deployed a less powerful/expensive archive server called wazuh-archive.
I followed the backup-restore procedure described in the documentation in order to migrate the data to the archive server. With some tweaks related to the small RAM, everything worked (including restoring old logs)
The problem is that because of the default filter manager.name which is automatically set to the name of the current server and which cannot be changed, it is impossible to show the security events of the old server wazuh-server.

I know logs has been indexed because when I create a new filter, the old server appears in the list...

...but of course I can't use them together

Update : I deployed a new wazuh archive server with the same hostname as the old one (wazuh-server) and it worked. This confirms that my backups are good and that it is indeed a problem with the default filter behaviour

Same problem here!


add 2 storage linked service type: AzureBlobStorage, AzureTableStorage and support aad auth for AzureBlobStorage

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[ ] I have read the contribution guidelines.
[ ] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-python

Automation for azure-sdk-for-node

Automation for azure-sdk-for-java

Automation for azure-sdk-for-go

I'm still waiting for backend service Production deploy, please wait for my signal before merge into master, thx

@ligengatms please ping me directly via IM or email when this PR will be ready to merge.

@hovsepm  thank you for the help, I'll send you by mail when we're ready to merged. And for your comments, connectionString as the description said it may be string, secureString, depends on customer input, that's why we set it to object; and for sasUri it's also secret, so it's type is SecretBase which is defined in datafactory.json; for encryptedCredential, you are right, i'm changing it to string, thanks for pointing it out.

@AutorestCI regenerate azure-sdk-for-go


Add support for "Linux aarch64" to quickstart.sh

Was trying to install this lovely software on my raspberry pi 3b, but the quickstart script was unable to launch iroh-store. I tried running it manually and found out it was running a binary for the wrong architecture.
$ uname -sm returns Linux aarch64 which isn't in the switch statement, causing it to default to amd64. Pretty simple fix, but I couldn't find the script in this repository so I couldn't make a pullreq

I should get to this over the next few weeks.

Thanks for filing @owocean! We're heads-down trying to get an initial release of iroh out the door in ~2 weeks. We'll definitely get this fixed, but it'll have to wait until after the release, as the script is part of our ops infra.
In the meantime, are you able to build iroh-store for your arch from source? We'd hate to see you totally blocked on this :)

yeah i was able to build it :) thanks for all your hard work!
I noticed that you've planned to delete iroh-ctl and replace it with iroh-one. Should I build that instead? Supposed to have everything bundled together?

You shouldn't need to, and you'll always be able to run either of iroh one and iroh-{gateway,p2p,store}.
After talking it through, we're planning to effectively rename iroh-ctil to just iroh. Full rationale: https://github.com/n0-computer/iroh/issues/274#issuecomment-1272029165

Updated the setup script. Will eventually make it public too.
Thanks for the report!


nobody in the world wants powershell as default terminal

I've been using vscode with WSL as my default terminal for years. A recent update made powershell the default and no matter how many times I change it , powershell is in my terminal every time I open the program.

So I wonder whether they had July & August off work? If otherwise how can they make such a bug?


Troubleshoot empty forum topic

First topic goes to this URL: https://sleepdata.org/forum/download-shhs-dataset-with-matlab

The user has an @.jp email address, so I wondered if possibly some Japanese characters caused things to bug out. I couldn't find a way to edit/view the actual post from within sleepdata.org itself.

This post was only a title, the topic appears to have been created without an actual description (which would be the first part of the blog post). I couldn't find any topic "replies" created by the user of the post.


python312Packages.django-otp-webauthn: 0.3.0 -> 0.4.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.django-otp-webauthn is: Passkey support for Django
meta.homepage for python312Packages.django-otp-webauthn is: https://github.com/Stormbase/django-otp-webauthn
meta.changelog for python312Packages.django-otp-webauthn is: https://github.com/Stormbase/django-otp-webauthn/blob/v0.4.0/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.4.0 with grep in /nix/store/6m2pp4ggx1vwzzy8mlqm805bm3c8q8k1-python3.12-django-otp-webauthn-0.4.0
found 0.4.0 in filename of file in /nix/store/6m2pp4ggx1vwzzy8mlqm805bm3c8q8k1-python3.12-django-otp-webauthn-0.4.0

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

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

python311Packages.django-otp-webauthn
python312Packages.django-otp-webauthn
weblate

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/6m2pp4ggx1vwzzy8mlqm805bm3c8q8k1-python3.12-django-otp-webauthn-0.4.0 \
  --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 python312Packages.django-otp-webauthn https://github.com/r-ryantm/nixpkgs/archive/714cf025cdef129e4e17fabc8b084cf84e05fffe.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/714cf025cdef129e4e17fabc8b084cf84e05fffe#python312Packages.django-otp-webauthn

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/6m2pp4ggx1vwzzy8mlqm805bm3c8q8k1-python3.12-django-otp-webauthn-0.4.0
ls -la /nix/store/6m2pp4ggx1vwzzy8mlqm805bm3c8q8k1-python3.12-django-otp-webauthn-0.4.0/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.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:x: 3 packages failed to build:

weblate
weblate.dist
weblate.static

:white_check_mark: 4 packages built:

python311Packages.django-otp-webauthn
python311Packages.django-otp-webauthn.dist
python312Packages.django-otp-webauthn
python312Packages.django-otp-webauthn.dist

Maintainer pings
cc @erictapen for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Yeah I noticed, my plan was to fix forward from here.

I'll try to incorporate it into https://github.com/NixOS/nixpkgs/pull/350447 for now.


tf-nightly-gpu 2.0 very slow on tape.gradient()

While migrating to tensorflow 2.0 I found a big performance issue.
@tf.function
def onTrainStep(self, data, training=True):

    images, labels = data

    with tf.GradientTape() as tape:
        loss, predictions = self.seq2seq(images, labels, training)

    # Calculate the total probability of the output string.
    probability = tf.nn.softmax(predictions)

    ggn = 0
    if training:
        params = self.seq2seq.trainable_variables

        gradients = tape.gradient(loss, params)
        gradients, _ = tf.clip_by_global_norm(gradients, 5.0)
        ggn = tf.linalg.global_norm(gradients)

        # update op - apply gradients
        self.optimizer.apply_gradients(zip(gradients, params))

    return loss, predictions, probability, ggn

tensorflow-gpu 1.13.1:
takes 0.7 seconds
tensorflow-gpu 2.0 nightly
takes 2.4 seconds
removing gradients = tape.gradient(loss, params) and ggn = tf.linalg.global_norm(gradients):
takes 0.3 seconds
That means gradients = tape.gradient(loss, params) is consuming most of the time

I also noticed that tensorflow2.0a is  much faster than the latest nightly build with keras when updating the weights.

Can you add full instructions to reproduce?
This feels like a serious problem but it could be caused by many different things, and so having working code we can debug would be very helpful.

Or if you don't want to share your code if you're willing to run a git bisect and share the results with us that'd also be great.

@alextp, my full code is in this notebook:
https://github.com/alew3/huia_experience/blob/master/02_train/train_huia_poses_keras_tf2.ipynb
I timed this snippet of training as an example, it is running 3 times slower in the nightly. Visually the slow down seems to happen when should be updating the weights.
start = datetime.now()
model.fit(train_dataset, epochs=epochs,steps_per_epoch=steps_per_epoch,verbose=1,validation_data=test_dataset,
callbacks=callbacks)
end = datetime.now()
print(f"total time of {end-start} for {epochs} epochs, tensorflow version={tf.version}")
and run twice the code for each version of tensorflow:
TF2 Alpha
total time of 0:01:00.676783 for 5 epochs, tensorflow version=2.0.0-alpha0
total time of 0:01:02.069855 for 5 epochs, tensorflow version=2.0.0-alpha0
TF2 Nightly
total time of 0:03:20.682476 for 5 epochs, tensorflow version=2.0.0-dev20190521
total time of 0:03:21.514782 for 5 epochs, tensorflow version=2.0.0-dev20190521

Can you give me a shorter example to reproduce? I can't quite run your notebook as I don't have the training data or the filesystem setup in the way you do.

@alextp , I've cut down the code and included the training data in two different collabs to make things easier to reproduce, with the only change being the version of Tensorflow 2 used. Tensorflow Nightly is 3x slower.
TensorFlow 2 Alpha GPU
https://colab.research.google.com/drive/1AOhKl18zI-W1YZ2BPTHO_e0zezUgw6Jh#scrollTo=OaNzmAVbosq0
run 1. total time of 0:05:39.198438 for 5 epochs, tensorflow version=2.0.0-alpha0
run 2. total time of 0:05:30.281252 for 5 epochs, tensorflow version=2.0.0-alpha0
Tensorflow 2 Nightly GPU 2.0.0-dev20190522
https://colab.research.google.com/drive/1Z9M_ovwlUjHUiswW3a29aS67CsaOHjWo#scrollTo=3cVLAo9Mospi
run 1. total time of 0:15:31.170586 for 5 epochs, tensorflow version=2.0.0-dev20190522

Enabling logging during model.fit(), I see that it is mostly running on the GPU. But I'm not sure what Executing op ExperimentalDatasetCardinality in device /job:localhost/replica:0/task:0/device:CPU:0 does, but it runs on the CPU when things slow down.
Executing op CloseSummaryWriter in device /job:localhost/replica:0/task:0/device:CPU:0
Executing op DestroyResourceOp in device /job:localhost/replica:0/task:0/device:CPU:0
Epoch 1/20
Executing op ExpandDims in device /job:localhost/replica:0/task:0/device:GPU:0
W0522 20:40:51.144862<PHONE_NUMBER>44256 deprecation.py:323] From /home/ale/anaconda3/envs/tensor20/lib/python3.7/site-packages/tensorflow/python/ops/math_grad.py:1250: add_dispatch_support..wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
Executing op VarHandleOp in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op AssignVariableOp in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op Fill in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op VarHandleOp in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op LogicalNot in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op Assert in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op VarHandleOp in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op VarHandleOp in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op VarHandleOp in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op VarHandleOp in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op VarHandleOp in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op VarHandleOp in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op Cast in device /job:localhost/replica:0/task:0/device:GPU:0
Executing op __inference_keras_scratch_graph_13159 in device
68/70 [============================>.] - ETA: 0s - loss: 0.8524 - accuracy: 0.7154Executing op ExperimentalDatasetCardinality in device /job:localhost/replica:0/task:0/device:CPU:0
Executing op __inference_keras_scratch_graph_14812 in device
Executing op WriteScalarSummary in device /job:localhost/replica:0/task:0/device:CPU:0
Executing op WriteScalarSummary in device /job:localhost/replica:0/task:0/device:CPU:0
Executing op WriteHistogramSummary in device /job:localhost/replica:0/task:0/device:CPU:0
70/70 [==============================] - 68s 973ms/step - loss: 0.8384 - accuracy: 0.7196 - val_loss: 1.9080 - val_accuracy: 0.3720

@iganichev could this be related to placer changes?

Unlikely. The new placer should have the same placement decisions (safe for some rare corner cases) for graphs without functions outputting resources on multiple devices. It is unlikely that keras produces such graphs. Also, Dataset ops have not been integrated into the recursive placement framework.

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

The issue persists. Very slow updating weights on the nightly and beta compared to the alpha.

The issue persists.

@robieta , the notebook which is slow seems to be using model.fit. Do you know what part of it changed between alpha and nightly that could cause this?
@alew3 this is still a very large example to reproduce, and the notebook you shared doesn't overlap at all in terms of code with the thing starting this post. It's quite hard to understand what the actual problem is.

@alextp sorry, I tried to cut down the code to the essential. It is just a simple image classification training via transfer learning using mobilenet with keras and tf.data.dataset as recommended by Tensorflow guides. But the slow down is very noticeable on the newer versions of TF2 when it updates the weights. It is so slow, that makes it  impracticable for real work. I can't guarantee it is the same reason as the original poster's problem.

For example, can you reproduce the slowdown with just a constant size numpy array? Can you reproduce with a smaller keras model?
If you can reproduce with a numpy array with random numbers instead of a real dataset this gets much easier for me to reproduce. Similarly, the smallest the model that is slow the easier it is for me to know what is going on.

I would echo @alextp's point about synthetic data. It's often a source of much complexity in a model, and if an issue reproduces with a synthetic pipeline it drastically narrows down the possible causes. (And a similar line of reasoning goes for models. Complex topologies are hard to debug.) Other than that, however, I thought it was a very high quality repro and much appreciated. I've tweaked it to use a synthetic pipeline: https://colab.research.google.com/gist/robieta/0c8a007cf1ec2181872511b1367809e7/tf_issue_28831_repro.ipynb
The issue is this bit here:
# skip 20% validation images
test_dataset = ds.take(838)
train_dataset = ds.skip(838)

There are 4191 examples, hence 20% * 4191 = 838. However at this time the dataset is already batched, so at a batch size of 48 that actually becomes 838 batches = 48 * 838 examples = 9.6 epochs. So you are actually telling the dataset to process nearly 10 epochs before starting validation. (The results of skip are not used by test_dataset; they are simply discarded) This of course also has the unfortunate effect that it does not preserve the train / test split. Generally I would recommend making the split in the dataset as early as possible, as it tends to be both more performant and less error prone.
The reason that this is showing up now is that there have been some changes to how Model.fit interacts with datasets, so the dataset is making a new iterator each time. (As opposed to the alpha code where the inefficiency was only in the first epoch.) @tomerk Is iterator reuse across epochs via the steps_per_epoch argument on your radar?
That said, I think the original issue reported by @nicoosokhan seems to be different from the behavior observed by @alew3. @nicoosokhan if you can provide a minimal repro colab we would be very interested to see what's going on with GradientTape.

@qlzh727 For the steps_per_epoch iterator reuse behavior as well.

@robieta thanks for the feedback, I also tried running my code on multiple gpus with mirror distribution strategy and was running out of data, so that's probably related!

I'm going to go ahead and close this out since it seems to be resolved. Feel free to reopen if I missed something.


Release v0.5.0

Release Process

[x] Create and push new release branch
Local release preparations (on the release branch)

[x] Run e2e tests
[x] Sync/tidy up dependencies.

[x] Run go mod tidy.
[x] Run git commit -m 'go.mod,go.sum: update dependencies.' go.{mod,sum}, if necessary.

[x] Run git tag -a -m "NRI plugins v0.5.0" v0.5.0.

Publishing

[x] Push the tag with git push $VERSION.
[ ] Check that new container images are published for the tag.

for i in nri-resource-policy-topology-aware nri-resource-policy-balloons nri-resource-policy-template nri-config-manager nri-memory-qos nri-memtierd; do \
    skopeo inspect --format "$i: {{.Digest}}" docker://ghcr.io/containers/nri-plugins/$i:v0.5.0;
done

[ ] Finalize the new draft release created by CI

[ ] Check that all artefacts (Helm charts) were uploaded
[ ] Write the change log to the release.
[ ] Get the change log OK'd by other maintainers.

[ ] Publish the draft as a release.
[ ] Verify that the Helm repo was updated
[ ] Add a link to the tagged release in this issue.
[ ] Generate the operator bundle by running make bundle within deployment/operator directory and submit the generated content to the community-operators.

[ ] Create and push unannotated development tag v0.6.0-devel for next release cycle.
[ ] Close this issue.

The workflow mechanism to conditionally trigger packaging unstable vs. stable Helm Charts did not work as expected. Additionally, the logic to detect whether we're packaging stable charts for a release or unstable charts for a development version did not handle tags correctly, assuming all tags were releases. PRs to fix this have been filed, a new v0.5.1 version tagged with fixes in place, and a related issue for the v0.5.1 release created: #310.


Left-side derivative spikes

Possibly related to https://github.com/influxdata/influxdb/issues/5806, if I am running a cross-series derivative, there are periodic spikes in the first position of the series.   I have observed that these seem to coincide with the sample frequency of the series, so for example if series A records a sample 15 seconds before series B, then in that window between the two is when I will experience the spike.
Perhaps each series should look further back than it does?  Maybe this is related to the fill() behavior in 5806?

This is likely related to #5733. We are going to be looking at derivative to fix this issue in 0.12 because the complexity for fixing this is likely not going to make it into the feature freeze for 0.11.
So that we can consider your use case when we start to try fixing this, what query are you doing, how, and what output you would expect?
Thank you for taking the time to file this bug.

Yes it does look like the same issue, thanks!

Hi Folks,  I'm exploring which TSDB to use for a new POC monitoring solution and have hit this bug.  Are there are known work-arounds in v0.11 that I could use before v0.12 comes out?  Are there any risks to this fix not being included in v0.12?  Lastly--I see there's been some excellent progress on the completion of the milestone, is there an expected date of when a beta v0.12 will be ready?
Thanks!

A fix for aggregate queries and derivatives is in master now. Can you see if it works for your use case?
Thanks. More progress still needs to be made on this subject, but hopefully, it provides some relief.

Thanks, @jsternberg I've forwarded to someone whom might be able to provide feedback.  I'm looking at OpenTSDB now that the clustering capabilities are no longer included in the open source versions.

I think this is resolved so I'm going to close this. #5943 will track this for other types of queries.
If there's any problem, please reopen. Thanks!


lints: move top-level lints to [workspace.lints] manifest table

Should close #5877.

Thanks! Pending conflict

@DaniPopes Should be ok now.


Provide option to turn off progress

Somehow I'm getting TQDM for each skeletonization process; I assume they come from something in meshparty? Would like the ability to turn these off in pcg_skel and have that passed down to whatever meshparty function it is.

fixed in more recent meshparty


Oxidizing Lightning Rod

Describe the feature you have in mind.
Lightning rods can oxidize just like copper building blocks and can be waxed/unwaxed and players can use patina on them.
When struck by lightning, they can naturally deoxidize themselves, as in vanilla minecraft mechanic
Does this solve a particular problem?

Vanilla Lightning Rods aren't blending with copper roofs, making it look ugly. Also, the only copper block that cannot be used patina on it is the lighnting rod.

Definitely makes sense yes


Keep child inside parent window

Hi,
I would like to ask if there is something wrong with what I do. I have adapted the example in the SimpleChildWindowDemo and I am trying to open movable child window like this:
           var detailWindow = new DetailWindow() { IsModal = true, AllowMove = true };

            var vm = new ProductDetailViewModel(detailWindow, payload);
            detailWindow.DataContext = vm;

            detailWindow.WindowPresenter.Content = new ProductDetailView(vm);
            await appWindow.ShowChildWindowAsync(detailWindow, appWindow.RootGrid);

DetailWindow looks like this:
<SimpleChild:ChildWindow x:Class="CategoryManager.Views.DetailWindow"
        xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:SimpleChild="clr-namespace:MahApps.Metro.SimpleChildWindow;assembly=MahApps.Metro.SimpleChildWindow"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:CategoryManager.Views"
        mc:Ignorable="d"
        ShowCloseButton="True"
        ShowTitleBar="True"
        CloseByEscape="True"
        Width="auto"
        Height="auto"
        HorizontalContentAlignment="Left"
        VerticalContentAlignment="Top"
        CloseButtonCommand="{Binding Path=CloseWindowCommand}"
        Title="Edit">

    <ContentPresenter x:Name="WindowPresenter"/>
</SimpleChild:ChildWindow>

The thing is that the opened child window can be dragged outside of bounds of parent window. In the demo application mouse movement stops at the border of the parent window.
What can I change to enforce the parent border  window bounds?

I had this problem too. For now, my workaround is to detect the mouse location in relation to the parent window's border when the child window is dropped, and if it's too far out, reset the child's RenderTransform:
protected override void OnLostMouseCapture(MouseEventArgs e)
{
    base.OnLostMouseCapture(e);

    const double offscreenMargin = 30;
    var left = dropLocation.X - offscreenMargin;
    var top = dropLocation.Y - offscreenMargin;
    var right = dropLocation.X + offscreenMargin;
    var bottom = dropLocation.Y + offscreenMargin;

    if (left < 0 || top < 0 || right > RenderSize.Width || bottom > RenderSize.Height)
    {
        var childWindow = GetTemplateChild("PART_Window") as UIElement;
        var translateTransform = childWindow?.RenderTransform as TranslateTransform;
        if (translateTransform != null)
        {
            translateTransform.X = 0;
            translateTransform.Y = 0;
        }
    }
}

This code isn't very precise, but it's enough to avoid the unrecoverable lost child scenario. Note that you can't just set the RenderTransform or its matrix to the Identity matrix, because the actual implementation is updating the X and Y values on a private TranslateTransform field (which aliases the RenderTransform property).

It is good enough for me. Thank you very much.

@LubosBehensky It's now fixed and will be available in 1.4.0


Find bottlenecks in object detection program

Hi @Nucs
I wrote an object detection program.But my program implementation process is very slow.I used dotTrace to finding bottlenecks and i got a performance snapshot.
Can you help me to solve this problem?
my code :
Object Detection.txt
Snapshot :

12 seconds? It’s impossible. Where is the pb file?

@Oceania2018
In this path :
bin\x64\Debug

I mean where can I download the on file?

Hi @masoudnick, greeting from Israel
Based on your snapshot screenshot, It seems that the bottleneck is tensorflow computing your model.
So in other words, it has nothing to do with NumSharp or TF.NET but with your model and your cpu/gpu.

Hi @Nucs
ברכות מאיראן
I thought that my problem was related to TF.NET because i trained my model by ssdlite_mobilenet_v2_coco and detection speed of this model in python programs(on cpu) is very fast.
Anyway thanks for your response.If you have any other comment please let me know.

@Oceania2018
If possible, give me your email and i will share with you .pb file.

Can you email to<EMAIL_ADDRESS>

@Oceania2018 Yeah, i emailed.

@masoudnick I ran your example. No performance issue found.

using NumSharp;
using System;
using Tensorflow;
using static Tensorflow.Binding;
using SharpCV;
using static SharpCV.Binding;

namespace TensorFlowNET.Examples
{
    public class Test
    {
        Tensor image_tensor, boxes, scores, classes, num_detections;
        Tensor[] outTensorArr;

        public bool Run()
        {
            var graph = ImportGraph("ssdlite_Hybridnet_V100.10.pb");
            var mat = cv2.imread("shasta-daisy.jpg");
            Run(mat, graph);
            return true;
        }

        public void Run(Mat frame, Graph graph)
        {
            NDArray image_np = frame;
            image_np = image_np.reshape(1, frame.shape[1], frame.shape[0], 3);
            image_tensor = graph.OperationByName("image_tensor");
            boxes = graph.OperationByName("detection_boxes");
            scores = graph.OperationByName("detection_scores");
            classes = graph.OperationByName("detection_classes");
            num_detections = graph.OperationByName("num_detections");
            outTensorArr = new Tensor[] { num_detections, boxes, scores, classes };

            using (var sess = tf.Session(graph))
            {
                var results = sess.run(outTensorArr, new FeedItem(image_tensor, image_np));
                buildOutputImage(results, frame);
            }
        }

        public Graph ImportGraph(string path)
        {
            Graph graph = new Graph().as_default();
            graph = tf.get_default_graph();
            graph.Import(path);
            Console.WriteLine("Model Loaded.");
            return graph;
        }

        private void buildOutputImage(NDArray[] resultArr, Mat frame)
        {
            var scores = resultArr[2].AsIterator<float>();
            var boxes = resultArr[1].GetData<float>();
            var id = np.squeeze(resultArr[3]).GetData<float>();
            for (int i = 0; i < scores.size; i++)
            {
                float score = scores.MoveNext();
                if (score > 0.7f)
                {
                    float top = boxes[i * 4] * frame.shape[0]; ;
                    float left = boxes[i * 4 + 1] * frame.shape[1];
                    float bottom = boxes[i * 4 + 2] * frame.shape[0];
                    float right = boxes[i * 4 + 3] * frame.shape[1];
                    Console.WriteLine("top: " + top.ToString() + " left: " + left.ToString() + " bottom: " + bottom.ToString() + " right: " + right.ToString());
                    //var plate = np.array(frame[top: left, bottom: right]);
                }
            }

        }
    }
}

@Oceania2018
Thanks for devoting your time, But the problem I had was related to running the model on frames of a video.The program works very slowly by giving the frames to the model as sequentially.How to solve this problem?

Can you show me the video capture code?

@Oceania2018
I uploaded a video as an example on google drive.You can download it from bottom link :
https://drive.google.com/file/d/1F7fWxf7fIkk4kAP_5WWC4Katl2qqpx0s/view?usp=sharing

@masoudnick OK, I'll test it. BTW, are you using GPU version? As my experience, object detection should use GPU for better performance, otherwise it will cost about 500ms per frame to process.
And I changed your code using SharpCV to work with NDArray better.

@masoudnick It's normal, costs 13s total for 261 frames in the video for CPU version.

60ms per frame, actually it's pretty good.


Support for 'startParam' and 'endParam'

Does ui-calendar support fullcallendar's startParam and endParam? Simply setting them in the options object does not work:
index.html

app.js
angular.module('calendarTest', ['ui.calendar']).controller('MainCtrl', ['$scope', function($scope) {
  $scope.eventSources = [
    [ {title: 'It\'s today!', startDate: new Date()} ]
  ];

  $scope.calendarConfig = {
    startParam: 'startDate'
  };
}]);

Full example available on GitHub.
A brief look at ui-calendar's source makes me think start and end are hardcoded. Can anyone confirm or deny this?

So if im right this has to do with xhr requests right? I would not  be doing this in the calendar anyways. Tie the requests to angular and feed the calendar the data.


[Bug]: Actions having same domain but different ports issue

What happened?
When attempting to add two separate actions, both hosted on localhost (with either the same or different ports), the second action overrides the first one in the "OpenAI Functions" section of the assistant settings dashboard. Despite this issue, both actions remain visible in LibreChat's UI, and there are no display issues there.
I have verified that chaining multiple routes under a single OpenAPI configuration works without issue, whether using the same or different hostnames. The problem specifically arises when adding distinct actions bith having the same server url with different port, where the second action replaces the first in the OpenAI functions area.
Steps to Reproduce

Create two separate actions with different functionality, both hosted on localhost (can use the same or different ports).
Observe that the second action overrides the first action in the assistant settings, though both actions remain visible in LibreChat's UI.
Go to the first action (which function is already wiped from OpenAI), and press update, it will override the second action's function

What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
Screenshots
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I don't see a strong use case for taking into account localhost. Actions on the same domain should share openapi specs, and production servers should not expose ports. PRs welcome but I won't work on this.

I agree, cheers!


Create eastwest.txt

This is to add students of East West university Georgia.

@arathycyril Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course.

Thank you!

@arathycyril You might miss my previous comment. Please react.

https://www.east-westuniversity.com/
St. Tbilisi, Vakhtang Gorgasali st. 9, Tbilisi, street 0105, Georgia
https://www.east-westuniversity.com/academic-programs/
Eastwest university has research and development in Biomedical informatics which focus on IT training in clinical decisions in medical support systems. This university is tied up to many other universities to conduct research and analysis to solve problems in biological and medical science.

@arathycyril Regrettably, this request has signs of fraud. I have to close it without merging.
It does not mean that something is wrong with the school. The issue is related to a combination of many suspicious factors related to the domain and the request.
Please feel free to apply for free educational license with an official document which proves that you are a student. You can do it using "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
Thank you for your understanding!


Not distinguisable where the panes are ending

i feel that adding a faint gray border will solve this quickly
@drewxs can i contribute here ?

@KanishkKhurana Sure, feel free to open a PR


$filter does not work with empty string

$scope.persons = [
  {
    firstName: 'Nicolas',
    lastName: 'John'
  },
  {
    firstName: 'Julien',
    lastName: 'Smith'
  },
  {
    firstName: 'Thomas',
    lastName: ''
  }
];

// WORKS, returns item {firstName:'Thomas', lastName:''}
$scope.thomasFilter = $filter('filter')($scope.persons, {firstName: 'Thomas'});

// FAILS, returns the entire array instead of {firstName:'Thomas', lastName:''}
$scope.emptyStringFilter = $filter('filter')($scope.persons, {lastName: ''});

See demo: http://plnkr.co/edit/D9zi5h?p=preview
Tested with AngularJS 1.2.18 and 1.3.0-beta.13

This works as documented --- if you want to do an exact string match with the filterFilter, you should use a predicate function which performs the comparison for you. Obviously, any string will "contain the empty string".

You can also write a custom filter which performs exact string searches
I was confused by this too.  The documentation doesn't say "contains" is what tricked me.
It says

string: The string is used for matching against the contents of the array. All strings or objects with string properties in array that match this string will be returned. This also applies to nested object properties. The predicate can be negated by prefixing the string with !.

I bolded the key phrase of the paragraph.  I didn't know that "match" was the same as "contains".

I bolded the key phrase of the paragraph. I didn't know that "match" was the same as "contains".

It is not the same. The thing is that filter can do a lot more than the default behavior (which is what you are referring to), so we need to be a little more generic. As explained in the comparator argument, it is the comparator that determines what "match" means:

Comparator which is used in determining if the expected value (from the filter expression) and actual value (from the object in the array) should be considered a match.
Can be one of:
[...]

false: A short hand for a function which will look for a substring match in a case insensitive way.

[...]
Defaults to false.

If someone can come up with a clearer wording, PRs are always welcome :smiley:

@gkalpak
I didn't read that section carefully enough.  I think you are right that it does explain this in enough detail.  Thanks for the clarification and sorry to not see it at first!


psquare model is not saved after running train_psquare.py

Hi,
great work and thanks for sharing.
When I run train_transmitter.py, train_receiver_model.py, and train_psquare.py step by step. I can get the transmitter and receiver model, except the psquare model. I go through the code and can't fix it by myself. Can you help?
Thanks.

@OneDirection9
Hi, thanks for your interests on our work. Please find there is any output log matching the pattern Save model at and you could find the psqure model checkpoint there.

Hi @SivilTaram ,
Thanks for your reply.
The default save directory is tmp, I can find the transmitter and receiver model under there. But in the psquare folder, there is only a tensorboard folder.

@OneDirection9 Hi, thanks for your feedback! Since I just checked evaluation scripts carefully before releasing the code (the model weights are the ones saved before submitting the paper to ACL), so it is possible that the current code is not totally compatible with the provided ParlAI version. And I will try to reproduce the result as soon as possible and get back here in 2 days. Please stay tuned ☕

@OneDirection9 Hi~ Many thanks for your feedback. Yeah it is indeed an issue for our code (sorry for that). And it could work well now, and pls have a try ☕


bot crash : IndexError: list index out of range

Expected Behavior
do what a bot do normally
Actual Behavior
bot work for few seconds, catch pokemon, then fall into
[08:01:50] Scanning area for objects....
[08:01:50] Walking from (48.893666, 2.390437) to [48.893666, 2.390437] 0.00km
[08:01:52] Attempting to evolve all pokemons ...
[08:01:53] Scanning area for objects....
[08:01:53] Walking from (48.893666, 2.390437) to [48.893666, 2.390437] 0.00km

Traceback (most recent call last):
  File "pokecli.py", line 250, in <module>
    main()
  File "pokecli.py", line 241, in main
    bot.take_step()
  File "/root/PokemonGo-Bot-pokemonbot94/pokemongo_bot/__init__.py", line 36, in take_step
    location = self.navigator.take_step()
  File "/root/PokemonGo-Bot-pokemonbot94/pokemongo_bot/spiral_navigator.py", line 49, in take_step
    point = self.points[self.ptr]
IndexError: list index out of range

Steps to Reproduce
git clone latest build on dev branch
doing initial step
configuration that might be usefull for testing :
...
"location": "48.893666,2.390437"
...
"max_steps": 1
...
"walk": 4.16
...
"location_cache": true
"distance_unit": "km"
...

launch
Other Information
OS: Debian x64_86
Git Commit: 4555466ed1801f401e99670b17a9c98f4cb4ebb9

**update
in 27fa1d53760aa1a0068cedbf799c361c264de72f
change where made to solve the problem, but now the bot cannot parse a location of type
"location": "48.893666,2.390437"
what format should i use ?

@mehdi-S I tried the same coordinates and for me it's working. Do you really have the newest commit?

##update
now on : 6a9e74c91b9f5234f74c0cb09ec2568f1f37f01f
after your merge @tstumm parse location error gone away
but IndexError: list index out of range error is still here

increase max_steps in configuration

solution :
in config.json file put a max_steps of 2 or more to work
i suggest to improve the readme accordingly

I think even better than a readme would be an appropriate error message. Requiring this field to be >=2 seems arbitrary and most people will gloss over it. I set max_steps to 1 to try to "camp out" more in an area.

yes but it seems to not work fine when the maxstep is at 1


fix: quick correction on documentation

Description
Just a simple documentation fix. for_table only has a single argument, no longer accepts storage options as far as I'm aware. Found this while going through documentation and just thought I'd pass in for a little clean up.
Related Issue(s)

Documentation

I'm actually going to temporarily close this - there's more wrong with this documentation sample than just this and I want to maybe make a PR updating the main documentation page with some information on how to write.
Thanks!


.podspec file is created in ios folder

Currently .podspec file is created in ios folder and this is the reason why pod install  is not working when you are using your new library.
To make it work I had to:

replace .podspec file to the root
edit in replaced .podspec file value s.source_files to s.source_files = "ios/**/*.{h,m}"

@alshirokov81
Did you try npx pod-install instead? It should handle most common problems with pods installation.


Locked project roles are still selectable and assignable in 2.6.4

Rancher Server Setup

Rancher version: 2.6.4
Installation option (Docker install/Helm Chart): Helm chart version 2.6.4

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): Amazon EKS 1.21

Proxy/Cert Details: N/A

Information about the Cluster

Kubernetes version: EKS 1.21
Cluster Type (Local/Downstream): Downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): Hosted (Amazon EKS 1.21)

User Information

What is the role of the user logged in? Admin

Describe the bug

As the document mentioned, a locked project role shouldn't be assignable to a project member.
This worked in v2.5.8, but not v2.6.4.
To Reproduce
Just lock one if the built-in "Project Owner", "Project Member" or "Read-Only"

Result
The locked project role above is still assignable to a member.
Expected Result
The locked project role shouldn't show up and be selectable.

Screenshots

Additional context

The environment is the same as #37222.

It is still relevant

It is still relevant...


GPIO enhancements needed

Add more pinmodes support here from zephyr GPIO API like the ones here
Add a threads example where 2 LEDs blink asynchronously. Refer - https://docs.zephyrproject.org/2.7.0/samples/basic/threads/README.html
Add Documentation for above

do we have to define enum for different pinmodes as mentioned here

No, You are not atall supposed to modify any code in ArduinoCore-API.
What is required is that you implement each of
INPUT_PULLUP     = 0x2,
  INPUT_PULLDOWN   = 0x3,
  OUTPUT_OPENDRAIN = 0x4,

using an underlying zephyr code as documented here: GPIO input/output configuration flags

Thanks @szczys for solving this is https://github.com/zephyrproject-rtos/gsoc-2022-arduino-core/pull/19/files


UI/UX: If a user is unauthorized for an button/page, that button/page should be disabled

We need to disable these for regular users (off the top of my head):
/users endpoints
DELETE button for tags?

Done in my #48 pr for my react branch. Note: Because we did not have a /myuser endpoint at this time, checking if you're an admin is hacky and should be improved.


feat: initial bot code

Proposed Changes
This PR establishes some initial bot code. The changes include:

A bot configuration object (to allow passing values between commands, such as the prefix)
A defined interface for command files
Manual compiling of commands into an array
A help and ping command, for testing purposes

After merge, still to do:

Implement error handling for failed commands, login, etc.
Migrate the manual command list to an automatic function

Steps to test these changes:

Pull down changes locally
Add your bot token to the .env (visit the Discord Developer Portal to create an application if you do not have one)
Install dependencies with npm ci
Build the TypeScript files with npm run build
Start the application with npm start

Confirm you see "It's aliiiiiive" in the terminal - this means the bot logged in

Visit a Discord channel where your bot application is present

Send the message "!stargate ping" and see the bot's response
Send the message "!stargate help" and see the bot's response
Send the message "!stargate help help" and see the bot's response
Send the message "!stargate hahaha" and see no response from the bot

Screenshots

Great idea @AllanRegush - let's create that as an issue after this merges so we can open it up to first timers.


Downstream PEPs/PDPs/Services registered to the platform should be able to trigger their own Audit events

Background
If a downstream PEP is causing an event that should be tracked in audit, to my knowledge there is no way currently for them to trigger an audit event log. This should be supported via an extension to the current audit functionality to ensure audit events relevant to platform admins are adequately tracked even if they are not directly tied to the core of the platform.
Acceptance Criteria

a solution is employed (probably via service registration) to give audit privilege to PEPs (configurable?)
care is taken so that services cannot mutate audit logs of other services to prevent a malicious PEP from masking bad actions

I think this is close. We pass in the logger which contains the audit extension but I think we just need either make the pkgs public or add a generic audit method downstream peps can leverage.
https://github.com/opentdf/platform/blob/58e04df68c92be0433eb5197aa641b5cc9732ff1/service/pkg/server/services.go#L155


Workflow Sample: Task Chaining Pattern

Description:
We'll need to create a program.cs file for the task chaining example.
Requirements:

[ ] Create a program.cs file for the Task Chaining pattern.
[ ] program.cs file should run with the workflowConsoleApp.
[ ]  Task chaining sample should take into account:

What happens if one of the microservices are unavailable for an extended period of time?
Can failed steps be automatically retried?
If not, how do you facilitate the rollback of previously completed steps, if applicable?
Implementation details aside, is there a way to visualize the workflow so that other engineers can understand what it does and how it works?

Links
https://docs.dapr.io/developing-applications/building-blocks/workflow/workflow-patterns/

@nyemade-uversky this sounds more like an end-to-end sample rather than an illustration of Task chaining. I suggest we evolve the existing order processing sample to cover this.


form for the mc quiz

In GitLab by @lakhoune on Oct 16, 2020, 13:03
This component will let users absolve quizzes. It should load the quiz as a form

In GitLab by @lakhoune on Oct 16, 2020, 13:04
made the issue confidential


[GLUTEN-3048][VL] Disable Velox memory pool's own leak check since it may cause process crashes

The leak check should either be done by Spark's memory manager.
Enable the random kill tasks CI job to see if it could pass.

See CI log, the PR solved a series of crashes but there still remains some.


Release v4

@manics I opened five PRs, and I figure we should go for a v4 release with them review/merged.
The PRs opened:

#103
#104
#105
#106 (based on the one before)
#107 (based on the one before)

Sounds good to me!


OSX Bang Character Password  Error

Steps to reproduce

cme smb -u test -p !123blarblar123! -d test  --pass-pol

Command string used
!123blarblar123!
CME verbose output (using the --verbose flag)
n/a as cme does not run due to the problem breaking it.
CME Version (cme --version)
Version: 4.0.1dev
OS
Darwin 17.5.0 Darwin Kernel Version 17.5.0
Target OS
MacOS High Sierra 10.13.4
Detailed issue explanation
When supplying a password which contains a Bang character ! the system tries to recall last executed command from bash_history.  So in the case above it tried to execute the first command in bash_history and as such stops CME.

did you try placing the password in single quotes? alterative you can turn off bash history expansion with set +o histexpand

I tired with quotes and it does not process the request. I could turn bash history off which would make it work but just wanted to flag this.

putting the password in single quotes worked for me on MacOS High Sierra on Iterm. Closing since i can't reproduce.


Fix import from non EcmaScript module

The change of extensions was tested manually in the clean installation of gatsby.
Whats change:

import use .js extension
require use .cjs extensions as described in output plugins

@all-contributors please add @etc-tiago for platform!


Fix arbitrary "additional" table when not specified.

On the instancing.data.arbitrary attribute. If the 5th column for the additional table is not specified an error is raised where something is excepting a table.
Reproduce the error again and fix it.

Error line151 for hierarchical :
arbtr_data = arbtr_data["additional"]  -- type: table
for addit_target, addit_value in pairs(arbtr_data) do
    self:add(addit_target, addit_value)
end

arbtr_data was just not expected to be nil


fix: Fix spacing on button groups

fix: Fix spacing on button groups
New PR to trigger the version bump.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


RxJS Learning Team Meetings

I'll keep a running list of the learning team meeting notes here.

https://github.com/ReactiveX/rxjs-core-notes/blob/master/rxjs-docs/2017-10/october-16.md

@ladyleet  Can we get an update on the meeting notes for today's meeting? Sorry I had to miss it.

@Only1MrAnderson for sure will post soon!

November 15, 2017 meeting notes - https://github.com/ReactiveX/rxjs-core-notes/blob/master/rxjs-docs/2017-11/november-15.md // @Only1MrAnderson

@ladyleet I want to attend Team Meetings, but I don't know when and where you conduct these meetings.

@mustafamg can you email me so i can add you<EMAIL_ADDRESS>


Add Marathon TLS client config

This PR adds Marathon TLS client configuration.
Fixes #110

@rebaseTraefik

I just pushed up the changes, enjoy!

@emilevauge tests are broken, you need to update the marathon fakeClient.

LGTM 🐰


dart and flutter runners should publish the observatory port via inspect

https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=49938.

Removing tool and engine since this work is in the runners/engine.

After looking at https://github.com/dart-lang/sdk/blob/master/runtime/vm/service_isolate.h, @bkonyi is exploring exposing some of these methods via dart_api.h so the engine can register callbacks for hostname and port changes. Once this is done, I can patch the engine to record any updates with the inspect api.
Note that the Flutter tool will still rely on hub to get this information.

I'm a bit confused. Why would the host and port change after startup? Currently, the host and port are written in the runner's /tmp here:
https://github.com/dart-lang/sdk/blob/f9816cdc35c3d8bbcdf3727abe2afbe719e0679b/sdk/lib/_internal/vm/bin/vmservice_server.dart#L458
And published to the hub here:
https://github.com/flutter/engine/blob/master/shell/platform/fuchsia/runtime/dart/utils/vmservice_object.cc#L52
Why are new dart_api.h methods needed to publish the same info to inspect?

@zanderso I did not realize that they were getting written to that location. As I understand it the observatory server could sometimes be lazily started (when the port isn't specified for example). In those cases, is there an event that I can listen on in the engine to know that the port information is available for me to be read?

Service isolate startup has always been asynchronous. Clients of the service protocol on all platforms have traditionally handled this via polling. Even if the engine could register a callback with the VM in which the engine will publish the vm service address to inspect, will clients of the inspect API still have to poll anyway? Just trying to avoid adding dart_api.h APIs when it might not buy anything in the end.

This is being tracked via the upstream issue.


load_configuration or loads_configuration

I tested both on Python2.7 and Python3.8, used sample code in Readme.md:
config = loads_configuration(f.read()) works fine, but config = load_configuration(f.read()) returns empty dict.
Please check it out.

Yes, the readme is wrong... It's supposed to be like the json api, loads gets bytes object and load gets a file-like object. I'll fix the readme soon :)


missing outputs

no leaves for netherwood, no apples for oak or dark oak, no vines or cocoa beans for jungle
using BonsaiTrees-<IP_ADDRESS>.jar

nvm netherwood.  that's added from silent gear's end

vanillabonsais_data.zip
silentgearbonsais_data.zip
a fix

Sorry, I'm personally not supporting any versions below the upcoming 1.18.1 version.
Maybe someone else wants to pick things up for older versions - I simply don't have the time.


Icons change, new themes and type

Icons now are much more pretty,
3 new themes: green, yellow, red
new type: "success-game": has a different default icon than "success" type

Hey @pablonm3, thanks for the PR.
With v3 you can now create custom alert templates and v2 will not be maintained anymore so I'm closing this PR, hope it's ok.


bug(MatDateRangePicker): date range emits changes to form

Reproduction
https://stackblitz.com/edit/angular-ki1fyd?file=src/app/date-range-picker-overview-example.ts
Steps to reproduce:

ngOnInit patches form values using emitEvent: false;
The form dirty is true;

should have been false.

To my understanding, date-range-input.ts calls _registerModel() in ngAfterContentInit() after the value is set, causing it to trigger changes to form control.

Duplicate of https://github.com/angular/components/issues/20213.


fix/maria_db rpm links

fix maria db rpm links

Hello @sysid @gaurangv99,
Here is the fix PR for MWAA v2.9: https://github.com/aws/aws-mwaa-local-runner/pull/418

Closing because this change was already merged as part of https://github.com/aws/aws-mwaa-local-runner/pull/414


Can we use "numbers.Number" to identify float or int?

Hi @ellesmith88 , I saw there is a numbers module that you can use like:
if not isinstance(obj, numbers.Number):
     ...do something

Would that be a cleaner solution to use in level_parameter?
https://github.com/roocs/roocs-utils/blob/13604be8388696a96a91a7d98dcceab7d266e1fd/roocs_utils/parameter/level_parameter.py#L23
Also, the isdigit() stuff on line 20 might be simplified to:
try:
value = float(value)
except TypeError:
...could not parse as number...

I did this as part of getting level subsetter working.


change(heartbeat): use info log level when fail to report information.

We now use the "error" log level, which confuses users.
https://github.com/apache/incubator-apisix/blob/master/apisix/plugins/heartbeat.lua#L117

great，let me do it


Private Labeling improvement (light/dark) backend

The console has some problems with using all colors, if it is not know what kind of theme it is.
Boxes, Fonts, etc. require to know if it is a dark or light design
Acceptance criteria

[ ] If only one theme is implemented, return which it is

I will close this issue, I think we do not have problems there at the moment. Otherwise we can reopen the issue


dist/_SassyCast.scss is empty

There's nothing in the file except for the version comment.

:+1:

Seems this was fixed in d070fa989d56596aa26649cd82cbf7abf5dd2d46. Thanks!

On master branch dist/_SassyCast.scss is not empty, but last tagged version 1.1.1 still has empty file.
See https://github.com/HugoGiraudel/SassyCast/blob/1.1.1/dist/_SassyCast.scss


cross-encoder

Hello, does tevatron currently only support the structure of bi-encoder (query and passage are encoded separately)?

it supports reranker now!
https://github.com/texttron/tevatron/tree/main/examples/reranker


Add chat badge to README and CONTRIBUTING of Android projects

@bmarty commented on Sat Dec 22 2018
Thanks to this: https://matrix.to/#/!FPUfgzXYWTKgIrwKxW:matrix.org/$1545386836366oISQk:abolivier.bzh

https://github.com/vector-im/riot-android/issues/2795 for ref.


Dev

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


Not support nullable

I have used floor_generator and retrofit generator, we have getting below error
retrofit_generator-2.0.0-beta3/lib/src/generator.dart:1048:33: Error: The argument type 'String?' can't be assigned t
o the parameter type 'String' because 'String?' is nullable and 'String' isn't.
Below are the dependancies we have used...
environment:
sdk: ">=2.12.0 <3.0.0"
dependencies:
retrofit: ^2.0.0-beta1
logger: ^1.0.0
dio: ^4.0.0
built_value: ^8.0.4
json_annotation: ^4.0.1
path_provider: ^2.0.1
flutter_archive: ^3.0.0
lottie: ^1.0.1
shared_preferences: ^2.0.5
flutter_inappwebview: ^5.3.2
floor: ^1.1.0
flutter:
sdk: flutter
dependency_overrides:
code_builder: ^4.0.0
build_config: ^1.0.0
retrofit:
git:
url: https://github.com/trevorwang/retrofit.dart.git
path: annotation
ref: master
dev_dependencies:
floor_generator: ^1.1.0
build_runner: ^2.0.0
retrofit_generator: ^2.0.0-beta3
json_serializable: ^4.1.0
built_value_generator: ^8.0.4
flutter_native_splash: ^1.1.8+4

This is known, you need to use the dependency overrides for retrofit_generator on master branch too.

Thanks... It's working..
dependency_overrides:
  retrofit:
    git:
      url: https://github.com/trevorwang/retrofit.dart.git
      path: annotation
      ref: master
  retrofit_generator:
    git:
      url: https://github.com/trevorwang/retrofit.dart.git
      path: generator
      ref: master


Serde support

This PR introduces complete serialization and deserialization support for all data structures in this crate. Fixes #58.

This looks really good! If you add the new feature flag in Cargo.toml make sure also to list the feature in the ci\script.sh. This way we test the crate with and without the feature enabled.

@vorot93 also could you please a new commit for future changes? if you force push I cannot tell what changed the latest version and the previous one.

@japaric force pushing is necessary for rebasing onto master but I get your point.

Thanks!
bors r+


Fixes and Improvements

aab54dda92f21e61f0edf7c3bd09268fbf01f144: Fixing a major flaw in the hash_spider module where it was not saving hashes to cmedb. I have implemented the structure from the lsassy module to resolve this issue.

32e57cf60adb088fac62c034647f92e75ff24d18 #252: I also encountered the same problem mentioned in issue #252. It seems that we encounter this error on unsupported SMB versions (likely non-Windows devices such as NAS). This error was causing the program to exit completely when running cme with a list. Therefore, I thought it would be a good idea to add a try-catch block to handle this scenario.

cc78daa3fc328a5bf8f27040b4b215c656d8cffa #489: When facing the issue mentioned in #489, increasing ulimit -n and ulimit -u, along with this fix, prevented me from encountering the mentioned error.

f2181343fb7c257f3c2af506dea87697aac3b243: Lastly, when performing a login without providing the full FQDN (e.g., DOMAIN/USER. not DOMAIN.LOCAL/USER), it was giving an error similar to #529. Therefore, I found it appropriate to add a regex match in the query for Neo4j to ensure compatibility. Of course, the full FQDN can still be used in query, but I'm not certain if BloodHound always adds it to Neo4j.

Hello @lodos2005 can you submit you PR on https://github.com/mpgn/CrackMapExec ? it's the new official repo

hello @lodos2005 can you make your PR on the new official repo https://github.com/mpgn/CrackMapExec ?

hello @lodos2005 can you make your PR on the new official repo https://github.com/mpgn/CrackMapExec ?
ofc, https://github.com/mpgn/CrackMapExec/pull/19


Windows implementation of #25

This builds on #25
I've tested the Windows implementation locally with some simple examples and they all seem to be working.

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

Nice, thanks @retep998!


Split into package for library and package for executable

This PR splits the grace package into two:

The grace-core package which is meant to be used programmatically, e.g. for tooling or embedded interpreters.
The grace package which is the home of the grace executable.

Additionally, we use haskell-ci to generate the GitHub Actions workflow.

I think this is a great idea!  My main comments so far are:

I think Grace.REPL should be part of the executable package
The executable package doesn't need a doctest suite
I would like to keep the current haskell.yml for CI right now, because it's much simpler

@Gabriel439 This one is ready for review; Feel free to merge it if there is nothing to object to :slightly_smiling_face:

Thank you for doing this! 🙂

@mmhat: Actually, I wanted to ask you if it would be alright to go back to a single consolidated package?
I'm sorry to ask this after the work you put into this change, but the main reason I'm requesting this is because I'm running into the project boundary pretty frequently in the course of development where I need to make changes that span both packages.  In particular, both ghcid and Nix do not support fast incremental development that span a package boundary.
I also tried using cabal v2-build (without Nix) instead to do cross-package development, but ran into a failure getting that to work, too.

@Gabriel439 Yes, I have no problem with that! It seemed to be a good idea back then to reduce the dependency footprint if one wants to use the core library component only. But I made the split under the assumption that the packages will end up on Hackage and without that it is IMHO not really important to have two packages floating around.
If requirements change, let's change the project, too!
TLDR; Happy merging :smile:


Unsupported ChipID value for QGPU features

After installing and running my Android app on my Samsung Galaxy Tab S4 with Android 10 I get many of the following strange warnings.
D/GraalCompiled(15454): Warning: Unsupported ChipID value for QGPU features (0x5040001), using a5x as default.
These warnings only show up for the first run after a fresh install and they do not show up at all on my Samsung Galaxy S7 phone with Android 8. I haven't noticed any bad consequences on the tablet but maybe these warnings hint to some underlying problem.
Here is a little more context:
Unsupported ChipID value.zip

I've only found this related issue. Not sure it applies to your case, but can you verify your min SDK?

In an oder version of my app I had min and max versions set but which recently updated all my stuff I copied the manifest which you generated and just added a few more permissions. The generated manifest does not contain any min and max versions anymore.

In target/client/aarch64-android/gvm/android_project you have a full gradle project that you can play with. But the app/build.gradle file already sets minSdkVersion' to 21 by default, so if you didn't set a lower value it will use that. Alternatively, you can copy the AndroidManifest.xmlfile intosrc/android`, and add it directly.

I am happy with everything <= 26, that's why I left the default.

Closing as not an issue anymore. Feel free to reopen otherwise.


[tests] run docker system prune to clean up dangling network/processes

run java8 tests

retest this please

oh my bad. I think I accidentally merged it as one of the other testing related PR :(
I will close this PR then.


Drupal example provisioning fails

TASK [Install Drupal.] *********************************************************
fatal: [default]: FAILED! => {"changed": true, "cmd": ["drush", "si", "-y", "--site-name=Drupal Test", "--account-name=admin", "--account-pass=admin", "--db-url=mysql://drupaltest:1234@localhost/drupaltest"], "delta": "0:00:00.195786", "end": "2017-05-11 00:12:07.375858", "failed": true, "rc": 255, "start": "2017-05-11 00:12:07.180072", "stderr": "PHP Fatal error:  Class Symfony\\Component\\Console\\Style\\SymfonyStyle contains 4 abstract methods and must therefore be declared abstract or implement the remaining methods (Symfony\\Component\\Console\\Output\\OutputInterface::isQuiet, Symfony\\Component\\Console\\Output\\OutputInterface::isVerbose, Symfony\\Component\\Console\\Output\\OutputInterface::isVeryVerbose, ...) in /var/www/drupal-8.2.x-dev/vendor/symfony/console/Style/SymfonyStyle.php on line 33\n [error]  Drush command terminated abnormally due to an unrecoverable error.\nError: Class Symfony\\Component\\Console\\Style\\SymfonyStyle contains 4 abstract methods and must therefore be declared abstract or implement the remaining methods (Symfony\\Component\\Console\\Output\\OutputInterface::isQuiet, Symfony\\Component\\Console\\Output\\OutputInterface::isVerbose, Symfony\\Component\\Console\\Output\\OutputInterface::isVeryVerbose, ...) in /var/www/drupal-8.2.x-dev/vendor/symfony/console/Style/SymfonyStyle.php, line 33 ", "stderr_lines": ["PHP Fatal error:  Class Symfony\\Component\\Console\\Style\\SymfonyStyle contains 4 abstract methods and must therefore be declared abstract or implement the remaining methods (Symfony\\Component\\Console\\Output\\OutputInterface::isQuiet, Symfony\\Component\\Console\\Output\\OutputInterface::isVerbose, Symfony\\Component\\Console\\Output\\OutputInterface::isVeryVerbose, ...) in /var/www/drupal-8.2.x-dev/vendor/symfony/console/Style/SymfonyStyle.php on line 33", " [error]  Drush command terminated abnormally due to an unrecoverable error.", "Error: Class Symfony\\Component\\Console\\Style\\SymfonyStyle contains 4 abstract methods and must therefore be declared abstract or implement the remaining methods (Symfony\\Component\\Console\\Output\\OutputInterface::isQuiet, Symfony\\Component\\Console\\Output\\OutputInterface::isVerbose, Symfony\\Component\\Console\\Output\\OutputInterface::isVeryVerbose, ...) in /var/www/drupal-8.2.x-dev/vendor/symfony/console/Style/SymfonyStyle.php, line 33 "], "stdout": "", "stdout_lines": []}

I know nothing about Drupal so I'm kind of useless at debugging this. I can tell you that changing drupal_core_version to other tags in the 8.2.x branch didn't help.

I also got an error in the "Install Drupal" task, but this seems different:
[error]  Command site-install needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command.

I have the same error as rschmidtz shows. Not a huge deal since I think the bigger point was to illustrate how deploying a drupal site could be launched via ansible. Since I'm not proficient in drupal I can only google on the error message and hope for the best.

Yeah, it's actually due to some changes that occurred in Drupal 8.3.x or Drush 8 in the past month. I'll get the examples updated as soon as I can!

Thanks. So far one of the best Ansible books I've read!
Sent from my iPad

On May 21, 2017, at 6:39 PM, Jeff Geerling<EMAIL_ADDRESS>wrote:
Yeah, it's actually due to some changes that occurred in Drupal 8.3.x or Drush 8 in the past month. I'll get the examples updated as soon as I can!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I'm testing this out locally, and hope to have an update this weekend to fix the problem. Thanks again for reporting/verifying!

I'm also working on reproducing the error in a Travis build (https://travis-ci.org/geerlingguy/ansible-for-devops/jobs/236568399); that way it won't sneak back into a bad state again!

Fixed! Thanks for reporting this; the problem was the master branch of Drush recently broke the way it worked with Drupal 8.2.x (which is an old release at this point anyways). So I switched the example to use Drush 8.x (instead of master), and Drupal 8.3.x (instead of 8.2.x). I'll get an update pushed out to the book downloads soon (with credits in the errata to those who've commented on this issue). Thanks again!

Thank you! I'm on the roles chapter where I believe the same objective is achieved, but using roles. I assume the fix will be extended to the roles based playbook.
Sent from my iPad

On May 26, 2017, at 8:51 PM, Jeff Geerling<EMAIL_ADDRESS>wrote:
Closed #56.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Soon, yes—I'm working through getting automated tests passing for all the examples over in https://github.com/geerlingguy/ansible-for-devops/issues/61 — hopefully I'll get the includes example fixed this weekend!


149 deprecate hawaii less

Do note that I've not seen a new module being added to this lerna thing before so I'm not sure if this is all the steps that are needed or not.

Coverage remained the same at 80.028% when pulling 28424f63b54735e2f7f4ed4f77be7c4a7762ac74 on ivarni:149-deprecate-hawaii-less into 431faa9c50f9dd8d1a905ff3a14a6dd0531e65e6 on SpareBank1:develop.

Do note that I've not seen a new module being added to this lerna thing before so I'm not sure if this is all the steps that are needed or not.

Since the component has no documentation relevant for Styleguidist I think this is all we need. Otherwise we'd need a config in sections.

OK, next question. Does the ffe-layout need a CHANGELOG.md file or is it generated if it doesn't exist?

Good question... I see Walters added a CHANGELOG.md with only a title when he introduced ffe-webfonts. I don't know honestly, but I guess it doesn't hurt to add it manually.

Next time it would be great if you could give that kind of feedback on the issue (#149) instead, so I don't have to do most of the work twice just to change a package-name :)


Store and restore the list position during onPause() and onResume().

This version store  the position of the talk and speaker lists when clicking on an item. The user retrieves its previous position when using back button.
Fix #7

Quick fix on merge mess: https://github.com/mixitconf/mixit-android/pull/8


parameter "type" is not validated

I have a swagger spec like below:
{
  ...
  "/somepath": {
    "get": {
      "parameters: [{
        "in": "query",
        "name": "path",
        "required": true,
        "type":"string"
      }]
     ...
}

and when I request with no path in query, validator does not return error.
Is it not supported yet?
I am using Swagger version 2.0.

Hi @emmasuzuki there's no support for query parameters validation at this point. The only thing that gets validated is request body - https://github.com/gargol/swagger-express-validator/blob/master/index.js#L205 . That would be actually a cool feature to implement in the future

I see, thanks.  I agree it would be nice to have that feature.


Add order keyword argument in Chain constructor functions

This PR resolves #46 by adding an order keyword argument that allows arbitrary order of the dimensions of the tensors, as long as all those arrays are in the same order.
Example
julia> using Qrochet

julia> mps = Chain(State(), Open(), [rand(3, 2), rand(3, 5, 2), rand(5, 2)]; order=(:l, :r, :o))
MPS (inputs=0, outputs=3)

julia> inds.(tensors(mps))
3-element Vector{Vector{Symbol}}:
 [:D, :A]
 [:D, :E, :B]
 [:E, :C]

@mofeing can we merge this?


Conditional use of "oneOf" instead of "anyOf" for particular z.union

First, thank you for the great library!
I went through all related issues and PRs about but did not find anything :)
I have a case where z.union() is used not for different object structures but for object vs string:
const t = z.union([
 z.string(),
 z.object({ prop1: z.string() }),
 ]);

That generates OpenAPI like this:
anyOf:
  - type: string
  - type: object
    properties:
      prop1:
        type: string
    required:
      - prop1

Which ends up as
export type T = Partial<string> & Partial<{ prop1: string }>;

And I understand that in some cases it makes sense, but when different data formats are compared I need oneOf instead.
So is there any "smart" way to alter OpenAPI generation? So far I see only post-processing OpenAPIObject as a way to conditionally alter this behaviour
Thanks in advance!

@M1r1k also hitting this, what did you mean by post-processing the OpenAPIObject?


[AutoPR] operationalinsights/resource-manager

Created to accumulate context: operationalinsights/resource-manager

(message created by the CI based on PR content)

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/operationalinsights/resource-manager/readme.md

Working on generating https://github.com/azure/azure-rest-api-specs/blob/master/specification/operationalinsights/resource-manager/readme.md for you!!!

Nothing to rebuild, this PR is up to date


Validate guides for 1.7 release.

Managed k8s

[x] EKS (@tklauser)
[x] GKE (@qmonnet)
[x] AKS (@tgraf)

Self-managed

[ ] Quick-install (@joestringer)
[ ] w/ managed etcd (@joestringer)
[x] w/ external etcd (@nebril)

Guides

[x] Kubernetes without kube-proxy (@gandro)
[ ] Using Cilium with BIRD (@brb)
[ ] Clustermesh on GKE (@raybejjani)
[ ] Transparent encryption (@pchaigno)
[ ] Kara containers

I validated, w/ external etcd, but would be nice to merge https://github.com/cilium/cilium/pull/10147

I successfully validated the GKE install. I had to work around the following items, mostly because of my lack of experience with GKE:

Creating a new project requires the user to have accepted Google Cloud terms and conditions beforehand, via the web platform.

To enable the GKE API for the project, billing must be enabled for that project (so I ended up reusing an existing project instead of a new one).

When deploying the connectivity test, 3 of the 10 pods (5 probes, 5 echo servers) failed to be scheduled because of insufficient CPU availability for that project. I could work around that by requesting lower CPU usage for the pods.

These bullet points are all related to Google Cloud, not Cilium itself, and are probably trivial to solve for people used to GKE. I do not consider that any change is required to Cilium install guide.

Validated "Kubernetes without kube-proxy" guide with kubeadm v1.17.2 on Linux 5.4. Minor docs improvement for DSR suggested here https://github.com/cilium/cilium/pull/10149

Succesfully validated Installation on AWS EKS. examples/kubernetes/connectivity-check.yaml wasn't available in master (which I used for testing). But it is in the v1.7 branch and will also be re-added to master by #10141.

Validated the quick-install and managed etcd guides using K8S=1 NWORKERS=1 contrib/vagrant/start.sh, disabling the systemd units, then applying the YAML / deploying via YAML. Used new connectivity-check YAML to confirm LB and policy works as expected.

Validated the kube-router guide (proposed fixes: https://github.com/cilium/cilium/pull/10159) instead of BIRD, as the latter requires creating a new getting start guide (created an issue for it https://github.com/cilium/cilium/issues/10160), and the former project seems to be alive (last change to the master was made 15 days ago).

Validated the Transparent Encryption guide using K8S=1 NWORKERS=1 contrib/vagrant/start.sh. Found 1 nit (#10162): we keep using --namespace cilium in the guide when most installation guides have deploy Cilium in kube-system