📞👩💻 WinUI Bonus Community Call - Preview 1 Q&A

This community call Q&A session has ended.
See the recording here: https://aka.ms/winuibonuscall

Now that you've all had the chance to play with Preview 1 a bit, we are planning a special bonus edition of the monthly WinUI Community Call - an hour-long Q&A live stream session to answer all of your burning questions about WinUI 3 Preview 1!
Comment below on this Github issue with all of your questions 👇
Details
Date: Tuesday June 2, 2020 (NOTE: this will be taking place on a Tuesday rather than our regularly-scheduled community calls that take place on Wednesdays).
Time: 16:00-17:00 UTC (9:00-10:00am Pacific)
Anyone and everyone is welcome - no pre-registration is required.
This will be an informal interactive live stream Q&A directly with members of our engineering team.
Format
In this call, we want to answer all of your questions about WinUI 3 Preview 1. We won't have any agenda or guest speakers on the call - we'll be spending the whole time answering your questions.
We will have both engineers and program managers on this call, so feel free to ask product/vision related questions and/or in-depth technical questions! We'll also have team members on the call from the Windows Community Toolkit, so feel free to ask any questions you have about WinUI 3 Preview 1 + WCT 8.0 Preview 1.
Please note that we likely won't be able to answer questions that are specific to your app (i.e. why doesn't this work?) so please try to ask questions that would have answers that are beneficial for all to hear. 😊
Ask away!

🦙 The Llama will be there!

How the questions will be taken, leaving a comment here or in the youtube chat?

Can we expect more first party apps from Microsoft based on WinUI 3? Be it new apps or updates of existing ones.
Cheers, thank you for all your work!

@MuziburRahman You can do either 😊

Is there any limitation for Win2D in Win32 apps using WinUI ? If so, is there any plan to bring it to win32? Direct2D is already available for win32 apps AFAIK.

Is there any plan for an API to generate PDF?  ( #672 )

Is there any limitation for Win2D in Win32 apps using WinUI ? If so, is there any plan to bring it to win32? Direct2D is already available for win32 apps AFAIK.

🦙 There's an issue on the Win2D repo tracking WinUI support here.

Is there an update on faux acrylic?

The Windows.UI.Xaml namespaces are defined in the WinRT API, and Microsoft.UI.Xaml namespaces must be explicitly declared in Xaml and code-behind to access them. For example, if I use Preview 1 to create a WinUI in UWP app, App.xaml's Application and ResourceDIctionary classes are from the Windows namespaces, as are Page, StackPanel and Button in MainPage.xaml. If WinUI namespaces are to replace the Windows.UI namespaces, how are you going to resolve this?

I assume the source for all those will move to Microsoft.UI.Xaml before launch

What I'm thinking is that as long as the Windows.UI.Xaml namespaces are in the API instead of the Microsoft.UI.Xaml namespaces, you'll have to manually declare them, such as by adding xmlns:mux="using:Microsoft.UI.Xaml" and   xmlns:muxc="using:Microsoft.UI.Xaml.Controls" statements to xaml files and then prefixing each control, for example, '<muxc:StackPanel' or '<mux.Style'.
Failing to do so will have you still referencing the ones in your UWP project.  I'm assuming the Windows.UI.Xaml namespaces will have to come out of or get replaced in the API. My question is how the team is going to address this down the road. Of course, my understanding may be flawed and there may be a simpler way to go.

Will we be able to develop using Rust and WinUI? Any ideas on timescales and what that might look like, eg within VS/VS Code etc?

🦙 The Llama will be there!

Does the Llama have any tips for building the WCT on the branch for preview 1? I'll admit, I haven't tried very hard yet. I pulled the code down, made sure the right workloads were installed in VS, and pulled the packages.  I'll gather them up for tomorrow.

Feeling slightly confused here with WinUI3.0 and .Net 5 versus the current UWP model.
It seems that MS is recommending developers to use Winui3.0 with .NET 5 or that it is the future of desktop development for Windows.  If I do that and I would luv todo that because I think WinUI3.0 / .NET 5 will be multiple times more performant than running a UWP app in the sandbox what happens then to the cross platform story of UWP apps that's suppose to works cross platform / device including XBOX. So how  does WINUI3.0 / .NET 5 fit into or link  to cross device (windows 10 )  traditional UWP targets ?
If you say that pure desktop is WINUI3.0 / .NET 5  and cross platform is
UWP / WINUI3.0 is there a roadmap to give us one project solution from where we can target the different devices similar to the .NET MAUI roadmap ?
Therefor we have on project with all the different target configuration of the different devices.
proj file

winui3.0 desktop app configuration
Windows Store configuration  (xbox , windows 10 , IOT)
WINUI 3.0 Views
Source Code.

Also , with the windows package manager on the horizon will the Windows Store become a shell / front end of the  package manager ?  That would make the most sense to me then with windows 10X virtualization every app on the "windows package manager" still has an option to run within a virtual sandbox.
I would appreciate if MS can give us some direction here of what might potentially happen to the Windows Store / Windows Package Manager / Sandboxed Apps and how this related to the best strategy moving forward with WINUI3.0 / .NET 5  ?
I currently have a UWP, should I convert this app to WinUI 3.0 / .NET 5 ?

🦙 The Llama will be there!

Does the Llama have any tips for building the WCT on the branch for preview 1? I'll admit, I haven't tried very hard yet. I pulled the code down, made sure the right workloads were installed in VS, and pulled the packages.  I'll gather them up for tomorrow.

@alvinashcraft did you follow the steps here? The WCT preview only works for WinUI 3 Desktop apps currently. If you're still having trouble, feel free to add a comment with your environment/error details to our issue over on the Toolkit repo. Thanks!

@terrycox to answer your question, we will be switching to using Nuget delivered metadata for the Windows SDK that doesn't contain the Windows.UI.Xaml types.
However, even today you shouldn't need to define the namespaces like that, the default namespaces should now include Microsoft.UI.Xaml. Can you share your repro project?

It seems that MS is recommending developers to use Winui3.0 with .NET 5 or that it is the future of desktop development for Windows. If I do that and I would luv todo that because I think WinUI3.0 / .NET 5 will be multiple times more performant than running a UWP app in the sandbox

@Pinox we still very much believe in UWP. Kevin Gallo said if he were to create an app today he'd start with UWP. WinUI3 in Desktop is an ask from many customers who find that UWP doesn't meets their needs due to the restricted sandboxed environment that the apps run in.

what happens then to the cross platform story of UWP apps that's suppose to works cross platform / device including XBOX

This is precisely why we are still pushing UWP! WinUI in Desktop apps won't run on XBOX since they are desktop only.

Windows Store deployment versus "windows package manager" is also overlapping.

I totally hear you there, and I think it ultimately depends on your type of customers. Most consumers aren't comfortable in the command line, so if I was targeting that line of customers, I would stick to the store. But if I were writing a tool for developers, or my app was used in an enterprise setting, then winget would make a lot of sense.

@alvinashcraft did you follow the steps here? The WCT preview only works for WinUI 3 Desktop apps currently. If you're still having trouble, feel free to add a comment with your environment/error details to our issue over on the Toolkit repo. Thanks!

Thanks, @michael-hawker. I'll give it another go this weekend. I've got a chapter dedicated to WCT in my Learn WinUI 3 book. I'll be writing the first draft of that chapter in a couple of weeks, so based on what's currently there, I will probably need to focus on WCT with WinUI 3 + Desktop apps to include some sample code.

What milestone could we expect to be able to create more than one top-level window with WinUI content from Win32?

Will there be a sample demonstrating how to combine WinUI with Direct2D?

Do you plan to update the roadmap soon? Do you know when you will know which features will make it to the go-live Preview 4 release this fall?

@Pinox winget doesn't host any packages it is only a frontend. But the store does. winget enables users to install an app from a source  using scripts for easy deployment . It also allows installation of UWP applications. So it never creates a problem with 10x or sandbox. Windows store or msix offers a clean packaging but not a sandbox. It is the UWP model offering the sandbox.

You can see the namespace issue by simply using the Preview 1 UWP template, building the project, and browsing it's files. Assuming Intellisense is reporting correctly, they are all in  Windows.UI.Xaml namespaces.

@stevenbrix thanks for your reply.   I think my impression comes from the fact that WinUI3.0 / NET 5 already works and UWP with .NET 5 is a work in progress with no definitive preview date except that it  will launch with .NET 5.
For me the best scenario will be to use the most performant channel for desktop apps on windows 10 and I think it is safe to say that it will not be UWP sandboxed apps.  I also want to add com interop to my desktop app so the WinUI3.0 / NET 5 will probably suit my app better going forward but I don't want to lose the cross device capability of UWP apps.  Therefor my reference to a ".net maui" type project structure where you can target both (WinUI3.0 / .NET 5 +  UWP)
What I don't understand is why does the Xamarin team get to unify all the projects into one with .net maui.  Why can't this also be the reality on the rest of the ecosystem UWP + Winui3.0 + Blazor + Uno.  One Project with the different config + views for the underlying platforms.  No more shared dll's / Shared projects to reuse the code between the different projects.  It will make for a much more performant architecture overall especially with one BCL.
@ijsankar my understanding was that the windows package manager will point to a "Microsoft repository"  but potentially also to any other repo. therefor 2 MS repo's (package manager repo + store repo) seems like a duplication that is probably going the change going forward. I might be wrong in my understanding when I read about the MS repo.   I understand the differences in the sandboxed apps. I am essentially posing the question why can't the "windows package manager" give us the option to install sandboxed or non-sandboxed apps.  It will make for a much better ecosystem and the windows store front end UI can be an optional UI for the general end user on the  "one Microsoft repo".
I might be jumping the gun here with the hope that we can see the same unification of architecture like the .net maui roadmap judging by some comments.

You can see the namespace issue by simply using the Preview 1 UWP template, building the project, and browsing it's files. Assuming Intellisense is reporting correctly, they are all in Windows.UI.Xaml namespaces.

@terrycox I think I see what's going on. The Xaml intellisense is hardcoded to use Windows.UI.Xaml for UWP projects. This is a known issue, and we plan on addressing it by Preview4.
Here are some screenshots to show you what I'm seeing.
Xaml Intellisense (which is incorrect):

C# Intellisense (source of truth):

For me the best scenario will be to use the most performant channel for desktop apps on windows 10 and I think it is safe to say that it will not be UWP sandboxed apps. I also want to add com interop to my desktop app so the WinUI3.0 / NET 5 will probably suit my app better going forward but I don't want to lose the cross device capability of UWP apps. Therefor my reference to a ".net maui" type project structure where you can target both (WinUI3.0 / .NET 5 + UWP)

@Pinox as I understand things, the single .NET Maui project structure doesn't change the platform targets or runtime behavior, it's just a simplification in development.
Are you saying you want to write a single app that will run in the AppContainer on XBOX/10X/HoloLens, but when on Desktop not run in the AppContainer?

Ah. Thanks.On Jun 2, 2020 3:30 PM, Steve Kirbach<EMAIL_ADDRESS>wrote:
You can see the namespace issue by simply using the Preview 1 UWP template, building the project, and browsing it's files. Assuming Intellisense is reporting correctly, they are all in Windows.UI.Xaml namespaces.
@terrycox I think I see what's going on. The Xaml intellisense is hardcoded to use Windows.UI.Xaml for UWP projects. This is a known issue, and we plan on addressing it by Preview4.
Here are some screenshots to show you what I'm seeing.
Xaml Intellisense (which is incorrect):
C# Intellisense (source of truth):
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

@alvinashcraft awesome, if you run into any issues, let us know on that linked issue in the Toolkit repo. Always happy to help!

@stevenbrix  yes , the simplification in development is what I am referring to.
this is .net maui

this is what i am proposing :

@Pinox is there a MAUI issue somewhere where they talk about the Platforms tree?
I see things being more useful to be displayed underneath the file:
   📁 Helpers
      🔽 BluetoothAdapter.cs
         - 🤖 Android
         - 🍎 iOS
         - 🐱👤 Windows
   🔽 MainPage.xaml
       ▶ MainPage.xaml.cs

Clicking on the file itself would just take you to whatever current platform you have selected for debugging, but you could still drill-in to pull up the alternates (and they'd show up in search of course still).

@michael-hawker   agree , that will also be perfect.  Was just using the maui image , as I think uniformity is important in the .net ecosystem, but the important thing here is you are unifying UWP  + Winui3 Desktop. That and the fact that having most code in the same project will probably make things more efficient in Visual Studio , should increase performance and just make things generally way simpler.


chore: minor tidying (inline docs, loglines, etc.)

Just fixes minor grammar, spelling, and style stuff for readability; also adds a couple comments regarding possible issues, one that I noticed and one that VSCodium marked.

Thank you for all your contributions @cravl-dev!

FYI, method documenting comments should not include the (). You can find a few examples here: https://go.dev/doc/comment#type

Good to know, thanks! This is my first time messing with Go, wasn't sure about the conventions.


Increase the standard 16x image size for commandbar items

Suggested new feature or improvement
We're committing to using WinUI 3 in earnest, and finding some limitations. One minor one is the size of button images on the commandbar. This is particularly problematic for PI because we anticipate that most items on the bar will be external tools that the user registers. For each of these, we use the tool's own icon, and they generally don't expect to be constrained to 16px.
Consider overriding the size attribute specifically (ie, don't create an entire new style).

We'll aim to stick to standard UI wherever possible.


Add cosmetic changes and add "just stop" functionality

Sweeet, good changes. I'm also going to change the repo name from "j" to "just", so that might break stuff.


Sometimes Ctrl+C is not working in description textbox

User reports this on version 7.2.219
Case 181155

This is handled by the framework and should not happen. Did a few tests and cannot reproduce it either. May need more info/testing.

Closing until we can reproduce.


Enhance/meta 4120 -Ability to move queries/folders across the Collection

Ability to move queries/folders across the Collection
In Atlan insights tab, we can move queries across folder. But we don't move across collection need to find out what are the constraints.

Hope you have rebased your ranger-policy feature branch from master and then generated the ranger plugin jar ?

Merged the changes, also just once verify in beta if previous change is working properly @nixon-atlan


[docs] A major every year is a nice tradeoff

Releasing breaking changes too often is a killer for enterprises.

I have reverted the commitment to a specific release date. I have only increased the release frequency to be fuzzier. I think that we can merge, it leaves more room for the core team to think about the release strategy we gonna use for v5.


Try retrying BOM find command.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?
[x] Have you successfully run brew man locally and committed any changes?

Review period will end on 2020-11-26 at 21:31:05 UTC.

Review period skipped due to critical label.


Model#refresh and fixes to fetch behaviour.

Adds new method called refresh, which behaves similarly to fetch, but will fetch by ID attribute alone if possible (allowing for updating changed attributes, and predictable fetching on indexed columns).
Addresses other unexpected behaviour in fetch, such as trying to use json columns in where clauses (not valid).
See #796, #550, #778.

What happened?

ES6 happened. All the changes are going to be targeted at the /src dir now :)

@ricardograca Yeah, I've squashed the commits and manually rebased them into a new branch. They just need some test coverage and they'll be good to go.


Create fake request, reply hapi interface for trailpack

In order to have only one interface for embedded controllers and policies, I create trailpack-controller and trailpack-policies that must use hapi interface for request/reply. In order to these component to work with trailpack-express we need to wrap methods of those component and transform express req/res into dummy hapi request/reply. Like this trailpack that use those class can be compatible with hapi and express very easily.
I didn't know how to do this because hapi allow some things like reply().header('key', 'value').redirect('newURL') and I don't know how make something like this with express API.
Any idea ? Any help appreciate ^^

@wbprice based on your current Langa project, you might have the most insight here.

@wbprice any ideas on how create this ?

Up @wbprice :)

Maybe https://www.npmjs.com/package/hapi-to-express can help :)


: Can't bind to 'ngModel'

I'm trying to just replicate the example based on the read me and I get this.     My sharedModule imported the formModule and export it.  what am i missing?
Error: Template parse errors: Can't bind to 'ngModel' since it isn't a known property of 'ss-multiselect-dropdown'. 1. If 'ss-multiselect-dropdown' is an Angular component and it has 'ngModel' input, then verify that it is part of this module. 2. If 'ss-multiselect-dropdown' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message. 3. To allow any property add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component. ("<ss-multiselect-dropdown [options]="myOptions" [ERROR ->][(ngModel)]="optionsModel" (ngModelChange)="onChange($event)"></ss-multiselect-dropdown>"): ng:///SharedModule/MultiSelectDD.html@1:0
--share module.

import { NgModule }            from '@angular/core';
import { CommonModule }        from '@angular/common';
import { FormsModule }         from '@angular/forms';
import {HttpModule} from "@angular/http";
import {StandardChartResource} from './standardChartResource'
import { ChartModule } from 'angular2-highcharts';
import {ServiceBase} from './base.service';
import {ChartComponent} from './charts/chart'

import {SelectModule} from 'ng2-select';

import {ShopSelectOption} from './select/shop-select-option';

import { MultiselectDropdownModule } from 'angular-2-dropdown-multiselect';
import {MultiSelectDD} from './select/multi-select-dd'

@NgModule({
  imports:      [ CommonModule,HttpModule,
  ChartModule.forRoot(require('highcharts')),SelectModule,MultiselectDropdownModule ],
  declarations: [ ChartComponent,ShopSelectOption,MultiSelectDD ],
  exports:      [ ChartComponent,ShopSelectOption,MultiSelectDD,
                  CommonModule, FormsModule,HttpModule,SelectModule,MultiselectDropdownModule ]
    ,providers: [ServiceBase,StandardChartResource]
})
export class SharedModule { }

Try importing MultiselectDropdownModule in the actual module where you use the component in a template.

no luck, tried everything.

even i am facing the same issue

Not sure what best practice is, but I have the references in my declarations section:
e.g.
import { NgModule }      from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';
import { MultiselectDropdown } from './multiselect-dropdown';

@NgModule({
  imports:      [ BrowserModule, FormsModule ],
  declarations: [ AppComponent, MultiselectDropdown ],
  bootstrap:    [ AppComponent ]
})
export class AppModule { }

yes, I have the same problem

I had this issue also, what fixed it for me was adding the FormsModule.

FormsModule must be added to the same NgModule where the dropdown component is present.


[Do not merge/review] new fork

Thank you for contributing to Coda! Please see CONTRIBUTING.md if you haven't
yet. In that doc, there are more details around how to start our CI.
Explain your changes here.
Explain how you tested your changes here.
Checklist:

[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them:

Closes #0000
Closes #0000

hard-fork test is done, closing this


Replace canary versions by fixed versions in yaml

In GitLab by @paul.laffitte on Sep 21, 2020, 23:18

In GitLab by @paul.laffitte on Sep 23, 2020, 22:02
mentioned in merge request !16

In GitLab by @paul.laffitte on Oct 8, 2020, 20:20
mentioned in commit 490649820e2e155a0f8799a23d0b6a309bd2e424


Translation Request: [Turkish]

I am able to translate this language [yes]. I would like to translate the repo that will interest me and improve me to translate it into Turkish. Is there permission?

Open a pull request with your translation and find 2 additional people to review this PR 🙂


Minimal Python container to build az aro extension

(This PR recreates #3439 off of in-repository branch for CI checks)
Which issue this PR addresses:
Small step for ARO-5088
What this PR does / why we need it:

Creates a new Makefile target to build the az aro extension with no other dependencies
Adds a new containerfile to create a build container for the above

Test plan for issue:
Manually invoke target and ensure it creates an aro-${VERSION}-py2.py3-none-any.whl file within ./python/az/aro/dist.
Is there any documentation that needs to be updated for this PR?
Eventually, https://msazure.visualstudio.com/AzureRedHatOpenShift/_wiki/wikis/ARO.wiki/188187/AzureCLI-preview-extension-publishing# should be updated to include this target.
Additional Notes

This container does not perform the verification steps performed by the azdev command (style/linter/test). azdev requires that it be run within the context of a Git repository, as well as from within a specific virtualenv.

/azp run ci,e2e

/azp run ci, e2e

/azp run ci


ets table not being cleaned up, causes application crash

Hi, I've noticed that my application is crashing periodically.  I've tracked down this library as at least contributing to the crash.  For whatever reason my supervisor is attempting to restart my JWK strategy but it cannot because the ETS table that it wants to create already exists:
** (exit) an exception was raised:
    ** (ArgumentError) errors were found at the given arguments:

  * 1st argument: table name already exists

        (stdlib 4.2) :ets.new(MyApp.Auth.JwkStrategy.EtsCache, [:set, :public, :named_table, {:read_concurrency, true}, {:write_concurrency, true}])
        (my_app 0.1.0) lib/my_app/auth/jwk_strategy.ex:11: MyApp.Auth.JwkStrategy.EtsCache.new/0
        ( my_app 0.1.0) lib/my_app/auth/jwk_strategy.ex:11: MyApp.Auth.JwkStrategy.start_link/1

I'm not sure why it's being restarted in the first place (I think it is happening after a recompile in dev), but the supervisor is unable to start the JWK strategy and it reaches the retry policy limits which in turn crashes the parent supervisor and ultimately the whole application.
Looking at the implementation I see that the ets table is being created in the start_link function of the strategy: https://github.com/joken-elixir/joken_jwks/blob/master/lib/joken_jwks/default_strategy_template.ex#L190
Since that start_link is being called by my supervisor, it means that the supervisor owns the table.  Therefore whenever the strategy itself restarts under the supervisor, it tries to re-create the ets table and fails.  I think the ets table should probably be started by the actual worker process here.
I think a workaround for me is to check if the table exists in an init_opts callback and delete it if it already exists.  I would be glad to submit a PR to fix the underlying problem, but looking at the actual code I'm a bit curious why it's not just using genserver?  That would make this a bit simpler to solve since the table could be created in the genserver's init callback.

Ouch... this really is a bad strategy... I will probably try to address this on next version (2.0).
The proper fix here might be to handle initialization asynchronously. We could use handle_continue for that.
There is some churn in this repo right now and I am gathering some feedback about breaking changes here so that I can release a 2.0 version of this library. This will, certainly, get into that list but I can't promise a schedule right now...
If you want to try handling this on a PR with an async initialization it will be most welcome.

Something to note: this also happens where the table doesn't exist. Doing a quick view through the code, this likely related to the initialization of the table being done in a task and creating a race condition on restarts, as well. I can't find the exact reason for the table not existing as this is currently happening in local dev and it just randomly occurs with no logs generated. I don't think making initialization async (task or handle_continue) for any of this is feasible as it introduces another race condition. It can be presumed that users will not want their app to start if user access verification isn't available, so it should always be a blocking operation by default.
 * 1st argument: the table identifier does not refer to an existing ETS table

        (stdlib 4.2) :ets.lookup(***.Jwks.Strategy.EtsCache, :signers)
        (policies 0.1.0) lib/***/auth.ex:23: ***.Jwks.Strategy.EtsCache.get_signers/0
        (policies 0.1.0) lib/***/auth.ex:23: ***Jwks.Strategy.match_signer_for_kid/2
        (joken_jwks 1.6.0) lib/joken_jwks.ex:54: JokenJwks.before_verify/2
        (joken 2.6.0) lib/joken/hooks.ex:199: anonymous fn/3 in Joken.Hooks.run_before_hook/3

Doing a quick view through the code, this is likely related to the initialization of the table being done in a task and creating a race condition on restarts, as well.

From the code, it seems like the :ets.new is called directly in start_link/1 through the call to EtsCache.new(): https://github.com/joken-elixir/joken_jwks/blob/v1.6.0/lib/joken_jwks/default_strategy_template.ex#L190
I don't think a race condition can exist there.
The reason I looked this up is because we have the problem of our Elixir Phoenix app not starting (sometimes) and the error we get is that put_signers/1 (https://github.com/joken-elixir/joken_jwks/blob/v1.6.0/lib/joken_jwks/default_strategy_template.ex#L165) fails because the table does not exist, which seems odd given that it was called a few lines above. Not sure if it's related at all 🤔

@Sgoettschkes said:

We use joken and joken_jwks in our application and it works very well.
Our usage is very basic (I believe). We have the following Token implementation:
defmodule App.Accounts.Tokens.Google do
@moduledoc false
use Joken.Config, default_signer: nil
@iss "https://accounts.google.com"
defp aud, do: Application.fetch_env!(:elixir_auth_google, :client_id)
add_hook(JokenJwks, strategy: App.Accounts.Tokens.Strategy)
@impl Joken.Config
def token_config do
default_claims()
|> add_claim("iss", nil, &(&1 == @iss))
|> add_claim("aud", nil, &(&1 == aud()))
end
end
And the following strategy:
defmodule App.Accounts.Tokens.Strategy do
@moduledoc false
use JokenJwks.DefaultStrategyTemplate
def init_opts(opts) do
url = "https://www.googleapis.com/oauth2/v3/certs"
Keyword.merge(opts, jwks_url: url)
end
end
We face some issues with our app refusing to start (in staging, mostly) with the following error message:
[error] Task #PID<0.845.0> started from App.Supervisor terminating
** (ArgumentError) errors were found at the given arguments:

1st argument: the table identifier does not refer to an existing ETS table
(stdlib 5.0) :ets.insert(App.Accounts.Tokens.Strategy.EtsCache, {:signers, %{PRUNED}})
(app 0.1.0) lib/app/accounts/tokens/strategy.ex:3: App.Accounts.Tokens.Strategy.EtsCache.put_signers/1
(app 0.1.0) lib/app/accounts/tokens/strategy.ex:3: App.Accounts.Tokens.Strategy.fetch_signers/2
(elixir 1.15.4) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
Function: #Function<1.47344484/0 in App.Accounts.Tokens.Strategy.start_fetch_signers/2>
Args: []

It seemed like a race condition because it worked most of the time. We were not able to figure out what went wrong and diving into the joken_jwks code, it seems strange that the ETS table would not be created because we'd expect the process to fail earlier when setting the counter to 0.
After some more investigating, the problem seems to be related to the compilation step, not the runtime. The reason we suspect this is that a build that throws the error above does it every time it's started and a build that does not throw on the first start does not throw at all. Locally it's the same, as soon as the app throws the error at startup each mix phx.server will throw the error. Recompiling the app will solve this, but changing unrelated files (which only trigger a partial recompile) does not.

So, I've used the base work from @lovebes and refactored it a bit. I believe that what we have currently in #48 should solve issues here. The only way it would STILL show this exception is by registering two process by doing something like:
      Supervisor.child_spec(MyStrategy, id: :id_1),
      Supervisor.child_spec(MyStrategy, id: :id_2)

This would still make it impossible to initialize the cache because it we are using the module name to do that and on both the module is the same. It would still break in an awkward way with 1st argument: table name already exists but I believe this is the only way to reproduce this now. All initialization work is on the init/1 GenServer callback which is run on the new process that is tied to the table lifecycle (if it dies, the table dies).
Can anyone here try it locally before I release a new version? You can do that with a github dep passing the PR branch like:
  # in mix deps
  {:joken_jwks, github: "joken-elixir/joken_jwks", branch: "feat/better_process_integration"}

P.S.: thanks once again to everyone's trying to figure this one out! OSS for the win!

I have only seen this in local dev with code reloading on, so this makes sense. 👍🏻

I am experiencing the same issue in a Phoenix application. For the time being I am initializing the strategy with first_fetch_sync: true which seems to work but I am not sure how this affects the rest of my application.

Hi @alolis ! Can you try the branch I've mentioned? Just to check if it works :)
THanks!

Hi @alolis . Just gave it a try and I am getting (UndefinedFunctionError) function :hackney.request/5 is undefined (module :hackney is not available).
Am I supposed to install something else in order for the branch to work?

@alolis this is strange as we haven't touched adapter configuration.
By default we use a Tesla request configuration and it uses :hackney as the client if nothing else is configured. Were you passing adapter options? This was supposed to work just the same as before...

@victorolinasc , I have completely removed my deps and did a fresh mix deps.get but unfortunately the same issue. It seems that hackney is not getting installed if I use the branch but I can see it in my deps if I use {:joken_jwks, "~> 1.6.0"} in my mix.es.

Any update on the fix for this? I'm having to restart mix phx.server every few minutes
[error] Child MyAppWeb.FirebaseJwks of Supervisor MyApp.Supervisor terminated
** (exit) killed
Pid: #PID<0.592.0>
Start Call: MyAppWeb.FirebaseJwks.start_link([])
Restart: :transient
Shutdown: 5000
Type: :worker
[error] Child MyAppWeb.FirebaseJwks of Supervisor MyApp.Supervisor failed to start
** (exit) an exception was raised:
    ** (ArgumentError) errors were found at the given arguments:

  * 1st argument: table name already exists

        (stdlib 5.2.3) :ets.new(MyAppWeb.FirebaseJwks.EtsCache, [:set, :public, :named_table, {:read_concurrency, true}, {:write_concurrency, true}])
        (cinnamon 0.1.0) lib/cinnamon_web/tokens/firebase_jwks.ex:6: MyAppWeb.FirebaseJwks.EtsCache.new/0
        (cinnamon 0.1.0) lib/cinnamon_web/tokens/firebase_jwks.ex:6: MyAppWeb.FirebaseJwks.start_link/1
        (stdlib 5.2.3) supervisor.erl:420: :supervisor.do_start_child_i/3
        (stdlib 5.2.3) supervisor.erl:406: :supervisor.do_start_child/2
        (stdlib 5.2.3) supervisor.erl:845: :supervisor.restart/3
        (stdlib 5.2.3) supervisor.erl:800: :supervisor.restart/2
        (stdlib 5.2.3) supervisor.erl:615: :supervisor.handle_info/2
        (stdlib 5.2.3) gen_server.erl:1095: :gen_server.try_handle_info/3
        (stdlib 5.2.3) gen_server.erl:1183: :gen_server.handle_msg/6
        (stdlib 5.2.3) proc_lib.erl:251: :proc_lib.wake_up/3

I created a fix PR to prevent table creation if ETS table already exists. That will at least not trigger the table name already exists error. FYI @victorolinasc @wbyrnetx

All the process work is now published as 1.7.0-rc.0.
I f you people can test it It'd be very helpful! A small changelog is:

No more custom logging (use Logger facilities)

If you need to disable specific logging from the library, you can use default Logger facilities like Logger.put_application_level/2 (which accepts :none) and so on. There is no need to use custom logging here anymore.

No more custom telemetry (use Teslas built-in)

Tesla has its own middleware for telemetry events. We should just use that :)

Different process strategy (thanks @lovebes)


feat: Smart Object Framework V2 - Access Control

A comprehensive PR which adds an access control layer to the Smart Object Framework for standardized usage everywhere:

updated the SOF with the access modifier and accompanying logic
added an enforceCallCount modifier for better security practice. This can be use to ensure that a call was made directly to the MUD World rather than internally from another system. When used in parallel with the scope modifier, these ensure that execution context value are only used by 'trusted' systems
updated the scope modifier to now enforce that any previous call was also in a scoped System, thereby ensuring that the call chain cannot leave scope and then come back into scope (security update)
added a new world.callStatic call to the WorldWithContext. This allows for guaranteed execution of staticcall functions between System-to-System calls (without any transient storage interruptions), and also allows us to enforce that access rule implementations MUST BE staticcall functions
implemented a standalone RoleManagementSystem which can be used (for any use case) to create roles and manage the members of those roles
implemented AccessConfigSystem, to allow System namespace owners the ability to configure access control per System/function based on Class (or Object) level access rule requirement and toggle enforcement of these access rules
implemented SOFAccessSystem to create the access rules for EntitySystem and TagSystem
implemented two scripts for configuring the EntitySystem and TagSystem access rules
unit tests and documentation (in mud-contracts/smart-object-framework-v2/README.md)

@ccp-tezza  Can we resolve the merge conflicts ?

@ccp-tezza Can we resolve the merge conflicts ?

Done!


[Feat]: Use Caching and Search Params for ContributorsPage

What feature?
We can using caching to store the contributors data fetched from API. Also the pagination can be achieved using searchParams.
Add screenshots
Add screenshots
Code of Conduct

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

we are thinking to remove the contributors page & adding a new page for new features


Add mineflayer 3.X.X support

Part of the current code breaks due to https://github.com/PrismarineJS/mineflayer/pull/1640
Will work on it once the new windows API has been tested for a few days

Done in https://github.com/imharvol/mineflayer-web-inventory/commit/473ed7cd3906bf4785e8fe28dbfd82e7caa37ccc


tiny typo "filling the form"

To be honest, I just want to be a "contributor" by adding a "g" :D

Don't tell anybody.

Should be a bit more clear with a README =)


Headers

This introduces the ability to add Headers to a Soap request.
A Header builder object is included so that the api is as so:
$header = Soap::header('Authentication', 'test.com', [
                'user' => '...',
                'password' => '...'
            ])
            ->mustUnderstand()
            ->author('foo.co.uk')

Soap::to('...')->withHeaders($header)

Or, the helper method can be used:
$header = soap_header('Authentication', 'test.com', [
                'user' => '...',
                'password' => '...'
            ])
            ->mustUnderstand()
            ->author('foo.co.uk')

Soap::to('...')->withHeaders($header)

Of course, the withHeaders method can accept multiple headers:
Soap::to('...')->withHeaders($header, $anotherHeader, $yetAnotherHeader)

And global headers can also be configured - which can be scoped too:
Soap::headers($header)->for('...')

The Trace object has also been updated to add support for request and response headers.

What happens if somebody doesn't set all of the values on the header? Won't it throw an not initialised exception?

When merging?)

What happens if somebody doesn't set all of the values on the header? Won't it throw a not initialised exception?

All values are initialised when the Header object is constructed; the tests don't set all the values. Happy to hear thoughts if we don't want to go the constructor route to ensure this?


FBFramebufferVideo: getSubtractiveDecodeDuration signalled err=-12633

When I launch a simulator with the following options:
       FBSimulatorLaunchOptions launchOptions =             FBSimulatorLaunchOptionsEnableDirectLaunch |             FBSimulatorLaunchOptionsRecordVideo |             FBSimulatorLaunchOptionsShowDebugWindow;
It happens often that I get an error like the following:
[10:39:54.125] getSubtractiveDecodeDuration signalled err=-12633 (kFigFormatWriterError_InvalidTimestamp) (decode timestamp is less than previous sample's decode timestamp) at /SourceCache/CoreMedia/CoreMedia-1562.240/Prototypes/FormatHandlers/FigFormatWriter_QTMovie.c line 9867
[10:39:54.129] FigMediaProcessorGetSampleBufferProcessor signalled err=-12785 (kFigBaseObjectError_Invalidated) (FigMediaProcessor was invalidated) at /SourceCache/CoreMedia/CoreMedia-1562.240/Prototypes/MediaConverter/FigMediaProcessor.c line 787
[10:39:54.129] VTCompressionSessionGetPixelBufferPool signalled err=-12903 (kVTInvalidSessionErr) (Session was invalidated) at /SourceCache/CoreMedia_frameworks/CoreMedia-1562.240/Sources/VideoToolbox/VTCompressionSession.c line 2250
2016-02-15 10:39:54.130 swoctopus[54300:4456275] 1 Time 25.790000 | Count 901 Time 25.772000 | Count 900 1
[10:39:54.131] assetWriter_AddPixelBuffer signalled err=-12633 (storage->failureError) (AssetWriter has posted a failure notification) at /SourceCache/CoreMedia/CoreMedia-1562.240/Prototypes/MediaConverter/FigRemaker.c line 14257

Which makes the video file unusable. I've tried to set static const CMTimeScale FBFramebufferTimescale = 1000; to a lower value. This seems helps avoid the error, but also makes the code drop a significant amount of frames.
Any idea how this could be prevented?

The stability of the the video recording does need some work. Ideally we could have the movieFragmentInterval set and use AVFileTypeMPEG4 but I was having difficulty getting a monotonic timestamp to work. It looks to be related to Timescale and the rounding mode. There is a guard that will drop frames if the timestamps in ascending frames are equal or out-of-order.
I think it's possible that this check isn't enough and the rounding modes mean that if the timestamps are to close that writing will fail. We should probably also have a monotonic time created when the frames come in, rather than on the mediaQueue so that the timestamps for each frame are as accurate as possible.

@robbertvanginkel Since #230 #229 #228 you should see increased reliability and performance in scaled and unscaled video recording. Let me know if you're still encountering issues.

Great! I'll test it soon and hopefully close the task.

Gave it a shot and initially it wasn't stable. Then I changed the following in FBFramebufferVideo.m:
diff --git a/FBSimulatorControl/Framebuffer/FBFramebufferVideo.m b/FBSimulatorControl/Framebuffer/FBFramebufferVideo.m
index dfdb64b..ada9113 100644
--- a/FBSimulatorControl/Framebuffer/FBFramebufferVideo.m
+++ b/FBSimulatorControl/Framebuffer/FBFramebufferVideo.m
@@ -29,7 +29,7 @@ typedef NS_ENUM(NSInteger, FBFramebufferVideoState) {

 static const OSType FBFramebufferPixelFormat = kCVPixelFormatType_32ARGB;
 // Timescale is in microseconds.
-static const CMTimeScale FBFramebufferVideoTimescale = 10E4;
+static const CMTimeScale FBFramebufferVideoTimescale = 600;
 static const CMTimeScale FBFramebufferVideoRoundingMode = kCMTimeRoundingMethod_RoundTowardZero;

 @interface FBFramebufferVideo ()

as the docs on CMTimeScale mention the following:
/*!
	@typedef	CMTimeScale
	@abstract	Denominator of rational CMTime.
	@discussion	Timescales must be positive.
				Note: kCMTimeMaxTimescale is NOT a good choice of timescale for movie files.
				(Recommended timescales for movie files range from 600 to 90000.)
*/

That got me stable video recordings! (Well, after figuring out I still had to call stopRecording with the changed API).
Thanks for the effort for improving this! It'd be great if you could verify that this helps and merge it in, otherwise I'll create a pull request over the weekend if I figure out what a recommended timescale is.

Nice! This sounds promising. You may have seen that in #233 there's now a Config object that can be used to change these values without updating FBSimulatorControl itself, since there has been quite a bit of churn getting these values correct. I'd suggest making changes to the defaults there in any PR that you make.

Tried it and it seems much more stable. Closing this one for now. Thanks!


Only on HTTPS?

It seems like only HTTPS is supported and not SSH. When I try to clone via SSH, an unhandled repository is cloned.

In theory it should work with http://, https:// and ssh:// URLs. However, I have to admit that there is no functional test implemented that explicitly checks that (that would require some public ssh account). Can you give a hint on the ssh-URL you are actually using?

ssh://

A typical ssh URL (as suggested by Github) would look like:
git@github.com:seeraven/gitcache.git

which doesn't have the ssh:// prefix, but perfectly acceptable from git POV.

@Youw , thanks for the clarification! You are right, there is the scp-like syntax and even ftp:// and the old git:// protocol that were missing. I've rewritten the interpretation of the repository specifications and also added tests for the main protocols (ftp:// and git:// are missing). You'll find the new release on https://github.com/seeraven/gitcache/releases/tag/v1.0.13 . Would be cool to get some feedback on whether it is working for you now, so that I can close the issue.

That was fast, thanks!
I'll give it a try and will let you know later.

Hm, interesting - right now I'm hitting a different issue:
I have a private repo and SSH key setup to access that repo on Github.
My local SSH key is additionally password-protected, and on Windows, where ssh-agent doesn't work of-the-box (and I never tried to setup it) I'm entering the key password during each git operation, include clone, e.g.: git clone git@github.com:<my repo>.git.
With gitcache 0.13 I'm getting:
2024-04-25 19:19:44 Starting Initial clone of git@github.com:<my repo>.git into D:\gitcache\mirrors\github.com\<my repo>.
Cloning into bare repository 'D:\gitcache\mirrors\github.com\<my repo>\git'...
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
2024-04-25 19:19:46 Command 'C:\Program Files\Git\cmd\git.exe clone --progress --mirror git@github.com:<my repo>.git D:\gitcache\mirrors\github.com\<my repo>\git' failed with return code 128. Starting retry 1 of 3.

Even though I have .ssh/config setup for github.com.

Would be cool to get some feedback on whether it is working for you now, so that I can close the issue.

Still one case doesn't work, when the submodule is explicitly in git@github.com:<repo> format:
Traceback (most recent call last):
  File "gitcache.py", line 51, in <module>
  File "git_cache/git_command.py", line 117, in handle_git_command
  File "git_cache/commands/submodule_update.py", line 114, in git_submodule_update
IndexError: list index out of range
[1316034] Failed to execute script 'gitcache' due to unhandled exception!

Wow, thanks for the fast and thorough testing!

Hm, interesting - right now I'm hitting a different issue: I have a private repo and SSH key setup to access that repo on Github. My local SSH key is additionally password-protected, and on Windows, where ssh-agent doesn't work of-the-box (and I never tried to setup it) I'm entering the key password during each git operation, include clone, e.g.: git clone git@github.com:<my repo>.git. With gitcache 0.13 I'm getting:

I just have checked whether it works on Linux, and entering a password works here. I will check on Windows later, but I suspect that on Windows the git commands are executed differently (to avoid opening a terminal window every time) and no interactive input is possible.

Meanwhile I've created a temporary release with my latest fixes: https://github.com/Youw/gitcache/releases/tag/v1.0.14-pre-youw
@niikoo see if you can check in your environment.

So finally I got the release built. It took a while to get the Windows part fulfull the unit and functional tests, but now the fix from @Youw as well as the URL normalization is integrated. With the URL normalization we get the same cache directory in cases where it is the same, e.g., github.com/seeraven/gitcache and github.com/seeraven/gitcache.git/.
@Youw , I haven't forgotten about the stdin on Windows problem but won't be able to investigate it further this weekend. I hope to be able to take a look next week.

That is awsome news, thanks!

but won't be able to investigate it further this weekend

No problem. Thanks for quick response in a first place!
Interractive password prompt on Windows doesn't block me anyway, since my main use-case - CI/build-machines are using ssh agent on Windows too, so all works as expected now.

No problem. :-)
I've opened a new issue https://github.com/seeraven/gitcache/issues/31 for the git problem on Windows, with first ideas how to tackle it.
I guess we can close this "Only on HTTPS" issue then.


Export as esModule

Attempt to fix #1
Not sure on the implications of this on a non es module project but it should be ok as create react app do this https://github.com/facebook/create-react-app/blob/efc3581e075ee049179029c982c5a10d0d2a3300/packages/react-scripts/config/jest/fileTransform.js#L22 and that works fine for regular projects.

And just confirming this change still works as expected with
import { ReactComponent as Icon } from<EMAIL_ADDRESS>...
describe('svg icon', () => {
            fit('should render the svg element', async () => {
                render(<Icon />);
                screen.debug();
            });
        });
...

Outputs:
console.log
      <body>
        <div
          data-testid="app-container"
        >
          <svg
            data-jest-file-name="icon-trophy.svg"
            data-jest-svg-name="icon-trophy"
            data-testid="icon-trophy"
          />
        </div>
      </body>

@half-halt Come on man add this change


php artisan migrate - output: Nothing to migrate.

Hi
im having issues to migrate the database on folder database/factories & database/seeds.
error: Nothing to migrate.
please advise

Follow this instructions step by step.
Should work fine.
Requirements

Php >= 5.6.4
Composer installed on the root directory of the project.
Git installed and accessible on project root folder.
Please clone the repo
Please run 'composer update'.
Sql database created for the project,
Please create .env file from .env.example file and add the database
settings.
Please run 'php artisan key:generate' in terminal to generate unique key
in .env file for project.
Please give 'storage' directory write permissions.

On Thu, Feb 14, 2019 at 3:42 PM Isidoro Pedro da Silva Junior <
<EMAIL_ADDRESS>wrote:

Hi
im having issues to migrate the database on folder database/factories &
database/seeds.
error: Nothing to migrate.
please advise
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/euricanti/insurance-crm/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AX1RymoTQxYQHCa_7e-h5F78_PCR5axuks5vNbwUgaJpZM4a8TjY
.

--
Euric Santi
Inversionista | Escritor | Político
+1<PHONE_NUMBER>* | Instagram http://instagram.com/euricsanti | Twitter
https://twitter.com/euricsanti | Facebook
https://facebook.com/euricsanti*
*¡Los cambios empiezan desde adentro! *
*La información que se transmite en este correo es únicamente para la
persona o entidad a la cual está dirigida y puede contener material
confidencial. Cualquier revisión, retransmisión, diseminación u otro uso,
está prohibida, sin antes consultar al remitente original. Si un usuario lo
recibe por error, deberá contactar a quien lo envía y eliminar el material
de su computador. *
Aunque *Euric Santi *toma las precauciones pertinentes para evitar la
presencia de virus computarizados, no podemos garantizar que este correo
electrónico o cualquier archivo adjunto esté libre de ellos.

Thanks for the response ... please advise , do I need to create the tables manually or im doing something wrong to that the databases can't be migrate or connected?
Error output: SQLSTATE[42S02]: Base table or view not found: 1146

Check your table name, it shows table not found or mistake. Check seed files and remember to modify them to the ones you'll apply or create new ones.

I had to  create the tables manually, migrating seed one by one , migrating all @once wasn't working on my machine (example: php artisan db:seed --class=UserTableSeeder).
on the last table User I couldnt migrate the same. do you have any advise for this error?

I have inserted Manually the content to the database.
but the credentials to do not work, I even add an additional user to login.

I had to create the tables manually, migrating seed one by one , migrating all @once wasn't working on my machine (example: php artisan db:seed --class=UserTableSeeder).
on the last table User I couldnt migrate the same. do you have any advise for this error?

Is not gonna work if you don't hash the user password to MD5, the interface will not recognise plain text as password because decodes laravel Hash, on the user password you have to add:
"Hash::make('Rivera123456')"

Hi,
I was able to resolve the password issue, but now I have an error related to the Dashboard.
and was reviewing the other options in Providers folder which I do believe they will required database , that would need me to create them manually again (eg. Bank, Manage_POS,Payment, permission and so on).
is there an possibility to have an sample of. this tables ?

I used PhpMyAdmin to handle the database
Manage_POS is set forth to handle Point of sale, I do not have
documentation on it, but is possible to create it. Nor have an example
available, but if you point out one specific one; i can give you feedback
on it.
On Wed, Feb 20, 2019 at 11:51 PM Isidoro Pedro da Silva Junior <
<EMAIL_ADDRESS>wrote:

Hi,
I was able to resolve the password issue, but now I have an error related
to the Dashboard.
and was reviewing the other options in Providers folder which I do believe
they will required database , that would need me to create them manually
again (eg. Bank, Manage_POS,Payment, permission and so on).
is there an possibility to have an sample of. this tables ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/euricsanti/insurance-crm/issues/1#issuecomment-465851872,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AX1RypUy1OHcK-U3EYJprNEJxRPJzUQnks5vPhfGgaJpZM4a8TjY
.

--
Euric Santi
Inversionista | Escritor | Político
+1<PHONE_NUMBER>* | Instagram http://instagram.com/euricsanti | Twitter
https://twitter.com/euricsanti | Facebook
https://facebook.com/euricsanti*
*¡Los cambios empiezan desde adentro! *
*La información que se transmite en este correo es únicamente para la
persona o entidad a la cual está dirigida y puede contener material
confidencial. Cualquier revisión, retransmisión, diseminación u otro uso,
está prohibida, sin antes consultar al remitente original. Si un usuario lo
recibe por error, deberá contactar a quien lo envía y eliminar el material
de su computador. *
Aunque *Euric Santi *toma las precauciones pertinentes para evitar la
presencia de virus computarizados, no podemos garantizar que este correo
electrónico o cualquier archivo adjunto esté libre de ellos.

WOW ,
from where can I start, the project doesn't comply to the description,
even on the Home page there are many things noticed on the database that don't show up,
the options also don't exist ,
the database doesn't exist (create manually).
Please advise what version of Laravel did you use for starters ?

I am having the similar issue.
any possibility tat you can provide the sql file?
please support

I used PhpMyAdmin to handle the database Manage_POS is set forth to handle Point of sale, I do not have documentation on it, but is possible to create it. Nor have an example available, but if you point out one specific one; i can give you feedback on it.
…
On Wed, Feb 20, 2019 at 11:51 PM Isidoro Pedro da Silva Junior < @.*> wrote: Hi, I was able to resolve the password issue, but now I have an error related to the Dashboard. and was reviewing the other options in Providers folder which I do believe they will required database , that would need me to create them manually again (eg. Bank, Manage_POS,Payment, permission and so on). is there an possibility to have an sample of. this tables ? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AX1RypUy1OHcK-U3EYJprNEJxRPJzUQnks5vPhfGgaJpZM4a8TjY .
-- Euric Santi Inversionista | Escritor | Político +1<PHONE_NUMBER> | Instagram http://instagram.com/euricsanti | Twitter https://twitter.com/euricsanti | Facebook https://facebook.com/euricsanti *¡Los cambios empiezan desde adentro! * *La información que se transmite en este correo es únicamente para la persona o entidad a la cual está dirigida y puede contener material confidencial. Cualquier revisión, retransmisión, diseminación u otro uso, está prohibida, sin antes consultar al remitente original. Si un usuario lo recibe por error, deberá contactar a quien lo envía y eliminar el material de su computador. * Aunque *Euric Santi *toma las precauciones pertinentes para evitar la presencia de virus computarizados, no podemos garantizar que este correo electrónico o cualquier archivo adjunto esté libre de ellos.

Please let me know if you can provide the sql file. waiting or you reply


Fix windows zip file for deploy

This isn't ready / doesn't fix the issue. Guess I'll have to figure out how to get my local windows VM back up, sigh.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #137   +/-   ##
=======================================
  Coverage   94.55%   94.55%
=======================================
  Files          49       49
  Lines        8135     8135
=======================================
  Hits         7692     7692
  Misses        443      443

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 58fd2cb...ff88707. Read the comment docs.


extension marketplace

Issue Type: Performance Issue
i can't download any extension from the extension marketplace. the feedback i get is "we cannot connect to the extensions marketplace at this time, please try again later". I have internet.


derive Copy on Stopwatch and Timer

Objective
Fixes https://github.com/bevyengine/bevy/issues/16743

I'm not convinced we should do this. There's important state stored in here, and accidentally copying it seems like a serious footgun.

closing then


Inquiry Regarding Execution Files and Documentation in Grasp Transfer for Grasp pose collection and Dataset Extension in readme

I would like to express my sincere gratitude for developing the fantastic project. I am writing to seek your assistance with some issues I have encountered while following the procedure steps outlined in the documentation.
1.Issue with Execution File:
When attempting to run the command python trans_unit.py in Grasp pose collection section, I was unable to locate the corresponding execution file. Could you please clarify where this script is situated, or if there is a missing file that should be included in the repository?
2.Concern Regarding Missing Script and Documentation:
The process steps section mentions executing python generate_sdf.py --idx 0, but I could not find this example file within the repository. Moreover, the "Only save the success grasp and unit axis of dataset" of Dataset Extension lacks a corresponding section and execution file. Would you be able to provide further details or clarify where these steps are documented and how they should be implemented?
Thank you very much for your time and support!

sorry, busy at work , I will check these days

Looking forward to your reply.
-----原始邮件-----
发件人:hjlllll @.>
发送时间:2024-11-05 15:30:40 (星期二)
收件人: hjlllll/DexFuncGrasp @.>
抄送: JJMa1907 @.>, Author @.>
主题: Re: [hjlllll/DexFuncGrasp] Inquiry Regarding Execution Files and Documentation in Grasp Transfer for Grasp pose collection and Dataset Extension in readme (Issue #6)
sorry, busy at work , I will check these days
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Docs: Index page shows outdated examples

Summary
Navigating to: https://docs.litestar.dev/latest/index.html returns an older version of the index page. Currently the index page displays starlite based examples and descriptions. Upon review there is an updated index page in the repo but it is not being displayed.

Upon further review the correct index page appears under "2" so I am going to assume changing the initial index page will happen at a later time. As such I will close this issue. Sorry for creating a non-issue.


Assertion failed using OpenGL Render API

Assertion failed in glshader.cpp, line 56
Condition: m_Handle
in function GLShader::Init
This happens during the creation of pbrShader (in sandbox.cpp)

As I get this error as well, let me provide some more information:
Fragment shader failed to compile with the following errors:
ERROR: 0:151: error(#143) Undeclared identifier: A
ERROR: 0:152: error(#132) Syntax error: "return" parse error
ERROR: error(#273) 2 compilation errors.  No code generated

The VS debugging shows it's talking about the AdvancedLightning.shader which has this line of code on line 150/151
return vec3(pow(samp.rgb, vec3(GAMMA)));

I really have no idea what "A" the error is talking about, maybe I'm missing something.
Screenshot

http://i.imgur.com/HA1Fz58.png

I just remembered it's the error from the last dev log that you find at https://youtu.be/bTAiINeDyUA?t=5m52s
The ACTUAL line is 232 and there's an extra A after the semicolon.
I have no idea why the error lies about the line but it seems to do it everywhere as I tried placing random symbols at some places and it was always the wrong line.

Yes, the error is definitively in the shader. Now it works, thanks. For some reason Cherno did not committed this.


Responsiveness: button overflow at x-axis & image hiding the text

Describe the bug
In the documentation website, there's a responsiveness issue at breakpoints : 340px-475px.
Due to the size not being adjusted a/c to the breakpoints, the two buttons are creating an overflow in the x-axis.
And the text below the two buttons gets hidden by the image below it.
To Reproduce
Steps to reproduce the behavior:

Go to documentation website
Open Chrome developers tools/ open in a mobile phone.
Go to breakpoints 340px-475px.
See error

Expected behavior
The button size and the text position/margin should get adjusted a/c to the breakpoints.
Screenshots

Desktop (please complete the following information):

OS: Mac
Browser chrome
Version 90.0

Smartphone (please complete the following information):

Device: iPhone12
OS: iOS 14.1
Browser safari
Version 14

Additional context
To resolve this issue we can give proper css to the .real and .getStarted classes and make use of media queries or a relative sizing.

@AnandChowdhary I would like to resolve this issue.

Happy to accept a PR!

Sure, will be getting back with a PR soon.

Can reproduce on latest version of Chrome IOS on an iPhone 6s.


Chrome XMLHttpRequest cannot load

When trying to use loadFixtures() to load a local html file, Chrome (v7.0.517.41) returns this error:
Origin null is not allowed by Access-Control-Allow-Origin.
Is there a browser setting that I can tweak to get around this error?  Firefox and IE both work fine.

Could the same issue happen with Internet Explorer?
My tests run fine in Firefox, yet in IE11 (v11.0.9600.17728, to be precise) I get the same number of failed tests as in Chrome, while tests that don't attempt to load fixtures work fine.
Here's the error:
Error: Fixture could not be loaded: [filename].html (status: error, message: Access is denied.
)
at Anonymous function (file:///D:/[path]/JS.Tests/Utils/jasmine-jquery.js:133:11)
at l (file:///D:/[path]/JQuery/jquery-2.0.0.min.js:4:24576)
at c.add (file:///D:/[path]/JQuery/jquery-2.0.0.min.js:4:24894)
at jasmine.Fixtures.prototype.loadFixtureIntoCache_ (file:///D:/[path]/JS.Tests/Utils/jasmine-jquery.js:124:9)
at jasmine.Fixtures.prototype.getFixtureHtml_ (file:///D:/[path]/JS.Tests/Utils/jasmine-jquery.js:115:7)
at jasmine.Fixtures.prototype.read (file:///D:/[path]/JS.Tests/Utils/jasmine-jquery.js:77:7)
at jasmine.Fixtures.prototype.load (file:///D:/[path]/JS.Tests/Utils/jasmine-jquery.js:65:5)
at jasmine.Fixtures.prototype.proxyCallTo_ (file:///D:/[path]/JS.Tests/Utils/jasmine-jquery.js:161:5)
at window.loadFixtures (file:///D:/[path]/JS.Tests/Utils/jasmine-jquery.js:782:5)
at Anonymous function (file:///D:/[path]/JS.Tests/PPM/[my_tests_file].js:44:17)

Is there anyway to just use something like https://github.com/karma-runner/karma-html2js-preprocessor and then converting it back into a string.


Improve documentation on PopupMenu and DisplayServer accelerators

The name "accelerator" is actually misleading (at least in PopupMenu), as these are really keyboard shortcuts and not a key you press after pressing Alt (with the corresponding letter in the option's name being underlined after pressing Alt).

This closes https://github.com/godotengine/godot-docs/issues/2760.

How would you feel about updating this text as well, which appears 6 times?

See set_item_checked for more info on how to control it.
The text implies there are details, but all the method says is,
Sets the checkstate status of the item at index idx.

I don't think that one's as important as explaining the accelerators though. It's not even technically wrong, if that's all there is to controlling checkstate; the details are just short.

Thanks!

@goblinJoel This can be a separate PR. If you know what information can be useful to mention there, feel free to open a PR (or an issue at least).


Fix deprecation notice for Symfony ^4.2

A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0.
This should fix #70

@henrikbjorn Could you please look into this?

I would suggest to fork the project and make a composer version using your own prefix.

I would suggest to fork the project and make a composer version using your own prefix.

@henrikbjorn Out of curiosity - why won't you consider merging this? I'm asking because the README says

This is the new home for OrnicarGravatarBundle. The package name and namespace will not change. But the code will be maintained.

https://github.com/henrikbjorn/GravatarBundle/commit/96163e2cc4bd4252ac2c64dc77379723aa0b9828
Look at the date on this


Removed context traits and moved settings to SurfaceSettings

Didn't test if FSR2 or ray-tracing work, though I think it should be alright.
It passed all tests and I tried out the 01 and 02 examples and they work fine.

Thanks for this. I'll test the windows build and FSR2/RT locally on my PC tomorrow.

What's weird is that on my current windows machine it seems to build fine. The error in the check is that it couldn't find "ninja" to compile shaderc.

Probably some changes in github actions. I'll look into it


allow the user to customize crawler settings

Why are these changes needed?
This change will allow the user of the data-prep-connector to customize the crawler settings.
The following parameters will be exposed as args:

concurrent_requests
concurrent_requests_per_domain
download_delay
randomize_download_delay
download_timeout
autothrottle_enabled
autothrottle_max_delay
autothrottle_target_concurrency
robots_max_crawl_delay

They should be able to be changed depending on the target websites.
Related issue number (if any).
#737

@Qiragg After this change you can specify the crawler parameters in the settings.

@Qiragg: You can follow the same process as before you review/approve. Once I see your approval, I will reach out to the product team to get their concurrence on the same before I merge. I don't expect this to be an issue since all the new parameters are optional with valid defaults.

@hmtbr Please can you provide a rational/example why this is needed? Under what condition would the user of this module have to control those settings and what are the draw backs of exposing this? Thanks

@touma-I The settings I added in this PR are for control over how frequently the data-prep-connector sends requests to the targeted website. A website sometimes doesn't have capability to handle 10 concurrent requests for example. In that case, we would like to set a lower value as concurrency so that we won't see server side denial or 403, 429 responses. On the other hand, if a website is very large and powerful, we might want to set a higher value for concurrency. That's why we want to let the user customize these settings.
A possible drawback would be for the user to set too aggressive configs resulting in attack on a website, but the user has the responsibility. It should not be a problem.
I updated the default values so that we can follow the Scrapy defaults. It should be reasonable.
https://docs.scrapy.org/en/latest/topics/settings.html#concurrent-requests
Can you please review this again? Thanks.

@touma-I The settings I added in this PR are for control over how frequently the data-prep-connector sends requests to the targeted website. A website sometimes doesn't have capability to handle 10 concurrent requests for example. In that case, we would like to set a lower value as concurrency so that we won't see server side denial or 403, 429 responses. On the other hand, if a website is very large and powerful, we might want to set a higher value for concurrency. That's why we want to let the user customize these settings.
A possible drawback would be for the user to set too aggressive configs resulting in attack on a website, but the user has the responsibility. It should not be a problem.
I updated the default values so that we can follow the Scrapy defaults. It should be reasonable. https://docs.scrapy.org/en/latest/topics/settings.html#concurrent-requests
Can you please review this again? Thanks.

thanks @hmtbr This looks good. @Qiragg can you follow the same process as above to review/approve ?

@Qiragg: You can follow the same process as before you review/approve. Once I see your approval, I will reach out to the product team to get their concurrence on the same before I merge. I don't expect this to be an issue since all the new parameters are optional with valid defaults.

@touma-I Matsubara-san explained the case for having these additional arguments well.
I approve this PR.


[Function builders] Add support for function builders on stored struct properties

Implements SR-13188, which is part of the function builders proposal
under review.

@swift-ci please smoke test


Warning:  count(): Parameter must be an array or an object that implements Countable

https://github.com/Seldaek/monolog/blob/ebb804e432e8fe0fe96828f30d89c45581d36d07/src/Monolog/Handler/RotatingFileHandler.php#L138

Warning: count(): Parameter must be an array or an object that implements Countable in [...]/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php on line 137
Call Stack:
0.8178   11272032   1. Monolog\Handler\RotatingFileHandler->__destruct() [...]/vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php:0
0.8178   11272032   2. Monolog\Handler\RotatingFileHandler->close() [...]/vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php:170
0.8178   11271560   3. Monolog\Handler\RotatingFileHandler->rotate() [...]/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:65
0.8179   11271560   4. count() [...]/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:137

I have :
$this->filename = './logs/app/debug.log'
But, the value of \getcwd() after __destruct() is "/"
https://stackoverflow.com/questions/14678947/why-does-getcwd-returns-in-destruct/14679008
glob() function don't find files with relative path on "/"

Interesting find.. So this doesn't work because of the relative filename. I guess doing a $this->filename = realpath(pathinfo($filename)) . '/' . basename($filename) in the constructor would fix it? Can you try and confirm that?

Hello, yes, it works but it would be nice if it also works with relative paths


stm32f407ve report assert on protocol.c

Hello.  I try myself to build pro on this project. when i connect to windows, report assert on protocol.c  Line 809.
protocol_process_data   :   assert( 0 );

Hi ! That means that  PEAK added new type of record. Try to use older drivers for adapter or try to implement that record. PEAK CEO told me that i need to stop my development for that projects. Thats why i can't provides new updates.

Ouch.I mean 'XCAN'. Thanks!!!   Ps. use fd version is ok.


Update Engine Version String to Blazium

This updates the Copy System Info option in the Help menu to display Blazium instead of Godot.
I also made the variable name more generic.

I think it makes more sense for it not to be tied to a specific name 🙃

I also think it should use the generated VERSION_NAME or VERSION_SHORT_NAME instead of hardcoding the name.


add compiled libs and program to release for demo test

done by https://github.com/sisong/UnityAndroidHotUpdate/releases/tag/v1.0.0-beta


series key write performance question

In function
func (idx *SeriesIndex) FindIDBySeriesKey(segments []*SeriesSegment, key []byte) uint64 {
if v := idx.keyIDMap.Get(key); v != nil {
		if id, _ := v.(uint64); id != 0 && !idx.IsDeleted(id) {
			return id
		}
	}
	if len(idx.data) == 0 {
		return 0
	}

	hash := rhh.HashKey(key)
	for d, pos := int64(0), hash&idx.mask; ; d, pos = d+1, (pos+1)&idx.mask {
		elem := idx.keyIDData[(pos * SeriesIndexElemSize):]
		elemOffset := int64(binary.BigEndian.Uint64(elem[:8]))

		if elemOffset == 0 {
			return 0
		}

		elemKey := ReadSeriesKeyFromSegments(segments, elemOffset+SeriesEntryHeaderSize)
		elemHash := rhh.HashKey(elemKey)
		if d > rhh.Dist(elemHash, pos, idx.capacity) {
			return 0
		} else if elemHash == hash && bytes.Equal(elemKey, key) {
			id := binary.BigEndian.Uint64(elem[8:])
			if idx.IsDeleted(id) {
				return 0
			}
			return id
		}
	}

It seems that all key-id have been in idx.keyIDMap so that there is no need to call ReadSeriesKeyFromSegments to ensure if the series key in segments file?

@wbaker85 Thank you. There is a keyIDMap in memory and another is on disk(two parts), so if the id is not in memory keyIDMap, the function will search the disk keyIDMap to ensure if the key has been written.

But if there are too much series, the disk keyIDMap will be large and it will slow down the speed of data writing.


Task lib fails due to missing import

Having mitigated the problem from #23 , the task lib now fails due to a missing import.
>>>> Task: lib <<<<
Compiling lib game...
Hint: used config file '...\.choosenim\toolchains\nim-#devel\config\nim.cfg' [Conf]
Hint: used config file '...\.choosenim\toolchains\nim-#devel\config\config.nims' [Conf]
Hint: used config file 'C:\source\Unreal\NimTemplate\NimForUE\config.nims' [Conf]
.....................................................................................................................................................................................................................
C:\source\Unreal\NimTemplate\Plugins\NimForUE\src\nimforue\game\extras.nim(7, 14) Error: cannot open file: engine/common
nue.nim                  nue
nue.nim                  main
nue.nim                  setup
nue.nim                  rebuildlibs
nue.nim                  lib
nuecompilation.nim       compileLib
assertions.nim           failedAssertImpl
assertions.nim           raiseAssert
fatal.nim                sysFatal
Error: unhandled exception: nuecompilation.nim(171, 11) `execCmd(compCmd) == 0`  [AssertionDefect]

Though I can see the relevant files in both unreal/bindings/imported and unreal/bindings/exported folders. I'm afraid I don't know enough about the internals of this project to figure out what the cause is.

Likely not an issue, do you have the code generated? It's on: PluginDir/src/unreal/bindings/imported/engine/common If you dont, it's probably because you executed genbindings rather than genbindingsall. I need to rework the naming, but genbindings is only the reflection data. There are the nim code and the gpp code still missing

Hi, yes I ran genbindingsall both manually and as part of ./nue setup. The code is all there, however so this seems to be an import dir issue or something similar :)

I managed to fix it by adding a line to config.nims in the template code:
switch("path", "../Plugins/NimForUE/src/nimforue/unreal/bindings")
switch("path", "../Plugins/NimForUE/src/nimforue/unreal/bindings/imported") <-
switch("path","../Plugins/NimForUE/src/nimforue/game")
switch("path","../Plugins/NimForUE/src/nimforue/")

I'd gladly make a PR but I don't know how to do that on a Github Template :D


Running the test script doesn't seem to actually run the tests

When I run the test script (test/specs/basic.e2e.ts), I'm told the test runs, but it doesn't appear that the tests are actually running.
Steps to repro:

clone wdio-vscode-service
cd into wdio-vscode-service
run npm install
run npm run build
run npm run test (or run npm run ci)

Result:
I got the following:
[0-0] RUNNING in chrome - /test/specs/basic.e2e.ts
[0-0] PASSED in chrome - /test/specs/basic.e2e.ts

Spec Files:	 1 passed, 1 total (100% completed) in 00:00:19

Expected:
I was expecting each of the tests in basic.e2e.ts to be listed.  I think basic.e2e.ts has something like 48 tests in it, so I was expecting all 48 of them to be listed, and listed as passing.

I then created a new test file, /test/specs/another.e2e.ts, and added the following

describe('another test suite', () => {
    it('this should pass', () => {
        expect(1).toBe(1)
    })

    it('this won\'t pass', () => {
        expect(1).toBe(2)
    })
})

ran npm run build
ran npm run test

Result:
I got the following:
Execution of 2 workers started at 2022-09-12T18:14:45.778Z

Found existing install in /Users/{my-user-name}/src/github.com/webdriverio-community/wdio-vscode-service/.wdio-vscode-service/vscode-darwin-1.71.0. Skipping download
[0-0] RUNNING in chrome - /test/specs/another.e2e.ts
[0-1] RUNNING in chrome - /test/specs/basic.e2e.ts
[0-1] PASSED in chrome - /test/specs/basic.e2e.ts
[0-0] PASSED in chrome - /test/specs/another.e2e.ts

Spec Files:	 2 passed, 2 total (100% completed) in 00:00:18

Expected:
Since another.e2e.ts has a test that should pass, and a test that should fail, I was expecting the results to tell me that one test passed and another failed.
I'm new to wdio-vscode-service and evaluating it, so if I'm missing a step or making a wrong assumption, please let me know.

Hey @jeffb-sfdc , thanks for raising the issue.
What you see in the terminal is a highly summarised output. Basically it lists the spec files that were running and passing/failing. If you set a reporter, e.g. spec reporter, in your wdio.conf.ts you will see the expected output. Not sure why that one test is not passing. It definitely should. Maybe enabling the reporter gives more insights?

Hi @christian-bromann , re. summarized output, I tried this with both logLevel set to trace, as well as with it set to warn, but in both cases when I ran npm run test the output stated that both test suites passed (and since there is a failing test in  another.e2e.ts, I expected some form of failure to have been reported.
re. setting the reporter to spec: the wdio.conf.ts that was pulled down when I cloned the repo, has this in it:
.
.
.
    reporters: ['spec'],
.
.
.

...and appears to already have the reporter set to spec.  Or is there something else that needs to be configured?

@christian-bromann I created the PR, https://github.com/webdriverio-community/wdio-vscode-service/pull/43


Ft about me 00032

What does this PR do?
Creating About me page with responsiveness.
Description of Task to be completed?
Here I created about me page.
How should this be manually tested?
After clone repo, cd to UI folder, About-Me-Page folder and run about.html.
What are the relevant pivotal tracker stories?
[Story link][https://trello.com/c/FeBllbPM]
Screenshot:

Nice work @devu2 , however I have few feeback for you:

folder structure : move all your images inside the UI > assets > images. where > means folder: you should create assets folders inside the UI and add in another folder of images where all your images will be called from.

This is how the page is being displayed;
Use the method we used to reproduce the problem(clone the repo in a new folder, switch to this branch and see how the about page is displaying) and try to fix it (make sure this branch was created from the develop) .


modified some mistranslations 修改部分名称

[
x ] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[x ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

class-name is part of the css code, shouldn't be translated to Chinese.


Improve ColorScale with additional maps

Implementation of the ColorScale enum currently lacks some of the options that are available in Python's plotly.express module. It would be nice to include these in the Swift version too.
Also since ColorScale is implemented as an enum it's not possible to write an extension that would define a new case. It would be better to transform it into a struct similar to OptionSet with static members. This achieves the same level of user convenience and is more flexible. This would also allow a new convinient constructor that would take an array of Colors and translate it into a map with equal distances between the colors.
For completeness here is the source code that holds the numeric values of the color-scales defined in the Python version:
https://github.com/plotly/plotly.py/blob/master/packages/python/plotly/_plotly_utils/colors/__init__.py
https://github.com/plotly/plotly.py/blob/master/packages/python/plotly/_plotly_utils/colors/sequential.py
Another point worth considering is the support for categorical ColorScales. There's a nice discussion here.

Color scales can be constructed from array or dict literals and there's a lot of new built-in color scales.

Annoying angular and radial axes from the cyclical swatch can be removed only once #8 is fixed.


One command for hpcrun + hpcstruct + prof2-mpi

This is one topic we discussed in one of our meetings. I think it would be useful for some users in national labs to have one command that launches hpctoolkit and outputs a database directory. The motivation for this is:

To lower the time of hpctoolkit profiling (the user currently needs to wait two times to get queue, once for hpcrun and once for prof2-mpi)
To lower the complexity and space for errors (run just one default command instead of three)

The idea is that once we get queue:

Run hpcrun with user arguments
Check the output  of hpcrun (if bad return)
Run hpcstruct on binary | Run hpcstruct on measurements
Run prof2-mpi (on given nodes)

I am aware that the optimal number of nodes for prof2-mpi is not necessarily the number of nodes for the application, but the argument is that a smaller run will create less profiling data and prof2-mpi will be fine with less nodes. If the run use many nodes, we will collect much more data and prof2-mpi will be fine with more nodes.
This command will not replace hpcrun, hpcstruct or hpcprof2-mpi, but will be just an addition that users can call independently.

@martyitz Actually Dejan posted this request long time ago.

This repository has moved to GitLab, please continue this issue there.


[FEATURE REQUEST]: Implement Real-Time Search Functionality for FAQs

Is your feature request related to a problem? Please describe.
Currently, there is no search functionality in the FAQ section, making it difficult for users to find specific information quickly. This can lead to frustration and a poor user experience when trying to locate relevant FAQs.
Describe the solution you'd like.
Implement a real-time search feature that allows users to enter keywords in a search bar. The FAQ section should dynamically display the matching FAQs as the user types, providing a more efficient way for users to find answers. This feature should also highlight relevant keywords within the FAQs.
Add any other context or screenshots about the feature request here.
Implementing this feature will significantly enhance user experience by making it easier for users to find specific information quickly without scrolling through multiple FAQs.

@Harshdev098  Please assign this issue to me under gssoc-ext level3 and hactoberfest-accepted, as I am interested in working on it.

I would like to work on this issue, please assign it to me.

@Harshdev098 I was travelling for a day, will try to generate the PR today.


Class name cleanup

Clean up names in deck.gl so that file names / class names / export, import names are consistent.

We are generally pretty consistent. Any particular files that stick out as needing attention?

For example, in src/core/controllers/, we are actually defining various Controls classes, MapState and OrbitState classes. We need to rename either the folder or the classes
The class defined in ViewportController.js is Controller

Yes, I see what you mean.

From a previous discussion, since controls refers to things like buttons etc, we wanted to avoid that word and call these something else (like controllers).
And since the naming was still up in the air and changing, it was hard to be rigorous.

My RFC contains one attempt to settle on names, something like:

ViewState (collects all position fields from MapState, OrbitState, FirstPersonState).
Controller -> base class for MapController, ThirdPersonController, FirstPersonController (collects all ViewState update logic from MapState, OrbitState, FirstPersonState). They all generate a stream of ViewStates.
Viewport -> base class for MapViewport, ThirdPersonViewport, FirstPersonViewport - they all consume ViewStates and display them in different ways.

The master component could either be DeckGL or a ViewStateController.

@ibgreen Can we also rename the Controls class to something else? Controls vs. Controller is extremely confusing even in our internal discussions.

#990


[5.0] Validator each() not build nested rules correctly

Hi guys,
during validation of arrays with Validator->each()I encountered a little bug during the build nested keys routine.
https://github.com/laravel/framework/blob/5.0/src/Illuminate/Validation/Validator.php#L266
My input
'pairs' => [
    ['foo' => 'startOfLine', 'value' => '']
]

My validate each method:
$v = \Validator::make($input, ['pairs' => 'required|array']);

$v->each('pairs', [
    'keyword' => 'required',
    'value' => 'required'
]);

Generated rules are:
[
    'pairs' => ['required', 'array'],
    'pairs.0' => ['required', 'required']
]

In my opinion generated rules should are:
[
    'pairs' => ['required', 'array'],
    'pairs.0.keyword' => ['required']
    'pairs.0.value' => ['required']
]

My fix for this would be to use this:
foreach ($rules as $ruleKey => $ruleValue)
{
    $this->mergeRules("$attribute.$dataKey.$ruleKey", $ruleValue);
}

instead of this:
foreach ($rules as $ruleValue)
{
    $this->mergeRules("$attribute.$dataKey", $ruleValue);
}

If I should provide further information, add a failing test, or create a pull request, please let me know.
Best regards,
Eric

We're open to pull requests.

Wouldn't that break the first example?

Yea. The PR breaks a test. Sorry for that. Didn't thought about that before.
But in conclusion both behaviors seems strange to me.
I will have a further look tomorrow.


Get elevation at a point

@sbaskaran @philium  Please re-review today if possible. This is my last day and I'm trying to get this merged before I go. Thank you 🙂

@saratchandrakarumuri  Please test soon if possible (today is my last day)! Thank you 🙂

I made more changes and comments to address @saratchandrakarumuri 's feedback but this will be my final commit!

it is causing a small stuttering effect

Was it not doing that before? And presumably that is on device? I'll take a look, but I doubt there's anything I can do about it.

I ran the sample on device (an iPhone 5s running IOS 12.4.3--the only device I have available at the moment) and I didn't notice any stuttering. As the only thing we're doing is making a system call (to dismiss the popover), I can't think of anything I could do to improve the situation.

@philium It is not much of a stuttering per se. It is just that when scene is panned, callout is first displaced and then both the call out and marker symbol disappears as shown in the GIF. I just wanted to know whether it has something to do with sample implementation. Can we just clear both callout and symbol right after the interaction without that delay?

@sbaskaran Please re-review at your earliest convenience.

Thank you @sbaskaran and @saratchandrakarumuri!


Audio recording?

Do you planning add audio recording?
Can you give some advise how implement this feature to your plugin?
Thank you

It would be interesting but currently I have not plans to implement audio recording.
In order to add this to plugin 2 things should be accomplished: grab audio data from UE4 and encode it to file.
Encoding takes place in VideoRecorder library, it uses FFmpeg. FFmpeg has facilities for audio too and it handles it in similar manner as it does it for video. So the following steps required: add audio stream to media file, initialize encoder, send audio frames to encoder and write encoded packets to file.
There is probably some aspect though that should be handled differently for audio. VideoRecorder performs frame sampling (in order to fit variable framerate to target video FPS), queues sampled frames up and processes these as they have been finished by GPU. Audio data on the other hand should be submitted as is, no sampling required. It also probably should be available immediately thus queueing is no necessary either. Also some audio/video synchronization mechanism may be required.
As for capturing audio data from UE4 I have not found robust solution yet. It is possible to get data from USoundWave but this is single sound source placed in the world, it is not what the player actually hears. Maybe it is possible to grab audio data from FMixerDevice or other stuff in AudioMixer module, one way that one can try is to attempt somehow to hook OnProcessAudioStream.

Thank you for explanation this thing!
Nice job!

WIP by @MykonCodes.


Cannot style slider

Hi, I have a problem with styling slider. I tried multiple selectors and setters and nothing worked.
Here is my last try:
<Style Selector="Slider /template/ Border#TrackBackground">
    <Setter Property="BorderThickness" Value="2" />
    <Setter Property="BorderBrush" Value="White" />
</Style>

<Style Selector="Slider /template/ Track">
    <Setter Property="Height" Value="10" />
</Style>

<Style Selector="Slider /template/ Thumb Ellipse">
    <Setter Property="Width" Value="20" />
    <Setter Property="Height" Value="20" />
</Style>

and the only things that are working are BorderThickness and BorderBrush. Thumb is untouched and that track height doesn't work too.
Basically I want to style it like this. Is it anyhow possible?
Thank you!

Yes, it's possible,  but you might need to re-create whole template just like you would do in WPF.
Currently Avalonia styles are not powerful enough to allow to override values defined in the template with local value priority.
https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Themes.Default/Slider.xaml#L27
Yes, this issue is old, and most likely not actual anymore. But I just found it, and was able to answer.


Add new environment variable to identify the network in case custom network is used

The target is to enable/disable the features that depend on the network environment (dev, qa, ...) for example:

get TFT button
minting receipts

As per discussion with @AhmedHanafy725,  the user is now restricted to using only the following four networks main, dev, qa and test.
However the user can set any of the following urls:

GRAPHQL_URL
GRIDPROXY_URL
SUBSTRATE_URL
ACTIVATION_SERVICE_URL
RELAY_DOMAIN
BRIDGE_TFT_ADDRESS
STATS_URL
STELLAR_NETWORK

If not set the network's default urls will be used.

Can you also update the docs

stats url is hard coded here https://github.com/threefoldtech/tfgrid-sdk-ts/blob/v2.3.0-rc1/packages/playground/scripts/build-env.sh#L9 as it overrides stats passed env variable

in network inspect of https://dashboard.02.dev.grid.tf it shows mixed connection to two different gridproxy instances , and two relays , which maybe happened because urls passed to the grid client but it's not to gridproxy or graphql clients  , so please check that also .

Verified,
Docs.

Testnet

02dev


Health check not possible from GCP LB when http is disabled

Issue
When you disable HTTP on the gorouters and use a GCP LB in front of it, you can't use the health checks because when you use HTTPS backends on GCP, you can only do HTTPS health checks.
Context

GCP load balancers
http disabled on gorouters backends

Steps to Reproduce

Deploy CF, with http disabled on go routers
Configure your GCP load balancer with the gorouter as backends with https and http disabled
Try to configure the health check on port http/8080 on the GCP load balancer with the /health route, GCP won't let you do it because you can only use https health checks while using https backends on GCP

Expected result
Health-check should be possible on https
Current result
health-check is not possible on https
Possible Fix
Expose the gorouter health-check on https for exemple on port 8443 by default

Duet-bug report: @ckunst & @RomRider

We noticed in the closed issue there was mention of a PR, but it links to this issue. Please submit a PR if this is still desired. We likely cannot prioritize this because our efforts are currently focused on Istio/Envoy integration in CF.
cc @shalako for awareness


label点击问题

Version
4.8
Steps to reproduce
您好，请问label如何设置鼠标单击事件
What is expected?
label可以设置鼠标单击事件
What is actually happening?
无法设置label的单击事件

Duplicate with #10969. But we have schedule this feature in 5.0

https://echarts.apache.org/zh/option.html#xAxis.triggerEvent


Performance Lag: Text Entry Delays in Request Fields Potentially Due to Aggressive Disk Saving

I have checked the following:

[X] I've searched existing issues and found nothing related to my issue.

Describe the feature you want to add
Typing text "quickly" into any text input in a request (writing Query, Body, Auth, Vars etc) creates a latency which causes the text to display only when you stop typing on the keyboard.
This is just a hypothesis, but may be due to aggressive disk saving at each keyboard input.
Mockups or Images of the feature

I never seen the input lag being this bad. Bruno does not write to disk on every input. It first writes into a "draft" that is stored in memory.
Can you share more information about your environment? Or even make a perfomance recoding with the dev-tools (Ctrl + Shift + I to open the dev-tools, then Performance and start a recording)?

Interestingly, the behavior is back to normal after having restarting Bruno, maybe it was opened since too long with many requests opened or in cache.
I will copy a performance record when it happens again.
Bruno version (from snap) : latest/stable:    1.18.0 2024-05-22 (38) 87MB -
Thanks.

@dtrckd  how many Requests do you have in collection?
I think that your issue can be connected with this bug: [BUG] Poor responsiveness of application when using big collection e.g. 3000 .bru files
PS. Latest version is 1.18.1 -> https://github.com/usebruno/bruno/releases/tag/v1.18.1

Not so many @gemiusz .
Actually it happens again when I have around ~20 requests opened in 2 collections.
I provide a profile in attachment @Its-treason . You can see the stepped curve in that profile, which corresponds to a scenario where I just keep a key pressed for a few seconds. It then takes several second for all the letters to appear on the screen.
Profile-20240610T010716.json