Update image URL for build status shield badge

Description

Hello, this PR updates the recent change of the image URL of the build badge.
ref. Change to GitHub workflow badge routes · Issue #8671 · badges/shields - https://github.com/badges/shields/issues/8671
Before

After

Checklist:

[x] I've made sure that tests are updated accordingly (especially if adding or updating a template option)
[x] I've updated the documentation or confirm that my change doesn't require any updates

Rationale

Because the current badge is not working anymore and we need to update the URL.

Thanks!

Thanks for merging! 🙂


help, the results of the paper cannot be reproduced.

Description: I want to reproduce the results of the JF17K dataset in the penultimate row of Table 2, but unfortunately, I used the repository you provided and did not get the results in the paper.
The script: CUDA_VISIBLE_DEVICES=0 python ./run.py MODEL_NAME stare_trans_baseline DATASET jf17k STATEMENT_LEN 3 MAX_QPAIRS 3 SAMPLER_W_QUALIFIERS False
My results: mrr: 0.33328 | mr: 706.71785 | h3: 0.37438 | h5: 0.43126 | h10: 0.51320
Can you help me why this happen?

Sorry, I forgot to set the CLEANED_DATASET False parameter. I will close the issue.


Implement Internationalization

In order to use the app in different languages, please implement internationalization capabilities.

@mariobehling Shall I work on integrating the project with weblate?

@mariobehling  Can i take this issue

@srv-twry i can implement this with weblate?....should i take this issue

@rishabchirania Sorry, i don't have enough information on this issue to suggest you.
May be @iamareebjamal can help you :smile:


file actions not visible

vsix 2.2.10

Looks like resourceDirName is fspath and we use path in context

fixed


spread of null should be checked

I recently found a bug in my code where I had a ?Object that I tried to spread. It seemed that the maybe Object was null at one time and I failed to add a check there. What I suggest is to add to flow that the spread-operator shouldnt be able to be executed on null values. Right now it doesnt give any error at all as it actually is possible to spread a null value (which in my opinion is a design flaw).
Example:
Should give error
const foo = (bar: ?Object) => {
    return {
        ...bar,
        myValue: "something",
    }
}

I think this is by design, object spread {...a} is transformed into Object.assign({}, a) and this is basically how Object.assign works. I think I even have some code which relies on that.

Yeah, rest params are supposed to accept null values. This seems like an api problem to solve.


Continuous Run & Azure Benchmark Rules 1

:tada: This PR is included in version 1.4.0 :tada:
The release is available on:

GitHub release
v1.4.0

Your semantic-release bot :package::rocket:


Minor README.md change to reflect HL7 support

https://github.com/Alvearie/health-patterns/blob/main/clinical-ingestion/README.md
Current Statement:
"Currently, the only supported medical data format is FHIR bundles. Other formats are on our backlog and will be coming soon, including HL7 and DICOM image data."
It appears that HL7 is now supported in some fashion, and the above statement should refect that support.

I updated the documentation to reflect the current supported formats


Compile errors

Hi there !
I'm trying to run the sample app.
Compilation stops with:
$ haxelib run plumob build iphone
...
$ haxelib run plumob build iphone
haxe [-lib,objc-uikit10.2,-lib,plumob,Main,-D,objc,-D,PLUMOB_IOS,-D,DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer,-D,ios,-D,HXCPP_CPP11,-cpp,build/iphone/ios/hx,-D,iphone,-D,HXCPP_ARM64,-D,IPHONE_VER=8.4]
haxelib run hxcpp Build.xml haxe -DDEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer" -DHXCPP_ARM64="1" -DHXCPP_CPP11="1" -DIPHONE_VER="8.4" -DPLUMOB_IOS="1" -Dhaxe3="1" -Dhaxe_ver="3.402" -Dhxcpp_api_level="331" -Dios="1" -Diphone="1" -Dobjc="1" -Dobjc-uikit10.2="0.0.1" -Dobjc_uikit10.2="0.0.1" -Dplumob="0.0.1" -Dsource-header="Generated by Haxe 3.4.2" -I"/Users/thomasfetiveau/wksp_haxelib/plumob/src/" -I"/Users/thomasfetiveau/wksp_haxelib/hx-objc-externs/externs/uikit10.2/./" -I"/usr/lib/haxe/extraLibs/" -I"/usr/local/lib/haxe/extraLibs/" -I"" -I"/usr/lib/haxe/std/cpp/_std/" -I"/usr/share/haxe/std/cpp/_std/" -I"/usr/local/lib/haxe/std/cpp/_std/" -I"/usr/lib/haxe/std/" -I"/usr/share/haxe/std/" -I"/usr/local/lib/haxe/std/"
Creating /Users/thomasfetiveau/wksp_tests/plumob/myproj/build/iphone/ios/hx/obj/iphoneos-c11-64/__pch/haxe/hxcpp.h.gch...
xcrun: error: SDK "iphoneos8.4" cannot be located
clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk' [-Wmissing-sysroot]
In file included from /Users/thomasfetiveau/hxcpp/include/hxcpp.h:19:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/typeinfo:61:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/exception:82:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdlib:86:
/Library/Developer/CommandLineTools/usr/include/c++/v1/stdlib.h:94:15: fatal error: 'stdlib.h' file not found
#include_next <stdlib.h>
              ^~~~~~~~~~
1 error generated.
Error: Could not create PCH
Error: Build failed
error: command failed (haxe)

What is missing?

Ah, I seem to have left a IPHONE_VER define in the template plumob creates by default. Fixed it with the latest commit. To fix your project, edit plumob.json and remove the define:
"build-flags-haxe": [
  "-D", "IPHONE_VER=8.4" /* remove this line */
]

Also – how are you compiling the example app? It should have its own plumob.json that doesn't contain that define.

Hey @Aurel300 ! Thanks for answering.
Yes I was using the plumob.json created by the command line, not the one from the sample.
Now, after having suppressed this option, I have:
$ haxelib run plumob build iphone
haxe [-lib,objc-uikit10.2,-lib,plumob,Main,-D,objc,-D,PLUMOB_IOS,-D,DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer,-D,ios,-D,HXCPP_CPP11,-cpp,build/iphone/ios/hx,-D,iphone,-D,HXCPP_ARM64]
haxelib run hxcpp Build.xml haxe -DDEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer" -DHXCPP_ARM64="1" -DHXCPP_CPP11="1" -DPLUMOB_IOS="1" -Dhaxe3="1" -Dhaxe_ver="3.402" -Dhxcpp_api_level="331" -Dios="1" -Diphone="1" -Dobjc="1" -Dobjc-uikit10.2="0.0.1" -Dobjc_uikit10.2="0.0.1" -Dplumob="0.0.1" -Dsource-header="Generated by Haxe 3.4.2" -I"/Users/thomasfetiveau/wksp_haxelib/plumob/src/" -I"/Users/thomasfetiveau/wksp_haxelib/hx-objc-externs/externs/uikit10.2/./" -I"/usr/lib/haxe/extraLibs/" -I"/usr/local/lib/haxe/extraLibs/" -I"" -I"/usr/lib/haxe/std/cpp/_std/" -I"/usr/share/haxe/std/cpp/_std/" -I"/usr/local/lib/haxe/std/cpp/_std/" -I"/usr/lib/haxe/std/" -I"/usr/share/haxe/std/" -I"/usr/local/lib/haxe/std/"
Creating /Users/thomasfetiveau/wksp_tests/plumob/myproj/build/iphone/ios/hx/obj/iphoneos-c11-64/__pch/haxe/hxcpp.h.gch...
xcrun: error: SDK "iphoneos11.0" cannot be located

Compiling group: haxe
xcrun --sdk iphoneos11.0 clang++ -Iinclude -c -stdlib=libc++ -O2 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -miphoneos-version-min=5.0 -DENABLE_BITCODE=YES -fembed-bitcode -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-overflow -Wno-bool-conversion -fno-stack-protector -DIPHONE=IPHONE -DIPHONEOS=IPHONEOS -DSTATIC_LINK(static) -DHXCPP_ARM64 -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) -DHXCPP_OBJC(haxe) -I/Users/thomasfetiveau/hxcpp/include -fexceptions -fstrict-aliasing ... tags=[haxe,static]
 - src/plumob/ios/EventListener.mm
 - src/plumob/ios/Events.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/haxe/ds/IntMap.mm
 - src/haxe/Log.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/haxe/IMap.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/Std.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/Main.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/__boot__.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
 - /Users/thomasfetiveau/hxcpp/src/hx/NoFiles.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/__resources__.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
xcrun: error: SDK "iphoneos11.0" cannot be located

Compiling group: __lib__
xcrun --sdk iphoneos11.0 clang++ -Iinclude -DHX_DECLARE_MAIN -c -stdlib=libc++ -O2 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -miphoneos-version-min=5.0 -DENABLE_BITCODE=YES -fembed-bitcode -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-overflow -Wno-bool-conversion -fno-stack-protector -DIPHONE=IPHONE -DIPHONEOS=IPHONEOS -DSTATIC_LINK(static) -DHXCPP_ARM64 -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) -DHXCPP_OBJC(haxe) -I/Users/thomasfetiveau/hxcpp/include -fexceptions -fstrict-aliasing ... tags=[haxe,main,static]
 - src/__lib__.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
Creating /Users/thomasfetiveau/wksp_tests/plumob/myproj/build/iphone/ios/hx/obj/iphoneos-c11-64/__pch/runtime/hxcpp.h.gch...
xcrun: error: SDK "iphoneos11.0" cannot be located

Compiling group: runtime
xcrun --sdk iphoneos11.0 clang++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -stdlib=libc++ -O2 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -miphoneos-version-min=5.0 -DENABLE_BITCODE=YES -fembed-bitcode -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-overflow -Wno-bool-conversion -fno-stack-protector -DIPHONE=IPHONE -DIPHONEOS=IPHONEOS -DSTATIC_LINK(static) -DHXCPP_ARM64 -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) -DHXCPP_OBJC(haxe) -I/Users/thomasfetiveau/hxcpp/include -fexceptions -fstrict-aliasing ... tags=[haxe]
 - src/hx/Boot.cpp
 - src/hx/Anon.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/CFFI.cpp  [haxe,static]
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/Date.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/gc/GcCommon.cpp  [haxe,gc]
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/gc/Immix.cpp  [haxe,gc]
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/gc/GcRegCapture.cpp  [haxe,gc]
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/Hash.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/Interface.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/Lib.cpp  [haxe,static]
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/Object.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/StdLibs.cpp  [haxe,static]
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/Debug.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/Thread.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/RunLibs.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/Array.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/Class.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/Dynamic.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/ObjcData.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/Enum.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/Math.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/String.cpp  [haxe,hxstring]
xcrun: error: SDK "iphoneos11.0" cannot be located
xcrun: error: SDK "iphoneos11.0" cannot be located
Link: liboutput.iphoneos-64.a
xcrun: error: SDK "iphoneos11.0" cannot be located
haxe [-lib,objc-uikit10.2,-lib,plumob,Main,-D,objc,-D,PLUMOB_IOS,-D,DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer,-D,ios,-D,HXCPP_CPP11,-cpp,build/iphone/ios/hx,-D,iphone,-D,HXCPP_ARMV7]
haxelib run hxcpp Build.xml haxe -DDEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer" -DHXCPP_ARMV7="1" -DHXCPP_CPP11="1" -DPLUMOB_IOS="1" -Dhaxe3="1" -Dhaxe_ver="3.402" -Dhxcpp_api_level="331" -Dios="1" -Diphone="1" -Dobjc="1" -Dobjc-uikit10.2="0.0.1" -Dobjc_uikit10.2="0.0.1" -Dplumob="0.0.1" -Dsource-header="Generated by Haxe 3.4.2" -I"/Users/thomasfetiveau/wksp_haxelib/plumob/src/" -I"/Users/thomasfetiveau/wksp_haxelib/hx-objc-externs/externs/uikit10.2/./" -I"/usr/lib/haxe/extraLibs/" -I"/usr/local/lib/haxe/extraLibs/" -I"" -I"/usr/lib/haxe/std/cpp/_std/" -I"/usr/share/haxe/std/cpp/_std/" -I"/usr/local/lib/haxe/std/cpp/_std/" -I"/usr/lib/haxe/std/" -I"/usr/share/haxe/std/" -I"/usr/local/lib/haxe/std/"
Creating /Users/thomasfetiveau/wksp_tests/plumob/myproj/build/iphone/ios/hx/obj/iphoneos-c11-v7/__pch/haxe/hxcpp.h.gch...
xcrun: error: SDK "iphoneos11.0" cannot be located

Compiling group: haxe
xcrun --sdk iphoneos11.0 clang++ -Iinclude -c -stdlib=libc++ -O2 -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -miphoneos-version-min=5.0 -DENABLE_BITCODE=YES -fembed-bitcode -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-overflow -Wno-bool-conversion -fno-stack-protector -DIPHONE=IPHONE -DIPHONEOS=IPHONEOS -DSTATIC_LINK(static) -DHXCPP_ARMV7 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) -DHXCPP_OBJC(haxe) -I/Users/thomasfetiveau/hxcpp/include -fexceptions -fstrict-aliasing ... tags=[haxe,static]
 - src/plumob/ios/Events.mm
 - src/plumob/ios/EventListener.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/haxe/Log.mm
 - src/haxe/ds/IntMap.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/haxe/IMap.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/Std.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/Main.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/__boot__.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
 - /Users/thomasfetiveau/hxcpp/src/hx/NoFiles.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/__resources__.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
xcrun: error: SDK "iphoneos11.0" cannot be located

Compiling group: __lib__
xcrun --sdk iphoneos11.0 clang++ -Iinclude -DHX_DECLARE_MAIN -c -stdlib=libc++ -O2 -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -miphoneos-version-min=5.0 -DENABLE_BITCODE=YES -fembed-bitcode -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-overflow -Wno-bool-conversion -fno-stack-protector -DIPHONE=IPHONE -DIPHONEOS=IPHONEOS -DSTATIC_LINK(static) -DHXCPP_ARMV7 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) -DHXCPP_OBJC(haxe) -I/Users/thomasfetiveau/hxcpp/include -fexceptions -fstrict-aliasing ... tags=[haxe,main,static]
 - src/__lib__.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
Creating /Users/thomasfetiveau/wksp_tests/plumob/myproj/build/iphone/ios/hx/obj/iphoneos-c11-v7/__pch/runtime/hxcpp.h.gch...
xcrun: error: SDK "iphoneos11.0" cannot be located

Compiling group: runtime
xcrun --sdk iphoneos11.0 clang++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -stdlib=libc++ -O2 -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -miphoneos-version-min=5.0 -DENABLE_BITCODE=YES -fembed-bitcode -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-overflow -Wno-bool-conversion -fno-stack-protector -DIPHONE=IPHONE -DIPHONEOS=IPHONEOS -DSTATIC_LINK(static) -DHXCPP_ARMV7 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) -DHXCPP_OBJC(haxe) -I/Users/thomasfetiveau/hxcpp/include -fexceptions -fstrict-aliasing ... tags=[haxe]
 - src/hx/Anon.cpp
 - src/hx/Boot.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/CFFI.cpp  [haxe,static]
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/Date.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/gc/GcCommon.cpp  [haxe,gc]
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/gc/Immix.cpp  [haxe,gc]
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/gc/GcRegCapture.cpp  [haxe,gc]
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/Hash.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/Interface.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/Lib.cpp  [haxe,static]
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/Object.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/StdLibs.cpp  [haxe,static]
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/Debug.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/Thread.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/RunLibs.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/Array.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/hx/Class.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/Dynamic.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/ObjcData.mm
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/Enum.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/Math.cpp
xcrun: error: SDK "iphoneos11.0" cannot be located
 - src/String.cpp  [haxe,hxstring]
xcrun: error: SDK "iphoneos11.0" cannot be located
xcrun: error: SDK "iphoneos11.0" cannot be located
Link: liboutput.iphoneos-v7.a
xcrun: error: SDK "iphoneos11.0" cannot be located
Called from ? line 1
Called from Main.hx line 214
Called from Main.hx line 172
Called from Main.hx line 184
Called from plat/IOSGroup.hx line 86
Called from Main.hx line 61
Called from /usr/local/lib/haxe/std/neko/_std/sys/FileSystem.hx line 94
Uncaught exception - std@sys_read_dir

So it doesn't find the SDK 11.0 ? It should be there as it is the one my XCode (9.0.1) proposes by default...

Alright, some things to try that I can think of:

You say XCode proposes SDK 11 by default – but have you ever actually used it? i.e. is the SDK actually downloaded?

To check, see if the directory /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk exists - if not, download it using XCode?
If you find the SDK there, but perhaps named differently (maybe Apple changed the SDK naming format?), you will need to make some minor changes to the toolchain files of hxcpp (specifically <hxcpp install path>/toolchain/iphoneos-toolchain.xml and iphonesim-toolchain.xml - let me know if this is the case)

Also, is the XCode installed at the default path (/Applications/Xcode.app) the version you are using?
The last resort would be to try the vagrant box, but I would also be quite happy to see this working with a normal OS X install.

Last login: Mon Oct 30 18:24:41 on ttys008
pc29:~ thomasfetiveau$ ls /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
iPhoneOS.sdk		iPhoneOS11.0.sdk
pc29:~ thomasfetiveau$ ls -al /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
total 8
drwxr-xr-x  4 root  wheel  136 Oct 25 02:57 .
drwxr-xr-x  5 root  wheel  170 Oct 25 02:57 ..
drwxr-xr-x  7 root  wheel  238 Oct 25 02:57 iPhoneOS.sdk
lrwxr-xr-x  1 root  wheel   12 Sep 26 14:57 iPhoneOS11.0.sdk -> iPhoneOS.sdk

The SDK seems to be where you expect it to be but as a simlink. Could it be the cause of the problem? So it's more a hxcpp issue?

Ah, I think I actually ran into this problem as well – the hxcpp toolchain files might need to be patched by Hugh at some point.  The files you want to patch are in <hxcpp install path>/toolchain/iphoneos-toolchain.xml and <hxcpp install path>/toolchain/iphonesim-toolchain.xml. You can get your hxcpp install path with haxelib path hxcpp.

Hey @Aurel300 !
It seems better indeed:
$ haxelib run plumob build iphone
haxe [-lib,objc-uikit10.2,-lib,plumob,Main,-D,objc,-D,PLUMOB_IOS,-D,DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer,-D,ios,-D,HXCPP_CPP11,-cpp,build/iphone/ios/hx,-D,iphone,-D,HXCPP_ARM64]
haxelib run hxcpp Build.xml haxe -DDEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer" -DHXCPP_ARM64="1" -DHXCPP_CPP11="1" -DPLUMOB_IOS="1" -Dhaxe3="1" -Dhaxe_ver="3.402" -Dhxcpp_api_level="331" -Dios="1" -Diphone="1" -Dobjc="1" -Dobjc-uikit10.2="0.0.1" -Dobjc_uikit10.2="0.0.1" -Dplumob="0.0.1" -Dsource-header="Generated by Haxe 3.4.2" -I"/Users/thomasfetiveau/wksp_haxelib/plumob/src/" -I"/Users/thomasfetiveau/wksp_haxelib/hx-objc-externs/externs/uikit10.2/./" -I"/usr/lib/haxe/extraLibs/" -I"/usr/local/lib/haxe/extraLibs/" -I"" -I"/usr/lib/haxe/std/cpp/_std/" -I"/usr/share/haxe/std/cpp/_std/" -I"/usr/local/lib/haxe/std/cpp/_std/" -I"/usr/lib/haxe/std/" -I"/usr/share/haxe/std/" -I"/usr/local/lib/haxe/std/"
Creating /Users/thomasfetiveau/wksp_tests/plumob/myproj/build/iphone/ios/hx/obj/iphoneos-c11-64/__pch/haxe/hxcpp.h.gch...

Compiling group: haxe
xcrun --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk clang++ -Iinclude -c -stdlib=libc++ -O2 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -miphoneos-version-min=5.0 -DENABLE_BITCODE=YES -fembed-bitcode -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-overflow -Wno-bool-conversion -fno-stack-protector -DIPHONE=IPHONE -DIPHONEOS=IPHONEOS -DSTATIC_LINK(static) -DHXCPP_ARM64 -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) -DHXCPP_OBJC(haxe) -I/Users/thomasfetiveau/wksp_haxelib/hxcpp/include -fexceptions -fstrict-aliasing ... tags=[haxe,static]
 - src/plumob/ios/Events.mm
 - src/plumob/ios/EventListener.mm
 - src/haxe/ds/IntMap.mm
 - src/haxe/Log.mm
 - src/haxe/IMap.mm
 - src/Std.mm
 - src/Main.mm
 - src/__boot__.mm
 - /Users/thomasfetiveau/wksp_haxelib/hxcpp/src/hx/NoFiles.cpp
 - src/__resources__.mm

Compiling group: __lib__
xcrun --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk clang++ -Iinclude -DHX_DECLARE_MAIN -c -stdlib=libc++ -O2 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -miphoneos-version-min=5.0 -DENABLE_BITCODE=YES -fembed-bitcode -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-overflow -Wno-bool-conversion -fno-stack-protector -DIPHONE=IPHONE -DIPHONEOS=IPHONEOS -DSTATIC_LINK(static) -DHXCPP_ARM64 -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) -DHXCPP_OBJC(haxe) -I/Users/thomasfetiveau/wksp_haxelib/hxcpp/include -fexceptions -fstrict-aliasing ... tags=[haxe,main,static]
 - src/__lib__.mm
Creating /Users/thomasfetiveau/wksp_tests/plumob/myproj/build/iphone/ios/hx/obj/iphoneos-c11-64/__pch/runtime/hxcpp.h.gch...

Compiling group: runtime
xcrun --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk clang++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -stdlib=libc++ -O2 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -miphoneos-version-min=5.0 -DENABLE_BITCODE=YES -fembed-bitcode -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-overflow -Wno-bool-conversion -fno-stack-protector -DIPHONE=IPHONE -DIPHONEOS=IPHONEOS -DSTATIC_LINK(static) -DHXCPP_ARM64 -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) -DHXCPP_OBJC(haxe) -I/Users/thomasfetiveau/wksp_haxelib/hxcpp/include -fexceptions -fstrict-aliasing ... tags=[haxe]
 - src/hx/Boot.cpp
 - src/hx/Anon.cpp
 - src/hx/CFFI.cpp  [haxe,static]
 - src/hx/Date.cpp
 - src/hx/gc/GcCommon.cpp  [haxe,gc]
 - src/hx/gc/Immix.cpp  [haxe,gc]
 - src/hx/gc/GcRegCapture.cpp  [haxe,gc]
 - src/hx/Hash.cpp
 - src/hx/Interface.cpp
 - src/hx/Lib.cpp  [haxe,static]
 - src/hx/Object.cpp
 - src/hx/StdLibs.cpp  [haxe,static]
 - src/hx/Debug.cpp
 - src/hx/Thread.cpp
 - src/hx/RunLibs.cpp
 - src/Array.cpp
 - src/hx/Class.cpp
 - src/Dynamic.cpp
 - src/ObjcData.mm
 - src/Enum.cpp
 - src/Math.cpp
 - src/String.cpp  [haxe,hxstring]
Link: liboutput.iphoneos-64.a
haxe [-lib,objc-uikit10.2,-lib,plumob,Main,-D,objc,-D,PLUMOB_IOS,-D,DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer,-D,ios,-D,HXCPP_CPP11,-cpp,build/iphone/ios/hx,-D,iphone,-D,HXCPP_ARMV7]
haxelib run hxcpp Build.xml haxe -DDEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer" -DHXCPP_ARMV7="1" -DHXCPP_CPP11="1" -DPLUMOB_IOS="1" -Dhaxe3="1" -Dhaxe_ver="3.402" -Dhxcpp_api_level="331" -Dios="1" -Diphone="1" -Dobjc="1" -Dobjc-uikit10.2="0.0.1" -Dobjc_uikit10.2="0.0.1" -Dplumob="0.0.1" -Dsource-header="Generated by Haxe 3.4.2" -I"/Users/thomasfetiveau/wksp_haxelib/plumob/src/" -I"/Users/thomasfetiveau/wksp_haxelib/hx-objc-externs/externs/uikit10.2/./" -I"/usr/lib/haxe/extraLibs/" -I"/usr/local/lib/haxe/extraLibs/" -I"" -I"/usr/lib/haxe/std/cpp/_std/" -I"/usr/share/haxe/std/cpp/_std/" -I"/usr/local/lib/haxe/std/cpp/_std/" -I"/usr/lib/haxe/std/" -I"/usr/share/haxe/std/" -I"/usr/local/lib/haxe/std/"
Creating /Users/thomasfetiveau/wksp_tests/plumob/myproj/build/iphone/ios/hx/obj/iphoneos-c11-v7/__pch/haxe/hxcpp.h.gch...

Compiling group: haxe
xcrun --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk clang++ -Iinclude -c -stdlib=libc++ -O2 -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -miphoneos-version-min=5.0 -DENABLE_BITCODE=YES -fembed-bitcode -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-overflow -Wno-bool-conversion -fno-stack-protector -DIPHONE=IPHONE -DIPHONEOS=IPHONEOS -DSTATIC_LINK(static) -DHXCPP_ARMV7 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) -DHXCPP_OBJC(haxe) -I/Users/thomasfetiveau/wksp_haxelib/hxcpp/include -fexceptions -fstrict-aliasing ... tags=[haxe,static]
 - src/plumob/ios/EventListener.mm
 - src/plumob/ios/Events.mm
 - src/haxe/ds/IntMap.mm
 - src/haxe/Log.mm
 - src/haxe/IMap.mm
 - src/Std.mm
 - src/Main.mm
 - src/__boot__.mm
 - /Users/thomasfetiveau/wksp_haxelib/hxcpp/src/hx/NoFiles.cpp
 - src/__resources__.mm

Compiling group: __lib__
xcrun --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk clang++ -Iinclude -DHX_DECLARE_MAIN -c -stdlib=libc++ -O2 -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -miphoneos-version-min=5.0 -DENABLE_BITCODE=YES -fembed-bitcode -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-overflow -Wno-bool-conversion -fno-stack-protector -DIPHONE=IPHONE -DIPHONEOS=IPHONEOS -DSTATIC_LINK(static) -DHXCPP_ARMV7 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) -DHXCPP_OBJC(haxe) -I/Users/thomasfetiveau/wksp_haxelib/hxcpp/include -fexceptions -fstrict-aliasing ... tags=[haxe,main,static]
 - src/__lib__.mm
Creating /Users/thomasfetiveau/wksp_tests/plumob/myproj/build/iphone/ios/hx/obj/iphoneos-c11-v7/__pch/runtime/hxcpp.h.gch...

Compiling group: runtime
xcrun --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk clang++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -stdlib=libc++ -O2 -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -miphoneos-version-min=5.0 -DENABLE_BITCODE=YES -fembed-bitcode -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-overflow -Wno-bool-conversion -fno-stack-protector -DIPHONE=IPHONE -DIPHONEOS=IPHONEOS -DSTATIC_LINK(static) -DHXCPP_ARMV7 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) -DHXCPP_OBJC(haxe) -I/Users/thomasfetiveau/wksp_haxelib/hxcpp/include -fexceptions -fstrict-aliasing ... tags=[haxe]
 - src/hx/Boot.cpp
 - src/hx/Anon.cpp
 - src/hx/CFFI.cpp  [haxe,static]
 - src/hx/Date.cpp
 - src/hx/gc/GcCommon.cpp  [haxe,gc]
 - src/hx/gc/Immix.cpp  [haxe,gc]
 - src/hx/gc/GcRegCapture.cpp  [haxe,gc]
 - src/hx/Hash.cpp
 - src/hx/Interface.cpp
 - src/hx/Lib.cpp  [haxe,static]
 - src/hx/Object.cpp
 - src/hx/StdLibs.cpp  [haxe,static]
 - src/hx/Debug.cpp
 - src/hx/Thread.cpp
 - src/hx/RunLibs.cpp
 - src/Array.cpp
 - src/hx/Class.cpp
 - src/Dynamic.cpp
 - src/ObjcData.mm
 - src/Enum.cpp
 - src/Math.cpp
 - src/String.cpp  [haxe,hxstring]
Link: liboutput.iphoneos-v7.a
Called from ? line 1
Called from Main.hx line 214
Called from Main.hx line 172
Called from Main.hx line 184
Called from plat/IOSGroup.hx line 86
Called from Main.hx line 61
Called from /usr/local/lib/haxe/std/neko/_std/sys/FileSystem.hx line 94
Uncaught exception - std@sys_read_dir
pc29:myproj thomasfetiveau$

But there is still an Uncaught exception at the end. What is that? (sorry for all those question, I've not used hxcpp since 2014).
Also, has this first hxccp issue been reported on hxcpp github issue tracker already?

Ok, good. Don't worry – the issue is now with plumob, not hxcpp. I have just pushed a new commit. Update plumob with haxelib update, then rebuild the run script (haxe make.hxml in the run-src directory). Then try building the project again.
As for the hxcpp issue, I have asked Hugh on Gitter already. I'll wait a bit for him to react, and open the issue myself if he doesn't.

OK, done.

Compiling group: haxe
xcrun --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk clang++ -Iinclude -c -stdlib=libc++ -O2 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -miphoneos-version-min=5.0 -DENABLE_BITCODE=YES -fembed-bitcode -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-overflow -Wno-bool-conversion -fno-stack-protector -DIPHONE=IPHONE -DIPHONEOS=IPHONEOS -DSTATIC_LINK(static) -DHXCPP_ARM64 -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) -DHXCPP_OBJC(haxe) -I/Users/thomasfetiveau/wksp_haxelib/hxcpp/include -fexceptions -fstrict-aliasing ... tags=[haxe,static]
 - src/plumob/ios/Events.mm
 - src/plumob/ios/EventListener.mm
 - src/haxe/ds/IntMap.mm
 - src/haxe/Log.mm
 - src/haxe/IMap.mm
 - src/Std.mm
 - src/Main.mm
 - src/__boot__.mm
 - src/__resources__.mm

Compiling group: __lib__
xcrun --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk clang++ -Iinclude -DHX_DECLARE_MAIN -c -stdlib=libc++ -O2 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -miphoneos-version-min=5.0 -DENABLE_BITCODE=YES -fembed-bitcode -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-overflow -Wno-bool-conversion -fno-stack-protector -DIPHONE=IPHONE -DIPHONEOS=IPHONEOS -DSTATIC_LINK(static) -DHXCPP_ARM64 -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) -DHXCPP_OBJC(haxe) -I/Users/thomasfetiveau/wksp_haxelib/hxcpp/include -fexceptions -fstrict-aliasing ... tags=[haxe,main,static]
 - src/__lib__.mm
Link: liboutput.iphoneos-64.a
haxe [-lib,objc-uikit10.2,-lib,plumob,Main,-D,objc,-D,PLUMOB_IOS,-D,DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer,-D,ios,-D,HXCPP_CPP11,-cpp,build/iphone/ios/hx,-D,iphone,-D,HXCPP_ARMV7]
haxelib run hxcpp Build.xml haxe -DDEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer" -DHXCPP_ARMV7="1" -DHXCPP_CPP11="1" -DPLUMOB_IOS="1" -Dhaxe3="1" -Dhaxe_ver="3.404" -Dhxcpp_api_level="331" -Dios="1" -Diphone="1" -Dobjc="1" -Dobjc-uikit10.2="0.0.1" -Dobjc_uikit10.2="0.0.1" -Dplumob="0.0.1" -Dsource-header="Generated by Haxe 3.4.4" -I"/Users/thomasfetiveau/wksp_haxelib/plumob/src/" -I"/Users/thomasfetiveau/wksp_haxelib/hx-objc-externs/externs/uikit10.2/./" -I"/usr/lib/haxe/extraLibs/" -I"/usr/local/lib/haxe/extraLibs/" -I"" -I"/usr/lib/haxe/std/cpp/_std/" -I"/usr/share/haxe/std/cpp/_std/" -I"/usr/local/lib/haxe/std/cpp/_std/" -I"/usr/lib/haxe/std/" -I"/usr/share/haxe/std/" -I"/usr/local/lib/haxe/std/"
Creating /Users/thomasfetiveau/wksp_tests/plumob/myproj/build/iphone/ios/hx/obj/iphoneos-c11-v7/__pch/haxe/hxcpp.h.gch...

Compiling group: haxe
xcrun --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk clang++ -Iinclude -c -stdlib=libc++ -O2 -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -miphoneos-version-min=5.0 -DENABLE_BITCODE=YES -fembed-bitcode -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-overflow -Wno-bool-conversion -fno-stack-protector -DIPHONE=IPHONE -DIPHONEOS=IPHONEOS -DSTATIC_LINK(static) -DHXCPP_ARMV7 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) -DHXCPP_OBJC(haxe) -I/Users/thomasfetiveau/wksp_haxelib/hxcpp/include -fexceptions -fstrict-aliasing ... tags=[haxe,static]
 - src/plumob/ios/Events.mm
 - src/plumob/ios/EventListener.mm
 - src/haxe/ds/IntMap.mm
 - src/haxe/Log.mm
 - src/haxe/IMap.mm
 - src/Std.mm
 - src/Main.mm
 - src/__boot__.mm
 - src/__resources__.mm

Compiling group: __lib__
xcrun --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk clang++ -Iinclude -DHX_DECLARE_MAIN -c -stdlib=libc++ -O2 -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -miphoneos-version-min=5.0 -DENABLE_BITCODE=YES -fembed-bitcode -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-overflow -Wno-bool-conversion -fno-stack-protector -DIPHONE=IPHONE -DIPHONEOS=IPHONEOS -DSTATIC_LINK(static) -DHXCPP_ARMV7 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) -DHXCPP_OBJC(haxe) -I/Users/thomasfetiveau/wksp_haxelib/hxcpp/include -fexceptions -fstrict-aliasing ... tags=[haxe,main,static]
 - src/__lib__.mm
Link: liboutput.iphoneos-v7.a
lipo [-create,liboutput.iphoneos-64.a,liboutput.iphoneos-v7.a,-output,../hx-out/hx.fat-iphoneos.a]
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild [CODE_SIGNING_REQUIRED=NO,-verbose,-sdk,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk]
xcodebuild: error: SDK "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk" cannot be located.
error: command failed (/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild)

I've tried adding this line in my plumob.json:
      ,"build-flags-haxe": [
        "-D", "IPHONE_VER=11.0"
      ]

without success:
$ haxelib run plumob build iphone
haxe [-lib,objc-uikit10.2,-lib,plumob,Main,-D,objc,-D,PLUMOB_IOS,-D,DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer,-D,ios,-D,HXCPP_CPP11,-cpp,build/iphone/ios/hx,-D,iphone,-D,HXCPP_ARM64,-D,IPHONE_VER=11.0]
haxelib run hxcpp Build.xml haxe -DDEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer" -DHXCPP_ARM64="1" -DHXCPP_CPP11="1" -DIPHONE_VER="11.0" -DPLUMOB_IOS="1" -Dhaxe3="1" -Dhaxe_ver="3.404" -Dhxcpp_api_level="331" -Dios="1" -Diphone="1" -Dobjc="1" -Dobjc-uikit10.2="0.0.1" -Dobjc_uikit10.2="0.0.1" -Dplumob="0.0.1" -Dsource-header="Generated by Haxe 3.4.4" -I"/Users/thomasfetiveau/wksp_haxelib/plumob/src/" -I"/Users/thomasfetiveau/wksp_haxelib/hx-objc-externs/externs/uikit10.2/./" -I"/usr/lib/haxe/extraLibs/" -I"/usr/local/lib/haxe/extraLibs/" -I"" -I"/usr/lib/haxe/std/cpp/_std/" -I"/usr/share/haxe/std/cpp/_std/" -I"/usr/local/lib/haxe/std/cpp/_std/" -I"/usr/lib/haxe/std/" -I"/usr/share/haxe/std/" -I"/usr/local/lib/haxe/std/"
haxe [-lib,objc-uikit10.2,-lib,plumob,Main,-D,objc,-D,PLUMOB_IOS,-D,DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer,-D,ios,-D,HXCPP_CPP11,-cpp,build/iphone/ios/hx,-D,iphone,-D,HXCPP_ARMV7,-D,IPHONE_VER=11.0]
haxelib run hxcpp Build.xml haxe -DDEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer" -DHXCPP_ARMV7="1" -DHXCPP_CPP11="1" -DIPHONE_VER="11.0" -DPLUMOB_IOS="1" -Dhaxe3="1" -Dhaxe_ver="3.404" -Dhxcpp_api_level="331" -Dios="1" -Diphone="1" -Dobjc="1" -Dobjc-uikit10.2="0.0.1" -Dobjc_uikit10.2="0.0.1" -Dplumob="0.0.1" -Dsource-header="Generated by Haxe 3.4.4" -I"/Users/thomasfetiveau/wksp_haxelib/plumob/src/" -I"/Users/thomasfetiveau/wksp_haxelib/hx-objc-externs/externs/uikit10.2/./" -I"/usr/lib/haxe/extraLibs/" -I"/usr/local/lib/haxe/extraLibs/" -I"" -I"/usr/lib/haxe/std/cpp/_std/" -I"/usr/share/haxe/std/cpp/_std/" -I"/usr/local/lib/haxe/std/cpp/_std/" -I"/usr/lib/haxe/std/" -I"/usr/share/haxe/std/" -I"/usr/local/lib/haxe/std/"
lipo [-create,liboutput.iphoneos-64.a,liboutput.iphoneos-v7.a,-output,../hx-out/hx.fat-iphoneos.a]
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild [CODE_SIGNING_REQUIRED=NO,-verbose,-sdk,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk]
xcodebuild: error: SDK "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk" cannot be located.
error: command failed (/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild)

Ah, I need to autodetect the SDK that plumob should ask for somehow. I'm not yet sure how, or even if I actually need to pass an SDK argument … For now, you can put this in your plumob.json, in the top-level object (i.e. the one which specifies project settings).
,"env": {
   "xcode_sdk_ios": "<wherever the .sdk folder is>"
  ,"xcode_sdk_ios_sim": "<wherever the .sdk folder is (simulator)>"
}

Hey!
Now it says:
...

/Users/thomasfetiveau/wksp_tests/plumob/myproj/build/iphone/ios/project/HaxeAppDelegate.mm:1:9: fatal error: 'hxcpp.h' file not found
#import <hxcpp.h>
        ^~~~~~~~~
1 error generated.

** BUILD FAILED **

The following build commands failed:
	CompileC build/project.build/Release-iphoneos/Applicationname.build/Objects-normal/armv7/HaxeAppDelegate.o HaxeAppDelegate.mm normal armv7 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
	CompileC build/project.build/Release-iphoneos/Applicationname.build/Objects-normal/arm64/HaxeAppDelegate.o HaxeAppDelegate.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
error: command failed (/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild)

Sorry for the never-ending debugging. And also thanks for being the first volunteer here :D
Ok, I pushed another version, please haxelib update and rebuild the run script. Now it should auto-detect your hxcpp path, and not rely on a specific iOS SDK. You can probably get rid of the xcode_sdk_ios and xcode_sdk_ios_sim in env :)

Hi there :)!
No problem, I understand the project is just starting.
I've updated plumob and re-run make.hxml for the run scripts.
I also removed the env node in the plumob json file.
Now I have:
$ haxelib run plumob build iphone
haxe [-lib,objc-uikit10.2,-lib,plumob,Main,-D,objc,-D,PLUMOB_IOS,-D,DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer,-D,ios,-D,HXCPP_CPP11,-cpp,build/iphone/ios/hx,-D,iphone,-D,HXCPP_ARM64,-D,IPHONE_VER=11.0]
haxelib run hxcpp Build.xml haxe -DDEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer" -DHXCPP_ARM64="1" -DHXCPP_CPP11="1" -DIPHONE_VER="11.0" -DPLUMOB_IOS="1" -Dhaxe3="1" -Dhaxe_ver="3.404" -Dhxcpp_api_level="331" -Dios="1" -Diphone="1" -Dobjc="1" -Dobjc-uikit10.2="0.0.1" -Dobjc_uikit10.2="0.0.1" -Dplumob="0.0.1" -Dsource-header="Generated by Haxe 3.4.4" -I"/Users/thomasfetiveau/wksp_haxelib/plumob/src/" -I"/Users/thomasfetiveau/wksp_haxelib/hx-objc-externs/externs/uikit10.2/./" -I"/usr/lib/haxe/extraLibs/" -I"/usr/local/lib/haxe/extraLibs/" -I"" -I"/usr/lib/haxe/std/cpp/_std/" -I"/usr/share/haxe/std/cpp/_std/" -I"/usr/local/lib/haxe/std/cpp/_std/" -I"/usr/lib/haxe/std/" -I"/usr/share/haxe/std/" -I"/usr/local/lib/haxe/std/"
haxe [-lib,objc-uikit10.2,-lib,plumob,Main,-D,objc,-D,PLUMOB_IOS,-D,DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer,-D,ios,-D,HXCPP_CPP11,-cpp,build/iphone/ios/hx,-D,iphone,-D,HXCPP_ARMV7,-D,IPHONE_VER=11.0]
haxelib run hxcpp Build.xml haxe -DDEVELOPER_DIR="/Applications/Xcode.app/Contents/Developer" -DHXCPP_ARMV7="1" -DHXCPP_CPP11="1" -DIPHONE_VER="11.0" -DPLUMOB_IOS="1" -Dhaxe3="1" -Dhaxe_ver="3.404" -Dhxcpp_api_level="331" -Dios="1" -Diphone="1" -Dobjc="1" -Dobjc-uikit10.2="0.0.1" -Dobjc_uikit10.2="0.0.1" -Dplumob="0.0.1" -Dsource-header="Generated by Haxe 3.4.4" -I"/Users/thomasfetiveau/wksp_haxelib/plumob/src/" -I"/Users/thomasfetiveau/wksp_haxelib/hx-objc-externs/externs/uikit10.2/./" -I"/usr/lib/haxe/extraLibs/" -I"/usr/local/lib/haxe/extraLibs/" -I"" -I"/usr/lib/haxe/std/cpp/_std/" -I"/usr/share/haxe/std/cpp/_std/" -I"/usr/local/lib/haxe/std/cpp/_std/" -I"/usr/lib/haxe/std/" -I"/usr/share/haxe/std/" -I"/usr/local/lib/haxe/std/"
lipo [-create,liboutput.iphoneos-64.a,liboutput.iphoneos-v7.a,-output,../hx-out/hx.fat-iphoneos.a]
haxelib [path,hxcpp]
IOSGroup.hx:98: autodetected HXCPP: /Users/thomasfetiveau/wksp_haxelib/hxcpp/
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild [CODE_SIGNING_REQUIRED=NO,-verbose,-sdk,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneOS.sdk]
xcodebuild: error: SDK "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneOS.sdk" cannot be located.
error: command failed (/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild)

which is odd because I'm building for iphone and not iphonesim. Also, the path to the iphonesim SDK would be different by default:
$ ls /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
iPhoneSimulator.sdk	iPhoneSimulator11.0.sdk

Yes, unfortunately another typo. haxelib update and rebuild run please :)
Btw: if yet more problems occur after this, it might be easier and faster to continue debugging over e.g. gitter (https://gitter.im/HaxeFoundation/haxe) or the #haxe IRC channel on Freenode.

tadaaaa:
** BUILD SUCCEEDED **

Thank you for your help @Aurel300 !

Very nice. Thanks again for debugging :)
Does the app work as expected?

@Aurel300 I haven't even tested (I'm currently working on something else).
I just tested now and the app crashes right after launch:
2017-11-08 13:10:41.698283+0100 Applicationname[802:242808] HAXE TRACE: Creating a window ...
2017-11-08 13:10:41.698456+0100 Applicationname[802:242808] HAXE TRACE: 0 0 320 480
2017-11-08 13:10:41.700847+0100 Applicationname[802:242808] HAXE TRACE: Creating a view ...
2017-11-08 13:10:41.701206+0100 Applicationname[802:242808] HAXE TRACE: Creating a label ...
2017-11-08 13:10:41.703196+0100 Applicationname[802:242808] HAXE TRACE: Creating a button ...
2017-11-08 13:10:41.704656+0100 Applicationname[802:242808] HAXE TRACE: Setting button action ...
2017-11-08 13:10:41.705765+0100 Applicationname[802:242808] HAXE TRACE: Adding components to view ...
2017-11-08 13:10:41.706082+0100 Applicationname[802:242808] HAXE TRACE: Adding view to window ...
2017-11-08 13:10:41.706750+0100 Applicationname[802:242808] HAXE TRACE: Showing window ...
2017-11-08 13:10:41.711884+0100 Applicationname[802:242808] *** Assertion failure in -[UIApplication _runWithMainScene:transitionContext:completion:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3600.9.1/UIApplication.m:3677
2017-11-08 13:10:41.712381+0100 Applicationname[802:242808] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Application windows are expected to have a root view controller at the end of application launch'
*** First throw call stack:
(0x1ce23b3d 0x1c0ab067 0x1ce23a19 0x1d71952d 0x222cc24f 0x222de7c5 0x222c935b 0x1e704c13 0x1e704acd 0x1e704db7 0x1cddffdd 0x1cddfb05 0x1cdddf51 0x1cd311af 0x1cd30fd1 0x220bee2d 0x220b9a53 0xb3563 0x1c51e4eb)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

I've workaround the issue by adding:
      var someController = UIViewController.alloc().initWithNibName_bundle(null,null);
      window.setRootViewController(someController);

      trace("Showing window ...");
      window.makeKeyAndVisible();

However, the button doesn't react to tap. Could it be due to my workaround? Note that nothing crashes:
2017-11-08 13:48:19.459090+0100 Applicationname[858:250658] HAXE TRACE: Creating a window ...
2017-11-08 13:48:19.459419+0100 Applicationname[858:250658] HAXE TRACE: 0 0 320 480
2017-11-08 13:48:19.463762+0100 Applicationname[858:250658] HAXE TRACE: Creating a view ...
2017-11-08 13:48:19.464124+0100 Applicationname[858:250658] HAXE TRACE: Creating a label ...
2017-11-08 13:48:19.466267+0100 Applicationname[858:250658] HAXE TRACE: Creating a button ...
2017-11-08 13:48:19.467699+0100 Applicationname[858:250658] HAXE TRACE: Setting button action ...
2017-11-08 13:48:19.468744+0100 Applicationname[858:250658] HAXE TRACE: Adding components to view ...
2017-11-08 13:48:19.469045+0100 Applicationname[858:250658] HAXE TRACE: Adding view to window ...
2017-11-08 13:48:19.474881+0100 Applicationname[858:250658] HAXE TRACE: Showing window ...

@Aurel300 any idea ?

Hey, sorry. I wanted to reply when I actually got to fixing it, but I probably won't till tomorrow.
I have the same issue (Application windows are expected to have a root view controller), but for some reason it doesn't crash my app. I guess it's because it is not even allowed on SDK 11.0, but it works on 10.2? Anyway, I will try adding a dummy view controller and yes, it likely catches any touch events for the window hence the button not working.

Great, ping me when you've got something new :)...

Ok. I changed the example app to create a root viewController, which then creates the actual view. Apparently, apps without a root viewController are ancient (5+ years?) on iOS, so it was just my luck that I used such an old (Objective-C) example app as a reference.
Unfortunately, the code now looks more complicated than it should be. It needs to create a native Objective-C class extending UIViewController, that is then wrapped with some Haxe code, and the Main class exists separate from that also. In the future I will look into making situations like these simpler with Obj-C wrappers / extenders / anonymous classes provided in the form of build macros.
For now though, see if the app works. :)

@Aurel300 I just tested your last commits. Yes, the example now works...
I'll stay tuned on your next additions to plumob!


segfault in aeronmd (aeron_counter_set_ordered)

There seems to be a race condition in aeron_counter_set_ordered when executing on i9-9900k processor.  Below is a minimal program for reproduction,
#include "Aeron.h"
int main() {
    aeron::Context context;
    std::shared_ptr<aeron::Aeron> aeron = aeron::Aeron::connect(context);
    aeron->addSubscription("aeron:udp?endpoint=<IP_ADDRESS>:8888", 1);
}

resulting in the follow stack trace,
------------------ gdb trace of aeronmd: -------------------------------
Starting program: binaries/aeronmd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff72b2700 (LWP 225572)]
[New Thread 0x7ffff6ab1700 (LWP 225573)]
Thread 1 "aeronmd" received signal SIGSEGV, Segmentation fault.
0x00007ffff7f648f0 in aeron_counter_set_ordered (addr=0x0, value=2)
    at aeron/aeron-client/src/main/c/concurrent/aeron_counters_manager.h:235
235         AERON_PUT_ORDERED(*addr, value);
(gdb) info stack
#0  0x00007ffff7f648f0 in aeron_counter_set_ordered (addr=0x0, value=2)
    at aeron-client/src/main/c/concurrent/aeron_counters_manager.h:235
#1  0x00007ffff7f8212d in aeron_receive_destination_delete (destination=0x55555557f960, counters_manager=0x55555555c8d0)
    at aeron/aeron-driver/src/main/c/media/aeron_receive_destination.c:111
#2  0x00007ffff7f81edc in aeron_receive_destination_create (destination=0x7fffffffcee8, channel=0x55555557f180,
    context=0x55555555a2a0, counters_manager=0x55555555c8d0, channel_status_counter_id=27)
    at aeron/aeron-driver/src/main/c/media/aeron_receive_destination.c:53
#3  0x00007ffff7f9172a in aeron_driver_conductor_get_or_add_receive_channel_endpoint (conductor=0x55555555c828,
    channel=0x55555557f180) at aeron/aeron-driver/src/main/c/aeron_driver_conductor.c:1405
#4  0x00007ffff7f94b7b in aeron_driver_conductor_on_add_network_subscription (conductor=0x55555555c828, command=0x7ffff73b3088)
    at aeron/aeron-driver/src/main/c/aeron_driver_conductor.c:2595
#5  0x00007ffff7f92314 in aeron_driver_conductor_on_command (msg_type_id=4, message=0x7ffff73b3088, length=63,
    clientd=0x55555555c828) at aeron/aeron-driver/src/main/c/aeron_driver_conductor.c:1705
#6  0x00007ffff7f67660 in aeron_mpsc_rb_read (ring_buffer=0x55555555c830,
    handler=0x7ffff7f91f3c <aeron_driver_conductor_on_command>, clientd=0x55555555c828, message_count_limit=10)
    at aeron/aeron-client/src/main/c/concurrent/aeron_mpsc_rb.c:183
#7  0x00007ffff7f92a78 in aeron_driver_conductor_do_work (clientd=0x55555555c828)
    at aeron/aeron-driver/src/main/c/aeron_driver_conductor.c:1931
#8  0x00007ffff7f6ee3d in aeron_agent_do_work (runner=0x55555555d0b0)
    at aeron/aeron-client/src/main/c/aeron_agent.h:105
#9  0x00007ffff7f8d034 in aeron_driver_main_do_work (driver=0x55555555c820)
    at aeron/aeron-driver/src/main/c/aeron_driver.c:978
#10 0x00005555555568b4 in main (argc=1, argv=0x7fffffffdfd8) at aeron/aeron-driver/src/main/c/aeronmd.c:135

Note, the above program exits with 0 while aeronmd crashes due to segfault.
The above is reproducible against  v1.28.1 and  v1.28.2 (release tags) running on i9-9900k processor under ubuntu 20.04.  This appears to be specific to i9-9900k as we're unable to reproduce using a different CPU.

@srosenberg Did you recreate this with head?

No longer reproducible on our side with the latest head. Thanks! Closing.


Sidekiq error handling is incomplete

Hi, as of Sidekiq 3.0, error handling should be done with a global error handler, not middleware:
https://github.com/mperham/sidekiq/blob/master/3.0-Upgrade.md#error-service-providers
Using your current middleware approach only catches errors in job execution.  Using a global handler catches errors anywhere inside Sidekiq (e.g. on(:event) handlers, internal exceptions, etc).

Thanks, @mperham.

Hi @dja, we're expecting to have this released shortly.

This is done!


fix: document ability to update expires_at on patch /tokens endpoint

Description
Document ability to update expires_at on PATCH /tokens endpoint. Also change some relative paths / links to absolute links according to this Slack thread in #Engineering.

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

[x] Not Applicable

Rollback / Rollforward Procedure

[x] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

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


XArray does not support Latin characters in netCDF file names

What happened?
When you try to open an existing netCDF file named "bépo.nc", for example, you get the following error:
FileNotFoundError: [Errno 2] No such file or directory: 'E:\\temp\\bépo.nc'

What did you expect to happen?
Internally, netCDF transforms the file path into an array of bytes.
This transformation can be configured by setting the appropriate encoding in netCDF4.Dataset constructor
What I expect is to be able to pass this encoding to netCDF when the file is opened with xarray.
Perhaps the solution would be to send the encoding along with the backend_kwargs parameter :
dataset = xr.open_dataset(r"E:\temp\bépo.nc", mode="r", engine="netcdf4", backend_kwargs={'encoding': 'latin-1'})

Transmitting the encoding would also be necessary in the to_netcdf() function.
Minimal Complete Verifiable Example
import tempfile as tmp

import netCDF4 as nc
import xarray as xr

if __name__ == "__main__":
    with tmp.TemporaryDirectory() as temp_dir:

        # Creating a netCDF file
        file_path = r"E:\temp\bépo.nc"
        with nc.Dataset(file_path, mode="w", encoding="Latin-1") as ds:
            print(f"{file_path} successfully created")

        # Open with netCDF
        with nc.Dataset(file_path, mode="r", encoding="Latin-1"):
            print(f"{file_path} successfully opened with netCDF")

        # Open with xarray
        with xr.open_dataset(file_path, mode="r", engine="netcdf4") as xr_ds:
            print(f"{file_path} successfully opened")

MVCE confirmation

[X] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
[X] Complete example — the example is self-contained, including all data and the text of any traceback.
[X] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
[X] New issue — a search of GitHub Issues suggests this is not a duplicate.
[X] Recent environment — the issue occurs with the latest version of xarray and its dependencies.

Relevant log output
E:\temp\bépo.nc successfully created
E:\temp\bépo.nc successfully opened with netCDF
Traceback (most recent call last):
  File "E:\Tools\Anaconda3\envs\myenv\lib\site-packages\xarray\backends\file_manager.py", line 211, in _acquire_with_cache_info
    file = self._cache[self._key]
  File "E:\Tools\Anaconda3\envs\myenv\lib\site-packages\xarray\backends\lru_cache.py", line 56, in __getitem__
    value = self._cache[key]
KeyError: [<class 'netCDF4._netCDF4.Dataset'>, ('E:\\temp\\bépo.nc',), 'r', (('clobber', True), ('diskless', False), ('format', 'NETCDF4'), ('persist', False)), '0916cd5f-58f9-49df-8e74-6c9b109a77cf']

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "e:\temp\test_open_dataset.py", line 19, in <module>
    with xr.open_dataset(file_path, mode="r", engine="netcdf4") as xr_ds:
  File "E:\Tools\Anaconda3\envs\myenv\lib\site-packages\xarray\backends\api.py", line 571, in open_dataset
    backend_ds = backend.open_dataset(
  File "E:\Tools\Anaconda3\envs\myenv\lib\site-packages\xarray\backends\netCDF4_.py", line 645, in open_dataset
    store = NetCDF4DataStore.open(
  File "E:\Tools\Anaconda3\envs\myenv\lib\site-packages\xarray\backends\netCDF4_.py", line 408, in open
    return cls(manager, group=group, mode=mode, lock=lock, autoclose=autoclose)
  File "E:\Tools\Anaconda3\envs\myenv\lib\site-packages\xarray\backends\netCDF4_.py", line 355, in __init__
    self.format = self.ds.data_model
  File "E:\Tools\Anaconda3\envs\myenv\lib\site-packages\xarray\backends\netCDF4_.py", line 417, in ds
    return self._acquire()
  File "E:\Tools\Anaconda3\envs\myenv\lib\site-packages\xarray\backends\netCDF4_.py", line 411, in _acquire
    with self._manager.acquire_context(needs_lock) as root:
  File "E:\Tools\Anaconda3\envs\myenv\lib\contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "E:\Tools\Anaconda3\envs\myenv\lib\site-packages\xarray\backends\file_manager.py", line 199, in acquire_context
    file, cached = self._acquire_with_cache_info(needs_lock)
  File "E:\Tools\Anaconda3\envs\myenv\lib\site-packages\xarray\backends\file_manager.py", line 217, in _acquire_with_cache_info
    file = self._opener(*self._args, **kwargs)
  File "src\\netCDF4\\_netCDF4.pyx", line 2469, in netCDF4._netCDF4.Dataset.__init__
  File "src\\netCDF4\\_netCDF4.pyx", line 2028, in netCDF4._netCDF4._ensure_nc_success
FileNotFoundError: [Errno 2] No such file or directory: 'E:\\temp\\bépo.nc'

Anything else we need to know?
 Is it Windows vs Mac?
(also note I needed to change the MCVE path, worth updating the example)
---------------------------------------------------------------------------
UnicodeDecodeError                        Traceback (most recent call last)
Cell In[3], line 11
      7 with tmp.TemporaryDirectory() as temp_dir:
      8
      9     # Creating a netCDF file
     10     file_path = Path(temp_dir) / "bépo.nc"
---> 11     with nc.Dataset(file_path, mode="w", encoding="Latin-1") as ds:
     12         print(f"{file_path} successfully created")
     14     # Open with netCDF

File src/netCDF4/_netCDF4.pyx:2469, in netCDF4._netCDF4.Dataset.__init__()

File src/netCDF4/_netCDF4.pyx:2027, in netCDF4._netCDF4._ensure_nc_success()

INSTALLED VERSIONS
commit: 42ed6d30e81dce5b9922ac82f76c5b3cd748b19e
python: 3.11.9 (main, Apr  2 2024, 08:25:04) [Clang 15.0.0 (clang-15<IP_ADDRESS>)]
python-bits: 64
OS: Darwin
OS-release: 23.5.0
machine: arm64
processor: arm
byteorder: little
LC_ALL: en_US.UTF-8
LANG: None
LOCALE: ('en_US', 'UTF-8')
libhdf5: 1.12.2
libnetcdf: 4.9.3-development
xarray: 2024.3.1.dev31+gb9163a6f
pandas: 2.2.2
numpy: 1.26.4
scipy: 1.13.0
netCDF4: 1.6.5
pydap: None
h5netcdf: 1.3.0
h5py: 3.11.0
zarr: 2.17.2
cftime: 1.6.3
nc_time_axis: 1.4.1
iris: None
bottleneck: 1.3.8
dask: 2024.4.1
distributed: 2024.4.1
matplotlib: 3.8.4
cartopy: None
seaborn: 0.13.2
numbagg: 0.8.1
fsspec: 2024.3.1
cupy: None
pint: 0.23
sparse: None
flox: None
numpy_groupies: 0.10.2
setuptools: 69.2.0
pip: 24.0
conda: None
pytest: 8.1.1
mypy: 1.8.0
IPython: 8.24.0
sphinx: None

Yes, there is an error in the path. Sorry about that.
What I see is that Windows can't manage without the encoding parameter or the file created on the file system is bÃ©po.nc.
With Linux, you don't need to specify it, the file created is correct. Creating a netCDF file with Latin-1 encoding doesn't cause an error, but it ends up as b?po.nc on the file system
I don't have a Mac, so I can't do the test. But it's possible that encoding on Mac is managed differently from Windows and Linux...

Yes, there is an error in the path. Sorry about that.

Is the example you posted correct? If not, could you update it?

Example fixed (using temporary folder from context manager)

Thanks.
FYI I still get this error — I'm guessing that's down to it being a Mac vs Linux issue...
Try to created /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/tmp8rywv9ge/bèpo/bépo.nc
---------------------------------------------------------------------------
UnicodeDecodeError                        Traceback (most recent call last)
Cell In[1], line 14
     12 file_path = os.path.join(tmp_folder, "bépo.nc")
     13 print(f"Try to created {file_path}")
---> 14 with nc.Dataset(file_path, mode="w", encoding="Latin-1") as ds:
     15     print(f"{file_path} successfully created")
     17 # Open with netCDF

File src/netCDF4/_netCDF4.pyx:2469, in netCDF4._netCDF4.Dataset.__init__()

File src/netCDF4/_netCDF4.pyx:2027, in netCDF4._netCDF4._ensure_nc_success()

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe8 in position 62: invalid continuation byte

This test demonstrates the issue on a Windows platform configured as CP1252.
To make it work, such a Windows is required.

Forwarding encoding to netCDF4 seems like a good idea in general. Though since that clashes with an Xarray kwargs perhaps rename it to filename_encoding at the Xarray level./


Transform annotation/ex/feature and UI's (datetime through file) to goog modules

This branch is based off #1326 due to related changes. Leaving this as a draft until that is merged.
Other Changes

The annotation classes were calling the parent constructor last due to the initialize methods in the abstract classes. That does not work with ES classes due to the "no this before super" rule, so I refactored those classes to initialize properly. The UI classes now use Angular's $onInit, and FeatureAnnotation now calls createUI instead of the abstract class.
The drawing layer was causing a circular dependency with files that needed to reference its ID. I created os.layer.LayerId (similar to the LayerClass and SourceClass modules) to resolve this.
os.ui.file.kml had some properties that were set outside the module. This does not work with a directly exported property, so I made get/set methods for the properties (isGoogleMapsAccessible and mirror), and replaced all references.
The feature info UI had a circular dependency due to the Angular event types it fires. I moved the events to FeatureInfoEvent to resolve this.
The mock async command had an arbitrary 1 second timeout to mimic an async command. This was adding up to 10+ seconds of unnecessary delays running tests. I replaced this with an immediate timeout to defer execute/revert until after the call stack cleared (still async), and added an optional parameter to that class to allow manually calling the execute/revert functions for tests that perform checks between execution states.

Rebased to resolve the merge conflict.


Investigate upgrading to webpack2

@blackbaud-brandonstirnaman mentioned that webpack2 has much better support for building a SPA while exporting/ignoring known runtime dependencies.  We'd previously looked at the DLLReferencePlugin in webpack1, but didn't have much luck.

No further need to investigate as builder was upgraded via https://github.com/blackbaud/sky-pages-out-skyux2/pull/17


Orbit height not set on accordion

Orbit slider container height is not being calculated, when Orbit slider is not visible (when inside closed accordion).
Orbit's container height normally is being calculated from the largest image/element in it. But, if the container is not being displayed, it can not calculate the height, because jQuery can't calculate image height, if parent element is not displayed display: none... It is how it its.
In the code ( https://github.com/zurb/foundation/blob/master/js/foundation/foundation.orbit.js#L266 ) there I see those lines:
$(window).on('resize', self.compute_dimensions);
$(window).on('load', self.compute_dimensions);

If somehow you could trigger compute_dimensions after opening an accordion's tab... For example, you could trigger accordionOpened event or something and bind Orbit to listen the event... At least give me a direct access to compute_dimensions !
Currently I fixed this problem by calling
$(window).resize();

on accordion's tab click.

Hi there I am having this exact issue but I am unclear how to implement the javascript solutions talked about above...  This is a ver old thread and I am using the latest Foundation 6 but the issue is the same..  Can anyone help me understand how to implement a fix.


Remove deprecated account constraints

belongs_to and raw literal are deprecated from v0.11, should we rid them from the code?

[x] belongs_to -- https://github.com/project-serum/anchor/pull/907
[ ] raw literal -- https://github.com/project-serum/anchor/pull/927

Sounds good to me.

@fanatid Hey! I would love to work on this issue :)
I am actually a current MLH Solana fellow. Since I am new to Solana, I have been learning from different tutorials.
I have a couple of questions / clarifications if you don't mind:

Raw constraints meaning literal string constraints right ? (Or in short something like this: #[account("something")] ?)
I modify the code to return an error over here and remove all constraint literal related stuff (and alter the tests as well) right ?

Hi @NBNARADHYA!

Yes
Yes, you can remove this code and fix all errors

.take


Update .travis.yml

I added some more Node.js versions to test as I'm currently working with v6.

Coverage remained the same at 99.874% when pulling dcac6b8fb8f23d11c4492ceda0ce62fbb95f77bf on Bruce17:Bruce17-patch-1 into 36e7928888d03573648b54e1c54a1c9e313bb547 on peterolson:master.

Thanks, looks good to me


.Net 4.7 problem

Hi:
I have a question. I have recently update my solution where I am using the MvcReportViewer to .Net 4.7 and since then the reports are not anymore accesible using the MvcReportViewer. The error that I am getting is the following:
Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection+MissingEndpointException: The+attempt+to+connect+to+the+report+server+failed.++Check+your+connection+information+and+that+the+report+server+is+a+compatible+version.
I am gessing the problem is MvcReportViewer is not working with that framework.
Can someone confirm this?
Do you know how to solve this problem?
Thanks for your help.
Regards;
Sergio

This is SSRS server issue. Report Viewer Web control cannot connect your SSRS server. Please check the configuration. It might be SSRS authentication issue on the server or networking problem. The exception is raised by Report Viewer web control itself.

Yes, you were right. We also updated to the latest MvcReportViewer and it added a new entry in our web config and we didnt noticed.
Problem now it is solved.
Thank you for your help


How to quickly remove the watcher from an object while making a deep copy

Version
2.6.11
Reproduction link
https://codesandbox.io/s/frosty-night-rlujg
Steps to reproduce
Vuex USES strict patterns;
There is an array in Vuex that when I make a deep copy of 'slice()' and modify it, error will be reported when I submit it to 'mutation' change 'state' : 'error:Do not mutate vuex store state outside mutation handlers. ', looking at the error stack information, it was found that the error was reported when the callback function of 'watcher' was executed in the 'run()' method of 'watcher'. Finally, it was copied using 'json.parse () & json.stringify ()'.How to untag 'watcher' on this object without using 'json.stringify ()'
code:
        // this.set_all_macuser === this.$store.commit('set_all_macuser')
        // error
        let macList = this.anchors.slice().map(v => {
          speaks.includes(v.uid * 1) ? v.isSpeak = true : v.isSpeak = false
          return v
        })
        this.set_all_macuser(macList)
        // right
        let list = JSON.parse(JSON.stringify(this.anchors))
        let macList = list.map(v => speaks.includes(v.uid * 1) ? v.isSpeak = true : v.isSpeak = false)
        this.set_all_macuser(macList)

What is expected?
Provide a convenient way
What is actually happening?
Console error

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.


Write Best Practices for Using Content Security Policy

This could be a port of http://www.html5rocks.com/en/tutorials/security/content-security-policy/

That's already been ported. What I'm referring to is conversations I've had
with Mike and other's in the security area to the effect that implementers
are writing policies so loosely that they effectively defeat themselves.
The strict-dynamic addresses part of this concern, but I believe there are
still issues that could be documented.
Joe Medley | Technical Writer, Chrome DevRel |<EMAIL_ADDRESS>|
816-678-7195
If an API's not documented it doesn't exist.
On Mon, Sep 26, 2016 at 3:48 AM, Paul Kinlan<EMAIL_ADDRESS>wrote:

This could be a port of http://www.html5rocks.com/en/
tutorials/security/content-security-policy/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/WebFundamentals/issues/3490#issuecomment-249538204,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH0vi4twBY1eOqShbUUGopE4f3E60KsUks5qt6L5gaJpZM4KGBJW
.

Can you add some detail on how this is different than #3491?


Spelling mistake

You have mispelled github here

Also You have to make the names of the tabs fully underlined

Thank you I fixed the misspelling.


Readme detect-action version is v0.3.5

The latest version for synopsys-sig/detect-action is 0.3.4 but the readme has 0.3.5

@jcroall I see you created the previous release for v0.3.4, can you also do it for v0.3.5?


Dump SeaORM Dependency from SeaSchema's Migrator

PR Info

Closes #57
Dependents:

SeaQL/sea-orm#666

Adds
Multiple traits, structs and enums are added to attach with SeaORM

E.g. ConnectionTrait, QueryResultTrait, Statement, DatabaseBackend, MigrationErr

Breaking Changes

Migrator and CLI are moved to SeaORM leaving only the SchemaManager behind
Migration prelude module are moved to SeaORM as well

I think it might be easier to just remove the migrator from sea-schema altogether

That would be better. This way we can avoid introducing additional connection related traits on sea-schema side

But then we still need a way to get the connection out of SchemaManager for user to seed the db with SeaORM for instance

It should work the other way around, downstream (sea-orm) lend the connection to SeaSchema instead of having SeaSchema own it

I think it's worthwhile to have clear-cut crate boundary between things

It should work the other way around, downstream (sea-orm) lend the connection to SeaSchema instead of SeaSchema owning it

SeaORM lend the inner SQLx connection to SeaSchema?

Yes

Hopefully we can untangle this in 0.8.0

Hopefully we can untangle this in 0.8.0

That's the target! Please review this PR @tyt2y3

A library crate cannot have clap as dependency

other it looks good on sea-schema's side

Otherwise it looks on sea-schema side


[Request] Audio support

Hi, and thank you for a nice and stable TCI hamlib adapter for rig control!
Would it be possible to add audio support as an option? Input and output via default pulse audio would be great. Then I could select source and destination and volume via the default mixer (PulseAudio Volume Control) in Ubuntu.
I'm running ExpertSDR3 on Ubuntu, but like to run other applications in separate virtual machines so I don't mess up my main system. It gives me room to experiment more. I also use RadioSync to transfer audio and rig control via serial port. It seems to me that ExpertSDR3 is not able to receive audio via a different TCI connection then the one that are sending the TX command. So the combination of tciadapter and RadioSync does not work well for me. RadioSync in combination with regular Hamlib should work, but the built-in simulation of TS-480 in RadioSync makes Hamlib unstable and often causes TX to hang. Audio support in tciadapter will give a more clean setup :)

Hi. I have made some experiments with audio over TCI and Pulseaudio in the past and this is a rather complex thing. I had all kinds of issues with latency and buffer underruns, so I decided to not go further down this road.
But, have you seen my article about setting up audio for digital modes and ExpertSDR2? Setup ExpertSDR for Digital Modes on Linux You can add dedicated ALSA loopback devices for ExpertSDR which are also visible in PAVU and can be used for routing audio.
It is probably better to leave out another layer and use the built-in tools from Pulseaudio and ALSA to solve this problem.
Please leave a comment if this is a possible solution for your problem.
73! Florian


Openstack IDR roles (IDR-0.3.0)

This contains the majority of the changes to the IDR specific roles from https://github.com/manics/infrastructure/tree/idr-0-3-0: openstack-idr-{instance,keypair,network}

Testing while creating adhoc docker servers at UoD and EBI. Primary "post-processing" issue I had (which may just have been a matter of my not seeing the documentation) is how to add adhoc groups.
Otherwise, network, router, keys, instance all worked fine. Cheers. Merging.


Allow optionalDependencies for nestjs/graphql to 10.x.x

Replace
  "optionalDependencies": {
    "@nestjs/graphql": "^8.0.2 || ^9.0.4"
  }

by
  "optionalDependencies": {
    "@nestjs/graphql": "^8.0.2 || ^9.0.4 || ^10.0.11"
  }

to allow user of nestjs/graphql to upgrade to 10.0.11 without having a duplicate depency on nestjs/graphql 9.1.2 (which is the latest version compatible with the current range)

optionalDependencies already update to allow @nestjs/graphql
https://github.com/ntegral/nestjs-sentry/blob/f80c538bb827450bcd5bfb07e22b1d35ee8a12d9/package.json#LL70-L72C4

Please, update @nestjs/graphql to >= 11.0.0, there are conflicts with other packages

@nestjs/graphql is 12.2.0 now, could @ntegral/nestjs-sentry be optimistically install the latest version like
  "optionalDependencies": {
    "@nestjs/graphql": "^12.0.11"
  }

to fix some existing and potential vulnerability issue


Update Apache license with third party content

We need to include in the License all 3rd party dependencies
Some would be hard dependencies source that we compiled into final compiled artifact.
Some would be we depend on like test frameworks, or go runtime.
These licenses would also need to be included in the repo
See the runtime-nodejs as an example:
https://github.com/apache/incubator-openwhisk-runtime-nodejs/blob/master/LICENSE.txt
https://github.com/apache/incubator-openwhisk-runtime-nodejs/tree/master/licenses
cc @houshengbo @sciabarracom

Ok

Close by #30


Unable to run flutter project 2.8.1

I've upgraded flutter to 2.8.1 after creating new project and hit run I get this
Launching lib/main.dart on sdk gphone x86 in debug mode...
lib/main.dart:1
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.IllegalArgumentException: Error decoding percent encoded characters
	at sun.net.www.ParseUtil.decode(ParseUtil.java:216)
	at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:834)
	at sun.misc.URLClassPath$3.run(URLClassPath.java:576)
	at sun.misc.URLClassPath$3.run(URLClassPath.java:566)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.misc.URLClassPath.getLoader(URLClassPath.java:565)
	at sun.misc.URLClassPath.getLoader(URLClassPath.java:530)
	at sun.misc.URLClassPath.getNextLoader(URLClassPath.java:495)
	at sun.misc.URLClassPath.getResource(URLClassPath.java:249)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)

here is flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.8.1, on Linux Mint 20.2 5.4.0-91-generic, locale
    en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✗] Chrome - develop for the web (Cannot find Chrome executable at
    google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] VS Code (version 1.63.2)
[✓] Connected device (2 available)

! Doctor found issues in 2 categories

Hi @JoDeveloper
Can you please provide your flutter doctor -v, your flutter run --verbose and your pubspec.yaml.
Thank you

@mamuseferha
flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on Linux Mint 20.2 5.4.0-91-generic, locale
    en_US.UTF-8)
    • Flutter version 2.8.1 at /home/joe/snap/flutter/common/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (2 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /home/joe/Android/Sdk
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = /home/joe/Android/Sdk
    • ANDROID_SDK_ROOT = /home/joe/Android/Sdk
    • Java binary at: /usr/lib/jvm/java-8-openjdk-amd64/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_312-8u312-b07-0ubuntu1~20.04-b07)
    • All Android licenses accepted.

[✗] Chrome - develop for the web (Cannot find Chrome executable at
    google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

[!] Android Studio (not installed)
    • Android Studio not found; download from
      https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup
      for detailed instructions).

[✓] VS Code (version 1.63.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.29.0

[✓] Connected device (2 available)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86 • Android 11 (API
      30) (emulator)
    • Linux (desktop)         • linux         • linux-x64   • Linux Mint 20.2
      5.4.0-91-generic

! Doctor found issues in 2 categories.

pubspec.yaml

name: citycab
description: An open source ride hailing app with flutter.

publish_to: 'none' # Remove this line if you wish to publish to pub.dev

version: 1.0.0+1

environment:
  sdk: ">=2.12.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  firebase_core:
  cloud_firestore:

dev_dependencies:
  flutter_test:
    sdk: flutter

flutter:

  uses-material-design: true
  # assets:
  #   - images/a_dot_burr.jpeg

  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf

Hi @JoDeveloper, I see you have two plugins in your pubspec.yaml, does this issue also occur for newly created flutter project?
Also, can you please provide a minimal complete reproducible code sample without any third party package?
Thank you


React UI: Bring back interactive legend

The graph legend in the classic UI has three modes of interaction, see e.g. http://demo.robustperception.io:9090/graph?g0.range_input=1h&g0.expr=rate(node_cpu_seconds_total[5m])&g0.tab=0

Hovering over legend items highlights the hovered series in the graph.
Clicking on the series name in the legend toggles showing only that series in the graph.
Clicking on the checkmark of a legend item turns off that series in the graph.

It would be good to bring back some, if not all, of these features in the new React UI.

Anyone working on this? I would like to give it a try, just to finish with my current PR :)

@boyskila Feel free!

@juliusv Can we reopen this?
We miss the ability to select multiple lines in legend (and the unselect one of them..)

@roidelapluie Yeah, I ended up telling @boyskila to omit the multi-deselect for now and see if someone really wants it :) If we do want to reintroduce it, I wonder if we can do it better somehow, since the old UI only allowed you to explicitly deselect series that you didn't want to see, rather than the other way around. I want to avoid adding extra UI elements as much as possible...
Do you have an opinion on how this should best work?

I do not agree with you. The old UI allow both.

Clicking on the labels would select the one you want, then click the checkboxes to add others.
Deselect checkbox to remove one.

Comparing some metrics is really useful, I rarely see a case where I would just see one.

Without addind new UI elements, we could work with SHIFT and CTRL
CTRL+click = exclude
SHIFT+click = include

Comparing some metrics is really useful, I rarely see a case where I would just see one.

Yes, it's gonna be useful for the user to have the possibility to select 2 or more series.
About the series toggle, I guess just CTRL + click will be enough.

The old UI allows both.

Today I learned :rofl: The fact that I wrote the old UI and didn't know this (because it was a built-in feature of the old graphing library) is a good sign that this feature wasn't very discoverable from a UX perspective.
I generally like the idea of modifier keys to switch between behaviors. But then we have even worse discoverability features unless we write it out as instructions somewhere. Hm. I'll think about the UI bits a bit more...
And yes, totally agreed that comparing a specific subset of metrics is useful.

Well grafana has modifiers keys too for its legend (shift and Ctrl). So it will feel natural for many users.

Well grafana has modifiers keys too for its legend (shift and Ctrl). So it will feel natural for many users.

See, another thing I didn't know :P That's good, but I hope we can do better. Maybe a hover title with instructions, like below?

Or light grey non-intrusive instructions under the legend:

Also open for totally different ideas, but I think we should make these instructions self-learnable somehow.

I double checked grafana. Shift and ctrl have the same effect:  they toggle an element. Click will select only that one.

Also open for totally different ideas, but I think we should make these instructions self-learnable somehow.

Wellcome popover with instructions on the first-page load, something like http://jsfiddle.net/johannesMt/t1d1t9pp/

Wellcome popover with instructions on the first-page load, something like http://jsfiddle.net/johannesMt/t1d1t9pp/

That's a good idea, but I think in the Prometheus context it doesn't fit so well:

A user might visit 10 different Prometheus servers after each other, so you have to always click this away everywhere (I guess you'd save in local storage for each one that it's acknowledged).
IMO it's not worth having an interactive / distractive popup for such a minor feature that is only seldomly used. I'd rather keep it local to where the feature is (hover tooltip, small instructions, or similar, maybe there are other options, but less intrusive is better).

I propose the following: implement the feature like @roidelapluie described it for now, and decide on the instructions later (or implement one of the options, we can always improve it later). At least we shouldn't see the discoverability as a blocker either.

So: click = select ; mod+click = toggle.
Adding the text in the bottom seems a good idea, provided more than one time serie is displayed.

Sounds great to me!

Meanwhile, I have made some improvements and resolve some small bugs here


Problem with equivalence axiom of 'organization member'

A  comment on 'organization' specifies that members can be persons or organizations. However, the equivalence axiom on 'organization member' says that they are persons that bear some organization member role. This prevents organizations from being organization members.

I also lean toward the second as its cleaner, and probably closer to the original intent behind 'organization member'. But other than this, I am unsure what considerations ought to go into this decision. Just changing the rdfs:label would, of course, be less disruptive to users, but I'm unsure how weighty this consideration should be.
There is also a similar problem with 'Enemy' that I just noticed (I'll add another issue). Perhaps consideration of what solutions are right for which problem can be grouped together, if I'm right that these issues are similar.

@mark-jensen Are you not swayed by the consideration @avsculley raises? I find it strange to explicitly say persons and organizations can be members of organizations and then only offer a class for person members.
Alternativel, if we only change the label, what label would you prefer?

@neilotte  I am not swayed to deprecate an IRI just because its label isn't specific enough. The original intent of the IRI should not be determined by its label. Both the def and axiomatization are aligned. If either of the latter were out of sync, I'd be more concerned. The sensible and quick solution is to change the label. Either your suggestion, or something like "Organization Member that is a Person", is fine my me.
The fact there exist gaps in CCO having to do with the presence or lack of convenience classes like 'Organization Member' or 'Artifact Identifier' is worth discussing in a broader context. We have many such classes, and lack of such classes, and not great reasons why some exist and others don't. This raises the question to what extent CCO should be providing such EQs to begin with and how to draw the line. There are so many that could be made, 'Civil Organization Member that is a Person', 'Government Organization Member that is an Organization', and so on.
I am suggesting to make the simple fix now and open a broader discussion about the existence of such classes and how to manage them. Absolutely agree with comment in #431 that we need to be consistent and then review the overall strategy for a future release.

@mark-jensen very good. Let's pursue this review as indicated in #431 . Just to be clear though: we weren't recommending deprecation just because of a label change.


Better way to upgrade dependencies

Dependencies don't get upgraded at every install. There should be an easy way for users to upgrade dependencies, maybe a second install script, or parameterize the existing one.

Install script was updated in e9b2a25. Dependency upgrades were punted to the user. By default now dependency upgrades must be initiated separately.


Bump minor versions of wdio, and vite to v2.X

Updated all minor versions
Updated vite to v2 and made necessary updates to coverage file
removed unnecessary awaits in index test file

I left eslint to v 8.X to match rest of wdio


Change "--unpack-dir" to use glob pattern

Previously, --unpack-dir only did prefix match against literal string.  Coupled with commander limitation that options can only occur once, this means that you cannot exclude more than one directory from asar packing.
This patch makes --unpack-dir behave more like --unpack and accept glob patterns ... so you can specify more than one directory using brace expansion (see minimatch).
For backwards compatibility, --unpack-dir will still do literal prefix match [if there's no glob match].

:+1:


Difficult (impossible?) to get working with normalized databases

I guess this library works well for a denormalized table where the tags are part of a string column. It doesn't work well for web apps that run on primary/foreign keys that aren't shown to the user, because what's passed in the events, etc. is almost always some (possibly) non-unique display text shown to the user. The merging of the 2 concepts (display text and id) just makes it very difficult to use.

Not sure what you mean. Do you mean each tag should have an internal ID as well as the tag text for each of the events?

Yes, I need a way to set ids and retrieve them within the events and api. I don't know how people are maintaining data integrity otherwise. For instance, I'm creating a messaging app where you type a person's name, tap on the autocomplete item, and it adds it as an entry. Since this only supports the display text I would need to depend on a person's name to be the relation. When they submit the form I have no way to reliably match that name to an id. 2 "Muhammad"'s and kaboom!

I will make this the default in 2.0 👍

Nice work!


found no layout file for "searchindex" for kind "page"

Getting this warning when staring the dev server.
WARN 2022/01/12 14:34:42 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

This warning seems to be appearing for each of the posts I have. I can confirm this because the warning pops up on page reload.
How to troubleshoot and fix this warning?

Same here, any solution to fix the warning?

I have still not found the answer. I'm closing this issue as this issue does not seems to be of importance. It's just a warning. 🤷🏼♂


Workspace run discard

Proposed Changes :wastebasket:

Adding the discard subcommand to the tfx workspace run command
The command uses the tfe hashicorp module to discard a pending run
The command simply takes in a runId
Added prettier formatting to the .vscode/launch.json debugging config file
Bumped version to 0.1.2

Great work here, I will review this soon!
Appreciate the effort!


Update Gemfile.lock to reflect we're using Ruby 3.2

CLAW was originally updated to use 3.3 which worked, but the max our CI tooling can currently easily support is 3.2. I'm not sure what actually uses RUBY VERSION in the Gemfile.lock (if anyone knows I'm definitely curious), but this should be done for the sake of correctness.
This was missed in the original PR (https://github.com/cloudfoundry/CLAW/pull/78).

cc @moleske @gururajsh

#78 was reverted since the environment we deploy to doesn't have a recent enough version of the Ruby buildpack. That's currently blocked so I will re-do this change when #78 is resubmitted.


Improve messaging around missing compass (again)

Some users are still not understanding that there's nothing that can be done if their device does not have the hardware, and think I'm trying to sell something.
I don't know how to make the messaging any clearer, but maybe the problem is they are skipping through the tutorial without reading, see the banner for the no compass and aren't reading it.
Idea

[ ] Show no compass dialog on first load of the navigation tool

If anyone has a suggestion for how I can make this clearer, please let me know:
Here's the current messaging:
Title: Your device does not have a compass sensor
Description: Your device does not have a built-in compass sensor. This is a hardware component, so there is nothing that can be done to add it. Some features that use the compass will be unavailable
This messaging is shown on the onboarding pages (separate page around no compass), the title is visible in the error banner on the navigation tool, and clicking that will show both the title and description.

Previous issue: #https://github.com/kylecorry31/Trail-Sense/issues/1758

Either your phone has no compass included or it is broken. Please ask your phone seller for help.
You can install the app Offline Survival Manual and read the chapter Field-Expedient Direction Finding how to find north.

Thanks, good idea - I'll add to it that they should contact their phone seller for help.

An example of a recent review where this may have helped: "The compass doesn't work. It says that my device does not have a compass sensor. My device is current and not cheap."
It shows that the user believes their device should have the sensor and that Trail Sense is not detecting it. When I looked up the device on the manufacturer's website, it confirms there is no compass sensor.
Add the following to the compass dialog:
If you believe this is incorrect, you can search for "{device manufacturer} {device name} sensors" and see if magnetometer / compass is listed or you can reach out to {device manufacturer} to see why this sensor is not available.

Does Android include an API to access the compass and the apps don't need to know details about the hardware and its drivers? Then you could stress, that TS cannot do anything about it, if android doesn't provide the access.

Yes, Trail Sense is using that API to determine if the device has a compass and displaying the message when it says it is not available. I tried to convey that TS can't do anything in the messaging, but based on the messages I've received after I pushed that change, it seems that some people don't believe it is correct because their phone is new and either don't know how to check online or don't want to (there's nothing I can do about the later). I'm sure the API is accurate, because every time I've looked up their device for them the manufacturer indicates there is no compass sensor.
I'll come up with a new message and post it here after - I want to keep the line about TS not being able to add hardware to the phone and I like adding in how to find details themselves if they don't trust TS.

Maybe also a better onboarding page will help. There's currently one that displays if you don't have a compass, but it's styled just like the rest of the pages, so maybe people are ignoring that.
Something like "Sensor Check" that checks to see if they have all the sensors that TS uses and displays that wording about manufacturers at the top, and a red X next to each missing sensor with a description of what will be unavailable.

Also, I should highlight the part about there being nothing that can be done to fix this in the message - I've had multiple people say I'm trying to sell them a compass sensor to make Trail Sense work.

Original messaging
Your device does not have a built-in compass sensor. This is a hardware component, so there is nothing that can be done to add it. Some features that use the compass will be unavailable.
Proposed update
Your {device name} doesn't come with a built-in compass sensor. Since this is a hardware feature, there is nothing that can be done to add it. If you're unsure or have questions about your device, you can check your device manufacturer's website or get in touch with them for more details. Unfortunately, this means that some features in Trail Sense that rely on the compass won't be available for you. If you need assistance or have any questions, feel free to reach out at<EMAIL_ADDRESS>I may leave off the last line, because even though I want to be able to help them, I wonder if that will feel like I'm secretly trying to sell them something to fix it.

I wouldn't include the mail adress. Instead I would add a second chapter like
For those who still think I want to sell something extra
No! There is no payed version ot Trail-Sense that has additional features! And Yes, there are new mobile phones on the market that are not cheap and have no compass included.

I wouldn't include the mail adress. Instead I would add a second chapter like
For those who still think I want to sell something extra
No! There is no payed version ot Trail-Sense that has additional features! And Yes, there are new mobile phones on the market that are not cheap and have no compass included.

Thanks, so maybe I should include an FAQ section there, I like that.

Thanks, so maybe I should include an FAQ section there, I like that.

That could work, at least for many people. ;)

Here's some updated messaging that I think addresses the most common questions. I left out even mentioning that some people think I'm looking to sell them something, hoping the "is there a way to fix this?" section makes that clear:

Your {device name} doesn't come with a built-in compass sensor. Unfortunately, this means that some features in Trail Sense that use the compass won't be available for you.
Is there a way to fix this?
No, unfortunately this is a hardware feature, so there is nothing that can be done to add it. All other compass apps will have the same issue.
My device is new/expensive, why is it missing this sensor?
Some phone manufacturers choose not to add this sensor, even on new or expensive devices. You can get more information by visiting your device manufacturer's website or getting in touch with them.

That is more polite.