Export to PDF does not include custom font

Before you open a bug report
Disable plugins and snippets that could be causing a conflict. Update to the latest versions of the following, and restart Obsidian:

Minimal Theme
Minimal Theme Settings plugin (or Style Settings plugin, but not both)
Contextual Typography plugin

Describe the bug
I have set the custom fonts in the Minimal Theme Settings plugin, and it shows correctly on both the preview view and the editor view. However, it does not work with the PDFs exported from the Minimal Theme.
To reproduce
Steps to reproduce the behavior:

Go to 'Settings'
Click on 'Minimal Theme Settings'
Scroll down to 'Custom Fonts'
Change the fonts
Export to PDF

Expected behavior
The PDFs would have the correct fonts.
Screenshots

The font in the Editor:

The font in the PDF:

Debug info (please complete the following information):
N/A

Colorful headings seem not included either.

This is not related to Minimal it's an Obsidian limitation. See related Obsidian forum topics


Add sass-webpack-plugin into README

Hi, node-sass team. There's a tiny layer to join two great tools: libsass & webpack. I didn't add any custom preference or opinion. Just plug and ready to go

Thanks. I'll take some time to look into the plugin before we endorse it.

sure, actually there is an official loader https://github.com/webpack-contrib/sass-loader . But configuration of it makes ages

any progress yet?

Sorry for the delay. Thanks for this but we're not going to add any new integrations until we overhaul the documentation. These simply generate too much noise.


Restore Transactions Failed

If you are creating an issue for a BUG please fill out this information. If you are asking a question or requesting a feature you can delete the sections below.
Failure to fill out this information will result in this issue being closed. If you post a full stack trace in a bug it will be closed, please post it to http://gist.github.com and then post the link here.
Bug Information
Hi James,
I'm having a strange error. I previously used your plugin and it worked both in iOS and Android. I uploaded my app to both stores and it was approved. Now Apple is rejecting an update saying the in app purchase is failing. I deployed my app using Ad-Hoc to my device. When I click the purchase button in my app it fails when trying to get the purchases (to see if it is already purchased). The error reported is: "Restore Transactions Failed". I did not change anything in the code. I tested with different linker options with no success. Could it be something that changed in the iOS side? It works in android (and it was working in iOS).
Version Number of Plugin: 1.2.1
Device Tested On: Iphone 7
Simulator Tested On: Iphone 6s 10.3
Version of VS: 2017 Community
Version of Xamarin: Latest
Versions of other things you are using:
Steps to reproduce the Behavior
Execute the following line:
var purchases = await CrossInAppBilling.Current.GetPurchasesAsync(ItemType.InAppPurchase);
Expected Behavior
Get purchases.
Actual Behavior
Exception: "Restore Transactions Failed"
Code snippet
var purchases = await CrossInAppBilling.Current.GetPurchasesAsync(ItemType.InAppPurchase);
Screenshotst

Does it throw an exception or a specific type of in app billing exception?

I wasn't able to reproduce this with 1.2.1;
My steps:

Download from test flight then sign out from app store
go into app and sign in with sand box account
Make purchase
uninstall app
repeat 1 and 2
purchase was restored

Here is my code:
 async Task LoadItemsAsync()
            {
                try
                {
                    IsBusy = true;
                    var connected = await CrossInAppBilling.Current.ConnectAsync();

#if DEBUG
                    CrossInAppBilling.Current.InTestingMode = true;
#endif

                    if(!connected)
                    {
                        await DependencyService.Get<IDialogs>().DisplayAlert("Can't connect", "Unable to connect to the app store, please check internet connection.");
                        return;
                    }

                    IEnumerable<InAppBillingPurchase> purchases = null;
                    try
                    {
                        purchases = await CrossInAppBilling.Current.GetPurchasesAsync(ItemType.InAppPurchase);
                    }
                    catch(Exception ex)
                    {
                               //just incase something goes wrong with internet connection or something
                    }

                    var ids = purchases?.Select(p => p.ProductId) ?? new List<string>();

                    var donate1 = Device.RuntimePlatform == Device.iOS ? "donate0" : "donate1";
                    var donate2 = "donate2";
                    var donate3 = "donate3";
                    var items = await CrossInAppBilling.Current.GetProductInfoAsync(ItemType.InAppPurchase, donate1, donate2, donate3);

                    Items.Clear();
                    foreach (var item in items)
                    {
                        var purchased = ids.Contains(item.ProductId);
                        if(purchased)
                            Settings.ShowAds = false;
                        Items.Add(new IAP
                        {
                            Product = item,
                            Purchased = purchased
                        });
                    }
                }
                catch (InAppBillingPurchaseException purchaseEx)
                {
                    var message = string.Empty;
                    switch (purchaseEx.PurchaseError)
                    {
                        case PurchaseError.AppStoreUnavailable:
                            message = "Currently the app store seems to be unavailble. Try again later.";
                            break;
                        case PurchaseError.BillingUnavailable:
                            message = "Billing seems to be unavailable, please try again later.";
                            break;
                        case PurchaseError.PaymentInvalid:
                            message = "Payment seems to be invalid, please try again.";
                            break;
                        case PurchaseError.PaymentNotAllowed:
                            message = "Payment does not seem to be enabled/allowed, please try again.";
                            break;
                    }

                    if (string.IsNullOrWhiteSpace(message))
                        return;

                    await DependencyService.Get<IDialogs>().DisplayAlert("Purchase Problem", message);

                }
                catch (Exception ex)
                {
                    PluginsForXamarin.Helpers.Utils.LogException(ex, "InAppBilling");
                    await DependencyService.Get<IDialogs>().DisplayAlert("Uh oh", "Something went wrong, but don't worry we captured for analysis! Thanks.");
                }
                finally
                {
                    await CrossInAppBilling.Current.DisconnectAsync();
                    IsBusy = false;
                }
            }

Hi James,
My example is pretty much the same and yes it is an InAppBilllingPurchaseException:
PurchaseError.RestoreFailed.
Now, I may be doing my test incorrectly I did not have the "InTestingMode". Does that allow me to test in simulator? To be honest I think it would work but Apple testing team does something wrong, since the first time it was approved and everything was working fine. The way I'm trying to test is creating an Ad-Hoc release and trying to use a test user but I get the same error.
Thanks

`try
{
string productId = "productid";
            switch (Device.RuntimePlatform)
            {
                case Device.Android:
                    productId = "productid";
                    break;
                case Device.iOS:
                    productId = "productIdiOS";
                    break;
            }

            var connected = await CrossInAppBilling.Current.ConnectAsync();

            if (!connected)
            {
                UserDialogs.Instance.Alert(Resources.ServiceUnavailable);
                return;
            }

            var purchases = await CrossInAppBilling.Current.GetPurchasesAsync(ItemType.InAppPurchase);
            if (purchases?.Any(p => p.ProductId == productId) ?? false)
            {
                Settings settings = DataRepository.GetSettings();
                settings.Purchased = true;
                DataRepository.UpsertSettings(settings);
                Messenger.Default.Send(new NotificationMessage(this, ""), "RemoveAdvertisement");
            }
            else
            {
                var purchase = await CrossInAppBilling.Current.PurchaseAsync(productId, ItemType.InAppPurchase, "apppayload");
                UserDialogs.Instance.Alert("Purchase: " + purchase);
                if (purchase == null)
                {
                    UserDialogs.Instance.Alert(Resources.PurchaseProcessFailed);
                }
                else
                {
                    Settings settings = DataRepository.GetSettings();
                    settings.Purchased = true;
                    DataRepository.UpsertSettings(settings);
                    Messenger.Default.Send(new NotificationMessage(this, ""), "RemoveAdvertisement");
                }
            }
        }
        catch (Exception)
        {
            UserDialogs.Instance.Alert(Resources.PurchaseProcessFailed);
        }
        finally
        {
            await CrossInAppBilling.Current.DisconnectAsync();
        }`

InTestingMode is only for UWP, you can not test on a simulator, you need to test on a real device.
Essentiall, I am getting nothing back from Apple: https://github.com/jamesmontemagno/InAppBillingPlugin/blob/master/src/Plugin.InAppBilling.iOS/InAppBillingImplementation.cs#L116
Perhaps you are popping up a dialog and showing that.. You could just log it. Didsomeone actually buy something?

So what happened, is that I uploaded my app and everything was great, 2 purchases were made (One was actually me) then I created an update, again everything worked out. Then last update they are telling me that in app purchase is not working. I did not make any change to the code which is why I find it so strange. I schedule a call with them, maybe they'll give me  more information.
So, suppose no purchases have been made. Should an exception be thrown or purchases should be null? What I'm trying to do is first check if there are purchases, if there aren't then make the purchase. Is that handle automatically by apple?
Thanks

I would change your code like this currently:
    IEnumerable<InAppBillingPurchase> purchases = null;
                    try
                    {
                        purchases = await CrossInAppBilling.Current.GetPurchasesAsync(ItemType.InAppPurchase);
                    }
                    catch(Exception ex)
                    {
                               //just incase something goes wrong with internet connection or something
                    }

                    if (purchases?.Any(p => p.ProductId == productId) ?? false)

I don't think it will throw null if none come back, but possible.

Ok, I'll give it a try and submit for review again. Thank you.

Closing this out as I have updated documentation and have tested a bunch. Open a new issue if it happens again so we can investigate further.

we are also getting the same error from last week and the app being rejected while submission in App store. Previous submissions were successful with the same code. We haven't changed any code related to InAppBilling plug-in. @jamesmontemagno Could you please let us know what is causing the issue  and can you please reopen this issue?

I'm facing the same issue "Restore Failed" since the past couple of days. I searched everywhere online but did not find anything about this. I thought I was alone facing this. I wonder if this issue is only faced by the ones using InAppBilling plugin. @jamesmontemagno can you please reopen this issue and assist us in this?

We are having the same issue utilizing the InAppBilling plug-in. After submitting our build to Apple for release to Production, Apple keeps rejecting the build as they keep conveying during their testing they are receiving the "RestoreFailed" error when they try to Sign In to our App. We are not able to reproduce it. Further, we have had no issues like this over the past year and we have made no changes to the Sign In code and have been submitting new builds at least once per month. @jamesmontemagno - please help and provide your feedback.

I would dtry https://www.nuget.org/packages/Plugin.InAppBilling/6.7.1-beta may have a fix in there for completing transactions


Add function to split comma-separated fields

Useful when all you care about is splitting on commas, not generating key-value pairs.
@kelunik Can you review the regex to make sure it makes sense.

@trowski Doesn't parseFieldValueComponents do already what you're trying to implement here?

In a manner of speaking, but it splits headers like 'permessage-deflate; client_max_window_bits=15; server_max_window_bits=15, some-other-extension' into [['permessage-deflate; client_max_window_bits', '15; server_max_window_bits=15'], ['some-other-extension', '']], which isn't exactly ideal. This function would parse the header to simply ['permessage-deflate; client_max_window_bits=15; server_max_window_bits=15', 'some-other-extension'].


town hall 010 added

Town hall # 11 slides added to the PR here.

Town hall # 12 slides added to the PR here.

@takcxn could you approve when you have a chance?


TONS of errors after using "npm install" from Verson 8.3.23, but application was developed with 7.0.5 #16809

Hi there!
I'm not sure it's a problem of npm, angular or node-sass...?
Maybe somebody can help me?
https://github.com/npm/cli/issues/752
Regards, Jan

I'm sorry, but everything well described on the link i pasted in my message. And today, i added some informations.
Maybe it's not a problem of your package, we need to to some investigations first.
Then, maybe, i will open a new case with comformity to your "Issie template". ;-)


bring TNDD #9 over to TNND

Let's bring TNDD #9 over to TNND, but we need to make sure it does not trigger on table cell codes, i.e., ⌋\brk*\tc2, or compound words with the first part in implied brackets, i.e., ...younger-\imp*\brk ⌋\brksiblings (Mrk 6:3), so not triggering on -\imp\brk ⌋\brk*. If we cannot make these exceptions work, add to the end of the message ', but compound words are OK (i.e., ⌊younger-⌋siblings).

Added  and not(parent::cell) to test 1
Need XXD test


http 401 error

hello, I have the following error :
`python -m saveddit.saveddit -r "Ebony" -f "new" -l 2000 -o "E:\E\D\saveddit\test"
.___  ..  __
___________ ___  __ ____   | _/| _/||/  |_
/  /_  \  / // __ \ / __ |/ __ | |  \
_ \  / __ \   /\  // // / // | |  ||  |
/_  >(____  /_/  __  >____ ____ | ||||
/      /          /     /    /
Downloader for Reddit
version : v1.0.0
URL     : https://github.com/p-ranav/saveddit
E:\E\D\saveddit\test
Downloading from /r/Ebony/new/
Traceback (most recent call last):
File "C:\Users\theo\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\theo\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\theo\Downloads\saveddit-master\saveddit-master\saveddit\saveddit.py", line 73, in
main(args)
File "C:\Users\theo\Downloads\saveddit-master\saveddit-master\saveddit\saveddit.py", line 32, in main
categories=args.f, post_limit=args.l, skip_videos=args.skip_videos, skip_meta=args.skip_meta, skip_comments=args.skip_comments)
File "C:\Users\theo\Downloads\saveddit-master\saveddit-master\saveddit\subreddit_downloader.py", line 74, in download
for i, submission in enumerate(category_function(limit=post_limit)):
File "C:\Users\theo\AppData\Local\Programs\Python\Python37\lib\site-packages\praw\models\listing\generator.py", line 63, in next
self._next_batch()
File "C:\Users\theo\AppData\Local\Programs\Python\Python37\lib\site-packages\praw\models\listing\generator.py", line 73, in _next_batch
self._listing = self._reddit.get(self.url, params=self.params)
File "C:\Users\theo\AppData\Local\Programs\Python\Python37\lib\site-packages\praw\reddit.py", line 566, in get
return self._objectify_request(method="GET", params=params, path=path)
File "C:\Users\theo\AppData\Local\Programs\Python\Python37\lib\site-packages\praw\reddit.py", line 672, in _objectify_request
path=path,
File "C:\Users\theo\AppData\Local\Programs\Python\Python37\lib\site-packages\praw\reddit.py", line 855, in request
json=json,
File "C:\Users\theo\AppData\Local\Programs\Python\Python37\lib\site-packages\prawcore\sessions.py", line 331, in request
url=url,
File "C:\Users\theo\AppData\Local\Programs\Python\Python37\lib\site-packages\prawcore\sessions.py", line 257, in _request_with_retries
url,
File "C:\Users\theo\AppData\Local\Programs\Python\Python37\lib\site-packages\prawcore\sessions.py", line 164, in _do_retry
retry_strategy_state=retry_strategy_state.consume_available_retry(),  # noqa: E501
File "C:\Users\theo\AppData\Local\Programs\Python\Python37\lib\site-packages\prawcore\sessions.py", line 257, in _request_with_retries
url,
File "C:\Users\theo\AppData\Local\Programs\Python\Python37\lib\site-packages\prawcore\sessions.py", line 164, in _do_retry
retry_strategy_state=retry_strategy_state.consume_available_retry(),  # noqa: E501
File "C:\Users\theo\AppData\Local\Programs\Python\Python37\lib\site-packages\prawcore\sessions.py", line 260, in _request_with_retries
raise self.STATUS_EXCEPTIONSresponse.status_code
prawcore.exceptions.InvalidToken: received 401 HTTP response`
this happened a first time at the 514th file and happened again as I retried.

Hello,
There has been a recent (but important) change to the source code of the app to allow users to register their own OAuth2 apps with reddit and imgur (instead of using my credentials). The need for this was pointed out to me in various reddit comments and this issue.
The app was previously using my credentials. The app now requires you to register for your own credentials to prevent key reuse, "too many requests" http errors etc.
See here for how to do this. It takes just a few minutes to get this set up.
You received the error because my client ID and secret are now invalid.
Apologies for the inconvenience but this was a necessary best-practices change.

yes I saw the update just after posting this ^^'


Add templating example with tera

Presently, there are no examples demonstrating rendering HTML; this PR addresses that.
Description

Added an example using tera which renders some variables into a template.
Motivation and Context

Conveys a concise way to render a HTML response with Tide.
Relates to #207, and might even close it?
How Has This Been Tested?

Verified functionality locally, and passes tests
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

My pleasure! I've made the updates, per your request. Guess I've gotten into the habit of doing unwraps and expects for demo / examples, but I like your way of thinking; should set a good example. :tophat:
Please let me know if there is anything else I should update.


Schema for ds_config.json

Is your feature request related to a problem?
It is hard for users to know about all the different configuration options when editing a ds_config.json file.
Describe the solution you'd like
A JSON schema file for the ds_config.json should be provided so code editors like VS.Code can support the user in editing the ds_config.json. Benefits would then be for example: in-document descriptions for each setting, code completion, validation.
More details and screenshots at https://code.visualstudio.com/docs/languages/json
Describe alternatives you've considered
JSON schemas are common and would be a great help, especially because the schema for ds_config.json files is really complex. Looking up the documentation lowers productivity.
Additional context
As written above, check out https://code.visualstudio.com/docs/languages/json for details and examples.

@timoklimmer thanks for the suggestion. We are currently in the process of refactoring the DeepSpeed configs to use the PyDantic library (see #2210). Once we have this work complete, we should be able to autogenerate the JSON schemas for our configurations!


Empty state for widgets

Some times there's no data to be displayed in the widgets. We need to handle those cases and display a nice message for each type of widget.

There has been no activity on this issue for several months and that's why we are closing it (automatically). If you think this still needs to be addressed please reopen it. The good news is that we are now working on the next version of CARTO.js, stay tuned.


Add more maintainers

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

cc @blink1073 @afshin @Zsailer if you are fine being listed here

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

Thanks!


how to go to a page by url

hello~
when i try to use this url http://<IP_ADDRESS>:8081/#/lecture/room/?id=1 to go to the room.vue page, the app will go to the index page ? why? thank you very much

Hello @HoldSkill
Please ask this question to framework7 forums or gitter. I didn't used page urls and framework7 navigation before.
Have a great day.

thank you ~
Could you please help me how to use vue-router in this framework template?

Same as framework7. Yok can access framework7 from window.f7.


parser error.    Expected token type NEWLINE but saw AT.

url: https://github.com/thuml/Transfer-Learning-Library
layers\MultiWaveletCorrelation.py(262): Expected token type NEWLINE but saw AT.
code line 262
   H0r = H0 @ PHI0

C# doesn't have a built-in matrix multiplication operator __matmul__. Pytocs could translate the statement above to:
H0r = @__matmul__(H0, PHI0);

Or, if the command line switch --intrinsic-matmul is specifieid, it could translate to:
H0r = H0 * PHI0;

Will this work for you?

Commit a7aaf560f888544bc75d64ad9b472740ee98ee79 implements the logic above, with the exception that the syntax is:
H0r = H0.@__matmul__(PHI0)

Let me know if you need post-processor support for this.


[66] Issue #66 - April 20, 2017

Is anyone interesting in taking this issue for next week?
If not, I'll be taking a break and resume April 27.
cc: @gregheo @BasThomas @modocache @jpsim

I'm down to write one @jessesquires!

Woo! 🎉  Thanks @gregheo ! This issue is all yours!

Yay! Looking forward, @gregheo 🙂
And @jessesquires - I'm always open to help out, so let me/us know when you want to take a break again. 🙂

@BasThomas -- Actually, do you want to take the week after Greg? 😄

Initial draft pushed 📌

@jessesquires at this rate you should just write the thing; how about you relax and let the week's maintainer handle the work? 😜

Sure, @jessesquires! 🙌

Yet Another Access Control Pitch: Flexible Scoping
(thread) https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20170410/035722.html
https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20170410/035751.html
https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20170410/035760.html
Maybe need to spin off a new "Weekly Access Control Newsletter"? 🤔

The true meaning of "safe" in Swift

As defined by Swift, safety has nothing to do with whether something might trap or whether it's spelled with a "!", but about whether it can corrupt memory

https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20170410/035791.html

Maybe need to spin off a new "Weekly Access Control Newsletter"?

LOL 😆

Why does no one understand that keywords cannot be changed at this point.

unless...

Swift unwrapped ep 7: https://spec.fm/podcasts/swift-unwrapped/65851 😄

169 accepted: https://lists.swift.org/pipermail/swift-evolution-announce/2017-April/000357.html

😆 : https://twitter.com/jckarter/status/854029235299639303
😍 : https://twitter.com/steipete/status/854070434354147328

Radar looks: https://twitter.com/an0/status/854066062605897728

SE-0148 and SE-0160 have been implemented.

Look at stack of commits here?
https://github.com/apple/swift/pull/8770

SE-104 implemented!

@jessesquires assuming there's no sponsor this issue, based on the "– – –" on the sponsorship page? 🤔

Final notes to self:

[ ] Xcode 8.3.2
[ ] Learning from SE-0025, a breeding group for Swift proposals
[ ] write a limerick

@gregheo I think Jesse wasn't expecting to write an issue this week, which is why it's – – –.

@gregheo @BasThomas -- correct 😄 no sponsor this week!
@gregheo issue draft looks amazing! 🙌

SE-0161 WIP commit: https://github.com/apple/swift/pull/8875

Also, @gregheo, the issue is looking fantastic! That limerick 🤣

Last looks before publication:

[ ] https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20170417/004405.html
[ ] 8875 WIP as above
[ ] read through backwards

@jessesquires ping, pls tweet from swiftlybrief at your convenience

Woo, nice work!

awesome! thanks so much @gregheo ! 🥇


Add support for cursors and limits on LookupResources API calls

Note
This PR has changes for the ReachableResources and LookupResources dispatch

This change adds support for (optional) cursors and limits on LookupResource API calls, changing them to be fully streaming, which should significantly reduce or even remove the pause when loading very large sets of resources
This is accomplished by changing ReachableResources into a non-parallelized, ordered (internally defined) and cursored API and having LookupResources invoke it in a streaming manner, passing the cursor down into it.
This PR also has a number of small tech debt cleanups, including renaming Lookup -> LookupResources everywhere
Fixes #43

Updated

so you say you can't model it as something like this?
type section struct {
  name string
  values []string
  children []section
}

Not all sections have values. We could define a Section sub-type message in the protocol buffer, and then have it be:
message CursorSection {
  string name = 1;
  value_oneof {
     string str_value = 2;
     uint64 numeric_value = 3;
  }
}

That would work, but it wouldn't add a great deal to the type safety.
@vroldanbet Let me know if you'd like me to do ^

That would work, but it wouldn't add a great deal to the type safety.
@vroldanbet Let me know if you'd like me to do ^

Let's leave as it is 👍🏻


Option to enable desktop/tablet layout on mobile

Kiwi browser can be used on large monitors, e.g. tablets, Samsung Dex, Huawai desktop mode, or the upcomping LG desktop mode.
It would be nice to turn on desktop mode on these screens. It must be perfectly feasible, since the UI itself, e.g. tabs, already change according to the monitor.
Here is the mobile layout.

Here is the desktop layout, that switches on automatically.

Because #100 was merged with this issue:
I asked for the exact opposite: Enable phone mode (with tab switcher and groups) for Tablets.
Maybe it would be a good idea to bring an option with three selections:

device default
force phone mode
force tablet/desktop mode

Github release Kiwi v116 finally got this ! You can enable it on Settings -> Tab switcher -> Desktop


RFM - qTox

Open source package qTox is already in the choco repo. However the version is 1.14.1.
https://chocolatey.org/packages/qtox
Latest available is 1.16.3.
https://github.com/qTox/qTox/releases/download/v1.16.3/setup-qtox-x86_64-release.exe
Download website: https://tox.chat/download.html
Requesting update.

how can i add an enhanced version of qtox to the chocolatey repo packages?
https://github.com/Zoxcore/qTox_enhanced
it's qtox with updated toxcore and enhanced features.


Update virtual-machines-common-prepay-reserved-vm-instances.md

Updating the link to the Mange Azure Reserved Virtual Machine Instances document, as it only linked to the main RI product page.

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

Not entirely sure I got the link reference formatted properly, so let me know if that needs to be changed. Never can remember how they are supposed to be referenced.

@vikramdesai01 - Would you review the proposed changes?  Thanks


pub.dev Api reference only displaying v1,v2,v3,v4,v5 section headers.

First and foremost, this package is awesome!
Went to the docs today to look at pub/sub api reference, and noticed all the section headers are missing.(I've attached a screen shot down below.)
I was still able to find pub/sub via cmd+f on macos, however I experienced a broken link and a 404 when i selected "API Details" at the route "https://pub.dev/documentation/googleapis/latest/pubsub.v1/pubsub.v1-library.html", however I noticed the route just needed a little adjusting from "." to "_" within the separating of the version number. Heres the link that worked for me "https://pub.dev/documentation/googleapis/latest/pubsub_v1/pubsub_v1-library.html".
Not 100 percent sure if this is an issue on pub.dev's side of things but wanted to put it on here just incase.
Thank you for the awesome package!!

Known problem. See https://github.com/dart-lang/dartdoc/issues/1658 Thankfully you can scan the main list on the left to get to the API you want.

@kevmoo should we consider adding the library statements back? They are pretty harmless, but make dartdoc output prettier :D

Changing the library statements also broke all the links on the README page :see_no_evil:


SOV-1027: Wallet connection flow integrate mobile component

https://sovryn.atlassian.net/browse/SOV-1027

There is no border radius for the mobile version but there should be according to the design (and it's also in the desktop version). Also, the dialog title doesn't match the design.
Implementation:

Design:


Provide a way to set the initial 'file format'

As far as I understand there is no obvious way to set an initial value for the "file format" drop down.
It would be nice to have a way to provide one.

If there is only one choice it is selected. It would not be too hard to add method that would return initial data:
https://github.com/django-import-export/django-import-export/blob/master/import_export/admin.py#L240

Are you interest in a PR that would allow to set the initial data?

Yes, this seems nice to have

It's on our feature list at work, to pre-select the correct file format value based on the extension of the file uploaded. How did you solve it?


Enable dynamic install of cmdlets

Summary of the new feature / enhancement
For large families of modules like Az, AWS, MSGraph, Office, etc... users do not want to download all the modules when they only use a subset of the cmdlets.  Taking Az as an example, they may determine that the top 5 cmdlets in Az.Compute are implemented and the remaining cmdlets in that module are stubs.  When a stub cmdlet is run, it either prompts to confirm installing the necessary sub-module or automatically installs based on some configuration setting.  The arguments passed to the cmdlet are then passed to the installed cmdlet to execute.
Proposed technical implementation details (optional)
Need to consider:

Can we avoid changes in PS7 engine to support this?
How will stubs get registered so PSGet is aware of them (maybe something in PrivateData?)
If stubs exist in their own module, but is an older version, then the real implementation will automatically be used as long as it has a newer version

I don't really see the benefit of installing X module manually just for a percentage of cmdlets to be fake that requires another automated install actually work. Instead of having module authors create fake cmdlets why not just ask module authors break up their modules into more manageable chunks?
It that is done then no code changes are required for PowerShell or PowerShellGet. To me it just sounds like this is trying to be a complicated workaround for trying to shove too many cmdlets into one module.

The stub behaves like an alias because the cmdlet appears to be part of the module containing the stub, not the submodule. The stub is just an alias for a yet-not-installed cmdlet.
PS> New-Alias -Name Get-TheData -Value Az.Submodule\Get-TheData -DeferInstallation

And disable deferred installation
PS> $DeferInstallationPreference = 'Disabled`'

The stub behaves like an alias because the cmdlet appears to be part of the module containing the stub, not the submodule. The stub is just an alias for a yet-not-installed cmdlet.
PS> New-Alias -Name Get-TheData -Value Az.Submodule\Get-TheData -DeferInstallation

And disable deferred installation
PS> $DeferredInstallationPreference = 'Disabled`'


Issues while adding custom action components

I've posted this issue here as well as on the main adminjs repository because I seem to have issues on the upload components as well due to custom action components

Hello, I was adding some custom action components to a record, namely "approve" and "reject" to approve or reject a member.
My issues are:
- Issues in the upload components:
Error: Component "UploadShowComponent" has not been bundled, ensure it was added to your ComponentLoader instance (the one included in AdminJS options).
(and errors like this in the edit and list as well)
But when I remove the action components, i.e. not add the custom action components, then upload components work fine without any error.
- Issues in the action components:
The error says:
You have to implement action component for your Action
But I have implemented action component exactly like what is shown in the documents.
Given below are my code blocks:
Here's the component loader:
import { ComponentLoader } from "adminjs";

import path from "path";

const componentLoader = new ComponentLoader();

const accept_path = path.resolve("components/ApproveMember.jsx");
const reject_path = path.resolve("components/RejectMember.jsx");

const Components = {
  ApproveMember: componentLoader.add("ApproveMember", accept_path),
  RejectMember: componentLoader.add("RejectMember", reject_path),
};

export { componentLoader, Components };

( I used path.resolve because without using it it was showing 'file doesn't exist' in windows due to extra slashes at the beginning so I had to convert the path to absolute )
No errors were shown during bundling files.
Here's the admin options:
import News from "./resources/news.resource.js";
import Notice from "./resources/notice.resource.js";
import Download from "./resources/download.resource.js";
import About from "./resources/about.resource.js";
import Team from "./resources/team.resource.js";
import Member from "./resources/member.resource.js";
import { componentLoader } from "./component-loader.js";

const adminOptions = {
  resources: [News, Notice, Download, About, Team, Member],
  componentLoader: componentLoader,
  logoutPath: "/admin/logout",
  rootPath: "/admin",
};

export default adminOptions;

Here's the index.js:
import express from "express";
import mongoose from "mongoose";
import dotenv from "dotenv";
import authRoutes from "./routes/auth.route.js";
import newsRoutes from "./routes/news.route.js";
import noticeRoutes from "./routes/notice.route.js";
import downloadRoutes from "./routes/download.route.js";
import aboutRoutes from "./routes/about.route.js";
import teamRoutes from "./routes/team.route.js";
import memberRoutes from "./routes/member.route.js";
import AdminJS from "adminjs";
import AdminJSExpress from "@adminjs/express";
import * as AdminJSMongoose from "@adminjs/mongoose";
import Connect from "connect-mongodb-session";
import session from "express-session";
import User from "./models/user.model.js";
import path from "path";

import bcryptjs from "bcryptjs";

import adminOptions from "./admin.options.js";

import * as url from "url";

const __dirname = url.fileURLToPath(new URL(".", import.meta.url));

dotenv.config();

var database;

mongoose
  .connect(process.env.MONGO_URI)
  .then((x) => {
    database = x;
    console.log("Connected to MongoDB");
  })
  .catch((error) => {
    console.error("Error connecting to MongoDB: ", error);
  });

const ADMIN_USER = await User.findOne({ type: "admin" });

const authenticate = async (email, password) => {
  if (
    email === ADMIN_USER.username &&
    bcryptjs.compareSync(password, ADMIN_USER.password)
  ) {
    return Promise.resolve(ADMIN_USER);
  }
  return null;
};

AdminJS.registerAdapter({
  Resource: AdminJSMongoose.Resource,
  Database: AdminJSMongoose.Database,
});

const start = async () => {
  const app = express();
  app.use(express.json());
  app.use(express.static(path.join(__dirname, "../client/public")));
  app.use(express.static(path.join(__dirname, "../members")));

  const admin = new AdminJS(adminOptions);

  const ConnectSession = Connect(session);
  const sessionStore = new ConnectSession({
    uri: process.env.MONGO_URI,
    collection: "sessions",
  });

  const adminRouter = AdminJSExpress.buildAuthenticatedRouter(
    admin,
    {
      authenticate,
      cookieName: "adminjs",
      cookiePassword: process.env.SESSION_SECRET,
    },
    null,
    {
      store: sessionStore,
      resave: true,
      saveUninitialized: true,
      secret: process.env.SESSION_SECRET,
      cookie: {
        httpOnly: process.env.NODE_ENV === "production",
        secure: process.env.NODE_ENV === "production",
      },
      name: "adminjs",
    }
  );

  app.use(admin.options.rootPath, adminRouter);

  admin.watch();

  app.listen(3000, () => {
    console.log("Server is running on http://localhost:3000");
    console.log(
      `AdminJS started on http://localhost:3000${admin.options.rootPath}`
    );
  });

  app.use("/api/auth", authRoutes);
  app.use("/api/news", newsRoutes);
  app.use("/api/notices", noticeRoutes);
  app.use("/api/downloads", downloadRoutes);
  app.use("/api/abouts", aboutRoutes);
  app.use("/api/teams", teamRoutes);
  app.use("/api/members", memberRoutes);

  app.get("/", (req, res) => {
    res.send("Go to /admin for adminpanel");
  });

  app.use((err, req, res, next) => {
    const statusCode = err.statusCode || 500;
    const message = err.message || "Internal Server Error";
    res.status(statusCode).json({
      success: false,
      statusCode,
      message,
    });
  });
};

start();

below is the code for member.resource where I tried to implement custom actions:
import Member from "../models/member.model.js";
import { componentLoader, Components } from "../component-loader.js";

import { privateLocalProvider } from "../upload-provider.js";
import uploadFeature from "@adminjs/upload";
import path from "path";
import fs from "fs";

export default {
  resource: Member,

  options: {
    actions: {
      approve: {
        icon: "Check",
        label: "Approve",
        actionType: "record",
        component: Components.ApproveMember,
        isVisible: (context) => context.record.get("isApproved") === false,
        handler: async (request, response, context) => {
          request.method = "post";
          return {
            record: context.record.toJSON(context.currentAdmin),
          };
        },
      },
      reject: {
        icon: "Close",
        label: "Reject",
        actionType: "record",
        component: Components.RejectMember,
        isVisible: (context) => context.record.get("isApproved") === false,
        handler: async (request, response, context) => {
          console.log("Reject action");
          return {
            record: context.record.toJSON(context.currentAdmin),
          };
        },
      },
    },

    properties: {
      _id: {
        isVisible: { list: false, show: true, edit: false, filter: false },
      },
      first_name: {
        isVisible: { list: true, show: true, edit: true, filter: true },
        position: 1,
      },
      last_name: {
        isVisible: { list: true, show: true, edit: true, filter: true },
        position: 2,
      },
      isNew: {
        isVisible: { list: false, show: true, edit: true, filter: true },
      },
      isApproved: {
        isVisible: { list: true, show: true, edit: true, filter: true },
      },
      membership_number: {
        isVisible: { list: false, show: true, edit: true, filter: true },
      },
      membership_date: {
        isVisible: { list: false, show: true, edit: true, filter: false },
      },
      membership_certificate: {
        isVisible: { list: false, show: false, edit: false, filter: false },
      },
      membership_certificate_file: {
        isVisible: { list: false, show: true, edit: true, filter: false },
      },
      voucher: {
        isVisible: { list: false, show: false, edit: false, filter: false },
      },
      voucher_file: {
        isVisible: { list: false, show: true, edit: true, filter: false },
      },
      email: {
        isVisible: { list: false, show: true, edit: true, filter: true },
      },
      phone_number: {
        isVisible: { list: false, show: true, edit: true, filter: true },
      },
      district: {
        isVisible: { list: true, show: true, edit: true, filter: true },
      },
      municipality: {
        isVisible: { list: false, show: true, edit: true, filter: true },
      },
      ward: {
        isVisible: { list: false, show: true, edit: true, filter: true },
      },
      school_name: {
        isVisible: { list: true, show: true, edit: true, filter: true },
      },
      school_address: {
        isVisible: { list: true, show: true, edit: true, filter: false },
      },
      school_appointment_date: {
        isVisible: { list: false, show: true, edit: true, filter: false },
      },
      appointment_type: {
        isVisible: { list: false, show: true, edit: true, filter: false },
      },
      createdAt: {
        isVisible: { list: false, show: true, edit: false, filter: false },
      },
      updatedAt: {
        isVisible: { list: false, show: true, edit: false, filter: false },
      },
    },
  },
  features: [
    uploadFeature({
      componentLoader: componentLoader,
      provider: privateLocalProvider,
      properties: {
        key: "voucher",
        bucket: "bucket",
        file: "voucher_file",
        filePath: "filePath",
        filesToDelete: "filesToDelete",
      },
      validation: {
        mimeTypes: ["image/jpeg", "image/png", "image/jpg"],
      },
      uploadPath: (record, filename) => {
        const firstName = record.get("first_name");
        const lastName = record.get("last_name");
        const extension = path.extname(filename);
        let baseFilename = `${firstName}-${lastName}`;
        let index = 0;
        let uniqueFilename = `${baseFilename}${extension}`;
        const folderPath = "./members/uploads/vouchers";

        // Function to check if the file exists synchronously
        const fileExistsSync = (filePath) => {
          try {
            fs.accessSync(filePath, fs.constants.F_OK);
            return true;
          } catch (err) {
            return false;
          }
        };

        // Check for file existence and create a unique filename
        while (fileExistsSync(path.join(folderPath, uniqueFilename))) {
          index += 1;
          uniqueFilename = `${baseFilename}-${index}${extension}`;
        }

        return `vouchers/${uniqueFilename}`;
      },
    }),

    uploadFeature({
      componentLoader: componentLoader,
      provider: privateLocalProvider,
      properties: {
        key: "membership_certificate",
        bucket: "_bucket",
        file: "membership_certificate_file",
        filePath: "_filePath",
        filesToDelete: "_filesToDelete",
      },
      validation: {
        mimeTypes: ["image/jpg", "image/jpeg", "image/png"],
      },
      uploadPath: (record, filename) => {
        const firstName = record.get("first_name");
        const lastName = record.get("last_name");
        const extension = path.extname(filename);
        let baseFilename = `${firstName}-${lastName}`;
        let index = 0;
        let uniqueFilename = `${baseFilename}${extension}`;
        const folderPath = "./members/uploads/certificates";

        // Function to check if the file exists synchronously
        const fileExistsSync = (filePath) => {
          try {
            fs.accessSync(filePath, fs.constants.F_OK);
            return true;
          } catch (err) {
            return false;
          }
        };

        // Check for file existence and create a unique filename
        while (fileExistsSync(path.join(folderPath, uniqueFilename))) {
          index += 1;
          uniqueFilename = `${baseFilename}-${index}${extension}`;
        }

        return `certificates/${uniqueFilename}`;
      },
    }),
  ],
};

below is the code for ApproveMember:
import React from "react";
import { Box, FormGroup, Label, Input, Button } from "@adminjs/design-system";
import Member from "./models/member.model.js";

const ApproveMember = (props) => {
  // const { record } = props;
  // const handleSubmit = async (event) => {
  //   event.preventDefault();
  //   const formData = new FormData(event.target);
  //   const membershipNumber = formData.get("membership_number");
  //   await Member.findOneAndUpdate(
  //     { _id: record.get("_id") },
  //     { membershipNumber }
  //   );
  // };
  console.log("from component : ", props);
  return (
    <Box variant="white" width={1 / 2} p="lg" m="auto" mt="xxl">
      <form onSubmit={handleSubmit}>
        <FormGroup>
          Membership Number
          <Input
            id="membership_number"
            name="membership_number"
            placeholder="Enter membership number"
          />
        </FormGroup>
        <Button variant="primary" mt="md" type="submit">
          Submit
        </Button>
      </form>
    </Box>
  );
};

export default ApproveMember;

and given below is the code for RejectMember:
import React from "react";
import {
  Box,
  FormGroup,
  Label,
  TextArea,
  Button,
} from "@adminjs/design-system";

const RejectMember = () => {
  return (
    <Box variant="white" width={1 / 2} p="lg" m="auto" mt="xxl">
      <form>
        <FormGroup>
          Rejection Message
          <TextArea
            id="rejection_message"
            name="rejection_message"
            placeholder="Enter rejection message"
          />
        </FormGroup>
        <Button variant="primary" mt="md" type="submit">
          Submit
        </Button>
      </form>
    </Box>
  );
};

export default RejectMember;

Any help would be highly appreciated.

I solved it. I used .tsx components instead of .jsx components. However, in the documentation it said .jsx would work but it didn't work out for me.


error jump when execute on a unique word

I encountered a similar problem so I want to provide more descriptions here.
When there's only one match for the current word, when pressing "*" on this word, it will actually execute "``" to jump to the last position in jumplist, which is a strange behavior.

Before 07394361aa045d2d8d3d461ae297d95a949a67f9 or after it?

After. I use neovim head version.

After. I use neovim head version.

Let me know if the patch doesn't help.

@junegunn Works well. Thanks!


Fixes #314 - Clarified handling of viewport and sublayouts.

@danyeaw pointed out that viewport was being exposed at the interface layer, which lead to some cleanups around assigning viewport.
However, the real fix was around the native widget behind Box - since it's a toga widget, every box was getting a Gtk resize signal, leading to a redraw. However, only the top level widget needs to recompute the layout, so the layout can be ignored for every box except the one that has a viewport (which flags it as the top-level widget).

I think I've sorted out the box allocation issue - and probably cleaned up some messages related to other widgets along the way. The problem was that on the first pass, widgets were being rendered before they were hinted - or, at least, before the hinting set a meaningful size. Adding an explicit default rehint method that calls get_preferred_height/width gets around this problem.

LGTM! :tada:


Resources for the dockers

Is there a way to increase mem/cpu for the local dockers in this environment? seems like when the workers are working in pythonOperator, the scheduler seems to miss heartbeats.
I believe this is CPU/mem issue.
Thank you

Yes, I would need this too!


Make declare interface return Result

Which component is your feature related to?
Forge
Feature Request
In case that the contract is already declared the function fails.
We should allow user to handle this error

We decided not to do that since it is what happens on starknet
cc @MaksymilianDemitraszek


Is there any page for Windows 11 Bluetooth support?

Is there a page to summarize Bluetooth version and profile support in Windows 11?
And the page only listed Version 5.0. However, 5.2 and 5.3 have been announced. When will the page be updated to reflect the support on latest BT version?

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

ID: 27a0ed90-dff4-f356-1853-de669b0d1540
Version Independent ID: d846c2ad-9b05-8e61-45f0-19e50734f0f3
Content: Bluetooth version and profile support in Windows 10 - Windows drivers
Content Source: windows-driver-docs-pr/bluetooth/general-bluetooth-support-in-windows.md
Product: windows-hardware
Technology: bluetooth
GitHub Login: @mhopkins-msft
Microsoft Alias: mhopkins

Hi @guliteb
I'm working on getting the information to update this page to Windows 11.
Thanks for your patience.
~ Mark

Hi @guliteb,
I've updated the following topic to reflect Windows 11 Bluetooth support: Bluetooth Version and Profile Support in Windows 11
I've moved the Windows 10 Bluetooth information to this page: Bluetooth Version and Profile Support in Previous Windows Versions
Thank you for your helping in making our docs better!
~ Mark


[#211] Error message for incomplete addresses + partial address filtering

Set some config options so that the autocomplete form will (mostly) return complete addresses. Searching for a zip code or city should now return either nothing in the list, or a list of businesses with full addresses that start with those strings. EX: 90210 Car Rental, California Donuts, California Science Center, etc.
There are some weird edge cases where it still returns just a city, state, and zip code (like searching 'Burbank Airport'):

In those cases we now have an error message:

@ahrGNUts I'm getting a branch conflict, can you merge master in to yours and update it, then resubmit? Let me know if there's a better way to resolve! Thanks for your help.

@kate-rose Took a look at the conflict and resolved it. I think this should be good to go now?

Hooray! It merged, thanks @ahrGNUts.


default game-directory not default

I have to specify --game-directory ~/Library/Application\ Support/minecraft to get the default behaviour despite what it says in README.md. Any chance this is broken, or am I doing something wrong?

Hmm - that seems to be my bad, looks like I never changed the default behavior. The default is in fact a temporary directory. I'll change the README for now and try to get a new version out at some point since I did want that to default to the actual folder.

All set, I just released a new version that defaults to the right directory


Adds EM Stage Processor class structures

This PR is related to #278 needs to be merged after merging #278.
Signed-off-by: bharathappali<EMAIL_ADDRESS>

@dinogun as #278 is merged #279 is ready for review. Can I please have this reviewed?

Description:
The current EM implementation has the Executor service and this PR adds two stage processors,  which are responsible for making the regular and scheduled transitions. Stage Processors are the classes that implement Callable and these are given to the executor service to start them. The PR currently adds the base structure for the Stage Processors (EMStageProcessor, EMScheduledStageProcessor)


Add support for temporary channels

This commit adds the support for temporary live channels if there is
something being broadcasted there. These channels are typically used
during sport events like Olympics or Ice Hockey World Championships.
Resolves #32

Hoj, je potreba zvysit verzi v addon.xml, aby se zmena projevila a zaroven popis do changelog.txt k jakym zmenam doslo.

Hotovo


Document the use and difference between flex and flexGrow

In 0.36 and 0.39 a number of changes were introduced to the way the flexbox in RN works.
Before the flexGrow property was introduced, we often laid out our flex boxes by applying flex : 1.
With 0.36 and 0.39 this can lead to collapsing UIs (https://github.com/facebook/react-native/issues/11441). Some of these situations lead to warnings in the console, others do not and just seem unexpected and weird.
To me, it is now unclear when to use flex (if at all) and when to use flexGrow. Judging by the limited documentation on RN and the more extensive of Yoga, it seems the properties seem to overlap. And the flex property doesn't occur in Yoga. Since in RN all Views are flexboxes by default, flex doesn't need to be "turned on" (css => display : flex). So, why have flex at all? Should everything now be flexGrow?
Since I'm wasting a lot of my time trying to get my UI to work properly again after these changes, I would appreciate some clear documentation on when to use one or the other.
I'll even write the documentation if you explain it to me.

The ~40 lines starting here through YGNodeStyleSetFlex are the best explanation of flex vs flexGrow I've seen: https://github.com/facebook/yoga/blob/master/yoga/Yoga.c#L363.
At a glance I'm not sure what the difference between flexBasis = 0 and flexBasis = YGUndefined are, though. @emilsjolander would you be able to explain that quickly to me?

Flexbasis = 0 is 0px
FlexBasis = YGUndefined is auto

Thanks!
Reading the spec https://drafts.csswg.org/css-flexbox-1/#flex-flex-basis flex-basis: auto means that the layout engine looks at height (or width depending on the flex direction) and if it's unspecified then it looks at the intrinsic size of the content.
@mschipperheyn I think this thread gives you enough information to start writing docs on it? Also see this from the spec:

Still doesn't make sense to me..

This is still confusing to me too...

agreed 👆

please, someone, explain the difference between flex and flexGrow in react-native

I spent a day or two trying to figure this out.  Here is what I came up with:
flex vs flexGrow vs flexShrink vs flexBasis in React Native?
Hope it helps.

@AggarwalAnkit
Flex is a parent property, and applies to its children. Just like how flexAlign will make as set of children align in a broad way.
FlexGrow is a self property. Similar to how alignSelf works.
The biggest change is that you can't blanket apply flex to a parent element and expect all of the children to just assume the proportions of the container. I've found that yo have to go in, and add flexGrow or flexShrink to the child elements.

@AggarwalAnkit
If you look here, https://codepen.io/enxaneta/full/adLPwv/, in the css usage of the 'flex' property, it's an all encompassing shorthand property comprised of flex-grow flex-shrink and flex-basis.
Why React Native doesn't treat it in this way? I'm not sure.

@johnchourajr that is what my question was. Flex in react-native is not same as flex in CSS where flex = flex-grow flex-shrink flex-basis. @johnchourajr @wootwoot1234 thanks for the pointer. I will read more and update here.

Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:

Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.

It's still confusing for me the difference between flex: 1 and flexGrow: 1. Could someone explain the difference?

Maybe this will help.
https://stackoverflow.com/questions/43143258/flex-vs-flexgrow-vs-flexshrink-vs-flexbasis-in-react-native
On Sat, Nov 11, 2017 at 6:27 AM Héliton Nordt<EMAIL_ADDRESS>wrote:

It's still confusing for me the difference between flex: 1 and flexGrow: 1.
Could someone explain the difference?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/issues/11565#issuecomment-343668906,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZnGS7WefQrYoz8x3Si2VqR5tlGs-A7ks5s1a7jgaJpZM4LSD4F
.

@wootwoot1234 I found this link too, but it's still not clean, I would like an "official" explanation.

The link mentioned by @wootwoot1234  doesn't answer the main questions of this thread:

Why React Native doesn't follow CSS standard where flex is just a shorthand for flex-grow flex-shrink and flex-basis? Are there any benefits of the current implementation?
What are the official differences between flex and flexGrow in RN? Yes, it's possible to investigate this by testing code snippets, but we need an expected behaviour, not an observed one.

I don't understand because this issue was closed. I think it's fundamental to understand the differences between flex: 1 and flexGrow: 1.

I just found I had to set a ScrollView to flexGrow: 1 instead of flex: 1 to get it to scroll properly on Android, but I have no idea why. I'd love to understand the difference.


Can't run CMakeGenerate after fresh install

Bug description
After installing the plugin through Vundle, I tried to run :CmakeGenerate and I get the following error:

To Reproduce

Install
2.Open vim
3.Run :CMakeGenerate

Expected behavior
Expect to get the initial cmake files
Behavior with minimal .vimrc
Screenshots

Other info

OS: Ubuntu 22.04.1 LTS
Vim/Neovim version: VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 13 2022 09:35:02)
Included patches: 1-3995, 4563, 4646, 4774, 4895, 4899, 4901, 4919
Vim-CMake version (5th line in :help cmake): 0.11.0
CMake version (cmake --version): 3.22.1

Additional context
Add any other context about the problem here.

Hi, thanks for reporting this. I did in fact introduce a bug in one of the latest commits. It should be solved now, can you try the latest master please?


Read stacks including zarr

This should enable the plugin to read stacks (z-stacks and timelapse) and solve #2 .
There will be soon another PR to add conversion from list of files to zarr to handle very large data.

This is working and should close #2


FileTosend not found

Hi, i want to choose a photo and send it to the user but c# can not Find  FileToSend !
here is my code for sending photo button :
private void btnPhoto_Click(object sender, EventArgs e)
{
        if (dgReport.CurrentRow != null)
        {
            int chatId = int.Parse(dgReport.CurrentRow.Cells[0].Value.ToString());

            FileStream imageFile = System.IO.File.Open(txtFilePath.Text, FileMode.Open);

            Bot.SendPhotoAsync(chatId, new FileToSend("1234.jpg", imageFile), txtMessage.Text);
        }

    }

and also i had System.IO but still do not recognize :(
.Net Version is 4.5.2

FileToSend is no longer used by the library. Look at the migration guide: https://github.com/TelegramBots/Telegram.Bot/blob/master/docs/wikis/migration/v13-to-v14.md


WIP: Add support for loading properties from a configuration file

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
Change overrides loading to load from a more general configuration file format, which allows for properties to be specified. These properties are exposed directly to the caller of OpenVeriStandConnection.vi.
Why should this Pull Request be merged?
This functionality can be used to load things like the FPGA IP as discussed in #6. Any machine/test specific information not found in the system definition could be loaded using this mechanism.
What testing has been done?
Confirmed that a property could be read from a file when calling OpenVeriStandConnection.vi.

IMO not ready for a final review, but @csjall might find this useful. Requires updating existing overrides to specify they are overrides (could be default?), and specifying properties as such. An example configuration file is below.
[IP Address]
path=/Document/Root/TargetSections/Target[@Name="Controller"]/Properties/Property[@Name="IP Address"]/String/text()
value=<IP_ADDRESS>
type=override

[Other Resource]
key=foo
value=bar
type=property

Need to re-evaluate implementation based on possible .NET configuration

I assume you are thinking about using the XMLReader.


Changes to remove the 'deprecated_vlan_id' deviation from metadata.proto

Changes to remove the 'deprecated_vlan_id' deviation from metadata.proto as it is no longer required now

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 55.5%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1983

Relevant Lines:
3573

💛  - Coveralls

Pull Request Functional Test Report for #3122 / 13f573cae5d9a1dc5efe3a1d7aee848e99953833
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

TE-17.1: VRF selection policy driven TETE-3.3: Hierarchical weight resolutionRT-3.1: Policy based VRF selectionRT-3.2: Multiple <Protocol, DSCP> Rules for VRF SelectionTE-14.2: encap and decap scaleTE-14.1: gRIBI ScalingTE-3.31: Hierarchical weight resolution with PBFTE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during Failover

Cisco 8000E

TE-17.1: VRF selection policy driven TETE-3.3: Hierarchical weight resolutionRT-3.1: Policy based VRF selectionRT-3.2: Multiple <Protocol, DSCP> Rules for VRF SelectionTE-14.2: encap and decap scaleTE-14.1: gRIBI ScalingTE-3.31: Hierarchical weight resolution with PBFTE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during Failover

Cisco XRd

TE-17.1: VRF selection policy driven TETE-3.3: Hierarchical weight resolutionRT-3.1: Policy based VRF selectionRT-3.2: Multiple <Protocol, DSCP> Rules for VRF SelectionTE-14.2: encap and decap scaleTE-14.1: gRIBI ScalingTE-3.31: Hierarchical weight resolution with PBFTE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during Failover

Juniper ncPTX

TE-17.1: VRF selection policy driven TETE-3.3: Hierarchical weight resolutionRT-3.1: Policy based VRF selectionRT-3.2: Multiple <Protocol, DSCP> Rules for VRF SelectionTE-14.2: encap and decap scaleTE-14.1: gRIBI ScalingTE-3.31: Hierarchical weight resolution with PBFTE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during Failover

Nokia SR Linux

TE-17.1: VRF selection policy driven TETE-3.3: Hierarchical weight resolutionRT-3.1: Policy based VRF selectionRT-3.2: Multiple <Protocol, DSCP> Rules for VRF SelectionTE-14.2: encap and decap scaleTE-14.1: gRIBI ScalingTE-3.31: Hierarchical weight resolution with PBFTE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during Failover

Openconfig Lemming

TE-17.1: VRF selection policy driven TETE-3.3: Hierarchical weight resolutionRT-3.1: Policy based VRF selectionRT-3.2: Multiple <Protocol, DSCP> Rules for VRF SelectionTE-14.2: encap and decap scaleTE-14.1: gRIBI ScalingTE-3.31: Hierarchical weight resolution with PBFTE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during Failover

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

TE-17.1: VRF selection policy driven TETE-3.3: Hierarchical weight resolutionRT-3.1: Policy based VRF selectionRT-3.2: Multiple <Protocol, DSCP> Rules for VRF SelectionTE-14.2: encap and decap scaleTE-14.1: gRIBI ScalingTE-3.31: Hierarchical weight resolution with PBFTE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during Failover

Cisco 8808

TE-17.1: VRF selection policy driven TETE-3.3: Hierarchical weight resolutionRT-3.1: Policy based VRF selectionRT-3.2: Multiple <Protocol, DSCP> Rules for VRF SelectionTE-14.2: encap and decap scaleTE-14.1: gRIBI ScalingTE-3.31: Hierarchical weight resolution with PBFTE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during Failover

Juniper PTX10008

TE-17.1: VRF selection policy driven TETE-3.3: Hierarchical weight resolutionRT-3.1: Policy based VRF selectionRT-3.2: Multiple <Protocol, DSCP> Rules for VRF SelectionTE-14.2: encap and decap scaleTE-14.1: gRIBI ScalingTE-3.31: Hierarchical weight resolution with PBFTE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during Failover

Nokia 7250 IXR-10e

TE-17.1: VRF selection policy driven TETE-3.3: Hierarchical weight resolutionRT-3.1: Policy based VRF selectionRT-3.2: Multiple <Protocol, DSCP> Rules for VRF SelectionTE-14.2: encap and decap scaleTE-14.1: gRIBI ScalingTE-3.31: Hierarchical weight resolution with PBFTE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during Failover

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 55.5%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1983

Relevant Lines:
3573

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 55.5%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1983

Relevant Lines:
3573

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 55.5%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1983

Relevant Lines:
3573

💛  - Coveralls

The code should also have been modified to remove obsolete if/else conditions, since this was used only by a single vendor.
cc @dplore @cfernanz


Using this module with Angular Cordova

I'd like to use the cordova-ble module with ionic using ngCordova
What is the procedure to make the module ngCordova compatible ?

What is the procedure to make the module ngCordova compatible?
I don't know; have never used ngCordova. I suppose you can ask them to add it.

However, they have already added another BLE module, based on the plugin cordova-plugin-ble-central. You could try that.


Combat AI for Party Members

How about tweaking the NPC combat ai to allow the avatar's companions to fight without guidance. Might be possible. Would certainly be appreciated by many who can't handle handling 8 party members in each combat.

Nice idea.
I was thinking about making something similar to the SMS combat. But adding AI would be cool too. Perhaps make it a toggle like active player.
(How did I miss all these issues earlier?)

It couldn't be thaaaat hard. If the monsters can do it, NPCs could do it too. Code could be repurposed/shared to conserve space. A toggle would be cool. I think it would revolutionize U4 though. Managing 8 people in combat is just something that modern, pampered (time constrained?) gamers cannot handle.
(These are all issues I shelved long ago, in favor of quest/addon critical stuff for Tott. Can't add everything!)

I always thought this would be a nice feature and would make the game more enjoyable


Http mock update

PR  https://github.com/Azure/azure-functions-java-library/pull/60 udpated HttpResponseMessage API.
This PR is updating the archetype to consume API changes

Note: PR is not merged into library repo yet due to github issues.

Library changes merged in and published to sonatype repo
https://oss.sonatype.org/content/repositories/commicrosoftazure-2669

Added Snapshot repository. Please publish snapshot version of the archetype and maven plugin with the latest changes and update the versions as well

I have tested project builds with latest bits from archetype, plugin and azure-functions-java-library

Addressed CR. Please review


Add first host and first Service pages are missing padding

Rancher Version: master 7/8
Steps to Reproduce:

Create a new environment & go to that environment (see add first host)
Add host (see Add first Service)

Results: Both the Add First Host & Add First Service pages are messed up

Expected:  Nice looking pages
Mobile View of pages are also messed up:

Same thing as other issue where all the padding disappeared on "wells"..

Version - master 7/12


How to make setup easier on multiple devices

Required Info

Camera Model
D400

Firmware Version
2.49.0

Operating System & Version
Mendel Linux

Kernel Version (Linux Only)
4.14.98-imx

Platform
Coral Dev Board

Issue Description
Hey everybody,
I was wondering what the suggested way is to use the compiled version of pyrealsense2 on multiple devices with exactly the same architecture. I compiled everything on one of our Coral Dev Boards and everything works great. Now we have to setup a bunch more and I was wondering if there is a way to avoid the compilation process every time.
So far I've tried to copy only the files in the site-packages/pyrealsense2 folder but then some .so libraries are missing. If I copy them as well to the right location it seems something else is off.
I'm not an expert in C++ and Linux so I was wondering if there is an easier way (e.g. create a python wheel)?

Hi @brunovollmer   Would it be possible for you to create an OS backup image of the Coral board that could be written to an SD card so that the complete image could be flashed onto the other boards with a tool such as BalenaOS?  If so, the link below provides instructions for how this might be accomplished.
https://stackoverflow.com/questions/60894434/how-do-i-boot-into-mendel-os-on-the-sdcard-with-the-coral-dev-board
BalenaOS provide a Coral Dev Board guide for deploying an image to multiple devices by defining a device 'fleet'.
https://www.balena.io/docs/learn/getting-started/coral-dev/python/

Hey @MartyG-RealSense,
thanks for the quick reply. Your first idea makes sense to me. What I'm wondering though is how to integrate the intelrealsense library with the image that move to the sdcard?
Bruno

A complete backup image of a system should also contain whatever is installed on it as well as the OS and its settings.  Intel demonstrate this principle in their open-source networking white paper, where they provide a complete image file for Raspberry Pi 4 that installs the SDK and all the networking-related files when the image is flashed onto a Pi's SD card.
https://dev.intelrealsense.com/docs/open-source-ethernet-networking-for-intel-realsense-depth-cameras#section-2-3-preparing-the-sd-card

Hi @brunovollmer  Do you require further assistance with this case, please?  Thanks!

@MartyG-RealSense I will look further into this in the future. Thanks

Thanks very much @brunovollmer for the update!


[UI] Meshery UI stoped working on clicking on any filter card in Filters page

Current Behavior
On clicking on any filter card on the filters page whole Meshery UI stopped working
https://user-images.githubusercontent.com/71271069/234620967-ea3c59f9-d4ef-4eee-8391-169c1089f9a5.mov
Desired Behavior

Screenshots/Logs

Environment

Browser: Chrome Safari Firefox
Host OS: Mac Linux Windows
Meshery Server Version: stable-v
Meshery Client Version: stable-v
Platform: Docker Kubernetes

Contributor Guides and Handbook

🎨 Wireframes and designs for Meshery UI in Figma
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@Abhishek-kumar09

@Yashsharma1911 This is working fine on my machine.
https://user-images.githubusercontent.com/31584129/235614476-974d347b-c353-4765-bf90-82de37c83016.mp4

Hmm, actually in playground as well, I could see it happening. @UsmanDev09 Would you try tha same thing on playground
There is definately an issue related to memory leak or call-stack exceeding.

@leecalcote @Abhishek-kumar09
Can I take up this issue if no one's working on it? 🛩

This issue needs to be addressed as promptly as possible, @meshery/maintainers

@anshgoyalevil if you're able to knock it out quickly before a maintainer comes around, that'd be great. I'll leave it unassigned in the meantime, though, so that a maintainer can quickly grab it.

@leecalcote
Sure, I am giving it a try in my local machine. Will update here, if I could resolve it quickly 🛩

Most excellent, @anshgoyalevil 👍


How can I  play video from bytes witch it stores in db

I need way to play video from bytes ! why? I have and db witch stores the bytes of the the movies and I dont want to create file to my use can access it ! I want the file be in memory then its delete please help me I dont have any idea how to implement it :)

Hi @Abolfazl-MI,
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community#community-grid for resources and asking questions like this. You may also get some help if you post it on Stack Overflow with a minimal code sample that clearly describes your problem.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and we will reopen it.
Thank you

thanks ! you write ! it isnt corect :/


Message issues | no looping | multiple lines not working

Basically it only goes through the "messages.txt" file 1 time so a loop feature would be nice
also u can't make it send messages with more than 1 line and I need to be able to send messages with like 3+ lines so if u could fix that it would really help.

also can u make it so there is a feature u can turn on or off so if a message has been sent it doesn't send another until someone else has sent one, because I'm using this to send my trade message in a server and it spams sometimes and the staff don't like that

also can u make it so there is a feature u can turn on or off so if a message has been sent it doesn't send another until someone else has sent one, because I'm using this to send my trade message in a server and it spams sometimes and the staff don't like that

that would be breaching discord's security to view the messages being sent in the channels. so no.

Basically it only goes through the "messages.txt" file 1 time so a loop feature would be nice
also u can't make it send messages with more than 1 line and I need to be able to send messages with like 3+ lines so if u could fix that it would really help.

yes looping over the messages would lead to infinite loop if u kept the script running which i dont think is a safe feature for the majority since they don't want their account banned.
=> yes, will work on implementing a feature of multiple lines as a single message

ok thanks the multiple lines is the main thing I wanted so if u can say when its done that will be very helpful

Basically it only goes through the "messages.txt" file 1 time so a loop feature would be nice
also u can't make it send messages with more than 1 line and I need to be able to send messages with like 3+ lines so if u could fix that it would really help.

yes looping over the messages would lead to infinite loop if u kept the script running which i dont think is a safe feature for the majority since they don't want their account banned.
=> yes, will work on implementing a feature of multiple lines as a single message

when will u be done with the multiple lines feature?


Prevent delete topics if no managed resource prefixes

Is your feature request related to a problem? Please describe.
By default, if with have an topology.topic.managed.prefixes.0 JulieOps use it to create or delete topics.
But if for some reasons we make a mistake when populate this property, we can delete all topics inside the cluster, there is no guard.
In example if we have an empty property :
topology.topic.managed.prefixes.0=""

When julieOps is executed, all topics will be deleted. It's not confortable for production use.
Describe the solution you'd like
Add another property :
allow.delete.empty.prefixes=false

When true, JulieOps act as now, if a prefix is empty it delete all topics
When false, JulieOps just ignore empty prefixes.

Hi Damien,
certainly being a bit more protective is it always a good idea. Right now three configuration variables can help you protect what the tool can do.

kafka.internal.topic.prefixes (default="_"), but you can add a list in similar fashion as managed.prefixes.
topology.topic.managed.prefixes (default=[]).
allow.topic.delete (default=false)

The first will allow us to tell Julie what she can't manage, so it is like this to avoid any topic started with _, and avoid clearly the root question in your issue.
Because allow.topic.delete is by default false, you have to activate this future knownly.
What left me with the question of what happens if you write an empty topology.topic.managed.prefixes.0="" as you propose in your issue.
Currently the filtering code looks like:
 private boolean matchesPrefixList(String topic) {
    boolean matches =
        managedPrefixes.size() == 0 || managedPrefixes.stream().anyMatch(topic::startsWith);
    LOGGER.debug(String.format("Topic %s matches %s with $s", topic, matches, managedPrefixes));
    return matches;
  }

managedPrefixes.size() will be != 0
managedPrefixes.stream().anyMatch(topic::startsWith) will be true, as it does this when the managedPrefixes is an empty list as you suggest in your issue.

Thinking out loud, what might be meaningful to add is protection and fail at startup saying something like:

You intended to manage a restricted list of topics, but your value is empty, please ammend.

What do you think?

Hi @purbon,
I think your proposal is great. An empty value is not a correct configuration value and should therefore throw an error.
Thank you.

Hi,
Great proposal for me too, its perfect for secure our deployment.
Thanks

The add-on in #522 should do the trick for now.

We just realized (thankfully on a test-cluster), that not having any prefixes defined still deletes all topics.
The change in #522 only tests for an empty value in the prefixes list, but does not test for a completely empty list!


why vitual_ip <IP_ADDRESS>

为什么需要virtual_ip？

because of https://github.com/labring/lvscare , we use light LB for master HA

why vitual_ip <IP_ADDRESS>, you can change it if you don't like the number~


[bug] Popup Window not open issue in macos

Describe the bug
I load the web URL into the Tauri app with the below code:
fn main() {
    use tauri::Manager;
  tauri::Builder::default()
    .setup(|app| {
        app.get_window("main").unwrap().eval(&format!("window.location.replace('{}')", "https://mail.google.com/mail/u/0/")).unwrap();
      Ok(())
    }).run(tauri::generate_context!())
    .expect("error running tauri app");
}

--> In the window system it's showing the popup window on click but the same code not working in the macOS system.
--> It's not showing any error in the console and terminal.
--> I need to open a popup like the below-attached screenshot.
--> I load the web URL so nothing to change in the open popup code.

Reproduction

Run the app.
click on the open popup button.

Expected behavior

Platform and versions
Environment
  › OS: Mac OS 13.2.0 X64
  › Node.js: 16.17.0
  › npm: 8.15.0
  › pnpm: Not installed!
  › yarn: 1.22.19
  › rustup: 1.25.2
  › rustc: 1.68.0
  › cargo: 1.68.0
  › Rust toolchain: stable-aarch64-apple-darwin

Packages
  › @tauri-apps/cli [NPM]: 1.2.3
  › @tauri-apps/api [NPM]: Not installed!
  › tauri [RUST]: 1.2.4,
  › tauri-build [RUST]: 1.2.1,
  › tao [RUST]: 0.15.8,
  › wry [RUST]: 0.23.4,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../src
  › devPath: ../src

App directory structure
  ├─ node_modules
  ├─ src-tauri
  ├─ .vscode
  └─ src

Stack trace
No response
Additional context
No response

Hello if anyone has any idea about this issue please let me know of any other ways to open the social popup in Macos.
I would be glad if anyone can help me with this. Looking forward to your response.
Thanks in Advance


Reminder as to why lockfiles are there

I would like to see a reminder as to why lockfiles are there, which is for repeatability and traceability of build inputs. When things are given, people sometimes start to forget why they are there. And perhaps a note on security patching, how that is achieved. The Yarn/npm choice and flags should be only in code IMHO. Btw, I love that you intend to make an ADR on introducing dependencies, that is a great idea.
Originally posted by @stefaneg in https://github.com/island-is/handbook/pull/3#issuecomment-627846320

Since no one has ever questioned in the last 9 months why the lock file is there and the .lock file itself is required as part of the CI to get the dependencies I think we should not spend time on this.


Profiling could be more informative

As of now:
   ...
     * @param string $token token for the code block
     * @param string $category the category of this log message
     * @see endProfile()
     */
    public static function beginProfile($token, $category = 'application')
    {
        static::getLogger()->log($token, Logger::LEVEL_PROFILE_BEGIN, $category);
    }

The same is for endProfile.
Here $token is just a key to match the corresponding beginProfile and endProfile records.
But for logger $token is message, which can be

 * @param string|array $message the message to be logged. This can be a simple string or a more

 * complex data structure that will be handled by a [[Target|log target]].

When profiling you could wish (and usually it is nesessary) to save additional information related to it - for example object state (often - both for begin and end of profiling).
Of course you can immediately log this info as separate record using log(), but:

later you'll have to seek for log records corresponding to this profiling record to retrieve this info;
its additional overhead which will affect profile timing
object which properties you want to pass as additional info may change between profile and log records, so you need to introduce additional variables to save it state at the moment of profiling to be sure that proper values will be logged;
its additional code.

Could be useful if beginProfile and endProfile could accept the same format as log() (finally - they are just proxy functions for log()).
Formally passing array to beginProfile and endProfile is possible, but is actually restricted by \yii\log\Logger::calculateTimings - as it treats $token only as string for comparison.
For logging there is no problem as \yii\log\Target::formatMessage processes non-string messages by VarDumper::export
IMO - \yii\log\Logger::calculateTimings could be modified.
If $token was passed as string - left as is.
If as array - their could be a constant, a naming convention or configuration parameter for token array key, and the rest of the message could be processed by VarDumper::export

Something like this:
...
    public $tokenKey = 'token';

...
    public function calculateTimings($messages)
    {
...
        foreach ($messages as $i => $log) {
            list($message, $level, $category, $timestamp, $traces) = $log;
            $token = $this->resolveToken($message);
            if ($token === null) {
                continue;
            }
...
            } elseif ($level == Logger::LEVEL_PROFILE_END) {
                if (($last = array_pop($stack)) !== null) {
                    $lastToken = $this->resolveToken($last[0]);
                    if ($lastToken === $token) {
...
    }

    /**
     * @param array|string $message
     * @return string|null
     */
    private function resolveToken(&$message)
    {
        $token = is_string($message) ? $message : ArrayHelper::remove($message, $this->tokenKey, null);

        return $token;
    }


[mc_tasks::AdmittanceTask] Avoid filtering of feedforward velocity

Closes #261
@mehdi-benallegue can you confirm I understood your point correctly? Thanks!

That is perfect!


⚠ Bofrost.at has degraded performance

In b279b3e, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1863 ms

Resolved: Bofrost.at performance has improved in 1ba6f99 after 6 minutes.


Fix parallel discovery

Description
The previously merged #3349 PR wasn't handling parallel discovery correctly for all cases.
Related issue
Fixes AB#1493062
Replaces #3435

I still need to make some manual tests before we merge this PR.

/azp run

/azp run


iOS share screen channels view height

Hello,
Summary
I noticed something annoying when sharing a file to a MatterMost channel, the height of the view when choosing a channel is a bit small comparing to slack and I always end up not choosing the channel I want or clicking outside.
Environment Information

Device Name: iPhone 11 Pro
OS Version: iOS 13.4.1
Mattermost App Version: 1.30.1
Mattermost Server Version: 5.22.1

Steps to reproduce
Try to share any file to a mattermost channel and see the widget height
Observed behavior

Possible fixes
Increase height of sharing widget view

What Mattermost mobile app version are you on? What Mattermost server version are you on?

Mattermost-server: 5.22.1
Mattermost iOS: 1.30.1
I have edited first post to add this info

@esethna can you create a jira ticket for this, the implementation should be easy but I would prefer to have UX confirm the height and to determine if it also applies to the teams list.

+1! I'll let @matthewbirtch create a quick wins ticket for this and specify the height directly.

@esethna created https://mattermost.atlassian.net/browse/MM-24940

Thank you guys 👍

This is implemented in Mattermost Mobile V2 Beta. Please see more details here: https://mattermost.com/blog/mobile-beta-program-v2/.


The following string doesn't escapes improperly

quote = "

Idea evolution works much faster than human evolution.

James Altucher
"
ret = mistune.markdown(quote, escape=False)
print ret

Idea evolution works much faster than human evolution.

James Altucher</blockquote>

The last blockquote shouldn't be escaped in this case.

won't fix. Because the HTML tags are not closed. mistune can't handle broken HTML tags.


Use preliz

Instead of relying on our expression for the log pdf, we could use PreliZ. The log pdf evaluation in PreliZ are as fast as the custom we have and Kulprit codes gets simpler.

Codecov Report
Attention: Patch coverage is 70.00000% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 85.31%. Comparing base (7ad7c4a) to head (851aa93).

Files
Patch %
Lines

kulprit/projection/solver.py
70.00%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #53      +/-   ##
==========================================
+ Coverage   81.22%   85.31%   +4.08%
==========================================
  Files          13       12       -1
  Lines         522      463      -59
==========================================
- Hits          424      395      -29
+ Misses         98       68      -30

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Horizontal Directional Drilling page

To be published July 5, ~8am ET

@KobeLiesenborgs If the tests pass and all looks good to you, this can be merged anytime before 8am ET.

Well, insomnia leads to merging!


[feature] Added a function from_existing_client in Qdrant vector database.

Issue: #20514
The current implementation of construct_instance expects a texts: List[str] that will call the embedding function. This might not be needed when we already have a path or a client.
This PR is adds a class method which returns a qdrant instance with existing client .
Here everytime https://github.com/langchain-ai/langchain/blob/cb6e5e56c29477c6da5824c17f1b70af11352685/libs/community/langchain_community/vectorstores/qdrant.py#L1592 construct_instance is called, this line sends some text for embedding generation.

Please check if it is relevant to add this feature @hwchase17 @baskaryan


⚠ Bofrost.de has degraded performance

In cc5ab08, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1524 ms

Resolved: Bofrost.de performance has improved in 8d0086f after 22 minutes.


Thumbnail-resolution too small, additional functionalities regarding thumbnails

Recently I downloaded a playlist on youtube and extracted the Audio. I used the following comandline:
youtube-dl -t --audio-format mp3 --audio-quality 0  --embed-thumbnail --add-metadata -x  --metadata-from-title '%(artist)s - %(title)s'  --ignore-errors  https://www.youtube.com/playlist?list=PLIPoTusqlz4lqAeuWjibZgaJ1VItumklt
The thumbnails are embedded correctly, but the resolution is too small. It stays behind the max resolution of the video. In fact, they are downloaded full-size as jpg, but they are not embedded as such in the mp3. This results in pixel-like covers. From my point of view it would be a cool idea to implement a setting for choosing the resolution with an option for a max. in quality. Additionally (this refers not directly to the issues) a functionality to link a music track with the official single or audio-cover with extracted meta-data would be perfect.
LOG:
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'-t', u'--audio-format', u'best', u'--audio-quality', u'0', u'--embed-thumbnail', u'--add-metadata', u'-x', u'--metadata-from-title', u'%(artist)s - %(title)s', u'--ignore-errors', u'https://www.youtube.com/playlist?list=PLIPoTusqlz4lqAeuWjibZgaJ1VItumklt']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.04.24
[debug] Python version 2.7.10 - Linux-4.2.0-35-generic-x86_64-with-Ubuntu-15.10-wily
[debug] exe versions: avconv 2.7.6-0ubuntu<IP_ADDRESS>, avprobe 2.7.6-0ubuntu<IP_ADDRESS>, ffmpeg 2.7.6-0ubuntu<IP_ADDRESS>, ffprobe 2.7.6-0ubuntu<IP_ADDRESS>, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:playlist] PLIPoTusqlz4lqAeuWjibZgaJ1VItumklt: Downloading webpage
|DNS-request| www.youtube.com

[X] I've verified and I assure that I'm running youtube-dl 2016.04.24
[X] At least skimmed through README and most notably FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[x] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Thumbnails are embedded intact with exactly same resolution they have on web.


BHBC-1724: Fix edit dialog control clipping.

Overview
Links to Jira tickets
https://quartech.atlassian.net/browse/BHBC-1724
Description of relevant changes
When in edit mode, first field title is clipped.

There is one instance of MuiDialogContent-root being set in Header.tsx.  I wonder if that interacts with your change here at all? Now that padding isn't set to 0 in the theme, is the override in Header.tsx needed? Or possibly its totally unrelated?

There is one instance of MuiDialogContent-root being set in Header.tsx. I wonder if that interacts with your change here at all? Now that padding isn't set to 0 in the theme, is the override in Header.tsx needed? Or possibly its totally unrelated?

Thanks for spotting! I'll confirm that.

There is one instance of MuiDialogContent-root being set in Header.tsx. I wonder if that interacts with your change here at all? Now that padding isn't set to 0 in the theme, is the override in Header.tsx needed? Or possibly its totally unrelated?

Thanks for spotting! I'll confirm that.

Header.tsx style is not affected by this change.


SCRD-3953 Update build scripts

Add script for building tarball of node_modules dependencies.  Remove
obsolete build_deps.sh and change run_dist.sh to call build_ui.sh
directly.
Fully leverage webpack to build the dist folder with all of the
build artifacts.
Remove index.html and generate it programatically from webpack.
Remove material icon fonts, bootstrap css, and jquery from source and
use ones obtained from npm.
Leverage webpack to automatically watch and build less files.
Support and detect development mode vs. production mode in webpack
config.
Convert config.json files to javascript and load statically rather than
via a REST call at run-time.
Generate source maps for css so to facilitate inspection in browser
development tools.

This is caused by having an old nodeJS binary. The version used by the IBS build, 6.14.3, works correctly.
I don't think this problem is related to this change. I also saw something similar to this once (before making this change) but could not reproduce it either.

It might make sense to add the following to the .gitignore file:
node_modules.tar.bz2
yarn.lock
otherwise looks great!


How To Run?

The md readme doesn't give info on what to do with the zip file.  I can not find the .exe or see what i am supposed to do to launch the demo after extracting the .zip folder downloaded from this repos main page.
Having  older version osvr-palace-v0.6.5 i can see that directory contains three items with one being an exe.   Can i download the exe version of v0.6.9 demo? How do i compile the source to make the exe?  Do i need to do that?
How do i run palace demo nowadays on a windows machine?

The .exe is in the unzipped directory. Double-click the .exe to run it. The latest version is available at https://github.com/OSVR/OSVR-Unity-Palace-Demo/releases
You can build the project in Unity by going to File->Build.

Yep it helps when i downloaded the right zip.  Thanks.


Refactoring for CORSIKA and beam campaigns

Small refactoring and moving concatenation after resampling for CORSIKA and CRY

Hi @soleti,
You have proposed changes to files in these packages:

JobConfig
CampaignConfig

which require these tests: build.
@Mu2e/fnalbuild-users, @Mu2e/write have access to CI actions on main.
:hourglass: The following tests have been triggered for 210c7f4bf1da9f7d3f716e7f69b468747e8fbc69: build  (Build queue has 2 jobs)
About FNALbuild. Code review on Mu2e/Offline.

:sunny: The tests passed at 210c7f4bf1da9f7d3f716e7f69b468747e8fbc69.

Test
Result
Details

merge
:white_check_mark:
Merged 210c7f4bf1da9f7d3f716e7f69b468747e8fbc69 at f5265760da1cb77ad0efe8529e7623369a67cb1c

build (prof)
:white_check_mark:
Log file. Build time: 14 min 39 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 210c7f4bf1da9f7d3f716e7f69b468747e8fbc69 after being merged into the base branch at f5265760da1cb77ad0efe8529e7623369a67cb1c.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.