Hey guys, I am guessing this package does not work with flutter upgrade most recent vrs.

The current Dart SDK version is 2.1.0-dev.3.1.flutter-760a9690c2.
Because practice_app depends on location >=1.0.1 <1.4.1 which requires SDK version <2.0.0, version solving failed.
pub get failed (1)
exit code 1

Recent Flutter upgrade is making my app fail to compile too.
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (168, 34): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (171, 36): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (172, 40): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (173, 37): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (174, 31): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (175, 28): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (177, 21): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (178, 66): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
FAILURE: Build failed with an exception.

FAILURE: Build failed with an exception.

What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.2.51 and higher. Project 'map_view' is using version 1.2.50.

Same for me :
Gradle task 'assembleDebug'...
Configuration 'androidTestCompile' in project ':app' is deprecated. Use 'androidTestImplementation' instead.
Configuration 'compile' in project ':app' is deprecated.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':map_view:compileDebugKotlin'.
> Compilation error. See log for more details

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

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

BUILD FAILED in 30s

Flutter doctor :
Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel master, v0.10.1-pre.11, on Microsoft Windows [version 10.0.17134.345], locale fr-FR) [√] Android toolchain - develop for Android devices (Android SDK 27.0.3) [√] Android Studio (version 3.1)     X Flutter plugin not installed; this adds Flutter specific functionality.     X Dart plugin not installed; this adds Dart specific functionality. [!] VS Code (version 1.26.1) [!] VS Code, 64-bit edition (version 1.27.2) [√] Connected device (1 available)

Facing the same issue

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.2.51 and higher. Project 'map_view' is
using version 1.2.50.
I am facing this issue, Anyone got solution for this problem?

have the same issue

The package was perfectly working until I updated Flutter. Now I am getting the same error as @zanecidan every time I try to run the app in a device.
Does anyone know how to fix this? Many thanks in advance!

I've faced the same issue.
In android build.gradle,
`buildscript {
ext.kotlin_version = '1.2.50'
repositories {
google()
jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:3.1.0'
    classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.50'
}

}`
This worked for me.

In android build.gradle,
`buildscript {
ext.kotlin_version = '1.2.50'
repositories {
google()
jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:3.1.0'
    classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.50'
}

}`
This worked for me.

I applied your changes but didn't work. Maybe there is something else missing?

Same issue -- sigh ...

FAILURE: Build failed with an exception.

For people having this issue I found a possible fix for now.

Open the Android project and go to the MapView module, then select MapViewPlugin.kt inside the java folder (This should be the file path: /.pub-cache/hosted/pub.dartlang.org/map_view-0.0.14/android/src/main/kotlin/com/apptreesoftware/mapview/MapViewPlugin.kt)

If you are using Android Studio you will already see red warnings. Go to line 168 where you'll find ```                val cameraDict = mapOptions["cameraPosition"] as Map<String, Any>````

Change it to this ```val cameraDict = mapOptions!!["cameraPosition"] as Map<String, Any>````

Now it should work.

Many thanks @JTorrus ! Your solution worked perfectly!
In case that you are using Visual Studio Code, you have to follow @JTorrus 's solution but finding MapViewPlugin file in this path:
<YOUR_FLUTTER_PATH>.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview

BTW -- I just changed my pubspec to point to the PR fork that does work:
map_view:
git:
url: git://github.com/Eimji/flutter_google_map_view.git
Hopefully this PR will be merged soon and we'll all be ok .. but the above works fine for me.

This worked for me (VS Code):

Edit \Pub\Cache\hosted\pub.dartlang.org\map_view-0.0.14\android\build.gradle. Change ext.kotlin_version under buildscript to 1.2.51.

Edit \Pub\Cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt:

Line 168: Change to val cameraDict = mapOptions!!["cameraPosition"] as Map<String, Any>
Line 171: Change to showUserLocation = mapOptions!!["showUserLocation"] as Boolean
Line 172: Change to showMyLocationButton = mapOptions!!["showMyLocationButton"] as Boolean
Line 173: Change to showCompassButton = mapOptions!!["showCompassButton"] as Boolean
Line 174: Change to hideToolbar = mapOptions!!["hideToolbar"] as Boolean
Line 175: Change to mapTitle = mapOptions!!["title"] as String
Line 177: Change to if (mapOptions!!["mapViewType"] != null) {
Line 178: Change to val mappedMapType: Int? = mapTypeMapping.get(mapOptions!!["mapViewType"]);

Recent Flutter upgrade is making my app fail to compile too.
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (168, 34): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (171, 36): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (172, 40): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (173, 37): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (174, 31): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (175, 28): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (177, 21): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
e: C:\src\flutter\flutter_windows_v0.5.1-beta\flutter.pub-cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt: (178, 66): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Map<String, Any>?
FAILURE: Build failed with an exception.

For people having this issue I found a possible fix for now.

Open the Android project and go to the MapView module, then select MapViewPlugin.kt inside the java folder (This should be the file path: /.pub-cache/hosted/pub.dartlang.org/map_view-0.0.14/android/src/main/kotlin/com/apptreesoftware/mapview/MapViewPlugin.kt)
If you are using Android Studio you will already see red warnings. Go to line 168 where you'll find                 val cameraDict = mapOptions["cameraPosition"] as Map<String, Any>
Change it to this val cameraDict = mapOptions!!["cameraPosition"] as Map<String, Any>

Now it should work.

trabaja perfecto!

Gradle project sync failed after changing line 168 in MapViewPlugin.kt inside the java folder. Might I be missing something?

Gradle project sync failed after changing line 168 in MapViewPlugin.kt inside the java folder. Might I be missing something?

Can you post the log's output to see what exactly happens?
Also, consider using sjmcdowall's solution. Should work without having to manually edit the library's code as I do.

BTW -- I just changed my pubspec to point to the PR fork that does work:
map_view:
git:
url: git://github.com/Eimji/flutter_google_map_view.git
Hopefully this PR will be merged soon and we'll all be ok .. but the above works fine for me.

yes this works.
PS
remember to add tabs.
map_view:
git:
url: git://github.com/Eimji/flutter_google_map_view.git

This solution worked for me. Will it ever be merged?

BTW -- I just changed my pubspec to point to the PR fork that does work:
map_view:
git:
url:
git://github.com/Eimji/flutter_google_map_view.git
Hopefully this PR will be merged soon and we'll all be ok .. but the above works fine for me.

It also doesn't work for me, still getting the same kotlin version error:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.0 and higher. The following dependencies do not satisfy the required version: project ':map_view' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.50

it worked

This worked for me (VS Code):
1. Edit **\Pub\Cache\hosted\pub.dartlang.org\map_view-0.0.14\android\build.gradle**. Change `ext.kotlin_version` under `buildscript` to **1.2.51**.

2. Edit **\Pub\Cache\hosted\pub.dartlang.org\map_view-0.0.14\android\src\main\kotlin\com\apptreesoftware\mapview\MapViewPlugin.kt**:

Line 168: Change to val cameraDict = mapOptions!!["cameraPosition"] as Map<String, Any>
Line 171: Change to showUserLocation = mapOptions!!["showUserLocation"] as Boolean
Line 172: Change to showMyLocationButton = mapOptions!!["showMyLocationButton"] as Boolean
Line 173: Change to showCompassButton = mapOptions!!["showCompassButton"] as Boolean
Line 174: Change to hideToolbar = mapOptions!!["hideToolbar"] as Boolean
Line 175: Change to mapTitle = mapOptions!!["title"] as String
Line 177: Change to if (mapOptions!!["mapViewType"] != null) {
Line 178: Change to val mappedMapType: Int? = mapTypeMapping.get(mapOptions!!["mapViewType"]);

this works perfectly

ive done it and it works

This solution worked for me.

The map view work perfectly
On Sat, 2 Mar 2019, 12:08 GrahamDi<EMAIL_ADDRESS>wrote:

This solution worked for me.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/apptreesoftware/flutter_google_map_view/issues/129#issuecomment-468914803,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIG4X1M0jz-CBp6S6OCB63xgXiDJoc78ks5vSmmlgaJpZM4XEm0W
.

I am getting the following error
ERROR: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.0 and higher.
The following dependencies do not satisfy the required version:
root project 'android' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.51
Affected Modules: app
ERROR: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.0 and higher.
The following dependencies do not satisfy the required version:
project ':map_view' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.50
Affected Modules: app

I followed all above but I am getting this issue Unresolved reference ActivityCompat, content, v7 , etc

I have tried above solutions. But i get an error as:
"FAILURE: Build failed with an exception.
What went wrong:
Could not resolve all files for configuration ':map_view:androidApis'.
Failed to transform file 'android.jar' to match attributes {artifactType=android-platform-attr} using transform PlatformAttrTransform
java.io.FileNotFoundException: C:\Users\Harsh Goyal\AppData\Local\Android\sdk\platforms\android-27\android.jar (The system cannot find the file specified) "
Any help please!!!

Hi Harsh,
You will be better served by posting this sort of question on
Stackoverflow.
I checked on that site and there is a similar question posed there. It
doesn't seem to be related to google_map_view but to your installation of
android sdk. Here is the answer that was posted:
"It seems that necessary Android 27 API's are missing in your Android sdk
directory. go to ~/library/android/sdk/tools/binand run sdkmanager --list to
check if you have platform-toolsand platforms;android-27installed. If not,
then you can install them by running sdkmanager "platform-tools"
"platforms;android-27"
If you have Android Studio, then you can install them via Android Studio's
GUI, too."
Krgrds, Graham
On Mon, 10 Jun 2019, 23:11 Harsh Goyal<EMAIL_ADDRESS>wrote:

I have tried above solutions. But i get an error as:
"FAILURE: Build failed with an exception.
What went wrong:
Could not resolve all files for configuration ':map_view:androidApis'.
Failed to transform file 'android.jar' to match attributes
{artifactType=android-platform-attr} using transform PlatformAttrTransform
java.io.FileNotFoundException: C:\Users\Harsh
Goyal\AppData\Local\Android\sdk\platforms\android-27\android.jar (The
system cannot find the file specified) "
Any help please!!!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/apptreesoftware/flutter_google_map_view/issues/129?email_source=notifications&email_token=AHVES4D7PNDFVUY2F5CKR4DPZ27P5A5CNFSM4FYSNULKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXLH6LY#issuecomment-500596527,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHVES4E5SEKTTLWN7S33WRLPZ27P5ANCNFSM4FYSNULA
.

Hi @GrahamDi ,
I was stuck at it for a while, I also posted on stackoverflow but didn't got any revert. So I posted here , as before this error I was facing similar things as everyone discussed. By the way I reinstalled my SDK and got everything fixed. :)
Thanks for your answer and effort.
Cheers !!

Hi Harsh,
Glad you are sorted. I keep running into gradle issues related to Android
X....and I'm now struggling to get Firebase node.js functions to work
properly... so I spend my days on Google and Stackoverflow.com :-(
Krgrds, Graham

Hi @GrahamDi ,
Well bugs and issues always there for us :P. Keep sharing and asking. Hope you will get answers too. :)


Display user email with their comments

Add user email to comment entities in datastore and display it alongside the comment text when loaded onto the page

Sorry for the last three unrelated commits, I forgot this PR was still open


Calculating quantization scales for new models?

I saw that you've uploaded activation scales (equation 4: $S_j = max(|X_j|) α / max(|W_j|)(1−α)$ ) for a number of models, but if calculating this for a new model, how do you use a calibration dataset when doing that? Do you take the maximum across all of the calibration values, or calculate the maximum for each value individually and then average?
Apologies if this will be addressed in soon-to-be-released code.

Thank you for your great question! In short, we use the maximum of maximums as activation channel scales. I have just released the calibration script to get those activation scales (https://github.com/mit-han-lab/smoothquant/blob/main/smoothquant/calibrate.py).


how to change nav-drawer icon replace with other image in android

What this question has to do with AndroidPdfViewer?


⚠ Fetchers has degraded performance

In cabb6e9, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 146 ms

Resolved: Fetchers performance has improved in f949f5c.


How to clear Firebase authdata on Facebook App revoke?

Hi All,
I am following the login with Facebook example for my app. I have a question regarding one of the login test cases as mentioned on facebook. Here is the scenario :

First time user comes, sees the login to facebook button
Successfully logs in, sees and approves the facebook(fb) app permission screen, and I get the authdata, and some other info
User closes the app
User directly goes on Facebook and revokes the access to the fb app, approved in Step 2.
User opens the mobile app, and still able to use it, without getting the facebook login button..?

Ideally I would like to see the login button again.
Can you please help, how do we handle such a scenario with Firebase and Facebook together. Do I need to check something on every app restart and what all things i need to clear before new login starts?
Thanks again,

Good question. Once a token has been granted, you cannot revoke that token. If you think this is a serious problem for your application, the best you can do is set a short Session Length in the Login & Auth tab of your App's dashboard.
If you have further questions, it might be better to post them on StackOverflow or the firebase-talk Google Group (https://groups.google.com/forum/#!forum/firebase-talk).


chore: deps prompt install for all utils

I found that there are a bunch of similar utils that need to manually download dependencies, so I focused on making some adjustments.
Hope it helps the project. 🍻

Codecov Report

Merging #1294 (45b1165) into main (300bb5d) will decrease coverage by 0.42%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1294      +/-   ##
==========================================
- Coverage   69.93%   69.51%   -0.43%
==========================================
  Files         267      267
  Lines       13268    13318      +50
  Branches     2187     2187
==========================================
- Hits         9279     9258      -21
- Misses       3406     3478      +72
+ Partials      583      582       -1

Impacted Files
Coverage Δ

towhee/utils/cv2_utils.py
18.18% <0.00%> (-15.16%)
:arrow_down:

towhee/utils/ipython_utils.py
18.18% <0.00%> (-31.82%)
:arrow_down:

towhee/utils/matplotlib_utils.py
0.00% <0.00%> (ø)

towhee/utils/milvus_utils.py
0.00% <0.00%> (ø)

towhee/utils/ndarray_utils.py
57.57% <0.00%> (-5.76%)
:arrow_down:

towhee/utils/pandas_utils.py
18.18% <0.00%> (+1.51%)
:arrow_up:

towhee/utils/pil_utils.py
74.28% <0.00%> (-15.37%)
:arrow_down:

towhee/utils/plot_utils.py
0.00% <0.00%> (ø)

towhee/utils/scipy_utils.py
18.18% <0.00%> (-31.82%)
:arrow_down:

towhee/utils/sklearn_utils.py
47.05% <0.00%> (-25.67%)
:arrow_down:

... and 5 more

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 300bb5d...45b1165. Read the comment docs.

/lgtm
/approve


Definition of batched changed ?

The last version of the bind function doesn't accept batched any more. According to the documentation only the input_spec shape matters
# This function is batched meaning it will be called once there are, in this
# case, 5 incoming calls.
@tf.function(input_signature=[tf.TensorSpec([5], tf.int32)])
def foo(x):
  return x + 1

server.bind(foo)

But it is not clear if each call should be a batch of 5 elements or only 1 elements.
This example fails if you call it with 5 clients sending 1 element each.

This should definitely work both with one client sending a batch of 5 and multiple clients sending fewer. We dropped the batched= argument as it can be autodetected and all options should be supported. I just tested it and it seems to work. Can I see your test?


When set LoggerService as the main logger, it throws errors upon initialization

Excellent package btw, that is just what I'm looking for :D
I've set up a module for logging like this
import { Module } from '@nestjs/common';
import { LoggerModule as GCLoggerModule } from 'gc-json-logger-nestjs';

@Module({
    imports: [
        GCLoggerModule.register({
            routes: ['*'],
            global: true,
        }),
    ],
})
export class LoggerModule {}

and import it into the main AppModule and use it as the main app logger as follows
import { LoggerService } from 'gc-json-logger-nestjs';

app.useLogger(app.get(LoggerService));

I got this error

So I think this has to do with severity being wrongly applied.
After digging up the debug panels I find this

The default nestjs logger use log(message, ...)

our GCNestJS logger use log(severity, message, ...) as the signature

This leads to message being wrongly applied to severity. This could also be that I'm doing it correctly, if so can you help me out on what is the correct approach to use this as the default app logger?
Many thanks for this package (and the core package as well)

I found that using AdapterLoggerService instead of LoggerService did the job


should watcher can be force-updated their status

:tada: This issue has been resolved in version 1.0.0-dev.6 :tada:
The release is available on:

v1.0.0-dev.6
GitHub release
v1.0.0-dev.6

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on:

v1.1.0
GitHub release
v1.1.0

Your semantic-release bot :package::rocket:


add proper output folder handling to mambabuild

This should fix #104 and #103

Thanks @wolfv - I tested here and it seems it fixes the issue reported on #104

Thanks @wolfv - I tested here and it seems it fixes the issue reported on #104


Eval statements in Setup your Mac specify executable twice

The eval statements in the Setup your Mac.bash script list /usr/local/bin/dialog twice.
Code
eval "$dialogApp" "${dialogCMD[*]}" & sleep 0.3

PS Output
/bin/sh /usr/local/bin/dialog /usr/local/bin/dialog --ontop --title Setting up your Mac --message Please wait while the following apps are installed … --icon SF=laptopcomputer.and.arrow.down,weight=semibold,colour1=#ef9d51,colour2=#ef7951 --progress --button1text Quit --button1disabled --infotext v1.2.4 --titlefont size=28 --messagefont size=14 --height 67% --position centre --blurscreen --overlayicon /Applications/Self Service.app --quitkey K

Potential fix
eval $dialogCMD & sleep 0.3

Thanks for the heads-up, @pyther!
Both the following lines …

https://github.com/dan-snelson/dialog-scripts/blob/main/Setup Your Mac/Setup-Your-Mac-via-Dialog.bash#L198
https://github.com/dan-snelson/dialog-scripts/blob/main/Setup Your Mac/Setup-Your-Mac-via-Dialog.bash#L237

… already include $dialogApp.
So, the following lines …

https://github.com/dan-snelson/dialog-scripts/blob/main/Setup Your Mac/Setup-Your-Mac-via-Dialog.bash#L464
https://github.com/dan-snelson/dialog-scripts/blob/main/Setup Your Mac/Setup-Your-Mac-via-Dialog.bash#L484

… should be like:

https://github.com/dan-snelson/dialog-scripts/blob/main/Setup Your Mac/Setup-Your-Mac-via-Dialog.bash#L442

@pyther Please test v1.2.5 from the dev branch.

Resolved in 1.2.5.


Develop ng17

Frontend Pull Request Description

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have updated change log
[ ] I have been following Definition of done
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] My changes generate no new lint warnings
[ ] New and existing unit tests pass locally and on CI with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Screenshots (if applicable)

Additional Context (if necessary)

https://github.com/angular/components/issues/28626

01.2.88 - now invalid date format

staying on jasmin karma runner
https://github.com/angular/angular-cli/issues/28481


build(bootstrap): use is-terminal now in std lib

Stabilized in Rust 1.70.0 #hygiene.
PR Checklist
Please complete this checklist after opening your PR

[x] I have updated documentation as necessary
[x] I have updated helm chart(s) if needed
[x] I have added tests if needed
[x] All new and existing tests are passing
[x] Any breaking changes are clearly flagged and documented
[x] I’ve included a link to any relevant ticket(s)

You probably need to update RUST_VERSION in the unified builder.

You probably need to update RUST_VERSION in the unified builder.

Thanks Mark!


Events: Expose Related Work Type accordion (from 1890)

Problem description: add a related list Work Types to Events
Expected behavior: expose an accordion for Work Type as a related list. Should look/behave like other related list accordions.  This may need two different HAL links to handle exhibitions AND period events
Questions

What are related Work types in this context?

Exhibitions:

Work Types = Types of Works depicted by Objects used in the set for this Event

Periods:

Work Types = Types of Works about Concepts influenced by this Event

Needed:

[x] Wireframe/mock - Heather
[x] Additional Requirements for HAL Link (if needed) - Peter, team
[x] Facet HAL Link - backend ticket - Peter https://github.com/project-lux/lux-middletier/issues/25
[x] Examples/Links

Related: #1884 (important)
Mock example (exhibition): https://lux-front-dev.collections.yale.edu/view/activity/6e09857c-6b08-4155-a3b9-c7055d688d92

Mock example (period): https://lux-front-tst.collections.yale.edu/view/activity/4a97be41-41fc-48a1-a218-32795b534277

Links:

Period: https://lux-front-tst.collections.yale.edu/view/activity/4a97be41-41fc-48a1-a218-32795b534277
Exhibition: https://lux-front-dev.collections.yale.edu/view/activity/6e09857c-6b08-4155-a3b9-c7055d688d92

Approved per UAT

deployed


ERROR: Notification Center is not running..

./Notifier --type alert --message "Please Logout" --messagebutton "Logout" --title "Logout"
ERROR: Notification Center is not running...
admins-MacBook-Pro:MacOS admin$

more details?
Which OS? ssh'd in?

Hi MacMule
macOS 10.16 Beta 3
running from terminal

can you post the output of the below?
sw_vers

ProductName:	macOS
ProductVersion:	11.0
BuildVersion:	20A5323l

Looks like Apple have changed the OS version report via the method used below:
https://github.com/dataJAR/Notifier/blob/master/Notifier/Notifier/AppDelegate.swift#L26-L37
Will need to amend & test. Thanks for pointing this out.

Thank you MacMule
Thank you for making this available

@GenoMyb should be sorted now with 2.2.1.. any issues please re-open this.

Thanks , will test
On Thu, Sep 24, 2020 at 4:23 PM macmule<EMAIL_ADDRESS>wrote:

@GenoMyb https://github.com/GenoMyb should be sorted now with 2.2.1..
any issues please re-open this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dataJAR/Notifier/issues/4#issuecomment-698377982, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHXS7KC3LCMKAK4KVYBWDWTSHNI65ANCNFSM4PKKIFYQ
.


right to iconRight

This Pull Request meets the following criteria:

[ ] Tests have been added/adjusted for my new feature
[ ] New Components are registered in index.js of my project

Hey @straxico, first of all, thanks a lot for this PR!
But need to say that I'm not sure if this fixes anything. The right attribute of getIconSpacing is passed to IconContainer here: https://github.com/kiwicom/orbit-components/blob/master/src/Button/index.js#L295-L301
It means, that the function gets it correctly, or is there some other issue or reason, why is this change necessary?

Do you have any particular reasons besides TypeScript to rewrite all components? I'm not sure how much is Orbit flexible for you use case, but we aim to be used also in other projects, not only in projects related to Kiwi.com. Also, hopefully, we will support TypeScript definitions until the end of year and fully switch to it, later.
Yes, we just wrote some components before it was possible to use hooks, so let's say that it's just legacy code. But still, there are some advantages (in some use cases) when comes to Class components.
To be honest, to have five DOM elements in Button is kind of necessary: if you want to align everything inside button into the center and also Safari in older versions doesn't support usage of flex on button primitive.
But anyway, looking forward to any other PR you might make in the future!


Need more info or documentation on dspy.settings.experimental

In ChainOfThought.py and Predict.py few of the conditions depend on dspy.settings.experimental
if dsp.settings.experimental:             completions = new_generate(lm, signature, dsp.Example(demos=demos, **kwargs), **config)         else:             completions = old_generate(demos, signature, kwargs, config, self.lm, self.stage)
 if dspy.settings.experimental:             desc = "${produce the output fields}. We ..."

dspy.settings.experimental not callleble from jupyter notebook
AttributeError: 'super' object has no attribute 'getattr'
If its legacy code /or soon going be deprecated?
3.How to turn it on/off ?

Use dspy.configure(experimental=True)


Update dependencies including react to 15, add dependency of react-he…

@souporserious Upgraded react & react-dom to 15, as well as updated react-collapse to latest (2.2.0). Added the react-height dependency for react-collapse as well.
Everything seems to be working properly
fixes: https://github.com/souporserious/react-motion-slider/issues/15

Thank you for this :)


About RegionalAttentionMapGenerator()

Hi, thank you for your great work. I have some questions about the class RegionalAttentionMapGenerator().
class RegionalAttentionMapGenerator(torch.nn.Module):
    def __init__(self):
        super(RegionalAttentionMapGenerator, self).__init__()

    def forward(self, mask, prob_threshold=0.5, n_pts_threshold=10, n_bbox_loose_pixels=64):
        return RegionalAttentionMapGeneratorFunction.apply(mask, prob_threshold, n_pts_threshold,
                                                           n_bbox_loose_pixels)

https://github.com/hzxie/RMNet/blob/master/extensions/reg_att_map_generator/__init__.py
what does the parameters n_pts_threshold and n_bbox_loose_pixelsmean?

n_pts_threshold means when the number of pixels is smaller than the threshold, global matching will be triggered.
n_bbox_loose_pixels means that the border of the bounding boxes will be expanded n pixels after warpping.


chore: redo typo PR by pucedoteth

Thanks pucedoteth for https://github.com/AztecProtocol/aztec-packages/pull/9381. Our policy is to redo typo changes to dissuade metric farming. This is an automated script.

Docs Preview
Hey there! 👋 You can check your preview at https://671994d536ee031c576e69b0--aztec-docs-dev.netlify.app


Added space for Shard

Hi! What is your PR about?

[x] Add images for your space
[x] Add custom domain for your space
[ ] Add alias for migrate your space
[x] Add or edit a skin
~Edit your space with GitHub?~ (deprecated) Please migrate your space to ENS https://docs.snapshot.page/spaces/migrate
~Create your space with GitHub~ (deprecated) Create your space with ENS instead https://docs.snapshot.page/spaces/create

There is a conflict in your PR since domains.json file has been updated, can you resolve it?

To update your fork with the remote version of snapshot-spaces you can try these GIT commands then commit your changes again.
git remote add upstream https://github.com/snapshot-labs/snapshot-spaces.git
git fetch upstream
git checkout master
git merge upstream/master


feat(app): daily app build with spm

Codecov Report
Patch and project coverage have no change.

Comparison is base (863fd18) 89.78% compared to head (0178554) 89.78%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #425   +/-   ##
=======================================
  Coverage   89.78%   89.78%
=======================================
  Files          79       79
  Lines        2947     2947
=======================================
  Hits         2646     2646
  Misses        199      199
  Partials      102      102

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Update to PHPCS 2 and Coder 8.2.6

Fixes #262.
If this works, the same change should be applied to Gadget. I've aimed for a specific version of Coder because standards changes in the middle of a project seem in inappropriate.

I've aimed for a specific version of Coder because standards changes in the middle of a project seem in inappropriate.

There are plenty of bugs in the checks though, so point-upgrades seem fine?

8.2.*? We could try that.

Switching to ^8.2, which is in use for Generator Gadget on D8 already.

@grayside For consistency, should php_codesniffer be changed to "^2" (and Drush to "^8" while we're at it)?

Updated Drush for said consistency, but pulled out PHPCS so Coder could determine the version. Roughly matches the Drupal 8 composer.json generated by Gadget.

The implicit PHPCS dependency pulls in 1.5 :/

How is that possible? From coder's composer.json:
    "require": {
        "php": ">=5.2.0",
        "squizlabs/php_codesniffer": ">=2.4.0"
    },

@grayside From this Travis output, it looks like it is using phpcs 2.5.1: https://travis-ci.org/phase2/grunt-drupal-tasks/jobs/119357421#L1281

I think I was reading the wrong travis results. This seems gtg.


Change the way how notice information are presented

Business value
Currently all information like: 'successfully created record' etc. are shown in the action header. This place is not very good because it occupies too much space (especially when messages are more than 1). The second problem is with navigation, whenever the user changes the route messages are redrawn.
We have to change that they appear in a compressed way above the header.


Documentation: improve networking.wireless.enable description, if possible

Problem
Having just run afoul of #110736 myself, I was wondering if it might be possible to improve the documentation at https://search.nixos.org/options?show=networking.wireless.enable to include what I'd consider critical information regarding setting either wireless.userControlled.enable = true, declaring something in wireless.networks or I'm guessing even just declaring networking.wireless.extraConfig with any kind of content to avoid the rather unfortunate experience of wpa_supplicant.service breaking and your system rebuild failing because you thought it might be as simple as specifying networking.wireless.enable = true and calling it a day.
Proposal
Looking at mkEnableOption in https://github.com/NixOS/nixpkgs/blob/master/lib/options.nix, I don't think it allows specifying any description, so I'm not even sure if proposing to provide some useful additional information about the above options is even a possibility.
I would even suggest that this option, again, if possible, should probably throw an exception at evaluation time if declared by itself with none of the other requisite options defined.  Or maybe even choose the default of wireless.userControlled.enable = true if nothing else is defined in the module itself to avoid all of this entirely.
Checklist

[x] checked [latest Nixpkgs manual] ([source][nixpkgs-source]) and [latest NixOS manual] ([source][nixos-source])
[x] checked [open documentation issues] for possible duplicates
[x] checked [open documentation pull requests] for possible solutions

And actually, now that I'm looking at the option wireless.userControlled.enable itself, that's probably not even a great default, as really, what I was wanting at the moment was to simply have the service up and running to be able to bootstrap something as root, so it's not that I even want to open it up to normal users in a predefined group or some such.  I just need the basic service running like in the installer so I can very simply run wpa_cli as root and add a quick network.
I get that this is all anti-declarative behavior in and of itself.  But I'm still pretty certain we should be trying to improve the user experience here somehow to avoid a rebuilding failing to complete simply because a potentially rather common option is enabled by itself (and that's a completely valid use case).


new items not showing in grafana

Describe the bug
The newly created item on the host is not showing in grafana. Let's say I have my custom item app_status. On host1 and host2 everything works well and I can see it in zabbix dashboard and grafana. Now let's add the same item to host3 and it's available in zabbix dashboard, but not in grafana.
What I found it's comes to the grafana after grafana restart or if I go to the zabbix datasource and click test & save on connection
Item is a text.
Expected behavior
New items should be available in grafana
Software versions

Grafana
Zabbix
Grafana-Zabbix Plugin

8.2.3
5.4.7
4.2.4

Please try to play a bit with "Cache TTL"  parameter.
"Cache TTL: plugin caches some api requests for increasing performance. Set this value to desired cache lifetime (this option affect data like items list)."
https://alexanderzobnin.github.io/grafana-zabbix/configuration/

Hi! Yes, this is due to cache on the backend. If it's important, you can reduce cache TTL to find new items quicker.


Version 4.1.0 Causes Type Error on Centos7

Environment
azure-pipelines-task-lib version: 4.1.0 OS: centos
Issue Description
IF a task takes version 4.1.0 as a dependency AND a user runs the task on a pipeline agent running centos, then the task fails to start and throws a type error.
This is affecting multiple internal pipeline tasks. All other OS have no type error.
Expected behaviour
Task should start and run as before bumping version to 4.1.0
Actual behaviour
task fails to start with type error. Example logs:
##[error]Unhandled: errmap.get is not a function or its return value is not iterable
##[debug]Processed: ##vso[task.issue type=error;]Unhandled: errmap.get is not a function or its return value is not iterable
##[debug]Processed: ##vso[task.complete result=Failed;]Unhandled: errmap.get is not a function or its return value is not iterable
##[error]TypeError: errmap.get is not a function or its return value is not iterable
at Object.uvException (internal/errors.js:251:34)
at handleErrorFromBinding (fs.js:112:24)
at Object.openSync (fs.js:443:3)
at Object.writeFileSync (fs.js:1194:35)
Steps to reproduce

Create a task with 4.1.0 as a dependency
Run the task in a pipeline that uses agents running on centos7

Logs
##[error]Unhandled: errmap.get is not a function or its return value is not iterable
##[debug]Processed: ##vso[task.issue type=error;]Unhandled: errmap.get is not a function or its return value is not iterable
##[debug]Processed: ##vso[task.complete result=Failed;]Unhandled: errmap.get is not a function or its return value is not iterable
##[error]TypeError: errmap.get is not a function or its return value is not iterable
at Object.uvException (internal/errors.js:251:34)
at handleErrorFromBinding (fs.js:112:24)
at Object.openSync (fs.js:443:3)
at Object.writeFileSync (fs.js:1194:35)

@embetten, version 4.1.0 requires Node16, can you confirm that it's installed on your agent?

User confirmed this was a quota issue with their agents. We originally thought it was the task versioning because this was the only change done to the task.
I think you can close this issue.

@embetten, okay, thank you for letting me know. I close the issue.


Pause API is needed in some scenario

in our case, we need a pool.Pause() to  pause all jobs, and  use pool.Resume() to restart the jobs.

What did you mean by pausing and resuming jobs? I don't think that ants should interfer with the internal logic, or you were talking about ants intercepting new tasks (by pool.Pause()) and undoing it (by pool.Release())?

You can simply implement Pause() and Resume() in some wrapping code. Just keep track of the state (running & paused) and if paused stop submitting new tasks to the pool (or stop reading tasks from a channel). And after resuming continue to submit tasks to the pool...
IMO this is userland logic and there is no need for this library to handle such things.


[Enhancement]: Volume UI Enhance

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Game enhancement
Update Ui for volume slider. Making it more attractive and enhancing user experience
adding mute button
Describe the solution you'd like
Solution steps
Update volume slider to look more attractive
Add a mute button to directly switch volume to 0
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Please assign me under Gssoc 24


RDP wrapper configuration

i also have an issue in not supported listening  state in RDP wrapper.
Windos 10 home single language
10.0.17134 .build 17134

https://raw.githubusercontent.com/affinityv/INI-RDPWRAP/master/rdpwrap.ini


Project manager opens instead of editor when Godot is run from the command line

Godot version:
v3.1
OS/device including version:
MacBook Pro
macOS 10.14.4
Issue description:
I cd'd to my game's project directory and ran this command:
/Users/foo/dev/Godot/Godot.app/Contents/MacOS/Godot -e
The project manager opened instead of the editor. The documentation says this should work:
https://docs.godotengine.org/en/3.1/getting_started/editor/command_line_tutorial.html#running-the-editor
Using the --path argument explicitly does work:
/Users/foo/dev/Godot/Godot.app/Contents/MacOS/Godot --path /Users/foo/dev/mygame -e

It works on Linux, that's probably due to the .app bundle.

Bundled app change working folder to bundle's Resources subfolder on start. This is required for exported apps to work properly, but is not for the editor. Probably should be disabled in case of editor.

This also happens when I press "edit" from the project manager itself. It closes the project manager, and then opens it right back up as if it's silently failed. Also on a MBP, I'm on 10.14.3. I'm unable to edit any files that I've previously saved, I'm only able to create and edit new ones.


Add styling for past flight on city image

I know it looks nothing like the design, neither does the existing app. I think this is (close to) the best we can do without creating some native code.

We will see if we can handle this on the server. I will close this issue.

@tbergq So can we delete the branch or not yet?

yes, I deleted it now


Add text describing similar work

This pull request adds text about how others have previously dealt with language interoperability. In particular, The Common Component Architecture (through babel) and eWaterCycle (through grpc4BMI).

@mcflugen We use babelizer and babel in the paper. Should we use the same formatting style for each?

@mdpiper Yes, I think we should. I vote for babelizer.

@mcflugen I'll make it so.

@mcflugen I looked over the preview and we're 🚀 .


WIP: duplicate signature issue with an empty pbxproj file

Description
Apparently, cocoapods will install with an empty pbxproj file, and prevent signing and the  duplicate signature issue.
Checklist

[X] I have tested this on a device/simulator for each compatible OS
[X] I formatted JS and TS files with running yarn lint:fix in the root folder
[X] I have run tests via yarn test in the root folder
[X] I updated the documentation with running yarn generate in the root folder
[X] I mentioned this change in CHANGELOG.md
[ ] I updated the typings files (index.d.ts)
[ ] I added/updated a sample (/example)

Screenshot OR Video

This branch still results in the duplicate signature issue on EAS.


Updated to latest ExpressRoute specs

Hi @nupurkot, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (nkothar). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

Update nuget version

Addressed both comments. Thanks!


findAll() throw exception, message:"Call to a member function getResult() on bool"

My code is
class EmployeeController extends BaseController
{
	public function index()
	{
		$model = new EmployeeModel();
		$employees = $model->findAll();
		return view('employee/index', ['employees' => $employees]);
	}
}

Throw exception on $employees = $model->findAll();
the message is
message:"Call to a member function getResult() on bool"

You would need to share the full error trace, but my wild guess is that you are trying to use a database driver without having the extension installed.

message:"Call to a member function getResult() on bool"

This means that instead of a ResultInterface given by the read operation, it instead resulted to a false value which ultimately means there's something wrong in the query execution. Please check if you can connect successfully to your database OR you have a fully functioning database.


Two issues that prevent request-charge header bubbling

Callback has (error, results, headers) as arguments. Currently headers['x-ms-request-charge'] is always zero. This PR fixes two places so that headers['x-ms-request-charge'] becomes populated with actual value.

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

Closing due to being very stale.

Sign the CLA and reopened the PR. Please consider merging.

https://github.com/Azure/azure-documentdb-node/pull/242/files


Join forces with vscode-elements?

I found both this project and https://github.com/vscode-elements/elements while looking for an alternative to Webview UI Toolkit. First of all, thanks for taking this on! As an extension developer who's using Lit, I really appreciate it.
It seems like vscode-community-ui-toolkit and vscode-elements share a similar approach. Both are based on Lit at least. vscode-elements seems to have more elements implemented as of now.
I wonder if more progress would be made if the two projects joined forces? Webview UI Toolkit was lacking a lot of higher-level components anyway, this could be a way to have more time to work on a lot of components that people were looking for like trees, tabs, and tables.

@justinfagnani It is a good idea, and there are many components others would benefit from. However, we should not forget our original idea for this library. It was to create an easy migration path for the extensions using the VS Code UI toolkit without making too many code changes. Ideally, it would be a dependency update and reference update.
I already saw some components from the "vscode-elements" library, which use different names or properties. So, implementing the new library would require a bit more work.
That said, libraries can also coexist and improve each other. This is what we can see in so many toolkits/frameworks/... already. Another advantage is that we start from scratch, so we can now lay a new foundation that could solve other issues regarding styling, components, reusability, etc.
Feel free to join our Discord to keep the discussion going: https://discord.gg/wtv7wS2A79
@d13 @idoprz @hawkticehurst @kaje94 and anyone else, what is your take on it?

Hi,
I'm in favor of consolidating the projects. I prefer to have single community driven project, even if it means that adoption of the library may be more complicated. In the long term joining forces will be more beneficial to all.


Request School API (GET, POST, DELETE)

WHAT DOES THIS PR DO?

Creates django app requestschool
Creates the model and serializer for said app
Implements the views GET, POST, DELETE for the API
Contains tests for model creation

WHAT ISSUES ARE RELATED TO THIS PR?

#39
#40
#41
#42

HOW DO I TEST OUT THIS PR?
Run the project locally, only the backend portion is required to be run.
Endpoint is at: http://localhost:8000/api/v1/request-school/
Django restframework UI makes testing this very straightforward, just open the above link on your browser after running python3 manage.py runserver.
Note: you may need to migrate first for it to successfully work: python3 manage.py makemigrations -> python3 manage.py migrate

Get all school requests http://localhost:8000/api/v1/request-school/
Get a certain school request by school name http://localhost:8000/api/v1/request-school/<school_name>
Create a school request POST http://localhost:8000/api/v1/request-school/

ID field is defaulted, do not fill it out :)

Delete a school request, DELETE on the endpoint you wish to delete. I.E. create a school request or make sure one exists that has the school name "UNLV", navigate to http://localhost:8000/api/v1/request-school/UNLV, and click the delete red button in the restframework UI.

ADDITIONAL INFORMATION
Important things to consider from this base school request code:

Currently there is not PUT request defined. Whether we want a school request to be updated after it has been made or not is up to us.
In the current state of this code, someone can request for UNR and then someone else can request for University of Nevada, Reno and these would be technically separate requests, despite referring to the same school. There are upsides to keeping this functionality, as checking duplicates can be potentially very difficult considering the number of universities that exist.
The model for requestschool only contains a school_name and website. We may want to add a school_short_name at some point potentially.
This PR creates a new Django app, but we may want to refactor this app to be included within the school app later!

Codecov Report

Merging #54 (427cd31) into main (05d2965) will decrease coverage by 12.50%.
Report is 9 commits behind head on main.
The diff coverage is 64.06%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@             Coverage Diff              @@
##              main      #54       +/-   ##
============================================
- Coverage   100.00%   87.50%   -12.50%
============================================
  Files            9       15        +6
  Lines          120      184       +64
============================================
+ Hits           120      161       +41
- Misses           0       23       +23

Files
Coverage Δ

api/backend/settings.py
100.00% <ø> (ø)

api/backend/urls.py
100.00% <100.00%> (ø)

api/requestschool/admin.py
100.00% <100.00%> (ø)

api/requestschool/apps.py
100.00% <100.00%> (ø)

api/requestschool/models.py
100.00% <100.00%> (ø)

api/requestschool/serializers.py
100.00% <100.00%> (ø)

api/requestschool/tests.py
100.00% <100.00%> (ø)

api/requestschool/views.py
34.28% <34.28%> (ø)

:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

Code cov comment not updated, if you go to the coverage page, you will see 100%.


Subshape module: Not Python 3 compatible

Subshape module has several issues regarding python 3.

Use of zip which has changed in python 3
  C:\Anaconda3\lib\site-packages\rdkit\Chem\Subshape\BuilderUtils.py in CalculateDirectionsAtPoint(pt, shapeGrid, winRad)
  	324 eVals,eVects = numpy.linalg.eigh(covMat)
  	325 sv = zip(eVals,numpy.transpose(eVects))
  --> 326 sv.sort(reverse=True)
  	327 eVals,eVects=zip(*sv)
  	328 pt.shapeMoments=tuple(eVals)

  AttributeError: 'zip' object has no attribute 'sort'

Solution:
list(zip(eVals,numpy.transpose(eVects)))

useage of iteritems method on dict
  C:\Anaconda3\lib\site-packages\rdkit\Chem\Subshape\SubshapeAligner.py in GetTriangleMatches(self, target, query)
  	126     compatEdges={}
  	127     tol2 = self.edgeTol*self.edgeTol
  --> 128     for tk,tv in tgtLs.iteritems():
  	129       for qk,qv in queryLs.iteritems():
  	130         if abs(tv-qv)<tol2:

  AttributeError: 'dict' object has no attribute 'iteritems'

Solution:
replace with dict.items()

Usage of has_key
  C:\Anaconda3\lib\site-packages\rdkit\Chem\Subshape\SubshapeAligner.py in GetTriangleMatches(self, target, query)
  	134       tgtLocs=[tgtPts[x].location for x in tgtTri]
  	135       for queryTri in _getAllTriangles(queryPts,orderedTraversal=False):
  --> 136         if compatEdges.has_key(((tgtTri[0],tgtTri[1]),(queryTri[0],queryTri[1]))) and \
  	137            compatEdges.has_key(((tgtTri[0],tgtTri[2]),(queryTri[0],queryTri[2]))) and \
  	138            compatEdges.has_key(((tgtTri[1],tgtTri[2]),(queryTri[1],queryTri[2]))):

  AttributeError: 'dict' object has no attribute 'has_key'

Possible Solution:
Replace with in

@kienerj : that's definitely a bug, thanks for finding/reporting it.
To help me think about priorities: did you discover this because you're using the subshape module or did you turn this up some other way?

I was "playing" around to see if it could be useful. Followed this notebook. I'm not using it very actively or depend on it (I can also fall back to python 2.7 if I need to). So not very high priority from my side.


Inverting Tweet Content and Account

Currently the Tweet text is show at the top with the account shown bellow
Could it be possible to "invert" the position so that it would look like the normal embed

When it comes to video, unfortunately, we are limited in terms of how we can present our embed on Discord. This is a Discord limitation out of our control, embeds on Telegram have the same style as native Twitter embeds.

I see, that's unfortunate


Fix test failures after removal of implicit IMap mappings

See https://github.com/hazelcast/hazelcast/pull/19432

Closing as the build doesn't run for PRs submitted from forks.


Update RHEL7+ install instructions

-Fix the RHEL7+ EPEL repository link (previous link is dead)

Thanks for this. Is there a canonical URL that won't change, or will RHEL require constant updates to the README?


cxf-rt-rs-client: set Accept header to wildcard for void response

@coheigea - Can you please let me know when this will be released? We just implemented a media type whitelisting feature, and the bug this fixes is stopping us from deploying.
Thanks!

Realistically with the holiday season - the second week of January I'd say.

That's great - thanks!


Story/11608 fault tolerant name handling/storybranch

Description
PR for merging the story branch into the release branch.
This story brings a more tolerant naming matching pattern to health certificates and their persons.
This applies at startup (new migration), also when adding or removing one certificate.
Link to Jira
https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-11608

Is there some note shown for the user when certificates are merged after updating to version 2.19?
If not, this should be considered to avoid confusion (like when the certificates tab was introduced, see https://www.coronawarn.app/en/blog/2021-06-30-cwa-impfnachweis-zertifikatsbereich).
@UA-Team

For 2.19 is no notification for the user planned.
We will discuss effort and benefit for 2.20.

@thomasaugsten
Okay, but if you start merging certificates in 1.19, showing a message in 2.20 won't help much, I guess 😅

I was just checking the complete implementation and I think I found a bug in the add case and then the app crashed when I deleted the certificate again

Solved by PR https://github.com/corona-warn-app/cwa-app-ios/pull/4243. But anyway blocked until we have a decision about a user information after a successful regrouping.

I was just checking the complete implementation and I think I found a bug in the add case and then the app crashed when I deleted the certificate again

Solved by PR #4243. But anyway blocked until we have a decision about a user information after a successful regrouping.

@pascal-brause
Can't we merge this already and bring the notification once it's decided?


[BUG] Im having trouble server hopping in some games like bloxfruit cuz it will always say "we're sorry roblox is temporarily unavailable." idk if the problem is from my pc or the bloxstrap itself. Give me some tips on how to fx this

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[X] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v2.8.1
What problem did you encounter?
we're sorry roblox is temporarily unavailable
Bloxstrap Log
N/A

bloxstrap is not working


Improve AuthorizationGrantHandler to decide refresh token issuence and token type

Describe the issue:
The AuthorizationGrantHandler has already defined below two functions.

boolean isOfTypeApplicationUser()
boolean issueRefreshToken()

The two functions doesn't receive any input parameter, hence decide whether the token type is APPLICATION / APPLICATION_USER based on the grant type. Same as for the refresh token issuance, as it is done based on the if it is enabled for the grant type.

There can be custom grant types, where the token type and refresh token issuance has to be decided at the runtime. In such cases, the provided two methods are not helpful.

An example use case for the organization-switch grant type which is used as a custom grant type is explained below.
A token received from cc grant which is an application token can be used for the organization switch grant to get a new token against a given organization. The newly received token should be type of application rather user token as there is no user involvement.
But the organization switch grant can be used by passing a user token also, in such cases the retrieved token should be an user token.

For the same scenario mentioned above, refresh token should not be issued for the organization switch token which is used to exchange the token by passing an application token. But for a user token, if refresh token issuence is configured, a refresh token should be issued.

https://github.com/wso2-extensions/identity-inbound-auth-oauth/pull/2466


Make courses searchable by their code

Feature Request
Is your feature request related to a problem or unsupported use case? Please describe.
Now that courses have a code, we want to be able to find a course by its code
Describe the solution you'd like

[x] Add code as a field in the search index
[x] Apply full text searches to the code field with a high weight

Describe alternatives you've considered
Should we add the code information on the glimpse? Probably yes.

This was done in PR https://github.com/openfun/richie/pull/1417
The code was finally added to the course glimpse:


Crash: panic: Write called after Handler finished

Here's the trace.
2024-10-23T06:33:47.780-0700	INFO	agent/agent.go:137	Agent.Generate returning response	{"traceId": "3524a2b15ce4b54d1f97fdd00d742f91", "streamTraceId": "942ee54bf5d6ea074112c1b79cfe6966", "contextId": "01JAWSAJK9WV5R0C3ZR4SDFNHA", "traceId": "3524a2b15ce4b54d1f97fdd00d742f91", "evalMode": false, "response": {"blocks": [{"kind": "CODE", "language": "bash", "contents": "# Fetch the logs for the rube app to identify any issues causing the CrashLoopBackOff status\nkubectl -n rube logs rube-8689fcbdb-nsglc\n\n# Fetch the logs via gcloud for additional insights\ngcloud logging read \"resource.type=\\\"k8s_container\\\" AND labels.k8s-pod/app=\\\"rube\\\" AND labels.k8s-pod/env=\\\"prod\\\"\" --limit=100 --freshness=1h --format=\"table(severity,timestamp,jsonPayload.traceId,textPayload,jsonPayload.message)\"", "outputs": [], "trace_ids": [], "id": "01JAWSARC2FK3E8DSMMJJ2PS1Z"}], "trace_id": "3524a2b15ce4b54d1f97fdd00d742f91"}}
panic: Write called after Handler finished
	panic: Header called after Handler finished

goroutine 83920 [running]:
golang.org/x/net/http2.(*responseWriter).FlushError(0x200?)
	/Users/jlewi/go/pkg/mod/golang.org/x/net@v0.27.0/http2/server.go:2865 +0x118
golang.org/x/net/http2.(*responseWriter).Flush(0x10565af60?)
	/Users/jlewi/go/pkg/mod/golang.org/x/net@v0.27.0/http2/server.go:2859 +0x1c
github.com/gin-gonic/gin.(*responseWriter).Flush(0x105654b00?)
	/Users/jlewi/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/response_writer.go:123 +0xb4
connectrpc.com/connect.flushResponseWriter(...)
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/protocol.go:357
panic({0x104160de0?, 0x10458a660?})
	/opt/homebrew/Cellar/go/1.22.5/libexec/src/runtime/panic.go:770 +0x124
golang.org/x/net/http2.(*responseWriter).write(0x10?, 0x105a54f18?, {0x1400ad77610?, 0x14005274008?, 0x1400ad77610?}, {0x0?, 0x0?})
	/Users/jlewi/go/pkg/mod/golang.org/x/net@v0.27.0/http2/server.go:3010 +0x15c
golang.org/x/net/http2.(*responseWriter).Write(0x5?, {0x1400ad77610?, 0x14002813701?, 0x1027ef9b8?})
	/Users/jlewi/go/pkg/mod/golang.org/x/net@v0.27.0/http2/server.go:2999 +0x38
github.com/gin-gonic/gin.(*responseWriter).Write(0x14000738000, {0x1400ad77610?, 0x14002813878?, 0x1027f032c?})
	/Users/jlewi/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/response_writer.go:83 +0x7c
connectrpc.com/connect.(*envelope).WriteTo(0x14002942288, {0x105c35090, 0x14000738000})
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/envelope.go:79 +0xc0
connectrpc.com/connect.writeSender.Send(...)
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/duplex_http_call.go:391
connectrpc.com/connect.(*envelopeWriter).write(0x14000f0cb78, 0x1027f032c?)
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/envelope.go:212 +0x3c
connectrpc.com/connect.(*envelopeWriter).Write(0x14000f0cb78, 0x14002942270)
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/envelope.go:167 +0x1f8
connectrpc.com/connect.(*envelopeWriter).marshalAppend(0x14000f0cb78, {0x1044469e0, 0x14000827500}, {0x105c372a0, 0x105708ba0})
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/envelope.go:195 +0x22c
connectrpc.com/connect.(*envelopeWriter).Marshal(0x5cb1a224356669fe?, {0x1044469e0?, 0x14000827500?})
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/envelope.go:143 +0x120
connectrpc.com/connect.(*connectStreamingHandlerConn).Send(0x0?, {0x1044469e0?, 0x14000827500?})
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/protocol_connect.go:809 +0x68
connectrpc.com/connect.(*errorTranslatingHandlerConnCloser).Send(0x14000326840, {0x1044469e0?, 0x14000827500?})
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/protocol.go:176 +0x38
connectrpc.com/otelconnect.(*streamingState).send(0x14001c40a80, {0x1045ab870, 0x140021c20f0}, {0x1044469e0, 0x14000827500}, {0x105c35300?, 0x14000326840?})
	/Users/jlewi/go/pkg/mod/connectrpc.com/otelconnect@v0.7.1/streaming.go:102 +0x5c
connectrpc.com/otelconnect.(*Interceptor).WrapStreamingHandler.func1.2({0x1044469e0?, 0x14000827500?}, {0x105c350d0?, 0x14000326840?})
	/Users/jlewi/go/pkg/mod/connectrpc.com/otelconnect@v0.7.1/interceptor.go:321 +0x74
connectrpc.com/otelconnect.(*streamingHandlerInterceptor).Send(0x40?, {0x1044469e0?, 0x14000827500?})
	/Users/jlewi/go/pkg/mod/connectrpc.com/otelconnect@v0.7.1/payloadinterceptor.go:55 +0x40
connectrpc.com/connect.(*BidiStream[...]).Send(0x140021c2150?, 0x14002396a50?)
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/handler_stream.go:191 +0x30
github.com/jlewi/foyle/app/pkg/agent.(*Agent).StreamGenerate.func1({0x1045ab8a8, 0x14002396a50})
	/Users/jlewi/git_foyle/app/pkg/agent/agent.go:289 +0x230
created by github.com/jlewi/foyle/app/pkg/agent.(*Agent).StreamGenerate in goroutine 83921
	/Users/jlewi/git_foyle/app/pkg/agent/agent.go:247 +0x3fc

Using commit
https://github.com/jlewi/foyle/pull/285/commits/e0d65edd4ec05572f3f32423657d56173dd495cf

I think the error indicates we are trying to write after the handler has finished
So maybe we should check gin.Context.Done?

Here's the most recent stacktrace.
2024-11-03T12:58:39.187-0800	INFO	agent/agent.go:253	Received trigger signal	{"agentName": "", "traceId": "e895ed02a921b0a4642f61d3a5a34b27", "evalMode": false}
panic: Write called after Handler finished
	panic: Header called after Handler finished

goroutine 10161 [running]:
golang.org/x/net/http2.(*responseWriter).FlushError(0x14002f79628?)
	/Users/jlewi/go/pkg/mod/golang.org/x/net@v0.27.0/http2/server.go:2865 +0x118
golang.org/x/net/http2.(*responseWriter).Flush(0x105c9b000?)
	/Users/jlewi/go/pkg/mod/golang.org/x/net@v0.27.0/http2/server.go:2859 +0x1c
github.com/gin-gonic/gin.(*responseWriter).Flush(0x105c94ba0?)
	/Users/jlewi/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/response_writer.go:123 +0xb4
connectrpc.com/connect.flushResponseWriter(...)
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/protocol.go:357
panic({0x1047a0e20?, 0x104bca7a0?})
	/opt/homebrew/Cellar/go/1.22.5/libexec/src/runtime/panic.go:770 +0x124
golang.org/x/net/http2.(*responseWriter).write(0x14003200000?, 0x105f94108?, {0x14002b057f9?, 0x14000600008?, 0x18?}, {0x0?, 0x0?})
	/Users/jlewi/go/pkg/mod/golang.org/x/net@v0.27.0/http2/server.go:3010 +0x15c
golang.org/x/net/http2.(*responseWriter).Write(0x5?, {0x14002b057f9?, 0x14002f79701?, 0x102e2b9b8?})
	/Users/jlewi/go/pkg/mod/golang.org/x/net@v0.27.0/http2/server.go:2999 +0x38
github.com/gin-gonic/gin.(*responseWriter).Write(0x140019da100, {0x14002b057f9?, 0x14002f79878?, 0x102e2c32c?})
	/Users/jlewi/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/response_writer.go:83 +0x7c
connectrpc.com/connect.(*envelope).WriteTo(0x1400375d6c8, {0x12d4c8ea8, 0x140019da100})
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/envelope.go:79 +0xc0
connectrpc.com/connect.writeSender.Send(...)
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/duplex_http_call.go:391
connectrpc.com/connect.(*envelopeWriter).write(0x14001efd258, 0x102e2c32c?)
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/envelope.go:212 +0x3c
connectrpc.com/connect.(*envelopeWriter).Write(0x14001efd258, 0x1400375d6b0)
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/envelope.go:167 +0x1f8
connectrpc.com/connect.(*envelopeWriter).marshalAppend(0x14001efd258, {0x104a86ac0, 0x14000ab0000}, {0x12cfa49b8, 0x105d48c40})
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/envelope.go:195 +0x22c
connectrpc.com/connect.(*envelopeWriter).Marshal(0x14001efd258?, {0x104a86ac0?, 0x14000ab0000?})
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/envelope.go:143 +0x120
connectrpc.com/connect.(*connectStreamingHandlerConn).Send(0x0?, {0x104a86ac0?, 0x14000ab0000?})
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/protocol_connect.go:809 +0x68
connectrpc.com/connect.(*errorTranslatingHandlerConnCloser).Send(0x14000713a80, {0x104a86ac0?, 0x14000ab0000?})
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/protocol.go:176 +0x38
connectrpc.com/otelconnect.(*streamingState).send(0x140009f4240, {0x104beb9b0, 0x14002f00d80}, {0x104a86ac0, 0x14000ab0000}, {0x12cfa4260?, 0x14000713a80?})
	/Users/jlewi/go/pkg/mod/connectrpc.com/otelconnect@v0.7.1/streaming.go:102 +0x5c
connectrpc.com/otelconnect.(*Interceptor).WrapStreamingHandler.func1.2({0x104a86ac0?, 0x14000ab0000?}, {0x12d4c8ee8?, 0x14000713a80?})
	/Users/jlewi/go/pkg/mod/connectrpc.com/otelconnect@v0.7.1/interceptor.go:321 +0x74
connectrpc.com/otelconnect.(*streamingHandlerInterceptor).Send(0x40?, {0x104a86ac0?, 0x14000ab0000?})
	/Users/jlewi/go/pkg/mod/connectrpc.com/otelconnect@v0.7.1/payloadinterceptor.go:55 +0x40
connectrpc.com/connect.(*BidiStream[...]).Send(0x14002f00de0?, 0x1400330f680?)
	/Users/jlewi/go/pkg/mod/connectrpc.com/connect@v1.16.2/handler_stream.go:191 +0x30
github.com/jlewi/foyle/app/pkg/agent.(*Agent).StreamGenerate.func1({0x104beb9e8, 0x1400330f680})
	/Users/jlewi/git_foyle/app/pkg/agent/agent.go:291 +0x230
created by github.com/jlewi/foyle/app/pkg/agent.(*Agent).StreamGenerate in goroutine 10128
	/Users/jlewi/git_foyle/app/pkg/agent/agent.go:249 +0x3fc

I think this is version.
2024-11-03T13:02:59.442-0800	INFO	cmd/version.go:41	binary version	{"agentName": "", "version": "0.0.31-2-g1049fad-1049fad", "commit": "1049fad84f92a95274c876e9bad0df17dadb6aa1", "date": "2024-11-01T21:34:05Z", "builtBy": "unknown"}

Which should be the same as this commit
https://github.com/jlewi/foyle/commit/fde802c21c222d2a50d063f8e1590fb55e4e0180
This is the line in the panic trace
https://github.com/jlewi/foyle/blob/fde802c21c222d2a50d063f8e1590fb55e4e0180/app/pkg/agent/agent.go#L291

Am I still seeing this error? I think I might be.
https://github.com/bufbuild/buf/discussions/3448#discussioncomment-11462609
If I understand that, I need to ensure all the goroutines launched in the streaming handler terminate before returning from the streaming handler.


SP2019/SPFx - Search REST API returning status code 500

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
Using Search REST API with SPFx & SPHttpClient should return search results for the passed querytext parameter with Firefox. It does so with Chrome & IE11.
Observed Behavior
With Firefox the result ends up to server status code 500 Internal Server Error the response payload being the following:
{"odata.error":{"code":"-1, Microsoft.Office.Server.Search.REST.SearchServiceException","message":{"lang":"en-US","value":"An unknown error occurred."}}}
This behavior can only be reproduced on SharePoint 2019 RTM. On SharePoint 2016 January 2018 CU the same search API call works as expected with Firefox with the same exact code.
Steps to Reproduce
Using this simplified snippet in a SPFx webpart to retrieve data via Search by editing the URL value to match the environment and the render method being the webpart's render method.
  public render(): void {
    this._getSearchData("http://sharepoint2019.sp.test/_api/search/query?querytext='*'").then((res: any) => {});
  }

  private _getSearchData(url: string): Promise<any> {
    return this.context.spHttpClient.get(url, SPHttpClient.configurations.v1, {
      headers: {
        'odata-version': '3.0',
        'accept': 'application/json;odata=verbose',
        'content-type': 'application/json;odata=verbose'
      }
    }).then((res: SPHttpClientResponse) => {
      return res.json();
    }).catch(error => {
      return Promise.reject(JSON.stringify(error));
    });
  }

will result to 500 Internal server error with Firefox

Add SelectProperties to your query.
For instance:  &SelectProperties='Title'

Hey,
I had the same issue just now and i've dug in.

I found the error occurs when the API returns results which includes a datetime. @johnBasadis work-around only succeeds because it doesn't select a date/time value, but if you use SelectProperties='LastModifiedTime', you'll get the same error as @juhaalhojoki
Fails when using SharePoint Search REST API query via SPFX spHttpClient using default configuration (SPHttpClient.configurations.v1),
When I execute via my own ajax request, I can see it works with "odata-version" = "3.0" and Accept="application/json;odata=minimalmetadata;charset=utf-8"

So to summarize: The bug is that the SharePoint Search REST API cannot serialize datetime (and possibly other types?) using odata version 4.
The work-around is to fall back to version 3. See below.
let config: SPHttpClientConfiguration = new SPHttpClientConfiguration({
        defaultODataVersion: ODataVersion.v3
    });

    this.props.context.spHttpClient.get(this.props.context.pageContext.web.absoluteUrl + searchUrl, config, { headers: { Accept: "application/json;odata=minimalmetadata;charset=utf-8" } }).then((response) => {

This is the correct answer - the search REST API needs to use ODataVersion 3 (or at least it did at this point in time).


Scala lib version mismatch in Spring Kafka

Scala lib version mismatch in Spring Kafka in Spring Boot 2.3.5
Frankly I do not know if this is Spring Boot bug or Spring Kafka Bug. After upgrading to Spring Boot 2.3.5, we started to get following error when starting embedded Kafka Test
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'embeddedKafka': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: scala/math/Ordering$$anon$7
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1794)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:406)
	at org.springframework.kafka.test.context.EmbeddedKafkaContextCustomizer.customizeContext(EmbeddedKafkaContextCustomizer.java:116)
	at org.springframework.boot.test.context.SpringBootContextLoader$ContextCustomizerAdapter.initialize(SpringBootContextLoader.java:302)
	at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:626)
	at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:370)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)
	at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:120)
	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99)
	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
	... 50 more
Caused by: java.lang.NoClassDefFoundError: scala/math/Ordering$$anon$7
	at kafka.api.ApiVersion$.orderingByVersion(ApiVersion.scala:45)
	at kafka.api.ApiVersion.compare(ApiVersion.scala:139)
	at kafka.api.ApiVersion.compare$(ApiVersion.scala:138)
	at kafka.api.KAFKA_2_5_IV0$.compare(ApiVersion.scala:339)
	at kafka.api.KAFKA_2_5_IV0$.compare(ApiVersion.scala:339)
	at scala.math.Ordered.$greater$eq(Ordered.scala:91)
	at scala.math.Ordered.$greater$eq$(Ordered.scala:91)

It's caused by scala library mismatch which is caused by Jackson library upgrade as shown here:
|    +--- org.apache.kafka:kafka_2.12:2.5.1
|    |    +--- org.apache.kafka:kafka-clients:2.5.1 (*)
|    |    +--- com.fasterxml.jackson.core:jackson-databind:2.10.2 -> 2.11.3 (*)
|    |    +--- com.fasterxml.jackson.module:jackson-module-scala_2.12:2.10.2 -> 2.11.3
|    |    |    +--- org.scala-lang:scala-library:2.12.12
|    |    |    +--- com.fasterxml.jackson.core:jackson-core:2.11.3
|    |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.11.3
|    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.11.3 (*)
|    |    |    \--- com.fasterxml.jackson.module:jackson-module-paranamer:2.11.3
|    |    |         +--- com.fasterxml.jackson.core:jackson-databind:2.11.3 (*)
|    |    |         \--- com.thoughtworks.paranamer:paranamer:2.8
|    |    +--- com.fasterxml.jackson.dataformat:jackson-dataformat-csv:2.10.2 -> 2.11.3
|    |    |    +--- com.fasterxml.jackson.core:jackson-databind:2.11.3 (*)
|    |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.11.3
|    |    |    \--- com.fasterxml.jackson.core:jackson-core:2.11.3
|    |    +--- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.10.2 -> 2.11.3 (*)
|    |    +--- net.sf.jopt-simple:jopt-simple:5.0.4
|    |    +--- com.yammer.metrics:metrics-core:2.2.0
|    |    |    \--- org.slf4j:slf4j-api:1.7.2 -> 1.7.30
|    |    +--- org.scala-lang.modules:scala-collection-compat_2.12:2.1.3
|    |    |    \--- org.scala-lang:scala-library:2.12.8 -> 2.12.12
|    |    +--- org.scala-lang.modules:scala-java8-compat_2.12:0.9.0
|    |    |    \--- org.scala-lang:scala-library:2.12.4 -> 2.12.12
|    |    +--- org.scala-lang:scala-library:2.12.10 -> 2.12.12
|    |    +--- org.scala-lang:scala-reflect:2.12.10 -> 2.12.11
|    |    |    \--- org.scala-lang:scala-library:2.12.11 -> 2.12.12
|    |    +--- com.typesafe.scala-logging:scala-logging_2.12:3.9.2
|    |    |    +--- org.scala-lang:scala-library:2.12.7 -> 2.12.12
|    |    |    +--- org.scala-lang:scala-reflect:2.12.7 -> 2.12.11 (*)
|    |    |    \--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30

It seems that jackson-databind version is overriden by Spring Boot which in turn introduces newer version of jackson-module-scala which in turn introduces org.scala-lang:scala-library:2.12.12 which is not compatible with 2.12.11 because Scala.
Excluding jackson-module-scala_2.12 from spring kafka dependencies helps. The project is built by Gradle.
Reported in Spring Boot as https://github.com/spring-projects/spring-boot/issues/23979

Unfortunately, the Scala guys made some severe incompatibility changes in a point release, which is very bad practice - they don't seem to consider compatibility.
See the discussion in the boot issue.
We had to override those jar versions in the project itself.
https://github.com/spring-projects/spring-kafka/blob/ab6a1fd44841df1450c33a2ba3ecc1da2b275539/build.gradle#L65
and
https://github.com/spring-projects/spring-kafka/blob/ab6a1fd44841df1450c33a2ba3ecc1da2b275539/build.gradle#L302-L303
You should do something similar.
I'll keep this open and use it to add a not to the reference manual.

Thanks, we did exactly that. I just thought we will not be the only one having the same issue.

Alternatively, you could upgrade all the spring-kafka and associated jars to 2.6.2, which is used by the upcoming Boot 2.4 release, but works with 2.3.
https://docs.spring.io/spring-kafka/docs/2.6.2/reference/html/#update-deps

Also added a note to the project page https://spring.io/projects/spring-kafka


I strongly recommend a question.

When this module coexists with the 'LethalExpansion' module, shouldn't this module be prioritized for shutdown? Why make 'LethalExpansion' ineffective? It is suggested to set 'LethalExpansion' as the default priority for enabling.

I think the real problem is that some mods are using LethalExpansionCore but majority is still using LethalExpansion and for a good reason (wateridge moon and custom scraps are a welcome addition to a moded game)
That makes LethalExpansion useless and just there because of dependencies, so yeah I agree with you
The best solution would be to collaborate with the LethalExpansion team to separate properly the API from the modded content (so devs could update dependencies in a good way)

I think the real problem is that some mods are using LethalExpansionCore but majority is still using LethalExpansion and for a good reason (wateridge moon and custom scraps are a welcome addition to a moded game) That makes LethalExpansion useless and just there because of dependencies, so yeah I agree with you
The best solution would be to collaborate with the LethalExpansion team to separate properly the API from the modded content (so devs could update dependencies in a good way)

When I saw that the author of LE needed someone else to maintain it, I felt it would be better to use the core. Now I have migrated all my own scraps and moon modules to the core.

I think the real problem is that some mods are using LethalExpansionCore but majority is still using LethalExpansion and for a good reason (wateridge moon and custom scraps are a welcome addition to a moded game) That makes LethalExpansion useless and just there because of dependencies, so yeah I agree with you
The best solution would be to collaborate with the LethalExpansion team to separate properly the API from the modded content (so devs could update dependencies in a good way)

When I saw that the author of LE needed someone else to maintain it, I felt it would be better to use the core. Now I have migrated all my own scraps and moon modules to the core.

If this continues like this, LethalExpansionCore is going to replace completly the original mod, but it will take some time for everyone in the comu to change dependencies

I think the real problem is that some mods are using LethalExpansionCore but majority is still using LethalExpansion and for a good reason (wateridge moon and custom scraps are a welcome addition to a moded game) That makes LethalExpansion useless and just there because of dependencies, so yeah I agree with you
The best solution would be to collaborate with the LethalExpansion team to separate properly the API from the modded content (so devs could update dependencies in a good way)

When I saw that the author of LE needed someone else to maintain it, I felt it would be better to use the core. Now I have migrated all my own scraps and moon modules to the core.

If this continues like this, LethalExpansionCore is going to replace completly the original mod, but it will take some time for everyone in the comu to change dependencies

In fact, it is entirely feasible to directly replace the pre-installed waste-type module with "lethal expansion" as the core, with almost no impact. For map-type modules, it is necessary to remove the portion of content that uses "lethal expansion" assets and then replace it with core as the pre-installed module.
It's just a matter of time. Of course, I would prefer it if the author of the core could engage in a deep collaboration with HolographicWings, the author of "lethal expansion." This way, perhaps it could truly separate these two module parts in a meaningful sense.

I completly agree, let's hope for the best then


训练自己的素材时loss上升的问题

您好，我在训练自己的素材时，发现loss会上升。视频按照要求是512 * 512，背景是绿幕，其他步骤都是按照要求执行的。
可以看看这是什么原因吗？期待您的回复！

I had the same problem when I trained with the video and instructions provided by the author.

I had the same problem when I trained with the video and instructions provided by the author.

Even with the obama video?

Yes, like this. How about you?


Add Pentadecathlon oscillator

Sorry about that, my code editor auto-indents with tabs.

Merged! Thanks for your contribution @Mushguys ! Hope you enjoyed working on this PR!


ResultQuery/ custom Err type for Storage*::try_get

I have noticed this common pattern throughout our codebase:
/// market borrow index
#[pallet::storage]
#[pallet::getter(fn thing)]
pub type Thing<T: Config> = StorageMap<
    _,
    Twox64Concat,
    ThingId,
    Thing,
    OptionQuery // <- provided for explicitness
>;

let market_interest_index = Self::thing(thing_id).ok_or(Error::<T>::ThingDoesNotExist)?;

This can obviously be wrapped like this:
fn get_thing(thing_id: &ThingId) -> Result<Thing, DispatchError> {
    Thing::<T>::get(thing_id).ok_or_else(|| Error::<T>::ThingDoesNotExist.into())
}

But this feels like unnecessary boilerplate for something this common.
My question is: is there a way to define a fallible getter for a storage?
Something like this, perhaps?
#[pallet::getter(fn thing)]
#[pallet::getter_fallible(fn try_get_thing<DispatchError>, Error::<T>::ThingDoesNotExist.into())]
                                        // `Err` type      function body

Where the 2nd argument is an arbitrary expression to return in Err if the value isn't found.
If something else already exists that fits this use case/ issue, please let me know! I've looked around and couldn't find anything.

but why?

Reducing boilerplate.
I personally find this:
let thing = Self::try_get_thing(thing_id)?;
let thing2 = Self::try_get_thing2((thing2_id)?;

Easier to grok than this:
let thing1 = Thing::<T>::get(thing_id).ok_or(Error::<T>::ThingDoesNotExist);
let thing2 = Thing2::<T>::get(thing2_id).ok_or(Error::<T>::Thing2DoesNotExist)?;

Especially when there are lots of storage accesses in a short period.
As I mentioned in my first comment, this is quite a simple function, and currently I use this pattern extensively:
fn get_thing(thing_id: &ThingId) -> Result<Thing, DispatchError> {
    Thing::<T>::get(market_id).ok_or_else(|| Error::<T>::ThingDoesNotExist.into())
}

I'm just wondering if there's a way to have this be auto generated. Maybe there could be a way to associate a storage with an Error variant?

I don't think number of characters saved is justifiable for extra macro magic especially with the help of auto completion.

I think it actually makes sense. We could create a new ResultQuery type which uses the pallet error enum as the Err type, that way we wouldn't need to fiddle with the macro as much.

I think it actually makes sense. We could create a new ResultQuery type which uses the pallet error enum as the Err type, that way we wouldn't need to fiddle with the macro as much.

That sounds like a really good idea!

Fantastic idea, definitely feels more in line with the rest of the pallet macro!!
How does something like this look?
#[pallet::error]
pub enum Error<T> {
    ThingNotFound,
    ...
}

#[pallet::storage]
pub type Thing<T: Config> = StorageMap<
    _,
    Twox64Concat,
    ThingId,
    Thing,
    ResultQuery<ThingNotFound>,
>;

Where the ident provided to the ResultQuery<_> is a variant of the pallet error enum?
Another option could be an attribute, a la #[pallet::query_error(ThingNotFound)].

In general, I dont like or use the #[pallet::getter(...)] macro in my code. I don't like the macro magic, and I don't think it really helps all that much, especially when auditing code.
However, ResultQuery seems cool and useful enough.


Add Frontent Login Page

Subtask to create the frontend login page for the user story defined at https://github.com/JamesPartsafas/ConcordiaCurriculumManager/issues/5
Users should be able to login/sign in to the CCM
[Story Points: 2]
[Priority: high]
[Risk: Low]

useContext
setup folders for APIs

use ChakraUI as css library
Tasks:

[x] #83
[x] #50

video (1).webm

video.webm


Fused differentiable SSIM

I've made my Fused SSIM (from Taming 3DGS) implementation public: https://github.com/rahul-goel/fused-ssim. It is really beneficial to use this when the number of gaussians is less since SSIM has a major overhead. Currently, the pixel permutation will also take a lot of time but it is how the rasterizer is implemented and it will require a big re-work so I'm avoiding it.
I've tested the simple trainer on till 7k iterations on the garden scene from Mip-NeRF360 dataset. Using fused-ssim brings down the training time from 5:52 to 4:54 on my RTX 3080Ti.
I've added it as a submodule. But the instructions to install this submodule have not been added yet. Please let me know what exactly to do for it.

Hey Rahul! This is SUPER cool! And congrats on the release of the fused-ssim!
For using it in the examples/simple_trainer.py, I think a easier way is probably just adding it as an dependency in the examples/requirements.txt:
git+https://github.com/rahul-goel/fused-ssim

Or if you want to pin on a specific commit in case you might break API in the future:
git+https://github.com/rahul-goel/fused-ssim@84422e0da94c516220eb3acedb907e68809e9e01

Hi.
Thanks for the suggestion on how to deal with it. I've updated the code.

pixel permutation in Taming 3DGS is actually greatly slower than simple warp reduce, no need to waste time on it.
another simple way to increase train performance is just add fused=True to Adam (~20% faster on garden 7k). for sparse Adam, we need to implement a Cuda kernel to increase performance.

Hello @FindDefinition.
I think you misunderstood my comment. I mean to say that the permutation function will slow things down while taking the loss:
ssimloss = 1.0 - self.ssim(pixels.permute(0, 3, 1, 2), colors.permute(0, 3, 1, 2))

But since the rasterizer gives out pixels in such an order, not much can be done.


jsonable_encoder() is not working with many to many

With a many to many complexe list relation jsonnable_encoder() will not work with session.add()
the data part of the obj from jsonnable_encoder(obj_in) will have the same structure as dict(obj_in) but when you pass it at session.add(obj_in) it will raise a model mapping error wich is a deep rabbit hole since it is not the problem at all
It will not affect the beaviour of this project but in futur modification or if someone use it like me for a diferent use case it will
to recreate the behaviour you can use this sample of sqlamchemy models and relations:
class Permission(Base):
    __tablename__ = 'permission'
    id = Column(Integer, autoincrement=True, primary_key=True)
    name = Column(String(100), nullable=False, unique=True)

    roles = relationship("Role", secondary=role_permission, backref=backref('permissions', lazy=True), lazy='subquery')

class Role(Base):
    __tablename__ = 'role'
    id = Column(Integer, primary_key=True, autoincrement=True)
    name = Column(String(100), nullable=False, unique=True)

role_permission = Table('role_permission', Base.metadata,
                        Column('permission_id', ForeignKey('permission.id'), primary_key=True),
                        Column('role_id', ForeignKey('role.id'), primary_key=True)
                        )

Yeah, I had this issue in the past.
Perfect! Thanks! 👍


Monitormodify incorrect name for Cumulative Compaction Score

Proposed changes
[Monitor] (doc) modify incorrect name for Cumulative Compaction Score
Issue Number: close #xxx

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

run buildall


SSL

What if I want to add SSL to create a domain?
Where should I add the configuration?

I am not sure though but you can build a Nginx reverse proxy in front of it. This is what even I am trying but unfortunately I am stuck in other issue. However this option is pretty valid

There is no way to configure SSL. However, you can use a reverse proxy as stated before. But keep in mind that this application is still at a very early stage and should not be deployed publicly.


[Tests-Only] Bump core commit due to core PR 37608

core PR https://github.com/owncloud/core/pull/37608 enabled some acceptance test cases related to deleting public link shares. Let's actually run those in CI here.

Note: the scenarios do not actually run because they do not have TestAlsoOnExternalUserBackend specified.
PR https://github.com/owncloud/core/pull/37616 is a suggestion to sort this out.

Superseded by #347 and https://github.com/owncloud/core/pull/37616


all: copy & paste errors in tests

The following lines of code either have copy & paste errors or redundant comparisons:
/usr/lib/go/src/encoding/gob/codec_test.go:1256:5: identical expressions on the left and right side of the '!=' operator
/usr/lib/go/src/encoding/gob/codec_test.go:1283:5: identical expressions on the left and right side of the '!=' operator
/usr/lib/go/src/net/conn_test.go:46:6: identical expressions on the left and right side of the '||' operator
/usr/lib/go/src/net/mockserver_test.go:228:5: identical expressions on the left and right side of the '||' operator

All position information are for Go 1.6.2

@dominikh how did you find these? I wonder whether vet should warn about x BINARY OP x, when x is not a float.

@josharian It's a rule for staticcheck that I'm currently working on. It might be nice in vet. BINARY OP shouldn't be + or * though, and x probably shouldn't be function calls.

staticcheck looks awesome. Filed #15586 for whether some of this should go into vet.


Finish setup: No module named osgeo

I've followed the instructions for local install without problem.
However, after uploading all required files, I get this error:
    Traceback (most recent call last): File "/home/brunosan/code/RRA/Rural-Road-Accessibility/app/lib/ogr2osm/ogr2osm.py", line 52, in <module> from osgeo import gdal ImportError: No module named osgeo

This is what I get on the back-end:
170503/085306.417, [response] http://<IP_ADDRESS>:4000: get /projects/1/scenarios/0 {} 200 (23ms)
rra-minio_1    | time="2017-05-03T08:53:11Z" level=error msg="Unable to write notification to client."  cause="write tcp <IP_ADDRESS>:9000-><IP_ADDRESS>:59068: write: broken pipe" source="[bucket-notification-handlers.go:236:sendBucketNotification()]"
rra-minio_1    | time="2017-05-03T08:53:26Z" level=error msg="Unable to write notification to client." cause="write tcp <IP_ADDRESS>:9000-><IP_ADDRESS>:59072: write: broken pipe" source="[bucket-notification-handlers.go:236:sendBucketNotification()]"

I think you're missing the python gdal-binding try sudo apt-get install python-gdal

Thanks!
I got that installed. hmm
May be it's pulling another python library location? (I have conda)... I
thought docker was like a local virtual environment. How do I install it
inside docker?
Thanks!
On 05/03/2017 03:19 PM, Steven Ottens wrote:

I think you're missing the python gdal-binding try |sudo apt-get
install python-gdal|
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/WorldBank-Transport/Rural-Road-Accessibility/issues/124#issuecomment-298861310,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAafbUnv5sMooBsQVK-KyknR26Y2Z_jYks5r2EazgaJpZM4NPG_L.

We've run into this issue as well on some machines and are working on a better way to run the API.

Thanks @olafveerman. Any estimate of time, or priority... or a stopgap? :)
Thanks!

@brunosan It's our current priority to make this setup work. We are close to finishing the full setup, but running into some challenges with the analysis process (which runs on Docker) from within the Docker container for the API.

I just tried again, and I cannot replicate the error. It all seems to work:

It is hard to pin down the changes in my system, but the most relevant bit I can think of is that I installed shapely, that needed some struggle installing libgeos.
Since I cannot replicate, I'm closing here.

@brunosan Reopening this. We temporarily commented out the portion of the code that handles the osm-p2p database, that's why the error is gone (assuming you're using the latest version). However this is still an issue.


Homepage - have clients we have worked with

On homepage add the list of clients that we have worked with
User Stories

As a product owner, I want to show recent clients, so that I can showcase our work on the website
As a product owner, I want to show recent clients, so that company look more credible,trustable and datahub team looks more experienced in taking care of the clients

Acceptance Criteria

[ ] Ideas are brainstormed
[ ] Mockups depicting clear area for recent clients
[ ] Recent Clients section is added to the website

Tasks

[ ] Grab a list of clients from Esteban
[ ] Brainstorm design ideas
[ ] Mockup alternative designs
[ ] Implement
[ ] Deploy

https://invis.io/HVO003AWG2M
https://invis.io/E2O003GP3NJ
https://invis.io/PMO003QKSD9
https://invis.io/VWO003T9FD5


use https://github.com/hashicorp/setup-terraform instead of bin/terraform*

bin folder looks a little bit  ugly

Thanks so much for creating the issue @Slach ! Great idea, we will look into it

That's a good idea, I'm going to try it out in tfrun demo repository to see how well it works if so we can adopt this approach of installation within external action, if it works well we can adopt it here

Completed in this commit and update the demo project too to use setup-terraform


fix: use malloc'd locations to store cgo handles

Implementation of the malloc/free solution that was proposed for #101,

Oh, sorry, I already committed some changes that ought to take care of the issue.

Even better then :) closing this since it's not necessary any more.


Publish html5-boilerplate to npm

Looks like last time it was published 3 years ago. Its still parcel 1 there, although i can see its replaces by webpack.
As a result create-html5-boilerplate downloads old version

There's been a release queued up for... a couple of years. I am hoping to just get it out the door this month as I'll be slightly less busy.

Ah ok got it


Wording of Connector Status

Enhancement
Description
The status of connectors are inconsistently named.
- A green status is named "ONLINE" or "RUNNING". Please use "ONLINE" for both.

Also was mentioned:
- A red status is named "DEAD" or "OFFLINE". Please use "OFFLINE" for both.
but this could have been (partially) addressed already: https://github.com/sovity/authority-portal/issues/184
Stakeholders
MDS
Solution Proposal and Work Breakdown
- [ ] Fix the GitHub Projects Labels, Sprint and other Metadata
- [ ] Refine a Solution Proposal / Work Breakdown

Statuses for CaaS connectors requested via the Portal are more detailed because we get a detailed status report from the CaaS Management Portal.
Other connectors have only limited status reporting (Online/Offline) because the status is determined via the catalog crawler.
I guess we can map the CaaS status names to more consistent ones


Can you offer another way to install gptcommit for Windows? Like, Winget

Is your feature request related to a problem? Please describe.
In Windows I need install C++ build tools for cargo, then I can install gptcommit. In Mac you provider brew to install, can you offer Winget?
Describe the solution you'd like
Offer the way to install from Winget
Describe alternatives you've considered
Offer an exe file for Windows
Additional context
Add any other context or screenshots about the feature request here.

I find the gptcommit.exe in my ~\.cargo\bin directory, if copy this file to another Windows PC, should it work normally？

@SinnoSong Thanks for the feedback. I'm happy to support other options for installing these binaries but I don't have experience with Windows tooling. I'm happy to review a pull request.
You can download the *.exe file from the releases page here:
https://github.com/zurawiki/gptcommit/releases/tag/v0.5.3
For Windows, look for the "gptcommit-x86_64-pc-windows-msvc.zip" file
Note that some new versions didn't come with artifacts, this was reported in #136 and should be fixed in v0.5.6