Better images, additional documentation

This PR enhances the article so that the images use the right color and styles for highlighting. It adds information about hosted and classic app packages. Finally, it links to PWABuilder's own documentation that dives deeper into the subject matter.

Docs Build status updates of commit 338d83e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/progressive-web-apps-chromium/microsoft-store.md
:warning:Warning
View
Details

microsoft-edge/progressive-web-apps-chromium/media/pwabuilder-publisher-info.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/media/windows-partner-center-add-program.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/media/windows-partner-center-create-app.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/media/windows-partner-center-publisher-info.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/media/windows-partner-center-start-submission.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/microsoft-store.md

Line 80, Column 54: [Warning-bookmark-not-found] Cannot find bookmark '#package-your-pwa' in 'progressive-web-apps-chromium/microsoft-store.md'.
Line 132, Column 115: [Warning-bookmark-not-found] Cannot find bookmark '#package-your-pwa' in 'progressive-web-apps-chromium/microsoft-store.md'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 619f25f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/progressive-web-apps-chromium/media/pwabuilder-publisher-info.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/media/windows-partner-center-add-program.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/media/windows-partner-center-create-app.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/media/windows-partner-center-publisher-info.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/media/windows-partner-center-start-submission.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/microsoft-store.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 798178d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/progressive-web-apps-chromium/media/pwabuilder-publisher-info.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/media/windows-partner-center-add-program.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/media/windows-partner-center-create-app.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/media/windows-partner-center-publisher-info.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/media/windows-partner-center-start-submission.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/microsoft-store.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 8b2e092:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/progressive-web-apps-chromium/media/pwabuilder-publisher-info.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/media/windows-partner-center-add-program.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/media/windows-partner-center-create-app.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/media/windows-partner-center-publisher-info.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/media/windows-partner-center-start-submission.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/progressive-web-apps-chromium/microsoft-store.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

#sign-off offline and merged.


Accordion padding

There is an issue w/ the way accordions handle padding.. the prop is defined twice, the local var is not empty
Originally posted by @starryeyez024 in https://github.com/patternfly/patternfly-elements/pull/854

@TODO Confirm this is fixed now...


Update Scala 2.13

Self explanatory

Scala 2.13.12 is the first Scala 2.x compiler to implement its own compiler bridge (https://github.com/scala/scala/pull/10472), so it might need some tweaking to make it work.

Ill close the PR since someone with more knowledge about the compiler bridge should implement it.


check for datasets, only delete samples if none attached

Note: I shamelessly adjusted @wow-such-code PR with the logic necessary to edit and delete batches in our db and openbis since it's interlinked


Is OB sending a read marker when I open the chat to other devices? When I read a chat in OB it's still marked unread in Beeper

And when I read chat in Beeper, the notification in OB is not dismissed

Fixed pending release


insert a refresh interface for async calls

This adds a refresh callback interface that is intended for use in
multithreaded apps that get data from several exchanges.  Using
a callback interface allows the data to get updated immediately
after the caller returns.

Changed.


Added ability to customise the colours on the MDDatePicker …

Added ability to customise the colours on the MDDatePicker, and thus the MDCalendar

I need this feature. is this going to be merged ?

If you want to - feel free to clone my repo which has the changes in - I'm
not usre how behind the main repo it is now though...
https://github.com/MattFellows/Material-Controls-For-iOS
On 7 May 2017 at 21:26, Constantinos Christoforou<EMAIL_ADDRESS>wrote:

I need this feature. is this going to be merged ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fpt-software/Material-Controls-For-iOS/pull/137#issuecomment-299732193,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEeMNlFKiBalN7ILd1A5P6Lp2jjz6vBQks5r3ikKgaJpZM4L5P5a
.

--
Matthew Fellows

Thanks @MattFellows


chore: delete old API client before generation

Closes #125

Verified:

Build tool locally
Added some extra file
Regenerated SDK

File is missing


please tag releases

Please consider assigning version numbers and tagging releases. Tags/releases
are useful for downstream package maintainers (in Debian and other distributions) to export source tarballs, automatically track new releases and to declare dependencies between packages. Read more in the Debian Upstream Guide.
Versioning provides additional benefits to encourage vendoring of a particular (e.g. latest stable) release contrary to random unreleased snapshots.
Thank you.
See also

http://semver.org/
https://en.wikipedia.org/wiki/Software_versioning

Actually kind of surprised, I had not done any tagged releases on this repo.  I normally do that so I can use gopkg.in and other tools.

If the above release does not meet your needs please comment and I will gladly review the changes required.

Excellent, thank you very much. :)


Subject array checking

I created this helper method to look at arrays of subjects. It might be helpful to add to the project.
def can_any?(action, subjects)
    subjects.any? { |s| can? action, s }
end

can_all?, authorize_any!, and authorize_all! would also be useful.

can you show me a real use-case where this would be useful?

In my view, I want to show event.attendees, and allow the user to update it if they have rights. Admins can update all, and users can update their own, and sometimes they won't be included, so I don't want to render the form if there's not an editable field.
<% if can_any? :update, event.attendees %>
  <%= render partial: "_edit_all", locals: { attendees: event.attendees } %>
  <%# returns a remote form with status radio buttons for the attendees they can update %>
<% else %>
  <%= render partial: "_show_all", locals: { attendees: event.attendees } %>
<% end %>

If my case is too rare, that's fine. I'll just keep the helper function in my ApplicationHelper.

I think you should better use event.attendees.accessible_by?(current_ability, :update).any? which will even be more performant because will just execute one DB query. Let me know if this is the solution to your problem

That's probably a better solution in some cases, but I have some can blocks that don't allow me to check using accessible_by. Plus, I need to fetch all the subjects in this case for view or edit, depending on role.

I think your need is too specific to be added to the library. I think the problem can be solved anyway.
Thanks for your explanation.


Applies to: Windows 10, Windows Server 2019

Description:
As per issue ticket #6441 (Supported windows versions are not valid), this article incorrectly lists both deprecated and outdated OS versions, both for Server and Client computers. The article itself states that this policy was introduced in Windows 10, version 1703.
Thanks to @yogeshasalkar for reporting this issue.
Changes proposed:

Change the "Applies to" section to only Windows 10 and Server 2019
Remove redundant end-of-line whitespace from 3 lines.

Ticket closure or reference:
Closes #6441

#sign-off

@illfated As always, Thank you for this generous contribution. Much appreciated.

Thank you @illfated @yogeshasalkar and @e0i


nginx deployment timed out

ingress-nginx 4.2.5 deployment as part of the deploy configuration step times out
**************************** REGION: brazilsouth ****************************
*** Configuring stamp in region brazilsouth
*** Load credentials for AKS Cluster afint7fb6-brazilsou-aks in afint7fb6-stamp-brazilsouth-rg
*** Load credentials for AKS Cluster afint7fb6-brazilsou-aks in afint7fb6-stamp-brazilsouth-rg
WARNING: Merged "afint7fb6-brazilsou-aks-admin" as current context in /home/vsts/.kube/config
*** Installing nginx ingress controller (xxx.xxx.xxx.xxx) in namespace ingress-nginx on afint7fb6-brazilsou-aks in afint7fb6-stamp-brazilsouth-rg
"ingress-nginx" has been added to your repositories
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "ingress-nginx" chart repository
Update Complete. ⎈Happy Helming!⎈
Release "ingress-nginx" does not exist. Installing it now.
W1014 03:18:46.299415    2101 warnings.go:70] autoscaling/v2beta2 HorizontalPodAutoscaler is deprecated in v1.23+, unavailable in v1.26+; use autoscaling/v2 HorizontalPodAutoscaler
Error: failed pre-install: timed out waiting for the condition
*** Error on installing nginx helm chart!
At /home/vsts/work/_temp/azureclitaskscript1665717513183_inlinescript.ps1:38 char:5
+     throw "*** Error on installing nginx helm chart!"
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : OperationStopped: (*** Error on instal…g nginx helm chart!:String) [], RuntimeException
+ FullyQualifiedErrorId : *** Error on installing nginx helm chart!
##[error]Script failed with exit code: 1

helm list -Aa
NAME            NAMESPACE       REVISION        UPDATED                                 STATUS  CHART                  APP VERSION
ingress-nginx   ingress-nginx   2               2022-10-14 03:34:02.502487564 +0000 UTC failed  ingress-nginx-4.2.5    1.3.1

kubectl get pods -n ingress-nginx
NAME                                   READY   STATUS             RESTARTS   AGE
ingress-nginx-admission-create-lxdjt   0/1     ImagePullBackOff   0          9h

We've seen this behavior before in issue #604

Closed. Moved out of brazilsouth for now.


Xam.Settings - not working in iOS unified environment

I converted an existing Xamarin forms with Settings plugin1.5 to unified iOS.
I got an error message that monotouch.dll is used by Settings ( which clashes with Xamarin.ios)

Ensure that you uninstall and re-install all of your NuGets.
Additionally, if on simulator uninstall your app and re-install.
See: https://github.com/jamesmontemagno/Xamarin.Plugins/issues/30#issuecomment-75313889


Improve map instantiation mechanism

Code-review proposal for #1104
Make the public method to not require any argument, and explain what it’s intended for.
@xavijam I figured doing a PR was easiest way to showcase this, instead of a comment. :)

I'm not against or in favour, but I don't see the problem of adding a public method with an argument.

If we add another library, using this public method, but not needing to invalidate the map size, we will need to create a condition with an argument, but it is ok, let's follow this :+1:.


move get_mac() to util

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

9 of 9 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 63.928%

Totals

Change from base Build<PHONE_NUMBER>2:
0.0%

Covered Lines:
1276

Relevant Lines:
1996

💛  - Coveralls


develop

fix: attempt to fix ci script
add: licence
fix: ci scripts
ci: download export artifacts in release job
fix: make release job dependent on export jobs
fix: always run release job even if export jobs fail
ci: zip export artifacts
fix: test ci

:tada: This PR is included in version 0.2.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Refactor AppModels according to refined API spec

Related to #4
Refactor AppModels to align with the refined API specification.

Add IReadOnlyEntity interface with common properties and events.
Add IModifiableEntity interface with common methods for updating properties.
Modify IReadOnlyUser to inherit from IReadOnlyEntity, remove MarkdownAboutMe and Icon properties, add ExtendedDescription property, and add methods for retrieving publishers and projects along with their roles.
Modify IModifiableUser to inherit from IModifiableEntity, remove UpdateMarkdownAboutMeAsync and UpdateIconAsync methods, and add methods for adding/removing publishers and projects along with their roles.
Modify IReadOnlyPublisher to inherit from IReadOnlyEntity, remove Owner, ContactEmail, and Icon properties, add ExtendedDescription and ForgetMe properties, add methods for retrieving users along with their roles, and add properties for Connections and Links.
Modify IModifiablePublisher to inherit from IModifiableEntity, remove UpdateOwnerAsync and UpdateIconAsync methods, add methods for adding/removing users along with their roles, and add methods for adding/removing connections and links.
Modify IReadOnlyProject to inherit from IReadOnlyEntity, remove HeroImage, CreatedAt, and Icon properties, add ExtendedDescription property, and replace Cid and DagCid with IReadOnlyConnection.
Modify IModifiableProject to inherit from IModifiableEntity, remove UpdateHeroImageAsync and UpdateIconAsync methods, add methods for adding/removing connections, and replace Cid and DagCid with IReadOnlyConnection.
Add IReadOnlyConnection interface with properties Key and Value, and event handlers for ValueChanged.
Add IModifiableConnection interface with methods for updating Key and Value.

For more details, open the Copilot Workspace session.

Hit quote before I could finish, still needs:

Create common interfaces (one read-only, one modifiable) for collections of IReadOnlyConnection


COINX-MINER APP

Hey, I am sending you 1 CNX! CoinX-Miner App is a new tool where you can mine and earn coins for free for a limited amount of time. To claim your CNX, you have to download the following app: https://coinx-miner.com/app
After you downloaded the miner app, you can use Judexting40 as invitation code.
Hurry up! Just a limited amount of people can mine.

Use this invitation code: Judexting40


fix for projects that do not use the Bundle suffix

fix for projects that do not use the Bundle suffix

@lsmith77 It's a Symfony 3.4 project having its code in bundles in src/ where the bundles are named like so:
App
Frontend
Admin
Clients
etc.
where the Bundle suffix is just missing because I don't want to type it everywhere and I find it redundant, and until recently, we had been using Symfony 2.8 with an old version of this bundle because once this change was made, it stopped working, and using an old version was good enough for us at the time, so we didn't bother.
Now though it's a problem and I have created my own class which extends the FileLocator and replaces its locateBundleResource method, replaced the service with my own that uses my own class and so far it's doing alright, at least for me.
Given the various use cases, it may not be optimal or there may be edge cases I haven't considered since this was the first time I had to look into the source code of this bundle, so any help / support would be appreciated :)


[Bug]: optional parameter in download() method is required

What happened?
The docs suggest combining name() with download() like this:
https://github.com/spatie/laravel-pdf/blob/68f48d23770d0b70f8fb0d32640d013d4b4023d4/docs/basic-usage/responding-with-pdfs.md#L35-L38
download does not require $downloadName to be set, but passes $downloadName to name(), which does:
https://github.com/spatie/laravel-pdf/blob/68f48d23770d0b70f8fb0d32640d013d4b4023d4/src/PdfBuilder.php#L138-L140
https://github.com/spatie/laravel-pdf/blob/68f48d23770d0b70f8fb0d32640d013d4b4023d4/src/PdfBuilder.php#L159
This results in the following error when calling download() without $downloadName:
Spatie\LaravelPdf\PdfBuilder::name(): Argument #1 ($downloadName) must be of type string, null given

How to reproduce the bug
Use download() without an argument, as allowed by the method signature.
Package Version
1.3.0
PHP Version
8.2.16
Laravel Version
10.45.0
Which operating systems does with happen with?
macOS
Notes
No response

Same issue today, but thanks to your issue solved :D

This has been fixed in the latest release.


Incorrect ip when user uses proxy

yii\web\Request::getUserIP uses REMOTE_ADDR to get user ip.The problem with this is, that $_SERVER['REMOTE_ADDR'] is not always reliable. What if the user is behind a proxy, and the IP is shown by HTTP_X_FORWARDED_FOR header?

Then you have to override the method in your own class and make sure your proxy isn't forwarding X-Forwarded-For HTTP header. Reading IP from X-Forwarded-For by default is a security flaw.


Aiming through lasersight persists after Lara holster the weapon

Steps to reproduce:

Combine lasersight with crossbow or revolver;
Equip weapon and aim through lasersight using Look key;
Press spacebar to holster weapon without releasing Look key;

Fixed


warning: Insecure world writable dir /usr/local in PATH, mode 040777

Hello, I am trying to run transcode-video on Mac OS but I keep running into an issue.
Whenever I run transcode-video, I get a response of
/usr/local/lib/ruby/gems/2.3.0/gems/video_transcoding-0.10.0/lib/video_transcoding/tool.rb:33: warning: Insecure world writable dir /usr/local in PATH, mode 040777
/usr/local/bin/transcode-video: No such file or directory @ rb_file_s_stat - /Volumes/Macintosh

Any thoughts?

@tyler351 It seems the permissions to your /usr/local directory are in some whacky state right now as far as OS X is concerned. And I have no idea how that would happen.
The /usr/local/ directory is where Homebrew, Ruby and the video_transcoding Gem should be installed. For me, that directory is always world writable so the "insecure" part of that message is possibly what matters here.
Did you just install Homebrew for the first time before this happened? What happens when you try to run other Ruby Gems?

This would be the first time for me. From everything I can tell that directory is writable

I'll see do some digging around and see what I can find. Thanks for the quick response!

@Just search the Web for warning: Insecure world writable dir /usr/local in PATH, mode 040777 and you'll find plenty of information. This appears to be a common problem, although I can't recommend any of the solutions I've seen so far.
Can you give me the output of this command so I can see your permissions?
ls -ld /usr/local/

Thanks.

so with that command i get:
drwxrwxrwx  21 root  wheel  714 May 29 18:22 /usr/local/

so with that command, i get this:
drwxrwxrwx  21 root  wheel  714 May 29 18:22 /usr/local/
Tyler Keeton
(336)406-8477
<EMAIL_ADDRESS>On Sun, May 29, 2016 at 7:02 PM, Don Melton<EMAIL_ADDRESS>wrote:

@Just https://github.com/Just search the Web for warning: Insecure
world writable dir /usr/local in PATH, mode 040777 and you'll find plenty
of information. This appears to be a common problem, although I can't
recommend any of the solutions I've seen so far.
Can you give me the output of this command so I can see your permissions?
ls -ld /usr/local/
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/donmelton/video_transcoding/issues/70#issuecomment-222388022,
or mute the thread
https://github.com/notifications/unsubscribe/AOUvCcHNUndtr2tU-Ix5wsPv8aJYJXtFks5qGhrogaJpZM4IpZWX
.

@tyler351 OK, that's your problem then. The permissions , owner and group for your /usr/local directory is wrong. It should look something like this instead:
drwxrwxr-x  21 user  admin 714 May 29 18:22 /usr/local/

... where user would be your login username. See the difference?
Do you understand how to change this yourself at the command line?

Ah ok. Yeah I see that.
I don't know at the command line. Ha just now getting into this type of stuff

@tyler351 OK, let me see if I can help. Try these commands:
sudo chown YOUR_USERNAME_HERE /usr/local
sudo chgrp admin /usr/local
sudo chmod 775 /usr/local

And do them in that order.

Ok, that got rid of the warning.
now I'm left with:
/usr/local/bin/transcode-video: No such file or directory @ rb_file_s_stat - /Volumes/Macintosh
(I really appreciate your help with this. I kind of jumped into this head first. Probably could have done some homework first haha)

@tyler351 What command did you type to produce that output?

@tyler351 BTW, I suspect your entire Homebrew installation is horked because the permission on your /usr/local directory were so screwed up originally. You may have to reinstall Homebrew and the video_transcoding Gem.

yeah, i thought about that too. I'm going to reinstall everything and go from there.
Thanks again for the help

@tyler351 You are taking that news well, sir. Ouch. If it's any consolation, I've had to do it myself a few times.
Anyway, let me know how that goes.

haha its not anything super important at the moment. Just something i'm tinkering with. Sometimes theres a bump here and there and you just gotta do what it takes to get over that bump hahaha
will do! Thanks a lot for taking time to help me out, much appreciated

@tyler351 No problem! I'll close this for now then.


Unable to link with 10.14 SDK

Issue:
$ conda create --yes --name compiler-fail clangxx_osx-64=8 cctools ld64
$ conda activate compiler-fail
$ cat test.cxx
#include <iostream>

int main(int argc, char** argv) {
    std::cout << "Hello world" << std::endl;
}
$ x86_64-apple-darwin13.4.0-clang++ test.cxx -o test
ld: malformed file
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd:4:18: error: unknown enumerated scalar
platform:        zippered
                 ^~~~~~~~
 file '/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd'
clang-8: error: linker command failed with exit code 1 (use -v to see invocation)

Using the 10.9 SDK works:
$ CONDA_BUILD_SYSROOT=/Users/christopherburr/Development/MacOSX-SDKs/MacOSX10.9.sdk/ x86_64-apple-darwin13.4.0-clang++ test.cxx -o test
$ ./test
Hello world

Environment (conda list):

$ conda list
# packages in environment at /Users/christopherburr/miniconda3/envs/compiler-fail:
#
# Name                    Version                   Build  Channel
cctools                   921                  h5ba7a2e_2    conda-forge
clang                     8.0.1                h770b8ee_1    conda-forge
clang_osx-64              8.0.1               h22b1bf0_22    conda-forge
clangxx                   8.0.1                         1    conda-forge
clangxx_osx-64            8.0.1               h22b1bf0_22    conda-forge
compiler-rt               8.0.1                hef50cfd_0    conda-forge
ld64                      409.12               h22b1bf0_2    conda-forge
libcxx                    9.0.0                         0    conda-forge
libcxxabi                 9.0.0                         0    conda-forge
libllvm8                  8.0.1                h770b8ee_0    conda-forge
tapi                      1000.10.8            h770b8ee_1    conda-forge

Details about  conda and system ( conda info ):

$ conda info

     active environment : compiler-fail
    active env location : /Users/christopherburr/miniconda3/envs/compiler-fail
            shell level : 2
       user config file : /Users/christopherburr/.condarc
 populated config files : /Users/christopherburr/.condarc
          conda version : 4.7.12
    conda-build version : 3.18.9
         python version : 3.7.3.final.0
       virtual packages :
       base environment : /Users/christopherburr/miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/christopherburr/miniconda3/pkgs
                          /Users/christopherburr/.conda/pkgs
       envs directories : /Users/christopherburr/miniconda3/envs
                          /Users/christopherburr/.conda/envs
               platform : osx-64
             user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.3 Darwin/18.7.0 OSX/10.14.6
                UID:GID : 501:20
             netrc file : None
           offline mode : False

Can you invoke the compiler with -v?

$ x86_64-apple-darwin13.4.0-clang++ -v test2.cxx -o test.cxx
clang version 8.0.1 (tags/RELEASE_801/final)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
InstalledDir: /Users/christopherburr/miniconda3/envs/compiler-fail/bin
 "/Users/christopherburr/miniconda3/envs/compiler-fail/bin/clang-8" -cc1 -triple x86_64-apple-macosx10.9.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name test2.cxx -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -faligned-alloc-unavailable -target-cpu core2 -dwarf-column-info -debugger-tuning=lldb -ggnu-pubnames -target-linker-version 409.12 -v -resource-dir /Users/christopherburr/miniconda3/envs/compiler-fail/lib/clang/8.0.1 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -stdlib=libc++ -internal-isystem /Users/christopherburr/miniconda3/envs/compiler-fail/bin/../include/c++/v1 -fdeprecated-macro -fdebug-compilation-dir /tmp -ferror-limit 19 -fmessage-length 204 -stack-protector 1 -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.9.0 -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o /var/folders/m4/ny3rx96n7j97182lb50mh8mc0000gn/T/test2-faf326.o -x c++ test2.cxx
clang -cc1 version 8.0.1 based upon LLVM 8.0.1 default target x86_64-apple-darwin18.7.0
ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/v1"
ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/Library/Frameworks"
#include "..." search starts here:
#include <...> search starts here:
 /Users/christopherburr/miniconda3/envs/compiler-fail/bin/../include/c++/v1
 /Users/christopherburr/miniconda3/envs/compiler-fail/lib/clang/8.0.1/include
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks (framework directory)
End of search list.
 "/Users/christopherburr/miniconda3/envs/compiler-fail/bin/x86_64-apple-darwin13.4.0-ld" -demangle -lto_library /Users/christopherburr/miniconda3/envs/compiler-fail/lib/libLTO.8.dylib -no_deduplicate -dynamic -arch x86_64 -macosx_version_min 10.9.0 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -o test.cxx /var/folders/m4/ny3rx96n7j97182lb50mh8mc0000gn/T/test2-faf326.o -lc++ -lSystem
ld: malformed file
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd:4:18: error: unknown enumerated scalar
platform:        zippered
                 ^~~~~~~~
 file '/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd'
clang-8: error: linker command failed with exit code 1 (use -v to see invocation)

Running those commands manually works if I link with /usr/bin/ld instead of $CONDA_PREFIX/bin/x86_64-apple-darwin13.4.0-ld.
$ /usr/bin/ld -v
@(#)PROGRAM:ld  PROJECT:ld64-450.3
BUILD 18:16:53 Apr  5 2019
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
LTO support using: LLVM version 10.0.1, (clang-1<IP_ADDRESS>) (static support for 22, runtime is 22)
TAPI support using: Apple TAPI version 10.0.1 (tapi-1<IP_ADDRESS>)

zippered doesn't work yet with the version of tapi that apple has released.
can you post the contents of /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd ?

zippered doesn't work yet with the version of tapi that apple has released.

Of course... 🙄 🍎
$ cat /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd
--- !tapi-tbd-v3
archs:           [ x86_64 ]
uuids:           [ 'x86_64: E6C586CE-EEFA-3B4B-9316-AC4322AF0E75' ]
platform:        zippered
install-name:    /usr/lib/libSystem.B.dylib
current-version: 1252.250.1
objc-constraint: none
exports:
  - archs:           [ x86_64 ]
    re-exports:      [ /usr/lib/system/libcache.dylib, /usr/lib/system/libcommonCrypto.dylib,
                       /usr/lib/system/libcompiler_rt.dylib, /usr/lib/system/libcopyfile.dylib,
                       /usr/lib/system/libcorecrypto.dylib, /usr/lib/system/libdispatch.dylib,
                       /usr/lib/system/libdyld.dylib, /usr/lib/system/libkeymgr.dylib,
                       /usr/lib/system/liblaunch.dylib, /usr/lib/system/libmacho.dylib,
                       /usr/lib/system/libquarantine.dylib, /usr/lib/system/libremovefile.dylib,
                       /usr/lib/system/libsystem_asl.dylib, /usr/lib/system/libsystem_blocks.dylib,
                       /usr/lib/system/libsystem_c.dylib, /usr/lib/system/libsystem_configuration.dylib,
                       /usr/lib/system/libsystem_coreservices.dylib, /usr/lib/system/libsystem_darwin.dylib,
                       /usr/lib/system/libsystem_dnssd.dylib, /usr/lib/system/libsystem_info.dylib,
                       /usr/lib/system/libsystem_kernel.dylib, /usr/lib/system/libsystem_m.dylib,
                       /usr/lib/system/libsystem_malloc.dylib, /usr/lib/system/libsystem_networkextension.dylib,
                       /usr/lib/system/libsystem_notify.dylib, /usr/lib/system/libsystem_platform.dylib,
                       /usr/lib/system/libsystem_pthread.dylib, /usr/lib/system/libsystem_sandbox.dylib,
                       /usr/lib/system/libsystem_secinit.dylib, /usr/lib/system/libsystem_symptoms.dylib,
                       /usr/lib/system/libsystem_trace.dylib, /usr/lib/system/libunwind.dylib,
                       /usr/lib/system/libxpc.dylib ]
    symbols:         [ 'R8289209$_close', 'R8289209$_fork', 'R8289209$_fsync', 'R8289209$_getattrlist',
                       'R8289209$_getrlimit', 'R8289209$_getxattr', 'R8289209$_open',
                       'R8289209$_pthread_attr_destroy', 'R8289209$_pthread_attr_init',
                       'R8289209$_pthread_attr_setdetachstate', 'R8289209$_pthread_create',
                       'R8289209$_pthread_mutex_lock', 'R8289209$_pthread_mutex_unlock',
                       'R8289209$_pthread_self', 'R8289209$_ptrace', 'R8289209$_read',
                       'R8289209$_setattrlist', 'R8289209$_setrlimit', 'R8289209$_sigaction',
                       'R8289209$_stat', 'R8289209$_sysctl', 'R8289209$_time', 'R8289209$_unlink',
                       'R8289209$_write', ___crashreporter_info__, _libSystem_atfork_child,
                       _libSystem_atfork_parent, _libSystem_atfork_prepare, _mach_init_routine ]
...

If you want to take a stab at this,
You might try patching tapi with https://github.com/tpoechtrager/apple-libtapi/commit/e92ebe1484033f91c80d9cf1a90c44f95c8c81fa and https://github.com/tpoechtrager/apple-libtapi/commit/90d0bae361b0af326b07887252a70b7d9256a9f8
and revert https://github.com/conda-forge/cctools-and-ld64-feedstock/blob/master/recipe/550-ld64-fix-errorneous-tapi-version-condition.diff

I'll give it a try and report back with a PR if I get it working.
Thank you once again! 🍰

Installing the new tapi build fixes it 🎉

Without reverting that patch in ld64 ?

Yup. I was going to prepare the PR to revert it but it doesn't seem to be needed? (I haven't tried non-trivial compilations yet)

Might not work if you try to cross compile for other target.

In that case I'll make the PR to remove it


chore: use pkg.exports

Description
Closes #73
This works in the local dev project and build. However, e2e fails because Jest is still not able to resolve pkg.exports: https://github.com/facebook/jest/issues/9771
I guess we should wait until  Jest 28 is released (or perhaps leaving the dummy files for manual exports could make it work 🤔 ).

Before submitting the PR, please make sure you do the following:

[ ] Add your change under the Unreleased heading in the package's CHANGELOG.md
[ ] Read the Contributing Guidelines
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123)
[ ] Update docs in this repository for your change, if needed

This is basically blocked by two issues:

Jest does not support won't support pkg.exports until v28: https://github.com/facebook/jest/issues/9771
TypeScript is not following pkg.exports types in the stable version. Experimental should work: https://www.typescriptlang.org/docs/handbook/esm-node.html

@jplhomer Can you check this again? This seems to be a requirement for upgrading to Vite 3.
I think I've fixed all the issues with typescript, jest, etc.
The only downside is that we need moduelResolution: "node16" in tsconfig.json and jsconfig.json (I've added these files to all the projects).
I've check that both JS and TS projects have access to types, and that
Also, the CJS build now only outputs framework, which means it won't choke on import.meta matches in foundation -- cc @cartogram You can try again with the DevTools component.

Can you explain why we need the node16 and jsconfig files? E.g. I removed the one I had in demo-store and it still seems to work.

The node16 module resolution is what makes typescript follow package.json#exports for types. Without it, the code still runs but you won't get type autocompletion when importing from Hydrogen. At least it was like that in my local tests 🤔

Also, does this mean we can remove the CJS warning from the console suppression plugin?

I think this is more related to including type: module in our package.json, so not yet 😢

The node16 module resolution is what makes typescript follow package.json#exports for types. Without it, the code still runs but you won't get type autocompletion when importing from Hydrogen. At least it was like that in my local tests 🤔

Yup, that is correct! 💯


Modularize the build directory

This just splits up the utils.js file and shuffles things around.

Coverage decreased (-0.08%) to 39.887% when pulling ba17fd0ebb28b269614488967034becd2da770d1 on victorporof:utils-dir into 12c7343305252c1a7be1b0ff058317777729e1bd on mozilla:master.

Coverage decreased (-0.08%) to 39.887% when pulling e1232d755c7b29de643670771c53e267cd706eaa on victorporof:utils-dir into cf5bd160163c88d83efabdd85ffca76b89ec680b on mozilla:master.

Coverage decreased (-0.05%) to 39.918% when pulling e1232d755c7b29de643670771c53e267cd706eaa on victorporof:utils-dir into cf5bd160163c88d83efabdd85ffca76b89ec680b on mozilla:master.

Coverage increased (+0.01%) to 39.979% when pulling aa29697e41bef82c8f03fefc44b8128ec57ee3e3 on victorporof:utils-dir into cf5bd160163c88d83efabdd85ffca76b89ec680b on mozilla:master.

Coverage decreased (-0.02%) to 39.949% when pulling aa29697e41bef82c8f03fefc44b8128ec57ee3e3 on victorporof:utils-dir into cf5bd160163c88d83efabdd85ffca76b89ec680b on mozilla:master.


How to check arangodb status

My Environment

ArangoDB Version:        3.6

Storage Engine:             RocksDB

Deployment Mode:      Cluster

Deployment Strategy:   ArangoDB Starter

Configuration:               I started on one server1 using the "arangodb --starter.mode=cluster --starter.data-dir=/my/directory/dir/arangotest2 --all.cluster.min-replication-factor=3" code.
The rest of the servers started using the "arangodb --starter.mode=cluster --starter.data-dir=/my/directory/dir/arangotest2 --starter.join server1" code.

Infrastructure:

Operating System:        Centos

Total RAM in your machine:

Disks in use:        SSD | HDD

Used Package:             RedHat .rpm

Component, Query & Data
Affected feature:

AQL query (if applicable):
AQL explain (if applicable):

Dataset:

Size of your Dataset on disk:

Replication Factor & Number of Shards (Cluster only): replication factor=3

Steps to reproduce

Problem:
Expected result:
I have clustered 3 servers in arangodb. To make sure these three servers are working, you need to check the cluster status in your code. How to check?
Is there a way to do it without accessing the shell?

Hi @la6803,
You can check the Cluster health from the UI as shown in the screenshot below. There is a HEALTH status on the top right and further details in the NODES tab.

Another way is to monitor the cluster health via the HTTP API.
Hope this helps

Thank you, but I have to check with https://www.arangodb.com/docs/stable/http/cluster-health.html#queries-the-health-of-cluster-for-monitoring
이 문서를 확인했지만 "GET /_admin/cluster/health" 이 명령어를 어떤 형식으로 써야 하는지 모르겠습니다. arangosh에 접속하여 코드를 실행해야 합니까?

curl -X GET http://localhost:8529/_db/_system/_open/health.json --dump -


Exclude time depending on day selected

Well basically what i'm trying to do is to exclude a bunch of time's on specific day selected by user,
I tried to create an array full of objects with specific times i want to exclude from selection and insert each one of them with .map into exclude={} prop but that didn't do anything,
if anyone would care to explain what i'm doing wrong or how i can achieve this that would be much appreciated, thanks in advance!

Did you ever manage to solve this? I am also struggling to achieve the same thing.

@Jonofat
What I did was pretty messy but if you are pretty desperate like I was that's what I did.
//props
  <DatePicker
                    selected={startDate}
                    onChange={selectedDate}
                    shouldCloseOnSelect={false}
                    filterDate={isWeekend}
                    inline
                    showTimeSelect
                    dateFormat="MMMM d, yyyy h:mm aa"
                    minDate={new Date()}
                    maxDate={LimitDays(new Date(), 10)}
                    minTime={new Date(new Date().setHours(8, 0, 0))}
                    maxTime={new Date(new Date().setHours(20, 0, 0))}
                    timeFormat="HH:mm"
                    excludeTimes={
                        excluded.map((exclude, index) => { return new Date(new Date().setHours(parseInt(exclude.time.slice(0, -3)), exclude.time.slice(3), 0)); })
                    }
                />

//and the array of excluded times look like this, which I overwrote every time someone would click on the other date with that date excluded times, hopefully, this will be somewhat helpful.
[
  {
    "time": "20:00",
    "date": "Wed Sep 30 2020"
  },
  {
    "time": "18:00",
    "date": "Wed Sep 18 2020"
  }
]

@oleg1994 , thanks so much for this! And yes, I am extremely desperate and this doesn't seem to be documented anywhere.
I have a separate component for my date picker like this:
import React, { useState } from "react";

import DatePicker from "react-datepicker";
import "react-datepicker/dist/react-datepicker.css";
import { useField, useFormikContext } from "formik";

const DatePickerField = ({ ...props }) => {
  const [startDate, setStartDate] = useState(new Date());
  const { setFieldValue } = useFormikContext();
  const [field, meta] = useField(props);
  return (

      <DatePicker
        {...field}
        {...props}
        showTimeSelect
        selected={(field.value && new Date(field.value)) || startDate}
        onChange={(val) => {
          setFieldValue(field.name, val);
        }}
        value={(field.value && new Date(field.value)) || null}
        dateFormat="d/M/Y HH:mm"
        timeFormat="HH:mm"
        minDate={new Date()}
      />

        {meta.error && meta.touched && meta.error}

  );
};

export default DatePickerField;

And then in another component where I am using this:

  const isSunday = (date) => {
    const day = getDay(date);
    return day !== 0;
  };

  const excluded = [
    {
      time: "12:00",
      date: "28/09/2020",
    },
    {
      time: "13:00",
      date: "03/10/2020",
    },
  ];

                        <DatePickerField
                          filterDate={isSunday}
                          minTime={new Date(new Date().setHours(8, 0, 0))}
                          maxTime={new Date(new Date().setHours(17, 0, 0))}
                          excludeTimes={excluded.map((exclude, index) => {
                            return new Date(
                              new Date().setHours(
                                parseInt(exclude.time.slice(0, -3)),
                                exclude.time.slice(3),
                                0
                              )
                            );
                          })}
                          timeIntervals={60}
                          maxDate={addDays(new Date(), 3)}
                          name="time-to-contact"
                        />

What is happening though is that no matter what date I choose, both times are excluded instead of just 12:00 for the 28th and 13:00 for the 3rd.
Is there anything obvious I have done wrong?


Eslint with webpack dev server. How to lint only just updated files?

I using eslint-loader with webpack dev server. After every file update eslint check all files of project and show result in console.  I want to lint only updated file. How can achieve it?

It should be the default behavior. Maybe webpack keep the warnings in memory or something?

Can somebody show webpack config for dev server?
I using webpack 1.14, and setup from readme.md with preloaders section. Every time i updated 1 file i receive mess eslint errors in console about all files in project.

Errors & warnings are probably cached by webpack anyway, as every file change the entire bundle is recompiled. Maybe I said something wrong by saying it's the default behavior.
Anyway, you should probably fix all errors as this loader is mainly to prevent errors during development with a clean codebase.
Maybe try to check eslint --fix :)

Closing as it seems a generic webpack "issue".


Discussion: How to handle user-defined types that want to go through main?

The issue here has prompted me to think a bit about this. https://groups.google.com/forum/#!topic/elm-discuss/9fxTs7hVDaI
My goal here is to start a discussion that would result in an actual proposal that could then be considered to be added to Elm.
Problem
main currently accepts the Html type which is dependent on the virtual-dom library. While this is fine for a number of applications, it would be nice to be able to support different interfaces (in this case, the interface requested is incremental-dom). One may also imagine a React interface or other.
Furthermore, as Elm is contemplating different compilation targets (like node), the importance for more types to go through main will increase.
Current Solutions/Workarounds

Lie to the compiler and hope for the best
Hack the compiler/include extra scripts to get your type through main
Bug @evancz until he whitelists your type in the compiler

Considered Solution
Add a qualifier before the type keyword like executable or runnable or renderable and have any type preceded by this qualifier go through main.
runnable type ReactComponent = ...

runnable type IncrementalDomComponent = ...

Why is this not a proposal?
I think my solution is weird and not very good. It is important to note that this is supposed to be an ultra-expert feature to be used in rare conditions. Verily, there will be very few types that will ever want to go through main directly.
So, my question is: Is it good enough if packages just make a formal request to have their special type go through main or should there be some mechanism to allow package authors to do this themselves?
Further considerations
I would also like to point out that the solution to allowing different html interfaces/v-dom implementations in Elm could come from a different angle, perhaps a suitable abstraction could do the trick. I would like the discussion to also consider this angle as it could conceivably solve this issue differently.

I am in the process of closing down this repo. This idea makes sense. I have it on my own personal list, so I'll bring you into the discussion when I have time to work on this.

If you want to preserve this, move it to a gist. I will probably delete this repo in a couple days and salvage certain pieces for managing other repos.

This is also related to https://github.com/elm-lang/core/issues/324 which is in the "for consideration" mega thread on core.


pywayland: init at v0.4.7

Motivation for this change
First step towards supporting qtile on wayland.
Things done
Added the pywayland package, a dependency for qtile's wayland backend.

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Sorry, I forgot to add the meta information and I am not listed as a possible maintainer. I will reopen once I am added as a maintainer with corrected meta information.


Colon-like infix operator

I know most people don't like operators, but since it's DSL, I wanted to share idea.
We have this fat and ugly operator ( @@ ), that is perfect for reducing number of parentheses on function call, so instead of this:
let card = style([
  display(flexBox),
  flexDirection(column),
  alignItems(stretch),
  backgroundColor(white),
]);

we get this:
let card = style([
  display @@ flexBox,
  flexDirection @@ column,
  alignItems @@ stretch,
  backgroundColor @@ white,
]);

Which looks a bit nicer, but far from perfect.
We can define a better operator, that behaves exactly like ( @@ ), but looks more CSS-like and lightweight:
let card = style([
  display^: flexBox,
  flexDirection^: column,
  alignItems^: stretch,
  backgroundColor^: white,
]);

We can define it like this:
let ( ^: ) = ( @@ );

Or like this:
external ( ^: ) : ('a => 'b) => 'a => 'b = "%apply";

Thats makes sense...

Im a little bit unsure if i like redefining an existing operator... reason is all about being easy for beginners, and i feel this might pull the other way...
If we embrace @@ it might be a way for people to lean how to use it throughout their code.


راهنمای صدور اسناد

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[x] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

@jahan2001
Please help with the link of document on which above document feedback request is created.
In case your query in not related to document content, open a new forum thread in MSDN forum or Stack Overflow as it could be better place to get help on your scenario. These forum community members could provide their expert guidance on your scenario based on their experience. Thanks.

@jahan2001
We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.


Error on document Update

Describe the bug
I'm working on a news project on symfony 5.4. In my development environment I use docker but in my prod environment I do not (not my choice)
In my development environment everything runs smoothly, I use typesense within a docker container with the image typesense/typesense:0.22.1.
in production environment I'm using acseo/TypesenseBundle^0.6.6 but when I update an article I get the following error :
request.CRITICAL: Uncaught PHP Exception Typesense\Exceptions\ObjectNotFound: "Could not find a document with id: 12555" at /httpdocs/vendor/typesense/typesense-php/src/ApiCall.php line 347 {"exception":"[object] (Typesense\\Exceptions\\ObjectNotFound(code: 0): Could not find a document with id: 12555 at /httpdocs/vendor/typesense/typesense-php/src/ApiCall.php:347)"} []
Although when I lauch the following commands,  symfony console typesense:create then symfony console typesense:import I get a success message saying [OK] 16024 elements populated in 129.91 seconds, the search engine does not seem to be working.
Expected behavior
When I search for an element by title within the search bar I do not get the expected result. I get other articles which have the same keyword present in my query but I don't have the expected article.
For example if I look for an article "The current state of the country" I would expect to get all articles containing those words but especially the one having this exact title. But I only get the articles containing some keywords. I hope I'm making myself clear.
Second Expected behavior
When I update an article or any other data used with typesense I would like for it to update by itself and not return a 500 server error saying the document with ID could not be found.
Questions

I don't know what's wrong and I can't figure it out. Has anyone encountered this problem ? I would appreciate any help available. Thank you
Do I need to explicitly tell typesense to update a document ? or does it do it by itself ? I assumed it does it by itself since I have no problem in my development environment

Additional context
Here is my typesense configuration
acseo_typesense:
    typesense:
        url: '%env(resolve:TYPESENSE_URL)%'
        key: '%env(resolve:TYPESENSE_KEY)%'
    collections:
        tags:
            entity: 'App\Entity\Tag'
            fields:
                id:
                    name: id
                    type: primary
                sortable_id:
                    entity_attribute: id
                    name: sortable_id
                    type: int32
                name:
                    name: name
                    type: string
                status:
                    name: status
                    type: string
                    facet: true
                createdAt:
                    name: createdAt
                    optional: true
                    type: datetime
            default_sorting_field: sortable_id
        authors:
            entity: 'App\Entity\Author'
            fields:
                id:
                    name: id
                    type: primary
                sortable_id:
                    entity_attribute: id
                    name: sortable_id
                    type: int32
                name:
                    name: name
                    type: string
                description:
                    name: description
                    type: string
            default_sorting_field: sortable_id
        articles:
            entity: 'App\Entity\Article'
            fields:
                id:
                    name: id
                    type: primary
                sortable_id:
                    entity_attribute: id
                    name: sortable_id
                    type: int32
                title:
                    name: title
                    type: string
                slug:
                    name: slug
                    type: string
                content:
                    name: content
                    type: string
                description:
                    name: description
                    type: string
                subCategories:
                    name: subCategories
                    type: collection
                categories:
                    name: categories
                    type: collection
                source.name:
                    entity_attribute: source.name
                    name: source
                    type: string
                tags:
                    name: tags
                    type: collection
                author.name:
                    entity_attribute: author.name
                    facet: true
                    name: author
                    type: string
                publishingDate:
                    name: publishingDate
                    optional: true
                    type: datetime
                status:
                    name: status
                    type: string
                sortable_publishingDate:
                    entity_attribute: publishingDate
                    name: sortable_publishingDate
                    type: datetime
            default_sorting_field: sortable_id
        subscribers:
            entity: 'App\Entity\Subscriber'
            fields:
                id:
                    name: id
                    type: primary
                sortable_id:
                    entity_attribute: id
                    name: sortable_id
                    type: int32
                email:
                    name: email
                    type: string
                firstName:
                    name: firstName
                    type: string
                lastName:
                    name: lastName
                    type: string
                companyName:
                    name: companyName
                    type: string
                job:
                    name: job
                    type: string
                professionalArea:
                    name: professionalArea
                    type: string
            default_sorting_field: sortable_id

Hi ! Did you find a solution for this ? On my prod env I have same problem and don't understand why

Hey, I am sorry, I will not be able to help you. I quit my job before the problem was solved.

Hi, I found a solution, I use docker in production too and it work ^^

Would you mind telling me how you fixed the problem?
Thank you


completions seems to crash rust-analyzer

session  = "32629"
buffile  = "/home/uncomfy/development/projects/otap/otap/src/main.rs"
filetype = "rust"
version  = 51
method   = "textDocument/didChange"
hook     = true
[params]
draft    = """
use std::
fn main() {
    println!(\"Hello, world!\");
}
"""
, module: kak_lsp::editor_transport:138
Nov 25 15:18:50.024 DEBG Searching for vars starting with KAK_LSP_PROJECT_ROOT_RUST, module: kak_lsp::project_root:60
Nov 25 15:18:50.024 INFO Found project root "/home/uncomfy/development/projects/otap/otap" because it contains "Cargo.toml", module: kak_lsp::project_root:43
Nov 25 15:18:50.024 DEBG Routing editor request to Route { session: "32629", server_name: "rust-analyzer", root: "/home/uncomfy/development/projects/otap/otap" }, module: kak_lsp::session:120
Nov 25 15:18:50.024 DEBG Language servers rust-analyzer are still not initialized, parking request, module: kak_lsp::controller:184
Nov 25 15:18:50.151 DEBG From server rust-analyzer: {"jsonrpc":"2.0","id":0,"result":{"capabilities":{"positionEncoding":"utf-8","textDocumentSync":{"openClose":true,"change":2,"save":{}},"selectionRangeProvider":true,"hoverProvider":true,"completionProvider":{"resolveProvider":true,"triggerCharacters":[":",".","'","("],"completionItem":{"labelDetailsSupport":false}},"signatureHelpProvider":{"triggerCharacters":["(",",","<"]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"workspaceSymbolProvider":true,"codeActionProvider":{"codeActionKinds":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite"],"resolveProvider":true},"codeLensProvider":{"resolveProvider":true},"documentFormattingProvider":true,"documentRangeFormattingProvider":false,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"=","moreTriggerCharacter":[".",">","{","("]},"renameProvider":{"prepareProvider":true},"foldingRangeProvider":true,"declarationProvider":true,"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":true},"fileOperations":{"willRename":{"filters":[{"scheme":"file","pattern":{"glob":"**/*.rs","matches":"file"}},{"scheme":"file","pattern":{"glob":"**","matches":"folder"}}]}}},"callHierarchyProvider":true,"semanticTokensProvider":{"legend":{"tokenTypes":["comment","decorator","enumMember","enum","function","interface","keyword","macro","method","namespace","number","operator","parameter","property","string","struct","typeParameter","variable","angle","arithmetic","attribute","attributeBracket","bitwise","boolean","brace","bracket","builtinAttribute","builtinType","character","colon","comma","comparison","constParameter","derive","deriveHelper","dot","escapeSequence","invalidEscapeSequence","formatSpecifier","generic","label","lifetime","logical","macroBang","parenthesis","punctuation","selfKeyword","selfTypeKeyword","semicolon","typeAlias","toolModule","union","unresolvedReference"],"tokenModifiers":["documentation","declaration","static","defaultLibrary","async","attribute","callable","constant","consuming","controlFlow","crateRoot","injected","intraDocLink","library","macro","mutable","public","reference","trait","unsafe"]},"range":true,"full":{"delta":true}},"inlayHintProvider":{"resolveProvider":true},"experimental":{"externalDocs":true,"hoverRange":true,"joinLines":true,"matchingBrace":true,"moveItem":true,"onEnter":true,"openCargoToml":true,"parentModule":true,"runnables":{"kinds":["cargo"]},"ssr":true,"workspaceSymbolScopeKindFiltering":true}},"serverInfo":{"name":"rust-analyzer","version":"1.74.0 (79e9716 2023-11-13)"}}}, module: kak_lsp::language_server_transport:168
Nov 25 15:18:50.151 DEBG To server rust-analyzer: {"jsonrpc":"2.0","method":"initialized","params":{}}, module: kak_lsp::language_server_transport:198
Nov 25 15:18:50.151 DEBG To server rust-analyzer: {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"rust","text":"\nfn main() {\n    println!(\"Hello, world!\");\n}\n","uri":"file:///home/uncomfy/development/projects/otap/otap/src/main.rs","version":51}}}, module: kak_lsp::language_server_transport:198
Nov 25 15:18:50.151 ERRO panic: panicked at src/language_features/completion.rs:20:68:
called `Result::unwrap()` on an `Err` value: Error { inner: ErrorInner { kind: Custom, line: None, col: 0, at: None, message: "missing field `have_kakoune_feature_filtertext`", key: [] } }, module: kak_lsp:364
Nov 25 15:18:50.151 INFO Waiting for Messages to language server to finish..., module: kak_lsp::thread_worker:19
Nov 25 15:18:50.151 DEBG Received signal to stop language server, closing pipe, module: kak_lsp::language_server_transport:209
Nov 25 15:18:50.151 DEBG Waiting for language server process end, module: kak_lsp::language_server_transport:102
Nov 25 15:18:50.486 DEBG Language server closed pipe, stopping reading, module: kak_lsp::language_server_transport:146
Nov 25 15:18:50.486 ERRO Language server error: Error: client exited without proper shutdown sequence
, module: kak_lsp::language_server_transport:68
Nov 25 15:18:51.151 INFO ... Messages to language server terminated with ok, module: kak_lsp::thread_worker:21
Nov 25 15:18:51.151 INFO Waiting for Messages from language server to finish..., module: kak_lsp::thread_worker:19
Nov 25 15:18:51.151 INFO ... Messages from language server terminated with ok, module: kak_lsp::thread_worker:21
Nov 25 15:18:51.151 INFO Waiting for Language server errors to finish..., module: kak_lsp::thread_worker:19
Nov 25 15:18:51.151 INFO ... Language server errors terminated with ok, module: kak_lsp::thread_worker:21

Idk why it gets restarted but that is how i got the logs though. It seems to crash and attempts to restart the lsp.
See video for context
https://github.com/kak-lsp/kak-lsp/assets/66054069/a528df1a-c5c3-43eb-a788-8675f43c43af

On Sat, Nov 25, 2023 at 07:25:59AM -0800, Soc Virnyl S. Estela wrote:

Nov 25 15:18:50.151 ERRO panic: panicked at src/language_features/completion.rs:20:68:
called Result::unwrap() on an Err value: Error { inner: ErrorInner { kind: Custom, line: None, col: 0, at: None, message: "missing field have_kakoune_feature_filtertext", key: [] } }, module: kak_lsp:364

The "have_kakoune_feature_filtertext" field was removed in master recently.
This error means you pulled latest kak-lsp but are not running the latest binary.
Make sure to reinstall after pulling. Use a command like cargo install --path . --locked --force
I guess this one we could handle more gracefully but in general it's too much effort to provide forward compat

Oh that makes sense! Sorry for the bother!


Extend UserAgent string to include distribution and kernel architecture and version

This will make it much easier to figure out what distribution and kernel versions to focus our testing on based on image server access. It will also allow us to filter specific images based on whether the target host is going to be able to run it.

We want something like the following:

LXD 2.18 (Windows; x86_64)
LXD 2.18 (Darwin; x86_64)
LXD 2.18 (Linux; x86_64; 4.4.0-78-generic; Ubuntu 16.04)

To cover some of the corner cases:

Unable to get kernel information: LXD 2.18 (Linux; x86_64; Ubuntu 16.04)
Unable to get OS information: LXD 2.18 (Linux; x86_64; 4.4.0-78-generic)
Unable to get either: LXD 2.18 (Linux; x86_64)


Add dot files

Add files for automation while writing code such as prettier, editorconfig and travis. In case you add more files make sure to mention that while you are creating the pull request.

Would work to take on it!


If I want to change the green text, how?

As title. Everything is good EXCEPT I personally don't like green color for string/text.

@wadackel: Thanks for your help!


Notebooks: Watch for changes outside of ADS

Partially addresses #9249 (the notebook portion).
The onLoad() event doesn't get fired when opening a notebook, because we hook into the event after it's initially loaded.
Note: discussed with PM and the decision to deliver value incrementally was made (as opposed to waiting for the full experience where the viewlet is updated as well).

@qifahs : FYI on the incremental update on this solution :)

Pull Request Test Coverage Report for Build 256200192

2 of 7 (28.57%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.0005%) to 38.939%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql/workbench/contrib/notebook/browser/notebook.component.ts
0
1
0.0%

src/sql/workbench/services/notebook/browser/models/notebookModel.ts
1
2
50.0%

src/sql/workbench/contrib/notebook/browser/models/notebookInput.ts
1
4
25.0%

Totals

Change from base Build 256185192:
0.0005%

Covered Lines:
19148

Relevant Lines:
44857

💛  - Coveralls


Issue #244

@e0i  Solving Issue #244
Taking considerations on #954 by @nenonix

This PR is a replacement of #915

Creating a new PR


Stream songs by ID

We should be able to stream songs using their ID.
Before starting the stream, we should validate the user subscription as explained in #3 . We should also validate the API call as explained in #2 .
We won't implement the stream transaction validation as explained in #5 , this feature is postponed to v0.2.0.

This issue is already resolved and merged into development


Deserialize implementation of JsonWebAlgorithm always deserializes a &str

This leads to a failure when deserializing from a owned type like serde_json::Value. Introduced in https://github.com/minkan-chat/jose/blob/main/src/macros.rs#L308

This will actually fixed in my pull request for the Test Suite. Look at the proper-test-suite branch

Fixed in 8083bd2a251a4fd83ea5109ea68166d7b24b52f2


Allow specifying schema for migration table in postgres

Right now dbmigrate creates its __dbmigrate_table without specifying a schema, which by default will use the public schema.
In my use-case where I have schema1 and schema2 for two different projects. When I now use dbmigrate, the migrations of both projects try to use public.__dbmigrate_table, which causes them to mix up.
To avoid that, it would be nice to be able to specify a schema where dbmigrate looks for the migration table so that both migration tables can live separately in their respective schemas.

I have a quick and dirty implementation of it up in my fork: https://github.com/hobofan/dbmigrate/tree/dirty_schema
@Keats If you think that this feature is worth being in upstream, I'd be happy to write up a PR with a more proper implementation. :)

Hmm I don't know if the libraries allow it but is it possible to specify it in the URL?
Postgres has currentSchema for this usecase I believe so postgres://pg@localhost:5777/migrate?currentSchema=schema1 should do it (haven't tested).

I checked, and the rust postgres crate does not support a currentSchema, and I'm not sure if it should.
From what I could gather currentSchema is a JDBC specific parameter, and is not on the list of recognized keywords: https://www.postgresql.org/docs/9.5/static/libpq-connect.html#LIBPQ-CONNSTRING
However I just saw that there is a options key, which could maybe allow me to specify a search_path. I'll try that and report back.

Nope, doesn't seem to work. I've also found no reference of somebody else (ab)using the options key for that purpose.

Seems that I just didn't use the right encoding. There is a blog post concerning Diesel using the same trick: http://yakshav.es/using-diesel-with-a-postgres-schema/

I'll add that to the docs!


Added Rotating Circle loader

Fixes Issue🛠

Closes #355
Description👨💻

Added Rotating Circle Loader into the Loader Section.
Type of change📄

[X] New feature (non-breaking change which adds functionality)

How this has been tested✅
Tested into local system and ran perfectly.

Checklist✅

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I am an Open Source Contributor

Screenshots/GIF📷

@Rakesh9100 Due to some problem , I have removed the previous PR , Changed the image name and Resolved Conflicts.

Merged 🎉 @bera474


Natural cannot be used with browserify

Browserify emits en error message:
Error: Cannot find module 'WNdb' from '<path>/node_modules/natural/lib/natural/wordnet'
Also https://github.com/NaturalNode/node-sylvester/issues/4 prevents browserify usage.
One way to fix the issue would be to add WNdb as dependency of natural. In the meantime, I use browserify's --ignore WNdb option.

FYI: "browser" field help to ignore a module for browserify.

https://gist.github.com/defunctzombie/4339901#replace-specific-files---advanced
https://github.com/substack/browserify-handbook#browser-field

i think this has been discussed in #25 and #189 but im pretty sure it stems from the fact that the WNdb module is not installed by default in natural hence it would not be present in the node_modules folder unless explicitly isntalled


Can we pass variable parameters from grafana to iframe url?

How we can add variable parameters from grafana to iframe url? We have requirement to add parameter that represent dynamic values that we need to pass to iframe url.

I have a dynamically generated weather video. But since it always has the same name, the browser takes it from the cache. Can I somehow append a randomly generated parameter to the url or a timestamp?

@satyamtpatel I am not completely sure about your requirement. Do you mean you want to define dashboard variables and use them in the url of the panel? so for example, you define variable foo. In the plugin you define something like
https://example.com?foo=${foo}

fixed with https://github.com/innius/grafana-video-panel/commit/8480ad2c613f8d9988b903c7695bb4fc131d736d


[BUG] All laps from Singapore and Qatar Grand Prix have IsAccurate=False

Describe the issue:
Every lap in those two events has IsAccurate=False because of the failed integrity check.
From the doc:

Laps need to satisfy the following criteria to be marked as accurate:

not an inlap or outlap
set under green or yellow flag (the api sometimes has issues with data from SC/VSC laps)
is not the first lap after a safety car period (issues with SC/VSC might still appear on the first lap after it has ended)
has a value for lap time and all sector times
the sum of the sector times matches the lap time (If this were to ever occur, it would also be logged separately as a data integrity error. You usually don’t need to worry about this.)

The first three conditions are obviously satisfied by most laps. I manually checked the last two conditions and they are satisfied by most laps as well.
Reproduce the code example:
import pandas as pd
import fastf1 as f

qatar = f.get_session(2023, 17, 'R')
qatar.load(telemetry=False, weather=False, messages=False)
qatar_laps = qatar.laps

singapore = f.get_session(2023, 15, 'R')
singapore.load(telemetry=False, weather=False, messages=False)
singapore_laps = singapore.laps

all_laps = pd.concat([qatar_laps, singapore_laps])

all_laps.groupby("IsAccurate").size()
# output: False 2094

all_laps["LapTimeCheck"] = all_laps["Sector1Time"] + all_laps["Sector2Time"] + all_laps["Sector3Time"]
all_laps[all_laps["LapTimeCheck"] == all_laps["LapTime"]].shape
# output: (2026, 32)

Error message:
core           INFO     Loading data for Qatar Grand Prix - Race [v3.1.2]
req            INFO     Using cached data for session_info
req            INFO     Using cached data for driver_info
req            INFO     Using cached data for session_status_data
req            INFO     Using cached data for lap_count
req            INFO     Using cached data for track_status_data
req            INFO     Using cached data for _extended_timing_data
req            INFO     Using cached data for timing_app_data
core           INFO     Processing timing data...
core        WARNING     No lap data for driver 55
core        WARNING     Failed to perform lap accuracy check - all laps marked as inaccurate.
core           INFO     Finished loading data for 20 drivers: ['1', '81', '4', '63', '16', '14', '31', '77', '24', '11', '18', '10', '23', '20', '22', '27', '40', '2', '44', '55']
core           INFO     Loading data for Singapore Grand Prix - Race [v3.1.2]
req            INFO     Using cached data for session_info
req            INFO     Using cached data for driver_info
req            INFO     Using cached data for session_status_data
req            INFO     Using cached data for lap_count
req            INFO     Using cached data for track_status_data
req            INFO     Using cached data for _extended_timing_data
req            INFO     Using cached data for timing_app_data
core           INFO     Processing timing data...
core        WARNING     No lap data for driver 18
core        WARNING     Failed to perform lap accuracy check - all laps marked as inaccurate.
core           INFO     Finished loading data for 20 drivers: ['55', '4', '44', '16', '1', '10', '81', '11', '40', '20', '23', '24', '27', '2', '14', '63', '77', '31', '22', '18']

I have a feeling this might not be a universal issue. I will put this in a discussion instead.

Actually, this is a bug. It's caused by Sainz' DNS in Qatar and Stroll's DNS in Singapore. But given that lap accuracy checks only take the laps for each driver separately into account, this should never change the result for the laps of other drivers.
And given that in the case of a DNS the driver doesn't have any laps, this should not have any influence on the accuracy check at all.
I'll fix this once #449 is merged.


VelocityTracker does not track players

Tried using a VelocityTracker to track a player
Set it to track right hand, it was still, didn't move at all.
Set it to track another Pickup. It follows it as expected.
Set it back to right hand. It still tracks the Pickup.
Same result when setting 'head'.
Recompiling udon programs doesn't help.
The gameobject with the VelocityTracker is not, and does not have any prefabs.

output_log_20-22-01.txt

Thanks for the report!
Before I dig any deeper - have you selected the UdonToolkit editor in the Project Settings -> UdonSharp?


Create issue templates

Add issue templates, see https://github.com/Skullians/ferrumc/issues/new/choose for a demo.

I approve

sick


vai_c_tensorflow2 error: [UNILOG][FATAL][XCOM_OPERATION_FAILED][The supposed operation is failed!]

Hello,
I am using the Vitis AI 2.5 with the latest Aug 2022 patches for the following:
target_factory-2.5.0-py36h680af44_202.tar.bz2
target_factory-2.5.0-py37h680af44_202.tar.bz2
vart-2.5.0-py36h07a2524_202.tar.bz2
vart-2.5.0-py37h07a2524_202.tar.bz2
xcompiler-2.5.0-py36hea4fdf2_202.tar.bz2
xcompiler-2.5.0-py37hea4fdf2_202.tar.bz2
xir-2.5.0-py36h893bffd_202.tar.bz2
xir-2.5.0-py37h893bffd_202.tar.bz2
xnnc-2.5.0-py37hd51751d_201.tar.bz2
I was able to successfully quantize my model but I get the following compile error.    Any suggestions?
vai_c_tensorflow2
--model           build/quant_model/q_model.h5
--arch                /opt/vitis_ai/compiler/arch/DPUCZDX8G/ZCU104/arch.json
--output_dir      build/compiled
--net_name        customcnn
(vitis-ai-tensorflow2) Vitis-AI /workspace>
[INFO] Namespace(batchsize=1, inputs_shape=None, layout='NHWC', model_files=['build/quant_model/q_model.h5'], model_type='tensorflow2', named_inputs_shape=None, out_filename='/tmp/customcnn_DPUCZDX8G_ISA1_B4096_org.xmodel', proto=None)
[INFO] tensorflow2 model: /workspace/raidio_nn/build/quant_model/q_model.h5
[INFO] keras version: 2.8.0
[INFO] Tensorflow Keras model type: functional
[INFO] parse raw model     :100%|██████████| 11/11 [00:00<00:00, 18641.35it/s]
[INFO] infer shape (NHWC)  :100%|██████████| 18/18 [00:00<00:00, 6626.07it/s]
[INFO] perform level-0 opt :100%|██████████| 2/2 [00:00<00:00, 1020.76it/s]
[INFO] perform level-1 opt :100%|██████████| 2/2 [00:00<00:00, 3908.95it/s]
[INFO] generate xmodel     :100%|██████████| 18/18 [00:00<00:00, 439.62it/s]
[INFO] dump xmodel: /tmp/customcnn_DPUCZDX8G_ISA1_B4096_org.xmodel
[UNILOG][INFO] Compile mode: dpu
[UNILOG][INFO] Debug mode: function
[UNILOG][INFO] Target architecture: DPUCZDX8G_ISA1_B4096
[UNILOG][INFO] Graph name: model, with op num: 26
[UNILOG][INFO] Begin to compile...
[UNILOG][WARNING] xir::Op{name = quant_conv2d, type = conv2d-fix} has been assigned to CPU: ["kernel"(512x2) is not in DPU supported range {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}].
[UNILOG][WARNING] xir::Op{name = quant_conv2d_weights_new, type = const-fix} has been assigned to CPU: [Has no fanout or at least one fanout is out of DPU subgraph.].
[UNILOG][WARNING] xir::Op{name = quant_conv2d_bias_new, type = const-fix} has been assigned to CPU: [Has no fanout or at least one fanout is out of DPU subgraph.].
**[UNILOG][FATAL][XCOM_OPERATION_FAILED][The supposed operation is failed!]
*** Check failure stack trace: *****
Aborted

Hi @jschneider66,
could you help share the xmodel file /tmp/customcnn_DPUCZDX8G_ISA1_B4096_org.xmodel, so that I can reproduce this issue?

Hi @wanghong4compiler   I cannot post the model file yet.  But, I determined the failing layer is a max_pooling2d layer.   The tensor shape into the layer is {1,2,2048,30} and the output of that layer is supposed to be {1,1,128,30}.    The layer before that is a conv2d layer.

The issue was found and solved, posting the solution for others.
On the MaxPooling2D layer our pooling size and strides were set to  (16,16) but the tensor size coming our the previous layer was (2,2048,30).   This causes the compiler to crash, the solution was to fix the pooling_size and strides on that layer to be (2,16) to match the tensor size.
Also, found that Vitis AI Inspector incorrectly states that MaxPooling2D is not supported when in fact it is supported.


Turn on missing requirements and cancellation meeting for API Review

Meetings with no PR is another constant struggle. So we could a) prevent scheduling or updating a meeting with a management plane PR, and, b) cancel any meeting without a PR 7 days before the scheduled meeting.

Originally posted by @mikekistler in https://github.com/Azure/azure-sdk-tools/issues/6685#issuecomment-1668814704

We need to look at the email templates and make sure content is correct, then we can turn it on


WIP: nm: use interface name instead of UUID

Current nmstate code is using UUID when referring the controller/parent in
NM profile, this cause problem when the controller/parent is in-memory
profile which change UUID after reboot. The OpenShift is using in-memory
profile for br-ex and will recreate it after reboot. This prevent us from
modifying the ports of br-ex.
Using interface name for controller/parent reference would fix this
problem.
Existing test cases are enough to test this change.

Waiting NetworkManager fix: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1878


test-branch/execute-job/quoted-authorization/7ae9b8ec-47af-4687-a793-b0d91e582ed9

PR for testing 3b10fc9cd6ba332d0bbc855126046ee79ef95840

/canonical/self-hosted-runners/run-workflows 3b10fc9cd6ba332d0bbc855126046ee79ef95840


Use Java5 features and remove legacy code

Since SLF4J 1.7.x a JDK of version 5 or higher is required. Due previous versions old-fashioned javacode is still in the API module of slf4j, which I try to replace with Java 5 APIs and language features.
Removes/changes of this PR:

legacy check for JDK1.4 to choose correct cleanup method for InheritableThreadLocal
casts of values retrieved from collections
String#indexOf replaced by String#contains
Use for-each loops where possible

This looks fine to me. It will break a few other PRs but it's worth it to get the JDK14 test out.


zfs: Fail on boot due to zfs mount point being non-empty

Describe the bug
With the following fileSystems, the /home mount fails due to "non-empty
directory there" (logs further below):
{
  "/" = {
    autoFormat = false;
    autoResize = false;
    depends = [ ];
    device = "zroot/root/nixos";
    encrypted = {
      blkDev = null;
      enable = false;
      keyFile = null;
      label = null;
    };
    formatOptions = "";
    fsType = "zfs";
    label = null;
    mountPoint = "/";
    neededForBoot = false;
    noCheck = false;
    options = [ "defaults" "zfsutil" ];
  };
  "/boot" = {
    autoFormat = false;
    autoResize = false;
    depends = [ ];
    device =
      "/dev/disk/by-id/ata-Samsung_SSD_850_PRO_256GB_S1SUNSAFB04586A-part1";
    encrypted = {
      blkDev = null;
      enable = false;
      keyFile = null;
      label = null;
    };
    formatOptions = "";
    fsType = "vfat";
    label = null;
    mountPoint = "/boot";
    neededForBoot = false;
    noCheck = false;
    options = [ "defaults" ];
  };
  "/home" = {
    autoFormat = false;
    autoResize = false;
    depends = [ ];
    device = "zroot/root/home";
    encrypted = {
      blkDev = null;
      enable = false;
      keyFile = null;
      label = null;
    };
    formatOptions = "";
    fsType = "zfs";
    label = null;
    mountPoint = "/home";
    neededForBoot = false;
    noCheck = false;
    options = [ "defaults" "zfsutil" ];
  };
}

The relevant error log parts from sudo journalctl --boot is as follows
(cleaned some probably irrelevant logs from the middle):
Jan 14 09:37:46 nixos-desktop zfs[1008]: cannot mount 'zroot/root/home': mountpoint or dataset is busy
Jan 14 09:37:46 nixos-desktop systemd[1]: Mounted FUSE Control File System.
Jan 14 09:37:46 nixos-desktop systemd[1]: Mounted Kernel Configuration File System.
Jan 14 09:37:46 nixos-desktop systemd[1]: Finished Apply Kernel Variables.
Jan 14 09:37:46 nixos-desktop systemd[1]: Finished Create Static Device Nodes in /dev.
Jan 14 09:37:46 nixos-desktop systemd[1]: Reached target Preparation for Local File Systems.
Jan 14 09:37:46 nixos-desktop systemd[1]: home.mount: Directory /home to mount over is not empty, mounting anyway.
Jan 14 09:37:46 nixos-desktop systemd[1]: Mounting /home...
Jan 14 09:37:46 nixos-desktop systemd[1]: Starting Rule-based Manager for Device Events and Files...
Jan 14 09:37:46 nixos-desktop systemd[1]: Finished Load/Save Random Seed.
Jan 14 09:37:46 nixos-desktop systemd-udevd[1080]: Using default interface naming scheme 'v252'.
Jan 14 09:37:46 nixos-desktop systemd[1]: zfs-mount.service: Main process exited, code=exited, status=1/FAILURE
Jan 14 09:37:46 nixos-desktop systemd[1]: zfs-mount.service: Failed with result 'exit-code'.
Jan 14 09:37:46 nixos-desktop systemd[1]: Failed to start Mount ZFS filesystems.

Output from zfs list is as follows:
➜ zfs list
NAME               USED  AVAIL     REFER  MOUNTPOINT
zroot             19.9G   211G       24K  /zroot
zroot/root        19.9G   211G       25K  /zroot/root
zroot/root/home   9.23G   211G     9.23G  /zroot/root/home
zroot/root/nixos  10.7G   211G     10.7G  /zroot/root/nixos

Finally, even though the boot goes to emergency mode due to the failing
mounting, simply continuing will then successfully mount the /home mount
without any further issues in use. So this is a somewhat minor issue.
Steps To Reproduce
Steps to reproduce the behavior:

Use the above fileSystems config with correctly partitioned single-drive setup
Install nixos and reboot
Boot fails with the above error log

However, the issue seems to appear somewhat sporadically during reboots.
Currently, it occurs every time I boot the machine. But when I tried to debug
the issue, sometimes the issue occurred and sometimes not even with the same
config.
Expected behavior
I expected the boot to succeed.
Notify maintainers
zfs package maintainers (hopefully correct):
@jcumming @jonringer @wizeman @globin
Additional info
I first posted this issue in nix-community/disko
(https://github.com/nix-community/disko/issues/114) as I used it for
partitioning and mounting the drives. But the relevant fileSystems
config should be the one pasted above (printed from the final config
produced by disko). For additional info you can check the issue thread
there (e.g. some settings I have tried to use to debug the issue with no
success).
As mentioned in that thread, I suspect there is a race condition with
some systemd service that creates the empty user directory.
My host configuration with relevant parts:

default.nix
i.e. configuration.nix
hardware-configuration.nix
disko
partitions.nix

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
➜ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 5.15.86, NixOS, 23.05 (Stoat), 23.05.20230113.befc839`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.12.0`
- nixpkgs: `/nix/store/ci0324339l5i3x7q68vigpfcf1jicsgs-source`

This might be unrelated, but the first thing I would try would be to do the following:
$ zfs set mountpoint=legacy zroot/root/home

Otherwise, it might be possible that /home is trying to be mounted by both systemd and zfs during boot.
I usually recommend disabling zfs's auto-mount functionality (by setting mountpoint=legacy on all ZFS filesystems that you want to mount during boot) and using systemd exclusively to auto-mount filesystems during boot (using NixOS's fileSystems config option). The reason is that systemd can correctly mount filesystems in their proper order when you have a mix between ZFS and non-ZFS filesystems.
If that alone doesn't fix it, I would try the following:

Login as root
Log out all other users
Run umount /home a few times (until umount complains "not mounted")
Check to see if there are files/directories in /home

If there are any files or directories in /home at this point, these files/directories are in your root filesystem rather than your home filesystem, so you should move them out of the way, mount /home and then move them back into their place.

Also, I would try removing all the "zfsutil" mount options.

This might be unrelated, but the first thing I would try would be to do the following:
$ zfs set mountpoint=legacy zroot/root/home

Otherwise, it might be possible that /home is trying to be mounted by both systemd and zfs during boot.
I usually recommend disabling zfs's auto-mount functionality (by setting mountpoint=legacy on all ZFS filesystems that you want to mount during boot) and using systemd exclusively to auto-mount filesystems during boot (using NixOS's fileSystems config option). The reason is that systemd can correctly mount filesystems in their proper order when you have a mix of ZFS and non-ZFS filesystems.

I am unable to test if this would work currently. Will get back to it later hopefully.
However, I am also interested if these are issues nix-community/disko should take into account when giving examples or guidance on creating a partition layout? (@mic92 @Lassulus ). Understandably, partitioning can be complex enough that not all cases or invalid layouts can be explored, so sorry for the tag if this is out-of-scope of disko.

If that alone doesn't fix it, I would try the following:
1. Login as root

2. Log out all other users

3. Run `umount /home` a few times (until umount complains "not mounted")

4. Make sure that /home is not mounted by running `grep home /proc/mounts` and verifying that the output of that command is empty

5. Check to see if there are files/directories in /home, including hidden files (e.g. try `ls -la /home`, for instance)

If there are any files or directories in /home at this point, these files/directories are in your root filesystem rather than your home filesystem, so you should move them out of the way, mount /home and then move them back into their place.

I did this during my debugging, the issue is an empty user directory in /home. E.g. /home/nialov. No other files seem to exist that would conflict with the /home mount. Deleting that directory makes the mount succeed as expected. But the directory is created again during a new reboot. If the systemd service that creates that directory could be known, I suppose it could be modified by the user to not create that directory or wait for the zfs-mount service etc.

I did this during my debugging, the issue is an empty user directory in /home. E.g. /home/nialov.

But the directory is created again during a new reboot.

I think this issue that you mentioned is known: https://github.com/NixOS/nixpkgs/issues/6481
However, judging from the following systemd message from your log, this should not be preventing /home from being mounted by systemd:
Jan 14 09:37:46 nixos-desktop systemd[1]: home.mount: Directory /home to mount over is not empty, mounting anyway.

The failure seems to come from the zfs-mount.service unit, which indicates that it's ZFS's auto-mount functionality which is failing.
I think changing the mountpoint property to legacy would work around this problem, by preventing ZFS from racing with systemd in mounting ZFS filesystems during boot.
Alternatively (i.e. if you prefer ZFS to mount the filesystem instead of systemd), you could try removing /home from fileSystems in the NixOS configuration instead of setting mountpoint to legacy.
However, generally speaking I recommend using systemd to mount ZFS filesystems due to systemd being aware of non-ZFS filesystems and thus being able to mount all filesystems in their proper order.

Thank you, I opted to not using a dataset for the /home/ to still continue using zfs-mount automount functionality. Switching to legacy seems to be the only way to avoid the race condition.
Can the automount functionality and using legacy mountpoints be mixed freely? I.e. using legacy for /home.
This issue can be considered "fixed" for me as I now know what to avoid what the expected errors might be. You can close it if deemed suitable or keep it open for future reference. I suppose this is a quite a major caveat when using the automount functionality of zfs.

Thank you, I opted to not using a dataset for the /home/ to still continue using zfs-mount automount functionality. Switching to legacy seems to be the only way to avoid the race condition.

I think you should be able to use ZFS auto-mount for /home as long as you don't add it to the fileSystems option in your configuration.nix. As far as I understand, it's the latter that makes systemd try to mount the filesystem. So you should use either one or the other: either use ZFS auto-mount, or use systemd to mount it (with the fileSystems option).
I think the race condition should only arise when both ZFS and systemd try to mount the same filesystem(s) or when a ZFS filesystem is mounted atop a systemd-mounted one (or vice-versa), except when mounting atop the root filesystem which should not be an issue (I think).

Can the automount functionality and using legacy mountpoints be mixed freely? I.e. using legacy for /home.

As far as I know, yes.

Thank you for the clarification (and patience to explain these things! :D) as I had misunderstood some parts!
But if I do not add /home as a fileSystems option, there would be no reference to it in the NixOS configuration, correct?

But if I do not add /home as a fileSystems option, there would be no reference to it in the NixOS configuration, correct?

Yes, but as far as I know, that only means that NixOS will not configure systemd to mount/unmount this filesystem automatically. However, ZFS should do it instead.
From the point of view of NixOS, it will look like /home was mounted manually, I think.

I seem to be unable to reproduce this issue with Root on ZFS guide.  That guide uses a separate dataset for /home and mounts it with legacy mount point in configuration.nix.

I seem to be unable to reproduce this issue with Root on ZFS guide. That guide uses a separate dataset for /home and mounts it with legacy mount point in configuration.nix.

As I understand it, this issue is not a problem if you use /home (or other similar directory systemd uses) as a legacy mount point. In good guides and documentation this should be mentioned to avoid this issue as was done in the guide you linked.

The non-empty mount point bit is a red herring, I see the same issue (mountpoint or dataset is busy leading to local-fs.target failure) with one specific dataset as well, but I am fairly certain it is some sort of odd race condition with systemd mounting.
Also, unfortunately nixos/modules/system/boot/stage-1.nix makes use of the zfsutil option to determine whether or not the mount.zfs helper is required to mount a given filesystem. It probably shouldn't; we should likely just always use the helper for zfs filesystems, relying on fsType = zfs instead of a mount point.
I think the best solution to this is likely implementing #62644, as that would allow sane integration of systemd mounts with zfs mount configuration, without having to fall back to using only legacy mounts. I'm testing it out locally at the moment, and so far so good, but given the issue is racey to begin with I can't be certain as of yet that it is solved...


Create a command to upgrade the local version installed

Feature Request
Is your feature request related to a problem? Please describe.
If the user would like to update the local installation needs came to be to docs and guess that re-install it again will works which is not a good experience.
Describe the solution you'd like
Add a new command operator-sdk upgrade for example which will check the SO re-install it to get the latest version. E.g For MacOS it should exec  "brew install operator-sdk"

An SDK for building operators with ease

Usage:
  operator-sdk [command]

Available Commands:
  add         Adds a controller or resource to the project
  build       Compiles code and builds artifacts
  completion  Generators for shell completions
  generate    Invokes specific generator
  help        Help about any command
  migrate     Adds source code to an operator
  new         Creates a new operator application
  olm-catalog Invokes a olm-catalog command
  print-deps  Print Golang packages and versions required to run the operator
  run         Runs a generic operator
  scorecard   Run scorecard tests
  test        Tests the operator
  up          Launches the operator
  version     Prints the version of operator-sdk

IMO, this would add too much complexity to operator-sdk.
For homebrew users, I think it's reasonable to expect them to use the brew CLI to upgrade their package natively, since that's how they do it for all other brew-installed packages.
For non-homebrew users, there are currently two methods:

Download it from our releases page. This could be scripted fairly easily (just have to pass in a version number). It could also be improved with #1398.
Build from source. This is pretty simple for existing users. (cd operator-sdk; git co v0.8.0; make install)

Another option could be to pursue creating a package for major OSes (maybe a .rpm and .deb)

It is fine. Please, feel to close if you think that add it is not the best way.

Hi @joelanford,
I think reinstall it again is fine. It is the same approach of Minishift and many other tools. We just need to make clear it in the docs as it is for Minishift for example.

@camilamacedo86 Sounds good. I'll close this one then. If you think we need to clarify anything in the install doc, feel free to open an issue or PR for that!


[Distributed] Disable some tests on optimized builds until we fix

rdar://90129442

@kavon please merge using super powers 🙏