For users of the viya-for-learners , how can they obtain an  authorization code ?

When I tried to log in using the plugin, it redirected me to the browser and then it prompted me that "The application is not authorized to use SAS Logon Manager“. Then I returned to vscode, and the interface displayed that an authorization code is required.
I contacted the IT department of my education email, but they also don't know. Can you provide more detailed instructions?

What is your Viya version?
Please refer to the description around "Client ID"
https://github.com/sassoftware/vscode-sas-extension/blob/main/connect-and-run.md#add-new-sas-viya-profile

What is your Viya version?你的薇娅是什么版本？ Please refer to the description around "Client ID" 请参阅“客户端ID”周围的描述 https://github.com/sassoftware/vscode-sas-extension/blob/main/connect-and-run.md#add-new-sas-viya-profile

My Viya version is V.03.05. I have already read the link above, and the production date of my Viya is before 2022 (but strangely, I registered Viya recently).

My Viya version is V.03.05. I have already read the link above, and the production date of my Viya is before 2022 (but strangely, I registered Viya recently).

so, you'll have to ask your SAS administrator to register a Client ID for you.

That is the point. For Viya for Learner, When I consult the IT department of my organization , no one knows what the SAS administrator account is.

@dfmjndm, any updates? Did your SAS Admin register a client ID and client secret as explained in the SAS Communities article and then specify these in your connection profile? Did it work?

I have given up on the educational version of Viya for Learner because it is free and does not have a client ID


Fixed Issue 141 - Request Parameter with empty value being stripped

Fixed an issue that caused request parameters with no value (e.g. ?wsdl
or ?wsdl=) to not be included in the result of getQueryParams()

:+1:

Looks good to me. Thanks!


When checkbox is "on" by default, unchecking it makes the box disappear

This happens when I :

Set default to on in interface builder
set default to on in viewdidload with  button.on = true
set default to on in viewdidlaod with button.setOn(true, animated: true)

The code I use to uncheck the box is :
button.setOn(false, animated:true)

Hi @A1exandre,
I think that this bug should be fixed with the version of the library on the master branch.
Currently the CocoaPods is a little bit behind.


Changed SDP parsing to remove also RTX payloads from answer when corr…

…esponding codec has been removed. Needed to interop with Chrome 50.
Fixing the problem reported in #594. Thanks to @y-element for reporting and providing the fix.

@superdump I think we should merge this one.

Improved patch, thanks @pererikb !


[Backend] Research MQTT does the protocol could implement feature the device to connection status. (online, or offline)

Here are some detail about MQTT, blog post could help you research an solution

MQTT allows client to connect to broker with (username, password).

MQTT protocol has session, and Qos level. Meaning that the broker know when device has been disconnected

(copy form) MQTT Last Will and Testament (LWT): when the MQTT broker detects that the client is no longer connected it will publish the LWT message to the configured topic (note LWT is configured on the remote client, not in OH). Then create a switch Item to subscribe for those LWT messages and flip it off when you see a LWT message and back ON when you see any other message (use a rule).

LWT vietnamese blog (thông báo cho các khách hàng khác về một khách hàng bị ngắt kết nối một cách vô duyên.) : https://vidieukhien.xyz/2020/03/22/mqtt-tutorial-mqtt-last-will-and-testament/

LWT best practice https://www.hivemq.com/blog/mqtt-essentials-part-9-last-will-and-testament/

Flutter LWT : implement link

Topic for status : org/{org-name}/device/{device-id}/status.

Requirement for near realtime is not required (heart-beat or ping is okie).

Google Cloud Solution
GCP has a solution for it: https://stackoverflow.com/questions/54609757/google-core-iot-device-offline-event-or-connection-status , but it has required Stackdirver(GCP monitor tool) to monitor IoT_Core for device disconnection
relatied to GCP solution :
persistent-device-connection-status
google-cloud-detecting-offline-devices
Stuff has been proved

[x] Flutter client able to connect to broker with MQTT v3.1
[ ] Authenticate custom Aedes  broker

Implement Broker embedded with express


Stormwind starts extremely far from its starting Gold Mine

Requires 8 workers for full efficiency

Fixed
Town Hall is now only equidistant to Lordaeron's, fixing gold income rate


Allow Database specific grammar to be Macroable

This PR allows database-specific grammar classes to be independently macroable.
Consider, a package like michaeldyrynda/laravel-efficient-uuid which updates the resolver for each connection type and extending the base Grammer class for each Connection.
       Connection::resolverFor('mysql', function ($connection, $database, $prefix, $config): MySqlConnection {
            return new MySqlConnection($connection, $database, $prefix, $config);
       });
       Connection::resolverFor('postgres', function ($connection, $database, $prefix, $config): PostgresConnection {
            return new PostgresConnection($connection, $database, $prefix, $config);
        });

        Connection::resolverFor('sqlite', function ($connection, $database, $prefix, $config): SQLiteConnection {
            return new SQLiteConnection($connection, $database, $prefix, $config);
        });

If you wanted to use another package which added additional functionality (in the same way) to the Grammar you would end up with a collision. One package would supersede the other.
But Grammer is macroable already.....
However, if you are adding multiple conditions depending on the database type, as you would in a package you will end up with something like:
        Grammar::macro('typeEncrypted', function (Fluent $column) {
            $className = (new \ReflectionClass($this))->getShortName();

            if ($className === "MySqlGrammar") {
                return 'blob';
            }

            if ($className === "PostgresGrammar") {
                return 'bytea';
            }

            if ($className === "SQLiteGrammar") {
                return 'blob';
            }

            if ($className === "SqlServerGrammar") {
                return 'varbinary(max)';
            }

            throw new UnknownGrammarClass;
        });

As you will need to use Reflection to determine the specific return value based on the grammar class which is calling it.
You cannot simply call in a more readable way:
MySqlGrammar::macro('typeEncrypted', function (Fluent $column) {
      return 'blob';
});
SqlServerGrammar::macro('typeEncrypted', function (Fluent $column) {
      return 'varbinary(max)';
});

As only the last macro will be saved, as the macroable trait is only on the very base Grammer class, so it's impossible to apply to each specific Database Grammer accordingly. As currently they get overwritten each time.
This PR allows the above notation on a specific Database Grammer and keeps the base Grammer Macroable to avoid breaking changes.

Closing as currently incompatibility with Macro on the base Grammer class Which would need to be a Breaking change.


fix bug, make it work in OSX 10.10 Yomesite

@CMGS after looking at this pull request merge I am not sure it is safe.

@CMGS I think I may messed up the merge/diff here that is why it is messed up.

After looking at and merging other PRs this doesn't seem needed any more.


New GUI Proof of Concept

Recently i have been working on a new GUI of the server application while keeping the functionality the same, it supports Metro themeing as suggested in issues #50 and #74

Imo, nah. But you know whats weird, I was literally looking for white low poly pictures... funny how things work like that.

This looks like Bukkit GUI v2 (a Minecraft server hosting GUI) at the top


Add ADOPTERS file, per CNCF requirements

This adds an ADOPTERS.md file, which CNCF requires for graduating from Incubation.
Signed-off-by: Matt Butcher<EMAIL_ADDRESS>

Needs a DCO sign off before merging but lgtm!

@bacongobbler it appears that suggestions don't always get --signoff set (Not sure how Martin's worked but Josh's didn't). Any idea how to fix that?

Sorry no I haven't found a good way to use suggestions. I usually go back and git rebase -i, marking it as a re-word to add the sign-off.

For the sign-off, I got the impression it can be added in a text box just before committing the suggestion.  As long as the committer knows what the sign-off line is.  I haven't tried though.

Okay, fixed the sign-offs


Bot joins vc and sends start playing message, but doesnt play anything!

There is no error in cmd!

Could this be because you haven’t given the sufficient permissions to the bot? (Voice Permissions —> Speak)


Bboutet/layout refactor

This ongoing refactor work is a review of "about us" page layout.
Objectives:

replace 2 skyline images by a single file (full skyline) to use on both footer and header like it seems to be on figma.
use skyline image in background instead of html img element to eliminate the need of using "position: absolute" inside flex components and then keep a normal flow of html elements for HeroText and Timeline components.
In combination with the previous point, rework HeroText and Timeline style and layout to eliminate "about us" blank right spaces.

Current modifications:

full toronto skyline image newly downloaded and used in background for HeroText  and Timeline components ". img elements removed.
"position: absolute" removed on HeroText and Timeline styling classes
DrivenValues component commented out. It was causing the white blank space like HeroText.
Blank space removed with the modifications above

Upcoming modifications:

Update HeroText and Timeline component layout (I suggest @gh0stl0nely  and @hanlinc27 to complete this part)
Reintegrate DrivenValues  component when David  finish to fix the layout

@BBoutet1 After the changes it seems like 1) The SVG is now on top of the text and 2) The year number is also out of place. I recommend to keep the time line section unchanged since it is working. If things need to be fixed there, it can be done by the one who creates the section.

@BBoutet1 After the changes it seems like 1) The SVG is now on top of the text and 2) The year number is also out of place. I recommend to keep the time line section unchanged since it is working. If things need to be fixed there, it can be done by the one who creates the section.

@gh0stl0nely  sorry, I don't see where the svg is on the top of text in the image. Of course  skyline should be more bottom. As I said in comment, this layout should be complete. The starting point is to stop using background images in img tag and stop using "position:absolute" as it is not consistent with responsive layout when your component is inside a flex parent.

@BBoutet1 After the changes it seems like 1) The SVG is now on top of the text and 2) The year number is also out of place. I recommend to keep the time line section unchanged since it is working. If things need to be fixed there, it can be done by the one who creates the section.

@gh0stl0nely sorry, I don't see where the svg is on the top of text in the image. Of course skyline should be more bottom. As I said in comment, this layout should be complete. The starting point is to stop using background images in img tag and stop using "position:absolute" as it is not consistent with responsive layout when your component is inside a flex parent. So I have put the skyline in background and removed absolute and relative positioning.

Sorry not on top of text but now the year is also out of place as opposed to before. I am not sure how to make the image more bottom, because it is already at the bottom of the container already. But if you or others can, feel free to take it on. Though I don't have any problem with how the structure is like previously. Unless there is a visible improvement in performance then i wouldn't change, at least, the timeline section.

Give a responsive width to the container
On Mon., Oct. 5, 2020, 11:26 a.m. Khoi Nguyen<EMAIL_ADDRESS>wrote:

@BBoutet1 https://github.com/BBoutet1 After the changes it seems like

The SVG is now on top of the text and 2) The year number is also out of
place. I recommend to keep the time line section unchanged since it is
working. If things need to be fixed there, it can be done by the one who
creates the section.

@gh0stl0nely https://github.com/gh0stl0nely sorry, I don't see where
the svg is on the top of text in the image. Of course skyline should be
more bottom. As I said in comment, this layout should be complete. The
starting point is to stop using background images in img tag and stop using
"position:absolute" as it is not consistent with responsive layout when
your component is inside a flex parent. So I have put the skyline in
background and removed absolute and relative positioning.
Sorry not on top of text but now the year is also out of place as opposed
to before. I am not sure how to make the image more bottom, because it is
already at the bottom of the container already. But if you or others can,
feel free to take it on. Though I don't have any problem with how the
structure is like previously. Unless there is a visible improvement in
performance then i wouldn't change, at least, the timeline section.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Toronto-Tech-Mentoring/TTM-Gatsby/pull/41#issuecomment-703705551,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOIJ7OQO4OFC2GQ3B3F7RWTSJHQQRANCNFSM4SEHQDRA
.

Responsive height  I mean
On Mon., Oct. 5, 2020, 11:37 a.m. Brice L. Boutet<EMAIL_ADDRESS>wrote:

Give a responsive width to the container
On Mon., Oct. 5, 2020, 11:26 a.m. Khoi Nguyen<EMAIL_ADDRESS>wrote:

@BBoutet1 https://github.com/BBoutet1 After the changes it seems like

The SVG is now on top of the text and 2) The year number is also out of
place. I recommend to keep the time line section unchanged since it is
working. If things need to be fixed there, it can be done by the one who
creates the section.

@gh0stl0nely https://github.com/gh0stl0nely sorry, I don't see where
the svg is on the top of text in the image. Of course skyline should be
more bottom. As I said in comment, this layout should be complete. The
starting point is to stop using background images in img tag and stop using
"position:absolute" as it is not consistent with responsive layout when
your component is inside a flex parent. So I have put the skyline in
background and removed absolute and relative positioning.
Sorry not on top of text but now the year is also out of place as opposed
to before. I am not sure how to make the image more bottom, because it is
already at the bottom of the container already. But if you or others can,
feel free to take it on. Though I don't have any problem with how the
structure is like previously. Unless there is a visible improvement in
performance then i wouldn't change, at least, the timeline section.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Toronto-Tech-Mentoring/TTM-Gatsby/pull/41#issuecomment-703705551,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOIJ7OQO4OFC2GQ3B3F7RWTSJHQQRANCNFSM4SEHQDRA
.

Responsive height I mean On Mon., Oct. 5, 2020, 11:37 a.m. Brice L. Boutet<EMAIL_ADDRESS>wrote:
…
Give a responsive width to the container On Mon., Oct. 5, 2020, 11:26 a.m. Khoi Nguyen, @.***> wrote: > @BBoutet1 https://github.com/BBoutet1 After the changes it seems like > 1) The SVG is now on top of the text and 2) The year number is also out of > place. I recommend to keep the time line section unchanged since it is > working. If things need to be fixed there, it can be done by the one who > creates the section. > > @gh0stl0nely https://github.com/gh0stl0nely sorry, I don't see where > the svg is on the top of text in the image. Of course skyline should be > more bottom. As I said in comment, this layout should be complete. The > starting point is to stop using background images in img tag and stop using > "position:absolute" as it is not consistent with responsive layout when > your component is inside a flex parent. So I have put the skyline in > background and removed absolute and relative positioning. > > Sorry not on top of text but now the year is also out of place as opposed > to before. I am not sure how to make the image more bottom, because it is > already at the bottom of the container already. But if you or others can, > feel free to take it on. Though I don't have any problem with how the > structure is like previously. Unless there is a visible improvement in > performance then i wouldn't change, at least, the timeline section. > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <#41 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/AOIJ7OQO4OFC2GQ3B3F7RWTSJHQQRANCNFSM4SEHQDRA > . >

Please handle this if you can.

I will. But please for your next work, background image in background. Something can work today and be easier to break down. Think about the people who will read and work on your code in the future.

@BBoutet1  Can I close this and the other sample PR I made for now since I am working on making David's components?

Lot of work already done on HeroText and Timeline. I think you can work on
David component will not cause big issues. If your PR is approved first I
will update "aboutUs/index.js" the only shared file.
On Mon., Oct. 5, 2020, 7:28 p.m. Khoi Nguyen<EMAIL_ADDRESS>wrote:

@BBoutet1 https://github.com/BBoutet1 Can I close this and the other
sample PR I made for now since I am working on making David's components?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Toronto-Tech-Mentoring/TTM-Gatsby/pull/41#issuecomment-703942674,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOIJ7ORZB4RORONRP4UQYFDSJJJDVANCNFSM4SEHQDRA
.

I just commented out tags on "aboutUs/index.js" did not work on David
components.
On Mon., Oct. 5, 2020, 7:43 p.m. Brice L. Boutet<EMAIL_ADDRESS>wrote:

Lot of work already done on HeroText and Timeline. I think you can work on
David component will not cause big issues. If your PR is approved first I
will update "aboutUs/index.js" the only shared file.
On Mon., Oct. 5, 2020, 7:28 p.m. Khoi Nguyen<EMAIL_ADDRESS>wrote:

@BBoutet1 https://github.com/BBoutet1 Can I close this and the other
sample PR I made for now since I am working on making David's components?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Toronto-Tech-Mentoring/TTM-Gatsby/pull/41#issuecomment-703942674,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOIJ7ORZB4RORONRP4UQYFDSJJJDVANCNFSM4SEHQDRA
.

@BBoutet1 Yeah but as discussed in the meeting the changes here won't create a lot of improvement. All we need is one line of CSS change and problem is fixed for the Skyline component. We would have to make more changes (i.e: the years are out of place) to the timeline section that is already working if we merge this change.
Because changes like these may interrupt or potentially affect the already written CSS, i recommend to consult and propose your idea to other teammates who have been working on the components before creating the changes yourself.
That is why we should keep all the components separate from each other.

Don't merge it now. Don't worry everything working fine. I have already
talked with Hanlin since Friday about that issue.
On Mon., Oct. 5, 2020, 7:57 p.m. Khoi Nguyen<EMAIL_ADDRESS>wrote:

@BBoutet1 https://github.com/BBoutet1 Yeah but as discussed in the
meeting the changes here won't create a lot of improvement. All we need is
one line of CSS change and problem is fixed for the Skyline component. We
would have to make more changes (i.e: the years are out of place) to the
timeline section that is already working if we merge this change.
Because changes like these may interrupt or potentially affect the already
written CSS, i recommend to consult and propose your idea to other
teammates who have been working on the components before creating the
changes yourself.
That is why we should keep all the components separate from each other.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Toronto-Tech-Mentoring/TTM-Gatsby/pull/41#issuecomment-703950224,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOIJ7OVVAGRAHXJVGDD6OYDSJJMN5ANCNFSM4SEHQDRA
.

@hanlinc27 Can you clarify this?

Can we close this PR for now and you can reopen it when David finishes his part?

Can we close this PR for now and you can reopen it when David finishes his part?

Give us til Thursday to finish David's work.

Please can you explain why you want to close it despite David files are not
modified it. I don't really understand how you manage with PR. If you close
it I am no more working on Timeline and HeroText sections and I will wait
till you fix all the components going outside the screen width. I have
spent enough time on that because those files have messed up the about us
page and breaking the navbar layout.
On Tue., Oct. 6, 2020, 10:14 a.m. Hanlin Cheng<EMAIL_ADDRESS>wrote:

Can we close this PR for now and you can reopen it when David finishes his
part?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Toronto-Tech-Mentoring/TTM-Gatsby/pull/41#issuecomment-704298390,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOIJ7ORFJWXKQTDALY32N43SJMQ6HANCNFSM4SEHQDRA
.

@gh0stl0nely @hanlinc27 I removed the all the modification on the Timeline component. It is like I have found it.

@harshvchawla  ready for review

This file does not have any changes. Did you check? - lines = + lines.
On Sun., Oct. 11, 2020, 3:03 p.m. Harsh Chawla<EMAIL_ADDRESS>wrote:

@harshvchawla commented on this pull request.
In src/images/about-us/torontoSkyline.svg
https://github.com/Toronto-Tech-Mentoring/TTM-Gatsby/pull/41#discussion_r502953205
:

@@ -0,0 +1,3 @@
+

this file not part of "burger menu" so ideally should have come via
different PR
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Toronto-Tech-Mentoring/TTM-Gatsby/pull/41#pullrequestreview-506207454,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOIJ7OT3YWNBJN24ZQ5M4LLSKH6OZANCNFSM4SEHQDRA
.

The visual and responsiveness are good. One minor issue I can point out is whenever I click on the Burger menu and the sidebar appears, "Client" always has the blue border around it like below. Maybe we can put that as an issue to solve down the road.

@BBoutet1 - you can put the review comments in "known issue" (what me & khoi have mentioned; plus what you know of) and merge this PR meanwhile
We can handle rest fixes in another PR
Great job!

This file does not have any changes. Did you check? - lines = + lines.
…
On Sun., Oct. 11, 2020, 3:03 p.m. Harsh Chawla, @.> wrote: @.* commented on this pull request. ------------------------------ In src/images/about-us/torontoSkyline.svg <[#41 (comment)](https://github.com/Toronto-Tech-Mentoring/TTM-

@BBoutet1  yeah torontoSkyline.svg appears as a whole new file in the "files changed" in this PR that's why I noted as an observation. But for now I am ok to merge this PR (with whatever known issues you can jot down in the wiki page)

@BBoutet1 - you can put the review comments in "known issue" (what me & khoi have mentioned; plus what you know of) and merge this PR meanwhile
We can handle rest fixes in another PR
Great job!

@harshvchawla  and @harshvchawla yes for creating issues.

@gh0stl0nely and @harshvchawla yes go ahead to create issues. Thank you all for the the observations.


[Feature] Able to add custom watch task, e.g. watch changes in *.cs, *.cshtml, etc.

Versions
Angular CLI: 1.6.0
Node: 8.9.1
OS: win32 x64
Angular: 5.1.0
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router, service-worker

@angular/cli: 1.6.0
@angular/platform-server: error
@angular/tsc-wrapped: error
@angular-devkit/build-optimizer: 0.0.35
@angular-devkit/core: 0.0.22
@angular-devkit/schematics: 0.0.41
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.0
@schematics/angular: 0.1.10
@schematics/schematics: 0.0.10
typescript: 2.5.3
webpack: 3.10.0

Repro steps
N/A
Observed behavior
N/A

Desired behavior
Able to set up custom watch task to monitor ASP.NET MVC files changes, execute msbuild and reload the browser if any changes.
Mention any other details that might be useful (optional)

For this use case I think your best approach is to setup the separate task running outside Angular CLI, or perhaps use https://github.com/manfredsteyer/ngx-build-plus to customize the build system.


Icon colour

OK, granted this is a minor one!
The Silverstripe icon in the files list is currently showing up in black on my system.   It's probably OK if you're on a light theme, but on mine (which is a dark theme) it's a bit nasty.
Just wondering if the S should be blue.. not sure what the brand guidelines say about it.

Hmm that’s weird, the icon should be blue! https://github.com/kinglozzer/idea-silverstripe-plugin/blob/master/src/main/resources/icons/silverstripe.svg. It seems the 2023.1 -> 2023.2 update is where this broke 😞
I do actually want to look at updating the icon soon anyway, as the open source product is getting its own branding so I’ll double check the icon guidelines in case I’ve missed something

Hmm that’s odd, mine are now appearing correctly after indexing has finished. I’m wondering if it’s a conflict between two plugins - do you have any other plugins that might be adding custom icons?

I’ve updated the icons in 1.0.4 (pending approval, but can be installed from ZIP via GitHub) and that has resolved this for me

That's sorted it for me too, cheers Loz.

Commented on e71767c but maybe this is a better (more visible) spot:

... the new icon looks slick.
Curious though: Where does it come from, is it specific to this plugin (i.e. this plugin's own icon) or did SS rebrand? Not seeing it yet on silverstripe.org or on SS repos (the org at least).

Deleted my comment, just saw the link above to https://github.com/silverstripe/silverstripe-admin/issues/1542.
I was wondering why the icon changed, if SS was getting a new logo, since it isn't yet on the actual SilverStripe website nor Github organization page. 😅


Duplicated error codes are being used in self registration and account recovery flows

Describe the issue:
Some of the error codes that are being used in the following flows are duplicated and not documented properly. This needs to be checked throughly and remove any duplication in the error codes and use unique error code for each and every error scenarios.

Self registration
Account recovery

E.g:

https://github.com/wso2-extensions/identity-governance/blob/8f43fb27899720602366a3751daf6d53641e6c8e/components/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/IdentityRecoveryConstants.java#L198
https://github.com/wso2-support/carbon-identity-framework/blob/bb879333ef49fda8b3cdffe93820bfd044cf94e2/components/identity-core/org.wso2.carbon.identity.core/src/main/java/org/wso2/carbon/identity/core/util/IdentityCoreConstants.java#L72

How to reproduce:

Expected behavior:
The same error codes with different error messages should not be there.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [6.2.0-alpha4]
OS: [e.g., Windows, Linux, Mac]
Database: [e.g., MySQL, H2]
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:
Doc Issue - https://github.com/wso2/product-is/issues/12354
Suggested labels:

The error code 18001 has been employed with distinct descriptions in different parts of the codebase:
In the wso2-identity governance/components/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/IdentityRecoveryConstants.java file, the description associated with the error code is invalid code.
Conversely, in the wso2-carbon-identity-framework/components/identity-mgt/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/identity/mgt/util/UserIdentityManagementUtil.java#L720 file, the description linked to the same error code is No user account found for user.

While attempting to resend an email within the self-registration process, I purposefully provided an incorrect password during the email configuration. Despite this misconfiguration, the user interface showed the message "Email sent successfully." However, upon checking the terminal logs, the following error was recorded:
ERROR {org.wso2.carbon.event.output.adapter.email.EmailEventAdapter} - Event dropped at Output Adapter 'EmailPublisher' for tenant id '-1234', Error in message format, 535-5.7.8 Username and Password not accepted.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


UI improvement

Put download file in a separate thread so the UI won't frozen.
Show progress bar
Show refresh button

Put download file in a separate thread so the UI won't frozen.
Show progress bar
Show refresh button

This is really cool! thanks for adding this :D


import typo

LOL sorry was making sure that theano works without correctly importing tensorflow, then forgot to revert it, gonna push to pip now. Thanks!


BebopPiloting ?

when we can expect a version of BebopPiloting for iOS ?? ...like RollingSpiderPiloting

I hope it ...

You now have access to a sample to pilot the Bebop drone on iOS :)
You just have to update ARSDKBuildUtils, build it for iOS and you will be able to launch the XCode project which is in Samples/iOS/BebopDronePiloting/ .


It seems input node feature's dimension has not aligned with GMT?

Hi, in your paper you said the input node feature for social datasets are one-hot encodings of node degrees:

Thus, the initial node features of the HRN inputs are set to one-hot encodings of the node degrees for social networks and a combination of the one-hot encodings of the degrees and categorical labels for bioinformatic graphs.

And GMT also follow the same setting as yours for social datasets:

we use the one-hot encoding of their atom types as initial node features in the bio-chemical datasets, and the one-hot encoding of node degrees as initial node features in the social datasets.

However, when I run GMT and SEP, I found even for social datasets, the input node feature's dimension is not the same:

GMT use the OneHotDegree function provided by PyG to implement the transformation for raw data (see https://github.com/JinheonBaek/GMT/blob/main/utils/data.py), which should be treat as a standard implementation, and you mentiond you follow the scripts of GMT in your paper:

Because GMT is the most recent work that replicates these popular pooling approaches in previous studies, and we implement SEP-G based on the code of GMT

I'm confused why the dimension would be different, it is important to know how you process the raw data to node features, can you help me?

Genius, this is the exact reason.
Now, in your view, whether the two embedding methods make any difference in model performance? In my view, they are the same.

Genius, this is the exact reason.
Now, in your view, whether the two embedding methods make any difference in model performance? In my view, they are the same.

Yes, basically the same, your implementation might save some computation budget for empty column in standard node feature matrix caused by non-exist degrees.


Choose the test framework

rspec or minitest

Through short research on my way to home, I'd like to use minitest since it seems,

easier to use
I never use
it is lite but enough

Use ExUnit


Dev v2 on Apr25

Is this PR adding new feature or fix a BUG?
Add feature / Fix BUG.
Is this pull request related to any issue? If yes, please link the issue.
#xxx

This is supposed to be merged into a local branch. PR was submitted by mistake.


Move ctr run --isolation to Windows only

Signed-off-by: Justin Terry (VM<EMAIL_ADDRESS>Resolves: #2827

@jterry75 , maybe need to restart ci to make ci happy, my pr also fails in that time interval

Codecov Report

Merging #2828 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2828   +/-   ##
=======================================
  Coverage   43.79%   43.79%
=======================================
  Files         100      100
  Lines       10741    10741
=======================================
  Hits         4704     4704
  Misses       5307     5307
  Partials      730      730

Flag
Coverage Δ

#linux
47.45% <ø> (ø)
:arrow_up:

#windows
40.96% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

LGTM

LGTM


Updates until line 368

thanks.
note that i've fixed a typo:
https://github.com/batocera-linux/batocera-emulationstation/commit/042cba1d606086c5ccfeac07505c02c6f121542f


One drive API adding # after [Redirect URI]

I was quickly trying to get a access token by using a sample MVC project.
I tried to use "Token flow" and sent a request to
https://login.live.com/oauth20_authorize.srf?client_id={client_id}&scope={scope}
&response_type=token&redirect_uri={redirect_uri}
with my data filled in the {}.
The response I get back has following URL format (using {} identifier to omit long and actual query parameters values):
http://mytestdomain.com/my-apps-redirect-uri#access_token={access_token_demo_value}&authentication_token={authentication_token_demo_value}&token_type=bearer&expires_in={expires_in_demo_value}&scope={scope_demo_value}&user_id={user_id_demo_value}
If you look closely then you will observe that the URL contains a # right after the redirect URL.
Is this normal?
This makes it hard to extract all query string parameters within a controller's action. In this case it may work (not tried yet) if I make new exclusive entry for this type of URL pattern in my application's MVC route configurations to work around this, this would not be recommended IMO.
Ideally I (as an application) would expected a ? instead of #
Awaiting response from OneDrive API dev. team or a good reason on why # instead of standard ? to begin query string.
Thanks

@jsinh - OneDrive uses Microsoft account as its identity provider, which implements the OAuth 2.0 protocol.   Per the OAuth 2.0 spec, the access token is returned in in the fragment component of the redirect uri when the response type is set to "token" as described at https://tools.ietf.org/html/rfc6749#section-4.2.2.
If you would like the access token in the query parameter, consider using the "code" flow.

Closing this out. If you have any additional questions, feel free to reopen.

@jscaria Thanks for OAuth 2.0 protocol reference, that makes sense.
There are two redirects / response that follows following pattern, the one i mentioned above and the other is error response:
https://login.live.com/err.srf?lc=1033#error=unauthorized_client&error_description=The client does not exist. If you are the application developer%2C configure a new application through the application management site at https://manage.dev.live.com/.
I read the protocol spec further and found specification for this one too.
https://tools.ietf.org/html/rfc6749#section-<IP_ADDRESS>
Thanks again for the clarification !!

To address the error you're seeing, register you app with Microsoft accounts.   There's more details at https://github.com/OneDrive/onedrive-api-docs/blob/master/auth/msa_oauth.md#to-register-your-app.    Ensure that you're using the same client id & redirect uri (in the query params) that you registered your app with.


Toolbar demo: Update with filter chips

The toolbar demo should be updated to add filter chips to the second row of the complex toolbar.
Filter Chips are in progress: https://github.com/patternfly/patternfly-next/issues/177

@rachael-phillips I think this issue can be closed right?

Great, thank you!


Remove the "dot" that are placed instead of spaces on the code editor.

The dots that are placed to replace the spaces on the python code editor are pretty annoying and can be confusing as dots are usually meant to be used on functions and classes in python, it would be better to have the spaces showing as they should and not having those dots or would be nice to at least have the choice to select what we want to use, my suggestion is to have an option window on the top menu under Edit and there place this kind of stuff to allow more customization on PyFlow.

See #31


Hide spelling variants (alternative labels) for statements

@davidzbiral what do you think? We believe that this attribute does not have sense for Statements.

@adammertel Sure - this was my oversight, I said for all, but for Statements it has no sense indeed.


[Edit docs] Small link fix for mining page

URL of the page to change: https://docs.stacks.co/docs/stacks-academy/mining
Explain here what you would like to change.
The clickable link called miner on mainnet as below
https://docs.stacks.co/docs/nodes-and-miners/miner-testnet
should instead take you to
https://docs.stacks.co/docs/nodes-and-miners/miner-mainnet

Mining link fixed


Added an excluded repo

Contributing
If you want to add a project to this list, please make sure that:

[x] You read the contributing guide
[ ] The repository has hacktoberfest as topic and counts for hacktoberfest event (⚠Excluded repo)
[ ] The project can't be just an "add your name" or simply + 1 contribution to hacktoberfest (⚠Excluded repo)
[x] Place them in alphabetical order
[x] One repository per PR/contribution - avoid conflicts and simplify review
[x] Your pull request is not spammy just adding an empty line, otherwise it will be marked as invalid and not count to hacktoberfest.

If they meet the requirements above, feel free to create a PR. Happy Hacking! :sparkles:

Hi, I just added a quite popular excluded repo from Hacktoberfest 2023, because it asks users to add random algorithms.
Thanks

Hi @OtacilioN ! Thanks for merging this first Hacktober contribution, can you add the hacktoberfest-accepted label ?
Thanks 👍🏻

That's no need, prs merged here are automatically counting on hacktoberfest


update license and various other metadata

LICENSE already says Apache 2.0 so it's probably just a leftover from the cookbook generator?

Which feature from compat_resource are we using?

New custom resources support eg acme_persistence
Von meinem iPhone gesendet

Am 19.04.2017 um 11:51 schrieb Thijs Houtenbos<EMAIL_ADDRESS>Which feature from compat_resource are we using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Enabling "Relationship" tab in Edit Item

Dear All,
Could you please help me out how do we enable Relationship tab in Edit Item. When i try to access relationship tab it gives an  message "Add 'dspace.entity.type' metadata to enable relationships for this item". Please find the attached screenshot for your reference. Thanks!!
Unable to upload screenshot

@SrinivasRao17 : If you have simple usage questions, please ask them using one of our Support options listed at https://wiki.lyrasis.org/display/DSPACE/Support
This GitHub ticketing system is only for suspected bugs or submitting feature/improvement requests.  Since this is a question I'm closing it. Please use our mailing lists or similar (see that Support page).  Thanks.
(As a sidenote, I'm pretty sure that message is telling you what you need to know. That particular Item must not have a "dspace.entity.type" metadata field.  It's impossible to add a Relationship to default Items...they must be entities (with a valid dspace.entity.type) to create a relationship.)


Feature/router

Description

Add nifcloud_router resource.

Implemented #9

How Has This Been Tested?

[x]  Buld with make install command, and Apply example.

make install
cd examples/router
terraform init -get-plugins=false
terraform plan
terraform apply

Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Refactoring (improves code quality but has no user-facing effect)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation

LGTM😻

LGTM😻


4.5 BUG: welcomeProperty wrong

This welcomeProperty below should be "conversation.welcomed":
https://github.com/Microsoft/botbuilder-dotnet/blob/ComposableDialog/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Rules/WelcomeRule.cs#L19
[bug]

So I actually see the issue here. You guys are only ever assigning it to the conversation:
https://github.com/Microsoft/botbuilder-dotnet/blob/ComposableDialog/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Rules/WelcomeRule.cs#L87
Instead of what you're currently doing you should call DialogContext.state.setValue() with the full memory reference of "conversation.welcomed".  That will let the developer change the property to "user.welcomed" if they wish to only ever great the user once period.


Changes to make graphql-yoga more extendable

Change context and options modifier from private to protected so they can be read in derived classes
Allow initialization without schema or typeDefs/resolvers + error handling
Moved cors, bodyParser and apolloUpload from start to constructor, so additional middlewares are added in the right place before start is called
Renames backing property schema to executableSchema to avoid confusion because the GraphQLSchema type doesn't guarantee that the schema is actually executable. Also made it protected because it is not designed to be set manually for normal usage. This is technically a breaking change, but as I didn't change the constructor parameter schema, it should be okay.

Also, merging #32 would be very welcome.

Thanks a lot for this PR @kbrandwijk. Would be great if you could extend the middleware section in the readme so it's easier to understand.
On another note: I'm not 100% on the same page with executableSchema because you can also omit resolvers for makeExecutableSchema which in that case doesn't really make it executable. For the sake of simplicity I'd suggest to keep the schema term.

@schickling I will extend the readme on the middlewares. Regarding makeExecutableSchema, even omitting the resolvers will still make it executable, because it will use default resolvers. You can execute queries against it, it will just not return any data. This is in contrast with builASTSchema, that also produces something of type GraphQLSchema, but is not executable and will throw when executing a query against it.

Good point @kbrandwijk

Maybe options should be public instead of protected? If you want to add your own middlewares, you need a way to access the endpoint, which is part of the options. What do you think, @schickling?

Make executableSchema to protected will be a breaking change for me. Because I unable to extends directly from GraphQLServer, inversify required a @injectable() on the base class. BTW, maybe a have another sub-class, extends GraphQLServer and export executableSchema via a method. 👍
import { importSchema } from 'graphql-import';
import { attachDirectiveResolvers } from 'graphql-tools';
import { GraphQLServer } from 'graphql-yoga';
import { inject, injectable } from 'inversify';
import * as path from 'path';

import {
  IConfig,
} from '../infrastructures/config';
import { IApplication } from '../ioc/interfaces';
import { TYPES } from '../ioc/types';

import {
  directiveResolvers,
} from './directives';
import {
  IContextFactory,
  IGraphQLContext,
} from './interfaces';
import {
  resolvers,
} from './resolvers';

@injectable()
export class ApiServer {
  private app: IApplication;
  private port: number;
  private server: GraphQLServer;

  constructor(
    @inject(TYPES.Application) app: IApplication,
    @inject(TYPES.ContextFactory) contextFactory: IContextFactory,
  ) {
    this.app = app;
    this.app.init();

    this.port = app.getConfig().get('PORT', 5000);

    const typeDefs = importSchema(path.join(
      __dirname,
      './schema.graphql',
    ));

    this.server = new GraphQLServer({
      context: (params) => contextFactory.create(params),
      options: {
        endpoint: '/v3/graphql',
        playgroundEndpoint: '/playground',
        port: this.port,
        subscriptionsEndpoint: '/subscriptions',
        tracing: false,
      },
      resolvers,
      typeDefs,
    });

    attachDirectiveResolvers(this.server.schema, directiveResolvers);
  }

  public start(cb: (port: number) => void) {
    return this.server.start(() => {
      cb(this.port);
    });
  }
}

@giautm I don't understand exactly what you mean. In the code snippet you shared I don't see you setting schema directly anywhere. But I've made it public again anyways, as it doesn't really matter, and doesn't break anything.

@kbrandwijk: hey, this line is setting schema
attachDirectiveResolvers(this.server.schema, directiveResolvers);


Changes required for resolving Runtime & Value errors using Python3.8 after labs were upgraded in CloudIDE2.0

We are now facing the below errors, using Python3.8 after the labs were upgraded in CloudIDE2.0:

"RuntimeError: Working outside of application context."
"ValueError: Invalid isoformat string……”

We had to make changes in these files: 1)  tests/test_account.py & 2) models/account.py  -  to resolve these errors & get the  labs working correctly.
Since the labs are divided into folders, we need to port the fixes in the other labs.
Hence, these changes are needed for the labs:

https://www.coursera.org/learn/test-and-behavior-driven-development-tdd-bdd/ungradedLti/nHRcT/creating-an-initial-state-using-test-fixtures
https://www.coursera.org/learn/test-and-behavior-driven-development-tdd-bdd/ungradedLti/GVlfE/running-test-cases-with-coverage
https://www.coursera.org/learn/test-and-behavior-driven-development-tdd-bdd/ungradedLti/KAbA4/using-factories-and-fakes

@Sklup55 It looks like you deleted date_joined from the model. I would rather not delete code as the solution to fixing it.
BTW, I never wanted to use Python 3.8. All of the code was written for Python 3.9. I only used 3.8 because the lab environment was so old. I'm not sure we can get Python 3.9 installed anymore but I will try as a first possible fix.
I'll look into fixing these errors. How can I bring up the labs in the new environment? When I load them from the Author Workbench and select CloudIDE 2.0, it still says Cloud IDE Version 1.3.2 when I get into the environment. Do I need to do something special to get CloudIDE 2.0 into that environment?
Also exactly, which labs are affected?

@Sklup55 This Pull Request is no longer needed. This was fixed by PR #9. All that was needed was to lock down the versions in the requirements.txt files to those that matched the existing code.


Database Name Option

I think we need to hide the database setting... "Database Name".   Since the database name is db.kdbx.   If you enter "test" into the field, it will rename the database to test.kdbx.

Disabled.


How to install section is duplicated

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

Already applied to dev branch...


BottomNavigationBar doesn't seem to be a child of MaterialAppand therefore fails to find localizations from the context.
I don't know what the correct strategy is for this situation.
/cc @HansMuller

When I make all of my imports relative, it works fine. Also when I do a hot restart the issue seems to be gone for that run. I only seem to have it on ios.

[✓] Flutter (Channel beta, v0.5.1, on Mac OS X 10.13.5 17F77, locale en-PH)
• Flutter version 0.5.1 at /Users/sam/Library/Developer/Flutter/flutter
• Framework revision c7ea3ca377 (9 weeks ago), 2018-05-29 21:07:33 +0200
• Engine revision 1ed25ca7b7
• Dart version 2.0.0-dev.58.0.flutter-f981f09760
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/sam/Library/Developer/Xamarin/android-sdk-macosx
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = /Users/sam/Library/Developer/Xamarin/android-sdk-macosx
• Java binary at: /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java
• Java version Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.4.1, Build version 9F2000
• ios-deploy 1.9.2
• CocoaPods version 1.5.0
[✗] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.io/setup/#android-setup for detailed instructions).
[✓] IntelliJ IDEA Community Edition (version 2018.1.6)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 26.0.2
• Dart plugin version 181.4892.1
[!] VS Code (version 1.25.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected devices (2 available)
• Samsung Galaxy S8, 7 0 0, API 24, 1440x2960 • <IP_ADDRESS>:5555                  • android-x86 • Android 7.0 (API 24)
• iPhone X                                    • 6F725D2F-CC68-48E0-8DB4-1C38DE8E302D • ios         • iOS 11.4 (simulator)

When I make all of my imports relative, it works fine.

A strong indicator you run into https://github.com/dart-lang/sdk/issues/33076
Unril this is fixed:

don't use relative imports in lib/main.dart
don't import lib/main.dart from other files

A follow up on the current issue, I have updated to the latest version of dart and flutter but now get this.  To hot restart (and rebuild state), press "R".
An Observatory debugger and profiler on iPhone XS Max is available at: http://<IP_ADDRESS>:58161/
For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".
flutter: #302    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3653:5)
flutter: #303    Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
flutter: #304    Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
flutter: #305    SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4796:14)
flutter: #306    Element.inflateWidget (package:flutter/src/widgets/framework.dart:2937:14)
flutter: #307    Element.updateChild (package:flutter/src/widgets/framework.dart:2740:12)
flutter: #308    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3689:16)
flutter: #309    Element.rebuild (package:flutter/src/widgets/framework.dart:3531:5)
flutter: #310    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2273:33)
flutter: #311    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:673:20)
flutter: #312    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
flutter: #313    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
flutter: #314    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
flutter: #315    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:751:7)
flutter: #317    _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
flutter: #318    _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
flutter: #319    _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
flutter: (elided one frame from package dart:async)
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: Another exception was thrown: No MaterialLocalizations found.
flutter: Another exception was thrown: No MaterialLocalizations found.`

When I make all of my imports relative, it works fine

That's a strong sign that you have relative imports in lib/main.dart or that lib/main.dart is imported by another file, which both cause unexpected behavior.
This was fixed recently in Dart but probably not landed in Flutter yet.

I have been checking all of my files, but do not have any references to lib/main.dart or any relative imports in any of my files at the moment. Note that this issue only occurs in iOS, which would be strange behaviour even that would be the cause.

any relative imports in any of my files

only lib/main.dart is relevant. Relative imports in other files are fine.

The problem here is that if when an explicit MaterialApp (or WidgetsApp) locale is specified, it is not resolved against the app's supportedLocales list. If the app's locale is null, the device's locale is used, and that is resolved against the supportedLocales list.
The supportedLocales list matters, because it identifies the locales that the app has localized resources for.
In this case the app specifies locale: Locale("ja", "JP") but doesn't provide a localizationsDelegate that provides the Japanese translations.
Typically that would be done like this (and see https://flutter.io/tutorials/internationalization/)
MaterialApp(
 localizationsDelegates: GlobalMaterialLocalizations.delegates,
 supportedLocales: [ Locale('ja', 'JP') ],
 locale: Locale('ja', 'JP'), // Not needed, since there's only one supported locale
  // ...
)

All that said a complete version of the test app shouldn't fail. It should just use the default English localizations.


Allow using kwargs when creating cytoscapewidget

It'd be nice to be able to define widget attributes at creation time, rather than after.
i.e.:
style = .....
cytoscapeobj1 = ipycytoscape.CytoscapeWidget(cytoscape_style = style)
cytoscapeobj2 = ipycytoscape.CytoscapeWidget(cytoscape_style = style)

instead of
style = .....
cytoscapeobj1 = ipycytoscape.CytoscapeWidget()
cytoscapeobj2 = ipycytoscape.CytoscapeWidget()
cytoscapeobj1.set_style(style)
cytoscapeobj2.set_style(style)

This could either be implemented as explicit keyword arguments to init, or maybe  init could accept **kwargs.

Fixed by: https://github.com/QuantStack/ipycytoscape/pull/92

Thanks @ianhi!


Environment variable DEP_FOO_KEY is not generated for dev-dependencies

Problem
Creating a DEP_FOO_KEY environment variable in a build script is properly provided to all dependent crates if the crate providing this env-var is a usual dependency. However, as soon as this crate becomes a dev-dependency the DEP_FOO_KEY is no longer passed from the build script to the dependent crates.
This is unexpected behaviour.
Steps

create crate FOO with a links section in it's cargo.toml and a build script that generates a DEP_FOO_KEY env variable
create crate BAR that uses FOO as a dev-dependency.
implement a build script for crate BAR and verify the available env-vars. The expected DEP_FOO_KEY is not present.

If in this example the crate FOO is maintained as a normal dependency of BAR the build script of BAR will show the expected env-var.
Possible Solution(s)
No response
Notes
No response
Version
cargo 1.64.0-nightly (8827baaa7 2022-07-14)
release: 1.64.0-nightly
commit-hash: 8827baaa781b37872134c1ba692a6f0aeb37890e
commit-date: 2022-07-14
host: x86_64-pc-windows-msvc
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.83.1-DEV (sys:0.4.55+curl-7.83.1 vendored ssl:Schannel)
os: Windows 10.0.22000 (Windows 10 Pro) [64-bit]

I believe dev-dependencies only impact the compilation of test binaries and not regular builds,. so environment variables injected by a dev-dependency should not show up for a [lib] build.

Well, I do understand this fact, however, even in a dev/test build - e.g. while unit or integration tests are executed the build scripts do run but the DEP_FOO_KEY env var seems not be passed on. Sorry if I was not clear enough on this in my initial description.

Build scripts don't know about the different kinds of builds (tests, check, etc.). I think it is unlikely that it will be changed to run again when doing different things like commands that trigger the use of dev-dependencies. There are other issues for tracking that (like #4001 and #9394).
I'm going to leave this open, but I suspect it is not something that will get addressed without some major overhaul of how build scripts work.


fix ProductVersion file attribute

fix #605
ProductVersion should be set using the following fallback
sequence:

AssemblyInformationalVersionAttribute
AssemblyFileVersionAttribute
AssemblyVersionAttribute

I changed visibility of some functions from private to internal because i needed to unit test the functions ( fsharp.compiler has already internalvisibleto attribute to fsharp.compiler.tests).

This commit also add a way to test the compiler as function, without invoke the command line or spawn another process
I needed a working example to show the test usage ( instead of using the fsharp or fsharpqa suite ).
If no good, i can remove the test and add another fsharpqa/fsharp test
Note: now the helper function write the output of compiler to filesystem in a temp directory, but that shouldn't be needed if we add a dummy inmemory filesystem
is really pretty simple to add tests:
    [<Test>]
    member this.``should compile library without warnings`` () =
        let code =
            """
    module test
    let add x y = x + y
            """
        let r, o = ``fsc_library`` [] ("add.fs", code)
        r |> Check.areEqual 0
        o.outputfile.Exists |> Check.areEqual true
        (o.warnings, o.consoleout) |> Check.areEqual ([], [])

the good parts are
    type FscOutput = {
        warnings: string list;
        consoleout: string list;
        outputfile: FileInfo; }

    let ``fsc`` (args: string list) (name: string, code: string)  -> int (*exitcode*) * FscOutput
    let ``fsc_library`` args input = fsc ("--target:library" :: args) input

Have you done testing around the auto-increment version format, with *, i.e. stuff like "1.2.*". I forget at what level that is handled, but figured it would be related to this.

Some of the test cases make sense as unit tests, but many are just end-to-end compiler tests. Why not add those with all of the other end-to-end AssemblyVersion tests at tests\fsharpqa\Source\Conformance\DeclarationElements\CustomAttributes\AttributeUsage?
And FWIW the fsharpqa tests already run using and in-memory compiler API. See tests\fsharpqa\testenv\src\FSharp.Compiler.Hosted.  IMO it would be better to build out this API than to re-implement it.

I think 1.2.* is resolved before, good case anyway, i'll add a test
About test:
I know i can add tests in fsharpqa, i'll do it. This is the last time i try to do something different that fsharpqa or fsharp
So why: because fsharpqa is difficult to use/debug. As i wrote before is lot of times easier use nunit and the nunit runner inside vs to run/debug.
Just try it. Build, test runner, click dx, debug. Now i can debug fsc or the test.
Like every other tests.
Using the fcs work in @dsyme prs we can use fake ifilesystem to never hit the disk.
This is an example, a working use case of end to end test to discuss about the test suite. It can be improved.
If not good enough i'll remove it and use fsharpqa.

@latkin, if you can we can chat about it in  gitter, is faster maybe

@enricosada there is no good answer, I'm sorry to say. You approach of using unit-style compiler API has many benefits, and I think it's the long-term place we want to get to. I don't want to come across as totally against this idea (though I fear I already do!). I've tried to capture the requirements needed for this in my comment from earlier.
Right now, though, I think it is more prudent to extend the existing tests (in their existing framework) in a sensible way to cover the new cases.
We should try to avoid http://xkcd.com/927/ -style creeping expansion of test frameworks.  The fsharpqa suite was created as an "improvement" over the fsharp suite, and indeed it has some advantages, but it adds a ton of confusion and maintenance problems.

I understand the points/requirements in your comment.
I know is not a final design, as i wrote i want to improve it,
but somewhere we should start.
Let's set some points ( nunit? Inmemory? ) on a Wiki/issue and iterate on the implementation using use one or two test as use case, not much to lose ( i can duplicate test in fsharpqa so we can remove it later if is a dead end )
I understand xkcd, but that not mean not improve to fix a real problem.
Just ask new contributors, or fsharp xplat repo ( runnjng a partial test suite because bat/runpl )
Maybe that is not a solution, but we should try to improve.
My mediumterm goal? Have all suites under nunit. Different implementation ok, but can we at least agree in test runner?

@enricosada
Hi,
what is the status of this PR can you make a recommendation about the way forward?  It looks like the feature is blocked on testing.
Thanks
Kevin

Ping @enricosada  How do you feel about this PR, what is your recommendation?

i'll remove this test, and use the nunit test suite, is easier to do that now (call directly the compiler in memory was easier, but it's ok)

done, ready to review
added unit tests and some integration tests inside tests/fsharp suite
i added FscCommand.fscToLibrary helper to easy compile some source files and check warnings, errors and output ( see test should set file version info on generated file )
The new helpers use the same functions and config of the tests/fsharp suite (so same config for fsc path etc) and run each test in a new temp directory ( so these can be run in parallel without problems ).
When we add in memory compilation, we can skip the file system and the test doesnt change much.
All tests can be run and debugged inside visual studio.
The test output contains:

the temp test directory
all command executed ( fsc test.fs etc ), so in
the output if fsc command fails

Commands logged can be rerun from command line inside the temp directory, so really easy to check failures


Brew library support

Fix error where Net-SNMP is installed via Homebrew (5.7.x) but GCC
links to system-default libraries (5.6.x)

I have tested this with Net-SNMP 5.7.3 and have found no errors. Please test this with 5.6.x and verify it does not break backwards-compatibility.

Changes Unknown when pulling 44c62317dbd38b9f3bccf90fac9078b2434c00d9 on kamakazikamikaze:osx into ** on fgimian:master**.


Pressing space key while focused on the "permanently delete" checkbox in the "delete item(s)" modal dialog breaks keyboard navigation

Describe the bug
When the modal dialog for deleting a folder/file pops up, pressing Space while focused on the "Permanently delete" checkbox causes the focus to leave the dialog and go back to the main window, even though the dialog is still present. There appears to be no way to return focus to the dialog window with keyboard navigation alone, forcing the user to use the cursor.
To Reproduce
Steps to reproduce the behavior:

Right click, then select Delete on a file/folder, or press the Delete key.
Press Tab to set focus on the "permanently delete" checkbox field.
Press Space.
Observe that the focus has now been moved to the main window instead of the modal.

Expected behavior

Pressing the space key should toggle the checked status of the checkbox.
It should be impossible for a modal to lose focus and still be visible. Losing focus should dismiss the modal.

Screenshots

Desktop:

OS Version: Windows 10 2004 19041.329
App version: v0.11.0

Guess this might be related to the method Page_CharacterReceived in GenericFileBrowser where we have the line AllView.Focus(FocusState.Keyboard); that steals the focus from the displayed dialog. We should do this only if no dialog is displayed.

@yaichenbaum Since this issue is fixed, you can go ahead and close this.

@stamminator Can you confirm if this is fixed on your end?

@yaichenbaum Well it appeared to be fixed in the initial release that contained the fix several weeks ago, but the .16 and .17 builds are completely unresponsive for me, so I can't confirm.


Update buyers-guide-g-cloud.html

updated call-off description.

good spot. edited.

Looks good :+1:


Ortho

Matrix for makePerspective:

matrix for makeOrtho:

makeFrustum

https://stackoverflow.com/questions/2571402/how-to-use-glortho-in-opengl

very close with
		zoom: 76,
		fov: 1.5,

makeOrtho seems to apply to the Ui widget, but the path tracing algorithm seem to expect a perspective


Adds test and build workflow for mac and windows

Issue #, if available:
https://github.com/opensearch-project/index-management/issues/173 https://github.com/opensearch-project/index-management/issues/172
Description of changes:

Adds windows and mac build tasks to the test and build workflow to run as part of github CI. As there currently are no min distributions for mac or windows, plugins are blocked on running integration tests on mac or windows machines. While waiting for the min distribution, integration tests are disabled, but unit tests and build tasks are run.
Artifacts are uploaded for each build. Though the artifacts differ very little, with just different line ending for windows, and different manifests documenting the build OS, they may be useful for debugging a build failure on the mac or windows distribution.

CheckList:

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@downsrob Do we also need to add windows/mac to the multi node workflow?

@downsrob Do we also need to add windows/mac to the multi node workflow?

@dbbaughe We may want to at a later stage, but the multi node workflow only runs the integTest gradle action, which is also the only action which doesn't work because of missing the min distribution. So there is no point adding it in now I think

Codecov Report

Merging #210 (4e26bd0) into main (f1af390) will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #210   +/-   ##
=========================================
  Coverage     75.95%   75.96%
- Complexity     1935     1936    +1
=========================================
  Files           260      260
  Lines         11094    11094
  Branches       1746     1746
=========================================
+ Hits           8427     8428    +1
+ Misses         1709     1708    -1
  Partials        958      958

Impacted Files
Coverage Δ

...anagement/indexstatemanagement/model/Transition.kt
64.61% <0.00%> (-3.08%)
:arrow_down:

...nt/rollup/action/stop/TransportStopRollupAction.kt
69.51% <0.00%> (-1.22%)
:arrow_down:

.../rollup/action/start/TransportStartRollupAction.kt
65.06% <0.00%> (-1.21%)
:arrow_down:

...arch/indexmanagement/rollup/RollupSearchService.kt
64.81% <0.00%> (+9.25%)
:arrow_up:

Continue to review full report at Codecov.

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

@dblock
As we add these matrix of tests (OS', JVMs, BWC, Perf, Plugin specifc, etc.) we're going to start seeing plugins running a huge amount of tests on the runners for each repository.
Are we worried at all about GitHub runner limits? Are there any limits for our org for how many can be run in parallel at the same time? Definitely don't want to start seeing these get queue'd up and take hours to finish for simple PRs.


Styles: editorial post

dev notes
testing notes
designs
desktop / tablet / mobile

waiting to discuss this at PPA meeting to see how much is in scope for it (footnote styles, image captions, etc).

"by" has been removed.

Looks good, thank you!


updated en-us.json and zh-cn.json

DolphinScheduler Misspelling

Hello @buwenbuhuo97 , why did u close this PR?

dolphinscheduler Misspelling

dolphinscheduler Misspelling

That's the reason why u had opened this PR. I'm curious about why u closed it.

Sorry to submit pr for the first time

dolphinscheduler 拼写错误

这就是您打开此 PR 的原因。我很好奇你为什么关闭它。

dolphinscheduler Misspelling

That's the reason why u had opened this PR. I'm curious about why u closed it.

Sorry to submit pr for the first time


Scroll bar does not scroll down the window completely

Version: 1.0.120
Platform: win32 10.0.19041
Plugins: none
The scroll bar does not scroll down to the input line completely once you scroll up with the mouse wheel.

same

same

Same issue for me
Version: 1.0.188 (1.0.188)
Platform: mac apple
Plugins: none


Improving sign up section along with validation

Feature idea.
I would like to improve the ui part of signup page .
Describe the solution you'd like
By formating the sign up form adding validation to it .
I would like work on this issue please assign this to me under gssoc'23

Can I go with the issue.

hey..you can improve the UI of Sign up page in accordance to the current sign in page ui..don't change the layout of sign-up page as someone is already fixing the layout..
Go ahead and pls submit your PR soon so that we can merge it without conflicts!

Hey @lakshmiprasannakusumanchi..don't change the layout or ui...just add the validation part only!
Are u working on this?

@MonalikaPatnaik Iam working on this.

@lakshmiprasannakusumanchi are you working on this? do you need any help?

@anonymgit yeah I am unaware of backend I am facing difficulty in this .

there is no need of backend in this,validation can be done in front end part,use react states ,just google/chatgpt how to add validation in form,you will get the proper guidance with source code.

@MonalikaPatnaik  I am waiting in the queue to work on this issue.
I would like to add inline validation where the user gets a validation message in the real-time , that is when the user enters the input and the input does not match the constraint the validation message will appear below the respective fields, and as soon as the valid input is given the messages will disappear.
Waiting to be assigned to this issue under the gssoc'23 label.

Hey @AlfiyaSiddique this issue was completed and a PR was merged last week as well.

Hello! @TechSpiritSS
Okay, I got it, But I am asking to implement a real-time validation message functionality in the sign-up form.
Currently, While typing on form fields there is no validation message appearing to guide the users. The validation Message appears after clicking on the Continue button. I want to make those messages appear below the respective fields as the user types into that field. And as soon as the user enters the valid input the message disappears. You can see a sample below:
https://github.com/MonalikaPatnaik/UMatter/assets/86224794/69a89e0e-ffbd-4e1e-80ac-74d2866fd8da
I want to implement functionality similar to the above video If you allow it!
Should I create a new issue for this feature?


boolean property is returning string value

I have a model with a boolean property. When i query objct the boolean value is returning as string not boolean.
    static get jsonSchema () {
        return  {
            type: 'object',
            required: ['name'],

            properties: {
                id: {type: 'string'},
                owner_id: {type: 'string'},
                name: {type: 'string', minLength: 3, maxLength: 80},
                name_full: {type: 'string', minLength: 3, maxLength: 80},
                create_date: {type: 'string'},
                update_date: {type: 'string'}
            }
        };
    }

Query
function findById(id) {
    let self = this;

    if (!id) {
        return Promise.reject('register not found');
    }

    return new Promise(function(resolve, reject) {
      let query = getEntityClass().query();

      let eagers = getEntityClass().eagers;
      if (typeof(eagers) !== 'undefined' && eagers !== null) {
          query.eager(eagers);
      }

      return query.findById(id).then(function (findobject) {
            resolve(findobject);
        }).catch(function(err) {
            reject('FindById error ' + getEntityClass() + ': ' + id + ' - Error: ' + err);
        });
    });
}

Ouptup
TesteOne {
  id: '4be50550-9fe0-46e4-80cb-9eb5093be9d6',
  active: 'true',
  nameComplete: 'Teste One',
  createDate: '2016-10-03T19:30:42.868Z',
  updateDate: '2016-10-03T19:30:42.868Z',
  betaId: '1',
  zetaId: '1' }

Can you show me the migration that creates the column?

Im using sqlite3. The column is defined as Integer in DB
knex.schema
    .createTable('teste_one', function (table) {
      table.string('id').primary();
      table.boolean('active');
      table.string('name');
      table.string('create_date');
      table.string('update_date');
    })

@elhigu Do you know anything about this? Wasn't there something weird with the sqlite3 booleans?

Other thing, when i try to update a field that its String and set it to null. It says that field "should be string". It only works if i set to undefinied

I can't remember exactly what was wrong with booleans in different dialects in knex, but when I had those problems I ended up using integer with 0 / 1 value instead of boolean column.

I think you're looking for; https://github.com/Vincit/objection.js/issues/174
Resulting answers was that this is the differences in random drivers.

Yeah. Whatever the reason, objection doesn't cause this. You can map it into boolean in $parseDatabaseJson method.

Yeah... I map boolean and string values there to convert. Tnx


Update bidirectional render function with thread affinity snippet

Updated bidirectional render engine which will correct the thread-to-core mapping for processors with more than 64 hardware threads (used the same thread affinity module used in PathCPURender). All the available threads will be utilized while rendering the scene using Bidirectional CPU render engine.

Thanks, I didn't noticed the patch was applied only for PATHCPU at the time.


Add BIOCARTA to Pathway ID ranks

to fix https://github.com/biothings/biothings_explorer/issues/181

please review to see if this change ACTUALLY fixes the issue. Andrew said previously that he tried doing this and it didn't fix the problem...
I'll edit this post in a minute to add a sample query for BTE to see if this is fixed.


Smoke:Deployments

To check if:

auth service is running in proper number of replicas
rabbitmq is running in proper number of replicas
call auth service: status code 200 or 403
call auth service API with admin credentials


Select All checkbox checkmark is offset by 1px

The checkmark in the select all checkbox in the header is offset by 1px and looks different from the body row selection checkboxes:

Fixed in 053ae34ddad69a8c5a5546f294707562d77a0b92


json: Changes enum name of square brackets from list to array

Pretty straight forward, changed name of enums token from JSON_TOK_LIST_ to JSON_TOK_ARRAY_

@mrfuchs - please ack

Also, @Sir-Branch - does this fix a bug? If so, please link to the issue

@cfriedt No bug fix for this one, just makes the code more readable IMO.


Documentation Request: Add more detailed backend example and redundancy recommendations.

I've been developing a Stripe App for public distribution since June of last year.  I expect the app to gain significant popularity as it will offer Stripe users a free means to create any type of shipping label through the EasyPost API (USPS, UPS, USPS, CanadaPost, RoyalPost, DHL, and 80 other carriers.)  As a solo developer one of the significant pain points has been developing my own API and server infrastructure for saving simple JSON objects as settings.  I'll be attending the Stripe Sessions conference next month and I'm particularly interested in is a breakout session on April 24th:

Many of the backend examples have an example of a backend as a map:
// This Map represents a database or other external infrastructure for
// the purposes of this example. In a production system you would need
// to set up a true persistent store.
const accountStore = new Map();

I probably spent about 3 months fulfilling the requirements of this single comment.  I created a database in Supabase. I'm serving that with a Vercel-type application to accommodate the requirements of having a wildcard allow-origin in the headers requested by Stripe Apps.  I'm about to co-locate my Vercel integration to Digital Ocean on multiple containers with a DNS failover managed by Route 53 on Amazon.  The Supabase Postgres database is not accessed if a Redis key with the same data exists, so there's a failover for that too.  What I'm saying is, reliable infrastructure is hard, and your expert and detailed guidance is welcome.
I wish there were some kind of Stripe guide with recommendations like the ones I've had to (with great difficulty) learn.  I'm about to publish my app in about a month and you can imagine the trepidation a developer like me might feel when attempting to introduce their app to 1% of the world's GDP.

I should add, I'd be happy to share my backend codebase and strategy to any other developers who are confronting similar challenges.


Could not resolve host: onnxzoo.blob.core.windows.net

** Description**
Step 1/5 : FROM mcr.microsoft.com/windows/servercore:ltsc2019
---> 9a0a02eca0e6
Step 2/5 : WORKDIR C:/App
---> Using cache
---> 09ba6ddc1199
Step 3/5 : RUN curl.exe -o tiny_yolov2.tar.gz https://onnxzoo.blob.core.windows.net/models/opset_7/tiny_yolov2/tiny_yolov2.tar.gz &&     tar.exe -xf tiny_yolov2.tar.gz &&     del tiny_yolov2.tar.gz
---> Running in d9798f51c5e7
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: onnxzoo.blob.core.windows.net
The command 'cmd /S /C curl.exe -o tiny_yolov2.tar.gz https://onnxzoo.blob.core.windows.net/models/opset_7/tiny_yolov2/tiny_yolov2.tar.gz &&     tar.exe -xf tiny_yolov2.tar.gz &&     del tiny_yolov2.tar.gz' returned a non-zero code: 6
Link to doc:

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Create minimal ImDrawList example

Inspired by https://github.com/nicbarker/clay/pull/69

This is a super cool idea and I will check it out, but just as a heads up I think we'll likely clone in imgui & sokol rather than include them inside the repo 👍


upstream-community-operators [O] eclipse-che (7.28.2)

Signed-off-by: j0zi<EMAIL_ADDRESS>Test longer deployment feature

test completed


requirements.txt cannot be installed with conda on some OS

On Ubuntu 18.04.3 LTS, possibly also Windows.
Running conda create -c bioconda --name wordcount --file requirements.txt results in conflicting dependencies. Snakemake seems to be likely culprit, although the base conda environment supports it.
A manual run conda install -c bioconda snakemake-minimal fails even on a fresh conda environment. However, the full snakemake, without version specifier can be installed with conda install -c bioconda snakemake as long as numpy and matplotlib are not installed (these can be installed after installation of snakemake.
A possible workaround is to manually create a fresh conda environment, install the full, version-unspecific snakemake, and then install the rest of the requirements.

It seems we have solved https://github.com/coderefinery/reproducible-research/issues/87.


Collections in the "Ansible" (user) section

Hi,
Ansible collections are addressed in the "Ansible Devlopment" section but not in the "Ansible" (user) section.
Since collections are now the preferred way to distribute Ansible content (according to RH) I suggest adding a collection subsection in the "Ansible" (user) section.

My suggestion went mostly in the direction  "Using collections in a playbook" with a subsection, where all of the central aspects of using a collection are bundled, although certain aspects are covered in different subsections.


docs: fix on lsp-factory.js

What does this PR introduce?

[x] fix end of constant name myUniversalProfileData: replace comma , with semicolon ;
[x] added keccak256 checksum image on deployment code snippets, so that code can work when copy-pasted.

Created a new branch from an other branch than main
So closed this PR and reopened it from a new branch, so to have the relevant commits only.
See #61 for new PR


Auto indexing + ALTER TABLE = deadlock

We have a pg_locks dump. Further investigation needed.
Deactivate autoindexing if we cannot figure it out.

Been looking more into this, but can see any reproducible reason why this happened. Closing for now as it has been a single occurrence.


nmux is blurry on retina displays

title

@nhooyr the WebUI was updated.  I was only able to emulate it since since I don't have an HiDPI screen.  The performance really sucks if 2D hardware acceleration isn't enabled for your browser.
Keeping this open until I get a chance to update the macOS client.

Going to close as it has been a long time and I'm not sure if this is relevant anymore.


Implement Font Awesome's "SVG with JavaScript" feature

Following up on our discussion about FontAwesome in relation to 2sxc (see Slack chat on Apr 25). We tentatively agreed to switch to using js/svg...

This project currently does not have any Font Awesome implementation, however, I previously set this up for ATSP using the CSS/Web font approach.
Per my convo with JRF, we want to switch to using FA's "SVG with JavaScript" version for easier integration of DNN + 2sxc.
https://fontawesome.com/start


[Birthday is not Getting displayed properly]

Birthdate not getting displayed properly

Product Flavor
ALL Apps

[ ] Managed (https://rxresu.me)
[ ] Self Hosted

To Reproduce

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior

Select Birthdate , the format is MM-DD-YYYYY.
Ex: My birthdate is 10th Oct 1995, so I need to select 10(Month)-11(Day) -1995(Year) in the app, to get the date perfect. It is always showing one day less.

Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser : Chrome
Version - 104.0.5112.102

Bottom right you can set the date format

Same problem, the date has one day's error sometimes

if you are running it by docker, add your own timezone to the docker-compose.yaml and .env file.
e.g.
in docker-compose.yaml both server and client container section
environment:
      - TZ=Asia/Shanghai

in docker-compose.yaml prostre container section
environment:
      - TZ=Asia/Shanghai
      - PGTZ=Asia/Shanghai

in .env file
- TZ=Asia/Shanghai


Swift code in Swift quickstart does not compile anymore

See the comment at http://azure.microsoft.com/en-us/documentation/articles/mobile-services-ios-get-started/#comment-1660728934 which says: "You should update the project sample code in Swift to fix the errors that occur with the current compiler version :)"
Once you've updated the quick-start so it compiles, please respond to the commenter via Disqus and let them know it's fixed!

Swiftproject is still not buildable!
You shoud revert to
cell.textLabel?.text = item["text"] as? String
cell.textLabel?.textColor = UIColor.blackColor()

Yes it looks like Apple has changed the syntax for this back to what it was.

This is back in a happy state again.


errors on build opencv with cvv module and qt5

OpenCV version:  3.x (current master branch 14.03.2016 ~15.00 GTM

Win 7 x64, VS 2013, cmake 3.4.3

Win XP x32, VS 2010, cmake 3.4.3

When checked both of parameters WITH_QT and BUILD_OPENCV_CVV:

in Winodws 7 I receive 328 errors
in Windows XP - 6261 errors.
If this parameters chosen separate in the same configuration - build successful.

Archive of 2 log files obtained from msbuild
msbuild OpenCV.sln /flp:logfile=msvc2010_cvv.log /clp:parameters=ErrorsOnly /t:rebuild
in attachment.
err_log.zip

cvv is contrib module: https://github.com/Itseez/opencv_contrib/issues/

I know.. So do not write here bugs from contrib modules?


Select2GroupQuerySetView and 'descricao'

django-autocomplete-light 3.8.2
Hi everyone,
first of all: I love your work on this package so much! It makes my life - and surely that of a lot of other people - a lot easier!
Now let's get to the real stuff.
Background
I always used Select2QuerySetView as my default base class for different autocomplete functionalities. In my current project, I need to provide parent-child info of selectable data, so a user is able to see directly which entry belongs to which parent topic. Straight forward.
Select2GroupQuerySetView
Since I knew you are using Select2 and  the optgroup html tag provides grouping of choices as well, there had to be a grouping view somewhere. Since this case might be a little more special, I couldn't find it on the documentation, but succeeded on your source code.
So far so good. But there is one thing, that is not explained on the source code and neither on the documentation. It's this part, that leaves me head scratching:

class Select2GroupQuerySetView(Select2QuerySetView):
    """List of grouped options for a Select2 widget.

    .. py:attribute:: group_by_related

        Name of the field for the related Model on a One to Many relation

    .. py:attribute:: related_field_name

        Name of the related Model field to run filter against.
    """

    group_by_related = None
    related_field_name = 'name'

    def get_results(self, context):
        """Return the options grouped by a common related model.

        Raises ImproperlyConfigured if self.group_by_name is not configured
        """
       ...

        return [{
            'id': None,
            'text': group,
            'children': [{
                'id': result.id,
                'text': getattr(result, self.related_field_name),
                'title': result.descricao
            } for result in results]
        } for group, results in groups.items()]

Who and what is descricao? Since this attribute is mandatory on the provided choice models, I had to workaround like this
class AutocompleteModel:
    ...
    @property
    def descricao(self):
        return None

Question
What is descricao and where can I find more information on this in the docs?
Thanks a lot!

Update
I just discovered the following issue and related pull request, which is the origin of the above mentioned code snippet https://github.com/yourlabs/django-autocomplete-light/pull/1222
It looks like this has been changed on a recent version of dal which is not installed by default as the most current version by pip: https://github.com/yourlabs/django-autocomplete-light/issues/1267
@jpic
If I see this correctly, an update on at least  3.9.0-rc1 would be required to solve this whole issue?

Yes, it should be str(result)


Replace CircleCI with GitHub actions

As mentioned in the PR title, I have replaced CircleCI with GitHub actions. However, I noticed a few things in the old CI setup:

some jobs weren't used (e.g. dotty builds, jmh cross-compilation)
scala versions weren't compatible with BuildHelper
JS isn't tested (well, all tests are JVM specific atm)
Dotty doesn't seem to be working

Please make sure to keep the CI setup tidy and up to date and let me or @softinio know if you need any help.

@mijicd Those have been on purpose:

Some jobs weren't used (e.g. dotty builds, jmh cross-compilation)
JS isn't tested (well, all tests are JVM specific atm)
Dotty doesn't seem to be working

What do we need to get this over the finishing line?

Well, i have ported the working jmh steps and added the test/compile js step in. Dotty is failing. It's up to you guys to make that one happening.
My goal with this PR is to move away from CircleCI as we're doing that across the org.

If we can disable the same steps that were disabled with CircleCI we can move right away.

@mijicd To expand, Dotty and Magnolia is not trivial. It has not worked so far, which is why the steps were disabled.

Yeah, the current setuo contsins onlu the passing steps from CircleCI plus the js step I added :).
That's what i meant with Dotty: once you have it up and running, please add it to actions.

Understood!


Just fixing a typo in a comment.

While looking to bust cache in our project, ended up reading the source of $translate.refresh() method. Noticed a typo, so here is a minute and insignificant fix.

Thank you :)


📏 EIP-6093

A standard for token custom errors will finalize soon. Might as well incorporate, no? https://eips.ethereum.org/EIPS/eip-6093

Feels bloated and OpenZeppelin centric.
Stuff like:
// Revert if the caller is not the owner, nor approved.
if iszero(or(eq(caller(), from), eq(caller(), approvedAddress))) {
    if iszero(sload(keccak256(0x0c, 0x30))) {
        mstore(0x00, 0x4b6e7f18) // `NotOwnerNorApproved()`.
        revert(0x1c, 0x04)
    }
}

will have to be de-optimized to account for the different types of errors.
I don't like it.

Was just above to open this
Asked and answered 😅

gg @Vectorized I feel yaz 😆 I will leave this open to get more feels. Overall, I don't jive with this as a contract guy, but it probably goes to help out appside devs. Le standardization format.


format keyword in anyOf

I came across to this situation when for some reason the pattern and format or any other keyword is not working under allOff, anyOf.
I'm trying to achieve this scenario:
first part: In my data from 'name' information should be required either first_name and last_name OR full_name OR business_name
second part: Along with 'name' info I need to have one contact info as well it can be any of those: email1, email2, email3, home_phone, cell_phone, work_phone, full address 1, full address 2.
Plus to all above we should validate phone and email correspondingly per pattern and per format.
The tricky part is that if we have minimal requirement for intance we have full_name and email_1 and those are valid there is no need to check for other fields validity. Other example if we have first_name last_name and full_address 1, and we have invalid email_3 we should ignore email_3 validation as we have minimal set of what we needed ( first_name last_name and full_address 1).
Here is  my partial for that validation, but its not working. (properties are with dots - its ok, I'm not implying to nested)
"allOf": [
        {
            "anyOf": [
                {"required": ['customers.first_name', 'customers.last_name']},
                {"required": ["customers.full_name"]},
                {"required": ["customers.business_name"]}
            ],
        },
        {
            "anyOf": [
                {
                    "properties": {
                        "customers.cell_phone": {
                            "type": ["null", "string"],
                            "pattern": "^(?:\\d{10}|\\d{3}-\\d{3}-\\d{4})$",
                            "minLength": 10,
                            "maxLength": 12,
                            "errorMessage": {
                                "pattern": "Cell phone does not match defined pattern."
                            }
                        },
                    },
                    "required": ["customers.cell_phone"],
                },
                {
                    "properties": {
                        "customers.work_phone": {
                            "type": ["null", "string"],
                            "pattern": "^(?:\\d{10}|\\d{3}-\\d{3}-\\d{4})$",
                            "minLength": 10,
                            "maxLength": 12,
                            "errorMessage": {
                                "pattern": "Work phone does not match defined pattern."
                            }
                        },
                    },
                    "required": ["customers.work_phone"]
                },
                {
                    "properties": {
                        "customers.home_phone": {
                            "type": ["null", "string"],
                            "pattern": "^(?:\\d{10}|\\d{3}-\\d{3}-\\d{4})$",
                            "minLength": 10,
                            "maxLength": 12,
                            "errorMessage": {
                                "pattern": "Home phone does not match defined pattern."
                            }
                        },
                    },
                    "required": ["customers.home_phone"]
                },
                {
                    "anyOf": [
                        {"required": ['customers.address_line_1', 'customers.zip', 'customers.city']},
                        {"required": ['customers.address_line_2', 'customers.zip', 'customers.city']}
                    ]
                },
                {
                    "anyOf": [
                        {
                            "properties": {
                                "customers.email_1": {
                                    "type": ["null", "string"],
                                    "format": "email"
                                }
                            },
                            "required": ["customers.email_1"],
                        },
                        {
                            "properties": {
                                "customers.email_2": {
                                    "type": ["null", "string"],
                                    "format": "email"
                                }
                            },
                            "required": ["customers.email_2"],
                        },
                        {
                            "properties": {
                                "customers.email_3": {
                                    "type": ["null", "string"],
                                    "format": "email"
                                }
                            },
                            "required": ["customers.email_3"],
                        }
                    ]
                }
            ],
        }
    ]

Can you please suggest a full executable code sample, ideally in some repl, together with its actual and expected results?

With no further info provided in 6 months I will close this. Feel free to tag me here with an example based on this runkit and I will reopen.


Parameter data

Hello, is it possible to pull parameter data with the add in?

Hi @paulgovan - not today, there is no support for specs.
Although some technical information such a short description and datasheet is surfaced.  But not the key-value attributes.
I'd encourage you to raise an enhancement request ticket here though to log your request:
https://support.nexar.com/support/tickets/new

Thanks for the advice. Cheers.


fix: datagrid empty state fixes

Contributes to #3243
mostly just addresses some testing. to help facilitate testing I added specific class names to all the empty state variants, which honestly should have been done from the start haha
there was a point in the issue to mention how to set the error type, but i think there needs to be a bigger discussion about prop types and that documentation for datagrid. so i opted to skip it for now.

@matthewgallo fixed the tests by adding a role to the empty state svgs


Add a debanding property to Viewport for GLES3

Follow-up to #38097.
Debanding can be enabled in the Project Settings (rendering/quality/filters/use_debanding). It's disabled by default as it has a small performance impact and can make PNG screenshots much larger (due to how dithering works).
As a result, it should be enabled only when banding is noticeable enough.
Since debanding requires a HDR viewport to work, it's only supported in the GLES3 backend.
Before-after comparison

Thanks!


Disable/Ignore Samsung & Opera mobile browsers font size settings for Web Stories

Feature Description
A user on the support forum has identified an issue with Web Stories on Samsung & Opera mobile browsers when browser font size settings have been changed from the default.
This article explains how these settings are changed in the Samsung browser.
How it should look: https://drive.google.com/drive/folders/15sPQGVTNA4IceetFYXNN7j0FR4xZw6L2
How it looks with custom font settings: https://drive.google.com/drive/folders/15sPQGVTNA4IceetFYXNN7j0FR4xZw6L2
Could we disable or ignore this feature for Web Stories when running in these browsers. This is only for the mobile version of these browsers and there is no impact on the desktop versions.
Additional Context
Related Support topic: https://wordpress.org/support/topic/my-mobile-result-is-way-off-what-i-created-in-the-editor/

Context for the team:
Some help articles say that text-size-adjust: none; might help. In my testing it didn't have an effect.
AMP itself sets text-size-adjust: 100%; by default:
https://github.com/ampproject/amphtml/blob/56b609e6df76a513afdeb45a0de29171e50c2c62/css/ampdoc.css#L39-L44
It would be good to sync with the stories wg team to find out whether they have any experience with that.
cc @choumx