MacOS 10.5 20201011.1 build resolution issue

Description
I have a React Native application in App Center. At some point yesterday, 20201011.1 was rolled out, and now all of my builds are failing. Specifically, there are errors resolving files within a Pod dependency (Braintree). There doesn't seem to be any release branch or documentation in this repository, so I'm not sure what exactly changed between 20201011.1 and the last working version 20201003.1.
Area for Triage:
Apple
Question, Bug, or Feature?:
Bug
Virtual environments affected

[x] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[ ] Ubuntu 20.04 LTS
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Expected behavior
In 20201003.1, the build log shows the following output for building the Braintree Pod:
CreateBuildDirectory /Users/runner/Library/Developer/Xcode/DerivedData/bookofthemonth-ajnelrlzioikrefiqgehrdieliqy/Build/Intermediates.noindex/ArchiveIntermediates/bookofthemonth/IntermediateBuildFilesPath (in target 'BraintreeDropIn-Braintree-UIKit-Localization' from project 'Pods')
CreateBuildDirectory /Users/runner/Library/Developer/Xcode/DerivedData/bookofthemonth-ajnelrlzioikrefiqgehrdieliqy/Build/Intermediates.noindex/ArchiveIntermediates/bookofthemonth/InstallationBuildProductsLocation (in target 'BraintreeDropIn-Braintree-UIKit-Localization' from project 'Pods')
CreateBuildDirectory /Users/runner/Library/Developer/Xcode/DerivedData/bookofthemonth-ajnelrlzioikrefiqgehrdieliqy/Build/Intermediates.noindex/ArchiveIntermediates/bookofthemonth/BuildProductsPath (in target 'BraintreeDropIn-Braintree-UIKit-Localization' from project 'Pods')
WriteAuxiliaryFile /Users/runner/Library/Developer/Xcode/DerivedData/bookofthemonth-ajnelrlzioikrefiqgehrdieliqy/Build/Intermediates.noindex/ArchiveIntermediates/bookofthemonth/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree.build/Braintree-own-target-headers.hmap (in target 'Braintree' from project 'Pods')
write-file /Users/runner/Library/Developer/Xcode/DerivedData/bookofthemonth-ajnelrlzioikrefiqgehrdieliqy/Build/Intermediates.noindex/ArchiveIntermediates/bookofthemonth/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree.build/Braintree-own-target-headers.hmap
WriteAuxiliaryFile /Users/runner/Library/Developer/Xcode/DerivedData/bookofthemonth-ajnelrlzioikrefiqgehrdieliqy/Build/Intermediates.noindex/ArchiveIntermediates/bookofthemonth/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree.build/Braintree.hmap (in target 'Braintree' from project 'Pods')
write-file /Users/runner/Library/Developer/Xcode/DerivedData/bookofthemonth-ajnelrlzioikrefiqgehrdieliqy/Build/Intermediates.noindex/ArchiveIntermediates/bookofthemonth/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree.build/Braintree.hmap

I verified that neither the Braintree Pod nor any of its dependencies were updated yesterday.
Actual behavior
In 20201011.1, the build logs shows the following output instead:
CreateBuildDirectory /Users/runner/Library/Developer/Xcode/DerivedData/bookofthemonth-ajnelrlzioikrefiqgehrdieliqy/Build/Intermediates.noindex/ArchiveIntermediates/bookofthemonth/IntermediateBuildFilesPath (in target 'Braintree' from project 'Pods')
CreateBuildDirectory /Users/runner/Library/Developer/Xcode/DerivedData/bookofthemonth-ajnelrlzioikrefiqgehrdieliqy/Build/Intermediates.noindex/ArchiveIntermediates/bookofthemonth/InstallationBuildProductsLocation (in target 'Braintree' from project 'Pods')
CreateBuildDirectory /Users/runner/Library/Developer/Xcode/DerivedData/bookofthemonth-ajnelrlzioikrefiqgehrdieliqy/Build/Intermediates.noindex/ArchiveIntermediates/bookofthemonth/BuildProductsPath (in target 'Braintree' from project 'Pods')
WriteAuxiliaryFile /Users/runner/Library/Developer/Xcode/DerivedData/bookofthemonth-ajnelrlzioikrefiqgehrdieliqy/Build/Intermediates.noindex/ArchiveIntermediates/bookofthemonth/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree.build/Braintree.hmap (in target 'Braintree' from project 'Pods')
write-file /Users/runner/Library/Developer/Xcode/DerivedData/bookofthemonth-ajnelrlzioikrefiqgehrdieliqy/Build/Intermediates.noindex/ArchiveIntermediates/bookofthemonth/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree.build/Braintree.hmap
WriteAuxiliaryFile /Users/runner/Library/Developer/Xcode/DerivedData/bookofthemonth-ajnelrlzioikrefiqgehrdieliqy/Build/Intermediates.noindex/ArchiveIntermediates/bookofthemonth/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree.build/Braintree-own-target-headers.hmap (in target 'Braintree' from project 'Pods')
write-file /Users/runner/Library/Developer/Xcode/DerivedData/bookofthemonth-ajnelrlzioikrefiqgehrdieliqy/Build/Intermediates.noindex/ArchiveIntermediates/bookofthemonth/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree.build/Braintree-own-target-headers.hmap

Repro steps
I will try to reproduce with a clean React Native project that matches our dependency setup and post here.

Hello @crisvergara , could you please provide repro steps for your issue and full build logs?
If your repository is private, I suggest contact App Center Support team and they will be able to retrieve information for investigation.

I got a response from appcenter support.
Thanks for your reply. After checked the build log, I found all the errors are double-quoted include "XXX.h" in framework header, expected angle-bracketed instead [-Werror,-Wquoted-include-in-framework-header].

This issue can be solved in two ways.

Upgrading Cocoapods to the pre-release version 1.10.0.You can upgrade the cocoapods by build script: $ [sudo] gem install cocoapods --pre. Then click save and build from build config
Another is to try to set have CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER to NO in Xcode Settings.
Please let us know if these works or not.

The flag CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER is unset in my project. The default is NO, but that's changing in Xcode 12: https://github.com/CocoaPods/CocoaPods/issues/9902
I'm going to try running gem install cocoapods --pre in my build script and see if that helps, but AFAIK the new image still uses Xcode 11.3, and shouldn't be having this problem.

Build logs here: https://gist.github.com/crisvergara/078218e45379321c5924e0546b118ab2

Thank you for additional details.
Changelog for this image will be available soon. The most important changes:

Node.JS 12 was updated from 12.18.4 to 12.19.0
Node.JS 14 was updated from 14.13.0 to 14.13.1
Xcode 12.0 beta 6 was removed from images

Considering that you use Node.JS 10 and Xcode 11.3, It shouldn't impact you. Also no changes in cocoapods version or something similar.
We don't have much experience with Cocoapods so probably App Center supports have better knowledge here.
We can just share a few advices:

Try to create new test branch from commit of your successful build and run build on this branch. This way you will confirm that issue is not related to your changes
I see some exceptions in "Update Xcode build settings" step. Not sure that it is root cause because I see the same errors in successful log but it is strange

Target was changed Braintree to BraintreeDropIn-Braintree-UIKit-Localization between builds. I guess that it is root cause but not sure why it happened. We don't do something on image side that could cause it.

I tried pushing a previously successful commit, and unfortunately I had the same issue. For that reason, I don't think my code is the problem. Only change as far as I could tell was the image.
I'm still trying to get my post-clone script to trigger, but app center can be finicky sometimes. I'll keep you updated.

Updating cocoapods in a post-clone script seems to fix the issue for me.

I'll close the issue for now, but feel free to reopen if the problem will occur again or if you have any concerns.
Thank you!

@LeonidLapshin We have the similar issue for our native iOS project. We use Xcode 12, have pods versions fixed and manually install 1.8.4 version of CocoaPods in the Post Clone Script. We didn't have any code changes, but our App Center builds started to fail since yesterday on the virtual environment with version: 20201011.1 with this error:
CompileC /Users/runner/Library/Developer/Xcode/DerivedData/Project-fanhuvervdijnmceetejwbevyblj/Build/Intermediates.noindex/ArchiveIntermediates/Target/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree-7ed364bf.build/Objects-normal/arm64/PPOTSwitchRequest.o /Users/runner/work/1/s/Pods/Braintree/BraintreePayPal/PayPalOneTouch/Models/PPOTSwitchRequest.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'Braintree-7ed364bf' from project 'Pods')
    cd /Users/runner/work/1/s/Pods
    export LANG\=en_US.US-ASCII
    /Applications/Xcode_12.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target arm64-apple-ios8.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu11 -fobjc-arc -fobjc-weak -fmodules -gmodules -fmodules-cache-path\=/Users/runner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/runner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -fmodule-name\=Braintree -Wno-trigraphs -fpascal-strings -Os -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Wquoted-include-in-framework-header -Wno-implicit-atomic-properties -Werror\=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DPOD_CONFIGURATION_RELEASE\=1 -DCOCOAPODS\=1 -DNS_BLOCK_ASSERTIONS\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode_12.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability -fembed-bitcode -iquote /Users/runner/Library/Developer/Xcode/DerivedData/Project-fanhuvervdijnmceetejwbevyblj/Build/Intermediates.noindex/ArchiveIntermediates/Target/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree-7ed364bf.build/Braintree-generated-files.hmap -I/Users/runner/Library/Developer/Xcode/DerivedData/Project-fanhuvervdijnmceetejwbevyblj/Build/Intermediates.noindex/ArchiveIntermediates/Target/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree-7ed364bf.build/Braintree-own-target-headers.hmap -I/Users/runner/Library/Developer/Xcode/DerivedData/Project-fanhuvervdijnmceetejwbevyblj/Build/Intermediates.noindex/ArchiveIntermediates/Target/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree-7ed364bf.build/Braintree-all-non-framework-target-headers.hmap -ivfsoverlay /Users/runner/Library/Developer/Xcode/DerivedData/Project-fanhuvervdijnmceetejwbevyblj/Build/Intermediates.noindex/ArchiveIntermediates/Target/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree-7ed364bf.build/all-product-headers.yaml -iquote /Users/runner/Library/Developer/Xcode/DerivedData/Project-fanhuvervdijnmceetejwbevyblj/Build/Intermediates.noindex/ArchiveIntermediates/Target/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree-7ed364bf.build/Braintree-project-headers.hmap -I/Users/runner/Library/Developer/Xcode/DerivedData/Project-fanhuvervdijnmceetejwbevyblj/Build/Intermediates.noindex/ArchiveIntermediates/Target/BuildProductsPath/Release-iphoneos/Braintree-7ed364bf/include -I/Users/runner/Library/Developer/Xcode/DerivedData/Project-fanhuvervdijnmceetejwbevyblj/Build/Intermediates.noindex/ArchiveIntermediates/Target/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree-7ed364bf.build/DerivedSources-normal/arm64 -I/Users/runner/Library/Developer/Xcode/DerivedData/Project-fanhuvervdijnmceetejwbevyblj/Build/Intermediates.noindex/ArchiveIntermediates/Target/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree-7ed364bf.build/DerivedSources/arm64 -I/Users/runner/Library/Developer/Xcode/DerivedData/Project-fanhuvervdijnmceetejwbevyblj/Build/Intermediates.noindex/ArchiveIntermediates/Target/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree-7ed364bf.build/DerivedSources -F/Users/runner/Library/Developer/Xcode/DerivedData/Project-fanhuvervdijnmceetejwbevyblj/Build/Intermediates.noindex/ArchiveIntermediates/Target/BuildProductsPath/Release-iphoneos/Braintree-7ed364bf -Wall -Werror -Wextra -include /Users/runner/work/1/s/Pods/Target\ Support\ Files/Braintree-7ed364bf/Braintree-7ed364bf-prefix.pch -MMD -MT dependencies -MF /Users/runner/Library/Developer/Xcode/DerivedData/Project-fanhuvervdijnmceetejwbevyblj/Build/Intermediates.noindex/ArchiveIntermediates/Target/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree-7ed364bf.build/Objects-normal/arm64/PPOTSwitchRequest.d --serialize-diagnostics /Users/runner/Library/Developer/Xcode/DerivedData/Project-fanhuvervdijnmceetejwbevyblj/Build/Intermediates.noindex/ArchiveIntermediates/Target/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree-7ed364bf.build/Objects-normal/arm64/PPOTSwitchRequest.dia -c /Users/runner/work/1/s/Pods/Braintree/BraintreePayPal/PayPalOneTouch/Models/PPOTSwitchRequest.m -o /Users/runner/Library/Developer/Xcode/DerivedData/Project-fanhuvervdijnmceetejwbevyblj/Build/Intermediates.noindex/ArchiveIntermediates/Target/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Braintree-7ed364bf.build/Objects-normal/arm64/PPOTSwitchRequest.o
In file included from /Users/runner/work/1/s/Pods/Braintree/BraintreePayPal/PayPalOneTouch/Models/PPOTSwitchRequest.m:15:
In file included from /Users/runner/work/1/s/Pods/Braintree/BraintreePayPal/PayPalDataCollector/PPDataCollector_Internal.h:8:
/Users/runner/work/1/s/Pods/Braintree/BraintreePayPal/PayPalDataCollector/Public/PPDataCollector.h:9:9: error: double-quoted include "PPRMOCMagnesResult.h" in framework header, expected angle-bracketed instead [-Werror,-Wquoted-include-in-framework-header]
#import "PPRMOCMagnesResult.h"
        ^~~~~~~~~~~~~~~~~~~~~~
        <PPRMOCMagnesResult.h>
1 error generated.

@LeonidLapshin @maxim-lobanov @MaksimZhukov Could you please reopen this issue?

@evnik , could you please provide minimal project with repro steps for this issue?
Unfortunately, we can't reproduce it from our side so we can't proceed with further investigation until we have repro steps.
We have a bunch of Cocoapods test apps that we use for image validation and they work as expected with new image.
I guess that it can be something specific related to Braintree module.

I have found a few related issues where customers report the same problem (inside CI and even on local machine):

https://github.com/CocoaPods/CocoaPods/issues/9902
https://developer.apple.com/forums/thread/651941

Could you please try provided solutions to see if it helps?

@maxim-lobanov thank you for reopening.
The issues you mentioned exist for a while, but we've never seen them on our project. And we use specific CocoaPods version. The image version is the only thing that was changed for our builds.
We have raised an issue with App Center support and the issue ID should be #KG8AE0CL, will you be able to follow up using that?
Meanwhile I can try to build an example to reproduce the issue.

@maxim-lobanov actually, it's quite easy to reproduce:

I've forked Braintree iOS SDK
Setup App Center build for master branch in that repo with the next configuration:

Project/Workspace: Braintree.xcworkspace
Shared Scheme: Demo
Xcode version: 12.0

Save & Build

Build is failed with similar errors. Here is the build log BraintreeDemoBuild1.zip

Hello everyone!
We have investigated this problem deeper, analyzed change log of new image but unfortunately, we still don’t know the root cause of this problem. Neither CocoaPods nor any other tools have been updated.
Actually, this issue is known issue with CocoaPods on Xcode 12, please follow these links for more information:

https://github.com/CocoaPods/CocoaPods/issues/9902
https://stackoverflow.com/questions/63646607/xcode-12-using-firebase-pods-lexical-or-preprocessor-issue-pb-h-file-not-fou/63648164#63648164
https://developer.apple.com/forums/thread/651941

The root cause is that Xcode setting CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER default value has been changed from No to Yes in Xcode 12.  CocoaPods team has acknowledged the issue and fixed it in 1.10.0.rc.1.
Please use the following workarounds:

Use Cocoapods 1.10.0.rc.1:

sudo gem uninstall cocoapods --all
sudo gem install cocoapods -v 1.10.0.rc.1

Set CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER to No in your project settings

The single question is why it started to fail only on the new image. Based on information in issues, this problem is related to Xcode 12.0 itself and should have reproduced earlier with Xcode 12.
The single suspicious change on this image is removing Xcode 12 beta 6, previously it was installed side by side with Xcode 12.0 GM but we have removed it because it is not required anymore. Previously, we have already faced with issues when multiple Xcode versions installed side by side can conflict and override settings of each other. Probably, it is the reason why we didn’t see this issue earlier.
We are working on further investigation.

Set CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER to No in your project settings

The project settings change won't fix it, but change in the Pods project does. To do it, you might add post_install hook to the Podfile:
post_install do |installer|
  installer.pods_project.build_configurations.each do |config|
    config.build_settings['CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER'] = 'NO'
  end
end

I confirm this fixes the issue on my fork with CocoaPods 1.9.3

issues when multiple Xcode versions installed side by side can conflict and override settings of each other

@MaksimZhukov That makes sense, because I could reproduce the issue even if I select Xcode 11.x in the build configuration (I mean before the workaround for CocoaPods was applied)

Hello @evnik @crisvergara
We have found root cause of this issue. It is caused by one of Cocoapods dependencies. Despite the fact that Cocoapods itself was not updated, one of its dependencies xcodeproj was updated. As a result, pod install forces CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER to YES for all projects. It explains why it impacts all Xcode versions.
For now, we are working to rollback previous image and deploy the new one with freezing previous version of xcodeproj dependency.
I have reported an issue to cocoapods. Let's wait for their answer: https://github.com/CocoaPods/CocoaPods/issues/10153

Hello @evnik @crisvergara
We have found root cause of this issue. It is caused by one of Cocoapods dependencies. Despite the fact that Cocoapods itself was not updated, one of its dependencies xcodeproj was updated. As a result, pod install forces CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER to YES for all projects. It explains why it impacts all Xcode versions.
For now, we are working to rollback previous image and deploy the new one with freezing previous version of xcodeproj dependency.
I have reported an issue to cocoapods. Let's wait for their answer: CocoaPods/CocoaPods#10153

Thank you for this, and your response on this Issue: https://github.com/CocoaPods/CocoaPods/issues/10153
We also use App Centre, and can confirm that rolling back to Cocoapods version 1.10.0.rc1 has resolved the issue and our builds are working again.

Hello everyone, we rolled back our image and added tests to prevent such kind of issues in future. I close the issue. Feel free to reopen the issue if you have any concerns.


Docs: migrating-3.x link to list of functions

The migration guide for updates from v3 to v4 is very helpful: https://h3geo.org/docs/library/migrating-3.x/
Unfortunately, the link (in the text, not the navigation) to the list of functions… behaves in an interesting way. It works under some circumstances, doesn't under others.

When opening the link in a new tab (i.e. page loaded as full HTTP request) everything is fine
When opening the link inside the documentation page, it tries to open https://h3geo.org/docs/library/migrating-3.x/migration-3.x/functions (mind migrating-3.x [the file] vs migration-3.x [the folder]) - which does not work..

I was going to create a PR but I don't really know what to propose as things look sane in the source. Maybe it's a bug in Docusaurus?

I think this has to do with the file not matching up between slug / sidebar / location. I am able to fix it locally, although I don't see open as new tab as working.

Thanks for the effort (and thanks for catching that it actually affects all links on that page). However, this did not improve things on my end, just changed how it misbehaves. Now the links have a double library/library/ in their path. I suspect it's the JS on the page interfering on click, as the URLs are fine on link hover/new page open.

Ah, ok. This might indeed be a docusaurus bug. Could you post your OS version, browser name and version, and any browser extensions you're using that might be relevant?

I'm happy to provide browser information if that helps. But as I'm able to reproduce this on 3 browsers across 2 platforms, I'm confident that the cause lies somewhere else.
What happens if you open the first link in the ticket description (taking you to https://h3geo.org/docs/library/migrating-3.x/) and click on the "function names have changed" link in the text?

My mistake, there is some difference between the built site and the yarn start hosted development site. The links are working on the development version only.


Will it be ok if, we can reduce the number of lines while handling responses to be sent to client.

I took lets-chat app as base of examples to built up a npm module rb https://github.com/nodeofcode/response-builder#examples
with some key features:

Clean and manageable
Writing little code
logging all the errors automatically, whether on terminal/file
setting up status code for error and success automatically
automatically detect 404 cases and sent 404 response in those cases.
attaching a unique requestId each time a response a sent. So that it can debuged easily on prod
Adding extra fields like, message or status code automatically while sending response
what if we can send the lets-chat version information with each response sent to client. That can have many advantages

many other..
Please look into the above module.
If everything is good with this module and if found at least few positive responses, asking to use rb module in lets-chat development, then I can sent pull-request(with rb used throughout the nodejs code) in next few days.

Hi,
I took a quick look at your library. I have a couple of reservations:

Firstly, you may need to modify your library to work with Let's Chat. We use a library called express.oi, which means that the express routes serve both socket.io events and HTTP requests. For instance, util.isValidRequest would return false for socket.io events.

Secondly, I feel like some of the examples in the README are less readable than the original code snippets. I also would be a little concerned that this library would make it more challenging for new contributors to Let's Chat.

We are actually considering switching away from express to hapi.js. That framework seems to have addressed a lot of express' short-comings, and also addresses a lot of the things you mention in your comment above.

Closing this for now. Seems like something to contribute to [express.oi] ;D


Empty Data Frame/ Missing library?

Hey together, I got an issue calling this stuff:
`import yfinance as yf
ticker = yf.Ticker('MSFT')
print(ticker.financials)`
I just get an empty Data-Frame. Two hours ago it worked, but then I uninstalled a couple of libraries and since then it stopped working. The .info an .history are still working fine, its just the .financials and .bilancesheet etc.
I did not uninstall numpy, pandas and the other libraries given in the explanation of Ran.
Has anyone of you an idea what is the problem?
Thanks a lot,
Tim

Somebody posted a potential solution,  I didn't tested yet.
https://github.com/ranaroussi/yfinance/issues/181#issuecomment-581093593

I don't quite know what to do there?

For all with the same problem: Posted a solution here #191


added inference model interface for sharing between layer model and frozen model

This change is

Needs a bit more more polish on the doc. Ping me when you take a pass and I'll take another look.

Review status: 0 of 2 files reviewed at latest revision, all discussions resolved, some commit checks failed.

src/types.ts, line 149 at r1 (raw file):

/**
 * Common interface for rxjs inference model.

why rxjs? Rephrase as: Common interface for a machine learning model that can do inference.

src/types.ts, line 155 at r1 (raw file):

   * Execute the inference for the input tensors.
   * When there is single input for the model, inputs param should be a Tensor
   * and Tensor[] for batch mode. For models with mutliple inputs, inputs params

I don't think this is the correct. Model with multiple inputs takes Tensor[]. Please read carefully the params in https://js.tensorflow.org/api/0.11.1/#tf.Model.predict

src/types.ts, line 156 at r1 (raw file):

   * When there is single input for the model, inputs param should be a Tensor
   * and Tensor[] for batch mode. For models with mutliple inputs, inputs params
   * should be in NamedTensorMap format, and NamedTensorMap[] for batch mode.

What is batch mode? How are using enabling/disabling batch mode?

src/types.ts, line 163 at r1 (raw file):

   * The output would be a Tensor if there is single output node or
   * Tensor[] for batch mode. For model with multiple outputs either
   * NamedTensorMap or NamedTensorMap[] will be returned.

again check docs in https://js.tensorflow.org/api/0.11.1/#tf.Model.predict. I think this is incorrect.

Comments from Reviewable

Review status: 0 of 2 files reviewed at latest revision, 4 unresolved discussions, some commit checks failed.

src/types.ts, line 156 at r1 (raw file):
Previously, dsmilkov (Daniel Smilkov) wrote…
What is batch mode? How are using enabling/disabling batch mode?

typo: using should be users

Comments from Reviewable

Review status: 0 of 2 files reviewed at latest revision, 4 unresolved discussions, some commit checks failed.

src/types.ts, line 149 at r1 (raw file):
Previously, dsmilkov (Daniel Smilkov) wrote…
why rxjs? Rephrase as: Common interface for a machine learning model that can do inference.

+1 This doesn't seem to have anything to do with RxJS.

src/types.ts, line 155 at r1 (raw file):
Previously, dsmilkov (Daniel Smilkov) wrote…
I don't think this is the correct. Model with multiple inputs takes Tensor[]. Please read carefully the params in https://js.tensorflow.org/api/0.11.1/#tf.Model.predict

+1 to what Daniel said. If the model has a single input SymbolicTensor, then inputs here must be either

a single Tensor
or
a single NamedTensorMap with only one key, where the key is the name of the SymbolicTensor.

If the model has > 1 input SymbolicTensors, the inpus can be

a single NamedTensorMap with n keys, where each key is the name of an input SymbolicTensor
or
Tensor[], in which the order of the Tensors matches the order of the SymbolicTensors.

So I still don't understand whyNamedTensorMap[] is needed here. It seems to me it is not needed.

Comments from Reviewable

 needs a bit more polish (jstags like @param and @return), but LGTM since nothing major.

Reviewed 1 of 2 files at r1.
Review status: 1 of 2 files reviewed at latest revision, 3 unresolved discussions, some commit checks failed.

src/index.ts, line 47 at r2 (raw file):

export {Scalar, Tensor, Tensor1D, Tensor2D, Tensor3D, Tensor4D, TensorBuffer, variable, Variable} from './tensor';
// tslint:disable-next-line:max-line-length
export {DataType, InferenceModel, ModelPredictConfig, NamedTensorMap, Rank, ShapeMap} from './types';

FYI, NamedTensorMap will conflict with the NamedTensorMap that is exported by the converter: https://github.com/tensorflow/tfjs-converter/blob/master/src/index.ts#L18
The conflict will happen at the union package since union merges everything under tf. So once you commit this, make sure to update converter to use the NamedTensorMap from core (will require another core patch release).

src/types.ts, line 156 at r1 (raw file):
Previously, pyu10055 (Ping Yu) wrote…
ud

thanks for removing "Batch mode"

src/types.ts, line 143 at r2 (raw file):

  /**
   * Output node names. Default to model graph outputs if not set.

Optional. List of output node names to evaluate when running predict(). Defaults to the model's default output.

src/types.ts, line 160 at r2 (raw file):

   *
   * For batch inference execution, the tensors for each input need to be
   * cancatenated together. For example with mobilenet, the required input shape

typo: concatenated

src/types.ts, line 168 at r2 (raw file):

   * node names.
   *
   * The output would be a Tensor if there is single output node, Tensor[] or

I would use the @param and @return jsdoc tags to split up this documentation into sections, respective for each param. Like what we do in model.predict in layers: https://github.com/tensorflow/tfjs-layers/blob/v0.6.1/src/engine/training.ts#L1054

Comments from Reviewable

Note though the comment about exporting NamedTensorMap and the conflict that will happen in union package.

thanks!

Review status: 1 of 2 files reviewed at latest revision, 6 unresolved discussions, some commit checks failed.

src/index.ts, line 47 at r2 (raw file):
Previously, dsmilkov (Daniel Smilkov) wrote…
FYI, NamedTensorMap will conflict with the NamedTensorMap that is exported by the converter: https://github.com/tensorflow/tfjs-converter/blob/master/src/index.ts#L18
The conflict will happen at the union package since union merges everything under tf. So once you commit this, make sure to update converter to use the NamedTensorMap from core (will require another core patch release).

yes, thank you for pointing that out.

src/types.ts, line 143 at r2 (raw file):
Previously, dsmilkov (Daniel Smilkov) wrote…
Optional. List of output node names to evaluate when running predict(). Defaults to the model's default output.

Done.

src/types.ts, line 160 at r2 (raw file):
Previously, dsmilkov (Daniel Smilkov) wrote…
typo: concatenated

Done.

src/types.ts, line 168 at r2 (raw file):
Previously, dsmilkov (Daniel Smilkov) wrote…
I would use the @param and @return jsdoc tags to split up this documentation into sections, respective for each param. Like what we do in model.predict in layers: https://github.com/tensorflow/tfjs-layers/blob/v0.6.1/src/engine/training.ts#L1054

Done.

Comments from Reviewable


Port out process for other countries

The section "Can you transfer or port out numbers?" relates to setting a PIN Code which only relates to numbers held within the United States. This should be expanded to the other regions that you allow transfers from.

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

ID: a17293e0-4c49-0e97-d5da-b48322f10928
Version Independent ID: c38c0726-5dec-d374-6948-2188d43025ef
Content: Transferring phone numbers common questions
Content Source: Teams/transferring-phone-numbers-common-questions.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

@brucelaing Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@officedocsbot assign @scanum

@brucelaing - you will need to submit a request to UserVoice (https://microsoftteams.uservoice.com/forums/555103-public) to add this feature. Thanks.


Fix weird rendering differences

Coverage remained the same at 83.333% when pulling 5c69cac4d8768cfb0806fd9096ed171dca1aa335 on fix-weird-rendering-differences into 31e91ef71e3d103014f1147c2cc20cc7e53e7f8d on master.


Add RHEL support & fix Dockerfile

Added the CentOS (Red Hat) line extracted from Build Info. Maybe in the future other distros will face the same issue, so adding either more distros or generalizing it will be required. I also fixed the Dockerfile in Readme, and I removed an unncessary line (installing python3 after it's already installed).

Thank you @raldebsi !!!

You're welcome, again, thanks for this repo.


save-logo option is misleading

What is downloaded by the save-logo option is more a low quality thumbnail than a real logo.
This option should be renamed save-thumbnail.
Anyway a real logo downloading option might be nice.

Maybe get the images from gogdb under details -> Images
https://www.gogdb.org/product/1207659026#details

Full size logo is downloaded as of 73d18dc

Great ! Thank you !
And thank you very much for this software !


[Candidate 1v1 Alfies Haven ZH v1] Oil Derricks, Oil Refineries and Artillery Platforms have custom rotations that make their flag less visible

Issue Description
Oil Derricks, Oil Refineries and Artillery Platforms have custom rotations that make their flag less visible.
Expected behavior
Oil Derricks, Oil Refineries and Artillery Platforms preferably have default rotation or a rotation that makes their flag highly visible.
Screenshots

This is a very annoying thing, especially when playing with the yellow color (whose flag is very similar to the neutral color). Sometimes you have to select a Oil to see if you have captured it or not.

Rotations in image 1 and 2 are not good. Rotation in image 2 is okay, though due the angle the flag is in a bit awkward rotation. The Oil pump also has house color.

Is only partly fixed.
Oil Refineries and Artillery Platforms are still sub-optimal.

updated

Only Oil Refineries remain not optimal rotated. Otherwise looks good. Demoting from blocker.


Paste to M$ Word from Quicksilver crashes Word

The issue is in the title. I have OS X 10.11, Quicksilver 1.3.1 and Word 2011 (14.5.5).
Pasting from the Quicksilver clipboard causes Word to crash and send a crash report to Microsoft but I can't find a saved crash report on my machine. I don't know where to look for more info.
I've had problems pasting into Apple mail as well but it doesn't crash the app.

My assumption is that this is a Microsoft problem. They have announced that they are working on fixes for MS Office for El Capitan. See http://www.macrumors.com/2015/10/05/microsoft-office-2016-el-capitan-bugs/ http://www.macrumors.com/2015/10/05/microsoft-office-2016-el-capitan-bugs/
I’m not seeing any crashes with QS 1.3.1, Word 2016 and OS X 10.1

On 6 Hyd 2015, at 22:24, StuartRob<EMAIL_ADDRESS>wrote:
The issue is in the title. I have OS X 10.11, Quicksilver 1.3.1 and Word 2011 (14.5.5).
Pasting from the Quicksilver clipboard causes Word to crash and send a crash report to Microsoft but I can't find a saved crash report on my machine. I don't know where to look for more info.
I've had problems pasting into Apple mail as well but it doesn't crash the app.
—
Reply to this email directly or view it on GitHub https://github.com/quicksilver/Quicksilver/issues/2116.

For what it’s worth, FireFox used to crash on pasting but seems to have stopped.


StarRocks Roadmap 2023

Refer to roadmap 2022

From OLAP to Lakehouse
Data lake analytics

[ ] Unified cache for data lake and StarRocks table
[x] CBO optimization for no statistics.
[ ] Incremental query and snapshot query from data lake
[ ] CTAS on data lake
[ ] Indexes on data lake
[x] Presto compatibility
[ ] Kerberos integration with external catalogs
[ ] More connectors(Kudu / Mongodb ... )
Better table format support

[ ] Better Hive/Iceberg/Hudi/Delta lake support
[ ] Hive/Iceberg/Hudi/Deltalake table sink
[x] Parquet/Orc file writer
[ ] Open format: combine lake and local into one table

More cloud integrations.

[ ] Blob store integration
[ ] Authentication and privileges.

Decoupled storage and computing

StarOS

[ ] LogStore: for low latency application (including Primary key index, MV, FE metadata and row store)
[ ] FileStore: High performance local storage
[ ] Resource manager: Support K8s and multi-cloud
[ ] Multi blob storage support

StarRocks based on StarOS

[x] Fully function support for StarRocks (All data model, all DDL, DML and compaction service)
[x] Multi-warehouse and multi-cluster
[ ] Decouple storage and computing for FE
[ ] Cloud native architecture for primary key
[ ] Time travel query
[ ] Global cache and serverless cluster

Core system
Query

[x] Operator spilling
[ ] New computing scheduling framework
[ ] Enhance Resource group ability for resource isolation
[ ] Adaptive Query Processing
[ ] Expression Codegen
[ ] Low cardinality optimization for nested type
[x] map/struct  native support, column reuse
[x] Generated column (former called materialized column)
[x] Query cache for join
[x] Lambda for all data types
[ ] GEO type and functions

Storage and data management

[ ] Support larger scale of metadata, including decoupled storage and computing for FE,  Fine-grained lock for metadata, multi-tenant management.
[ ] Unify metadata access through information schema.
[x] Wise number of buckets detection and distributed column selection.
[x] Auto partition creation and partition by expression.
[ ] Unified table models.
[ ] Richer support for SQL: full support for update and merge into syntax
[x] Better performance for partial update
[ ] Z-order index
[ ] Row-oriented storage engine
[ ] Full text / inverted index
[ ] Index for json / map
[ ] Key-value api query, bypass SQL layer to shortcut.

Real-time
Ingestion

[ ] Unified loading and unloading
[x] Schema registry integration
[ ] WAL support for high concurrency ingestion and millisecond level data freshness
[ ] Support external stream
[ ] Kinesis support
[x] Pb/avro data format support #16662

Materialized view

[ ] Streaming materialized view for single-table operator.
[ ] Streaming materialized view for multi-table join.
[ ] Streaming materialized view for deleting and updating.
[ ] StarRocks internal stream and binlog.
[ ] Materialized view for external stream.
[ ] Incremental refresh for external table materialized view.

Ecosystem
BI connector

[ ] Tableau connector / better compatibility
[ ] Metabase connector / better compatibility
[ ] Superset connector / better compatibility
[ ] Redash connector / better compatibility

SQL editor / notebook

[ ] DBeaver integration
[ ] Datagrip integration
[ ] Hex integration
[ ] QueryBook integration

ETL tools

[x] Airbyte connector https://github.com/StarRocks/starrocks/tree/main/contrib/destination-starrocks
[ ] Fivetran connector
[ ] Optimize the DBT connector

Compute engine

[ ] Optimize flink connector
[ ] Optimize spark connector

Monitor

[x] Datadog integration https://github.com/StarRocks/starrocks/tree/main/contrib/datadog-connector

Security

[x] Fully support for RBAC.
[ ] Plugin framework.
[ ] Ranger integration.

Release

[x] https://github.com/StarRocks/starrocks/issues/18125

This issue should   stick on the  top  of all issue. Please help put it to the Begin.

@Dshadowzh Can we update this?

@Dshadowzh  MongoDB connect Is anyone following up? If not, I'd love to try

@Dshadowzh MongoDB connect Is anyone following up? If not, I'd love to try

not yet, of course, more than welcome

https://github.com/dbeaver/dbeaver/issues/21583 ;)

airbyte 新版本0.63.13版本不支持貌似,能更新下docker连接器吗

airbyte 新版本0.63.13版本不支持貌似,能更新下docker连接器吗

"io.airbyte.integrations.destination.starrocks.exception.StreamLoadFailException: Stream load failed because of unknown exception, db: airbyte, table: _airbyte_tmp_bgb_example, label: airbyte__airbyte_tmp_bgb_example_e52eaaf1-861d-4b2b-9fca-bb2e795994821723452021594\n\tat io.airbyte.integrations.destination.starrocks.DefaultStreamLoader.send(DefaultStreamLoader.java:166)\n\tat io.airbyte.integrations.destination.starrocks.StarRocksBufferedConsumerFactory.lambda$recordWriterFunction$2(StarRocksBufferedConsumerFactory.java:100)\n\tat io.airbyte.integrations.destination.record_buffer.InMemoryRecordBufferingStrategy.flushAllBuffers(InMemoryRecordBufferingStrategy.java:87)\n\tat io.airbyte.integrations.destination.buffered_stream_consumer.BufferedStreamConsumer.close(BufferedStreamConsumer.java:291)\n\tat io.airbyte.integrations.base.FailureTrackingAirbyteMessageConsumer.close(FailureTrackingAirbyteMessageConsumer.java:82)\n\tat io.airbyte.integrations.base.Destination$ShimToSerializedAirbyteMessageConsumer.close(Destination.java:95)\n\tat io.airbyte.integrations.base.IntegrationRunner.runInternal(IntegrationRunner.java:186)\n\tat io.airbyte.integrations.base.IntegrationRunner.run(IntegrationRunner.java:123)\n\tat io.airbyte.integrations.destination.starrocks.StarRocksDestination.main(StarRocksDestination.java:51)\nCaused by: java.lang.NullPointerException: Cannot invoke "io.airbyte.integrations.destination.starrocks.StreamLoadResponse$StreamLoadResponseBody.getStatus()" because "streamLoadBody" is null\n\tat io.airbyte.integrations.destination.starrocks.DefaultStreamLoader.send(DefaultStreamLoader.java:132)\n\t... 8 more\n",
"timestamp" :<PHONE_NUMBER>291
}, {
"failureOrigin" : "destination",
"internalMessage" : "Destination process exited with non-zero exit code 1",
"externalMessage" : "Something went wrong within the destination connector",
"metadata" : {
"attemptNumber" : 0,
"jobId" : 220,
"connector_command" : "write"
},
"stacktrace" : "io.airbyte.workers.internal.exception.DestinationException: Destination process exited with non-zero exit code 1\n\tat io.airbyte.workers.general.BufferedReplicationWorker.readFromDestination(BufferedReplicationWorker.java:493)\n\tat io.airbyte.workers.general.BufferedReplicationWorker.lambda$runAsync$2(BufferedReplicationWorker.java:235)\n\tat java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)\n\tat java.base/java.lang.Thread.run(Thread.java:1583)\n",
"timestamp" :<PHONE_NUMBER>421
}, {
"failureOrigin" : "replication",
"internalMessage" : "io.airbyte.workers.exception.WorkerException: Destination process exit with code 1. This warning is normal if the job was cancelled.",
"externalMessage" : "Something went wrong during replication",
"metadata" : {
"attemptNumber" : 0,
"jobId" : 220
},
"stacktrace" : "java.lang.RuntimeException: io.airbyte.workers.exception.WorkerException: Destination process exit with code 1. This warning is normal if the job was cancelled.\n\tat io.airbyte.workers.general.BufferedReplicationWorker$CloseableWithTimeout.lambda$close$0(BufferedReplicationWorker.java:538)\n\tat io.airbyte.workers.general.BufferedReplicationWorker.lambda$runAsyncWithTimeout$5(BufferedReplicationWorker.java:263)\n\tat java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)\n\tat java.base/java.lang.Thread.run(Thread.java:1583)\nCaused by: io.airbyte.workers.exception.WorkerException: Destination process exit with code 1. This warning is normal if the job was cancelled.\n\tat io.airbyte.workers.internal.DefaultAirbyteDestination.close(DefaultAirbyteDestination.java:178)\n\tat io.airbyte.workers.general.BufferedReplicationWorker$CloseableWithTimeout.lambda$close$0(BufferedReplicationWorker.java:536)\n\t... 5 more\n",
"timestamp" :<PHONE_NUMBER>422
} ]
2024-08-12 08:40:22 platform >
2024-08-12 08:40:22 platform > ----- END REPLICATION -----
2024-08-12 08:40:22 platform >
2024-08-12 08:40:22 platform > Retry State: RetryManager(completeFailureBackoffPolicy=BackoffPolicy(minInterval=PT10S, maxInterval=PT30M, base=3), partialFailureBackoffPolicy=null, successiveCompleteFailureLimit=5, totalCompleteFailureLimit=10, successivePartialFailureLimit=1000, totalPartialFailureLimit=20, successiveCompleteFailures=1, totalCompleteFailures=1, successivePartialFailures=0, totalPartialFailures=0)
Backoff before next attempt: 10 seconds


Invocation of the function let add a b = a + b does not work on debug console

VSCode Version: 1.10.2
OS Version: Ubuntu 16.04

Steps to Reproduce:
1.create new F# project
2. On the main file paste
let sub (a, b) = a - b
let add a b =
a + b
3. place a breakpoint debug on the first line of the main and hit start debugging
4. enter (add 2 3) on debug console to be executed on the context which returns
error CS1026: ) expected
Interestingly when the parameter is constrained by a tuple like on sub it works:
sub (3, 2)
1
Also tested the add function on fsharpi from mono and it worked there.
Thanks for opening such a great language with a very respectable inheritance for non windows users.
Geraldo Lopes de Souza

VS Code does not support F# out of the box.
Please file this against the F# specific extension you are using.


Implement nosepipe

Run all tests isolated from each other.
If we wish to only see some tests run in its own subprocess, we could implement that at a later time.
Fix #56
This made it possible to also test PyQt4 for sip API v1.

Don't forget to update .travis.yml too.

What exactly are you testing here? Seem to be testing PyQt4 rather than Qt.py.

That was a suggestion by @justinfx; testing the sip API version when importing PyQt4 without explicitly setting the version. I guess it would just make sure that PyQt4 doesn't start setting v2 by default all of a sudden. Do you feel it's an unnecessary test?

Yes I know what you're trying to test, but think about it. That test can only ever fail if PyQt4 changes. It has nothing to do with Qt.py.
We should however have a test ready for those exception we're throwing in case sip is already set to sip v1.

Qt.py#L60

That test can only ever fail if PyQt4 changes. It has nothing to do with Qt.py.
We should however have a test ready for those exception we're throwing in case sip is already set to sip v1.

Good points. Will fix ... and find out why Travis screams about an ImportError...

Try this, in addition to what you already have.
- sudo pip3 install nosepipe

Are you removing commits? :O I'm looking for the commit with the travis test that partially failed, but it looks like commits are missing.
Try not to force push or anything, at least not until we merge.

Try not to force push or anything, at least not until we merge.

Learning Gitkraken, sorry. I did a few force pushes and will try to avoid that from now on.

How come the test didn't work?

Whoa, okay now I'm not sure what the heck I did... I intended to rebase and bring back the failing PyQt4 test as I also wish to know why it was failing.

Are you deleting comments now too? :)

Ah, yeah sorry, I shouldn't have done that but I realized what I had just done and it was actually not so bad :)

Okay. Switching the order of the PyQt4 check vs the Qt.py one didn't make a difference, which is good in a sense. That means the isolation works.

How come the test didn't work?

PyQt4 for Python 3 sets API v2:
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt4 import QtCore
>>> import sip
>>> sip.getapi('QString')
2

PyQt4 for Python 3 sets API v2

Wuw! How unexpected. Gotta research this..

Ok, looks like it's a feature, not a bug.

https://wiki.python.org/moin/PortingPythonToPy3k/PyQt4

Sorry, I'm testing a few things now back and forth with Travis.

That's totally fine, that's what it's for.

We now get this using Python 3.4:
Qt.py should cause ImportError when sip API v1 was already set ...
----------------------------------------------------------------------
Ran 7 tests in 1.674s
OK

I would have expected something like this:
Qt.py should cause ImportError when sip API v1 was already set ... SKIP
----------------------------------------------------------------------
Ran 7 tests in 1.674s
OK (SKIP=1)

But aside from this, I'd say we're ready to merge.

Looks like your suggestion did work nicely.
~/code/github/Qt.py feature/nosepipe*
❯ docker run -ti --rm -v $(pwd):/Qt.py mottosso/qt.py3
Tests require PySide and PyQt4 bindings to be installed ... ok
Setting QT_PREFERRED_BINDING properly forces a particular binding ... ok
Preferring None shouldn't import anything ... ok
Qt.py may be use alongside the actual binding ... ok
PyQt4 default sip API version (Python 2.x = 1, Python 3.x = 2) ... ok
Qt.py with preferred binding PyQt4 should have sip version 2 ... ok

----------------------------------------------------------------------
Ran 6 tests in 1.526s

OK

~/code/github/Qt.py feature/nosepipe
❯ docker run -ti --rm -v $(pwd):/Qt.py mottosso/qt.py
Tests require PySide and PyQt4 bindings to be installed ... ok
Setting QT_PREFERRED_BINDING properly forces a particular binding ... ok
Preferring None shouldn't import anything ... ok
Qt.py may be use alongside the actual binding ... ok
PyQt4 default sip API version (Python 2.x = 1, Python 3.x = 2) ... ok
Qt.py with preferred binding PyQt4 should have sip version 2 ... ok
Qt.py should cause ImportError when sip API v1 was already set ... ok

----------------------------------------------------------------------
Ran 7 tests in 1.250s

OK

I think this can be simplified to:
assert_raises(ImportError, __import__, "Qt")

Indeed, thanks!

I see no error. I'm happy for you to merge. :)

I see no error. I'm happy for you to merge. :)

Great!
When there are this many commits, do you just merge or do you squash first?

Good question..
Part of me feels would like to keep the history, but perhaps that's the hoarder in me. A single commit, for such a small and singular-purpose PR, would make it a lot easier to spot when browsing through history.
How about, when the PR itself is singular, like this one, squashing is fine.
On the other hand, when there is a commit that does more than one thing, we'll prefer keeping the commits.
I'm mainly interested in the cherry-pickability of commits, and if there are more than one thing happening in a single commit, things get messy.

That sounds good. I'll squash this time, as I don't know of any other way to not make this PR's commit history into a big mess in case you want to review the changes later.

Now that you've merged, there's one last thing that I have been thinking about how to articulate. About the test, test_sip_api_pyqt4 and why I think it's unnecessary.
As a rule of thumb, a test should be implemented before the feature or bug it is testing. That's the pinnacle of "test-driven development" and it's a good measuring stick for what goes and what doesn't.
In this case, there is no way you could have written that test before the feature, because the feature itself is outside the scope of this project, and this project can do nothing to affect the outcome of this test.
Here's what tests do for me.

Help articulate a feature, by writing the interface and use cases for it before implementing it.
Ensure that a bugfix actually fixes a bug, by capturing before fixing.
Keep an eye on code that changes, such that intended behavior remains the same.

This test does nothing but confirm what we already know, like how the earth is round, and can never fail regardless of what we do. It's a plain statement of fact. This makes it a needless test.
Let me know what you think.

 I intended to leave that out  I removed it one point but reverted it because I thought of it as a good way to rule out that there was an isolation problem. Then I forgot to remove it again.
I'm with you 100%. In my defence, I would have never even written that to being with unless Justin had mentioned it.


修复了一些hessian的问题和添加log4j2的支持

1、修复hessian 重载方法时报错问题
http://blog.csdn.net/sanfye/article/details/49390493
2、添加log4j2的支持
与原log2j配置一致
添加配置dubbo.log4j.console, 是否添加输出至控制台
3、修复hessian 隐形参数失效问题
RpcContext中的getAttachments无法获取到消费者端传来的参数
a) 未设置attachments参数
b)debug过程中发现被InvokerInvocationHandler类重置
暂时想到的办法是在httpclient中添加header进行传输, 由于上述b重试了 RpcInvocation类, ContextFilter无法获取到attachments, 临时解决方案是HessianProtocol类中设置ThreadLocal保证线程安全, 在使用HessianFilter进行参数设置

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

Would you please separate this two features? We prefer to have each PR focus on solution for a single
problem.

Would you please separate this two features? We prefer to have each PR focus on solution for a single problem.

+1 It is too complicated to review this pull request, please keep it simple.

I am considering about this. https://github.com/apache/incubator-dubbo/pull/1801
On the provider side, a HessianFilter is not a good way. I will try to restore context in HessianHandler.

@sc834466168 IMO, you could submit a new PR for supporting log4j2.

Hessian attachments has been supported with #1801.
Would you please file a new PR for log4j2 support? I will close this one anyway.


The separate bar disappeared on "Always hidden" enable.

The separate bar disappeared when left-click to enable "Aways hidden".

Fix on next release


Why pinging rloc address with routerId of zero (fd4e:2b22:1beb:e1b0:0:ff:fe00:0) is dropped

There are three FTD devices and one otbr under the thread network.  The otbr wants to be upgraded to a router device and is discarded when sending Send Address Solicit to the leader FTD device. The rloc of the leader device is "fd4e:2b22 :1beb:e1b0:0:ff:fe00:0”, ping can not be communicated.
otbr is a sub-device of another FTD device, otbr can communicate with the leader device, and can update srp information to otbr, ping the addresses of ula and eid of the leader device can be communicated
otbr information is as follows：

The leader device information is as follows

otbr log file：
<EMAIL_ADDRESS>git commit id
otbr
commit 7a6c826c83579f57fae889a2031580649586478b
Author: Abtin Keshavarzian<EMAIL_ADDRESS>Date:   Tue May 23 12:36:18 2023 -0700
Hardware platform：
silicon

Thanks for submitting this issue. From the information provided, it's not immediately obvious where the issue might be.
Can you provide a pcap file for analysis in wireshark? more verbose OTBR logs can help as well.

Thanks for submitting this issue. From the information provided, it's not immediately obvious where the issue might be.
Can you provide a pcap file for analysis in wireshark? more verbose OTBR logs can help as well.

Now the environment where the router id is zero is gone, and I am not reproducing it. If it appears later, I will provide the next data packet

Closing stale issue.


http.proxySupport setting lost after vscode restart

Does this issue occur when all extensions are disabled?: (not checked yet)

VS Code Version: 1.77.0
OS Version: win 10 22H2

Steps to Reproduce:

Today I found this setting is not there so I added it, then it was synced:

Then I installed an extension which required a restart:

After restart the setting gets lost:

Can you please disable all extensions and reproduce this?

haven't met it since then.

Ok. I am not sure if this can be diagnosed and fixed without information as you are not seeing this anymore. I am closing this for now. Please comment when you see it again and try to reproduce with extensions disabled. Thanks.


enh(php) Left and right-side of double colon

Double colon aka Scope Resolution Operator is used in a few contexts:

access static variable or method of the class: Example::$uuid;  self::$a;  Example::test();  $a::test();
constant reference: Foo::Test;
access overridden properties or methods of a class: parent::$a;  parent::__construct();
enum value reference: Foo::Test;
class name reference: self::class;  static::class;  parent::class;  Foo::class; $a::class

Changes

declare and use IDENT_RE for valid labels instead of w+
declaration of PHP constants were not highlighted. Now they use the same class as variables.
enum and constant reference were not highlighted. Now they use the same class as variables.
Class name references are highlighted as variable.language.
class is a special case of the constant, it's also a reserved keyword.
left-side class name highlighting

Info about rules for valid labels (variables, constants, and other names).

The name of a constant follows the same rules as any label in PHP. A valid constant name starts with a letter or underscore, followed by any number of letters, numbers, or underscores. As a regular expression, it would be expressed thusly: ^[a-zA-Z_\x80-\xff][a-zA-Z0-9_\x80-\xff]*$

Checklist

[x] Added markup tests
[x] Updated the changelog at CHANGES.md

Looking pretty good. I dropped a few notes.

I fixed issues and added some questions.

If you could please open a new PR from wkania instead of wkania-forks so that I can push changes also that would be greatly appreciated.  GitHub is very picky about such things.  Or else allow pushing, but it's likely the fact that your using an alternative account is the issue.

Alternatively you could perhaps add me with repo write permission against your fork wkania-forks/highlight.js....

@joshgoebel Pls review.
I added all use cases in the description of the PR. Tests use variations of those cases.

@joshgoebel Pls review.
I added all use cases in the description of the PR. Tests use variations of those cases.

@wkania I removed the rule, seems fine.  I pretty sure it's redundant now.  Thanks for all work on this!


Expand docs for .load_pgn

Expanded the documentation for the .load_pgn function. Included additional examples with options.

Good stuff.  Thanks @svangordon!


Alphanumeric sorting in Material Table

What is the expected behavior?
I want alphanumeric sorting
like:
_sort(a: string, b: string): string {
  return a.localeCompare(b, 'en', { numeric: true });
}

What is the current behavior?
https://imgur.com/PXuwosN
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Version Material 7.3.3
Is there anything else we should know?
How can I do that? Custom?

example from angular:
https://github.com/angular/material2/tree/b8c1024a09f89eab39a213fe13f47d529dccdd74/src/material-examples/sort-overview
and implementation for you:
https://stackblitz.com/edit/angular-material-table-alphanumeric-sort

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.
(this is a canned response)


How to support multiple authentication types with multiple API keys

First check

[x] I used the GitHub search to find a similar issue and didn't find it.
[x] I searched the FastAPI documentation, with the integrated search.
[x] I already searched in Google "How to X in FastAPI" and didn't find any information.

Description

I followed this great post and added another required API key query/header/cookie.
The example code below works but the generated documentation and openapi.json doesn't include the "username" API keys.
Is this the proper way to handle multiple authentication types and keys? I would like the documentation to show all options from get_api_key (so 6 in total, 3 methods for each key), because currently the "Authorize" button only shows the 3 for access_token and can't be used because of it.
I know OpenAPI supports multiple authentication types  and multiple API keys, but do I need to manually modify the openapi_schema?
Environment

OS: Windows:
FastAPI Version: 0.55.1
Python version: 3.8.3

Example
from fastapi import Depends, FastAPI, HTTPException, Security
from fastapi.openapi.docs import get_swagger_ui_html
from fastapi.openapi.utils import get_openapi
from fastapi.security.api_key import (
    APIKey,
    APIKeyCookie,
    APIKeyHeader,
    APIKeyQuery,
)
from starlette.responses import JSONResponse, RedirectResponse
from starlette.status import HTTP_403_FORBIDDEN

USERNAME = "test"
API_KEY = "1234567asdfgh"
API_KEY_NAME = "access_token"
COOKIE_DOMAIN = "localtest.me"

username_query = APIKeyQuery(name="username", auto_error=False)
username_header = APIKeyHeader(name="username", auto_error=False)
username_cookie = APIKeyCookie(name="username", auto_error=False)
api_key_query = APIKeyQuery(name=API_KEY_NAME, auto_error=False)
api_key_header = APIKeyHeader(name=API_KEY_NAME, auto_error=False)
api_key_cookie = APIKeyCookie(name=API_KEY_NAME, auto_error=False)

class AuthenticationParams:
    def __init__(self, username: APIKey = None, api_key: APIKey = None):
        self.username = username
        self.api_key = api_key

async def get_api_key(
    username_query: str = Security(username_query),
    username_header: str = Security(username_header),
    username_cookie: str = Security(username_cookie),
    api_key_query: str = Security(api_key_query),
    api_key_header: str = Security(api_key_header),
    api_key_cookie: str = Security(api_key_cookie),
):

    if username_query == USERNAME and api_key_query == API_KEY:
        return AuthenticationParams(username_query, api_key_query)
    elif username_header == USERNAME and api_key_header == API_KEY:
        return AuthenticationParams(username_header, api_key_header)
    elif username_cookie == USERNAME and api_key_cookie == API_KEY:
        return AuthenticationParams(username_cookie, api_key_cookie)
    else:
        raise HTTPException(
            status_code=HTTP_403_FORBIDDEN, detail="Could not validate credentials"
        )

app = FastAPI(docs_url=None, redoc_url=None, openapi_url=None)

@app.get("/")
async def homepage():
    return "Welcome to the security test!"

@app.get("/logout")
async def route_logout_and_remove_cookie():
    response = RedirectResponse(url="/")
    response.delete_cookie(API_KEY_NAME, domain=COOKIE_DOMAIN)
    return response

@app.get("/openapi.json", tags=["documentation"])
async def get_open_api_endpoint(auth: AuthenticationParams = Depends(get_api_key)):
    response = JSONResponse(
        get_openapi(title="FastAPI security test", version=1, routes=app.routes)
    )
    return response

@app.get("/documentation", tags=["documentation"])
async def get_documentation(auth: AuthenticationParams = Depends(get_api_key)):
    response = get_swagger_ui_html(openapi_url="/openapi.json", title="docs")
    response.set_cookie(
        "username",
        value=auth.username,
        domain=COOKIE_DOMAIN,
        httponly=True,
        max_age=1800,
        expires=1800,
    )
    response.set_cookie(
        API_KEY_NAME,
        value=auth.api_key,
        domain=COOKIE_DOMAIN,
        httponly=True,
        max_age=1800,
        expires=1800,
    )
    return response

I am interested in this question as well. Has something changed in the internal API? As far as I can tell APIKeyQuery, APIKeyHeader and APIKeyCookie used to generate strings. Now the results appear to be the objects themselves. How can we still compare the query object with the api_key string?

Also interested in this question aswell - albeit for a slightly different scenario.

Endpoint needs to be secured using oAuth bearer scheme (Authorization header)
Or optionally endpoint needs to be secured using 'x-api-key' auth header
If endpoint is called with 'Authorization' header or 'x-api-key'; it should be accessible.

Very similar to this scenario.
Is there any sort of decorator or built in functionality which allows you to define an arbitrary list of auth functions - upon which if any of them pass, the endpoint is accessible?

You could clean things up like this?

class XAPIKey(APIKeyBase):
    def __init__(self, in_: APIKeyIn):
        self.model = APIKey(**{"in": in_}, name=API_KEY_NAME)
        self.scheme_name = self.__class__.__name__ + '_' + in_.name

    def __call__(self, request: Request) -> Tuple[Optional[str], Optional[str]]:
        location = {
            APIKeyIn.query: request.query_params,
            APIKeyIn.header: request.headers,
            APIKeyIn.cookie: request.cookies,
        }[self.model.in_]

        if location.get(API_KEY_NAME):
            return (location['username'], location[API_KEY_NAME])

        return (None, None)

api_key_query = XAPIKey(APIKeyIn.query)
api_key_header = XAPIKey(APIKeyIn.header)
api_key_cookie = XAPIKey(APIKeyIn.cookie)

async def get_api_key(
    api_key_query=Security(api_key_query),
    api_key_header=Security(api_key_header),
    api_key_cookie=Security(api_key_cookie),
):
    for username, api_key in [
        api_key_query,
        api_key_header,
        api_key_cookie,
    ]:
        if username == USERNAME and api_key == API_KEY:
            return AuthenticationParams(username, api_key)

    raise HTTPException(
        status_code=HTTP_403_FORBIDDEN, detail="Could not validate credentials"
    )

@zees-dev there's nothing like in FastAPI, but you could use a pattern like above


Conflict with standard mybatis starter

when i try to use both starters spring-boot-starter-data-mybatis and mybatis-spring-boot-starter, i have an exception that two SqlSessionTemplate beans were created.

here is a sample : https://github.com/hatunet/spring-data-mybatis-samples

can you show me more info about your exception.

i have two dependencies:

default spring mybatis starter

org.mybatis.spring.boot
mybatis-spring-boot-starter
1.2.0

spring data mybatis starter

com.ifrabbit
spring-boot-starter-data-mybatis
1.0.13.RELEASE

without any additional configuration i get exception:
TestMapper.class] required a single bean, but 2 were found:
- sqlSessionTemplate: defined by method 'sqlSessionTemplate' in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]
- sqlSessionFactory_Template: defined in null

Workaround: remove "spring data mybatis starter" dependency and configure  Mybatis repositories manually...

don't add org.mybatis.spring.boot mybatis-spring-boot-starter 1.2.0
if you are using spring boot, you just need add this dependecy:
com.ifrabbit spring-boot-starter-data-mybatis 1.0.13.RELEASE

hmm but org.mybatis.spring.boot mybatis-spring-boot-starter 1.2.0 have additional possibilities to configure mybatis by spring boot way. why both approachs conflicts with each other? i suppose it would be better if com.ifrabbit spring-boot-starter-data-mybatis 1.0.13.RELEASE will use existing beans if they are configured...

maybe two SqlSessionFactories make this conflict.
pls show me you exception stackprint

I have already post usefull part of stacktrace:
TestMapper.class] required a single bean, but 2 were found:

sqlSessionTemplate: defined by method 'sqlSessionTemplate' in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]
sqlSessionFactory_Template: defined in null

Another part of stacktrace contains only my classes info. As I can see there are two sqlSessionTemplate beans.

this reason hit the problem ,
when you use spring-boot-starter-data-mybatis , it will create a sqlsessiontemplate by atuoconfigration, so you should keep only one, and ignore another one.
I still think you don't need add org.mybatis.spring.boot mybatis-spring-boot-starter 1.2.0,
can you explain the detail reason why you must add it to your project?

reasons to add org.mybatis.spring.boot mybatis-spring-boot-starter 1.2.0:
1)i can configure mybatis config without any code in application.yaml
mybatis:
type-aliases-package: mypackage
configuration:
map-underscore-to-camel-case: true
default-fetch-size: 1000
default-statement-timeout: 300
...
As i know com.ifrabbit spring-boot-starter-data-mybatis doesn't have some of this configs.
2) my mappers will be picked up automatically(i need just add @Mapper annotation)
...
Ofcourse i can do it manually without starter, and i can configure mybatis repositories manually without starter too. But i suppose main idea of spring boot starters to reduce java configuration and usually i need some properties in application.yaml to configure whole library.
And one more reason -  as i know starters are designed to not conflict each other...

My suggestion for is:
spring-boot-starter-data-mybatis should  depend on mybatis-spring-boot-starter and use beans from there. I see same design for many other starters. For example spring-data-jpa depends on aop starter and jdbc starter.
if you go by this way you will not need duplicate configuration of standard mybatis starter.

thanks for your suggestion.
I will read source of mybatis-spring-boot-starter and decide next plan.
This process will be as fast as possible.


Change incidence from per day to per week

The standard metric for infections now seems to be the number of cases within the last week per 100,000.
By showing our value as per day (not per 7days) we cause some confusion.

After discussion: doesn't work so easily: only the smooth line of daily new  cases could show this, and would be (about) 7 times greater (in value) than the bars.
Also 7-day incidence reported in the media would typically look back: i.e. the value reported today is based on the values in the last 7 days. In our standard plots, in contrast, we center the average around the middle point (in time).
We could try this new type of plot in a separate notebook first for exploration.

Resolved by https://github.com/oscovida/oscovida/pull/213


Unhandled exception on Core.LoadNetwork

I've tried to run simple demo but I've got an exception:
(I used Cnn class) my simple code :
std::string model_path = "vehicle-detection-adas-0002_32.xml";
Core ie;
Cnn vehicleDetector = Cnn();
vehicleDetector.Init(model_path, ie, "CPU");

I always get this exception  :
Unhandled exception at 0x00007FFB4105A388 in OpenVinoZoo.exe: Microsoft C++ exception: InferenceEngine::details::InferenceEngineException at memory location 0x00000056164FE8C8.
in this line:
 ExecutableNetwork executable_network = ie.LoadNetwork(network, deviceName);

What is different between them (between two code)? @vladimir-dudnik
and model path is correct because when I debuged Cnn::Init I could see local variables like input_dims and input_name so network loaded correctly.

@aligoglos the difference is that object_detection_demo_ssd_async use old Inference Engine API to load and execute network. You have try to use new Inference Engine API by extracting some piece of code from text_detection_demo and seems that piece of code is not complete. Please try to run text_detection_demo and if that works look where you may do something wrong in your piece of code.

I've solved the issue by adding Extensions to Core ie.
In fact we must use ext_list and add below line to our code:
ie.AddExtension(std::make_shared<Extensions::Cpu::CpuExtensions>(), "CPU");


Mount volume

How can you mount a volume before running a job in here? That would be a very useful feature.

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

ID: 3339a2e0-be29-1363-f588-b231d4472c02
Version Independent ID: 72dd11a3-704d-d0fd-6dfa-cf49f3352de3
Content: Container Jobs in Azure Pipelines and TFS - Azure Pipelines
Content Source: docs/pipelines/process/container-phases.md
Product: devops
Technology: devops-cicd
GitHub Login: @thomps23
Microsoft Alias: macoope

https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=example#container-reference
Could you use the options property on the container to set up the mount like you would on a normal docker container run invocation?

It also does support mounting directly here: https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=example#resources

Is there documentation about how to mount azure files volume? I have always mounted using things like azure cli or powershell, not with options in a docker command.

We don't document anything other than native Docker mounts, which are mentioned here. The volumes syntax matches Docker Compose format.

How can I mount $(Build.SourcesDirectory) when container resources are parsed before pipelines variables are available? I would have to pass in the absolute path of the source directory, but is that even a known and unchanging value when running a container job on a microsoft hosted build agent?
This is a crippling limitation for my use case. I use containers extensively for holding my toolchains, but if I cannot mount my source code folder, then that use case isn't really supported.

I just realized that $(Build.SourcesDirectory) is automatically mounted and used as the workdir for container jobs.
I still think that it would be a very nice feature to be able to use variables when doing volume mounts.


Apache server performance plugin

Quite interesting to notice (by looking for, and not finding it) that no one has built an apache plugin for telegray so far. (Apache mod_status documentation: http://httpd.apache.org/docs/2.4/mod/mod_status.html)
Or maybe I am just mistaken?

Is it possible to add a plugin after installing telegraf (from rpm)

I don't think a plugin could be added after installing from rpm, you would need to build from source

Which is a serious drawback. Even building the rpm lacks some helpful documentation. I wanted to contribute.

I'm not sure I understand how you would expect to do that, the RPM ships with a pre-built binary, there is no possible way that we could support adding plugins to a binary without having the telegraf agent built from a separate repo as the plugins, which I think is an unecessary complication.
As for the RPM documentation, what would you like to see? I was thinking I should add the location of the binary and config file?

You did actually provide the documentation on how to build telegraf and that's good enough for now. I'd like to see more plugins being submitted. The problem is that they all need to end up compiled at the same time with telegraf and at one point or another you will not be able to accept all pull requests. But it makes perfect sense to go with this philosophy and foundation. Maybe an automated method for customizing the build would help. Similar to how Twitter Bootstrap is built: http://getbootstrap.com/customize/

That's pretty cool! I could imagine something like that for selecting plugins and outputs :+1:

Recently i've implemented simple apache performance plugin, you can find it in my fork of telegraf repo. You can use it if you find it useable.

:+1:

Tested and it works. @KPACHbIuLLIAnO4 can you do a pull request here?

+1, @KPACHbIuLLIAnO4 can you please re-open your pull request? I would like to get an Apache plugin merged into main

I was going to prepare a new branch with apache plugin only, beacuse I have
some fixes in master that you probably don't want to merge...
2015-08-31 18:51 GMT+03:00 Cameron Sparr<EMAIL_ADDRESS>
+1, @KPACHbIuLLIAnO4 https://github.com/KPACHbIuLLIAnO4 can you please
re-open your pull request? I would like to get an Apache plugin merged into
main
—
Reply to this email directly or view it on GitHub
https://github.com/influxdb/telegraf/issues/132#issuecomment-136413087.

Created pull request
2015-08-31 19:00 GMT+03:00 Alexander Oleinik<EMAIL_ADDRESS>
I was going to prepare a new branch with apache plugin only, beacuse I
have some fixes in master that you probably don't want to merge...
2015-08-31 18:51 GMT+03:00 Cameron Sparr<EMAIL_ADDRESS>
+1, @KPACHbIuLLIAnO4 https://github.com/KPACHbIuLLIAnO4 can you please
re-open your pull request? I would like to get an Apache plugin merged into
main
—
Reply to this email directly or view it on GitHub
https://github.com/influxdb/telegraf/issues/132#issuecomment-136413087.


Updating single agent doesn't work as expected

updating a single agent (api/v1/mappings/{mappingName}) causes the server to delete the old mapping and handling the request as a new mapping (with first priority) instead of updating the old mapping, which changes the overall mapping order

@mbrill-nt checked this bug but it couldn't be reproduced, thus, closing this ticket for now.


fix: local-min timeout

Description
Increase timeout in local-min
Issue linked
Close #3286
Checklist

[x] I have visited and read Develop PyMAPDL.
[x] I have tested my changes locally
[x] I have added necessary documentation or updated existing documentation.
[x] I have followed the PyMAPDL coding style guidelines.
[x] I have added appropriate unit tests that also ensure the minimal coverage criteria.
[x] I have reviewed my changes before submitting this pull request.
[x] I have linked the issue or issues that are solved to the PR if any.
[x] I have assigned this PR to myself.
[x] I have marked this PR as draft if it is not ready to be reviewed yet.
[x] I have made sure that the title of my PR follows Commit naming conventions (e.g. feat: adding new MAPDL command)

I forgot to add this change to #3282

@pyansys-ci-bot LGTM.


fuzzy set topnOptLimitThreshold to 0 in fuzzy test temporary

Proposed changes
Now P0 pipeline test have some failed cese about topn, but can't reproduce at local
So set this threshold to 0 temporary.
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 52.94 seconds
stream load tsv:          509 seconds loaded<PHONE_NUMBER>9 Bytes, about 140 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.4 seconds inserted 10000000 Rows, about 340K ops/s
storage size:<PHONE_NUMBER>1 Bytes


pip instructions failed

Following the install instructions:

pip install instapy-cli

I got

Could not find a version that satisfies the requirement instagram-private-api-extensions==0.3.8 (from instapy-cli) (from versions: )
No matching distribution found for instagram-private-api-extensions==0.3.8 (from instapy-cli)

So I went to instagram-private-api-extensions’s page and followed their instructions:

pip install git+https://git<EMAIL_ADDRESS>
I had to do the same with instagram-private-api, and then instapy-cli installed fine. However, those two packages should have been installed automatically.
Python 3.7.2 on macOS 10.14.4.

I'm having this same issue, except that I installed instagram-private-api and instagram-private-api-extensions using the methods above, and am still getting
Could not find a version that satisfies the requirement instagram-private-api-extensions==0.3.8 (from instapy-cli) (from versions: ) No matching distribution found for instagram-private-api-extensions==0.3.8 (from instapy-cli)
when I try to
pip install instapy-cli
Any advice would be appreciated!

@provisionalideas Include your OS name and version, as well as your Python version, otherwise @b3nab has no way to debug your issue.

@provisionalideas same problem !
help please

@provisionalideas same problem !
help please

As I said:

Include your OS name and version, as well as your Python version, otherwise @b3nab has no way to debug your issue.

Got the same error, very strange since documentation explicitly says "packages will be installed automatically". @vitorgalvao has the correct fix, installing both instagram_private_api and instagram_private_api_extensions and then pip install instapy-cli worked.
@provisionalideas did you install instagram_private_api_extensions correctly?

I'm releasing an hot fix.
Please update your instapy-cli version to <IP_ADDRESS>
🥂


Changes to allow compiling in Windows

With the included changes, CNN compiles in Windows, on Microsoft Visual Studio 2015. I tried to make minimal changes to enable this. A few comments:

I removed pthread from the list of link libraries. I didn't see it being used anywhere. Did I miss something?
I marked any windows-specific portions with "#if _WINDOWS". CMake automatically adds this compilation symbol to the makefile on windows.
I did not port the multi-process code, so mp.cc/h are not compiled, and the rnnlm-mp example does not compile properly (the user needs to uncheck this project from the list of projects to compile in MSVC).
The SharedMemory allocator is not currently supported.
I had to add a getpid.h included in all the examples that call getpid(). They are only using getpid() to generate the parameters filename. If the purpose was just to generate a random number, we could do that instead and get rid of getpid.h, or leave it as-is if you find it useful to have the pid in the filename.
I made a single change in test-cnn to remove a warning when compiling in 64-bit mode. Do you tend to compile as 64-bit, or is the library intended to be only 32-bit?

I believe points #3 and #4 could be fixed later by depending exclusively on the boost.interprocess library. I noted this in the "TODO", and also added instructions for compiling in Windows to the README.

One final note: I contacted Chris to ask if he's interested/willing to accept changes keeping CNN compatible with Windows, so he is expecting this pull request.

First, this is excellent! Thanks a bunch for ensuring compatibility.
Just one thing: what about adding getpid.h to the main cnn/ directory? If this is going to need to be called by many programs that use cnn, it should be part of the main directory itself. Also, it wasn't clear to me exactly what dependency this file was resolving. If it's including a header for something that cnn depends on, I think it should be included in the appropriate files within the cnn/ directory, so the files in the example/ directory don't have to call it directly.

I'm happy to move getpid.h to the cnn/ directory, but it is not actually used by anything in the cnn directory. Instead, it is only used by programs in the examples directory (and rnnlm). It is used to support calling getpid(), which is only done in the example programs. In fact, the examples only use getpid() to come up with a unique filename for saving model parameters. I felt that this use of getpid() was particular to the way the examples are written, so probably most people using CNN won't actually need getpid.h.

OK, if that's the case this looks like the right thing to do. Thanks a lot for doing this!


TxMap may contain SpendingData

this is a rename and then a change to struct hierarchy. no effects yet

the goal here is to prepare the ground for #1382 that adds another Spend-only field to SpendingData, behind the same option


Edit: Asharq Documentary

Channel ID (required)
AsharqDocumentary.sa
Channel Name
No response
Alternative Names
No response
Network
No response
Owners
No response
Country
No response
Subdivision
No response
City
No response
Broadcast Area
No response
Languages
No response
Categories
No response
NSFW
FALSE
Launched
No response
Closed
No response
Replaced By
No response
Website
No response
Logo
https://arabtv.xyz/wp-content/uploads/2023/03/Asharq-Documentary.png
Notes
No response

If the channel has several versions of the logo, it is better to use the one used on air.

https://github.com/iptv-org/database/blob/master/CONTRIBUTING.md#channel-logo-guidelines


spec: odd sentence about non-constant left shift expressions

Within the Operators section, the Go spec says:

If the left operand of a non-constant shift expression is an untyped constant, the type of the constant is what it would be if the shift expression were replaced by its left operand alone.

My understanding (e.g., from the Constants section) is that constants are either typed or untyped, but not both.  Also, untyped constants have a default type, but otherwise it seems an oxymoron to refer to "the type of the [untyped] constant".
I suspect the sentence instead means to refer to what sort of type the constant is to be converted to.  Something like:

If the left operand of a non-constant shift expression is an untyped constant, the constant is converted to the same type as it would be if the shift expression were replaced by the constant alone.

Fair point.


ImportError: cannot import name 'Bidirectional' from 'tensorflow.python.keras.layers' (tf-nightly)

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: n/a
TensorFlow installed from (source or binary): pip
TensorFlow version: tf-nightly 2.9.0.dev20220127
Python version: 3.10.2
Installed using virtualenv? pip? conda?: pip
Bazel version (if compiling from source): n/a
GCC/Compiler version (if compiling from source): n/a
CUDA/cuDNN version: n/a
GPU model and memory: n/a

Describe the problem
I'm using the following import statement:
from tensorflow.python.keras.layers import LSTM, Dense, Dropout, Bidirectional
which ends up with the following error when I run the script
ImportError: cannot import name 'Bidirectional' from 'tensorflow.python.keras.layers' (C:\Python310\lib\site-packages\tensorflow\python\keras\layers_init_.py)
I'm using VS Code and as such the import resolves just fine. I had to change the import line from
tensorflow.keras.layers to tensorflow.python.keras.layers though.
Am I doing something wrong here or is it an issue with tf-nightly and win10/python 3.10?

@Mhbuur
In order to expedite the trouble-shooting process here,Could you please fill the issue template,
Thanks!

@sushreebarsa better? At this point I am not really sure if this should be reported as a bug or a build/install issue or  general support. Enlighten me please :-)

@Mhbuur Could you please try with the latest TF v2.7.0 and refer to build from source , tested build configurations ? Please find the colab gist for reference and let us know if it helps?Thanks!

@sushreebarsa Python 3.10 is not supported in TF 2.7.0, which is why I'm trying out 2.9 / tf-nightly

@Mhbuur Please see the discussion on TF Forum .Thanks!

@sushreebarsa thanks. I am aware of that discussion - it got me started on tf-nightly ;-) Should I report there instead?

@Mhbuur I tried to replicate the issue on colab using tf-nightly(2.9.0.dev20220131) but didn't face the ImportError as reported.Please find the gist here and confirm the same ?
tensorflow.python libraries are used for internal developing purpose so it is not recommended to use .  We recommend you to use from tensorflow.keras.layers import LSTM, Dense, Dropout, Bidirectional
Thanks!

@sushreebarsa how do you get hold of tf-nightly version 2.9.0.dev20220131?
When update or install using --no-cache param (after uninstalling) I keep getting tf_nightly 2.9.0.dev20220129

Regarding the import path: the only way I could get VS Code to resolve the import was to use the tensorflow.python.keras.layers path. If I use tensorflow.keras.layers it will not resolve and I get new runtime errors. Do you think this is the cause for the first ImportError problem regarding 'Bidirectional'?

@sushreebarsa ok, there is some progress - after updating I can actually run the script (without the tensorflow.python path) - it still doesn't resolve in the IDE, but the script now runs without the bidirectional error. So either the update/reinstall fixed it or the import path change, I can't tell for sure.
The VS Code import path resolve issue is discussed many other places, so I'll close this issue for now.

@Mhbuur could you please post a link to a solution for "the VS Code import path resolve issue" if you found one?

SOLUTION: See here. You may want to add other things like layer, models, activations, regularizers, constraints, etc.
This is so hacky though... Feels like the TensorFlow team should take a look at this.

@macoskey Yes, that was one of the suggestions I looked at. I didn't try it out as I found it a bit too hacky. But thanks for confirming that it works as a temporary measure.


Update monitoring-biztalk-server.md

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

File
Status
Preview URL
Details

biztalk/core/monitoring-biztalk-server.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


"No module named 'newspaper'" after installation?

Running on Mac OS X.
Installed newspaper3k without a hitch, however, iPython won't recognize newspaper as a module. Any solutions?
Specifically, the code it can't run is: from newspaper import Article

Not really familiar with OS X... did you install both newspaper and ipython in the same env?

I installed newspaper on ubuntu. but same error occurred to me too.
What to do?

Hello @Marthorax and @leenabharambe, I'd like to replicate the exact sequence of events of your installation to get your error to help debug it.
What command(s) did you use to install? What OS do you use? Please paste everything and be as descriptive as possible. Thanks.

On macOS we need use python3 file.py, not python file.py.

Good point @JSONValidator, this is probably a common mistake that's been happening.
We should inject in python3 or python2 version checks in the top level newspaper module so people get a more readable error "You are using the wrong python version" instead of a cryptic import error.

I'm working in a Jupyter iPython notebook, with Python 3, but experiencing the issue here where even after a successful pip3 install newspaper3k, running import newspaper results in ModuleNotFoundError: No module named 'newspaper'.
I verified that !python --version returns Python 3.6.0 :: Anaconda custom (x86_64)
Any suggerstions, @codelucas ?  Thanks!  I'm excited to try this package.

Same issue...

Same issue here on Windows, even after successful installation when I try to import in my Jupyter notebook I see this error message.

Same with @kerchner


[packaging] reference to $srcdir; fstat is undefined.

I'm trying to package for archlinux. (https://github.com/WillForan/shcl/blob/archlinux/archlinux/PKGBUILD)
I added options=(!strip) to keep makepkg from totally destroying the shcl binary, but as a result:

==> WARNING: Package contains reference to $srcdir
usr/bin/shcl

shcl launches and there is prompt. but I pushed tab and see

debugger invoked on a SB-KERNEL::UNDEFINED-ALIEN-FUNCTION-ERROR in thread
#<THREAD "main thread" RUNNING {1002DF8103}>:
The alien function "fstat" is undefined.

Building from source, pressing tab produces the same error, as does the builtin cd. My best guess is that cffi isnt propperly grovelling (is that the right verb?) the c function "fstat".


[bug] yarn example android: 'BuildScript' Unsupported class file major version 63

Hi,
On a clean clone of this repo I tried building the example app for android following this guide: Example App
First yarn bootstrap and yarn example start work fine. But i get the following error in the next step of yarn example android:
warn Package react-native-vector-icons contains invalid configuration: "dependency.assets" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.
info JS server already running.
info Installing the app...

FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file '/home/robert/code/polyglot/react-native-main/react-native-readium/example/android/settings.gradle' (/home/robert/.gradle/caches/7.5.1/scripts/hnp36d491odjmf9trkeyzhln).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 63

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 944ms

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file '/home/robert/code/polyglot/react-native-main/react-native-readium/example/android/settings.gradle' (/home/robert/.gradle/caches/7.5.1/scripts/hnp36d491odjmf9trkeyzhln).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 63

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 944ms

    at makeError (/home/robert/code/polyglot/react-native-main/react-native-readium/example/node_modules/execa/index.js:174:9)
    at /home/robert/code/polyglot/react-native-main/react-native-readium/example/node_modules/execa/index.js:278:16
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async runOnAllDevices (/home/robert/code/polyglot/react-native-main/react-native-readium/example/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:82:7)
    at async Command.handleAction (/home/robert/code/polyglot/react-native-main/react-native-readium/example/node_modules/@react-native-community/cli/build/index.js:108:9)
info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I was on java 21 and needed to downgrade to 17 or 11


scala sub-directories do no appear in project view

I just upgraded my intellij to 2018.01 and my bazel plugin to 2<IP_ADDRESS>.1.
I see that all of my code sources are gone from project view!
each directory with main/scala or test/scala does not appear.
main/resources and test/resources do appear.
Thanks!
@ittaiz

Cc @gkk-stripe @andygscott

Hey @chaoren,
did you see something similar?
what am I doing wrong?
Thanks...

due to @natansil advice i removed the "hide Empty Middle Packages" checkbox and now I can see the files.
so this is a minor issue.

Closing as a dupe of #268. It is something I've been meaning to fix -- though as you found, there is a workaround.


[PHP] Slow extension installing time

Is your feature request related to a problem? Please describe.
GRPC extension installation takes 10-20 minutes.
This is for me wasted time / wasted cpu cycles for every user.
Describe the solution you'd like
Try to link possible libraries instead of compiling:

re2
boringssl
abseil-cpp
...

So the compile time can be done faster.
Describe alternatives you've considered
Caching the result for other people

The discussion has also taken place in #34278 and #23626

For further discussion, please go to #34278


New release

Hi. May we have a new build/release? It's more that 2 years since last one. Thank you.

That would be escpecially helpfull because I cannot get it build and build a release myself. Tried it a year ago, tried it today. It doesn't start when I build it myself.
It generates a C:\Users<username>\AppData\Local\CrashDumps here, but I don't have experience debugging CrashDumps.

Also was looking for a latest release

Also was looking for a latest release

Also was looking for a latest release

win-x86.zip

Also was looking for a latest release

AntiDupl.NET framework4.5.zip

In Windows 10 and 11 x64 this still demands installation of Net Framework 3.5.

Also was looking for a latest release

AntiDupl.NET framework4.5.zip

In Windows 10 and 11 x64 this still demands installation of Net Framework 3.5.
-> Fixed by new commit https://github.com/ermig1979/AntiDupl/commit/6b4b75e139b70fcf9f4f09b89bc16fc6ce75c1de

I tried the AntiDupl.NET-2.3.11 build available inhttps://github.com/ermig1979/AntiDupl/actions/runs/4324163470

I tried the AntiDupl.NET-2.3.11 build made available here and now it requires .Net Desktop Runtime 6.0.14 (tried on both Windows 10 and 11)
My problem is that I use Antidupl in a portable mode and must not depend on the installation of any additional software other that the standard Windows installation. For this reason I still use Antidupl 2.3.6, witch is the last version that allows this :-(
Would a fully self contained program be possible?

Hello @Zungao :
I have created a singlefile portable in my fork:
https://github.com/Edi61/AntiDupl/suites/11484024548/artifacts/593178905
But beware since all is included its a big file and its runs principially slower:
Could you please test it?

Hello @Zungao : I have created a singlefile portable in my fork: https://github.com/Edi61/AntiDupl/suites/11484024548/artifacts/593178905 But beware since all is included its a big file and its runs principially slower: Could you please test it?

404

https://github.com/Edi61/AntiDupl/actions/runs/4394401067#artifacts
or try here under Artifacts -> AntiDupl.NET-2.3.11 build SingleFilePortable

Thanks that works! Testing now.

Hello @Edi61:  The zip file contains a 7z file (AntiDupl.NET-2.3.11_SingleFilePortable.7z) and a self extract z7 file
(AntiDupl.NET-2.3.11_SingleFilePortable.exe) which appear to contain the same files. Is this deliberate?
Both AntiDupl.NET.WinForms.exe and AntiDupl.NET.WPF.exe run without demanding any dependencies - THANK YOU!
I took some time to test and found nothing wrong. Will report if I find some bugs.
Again, thank you for taking the time to do this version!