An unhandled exception of type 'System.IO.FileNotFoundException' occurred in SuperWebSocket.dll

I've create .net 3.5 project and download latest release from here https://www.nuget.org/packages/SuperWebSocketNETServer/0.8.0

using SuperSocket.SocketBase;
using SuperWebSocket;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebSocketServer2
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Press any key to start the WebSocketServer!");

            Console.ReadKey();
            Console.WriteLine();

            var appServer = new WebSocketServer();

            //Setup the appServer
            if (!appServer.Setup(2012)) //Setup with listening port
            {
                Console.WriteLine("Failed to setup!");
                Console.ReadKey();
                return;
            }

            appServer.NewMessageReceived += new SessionHandler(appServer_NewMessageReceived);

            Console.WriteLine();

            //Try to start the appServer
            if (!appServer.Start())
            {
                Console.WriteLine("Failed to start!");
                Console.ReadKey();
                return;
            }

            Console.WriteLine("The server started successfully, press key 'q' to stop it!");

            while (Console.ReadKey().KeyChar != 'q')
            {
                Console.WriteLine();
                continue;
            }

            //Stop the appServer
            appServer.Stop();

            Console.WriteLine();
            Console.WriteLine("The server was stopped!");
            Console.ReadKey();

        }

        static void appServer_NewMessageReceived(WebSocketSession session, string message)
        {
            //Send the received message back
            session.Send("Server: " + message);
        }

    }
}

When I project run then throwing FileNotFoundException

I had the same issue. This issue is related to the log4net dependency.
If you downloaded the library through NuGet it probably installed version 2.0.3 (file version <IP_ADDRESS>) of log4net. This is the reason for the FileNotFoundException.
It seems that a previous version of log4net is actually required. According to the exception the server dll requires file version <IP_ADDRESS> of log4net (this provided by the v2.0.0 of log4net on NuGet).
If you downgrade the depencency it should work properly.

I had the same issue too.
Rather than kelsos downgrade the log4net, I upgrade log4net 2.0.3 -> 2.0.5 manually and solve the problem.
Thanks kelsos

@ismailkocacan, your screenshot is no longer visible. What was the assembly that couldn't be loaded? Was it log4net or something else?

Check if you're missing SuperSocket.SocketEngine in your references.

^ Was my problem.


voyager-frontend - footer social media icons

Before making my query, I want to thank the development work for voyager-frontend
I have a problem with the social media icons in the footer.
I changed the icon " </ i>" in a svg, in principle I should not mind, but I want to modify the icon because it comes out as a box and is not the design I have to do.
Anyone who can help me ?, I searched the archives and I have not located the code
Thanks

Hi @MTAMAC
The social media menu:

Is manageable in Voyager Admin > Tools > Menu > Social (note that in our example, each item has a class referencing a font-awesome icon)
Code can be found in the resources/views/partials/social.blade.php


Getting unkownHostException with spring-boot

I am creating a microservice-based application and I have multiple microservices I need to use. but I cannot seem to do it properly.
this is an application that uses spring boot and eureka as service discovery and I am using restTemplate to connect to other services. I have searched for a solution a lot. I found a few but none have worked. a lot of posts suggested using a loadBalanced restTemplate, but it still does not work.
here is my restTemplate Bean:
    @Bean
	@Qualifier("loadBalancedRestTemplate")
    public RestTemplate loadBalancedRestTemplate(RestTemplateCustomizer customizer) {
        RestTemplate restTemplate = new RestTemplate();
        customizer.customize(restTemplate);
        return restTemplate;
    }

This is my eureka config in application.yml file:
eureka:
  client:
    enabled: true
    healthcheck:
      enabled: true
    fetch-registry: true
    register-with-eureka: true
    instance-info-replication-interval-seconds: 10
    registry-fetch-interval-seconds: 10
  instance:
    appname: gateway
    instanceId: gateway:${spring.application.instance-id:${random.value}}
    lease-renewal-interval-in-seconds: 5
    lease-expiration-duration-in-seconds: 10
    status-page-url-path: ${management.endpoints.web.base-path}/info
    health-check-url-path: ${management.endpoints.web.base-path}/health
    metadata-map:
      zone: primary # This is needed for the load balancer
      profile: ${spring.profiles.active}
      version: #project.version#
      git-version: ${git.commit.id.describe:}
      git-commit: ${git.commit.id.abbrev:}
      git-branch: ${git.branch:}
ribbon:
  eureka:
    enabled: true

Whenever I want to login to my application a POST request is sent from the gateway to the UAA server to authenticate the credentials. The first time everything is ok and it's working properly, but when I try to do the same thing I get this error:
org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://usermicro/oauth/token": usermicro; nested exception is java.net.UnknownHostException: usermicro
And this is the full stacktrace:
2019-09-13 19:07:46.188 ERROR 13215 --- [ XNIO-1 task-18] o.z.problem.spring.common.AdviceTrait    : Internal Server Error

org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://usermicro/oauth/token": usermicro; nested exception is java.net.UnknownHostException: usermicro
	at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:744)
	at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:670)
	at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:445)
	at com.gateway.app.security.oauth2.OAuth2TokenEndpointClientAdapter.sendPasswordGrant(OAuth2TokenEndpointClientAdapter.java:64)

I am sure that both gateway and usermicro are registered in eureka service discovery. I cannot figure out the problem.
thank you for your help.

Your rest template needs @LoadBalanced

when I use this annotation I get another error:

even when I remove the RestTemplateCustomizer it does not work and I get the same error on start up.
I have seen this solution in many other posts but it is not working

Can you provide a complete, minimal, verifiable sample that reproduces the problem?  It should be available as a GitHub (or similar) project or attached to this issue as a zip file.

I can but you have to run a few things at the same time for it to work.
first you need to run the mongodb docker-compose file in the uaa project.
then you need to run the registry docker compose file.
last but not least you need to run both usermicro app and the gateway to start working with it.
link to gateway app: https://github.com/S7range/gateway
link to usermicro app: https://github.com/S7range/usermicro

Yeah, that's not minimal.
Please see https://stackoverflow.com/help/mcve


Java 9 support

Hi,
I like this library but I was wondering what will happen with it in Java 9?
Internally it uses com.sun.javafx.iio.
Thanks,
Diego

Right, that indeed is a big issue. Unfortunately, I haven't been able yet to test everything with JavaFX 9 and jigsaw enabled. If that fails and there will be no alternative way to set a new ImageLoaderFactory in place the only (unsatisfying) remaining option will probably be to compile everything with --add-exports. But I haven't given up on a jigsaw compliant solution yet.

Ok. Thank you.

Any progress on this?

Is there any examples on how to use this library with JDK 8+ ?

All the examples in the readme or the test package are for JDK 8

For gradle kotlin dsl:
tasks {
    run.configure {
        jvmArgs = listOf("--add-exports=javafx.graphics/com.sun.javafx.iio=ALL-UNNAMED", "--add-exports=javafx.graphics/com.sun.javafx.iio.common=ALL-UNNAMED")
    }
}

Working with OpenJDK 11+OpenJFX


status of the project

Hi, great library. Just curious if any of the original maintainers are planning on continuing to enhance the project and if not, would they consider adding collaborators who can, at a minimum, merge in some of the open pull requests?
Thanks!

Hi @jamesdixon, That seems like a very good idea.  I'm not exactly sure what the best way of selecting those collaborators would be.  Would you be interested in being one?

I have wanted to fix style bugs but never bothered with PRs because there does not seem to be anyone maintaining this at the moment. Would be nice to have some other collaborators.

+1

Hi @zackbloom. Thanks for the reply. Yes, I'd be more than happy to help. Although, it would be good to have one of the original maintainers participate (at least initially) in order to do some knowledge transfer, answer questions, etc.  It would be great to have others as well -- busy these days, but more than happy to contribute what I can :)

Pace is legendary! Great that there's interest. Besides, there's a weekend coming! :)

:eyes: :+1:


Fixed link to 5 node ARM template with WAD.

@suneetnangia,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@suneetnangia : Thanks for your contribution to the Azure documentation! The author, @dkkapur, has been notified to review your proposed change.

#sign-off


DidCommV2 doesn't specify 'typ'

DidCommV2 doesn't specify 'typ'
This makes it incompatible with other implementations

I didn't test anything so someone needs to figure out how to make this according to the specification.

@FabioPinheiro Thanks for your contribution!
From what I read in the specs, DIDComm may use the typ field (see https://identity.foundation/didcomm-messaging/spec/#iana-media-types). So maybe we should make this optional instead of removing completely?

yes and no
I'm basically only removing the check. The line 105 is still there: https://github.com/sicpa-dlab/didcomm-python/pull/93/files#diff-cb2b8c37b8a59e04819d6634da7909e96a364413c241a5a17a33c5e7685a4c1eR105
However, JOSE specs recommends to use typ on the outermost envelope to make JOSE structure formats self-describing.
We are adding to the content of the encrypted bytes...
On the outermost envelope, we can have "typ":"application/didcomm-encrypted+json"
{
"ciphertext":"...",
"protected":"eyJlcGsiOnsia3R5IjoiT0tQIiwiY3J2IjoiWDI1NTE5IiwieCI6IndtSU90Sm03MVUwTGI3NDJqYThudFo1NjlGWDlqRjlBVVJ0cm1WYTluU28ifSwiYXB2IjoiLWNOQ3l0eFVrSHpSRE5SckV2Vm05S0VmZzhZcUtQVnVVcVg1a0VLbU9yMCIsInR5cCI6ImFwcGxpY2F0aW9uL2RpZGNvbW0tZW5jcnlwdGVkK2pzb24iLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiRUNESC1FUytBMjU2S1cifQ",
"recipients":[{...}],
"tag":"...",
"iv":"..."
}

protected -> is decoded to {"epk":{"kty":"OKP","crv":"X25519","x":"wmIOtJm71U0Lb742ja8ntZ569FX9jF9AURtrmVa9nSo"},"apv":"-cNCytxUkHzRDNRrEvVm9KEfg8YqKPVuUqX5kEKmOr0","typ":"application/didcomm-encrypted+json","enc":"A256CBC-HS512","alg":"ECDH-ES+A256KW"}
But in this implementation "typ":"application/didcomm-plain+json" its required to be hard coded on the content (from ciphertext).
If you go to all the 'headers' https://identity.foundation/didcomm-messaging/spec/#message-headers and all the additional headers from the DID Comm extensions typ does not exist.
So I assume this implementation is unable to decrypt any of the test vectors/examples of the DID Comm v2 Sepc: https://identity.foundation/didcomm-messaging/spec/#appendix-c-test-vectors

In sicpa-dlab/didcomm-jvm you still have this field... but at least doesn't seem to be a requirement.
https://github.com/sicpa-dlab/didcomm-jvm/blob/993265c75c12924f7ded917e3c54282c327ab315/lib/src/main/kotlin/org/didcommx/didcomm/message/Message.kt#L58

Closing, because of no activity on this PR, and it is reimplemented here: https://github.com/sicpa-dlab/didcomm-python/pull/96

I only do this in my free time and I had very little time on the last three weekends. But important thing is that it's fixed.
But you asked for tests and I was trying to create a test set that everyone could use. Would help us to achieve interoperability at the DID Comm libraries level.
If you could contribute with your test set would be nice https://github.com/decentralized-identity/didcomm.org/issues/77

No problem Fabio, like you said, it is important that it's fixed now 👍

When will there be a release with the fix?

@FabioPinheiro This will be released as soon as #98 is merged


mask json_key_data in Summary table

json_key_data should not be printed. It has private key inside.

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
security

Hey @punksta - I am a bit unfamiliar with supply, but I'm just curious, where does the :json_key_data symbol come from?

@ohayon Hello, It's supply action option. You can send path to key via json_key and whole key as string via json_key_data.

I signed it!

I signed it!

@ohayon  easy to solve it by new pl: https://github.com/fastlane/fastlane/pull/9507


Add DestructObject and DestructObjectAndReassign operations

This PR adds support for object destructing

Run swift test -v
C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\swiftc.exe -print-target-info
TSCUtility/Triple.swift:154: Fatal error: could not determine host triple: malformed
error: unable to invoke subcommand: C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\swift-test.exe ()
Error: Process completed with exit code 1.

Not quite sure why the Win build is failing

review comments addressed with the latest commit. I've tweaked the property selection logic, that you've recommended, a tiny bit. Let me know if you'd like that changed.

review comments addressed in the latest commit


[CMake] Export SwiftSyntax targets for inclusion in other build products

Export all of the SwiftSyntax targets that will be used by other parts of
the toolchain, i.e., the compiler. Clients will import the build
directory's SwiftSyntaxTargets.cmake to get targets such as
SwiftSyntax::SwiftParser to link against.

@swift-ci please smoke test

@swift-ci please test


Reexport 'vendored' feature from native-tls

Allows easier cross-compilation to non-Windows, non-macOS targets by using the "vendored" feature from native-tls to compile OpenSSL from scratch instead of finding and installing OpenSSL lib files and headers.

Hi.
Thanks for PR, but I personally find this approach a bit hairy.
Each dependency of the mysql crate has at least one feature, so with this approach, there should be one mysql crate feature per dependency feature.
I suggest you instead to do the following:

Add a proper version of the native-tls crate as a dependency to your crate;
Enable the vendored feature on your dependency.

For example:

In the Cargo.toml:
[package]
name = "my-crate"
# ...

[dependencies]
mysql = "18.2.0"
native-tls = "0.2.3"

Via cargo build --release --features "native-tls/vendored" or in the Cargo.toml:
[features]
default = ["native-tls/vendored"]

Thanks for the feedback! I hadn't considered that approach.


Hook up new pages to profile

Details
Hooks up the new Display name, Pronouns and Timezone pages to Profile page
Fixed Issues
$ https://github.com/Expensify/App/issues/12952
Tests and QA Steps

Go to Settings -> Profile
Check that the Profile Page looks like in the video recordings
Tap on Display name and verify that you are directed to the new page to edit your name.
Update the name and go back. Verify that the name is updated on the Profile Page.
Do the same with pronouns.
The same with the timezone
Go back to settings and sign out
Sign in back and verify that the name, pronouns and timezone are as they were set at the steps 4-6.

[x] Verify that no errors appear in the JS console

Offline tests

Open the app in 2 platforms (or one in normal chrome, one in incognito), log in to the same account in both
Navigate to the Settings -> Profile in both devices
Go offline in one, update your name, pronouns and timezone settings
Verify it looks like it worked correctly on that device
Go online, verify your name, pronouns and timezone update on the other device as well

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] iOS / native
[x] Android / native
[x] iOS / Safari
[x] Android / Chrome
[x] MacOS / Chrome
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product was added in all src/languages/* files
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://user-images.githubusercontent.com/18078393/206020157-3ccc788f-388d-4deb-a528-bc4ef63088bf.mov

Mobile Web - Chrome
https://user-images.githubusercontent.com/18078393/206020325-3a7392ac-3738-4287-9d68-a2d87aa213bd.mov

Mobile Web - Safari
https://user-images.githubusercontent.com/18078393/206020419-64bd659c-095c-4146-a487-07e26b7035a5.mov

Desktop
https://user-images.githubusercontent.com/18078393/206020475-bf0b3f52-58e3-4885-852f-5078e4742796.mov

iOS
https://user-images.githubusercontent.com/18078393/206020524-dadc60bd-cc7a-49b9-aea8-33081294e933.mov

Android
https://user-images.githubusercontent.com/18078393/206020590-90c277e0-385d-400d-ac15-47cd2054840a.mov

I responded via email but I don't think it came through here.
For this screen here:

Can you make the Email address and Phone number headings look identical to Display name, Pronouns, etc? I believe that should be a reusable style (the combination of using fontSizeLabel and color.textSupporting) and we should standardize on that heading style elsewhere too (though we don't need to address that in this PR).

Thank you @shawnborton ! I added you as a reviewer to check my video recordings and see if you're ok with how the page looks.

Looks great, thanks Cristi!
On Wed, Dec 7, 2022 at 5:18 AM Cristi Paval @.***>
wrote:

Thanks again @shawnborton https://github.com/shawnborton ! Here it is:
[image: Screenshot 2022-12-07 at 15 15 36]
https://user-images.githubusercontent.com/18078393/206189318-8976d5e4-f3c6-410f-bb9a-13bba10a20cb.png
—
Reply to this email directly, view it on GitHub
https://github.com/Expensify/App/pull/13290#issuecomment-1340956568, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AARWH5R6DR2NI62F5DCNYT3WMCFB5ANCNFSM6AAAAAASSJGGGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Screenshots/Videos

Web
https://user-images.githubusercontent.com/25876548/206257178-a17bd0f0-fa02-46fb-82f2-28b647e70dd0.mov

Mobile Web - Chrome
https://user-images.githubusercontent.com/25876548/206257442-4f93be84-e45c-4bcc-985e-6030dce45a0e.mov

Mobile Web - Safari
https://user-images.githubusercontent.com/25876548/206257812-824d00d6-30c5-4872-b669-c19bd3c24dfa.mov

Desktop
https://user-images.githubusercontent.com/25876548/206257393-b5aafb56-09c2-4544-b93f-f5538ed1ba7c.mov

iOS
https://user-images.githubusercontent.com/25876548/206257527-3c3f70ad-3f9d-4ab6-a356-4fc2b4285207.mov

Android
https://user-images.githubusercontent.com/25876548/206257593-5176b32a-287c-44af-a03b-207663c825e2.mov

Offline tests

Open the app in 2 platforms (or one in normal chrome, one in incognito), log in to the same account in both
Navigate to the Settings -> Profile in both devices
Go offline in one, update your name, pronouns and timezone settings
Verify it looks like it worked correctly on that device
Go online, verify your name, pronouns and timezone update on the other device as well

Either online or offline, changes made from one platform or web is only reflected after refresh in the web/mWeb.
https://user-images.githubusercontent.com/25876548/206265105-603c4109-4daa-4675-9f1c-01499ed6bd5b.mov

The margin/gap between Phone number label and phone number is large compared to others.

Yeah, I agree with that.

The margin/gap between Phone number label and phone number is large compared to others.

Yeah, I agree with that.

That's because the phone number is wrapped and vertically aligned with the Resend button. If we lifted the phone number to the top a bit, I think it would look weird to have no alignment with the Resend button and to have a bigger gap between the phone number and the note below.
@shawnborton What do you think?
I think we could do nothing for now because:

This state is seen shortly by the user. The user adds the phone number and it takes up to 1 minute to validate it. The Resend button and the note below disappear afterwards.
This is going to be changed soon. The new Contact Method page is on hold for the moment but it is part of N7.

@cristipaval Both the browsers(regular and incognito) are online.

@cristipaval Both the browsers(regular and incognito) are online.

@cristipaval Both the browsers(regular and incognito) are online.

Yes, but in your video you turn your wi-fi off completely on your macbook, and then when you turn it back on, both chrome windows come online at the same time. Please turn Wi-Fi off and then turn it back on only the window where you do the profile changes. Then check that the other window gets the Puhser updates and updates the profile settings accordingly.

@cristipaval I have not turned off wifi at all.

@cristipaval I have not turned off wifi at all.

Oh right, I see. Is this always reproducible on your end? I can't reproduce on my side.

@cristipaval It is always reproducible. I was able to reproduce it again.

@youssef-lr @Beamanator Could you guys test and see if you can reproduce @sobitneupane's issue?

@cristipaval On it.

If we lifted the phone number to the top a bit, I think it would look weird to have no alignment with the Resend button and to have a bigger gap between the phone number and the note below.

Good point, I vote we do nothing and leave as-is. Or, we could make the resend button use a smaller button style.

Good catch @youssef-lr! There is an open issue meant to fix pusher when testing dev builds hitting the staging api.

@Beamanator Thanks for the review.
Just FYI: This is how it is currently in production. I am happy to change in this PR.
@shawnborton, what do you think?

Huh, you're right @cristipaval ! I totally thought the "Phone number" header didn't used to exist if you don't have a phone number secondary login 😅
But I do think there's a bit more spacing between the "Phone number" header & the button in production - when you mouse over the button you can see it's super close to the "Phone number" header... Think we could at least adjust that?

Honestly I like that idea a lot @shawnborton 👍

What do you guys think, @shawnborton @Beamanator ?
https://user-images.githubusercontent.com/18078393/207451769-a1b6bfb5-1722-4dd1-8320-5d4fc3059631.mov

Ah sorry for the confusion, you had the sizing right, it was just the color we needed to adjust. So something like this:

Sorry @shawnborton ! I re-read you comment and it shouldn't have been confusing but I misunderstood it somehow.
What about now?

Looks great!
Now I am noticing that the email address is not in the right color though - it should be in the lighter/brighter text color:

Oh yes @shawnborton , my bad, sorry!

@cristipaval Getting following error in mWeb and small screen window which looks unrelated to this PR but it is not reproducible on main. Can you please merge main.

Thanks @shawnborton !
Now that the look is approved, could you review, @Beamanator @youssef-lr ?

@sobitneupane yes this looks unrelated to my PR, let me merge main and check.

@cristipaval Getting following error in mWeb and small screen window which looks unrelated to this PR but it is not reproducible on main. Can you please merge main.

Hey @sobitneupane ! I merged main and I can't reproduce your issue. Tested on dev and staging.

I am getting following console errors:
When clicking on "Pronouns" to open list of pronouns:

On clicking every tabs(Display Name, Pronouns, Timezone):
(I have seen the below console error in other places as well so, not sure if it is related to this PR)

Hey @sobitneupane ! Thanks for the new review. I fixed the error which was showing when landing on Pronouns page. The other error (which I can confirm that I saw in main as well in the past, so might not be related to this PR) is not reproducible to me after merging main into my branch. Could you test again?

Thanks @sobitneupane ! Could you test again?

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @Beamanator in version: 1.2.43-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @chiragsalian in version: 1.2.43-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

This PR introduced this regression.


FoldBool: change arguments to be lambdas rather than values.

- if :: a -> a -> Bool -> a
+ if :: (() -> a) -> (() -> a) -> Bool -> a

if was sometimes strict in both its arguments because it would anormalise and pull out any let-bindings inside the branch.
! @jystic @tranma

yes, this makes sense
💯


Module Inline:C is continuously installed

It looks like obtaining the Inline::C::VERSION is problematic because the module complains about being used directly. Not sure what the solution here is, but right now it's installed on every puppet run, which is noisy, but benign.

I was testing the package was available with -M rather than -m, so it was trying to run the module's import. I've fixed it and pushed version 0.9.6 to the forge. Let me know if that fixes the problem.


feat(perf): hoist regexp literal

Hoist RegExp literal outside of potential loops or logic checks.

What kind of change does this PR introduce?
refactoring

Did you add tests for your changes?
N/A

Does this PR introduce a breaking change?
NO

What needs to be documented once your changes are merged?
N/A

Thanks


[Feature]: Streaming of chat node output

Feature Request
Would it be possible to enable “streaming” of chat node output (OpenAI stream chunks)? Even just directly to Graph output or API. Would be terrific and MUCH easier than hooking onPartialOutputs. Thank you - and thank you for Rivet. Amazing.
Code of Conduct

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

Thank you. Yes, tbh, I'm not even thinking about propagating the partial stream to all following nodes. I see the clean logic of first finishing one node before proceeding to execute the next one.
What I'd love to see is just a simple way to stream the partial answer from a given chat node to an external user frontend and other modules of our app, outside of Rivet. As it is now, when I take the chat node output through the Graph Output and connect it to our app modules, I get the chat answer in bulk, when the entire generation is completed. I saw there is a way to do streaming via onPartialOutputs, but hopefully there is an easier way.
Just sharing my "wish" :) as I think it would be super helpful for others too.
Thank you in any case.

@CRREO what would your ideal API look like on the rivet-node side?

thank you. Ideal API would be something that doesn't require lots of coding. Something similar to OpenAPI, which allows us to define API specs in JSON format, receive HTTP call with arguments and then stream back the answer exactly as it's received by the rivet-node. Happy to connect you to my engineering colleague to help with a more technical answer.
As a less techy user, I figured out how to do pretty much anything in Rivet, but getting a "streamed" answer from the node and outside of Rivet and to our frontend is more complicated.

I think the simplified streaming via getProcessorEvents and getProcessorSSEStream help in this regard. https://github.com/Ironclad/rivet/blob/main/packages/core/src/api/streaming.ts


Improved syntax to instantiate anonymous classes

Code
With the introduction of class expressions it is now possible to instantiate an anonymous class inline. Given an abstract class:

export abstract class ArrayView<T> extends Container {
    private model:Model<T[]>;

    public constructor(id:string, model:Model<T[]>) {
        super(id);
        this.model=model;
    }

    protected abstract populateItem(item:ArrayItem<T>);
}

it can be instantiated inline like this:

this.add(new class extends ArrayView<Todo> {
            protected populateItem(item: ArrayItem<Todo>) {
                item.add(new Checkbox("check", new PropertyModel<boolean>(item.model, "done")))
                item.add(new Label("title", new PropertyModel<string>(item.model, "title")));
            }
        }("items", itemsModel));

The syntax is cumbersome because it pushes the constructor parameters below the class body.
When scanning code I would expect to see the constructor parameters first because they help me identify the code I am looking for.
When writing code I think about constructor parameters first before deciding what the rest of the class should do so having to write them first would remove some cognitive dissonance.
It would also be great to add some sugar by removing the need for "class extends" keywords for anonymous class instantiations.
Expected behavior:

this.add(new ArrayView<Todo>("items", itemsModel) {
        protected populateItem(item: ArrayItem<Todo>) {
                item.add(new Checkbox("check", new PropertyModel<boolean>(item.model, "done")))
                item.add(new Label("title", new PropertyModel<string>(item.model, "title")));
            }
        });

I hope something like this is possible, it will greatly improve readability of code written in a style that uses anonymous classes.

This should be brought up with TC39 / es-discuss. There's nothing TypeScript-specific about this pattern.

Yes, that makes sense. I did not think of ES6 as a transpilation target for some reason. I posted it here for reference: https://mail.mozilla.org/pipermail/es-discuss/2017-January/047508.html

use partial :3
https://stackoverflow.com/questions/14142071/typescript-and-field-initializers
`class Person {
public name: string = "default"
public address: string = "default"
public age: number = 0;
public constructor(init?:Partial<Person>) {
    Object.assign(this, init);
}

}
let persons = [
new Person(),
new Person({}),
new Person({name:"John"}),
new Person({address:"Earth"}),
new Person({age:20, address:"Earth", name:"John"}),
];`
Have a nice day

partials like this are good for fields, but not for methods because they do not allow the provided method overrides to call super.


Change opts.Propagator from string to map

As per the design proposal here, propagators should be configurable as a dictionary in support of custom propagators.
The current implementation only supports a string parameter.

Addressed in v0.18.1


BUG: Handle specific error in raise_chroma_error function

Description of changes

Improvements & Bug fixes

Because the ValueError reported by the ChromaDB server is not recognized as a ValueError exception to the http client this causes the client to raise a generic exception instead. This fix will look at the text of the response from the server and raise a ValueError if it's contained in the response text.

Test plan
How are these changes tested?

[ ] Attempt to get a collection that does not exist using an Http client. Verify that a ValueError is thrown.

Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?
The documentation states that a ValueError should be thrown so no changes should be necessary to documentation.

@H3phaist0s, thanks for raising this. There is an ongoing PR that tackles this problem in a slightly different way. Have a look at it and let me know if it fixes the problem you reported in #1634

@tazarov Ah I see, if you're referring to PR #1618 . In retrospect my solution was certainly a bit more of a Band-Aid fix than this other approach. Glad to see it's being addressed, thank you!


Added a new test for HPC VM inside.

This test improves the HPC VM verification in 2 different cases - IB over ND and IB over SR-IOV. And the 3rd case was non-HPC VM size.
HPC VM waagent config should have below condition in /etc/waagent.conf. Should not comment out.
OS.EnableRDMA=y
If VM has IB over ND, it verifies Nd driver installation/location. ib_ipoib module is optional, so I removed this verification here.
The 3rd case is IB over SR-IOV. Verify it loads inbox or out-of-tree driver loading for IB interface. Originally I wanted to add those verifications to the VM provision test, but keep them separate because of more future verifications like LIS, VMbus verifications.
Non-HPC VM case
[LISAv2 Test Results Summary]
Test Run On           : 09/15/2020 06:25:22
ARM Image Under Test  : OpenLogic : CentOS : 7.4 : latest
Total Test Cases      : 1 (0 Passed, 1 Failed, 0 Aborted, 0 Skipped)
Total Time (dd:hh:mm) : 0:0:3
ID TestArea             TestCaseName                                                                TestResult TestDuration(in minutes)
1 CORE                 VERIFY-HPC-VM                                                                     FAIL                 0.77
  ARMImageName: OpenLogic CentOS 7.4 latest, TestLocation: westus2, Kernel Version: 3.10.0-693.21.1.el7.x86_64

Tue Sep 15 06:27:54 2020 : Successfully initialized testscript!                                                                                OS family: Rhel                                                                                Tue Sep 15 06:27:54 2020 : This VM is non-HPC VM. No further testing.
IB over SR-IOV case. VM size should be joint condition.
[LISAv2 Test Results Summary]
Test Run On           : 09/15/2020 07:41:11
ARM Image Under Test  : OpenLogic : CentOS-HPC : 7.7 : latest
Override VM size Under Test  : Standard_HC44rs
Total Test Cases      : 1 (1 Passed, 0 Failed, 0 Aborted, 0 Skipped)
Total Time (dd:hh:mm) : 0:0:5
ID TestArea             TestCaseName                                                                TestResult TestDuration(in minutes)
1 CORE                 VERIFY-HPC-VM                                                                     PASS                 0.47
  ARMImageName: OpenLogic CentOS-HPC 7.7 latest, OverrideVMSize: Standard_HC44rs, TestLocation: westus2, Kernel Version: 3.10.0-1127.el7.x86_64

IB over ND case
[LISAv2 Test Results Summary]
Test Run On           : 09/15/2020 07:55:54
ARM Image Under Test  : OpenLogic : CentOS-HPC : 7.4 : latest
Override VM size Under Test  : Standard_H16mr
Total Test Cases      : 1 (1 Passed, 0 Failed, 0 Aborted, 0 Skipped)
Total Time (dd:hh:mm) : 0:0:3
ID TestArea             TestCaseName                                                                TestResult TestDuration(in minutes)
1 CORE                 VERIFY-HPC-VM                                                                     PASS                 0.73
  ARMImageName: OpenLogic CentOS-HPC 7.4 latest, OverrideVMSize: Standard_H16mr, TestLocation: southcentralus, Kernel Version: 3.10.0-693.21.1.el7.x86_64

@juhlee-microsoft you need restrict image with HPC ones, otherwise when it is not hpc image, it will fail? Example - https://github.com/LIS/LISAv2/blob/master/XML/TestCases/FunctionalTests-SGX.xml#L17

@juhlee-microsoft you need restrict image with HPC ones, otherwise when it is not hpc image, it will fail? Example - https://github.com/LIS/LISAv2/blob/master/XML/TestCases/FunctionalTests-SGX.xml#L17

You see the logic inside. It will run with all VM sizes and types. And if HPC, then it does checking.  That is the case of the return value 0 or 1. If non-HPC VM likely general purpose, then it will go to the return value 2. Sometimes I saw HPC VM missed the driver configuration and LIS setup in the image. So this falls into the return value 3. This is the purpose here for "3". If we see 3, then we need an alert.

@juhlee-microsoft you need restrict image with HPC ones, otherwise when it is not hpc image, it will fail? Example - https://github.com/LIS/LISAv2/blob/master/XML/TestCases/FunctionalTests-SGX.xml#L17

You see the logic inside. It will run with all VM sizes and types. And if HPC, then it does checking. That is the case of the return value 0 or 1. If non-HPC VM likely general purpose, then it will go to the return value 2. Sometimes I saw HPC VM missed the driver configuration and LIS setup in the image. So this falls into the return value 3. This is the purpose here for "3". If we see 3, then we need an alert.

@LiliDeng  I have one update for your asking. Here is the result in Ubuntu and SLES HPC SKU.
<Ubuntu 18.04>
root@LISAv2-OneVM-2943-RT17-20200915182739-role-0:/home/lisa# source utils.sh
root@LISAv2-OneVM-2943-RT17-20200915182739-role-0:/home/lisa# is_hpc_vm
OS family: Debian
root@LISAv2-OneVM-2943-RT17-20200915182739-role-0:/home/lisa# echo $?
2

juhlee-sles-hpc:/home/lisa # source utils.sh
juhlee-sles-hpc:/home/lisa # is_hpc_vm
OS family: Sles
juhlee-sles-hpc:/home/lisa # echo $?
1


package reports up-to-date until uninstall --force && install

Please follow the general troubleshooting steps first:

[x] Ran brew update and retried your prior step?
[x] Ran brew doctor, fixed as many issues as possible and retried your prior step?
[x] If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

Bug reports:
I ran into an issue today where homebrew was convinced I was up-to-date with an old version of ruby-build.
I was trying to install a newer version of ruby and got this message:
› rbenv install 2.2.4
ruby-build: definition not found: 2.2.4

The following versions contain `2.2.4' in the name:
  rbx-2.2.4

See all available versions with `rbenv install --list'.

If the version you need is missing, try upgrading ruby-build:

  brew update && brew upgrade ruby-build

So I tried that and got this:
› brew upgrade ruby-build
Error: ruby-build 20150226 already installed

Hmm, OK, let me make sure:
› brew outdated
awscli (1.10.47 < 1.10.48)

OK, seems up to date... Looks like it's the homebrew version:
› which ruby-build
/usr/local/bin/ruby-build

› ruby-build --version
ruby-build 20150226

Then I found this Stack Overflow post and tried what they suggested and it worked:
› brew uninstall ruby-build --force
Uninstalling ruby-build... (153 files, 97.3K)

› brew install ruby-build
==> Downloading https://github.com/rbenv/ruby-build/archive/v20160602.tar.gz
==> Downloading from https://codeload.github.com/rbenv/ruby-build/tar.gz/v201606
######################################################################## 100.0%
==> ./install.sh
🍺  /usr/local/Cellar/ruby-build/20160602: 282 files, 155.5K, built in 1 second

› ruby-build --version
ruby-build 20160602

Seems like homebrew couldn't recognize that it needed to upgrade.

Was it pind or switchd?

I'm not sure - would I have to manually do this?
Probably difficult to tell now since I've already force uninstalled.

Will keep an eye out for this but not possible to do any further debugging now that it's uninstalled. Thanks for the report.


[HTML5] Fix editor build. Add webgl2 imports. Wrokaround thread issue.

In this PR:

Add "webgl/webgl2.h" as OpenGL include (glGetBufferSubData).
Requires emscripten versions > 2.0.17 .
Fix JS "tools" editor plugin. Needed update after file/dir access refactoring.
Limit the returned OS cpu count to 2. (temporarily workaround issues due to godot spawning too many threads)
Add guard for OpenGL 4 debug macros.

Thanks!


Add Issue Templates & PR Templates

Description
Add Issue Templates & PR Templates for better triage purposes as has been done in many Kubernetes repositories.
/cc @wojtek-t

/kind documentation


fix: optimize COUNT calculations via the use of count tables

This also makes use of the previous block counts table we had built for stats endpoints and adds filters for genesis_address and cursed.

:tada: This PR is included in version 1.0.0-beta.13 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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

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


Revised your README

Hey, check it out. I also put some questions in there. :)

Thanks! I'll take a look later.

Coverage remained the same at 52.941% when pulling 09e29cecb8d4ce665f540c41f043ca118116ddeb on LappleApple:master into 9270a6a8b821a8e6d825386c4d3fd36e0914dfef on zalando:master.

Since I don't have write access to your fork I just copied your suggestion and updated the README directly. To answer some questions:

Is this project like anything else out there? My 30-seconds-googling did not yield useful results, I don't really know.
What is it like, and what is it not like? See above, not sure what I would compare this with.
What is it especially good for? who is your target audience? Good for responsive react components. Target audience: React developers. I don't think it needs to be said in the README.


Prevent stranding of partial load balancers resources

Will likely fix #7753, although the proof is in the pudding. Explanation of what this is doing in the comment there.
@quinton-hoole

+cc @smarterclayton (openshift)

openstack != openshift, Max :)
cc @anguslees for openstack change

Passes LB e2es consistently

How embarrassing... that's what I get for attempting to triage during a meeting :-)

:) I'd like to pretend like some marketing guy probably didn't anticipate that when the name was chosen, but I know better ;)
----- Original Message -----

How embarrassing... that's what I get for attempting to triage during a
meeting :-)

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/pull/7852#issuecomment-99581510

The main feedback is that you need to retry pool deletion.  The other comments are cosmetic, and won't block merging.

Rebased and fixed all your comments except the pool error one.

@a-robinson let me know when you're ready for a re-review.  Assigning to you until then.  It looks like you still need to address some of @anguslees openstack feedback.
Also, it would be good to get someone to test this on openstack before moreging.  Perhaps @anguslees can do that for us?

Sorry about the delay, I had some other things float to the top of my priority queue this week. I think we should be fine with getting pools by name rather than ID, but have separated that out into issue #8352.
In the meantime, I've modified this PR to effectively maintain current behavior, just returning nil rather than an error if we attempt to delete a VIP that doesn't exist, paralleling what would happen if we first attempted to get load balancer before deleting it.

@quinton-hoole, are you alright with merging this?

Apologies for the delay.  I'll review it now.  Has this been tested on openstack yet, as per above comment?

No, I don't believe it has been tested on openstack, but @anguslees seems to be happy with it?

Just two minor things left to check/fix, as far as I can see.

Re-pushed the code with the vipExists logic torn out and TODOs clarified with the openstack issue number.

Have you performed a few runs of the services e2e tests against this code to confirm that:

They pass?
They don't leak GCE load balancer resources?

Can anyone explain why the v1.0 candidate milestone tag was removed from this one?  I don't think that we can launch without this, as all clusters that employ external load balancers on GCE will stop working properly within a few days, like our current soak test clusters.

Tentatively re-adding v1.0-candidate milestone until I understand why it's not v1.0 worthy.


Set Cursor at the end of text.

Hi team !
I am using enterprises version of AG grid. I had two issues at the start of cell editing process
a) Moving cursor in edit box with navigation key.
b) Setting cursor position at the end of text on edit cell.
I've resolved a by doing following
RenderedCell.prototype.onNavigationKeyPressed = function (event, key) {
if (!this.editingCell) {
//this.stopRowOrCellEdit();
this.rowRenderer.navigateToNextCell(key, this.rowIndex, this.column, this.node.floating);
event.preventDefault();
}
};
but issue (b) is still not resolved. Kindly help me out.

this is not something broken in ag-grid, issues are for tracking work items needed in ag-grid, so closing.
this is a general javascript question, please google for answers!!
http://stackoverflow.com/questions/511088/use-javascript-to-place-cursor-at-end-of-text-in-text-input-element
do this in afterGuiAttached() method

afterGuiAttached() worked , that what event I was looking for.
Thanks @ceolter


EPIC: POC and implementation MFE carrier app

Implement MFE carrier app according to decided architecture.

[ ] POC: carrier as next.js app
[ ] Generalize Greenhouse all-in-one deployment
[ ] Create carrier app v1.0
[ ] check how to catch runtime errors from embedded apps

Requirements

[ ] Carrier app should be very conscious of memory consumption. Rather try to dynamically load only what is currently needed

obsolete, please refer to

#386


read last update from clair db, return in system info

Coverage decreased (-0.4%) to 54.277% when pulling 543cf62e1468dcfa194435be5916b569ca5d92a5 on reasonerjt:fetch-timestamp-from-clairdb into 0ade32eef5336dcf869f5de51a9b9e0deb9cdcdb on vmware:master.

Coverage decreased (-0.4%) to 54.241% when pulling 5f233f3e2168641c5f991baffc3c7f74a21037f1 on reasonerjt:fetch-timestamp-from-clairdb into 0ade32eef5336dcf869f5de51a9b9e0deb9cdcdb on vmware:master.

Coverage increased (+6.3%) to 60.941% when pulling 436f0efab8fd29e5c38a0c60f1c46ba8a01a67e1 on reasonerjt:fetch-timestamp-from-clairdb into 0ade32eef5336dcf869f5de51a9b9e0deb9cdcdb on vmware:master.

Coverage decreased (-0.4%) to 54.216% when pulling 7fdb77f6d2269298ddc1b1cdf5587b6c8a49e4a9 on reasonerjt:fetch-timestamp-from-clairdb into 0ade32eef5336dcf869f5de51a9b9e0deb9cdcdb on vmware:master.


gateway_mfr exited with a non-zero status not handled well

This is another error message which is not handled well and stops the whole page and JSON from returning:

We should audit all possible error messages to stop this from occurring in any circumstances
Related to:

https://github.com/NebraLtd/hm-diag/issues/243 (with balena links)
https://github.com/NebraLtd/hm-diag/issues/257

Need to determine if this is a hardware issue or software malfunction.
Acceptance Criteria

Improve on-screen error message
Improve logging
Provide some sort of root cause analysis of why this happens

Weirdly I seem to get this on a device where gateway_mfr has succeeded and tests show all good, but the miner cache.dets is corrupted and repairing

Closed by https://github.com/NebraLtd/helium-miner-software/pull/311


[ci]Conditionally add labs package except in Dart

Summary of the Pull Request
Testing a fix to build on release CI, PR CI and local build at the same time.

/azp run

/azp run

Hi @DHowett , I'm proposing these changes on top of the branch with your release CI fixes.
This will make it so we can include the Community Labs feed in the csproj when building locally or in the PR CI, but not in the release CI. As you can see, all tests pass like this.

I'm actually pretty surprised this works! My understanding was that it wouldn't, not because of this feed but because of the missing upstream nuget.org feed.
Local development builds and OSS pool CI builds should use the same nuget configuration, which in our case for the one at the root of the repo specifies no sources. The packages used by this project should work because of this new property/condition, but then the rest of the packages from the rest of the projects shouldn't...
In general, I'd rather solve this one comprehensively than with a workaround like this. I wonder how other projects are dealing with it?

In general, I'd rather solve this one comprehensively than with a workaround like this. I wonder how other projects are dealing with it?

The solution here would be being able to have a nuget.config in the root that points to both nuget.org and the source. Our issue is that Dart doesn't allow that.

The problem isn't that DART doesn't allow it, it's that Microsoft's OSS consumption guidelines don't allow it -- and working around it using build properties is somewhat counter to the purpose of the check.
The core things that are in contention here are...

Our internal builds must:

Consume only a single NuGet feed

Out external builds must:

Not require authentication
Consume packages from nuget.org and these other feeds

The current solution in this branch satisfies 1.i at the cost of 2.i, by using a private feed with two or three legal upstream feeds.
However, the governance tool doesn't know that because it looks at nuget.config in the root of the repo. That precludes us from doing 2.ii because it'll figure out that we've "lied."
I'd rather apply for an exemption to the rule with a strong justification than to do an end run around compliance by actually lighting up multiple feeds for some of the builds controllable by a property... know what I mean?

I get it, but the change to RestoreAdditionalPackages won't be used in DART, that's why it's inside the condition <PropertyGroup Condition="'$(IsPipeline)' == ''">. So the internal build that uses "release-nuget.config" still would only use a single feed. This wouldn't circumvent policy, since it would only be used in "external builds". (Considering PR CI is an external build)
Also: https://pkgs.dev.azure.com/dotnet/CommunityToolkit/  is a azure.com endpoint. It would be accepted within the nuget.config file as well with the security checks as well (or at least it did when I included in "release-nuget.config" while originally trying to overcome this issue).

I'm not going to let my ideology hold up further progress, so I'm going to merge this in and submit my PR that gets release stood up. :)


Will support Dark Mode in Mojave?

Hi, I was wondering if the dmg will support dark mode for Mojave?
(the license window text color in particular)

I found that when a background image is set the background color is also set to white :(
Did not tested the license part, it appears in grey instead of black?

@silverge can you post a screenshot?

Just tested with an RTF and TXT and looks ok. Here the test files: Test.zip

What format you've used?

What we could really use here is a pointer to some Apple documentation about how DMG preview and license dialogs/screens work with respect to Dark Mode. Added the "help wanted" tag in case anybody knows this.


[Postgres] Add support for LISTEN/NOTIFY

Supersedes #98

@thedodd Take a look, I'll write up the differences more detailed soon.
https://github.com/launchbadge/sqlx/blob/e99e80cf94b46ed0e53fa314e5f6243b82a64fc3/examples/listen-postgres/src/main.rs

PgListener::new and PgListener::from_pool over PgPoolExt::listen and PgConnectionExt::listen

PgListener implements Executor and it's internal connection may be re-used ( be careful though )

Add PgListener::listen, PgListener::listen_all, PgListener::unlisten, and PgListener::unlisten_all to allow run-time modification of listened channels

Borrow into the owned connection in PgListener::recv so the notifications are received without copy or allocation.

@thedodd I wanted to move this to master as I was getting a bit overwhelmed with how much is not on master. This doesn't mean the API is final, so if you'd like to discuss the changes, please do so.

Cool. I'll pull and give it an eye on master.

@thedodd Just wrote up the changes in the opening comment here. Pinging you so you don't miss the overview.


Add drag-and-drop support for materials in 3D Instances

Request description
Pending work.

Almost working. Can prepare for maintainer review?

@SaracenOne 's work was merged.


Bug: A15 fails

https://app.circleci.com/pipelines/github/help-me-mom/ng-mocks/8782/workflows/65c8e896-07cd-44a8-93e4-7b899705230f/jobs/388630

v14.3.1 has been released and contains a fix for the issue. Feel free to reopen the issue or to submit a new one if you meet any problems.


Why Solana?

Title:
Why Solana?
Description:
Learn why Solana is the First Web-Scale Blockchain that's truly fast, cheap and censorship resistant and How developers and Users and equally leverage fast finality times and confirmations. Solana is carbon neutral, a transaction on Solana takes less energy than two Google searches.

transaction fee which is cheap forever
400ms Block Finality, Web 3.0 with Web 2.0 speed., bringing the UX of blockchains back on track.
Proof of History and Distributed Clock
Parallel GPU utilisation (Sealevel), The only blockchain that utilizes moore's law

Style of Session:
30 min Regular Talks
About Speaker:
Developer at SuperteamDAO
Twitter: https://twitter.com/heyayushh

Please share the type of audience as well.


Listview within a fragment ?

Hi, I am trying to get this to work with a listview within a fragment, I cant seem to get the ids to work if I use the view it will also not work and how do i size things within the final pdf as everything always appears giant.
Thanks to anyone for replying.

@1stmetro  Sorry for the late reply. Can you please share your XML and java code and the output PDF? Here is my sample of how to deal with list view. You can run my "sample" project and test the list view printing by uncommenting the related code.  I will reopen the issue if you can't deal with it. Comment here by mentioning me if get stuck. Thank you

Hi @1stmetro
Thank you all for the support. Please kindly star and fork and send me the app links you all are using it. If there is no confidentiality then I will list them in my readme.md file.


MM-16121 - Updating custom textarea on mobile

Summary
MM-16121 - Updating custom textarea on mobile
Ticket Link
https://mattermost.atlassian.net/browse/MM-16121

Why was this a regression?

@enahum This is from release testing, also I couldn't repro this on prev.test. Maybe I'm wrong.


Webschema validation

new-flancy should probably have some validation on the webschema parameter.  It should be flexible (include additional props), but it probably needs to validate that it is a list and that each element in the list has a method, script, and path properties

FYI: I'm working on this (not sure that I can write tests though, but I'll try).

good job - the tests worked great!  :+1:  Welcome to the project!  I'll merge with master once @adamdriscoll gets the token auth stuff worked out.


Face Detection Bounding Box + Key-points  Output doesn't adds up

Looking at the Front Face Detection model (using Netron) shows that we get two output from the model:

And when looking at the model card (https://drive.google.com/file/d/1f39lSzU5Oq-j_OXgS67KfN5wNsoeAZ4V/view) it says:
Returns a bounding box and 6 keypoints for each face (left eye from the observer’s point of view, right
eye, nose tip, mouth, left eye tragion, right eye tragion).
I'm trying to understand:

Why there are two outputs in the model where the model description only speaks about one?
Why is the regressors is float32[1,896,16]? 6 Landmarks point are 12 values (x,y), and face-bounding-box is 4 points (8 values), so 12 + 8 = 20. Unless I didn't understand the model (which probably the case).

Would love an elaboration, been stuck on this for days now.

Hi,
Source1
Source2
The first 4 numbers describe the bounding box corners:
ymin, xmin, ymax, xmax
These are normalized coordinates (between 0 and 1).
Note that y comes before x here!
The next 12 numbers are the x,y-coordinates of the 6 facial landmark keypoints:
right_eye_x, right_eye_y
left_eye_x, left_eye_y
nose_x, nose_y
mouth_x, mouth_y
right_ear_x, right_ear_y
left_ear_x, left_ear_y
Tip: these labeled as seen from the perspective of the person, so their right is your left.
The final number is the confidence score that this detection really is a face.
If no faces are found, the tensor has shape (0, 17).

@SocialKitLtd has this issue been resolved? Thank you @PrinceP for providing help.

I don't understand it is float32[1,896,16]. ones of them your mean are ymin, xmin, ymax, xmax?

Assuming the above issue was answered your query, We are closing this now.


How can I delete a HUBOT?

I've added a hubot and want to remove that integration, but only allows me to disable it, not remove/delete: http://prntscr.com/5z1i3k
How can I delete it?

I asked about this in a separate channel, and was informed that you cannot delete them, for reasons of history/posterity. Same way you cannot delete real users, too.

Ouch! :( Thanks for your answer... but this is ugly, because it uses an space, and I have a alert that "Your team is approaching the integration limit." Isn't there a way to force delete it? I didn't get to use it, I only installed it to test it and couldn't make it work :(

@mariela21180 disabling it will stop it from counting against your integration limit. As for using a space; how do you mean? There’s no limit to the number of users you can have, as far as I’m aware.

Pretty sure @jeffbyrnes is right, disabling it should do what you need.  If not, I'm sure Slack's customer support could help.

Ok, Thank for your help :) @jeffbyrnes with space I was refering to the integrations limit.


make a new release on the next branch

not sure what version this will be for us -- 2.6.0-dev.x?

:+1:

done, v2.6.0-dev.1 has been published to NPM


Crash in ARTOSReachability

Seems like ARTOSReachability_Callback has referance to deallocated object.
ably version: 1.0.1
{code}
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000010
0	Ably					-[ARTOSReachability internalCallback:] + 80
1 	Ably					ARTOSReachability_Callback + 124
2	SystemConfiguration		reachPerformAndUnlock + 580
3	CoreFoundation			CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 24
4	CoreFoundation			__CFRunLoopDoSources0 + 540
5	CoreFoundation			__CFRunLoopRun + 744
6	CoreFoundation			CFRunLoopRunSpecific + 424
7	GraphicsServices		GSEventRunModal + 100
8 	UIKit					UIApplicationMain + 208
9	test					AppDelegate.swift line 15
10	libdyld.dylib	 		start + 4
{code}

@escfrya Thanks for the report! Is this happening always/often? If so, could you tell us how? Logs with ARTClientOptions.logLevel set to .Debug would be ideal.

@tcard I can't reproduce this bug on my device.
Stacktrace from Crashlytics, and i see 18 crashes in dashboard (not so often).

I've added 8297ea4 (1.0) and bada06b (0.8). That should prevent a crash, but the underlying condition causing the crash is probably not fixed. We also can't reproduce this issue, so this requires further looking into.
@escfrya Could you tell us what you have at AppDelegate.swift, line 15?

@tcard line 15 - class AppDelegate: UIResponder, UIApplicationDelegate {

@tcard Unfortunately, crash reproduced in new app version(ably version 1.0.3)
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000010

0	Ably	-[ARTOSReachability internalCallback:] + 84
1       Ably	ARTOSReachability_Callback + 144
2	SystemConfiguration	 reachPerformAndUnlock + 640
3	CoreFoundation	__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
4	CoreFoundation	__CFRunLoopDoSources0 + 524
5	CoreFoundation	__CFRunLoopRun + 804
6	CoreFoundation	CFRunLoopRunSpecific + 444
7	GraphicsServices	GSEventRunModal + 180
8	UIKit	-[UIApplication _run] + 684
9       UIKit   UIApplicationMain + 208
10	test	AppDelegate.swift line 15 main
11	libdispatch.dylib

Hi @escfrya.  That's disappointing to hear.  We're working on a release right now that will help us a) prevent crashes across the board and instead emit an error and fail, b) allow us to debug the issues in more detail by capturing the state and what has happened prior to the failure.  I am sure @tcard will be in touch on Monday with details on that.

@tcard it seems this error is still happening according to our internal error reporting.
EXC_BAD_ACCESS
errorAttempted to dereference garbage pointer 0xd8716bec8.

See https://errors.ably.io/ably/ably-ios/issues/100893/ for the details.
@tcard this is reported in 1.0.3.  @tcard do you think an upgrade to 1.0.4 may fix this, or is this issue unrelated to any fixes in 1.0.4?

@mattheworiordan I've been seeing those errors, but they have nothing to do with this. In fact, if you look at the stack trace (which for some reason Sentry thinks is invalid; we should migrate to the official Sentry library now that it's in Obj-C —anyway, it's visible as JSON if you expand the error on the top) there's a bunch of "" functions, so we don't know if it's Ably's fault at all.

so we don't know if it's Ably's fault at all.

Any ideas how we can isolate that in the future so we do know then?

@tcard additionally, could we modify the error sent to our exception tracker so that the errors are grouped?  I believe the reference is what is preventing that. Perhaps look at the fingerprinting feature.

@escfrya Can you confirm this is still happening? We haven't had any other reports of this, and cannot reproduce ourselves.

@tcard sorry, but i doesn't use Ably anymore

@escfrya sorry to hear that Igor.  Mind if I ask why?

@mattheworiordan i leaved project. The reason is not in Ably :)

Ok, that's a shame, thanks for the response @escfrya

@mattheworiordan This crash is still happening on the latest version 1.2.3, any ideia as to why it happens?
Crashed: io.ably.main
0  libsystem_pthread.dylib        0x1f8ab30cc pthread_mutex_lock$VARIANT$armv81 + 102
1  SystemConfiguration            0x1b28b5718 SCNetworkReachabilitySetCallback + 64
2  Ably                           0x100c2c3f8 -[ARTOSReachability listenForHost:callback:] + 60 (ARTOSReachability.m:60)
3  Ably                           0x100c432a4 -[ARTRealtimeInternal transitionSideEffects:] + 562 (ARTRealtime.m:562)
4  Ably                           0x100c41e2c -[ARTRealtimeInternal transition:withErrorInfo:] + 482 (ARTRealtime.m:482)
5  Ably                           0x100c1c8f0 -[ARTEventListener timeout] + 130 (ARTEventEmitter.m:130)
6  Ably                           0x100c20698 __artDispatchScheduled_block_invoke + 46 (ARTGCD.m:46)
7  libdispatch.dylib              0x1b2034cb0 _dispatch_block_async_invoke2 + 104
8  libdispatch.dylib              0x1b2052280 _dispatch_client_callout + 16
9  libdispatch.dylib              0x1b202abf8 _dispatch_continuation_pop$VARIANT$armv81 + 404
10 libdispatch.dylib              0x1b203b46c _dispatch_source_invoke$VARIANT$armv81 + 1252
11 libdispatch.dylib              0x1b202e3bc _dispatch_lane_serial_drain$VARIANT$armv81 + 260
12 libdispatch.dylib              0x1b202efdc _dispatch_lane_invoke$VARIANT$armv81 + 404
13 libdispatch.dylib              0x1b2038800 _dispatch_workloop_worker_thread + 692
14 libsystem_pthread.dylib        0x1f8ab65a4 _pthread_wqthread + 272
15 libsystem_pthread.dylib        0x1f8ab9874 start_wqthread + 8

Hi @cdinarte and thanks for letting us know. We'll take a look. Is there any further context you can give us in respect of how you got this?

@QuintinWillison we believe the bug is happening when returning to the app after it has been on the background for some time, but we're not sure.

From the stacktrace, it seems it is waiting indefinitely for a lock. The lock occurs inside the SCNetworkReachabilitySetCallback which is a system method. Maybe the context is not valid anymore since the crash occurs after an event timeout.

@QuintinWillison Probably, #1100 might fix this issue too.

Hey guys, this issue is not gone. It is still happening, can you please check it?

Looks like this crash has the same nature as the one that was fixed here https://github.com/ably/ably-cocoa/pull/1453
So I'm closing this, feel free to re-open it if you'll experience it again.

Hi team, the issue is still there. What I did are:

connect to ably
turn of wifi
turn on wifi
connect to ably when app appear
app crash
I also notice that it happen every time for my friend, but only happen like 2 out of 10 times on my side.
Can help to take a look again? Any idea/workaround to prevent app crash?

Thanks so much.

Thanks for getting in touch, @xinjiesg. 😁 I'm reopening this issue so that we can look at this again. Are you able to enable verbose logging from the Ably SDK as that might provide more information to us? Or, even, perhaps provide us with a crash report? (you can supply this to us by raising a support ticket, in order not to need to share potentially sensitive information here in the public domain)

Hey @xinjiesg Couldn't you try branch from https://github.com/ably/ably-cocoa/pull/1565?

Hey @xinjiesg Couldn't you try branch from #1565?

Hi @maratal, this brach solved our issue, and so far we did not see any crash again. thanks for the help.

@xinjiesg Glad to hear that! But couldn't you provide little bit more details about how you setup ably stack? I assume you re-create ARTRealtime object each time app becomes active, am I right? Do you call close on old instance? A bit of your setup code would be helpful, thanks!

Hi Marat,
I did something like this:
Step 1: declare object
private var ably: ARTRealtime?
Step 2: call connection func in viewDidAppear
override func viewDidAppear(_ animated: Bool) {
 super.viewDidAppear(animated)
connectAbly()
}
Step 3: do connection
private func connectAbly() {
 ably = ARTRealtime(options: options)
ably?.connection.on { stateChange in
 ...
 }
}
If it is the case, should I check if ably == nil in viewDidAppear, before call connection?
Thanks.
Regards,
Xin Jie
On 4 Jan 2023 at 10:07 PM +0800, Marat Al @.***>, wrote:

@xinjiesg Glad to hear that! But couldn't you provide little bit more details about how you setup ably stack? I assume you re-create ARTRealtime object each time app becomes active, am I right? Do you call close on old instance? A bit of your setup code would be helpful, thanks!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @xinjiesg, sorry for delay, but we decided to take different approach. Would you mind to try branch from https://github.com/ably/ably-cocoa/pull/1565 again? Thanks in advance!

Hi @maratal ok, I will try it. Thanks for the update

Closing this issue because the work is being tracked in another issue https://github.com/ably/ably-cocoa/issues/1380


Unable to size icon inside qta.IconWidget

I looked at the usage example to see how I could size an icon without putting it in a button widget and this works:
spin_widget = qta.IconWidget()
spin_icon = qta.icon('mdi.loading', color='red',
                     animation=qta.Spin(spin_widget))
spin_widget.setIcon(spin_icon)
spin.widget.setIconSize(QSize(128, 128))

But if I try to add my an icon without animations, I cannot get the desired size. It will show in its default size. For example, this code will not show the icon in the size I desire:
spin_widget = qta.IconWidget()
spin_icon = qta.icon('mdi.loading', color='red')
spin_widget.setIcon(spin_icon)
spin.widget.setIconSize(QSize(128, 128))

Is there a workaround that doesn't require setting the icon in a QPushButton?

Hi @diagonalize thanks for the feedback! Checking seems like for actually applying the size change the update method should be call (and I think that's why using an animation enables to actually resize the icon). Could you try to call spin.widget.update() and see if that helps? Let us know!

Hello @dalthviz. The update() method did indeed fix my issue.
Thank you very much!


Cloud Formatter incorrectly Escaping JSON

Attempting to pass in a very simple custom parameter block, where I'm typing the following literally:
{
"test": true
}

What occurs instead is:
"\"\\\"\\\\\\\"\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"{\\\\\\\\\\\\\\\"t\\\\\\\"e\\\"s\"t"

These don't match 100% because it becomes a little hard to follow what I even typed already, but this occurs elsewhere where input is processed, such as Environment Variables in work-pools and I'm sure other locations.
Screenshots attached showcasing the behavior - this can be reproduced by attempting to type / format in any JSON fields.

The multiple escape gibberish is gone, good riddance. However there is still undue formatting going on: for example, double quotes are being removed for no reason. If I type in "12345" (with double quotes) the Cloud Formatter replaces my input with 12345 without double quotes. If I put escaped quotes around my string such as "\"12345\"" the Cloud Formatter still replaces my input with 12345 (removig both the enclosing and the escaped double quotes). There is no reason for this: if I need to pass to my flow a string parameter (and if the string contains only numeric characters that's my business: it's still a valid string and valid JSON) I need to be able to do just this regardless of the content of the string. More generally, there is no need to aggressively reformat inputs (unless I optionally click on the "Format" button). Please fix this asap as it's a blocking issue.

I confirm this is a blocking issue: if I input legal string (such as "True") the Cloud Formatter removes the double quotes then complains it's not valid JSON and inhibits the "submit" button, preventing me from launching any flow run that requires parameters.

Moreover, even switching to direct JSON formatting doesn't solve the issue: in this example (with a perfeclty valid JSON) clicking on Submit yields no effect: the flow run does not start.


Disable contrib/integrate/python/ops/odes_test due to timeout

The test hangs during PIP tests on GPU (but not CPU).

Do we have a corresponding bug opened about this?

@gunan bug opened internally for @shoyer

DO NOT MERGE this for now. I'm seeing some indication that this test doesn't hang when the tests are run serially, instead of concurrently.

nvm. the test times out even when run exclusively.


Sedna FederatedLearning controller enhancement

What type of PR is this?

What this PR does / why we need it:
FeratedLearningJob controller enhancement

cascade deletion: improve the controller so that it have the ability of cascade deletion.
pod self-healing ability: recreate pod when manually deleting the pod.
update pod when when FederatedLearningJob CRD is changed.
Add test file to ensure functionality stability and correctness.
Which issue(s) this PR fixes:

Fixes #

/lgtm

/lgtm

Besides, this PR aims to fix https://github.com/kubeedge/sedna/issues/430


IPv6 address given in DestinationRule & ServiceEntry is not available in route_config.virtual_hosts.domains , but available for IPv4

Hi ,
I have installed Istio 1.6.8 in a IPv6 K8s Cluster.
I created DestinationRule & Service Entry with IPv6 Address.
Sample Destination Rule:
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: test
namespace: test
spec:
host: 2a00:8a00::60a.11122.IP ------> IPv6 address.Port.IP
portLevelSettings:
- port:
number: 11122
trafficPolicy:
connectionPool:
tcp:
maxConnections: 10
loadBalancer:
simple: ROUND_ROBIN
Sample Service Entry :
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
name: test-se
namespace: test
spec:
**addresses:

2a00:8a00::60a
endpoints:
address: 2a00:8a00::60a
hosts:
2a00.8a00::60a.11122.IP
location: MESH_EXTERNAL
ports:
name: http2-11122
number: 11122**
protocol: HTTP2
resolution: STATIC

In this case if we check dynamic_route. route_config through configdump , i get the following ,
IPV6 address are missed under route_config.domains but it is working fine for IPv4.
 "version_info": "2020-12-01T09:15:18Z/51",
 "route_config": {
  "@type": "type.googleapis.com/envoy.api.v2.RouteConfiguration",
  "name": "11122",
  "virtual_hosts": [
   {
    "name": "2a00.8a00::.60a.11122.IP:11122",
    "domains": [
     "2a00.8a00::60a.11122.IP",
     "2a00.8a00::60a.11122.IP:11122"
    ],

But in case of IPV4 iam getting the IPs in domains
  "virtual_hosts": [
   {
    "domains": [
     "10.x.x.244.11122.IP",
     "10.x.x.244.11122.IP:11122",
    "10.x.x.244:11122",---------> Correct but it is missing in IPv6.
    "10.x.x.244" ----------------> Correct but it is missing in IPv6.
    ],

Kindly help to solve this. [This secnario is applicable for ServiceEntry also]

Sorry, I don't understand. I think you have censored to much and obscured understanding
     "10.x.x.244.11122.IP",
     "10.x.x.244.11122.IP:11122",

This format does not look right should never be generated.
I think either you did not provide the full config you the output has been modified. can you clarify?

Any more info?

Any more info?

Hi HowardJohn ,
   I have shared you the dynamic_route. route_config section from the configdump.
   If IPv4 address is specified in the 'Hosts' field  of Destination rule & service entry , dynamic_route.route_config section of the
   configdump has the IPs provided.
   If IPv6 address is specified in the 'Hosts' filed of Destination rule & service entry , we are not getting the IPs listed under
  dynamic_route.route_config section of the configdump.


How to customize GenerateUserTokenAsync token lifespan? What about brute-force protection?

I'm using GenerateUserTokenAsync and VerifyUserTokenAsync with purpose="Email". How can I customize token expiry so tokens last longer/shorter before they aren't valid?
Additionally, how would you implement token lockout to prevent someone from brute-forcing the token? With provider="Email", the tokens are just 6 digits which should be easy to brute-force (<1 million possibilities, ~11 minutes on a core i3 laptop).

You can plug-in your own token provider for "Email" or any other purpose, and implement shorter lifetimes, or indeed increase the token length.
However I'm a bit confused, we have a specific email token provider which is NOT 6 digits. it is horribly long and would be really hard to brute force. This sounds like you're using the TOTP / Phone one for email? Could we see some configuration and use code?

Yeah, that's what I'll try doing next. I am currently using provider="Email".  This generates a 6 digit code, which is equivalent to using provider="Phone". This might be a bug since using provider="Default" generates a long GUID-esque token, which I think is the one you're referring to?
Do you mind pointing me to the source code for the "Email" or "Phone" (ie. 6-digit) providers? I'd like to see how I can build similar ones, and how you were able to sign such a short token with the purpose/userId/security stamp.

@HaoK is email really not giving the right token here?

Ok sorry I got the defaults mixed up:
"default" is using DataProtection (really long token)
https://github.com/aspnet/Identity/blob/e6f3ebf5810c793edc6f3b4ca3438194786b86a2/src/Microsoft.AspNetCore.Identity/DataProtectionTokenProvider.cs
"email", "phone" are using TOTP (6 digits) https://github.com/aspnet/Identity/blob/dev/src/Microsoft.Extensions.Identity.Core/TotpSecurityStampBasedTokenProvider.cs.
https://github.com/aspnet/Identity/blob/f555a26b4a554f73eea70b4b34fca823fab9a643/src/Microsoft.AspNetCore.Identity/IdentityBuilderExtensions.cs#L28


/v1/delete-ltp-and-dependents is not deleting the records inside ES

We are registering an application called "VeryDummyApplication"
This is getting updated in the ALT with update-ltp.
But , while deregistering this application , the values are not getting deleted eventhough the /v1/delete-ltp-and-dependents is successful in the EATL records.
[
  {
    "x-correlator": "550e0132-e29b-71d4-a716-446655448163",
    "trace-indicator": "1",
    "user": "User Name",
    "originator": "Testing",
    "application-name": "RegistryOffice",
    "release-number": "2.0.1",
    "operation-name": "/v1/deregister-application",
    "response-code": 204
  },
  {
    "x-correlator": "550e0132-e29b-71d4-a716-446655448163",
    "trace-indicator": "1.1",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "TypeApprovalRegister",
    "release-number": "2.0.1",
    "operation-name": "/v1/disregard-application",
    "response-code": 204
  },
  {
    "x-correlator": "550e0132-e29b-71d4-a716-446655448163",
    "trace-indicator": "1.3",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "OamLog",
    "release-number": "2.0.1",
    "operation-name": "/v1/disregard-application",
    "response-code": 204
  },
  {
    "x-correlator": "550e0132-e29b-71d4-a716-446655448163",
    "trace-indicator": "1.4",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "AdministratorAdministration",
    "release-number": "2.0.1",
    "operation-name": "/v1/disregard-application",
    "response-code": 204
  },
  {
    "x-correlator": "550e0132-e29b-71d4-a716-446655448163",
    "trace-indicator": "1.6",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "OperationKeyManagement",
    "release-number": "2.0.1",
    "operation-name": "/v1/disregard-application",
    "response-code": 204
  },
  {
    "x-correlator": "550e0132-e29b-71d4-a716-446655448163",
    "trace-indicator": "1.2",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "ExecutionAndTraceLog",
    "release-number": "2.0.1",
    "operation-name": "/v1/disregard-application",
    "response-code": 204
  },
  {
    "x-correlator": "550e0132-e29b-71d4-a716-446655448163",
    "trace-indicator": "1.5",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "ApplicationLayerTopology",
    "release-number": "2.0.1",
    "operation-name": "/v1/disregard-application",
    "response-code": 204
  },
  {
    "x-correlator": "550e0132-e29b-71d4-a716-446655448163",
    "trace-indicator": "1.8",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "ApplicationLayerTopology",
    "release-number": "2.0.1",
    "operation-name": "/v1/delete-ltp-and-dependents",
    "response-code": 204
  },
  {
    "x-correlator": "550e0132-e29b-71d4-a716-446655448163",
    "trace-indicator": "1.7",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "ApplicationLayerTopology",
    "release-number": "2.0.1",
    "operation-name": "/v1/delete-ltp-and-dependents",
    "response-code": 204
  },
  {
    "x-correlator": "550e0132-e29b-71d4-a716-446655448163",
    "trace-indicator": "1.10",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "ApplicationLayerTopology",
    "release-number": "2.0.1",
    "operation-name": "/v1/delete-ltp-and-dependents",
    "response-code": 204
  },
  {
    "x-correlator": "550e0132-e29b-71d4-a716-446655448163",
    "trace-indicator": "1.11",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "ApplicationLayerTopology",
    "release-number": "2.0.1",
    "operation-name": "/v1/delete-ltp-and-dependents",
    "response-code": 204
  },
  {
    "x-correlator": "550e0132-e29b-71d4-a716-446655448163",
    "trace-indicator": "1.9",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "ApplicationLayerTopology",
    "release-number": "2.0.1",
    "operation-name": "/v1/delete-ltp-and-dependents",
    "response-code": 204
  }
]

Logs:
Elasticsearch error occurred: {"took":3,"timed_out":false,"total":1,"updated":0,"deleted":0,"batches":1,"version_conflicts":1,"noops":0,"retries":{"bulk":0,"search":0},"throttled_millis":0,"requests_per_second":-1,"throttled_until_millis":0,"failures":[{"index":"alt-2-0-1-000001","id":"MotBLogBoO4BMZYqzt7S","cause":{"type":"version_conflict_engine_exception","reason":"[MotBLogBoO4BMZYqzt7S]: version conflict, required seqNo [11900], primary term [1]. current document has seqNo [11901] and primary term [1]","index_uuid":"qHmph0zURr2z07g2ve0_YQ","shard":"0","index":"alt-2-0-1-000001"},"status":409}]}
(node:1) UnhandledPromiseRejectionWarning: ResponseError: {"took":3,"timed_out":false,"total":1,"updated":0,"deleted":0,"batches":1,"version_conflicts":1,"noops":0,"retries":{"bulk":0,"search":0},"throttled_millis":0,"requests_per_second":-1,"throttled_until_millis":0,"failures":[{"index":"alt-2-0-1-000001","id":"MotBLogBoO4BMZYqzt7S","cause":{"type":"version_conflict_engine_exception","reason":"[MotBLogBoO4BMZYqzt7S]: version conflict, required seqNo [11900], primary term [1]. current document has seqNo [11901] and primary term [1]","index_uuid":"qHmph0zURr2z07g2ve0_YQ","shard":"0","index":"alt-2-0-1-000001"},"status":409}]}
    at onBody (/home/openbackhaul/applicationLayerTopology/node_modules/@elastic/elasticsearch/lib/Transport.js:367:23)
    at IncomingMessage.onEnd (/home/openbackhaul/applicationLayerTopology/node_modules/@elastic/elasticsearch/lib/Transport.js:291:11)
    at IncomingMessage.emit (events.js:412:35)
    at endReadableNT (internal/streams/readable.js:1333:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 180)
Elasticsearch error occurred: {"took":3,"timed_out":false,"total":1,"updated":0,"deleted":0,"batches":1,"version_conflicts":1,"noops":0,"retries":{"bulk":0,"search":0},"throttled_millis":0,"requests_per_second":-1,"throttled_until_millis":0,"failures":[{"index":"alt-2-0-1-000001","id":"MotBLogBoO4BMZYqzt7S","cause":{"type":"version_conflict_engine_exception","reason":"[MotBLogBoO4BMZYqzt7S]: version conflict, required seqNo [11900], primary term [1]. current document has seqNo [11901] and primary term [1]","index_uuid":"qHmph0zURr2z07g2ve0_YQ","shard":"0","index":"alt-2-0-1-000001"},"status":409}]}
(node:1) UnhandledPromiseRejectionWarning: ResponseError: {"took":3,"timed_out":false,"total":1,"updated":0,"deleted":0,"batches":1,"version_conflicts":1,"noops":0,"retries":{"bulk":0,"search":0},"throttled_millis":0,"requests_per_second":-1,"throttled_until_millis":0,"failures":[{"index":"alt-2-0-1-000001","id":"MotBLogBoO4BMZYqzt7S","cause":{"type":"version_conflict_engine_exception","reason":"[MotBLogBoO4BMZYqzt7S]: version conflict, required seqNo [11900], primary term [1]. current document has seqNo [11901] and primary term [1]","index_uuid":"qHmph0zURr2z07g2ve0_YQ","shard":"0","index":"alt-2-0-1-000001"},"status":409}]}
    at onBody (/home/openbackhaul/applicationLayerTopology/node_modules/@elastic/elasticsearch/lib/Transport.js:367:23)
    at IncomingMessage.onEnd (/home/openbackhaul/applicationLayerTopology/node_modules/@elastic/elasticsearch/lib/Transport.js:291:11)
    at IncomingMessage.emit (events.js:412:35)
    at endReadableNT (internal/streams/readable.js:1333:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 181)

Priority:High;

Can you please provide curl for both requests? It makes it easier to replicate otherwise I'll spend at least 2h trying to recreate the scenario. Output from EATL is not helping in this case.

/v1/register-application in RegistryOffice

curl -X POST "http://x.x.x.x:3000/v1/register-application" -H "accept: application/json" -H "user: User Name" -H "originator: RecordSequenceRepresentation" -H "x-correlator: 550e8400-e29b-11d4-a716-446655440567" -H "trace-indicator: 1" -H "customer-journey: Unknown value" -H "Content-Type: application/json" -d "{\"application-name\":\"RecordSequenceRepresentation\",\"release-number\":\"2.0.1\",\"preceding-application-name\":\"RecordSequenceRepresentation\",\"preceding-release-number\":\"1.0.0\",\"embedding-operation\":\"/v1/embed-yourself\",\"client-update-operation\":\"/v1/update-client\",\"operation-client-update-operation\":\"/v1/update-operation-client\",\"tcp-server-list\":[{\"protocol\":\"HTTP\",\"address\":{\"ip-address\":{\"ipv-4-address\":\"<IP_ADDRESS>\"}},\"port\":3009},{\"protocol\":\"HTTPS\",\"address\":{\"ip-address\":{\"ipv-4-address\":\"<IP_ADDRESS>\"}},\"port\":3209}]}"

/v1/list-records-of-flow with "x-correlator: 550e8400-e29b-11d4-a716-446655440567" (used for registration)
update-ltp and update-fc to ApplicationLayerTopology is 204 for the registered applcation.

  {
    "x-correlator": "550e8400-e29b-11d4-a716-446655440567",
    "trace-indicator": "1.8",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "ApplicationLayerTopology",
    "release-number": "2.0.1",
    "operation-name": "/v1/update-fc",
    "response-code": 204
  },
  {
    "x-correlator": "550e8400-e29b-11d4-a716-446655440567",
    "trace-indicator": "1.3",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "ApplicationLayerTopology",
    "release-number": "2.0.1",
    "operation-name": "/v1/update-ltp",
    "response-code": 204
  },
  {
    "x-correlator": "550e8400-e29b-11d4-a716-446655440567",
    "trace-indicator": "1.5",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "ApplicationLayerTopology",
    "release-number": "2.0.1",
    "operation-name": "/v1/update-ltp",
    "response-code": 204
  },
  {
    "x-correlator": "550e8400-e29b-11d4-a716-446655440567",
    "trace-indicator": "1.2",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "ApplicationLayerTopology",
    "release-number": "2.0.1",
    "operation-name": "/v1/update-ltp",
    "response-code": 204
  },
  {
    "x-correlator": "550e8400-e29b-11d4-a716-446655440567",
    "trace-indicator": "1.4",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "ApplicationLayerTopology",
    "release-number": "2.0.1",
    "operation-name": "/v1/update-ltp",
    "response-code": 204
  },
  {
    "x-correlator": "550e8400-e29b-11d4-a716-446655440567",
    "trace-indicator": "1.6",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "ApplicationLayerTopology",
    "release-number": "2.0.1",
    "operation-name": "/v1/update-ltp",
    "response-code": 204
  },
  {
    "x-correlator": "550e8400-e29b-11d4-a716-446655440567",
    "trace-indicator": "1.7",
    "user": "User Name",
    "originator": "RegistryOffice",
    "application-name": "ApplicationLayerTopology",
    "release-number": "2.0.1",
    "operation-name": "/v1/update-ltp",
    "response-code": 204
  }

In ALT , check the /v1/list-operation-clients-at-application

curl -X POST "http://x.x.x.x:3005/v1/list-operation-clients-at-application" -H "accept: application/json" -H "user: User Name" -H "originator: Resolver" -H "x-correlator: 410e8400-e29b-11d4-a716-446655440000" -H "trace-indicator: 1" -H "customer-journey: Unknown value" -H "operation-key: Operation key not yet provided." -H "Content-Type: application/json" -d "{\"application-name\":\"RegistryOffice\",\"release-number\":\"2.0.1\"}"

Please find the sample output  [response_1689236702130.txt]https://github.com/openBackhaul/ApplicationLayerTopology/files/12037760/response_1689236702130.txt), where the registered application's /v1/embed-yourself is missing
Also , in the /app/dev_tools# of Elastic search , could not able to see entries created for the Registered application either in the LTP/FC

Assertion failure details

SERVICELAYER / INDIVIDUALPART / /V1/REGARD-APPLICATION / ACCEPTANCE / UPDATE FC NOTIFIED? / CLIENT CREATE
Expected ExecutionAndTraceLog/v1/list-records-of-flow
SERVICELAYER / INDIVIDUALPART / /V1/DISREGARD-APPLICATION / ACCEPTANCE / DELETE LTP AND DEPENDENTS NOTIFIED? / CLIENT DELETE
Expected ExecutionAndTraceLog/v1/list-records-of-flow

I think we have two separate issues here. In your steps to reproduce you don't mention the error 'version mismatch' and also delete-ltp-and-dependants is not called in this scenario.

I have created an issue in RO for the use case you described in the comment last week. openBackhaul/RegistryOffice#492
I tested the version mismatch issue and found out, that RO does not send all the LTPs to ALT. Hence ALT does not create data in ES.
The problem with version mismatch should be solved by implementing Async Lock on ES transactions. I will create a pull request today.


New desktop ->New instance of an app - this feature of the Win11 got deleted- please help!

Namaskar,
I used BloatyNosy for deleting bloatware and annoying widgets. Now its a breeze of cool air.  Joy of having a lot simpler UI.
 But I am missing one feature of Win 11. That is, when we have multiple desktops open, when you click on the app icon on taskbar it will start new instance of that app in the same desktop. But now after running BloatyNosy, whenever I click on an app icon on the taskbar it switches to the desktop it's currently running in. Can this be reversed to the original setting, I need it a lot.

Thanks in advance for your attention.

Give the successor to Bloatynosy, Winpilot, a shot.


storage/remote: fix concurrent access bug for pool.

There is a bug about concurrent access.
Bug detail
The race path of TestIntern_MultiRef_Concurrent
	go interner.release(testString)

	interner.intern(testString)

Steps to reappear:
// step 1
func (p *pool) intern(s string) string {
	if s == "" {
		return ""
	}

	p.mtx.RLock()
	interned, ok := p.pool[s]
	p.mtx.RUnlock()

// step 2
func (p *pool) release(s string) {
	p.mtx.RLock()
	interned, ok := p.pool[s]
	p.mtx.RUnlock()

	if !ok {
		noReferenceReleases.Inc()
		return
	}

// step3 in `intern`
	if ok {
                 // step 5: not running  until `release` finished.  <-- step 5 is here.
		interned.refs.Inc()
		return interned.s
	}

// step 4 in `release`
if !ok {
		noReferenceReleases.Inc()
		return
	}

	refs := interned.refs.Dec()
	if refs > 0 {
		return
	}

	p.mtx.Lock()
	defer p.mtx.Unlock()
	if interned.refs.Load() != 0 {
		return
	}
	delete(p.pool, s)

Then TestIntern_MultiRef_Concurrent failed at
https://github.com/prometheus/prometheus/blob/b58a61344334651f0000f9d467e76066a9ea998f/storage/remote/intern_test.go#L85
Tests
It's hard to reproduce this.  When I look at the ci result of pr #7745, I find the error https://app.circleci.com/pipelines/github/prometheus/prometheus/8443/workflows/7cf94e94-4776-4762-aabf-4e4c3d2712f3/jobs/36890.
It's not easy to write a test case if not modify pool implementation. So I send this pr without updating the  test case.
Some tool may be useful like
https://github.com/etcd-io/gofail
https://github.com/pingcap/failpoint
Inject a fail point to trigger a delay operation.

@johncming can you please address the comments? Thanks!

@johncming :wave: are you interested in updating this PR with the above comments to get it merged?

@johncming :wave: are you interested in updating this PR with the above comments to get it merged?

cc @csmarchbanks is this pull request valid? should I rebase it and fix it ?

@roidelapluie it looks like a relevant fix can still be made even on the same line #'s reported here, the code in this file hasn't been changed since 2019/2020

:wave: from the bug scrub. With no update by the original contributor, we would like to ask @cstyan to do the fix in a separate PR (or by updating this one). @cstyan could you do this?

@beorn7 I will confirm this week via a test whether we still need a change here

Hello from the bug-scrub!
Since this PR was created, a few things have changed.
In regular Prometheus, this code is no longer called, since Labels use different storage methods.
It will be called from projects vendoring the Prometheus code and using different build tags, but in at least one place this is found to be too expensive; @cstyan has a PR to disable interning: #14750.
Lastly, although it is unintended, the extent of the bug is that a string may get copied one extra time, which does not seem a huge problem.
Closing due to lack of movement over years.


Allow typing text on the lines of a line block

I wanted to make a template which represent a form. It has fields along with label of each field. I though line block would be a good fit. I wanted to type the label in the beginning of each line and use the rest of the line for handwriting. Unfortunately I couldn't figure out how to enter the text on the lines.

Hi @iilyak, currently, the line block doesn't support entering text in the lines, but I see two workarounds for your use-case of building a form:

Use the line-block only as kind of background, and for the labels add text-blocks with an empty "title" and "border width" of 0 above it.
Use text-blocks with empty "title" and "horizontal align" set to left (and maybe top?). By playing around with size, "border margin", "border width" and "to front"/"to back" you can achieve quite nice grids.

Here's a quick and dirty example.

To see how it is construct, extract the zip file and use the "Load from json" in NoTeTo to import the example:
example-form-template.zip
Does this help you?

As of now, typing longer texts in a template seems a bit out of scope for this PoC project. Might be reconsidered at a later point in time.


Enforce ASI

Update tslint to 3.5.0 too

Unfortunately Typings doesn't actually run tslint because of the lack of excludes. I have a PR, but haven't been able to update it as requested (and probably won't for another few weeks). Might be able to enable it if I'm super explicit in the glob though, could use another PR :smile:

Which reminds me, I still haven't had a play with TSLint. Time to change that :smile:

At least I get some hints on the IDE right now. :smirk: