Docs migrate themes

After #1703

Please see the comment I left in #1703 - I noticed that this PR contains a couple of screenshots that have somehow made it into the repo at one point in the past. Not sure we have a good way of removing them from the repo's history. (I probably missed them when reviewing the respective PRs way back...)
Anyway, it's not a pattern I want to see us establishing, let's try to keep screenshots and the like out of the repo as much as possible...

I agree, yet I think we can keep two mistakenly added pictures

Yes, agreed. That train has left the station...

I will merge this as well, as I want our readthedocs to be our only source of documentation, in order to avoid confusion


Support for custom tls.Config with ListenAndServe function?

Hello, I have an unusual use-case of this library in which I need to operate a HTTP3 server with custom certificate checking (i.e. InsecureSkipVerify and VerifyPeerCertificate).
Unfortunately, it seems that the ListenAndServe function cannot be operated with a custom tls.Config, and using the functions under the Server type would not supply the necessary TCP listeners either.
Currently, my workaround is to modify the standalone ListenAndServe function to take my own tls.Config settings and listen to the appropriate TCP and UDP ports as necessary.
Is this correct and safe, or is there a better alternative?

You can create a http3.Server. It has a ListenAndServe method that you want.

As far as I can tell, that only sets up listeners for UDP, which would only be half of what the standalone function does.

For the TCP part, you can use the standard library. The top-level functions are only convenience wrappers anyway.

A sample example
h3server := http3.Server{
	Handler:   handler,
	TLSConfig: tlsCfg,
}
server := http.Server{
	Handler: http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		h3server.SetQuicHeaders(w.Header())
		h3server.Handler.ServeHTTP(w, r)
	}),
	TLSConfig: h3server.TLSConfig,
}
go func() {
	server.ListenAndServeTLS("", "")
}()
h3server.ListenAndServe()

Much appreciated @Glonee, thank you.

@Glonee Out of curiosity, would you happen to know why your example throws
WARNING: Could not save SSL session data for socket 3
when connecting with wget?


Add support for nightly builds via GitHub Actions

i would prefer the file names contain "hide" and commit, e.g. hide_4534dfa_windows.zip or something like that

Could someone with admin access to community.heaps.io add a subdomain linking to http://<IP_ADDRESS>:8080/hide/ maybe?


Fix issue in PR:BYOS EAP 8 Multi VM and VMSS

Refer to 925 base on PR

Issues
byos-vmss

eap8-openjdk17, but installed eap7

Thank you @edburns , I have fixed all the issues I found , tested all the 16 combinations.
So I will merge my current pr to upstream


Use @assume_effects instead of @pure for Julia >v1.8

Since :total_may_throw was renamed to :foldable only recently (cf. https://github.com/JuliaLang/julia/pull/45534), it seems the cut-off would be an as-yet unreleased v1.8.0-rc2.

I think it makes more sense to remove these annotations entirely. In 1.7.3, and presumably all later versions of Julia, these functions already fold without annotations

 REPL session
julia> tuple_length(T::Type{<:Tuple}) = length(T.parameters)
tuple_length (generic function with 1 method)

julia> tuple_length(T::Tuple) = length(T)
tuple_length (generic function with 2 methods)

julia> tuple_prod(T::Type{<:Tuple}) = length(T.parameters) == 0 ? 1 : *(T.parameters...)
tuple_prod (generic function with 1 method)

julia> tuple_prod(T::Tuple) = prod(T)
tuple_prod (generic function with 2 methods)

julia> tuple_minimum(T::Type{<:Tuple}) = length(T.parameters) == 0 ? 0 : minimum(tuple(T.parameters...))
tuple_minimum (generic function with 1 method)

julia> tuple_minimum(T::Tuple) = minimum(T)
tuple_minimum (generic function with 2 methods)

julia> code_typed() do
           tuple_length(Tuple{Int, Float32})
       end
1-element Vector{Any}:
 CodeInfo(
1 ─     return 2
) => Int64

julia> code_typed() do
           tuple_length((17, 29))
       end
1-element Vector{Any}:
 CodeInfo(
1 ─     return 2
) => Int64

julia> code_typed() do
           tuple_prod((17, 29))
       end
1-element Vector{Any}:
 CodeInfo(
1 ─     return 493
) => Int64

julia> code_typed() do
           tuple_prod(Tuple{17, 29})
       end
1-element Vector{Any}:
 CodeInfo(
1 ─     return 493
) => Int64

julia> code_typed() do
           tuple_minimum(Tuple{})
       end
1-element Vector{Any}:
 CodeInfo(
1 ─     return 0
) => Int64

julia> code_typed() do
           tuple_minimum((4,))
       end
1-element Vector{Any}:
 CodeInfo(
1 ─     return 4
) => Int64

julia> versioninfo()
Julia Version 1.7.3
Commit 742b9abb4d (2022-05-06 12:58 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin21.4.0)
  CPU: Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, skylake)

Further, these annotations are not sound as written. For example, tuple_prod calls prod on an arbitrary tuple which in turn calls * on arbitrary types. This is not always foldable.

Since we can remove the annotations fully, we can do this without waiting, right?

The main reason I haven't followed up on @LilithHafner's point is that I didn't really have the drive to check whether the @pure calls in fact really have no effect or not now (similarly, not to figure out which ones are sound or not). If anyone has the drive to do that, it'd be great - this was just a simple replacement of the @pure calls, assuming that @assume_effects would at least be an improvement over that.

I've done the testing, and unfortunately this isn't actually getting marked as consistent. That said, it is cheap enough to inline, so it does constant propagate anyway.

So are you suggesting we might as well just go with the @assume_effects changes here, and then further clean-up/fixing of effects/removal of specific unnecessary annotations could be done later on?
That would be my inclination, personally.


Set-CsCallQueue -Identity xxxxx -User >> Bad Request

Set-CsCallQueue doesnt accept ObjectID for -User

Hello @seb07-cloud how are you?
Looks like it changed in 2.3.1:

Name       : Users
Definition : Deserialized.System.Collections.ObjectModel.ObservableCollection`1[[System.Guid, mscorlib,
Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]] {get;set;}

Hope this information helps you,

@get-itips Thank you very much for the contribution and sharing this explanation. @seb07-cloud Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


ffmpeg exiting

Edit: NVM - Icon is there but black instead of white.
When I change the volume in the Pandora One application it takes about two seconds to take effect.

There is a delay, and I'll definitely be looking into how to reduce the delay.

Thanks for your quick response.
It was also be great if the volume was controlled by the volume control in the tray or with the multimedia volume keys on the keyboard.

It's odd, because for myself, it IS controlled by the keyboard + tray!

I am using a Behringer USB soundcard.
I switched to the internal card and the volume does work now.

Another issue I have is that the volume level out of the PC is much much lower than the volume out of my IPhone or Android tablet. All volume levels are maxed out in the PC's mixer.

I get a crash if I unplug 1 of 2 Chromecasts that I am streaming to and then plug it back it, then try to reconnect to it.

Thanks for the reports!

Last report:
When I started downloading a file from another PC on the network, I suddenly experienced major latency between the two Chromecast Audio units. The only cure was to restart audio-cast.


[semantic-arc-opts] Create an explicit composition type for "ownership phi operands".

This is letting me refactor the implementation of every place that I work with
branches as "ownership phi operands" to instead work with
OwnershipPhiOperand. In a future commit, I am going to use this to add support
for optimizing structs and tuples that have multiple owned incoming values.
rdar://problem/63950481

@swift-ci test

Build failed
Swift Test OS X Platform
Git Sha - 0bed967ce72dbac7357ecb1d68ad7af200674ef2

Known sand box view

@swift-ci test OS X platform

FYI, again: this is just a pure refactoring.


880 / 881

Just trying to understand the parameters, I see that
https://github.com/ldsec/lattigo/blob/caabc9baaa4b1132315879c55b02b4e6a539a4ff/ckks/README.md
has PN15QP881, while the definition has PN15QP880
https://github.com/ldsec/lattigo/blob/caabc9baaa4b1132315879c55b02b4e6a539a4ff/ckks/params.go#L38
It's just an off-by-one error in the README, and I have no idea which one is correct ;)
To underline that I have no idea, the following document has 880, 881, and 883 in the tables, and from what I gather, it should be the one in the {-1, 1} - but in the README.md you write about a ternary, which I cannot find...
https://projects.csail.mit.edu/HEWorkshop/HomomorphicEncryptionStandard2018.pdf
I think I should read up some more on lattice-based crypto ;)

Hi @ineiti,
In the draft standardization document, the {-1, 1} tables correspond to the ternary distribution we mention in our README (see section 2.0.3 of the document). When using this distribution and a ring degree of 2^15, the recommendation for the largest secure modulus is 881 bits.
For the current ckks/params.go version, ckks.DefaultParams[ckks.PN15QP880].LogQP() returns 880 so the name is correct and the modulus is secure.
For the current ckks/README.md, the parameter tuples correspond to the values in the draft standard document and not to the default parameters (we can make this explicit or simply remove these tuples).
I hope this helps!

Thanks for the explanation!


kbatch service account permissions

After applying the helm chart for the kbatch-proxy, I ran into an issue where the kbatch service account was Forbidden from making the desired Kubernetes API calls.
Version info:

kbatch - 0.3.1
kbatch-proxy - 0.3.1 helm-chart

Logs from the kbatch-proxy pod after kbatch job list -o table:
HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"serviceaccounts is forbidden: User \"system:serviceaccount:dev:kbatch-kbatch-proxy\" cannot list resource \"serviceaccounts\" in API group \"\" in the namespace \"eskild\"","reason":"Forbidden","details":{"kind":"serviceaccounts"},"code":403}

I was able to get around this by creating a ClusterRole and ClusterRoleBinding for the aforementioned service account.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: kbatch-clusterrole
rules:
- apiGroups: ["batch", ""]
  resources: ["*"]
  verbs: ["get", "watch", "list", "patch", "create"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: kbatch-clusterrolebinding
  namespace: dev
subjects:
- kind: ServiceAccount
  name: kbatch-kbatch-proxy
  namespace: dev
  apiGroup: ""
roleRef:
  kind: ClusterRole
  name: kbatch-clusterrole
  apiGroup: rbac.authorization.k8s.io

These permissions will likely need to be tightened or modified but that said, with these permissions I was able to submit and list kbatch jobs.
I guess I have two remaining questions:

Is it possible that I missed something in the kbatch/kbatch-proxy setup that might have led me to this issue?
If we believe this is indeed an issue, I'd be happy to submit a PR to the helm-chart repo to add the ClusterRole and ClusterRoleBinding. Is this something you are amenable to?

Thanks a lot for all your great work :)

FWIW, here are the roles I've discovered in https://github.com/microsoft/PlanetaryComputer/discussions/93#discussioncomment-3486622 (so far):
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: kbatch-role
rules:
- apiGroups: ["batch"]
  resources: ["jobs"]
  verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]

- apiGroups: [""]
  resources: ["namespaces"]
  verbs: ["create", "get", "list", "delete"]

- apiGroups: [""]
  resources: ["pods", "pods/log", "configmaps"]
  verbs: ["get", "watch", "list", "create", "delete", "patch"]

---

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: kbatch
subjects:
- kind: User
  name: system:serviceaccount:prod:dhub-prod-kbatch-proxy
  apiGroup: rbac.authorization.k8s.io
roleRef:
  kind: ClusterRole
  name: kbatch-role
  apiGroup: rbac.authorization.k8s.io

I'm applying these with kubectl apply -f kbatch-roles.yaml.
I haven't really used Kubernetes RBAC before, so I'm not sure how it's typically handled, but I'm guessing this is something the helm chart should do for you. The zero-to-jupyterhub-kubernetes helm chart probably does things properly. https://zero-to-jupyterhub.readthedocs.io/en/latest/resources/reference.html#rbac-create and  https://zero-to-jupyterhub.readthedocs.io/en/latest/resources/reference.html#hub-serviceaccount seem relevant.

Just ran into this too. I think this should go into the helm chart


vpnkit.exe: No such file or directory

wsl --list --verbose
  NAME                   STATE           VERSION
* Ubuntu-20.04           Running         2
  docker-desktop-data    Stopped         2
  docker-desktop         Running         2

docker.exe --version
Docker version 20.10.17, build 100c701

Docker Desktop

sudo ./wsl-vpnkit-setup.sh
/mnt/c/Program Files/Docker/Docker/resources/vpnkit.exe
/mnt/c/bin/wsl-vpnkit.exe
cp: cannot stat '/mnt/c/Program Files/Docker/Docker/resources/vpnkit.exe': No such file or directory

if I run with flag '--no-docker'
sudo ./wsl-vpnkit-setup.sh --no-docker
Setup complete!
WSL VPNKit Service started. You may proceed to use the internet like normal

but default DNS settings doesn't work. If I write <IP_ADDRESS> is OK!

And broke integration between Docker Desktop and WSL2 instance

I see two files in my resources directory (on 4.11.1): com.docker.vpnkit.exe and vpnkit-bridge.exe. Looks like the first one is the file we are looking for.


Undefined function in Mx7

Error: TreeView_widget_TreeView_1.applyContext: Error: TreeView_widget_TreeView_1.applyContext: TypeError: mx.data.objectUpdateNotification is not a function
Line 410 TreeView.js

This was fixed in #31, right?


Give the callout cards a 1px stroke to help bring them out of the design.

What does this PR do and why?
Closes JB-725 : Give the callout cards a 1px stroke (smoke-100) to help bring them out of the design.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] (if relevant) I have tested this PR in all supported browsers.
[ ] (if relevant) I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #4021

PR #4022

PR #4023

PR #4024   👈

This comment was auto-generated by Graphite.

@wraeth-eth started a stack merge that includes this pull request via Graphite.

Graphite rebased this pull request as part of a merge.

@wraeth-eth merged this pull request with Graphite.


Update sql-server-linux-known-issues.md

Hello SQL Server Docs Team,
I think the mention that error Unable to set the system administrator password. Please consult the ERRORLOG in /path for more information. occurs only on containers should removed, since the error is thrown on also on full fledged Linux installs, such as Ubuntu.

Text version of the above image
vlad@ubuntu02:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal
vlad@ubuntu02:~$ sudo systemctl stop mssql-server
vlad@ubuntu02:~$ sudo /opt/mssql/bin/mssql-conf set-sa-password
Enter the SQL Server system administrator password:
Confirm the SQL Server system administrator password:
Configuring SQL Server...

ForceFlush is enabled for this instance.
ForceFlush feature is enabled for log durability.
Unable to set the system administrator password. Please consult the ERRORLOG
in /var/opt/mssql/log for more information.
vlad@ubuntu02:~$ sudo systemctl start mssql-server
vlad@ubuntu02:~$ sqlcmd -S localhost -U sa -Q 'select @@VERSION;' -C
Password:

----------------------------------------------------------------------------------------------
Microsoft SQL Server 2022 (RC1) - 16.0.950.9 (X64)
        Sep 13 2022 13:09:32
        Copyright (C) 2022 Microsoft Corporation
        Developer Edition (64-bit) on Linux (Ubuntu 20.04.6 LTS) <X64>

Best regards,
Vlad

@rwestMSFT
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

This issue should not happen on the latest SQL Server 2022 version, the version tried here is the RC 1 that had the issue, can you please try this with latest SQL Server 2022 version 16.0.4125 and see if the issue occurs? I tried it on my end and dont see the issue.

Hi @amitkh-msft,
You are correct. I've updated SQL Server to the latest version and the error message no longer shows up.
I'm closing the PR.
Sorry about that.


Use BlockHeight to calculate uptime/downtime instead of timestamps.

Use BlockHeight to calculate uptime/downtime instead of timestamps. timePassed is calculated by checking how many blocks have passed * 10 minutes, instead of using the timestamps.
This is more reliable, if people should change their system time or things to that effect.
This is a move towards making a GlobalAverageUptime.
@ChrisSchinnerl @DavidVorick

@DavidVorick thanks for reviewing, your comments have been addressed.

@mikkeljuhl Looks like a few of the regression tests are failing.  Do the tests pass when run locally?


IDoc support would be aweasome

IDoc (SAP format) is based on EDI I think.
It would be great to have the possibility to parse IDoc's in a handy way.
Kind regards

Hi @XdX-Software
I would very much like to support a SAP format in EDI.Net, but I am not familiar with SAP R/3 and the IDoc spec. From what I can find on the net, it seems to be an EDI format with segments and all but I cannot seem to find any specs for the grammar (Control characters & structural segment names etc.).
If you could provide with the specs/or info and you are willing to help test this I definitely could consider it.
Thanks for your interest!

This is the best I could find on a quick search.
http://help.sap.com/saphelp_nw70/helpdata/en/dc/6b824843d711d1893e0000e8323c4f/content.htm
Sure, I'm willing to help to test it.

@XdX-Software I took first look at the resources you provided and have come up to the conclusion that there is a pay to handle IDocs with EDI.Net. The main issue is that due to the fluidity of the spec the grammar would be constantly changing.
these are the additions/enhancements needed:

support of longer segment names (how long I do not know but as of now we support up to 4 digit segment names)
support the \t and \n whitespace characters as separator characters of elements and segments respectively.
The structure elements are not well defined as is the case with other formats. Do something about their absence.

That is for now. I do not have a plan as to when I could start looking more into this. Maybe a task for someone with the time to play around with the idea and the resources and knowledge to test it could help (access to SAP/R3).


Defining the output view of a custom form field

Laravel Version: 5.5.39
Voyager Version: 1.0.16
PHP Version: 7.0.28
Database Driver & Version: mysql, MariaDB 10.0.34

Description:
It seems there is no way apart from overriding the views/bread/read.blade.php template to define the view/HTML for custom form fields.
Even if I create the form field handler and the view as instructed on https://voyager.readme.io/v1.0/docs/adding-custom-formfields, that view is still not used when I browse a table containing the custom field, or view its records.
It looks like views/bread/read.blade.php has all the HTML output hard-coded, and any non-original field types are just output as text
Steps To Reproduce:

Create a custom form field as instructed in Voyager docs, modifying the template in some way (say, adding class="form-control special-type-of-numbers");
create BREAD for a table assigning that type to some column;
open that table in admin – the modification/class is not there;
click on "View" for some row – the modification/class is not there;

Yes, that is because a Formfield is an input, not an output for read

Yes, that makes sense. Still, viewing is very closely related to editing and the whole entity management (R in CRUD, R and B in BREAD), so being able to customise the view along with customising the edit form and saving is quite important.
This would be a feature suggestion then.

Which is already in the making ;)

It should also be added that the docs don't mention this necessary step in https://docs.laravelvoyager.com/customization/adding-custom-formfields

https://docs.laravelvoyager.com/customization/overriding-formfields

Was this implemented ? @emptynick docs doesnt works.

Well yes, 2 years ago round about

@emptynick and theres any docs on how to do it anywhere ?
Current adding custom formfields docs talks about the same stuff and theres no news about replacing the output on edit.blades

@emptynick in your commit here:
https://github.com/the-control-group/voyager/commit/ed8cd38bdc78a8669150b7903116cd01ae827965
You have added that "/customization/overriding-formfields" doc, and it is not online anywhere so wondering if thats the way to go or what.
I have tried to add "view" to options but with no results, scraped code to figure out how it should work but the "$row->details->view" in the read.blade seems coming from Bread conf not the customformfield class.
I need to replace all views on all read.blades for a customformfield.
Could you help please with a clear example on how to make this work?


feat(@vtmn/react): keep the last focused VtmnTabsItem in a focus state

Original issue : https://github.com/Decathlon/vitamin-web/issues/1265

When we focus on a VtmnTabsItem, and then focus outside the component, we lose the attribute aria-selected=true on the last focused VtmnTabsItem. This makes strange behavior because at least one of the VtmnTabsItem should always have the focus state.

Example here https://www.w3.org/WAI/ARIA/apg/example-index/tabs/tabs-manual.html. You can see that one tab always have a focused state, or a visual indication that it was the last consulted.
Context
This change is required because this should be the default behavior of a Tab system, one of the tab should always have an indication that it is active. Tabs always have one tab opened, or active.

[x] Make sure you are requesting to pull a topic/feature/bugfix branch. Please, don't request directly from your main!
[x] Check commits & PR names matches our requested structure. It must follow the https://www.conventionalcommits.org pattern.
[x] Check your code additions will fail neither code linting checks.
[x] I have reviewed the submitted code.
[x] I have tested on related showcases.
[x] If it includes design changes, please ask for a review with a core team designer.

Does this introduce a breaking change?

No

Other information

@lauthieb as today, the VtmnTabs calls just children, so we can't pass props in an easy way. This would need a rewrite of both components, and would add some breaking changes.
I can propose you to do this evolution in a second time, but as for now, we really need this fix. This could be the first step, and then we would do the evolution. What do you think ?

Hi @MaelthiS, thanks for your work!
If I understand well, the onBlur doesn't seems to work that much, and your are suggesting to remove all aria-selected of the sibling on each focus, to only set the aria-selected on the active one.
I'll join Laurent on this one, do you think there would be a way to manage the state of the component higher up on the parent (like a compound component for example) and possibly also to get out of this imperative approach?
Thanks! :)

Hello again @MaelthiS,
after discussion with @lauthieb, and because of your emergency, we will validate this PR as-is so that you can move forward. And then do as you said, i.e. rework with you the component to make it cleaner.
Before any merge, and this is a question that is systematically asked in the PR, can you make sure that these modifications will not bring any breaking changes for those who already use the component please?
Thank you!

Hello @MaelthiS, is this PR still relevant? Have you been able to determine if it brought any breaking changes?
Thanks :)

Hello @MaelthiS, thanks for this!
So for me it's ok. I let @thibault-mahe merge :)

Done, thanks again @MaelthiS :)


Allow to create a container file from a Transferable

var contents = Transferable.of(...);
var containerLocation = "/path/to/file";
withCopyFileToContainer(contents, containerLocation)

Fixed in #3815


Support multiple apps

Currently, the reduxReactFirebase call is very opinionated on how to use firebase, it attaches itself to the store as firebase and, in addition, also attaches itself to the global firebase module. That is bad style, and makes it entirely monolithic.
As explained in the official documentation, you can work against the database of a specific app by simply storing the reference to the object from the return value of the initializeApp call, and then call database() on that, instead of calling it directly on the default firebase object.

I didn't understand what you suggest.
This lib is attached to firebase.database on the initialization and also give you access to the rest options by giving you the original firebase object.
If you want to do hacks of seperate the same app to multiple projects for not paying its not something that we need to support. Its breaks the idea of one project for one app/environment.
I don't familiar wirh situation that you need multiple projects on the same time for regular using.

Multi-project apps is a basic feature supported and advertised by firebase officially. This is neither hacking nor illegal nor is it unwelcome. For many of its products, Google tends to offer limitations per account, however offers unlimited accounts. That applies to Firebase, just like it does to Gmail and Drive. If they didn't want people to use multiple accounts, they would not make it such a core feature. I myself am not even likely to exceed the limits of a single app's free plan with my prototype anytime soon, so I am not too worried. But I generally would like to be able to work against multiple back-ends at a time.
Re my proposal: I was thinking along the lines of offering an additional parameter to determine the app, like so:
@firebase({
  app1: [
    'todos'
  ],
  app2: [
    'otherstuff'
  ]
})

and in render() you can do:
const { app1, app2, todos, otherstuff } = this.props;

This approach to global state management might not be the cleanest but it could work just fine for smaller apps. How to deal with complex "services" (such as firebase) in Redux is an open question, and is also discussed here and I opened a more specific discussion here (as well as other places).
However, if, as you say, there is some rationale that says that you only want an app to ever work against a single back-end, then that's of course unnecessary for your project, and you can safely ignore this issue :)

Now after i saw the officially docs I understand you. Its not a common usage but it's something that can be too. It would be great if you can submit a PR for that.

I'll see where I can find the time :D


updated hints for Engine.Args

When reviewing the ObE vscode ext, noticed that the hints did not reflect the new updates for the Engine.Args property that was recently added. Updated hints to reflect this change.

@Sygmei when you have time, review and merge. Let me know if you have any questions.

Approved 👌
When I'm done fixing Obidog, all the bindings / documentation / hints should be regenerated properly !

Sounds good. It was something small I noticed when testing.
On 5/5/23 10:04 AM, Sygmei wrote:

Approved 👌
When I'm done fixing Obidog, all the bindings / documentation / hints
should be regenerated properly !
—
Reply to this email directly, view it on GitHub
https://github.com/ObEngine/ObEngine/pull/452#issuecomment-1536396566,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4RFZLJNP7V7LBLXQBV5ZJDXEUJIZANCNFSM6AAAAAAXXHRD3U.
You are receiving this because you authored the thread.Message ID:
@.***>


fix: portfolio table sorting

This pr fixes portfolio table sorting, mentioned here

@alter-eggo Can you merge in main and fix the PR please.


[Thread] renaming ThreadNetworkKey to ThreadMasterKey

Problem
We are currently referring Thread Network Master Key as ThreadNetworkKey while Thread specification and OpenThread are using Master Key. We should keep the name consistent.

Summary of Changes
This PR renames member field ThreadNetworkKey of class DeviceNetworkInfo to ThreadMasterKey.

Fixes #3366

@hawk248 @jelderton @BroderickCarlin @saurabhst ?


Wrong Camera Intrinsic Matrix?

System:

OS version: Ubuntu 20.04
Python version: Python 3.9
SAPIEN version: 2.2.2
Environment: Desktop

Describe the bug
It seems to me that the camera intrinsic calculation in SAPIEN is wrong.
To Reproduce
import numpy as np
import sapien.core as sapien

# Camera Parameters
near, far = 0.01, 100
w, h, fovy = 960, 512, 1.47

# Intrinsics using formula
fx = fy = (w / 2) / np.tan(fovy/2)
cx = w / 2
cy = h / 2
K = np.array([[fx, 0., cx],
              [0., fy, cy],
              [0., 0., 1.]])
print("Intrinsics from formula:")
print(K)

# Intrinsics using SAPIEN
engine = sapien.Engine()
renderer = sapien.SapienRenderer()
engine.set_renderer(renderer)
scene = engine.create_scene()
camera = scene.add_camera(
    name="wrist_camera",
    width=w,
    height=h,
    fovy=fovy,
    near=near,
    far=far,
)
print("Intrinsics from SAPIEN:")
print(camera.get_intrinsic_matrix())

The output of the script is:
Intrinsics from formula:
[[530.99549945   0.         480.        ]
 [  0.<PHONE_NUMBER>5 256.        ]
 [  0.           0.           1.        ]]

Intrinsics from SAPIEN:
[[283.1976   0.     480.    ]
 [  0.     283.1976 256.    ]
 [  0.       0.       1.    ]]

Expected behavior
From my understanding of camera parameters, the two intrinsic matrices should be equal. Please let me know if this is a bug or if there is a mistake in my thinking. Thank you very much!

Ah I found the error, my bad. fovy is the vertical field of view, not the horizontal one, so the right formula should be:
fx = fy = (h / 2) / np.tan(fovy/2)

With this everything works. Sorry for the confusion and thank you again for this amazing library, keep up the great work!


Arm64 docker images

Hi, is it possible to have an Arm64 docker image?
Tks.

Yes,  gorositopablo/konga


chore: hide stable released feature flags from admin menu

The type of this PR is: TYPE

Description
This PR:

hides stable released feature flags from the admin menu
removes the alphabetical sorting from the feature flags list which was making it hard to find newly added feature flags

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests/stories for my changes, or my changes don't require testing/stories, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Hide stable released feature flags from admin menu - mounir

This PR contains the following changes:

Dev changes (Hide stable released feature flags from admin menu - mounir)

  Generated by :no_entry_sign: dangerJS against d51b0cccc278195224ac6a22c300f0c52c941642


Preserve the original url when redirected to the login page

Portainer is great but having to relogin is a major annoyance -- that's a separate issue, https://github.com/portainer/portainer/issues/613.
It would be great if portainer login redirected to the original url after login, rather than always leaving you at the top-level Dashboard. Webapps typically do this by embedding the destination url in a query arg.
For security, might want to be sure no GET of the destination url is a destructive operation.

Implementation of this feature via #2591 was rolled back because it was causing multiple issues. We'll look forward implementing this one as well as #454 in the same implementation.

+1 please.

Hi,
the #454 has been closed, would be possible to re-add this?
Thanks and regards,

Any progress on this feature? Kinda annoying if you ask me

It is a clear stop sign to use a paid version of Portainer.

It is a clear stop sign to use a paid version of Portainer.

What does this even mean.


Force def editor

If the environment variable EDITOR is not set, it search for installed editors — before for nano and after for vim — and uses what it finds. If none of them is installed, it produces and error suggesting to use the internal tiny editor if nothing else is available.

I think this is the best solution. I would also show how to specify a different editor with the -e option.

I think this is the best solution. I would also show how to specify a different editor with the -e option.

Ok, I can add "type edit -h for more options"

Ok, I can add "type edit -h for more options"


Get the requirements

Get the requirements from the pizzaria's owner and organize them on a documentation file.

I think this requirements:

#
Requirement

1
Platform with one page

2
Pizza's filter

3
Send order to Whatsapp


In DeleteFilesForm the bosses names need to have spaces between the words

Currently bosses names such as "Ai, Keeper of the Peak" are displayed as "AiKeeperofthePeak"

Can be done using an ILogNameProvider
example in Sections\LogList.cs


update discovery tree to master

not working at the moment!
"make px4-stm32f4discovery_default"  errors:
grep: /home/stefan/dev/discovery_rebase/Firmware/Build/px4-stm32f4discovery_default.build/nuttx-export/include/nuttx/config.h: file or directory not found
Where I have to modified something to get these nuttx-exports in Build/px4-stm32f4discovery ?

Did you run "make archives" yet?

@LorenzMeier  yes, I did:
"git submodule init"
"git submodule update"
"make distclean"
"make archives"
"make"
all without errors, then I did "make px4-stm32f4discovery_default"

I just add in the makefiles/config_px4-stm32f4discovery_default.mk
the  Line "MODULES += platforms/nuttx" but this changes nothing, even if I did all the commands mention above again.

Travis had the same errors:
Line 6384

Error about "nuttx-exports" is now fixed
Current Errors:
Firmware/src/drivers/boards/px4-stm32f4discovery/px4discovery_init.c:144:14: error: no previous prototype for 'nsh_archinitialize' [-Werror=missing-prototypes]
compilation terminated due to -Wfatal-errors.

new Error:
Firmware/src/systemcmds/hw_ver/hw_ver.c:55:4: error: implicit declaration of function 'exit' [-Werror=implicit-function-declaration]
compilation terminated due to -Wfatal-errors.
Maybe I should try not to use hw_ver and boardinfo at a first attempt (which were reimplemented from discovery branch, they are not in the actual master branch)

new Error:
In file included from Firmware/src/systemcmds/tests/test_gpio.c:54:0:
Firmware/src/drivers/drv_gpio.h:116:3: error: #error No CONFIG_ARCH_BOARD_xxxx set

Travis got the same error:
In file included from /home/travis/build/PX4/Firmware/src/systemcmds/tests/test_gpio.c:54:0:
/home/travis/build/PX4/Firmware/src/drivers/drv_gpio.h:116:3: error: #error No CONFIG_ARCH_BOARD_xxxx set
error No CONFIG_ARCH_BOARD_xxxx set
^
compilation terminated due to -Wfatal-errors.

@davids5 Could you maybe have a quick look if you see the obvious fix?

now I should include types.h into px4discovery_init.c to resolve error of unknown "return OK;"

even If travis was successful, DO NOT MERGE, I like to test this on Hardware before

Hi, Sorry for the delay I was burried. It looks like you have resolved the build issues.
I am not sure if you have rebased on the latest master, but what I have described below applies to
Firmware f3cb5865741f8a5ee89d441c996e66f73b7c0a91
But for the record: For the current master branch of Firmware using : https://github.com/PX4/NuttX/commit/33e56f1a3aac0ef5474c57b565bd9f9e8813b2fb
(nuttx-6.27-311-g33e56f1)
For the runtime stack checking both the PX4 Firmware and Nuttx need to be built with the CONFIG_ARMV7M_STACKCHECK option set the same state, enabled or disabled. Any mismatch will created either compile time or runtime issues.
Since the point of control for the option is the .config file used in the Nuttx build of a given board. We have a single point of control. The defconfig file in the Firmware/nuttx-configs//nsh
This is where one sets the CONFIG_ARMV7M_STACKCHECK to =y or =n. The proper method is BOARDS="" make  menuconfig,  but a hand edit will work in this case.
For the Nuttx configuration. In the Firmware's Firmware/nuttx-configs//nsh/Make.defs there should be a
Example: Firmware/nuttx-configs/px4fmu-v2/nsh/Make.defs

# enable precise stack overflow tracking
ifeq ($(CONFIG_ARMV7M_STACKCHECK),y)
INSTRUMENTATIONDEFINES	 = -finstrument-functions -ffixed-r10
endif

Since any mismatch in the state of  CONFIG_ARMV7M_STACKCHECK  will causes runtime crashes We enforce this matching by building the PX4 Firmware with the same setting the Nuttx archives are built with (when they were built)
This is done by the following Make file section located in Firmware/makefiles/toolchain_gnu-arm-eabi.mk
# Enabling stack checks if OS was build with them
#
TEST_FILE_STACKCHECK=$(WORK_DIR)nuttx-export/include/nuttx/config.h
TEST_VALUE_STACKCHECK=CONFIG_ARMV7M_STACKCHECK\ 1
ENABLE_STACK_CHECKS=$(shell $(GREP) -q "$(TEST_VALUE_STACKCHECK)" $(TEST_FILE_STACKCHECK); echo $$?;)
ifeq ("$(ENABLE_STACK_CHECKS)","0")
ARCHINSTRUMENTATIONDEFINES_CORTEXM4F = -finstrument-functions -ffixed-r10
ARCHINSTRUMENTATIONDEFINES_CORTEXM4  = -finstrument-functions -ffixed-r10
ARCHINSTRUMENTATIONDEFINES_CORTEXM3  =
else
ARCHINSTRUMENTATIONDEFINES_CORTEXM4F =
ARCHINSTRUMENTATIONDEFINES_CORTEXM4  =
ARCHINSTRUMENTATIONDEFINES_CORTEXM3  =
endif

@davids5 Travis build without errors but hans-ci doesn't work...
I did a "make px4fmu-v2_default" without any problem, but I have no px4fmu-v2 at the moment to test if this is not working. Maybe It's not important because this is the discovery branch ;-)
@LorenzMeier I tested this on my stm32f4discoveryboard and it's working.
Maybe someone else cold retest this ?
Is there a reason why the apps boardinfo and hw_ver are no longer in the master branch?

I modified some comments

The two apps have been combined under the "ver" app.

@nopeppermint  Once this is rebased on the current master then hans-ci should have no problem with the  px4fmu-v2_default and most of the module related issues will also be gone.

working with app ver ;-)

@LorenzMeier could you please merge #2037 into the discovery
I can do a rebase later again.


Ignore VALUE clause

I'm working with copybooks that specify a VALUE clause to define the default value of a field (in this case a Tab character used as a separator):
   01  WORK-BOOK.
      10  FILLER       PIC X(01) VALUE X'05'.

I don't need to know the default value in my use case, but the presence of the VALUE clause causes:
pyparsing.exceptions.ParseException: Expected end of text, found '10'  (at char 32), (line:3, col:10)

I'd like copybook to accept the VALUE clause and ignore it.
See VALUE Clause in the IBM Enterprise COBOL for z/OS documentation

I will submit a pull request.


update readme

Updated readme and jira information added

Can you also add license badge below?

[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](http://badges.mit-license.org)

@furkanvarol added

Can you make commit message's first character capitalized? Also, can you update the title [SETL-???] according to JIRA issue number?

@kubudi can you check this PR? You had some opinion abut README.

@hsnthn And can you make commit message more informative.


Iss270 strategy improvements

A new PR, given that the prior PR exhibited strange behaviour:
https://github.com/liampauling/flumine/pull/279

Coverage increased (+0.002%) to 93.75% when pulling 92858051a567b6341673cb2579a1fa6cd6730d8c on jsphon:iss270-strategy-improvements into 7067eb31e1c8743adb91a3b39bae30f0969b6a2f on liampauling:master.


UNO R4  wifi board

Build tool used:

[x ] Arudino using IDE v2.1.1 on Windows 11
[ ] Platformio (Visual Studio Code plugin)
[ ] Platformio CLI
[ ] Other

Board used (ESP32/ESP8266/Arudino):

[ ] ESP8266-based
[ ] ESP32-based

Other Libraries That are used:

Description of problem:
Hi
I  just purchased   the Arduino R4 WIFI  board to use  to send  email alerts .
I then downloaded  the sample send sketch
(https://github.com/mobizt/ESP-Mail-Client/tree/master/examples)/SMTP/[Send_Text]
This did  not  compile/verify. gives the following  errors
WARNING: library ESP Mail Client claims to run on esp8266, esp32, sam, samd, stm32, STM32F1, STM32F4, teensy, avr, megaavr, mbed_nano, mbed_rp2040, rp2040 architecture(s) and may be incompatible with your current board which runs on renesas_uno architecture(s).
C:\Users\CV\AppData\Local\Temp.arduinoIDE-unsaved202378-1896-1yqo019.i9duj\sketch_aug8a\sketch_aug8a.ino: In function 'void setup()':
C:\Users\CV\AppData\Local\Temp.arduinoIDE-unsaved202378-1896-1yqo019.i9duj\sketch_aug8a\sketch_aug8a.ino:112:3: error: 'WiFi' was not declared in this scope
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
^~~~
C:\Users\CV\AppData\Local\Temp.arduinoIDE-unsaved202378-1896-1yqo019.i9duj\sketch_aug8a\sketch_aug8a.ino:121:27: error: 'WL_CONNECTED' was not declared in this scope
while (WiFi.status() != WL_CONNECTED)
^~~~~~~~~~~~exit status 1
Compilation error: 'WiFi' was not declared in this scope
exit status 1
Compilation error: 'WiFi' was not declared in this scope
Additional information and things you've tried:
I had  already  compiled a sketch  that connected  to my wifi. Then as a trial I added  the line
#include <ESP_Mail_Client.h>
this  failed to compile also  with WARNING: library ESP Mail Client claims to run on esp8266, esp32, sam, samd, stm32, STM32F1, STM32F4, teensy, avr, megaavr, mbed_nano, mbed_rp2040, rp2040 architecture(s) and may be incompatible with your current board which runs on renesas_uno architecture(s).
C:\Users\CV\OneDrive\Documents\Arduino\libraries\ESP_Mail_Client\src\extras\RFC2047.cpp: In member function 'void RFC2047_Decoder::rfc2047DecodeWord(char*, const char*, size_t)':
C:\Users\CV\OneDrive\Documents\Arduino\libraries\ESP_Mail_Client\src\extras\RFC2047.cpp:81:5: error: 'strsep' was not declared in this scope
strsep(&end, "?");
^~~~~~
C:\Users\CV\OneDrive\Documents\Arduino\libraries\ESP_Mail_Client\src\extras\RFC2047.cpp:81:5: note: suggested alternative: 'strstr'
strsep(&end, "?");
^~~~~~
strstr
In file included from C:\Users\CV\OneDrive\Documents\Arduino\libraries\ESP_Mail_Client\src\ESP_Mail_Client.cpp:41:0:
C:\Users\CV\OneDrive\Documents\Arduino\libraries\ESP_Mail_Client\src\ESP_Mail_IMAP.h: In member function 'void ESP_Mail_Client::parseFoldersResponse(IMAPSession*, char*, bool)':
C:\Users\CV\OneDrive\Documents\Arduino\libraries\ESP_Mail_Client\src\ESP_Mail_IMAP.h:3704:13: error: 'strsep' was not declared in this scope
strsep(&end, " ");
^~~~~~
C:\Users\CV\OneDrive\Documents\Arduino\libraries\ESP_Mail_Client\src\ESP_Mail_IMAP.h:3704:13: note: suggested alternative: 'strstr'
strsep(&end, " ");
^~~~~~
strstr
C:\Users\CV\OneDrive\Documents\Arduino\libraries\ESP_Mail_Client\src\ESP_Mail_IMAP.h: In member function 'bool ESP_Mail_Client::getFlags(IMAPSession*, char*, esp_mail_imap_response_types)':
C:\Users\CV\OneDrive\Documents\Arduino\libraries\ESP_Mail_Client\src\ESP_Mail_IMAP.h:3969:13: error: 'strsep' was not declared in this scope
strsep(&end, " ");
^~~~~~
C:\Users\CV\OneDrive\Documents\Arduino\libraries\ESP_Mail_Client\src\ESP_Mail_IMAP.h:3969:13: note: suggested alternative: 'strstr'
strsep(&end, " ");
^~~~~~
strstr
C:\Users\CV\OneDrive\Documents\Arduino\libraries\ESP_Mail_Client\src\ESP_Mail_Client.cpp: In member function 'void ESP_Mail_Client::splitToken(const char*, std::vector<MB_String>&, const char*)':
C:\Users\CV\OneDrive\Documents\Arduino\libraries\ESP_Mail_Client\src\ESP_Mail_Client.cpp:816:5: error: 'strsep' was not declared in this scope
strsep(&end, delim);
^~~~~~
C:\Users\CV\OneDrive\Documents\Arduino\libraries\ESP_Mail_Client\src\ESP_Mail_Client.cpp:816:5: note: suggested alternative: 'strstr'
strsep(&end, delim);
^~~~~~
strstr
Share code snippet to reproduce the issue:
PASTE .cpp / .ino code here

Arduino UNO R4 WiFi that uses Renesas MCU is not supported by current release of library (v3.3.7 and earlier).
You should try this unreleased v3.4.0 which supports all Arduino devices included Arduino UNO R4 WiFi.
Because of v3.4.0 is not yet released and is under development, to install v3.4.0, you need to uninstall the older version first and download the zip file and install using zip file.
Arduino UNO R4 WiFi  uses WiFiS3.h library and you should include it to your code when using WiFi.
https://github.com/mobizt/ESP-Mail-Client/blob/195c67b3292b4d8f8603bcd710c2cd230c189291/examples/SMTP/Send_Text/Send_Text.ino#L35-L46

Wow. Thank you very much for the prompt and helpful response.
I'll try this out tomorrow. I'm on a big learning curve here with these
devices.
So again THANK YOU.
Cheers
Bernie
On Tue, 8 Aug 2023, 6:37 pm Suwatchai K., @.***> wrote:

Arduino UNO R4 WiFi that uses Renesas MCU is not supported by current
release of library (v3.3.7 and earlier).
You should try this unreleased v3.4.0
https://github.com/mobizt/ESP-Mail-Client/tree/v3.4.0 which supports
all Arduino devices included Arduino UNO R4 WiFi.
Because of v3.4.0 https://github.com/mobizt/ESP-Mail-Client/tree/v3.4.0
is not yet released and is under development, to install v3.4.0
https://github.com/mobizt/ESP-Mail-Client/tree/v3.4.0, you need to
uninstall the older version first and download the zip file and install
using zip file.
Arduino UNO R4 WiFi uses WiFiS3.h library and you should include it to
your code when using WiFi.
https://github.com/mobizt/ESP-Mail-Client/blob/195c67b3292b4d8f8603bcd710c2cd230c189291/examples/SMTP/Send_Text/Send_Text.ino#L35-L46
—
Reply to this email directly, view it on GitHub
https://github.com/mobizt/ESP-Mail-Client/issues/286#issuecomment-1668993933,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBZCOUJG55I5LK2LRJKQOUTXUHNDLANCNFSM6AAAAAA3H3FKAY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi Just to say I got it working fine thank you.
Had to create new sketches from scratch but it's send ING emails.
Many thanks again.
On Tue, 8 Aug 2023, 6:37 pm Suwatchai K., @.***> wrote:

Arduino UNO R4 WiFi that uses Renesas MCU is not supported by current
release of library (v3.3.7 and earlier).
You should try this unreleased v3.4.0
https://github.com/mobizt/ESP-Mail-Client/tree/v3.4.0 which supports
all Arduino devices included Arduino UNO R4 WiFi.
Because of v3.4.0 https://github.com/mobizt/ESP-Mail-Client/tree/v3.4.0
is not yet released and is under development, to install v3.4.0
https://github.com/mobizt/ESP-Mail-Client/tree/v3.4.0, you need to
uninstall the older version first and download the zip file and install
using zip file.
Arduino UNO R4 WiFi uses WiFiS3.h library and you should include it to
your code when using WiFi.
https://github.com/mobizt/ESP-Mail-Client/blob/195c67b3292b4d8f8603bcd710c2cd230c189291/examples/SMTP/Send_Text/Send_Text.ino#L35-L46
—
Reply to this email directly, view it on GitHub
https://github.com/mobizt/ESP-Mail-Client/issues/286#issuecomment-1668993933,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBZCOUJG55I5LK2LRJKQOUTXUHNDLANCNFSM6AAAAAA3H3FKAY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Fix test broken by PR1917 and other test stability improvements

Description
Describe the changes made and why they were made.
Ignore if these details are present on the associated Apache Fineract JIRA ticket.
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[ ] Write the commit message as per https://github.com/apache/fineract/#pull-requests

[ ] Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

[ ] Create/update unit or integration tests for verifying the changes made.

[ ] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

[ ] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/api-docs/apiLive.htm with details of any API changes

[ ] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

Self-merging to fix build issue introduced by PR #1917


Noise happened when audio file playback in v3.5.1.

My project uses several effectors, AKReverb and AKPinkNoise to apply them to local audio file playback with AKAudioPlayer. After I updated AudioKit from v3.5 to v3.5.1, big noise sound happened. I cannot hear the playback sound anymore due to this big noise sound.
This noise issue was never happened in v3.5.
My iPhone iOS version is 10.2.
Following is a part of code in my project.
self.player = try！ AKAudioPlayer(file: file)
self.reverb = AKReverb(self.player, dryWetMix: 0)
self.pinkNoise = AKPinkNoise(amplitude: 0)
let mix = AKMixer(self.reverb, self.pinkNoise)
AudioKit.output = mix!
AudioKit.start()

When playback starts, following play() method is called.
func play() {
  self.reverb.start()
  self.pinkNoise.start()
  self.player.play(from: currentTime, to: duration)
}

Then, noise happens.
Could you give any advise ?

Quick fix, go back to 3.5.  :)  But thanks for the issue and the walkthrough for reproducing the issue.  I haven't had time to do so yet but I will soon.

I tried this code and it is working as expected in the latest dev. AudioKit on OS X.

This works perfectly me on the develop branch for AudioKit on iOS so I am going to assume whatever it was has been addressed.

It's quite possible this was the AKAudioPlayer pause bug I fixed recently - unrelated to his signal chain.
-----Original Message-----
From: "Aurelius Prochazka"<EMAIL_ADDRESS>Sent: Friday, January 27, 2017 11:28pm
To: "audiokit/AudioKit"<EMAIL_ADDRESS>Cc: "Ryan Francesconi"<EMAIL_ADDRESS>"Comment"<EMAIL_ADDRESS>Subject: Re: [audiokit/AudioKit] Noise happened when audio file playback in v3.5.1. (#713)
This works perfectly me on the develop branch for AudioKit on iOS so I am going to assume whatever it was has been addressed.
—
You are receiving this because you commented.
Reply to this email directly,  view it on GitHub , or  mute the thread .


GH-33786: [C++] Ignore old system xsimd

Rationale for this change
If old xsimd is installed, CMake target for bundled xsimd is conflicted.
What changes are included in this PR?
Use arrow::xsimd for bundled xsimd's target name to avoid conflict.
Are these changes tested?
Yes.
Are there any user-facing changes?
No.

Closes: #33786

@github-actions crossbow submit verify-rc-source-cpp-linux-ubuntu-22.04-amd64


Update prepare_host.sh

Added cache cleaning, repo update and and a manual step for mysql java connector

Thanks @falsamawi-pivotal


ShareFile File And Text

When we send a picture from Whatsapp, can we write the text we specified under the picture?
One message with both image and text

Use this - https://gist.github.com/gauravbordoloi/4d1b66ad41e0fe1dd3f89b38528bf85c


Fix TypeError in case of empty string a Content-Type

See #60 for details

Nice catch! Can you please apply vendor/bin/phpcbf in order I can merge this?

I setup the hook as described in the doc ... but there were some errors because I'm using a docker. Fixing manually.

Pushed CS fixes. If is ok I can squash and merge.

Thanks @hpatoio !


python38Packages.pytest-doctestplus: 0.10.1 -> 0.11.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.pytest-doctestplus is: "Pytest plugin with advanced doctest features"
meta.homepage for python38Packages.pytest-doctestplus is: "https://astropy.org"
meta.changelog for python38Packages.pytest-doctestplus is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.11.0 with grep in /nix/store/vxyjk7vzrhrz5hmfvp448ra5bcmsfq8y-python3.8-pytest-doctestplus-0.11.0

found 0.11.0 in filename of file in /nix/store/vxyjk7vzrhrz5hmfvp448ra5bcmsfq8y-python3.8-pytest-doctestplus-0.11.0

directory tree listing: https://gist.github.com/833317de1cda06637e94efd12ec67125

du listing: https://gist.github.com/590e4184f50684d67c331e1f21be5246

Rebuild report (if merged into master) (click to expand)

96 total rebuild path(s)

24 package rebuild(s)

24 x86_64-linux rebuild(s)
24 i686-linux rebuild(s)
24 x86_64-darwin rebuild(s)
24 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python38Packages.aplpy
python38Packages.asdf
python38Packages.astropy-healpix
python38Packages.drms
python38Packages.pyregion
python38Packages.pytest-astropy
python38Packages.pytest-doctestplus
python38Packages.pytest-filter-subpackage
python38Packages.radio_beam
python38Packages.reproject
python38Packages.spectral-cube
python38Packages.sunpy
python39Packages.aplpy
python39Packages.asdf
python39Packages.astropy-healpix
python39Packages.drms
python39Packages.pyregion
python39Packages.pytest-astropy
python39Packages.pytest-doctestplus
python39Packages.pytest-filter-subpackage
python39Packages.radio_beam
python39Packages.reproject
python39Packages.spectral-cube
python39Packages.sunpy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vxyjk7vzrhrz5hmfvp448ra5bcmsfq8y-python3.8-pytest-doctestplus-0.11.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python38Packages.pytest-doctestplus https://github.com/r-ryantm/nixpkgs/archive/93e1419f7357cf57f5829f5a118b53899937f5dd.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vxyjk7vzrhrz5hmfvp448ra5bcmsfq8y-python3.8-pytest-doctestplus-0.11.0
ls -la /nix/store/vxyjk7vzrhrz5hmfvp448ra5bcmsfq8y-python3.8-pytest-doctestplus-0.11.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

24 packages built:

python38Packages.aplpy
python38Packages.asdf
python38Packages.astropy-healpix
python38Packages.drms
python38Packages.pyregion
python38Packages.pytest-astropy
python38Packages.pytest-doctestplus
python38Packages.pytest-filter-subpackage
python38Packages.radio_beam
python38Packages.reproject
python38Packages.spectral-cube
python38Packages.sunpy
python39Packages.aplpy
python39Packages.asdf
python39Packages.astropy-healpix
python39Packages.drms
python39Packages.pyregion
python39Packages.pytest-astropy
python39Packages.pytest-doctestplus
python39Packages.pytest-filter-subpackage
python39Packages.radio_beam
python39Packages.reproject
python39Packages.spectral-cube
python39Packages.sunpy

Maintainer pings
cc @costrouc for testing.

Result of nixpkgs-review pr 139028 at 93e1419f run on aarch64-linux 1

24 packages built successfully:

python38Packages.aplpy
python38Packages.asdf
python38Packages.astropy-healpix
python38Packages.drms
python38Packages.pyregion
python38Packages.pytest-astropy
python38Packages.pytest-doctestplus
python38Packages.pytest-filter-subpackage
python38Packages.radio_beam
python38Packages.reproject
python38Packages.spectral-cube
python38Packages.sunpy
python39Packages.aplpy
python39Packages.asdf
python39Packages.astropy-healpix
python39Packages.drms
python39Packages.pyregion
python39Packages.pytest-astropy
python39Packages.pytest-doctestplus
python39Packages.pytest-filter-subpackage
python39Packages.radio_beam
python39Packages.reproject
python39Packages.spectral-cube
python39Packages.sunpy

0.11.0 already in master, see https://github.com/NixOS/nixpkgs/commit/864cbc2969743aae63b224ad46f81a4a88e6fad4


swift-nio documentation: No data available

the DocC sidebar for swift-nio displays No data available.
https://swiftpackageindex.com/apple/swift-nio/2.58.0/documentation/nio

in the firefox web inspector, only one request seems to be failing, theme-settings.json, which returns HTML with status code 404.
i first noticed this on ubuntu 22.04 desktop firefox 117.0.1, but also got the same behavior on iOS 16.6.1 safari while connected to a different network.
it only seems to affect the page for NIO, the other modules (e.g. NIOHTTP1) seem to work normally.

Thanks for the report, @tayloraswift !
The 404 on the theme-settings.json is a red herring, this is just what the top level docs for NIO look like if you look at the NIO target.
You get the same when you run
swift package --disable-sandbox preview-documentation -p 8080 --target NIO

to view the docs locally:

I've mentioned this to the DocC folks when I first noticed this and they confirmed it's an unfortunate result of the NIO target being an empty placeholder target for the documentation overview.
I'm not sure if they're tracking this to display a better empty state for the sidebar.
cc @ethan-kusters @franklinsch

I believe we've done everything we can here. Please reopen if there's indeed something to be done here!


merlin status indicator for buffers

This would provide some visual indication as to whether or not the language server can provide advanced features for the current buffer. We also could make the indicator into a clickable widget.

There is a basic status bar item now. Clicking on it opens a pulldown with the locations of the currently active merlin files.


HIL Simulation

I decided to test the RC muxing and offboard control stuff with Gazebo.  I figured that it would be pretty easy to just grab the command messages coming off the autopilot and push them to the naze.  It was incredibly easy.
I'm wondering if we should make this a supported feature.  I suppose I'll have to play around with bandwidth, which is the main concern, but I think that it wouldn't be too terrible to support a HIL simulator for ROSflight and Gazebo, certainly for fixed-wings it shouldn't be too much of a problem, but I'm thinking that it actually wouldn't be too crazy to get it going for the multirotors too.
Stuff we would have to do.

[x] Forces and Moments would need to subscribe to the servo_output_raw topic, rather than command like it currently does

[x] IMU would need to be streamed into the naze, rather than out of it.

That doesn't sound too bad.  I am certain that there is enough bandwidth to handle the fixed wing information.  I'm not so sure about the multirotor (in fact, I'm not even sure that we can get Gazebo running at a full 1000 Hz to simulate the multirotor)  Something to think about.

So, I ultimately decided to not do this.  The latency is too great over mavlink to perform accurate simulation.  Software in the loop is a lot more reliable and realistic.


[3.2] Fix empty RIDs in VisualServer.texture_debug_usage()

The following code will always print 0 without this fix:
for tex in VisualServer.texture_debug_usage():
	print(tex.texture.get_id())

This PR targets the 3.x branch since texture_debug_usage is currently unimplemented in the master branch.

@clayjohn @lawnjelly This PR correctly sets texture on a few TextureInfo structs. Only two lines were added.
https://github.com/godotengine/godot/blob/89a43d9c2e7f62eef31a32bf2c68f40412c7dd12/servers/rendering_server.h#L146-L154

The only question in my mind is whether this could open up a threading or access vulnerability (e.g. it returns the RID, something else destroys the texture, the user accesses the RID - crash). I see that there have been a few issues in this area:
#28533
#35058
@clayjohn will be more familiar with this than me since he did that latter PR.

Thanks!


Feature Request: Translate OneDB at OneDB

OneDB and sample apps could have English strings translatable to other languages in OneDB data explorer, or separate translation app.

OneDB database explorer is very user friendly. I have tried finding good webbased MongoDB editor, but PHP-based I tried did not work. There is some desktop based software but not those seem to be too complicated to setup and use for me.

Totally agree here. It looks like Angular has a translation plugin.
Glad to hear you like the data explorer!


Various updates

This PR updates the following packages:

libX11, updated from version 1.6.9 to 1.7.0, contains several security fixes.
libxkbcommon, updated from version 1.0.1 to 1.0.2.
libxml, patch various security vulnerabilities.

LGTM.


Add accumulated checks support for Websockets

Hello & Bonjour,
On my current project we need to benchmark some scenario with http and websockets, but the current possibilities in gatling were not enought.
Let's say our server is a "long running task executor". You can send some task via a http POST, and it returns OK with a UUID when it's safely stored in a queue.
When the task is done, we send a status on an already opened websocket (identified by by client) with the task-id.
So on my scenario one User needs to

open a websocket
POST lots tasks via http
adds a Check for each task with the returned UUID and status OK
close websocket
We want to have timing for the http requests AND Checks

Currently we can add a check without sending the message on websocket, but the problem was that we can't create a second check before the 1st one is matched (or it fails it with "Check didn't succeed by the time a new one was set up").
It was already discussed here:
https://groups.google.com/forum/#!topic/gatling/1kGyMC_0DyQ
http://stackoverflow.com/questions/26624448/issues-with-websocket-check-didnt-succeed-by-the-time-a-new-one-was-set-up
In the solution I propose, I wanted to keep the exact same behavior for existing scenarios, so I updated the DSL to add a new "accumulate" (I'm opened to better suggestion) option.
It was possible to keep the "blocking" option, but didn't make any sense to block and accumulate, so I forbid it at the DSL level.
Finally, I forced the "UntilCount(1)", since it would have been more difficult to keep track of counts for each Check (could be done later?).
Technically, I keep all AsynCheck instances in a Set (any better suggestion for a constantly evolving array? mutable.ListBuffer?). There's few risk of erasure, as they have a timestamp of creation property.
On a received message, I just loop on all accumulated checks, and on timeout I remove it from the Set and fail.
Functionally, it seems to work :)
Of course, the size of the Set will evolve with your response time and finely tuned timeouts...

I have a full test project test project with Gatling scenario and a mock self-contained server that I'll put on Github later ;)

@BorisNaguet Could you please DM me?

Another issue I currently face in my scenario (I didn't realized it before) is that I can't define a "double check" on a websocket message (even without my PR)?
Maybe I missed it, is it possible to check that a single ws (json) message has:
messId=${ID} && status='OK'
On http, it's just 2 checks on a request.
Maybe with a headache-ing regex it's possible :)

WebSocket API will be completely rebooted in Gatling 3.
Effort should go there: #3071.
Please join the discussion in there.

Any news on a "how to contribute", for an individual or a company?
I haven't seen any post on the blog about that or any.

We're in the process of adding individual and corporate CLA.
Then (nothing's decided yet), regarding contributing fixes on existing code can easily be done. We take care of integrating in the current public branch and porting in the next major or minor release too.
But contributing to the future code is another matter. We only plan to grant access to:

very active community members
customers who went with an extended support plan to get the sources, not only the milestones binaries

If you or your company are interested in discussing about this, please get in touch at<EMAIL_ADDRESS>


Updating ninth digit req for BR cell phone numbers

According to the link referred in code, area codes 8X were outdated, and 3X/7X groups are going to receive the 9 this weekend.

Thanks.


End-to-end regression test between metaseq and huggingface

We are interested in a full regression test between metaseq and huggingface. As @patrickvonplaten confirmed, the current regression test doesn't cover the merging step. We observed different behaviors between models that require merging (1.3B) and the one that doesn’t (350M) (https://github.com/huggingface/transformers/issues/17545). It’s unclear what causes the difference at the moment due to the lack of an end to end regression test.
To run the full regression test, we would need to load the model into metaseq directly. However, this is not well supported currently (e.g. https://github.com/facebookresearch/metaseq/issues/78 and https://github.com/facebookresearch/metaseq/issues/31). It would be great if people at Meta could help perform a full regression test between metaseq and huggingface 😄
@suchenzang @stephenroller

@shijie-wu could you specify a bit what is meant by

"We observed different behaviors between models that require merging and the ones that don't"

What exactly is different?
Thanks!

@shijie-wu could you specify a bit what is meant by

"We observed different behaviors between models that require merging and the ones that don't"

What exactly is different?
Thanks!

Hi @patrickvonplaten
I'm referring to https://github.com/huggingface/transformers/issues/17545

@shijie-wu, could you by any chance reproduce the result using the metaseq code base - or the opposite show that this doesn't happen with the metaseq codebase? Think this could really help in finding out if there is a bug.

@shijie-wu, could you by any chance reproduce the result using the metaseq code base - or the opposite show that this doesn't happen with the metaseq codebase? Think this could really help in finding out if there is a bug :-)

@patrickvonplaten I tried to load OPT-1.3B into metaseq but unfortunately it doesn't work (error message). I would love to conduct the end-to-end regression test once I figure out what went wrong. Similar issues (https://github.com/facebookresearch/metaseq/issues/78 and https://github.com/facebookresearch/metaseq/issues/31) have been raised before regarding loading checkpoint into metaseq.

@patrickvonplaten @shijie-wu I added an end to end integration test between metaseq and HF in this PR https://github.com/facebookresearch/metaseq/pull/214
The test confirms that the logits and predicted words for -

Model parallel checkpoint
Metaseq singleton checkpoint
and 3) HF checkpoint

are the same. Let me know if this test contains what you were looking for. Thanks!

Wow awesome thanks a lot @punitkoura !

Completed in https://github.com/facebookresearch/metaseq/pull/214 - thanks @punitkoura !!


Multiline Issue

Multiline issue
When one set  a long label using data-label-text="xxxx xxxx". And the width of the button is short. Obviously the text will wrap itself.
But the blue text of the on or the gray text of the off does not change to multiline.

I came here because I'm having the same issue.

If anyone have a quick fix/trick for that, I would really appreciate.

@floydus see issue #547 particularly the fix on line 443, worked for me when I had the same issue as you


Unable to create get request to get data from DB with join and display in response model

Here's a self-contained, minimal, reproducible, example with my use case:

import os
from sqlalchemy import create_engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker

url = 'mysql://{0}:{1}@{2}:{3}/{4}'.format(os.getenv('username'), os.getenv('password'),
                                           os.getenv('endpoint'), os.getenv('port'), os.getenv('database'))

SQLALCHEMY_DATABASE_URL = url
engine = create_engine(SQLALCHEMY_DATABASE_URL)

SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)

Base = declarative_base()

def get_db():
    db = SessionLocal()
    try:
        yield db
    finally:
        db.close()

from sqlalchemy import Boolean, Column, Integer, String, DateTime, func, ForeignKey, Float, Time, Date
from sqlalchemy.orm import relationship

from DB_Connection import Base

class Salon(Base):
    __tablename__ = "salon"

    id = Column(Integer, primary_key=True, index=True)
    email = Column(String(100), unique=True, index=True)
    name = Column(String(50))
    company_name = Column(String(100), nullable=False)
    is_active = Column(Boolean, default=True)
    contact = Column(String(20))
    default_currency = Column(String(10), nullable=False)
    provides_membership = Column(Boolean, default=False)
    logo = Column(String(100))
    verified = Column(Boolean, default=False)
    created = Column(DateTime, server_default=func.now(), nullable=False)
    modified = Column(DateTime, server_default=func.now(), onupdate=func.now(), nullable=False)
    salon_security = relationship("Salon_Security", back_populates='salon')

class Salon_Security(Base):
    __tablename__ = 'salon_security'

    id = Column(Integer, primary_key=True, index=True)
    salon_id = Column(Integer, ForeignKey('salon.id'), nullable=False)
    salon_branch_id = Column(Integer, ForeignKey('salon_branches.id'))
    artist_id = Column(Integer, ForeignKey('artist.id'))
    email = Column(String(200), nullable=False)
    client_id = Column(String(200), nullable=False)
    client_secret = Column(String(200), nullable=False)
    password = Column(String(500), nullable=False, unique=True)
    created = Column(DateTime, server_default=func.now(), nullable=False)
    modified = Column(DateTime, server_default=func.now(), onupdate=func.now(), nullable=False)
    salon = relationship("Salon", back_populates='salon_security')

from pydantic import BaseModel

class Salon_Security_Response(BaseModel):
    client_id: Optional[str]
    client_secret: Optional[str]

    class Config:
        orm_mode = True

class SalonResponse(BaseModel):
    email: Optional[str]
    company_name: Optional[str]
    contact: Optional[str]
    default_currency: Optional[str]
    is_active: Optional[str]
    verified: Optional[bool]
    provides_membership: Optional[bool]
    salon_security: Salon_Security_Response

    class Config:
        orm_mode = True

from fastapi import APIRouter
from fastapi import Depends

router = APIRouter()

@router.post('/new', response_model= SalonResponse)
async def create_salon(db: Session = Depends(DB_Connection.get_db)):
    result = db.query(Salon.email,Salon.company_name,Salon.contact,Salon.default_currency,
                               Salon.created,Salon.modified,Salon.is_active,Salon.verified,
                               Salon_Security.client_secret, Salon_Security.client_id)\
                .join(Salon_Security, Salon.id == Salon_Security.salon_id)\
                .filter(Salon.email == 'testing@testin.com').first()

    return result

Description
I am trying to get the result in
{
  "email": "string",
  "company_name": "string",
  "contact": "string",
  "default_currency": "string",
  "is_active": "string",
  "verified": true,
  "provides_membership": true,
  "salon_security": {
    "client_id": "string",
    "client_secret": "string"
  }
}

but I get an error when I hit the API:
pydantic.error_wrappers.ValidationError: 1 validation error for SalonResponse
response -> salon_security
field required (type=value_error.missing)
Not sure why this is happening.
Any help here would be appreciated. Please let me know the issue.

@tiangolo Could you help me out here?

That isn't a self contained example at all - I have no idea how to run it to reproduce your issue. What DB and ORM are you actually using here?

I am using mysql database and sqlalchemy orm.

At a guess, I would say you have no "salon security" (whatever that is) for the salon you are requesting.

i tried printing result.client_secret and that did work but I don't understand why it is not able to parse it in the response model. The query and the query output are correct if I print them. The only issue I have is to generate the response using the response model. Maybe I am doing something wrong.

Okay, but that isn't the shape you declared? In your schemas, you said client_secret is inside salon_security, not at the root.

Yes i want to print it inside the salon_security dictionary.
{
"email": "string",
"company_name": "string",
"contact": "string",
"default_currency": "string",
"is_active": "string",
"verified": true,
"provides_membership": true,
"salon_security": {
"client_id": "string",
"client_secret": "string"
}
}
This is how I want my output to be.
That is why I have salon_security in the root which is referring to the class Salon_Security_Response.
How should I make this kind of output?

Something like this might be closer to what you want then:
result = db.query(Salon).filter(Salon.email == 'testing@testin.com').first()

Salon and Salon_Security are two different tables and I want to perform a join query and get the results in the format I specified.
The above query you gave would give me data from the Salon table but would not give me anything from Salon_Security. I need some columns from the other table as well. The query I wrote seems to work fine. I only cannot parse it into the response model.

Did you actually test the code I gave you? Sqlalchemy does joins automatically if you declare them on your table, as you have done

Yes got null for client_secret and client_id.

That is valid according to your schema?

No, I should have retrieved and got the client_id and client_secret values in the response and not null values since both the tables are having relationship defined so they should have joined themselves as you said but I don't think that worked that way.

Any help?

Thanks for the help here @Mause ! 👏  🙇
I assume you solved it, thanks for closing the issue @indrajeet-sengupta  👍

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


Dev/cut main window to logic

[What you want to do]
[Brief description of your PR here]
Checklist

[x] Have you ensured ./src/test is up to date?
[ ] Have you added javadocs?
[ ] Have you updated User Guide / Dev Guide in ./docs/?

[If any of the above steps are not complete, please make a draft PR instead]

Codecov Report

Merging #16 (edb7ccd) into dev/CutMainWindowToLogic (4cba596) will increase coverage by 0.78%.
The diff coverage is 46.15%.

@@                      Coverage Diff                       @@
##             dev/CutMainWindowToLogic      #16      +/-   ##
==============================================================
+ Coverage                       72.15%   72.94%   +0.78%
- Complexity                        399      409      +10
==============================================================
  Files                              70       70
  Lines                            1232     1238       +6
  Branches                          125      125
==============================================================
+ Hits                              889      903      +14
+ Misses                            311      303       -8
  Partials                           32       32

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/UiManager.java
27.02% <85.71%> (+27.02%)
:arrow_up:

...rc/main/java/seedu/address/logic/LogicManager.java
95.00% <0.00%> (+20.00%)
:arrow_up:

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 4cba596...edb7ccd. Read the comment docs.


Scripting Language: What about WASM instead?

Discussion
I know this might be early but I just stumbled on to this project (great work by the way) and noticed that you plan to support scripting via javascript. That probably makes sense, but I wanted to at least throw out a thought I've been having about scripting for my projects and that's using WASM instead of Lua/javascript. This would allow any language that compiles to WASM to be used for scripting...
Just a thought for the owner(s). Sorry if this is too early or too late, just trying to share an idea!
Resources
Rust, WebAssembly, and the future of Serverless by Steve Klabnik

Thanks for the suggestion! I did briefly ponder it but I figured that a real scripting language would be more powerful and user-friendly. However there are certainly advantage of using WASM like not having to include the whole hefty V8 engine. I will do some more research into that front and make a decision about JS versus WASM, or perhaps both if V8 already makes that easy to include.

After some discussions today, we've chosen to go with WASM for this. The first step is defining and building an API that the WASM code for each GUI component will use, then implementing the API. To save time, components that use that API will first be written in Rust (including, of course, the primitive components that directly control the layout, icon/text texture rasterization, and quad rendering). The dual-use API can then support WASM plug-in GUI component code later down the road, but this also helps keep more code as native Rust.


Refactor

hi @softwareengineermwi
you've really done a great job with JavaScript best practices.
Your drag and drop implementation is very minimal and straightforward, and I think that's what great code is. Keep it up!


QASM file missing from repo?

I see the large qasm file bundled with compiled linux/window sim but the raw qasm file is not.

The raw QASM is not on the repo because it is a large file. GitHub releases has a 2GB file limit, whilst within a GitHub repo the file limit is 100MB. The compressed QASM was around 100MB, so I wasn't sure if the repo would allow it, as such I just put in the release.
https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-large-files-on-github

For what it's worth, compressing the QASM file to .rar format (using WinRAR) instead of .zip reduces the file size to 23MB.

.tar.xz format compression with -9e flag is even better.
$ XZ_OPT=-9 tar cJf quandoom.tar.xz quandoom.qasm
$ XZ_OPT=-9e tar cJf quandoom-e.tar.xz quandoom.qasm
$ ls -ohr *.tar.xz
-rw-r--r-- 1 user 20M Sep 30 20:49 quandoom.tar.xz
-rw-r--r-- 1 user 14M Sep 30 17:50 quandoom-e.tar.xz

Each time you'll update the compressed file, the old one will be kept into repository history, which will be downloaded during each repository clone. Repository size will increase linearly for each quandoom.qasm edit. That's why compression format and levels may be important.
If you want to replace .rar format with .tar.xz format, you may want to remove .rar file from repository history with a force push. This way, you'll avoid to have a useless .rar archive in the repository history.

Good point about the repo history, I'll make sure I force remove it if I change it. And nice find with the tar.xz, for now I'll leave it but if at some point I modify the QASM I'll be sure to tar.xz it instead


Export factory instead of a middleware function and other changes

I know this is a breaking change, but it could prove useful.
Changes
Exporting factory instead of a middleware function
This lets us pass the options to the factory instead of cluttering Express settings. As a result, the options are not global, so using multiple differently configured middleware functions is possible. This should also solve #18.
Hiding the port part of the URL
When the port option is empty or equal to the default SSL port - 443, then the port part of the URL is omitted. I didn't see any point in attaching the port number when it is already guessed by the browser. As an afterthought, the port could still be added if the user specified it explicitly.
Custom error message
By setting the errorResponse option it is possible to change the default error message. This could be used for localization.

I've provided tests for all of the above and also updated the README.

@fatfisz Thanks for the PR, I have addresses #18 #25 of these in a branch with 53bda5c4ceab061ee0a9e1992511ffecb25c86dd I really like your idea about custom error message and may address that soon. I really wanted to avoid a breaking change so have tried to handle things a bit differently. I am planning to clean up the new branch a bit before production and would be happy if you wanted to review it, however, understand that you may not after doing all this work already.
I will leave this PR open until I hear some feedback on my implementation on some of these features, if someone finds a major problem we may still need to pull yours in.
Thanks for your contribution!

No problem, you've done a good job yourself :smile: I've just read your code; haven't tested it yet though.
I prefer factory because:

other middleware I'm using - compression and serve-static - export factory
app.set and res.locals just don't seem right to me, but that's more of a gut feeling

Still, you stuck to the Express API, so I won't complain about that, as it's a matter of preference.
I'm glad that you've used some of my ideas for options, or that at least I've had the same ideas as you. I'll test the code soon and give some feedback.
Thanks for taking your time to read my code!

Happy to read it, and thanks to you for doing the same :+1:
Definitely took some inspiration from you in a few places, some of the logic definitely was getting to the point where it should be broken out into functions and dropping the 443 port and SSL Required message (I haven't written tests for that feature yet) were all you :)
Earlier today I was thinking that res.locals should at least be quasi namespaced to try to avoid collisions. The option names aren't necessarily variable names you'd expect to see in a template, but I think it's probably better to lump them into res.locals.forceSSLOptions = {} just in case.
I think the other thing I'd like to add to that logic is to then do a delete res.locals.forceSSLOptions before the next() call when it is a secure request so that object never makes it as a template variable.


Install issues

I can connect my rPi to the GoPro wifi, and send commands via curl http://<IP_ADDRESS>/.....  but, the wifi times out on the gopro after about 5 minutes.  So i thought that the gopro-py-api might be the way to go.
cloned it to the Pi, but fails on running setup.py on line 1.  Something about setuptools.  So i installed setuptools, but still errors.  The Pi has Raspbian Stretch Lite installed and  Python3.
I'm pretty certain that it will be something that i'm doing wrong.
My goal is simply to be able to send a shutter activation command to the gopro in burst mode 10 frames/3 seconds).
Where am i going wrong?
Many thanks

Hi KonradIT
I've made some progress!  I had to install pip3 and then install.
Python is a bit of a learning curve... so I was going to run the Motion app with a pi-camera, and on movement detect, send a shutter command.
Progress so far... connect to GoPro wifi, run the keepalive.py (didn't install ffmpeg but its only need to run in the background to keep the wifi on and it seems to do that)
and then, can open another terminal and either python in and send commands... running an active session and commands are quick, but calling a script seems to take about 7 seconds?  alternatively, keep alive in the background and then curl http commands.
thanks

Hi, im trying to install goprocam but i get this error:
ERROR: Command errored out with exit status 1:
command: 'c:\users\eduardo\appdata\local\programs\python\python37-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-u2722tj_\goprocam\setup.py'"'"'; file='"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-u2722tj_\goprocam\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-u2722tj_\goprocam
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-u2722tj_\goprocam\setup.py", line 5, in
with open("version.json", "r") as ver:
FileNotFoundError: [Errno 2] No such file or directory: 'version.json'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
What can i do? thanks

Seconded on above error, will try from git

Fixed in 3.0.9


Mouse input doesn't work on primary display

Windows Terminal version
1.17.11461.0
Windows build number
10.0.23493.1000
Other Software
No response
Steps to reproduce
After taking a windows update that moved me to win11 insider preview build 23493.ni_prerelease.230624-1828, my mouse is no longer able to interact with the windows terminal (neither interacting with the tab bar and menu icons, nor copy/paste on the terminal) on my primary screen. Scrolling still works for some reason.
Expected Behavior
The mouse works.
Actual Behavior
I cannot click any icons in the tab bar (aside from minimize/maximize/close) and I cannot use the mouse to select text. This only happens on one of my monitors. If I move the terminal window to the other monitor, I am able to use the mouse.

Huh. What's special about that monitor vs your other ones? Graphics driver maybe?
My gut says this feels like a XAML islands bug, but we'd need another XI app to test with...

Strangely, this is no longer reproducing for me. I'm going to close it for now and will reactivate if I can get the repro to come back again. Very strange; I tried relaunching terminal multiple times and the mouse behavior stuck around, but now I can't get it to happen again.


Added Apache License file

The is not consistent with the MIT license specified in the pyproject.toml file.
A copyright may need to be added to each file too.

The is not consistent with the MIT license specified in the pyproject.toml file.
A copyright may need to be added to each file too.

OK, I can fix it.


Nested ACF Repeaters?

I have some nested repeater fields and I can't seem to get them to work in my twig files. How I have it now(not working) is:
{% for item_outer in post.get_field('outer') %}
     {{item_outer.title}}

     {% for item_inner in item_outer.get_field('inner') %}
          {{item_inner.title}}
     {% endfor %}

{% endfor %}

Am I missing something obvious?
Here's a link of them working with PHP, but i'd rather not have to handle these in my controller. http://www.advancedcustomfields.com/resources/tutorials/working-with-nested-repeaters/

:thumbsup:

Can someone can help me with this? I am trying to access a repeater inside a repeater inside a repeater
{% for item in post.get_field('data_set') %}

{{ item.data_set_description }}
 // this renders fine

    {% for item_outer in post.get_field('data_set_files') %}

        {% for item_inner in item_outer.data_set_file_url %}
            {{ item_inner }}
        {% endfor %}

    {% endfor %}

{% endfor %}

{{ item_inner }} does not display.
Any suggestions? Thanks

Can you try this please? Or something of this variation will work
{% for set in post.get_field('data_set') %}

{{ set.data_set_description }}
 // this renders fine

    {% for files in set.data_set_files %}
        {% for file in files.data_set_file %}
            {{ file }}
        {% endfor %}
    {% endfor %}
{% endfor %}


Recent issue with Safari : running an audio without an user action

Hi,
Since recently, when I try to run an audio element without and user action (after an HTTP call, for example), Safari fails (the audio does not run) and shows this error :
Unhandled Promise Rejection: NotAllowedError (DOM Exception 35): The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.

Unhandled Promise Rejection: NotAllowedError (DOM Exception 35): The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
Safari version : 11
MacOS: High Sierra
Mediaelement: 4.2.6
PS : I know this was also the case on MacOS previous version (Sierra) but I can't check the previous Safari version too.
Thanks !

https://www.reddit.com/r/webdev/comments/71nkym/safari_11_has_a_major_change_to_web_audio_api/
https://webkit.org/blog/7734/auto-play-policy-changes-for-macos/
https://webkit.org/blog/6784/new-video-policies-for-ios/

Can you provide a Fiddle where I can see this issue please?

It's not mine but this one shows the issue.
https://jsfiddle.net/outaTiME/m0fj0dLz/
After more research I still don't think this is an issue on your side, but something that safari (and chrome in january 2018) requires now.
So maybe you only need to add a disclaimer on your README ;)

https://www.macworld.com/article/3206724/websites/how-to-stop-autoplay-videos-in-safari-11.html
Following this link you could be able to make fiddle.js autoplay its videos.

So if this is not on the player, can you create a PR to state this on the README please?

Done. Note added on README. Thanks for pointing this and please star the project to support it


Feature request: Reusing previous logger instance when already instantiated

Use case
As far as I can tell, calling new Logger() instantiates a new logger, which means we can't access previously appended keys across the code.
Solution/User Experience
It would be great if a new instance that uses the same service name - env var or explicit parameter - would reuse a previous Logger instance, as it's the case for the Python Powertools
Alternative solutions
No response
Acknowledgment

[X] This feature request meets Lambda Powertools Tenets
[ ] Should this be considered in other Lambda Powertools languages? i.e. Python, Java, and .NET

Future readers
Please react with 👍 and your use case to help us understand customer demand.

Hi @RobinGroundfog, thank you for taking the time to open an issue in this repo.
You are right, at the moment all the core utilities including Logger are not singletons and creating a new instance does create an instance that is completely separated by the original one.
This is a topic that has come up in the past and that has been discussed (#777) and tested (#767) but ultimately discarded.
The usage that we would like to promote, at least until new information/use cases come up, is to create a module where you instantiate your Powertools utilities like src/powertools.ts which you can then use throughout your project:
import { Logger } from '@aws-lambda-powertools/logger';
import { Metrics } from '@aws-lambda-powertools/metrics';
import { Tracer } from '@aws-lambda-powertools/tracer';

const awsLambdaPowertoolsVersion = '1.8.0';

const defaultValues = {
  awsAccountId: process.env.AWS_ACCOUNT_ID || 'N/A',
  environment:  process.env.ENVIRONMENT || 'N/A'
};

const logger = new Logger({
  persistentLogAttributes: {
    ...defaultValues,
    logger: {
      name: '@aws-lambda-powertools/logger',
      version: awsLambdaPowertoolsVersion,
    }
  },
});

const metrics = new Metrics({
  defaultDimensions: defaultValues
});

const tracer = new Tracer();

export {
  logger,
  metrics,
  tracer,
};

For Logger specifically, you can then import the logger elsewhere and optionally create children that override some of the settings:
// src/index.ts
import { logger } from './powertools';

export const handler = async () => {
  logger.debug('...');
};

or src/my-other-module.ts:
import type { Logger } from '@aws-lambda-powertools/logger;
import { logger } from './powertools';

export class MyUtility {
  private logger = Logger;

  public constructor() {
    this.logger = logger.createChild({ logLevel: 'CRITICAL' });
  }
};

Using this type of pattern removes any kind of ambiguity around module import order which might cause confusion as detailed here, and still allows you to reuse the same instance throughout your code.
We have already updated our examples to use this pattern but we haven't yet gotten around creating a dedicated section that explains this in the docs. This effort is tracked in #777 and we'll try to address it as soon as possible.
I'm going to close this issue as duplicate of #777, if you'd like to bring additional information and/or use cases around this topic please feel free to do so in that issue so we can keep track of all points of view in a single place.


Tw Server Updated ninja version

Tw Server Updated ninja version the pugin not work please update thanks

https://github.com/lunyx/CasualMeter/commit/2ce2735916833b6331390e8d2c539941e3c240ca

I will update release on Tuesday for all the things done up till now, with NA ninja patch and other improvements.


mesa: GL/glxproto.h No such file or directory

Hello,
When I install mesa with current RB, I met new error in the process of make check
Last 15 lines from /home/skpark/.cache/Homebrew/Logs/mesa/05.make:
In file included from ../indirect_init.h:37:0,
                 from indirect_api.cpp:48:
../glxclient.h:52:25: fatal error: GL/glxproto.h: No such file or directory
compilation terminated.
make[5]: *** [indirect_api.o] Error 1

https://gist.github.com/76016ef4067c44dd30f7f23452012bb8
Thank you.
Please follow the general troubleshooting steps first:

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

Is this still an issue?

I'm seeing the same error.


Updated FAQ to include section on CUDA library initialization failures

CUDA library load/initialization errors have been fairly commonly reported in the past, and although error messages have improved on the XLA side, it is worth documenting an explanation and recommended solutions directly.
This PR adds an FAQ section dedicated to addressing these issues.

cc: @pearu @hawkinsp

Thanks! Assigning @hawkinsp to review this info.

@hawkinsp does this documentation change look sufficient for inclusion?

@hawkinsp feedback has been addressed, lmk how it looks :)


Rubocop + fixes

enables rubocop on the entire repo, disabled some cops (see .rubocop.yml)
need some help on the last few (if possible)

@stephengroat Thanks for contributing 🥇
I love Rubocop and really like the idea of adding this gem to the Faker project. I'll make sure to review this PR in the next days 👍

@vbrazo rebased the commit against master and squashed so there's less clutter to look through

@stephengroat Awesome!! I love it. ❤ 💓
Do you mind if we start with just a few Rubocop configs? I think it would be a great idea if we could split the changes in 3 PRs. What do you think?

@vbrazo i understand trying to split it up, but rubocop is kinda an all or nothing event. plus, being able to have a single commit to get through the git blame is nice.
if you look at the .rubocop.yml file, there i'm actually just disabling a bunch of cops (the Enabled: false syntax is annoying). This is the complete list of cops, all of the rest are enabled. as you can see, it's hard to just enable 1 or 2 cops on the list.
could you describe exactly what you're trying to get from the split? maybe there's something else i could do?

@stephengroat  I'll remove it. Thanks for the heads up 💯


Feature Request: Add Borders for A Pretty Selection

Hello,
Everything is okay, but it could use a bit more eyecandy. By using tabulate, I managed to make this work without any issues. I think that this can be done without much effort. Here is an example of how it looks:

If you are fine with this request, I will explain it more. Lines will just start from first, and skip by two.

Is this official?


Can't install

It just disables when I try to.

Replace all PanelManger references in main.js with WorkspaceManager.
See attached.
main.zip


[Fix-2158][metadata] Fix column type convert in Doris and Oracle

Purpose of the pull request

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

#2158

@zhengwenhao2017