added sort option on 'get'

There might be a cleaner way of doing this, but modifying the library for my local usage with this code works fine.

It's a pity this PR hasn't been reviewed, I also need this feature.  Would any of the contributors have a moment to check this out?

Please commit bruh

I'll take a look at the requested changes you proposed in a little while. I'll also take on the maintenance of the repo. I still actively use it and they've made some changes lately that will also need to be updated.

For your changes, do I need to somehow merge those into my PR code? Never seen this review/proposed changes workflow before.

For your changes, do I need to somehow merge those into my PR code? Never seen this review/proposed changes workflow before.

I'm a bit confused by GitHub UX here. I cannot find my comment anymore about enumerate. I'll send an extra commit.
As for the workflow, I prefer when we finish by a "Squash and merge" so that the PR becomes one commit in the history.


Bombayn1

https://github.com/coinbase/wrapped-tokens-os

Looks like this was created by accident, closing. If needed, feel free to reopen with more details, thank you!


freme ner hyphen problems

Sending this text to FREME NER with this URL
“Super performance, most enjoyable” James Joyce Tower, Sandycove.

“Simply Brilliant” Charlie Byrne’s Bookshop, Galway.

“Ulysses brought to life. I felt I was strolling alongside Bloom” Stone House Bookshop, Kilkenny.

“Loved to see the characters come to life” Bookworm Bookshop, Thurles.

“I’m now looking forward to re-opening the book after many, many years” Valley House, Achill.

“Very entertaining, especially for a Joyce novice” Bridge Street Books, Wicklow.

“Splendid way of telling the story of Ulysses” Rathgar Bookshop.

“Wonderful evening and vivid portrayal of so many characters” Barker & Jones, Naas.

produces these annotations (among others):
<http://freme-project.eu/#char=287,318>
        a                     nif:Phrase , nif:String , nif:Word , nif:RFC5147String ;
        nif:anchorOf          "Simply Brilliant '' Charlie Byrne"^^xsd:string ;
        nif:beginIndex        "287"^^xsd:int ;
        nif:endIndex          "318"^^xsd:int ;
        nif:referenceContext  <http://freme-project.eu/#char=0,863> ;
        itsrdf:taClassRef     <http://nerd.eurecom.fr/ontology#Person> ;
        itsrdf:taConfidence   "0.7876513888020594"^^xsd:double .

<http://freme-project.eu/#char=651,672>
        a                     nif:RFC5147String , nif:String , nif:Phrase , nif:Word ;
        nif:anchorOf          "'' Bridge Street Books"^^xsd:string ;
        nif:beginIndex        "651"^^xsd:int ;
        nif:endIndex          "672"^^xsd:int ;
        nif:referenceContext  <http://freme-project.eu/#char=0,863> ;
        itsrdf:taClassRef     <http://nerd.eurecom.fr/ontology#Location> ;
        itsrdf:taConfidence   "0.7021040116094527"^^xsd:double .

<http://freme-project.eu/#char=398,425>
        a                     nif:RFC5147String , nif:String , nif:Word , nif:Phrase ;
        nif:anchorOf          "Bloom '' Stone House Bookshop"^^xsd:string ;
        nif:beginIndex        "398"^^xsd:int ;
        nif:endIndex          "425"^^xsd:int ;
        nif:referenceContext  <http://freme-project.eu/#char=0,863> ;
        itsrdf:taClassRef     <http://www.w3.org/2002/07/owl#Thing> ;
        itsrdf:taConfidence   "0.7807868972156667"^^xsd:double .

The problem is that the double quote character is converted to two single quotes. It should stay double quote.

In last developers call we agreed that @m1ci or @sandroacoelho will take a look at this.

Hi all,
We are leverage in Solr results (for mentions) instead of use the original text. It can "create" new
characters like here and here, or sometimes put new spaces, single quotes etc.
I am changing this approach to use the original. Please give me one more business day to change and test it.

Thanks @sandroacoelho . The code you mention says that this is a "temporary fix for ttps://github.com/freme-project/e-Entity/issues/57". So when you finished coding we should test that ttps://github.com/freme-project/e-Entity/issues/57 is not back

any news here, @sandroacoelho  ?

Hi @jnehring: I am doing my final tests. I intend to commit tomorrow

Hi @jnehring, @m1ci . Sorry for the big delay.
Fixed. When are you testing  #95 and #95,  could you please include #57 too?   Thanks.

Problem fixed. Thanks


Granular caching of functions based on their arguments - cache-manager-function

Hi, just sharing this library I created: https://github.com/tomerh2001/cache-manager-function
It allows for granular caching of functions based on their arguments and supports decorators.
If you have a list of community-made libraries, you can feel free to include it

@tomerh2001 - thanks for posting this. I am including this now in the readme!

Will be pushed live on the next release. You can see it here: https://github.com/jaredwray/cacheable/blob/main/packages/cache-manager/README.md#community-additions


OCPBUGS-41554: remove cluster-ca.crt and kube-root-ca.crt from operator

Continuing off of https://github.com/openshift/multiarch-tuning-operator/pull/334
The pod placement controller does not need the cluster service-ca.crt to function. In fact, it should not use cluster service-ca.crt CA to inspect image arch if the user did not add it to trusted anchors explicitly.

/test lint

/jira refresh

/lgtm
/approve

/cherrypick v1.0

/lgtm


Comparation to Google Trends

Google Trends rates java as a descendant
https://www.google.de/trends/explore?cat=31&q=%2Fm%2F0jgqg,%2Fm%2F07sbkfb,%2Fm%2F02p97
Strange that github has a different picture.

This project shows trends in Github, not the world or trends in google searches. So it wouldn't make sense to compare two.

Generally I agree, but I think, github is big enough to compare with the world.
I think  in the calculation should be counted not the number of repositories per language,
but how much the code lines of language. A repository may contain many languages.
This calculation could be somewhat more complex ...

This is only statistics. And it should just be understood for what it is. I think It is not reliable to know if a language is trendy or not. However, it is useful to see how the usage of a language evolves. I made that because I wanted to see how the emerging languages (Swift, Rust, Go) are growing.


Unable to create new instances

I was trying to create a new instance of Guttenberg, but when I click on "Save" after filling in the instance name, I get a

You are already signed in.

error and the new instance is not created.

[status-norepro] - I just managed to create an instance called test. Got extensions/userscripts that might be interfering?

None that I am aware of. Tried without extensions and still the same error. (Chrome on Mac)

Any stacktraces or anything else interesting?

Nope, checked the console again. There's no errors.

Weird. Can you get a screen capture of what happens?

This is happening again now on the new Server. Same repro steps as Bhargav described initially.

Repro, looking.

Nginx SSL-forwarding config issue. Should be fixed now.


Landing page

Made changes for landing page..
My first task on styling.. I am happy to correct and work on the feed back..
New repo - app-landing inside packages
Navigate file is for the grid layout and routing to different location.
Landing.ts is to show the component on side bar..
Have added changes suggested by Lillian which says when I resize the window and make it small, the component should appear one below the other.. Resize window should adjust the number of component displayed on the UI..

Nice job on the styles as your first styling art-craft~
Some suggestions on styling practices which could always be discussed, and no changes need to be refactored associated with the suggestions in this PR.
Except color definition refactoring, LGTM.

Nice job on the styles as your first styling art-craft~
Some suggestions on styling practices which could always be discussed, and no refactoring is needed associated with the suggestions in this PR. We can refactor it in the future.
Except color definition refactoring, LGTM.

As discussed I haven't made changes to the colouring part.. Reviewed it with Lillian.


Add asteroid filter to open orders page and adjust floor price display

Add asteroid filter to open orders page that applies server side
Make asteroid filter on inventory page apply server side
On open orders, determine floor price for each order individually scoped to asteroid
On inventory, use scoped floor prices if all returned warehouses are on the same asteroid, otherwise use global floor prices

#98


feat: Make generic impls callable

Description
Problem*
Resolves
Summary*
This PR makes generic trait impls like impl<T> Foo for Bar<T> callable. Note that this PR does the bare minimum - there is no overlap checking for these impls currently so you can define two identical generic impls without error. The error will come in a later PR.
Additional Context
Documentation*
Check one:

[ ] No documentation needed.
[ ] Documentation included in this PR.
[ ] [Exceptional Case] Documentation to be submitted in a separate PR.

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Assume this does not require docs. Please comment if that's inaccurate, thanks.

I think we should add proper docs and advertise this once we've dogfooded this to our protocol circuits and aztec-nr

Thanks, in that case @jfecher could you open an Issue / draft PR for keeping track of doc'ing the work here?

@kevaundray, @Savio-Sou, I'm waiting on adding docs until traits are stabilized. At the moment I think they're too buggy to start advertising them. See e.g. https://github.com/noir-lang/noir/issues/3409 for a compiler panic when using generic traits like the above in certain cases.


Add prequalify with ops integration

Changes Unknown when pulling 3a624256e51b0864fa2efdb577be65d7dbde6dfd on prequalify-with-ops into ** on master**.


Use pixel values for global header overrides

This fixes a sizing issue with the new Rizzo Next global header in the shop. The issue is that the sizing is too big due to the use of rem values in Rizzo Next.
Rizzo Next uses a base font size of 10px for rems, Rizzo uses .875em and the shop uses 100%. Removing the scaling factor ratio and using px for values fixes the sizing problem on the shop. We don't want to alter the base font size of the shop because that could have unintended side effects.
In case this issue were to happen somewhere else, using px provides consistent rendering across all apps.

Another (related) issue is that the icon fonts from Rizzo Next aren't loading in the shop. See 47f550f above for more details.

Rizzo Next JavaScript isn't loading in the shop. See a674a1c above for details.

Looks legit :+1:


import jest functions instead of having globals

Feature request or documentation missing?
I'd like to do
import {test, expect} from 'jest'

The current behaviour with globals works but it's just not convenient because IDEs don't recognize the functions.
Here are some stackoverflow related to this:
https://stackoverflow.com/questions/41324636/how-to-import-jest/43964557#43964557
https://stackoverflow.com/questions/41143700/how-to-import-describe-expect-and-it-into-a-typescript-tests-for-ide-to-n

@apflieger, I find that VSCode works fine if you install the Jest typings.

I couldn't find a way to make it work in IntelliJ

Duplicate of #4473

IDE compatibility is pretty good if you use typings from either flow or typescript

It's also not convenient because it breaks standardjs.
Of course, we can

Add global ignore of jest it and other functions in standard config
just go for import { it } from global

But I like to think that, if a linter complies, it's because it's a bad practise. And indeed everything in global is a bad practise, at the root of some evils.
Mocha supports it. Any plan to add it ?

We have some vague plans to support it, but nothing concrete at this point. It is a feature we want, though 🙂

This will be available in the next version of Jest via #9801.


[added] new search plugin for private tracker torrentday

i used torrentleech as a starting point. The main difference being that TL uses uname/pass to login, generate the cookies & access the search pages. TD's login page has captcha, so instead i put the 3 cookies it needs as required keys. this should be fine, because in my browser they all have expiry date of 2038. Beyond that, the 2 sites have a slightly different CSS so i'm look for some different classes and divs (this is my first PR ever, so plz be gentle)
Motivation for changes:
TD is my primary private tracker and TL secondary
i'd like to discover stuff. maybe others will too
Detailed changes:

new private tracker search plugin

Config usage if relevant (new plugin or updated schema):
    discover:
      from:
        - torrentday:
           uid: xxxxxxxxxxxxx  (required)  NOT YOUR LOGIN. find this in your browser's cookies
           passkey: xxxxxxxxx  (required)  NOT YOUR PASSWORD. see previous
           cfduid: xxxxxxxxxx  (required)  AGAIN IN THE COOKIES
           rss_key: xxxxxxxxx  (required)  get this from your profile page
           category: xxxxxxxx

Log and/or tests output (preferably both):
https://dl.dropboxusercontent.com/u/28529352/flexget-torrentday-test.log

Is it possible to get cookie data by logging into the site, grabbing them from cookies manually sucks ..

Looks fine to me besides cumbersome cookie usage.

i dont like it either, but it works. Their login page has reCaptha so i cant go through the front door & catch their cookies. any suggestions ?

One final change I'd like to see is cleaning up your inconsistent use of quotes regarding strings. Sometimes you use double quotes, other times you use single quotes. It has to be one or the other. Single quotes would probably be more in line with the rest of the code.


Question: How to change the caption button foreground based on themes(light/dark) [WinUI 3 WinAppSDK 1.1p2]

The documentation mentioned that we can customise the foreground of the caption buttons by defining resources in app.xaml.
This neatly sets the colors but these colors are not responsive to the change in the theme.
<Application.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
            <!-- Other merged dictionaries here -->
        </ResourceDictionary.MergedDictionaries>
        <!-- Other app resources here -->
        <SolidColorBrush x:Key="WindowCaptionBackground">Green</SolidColorBrush>
        <SolidColorBrush x:Key="WindowCaptionBackgroundDisabled">LightGreen</SolidColorBrush>
        <SolidColorBrush x:Key="WindowCaptionForeground">Red</SolidColorBrush>
        <SolidColorBrush x:Key="WindowCaptionForegroundDisabled">Pink</SolidColorBrush>
    </ResourceDictionary>
</Application.Resources>

I have tried defining these resources in the Dark and Light section of the dictionary, however I could not make it work. Is it that the caption buttons are ignoring these changes? or I am doing something incorrect. My App is based on WinAppSDK 1.1 preview 2.
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" /><ResourceDictionary>
                    <ResourceDictionary.ThemeDictionaries>
                        <ResourceDictionary x:Key="Default">
                            <Color x:Key="CaptionColor">#FFFFFF</Color>
                            <Color x:Key="CaptionColorDisabled" >#5DFFFFFF</Color>
                        </ResourceDictionary>
                        <ResourceDictionary x:Key="Light">
                            <Color x:Key="CaptionColor">#E4000000</Color>
                            <Color x:Key="CaptionColorDisabled" >#5C000000</Color>
                        </ResourceDictionary>
                        <ResourceDictionary x:Key="Dark">
                            <Color x:Key="CaptionColor">#FFFFFF</Color>
                            <Color x:Key="CaptionColorDisabled" >#5DFFFFFF</Color>
                        </ResourceDictionary>
                        <ResourceDictionary x:Key="HighContrast">
                            <Color x:Key="CaptionColor">#E4000000</Color>
                            <Color x:Key="CaptionColorDisabled" >#5C000000</Color>
                        </ResourceDictionary>
                    </ResourceDictionary.ThemeDictionaries>
                    <SolidColorBrush x:Key="WindowCaptionForeground" Color="{ThemeResource CaptionColor}"/>
                    <SolidColorBrush x:Key="WindowCaptionForegroundDisabled" Color="{ThemeResource CaptionColorDisabled}" />
                    <SolidColorBrush x:Key="WindowCaptionBackground" Color="Transparent"/>
                    <SolidColorBrush x:Key="WindowCaptionBackgroundDisabled" Color="Transparent" />
                </ResourceDictionary>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>

@harvinders i have this issue too, i used c# code for doing this. you can find my codes in ThemeHelper class
https://github.com/ghost1372/SettingsUI/blob/57b2b8e147407974646cfa6294754877bfcc2398/src/SettingsUI/Tools/Helpers/ThemeHelper.cs#L83-L99

@ghost1372 , Is this Win 11 specific? I am on Windows 10 and get TitleBar as null.

@ghost1372 , Is this Win 11 specific? I am on Windows 10 and get TitleBar as null.

Titlebar customization is not available in win10 currently only available in win11

Sorry @ghost1372, I did not get you, I can't follow how calling Initialise is going to ensure that Titlebar is not null.
I am talking about this line   https://github.com/ghost1372/SettingsUI/blob/57b2b8e147407974646cfa6294754877bfcc2398/src/SettingsUI/Tools/Helpers/ThemeHelper.cs#L86
I also noticed that on Windows 10, TitleBar property is not supported.

We get titlebar from appWindow and we get appwindow from window, so we need to call initialize method.
I didnt test it in win10 but it should work, also according to the wasdk release notes Titlebar customization is not supported in win10. but I think the color change should work

Sorry @ghost1372, I did not get you, I can't follow how calling Initialise is going to ensure that Titlebar is not null.
I am talking about this line   https://github.com/ghost1372/SettingsUI/blob/57b2b8e147407974646cfa6294754877bfcc2398/src/SettingsUI/Tools/Helpers/ThemeHelper.cs#L86
I also noticed that on Windows 10, TitleBar property is not supported.

Clone settingsUI and run demo with vs2022 and  see if theme changing is working or not

@ghost1372 , Is this Win 11 specific? I am on Windows 10 and get TitleBar as null.

On Windows 10, you use ExtendsContentIntoTitleBar + SetTitleBar (with a Manifest for >=Windows 8 compatibility) and you can customize about everything from WindowChromeStyle in XAML
Simple test  (Windows 10 21H1) :

if set
appWindow.TitleBar.ExtendsContentIntoTitleBar = true;

    private void SetCapitionButtonColorForWin11()
    {
        var currentTheme = ((FrameworkElement)Content).ActualTheme;
        if (currentTheme == ElementTheme.Dark)
        {
            appWindow.TitleBar.ButtonForegroundColor = Colors.White;
            appWindow.TitleBar.ButtonInactiveForegroundColor = Colors.White;
        }
        else if (currentTheme == ElementTheme.Light)
        {
            appWindow.TitleBar.ButtonForegroundColor = Colors.Black;
            appWindow.TitleBar.ButtonInactiveForegroundColor = Colors.Black;
        } else
        {
            if (App.Current.RequestedTheme == ApplicationTheme.Dark)
            {
                appWindow.TitleBar.ButtonForegroundColor = Colors.White;
                appWindow.TitleBar.ButtonInactiveForegroundColor = Colors.White;
            } else
            {
                appWindow.TitleBar.ButtonForegroundColor = Colors.Black;
                appWindow.TitleBar.ButtonInactiveForegroundColor = Colors.Black;
            }
        }
    }

if set
ExtendsContentIntoTitleBar = true;
SetTitleBar(AppTitleBar);

this code is from winui3-gallery source code

    private void SetCapitionButtonColorForWin10()
    {
        var res = Microsoft.UI.Xaml.Application.Current.Resources;
        Action<Windows.UI.Color> SetTitleBarButtonForegroundColor = (Windows.UI.Color color) => { res["WindowCaptionForeground"] = color; };
        var currentTheme = ((FrameworkElement)Content).ActualTheme;
        if (currentTheme == ElementTheme.Dark)
        {
            SetTitleBarButtonForegroundColor(Colors.White);
        }
        else if (currentTheme == ElementTheme.Light)
        {
            SetTitleBarButtonForegroundColor(Colors.Black);
        }
        else
        {
            if (App.Current.RequestedTheme == ApplicationTheme.Dark)
            {
                SetTitleBarButtonForegroundColor(Colors.White);
            }
            else
            {
                SetTitleBarButtonForegroundColor(Colors.Black);
            }
        }
        TriggerTitleBarRepaint();
    }

    private void TriggerTitleBarRepaint()
    {
        if (PInvoke.GetActiveWindow() == App.Hwnd)
        {
            PInvoke.SendMessage((HWND)App.Hwnd,PInvoke.WM_ACTIVATE, PInvoke.WA_INACTIVE, IntPtr.Zero);
            PInvoke.SendMessage((HWND)App.Hwnd,PInvoke.WM_ACTIVATE, PInvoke.WA_ACTIVE, IntPtr.Zero);
        } else
        {
            PInvoke.SendMessage((HWND)App.Hwnd, PInvoke.WM_ACTIVATE, PInvoke.WA_ACTIVE, IntPtr.Zero);
            PInvoke.SendMessage((HWND)App.Hwnd, PInvoke.WM_ACTIVATE, PInvoke.WA_INACTIVE, IntPtr.Zero);
        }
    }


Why set the poundage to zero?

I notice that in your DQN and ROAlpha:
class Account(object):

    def __init__(self, data_quotes, data_fac):
        self.data_close = data_quotes['close']
        self.data_open = data_quotes['close']
        self.data_index = data_quotes.check_date.astype('str').tolist()
        self.data_observation = data_fac
        self.action_space = ['long', 'short', 'close']
        self.free = 0
        self.reset()

You have set the poundage to zero. It may cause the reduction of holding action. Is that a bug?

This is just a demo. Ask your broker


App crashes while trying to share url with image as base64 [iOS only]

Issue spotted on application that has 14k+ lines of source code and many dependencies, but check that clean project generated from react-native cli also has same issue.
Issue found in Share.share() function. When it contains image as base64. app crashes, when function is invoked.
Problem exists on iOS only
Description
I made clean new projected using latest react-native-cli (https://reactnative.dev/docs/environment-setup)
As app body put example of sharing from (https://reactnative.dev/docs/share#share)
Changed the shared content. Something as simple as empty white box, provided as base64.
React Native version:
System:
OS: macOS 10.15.5
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 401.15 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.16.3 - ~/.nvm/versions/node/v12.16.3/bin/node
Yarn: Not Found
npm: 6.14.4 - ~/.nvm/versions/node/v12.16.3/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.6, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK: Not Found
IDEs:
Android Studio: 3.6 AI-192.7<IP_ADDRESS>41897
Xcode: 11.6/11E708 - /usr/bin/xcodebuild
Languages:
Java: 11.0.2 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.2 => 0.63.2
npmGlobalPackages:
react-native: Not Found
Steps To Reproduce

Run app.
Click on 'Share' CTA
Choose 'Save Image' option from select

Expected Results
Screen with 'File manager' should be presented allowing to save image.
Snack, code example, screenshot, or link to a repository:
import React from 'react';
import { Share, View, Button } from 'react-native';

const ShareExample = () => {
  const onShare = async () => {
    try {
      const result = await Share.share({
        url: `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAAAAAA6fptVAAAACklEQVR4nGP6DwABBQECz6AuzQAAAABJRU5ErkJggg==`,
      });
      if (result.action === Share.sharedAction) {
        if (result.activityType) {
          // shared with activity type of result.activityType
        } else {
          // shared
        }
      } else if (result.action === Share.dismissedAction) {
        // dismissed
      }
    } catch (error) {
      alert(error.message);
    }
  };
  return (
      <View style={{ marginTop: 50 }}>
<Button onPress={onShare} title="Share" />
      </View>
);
};

export default ShareExample;

@react-native-bot it is not Image component issue. Image renders base64 properly. It is Share component

Hi @krzysztofnowak, I can't seem to replicate the issue on my end. Did you enable the permission of your app to save images?. A snack or repo example would be very helpful
https://snack.expo.io/CVcVKraWV

@gedeagas full example here: https://github.com/krzysztofnowak/rn-sandbox

Thank you for the issue @krzysztofciombor.
Thanks for checking it out @gedeagas .
I ran your example locally and it is crashing. Might have been introduced in 0.63, Snack's are currently at 0.62.

interesting, I haven't tested it on react-native 63. will try to check again today.

@safaiyeh @gedeagas I'll add that my main project is using<EMAIL_ADDRESS>and I'm having same issue so it is not something new introduced in latest version

Do you have the crash stack trace?
Also what is the ObjC file backing the share native module? From a quick search I couldn't find it 😕  Android is https://github.com/facebook/react-native/blob/96a6ffb3e8070dfc45c5cfb78963afe3422def37/ReactAndroid/src/main/java/com/facebook/react/modules/share/ShareModule.java

@PeteTheHeat iOS uses RCTActionSheetManager https://github.com/facebook/react-native/blob/c8d678abcf93fd3f6daf4bebfdf25937995c1fdf/React/CoreModules/RCTActionSheetManager.mm for the share native module.
@krzysztofnowak interesting. can't seem to replicate it on my new project, will try to replicate this strange behaviour on RNTester.

@gedeagas any chance you had time to replicate issue?


Change url to open local discord client instead

This PR allows the website to instead open the user's locally installed client upon clicking the button.
I think users are much more likely to use discord on their systems vs in the browser (where they usually have to login first before adding the user).

I like it! However, few things to point out.
1- Even if it currently works on my device, I don't like the timeout you added to fallback onto the url if it fails. Can you figure out a way to reliably do this?
2- I would appreciate this being as straight forward as possible. If a check has to be added, so be it, but if it can be evaded, I'd prefer it being not added in.
3- I'm not sure, since I didn't do my research yet, and will notify later, but maybe there's a way to trigger the discord:// protocol on android the same way it behaves on desktop. Can you try to research this as well?
Once again, thank you very much for the PR! Let's try to get this onto the project, I think it's going to be a great addition once we get these things ironed out!

I've now added a dedicated mobile device check that makes use of the new browser client hints feature (https://medium.com/fiverr-engineering/detect-mobile-browsers-without-user-agent-string-parsing-66e3694ce8cd)
on every supported device (https://caniuse.com/mdn-api_navigator_useragentdata) and only falls back to a catch-all user agent check on browsers that don't support it (basically only Firefox).
Once Firefox supports this, you can even remove the user agent check completely.
Let us test this and see 👍

I tested the changes on the netlify deploy preview.
On desktop, as well as on Firefox Mobile, Brave Mobile and Opera Mobile, the behavior is as expected and the same as on the currently deployed version 👍

Will commit changes to the dev branch, then make necessary changes and then push to master. Once again, thank you very much for your PR! Will close it now.


4.0

The next major release of minus.
See #46 for changes in the release.
Do note this is still an incomplete PR, more changes are expected to come

I think we are ready for a alpha release. This will allow other people to test it and give feedback. We can add further tests or refactor more as we roll along with the alphas.


Unable to Load Model to Rasa HTTP Server

Rasa Open Source version
3.0.8
Rasa SDK version
3.0.4
Rasa X version
No response
Python version
3.7
What operating system are you using?
Windows
What happened?
Hi All,
I am trying to load a trained Rasa Model and to launch it as an HTTP server, but for some weird reason it fails and give me the error as mentioned below:

Config:
language: en
recipe: default.v1
version: '3.0'
pipeline:

name: WhitespaceTokenizer
name: RegexFeaturizer
case_sensitive: false
name: RegexEntityExtractor
case_sensitive: false
use_regexes: true
name: DIETClassifier
constrain_similarities: true
epochs: 100
name: FallbackClassifier
threshold: 0.1
name: EntitySynonymMapper
policies:
max_history: 5
name: MemoizationPolicy
epochs: 100
max_history: 5
name: TEDPolicy
core_fallback_action_name: action_default_fallback
core_fallback_threshold: 0.8
enable_fallback_prediction: true
name: RulePolicy

Any help is appreciated, please note that I had to reset my laptop and in turn reinstall python post which the issue started. Any I tried Rasa version 3.0.7, 3.0.8 and 3.1.0 with same error.
Cheers,
Haro
Command / Request
rasa run --enable-api --cors "*" --debug --port 8080 --endpoints endpoints.yml --credentials credentials.yml

Relevant log output
2022-05-23 01:00:08 DEBUG    urllib3.connectionpool  - Starting new HTTPS connection (1): api.segment.io:443
2022-05-23 01:00:50 DEBUG    urllib3.connectionpool  - https://api.segment.io:443 "POST /v1/track HTTP/1.1" 200 21
2022-05-23 01:00:50 DEBUG    rasa.core.tracker_store  - Connected to InMemoryTrackerStore.
2022-05-23 01:00:50 DEBUG    rasa.core.lock_store  - Connected to lock store 'InMemoryLockStore'.
2022-05-23 01:00:50 DEBUG    rasa.core.nlg.generator  - Instantiated NLG to 'TemplatedNaturalLanguageGenerator'.
2022-05-23 01:00:50 INFO     rasa.core.processor  - Loading model models\20220521-232513-energetic-glacier.tar.gz...
2022-05-23 01:00:51 DEBUG    rasa.engine.storage.local_model_storage  - Extracted model to 'C:\Users\HARI~1.GOV\AppData\Local\Temp\tmpa1ozj6sa'.
2022-05-23 01:00:51 DEBUG    rasa.engine.graph  - Node 'nlu_message_converter' loading 'NLUMessageConverter.load' and kwargs: '{}'.
2022-05-23 01:00:51 DEBUG    rasa.engine.graph  - Node 'run_WhitespaceTokenizer0' loading 'WhitespaceTokenizer.load' and kwargs: '{}'.
2022-05-23 01:00:51 DEBUG    rasa.engine.graph  - Node 'run_RegexFeaturizer1' loading 'RegexFeaturizer.load' and kwargs: '{}'.
2022-05-23 01:00:51 DEBUG    rasa.engine.storage.local_model_storage  - Resource 'train_RegexFeaturizer1' was requested for reading.
2022-05-23 01:00:51 DEBUG    rasa.engine.graph  - Node 'run_RegexEntityExtractor2' loading 'RegexEntityExtractor.load' and kwargs: '{}'.
2022-05-23 01:00:51 DEBUG    rasa.engine.storage.local_model_storage  - Resource 'train_RegexEntityExtractor2' was requested for reading.
2022-05-23 01:00:51 DEBUG    rasa.engine.graph  - Node 'run_LanguageModelFeaturizer3' loading 'LanguageModelFeaturizer.load' and kwargs: '{}'.
2022-05-23 01:00:51 ERROR    rasa.core.agent  - Could not load model due to Error initializing graph component for node 'run_LanguageModelFeaturizer3'..
2022-05-23 01:00:51 INFO     root  - Rasa server is up and running.
2022-05-23 01:00:51 INFO     root  - Enabling coroutine debugging. Loop id<PHONE_NUMBER>024.

Hi, I am getting the same issue. Were you able to fix it?

model_file=model_file_name.tar.gz
rasa_server_url='http://localhost:5005/model'
headers = {'Content-Type': 'application/json'}
data =  {
"model_file":'{}'.format(model_file)
}
request = requests.put(rasa_server_url, headers=headers, data=json.dumps(data), verify=False)
print(request.status_code)
#Note-don't try in postman try in python

Just try to move all the models in a temp dir then train a new model and try again.


os/gcfg: Configure the caching mechanism?

What do you want to ask?
I am very strange that after modifying the configuration file, the startup program still reads the original configuration, even if the contents of the configuration file are deleted, it is still the original configuration,
config path: mainifest/config/config.yaml
Although the absolute path has been set, it is still invalid.
g.Cfg().GetAdapter().(*gcfg.AdapterFile).SetFileName("/xxx/xxx/xxx/config/config.yaml")

You might using the packed config.yaml in youre resource manager. Please use gres.Dump to check.

Surprised, it worked, thanks


feat(bundle): better minification

I've found that on iOS my bundle was about 15 MB because of all of the source-maps. With this fix, it dropped to 2.3 MB.

@zamotany Hey. Now it should be OK. The problem was, that we added a plugin for source maps twice, one was due to devtool and the other one because of implicit adding of the plugin. But still, could you please confirm that I don't introduce any malfunction? Thanks in advance!
cc @satya164


KAFKA-16226; Reduce synchronization between producer threads (#15323)

NOTE this cherry-picks fix https://github.com/apache/kafka/pull/14522 into 3.7
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@hachikuji / @ijuma would you be able to merge this?
The test failures on jenkins are flaky and unrelated.

Test failures are the same as the 3.7 branch.

@ijuma thanks!


Shared store (Redux?)

Hello,
Is there a way in the React.NET library to share some state across multiple @Html.React components?
Redux seems a good starting point to share a store so I checked https://github.com/reactjs/React.NET/issues/513 , but I fails to see how to pass my store across ReactJS.NET components, expecially when using SSR.
My goal is to use multiple small components across my page instead of one big react tree.

Don't think there's an easy way of doing this at the moment, as I think that different components could use different instances of the JS engine. @dustinsoftware  might have some ideas here.

The preferred strategy here is to use a single React component hierarchy for your Redux store, but if that's not an option..
You could extend RenderFunctionsBase to serialize the store to a string - this is sort of how StyledComponentsFunctions works, except it just grabs the result of a style render and creates an inline style tag. JS engines are returned to the pool after each call to Html.React, so if you want to set some kind of global, you'll need to turn of engine pooling.
You could also disable server rendering and leverage client-side React portals to render into different parts of your page.
I've never tried to connect a Redux store to components that live in separate UMD scripts - presumably you'd use a JS global or something like that to keep shared state...

Thank you @dustinsoftware your insights helped a lot. A single hierarchy doesn't fit my needs, mainly because we want to integrate React in an existing website where rewriting everything would be a pain.
I was able to create a RenderFunctions following your instructions:

    public class ReduxStoreFunctions : RenderFunctionsBase
    {
        public string InitialStore { get; }

        private bool JSLoaded { get; set; }

        public ReduxStoreFunctions()
        {
            InitialStore = "store = ReduxStore.createStore();";
        }

        public ReduxStoreFunctions(object storeModel)
        {
            var settings = new JsonSerializerSettings { ContractResolver = new CamelCasePropertyNamesContractResolver() };
            var serialized = JsonConvert.SerializeObject(storeModel, settings);

            InitialStore = $"store = ReduxStore.createStore({serialized});";
        }

        /// <summary>
        /// Implementation of PreRender
        /// </summary>
        /// <param name="executeJs"></param>
        public override void PreRender(Func<string, string> executeJs)
        {
            if (JSLoaded) { return; }

            executeJs(InitialStore);
            JSLoaded = true;
        }
    }

Where createStore is a JS function that init my store with its reducers, and I output InitialStore to Razor before ReactInitJavaScript() for the client-side rendering.
Since the IReactEnvironment is persistent per-request, I should be able to keep the engine pooling enabled by writing my own HtmlHelperExtensions without Environment.ReturnEngineToPool() and calling the method manually at the end of my pages, am I correct?
On a side note, the JS engines retain their state even after they are sent back to the pool, hence the ugly (but working) "store = ..." without a const/let/var .

That should work as long as you disable engine pooling, which you can
configure via ReactConfig. It comes with a little delay but should work
fine for your needs..
On Tue, Apr 16, 2019 at 03:08, thurfir<EMAIL_ADDRESS>wrote:

Thank you @dustinsoftware https://github.com/dustinsoftware your
insights helped a lot. A single hierarchy doesn't fit my needs, mainly
because we want to integrate React in an existing website where rewriting
everything would be a pain.
I was able to create a RenderFunctions following your instructions:
public class ReduxStoreFunctions : RenderFunctionsBase
{
    public string InitialStore { get; }

    private bool JSLoaded { get; set; }

    public ReduxStoreFunctions()
    {
        InitialStore = "store = ReduxStore.createStore();";
    }

    public ReduxStoreFunctions(object storeModel)
    {
        var settings = new JsonSerializerSettings { ContractResolver = new CamelCasePropertyNamesContractResolver() };
        var serialized = JsonConvert.SerializeObject(storeModel, settings);

        InitialStore = $"store = ReduxStore.createStore({serialized});";
    }

    /// <summary>
    /// Implementation of PreRender
    /// </summary>
    /// <param name="executeJs"></param>
    public override void PreRender(Func<string, string> executeJs)
    {
        if (JSLoaded) { return; }

        executeJs(InitialStore);
        JSLoaded = true;
    }
}

Where createStore is a JS function that init my store with its reducers,
and I output InitialStore to Razor before ReactInitJavaScript() for the
client-side rendering.
Since the IReactEnvironment is persistent per-request, I should be able to
keep the engine pooling enabled by writing my own HtmlHelperExtensions
without Environment.ReturnEngineToPool() and calling the method manually at
the end of my pages, am I correct?
On a side note, the JS engines retain their state even after they are sent
back to the pool, hence the ugly (but working) "store = ..." without a
const/let/var .
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/reactjs/React.NET/issues/771#issuecomment-483597162,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA5hFkAlfEijZUh95bCsNgjHytoT1pBOks5vhaEcgaJpZM4cpBT8
.

Hello @dustinsoftware I would like to keep the engine pooling enabled if possible.
From my understanding, every ReactJS.NET component acts like this:

The Razor extension get an (PerRequestSingleton) Environment and create a component.
At render, the Environment lazily grab (=lock) a JS engine from the pool and evaluate the component.
The Razor extension tells the Environment to return (=unlock) the engine to the pool.

Therefore If I'm not mistaken, if I remove the step (3), the JS engine will be persisted accross the render of my page without disabling engine pooling.
What do you think?

I don’t recommend rolling your own engine management solution, because if
an engine isn’t returned to the pool your app will eventually fail to
render due to engine exhaustion. You’re certainly welcome to try it though
and let us know how it goes!
On Wed, Apr 17, 2019 at 02:54, thurfir<EMAIL_ADDRESS>wrote:

Hello @dustinsoftware https://github.com/dustinsoftware I would like to
keep the engine pooling enabled if possible.
From my understanding, every ReactJS.NET component acts like this:

The Razor extension get an (PerRequestSingleton) Environment and
create a component.
At render, the Environment lazily grab (=lock) a JS engine from the
pool and evaluate the component.
The Razor extension tells the Environment to return (=unlock) the
engine to the pool.

Therefore If I'm not mistaken, if I remove the step (3), the JS engine
will be persisted accross the render of my page without disabling engine
pooling.
What do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/reactjs/React.NET/issues/771#issuecomment-484017818,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA5hFktzPjaw8NhYp5He2XA1rkGsQl4kks5vhu88gaJpZM4cpBT8
.

Closing as this question has been answered, please open a new issue or comment if you'd like some more help.

In case someone has the same needs this solution as been working great for us so far.
As stated by dustinsoftware you just have to be sure you return the JS engine at the end of page rendering or you might run out.
Thanks for the help and for this library!

would it be possible to create some kind of example for that?

Hi @schmitch , I wouldn't know how to write a clean, self-contained example of this.
In short:
1 - Start from HtmlHelperExtensions from the project. Write your own and remove the finally-ReturnEngineToPool calls.
2 - Serialize your JS store, run it and set a myStore variable in a


Update metadata.md

Add section references

Failing with that scikit-allel error still:
Collecting scikit-allel==1.3.5
[630](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:631)
  Downloading scikit-allel-1.3.5.tar.gz (9.7 MB)
[631](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:632)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.7/9.7 MB 15.6 MB/s eta 0:00:00
[632](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:633)
  Installing build dependencies: started
[633](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:634)
  Installing build dependencies: finished with status 'done'
[634](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:635)
  Getting requirements to build wheel: started
[635](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:636)
  Getting requirements to build wheel: finished with status 'error'
[636](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:637)
  error: subprocess-exited-with-error
[637](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:638)

[638](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:639)
  × Getting requirements to build wheel did not run successfully.
[639](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:640)
  │ exit code: 1
[640](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:641)
  ╰─> [36 lines of output]
[641](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:642)
      [scikit-allel] setup extensions with cython
[642](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:643)
      Compiling allel/opt/model.pyx because it changed.
[643](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:644)
      Compiling allel/opt/stats.pyx because it changed.
[644](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:645)
      Compiling allel/opt/io_vcf_read.pyx because it changed.
[645](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:646)
      [1/3] Cythonizing allel/opt/io_vcf_read.pyx
[646](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:647)
      [2/3] Cythonizing allel/opt/model.pyx
[647](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:648)
      [3/3] Cythonizing allel/opt/stats.pyx
[648](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:649)
      Traceback (most recent call last):
[649](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:650)
        File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
[650](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:651)
          main()
[651](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:652)
        File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
[652](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:653)
          json_out['return_val'] = hook(**hook_input['kwargs'])
[653](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:654)
        File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
[654](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:655)
          return hook(config_settings)
[655](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:656)
        File "/tmp/pip-build-env-zzcabd_u/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
[656](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:657)
          return self._get_build_requires(config_settings, requirements=['wheel'])
[657](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:658)
        File "/tmp/pip-build-env-zzcabd_u/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
[658](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:659)
          self.run_setup()
[659](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:660)
        File "/tmp/pip-build-env-zzcabd_u/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
[660](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:661)
          exec(code, locals())
[661](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:662)
        File "<string>", line 99, in <module>
[662](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:663)
        File "<string>", line 95, in setup_package
[663](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:664)
        File "/tmp/pip-build-env-zzcabd_u/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup
[664](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:665)
          return distutils.core.setup(**attrs)
[665](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:666)
        File "/tmp/pip-build-env-zzcabd_u/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 159, in setup
[666](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:667)
          dist.parse_config_files()
[667](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:668)
        File "/tmp/pip-build-env-zzcabd_u/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 898, in parse_config_files
[668](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:669)
          pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
[669](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:670)
        File "/tmp/pip-build-env-zzcabd_u/overlay/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 66, in apply_configuration
[670](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:671)
          config = read_configuration(filepath, True, ignore_option_errors, dist)
[671](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:672)
        File "/tmp/pip-build-env-zzcabd_u/overlay/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 128, in read_configuration
[672](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:673)
          validate(subset, filepath)
[673](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:674)
        File "/tmp/pip-build-env-zzcabd_u/overlay/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py", line 55, in validate
[674](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:675)
          raise ValueError(f"{error}\n{summary}") from None
[675](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:676)
      ValueError: invalid pyproject.toml config: `project`.
[676](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:677)
      configuration error: `project` must contain ['name'] properties
[677](https://github.com/tskit-dev/tutorials/actions/runs/5658896585/job/15331225352?pr=247#step:5:678)
      [end of output]


clean up and race conditions

Issue #, if available:
Description of changes:
Clean up around race conditions and exception handling.
Original PR https://github.com/opendistro-for-elasticsearch/k-NN/pull/24.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jmazanec15  Sure. Created issue https://github.com/opendistro-for-elasticsearch/k-NN/issues/26


Update elixir-mode to support new sigil font locks

Background
Adds font lock support for EEx and LiveView templates in elixir-mode

I've bumped the elixir module in 468d731. I've done it myself because bump commits need to follow a particular format (which I haven't documented anywhere yet), for the sake of future CI. In any case, thanks for bringing it to my attention!


How to read claim values + handling multiple http verbs

Hi, i'm so happy to see your fastendpoints and started to use it, and still not reach at there where i can find two things. please let me know do you have following features so i can work easily.

I mostly use User.Identity.Name to access ID of current logged in user, because this is only the shortcut variable to access userId, but i can see your fastend point support string[] array for claims, so due to continuously required userID, i must need something like User.Identity.Name to access claim userId. i don't want to access all the userId by Claim.Where(x=>x.Type=="ClaimName").FirstOrDefault().value.

So help me on this please.

I seen for single endpoint a whole class need to be create, instead of in single class where CRUD operation i can do like MVCController. so do you have any features like in singleClass of Endpoint i can add GET,POST,PUT,PATCH verbs insted of create new class for each verbs?

i think the following example will answer all of your questions. as you can see, a single endpoint can handle multiple http verbs. however the philosophy with this library is, there is always only 1 handler method per single endpoint/route/feature. here's an example of how i usually structure my projects.
public static class Claim
{
    public const string UserName = "Name";
    public const string UserID = "UserID";
    public const string UserType = "UserType";
}

public class Request
{
    [From(Claim.UserName, IsRequired = false)] //set IsRequired to true if user must posses the claim
    public string UserName { get; set; } //auto binds value from current user principal
}

public class Response
{
    public string UserID { get; set; }
    public string UserName { get; set; }
    public string UserType { get; set; }
}

public class UserEndpoint : Endpoint<Request, Response>
{
    public override void Configure()
    {
        Routes("/api/user"); //define route for this endpoint

        Verbs(
            Http.GET,
            Http.POST,
            Http.DELETE); //handle multiple http verbs for a single endpoint

        AllowAnonymous(Http.POST); //this allows unauthenticated user to send POST request
    }

    public override async Task HandleAsync(Request r, CancellationToken c)
    {
        if (User.Identity?.IsAuthenticated is false && HttpMethod == Http.POST)
        {
            //create a new user here

            Response.UserID = "001";
            Response.UserName = r.UserName;
            Response.UserType = "Member";
            await SendAsync(Response); //or you can do SendAsync(new Response {...})
            return;
        }

        var userName = User.Identity?.Name; //read from identity or...
        var userNameClaimVal = r.UserName; //read auto bound val from request dto

        if (HttpMethod == Http.GET)
        {
            //find user from db...
        }

        if (HttpMethod == Http.DELETE)
        {
            //delete user from db...
        }

        await SendAsync(Response);
    }
}

check out this article too when you have some time: https://ardalis.com/mvc-controllers-are-dinosaurs-embrace-api-endpoints/

Thanks, it works fine, but there is one another concern that we have one class called Employee now employee having AllEmployee, SingleEmplyee, SpecialEmployee API so how can i make bunch of API in single FastEndpoint class?

the design principal of REPR pattern dictates that there should only be one handler per endpoint in order to prevent endpoint bloating that typically happens with mvc controllers.
what you are asking is typically handled like the following in REPR pattern together with Vertical Slice Architecture. i.e. you should have deeply nested folder structures with 1 folder per feature slice which is a single endpoint. you need to let go of your mvc mentality to progress with this pattern. trust me it will pay off big time in the future when you need to evolve your applications.

I'm sorry to understand it, but let me know in short word. normally we are having one controller and multiple methods, so does it support in your fastendpoint library. like create one endpoint class and support multiple method like GetEmployee, GetStudents, PostResult etc..?

no you need to create a separate endpoint per request.
one request -> one handler -> one response
GetEmployeeEndpoint.cs
GetStudentsEndpoint.cs
PostResultEndpoint.cs
so you create 3 separate endpoint classes to handle 3  different requests to the system.


ISIS-1509: Allow Factory Methods to be defined

Hi Oscar,
I didn't merge this in at the time you raised it because as implemented this code allows us to annotate an action as a factory method, but the rest of the framework doesn't actually do anything with that annotation.  Maybe that's fine; in writing this comment it occurs to me that you have a custom UI; having this metadata in the metamodel might be of use for your custom UI even it it isn't initially/yet supported in the Wicket or RO viewer.
But I do have one question: is the idea that factory actions only intended for domain services?
Also... I note that this PR now has conflicts; if you would like to proceed with the PR, perhaps you could rebase it for me?
Thx
Dan

Oscar, is your proposed factory-method-marker meant to be equivalent to what CDI's @Produces annotation does?
If so, (I believe) we need to take account for that in our current domain-object/-service/-view instantiation/injection mechanism as well. But as we plan to move towards CDI anyway, factory-methods will be supported out of the box. So the question is, can you/we wait for CDI to come?

Hi Andi. Really interesting question.
An example Domain use case could be the following:
Imagine end users want 2 different ways to instantiate a Book:

The "fast" one, requiring only to enter a name and an ISBN, the only mandatory properties on that Domain.
The "complete" one, allowing in addition to the previous ones, to also enter a description, a reference to the Author and more optional data at the very moment you're instantiating the Entity.

Basically we could have something like:
public class BookRepository {
public Book createBook(final String ISBN, final String name);
public Book createBookFromAuthor(final String ISBN, final String name, final Author author);
public Book createBookForArchiving(final String ISBN, final String name, final String description, final Date edition, ...);
...
}
With different "create" methods depending on the domain use cases to implement.
Internally, they could reference the "fast" one to delegate base implementation and set additional properties for each derived use case.
From the domain perspective, as far as I would understand it, we would have different Factory Methods from the domain perspective.
AFAIK, in CDI we could use the @Describes annotation with Qualifiers, as there would be different methods that could implement objects of the same Class and we would need to disambiguate.
But on this example they're effectively creating an instance of the same Book class.
Here is the "user" that selects (for "problem solvers") on (or follows for "process followers") each use case one specific implementation.
As current UI generated by Isis is more oriented towards "problem solvers", giving users the different actions, menus, etc. available, if we annotate in some way all methods that from the Domain perspective can be used to instantiate the Book class from the user's perspective, we can, for example, show all them to the user when a reference must be entered of a given class, allowing to select a previously existing instance or a new one.
Exemplyfing it, imagine we show on the modal dialog invoking an action, for each param that can reference a Book, a drop-down menu with all the previous 3 options, giving the user the opportunity to select an existing Book or create a new one right in that very moment.
Perhaps that behaviour (showing the sub-menu with known factory methods) can be the default one for all params in action dialogs, and perhaps it needs to be avoided by something like @Param(showFactoryMethods=false) - being the default value "true" -.
In this case, would you consider these factory methods a "domain" issue rather than a "technical" one - like CDI, where the annotation would inject new instances automatically -?
Despite that, I never thought of using the @Produces annotation for this and think can be a good solution for the most common use case.
The equivalent could be then a menu for all Qualifiers for the @Produces associated with the Entity class.
Sorry for the extension ...

Hi Oscar, I think I now better understand, what you actually had in mind with these factory-method-markers. As you made the distinction between "domain" and "technical",  I would say that I meant "technical", when referring to CDI's @Produces annotation.
I got confused with the term 'factory', which in my mind is hard-linked to object creation. If I understand you correctly, you would like the UI to identify certain methods that should act as domain-object lookups or domain-object providers.
These lookups/providers would be a new kind of support methods (like 'choices', 'default', 'hide' and similar). A kind that supports not just one particular action, but instead supports all declared actions that have a corresponding parameter type and are annotated with @Param(showFactoryMethods=true).
Very interesting idea! Not so easy to implement I guess ... nested modal dialogs!
Cheers, Andi

Hi Andi,
They’re effectively factory methods, creating new instances. Never return existing ones (not lookups).
We have them currently implemented in our custom viewer and allow the user to create a new instance when asking for a reference on an action param (avoiding context switching through a modal over modal dialog) but also to show a “New” button on each entity showing the different Actions annotated with @FactoryMethod that allow to create a new instance (of the given class or any descendant).
Clearer now? I can attach a screenshot.

Hi Oscar, so these are factories you say. I was thinking of a more general solution for Isis, that could serve even more use-cases (including factories). But I guess I have no concept of how such a solution would actually look like.
Screenshots? Yes sure.
Cheers

Hi Andi.
The first image shows an action with a param where you can select an existing "Threat Source" or create one of 2 specialized ones ("Adversarial Threat Agent", "Non Adversarial Threat Agent").

When selected on of them, a  modal-over-modal dialog is showed allowing to create the new object.

If created, the viewer automatically select it as the current value for the param.
Did it help? Any doubts?
Cheers,
Oscar

Thanks Oscar, your screenshots definitely helped a lot. For me the missing hint was, that you have these nice little icons besides your parameter editors, that provide the above mentioned factory selection.
Maybe if we collaborate on this idea, we might come up with a nice generic solution for Isis. (You use factories, but one could use lookups as well.) Still I feel that the current 'action-support-method' mechanism in Isis is very powerful. Maybe that's the place we look first ...
Cheers

Sure Andi!
For me the "hard thing" is the viewer, and you're proficient on that.
What do you mean with generic lookups?
Can you explain further or give an example?
Thanks!

By generic solution I mean abstracting from factories to any supporting method that provides the parameter:
Suppose we have an action with parameters (like in your screenshot). Now for a particular parameter we have this support methods like 'defaultXXX' and 'choicesXXX', which are limited in functionality. We could extend on this by telling Isis, that for a particular parameter in our action there is a certain (or are multiple) provider-method-actions (like your factory-methods) that themselves have arguments.
Just to give an example of a lookup use-case:
Imagine you have an entity which you want to pass as an action parameter. Using the 'choices' and 'autocomplete' support methods works great, as long as you conveniently find this entity with a single argument search. But as soon as you would need more than one parameter to narrow down your search, Isis currently shows its limits. Here a new kind of support methods would come in handy.

Aha! So something like custom “domain” finders.
Interesting !!! And find it useful also ...
Should we ask for more opinions on this on the dev list?
Please, lead this if you consider

The issue we are discussing could be labeled 'New Feature: Parameter Providing Support Methods'.
Anyhow for me it's not a 'must have' at the moment. (JEE/CDI support has priority right now.) But it's definitely an extension idea to keep in mind!
Cheers

It has become unlikely, that this PR will every be merged. So I'm finally closing it.
However, we are well aware of a missing UI feature here!
Any progress regarding this topic is tracked here [1]. Dan has already worked out on 'paper' how this feature could look like, summarized here [2].
[1] https://issues.apache.org/jira/browse/ISIS-1509
[2] https://github.com/andi-huber/isis-2-demo/wiki/Delegates


[Feature Request] Lazy Repeat on lists and tables

Existing Component
No
Component Name
ElVirtualList
Description
If there are so much rows in a table or li in a list, the performance of the framework suffers a lot. This is due to VueJS DOM rendering behaviour, but some other frameworks offer solutions in different ways. This is NOT an infinite scroll component, which already exists. This component only renders a subset of elements, no matter how big is the original set. When the user scrolls down, it load and renders more items, but removes some of the previous one, the final number remainig the same. And when he scrolls ups, the other way around.
Added links for demonstration purposes:
https://onsen.io/v2/api/angular1/ons-lazy-repeat.html
https://codepen.io/onsen/pen/EaQKrK
https://framework7.io/docs/virtual-list.html
This could be very useful in large (hundreds or thousands) datasets. It would be a perfect addition to the existing ElTable.
Thank you in advance.

Duplicate of #9761


Update README.md

Hey!!
added animations hope you like it

Please share the video of the new readme you created

Please share the video of the new readme you created
https://github.com/eshalshaikh07/ChaosWeb/blob/main/README.md check this!

dropped the link please check!

Remove the red animated lines, its too distracting and doesnt looks good! Remove them and commit so I can merge

https://github.com/eshalshaikh07/ChaosWeb/blob/main/README.md removed red lines!!!

Share your issue link asap


Add type conversion when using Guid as TKey

I got an error when using Guid as TKey

An unhandled exception occurred while processing the request.
InvalidCastException: Unable to cast object of type 'System.String' to type 'System.Guid'.
DX.Data.Xpo.Identity.XPUserStore<TKey, TUser, TXPOUser, TXPORole, TXPOLogin, TXPOClaim, TXPOToken>.FindByIdAsync(object userId) in XPUserStore.cs, line 484
System.InvalidCastException: Unable to cast object of type 'System.String' to type 'System.Guid'.
at DX.Data.Xpo.Identity.XPUserStore7.FindByIdAsync(Object userId) in C:\Source\NextFunnel\DXWeb\DX.Data.Xpo.Identity\XPUserStore.cs:line 484    at DX.Data.Xpo.Identity.XPUserStore7.FindByIdAsync(String userId, CancellationToken cancellationToken) in C:\Source\NextFunnel\DXWeb\DX.Data.Xpo.Identity\XPUserStore.cs:line 323
at Microsoft.AspNetCore.Identity.SignInManager1.ValidateSecurityStampAsync(ClaimsPrincipal principal)    at Microsoft.AspNetCore.Identity.SecurityStampValidator1.ValidateAsync(CookieValidatePrincipalContext context)
at Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler.HandleAuthenticateAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.AuthenticateAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, String scheme)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

Hi,
Sorry for the late response.
I have taken a look at your PR and since I've done some other fixes as well, the PR was not in sync anymore.
I have just pushed your changes manually in the latest version.
It's also available on NuGet with latest DevExpress v20.2.3 references.


Can't deploy the SAR package ServiceCloudVoiceLambdas — version 9.0.1

Faced this issue in multiple AWS accounts. The SAR deployment attempt is sitting on the initial screen and spinning for hours. No error message shown on the screen.

Copied an already deployed SAR CFN and attempted it from a different account and got the below error message. But that could be an entirely different access issue. Not sure if below permission error is happening when we deploy from the SAR UI as well.
Your access has been denied by S3, please make sure your request credentials have permission to GetObject for awsserverlessrepo-changesets-1my58927y6rqa/765230478770/arn:aws:serverlessrepo:us-east-1:317368162107:applications-ServiceCloudVoiceLambdas-versions-2.0.1/43c8d247-0584-43d2-a395-98191089e900. S3 Error Code: AccessDenied. S3 Error Message: Access Denied (Service: AWSLambdaInternal; Status Code: 403; Error Code: AccessDeniedException; Request ID: c58d5d7d-6842-4a1f-8c58-5a07f200af89; Proxy: null)

Confirmed the issue to be in ap-southeast-2. Deployed in us-east-1 without any issue. Awaiting a fix.

Hi, I’m from the AWS SAR team and we have been seeing a few issues with deployment of this specific application over the past few weeks.
It looks like one of your application assets is of a size larger than we are used to handling. We are determining a fix for this issue on our end.

Thank you @safamoha. Can you post any ETA once the issue is resolved ?

On our end we are seeing the issue in FRA, NRT, and SYD regions. We are aiming to get the fix deployed to FRA by end of next week. Should the fix work as intended, we can deploy to other regions by end of the following week.

@safamoha adding a comment in here for updates to this issue for myself.

This is a critical issue for us too. Our LAMBDA is requiring an update an we urgently need this fix to be able to update. @safamoha
Did the FRA release work last week and can we expect a fix for SYD region this week?

@jono-ak @safamoha @sonymammen-vf @magnetikonline  -- Can you try this on your end ?
This issue should be fixed by the AWS deployment team.

On our end the issue appears to be fixed. Please let us know if you are seeing otherwise.

@safamoha We also verified this issue on our end and the issue is fixed. I was just giving a heads up to other customers who got affected. Closing this issue now.
Thanks for your help @safamoha


Move logic to transition matrix in Credential Registry

New version of the credential and presentation's registry will resolve this issue.


feat: prove then verify flow for honk

Closes https://github.com/AztecProtocol/barretenberg/issues/932.
Adds the prove then verify flow for Ultra and GoblinUltra Honk.
Please read contributing guidelines and remove this line.

Benchmark results
Metrics with a significant change:

note_history_trial_decrypting_time_in_ms (5): 105 (+108%)
note_history_trial_decrypting_time_in_ms (10): 143 (+86%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
772
772
772

l1_rollup_calldata_gas
6,832
6,844
6,832

l1_rollup_execution_gas
587,313
587,325
587,313

l2_block_processing_time_in_ms
1,527 (+5%)
5,332 (-1%)
10,369 (+1%)

note_successful_decrypting_time_in_ms
171 (-7%)
391 (-6%)
717 (+4%)

note_trial_decrypting_time_in_ms
59.8 (-15%)
86.5 (-19%)
25.1 (-75%)

l2_block_building_time_in_ms
18,871 (+1%)
73,553 (+1%)
146,862 (+1%)

l2_block_rollup_simulation_time_in_ms
18,662 (+1%)
72,782 (+1%)
145,363 (+1%)

l2_block_public_tx_process_time_in_ms
8,540 (+1%)
33,424 (+1%)
67,325 (+2%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
15,793 (-3%)
31,093 (+1%)

note_history_successful_decrypting_time_in_ms
861 (-8%)
1,735 (-1%)

note_history_trial_decrypting_time_in_ms
:warning: 105 (+108%)
:warning: 143 (+86%)

node_database_size_in_bytes
19,152,976
35,856,464

pxe_database_size_in_bytes
29,859
59,414

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
156 (+1%)
47,815
31,978

private-kernel-inner
177
80,846
31,978

private-kernel-ordering
136 (-1%)
57,732
49,888

base-parity
77.8 (+2%)
128
265

root-parity
124 (-1%)
1,244
265

base-rollup
12,193 (+2%)
110,926
957

root-rollup
49.8
4,551
821

public-kernel-app-logic
1,659
62,069
52,067

public-kernel-tail
4,252 (+1%)
168,566
7,491

merge-rollup
3,160 (+1%)
2,760
957

public-kernel-teardown
116 (-3%)
62,069
52,067

public-kernel-setup
127 (+9%)
62,069
52,067

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
11.0
17.8 (+1%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.6
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.639
0.548
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
51.9
80.8
259 (+1%)
507
990 (+1%)
1,954 (+1%)
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
96.0
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.532
0.498
0.472 (+1%)
0.473
0.470 (+1%)
0.467 (+1%)
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
60.8
119 (+1%)
376 (+1%)
750 (+1%)
1,461
2,913
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
105
207
691
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.537
0.535
0.511
0.513
0.507
0.507
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
67.9

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
109

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.591

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
51,450
537,961 (-1%)

Transaction size based on fee payment method

Metric
native fee payment method
fpc_public fee payment method
fpc_private fee payment method

tx_with_fee_size_in_bytes
897
1,145
1,345

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes
2 new note hashes

tx_pxe_processing_time_ms
1,237 (-7%)
870 (+1%)
3,478

Metric
1 public data writes
2 public data writes
3 public data writes
4 public data writes
5 public data writes
8 public data writes

tx_sequencer_processing_time_ms
839 (+1%)
692 (-9%)
1,347
904 (+1%)
2,073
1,166 (+7%)

Changes to circuit sizes

?? does this have any meaning?


Uncaught Exception: Attempting to call a function in a renderer window that has been closed or released. Function provid

An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.0.1
Time: Sat Apr 02 2016 17:27:15 GMT-0400 (Eastern Daylight Time)
Error:
Attempting to call a function in a renderer window that has been closed or released. Function provid
Error: Attempting to call a function in a renderer window that has been closed or released. Function provided here: Object.<anonymous> (C:\Users\Nealon\AppData\Local\GPMDP_3\app-3.0.1\resources\app\build\inject\GPMInject\interface\mouseButtonNavigation.js:8:8.
    at BrowserWindow.callIntoRenderer (C:\Users\Nealon\AppData\Local\GPMDP_3\app-3.0.1\resources\atom.asar\browser\lib\rpc-server.js:201:19)
    at emitTwo (events.js:92:20)
    at BrowserWindow.emit (events.js:172:7)

This issue was created automatically inside the uncaughtException handler

You are running an outdated version, please update to 3.1.0.

Closing this automatically reported issue as a duplicate of #470

@Nealon01 Could you please also upload the file found at %LOCALAPPDATA%\GPMDP_3\SquirrelSetup.log on your computer. I am trying to determine why some users aren't updating


Can my custom PydanticBaseSettingsSource get values already retrieved from other PydanticBaseSettingsSources?

I also opened an SO post FYI: https://stackoverflow.com/questions/78486685/is-it-possible-for-a-custom-pydanticbasesettingssource-to-retrieve-computed-valu
I know the way it generally works is you use the field_name to locate the value, but I want to have a field that is a model with additional data that my custom PydanticBaseSettingsSource will use to retrieve the actual value and I don't think json_schema_extra would work here because I want to use the actual field value that will be retrieved from the dotenv source.
For example:
config = MyApp(
    # I want my custom source to read the input assigned test01 and return the secret value
    test01 = ExternalSecret(
	id="sdfsdfds", account="sdfsdfsd")
    )

And then in settings_customise_sources
    @classmethod
    def settings_customise_sources(
        cls,
        settings_cls: Type[BaseSettings],
        init_settings: PydanticBaseSettingsSource,
        env_settings: PydanticBaseSettingsSource,
        dotenv_settings: PydanticBaseSettingsSource,
        file_secret_settings: PydanticBaseSettingsSource,
    ) -> Tuple[PydanticBaseSettingsSource, ...]:
        return (
            init_settings,
            env_settings,
            dotenv_settings,
            file_secret_settings,
            MyCustomSource(settings_cls),
        )

I have MyCustomSource run after all the other sources here. Is there a way to, from inside a PydanticBaseSettingsSource, get the currently computed values of a field? Where is that info stored?
I'm assuming that you continuously clobbler/re-write a fields value for each source, but maybe it doesn't work that way? What I'm trying to do I guess might be impossible if you process all sources and then set the value a single time instead of continuously re-assigning it.
What would also work for me would be a post-processor method that just runs at the end of all sources that could loop over all the fields, get their values, and reassign some of the fields values. Is there such a method?
I just found out about pydantic_init_subclass, but I don't know how to get the field values inside of it. This just gives me the field names:
    @classmethod
    def __pydantic_init_subclass__(cls):
        for field_name, field in cls.model_fields.items():

Edit
So just found out about this method, is this the best way to implement what I want? Not using a custom source at all and just looping over all the fields like this?
    def model_post_init(self, __context) -> None:
        for field_name, field_value in self:
            print(field_name)
            print(field_value)

Thanks @red8888 for reporting this issue.
I think this could be a duplicate of https://github.com/pydantic/pydantic-settings/issues/223.
Right now the source classes don't have access to other sources' data.

What would also work for me would be a post-processor method that just runs at the end of all sources that could loop over all the fields, get their values, and reassign some of the fields values. Is there such a method?

We don't have such a method in pydantic-settings. but probably pydantic model_validators can help you.


Quest won't save (1 or Yes entry

What is your Quests version / build number (do not say "latest")?
-> Quests3.8.9.jar Jenkins Build #81
Describe the problem and how to replicate it. Any console errors to post using Pastebin.com?
-> Quests wont save with either '1' or 'Yes' input. '2' for "dont save" works though. I don't know how to replicate, I hope this time it's not me being clumsy, but I for sure believe I typed '1' (no ' '). I fully reset the config files upon downloading Build #81 [Sorry for getting on your nerves. Just really want this awesome plugin to finally work]
-> https://pastebin.com/S52Mcn1B
-> Quests and Citizens start/load up fine.
If applicable, can you provide an example quest from quests.yml using Pastebin.com?
-> Default - Quest didn't save.

@TheOriginalHawk Thanks for the report. You're not on my nerves at all - the input is appreciated.
Please give the following build a try (you shouldn't need to reset any files this time):
https://ci.codemc.io/job/PikaMug/job/Quests/82/


chore: repository governance

Repository governance update
This PR was automatically created by the AVM Team hive-mind using the grept governance tool.
We have detected that some files need updating to meet the AVM governance standards.
Please review and merge with alacrity.
Grept config source: git::https://github.com/Azure/Azure-Verified-Modules-Grept.git//terraform
Thanks! The AVM team :heart:

Supersceeded by #32


Got error "Uncaught SyntaxError: Unexpected token ..."

Version:
"nuxt": "^2.0.0"
"nuxt-vuex-localstorage": "^1.2.6"
 const bindLocalStorage = name => {
    const localPersist = JSON.parse(crypto.decrypt(storageFunction.local.get(name)))
    let data = { ...store.state }
    const expireChecked = nuxt_vuex_localstorage_plugins_bindStorage_expire__WEBPACK_IMPORTED_MODULE_1__["default"].check(localPersist)
    if (store.state[name] && expireChecked[versionPropName] === store.state[name][versionPropName])
      data[name] = { ...data[name], ...expireChecked, status: true }
    store.replaceState(data)

    localStoreNames.forEach((name, i) => {
      watchHandlers_local[i] = watcher_local(name, i)
    })
  }

Error in line let data = { ...store.state }
Can you help?
Thanks

I tried to update the version nuxt to 2.4.3 (as in the example - https://github.com/rubystarashe/nuxt-vuex-localstorage-example), the error remained..

Check your nuxt.config.js. Perhaps that syntax error can occur if a module is loaded from the wrong position(such as before nuxt compile)
https://github.com/rubystarashe/nuxt-vuex-localstorage-example
Is it not working? I tested this repo a little while ago, and it works.

I did not check your example, only compare package version with my package.json
Trying change position in package.json, set the last, same result.

IE11, I guess it is some babel-kind error, no object spread in older browsers, but i can find object spread in vendors.app.js

Hi. I solved this issue. How it works
// Add that code to nuxt.config.js
build: {
  // ...
  transpile: [
    /(.+)(nuxt-vuex-localstorage\/)(.+)(\.js)$/
  ],
  // ...
}

This build option make to transpile specific library.
And when you try to run any build script, incompatible codes will be changed.

Hi. I solved this issue. How it works
// Add that code to nuxt.config.js
build: {
  // ...
  transpile: [
    /(.+)(nuxt-vuex-localstorage\/)(.+)(\.js)$/
  ],
  // ...
}

This build option make to transpile specific library.
And when you try to run any build script, incompatible codes will be changed.

It's wierd why
build: {
  // ...
  transpile: [
    "nuxt-vuex-localstorage"
  ],
  // ...
}

won't work.
As stated here, it can be a package name.

maybe it was problem specific version nuxt


Windows support? error: pathspec 'gh-pages' did not match any file(s) known to git.

Middleman-gh-pages runs fine on Linux.
But when i try to rake publish on Windows, i receive:
git commit -m 'initial gh-pages commit'
error: pathspec 'gh-pages' did not match any file(s) known to git.
error: pathspec 'commit'' did not match any file(s) known to git.
rake aborted!

Full log: https://gist.github.com/lolmaus/7372898

This should now be fixed thanks to #21


RequestContext.setAttr should return previous value if present

Similar to Map.put

Should we return null or root context's value when the context doesn't have its own value? I guess it should be the latter but just in case it's unclear. 🤔

Yeah returning what getAttr would have returned seems to make sense to me.
For reference, I thought of this while working on this change, where it would be a small threadlocal lookup optimization.
https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/979/files#diff-8b0d34ddeaf7f366eeb03b07f0da0aa4R38

I found that setAttrIfAbsent() basically does not take the root context into account. This means, even if there's an attribute A in the root context, setAttrIfAbsent(A, value) will set the value successfully. Same applies to computeIfAbsent().
Wouldn't it be inconsistent if setAttr() returns the value retrieved from the root context? I'm not sure if it's a good idea to return its 'own' old value given that it can be another source of confusion.
Should we change the behavior of setAttrIfAbsent() and computeAttrIfAbsent() to look for the root context? If so, should we make this thread-safe, like acquiring two nested locks (synchronized (rootCtx) { synchronized (childCtx) { ... } }?

Yeah definitely shouldn't make them inconsistent. Semantically, I would expect IfAbsent to check the root, the child is supposed to "just contain" what's in the root so it's not absent if it's in the root. The threadsafe might be tough but I think it's unavoidable 😿

It looks like some users are using setAttrIfAbsent() and computeAttrIfAbsent() for both client and server side contexts to set some IDs, which means they still need the version with the old behavior if we change their behavior, e.g. setAttrIfOwnAbsent and computeAttrIfOwnAbsent. For symmetry, we will need something similar for setAttr().. like <some nice name>.
All this complication makes me wonder if it's a good idea to provide set/computeAttrIfAbsent() at all. Should we remove *IfAbsent() and make setAttr() behave like originally suggested here? The users of set/computeAttrIfAbsent() could implement it using hasOwnAttr() and setAttr(), although thread safety will be lost (i.e. should do it by themselves).
Thoughts?

If it's possible, I want to remove the complicated APIs.
I think other libraries do not have such APIs.
For example, this is Context from Reactor.

+1 to removing. Would need to see the code to be sure, but it sounds like just setAttr should work for IDs in general - IDs are truth, it's weird that you would ever need to rely on someone else's truth, conceptually speaking. So the ifAbsent methods may just be providing confusion too.

They all just set the attribute in a decorator, so I guess it's safe to use setAttr(). If in doubt, could be guarded with hasOwnAttr().


New version: libpolymake_julia_jll v0.4.127+0

Autogenerated JLL package registration

Registering JLL package libpolymake_julia_jll.jl
Repository: https://github.com/JuliaBinaryWrappers/libpolymake_julia_jll.jl
Version: v0.4.127+0
Commit: 27b588692eac0bff7f656f6975f17dcb539f26b6
Revision on Yggdrasil: https://github.com/JuliaPackaging/Yggdrasil/commit/920cfda3c428fbde1a9be43009cc2b987d076270
Created by: @benlorenz

[noblock]
@giordano Thanks for all the other merges! Can you please wrap this up with one final manual merge here (because this is for julia 1.7 and fails to resolve with 1.6).


scrollbar-default does not work on webkit browser

I have some problem with webkit browsers.
scrollbar-hide class works as perfect. but i want to show it with scrollbar-default class, scrollbar is visible on webkit browser. it works on firefox.
i need help with that issue. thanks.

show you  full class case

My code like this;
`
Psikolojik Konular

{{evergreenPost.title}}

`
This is with Firefox

This is with Chrome

webkit not support overriding

::-webkit-scrollbar cannot be simply overridden to get the default style, the only way to do it is to remove all ::-webkit-scrollbar rules from the code. At that point, scrollable areas have to be forced to redraw the scrollbars. To do that you either quickly add and remove display:none; from or do the same thing with overflow:hidden; on scrollable elements. The problem with the first one is that the page flashes white at every page load; the second one is resource-intensive as it would have to whether check any element on the page overflows—not ideal.
https://webapps.stackexchange.com/a/26128

use desktop first breakpoint system or dynamic remove class with script

so @eyupaltindal no need scrollbar-default use https://tailwindcss.com/blog/tailwindcss-v3-2#max-width-and-dynamic-breakpoints
like: max-md:scrollbar-hide


Updating Javadocs for RequestRetryOptions and BlobParallelUploadOptions

resolves #26323
resolves #28962

API change check
API changes are not detected in this pull request.


AppCenter Data Local Debug using CosmosDB Emulator

Add possibility to the SDK for AppCenter Data to connect Local Debug using CosmosDB Emulator

Hi @fileman, thank you for your feature request. I have tagged my colleague and he will follow up if there's any question.

@fileman Thank you so much for your request. We announced this week in a blog post that we’re retiring the Auth and Data services later this year and recommending customers transition to Azure Active Directory B2C and Azure Cosmos DB instead. Let me know if you have any additional questions about this transition and i'll make sure to get them answered! Closing this issue.


Can't follow procedure b/c the menu item is greyed out, always.

[Enter feedback here]

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

ID: d01dfe58-6d45-3c9f-93bf-1d30e4dbd060
Version Independent ID: 9d859e92-2931-0720-0a1b-1af326ce4d76
Content: Create an XML Schema - Visual Studio (Windows)
Content Source: docs/xml-tools/how-to-create-an-xml-schema-from-an-xml-document.md
Product: visual-studio-windows
Technology: vs-xml-tools
GitHub Login: @dzsquared
Microsoft Alias: drskwier

@sderose -- Steven, thank you for your feedback.  To which menu item are you referring?  Meanwhile, please consider these resources:

Visual Studio on Microsoft Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit

I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


rpcutil(engine): refactor rpc hook to interceptor

What problem does this PR solve?

Issue Number: close https://github.com/pingcap/tiflow/issues/7695
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/run-engine-integration-test

Codecov Report

Merging #7703 (ba09acf) into master (6d24a57) will decrease coverage by 0.0708%.
The diff coverage is 28.7610%.

Additional details and impacted files

Flag
Coverage Δ

cdc
66.2055% <5.8823%> (-0.0964%)
:arrow_down:

dm
52.1506% <15.1515%> (-0.0347%)
:arrow_down:

engine
63.9464% <33.5227%> (-0.0505%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #7703        +/-   ##
================================================
- Coverage   59.9034%   59.8326%   -0.0709%
================================================
  Files           810        807         -3
  Lines         93255      93068       -187
================================================
- Hits          55863      55685       -178
+ Misses        32535      32524        -11
- Partials       4857       4859         +2

/run-engine-integration-test

/run-engine-integration-test

/run-engine-integration-test

/run-engine-integration-test

/run-engine-integration-test

/run-engine-integration-test

Unit test failed
[2022-11-28T11:00:43.272Z] === Failed
[2022-11-28T11:00:43.272Z] === FAIL: engine/pkg/rpcutil TestCheckAvailable (0.00s)
[2022-11-28T11:00:43.272Z]     middleware_test.go:203:
[2022-11-28T11:00:43.272Z]         	Error Trace:	/home/jenkins/agent/workspace/ut-check/tiflow/engine/pkg/rpcutil/middleware_test.go:203
[2022-11-28T11:00:43.272Z]         	Error:      	Should be true
[2022-11-28T11:00:43.272Z]         	Test:       	TestCheckAvailable
[2022-11-28T11:00:43.272Z]
[2022-11-28T11:00:43.272Z] DONE 433 tests, 5 skipped, 1 failure in 330.148s

/merge

/run-verify


Type error

Hi,
I am getting the following error when i navigate to either /local or /video:
server.py", line 61, in image print('POST /image error: %e' % e)
TypeError: must be real number, not RuntimeError
Has anyone come across this issue?
Thanks for any help :)

I would try changing that line to just print(e) and see what happens.

Hi,
Thanks for getting back to me. I have tried it and now it says typeerror: a float is required.

Any Solution to this?

I would try changing that line to just print(e) and see what happens.

Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\flask\app.py", line 2309, in __call__
    return self.wsgi_app(environ, start_response)
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\flask\app.py", line 2295, in wsgi_app
    response = self.handle_exception(e)
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\flask\app.py", line 1741, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\flask\_compat.py", line 35, in reraise
    raise value
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\flask\app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\flask\app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\flask\app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\flask\_compat.py", line 35, in reraise
    raise value
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\flask\app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\flask\app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "C:\laragon\www\temp\tfObjWebrtc\server.py", line 61, in image
    print('POST /image error: %e' % e)
TypeError: a float is required

any idea how to fix this?

Sorry, I haven't worked with this project for a while.
I think that %e should be a %s on line 61 or it should be changed to print('POST /image error: ', e) . However, if that is occurring you are still getting an exception so there is still some issue. At least if you can see the error that might tell you what to look at next.
I guess you are not running this inside the docker container?
docker run -it -p 5000:5000 chadhart/tensorflow-object-detection:runserver


UI breaks when accessing child workflows

After clicking on child workflows in compact view under history, UI breaks(mix of parent workflow activities and child workflow activities are shown) and web page needs to be refreshed to show correct data. Earlier this worked fine.
Our team used to see the activity start time, completion time also in the compact view , that's no longer provided. It'll be great to have that.

https://cadence-staging-dca.uberinternal.com/domain/subledger-staging-dca1/workflows/94be8942-60dd-5c14-bb52-a12b1d20368a/9b3cfb77-e8de-48d5-bf47-82a3b2bd98a4/summary

Looking into the issue, specifically I can see when you click the link to the child workflow, it duplicates the history grid. I have now put in a fix which should now remove the duplicates. I have also added in timestamp to all activities and their event id. I will try to deploy this change to staging today if I have time.

Fixed as of https://github.com/uber/cadence-web/releases/tag/v3.7.1


Update Ember to 1.13.5.

A few notable changes:

Change {{handle-input}} component tests to integration tests.
Implement {{database-selector}} without {{view 'select'}}.
Work around setter CP bug in Ember. https://github.com/emberjs/ember.js/pull/11225

This PR introduces a number of deprecation notices to the console (952 are triggered when running the full test suite). Should we hold the PR until those are mostly addressed, or merge and work on smaller deprecation PR's after landing the main update?

:+1: Thanks for this, great work.  I'm fine merging or fixing the deprecations here, completely your call.

FYI - I've been working on https://github.com/emberjs/ember.js/pull/11833 and https://github.com/emberjs/ember.js/issues/11835 to help with the process of tracking down and dealing with the deprecations.

Deprecations silenced with mixonic/ember-cli-deprecation-workflow along with 874920f. From 32612 deprecations down to 0.
Holding off on merging this until https://github.com/mixonic/ember-cli-deprecation-workflow/issues/16 is resolved (should be soon).

https://github.com/mixonic/ember-cli-deprecation-workflow/issues/16 is resolved, and a number of the other deprecations have been fixed.

https://github.com/heyjinjs/test/issues/1


Angular 16.1.5

Fix #6876

adding a bounty for all your recent work in JHipster Lite project

some trouble with codecov today, I'm restarting it, until it passes

after merge https://opencollective.com/generator-jhipster/expenses/149883 🙂

@qmonmert : approved, thanks for all your work


bug: sending registration email to already existing user

bug: sending registration email to already existing user
Explanation:
If an already registered user signs up. The platform shows the error of "user already exists" but the backend sends registration mail to that user.
Helpful files:
https://github.com/himanshu010/onlineIDE/blob/master/src/routes/otp/otp.js
https://github.com/himanshu010/onlineIDE/blob/master/src/routes/user/signup/register.js
https://github.com/himanshu010/onlineIDE/blob/master/src/routes/user/signup/signup.js
https://github.com/himanshu010/onlineIDE/blob/master/src/routes/user/signup/emailVerification.js

Cliaming the bounty.

Let me try will do in 999rs


Manually trigger a drag selection

Dug through the api but, can't seem for find what I'm looking for. Is it possible to manually trigger an element in the drag state?
Example:
Click a button, now the element you want to drag is following the cursor until you "drop"
Hope I'm making sense.

Hi there are options to enable/disable drag drop at runtime. you can add an event listener to enable/disable drag.


baking piped commands

import sh
sh.awk.bake("{print $5}", _in=sh.df("-h", "/"))
sh.awk.bake("{print $5}", _in=sh.df.bake("-h", "/"))

None of these seem to work, instead df is executed right away, is this intended behvaiour because baking piped commands is not supported?

Piping baked commands it not supported, correct. Your best option is to write a small function to wrap what you want to do and call that function when you need the results.

Understood, interestingly this one works (even in combination with a baked sh.ssh)
sh.head("-n5", _in=sh.cat("/proc/meminfo")