Make OSD integ test result human readable

Is your feature request related to a problem? Please describe
The output contains garbled text.
https://ci.opensearch.org/ci/dbc/integ-test-opensearch-dashboards/1.3.0/1484/linux/x64/test-results/b94f426463b24046a2ed33c5be290508/integ-test/functionalTestDashboards/without-security/test-results/stdout.txt
We suspect that this is related to Cypress output some characters like 'check mark's.
Describe the solution you'd like
No more garbled text
Describe alternatives you've considered
No response
Additional context
No response

cc @kavilla

@tianleh, I believe we resolved this on the cypress side? Can we close this now?

We did see some improvement. However, when the report url is opened https://ci.opensearch.org/ci/dbc/integ-test-opensearch-dashboards/1.3.0/1498/linux/x64/test-results/ea967d6ef3a34b0a85f5636ea38ebc9f/integ-test/functionalTestDashboards/with-security/test-results/stdout.txt it is not easy to read. As a workaround, users need to download it locally or use curl to open it.
I'd keep this issue open until we are able to let the direct link readable.
@kavilla

@tianleh @kavilla Did you make any progress on this issue?

Hello @bbarani, I think it's still open based on @tianleh comment. I did create https://github.com/opensearch-project/opensearch-dashboards-functional-test/issues/217 that we could probably utilize.

@tianleh - is https://github.com/opensearch-project/opensearch-dashboards-functional-test/issues/217 sufficient to close this?

@tianleh - is opensearch-project/opensearch-dashboards-functional-test#217 sufficient to close this?

Looks sufficient to close this. Thanks for the follow up.


Feature/admin-migrator

Move backup/restore to common rest server

Coverage increased (+0.1%) to 85.191% when pulling 8c58a8880b3c26fbe92707c0eef7b2945360e223 on feature/admin-migrator into 3cc6762ebf4f578b6fa5c8b44775322857a4f607 on master.


Code for project

Hi, can you please share the code for this project?
https://youtu.be/vxcCQmZHcXA?si=N_kX9_LgYRW_bz2n

Yes, sure. I will post the link to my GitHub repository in the details.
Please take a look there.

De: manishvel8 @.>
Enviado: terça-feira, 30 de janeiro de 2024 11:06
Para: zenetio/DeepRL-Robotic @.>
Cc: Subscribed @.***>
Assunto: [zenetio/DeepRL-Robotic] Code for project (Issue #1)
Hi, can you please share the code for this project?
https://youtu.be/vxcCQmZHcXA?si=N_kX9_LgYRW_bz2n
—
Reply to this email directly, view it on GitHubhttps://github.com/zenetio/DeepRL-Robotic/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAENGIIPROHSUFSTLIMC2ULYRDHZRAVCNFSM6AAAAABCRBHN7CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDONJVGY3TSNQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Do Guidelines and conventions contains all rules?

It seems like section "Guidelines and conventions" contains all rules from (General conventions, Conceptual model conventions (UML), ... ). There are even links to those section e.g. https://semiceu.github.io/style-guide/public-review/guidelines-and-conventions.html#_general_conventions but link from the menu is to: https://semiceu.github.io/style-guide/public-review/gc-general-conventions.html
As a result it is not clear whether the "Guidelines and conventions" contains all rules or not.

The "Guidelines and conventions" page contains links to all the six (sub-)sections, each containing different categories of rules/conventions. Recently we reordered the list to provide a more logical organisation/presentation. These six sections contain ALL the rules provided in this Style Guide. All links to the sub-sections work.  AFAICT now everything is OK, so, I will close the ticket.
@skodapetr, in case there are still some issues left, which I didn't observe, or didn't understood, please feel free to reopen the ticket.
Note: BTW, the purpose of the "Guidelines and conventions" page was not to contain links to all the rules, but rather to serve as an intro page to the conventions sections, and provides pointers to the sub-sections. To provide an overview of all the rules, in one place, you can use the "Index of Rules" page, or the "Style Guide as a Whole" page.


Release 7.5.0 not present in the Terraform registry

Describe the bug
The recently released version 7.5.0 was not yet published in the Terraform registry.
AFAIR this has already happened with a previous version
To Reproduce
Steps to reproduce the behavior:

Visit https://registry.terraform.io/modules/cattle-ops/gitlab-runner/aws/latest
Latest available version is 7.4.0

Expected behavior
Version 7.5.0 is available in the registry

@npalm Can you please resync the Terraform registry? No idea what's going wrong here. Webhook looks good. I don't see any errors.

On it, but there are no secrets. Publishing a module is just a one time action and next hashicopr should keep it working

solved, re-synced

Can confirm, thanks for taking care!

Hi. This seems to be happening again for 7.6.0. It was released yesterday, but in Terraform Registry appears up to 7.5.0. Unfortunately, I don't have more information on why this could happen.
Could you, @npalm, please look again? Thank you.

By the way, I checked both the old module link and the new module link, and they are both up to 7.5.0
I read the Registry FAQ but found nothing relevant.
If it happens often, asking Hashicorp could help identify the issue.
https://developer.hashicorp.com/terraform/registry#getting-help

To add more context, this kind of out-of-sync issue has happened at least once, even to the AWS provider. They said they solved it by talking internally to the Registry Team. So it seems emailing Hashicorp could be a potential option for further investigation.
https://github.com/hashicorp/terraform-provider-aws/issues/33588

I have manually synced the module. Still no clue why it stopped working.

Hi @npalm
Not sure this fixed the problem with 7.6.0, the registry remains on 7.5.0 being the latest.

│ There is no available version of module
│ "registry.terraform.io/npalm/gitlab-runner/aws" (main.tf:51) which matches
│ the given version constraint. The newest available version is 7.5.0.

@Unibozu, you can find it in the new module link: https://registry.terraform.io/modules/cattle-ops/gitlab-runner/aws/latest
I guess the old one is updated periodically, but it seems better to use the new one with the same name as the GitHub organization.

@npalm Can we tear down the old npalm/... Terraform module?

I have deleted the module npalm/. and triggered another resync. Let's see if it is working. In case we keep the problems. I will re-create the cattle-ops one.

7.6.1 published without problems.


TypeError: Class constructor HookCodeFactory cannot be invoked without 'new'

E:\BuildAgent\work\83d9728970ba3129\node_modules\tapable\lib\SyncWaterfallHook.js:24});
TypeError: Class constructor HookCodeFactory cannot be invoked without 'new'
at new SyncWaterfallHookCodeFactory
I am usign webapck version : "webpack": "~4.25.1"

@sokra can you please look into this once?

@akashishu777 can you create minimum reproducible test repo?

You probably forgot the new in front of the SyncWaterfallHook as noted in the error message

Closing due to inactivity. Answer above.


Missing DMT Download Link

How is the DMT actually obtained? There is no link in this document nor is there any instruction on how to get it.

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

ID: 1ca4616b-e29f-a9c3-0d42-fe75c4659d57
Version Independent ID: 9a438e2c-12e3-bb72-bcb2-1c45b05039e7
Content: AX 2009 migration - Install the Data migration tool - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/dev-itpro/migration-upgrade/install-dmt.md
Service: dynamics-ax-platform
GitHub Login: @kfend
Microsoft Alias: kfend

Thanks for letting us know! We'll look into adding the information you suggested.

Is there any news on where we can get the tool yet please?

Thanks for the comment. We're still working on it.

Hello
I need download Data migration tool, can I help me?

Thanks for the comment. I am working with the engineering team to get the information. We will update the documentation as soon as possible.

At this time, the DMT is in private preview. If you are interested you can sign up for the Preview Program. The public release date for the DMT has not been set.

I signed up for DMT Preview a month ago. However, I have not received any feedback yet. Any forecast of return?

@Gokul06  - can you provide any information?

Could any one help me how to download DMT tool for data migration


php artisan make:component Namespace/Subcomponent creates wrong render function

Laravel: 7.3.0
PHP: 7.3.16
Database Driver & Version: N/A
Description
Even though #32009 and #32030 mention that this is fixed, it isn't.
When running php artisan make:component Namespace/Subcomponent the generated render() function returns view('components.test') as opposed to view('components.namespace.test'). The blade file is created in the correct location "resources/views/components/namespace/test.blade.php".
I am attempting a PR for this against the 7.x branch.
###Steps to reproduce
php artisan make:component Namespace/Test

PR is on its way: #32156

Fixed here and merged. https://github.com/laravel/framework/pull/32132

Weird, because I pulled the latest 7.x branch, and your fix was not in it...

I think its because its not yet in the latest tag but definitely in master

Well, the main branch for PR-ing against is 7.x, so that's where I looked ;-)

Last time i checked all PR are supposed to happen in the the master. The 7.x must just be a default set for packagist

Maybe there's conflicting information out there...
From https://laravel.com/docs/7.x/contributions#which-branch:
"All bug fixes should be sent to the latest stable branch or to the current LTS branch. Bug fixes should never be sent to the master branch unless they fix features that exist only in the upcoming release."
At any rate, we both came to the same conclusion... Brilliant minds and all that ;-)

That's because it was actually merged into 8.x. The contributor misslablled the PR...

Looks like Graham has already ported this to the 7.x branch. Will be in tomorrow's release.


How to deal with cordova.js while developing?

cordova.js fails to load while running the app in development mode. The error I get is
Failed to load resource: the server responded with a status of 404 (Not Found) http://<IP_ADDRESS>:8080/cordova.js
obviously because the file is not on the server.
Is there any way to make it load cordova.js from the phone instead of the server?

Not really at the moment. The hot reloading server is great for working with UI aspects and logic that is not tied to Cordova functionality and plugins. Once your app is tied to those bits of functionality, it becomes a bit less useful.
We are working on ways that we might serve the correct Cordova.js for the platform, but it's not there yet.

</3

I've had the same idea as @darkyen, however problem is that WebView denies access to cordova libary files: Not allowed to load local resource: file:///android_asset/www/cordova.js.
I was hoping the cordova-plugin-file and setting <preference name="AndroidExtraFilesystems" value="assets" /> will allow access but didn't
ATM I'm starting separate HTTP server to serve files from /platforms/android/platform_www/

@piotr-cz did you make it work please?


How to remove RazorPages from (ASP) .net core

Issue Title
Using the current default Empty WebApp template (.net core) in VS2017 15.9.11 I wanted to create a pure webapi. It came with some razor pages which I am not interested in having around or loading/handling.
General
Having removed the razor pages, and added an apicontroller, it works just fine with the api bit, however if you hit something that isn't supported/implemented, it tries to resolve it with RazorPage lookup and generates an error that it cannot look it up.
So I tried to unload the razorpage viewengine so it wouldnt try to... close but no cigar...
I've tried to google around for "remove razor pages .net core" but all I get is documentation about how to get started with it and nothing pertinent about unloading or removing the support for it.
So I tried with just clearing the viewengines... it clears it,.... but it still tries to default to razorpages despite that..
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;

namespace EnvironmentAPI
{
    public class Startup
    {
        public Startup(IConfiguration configuration)
        {
            Configuration = configuration;
        }

        public IConfiguration Configuration { get; }

        // This method gets called by the runtime. Use this method to add services to the container.
        public void ConfigureServices(IServiceCollection services)
        {
            services.Configure<CookiePolicyOptions>(options =>
            {
                // This lambda determines whether user consent for non-essential cookies is needed for a given request.
                options.CheckConsentNeeded = context => true;
                options.MinimumSameSitePolicy = SameSiteMode.None;
            });
            services.AddHttpClient();

            services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1).AddViewOptions(v=> { v.ViewEngines.Clear(); });
        }

        // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
        public void Configure(IApplicationBuilder app, IHostingEnvironment env)
        {
            if (env.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
            }
            else
            {
                app.UseHsts();
            }

            app.UseHttpsRedirection();
            app.UseCookiePolicy();
            app.UseMvc(routes =>
            {
                routes.MapRoute(
                    name: "default",
                    template: "api/{controller}/{id?}");
            });
        }
    }
}

Exception:
System.TypeLoadException: Could not load type 'EnvironmentAPI.Pages.IndexModel' from assembly 'EnvironmentAPI, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
   at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
   at System.Reflection.RuntimePropertyInfo.get_Signature()
   at System.Reflection.RuntimePropertyInfo.get_PropertyType()
   at Microsoft.AspNetCore.Mvc.RazorPages.Internal.DefaultPageApplicationModelProvider.CreateModel(PageActionDescriptor actionDescriptor, TypeInfo pageTypeInfo)
   at Microsoft.AspNetCore.Mvc.RazorPages.Internal.DefaultPageApplicationModelProvider.OnProvidersExecuting(PageApplicationModelProviderContext context)
   at Microsoft.AspNetCore.Mvc.RazorPages.Internal.DefaultPageLoader.Load(PageActionDescriptor actionDescriptor)
   at Microsoft.AspNetCore.Mvc.RazorPages.Internal.PageActionInvokerProvider.OnProvidersExecuting(ActionInvokerProviderContext context)
   at Microsoft.AspNetCore.Mvc.Internal.ActionInvokerFactory.CreateInvoker(ActionContext actionContext)
   at Microsoft.AspNetCore.Mvc.Internal.MvcAttributeRouteHandler.<>c__DisplayClass12_0.<RouteAsync>b__0(HttpContext c)
   at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

How can I unload razorpage handling in startup?

Have you tried dotnet new webapi ？

No response, closing. Feel free to reopen if you find out more ...


Update Identifier Cache if it's empty

When the cache is cleared, wire throws an exception. update the identifier cache if it's empty.

With the 1.2.6 this bug was resolved


Regression: Batman Arkham City GOTY fails with dxvk-1.4 with DirectX Features and Tesselation on

Software information
Batman: Arkham City - GOTY (200260)
Note: to access the settings, must select "configure PC options" on launch instead of jumping straight into the game
Regression: When the configuration is set with DirectX11 Features and DirectX 11 Tessellation on, the game will fail shortly after launching, before getting into a game with an error dialogue "Rendering thread exception: Fatal error!....." (screenshot of full error attached).

This is a regression from dxvk-1.3.4.  I tested this with Proton 4.11-6 which includes dxvk-1.4 and got the failure.  When I dropped in dxvk-1.3.4 I did not get the error with the same settings and the game was playable.
System information

GPU:AMD Radeon RX 470
Driver:amdgpu
Wine version: Proton 4.11-6 (based on wine 4.11)
DXVK version: 1.4
Note: originally reported here with NVIDIA gpu: https://github.com/ValveSoftware/Proton/issues/309#issuecomment-534741580

Apitrace file(s)

The game failed to launch straight from the exe.  I tried both BatmanAC.exe and BmLauncher.exe but they failed before getting to the bug, so I don't have an apitrace to upload.

Log files

d3d11.log:
dxgi.log:
BatmanAC_dxgi.log
BatmanAC_d3d11.log

Caused by b0f6655b92adbf24e53df865ea4481b02e3b9d73

Fixed by 53fe3423e232fe0da26e7d9f59802d091564cb92


Enhancing automatic span names based on Classes names

Now:
co.elastic.apm.opbeans.modules.customers.CustomersFragment - View appearing
Proposing:
CustomersFragment (co.elastic.apm.opbeans.modules.customers) - View appearing

Maybe even just CustomersFragment - View appearing? That would be similar to how we name Transactions in the Java agent (RestControlerClassName#methodName).

My concern with it is that it's not impossible to have 2 classes with the same simple name but in a different package name, so if that ever happens, we might get those bucketed as the same transaction type?

That's correct but the same concern also applies to the way the Java agent groups transactions. So far, we didn't get complaints.

I see, I guess it should be fine to use the simple name only then, to be honest from an aesthetic point of view I prefer only using the simple name as well, so I think it's good news that nobody has complained so far! Will do the same here then


Modify MicArray Application to accept keyboard input

Mic Application should accept input from the keyboard to perform a simple action. The simple action in this case will be to adjust the volume of the microphone up and down.
DoD: While application is running, pressing the Up Arrow on the keyboard will increase the volume. Pressing he Down Arrow will decrease the volume.

Mic Application:
https://github.com/velascorhwee/final-project-assignment-micarray/tree/sprint-2-issue-9


Show default values in docs for GDScript built-in functions

And technically for all other script languages too if they have anything.

Awesome work! :)


watchOS/SwiftUI support

It would be great if this library supported watchOS. Is there any chance that this library could be completely rewritten to SwiftUI? Its starting to be industry standard.
We are using Rive in our production app but we also need to use it in watchOS.

watchOS is definitely of interest! We'll have to gauge some effort on what's needed to support that with the current codebase, but supporting UIKit is still a must-have, at least for now.

We also would love to have watchOS Support.

I would also like support for watchOS ! ❤

any updates @zplata ? maybe we can contribute

Please feel free! We have some docs on contributing and local setup in CONTRIBUTING.md in the root level of the project - it is still of interest, but we try to balance it all with other features. If you contribute, feel free to open a pull request or post any discoveries in this issue; happy to take a further look!

@zplata library could be rewritten to SwiftUI and then it could still be used in UIKit-based code using UIHostingViewController. We use Rive in our production app but since we use SwiftUI it becomes hard to use Rive since it is not fully optimizied for SwiftUI.


Try out new Chrome headless mode for puppeteer

https://developer.chrome.com/articles/new-headless/. Eventually it will become the default and we'll be using it anyway, but it would be good to try it out first to see how it goes.
Topic originally from https://github.com/SuffolkLITLab/ALKiln/pull/716.

I think updating puppeteer again may take care of this issue now. The documentation seems to have switched.


81-add links to contributor's images in README file

#81 Update README.md Contributors avatars so they link to contributor profiles.

Looks good for now. If anyone (or yourself) feels motivated to give these images rounded corners or even 50% border-radius,

The image tags do currently have inline styling of "border-radius: 50%".  It is visible when viewing the file off Github.  Github strips inline styling, as well as class and id attributes before rendering markdown.
Reference: https://github.com/github/markup

Oh right... so back to markdown? This works and you can get the corresponding links from everyone's profile image (right-click and copy the link). A low-priority issue, but feel free to toy around with this or any other styling you see fit.
![avatar](https://images.weserv.nl/?url=avatars.githubusercontent.com/u/65769327?v=4&h=300&w=300&fit=cover&mask=circle&maxage=7d )


[bug] appWindow.onMoved Returns -32000

Describe the bug
I wrote this method: https://github.com/EcoPasteHub/EcoPaste/blob/master/src/hooks/useWindowState.ts
Many Windows users reported that they can't open the Preferences window. After getting the file, I found that the coordinates became "-32000".

Reproduction
No response
Expected behavior
No response
Full tauri info output
Feedback from Windows users, other platforms are not aware of this issue at this time!

Stack trace
No response
Additional context
No response

-32000 is where windows moves minimized windows. (Hidden windows too maybe but I don't think so)
So it's not a bug per se if onMoved returns -32000

Ok, thanks, I'll take the minimized window into account


Tokenization with multiple workers is too slow

I am trying to tokenize a few million documents with multiple workers but the tokenization process is taking forever.
Code snippet:
raw_datasets.map(
            encode_function,
            batched=False,
            num_proc=args.preprocessing_num_workers,
            load_from_cache_file=not args.overwrite_cache,
            remove_columns=[name for name in raw_datasets["train"].column_names if name not in ["input_ids", "labels", "attention_mask"]],
            desc="Tokenizing data",
        )

Details:
transformers==4.28.0.dev0
datasets==4.28.0.dev0
preprocessing_num_workers==48

tokenizer == decapoda-research/llama-7b-hf

This is the most performant way to tokenize a dataset (batched=True, num_proc=None, return_tensors="np")
Iftokenizer.is_fast returns True, num_proc must be None/1 to benefit from the fast tokenizers' parallelism (the fast tokenizers are implemented in Rust, and Rust multi-threading doesn't work well with Python multi-processing)


WIP: Extract cab on Windows

Waiting for https://github.com/davispuh/ffi-compiler/pull/2 to be merged. After the merge specs should be fixed. Will update the dependency version.
For more information see https://github.com/davispuh/ruby-libmspack/issues/1

@ronaldtse It's ready for a review

Thanks @alexeymorozov ! WIth the changes to davispuh/ffi-compiler#2 and davispuh/ruby-libmspack#1 released this is fantastic 👍


Platform View on iPhone shows black screen

Reproduction: run the webview_example on an physical iphone.
Result: Black screen
This is currently happening on master (c02e38e35f3d209f8d2558fbdf763a409a8ff318).  Will try to find out when it last worked...

Bisected to c92a0d992aeab439c13a494448575f8124120d6a, which is a large engine roll :\  Updated bad builds.

Culprit is https://github.com/flutter/engine/pull/10949 (and likely the one before it)

https://github.com/flutter/engine/pull/11075 should fix the bug. Leaving this open till this rolls to framework.

This rolled into the framework in https://github.com/flutter/flutter/pull/38756.  Thanks @iskakaushik


About Visualization

Hi, when I reproduce the visualizaiton (heatmap) as Fig.1 and Fig.5 in the paper, the feature heatmap of the model after training looks more like the middle one, which focuses on upper body and feet.
I use the image feature of the ResNet50 after line 33 x = self.base(x)  in  img_resnet.py
I would be grateful if you could give me some help with this. Or can you release the visualization code?  It would be much appreciated.
Here is an example of my visulization, which is origin image, the heatmap and their overlap.

Visualizing the features after stage-2 or stage-3 of ResNet-50 may be more salient.
The visualization results in our paper were produced by a earlier version of our code, where only global avg pooling is used after ResNet. To improve the accuracy, we change global avg pooling as global avg&max pooling, but we do not evaluate its influence on visualization results.


dashboard main component (just interface), orders tables for the store (functional)

Codecov Report
Attention: Patch coverage is 0% with 271 lines in your changes missing coverage. Please review.

Project coverage is 0.79%. Comparing base (91e511e) to head (cba4efc).

Files with missing lines
Patch %
Lines

src/components/Dashboard/DashboardMain.tsx
0.00%
179 Missing and 1 partial :warning:

src/components/Dashboard/OrdersTable.tsx
0.00%
86 Missing and 1 partial :warning:

src/components/Dashboard/ManageOrders.tsx
0.00%
2 Missing and 1 partial :warning:

src/pages/StoreDashboard.tsx
0.00%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff            @@
##            main     #22      +/-   ##
========================================
- Coverage   0.92%   0.79%   -0.14%
========================================
  Files         28      30       +2
  Lines       1621    1889     +268
  Branches      29      31       +2
========================================
  Hits          15      15
- Misses      1579    1845     +266
- Partials      27      29       +2

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


Add option in configuration that provides a way to disable the recovery board

Currently recovery board power on v2.1 hardware is managed by the cetiTagApp and is turned on and off as a function of tag state (for example, it is turned off when the tag is submerged).   Having a means of completely turning the recovery board off outside of the app (either from the supervisor script tagMonitor.sh or in the configuration file config.txt) will provide flexibility.  At least two tags have broken recovery boards that still use power and thus reduce run time.

recovery_enable option added to runtime config file config.txt


Menu does not respect UIViewTintAdjustmentModeDimmed

I currently don't see a way to change the menu's tintColor when it should be dimmed (UIViewTintAdjustmentModeDimmed, e.g., when an UIAlertView is presented).
Due to this all my app's UI currently properly dims but the dropdown menu doesn't, which makes things look out of place (when collapsed, the title doesn't dim but the disclosureIndicator does, making even the menu itself inconsistent).
Would it be possible to properly support tintColorDidChange within the class itself or is there a way around to do this now (e.g., using tintColorDidChange in the containing class and the refresh the menu)?

Hello @ahndee,
The component titles originally were not intended to be tinted automatically, whereas the disclosure indicators used the view's tint color. I think I'll add an option to enable this behavior somehow.
For now, you can easily work around this issue by using a custom view with a system button for the component:
- (UIView *)dropdownMenu:(MKDropdownMenu *)dropdownMenu viewForComponent:(NSInteger)component {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeSystem];
    [button setTitle:@"Component Title" forState:UIControlStateNormal];
    button.userInteractionEnabled = NO;
    return button;
}

I tested this, and it worked as expected, dimming the whole menu when an alert controller is presented.

Thanks - works great!

One issue with this however, the component title loses its VoiceOver label that way. I was able to fix this by adding
				button.accessibilityLabel = customView.accessibilityLabel;
after line 1072 in the
- (void)updateButton:(MKDropdownMenuComponentButton *)button forComponent:(NSInteger)component
method implementation.

@ahndee I didn't support the accessibility in the control initially – if you have some fixes for this, would be great if you provide a pull request.

Since the control uses UIButton which supports accessibility, everything works when not overriding things. When overriding the title the one line needs to be added in order for the UIView to inherit things.

Added the accessibility fix - thanks @ahndee!


Searching for a single file searches directory and fails on unreadable subdirectory

Describe the bug
I've tried using comby to search a specific file by specifying its path, however it seems that the whole directory is searched instead. This shouldn't happen and has side effects, such as taking far longer than searching just the specified file (think of a directory containing many other files and subdirectories) or failing when encountering an unreadable subdirectory.
Reproducing
$ cd $(mktemp -d)
$ echo 'function test() {return 1;}' > test.js
$ mkdir forbidden
$ sudo chown nobody: forbidden
$ sudo chmod 0 forbidden
$ comby function '' test.js
Error parsing command line:

  (Sys_error "/tmp/tmp.xw1h1RJsQg/forbidden: Permission denied")

For usage information, run

  comby -help

Expected behavior
Comby searches the file and outputs matches and replacements.
Additional context
Version: 0.16.0. It doesn't appear to make a difference whether the path is specified as test.js, ./test.js or /tmp/tmp.xw1h1RJsQg/test.js. Placing the file into its own directory and searching that works as expected, so does using reading from stdin and manually specifying the file type.

Thanks for the detailed report @wasamasa! Will look into it in the next couple of days

Had a quick look and wrote a fix in #190. Needs a test (just tried a couple of things based on the issue description). I'll merge soon anyway and add test later.

Opening the issue, so that I can close it once I cut a release :)

@wasamasa this is fixed in 0.17.0. If you use brew, it should be available there in a couple of days.

I'm on Arch and have confirmed the latest AUR package indeed resolves this behavior. Thanks!

TIL there is a comby package on AUR. Thanks @LawnGnome ;)


Clarifying 'path' dependency parameter

I wanted to emphasise that adding a 'path' is not a complete drop-in
replacement, as code changes will need to be made in order for it
to work.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @huonw (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Hm I'm not sure I quite understand this, where would you write use self::? That's actually a relatively uncommon pattern I thought...

I think this is a dupe of #2017 so closing in favor of that.


downgraded subscriptions-transport-ws in apollo plugin

No need to merge this PR as we have upgrade the apollo plugin to revision 2.0


Support DBA features in Workbench

Is your feature request related to a problem? Please describe.
I would like to add functions for DBA in Workbench. Depending on the DB, it should be possible to include functions to modify Statistics, DDL, and Index information. I also think that the workbench can include commands for Druid control.
Describe the solution you'd like
I hope to be able to include Analyze command processing, Column modification function and Index creation function as the initial function.
Describe alternatives you've considered
Additional context

I also add a reference link here for the definition of the DBA role.
http://www.cse.psu.edu/~jdg117/dba.html

@metatron-app/design @AnnieHwang 위 내용도 기획 검토 건에 포함이 되었으면 하네요.

@i1befree 위의 링크가 깨지는데 혹시 다른 예제 링크 부탁드려도 될까요?


Web3Auth integrated successfully

Removed the deprecated version, and have illustrated how to create a Biconomy Smart Account with the help of Web3Auth Signer.

Please align it with the latest v4 release and resolve the conflicts.

Please align it with the latest v4 release and resolve the conflicts.

Doing it.


the additional experiment about the model without dcnv2 could be better

Since FCOS and  RetinaNet do not use dcnv2, it makes me curious whether ttfnet can get good performance without dcnv2.

Good question. However, removing dcnv2 causes the AP to drop seriously, and we have not conducted more experiments here.
The DCN can capture different scales of information in different spatial locations. We believe this is very important for TTFNet because FPN is not being used.


Upgrade upstream 1.0.1

fix #58
builds now, but not everything works:
tapping on an asset in "assets" yields `type AssetPageParams is not a subtype of type String

still observing this when attempting to transfer encointer currency
I/flutter (21891): received msg: {"path":"txStatusChange","data":"Ready"}
I/flutter (21891): received msg: {"path":"txStatusChange","data":"Broadcast"}
I/flutter (21891): received msg: {"path":"txUpdateEvent","data":{"title":"system.ExtrinsicFailed","message":"Module"}}
I/flutter (21891): received msg: {"path":"uid=37;account.sendTx","data":{"error":"Module"}}

App says: "Module"

meetup successful on local Gesell dev net
sending tokens doesn't work. hans at "make transfer" button
should clean up dead code. get rid of kusama and polkadot stuff, als js libs for these

@clangen: can you take over?

faucet is currently not working either

ah faucet is failing as Alice has insufficient balance.

nope, Alice has 1.9858 ERT on Gesell. When I tested locally, faucet worked

why do we need js_as_extension? What is it for?

don't know yet exactly. I think it is a general wrapper for the js-webview integration. While startup from the app, I just found that there is a log message displayed saying that it failed to load the extension.

Upgrade upstream. Fixes #58
Remove stuff not related to encointer chains
Remove Chinese localization which was only useful for non-encointer chains
Remove 0 nctr-balances on AssetPage Fixes #55

Testing:

Successful meetup on Gesell testnet
Successful ERT and nctr-currency transfer on Gesell testnet

Ready for review.

the ./assets folder still contains acala stuff. please clean that dead stuff too. Maybe there's some tool to detect unused assets?

Social recovery proof is implement via https://www.subscan.io/ and some staking mechanisms.

Ok, just scanned this: https://medium.com/@polkawallet/the-guidance-of-social-recovery-in-polkawallet-4dea03e8b07b
We would have to support that on our own chain, which we don't. We may rather implement Shamir secret sharing which happens all-off-chain. It's ok to throw this away

fresh clone and flutter build apk --flavor fdroid worked. I won't test the app on a device because you did that already. We can merge after removing the dead assets


Shoe Try-On

I want to put a 3D model of shoe on a bare foot in Augumented Reality and render it according to the foot movement . can you share some resorces related to this.

@vikarshiitk   Hope this helps - https://github.com/PrinceP/congenial-system

Hey Team I have successfully built 3d shoe object detection. now please anyone tell me how I can add a 3d shoe mask to my feet? I have the shoe obj file. and I replace it with the current obj file(module.obj.uuu) that is in the sneaker asset folder. but not working. same as issue https://github.com/google/mediapipe/issues/1453. @ahmadyan,...

@vikarshiitk Hope this helps - https://github.com/PrinceP/congenial-system

thanx

@vikarshiitk Hope this helps - https://github.com/PrinceP/congenial-system

Is there any example in python, where it does the same application of shoe try on?

+1

The uuu file format is probably a special one for encryption purposes. Adel, do you have more information around this?

Did someone solved this one?

@vikarshiitk Hope this helps - https://github.com/PrinceP/congenial-system

didnt help.


[APPM-1640] Create button is disabled after a trying to create a app without a mandatory field.

Steps to reproduce -------------------------- 1) Try to create an app without a mandatory field (e.g. web app URL) 2) An error message will be displayed on the same page and the create button is disabled. 3) Even the missing field is entered the button is still disabled. Workaround ---------------- Clicking on the disabled button makes it enabled. And clicking on the button again will create the app.Reference: https://wso2.org/jira/browse/APPM-1640

Not related to IoT server, hence closing the issue.


wwan: Do not change initial bearer config and properly clear unused default bearers

This PR addresses two issues related to cellular connectivity.
First, make sure that there are no bearers left from previous
connection attempts before starting a new connection, Otherwise, we may get
interface-in-use-config-match error from ModemManager.
Second, we should not change the initial EPS bearer settings and assume that
the same APN should be used for both the initial and the default bearer.
This is not always the case and the modem registration may fail when we
apply the same APN. However, we might want to make this user configurable
through EVE API and the controller.
Some background for understanding: LTE connection consists of two IP bearers,
the initial EPS bearer and the default bearer. Device must first establish
the initial bearer (which shows as transition from the searching to registered
state) and then it connects to a default bearer (transition from registered to
connected). Both bearers require PDP context settings (APN, ip-type, potentially
username/password, etc.).
Settings for the initial bearer are typically provided by the SIM card while
settings for the default bearer are user-configured.
It is not necessarily the case that the APNs for the initial and the default bearers
are the same. We used to make that assumption but this has led to cases where modem
was failing registration because the APN for the initial bearer was wrong. It is
better to let the SIM card provide the PDP context setting for the initial EPS bearer.
Furthermore, once these settings are changed, there is no straightforward method to
revert back to the SIM-provided configuration; for more details, see the discussion here:
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1490#note_2628804
Users may only need to override SIM-provided settings in rather rare cases: either when
the SIM card has incorrect configuration (we have seen this only once) or when the initial
EPS bearer requires username/password authentication (also uncommon). Despite the rarity
of these cases, these settings should be user-configurable. We will do this later
(requires EVE API and controller changes).
Please note, that the same enhancement was recently implemented in NetworkManager
(used by Ubuntu and other major Linux distributions):
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1915
Also included in this PR is a documentation how to capture control-plane traffic on
Qualcomm-based modems.

Still testing my changes, keeping as Draft for now.

Do I get it right that you're deleting all default bearers, which are user configured?

There seems to be some problem with onboarding and also pull limit was reached. I will retry and investigate tomorrow.

Do I get it right that you're deleting all default bearers, which are user configured?

Yes correct.

Then what's the point of specifying default bearers?
But if a user has a contract with a big telco, I'd assume one way they will have connectivity through some credentials that they will be supplying to a modem. Maybe I'm not following the logic, but then the scenario is following :

I'm using my modem with default bearer to login into network, I mean I might use an operator which uses other's telco towers, so I need that particular default bearer
Then once I'm logged in you're deleting the default bearers that I specified
Modem tries to communicate with telco, not with my overlay credentials and therefore there's no connectivity

Do I get it right that you're deleting all default bearers, which are user configured?

Yes correct.

Then what's the point of specifying default bearers?
But if a user has a contract with a big telco, I'd assume one way they will have connectivity through some credentials that they will be supplying to a modem. Maybe I'm not following the logic, but then the scenario is following :
1. I'm using my modem with default bearer to login into network, I mean I might use an operator which uses other's telco towers, so I need that particular default bearer

2. Then once I'm logged in you're deleting the default bearers that I specified

3. Modem tries to communicate with telco, not with my overlay credentials and therefore there's no connectivity

What you are referring to is the "initial EPS bearer", with parameters embedded in the SIM card / modem. We do not touch this bearer here (it it is connected, it stays connect even after this method). Default bearer is what user configured through zedcloud. We do not support multiple PDN contexts at the moment, so there will be at most one default bearer active at any time. I noticed that the ModemManager Disconnect method only deactivates the currently active bearer, without removing it.  When we run Connect (with the same or changed args), ModemManager looks for the same (inactive) bearer and tries to activate it. However, I have seen this to fail in the past in multiple occasions. It was necessary to delete inactive default bearer(s) and let ModemManager to create a new one from scratch. So I'm thinking that is maybe better to not keep inactive bearers hanging around. But I could be wrong on this and there is no documentation on "how to do this the right way", it is mostly driven by experiments :/

We are still seeing some issues on the modem tested, so I'm bringing this back to Draft. I really don't like these cellular modems :/

We have some positive updates from the issue reporter. It seems that soon this PR will be moved back into the ready-for-review state. Stay tuned.

We are still seeing some issues on the modem tested, so I'm bringing this back to Draft. I really don't like these cellular modems :/

Making this PR again as ready for review&merge. It turned that the other issue we saw was due to an invalid device model (which broke the modem when the USB controller to which it is connected to got directly assigned to an app).


Make "Run line" to work on partial statements (e.g. code blocks, loops, etc.)

Feature request
In RStudio, given a function with arguments spread out over multiple lines, e.g.:
data.frame(a = c(1, 2, 3),
           b = c(4, 5, 6),
           row.names = c('x', 'y', 'z'))

The use of "run current line" (using shortcut or menu) is less literal in RStudio than in Spyder, as the entire function is run rather than just isolated lines, returning the desired data frame. This works in a number of cases (loops, functions, dplyr/tidyr pipelines, etc.) and can be quite a time-saver, since you don't have to worry about highlighting longish blocks of code to run them.
Similar functionality is possible in Spyder using cells, but I think cells are a better tool for segmenting code according to logical steps in the coding/analysis process, and not so much for isolating individual functions and loops. Would it be possible to implement this feature in some future Spyder version?

@GershTri this is a good feature to have, @ccordoba12, what do you think?

This will require restructuring the code we use now to execute a line, which is very simple:

Strip a line from all blank spaces
Execute the result in a console.

So step 1. won't be needed anymore and step 2. needs to be changed to "press Enter in the console" or something like that.
I know RStudio users are fans of this feature, but it's not easy to implement it correctly on Spyder (at least not as easy as what we have now). So I'm marking this for Spyder 4, but I can't make promises that this will be available in the final release.

My idea would be just to run the whole indented level of code when you are at the start. For example:
def foo(bars):
    print(bars)
    for bar in bars:
        if bar == 2:
            print(bar)
        else:
            print(bar+1)
bars2 = [23,
         24,
         25]

Cursor on line 1 would run the whole def.
Cursor on line 2 would run only the print.
Cursor on line 3 would run the for loop.
Cursor on line 8 would define the list bars.
Is it too much to assume that the user would want to run that much code if they are on these lines?
Some problems:

Cursor on line 4 would run the only the if and not the else.

it would be good if it ran the else

Cursor on line 6 would error on the else.

it would be great if it ran the whole if else statement

Cursor on line 10 would error on the bracket.

it would be great if this defined the list bars

Are these safe assumptions?  How many more corner cases would there be? @CAM-Gerlach Do you know what RStudio does?
@ccordoba12  said:

IPython has code to determine if a line is a complete Python statement or not
So we should use that to decide when to execute and when to add a continuation prompt

Are you saying we use IPython to filter non-runnable code as a solution or to use this on corner cases?

Do you know what RStudio does?

Rstudio runs anything that's a continuation of the current line, forward or backward. However, in R, you explicitly need braces ({) around if/else that isn't inside some other enclosing braces, like a function, so they are considered one statement.
So, for example,  putting the cursor on the first or last line of the following would run the full if statement, while putting it on the center line would just run the print("test"):
if (TRUE) {
    print("test")
}

However, if we had the following, putting the cursor on the if line would not work and either of the braces lines would just run print("test") without checking the if:
if (TRUE)
{
    print("test")
}

With if/else, it will run both if you put your cursor on any line with a brace (and you must put the else on the same line as the if's }. in R, if your if/else isn't surrounded by other braces, like a function definition):
if (FALSE) {
    print("True")
} else {
    print("False")
}

Cursor on line 10 would error on the bracket. It would be great if this defined the list bars

This is the key motivating use case for this feature both IMO and as presented in Rstudio when it was introduced; the ability to run indented levels is decidedly secondary. The most common use case where users need something like this is after entering or modifying a multi-line statement, in which case they want to run the whole thing. If we did it by indent level, running a continuation would only work if the cursor is on the first line, which is a decided minority of cases.

So we should use that to decide when to execute and when to add a continuation prompt

This is for the Editor, not the Console, so I'm not sure what you talking about with "add a continuation prompt". Furthermore, it is not necessarily a robust solution to finding the boundaries of a continuation statement, if that's what you're suggesting. Consider:
spam = 42 * (
    2 + 2
    )

2 + 2 is a complete Python statement by itself, but is part of continuation line and thus should be executed together.

I guess one simple thing would be to look at bracket matching. If the line you are on has an unmatched bracket move down until you find the match. I guess this is what the python parser does.
This isn't that general but it is really easy to do and would capture most use cases.

Have we thought about using the standard library ast module to do our work for us in terms of syntax parsing? Or is it too heavy-duty for what we need?

Although that's deprecated, it's still compatible with Python 2 and 3.

But what if IPython 8 removes it, breaking Spyder? If we're going to do this, at the very least, we should check for inputtransformer2 and use its check_complete() method instead, and only if not found fall back to the deprecated inputsplitter. We'll need to do so anyway eventually, so may as well be prepared and correct from the get-go and do it now.

If it returns True

Which it will in cases like the above where the line itself happens to be a complete statement, but that is part of continuations. Ultimately, its issues here stem from being designed to parse line-by-line, sequential Python input, rather than pre-written Python code in a file, where the originally selected line may be at any point in the statement the user wants to evaluate.,

If not, we should simply paste the text and call its _set_continuation_prompt method:

This is not really a useful solution to the problem presented here, either as framed by the original reporter, @bcolsen , myself or as in Rstudio. The only scenario where it is of any help is if the user happens to be on the first line of a continuation (which, as I describe above, is a minority of instances) and then sequentially presses the Run Line/Selection shortcut on each line in turn. That's hardly any time save over just selecting it with the mouse or keyboard and pressing Run Line/Selection once, and it only works in a minority of cases. Furthermore, if the user is on any line but the first, it will not work at all and could even trap the user into a continuation prompt they need to escape.
Instead, what the requested feature here is when Run Line is pressed (without a selection), properly detecting all lines in the current statement including continuations, and actually running those lines directly; optionally, this could be extended to all lines in the current indent scope if the cursor is on a statement that ends in :, but the core functionality (IMO) is running logical, not physical lines.
Other than writing our own logic to parse what is part of a continuation line, unless we already have something suitable, we could do something like the following (which should properly handle all of the cases discussed):

If the current line is a cell marker, run the cell
If the current line is a blank line or a comment, don't run it and go to the next line.
Otherwise, parse the current cell (or file, if no cells are defined) with astroid.parse() (astroid is already a Spyder dependency, through pylint, etc) and recursively iterate through the AST to find the lowest-level body node that contains the line Run line is called on between fromline and toline, and run that.

Notes:

If and TryFinally statements have one root node, with orelse pointing to the next if statement (for elif) or the expr to run (for else); you'd want to iterate through them as well in turn and run the bounds of the highest-level statement in the orelse chain if the lowest level cursor_line is included in is an elif (i.e. a non-root if).

For TryFinally, you'd need to also check finalbody, and for TryExcept (which may be nested inside a TryFinally), iterate through the body of each of the handlers for the except statements. For any of these, if the lowest level cursor_line is included in is a ExceptionHandler (i.e. the cursor is on an except: line), you'll want to run the enclosing TryExcept, or the enclosing TryFinally if the TryExcept is immediately inside one.

You would make sure to include a try-except around at least the AST part, so just in case something goes wrong it falls back to just trying to run the current line. And, of course, this feature would be on by default but optional (like it is in Rstudio).


RedundantSuspendModifier - false positive

Expected Behavior
Code below requires suspend modifier, because code under apply (which isn't suspend but inline, so it allows suspend code) is non-blocking.
Observed Behavior
Detekt warns that function below doesn't require suspend modifier
Context
suspend fun create(): X {
    return X().apply {
        doSuspend() // suspend method
    }
}

Your Environment

Version of detekt used: 1.11.0
Version of Gradle used (if applicable): 6.6
Operating System and version: MacOS Catalina
Link to your project (if it's a public repository): private

Root cause - #2961, so was automatically fixed from version 11.1.0.


⚠ Bofrost.fr has degraded performance

In 38050cc, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1239 ms

Resolved: Bofrost.fr performance has improved in 893431f.


Add Onfido to your list (The Document ID & Facial Biometrics Verification SaaS)

@faisalakandha please provide a pull request. thank you!


feat: add PrismicRichText, PrismicText, and PrismicEmbed

Types of changes

[ ] Chore (a non-breaking change which is related to package maintenance)
[ ] Bug fix (a non-breaking change which fixes an issue)
[x] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

This PR adds PrismicRichText, PrismicText, and PrismicEmbed. It also improves typings and TSDoc.
Checklist:

[ ] My change requires an update to the official documentation.
[ ] All TSDoc comments are up-to-date and new ones have been added where necessary.
[ ] All new and existing tests are passing.

@angeloashmore I'm getting a new type error on the SliceZone. Do you have a moment to take a look at it?

Hey @samlfair, I pulled the latest version of the PR locally, but I'm not seeing any TypeScript errors in src/lib/components/SliceZone.svelte or in the example page that uses it.
Where are you seeing the error? Could you copy + paste or screenshot it?

@angeloashmore I was still getting the TypeScript error, but I managed to fix it. I went through and typed everything, but when I was testing it I couldn't get my test app to find the type declarations. The components import fine, but without any typing.

I upgraded @svelte/package, which changes how Svelte bundles the package. The biggest change is that dist/package.json used to be automatically generated. Now you have to write your own package.json manually int he root directory, and the package command just copies it into dist.
https://github.com/sveltejs/kit/discussions/8825
This didn't solve the problem. However, it did make me realize that I can fix the type declaration issue if I import from @prismicio/svelte/dist, which is frustrating.

Do you have any thoughts?
I've published this version as @prismicio/svelte@dev for testing.

@angeloashmore I think I got the types working properly by editing package.json.

@angeloashmore By using svelteHTML.IntrinsicElement["a"] and ["img"], we're losing all of our typing, and Svelte is typing props as any in the distributed package. I fixed this by switching to import { HTMLAnchorAttributes, HTMLImgAttributes } from "svelte/elements", and now it's working fine. If you look at the component types in dist/, they are explicitly typed with every possible HTML or Svelte attribute as well as our Prismic-specific ones.
I also blocked users from using reserved properties (src, srcset, href).
I think this is ready to merge into master 🤞


failure in required module instanceof Function

What are the steps to reproduce?
Application developer was using the Azure IoT node SDK in their flow.
Inside of a Function node the following code was used:
var require = global.get('require');
var iothub = require('azure-iothub');
var connectionString = " service connection string to an Azure IoT Hub ";
var device =  {   deviceId: "a device name"   };
var registry = iothub.Registry.fromConnectionString(connectionString);
registry.get(device.deviceId, function(err, deviceInfo, res) { console.log(deviceInfo);   });
return msg;
What happens?
The following error occurs when executing the flow
TypeError: Callback has to be a Function
This occurs because of the following test inside the code path for registry.get
    if (!(userCallback instanceof Function)) {
        throw new TypeError('Callback has to be a Function');

What do you expect to happen?
Well we expect our code (the Azure IoT Node SDK) to not throw here.
Is it possible that the right hand side of the instanceof operator in the if is being interfered with by the "Function" object of node-red?
Please tell us about your environment:
Nov 14:28:52 - [info] Node-RED version: v0.19.5
9 Nov 14:28:52 - [info] Node.js  version: v8.11.3
9 Nov 14:28:52 - [info] Windows_NT 10.0.17763 x64 LE

This is a known issue with the vm module used by the Function node - https://github.com/nodejs/node-v0.x-archive/issues/1277
The basic problem is the context of the vm sandbox has a different Function object then that outside the sandbox. So Function(create inside vm sandbox) instanceof Function(outside vm sandbox)` will always fail.
In general it is safer to use a typeof test rather than instanceof - as per some of the discussion in that issue.
We could apply a fix that passes in the Function object into the sandbox, but we'd need to be careful to not remove the benefits of using the vm module in the first place.

Thank you for the reply.  Have adjusted to typeof.


Edited messages sometimes get stuck as being marked unread.

Consider two human users of Zulip. They can be in an PM or a public stream doesn't matter.
Suppose Bob is messaging Alice. Bob sent two messages two Alice and realised that he need to edit the first message. Bob edits the message and clicks save at the same time when Alice tries to view message. This results in the edited message getting frozen as unread with a green highlight.
Here is a screenshot from my local development environment:

Reproduction steps:
This is a difficult to reproduce issue so I am going to be a bit more verbose with steps. Following these should result in comparative easy reproduction of the issue.

Open up exactly two browser windows, one normal and one incognito so that we can be logged into two users at the same time.
Log in using any two users (maybe Iago and AARON)
Now we can either do a PM or a public stream message to a stream both these users are participant off. I am gonna do a PM.
Let Iago (normal window) send two messages to AARON (incognito window).
Now click on edit the first message sent by Iago. The edit message console open ups. Edit the message but don't press save button yet. Keep it this way for the timing.
Now we are approaching a crucial part for reproducing the issue, 'The race condition'. We are going to do a very quick window shift and pressing of save button so that it happens almost at the same time. To do this easily follow on.
We are still in normal browser window. Bring the mouse cursor to the save button but don't click it yet.
Now do a very quick window switch to incognito window using alt + tab and then back to normal window and click the save button.
The first message sent by Iago to Aaron must have been frozen to unread now.

It might take a few tries but this is a consistent behaviour.

@showell can you please take a look at this one. It will be interesting to debug this.

I might not to have time to look at this for several days.

My guess is that the bug here is a purely frontend rendering issue; i.e. the message is actually marked as read in the database, just the flags are set wrong.

I will try investigating that today.


Fixed missed instance of docker_compose_config_file

Easy oversight!

Closing this, it's not a real fix. We're reverting back to https://github.com/buildkite-plugins/docker-compose-buildkite-plugin/commit/ed68516f132338342cd3a85098be65f019136e4c for now.

Sorry @anoldguy, I missed this one. Fixing it now.


Responsive slider problem since 1.5.6

Hi,
The slider isn't generating the correct width since the update when dragging the browser width in. Upon refresh the same issue occurs.
Video before:
http://quick.as/aZQAHarnx
Video after:
http://quick.as/6aGriQLor
Thanks.

Can you try with 1.5.7 please :)

And create a JSFiddlenif the problem still eXISTS

Still hasn't fixed the problem. Same problem as above still.
Will try and set-up a JSFiddle.

Hey, I'm going to close this because there is no fiddle. If you make one we can look at reopening. Thanks!


(maint) Add settings docs

Thanks @GabrielNagy, I'll get that updated!

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


Alphabetically Ordered db.json

Changes proposed
Was getting confused while looking for abbreviations, sorted the objects alphabetically. Hope this helps!

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers
The number of abbreviations are the same, number of lines has decreased alot because redundant spaces/empty lines were removed.

Yea, you're right that would be better!

Yea, you're right that would be better!

Awesome. I'll close this for now :+1:


Make internal symbols hidden.

Only the malloc/free/... interface is exported.
This allows all of C++'s weak ODR symbols to be resolved at
compile-time, rather than staying weak and resolved at load-time.
Since internal calls don't need to go through the PLT anymore, we get a
nice speedup, at least on small objects.

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

Was hoping closing the old one and making a new one would make the CLA bot happy. Didn't work.


Top Bar components not properly aligned

I use Safari 8.0.2 on Mac OS X and the Components from the Top Bar are not aligned properly in the provided documentation. Please see the search input and the submit button in the attached picture.
Thanks !

This issue has come up before (#5533) and it's basically an issue of how browsers decide to round pixels. We got the variation between browsers to be within 1px of each other, so some browsers render it fine and some don't. That being said, we can definitely take another look.

+1 for this bug

So the issue is still only in Safari. The issue is that top bar requires a few involved calculations to get the right heights and offsets of things, and then those odd values get converted to rems, giving you strange CSS like:
.top-bar input {
  height: 1.55556rem;
  top: 0.47222rem;
}

The browser then converts this back to pixels when it draws the page, and Safari is calculating the end result slightly differently than other browsers.
So, I think refactoring top bar too much may be risky, as it could end up being a breaking change. So instead, I wrote this CSS to override the default styles and line up everything properly. I tested it in every major browser and it all looks the same. This assumes you're using the default size of top bar, but if you aren't, it would be easy to change these values to match your design. Hope it helps! :)
@media #{$medium-up} {
  .top-bar {
    .button, input {
      display: block;
      font-size: 12px;
      height: 25px;
      line-height: 25px;
      padding: {
        top: 0;
        bottom: 0;
      }
    }
  }
}

@gakimball thank you very much !

issue affects mobile too as well as chrome


Fixed empty spans dropped at the end of enumeration

If the last span in an enumeration was empty, it would be erroneously dropped.

Wait, I accidentally targeted main. Can you change the base branch to dev, or should I recreate the PR?

Great, I'll look through it and be resolving the merge conflicts.

Looks fine to me - merging it now!!


Don't ignore next query parameter when logging with SSO

The next query parameter is used to navigate to a certain page after login. This only works when logging in with username and password, not using the Nodes SSO login.

Will be added as soon as (the new) Admin Panel supports this


fix(controller): fix image tag & some consts

What type of PR is this?
/kind bug
/area model

What this PR does / why we need it:
Fix image tag & some consts
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #
Reference to #

Special notes for your reviewer:
/cc @FogDong @judgeeeeee

Does this PR introduce a user-facing change?:

Fix image tag & some consts

LGTM


feat(preact): add build and preact support!

What: This adds a build and support for preact out of the box

Why: Closes #4, Closes #99

How: Much copy/paste from glamorous 💄 and modifications to make it work with preact. Inspiration from @zouhir in #15. Closes #15

Checklist:

[x] Documentation
[x] Tests
[x] Ready to be merged
[ ] Added myself to contributors table N/A

Codecov Report

Merging #102 into master will decrease coverage by 0.46%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #102      +/-   ##
==========================================
- Coverage   15.58%   15.12%   -0.47%
==========================================
  Files           3        5       +2
  Lines         263      271       +8
  Branches       61       62       +1
==========================================
  Hits           41       41
- Misses        166      173       +7
- Partials       56       57       +1

Impacted Files
Coverage Δ

src/downshift.js
16.5% <ø> (ø)

src/preact/prop-types.js
0% <0%> (ø)

src/preact/compat-lite.js
0% <0%> (ø)

Continue to review full report at Codecov.

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

~/Developer/downshift (master)
🐠  $ npm publish --tag beta
+<EMAIL_ADDRESS>


Calling get() on null in PurchasesProduct

Hi, I'm trying to make a product purchase validation using a service account, here's my PHP code:
    require_once "../path/to/vendor/autoload.php";
putenv('GOOGLE_APPLICATION_CREDENTIALS=../path/to/ServiceAccountJSONkey');

$packageName = ""; //PackageName
$productId= "";  //ProductID
$token = ""; // purchase token

$client = new Google_Client();
$client->setScopes(['https://www.googleapis.com/auth/androidpublisher']);
$client->useApplicationDefaultCredentials();

if($client->isAccessTokenExpired()) {
	$client->refreshTokenWithAssertion();
}

$service = new Google_Service_AndroidPublisher($client);
$results = $service->products->get($packageName, $productId, $token, array());

exit;

But I'm getting this error:

Fatal error: Call to a member function get() on null in ../purchaseValidation.php on line X

Where X is this line: $results = $service->products->get($packageName, $productId, $token, array());
I don't know what I'm doing wrong, I tried to look for examples on the net but no luck.
Any help would be appreciated, thank you!

Ok, after several trial and error you need to call $service->purchases_products->get(...) instead of $service->products->get(...) as stated in the source code like in: https://github.com/google/google-api-php-client-services/blob/master/src/Google/Service/AndroidPublisher/Resource/PurchasesProducts.php where the usage example is wrong.
Now the returned result doesn't have an 'orderID' field like it's supposed to have as stated in here:
https://developers.google.com/android-publisher/api-ref/purchases/products
I tested it with a testing purchase (purchase with a test google account that doesn't charge money), maybe it's because of that?

Sorry this slipped through the cracks and went unanswered for so long. Could you try testing this on API Explorer to see if the orderID shows up there?

Thank you for filing this issue. We asked some clarifying questions or suggested a course of action a week or more ago and never heard back from you. We are unable to proceed with this issue until then, so we are closing it. Please feel free to comment with more information and we will re-open this issue.


Remove an extra space in IgniteH2Indexing

This PR is associated with a resolved ticket. Closing the PR, please reopen it if you still need it.


🔧 1822 Register callback before executing async requests

This prevents a race condition where the response returns before the callback has been registered.

Codecov Report

Merging #251 into master will decrease coverage by 0.1%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #251      +/-   ##
==========================================
- Coverage   80.27%   80.17%   -0.11%
==========================================
  Files          78       78
  Lines        2175     2184       +9
  Branches      385      388       +3
==========================================
+ Hits         1746     1751       +5
- Misses        428      432       +4
  Partials        1        1

Impacted Files
Coverage Δ

src/connect/connectApi.ts
81.15% <66.66%> (-0.76%)
:arrow_down:

Continue to review full report at Codecov.

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


Modifier processor

Fixes #56
Fixes #202
Fixes #137
Introduces ModifierProcessor that allows separation of Augmentation logic.
For tests not to fail check on older versions of IntelliJ, Test support annotation @RequiredApiVersion has been introduced together with extension to LightCodeInsightFixtureTestCase.

Current coverage is 57.86%

Merging #204 into master will decrease coverage by -0.15% as of c26c464

@@            master    #204   diff @@
======================================
  Files          155     157     +2
  Stmts         4390    4417    +27
  Branches      1161    1172    +11
  Methods          0       0
======================================
+ Hit           2547    2556     +9
- Partial        406     408     +2
- Missed        1437    1453    +16

Review entire Coverage Diff as of c26c464

Powered by Codecov. Updated on successful CI builds.

I updated my branch with your changes.  Generally speaking, I think we should have separate improvements for those TODOs you have mentioned and there is one for FieldDefaults( #4).
I think by moving this into main codebase this should allow others to merge and adopt their changes, like UtilityClass support #143 / #188

Yeap, just merged, thank you!


ThinkingSphinx::SphinxError: Unknown MySQL error

Hi. I have some issues with a new project.
Specs:

Ubuntu: 19.10 Linux 5.3.0-19-generic
Postgresql: psql (12.0 (Ubuntu 12.0-2.pgdg19.10+1), server 11.5 (Ubuntu 11.5-3.pgdg19.10+1))
Sphinx: 2.2.11-id64-release
ThinkingSphinx: 4.4.1
Mysql2: 0.5.2
Rails: 6.0.0
Ruby 2.6.5

Thinking sphinx config:
default: &default
  morphology:  stem_enru, Soundex, Metaphone
  min_infix_len: 1
  index_exact_words: 1
  expand_keywords: 1
  html_strip: 1

  indexed_models:
    - Section

development:
  <<: *default
  mysql41: 9312
  mem_limit: 200M
  pid_file: tmp/pids/searchd.pid

Sphinx config:

indexer
{
  mem_limit = 200M
}

searchd
{
  listen = <IP_ADDRESS>:9312:mysql41
  log = /home/air/qq2dev/log/development.searchd.log
  query_log = /home/air/qq2dev/log/development.searchd.query.log
  pid_file = tmp/pids/searchd.pid
  workers = threads
  binlog_path = /home/air/qq2dev/tmp/binlog/development
}

index section_core
{
  type = rt
  path = /home/air/qq2dev/db/sphinx/development/section_core
  docinfo = extern
  morphology = stem_enru, Soundex, Metaphone
  min_infix_len = 1
  expand_keywords = 1
  html_strip = 1
  index_exact_words = 1
  rt_field = slug
  rt_attr_uint = sphinx_deleted
  rt_attr_bigint = sphinx_internal_id
  rt_attr_string = sphinx_internal_class
}

index section
{
  type = distributed
  local = section_core
}

Index file indices/section_index.rb:
ThinkingSphinx::Index.define :section, with: :real_time do
  indexes slug
end

Section model:
class Section < ApplicationRecord
  ...
  after_save ThinkingSphinx::RealTime.callback_for(:section)
end

No exceptions on running be rake ts:rebuild if my database is empty.
If I run Section.search('test') I get:
irb(main):001:0> Section.search('test')
  Sphinx Query (6.7ms)  SELECT * FROM `section_core` WHERE MATCH('test') AND `sphinx_deleted` = 0 LIMIT 0, 20
Traceback (most recent call last):
ThinkingSphinx::SphinxError (Unknown MySQL error)

If I try to create new Section entity:
irb(main):002:0> Section.create!(name: 'test', slug: 'test', subtitle: 'test')
   (0.6ms)  BEGIN
  Section Exists? (0.9ms)  SELECT 1 AS one FROM "sections" WHERE "sections"."slug" = $1 LIMIT $2  [["slug", "test"], ["LIMIT", 1]]
  Section Create (1.0ms)  INSERT INTO "sections" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"  [["slug", "test"], ["created_at", "2019-11-11 10:35:06.788649"], ["updated_at", "2019-11-11 10:35:06.788649"]]
  Sphinx Query (6.2ms)  REPLACE INTO section_core (id, `slug`, `sphinx_internal_id`, `sphinx_internal_class`, `sphinx_deleted`) VALUES (10, 'test', 5, 'Section', 0)
   (0.6ms)  ROLLBACK
Traceback (most recent call last):
        2: from (irb):2
        1: from (irb):2:in `rescue in irb_binding'
ThinkingSphinx::SphinxError (Unknown MySQL error)

Extended traceback:
ThinkingSphinx::SphinxError: Unknown MySQL error

Caused by:
Mysql2::Error: Unknown MySQL error

Caused by:
Innertube::Pool::BadResource: Innertube::Pool::BadResource

Caused by:
ThinkingSphinx::QueryExecutionError: Unknown MySQL error - REPLACE INTO section_core (id, `slug`, `sphinx_internal_id`, `sphinx_internal_class`, `sphinx_deleted`) VALUES (2, 'quests', 1, 'Section', 0)

Caused by:
ThinkingSphinx::SphinxError: Unknown MySQL error

Caused by:
Mysql2::Error: Unknown MySQL error

I tried to reinstall postgresql and sphinxsearch packets but no luck. What can it be?

New information:
I tried to run this project on other machine with Ubuntu 16.04 and Postgresql psql (12.0 (Ubuntu 12.0-2.pgdg16.04+1), server 11.5 (Ubuntu 11.5-3.pgdg16.04+1)) with sphinx Sphinx 2.2.9-id64-release (rel22-r5006) and all indexes works fine.

I experienced this same problem recently. Rebuilding Ruby and reinstalling all gems worked for me.

@atomical Thank you for answer. I reinstalled ruby with gems but with no luck. Same error.

Can you confirm which version of the MySQL library files you have installed? If it's v8, you'll need to downgrade to v5.7 or earlier, because Sphinx 2.2.11 doesn't understand MySQL v8.

Can you confirm which version of the MySQL library files you have installed? If it's v8, you'll need to downgrade to v5.7 or earlier, because Sphinx 2.2.11 doesn't understand MySQL v8.

You are right. I have this libs:
libmysqlclient-dev/eoan,now 8.0.17-0ubuntu2 amd64 [installed]
libmysqlclient21/eoan,now 8.0.17-0ubuntu2 amd64 [installed,automatic]
mysql-common/eoan,now 5.8+1.0.5ubuntu2 all [installed,automatic]

So I close the issue.


Integers are not parsed correctly

read[Int]("1.1") returns 1, instead of throwing an error

@lihaoyi Is this a bug or a feature? 😅

Haha good question. I don't actually know.
It seems the direction we're moving in is to be more forgiving on reads - e.g. https://github.com/com-lihaoyi/upickle/pull/385 allows us to read numeric strings as primitives as well - so it's not unreasonable that we would be forgiving to reading fractional integers as well.
Could go either way really

Something like the configuration flag ACCEPT_FLOAT_AS_INT in Jackson could be nice.
If you think this issue is not relevant anymore, please feel free to close it. Thanks for the answer.


Added data for final

We have added some additional data to our shared data folder for use on the final exam. We would like this pushed ASAP (to datahub-dev, then to datahub), please!

Looks like a lot has changed since our last pull request! The changes to /user/connectors/neuro.bash are not necessary - I will back out of those, and only leave the new data part.


CORE-11278: Fix bad JSON

Fix bad JSON that was committed in https://github.com/corda/corda-runtime-os/pull/3465
Tested in https://ci02.dev.r3.com/blue/organizations/jenkins/Corda5%2Fcorda5-e2e-tests/detail/PR-47/13/tests (that specific test pass; other tests will be fixed in another pull request - https://github.com/corda/corda-e2e-tests/pull/48).

Can you please add a link to the failed build as well (and reference which tests failed in that that are relevant to the fix here)?


Try to make the output of render-microfacet more consistent across platforms

For some reason this test fails somewhat constantly on only the newer compilers. I am not really sure what is special about it yet.
Wild hunch is that it is maybe related to this constant in the sampling routine getting constant folded differently across compilers. So just manually constant fold it to see if it helps at all.

No luck yet. Switching to ggx doesn't help either, so its not related to the shading model it seems ...


Invalid argument: indices[3824] = [10, 1, 52, 0] does not index into shape [16,52,52,3,6] while training on xView Dataset 1 class

I am currently training this on the xview dataset for just 1 class. To note, each image is around 3000^2 pixels and each object in the image is super small around 10x10.  some images even contain 3900 objects per image. The only change i made was in the model.py file where I changed the max_boxes to 4000 (instead of 100 as that kept giving a padding cant be negative error ) .
The visualize_Dataset works perfectly which means my dataset is fine.
while training im running into this error
`Invalid argument: indices[3824] = [10, 1, 52, 0] does not index into shape [16,52,52,3,6]
Traceback (most recent call last):
File "train.py", line 193, in
app.run(main)
File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 299, in run
_run_main(main, args)
File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 250, in _run_main
sys.exit(main(argv))
File "train.py", line 188, in main
validation_data=val_dataset)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/training.py", line 66, in _method_wrapper
return method(self, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/training.py", line 848, in fit
tmp_logs = train_function(iterator)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/def_function.py", line 580, in call
result = self._call(*args, **kwds)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/def_function.py", line 644, in _call
return self._stateless_fn(*args, **kwds)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/function.py", line 2420, in call
return graph_function._filtered_call(args, kwargs)  # pylint: disable=protected-access
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/function.py", line 1665, in _filtered_call
self.captured_inputs)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/function.py", line 1746, in _call_flat
ctx, args, cancellation_manager=cancellation_manager))
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/function.py", line 598, in call
ctx=ctx)
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/execute.py", line 60, in quick_execute
inputs, attrs, num_outputs)
tensorflow.python.framework.errors_impl.InvalidArgumentError:   [Derived]  indices[3824] = [10, 1, 52, 0] does not index into shape [16,52,52,3,6]
[[{{node TensorScatterUpdate}}]]
[[PartitionedCall_2]]
[[IteratorGetNext]] [Op:__inference_train_function_44222]
Function call stack:
train_function -> train_function -> train_function -> train_function
WARNING:tensorflow:Unresolved object in checkpoint: (root).layer-8
W0519 05:54:04.077612<PHONE_NUMBER>07424 util.py:144] Unresolved object in checkpoint: (root).layer-8
WARNING:tensorflow:Unresolved object in checkpoint: (root).layer-9
W0519 05:54:04.077891<PHONE_NUMBER>07424 util.py:144] Unresolved object in checkpoint: (root).layer-9
WARNING:tensorflow:Unresolved object in checkpoint: (root).layer-10
W0519 05:54:04.077988<PHONE_NUMBER>07424 util.py:144] Unresolved object in checkpoint: (root).layer-10
WARNING:tensorflow:Unresolved object in checkpoint: (root).layer-11
W0519 05:54:04.078065<PHONE_NUMBER>07424 util.py:144] Unresolved object in checkpoint: (root).layer-11
WARNING:tensorflow:A checkpoint was restored (e.g. tf.train.Checkpoint.restore or tf.keras.Model.load_weights) but not all checkpointed values were used. See above for specific issues. Use expect_partial() on the load status object, e.g. tf.train.Checkpoint.restore(...).expect_partial(), to silence these warnings, or use assert_consumed() to make the check explicit. See https://www.tensorflow.org/guide/checkpoint#loading_mechanics for details.
W0519 05:54:04.078219<PHONE_NUMBER>07424 util.py:152] A checkpoint was restored (e.g. tf.train.Checkpoint.restore or tf.keras.Model.load_weights) but not all checkpointed values were used. See above for specific issues. Use expect_partial() on the load status object, e.g. tf.train.Checkpoint.restore(...).expect_partial(), to silence these warnings, or use assert_consumed() to make the check explicit. See https://www.tensorflow.org/guide/checkpoint#loading_mechanics for details.`
I dont know why it crashes after the first epoch, which does not even run. Any answers would be helpful!
Thanks.

That can be several things, but it does really sound like your box labels might be larger than 1 or smaller than 0, which is a problem i have run into a couple of times.
It could also be something with the amount of classes that you have, you say you are using 1 single class? Have you followed the guide about transfer learning so that you reduce the 80 classes the standard weights have (if you are not training from scratch) down to 1?

That can be several things, but it does really sound like your box labels might be larger than 1 or smaller than 0, which is a problem i have run into a couple of times.
It could also be something with the amount of classes that you have, you say you are using 1 single class? Have you followed the guide about transfer learning so that you reduce the 80 classes the standard weights have (if you are not training from scratch) down to 1?

Are there more steps than just changing "num_classes" to be 1? if there are, could you send me a link to it? Thank you so much.

Are there more steps than just changing "num_classes" to be 1? if there are, could you send me a link to it? Thank you so much.

Yes, if you are using weights you need to set the weight_num_classes to 80.
Here is a link: https://github.com/zzh8829/yolov3-tf2/blob/master/docs/training_voc.md (Its under transfer learning)
What are the flags that you are using right now?

Are there more steps than just changing "num_classes" to be 1? if there are, could you send me a link to it? Thank you so much.

Yes, if you are using weights you need to set the weight_num_classes to 80.
Here is a link: https://github.com/zzh8829/yolov3-tf2/blob/master/docs/training_voc.md (Its under transfer learning)
What are the flags that you are using right now?

I have used the exact same command line arguements as given in the doc, except i changed the num_classes to 1
!python train.py \ 	--dataset ./tfrecord/train.tfrecord \ 	--val_dataset ./tfrecord/valid.tfrecord \ 	--classes ./data/sat.names \ 	--num_classes 1 \ 	--mode fit --transfer darknet \ 	--batch_size 16 \ 	--epochs 3 \ 	--weights ./checkpoints/yolov3.tf \ 	--weights_num_classes 80
The only change I made aside from this was changing the model.py Flag.max_boxes to 4000
`
flags.DEFINE_integer('yolo_max_boxes', 4000,
'maximum number of boxes per image')
flags.DEFINE_float('yolo_iou_threshold', 0.5, 'iou threshold')
flags.DEFINE_float('yolo_score_threshold', 0.5, 'score threshold')
yolo_anchors = np.array([(10, 13), (16, 30), (33, 23), (30, 61), (62, 45),
(59, 119), (116, 90), (156, 198), (373, 326)],
np.float32) / 416
yolo_anchor_masks = np.array([[6, 7, 8], [3, 4, 5], [0, 1, 2]])
yolo_tiny_anchors = np.array([(10, 14), (23, 27), (37, 58),
(81, 82), (135, 169),  (344, 319)],
np.float32) / 416
yolo_tiny_anchor_masks = np.array([[3, 4, 5], [0, 1, 2]])`

\ --classes ./data/sat.names

What is the content of your sat.names?

\ --classes ./data/sat.names

What is the content of your sat.names?

just "car". It works fine with the visualize_detection so i assumed the sat.names is fine.

Could you post a sample of one of your labels, perhaps that could give me some insight.
If i were you id check all your labels to 100% certain that under no circumstance does any of the values go out of the 0-1 range

Could you post a sample of one of your labels, perhaps that could give me some insight.
If i were you id check all your labels to 100% certain that under no circumstance does any of the values go out of the 0-1 range

BY labels, if you are referring to the annotation file, it is in a .tfrecord file,  i parsed them and viewed them, below is an example
https://drive.google.com/file/d/1sVfWMivktowMmDM91lsj4395rC7Hh8jw/view?usp=sharing
You need to scroll down an extent to view the coords/labels etc. the top of the txt file is just bytevalues.

Not that its an issue, but it does seem like in this labelfile that almost all of your labels are en the bottom left corner of your image.
I dont see something inherently wrong with the labels, however what you can do is run the detect python script in a loop and see if it crashes on one of the labels. Though the easiest way of checking this is going to the source label file (usually an XML file and loop through all of them running some checks on smaller than 0 and larger than 1.
If this is not the problem then i'm not sure what it could be

Not that its an issue, but it does seem like in this labelfile that almost all of your labels are en the bottom left corner of your image.
I dont see something inherently wrong with the labels, however what you can do is run the detect python script in a loop and see if it crashes on one of the labels. Though the easiest way of checking this is going to the source label file (usually an XML file and loop through all of them running some checks on smaller than 0 and larger than 1.
If this is not the problem then i'm not sure what it could be

I went through all the images both training and validaiton, and all worked perfectly. do you think its to do with me changing my max_boxes to 4000?

Okay i fixed it by dividing my 3000x3000 image into multiple smaller 300x300 images .

Hi, I have a very similar problem. When I train with 60 training images and 15 validation images, it works. But when I train with 400 training images and 100 validation images then I get kind of the same error as you do. The images have the size 600x600 pixels and get resized to 416.
Is this some kind of memory issue? Does anyone have a solution?

Hi, I have a very similar problem. When I train with 60 training images and 15 validation images, it works. But when I train with 400 training images and 100 validation images then I get kind of the same error as you do. The images have the size 600x600 pixels and get resized to 416.
Is this some kind of memory issue? Does anyone have a solution?

Nevermind, some of my bouonding box coordinates were outside the image. After fixing my annotations, everything is fine now.

Hi, I have a very similar problem. When I train with 60 training images and 15 validation images, it works. But when I train with 400 training images and 100 validation images then I get kind of the same error as you do. The images have the size 600x600 pixels and get resized to 416.
Is this some kind of memory issue? Does anyone have a solution?

Nevermind, some of my bouonding box coordinates were outside the image. After fixing my annotations, everything is fine now.

I was working on SVHN dataset and faced the same problem and when I looked up annotations, found that bounding boxes are indeed stretching out of the image dimensions for some images.

Hi, I find this problem is attributed to data, if anyone meet this, you should check data annotation carefully, note xmax must bigger than xmin, and ymax must bigger than ymin, and all xmax、ymax、xmin、ymin must in the image.


add redux-devtools and fix in files for eslint

add redux devtools view actions and dispatch in panel

add git hook pre-commit, run script lint, test, test:server to make sure that the changes do not break the code mern-sarter

fix in files directory shared for eslint

solution a issue #72

Awesome work @carloscuatin. Thanks!


Resource source refactor

refactored resource source defined type to remove the if/then logic and set defaults when the parameter is declared.  added namevars to resource definitions to allow for multiple resource declarations.

@smithtrevor I think most of this is still valid but it needs a rebase.

@liamjbennett got it,  I'll take a look and rebase it


missing URI from 1803 update

Missing the URI for the Search options, which include safesearch, cloudsearch, and history settings.  Would be great to include this for image customization.

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

ID: c6a2ae18-080e-3470-d1c7-ab2990d4da85
Version Independent ID: 3d0d02af-c1d7-e2e7-ba01-15e0904dc9a6
Content: Launch the Windows Settings app - UWP app developer
Content Source: windows-apps-src/launch-resume/launch-settings-app.md
Product: windows
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

Hi @DanNCengineer, thanks for your feedback. I believe the string you're looking for is "ms-settings:search-permissions". I'll add the URI to the page.

No, it's not.
If I wanted to hide the individual options for the following individual settings (such as safesearch, my device history, or couldsearching) , so they didn't appear to the general users, how would I do that?
I'm thinking something like ms-settings:search-safesearch, ms-settings:search-cloudsearch and ms-settings:search-search history.

Hi @DanNCengineer, unfortunately comments left here are meant for documentation feedback, so I'm unable to provide ongoing technical support. I'll follow up with the team about whether the docs need to be updated based on what you're saying, but in the mean time I'd recommend you consult our forums or StackOverflow. Or, check out the the developer support page for your support options.
If you are looking for functionality that isn’t currently provided by the product, please use the Windows developer feedback site. We’d be happy to have this on record, where others can view it and upvote it.


recurrenced the code

I want to recurrence the code in the CUDA=11.1 environment.  I used the officialIs pretrained model weights for  demo.  But the result is incorrect.  it because of the environment？

@LTNdeep Hello, environment doesn't seem to be a problem.
Since your result is on CCD dataset. Please refer to this
https://github.com/Cogito2012/UString/issues/23#issuecomment-1166599523


[XR] Implementation of WebXR Depth Sensing Feature (reopen of #13159)

Re-open PR of #13159
Sorry for not having reopend this for over two months.
I want some reviews and disscussions for my API specification.
=============
Add a WebXR Feature of Depth Sensing Module.
Related issue is https://github.com/BabylonJS/Babylon.js/issues/11876
Related forum page is here.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

I'm thinking about WebXRDepthSensing Feature's APIs.
Currently, it provides some data like below.
  const depthSensing = featureManager.enableFeature(
    WebXRFeatureName.DEPTH_SENSING,
    "latest",
    {
      dataFormatPreference: ["luminance-alpha"],
      usagePreference: ["cpu-optimized"],
    } as IWebXRDepthSensingOptions,
    true,
    true
  ) as WebXRDepthSensing;

  depthSensing.onGetDepthInMetersAvailable.add((getDepthInMeters) => {
    const meters = getDepthInMeters(0.5, 0.5);
    console.log(meters);
  });

  sessionManager.onXRFrameObservable.add(() => {
    const {
      depthUsage,                  // "cpu-optimized" or "gpu-optimized"
      depthDataFormat,             // "luminance-alpha" or "float32"

      width,                       // depth image width
      height,                      // depth image height

      rawValueToMeters,            // operator of obtain depth value in meters

      normDepthBufferFromNormView, // An XRRigidTransform

      latestDepthImageTexture,     // RawTexture for depth image
      latestDepthBuffer,           // depth value array (cpu only)
      latestWebGLTexture,          // WebGLTexture of depth image (gpu only)
    } = depthSensing;

    // obtain depth image texture
    material.diffuseTexture = latestDepthImageTexture;
  });

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/13563/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13563/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13563/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/13563/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/13563/merge
https://gui.babylonjs.com/?snapshot=refs/pull/13563/merge
https://nme.babylonjs.com/?snapshot=refs/pull/13563/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/13563/merge#BCU1XR#0

thank you so much for that! i'll take the time later today to review it.

I've tried current WebXRDepthFeature on another Babylon.js project.
This is the result. It shows a depth texture (RawTexture) on a plane!
https://user-images.githubusercontent.com/11372210/222452518-4fcfc6f0-2da7-4d3a-9f84-bb09be8e78ae.mp4

Awesome!
The next step would be to add it to the docs page (in the AR section).
If you don't feel comfortable doing that I will add a task for me in the doc repository.

@RaananW
Thank you so much again for reviewing entire my suggestion.

The next step would be to add it to the docs page (in the AR section).

OK, I'll write a draft for WebAR Docs Page !


[BEAM-12442] Make sure that row renames work properly in nested rows.

R: @mouyang

Run Java PreCommit

R: @mouyang

@reuvenlax LGTM.  I have two general knowledge questions.

I didn't get a chance to try out your user mailing list suggestion of reshuffle, but will this PR mean that I won't have to do a reshuffle anymore?  It seems like it but I'm not 100% sure.
Traversing the Schema and Row is preferred over reshuffling, correct?


chore: fix displayName / description

What does this PR do?
use Podman AI Lab wording
Screenshot / video of UI

What issues does this PR fix or reference?

How to test this PR?

not sure for the second replacement


CORE Recent Deposits widget has incorrect URLs

The Recent Deposits widget on the CORE landing page has incorrect URLs for the main link, the View button, and the Deposit button.
Additionally, embargoed (future-dated) deposits appear first in the listing.
This was probably caused by the ElasticSearch update.
Example
"Mathematical Dimensions of Amenama Man Wankyo Children Play of the Tiv People of Iyon Shangev-Ya in Kwande Local Government Area of Benue State, Nigeria"
Current link: https://hcommons.org/humcore_deposit/hc44109/
Should be: https://hcommons.org/deposits/item/hc:44109/
View link: https://hcommons.org/humcore_deposit/hc44109/
Should be:  https://hcommons.org/deposits/view/hc:44110/CONTENT/ver-v3i1-009.pdf/
Download link: https://hcommons.org/deposits/download////
Should be: https://hcommons.org/deposits/download/hc:44110/CONTENT/ver-v3i1-009.pdf/

hc-suggestions/templates/suggestions/humcore-deposit.php was directly accessing the post object rather than through WordPress functions (get_post_meta and get_permalink) which bypassed filters for our configuration. Using the functions appears to correct the problem:
https://github.com/MESH-Research/hc-suggestions/commit/076f8cd454ac05b234f4c210d890a51ed15f4ac6