Angular 6 imports throwing errors for spec but not for regular app serving

Versions
     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 6.0.0
Node: 9.3.0
OS: linux x64
Angular: 6.0.0
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, http, language-service, material, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.0
@angular-devkit/build-angular     0.6.0
@angular-devkit/build-optimizer   0.6.0
@angular-devkit/core              0.6.0
@angular-devkit/schematics        0.6.0
@ngtools/webpack                  6.0.0
@schematics/angular               0.6.0
@schematics/update                0.6.0
rxjs                              6.1.0
typescript                        2.7.2
webpack                           4.6.0

Repro steps

setup angular project with ng new <project name> --style=scss and add stylePreprocessorOptions to angular json with path to common scss sheet (see below).
setup a directory for common scss sheets (variables, mixins, colors, etc) under src/styles
in a component @import 'colors' for example as common sheet
run ng test
test bombs out for a component saying cannot @import 'colors'

Observed behavior
ERROR in ./src/app/user/user-detail/user-detail.component.scss
Module build failed:
@import "variables";
^
      File to import not found or unreadable: variables.
      in /home/mike/workspace/coder-directory-ui/src/app/user/user-detail/user-detail.component.scss (line 2, column 1)
 @ ./src/app/user/user-detail/user-detail.component.ts 30:21-60
 @ ./src/app/user/user-detail/user-detail.component.spec.ts
 @ ./src sync \.spec\.ts$
 @ ./src/test.ts

Desired behavior

I would like the test to pass or at least for there to be documentation as to why my component's scss import works for ng serve but fails at ng test.
Mention any other details that might be useful (optional)
You can clone this project of mine to reproduce located here.

@robertbaker They are partials that I be importing though

I managed to find the fix, it appears completely unrelated to sass partials.
The issue was after I had upgraded this project from angular 5 to 6, karma became corrupted some how and thus could not run properly.
To fix this I had to remove my package-lock.json and node_modules folder and rerun npm install to get everything to work again.

@seekheart I understand that, but there will be multiple copies of the shared stuff unless you remove the imports and import them with angular.json. This was covered somewhere in the CLI docs.


Added support for KML IconStyle scale and BalloonStyle text

Popups on Placemarks now behave like GoogleEarth - they work only when
BalloonStyle/displayMode is not 'hide', to show:
namedescription
if Placemark/description is provided.  Otherwise the content of
BaloonStyle/text is used.
c.f.
https://developers.google.com/kml/documentation/kmlreference#balloonstyle

@tatsubori thx for the patch, i got a doubt on handling scale property since this one is used "kind of magically" on google earth/maps side. I was going to implement this in #159 but it seems google tools presuppose that default icon size is 64 and default scale is 0.5...
Anyway, if you want to handle scale, you have to apply its ration on anchorRef too, in order to position icons correctly. Here is a kml file that show different result before/after your patch cause it use hotSpot tag for IconStyle http://labo.eliaz.fr/IMG/kml/autour_de_pleumeur.kml
Any thoughts about it ?

@brunob Hmm.  To "scale" anchorRef properly, we need to know the original icon size.  Do you have any idea on how to get it?  I would also solve an issue with the current hack assuming the original icon should have 1:1 proportion in width and height.

we need to know the original icon size

In fact it's one the problems that made me think that scale would be hard to handle (+ the fact that google tools generate kml's that contain weird size/scale ratio).

Do you have any idea on how to get it ?

Not for now, and KML is a so terrible mess that i don't really want to work on it every day ^^ I've spent a lot of time on last kml script refactoring...

The original icon size can be obtained and scaled according to scale property as follows:
@@
        parseStyle: function (xml) {
                var style = {}, poptions = {}, ioptions = {}, el, id;

-               var attributes = {color: true, width: true, Icon: true, href: true, hotSpot: true};
+               var attributes = {color: true, width: true, Icon: true, href: true, hotSpot: true, scale: true};

                function _parse (xml) {
                        var options = {};

@@
                                        } else if (key === 'Icon') {
                                                ioptions = _parse(e);
                                                if (ioptions.href) { options.href = ioptions.href; }
+                                               if (ioptions.scale) { options.scale = parseFloat(ioptions.scale); }
                                        } else if (key === 'href') {
                                                options.href = value;
+                                       } else if (key === 'scale') {
+                                               options.scale = parseFloat(value);
                                        }
                                }
                        }

@@
                if (el && el[0]) { ioptions = _parse(el[0]); }
                if (ioptions.href) {
                        style.icon = new L.KMLIcon({
                                iconUrl: ioptions.href,
+                               iconScale: ioptions.scale ? ioptions.scale : 1.0,
                                shadowUrl: null,
                                anchorRef: {x: ioptions.x, y: ioptions.y},
                                anchorType:     {x: ioptions.xunits, y: ioptions.yunits}
                        });

@@
 L.KMLIcon = L.Icon.extend({
+       createIcon: function () {
+               var options = this.options;
+               var img = this._createIcon('icon');
+               img.onload = function () {
+                       var i = new Image();
+                       i.src = this.src;
+                       this.style.width = Math.ceil(i.width * options.iconScale) + 'px';
+                       this.style.height = Math.ceil(i.height * options.iconScale) + 'px';
+                       };
+               return img;
+       },
+
        _setIconStyles: function (img, name) {
                L.Icon.prototype._setIconStyles.apply(this, [img, name]);
                var options = this.options;

Thx @kkdd i've made such code when attempting to handle icon scale, but there's still to handle the problem that some kmls generated by google use "de facto" 0.5 scale without providing the info in xml. So it would generate icons 2 times bigger on some existing maps...

I found that the people in stackoverflow discussed the pre-scaling of icon size (see Showing custom icons in KML at their actual sizes). It seems to be such normalization that min(the width and height of icon size) should be 32-pixels.


Atomicity issue when incrementing and setting expiration

Hello,
We had a couple of issues recently where some time series values got an empty string without expiration.
Shouldn't the code in https://github.com/alanpeabody/resque-job-stats/blob/v0.4.2/lib/resque/plugins/job_stats/timeseries.rb#L50 be wrapped with a MULTI command ?
We can get a PR going if their is willingness to merge it.
Thanks!

@bilby91 sounds reasonable to me - if you want to do a PR, a couple requests

looks like actually it's incr_timeseries that should use the transaction, to keep minutes stats in sync with hours stats
there are other places in the codebase that are subject to the same problem, e.g. push_history in history.rb - if you tackled these as well that would be 💯


Configuration Cache report does not contain all inputs

The configuration cache report in 7.4-rc-1 does not contain all inputs.
For example gradle.properties and <GRADLE_USER_HOME>/gradle.properties are missing.
If you change it, Gradle rightfully says Calculating task graph as configuration cache cannot be reused because file 'gradle.properties' has changed. or Calculating task graph as configuration cache cannot be reused because file '..\..\..\..\C:\Users\bkautler\.gradle\gradle.properties' has changed. but those files are not listed as inputs on the configuration cache report.
There only gradle\libs.versions.toml is listed.
Also other files like build scripts are not listed which might be obvious, but they are still input, aren't they?
Less obvious but also missing are other files like for example init scripts.

Sorry for the late reply.
Thank you for providing a valid report.
The issue is in the backlog of the relevant team, but this area of Gradle is currently not a focus one, so it might take a while before a fix is made.


Invoices for EP2019 have to list the service date

This is an easy change: we just have to put the conference dates on the invoice in the description text.

Will be fixed in #885 :


UDP forwarding support

Will this support UDP? It looks great, but I want to be able to forward some of my UDP-based services.

Good question! It's a fair point and good use case. There are a couple ways we could forward UDP:

Send UDP datagrams over the TCP control connection as individual messages. This is the simplest approach and wouldn't require changing the architecture of the system, since we sidestep the UDP hole punching / NAT passthrough issue. However, this is inefficient and negates the advantage of using a protocol like UDP in the first place, rather than TCP. It also requires setting up auxiliary local UDP listener to handle return messages and proxying those over TCP as well, with the correct metadata attached to route the datagram to the correct remote return address.
Send regular empty UDP messages from the local client to the server (hole punching), then forward UDP datagrams directly. This is more efficient than sending UDP data over TCP, but it's slightly more complex to get right. It also breaks UDP datagrams sent to the return address, since the return address would just be the server in this case, and the server has no way of telling who the return message is destined for.

So there's quite a bit of design choices / opinions in forwarding UDP since the nature of the protocol is different. Since the goal of bore is to be extremely minimal, I would probably err on the side of not supporting UDP for now. Happy to chat more about this though.

(Also, just wanted to say for future readers that with attribution, you are welcomed and even encouraged to fork the code and give it a new name! Part of the reason why bore is so minimal is to be easy to understand for readers and provide a baseline implementation to inspire your own specialized proxies.)

Closing this issue due to being out of scope.

Hey if anyone wants a good UDP tool check out chisel on github. But since it can bypass firewalls it is flagged as a virus with most antiviruses, but know its not a virus, it just could be used maliciously.


More friendly config names than those imposed by rc

appConfig -> config
.feradrc -> .ferad

outdated for 2.0


hello_quantum module not found

Describe the Issue
Going to interactive mode in textbook problems set 0 - Hello Qiskit gives a module not found error for import hello_quantum
Expected Solution
The needed packages are installed in the binder image.
Anything else we should know?

Does the binder not support local imports? The file is here.

Fixed in PR#274


[#336] make LRA service to wait for nested LRAs in the TCK nestedActivity tests

fixes #336

@ochaloup I think we can merge test issues without needing to reach out to the broader community. If you agree then this one can be merged.

@mmusgrov yes, I agree.

agreed, merging. Thanks.


Dashboard: "Agree" button displays in English, regardless of one's language settings

The "Agree" button shows "Agree"in English on one's dashboard but not on obs show. I tried this with multiple languages and with all of them "Agree" was displayed in English on the dashboard.
From https://forum.inaturalist.org/t/agree-not-translated-in-the-web-inaturalist-org/28150

Hm, I guess this got fixed at some point.


Some default values in the file for the master cave are incorrect

It is very rare for a Cave to be Master Shard, so I will look into the cause when I get around to it :)

It is very rare for a cave world to be a master shard, so I will look into the cause when I get around to it :)


Add more resources to RGW #334

This change changes the resources for the 'rgw' pod from 1 CPU / 2Gi memory to 2 CPUs / 4Gi memory.
solves https://github.com/openshift/ocs-operator/issues/334

@mykaul I'm assuming you want this backported. Is there a bz open or should one be opened?
/cherrypick release-4.2

I was not planning on a backport as there wasn't any BZ on this atm.

I was not planning on a backport as there wasn't any BZ on this atm.

And now there is... @RazTamir - this is the patch I referred to. We'll backport.
@kshlm  - if you can, please backport.

@mykaul I cannot find the bz for this. Was this opened recently?
#339 is the backport of this. It was closed for there being no bz, but it can be reopened.

https://bugzilla.redhat.com/show_bug.cgi?id=1784255

#339 is reopened now. But the BZ isn't yet approved for 4.2.0.


Proposal: Split Front End and Provider

I was wondering what people's thoughts would be on splitting the front and provider into individual projects would be?
I'm sure many of you have seen this image:
https://www.davx5.com/fileadmin/user_upload/faq/how_davx5_works.svg
I'm not too sure why Tasks went with their own provider instead of using the OpenTasks provider like aCalendar does, but perhaps decoupling the front end from the back end of OpenTasks would allow for more flexibility and improve the adoption of this setup? If the provider was a separate application it could serve as a single source of integration that many different task apps (including the front end of this project) could integrate with.
Just some food for thought!

I see several reasons why, as a task app developer, you'd still want to develop your own back end.

you don't want depend on other projects to adopt/merge changes you need to support new features in your front end
you want to be sure that the back end version matches your front end version. If that's not guaranteed (because both are maintained, published and distributed separately at different pace) you may have a lot of additional work to check the back end version and disable/enable features accordingly.
your task back end is a critical component for your product and "out sourcing" it is a big risk. For aCalendar this is just an additional feature they can just EOL if OpenTasks is discontinued. It's not so easy if your core functionality depends on a 3rd party project.
for the end user the user experience would suffer when they have to install two separate apps to get any functionality at all

Actually, a few years ago, the provider was a separate project (though not a separate app yet): https://github.com/dmfs/opentasks-provider
The goal was to make it the equivalent of the android calendar provider and to contribute both provider and UI as two separate apps to the AOSP. However, there was little to no interest on their end so I gave up on this goal and integrated the provider as a separate module into this repo, which makes it way easier to maintain.
Fow now the goal is to make OpenTasks extensible and to make it easy to add new functionality with some sort of plugin mechanism. That's already in the works and, as a matter of fact, some of its own functionality will be implemented as plug-ins. 3rd party apps will be able to provide plug-ins too of course.

I'm not aware of any open standard for a task provider. We're trying to be compliant with other open calendaring standards like iCalendar/VTODO though.
Stability is probably not the biggest issue. Our back end is quite stable. In particular, I can't remember any breaking changes in the provider contract. It still lacks many important features though.

That makes sense, well thanks for all the info! Good luck with it all and hopefully if I ever get some free time I'll be able to help out a bit :)
Will close this issue now, appreciate the feedback!


MH-12889 Intuitive Merging of Video Segments

This patch changes the behavior when removing segments in the video
editor. Previously, the free space resulting from removing a segment was
taken up by extending the previous segment. Now, the subsequent segment
is extended instead, which leads to a more intuitive behavior. This is
especially the case when editing a video from left to right (from start
to end), which should be the most common use case.
For the last segment, the behavior is different: it has to be merged
with the previous segment since a subsequent one doesn't exist.
This very subtle change is based on two assumptions:

Western culture people tend to read from left to right
The icon 'X' for segment deletion is very close to the right boundary of the segment. It seems more expected that that boundary is removed (instead the left boundary of the segment which is not close to the 'X' button)

So that means:
|  segment 1 ---- X1 | segment 2 ---- X2 | segment 3 ----  X3|
Pressing the 'X2' on segment 2 previously resulted in...
|  segment 1 ------------------------X1 | segment 3 ----  X3|
So hitting 'X2' removed the segment boundary just next to 'X1'.
This now results in ...
|  segment 1 ---- X1 | segment 3 --------------------------  X3|
Update: June 15th, 2018
Just tested this on our staging environment. It indeed seems more intuitive ;-)
This work is sponsored by SWITCH.

@slampunk, @rrolf, @CGreweling, @corne-oosthuizen you have worked on this and/or originally implemented this differently. I'm fine with this general change, are you? (I also do not have to work a lot with the editor)

Hi,
I'm fine with this change - makes more sense :)
Thanks,
CO

No one is complaining → merged


Add TLS Support for SocketWrapper

I am planning to add TLS support for our Socket Wrapper.
I think evt-tls will be a good solution for us.
I will wait until the mbedtls support is implemented for evt-tls.

Rather than choosing evt-tls, I use mbedtls.
TLS is now implemented begging on commit 362728455c77d4527aa1ade8b34aeb03b078fc4e
Now I am working on HTTP Parser.


Integration test execution sequence mysterious.

Well, I'm lucky to use org.unbroken-dome.gradle-plugins:gradle-testsets-plugin:1.4.2 in my project, but I'm a little confused with the integration test execution sequence.
I know it is not a good practice to make integration test effect each other, but all my integration tests are creating data in one memory database currently. And sometimes the integration tests pass without any problems, but sometimes they just stuck in trouble. I'm sure the different execution sequences do the job lead test result to mysterious. So what's the answer to the question I'm wondering and how can i configure it? Any clues related to the topic will be highly appreciated.

Hi,
it's always a good practice to make your individual test cases as isolated as possible -- regardless of the test framework or build tools you are using.

if you're using a transactional DB, you can have each test use its own transaction that will be rolled back after the test (so that the other tests won't even see that data). For example, Spring offers some support for these kinds of tests.
You can have each test create its own table/collection with its own unique name (e.g. using a UUID suffix)
Some DBMS allow you to have separate schemas within the same database server
Or you could even create a separate DB server instance for each test (for in-memory databases or even with Docker containers this should still be acceptably fast)
If none of these work, you should configure your test framework so that tests that might interfere with each other are never executed in parallel, and make sure that each test cleans up after itself - even if it fails.


How do I find the Linux Images from marketplace with latest security patches

Hi,
This question might not be appropriate here .
Lets say I found the ubuntu 14.04.5 image from the market place and how do I know on what security patch is it on . whether it might be latest or maybe old.
And do you guys have a page which has the documentation on all the latest images with details of critical patches and security patches.
That would be really great if we have something like that.
If this doesn't belong here, Please guide me to the page and I can post this over there.

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

ID: 71fcae74-a9df-b47b-7775-846cc2bca19c
Version Independent ID: 93ee4090-3b95-8886-4375-99f6a7e38673
Content: Select Linux VM images with the Azure CLI
Content Source: articles/virtual-machines/linux/cli-ps-findimage.md
Service: virtual-machines-linux
GitHub Login: @dlepow
Microsoft Alias: danlep

@akramwaseem we do not have a specific doc that shows all the latest versions. I think this would be too difficult to keep up to date with all the updates being pushed from Windows as well as all the 3rd party offers.
You can however pull some relevant information using PowerShell:
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/cli-ps-findimage
This will allow you to pull specific image information and associated version. From there if you wanted to know the security path you would have to correlate it somehow. It would be different for each publisher. For Windows releases the security patches should be the most up to date minus preview builds of course. But for 3rd party providers such as Ubuntu it is up to them to update the images in the gallery so they might not always be up to date.
Does that help a bit?

Thanks , will take a look at the doc, anything in azure cli. We dont use powershell at all. Like not at all in any given case.

@akramwaseem I also checked on the Marketplace website and I'm not seeing specifics about when the images were last updated. I think this is good feedback to pass along to the Marketplace folks and I'm working on finding a contact.

Thanks @cynthn! I also think it is good feedback.
I will assign this to you while you work on a contact.

@akramwaseem thanks for the feedback. I'm working on finding the right folks in the marketplace to see if we can get more information added for each of the images. Getting this kind of a change is outside of the scope of the documentation, so I'm going to have the doc issue closed.
#please-close

@akramwaseem We will now close this issue. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Bugs on profile page

Introduction
Hello! The plugin has an issue on the profile page of the users. I'll explain below. Please take into consideration that the issues are related to the profile page of the users only. I marked the advertisements using white color (so don't take this into consideration) and I marked the exact issue using red color.
Please see the photo below.

What is te real issue
The plugins does its job and it's showing the code inside #elProfileInfoColumn > div.ipsBox, inside topics and inside hover card. However, the real issue is the following one: the plugin leaves a big white space in the footer or above the footer in some situations (on users profile pages).
It ruins the whole HTML page.
Some details
I should mention the fact that we are running the latest version of IPS (Invision Community v4.6.11) at the minute. The template is fully compatible with the platform. It was recently updated and all bugs were fixed by the developer. We don't have many extensions or plugins on our community either.
Steps that I took into consideration when testing

Changing selector is not working: I've just tried to see if the problem is related to this, but even if we change the CSS class or id for which the plugin is looking for, this will not be fixed.
Changing type is not working: I've just tried some things there, one by one: add_after, add_inside_start, add_inside_end.
Changing content; I completely removed the whole thing and added a simple 'x' character in order to see if the problem is caused by some mistakes. It's not working.

Steps in order to replicate the issue:

Make sure that the user has 0 posts, 0 topics, 0 activity (it's a new registered user with 0 content or activity)
Set primary group to anything
Set secondary group to one or more groups

I have to mention the following things

I tested this with CloudFlare OFF + cleaning cache of the platform itself + cleaning cache and cookies from my browser
I tested with CloudFlare ON, but keeping Development mode ON at the same time + cleaning cache of the platform itself + cleaning cache and cookies from my browser
Other people report the same issues
It's not related to the template or the version of Invision Community or other plugins/extensions installed. I say that because we do not have other plugins/extensions which interact with User Profile page
We've just tested on the default template from IPS, but there it doesn't show up at all and the page remains intact (as nothing was added inside #elProfileInfoColumn)
There's nothing related to Custom CSS, as I've just checked every CSS class inside custom.css to see if we are rewriting some things there

Final words
Thank you for you work! We really appreciate it. @aXenDeveloper
We are looking forward for a reply from you.

Hello!
Thank you for checking.
I was able to solve this issue by searching for replog in the template. I did some code alterations. However, that's not a permanent fix.
In core - front - profile > profile there are some lines to check {{if member.group['gbw_view_reps']}}, to see if the URL will be put in place by the platform or not.
I'm not really sure if your IPS plugin is buggy or the template.
Seeing that it's working on other templates makes me think that the issue may be generated because of the template itself, rather than the code of your plugin.
Are you able to test it on IPS Focus templates? Do you have the last version of IPS + the last version of a template from IPS Focus? We only have one template at the minute and can't do more tests.
Or can you test it on other templates if you don't have IPS Focus? Thank you!

I don't have the IPS Focus theme.

@aXenDeveloper Hello!
I was looking for a solution from the main IPSFocus developer (thanks for that).
We've setted 4 templates (1 the current one used by the community, 1 default ips template, 1 default ipsfocus template, 1 ipsfocus template with all of our modifications). Nothing's really solved on either one.
Check this photo: https://i.postimg.cc/1XrG3Z55/conclusion.png
IPS Default Template seems to have some bugs too. I found the same results as him when I checked, a few days ago.
I don't to find anything wrong with your plugin code either. But something it's just not working as expected.
Can you have a look at it?
Are you available to check with us? We can provide all the needed accesses and permissions on our IPS installation.
Is there any other way to talk in a faster way instead of writing Git comments?
We're looking forward for a reply from you.
Thank you!

I was looking for a solution from the main IPSFocus developer (thanks for that).
We've setted 4 templates (1 the current one used by the community, 1 default ips template, 1 default ipsfocus template, 1 ipsfocus template with all of our modifications). Nothing's really solved on either one.
Check this photo: https://i.postimg.cc/1XrG3Z55/conclusion.png
IPS Default Template seems to have some bugs too. I found the same results as him when I checked, a few days ago.
I don't to find anything wrong with your plugin code either. But something it's just not working as expected.
Can you have a look at it?
Are you available to check with us? We can provide all the needed accesses and permissions on our IPS installation.
Is there any other way to talk in a faster way instead of writing Git comments?
We're looking forward for a reply from you.
Thank you!

You can write to me in a private message on the IPS forum.
https://invisioncommunity.com/profile/580858-axendev/


[T4A6][T11-B3] Tan Hong Yu

@hongyuhy Some comments added. Please close the PR after reading comments.


Excludes docs/examples from mypy and flake8 checks in Makefile

@rudolfix we're not disabling it, the PR removes checking docs/example twice in a row


UUID for Key?

Hi, thank you for your excellent map. How can I use google/UUID for the key? or can you add this feature to the map?

@jaekook-neonesia the underlying type of UUID is [16]byte which doesn't have the comparable trait in golang (==, != etc)
Hence, it is not possible to implement UUID in this map implementation.
To add UUID support, a copy of this map has to be made specifically for using UUID as a key, it will no longer be generic in nature


Add support of mutable-content: 1 (for iOS10 push notifications with attachments)

Convenience change for media attachments on iOS10.
Also possible to achieve the same result with:
notification.custom_data = { 'aps' => { 'mutable-content' => '1' }, 'image' => "https://url/to/image" }

Will this be merged soon?

it needs to be merged by @markquezada

@atkit @maddox wish I could but I don't have commit access. Still waiting on @mattt.

+1 this is going to be great

@mattt can you please take a look? / Give an update :) Thanks

I went ahead without this per the following:

# Create a notification that alerts a message to the user, plays a sound, and sets the badge on the app
notification = Houston::Notification.new(device: token)
notification.alert = "Hello, World!"
notification.badge = 57
notification.sound = "sosumi.aiff"
notification.category = "INVITE_CATEGORY"
notification.content_available = true

# the 'attachment-url` key in this dictionary can be custom named and parsed by your ios app
notification.custom_data = { 'aps' => { 'mutable-content' => 1 }, 'attachment-url' => "https://whatever.com/whateverphoto.jpg" }

APN.push(notification)

Implemented in #118 and #137.


[FEATURE] Breakdown this plugin into logical modular plugins

The current codebase inherited from arnesson/cordova-plugin-firebase consists of a monolithic codebase, encompassing many different components of the Firebase SDK in a single plugin.
This means plugin users are often including components of the Firebase SDK they don't wish to use and are affected by bugs in functionality they are not using.
It also means the plugin is harder to maintain and add new functionality to.
The ideal solution would be to break down this plugin into a suite of interdependent plugins.
For example:

cordova-plugin-firebasex-core would contain the code to configure the Firebase SDK for the app and be depended on by all other plugins in the suite
cordova-plugin-firebasex-cloud-messaging would contain all the code specific to receiving and displaying notifications
cordova-plugin-firebasex-auth-core would contain the central functionality related to Firebase Auth (getting user info, signing out current user, etc.)
cordova-plugin-firebase-auth-facebook would contain the functionality for signing into Firebase via Facebook such as pulling in the Firebase SDK dependencies.

Once the current functionality of this plugin had been refactored into the suite of micro-plugins, this plugin would be deprecated in favour of the new approach.

I would highly appreciate this too, as I also only need FCM...
unfortunately I can't help you much, because I don't have much cordova, nor firebase skills, but maybe you can work together with chemerisuk
https://github.com/chemerisuk?tab=repositories as he did something similar already

@dpa99c I agree with people. Don't reinvent the wheel. Write me an email so we can discuss how to join forces.

@chemerisuk I'm happy to collaborate on this - I see no reason to create new set of micro-plugins if the existing functionality present in this one can be merged into your existing ones.
I can't find an email address for you though so email me at<EMAIL_ADDRESS>

@dpa99c just sent, check on your side.

@dpa99c & @chemerisuk so any news? which plugin should I follow in the future for fcm?

@m0dch3n we had a call with @dpa99c and agreed to migrate the fork to the set of firebase plugin from https://github.com/chemerisuk?tab=repositories. At present this fork contains some features that are missing, so deprecation process will start as soon as all needed features will be implemented. I can't give any promises because both myself and Dave do not have enough free time on that work currently.
As for now if you don't need some extra features provided by this fork - grab appropriate firebase plugin from https://github.com/chemerisuk?tab=repositories

Hi Guys (@dpa99c & @chemerisuk),
I always keep an eye on both of your plugins and the effort you guys are putting in to help the open-source community. I must say -
YOU GUYS ARE DOING TREMENDOUS JOB IN TERMS OF MAINTAINING THESE FIREBASE PLUGINS.
Hats off to both of you 👏

Hi.
You know how will do this?
Because I have a lot of new features to implement, but I don't know if I can send the push request to here or change to the new way.

And if we continue using the firebasex as main core and create others new plugins (break changes) that extends the firebasex.
package org.apache.cordova.firebase; public class FirebasePluginFirestore extends FirebasePlugin {     ... }
We can easy create the plugins on this way without modifying much the main core.

Reopening as  stalebot incorrectly closed it


Support same named types from mods

Addresses #52

@nerwalt could you please check if these changes work in your project?

genco needs to be updated in postcard-derive from 0.17.8 to 0.17.10

The issue with the type names is still present.  For example, in the no_std example, in des.py, there is
def deserialize_PROTOCOL(d) -> PROTOCOL:
    return PROTOCOL(packet = deserialize_PACKET(d))

But the type is
@dataclass
class Protocol:
    packet: _Packet

in the types._protocol module.

The issue with the type names is still present.  For example, in the no_std example, in the des module, there is
def deserialize_PROTOCOL(d) -> PROTOCOL:
    return PROTOCOL(packet = deserialize_PACKET(d))

But the type is
@dataclass
class Protocol:
    packet: _Packet

in the types._protocol module.  This results in a NameError like

Thanks for pointing this out again. Your right. Made an Copy Paste mistake.

...
def deserialize_PROTOCOL(d) -> PROTOCOL:
^^^^^^^^
NameError: name 'PROTOCOL' is not define

@nerwalt could you try again please.


GDAL georeferencing vs S-102 specification

The S-102 specification is node based (rather than pixel based).
The geotransform provided by GDAL is pixel (cell) based.
This has the following impact:

The corner point provided by the GDAL geotransform needs to be offset by + 1/2 X resolution and - 1/2 Y resolution.
The offset to other corners should be calculated as reference_corner + resolution * (N -1)

I think this was taken care of here

I think the origin y position may still be off. dyy is negative so this should read as uly + dyy/2.

Updated per previous.


candlestick and ohlc charts

It would be nice if we could get a candlestick and ohlc chart for stock data.

@chovy See also https://github.com/d3/d3/issues/1662.
Two complete solutions:

TechanJS
D3fc

@mbostock closing this isssue?


Implemented Our Offers form functionality

The files were with some duplicated code. Fixed it before the merge. Have a good night !

I see you are fixed it. Thank you


Remove version: Jackett.Jackett version 0.21.2175

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.21.2175/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 918)


port to retroid pocket 3+

Hey
Do you think a port can be done for retroid pocket 3+ ?
I think you can flash it with this rom but not sure at all
the hardware seems the same
Retroid Pocket 3+ Specifications & Features:
Processor: Unisoc Tiger T618
CPU<EMAIL_ADDRESS>+<EMAIL_ADDRESS>GPU: Mali G52 MC2@850MHz
DRAM: 4GB LPDDR4x@1866MHz（3733Mbps）
Storage: 128GB eMMC 5.1
Touch screen: 4.7 inch, 750x1334@60fps, 450nits
OS: Android 11
Interface: 720p Micro HDMI + 3.5mm Audio Jack + USB TypeC
Solid build quality and efficient passive heat dissipation (Metal frame)
4500mAh battery

You have a full guide how to root on xda dev https://forum.xda-developers.com/t/rooting-the-retroid-pocket-3.4540153/#post-88395587
King regards,

Without access to a RP3+, I won't know for sure


Reformat, proofread and tidy up docs

Motivation
Periodic maintenance of docs.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Load site locally.
Related PRs
NA

Thanks @yangshun for adding another pair of eyes to the documentation and making it better!


Generic 'open' command for GHCI etc

Currently, the only thing that can really be "opened" is scores. We could have a much nicer user experience if other types could also be visualized with a unified command, i.e. voices, tracks, chords, staves, pitches, etc.
Think of it as a graphical alternative to Show.
Depends on #276 and #290
More sophisticated interaction: should graphical objects in some kind of stash/preview. Some kind of abstraction involving both data "score" and functions which could be visualized. Compare Max/pd/PW-patches, OM marquettes etc.

Replaced by Inspectable. Closing.


Put questions.md and related folder back in modules section

@GlennClatworthy Do you think this would be possible to change into the Learning Paths?

Sure! Will do


Popup]Multi-selection for popup setting changes

✖ USAGE QUESTIONS → Use these dedicated resources:
Docs - http://www.semantic-ui.com
Chat - https://gitter.im/Semantic-Org/Semantic-UI
SO - https://stackoverflow.com/questions/tagged/semantic-ui?sort=votes
[Popup]Multi-selection for popup setting changes
I am trying to add a dozen of tooltips on my page and they are working well, the only problem is that they are showing too quick. I tried with the popup example with .popup() function and delay function but not sure what is that selector in the example? I thought it was standard jQuery while $('.class') and $('#id') both not working... any tips?
Steps
I hope to select multiple elements and apply with .popup({delay:xxx})
Expected Result
nothing happened and only showing no target on the page selected.
Actual Result

This is solved.
I wasn't calling it the right way,  there was a conflict by calling the same selector twice.


Target Windows 8.1 and 10 on app.manifest

This is required so Duality displays the correct Windows version instead of displaying the version as Windows 8.
Source: https://msdn.microsoft.com/en-us/library/windows/desktop/dn481241(v=vs.85).aspx

Small and self-contained PR - thanks! :)
Will need to evaluate what implications this change will have on the overall runtime environment, and whether internal changes are required to account for them. Will report back and keep this PR open until then.

Apparently, the supportedOS manifest file entries are used by Windows to determine compatibility settings that are applied. The Windows version that is returned by WinAPI or .Net is one of them, but not necessarily the only one, i.e. adding these settings might change runtime behavior on Windows 10.
I wasn't able to find a description of what exactly will be different depending on the presence or absence of the appropriate supportedOS entry. Duality seems to work fine on Windows 10 right now and I don't want to introduce any kind of incompatibility by changing environment settings - so this PR seems a bit risky to me at this point.
I'm closing this for now, but will revisit the issue at some point in the future. (Potentially when the dust on the Windows 10 release has settled and we all have a testing machine for that.)


A11y_Azure Data Studio_Nov2023_Database Properties Preview_Files_Keyboard: When navigating to Files "Database files" grid column headers is not accessible with keyboard.

"Please do not close this bug. This bug should only be closed by TCS, C+AI Accessibility or the Divisional Driver."
Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.
Git hub Tags:
#A11yTCS; #A11yMAS; #A11ySev1; #DesktopApp; #WCAG2.1.1; #FTP; A11yTCS, #SH_Azure Data Studio_Nov2023_Mac_Dec2023; #SQL Azure Data Studio; #MAC; #Keyboard;
Environment Details:
Application Name: Azure Data Studio
Operating System: MAC
Azure data studio 1.47.0
Repro Steps:

Install Azure data studio application and open it
Make sure to enable "Preview" feature in settings.
Tab till "Database" and press ENTER to expand the tree.
Tab till any database and pressF10 to open context menu.
Tab till "Properties Preview" and press ENTER.
Tab till "Files" tab and press ENTER.
Tab till "Database files" table and try to change column size.
You will observe that when navigating to Files "Database files" grid column headers is not accessible with keyboard.

Actual Result:
When navigating to Files "Database files" grid column headers is not accessible with keyboard.
Note: Issue seen throughout the application for similar type control.
Expected Result:
When navigating to Files "Database files" grid column headers should be accessible with keyboard & also should be able to adjust the column header with keyboard.
User Impact:
Keyboard only users will face difficulties if the focus does not go to column header and cannot resize the column header.
Attachment:

@HindujaArugula resizing columns is provided via the keyboard shortcut Shift+Alt+S. Is that sufficient to resolve this issue?

Yes, it fine but make sure to document it so the end user will know how to navigate using shortcut keys Shift+Alt+S.

@HindujaArugula Are we good to close this issue now? You can verify the behavior with this Mac build of ADS here

@corivera Tried to check the issue using shortcut keys which mentioned in the above bug, but we are not able take action using shortcut keys.
Could you please help us with this issue?

@HindujaArugula does the keyboard shortcut of shift+option+s work for you on mac? A quickpick should appear where you can specify the column width, as seen below:

Verified the issue in the below mac build.
macos: sonoma 14.2.1
Version: 1.48.0-insider (Universal)
Commit: 7bdf5c994bcc25aaeb60584dcaa24f83e6fde7fd
Date: 2024-01-29T07:04:50.019Z
VS Code: 1.82.0
Electron: 25.9.8
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.2.0
Issue is fixed and does not repro. Hence closing the bug.
https://github.com/microsoft/azuredatastudio/assets/125462007/7b7ffce7-eb61-4883-8958-d5e9ef34e714


Fix for wrapped lines

As of 1.0.3 (81ed8bf28e07e126a67bc541cf80dfee413359f7), it totally gets the gaps wrong when there are soft wrapped lines. This fixes it + adds a test.

Looks great. Thanks for this.


Environment markers in dependencies should be merged, not overriden by each other

Issue description
Pipenv.lock file might contain different markers after pipenv lock.
This issue is quite annoying when you deal with a Pipfile that contains a lot of requirements especially when most of them are outdated.
Expected result
Markers remain unchanged after pipenv lock if nothing has been changed in Pipfile and on the PyPI.
Actual result
Markers change unpredictably.
Steps to replicate
You can use this script to reproduce the bug.
Please see the asciicast for the details.

Environment
I experience this issue

on latest Gentoo with latest pipenv from PyPI and from master of this repo
on Ubuntu 16.04 with latest pipenv from PyPI

$ pipenv --support   # Gentoo
Pipenv version: '2018.7.1.dev0'
Pipenv location: '/home/mim/src/pipenv/pipenv'
Python location: '/usr/bin/python3.7'
Other Python installations in PATH:

2.7: /usr/bin/python2.7

2.7: /usr/bin/python2.7

3.6: /usr/bin/python3.6m

3.6: /usr/bin/python3.6

3.7: /usr/bin/python3.7m

3.7: /usr/bin/python3.7

3.7.0: /usr/bin/python

2.7.15: /usr/bin/python2

3.7.0: /usr/bin/python3

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.7.0',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.17.10-gentoo',
 'platform_system': 'Linux',
 'platform_version': '#1 SMP Wed Jul 25 23:37:33 +03 2018',
 'python_full_version': '3.7.0',
 'python_version': '3.7',
 'sys_platform': 'linux'}

System environment variables:

LC_ALL
LS_COLORS
STY
ANDROID_HOME
XDG_MENU_PREFIX
LANG
LESS
DISPLAY
OPENGL_PROFILE
CONFIG_PROTECT_MASK
EDITOR
GPG_TTY
COLORTERM
ASCIINEMA_REC
JAVA_HOME
GCC_SPECS
SSH_AUTH_SOCK
GLADE_CATALOG_PATH
VBOX_APP_HOME
HUSHLOGIN
USER
GLADE_MODULE_PATH
PAGER
DESKTOP_SESSION
PWD
HOME
MANPAGER
WINDOW
SSH_AGENT_PID
GSETTINGS_BACKEND
XDG_DATA_DIRS
JDK_HOME
GLADE_PIXMAP_PATH
GTK_MODULES
MAIL
WINDOWPATH
CONFIG_PROTECT
SHELL
TERM
VTE_VERSION
JAVAC
XDG_CURRENT_DESKTOP
OPENCL_PROFILE
ANDROID_SWT
MOZ_GMP_PATH
SHLVL
LANGUAGE
MANPATH
WINDOWID
LOGNAME
DBUS_SESSION_BUS_ADDRESS
XSESSION
XAUTHORITY
ANT_HOME
XDG_CONFIG_DIRS
PATH
INFOPATH
TERMCAP
SESSION_MANAGER
LESSOPEN
_
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: /home/mim/.local/bin:/home/mim/.local/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/8.1.0:/usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/opt/android-sdk-update-manager/tools:/opt/android-sdk-update-manager/platform-tools:/home/mim/.npm-global/bin:/home/mim/.npm-global/bin:
SHELL: /bin/bash
EDITOR: /bin/nano
LANG: ru_RU.utf8
PWD: /home/mim

$ pipenv --support  # Ubuntu 16.04
Pipenv version: '2018.7.1'
Pipenv location: '/home/mim/.local/lib/python3.6/site-packages/pipenv'
Python location: '/usr/bin/python3.6'
Other Python installations in PATH:

2.7: /usr/bin/python2.7

2.7: /usr/bin/python2.7

3.5: /usr/bin/python3.5m

3.5: /usr/bin/python3.5

3.6: /usr/bin/python3.6m

3.6: /usr/bin/python3.6

2.7.12: /usr/bin/python

2.7.12: /usr/bin/python2

3.5.2: /usr/bin/python3

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.6.6',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.13.0-45-generic',
 'platform_system': 'Linux',
 'platform_version': '#50~16.04.1-Ubuntu SMP Wed May 30 11:18:27 UTC 2018',
 'python_full_version': '3.6.6',
 'python_version': '3.6',
 'sys_platform': 'linux'}

System environment variables:

XDG_VTNR
LC_PAPER
XDG_SESSION_ID
LC_ADDRESS
XDG_GREETER_DATA_DIR
LC_MONETARY
CLUTTER_IM_MODULE
SESSION
GPG_AGENT_INFO
XDG_MENU_PREFIX
TERM
SHELL
QT_LINUX_ACCESSIBILITY_ALWAYS_ON
WINDOWID
LC_NUMERIC
UPSTART_SESSION
GNOME_KEYRING_CONTROL
GTK_MODULES
USER
LS_COLORS
QT_ACCESSIBILITY
LC_TELEPHONE
XDG_SESSION_PATH
UNITY_HAS_3D_SUPPORT
XDG_SEAT_PATH
SSH_AUTH_SOCK
SESSION_MANAGER
DEFAULTS_PATH
XDG_CONFIG_DIRS
UNITY_DEFAULT_PROFILE
PATH
DESKTOP_SESSION
QT_QPA_PLATFORMTHEME
QT_IM_MODULE
LC_IDENTIFICATION
__fish_sysconfdir
XDG_SESSION_TYPE
PWD
JOB
XMODIFIERS
__fish_datadir
LANG
GNOME_KEYRING_PID
MANDATORY_PATH
GDM_LANG
LC_MEASUREMENT
IM_CONFIG_PHASE
COMPIZ_CONFIG_PROFILE
PAPERSIZE
GDMSESSION
SESSIONTYPE
GTK2_MODULES
XDG_SEAT
SHLVL
HOME
LANGUAGE
GNOME_DESKTOP_SESSION_ID
UPSTART_INSTANCE
__fish_help_dir
XDG_SESSION_DESKTOP
UPSTART_EVENTS
LOGNAME
COMPIZ_BIN_PATH
XDG_DATA_DIRS
QT4_IM_MODULE
DBUS_SESSION_BUS_ADDRESS
LESSOPEN
UPSTART_JOB
INSTANCE
XDG_RUNTIME_DIR
DISPLAY
XDG_CURRENT_DESKTOP
GTK_IM_MODULE
LESSCLOSE
LC_TIME
__fish_bin_dir
XAUTHORITY
LC_NAME
COLORTERM
_
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: /home/mim/bin:/home/mim/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/mim/.npm-global/bin
SHELL: /bin/bash
LANG: en_US.UTF-8
PWD: /home/mim

I've also faced with the same issue:
I've tried the script from @Jamim and here are my results:
diff --git a/Pipfile.lock b/Pipfile.lock
index d77c7e4..c306df2 100644
--- a/Pipfile.lock
+++ b/Pipfile.lock
@@ -80,7 +80,7 @@
                 "sha256:330cc27ccbf7f1e992e69fef78261dc7c6569012cf397db8d3de0234e6c937ca",
                 "sha256:a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50"
             ],
-            "markers": "python_version < '3.0'",
+            "markers": "python_version < '3.3'",
             "version": "==1.0.2"
         },
         "mock": {

Something was changed on attempt 5

my env on Ubuntu 18.04:
$ pipenv --support
Pipenv version: '2018.7.1'
Pipenv location: '/home/develop/.local/lib/python3.6/site-packages/pipenv'
Python location: '/usr/bin/python3'
Other Python installations in PATH:

2.7: /usr/bin/python2.7

2.7: /usr/bin/python2.7

3.6: /usr/bin/python3.6m

3.6: /usr/bin/python3.6

2.7.15: /usr/bin/python

2.7.15: /usr/bin/python2

3.6.5: /usr/bin/python3

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.6.5',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.15.0-29-generic',
 'platform_system': 'Linux',
 'platform_version': '#31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018',
 'python_full_version': '3.6.5',
 'python_version': '3.6',
 'sys_platform': 'linux'}

System environment variables:

CLUTTER_IM_MODULE
NVM_DIR
LS_COLORS
LC_MEASUREMENT
LESSCLOSE
LC_PAPER
LC_MONETARY
LANG
GDM_LANG
HISTCONTROL
DISPLAY
HISTTIMEFORMAT
QT_STYLE_OVERRIDE
WORKON_HOME
EDITOR
COLORTERM
XDG_VTNR
SSH_AUTH_SOCK
MANDATORY_PATH
LC_NAME
XDG_SESSION_ID
XDG_GREETER_DATA_DIR
USER
DESKTOP_SESSION
QT4_IM_MODULE
DEFAULTS_PATH
PWD
HOME
SSH_AGENT_PID
XDG_SESSION_TYPE
XDG_DATA_DIRS
XDG_SESSION_DESKTOP
LC_ADDRESS
LC_NUMERIC
VISUAL
TERM
SHELL
XDG_SEAT_PATH
XMODIFIERS
GPG_AGENT_INFO
COLORFGBG
XDG_SEAT
SHLVL
LANGUAGE
WINDOWID
LC_TELEPHONE
GDMSESSION
LOGNAME
DBUS_SESSION_BUS_ADDRESS
XDG_RUNTIME_DIR
HOSTFILE
XAUTHORITY
XDG_SESSION_PATH
XDG_CONFIG_DIRS
PATH
LC_IDENTIFICATION
PS1
HISTSIZE
HISTFILESIZE
LESSOPEN
GTK_IM_MODULE
LC_TIME
OLDPWD
_
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: /home/develop/bin/my:/home/develop/bin:/home/develop/bin/my:/home/develop/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/root/bin/:/usr/local/rvm/bin/
SHELL: /bin/bash
EDITOR: vim
LANG: en_US.UTF-8
PWD: /home/develop/tmp

@nikolay-saskovets What is the package that produces the different output? This information would save us much time to investigate. Without looking into this too deeply, it is likely due to how a certain package is distributed in an undeterministic way, but it would be much easier to explain this with a concrete example.

@uranusjr this output is about installing those two packages pytest-cov pytest-vcr. And markers are changes for one of their dependency — the package funcsigs:

develop:$ git diff -U5
diff --git a/Pipfile.lock b/Pipfile.lock
index d77c7e4..c306df2 100644
--- a/Pipfile.lock
+++ b/Pipfile.lock
@@ -78,11 +78,11 @@
         "funcsigs": {
             "hashes": [
                 "sha256:330cc27ccbf7f1e992e69fef78261dc7c6569012cf397db8d3de0234e6c937ca",
                 "sha256:a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50"
             ],
-            "markers": "python_version < '3.0'",
+            "markers": "python_version < '3.3'",
             "version": "==1.0.2"
         },

But it seems like such issues may caught with some other packages from PyPi. We are faced with such problem in a real project with other packages, too.
I think @Jamim may provide more info as «topic starter» :-)

Thanks! I think I have an idea of what’s going on, but I’ll need some time to investigate it further to make sure my guess is correct.  It would be super helpful if more details could be provideded in the meantime.
What would be helpful are:

Output of pipenv lock --verbose
Full Pipfile.lock results
Whether pipenv lock --lock --verbose changes the output (and if it does, what exactly changed)
pipenv graph and pipenv run pip list results on both environments

Thank you, @nikolay-saskovets!
Hi @uranusjr,
The simplest way to reproduce the issue is to run the script from Steps to replicate.
It installs pytest-cov and  pytest-vcr and locks the dependencies in a loop until the Pipfile.lock has changed. I specially made this example using as less as possible requirements.
In the example the issue affects funcsigs==1.0.2 only, but in the real project it affects:

backports.functools-lru-cache==1.5
configparser==3.5.0
contextlib2==0.5.5
funcsigs==1.0.2

So every time when I run pipenv lock it changes some markers :-/
There are a lot of pipenv lock --verbose at the asciicast. I hope it should be really helpful.

@uranusjr You can found Pipfile and Pipfile.lock in this repository.
It's the repository that was created during the asciicast recording.

pipenv graph:
pytest-cov==2.5.1
  - coverage [required: >=3.7.1, installed: 4.5.1]
  - pytest [required: >=2.6.0, installed: 3.6.3]
    - atomicwrites [required: >=1.0, installed: 1.1.5]
    - attrs [required: >=17.4.0, installed: 18.1.0]
    - funcsigs [required: Any, installed: 1.0.2]
    - more-itertools [required: >=4.0.0, installed: 4.2.0]
      - six [required: >=1.0.0,<2.0.0, installed: 1.11.0]
    - pluggy [required: >=0.5,<0.7, installed: 0.6.0]
    - py [required: >=1.5.0, installed: 1.5.4]
    - setuptools [required: Any, installed: 40.0.0]
    - six [required: >=1.10.0, installed: 1.11.0]
pytest-vcr==0.3.0
  - pytest [required: >=3.0.0, installed: 3.6.3]
    - atomicwrites [required: >=1.0, installed: 1.1.5]
    - attrs [required: >=17.4.0, installed: 18.1.0]
    - funcsigs [required: Any, installed: 1.0.2]
    - more-itertools [required: >=4.0.0, installed: 4.2.0]
      - six [required: >=1.0.0,<2.0.0, installed: 1.11.0]
    - pluggy [required: >=0.5,<0.7, installed: 0.6.0]
    - py [required: >=1.5.0, installed: 1.5.4]
    - setuptools [required: Any, installed: 40.0.0]
    - six [required: >=1.10.0, installed: 1.11.0]
  - vcrpy [required: Any, installed: 1.13.0]
    - contextlib2 [required: Any, installed: 0.5.5]
    - mock [required: Any, installed: 2.0.0]
      - funcsigs [required: >=1, installed: 1.0.2]
      - pbr [required: >=0.11, installed: 4.2.0]
      - six [required: >=1.9, installed: 1.11.0]
    - PyYAML [required: Any, installed: 3.13]
    - six [required: >=1.5, installed: 1.11.0]
    - wrapt [required: Any, installed: 1.10.11]

pipenv run pip list:
Package        Version
-------------- -------
atomicwrites   1.1.5
attrs          18.1.0
contextlib2    0.5.5
coverage       4.5.1
funcsigs       1.0.2
mock           2.0.0
more-itertools 4.2.0
pbr            4.2.0
pip            18.0
pluggy         0.6.0
py             1.5.4
pytest         3.6.3
pytest-cov     2.5.1
pytest-vcr     0.3.0
PyYAML         3.13
setuptools     40.0.0
six            1.11.0
vcrpy          1.13.0
wheel          0.31.1
wrapt          1.10.11

Quick update: I think the problem is a race condition, for funcsig it’s between mock and pytest. They are picking up different conditions from each source. They should be instead consolidated into one instead (ideally python_version < '3.0', but I don’t think we have that level of merker parsing ability, and would need to settle with python_version <'3.0' and python_version < '3.3').

is this only affecting python_version? This is not straightforward and also it's not really a bug, they are functionally identical which is why it doesn't matter. I get that it is an annoyance, but it is not a resolution bug, it is a bug with having to ignore lockfile changes sometimes

For some reason, pipenv can add "markers": null, to the lock file.
Heroku fails to deploy a project before I clean up all the markers from the lock file manually.

oh boy the null markers thing is actually quite bad, but i think that's fixed
merging markers is incredibly difficult it turns out, I've spent like several months on this over in https://github.com/sarugaku/passa/pull/59 and it still isn't quite finished
If anyone is very good at set math, you can probably help with that...

I am experiencing the same issue (fluctuating python_version marker) when installing backports.functools-lru-cache.
Does a given Pipfile.lock actually support mutliple python_versions anyway? Quoting https://github.com/pypa/pipenv/issues/2683#issuecomment-409330037

Hi, this has been proposed multiple times (the most informational thread is #1050, I believe), and the resolution is to refrain from doing it, since Pipenv wants to focus on the application aspect of Python development. In an application context, and it is wildly considered best practice to support only one Python minor version in a Python application.

We schedule pipenv update to scan for new dependencies, and generate merge requests if Pipfile.lock has changed. Nondeterministic environment markers is obviously a problem for such a workflow as it generates spurious MRs. My current solution to the problem is
sed -i '/"markers": "python_version/d' Pipfile.lock

before committing Pipfile.lock. Couldn't pipenv just strip the python_version markers out whenever
[requires]
python_version = "..."

is present?

Does a given Pipfile.lock actually support mutliple python_versions anyway?

It does not, but a missing python_version is supported.

I believe this has been resolve and/or is stale.


Blackborder Improved + (bugfix and enhancement)

fixed a bug that caused undefined behaviour in detection,
causing it to get stuck at 0,0 border detection.
Also made json config accessable in blackborder classes for easy adjusting values that are static in current build.
Added different detection modes.
see config/hyperion.config.json
"blackborderdetector" :
 	{
 		"enable" : true,
 		"threshold" : 0.01,
+		"unknownFrameCnt": 600,         <- optional
+		"borderFrameCnt" : 50,          <- optional
+		"maxInconsistentCnt" : 10,      <- optional
+		"blurRemoveCnt": 1,             <- optional
+		"mode" : "default"              <- optional
 	}

Modes:
default: 3 scanlines per direction - fastest detection so far (because of the nature of movies to have none black content in the center area;)
classic: the original implementation - needs less cpu but only covers top left 1/3 of the image and could cause problems with station logos
osd: little bit less efficient then default mode but avoids changes caused by receiver OSD overlays like program info or volume bars

click the image for a better view of the scanlines in osd mode

OK, just noticed this one. I will compile and test.

actualy there are no changes to the one before
i made a change that ruined the commit histroy so i decided to post it again with a clean history


New xpaths to configure Panorama servers in PAN-OS 9.1

Describe the bug
Since PAN-OS 9.1, xpaths to configure Panorama servers have been modified.
Expected behavior
In PAN-OS 9.1, xpaths are:

Server 1 =<EMAIL_ADDRESS>Server 2 =<EMAIL_ADDRESS>
Current behavior
Below PAN-OS 9.1, xpaths are:

Server 1 =<EMAIL_ADDRESS>Server 2 =<EMAIL_ADDRESS>
Affected class
pandevice.device.SystemSettings

Fixed by #197


Running the calculator graph takes infinite time

Hi everyone,
-I am trying to run mediapipe application for tracking iris after building successfully.
-My command line is below:
bazel-bin\mediapipe\examples\desktop\iris_tracking\iris_tracking_cpu_video_input   --calculator_graph_config_file=mediapipe/graphs/iris_tracking/iris_tracking_cpu_video_input.pbtxt     --input_side_packets=input_video_path="C://Users//anv1581s//Downloads//testvid.mp4",output_video_path="D://anv1581s//anv//VideosMediapipe"
After using this command line, it starts to run the calculator graph. But it takes infinite time. Nothing happens after that. You can see attached image

I tried to change slash to backslash, but it did not work. Does anyone have solution for this problem?

Thank you very much
Best regards

Hi @anvuong48 ,
Could you please check [this] document to understand the time stamp on calculators.

Hi @sureshdagooglecom
Sorry for my late reply. I solved  this problem. The problem comes from my input video. I could not open it on windows. That's why the calculator cannot run it. I just need to change the input video, then the problem was solved.

But I am facing to another problem now. Before I used a tflite model from my colleauge and it worked. But when I created my own tflite model and applied it to mediapipe iris tracking. It did not work and this below error happened.

Do you know why? Thank you very much

Hi @anvuong48 ,
Could you please compare both tflite models and check  the difference , hopefully versions might be the issue.

Hi @sureshdagooglecom ,
I tried to compare these two tflite models with a software named netron https://github.com/lutzroeder/netron/releases/tag/v5.8.1

These two files are exactly same. There are no differences between them. But it still did not work with my tflite model :( I don't know why

I checked these two tfllite models again and saw this below differences

From my tflite model

From tflite model of my colleauge

They have different order. Do you know why?

Hi @anvuong48 ,
I assume there are no useful log warnings or error messages.
Suggestion: add logging print statements to some Calculator::Open and Calculator::Process functions, and see how far along the graph initialization gets.


feat(TFD-636): Do not include the text Dataset and Datastore in defin…

…ition names.
Please check if the PR fulfills these requirements

[X] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)

What is the current behavior? (You can also link to an open issue here)
Some datastore and datasets include the word "datastore" or "Datastore" in their internationalized name, and others don't.
What is the new behavior?
The type of definition is implicit in the UI (i.e. Choose a Datastore type:) so we remove this unnecessary text.
Does this PR introduce a breaking change?

[ ] Yes
[X] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:


Update Dependencies to address security issues

PR upgrades dependencies. Should address pages of Dependabot issues :-)

@octosteve I think any dependabot PRs that are older than 30 days will have to be manually closed.

Going to work on these updates incrementally since somethings don't play well.


Controlling epochs as argument for XLMRMultiClass plugin

this pr takes care of template integration part.

@biswaroop1547 Why can't we reuse num_train_epochs parameter from the config file? If you are not using the config file, you could still create the args_map variable containing num_train_epochs inside the train key and pass it to XLMR?
I'd like to avoid adding such one-off arguments to the constructor of a plugin.

@dakshvar22 agreed. Will make the update.

closing this pr as this commit in template pr makes up for it.


why not allow effects that do not return actions

I know in the docs it explicitly states that you have to return an action. But would it break the elm architecure if you didn't? That's bascially what none() does. I just tried it and it's trivial to implement.
I can see a lot of scenarios where it makes sense to me to do this, and a subscriber would just be weird. For example, i have an object that can get updated, and when it does I want to trigger a write to localstorage. the new state depends on the previous state, so the reducer needs to be involved before the write to localstorage. but after that, there's nothing to do. i would like to return from my reducer something like
loop(newState, Effects.call(writeAuthUpdatesToStorage, newState));
instead of having to subscribe to the store and compare newUser and oldUser every state change.
Is this a change that could be considered? (I'd make the pull request if so)

+1

The way this is usually handled in Elm, especially as of 0.17, is to have a NoOp action which effectively does nothing and just returns the state and a none effect. You can use the same pattern with redux-loop, and you don't even need to handle this noop action in your reducer -- you can just ignore it completely. This should accomplish what you need without having to special-case effects that don't need to do anything afterword on the library side.

That definitely works. The main reason I preferred the ability to return nothing was that if I was working with redux dev tools or something, adding a bunch of noop actions seems like it's just polluting the history of my state transitions and adds noise when trying to debug things. And it was super simple to implement. Basically just added .filter(Boolean) to the resolved promise array in effectToPromie (see what i did here).
So basically it just seemed like an appropriate diversion from elm considering the tools available in redux and the development patterns I've had.

After using redux-loop a bit more in practice, I've started to have some thoughts on how the api could encourage a little more code reuse and simplify a few things.
One issue with forcing effects to return/resolve with redux actions is that the implementations of the side-effects become tied to redux/redux-loop. Suddenly a pretty standard function to make a request, such as this,
import apiClient from './apiClient.js'; //to abstract away fetch details like json parsing and error codes

function fetchItems(userid){
  return apiClient(`foo.com/users/${userId}/items`)
      .then(rsp => {
           //process rsp
           //return processed result
       }).catch(err => {
            //maybe do something?
       });
}

can't be used by redux-loop without changing it in a way that makes it unusable by something else (you can no longer reject the promise, and your resolution needs to be a redux action and not just the list of items).
Additionally, even if you wanted it only for redux-loop, it would be impossible (or at least awkward) to use a side-effect to return different types of actions depending on how it is called (I haven't had a need to do this yet, but it's not hard to imagine a case where you'd want it)
I know this goes even further than my original suggestion of allowing side-effects to not return actions, but what if instead, we allowed them to become completely agnostic to redux-loop/redux in general, and instead return whatever they felt was necessary to complete their purpose (so for async methods, prob would be a promise that resolves or rejects to indicate success).
So instead of defining the actions triggered (or not) by the effect in the method, it could be defined in the Effect object itself.
The new effect objects returned by a reducer might look like this

//actions.js
function itemsLoadedActionCreator(items){
    return {
       type: 'ITEMS_LOADED',
       items: items
    };
}
// ... other action creators

//reducer.js
return loop(newState, Effect.promise(fetchItems, itemsLoadedActionCreator, failHandler, params...));

Effect.call(writeToLocalStore, syncMethodActionCreator, params...)

//Effects.constant could be implemented as syntactic sugar for
Effects.call(null, constantAction());

//batch would be basically the same
//I imagine lift would be similar, though I haven't looked into it much yet

And now your effects are completely reusable and agnostic to your choice of state management. You could swap out redux-loop or even redux iteself without having to change them.
Let me know if you want me to move this to a new issue. I started writing it as a follow up to the original question, but at this point, whether or not the handlers are optional or required (which is basically what the oriiginal question boils down to) seems to be a separate question from whether or not this all makes sense.

@bdwain yes, let's please start a new issue about making this change

Sounds good. I made #66. Hopefully that will make it easy to implement my original suggestion of allowing side-effects to not trigger an action without having to special case anything. I'll close this for now.


Make the bridge installationId based

Adds the ability to test history sync by having multiple installations with the same inboxId running at the same time.
In React Native we keep a map of clients by inboxId in the bridge so that you can easily fetch a client and call it's respective functions on it. This makes it so you can only have one client at a time. Unfortunately when it comes to installations we want a client per installation the two options are to
This changes our client mapping to be by installationId

All tests are green!


How to create iso & sign all driver after compile

Hello.
I'm using the issue for asking question sorry for that.
1- Is there any tool "take all compiled drivers together && sign all drive && create iso" or i need to do that manualy? I found the repo "https://github.com/crobinso/virtio-win-pkg-scripts" but couldn't figure out usage.
2- After compile i couldn't find Server drivers like in "virtio.iso". I have "Win7, Win8, Win8.1, Win10, wlh, Wnet, Wxp"
3- Should i run "buildAll.bat" with any parameters like "release".
4- Can we run the "BuildAll.bat" any faster way? Like "windows parallel build".
5- Can i install the drivers with "non-registered certificate" without "windows testsigning on"?

Hi,

There are some internal tools that many users of the drivers created. What we have  only the first part (build all the drivers). The sign part relates to the question #5 - you can use internal certificate (needs "Windows testsining on)) - or you need certificate provided by signing authority or MS signed drivers.

Because Windows uses the same kernel for server and client SKUs, there us a mapping for those:

WinXP - Windows Server 2003
Went - this is a code name for Windows Server 2003
wlh, which is an old code name Windows Longhorn for Windows Server 2008
Win 7 - Windows Server 2008R2
Win 8 - Windows Server 2012
Windows 8.1 - Windows Server 2012R2
Windows 10 - Windows Server 2016

No really, it will build release drivers by default

You could split the build for each platform to separate script and run it in parallel

Answered in 1.

Best regards,
Yan.

Thank you for your answer and this awesome job.
Okay than this means: there is no way to install without "testsigning on" and i can't install drivers at windows installation.
I have to create "ide disk", after installation i can change drivers with "testsigning".
This is really bad because my all arch must changed now..
Windows should change this policy or publish a test signature for developers.

I'm giving my Windows driver installation batch script for other users.
This scripts will Recognize your Windows version and Arc. You can import your test drivers with this easy way.
@echo off

:: BatchGotAdmin
:-------------------------------------
REM  --> Check for permissions
IF '%PROCESSOR_ARCHITECTURE%' EQU 'amd64' (
   >nul 2>&1 "%SYSTEMROOT%\SysWOW64\icacls.exe" "%SYSTEMROOT%\SysWOW64\config"
 ) ELSE (
   >nul 2>&1 "%SYSTEMROOT%\system32\icacls.exe" "%SYSTEMROOT%\system32\config"
)

REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
    echo Requesting administrative privileges...
    goto UACPrompt
) else ( goto gotAdmin )

:UACPrompt
    echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
    set params = %*:"=""
    echo UAC.ShellExecute "cmd.exe", "/c ""%~s0"" %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"

    "%temp%\getadmin.vbs"
    del "%temp%\getadmin.vbs"
    exit /B

:gotAdmin
    pushd "%CD%"
    CD /D "%~dp0"
:--------------------------------------
echo Certificates importing..
echo off
".\Tools\certmgr.exe" -add Tools\testDrivers.cer -s -r localMachine ROOT
".\Tools\certmgr.exe" -add Tools\testDrivers.cer -s -r localMachine TRUSTEDPUBLISHER
echo Import ok

bcdedit /set testsigning on

setlocal
for /f "tokens=4-5 delims=. " %%i in ('ver') do set VERSION=%%i.%%j
if "%version%" == "10.0" goto Windows-10
if "%version%" == "6.3" goto Windows-81
if "%version%" == "6.2" goto Windows-8
if "%version%" == "6.1" goto Windows-7
if "%version%" == "6.0" goto Windows-Vista
rem etc etc
endlocal

:Windows-10
if "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto 1064BIT
else
echo Windows 10-x86 Drivers installing..
pnputil -a ".Network\Win10\x86\netkvm.inf"
echo Installed.
goto end
:1064BIT
echo Windows 10-x64 Drivers installing..
pnputil -a ".\Network\Win10\amd64\netkvm.inf"
echo Installed.
:end
pause

Thanks for sharing!
"Okay than this means: there is no way to install without "testsigning on" and i can't install drivers at windows installation."
You still can get certificate from one of the signing authorities. Also drivers that are distributed with  Fedora are signed with official Red Hat certificate: https://fedoraproject.org/wiki/Windows_Virtio_Drivers#Direct_download


Add labels/properties to ServiceInstance for using by LoadBalancer

We may want to push e.g. 99% traffic through v1 and 1% through v2, to implement this in a load balancer, we need info on properties of the service instance.

done by @aureamunoz


Update README.md + good job with this repository

obs: first time doing this. am i doing this right?
i updated your readme. that is all.

again, good job with the repository and the python script
and there is a grammatical error on the subtitle of the repository


Make mypy read all config from setup.cfg

This allows running mypy without any arguments, which makes more tooling
work out of the box.
--check-untyped-defs is not needed anymore, since untyped defs are disallowed.

Which change directs mypy to read setup.cfg?

Which change directs mypy to read setup.cfg?

No change is necessary for that. Mypy does it by default.


[BUG] package_dir in setuptools.setup() does not work as expected when installing with editable option

setuptools version
56.0.0
Python version
Python 3.8.5
OS
Ubuntu 18.04.4 LTS (Bionic Beaver)
Additional environment information
No response
Description
Hello,
I followed the instructions in https://github.com/pypa/setuptools/blob/main/docs/deprecated/distutils/setupscript.rst#listing-whole-packages by using
setuptools.setup(
    ...
    package_dir={'awesome_pkg': 'my_awesome_package'}
    package=['awesome_pkg']
)

in order to package my_awesome_package and later use it import awesome_pkg after install.
But this unfortunately didn't work.
 It's working without the -e. I was unable to find any documentation on this and I would consider it as a hidden bug / discrepancy of the API (please correct me if I'm wrong).
I have the following path structure:
setup.py
my_awesome_pkg/
    __init__.py
    module_1/
        __init__.py
        ...
    module_2/
        __init__.py
        ...

Expected behavior
import awesome_pkg should work with the package installed by pip install -e option
How to Reproduce
Please refer to bug report.
Output
<ipython-input-1-25a6a57694c2> in <module>
----> 1 import awesome_package
ModuleNotFoundError: No module named 'awesome_package'

Code of Conduct

[x] I agree to follow the PSF Code of Conduct

Related: https://stackoverflow.com/questions/64838393/package-dir-in-setup-py-not-working-as-expected

Oh it is a bug that explains a lot.

In editable mode (i.e. pip install -e .) the package name set through package_dir={'package_name':'dir_name'} is not recognized. The only way to access the modules is through the actual directory name where they are located.
As @cvcore points out, this functionality works fine outside of editable mode.
When mkdir tmp && cd tmp, the same behavior occurs: in editable mode you need to do import dir_name whereas in regular mode you do import package_name. @pganssle
Any updates on this?

Reproducible example
Environment
Tree
All files are empty except for setup.py.
./
├── dir_name/
│   ├── __init__.py
│   └── module.py
├── setup.py
└── tmp/

setup.py
from setuptools import setup

if __name__ == "__main__":
    setup(
        name='package_name',
        packages=['package_name'],
        package_dir={'package_name':'dir_name'}
    )

Steps
From the root directory of the tree (i.e. ./):

python3 -m venv .venv
source .venv/bin/activate
pip install [-e] . (Only add -e for editable mode)
cd tmp
python3

Results
Standard mode:
>>> import package_name
>>> import dir_name
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'dir_name'

Editable mode:
>>> import package_name
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'package_name'
>>> import dir_name

@cvcore, @pedrorrivero, could you please just checkout if v64.0.3+ solves your problem?


Better support for type declarations and tuples

Tuples are nice, but they feel like second class citizens. Construct for declaring variables and assigning tuple values all in one statement is great, but it doesn't allow to specify types.
type Tuple = [string, number];
var tuple:Tuple = ['str', 10];

// Works, but `a` and `b` are `any` type.
var [a, b] = tuple;

// Looks great. Doesn't work.
var [c:string, d:number] = tuple;

// Works great. Doesn't look.
var e:string;
var f:number;
[e, f] = tuple;

Please consider providing support for var [c:string, d:number] = tuple syntax, where variable type is defined right in the "tupled" declaration.

Why do you think a and b are of any type? They're inferred correctly as string and number respectively.
Even if we're talking about the situation where you want to provide explicit types, that's supported by
var [c, d]: [number, string] = ...;

Playground

I did try var [c, d]: [number, string] or better var [c, d]: Tuple, but didn't explicitly check their types, hence assumed they are any. You're absolutely correct, doing var x:boolean = c results in the error.
I'm using WebStorm, it's really good with TS, but doesn't pick up the type from tuple assignment, made me think there's a problem with it.


Allow adding your own rendering of arrows

This adds an arrowContent prop that allows you to inject content into the arrow tag. You can then style it yourself by using the direction CSS classes that are already added to the class. The positioning logic remains the same. No breaking API changes to support this.
I added a storybook to demonstrate something that wasn't possible with this library before.
Making it look good does require some fudging around CSS in the storybook since I relied on rotation transforms, which don't change the actual DOM position of the content box. but that's more of a CSS problem than one for this library; this library can support that better if, rather than arrowContent being a mere React Node, it also could accept a function with the direction as a parameter so that the user can return different content dependent on the direction; but this sufficed for my use case so I didn't add that.
Closes #82

Hey @osdiab this looks good.  I'll let you know when it's released, thanks!


Table metadata for science

Consider using something like astropy.Table to store field-level metadata about the meaning behind columns in the catalog (e.g. units).

See also https://www.ivoa.net/documents/REC/UCD/UCD-20050812.html
Rubin data will already have UCDs on their columns.


Running Shadow task and mqtt Task Simultaneously giving LoadProhibition Errror.

Hello,
I want to run the Shadow Task and MQTT Task simultaneously at the latest version. I know shadow uses the MQTT to work but  I want to publish and receive the message from a different topic instead of a shadow topic. Simply you can say I want to run mqtt_demo_mutual_auth.c and shadow_demo_main.c simultaneously.
For that, I m using the shadow_demo_main.c file for shadow, and for MQTT I tried to use the API of the iot_mqtt_api.c file and iot_mqttt_agent.c for MQTT.
In MQTT, I created the MQTT agent and then tried to subscribed to Topic. But when the program calls the  IotMqtt_TimedSubscribe() API it starts giving LoadProhibition error.
 ReceivedBytes=122.76 818 [main]
77 818 [main] [INFO] [MQTT] [core_mqtt.c:1045] 78 818 [main] De-serialized incoming PUBLISH packet: DeserializerResult=MQTTSuccess.79 820 [main]
80 820 [main] [INFO] [MQTT] [core_mqtt.c:1058] 81 820 [main] State record updated. New state=MQTTPubAckSend.82 820 [main]
83 821 [main] [INFO] [ShadowDemo] [shadow_demo_main.c:618] 84 821 [main] pPublishInfo->pTopicName:$aws/things/rgv_newAWStest/shadow/delete/rejected.85 822 [main]
86 822 [main] [INFO] [ShadowDemo] [shadow_demo_main.c:412] 87 822 [main] /delete/rejected json payload:{"code":404,"message":"No shadow exists with name: 'rgv_newAWStest'"}.88 823 [main]
89 824 [main] [INFO] [ShadowDemo] [shadow_demo_main.c:446] 90 824 [main] Error code is: 404.91 824 [main]
92 825 [main] [INFO] [ShadowDemo] [shadow_demo_main.c:456] 93 825 [main] Error code:404.94 825 [main]
95 866 [main] [INFO] [MQTT] [mqtt_demo_helpers.c:814] 96 866 [main] UNSUBSCRIBE sent topic $aws/things/rgv_newAWStest/shadow/delete/accepted to broker.

97 867 [main]
98 869 [main] [INFO] [MQTT] [core_mqtt.c:886] 99 869 [main] Packet received. ReceivedBytes=2.100 869 [main]
101 869 [main] [INFO] [MQTT] [mqtt_demo_helpers.c:469] 102 869 [main] MQTT_PACKET_TYPE_UNSUBACK.

103 870 [main]
104 930 [main] [INFO] [MQTT] [mqtt_demo_helpers.c:814] 105 930 [main] UNSUBSCRIBE sent topic $aws/things/rgv_newAWStest/shadow/delete/rejected to broker.

106 930 [main]
107 933 [main] [INFO] [MQTT] [core_mqtt.c:886] 108 933 [main] Packet received. ReceivedBytes=2.109 933 [main]
110 933 [main] [INFO] [MQTT] [mqtt_demo_helpers.c:469] 111 933 [main] MQTT_PACKET_TYPE_UNSUBACK.

112 934 [main]
113 994 [main] [INFO] [MQTT] [mqtt_demo_helpers.c:751] 114 994 [main] SUBSCRIBE topic $aws/things/rgv_newAWStest/shadow/update/delta to broker.

115 994 [main]
116 999 [main] [INFO] [MQTT] [core_mqtt.c:886] 117 999 [main] Packet received. ReceivedBytes=3.118 999 [main]
119 999 [main] [INFO] [MQTT] [mqtt_demo_helpers.c:463] 120 999 [main] MQTT_PACKET_TYPE_SUBACK.

121 1000 [main]
========================== RUNNING-MQTT-TASK ============================
122 1060 [main] [INFO] [MQTT_MutualAuth_Demo] [mqtt_connection.c:51] 123 1060 [main] xMQTTClientCreate--------------------124 1060 [main]
125 1060 [main] [INFO] [MQTT_MutualAuth_Demo] [mqtt_connection.c:62] 126 1060 [main] Attempting to create MQTT Agent.
127 1061 [main]
128 1062 [main] [INFO] [MQTT_MutualAuth_Demo] [mqtt_connection.c:70] 129 1062 [main] Successfully created MQTT Agent.
130 1063 [main]
131 1063 [MqttRecieveTask] [INFO] [MQTT_MutualAuth_Demo] [mqtt_connection.c:406] 132 1063 [MqttRecieveTask] MQTTReceiveTask-------------------------133 1064 [MqttRecieveTask]
134 1160 [PublishTask] [INFO] [MQTT] [mqtt_demo_helpers.c:864] 135 1160 [PublishTask] the published payload:{"state":{"desired":{"powerOn":5}},"clientToken":"001160"}
 136 1160 [PublishTask]
137 1161 [PublishTask] [INFO] [MQTT] [mqtt_demo_helpers.c:892] 138 1161 [PublishTask] PUBLISH sent for topic $aws/things/rgv_newAWStest/shadow/update to broker with packet ID 7.

139 1162 [PublishTask]
140 1167 [PublishTask] [INFO] [MQTT] [core_mqtt.c:886] 141 1167 [PublishTask] Packet received. ReceivedBytes=2.142 1167 [PublishTask]
143 1167 [PublishTask] [INFO] [MQTT] [core_mqtt.c:1162] 144 1167 [PublishTask] Ack packet deserialized with result: MQTTSuccess.145 1167 [PublishTask]
146 1168 [PublishTask] [INFO] [MQTT] [core_mqtt.c:1175] 147 1168 [PublishTask] State record updated. New state=MQTTPublishDone.148 1168 [PublishTask]
149 1170 [PublishTask] [INFO] [MQTT] [mqtt_demo_helpers.c:484] 150 1170 [PublishTask] PUBACK received for packet id 7.

151 1171 [PublishTask]
152 1171 [PublishTask] [INFO] [MQTT] [mqtt_demo_helpers.c:448] 153 1171 [PublishTask] Cleaned up outgoing publish packet with packet id 7.

154 1172 [PublishTask]
155 1173 [PublishTask] [INFO] [MQTT] [core_mqtt.c:886] 156 1173 [PublishTask] Packet received. ReceivedBytes=182.157 1173 [PublishTask]
158 1174 [PublishTask] [INFO] [MQTT] [core_mqtt.c:1045] 159 1174 [PublishTask] De-serialized incoming PUBLISH packet: DeserializerResult=MQTTSuccess.160 1175 [PublishTask]
161 1175 [PublishTask] [INFO] [MQTT] [core_mqtt.c:1058] 162 1175 [PublishTask] State record updated. New state=MQTTPubAckSend.163 1175 [PublishTask]
164 1176 [PublishTask] [INFO] [ShadowDemo] [shadow_demo_main.c:618] 165 1176 [PublishTask] pPublishInfo->pTopicName:$aws/things/rgv_newAWStest/shadow/update/delta.166 1178 [PublishTask]
167 1178 [PublishTask] [INFO] [ShadowDemo] [shadow_demo_main.c:479] 168 1178 [PublishTask] /update/delta json payload:{"version":7211,"timestamp":1619438645,"state":{"powerOn":5},"metadata":{"powerOn":{"timestamp":1619438645}},"clientToken":"001160"}.169 1179 [PublishTask]
170 1181 [PublishTask] [INFO] [ShadowDemo] [shadow_demo_main.c:520] 171 1181 [PublishTask] version: 7211172 1181 [PublishTask]
173 1182 [PublishTask] [INFO] [ShadowDemo] [shadow_demo_main.c:530] 174 1182 [PublishTask] version:7211, ulCurrentVersion:0
175 1183 [PublishTask]
176 1183 [PublishTask] [INFO] [ShadowDemo] [shadow_demo_main.c:563] 177 1183 [PublishTask] The new power on state newState:5, ulCurrentPowerOnState:0
178 1184 [PublishTask]
179 1225 [PublishTask] [INFO] [ShadowDemo] [shadow_demo_main.c:677] 180 1225 [PublishTask] Report to the state change: 5181 1225 [PublishTask]
182 1225 [PublishTask] [INFO] [MQTT] [mqtt_demo_helpers.c:864] 183 1225 [PublishTask] the published payload:{"state":{"reported":{"powerOn":5}},"clientToken":"001225"}
 184 1226 [PublishTask]
185 1227 [PublishTask] [INFO] [MQTT] [mqtt_demo_helpers.c:892] 186 1227 [PublishTask] PUBLISH sent for topic $aws/things/rgv_newAWStest/shadow/update to broker with packet ID 8.

187 1228 [PublishTask]
188 1229 [PublishTask] [INFO] [MQTT] [core_mqtt.c:886] 189 1229 [PublishTask] Packet received. ReceivedBytes=2.190 1229 [PublishTask]
191 1229 [PublishTask] [INFO] [MQTT] [core_mqtt.c:1162] 192 1230 [PublishTask] Ack packet deserialized with result: MQTTSuccess.193 1230 [PublishTask]
194 1231 [PublishTask] [INFO] [MQTT] [core_mqtt.c:1175] 195 1231 [PublishTask] State record updated. New state=MQTTPublishDone.196 1231 [PublishTask]
197 1232 [PublishTask] [INFO] [MQTT] [mqtt_demo_helpers.c:484] 198 1232 [PublishTask] PUBACK received for packet id 8.

199 1233 [PublishTask]
200 1233 [PublishTask] [INFO] [MQTT] [mqtt_demo_helpers.c:448] 201 1233 [PublishTask] Cleaned up outgoing publish packet with packet id 8.

202 1235 [PublishTask]
203 3064 [MqttRecieveTask] [INFO] [MQTT_MutualAuth_Demo] [mqtt_connection.c:309] 204 3064 [MqttRecieveTask] _modifySubscriptions-----------------------205 3064 [MqttRecieveTask]
206 3064 [MqttRecieveTask] [INFO] [MQTT_MutualAuth_Demo] [mqtt_connection.c:328] 207 3064 [MqttRecieveTask] IotMqtt_TimedSubscribe----------------------==============
208 3066 [MqttRecieveTask]
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC      : 0x400d93d3  PS      : 0x00060930  A0      : 0x800d9614  A1      : 0x3ffdd6c0
0x400d93d3: _subscriptionCommon at /home/horsemann/Desktop/WorkSpace/aws_latest_repository/personal-box-freertos-demo/build/../components/mqtt/src/iot_mqtt_api.c:1374

A2      : 0x00000003  A3      : 0x00000000  A4      : 0x3ffdd760  A5      : 0x00000001
A6      : 0x00000001  A7      : 0x00000000  A8      : 0x00000000  A9      : 0x3ffc3a80
A10     : 0x3ffd8f18  A11     : 0x00000001  A12     : 0x3ffdd760  A13     : 0x00000001
A14     : 0x00000000  A15     : 0x3ffd8f20  SAR     : 0x00000013  EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xffffffff

ELF file SHA256: 70b5cdcb110c1f5c

Backtrace: 0x400d93d3:0x3ffdd6c0 0x400d9611:0x3ffdd700 0x400d972c:0x3ffdd730 0x400d1c0b:0x3ffdd760 0x400d1d45:0x3ffdd7a0
0x400d93d3: _subscriptionCommon at /home/horsemann/Desktop/WorkSpace/aws_latest_repository/personal-box-freertos-demo/build/../components/mqtt/src/iot_mqtt_api.c:1374

0x400d9611: IotMqtt_Subscribe at /home/horsemann/Desktop/WorkSpace/aws_latest_repository/personal-box-freertos-demo/build/../components/mqtt/src/iot_mqtt_api.c:1374

0x400d972c: IotMqtt_TimedSubscribe at /home/horsemann/Desktop/WorkSpace/aws_latest_repository/personal-box-freertos-demo/build/../components/mqtt/src/iot_mqtt_api.c:1515

0x400d1c0b: _modifySubscriptions at /home/horsemann/Desktop/WorkSpace/aws_latest_repository/personal-box-freertos-demo/build/../src/mqtt_connection.c:329 (discriminator 4)

0x400d1d45: MqttRecieveTask at /home/horsemann/Desktop/WorkSpace/aws_latest_repository/personal-box-freertos-demo/build/../src/mqtt_connection.c:420

CODE:
int _modifySubscriptions(IotMqttOperationType_t operation,
                         const char **pTopicFilters,
                         void *pCallbackParameter)
{
    LogInfo(("_modifySubscriptions-----------------------"));
    int status = EXIT_SUCCESS;
    int32_t i = 0;
    IotMqttError_t subscriptionStatus = IOT_MQTT_STATUS_PENDING;
    IotMqttSubscription_t pSubscriptions[TOPIC_FILTER_COUNT] = {IOT_MQTT_SUBSCRIPTION_INITIALIZER};

    /* Set the members of the subscription list. */
    for (i = 0; i < TOPIC_FILTER_COUNT; i++)
    {
        pSubscriptions[i].qos = IOT_MQTT_QOS_1;
        pSubscriptions[i].pTopicFilter = pTopicFilters[i];
        pSubscriptions[i].topicFilterLength = strlen(pTopicFilters[i]);
        pSubscriptions[i].callback.pCallbackContext = pCallbackParameter;
        pSubscriptions[i].callback.function = _mqttSubscriptionCallback;
    }

    /* Modify subscriptions by either subscribing or unsubscribing. */
    if (operation == IOT_MQTT_SUBSCRIBE)
    {
        LogInfo(("IotMqtt_TimedSubscribe----------------------==============\n"));
        subscriptionStatus = IotMqtt_TimedSubscribe(mqttConnection,
                                                    pSubscriptions,
                                                    TOPIC_FILTER_COUNT,
                                                    0,
                                                    MQTT_TIMEOUT_MS);

        /* Check the status of SUBSCRIBE. */
        switch (subscriptionStatus)
        {
        case IOT_MQTT_SUCCESS:
            LogInfo(("All demo topic filter subscriptions accepted."));
            break;

        case IOT_MQTT_SERVER_REFUSED:

            /* Check which subscriptions were rejected before exiting the demo. */
            for (i = 0; i < TOPIC_FILTER_COUNT; i++)
            {
                if (IotMqtt_IsSubscribed(mqttConnection,
                                         pSubscriptions[i].pTopicFilter,
                                         pSubscriptions[i].topicFilterLength,
                                         NULL) == true)
                {
                    LogInfo(("Topic filter %.*s was accepted.",
                             pSubscriptions[i].topicFilterLength,
                             pSubscriptions[i].pTopicFilter));
                }
                else
                {
                    LogError(("Topic filter %.*s was rejected.",
                              pSubscriptions[i].topicFilterLength,
                              pSubscriptions[i].pTopicFilter));
                }
            }

            status = EXIT_FAILURE;
            break;

        default:

            status = EXIT_FAILURE;
            break;
        }
    }
    else if (operation == IOT_MQTT_UNSUBSCRIBE)
    {
        subscriptionStatus = IotMqtt_TimedUnsubscribe(mqttConnection,
                                                      pSubscriptions,
                                                      TOPIC_FILTER_COUNT,
                                                      0,
                                                      MQTT_TIMEOUT_MS);

        /* Check the status of UNSUBSCRIBE. */
        if (subscriptionStatus != IOT_MQTT_SUCCESS)
        {
            status = EXIT_FAILURE;
        }
    }
    else
    {
        /* Only SUBSCRIBE and UNSUBSCRIBE are valid for modifying subscriptions. */
        LogError(("MQTT operation %s is not valid for modifying subscriptions.",
                  IotMqtt_OperationType(operation)));

        status = EXIT_FAILURE;
    }

    return status;
}

/***************************************************/
/**
 * @brief : Used to receive mqtt message from suscribe topic
 *
 */
void MqttRecieveTask()
{
    LogInfo(("MQTTReceiveTask-------------------------"));
    vTaskDelay(2000);
    /* Counts the number of incoming PUBLISHES received (and allows the demo
   * application to wait on incoming PUBLISH messages). */
    IotSemaphore_t publishesReceived;

    /* Topics used as both topic filters and topic names in this demo. */
    const char *pTopics[TOPIC_FILTER_COUNT] =
        {
            IOT_DEMO_MQTT_TOPIC_PREFIX "/topic/test",
            IOT_DEMO_MQTT_TOPIC_PREFIX "/topic/2",
            IOT_DEMO_MQTT_TOPIC_PREFIX "/topic/3",
            IOT_DEMO_MQTT_TOPIC_PREFIX "/devices/test",
        };
    int status = _modifySubscriptions(IOT_MQTT_SUBSCRIBE,
                                      pTopics,
                                      &publishesReceived);
    while (1)
    {

        vTaskDelay(100);
    }
}

void runMqttTask(void)
{
    printf("========================== RUNNING-MQTT-TASK ============================ \n");
    xMQTTClientCreate();

    static TaskHandle_t hMQTTReceive = NULL;
    xTaskCreate(MqttRecieveTask, "MqttRecieveTask", 4096, NULL, 2, &hMQTTReceive);
    return;
}

Thanks in advance for your help.

@Raghav3107 Using mqtt from multiple tasks requires either multiple mqtt connections or the use of another task to route messages.
Our coreMQTT-Agent project is meant to address this need, but has not exited FreeRTOS Labs yet. Please check out the CoreMQTT-Agent repository and CoreMQTT-Agent-Demo. Feel free to re-open this issue or inquire further on FreeRTOS Forums.


Create "Install Me" Wiki page

Create "Install Me" Wiki page according to Yossi’s demands on Telegram:
Includes:

which "mvn build"s should be done

installation procedure

operation

eclipse instructions

web instructions

Any other necessary explanations

@matityahuinba  can you review the wikipage I added and give your oppinion

Looking good!

maybe we'll add few screenshots to simplify the process?
any reference to install mvn?
few typo mistakes -
Ecxisting --> Existing
Runnig --> Running
New make sure --> Now make sure?

:smiley:

Good job Inbal

I think this time it's "good job Assaf" :)
On Mar 31, 2017 20:20, "Yossi Gil"<EMAIL_ADDRESS>wrote:
Good job Inbal
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/TechnionYP5777/SmartCity-ParkingManagement/issues/139#issuecomment-290774368,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYK99r54th1e54Ix4cxRmvDzUrj17E1-ks5rrTXngaJpZM4MtSCj
.


Third eye render

Rendering from the perspective of the camera for video compositing results in a more accurate hologram alignment in recorded videos! This is suuuuper important for gifs and the like. This may pair well with tasks like Depth LSR and render-to-texture.

This is finally finished in 5336fe58aae7ecd8cc7b3636fe52198218d6f6c4


[Snyk] Upgrade babel-plugin-react-native-web from 0.19.1 to 0.19.4

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade babel-plugin-react-native-web from 0.19.1 to 0.19.4.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 3 versions ahead of your current version.
The recommended version was released 21 days ago, on 2023-04-12.

Release notes

Package name: babel-plugin-react-native-web

0.19.4 - 2023-04-120.19.4

0.19.3 - 2023-04-120.19.3

0.19.2 - 2023-04-050.19.2

0.19.1 - 2023-03-270.19.1

    from babel-plugin-react-native-web GitHub release notes

Commit messages

Package name: babel-plugin-react-native-web

e160546 0.19.4
8472324 [fix] Linking listener.remove() API
526eac1 0.19.3
7638301 [fix] Defaults and fallback logic for web props
3e74ed0 Update interactive examples
338cce1 [fix] SSR of Animated doesn't call useLayoutEffect
6795738 [fix] Patch more internal sources of deprecation warnings
4a61c16 0.19.2
5ace60e [fix] VirtualizedList sync from react-native
1c5119b [fix] Reintroduce BackHandler with console.error
985c79f [fix] Nested scroll in inverted VirtualizedList
03ddd95 [fix] layout measurement API consistency with React Native

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Codecov Report
Patch and project coverage have no change.

Comparison is base (1298714) 100.00% compared to head (ebd6f5c) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #54   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines          177       177
  Branches        39        39
=========================================
  Hits           177       177

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.