Homebrew-called shimmed clang unable to find OpenMP whereas default clang can

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

[x] are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh
[x] ran a brew command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new/choose. If it's a brew cask problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

What I was trying to do
I was trying to install sharmlib from a custom formula . The latest version of Clang supports OpenMP so I was converting my formulae back to using the default compiler. clang --version returns
Apple LLVM version 10.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

What happened

Short story: Homebrew-called cmake uses a faulty compiler unable to find OpenMP definitions.
Long story: running brew install sharmlib --verbose shows that Homebrew calls
/usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++. I'm guessing this guy is the culprit as it does not mirror the most-recent clang actually present on my system

What I expected to happen
Installing sharmlib from source proceeds smoothly as the default clang at /usr/bin/clang is called by cmake. I was thus expecting Homebrew to call the exact same default clang at  /usr/bin/clang and not the shimmed one.
Step-by-step reproduction instructions
brew tap bbercovici/self
brew update
brew install sharmlib --verbose

The most relevant part of the brew install ... trace

==> cmake . -DBREW:BOOL=TRUE
-- The C compiler identification is AppleClang <IP_ADDRESS>01044
-- The CXX compiler identification is AppleClang <IP_ADDRESS>01044
-- Check for working C compiler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang
-- Check for working C compiler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++
-- Check for working CXX compiler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Armadillo: /usr/local/lib/libarmadillo.dylib (found version "9.100.5")
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND)
-- Configuring done
CMake Error at CMakeLists.txt:68 (add_library):
  Target "SHARMLib" links to target "OpenMP::OpenMP_CXX" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?

-- Generating done
-- Build files have been written to: /tmp/sharmlib-20180924-96694-1uqeym/SHARMLib-1.0.7

==> Formula
Tap: bbercovici/self
Path: /usr/local/Homebrew/Library/Taps/bbercovici/homebrew-self/Formula/sharmlib.rb
==> Configuration
HOMEBREW_VERSION: 1.7.6-6-g899bfbc
ORIGIN: https://github.com/Homebrew/brew
HEAD: 899bfbcaf184bdda50f635e11c269675d3b7cda5
Last commit: 5 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: fe7334d3c60777926ec25d42e40546601ea3c662
Core tap last commit: 50 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_ENABLE_AUTO_UPDATE_MIGRATION: 1
CPU: quad-core 64-bit broadwell
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 10.0 build 1000
Git: 2.17.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.7.0_80
macOS: 10.13.6-x86_64
CLT: <IP_ADDRESS>.1.1535735448
CLT headers: N/A
Xcode: 10.0
XQuartz: 2.7.11 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/libxml2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.13
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/cmake/bin:/usr/bin:/bin:/usr/sbin:/sbin

brew config

HOMEBREW_VERSION: 1.7.6-6-g899bfbc
ORIGIN: https://github.com/Homebrew/brew
HEAD: 899bfbcaf184bdda50f635e11c269675d3b7cda5
Last commit: 5 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: fe7334d3c60777926ec25d42e40546601ea3c662
Core tap last commit: 40 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
CPU: quad-core 64-bit broadwell
Homebrew Ruby: 2.3.7 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby
Clang: 10.0 build 1000
Git: 2.17.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.7.0_80
macOS: 10.13.6-x86_64
CLT: <IP_ADDRESS>.1.1535735448
CLT headers: N/A
Xcode: 10.0
XQuartz: 2.7.11 => /opt/X11

brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
  /Users/bbercovici/miniconda2/bin/python2-config
  /Users/bbercovici/miniconda2/bin/icu-config
  /Users/bbercovici/miniconda2/bin/freetype-config
  /Users/bbercovici/miniconda2/bin/xslt-config
  /Users/bbercovici/miniconda2/bin/libpng16-config
  /Users/bbercovici/miniconda2/bin/python2.7-config
  /Users/bbercovici/miniconda2/bin/libpng-config
  /Users/bbercovici/miniconda2/bin/xml2-config
  /Users/bbercovici/miniconda2/bin/python-config
  /Users/bbercovici/miniconda2/bin/ncursesw6-config
  /anaconda2/bin/python2-config
  /anaconda2/bin/icu-config
  /anaconda2/bin/freetype-config
  /anaconda2/bin/xslt-config
  /anaconda2/bin/libpng16-config
  /anaconda2/bin/python2.7-config
  /anaconda2/bin/libpng-config
  /anaconda2/bin/xml2-config
  /anaconda2/bin/python-config
  /anaconda2/bin/curl-config
  /anaconda2/bin/ncursesw6-config
  /anaconda2/bin/pcre-config

Warning: gettext files detected at a system prefix.
These files can cause compilation and link failures, especially if they
are compiled with improper architectures. Consider removing these files:
  /usr/local/lib/libgettextlib.dylib
  /usr/local/lib/libintl.dylib
  /usr/local/include/libintl.h
  /usr/local/lib/libgettextlib.dylib
  /usr/local/lib/libintl.dylib
  /usr/local/include/libintl.h

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
  /usr/local/lib/BugpointPasses.dylib
  /usr/local/lib/LLVMHello.dylib
  /usr/local/lib/libASPEN.dylib
  /usr/local/lib/libCGAL_interface.dylib
  /usr/local/lib/libLTO.dylib
  /usr/local/lib/libasprintf.0.dylib
  /usr/local/lib/libassimp.3.3.1.dylib
  /usr/local/lib/libgettextlib-<IP_ADDRESS>.dylib
  /usr/local/lib/libgettextpo.0.dylib
  /usr/local/lib/libgettextsrc-<IP_ADDRESS>.dylib
  /usr/local/lib/libintl.8.dylib
  /usr/local/lib/libmpfr.4.dylib
  /usr/local/lib/libomp.dylib
  /usr/local/lib/libopenjp<IP_ADDRESS>.dylib
  /usr/local/lib/libqhull.5.dylib

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .la files:
  /usr/local/lib/libasprintf.la
  /usr/local/lib/libgettextlib.la
  /usr/local/lib/libgettextpo.la
  /usr/local/lib/libgettextsrc.la
  /usr/local/lib/libintl.la
  /usr/local/lib/libmpfr.la
  /usr/local/lib/libqhull.la

Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
  /usr/local/lib/pkgconfig/assimp.pc
  /usr/local/lib/pkgconfig/libopenjp2.pc

Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected static libraries:
  /usr/local/lib/libLLVMAArch64AsmParser.a
  /usr/local/lib/libLLVMAArch64AsmPrinter.a
  /usr/local/lib/libLLVMAArch64CodeGen.a
  /usr/local/lib/libLLVMAArch64Desc.a
  /usr/local/lib/libLLVMAArch64Disassembler.a
  /usr/local/lib/libLLVMAArch64Info.a
  /usr/local/lib/libLLVMAArch64Utils.a
  /usr/local/lib/libLLVMAMDGPUAsmParser.a
  /usr/local/lib/libLLVMAMDGPUAsmPrinter.a
  /usr/local/lib/libLLVMAMDGPUCodeGen.a
  /usr/local/lib/libLLVMAMDGPUDesc.a
  /usr/local/lib/libLLVMAMDGPUDisassembler.a
  /usr/local/lib/libLLVMAMDGPUInfo.a
  /usr/local/lib/libLLVMAMDGPUUtils.a
  /usr/local/lib/libLLVMARMAsmParser.a
  /usr/local/lib/libLLVMARMAsmPrinter.a
  /usr/local/lib/libLLVMARMCodeGen.a
  /usr/local/lib/libLLVMARMDesc.a
  /usr/local/lib/libLLVMARMDisassembler.a
  /usr/local/lib/libLLVMARMInfo.a
  /usr/local/lib/libLLVMAnalysis.a
  /usr/local/lib/libLLVMAsmParser.a
  /usr/local/lib/libLLVMAsmPrinter.a
  /usr/local/lib/libLLVMBPFAsmPrinter.a
  /usr/local/lib/libLLVMBPFCodeGen.a
  /usr/local/lib/libLLVMBPFDesc.a
  /usr/local/lib/libLLVMBPFDisassembler.a
  /usr/local/lib/libLLVMBPFInfo.a
  /usr/local/lib/libLLVMBitReader.a
  /usr/local/lib/libLLVMBitWriter.a
  /usr/local/lib/libLLVMCodeGen.a
  /usr/local/lib/libLLVMCore.a
  /usr/local/lib/libLLVMCoroutines.a
  /usr/local/lib/libLLVMCoverage.a
  /usr/local/lib/libLLVMDebugInfoCodeView.a
  /usr/local/lib/libLLVMDebugInfoDWARF.a
  /usr/local/lib/libLLVMDebugInfoMSF.a
  /usr/local/lib/libLLVMDebugInfoPDB.a
  /usr/local/lib/libLLVMDemangle.a
  /usr/local/lib/libLLVMExecutionEngine.a
  /usr/local/lib/libLLVMGlobalISel.a
  /usr/local/lib/libLLVMHexagonAsmParser.a
  /usr/local/lib/libLLVMHexagonCodeGen.a
  /usr/local/lib/libLLVMHexagonDesc.a
  /usr/local/lib/libLLVMHexagonDisassembler.a
  /usr/local/lib/libLLVMHexagonInfo.a
  /usr/local/lib/libLLVMIRReader.a
  /usr/local/lib/libLLVMInstCombine.a
  /usr/local/lib/libLLVMInstrumentation.a
  /usr/local/lib/libLLVMInterpreter.a
  /usr/local/lib/libLLVMLTO.a
  /usr/local/lib/libLLVMLanaiAsmParser.a
  /usr/local/lib/libLLVMLanaiCodeGen.a
  /usr/local/lib/libLLVMLanaiDesc.a
  /usr/local/lib/libLLVMLanaiDisassembler.a
  /usr/local/lib/libLLVMLanaiInfo.a
  /usr/local/lib/libLLVMLanaiInstPrinter.a
  /usr/local/lib/libLLVMLibDriver.a
  /usr/local/lib/libLLVMLineEditor.a
  /usr/local/lib/libLLVMLinker.a
  /usr/local/lib/libLLVMMC.a
  /usr/local/lib/libLLVMMCDisassembler.a
  /usr/local/lib/libLLVMMCJIT.a
  /usr/local/lib/libLLVMMCParser.a
  /usr/local/lib/libLLVMMIRParser.a
  /usr/local/lib/libLLVMMSP430AsmPrinter.a
  /usr/local/lib/libLLVMMSP430CodeGen.a
  /usr/local/lib/libLLVMMSP430Desc.a
  /usr/local/lib/libLLVMMSP430Info.a
  /usr/local/lib/libLLVMMipsAsmParser.a
  /usr/local/lib/libLLVMMipsAsmPrinter.a
  /usr/local/lib/libLLVMMipsCodeGen.a
  /usr/local/lib/libLLVMMipsDesc.a
  /usr/local/lib/libLLVMMipsDisassembler.a
  /usr/local/lib/libLLVMMipsInfo.a
  /usr/local/lib/libLLVMNVPTXAsmPrinter.a
  /usr/local/lib/libLLVMNVPTXCodeGen.a
  /usr/local/lib/libLLVMNVPTXDesc.a
  /usr/local/lib/libLLVMNVPTXInfo.a
  /usr/local/lib/libLLVMObjCARCOpts.a
  /usr/local/lib/libLLVMObject.a
  /usr/local/lib/libLLVMObjectYAML.a
  /usr/local/lib/libLLVMOption.a
  /usr/local/lib/libLLVMOrcJIT.a
  /usr/local/lib/libLLVMPasses.a
  /usr/local/lib/libLLVMPowerPCAsmParser.a
  /usr/local/lib/libLLVMPowerPCAsmPrinter.a
  /usr/local/lib/libLLVMPowerPCCodeGen.a
  /usr/local/lib/libLLVMPowerPCDesc.a
  /usr/local/lib/libLLVMPowerPCDisassembler.a
  /usr/local/lib/libLLVMPowerPCInfo.a
  /usr/local/lib/libLLVMProfileData.a
  /usr/local/lib/libLLVMRISCVCodeGen.a
  /usr/local/lib/libLLVMRISCVDesc.a
  /usr/local/lib/libLLVMRISCVInfo.a
  /usr/local/lib/libLLVMRuntimeDyld.a
  /usr/local/lib/libLLVMScalarOpts.a
  /usr/local/lib/libLLVMSelectionDAG.a
  /usr/local/lib/libLLVMSparcAsmParser.a
  /usr/local/lib/libLLVMSparcAsmPrinter.a
  /usr/local/lib/libLLVMSparcCodeGen.a
  /usr/local/lib/libLLVMSparcDesc.a
  /usr/local/lib/libLLVMSparcDisassembler.a
  /usr/local/lib/libLLVMSparcInfo.a
  /usr/local/lib/libLLVMSupport.a
  /usr/local/lib/libLLVMSymbolize.a
  /usr/local/lib/libLLVMSystemZAsmParser.a
  /usr/local/lib/libLLVMSystemZAsmPrinter.a
  /usr/local/lib/libLLVMSystemZCodeGen.a
  /usr/local/lib/libLLVMSystemZDesc.a
  /usr/local/lib/libLLVMSystemZDisassembler.a
  /usr/local/lib/libLLVMSystemZInfo.a
  /usr/local/lib/libLLVMTableGen.a
  /usr/local/lib/libLLVMTarget.a
  /usr/local/lib/libLLVMTransformUtils.a
  /usr/local/lib/libLLVMVectorize.a
  /usr/local/lib/libLLVMX86AsmParser.a
  /usr/local/lib/libLLVMX86AsmPrinter.a
  /usr/local/lib/libLLVMX86CodeGen.a
  /usr/local/lib/libLLVMX86Desc.a
  /usr/local/lib/libLLVMX86Disassembler.a
  /usr/local/lib/libLLVMX86Info.a
  /usr/local/lib/libLLVMX86Utils.a
  /usr/local/lib/libLLVMXCoreAsmPrinter.a
  /usr/local/lib/libLLVMXCoreCodeGen.a
  /usr/local/lib/libLLVMXCoreDesc.a
  /usr/local/lib/libLLVMXCoreDisassembler.a
  /usr/local/lib/libLLVMXCoreInfo.a
  /usr/local/lib/libLLVMXRay.a
  /usr/local/lib/libLLVMipo.a
  /usr/local/lib/libasprintf.a
  /usr/local/lib/libgettextpo.a
  /usr/local/lib/libintl.a
  /usr/local/lib/libopenjp2.a
  /usr/local/lib/libqhull.a

Here's the gist link:
https://gist.github.com/412019cda33d2b6a964be7bfe05c87b0
Also your understanding was right. Removing the libomp.dylib and trying to build the formula from source fails at the cmake stage as OpenMP can't be found. Adding the recommended CMake flags from brew info libomp did the trick ! There's just an error message that was thrown by brew install libomp since brew install omp could not create a symlink to /usr/local/include/omp.h which already existed. I did not force this symlink to be created but neither cmake nor the compiler did not complain upon installing sharmlib. Thanks !


angularjs - better granularity for filter service parameter types

@use-strict thanks mate!

@vvakame this commit broke support for all filters except 'filter' (https://code.angularjs.org/1.4.2/docs/api/ng/filter/filter), consider https://code.angularjs.org/1.4.2/docs/api/ng/filter/date for example. I think there is no way to establish a strict interface for IFilterFunc, it could be anything.

@albv , I'll have a fix for this tomorrow. Can be solved with overloads to cover all filter types.

Please revert this.  It breaks string filters

wasn't aware that TypeScript allows overloads by argument values, nice trick @use-strict, thanks

@use-strict @baltie @albv.  In testing this I've found that it breaks any filter that isn't explicitly defining the generic.  Any chance you can submit a pr that makes the use of generics optional.  Also from what I've seen the string overloads are not working correctly with typescript 1.6.2

@albv @use-strict from the typescript docs regarding how overload call signatures work:

Functions with specialized overload signatures (those that use string literals in their overloads) do not use their specialized signatures when checking for compatibility.


checklist for 2024.06

Improvements:

Use inclusive TPF alias. [271f8320]
Give Seq some .head shortcuts (prevents unnecessary reifying) [07865140]
Check expectations of .deepmap / .duckmap / .nodemap [18d128ab]
Make Seq.end return a proper Failure [bea61881]

Additions:

Fixes:

Make sure the LAST phaser is always fired in .map [16ce594e]
Don't bother calling op in .duckmap on sig failure [af6df816]
Fix regresssion on NativeCall::Compiler::MSVC, introduced in 2024.05 [cc52ff12]
Don't set the FIRST flag always when iterating (fix and micro-optimization) [ad0afb04]

Deprecations:

Internal:

Micro-optimize .head(N) [141228a3]

None of these items require new docs.


[BUG] Exporter uses role collection name as resource name

Is there an existing issue for this?

[X] I have searched the existing issues

What version of the Terraform exporter are you using?
0.1.0-beta2
What version of the Terraform CLI are you using?
1.9.8
What type of issue are you facing
bug report
Describe the bug
The exporter currently uses the role collection names as resource names. This results in failures regarding role collections containing a dot in their name. This is related to SAP standard role collections and nothing which could be avoided during customizing.
Expected Behavior
I expected a successful export of all role collections.
Steps To Reproduce

Present role collections containing a dot in the subaccount you want to export.
Execute command btptf export -s ... to start the export
Wait until the export reaches "generating Terraform configuration for BTP_SUBACCOUNT_ROLE_COLLECTION"

User's Role Collections

Global Account Administrator
Subaccount Administrator

Add screenshots to help explain your problem

Additional context

Whole list of errors:
⣽  generating Terraform configuration for BTP_SUBACCOUNT_ROLE_COLLECTION╷
│ Error: Terraform encountered problems during initialisation, including problems
│ with the configuration, described below.
│
│ The Terraform configuration must be valid before initialization so that
│ Terraform can determine which modules and providers need to be installed.
│
│
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 2, in import:
│    2:                                 to = btp_subaccount_role_collection.apimanagement.selfservice.administrator
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 2, in import:
│    2:                                 to = btp_subaccount_role_collection.apimanagement.selfservice.administrator
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 2, in import:
│    2:                                 to = btp_subaccount_role_collection.apimanagement.selfservice.administrator
│
│ Unexpected extra operators after address.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 2, in import:
│    2:                                 to = btp_subaccount_role_collection.apimanagement.selfservice.administrator
│
│ Unexpected extra operators after address.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 6, in import:
│    6:                                 to = btp_subaccount_role_collection.apiportal.administrator
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 6, in import:
│    6:                                 to = btp_subaccount_role_collection.apiportal.administrator
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 6, in import:
│    6:                                 to = btp_subaccount_role_collection.apiportal.administrator
│
│ Resource instance key must be given in square brackets.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 6, in import:
│    6:                                 to = btp_subaccount_role_collection.apiportal.administrator
│
│ Resource instance key must be given in square brackets.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 10, in import:
│   10:                                 to = btp_subaccount_role_collection.apiportal.guest
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 10, in import:
│   10:                                 to = btp_subaccount_role_collection.apiportal.guest
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 10, in import:
│   10:                                 to = btp_subaccount_role_collection.apiportal.guest
│
│ Resource instance key must be given in square brackets.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 10, in import:
│   10:                                 to = btp_subaccount_role_collection.apiportal.guest
│
│ Resource instance key must be given in square brackets.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 14, in import:
│   14:                                 to = btp_subaccount_role_collection.apiportal.service.catalogintegration
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 14, in import:
│   14:                                 to = btp_subaccount_role_collection.apiportal.service.catalogintegration
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 14, in import:
│   14:                                 to = btp_subaccount_role_collection.apiportal.service.catalogintegration
│
│ Unexpected extra operators after address.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 14, in import:
│   14:                                 to = btp_subaccount_role_collection.apiportal.service.catalogintegration
│
│ Unexpected extra operators after address.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 18, in import:
│   18:                                 to = btp_subaccount_role_collection.authgroup.api.admin
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 18, in import:
│   18:                                 to = btp_subaccount_role_collection.authgroup.api.admin
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 18, in import:
│   18:                                 to = btp_subaccount_role_collection.authgroup.api.admin
│
│ Unexpected extra operators after address.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 18, in import:
│   18:                                 to = btp_subaccount_role_collection.authgroup.api.admin
│
│ Unexpected extra operators after address.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 22, in import:
│   22:                                 to = btp_subaccount_role_collection.authgroup.api.applicationdeveloper
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 22, in import:
│   22:                                 to = btp_subaccount_role_collection.authgroup.api.applicationdeveloper
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 22, in import:
│   22:                                 to = btp_subaccount_role_collection.authgroup.api.applicationdeveloper
│
│ Unexpected extra operators after address.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 22, in import:
│   22:                                 to = btp_subaccount_role_collection.authgroup.api.applicationdeveloper
│
│ Unexpected extra operators after address.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 26, in import:
│   26:                                 to = btp_subaccount_role_collection.authgroup.apiportalregistration
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 26, in import:
│   26:                                 to = btp_subaccount_role_collection.authgroup.apiportalregistration
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 26, in import:
│   26:                                 to = btp_subaccount_role_collection.authgroup.apiportalregistration
│
│ Resource instance key must be given in square brackets.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 26, in import:
│   26:                                 to = btp_subaccount_role_collection.authgroup.apiportalregistration
│
│ Resource instance key must be given in square brackets.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 30, in import:
│   30:                                 to = btp_subaccount_role_collection.authgroup.content.admin
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 30, in import:
│   30:                                 to = btp_subaccount_role_collection.authgroup.content.admin
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 30, in import:
│   30:                                 to = btp_subaccount_role_collection.authgroup.content.admin
│
│ Unexpected extra operators after address.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 30, in import:
│   30:                                 to = btp_subaccount_role_collection.authgroup.content.admin
│
│ Unexpected extra operators after address.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 34, in import:
│   34:                                 to = btp_subaccount_role_collection.authgroup.contentauthor
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 34, in import:
│   34:                                 to = btp_subaccount_role_collection.authgroup.contentauthor
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 34, in import:
│   34:                                 to = btp_subaccount_role_collection.authgroup.contentauthor
│
│ Resource instance key must be given in square brackets.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 34, in import:
│   34:                                 to = btp_subaccount_role_collection.authgroup.contentauthor
│
│ Resource instance key must be given in square brackets.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 38, in import:
│   38:                                 to = btp_subaccount_role_collection.authgroup.selfservice.admin
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 38, in import:
│   38:                                 to = btp_subaccount_role_collection.authgroup.selfservice.admin
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 38, in import:
│   38:                                 to = btp_subaccount_role_collection.authgroup.selfservice.admin
│
│ Unexpected extra operators after address.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 38, in import:
│   38:                                 to = btp_subaccount_role_collection.authgroup.selfservice.admin
│
│ Unexpected extra operators after address.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 42, in import:
│   42:                                 to = btp_subaccount_role_collection.authgroup.site.admin
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 42, in import:
│   42:                                 to = btp_subaccount_role_collection.authgroup.site.admin
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 42, in import:
│   42:                                 to = btp_subaccount_role_collection.authgroup.site.admin
│
│ Unexpected extra operators after address.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 42, in import:
│   42:                                 to = btp_subaccount_role_collection.authgroup.site.admin
│
│ Unexpected extra operators after address.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 110, in import:
│  110:                                 to = btp_subaccount_role_collection.if.messagesend
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid import address
│
│   on btp_subaccount_role_collection_import.tf line 110, in import:
│  110:                                 to = btp_subaccount_role_collection.if.messagesend
│
│ Only managed resources can be imported.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 110, in import:
│  110:                                 to = btp_subaccount_role_collection.if.messagesend
│
│ Resource instance key must be given in square brackets.
╵
╷
│ Error: Invalid address
│
│   on btp_subaccount_role_collection_import.tf line 110, in import:
│  110:                                 to = btp_subaccount_role_collection.if.messagesend
│
│ Resource instance key must be given in square brackets.

The generic format logic in format.go needs to contain a safeguard for this scenario.  Currently we only replace spaces, we also need to make sure to remove "." as delimiter
ToDo:

[ ] Adjust logic in format.go to safeguard this
[ ] Add a test case for this scenario taking apimanagment.selfservice.admin as example


Editing MOD Options creates error that freezes menu

NullReferenceException: Object reference not set to an instance of an object
  at StonecuttingExtended.StonecuttingExtendedDefsUpdater.UpdateStonecuttingSpeedStat (StonecuttingExtended.StonecuttingExtendedSettings settings) [0x00021] in <8f6490b9932545e78d887e9589d88c08>:0
  at StonecuttingExtended.StonecuttingExtendedDefsUpdater.UpdateDefs () [0x0000a] in <8f6490b9932545e78d887e9589d88c08>:0
  at StonecuttingExtended.StonecuttingExtendedMod.WriteSettings () [0x00000] in <8f6490b9932545e78d887e9589d88c08>:0
  at HugsLib.Settings.Dialog_VanillaModSettings.PreClose () [0x00016] in <4dd8a30b2ddc479e878b55ffe02db6e8>:0
  at (wrapper dynamic-method) Verse.WindowStack.Verse.WindowStack.TryRemove_Patch0(Verse.WindowStack,Verse.Window,bool)
  at (wrapper dynamic-method) Verse.Window.Verse.Window.Close_Patch1(Verse.Window,bool)
  at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x000e4] in <d243303f714d4dc48680ccaecd2f594e>:0
  at UnityEngine.GUI.CallWindowDelegate (UnityEngine.GUI+WindowFunction func, System.Int32 id, System.Int32 instanceID, UnityEngine.GUISkin _skin, System.Int32 forceRect, System.Single width, System.Single height, UnityEngine.GUIStyle style) [0x00078] in <4bee5931903d4283870a3843ed354648>:0

I've just run a quick test without stumbling about this issue. I have several guesses for the cause of this issue, but as long as I can't reproduce it, they are just guesses. Would you be able to provide me a save game?
And just to be sure. You're running it using RimWorld v1.3?


Question cos im retarded

this is where you pick your file to obfuscate yh?

Yeah but u can navigate wherever u want from there. For example if it's on your desktop click your desktop, etc


Wootric view appears under tab bar.

If you displaying wootric view from within controller which placed as tab in UITabbarViewController bottom part of the view not visible.

Hi @setoff. Why don't you show the survey in the UITabbarViewController?
e.g.
[Wootric showSurveyInViewController:self.parentViewController];

Hi, @diegoserranoa thank you, it works now. But it is better to use
[Wootric showSurveyInViewController:self.tabBarController]; instead of parent because current controller may be embedded into UINavigationController and parent property returns navigation controller instead of tab controller.

Nice that you got it to work! Yeah, I didn't know the structure but definitely better that way.
Cheers!


New Camera

Coverage decreased (-0.06%) to 37.487% when pulling fcc4a7085b650d6ceda7e24d0ef903182ae81617 on mlgthatsme:dev into 6a8fc8560c9525e0e11a331e72f09fe921c1dc4a on paulsapps:dev.

Coverage decreased (-0.06%) to 37.487% when pulling 9d6210ed92504ae37aca5746e6551e6e9a381d61 on mlgthatsme:dev into 6a8fc8560c9525e0e11a331e72f09fe921c1dc4a on paulsapps:dev.


ci: fix automatic releases

Nx Cloud Report
CI is running for commit 0a806802e8846130f4a64a38e813dd7b58e20c33.
📂 Click to track the progress, see the status, the terminal output, and the build insights.

Sent with 💌 from NxCloud.


feat: add llb to progress output

The idea behind this PR is to attach the JSON representation of the underlying LLB to each vertex in the progress output. This data should be available to be ingested by the cloud service, so it can be used for better visualizations.
This piece is just the client-side part. To see an example, you can use _EXPERIMENTAL_DAGGER_PROGROCK_JOURNAL:
$ _EXPERIMENTAL_DAGGER_PROGROCK_JOURNAL=/tmp/progrock.json dagger call -m github.com/jedevc/daggerverse/hugo build --target git@github.com:gohugoio/hugoBasicExample#master
$ cat /tmp/progrock.json | grep "exec hugo" | jq

...
    {
      "id": "sha256:2efaca543d1aae0cbfa350f05d048d9f3ed9149cb11482cc09cf5c73af2a7da8",
      "name": "exec hugo --gc --cacheDir /cache --destination /dest",
      "inputs": [
        "sha256:4d909dfc6a84e0f9285063eae4d36672b0f5c358be8fe91b80faabf4283cf19e",
        "sha256:d992cee8196052d190c4e3ab98c46199d4fbf1f5cc301c778732bde899deddfd"
      ],
      "labels": [
        {
          "name": "llb",
          "value": "{\"meta\":{\"args\":[\"hugo\",\"--gc\",\"--cacheDir\",\"/cache\",\"--destination\",\"/dest\"],\"env\":[\"PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\",\"GOLANG_VERSION=1.21.5\",\"GOTOOLCHAIN=local\",\"GOPATH=/go\"],\"cwd\":\"/src\",\"proxyEnv\":{\"ftpProxy\":\"{\\\"parentClientIDs\\\":[\\\"2x9fqd1jevoyr3kcffwptzt1n\\\",\\\"p7xe3ub52s74lwgq4rx0wgk8y\\\"],\\\"serverID\\\":\\\"z9f4o3lx4ie0j0z8ln5hyaq5f\\\",\\\"progSockPath\\\":\\\"/run/dagger/server-progrock-pvifkmx7r35ri8670uiu1nguv.sock\\\"}\"},\"removeMountStubsRecursive\":true},\"mounts\":[{\"dest\":\"/\"},{\"input\":\"1\",\"selector\":\"meta\",\"dest\":\"/.dagger_meta_mount\",\"output\":\"1\"},{\"input\":\"-1\",\"dest\":\"/cache\",\"output\":\"-1\",\"mountType\":\"CACHE\",\"cacheOpt\":{\"ID\":\"5buA7PiVeYHo/GgWBlI4tuKXOZ2VTFxRIQpSRNg5POI=\"}}]}"
        }
      ]
    },
...

This data can be used to get:

The exact command run, and the contents of the environment
All paths used during copying
The location cache mounts are mounted to
Links to git repos / http downloads
Secrets used
Essentially any info as directly represented in https://github.com/moby/buildkit/blob/master/solver/pb/ops.proto.

Resurrecting this - we shouldn't need the Progrock fork anymore, since you can send any protobuf-encoded value as metadata for a vertex, so in this case we can just send the LLB protobuf straight-up, just like we do for IDs:
https://github.com/dagger/dagger/blob/f11d17fb22ce4ded86110dbf790f92fd7bd013f4/tracing/graphql.go#L80-L86
In this case since it's happening in a WriteStatus plumbing you would just need to append to the StatusUpdate.Metas field.
This would add a nice symmetry to our progress stream. For query-level ID vertices, the digest will be the digest of its ID, which is sent as vertex metadata. And the for Buildkit-level LLB vertices, the digest is the digest of its LLB operation, which is also sent as vertex metadata.
It won't be exactly perfect since I see you've stripped out big things like FileOp content, which I don't currently do for IDs. But hey, it's just metadata.

It would be great to get this one moving again - thanks for the poke @vito 👈
Closing it is OK too if we don't have the bandwidth.

Chatted with @marcosnils yesterday, he'll be having a look at this as well :tada:
Most of the plumbing is done, we just need to get it to properly use the metas field.

Thanks for getting this across the line @marcosnils :tada:


Export as a  subword highlighted as a keyword

TS and JS Grammar Extension version:  0.0.44 / latest
Code
var exporter;
exporter = {...};

Fixed by 06edc778820e153d1b071d22a67a75dbb6fc4e42

VS Code August update shipped with this issue.
Is there anyway to workaround it? When we can expect this to be fixed in VS Code public version?

You can install VSCode extension to get latest grammar in the mean time.


fixed: sample details page button position

Proposed Changes

Fixes #8969

Combined with #8975

Before

After

@ohcnetwork/care-fe-code-reviewers
Merge Checklist

[ ] Add specs that demonstrate bug / test a new feature.
[ ] Update product documentation.
[ ] Ensure that UI text is kept in I18n files.
[ ] Prep screenshot or demo video for changelog entry, and attach it to issue.
[ ] Request for Peer Reviews
[ ] Completion of QA

LGTM


fix: Admins should not be allowed to add third-party login for their members

Close: #924
Fix: #888

plz r @hsluoyz


redis stat track socket connection

As far as I can see in the documentation there is no way to run redis-stat to monitor a socket. redis-cli has a -s parameter, can redis-stat utilize the -s parameter also?

Adding support for unix socket would be really nice. Please consider it.

https://www.techandme.se/performance-tips-for-redis-cache-server/
[section 4]. Use UNIX socket instead of port 6379
for performance, i do not open the redis tcp port.
so i'm using as below on command line.
$ redis-cli -s /var/run/redis.sock flushall

support for unix socket would be really sooooooooo great ! please ~~~


Apply fully multiline rules to the codebase

From http://www.php-fig.org/psr/psr-2/ :
Argument lists MAY be split across multiple lines, where each subsequent
line is indented once. When doing so, the first item in the list MUST be
on the next line, and there MUST be only one argument per line.

As discussed in #2440, we won't merge this PR for now.
We might be interested in merging it in lower branch though, as the fixer will be merged in a new minor version. Let's postpone this PR until #2440, we'll decide then what to do here.


sane-backends: 1.0.30 -> 1.0.32

sane-backends-git: remove, it's not updated often enough to be useful
Tested by scanning with epkowa on a 20.09 system with:
nixpkgs.overlays = [
      (self: super: {
        sane-backends = super.callPackage /home/symphorien/src/nixpkgs/pkgs/applications/graphics/sane/backends/default.nix {};
      })
    ];

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Fixed merge conflicts and retested.

Thanks, I added some comments


Adding new feature for real-time stock prices

Hi there,
Does anyone think there would be interest in adding a new feature that would return real-time stock prices?  I’ve researched a couple APIs and they either cost money or have no documentation.  Then I stumbled upon this new API: https://www.iextrading.com/developer/.  It just launched at the beginning of this year so I’m not sure how stable it is.
For example, a query would be:
User: stock AAPL
JARVIS: AAPL – $139.18
User: stock AAPL, GOOGL, MSFT
JARVIS:
AAPL – $139.18
GOOGL – $864.55
MSFT – $64.715

Looks good to me @chaseedward, go ahead! 😄

Hey @chaseedward, were you able to make some progress on this?

Yo @swapagarwal, should I add this feature?

Hi @swapagarwal, it seems that this issue has not been worked on, can I take it?


API gateway integration

Hey could you clearly explain how to connect and setup the API gateway. I couldn't get it to work.
i keep getting this error
Unexpected token u in JSON at position 0 at Object.parse (native) at handler (/var/task/index.js:62:24)

It seems like the API Gateway you created is not passing on the request body to the Lambda function. Make sure you have Use Lambda Proxy Integration checked when you create the API Gateway. I have updated the README to make this clear (see step #7 in the README.

Hey @filanthropic thanks for the quick reply!
I set up a post method with Lambda Proxy integration enabled and now the lambda function gets the message and processes the output.
But how do i get it to send the message back to Skype at the moment it just times out after 3 seconds.
I have attached my API gateway and cloudwatch error logs.

Never mind I fixed it. Just had to increase the timeout in the lambda function. 👍


Create example app.

We should create example app which will use paper bindings. It's gonna help us in validating if our bindings works properly, if there are any errors and if we covered all possible components and apis (In v1 of bindings i saw at least one totally broken binding, with example app we could easily spot it and fix it).
I tried to do it but had troubles with dependencies, couldn't make metro working with generated files (I was trying to do it in same way as bs-react-native did their example app). @medson10 @grsabreu Would you mind taking look on it?

@Trancever yeah I can, until tomorrow I push a initial setup for this

hi @Trancever, I'm sorry for my delay, but I'm busy this week at work. I'll send the pr with the example as soon as possible

@medson10 Don't worry, it' ok :)


README correction

README says that Rust Language Server is the one of supported IDEs. But it is now deprecated. Should we replace this with rust-analyzer? I've updated README in this PR.

Yeah, you are right, I merged PR.

Thanks!


Bug in example code

"from polymorphic.model import PolymorphicModel" should
"from polymorphic import PolymorphicModel"

We changed the imports for the 0.8 release (to handle Django 1.9), so this is in fact correct.


Some problems with publishing

Hi.
I'm seeing problems with publishing changes #62  and #63

Check it, please

@christiango  Hello! Can you check it?

Hey,  I'm sorry,  but we've had to disable publishing.  We have a new requirement that packages must be signed,  but we haven't been able to stand up that pipeline yet

@christiango Will you be able to push out updates manually or is this part dead in the water until a pipeline is in place?

Unfortunately, we do not currently have a means to publish manually and I am working on another project now

I am in real need of a new release of the NuGet package. Is there something I could help with?
Mainly due to the overload of specifying a custom StackTraceParser: https://github.com/microsoft/sourcemap-toolkit/commit/d1ff13f497279c1d1b99ff72273d5a0bc3b117f1
And the ToString() overload is also a missing feature: https://github.com/microsoft/sourcemap-toolkit/commit/c2d4546b69b0113522a1f4f15586410228240a98

Since I have moved to work on another team, there is unfortunately not someone available on the Microsoft side to set up and maintain a compliant pipeline with code signing for NuGet publishing from this repository.
I apologize for the inconvenience and hope we are able to set this back up someday.


nix.dev: Cloudflare not deploying

Affected service
nix.dev website
Describe the issue
Related: https://github.com/NixOS/nix.dev/issues/772
Unbeknownst to the @NixOS/documentation-team, Cloudflare requires Poetry because it can't Nix, so when we removed it that broke deployments.

Proposal
Please help us with:

Add a Hydra jobset with a nix.dev output tarball, so we can unpack the result anywhere
Optionally move to Fastly, since other infrastructure is hosted there

There's no good reason for us to revert to Poetry because that requires beginners to understand more things about the setup, so that should be the last resort.

Optionally move to Fastly, since other infrastructure is hosted there

s/Fastly/Netlify/ I imagine?

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/2023-11-02-documentation-team-meeting-notes-91/34938/1

Taking the discussion to https://github.com/NixOS/nix.dev/issues/772 - keeping this open on the infra side to track making sure nix.dev is properly onboarded onto NixOS's infra and they are not blocked on us.

This is resolved. Thanks a lot @delroth for your quick help.
If you'll ever advertise what you're doing in some sort of retrospective, that would be a success story.


Variable undefined

Thanks for messageformat :-) It's great.
How could I accomplish something like this:
The {item || 'foo'} was updated

Tried and it didn't work out of the box. I'm sure I'm doing something wrong.

FYI, this is the error I get:
{
  "message": "Expected \",\" or \"}\" but \"|\" found.",
  "expected": [
    {
      "type": "literal",
      "value": ",",
      "description": "\",\""
    },
    {
      "type": "literal",
      "value": "}",
      "description": "\"}\""
    }
  ],
  "found": "|",
  "offset": 10,
  "line": 1,
  "column": 11,
  "name": "SyntaxError"
}

Yes, the string you posted is not a syntactically valid message format string. The following messsage format string does the job:
The {item, select,
  undefined {foo}
  other {{item}}
} was updated

Ah hah! undefined, makes total sense. Thanks!


feat(statistics): create top statistics component

Context ☕
As part of the implementation (https://github.com/drodil/backstage-plugin-qeta/pull/62) and related to issue (https://github.com/drodil/backstage-plugin-qeta/issues/30).
I created a component that I intend to use on our Backstage homepage, but it's okay to be used on other pages without a problem.
Details:

It is possible to have a ranking that goes beyond the TOP 3
It is possible to change the icons used

https://github.com/drodil/backstage-plugin-qeta/assets/20074620/5d0c21ab-76c9-4bf7-bd39-0dd6eefbdd72

That's sweet, thanks! This is a good start but maybe can be developed further. At least few ideas:

Usernames could be links
There could be a card that shows statistics for one single user. That could be used for example in the user catalog page.

I will merge this and let's continue from there!


VariableAssignedUnusedValue false positive

The analyser incorrectly thinks that assignments in anonymous inner classes happen directly. Adding an assert(called == 0) between the two adds here works around the problem.
  "remove" should "be idempotent" in {
    val event = new Event
    var called = 0

    val id1 = event.add(new Runnable {
      override def run(): Unit = called = 1
    })
    val id2 = event.add(new Runnable {
      override def run(): Unit = called = 2 // Variable called has an unused value before this reassign.
    })

    event.remove(id1)
    event.remove(id1)

    event.run()
    assert(called == 2)
  }

Thanks a lot for the report, the issue is fixed in version 0.1.11


Scrollback does not work

Scrollback does not work.

OS used: MacOS
Bash version: GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18)
Arguments being used with the terminal_view_open command: none
A dump of the environment vars from the terminal view (call env in the terminal inside ST3)
*****@josephs-mbp-2: [src] $ env                                                                                TERM=linux                                                                                SHELL=/bin/bash                                                                                TMPDIR=/var/folders/lg/7490lkc91dq1649d40lfs2nh0000gn/T/                                                                                Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.0eQ09viE76/Render                                                                            USER=*****                                                                                SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.1D99F8Yb8V/Listeners                                                                                __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0                                                                                OAUTHLIB_INSECURE_TRANSPORT=1                                                                                PATH=/Users/*****/miniconda2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/Users/*****/miniconda2/bin         PWD=/Users/*****/Documents/eht/janus/src                                                                                XPC_FLAGS=0x0                                                                                XPC_SERVICE_NAME=0                                                                                SHLVL=1                                                                                HOME=/Users/*****                                                                                LOGNAME=*****                                                                                DISPLAY=/private/tmp/com.apple.launchd.rPI5fDVeDi/org.macosforge.xquartz:0                                                                             _=/usr/bin/env                                                                                OLDPWD=/Users/*****/Documents/eht/janus
Anything else you can think of that might help: My MacOS installation is pretty clean, just updated to Mojave. Have a custom ~/.bash_profile.

Please refer to: https://github.com/Wramberg/TerminalView/issues/28#issuecomment-316022892


didDeselect not called

(Required) Version Number:
latest version
Description
I need a single selection calendar. before it's works fine once I update a pod. i facing problem kindly do needfully
Steps To Reproduce
                calendarView.allowsMultipleSelection = false
                calendarView.allowsRangedSelection = false

Expected Behavior
Additional Context

because you need to rename your didSelect and didDeselect funcitons.
Check here to see all the functions you need to rename in the in migration guide

closing issue. Do let me know if youre still stuck

yes already changed still it's not calling
    func calendar(_ calendar: JTACMonthView, didDeselectDate date: Date, cell: JTACDayCell?, cellState: CellState, indexPath: IndexPath) {
        if isMultiSelection {
            calendar.deselectAllDates(triggerSelectionDelegate: false)
            selectedDates.removeAll()
            if !isRangeSelected {
                checkIn = date
            } else {
                checkIn = date
                checkOut = nil
                isRangeSelected = false
            }
            if let checkIn_date = checkIn {
                lbl_return_date.text = "dd MMM"
                lbl_return_day.text = "EEEE"
                dateFormatter.dateFormat = "dd MMM"
                lbl_departure_date.text = dateFormatter.string(from: date)
                dateFormatter.dateFormat = "EEEE"
                lbl_departure_day.text = dateFormatter.string(from: date)
                calendar.selectDates([checkIn_date], triggerSelectionDelegate:false, keepSelectionIfMultiSelectionAllowed: true)
            }
        } else {
            configurationCell(cell: cell, state: cellState)
        }
    }

are you able to provide me with a sample code<EMAIL_ADDRESS>i'll be ablel to take a look over the weekend.

closing issue again until user responds.
Setting the awaiting-response flag.

here I attached my sample project,
RangeSelection with custom Cell
untitled folder.zip


docs(travis): Correct the docs to also show how to do it on Xenial

Replaced by #3316 as the commit message is wrong.


Remove ThemeData.primarySwatch

In the dark theme, there isn't really a primary swatch, so this API was
a sandtrap. Instead, be explicit about the colors we need for various
widgets in the theme.
Fixes #1277

@Hixie

lgtm

Yes, I think we can make ThemeBrightness input-only, but it's slightly delicate, so I'm going to leave it for another patch.


Why isn't the example preficed with _extension?

Hello, reading the documentation, I was wondering why in this example the 'city' attribute is not prefixed with extension. In my case, the referring page states "When using a custom attribute in custom policies, you must prefix the claim type ID with extension to allow the correct data mapping to take place within the Azure AD B2C directory.".
https://learn.microsoft.com/en-us/azure/active-directory-b2c/user-flow-custom-attributes?pivots=b2c-custom-policy

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

ID: 4ace5e69-e1db-52c5-9c57-026fc6145a84
Version Independent ID: f6fcdaac-449a-5a37-5fc8-bef1ed731a2a
Content: Add user attributes and customize user input - Azure AD B2C
Content Source: articles/active-directory-b2c/configure-user-input.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@Koning53
Thanks for your feedback! We will investigate and update as appropriate.

@Koning53
Thanks for pointing this out .
I'm going to assign this to the document author so they can take a look at it accordingly.

@kengaderdus
Can you please check and add your comments on this doc update request as applicable.

@SaibabaBalapur-MSFT
Thanks for your feedback and patience. city is a built-in attribute, and not a custom/extension attribute, so you don't need to prefix it with extension .
For more details see, Azure AD B2C User profile attributes. Also mention in the Next steps section in Define custom attributes in Azure Active Directory B2C.
We'll proceed to close this issue. #please-close. But you can comment here if you've further questions.


Support DataFrame.transpose()

Support DataFrame.transpose()

#1839

For the operators like transpose, get_dummies, their outputs may have unknown dtypes, set dtypes as None is acceptable now in #2355 .

Please resolve conflicts. Note that if you want your PR to be merged, please pay attention to notifications sent to your E-mail account by Github. Fixing issues in time can also reduce probability of getting conflicts.


Add example of Money Flow mobile application

@feature-sliced/core
How long does it take to review an example?

It's not so much about time as about willpower. When the core team has energy to review projects, they get reviewed quickly, but I can't give an estimate when that will happen

Hey! Sorry it took so long to get to this project. I looked at it, and generally, I'm very impressed. Here are a few minor comments:

I noticed you have separated API methods in shared/api by entity. With this division, I think it makes more sense if it's placed next to the entity itself, that way, everything about the entity is in one place
[matter of preference] In your entities' UI you prefix component files with the name of the entity, this may be redundant, but also may be useful to navigate in the editor by tab names. Just something to think about, it's fine as it is

I'd particularly like to hear your thought on point 1. Other than that, the project is flawless, respect. I really like it and I think it makes for a great example of a larger project.
Btw I noticed the moneyflow.cash link just redirects to your GitHub, I expected to be able to try the app online. Is that working correctly?

Hi! Thank you for your review and for spending your time on it.
Regarding point 1, I must admit that I didn't have enough experience with FSD when I designed this part of the application. This is my first FSD project. I agree with you that having an API in the entities layer has some benefits. The entity logic is not shared between multiple layers, and the architecture has better context boundaries. I've seen many examples with the API segment in the shared layer. The main approach is to have the ability to move the API to another project or library. In the future, I also plan to create a desktop application, and perhaps having this segment in the shared layer could be useful in that case.
Regarding your question about trying the app online, this application is designed for mobile devices. You can find the Google Play Store link or a direct link to the APK file in the given GitHub link. You can install and try it if you have an Android device. Unfortunately, I don't have an official build for iOS at the moment. If you don't have an Android device, you can try this application with an emulator.

Usually it's recommended to put the abstract API client to shared/api, things like configuring the headers, JSON parsing, convenience functions for GET, POST, etc. If you want to share the API layer between the mobile app and desktop app, you don't have to keep it in shared. You can let the code take its semantic place next to the entities, but possibly consider setting up a monorepo where one package api would contain just the shared and entities and the other two packages, mobile and desktop, would consume this package and have an independent FSD root that may also include its own shared and entities, apart from consuming your api package.
Could you resolve the conflict on this branch, please? Then it would be good to merge

I appreciate your suggestions, and I will keep them in mind for future reference.
I resolved the conflict.


Pipe output directly into browserify

Is this possible? at the moment I compile my ts to dist/compiled-ts and then run browserified on my index.js in this directory, after my build I then delete the directory.
Does anyone have any nicer tips for doing it in one go without the intermediate directory?
The tasks I am using look something like:
gulp.task('build:typescript', function() {
var tsResult = gulp.src('./src/**/*.ts')
.pipe(ts({
sortOutput: true,
declarationFiles: true,
noEmitOnError: true,
module: 'commonjs',
target: 'ES5'
}));
var js = tsResult.js
    .pipe(gulp.dest('./dist/ts-build'));

var dts = tsResult.dts
	.pipe(concat('foo.d.ts'))
	.pipe(gulp.dest('./dist/typings'));

return es.merge(js, dts);

});
gulp.task('build:browserify', ['build:typescript'], function() {
var browserified = transform(function(filename) {
var b = browserify(filename);
return b.bundle();
});
return gulp.src('./dist/ts-build/index.js')
	.pipe(browserified)
	.pipe(rename('foo.js'))
	.pipe(gulp.dest('./dist'));

});

I don't think that's possible, since browserify doesn't work with gulp input streams if I'm not mistaken. It must open files from the filesystem, so you can't directly pipe to browserify.

@ivogabe that is an accurate statement.

Cool thanks guys, I was assuming as much but wanted to make sure I had not missed some voodoo magic somewhere.
Cheers


Add option to build postgis15 with comments

postgis_comments.sql needs to be built and installed in a seperate step according to the manual. This patch takes care of that.

Hi! If this is still useful can you address any comments brew audit --strict has locally? Thanks!

Closing per inactivity. Please feel free to request reopening or open a new PR if you're still interested - If you do, please fix any comments brew audit --strict has, Thanks!


Add privilege aware execution handler

Currently Turbinia assumes that it runs as a user with sudo privileges.  We should add methods to the TurbiniaTask object to handle executing privileged commands rather than hard-coding sudo into commands being run.

Additional suggestion: We can harden sudo by properly restricting who can use sudo and what can be used with sudo in the sudoers config file.

In the mean time, should we add "sudo" to all command execution that might need to be run with elevated privileges?
Use case is image_export.py parsing a disk.image file with chmod 000 in a  GoogleCloudDiskRawEmbedded

@aarontp is this solved now that we run insider docker containers and workers are privileged/we can define the user to run as within the Dockerfile?

Yeah, we can probably close this one out now.


Error: Request textDocument/documentSymbol failed with message: A cached document cannot be found.

Actual Behavior
The Output panel is popping up on saving and editing typescript files in short intervals.
The following message is shown:
[Error - 19:29:28] Request textDocument/documentSymbol failed.
  Message: Request textDocument/documentSymbol failed with message: A cached document cannot be found.
  Code: -32603

What follows are my settings. I also tried it with different configuration formats and settings.
Extension Settings
  "vscode-graphql.debug": true,
  "vscode-graphql.trace.server": "on",
  "vscode-graphql.config.baseDir": "./",
  "vscode-graphql.config.filePath": ".graphqlrc",

Expected Behavior
I can edit and save files without errors of the vscode-graphql extension.
Steps to Reproduce the Problem Or Description

Open ts file
Making inputs - Adding newlines, typing, saving

Specifications

GraphQL for VSCode Extension Version: graphql.graphql-vscode-insiders 0.3.5
VSCode Version:Version: 1.49.0-insider
Commit: 8c9b4015feb0297d99c8051c35e85d208ffe83e3
Date: 2020-09-03T07:13:55.843Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.4.0-45-lowlatency snap

OS Name: Ubuntu
OS Version: 20.04.1 LTS

Logs Of TS Server || GraphQL Language Service
TS Server Logs don't show anything when the error occurs.
[Info  - 17:36:59.425] Starting TS Server
[Info  - 17:36:59.425] Using tsserver from: /snap/code-insiders/516/usr/share/code-insiders/resources/app/extensions/node_modules/typescript/lib/tsserver.js
[Info  - 17:36:59.426] <syntax> Forking...
[Info  - 17:36:59.443] <syntax> Starting...
[Info  - 17:36:59.444] <semantic> Forking...
[Info  - 17:36:59.456] <semantic> Starting..

GraphQL Language Service is repeating the following (paths obscured). The more I type the more frequently.
03/09/2020, 19:46:50 [4] (pid: 753955) graphql-language-service-usage-logs: {"type":"usage","messageType":"textDocument/didChange","projectName":"default","fileName":"file:///path/to/edited-file.ts"}

[Error - 19:46:50] Request textDocument/documentSymbol failed.
  Message: Request textDocument/documentSymbol failed with message: A cached document cannot be found.
  Code: -32603
03/09/2020, 19:46:51 [4] (pid: 753955) graphql-language-service-usage-logs: {"type":"usage","messageType":"textDocument/didOpen","projectName":"default","fileName":"file:///path/to/edited-file.ts"}

03/09/2020, 19:46:51 [4] (pid: 753955) graphql-language-service-usage-logs: {"type":"usage","messageType":"workspace/didChangeWatchedFiles","projectName":"default","fileName":"file:///path/to/edited-file.ts"

I'd be happy to share more information as I really appreciate your work on this extension. It simply works as expected without hassle for me. I don't see that in the other GraphQL extensions.

are you using<EMAIL_ADDRESS>

Hey, no its 0.3.5

ah, then you have the “insiders edition” installed. make sure to uninstall that one (graphql.vscode-graphql-insiders) and install prisma.vscode-graphql, the stable extension

Yes, I have tried with the other version before but had no luck.
I followed your advice and it works now. It seems I tricked myself with changed  configurations.
Thank you for the fast response. Have a good evening and keep up the good work! :)

I am now having this issue. It's on the latest version of this extension (v0.3.10, here https://marketplace.visualstudio.com/items?itemName=GraphQL.vscode-graphql). I've tried every combination of uninstalling/reinstalling, clearing caches, switching to the insiders edition, switching back, and restarting my whole machine, and it's still happening.
@acao why did you ask about the insider's edition? Do you have a specific hypothesis about what's happening with some other kind of troubleshooting I could attempt?

so, the output panel is still appearing?

did you try closing the output panel? the error is normal to see as the cache is being built, but the configuration was added to the extension and this bug should not be visible in the latest version

The output panel is not the problem - it's not even opening automatically, I had to go and find it. My real problem is that the autocomplete and jump-to-definition parts of this extension are just completely non-functional. I assumed that since I was seeing an error in the log it was related. But if this error is part of normal expected operation, I guess I'll need to take another look at what's happening on my machine and possibly open a separate issue.
Thanks for your fast reply!

sounds like a configuration issue with your graphql config. can you open a support ticket?

Sure, that would be helpful! Is that just another GitHub issue?


Parameter graph editor UI

Some scene parameters change over time, such as camera location. nunuStudio can offer a 'parameter graph editor UI' to help animators fine-tune parameter transitions.
Examples
Blender3D
This idea is best illustrated by the Blender parameter graph UI (a.k.a. F-Curves):

Synfig Studio

Hi @brylie
This would be really neat 👍
What if i implement this as a animation object that can be used as a normal object (similar to containers) but its possible to controll its position, rotation and size using a graph editor similar to the one above?
It would require me to change the editor UI layout to support the graph editor alongside the scene explorer but it would be totally worth!
Thanks

Right on. Is there any way I can help with this feature? I am familiar with JavaScript to a certain extent.

I belive there is something similar inside threejs already with support for multiple interpolations i have to check it. If not i will implement it first as a programming API and after i will move it to UI.
If you want i can leave it for you to try to implement something, and i help you with whatever you need!
(Just for reference https://twitter.com/tentonej/status/834563874343022592)

Hm, I will start with some research.

There are a few of open source UI component libraries, for diagramming, that provide 'bezier' graph UI components, including:

Bezier.js
JointJS
mxGraph

It is also possible to build a UI component using a lower level graphical library, such as:

Raphaël

Graffle example
Curver example

@brylie Im trying to avoid any libs for the UI, graphs are easy to draw i have already an internal component for that (used in the particle editor)

Alright. I am just speculating that a good graph library might be useful for another idea:
https://github.com/tentone/nunuStudio/issues/28

@brylie Im thinking to add the animation system as something similar to this https://threejs.org/examples/#misc_animation_authoring what do you think?

Looks really cool! Kind of like the keyframes/curves UI.
Relatedly, I also like that it is easy tointeract with the 3D scene on a touchscreen, e.g. moving the cube around by its transform handles.


[QA] Add test coverage for sharer being member of shared group

Describe the bug
Extend our test coverage for scenarios when the sharer is a group member. Users share resources to groups and users check his/her own share-by-me and share-with-me
Steps

user 'Alice' added to group grp1
user Alice share resource file.txt to group grp1
user Alice check his/her share-by-me or share-with-me

according to old share api user Alice contain share resource on share-with-me

Test coverage

different drive

share-by-me
share-with-me

Closing this issue as tests are covered in PR: https://github.com/owncloud/ocis/pull/10349


Add 'Awesome Node.js @LibHunt' to the Discovery section

It is based on the awesme-nodjes list here plus some helpful additions. For example: ordering by popularity, dev activity, trends and the ability to compare the different libs.

No thanks :)

Fair enough, you are the person taking the decision :). Yet, it would be very polite of you to shed some light why it isn't suitable?
Thanks!


yarn.lock contains broken links to packages (405 Method Not Allowed)

I'm trying to install dependencies in ui-builder but I'm getting the error
https://registry.npmjs.org/image-size/image-size-0.5.5.tgz: Request failed "405 Method Not Allowed"

Link to package in yarn.lock: https://registry.npmjs.org/interpret/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296
Correct link: https://registry.npmjs.org/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296
This is not the only package with a broken link

We need to fix next packages after open source publication:

[ ] dev-tools
[ ] runtime
[ ] ui builder
[ ] components


c.runtime === 'node' does not work well

c.runtime === 'node' does not work well. It is because the global.process.title is such as/Users/yusuke/.n/bin/node in my environment. We have to detect which is node or not in another way.

Hi @yujong-lee !
If you have time, could you consider this issue?

@yusukebe
I think (typeof process !== 'undefined') && (process.release.name === 'node') is reliable solution.
https://nodejs.org/api/process.html#processrelease
Could you test if it works for your environment?

@yujong-lee
Yes! process.release.name become node in my environment! It's good.
So, could you make the PR to fix this issue?


fix setup custom format guides improper heading indents

all groups of custom formats were incorrectly listed under releases to avoid
current state

Pull request
Purpose
Detailed description why you created this Pull Request.
Approach
If this Pull Request is created to solve a issue explain how does this change address the problem?
Open Questions and Pre-Merge TODOs
Check all boxes as they are completed

[ ] Use github checklists. When solved, check the box and explain the answer.

Learning
If you're adding a new Custom Format make sure you follow the Radarr/Sonarr Custom Format (JSON) Guidelines.
Requirements
Check all boxes as they are completed

[ ] These changes meet the standards for contributing.
[ ] I have read the code of conduct.

I hope to get home tomorrow at a reasonable time to take a look, I have a few plans for changes anyway


Update mill-main to 0.11.0-27-d74d22

About this PR
📦 Updates com.lihaoyi:mill-main from 0.11.0-6-167183 to 0.11.0-27-d74d22
📜 Release Notes
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.lihaoyi", artifactId = "mill-main" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.lihaoyi", artifactId = "mill-main" }
}]

labels: library-update, early-semver-pre-release, semver-spec-pre-release, commit-count:1

Superseded by #124.


Integrate AnnData and scperturb

Serious ML doesn’t use anndata and it’s not a core component of modern single cell data frameworks (tile db soma cellxgene etc). Metadata is not concerning here as it still makes up the final pandas dataframe. The original anndata object can still be fetched with some of our code or directly from Harvard metaverse.
Sent from Proton Mail for iOS
On Fri, Apr 5, 2024 at 6:02 PM, Abolfazl (Abe) @.***(mailto:On Fri, Apr 5, 2024 at 6:02 PM, Abolfazl (Abe) < wrote:

@abearab commented on this pull request.

On tdc/multi_pred/anndata_dataset.py:
Why not using the original AnnData object? In many cases there are tons of meta data in .obs and .var that can be important for downstream tasks. Many tools actually directly rely on that, you may have seen https://scverse.org/
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: @.***>

Feel free to write a pull request for this and someone from the team will review.
In general, we prefer the output be a pandas dataframe given our focus on integrating with modern ml frameworks.
Sent from Proton Mail for iOS
On Fri, Apr 5, 2024 at 6:06 PM, Abolfazl (Abe) @.***(mailto:On Fri, Apr 5, 2024 at 6:06 PM, Abolfazl (Abe) < wrote:

@abearab commented on this pull request.

In tdc/utils/load.py:

@@ -302,6 +302,15 @@ def pd_load(name, path):
name + "." + name2type[name]))
elif name2type[name] == "zip":
df = pd.read_pickle(os.path.join(path, name + "/" + name + ".pkl"))

   elif name2type[name] == "h5ad":

       import anndata

       adata = anndata.read_h5ad(

           os.path.join(path, name + "." + name2type[name]))

       # df = pd.DataFrame(adata.X.toarray(), columns=adata.var_names, index=adata.obs_names)

       # TODO: multi-index would help include var information in columns

I think AnnData doesn't like multi-index tables (I'm not sure why). I was interested in a class inherited from AnnData but I ended up writing a wrapper around that to enable saving multi-index tables in my python object, see ScreenPro class here
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: @.***>

I totally get your point but I think AnnData has been a gold standard for a very diverse set of tasks including ML for single cell community – see https://scvi-tools.org. However, feel free to ignore my comment here! I was curious how you integrated AnnData and scperturb as I have been thinking of using them with TDC for a long time. I'll be more than happy to use these features and provide feedback.


Obsolete state stopped working in 2.1 AL ver.

Hi all,
'ObsoleteState' is not available in runtime version '2.1'. The supported runtime versions are: '4.0' or greater.
I´m sorry to say this used to work in 2.1 now I no longer can use it. I guess if I change my AL extension version to an older one it will work but... Not sure why this no longer works.
Thanks.

What object are you trying to use ObsoleteState on?
For the majority of objects, ObsoleteState was only implemented in runtime version 4.0. Only Tables, Table Fields and Table Keys had ObsoleteState support prior to that.

Hi,
Im trying in a table as I did before. It seems like those I already wrote long work fine but if I try with a new one, it fails.
In my extension version I can´t delete fields/change keys... so obsoletestate is mandatory to have track for those fields.
Thanks.

I'm not sure if I follow. What do you mean by "it fails"?
I am able to create the following when targeting "RuntimeVersion":"2.1" in my app.json:
table 1 MyTable
{
    ObsoleteState = Removed;
    fields
    {
        field(1; N; Integer)
         {
            ObsoleteState = Removed;
         }
    }
}

Can you provide a sample project?

Good morning,
Sure, find below:
This one works, even in same table (I have more in other tables)

this one doesnt


mamba --json repoquery search doesn't return JSON output

It just prints the normal output, no JSON. I'm currently testing this for mamba --json repoquery --override-channels -c conda-forge search conda-smithy.

What should be the JSON output like? Something like that:
{
    "conda-smithy": [
        {
            "version": "3.7.3",
            "build": "py_0",
            "channel": "conda-forge/noarch"
        },
        {
            "version": "3.7.2",
            "build": "py_0",
            "channel": "conda-forge/noarch"
        }
    ]
}

There is already JSON output implemented but not printed: https://github.com/QuantStack/mamba/blob/37748027a947a216d9027a92384a2e595fb1a6da/src/query.cpp#L214-L231

I see, then I think the command is mamba repoquery --json --override-channels -c conda-forge search conda-smithy (--json after repoquery, not before).

Yes, this works. Thanks!

indeed. I am too stupid to figure out how to properly add the json flag to sub-sub commands in argparse :) I tried  for a while but gave up for a while :)


Support zsh configuration.

Adds support for zsh. In case it is installed, it adds the required env variables to the .zshrc file.
Addresses: #2367

looks good to me, although i have not tested.
minor comment: the variable SHELL_PATH could maybe be renamed? it suggests to point to the path of the shell, although it points to the "run commands" (or "rc") file.

Good point, I'll rename it to something more intuitive.

@jcohenadad I've updated the name to RC_FILE_PATH how does it sounds to you?


⚠ Thumbnails API Endpoint has degraded performance

In 810f195, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 5669 ms

Resolved: Thumbnails API Endpoint performance has improved in b6e58c5.


Switch tests that require external services (ssh/minio) to integration tests

Tests accessing external services should be run as separate integration tests, rather than as unit tests.
It would also be beneficial to not require pre-configured and running external containers to provide these services, but rather to spin up services as part of the test or test harness setup.

I agree - we should move all integrations tests out of the main repo and not as unit tests


TCOMP-141: Change the virtual component interface and add the implement in salesforce

https://jira.talendforge.org/browse/TCOMP-141
1)Change the interface of virtual component
2)Add implement in tSalesforceOutputBulkExec

We might need to test / validate with ycbai first, to make sure everything is ok before merge to master

I'm OK with merging this when you are ready.


Fitness feed looks horrible

The cards look mostly empty/white.
The dates should be relative (Last Tues, Yetserday, etc.)
Sorted in the wrong order (should be most recent first?)

I fixed this today in https://github.com/domokit/sky_engine/commit/2c1be2f25534011fbf067acada28c9f0c1e85497


Integration Test for PostgreSQL and Manticore using Docker

Type of Change:

Enhancement - Integration Test for PostgreSQL and Manticore using Docker

Description of the Change:

Integration Test for PostgreSQL and Manticore using Docker

This test validates the correct interaction between PostgreSQL and Manticore using Docker containers. The following steps are performed during the test:

Docker Daemon Initialization: The Docker environment is initialized using the dockerd command, ensuring the Docker API is available for container management.
PostgreSQL Container Launch:

A PostgreSQL database is initialized using a Docker image.
The SQL script (init.sql) is loaded and executed, creating tables and inserting test data.
The readiness of PostgreSQL to accept connections is verified.

Manticore Container Launch:

The Manticore container is configured to index data from PostgreSQL using the provided configuration file.
The readiness of Manticore to accept connections is checked after startup.

Indexing Verification:

Manticore is queried via the MySQL protocol to ensure that the data from the PostgreSQL table has been correctly indexed and is available for search.

The test concludes with a successful verification that data from PostgreSQL is present in Manticore’s index.
Related Issue (provide the link):
https://github.com/manticoresoftware/docker/issues/88

@sanikolaev please verify implementation and approve for merger.


1.1.0

Implement page creation loop launched by CLI-command.

Preparing all the infrastructure for coding.


Initial container setup

References user story #14
Objective(s)

[x] copy/unpack nginx example provided
[x] modify docker-compose.yaml to reference GraphHtml
[x] test changes in Ubuntu VM

I've been working through numerous YT videos trying to get an initial base container configured/setup. I thought I was close until the tutorial I was following completely changed focus. I am still unclear of how to use both a Dockerfile and docker-compose.yaml file. I have successfully built an image from a Dockerfile and am making progress; although I've spent much more time than I would have preferred on this process. This latest tutorial has used a Dockerfile to create an image with a node:alpine base, workdir, "app" user, copy, run, env vars, and expose.
{t:420}

Created / Updated GraphingHtml structure / Tested docker-compose.yaml in Ubuntu VM.
{t:240}


c.Username doesnt work

[QUESTION] c.UserName doesnt work
Initial Check

If the issue is a request please specify that it is a request in the title (Example: [REQUEST] more features). If this is a question regarding 'twint' please specify that it's a question in the title (Example: [QUESTION] What is x?). Please only submit issues related to 'twint'. Thanks.

Make sure you've checked the following:

[] Python version is 3.6;
[] Updated Twint with pip3 install --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint;
[] I have searched the issues and there are no duplicates of this issue/question/request.

Command Ran
Import
import twint
Configure
c = twint.Config()
c.Username = "RobertoEntio"
#c.Search = "RobertoEntio”
Run
twint.run.Search(c)
Description of Issue

c.UserName = "RobertoEntio" doesn't work, only when I put c.Search = "RobertoEntio" too. If I put only the c.UserName field, I get the following  -->

'NoneType' object is not subscriptable [x] get.User
...............
...............
...............
TypeError: 'NoneType' object is not subscriptable
I downloaded manually the last version from git to local and install with pip
Any help plz?
Environment Details

Using Windows 10

Not sure if you are using c.UserName or c.Username
Anyway, I tried your query and I have it working correctly

This is what I get:
import twint
c = twint.Config()
c.Username = "RobertoEntio"
twint.run.Search(c)
'NoneType' object is not subscriptable [x] get.User
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\aniegarc\TFM\venv\lib\site-packages\twint\run.py", line 201, in Search
run(config)
File "C:\Users\aniegarc\TFM\venv\lib\site-packages\twint\run.py", line 153, in run
get_event_loop().run_until_complete(Twint(config).main())
File "C:\Program Files\Python37\lib\asyncio\base_events.py", line 584, in run_until_complete
return future.result()
File "C:\Users\aniegarc\TFM\venv\lib\site-packages\twint\run.py", line 113, in main
self.config.User_id = await get.User(url, self.config, self.conn, True)
File "C:\Users\aniegarc\TFM\venv\lib\site-packages\twint\get.py", line 133, in User
return int(inf(soup, "id"))
File "C:\Users\aniegarc\TFM\venv\lib\site-packages\twint\user.py", line 16, in inf
ret = group["data-user-id"]
TypeError: 'NoneType' object is not subscriptable

Please be sure to have Twint updated. I'm unable to replicate your issue with every username that I try

I have installed again:
C:\Users\aniegarc\TFM>pip3 install C:\Users\aniegarc\TFM\src\twint-master.zip --user
Processing c:\users\aniegarc\tfm\src\twint-master.zip
Requirement already satisfied: aiohttp in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from twint==1.2.1) (3.5.4)
Requirement already satisfied: aiodns in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from twint==1.2.1) (2.0.0)
Requirement already satisfied: beautifulsoup4 in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from twint==1.2.1) (4.7.1)
Requirement already satisfied: cchardet in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from twint==1.2.1) (2.1.4)
Requirement already satisfied: elasticsearch in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from twint==1.2.1) (7.0.0)
Requirement already satisfied: pysocks in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from twint==1.2.1) (1.6.8)
Requirement already satisfied: pandas in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from twint==1.2.1) (0.24.2)
Requirement already satisfied: aiohttp_socks in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from twint==1.2.1) (0.2.2)
Requirement already satisfied: schedule in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from twint==1.2.1) (0.6.0)
Requirement already satisfied: geopy in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from twint==1.2.1) (1.19.0)
Requirement already satisfied: async-timeout<4.0,>=3.0 in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from aiohttp->twint==1.2.1) (3.0.1)
Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from aiohttp->twint==1.2.1) (1.3.0)
Requirement already satisfied: chardet<4.0,>=2.0 in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from aiohttp->twint==1.2.1) (3.0.4)
Requirement already satisfied: attrs>=17.3.0 in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from aiohttp->twint==1.2.1) (19.1.0)
Requirement already satisfied: multidict<5.0,>=4.0 in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from aiohttp->twint==1.2.1) (4.5.2)
Requirement already satisfied: pycares>=3.0.0 in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from aiodns->twint==1.2.1) (3.0.0)
Requirement already satisfied: soupsieve>=1.2 in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from beautifulsoup4->twint==1.2.1) (1.9.1)
Requirement already satisfied: urllib3>=1.21.1 in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from elasticsearch->twint==1.2.1) (1.24.3)
Requirement already satisfied: python-dateutil>=2.5.0 in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from pandas->twint==1.2.1) (2.8.0)
Requirement already satisfied: pytz>=2011k in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from pandas->twint==1.2.1) (2019.1)
Requirement already satisfied: numpy>=1.12.0 in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from pandas->twint==1.2.1) (1.16.2)
Requirement already satisfied: geographiclib<2,>=1.49 in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from geopy->twint==1.2.1) (1.49)
Requirement already satisfied: idna>=2.0 in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from yarl<2.0,>=1.0->aiohttp->twint==1.2.1) (2.8)
Requirement already satisfied: cffi>=1.5.0 in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from pycares>=3.0.0->aiodns->twint==1.2.1) (1.12.3)
Requirement already satisfied: six>=1.5 in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from python-dateutil>=2.5.0->pandas->twint==1.2.1) (1.12.0)
Requirement already satisfied: pycparser in c:\users\aniegarc\appdata\roaming\python\python37\site-packages (from cffi>=1.5.0->pycares>=3.0.0->aiodns->twint==1.2.1) (2.19)
Installing collected packages: twint
Found existing installation: twint 1.2.1
Uninstalling twint-1.2.1:
Successfully uninstalled twint-1.2.1
Running setup.py install for twint ... done
Successfully installed twint-1.2.1

The log is correct

But I get the same problem, after running the script :(

It seems that the twint package that's loaded is wrong. For example one of your log lines is

File "C:\Users\aniegarc\TFM\venv\lib\site-packages\twint\get.py", line 133, in User
return int(inf(soup, "id"))

But that line is different from this https://github.com/twintproject/twint/blob/49fe573293977fbea1519d828ae8ed7780eea28c/twint/get.py#L133
Your line 133 is, actually, line 172 https://github.com/twintproject/twint/blob/49fe573293977fbea1519d828ae8ed7780eea28c/twint/get.py#L172

so what can I do?

No worries, now enjoy Twint!

Sorry I get this now:
CRITICAL:root:twint.get:User:'NoneType' object is not subscriptable
And afterwards, the tweets:
1126462919963705344 2019-05-09 14:24:23 Hora de verano romance  @Atleti pongan los 80M de Lucas https://twitter.com/rubenuria/status/1126445234769014784 …
1126403330123665408 2019-05-09 10:27:36 Hora de verano romance  Este tío es un hijo de la gran puta. No convoca a ninguna jugadora del Barça pero si a las del Atleti qu
e también tienen una final este sábado. https://twitter.com/SeFutbolFem/status/1126161332598919170 …

I'm not getting your error message
FYI, c.Since and c.Until is used only with run.Search

I am running into the same errors. I am currently getting grips with the package and used this script, using one of the examples provided in the Wiki:
SCRIPT:
`import twint
import pandas as pd
import nest_asyncio
nest_asyncio.apply()
username = "@Record_Politics"
c = twint.Config()
c.Limit = 20
c.Username = username
c.Store_pandas = True
c.Pandas = True
c.Debug = True
c.Store_csv = True
c.Output = "test_twint_df.csv"
twint.run.Search(c)
Tweets_df = twint.storage.panda.Tweets_df`
TRACEBACK:
CRITICAL:root:twint.get:User:'NoneType' object is not subscriptable CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 1.0 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 8.0 secs
OPERATING SYSTEM:
MacOS


Update _config.yml

I think this wont work because the page for this theme has installation instructions (http://jekyllthemes.org/themes/jekyll-theme-leaf/) but i am just seeing what happens

Let's see if this works


All topics are deleted by default

result is true by default, and this causes all topics to be deleted (not just topics created by this tool). It would be better if only topics that were created by this tool were deleted.
A few snippets where a change would be required:
https://github.com/redpanda-data/openmessaging-benchmark/blob/main/driver-redpanda/src/main/java/io/openmessaging/benchmark/driver/redpanda/RedpandaBenchmarkDriver.java#L91-L102
https://github.com/redpanda-data/openmessaging-benchmark/blob/main/driver-kafka/src/main/java/io/openmessaging/benchmark/driver/kafka/KafkaBenchmarkDriver.java#L91-L101

Believe this has been resolved with @tmgstevens changes to limit deletion to just the topics matching a particular string used with benchmarking.

https://github.com/redpanda-data/openmessaging-benchmark/pull/58


fix: struct padding for 8 bytes alignment

This PR fixes the memory layout of some structs to reduce their size (aligned for 8 bytes, which should be most platforms).

srtpSSRCState goes from 40 bytes to 32 bytes
ReadStreamSRTCP from 56 to 48
ReadStreamSRTP from 56 to 48

Those are small improvements, but should help in large scale scenarios.
I noticed this is an optimization that could be made across most pion repositories, if that's something worth doing @Sean-Der ?

If someone wants to go through this process, here's how I did it:

Set the Go version as 1.18 in go.mod
Add this file memory_layout_helpers.go to the package:

package srtp

import (
	"fmt"
	"reflect"
	"runtime"
)

// BenchmarkAllocation allocates `amount` elements of type T, and display the memory usage.
//
// For ease of optimization, each member of the element T is printed, with its offset, padding & alignment.
func BenchmarkAllocation[T any](amount int) {
	typ := reflect.TypeOf(ZeroValue[T]())

	fmt.Printf("Struct is %d bytes long\n", typ.Size())

	n := typ.NumField()
	totalMinimumSize := uintptr(0)

	for i := 0; i < n; i++ {
		field := typ.Field(i)
		fmt.Printf("%-40s at offset %-8d | size = %-3d | align = %d\n",
			field.Name, field.Offset, field.Type.Size(),
			field.Type.Align())

		totalMinimumSize += field.Type.Size()
	}

	if typ.Size() != totalMinimumSize {
		fmt.Printf("with no padding, struct could be %d bytes long (%d bytes gain)\n", totalMinimumSize, typ.Size()-totalMinimumSize)
	}

	var allStats []T
	for i := 0; i < amount; i++ {
		allStats = append(allStats, ZeroValue[T]())
	}

	PrintMemoryUsage()
}

func PrintMemoryUsage() {
	var m runtime.MemStats
	runtime.ReadMemStats(&m)

	fmt.Printf("Alloc = %v MiB", bytesToMegabytes(m.Alloc))
	fmt.Printf("\tTotalAlloc = %v MiB", bytesToMegabytes(m.TotalAlloc))
	fmt.Printf("\tSys = %v MiB", bytesToMegabytes(m.Sys))
	fmt.Printf("\tNumGC = %v\n", m.NumGC)
}

func bytesToMegabytes(b uint64) uint64 {
	return b / 1024 / 1024
}

func ZeroValue[T any]() (value T) {
	return
}

Add memory_layout_test.go to the package:

// It is important to be in package `srtp` and not `srtp_test` to
// test internal structs.
package srtp

import (
	"testing"
)

func Test_StructMemoryLayout(t *testing.T) {
	BenchmarkAllocation[ReadStreamSRTP](1_000_000)
}

Run the test!

@Antonito - can you quantify the improvement here in typical usage? (speed, memory usage, etc.)
My concern with this kind of thing is the possibility that some dependency may rely on the internal structure or ordering of structs. For example maybe there's a project out there using Pion that sends the structs directly over the wire without any serialisation. This PR would break that if different versions of Pion are used at each end of the wire, and it is quite hard to determine if there are any such usages out there. So, these changes are not risk-free, therefore, knowing the scale of the benefit is important in making a go/no-go decision.

Thanks for the detailed answer @adriancable !
I definitely understand your concerns, and to be quite frank had the same ones.
Here's what I concluded (feel free to push back if I'm mistaken!):

srtpSSRCState is an internal state and holds a pointer (replaydetector.ReplayDetector), it can't be sent as-is over-the-wire.
ReadStreamSRTCP and ReadStreamSRTP are public, however they both contain pointers as well (*SessionSRTCP, chan bool) and mutexes, so they can't been sent without any serialization over-the-wire as well.

Regarding improvements, this should simply reduce slightly memory usage on 64 bits platforms, and should not impact performances .
It would mostly benefit SFUs with a large number of simultaneous connections (100k+).
If you want to push back that kind of changes to v4.0.0, it's also fine by me!

We're saving 8 bytes of memory per stream, maybe 24. If you have 100K+ connections, I would hope that you would not be running down to the last 800K - 2.4MB of RAM on the SFU!
Yes - every little helps - a little! And so I don't want this change to get forgotten, even if we don't merge it now. I think I need some second opinions on the right timing for this before pushing the button. @Sean-Der

@stv0g agree! Just missed this PR originally
we should merge this and enable to struct align lint INO


glm.FileData issue? with uris

Description of the bug:
google.api_core.exceptions.InvalidArgument: 400 Invalid or unsupported file uri:
glm.FileData with a uri doesn't seem to work? I need to use Part.from_uri from the old vertex.preview library, but that library does not let me use model = genai.GenerativeModel('gemini-1.5-pro-latest')
Actual vs expected behavior:
api_key = os.getenv("GEMINI_API_KEY")
genai.configure(api_key=api_key)
model = genai.GenerativeModel('gemini-1.5-pro-latest')
response = model.generate_content(
glm.Content(
parts = [
glm.Part(text="What is this image of?"),
glm.Part(
file_data=glm.FileData(
mime_type='image/png',
file_uri="gs://urihere.png"
)
),
],
),
stream=False)
print(response)
I'd expect this to work...but it says unsupported file uri (note: the uri is correct i just put a placeholder here for the example)
Any other information you'd like to share?
No response

same here

@zadiaz i think the only supported URI is the URIs from google file manager that start with https://generativelanguage.googleapis.com/v1beta/files

@va-mzaki  yes. This only supports files in the API. There are currently no plans to expand this. The Vertex's Gemini API handles some other FIleURIs.

This should be documented. I've used other generative AI services that do allow me to provide S3 presigned URLs, supabase storage URLs or even random image URLs.
Basically I have to upload my files to Google's AI file manager?


molecule: centralize requirements

@guidograzioli not sure why GH Actions is failing, but the PR is currently building on Olympus.

galaxy server timeout downloading deps, lets retrigger

@guidograzioli seems to have worked! Merge?