Cannot access iOS build artifacts

ipas get successfully built on http://tabrisjs.com , but when trying to download them, following XML is served instead:
<Error>
  AccessDenied
  <Message>Access Denied</Message>
  <RequestId>...</RequestId>
  <HostId>
    ...
  </HostId>
</Error>

can this be fixed? cannot install from the tabris build page, I get the same error as above

We are currently investigating this issue. Seems to be a sporadic failure during the build on TravisCI.

fyi - I just ran another build and this is still an issue. thx

I can access the iOS builds now, thanks
did something change with the version number for builds? the values in my config.xml are not used anymore (iSO and Android)

Glad you can access your iOS builds again.
Regarding the version number are you talking about the environment variable BUILD_NUMBER?

previously, the value in the config.xml (widget.version) was used in the tabris build UI, now it seems stuck on an older version number. maybe its just a UI bug

also, fwiw, the release build versions lock up immediately on both iOS and Android. On iOS, these are in the error logs (not sure of they are relevant):
<Notice>: SandboxViolation: SDLMobile(456) deny(1) file-read-times /var

<Notice>: {"msg":"client getting effective client name", "clientName":"com.sdlportal.sdlmobile3", "bundleId":"", "bundlePath":""}

I'll check the issue with the version number. Thanks for reporting.
Which Tabris.js Client Version are you using?

v1.10.0

the error on Android is:
12-12 14:17:51.706: E/Vold(308): Failed to find mounted volume for /storage/extSdCard/Android/data/com.sdlportal.sdlmobile3/files/
12-12 14:17:51.716: E/Vold(308): Failed to find mounted volume for /storage/extSdCard/Android/data/com.sdlportal.sdlmobile3/cache/
12-12 14:17:51.756: E/Parcel(910): Class not found when unmarshalling: com.eclipsesource.tabris.android.internal.javascript.JavaScriptApp
12-12 14:17:51.756: E/Parcel(910): java.lang.ClassNotFoundException: com.eclipsesource.tabris.android.internal.javascript.JavaScriptApp
12-12 14:17:51.756: E/Parcel(910): 	at java.lang.Class.classForName(Native Method)
12-12 14:17:51.756: E/Parcel(910): 	at java.lang.Class.forName(Class.java:309)
12-12 14:17:51.756: E/Parcel(910): 	at java.lang.Class.forName(Class.java:273)
12-12 14:17:51.756: E/Parcel(910): 	at android.os.Parcel.readParcelableCreator(Parcel.java:2281)
12-12 14:17:51.756: E/Parcel(910): 	at android.os.Parcel.readParcelable(Parcel.java:2245)
12-12 14:17:51.756: E/Parcel(910): 	at android.os.Parcel.readValue(Parcel.java:2152)
12-12 14:17:51.756: E/Parcel(910): 	at android.os.Parcel.readArrayMapInternal(Parcel.java:2485)
12-12 14:17:51.756: E/Parcel(910): 	at android.os.BaseBundle.unparcel(BaseBundle.java:221)
12-12 14:17:51.756: E/Parcel(910): 	at android.os.BaseBundle.getString(BaseBundle.java:918)
12-12 14:17:51.756: E/Parcel(910): 	at android.content.Intent.getStringExtra(Intent.java:5794)
12-12 14:17:51.756: E/Parcel(910): 	at com.android.server.am.ActivityStackSupervisor.startActivityLocked(ActivityStackSupervisor.java:2411)
12-12 14:17:51.756: E/Parcel(910): 	at com.android.server.am.ActivityStackSupervisor.startActivityMayWait(ActivityStackSupervisor.java:1892)
12-12 14:17:51.756: E/Parcel(910): 	at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:5457)
12-12 14:17:51.756: E/Parcel(910): 	at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:5241)
12-12 14:17:51.756: E/Parcel(910): 	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:143)
12-12 14:17:51.756: E/Parcel(910): 	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3418)
12-12 14:17:51.756: E/Parcel(910): 	at android.os.Binder.execTransact(Binder.java:446)
12-12 14:17:51.756: E/Parcel(910): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.eclipsesource.tabris.android.internal.javascript.JavaScriptApp" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
12-12 14:17:51.756: E/Parcel(910): 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
12-12 14:17:51.756: E/Parcel(910): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
12-12 14:17:51.756: E/Parcel(910): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
12-12 14:17:51.756: E/Parcel(910): 	... 17 more
12-12 14:17:51.756: E/Parcel(910): 	Suppressed: java.lang.ClassNotFoundException: com.eclipsesource.tabris.android.internal.javascript.JavaScriptApp
12-12 14:17:51.756: E/Parcel(910): 		at java.lang.Class.classForName(Native Method)
12-12 14:17:51.756: E/Parcel(910): 		at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
12-12 14:17:51.756: E/Parcel(910): 		at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
12-12 14:17:51.756: E/Parcel(910): 		at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
12-12 14:17:51.756: E/Parcel(910): 		... 18 more
12-12 14:17:51.756: E/Parcel(910): 	Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available

@bFlood could you completely uninstall the app (maybe even with adb uninstall com.sdlportal.sdlmobile3.

I've never seen this particular one. Could you do a full uninstall, reinstall cycle to rule out any unwanted side effects?

@mpost I tried that, full uninstall and then reinstall. Same result. I've also tried it on 3 separate devices and get the same error. Also odd that the iOS build is not working either (but older release versions are working)
When I install an older build (coincidentally, a version before the version numbers above stopped working), it works as expected. All new Release versions for about the last  7 days do not work. Can you build Release versions and install them? Has anything changed on the build servers?

just checking in, can anyone build Release versions that work on the device? I'm stuck until this get sorted out

@mpost  @fwaibel  can you confirm release builds are working?

@bFlood We checked several Android builds which are working fine. An iOS build has been uploaded to ITC. We'll post once this test is finished, too.

thank you. are the version numbers off on other accounts as well?
what can I do next? I can't build new release versions and nothing has changed on my side, its the same code that worked fine 8 days ago

The version numbers affects other builds as well. I opened #1065 to track that.
Do you have an optionally local build (https://tabrisjs.com/documentation/latest/local-build)?

I looked at the summary build logs from a build 8 days ago (working) and one made yesterday (not working). The logs look pretty different, I can only assume something has changed on on your build servers.
New Log from 12/14
Starting build
Preparing build environment
Using build template revision 10680ba7798d6f2dd11d689e807759398b87422b
Build environment created<PHONE_NUMBER>4fb0e4a4c0bf6d
Cloning app from https://github.com/spatialdatalogic/sdlmobile3.git
Building from branch master
Using app revision 808f887a3a3cfe9053e8c93697fdda0fa3e1dc6f
Processing App Directory
Applying Cordova project structure
Applying config.xml
Writing iOS Certificate and profile 'sdlmobile3_2016'
Writing Android keystore 'sdlmobile3_release_android'
Encrypting iOS Certificate Password
Encrypting Android Passwords
These things will be built:
  App Id: com.sdlportal.sdlmobile3
  Tabris.js Version: 1.10.0
  Debug Mode: false
  Platform: ANDROID
Creating build job c7e0627da9d6bdeda0831264c3ce10245cb352a1
Scheduling job<PHONE_NUMBER>4fb0e4a4c0bf6d). This may take a few minutes...
Done. Build passed. You can download the apps now.

Old Log from 12/4
Starting build
Cloning build template
Using build template revision 2da0c9d32773d1518a12963167734b1ce9a8bf3e
Build environment created 584ff6317507b0e4786d2f1c
Cloning app from https://github.com/spatialdatalogic/sdlmobile3.git
Building from branch master
Using app revision 8924b5ce112a00aff8dc4d02c0e8317202d6e031
Processing App Directory
Applying Cordova project structure
Applying config.xml
Writing Android keystore 'sdlmobile3_release_android'
Encrypting Android Passwords
Encrypting Android Passwords
These things will be built:
  App Id: com.sdlportal.sdlmobile3
  Tabris.js Version: 1.10.0
  Bundle Developer App: false
  Enable Developer Console: false
  Platform: ANDROID
Creating build job f33dbd14d5dcd9d1e4a581f9e6ecd64fb79db776
Scheduling job (584ff6317507b0e4786d2f1c). This may take a few minutes...
Done. Build passed. You can download the apps now.

We have just build production android and ios apps (with upload to testflight). The build successfully passed and the apps also ran on the devices as expected.
Could the problem be related to some cordova plugin?

Among other things I can see is that your app revision changed between these two builds.
The working build is 808f887a3a3cfe9053e8c93697fdda0fa3e1dc6f the broken build 8924b5ce112a00aff8dc4d02c0e8317202d6e031. Could you create a branch pointing to your old revision and build this?

I will try that but I don't think that is the issue, the updates to the repo were minor and only in the js files. I'll also look at some of the plugins

I have removed all plugins from the app, it compiles but still gives the same error on Android
12-14 12:57:21.361     910-2214/? E/Parcel﹕ Class not found when unmarshalling: com.eclipsesource.tabris.android.internal.javascript.JavaScriptApp
    java.lang.ClassNotFoundException: com.eclipsesource.tabris.android.internal.javascript.JavaScriptApp
            at java.lang.Class.classForName(Native Method)
            at java.lang.Class.forName(Class.java:309)
            at java.lang.Class.forName(Class.java:273)
            at android.os.Parcel.readParcelableCreator(Parcel.java:2281)
            at android.os.Parcel.readParcelable(Parcel.java:2245)
            at android.os.Parcel.readValue(Parcel.java:2152)
            at android.os.Parcel.readArrayMapInternal(Parcel.java:2485)
            at android.os.BaseBundle.unparcel(BaseBundle.java:221)
            at android.os.BaseBundle.getString(BaseBundle.java:918)
            at android.content.Intent.getStringExtra(Intent.java:5794)
            at com.android.server.am.ActivityStackSupervisor.startActivityLocked(ActivityStackSupervisor.java:2411)
            at com.android.server.am.ActivityStackSupervisor.startActivityMayWait(ActivityStackSupervisor.java:1892)
            at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:5457)
            at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:5241)
            at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:143)
            at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3418)
            at android.os.Binder.execTransact(Binder.java:446)
     Caused by: java.lang.ClassNotFoundException: Didn't find class "com.eclipsesource.tabris.android.internal.javascript.JavaScriptApp" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
            at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
            at java.lang.Class.classForName(Native Method)
            at java.lang.Class.forName(Class.java:309)
            at java.lang.Class.forName(Class.java:273)
            at android.os.Parcel.readParcelableCreator(Parcel.java:2281)
            at android.os.Parcel.readParcelable(Parcel.java:2245)
            at android.os.Parcel.readValue(Parcel.java:2152)
            at android.os.Parcel.readArrayMapInternal(Parcel.java:2485)
            at android.os.BaseBundle.unparcel(BaseBundle.java:221)
            at android.os.BaseBundle.getString(BaseBundle.java:918)
            at android.content.Intent.getStringExtra(Intent.java:5794)
            at com.android.server.am.ActivityStackSupervisor.startActivityLocked(ActivityStackSupervisor.java:2411)
            at com.android.server.am.ActivityStackSupervisor.startActivityMayWait(ActivityStackSupervisor.java:1892)
            at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:5457)
            at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:5241)
            at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:143)
            at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3418)
            at android.os.Binder.execTransact(Binder.java:446)
    Suppressed: java.lang.ClassNotFoundException: com.eclipsesource.tabris.android.internal.javascript.JavaScriptApp
            at java.lang.Class.classForName(Native Method)
            at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
            at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
            ... 18 more
     Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available

@bFlood I have analyzed your dex file and the missing class is indeed in the APK. This means that the build service is likely pulling together all the pieces. This may be configuration problem in the manifest related to the search path for the classes. Has anyone from EclipseSource double checked your project layout? We have refactored the build service lately, and maybe a once support cordova project layout no longer works?

Seems we are kind of stuck here. May I ask you for permission to download your apk for local investigation?

Yes, no problem. I'll be in the office soon to comment more as well. Thank you

Unfortunately you interchanged the logs. So on first sight everything looked good. When crosschecking the woking app I got a plain white screen - no exception so far.

@fwaibel what do you mean I interchanged the logs? the plain white screen is exactly what happens on the latest builds
@irbull I think this may be the issue, I recall having to change to an older cordova project layout to get some portion of a custom tabris plugin to compile (I believe it was something on the iOS side, the tabris maps plugin might be a place to look, I think it needed a www folder). that said, I've slowly been build up a brand new app and adding portions of the other app to it. I'll let you know what I find

@bFlood The logs titled New Log from 12/14 is from the working app.
We'll have a closer look at the white screen. Could you meanwhile run a test build from the branch created as mentioned in the comment before? Maybe we get some insights from that build.

@bFlood Nothing suspicious in the logs of the white app. Especially no exceptions.
Did you find some time and were able to trigger a test build from the branch as mentioned in the my comment (https://github.com/eclipsesource/tabris-js/issues/1056#issuecomment-267320140) above?

sorry, I had to work on something else for a bit

I was able to reproduce the blank white screen with no android exception on another, yet untested device. So I don't know what to make of that. just to reiterate, this same app works fine from a Debug build so its not the app logic itself causing the problem

I'm having problems building now, I've never seen this error before. are you guys maybe updating the servers?

FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> failed to find target with hash string 'android-23' in: /usr/local/android-sdk
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 20.526 secs
Error: /home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> failed to find target with hash string 'android-23' in: /usr/local/android-sdk
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Please install Android target: "android-23".
Hint: Open the SDK manager by running: /usr/local/android-sdk-24.0.2/tools/android
You will require:
1. "SDK Platform" for android-23
2. "Android SDK Platform-tools (latest)
3. "Android SDK Build-tools" (latest)
Warning: Command failed: cordova build --device --release
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> failed to find target with hash string 'android-23' in: /usr/local/android-sdk
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: /home/travis/build/eclipsesource/tabris-js-build-template/build/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> failed to find target with hash string 'android-23' in: /usr/local/android-sdk
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Please install Android target: "android-23".
Hint: Open the SDK manager by running: /usr/local/android-sdk-24.0.2/tools/android
You will require:
1. "SDK Platform" for android-23
2. "Android SDK Platform-tools (latest)
3. "Android SDK Build-tools" (latest)
 Use --force to continue.
Aborted due to warnings.
travis_time:end:1ce2c5c2:start=1481819765393705906,finish=1481819820672943209,duration=55279237303

The command "grunt build deploy" exited with 6.

@bFlood Yes we continuously work on the server side. One of todays changes supposed to go into the 2.x development sneaked into 1.10 and caused the Android build problems. Sorry for the additional inconvenience caused.
This has be reverted and you should be able to do the build from the test branch now.
Regarding the white page problem the only difference I am aware of between debug and production builds is the additional cordova parameter --release. We never encountered a situation like yours before.

@bFlood The snapshot environment https://snapshot.tabrisjs.com/ is prepared and you should be able to access your build jobs there.

thank you @fwaibel , I really appreciate the effort
the first build using the snapshot server caused the same issue (white screen, class loader exception on some devices, not on others), so I believe you are correct in saying this is not a build server issue. Can you just confirm the exact date of the snapshot?
I'm going to try building with older versions, with and without plugins and also by building up a brand new app again. I'll let you know what I find today. Is it possible to leave this snapshot server running for a couple of days?
thanks again

@bFlood The code powering the server-side part is from early November (9th of November). The build template is from end of November (25th of November).
To validate the snapshot environment it might still be valuable to try to reproduce the latest known working build. If you create a test branch in your repository
$ git branch test 808f887a3a3cfe9053e8c93697fdda0fa3e1dc6f

and configure this branch in the build settings.

yes, I agree. I'll let you know how it goes. It will have to change a little since there were updates to plugins during that timeframe, I'm not sure I can get it exactly back to where it was for all plugins. that said, I removed all the plugins and tested and I still got the error, so I don't think its them either
quick question:

the debug build works, when I connect via url/http-server, the exact same app that is failing in release works as expected. Can you think of anything that would cause this to happen? Any issue within the app code itself has always failed similarly between debug and release before

thanks

@bFlood I scanned the log files from your current builds and found a discrepancy between the TABRIS_JS_VERSION (usually configured in the build job)
$ export TABRIS_JS_VERSION="1.9.0"
$ export TABRIS_BUILD_ID="585413772914b0e41748350f"

and the Tabris version used in the app:
└──<EMAIL_ADDRESS>
If I remember correctly the tabris code is bundled inside the debug app. So you might use 1.9 in debug builds and 1.10 in your release builds.
Could you check your settings in the build job? Maybe the version bump to 1.10 didn't find it's way to the job configuration...

@fwaibel - thanks, I was just playing with those settings, the original test used 1.10.0

@fwaibel finally figured this out and yes, it was my fault. you can close this ticket and thanks again for all the effort trying to resolve this
for anyone else that has problems with a release build that does not affect the debug build:

enable the developer console, logs that show up here do not necessarily make it into the native platform logs. I did not realize you could have a release build with this option, this would have been solved a lot earlier had I done this originally.

the real problem was a require statement with a path that had proper spelling but incorrect case. these files are imported in the debug build (I'm guessing because of the way http-server works) but will not work in release builds. an error shows up in the tabris dev console but it does not show up in the native logs.

so, one single "P" instead of "p" caused my issue. oh well, thanks again

@bFlood Thanks for keeping us in the loop. I'm glad we finally figured out what the problem was.
I'll close this issue and shut down the snapshot environment on Monday.


Added Conversant adapter docs

The file Conversant Prebid js Instructions.pdf being distributed by Conversant reps specifies that the bidding floor parameter is bidFloor, instead of bidfloor.

Thanks for pointing out the error. We've corrected our docs to use 'bidfloor'

Thanks @msahagu2 !

The markdown isn't appearing correctly on http://prebid.org/dev-docs/bidders.html#conversant
Is there a problem with the syntax? Everything looked good when testing with md editors.


Solid region shapes aren't rendered at all

iBom_solid_regions_rendering_issues_2021-06-08.json.zip

You were faster than me opening the issue ;) However, I think you missed filtering the SOLIDREGION for type: "solid". There is also type: "cutout" which shouldn't be rendered as copper area.

Ugh... completely forgot about additional modes - thank you for pointing out. Added a filter in this release:

https://github.com/turbobabr/easyeda-ibom-extension/releases/download/v0.1.2/easyeda-ibom-v0.1.2.zip


Update Registry Ingress for Charts & Operator

Which area/kind this issue is related to?

/area registry
Issue Description

Ingress, CRD and other Kube resources have had their previous Kube APIs deprecated and later removed from the latest Kube version.
The registry charts and operator needs to be updated to reflect this to enable installing the registry on the latest Kube
More info: https://kubernetes.io/blog/2021/07/14/upcoming-changes-in-kubernetes-1-22/

Closing since it was already marked as done in Sprint 208.


[SQL][minor] use lazy val instead of do the initialization manually

lazy val looks more clear.

Merged build triggered.

I'm just curious about how this interacts with transient. The deserialized form will recognize again that the field has not been initialized and do so again? or will it 'remember' that it's been initialized and not update it from null? Maybe not a problem at all, just occurred to me as a question.

@srowen it will recognize again that the field has not been initialized.  We have already done similar stuff at Rand

Merged build triggered.

retest this please.

Merged build triggered.

Merged build started.

Test build #7 has started for   PR 7372 at commit 18c6d42.

Merged build triggered.

Merged build started.

Test build #37176 has started for   PR 7372 at commit 18c6d42.

Test build #37176 has finished for   PR 7372 at commit 18c6d42.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #7 has finished for   PR 7372 at commit 18c6d42.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Merged build finished. Test PASSed.

cc @rxin

@cloud-fan I'd prefer not to do this change for two reasons:

It was marked private[this] in order to avoid function call (field access rather than function calls). JVM JIT is pretty good about inlining these things, but it sometimes doesn't work. Although you could argue in this case it wouldn't matter since performance sucks elsewhere, but there isn't a lot of benefits to changing it either.

In the long run, we should move towards explicitly initializing all operators with states, rather than relying on lazy transient val. This is a direction similar to the expression codegen init stuff you did.

Alright agreed, should leave it to the future expression init stuff, closing.


fix: allow changes from forks to pass checks

:pencil: Description

:link: Related Issues

So we used to do this. However, pull_request_target is a security risk. It exposes all secrets present in workflow, among other bad things. 🙈
Thus we had to go back to using pull_request in https://github.com/ExpediaGroup/github-helpers/pull/232

oh dammit. i had this flipped in my brain. i was thinking pull_request was the less restrictive one.


Dask dataframe does not count last data chunk

The following code demonstrates:
import distributed
ex = distributed.Executor('localhost:8787')
import numpy
data_list = [numpy.random.rand(1000) for _ in range(1000)]
out = ex.scatter(data_list)
import dask.dataframe as dd
import dask
dask.set_options(get=ex.get)
import pandas as pd
dfs = ex.map(lambda x: pd.DataFrame({'x': x}), out)
dsk = {('mydf', i): df for i, df in enumerate(dfs)}
data = dd.DataFrame(dsk, 'mydf', ['x'], [None]*len(dfs))
print(len(data))  # should be 1000000

and I have seen similar behaviour in more typical datasets: it's specifically the data belonging to the last future, dfs[-1] which isn't counted. Contrast with the following, which gives the correct value:
ex.submit(sum, ex.map(len, dfs))

Divisions should be [None] * (len(dfs) + 1)
It is defined as the minimum value of the index of each partition, plus the maximum value of the last partition (hence the +1) or None in all values.

Sorted, thank you.


Add lint check only for openshift specific files

Add lint check only for openshift specific files
What this PR does / why we need it:
As downstream and upstream uses different lint (including golang version),
the cherry-picks sometimes fails - e.g.

https://github.com/openshift-knative/serving/pull/305/checks
https://github.com/openshift-knative/serving/actions/runs/4932757562

Which issue(s) this PR fixes:

None as this is a lint issue.

Does this PR needs for other branches:

https://github.com/openshift-knative/serving/pull/310 contains for release-1.10

Does this PR (patch) needs to update/drop in the future?:

NONE

/cherry-pick release-v1.9

/cherry-pick release-v1.9

/cc @skonto @ReToCode

/lgtm


Write a basic algorithm in C to translate morse code and print to the console at a particular words per minute

DoD: Algorithm merged into final repo https://github.com/zesoft23/morse-code-driver along with screenshot of working conversion
Make sure to use PARIS as the word to base the WPM metric around.
Blockers: Research words per minute in morse code vs characters per second

https://www.youtube.com/watch?v=9siLdpHFAF4

P A R

Available at this hash: 4fac2a6d4f902b6d097dca9397a1143173b79f8d


Upgrade base image for oc-mirror to 4.13

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

/cc @dinhxuanvu @lmzuccarelli
references: https://github.com/openshift/oc-mirror/pull/534#issuecomment-1419162049


lints/result.go error: undefined strings.ReplaceAll

I found this when running Kritis integration tests, stack trace below:
Step 7/11 : RUN go get -u github.com/cloudflare/cfssl/cmd/...
 ---> Running in 1967f3c19ac9
# github.com/cloudflare/cfssl/vendor/github.com/zmap/zlint/lints
src/github.com/cloudflare/cfssl/vendor/github.com/zmap/zlint/lints/result.go:75:9: undefined: strings.ReplaceAll
The command '/bin/sh -c go get -u github.com/cloudflare/cfssl/cmd/...' returned a non-zero code: 2

Can you confirm the version of Go you're using? Offhand, I suspect you're using an outdated version, strings.ReplaceAll was added fairly recently.

It was added in Go 1.12 so very likely out of date Go version on the Kritis side.

It's not made explicit in the readme but I consider zlint to require Go 1.12.x, largely because that's the only version used in the project .travis.yml for running tests in CI. I'll open a PR to update the README to call this requirement out more explicitly.
I didn't intentionally introduce Go 1.12.x only functionality in https://github.com/zmap/zlint/commit/9971d62266e74547157ff95b5413227e21d8fe23 but I'm hesitant to go back and replace it with a more compatible strings function when the project doesn't test on Go 1.11.x. I recommend folks affected by this commit upgrade to Go 1.12. Sorry for the hassle @aysylu

I'll open a PR to update the README to call this requirement out more explicitly.

https://github.com/zmap/zlint/pull/306

@cpu @cardonator @zakird thank you all! I'll update Kritis infrastructure accordingly.


does LiveQuery support use masterkey to bypass ACL permission? (eg: query.subscribe({useMasterKey: true}))

my code running on backend, need to live query many users data, is there a way to do this? thanks!

Thanks for your question!
We want to make sure to keep signal strong in the GitHub issue tracker – to make sure that it remains the best place to track issues that affect the development of Parse Server.
Questions like yours deserve a purpose-built Q&A forum. Would you like to post this question to Stack Overflow with the tag #parse.com? We'll be happy to answer there. Post a link to your Stack Overflow question here, so that we don't lose track of it.
You may also use Server Fault for questions about managing your own servers.

thank you!
my question: http://stackoverflow.com/questions/40880566/does-livequery-support-use-masterkey-to-bypass-acl-permission


Obtaining difference values between fidelities

Hello,
I wanted to know if there is a way to obtain this d_s(x) or the difference model for the equation shown here.
The scaling parameter I am aware is available from one of the values within lin_mf_model.gpy_model.param_array command, however can't seem to find the difference values. (This is seen in code from Forrester's book in Matlab.)
How can I get this d_s(x) values within emukit?

Answered with no further feedback for two years, closing. Please reach out again if necessary!


hasOne field

Need a specific field type for dealing with the hasOne relation type of Thinky Models.

And the reverse? Or should that be it's own field


Module 'GoogleMobileAds' not found

Getting this error after installing and linking with react-native link and adding pod 'Firebase/AdMob' to the podfile and running pod install

solution https://stackoverflow.com/questions/29485189/module-googlemobileads-not-found-in-ios

Please follow the AdMob getting started guide to install the required frameworks

Continuo com o problema


Re-use 'keys' in ReadOffsetTable

This is a broken down piece of #627
This saves a whole bunch of allocs when opening a block.

I love PR splitting - so much easier to review :heart: @tomwilkie  :trollface:


expand the definition of "batches" of statements

... supported by our txn auto-retry mechanism to include "extended
protocol" batches.

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/86b505b8ee9dba377fb68751c4f1d8a436eb4ca9/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/6dda887a3d9412271ff315cf573518caa414db3b/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/886fa11feb9e6be1196a6afa3859a1a120134eb5/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/163d14c471f9e2925d26f4e879d6d8f482b59385/

Your changes LGTM, @andreimatei. I just pushed some edits. PTAL.
I didn't include the bit about the 64KB overflow cause I don't yet understand it. Can you draft a sentence or two?

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/2d720802ef4cf16d1c3cb79db9527888a790607a/

I didn't include the bit about the 64KB overflow cause I don't yet understand it. Can you draft a sentence or two?

I've added a sentence giving a nod to it.

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

Comments from Reviewable


Crash on GoogleDataTransport's version 9.2, while using firebase sdk to catch crash log, [GDTCORDirectorySizeTracker calculateDirectoryContentSize]

Description

Reproducing the issue
No response
Firebase SDK Version
10.20.0
Xcode Version
15.2
Installation Method
CocoaPods
Firebase Product(s)
Analytics, Crashlytics, DynamicLinks, Performance
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

[Podfile.lock.zip](https://github.com/firebase/firebase-ios-sdk/files/14587872/Podfile.lock.zip)

We may need a reproducible test case to help with this. What is version 9.2?

@paulb777 thank you, the lib GoogleDataTransport, which is a dependency of FirebaseCrashlytics, you can download the  file podfile.lock by the urll https://github.com/firebase/firebase-ios-sdk/files/14587872/Podfile.lock.zip to see more of it

OK I see. The requirement for GoogleDataTransport from Firebase is a minimum of 9.2, but 9.3 is actually used.

So it is, and now it is catched 13 crashes.

Some Infos of The crashes may help:
device: iPhone 13 Pro Max
device_os: iOS 16.3.1
RAM:  255.88 MB
thanks a lot

Hi @ZGilbert, are you able to share a complete stack trace? I'm curious what the other threads are doing at the time of the crash.


crash when modal presenting a floating panel with UINavigationController as contentViewController

Description
First off, amazing library! 🙌
I discovered that after updating from 2.2.0 to all later versions (2.3.1, 2.4.0), a crash occurs when modally presenting a floating panel that contains a UINavigationController as the contentViewController. Other presentations with UIViewController types present as expected. As a workaround, presenting as a child view controller avoids the exception.
Expected behavior
Presentation without crash exception.
Actual behavior
An NSException occurs when presenting a UINavigationController as the contentViewController:
libc++abi: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'finishAnimationAtPosition: should only be called on a stopped animator!'
terminating with uncaught exception of type NSException

Thread#0	0x00000001803f7964 in __exceptionPreprocess ()
#1	0x0000000180188800 in objc_exception_throw ()
#2	0x00000001803f77dc in +[NSException raise:format:arguments:] ()
#3	0x000000018074b3bc in -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] ()
#4	0x0000000183969170 in -[UIViewPropertyAnimator finishAnimationAtPosition:] ()
#5	0x0000000104cf2484 in Core.interruptAnimationIfNeeded() at XXX/Pods/FloatingPanel/Sources/Core.swift:543
#6	0x0000000104cebf08 in Core.move(from:to:animated:completion:) at XXX/Pods/FloatingPanel/Sources/Core.swift:115
#7	0x0000000104cebb48 in Core.move(to:animated:completion:) at XXX/Pods/FloatingPanel/Sources/Core.swift:101
#8	0x0000000104ce2af4 in FloatingPanelController.move(to:animated:completion:) at XXX/Pods/FloatingPanel/Sources/Controller.swift:536
#9	0x0000000104cdf7b0 in FloatingPanelController.show(animated:completion:) at XXX/Pods/FloatingPanel/Sources/Controller.swift:446
#10	0x0000000104d35910 in ModalPresentTransition.interruptibleAnimator(using:) at XXX/Pods/FloatingPanel/Sources/Transitioning.swift:103
#11	0x0000000104d35c10 in ModalPresentTransition.animateTransition(using:) at XXX/Pods/FloatingPanel/Sources/Transitioning.swift:111
#12	0x0000000104d35c7c in @objc ModalPresentTransition.animateTransition(using:) ()
#13	0x0000000183d5fad8 in ___UIViewControllerTransitioningRunCustomTransition_block_invoke_2 ()
#14	0x0000000183e8ca2c in +[UIInputResponderController _pinInputViewsForInputResponderController:onBehalfOfResponder:duringBlock:] ()
#15	0x0000000183d5fa58 in ___UIViewControllerTransitioningRunCustomTransition_block_invoke.641 ()
#16	0x00000001848d9104 in +[UIView(Animation) _setAlongsideAnimations:toRunByEndOfBlock:] ()
#17	0x0000000183d5f8c0 in _UIViewControllerTransitioningRunCustomTransition ()
#18	0x0000000183c27298 in __56-[UIPresentationController runTransitionForCurrentState]_block_invoke.466 ()
#19	0x0000000184887504 in -[_UIAfterCACommitBlock run] ()
#20	0x00000001843feea0 in _runAfterCACommitDeferredBlocks ()
#21	0x00000001843eeffc in _cleanUpAfterCAFlushAndRunDeferredBlocks ()
#22	0x000000018441f14c in _afterCACommitHandler ()
#23	0x0000000180364fc4 in __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ ()
#24	0x000000018035f73c in __CFRunLoopDoObservers ()
#25	0x000000018035fc9c in __CFRunLoopRun ()
#26	0x000000018035f3bc in CFRunLoopRunSpecific ()
#27	0x000000018afdd70c in GSEventRunModal ()
#28	0x00000001843f03d0 in -[UIApplication _run] ()
#29	0x00000001843f51ac in UIApplicationMain ()
#30	0x0000000102f11658 in main a XXX/AppDelegate.swift:21
#31	0x0000000180224554 in start ()

Steps to reproduce
Code example that reproduces the issue
        let appOptionsViewController = AppOptionsViewController()

        let navigationController = UINavigationController(rootViewController: appOptionsViewController)
        navigationController.delegate = self

        // always re-allocate floating panel because it has some annoying re-use bugs
        let floatingPanel = FloatingPanelController.customFloatingPanel()
        floatingPanel.delegate = self

        floatingPanel.set(contentViewController: navigationController)
        switch floatingPanel.traitCollection.userInterfaceIdiom {
        case .pad:
            floatingPanel.layout = MenuFullFloatingPaneliPadLayout()
        default:
            floatingPanel.layout = MenuFullFloatingPaneliPhoneLayout()
        }

        self._routerController = RouterController(viewController: floatingPanel)
        self._floatingPanel = floatingPanel
        self.viewController.present(floatingPanel, animated: true)

How do you display panel(s)?

Present modally

How many panels do you displays?

1
2+

Environment
Library version
Installation method

CocoaPods

iOS version(s)
14.5
Xcode version
12.5 (12E262)

9958fc50178c298b9a57b4f0bce3c623dba3bc30 commit probably causes this issue.

Got exactly the same thing here. animator.finishAnimation() crashes with a finishAnimationAtPosition: should only be called on a stopped animation.

OMG... I would like to fix this as soon as possible...

Hey, @scenee
I have the same bug but I don't give a UINavigationController, just a UIViewcontroller
version : 2.4.0
Thank you
Sebastien
 func interruptibleAnimator(using transitionContext: UIViewControllerContextTransitioning) -> UIViewImplicitlyAnimating {
        guard
            let fpc = transitionContext.viewController(forKey: .to) as? FloatingPanelController
        else { fatalError() }

        if let animator = fpc.transitionAnimator {
            return animator
        }

        fpc.suspendTransitionAnimator(true)
        fpc.show(animated: true) { [weak fpc] in
            fpc?.suspendTransitionAnimator(false)
            transitionContext.completeTransition(!transitionContext.transitionWasCancelled)
        }
        return fpc.transitionAnimator! <<- crash here, transitionAnimator is nil
    }

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful. FloatingPanel/Transitioning.swift:107: Fatal error: Unexpectedly found nil while unwrapping an Optional value 2021-08-18 11:18:21.975042+0200 ApplicationMaitre[22486:6259534] FloatingPanel/Transitioning.swift:107: Fatal error: Unexpectedly found nil while unwrapping an Optional value (lldb)
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = Fatal error: Unexpectedly found nil while unwrapping an Optional value
    frame #0: 0x00000001a7104060 libswiftCore.dylib`_swift_runtime_on_report
    frame #1: 0x00000001a716f6a4 libswiftCore.dylib`_swift_stdlib_reportFatalErrorInFile + 188
    frame #2: 0x00000001a6e41e90 libswiftCore.dylib`closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in closure #1 (Swift.UnsafeBufferPointer<Swift.UInt8>) -> () in Swift._assertionFailure(_: Swift.StaticString, _: Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 380
    frame #3: 0x00000001a6e415a0 libswiftCore.dylib`Swift._assertionFailure(_: Swift.StaticString, _: Swift.StaticString, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never + 376
  * frame #4: 0x000000010a2f7c0c FloatingPanel`ModalPresentTransition.interruptibleAnimator(transitionContext=0x000000011876b3d0, self=0x0000000115a4d1a0) at Transitioning.swift:107:38
    frame #5: 0x000000010a2f7ebc FloatingPanel`ModalPresentTransition.animateTransition(transitionContext=0x000000011876b3d0, self=0x0000000115a4d1a0) at Transitioning.swift:111:14
    frame #6: 0x000000010a2f7f28 FloatingPanel`@objc ModalPresentTransition.animateTransition(using:) at <compiler-generated>:0
    frame #7: 0x00000001a56bad78 UIKitCore`___UIViewControllerTransitioningRunCustomTransition_block_invoke_2 + 72
    frame #8: 0x00000001a57e9034 UIKitCore`+[UIInputResponderController _pinInputViewsForInputResponderController:onBehalfOfResponder:duringBlock:] + 104
    frame #9: 0x00000001a56bacf8 UIKitCore`___UIViewControllerTransitioningRunCustomTransition_block_invoke.641 + 176
    frame #10: 0x00000001a6246d88 UIKitCore`+[UIView(Animation) _setAlongsideAnimations:toRunByEndOfBlock:] + 172
    frame #11: 0x00000001a56bab60 UIKitCore`_UIViewControllerTransitioningRunCustomTransition + 572
    frame #12: 0x00000001a5581b74 UIKitCore`__56-[UIPresentationController runTransitionForCurrentState]_block_invoke.466 + 2200
    frame #13: 0x00000001a61f3cfc UIKitCore`-[_UIAfterCACommitBlock run] + 64
    frame #14: 0x00000001a5d637dc UIKitCore`_runAfterCACommitDeferredBlocks + 296
    frame #15: 0x00000001a5d52ca8 UIKitCore`_cleanUpAfterCAFlushAndRunDeferredBlocks + 200
    frame #16: 0x00000001a5d83ff8 UIKitCore`_afterCACommitHandler + 76
    frame #17: 0x00000001a342e588 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
    frame #18: 0x00000001a3428bb8 CoreFoundation`__CFRunLoopDoObservers + 588
    frame #19: 0x00000001a3429154 CoreFoundation`__CFRunLoopRun + 1012
    frame #20: 0x00000001a3428818 CoreFoundation`CFRunLoopRunSpecific + 572
    frame #21: 0x00000001b9b2e570 GraphicsServices`GSEventRunModal + 160
    frame #22: 0x00000001a5d540e8 UIKitCore`-[UIApplication _run] + 1052
    frame #23: 0x00000001a5d59664 UIKitCore`UIApplicationMain + 164
    frame #24: 0x00000001b654787c libswiftUIKit.dylib`UIKit.UIApplicationMain(Swift.Int32, Swift.Optional<Swift.UnsafeMutablePointer<Swift.UnsafeMutablePointer<Swift.Int8>>>, Swift.Optional<Swift.String>, Swift.Optional<Swift.String>) -> Swift.Int32 + 100
    frame #25: 0x0000000102b701dc ApplicationMaitre`static UIApplicationDelegate.main() at <compiler-generated>:0
    frame #26: 0x0000000102b70154 ApplicationMaitre`static AppDelegate.$main(self=AppDelegate) at AppDelegate.swift:20:1
    frame #27: 0x0000000102b71364 ApplicationMaitre`main at <compiler-generated>:0
    frame #28: 0x00000001a3107140 libdyld.dylib`start + 4
(lldb)

Thank you for your report, @sebastienL. Now I'm considering to remove the commit that causes this issue for now.

Hi @scenee,
Do you know the date of the new version?
The crash seems to be reproduced 100% on ios15
I think I revert to an old version.
Thanks

Hi @scenee
I think I found on my side
At the opening of the bottom sheet I made a move.
I think that's what made it crash
I test my correction
Seb


Package name conflict

I am trying to build my project using gradle and have included the repository information as mentioned in the Vaadin Directory page. During the build or, while refreshing the gradle project JAR is downloaded in the gradle cache. The package in the JAR file is "com.github.appreciated.app.layout", whereas in the source code as well as the examples on the Github location have the package name as "com.github.appreciated.applayout"
Can you please let me know which is the correct package name ".app.layout" or, ".applayout" ?

Hi, sorry that you ran into these building issues. I changed the package shortly before release since the Vaadin Directory is rather unspecific on why it does not accept the new version upload. Infact the package naming wasn't the Problem but the name tag in the POM.
The correct package is "com.github.appreciated.applayout". I'll see what I can do to fix this issue.

Thanks for the reply and quick turn around. I will refresh the gradle cache once you fix it.

Is this resolved?

Closing due to inactivity


sys.sp_cdc_generate_wrapper_function formatting problems

There are a few formatting mistakes in this document:
https://learn.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sys-sp-cdc-generate-wrapper-function-transact-sql
MD:
https://github.com/MicrosoftDocs/sql-docs/blob/b7782a6ae8760ba8e16e65f6c6f4393c6a331c15/docs/relational-databases/system-stored-procedures/sys-sp-cdc-generate-wrapper-function-transact-sql.md
The formatting mistakes are:

The syntax block is improperly wrapped. It seems to be mistakenly split into two blocks.
The argument headings don't seem to fit the formatting done in most other documents.
The example code uses a cursor with # in its name, and overall uses abnormal syntax and formatting.

@EitanBlumin -- Eitan, thank you for your clear feedback.  I am updating the article.

@EitanBlumin -- Eitan, I updated the syntax formatting, and the headings are good as-is.
@markingmyname -- Mark, is an octothorpe # needed in that example?


Add mm axes to the picture

The axes are in mm (due to pixel size) so we should use that information.

See also upstream question https://github.com/basler/pypylon/issues/788 regarding reading pixel sizes
Also: https://github.com/rgeneaux/pymodaq_plugins_test_pylablib/issues/6 (doing this in the inherited pymodaq plugin)


Added ZoeDepth Support to SHARK

python apps/stable_diffusion/scripts/img2img.py  --precision=fp16 --device=vulkan --prompt="barbie pink dog" --max_length=64 --import_mlir iree-hal-dump-executable-sources --enable_stack_trace --no-use_tuned  --img_path=C:\Users\nithin\intern_stuff\SHARK\wolf.jpg --use_stencil="zoedepth"

This will use the stable diffusion stencil pipeline to create a depth map of the input image and then stay faithful to the depth map when generating new images.

Changing to WIP. Looks like gitignore prevents models directory within zoe from being added. checking if I can move all the references to the models module into a utils file

Commit 72e27c96fce932b5b31f708af19a67d59a53d438 adds this support. Closing this PR.


React

Is possible configure the plugin to work with react, I have this, but doesn't work in the attributes of the tags
import React from 'react';
import uid from 'uid';

const CourseAddForm = (props) => (
  <form onSubmit={props.onAddCourse}>
    <input type="text" placeholder="Nombre del curso" name="name"/>
    <input type="text" placeholder="Profesor" name="teacher"/>
    <input type="hidden" name="id" value={Math.floor( Math.random() * 100 )}/>
    <input type="submit" value="Guardar"/>
  </form>
);

export default CourseAddForm;

I found my filetype was "javascript" not "javascript.jsx" thanks it's working
!


There is no CLA page for the new site

Currently https://influxdata.com/community/cla.html is a 404.
Would be good to get the form working on the new site. To fix the broken link, I've changed it to point to the old CLA page for now, in #225

Oops @jginfluxdata pointed me in the right direction!


Support nested exception in EvalError

In many cases EvalError is triggered by another exception.
It would make the debugging much easier if the EvalError
remembers the nested exception (as compared to just
remember the error string of the nested exception.)
The idea is very similar to the newly added Throwable
constructor in JDK1.4.
Reported by: kkawa
Original Ticket: "beanshell/feature-requests/7":https://sourceforge.net/p/beanshell/feature-requests/7

Closed: not enough information


improvement : removed required  kotlin dependency

This PR removed the non-necessary required Koltin dependency. This is because the Kotlin Gradle adds the dependency on the standard library automatically.
Fixes #98212
*If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy. *
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@reidbaker can you give final approval on this one?

Before we can approve we need the CLA signed for all contributors.
For context starting at this commit ~2 years ago we default to a version of kotlin that according to the linked documentation does not need the template version.

Hello @christopherfujino and @reidbaker
Is there something else I need to do?

Hello @christopherfujino and @reidbaker
Is there something else I need to do?

I don't think so auto submit should run when the tree is green

Understood.
Thank you @reidbaker

Hello @christopherfujino and @reidbaker
Is there something else I need to do?

I don't think so auto submit should run when the tree is green

Understood. Thank you @reidbaker

Google testing state was stuck. Updated https://github.com/flutter/flutter/issues/125994 where this happened to another teammate and manually set the status.

Hello @christopherfujino and @reidbaker
Is there something else I need to do?

I don't think so auto submit should run when the tree is green

Understood. Thank you @reidbaker

Google testing state was stuck. Updated #125994 where this happened to another teammate and manually set the status.

Understood. thanks for your collaboration! @christopherfujino and @reidbaker


Illustration of Domain Model for Chirp!

Objective:
Create an accurate and complete illustration of the Chirp! project's domain model, including the integration of ASP.NET Identity if used.
Requirements:
Comprehensive Domain Model: Ensure the illustration covers all entities, their attributes, and relationships within the Chirp! application.
ASP.NET Identity Integration: If ASP.NET Identity is utilized, illustrate its incorporation into the domain model.
Tool Usage: Use PlantUML or DrawIO to create the diagram.
Details to Include:
A detailed representation of each entity in the domain model.
The relationships between entities, including any inheritance or associations.
The role of ASP.NET Identity in the overall domain structure, if applicable.
Goal:
Provide a detailed and correct visual representation of the domain model, reflecting the current state of the Chirp! application and enhancing understanding of its data structure.

Done and added to the report


NetworkInformation.GetInternetConnectionProfile() throws on background threads

Describe the bug
Previously in UWP, calling the NetworkInformation.GetInternetConnectionProfile() method would return the network information - regardless of the thread used.
In WinUI, this gives a COMException if it is not on a "main" thread.
Original issue: https://github.com/dotnet/maui/pull/10062
Workaround: https://github.com/dotnet/maui/issues/9972
Steps to reproduce the bug

Call NetworkInformation.GetInternetConnectionProfile(); on a background thread/task.

Expected behavior
No exception
Screenshots
No response
NuGet package version
1.1.4
Packaging type
Packaged (MSIX)
Windows version
Windows 10 version 21H2 (19044, November 2021 Update)
IDE
Visual Studio 2022
Additional context
No response

@mattleibow this doesn't repro with the minimal steps provided. For example, this works:

Create new WinAppSdk/WinUI app
add following code to button click handler:

private async void myButton_Click(object sender, RoutedEventArgs e)
{
    myButton.Content = "Clicked";

    var profile = await Task.Run(() =>
    {
        return NetworkInformation.GetInternetConnectionProfile().GetNetworkConnectivityLevel();
    });

    myButton.Content = profile;
}

This works without throwing exception. However, this doesn't:
private async void myButton_Click(object sender, RoutedEventArgs e)
{
    myButton.Content = "Clicked";

    var profile = await Task.Run(() =>
    {
        return NetworkInformation.GetInternetConnectionProfile();
    });

    myButton.Content = profile.GetNetworkConnectivityLevel();
}

Also, in the following p1 is correctly set but p2 is null
private async void myButton_Click(object sender, RoutedEventArgs e)
{
    myButton.Content = "Clicked";

    var p1 = NetworkInformation.GetInternetConnectionProfile();
    var profile = await Task.Run(() =>
    {
        var p2 = NetworkInformation.GetInternetConnectionProfile();
        return p2;
    });

    myButton.Content = profile.GetNetworkConnectivityLevel();
}

I don't repro this issue. Is there anything specific about how you've created the thread? I tried this:
        private void myButton_Click(object sender, RoutedEventArgs e)
        {
            myButton.Content = "Clicked";
            var thread = new Thread(new ThreadStart(WorkThreadFunction));
            thread.Start();
        }

        public void WorkThreadFunction()
        {
            var profile = NetworkInformation.GetInternetConnectionProfile();
            System.Diagnostics.Debug.WriteLine("Network: profile name: " + profile.ProfileName + " adapter: " + profile.NetworkAdapter);
        }

There is no exception and the debug output looks good. I tried this on Win11 and Win10 21H1.
Note that NetworkInformation is a Windows API and not part of WinAppSDK, so any issue we find here would like require an OS update.

I believe the thread was created using the Task.Run() code.

I also thing the issue is that the profile was obtained on one thread and then used from another.
    var profile = await Task.Run(() =>
    {
        return NetworkInformation.GetInternetConnectionProfile();
    });

    myButton.Content = profile.GetNetworkConnectivityLevel();

@nickrandolph can you still reproduce this in WinUI?
I tried your code that was failing and it now works. I am reverting our fix as it broke other areas, but it all seems to work now... I have my version numbers of things in the PR: https://github.com/dotnet/maui/pull/10697

I am having the same issue:
Target framework: net7.0-windows10.0.19041.0
  "Microsoft.Maui.Dependencies/6.0.312": {
    "type": "package",
    "dependencies": {
      "Microsoft.Graphics.Win2D": "<IP_ADDRESS>",
      "Microsoft.Maui.Graphics": "6.0.300",
      "Microsoft.Maui.Graphics.Win2D.WinUI.Desktop": "6.0.300",
      "Microsoft.WindowsAppSDK": "1.0.3"
    }

project.assets.json
Laptop running: Windows 10 Enterprise 19045.3570
I am not using Task.Run or anything, I am using an await on an async service class which has the internet check inside. This works on most of my service classes but bar one of them. I can't tell what is different. Very puzzeling. :(
I see the MAUI work around issue is "Closed" however the merged fix was reverted.

I also think the issue is that the profile was obtained on one thread and then used from another.
    var profile = await Task.Run(() =>
    {
        return NetworkInformation.GetInternetConnectionProfile();
    });

    myButton.Content = profile.GetNetworkConnectivityLevel();

FYI @codendone this snippet is the one that gives me an exception

Update: I've observed that this issue only happens on Win10. It works fine on Win11


feat: add role change logs

This adds logging for role changes
IMPORTANT: This will require adding a column to the Guilds database on production. I actually don't know how you do this...?

This will require adding a column to the Guilds database on production. I actually don't know how you do this...?

SettingsGateway handles it for us:
https://github.com/dirigeants/settings-gateway/blob/69a67e5d0b85ff2abf9ed9b16c0df861abaa38ac/src/lib/gateway/GatewayStorage.ts#L70-L78


MAHOUT-1570, sub-pr: a siggestion: let's unify all key class tag extractors.

Unifying "keyClassTag" of checkpoitns and "classTagK" of logical operators and
elevating "keyClassTag" into DrmLike[] trait. No more logical forks any more .

spark backend tests pass, but in h20 i get
10-19 23:45:46.002 <IP_ADDRESS>:54321    13168  #onsSuite INFO: Cloud of size 1 formed [/<IP_ADDRESS>:54321] *** RUN ABORTED ***   java.lang.StackOverflowError:   at org.apache.mahout.math.drm.DistributedEngine$.org$apache$mahout$math$drm$DistributedEngine$$pass1(DistributedEngine.scala:142)   at org.apache.mahout.math.drm.DistributedEngine$.org$apache$mahout$math$drm$DistributedEngine$$pass1(DistributedEngine.scala:182)   at org.apache.mahout.math.drm.DistributedEngine$class.optimizerRewrite(DistributedEngine.scala:44)
well the H20 build is known for that it never builds for me anyway :)

Ok so yes -- dspca produces just wrong result, and the dssvd test just fails with out of memory.
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2271)
at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113)
at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:140)
I would start with tracing problems with dssvd first. It looks like some memory management settings for flink. Any ideas? Should we just bump it the jvm memory of maven test?

Hi @dlyubimov , is there any more information of the stack trace for the failure?

Full test report (with all failures)

Aha. so a lot of those are actually failures associated with empty partitions. It looks like. just what Andrew reported.
optimizer should not (willingly) produce empty splits.

with the memory bumped up to 4G (inside IntelliJ) the stack trace shows FlinkOpAtA as the source of the oom error in dals:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
	at java.util.Arrays.copyOf(Arrays.java:2271)
	at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113)
	at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
	at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:140)
	at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1876)
	at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1821)
	at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:718)
	at java.io.ObjectOutputStream.close(ObjectOutputStream.java:739)
	at org.apache.flink.util.InstantiationUtil.serializeObject(InstantiationUtil.java:319)
	at org.apache.flink.util.InstantiationUtil.writeObjectToConfig(InstantiationUtil.java:268)
	at org.apache.flink.runtime.operators.util.TaskConfig.setStubWrapper(TaskConfig.java:273)
	at org.apache.flink.optimizer.plantranslate.JobGraphGenerator.createDataSourceVertex(JobGraphGenerator.java:864)
	at org.apache.flink.optimizer.plantranslate.JobGraphGenerator.preVisit(JobGraphGenerator.java:260)
	at org.apache.flink.optimizer.plantranslate.JobGraphGenerator.preVisit(JobGraphGenerator.java:103)
	at org.apache.flink.optimizer.plan.SourcePlanNode.accept(SourcePlanNode.java:87)
	at org.apache.flink.optimizer.plan.SingleInputPlanNode.accept(SingleInputPlanNode.java:199)
	at org.apache.flink.optimizer.plan.SingleInputPlanNode.accept(SingleInputPlanNode.java:199)
	at org.apache.flink.optimizer.plan.SingleInputPlanNode.accept(SingleInputPlanNode.java:199)
	at org.apache.flink.optimizer.plan.SingleInputPlanNode.accept(SingleInputPlanNode.java:199)
	at org.apache.flink.optimizer.plan.SingleInputPlanNode.accept(SingleInputPlanNode.java:199)
	at org.apache.flink.optimizer.plan.SingleInputPlanNode.accept(SingleInputPlanNode.java:199)
	at org.apache.flink.optimizer.plan.SingleInputPlanNode.accept(SingleInputPlanNode.java:199)
	at org.apache.flink.optimizer.plan.OptimizedPlan.accept(OptimizedPlan.java:127)
	at org.apache.flink.optimizer.plantranslate.JobGraphGenerator.compileJobGraph(JobGraphGenerator.java:170)
	at org.apache.flink.client.LocalExecutor.executePlan(LocalExecutor.java:176)
	at org.apache.flink.api.java.LocalEnvironment.execute(LocalEnvironment.java:54)
	at org.apache.flink.api.java.ExecutionEnvironment.execute(ExecutionEnvironment.java:789)
	at org.apache.flink.api.java.DataSet.collect(DataSet.java:408)
	at org.apache.mahout.flinkbindings.blas.FlinkOpAtA$.slim(FlinkOpAtA.scala:57)
	at org.apache.mahout.flinkbindings.blas.FlinkOpAtA$.at_a(FlinkOpAtA.scala:39)
	at org.apache.mahout.flinkbindings.FlinkEngine$.flinkTranslate(FlinkEngine.scala:124)
	at org.apache.mahout.flinkbindings.FlinkEngine$.toPhysical(FlinkEngine.scala:91)

Thanks for looking into it! It may be my bug, but I'll let the Flink team know about it anyways.

The problem of the OutOfMemoryError in dals of the DistributedDecompositionSuite is the following:
In order parallelize the input matrix, the FlinkEngine creates a Collection[DrmTuple[Int]] which is given to Flink's CollectionInputFormat. The CollectionInputFormat is simply a wrapper for a collection which is serialized and shipped to the corresponding data source at runtime. The problem is that the matrix rows in the collection of DrmTuple[Int] are of type MatrixVectorView. Instances of this class hold a reference to the original matrix. Therefore, serializing an instance of MatrixVectorView effectively boils down to serializing the complete input matrix for each row. This means that the CollectionInputFormat needs memory of order size(inputMatrix) * rows(inputMatrix) to serialize the given collection of DrmTuple[Int] instances.
The input size for the dals test case are 500 * 500. This means that the input matrix has roughly the size of 2 MB. The serialized CollectionInputFormat has then a size of roughly 1 GB, because we serialize the matrix for each row. If you replace FlinkEngine.scala:231 with val rows = (0 until m.nrow).map(i => (i, dvec(m(i, ::)).asInstanceOf[Vector])), the test will pass the serialization point (but fail with another error :-( The reason why 1 GB of memory, given that you set the max limit to 4 GB, is already enough to crash Flink is that Flink reserver per default 70% of the available memory for its managed memory (for sorting and hashing).
I think it would make sense to convert possible Views to its materialized form before distributing the data in the cluster. That way, you avoid the creation of unnecessary data which might be ok for the local use case where the data is shared.
I hope this sheds a little bit of light in the OutOfMemoryError you've encountered.

I forgot to mention that the error is
Caused by: java.util.NoSuchElementException: head of empty list
	at scala.collection.immutable.Nil$.head(List.scala:337)
	at scala.collection.immutable.Nil$.head(List.scala:334)
	at org.apache.mahout.flinkbindings.drm.RowsFlinkDrm$$anon$1.mapPartition(FlinkDrm.scala:68)
	at org.apache.flink.runtime.operators.MapPartitionDriver.run(MapPartitionDriver.java:98)
	at org.apache.flink.runtime.operators.RegularPactTask.run(RegularPactTask.java:496)
	at org.apache.flink.runtime.operators.RegularPactTask.invoke(RegularPactTask.java:362)
	at org.apache.flink.runtime.taskmanager.Task.run(Task.java:559)
	at java.lang.Thread.run(Thread.java:745)

The error appears also in some of the other test cases, therefore I think it's not a problem of Flink itself but of the implementation of the Flink bindings.

That's been my conclusion too, Till. Its an issue in Flink bindings impl. Thanks for ur time and feedback.

On Wed, Oct 21, 2015 at 5:48 AM, Till Rohrmann<EMAIL_ADDRESS>wrote:

The problem of the OutOfMemoryError in dals of the
DistributedDecompositionSuite is the following:
In order parallelize the input matrix, the FlinkEngine creates a
Collection[DrmTuple[Int]] which is given to Flink's CollectionInputFormat.
The CollectionInputFormat is simply a wrapper for a collection which is
serialized and shipped to the corresponding data source at runtime. The
problem is that the matrix rows in the collection of DrmTuple[Int] are of
type MatrixVectorView. Instances of this class hold a reference to the
original matrix. Therefore, serializing an instance of MatrixVectorView
effectively boils down to serializing the complete input matrix for each
row.

This has never been a problem for other mappings and should not be here.
What you serialize is either (1) collection of vectors, or (2) a matrix
view.
Java serialization of the mahout-math is not supported. so it has to be a
custom serialization in each case. Mahout core provides two serialization
means: (1) hadoop writable, (2) kryo.
in particular, spark backend uses kryo serialization.
In this case i guess we are speaking of collection of vectors, so the
classes supprting these types of serialization would be VectorWritable and
[1]. Kryo is generally a preferred way. We can move kryo support into
math-scala out of spark package if needed.
if neither kryo nor writable fits the bill, then additional thought is
required. I remember vaguely talking to Stephan and he told me that
supporting Writable serialization will suffice as a minimum requirement. So
serializing vectors with either of these two ways should be acceptable
regardless of actual implementation (view/non-view, doesn't matter. they
serialize any Vector implementation).
[1]
https://github.com/apache/mahout/blob/master/spark/src/main/scala/org/apache/mahout/sparkbindings/io/VectorKryoSerializer.scala

This means that the CollectionInputFormat needs memory of order size(inputMatrix)

rows(inputMatrix) to serialize the given collection of DrmTuple[Int]
instances.

The input size for the dals test case are 500 * 500. This means that the
input matrix has roughly the size of 2 MB. The serialized
CollectionInputFormat has then a size of roughly 1 GB, because we
serialize the matrix for each row. If you replace FlinkEngine.scala:231
with val rows = (0 until m.nrow).map(i => (i, dvec(m(i,
::)).asInstanceOf[Vector])), the test will pass the serialization point
(but fail with another error :-( The reason why 1 GB of memory, given that
you set the max limit to 4 GB, is already enough to crash Flink is that
Flink reserver per default 70% of the available memory for its managed
memory (for sorting and hashing).
I think it would make sense to convert possible Views to its materialized
form before distributing the data in the cluster. That way, you avoid the
creation of unnecessary data which might be ok for the local use case where
the data is shared.
I hope this sheds a little bit of light in the OutOfMemoryError you've
encountered.
—
Reply to this email directly or view it on GitHub
https://github.com/apache/mahout/pull/161#issuecomment-149884474.

I assume the reason why this has never been a problem for the spark and h2o bindings is exactly that you've registered (at least for the sparkbindings) a proper kryo serializer for the vector types. This is not done for the flink bindings.
Let me clarify a little bit how Flink serializes the collection of MatrixVectorView. Flink's type extractor detects that this type is not a POJO and thus assigns it a GenericTypeInfo. Types with this type info are serialized using Kryo. Since kryo has no special serializer registered it will use the default one. The default serializer in this case is the FieldSerializer. Thus, it will simply serialize all fields.
That's how the CollectionInputFormat can serialize the MatrixVectorView. Consequently, CollectionInputFormat can be serializable using Java serialization because it takes care of serializing its data collection.
However, I've just checked and noticed that Flink does not allow you to specify default serializers for Kryo. With that you can do the same as for the spark bindings. I'll fix this.

Well, I just saw that you're using Flink 0.9-SNAPSHOT. In 0.10-SNAPSHOT, you can register default serializers for Kryo. I just tested to bump Flink's version to 0.10-SNAPSHOT and it worked without problems. If you move VectorKryoSerializer and GenericMatrixKryoSerializer to a module which is accessible from the flink bindings module, then adding
env.addDefaultKryoSerializer(classOf[Vector], new VectorKryoSerializer())
env.addDefaultKryoSerializer(classOf[Matrix], new GenericMatrixKryoSerializer())

to the constructor of FlinkDistributedContext solved the OOM for me. Additionally, you have to make both serializers either serializable, otherwise Flink cannot ship them.
Alternatively, you can give both serializers a zero arg constructor (default values don't count a such a constructor for Java). Then the serializers don't have to be serializable and you can register the serializers via
env.addDefaultKryoSerializer(classOf[Vector], classOf[VectorKryoSerializer])
env.addDefaultKryoSerializer(classOf[Matrix], classOf[GenericMatrixKryoSerializer])

Thanks, Till!
I could try to look into it during the weekend, but I'm not sure how it's going to work with 2 open PRs for the same code. The solution Till suggested doesn't look too complicated though...

Alexey,
Before we try out Till's suggested fixes, we are redoing some of the backend code to refactor common functionality out to a common module.

Fyi, We r running off of Flink 0.10-Snapshot


PaymentRequired for Garmin API

I'm getting exceptions starting today:
Request [GET: https://connect.garmin.com/proxy/activitylist-service/activities/search/activities?startDate=2022-12-10&endDate=2022-12-17&start=0&limit=20] return code 402 (PaymentRequired).
and
Request [GET: https://connect.garmin.com/proxy/userprofile-service/userprofile/user-settings] return code 402 (PaymentRequired).
I also tried another Garmin account that had not used the Garmin API at all in the past with the same result.
Garmin seems to have changed its policy. Any idea how to resolve this?

Hello @HSyr thanks, the fast issue
I think something changed with the cookies
try to find what changed, if you know will be glad to review the PR

@HSyr I am found what changed
Garmin added new bearer token auth with the method https://connect.garmin.com/modern/di-oauth/exchange
and changed URLs
I am preparing PR and new release

Great! Looking forward for the release.

Released https://www.nuget.org/packages/Unofficial.Garmin.Connect/

This was a fast fix! Works great @ ASync. Thanks a lot @sealbro !


How to deploy two sets of non-interfering kong on a k8s cluster？

I have a k8s cluster, and dev env, test env, and prod env are deployed on the cluster. Now I want to use a kong for dev and test env, and another kong for prod. How to deploy？

Please do not open multiple issues.
I responded to https://github.com/Kong/charts/issues/133. Let's continue the discussion over there.
Closing this one.


Reboot handler

Adds packet handler for Message_Close and event notifier/subscriber.
Also tried making disconnect detection better but it doesn't really work for some reason.
Found this lengthy thread of people discussing the problem
https://stackoverflow.com/questions/722240/instantly-detect-client-disconnection-from-server-socket
In reoserv I do this
match self.socket.try_read(&mut buf) {
	Ok(0) => { // <- This means the client disconnected
		return Some(Err(std::io::Error::new(
			std::io::ErrorKind::BrokenPipe,
			"Connection closed",
		)));
	}
	Ok(_) => {}
	Err(_) => {
		return None;
	}
}

I tried doing something similar in EndlessClient but it was getting false positives :\
!(_socket.Poll(1, SelectMode.SelectRead) && _socket.Available == 0);

edit: actually that method would probably work but the polling timeout needs to be higher and we probably wouldn't want that in the main thread.. idk something to think about
Anyway.. this handler/sfx/server message is wired up now :)

The lack of immediate disconnect detection is pretty annoying to me. Generally if the server drops the connection, you won't see the effect until you try and do something that performs a network action client-side. It'd be great if it was handled better.
You can see my attempt at it here: https://github.com/ethanmoffat/EndlessClient/blob/d5f218181ebfa1a97a9afa7c2df801d9155f7573/EndlessClient/Network/PacketHandlerGameComponent.cs#L36
I think I used to have the SelectRead/Available pair of calls in NetworkClient but was similarly having issues with it.


UMAP codes and scripts

Hello everyone,
I am new to coding and scripting with python and I am looking for a guide to make UMAP graph.
I know there is lots of staff online but  I wish to find a tutorial that contains examples file
with step by step codes for making the graph.
Or, do you have any suggestions about where/how to start?
Thank you

I would recommend looking at the documentation, and alternatively at the code in the examples directory.


Improve hierplane tree

Demos that are using the hierarchical tree will look better if there's a zoom out function

Instead of zooming out, adjusted font size and allow wrapping of text for hierplane tree demo
Parsed tree fits in screen in many more cases

Not perfect, but passable for now


trained-model

Thank you for grate work !!
I would appreciate it if you could open pre-trained model

Sorry, I don't have pretrained models...


fix typo in notification provider

There was a small typo in notification provider snippet, fixed that. :)

Thank you.


Create InsertionSort

Description:
Insertion sort is a simple comparison-based sorting algorithm. It builds the final sorted array one item at a time. It is much less efficient on large lists than more advanced algorithms such as quicksort, heapsort, or merge sort. However, it works well for small datasets or partially sorted data.
Changes Made:
Algorithm Modification: No significant changes are made to the original insertion sort algorithm, which typically involves iterating through the list and inserting each element into its correct position within the already sorted portion of the list.
Testing Done:
Input Data Testing: Insertion sort has been tested on a variety of input data, including both small and large datasets, as well as partially sorted and reverse-sorted lists.
Performance Testing: Its time complexity has been analyzed, especially for worst-case scenarios, to determine its limitations.
Stability Testing: Testing has been conducted to confirm that the algorithm is stable, meaning that it preserves the relative order of equal elements.
Additional Notes:
Insertion sort is an in-place sorting algorithm, which means it doesn't require additional memory for sorting.
It's easy to implement and efficient for small lists or when the list is almost sorted.
In practice, insertion sort can be more efficient than other sorting algorithms for very small datasets due to its low constant factors.
While not suitable for large datasets, insertion sort can be used as part of more advanced sorting algorithms, which combines insertion sort and merge sort for better overall performance.

Duplicate (#50)


Swift 3 -> Something wrong Here.

Xcode 8.0 Swift 3.0

I integrated pods in my project as,
pod 'TransitionTreasury', '~> 3.0.4'
pod 'TransitionAnimation'
@DianQK  Help me out from this.

change your version to 4.0.4:
pod 'Transitiontreasury', '~> 4.0'

Thank you brother.

pod 'Transitiontreasury', '~> 4.0' Currently not available.

see note:
as of CocoaPods 1.0, pod repo update does not happen on pod install by default.
$ pod repo update
$ pod install

I have the same problem waiting for solving. In fact and can't find higher than v3.1.0 version

I solved the problem. I'm completely uninstalled cocoapods.Reinstall again run pod install, installation is successful!

I think this is cocoapods problems caused by the old component.

Is there Objective-C Support?


Seeking new co-maintainers for Avalonia.FuncUI

@JaggerJo is seeking new co-maintainers for Avalonia.FuncUI
This is an important project for the F# ecosystem and is listed as the No 1 option for "Use F# for Desktop Apps" in https://fsharp.org/use/desktop-apps/.  It is usable, stable and with low bug counts, and with good engineering practices.
I'm interested in doing some backup co-maintenance myself, and will be keeping an eye on things.
Please let us know if you're interested in becoming co-maintainer here.
Many thanks!
for @JaggerJo, @sergey-tihon and myself

Hey Don! Thanks for bringing this up and for the ping on the upgrade PR 😃
I'd love to help with the maintenance, I'd probably not have time to be a full-on maintainer but I can definitely help with reviews, upgrades and some new features.

Fantastic!  I will make you co-maintainer - reviews, upgrades, looking after PRs etc is what we're after for sure

Policies for fsprojects maintainers are here, take a quick glance, I think you know the gig

You'll be added to the "maintainers" group and I'll send an announcement there

Cool thanks. We should likely move to auto-publish during main branch build (that's what FSharp.Data and several other "fsprojects" projects are doing)

And welcome @sleepyfran as a new co-maintainer! Great to have you on board :)

And welcome @sleepyfran as a new co-maintainer! Great to have you on board :)

Thank you Don! Will definitely take a look soon and update whatever's needed 😃

Nice! Happy to help if something comes up @sleepyfran. Automating releases seems like a good first step to simplify maintenance.

I'd love to pitch in but I have quite a bit of woodshedding/headscratching to do in this department. I planned on using Avalonia for a WSL monitor project so it's right up my alley, but I won't be very useful until I've had some time with it. That said if you're willing to take on someone who needs a bit of "runway" to get acclimated I'd be happy to pitch in. 👍

Wow, I'm so glad to see this project has new maintainers! I gave up using F# to implement GUI before because I've encountered some problems and found that this library has fallen far behind the development progress of Avalonia.
I don't know much about the dotnet and F# community now (my open-source activities focus on the web community), but I'm interested in contributing to (not maintaining) this project.

@dsyme @JaggerJo what's the procedure to be able to edit NuGet packages? I see the packages from this repo belong to the fsprojects org, but I'm not sure how to request access to it 😄

@sleepyfran Let me know if you need more help with that

Wow, I'm so glad to see this project has new maintainers! I gave up using F# to implement GUI before because I've encountered some problems and found that this library has fallen far behind the development progress of Avalonia. I don't know much about the dotnet and F# community now (my open-source activities focus on the web community), but I'm interested in contributing to (not maintaining) this project.

Would you mind listing some of the major areas you see where this library has fallen behind Avalonia? (Asking for me. 😅)

Would you mind listing some of the major areas you see where this library has fallen behind Avalonia?

Version😂. One thing I can remember is transparent windows are supported in Avalonia 0.10+, but Avalonia.FuncUI is not compatible with Avalonia 0.10+.

@dsyme @JaggerJo I'd love to help maintain this library. I've been using F# professionally for a few years now but have only recently had the opportunity to add in some GUI - I've been having a great time with FuncUI so far. My public Github record is pretty light, though - to start I'll look to contribute via some PRs first.

Closing this since I think we're good so far 😃 But anyone who wants to contribute please do, PRs are very welcomed indeed!


Add support for SpotFleet

It seems SpotFleet is currently not supported by Troposphere.
AWS Reference here

Thanks for the reminder. Just pushed a change for you to try.


Ignore double quotes on parsing types.Duration from JSON

This is a fix to be integrated in https://github.com/docker/compose-cli/pull/845 for the Healthcheck Interval

AFAIK yaml support for this is implemented by transformStringToDuration, I wonder we could adopt the same approach having "marshaller-aware types" so that we don't need such custom transform functions. That's weird to me we introduce this Unmarshal method for JSON without having the same one for YAML (and maybe could share code).


UX Writing — Clean up language about Fractal/Sub-Fractal/Sub-DAO/Fractal Safe/etc. across the app & documentation

The language used to refer to what is created and what the user is interacting with in-app currently varies widely. Recommend standardizing language to align with "Safe" terminology, since Fractal is creating and managing Safes, and be clear when referring to the Safe itself vs the DAO functionalities.

Sometimes it is referred to simply as a DAO, seen here in the app home screen

Reference to "Create a Fractal" in the Start from Scratch flow

Sidebar refers to "Safe Home"

Hierarchy refers to "Parent Safe"

Fractal docs kinda throw everything in the kitchen sink together: https://docs.fractalframework.xyz/home

This is completed


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/111266

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/114079

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/114301

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/114735

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/117551

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/117767


Read cell which is date type error

In my excel. the type of cell is date.  the value is 2015/12/30. but when i read the excel the value change to 12/30/15, How can i get the value  the same as '2015/12/30'

+1

@FourLeafClover @shikelong What is your current system locale?  This is probably a locale issue, the file itself stores the default date in a specific format (mm/dd/yy) but is supposed to read the system locale.  Related: #269


Backfill only fetches first page; file permissions

Thanks for the script, it is useful.
A couple of notes:

The init folder (used to ensure openai package is installed) must be owned by root or will not be run
My 300 documents used about 900k tokens. GPT-3.5-turbo-0125 ($0.50 / 1m tokens) was perfectly adequate and a tenth of the price of GPT-4o-2024-05-13
The backfill script fetches /api/documents/ https://github.com/sjafferali/paperless-titles-from-ai/blob/e4ede1c54aa41268eb668f28a1de1207f97807e6/app/cli.py#L12 but this is a paginated api and will only return the first 35 or so results. Personally, I wanted to only overwrite default titles (those starting 'Scan') so I tweaked the script to point to /api/documents/?query=title__icontains=Scan (which returns all items with 'Scan' in the title) and then simply ran it a few times until it stopped finding files. But a proper fix would require iterating over all pages

@yaakovfeldman Thanks for finding this and posting these details. I have updated the backfill script to support actually fetching all documents by looping multiple requests when multiple pages are returned.
I also added some additional notes regarding the permissions and openai model costs in the README.md file. https://github.com/sjafferali/paperless-titles-from-ai/issues/8 .


new set_args to deal with unnamed gsplot lists args

potential simpler pattern @ldecicco-USGS ?
Also, this catches the bug where unnamed vectors for x and y for points had undefined limits.

oh, it's the EXPLANATION title:

Huh

that's one of the defaults I put in to follow USGS style guidelines


unique gorm create hook name

This change checks if a GORM Create hook has already been registered under the name "mighti:record". If that is the case, it will register the same hook under a different unique name.
When you want to use cleaner.DeleteCreatedEntries outside of the and *_test.go file you need this.
For example, I want to create a temporary space and some work item types as well as work item link types, when somebody creates a space template. This is for validation purposes that the space template can be created.
Once I've created all those entries I want to get rid of them and just store the space template but no longer keep the temporary objects around. cleaner.DeleteCreatedEntries comes in handy here but without this change it won't work when invoked from within tests because the tests already called the function in order to clean up after them.
Consider this pseudo-code example
func foo() {
  // with and without this change, the following defered call will delete d,c,b, and a which is fine.
  defer cleaner.DeleteCreatedEntries()
  a := create()
  b := create()
  bar()

func bar() {
  // without this change, the following defered call will cause objects d,c,b, and a to be deleted.
  // with this change only d and c are deleted.
  defer cleaner.DeleteCreatedEntries()
  c := create()
  d := create()
}

foo()

Codecov Report

Merging #1170 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1170      +/-   ##
==========================================
+ Coverage   60.53%   60.54%   +0.01%
==========================================
  Files         113      113
  Lines        9922     9926       +4
==========================================
+ Hits         6006     6010       +4
  Misses       3289     3289
  Partials      627      627

Impacted Files
Coverage Δ

gormsupport/cleaner/db_clean.go
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6a59e34...0872239. Read the comment docs.


How to hide the border around the ModelViewer widget?

(Running on Android 10) I put the ModelViewer widget inside a SizedBox:
                SizedBox(
                    height: MediaQuery.of(context).size.width * 0.6,
                    width: MediaQuery.of(context).size.width * 0.6,
                    child: ModelViewer(
                      // backgroundColor: Colors.white,
                      src:
                          'https://modelviewer.dev/shared-assets/models/Astronaut.glb',
                      // src: 'assets/Astronaut.glb', // a bundled asset file
                      alt: "A 3D model of an astronaut",
                      ar: true,
                      arModes: ['scene-viewer', 'webxr', 'quick-look'],
                      autoRotate: true,
                      cameraControls: true,
                      iosSrc:
                          'https://modelviewer.dev/shared-assets/models/Astronaut.usdz',
                    ),
                  ),

and I see a border around the ModelViewer widget when it is clicked:

Is it possible to get rid of that border?

Sorry but I cannot reproduce this problem with the following code on my Android 11:
import 'package:flutter/material.dart';
import 'package:model_viewer_plus/model_viewer_plus.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
          appBar: AppBar(title: Text("Model Viewer")), body: TestChild()),
    );
  }
}

class TestChild extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
        width: 400,
        height: 300,
        child: Card(
          child: Center(
            child: SizedBox(
              height: MediaQuery.of(context).size.width * 0.6,
              width: MediaQuery.of(context).size.width * 0.6,
              child: ModelViewer(
                // backgroundColor: Colors.white,
                src:
                    'https://modelviewer.dev/shared-assets/models/Astronaut.glb',
                // src: 'assets/Astronaut.glb', // a bundled asset file
                alt: "A 3D model of an astronaut",
                ar: true,
                arModes: ['scene-viewer', 'webxr', 'quick-look'],
                autoRotate: true,
                cameraControls: true,
                iosSrc:
                    'https://modelviewer.dev/shared-assets/models/Astronaut.usdz',
              ),
            ),
          ),
        ));
  }
}

https://user-images.githubusercontent.com/25426917/159424219-4234f773-2c54-4894-9e83-f4a3d5911ae3.mp4
May you post more code and record a screen video for it?

@Foldblade Thank you for your response!
here is a video showing what I was talking about:
https://user-images.githubusercontent.com/71594839/159489254-6364e9be-9471-489f-97e7-ca2be8339684.mp4
It seems the border only occurs when the widget is clicked.
BTW, I am using HUAWEI MATE X2 and Harmony OS, not exactly android 10, I think that might cause some issues.


translation: spanish

Added some output samples and rewrote some spanish syntax

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Please use PR titles which explain what you are changing.  If it is a translation, please also indicate translation: language name. This let's the reviewer quickly know what kind of contribution you have made.
Also, please read/check all 5 items above indicating you have fulfilled each requirement.
Thank you.

LGTM

Hi @	javisenberg. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Build both Windows and Linux for Both Debug and Release during CI

Modified the azure-pipelines template to build both the Debug and Release configurations for both Windows and Linux operating systems.
The solution uses a parameterized azure-pipeline template. This means that the OSs and Configurations can be configured in the Web UI when queueing a manual build.
I chose not to use the matrix job strategy in the template as the matrix-strategy as it did not allow me the fidelity I wanted when setting Display Names for the jobs. E.g. note that OS is not a simple string, but an object containing the vmImage and a human readable name.
I also found matrix strategies to be harder to reason about, while I suspect most programmers will understand a foreach-loop over a sequence.
Question: should we add a build for Mac OS as well? If so, just add the following lines to the operatingSystems default mapping:
  - name:     Mac OS
    vmImage:  macOS-latest

That looks sweet! Love this:

Question: should we add a build for Mac OS as well? If so, just add the following lines to the operatingSystems default mapping:

We should, unless the builds will take longer.

I added the macOS build to the pipeline. PR description has been updated.

I did this with templates but this does it in a single file. The only downside is, it gets harder to read and understand this, once it gets complicated. But for now, this is better.

@Nirmal4G yeah, for more complex parts I also use templates in my projects ( https://github.com/thnetii/azure-pipelines/tree/master/templates ).
However, here this was simple enough and in the end it is easier to reason about when using only a single file instead of spreading this around across multiple files.
Also did you know that the values from the parameter section show up in the Web UI when manually queueing build runs? I.e. if you declared a boolean parameter, a checkbox would show up in UI, etc.
So yes, while the method here originally comes from build templates, Azure DevOps has evolved this model quite a bit allow for some pretty nice functionality.


Shading Layer Left-Over

Tasks

[ ] Cannot move or resize shading areas (handle disabled?)
[ ] Cannot remove points if overlapping area exist
[x] Cannot read Shading Type (white on white?) done via https://github.com/ElektraInitiative/PermaplanT/pull/1229
[ ] "couldn't load the image" if it is shown when heatmap is shown
[ ] heatmap should be layer
[ ] undo on multi-select doesn't work (only for one element)

Use case
shade layer
Related Pull request
#1135

Cannot read Shading Type (white on white?)

Should be addressed in #1229

To my knowledge the same issue currently exists on the plant layer.

It works and it is easy to try out.

The reason for this is that we don't have a mechanism for dispatching multiple actions as a group

Backend supports patch for arrays of plant actions and this should be added for the other endpoints, too (by the backend team).

This has not yet been implemented for simplicity, but it would certainly be beneficial from a UX perspective.

Hopefully this gets easier (without individual effort per layer) after frontend refactoring. We talk about this on Tuesday.


BUG: slow down with p=np.inf in 0.17 cKDTree.query

np.inf was not properly special cased, and pow(x, inf)
[ very slow on most libm, apparently] is used.

@@            master   #5957   diff @@
======================================
  Files          238     238
  Stmts        43727   43727
  Branches      8205    8205
  Methods          0       0
======================================
  Hit          34150   34150
  Partial       2602    2602
  Missed        6975    6975

Review entire Coverage Diff as of d9faf4c

Powered by Codecov. Updated on successful CI builds.

@rgommers or @ev-br This should be pulled.

Thanks @rainwoodman.
It would be useful to add a benchmark for p=inf - there isn't one present yet right?

I have a patch that replaces the conditionals on p and raw_boxsize_data with compile-time constants, so I would preferably like this PR merged soon as possible. Otherwise I would have to duplicate this PR in my patch. That is unless it is possible to pull this commit into my branch. But my Git skills are not that adwanced

+1 for merge once the benchmark issue is sorted out

It's about 3 lines. I will add the benchmark later of the afternoon /
evening when I have a solid chunk of time.
On Mar 12, 2016 9:57 AM, "Eric Larson"<EMAIL_ADDRESS>wrote:

+1 for merge once the benchmark issue is sorted out
—
Reply to this email directly or view it on GitHub
https://github.com/scipy/scipy/pull/5957#issuecomment-195781179.

I increase the coverage of the benchmark suite to periodic and multiple p, but had to get rid of the py KDTree benchmarks.

Removing the KDTree benchmarks seems fine to me, since we're going to make KDTree an alias to cKDTree anyway.

Note to self: after merging this, only backport the actual change, https://github.com/scipy/scipy/pull/5957/commits/558de6fe4323a127679c2ba1b9fbb84fcf571ca0, not the benchmarks.

OK, no more comments for two weeks, merging. Thanks @rainwoodman , all.

Thanks for merging!


Fix Sonarqube Problems

Sonarqube finds a number of problems (1 Bug, 2 Vulnerabilities, 2 Security Hotspots, 1h16m to fix).
This should be corrected

See #50


How to limit depth of stored version history for entities?

Describe the bug
After a couple of months of operation Datahub we faced a problem with Postgres table size and it's performance.
For example, one of corpGroup has 3171 versions. Total size of Postgres table = 1.5 Gb (2 mln rows). This size stores 23.5K Datasets, 4.8K Tasks, 1.5K Users (and not more than 100 of other entities).
To Reproduce
Everyday our ingestors deliver full dump of snapshots for several sources.
Expected behavior
System stores only evaluated change as new version or system has configurable limit for depth of stored history.
Desktop:

Version 0.8.35

Additional context
All ingestors what we knew produce full dump of snapshots so it should be some legal way to stop growth of stored data.

@xiphl thank you! Somehow I couldn't find this option with search.


Algo Selection Sort in C programming

Need to make a readme file which should have the
Definition
Explanation in simple terms
Code related explanation.

please assign this issue to me

ok carry on

please assign this issue to me

ok carry on