[BUG] hyperf DI startup error

Execute the command and paste the result below.
Command: uname -a && php -v && composer info | grep hyperf && php --ri swoole
Linux bdc89c11c4ab 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 GNU/Linux
PHP 7.4.13 (cli) (built: Dec 11 2020 08:39:16) ( ZTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
chadw/hyperf-database-sqlserver                v2.0.1                                     Add Sql Server support to Hyperf
hyperf/amqp                                    v2.1.6                                     A amqplib for hyperf.
hyperf/async-queue                             v2.1.0                                     A async queue component for hyperf.
hyperf/cache                                   v2.1.8                                     A cache component for hyperf.
hyperf/command                                 v2.1.0                                     Command for hyperf
hyperf/config                                  v2.1.0                                     An independent component that provides configuration container.
hyperf/config-apollo                           v2.1.0                                     An apollo adapter for Hyperf config component.
hyperf/consul                                  v2.1.0                                     A Consul Client for Hyperf.
hyperf/contract                                v2.1.3                                     The contracts of Hyperf.
hyperf/crontab                                 v2.1.0                                     A crontab component for Hyperf.
hyperf/database                                v2.1.8                                     A flexible database library.
hyperf/db-connection                           v2.1.3                                     A hyperf db connection handler for hyperf/database.
hyperf/devtool                                 v2.1.6                                     A Devtool for Hyperf.
hyperf/di                                      v2.1.5                                     A DI for Hyperf.
hyperf/dispatcher                              v2.1.6                                     A HTTP Server for Hyperf.
hyperf/engine                                  v1.1.0
hyperf/event                                   v2.1.0                                     an event manager that implements PSR-14.
hyperf/exception-handler                       v2.1.6                                     Exception handler for hyperf
hyperf/framework                               v2.1.1                                     A coroutine framework that focuses on hyperspeed and flexible, specifically use ...
hyperf/guzzle                                  v2.1.1                                     Swoole coroutine handler for guzzle
hyperf/http-message                            v2.1.1                                     microservice framework base on swoole
hyperf/http-server                             v2.1.8                                     A HTTP Server for Hyperf.
hyperf/json-rpc                                v2.1.7                                     A JSON RPC component for Hyperf RPC Server or Client.
hyperf/load-balancer                           v2.1.0                                     A load balancer library for Hyperf.
hyperf/logger                                  v2.1.0                                     A logger component for hyperf.
hyperf/memory                                  v2.1.0                                     An independent component that use to operate and manage memory.
hyperf/model-listener                          v2.1.0                                     A model listener for Hyperf.
hyperf/pool                                    v2.1.8                                     An independent universal connection pool component.
hyperf/process                                 v2.1.7                                     A process component for hyperf.
hyperf/redis                                   v2.1.3                                     A redis component for hyperf.
hyperf/rpc                                     v2.1.1                                     A rpc basic library for Hyperf.
hyperf/rpc-client                              v2.1.5                                     An abstract rpc server component for Hyperf.
hyperf/rpc-server                              v2.1.5                                     An abstract rpc server component for Hyperf.
hyperf/server                                  v2.1.0                                     A base server library for Hyperf.
hyperf/service-governance                      v2.1.0                                     A service governance component for Hyperf.
hyperf/task                                    v2.1.1                                     A task library for Hyperf.
hyperf/testing                                 v2.1.0                                     Testing for hyperf
hyperf/utils                                   v2.1.7                                     A tools package that could help developer solved the problem quickly.

swoole

Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 4.4.16
Built => Jan 13 2021 19:37:43
coroutine => enabled
epoll => enabled
eventfd => enabled
signalfd => enabled
cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
openssl => OpenSSL 1.1.1d  10 Sep 2019
zlib => 1.2.11
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
async_redis => enabled

Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608

Description:
I get the following error when I start the server.
 Fatal error: Uncaught RuntimeException: The class reflector object does not init yet in /app/vendor/hyperf/di/src/BetterReflectionManager.php:39
plan-rate-service-runner      | Stack trace:
plan-rate-service-runner      | #0 /app/vendor/hyperf/di/src/BetterReflectionManager.php(64): Hyperf\Di\BetterReflectionManager::getClassReflector()
plan-rate-service-runner      | #1 /app/vendor/hyperf/di/src/Aop/PropertyHandlerVisitor.php(90): Hyperf\Di\BetterReflectionManager::reflectClass('App\\RateOverrid...')
plan-rate-service-runner      | #2 /app/vendor/hyperf/di/src/Aop/PropertyHandlerVisitor.php(64): Hyperf\Di\Aop\PropertyHandlerVisitor->buildConstructor()
plan-rate-service-runner      | #3 /app/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php(230): Hyperf\Di\Aop\PropertyHandlerVisitor->leaveNode(Object(PhpParser\Node\Stmt\Class_))
plan-rate-service-runner      | #4 /app/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php(114): PhpParser\NodeTraverser->traverseArray(Array)
plan-rate-service-runner      | #5 /app/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php(223): PhpParser\NodeTraverser->traverseNode(Object(PhpParser\Node\Stmt\Namespace_))
plan-rate-service-runner      | #6 /app/vendor/nikic/php-parser/lib/PhpParser/NodeTraverser.php(91): PhpParser\NodeTra in /app/vendor/hyperf/di/src/BetterReflectionManager.php on line 39

If I clear out the runtime directory and rebuild all the proxies it works, but if I make a change to a proxied source the error happens again.

You can run composer dump-autoload -o to solve this problem.
Because when you open scan_cacheable, hyperf won't scan the php files.
But you were changed the php files, so it broken.

The latest swoole version is recommended
4.6.3 or 4.5.11


Add ssh options to perform backup on remote site with scp

Add the possibility to add ssh-options when call duplicity
--ssh-options "-oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no"

You can now add envionement variable called BACKUP_duplicity_options to pass SSH options on develop branch.
Please read the Readme on branch develop before test, because of there are so many breaking change compare to master branch.
BACKUP_duplicity_options=--ssh-options "-oUserKnownHostsFile=/dev/null -oStrictHostKeyChecking=no"


[CIT-378] collectd mapper documentation

Proposed changes

A tutorial to monitor a device
A howto to trouble shoot device monitoring
A short description of the topics used by collectd
Unrelated typo fixes (notably a broken link).
The link checker has been disabled because silently pruning the generation of some pages.

Types of changes
What types of changes does your code introduce to thin-edge.io?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactorings that doesn't explicitly fix a bug or add any new functionality)
[x] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have read the CONTRIBUTING doc
[ ] I have signed the CLA (in all commits with git commit -s)
[ ] I ran cargo fmt as mentioned in CODING_GUIDELINES
[ ] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

Codecov Report

Merging #274 (a1a27e2) into main (81526b0) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #274   +/-   ##
=======================================
  Coverage   65.61%   65.61%
=======================================
  Files          65       65
  Lines        3711     3711
=======================================
  Hits         2435     2435
  Misses       1276     1276

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 81526b0...a1a27e2. Read the comment docs.


Make a Mac version

Is this issue already covered? There is a Mac Installer on the PythonTurtle website.

We're also building a binary for macOS now. Hence, closing the issue.


fix typo - identifer to identifier

This PR fixes a typo across typescript, misspelling of the word 'identifier'. There are some generated files that still have this typo, but I was not able to find the gulp task to regenerate the files.

 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: postama sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Add listing for GemCity TECH - host for 8 monthly meetups in Dayton Ohio

GemCity TECH hosts 8 monthly meetings:

Code for Dayton
New to Tech
Dayton Web Developers
Dayton Dynamic Languages
Dayton .NET Developers
Gem City Game Developers
Frameworks (digital design)
Gem City Machine Learning

Thank you!

@AllenMay I expanded the entry a bit. Let me know if you're ok with it. :-)


[Fix](inverted index) remove IndexReader::indexExists, use fs interface

Proposed changes
Issue Number: close #xxx
IndexReader::indexExists in CLucene will use system fs interface to find out whether a directory is exists, which is dangerous when writing files into S3, use fs->exists instead.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

LGTM

run buildall


setup octree-handler problem

when I install the 3rdparty dependencies, I meet the problem:
deep-point-map-compression/submodules/octree_handler$ pip3 install -U .
the problem is:
/home/bianjiang/CVPR/deep-point-map-compression/submodules/octree-handler/src/OctreeHandler.cpp: In member function ‘Eigen::MatrixXf Octree::computeEigenvaluesNormal(const float&)’:
/home/bianjiang/CVPR/deep-point-map-compression/submodules/octree-handler/src/OctreeHandler.cpp:181:12: error: ‘cout’ is not a member of ‘std’
181 |       std::cout << "sing: " << singularv
|            ^~~~
/home/bianjiang/CVPR/deep-point-map-compression/submodules/octree-handler/src/OctreeHandler.cpp:9:1: note: ‘std::cout’ is defined in header ‘’; did you forget to ‘#include ’?
8 | #include <eigen3/Eigen/Dense>
+++ |+#include
9 | #include
make[2]: *** [src/CMakeFiles/octree_handler.dir/build.make:63：src/CMakeFiles/octree_handler.dir/OctreeHandler.cpp.o] error 1
make[1]: *** [CMakeFiles/Makefile2:94：src/CMakeFiles/octree_handler.dir/all] error 2
make: *** [Makefile:84：all] error 2
I solve this probelm by add #include <iostream> to
deep-point-map-compression/submodules/octree-handler/src/OctreeHandler.h
So if anyone meets the same problem, this method may work.

I get same problem.Have you solved it？

I add the iostream in .h file, or .cpp;
U can try, and I make it
Best wishes
发件人: @.*** @.> 代表 Pomato1999
发送时间: 2022年10月24日 16:57
收件人: PRBonn/deep-point-map-compression @.>
抄送: solider @.>; Author @.>
主题: Re: [PRBonn/deep-point-map-compression] setup octree-handler problem (Issue #6)
I get same problem.Have you solved it？
—
Reply to this email directly, view it on GitHub https://github.com/PRBonn/deep-point-map-compression/issues/6#issuecomment-1288679857 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKYRT7KU6O4X5WP3VTQKP3WEZFNXANCNFSM6AAAAAAQJKAI7I .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AHKYRT7SGITLCKH7LK33WZDWEZFNXA5CNFSM6AAAAAAQJKAI7KWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSMZ6Y3C.gif Message ID: @.*** @.***> >

#include
发件人: @.*** @.> 代表 Pomato1999
发送时间: 2022年10月24日 16:57
收件人: PRBonn/deep-point-map-compression @.>
抄送: solider @.>; Author @.>
主题: Re: [PRBonn/deep-point-map-compression] setup octree-handler problem (Issue #6)
I get same problem.Have you solved it？
—
Reply to this email directly, view it on GitHub https://github.com/PRBonn/deep-point-map-compression/issues/6#issuecomment-1288679857 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AHKYRT7KU6O4X5WP3VTQKP3WEZFNXANCNFSM6AAAAAAQJKAI7I .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AHKYRT7SGITLCKH7LK33WZDWEZFNXA5CNFSM6AAAAAAQJKAI7KWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSMZ6Y3C.gif Message ID: @.*** @.***> >


buildah images manpage needs help

The buildah-images man page lists --quiet, -q but doesn't state what that does.  Also there are no examples for format, filter and digest.  Format and Filter examples would be especially useful.  digest could be left off.

Closed with https://github.com/projectatomic/buildah/pull/233


Expand association table linkage to create and entry contexts

Related Issue in chaise: chaise-768.
Currently in contextualize.entryEdit, if the reference is actually an association related reference, we contextualize based on the association reference; rather than the current reference.
Since chaise is using contextualize.entryCreate instead, this PR will expand this behaviour to all the entry contexts (contextualize.entryEdit, contextualize.entryCreate, and contextualize.entry).

Looks good to me, merging now.


[5.6] [stdlib] Fix backwards count of Indic graphemes

When determining the grapheme boundaries of Indic sequences while walking backwards, there were some cases that were incorrectly being labeled as an Indic sequences.
For example, राज् is composed of:
[.linkingConsonant, .spacingMark, .linkingConsonant, .virama]
The rule defined by the CLDR here: https://github.com/unicode-org/cldr/tree/main/common/properties/segments
9.3) LinkingConsonant ExtCccZwj* Virama ExtCccZwj* × LinkingConsonant
was being incorrectly applied to the last two scalars when walking backwards, and as a result, the whole string was being counted as a singular grapheme instead of 2 (\u{930}\u{93e} and \u{91c}\u{94d})
We have to at least be in an Indic sequence already when we see (.linkingConsonant, .virama) while walking backwards to be able to resolve any sort of state.
Resolves: rdar://88893489 & rdar://88866287

@swift-ci please test

@swift-ci please clean test macOS


[iOS] Update project to support unit tests

Related Issue
Fixes #6030
Description

Adds unit tests files to the ios  AdaptiveCards project
Adds two sample tests to verify the tests are executed

TO DO: Update CI pipeline to run unit tests
How Verified
Tests were run
Microsoft Reviewers: Open in CodeFlow

@almedina-ms,
can you check this PR, https://github.com/microsoft/AdaptiveCards/pull/6044?
This should fix the compilation issue.


Update archived-device-list.md

@jaimeo @mertenar , please review these changes.

@rekhanr did you want this to go ahead and go live today?

Hold merge until 12/5 AM.


mesa: spin libgbm into a separate output

Description of changes
gbm.pc prefix still points at mesa's out. It also did that before though? Not sure we still need to change that.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

gbm.pc prefix still points at mesa's out. It also did that before though? Not sure we still need to change that.

I don't get what you mean.  On nixpkgs master we do have ${mesa.out}/lib/libgbm.so.

Actually... what should just splitting an output achieve?  Right now mesa.out is 2.4 MB and if we removed lib/*.a (which are likely not useful), we'd get to 0.4 MB.  I mean yes, libgbm is under 0.1 MB but that doesn't seem a really significant difference in this case.

There could be accidental dependencies on osmesa or libglapi that we probably don't want.

Well, I'm not sure why libgbm.so depends on python...

Yes, the goal here is to make it so other applications can't accidentally depend on those.

This will need some rethinking given that upstream doesn't guarantee any sort of compatibility between mesa versions w.r.t. libgbm.


Support Pihole-Exporter

https://github.com/eko/pihole-exporter

It looks like it already supports multi-arch, was there a specific architecture you wanted?
https://github.com/eko/pihole-exporter/releases

The image isn't multi arch, the author is confused

Yep, they're just compiling the binary for multi architecture but not the docker image itself, I'll get my PR merged in then so we've got that also completed.

You should call the docker image pihole-exporter not just pihole

I'll have that corrected in the next pull request unless you beat me too it.

I still don't have access to create branches :(


[Feature]: Automatically join a game after creating it

Feature Summary
When a player creates a new game from the Home page, we should immediately subscribe them to it and add them to the game
Detailed Description
Creating a game is done via in the frontend via the src/routes/home/components/CreateGameDialog.vue using the backend’s api/controllers/game/create action. Currently, the game is created but the requesting user is not put into the game or subscribed to its updates. We should revise this flow so the requesting user is automatically put into the game and brought to its lobby page.
We can accomplish this on the frontend by making the CreateGameDialog navigate to the lobby of the new game by capturing the game id from the response to the create game request and calling
this.$router.push(`/lobby/${gameId}`)

Closed by #1079


Reduce how much old WAL we keep around.

Previously we were keeping up to around 6 hours of WAL around by
removing 1/3 every hours. This was excessive, so switch to removing 2/3
which will up to around 3 hours of WAL around.
This will roughly halve the size of the WAL and halve startup time for
those who are I/O bound. This may increase the checkpoint size for
those with certain churn patterns, but by much less than we're saving
from the segments.
Signed-off-by: Brian Brazil<EMAIL_ADDRESS>

I presume because noone did the math to determine the steady state, I've read worked with this code many times but only noticed it when writing my next blog post.

Hi @brian-brazil
I have a question. What if the remote write is down for more than 3 hours? Is there a way to retain WAL data for longer duration and not loose data?


Installation error in Windows 10 (workaround)

The vsix file cannot be installed on systems using Windows 10. Installation fails because the required asp.net version is not installed. My guess was that Windows 10 comes with 4.6, not 4.5.
Workaround:
Since a vsix file is a zip file, you can rename the file to ,zip, extract it and remove the asp.net version under dependencies the extension.vsixmanifest. Re-zip the contents and install it. Works like a charm.

The VSIX has a dependency on .NET Framework Version="4.5".
Updating so that it depends on .NET Framework Version="[4.5-5.0)".
Testing...

Should be "[4.5,5.0)" actually.
Will ship 2.1.4 with that setting, and all should be ok (don't have W10 to test)


Allow TaskRun payloads other than IMAGE_URL

Prior to this commit, in the tekton backend, a payload or a signature
was considered valid only if the TaskRun status had IMAGE_URL in the
results. This is incorrect since Chains considers both, IMAGE_URL and
IMAGE_DIGEST as results of interest. Moreover, Chains considers
PipelineResources to indicate an output of interest as well.
This commit removes checking for IMAGE_URL in the TaskRun status to
validate payloads, instead relies solely on the presence of a payload
annotation on the TaskRun given that it's only added when Chains has
signed something (after validation anyway).

This PR is more of a question, TBH!
I am facing this in the CLI since Chains is being used as a library there.
Particularly this snippet:
https://github.com/tektoncd/cli/blob/947a78dadd7ea49787597a04ea94ce57f24238ec/pkg/cmd/chain/payload.go#L96-L104
I am testing tkn chain payload <taskrun> on the TaskRun that is being used in Chains' getting started tutorial. tkn is unable to find any payload on the TaskRun since it does not contain IMAGE_URL even though it does contain the correct payload annotation i.e. chains.tekton.dev/payload-taskrun-adc185bc-38cf-45f7-83f4-c751c39c4d8f.

I think @rgreinho might know a bit more about the CLI codebase and can weigh in here!

@priyawadhwa sure, thanks. However, do you think that this PR makes sense from a Chains point of view? As in, do you think that RetrievePayloads() and RetrieveSignatures() methods should look for only IMAGE_URL like it is the case today?

IMO this change makes sense because not every TaskRun produces an image.

/lgtm


AggregateHydrator's EventManager overwritten due to EventManagerAwareInterface

I have a Service Factory that creates an AggregateHydrator. I add my hydrators in the factory which in turn attaches events to the event manager. However, because the AggregateHydrator implements the EventManagerAwareInterface, the EventManager that contains all the events is replaced with the global EventManager and therefore renders my factory useless.
Is there a recommended way of doing this?

I didn't realize #40 already answers this.


[ITBL-6331] - Increase code coverage

Added UI tests etc.

Codecov Report

Merging #27 into master will increase coverage by 17.38%.
The diff coverage is 93.75%.

@@            Coverage Diff            @@
##           master    #27       +/-   ##
=========================================
+ Coverage   72.61%    90%   +17.38%
=========================================
  Files          25     25
  Lines        1070   1020       -50
=========================================
+ Hits          777    918      +141
+ Misses        293    102      -191

Impacted Files
Coverage Δ

swift-sdk/IterableAttributionInfo.swift
100% <ø> (+46.66%)
:arrow_up:

swift-sdk/IterableAction.swift
90.9% <ø> (+13.98%)
:arrow_up:

swift-sdk/IterableAPI.swift
98.41% <100%> (+47.7%)
:arrow_up:

...-sdk/Internal/IterableAppIntegrationInternal.swift
88.88% <100%> (+20.28%)
:arrow_up:

swift-sdk/Internal/IterableInAppManager.swift
96.77% <100%> (+3.22%)
:arrow_up:

swift-sdk/Internal/IterableAPIInternal.swift
89.06% <100%> (+16.01%)
:arrow_up:

...sdk/Internal/IterableInAppHTMLViewController.swift
92.45% <75%> (+51.5%)
:arrow_up:

swift-sdk/Internal/IterableLogging.swift
76% <0%> (+4%)
:arrow_up:

... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b113a6...f7dfee6. Read the comment docs.


"Required" status of sub fields in object and context fields

The notification examples show various usages of object and context, and it would be useful to know which fields are required and which are not.
All appearances of object and context contain an id and a type, so it seems likely they are required.  There are also fields which don't appear everywhere, but when they do are there any stipulated requirements for their content?
All appearances of context contain ietf:cite-as, so can we read that as required? Noting also that this always contains an item, and it would be useful to know the required properties of that.
It would be useful to introduce some of the MUST, MUST NOT, MAY, etc terminology to aid comprehension

This is now fixed in the development branch

Now deployed into production at https://coar-notify.net


Python Aura Example

@martin-neotech have applied all those changes hopefully.
We want to use the tags in Aura land as well, so I'll check back on what the actual tag name should be. Below is a test of the asciidoc code that I'm using to test how it'll look in Aura land when we pull in this example:
[source,python]
----
include::https://raw.githubusercontent.com/mneedham/neo4j-python-driver/aura/tests/integration/examples/test_aura_example.py[tag="aura-import"]

include::https://raw.githubusercontent.com/mneedham/neo4j-python-driver/aura/tests/integration/examples/test_aura_example.py[tag="aura"]
----

We'll update that to use the neo4j repository rather than my one before it's actually published.

@martin-neotech have applied all those changes hopefully.
We want to use the tags in Aura land as well, so I'll check back on what the actual tag name should be. Below is a test of the asciidoc code that I'm using to test how it'll look in Aura land when we pull in this example:
[source,python]
----
include::https://raw.githubusercontent.com/mneedham/neo4j-python-driver/aura/tests/integration/examples/test_aura_example.py[tag="aura-import"]

include::https://raw.githubusercontent.com/mneedham/neo4j-python-driver/aura/tests/integration/examples/test_aura_example.py[tag="aura"]
----

We'll update that to use the neo4j repository rather than my one before it's actually published.

Ok, the naming should maybe be something more generic then like test_driver_introduction_example.py and the tag "driver-introduction-example" ?


Carthage static library build failed

Carthage version 0.33.0
Cartfile:
github "RxSwiftCommunity/Action" "4.0.1"
github "ReactiveX/RxSwift" 5.0.1
Xcode Version 10.2.1
Build is failing with this error:
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -workspace .../Carthage/Checkouts/Action/Action.xcworkspace -scheme Action -configuration Release -derivedDataPath .../Library/Caches/org.carthage.CarthageKit/DerivedData/10.2.1_10E1001/Action/4.0.1 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/nf/9gnm1_9d5w54tcs77fg4k4nw0000gn/T/Action SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in .../Carthage/Checkouts/Action)
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/nf/9gnm1_9d5w54tcs77fg4k4nw0000gn/T/carthage-xcodebuild.Sma9HW.log
Build is failing when  I try to build the project as a static library
carthage update --platform iOS --no-build
sh ./carthage-build-static.sh --platform ios
// carthage-build-static.sh
#!/bin/sh -e

xcconfig=$(mktemp /tmp/static.xcconfig.XXXXXX)
trap 'rm -f "$xcconfig"' INT TERM HUP EXIT

echo "MACH_O_TYPE = staticlib" >> $xcconfig
echo "DEBUG_INFORMATION_FORMAT = dwarf" >> $xcconfig

export XCODE_XCCONFIG_FILE="$xcconfig"

carthage build --platform ios --no-use-binaries

@mauricekraus github "ReactiveX/RxSwift" 5.0.1 is for dynamic library builds. This library does not support Static builds at the moment. Please stick with Dynamic builds. You can find more info here You can do some attempt with RxSwift 5.0.0 but it's not advised.

Please Check the readme of RxSwift they do support static builds, nevertheless building RxSwift standalone as static library works perfectly fine


minSdkVersion needs to use root project value for React Native 64 compatibility

https://github.com/GetStream/flat-list-mvcp/blob/04a8339ada412e5876f3e3f87d81f297abb5ceb1/android/build.gradle#L32

fixed with  v0.10.3


How do I limit the length of the selected value?

I wanted to limit the number of selected, but I only found the Settings that limit the display

I want to alert and terminate it when I select 5 items, rather than just limit the number displayed.
Thank you

I've done it like this:
<treeselect  v-model="select_values" :options="fruits"   :multiple="true"  @input="handeTreeSelect">
methods: {
    handeTreeSelect(data) {
      if (data.length > 3) {
           this.select_values.length = 3
      }
    },
}


Bayesian calculator: simplify business case projection

To decrease complixity in the usage of the bayesian calculator, we'll hardcode the projection period for the business case to 183 days.

Added this with the implementation of the session state stored values.


systemd randomly starting oneshot timer services when activating

Issue description
So... this is an odd bug, to say the least.
When activating a configuration, systemd will start a oneshot service that has startAt set:
systemd.services.x = {
  serviceConfig = {
    Type = "oneshot";
    ExecStart = "...";
  };

  startAt = "daily";
};

Notably, the service is not changed in the configuration where it's started, as it's not switch-to-configuration doing the change (if it was, it'd log it). Additionally, it's the service being started, the timer isn't triggering it at all according to systemctl status x.timer.
systemd's debug logs only show the service being started, and nothing else of value with regards to why.
This has happened across systemd versions, and I first noticed it back in August of last year.
@dasJ has noticed the same thing, but is also very unsure as to why this is happening.
I'm opening this issue to signal that this is a thing, and will hopefully find more information at some point. Any help is appreciated.
Steps to reproduce

Make a oneshot service with startAt
Switch configurations a bunch

cc @NixOS/systemd

We need to pin down at what point in a configuration activation this is happening. My bets are on systemctl daemon-reload, but I've no clue how to verify that given all the uncertainty surrounding this bug :/

I went spelunking in the logs, and might have found what's up:
Apr 26 22:47:49 systemd[1]: inotify event for /etc/localtime
Apr 26 22:47:49 systemd[1]: Timezone has been changed (now: EDT).
Apr 26 22:47:49 systemd[1]: x.timer: Timezone change, recalculating next elapse.
Apr 26 22:47:49 systemd[1]: x.timer: Realtime timer elapses at Thu 2023-04-27 00:00:00 UTC.
Apr 26 22:47:49 systemd[1]: x.timer: Timer elapsed.

I didn't change my timezone, though. 🤔


Catastrophic cluster failure on v20160916.0

At 11:23 local time, our qa cluster melted down more or less completely, and never recovered.
Collecting debug info results in multiple EROR[09-24|22:15:34] error getting scheduler state err="object_not_found: no leader found" results.
This appears to have coincided with the ZFS pool reaching it's boundary (90% of disk, per an earlier recommendation). It may therefore be a duplicate of other bugs (in particular the "no image caching" and "no image garbage collection" issues), but its notable that it completely killed this cluster and resulted in a 6hr hard (user-facing) outage due to a coinciding issue (#3423) with standing up new clusters.

collect-debug-info hung on the third node, at the getting scheduler state step. Another half-gig tarball coming your way: https://bazaarvoice.box.com/s/jspheexzv05klr1m2gkhq16lp135z449

Sorry it has took a while to get back to you on this one.
Here is a description of what seems to have happened:
Discoverd on ip-10-100-37-16 was the leader at 16:17 UTC and begun marking all instances for expiry over a period of 85s from 16:17:58 to 16:19:23. Here is the breakdown per 10s period:
$ grep '2016-09-24T16.*marking instance for expiry' 5a54f058-5082-4206-acbc-fce888ad144e.log | grep -oP '2016-09-24T16:\d\d:\d' | uniq -c
   8 2016-09-24T16:17:5
  40 2016-09-24T16:18:0
  48 2016-09-24T16:18:1
  10 2016-09-24T16:18:2
  18 2016-09-24T16:18:3
   6 2016-09-24T16:18:4
   6 2016-09-24T16:19:0
   2 2016-09-24T16:19:1
   2 2016-09-24T16:19:2

So note that it wasn't a case of all services going down at once.
This seems to be an issue on the server side because there are no heartbeat errors in any of the logs in that same period, so my suspicion is that heartbeats were being received but the full disk somehow blocked the server from being able to process them.
@temujin9 do you know which of the hosts had a full disk? We can probably try and reproduce this by filling up a ZFS pool and seeing what happens.
/cc @josephglanville

@temujin9 by the way, we fixed flynn-host collect-debug-info blocking on collecting scheduler state in #3476.

Honestly, the catastrophic issue I've been having recently (which I tracked down to the AWS CLI, not your code) have completely eclipsed my memory of this incident. I do not remember which host was full, and it would be a lot of difficult work to determine at this remove.
I haven't had it reproduce lately, but I've also expanded all my disks in size, and been cycling every cluster fairly regularly.
Thanks for fixing the collect-debug-info again.

After reading the contents of this issue, I believe its related to the problem reported on  #4167


[Vue warn]: Failed to resolve component: strike

Vue version
3.2
Link to minimal reproduction
not have
Steps to reproduce
Usage a <strike> tag in the template, the runtime-core.esm-builder will throw warning
[Vue warn]: Failed to resolve component: strike

What is expected?
Not throw a warn because <strike> is a native html-tag
What is actually happening?
[Vue warn]: Failed to resolve component: strike
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.

System Info
No response
Any additional comments?
No response

@ruslankonev did u ever figure out what this was? I have the same error...


fix : '`' missing

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

@XXXXzzzz000 Thanks a lot for update!
I will add this PR to merge queue,

Cherry-picked as https://github.com/espressif/esp-idf/commit/9b2bce2c1726066f89406bd6e3530f7934ba265e, thanks for the PR!


Add command to show a function declaration

[ ] Show the unparsed form of a function declaration
[ ] Show the C version of a function declaration
[ ] Show the unparsed form of a prototype
[ ] Show the C version of a prototype

Subsumed in #57


Error with C++ signature of computeJointJacobians and framesForwardKinematics

pinocchio.framesForwardKinematics(self.robot_model, self.data, joint_positions)
ArgumentError: Python argument types in
pinocchio.libpinocchio_pywrap.framesForwardKinematics(Model, Data, numpy.ndarray)

did not match C++ signature:
framesForwardKinematics(pinocchio::ModelTpl<double, 0, pinocchio::JointCollectionDefaultTpl> Model, pinocchio::DataTpl<double, 0, pinocchio::JointCollectionDefaultTpl> {lvalue} Data, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1, 0, -1, 1> > Configuration q (size Model::nq))

I made sure the following:

self.robot_model is made from pinocchio.buildModelFromUrdf
self.data = self.robot_model.createData()
joint_position is np.array

My guess is, this error comes from different pinocchio version. I am working on Mac. I installed pinocchio from conda. If I'm trying to install pinocchio from brew, it installs for python3.8. I want to brew install for python3.7. Maybe that'll solve the problem. But I can't figure out how to do that. Could you please help.
Thanking in anticipation

@sumedh7 to solve your issue, we need a minimal Python script which reproduces your error. Could you provide it?
I guess your error is coming from the conversation from Numpy to Eigen.
Could you also provide the version of Pinocchio and EigenPy by using the flag version of the imported libs in Python.
In the meantime, please use Conda or Brew to install Pinocchio. Not both at the same time. Otherwise, it will be hard to track the error.

Please check with the following input:
q0 = pinoncchio.neutral(model)
pin.framesForwardKinematics(model,data,q0)

Hi, :
the code
pinocchio.computeJointJacobians(self.robot_model, self.data, joint_positions)   pinocchio.framesForwardKinematics(             self.robot_model, self.data, joint_positions)
I have 3 versions of pinocchio - 2.4.1 installed by brew and 2.1.8 and 2.3.1, installed by conda. (I was trying to install through various permutations).  EigenPy = 1.6.0 through conda forge. Which ones should I keep and are compatible?

Prefer conda to brew if you are using Python.
Uninstall the brew version and the two conda versions and redo a conda install pinocchio to get the latest updated versions. This should also update EigenPy to the latest 2.3.2 version which provides several fixes.

@sumedh7 feel free to reopen this issue if needed.


Godot 4 beta 4 : failed to execute an empty project on an iOS device

Godot version
v4.0.beta4.official [e6751549c]
System information
macOS Monterey v12.6 - Apple M1 Pro - XCode Version 14.1
Issue description
I built and ran a very simple Godot project (only a button on a canvas layer) on my iOS smartphone in debug mode.
The application launches but suddenly stops.
Note: I have no problem running an ios application with Godot 3.5.1 on my smartphone and the same problem occurs with Godot 4 beta 3....
This is what I have in XCode's output console:
2022-11-06 14:15:38.584630+0100 godot-test-mobile[19634:6045434] Metal GPU Frame Capture Enabled
2022-11-06 14:15:38.584975+0100 godot-test-mobile[19634:6045434] Metal API Validation Enabled
*********** main.m
running app main
Path: /var/containers/Bundle/Application/5774E3E0-4BC2-42DF-B254-758FC71BE97B/godot-test-mobile.app
godot_ios /var/containers/Bundle/Application/5774E3E0-4BC2-42DF-B254-758FC71BE97B/godot-test-mobile.app/godot-test-mobile
cwd /private/var/containers/Bundle/Application/5774E3E0-4BC2-42DF-B254-758FC71BE97B/godot-test-mobile.app
os created
2022-11-06 14:15:39.753601+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!configured" is true.
2022-11-06 14:15:39.753625+0100 godot-test-mobile[19634:6045434]    at: StringName (core/string/string_name.cpp:327)
USER ERROR: Condition "!configured" is true.
   at: StringName (core/string/string_name.cpp:327)
2022-11-06 14:15:39.753640+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!configured" is true.
2022-11-06 14:15:39.753650+0100 godot-test-mobile[19634:6045434]    at: unref (core/string/string_name.cpp:122)
USER ERROR: Condition "!configured" is true.
   at: unref (core/string/string_name.cpp:122)
2022-11-06 14:15:39.753671+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!configured" is true.
2022-11-06 14:15:39.753680+0100 godot-test-mobile[19634:6045434]    at: StringName (core/string/string_name.cpp:327)
USER ERROR: Condition "!configured" is true.
   at: StringName (core/string/string_name.cpp:327)
2022-11-06 14:15:39.753691+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!configured" is true.
2022-11-06 14:15:39.753709+0100 godot-test-mobile[19634:6045434]    at: StringName (core/string/string_name.cpp:327)
USER ERROR: Condition "!configured" is true.
   at: StringName (core/string/string_name.cpp:327)
2022-11-06 14:15:39.753770+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!configured" is true.
2022-11-06 14:15:39.753851+0100 godot-test-mobile[19634:6045434]    at: StringName (core/string/string_name.cpp:193)
USER ERROR: Condition "!configured" is true.
   at: StringName (core/string/string_name.cpp:193)
2022-11-06 14:15:39.753937+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!configured" is true.
2022-11-06 14:15:39.754002+0100 godot-test-mobile[19634:6045434]    at: StringName (core/string/string_name.cpp:193)
USER ERROR: Condition "!configured" is true.
   at: StringName (core/string/string_name.cpp:193)
2022-11-06 14:15:39.754069+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!configured" is true.
2022-11-06 14:15:39.754108+0100 godot-test-mobile[19634:6045434]    at: StringName (core/string/string_name.cpp:193)
USER ERROR: Condition "!configured" is true.
   at: StringName (core/string/string_name.cpp:193)
2022-11-06 14:15:39.754179+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!configured" is true.
2022-11-06 14:15:39.754242+0100 godot-test-mobile[19634:6045434]    at: StringName (core/string/string_name.cpp:193)
USER ERROR: Condition "!configured" is true.
   at: StringName (core/string/string_name.cpp:193)
2022-11-06 14:15:39.754295+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!configured" is true.
2022-11-06 14:15:39.754334+0100 godot-test-mobile[19634:6045434]    at: StringName (core/string/string_name.cpp:193)
USER ERROR: Condition "!configured" is true.
   at: StringName (core/string/string_name.cpp:193)
2022-11-06 14:15:39.754398+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!configured" is true.
2022-11-06 14:15:39.754439+0100 godot-test-mobile[19634:6045434]    at: StringName (core/string/string_name.cpp:193)
USER ERROR: Condition "!configured" is true.
   at: StringName (core/string/string_name.cpp:193)
2022-11-06 14:15:39.754491+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!configured" is true.
2022-11-06 14:15:39.754538+0100 godot-test-mobile[19634:6045434]    at: unref (core/string/string_name.cpp:122)
USER ERROR: Condition "!configured" is true.
   at: unref (core/string/string_name.cpp:122)
2022-11-06 14:15:39.754581+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!configured" is true.
2022-11-06 14:15:39.754618+0100 godot-test-mobile[19634:6045434]    at: unref (core/string/string_name.cpp:122)
USER ERROR: Condition "!configured" is true.
   at: unref (core/string/string_name.cpp:122)
2022-11-06 14:15:39.754685+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!configured" is true.
2022-11-06 14:15:39.754743+0100 godot-test-mobile[19634:6045434]    at: unref (core/string/string_name.cpp:122)
USER ERROR: Condition "!configured" is true.
   at: unref (core/string/string_name.cpp:122)
...
...
   at: _add_class2 (core/object/class_db.cpp:402)
2022-11-06 14:15:42.417551+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!classes.has(ti.inherits)" is true.
2022-11-06 14:15:42.417559+0100 godot-test-mobile[19634:6045434]    at: _add_class2 (core/object/class_db.cpp:402)
USER ERROR: Condition "!classes.has(ti.inherits)" is true.
   at: _add_class2 (core/object/class_db.cpp:402)
2022-11-06 14:15:42.417582+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!classes.has(ti.inherits)" is true.
2022-11-06 14:15:42.417591+0100 godot-test-mobile[19634:6045434]    at: _add_class2 (core/object/class_db.cpp:402)
USER ERROR: Condition "!classes.has(ti.inherits)" is true.
   at: _add_class2 (core/object/class_db.cpp:402)
2022-11-06 14:15:42.417603+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!classes.has(ti.inherits)" is true.
2022-11-06 14:15:42.417614+0100 godot-test-mobile[19634:6045434]    at: _add_class2 (core/object/class_db.cpp:402)
USER ERROR: Condition "!classes.has(ti.inherits)" is true.
   at: _add_class2 (core/object/class_db.cpp:402)
2022-11-06 14:15:42.417628+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!classes.has(ti.inherits)" is true.
2022-11-06 14:15:42.417635+0100 godot-test-mobile[19634:6045434]    at: _add_class2 (core/object/class_db.cpp:402)
USER ERROR: Condition "!classes.has(ti.inherits)" is true.
   at: _add_class2 (core/object/class_db.cpp:402)
2022-11-06 14:15:42.417648+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!classes.has(ti.inherits)" is true.
2022-11-06 14:15:42.417655+0100 godot-test-mobile[19634:6045434]    at: _add_class2 (core/object/class_db.cpp:402)
USER ERROR: Condition "!classes.has(ti.inherits)" is true.
   at: _add_class2 (core/object/class_db.cpp:402)
2022-11-06 14:15:42.417667+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!classes.has(ti.inherits)" is true.
2022-11-06 14:15:42.417675+0100 godot-test-mobile[19634:6045434]    at: _add_class2 (core/object/class_db.cpp:402)
USER ERROR: Condition "!classes.has(ti.inherits)" is true.
   at: _add_class2 (core/object/class_db.cpp:402)
2022-11-06 14:15:42.417697+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!classes.has(ti.inherits)" is true.
2022-11-06 14:15:42.417707+0100 godot-test-mobile[19634:6045434]    at: _add_class2 (core/object/class_db.cpp:402)
USER ERROR: Condition "!classes.has(ti.inherits)" is true.
   at: _add_class2 (core/object/class_db.cpp:402)
2022-11-06 14:15:42.420994+0100 godot-test-mobile[19634:6045434] USER ERROR: Condition "!classes.has(ti.inherits)" is true.
2022-11-06 14:15:42.421012+0100 godot-test-mobile[19634:6045434]    at: _add_class2 (core/object/class_db.cpp:402)
USER ERROR: Condition "!classes.has(ti.inherits)" is true.
   at: _add_class2 (core/object/class_db.cpp:402)
(lldb)

Steps to reproduce

Create a simple Godot project with only a button
Add iOS template
Export the project
Open the generated XCode project
Under XCode, sign your project with your personal apple team id (automatically manage signing checkbox have been enabled)
Build & run on your iOS device connected with a USB cable

Minimal reproduction project
No response

Sorry the simple example launches "well" finally: I'm not blocked from using it if I launch outside XCode.  I can see my simple button. There are just the messages in XCode's console that tricked me (I still find them weird) . So it's not really blocking me...


(Chore) buttons animation for master

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
About #1236
How Has This Been Tested?
Please check animations in send/receive/claim/save profile flow
Checklist:

[x] PR title matches follow: (Feature|Bug|Chore) Task Name
[x] My code follows the style guidelines of this project
[x] I have followed all the instructions described in the initial task (check Definitions of Done)
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have added reference to a related issue in the repository
[x] I have added a detailed description of the changes proposed in the pull request. I am as descriptive as possible, assisting reviewers as much as possible.
[ ] I have added screenshots related to my pull request ( for frontend tasks)
[ ] I have pasted a gif showing the feature.
[x] @mentions of the person or team responsible for reviewing proposed changes


Is there a way to make a diferent opening for a specific song?

What is your question?
So, is  there a way to change the "opening" (Ready, Set, Go) for a specific song?
and also, is it possible to change the audio for it?

#9578

#9578

k thanks


Shortcut method for creating response from a string

Creating a response object from a string of HTML (etc.) seems to be a very common use-case, so we might as well make it very easy (without having to handle streams).
$voila = Response::fromString($html)

I always wonder, should convenience method like proposed one be a part of main object, or is it better to create factory class?

I don't think there's a need for a factory class here - this is a factory method and the whole point is to make instantiation easier. I don't think a factory class would serve that purpose. ;)

@franzliedke I do not want this on the response object, as it's ambiguous: does the method expect an entire response string (including status line and headers), or just the body? From the name, it's unclear.
Additionally, it violates SRP; the message is a value object; what you're proposing is a builder.
(This is also the reason why the methods that can de/serialize entire message are in separate classes.) Create a factory, or an extension class:
namespace Zend\Diactoros\Response;

use Zend\Diactoros\Response;

class HtmlResponse extends Response
{
    public function __construct($html)
    {
        $this->body = new Stream();
        $this->body->write($html);
    }
}

Or similar. (This may require that we make a property or two protected instead of private, however.)
Alternately, a factory, as you suggested, would also be reasonable. But not a static factory method on the message itself.

It's just an alternate constructor for the one use case that I encountered most often when using this library. A factory class would destroy any ease of use that this PR aims to introduce.

I agree that the naming could be improved (any suggestions?), but I'd argue, or rather let Mathias Verraes argue, that named constructor methods are totally sensible when used in a use-case-driven way.

No, it wouldn't.
use Zend\Diactoros\Response\HtmlResponse;

// constructor version:
$response = new HtmlResponse($html);

// factory approach:
$response = HtmlResponse:: fromHtml($html);

For the consumer, it replaces the import statement they'd otherwise use for importing the response class, and remains a single call.
It's also semantically more clear, as the class name and/or factory indicates that html is expected.
In both cases, you have a PSR -7 response instance in the end.
Choose which syntax you prefer, update the PR, and I'll review.

Oh, you want the extension class as part of this package? In that case, I'm all in. ;)
Sorry, I thought you were suggesting I should add my own subclass whenever consuming this package.

Okay, I created a subclass now. Please check it out. :)

Creating another response class to create a stream from a string makes little sense. There's nothing different about the behavior of the HtmlResponse. Also why HTML? There's a lot of other content types that you might want to send, such as JSON.
I think what you're really looking for is a StreamInterface object that can be constructed from directly from a string.
class MemoryStream extends Stream
{
    public function __construct($contents)
    {
        parent::__construct('php://memory', 'w+');
        $this->write($contents);
    }
}

This stream could be used when creating a Response object:
$response = new Response(new MemoryStream($contents));

    HTTP/1.1 200 OK
    Date: Mon, 19 Jul 2004 16:18:20 GMT
    Server: Apache
    Last-Modified: Sat, 10 Jul 2004 17:29:19 GMT
    ETag: "1d0325-2470-40f0276f"
    Accept-Ranges: bytes
    Content-Length: 9328
    Connection: close
    Content-Type: text/html

    <HTML>
    <HEAD>
    ... the rest of the home page...

This is an example of string response.. IMO..
Maybe we can find to write a factory to creare response from this draft.. But I don't know if it's a good approach.

@trowski No, I don't want to create a stream to instantiate a response from a simple string.
I personally agree that there's no need for a subclass, since as you mention there's no different behaviour. But that's what @weierophinney wanted, so I'm going with it. :)
I agree that HtmlResponse is not perfect - any suggestions? What about StringResponse?

What about separate factory class then? I think that using inheritance to provide different way of creating object is not good OOP practice, as after instantiation process you end up with the very same class.
Separate factory class can also be used to create different convenience methods, for different use cases.

here other solution ;D
new Zend\Diactoros\Response("data://text/html,Hello world")

I posted a comment on a line that then became outdated, and now we're losing some comments in the UI, so..
I commented that since this was listed as an HtmlResponse, perhaps the Content-Type header should have a default:
$hasContentType = array_reduce(array_keys($headers), function ($carry, $item) {
    return $carry ?: (strtolower($item) === 'content-type');
}, false);

if (! $hasContentType) {
    $headers['content-type'] = ['text/html']; // or application/xhtml+xml
}

parent::__construct('php://temp', $status, $headers);

To which @franzliedke replied:

I don't want this to be a HTML response, though, just a StringResponse. We could, of course, add helpers for the most commonly used ones. Something like Response::html() and Response::json() would come to mind.

This sounds to me like we likely want a factory, that has some common logic. Here's a take on that:
namespace Zend\Diactoros\Response;

use Zend\Diactoros\Response;
use Zend\Diactoros\Stream;

final class StringResponse
{
    /**
     * Do not allow instantiation
     */
    private function __construct()
    {
    }

    public static function html($html, $status = 200, array $headers = [])
    {
        return self::createResponse($html, 'text/html', $status, $headers);
    }

    public static function json($jsonOrData, $status = 200, array $headers = [])
    {
        if (! is_string($jsonOrData)) {
            $jsonOrData = json_encode($jsonOrData, JSON_UNESCAPED_SLASHES);
        }
        return self::createResponse($jsonOrData, 'application/json', $status, $headers);
    }

    private function createResponse($text, $type, $status, $headers)
    {
        $hasContentType = array_reduce(array_keys($headers), function ($carry, $item) {
            return $carry ?: (strtolower($item) === 'content-type');
        }, false);

        if (! $hasContentType) {
            $headers['content-type'] = [$type];
        }

        $body = new Stream();
        $body->write($text);

        return new Response($body, $status, $headers);
    }
}

Usage would be:
use Zend\Diactoros\Response\StringResponse;

// HTML
$response = StringResponse::html($html);
$response = StringResponse::html($html, 200, ['content-type' => ['application/xhtml+xml']]);

// JSON
$response = StringResponse::json($json);
$response = StringResponse::json($objectToRepresentAsJson);

Thoughts?

I like where this is going. I'll have a go at this later tonight.

@weierophinney Okay, I integrated your proposal. We have a StringResponse factory now, with helpers for HTML and JSON.

@weierophinney

Whoops, sorry.

Merged to develop for release with 1.1. Thanks, @franzliedke !


Convert basic tab to pug

Extract advantages into a reusable area.
Refactor and convert basicTab.html to pug

@johnlamping - This is ready to review.

@johnlamping - This is ready to review.


How can I cad comment box in checkout form.

Hi,
How can I add comment box on checkout page so that customer can add comment for every order he/she place. And want to show the comment on admin panel sales dashboard so that admin can check comment for every order.
Thanks in advance.

Hi @akshaypitale
First of all, you need to override view file to add comment field, follow the given link for same - https://forums.bagisto.com/topic/221/how-to-override-view-file-in-bagisto/2
Add a 'comment' column in the addresses table and override this table to add fillable value.
The second way is to create a new table for the same, override view files and create the same name route for save address (LIke Shop ) which calls your packages controller and insert value in the newly created table along with save address functionality.

Thanks for the help.

Hi @akshaypitale
First of all, you need to override view file to add comment field, follow the given link for same - https://forums.bagisto.com/topic/221/how-to-override-view-file-in-bagisto/2
Add a 'comment' column in the addresses table and override this table to add fillable value.
The second way is to create a new table for the same, override view files and create the same name route for save address (LIke Shop ) which calls your packages controller and insert value in the newly created table along with save address functionality.

Thanks for the help.


[WIP] Implemented Network Events tests

closes #39

Looking good @Meir017. What's the status?

can't figure out why the test PageEventsRequestFailed is failing

One letter @Meir017  https://github.com/kblok/puppeteer-sharp/commit/b0bf547f834091899b8e2baf70b3c6bf59cc4bc4 :)

I would never have thought of looking there... 😌

@Meir017 Finding this wasn't fun at all https://github.com/kblok/puppeteer-sharp/pull/181/commits/1f31803b1b3b941964b8766187a286934b540c52
This shouldn't be WIP anymore right?


UserManager.SetUserNameAsync should run the validators before setting the username

The method UserManager.SetUserNameAsync is supposed to set the username and is more of an direct POCO manipulation operation. Since it is being done through UserManager methods, I feel that this should run the validators before setting the username. This would differentiate it with doing the same via DbContext.

This is done when UpdateUserAsync is called.


Python3 compatibility changes

Running with python3 the luxafor-linux.py gave an invalid syntax error.

Looks like a minor edit... but I want to ensure it still runs in Python 2. I'll have to review this later and confirm it works in Python 2 as well.
Thanks for contributing!

Python 2 is pass now see here ! Maybe time to merge that PR. Don't you think ?

@AlexandreHagen Feel free to fork it and update it yourself. I won't be updating this repo until I get a chance to test it, and it's obviously not a high priority and hasn't been for over a year and a half.


Can the sentry-sdk dependency be bumped up tp 2.x?

Hi,
while packaging this for openSUSE (as a depedency for gefyra) I noticed that the sentry-sdk dependency cannot be met.
https://github.com/unikubehq/cli_tracker/blob/cc34cb393a168684fe605d871e46898fe31e0317/pyproject.toml#L10
sentry-sdk = "^1.5.12"

If I understand this correctly, it would be fine to use one of the 1.x versions, but none of the 2.x ones. Unfortunately Tumbleweed is already on sentry-sdk 2.13.0 (and upstream has released 2.15.0 already).
Could someone have a look at this dependency, if there are any problems with bumping this to 2.x?
Kind Regards,
Johannes

Robert, you got me confused. My question was mainly about the dependency in the cli_tracker repository, so I am not sure what you mean regarding the "main repo"?
I can of course create a PR that just bumps the version dependency in the pyproject.toml, but other than that I am too unfamiliar with Python and sentry-sdk to adapt the code, where necessary. So I am not sure my PR would be of great help...


Exception when running Migrations, cannot find sqlite3

Hi,
I am attempting to run the following command:
dotnet ef migrations add MyMigrationsName

Exception message: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: Unable to load DLL 'sqlite3': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Stack trace:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: Unable to load DLL 'sqlite3': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at Microsoft.Data.Sqlite.Interop.NativeMethods.Sqlite3_sqlite3.sqlite3_open_v2(IntPtr filename, Sqlite3Handle& ppDb, Int32 flags, IntPtr vfs)
   at Microsoft.Data.Sqlite.Interop.NativeMethods.sqlite3_open_v2(String filename, Sqlite3Handle& ppDb, Int32 flags, String vfs)
   at Microsoft.Data.Sqlite.SqliteConnection.Open()
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open()
   at Microsoft.EntityFrameworkCore.Storage.Internal.SqliteRelationalConnection.Open()
   at Microsoft.EntityFrameworkCore.Storage.Internal.SqliteDatabaseCreator.Exists()
   at Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreator.EnsureCreated()
   at Ombi.Store.Context.OmbiContext..ctor() in C:\Users\Jamie\Source\Repos\Ombi\Ombi\Ombi.Store\Context\OmbiContext.cs:line 15
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.<>c__DisplayClass12_3.<FindContextTypes>b__13()
   at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(Func`1 factory)
   at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(String contextType)
   at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.AddMigration(String name, String outputDir, String contextType)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigrationImpl(String name, String outputDir, String contextType)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.<Execute>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
Exception has been thrown by the target of an invocation.

Steps to reproduce
You can find this using this project:
https://github.com/tidusjar/Ombi/tree/DotNetCore/Ombi/Ombi.Store
preform a dotnet restore and then dotnet build then run the command I listed above.
Further technical details
EF Core version: 1.1.1
Database Provider: Microsoft.EntityFrameworkCore.Sqlite
Operating system: Windows 10
IDE: Visual Studio 2015
dotnet info:
.NET Command Line Tools (1.0.3)

Product Information:
 Version:            1.0.3
 Commit SHA-1 hash:  37224c9917

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.15063
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\1.0.3

See the .NET Standard Limitations section of the documentation for details on why this is happening and possible workarounds.

Closing this as a known limitation when using a .NET Standard class library. As Brice says, workarounds are in the docs.


#538 introduces bug when processing single file

Describe the bug
See these posts on the google group (one, two).
The error Error in makePSOCKcluster(names = spec, ...) :  numeric 'names' must be >= 1 is because of the revision in #538, where if you are processing a single file you are trying to create a cluster of size 1.
https://github.com/wadpac/GGIR/blob/ad8b919d6cee56209884a2b537fb0b5795eb3679/R/g.part2.R#L208-L211
(f1 - f0) +1 = 1
To resolve, don't use parallel processing if Ncores2use == 1.
if (length(params_general[["maxNcores"]]) == 0) params_general[["maxNcores"]] = Ncores
Ncores2use = min(c(Ncores - 1, params_general[["maxNcores"]], (f1 - f0) + 1))
if (Ncores2use > 1){
    cl <- parallel::makeCluster(Ncores2use) #not to overload your computer
    doParallel::registerDoParallel(cl)
    } else {
        params_general[["do.parallel"]] = FALSE
    }

I can make this change if you want.

Good idea, if you could make a PR then yes please.
I am aiming to upload a new GGIR release to CRAN at the end of next week. So, if you could do it before then that would be great.


A couple minor issues i noticed

There's no icon - should probably use the G in a circle.
The title says "rg3d" twice in a row - might be better to spell out "Rust Game engine 3D" in full once
Logo uses a different font: https://i.imgur.com/GLacZ6z.png - I probably don't have the font from the SVG installed so it falls back to this i guess?
The repository has no description
README should mention that it's made with Jekyll in case there's anyone willing and able to improve the website ;)
Might wanna split the feature list into categories such as Rendering, Editor, Etc, so it looks more organized. Later, there should be screenshots and links where applicable.
How do you feel about promoting that it doesn't require ECS as a feature? I think it's one of the few rust engines that doesn't force you to use one and i see this as a huge benefit since i am not a fan of ECS.

I'm planning to work on this


calico 3.1.3 issues bootstrapping

Expected Behavior

Current Behavior

Unable to bootstrap cluster, seeing errors in the logs
Jul 04 17:23:20 ip-10-12-175-71 kubelet-wrapper[5951]: 2018-07-04 17:23:20.607 [INFO][12633] customresource.go 217: Error getting resource Key=ClusterInformation(default) Name="default" Resource="ClusterInformations" Revision="" error=Get https://[<IP_ADDRESS>]:443/apis/crd.projectcalico.org/v1/clusterinformations/default: unexpected EOF

Possible Solution

I'm not sure if this is the problem, but there are square brackets around KUBERNETES_SERVICE_HOST which is causing the kubeconfig to be generated like:
apiVersion: v1
kind: Config
clusters:
- name: local
  cluster:
    server: https://[<IP_ADDRESS>]:443

https://github.com/projectcalico/cni-plugin/commit/48325abb1f7dc4c529533352591294964eeab933#diff-282edec51ec64b45bd3e29ddced5e78fR125
Steps to Reproduce (for bugs)

Context

Bootstrapping a new cluster using bootkube and Calico
Your Environment

Calico version 3.1.3
Orchestrator version (e.g. kubernetes, mesos, rkt): kubernetes
Operating System and version: Container Linux by CoreOS 1745.7.0 (Rhyolite)
Link to your project (optional):

Please check that calico-node has started and is running without error.  That cluster information should be populated when it starts up.

we have decided to go a different direction, closing


⚠ Bofrost.es has degraded performance

In 8718d6e, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1944 ms

Resolved: Bofrost.es performance has improved in 5626a0b after 8 minutes.


Fix #959 : Simplify LoggingService code

Description

This pull request simplifies the LoggingService code by removing redundant text from log category labels, resolving #959
Related Issue

#959
Motivation and Context

This change is required to make the LoggingService code more in line with Xcode 15's improvements in log handling.
How Has This Been Tested?

I have tested these changes in a local development environment with Xcode 15. I verified that log messages are still categorised correctly based on their log level.
Screenshots (if appropriate):
Types of changes

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

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@adityagi02 Thank you so much for this contribution. We will merge this once Xcode 15 is the required Xcode version for customers. We are currently supporting Xcode 14 as our development version of Xcode as it is the base required version for app store submissions.


Thanks, without seeing the associated server debug logs for the specific request that times out I'm not able to progress this issue.


Change trace point value precision to be dynamic based on graph scale

Fixes #998
Description of the changes:
Change trace point value to be dynamic based on display range
How changes were validated:
Manual tests

Great job, but let's make sure to document enough so contributors can have a better understanding of our code

Great job, but let's make sure to document enough so contributors can have a better understanding of our code

Fixed!


Integrate in Raspiblitz

This is tracked here:
https://github.com/rootzoll/raspiblitz/pull/2415

Make it onion friendly . Let's track what was said there and close this one #53


feature: mine sentences

add the sentence from yomichan to the custom sentence field
bug: probably still fails if jpdb doesn't think the sentence contains the word. have to implement a hack for this (add the spelling jpdb wants at the end in parens, optionally only if the sentence alone can't be added successfully) until we get around to the "correct" solution involving using jpdb's parser to pick the spelling and so on. this can also be worked around from within yomichan itself, by setting the value of the sentence field to {sentence} ({expression})

I am trying this right now. Looks good 👍
I haven't added a license so far 😅 would you be alright with MIT?

yeah mit is fine


MAC Address always returns 02:00:00:00:00:00; Serial Number not valid as well

Hi, I am using the latest version of your package and encounter the following issues:

MAC Address always returns a wrong address
Serial Number is not valid, means I cannot find the result in the "About Device" Settings

Probably this PR is related (not tested/verified though): https://github.com/rebeccahughes/react-native-device-info/pull/150
I've read the following on stackoverflow:

(...) To provide users with greater data protection, starting in this release, Android removes programmatic access to the device’s local hardware identifier for apps using the Wi-Fi and Bluetooth APIs. The WifiInfo.getMacAddress() and the BluetoothAdapter.getAddress() methods now return a constant value of 02:00:00:00:00:00. (...)

Could this help somehow? ==>  https://stackoverflow.com/questions/44613285/how-do-i-get-local-mac-address-of-my-mobiles-own-bluetooth-in-react-native
Does anyone encounter these issues as well? Thanks for your help.

getMACAddress() was fixed in 0.17.4
As for the serial, we're using Build.SERIAL that seems to work well on my OnePlus 5T (don't mind the mac address in the screenshot):

Test
Settings

Could you please re-open a new issue for the serial problem, providing more information?

Hi @machour, I will test it (as soon as I can) and re-open it if needed. Thanks for your help.


Invariance to node permutation?

Hello,
I'm playing around with the code in a Jupyter notebook and wasn't sure about the following result when I consider permuting the node indices of a simple graph. I expected that when I permute the node indices (ie. to isomorphic graphs) then I will get the same P-WL-C representation - but I'm not.
My code (after the necessary imports) is below and hopefully I permuted the graphs correctly (worth verifying first or my question is moot!).
Thanks so much for clarifying if you can.
Scott
# Quick double check to make sure that results are invariant

pwl = PersistentWeisfeilerLehman(
            use_cycle_persistence=True,
            use_original_features=False,
            use_label_persistence=True,
            store_persistence_diagrams=True,
            metric='minkowski',
            p=1,
            smooth=False)

# Graph taken from Figure 2 of Shervashidze, 2011
graph1 = ig.Graph([(0,2),(1,2),(2,3),(2,4),(3,4),(3,5),(4,5)])
graph1.vs['label'] = [1,1,4,3,5,2]

# Permute the same graph for different node ordering
# (0 5)(1 4)(2 3)
graph2 = ig.Graph([(0,1),(0,2),(1,2),(1,3),(2,3),(3,4),(3,5)])
graph2.vs['label'] = [2,5,3,4,1,1]

# Permute again for a third graph: (2 3)
graph3 = ig.Graph([(0,3),(1,3),(2,3),(2,4),(2,5),(3,4),(4,5)])
graph3.vs['label'] = [1,1,3,4,5,2]

graphs = [graph1,graph2,graph3]

pwl.transform(graphs, 1)

Output:
(array([[ 4.,  2.,  2.,  2.,  2.,  0.,  0.,  2.,  4.,  2., 14.,  7.,  4.,
          5.,  7.,  0.,  7.,  0., 12.,  5.],
        [ 4.,  2.,  2.,  2.,  2.,  0.,  2.,  4.,  2.,  0., 14.,  7.,  7.,
          4.,  5.,  0.,  7., 12.,  0.,  5.],
        [ 4.,  2.,  2.,  2.,  2.,  0.,  2.,  0.,  4.,  2., 14.,  7.,  4.,
          5.,  7.,  0.,  7.,  0., 12.,  5.]]), {0: 10, 1: 10})

Dear Scott,
thanks for reaching out! We will definitely check this as soon as possible and get back to you. P-WL should be impervious to permutations, but the underlying persistent homology calculation sometimes needs to make a choice between two equivalent nodes---this might be a potential error source in our code.

Dear Scott,
sorry for taking so long to answer. I looked at the case and this is indeed caused by a consistency check in the persistence calculation: when going through the edges of a filtration, we have to select  one index of an edge. Currently, this selection is done following the 'elder rule' in persistent homology, i.e. we always take the smaller index. This leads to an inconsistent mapping of labels.
The behaviour is different for P-WL-UC because in this case, the same persistence value will be assigned to all tuples (and the persistence diagrams of the graphs that you added are indeed identical). Thank you very much for raising this issue and thanks for your patience; I think to fix this, we would have to consider distributing the persistence values among the labels in another manner; or, failing that, another scheme for calculating persistent homology based on labels.
Would you be interested if we keep you up to date concerning this issue?
Best,
Bastian


Aggregate relations do not yet support output mapping changes

Unfortunately, my queries seem to hit the Aggregate relations do not yet support output mapping changes error. However, for my given usecase, sufficient information is retained/parsed if i just comment out the following lines:
https://github.com/substrait-io/substrait-cpp/blob/03760889013210041038398e595639d04b4f1cc3/src/substrait/textplan/converter/InitialPlanProtoVisitor.cpp#L632-L636
Now that may be bad... but again, works for my usecase. My question is therefore - is there a way to opt-in to this feature, or make the error recoverable, s.t. users (like me) can use upstream substrait-cpp?

I put that check in there because it's important to handle (it affects the rest of the plan) but I didn't see any cases where folks were using it (in fact, some systems don't even support emits in aggregations yet).  I'll make a stab at adding this missing feature.

I put that check in there because it's important to handle (it affects the rest of the plan) but I didn't see any cases where folks were using it (in fact, some systems don't even support emits in aggregations yet). I'll make a stab at adding this missing feature.

Much appreciated! 🙏

Progress update:  I have binary to text conversion working correctly but there are one or two small bugs in the text to binary parsing that I need to fix.  Shouldn't be more than another day.

Please let me know if I missed anything.

So far looks like the fix is working for my use-case. Thank you very much for looking into this!


Bugfix: undefined index: shopper.infix

$adyFields['shopper.infix'] is optional after https://github.com/Adyen/magento/commit/a1bd8775ff5874e4dd59f3cf43d4cd1a807e2058
Notice: Undefined index: shopper.infix in /var/www/vhosts/coltex/httpdocs/app/code/community/Adyen/Payment/Model/Adyen/Openinvoice.php on line 312

Hi Arjan,
I see the problem. It is not an issue in our develop branch but only in the current release version.
The master always present the current release so I created a hotfix branch could you do the pull request to the hotfix-2.5.1 branch?
Regards,
Rik
Adyen

Sure, coming right up!
Anton


Draft: First cut at document verification claim example

This adapts the current claim issuance and verification to a document verification use case. For expedience, it reuses the KYC schema's CountryOfResidenceCredential type rather than defining its own schema (which would need to be published in order for the verifier to fetch it). But conceptually it's a DocumentStatus type with a docStatusHash field in claim slot IndexA.

@jimthematrix @Chengxuan any feedback is welcome. This is just to share my current exploration – I'm not suggesting we merge this.

@nedgar the code looks ok to me. can you add the doc hash claim support instead of using it to replace the birthday claim? it'd be good to keep the birthday claim to demonstrate the power of the ZKP queries, which allows the holder to keep the PII information private while still fulfilling the requested range proof.

Agreed. We should try to factor the code so various basic claims can be issued more easily. This was a just a quick-and-dirty mod.


Cannot build appbundle

Platform:

[x]  Flutter Android

IDE:

[x]  IntelliJ/AS

split-debug-info and obfuscate (Flutter Android or iOS) or CanvasKit (Flutter Web):

[x]  Disabled

Platform installed with:

[x] pub.dev

Output of the command flutter doctor -v below:
[√] Flutter (Channel stable, 1.22.5, on Microsoft Windows [Version 10.0.19041.685], locale en-CA)
    • Flutter version 1.22.5 at C:\Users\miles\flutter
    • Framework revision<PHONE_NUMBER> (2 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\miles\AppData\Local\Android\sdk
    • Platform android-30, build-tools 29.0.2
    • Java binary at: C:\Program Files (x86)\Java\jdk1.8.0_211\bin\java
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_211-b12)
    • All Android licenses accepted.

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] IntelliJ IDEA Community Edition (version 2019.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.1.2
    • Flutter plugin version 35.3.3
    • Dart plugin version 191.7141.49

[√] VS Code (version 1.51.1)
    • VS Code at C:\Users\miles\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.16.0

[√] Connected device (1 available)
    • CLT L04 (mobile) • DXU7N19105001128 • android-arm64 • Android 10 (API 29)

! Doctor found issues in 1 category.

The version of the SDK:
4.0.1

I have the following issue:
Cannot build appbundles. I can run in debug mode, and build for iOS, but am having trouble getting an appbundle to build now that I have added this plugin. If I comment out this plugin from my pubspec, and all usages of it, I can build an appbundle just fine.
Here is the failure message:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.
> java.io.IOException: Please correct the above warnings first.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 4s
Running Gradle task 'bundleRelease'...
Running Gradle task 'bundleRelease'... Done                        65.0s
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin image_picker...
Running Gradle task 'assembleAarRelease'...
Running Gradle task 'assembleAarRelease'... Done                    1.1s

FAILURE: Build failed with an exception.

* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the User Manual chapter on the daemon at https://docs.gradle.org/5.6.2/userguide/gradle_daemon.html
Process command line: C:\Program Files (x86)\Java\jdk1.8.0_211\bin\java.exe -Xmx1536M -Dfile.encoding=windows-1252 -Duser.country=CA -Duser.language=en -Du
ser.variant -cp C:\Users\miles\.gradle\wrapper\dists\gradle-5.6.2-all\9st6wgf78h16so49nn74lgtbb\gradle-5.6.2\lib\gradle-launcher-5.6.2.jar org.gradle.launc
her.daemon.bootstrap.GradleDaemon 5.6.2
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 1572864KB object heap

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

The plugin image_picker could not be built due to the issue above.

Now, interestingly it says image_picker cannot be built due to an issue above. So instead of removing this plugin, I try removing that one. Then I do that, and get basically the same error for a different plugin:
FAILURE: Build failed with an exception.

* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the User Manual chapter on the daemon at https://docs.gradle.org/6.1.1/userguide/gradle_daemon.html
Process command line: C:\Program Files (x86)\Java\jdk1.8.0_211\bin\java.exe -Xmx1536M -Dfile.encoding=windows-1252 -Duser.country=CA -Duser.language=en -Du
ser.variant -cp C:\Users\miles\.gradle\wrapper\dists\gradle-6.1.1-all\cfmwm155h49vnt3hynmlrsdst\gradle-6.1.1\lib\gradle-launcher-6.1.1.jar org.gradle.launc
her.daemon.bootstrap.GradleDaemon 6.1.1
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 1572864KB object heap

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

The plugin background_fetch could not be built due to the issue above.

So now, I remove background_fetch and flutter_background_geolocation, and try again:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.
> java.io.IOException: Please correct the above warnings first.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 8s
Running Gradle task 'bundleRelease'...
Running Gradle task 'bundleRelease'... Done                        69.2s
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin cloud_firestore...
The plugin cloud_firestore could not be built due to the issue above.

It seems like every plugin I have is complaining ever since I added this one. Maybe some of this info will help solve this? I've been trying all day to get an appbundle to work, with different versions of plugins and gradle with no luck.
build.gradle
buildscript {
    ext.kotlin_version = '1.3.0' // Must use 1.3.0 or higher.
    ext {
        compileSdkVersion   = 30                // or higher
        targetSdkVersion    = 30                // or higher
        appCompatVersion    = "1.0.2"           // or higher
        playServicesLocationVersion = "17.0.0"  // or higher
    }
    repositories {
        google()
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.4.3'
        classpath 'com.google.gms:google-services:4.3.0'
    }
}

allprojects {
    repositories {
        google()
        jcenter()
        maven {
            url "${project(':flutter_background_geolocation').projectDir}/libs"
        }
        maven {
            url "${project(':background_fetch').projectDir}/libs"
        }
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.3.1-all.zip

grade.properties
android.useAndroidX=true
android.enableJetifier=true
android.enableR8=false

Dependancies
dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  bloc: 6.0.3
  http: ^0.12.0+1
  dio: 3.0.9
  fluro: 1.7.2
  flutter_spinkit: ^3.1.0
  flutter_bloc: 6.0.5
  meta: ^1.1.6
  package_info: ^0.4.0+3
  url_launcher: ^5.0.0
  equatable: ^0.2.3
  flutter_secure_storage: ^3.2.0
  json_serializable: ^3.1.0
  signature: ^2.0.0
  intl: 0.16.1
  pull_to_refresh: 1.2.0
  flutter_svg: 0.19.0
  firebase_messaging: 6.0.16
  sentry_flutter: ^4.0.0
  google_maps_flutter: ^0.5.21+15
  flutter_background_geolocation: 1.10.1
  permission_handler: 5.0.1+1
  device_info: 0.4.0+2
  firebase_core: ^0.5.0
  cloud_firestore: 0.14.1+3
  firebase_auth: 0.18.1+2
  firebase_storage: 5.0.0
  image_picker:
    git:
      url: https://github.com/cpboyd/plugins.git
      ref: image_picker_workaround
      path: packages/image_picker/image_picker
  photo_view: 0.8.0
  flutter_typeahead: 1.7.0
  retry: 3.0.0+1
  connectivity: 0.4.8+6
  flutter_markdown: ^0.5.0
  firebase_remote_config: 0.3.1+1
  global_configuration: 1.5.0
  flutter_redux: ^0.6.0
  path_provider: 1.6.24
  file_picker: 2.0.12
  open_file: 3.0.3
  uuid: 2.2.2
  community_material_icon: ^5.4.55
  json_at: 1.0.4

@MilesAdamson thanks for reporting this.
have you tried to increase the heap size using gradle.properties?
I say that because of Could not reserve enough space for 1572864KB object heap
Try to add this to your gradle.properties:
https://github.com/getsentry/sentry-java/blob/main/gradle.properties#L2
just out of curiosity, why using Proguard over R8? android.enableR8=false, have you tried enabling R8 over Proguard?
Try to run the build using stack trace or info arguments, maybe we get something more useful from there: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
I could not reproduce it, our samples just compile it, if one of the suggestions above doesn't work, please create a sample repo where I can reproduce the issue, thanks.

Thanks for the reply. I've tried all sorts of combinations of what you have suggested with no luck so far. I will try to make a sample repo for you

I made a new project with the exact same pubspec.yaml and couldn't preproduce it either. I decided to try the other plugin and everything seems to be working fine. I set the FlutterError.onError to log for me so that I still get flutter errors.
You could probably close this, I don't know what you could really do if it can't be reproduced.
So far I had tried:

changing plugin versions
changing flutter versions
enabling R8 over proguard
increasing the heap size (this one was interesting, it kept asking for more heap size until I got to the maximum you are allowed to allocate and it still wanted more)
changing gradle version

The only thing that worked was changing to the other plugin. And again, the only thing I couldn't do was build an appdundle. Debug builds worked on android and everything worked on iOS. Very strange

@MilesAdamson thanks for the testing and detailed answer.
our CI even compiles an appbundle on every PR https://github.com/getsentry/sentry-dart/blob/main/.github/workflows/flutter.yml#L78
I'll close this as it's not reproducible, if someone else is having the same problem, happy to reopen, thanks.

@MilesAdamson thanks for the testing and detailed answer.
our CI even compiles an appbundle on every PR https://github.com/getsentry/sentry-dart/blob/main/.github/workflows/flutter.yml#L78
I'll close this as it's not reproducible, if someone else is having the same problem, happy to reopen, thanks.


CCDB GE/011 - Section <IP_ADDRESS>.3

Para 77
Comment:
Why is the "Random Message Test" from HMACVS not used?
Proposal:
Priority: 1

Paragraph 77 is derived from section 6.2 of The Random Message Test of The Keyed-Hash Message Authentication Code Validation System (HMACVS), updated 6 May 2016. The Random Message Test states, "The Random Message Test provides a series of random message and keys to the IUT. The IUT generates an HMAC for the messages using the keys provided. The HMACVS verifies the correctness of the HMACs produced by the IUT."
"IUT" is replaced with "TSF" and "HMAC" is extended to "HMAC or KMAC" in Paragraph 77, as needed.
I'd reject this comment and make no change to the SD.

Closed by #353


psgeo.js filter window needs to be made data-driven

This window should be entirely data-driven. Now there's too much code here, and it is error-prone. We are making mistakes as we change the code, because of this complexity.

Good idea.
Our data contains prefixed tags, such as Rock-Sandstone, Rock-Limestone, ...
(IF we change activityJSON and our DB a bit, then those might become Environment-Rock-Sandstone, Environment-Rock-Limestone, Environment-Ice, ...; note the two/three level structure).
The Simple Cave Types, however, are generated/reinterpreted in psgeo. Instead they could be in the data itself: Type-Boulders, Type-Karst...
Having a prefix (environment, type, others), a category, and a member would make this a generic system that could be data driven and automated. There may be better and more clever ways to do it, this is but a quick draft.

The code is now largely data-driven. Swimming, skiing, and sauna subtypes are all automatically handled by the new general code and the table at the beginning of the psgeo.js file. Tomorrow I will put the rock type and morphology under the new system as well. This should not change the behaviour.

I believe this is now done.


AMBARI-25055 JS error after starting stack downgrade

What changes were proposed in this pull request?
Uncaught TypeError: Cannot convert undefined or null to object
How was this patch tested?
21754 passing (29s)
48 pending

please retest this

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4908/
Test PASSed.


Updating the batch-wordcount example to work with Hadoop 2.6.0

Merged via commit cb171800eaad69707e88145ccb73030e009187ca


Add Twitch Desktop App latest

Add Twitch Desktop App latest
If there’s a checkbox you can’t complete for any reason, that's okay, just explain in detail why you weren’t able to do so.
After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[x] Named the cask according to the token reference.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.
[x] Checked there are no open pull requests for the same cask.
[x] Checked the cask was not already refused in closed issues.
[x] Checked the cask is submitted to the correct repo.

Already present. The token reference was not followed in this case, which would have prevented the duplicate.
Thank you anyway.

The token reference was not followed in this case.
In this case, The other one should be renamed. Please add a new commit renaming this one to kevingessner-twitch, and rename yours to just twitch.

Thank you.


Fixed minimum mass of WoodenBox which was too high (for balsa for example)

Ditto.

test me

Build Passed :ok_hand:
You can safely merge 'fix-wooden-box' into 'revision'.

👍


(PWA) (Deeplinker?) Back button, followed by forward button on browser causes inconsistent state

Ionic version:  (check one with "x")
[ ] 1.x
[X] 2.x
[X ] 3.x
I'm submitting a ...  (check one with "x")
[ X] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:

When using the ionic blank app on platform browser,  the ionic page goes into a inconsistent state after a user clicks on back, followed by forward button.
On my project, this causes components not to work properly and variables not to be initialised properly on the template.
Expected behavior:

When you click on forward and then back, the page should be in a consistent state.

Steps to reproduce:
Please refer to testBug repository based on blank app on github.
https://github.com/kelvinhokk/ionicBug11597

Check out project.

ionic serve.

Go from home page to test form page (red button)

Input<EMAIL_ADDRESS>into input.  Notice that validation is ok.

Press back button and then forward button on browser.  Notice that validation is still ok.

ionic cordova platform add browser

ionic cordova run browser.

repeat steps 1-5.

notice that the validation is not ok, and the page is inconsistent state.

Related code:
(I suspect this has something to do with the page not popping properly on back, when doing elementary debugging, the following section is never evaluated to be true on back button.)
if (view && view.id === segment.id) {
        // hooray! we've already got a view loaded in the stack
        // matching the view they wanted to show
       ....
          nav.popTo(view, {
            animate: false,
            updateUrl: false,
          }, done);
 }

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Bug reproduced on browsers on Chrome 58.0.3029.96 and Safari Version 10.1 (126<IP_ADDRESS>.34)
Bug also happens on latest ionic 3.2.0

global packages:

    @ionic/cli-utils : 1.0.0
    Cordova CLI      : 6.5.0
    Ionic CLI        : 3.0.0

local packages:

    @ionic/app-scripts              : 1.3.7
    @ionic/cli-plugin-cordova       : 1.0.0
    @ionic/cli-plugin-ionic-angular : 1.0.0
    Ionic Framework                 : ionic-angular 3.1.1

System:

    Node       : v7.9.0
    OS         : macOS Sierra
    Xcode      : Xcode 8.3.2 Build version 8E2002
    ios-deploy : 1.9.1
    ios-sim    : 5.0.2

Hello, thanks for using Ionic! I am going to close this issue as a duplicate of https://github.com/ionic-team/ionic/issues/11469


Changing properties for multiple objects not working

Version of Archi, Operating System
Archi 4.2 on windows 7
Expected Behaviour
select multiple components, change the color (or any other property), I would expect a change to all selected components.
Actual Behaviour
only the primarily selected component is changed.

See #313 and #358
(For now, use the Edit menu functions)
Closing as duplicate.