[Bug]: Build fails with Yarn

What happened?
Type conflict when using Yarn. It appears to be an issue with prosemirror-view types. The issue doesn't happen with npm.
Tested with Yarn 4 and Yarn 1.22, both errored.
Version
v16.0.1
Angular Version
v16.2.12
What browsers are you seeing the problem on?
Firefox, Chrome
Link to reproduce
https://github.com/jecraig/ngxeditor-yarn-example
Relevant log output
yarn run build
✔ Browser application bundle generation complete.

Error: node_modules/ngx-editor/node_modules/prosemirror-view/dist/index.d.ts:215:9 - error TS2717: Subsequent property declarations must have the same type.  Property 'pmViewDesc' must be of type 'ViewDesc | undefined', but here has type 'ViewDesc | undefined'.

215         pmViewDesc?: ViewDesc;
            ~~~~~~~~~~

  node_modules/prosemirror-view/dist/index.d.ts:217:9
    217         pmViewDesc?: ViewDesc;
                ~~~~~~~~~~
    'pmViewDesc' was also declared here.

Willing to submit a PR?
None

Please refer https://github.com/sibiraj-s/ngx-editor/issues/469#issuecomment-1636771997

Hmm, I've tried that and then some. Even went to the point of installing it fresh on a new angular project and got this issue.
I'll try sending this on towards the Yarn team.

Oh.
I don't use Yarn. not sure whats happening there. Open to improvements.

Looking into it more but this appears to be the culprit of the conflicting types. For some reason, prosemirror-view and prosemirror-model are embedded in the yarn install in addition to the lifted folder copy. I don't have an idea on the reason yet but I figured I'd update in case anyone else has an idea.

@sibiraj-s The issue is with version resolution. The ngx-editor package is requiring prosemirror-view 1.31.7, but something else requires version 1.32.7. So yarn installs a local package to ngx-editor and the higher version to the root node_modules folder. A similar issue happens with prosemirror-model where ngx-editor wants 1.19.3 but the root also needs to install 1.19.4.
Changing the semantic versioning in projects/ngx-editor/package.json to carets instead of fixed versions resolves the conflict.

To everyone else, as a temporary workaround you can add the following to your package.json to force the resolution.
	"resolutions": { 		"prosemirror-commands": "^1.5.2", 		"prosemirror-history": "^1.3.2", 		"prosemirror-inputrules": "^1.2.1", 		"prosemirror-keymap": "^1.2.2", 		"prosemirror-model": "^1.19.3", 		"prosemirror-schema-list": "^1.3.0", 		"prosemirror-state": "^1.4.3", 		"prosemirror-view": "^1.31.7" 	},

but something else requires version 1.32.7.

This is possible because of one of the Prosemirror package doesn't pin its dependency.

Changing the semantic versioning in projects/ngx-editor/package.json to carets instead of fixed versions resolves the conflict.
In the past it was like this, when caret is used, during either angular version or the editor version updates. Some version mismatch often happens. I've pinned the dependency directly dependency to avoid this issue, if not pinned this same issue would become at-least 10x more frequent, during version updates.

Also, it was the time when Prosemirror was made stable initially and it was breaking things often. Its been a while since stable, thinking if I should put it to caret again. Not sure.

Fortunately Yarn does provide a method to solve this by forcing the decency resolutions. If you decide not to open up semantic versioning then perhaps a note about fixing resolution conflicts in the Yarn section of the docs.

Yeah. Thanks will mention them in docs. I'll try open up semver if possible, because it also makes me to release new version for each updates.

Fixed in v17.1.0. dependencies are no longer pinned


Custom type name for subtypes

Hi, I use the following approach for subtypes.
Can you extend the system to support custom names? E.g. a custom Attribute would be helpful:
  [KnownNamedType(typeof(CatModel), "Cat")]

I have two problems with the current approach:

My models have a suffix because I don't want to have naming conflicts with business objects, e.g. Cat and CatDto or CatModel
I would like to use a reserved for my type name, e.g. String or Boolean.

https://github.com/NJsonSchema/NJsonSchema/commit/088188e3c4e149008ccb0ff9a2d78bbdfbb302aa

Wow, this is awesome :)

Will be available in NSwag v8.0, please test using the latest CI build: https://ci.appveyor.com/project/rsuter/nswag-25x6o/build/artifacts

Sorry for the delay
I tested it but it failes with:
System.MissingMethodException: Method not found: 'System.String NJsonSchema.JsonSchema4.GetTypeName(NJsonSchema.ITypeNameGenerator, System.String)'.
   at NSwag.SwaggerSchemaResolver.AppendSchema(JsonSchema4 schema, String typeNameHint)
   at NJsonSchema.JsonSchemaResolver.AddSchema(Type type, Boolean isIntegerEnumeration, JsonSchema4 schema) in C:\projects\njsonschema\src\NJsonSchema\JsonSchemaResolver.cs:line 59

What version of NSwag and NJsonSchema are you using?

Sorry, 8.0 from Nuget for .NET Core ... I try to install the packages from a local folder at the moment.

the problem is, that you are using a newer version of NJsonSchema than NSwag v8.0 requires

I installed the version from the nuspec and it works...awesome :)

this is de facto a bug, because NJsonSchema has a breaking change in a minor version change, but this will be fixed in the next nswag release...

I just thought the same ;) ... is there a nuget feed to your build server?

Nope there isn't... but i think ill release now...

Please try again with v8.1

Hi, I realized that it does not work (have only tested the swagger generation so far).
The problem is, that the JsonInheritanceConverter does not handle the schema name correctly. The bugfix is to change the IsKnownTypeTargetType to:
private bool IsKnwonTypeTargetType(dynamic attribute, string discriminator)
{
	Type type = attribute.Type;

	if (type == null)
	{
		return false;
	}

	var typeName =
		type.GetTypeInfo().GetCustomAttribute<JsonSchemaAttribute>()?.Name ?? type.Name;

	return typeName == discriminator;
}

But besides that I would prefer that the schema generation is indepenent of how I serialize and deserialize the json.


Remove support for Rails < 5.2

Rails 5.1 is EOL. Follow-up to #376 in expectation of cutting a new major (backwards-incompatible) version of Vanity.

@frostmark fyi, while we're updating compatibility.

@bensheldon good job!


Unable to compile with theora=yes

It seems that latest changes in git HEAD generates compiler errors when compiling with "theora=yes":
$ scons platform=osx bits=64 theora=yes
scons: Reading SConscript files ...
sh: i586-mingw32msvc-gcc: command not found
sh: x86_64-w64-mingw32-gcc: command not found
sh: i686-w64-mingw32-gcc: command not found
scons: done reading SConscript files.
scons: Building targets ...
g++ -o drivers/theoraplayer/video_stream_theoraplayer.osx.tools.64.o -c -g3 -Wall -DDEBUG_ENABLED -DDEBUG_MEMORY_ENABLED -DFREETYPE_ENABLED -arch x86_64 -DDEBUG_MEMORY_ALLOC -DSCI_NAMESPACE -DAPPLE_STYLE_KEYS -DUNIX_ENABLED -DGLES2_ENABLED -DGLEW_ENABLED -DOSX_ENABLED -DMUSEPACK_ENABLED -DSQUISH_ENABLED -DVORBIS_ENABLED -DTHEORA_ENABLED -DPNG_ENABLED -DDDS_ENABLED -DPVR_ENABLED -DJPG_ENABLED -DWEBP_ENABLED -DSPEEX_ENABLED -DTOOLS_ENABLED -DGDSCRIPT_ENABLED -DMINIZIP_ENABLED -DXML_ENABLED -DETC1_ENABLED -D_LIB -D__THEORA -D_YUV_LIBYUV -Icore -Icore/math -Itools -Idrivers -I. -Iplatform/osx -Itools/freetype -Itools/freetype/freetype/include -Idrivers/theoraplayer/vorbis -Idrivers/theoraplayer/include/theoraplayer -Idrivers/theoraplayer/src/YUV -Idrivers/theoraplayer/src/YUV/libyuv/include -Idrivers/theoraplayer/src/Theora -Idrivers/theoraplayer/src/AVFoundation drivers/theoraplayer/video_stream_theoraplayer.cpp
drivers/theoraplayer/video_stream_theoraplayer.cpp:113:33: error: expected class name
class AudioStreamInput : public AudioStreamResampled {
                                ^
drivers/theoraplayer/video_stream_theoraplayer.cpp:166:10: error: unknown type name 'UpdateMode'
        virtual UpdateMode get_update_mode() const { return UPDATE_THREAD; };
                ^
drivers/theoraplayer/video_stream_theoraplayer.cpp:132:3: error: use of undeclared identifier '_setup'
                _setup(channels, freq, 256);
                ^
drivers/theoraplayer/video_stream_theoraplayer.cpp:133:64: error: use of undeclared identifier 'get_audio_stream'
                stream_rid=AudioServer::get_singleton()->audio_stream_create(get_audio_stream());
                                                                             ^
drivers/theoraplayer/video_stream_theoraplayer.cpp:146:3: error: use of undeclared identifier '_clear'
                _clear();
                ^
drivers/theoraplayer/video_stream_theoraplayer.cpp:166:54: error: use of undeclared identifier 'UPDATE_THREAD'
        virtual UpdateMode get_update_mode() const { return UPDATE_THREAD; };
                                                            ^
drivers/theoraplayer/video_stream_theoraplayer.cpp:187:14: error: use of undeclared identifier 'get_todo'
                int todo = get_todo();
                           ^
drivers/theoraplayer/video_stream_theoraplayer.cpp:188:21: error: use of undeclared identifier 'get_write_buffer'
                int16_t* buffer = get_write_buffer();
                                  ^
drivers/theoraplayer/video_stream_theoraplayer.cpp:198:3: error: use of undeclared identifier 'write'
                write(to_write);
                ^
drivers/theoraplayer/video_stream_theoraplayer.cpp:208:25: error: use of undeclared identifier 'get_total'
                return total_wrote - (get_total() - get_todo());
                                      ^
drivers/theoraplayer/video_stream_theoraplayer.cpp:208:39: error: use of undeclared identifier 'get_todo'
                return total_wrote - (get_total() - get_todo());
                                                    ^
drivers/theoraplayer/video_stream_theoraplayer.cpp:386:6: warning: unused variable 'size' [-Wunused-variable]
        int size = f->getStride() * f->getHeight() * f->mBpp;
            ^
In file included from drivers/theoraplayer/video_stream_theoraplayer.cpp:29:
In file included from drivers/theoraplayer/video_stream_theoraplayer.h:4:
In file included from ./scene/resources/video_stream.h:32:
In file included from ./scene/resources/audio_stream_resampled.h:32:
In file included from ./scene/resources/audio_stream.h:32:
In file included from core/resource.h:35:
core/reference.h:290:31: error: no member named 'unreference' in 'AudioStreamInput'
                if (reference && reference->unreference()) {
                                 ~~~~~~~~~  ^
core/reference.h:308:3: note: in instantiation of member function 'Ref<AudioStreamInput>::unref' requested here
                unref();
                ^
drivers/theoraplayer/video_stream_theoraplayer.cpp:242:2: note: in instantiation of member function 'Ref<AudioStreamInput>::~Ref' requested here
        TPAudioGodot(TheoraVideoClip* owner, int nChannels, int p_freq)
        ^
In file included from drivers/theoraplayer/video_stream_theoraplayer.cpp:29:
In file included from drivers/theoraplayer/video_stream_theoraplayer.h:4:
In file included from ./scene/resources/video_stream.h:32:
In file included from ./scene/resources/audio_stream_resampled.h:32:
In file included from ./scene/resources/audio_stream.h:32:
In file included from core/resource.h:35:
core/reference.h:98:14: error: no member named 'init_ref' in 'AudioStreamInput'
                if (p_ref->init_ref())
                    ~~~~~  ^
core/reference.h:244:4: note: in instantiation of member function 'Ref<AudioStreamInput>::ref_pointer' requested here
                        ref_pointer(p_reference);
                        ^
drivers/theoraplayer/video_stream_theoraplayer.cpp:248:12: note: in instantiation of member function 'Ref<AudioStreamInput>::Ref' requested here
                stream = Ref<AudioStreamInput>(memnew(AudioStreamInput(nChannels, p_freq)));
                         ^
In file included from drivers/theoraplayer/video_stream_theoraplayer.cpp:29:
In file included from drivers/theoraplayer/video_stream_theoraplayer.h:4:
In file included from ./scene/resources/video_stream.h:32:
In file included from ./scene/resources/audio_stream_resampled.h:32:
In file included from ./scene/resources/audio_stream.h:32:
In file included from core/resource.h:35:
core/reference.h:91:15: error: no member named 'reference' in 'AudioStreamInput'
                        reference->reference();
                        ~~~~~~~~~  ^
core/reference.h:173:3: note: in instantiation of member function 'Ref<AudioStreamInput>::ref' requested here
                ref(p_from);
                ^
drivers/theoraplayer/video_stream_theoraplayer.cpp:248:10: note: in instantiation of member function 'Ref<AudioStreamInput>::operator=' requested
      here
                stream = Ref<AudioStreamInput>(memnew(AudioStreamInput(nChannels, p_freq)));
                       ^
1 warning and 14 errors generated.
scons: *** [drivers/theoraplayer/video_stream_theoraplayer.osx.tools.64.o] Error 1
scons: building terminated because of errors.

same error here [ Manjaro Linux x64 (gcc v5.2.0)]

Looks like theora has been forced OFF for now? See hash: 59e1ad27731e66c58a3d5ee9d783eac74a1d48d9

yes, please be patient, will rewrite the Theora implementation now that the
audio backend is saner
On Thu, Sep 10, 2015 at 4:41 PM, Patrick<EMAIL_ADDRESS>wrote:

Looks like theora has been forced OFF for now? See hash: 59e1ad2
https://github.com/okamstudio/godot/commit/59e1ad27731e66c58a3d5ee9d783eac74a1d48d9
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/2460#issuecomment-139357248.

Great, @reduz , thank you very much :).

It's fixed now. Thanks!


Build(deps): Bump @patternfly/react-table from 5.1.2 to 5.2.1 (#5584)

Pull request opened by the merge tool on behalf of #5584

Merged in c54e8a72feae4540fe6d53687b2a958885c6627d


Add basic information for final project

Initial readme for the fork for final project.

Woops wrong repo.


gradlew asembleRelease apk crashes when installed and opened in android device in react native.

Apk crashes in android device when opened in react native. I've checked Issuue #106 but it didn't help. PLEASE GUIDE THANK YOU

any crash log?

any crash log?

any crash log?

any crash log?


Lint/BlockAlignment has the wrong namespace - should be Layout

[Linter] Error running RuboCop Error: /Users/jcoyne/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/bixby-1.0.0/bixby_default.yml: Lint/BlockAlignment has the wrong namespace - should be Layout

Looks like this is a 0.53.0 thing: https://github.com/bbatsov/rubocop/commit/801aa3dd87f4cc1bc96664be048ac8b497aeae41

I worked around this problem which was showing up in Atom by adding the settings to the config:
  "linter-rubocop":
    command: "bundle exec rubocop"


Fds 2214 schematic api tests

Improve coverage of schematic API functions
https://sagebionetworks.jira.com/browse/FDS-2214

@afwillia did my best to capture the functions as they are.

@afwillia if you click that this has been reviewed I can merge!


HBASE-23167 Set version as 2.2.2 in branch-2.2 in prep for first RC o…

…f 2.2.2

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
0m 40s
Docker mode activated.

_ Prechecks _

:green_heart:
dupname
0m  1s
No case conflicting files found.

:green_heart:
@author
0m  0s
The patch does not contain any @author tags.

:yellow_heart:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-2.2 Compile Tests _

:blue_heart:
mvndep
0m 26s
Maven dependency ordering for branch

:green_heart:
mvninstall
5m 18s
branch-2.2 passed

:green_heart:
compile
2m 51s
branch-2.2 passed

:green_heart:
checkstyle
2m 30s
branch-2.2 passed

:green_heart:
shadedjars
4m  3s
branch has no errors when building our shaded downstream artifacts.

:green_heart:
javadoc
12m 55s
branch-2.2 passed

_ Patch Compile Tests _

:green_heart:
mvninstall
4m 43s
branch-2.2 passed

:blue_heart:
mvndep
5m  8s
Maven dependency ordering for patch

:green_heart:
mvninstall
4m 47s
the patch passed

:green_heart:
compile
2m 53s
the patch passed

:green_heart:
javac
2m 53s
the patch passed

:green_heart:
checkstyle
2m 21s
the patch passed

:green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

:green_heart:
xml
0m 56s
The patch has no ill-formed XML file.

:green_heart:
shadedjars
4m  0s
patch has no errors when building our shaded downstream artifacts.

:green_heart:
hadoopcheck
14m 52s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

:green_heart:
javadoc
13m 30s
the patch passed

_ Other Tests _

:green_heart:
unit
219m 44s
root in the patch passed.

:green_heart:
asflicense
24m 24s
The patch does not generate ASF License warnings.

332m 56s

Subsystem
Report/Notes

Docker
Client=19.03.3 Server=19.03.3 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-727/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/727

Optional Tests
dupname asflicense javac javadoc unit shadedjars hadoopcheck xml compile checkstyle

uname
Linux cbd19b8811a8 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-727/out/precommit/personality/provided.sh

git revision
branch-2.2 / 9b0980fbfb

Default Java
1.8.0_181

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-727/1/testReport/

Max. process+thread count
5496 (vs. ulimit of 10000)

modules
C: hbase-checkstyle hbase-annotations hbase-build-configuration hbase-protocol-shaded hbase-common hbase-metrics-api hbase-hadoop-compat hbase-metrics hbase-hadoop2-compat hbase-protocol hbase-client hbase-zookeeper hbase-replication hbase-resource-bundle hbase-http hbase-procedure hbase-server hbase-mapreduce hbase-testing-util hbase-thrift hbase-rsgroup hbase-shell hbase-endpoint hbase-it hbase-rest hbase-examples hbase-shaded hbase-shaded/hbase-shaded-client hbase-shaded/hbase-shaded-client-byo-hadoop hbase-shaded/hbase-shaded-mapreduce hbase-external-blockcache hbase-hbtop hbase-assembly hbase-shaded/hbase-shaded-testing-util hbase-shaded/hbase-shaded-testing-util-tester hbase-shaded/hbase-shaded-check-invariants hbase-shaded/hbase-shaded-with-hadoop-check-invariants hbase-archetypes hbase-archetypes/hbase-client-project hbase-archetypes/hbase-shaded-client-project hbase-archetypes/hbase-archetype-builder . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-727/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.


Remove example unit and instrumentation tests

They are not providing any value, and they are very outdated examples at
this point.

LGTM


inlineChat.lineEmptyHint feedback

The text appears to fade out at the end?

Also, the text isn't using sub pixel anti-aliasing and therefore looks a little different (especially on low density displays). Notice there's no red/blue edges on the text:

If this is an inline decoration, is the element being put on a different layer such that the background color is not know when the text is rendered?

The text appears to fade out at the end?

Fixed in main

Also, the text isn't using sub pixel anti-aliasing and therefore looks a little different (especially on low density displays). Notice there's no red/blue edges on the text:

This is normal injected text, nothing except for the fade out which I have already removed
@Tyriar please from main or with tomorrows insiders

Works, this also fixed the anti-aliasing problem


UB-1501: Upgrade to openssl-1.0.2o-r1 to align with Alpine 3.7 repo updates.

It seams that openssl-1.0.2o-r0 was removed from the Alpine 3.7 repository (http://dl-cdn.alpinelinux.org/alpine/v3.7/main/). It was replaced to this new version 1.0.2o-r1 in 18-Jul-2018 07:29 (40 days ago).
So we must update the openssl version in the ubiqutiy Dockerfile in order to successfully build the Ubiquity image.

This change is

Coverage remained the same at 51.98% when pulling 14253ea9cca90ea4a2697aaca196c066bda27d55 on fix/upgrade_to_openssl_102or1 into a91d9984ae76f7a15cb18b5e0c318bc8d85a350e on dev.


Use C++ implement llvm compiler

Unfortunately, llir/llvm can not do something I want, and go-llvm binding has poor document.
I think should use C++ to write the translate part, but we can use Go write the remain part.

Ok


Correcting Vector3 operator *

Corrected the code comment from stating the result is (7, 3, 16) to (3, 9, 18). These numbers can be verified by running the displayed code in Godot. Screenshot of correct result being given in-engine:

Thank you for your contribution, however this is already being fixed by:

https://github.com/godotengine/godot/pull/92117

Thank you nonetheless!


⚠ Fetchers has degraded performance

In 8d58f96, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 138 ms

Resolved: Fetchers performance has improved in c55c591.


fix(kas): oidc issuer from config

For KAS, load the OIDC issuer from the opentdf.yaml config.

Added issuer and discovery

  kas:
    enabled: true
    issuer: http://localhost:8888/auth/realms/opentdf
    discovery: http://<IP_ADDRESS>:4444

#474 Resolves this.


Fix: export PostCondition serialization functions

What this does:

export deserializePostCondition and serializePostCondition

needed for transaction signing in Connect. I published an alpha from here to resolve a hotfix

Adds lodash-es dep to @stacks/transactions. Otherwise I see errors related to it when importing the package, and this has been reported by others too. Not 100% sure what the deal is - something with tsdx
Updates all package versions to be in line with lerna

@reedrosenbluth since this is a lerna repo, we should be versioning and packaging with yarn lerna publish. This accepts different args like patch, etc. Otherwise, our package versions get out of sync, which can throw things off.
It's been a TODO of mine to add automatic semantic versioning to this repo, which is easier now that we moved CI to Github Actions.

+1 for needing semantic versioning

+1 for needing semantic versioning

@hstove sounds good! I've been using lerna publish but was unaware of the args.

@hstove sounds good! I've been using lerna publish but was unaware of the args.


webpack require.context will not throw error on failure

Do you want to request a feature or report a bug?

Bug report

What is the current behavior?

require.context will never fail webpack build

If the current behavior is a bug, please provide the steps to reproduce.

see https://github.com/pwang2/webpack-require-context-swallow-exit-code

What is the expected behavior?

build error(not warning) should be thrown more aggressively and give correct exit code

If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
Node 6.11.2 | Webpack 3.5.5 | OSX

any followup/comments on this?

seems a year old question:  https://stackoverflow.com/questions/34431015/webpack-babel-karma-does-not-complain-if-test-files-are-invalid

close it as it seems a dup of https://github.com/webpack-contrib/karma-webpack/issues/49

Still an issue as of today. Please re-open. Thanks.


Link to Technical Page Test Suite CDN is Broken

Describe your problem and - if possible - how to reproduce it
The link to the test suite is broken in the Technical Page project.
Add a Link to the page with the problem
Build a Technical Documentation Page
Provided URL to Test Suite in above linked page
Tell us about your browser and operating system

Browser Name: Chrome
Browser Version: 67
Operating System:  Win7

If possible, add a screenshot here

The development link for the test suite is broken, however, if you switch to the production version it's still working just fine.

@ChrisBrownie55 Got it thanks, just wanted to report the fact.


Improve unit test printout

Give printout in log even if test fails

Just for test, closing....

Indirectly updated now, closing this


Update Climate.jsx

Pull Request
Title
Redesigning Advanced Weather API with Automatic Location Fetching and Detailed Forecasting
Description
Redesigning Advanced Weather API with Automatic Location Fetching and Detailed Forecasting
Related Issues
Resolves #304
Changes Made
Redesigning Advanced Weather API with Automatic Location Fetching and Detailed Forecasting
Checklist

[x] I have tested the changes locally
[x] Documentation has been updated (if necessary)
[x] Changes are backward-compatible

Screenshots (if applicable)

Additional Notes

@manikumarreddyu  no level label is needed for this @MastanSayyad

@manikumarreddyu I already told you to add labels to actual worked PRs instead of dummy PRs, even if you add then add lower labels + with proper details and description, A reviewer once reviewers the code then he can only see on line of code with no meaning!

See the guidelines I saw you repo and you're favouring few people and making them to top on the leaderboard which is affecting other contributors scores

@Hemu21 @MastanSayyad Let me share what I did in backend and which didnt get reflected here. The code was in breaking state and was in live. I ran the same in my local, understood the issue and had a couple of gmeets with the PA and helped him solve it. I should've raised the PR for that.

Till this time, I was there with the PA upto nearly 2.30 pm. I can't prove the same as I didn't text him after the gmeet was over and I was tired like anything and slept.


Add a convenience API to cross-join a collection of disjoint tables

I ran into this need myself. Can also be useful for long-to-wide transformations

I'll make ibis.cross_join take varargs


PPPC Identifier wrong

In this documentation for “New configuration profiles for macOS Catalina and newer versions of macOS” there appear to be some errors. It notes using com.microsoft.wdav.epsext for the identifier in PPPC however that is not working. If you use com.microsoft.wdav, also changing that in the Code Requirements, it does work. Also the graphic for the System Extension shows an Approved Kernel Extension being set but does not show the details for that. That KEXT approval does not appear to be needed.
Also is this document intended to replace https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/mac-install-with-jamf#create-jamf-policies

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

ID: 2354a123-9769-6450-34b6-05e586bbdb4f
Version Independent ID: d3812533-1ea2-787b-8682-8c143dae9de1
Content: New configuration profiles for macOS Catalina and newer versions of macOS - Windows security
Content Source: windows/security/threat-protection/microsoft-defender-atp/mac-sysext-policies.md
Product: w10
Technology: windows
GitHub Login: @Dansimp
Microsoft Alias: dansimp

My issue with com.microsoft.wdav.epsext vs com.microsoft.wdav appears to be resolved. It's still unclear from the new document if it is intended to replace the other documentation "JAMF-based deployment for Microsoft Defender ATP for Mac"

@marckerr - Can you please confirm what resolved the issues? What changes should be made in the document to reflecting the correct information?
Thanks
Imran.

@marckerr - It was great to hear that your issue was resovled. Is there any information available at your end that can help to make this documentation better.
@e0i - FYI&A Please.
Thanks
Imran

@marckerr : If possible, please reply whether this documentation has been updated enough or if it still needs clarification based on your original issue.


Add method removeByPath() and support keys as arrays in method remove()

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

Fixed issues
#3

👍


[tool_crash] FileSystemException: Cannot open file, OS Error: Access is denied., errno = 5

Command
flutter doctor

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot open file, OS Error: Access is denied.
, errno = 5
#0      _File.open.<anonymous closure> (dart:io/file_impl.dart:356:9)
#1      _rootRunUnary (dart:async/zone.dart:1198:47)
#2      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#3      _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#4      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#5      Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#6      Future._completeWithValue (dart:async/future_impl.dart:529:5)
#7      Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7)
#8      _rootRun (dart:async/zone.dart:1190:13)
#9      _CustomZone.run (dart:async/zone.dart:1093:19)
#10     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#11     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
#12     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#13     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#14     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#15     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

[✓] Flutter (Channel stable, 1.20.2, on Microsoft Windows [Version 10.0.18363.1016], locale en-US)
    • Flutter version 1.20.2 at C:\Users\Dell\Desktop\flutter_class\flutter
    • Framework revision bbfbf1770c (2 weeks ago), 2020-08-13 08:33:09 -0700
    • Engine revision 9d5b21729f
    • Dart version 2.9.1

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\Dell\AppData\Local\Android\Sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_SDK_ROOT = C:\Users\Dell\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions.

[✓] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] VS Code (version 1.48.2)
    • VS Code at C:\Users\Dell\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.13.2

[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

Flutter Application Metadata
No pubspec in working directory.

Hi @Shalini0001,
There's similar open issue describing your case, 50880.
Please follow-up there for updates and any questions.
Closing this as duplicate.
Thanks.


Taxation ID is missing on the checkout as guest form

Actual Behavior
On the business user's registration form there is a taxation Id input field, but it is missing on the checkout as guest form

Expected Behavior
On the checkout as guest form it is possible to enter the taxation ID
Steps to Reproduce the Bug
Steps to reproduce the behavior:

Add some products to cart as anonymous b2b user
Go to cart and click checkout
Click the "checkout as guest" button
=> There is no form field "taxation ID"

Environment Details

Desktop: *

OS: [e.g. iOS]
Browser [e.g. chrome, safari], Version [e.g. 22]
Project Code Version

Smartphone: *

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari], Version [e.g. 22]
Project Code Version

Additional Context, like Screenshots, Log File Snippets etc.

has intentionally not been implemented


AttributeError: 'vtkmodules.vtkFiltersCore.vtkQuadricDecimation' object has no  attribute 'MapPointDataOn'

Hi @marcomusy,
I get this error when calling mesh.decimate() (in this brainrender example).
The problem seems to have been fixed in fbcfde34546a47f8165ad672372c3a80e0051539, so I was wondering if you'd be able to release a new vedo version?
Thanks!
P.S. Your help maintaining brainrender is very appreciated! Big fans of vedo!

Yes I am planning to have a release by the end of this month.


chore: rename package

this is a quite radical name change so we also should update the repository too, I think.
Follow up steps:
[ ] Deprecate old npm package
[ ] Rename github repo

isn't this a breaking change for existing alby-js-sdk user? :thinking: if yes probably we shall notify user's of package before taking this step

@pavanjoshi914 I think they just won't receive updates until they change their dependency.

cool! I see  npm decpricate  is quite helpfull here

Closing in favor of #46


[dv,chip_sw_clkmgr] Enhance peri_off test

Make this test more suitable for any peripheral clock.
Prepare for cpu_info dump checks.
Signed-off-by: Guillermo Maturana<EMAIL_ADDRESS>

Draft until the cpu_info RTL changes are merged.


RMI Connection

One should be able to retrieve the connection that called the RMI, this would be especialy helpful on a Server.

Cast to RemoteObject and call getConnection.


UI doesn't display spans in proper way

Describe the Bug
I have 3 simple APIs written in Python. The request starts from api_01 which calls api_02 then api_02 calls api_03.
All information about traceID and parentID are correct. Meaning that api_01 is a parent of api_02 and api_02 is a parent of api_03.
The issue comes in Zipkin UI. It displays "api_02 and api_03" spans as if they all are children of api_01.
As you can see in the following image, api_03 seems to be a direct child to api_01 and has no relation to api_02.

However, api_03 is api_02's child. Please see the related JSON:
[
    {
        "traceId": "e5ffdf91f32ca45d",
        "parentId": "b38b0404e8118915",
        "id": "b19a748b13e973a3",
        "kind": "CLIENT",
        "name": "do_stuff_api_03",
        "timestamp":<PHONE_NUMBER>542015,
        "duration": 2002423,
        "localEndpoint": {
            "serviceName": "api_03",
            "ipv4": "<IP_ADDRESS>",
            "port": 5000
        }
    },
    {
        "traceId": "e5ffdf91f32ca45d",
        "parentId": "b38b0404e8118915",
        "id": "b19a748b13e973a3",
        "kind": "SERVER",
        "name": "do_stuff_api_03",
        "timestamp":<PHONE_NUMBER>542015,
        "duration": 2002423,
        "localEndpoint": {
            "serviceName": "api_03",
            "ipv4": "<IP_ADDRESS>",
            "port": 5000
        },
        "shared": true
    },
    {
        "traceId": "e5ffdf91f32ca45d",
        "parentId": "41e575d16a685997",
        "id": "b38b0404e8118915",
        "kind": "SERVER",
        "name": "index_api_03",
        "timestamp":<PHONE_NUMBER>541946,
        "duration": 2002675,
        "localEndpoint": {
            "serviceName": "api_03",
            "ipv4": "<IP_ADDRESS>",
            "port": 5000
        },
        "shared": true
    },
    {
        "traceId": "e5ffdf91f32ca45d",
        "parentId": "e3082f5b15a58fa0",
        "id": "41e575d16a685997",
        "kind": "CLIENT",
        "name": "call_api_03",
        "timestamp":<PHONE_NUMBER>533419,
        "duration": 2026676,
        "localEndpoint": {
            "serviceName": "api_02",
            "ipv4": "<IP_ADDRESS>",
            "port": 5000
        }
    },
    {
        "traceId": "e5ffdf91f32ca45d",
        "parentId": "e3082f5b15a58fa0",
        "id": "41e575d16a685997",
        "kind": "SERVER",
        "name": "call_api_03",
        "timestamp":<PHONE_NUMBER>533419,
        "duration": 2026677,
        "localEndpoint": {
            "serviceName": "api_02",
            "ipv4": "<IP_ADDRESS>",
            "port": 5000
        },
        "shared": true
    },
    {
        "traceId": "e5ffdf91f32ca45d",
        "parentId": "f1f81ebfd8fb02b9",
        "id": "e3082f5b15a58fa0",
        "kind": "SERVER",
        "name": "index_api_02",
        "timestamp":<PHONE_NUMBER>533321,
        "duration": 2026935,
        "localEndpoint": {
            "serviceName": "api_02",
            "ipv4": "<IP_ADDRESS>",
            "port": 5000
        },
        "shared": true
    },
    {
        "traceId": "e5ffdf91f32ca45d",
        "parentId": "5a7c1fe0e7f25c2f",
        "id": "f1f81ebfd8fb02b9",
        "kind": "CLIENT",
        "name": "call_api_02",
        "timestamp":<PHONE_NUMBER>527233,
        "duration": 2045923,
        "localEndpoint": {
            "serviceName": "api_01",
            "ipv4": "<IP_ADDRESS>",
            "port": 5000
        }
    },
    {
        "traceId": "e5ffdf91f32ca45d",
        "parentId": "5a7c1fe0e7f25c2f",
        "id": "f1f81ebfd8fb02b9",
        "kind": "SERVER",
        "name": "call_api_02",
        "timestamp":<PHONE_NUMBER>527233,
        "duration": 2045924,
        "localEndpoint": {
            "serviceName": "api_01",
            "ipv4": "<IP_ADDRESS>",
            "port": 5000
        },
        "shared": true
    },
    {
        "traceId": "e5ffdf91f32ca45d",
        "id": "5a7c1fe0e7f25c2f",
        "kind": "SERVER",
        "name": "index_api_01",
        "timestamp":<PHONE_NUMBER>527150,
        "duration": 2046149,
        "localEndpoint": {
            "serviceName": "api_01",
            "ipv4": "<IP_ADDRESS>",
            "port": 5000
        }
    }
]

Steps to Reproduce
I uploaded the APIs code here:
https://github.com/MohamedMSaeed/tracing_flask_zipkin
Run docker-compose up
On your browser visit api_01 http://localhost:5001/
Zipkin url http://localhost:9411/
The code is provided bellow.
Expected Behaviour
I expect that api_03 is listed completely under api_02 span.
like in the following image:

This image is produced by editing in the JSON and re-upload it again to Zipkin. The only change is to change "id=b38b0404e8118915" kind from SERVER to CLIENT.
[
    {
        "traceId": "e5ffdf91f32ca45d",
        "parentId": "b38b0404e8118915",
        "id": "b19a748b13e973a3",
        "kind": "CLIENT",
        "name": "do_stuff_api_03",
        "timestamp":<PHONE_NUMBER>542015,
        "duration": 2002423,
        "localEndpoint": {
            "serviceName": "api_03",
            "ipv4": "<IP_ADDRESS>",
            "port": 5000
        }
    },
    {
        "traceId": "e5ffdf91f32ca45d",
        "parentId": "b38b0404e8118915",
        "id": "b19a748b13e973a3",
        "kind": "SERVER",
        "name": "do_stuff_api_03",
        "timestamp":<PHONE_NUMBER>542015,
        "duration": 2002423,
        "localEndpoint": {
            "serviceName": "api_03",
            "ipv4": "<IP_ADDRESS>",
            "port": 5000
        },
        "shared": true
    },
    {
        "traceId": "e5ffdf91f32ca45d",
        "parentId": "41e575d16a685997",
        "id": "b38b0404e8118915",
        "kind": "CLIENT",                       ## <--- here is the only change, form SERVER to CLIENT
        "name": "index_api_03",
        "timestamp":<PHONE_NUMBER>541946,
        "duration": 2002675,
        "localEndpoint": {
            "serviceName": "api_03",
            "ipv4": "<IP_ADDRESS>",
            "port": 5000
        },
        "shared": true
    },
    {
        "traceId": "e5ffdf91f32ca45d",
        "parentId": "e3082f5b15a58fa0",
        "id": "41e575d16a685997",
        "kind": "CLIENT",
        "name": "call_api_03",
        "timestamp":<PHONE_NUMBER>533419,
        "duration": 2026676,
        "localEndpoint": {
            "serviceName": "api_02",
            "ipv4": "<IP_ADDRESS>",
            "port": 5000
        }
    },
     ...
]

Code:
default_handler
def default_handler(encoded_span):
    body = encoded_span

    return requests.post(
        "http://zipkin:9411/api/v1/spans",
        data=body,
        headers={'Content-Type': 'application/x-thrift'},
    )

api_01
@zipkin_span(service_name='api_01', span_name='call_api_02')
def call_api_02():
    headers = create_http_headers_for_new_span()
    requests.get('http://api_02:5000/', headers=headers)
    return 'OK'

@app.route('/')
def index():
    with zipkin_span(
        service_name='api_01',
        span_name='index_api_01',
        transport_handler=default_handler,
        port=5000,
        sample_rate=100,
    ):
        call_api_02()
    return 'OK', 200

api_02
@zipkin_span(service_name='api_02', span_name='call_api_03')
def call_api_03():
    headers = create_http_headers_for_new_span()
    requests.get('http://api_03:5000/', headers=headers)
    return 'OK'

@app.route('/')
def index():
    with zipkin_span(
        service_name='api_02',
        zipkin_attrs=ZipkinAttrs(
            trace_id=request.headers['X-B3-TraceID'],
            span_id=request.headers['X-B3-SpanID'],
            parent_span_id=request.headers['X-B3-ParentSpanID'],
            flags=request.headers['X-B3-Flags'],
            is_sampled=request.headers['X-B3-Sampled'],
        ),
        span_name='index_api_02',
        transport_handler=default_handler,
        port=5000,
        sample_rate=100,
    ):
        call_api_03()
    return 'OK', 200

api_03
@zipkin_span(service_name='api_03', span_name='do_stuff_api_03')
def do_stuff():
    time.sleep(2)
    return 'OK'

@app.route('/')
def index():
    with zipkin_span(
        service_name='api_03',
        zipkin_attrs=ZipkinAttrs(
            trace_id=request.headers['X-B3-TraceID'],
            span_id=request.headers['X-B3-SpanID'],
            parent_span_id=request.headers['X-B3-ParentSpanID'],
            flags=request.headers['X-B3-Flags'],
            is_sampled=request.headers['X-B3-Sampled'],
        ),
        span_name='index_api_03',
        transport_handler=default_handler,
        port=5000,
        sample_rate=100,
    ):
        do_stuff()
    return 'OK', 200

Hi. we ask folks to start with gitter for support. you might notice this in
the issue template. that's because there tends to be situations where
troubleshooting doesnt result in a change to code in this repository.
can you switch your example to use the zipkin v2 json endpoint instead of
thrift and carry on with gitter? also make sure latest zipkin and py_zipkin
https://gitter.im/openzipkin/zipkin

FWIW the do_stuff spans look very incorrect as they are showing as client
and also server spans. do_stuff seems to be something that should be a
local span (no kind set)
please follow up on gitter but this might need to escalate to py_zipkin if
after you change to not using thrift it is still bad.

@adriancole Thank you very much for your reply.

I'm closing this issue.


Put structure into Doc, And Show into Hover

When I write a huge Interface , Mostly that  write be a  Tree structure Interface
like animal family this
interface Animal{
  felidae:{ // 猫科动物
    acinonyx:{ // 猎豹亚科
      "acinonyx jubatus":string // 猎豹
    },
    tiger:string
    lion:string
  },
}

When I use like this type Object,will be
let a: Animal = {
  felidae: {
    acinonyx: { "acinonyx jubatus": "111" },
    tiger: "222",
    lion: "333",
  },
};
a.felidae.acinonyx["acinonyx jubatus"] = "444";

this put all into Object ,that make  Mental burden small but code red tape.
if Interface like this
interface Animal {

  //#region felidae

  //#region acinonyx
  "acinonyx jubatus": string; // 猎豹
  //#endregion

  lion:string
  tiger:string;

  //#endregion

}

Use will be
let a :Animal = {"acinonyx jubatus":"111",tiger:"222",lion:"333"}
a["acinonyx jubatus"] = "444";

this way make code level Reduced , but Mental burden big ,code clear .
The Mental burden is big ,Because When Interface-attribute's counter is huge , attribute is difficult to find .
In old way use structure classify to find ,It's mean When we write code  we only need to  think about dotout what .
Old way thinks  only one thing.
New way need to  think more than one things .
Although  we still make mistakes. So We have another action ,that is proving the Type is right .In VSCode mostly use Mouse Hover var (also show the tsdoc).
However Why not we put A small piece of a line in a tree structure  into Mouse Hover Tip ?
Each line in the tree structure is unique ，So  A small piece of a line in a tree structure can prove which line
A small piece of a line  just be her father will be fine
definition:

Use:

tsdoc:

Same Use:

More Design for Code complement：
Code complement allow Object dotout  region name ,When structure line finished ,clean region name turn one attribute .

I'm having trouble understanding this issue but believe it may be something an extension could try to implement, potentially using a TypeScript service plugin


XCode 11.5 contains tvOS SDK 13.4 not 13.5 - Can't build?

It looks like 2020.3598 won't build for Apple TV as it is looking for tvOS 13.5 (which does not exists yet?) Although XCode 11.5 upgraded to iOS13.5 tvOS is 13.4
Won't load the Apple simulator or build as it is looking for 13.5 templates for everything.

This should be fixed by one of recent commits and next build.

Amazing - thank you!

Unfortunatelly there is some issues with building windows sim. But you can download macOS there no problems. (Click on Simulator-macOS)


Enhanced the 'Back' button on Login, Sign Up & Forgot Page.

#300

Issue #300 : Enhance the "color" of the "Back" button at Login/Signup Page -  solved
Type of PR

[ ] Feature enhancement

Description
This pull request aims to changes I made:
Matched the background color to the login-container (rgba(0, 0, 0, 0.8)).
Retained the smooth transitions and hover effects to make it interactive.
Added box-shadow similar to the login-container for visual consistency.
Slight transformation on hover and active states to give a modern feel.
Screenshots / Videos (if applicable)
Before:

After:

Checklist

[X] I have performed a self-review of my code.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.

Thank you for reviewing my pull request!

@RohanShrivastava08 Merge conflict. Please resolve.

Till there is conflict

Can you guide me once? I tried again it ran but I got this error on mail:
.github/workflows/auto-assign-action.yml: No jobs were run.
Can you help me a bit?

Can you guide me once? I tried again it ran but I got this error on mail: .github/workflows/auto-assign-action.yml: No jobs were run. Can you help me a bit?

There are too many conflicts. You should remove the unnecessary spaces inside the curly braces in the code. Don't worry about the 'No jobs done' message—it's due to an error in the auto-assign action within the .github/workflows/ folder.


fix tauri changes

in the docs.rs crate page it reports that there are some changesto tauri and some of your plugin functionality will be depreciated
can you update this plugin cause it seems really well made and I want to use it for my app!

thank you!

Ok I will take a look. @zenitogr

I couldn't find the message you provide, but I upgraded Tauri to the latest version and also sysinfo crate. You can check the current version (v0.2.0) and see if there is any problem.
sysinfo crate had lots of API changes, I also made the changes accordingly.
Let me know and reopen if the message still exists. Closed for now.


FF XrayWrapper fix

Should fix the #105
Every time the data are fetched instead of retrieved from cache, FF complains that we are modifying object we are not entitled to.

Error: Not allowed to define cross-origin object as property on [Object] or [Array] XrayWrapper

Quick solution is to do what works in other branch - just get the data from cache, even as we just stored it there. Effectively cloning it.

Cheers, that looks like a pragmatic solution! I will try to make time for it soon. Appreciated!

Thanks for this! I also believe this should fix the issue. I'm merging things and submitting a build to Firefox soon.


Theme Configuration/Navigation menu/Color palette - Won't change back to default values when leaving the category

If i use that Color palette to adjust the color it will change the color directly and that is nice but if i leave the Configuration category: i get this dialog telling me the changes will be lost but it will not change the color back on the main menu. It will keep the color until i refresh the page.

Hi,
Thanks for the suggestion - good point!

It will keep the color until i refresh the page.

Check the latest dev version. It should work fine starting with 19.76 release.


docs: update contributing.md and github PR template

Please fill in the template below before submitting your pull request. This helps keep a consistent structure for project history.
Metadata

[ ] Feature: a new feature.
[ ] Bug: a bug fix.
[ ] Refactor: a code change that neither fixes a bug nor adds a feature.
[ ] Style: changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.).
[ ] Test: adding missing tests or correcting existing tests.
[ ] Performance: a code change that improves performance.
[x] Documentation: changes to documentation.
[ ] Build: changes that affect the build system or external dependencies.
[ ] CI: changes to our CI configuration files and scripts.

Changes

Update contributing.md
Update pull-request.md tempalte

Checklist

[x] This PR contains only a single concern and is small enough to be reviewed easily.
[x] Documentation for this issue has been added or updated with this PR.
[x] Unit tests have been added, if applicable.

Screenshots
Please include any relevant screenshots if this PR pertains to a visible UI change.
Additional Information
Please include any additional notes you feel are necessary here.

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


feat: uni list mapping

Summary
Uni map listing
Additionally:

Migrate code to TS
Split into multiple files
Run for all chains both Coingecko and Uniswap mappings

Please post merge review


Banish .DS_Store files!

Here's an easy no-code pull request for ya. I like your fork, and it looks like you've done a lot of good for SVG-edit in general. I may end up using Method Draw in my node-webkit RoboPaint project to replace SVG-edit, which has been shown to be overcomplicated and buggy in many ways.
Here's hoping as I work through it, we'll not only go with it, but I can find more upstream changes to make as I move through. Custom cursors may be one of them.

This seems too wide to be a single pull request...


Establish a pathway/workflow from collaboration data (Portal) to production (UTRANS/SGID) database

Benefit
There's great benefit in collaborating with our stewards and users, however, under this workflow, we need a pathway (as we transition away from UTRANS) for these edits back to the projection database (SGID)
Acceptance Criteria

[x] An established workflow for trails in which the collaboration edits in the Portal DB (from WFRC, etc) find their way back to SGID (open data, and open data)

Notes
Over time, this workflow may change especially once we deprecate UTRANS. For now, UTRANS needs to be in the mix, until we migrate the existing ArcMap tools/processes to Pro.
No response
Risks
No response
Issue Reference
refs #

once we get a handle on the work that needs to be done that's outlined in #286 we'll be able to revisit this for the roads data.


Remove unnecessary log from test

Summary
An unnecessary log is present in the imitation test. This removes it.
Changes

Remove log from test

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 92.717%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
7129

Relevant Lines:
7388

💛  - Coveralls


Error w/ Helm Installation: Ensure CRDs are installed first

Bug description

Error when trying to helm install Scaphandre on Linux Ubuntu 22.04 VM after pulling repository.
Kubectl version: 1.27.2 (latest)
Minikube version: 1.30.1 (latest)
Error obtained: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "scaphandre" namespace: "" from "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1" ensure CRDs are installed first.
Tried working with older versions of kubectl, with no success.
Screenshots

I reproduced the issue.
After checking kubernetes documentation PodSecurityPolicy has been removed since Kubernetes v1.25.
I confirm that's working with previous kubernetes versions minikube start --kubernetes-version=v1.24.14

Could you try to install using helm chart on dev branch.
The PR #250  probably have already fix this issue on dev.

I am unable to clone the dev branch to try the installation @mmadoo

I am unable to clone the dev branch to try the installation @mmadoo

you just need to do inside scaphandre repository and execute commands:
git fetch
git switch dev
helm install scaphandre helm/scaphandre

Note: with these commands, you will use the helm version of dev branch, but the docker image is still latest (i.e. version from main branch)

I arrive a little late but I got the same problem as @earja but with a mysterious dev namespace . I confirm downgrade Minikube from 1.34.0 to version v1.24.14 solve the problem as said by @airclovis

Hi @earja @airclovis @mmadoo !
Did you get a different behavior since #250 is merged ?


update to Drupal 8.9.10

Update to Drupal 8.9.10

The composer.json has no changes. That is because the drupal-recommended package and the dependencies have fixed version values  like 8.9.6  and the ^ operator before the version, which means it will look for 8.9 and do not go to 8.10 but will take care of compatibility issues.


cant change the language

i'm not sure if what i'm doing is right but adjusting the language string to "ar" didn't switch to Arabic and was still showing English.

Did you change the model as well?
https://github.com/collabora/whisper-live/blob/main/server.py#L54
If you want any other language other than english you need to switch to smallinstead of small.en or medium instead of medium.en.

Closed by https://github.com/collabora/whisper-live/pull/21

Let's close this one, @mukhma0c feel free to reopen the issue if the issue isn't solved.


Add "pprof cpu" command to take CPU profiles

Everything is analogous to the "pprof trace" command.

kicking over to @patrickxb


added performance tests

Added performance test with and without mplite using sleep and iteration functions. Read me updated accordingly

This looks good, but there are no assertions in the "test".
The test should probably fail if the expected relations are not correct:

test #
MP=On
MP=Off
assertion

1
4 sec
0.1 sec
a>b

2
4.1 sec
20 sec
a<b

Do take care though: The tests are run on various servers depending on availability, so you can't expect a particular number of seconds for a test. You can only count on that one process will be relative to another.


Jest testing

In this milestone I:

[ ] Added Jets test library
[ ] Added a file for testing by jest

Thanks for your email.
Just give me 30 mins and I will commit the changes.
Thanks
On Fri, Nov 3, 2023 at 1:00 AM Adebowale Adegboye Monsur <
@.***> wrote:

@.**** commented on this pull request.
In src/tests/Operate/operate.test.js
https://github.com/tawakuliKH/react-math-magicians/pull/9#discussion_r1380801041
:

+import Big from 'big.js';
+import operate from '../../logic/operate';

+describe('operate', () => {

it('adds two numbers correctly', () => {

const result = operate('2', '3', '+');

expect(result).toEqual(Big('5').toString());

});

it('subtracts two numbers correctly', () => {

Great job by adding the snapshot but kindly follow the project
requirement also according to your previouse reviewer All the
functionalities & scenarios of the operate.js and calculate.js modules
should be covered using Jest.
There should be the usage of Jest snapshots for testing all the
components.kindly add the snapshot test to the remain component whch
operate.js
There should be the usage of the React Testing Library to simulate
user interaction.

—
Reply to this email directly, view it on GitHub
https://github.com/tawakuliKH/react-math-magicians/pull/9#pullrequestreview-1711274390,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANWH2VOXJ7WLH3VD7WY55STYCQGINAVCNFSM6AAAAAA6Z26ZD2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTOMJRGI3TIMZZGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Sincerely,
Khadim Tawakuli
Kabul, Afghanistan
Contact#: +93765074686


Log spamming.

I get these in my logs every 5th second:
 ERROR (Thread-16) [pychromecast.socket_client] Failed to connect, retrying in 5s
Traceback (most recent call last):
  File "/home/stefan/.homeassistant/lib/pychromecast/socket_client.py", line 160, in initialize_connection
    self.socket.connect((self.host, 8009))
  File "/usr/lib/python3.4/ssl.py", line 846, in connect
    self._real_connect(addr, False)
  File "/usr/lib/python3.4/ssl.py", line 837, in _real_connect
    self.do_handshake()
  File "/usr/lib/python3.4/ssl.py", line 810, in do_handshake
    self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer

I think it would be enough with an INFO level log instead?

Well no, it's an error that shouldn't happen. It's your chromecast hanging
up on us.
On Wed, Sep 23, 2015, 02:03 Stefan Jonasson<EMAIL_ADDRESS>wrote:

I get these in my logs every 5th second:
ERROR (Thread-16) [pychromecast.socket_client] Failed to connect, retrying in 5s
Traceback (most recent call last):
File "/home/stefan/.homeassistant/lib/pychromecast/socket_client.py", line 160, in initialize_connection
self.socket.connect((self.host, 8009))
File "/usr/lib/python3.4/ssl.py", line 846, in connect
self._real_connect(addr, False)
File "/usr/lib/python3.4/ssl.py", line 837, in _real_connect
self.do_handshake()
File "/usr/lib/python3.4/ssl.py", line 810, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
I think it would be enough with an INFO level log instead?
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/pychromecast/issues/60.

I don't want to unplug my chromecast because it works. As I understand it I cannot disable the chromecast detection in the Home assistant discovery module so there is no way for me to stop this logging. Maybe we could add some try x times and then wait for some longer period and try again.
Maybe just remove the traceback so it's not so verbose!
If this is happening for me it's probably happening for other chromecasts as well.

I have no issues here. There is some max retries code available in pychromecast but we're not using it right now within Home Assistant.
As a quick solution for you: write a custom component that disables error logging for pychromecast

The traceback is helpful in debugging if any other error is happening. It is an error after all.
For HA, you could write a custom component to disable pychromecast error logging.

I had the same logs tonigh in my daemon script used to monitor chromecast. The problem is that after I got this "spam" logs, pychromecast is unable to do anything with my chromecast. I need to force quit my script and relaunch it.
Here's the logs :
2015-12-14 03:29:58,579 - pychromecast.controllers - INFO - Receiver:Stopping current app 'E8C28D3C'
2015-12-14 04:37:01,222 - pychromecast.socket_client - ERROR - Error communicating with socket, resetting connection
2015-12-14 04:37:09,217 - pychromecast.socket_client - ERROR - Failed to connect, retrying in 5.000000s
Traceback (most recent call last):
  File "/usr/local/python3/lib/python3.4/site-packages/pychromecast/socket_client.py", line 213, in initialize_connection
    self.socket.connect((self.host, 8009))
  File "/usr/local/python3/lib/python3.4/ssl.py", line 841, in connect
    self._real_connect(addr, False)
  File "/usr/local/python3/lib/python3.4/ssl.py", line 832, in _real_connect
    self.do_handshake()
  File "/usr/local/python3/lib/python3.4/ssl.py", line 805, in do_handshake
    self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
2015-12-14 04:37:14,724 - pychromecast.controllers - INFO - Receiver:Updating status
2015-12-14 09:22:06,859 - pychromecast.socket_client - ERROR - Error reading from socket.
2015-12-14 09:22:06,860 - pychromecast.socket_client - ERROR - Error communicating with socket, resetting connection

This log spamming is affecting me too. All I did was switch my TV off (depowering the Chromecast) and I get this every five seconds:
ERROR:pychromecast.socket_client:Failed to connect, retrying in 5s
Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/pychromecast/socket_client.py", line 160, in initialize_connection
self.socket.connect((self.host, 8009))
File "/usr/local/lib/python3.4/ssl.py", line 846, in connect
self._real_connect(addr, False)
File "/usr/local/lib/python3.4/ssl.py", line 833, in _real_connect
socket.connect(self, addr)
OSError: [Errno 113] No route to host
Like @stefan-jonasson mentioned, it's not an exceptional circumstance when a Chromecast is not available on the network. In fact, the log message I'd expect to see is one message when the Chromecast goes offline, and another one when it's online again - the retries should be silent.

Using my Chromecast in the same way as @flyte.
It's in general common practice to power the Chromecast from the TV/monitor or stereo system for the Chromecast audio.

I'm having the same problem after rebooting HA.
Eventually it works after a while.
Meanwhile HA frontend is not available.

It is possible for the new version to actually cease to communicate with all chromecasts in the net? I've two of them, one offline, x.x.1.8, and another online , x.x.1.10. I see all of them as 'off' on HA, and I see a lot of these errors.
Thanks!

I can confirm that replacing
except socket.error:

by
except (socket.error,OSError):

in pychromecast
SEEMS to have solved the issue.

That is correct. This is fixed in the PR I have open.
On Tuesday, January 5, 2016, Esteban Siravegna<EMAIL_ADDRESS>wrote:

I can confirm that replacing
except socket.error:
by
except (socket.error,OSError):
in pychromecast
https://github.com/balloob/pychromecast/blob/master/pychromecast/socket_client.py#L225
SEEMS to have solved the issue.
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/pychromecast/issues/60#issuecomment-168996237
.

--
Thanks,
Ryan Kraus

All the issues that have been brought up here should now be fixed in the master branch.

@rmkraus Looks like the the socket_client.py still has except socket.error: instead of except (socket.error,OSError):.
I ask this because I am inundated with pychromecast.socket_client: Failed to connect, retrying in 5.000000s in Home Assistant.

That error is purposefully thrown into the log as an Exception with traceback the first time it occurs while reconnecting. After the first failed attempt, the message will be thrown at the Debug level so as not to spam the log. It is an important message, so it is best not to silence it completely. The message will reappear in the log if it is raised the next time PyChromecast is reconnecting.
See: https://github.com/balloob/pychromecast/blob/bbcf72c3618a31a306ce85e4b7678b59277113b7/pychromecast/socket_client.py#L235
Since this was a year ago, I cannot 100% remember doing it. However, we did not choose to change the Exceptions that were trapped by the try-except clause. It ended up not being necessary. Instead, I implemented the behavior described above.


[BUG] The default number of entries in the data/table view (10) is a waste of screen space and frustrating

Describe the bug
[Ack: as much usability as a bug]
EVERYTIME i use primate I have to change the number of items displayed to make reasonable use of screen space.
It quickly becomes frustating.
Some experiementation shows that a default around 17 suits most display screens.   15 is 'safe' but still often leaves quite a bit of empty screen space.
To Reproduce
Log in and goto any screen where you have more than 10 entities.
Expected behavior
'Better' use of available screen area.
dynamically setting the initial number of items to match the screen size would be most awesome, but failing that, a better default is desirable.
Screenshots

Desktop (please complete the following information):

OS: [e.g. Windows, Mac, iOS, Android with device/screen details if applicable]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

We had this initially set to 20 to match old UI, then 15 previously and we set this to 10 after getting complains from laptop users which may not have FHD/4K displays. The best strategy I can come up with is to set the default pagesize based on screen types; for mobile/table users keep it to 10 by default and for desktop users keep it to 20 by default.
Screenshots:
FHD (1920x1020)

Laptop/tablet user:


One to one relationship breaks admin

A small example of my model:
class XXX(db.Model):
    id = db.Column(db.Integer, primary_key=True)

class YYY(db.Model):
    id = db.Column(db.Integer, db.ForeignKey('xxx.id'), primary_key=True)

    xxx = db.relationship(XXX, lazy='subquery',
        backref=db.backref('yyy', uselist=False, lazy='subquery'))

The edit view expect a list (one-to-many?). If I have the instance XXX.yyy, I receive a TypeError: argument of type 'YYY' is not iterable. If XXX.yyy is None, I receive a TypeError: argument of type 'NoneType' is not iterable.
Looks like flask-admin is expecting a list instead of a one-to-one relationship.
I'm using flask-admin 1.0.7 with SQLAlchemy. What I'm doing wrong?

@hongquan  and @iurisilvio
Instead of use inline_models use inline_model_form_converter
e.g:
inline_model_form_converter = OwnerPermission


Focus editor after button click

Fixes #26

#32

Merge this oneeeeee

Excellent PR, thanks @AbilashK.
@tomasdev merged, new release coming soon.


using coputil

What does this PR do?
This PR replaces some of the functions in finalize.go with the equivalent functions found in github.com/redhat-cop/operator-utils/pkg/util
What issues does this PR fix or reference?
N/A
Is it tested? How?
e2e-tests and unit tests were run

/test v5-devworkspaces-operator-e2e

/test v5-devworkspaces-operator-e2e

/test v5-devworkspaces-operator-e2e

/test v5-devworkspaces-operator-e2e

/test v5-devworkspaces-operator-e2e

/test v5-devworkspaces-operator-e2e

/retest


Prepare Storage for going live

Sub-tasks

[x] Add ticket for DNS
[x] Add external alias to radixconfig
[x] Add certificate to radix
[x] Add sitemap.xml
[ ] Add GTM config

@fernandolucchesi I guess we/you need to configure GTM for storage?

https://github.com/equinor/energyvision-internal/commit/7f3af605e8a0a192ce564681e2a2da8fc3609647

We are live!


Revert UserManager to the deployed version

@maxweng  Did the admin change happen for this bug? If so we can probably update this PR to reflect the admin change?

@maxweng Did the admin change happen for this bug? If so we can probably update this PR to reflect the admin change?

Which admin change, the controller's admin?


More graceful handling of the map image API endpoints

At the moment, we see errors in the logs from clients causing NGinx to hit /index.html because we're assuming there's HTML there to load.
Option 1: Make the API endpoints end in .png so this behaviour never surfaces.
Option 2: Configure NGinx not to do this for theses specific endpoints.
What's RESTful best practice for serving API endpoints that end in .png?
For Option 1, we had a play with https://www.django-rest-framework.org/tutorial/2-requests-and-responses/#adding-optional-format-suffixes-to-our-urls and couldn't quite get it to work.
Maybe the NGinx path is easier, but having a file extension seems cleaner?
AB#14

Closing and merging into https://github.com/keithamoss/demsausage/issues/1344


scarb init creates an outdated Scarb.toml

Problem
When running scarb init using 2.9.1, this is the Scarb.toml that gets created:
[package]
name = "rrr"
version = "0.1.0"
edition = "2023_11"

# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html

[dependencies]
starknet = "2.9.1"

[dev-dependencies]
snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry", tag = "v0.27.0" }

[[target.starknet-contract]]
sierra = true

[scripts]
test = "snforge test"

There's 2 issues:

It's not using the latest Cairo edition (2024_07)
It's not using the scarbs package for the latest snforge_std (the dev-dependency should be just snforge_std = "0.34.0").

Steps
No response
Possible Solution(s)
No response
Notes
Besides the issues described above, this is the output of running scarb init - full of warnings

scarb init
✔ Which test runner do you want to set up? · Starknet Foundry (default)
    Updating git repository https://github.com/foundry-rs/starknet-foundry
warn: `edition` field not set in `[package]` section for package `empty_lib`
warn: `edition` field not set in `[package]` section for package `basic_package`
warn: `edition` field not set in `[package]` section for package `cheatnet_testing_contracts`
warn: `edition` field not set in `[package]` section for package `contract_printing`
warn: `edition` field not set in `[package]` section for package `panic_decoding`
warn: `edition` field not set in `[package]` section for package `fuzzing`
warn: `edition` field not set in `[package]` section for package `fibonacci2`
warn: `edition` field not set in `[package]` section for package `subtraction`
warn: `edition` field not set in `[package]` section for package `trace_info`
warn: `edition` field not set in `[package]` section for package `file_reading`
warn: `edition` field not set in `[package]` section for package `empty`
warn: `edition` field not set in `[package]` section for package `simple_package`
warn: `edition` field not set in `[package]` section for package `trace_resources`
warn: `edition` field not set in `[package]` section for package `diagnostics_and_plugins`
warn: `edition` field not set in `[package]` section for package `exit_first`
warn: `edition` field not set in `[package]` section for package `env`
warn: `edition` field not set in `[package]` section for package `steps`
warn: `edition` field not set in `[package]` section for package `hello_workspaces`
warn: `edition` field not set in `[package]` section for package `addition`
warn: `edition` field not set in `[package]` section for package `fibonacci`
warn: `edition` field not set in `[package]` section for package `forking`
warn: `edition` field not set in `[package]` section for package `collection_without_lib`
warn: `edition` field not set in `[package]` section for package `should_panic_test`
warn: `edition` field not set in `[package]` section for package `erc20_package`
warn: `edition` field not set in `[package]` section for package `component_macros`
warn: `edition` field not set in `[package]` section for package `collection_with_lib`
warn: `edition` field not set in `[package]` section for package `build_fails_no_sierra`
warn: `edition` field not set in `[package]` section for package `cast_addition`
warn: `edition` field not set in `[package]` section for package `cast_fibonacci`
warn: `edition` field not set in `[package]` section for package `main_workspace`
warn: `edition` field not set in `[package]` section for package `package1`
warn: `edition` field not set in `[package]` section for package `package2`
warn: `edition` field not set in `[package]` section for package `build_fails`
warn: `edition` field not set in `[package]` section for package `constructor_with_params`
warn: `edition` field not set in `[package]` section for package `map`
warn: `edition` field not set in `[package]` section for package `build_fails_no_casm`
warn: `edition` field not set in `[package]` section for package `tx_status_test_scripts`
warn: `edition` field not set in `[package]` section for package `misc_script`
warn: `edition` field not set in `[package]` section for package `deploy_test_scripts`
warn: `edition` field not set in `[package]` section for package `invoke_script`
warn: `edition` field not set in `[package]` section for package `missing_field_script`
warn: `edition` field not set in `[package]` section for package `state`
warn: `edition` field not set in `[package]` section for package `state_script`
warn: `edition` field not set in `[package]` section for package `declare_test_scripts`
warn: `edition` field not set in `[package]` section for package `call_test_scripts`
warn: `edition` field not set in `[package]` section for package `map`
warn: `edition` field not set in `[package]` section for package `map_script`
warn: `edition` field not set in `[package]` section for package `script1`
warn: `edition` field not set in `[package]` section for package `script2`
warn: `edition` field not set in `[package]` section for package `old_sncast_std`
warn: `edition` field not set in `[package]` section for package `state_file_test_script`
warn: `edition` field not set in `[package]` section for package `empty_lib`
warn: `edition` field not set in `[package]` section for package `basic_package`
warn: `edition` field not set in `[package]` section for package `cheatnet_testing_contracts`
warn: `edition` field not set in `[package]` section for package `contract_printing`
warn: `edition` field not set in `[package]` section for package `panic_decoding`
warn: `edition` field not set in `[package]` section for package `fuzzing`
warn: `edition` field not set in `[package]` section for package `fibonacci2`
warn: `edition` field not set in `[package]` section for package `subtraction`
warn: `edition` field not set in `[package]` section for package `trace_info`
warn: `edition` field not set in `[package]` section for package `file_reading`
warn: `edition` field not set in `[package]` section for package `empty`
warn: `edition` field not set in `[package]` section for package `simple_package`
warn: `edition` field not set in `[package]` section for package `trace_resources`
warn: `edition` field not set in `[package]` section for package `diagnostics_and_plugins`
warn: `edition` field not set in `[package]` section for package `exit_first`
warn: `edition` field not set in `[package]` section for package `env`
warn: `edition` field not set in `[package]` section for package `steps`
warn: `edition` field not set in `[package]` section for package `hello_workspaces`
warn: `edition` field not set in `[package]` section for package `addition`
warn: `edition` field not set in `[package]` section for package `fibonacci`
warn: `edition` field not set in `[package]` section for package `forking`
warn: `edition` field not set in `[package]` section for package `collection_without_lib`
warn: `edition` field not set in `[package]` section for package `should_panic_test`
warn: `edition` field not set in `[package]` section for package `erc20_package`
warn: `edition` field not set in `[package]` section for package `component_macros`
warn: `edition` field not set in `[package]` section for package `collection_with_lib`
warn: `edition` field not set in `[package]` section for package `build_fails_no_sierra`
warn: `edition` field not set in `[package]` section for package `cast_addition`
warn: `edition` field not set in `[package]` section for package `cast_fibonacci`
warn: `edition` field not set in `[package]` section for package `main_workspace`
warn: `edition` field not set in `[package]` section for package `package1`
warn: `edition` field not set in `[package]` section for package `package2`
warn: `edition` field not set in `[package]` section for package `build_fails`
warn: `edition` field not set in `[package]` section for package `constructor_with_params`
warn: `edition` field not set in `[package]` section for package `map`
warn: `edition` field not set in `[package]` section for package `build_fails_no_casm`
warn: `edition` field not set in `[package]` section for package `tx_status_test_scripts`
warn: `edition` field not set in `[package]` section for package `misc_script`
warn: `edition` field not set in `[package]` section for package `deploy_test_scripts`
warn: `edition` field not set in `[package]` section for package `invoke_script`
warn: `edition` field not set in `[package]` section for package `missing_field_script`
warn: `edition` field not set in `[package]` section for package `state`
warn: `edition` field not set in `[package]` section for package `state_script`
warn: `edition` field not set in `[package]` section for package `declare_test_scripts`
warn: `edition` field not set in `[package]` section for package `call_test_scripts`
warn: `edition` field not set in `[package]` section for package `map`
warn: `edition` field not set in `[package]` section for package `map_script`
warn: `edition` field not set in `[package]` section for package `script1`
warn: `edition` field not set in `[package]` section for package `script2`
warn: `edition` field not set in `[package]` section for package `old_sncast_std`
warn: `edition` field not set in `[package]` section for package `state_file_test_script`
Created package.

Version
scarb 2.9.1 (aba4f604a 2024-11-29)
cairo: 2.9.1 (https://crates.io/crates/cairo-lang-compiler/2.9.1)
sierra: 1.6.0

Hi!
If you choose starknet-foundry as a test runner during Scarb init, it's actually snforge that's responsible for creating your package.
The edition and version of snforge deps will rely on the version of snforge available in your system.
CC @cptartur

@milancermak
Re 1. The edition used in the template is snforge version dependent. It's using 2024_07 since version 0.33.0.
Re 2. Using the package from registry is being worked on as part of this https://github.com/foundry-rs/starknet-foundry/issues/2587 also it will use the version of snforge_std that matches your snforge version, it intentionally doesn't default to latest.


Unable to pull in object content with a post save signal. FeinCMS 1.11.4

So briefly, my issue is that I'm attempting to grab an instance's content types during a post save signal. In my case, I have an Article Model that has a lot of different content types tied to it via the FeinCMS e.g. Markup Text, Image, and etc.. And when I attempt to access this during the save process, they don't exist yet, but after the actual entire object save, they are there, and I want to be able to pull in these content types because I'm syncing the rendered html from each of these content types to another model and app.
Any insight or tips would be great.
Thanks!

You probably want the m2m_changed signal instead of post_save, see https://docs.djangoproject.com/en/1.9/ref/signals/#django.db.models.signals.m2m_changed
I also seem to remember we emit a custom signal in feincms for that, but I might be wrong here, it just sounds familiar...
    mjl

On 26 Feb 2016, at 18:43, jsqho<EMAIL_ADDRESS>wrote:
So briefly, my issue is that we're attempting to grab an instance's content types during a post save signal. In my case, I have an Article Model that has a lot of different content types tied to it via the FeinCMS e.g. Markup Text, Image, and etc.. And when I attempt to access this during the save process, they don't exist yet, but after the actual entire object save, they are there, and I want to be able to pull in these content types because I'm syncing the rendered html from each of these content types to another model and app.
Any insight or tips would be great.
Thanks!
―
Reply to this email directly or view it on GitHub.

Indeed. If you're using the ItemEditor, you can listen to feincms.signals.itemeditor_post_save_related, or simply override ModelAdmin.save_related (historical note: this particular method was not available when the signal was added, now both ways are equivalent.)

Sounds good. I'll give it a shot and report back in if it's a viable solution to my problem. And thanks!

Great news. Using the save_related from the ModelAdmin gave me exactly the attributes I needed. Thanks @matthiask  and @mjl for the nudge in the right direction. Also, for the item_editor_post_save_related, I couldn't find any real documentation for it, so just wanted to let you know just in case someone else might want access to it. Thanks again!


unable to modify settings via MQTT

HACS version installed is 0.7.3
Plate info - newly added to system
openHASP
Version | 0.7.0-rc12 cd34d89
Build DateTime | May 23 2024 22:15:50 UTC
Environment | lanbon_l8
I also have 7 other plates on earlier firmware that work fine.
This plate is communicating with HA via MQTT as all the config has updated on the screen and the plate functions as expected.
have a script that publishes updates via MQTT to update the idle and idle2 values on all plates. this new one doesnt seem to accept or receive it (nothing changes). all my other plates are working fine.
script details:
topic: hasp/plates/config/gui
payload: {"idle2":10}
i have MQTT explorer open and can see the messages being sent OK.

I can confirm the same issue with  0.7.0-rc12 running on sunton-8048s050c. I solved it temporarily by switching to command/json instead of config/gui:
topic: hasp/plates/command/json
payload: "['config/gui  {"idle2":0}']"
This works fine.


Square root backward pass

[ ] Create a new branch off of newsolver
[ ] Add a sqrt_backwardpass method in this file
[ ] Add a use_sqrt_bp option to SolverOptions
[ ] Add a top-level backwardpass! that calls the correct backwardpass based on the solver option

Resources:

The old sqrt backward pass from much older version of TrajectoryOptimization: https://github.com/RoboticExplorationLab/Altro.jl/blob/newsolver/src/solver_opts.jl#L32
The AL-iLQR Tutorial

@bjack205 Is there any past reference implementation for the square root backwards pass used in ALTRO? The DownDate operation in the tutorial is unclear, so was looking for the code. I'm trying to re-implement it in C++ and the link above no longer works.

It's a rank 1 down date of a Cholesky factorization. Here is the Julia function:
https://docs.julialang.org/en/v1/stdlib/LinearAlgebra/#LinearAlgebra.lowrankdowndate
Eigen also has this function.


DSL macro expansion

Hi guys, thanks for creating such a beginner-friendly CSS tool for Reason beginners like myself.
Are there any plans to improve the verbosity of the DSL through something like a macro expansion extension to Reason? https://github.com/cyrus-/relit
To a beginner, it feels like the holy grail of css-in-Reason is to write in plain (or nearly plain) css. Something like:
module Styles = {
  open Css_notation;

  let card = $css `
    display: flexbox;
    flex-direction: column;
    align-items: stretch;
    background-color: white;
    box-shadow: 3px 5px rgba(0, 0, 0, 0.3);
    padding: ${Theme.basePadding};
  `;
};

I'm not sure what's technologically feasible here, so I'd be really interested to know whether this is worth looking into or just a total dead end. Thanks.

Hey, thanks for the link. Ah, ok, my understanding of what's available in js land vs. what's just backend is a bit fuzzy, but good to know. Cheers.


bug(gservice, clippy): stop forcing having traits and types in scope

Encode/Decode/TypeInfo + type Vec

This was fixed in the scope of the #251


Just normal encoder instead of serial

Can the code be altered for use of normal encoder instead of serial Manchester type?

OK, I fixed the encoder to run, just added two lines in your setup:
pinMode(ini_block.enc_clk_pin,PULLUP);
pinMode(ini_block.enc_dt_pin,PULLUP);
And it works!

Right, my rotary encoder has pull-ups on board.


Delete handles completely, rename Provider to Object

This completely gets rid of handles and it also renames provider to object.
I might hold off on this one by a few days just in case anyone is referring to handles in their code?

Passes all integration tests as well

@prbot approve

Woah!


[Update Request]: Apple.iCloud <IP_ADDRESS>

What type of update are you requesting?
A new version of an existing package
Current Package Identifier
Apple.iCloud
Package Version
<IP_ADDRESS>
Please describe the changes you would like to see
There is a new release available (<IP_ADDRESS>):
https://www.microsoft.com/store/productId/9PKTQ5699M62
Current winget-pkg manifest is for version <IP_ADDRESS>

The non-store legacy edition has been deprecated since many years ago. The package is there in case some people need it, e.g., AltStore may need it to sideload some apps.


[FEATURE] Login in with OAuth

Description
Ideas after authenticated:

Login to see your stats (if private or not)
Create profile using online form (if json exists ignore if profile in DB)
Favourite profiles
Interested in events (set reminder)

Screenshots
No response
Additional information
No response

Sounds great. Can I also work on this issue?

Hey @eddiejaoude , I was wondering. Since the goal of having PRs to create the profile was to encourage people to learn how to contribute to open source. Doesn't having an online form to do that go against this?
I feel having the PR system has led to a lot more contributors as they see that oh I can contribute this easily and then tend to then go do reviews, create issues and much more.
Was wondering what your thoughts are on this?

Hey @eddiejaoude , I was wondering. Since the goal of having PRs to create the profile was to encourage people to learn how to contribute to open source. Doesn't having an online form to do that go against this?
I feel having the PR system has led to a lot more contributors as they see that oh I can contribute this easily and then tend to then go do reviews, create issues and much more.
Was wondering what your thoughts are on this?🤔

This has been done


Do you want to add text trace of video.js ?

V3.0.0 version, has been refactored to support all videojs api, you can customize the required functions according to their needs, or use an external third party plugin.
refer here: https://github.com/surmon-china/vue-video-player/blob/master/examples/03-video.vue


Problems currently existing in version 2.1

①Live photos cannot be transferred from ios to windows. [Solution: Live photos can be transferred normally when turned off.]
②In version 0.4, iOS heic photos can be automatically converted to jpg when transferred to windows. Now it is not possible. Can you add it?
③I cannot find the landrop option when selecting the share button in the iOS 16 photo app, but there was a landrop option in the previous 0.4 version.
My device IOS16.6.1/Windows11 23h2

For 3, I've fixed it and it'll be resolved in the newest iOS update version 2.1.1

The size of the *.png photo transferred from the computer to IOS has been reduced from 12.51MB to 4.37MB. The resolution has not changed. I don’t know what has changed. When iOS transfers the same photo back to the computer, the photo size will not become smaller. You can test it.

I'm guessing it's when LANDrop saves the image to the gallery, it's further compressed somehow?

For ① When live photos are not turned off manually, selecting the share button in the Apple Photos app to transfer to the computer can succeed and the file is converted to *jpg. However, selecting the photo button in the landrop software and then selecting live photos to transfer will fail.
For ④ Did you find the problem with photos changing size during transfer? It appears that the pixels per inch are altered and become unreadable after transfer.


salt: 3002.6 -> 3003

Motivation for this change
Salt 3003 was released: https://docs.saltproject.io/en/latest/topics/releases/3003.html
No CVEs this time 🙂
Things done

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

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

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

Result of nixpkgs-review pr 118316 at 3267661f run on aarch64-linux 1

1 package marked as broken and skipped:

pepper

1 package built successfully:

salt

1 suggestion:

warning: missing-patch-comment
Please add a comment on the line above, explaining the purpose of this patch.
Near pkgs/tools/admin/salt/default.nix:29:15:
   |
29 |   patches = [ ./fix-libcrypto-loading.patch ];
   |               ^


fix NPE on invalid blob digest

simpleResponse uses the currentMessage to determine if the connection
should be kept alive. reset() sets the currentMessage to null which
resulted in a NPE.

ack


hisrc-basicjaxb vs jaxb-tools

I have already asked the question on SO, but unfortunately did not received an answer. That's why I'm trying my luck here.
Besides your project there is also jaxb-tools. Are you aware of this? Would it possibly make sense to join forces and merge the two projects back into one, or to endeavor to work together?  It would be a real shame if resources were wasted and two projects with the same goal ended up existing in parallel.

See https://github.com/highsource/jaxb-tools/issues/450

Thank you for your interest. Everyone's work is valuable and anyone is free to incorporate code from my forks into their open source (BSD 3) projects. For my part, I prefer to work in parallel.

All right then.


large_image.exceptions.TileSourceError: No available tilesource

Hi @banesullivan,
Apologies for hijacking someone else's issue. I thought it was related.
I am having the No available tilesource issue. To give you the background, I am trying to load a Satellite image on a map using Jupyter Notebook. I am using the following piece of code:
from localtileserver import get_leaflet_tile_layer, TileClient
tile_client = TileClient(image_path)
get_leaflet_tile_layer(tile_client)

Full stack trace:

[2022-01-18 16:41:14,725] ERROR in app: Exception on /api/metadata [GET]
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\envs\geo_env\lib\site-packages\flask\app.py", line 1516, in full_dispatch_request
rv = self.dispatch_request()
File "C:\ProgramData\Anaconda3\envs\geo_env\lib\site-packages\flask\app.py", line 1502, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "C:\ProgramData\Anaconda3\envs\geo_env\lib\site-packages\flask_restx\api.py", line 403, in wrapper
resp = resource(*args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\geo_env\lib\site-packages\flask\views.py", line 84, in view
return current_app.ensure_sync(self.dispatch_request)(*args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\geo_env\lib\site-packages\flask_restx\resource.py", line 49, in dispatch_request
resp = meth(*args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\geo_env\lib\site-packages\flask_caching_init_.py", line 475, in decorated_function
rv = f(*args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\geo_env\lib\site-packages\localtileserver\tileserver\rest.py", line 147, in get
tile_source = self.get_tile_source()
File "C:\ProgramData\Anaconda3\envs\geo_env\lib\site-packages\localtileserver\tileserver\rest.py", line 141, in get_tile_source
return utilities.get_tile_source(filename, projection, style=sty)
File "C:\ProgramData\Anaconda3\envs\geo_env\lib\site-packages\localtileserver\tileserver\utilities.py", line 74, in get_tile_source
return large_image.open(str(path), projection=projection, style=style, encoding="PNG")
File "C:\ProgramData\Anaconda3\envs\geo_env\lib\site-packages\large_image\tilesource_init_.py", line 143, in open
return getTileSource(*args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\geo_env\lib\site-packages\large_image\tilesource_init_.py", line 131, in getTileSource
return getTileSourceFromDict(AvailableTileSources, *args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\geo_env\lib\site-packages\large_image\tilesource_init_.py", line 119, in getTileSourceFromDict
raise TileSourceError('No available tilesource for %s' % pathOrUri)
large_image.exceptions.TileSourceError: No available tilesource for P:\Boliden\Data\014050240020_01\output\20MAR30103630-M2AS-014050240020_01_P001_calibrated_QUAC_byte.tif

HTTPError                                 Traceback (most recent call last)
C:\Users\PRITIM~1\AppData\Local\Temp/ipykernel_11608/4220505374.py in
----> 1 geo_jsons = display_map(center, image_overlay=rgb_byte, text = "Draw Water/Vagitation ROIs")
P:\Boliden\notebooks\utils\display_map.py in display_map(center, zoom, image_overlay, text)
44         tile_client = TileClient(image_overlay)
45         # Create ipyleaflet tile layer from that server
---> 46         t = get_leaflet_tile_layer(tile_client)
47
48     # Add custom text widget on the map
C:\ProgramData\Anaconda3\envs\geo_env\lib\site-packages\localtileserver\widgets.py in get_leaflet_tile_layer(source, port, debug, projection, band, palette, vmin, vmax, nodata, attribution, **kwargs)
77         bounds = Union((Tuple(),), default_value=None, allow_none=True).tag(sync=True, o=True)
78
---> 79     source, created = get_or_create_tile_client(source, port=port, debug=debug)
80     url = source.get_tile_url(
81         projection=projection,
C:\ProgramData\Anaconda3\envs\geo_env\lib\site-packages\localtileserver\client.py in get_or_create_tile_client(source, port, debug, threaded, processes)
348             source.shutdown()
349             del source
--> 350         raise e
351     return source, _internally_created
C:\ProgramData\Anaconda3\envs\geo_env\lib\site-packages\localtileserver\client.py in get_or_create_tile_client(source, port, debug, threaded, processes)
342     try:
343         r = requests.get(source.create_url("api/metadata"))
--> 344         r.raise_for_status()
345     except requests.HTTPError as e:
346         # Make sure to destroy the server and its thread if internally created.
C:\ProgramData\Anaconda3\envs\geo_env\lib\site-packages\requests\models.py in raise_for_status(self)
958
959         if http_error_msg:
--> 960             raise HTTPError(http_error_msg, response=self)
961
962     def close(self):
HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://localhost:58429/api/metadata?&filename=P%3A\Boliden\Data\014050240020_01\output\20MAR30103630-M2AS-014050240020_01_P001_calibrated_QUAC_byte.tif

localtileserver.report():

Date: Tue Jan 18 16:39:09 2022 GMT Standard Time
                 OS : Windows
             CPU(s) : 32
            Machine : AMD64
       Architecture : 64bit
                RAM : 63.9 GiB
        Environment : Jupyter
        File system : unknown

       Python 3.10.1 | packaged by conda-forge | (main, Dec 22 2021, 01:33:54) [MSC
       v.1929 64 bit (AMD64)]

    localtileserver : 0.4.0
              flask : 2.0.2
      flask_caching : 1.10.1
        flask_restx : 0.5.1
           requests : 2.27.1
           werkzeug : 2.0.1
              click : 8.0.3
             scooby : 0.5.11
        large_image : 1.9.0
        large_image_source_gdal : 1.9.0
         cachetools : 5.0.0
                PIL : 8.4.0
             psutil : 5.9.0
              numpy : 1.22.0
         palettable : 3.3.0
             pyproj : 3.3.0
         osgeo.gdal : 3.4.1
         ipyleaflet : 0.15.0
          traitlets : 5.1.1
            shapely : 1.8.0
             folium : 0.12.1.post1
         matplotlib : 3.5.1

Thanks.

Hey, @gtgrp-user - the No available tilesource error is somewhat of a catch-all error and the real issue could be one of many things.
Would it be possible for you to share the data file 20MAR30103630-M2AS-014050240020_01_P001_calibrated_QUAC_byte.tif so that I can investigate and reproduce?

Hi @banesullivan,
I have managed to fix "No available tilesource" issue by projecting the input image correctly. However, I have encountered the following issue:

Instead of RGB, I see the above image. RGB image is available here for you to investigate and reproduce the issue.

I have managed to fix this by converting the image to PNG format. However, I have expected the tif format to work!

I have managed to fix "No available tilesource" issue by projecting the input image correctly

I'm glad you got the projection fixed and are no able to load the image!

The coloring issue is due to the raster missing the nodata field. Unfortunately, you may need to recreate the raster because the nodata pixels are filled with 45 in this particular image which is in the middle of the valid data range of 0 to 255 for RGB colors.
You can mostly work around this though by specifying the nodata value with localtileserver:
from ipyleaflet import Map
from localtileserver import TileClient, get_leaflet_tile_layer

client = TileClient('20MAR30103630-M2AS-014050267010_01_P001_byte.tif')

l = get_leaflet_tile_layer(client, nodata=45, band=[1,2,3])
m = Map(center=client.center())
m.add_layer(l)
m

Thanks a lot. It works as you suggested. I really appreciate your time.


Total QCAS Values after rounding

What? and Why?

QCAS needs the total calculated from rounded figures so that the values will be correct. Currently we create the totals and then round.

Checklist

[ ] CHANGELOG.md updated? (if required)

I should add a test that ensures checks for the difference in rounding before and after.