Build fail on Zeek 4.1.1

🐛 Summary
Build fails on Ubuntu:
root@ubuntu-linux-22-04-desktop:/usr/local/zeek/bin# uname -a
Linux ubuntu-linux-22-04-desktop 5.15.0-87-generic #97-Ubuntu SMP Tue Oct 3 09:52:42 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

root@ubuntu-linux-22-04-desktop:/usr/local/zeek/bin# ./zeek -v
./zeek version 4.1.1

Error when installing the plugin:
root@ubuntu-linux-22-04-desktop:/usr/local/zeek/bin# ./zkg install icsnpp-opcua-binary
The following packages will be INSTALLED:
  zeek/cisagov/icsnpp-opcua-binary (main)

Proceed? [Y/n] y
Running unit tests for "zeek/cisagov/icsnpp-opcua-binary"
error: failed to run tests for zeek/cisagov/icsnpp-opcua-binary: package build_command failed, see log in /usr/local/zeek/var/lib/zkg/logs/icsnpp-opcua-binary-build.log
Proceed to install anyway? [N/y] y
Installing "zeek/cisagov/icsnpp-opcua-binary"..
Failed installing "zeek/cisagov/icsnpp-opcua-binary": package build_command failed, see log in /usr/local/zeek/var/lib/zkg/logs/icsnpp-opcua-binary-build.log
error: incomplete installation, the follow packages failed to be installed:
  zeek/cisagov/icsnpp-opcua-binary (main)

To reproduce
Steps to reproduce the behavior:

./zkg install icsnpp-opcua-binary

Expected behavior
What did you expect to happen that didn't?
Install the plugin, but it did not.
Any helpful log output or screenshots
Paste the results here:
=== STDERR ===
make: [Makefile:12: build-it] Error 1 (ignored)
/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/src/OPCUA_Binary.cc: In member function ‘virtual void analyzer::ICSNPP_OPCUA_Binary::OPCUA_Binary_Analyzer::DeliverStream(int, const u_char*, bool)’:
/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/src/OPCUA_Binary.cc:79:17: error: ‘AnalyzerViolation’ was not declared in this scope
   79 |                 AnalyzerViolation(zeek::util::fmt("Binpac exception: %s", e.c_msg()));
      |                 ^~~~~~~~~~~~~~~~~
make[3]: *** [CMakeFiles/ICSNPP-OPCUA_Binary.linux-aarch64.dir/build.make:123: CMakeFiles/ICSNPP-OPCUA_Binary.linux-aarch64.dir/src/OPCUA_Binary.cc.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:202: CMakeFiles/ICSNPP-OPCUA_Binary.linux-aarch64.dir/all] Error 2
make[1]: *** [Makefile:136: all] Error 2
make: *** [Makefile:13: build-it] Error 2
=== STDOUT ===
Build Directory        : build
Zeek Source Directory   :
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test cxx17_already_works
-- Performing Test cxx17_already_works - Success
-- Found BinPAC: /usr/local/zeek/bin/binpac
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Broker: /usr/local/zeek/lib/libbroker.so
-- Zeek executable      : /usr/local/zeek/bin/zeek
-- Zeek source          :
-- Zeek build           :
-- Zeek install prefix  : /usr/local/zeek
-- Zeek plugin directory: /usr/local/zeek/lib/zeek/plugins
-- Zeek debug mode      :
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build
( cd build && make )
make[1]: Entering directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[2]: Entering directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Entering directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Leaving directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Entering directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
[  5%] [BIFCL] Processing src/events.bif
make[3]: Leaving directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
[  5%] Built target bif-plugin-ICSNPP_OPCUA_Binary-events.bif
make[3]: Entering directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Leaving directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Entering directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Leaving directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
[  5%] Built target copy-scripts-ICSNPP_OPCUA_Binary
make[3]: Entering directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Leaving directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Entering directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
[ 11%] [BINPAC] Processing src/opcua_binary.pac
make[3]: Leaving directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
[ 11%] Built target pac-opcua_binary.pac
make[3]: Entering directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Leaving directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Entering directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
[ 16%] [BIFCL] Processing src/types.bif
make[3]: Leaving directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
[ 16%] Built target bif-plugin-ICSNPP_OPCUA_Binary-types.bif
make[3]: Entering directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Leaving directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Entering directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
[ 22%] Creating __bro_plugin__ for ICSNPP::OPCUA_Binary
make[3]: Leaving directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
[ 22%] Built target bro-plugin-ICSNPP_OPCUA_Binary
make[3]: Entering directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Leaving directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
[ 22%] Built target generate_outputs
make[3]: Entering directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Leaving directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Entering directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Leaving directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
[ 22%] Built target bif-init-ICSNPP_OPCUA_Binary
make[3]: Entering directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Leaving directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[3]: Entering directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
[ 27%] Building CXX object CMakeFiles/ICSNPP-OPCUA_Binary.linux-aarch64.dir/src/OPCUA_Binary.cc.o
make[3]: Leaving directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[2]: Leaving directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
make[1]: Leaving directory '/usr/local/zeek/var/lib/zkg/clones/package/icsnpp-opcua-binary/build'
root@ubuntu-linux-22-04-desktop:/usr/local/zeek/bin#

Successfully installed it on Zeek 5.0.10 without any problems.

Apologies - the zkg.meta configuration requirements were a bit dated, but have been updated.  See https://github.com/cisagov/icsnpp-opcua-binary/pull/82 for details.
Good to know it works under v5.0.10 as well.


DataMovement StorageResource construction refactor | Part 2

Providers accept creds on construction.

API change check
API changes are not detected in this pull request.


tornado access error 404 and 200, visdom cannot work suddenly

The visdom does not work suddenly (which means it worked before). The only thing changed during this time in this project is sys.path because I could not import py file in subfolder. After I did some modifications on sys.path including sys.path.append() and etc. My visdom suddenly cannot work and show the errors below.

I have all the json files in static/js and all the css files in static/css needed because visdom used to run successfully before. And as the screenshot shows, it is trying to access .map file instead of .js and .css file, which I don't understand.
Very Grateful if someone can help me!
Thank you very much!

(xxx) D:>python -m visdom.server
Checking for scripts.
It's Alive!


Add "simple view" mode

It just hide elements from view when simple_view received from server.
Resolving #474

Failed test if one of the flapping ones (#380) which I haven't yet tackled. A restart of the tests should show no errors on the backend (due to lack of changes).

I've restarted test, it shows failed frontend checks  https://github.com/umputun/remark/commit/280c0c0971abfa5a2c0477871f9822c83cdb85c2/checks?check_suite_id=377582109#step:9:297

@umputun yeah, my mistake.
I fixed it and added typescript checking on pre-push to prevent similar situations in the future.

seems to hide all it supposed to hide, however,  spacing on top looks strange

styles ok, however, you missed reply box:

looks like reply box has the same style issue:

I think you've missed edit box

@umputun I hope it last place :)

LTGM, thx


feat: Support ordering LogEvent's

Fixes #40
The tests aren't great, but they work
# kayo @ ClockTower in ~/workspace/tracing-cloudwatch on git:ordering x [19:08:06]
$ cargo test
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
     Running unittests src/lib.rs (target/debug/deps/tracing_cloudwatch-420ac1eb2f0a2867)

running 3 tests
test export::tests::does_not_order_logs_by_default ... ok
test layer::tests::format ... ok
test layer::tests::with_fmt_layer_json ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

   Doc-tests tracing_cloudwatch

running 2 tests
test src/lib.rs - (line 11) ... ignored
test src/lib.rs - (line 37) ... ignored

test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s

# kayo @ ClockTower in ~/workspace/tracing-cloudwatch on git:ordering x [19:09:09]
$ cargo test --features ordered_logs
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
     Running unittests src/lib.rs (target/debug/deps/tracing_cloudwatch-b9d2b1e831be7a41)

running 3 tests
test export::tests::ordering::orders_logs_when_enabled ... ok
test layer::tests::format ... ok
test layer::tests::with_fmt_layer_json ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

   Doc-tests tracing_cloudwatch

running 2 tests
test src/lib.rs - (line 11) ... ignored
test src/lib.rs - (line 37) ... ignored

test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s

Thank you for PR.
I'm planning to release it as version 0.3.0.
Since we format Cargo.toml with cargo-sort, please try running cargo sort.

Interesting.. I assume that CI check is new? the change after running sort isn't related to my change:
diff --git a/Cargo.toml b/Cargo.toml
index 2124886..51d21ba 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -35,6 +35,7 @@ tracing-subscriber = { version = "0.3", default-features = false, features = [

 [dev-dependencies]
 aws-config = "1"
+insta = "1.40.0"
 tokio = { version = "1.28.0", features = [
   "rt",
   "rt-multi-thread",
@@ -43,4 +44,3 @@ tokio = { version = "1.28.0", features = [
 ] }
 tracing = "0.1.37"
 tracing-subscriber = { version = "0.3.17", features = ["json"] }
-insta = "1.40.0"

I'm sorry for asking you to make changes in areas unrelated to PR

That's okay! No worries


docs(quickstart): fix indentation

Corrected indentation

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind new feature
/kind bug fix
/kind cleanup
/kind revert change
/kind design
/kind documentation
/kind enhancement

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Test Report Added?:

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind TESTED
/kind NOT-TESTED

Test Report:

Special notes for your reviewer:

@noelmcloughlin This is how the change looks in the preview.

The theme has some issue / feature where the list is shown in code blocks.

Thanks @anvithks for reviewing


Improve gltf support

Linked to #1639

Fixed model loading for the raylib logo (because it had inidicies in whole INTs and not shorts as raylib expects them)
Animated triangle doesn't crash the program (because it doesn't have normals)

General improvements:

Removed accessor read macro and replaced it with a function for reading values from an accessor (same function I intruduced for loading gltf animations)
Split bigger sections from the load gltf model function into an appropriate functions for easier maintainability.
Added support for loading int type vertices and normals.

Models still not working:

GearboxAssy.glb is still not being loaded correctly and needs improvement before we close the issue.
Support for morph animations can be considered as another issue.

@raysan5 Please take a look and see if you want something renamed or set up differently. I prefer to commit on a more managable chunks so I prefer to commit this and continue with fixing the GearboxAssy later when I have time or let someone else have a go. :)

@object71 Oh, sorry, just seen the PR while working on some big changes (commit https://github.com/raysan5/raylib/commit/01e28263be9869b28acae5cf1128472269626edb). Please, could you review the conflicts before integration?

Yeah, just resolving the conflicts :) Be ready in a minute

@raysan5 I merged it but wait for all the checks still.

@object71 Merged! Thank you very much for the improvement! I'll review the functions name if I find it convenient.


TeX translation could be improved for numbers

Issue Summary
The translation for numbers containing spaces or commas could be improved
Issue details:

With this input 16\,807 MathJax will produce the following MathML when using "copy to clipboard:mathml"

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block" data-semantic-type="infixop" data-semantic-role="implicit" data-semantic-annotation="clearspeak:unit" data-semantic-id="4" data-semantic-children="0,2" data-semantic-content="3" data-semantic-speech="16 807">
  <mn data-semantic-type="number" data-semantic-role="integer" data-semantic-font="normal" data-semantic-annotation="clearspeak:simple" data-semantic-id="0" data-semantic-parent="4">16</mn>
  <mstyle scriptlevel="0">
    <mspace width="0.167em" data-semantic-type="operator" data-semantic-role="space" data-semantic-id="3" data-semantic-parent="4" data-semantic-operator="infixop,"></mspace>
  </mstyle>
  <mn data-semantic-type="number" data-semantic-role="integer" data-semantic-font="normal" data-semantic-annotation="clearspeak:simple" data-semantic-id="2" data-semantic-parent="4">807</mn>
</math>

Notice that the number is broken up into two mn's. Also notice that SRE is interpreting the space as multiplication. Although it is possible this is what is meant, I think it is far more likely that this is meant to be a single number. Context and digit block counting could be used to choose one interpretation in favor of another.
A similar issue arises when using,. E.g.,  7^5=16,807. In this case, context clearly points to 16,807 being a single number.
This poor translation will effect speech. Potentially it affects braille generation also.
Technical details:

MathJax Version: 3 (lastest) -- output is from https://mathjax.github.io/MathJax-demos-web/input-tex2chtml.html

The TeX parser interprets an expression for the purpose of visual rendering. Making a decision on an authors intention is not really the job of a syntax parser. Interpreting spaces between numbers is highly context sensitive and locale dependent. You suggest counting digit blocks, so how would you interpret expressions like: 10\,10\,100, 10\,10\,10, 1\,2\,3, without any context information? Or, for that matter, 10^4 = 100\,100?

7^5=16,807 in LaTeX renders with an explicit space after the comma, hence it has to be interpreted as comma separated values. In order to get a single number in LaTeX you have to explicitly make the comma a non-punct: 16{,}807. This results in no space after the comma and a single number in LaTeX, in MathJax and consequently in its MathML output.

Please note, that any syntax conversions in MathJax are just that: conversion between purely syntactic representations, i.e., LaTeX, MathML or AsciiMath. The goal is to retain visual equivalence. Making a leap of faith interpretation could destroy that.
I would argue that a clear separation of syntax and semantic is important. Semantic interpretation should be left to a higher level recognition process, in our case it is done by SRE, which effectively only uses spatial layout and pattern recognition to build its own representation. (For an --- outdated version --- of what that tree looks like have a look here: https://zorkow.github.io/semantic-tree-visualiser/visualise.html) This is embedded without interfering with the visual rendering. (Past issues show that this is not always successful! So I should say minimal interference.)
SRE has a number of heuristics for numbers, some locale dependent. But only a few are currently exposed in MathJax. I might expose a few more for the next release. But I would never claim that any of these will be perfect or indeed will reflect the intentions of authors; so I am sure misinterpretations can be found in the future.


Groom task

Create a new task groom:

Download a project using swcc
Run shapeworks groom on the dataset
Delete the project and reupload it with the freshly groomed results

Add swcc to the development Dockerfile and to the production ansible workbook
Add an API_URL setting that the celery worker can use to communicate with the server
Run the celery container in development in host network mode, which allows it to interact with the other containers over localhost just like the user's browser would. This is necessary for communicating over the API and downloading presigned Minio URLs in the celery container while also having everything work in the browser.

Strangely, DJANGO_API_URL just had to be at the top of the passenv lists. I didn't even know those were ordered  ¯_(ツ)_/¯


AsyncAPI 2.5.0 pre-release notice

This is a notification for code owners of this repository (@fmvilas @boyney123 @mcturco @magicmatatjahu) to be aware of AsyncAPI 2.5.0 pre-releases:

https://github.com/asyncapi/spec/releases/tag/v2.5.0-next-spec.2
https://github.com/asyncapi/spec/releases/tag/v2.5.0-next-spec.3
https://github.com/asyncapi/spec/releases/tag/v2.5.0-next-spec.4
https://github.com/asyncapi/spec/releases/tag/v2.5.0
https://github.com/asyncapi/spec-json-schemas/releases/tag/v2.15.0-next-spec.2
https://github.com/asyncapi/spec-json-schemas/releases/tag/v2.15.0-next-spec.3
https://github.com/asyncapi/spec-json-schemas/releases/tag/v3.2.0
https://github.com/asyncapi/parser-js/releases/tag/v1.17.0-next-spec.1

Note: if there will be new pre-releases I'll update this issue and add them to above list.

Update: Following release candidate of AsyncAPI 2.5.0 spec has been just published:  https://github.com/asyncapi/spec/releases/tag/v2.5.0-next-spec.3

Update: Following release candidates of AsyncAPI 2.5.0 spec has been just published:

https://github.com/asyncapi/spec/releases/tag/v2.5.0-next-spec.4
https://github.com/asyncapi/spec-json-schemas/releases/tag/v2.15.0-next-spec.3

Resolved by https://github.com/asyncapi/studio/pull/442


Service Worker not running when offline and deployed

So the service worker works perfectly in a localhost environment, and seems to install in the deployed environment as well.
My configuration for this the OfflinePlugin is:
new OfflinePlugin({
	caches: {
		main: [
			'index.html',
		],
		additional: [
			':rest:',
		],
	},
	ServiceWorker: {
		events: true,
		navigateFallbackURL: `/${feature.name}`,
		prefetchRequest: { credentials: 'include' },
	},
	safeToUseOptionalCaches: true,
}),

The files are served at a subdirectory of an S3 bucket e.g. somesite.com/${feature}.
The Service Worker is showing that it is running and storing all files, but when I turn my connection off and reload the page - nothing initiates. Chrome also shows no Service Worker is there when I reload while offline.
I am unable to replicate this when I am using localhost (and still serving from a subdirectory statically). Any ideas here? Is this related to headers? We are routing through nginx - but I dont think that should have any implications here, as the subdirectory route at each end is the same.

Can you show me production generated ServiceWorker file? Not whole file, there is JSON metadata in the beginning.

You also may compare it if you development ServiceWorker metadata, maybe there are any significant differences.

Thanks for taking a look at this.
var __wpo = {
  "assets": {
    "main": [
      "/pay/"
    ],
    "additional": [
      "/pay/a37b0c01c0baf1888ca812cc0508f6e2.ttf",
      "/pay/chunk.34b48b1eae3f4ac8ef74eaa8b8db592ce130cd6c.92af6e296ca833ed23f5.js",
      "/pay/chunk.5f1e67d8c1ddf61923660ac94806128420227fca.d7622441084ff953f0e9.js",
      "/pay/chunk.68badce326dd812a1fcef6f7522596715afe25c9.642db068483b0e3e0eed.js",
      "/pay/chunk.7801d5bcec7674dfc26f144265c468c34086c652.83dcbee521921d2b0bdc.js",
      "/pay/chunk.96a00f1e9e5c020b350844c0ce65865477f031fc.566fba33a98747c5e4a7.js",
      "/pay/chunk.a79e8d5762660ad6ea069b6ad06fe48c51a3de87.66601c67fe8999b4cc9b.js",
      "/pay/chunk.dee0b3be1a3346c5cbba5eec3584331aaeb28541.183dfe021cac18abad21.js",
      "/pay/main.d7bca715e79d32b23213.js",
      "/pay/runtime.9fadef04238415a3f950.js",
      "/pay/vendor.38399b85dc8b880b2159.js",
      "/pay/manifest.69efc2a0b3cd5929f939bef970c15424.json",
      "/pay/icon_512x512.c31beaab489a503332b513a8a4a91f50.svg",
      "/pay/icon_384x384.c31beaab489a503332b513a8a4a91f50.svg",
      "/pay/icon_256x256.c31beaab489a503332b513a8a4a91f50.svg",
      "/pay/icon_192x192.c31beaab489a503332b513a8a4a91f50.svg",
      "/pay/icon_128x128.c31beaab489a503332b513a8a4a91f50.svg",
      "/pay/icon_96x96.c31beaab489a503332b513a8a4a91f50.svg",
      "/pay/wpmani.json"
    ],
    "optional": []
  },
  "externals": [],
  "hashesMap": {
    "fc05de31234e0090f7ddc28ce1b23af4026cb1da": "/pay/a37b0c01c0baf1888ca812cc0508f6e2.ttf",
    "fceae8a575721e18227bc8efac6674c3e1c9a538": "/pay/chunk.34b48b1eae3f4ac8ef74eaa8b8db592ce130cd6c.92af6e296ca833ed23f5.js",
    "39312694daf4f584e1610562ca1d19ff1b9792d4": "/pay/chunk.5f1e67d8c1ddf61923660ac94806128420227fca.d7622441084ff953f0e9.js",
    "8c5a6e7c89b14feac74ea2a53b89085f886ac5d3": "/pay/chunk.68badce326dd812a1fcef6f7522596715afe25c9.642db068483b0e3e0eed.js",
    "f75963644df0ca7c6ba87d8c83fa0603d37143c9": "/pay/chunk.7801d5bcec7674dfc26f144265c468c34086c652.83dcbee521921d2b0bdc.js",
    "66f9681887c6451a96389c787d40ab2fdf0efeed": "/pay/chunk.96a00f1e9e5c020b350844c0ce65865477f031fc.566fba33a98747c5e4a7.js",
    "9d473b901ae4005e91ac38065726f01e8122d974": "/pay/chunk.a79e8d5762660ad6ea069b6ad06fe48c51a3de87.66601c67fe8999b4cc9b.js",
    "48e6cc5ba3ec19ddb7d92a4a77d0ff8d78349f35": "/pay/chunk.dee0b3be1a3346c5cbba5eec3584331aaeb28541.183dfe021cac18abad21.js",
    "548fba0d064e466c8532ebcf242603265670c884": "/pay/main.d7bca715e79d32b23213.js",
    "6c3a3260f68c6c5e28624a51c4960c10b81ec262": "/pay/runtime.9fadef04238415a3f950.js",
    "2d6c4cf545a30fd7a4939ab229fa5f3b3cd17d5f": "/pay/vendor.38399b85dc8b880b2159.js",
    "b9603dba120743b9989868f52ca5d5e06d168e7e": "/pay/manifest.69efc2a0b3cd5929f939bef970c15424.json",
    "a215f45facd1390acb49a25fc60193f245288798": "/pay/icon_96x96.c31beaab489a503332b513a8a4a91f50.svg",
    "ac8300068eea32f979f4f91daacd7a99aa0741e3": "/pay/",
    "475149811120effeca4f853d79f9a6dd855e8c65": "/pay/wpmani.json"
  },
  "navigateFallbackURL": "/pay",
  "navigateFallbackForRedirects": true,
  "strategy": "changed",
  "responseStrategy": "cache-first",
  "version": "2018-4-13 17:31:30",
  "name": "webpack-offline",
  "pluginVersion": "4.9.0",
  "relativePaths": false,
  "prefetchRequest": {
    "credentials": "include",
    "mode": "cors"
  }
};

There doesn't seem to be a significant difference between the development metadata and production. I purposefully do my best to simulate prod locally when I develop.

All looks good. Maybe it simply download all the files for installation? e.g. some of them result with an error.

I'm not seeing any errors in the service worker when online - and when offline - it seems as though nothing is there.
Is this something where leaning on the AppCache might help?

@leafoflegend not sure. It would be good if I could check out live version and look at what's wrong it with. If you do not want to share it publicly, you may send it to my email (it's on the GitHub profile page).

Hi @leafoflegend , I'm having the same issue, locally all works fine when 'offline' is checked but when is deployed this stop working. I'm also using a CDN for getting assets and I've specified a path for the service worker. How did you solve your problem?
this is my config
    new OfflinePlugin({
      rewrites: function(asset) {
        if (asset.endsWith('html')) {
          return 'https://cosmin.dev.zippie.org/' + asset
        } else {
          return cdnPath + '/' + asset
        }
      },
      excludes: ['**/*.map'],
      autoUpdate: true,
      externals: ['/'],
      ServiceWorker: {
        events: true,
        entry: './CustomSw.js',
        publicPath: '/sw.js',
      },
    }),


Pushing wires to power the lights.

How to play your game?

Example  : Press WASD to move, J to reset the level and I to display help.

Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

No image used

Thanks for PR!

Wow, I like it a lot. Really good game. I don't think I've seen any games like that.  Get a Sprig here: https://sprig-order.hackclub.dev


Bump to PHP 8, tighten/collect:^9

Now that php 7.4 is officially EOL, what do you think of dropping support for the older versions?
That would allow for upgrading the library to return typehints, etc.
Or, at a minimum what do you think of requiring ^7.4|^8.0 in composer.json, and tighten/collect:^8.0|^9.0
I can make a PR if you're okay with that. My preference would be for PHP 8.0+, but maybe you'd want that to be a new release.

OK, now collect has been deprecated, it should be replaced with composer require illuminate/collections


Move TestNG support from core Selenide code to a separate plugin  -- …

… see https://github.com/selenide/selenide-testng
Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Checklist

[x] Checkstyle and unit tests are passed locally with my changes by running gradlew check chrome_headless firefox_headless command
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

@rosolko thank you for the review. But later I realised that probably it's better to leave TestNG support in Selenide code, but extract it to a separate subproject. Trying this approach right now.

This PR was replaced by https://github.com/selenide/selenide/pull/1348


Redirect Downloads Folder?

When I use this script to redirect my downloads folder, it successfully sets my oneshare folder as the new location for my downloads folder... However downloads are still going to C:\user<username>\downloads. Is there no way to fix this behavior?

In which application? Check your browser settings

Actually, looking at this, I'm not sure why I said it was working. I think I had modified the script in order to work, but it won't work in production because of user context. I took the one published in your github and tried it just as is, and I get a ton of failures, and no data is copied. I've attached the log below. We are just trying to redirect the downloads folder to OneDrive. Intune supports KFM redirection through policy now, but it only supports Desktop, Documents, and Pictures. To my relief I discovered someone had already done the work, but it doesn't seem to be working for me?
-132575385749052449.log

Also the scheduled task is not running silently... I don't think there is a way for the scheduled task to run silently without running as system


Upgrade Spring Boot to the latest version

Update the guide to use the most recent Spring Boot version.
To do so, change the Spring Boot version in:
initial/build.gradle
initial/pom.xml
complete/build.gradle
complete/pom.xml

@Buzzardo Can you assign this to me for hacktober fest contribution

@Buzzardo PR for this is here - https://github.com/spring-guides/gs-handling-form-submission/pull/28/files

Thanks.


Renamed Accessibility plugin to AccessKitPlugin in bevy_winit

Objective

Fixes #10901

Solution

bevy::a11y::AccessibilityPlugin remains unchanged.
Renamed bevy::winit::accessibility::AccessibilityPlugin to bevy::winit::accessibility::AccessKitPlugin.

Migration Guide

bevy_winit::AccessibilityPlugin has been renamed to AccessKitPlugin.

Added a migration guide and updated the title for you <3 Merging!


Update botbuilder dependency??

Coverage remained the same at 68.461% when pulling 5ba110edbd91e9ce9ba98529865b47751c978ad5 on corinagum/patch into b7d969d06c2b692482a1b09c0806dde79a2f0137 on master.


Should we use panic or return error?

Question

Now, we use panic and recover to handle the error. However, return error can alse do that. This is a classic question in the go language. Should we use panic or return error?
There is a discussion here  which may help us.
And I agree with the following sentence:

Generally speaking, in go, if you're not sure, return an error. Panics should be pretty rare.

WDYT ?

@allencloud Maybe the robot  add labels: kind/panic  and priority/P1 based on the panic keyword. Could you please help remove that? :)


Fixed branch alias

@fabpot Can you rename the branch to 5.4 please so it actually correctly represents 5.4.x-dev, like we have for the 4.x branches, and like we have for for symfony.

No, this branch will host 5.4, and eventually 5.5 if needed.

Then we can just make a 5.5 branch or rename this one when needed. Otherwise, how does composer know if this is 5.4.x-dev or 5.5.x-dev, because that could matter for people.


Logging errors fails using Capistrano 2

We're using the rollbar 3.1.2 and capistrano 2.15.9 gems. When a deploy fails, logger.error is called. However, the capistrano 2 logger does not have a error method (see here), so this call also fails, and there is no way to see what the error actually was.

@mehagar Thank you for the report. A fix for this is scheduled for the next rollbar-gem release.


Update the install diagram to reflect z/OSMF workflow changes

Is there a related issue for this PR?
Issue number:
Developer's Certificate of Origin (DCO)

Signed-off-by: nannanli<EMAIL_ADDRESS>Updates:

Reorganized several related sections to distinguish the two methods (use shell scripts/JCL, use z/OSMF workflow)
Updated the clickable diagram to add z/OSMF workflow as a new method
Fixed several typos, links, formatting issues, etc.

You can run a local doc site to view the changes. See instructions.

@sn666239 Hi Shreemala, could you review this PR as well?  Mainly architectural changes to reflect the new install and configure method with z/OSMF workflow. Thanks!

@nannanli and @sn666239 - There is a z/OSMF workflow available for the step "Install the Zowe runtime" as you've shown in the diagram, however I don't think there are z/OSMF workflows for any of Stage 3:.    I am not aware of a workflow that is able to replace the need for ZWESECUR, or zowe-setup-certificates.sh, or zowe-configure-instance.sh.   @vit-tomica - which elements of the install/configure currently have workflows available ?  Tks

Hi Joe, there are workflows for all three steps:

ZWESECUR - https://github.com/zowe/zowe-install-packaging/blob/master/workflows/templates/ZWESECUR.xml
zowe-setup-certificates.sh - https://github.com/zowe/zowe-install-packaging/blob/master/workflows/files/ZWEWRF05.xml
zowe-configure-instance.sh - https://github.com/zowe/zowe-install-packaging/blob/master/workflows/files/ZWEWRF03.xml

@Joe-Winchester @nannanli Ashley has merged the pull requests created by me for all those configuration steps. We have one more unpublished workflow that is created by our devs that is configuring cross memory service with z/OSMF. Once this is published, we can create a separate page that is Configure Zowe with z/OSMF workflows.

@Joe-Winchester @nannanli Ashley has merged the pull requests created by me for all those configuration steps. We have one more unpublished workflow that is created by our devs that is configuring cross memory service with z/OSMF. Once this is published, we can create a separate page that is Configure Zowe with z/OSMF workflows.

Agree. When z/OSMF workflows can complete all the configure tasks, we can create a separate chapter for it and move the currently scattered z/OSMF sections to be separate topics under Configure Zowe with z/OSMF workflows. Then, update the diagram to make the two methods separate threads.

@Joe-Winchester @nannanli Ashley has merged the pull requests created by me for all those configuration steps. We have one more unpublished workflow that is created by our devs that is configuring cross memory service with z/OSMF. Once this is published, we can create a separate page that is Configure Zowe with z/OSMF workflows.

Agree. When z/OSMF workflows can complete all the configure tasks, we can create a separate chapter for it and move the currently scattered z/OSMF sections to be separate topics under Configure Zowe with z/OSMF workflows. Then, update the diagram to make the two methods separate threads.

That sounds like the perfect thing to do.  Thanks to @vit-tomica for clarifying that there is a workflow for ZWESECUR and to @sn666239 for working on an doc chapter to describe this.  It's prob best as you say to to merge this PR now, then once the update for the ZWESECUR workflow is available update the diagram to link to that chapter.  Tks


Node.setPreventFit is missing doc

I'm not sure what it does, so I'm sorry to say I can't help. @jessegreenberg could you take this on or reassign to someone that knows more?

There is some documentation where it is defined in this._hints. @jonathanolson should we add some documentation around the setter as well? Presumably, in NODE_OPTION_KEYS it says

see setPreventFit() for more documentation


Application keeps waking up smartphone

Describe the bug
It seems that the app keeps waking up my tablet every minute or so.
I installed and configured the app on my smartphone and I get  the same issue.
Maybe it's because it seems to receive the disarmed payload on the MQTT every minute (check screenshots). When I check the MQTT, the topic didn't update.
Screenshots

Smartphone (please complete the following information):

Tablet : Lenovo TB-8703X Android 6.0.1
Smartphone : Galaxy S10+ Android 10

Yes, please do not keep resending the MQTT message repeatedly, the application is programed to react to this message.   This is by design and not a bug.  You have something going on with your MQTT broker, which is constantly sending the MQTT disarm message.

The message is not constantly being sent.
However, the retain flag is set to 'true'.
I subscribed to the topic and didn't see any message sent (but the application did).

You said in your original post "Maybe it's because it seems to receive the disarmed payload on the MQTT every minute (check screenshots)."   It cannot receive the disarmed payload unless it is being sent from some place?

You also have the same issue on two different devices talking to the same broker.  I have to assume this is an issue with your setup since I and others are not experience this issue.   You can subscribe to the message in Home Assistant development under MQTT and see if its being broadcast multiple times.

The message is not constantly being sent.
However, the retain flag is set to 'true'.

How are you setting the retain to true, are you using Home Assistant and the MQTT Manual Alarm Control panel.  I am asking because it does not have an option to set the retain message, and you are setting it somehow manually.

Well it's still happening, no message seen by HA.

The retain flag is not set to 'true' by default ? I don't know what could change this.
Here's my configuration in HA :
alarm_control_panel:

platform: manual_mqtt
state_topic: home/alarm
command_topic: home/alarm/set
pending_time: 20
delay_time: 20
trigger_time: 120
disarmed:
delay_time: 20
trigger_time: 20
armed_home:
pending_time: 20
delay_time: 20
triggered :
pending_time: 20

I just ran another test on the latest version of the application, I cannot see multiple messages coming in from HA and the application is not having issues with waking up.  Maybe something with your devices is killing the background service?   But I do not think this is app related.  I have to check if HA automatically ads retain, it should not matter if it does, just curious about your setup.

here is what I have for my configuration but I do not think that is the issue
alarm_control_panel:
  - platform: manual_mqtt
    state_topic: home/alarm
    command_topic: home/alarm/set
    pending_time: 60
    trigger_time: 1800
    disarm_after_trigger: false
    delay_time: 30
    armed_home:
      pending_time: 0
      delay_time: 0
    armed_away:
      pending_time: 60
      delay_time: 30

I set a new HA and mosquitto today, so the retain flag is still true.
But I tried again with my smartphone and the problem didn't appear.
However with the tablet, it still happened on both brokers.
Here are the logs from mosquitto :
1586095433: New client connected from <IP_ADDRESS> as 11216a8f14516015b14fe2f71009d919ab8121de (c0, k60, u'HAAlarm').
1586095438: Client 11216a8f14516015b14fe2f71009d919ab8121de disconnected.
1586095444: New connection from <IP_ADDRESS> on port 1883.
1586095445: New client connected from <IP_ADDRESS> as cb17ae5ff93175b4f112bc315a17213df091fe (c0, k60, u'HAAlarm').
1586095534: Client cb17ae5ff93175b4f112bc315a17213df091fe has exceeded timeout, disconnecting.
1586095534: Socket error on client cb17ae5ff93175b4f112bc315a17213df091fe, disconnecting.
1586095535: New connection from <IP_ADDRESS> on port 1883.
1586095536: Client cb17ae5ff93175b4f112bc315a17213df091fe disconnected.
1586095536: New client connected from <IP_ADDRESS> as cb17ae5ff93175b4f112bc315a17213df091fe (c0, k60, u'HAAlarm').
1586095625: Client cb17ae5ff93175b4f112bc315a17213df091fe has exceeded timeout, disconnecting.
1586095625: Socket error on client cb17ae5ff93175b4f112bc315a17213df091fe, disconnecting.
1586095626: New connection from <IP_ADDRESS> on port 1883.
1586095627: Client cb17ae5ff93175b4f112bc315a17213df091fe disconnected.
1586095627: New client connected from <IP_ADDRESS> as cb17ae5ff93175b4f112bc315a17213df091fe (c0, k60, u'HAAlarm').
1586095716: Client cb17ae5ff93175b4f112bc315a17213df091fe has exceeded timeout, disconnecting.
1586095716: Socket error on client cb17ae5ff93175b4f112bc315a17213df091fe, disconnecting.
1586095717: New connection from <IP_ADDRESS> on port 1883.
1586095718: Client cb17ae5ff93175b4f112bc315a17213df091fe disconnected.
1586095718: New client connected from <IP_ADDRESS> as cb17ae5ff93175b4f112bc315a17213df091fe (c0, k60, u'HAAlarm').
It appears that the tablet disconnets every 90s because of a timeout.
Do you know if this can come from the client ? Maybe because of the Android version being old.

It could be that your tablet cannot store information in the database.  Check the permission for the application or uninstall the application and reinstall, be sure to grant all permissions.   Your device or table should retain its connection, if its continually disconnecting, it could be that your tablet is putting the wifi to sleep.  You should have the application running in the foreground and use either the built in screen saver or Daydream if you have that on the device.  Did you mention which device and which operating system you have on the tablet?

It's a Lenovo TB-8703X Android 6.0.1
I reinstalled the application, and it's still happening. I remove the application from battery optimization as well.
I don't think the wifi is going to sleep, I started a continous ping from my PC to the tablet and didn't fail once.
I am using the clock screensaver.

I suspected it was a Lenovo.  If you search issues, most are with this tablet for some reason.   I am not sure I can help with the issue for a specific device.  I believe the application is functioning normally, but it appears your Lenovo tablet is disconnecting from your MQTT broker, which is causing the loop.  I think here were tips about how to get Lenovo tablets to stay connected if you search the closed issues.

I changed to a new tablet (running Android 9) and no problems anymore.
I am closing this issue, thanks for you help.

Thanks, I suspect Lenovo is always going to be the issue.


[improve][doc] Highlight important tips

Fixes #15892
Motivation
Improve docs by highlighting important tips for higher impact
Modifications
Used a tip tag instead of an important tag
Verifying this change

[ ] Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.
Screenshot

Hi @Anonymitaet, I see that the Connector Admin CLI page has an Important tag nested under a Note. Would you like me to convert that to a Tip too? Attaching a screenshot

Yes, thanks for your contritbution!


QueryFuture future not working when using custom query compiler

1. Description
As mentioned in the title, using a custom query compiler causes an exception when you use the QueryFuture.
I use the NeinLinq  library to inject a lamda expression into my query, NeinLinq internally rewrites the query with custom rewriter and compiler to inject the expression.
I've looked into the code to see why it's failing and it looks like the IsInMemoryQueryContext method that's in Future extension method is trying to direct cast then compilerField to Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler, which will obviously fail due to the custom compiler that implements only the IQueryCompiler interface.
2. Exception
Exception message: Unable to cast object of type 'EmptyQueryCompiler' to type 'Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler'.

Stack trace: at Z.EntityFramework.Plus.InternalExtensions.IsInMemoryQueryContext[T](IQueryable`1 query)
   at Z.EntityFramework.Plus.QueryFutureExtensions.Future[T](IQueryable`1 query)
   at UserQuery.Main(), line 7

3. Fiddle or Project
https://dotnetfiddle.net/2tjDpz

Hello @akarboush ,
Unfortunately, our library will not be compatible with NeinLinq. The QueryFuture feature depends so much on the implementation of the QueryCompiler.
We could surely fix the part about the IsInMemoryQueryContext but then all the rest of the code here by example will not work at all.
Best Regards,
Jon

Sponsorship
Help us improve this library
Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function


7.1 Theme build fails due to missing import

After upgrading from 7.0 to 7.1, the theme fails building due to missing import.
Steps Customer Made:

Check current modules version

$> npm -g ls --depth=0
　/home/liferay/.npm-packages/lib
　├──<EMAIL_ADDRESS>　├──<EMAIL_ADDRESS>　└──<EMAIL_ADDRESS>$> npm ls --depth=0
<EMAIL_ADDRESS>/home/liferay/sample-theme
　├──<EMAIL_ADDRESS>　├──<EMAIL_ADDRESS>　└──<EMAIL_ADDRESS>

Upgrade node modules to 7.1 version

$> npm install --save-dev<EMAIL_ADDRESS>$> npm install --save-dev<EMAIL_ADDRESS>$> npm ls --depth=0
<EMAIL_ADDRESS>/home/liferay/sample-theme
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

Manually fix known issue
https://github.com/liferay/liferay-themes-sdk/issues/125
$> sed -i 's/bgblack/bgBlack/g' ./node_modules/liferay-theme-tasks/lib/upgrade/7.0/upgrade.js

Upgrade theme to 7.1
$> gulp upgrade

Follow the guide to upgrade the remaining parts "gulp upgrade" does not cover
https://help.liferay.com/hc/en-us/articles/360017887772-Upgrading-Your-Theme-from-Liferay-Portal-7-0-to-7-1-

Deploy upgraded theme
$> gulp deloy

Reported error is displayed

Exception in thread "main" com.liferay.sass.compiler.jni.internal.JniSassCompilerException: Error: no mixin named text-overflow

       Backtrace:
           build/buildTheme/css/portlet/_topper.scss:90
        on line 90 of build/buildTheme/css/portlet/_topper.scss
>>     @include text-overflow;
   ----------^

    at com.liferay.sass.compiler.jni.internal.JniSassCompiler.compileFile(JniSassCompiler.java:164)
    at com.liferay.css.builder.CSSBuilder._parseSass(CSSBuilder.java:380)
    at com.liferay.css.builder.CSSBuilder._parseSassFile(CSSBuilder.java:394)
    at com.liferay.css.builder.CSSBuilder.execute(CSSBuilder.java:160)
    at com.liferay.css.builder.CSSBuilder.main(CSSBuilder.java:79)
:wars:class-them:buildCSS FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':wars:class-them:buildCSS'.
> Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 1

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

BUILD FAILED

Total time: 7.752 secs

Reported workaround to add this include in "_imports.scss"
@import "compat/mixins";
Shouldn't the "gulp upgrade" process add this missing import automatically?
Let me know if more information is needed.
Thank you.

Working Directory: E:\workspace\projectWorkspaceNew\wars\Sample
Gradle user home: C:\Users\DudimetlaRamalingaia.gradle
Gradle Distribution: Gradle wrapper from target build
Gradle Version: 4.10.2
Java Home: C:\Program Files (x86)\Java\jdk1.8.0_201
JVM Arguments: None
Program Arguments: None
Build Scans Enabled: false
Offline Mode Enabled: false
Gradle Tasks: buildCSS

Task :wars:Sample:buildTheme

Task :wars:Sample:buildCSS
Using native Sass compiler
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Parsed /css/clay/atlas-variables.scss in 778ms
Parsed /css/clay/atlas.scss in 3098ms
Parsed /css/clay/base-variables.scss in 217ms
Parsed /css/clay/base.scss in 2527ms
Parsed /css/clay/bootstrap/bootstrap-grid.scss in 143ms
Parsed /css/clay/bootstrap/bootstrap-reboot.scss in 51ms
Parsed /css/clay/bootstrap/bootstrap.scss in 462ms
Parsed /css/clay/bootstrap.scss in 593ms
Parsed /css/clay/site/site-atlas-font-awesome.scss in 2837ms
Parsed /css/clay/site/site-lexicon-font-awesome.scss in 2468ms

Task :wars:Sample:buildCSS FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':wars:Sample:buildCSS'.

Process 'command 'C:\Program Files (x86)\Java\jdk1.8.0_201\bin\java.exe'' finished with non-zero exit value -1073741819

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

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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1m 5s
2 actionable tasks: 2 executed
i am getting error
please help me
thank you

Hi @Ramalingaiah. Would you be able to create a separate issue for this, along with a enough information to repro the issue? (For example, the command you ran to produce this output, and possibly the theme files themselves if you are able to provide them?)

This solution work for me from link,
the easiest way to fix it is using the previous one.
To use a specify version of css builder we need to add line:
cssBuilder group: "com.liferay", name: "com.liferay.css.builder", version: "2.1.3"
into the dependences sector at file build.gradle and rebuild your project.


[Feature Request] Support Windows versions below Windows 10

Thank you for your feature request.
I want to support more platforms such as Windows Classic Desktop.
Please wait for a while until I have released next version.


Release templates handle command line debugging arguments

Godot version:
3.1.1.stable.official - linux_x11_64_release
OS/device including version:
Linux
Issue description:
I don’t know how critical this is, but I noticed that release builds handle command line arguments almost as well as debug builds. Examples:
$ ./your_game.x86_64 --help
$ ./your_game.x86_64 scenes/world2.tscn
$ ./your_game.x86_64 --resolution 2000x2000
$ ./your_game.x86_64 -d --time-scale 0.25

That is, there is a theoretical possibility to skip any scene, change the timescale, expand the window even if it was locked.
I understand that, most likely, there is nothing to be done, cheaters and speedraners cannot be stopped, I just inform other developers about this feature. See also #24716.

It's possible to achieve --time-scale-like behavior using external tools, so there wouldn't be much point in removing it. We can do it to make the command-line help shorter, but that's only argument I see in its favor :slightly_smiling_face:

Anything can be done using external tools. :smiley:
But some things are too easy to do. IMHO

^
Yep, if something is more difficult to do then it means less cheaters. I don't think it's preferable to let people go full "oh it's Godot game, I can easily override the time-scale".
(talking about external tools, I once ran game in XP VM and used snapshots to "save" game at any moment like in emulator, heh)

The command line parsing should hopefully undergo major changes in #26213 which could possibly allow more fine-grained set of options to be present under different build configurations.


Add maxLength to column decorator for types string | string[]

Allow BigAl to enforce length checks on strings prior to sending insert / update commands to the database. Allows for a more "soft" enforcement of string length requirements that are easy to update in code without having to modify a database column.

Thank you!


Ranking Issue

Worker can rank requester multiple times for the same Milestone, if ranking exists we need to update it not create a new one

#530


[Bug]: Theme assets are not being updated

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
Theme
Expected behavior
Updated assets should replace their old version.
Actual behavior
Asset files returned from Shopify CDN is not up to date. The only way I'm able to update a file is by manually changing it on the Admin's code editor.
Reproduction steps

Change any file in assets, e.g.: add a new class, .btn-background { background-color: blue; } in assets/style.css
Make sure assets/style.css is not included in .shopifyignore
Push the changes using shopify theme push.
Refresh page on live site
Open inspector
Navigate to Network tab
Filter by style.css
Check source code of style.css
Verify that the asset file returned from https://[YOUR_STORE]/cdn/shop/t/92/assets/style.css?v=152657644625106757401688035308 does not contain the newly added class .btn-background.

Operating System
macOS Ventura 13.3
Shopify CLI version (check your project's package.json if you're not sure)
3.48.4
Shell
zsh
Node version (run node -v if you're not sure)
18.16.0
What language and version are you using in your application?
No response

We also see this issue in our projects intermittedly since Monday.


Create JavaLoop1.java

solution of javaloop1 of HackerRank

Sorry I am not accepting solutions to problems from any website. Please checkout the issues

Sir, Can you explain how i can contribute in your repository to help you


Number of subintervals

Hi all,
For using Sympson's and Trapezoidal method we have to define the number of subinterval. For this we define the function as "def simpson(f, a, b, n)" , what is the value of n (number of subintervals ) to be used to calculate and plot the integration here?

 But your code will take longer to run

@AhmedCode99 thanks for the answer.

You're welcome


[FEATURE WISH] Recursive

Hi,
this is a feature wish :) it would be awesome if this could be used in a dir with lot git projects and the stats would show a summary about all git projects.
Best Regards
Sven

This would also be super useful for repos with submodules

Hi @SvenJuergens, after a long time  ⏳
I don't have a project with submodules, so I can't test it, but a new feature was implemented a couple of days ago,
if you want to include submodule logs, you can try using the following: export _GIT_LOG_OPTIONS="-p --submodule=log"
ps: more info about git log --submodule


Post captions

Implemented commenting under user posts, displaying comments and ratings

Implemented comments and comment display under posts #attempt 2


Partition in dataset

Hi,
I'm wondering how partitions work in the new Datasets api.
This is part of my code where data is written:
pa.dataset.write_dataset(
            table,
            output_path,
            basename_template=f"chunk_{y}_{{i}}",
            format="parquet",
            partitioning=["code"],
            existing_data_behavior="overwrite_or_ignore",
        )

However when reading out data again results in:
>>>pd.read_parquet(path, filters=[('code', '=', "1234")])

Trace:
ArrowInvalid: No match for FieldRef.Name(code)

Is this expected? That partition columns dissappear from table? I have also tried directly with pyarrow, and also looking at the table columns "code" is missing.
FYI:
Thank you!

The read_parquet operation needs to know more about the partitioning.  At the moment it is seeing files like {output_path}/1234/chunk_0_0.parquet and it doesn't know if the 1234 is meant to be a partition column (and if so what should the column name be?).  So instead it just does a recursive search of all files and pretends the inner directories didn't exist.
You have two options.  First, you can specify the partitioning on the read:
pd.read_parquet(path, partitioning=["code"], filters=[('code', '=', '1234')])
Or, if you don't want to have to keep track of it, you can use the hive partitioning flavor when you write:
pa.dataset.write_dataset(
            table,
            output_path,
            basename_template=f"chunk_{y}_{{i}}",
            format="parquet",
            partitioning=["code"],
            partitioning_flavor="hive",
            existing_data_behavior="overwrite_or_ignore",
        )

This will create paths like {output_path}/code=1234/chunk_0_0.parquet.  The code=1234 is clear enough to pyarrow's inference that it will assume that is a partitioning directory and the column is named code.  So then you can use the read_parquet call you have as-is.

@westonpace many thanks :-) New to this parquet thing so wasnt intuitive. Can I suggest that this is added to the https://arrow.apache.org/docs/python/dataset.html#writing-partitioned-data as it is not intuitive (at least to me)?

@martgra How does the content added in #11844 look?

@westonpace Perfect :-) Many thanks


stellar-core: 17.0.0 -> 18.0.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/stellar-core/versions.
meta.description for stellar-core is: "Implements the Stellar Consensus Protocol, a federated consensus protocol"
meta.homepage for stellar-core is: "https://www.stellar.org/"
meta.changelog for stellar-core is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/af7cg94mssxrjzsgb19y0b40d6safrhf-stellar-core-18.0.3/bin/stellar-core passed the binary check.
1 of 1 passed binary check by having a zero exit code.
1 of 1 passed binary check by having the new version present in output.
found 18.0.3 in filename of file in /nix/store/af7cg94mssxrjzsgb19y0b40d6safrhf-stellar-core-18.0.3

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
stellar-core

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/af7cg94mssxrjzsgb19y0b40d6safrhf-stellar-core-18.0.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A stellar-core https://github.com/r-ryantm/nixpkgs/archive/3163b23fac2e7c69ac7e0a9705f187063471b72d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/af7cg94mssxrjzsgb19y0b40d6safrhf-stellar-core-18.0.3
ls -la /nix/store/af7cg94mssxrjzsgb19y0b40d6safrhf-stellar-core-18.0.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

stellar-core

Maintainer pings

Upstream is at 18.3.x


SAK-29135: remove unused mathjax property from sakai.properties

https://jira.sakaiproject.org/browse/SAK-29135
portal.mathjax.website.url was part of the initial MathJax feature, however it was removed during one of the revisions.
The sakai.property remains and should be removed.

Thanks all looked good.


Please ask developer to add ksoft API Key

Getting this error regardless of what lyrics engine I choose. Also ksoft lyrics is down forever

Getting this error regardless of what lyrics engine I choose. Also ksoft lyrics is down forever

works, but entry is required can't be blank.


Discord->Telegram RemoteNick bug

Describe the bug
When defining on gateway settings a remote like such as:
RemoteNickFormat="<{NICK}>({PROTOCOL}): "
or
RemoteNickFormat="({NICK})({PROTOCOL}): "
Telegram to Discord messages work fine, but Discord to Telegram messages fail to go through giving these errors respectively:
[0029] ERROR gateway:      SendMessage failed: Bad Request: can't parse entities: Character '>' is reserved and must be escaped with the preceding ''
or
[0029] ERROR gateway:      SendMessage failed: Bad Request: can't parse entities: Character '(' is reserved and must be escaped with the preceding ''
To Reproduce
Use remote nicks containing ( ) or < >
Expected behavior
Messages with these remote nicks should work, they are even in the examples
Environment (please complete the following information):

OS: Ubuntu Linux
Matterbridge version: version: 1.18.0 e3d8fe4f

Is this the same issue as #285?

Is this the same issue as #285?

It might be related, but this is happening in the RemoteNickname field of gateway configuration settings even using the provided example config.

With the great help of wim, the issue was solved, however documentation needs to be updated.
Could someone please update: https://github.com/42wim/matterbridge/wiki/Section-Telegram-(basic)
The value RemoteNickFormat="[{PROTOCOL}] <{NICK}> "   is not valid
You either need to add MessageFormat="HTMLNick" and RemoteNickFormat to RemoteNickFormat="({PROTOCOL}) <{NICK}> "
-or-
MessageFormat="MarkdownV2"
RemoteNickFormat="{PROTOCOL} {NICK} "   without any special characters such as < > ( ) - and so forth
Otherwise this is resolved


E2E helper for calls to Dapr

To have a helper package for common calls to Dapr, wrapping common code repeated within test apps and test runs.

@artursouza is this still required or is it being tracked by other longhaul workitems?

This need not be a separate issue. Refactor the code during implementation and code review should enforce this.


How do I  install giflib by vcpkg?

I want to  install tesseract 5.0 by vcpkg, and giflib is one of the depency librarys，but error is build_falled ,how to deal with it ?

there is no tesseract 5.0 in vcpkg yet
giflib 5.1.4 is in current vcpkg.
Do you want to manually build tesseract 5.0 and reference giflib from vcpkg?

there is no tesseract 5.0 in vcpkg yet. Only 4.1 is in vcpkg.
giflib 5.1.4 is in current vcpkg.
Do you want to manually build tesseract 5.0 and reference giflib from vcpkg?

vcpkg中还没有tesseract 5.0。vcpkg中只有4.1。
giflib 5.1.4在当前vcpkg中。
您要手动构建tesseract 5.0并从vcpkg引用giflib吗？

I may not know the version of testeract, but I input vcpkg install testeract: x64 windows in the terminal, and then, ->

@xxng Thanks for posting this issue. Did you install giflib:x64-windows failed? Did you do some changes before installing this port? I can install giflib:x64-windows successfully locally with the latest VCPKG. And tesseract doesn't have 5.0.0 source in VCPKG. I will update tesseract when it have 5.0.0 source in VCPKG.

I tried building tesseract5 using --head option. But build fails with
Starting package 19/19: tesseract5:x64-linux
Building package tesseract5[core]:x64-linux from HEAD...
-- Downloading https://api.github.com/repos/tesseract-ocr/tesseract/git/refs/heads/master -> tesseract-ocr-tesseract-master.tar.gz.version...
-- Skipping hash check for /home/runner/work/tesseract/tesseract/vcpkg/downloads/temp/tesseract-ocr-tesseract-master.tar.gz.version.
-- Downloading https://github.com/tesseract-ocr/tesseract/archive/master.tar.gz -> tesseract-ocr-tesseract-master.tar.gz...
-- Skipping hash check for /home/runner/work/tesseract/tesseract/vcpkg/downloads/temp/tesseract-ocr-tesseract-master.tar.gz.
-- Extracting source /home/runner/work/tesseract/tesseract/vcpkg/downloads/tesseract-ocr-tesseract-master.tar.gz
-- Applying patch fix-tiff-linkage.patch
-- Applying patch fix-text2image.patch
-- Applying patch fix-training-tools.patch
-- Using source at /home/runner/work/tesseract/tesseract/vcpkg/buildtrees/tesseract5/src/head/master-aebb99f1bf.clean
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
-- Building x64-linux-dbg
-- Building x64-linux-rel
CMake Error at scripts/cmake/vcpkg_fixup_cmake_targets.cmake:81 (message):

  '/home/runner/work/tesseract/tesseract/vcpkg/packages/tesseract5_x64-linux/debug/cmake'
  does not exist.
Call Stack (most recent call first):
  ports/tesseract5/portfile.cmake:40 (vcpkg_fixup_cmake_targets)
  scripts/ports.cmake:128 (include)

Error: Building package tesseract5:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `./vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: tesseract5:x64-linux
  Vcpkg version: 2021-01-13-unknownhash

Complete log is available at https://github.com/Shreeshrii/tesseract/runs/1814800428?check_suite_focus=true

@Shreeshrii
For the failures on x64-linux, you can remove vcpkg_fixup_cmake_targets.cmake(CONFIG_PATH cmake)  and then rebuild.
If it still failed, please update as the guidelines.
CMake Error at scripts/cmake/vcpkg_fixup_cmake_targets.cmake:81 (message):

  '/home/runner/work/tesseract/tesseract/vcpkg/packages/tesseract5_x64-linux/debug/cmake'
  does not exist.

For Windows, I can't get the detailed error info. So I don't know how to help you.
Since you build the head version, which is not supported in current vcpkg. So we cannot make sure it can work fine. We will update it to the latest version once there is a new release.

@xxng
I can build giflib successfully on my machine. Closing this issue for inactivity.
Please feel free to reopen this issue if you can provide the error log.
For tesseract, you can open a new issue to request update if there is a new release in upstream.


Redact passwords on parameter dump

Describe the bug
On startup hornet dumps all loaded parameters but this includes authentication passwords, e.g.:
 api:
  auth:
    password: verysecret
    username: admin

And:
  basic_auth:
    enabled: false
    password: verysecret
    username: admin

To Reproduce
Steps to reproduce the behavior:

Just enter a password/username in the config
Restart hornet
Check output

Expected behavior
Passwords and sensitive data should be redacted in the output, as users can be sending logs remotely or to less secure environments.
Environment information:

HORNET version 0.2.1

Additional context
I tell this to devs at my work all the time 😂

Fixed that for you


BUG Converting upvar blocks to JavaScript: TypeError: null is not an object (evaluating 'block.getField('VAR').getText')

Trying to convert this innocuous, default for each block into JavaScript results in the error

TypeError: null is not an object (evaluating 'block.getField('VAR').getText')

in line 145, loops.js
var variable0 = Blockly.JavaScript.variableDB_.getName(
      block.getField('VAR').getText(), Blockly.Variables.NAME_TYPE);

What's the fix for this?

can be fixed by changing the line to
  var variable0 = Blockly.JavaScript.variableDB_.getName(
      block.getInputTargetBlock('VAR').getField('VAR').getText(), Blockly.Variables.NAME_TYPE);


The Answer

how to check whether my laptop supports haxm or not

isn't the haxm important what if i removed it  and can't undo it


S40 Diagnostict data stops reporting after 3 hours

Describe the bug
After setting the Diagnostic Level to 2, diagnostic entity data is recorded for approximately 3 hours then flatlines.
To Reproduce
Reset the diagnostic level to 0 and back to 2. Wait approximately 3 hours.
Expected behavior
Once the diagnostic level is set to 2, I expect the entities to keep recording until the diagnostic level  changes.
Screenshots/Logs
If applicable, add screenshots to help explain your problem.
Version

Home Assistant: 2024.5.2
This Integration: 2024.3.0

**Integration Configuration **

Cloud or Local Connection: Local Connection
Inverter or Sensor Diagnostics Enabled: Both

Additional context
My dealer upgraded me from a S30 to a S40 a couple of months ago. I didn't experience this problem with the S30, but I've been experiencing this problem ever since the change.
I tried running the Fix Lennox S40 Diagnostics script, but when I try to save the script in Home Assistant I get the following error:
Message malformed: extra keys not allowed @ data['trigger']

That is a known issue with S40, see this issue for a sample automation to use.
https://github.com/PeteRager/lennoxs30/issues/283
I will add this to the documentation / samples.

I tried running the Fix Lennox S40 Diagnostics script, but when I try to save the script in Home Assistant I get the following error:
Message malformed: extra keys not allowed @ data['trigger']

post that script here and I'll look at it.

After reading #283 It looks like the script is supposed to be an automation. That's probably why I was getting the error. I found the "script" here:
https://github.com/PeteRager/lennoxs30/blob/master/docs/diagnostics.md
alias: Fix Lennox S40 Diagnostics
description: ""
trigger:

platform: time_pattern
minutes: "0"
platform: time_pattern
minutes: "15"
platform: time_pattern
minutes: "30"
platform: time_pattern
minutes: "45"
condition: []
action:
service: number.set_value
data:
value: "1"
target:
entity_id: number.lennox_diagnostic_level
enabled: true
service: number.set_value
data:
value: "2"
target:
entity_id: number.lennox_diagnostic_level
mode: single

Yes, that is an automation.  The docs say script which is incorrect. I will fix that.  You should be able to go into the automation editor, create a new automation, switch to YAML mode, and paste it in.

I did that and it appears to be working. Thanks.

Thanks.


Disallow empty method slice in api_fuzzer

Detected by https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1027
Should we add an assert or something in channel_create_call to check method is non-empty? I am not sure whether it is possible for some filter to make up a path in the fly.

Performance differences noted:
Benchmark                                      cpu_time    real_time
-------------------------------------------  ----------  -----------
BM_CreateDestroyCore                            -111.50      -111.50
BM_CreateDestroyCpp                              -95.00       -95.00
BM_CreateDestroyCpp2                            -115.00      -115.50
BM_MetadataFromInternedSlicesAlreadyInIndex       -9.00        -9.00

Test failure: #10614


Implement CRUD puppy with interface

Adds the Puppy, Storer, MapStore and SyncStore type definitions.

MapStore implements the Storer interface and supplies a NewMapStore factory function.
SyncStore implements the Storer interface and supplies a NewSyncStore factory function.
Uuid increment is handled internally by MapStore Create
Read will return an empty Puppy struct if provided uuid doesn't exist
Update will return the given Puppy struct if the uuid doesn't exist
Destroy returns a bool dependent on uuid existing

Fixes #537
Review of colleague's PR #536

Hopefully it's not error related - as I removed all my error handling upon seeing Lab 07 outline!

Please fix broken build and address @anzdaddy 's comments

The go-course is now closed. Thank you very much for participating.


Daily partition not running automatically for history table

Hi,
I see that the daily partition is not created automatically for the history table. I will have to run it manually. Can someone give me some clue if I am doing something wrong?

@vanimesh ,
Please your issue in more detail.
What step are you specifically talking about?
Partitioning for history table(s) are working if you follow the directions in the guide.

Hi @Doctorbal, thank you for responding :-). I am new to the environment, the partitioning was already created in the setup and came to know that the steps which followed are in your GitHub.
My issue in detail is, We have 7 days of history storage and 7 days premake. We followed the same procedure in production too. When coming to production everything seems to work automatically. But in the test environment daily I will have to run the command "SELECT partman.run_maintenance('public.history_text');" everyday,

Just found something in the logs of test environment.
2022-03-24 00:17:54 UTC   ERROR:  permission denied for table trends_p2024_02
CONTEXT: SQL statement "SELECT max(to_timestamp(clock))::text FROM public.trends_p2024_02"
PL/pgSQL function partman.run_maintenance(text,boolean,boolean,boolean) line 213 at EXECUTE
SQL statement "SELECT "partman".run_maintenance(p_analyze := false, p_jobmon := true)"
DETAIL:
HINT:
2022-03-24 00:17:54 UTC   CONTEXT:  PL/pgSQL function partman.run_maintenance(text,boolean,boolean,boolean) line 415 at RAISE
SQL statement "SELECT "partman".run_maintenance(p_analyze := false, p_jobmon := true)"
2022-03-24 00:17:54 UTC   LOG:  background worker "?;??" (PID 30912) exited with exit code 1

I am unable to fix this issue but can someone @Doctorbal can you please help me? We don't have a proper DBA too :-(

Since your error suggest a permissions issue please review the document
clearly and ensure partman configuration file includes the zabbix role as
the role to run it and run following SQL commands:
GRANT ALL ON SCHEMA partman TO zabbix;
GRANT ALL ON ALL TABLES IN SCHEMA partman TO zabbix;
GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA partman TO zabbix;
GRANT EXECUTE ON ALL PROCEDURES IN SCHEMA partman TO zabbix;
On Mon, Mar 28, 2022, 4:50 AM vanimesh @.***> wrote:

I am unable to fix this issue but can someone @Doctorbal
https://github.com/Doctorbal can you please help me? We don't have a
proper DBA too :-(
—
Reply to this email directly, view it on GitHub
https://github.com/Doctorbal/zabbix-postgres-partitioning/issues/19#issuecomment-1080370743,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABUJVEGEYC4HYI352ARCNQ3VCFXG3ANCNFSM5RKNYTLA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Since your error suggest a permissions issue please review the document clearly and ensure partman configuration file includes the zabbix role as the role to run it and run following SQL commands: GRANT ALL ON SCHEMA partman TO zabbix; GRANT ALL ON ALL TABLES IN SCHEMA partman TO zabbix; GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA partman TO zabbix; GRANT EXECUTE ON ALL PROCEDURES IN SCHEMA partman TO zabbix;
…
On Mon, Mar 28, 2022, 4:50 AM vanimesh @.> wrote: I am unable to fix this issue but can someone @Doctorbal https://github.com/Doctorbal can you please help me? We don't have a proper DBA too :-( — Reply to this email directly, view it on GitHub <#19 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUJVEGEYC4HYI352ARCNQ3VCFXG3ANCNFSM5RKNYTLA . You are receiving this because you were mentioned.Message ID: @.>

How can I check the existing grants on the schema,procedures and functions ?

I compared two environments...the one where it's working fine and the one where it's not...i did find any issues with preivileges.


Browser back/forward button triggers 3 route state changes in v1.0

In my root route handler, I log nextProps.location:
componentWillReceiveProps(nextProps) {
  console.log(nextProps.location);
}

When I hit the browser "back" button, this is what I see:

The 1st entry is a bogus "push" to the old location. The next two are duplicates.

I'm finding the same behaviour - also required params for the routes aren't being supplied.

The change from nextProps.isTransitioning from true to false is triggers the last two. Not sure if that intended or not...but I see the same thing.

intended behavior, but its not in master anymore, might come back, if it does, don't worry about it unless its slowing down your app (which it probably isn't) and then use shouldComponentUpdate to bail


Reverse Bytes : where is the "0"

Hello and first of all thank you for Bithelpers!
I have a wiegand 26 rfid reader which gives me the card code.
I used the following code with
#include <bitHelpers.h>
#include <Wiegand.h>
void loop () {
if (wg.available ())
{
     uint16_t x = wg.getCode ();
  x = byteReverse (x);
  Serial.print ("Wiegand Original HEX =");
  Serial.println (wg.getCode (), HEX);
  Serial.print ("Reverse Hex =");
  Serial.println (x, HEX);

}
}

For a test with a classic mifare card I have:
Wiegand Original HEX = 9B3FAA
Reverse Hex = AA3F
The reverse function seems to work on 16 bits.
When I use an ultralight mifare card I have this answer:
Wiegand Original HEX = 5D9504
Reverse Hex = 495
The "0" of the "04" seems to have disappeared.
Is this normal? I would like to have 0495 directly because it is impossible for me to know with the wiegand reader (or I do not know how to do it) if the RFID scan is done on a classic or ultralight mifare card ... (for example add "0" if ultralight ...)
### 2nd question:
There is a function for uint16 (2 bytes) or unit32 (4 bytes), but the wiegand outputs are 24 ... is it possible to have reverse on 3 bytes?
Thank you in advance for the time taken to read this message,
Cordially
Ced

Hi
Try to change
uint16_t x = wg.getCode ();
In
uint32_t x = wg.getCode ();
Does that help?

Will think about the 24 bit reversal tomorrow.

thank you for your reply. With uint32, the result is the same. the 0 is absent before the 4 ...

I will investigate more this week.

OK, some deeper analysis

Wiegand Original HEX = 9B3FAA
Reverse Hex = AA3F
The reverse function seems to work on 16 bits.

The byteReverse() function is overloaded and how it works depends on its parameter.
in your code you assign the Wiegand code to a 16 bit integer.
     uint16_t x = wg.getCode ();
  x = byteReverse (x);

As the Wiegand code is 24 bit, 8 bits are lost already in this assignment.
The call to byteReverse() gets this 16 bit value as parameter and therefor only reverses 16 bits (2 bytes)

When I use an ultralight mifare card I have this answer:
Wiegand Original HEX = 5D9504
Reverse Hex = 495
The "0" of the "04" seems to have disappeared.

This is an artefact of the Arduino print() function, it will skip leading zeros.
A quick solution might be using these print functions  (and using uint32_t for the Wiegart code)

void printHex16(uint16_t x)
{
  if (x < 0x1000) Serial.print('0');
  if (x < 0x100)  Serial.print('0');
  if (x < 0x10)   Serial.print('0');
  Serial.println(x, HEX);
}

void printHex24(uint32_t x)
{
  if (x < 0x100000)  Serial.print('0');
  if (x < 0x10000)   Serial.print('0');
  if (x < 0x1000) Serial.print('0');
  if (x < 0x100)  Serial.print('0');
  if (x < 0x10)   Serial.print('0');
  Serial.println(x, HEX);
}

void printHex32(uint32_t x)
{
  if (x < 0x10000000) Serial.print('0');
  if (x < 0x1000000) Serial.print('0');
  if (x < 0x100000)  Serial.print('0');
  if (x < 0x10000)   Serial.print('0');
  if (x < 0x1000) Serial.print('0');
  if (x < 0x100)  Serial.print('0');
  if (x < 0x10)   Serial.print('0');
  Serial.println(x, HEX);
}

(functions not tested, but you should get the idea)
These functions could be merged into one function void printHex(uint32_t value, uint8_t bytes).
Might be an idea to add these to my https://github.com/RobTillaart/printHelpers class

What you can do to reverse the 3 byte value and print it..
void loop ()
{
  if (wg.available ())
  {
    uint32_t x = wg.getCode ();    // 24 bit fits in 32
    x = byteReverse (x);           // reverse 4 bytes
    x = x >> 8;                    // remove the 8 extra bits

    Serial.print ("Wiegand Original HEX =");
    printHex24(wg.getCode() );
    Serial.print ("Reverse Hex =");
    printHex24(wg.getCode() );
  }
}

void printHex(uint32_t x, uint8_t digits)
{
  uint32_t mask = 1ULL << (digits - 1) * 4;
  while (x < mask)
  {
    Serial.print('0');
    mask >>= 4;
  }
  Serial.print(x, HEX);
}

call : printHex( wg.getCode(), 6);

SOLUTION
Hello,
Thank you for your suggestions, both work perfectly.
I just replaced in the original code : printHex (wg.getCode (), 6); with printHex (x, 6);
(same in the first version printHex24 (wg.getCode ());> printHex24 (x);
For more clarity, I am sending you all of the 2 codes for my case, if it can be useful for others.
Arduino library
BitHelpers (of course!)
Wiegand: https://github.com/monkeyboard/Wiegand-Protocol-Library-for-Arduino
Code 1: for  WEMOS D1 mini ESP 32
#include <bitHelpers.h>
#include <Wiegand.h>

WIEGAND wg;

void setup() {
  Serial.begin(115200);

  // default Wiegand Pin 2 and Pin 3 see image on README.md
  // for non UNO board, use wg.begin(pinD0, pinD1) where pinD0 and pinD1
  // are the pins connected to D0 and D1 of wiegand reader respectively.
  wg.begin(26,25);
}

void loop() {
  if (wg.available ())
  {
    uint32_t x = wg.getCode ();    // 24 bit fits in 32
    x = byteReverse (x);           // reverse 4 bytes
    x = x >> 8;                    // remove the 8 extra bits
     printHex24(x);
     }
}

void printHex24(uint32_t x)
{
  if (x < 0x100000)  Serial.print('0');
  if (x < 0x10000)   Serial.print('0');
  if (x < 0x1000) Serial.print('0');
  if (x < 0x100)  Serial.print('0');
  if (x < 0x10)   Serial.print('0');
  Serial.print(x, HEX);
}

Code 2: for  WEMOS D1 mini ESP 32
#include <bitHelpers.h>
#include <Wiegand.h>

WIEGAND wg;

void setup() {
  Serial.begin(115200);

  // default Wiegand Pin 2 and Pin 3 see image on README.md
  // for non UNO board, use wg.begin(pinD0, pinD1) where pinD0 and pinD1
  // are the pins connected to D0 and D1 of wiegand reader respectively.
  wg.begin(26,25);
}

void loop() {
  if (wg.available ())
  {
   uint32_t x = wg.getCode ();    // 24 bit fits in 32
    x = byteReverse (x);           // reverse 4 bytes
    x = x >> 8;                    // remove the 8 extra bits
    printHex( x, 6);
     }
}

void printHex(uint32_t x, uint8_t digits)
{
  uint32_t mask = 1ULL << (digits - 1) * 4;
  while (x < mask)
  {
    Serial.print('0');
    mask >>= 4;
  }
  Serial.print(x, HEX);
}

Thank you again for your help,
Ced

@cedeps
Good to hear it solved the issue.
Please note I added  cpp after the backquotes in your post (2x) to get cpp syntax highlighting.


Fix: VTK-writer enables 3D data to be saved.

Hey,
the current VTK-writer does not enable 3D data to be saved. The reason is that the tensor of 3D data is extended by a fourth dimension which leads to an error caused by the 'pyevtk' library.
This is, why the extension has to be prevented. First I tried following syntax, but the line becomes too long in terms of characters.
self.point_dict["p"] = self.lattice.convert_to_numpy(p[0, ..., None]) if self.lattice.D == 2: else self.lattice.convert_to_numpy(p[0, ...])

I agree that the if ... else block is a better solution here. Thank you.
Why is the BGKSmagorinsky code also in here? Was it meant to be or did this happen by accident?
Btw. you can in most cases break python lines by adding parentheses like this
i = ( 1 + 2 + 3
       + 4 + 5 + 6)

or
i = ("something really complicated"
       if True
       else "something else"
)

Yes this was an accident. The BGKSmagorinsky code is taken from Dominik Wilde, who hopefully is going to merge this in a few days...
Thanks for the hint.

could you remove the Smagorinski code from the PR, please?

Something like
git checkout master lettuce/collision.py
git add lettuce/collision.py
git commit

Note that SmagorinskyCollision is already in the current master, under a slightly different name though.

thanks! will merge after tests pass.


Fixing test flakiness

The test test_poincare_ball_distance_self is flaky. This PR proposes a fix for this issue.
To find a solution, I collected samples of value of d in the assertion from several test executions and computed the tail distribution. I computed the extreme percentiles to check how high can the relative differences be.
0.9:: 1e-07
0.99:: 1e-06
0.9999:: 1e-06

For this fix I chose the 99.99th percentile which indicates the relative difference can go up to 1e-06 instead of the default 1e-07 for assert_allclose. I think setting the bound using the statistical evaluation might be a good way to ensure the test is not flaky.
Do you guys think this makes sense? Please let me know if this looks good or if you have any other suggestions. Also, here I assume there are no bugs in the code under test.

 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.


retcode appears to be 0 on failure

I am having retcode = 0, even on failed Luigi pipelines.
I followed the advice given here https://github.com/spotify/luigi/issues/2311 but I still have "successful" github builds, even when Luigi fails. How can I fix this?
You can see my luigi.cfg here: https://github.com/neuralaudio/hear-eval-kit/pull/198/files#diff-58ff783141a0000a32d2d0ed1cc5b286dfeac2a635083d22ed3333f1fc9f73a4
Here is a github CI that complete successfully: https://github.com/neuralaudio/hear-eval-kit/pull/198/checks?check_run_id=3396277008 even tho the Luigi failed.

If you are using luigi.build, pass detailed_summary=True and save the return result and check:
assert luigi_run_result.status in [
        luigi.execution_summary.LuigiStatusCode.SUCCESS,
        luigi.execution_summary.LuigiStatusCode.SUCCESS_WITH_RETRY,
    ]


Save File Corruption

Extremely rare, I've only had 4 or 5 reports. I'm not sure if this is something to do with the game, or related to Steam Cloud. The corrupted files tend to be a large empty byte array, about 20kb.

I recently had this issue, it may have something to do with saving in the secret "satellite" room in 1a. Same symptoms as described, the entire file was overridden with ~22kb of 0 bytes - and interestingly enough, so was the backup.

recently happened here. i'm happy to attach the save if needed, but it seems you already have an idea what it would look like.
happened after not touching the game for a few weeks. before the last major update with chap 9 so i don't think anything to do with that. itwas mid way through chap 8.

Got the same issue some days ago, started playing with the OpenGL <IP_ADDRESS> version. Finished playing Chapter 5 and when I've returned the next day the save file was corrupted. Quick look with an hex editor showed 19KB of zeroes both on the save file and in the backup. Unfortunately I got no luck recovering them with Recuva, even with deep scan. Might check with other program later.


az crashes when creating a role definition

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az role definition create
Errors:
list index out of range
Traceback (most recent call last):
Temp\pip-install-umfcm_n2\knack\knack\cli.py, ln 206, in invoke
azure\cli\core\commands\__init__.py, ln 603, in execute
azure\cli\core\commands\__init__.py, ln 661, in _run_jobs_serially
azure\cli\core\commands\__init__.py, ln 654, in _run_job
Local\Temp\pip-install-umfcm_n2\six\six.py, ln 693, in reraise
azure\cli\core\commands\__init__.py, ln 631, in _run_job
azure\cli\core\commands\__init__.py, ln 306, in __call__
azure-cli-core\azure\cli\core\__init__.py, ln 485, in default_command_handler
azure\cli\command_modules\role\custom.py, ln 51, in create_role_definition
azure\cli\command_modules\role\custom.py, ln 104, in _create_update_role_definition
azure\cli\command_modules\role\_multi_api_adaptor.py, ln 41, in create_role_definition
IndexError: list index out of range

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
$ type .\ResourceProviderRole.json
{
  "Name": "ACS Resource Provider",
  "IsCustom": true,
  "Description": "Act as the Azure Communication Services resource provider service",
  "Actions": [
    "Microsoft.Communication/*/read"
  ],
  "NotActions": [],
  "DataActions": [],
  "NotDataActions": [],
  "AssignableScopes": []
}

$ az role definition create --role-definition .\ResourceProviderRole.json

Expected Behavior
Environment Summary
Windows-10-10.0.19612-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.76 *

Additional Context

@arrownj  please take a look

Hi @bviglietta , thanks for reporting, assignableScopes should not be empty in the json file. We will print a human readable message instead of the exception in our next release.


Move MSFT stuff to separate header file

This cuts the size of e_os.h in half for non-Microsoft platforms.

Moved the file. additional commit (to be squashed) pushed.

I'd like to have some time to ponder about this...

Take all the time you need, @dot-asm.

Ping, anyone?  Makes e_os.h much simpler for everyone.

I'm wondering if we shouldn't divide it further.  That would really make life simpler.
Also, is it important to have this in pre-beta?

Maybe it can make sense to split it further, if someone wants to do that in another PR.  It is hard to see this as a bug-fix -- how would you write the bug? -- which is why I want it now.

Well, I would argue that it doesn't add anything new, it just moves things around for clarity.
As for a report...  "e_os.h hard to read, can it be made more clear?"  There you go.

Problem with mechanical split such as suggested is that it doesn't really address the pending problems, but simply make them prettier, problems that is. For starters I'd say that "microsoft" is Windows-only. For example DJGPP stuff is totally thing of its own. [In the essence it resembles "hosted" kind of platform on Windows, it's kind of a POSIX-y layer,  and it's probably more appropriate to treat it as such.] Another problem is that one wishes to unify all that "underscoring" such as #define stat _stat spread across the source. Problem here is that one needs it in apps (though not for same reason as in lib), but one doesn't want apps to depend on [overly] private header such as e_os.h (or its mechanical split). And finally, and maybe most importantly, it's desirable to arrange things so that <winsock2.h> and <windows.h> are included only when actually needed.

Those are all good suggestions for further improvements.  I'm just trying to move all MSFT (and its dependencies) stuff somewhere else. :)  Yes, this is purely cosmetic.  A big cleanup of e_os is beyond this release.

The question is: are things better with this PR?  Does it help get to a more clean world?

With #5676 in mind. I for one am not against occasional inclusion of <windows.h> explicitly (so that one can see upfront that some specific file contains real(*) Win32 code), but it does have its cons. For example I'd appreciate one place where one can specify minimally supported _WIN32_WINNT. And trouble is that it has to be defined prior <windows.h>. And not to forget dependency on order of <winsock2.h> and <windows.h> inclusion. (Well, one can include them in reverse order, but then you'd be missing some new winsock2 things that we want.) Just in case, in #5676 it's exclusively about CP_UTF8, and it's available for all Windows, so there is no strong dependency in _WIN32_WINNT. Would we consider it acceptable to occasionally include <windows.h> explicitly, in cases of weak dependency on _WIN32_WINNT?
(*) "real Win32" effectively refers to functions that reside in KERNEL32.DLL, ADVAPI32.DLL and alike. I.e. not ANSI C and POSIX-looking things like _stat that are implemented in VCRT.

If all the windows code needs e_os.h is to get windows.h and winsock2.h, I see no reason not to include them directly.
Also, I have no idea how _WIN32_WINNT works exactly, but if it's anything like, for example, defining _POSIX_C_SOURCE to tell the system headers what features are desired, then I see no reason why it can't be defined directly in the source.  If it's more complex than that, then I can see reason not to have to repeat ourselves all over the place...

And the fact that #5676 was required also serves as an example of danger of mechanical pretty-fication of headers. I mean they should be taken in broader context, with greater care and cross-platform consideration... I mean problem is that you say "what can go wrong," and one simply can't answer affirmatively "nothing"...

If all the windows code needs e_os.h is to get windows.h and winsock2.h, I see no reason not to include them directly.

Well, it's a bit of a trick question. e_os.h has even some _MSC_VER-specific fixups, so it's not exclusively about <windows.h>. And besides, there is ambiguity in what "windows code" actually entails. As implied is footnote in one of my previous remarks, "real Win32" code does need <windows.h>, but we do have #ifdef _WIN32 clauses that don't require <windows.h>...

Closing this.  Perhaps someone will do the "right thing" for e_os.h later on.


Merge @hugoplatell's changes.

Thanks for your work @hugoplatell that's awesome! I was having some issues getting it to build when I tried it before so I'm glad someone was able to get it working. I'll push this in version 2.4.0.


Performance Regression Framework

Summary
When writing a language implementation, be it compiled or interpreted, performance of that language should not be allowed to regress. However, without an automated way of tracking regressions, it turns out to be quite difficult to spot non-obvious ones as they occur over time.
In order to ensure that Enso's performance only improves, we need a framework to catch problems as they are introduced.
Specification

Create a regression framework that measures performance in terms of CPU time, GC time, and memory pressure.
It should save platform-specific performance data, and when run on a given platform should  check against the historical data for regressions.
It needs to work on developers' machines and on CI, using different sets of historical data for each.

Acceptance Criteria & Test Cases

The performance regression framework correctly detects performance regressions as they happen.

This task should be accompanied by a reorganisations of the Enso interpreter benchmarks into separate files depending on exactly what they're benchmarking.

The code for doing this has landed on master, but it is still waiting on integration with CI.


Support for Sass source maps?

I tried to activate source maps for debugging Sass but it looks like I'm missing a way to add the debug flag in Scout. Any ideas?
http://snugug.com/musings/debugging-sass-source-maps

Issue resolved. Closing this ticket.

Scout-App Classic (2012)
Scout-App 2 (2016)


fix docs

Hey @mark8s,
Thanks for fixing this!
This file have some out-of-sync content with upstream (English),
we don't allow partial changes to be merged.
Please run this command in main branch and update that small change as well.
./scripts/lsync.sh content/zh-cn/docs/concepts/workloads/controllers/deployment.md

@Sea-n tks!


STRIPES-672: Update react-intl version

Description
Updating react-intl to ^4.5.1
Task
https://issues.folio.org/browse/STRIPES-672

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-plugin-find-instance/job/PR-64/2/

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-plugin-find-instance/job/PR-64/3/

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-plugin-find-instance/job/PR-64/4/

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-plugin-find-instance/job/PR-64/5/

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-plugin-find-instance/job/PR-64/6/

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-plugin-find-instance/job/PR-64/7/


[WIP] Assets

this is a PR off of #27 for building out some asset fetching abstractions for both local and remote logos, as well as CSS
to do:

[x] copy local
[ ] refactor local css to use it
[x] copy remote
[ ] refactor remote css to use it

closing this in favor of making axo asset a separate lib, which we will integrate here iteratively


system-builder mistakenly attributes rx.all.js to System.register format

See for the repo setup
https://gist.github.com/rkirov/946312ee958dc12f8718
In the output file build.js first line is "format register". Moreover the bundle is broken because due to the wrong wrapping there are errors thrown (this is expected to be non-undefined).

few more details:

we're using the systemjs/builder tool here, pulling from npm (not jspm) installed rx (npm install rx)
attempting to use https://github.com/Reactive-Extensions/RxJS/blob/master/dist/rx.all.js

You can try running rx as a different module format and skipping the auto-detection.
The way to do this would be with meta config:
new Builder({
  meta: {
    'rx/dist/rx.all': {
      format: 'amd' // or try global
    }
  }
});

The format interpretations are described more clearly at https://github.com/systemjs/systemjs/wiki/Module-Format-Support.
Let me know if you need more help with it at all.

Thanks @guybedford, that works for us with both format cjs and format global. The auto-detected format actually is format amd; that is different than what I initially thought, but still broken.
You can close the issue unless you want to track that detection issue. I am not sure if it is trully issue with auto-detection of rx.js UMD implementation.


Grammatical error in sentence.

The Public IP address bullet point has a grammatical error, which I have bolded as follows:
" This is IP address does not have anything to do with any of the VMs that you want to connect to. It's the public IP for the Bastion host resource."
That "is" does not make grammatical sense and should be removed so that the sentence reads correctly.

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

ID: 26ef6223-ad6b-4f74-e43a-da331ef2e7a3
Version Independent ID: 28e62309-14f3-b446-6a93-141e9a27b001
Content: Tutorial: Create an Azure Bastion host: Windows VM: portal
Content Source: articles/bastion/tutorial-create-host-portal.md
Service: bastion
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

Hello @samuel-elliott
Thank you for your feedback! We will review and update as appropriate.

@samuel-elliott Thank you for pointing this, I have updated the document accordingly. It should update soon within the next few hors or so. I will proceed to close this thread. Thank you!


Distinguish between anonymous * token and wildcard selector

Paired with @maxbrunsfeld
Identify the Bug
An anonymous token "*" is not distinguished with the wildcard selector *. So if a tree-sitter grammar has a scope mapping like this:
'"*"': 'keyword.operator'
'relational_expression > ">"': 'keyword.operator'

It will scope any > as keyword.operator
Description of the Change
This changes setTableDefaults to add a parameter for allowing wildcard selectors so we can disallow it when mapping the anonymous nodes.
Verification Process

This PR https://github.com/atom/language-c/pull/303 adds scope mappings for relational_expression > ">" and "*" to be keyword.operator. Without this change tree-sitter will still scope > and < in templates as keyword.operator
Passing tests

Release Notes

I'd say we don't need a release note for this one, because its only user-facing impact is via https://github.com/atom/language-c/pull/303 - basically fixing a bug with how < and > were highlighted.