java.lang.IllegalAccessException

Report
Plugin Version
6.9.4
On what Platform are you having the issue?
android
What did you do?
Called appsFlyer.logEvent
What did you expect to happen?
Event to be logged successfully
What happened instead?
logEvent failed and called error callback with the following stack trace
Fatal Exception: java.lang.Error: java.lang.IllegalAccessException: Class java.lang.Class<java.lang.reflect.Method> cannot access protected  method java.lang.Class com.appsflyer.internal.AFa1zSDK$$.loadClass(java.lang.String, boolean) of class java.lang.Class<com.appsflyer.internal.AFa1zSDK$$>
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1168)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
       at java.lang.Thread.run(Thread.java:764)

Caused by java.lang.IllegalAccessException: Class java.lang.Class<java.lang.reflect.Method> cannot access protected  method java.lang.Class com.appsflyer.internal.AFa1zSDK$$.loadClass(java.lang.String, boolean) of class java.lang.Class<com.appsflyer.internal.AFa1zSDK$$>
       at java.lang.reflect.Method.invokeImpl(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:411)
       at com.appsflyer.internal.AFa1zSDK$$.valueOf(:100)
       at com.appsflyer.internal.AFa1zSDK$$.AFKeystoreWrapper(:20)
       at java.lang.reflect.Method.invokeImpl(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:411)
       at com.appsflyer.internal.AFa1wSDK.values(:125)
       at com.appsflyer.internal.AFc1vSDK.AFKeystoreWrapper(:143)
       at com.appsflyer.internal.AFd1rSDK.AFKeystoreWrapper(:65)
       at com.appsflyer.internal.AFd1vSDK.values(:113)
       at com.appsflyer.internal.AFc1gSDK$1.run(:109)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
       at java.lang.Thread.run(Thread.java:764)

Please provide any other relevant information.
Till now noticed this issue on Android 8.1.0

@dnvarun do you still see this exception?

@dnvarun do you still see this exception?

Yes this exception is still present on production and it's a dealbreaker because it's a fatal error fo my customers.
Please can you help us on this exception?

@amit-kremer93 yes we still see it

We're seeing this too.

Any update on this?

https://github.com/AppsFlyerSDK/appsflyer-android-app/issues/20#issuecomment-1644473907
seems that the fix will come at the next week

@lhreska
That fix will come to Android SDK first.
But this react-native-appsflyer package is still at 6.10.3. It's lagging behind by 5 versions.
Can someone from the dev team please respond regarding a tentative timeline for this fix for react native ?

@aditya-keri-betterhalf new version is going to be released in the next few days

@amit-kremer93
Could you please confirm if this new version is going to be 6.12.2 ?
Because that's the one containing the fix for this issue.

No. it contains 6.12.1

@amit-kremer93
Thank you for replying again.
Any tentative timeline on releasing 6.12.2 so that we can get rid of this issue ?

I'm having this issue as well. It looks like I can't upgrade to 6.12.2 yet.


(enhancement): Replace flatten_list with itertools.chain

Feature or Bugfix

Fix
Enhancement

Detail

grpc has been causing issues in ray 2.2. Version 1.5.2 has been yanked. I have updated the poetry lock as a result
While looking at ray examples, I discovered that itertools.chain is preferred for flattening lists

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: db3b41a67e85cf6aa2b0a4c1814f6bed96e3c379
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubStandardCodeBuild8C06-llutOAimTATs
Commit ID: db3b41a67e85cf6aa2b0a4c1814f6bed96e3c379
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubLoadTests5656BB24-ATYtnXPE7MOa
Commit ID: db3b41a67e85cf6aa2b0a4c1814f6bed96e3c379
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubStandardCodeBuild8C06-llutOAimTATs
Commit ID: db3b41a67e85cf6aa2b0a4c1814f6bed96e3c379
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


(#479) Add YouTube video to both intune docs

Description Of Changes
Add YouTube video embed to intune docs pages.
Motivation and Context
Link the video we have going over the content of the child pages.
Testing

[X] I have previewed these changes using the Docker Container or another method before submitting this pull request.

Change Types Made

[ ] Minor documentation fix (typos etc.).
[X] Major documentation change (refactoring, reformatting or adding documentation to existing page).
[ ] New documentation page added.

Change Checklist

[ ] Requires a change to menu structure (top or left hand side)/
[ ] Menu structure has been updated

Related Issue
Fixes #479

@ryanrichter94 thanks for getting this added!


Plugin not compatible with IntelliJ 2023.3 Build #IU-233.11799.241, built on December 2, 2023

The plugin is not compatible the latest version of IntelliJ.

Hello! Thanks, I will update the plugin today.

New version is waiting for review (up to 1d), but you already can download it by direct link: https://plugins.jetbrains.com/plugin/22455-spotless-applier/versions/stable/452877


Configuration in JS

Hey Everyone,
Would it be possible to add some means to configure the typescript options in JavaScript rather than loading them from tsconfig.json? We have many builds that require different setup - for instance one build shouldn't build unit tests, while another should. One build should resolve a particular module using a generated d.ts file, while another should use the actual source code of that module. On top of that, we have about ten apps that we develop, so this adds up very quickly, leading to a myriad of tsconfig.json files just to configure this one plugin.
If we could specify the typescript options (compilerOptions and files/include in particular) directly in webpack.config.js, none of this would be necessary and the whole process would be much simpler.

I'm not a maintainer of this project but I know PRs are welcome. Why don't you submit one with your proposed changes in? It might need a few iterations to get right but that would be a great place to start!

I didn't add such option because I think it's not useful in most cases. Having tsconfig.json has its benefits - if you have IDE that supports typescript, it will use this file, not configuration from webpack - so IDE messages will be the same as in webpack output and whole developing process will be more consistent :) But as @johnnyreilly said - PR's are welcome :)


Irregular 3D scanner data in new calibration files

Description

Our lab is analyzing re-calibrated 3D data in: "/MovingSensor.reproc2016-8-3/scanner3DTop/" in Globus. There is some unexpected situation in new calibration files here:

For some of the 3D scanner data, the folders that contain this data do not have the associate files. Some examples:
"/MovingSensor.reproc2016-8-3/scanner3DTop/2016-05-04/2016-05-04__15-42-38-654/"
"/MovingSensor.reproc2016-8-3/scanner3DTop/2016-05-27/2016-05-27__15-48-51-604/"
"/MovingSensor.reproc2016-8-3/scanner3DTop/2016-06-08/2016-06-08__00-11-35-026/"
No points in ply file. This problem only occur in some early season data:
"/MovingSensor.reproc2016-8-3/scanner3DTop/2016-05-15/"
"/MovingSensor.reproc2016-8-3/scanner3DTop/2016-05-16/"
For some of the data, plant looks tilted to one side. It seems that once "Gantry Position Z"(parameter in json file) changed, this "plant tilted" would be happened:
"/MovingSensor.reproc2016-8-3/scanner3DTop/2016-05-22/"
"/MovingSensor.reproc2016-8-3/scanner3DTop/2016-05-30/"
"/MovingSensor.reproc2016-8-3/scanner3DTop/2016-06-08/"

These problems might affect the estimation of plant's traits.

Do you have any thoughts @smarshall-bmr @TinoDornbusch @rjstrand ?

@solmazhajmohammadi could probably tell you more about this. The empty folder/blank plys/tilted plants were known issues but I thought that all of the incorrectly generated ply files have been rewritten/replaced. Some may have been missed?

Original data is available in the server and in the old 3D scanner folder ("/MovingSensor/scanner3DTop/").
PLY worker was stopped during the processing data, probably missing data is related to this issue.  I will make sure to keep record of any unwanted restart for the next run.

For the empty pointclouds we can delete them from the server for the next processing.

Some of the parameters in the controller need to be adjusted. Pointclouds are tilted when the scans started from y=22m. (Scans starting from y=0 should be OK. )
You should see the same issue even in the early scans. @ZongyangLi I keep you updated when it is fixed.

@solmazhajmohammadi Thanks for your reply!
For "tilted plants", I just want to let you know that it is not only happened when the scans started from y=22m. In the folder I provided(full day data), both side(west/east scans) pointclouds are tilted in reprocessing data.

has your question been answered @ZongyangLi ?

so far as I know, these Irregular 3D scanner data still exist in the newest dataset.

@solmazhajmohammadi could you please investigate and on this error?
Is the incorrect reporting of the z axis related to this? If not, could you or @ZongyangLi please create a new issue?

We are working to fix the issue.
Regarding Z axis, it might be the gantry position. Till 07/04, Z axis was set to 3.615 and on 07/07, it has been set to 3.915m.

@solmazhajmohammadi : is this fixed?

@ZongyangLi @max-zilla @dlebauer
I checked the data, irregular pointcloud data caused by Fraunhofer software bug. It should be fixed now, you can skip those data.

@ZongyangLi - please let us know if this is fixed.

@rachelshekar I think this issue should be closed since it's for season 1.
I guess we are talking about unexpected data in season 2 from 10/13 to 11/04 which I mentioned in #210 . And from @solmazhajmohammadi we know that 3d data for those days are not able to fixed.

@ZongyangLi if these data can not be fixed, will the extractor skip them? Does there need to be some sort of QA flag in these directories, should they be moved to a bad data folder, or should we delete them?

In short, before closing I want to make sure that we have a robust way of handling these so that we don't end up accidentally processing them with the extractors and inserting errors into downstream datasets.

@dlebauer I think they should not remain in the folder.

@jdmaloney how do you suggest we handle these files (scanner3DTop from 10/3-11/14)? I wouldn't want to break the transfer logs / file checks or have them missing without explanation (e.g. if we just deleted or moved the files).
@ZongyangLi what would it take to have the extractor skip these dates ... e.g. if a filename triggers the extractor, would it be sufficient to append the filenames with something like _error?
Or move the files and maintain the directory structure. In any case (moving, renaming, deleting). It could be helpful to create a README that links to this issue, the deleted or moved files, and a summary for future users.
Or, perhaps there is a more generic high-level solution, like having Clowder always ignore directories that contain a file named dontrun or similar ( @robkooper @max-zilla)?

This is a stale issue with no comments in last 2 months. Please create new issues if work remains or put this content in the documentation.


can't find the python binary

Problem summary
I am on revision 56528fd1238bbf2f9363f16710d0936703dc9eab
When starting nvim, I systematically get:
[deoplete] Error when loading source jedi: Failed to start server (python -u /
       ↳ home/teto/.local/share/nvim/site/pack/deoplete-jedi/rplugin/python3/deoplete/
       ↳ sources/deoplete_jedi/server.py --desc-length 0 --debug  --debug-level 0):
       ↳ [Errno 2] No such file or directory: 'python'. Ignoring.

Expected
No error
Environment Information

OS: nixos 17.03
Neovim version: NVIM v0.2.1-dev

Nixos is a bit of a peculiar OS that runs every program in some kind of virtualized environment. For instance neovim runs with python3 available in g:python3_host_prog= /nix/store/macg539i39wpzxhysp1lmvv7zfx6nqsb-neovim-master/bin/nvim-python3 but there is no python binary in path. I don't know wether deoplete-jedi retrieves its binary from deoplete or by itself but at some point it should use  g:python3_host_prog otherwise it might pickup a wrong python.

OK.  It should be fixed.

Hm.  Please configure deoplete#sources#jedi#python_path.


python310Packages.nuitka: 1.1.5 -> 1.7

Description of changes
Diff: https://github.com/Nuitka/Nuitka/compare/1.1.5...1.7
Changelog: https://github.com/Nuitka/Nuitka/blob/1.7/Changelog.rst

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 242426 run on x86_64-linux 1

4 packages built:

python310Packages.nuitka
python310Packages.nuitka.dist
python311Packages.nuitka
python311Packages.nuitka.dist

closing in favor of https://github.com/NixOS/nixpkgs/pull/264023


Remove default values from help strings

Because

They might become incorrect if the constants change in the future
(The main reason) They are already printed because the argparser is
an ArgumentDefaultsHelpFormatter type

Fixed by #265


php82 version?

Thanks for this repo, it got me up and running with PHP and MySQL very easily. Any thoughts about a PHP 8.2 version?
This is not really an issue for this repo, more a general feature request or question, so please close / move elsewhere as appropriate! Look forward to your reply.

Hi @sfreytag
Thanks for the suggestion. I have created https://github.com/pyguerder/bitbucket-pipelines-php82/ and pushed the image to https://hub.docker.com/r/pyguerder/bitbucket-pipelines-php82
Best regards

Amazing, thanks. Will give it a go. My pipeline is currently built using composer for the build and php82 for phpunit, so this should simplify it nicely.


Add hackerboy01 to the member list

Hello,
I am adding myself, hackerboy01, to the kubeflow member list, and I am willing to keep contributing to the community.
Merged PRs:

add mpi-operator(v1) to the unified operator #1457
fix comments for mpi-controller #1485

Other issues:

[bug] (MpiJob)Init container KubectlDeliveryImage should remain the ability that it can be specified from container parameters or environment variables.

/ok-to-test
/lgtm
Thanks for your contribution to the training operator!
/cc @Bobgy

/assign @james-jwu

Thanks for your contribution!
/lgtm
/approve


Please keep this simple

The main goal should be code readability, and easy understanding, for learning
There are many PRs that add lots of complexity
One option is to use separate branches, maybe 3:

main -> clean code
fastest -> to check where this can reach
intermediate

Or reference other implementations on the README

@kroggen agree ty. If people want the fastest thing they should take a look at the excellent llama.cpp.

I feel that this issue is targeted towards the work I did writing the matrix multiply code, and fixing the cache alignment issue.
Ir is a little disheartening given the amount of work, and there is a comment by @karpathy on #95 saying he doesn't mind the matrix multiplies being more complicated because that is where the work gets done, and now if you want fast use something else.
Yet the march for performance moves on, with exploration of half floats and other data types that are sure to add complexity.
Perhaps it would be good to say in the README what kinds of PR's the maintainers will allow and which not so that other people don't waste time in future.
I still believe there is educational value in seeing the guts of a matrix multiplication, since those are the guts of the whole system.
Maybe the right thing to do would be just to leave it frozen in time like nanoGPT, so it preserves its simplicity, and then do additional versions with more performance or features as a separate thing, idk.
In any case, I quite enjoyed writing the code, so not to worry.
All the best

Hi @Foundation42 thanks for your thoughts, I adjusted the readme with contributor guidelines.


[Session] Mandatory FactoryInterface should be optional

Description
The SessionFactory takes 2 mandatory arguments: SessionConfig and a FactoryInterface. However, the FactoryInterface is only needed when a specific session handler is configured (so that Autowire can resolve it)
How To Reproduce
If the configured handler is left to default (null), the expected behaviour is not to override the php ini native session handler. In this case there shouldn't be a need to pass a FactoryInterface
Additional Info

Q
A

Framework Version
none (using latest spiral/session package without framework)

PHP version
8.3.0

Operating system
Linux /Alpine

misread some code


failure to link with emcc

wargo build doesn't work on my machine. OSX 10.9.5, rustc beta 1.22:
durska:wasm-meow alex$ wargo build
  Setup wasm using emcc already in $PATH
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 1.37.1
clang version 3.9.0  (emscripten 1.37.1 : 1.37.1)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
InstalledDir: /usr/local/opt/emscripten/libexec/llvm/bin
INFO:root:(Emscripten: Running sanity checks)
  Setup wasm running 'cargo build --target=wasm32-unknown-emscripten'
   Compiling wasm-meow v0.1.0 (file:///Users/alex/Programming/rust/wasm-meow)
error: linking with `emcc` failed: exit code: 1
  |
  = note: "emcc" "-s" "DISABLE_EXCEPTION_CATCHING=0" "-L" "/Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib" "/Users/alex/Programming/rust/wasm-meow/target/wasm32-unknown-emscripten/debug/deps/wasm_meow.wasm_meow0.rust-cgu.o" "/Users/alex/Programming/rust/wasm-meow/target/wasm32-unknown-emscripten/debug/deps/wasm_meow.wasm_meow1.rust-cgu.o" "-o" "/Users/alex/Programming/rust/wasm-meow/target/wasm32-unknown-emscripten/debug/deps/wasm_meow.js" "-s" "EXPORTED_FUNCTIONS=[\"_main\",\"___rdl_usable_size\",\"___rdl_alloc\",\"___rdl_oom\",\"___rdl_realloc_excess\",\"___rdl_realloc\",\"___rdl_alloc_zeroed\",\"___rdl_dealloc\",\"___rdl_grow_in_place\",\"___rdl_shrink_in_place\",\"___rdl_alloc_excess\",\"_rust_eh_personality\"]" "/Users/alex/Programming/rust/wasm-meow/target/wasm32-unknown-emscripten/debug/deps/wasm_meow.crate.allocator.rust-cgu.o" "-O0" "--memory-init-file" "0" "-g4" "-s" "DEFAULT_LIBRARY_FUNCS_TO_INCLUDE=[]" "-L" "/Users/alex/Programming/rust/wasm-meow/target/wasm32-unknown-emscripten/debug/deps" "-L" "/Users/alex/Programming/rust/wasm-meow/target/debug/deps" "-L" "/Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib" "/Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/libstd-fd5a5994a7119be8.rlib" "/Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/liballoc_system-374bc440b9662bf0.rlib" "/Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/librand-203741dee36916a0.rlib" "/Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/libpanic_unwind-0dd559b18d33e598.rlib" "/Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/liballoc-a4098e5f2362fad4.rlib" "/Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/libstd_unicode-33573075d0137284.rlib" "/Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/libunwind-7a681ccc5f56153b.rlib" "/Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/liblibc-961feb37bd08a60c.rlib" "/Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/libcore-ec8cb847d01a1f4d.rlib" "/Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/libcompiler_builtins-86c9d660ff58949a.rlib" "-l" "c" "-s" "BINARYEN=1" "-s" "ERROR_ON_UNDEFINED_SYMBOLS=1"
  = note: WARNING:root:retrieving port: binaryen from https://github.com/WebAssembly/binaryen/archive/version_21.zip
          WARNING:root:unpacking port: binaryen
          INFO:root:generating port: binaryen_tag_version_21.txt... (this will be cached in "/Users/alex/.emscripten_cache/asmjs/binaryen_tag_version_21.txt" for subsequent builds)
          INFO:root:building port: binaryen
          CMake Warning (dev):
            Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
            --help-policy CMP0042" for policy details.  Use the cmake_policy command to
            set the policy and suppress this warning.

            MACOSX_RPATH is not specified for the following targets:

             binaryen

          This warning is for project developers.  Use -Wno-dev to suppress it.

          INFO:root: - ok
          /usr/local/opt/emscripten/libexec/llvm/bin/llvm-nm: /Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/libstd-fd5a5994a7119be8.rlib(rust.metadata.bin) The end of the file was unexpectedly encountered

          /usr/local/opt/emscripten/libexec/llvm/bin/llvm-nm: /Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/liballoc_system-374bc440b9662bf0.rlib(rust.metadata.bin) The end of the file was unexpectedly encountered

          /usr/local/opt/emscripten/libexec/llvm/bin/llvm-nm: /Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/librand-203741dee36916a0.rlib(rust.metadata.bin) The end of the file was unexpectedly encountered

          /usr/local/opt/emscripten/libexec/llvm/bin/llvm-nm: /Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/libpanic_unwind-0dd559b18d33e598.rlib(rust.metadata.bin) The end of the file was unexpectedly encountered

          /usr/local/opt/emscripten/libexec/llvm/bin/llvm-nm: /Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/liballoc-a4098e5f2362fad4.rlib(rust.metadata.bin) The end of the file was unexpectedly encountered

          /usr/local/opt/emscripten/libexec/llvm/bin/llvm-nm: /Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/libstd_unicode-33573075d0137284.rlib(rust.metadata.bin) The end of the file was unexpectedly encountered

          /usr/local/opt/emscripten/libexec/llvm/bin/llvm-nm: /Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/libunwind-7a681ccc5f56153b.rlib(rust.metadata.bin) The end of the file was unexpectedly encountered

          /usr/local/opt/emscripten/libexec/llvm/bin/llvm-nm: /Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/liblibc-961feb37bd08a60c.rlib(rust.metadata.bin) The end of the file was unexpectedly encountered

          /usr/local/opt/emscripten/libexec/llvm/bin/llvm-nm: /Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/libcore-ec8cb847d01a1f4d.rlib(rust.metadata.bin) The end of the file was unexpectedly encountered

          /usr/local/opt/emscripten/libexec/llvm/bin/llvm-nm: /Users/alex/.rustup/toolchains/beta-x86_64-apple-darwin/lib/rustlib/wasm32-unknown-emscripten/lib/libcompiler_builtins-86c9d660ff58949a.rlib(rust.metadata.bin) The end of the file was unexpectedly encountered

          INFO:root:generating system library: wasm-libc.bc... (this will be cached in "/Users/alex/.emscripten_cache/asmjs/wasm-libc.bc" for subsequent builds)
          INFO:root: - ok
          error: Invalid record (Producer: 'LLVM4.0.1' Reader: 'LLVM 3.9.0')
          Traceback (most recent call last):
            File "/usr/local/bin/emcc", line 13, in <module>
              emcc.run()
            File "/usr/local/Cellar/emscripten/1.37.1/libexec/emcc.py", line 1605, in run
              final = shared.Building.llvm_opt(final, link_opts, DEFAULT_FINAL)
            File "/usr/local/Cellar/emscripten/1.37.1/libexec/tools/shared.py", line 1637, in llvm_opt
              assert os.path.exists(target), 'Failed to run llvm optimizations: ' + output
          AssertionError: Failed to run llvm optimizations:
          -- The C compiler identification is AppleClang <IP_ADDRESS>00057
          -- The CXX compiler identification is AppleClang <IP_ADDRESS>00057
          -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
          -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
          -- Detecting C compiler ABI info
          -- Detecting C compiler ABI info - done
          -- Detecting C compile features
          -- Detecting C compile features - done
          -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
          -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
          -- Detecting CXX compiler ABI info
          -- Detecting CXX compiler ABI info - done
          -- Detecting CXX compile features
          -- Detecting CXX compile features - done
          -- Looking for pthread.h
          -- Looking for pthread.h - found
          -- Looking for pthread_create
          -- Looking for pthread_create - found
          -- Found Threads: TRUE
          -- Building with -std=c++11
          -- Building with -msse2
          -- Building with -mfpmath=sse
          -- Building with -Wall
          -- Building with -Werror
          -- Building with -Wextra
          -- Building with -Wno-unused-parameter
          -- Building with -fno-omit-frame-pointer
          -- Building with -fPIC
          -- Building with -O2
          -- Building with -UNDEBUG
          -- Configuring done
          -- Generating done
          -- Build files have been written to: /Users/alex/.emscripten_ports/binaryen/binaryen-version_21
          Scanning dependencies of target asmjs
          Scanning dependencies of target support
          Scanning dependencies of target wasm
          [  1%] Building CXX object src/asmjs/CMakeFiles/asmjs.dir/asm_v_wasm.cpp.o
          [  2%] Building CXX object src/support/CMakeFiles/support.dir/archive.cpp.o
          [  4%] Building CXX object src/wasm/CMakeFiles/wasm.dir/wasm.cpp.o
          Scanning dependencies of target passes
          [  5%] Building CXX object src/passes/CMakeFiles/passes.dir/pass.cpp.o
          [  7%] Building CXX object src/support/CMakeFiles/support.dir/bits.cpp.o
          [  8%] Building CXX object src/support/CMakeFiles/support.dir/colors.cpp.o
          [ 10%] Building CXX object src/asmjs/CMakeFiles/asmjs.dir/shared-constants.cpp.o
          [ 11%] Building CXX object src/support/CMakeFiles/support.dir/command-line.cpp.o
          [ 13%] Building CXX object src/wasm/CMakeFiles/wasm.dir/wasm-binary.cpp.o
          [ 14%] Linking CXX static library ../../lib/libasmjs.a
          [ 14%] Built target asmjs
          [ 16%] Building CXX object src/passes/CMakeFiles/passes.dir/CoalesceLocals.cpp.o
          Scanning dependencies of target emscripten-optimizer
          [ 17%] Building CXX object src/emscripten-optimizer/CMakeFiles/emscripten-optimizer.dir/optimizer-shared.cpp.o
          [ 19%] Building CXX object src/support/CMakeFiles/support.dir/file.cpp.o
          [ 20%] Building CXX object src/emscripten-optimizer/CMakeFiles/emscripten-optimizer.dir/parser.cpp.o
          [ 22%] Building CXX object src/support/CMakeFiles/support.dir/safe_integer.cpp.o
          [ 23%] Building CXX object src/support/CMakeFiles/support.dir/threads.cpp.o
          [ 25%] Linking CXX static library ../../lib/libsupport.a
          [ 25%] Built target support
          [ 26%] Building CXX object src/passes/CMakeFiles/passes.dir/CodePushing.cpp.o
          [ 28%] Building CXX object src/emscripten-optimizer/CMakeFiles/emscripten-optimizer.dir/simple_ast.cpp.o
          [ 29%] Building CXX object src/passes/CMakeFiles/passes.dir/DeadCodeElimination.cpp.o
          [ 31%] Linking CXX static library ../../lib/libemscripten-optimizer.a
          [ 31%] Built target emscripten-optimizer
          [ 32%] Building CXX object src/wasm/CMakeFiles/wasm.dir/wasm-s-parser.cpp.o
          [ 34%] Building CXX object src/passes/CMakeFiles/passes.dir/DuplicateFunctionElimination.cpp.o
          [ 35%] Building CXX object src/passes/CMakeFiles/passes.dir/ExtractFunction.cpp.o
          [ 37%] Building CXX object src/passes/CMakeFiles/passes.dir/Inlining.cpp.o
          [ 38%] Building CXX object src/passes/CMakeFiles/passes.dir/LegalizeJSInterface.cpp.o
          [ 40%] Building CXX object src/passes/CMakeFiles/passes.dir/MemoryPacking.cpp.o
          [ 41%] Building CXX object src/passes/CMakeFiles/passes.dir/MergeBlocks.cpp.o
          [ 43%] Linking CXX static library ../../lib/libwasm.a
          [ 43%] Built target wasm
          [ 44%] Building CXX object src/passes/CMakeFiles/passes.dir/Metrics.cpp.o
          [ 46%] Building CXX object src/passes/CMakeFiles/passes.dir/NameManager.cpp.o
          [ 47%] Building CXX object src/passes/CMakeFiles/passes.dir/NameList.cpp.o
          [ 49%] Building CXX object src/passes/CMakeFiles/passes.dir/OptimizeInstructions.cpp.o
          [ 50%] Building CXX object src/passes/CMakeFiles/passes.dir/PostEmscripten.cpp.o
          [ 52%] Building CXX object src/passes/CMakeFiles/passes.dir/Precompute.cpp.o
          [ 53%] Building CXX object src/passes/CMakeFiles/passes.dir/Print.cpp.o
          [ 55%] Building CXX object src/passes/CMakeFiles/passes.dir/PrintCallGraph.cpp.o
          [ 56%] Building CXX object src/passes/CMakeFiles/passes.dir/RelooperJumpThreading.cpp.o
          [ 58%] Building CXX object src/passes/CMakeFiles/passes.dir/RemoveImports.cpp.o
          [ 59%] Building CXX object src/passes/CMakeFiles/passes.dir/RemoveMemory.cpp.o
          [ 61%] Building CXX object src/passes/CMakeFiles/passes.dir/RemoveUnusedBrs.cpp.o
          [ 62%] Building CXX object src/passes/CMakeFiles/passes.dir/RemoveUnusedNames.cpp.o
          [ 64%] Building CXX object src/passes/CMakeFiles/passes.dir/RemoveUnusedFunctions.cpp.o
          [ 65%] Building CXX object src/passes/CMakeFiles/passes.dir/ReorderLocals.cpp.o
          [ 67%] Building CXX object src/passes/CMakeFiles/passes.dir/ReorderFunctions.cpp.o
          [ 68%] Building CXX object src/passes/CMakeFiles/passes.dir/SimplifyLocals.cpp.o
          [ 70%] Building CXX object src/passes/CMakeFiles/passes.dir/Vacuum.cpp.o
          [ 71%] Linking CXX static library ../../lib/libpasses.a
          [ 71%] Built target passes
          Scanning dependencies of target wasm-opt
          Scanning dependencies of target wasm-as
          Scanning dependencies of target wasm-shell
          Scanning dependencies of target asm2wasm
          [ 73%] Building CXX object CMakeFiles/wasm-opt.dir/src/tools/wasm-opt.cpp.o
          [ 74%] Building CXX object CMakeFiles/wasm-as.dir/src/tools/wasm-as.cpp.o
          [ 76%] Building CXX object CMakeFiles/wasm-shell.dir/src/tools/wasm-shell.cpp.o
          [ 77%] Building CXX object CMakeFiles/asm2wasm.dir/src/tools/asm2wasm.cpp.o
          [ 79%] Linking CXX executable bin/wasm-as
          [ 79%] Built target wasm-as
          [ 80%] Linking CXX executable bin/wasm-opt
          [ 82%] Building CXX object CMakeFiles/wasm-shell.dir/src/wasm-interpreter.cpp.o
          [ 82%] Built target wasm-opt
          [ 83%] Building CXX object CMakeFiles/asm2wasm.dir/src/wasm-emscripten.cpp.o
          Scanning dependencies of target wasm-dis
          [ 85%] Building CXX object CMakeFiles/wasm-dis.dir/src/tools/wasm-dis.cpp.o
          [ 86%] Linking CXX executable bin/wasm-shell
          [ 86%] Built target wasm-shell
          Scanning dependencies of target s2wasm
          [ 88%] Building CXX object CMakeFiles/s2wasm.dir/src/tools/s2wasm.cpp.o
          Scanning dependencies of target binaryen
          [ 89%] Building CXX object CMakeFiles/binaryen.dir/src/binaryen-c.cpp.o
          [ 91%] Linking CXX executable bin/wasm-dis
          [ 91%] Built target wasm-dis
          [ 92%] Building CXX object CMakeFiles/s2wasm.dir/src/wasm-emscripten.cpp.o
          [ 94%] Linking CXX executable bin/asm2wasm
          [ 94%] Built target asm2wasm
          [ 95%] Building CXX object CMakeFiles/binaryen.dir/src/cfg/Relooper.cpp.o
          [ 97%] Building CXX object CMakeFiles/s2wasm.dir/src/wasm-linker.cpp.o
          [ 98%] Linking CXX shared library lib/libbinaryen.dylib
          [ 98%] Built target binaryen
          [100%] Linking CXX executable bin/s2wasm
          [100%] Built target s2wasm

error: aborting due to previous error

error: Could not compile `wasm-meow`.

Looks like you've already got an emscripten compiler installed on your computer? If you remove the emcc binary from your $PATH and then rerun, does it work?

Yes, it seems to be from brew install emscripten. But maybe it's too old or something?

Hrm, yes, perhaps? I'm not sure about the specifics of homebrew's emscripten. Since you have errors from binaryen, it's also possible your emscripten can compile to asm.js, but not wasm?
(Also still curious if removing it fixes the problem!)

After removing it wargo tries to install emcc and work around the macOS
linking bug, but sadly LLVM fails to build:
https://gist.github.com/b9e1548232ddae04c15591374c6af7c1
Maybe OSX 10.9.5 is just too old at this point.
On Sun, Oct 22, 2017 at 10:26 PM, Robert Lord<EMAIL_ADDRESS>wrote:

Hrm, yes, perhaps? I'm not sure about the specifics of homebrew's
emscripten. Since you have errors from binaryen, it's also possible your
emscripten can compile to asm.js, but not wasm?
(Also still curious if removing it fixes the problem!)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lord/wargo/issues/10#issuecomment-338531621, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAC3n5FBnXgfb_bRgvKiQwhLdotGIU_6ks5su_lagaJpZM4QCLKZ
.

Hrm, yea, it's possible that it's too old for emsdk to have a prebuilt binary for? Which would explain why it's trying to build, on more recent machines it's a quick download of a binary. That's frustrating. 😕

I'm going to close now, but if you find a fix that we can automate please do let us know!


Support litellm router features?

litellm includes some nice features to rate limit calls, and switch between deployments based on  https://docs.litellm.ai/docs/routing
I wonder if it would be possible to configure magentic to accept a router config?
e.g. on line 12 here, rather than just importing litellm and then using litellm.completion you could create a router instance based on a MAGENTIC_LITELLM_ROUTER config and below on line 61 or 94  use router.completion or router.acompletion rather than litellm.acompletion?
https://github.com/jackmpcollins/magentic/blob/5b4b1012e630bd01baa0ef8bf3caf86fb68ae993/src/magentic/chat_model/litellm_chat_model.py
My initial use case is just setting RPM limits, but I can see it would also be nice to be able to track token usage.

It's not currently possible but it could definitely be added. The code you link is old. The newer version would be even more simple to update.
https://github.com/jackmpcollins/magentic/blob/6747d99dc37f0becbfbb12fdfdc17392da343ee0/src/magentic/chat_model/litellm_chat_model.py#L153-L155
I think a good approach would be to add a router: litellm.Router | None = None parameter to LitellmChatModel.__init__. Then in (a)complete use router.completion instead of litellm.completion if router was provided (assuming they meet the same interface, which appears to be the case).

would you be open to a pr if I have a go at this?

would you be open to a pr if I have a go at this?

@benwhalley Absolutely!


toValue error dialog because of getValue() in ReadableNativeMap.java after dragging list item on other item in android

In android after dragging one list item to other app crashesh with toValue error dialog because of getValue() in ReadableNativeMap.java error.

<DraggableFlatList
      data={props.data}
      extraData={props}
      renderItem={getListItem}
      keyExtractor={(item, index) => `draggable-item-${index}`}
      scrollPercent={10}
      onMoveEnd={({ data }) => props.moveEnd(data)}

    />

React Native : 0.55.4
"react-native-draggable-dynamic-flatlist": "1.0.2"
Trying to solve the issue but no success any suggestions are welcome

Duplicate of https://github.com/facebook/react-native/issues/23268


[FEATURE] Modify JobType PlugIn to take care of Flow Ramp Feature

Reorganize the code to move some duplication
Add Ramp Dependency ClassPath

Pull Request Test Coverage Report for Build 4844

0 of 106 (0.0%)  changed or added relevant lines in 7 files are covered.
5 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.03%) to 38.871%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/JavaJob.java
0
1
0.0%

az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/PigProcessJob.java
0
1
0.0%

az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/HadoopHiveJob.java
0
3
0.0%

az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/HadoopJavaJob.java
0
5
0.0%

azkaban-common/src/main/java/azkaban/jobExecutor/JavaProcessJob.java
0
14
0.0%

az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/AbstractHadoopJavaProcessJob.java
0
21
0.0%

az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/HadoopPigJob.java
0
61
0.0%

Files with Coverage Reduction
New Missed Lines
%

az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/HadoopHiveJob.java
1
0.0%

azkaban-web-server/src/main/java/azkaban/flowtrigger/FlowTriggerService.java
1
60.08%

azkaban-exec-server/src/main/java/azkaban/execapp/JobRunner.java
3
77.96%

Totals

Change from base Build 4843:
-0.03%

Covered Lines:
12083

Relevant Lines:
31085

💛  - Coveralls


stock-Sentimental issues #145 Closes #145

Issue Reference:
Closes #145
Description of changes:  #145

closes #145

@Mayureshd-18  I have linked issue with closes

@Mayureshd-18 I have linked issue with closes

Until the issue is seen on the 'Pull requests' page, its not linked correctly. Please refer to merged PRs for reference.

@Mayureshd-18  is it perfect now?

fixes #145

closes #145

@Mayureshd-18  please check now?

commit the changes @rohitinu6


Enable version catalogs

https://docs.gradle.org/7.0/userguide/declaring_dependencies.html#sec:type-safe-project-accessors

Before
BUILD SUCCESSFUL in 39s
784 actionable tasks: 60 executed, 724 from cache
Configuration cache entry stored.


protocols/autonat/examples: Add client example

Hope this can be of some use.
Example to connect to an IPFS bootstrap node:
cargo run --example client -- --server-address /ip4/<IP_ADDRESS>/tcp/4001 --server-peer-id QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ

One more thing: on the latest upstream I changed it so that brefore sending a Dial-Request to other peers, it checks if the probe can ever be successful with it's current config. So currently in this example it would not even try to dial the server, because min_confidence is per default 3, but we know only one server, hence there is no chance to get 3 successful dial backs.
So you probably would want to set:
         auto_nat: autonat::Behaviour::new(
                local_public_key.to_peer_id(),
                autonat::Config {
                    auto_probe: Some(autonat::AutoProbe {
                        interval: Duration::from_secs(10),
                        config: autonat::ProbeConfig {
                            min_confidence: 1, // set to 1 since we only have one server
                            ..Default::default()
                        }
                    }),
                    ..autonat::Config::default()
                },
            ),

Thanks @mxinden!


fix camera viewMatrix typo

Fixes #
fix camera get viewMatrix typo
I confirm I have signed the Contributor License Agreement.

Thanks! Well spotted. 😄


Support operations with groups in the Lazy Polars backend

This is a fix for https://github.com/elixir-explorer/explorer/issues/498
Most of the operations that we had and should work with groups are now supported. The only remaining is the sample/3, which may add to this PR soon.
EDIT: sample/3 is giving me an error that I can't understand. I will merge this without that function. I should revisit later.

I'm merging this without the sample/3 because of an error. I should go back to that function later.


Hebrew in the hash

Hi, I started to working on a site in Hebrew with Director and I just can't figure how to use Hebrew in the url and that Director would find this, the url itself support Hebrew so it's must be a bug in Director, here is a picture of location.hash detect the Hebrew hash:

I have the same problem: #266


chore(legacy-plugin-chart-map-box): bump supercluster to v8

SUMMARY
Part of:

#30307

Modernizing the legacy-plugin-chart-map-box reduces the diff towards MapLibre.
This PR updates Supercluster from v4 to v8, which improves performance and memory use for of this plugin.
TESTING INSTRUCTIONS

set the mapbox key in .env
docker compose up
open a mapbox chart, and it should still show clusters like below image

@rusackas , how does the review process generally work for these plugins? Are there some specific people who cover this part of the code?

/testenv up

@birkskyum to test/review these PRs, we typically need to check the plugin. There are a few ways to do this:

starting an ephemeral env here so anyone can test it (needs to be done by a committer)
pulling the change locally and running Superset (better in this case so we can add a mapbox key)
pulling the change locally and running Storybook

I'll start with #1 here before I approve. @mistercrunch was your review a code review, or did you test/validate the upgrade?

I only reviewed the 3 lines, seemed benign, didn't test locally

Tested, works great! Thanks, @birkskyum!

No idea why ephemeral environments aren't working again. Any ideas, @mistercrunch? Did those move to supersetbot or something?


Improvement v3

This change is

 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.

@zetok Are the commits from #35 included on purpose?
If so, should #35 be closed?

Are the commits from #34 and #35 included on purpose?

Yep.

If so, should #34 and #35 be closed?

If this PR gets "merged" first, yes. If things will be pushed on master incrementally, it will make it possible to do review on per-change basis.
That is, assuming that there was no CLA – with it, it doesn't look like those changes will be used in TokTok's tox spec.

Closing to remove old "Reviewable" PRs. Reopen for github review if necessary.


Custom getter should be able to access the field directly

When I define a getter like this:
public function getSite()
{
    $site = $this->Site;

    if (!preg_match("~^https?://.+$~", $site)) {
        return "http://" . $site;
    } else {
        return $site;
    }
}

And I try to access the Site property like this:
$site = $object->Site;

I get an exception inside the getter saying the Site property is undefined, even though it worked fine the first time ($object->Site), thanks to the __get magic method. Why is that?

There is also, I think, a mistake in the __get magic method, as it sets $this->_inGetter[$field] = true while checking !in_array($this->_inGetter, $field). $field is put in the keys of the array, so it would not be found by the in_array function. I guess a !empty or array_key_exists would work.

Could you please rename Site to site and test it again?
I think that is required for CamelCase:
https://github.com/spotorm/spot2/blob/4867f7c1d91baf5772288d96b89d8a67bd4fa5be/lib/Entity.php#L442

I changed it to site with "column" => "Site", and changed both occurrences of ->Site to ->site, it doesn't seem to make a difference.

You have to change it via the Entity definition ("site" => [...]). The column  key is only responsible for the sql naming.

That's what I meant, I can see now that what I wrote is really not clear:
public static function fields()
{
    return [
    ...
        "site" => ["column" => "Site", "type" => "string", "length" => 150],
    ...
    ];
}

You have to modify your getter to make it work:
public function getSite()
{
    $site = $this->get('site');

    if (!preg_match("~^https?://.+$~", $site)) {
        return "http://" . $site;
    } else {
        return $site;
    }
}

Test code:
$appMapper = $app->mapper('Application');

foreach ($appMapper->all() as $object) {
	var_dump($object->site);
}

Output:
/var/git/Entity/Application.php:18:
string(16) "https://test.com"
/var/git/test.php:8:
string(16) "https://test.com"
/var/git/Entity/Application.php:18:
string(15) "http://test.com"
/var/git/test.php:8:
string(15) "http://test.com"
/var/git/Entity/Application.php:18:
string(8) "test.com"
/var/git/test.php:8:
string(15) "http://test.com"

This is precisely what I don't understand: why doesn't ->site work from inside the getter? It doesn't even seem to trigger the __get magic method.

To prevent infinite loops. TBH I don't think it really matters.....

Is it a PHP thing? That __get is not called if the missing property is accessed from within a method of the same object?
I figured preventing infinite loops was the job of the !in_array($this->_inGetter, $field) check in the method, except it wouldn't work as is, if I'm not mistaken (see last paragraph in my original post).
I might also be tired and lost in my own train of thought on this issue… Anyway I just need to remember that I need to use ->get("site") in my methods, but fully understanding the technical reason behind it would help.

I don't know if it's intended or not, but honestly I don't think it's a really big deal. You can debug it if it's really important for you. In the other hand I think that __get should be called for non existent properties....

Right, I'll move on, thank you for your time!


BUG: Impossible to read message details when few mails are selected

Fixed in last commit

works great thx


Integration with Nuxt 3 / client-side navigation error

Hi,
I'm working on integrating codapi with our website built on Nuxt 3. I've created a [custom plugin] file (https://nuxt.com/docs/guide/directory-structure/plugins) to import snippet.js into the app and defined codapi-* tags as custom elements in configuration file:
  vue: {
    compilerOptions: {
      isCustomElement: (tag) => {
        return tag.startsWith('codapi-')
      }
    },
  },

This works fine on the initial load (when entering page with codapi snippets directly). However, using client-side navigation with transitions (e.g. starting from the homepage and navigating to the page with snippets within the app) leads to an error in the console:
Uncaught TypeError: this.toolbar.addActions is not a function pointing to that line the render function:
this.toolbar.addActions(L ? L.split(" ") : null),

Do you have any idea how to solve that problem? Thanks!

Unfortunately, I have absolutely no idea. But if you prepare an archive with a sample project to reproduce the problem, I can take a look at it.

@nalgeon I created a minimal reproduction bundle: https://github.com/konradsienkowski/codapi-navigation-bug
An error displayed in the console is different there (previously I copied its content from a staging app that uses minified files):
Uncaught DOMException: Failed to construct 'CustomElement': The result must not have children

Behavior is however still the same: If you open the app and navigate to "Article", the snippet script crashes and doesn't work properly. But if you refresh the same page or navigate to /article directly (not using the link), it works okay.
My guess is that the snippet.js executes before the DOM is ready. It'd be great if there were methods/functions available to run it manually, for example with lifecycle hooks. Prism.js, the library we're using for code highlighting offers such an option and it's pretty helpful while using Vue/Nuxt: https://prismjs.com/docs/Prism.html#.manual

It works without errors, both in local & staging environments. Thanks!


internet_gateway_route_rules and nat_gateway_route_rules changes are ignored

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version and Provider Version
Terraform v1.6.6
on darwin_arm64
+ provider registry.terraform.io/hashicorp/cloudinit v2.3.3
+ provider registry.terraform.io/hashicorp/helm v2.12.1
+ provider registry.terraform.io/hashicorp/http v3.4.2
+ provider registry.terraform.io/hashicorp/null v3.2.2
+ provider registry.terraform.io/hashicorp/oci v5.33.0
+ provider registry.terraform.io/hashicorp/random v3.6.0
+ provider registry.terraform.io/hashicorp/time v0.10.0
+ provider registry.terraform.io/oracle/oci v5.30.0

Your version of Terraform is out of date! The latest version
is 1.8.2. You can update by downloading from https://www.terraform.io/downloads.html

Affected Resource(s)
module.{module_name}.module.internet_gateway_route_rules
and
module.{module_name}.module.nat_gateway_route_rules
Terraform Configuration Files
This is just an example. Added rules in internet_gateway_route_rules section.
{
      destination       = "<IP_ADDRESS>/16" # Route Rule Destination CIDR
      destination_type  = "CIDR_BLOCK"     # only CIDR_BLOCK is supported at the moment
      network_entity_id = "drg"            # for internet_gateway_route_rules input variable, you can use special strings "drg", "internet_gateway" or pass a valid OCID using string or any Named Values
      description       = "Terraformed - User added Routing Rule: To drg provided to this module. drg_id, if available, is automatically retrieved with keyword drg"
    },
    {
      destination       = "<IP_ADDRESS>/16" # Route Rule Destination CIDR
      destination_type  = "CIDR_BLOCK"     # only CIDR_BLOCK is supported at the moment
      network_entity_id = "drg"
      description       = ""
    }

Expected Behavior
Chages are detected when terraform plan or apply.
internet_gateway_route_rules are updated by execution.
Docs says it is upgradable. https://registry.terraform.io/modules/oracle-terraform-modules/oke/oci/latest?tab=inputs
Actual Behavior
No changes are detected.
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.

Steps to Reproduce
Add rules to internet_gateway_route_rules or nat_gateway_route_rules. And terraform plan or apply.

At this moment, null is set to ig_route_table_id and  nat_route_table_id, trying to update rules for route tables created by default.

Hi,
You would only set the ig_route_table and nat_route_table ids if you are using an existing vcn with existing route tables.
Further, the route rules only apply if the route tables are being created by the terraform OKE module. If you created them separately, you need to add those rules separately too.

Thank you for the response.

You would only set the ig_route_table and nat_route_table ids if you are using an existing vcn with existing route tables.

My comment here was just for information sharing. We set null and don't want to use existing vcn and route tables. So, we can keep those as they're null.

Further, the route rules only apply if the route tables are being created by the terraform OKE module. If you created them separately, you need to add those rules separately too.

Yes, route tables ware created by OKE module, and expecting changes to be detected.

I added drg_id referencing a drg created outside of this module. Then, rules defined in internet_gateway_route_rules with network_entity_id = "drg" started to be reflected as expected.
However, when no drg are set, still having the same issue.
So at least, problem I was facing was gone after setting drg_id .


not compatible with IntelliJ Ultimate 2020.1

Hi,
None of the latest versions seem to work with latest IntelliJ (I am using 2020.1 , Ultimate edition). I really find it super useful, I hope this can be fixed !
Thanks
--
Vincent

+1

+1

+1

Don't think these comment +1s are any good. I suggest someone get a stack trace or upgrade guide and starts working on a PR (or fork) to make the plugin 2020.1 compatible

Ok so I took matters to my own hands 😆 and made a 2020.1 compatible version:
https://github.com/pgilad/logstash-intellij-plugin/releases/download/v0.6/logstash-intellij-plugin-0.6-2020.1.zip
See release here: https://github.com/pgilad/logstash-intellij-plugin/releases/tag/v0.6
If this works well for everyone, we should merge it to the main repo @redfoos

Ok so I took matters to my own hands 😆 and made a 2020.1 compatible version:
https://github.com/pgilad/logstash-intellij-plugin/releases/download/v0.6/logstash-intellij-plugin-0.6-2020.1.zip
See release here: https://github.com/pgilad/logstash-intellij-plugin/releases/tag/v0.6
If this works well for everyone, we should merge it to the main repo @redfoos

Just installed it and it seems to be OK ! Thanks a lot !!

Hello @pgilad, create pls merge request and i merge it.
Thanks a lot for your work!

@redfoos https://github.com/redfoos/logstash-intellij-plugin/pull/13


Remove whitespace from text item

Edit the lute/templates/read/textitem.html template from

and add a simple rendering check

Not bothering with the rendering check at the moment ... naughty naughty.

Fixed in develop.

Launched in 3.5.1.


Receiving interactive message callbacks

Hello,
I would like to receive replies to my interactive messages as described in the "Botkit and Slack" README. I added the code for controller-webserver, controller-hears and controller-on from that section to slack_bot.js but keep getting a 404_client_error in Slack when I click the yes or no button of the attachment my bot sends.
I saw issue #425 where someone had the same problem, but no solution was posted. In summary, my Slack botkit app has a webhook in the Slack app admin set up (at least I see it under Install App -> Installed App Settings -> Webhook URLs for Your Team). I'm also using ngrok.
Below is the code II've added to slack_bot.js. Thanks for any suggestions!
var controller = Botkit.slackbot({
    debug: true,
}).configureSlackApp({
    clientId: CLIENT_ID,
    clientSecret: CLIENT_SECRET,
    scopes: ['commands', 'bot'],
});

controller.setupWebserver(process.env.PORT || 3000, function(err, webserver) {
    controller.createWebhookEndpoints(webserver);
    controller.createOauthEndpoints(webserver, function(error, request, response) {
        if(error) {
            response.status(500).send('ERROR: ' + error);
        } else {
            response.send("You've successfully installed this Slack app. Close the window!");
        }
    });
});

Do you also have your webhook setup in your Slack App Admin panel under Interactive Messages? It is seperate from your Events API Endpoint (it will be the same, just need to explicitly set it).

Yes under Interactive Messages I have a webhook declared (based on the ngrok forwarding address). However it's different than the one in "Webhook URLs for your Team". Should they be the same?

@jonchurch Sorry I think I initially misread your comment. I did some digging and uncovered Configure Botkit and Slack Events API. This seems to describe things pretty well.
After setting up event subscriptions for my Slack bot, I'm now getting a Timeout was reached instead of the former 404 error when I click a button on the message attachment in Slack. This seems to be progress though.
I understand Slack requires a <3 second response from an app. Any idea how I can address this issue? Thanks

Can you confirm that you are receiving the request from Slack on button click? Sounds like you should be, but stick a console.log at your webhook just to be sure.
How are you responding to interactive messages?
Is this the controller.on from the docs you are referring to?
// receive an interactive message, and reply with a message that will replace the original
controller.on('interactive_message_callback', function(bot, message) {

    // check message.actions and message.callback_id to see what action to take...

    bot.replyInteractive(message, {
        text: '...',
        attachments: [
            {
                title: 'My buttons',
                callback_id: '123',
                attachment_type: 'default',
                actions: [
                    {
                        "name":"yes",
                        "text": "Yes!",
                        "value": "yes",
                        "type": "button",
                    },
                    {
                       "text": "No!",
                        "name": "no",
                        "value": "delete",
                        "style": "danger",
                        "type": "button",
                        "confirm": {
                          "title": "Are you sure?",
                          "text": "This will do something!",
                          "ok_text": "Yes",
                          "dismiss_text": "No"
                        }
                    }
                ]
            }
        ]
    });

});

I'd suggest using the Botkit Slack Starter Kit as a starting place instead of piecing chunks of code together from the docs. It's a point of common ground that a lot of devs are working from right now, and that I know works out of the box.
Feel free to drop your whole code into a pastebin (if you're cool with that) and I can take a look at it for you.

Yes I'm receiving the request from Slack on button click, and I'm using the controller.on code exactly as you pasted above (from the docs).
If I'm not mistaken, the Botkit Slack Starter Kit was the first place I tried but when I requested a Botkit Studio token (I had to give my email address), I never received it.
I'll set up my code in pastebin but in the meantime here is the console.log from debug:true when I click the Yes button from the interactive message:
debug: I HEARD [ 'interactive' ]
debug: SAY { attachments:
   [ { title: 'Do you want to interact with my buttons?',
       callback_id: 'interact_buttons',
       attachment_type: 'default',
       actions: [Object] } ],
  channel: 'D4G69Q4JK' }
debug: chat.postMessage { type: 'message',
  channel: 'D4G69Q4JK',
  text: null,
  username: null,
  thread_ts: null,
  reply_broadcast: null,
  parse: null,
  link_names: null,
  attachments: '[{"title":"Do you want to interact with my buttons?","callback_id":"interact_buttons","attachment_type":"default","actions":[{"name":"yes","text":"Yes","value":"yes","type":"button"},{"name":"no","text":"No","value":"no","type":"button"}]}]',
  unfurl_links: null,
  unfurl_media: null,
  icon_url: null,
  icon_emoji: null,
  as_user: true,
  token: 'xoxb-<token_value>' }
info: ** API CALL: https://slack.com/api/chat.postMessage
debug: RECEIVED MESSAGE
debug: CUSTOM FIND CONVO undefined D4G69Q4JK
debug: DEFAULT SLACK MSG RECEIVED RESPONDER
debug: Got response null {"ok":true,"channel":"D4G69Q4JK","ts":"1489520945.020467","message":{"type":"message","user":"U4G5YV0A2","text":"","bot_id":"B4FGFN344","attachments":[{"callback_id":"interact_buttons","title":"Do you want to interact with my buttons?","id":1,"actions":[{"id":"1","name":"yes","text":"Yes","type":"button","value":"yes","style":""},{"id":"2","name":"no","text":"No","type":"button","value":"no","style":""}],"fallback":"NO FALLBACK DEFINED"}],"ts":"1489520945.020467"}}
debug: RECEIVED MESSAGE
debug: CUSTOM FIND CONVO U4G5YV0A2 D4G69Q4JK
debug: DEFAULT SLACK MSG RECEIVED RESPONDER
´´´

Fwiw the starter kit does not require studio, just omit the studio token and it will function as normal.

The starter kit sans studio token works like a charm for this issue. I just pasted in the interactive_message_callback code above into the interactive_messages.js skill.


typo in curl commands

There is a typo in the curl commands at the end of this lab, https://github.com/arun-gupta/kubernetes-aws-workshop/tree/master/microservices#access-application
curl
ac6a20167c0ca11e7b9a50e129c83717.us-east-1.elb.amazonaws.com0?greet=ho
The 0 should be removed.

@jicowan Where have you found this typo? I can´t find the command you are mentioning

Fixed in https://github.com/arun-gupta/kubernetes-aws-workshop/pull/204


more tut

Hello sir i really appreciate....what you have done so far......please i want to understand this tools better....is that befor i scan with the tools i must have one VPS/RDP user and pass....then a will able to use the tools or all work like scanning and brutus thanks......need more tut on it and Gcat God bless
Best regards

No clue what you said, in regards to tutorials tho I'm going to be writing a series of blog posts


onEventClick cannot implement in class in

should public modifier
in commit e2c92d1e003c3f20500f15140f07f78d91f5762e

during migration to kotlin this issue will not relate anymore


Improve fish redux pub overall score

Fix lib/src/redux_adapter/recycle_context.dart. (+0.50 points)
Maintain an example, rename sample => example. (+10 points)

thanks for your suggestion
dependencies:
    fish_redux: 0.1.1


[Event Request] Function "MakeOrder" in Codeunit 5923 "Service-Quote to Order"

Dear Team, we would like to have the following publisher added to Codeunit 5923 "Service-Quote to Order":
local procedure MakeOrder(ServiceHeader: Record "Service Header")
var
    [...]
begin
    with ServOrderHeader do begin

        [...]

        ServOrderLine.Reset;
        ServOrderLine.SetRange("Document Type", ServiceHeader."Document Type");
        ServOrderLine.SetRange("Document No.", ServiceHeader."No.");
        if ServOrderLine.Find('-') then
            repeat
                ServOrderLine2 := ServOrderLine;
                ServOrderLine2."Document Type" := "Document Type";
                ServOrderLine2."Document No." := "No.";
                ServOrderLine2."Posting Date" := "Posting Date";
                OnBeforeServOrderLineInsert(ServOrderLine2, ServOrderLine);
                ServOrderLine2.Insert;
                // START NEW EVENT
                OnAfterServOrderLineInsert(ServOrderLine2, ServOrderLine);
                // END NEW EVENT
                ReserveServiceLine.TransServLineToServLine(ServOrderLine, ServOrderLine2, ServOrderLine.Quantity);
            until ServOrderLine.Next = 0;

        [...]

    end;
end;

[IntegrationEvent(false, false)]
local procedure OnAfterServOrderLineInsert(var ServiceOrderLine2: Record "Service Line"; ServiceOrderLine: Record "Service Line")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


The results like yellow clouds

Hi,
Thanks for sharing your great work! I find for a lot of prompts, the results look like yellow clouds without rich colors , for example "a lion":

Do you have any idea on how to solve this problem? Thanks for your time!

Hey there i might be able to help on how to solve it
but can you pls help where can i find the trained model
it just gives me
evaluating and saving model
done

Ill look into how to get better colors

It seems like you have used shadings? I tried shadings and got the same results as you.

Hi,
Thanks for your remind! I will have a try. And if you turn of shading, will you get the correct results?

Yes, the results are correct

I see. Thanks for you help!!

how to turn off shading?


md5sum for released datasets and backup links not working

Hi,

Would it be possible for you to release the md5 hash for all the released zip files please?
None of the links named backup are working (for example, http://vi.tju.edu.cn/public/dhd_dataset/dhd_campus_train_images.zip.001)

Thank you for your interest in our work.

We updated the readme file to provide md5 checksums. You can find them below each file link.
Our backup server is currently not available and we are working on that. The backup links are temporarily commented out to avoid misguidance. It will be added back as soon as the server is online again.


[DataMovement] Add logging for warnings in the Checkpointer

This might require using a client diagnostics to log. Which may prove a little more difficult since the Checkpointer is a client side functionality while the logging for client side is geared towards in and out http requests.

Duplicate https://github.com/Azure/azure-sdk-for-net/issues/37024


FIX: do something about the messaging of the functions, remove or combine

Messages where combined to one per action


Clean Stack Traces

Ava has a great feature of clean stack traces that ava-ts seems to be missing out on
Ava
  Config › register

  /Users/derenge/WebstormProjects/fado/src/actions/Config.test.ts:4

   3: test('register', (t) => {
   4:     t.is(1, 2)
   5: })

  Difference:

  - 1
  + 2

Ava-ts
  Config.ts › register

  /Users/derenge/WebstormProjects/fado/node_modules/ava-ts/lib/assert.js:102

  Difference:

  - 1
  + 2

  ExecutionContext.is (node_modules/ava-ts/lib/assert.js:102:17)
  Test.ava_1.test [as fn] (src/actions/Config.test.ts:4:7)
  Test.callFn (node_modules/ava-ts/lib/test.js:306:18)
  Test.run (node_modules/ava-ts/lib/test.js:319:23)
  runNext (node_modules/ava-ts/lib/sequence.js:58:44)
  Sequence.run (node_modules/ava-ts/lib/sequence.js:90:10)
  Concurrent.run (node_modules/ava-ts/lib/concurrent.js:41:37)
  runNext (node_modules/ava-ts/lib/sequence.js:58:44)
  Sequence.run (node_modules/ava-ts/lib/sequence.js:90:10)
  runNext (node_modules/ava-ts/lib/sequence.js:58:44)
  Sequence.run (node_modules/ava-ts/lib/sequence.js:90:10)
  Bluebird.try (node_modules/ava-ts/lib/runner.js:224:48)
  Runner.run (node_modules/ava-ts/lib/runner.js:224:22)
  process.on.options (node_modules/ava-ts/lib/main.js:84:10)
  process.emit (node_modules/source-map-support/source-map-support.js:452:21)
  process.on.message (node_modules/ava-ts/lib/process-adapter.js:14:10)
  process.emit (node_modules/source-map-support/source-map-support.js:452:21)

Is this a setup issue with source maps on my end?

Good point, @Derenge!
I don‘t think it‘s your local set-up...

I'm willing to help if you have any ideas what direction needs to be taken!

I could narrow it down to the lib/beautify-stack.js file.
We would just need to ignore stack frames matching node_modules/ava-ts, I think.
A PR would be much appreciated 😊


Patch: update instrumentation order to fix coverage

Reason:
JaCoCo produces wrong coverage because the coverage instrumentation happens after the hooks are set.
This instrumentation should follow the JaCoCo algorithm but in fact they produce different results.
Both algorithms inject control points into the end of each BB where the INVOKE happens.
BBs where there are no INVOKEs are not marked.
Let's check the case: BBs originally did not have any INVOKE but hooks are injected traceCmp callback.
CoverageRecorder happily adds a control point into such a BB but JaCoCo will never know about this.
As the result, all points after the mentioned will be misplaced in JaCoCo coverage.
Sample for test:
package com.example;
import java.util.Random;
public class Junit5Example1 {
public static boolean earlyReturn = false;

public static boolean logic(String input) {
    long random = new Random(42).nextLong();
    boolean cmp = input.startsWith("magicstring" + random);
    if (earlyReturn) {
        return true;
    }
    if (cmp
            && input.length() > 35
            && input.charAt(35) == 'C') {
        mustNeverBeCalled();
    }
    return true;
}

private static void mustNeverBeCalled() {
    throw new Error("mustNeverBeCalled has been called");
}

}
All the lines after if (earlyReturn) will be colored wrongly because this BB will have an additional coverage point after traceCmp.
wrong.Junit5Example1.java.zip
right.Junit5Example1.java.zip

@kmnls The CI failure should be fixed, but there is a test that seems to fail for reasons related to this PR. Could you take a look?

The test times out with:
== Java Exception: java.lang.IllegalStateException: Expected "11", got "10"
	at com.example.CoverageFuzzer.assertEquals(CoverageFuzzer.java:189)
	at com.example.CoverageFuzzer.assertCoverageDump(CoverageFuzzer.java:174)
	at com.example.CoverageFuzzer.fuzzerTearDown(CoverageFuzzer.java:92)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at com.code_intelligence.jazzer.driver.FuzzTargetRunner.shutdown(FuzzTargetRunner.java:371)
	at java.base/java.lang.Thread.run(Thread.java:833)

It looks like you might just have to update the count in https://github.com/CodeIntelligenceTesting/jazzer/blob/5a3496b40980fb1f233a5df7ce6c66ac4a842fe1/tests/src/test/java/com/example/CoverageFuzzer.java#L174.


EIT-2658 | [Python] Fix Network enum was starting from 1

Al provar a veure si s'havia solucionat lo dels imports, he trobat que hi havia un bug en el mapping de l'entitat Network a proto de python. Simplement era l'index de l'enum que era diferent que el de proto.

Is this autogenerated? I'm afraid that once we generate the proto files again it will bring the issue back

No, it just keeps the same order and index than the proto enum. As long as new variats get appended in the same order it shouldn't be a problem, but I can see how it could lead to future bugs. I'll check if there's another way of doing it.

I changed it to if statements now so even if the order changes the mapping will be correct.


Google Prices

Hi - - Love this library btw.
Seems google has shut the pricing feed down.  Any thoughts on alternative pricing?
Thanks

I generally use IEX, it's fairly quick and simple.

Thanks @Darksaber501st  - have you integrated it into friartuck?

Thanks for the insight - - I've found using stop loss buys w/ RH and FT to be pretty effective.  Good luck going forward!

Hi,
I am going to commit some changes before the week is over which integrates IEX (for historical data) and ALPHAVANTAGE for active day intraday data... IEX is has 1 month of intra-day  historical quotes but has a delay of 15 minutes for activeday quotes, (it does have live quotes which are traded in its systems, not comprehensive, for some symbols which not actively traded within IEX domain, you will see -1 for live quotes). Alphavantage does have live comprehensive quotes, however, it has a limitation of 5 queries per minute for free (has higher number of queries for premium).... I am testing the two combinations now with my algo, so far its going great....

Thanks @codesociety!!  Looking forward to it

@codesociety I'm just getting into algo trading and am super curious this repository.  If you need any help regarding the implementation of new data sources I'd love to lend a hand.  Currently implementing an iexfinance replacement for google finance.  I'm toying with quote_source.py and hope I'm starting in the right spot

@t-liv057, yes quote_source is the Right spot... I really appreciate it.  I actually completed the implementation of the combination of iex and alpha vantage... Had a setback on Friday, made some adjustments over the weekend and I had a successful test today.... I am planning to commit the changes later tonight or tomorrow the latest... Thanks again

@codesociety That's great news!  I'll probably just wait for your commit to really start exploring, so I really appreciate it.  I found iex's api a little less versatile and I commend you for sorting it out.

@t-liv057 @codesociety @Darksaber501st @rwburke2 @HyperionSounds , I committed the changes yesterday, please read the commit message to help integrate the changes... you will need to install tinydb.
let me know if there are any questions

@codesociety Thanks for all the good work!  I have integrated the new code, but when I run it I am getting:
Traceback (most recent call last):
File "friar_tuck_run.py", line 160, in
start_engine(sys.argv[1:])
File "friar_tuck_run.py", line 137, in start_engine
friar_tuck = FriarTuckLive(user_name=config.get('LOGIN', 'username'), password=config.get('LOGIN', 'password'), data_frequency=data_frequency)
TypeError: init() got an unexpected keyword argument 'user_name'
If I change friar_tuck_run.py, line 137 from user_name, to username I get:
Traceback (most recent call last):
File "friar_tuck_run.py", line 160, in
start_engine(sys.argv[1:])
File "friar_tuck_run.py", line 137, in start_engine
friar_tuck = FriarTuckLive(username=config.get('LOGIN', 'username'), password=config.get('LOGIN', 'password'), data_frequency=data_frequency)
TypeError: init() got an unexpected keyword argument 'password'
From here I've been stuck . . .
Any pointers appreciated

Found the issue and resolved it... please see the last commit and try it...

so far so good!

also needed to add a data subdir in algo root for IEX/tinydb, off and running now.  Thanks again!

looks like multiple security lookups is not working, ie
# Get field(s) for more than 1 security
current_quote = data.current([context.aapl, context.wtw], field='close')
log.debug(current_quote)
or maybe I'm doing it wrong with the new implementation? or need to implement BATCH_QUOTES_US function for alpha?

I actually wish that we could use batch quotes, however, it is not for timeseries quotes (1min, 5min...). Thanks for bringing up the issue, should be something minor, I will look into it some time tomorrow, hoping early.

Looking good!  Appreciate it!


Adds support for building Lighttpd with wolfSSL

Adds support for building Lighttpd with wolfSSL as a TLS and Crypto provider. Adds a new ./configure --with-wolfssl option.

#if defined HAVE_LIBSSL && defined HAVE_OPENSSL_SSL_H
#define USE_OPENSSL_CRYPTO
#endif

Related to my comment about creating a sys-crypto.h, to enable use of wolfSSL, we may need to move the above logic from a few files into sys-crypto.h, too.

Thank you for the feedback, we are working to address the comments and will push to this branch when they are ready.

Please rebase dgarske:lighttpd_wolfssl against lighttpd:master and force push dgarske:lighttpd_wolfssl so that changes that I have made to lighttpd:master are not adding noise to the patches here.  Also, if you like, you may squash into the original commit the changes made to address my feedback.

Repeating what I posted 4 days ago:
Please rebase dgarske:lighttpd_wolfssl against lighttpd:master and force push dgarske:lighttpd_wolfssl so that changes that I have made to lighttpd:master are not adding noise to the patches here. Also, if you like, you may squash into the original commit the changes made to address my feedback.
Do not include patches which are unrelated to wolfSSL in this pull request.  Do not include patches related to compiling ./configure --without-pcre.  Those are completely unnecessary and a waste of both my time and your since I have already addressed these in lighttpd git master and have asked you to rebase your patch without them.

The PK callbacks code looks to be removed in the latest push.  Was that intentional?
Please re-review the feedback I have submitted.  I hope I am misunderstanding you comment about "finalized this cleanup", since there are a number of remaining items from my feedback that need to be addressed, including the re-appearance of the private key in your most recent push.

I updated lighttpd git master with support for wolfSSL, including build support for autoconf, meson, CMake, and SCons.
Remaining items for this pull request include only the doc/wolfssl contributions.  Please remove the private keys, remove the reference to wolfSSL_Debugging_ON() in the doc, remove trailing spaces in doc and other files.
RFE for wolfSSL: the wolfSSL openssl compatibility headers should all #include <wolfssl/options.h> instead of lighttpd having to do it.

After further review of the remaining patch, I am going to close this pull request.  The gist is that wolfssl needs to be built with ./configure --enable-lighty, and then lighttpd needs to be built with ./configure --with-wolfssl
If you would like to add back code for the PK callbacks, please submit a more specific pull request.
If you post the documentation that you have written on the wolfssl.com website somewhere under support, then I will link to it from lighttpd's online documentation https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_SSL
Thank you for your contribution.  Given the work put into the wolfSSL openssl-compatibility layer, the changes needed for lighttpd to use wolfSSL were quite small: e9f223d3  e1f21b2a  0074b6d3

Hi @gstrauss : I've captured this enhancement request internally, but feel free to submit a GitHub issue for it here: https://github.com/wolfSSL/wolfssl/issues
I agree it seems like inclusion of the wolfssl/options.h could happen in our library.
Thanks,
David Garske, wolfSSL

I wonder if I can use static wolfssl/wolfcrypt for lighttpd use? (my system in centos5 and I don't want to change system's openssl-0.9.8)

./configure --enable-lighty && make && sudo make install

alright, so having other --enable- {other-applications} causing compile failure.

@roytam1 that is incomplete information and likely belongs as an issue on WolfSSL issue page rather than here.

Hi @roytam1 : It looks like there are some missing openssl compatiblity API's in wolfSSl with the latest Lighttpd. The last version we ported to and support is Lighttpd v1.4.51 on Aug 15, 2018 (a9e131fa376ade9aad7b7ee13098f6dd8337f84b)
Attached are the sources and patch for Lighttpd
lighttpd-1.4.51.tar.gz
Lighttpd_1_4_51.txt
See README in wolfStartup folder for details.
Thanks,
David Garske, wolfSSL

@roytam1 : Also it looks like OPENSSL_NO_TLSEXT should get defined to prevent the above errors with mod_openssl.c. On my builds that gets defined as the top of mod_openssl.c:27. If its not getting defined try adding CFLAGS="-DOPENSSL_NO_TLSEXT" to your Lighttpd `./configure.
Please make sure you are using the following steps:
wolfSSL:
./autogen.sh (if cloned from GitHub directly)
./configure --enable-lighty && make
sudo make install
sudo ldconfig

Lighttpd:
./autogen.sh (if cloned from GitHub directly)
./configure --with-wolfssl=yes
make

Thanks,
David Garske, wolfSSL

Hi @roytam1 : It looks like there are some missing openssl compatiblity API's in wolfSSl with the latest Lighttpd. The last version we ported to and support is Lighttpd v1.4.51 on Aug 15, 2018 (a9e131f)

@dgarske would you please create new pull request for this?

@roytam1 : I've updated the wolfSSL to the latest Lighttpd commit in master a1077d18cb36b0cbdfb9da7138ba302f2090db78.
Many of the original fixes from this PR were already done in Lighttpd master. The changes are minimal and you can find the latest branch here:
https://github.com/dgarske/lighttpd1.4/tree/wolfssl_lighttpd
See the README in wolfStartup for details.
The steps above for building are still valid.
Thanks,
David Garske, wolfSSL


Add prose documentation for ol.AttributionLike

Title basically says it all:
Before:

After:

Thanks for the reviews.


Ability to pass in GOOGLE_FEED_URL for the spreadsheet

It would be nice if there was an easy way to pass in a url for GOOGLE_FEED_URL. I'm trying to fetch a spreadsheet that's public, but only within a certain network so the url is more like "https://docs.google.com/a/somecompany.com/spreadsheets"

@theoephraim I'm going to close this because we discovered that the real issue was that our sheet required auth. Thanks!


Fix parsing empty cookies in IE/Edge

IE/Edge accepts an empty Set-Cookie header and adds an empty part to document.cookie
I don't care how this aberrant cookie is parsed, but currently the parsing stops when it encounters this empty cookie.

In IE8 and earlier, empty-string matches are ignored by .split(RexExp). Therefore getParts_ does not return the empty cookie in the first place and the test fails in IE8.
We could:

Ignore empty cookies in general.
Fix getParts_ for lte IE8 to support empty cookies.

I'd prefer option one because the best use case for empty cookies that comes into my mind does not justify their existence if they're not supported by everyone.

I'd prefer option one because the best use case for empty cookies that comes into my mind does not justify their existence if they're not supported by everyone.

Agreed.

This test is currently failing in IE8:
ERROR in testGetReallyEmptyCookieIE
Expected <> (String) but was <undefined>

@shicks I've already explained why it fails #788 ie8 comment.

Sorry, I assumed since the author responded in agreement, that he implemented your suggestion.  I guess that wasn't the case.  We can't merge this until IE8 passes, so if we can get that test fixed, that would be great.
For your option 1 are you suggesting we simply or with undefined so that get() never returns empty string (or vice versa - I'd personally prefer never returning undefined)?  I don't know under what situations there's currently a difference (it sounds like newer browsers are capable of distinguishing empty strings from absent) so if we made that change I'd need to run it through some more rigorous internal testing to make sure we're not breaking anybody who's depending on one behavior or the other.

@shicks no the suggestion of option 1 was to simply if (part === '') continue;.

Resolved by using String.split(';') instead of the regex, and then goog.string.trim on the result.  Cookies should be read infrequently enough that this shouldn't be particularly problematic.

Oops, closed the wrong PR with that last commit.


x86 assembly backend

It's 90% there, I think it's far enough I can take some feedback. There's a lot of possible optimizations but I went for close to the least amount of lines.

@geohot why isn't this locked? Makes it seem like there's some massive issue with the pr. It's basically done just need to fix/remove float16 (accuracy issues in tests), cleanup idiv/mod, add some simple coalescing and that's it.

I locked it for you, but want the tests to pass before review.

@geohot this is ready for review

Looking pretty good!

Are all tests passing?
How does the speed compare to CLANG and LLVM?

uint64 to float conversion is incorrect for large inputs, eg:
from tinygrad import Tensor, dtypes

x = Tensor([1<<63],dtype=dtypes.uint64)
print(x.float().tolist())

I think replacing lines 119 and 120 with this would work: lambda c: (c.src[0] >> 1).cast(dtypes.int64).cast(c.dtype) * 2 + (c.src[0] & 1).cast(dtypes.int32).cast(c.dtype)),
Also, uint8/int8 mod is broken since it reads it from rdx instead of ah, and vec2 moves generate movlps between registers which is illegal.


Delphi Grammar

https://github.com/DGH2112/Browse-and-Doc-It/blob/master/Documentation/Grammar Files (BNF)/Object Pascal Grammar.bnf

Thanks for pointing me to it. I started discussion now thether this repo here makes sensoe or better contribution to your started one. As you can see I filed an issue already in yours ;-)

I've loaded my grammar files.
I'll close this issue.


Introduced template terms, refactored some signatures of public API

Improvements:

Used a better default value for the Term#isUnifiableWith  method - with a javaClass equality, that simplifies introducing new custom terms as sealed classes.
Introduced a few template terms - EmptyTerm, UnaryTerm, and BinaryTerm, that simplify introducing new custom terms.

Breaking changes in public API:

Signatures of conde and and are changed not to allow passing empty arguments.
Methods nil and of in the RecursiveStream are renamed to nilStream and streamOf accordingly.

It's funny to look how Kanren's indetifiers become longer and longer, while have a spicial 'to' infix function to create Pairs. From this PR it is not obvious, why this renaming make code more readable.
The changes related to BinaryTerm class are OK

Just like I said, these changes are introduced to make API more similar to Kotlin standard library


Support for Argon plugin

Sorry for creating this PR again but I previous one got closed automatically because I removed the repo.
This change adds support for .source file (equivalent to init files), name used by my plugin Argon which is an alternative for Rojo.
I would really appreciate if you merge this change as doesn't affect Roblox LSP performance, but it helps me and my plugin users a lot!

@NightrainsRbx I apologize for the bump but could this be merged? Would be greatly appreciated by everyone trying to use Argon, I'm currently being bothered by Roblox LSP giving me errors because it has no idea what a .source file is.🙁

Thanks! It will help a lot.


Delete cluster after test timeout.

Summary:
So far Jenkins kills the system test job after two hours. This also
kills our cleanup call. This patch introduces a bash timeout that still
leaves time for a cluster cleanup.
JIRA issues: MARATHON-8364

Validate in build https://jenkins.mesosphere.com/service/jenkins/job/system-integration-tests/job/marathon-si-pr/237/.

The cluster is launched.
The test is killed after the timeout and exits with 137.
The cluster is deleted.

System test failed 🤔. We should investigate or restart.


Reviewer 1: Comment 2: Judgmental language

The paper uses sometimes judgemental language without detailing the motivations/reasons, e.g. in abstract and 1st § Introduction "To date, however, current tools are often rigid rather than flexible, fleet-based rather than discrete, or privately distributed rather than open source". Specifically the "fleet-based rather than discrete" would welcome some additional explanation what is truly meant by the authors. There are codes that do not treat reactors or fuel cycle facilities as discrete events though most well-developed codes do.

[ ] Reduce judgemental-ness of the language

Probably the best way to do this is to flip the sentences towards positivity. Aim for "Cyclus has attractive new features" rather than "There is a gap which Cyclus fills."

A second thing to do that will fix this is to both explain and cite each of these comments better. Consider citing "Next Generation Functions and Requirements" document? It's still in "draft" form as far as I can tell, unfortunately.

[ ] Clairfy fleet-based rather than discrete

(robert c) VISION models all reactors of a single type (e.g. sodium cooled fast reactors) as a single, aggregate unit with the average behavior of some number of reactors.  For example, modeling 2 SFRs in VISION would result in one entity that discharges “(length of cycle in time steps) * (single reactor batch size) * (number of reactors) / (# time steps per cycle)” every time step.  If there is a fuel shortage, output power from the fleet drops proportional to the missing fuel quantity.  In Cyclus using individual facilities, power output would drop discretely according to the number of reactors that didn’t have full cores - which could vary for the same quantity shortage of fuel depending on the distribution of the shortage across facilities.  It is even possible to model fleet based facilities in Cyclus.
(robert c) COSI has some support for modeling reactors individually, but according to OECD benchmark DOC(2012)16 it models many reactors operating in sync - that is their cycles are synced resulting in all discharging and refuelling at the same time among other things.  Cyclus easily enables operating from this extreme to the fleet-based, aggregate extreme, and everything in between.
(robert c) While many of these codes do some tracking of material in chunks, they do not necessarily track and preserve chunk identity as the materials move around the fuel cycle.  When coupled with Cyclus’ individual facility modeling, this becomes rather distinct from what other fuel cycle modeling tools do.  So while FAMILY21 and COSI might know whether a batch being discharged from a reactor came from MOX fabrication vs fresh UOX fabrication, they may not necessarily know/track which of the fresh batches received over the preceding several time steps was the batch being discharged.  They certainly can’t tell which individual facility they received the batch from.  Some of these simulators (e.g. VISION) also munge materials received before being discharged - i.e. reactors may receive material in chunks that are then mixed into a single holding buffer - losing identity - before being reconstituted and discharged as some chunk of material that may or may not even be the same size as the material chunks being received.  And FWIW - GENIUS 1, GENIUS 2, and NFCSim developers are helping develop Cyclus.

While in general I think we should try to be positive of us rather than critical of others, this really is an opportunity for us to call out the community where appropriate. The community has been lax on describing the detail of simulators in peer-reviewed publication.  Our criticisms are fair as long as they are cited and can not be refuted by a more recent citation. We just need to be confident both of those criteria are covered.


Obsoletion notice: GO:0070734 histone H3-K27 methylation & children

GO:0070734 histone H3-K27 methylation & children
GO:0061086 negative regulation of histone H3-K27 methylation
GO:0061087 positive regulation of histone H3-K27 methylation
GO:0061085 regulation of histone H3-K27 methylation

The reason for obsoletion is that these represent MF in BP.
There are 91 EXP annotations: https://github.com/geneontology/go-annotation/issues/3966
Most annotations can be replaced by the new terms created in https://github.com/geneontology/go-ontology/issues/22325 and by the MF GO:0046976 histone methyltransferase activity (H3-K27 specific)
Thanks, Pascale

Replaced by #24294


Error while withdrawal token using Custom ERC-20 token

System information
Ubuntu 22.04
Commit id
main
Description & steps to reproduce
I've a custom ERC-20 token I want to withdawal my token

Desired behavior
But got this issue in console it seems transaction is reverted

@leovct
What is the severity of this bug?
Critical; I am blocked and Kurtosis CDK is unusable for me because of this bug.

Just to confirm, did you first bridge 1 or more tokens into the L2 before withdrawing?
The error code 0xe0417cec corresponds to InvalidSmtProof()

Alright, I've replicated this on my end as well. If I recall correctly, this is an error in the Bridge UI itself. In my case, I got the same exact error using the bridge UI, but was able to make the claim directly using cast. You should be able to try something similar:
private_key="0x12d7de8621a77640c9241b2595ba78ce443d05e94090365ab3bb5e19df82c625"
destination_net="0"
destination_addr="0xE34aaF64b29273B7D567FCFc40544c014EEe9970"
bridge_addr="$(kurtosis service exec cdk contracts-001 "cat /opt/zkevm/combined.json" | tail -n +2 | jq -r .polygonZkEVMBridgeAddress)"
l1_rpc_url=$(kurtosis port print cdk el-1-geth-lighthouse rpc)
bridge_api_url="$(kurtosis port print cdk zkevm-bridge-service-001 rpc)"
claim_sig="claimAsset(bytes32[32],bytes32[32],uint256,bytes32,bytes32,uint32,address,uint32,address,uint256,bytes)"
curl -s "$bridge_api_url/bridges/$destination_addr?limit=100&offset=0" | jq > bridge-deposits.json
cat bridge-deposits.json
jq '[.deposits[] | select(.ready_for_claim == true and .claim_tx_hash == "" and .dest_net == '$destination_net')]' bridge-deposits.json > claimable-txs.json
cat claimable-txs.json

tx=$(jq -c '.[0]' claimable-txs.json)

curr_deposit_cnt="$(echo "$tx" | jq -r '.deposit_cnt')"
curr_network_id="$(echo "$tx" | jq -r '.network_id')"
curl -s "$bridge_api_url/merkle-proof?deposit_cnt=$curr_deposit_cnt&net_id=$curr_network_id" | jq '.' > proof.json
cat proof.json

in_merkle_proof="$(jq -r -c '.proof.merkle_proof' proof.json | tr -d '"')"
in_rollup_merkle_proof="$(jq -r -c '.proof.rollup_merkle_proof' proof.json | tr -d '"')"
in_global_index="$(echo "$tx" | jq -r '.global_index')"
in_main_exit_root="$(jq -r '.proof.main_exit_root' proof.json)"
in_rollup_exit_root="$(jq -r '.proof.rollup_exit_root' proof.json)"
in_orig_net="$(echo "$tx" | jq -r '.orig_net')"
in_orig_addr="$(echo "$tx" | jq -r '.orig_addr')"
in_dest_net="$(echo "$tx" | jq -r '.dest_net')"
in_dest_addr="$(echo "$tx" | jq -r '.dest_addr')"
in_amount="$(echo "$tx" | jq -r '.amount')"
in_metadata="$(echo "$tx" | jq -r '.metadata')"

cast calldata "$claim_sig" "$in_merkle_proof" "$in_rollup_merkle_proof" "$in_global_index" "$in_main_exit_root" "$in_rollup_exit_root" "$in_orig_net" "$in_orig_addr" "$in_dest_net" "$in_dest_addr" "$in_amount" "$in_metadata"

cast call --rpc-url "$l1_rpc_url" "$bridge_addr" "$claim_sig" "$in_merkle_proof" "$in_rollup_merkle_proof" "$in_global_index" "$in_main_exit_root" "$in_rollup_exit_root" "$in_orig_net" "$in_orig_addr" "$in_dest_net" "$in_dest_addr" "$in_amount" "$in_metadata"

cast send --rpc-url "$l1_rpc_url" --private-key "$private_key" "$bridge_addr" "$claim_sig" "$in_merkle_proof" "$in_rollup_merkle_proof" "$in_global_index" "$in_main_exit_root" "$in_rollup_exit_root" "$in_orig_net" "$in_orig_addr" "$in_dest_net" "$in_dest_addr" "$in_amount" "$in_metadata"

This script is referenced in an old doc because the bridge-ui has has this particular bug for a little while.
After running the script, the UI shows the claim successfully:

It looks like the bridge ui is leaving off the required metadata. The bridge service is returning a metadata field:

But if we decode the calldata that the bridge ui is using, it seems to be missing:

I think we'll need to fix the logic here:
https://github.com/0xPolygonHermez/zkevm-bridge-ui/blob/0006445e1cace5c4d737523fca44af7f7261e041/src/contexts/bridge.context.tsx#L867-L871
I think in this case isTokenEther will be true because we're bridging the L2 native currency which means the bridge ui will leave off the metadata. I think it /should/ be safe to use the metadata that's returned by the bridge api which I think will require a change to getMerkleProof. cc @leovct

Okay, understood. If I run the CDK again through Kurtosis, will I be able to withdraw using a custom ERC-20 token on bridge-ui, or do I need to use this script?
I DON'T WANT TO USE SCRIPT!

The current version of the bridge ui needs to be fixed. It won't work for this specific use case for now.

Please don't close this issue, will try to test again through Sepolia custom chain. I'll close once it's working


[hold] [feature] Changes error message to let user know registered project was deleted.

Purpose
Let user know that the project a registration was based on was deleted. Close issue #3421
Changes
When Http error occurs it recognizes it as a deleted project and displays a more specific message.
Side Effects
None that I know of.

This is not the right way to deal with this type of error. check  #3421 for details.


font-weight inline style attribute on iframe interfering with bold text

The plugin puts a font-weight inline style attribute on the iframes that have class wysihtml5-sandbox. In the case of our app, it puts a "font-weight: 300" on there. The result is that on Firefox and IE, bold text does not appear as bold in the wysihtml5 editor. Removing font-weight from the TEXT_FORMATTING list appears to fix this.

I have the same problem.
But is there any solution without change the gem code?


Error when './install.sh all'  Installing vSDNAgent python library ... Cannot install library

Hi, please verify your docker configuration. If you don't have a user with credential to pull images locally, you need execute the install script by root user or sudo command.

same error...

Please, verify you docker daemon, because in your error the install script can't access docker resource. So, check your docker install, please.

Installing vSDNAgent python library ... Cannot install library

Hi,
please, go to install script and change the line with " /dev/null"
function library {
SUDO="/usr/bin/sudo"
echo "Installing vSDNAgent python library ..."
${SUDO} ${PP} install . &> /dev/null    <----l Change here
if [ $? -ne 0 ]
then
echo "Cannot install library "
exit
fi
echo "DONE"
}
Change to:
function library {
SUDO="/usr/bin/sudo"
echo "Installing vSDNAgent python library ..."
${SUDO} ${PP} install .  <----|
if [ $? -ne 0 ]
then
echo "Cannot install library "
exit
fi
echo "DONE"
}
So,  it sends the error please.
Thanks


Uncaught TypeError: Cannot read property 'display' of undefined

gamejs.display.setMode(gamejs.display.POINTERLOCK)

The line is copied straight from docs
http://docs.gamejs.org/gamejs/display/index.html

Oh... noob mistake. I thkn

Nope...
var display = gamejs.display.getSurface();

gamejs.display seems to be undefined?

The problem was to do with another package.

uh, do you know which other package caused problems? i wonder how this kind of problem can happen

Sorry it was just a noob mistake where I tried to set the display before initializing the object :smile: