[CARBONDATA-3619] NoSuchMethodError(registerCurrentOperationLog) Whil…

…e Creating Table
Modification reason: ExecuteStatementOperation.java exists in both hive-service model and spark-hive-thriftserver model, Leading "NoSuchMethodError: org.apache.spark.sql.hive.thriftserver.SparkExecuteStatementOperation.registerCurrentOperationLog()V"
Modification content: Excludes the dependence on hive-service in the spark-hive-thriftserver
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1186/

This issue had been resolved, please see #3373

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1195/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1205/

OK. I had this problem when I was debuging carbon in IDEA. To solve  this problem，Which need to exludes the dependence on hive-service in the spark-common model.
#3373 only excludes hive-serive from assembly. Do you think we should exlude hive-service in spark-common like https://github.com/apache/carbondata/pull/3373

ok, LGTM

LGTM


moved hello template to its own dir

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

oops, meant to send this to adobe/master


14 Nov 2023 - InnerSource SIG Meeting Minutes

Date
Tuesday 14 Nov 2023 - 3:00pm EST / 10:00am UK
Untracked attendees
Fullname, Affiliation, (optional) GitHub username
...
Meeting notices

FINOS SIG Leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS SIG meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

[ ] Convene & roll call (5mins)
[ ] Display FINOS Antitrust Policy summary slide
[ ] Review Meeting Notices (see above)
[ ] Approve past meeting minutes
[ ] Review FINOS Slack InnerSource SIG Channel - https://finos-lf.slack.com/archives/C01SYB503QT
[ ] Working session What makes a strong InnerSource Project?
[ ] Working session What is a good way to ensure InnerSource projects are discoverable?
Working session on InnerSource portal
...
AOB, Q&A & Adjourn (5mins)
Decisions Made
[ ] Decision 1
[ ] Decision 2
...
Action Items
[ ] Action 1
[ ] Action 2
...
Zoom Details
https://zoom.us/j/94949043746?pwd=WnBFQjhpUnBjMWE0OUhqUGhhb0ZOdz09
Meeting ID: 949 4904 3746
Passcode: 067897
Join by phone - Find your local number: https://zoom.us/u/adJnH9JOiY

Mailing List

<EMAIL_ADDRESS>to subscribe to the InnerSource SIG
mailing list.

Peter Smulovics / Morgan Stanley


React Hooks Update

I have gone through these following points

[x]   Check latest documentation: https://docs.nativebase.io/
[x]   Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
[x]   Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
[x]   Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
[x]   For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
[x]   For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/

Issue Description
It's is a proposal, we could migrate to use the new React Hooks Api, it's totally compatible with the current code and it can run side by side, I've created a pull request to demonstrate how simple it is and we could do it component by component with no rush.
Reasons:

Better Performance
Simplify the code
Easy Maintainability
With the new StyleProviderContext will be easy to third party libs to use the theme variables.

@danieloprado That sounds like a great plan. We've been discussing the move to Hooks for a while now and the timing of your PR couldn't have been better!
Will take a look at the PR soon. Also roping in @sanketsahusoft for any inputs.

Also fix #2832

@sankhadeeproy007 Thank you! If you move on with this idea I'm glad to help you guys to update the code.

Hi @danieloprado Is this library support React Hooks? It seems not according to the doc? e.g. https://docs.nativebase.io/Components.html#button-def-headref

@Sampath-Lokuge @akhil-geekyants Is this PR not being merged due to https://github.com/GeekyAnts/nativebase-v3

Hi. What about the migration to React hook of NativeBase? Want to be part of contributor if is possible.

Hi. What about the migration to React hook of NativeBase? Want to be part of contributor if is possible.


Argument Type Coercion

Right now, the type of data included as an argument in an OSC message must match exactly what is specified, otherwise it will be ignored. If the node is configured for an Integer, then the argument must be an Int32, and so on. A basic level of type coercion might make this more user friendly (e.g. if the node is configured to read a Float, but the message contains an integer, then coerce it to a float).

Implemented in v0.2.4.


uppercase columns and new info in the progress files

If I read the  progress_* files with Table.read() I get the columns in lower case but I need them in upper case to easily process the data through quicksurvey. Is it easy to solve that astropy or could this instead be fixed here in surveysim?

In desisim.quickcat we use 'EBMV' (E(B-V)) and LINTRANS to estimate the redshift efficiency. Would it be possible to have those two columns in the progress_* files?

In general we should use upper case column names in FITS files since some libraries will only write upper case.  Technically FITS is case insensitive and thus those libraries can claim that they are writing an equivalent file, but in practice reading them back in to a case-sensitive language can be a pain.  We haven't completely standardized on this guideline though.  All spectro pipeline files use uppercase column names, though there are still some leftover lowercase cases in desimodel.
In the meantime, I've used this recipe for post-facto converting to uppercase after reading:
x = Table.read('progress.fits')
for colname in x.colnames:
    x.rename_column(colname, colname.upper())

Another possibility is x = Table(fitsio.read('progress.fits', upper=True))

Thanks. In the meantime I will use x = Table(fitsio.read('progress.fits', upper=True)).

There are two separate issues here, both of which belong to the desisurvey package that owns the Progress class which writes progress_*.fits files.
Is there a reason why you are reading the progress files instead of the exposures file?
I will create a desisurvey issue for the missing dust and transparency fields.
For FITS column names, lets write up and discuss the guidelines first :smile:

I am reading the progress_*.fits files because they provide a natural cut to runfiberassign and gather a set of observed tiles into a redshift catalog. I guess I should also leave open the option to read the exposures files and set by hand the dates to run fiberassign/quickcat.

The progress and exposures files are different external view of the same internal data structure (desisurvey.progress.Progress) so its up to you which is more convenient (and they are guaranteed to be synch since they derive from the same source :smile:)

Closing since this does not apply to any code in this package.


[linux] Flutter on linux has some graphical bugs

I recently gived flutter for linux a try. I created the default flutter project and launched it. I noticed that it is pretty buggy on the right side of the window. With the following gif you can see what I mean.

I thought it was normal (it's alfa), but I saw some videos which all worked good. I tried to install flutter gallery from the snap store and it works as aspected. Flutter doctor tell me that everything is ok. What's wrong?
(I'm on kubuntu 20.04)

Flutter doctor -v

[✓] Flutter (Channel dev, 1.22.0-1.0.pre, on Linux, locale it_IT.UTF-8)
    • Flutter version 1.22.0-1.0.pre at /home/damiano/flutter
    • Framework revision ce40de69b7 (4 giorni fa), 2020-08-20 07:31:50 -0700
    • Engine revision 81027ab0cc
    • Dart version 2.10.0 (build 2.10.0-45.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /home/damiano/Android/Sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /home/damiano/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 3.6)
    • Android Studio at /home/damiano/android-studio
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

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

[✓] Connected device (3 available)
    • Linux (desktop)  • linux      • linux-x64      • Linux
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 84.0.4147.135

• No issues found!

UPDATE 25/08/2020
If I launch the app in release mode the app is way less glitchy. The only graphical bug is during the in/out animation of the tooltip of the FAB.

Hi @ferraridamiano
Just tried to reproduce it on the latest master  running on Popos 20.04, no graphical bugs

flutter doctor -v
[✓] Flutter (Channel master, 1.22.0-2.0.pre.59, on Linux, locale en_US.UTF-8)
    • Flutter version 1.22.0-2.0.pre.59 at /home/taha/Code/flutter
    • Framework revision be7c7faee6 (7 hours ago), 2020-08-24 22:31:02 -0400
    • Engine revision 8107b36c7b
    • Dart version 2.10.0 (build 2.10.0-56.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at //home/taha/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = //home/taha/Code/sdk
    • Java binary at: /home/taha/Code/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 4.0)
    • Android Studio at /home/taha/Code/android-studio
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (1 available)
    • Linux (desktop) • linux • linux-x64 • Linux

• No issues found!

Can you upgrade to latest master and try again
flutter channel master
flutter upgrade --force
flutter doctor -v

flutter doctor -v
[✓] Flutter (Channel master, 1.22.0-2.0.pre.59, on Linux, locale it_IT.UTF-8)
    • Flutter version 1.22.0-2.0.pre.59 at /home/damiano/flutter
    • Framework revision be7c7faee6 (7 ore fa), 2020-08-24 22:31:02 -0400
    • Engine revision 8107b36c7b
    • Dart version 2.10.0 (build 2.10.0-56.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /home/damiano/Android/Sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /home/damiano/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 3.6)
    • Android Studio at /home/damiano/android-studio
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

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

[✓] Connected device (3 available)
    • Linux (desktop)  • linux      • linux-x64      • Linux
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 84.0.4147.135

• No issues found!

flutter run --verbose
[  +97 ms] executing: [/home/damiano/flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[  +27 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] be7c7faee6cb8bcabd3fefbbe8107c5b772ef9c3
[        ] executing: [/home/damiano/flutter/] git tag --points-at HEAD
[  +11 ms] Exit code 0 from: git tag --points-at HEAD
[   +1 ms] executing: [/home/damiano/flutter/] git describe --match *.*.* --first-parent --long --tags
[  +22 ms] Exit code 0 from: git describe --match *.*.* --first-parent --long --tags
[        ] 1.22.0-1.0.pre-59-gbe7c7faee6
[   +7 ms] executing: [/home/damiano/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/home/damiano/flutter/] git ls-remote --get-url origin
[   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +33 ms] executing: [/home/damiano/flutter/] git rev-parse --abbrev-ref HEAD
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +34 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +9 ms] executing: /home/damiano/Android/Sdk/platform-tools/adb devices -l
[  +31 ms] List of devices attached
[   +4 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +51 ms] Multiple devices found:
[  +37 ms] Linux (desktop)  • linux      • linux-x64      • Linux
[        ] Web Server (web) • web-server • web-javascript • Flutter Tools
[        ] Chrome (web)     • chrome     • web-javascript • Google Chrome 84.0.4147.135
[   +1 ms] [0]: Linux (linux)
[        ] [1]: Web Server (web-server)
[        ] [2]: Chrome (chrome)
[   +1 ms] Please choose one:
[        ]  [0|1|2]
[        ] :
[+3722 ms] 0
[ +117 ms] Generating
/home/damiano/Scrivania/prova/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.ja
va
[  +65 ms] Starting incremental build...
[   +1 ms] Initializing file store
[   +8 ms] Skipping target: gen_localizations
[   +5 ms] complete
[   +2 ms] Launching lib/main.dart on Linux in debug mode...
[   +4 ms] /home/damiano/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/damiano/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/damiano/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental
--target=flutter --debugger-module-names --experimental-emit-debug-metadata
-Ddart.developer.causal_async_stacks=true --output-dill
/tmp/flutter_tools.ESGWLL/flutter_tool.GTPZZT/app.dill --packages .packages -Ddart.vm.profile=false
-Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unre
achable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation
--filesystem-scheme org-dartlang-root --initialize-from-dill build/cache.dill.track.dill
[  +10 ms] Building Linux application...
[  +11 ms] <- compile package:prova/main.dart
[   +2 ms] executing: [build/linux/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug
/home/damiano/Scrivania/prova/linux
[  +35 ms] -- Configuring done
[   +3 ms] -- Generating done
[        ] -- Build files have been written to: /home/damiano/Scrivania/prova/build/linux/debug
[   +3 ms] executing: ninja -C build/linux/debug install
[   +6 ms] ninja: Entering directory `build/linux/debug'
[+4548 ms] [1/5] Generating
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/libflutter_linux_gtk.so,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_method_response.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_value.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/home/damiano/Scrivania/prova/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[   +3 ms] [ +103 ms] executing: [/home/damiano/flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[        ] [  +26 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] be7c7faee6cb8bcabd3fefbbe8107c5b772ef9c3
[        ] [        ] executing: [/home/damiano/flutter/] git tag --points-at HEAD
[        ] [  +18 ms] Exit code 0 from: git tag --points-at HEAD
[        ] [   +1 ms] executing: [/home/damiano/flutter/] git describe --match *.*.* --first-parent
--long --tags
[        ] [  +22 ms] Exit code 0 from: git describe --match *.*.* --first-parent --long --tags
[        ] [        ] 1.22.0-1.0.pre-59-gbe7c7faee6
[        ] [   +7 ms] executing: [/home/damiano/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +8 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/master
[        ] [        ] executing: [/home/damiano/flutter/] git ls-remote --get-url origin
[        ] [   +5 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +40 ms] executing: [/home/damiano/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] master
[        ] [  +33 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping
update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping
update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping
update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping
update.
[        ] [   +5 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping
update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping
update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping
update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping
update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [  +77 ms] Initializing file store
[        ] [   +7 ms] Done initializing file store
[        ] [  +27 ms] Skipping target: gen_localizations
[        ] [+1402 ms] Skipping target: kernel_snapshot
[        ] [+1775 ms] Skipping target: unpack_linux
[        ] [ +348 ms] Skipping target: debug_bundle_linux_assets
[        ] [        ] Persisting file store
[        ] [   +8 ms] Done persisting file store
[        ] [   +5 ms] build succeeded.
[        ] [   +6 ms] "flutter assemble" took 3.679ms.
[        ] [ +189 ms] ensureAnalyticsSent: 186ms
[        ] [   +3 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +474 ms] [2/5] Building CXX object CMakeFiles/prova.dir/flutter/generated_plugin_registrant.cc.o
[   +9 ms] [3/5] Building CXX object CMakeFiles/prova.dir/my_application.cc.o
[ +138 ms] [4/5] Linking CXX executable prova
[        ] [4/5] Install the project...
[   +7 ms] -- Install configuration: "Debug"
[  +15 ms] -- Installing: /home/damiano/Scrivania/prova/build/linux/debug/bundle/prova
[        ] -- Set runtime path of "/home/damiano/Scrivania/prova/build/linux/debug/bundle/prova" to
"$ORIGIN/lib"
[        ] -- Installing: /home/damiano/Scrivania/prova/build/linux/debug/bundle/data/icudtl.dat
[        ] -- Installing:
/home/damiano/Scrivania/prova/build/linux/debug/bundle/lib/libflutter_linux_gtk.so
[ +113 ms] -- Installing: /home/damiano/Scrivania/prova/build/linux/debug/bundle/data/flutter_assets
[        ] -- Installing:
/home/damiano/Scrivania/prova/build/linux/debug/bundle/data/flutter_assets/kernel_blob.bin
[  +29 ms] -- Installing:
/home/damiano/Scrivania/prova/build/linux/debug/bundle/data/flutter_assets/NOTICES
[        ] -- Installing:
/home/damiano/Scrivania/prova/build/linux/debug/bundle/data/flutter_assets/packages
[        ] -- Installing:
/home/damiano/Scrivania/prova/build/linux/debug/bundle/data/flutter_assets/packages/cupertino_icons
[        ] -- Installing:
/home/damiano/Scrivania/prova/build/linux/debug/bundle/data/flutter_assets/packages/cupertino_icons/ass
ets
[        ] -- Installing:
/home/damiano/Scrivania/prova/build/linux/debug/bundle/data/flutter_assets/packages/cupertino_icons/ass
ets/CupertinoIcons.ttf
[        ] -- Installing:
/home/damiano/Scrivania/prova/build/linux/debug/bundle/data/flutter_assets/FontManifest.json
[        ] -- Installing:
/home/damiano/Scrivania/prova/build/linux/debug/bundle/data/flutter_assets/AssetManifest.json
[        ] -- Installing:
/home/damiano/Scrivania/prova/build/linux/debug/bundle/data/flutter_assets/fonts
[        ] -- Installing:
/home/damiano/Scrivania/prova/build/linux/debug/bundle/data/flutter_assets/fonts/MaterialIcons-Regular.
otf
[  +10 ms] Building Linux application... (completed in 5,4s)
[ +699 ms] Observatory URL on device: http://<IP_ADDRESS>:33733/ME9PdqcSWJU=/
[   +2 ms] Caching compiled dill
[  +55 ms] Connecting to service protocol: http://<IP_ADDRESS>:33733/ME9PdqcSWJU=/
[        ] DDS is currently disabled due to https://github.com/flutter/flutter/issues/62507
[  +94 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:33733/ME9PdqcSWJU=/
[        ] Waiting for Linux to report its views...
[   +3 ms] Waiting for Linux to report its views... (completed in 2ms)
[   +6 ms] DevFS: Creating new filesystem on the device (null)
[  +10 ms] DevFS: Created new filesystem on the device (file:///tmp/provaCBCTPI/prova/)
[   +1 ms] Updating assets
[  +71 ms] Syncing files to device Linux...
[   +1 ms] Scanning asset files
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +1 ms] <- recompile package:prova/main.dart 1e3a50e8-521c-42d5-9a34-16d79005c952
[        ] <- 1e3a50e8-521c-42d5-9a34-16d79005c952
[  +90 ms] Updating files
[  +59 ms] DevFS: Sync finished
[        ] Syncing files to device Linux... (completed in 154ms)
[        ] Synced 1.7MB.
[        ] <- accept
[   +1 ms] Connected to _flutterView/0xc86a80.
[   +1 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on Linux is available at:
http://<IP_ADDRESS>:33733/ME9PdqcSWJU=/
[+25943 ms] Service protocol connection closed.
[   +1 ms] Lost connection to device.
[   +4 ms] DevFS: Deleting filesystem on the device (file:///tmp/provaCBCTPI/prova/)
[ +256 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not
completed
[   +6 ms] "flutter run" took 36.847ms.
[ +204 ms] ensureAnalyticsSent: 193ms
[   +3 ms] Running shutdown hooks
[   +1 ms] Shutdown hook priority 4
[   +8 ms] Shutdown hooks complete
[        ] exiting with code 0

I tried to reproduce this bug on my notebook with the same OS and all works good. My notebook has an integrated GPU and my dektop pc (where there is the bug) has a dedicated GPU. I don't know if this info can help.

I’m unable to reproduce the issue to pinpoint the cause. The issue needs further investigation.

This is a duplicate of https://github.com/flutter/flutter/issues/44136 if this happens only during resize.


Make new utilities optional

Like Tailwind syntax was optional and opt-in with a $variable, make margin utilities optional to reduce file size.

Added in v3


fix: use arr.buffer safely

Description:
This SDK both

Uses Buffer.from in some places and treats them as Uint8Array instances:

src/channel/NodeMirrorChannel.js
src/channel/NodeChannel.js
src/encoding/hex.js
src/encoding/utf8.js
packages/cryptography/src/encoding/base64.js
packages/cryptography/src/encoding/hex.js
packages/cryptography/src/encoding/utf8.js

Treats Uint8Array instances as non-pooled in most places across the codebase (see the diff of this PR for exact locations).

This seems very fragile, as accidentally treating a pooled Uint8Array instance as a non-pooled one might result in a catastrophic failure, e.g. leaking unrelated data over the network.

Checklist

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

Lint fails, will fix that shortly.


Use service name for client's base URL

Required for usage with DSP in order to not confuse different endpoints.

Relates-To: OAM-1783
Signed-off-by: Andrey Kashcheev<EMAIL_ADDRESS>

Gitlab-bot - Internal E2E verification pipeline PASSED!

Gitlab-bot - Internal E2E verification pipeline FAILED!


[UI Workspace] When file is deleted from workspace it still appear in editor

Steps to reproduce:

Create some file
Open the file for editing
Delete the file using context menu->delete
The file in Editor still exist and changes can be saved.

Hi @antoanetamh, this is a bug that has to be fixed in the https://github.com/eclipse/dirigible repository.
Could you transfer it there?


Why is the total number of queries in  "M-BEIR/query/train" different from the count of queries in "mbeir_union_up_train.jsonl"?

The total numbr of queries in "M-BEIR/query/train" and "mbeir_union_up_train.jsonl" are 1150203 and 1332790, respectively. What is the reason for this discrepancy?

Thank you for your interest in our work!
In summary, mbeir_union_up_train.jsonl is an up-sampled version of the queries in M-BEIR/query/train
mbeir_union_up_train.jsonl: This file is the default training data for in-batch contrastive training specifically designed for UniIR models. It aggregates all the data from the train directory and datasets with relatively smaller sizes have been upsampled to balance the training process.


Include option to exclude test / default directories

Files and directories that should (usually) be excluded by default. Consider adding a switch to include these in Surya's analysis if desired.
Files
Migrations.sol
Test___.sol
test___.sol
Directories
Tests
Test
tests
test
Mocks
Mock
mocks
mock

Agree. 😄
This should be a global option, something like --truffle-filter, -tf. We're now refactoring the inner workings of the tool and this will be much easier to implement after we merge the new structure.
I'm gonna queue this up for after the full "profilers" migration but track it to make sure it happens.

Partial solution is to use a bash function to filter the file list down.
Put the following code into your bash environment:
filterFind() {
    find $rootDir -name "*.sol" | \
    grep -v test* | \
    grep -v Migration* | \
    grep -v mock* | \
    grep -v Mock* | \
    grep -v Test* | \
    grep -v 0x | \
    grep -v Kyber* | \
    grep -v Bytes32.sol | \
    grep -v Authorizable.sol | \
    grep -v AddressArrayUtils.sol | \
    grep -v CommonMath.sol | \
    grep -v node_modules | \
    grep -v coverageEnv  | \
    grep -v openzeppelin-solidity
}

Then update the $rootDir variable:
rootDir=$(/home/someUser/someDir/contracts/)

Now your function filterFind works on all the files in your contracts directory.
give its output to a new variable:
filteredDirs=$(filterFind)

Lastly, call the variable into Surya:
surya describe $filteredDirs

and your Surya description only prints out the dirs you want it to describe.


BODY_PARTS_PAF_IDS

Hello， I got an idea of how to configure BODY_PARTS_KPT_IDS. But i am not so sure how to modify the BODY_PARTS_PAF_IDS in the TRAIN-ON-CUSTOM-DATASET.md. Can you tell me from which file this list was obtained? coco.py?? Thank you very much!

The network predicts 2 outputs (per each stage): keypoints heatmaps and PAFs maps. BODY_PARTS_PAF_IDS list defines indices of network output channels which encodes connection between corresponding keypoints pair. So you have defied which keypoints are connected by BODY_PARTS_KPT_IDS and for each such keypoints pairs you need to generate PAFs (2 maps, one for x, second for y).

BODY_PARTS_KPT_IDS = [[1, 8], [8, 9], [9, 10],[1, 11], [11, 12], [12, 13], [1, 2], [2, 3], [3, 4],[2, 16],[1, 5], [5, 6], [6, 7], [5, 17], [1, 0], [0, 14], [0, 15], [14, 16], [15, 17]]  in coco.py and BODY_PARTS_KPT_IDS = [[1, 2], [1, 5], [2, 3], [3, 4], [5, 6], [6, 7], [1, 8], [8, 9], [9, 10], [1, 11],[11, 12], [12, 13], [1, 0], [0, 14], [14, 16], [0, 15], [15, 17], [2, 16], [5, 17]],Why are they different?

Are they different?

The order of BODY_PARTS_KPT_IDS is different between coco.py and keypoints.py. Is this okay? At the same time, should the order of BODY_PARTS_KPT_IDS be consistent with the order of BODY_PARTS_PAF_IDS  in keypoints.py?

It works, so it is okay. But I think it is just a legacy code.

After reading code, I tried change the BODY_PARTS_KPT_IDS to match keypoints.py to coco.py, here share my result.
Test data: val_subset
Test model: the pretrained checkpoint_iter_370000.pth
Origin setting result:
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets= 20 ] = 0.386
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets= 20 ] = 0.600
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets= 20 ] = 0.413
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets= 20 ] = 0.349
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets= 20 ] = 0.458
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 20 ] = 0.438
 Average Recall     (AR) @[ IoU=0.50      | area=   all | maxDets= 20 ] = 0.650
 Average Recall     (AR) @[ IoU=0.75      | area=   all | maxDets= 20 ] = 0.465
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets= 20 ] = 0.360
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets= 20 ] = 0.54

Change BODY_PARTS_KPT_IDS and BODY_PARTS_PAF_IDS in keypoints.py
# BODY_PARTS_KPT_IDS = [[1, 2], [1, 5], [2, 3], [3, 4], [5, 6], [6, 7],
#                       [1, 8], [8, 9], [9, 10], [1, 11],
#                       [11, 12], [12, 13], [1, 0], [0, 14], [14, 16], [0, 15],
#                       [15, 17], [2, 16], [5, 17]]
# BODY_PARTS_PAF_IDS = ([12, 13], [20, 21], [14, 15], [16, 17], [22, 23], [24, 25],
#                       [0, 1], [2, 3], [4, 5],[6, 7],
#                       [8, 9], [10, 11], [28, 29], [30, 31], [34, 35], [32, 33],
#                       [36, 37], [18, 19], [26, 27])
BODY_PARTS_KPT_IDS = [[1, 8], [8, 9], [9, 10], [1, 11], [11, 12],
                      [12, 13], [1, 2], [2, 3], [3, 4], [2, 16],
                      [1, 5], [5, 6], [6, 7], [5, 17], [1, 0],
                      [0, 14], [0, 15], [14, 16], [15, 17]]
BODY_PARTS_PAF_IDS = [[0,1],[2,3],[4,5],[6,7],[8,9],
                      [10,11],[12,13],[14,15],[16,17],[18,19],
                      [20,21],[22,23],[24,25],[26,27],[28,29],
                      [30,31],[32,33],[34,35],[36,37]]

I think the result should be same, but I got even better one, and I dont know why now:
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets= 20 ] = 0.390
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets= 20 ] = 0.603
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets= 20 ] = 0.422
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets= 20 ] = 0.351
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets= 20 ] = 0.460
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 20 ] = 0.441
 Average Recall     (AR) @[ IoU=0.50      | area=   all | maxDets= 20 ] = 0.653
 Average Recall     (AR) @[ IoU=0.75      | area=   all | maxDets= 20 ] = 0.471
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets= 20 ] = 0.365
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets= 20 ] = 0.542

Hi! In both files indices are the same, but the order differs. You have changed grouping order, so some skeletons might be added or removed (more details about grouping), thus results were changed. I believe reasonable grouping order is defined by BODY_PARTS_KPT_IDS and BODY_PARTS_PAF_IDS in keypoints.py. However, may be you have found the better order! You are lucky! 👍


implied mime type (in value of typ/cty) prefix

Signed-off-by: Baha Shaaban<EMAIL_ADDRESS>

Approved on community B call on 24 Mar 2021


Bundle file override language order seems arbitrary

I have much simplified the "bundle implemention" and while diffing some sites output, I find some peculiar behavior when having many langauges and you try to reuse non-content files from others. Given this content structure:
nn/b1/index.md
en/b1/index.md
sv/b1/index.md
nb/b1/index.md
en/b1/data.json
sv/b1/data.json

For the nb/b1 bundle (no data.json) you will now sometimes get en/b1/data.json and sometimes sv/b1/data.json.
This is obviously wrong (we should pick one and the same every time), but I have forgotten what it was "supposed to be"? @regisphilibert ?

To answer myself in the above:
Pick the first available in a sorted language list, starting from the default content language.

Yes we use the Weight to sort languages. And this order should solve the language "precedence" when dealing with page resources.


Merge all forks upstream + latest spago and fix tests

There are three forks, but the tooling has changed since they were made, so I migrate upstream to the latest spago myself, and then merge features from the forks.

merge kamoii/master

download test fix
connectOverCDP binding

merge i-am-the-slime/es-modules

replace exports. with export const

merge fetsorn

spago@next
purescript 0.15.15
replace broken Undefined.undefined with Data.Unit.unit
fix reference leak in effectfulGetter, see notes
update Stream.onDataString to Node.EventEmitter.on_ Stream.dataHStr as per node-streams changelog

merge i-am-the-slime/master,

use Data.Time.Duration.Milliseconds for timeouts

merge photz

use WebSocketEndpoint in connect

format source code, explicit imports, fix shadowed types

* the patch seems to have a lot of formatting changes - we can reformat files, but then we should also have a CI job that ensures that things are consistently formatted. All of this should be in a separate PR

i ran prettier on all .js files and purs-tidy on all .purs. Would you like me to revert this formatting here? Or just open another PR with a format workflow after this is merged?

i ran prettier on all .js files and purs-tidy on all .purs. Would you like me to revert this formatting here? Or just open another PR with a format workflow after this is merged?

All the formatting changes make it hard to review the actual code changes, so I'd prefer if we could revert them here, and open a PR with the format workflow + the formatting changes after this is merged.
We could also have a formatting PR before this one, but that might be more complicated.

Btw tests fail with
 ╔═════════════════════════════════════════════════════════════════════════╗
║ Looks like Playwright Test or Playwright was just installed or updated. ║
║ Please run the following command to download new browsers:              ║
║                                                                         ║
║     npx playwright install                                              ║
║                                                                         ║
║ <3 Playwright Team                                                      ║
╚═════════════════════════════════════════════════════════════════════════╝


Add World ID Contracts repository to index

https://github.com/worldcoin/world-id-contracts

As this has no releases, i am trying to get in contact with the team to version it.
Will keep up up to date

gm, sorry for the delay, was merged today by @Dzejkop: https://github.com/worldcoin/world-id-contracts/releases/tag/v1.0.0


Cannot use multiple error middleware

see also https://github.com/zendframework/zend-expressive/issues/264 imo not solved.
I found out also that multiply error middleware does not get invoked.
config:
[
    'middleware' => [
    	// this should be the first one
        App\Error\ErrorMiddleware::class,
    ],
    'error'      => true,
    'priority'   => PHP_INT_MAX, // always first
],
[
    'middleware' => [
    	// this should be the next one
        App\Error\ErrorMiddleware2::class,
    ],
    'error'      => true,
    'priority'   => PHP_INT_MAX * -1, // always last
],

What happen is that only the last error middleware gets invoked.
(Always the one with the lower priority)
In both error middleware __invoke i logged into a file
and only ErrorMiddleware2 shows up.
Here is the error middleware code (same for both):
namespace App\Error;

use Zend\Stratigility\ErrorMiddlewareInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Message\ResponseInterface;

class ErrorMiddleware implements ErrorMiddlewareInterface
{
    protected $errorAction;

    public function __construct(ErrorAction $errorAction)
    {
        $this->errorAction = $errorAction;
    }

    public function __invoke(
        $error,
        ServerRequestInterface $request,
        ResponseInterface $response,
        callable $out = null
    ) {
    	// test logging
        file_put_contents('data/test.txt', __METHOD__. PHP_EOL, FILE_APPEND);

        // some error handling ...

        if ($out !== null) {
            // expecting here to invoke the Next() error middleware
            return $out($request, $response, $error);
        }
        return $response;
    }
}

I trigger the error middleware from an action like:
return $next($request, $response, new \Exception('Test Error', 13));
or
return $next($request, $response, 'my eString');
EDIT: using zend expressive skeleton minimal, zend router, zend service manager, no template engine, no whoops / no default error middleware

I don't think that's the right way to configure multiple ErrorMiddleware. This is working for me:
    'middleware_pipeline' => [
        'always' => [
            'middleware' => [
                Expressive\Helper\ServerUrlMiddleware::class,
                // ...
            ],
            'priority'   => 10000,
        ],

        'routing' => [
            'middleware' => [
                Expressive\Container\ApplicationFactory::ROUTING_MIDDLEWARE,
                // ...
                Expressive\Container\ApplicationFactory::DISPATCH_MIDDLEWARE,
            ],
            'priority'   => 1,
        ],

        'error' => [
            'middleware' => [
                App\Core\Security\UnauthorizedErrorMiddleware::class,
                App\Core\Security\ForbiddenErrorMiddleware::class,
                App\Core\Middleware\ExceptionLoggerMiddleware::class,
            ],
            'error'      => true,
            'priority'   => -10000,
        ],
    ],

Both should do it. But i found out i made a mistake with the priority.
One error middleware had a priority higher than the actual routing.
// priority timeline:
errro middleware1
routing
action (error happen)
errro middleware2

My fault =)
[
    'middleware' => [
        App\Error\ErrorMiddleware::class,
    ],
    'error'      => true,
    'priority'   => PHP_INT_MAX, // this one was just wrong
],
[
    'middleware' => [
        App\Error\ErrorMiddleware2::class,
    ],
    'error'      => true,
    'priority'   => PHP_INT_MAX * -1,
],

Thanks for the help!


Undocumented; Admin Panel 'toast' & 'Bookmark assets' what is it for?

?

Toasts are one time notifications that can show up after migrating to a new version. Assets are files like HTML snapshots, only available in the plus Docker image.


Updated styling on home page

"Create game" text is difficult to read on the homepage; it falls on the background image. The arrow button is also difficult to see.


Expose change reason in admin form

Description

Based off of https://github.com/jazzband/django-simple-history/issues/853#issuecomment-1105754544, add a new collapsed field on admin forms to provide the _change_reason text on a change.
Related Issue

Fixes #853
Motivation and Context

Lets change reason be set in admin form
How Has This Been Tested?

Automated tests included in PR
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have run the pre-commit run command to format and lint.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] I have added my name and/or github handle to AUTHORS.rst
[x] I have added my change to CHANGES.rst
[x] All new and existing tests passed.

4. It would be nice to have a test checking that the change_reason field is correctly set when reverting an object to a previous history record (since the change_reason field appears in the revert form as well).

Will add tests but also this functions as expected, reverting the object with a change history reason as the supplied reason. The field does not get pre-filled

All that's left to be done is documentation!

@ddabble ready for re-review, I'm a bit confused as to what "overriding the behaviour" would look like wrt documenting it, but other than that

Any news on this?

Any news? This change is a really nice feature that I feel that would add to the codebase. It feels like it is an intended behaviour that was never quite finished.

@jkaeske or @al-beton would you like to take this over?

@tim-schilling Yes I would be glad to take it over, I have some time to bring the project up to the latest python + django versions. If @jkaeske want's to help out also that would be a plus!


Q: Redis Keys at point in time use case?

Hi,
I was wondering if this tool will solve the following use case:
To know the values of redis keys (which are in memory) at any point in time.
Thanks.

I don't think this is the tool you're looking for. Conprof ingests standard pprof profiles, if you can get that data into a pprof profile then maybe, but it sounds like you rather want something like string type metrics or something like that (or normal metrics if the values of these keys are of numbered values).


Store Zotero Links in bibtex URL field

Often, Zotero downloads a link attachment, which points to the URL where I got the paper.  It looks like this:

and if I click on it, I'm sent to web page where I got the paper.
It would be nice if this URL -- or any other relevant URL in the Zotero DB -- was stored in the exported .bib file.  In this example, there is a DOI, but since I have BBT Preferences --> Export --> Add URLs to BibTeX export set to "in the'url' field, I thought the URL would be stored.
What is stored is this:
@article{Jaramillo20evIdentLoadMon,
  title = {Supervised {{Non}}-{{Intrusive Load Monitoring Algorithm}} for {{Electric Vehicle Identification}}},
  author = {Jaramillo, A. M. and Laverty, D. and Rinc{\'o}n, J. and Hastings, John and Morrow, D. J.},
  year = {2020},
  doi = {10.1109/I2MTC43012.2020.9128529},
  abstract = {Transport sector electrification represents an increase in the number of electric vehicles (EV), producing significant variations in the distribution network dynamics. As a result, bidirectional power flow, overload and load unbalances are caused at the low voltage level due to unexpected increased load peaks. Non-intrusive load monitoring (NILM) methods have been developed as a strategy for energy management systems, applied to the customer side producing energy savings. This research presents a NILM methodology based on a low complexity conventional supervised machine learning pipeline. Our approach uses Principal Component Analysis (PCA) and Random Forest (RF) to detect the presence of a charging electric vehicle on the electricity network. By processing low sampling rate active power data, this approach provides a simple but feasible method that can be applied to smart meters. This provides useful data analysis for distribution network operators (DNO) to effectively deal with variability caused by these low carbon loads in the distribution grid. Achieving an overall efficacy of 92.68\%, the proposed method can be compared with other state of the art methods developed under higher complexity techniques.},
  file = {papers\\Jaramillo20evIdentLoadMon.pdf},
  journal = {2020 IEEE International Instrumentation and Measurement Technology Conference (I2MTC)}
}

My Report ID is: 98IBZ925-euc

I need a debug log from right-clicking the item under consideration, not from the help menu

It's at the end of the intial bug report (My Report ID is: 98IBZ925-euc) or do you need some other thing?

That was sent from the Help menu. I need one from right-clicking the item, and selecting "send log" from that popup menu.

Whoops.  When I  right-click the item, and selecting "send log" from that popup menu, I get another popup that starts with
The data below is about to be submitted...
and has Back and Next buttons on the bottom.  But they are grayed out, as if they are inactivated.  Only the Cancel button is not grayed out.
If I click Next, nothing happens.

Can you send me a help-menu debug log after that happens?

Sure.  This was from Zotero->Help->Send Better Bibtex Debug Report
F4BJSY9Y-euc

I have a fix for that but unfortunately the github release pipeline has stalled so I can't get it to you. I've notified GH support, they're usually fairly quick on these things.

They're on it

With build 540 you chould be able to send a right-click debug ID again

Thanks.  I right clicked on the Jaramillo entry above, and sent the following bug report
LKYWXTLP-euc

Right, so this article has an URL field -- why not have the URL there rather than a link-attachment?

Exactly.

No, I mean -- why not fill in the URL in the URL field in Zotero rather than having it as an attached link in Zotero. The URL field has a fairly stable meaning in Zotero, which is why I translate it as I do. Attachments don't carry the same meaning.

Zotero itself makes these link attachments, either when it finds metadata
from a web page, or when it gets a new PDF and uses that to find the
metadata -- I'm not sure exactly what triggers it to do that.
In any case, yes I could search for instances where it does this, and
manually copy the URL and paste it to the Zotero URL field, but ...
On Tue, Mar 16, 2021 at 1:27 PM Emiliano Heyns @.***>
wrote:

No, I mean -- why not fill in the URL in the URL field in Zotero rather
than having it as an attached link in Zotero. The URL field has a
fairly stable meaning in Zotero, which is why I translate it as I do.
Attachments don't carry the same meaning.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/retorquere/zotero-better-bibtex/issues/1765#issuecomment-800581080,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5MM44SR6Q45EJCYIDTODLTD65LTANCNFSM4ZG34ZRQ
.

I understand that this is an inconvenience, but I'd like to first see if we can get that addressed in Zotero. Maybe there is a reason for the choice to add it as an attachment rather than in the field, and I'd like to know that reason before I interpret in a certain way.

I'm still left with the question -- why not store the URL in the URL field?

@tea4or2wo your sample represents another problem -- you have two "linked URL" attachments so even if I would use the linked url in lieu of the item url, I wouldn't know which to pick.

On a minor note, a similar problem happens with IMDb: Zotero breaks the URI, storing the last part in Extra field and leaving URL field empty.

That's something to be fixed in Zotero.

The thing is that I have more than 2000 references coming from SUDOC in my Zotero library and all of them are URI orphans in my .bib file. I'm reporting for a potential ex post fix for these items.

Can you right-click the library that has those items and send a support log for that? I can create a javascript runner script to fix those in bulk.

It's also possible to do this in a BBT postscript, which would leave the items in zotero untouched, but it seems to me you would rather have the url actually stored in the item.

This should help:
let fixes = ``

if (!fixes) {
  const csv = []
  for (const item of await Zotero.Items.getAll(Zotero.Libraries.userLibraryID, true)) {
    if (item.getField('url') || item.isNote() || item.isAttachment()) continue
    const urls = item.getAttachments()
      .map(itemID => Zotero.Items.get(itemID))
      .filter(att => att.attachmentLinkMode === Zotero.Attachments.LINK_MODE_LINKED_URL)
      .map(att => att.getField('url'))
    if (urls.length) {
      csv.push([item.itemID, item.getField('title'), ''].concat(urls).join('\t'))
    }
  }
  return csv.join('\n')
}
else {
  const urlFieldID = Zotero.ItemFields.getID('url')
  for (let fix of fixes.split(/\r?\n/)) {
    fix = fix.trim()
    if (fix) {
      fix = fix.split('\t')
      if (fix[2]) {
        const item = await Zotero.Items.getAsync(parseInt(fix[0]))
        if (Zotero.ItemFields.isValidForType(urlFieldID, item.itemTypeID)) {
          item.setField('url', fix[2])
          await item.saveTx()
        }
      }
    }
  }
}

when you run this through Tools -> Developer -> Run Javascript, you can copy the output and paste it into Excel. You now have rows with the following data in position:
0: itemID. do not change this
1: title. This is only informative so you can easier tell which item it concerns
2: empty
3+: existing url attachments
for each of the items you want to change, copy the desired URL to the empty cell (position 2); once ready, copy the data in excel, and paste it between the back-quotes in the first line (the line with fixes), and run the script again. This will update all items where you have copied the URL to the formerly empty cell.

Thank you for taking time working on my problem.
Your code works like a charm, I got clean URLs back into my .bib file for +2500 refs.
I'm preparing a broader post for the Zotero forum, I'll post a pointer here as soon as it gets on tracks.


counter intuitive user experience using -text as parameter to json

It is a bit counter intuitive user experience when run against a polkadot websocket.
This was my call:
wsstat -text '{"id": 1, "jsonrpc": "2.0", "method": "mmr_generateProof", "params": [[1021312]]}' ws://<IP_ADDRESS>:9933
It returns:
Target: <IP_ADDRESS>
IP: <IP_ADDRESS>
WS version: 13

  DNS Lookup    TCP Connection    WS Handshake    Message RTT
|      0ms  |            6ms  |         15ms  |       11ms   |
|           |                 |               |              |
|  DNS lookup:0ms             |               |              |
|                 TCP connected:6ms           |              |
|                                       WS done:15ms         |
-                                                        Total:27ms

Response: [123 34 106 115 111 110 114 112 99 34 58 34 50 46 48 34 44 34 114 101 115 117 108 116 34 58 123 34 98 108 111 99 98 98 54 55 98 56 53 101 99 98 54 48 54 48 48 48 48 48 48 48 48 48 48 48 48 50 99 48 48 48 48 48 48 52 100 101 57 51 54 50 55 102 125]

I wasn't expecting to pass -text (I thought -json should work, but it didn't) - why text and not -json ?
It would be great if the result data wasnt all byte encoded but that wsstat could automatically convert it if possible such as that the results could be comparable to curl.

Automatic conversion should be possible for -text, for sure.
The -json option at the moment assumes just an input method, e.g. -json mmr_generateProof. Perhaps it would be better to have an option -json which takes a raw JSON string as in your example, and another -method which accepts just a method.
Thoughts?

I think that the automatic detection and conversion of return-type payload would make alot of sense and perhaps be default and perhaps, if you think its what the tool should do, it to allow the data be passed as binary 8bit output for pipeing into other tools for debugging.

I was very confused initially when I was passing what I thought to be json and only when switching to -text it was accepted. But maybe I'm missing something on how the tool needs to operate?

Started addressing this issue, PR with initial changes: https://github.com/jakobilobi/wsstat/pull/11
Planning to add before merging:

Binary output
Automatic decoding of responses
Better explanation of what the different input options mean

PR https://github.com/jakobilobi/wsstat/pull/12 adds "raw" output as an option, and automatically decodes responses into JSON.
I'll make another sweep to improve the --help command before closing this issue.


API for categories

Check if the API bug for category filtering is fixed and add this functionality

Unavailable due to API: https://developer.themoviedb.org/reference/discover-movie


发现高通SNPE GPU支持float16的，确实float16比float32性能要好，MACE为什么不支持float16？

Before you open an issue, please make sure you have tried the following steps:

Make sure your environment is the same with (https://mace.readthedocs.io/en/latest/installation/env_requirement.html).
Have you ever read the document for your usage?
Check if your issue appears in HOW-TO-DEBUG or FAQ.
The form below must be filled.

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
NDK version(e.g., 15c):
GCC version(if compiling for host, e.g., 5.4.0):
MACE version (Use the command: git describe --long --tags):
Python version(2.7):
Bazel version (e.g., 0.13.0):

Model deploy file (*.yml)
......

Describe the problem
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the problem:
1. cd /path/to/mace
2. python tools/converter.py convert --config_file=/path/to/your/model_deployment_file

Error information / logs
Please include the full log and/or traceback here.
LOGs

Additional context
Add any other context about the problem here, e.g., what you have modified about the code.

MACE runs on GPU by default using fp16. You can specify data_type: fp32_fp32 in the configuration file if you want it to use fp32.


feat: playwright support

Pull Request Template
Description
Add playwright support 🎉

Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?

Tested manually
Added unit tests for key changes

Checklist:

[x] My code follows the style guidelines of this project. npm run lint passes with no errors.
[ ] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes. npm run test passes with no errors.

Closing #82

@tnolet ready for review. I will open a follow-up PR after this, with some small refactor on the code generator, to share code between playwright/puppeteer, avoided here to prevent a massive one.


Google App Engine tree does not find version.

I am using the version merged from q1_master.
I refreshed the Google Cloud Explorer for many times. It successfully show the version once only.

The version node does show a spinning progress icon, but it ends up with no results.

Now I figured out, the reason was I chose Flexible versions only.
Then if In open the context menu, it shows me "Show Flexible and Standard versions".  This is good. The problem is I weren't aware it was showing only flexible versions.

Sorry for this keep updating comment.  This really confused me as this is my first time using app engine.
(1) I used VS to publish a .NET core app that it automatically created the default service for me.
(2) I now realize the instances are created on "Flexible" environment.
(3) When I chose "Show flexible versions only" in the Google Explorer,  it shows me no results.  This is a bug too.


feat(apigateway): add exception_handler support

Issue #, if available:

https://github.com/awslabs/aws-lambda-powertools-python/issues/899

Description of changes:
app = ApiGatewayResolver()

@app.exception_handler(SomeKindOfError)
def handle_error(ex: SomeKindOfError):
   print(f"request path is '{app.current_event.path}'")
   return Response(
       status_code=418,
       content_type=content_types.TEXT_HTML,
       body=str(ex),
   )

@app.not_found()
def handle_not_found(exc: NotFoundError):
    return Response(status_code=404, content_type=content_types.TEXT_PLAIN, body="I am a teapot!")

@app.exception_handler(ServiceError)
def service_error(ex: ServiceError):
    logger.debug(f"Log out sensitive stuff: {ex.msg}")
    return Response(
        status_code=ex.status_code,
        content_type=content_types.APPLICATION_JSON,
        body="CUSTOM ERROR FORMAT",
    )

@app.get("/my/path")
def call_with_error() -> Response:
   raise SomeKindOfError("Foo!")

Checklist

[x] Meet tenets criteria
[x] Update tests
[ ] Update docs
[x] PR title follows conventional commit semantics

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #898 (f78c0d6) into develop (8406c9b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #898   +/-   ##
========================================
  Coverage    99.88%   99.88%
========================================
  Files          118      118
  Lines         5133     5146   +13
  Branches       573      576    +3
========================================
+ Hits          5127     5140   +13
  Misses           2        2
  Partials         4        4

Impacted Files
Coverage Δ

aws_lambda_powertools/event_handler/api_gateway.py
100.00% <100.00%> (ø)

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 8406c9b...f78c0d6. Read the comment docs.

Leave with me then, I’ll see if issubclass handles, and then merge - I’ll
do it tomorrow
On Thu, 16 Dec 2021 at 16:31, Michael Brewer @.***>
wrote:

@.**** commented on this pull request.
In aws_lambda_powertools/event_handler/api_gateway.py
https://github.com/awslabs/aws-lambda-powertools-python/pull/898#discussion_r770647304
:

         raise

def not_found(self, func: Callable):

   return self.exception_handler(NotFoundError)(func)

def exception_handler(self, exc_class: Type[Exception]):

   def register_exception_handler(func: Callable):

       self._exception_handlers[exc_class] = func

   return register_exception_handler

def _lookup_exception_handler(self, exp_type: Type) -> Optional[Callable]:

   # Use "Method Resolution Order" to allow for matching against a base class

@heitorlessa https://github.com/heitorlessa there is a test
test_exception_handler_service_error which registers a ServiceError
handler and raises a InternalServerError
—
Reply to this email directly, view it on GitHub
https://github.com/awslabs/aws-lambda-powertools-python/pull/898#discussion_r770647304,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZPQBFDKMJZD6M75SXTUE3URIA6FANCNFSM5KCXX7ZQ
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

@heitorlessa  - it would have to be a different implementation
    def _lookup_exception_handler(self, exp_type: Type) -> Optional[Callable]:
        for cls in exp_type.__mro__:
            if cls in self._exception_handlers:
                return self._exception_handlers[cls]
        return None

vs
    def _lookup_exception_handler(self, exp_type: Type) -> Optional[Callable]:
        for cls in self._exception_handlers.keys()
            if issubclass(exp_type, cls):
                return self._exception_handlers[cls]
        return None

Also we will be aware that order should either matter OR not:
app = ApiGatewayResolver()

@app.exception_handler(InternalServiceError)
def internal_service_error(ex: InternalServiceError):
    ...

@app.exception_handler(ServiceError)
def generic_service_error(ex: ServiceError):
    ...

I see it now, this would likely happen and order is important (MRO is better).
I'll merge as is and write the docs tomorrow

I see it now, this would likely happen and order is important (MRO is better).
I'll merge as is and write the docs tomorrow

We could possibly expand on the tests to be sure we have a contract of that the behavior would be.


[Bug]: SyntaxError: Unexpected token 'export' after upgrading to 28.0.3

Version
28.0.3
Steps to reproduce
Full PR with the failing build is here https://github.com/OctoLinker/OctoLinker/pull/1563
Expected behavior
Prior to v28 this project built just fine, but now we're getting SyntaxError: Unexpected token 'export' errors from the jsonpath-plus package. As far as I can tell that package has the correct exports for use with jsdom like we're using.
If I make the module changes from the docs then I start to get dozens of other errors so I don't think that's the correct fix here unless there's something else I'm missing. The errors I start to get when making the ESM changes is:
ReferenceError: require is not defined

  2 | import path from 'path';
  3 | import fetchMock from 'jest-fetch-mock';
> 4 |
    | ^
  5 | jest.mock('path');
  6 |
  7 | global.fetch = fetchMock;

  at _getJestObj (_jestsetup.js:4:18)
  at _jestsetup.js:1:1

Actual behavior
/home/runner/work/OctoLinker/OctoLinker/node_modules/jsonpath-plus/dist/index-browser-esm.js:1056
export { JSONPath };
^^^^^^

SyntaxError: Unexpected token 'export'

> 1 | import { JSONPath as jsonPath } from 'jsonpath-plus';
    | ^
  2 |
  3 | export default function (blob, plugin, config) {
  4 |   let results = [];

Full build log with the errors is here https://github.com/OctoLinker/OctoLinker/runs/6281420294?check_suite_focus=true#step:7:281
Additional context
No response
Environment
System:
  OS: Linux 5.13 Ubuntu 20.04.4 LTS (Focal Fossa)
  CPU: (2) x64 Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz
Binaries:
  Node: 16.14.2 - /opt/hostedtoolcache/node/16.14.2/x64/bin/node
  Yarn: 1.22.18 - /usr/local/bin/yarn
  npm: 8.5.0 - /opt/hostedtoolcache/node/16.14.2/x64/bin/npm
npmPackages:
  jest: ^28.0.3 => 28.0.3

This is https://jestjs.io/docs/upgrading-to-jest28#packagejson-exports, see<EMAIL_ADDRESS>You'll need to either get jsonpath-plus to have a CJS entry point for the browser, or use one of the other workarounds listed in the upgrade guide


Some zoom levels look oversimplified

Migrating over from Trello...
From Brett:
Certain geometries look a little bit oversimplified. And with retina displays, we don't have a good option if we have already pre-simplified to a particular zoom. We might want to be a little bit more conservative with the simplifications.

From Rob in Trello:
One possible approach could be to use a more aggressively simplified version of the geometries for query purposes in the where clause, and use a less simplified version for use for rendering.
Maybe this will also have an effect on the tile tearing?

I don't think my earlier comments are relevant any more. It was at a time when we were querying different geometry columns that were pre-simplified a little for optimization purposes to speed up the intersects function, but that's been moved to python now.
The tile seam in that link is resolved now too, at least to my eye :)

@bcamper Do you think this is relevant anymore? We already have an issue to use VW simplification instead of DP, I think that would make the line fidelity per zoom look better. But I'm not seeing any specific examples that look over generalized. Propose closing this "configuration changed".

Yes I think this is covered by other issues, and we'll be re-evaluating anyway once those are done.


Center Content on home page//reinstate columns

Curious if it's a possibility to center the "publications", "latest news", and "projects" sections on the home page. Or if not possible determine to the two columns

@charrismatic Do you by any chance have insight on this?

This is managed by Hugo, recommend marking as closed. If edits are needed, we will need to change the Hugo template.


Installing docker-compose on openSUSE

Please, add a note on installing docker-compose on openSUSE (as per current version Tumbleweed 20180703) referring to https://en.opensuse.org/SDB:Docker. That currently installs Docker version 17.09.1-ce and docker-compose version 1.21.2. It seems to fit on https://docs.docker.com/install and https://docs.docker.com/compose/install/#install-compose.
Side notes:

install/linux/docker-ee/suse.md
issues/3264 - even though openSUSE wasn't supported back then, openSUSE now has docker as per above. Hence why not promote it?

Closing this ticket due to its age, and the impending refactor. If you think this is in error, feel free to reopen. Thanks!


[#5012] add published+review_started as HSTERMS

Resolves #5012
Release in conjunction with https://github.com/hydroshare/hsmodels/pull/41

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

@sblack-usu I would love to add @rdf_terms decorator on the ResourceAccess class for these 2 properties
https://github.com/hydroshare/hydroshare/blob/5012-hsterms/hs_access_control/models/resource.py#L45
But since "ResourceAccess" isn't an HSTERM yet, I'm not sure it's possible. Because the decorator takes a class_term
https://github.com/hydroshare/hydroshare/blob/5012-hsterms/hs_core/hs_rdf.py#L180
Should I add ResourceAccess to HSTERMS as well? ... thanks

METRIC
VALUE

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-5020

thanks @sblack-usu good call updating the rdf_triples method!
I've got that all set. The failing tests will pass once we update the hsmodels used in the base image
Bit of a chicken/egg here. Is it okay if I merge https://github.com/hydroshare/hsmodels/pull/41? We have the version of hsmodels pinned in the HS base image, but looks like not pinned in hsclient... might need your advice on the timing of things...

@devincowan - we need to coordinate a release of hsmodels/hsclient.  Sounds like releasing hsmodels first then releasing hsclient when hydroshare is deployed is the way to go.  I have a couple of other PRs sitting in hsmodels that I would like to get merged before we do a release.

Making a note here while I have it on my mind...we will discuss--I propose we:

Create a 0.5.5 release of hsmodels that contains all of the updates we want
Update the hs_docker_base image with the new hsmodels release and push the new image to DockerHub
Include the new hsmodels version in this PR by updating the Dockerfile to use the new image version
Create a separate PR of hsclient that uses the new version of hsmodels. We release this PR of hsclient at the same time that we release the HS PR.

@sblack-usu tests are passing now with the updated base image (which contains new hsmodels as well as some dependabot security upgrades). Requesting re-review.


Discuss: Should we check for a11y just before navigating instead of just after navigating

If we check just before we leave a page, more fields may have been revealed during the course of answering questions. Of course, maybe some fields would have been hidden, but that's not as common.

IMO this isn't a big deal for a few reasons, strongest to weakest:

most users don't actually need to check accessibility of fields. They're the same for all of docassemble, and if there are accessiblity issues, authors can't fix them, they have to be fixed upstream.

this tool's been useful for finding some of those issues, but what we need is just an interview with all fields types in it that fets continually checked in a different repo. I might set that up.

what you already said about the fact there's no actual gurantee that more fields will be shown. It's not strong enough an assumption to refactor the code IMO.
It matches what a user might experience more if we check on page landing (i.e. is this page I just landed on accessible) than at the end. I can't think of anything that would change the page to falsely pass more tests though.

Overall, I'm not sure a change in the timing like this would have much of a tangible benefit for most interviews.

Agreed, just after the pic would be great. Probably not too hard, since we can take the screenshot (maybe manually?) right when we add the info to the report.

Added the note to #748.


Rules matching on README.md

Found some typos and wrong links on README.
I think the only 'polemic' change might be the mapping between prefer-arrow-callback and only-arrow-functions, but I do think they kind of serve the same purpose.
Please let me know what you think!
Thanks

@jcristovao , for future reference, try to edit the file /src/readme/rules.ts and then run gulp readme to make changes to the table. I'll make those changes soon so that there are no mismatches later on.


Upgrade tool needed for Forseti 2.0

#1806
Substantial amount of effort required (1 eng mo). Upgrade process should also work with Terraform. In the meantime, mention to users to follow manual upgrade process.

Things to think about:

Understand volume of customers who are using a feature that are about to break. That way we can forecast how big a deal this change is likely to be.
Need to give lots of notice on breaking changes in general. What kind of notice window do we think is right?
How do we minimize breaking changes that might happen a few times in a row? Can we group these up?

This tool would have helped to manage an upgrade breaking change in #1982.

Addressed by Forseti Terraform installer.


Can't use flutter after Android Studio update. Please help

C:\Users\Shoony>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.1, on Microsoft Windows [Version 10.0.19041.572], locale en-IN)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
X Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[!] Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
X android-studio-dir = =C:\Program Files\Android\Android Studio^Z^Z
X Android Studio not found at =C:\Program Files\Android\Android Studio^Z^Z
[!] Connected device
! No devices available
! Doctor found issues in 3 categories.
C:\Users\Shoony>flutter doctor --android-licenses
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
at com.android.repository.api.SchemaModule$SchemaModuleVersion.(SchemaModule.java:156)
at com.android.repository.api.SchemaModule.(SchemaModule.java:75)
at com.android.sdklib.repository.AndroidSdkHandler.(AndroidSdkHandler.java:81)
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73)
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 5 more

Some on stackoverflow suggested this to change dir of android studio.
I'm novice to SD

  X android-studio-dir = =C:\Program Files\Android\Android Studio^Z^Z

Hi @Sh00ny
Possible duplicated issue #62924 .
Thank you

Yes this is a duplicate of https://github.com/flutter/flutter/issues/62924.
@Sh00ny please follow the logs instructions to finish setup Android Studio. If that does not works for you you may want to try https://github.com/flutter/flutter/issues/62924#issuecomment-668958881 and see if it works for you.
Closing as duplicate.

Yes this is a duplicate of #62924.
@Sh00ny please follow the logs instructions to finish setup Android Studio. If that does not works for you you may want to try #62924 (comment) and see if it works for you.
Closing as duplicate.

Can you please give me step by step instructions? I'm new to programming. I'm using windows.

You can follow the steps described in https://flutter.dev/docs/get-started/install/windows#android-setup

You can follow the steps described in https://flutter.dev/docs/get-started/install/windows#android-setup

You mean I have to reinstall android studio and all this setup?

No, just follow the steps that are required.

No, just follow the steps that are required.

Followed the steps yet same error. Nothing got fixed.

Thank you all for your efforts and help.
I managed to solve the issue. It was java that was causing issue.
I reinstalled Java 8 and it works.


CLI version?

I'd like to run $ ftp-srv as I run http-server, from CLI. Is that possible? I could work on this if it makes sense. Let me know.

You could make a CLI using something like commander.js or yargs.
I think it would make sense to have this built into this module, in a bin.js file or something that implements the necessary wrapping to run as a cli.


Using count for Set Membership Check

Instead of find and comparing to end(), using count to check for membership in the std::unordered_set. which is more efficient.

Checkout this benchmark where count is faster than find - https://quick-bench.com/q/F_JiLDSu-7tQVgb-pHqPSoDxQsc

That's for a container of a smaller size, I don't think that is that relevant here.
If you have a user-level macro benchmark that proves this is an optimization I'll reopen, but just fudging with a micro benchmark to change numbers doesn't work

Also, your benchmark seems influenced by noise, rerunning gives https://quick-bench.com/q/F_JiLDSu-7tQVgb-pHqPSoDxQsc

That is, clearing the cache and rerunning generates new results. Your link now proves the contrary of what you've said.


Infinite Scroll is not work when page has a Virtual list

I have a cus page, want to some features: infinite-scroll, pull-to-refresh, searchbar, but infinite-scroll event is never fired?
my page html:
`

`

Hi, can you please post a jsfiddle or codepen example so we can reproduce this issue? Thanks.

http://www.jsfiddle.net
http://www.codepen.io

Note: Please post your runnable example within 1 week, otherwise this issue will be closed.


Support release names that are not "redpanda"

If you specified a release name like "my-redpanda" the cluster would not
form as the dns name of the instances was not "redpanda-0" any longer
but was "my-redpanda-0".

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

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

NIT: Should we bump version in Chart.yaml file from 0.1.0 to 1.0.0?

NIT: Should we bump version in Chart.yaml file from 0.1.0 to 1.0.0?

I'll update the chart version in another commit.

I'll update the chart version in another commit.


The cause of IDEA becoming unresponsive and freezing.

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS:windwos11
- Continue:0.56
- IDE:idea 2023.2.2
- Model:
- config.json:

Description
This issue occurs repeatedly when using the new UI, but generally doesn't happen with the old UI.
To reproduce
1、settings
2、enable new UI
3、wait a moment
4、freezing……
Log output
No response

I got the same issue.
OS:windwos11
Continue:0.0.56
IDE:IntelliJ IDEA 2<IP_ADDRESS> (Community Edition) and PyCharm 2024.2 (Community Edition)

I got the same issue. OS:windwos11 Continue:0.0.56 IDE:IntelliJ IDEA 2<IP_ADDRESS> (Community Edition) and PyCharm 2024.2 (Community Edition)

Same on Continue:0.0.62


Presentation mode is demo.gethue.com is not good

Describe the bug:
Presentation Mode in demo.gethue.com is bugged.
Steps to reproduce it?

Go to demo.gethue.com

Run a query

Open presentation mode

Above is when we are in presentation mode and by clicking 'X', we exit presentation mode.

We cant edit the query too like we used to do before in previous mode.

Thanks @Harshg999 !
This brings a good point if it should stay read only or not, or at least in v1. Concept: one and only one location where to edit to keeo simple.
For sure we need to update the styling a bit to feel cleaner/leaner (e.g. unify close button to be like expand, scroll back to top/left etc...), show on hover etc and noticing that empty titles are ugly 'Add -- comments...'.
@JohanAhlen

And probably:
Keep | Exec/stop all |
-- | -- | --
  | Vars |
  | 10 rows height |
  | Download/Copy |
  |   |
  | Titles --> auto add --  |
  | Open as Preso? |
  |   |
Drop | Edit |
  | Show/hide code? |


Update virtual-machines-common-sizes-general.md

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@brettkuhlman : Thanks for your contribution to the Azure documentation! The author, @azdocprs, has been notified to review your proposed change.

@cynthn, Please review and if you approve the changes, sign off so that automation adds the "ready-to-merge" label. Thanks.

@cynthn - Please review the proposed changes.  Thanks

@jonbeck7 Jon, can you review these proposed changes and if they are okay, put in a # sign - off message?

@brettkuhlman - Please resolve the merge conflict. Thanks

#please-close @brettkuhlman thanks for your contribution! It looks like the author has made the changes to the file in a separate PR.


Bug: can not convert multiple fonts

If you add multiple fonts to the online converter it fails with this error in the console:
Uncaught TypeError: Cannot read properties of undefined (reading 'symbols')
    at generate_opts_string (index.js:37907:16)
    at HTMLFormElement.handleSubmit (index.js:37987:22)

@neuschaefer, I think it's a regression due to the recent changes. Could you take a look at it?

As far as I can see, it's fixed in #108.

I confirm that it's fixed by #108. Thank you!
The online converter is updated.


Update the OpenDP security policy

Add a Security.md file with appropriate process in place regarding contacts

Use the SmartNoise information  as a template
Consider adding instructions for encrypting the bug report with a public key

Enable CodeQL, code scanning, and secret scanning

(https://github.com/opendp/opendp/settings/security_analysis#code_scanning_settings)

Main items are done: CodeQL is running, and SECURITY.md is in place.

Filed #1122 for remaining item.


【Hackathon No.21】

添加 SoftMarginLoss的设计文档

 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.miao.du seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

你的 PR 提交成功，感谢你对于开源项目的贡献，请检查 PR 提交格式和内容是否完备，具体请参考示例和模版。

PR 格式检查通过，你的PR 将接受Paddle 专家以及开源社区的review，请及时关注PR 动态


Proper publishing

The groupId in the pom.xml is lowercase while the group for the repository is mixed-case. This creates fun like this:

Here is a demo project for the problem.
The master branch has the problem, the workaround branch uses this workaround.
Even though with the workaround everything is fine, this should really be fixed on the repository.
I have seen that beta5 seems to be published mixed case (with the wrong pom) and all lowercase (which works fine)
In case this is regarding this exact issue, then updating the release notes might be appropriate.

The issue here is that the lib is only destributed via Jitpack. Jitpack is not really nice when it comes to problems like this, I suppose when this lib gets published into a "real" maven repository the issue will be fixed.

I am not using jitpack though...
https://github.com/DasBabyPixel/NPC-Lib-Demo/blob/68ac91302b97440fde1306e9282769a5f3e67d3a/build.gradle.kts#L7

My repository is a partial jitpack mirror due to the unreliability of jitpack.

Now that does make sense.
Any time frame on a "real" repository?
Or maybe publishing to central?

Update: I've just published the latest 3.0.0 snapshot to sonatype (repo url is https://s01.oss.sonatype.org/). The project is now using the group id io.github.juliarn. Can you let me know if everything works as expected now?

Everything seems to work correctly now with sonatype.
Might want to add documentation for future reference.

Will do that, thanks for testing! 😄


y'all how do i make a dataset?

Is there any template that can guide me onto creating a dataset?. PS I have folders and folders, txt files and csv files. How do i convert them into a dataset???
And I wanna train this uncensored model of llama3 bartowski/Lexi-Llama-3-8B-Uncensored-GGUF/Lexi-Llama-3-8B-Uncensored-IQ4_XS.gguf
How do i do it?
Any help will be appreciated 🙏

Converting raw text into a dataset sadly is a tough task itself. I would try some data augmentation tool - sadly I'm not an expert in this field, so my opinions are most likely wrong


Add support for MCUboot

MCUboot support was added for the ESP32-C3 in #49, we should continue adding support for additional devices. There is interest in this from other teams within Espressif currently, and as such it is likely a useful feature for some community members as well.
See esp32c3_hal/src/lib.rs as a reference. Note that additional changes to linker scripts are required, too.

[ ] ESP32
[ ] ESP32-C2
[ ] ESP32-C3
[ ] ESP32-C6
[ ] ESP32-H2
[ ] ESP32-S2
[ ] ESP32-S3

In the meantime, support for ESP32-C3 was removed

I'm going to close this for now, as we have no plans on working on this any time soon. We can open a new issue if we decide to re-visit this.


Unable to find component sensor.hikvision

Home Assistant release (hass --version):
0.50.0.dev
Python release (python3 --version):
3.5.2
Component/platform:
sensor.hikvision
Description of problem:
2017-07-26 10:47:56 ERROR (MainThread) [homeassistant.loader] Unable to find component sensor.hikvision
Expected:
Component should be found :)
Problem-relevant configuration.yaml entries and steps to reproduce:
- binary_sensor:
  platform: hikvision
  host: <IP_ADDRESS>
  username: !secret hikvision_username
  password: !secret hikvision_password

Format error.
binary_sensor:
  platform: hikvision
  host: <IP_ADDRESS>
  username: !secret hikvision_username
  password: !secret hikvision_password

See https://home-assistant.io/docs/configuration/yaml/


perf(hashkey): refine the memory reserving for SerializedKey

I think it is not good enough, we can get each row's value encoding size like https://github.com/risingwavelabs/risingwave/pull/8924. And after that, we can avoid any grow of the vec

Originally posted by @st1page in https://github.com/risingwavelabs/risingwave/pull/8885#discussion_r1162656430

More info from @st1page offline:

In nexmark q17, it works well because all the string have the same length and they comes from date, but we need to optimize it in more case :h

Additionally:

Fixed size key should use different estimation, it does not use value encoding.
Serialized key can use value encoding estimation, since that's how its currently encoded.


[Bug] class CustomTracer in mmrazor/models/task_modules/tracer/fx/custom_tracer.py: init() takes 1 positional argument but 3 were given

Checklist

I have searched related issues but cannot get the expected help.
I have read related documents and don't know what to do.

Describe the question you meet
I follow the issue #554 to implement a PTQ of YOLOX with the recommended configs, but a error is reported that "class CustomTracer in mmrazor/models/task_modules/tracer/fx/custom_tracer.py: init() takes 1 positional argument but 3 were given"
Post related information

The output of pip list | grep "mmcv\|mmrazor\|^torch"

mmcv                    2.0.0rc4
mmrazor                 1.0.0
torch                   1.10.2+cu113
torchvision             0.11.3+cu113
mmyolo                  0.5.0
mmdet                   3.0.0

Your config file if you modified it or created a new one.

base_ = [
    'mmyolo::yolov5/yolov5_n-v61_syncbn_fast_8xb16-300e_coco.py',
    '../../deploy_cfgs/mmdet/detection_openvino_dynamic-800x1344.py'
]
_base_.val_dataloader.batch_size = 32

test_cfg = dict(
    type='mmrazor.PTQLoop',
    calibrate_dataloader=_base_.val_dataloader,
    calibrate_steps=32,
)

float_checkpoint = xxx

global_qconfig = dict(
    w_observer=dict(type='mmrazor.PerChannelMinMaxObserver'),
    a_observer=dict(type='mmrazor.MovingAverageMinMaxObserver'),
    w_fake_quant=dict(type='mmrazor.FakeQuantize'),
    a_fake_quant=dict(type='mmrazor.FakeQuantize'),
    w_qscheme=dict(
        qdtype='qint8', bit=8, is_symmetry=True, is_symmetric_range=True),
    a_qscheme=dict(qdtype='quint8', bit=8, is_symmetry=True),
)

model = dict(
    _delete_=True,
    type='mmrazor.MMArchitectureQuant',
    architecture=_base_.model,
    deploy_cfg=_base_.deploy_cfg,
    float_checkpoint=float_checkpoint,
    quantizer=dict(
        type='mmrazor.OpenVINOQuantizer',
        global_qconfig=global_qconfig,
        tracer=dict(
            type='mmrazor.CustomTracer',
            skipped_methods=[
                'mmyolo.models.dense_heads.yolov5_head.YOLOv5Head.predict_by_feat',  # noqa: E501
                'mmyolo.models.dense_heads.yolov5_head.YOLOv5Head.loss_by_feat',
            ])))

model_wrapper_cfg = dict(
    type='mmrazor.MMArchitectureQuantDDP',
    broadcast_buffers=False,
    find_unused_parameters=True)

custom_hooks = []

default_hooks = dict(
    checkpoint=dict(save_best=None)
)

Your train log file if you meet the problem during training.

Traceback (most recent call last):
  File "/home/conda/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 122, in build_from_cfg
    obj = obj_cls(**args)  # type: ignore
  File "/work_path/mmrazor/mmrazor/models/task_modules/tracer/fx/custom_tracer.py", line 238, in __init__
    super(CustomTracer, self).__init__(skipped_module_names,
TypeError: __init__() takes 1 positional argument but 3 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/conda/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 122, in build_from_cfg
    obj = obj_cls(**args)  # type: ignore
  File "/work_path/mmrazor/mmrazor/models/quantizers/native_quantizer.py", line 133, in __init__
    super().__init__(tracer)
  File "/work_path/mmrazor/mmrazor/models/quantizers/base.py", line 27, in __init__
    self.tracer = TASK_UTILS.build(tracer)
  File "/home/conda/lib/python3.8/site-packages/mmengine/registry/registry.py", line 548, in build
    return self.build_func(cfg, *args, **kwargs, registry=self)
  File "/home/conda/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 144, in build_from_cfg
    raise type(e)(
TypeError: class `CustomTracer` in mmrazor/models/task_modules/tracer/fx/custom_tracer.py: __init__() takes 1 positional argument but 3 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/conda/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 122, in build_from_cfg
    obj = obj_cls(**args)  # type: ignore
  File "/work_path/mmrazor/mmrazor/models/algorithms/quantization/mm_architecture.py", line 75, in __init__
    self.quantizer = MODELS.build(quantizer)
  File "/home/conda/lib/python3.8/site-packages/mmengine/registry/registry.py", line 548, in build
    return self.build_func(cfg, *args, **kwargs, registry=self)
  File "/work_path/mmrazor/mmrazor/registry/registry.py", line 49, in build_razor_model_from_cfg
    razor_model = build_from_cfg(cfg, registry, default_args)
  File "/home/conda/lib/python3.8/site-packages/mmengine/registry/build_functions.py", line 144, in build_from_cfg
    raise type(e)(
TypeError: class `OpenVINOQuantizer` in mmrazor/models/quantizers/openvino_quantizer.py: class `CustomTracer` in mmrazor/models/task_modules/tracer/fx/custom_tracer.py: __init__() takes 1 positional argument but 3 were given

Other code you modified in the mmrazor folder.

No

hi, have you solved this? I also face the error and have no idea


Lot of logs entries : 'OnNext called while another OnNext call was in progress on the same Observer.'

I'm currently working on a project that heavily utilizes logging, and I've noticed numerous log entries stating: 'OnNext called while another OnNext call was in progress on the same Observer.'
Is there an issue with this?
Can they be deleted?
Thanks

'OnNext called while another OnNext call was in progress on the same Observer.'

sounds wrong for sure, do u have a sample

The pre-release <IP_ADDRESS> in the Reactive.XAF lab branch  includes commits that relate to this task:

PopulateAdditionalObjectSpaces logs multiple OnNext warning #1054

To minimize version conflicts we recommend that you use the Xpand.XAF.Core.All, Xpand.XAF.Win.All, Xpand.XAF.Web.All packages. Doing so, all packages will be at your disposal and .NET will add a dependecy only to those packages that you actually use and not to all (see the Modules installation-registrations youtube video).

Released packages:
No packages released.

Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.
If you do not use these packages directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.
Thanks a lot for your contribution.


[Fix](table property) Fix table property disable_auto_compaction

Proposed changes
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

add testcase

run buildall

run buildall

run pipelinex_p0