IO-805 - FilenameUtils.isIPv4Address does not handle illegal integers

This change catches the numberFormatException in isIpv4Address and then returns false instead of throwing an exception.

Codecov Report

Merging #462 (9092fc7) into master (dfc9862) will decrease coverage by 0.04%.
The diff coverage is 50.00%.

@@             Coverage Diff              @@
##             master     #462      +/-   ##
============================================
- Coverage     84.77%   84.74%   -0.04%
+ Complexity     3345     3344       -1
============================================
  Files           226      226
  Lines          8048     8051       +3
  Branches        953      953
============================================
  Hits           6823     6823
- Misses          974      976       +2
- Partials        251      252       +1

Impacted Files
Coverage Δ

...main/java/org/apache/commons/io/FilenameUtils.java
91.86% <50.00%> (-0.47%)
:arrow_down:

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Hi @kinow, isIpv4Address method is a private method. there is a way can I test it?

Hi @kinow, isIpv4Address method is a private method. there is a way can I test it?

There must be. It must be accessible via a public method somewhere. I think getPrefixLength calls isIpv6that calls theisIpv4. If that's correct, then a test would have to be written for getPrefixLength` that triggers the code modified here, otherwise there's no way to make sure that a) it works as expected nor b) that it won't be changed by another dev later.

@kinow Thanks for the advice. I'll add test code using getPrefixLength method.

I'll close this PR. isIPv4Address method already validate parameter using Matcher with regex '^(\d{1,3}).(\d{1,3}).(\d{1,3}).(\d{1,3})$'. I think there is no possibility Integer.parseInt() throws numberFormatException.


Make certain aether blocks have a chance to drop ambrosium shards

In the original Aether, when mining certain natural blocks, there's a rare chance they will also drop an ambrosium shard along with their usual drop. As far as I know this happens on: Holystone, Aether Grass, and Aether Dirt

This doesn't have much vanilla parity, but we do have ambrosium ore spawning more frequently than the original, which kinda makes up for it.


fix(nox): always run autotyping from codemod session, set --hide-progress consistently

Summary

Change codemod session to always follow up with autotyping session (except when listing modules), not just when running non-interactively

This resolves a somewhat weird issue where where CI would complain about missing codemod changes, but running nox -s codemod -- run-all locally didn't change anything

Set --hide-progress if and only if running non-interactively
lil bit of cleanup/formatting

Checklist

[x] If code changes were made, then they have been tested

[ ] I have updated the documentation to reflect the changes
[x] I have formatted the code properly by running pdm lint
[x] I have type-checked the code by running pdm pyright

[x] This PR fixes an issue
[ ] This PR adds something new (e.g. new method or parameters)
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

How did you test that CI complained before?


recoll: refactor and 1.24.5 -> 1.27.12

Changes:

add pkg-config
name -> pname + version
python2 -> python3
remove Makefile patch for macOS that has been merged upstream (
https://framagit.org/medoc92/recoll/-/commit/b5c5734d064c638b702601fd391037a35b5bb2a1 )

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

There is still an issue pending on RECOLL_DATADIR

@jcumming , maintainer, for review and testing

Result of nixpkgs-review pr 104699 1

1 package built:

recoll

LGTM!


fix(compiler): accept any input object / list AST as custom scalar value

per https://github.com/graphql/graphql-spec/issues/688#issuecomment-584010837, custom scalars can take any value, including input objects.

The tests on fed-next pass with this so will merge to unblock.


WebGPU: Add occlusion query module to the core WebGPU engine

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15830/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15830/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15830/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15830/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15830/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15830/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15830/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15830/merge#BCU1XR#0

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15830/merge/testResults/webgl2playwright/index.html

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15830/merge/testResults/webgpuplaywright/index.html


Impact Study (take 2)

Well after blundering it, recreated

dmidecode considers string index 0 to be "Not Specified", and smbios-lib considers it an empty string.

dmidecode considers string index 0 to be "Not Specified", and smbios-lib considers it an empty string.

Ah, interesting.  I haven't looked at the original C code on this.  So, parity would be an output of "Not Specified" for all strings?
This sounds like there is a need for a single function that prints an SMBiosString and takes care of both calling the .to_utf_lossy() and printing "Not Specified" for the None case.

dmidecode considers string index 0 to be "Not Specified", and smbios-lib considers it an empty string.

Ah, interesting. I haven't looked at the original C code on this. So, parity would be an output of "Not Specified" for all strings?
This sounds like there is a need for a single function that prints an SMBiosString and takes care of both calling the .to_utf_lossy() and printing "Not Specified" for the "" case.

Yep, and it also considers OOB string accesses to be <BAD INDEX> I'll have a commit shortly that matches the behavior on strings.


Transaction details: change address to "Shielded pool"

Transaction details: in the field "contact"change address to "Shielded pool" for max privacy and offline/public offline transactions

Checked


Bug: Conflict with hstr application when set sdkman_auto_env=true

Bug report
When i have installed hstr (https://github.com/dvorka/hstr) and sdkman with sdkman_auto_env=true
Every command i get message "bash: PROMPT_COMMAND: line X: `history -a; history -n; ;sdkman_auto_env'"
hstr version "2.3.0" (2020-11-19T07:41:00)

bash: PROMPT_COMMAND: line 0: syntax error near unexpected token `;'
bash: PROMPT_COMMAND: line 0: `history -a; history -n; ;sdkman_auto_env'

user:~/Downloads/test-sdk-env/car-app$ java -version
java version "17.0.1" 2021-10-19 LTS
Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing)
bash: PROMPT_COMMAND: line 1: syntax error near unexpected token `;'
bash: PROMPT_COMMAND: line 1: `history -a; history -n; ;sdkman_auto_env'

user:~/Downloads/test-sdk-env/car-app$ cd ..
bash: PROMPT_COMMAND: line 2: syntax error near unexpected token `;'
bash: PROMPT_COMMAND: line 2: `history -a; history -n; ;sdkman_auto_env'

There is a resolution.
Despite of warning comment ("THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!") i need to set hstr fragment in .bashrc after sdkman fragment.
Something like that:
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="/home/user/.sdkman"
[[ -s "/home/user/.sdkman/bin/sdkman-init.sh" ]] && source "/home/user/.sdkman/bin/sdkman-init.sh"

# HSTR configuration - add this to ~/.bashrc
alias hh=hstr                    # hh to be alias for hstr
export HSTR_CONFIG=hicolor       # get more colors
shopt -s histappend              # append new history items to .bash_history
export HISTCONTROL=ignorespace   # leading space hides commands from history
export HISTFILESIZE=10000        # increase history file size (default is 500)
export HISTSIZE=${HISTFILESIZE}  # increase history size (default is 500)
# ensure synchronization between bash memory and history file
export PROMPT_COMMAND="history -a; history -n; ${PROMPT_COMMAND}"
# if this is interactive shell, then bind hstr to Ctrl-r (for Vi mode check doc)
if [[ $- =~ .*i.* ]]; then bind '"\C-r": "\C-a hstr -- \C-j"'; fi
# if this is interactive shell, then bind 'kill last command' to Ctrl-x k
if [[ $- =~ .*i.* ]]; then bind '"\C-xk": "\C-a hstr -k \C-j"'; fi

To reproduce

Install https://github.com/dvorka/hstr
Add config for hstr hstr --show-configuration >> ~/.bashrc
Install sdkman
Set sdkman_auto_env=true

System info
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.4 LTS
Release:	20.04
Codename:	focal
GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
SDKMAN 5.15.0
hstr version "2.3.0" (2020-11-19T07:41:00)

Hi @speedlog, I don't think this is a bug but rather an incompatibility between the two tools. Not sure if there is much we can do about this.

I agree, but maybe warning comment "THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!" is unnecessary?
When i changed order in .bashrc sdkman still works :)

For the vast majority of our users, this statement is true and important. I don't think I want to change it any time soon.

Thanks for explanation. I tried to figure out why SDKMAN should be in the end of file.
I dig a little and found cause of this problem.
It's more general than conflict with hstr.
When i would have an environment variable PROMPT_COMMAND that ends with ";"  the problem will occur.
hstr add export PROMPT_COMMAND="history -a; history -n; ${PROMPT_COMMAND}"
it effectivly means export PROMPT_COMMAND="history -a; history -n; ", because my env PROMPT_COMMAND is empty.
I will try to propose a change to SDKMAN in a while.

Hi@speedlog!
Why do you add a space before ${PROMPT_COMMAND}?
export PROMPT_COMMAND="history -a; history -n; ${PROMPT_COMMAND}"

SDKMAN! assumes that the existing PROMPT_COMMAND ends on a ;, in which case it's stripped away, or a command (w/o space).
I guess SDKMAN! could also strip trailing whitespace before, but I'd rather not add two much special casing for handling PROMPT_COMMAND, which is a hack anyway (zsh doesn't have all those problems).

@helpermethod
This fragment with space after semicolon is from hstr application.
I have not noticed there is solution removing double semicolon. So the problem is just space at the end.
I've changed my commit and trim PROMPT_COMMAND

@speedlog That is now available for testing in the beta channel. Could you please confirm that it works for you?

@marc0der SDKMAN latest+0906561 works perfectly :-)
I've also tried manual change in sdkman-init.sh before my commit.

@speedlog Thanks for bringing the issue up and providing a PR!


Exporter: Bake procedural nodes into textures when converting from Cycles

The add-on tries to convert Cycles materials to Mitsuba whenever possible. However, it does not support any of Blender's math nodes which are often used in shader graphs to process textures or create them procedurally. This can be very problematic when exporting scenes that leverage this techniques a lot, resulting in many exporting failures.
Solution
The exporter could evaluate if a texture input socket can be baked into a fixed texture. Then, during the export process, this texture is rendered and replaces the baked node graph.
Additional context
An Python script example that bakes a texture can be found here.

Indeed that would be a great feature to have!


PDF::Reader::EncryptedPDFError on a USCIS form

To reproduce, run this in the terminal:
wget "https://www.uscis.gov/system/files_force/files/form/i-130.pdf?download=1" -O /tmp/i-130.pdf
ruby -e "require 'pdf-reader'; PDF::Reader.new('/tmp/i-130.pdf').page_count"

Result:
$ ruby -e "require 'pdf-reader'; PDF::Reader.new('/tmp/i-130.pdf').page_count"
/Users/ndbroadbent/.rvm/gems/ruby-2.4.0/gems/pdf-reader-2.0.0/lib/pdf/reader/unimplemented_security_handler.rb:13:in `decrypt': Unsupported encryption style (PDF::Reader::EncryptedPDFError)
	from /Users/ndbroadbent/.rvm/gems/ruby-2.4.0/gems/pdf-reader-2.0.0/lib/pdf/reader/object_hash.rb:313:in `decrypt'
	from /Users/ndbroadbent/.rvm/gems/ruby-2.4.0/gems/pdf-reader-2.0.0/lib/pdf/reader/object_hash.rb:84:in `[]'
	from /Users/ndbroadbent/.rvm/gems/ruby-2.4.0/gems/pdf-reader-2.0.0/lib/pdf/reader/object_hash.rb:98:in `object'
	from /Users/ndbroadbent/.rvm/gems/ruby-2.4.0/gems/pdf-reader-2.0.0/lib/pdf/reader/object_hash.rb:87:in `[]'
	from /Users/ndbroadbent/.rvm/gems/ruby-2.4.0/gems/pdf-reader-2.0.0/lib/pdf/reader/object_hash.rb:98:in `object'
	from /Users/ndbroadbent/.rvm/gems/ruby-2.4.0/gems/pdf-reader-2.0.0/lib/pdf/reader.rb:136:in `page_count'
	from -e:1:in `<main>'

(Downloads the form, then tries to get the page count.)
Is it just a broken PDF? Any way I can workaround cases like this?
This seems to happen with all the forms I'm testing on https://www.uscis.gov

Solved with qpdf --decrypt. Added that to the start of all my PDF processing jobs.


Platform Support x86_64 & aarch64

Might have to change our Dockerfile around a bit if not Tier 1. More details here. https://doc.rust-lang.org/nightly/rustc/platform-support.html

@metaskills Any updates on the plans for arm64? Would add a lot of value to have both architectures supported. Really nice work on the extension, always was hoping that AWS made it this seamless to integrate secrets!

@metaskills I also didn't know but seems there's no native way to run ARM64 yet. But cross-compile seems to be easy like this based on cross (sample with the cross Github action: https://github.com/jhuiting/rust-cross-compile-test/blob/master/.github/workflows/build.yml).

cargo-lambda has worked for me to build for arm64 on Github actions for any Rust project. It uses cargo-zigbuild under the hood. I have not tried their lambda extensions though, which may be a better use case for this project.
For regular builds I would do:
      - name: Install Cargo lambda
        run: pip3 install cargo-lambda

      - name: Cargo build
        run: cargo lambda build --release --arm64

I recently did some work in the Lamby cookiecutter to build a multi-platform image so the Python cookiecutter library worked on arm, see here: https://github.com/customink/lamby-cookiecutter/blob/master/.github/workflows/cc-in-docker.yml
I was surprised how easy this was. So I think there is a mix of the cargo work above with this. I'd love to work or see a PR soon. Seems really straightforward.

I've started working on this so I can ensure the latest Lamby docs around this are right. I want folks to easily ship arm64 with a few lines of change. Right now, I think there is a blocker with Crypteia not working on arm64.

https://github.com/customink/lamby/issues/143

Can folks try out the new v1.1.0 images? They should automatically point to the proper architecture. Meaning if you are building an arm64 image, you should get the right files, binaries, and shared objects.
Amazon Linux 2
docker manifest inspect ghcr.io/customink/crypteia-extension-amzn:1.1.0
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 528,
         "digest": "sha256:662e8f43106cd7685ca914d3ea9506fd34ee9b625e75583c869e7e83316decd8",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 528,
         "digest": "sha256:26fec765f44dc9292bca1fea18ac6acee33991d4406dc16f8b1f6726cf5a21da",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      }
   ]
}

Debian/Ubuntu
$ docker manifest inspect ghcr.io/customink/crypteia-extension-debian:1.1.0
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 528,
         "digest": "sha256:123c6b4edda68f215e229f70e248ddf4c07d891c1d701bed27d5f015ca66f9a5",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 528,
         "digest": "sha256:9befdde5fc24ecccb11bd38c8b526e205ebb3b4ea523cd92abb12ef0eb779471",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      }
   ]
}

https://dev.to/aws-builders/using-docker-manifest-to-create-multi-arch-images-on-aws-graviton-processors-1320

🤦♂ I just noticed the manifest has amd64 twice. I'm not sure what is happening here and where the scripts/process went wrong.
$ docker inspect ghcr.io/customink/crypteia-extension-debian-arm64:1.1.0 | grep Arch
        "Architecture": "amd64",

Will see if this helps. https://github.com/customink/crypteia/commit/78d56e8613c65148549f9377c225952220b5aaf9

Interesting this got added to the devcontainer/ci project. Also, here is the link to base Linux ARM64 actions runner too.

https://github.com/devcontainers/ci/pull/175
https://github.com/actions/runner-images/issues/5631

So... v1.1.0 is done. Give it a whirl.

Closing this out, all done.


feat: rename to Stacks

Rename.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Create new Gold Sponsor section on summit page

Create a new "Gold Sponsors" section on the summit page
http://blockstack.org/summit

Complete


Bad CPU type in executable

I am on M1 macbook. Followed the instructions, installed Wasp but when I try to run it it gives me
.local/share/wasp-lang/0.13.0/wasp-bin: Bad CPU type in executable.
Is it something on my end or M1's are not supported? Thanks

@swoosh1337 please check the "Running Wasp on Mac" on this page: https://wasp-lang.dev/docs/quick-start , it will tell you what to do! Very shortly, Wasp is not directly supported on Mx, so you need to use Rosetta.
@vincanger should we be looking into also adding this info to open-saas installation instructions? Also, would it make sense to have open-saas instructions just take people to wasp's installation instructions, for the part of installing Wasp, since we keep portion missing parts from there to open-saas docs? I know that takes people to out of the docs on the very start though, not sure if that is potentially an issue or not. We could at least to Wasp docs and say "if you need more info / get stuck, check here". That would be improvement for sure, but I do feel we should have a stronger solution.

@Martinsos maybe I can just add the same installation instructions to the open saas docs?

@Martinsos @swoosh1337 i've gone ahead and updated the docs with all the relevant info for installations https://docs.opensaas.sh/start/getting-started/
closing this issue for now :)

Ok! @vincanger what sucks now a bit is that we have a lot of duplication between this and Wasp docs. Any thoughts on that? One solution is just to link to Wasp docs, how does that sound? Or you think it is better to have it like this?

Thanks, guys for the quick response.


⚠ Bofrost.fr has degraded performance

In eb34122, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1202 ms

Resolved: Bofrost.fr performance has improved in 1992884 after 7 minutes.


Generic Palette colors bug on iPad/iPhone

Hi!
For some reason only grey spectrum generated in generic palette on iPhone and iPad (not tested this on other devices though). File attached.
I didn't delve deep into the code, so can't tell any assumptions at the moment.

Duplicate of #80

If the presents it self as a bug after a fix for #80 is added I'll reopen

Sorry, was inattentive. No, I'm sure it's a same bug.
You need to set height of '.md-color-picker-palette':
.md-color-picker-palette {
height: 25.5px;
}
or as proposed in #80.


Require category or article name

Requires a non-blank name for a new category or article
Also checks for names that slugify to blank names
Closes #327

This smells right to me.


cross-compiling nmos-cpp-registry under Linux

At long last, I have a toolchain with which to cross-compile nmos-cpp-node and have run into a strange little problem:
 [exec] [ 66%] Building CXX object CMakeFiles/nmos-cpp-registry.dir/nmos-cpp-registry/main.cpp.o
 [exec] ccache /opt/hlit/cross_x86_64_v8i/gcc6/bin/g++  -DBST_SHARED_MUTEX_BOOST -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -DSLOG_LOGGING_SEVERITY=slog::max_verbosity -DSLOG_STATIC -I/home/bt/git/nmos-cpp/Development -I/home/bt/git/nmos-cpp/Development/third_party -I/home/bt/git/nmos-cpp/Development/sdpxlate -isystem /home/bt/git/nmos-cpp/cpprestsdk-2.10.2-nmos-cpp/install/include -I/home/bt/git/nmos-cpp/Development/../../cpprestsdk-2.10.2-nmos-cpp/Release/libs/websocketpp -isystem /opt/hlit/cross_x86_64_v8i/include -I/home/bt/git/nmos-cpp/Development/third_party/nlohmann -I/usr/include/libxml2  -Wall -Wstrict-aliasing -fstrict-aliasing -Wextra -Wno-unused-parameter -pedantic -Wno-long-long -O3   -std=c++11 -o CMakeFiles/nmos-cpp-registry.dir/nmos-cpp-registry/main.cpp.o -c /home/bt/git/nmos-cpp/Development/nmos-cpp-registry/main.cpp
 [exec] In file included from /home/bt/git/nmos-cpp/cpprestsdk-2.10.2-nmos-cpp/install/include/cpprest/ws_client.h:30:0,
 [exec]                  from /home/bt/git/nmos-cpp/Development/cpprest/ws_listener.h:9,
 [exec]                  from /home/bt/git/nmos-cpp/Development/nmos-cpp-registry/main.cpp:3:
 [exec] /home/bt/git/nmos-cpp/cpprestsdk-2.10.2-nmos-cpp/install/include/cpprest/ws_msg.h: In member function 'void web::websockets::client::websocket_outgoing_message::set_utf8_message(const istream&)':
 [exec] /home/bt/git/nmos-cpp/cpprestsdk-2.10.2-nmos-cpp/install/include/cpprest/ws_msg.h:100:36: error: 'SIZE_MAX' was not declared in this scope
 [exec]          this->set_message(istream, SIZE_MAX, websocket_message_type::text_message);
 [exec]                                     ^~~~~~~~

I don't understand how this can possibly be the case: ws_client.h indirectly includes stdint.h, which is where SIZE_MAX is defined. I have verified this both by inspection and by using strace(1) to track calls to open(2). The toolchain is using glibc 2.17 and gcc 4.9.2.
Any bright ideas on how I might fix or at least diagnose this problem?
As a workaround, is there a straightforward way to skip building nmos-cpp-registry? Just building -node would be sufficient to get me going.

diagnose

Preprocess to a file, maybe? I'll have a look at it.

workaround

make nmos-cpp-node
?

diagnose

Preprocess to a file, maybe? I'll have a look at it.

This is a C++11 vs. glibc issue, that appears to have been resolved in glib 2.18. The workaround is to add a preprocessor definition of __STDC_LIMIT_MACROS, which we/you could do in the CMakeLists.txt.
See https://sourceware.org/bugzilla/show_bug.cgi?id=15366.

I'd have never guessed at the workaround...duh.  :o) My cross-compiled nmos-cpp-node is now working!
Thanks for tracking down the glibc bug as well. I'll leave this bug report open so you can decide if you want to change CMakeLists.txt to add the preprocessor symbol.

Thanks for tracking down the glibc bug as well.

Made much easier by a well written report with all the relevant platform details. :-)
Cheers.

I need to reopen this -- as of John Pruitt's refactoring of CMakeLists.txt, I'm now getting these errors even when only trying to build nmos-cpp-node. I'll hack in then my own tree, but I'm not quite sure what the "right" fix is -- always define this under Linux, add it as an option to the cmake command, or...?

I've traced this as far as I can [1], and I think although this issue is resolved in glibc 2.18, there's no harm in our always defining the preprocessor symbol to work around the problem you're seeing.
[1] https://sourceware.org/ml/libc-alpha/2013-04/msg00598.html


select-range

Added select range houes on the day view.

Hi this looks like a great PR, thanks for the contribution! I don't have the time to review this properly right now, but I can see the value in adding the functionality and will definitely accept it. Will try and find the time on the weekend to go over it.

Hello.
Thanks. I hope that all will be good )

Just a couple things off the top of my head:

[ ] remove the version bump, changelog and dist files from the PR as they'll get auto built on the next release
[ ] remove the extra eslint rules as they're already set by the parent config the eslint file extends
[ ] you can remove the calendarConfig.selectRangeEnabled option, and instead mark onSelectRange as an optional dependency like this: onSelectRange: '&?', and then just check if the onSelectRangecallback exists on not i.e. ifon-select-rangeis not set thenvm.onSelectRange` will be undefined.

Ok. Agree with you.
Removing selectRangeEnabled from config - is a good idea.

That looks much better now, thanks! Will check it out locally and play with it on the weekend, but pending that it looks good to merge :)

Sorry about the delay with this, I finally got time to reviewing it. I've made a few small API changes for consistency with the rest of the module, refactored the DOM logic into it's own directive and added some tests. Thanks again for the contribution!

Ok. Thanks )


[dataset] Request for compassbench_v1.1.public dataset

描述该功能
In version 0.2.6 of OC, the compassbench_20_v1_1_public dataset configuration was added. May I ask where I can obtain the corresponding compassbench_v1.1.public dataset?
是否希望自己实现该功能？

[ ] 我希望自己来实现这一功能，并向 OpenCompass 贡献代码！

Thanks for your attention, we will release the CompassBench v1.2 Public recently(this week or next week), stay tuned.


Rework Trustline Event

Remove leftReceived and leftGiven from the Trustline Events.
They are not useful anymore and outdated.
Rename given to creditlineGiven and received to creditlineReceived

https://github.com/trustlines-network/project/issues/643

Done


Point new domain at Heroku server

If this can't be accomplished by the 5th, we can use the old adoptadrain.codefordurham.org domain.

Here is the CNAME record that should be set up for www.durhamdrain.org: limitless-retreat-rk7kvx5le3963j8ibnnhu2d8.herokudns.com


Publish Master Snapshots

Easy thing to get operational just need to modify the travis to start publishing travis snapshots on merge to master.

Fixed by #5


Intellisense doesn't work with foreach statement

When entering the line
foreach x in y

intellisense does not show any suggestions when entering the variables x or y.
Tested on AL Language v9.0.605172

We have internally discussed this issue and have decided not to accept this issue to be fixed at the moment to prioritize other issues. Thank you for raising this concern.

Still reproduces on the latest AL compiler. We should re-assess whether we want to accept or close this.


Visibility & Range Tools > Range Fans by Feature issue

This tool throws an error when running due to a Python version issue (!grid_code! vs. !gridcode!). @mfunk is aware.

Closing this issue as this tool was removed from Visibility and Range before Release v<IP_ADDRESS>.


added some spanish translations

Hi,
I take the tweet and added some of the missing translations, I believe they still need further review but this is a small step to get it 100% done,
I made some comments per line (https://github.com/OpenRefine/OpenRefine/issues/958#issuecomment-137841043)
56	Fixed, Error is written in the same way in spanish
158 Fingerprint may be replaced by identifier or key? ( "huella digital"" in spanish dont make much sense, literally means finger prints )
159 Seems like this is a algorithm name, I don't believe this need translation http://www.amorphics.com/metaphone3.html
160 Seems like this is a algorithm name, I don't believe this need translation https://de.wikipedia.org/wiki/Kölner_Phonetik
162 Seems like this is a algorithm name, I don't believe this need translation https://en.wikipedia.org/wiki/Levenshtein_distance
163 Seems like this is a algorithm name, I don't believe this need translation https://github.com/OpenRefine/OpenRefine/wiki/Clustering-In-Depth#ppm
180 Fixed
200 Fixed, Error is written in the same way in spanish
208 Fixed,
209 Fixed,
240 Fixed, "Excel (.xls)" makes sense in spanish
273 Fixed, Error is written in the same way in spanish
276 Fixed, lin makes sense in spanish, the translation for linear is "lineal" that start with the same letters.
278 Fixed, log makes sense in spanish, the translation for logarithmic is "logaritmica" that start with the same letters.
290 Fixed, permalink can be written as "enlace permanente" in spanish ( permanent link )
293 Fixed, starting up can be written as "iniciando" maybe "iniciando ..."?
310 Fixed, "Excel (.xls)" makes sense in spanish
311 Fixed, for consistency with line 241, to "Excel en XML (.xlsx)", not sure about this, Excel 2007+ seems like more helpful for average users
313 Fixed, it is a name for a data format from firebase, I added "(firebase)" at the end http://wiki.freebase.com/wiki/T1:Intro_to_Triple_Loader
314 Fixed, same as 313
357 Fixed, namespace as "espacio de nombres"
405 Fixed, matched as "emparejados"
406 Fixed,
407 Fixed,
431 Fixed, not sure if go forward "avanzar" or as in emails "reenviar" ( send to a new address )
458 Not Sure :S
459 Not Sure,
460 Not Sure,
461 Not Sure,
467 Fixed, What QA stands for?
468 Fixed,
469 Fixed,
482 Fixed,
516 Fixed, Throttle delay is hard to translate, "retardo de regulacion" or maybe "retardo de aceleracion"
559 Fixed,
569 Fixed,
570 Fixed,
571 Fixed,
572 Fixed,
577 Fixed,
581 Fixed,
584 Fixed,
585 Fixed,
586 Fixed,
587 Fixed,
588 Fixed,
590 Fixed,
591 Fixed,
592 Fixed,
593 Fixed,
594 Fixed,
595 Fixed,
596 Fixed,
597 Fixed,
598 Fixed,
599 Fixed,
600 Fixed,
601 Fixed,
602 Fixed,
603 Fixed,
604 Fixed,
605 Fixed,
606 Fixed,
607 Fixed,
608 Fixed,
609 Fixed,
610 Fixed,
611 Fixed,
612 Fixed,
613 Fixed,
614 Fixed,
615 Fixed,
616 Fixed,
617 Fixed,
618 Fixed,
619 Fixed,
620 Fixed,
621 Fixed,
622 Fixed,
629 Fixed,
633 Fixed,
638 Fixed,
643 Fixed,
647 Fixed,
653 Fixed,
654 Fixed,
658 Fixed,
660 Fixed,
663 Fixed,
664 Fixed,
665 Fixed

Thank you @rudygt !  I'll review in more detail this weekend.

:), I'm glad to help.

@nachomezzadra done!

@rudygt I just added proposition made by John Otto Knok via a google doc. Translation is hard, I find always good to have multiple option. Please take those as proposal, I let Spanish speake decide what the translation should be.

I speak spanish as my primary language, but I'm a technical person, maybe we need more feedback XD, I will review and update the pr,
thanks!

thank you for the hard work. Usually I try to stick with vocabulary the user is already familiar with and used by software suite like OpenOffice / Microsoft Office or other.

thank you for the hard work. Usually I try to stick with vocabulary the user is already familiar with and used by software suite like OpenOffice / Microsoft Office or other.

thank you for the hard work. Usually I try to stick with vocabulary the
user is already familiar with and used by software suite like OpenOffice
/ Microsoft Office or other.
On 15-09-07 07:53 PM, Rudy Alvarez wrote:

I speak spanish as my primary language, but I'm a technical person,
maybe we need more feedback XD, I will review and update the pr,
thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/OpenRefine/OpenRefine/pull/1064#issuecomment-138393730.


Chattiness flags

gopatch is completely quiet right now. We should add flags for verbosity.
Initial ideas:

-v flag for verbose mode where we'll list whether we changed files or not
-l flag to list files that were changed only

Is this still actual? Or should this be closed with #22 ?

Yeah, this can be closed. Thanks!


bug: inconsistant color between terminals (foot & kitty)

As seen in the preview same colorscheme generating different terminal colors for foot (left) and kitty(right) (foot has the correct coloring). also kitty's wiki also suggests the same thing.
this is the color pallet i'm using to generate colors:
    lackluster = {
      scheme = "Lackluster dark";
      author = "PsyNyde/Slugbyte(oc)";
      base00 = "#101010"; # background
      base01 = "#080808"; # (Black)
      base02 = "#191919"; # (Bright Black)
      base03 = "#2a2a2a"; # (gray)
      base04 = "#555555"; # (light gray)
      base05 = "#deeeed"; # foreground
      base06 = "#f0f0f0"; # (light foreground)
      base07 = "#ffffff"; # (lightest foreground)
      base08 = "#e64a6b"; # (Bright red)
      base09 = "#e69b7b"; # (Orange)
      base0A = "#f0c674"; # (Yellow)
      base0B = "#789978"; # (Green)
      base0C = "#6f8595"; # (Cyan)
      base0D = "#7788AA"; # (Blue)
      base0E = "#b86cd4"; # (magenta)
      base0F = "#e64a6b"; # (Dark red)
    };

Related: https://github.com/danth/stylix/issues/249

@danth @trueNAHO looks like the bug was caused by tinted-kitty template not matching specs and after tinted-theming/tinted-kitty#4 gets merged into main it should be fixed.
But also as the pr suggests 256 variants will be deprecated soon and will break stylix.targets.kitty.variant256Colors if I'm not being wrong. I'd love to see your input on this.

looks like the bug was caused by tinted-kitty template not matching specs. After tinted-theming/tinted-kitty#4 is merged into main, it should be fixed. (edit. it has been merged)

Does https://github.com/danth/stylix/pull/588 resolve the issue?

However, the pr also suggests 256 variants will be deprecated and removed soon, which will break stylix.targets.kitty.variant256Colors if I'm not being wrong.

Thanks for pointing this out. I suggest Stylix should deprecate the stylix.targets.kitty.variant256Colors option, following upstream decisions. Feel free to submit a PR.

Hey @trueNAHO, sorry to bother you again, but after updating Stylix to the latest commit, it seems like I'm encountering the same issue as in #576. From my research, it looks like the problem stems from this commit in the tinted-kitty repository, where they updated the templates/config.yaml file. This seems to be the same issue that previously affected tinted-foot.
After checking the tinted repositories Stylix depends on (e.g. foot, kitty & tmux) ,it looks like updating any of their respective inputs will cause Stylix to break.
I can try to submit a pr to use local template instead of relying on external repo which will make it easier to maintain and update template when needed imo. but I'm not sure if this is the best way to handle this and I'm pretty new to nix so the pr can be a bit rough

after updating Stylix to the latest commit, it seems like I'm encountering the same issue as in #576. From my research, it looks like the problem stems from this commit in the tinted-kitty repository, where they updated the templates/config.yaml file. This seems to be the same issue that previously affected tinted-foot.
After checking the tinted repositories Stylix depends on (i.e. foot, kitty & tmux) ,it looks like updating any of their respective inputs will cause Stylix to break.

Thanks for all the usefull input.

I can try to submit a pr to use local template instead of relying on external repo which will make it easier to maintain and update template when needed imo. but I'm not sure if this is the best way to handle this and I'm pretty new to nix so the pr can be a bit rough

Considering that the roadmap eventually causes Stylix to implement all templates without relying on external dependencies, it might be easiest to lock the current dependency versions to avoid wasted maintenance effort.

I am already looking into this. I will try to properly resolve this today.
-- https://github.com/danth/stylix/issues/571#issuecomment-2403146875


Tryoutapps shaman 1.0.6

What to do if the build fails?
At the moment contributors do not have access to the CI workflow triggered by StepLib PRs. In case of a failed build, we ask for your patience. Maintainers of Bitrise Steplib will sort it out for you or inform you if any further action is needed.
New Pull Request Checklist
Please mark the points which you did / accept.

[x] I will not move an already shared step version's tag to another commit
[x] I read the Step Development Guideline
[x] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[x] I read and accept the Abandoned Step policy

@dimovskidamjan can we close this in favor of #4017 ?

@jabou yeah, sure. Not sure why we have two though but it doesn't really matter :)

Closed in favor of #4017.


How to apply pagination on data loaded on ready()

Here's the full code for what I'm trying to do https://github.com/pelletiermaxime/wp-rest-ui/blob/466a19a884e477683b1efaf775447dd3ef1f3ce1/src/components/Posts.vue.
Everything works fine if I use the 'posts' array in the data, but if I load data via an ajax request in the ready() function of my component, my 'posts' array is empty.
Any idea ?

Thanks @pelletiermaxime for mentioning this issue :).
Now it should work. All you have to do, after npm update, is updating the full version of the list instead of the paginated.
So, in your code you would do this:
ready () {
  this.$http.get('wp/v2/posts', {
    order: 'asc',
    filter: {posts_per_page: -1}
  })
    .then(function (response) {
      this.fullPosts = response.data
    }
  )
}

Works perfectly! Thanks for the quick fix and thanks for the great little and useful directive!

I come up with the same question, and this issue's reference code helps me solve my propble.
However if I set the initial value from [] to '', then error:

vue-paginate.js?6bc9:254Uncaught Error: [vue-paginate] the list name "post" is not defined in your vm instance.

Ok, change it to []. But another problem, the pagination contents still not show (I use vue-cli webpack boilerplate), unless I change the target number to another number.
my vue component code:
<template>
      <ol v-paginate:10="post">  // here, attention later
        <li v-for="item in post">
          <a @click="changeLangsPage(item.link)" href="#">
            {{ item.title }}
          </a>
        </li>
      </ol>
</template>

<script>
import VuePaginate from 'vue-paginate'
export default{
  components: {
    VuePaginate
  },
  data () {
    return {
      // attention here! the initial value '' doesn't work, [] work
      // if I change it from '' to [], the webpage still not show pagination contents
      // unless I change the number in'v-paginate:10="post"' (template code above)
      post: ''
    }
  },
  ready () {
    this.$http({
      url: 'http://mysite/rsite/post',
      method: 'get'
    }).then((response) => {
      var data = JSON.parse(response.data)
      console.log(response)
      if (data.code === 0) {
        this.post = data.msg
        console.log(this.post)
      } else {    // my restful api works fine, and doesn't come to this `else` branch
        this.post = []
      }
    })
  },

@pelletiermaxime I come up with a same problem. By changing the initialization of posts variable in data( ),  from posts: [ ] to posts: [ { } ], things can be better, or if you fresh the page it would show blank in my case.


Upgrade batch-loader dependency version

Out of curiosity, is this needed for a specific reason? I saw there are several dependabot PRs open, maybe this is already in one of them?

Oh, I didn't notice them :sweat_smile:
No particular reason. It's just it was my first attempt to fix #172. It didn't fix it, but the specs kept being green.


dForce QA all chains

I'll do a QA on all chains that have a dForce subgraph and pass on to @dmelotik & @tnkrxyz when complete.
Use this issue for QA reports, updates and  discussion/improvements to the subgraph.

Here are some related threads:
https://github.com/messari/subgraphs/issues/1106
https://github.com/messari/subgraphs/issues/868
Note that dForce is pretty difficult as most sources have issues. Would good to sync up with @tnkrxyz on this.

I am working on the QA for all chains, but did want to raise the issue of the CDP/synth market they have. I personally think it may need it's own subgraph as this component functions more like Synthetix (not entirely) than a traditional CDP (maker). The purpose of dForce's CDP (USX & EUX) seems primarily in their synthetics market and not as a stablecoin (dai, LUSD ect).  Feel free to share thoughts. I don't think we have a subgraph for synthetix.

Gotcha, @nemani is working on a subgraph for Synthetix. Should probably discuss how to handle synthetic tokens in the general case then. Maybe we can bring this to Discord?

@tnkrxyz Finally got a chance to go through all of subgraphs. Overall our schemas  are good there are only two issues:

TVL and pool level TVL is off for BSC (almost double) and Ethereum (about 5% higher on the front end). Both of these schemas are older version and the newer versions on 1.1.4 and dont have this issue. Alternatively it could be a pricing issue, but i doubt it, because it is all the pools
Rewards are off on all the pools and minting is showing zero on all subgraphs. See if you can fix it. It is not a high priority for Protocol Metrics, but it would be nice to have accurate rewards.
I have excluded the synthetic market data for this. Likely we will need an independent subgraph for that similar to synthetix (that will be similar to the CDP schema).
Avalanche has not been deployed and should not be ingested.

notes: publicly available data for this is kind of a mess. Token terminal is wrong across the board and Defillama amalgamates the synthetics market and lending platform. Front end and on chain data generally conform with our subgraph.
Let me know if you have questions or concerns. I think if these issues are addressed we can finally ingest dforce!

@ishraq8 , I just realized that there is a discrepancy in the deployed version (1.1.4) & the current code version (1.2.2). And the ethereum and bsc deployment failed at ~95%. Would you mind verifying when the new deployment is done? Also, it seems I don't have access to the google sheets listed above (tnkrxyz@gmail.com).

@ishraq8 , were you not able to see these reward emission data/charts? they load all right for me - you indicate there was "Reward Token output error on subgraph (Code Error)" in the speadsheet. The example below are for USDC on polygon:
https://subgraphs.messari.io/subgraph?endpoint=messari%2Fdforce-polygon&tab=pool&poolId=0x5268b3c4afb0860d365a093c184985fcfcb65234&view=marketDailySnapshots-rewardTokenEmissionsAmount%2520[0]

@ishraq8 , were you not able to see these reward emission data/charts? they load all right for me - you indicate there was "Reward Token output error on subgraph (Code Error)" in the speadsheet. The example below are for USDC on polygon:

Thanks for this, wasn't showing before but is correct now

Hey @ishraq8 the rewards were fixed for Optimism and Polygon by @tnkrxyz ! They are still slightly off from their FE, but I will let you decide what our room for error is and if it is acceptable.
Here are the deployments:

Optimism: https://okgraph.xyz/?q=tnkrxyz%2Fdforce-optimism
Polygon: https://okgraph.xyz/?q=tnkrxyz%2Fdforce-polygon

@tnkrxyz @dmelotik Dforce looks great!We are finally ready for prod with this!


docs: document runtime integration for developer VMs

Signed-off-by: André Martins<EMAIL_ADDRESS>

This change is

test-docs-please

test-docs-please


Extend the instructor screen for admin workspace that allows an admin to first search for a site to archive.

This is being done in #31


Update deps 2

Update some dependencies

:tada: This PR is included in version 16.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


HMR not working

Whenever I use this plugin in my Vue project. HMR stops working.
using dynamic import strategy does fix it domInsertionStrategy: isDev ? 'dynamic' : 'replaceHtml',

Can you provide a minimal reproducible demo?


Bddsliced

This PR adds the struct VariablesCluster which allows to create groups of BDD variables from a CUDD manager. BDD functions can then be created with variables belonging to the cartesian product of one or more VariablesCluster's. The interest is that when a new variable is added to a cluster, then the functions that have one or more variables belonging to this cluster are updated (according to some updating rule) to take to new variable into account.
This allows to define IntTupleSet's in a more simple way, and to define the cartesian product of different sets represented by BDDs (not implemented yet).

BDDs are not used anymore, I close this PR


18622 - Correction - Blank Special Resolution

Issue #: /bcgov/entity18622
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

/gcbrun

Temporary Url for review: https://business-edit-dev--pr-550-g7fny7ws.web.app


_count param works only before 50

_count param works only for numbers <50. If _count=100 is used (for example)  - server returns 50 items only.

Please see here for a description of how to adjust the maximum page size the server will return: http://hapifhir.io/doc_rest_server.html#Paging_Responses


jenkins trigger

test for https://github.com/SpiNNakerManchester/SpiNNFrontEndCommon/pull/865

pr this tests closed


Gradle build for the complete project is broken

A typo in the gradle.build prevents the project from compiling.
mvn install fails with the following error:
Plugin [id: 'org.springframework.boot', version: '3,0.0'] was not found in any of the following sources:

The coma in 3,0.0 needs to be replaced by a dot and become 3.0.0 (or 3.0.2 at this time).

@sdeleuze please have a look when it makes sense...

@psoares Thank you for raising this!
We will update the guide accordingly.

Fixed in https://github.com/spring-guides/gs-batch-processing/pull/51
I could have pushed to main, but I think it's good to have a PR to match the issue, even though that means merging my own PR.

@Buzzardo maybe you should cancel the PR #49 I had submitted too?

Done. We'll bump the version at the next minor version. We rarely worry about the patch versions, unless it's something like a security fix.


Implicit array -> slice cast is broken

Reproducer:
a := [true, true, true]
s: []bool = a
// What is s.length?

A workaround is to explicitly construct the slice, in this case, slice(&a[0], a:?.length)

Reopening this one because your recent commit introduced a related issue:
foo := [-1, -1]
results in the following error:
[140536296625992 ir/builder.cc:214 ApplyImplicitCasts] Unreachable code-path.
([2; integer], casting implicitly to, []([2; i64]))
*** SIGABRT received at time=1640831202 on cpu 0 ***
PC: @     0x7fd12813c808  (unknown)  pthread_kill
    @          0x18fd5f0         64  absl::WriteFailureInfo()
    @          0x18fd2d4        224  absl::AbslFailureSignalHandler()
    @     0x7fd1280e8520  (unknown)  (unknown)
Aborted (core dumped)

And if you try to provide an array type:
foo: [2; i64] = [-1, -1]
it yields the error: No viable cast from `[2; integer]` to `[2; i64]`.


Added build with prebuilt libs

Added the capability for building ash-molten with prebuilt libs of MoltenVK.

Also do think should add some brief comments about what the features do (including the default one) in Cargo.toml and also to README of the different modes, and some instructions on how to upload a new prebuilt MoltenVK library

Good point I will add some


Added my own script

added austin.sh script.

You deleted the first line that contains the bash script identifier


refactor test cases

test: refactor test cases
test: add goldens

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.3%) to 95.556%

Totals

Change from base Build<PHONE_NUMBER>:
1.3%

Covered Lines:
215

Relevant Lines:
225

💛  - Coveralls


Roll engine afb9d510c3bb..782654846230 (3 commits)

https://github.com/flutter/engine/compare/afb9d510c3bb...782654846230
git log afb9d510c3bb0f1b97980434b41200a2d3491697..78265484623037c6544dfd5380367bca29fa27b0 --no-merges --oneline
782654846 Align fuchsia and non-fuchsia tracing (flutter/engine#9199)
5ea125eaf Switch PlatformViewsController from Activity ref to Application ref. (flutter/engine#9193)
fd4368c85 Skip golden tests on non-Linux OSes (flutter/engine#9198)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (bmparr@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


V1alpha1 sesv2

Upstream PR: https://github.com/crossplane/provider-aws/pull/791

False positive on guardrails scan


CodePen Template is not working

The Getting Started example on codepen isn't working:
http://codepen.io/developit/pen/pgaROe?editors=0010
Error: this.linkState is not a function

linkState was removed in Preact 8, which is what the demo is using.
@developit needs to update it to include the linkState module.

Fixed!

Thank you.


cannot find -lOpenCL

when i put in "./zcutil/build.sh -j$(nproc)" it says "cannot find -lOpenCL" what should i do?

This error has to do with the driver installing libOpenCL.so as libOpenCL.so.1. You can create a symlink:
$ sudo ln -s /usr/lib/libOpenCL.so.1 /usr/lib/libOpenCL.so

Or for people that do not want to mess with this:
$ sudo apt-get install ocl-icd-opencl-dev

now when i start program with "./src/zcash-miner" it say "Running the test miner
[OPENCL]:No OpenCL platforms found
[OPENCL]:
Listing OpenCL devices.
FORMAT: [deviceID] deviceName
Number of Platforms:1
[OPENCL]:No OpenCL platforms found
ERROR: No suitable GPU found! No work will be performed!"
what to do now?

You don't have drivers or they are not working properly. Use clinfo first to check if your cards are being recognized. Look in the closed issues, there are other people that had your same issues.

ok

no it not recognized my gpu..

Driver issue for sure. Look at our guides in the wiki:
https://github.com/nginnever/zogminer/wiki

i have nvidia not amd? what to do? that is for amd

Drop by gitter. There are people that got nvidia working. I haven't got any nv cards to test.

can you send me link? i can test for you haha

https://gitter.im/zogminer/dev


Rollback to genesis when restoring from any v13 snapshot

OS
Your OS: NixOS
Versions
The db-sync version (eg cardano-db-sync --version): 13.0.1 (070a856)
PostgreSQL version: 14.1
Build/Install Method
The method you use to build or install cardano-db-sync: nix
Run method
The method you used to run cardano-db-sync (eg Nix/Docker/systemd/none): nix
Problem Report
Restoring the snapshot finishes fine, following this tutorial (it always worked flawlessly up to this point).
...
All good!

But then when I start cardano-db-sync service:
 Starting chainSyncClient
 Cardano.Db tip is at slot 66269743, block 7498999
 Running DB thread
 Running Offline fetch thread
 Identity Required subscriptions started
 Rolling back to genesis
 Deleting 7498999 blocks up to slot 66269743

It wants to roll back to genesis. This happens with both snapshots published here https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13/

This happens because the node is not fully synced. When db-sync connects to the node they negotiate the tip and if db-sync is ahead of the node db-sync will roll back.

This happens because the node is not fully synced. When db-sync connects to the node they negotiate the tip and if db-sync is ahead of the node db-sync will roll back.

Thanks for the reply but it seems that the node (v1.35.1) is fully synced.

There are two possibilties that I ca think of for the Rolling back to genesis message:

The node is not synced.
The node and db-sync are running on different networks.

There are two possibilties that I can think of for the Rolling back to genesis message:

The node is not synced.
The node and db-sync are running on different networks.

I have the same issue, db-sync is running at port 3100 by default and my node is running at 1900. Should I pass 3100 as a port while starting the node? When I delete the restore snapshot parameter this error disappeared its getting from the genesis but takes TOO MUCH time to get db sync. After Byron era finishes it took 7 days to get 45 epoch in Shelley era...

@KorayBarkin I assume db-sync and node are running on the same machine (they should be).If that is the case, they should not connect via a regular socket but via a local domain socket. You need to read the docs.

There are two possibilties that I can think of for the Rolling back to genesis message:
* The `node` is not synced.

* The `node` and `db-sync` are running on different networks.

Thanks for the reply - I have experienced both scenarios before, but it really seems this is not the case now (node is running on mainnet). I'm not sure where I'm making an error, more logs:

Loading custom cardano-db-sync schemas.
[db-sync-node:Warning:6] [2022-07-18 00:40:06.15 UTC] Version number: 13.0.1
[db-sync-node:Warning:6] [2022-07-18 00:40:06.15 UTC] Git hash:<PHONE_NUMBER>000000000000000000000000000000
[db-sync-node:Warning:6] [2022-07-18 00:40:06.15 UTC] Option disable-ledger: False
[db-sync-node:Warning:6] [2022-07-18 00:40:06.15 UTC] Option disable-cache: False
[db-sync-node:Warning:6] [2022-07-18 00:40:06.15 UTC] Option disable-epoch: False
[db-sync-node:Warning:6] [2022-07-18 00:40:06.15 UTC] Enviroment variable DbSyncAbortOnPanic: False
[db-sync-node:Info:6] [2022-07-18 00:40:06.16 UTC] Schema migration files validated
[db-sync-node:Info:6] [2022-07-18 00:40:06.16 UTC] Running database migrations
[db-sync-node:Info:6] [2022-07-18 00:40:06.75 UTC] Using byron genesis file from: "/nix/store/iwq90igv72ihdr9z9nl3m0dsiv0bfh7y-byron-genesis.json"
[db-sync-node:Info:6] [2022-07-18 00:40:06.75 UTC] Using shelley genesis file from: "/nix/store/sr1r1fsqij2bcr3jc1xz7hdgih2w6gp7-shelley-genesis.json"
[db-sync-node:Info:6] [2022-07-18 00:40:06.75 UTC] Using alonzo genesis file from: "/nix/store/8qnphq6yvcjspiy3z0aijfd6cv64l3hl-alonzo-genesis.json"
[db-sync-node:Info:6] [2022-07-18 00:40:07.53 UTC] NetworkMagic: 764824073
[db-sync-node:Info:6] [2022-07-18 00:40:08.08 UTC] Initial genesis distribution present and correct
[db-sync-node:Info:6] [2022-07-18 00:40:08.08 UTC] Total genesis supply of Ada:<PHONE_NUMBER>5.000000
[db-sync-node:Info:6] [2022-07-18 00:40:08.08 UTC] Inserting Shelley Genesis distribution
[db-sync-node:Info:6] [2022-07-18 00:40:08.09 UTC] epochStartup: Checking
[db-sync-node:Info:6] [2022-07-18 00:40:08.09 UTC] localInitiatorNetworkApplication: connecting to node via "/run/cardano-node/node.socket"
[db-sync-node.Subscription:Notice:56] [2022-07-18 00:40:08.09 UTC] Identity Starting Subscription Worker, valency 1
[db-sync-node.Subscription:Notice:57] [2022-07-18 00:40:08.09 UTC] Identity Connection Attempt Start, destination LocalAddress "/run/cardano-node/node.socket"
[db-sync-node.Subscription:Notice:57] [2022-07-18 00:40:08.09 UTC] Identity Connection Attempt End, destination LocalAddress "/run/cardano-node/node.socket" outcome: ConnectSuccessLast
[db-sync-node.Handshake:Info:57] [2022-07-18 00:40:08.09 UTC] WithMuxBearer (ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/run/cardano-node/node.socket"}) Send (ClientAgency TokPropose,MsgProposeVersions (fromList [(NodeToClientV_9,TInt 764824073),(NodeToClientV_10,TInt 764824073),(NodeToClientV_11,TInt 764824073),(NodeToClientV_12,TInt 764824073),(NodeToClientV_13,TInt 764824073)]))
[db-sync-node.Handshake:Info:57] [2022-07-18 00:40:08.09 UTC] WithMuxBearer (ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/run/cardano-node/node.socket"}) Recv (ServerAgency TokConfirm,MsgAcceptVersion NodeToClientV_13 (TInt 764824073))
[db-sync-node.Mux:Info:57] [2022-07-18 00:40:08.09 UTC] Bearer on ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/run/cardano-node/node.socket"} event: Handshake Client end, duration 0.00151989s
[db-sync-node.Mux:Info:58] [2022-07-18 00:40:08.09 UTC] Bearer on ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/run/cardano-node/node.socket"} event: State: Mature
[db-sync-node.Mux:Info:58] [2022-07-18 00:40:08.09 UTC] Bearer on ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/run/cardano-node/node.socket"} event: Eagerly started (MiniProtocolNum 5) in InitiatorDir
[db-sync-node.Mux:Info:58] [2022-07-18 00:40:08.09 UTC] Bearer on ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/run/cardano-node/node.socket"} event: Eagerly started (MiniProtocolNum 6) in InitiatorDir
[db-sync-node.Mux:Info:58] [2022-07-18 00:40:08.09 UTC] Bearer on ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/run/cardano-node/node.socket"} event: Eagerly started (MiniProtocolNum 7) in InitiatorDir
[db-sync-node.Mux:Info:58] [2022-07-18 00:40:08.09 UTC] Bearer on ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/run/cardano-node/node.socket"} event: Eagerly started (MiniProtocolNum 9) in InitiatorDir
[db-sync-node:Info:61] [2022-07-18 00:40:08.10 UTC] Starting chainSyncClient
[db-sync-node:Info:61] [2022-07-18 00:40:08.10 UTC] Cardano.Db tip is at slot 65837130, block 7477999
[db-sync-node:Info:69] [2022-07-18 00:40:08.10 UTC] Running DB thread
[db-sync-node:Info:70] [2022-07-18 00:40:08.10 UTC] Running Offline fetch thread
[db-sync-node.Subscription:Notice:56] [2022-07-18 00:40:08.12 UTC] Identity Required subscriptions started
[db-sync-node:Info:69] [2022-07-18 00:40:08.19 UTC] Rolling back to genesis

It looks like db-sync doesn't find the ledger-state directory. Is this configured properly? Did this happen on docker
I'm trying to replicate this.

It looks like db-sync doesn't find the ledger-state directory. Is this configured properly?

 The statedir and workdir seems to have changed to:
StateDirectory=cexplorer
WorkingDirectory=/var/lib/cexplorer

Did this happen on docker
I'm trying to replicate this.

Hey, it's on Nix(OS).

So I guess this has a workaround. Can it be closed?

[db-sync-node:Warning:6] [2022-07-18 00:40:06.15 UTC] Git hash:<PHONE_NUMBER>000000000000000000000000000000

This is also strange.

So I guess this has a workaround. Can it be closed?

[db-sync-node:Warning:6] [2022-07-18 00:40:06.15 UTC] Git hash:<PHONE_NUMBER>000000000000000000000000000000

This is also strange.

Yeah, sure. It would be nice if the changelog did mention this change though. I think more people may stumble over this. It can be solved in either start using the new structure or adjust the systemd service.

[db-sync-node:Warning:6] [2022-07-18 00:40:06.15 UTC] Git hash:<PHONE_NUMBER>000000000000000000000000000000

I am pretty sure that is an artifact of the Nix build.

See also https://github.com/input-output-hk/cardano-db-sync/pull/1200 which will be merged after it has been tested and known to work.

The statedir and workdir seem to have changed to:

StateDirectory=cexplorer
WorkingDirectory=/var/lib/cexplorer

Hello, I am facing the same issue, but DB-sync has been running for months (13.0.0). I had restored from snapshot as well, no problem so far. Suddenly, it started throwing errors and trying to roll back bit by bit and now rolling back to genesis. My node is fully synced (epoch 372).
May I ask details about this solution? I do not understand exactly what needs to be done.

@GiorgosStou Please do not post screenshots. They are incredibly difficult to read on high DPI monitors. Instead, cut and paste the text.

I had restored from snapshot as well, no problem so far.  Suddenly, it started throwing errors and trying to roll back bit by bit and now rolling back to genesis.

I have seen this on machine where the machines ran out of disk space and when this happens there is no available disk space to write the ledger state file and with the ledger state file,  db-sync will try to roll back to genesis.

Suddenly, it started throwing errors and trying to roll back bit by bit

Probably related to bugs previous releases had, like https://github.com/input-output-hk/cardano-db-sync/issues/1181 https://github.com/input-output-hk/cardano-db-sync/issues/1222

13.0.0

You're advised to use the latest release which fixes these bugs https://github.com/input-output-hk/cardano-db-sync/releases/tag/13.0.5

Thank you both very much for the replies.
@erikd I have ~200GB of disk space left, so that should not be a problem.
@kderme Can I update db-sync from 13.0.0 to 13.0.5 without dropping the database? I cannot find instructions for that. I look at https://github.com/input-output-hk/cardano-db-sync/releases .
I also see that it mentions compatibility with node 1.35.3. I use 1.35.0.
Would that be needed to be updated as well? So these bug will require a whole new installation of node & db-sync?
On another point, if I let the rolling back to genesis happen, will it continue from where it left as normal?
If yes, is there an estimate on how long I need to wait (I have it rolling back for 2 days now) ?

Can I update db-sync from 13.0.0 to 13.0.5 without dropping the database?

Yes.

I cannot find instructions for that.

Just stop the old version, install the new version and restart.

I also see that it mentions compatibility with node 1.35.3. I use 1.35.0.

There was an important bug fix after 1.35.0. You should install that.

On another point, if I let the rolling back to genesis happen, will it continue from where it left as normal?

No, roll back to genesis means exactly that, rolling back to an empty database.

is there an estimate on how long I need to wait (I have it rolling back for 2 days now) ?

Rolling back to genesis takes far far longer than just dropping the database. Whether you roll back to genesis or drop the database you will still need a full sync which takes about 5 days.

OK, I will update to the db-sync 13.0.5.
I assume the node update works in the same way.
thank you very much for the help, much appreciated!

Node update should be even simpler.


[BUG] DeleteSession not working for paths with spaces

Describe the bug
If there is a space in pwd, the *.vim file is not deleted when running :DeleteSession
To Reproduce
Steps to reproduce the behavior:

mkdir ~/"With space"
cd ~/"With space"
nvim
:SaveSession
:DeleteSession

Expected behavior
The session file should be deleted but isn't.
Baseline (please complete the following information):

OS. e.g uname -a: Darwin Simons-MacBook-Pro.local 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:54 PST 2021; root:xnu-8019.61.5~1/RELEASE_X86_64 x86_64
Neovim version nvim --version:  NVIM v0.6.1

Not using any other config besides
require('auto-session').setup {}

Interesting, might need some more sanitizing. Should be a simple fix, I'll try and check it out this weekend if someone doesn't get to it first.


JVM Agent / add Prometheus remote write

Let the Java agent push it's metrics to Prometheus just like the influxdb Exporteur. This will hell, if scaping the Prometheus exporter is not possible, because firewall issues or no service discovery to find IP + port form/to the exporter.

White the OT Version (v2.x) one could use the OTLP Metrics Exporter, with is in fact prometheus.

White the OT Version (v2.x) one could use the OTLP Metrics Exporter, with is in fact prometheus.


Is Statistical Operation a GSIM Statistical Program?

Could the Insee notion of Statistical Operation be modeled as a Statistical Program or a subclass of it?

Notes from March 7 meeting:

Yes, insee:StatisticalOperation is a subclass of the StatisticalProgram.

Comments on the March 7 meeting notes:

So we create a StatisticalProgram class in the COOS. Do we also create StatisticalOperation, and if yes linked how to StatisticalProgram?

GSIM Statistical Programs seem to be an instantiations of StatisticalProductionActivity. See Explanatory Text here:
https://statswiki.unece.org/display/newclick/Statistical+Program
"Some examples of Statistical Program are: Labour Force Survey - Multipurpose Household Survey - National Accounts - Demography - Overseas Arrivals and Departures"

I propose to make coos:StatisticalProgram a sub-class of coos:Activity, because programs may contain activities that are not strictly production or even statistical.

Decided during July 2 meeting: make  coos:StatisticalProgram a sub-class of coos:StatisticalActivity in order to be coherent with GSIM that explicitly mentions "This does not include statistical support functions such as metadata management, data management (and other overarching GSBPM processes) and design functions. These activities are conducted as part of Statistical Support Programs."
The link with StatisticalSupportProgram is dealt with in issue #4.


fix(devops): Erasing COPY to avoid build failure

As "scripts" file doesn't exists,  we must erase this line, because it's producing building failures.

@rafaiovlabs the CI fails because of the commit message linting, please fix it


Added project index.html

Added index.html page as requested

The codes are written perfectly, the customer is satisfied


docs: Offer basic and advanced configuration in documentation

Signed-off-by: Oğuzhan D<EMAIL_ADDRESS>Description
Split configuration section to two;
Basic Configuration: Minimum configuration to run Cerbos in local. (For experimenting)
Advanced Configuration: All configuration parameters with example.
Fixes #357
Checklist

[ ] The PR title has the correct prefix
[ ] PR is linked to the corresponding issue
[ ] All commits are signed-off (git commit -s ...) to provide the DCO

Thanks for this. It's a very good effort. I have a few suggestions on how to structure it.
I think the way we should document this is by showing the minimal configuration required to start Cerbos and then the full configuration that shows all the possible configuration keys. Let's not call them "basic" or "advanced".
When it comes to the minimal configuration, there are two more things to note:

The container does not require any configuration to start. It is configured by default to look for policy files mounted at /policies (See https://github.com/cerbos/cerbos/blob/main/conf.default.yaml)
The binary requires at least one storage driver to be configured. So, an example of the minimal configuration would be the storage stanza in https://github.com/cerbos/cerbos/blob/main/conf.default.yaml.

(I am going by memory here, so please test to make sure I haven't gotten anything wrong)
So, the structure of the document should be:

Configuration: description of how configuration works in general (e.g. using ${VAR} to access environment variables and how configuration is passed to Cerbos via the --conf flag)
Minimal configuration

Minimal configuration for the container
Minimal configuration for the binary

Full configuration: annotated example showing all possible configuration values

Additionally, it might be worth double checking the existing configuration (grep for conf.go files) to make sure that we haven't missed anything from the full configuration example.


Introduce debug-process-names and experimental-enable-dwarf-unwinding

Signed-off-by: Kemal Akkoyun<EMAIL_ADDRESS>// Hidden debug flags (only for debugging):
--debug-process-names []string
Only attach profilers to specified processes. comm name will be used to match the given matchers. Accepts Go regex syntax (https://pkg.go.dev/regexp/syntax).

// These flags are experimental. Use them at your own peril.
--experimental-enable-dwarf-unwinding bool
Unwind stack using .eh_frame information.

Test

sudo ./scripts/local-run.sh
make dev/up with Minikube

Since it's all experimental and we can change flags arbitrarily especially with experimental features, let's just make this a single flag I would say.

Since it's all experimental and we can change flags arbitrarily especially with experimental features, let's just make this a single flag I would say.

One of the reasons, I want to have 2 flags, is to be able to use debug-process-names solely. It has many use cases while debugging things with the agent. Especially, after enabling system-wide profiling the information we collect from even a single node system can be overwhelming while trying to debug some specific thing.

I personally think a set of comms would have been sufficient, but I'm happy with the regex as well. Only the compiling comment is something I think we need to address the rest I don't feel strongly about.

Having a regex is very useful for some applications that use named threads, they typically name them as io-thread-$IO_THREAD_COUNT :D

Oh, the only other thing I wanted to ask is to test if everything works for dwarf based stack unwinding. Could you run cpp-basic-no-fp and some simple Ruby script to check that everything's working fine?
The output should not be too different from https://github.com/parca-dev/parca-agent/pull/978's test plan

Oh, the only other thing I wanted to ask is to test if everything works for dwarf based stack unwinding. Could you run cpp-basic-no-fp and some simple Ruby script to check that everything's working fine?
The output should not be too different from #978 test plan

Updated the issue with the test results.


$getCooldownTime error

Type

[ ] Functions: $getCooldownTime
[ ] Callbacks: <Callback Name>
[ ] Handlers: $loadCommands
[ ] Others: ______

Code used:
$globalCooldown[1d;{title:Daily Rewards}{thumbnail:$authorAvatar}{description:You have claimed your daily rewards already!}{field:Claim again after:$getCooldownTime[globalUser;daily;no]}{color:f44336}]
Error get: ❌ Invalid cooldown type on $getCooldownTime[globalUser;daily;no] at line 7

More:

Aoi.js version: 1.0.6
Node.js version: v12.22.1
Operating system: Debian

Screenshots (If any): Image or Link

@bubblejoey You are missing one field in getcooldowntime

You need to put the duration In the first field of $getCooldownTime

ah ye the id my bad

thanks btw

I still get an error

no u are missing the time field 🤦

@bubblejoey

Fixed already, DerBond help me on the server. Thanks for the help!


Make ARM64 compatible Dockerfile

So that this can be run on ARM64 devices like the Pine64.
https://www.pine64.org/

I don't have the ability to test this myself, but if you want to submit a pull request I am happy to take a look at it.

It should be a one-line fix since we are pulling the _all variant which should work cross platform.
If we change:
FROM ubuntu:trusty
to:
FROM multiarch/ubuntu-core:arm64-trusty
it builds fine, but when running it, docker logs ... gives this error and the container does not run:
======================================================================
http://<IP_ADDRESS>:9000/
======================================================================
The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name
*******
NOTE:
If you're running some unsupported Linux/Unix platform, please use the buildme.sh
script located here:
https://github.com/Logitech/slimserver-vendor/tree/public/7.9/CPAN
If 7.9 is outdated by the time you read this, Replace "7.9" with the major version
You should never need to do this if you're on Windows or Mac OSX. If the installers
don't work for you, ask for help and/or report a bug.
*******

Exiting..

I also tested multiarch/ubuntu-core:arm64-xenial but it throws a different error.
/entrypoint.sh: 10: exec: sudo: not found
/entrypoint.sh: 10: exec: sudo: not found
/entrypoint.sh: 10: exec: sudo: not found
/entrypoint.sh: 10: exec: sudo: not found

The sudo error is an easy fix (just install sudo).  However, I've just updated the Dockerfile to an ubuntu:xenial base, which includes by default the runuser command, which is what the entrypoint uses now.
It looks like there is a multiarch/ubuntu-core:arm64-xenial image, so I'll try to take a look at that in the near future now that I have a free Pi in the house for testing.

Here are the official arm64v8 images from Docker: https://hub.docker.com/u/arm64v8/

I was able to get this working with FROM arm64v8/debian:stretch-slim and the latest 7.9.1 release which includes arm64v8 binaries. Only a 115 MB docker image too!
See https://github.com/Logitech/slimserver/issues/181#issuecomment-351787316

Hello @larsks & @RyanRamchandar,
I've been working on this project to support linux-amd64, linux-arm and linux-arm64. In such way that it supports manifest list, which makes life easier for users. Also the base image has been changed to reduce the final image size. From ubuntu:xenial to debian:stretch-slim, which reduces the compressed file size from approximately 150MB to 110MB.
Please consider raymondmm/logitech-media-server.
I've tested the linux-amd64 and linux-arm images on my Synology NAS and Raspberry PI 3 with docker version 18.03.1-ce by opening the webpage and it looks good, but I haven't been able to test with a real Squeezebox, because I have non available at the moment.
Also I haven't been able to test the linux-arm64 image, because I haven't got a arm64 device available.
Could you both have a look at these images, if they work for you?
There is no need to explicitly use the tag for your architecture, just deploy as the example below:
docker run -d --init \
           -p 19000:9000 \
           -p 19090:9090 \
           -p 13483:3483 \
           -p 13483:3483/udp \
           -v /etc/localtime:/etc/localtime:ro \
           -v <local-state-dir>:/srv/squeezebox \
           -v <music-dir>:/srv/music \
           --name logitech-media-server \
           raymondmm/logitech-media-server

Docker checks the architecture by it self with the manifest list and pulls the latest required image for it. Ofcause you may use a tag to explicit pull a certain version.
Let me know what you think.
Greetz,
Raymond

I think it would be neat if you were to submit these changes back as a pull request.

Yes sure, but it would be neat to know if the images work for you.

@RaymondMouthaan Very nice!
This ran successfully on my arm64v8 processor (Allwinner A64). Specifically:
# uname -a
Linux umbrela-bridge 4.15.0-15-generic #16-Ubuntu SMP Wed Apr 4 14:00:16 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux

Do you mind sharing your Dockerfiles? Also, what is the advantage of --init in your docker run?

@RyanRamchandar great you tested it successfully on arm64!
With that in mind I can do a PR of my GitHub project (where you can find all the files, like Dockerfile) to @larsks his project. This I will do tomorrow, since I am working on a different docker project now and its almost time for bed as well ;-)
Regarding --init, I just used it from the example of Lars, but for details you can check Stack Overflow. Also you can run the command without --init and see if that works too.
I'll keep you guys informed about the PR.

@RaymondMouthaan great. Normally I don't run with --init.
I really like how you used the manifest-tool to simplify image tags. We also run across multiple archs and this would be helpful for us.

@RyanRamchandar, Well a couple of weeks ago I investigated the use of manifest tool and since then I do some PRs on different kind of projects, just because it makes life easier for end-users.
One remake to be made is, that I am using the manifest tool of @estesp (Phil Estes), who wrote it and demonstrated it at docker con 2017. If I am right, docker staff implemented it into docker as part of the docker tools, but its still in experimental fase. This is the next step for me to investigate :-)

PR has been submitted :)

@RyanRamchandar would you be willing to publish a build to docker hub while the PR is under review? I was not able to build the image myself (I tried on a RPi, which I assume is the problem), but would like to try out LMS in docker on my RPi.

@RaymondMouthaan: Never mind, I just did it myself - this way I learned something About travis, and docker hub :-). For anybody interested this preliminady Image can be found here: docker hub, GitHub


Remove UIApplication.shared usage

Platforms Impacted

[x] iOS
[ ] macOS

Description of changes
We avoid using UIApplication.shared, so let's get traitCollection from view/window instead.
Pull request checklist
This PR has considered:

[ ] Light and Dark appearances
[ ] iOS supported versions (all major versions greater than or equal current target deployment version)
[ ] VoiceOver and Keyboard Accessibility
[ ] Internationalization and Right to Left layouts
[ ] Different resolutions (1x, 2x, 3x)
[ ] Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)
[ ] iPad Pointer interaction
[ ] SwiftUI consumption (validation or new demo scenarios needed)
[ ] Objective-C exposure (provide it only if needed)

i would expect you still need to listen to the traitcollection changes and update the size accordingly? https://developer.apple.com/documentation/uikit/uitraitenvironment/1623516-traitcollectiondidchange?language=objc easy test would be use the debug override to change the sizes while the tooltip demo is shown?


Password undefined when attempting to open WebUI

Problem/Motivation

Unable to use the control panel

Expected behavior

Able to use the control panel

Actual behavior

keeps prompting for the URL

Steps to reproduce

Fresh install, enabled, updated config YAML to:

http:
base_url: http://hassio.local:8123
api_password: !secret api_password
cors_allowed_origins:
- http://hassio.local:7080
(api_password is defined in secrets.yaml)
Proposed changes

I probably don't have something configured correctly, so probably no changes are required.

From ha LOG:
2018-04-27 16:41:51 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from <IP_ADDRESS>
2018-04-27 16:41:58 ERROR (MainThread) [homeassistant.components.websocket_api] WS<PHONE_NUMBER>: Message incorrectly formatted: extra keys not allowed @ data['event_type']. Got 'state_changed'
extra keys not allowed @ data['id']. Got 1
not a valid value for dictionary value @ data['type']. Got 'subscribe_events'
required key not provided @ data['api_password']. Got None

Same problem with home assistant 0.67.1.

After setting up LetsEncrypt, I switched the ssl setting to true for the Control Panel.  This time it gave me the option to automatically connect, or setup manually.  For grins and giggles I chose manual, and then I manually set the URL and password to my local HA install on a RPi3.  Now the URL shows the correct string for the API, including the password.  I can click on the link in Developer Tools and it loads the JSON properly without error.  Unfortunately I now get the following message in Developer Tools Console:
No 'Access-Control-Allow-Origin' header is present on the requested resource.
My configuration.yaml currently has the following:
http:
base_url: https://ha.XXXXX.com:8123
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
api_password: !secret api_password
cors_allowed_origins:
- http://hassio.local:7080
- http://ha.XXXXX.com:7080
I'm not seeing anything that should preclude CORS from allowing the Control Panel access.  I have my router forwarding 80, 443, 8123, and 7080 traffic to my RPi3.  What am I missing?

Setting up control panel for the first time and seeing the same issue: Password undefined.
I assume the control panel is trying to read the password from somewhere and failing to do so.

Make sure everythjbg is updated.  Then click on the settings in the bottom-right after cancelling the popup.  Manually enter the HA URL and the API password.  Then Save, and X out.  Then reload the page and it should work.

If all fails, clear your browser cache.
Make sure you clear the local storage/cookies.
This will give you a fresh start.


feat: update GraphqlRenderConfig to use separate props for each file path

Problem

the helper provided by amplify-codegen provides separate path values for each graphql operation type rather than just returning a common base path. This allows for additional flexibility in the future if there's ever a reason to allow operations to be located on different paths rather than always implied to be in neighboring files in the same directory, and also allows for file names to be customized in the future if required.
Solution

Update the GraphQL config model to accept explicit file paths for each operation type rather than working off of naming conventions and concatenation based on a given base path.
Additional Notes

Links
Ticket

GitHub issue _____
Other links
Verification
Manual tests

Automated tests

[x] Unit tests added/updated
[ ] E2E tests added/updated
[ ] N/A - (provide a reason)
[ ] deferred - (provide GitHub issue for tracking)

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

Codecov Report

Merging #1024 (3ce983b) into tagged-release/graphql-support (5315dc4) will decrease coverage by 0.07%.
The diff coverage is 73.33%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@                        Coverage Diff                         @@
##           tagged-release/graphql-support    #1024      +/-   ##
==================================================================
- Coverage                           93.65%   93.59%   -0.07%
==================================================================
  Files                                 123      123
  Lines                                5564     5574      +10
  Branches                             1670     1676       +6
==================================================================
+ Hits                                 5211     5217       +6
- Misses                                333      337       +4
  Partials                               20       20

Impacted Files
Coverage Δ

...ckages/codegen-ui-react/lib/react-render-config.ts
100.00% <ø> (ø)

.../codegen-ui-react/lib/imports/import-collection.ts
93.63% <73.33%> (-3.37%)
:arrow_down:

Continue to review full report in Codecov by Sentry.

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


Fixes to run startup on Py2 Phoenix 4.0+

Fixes to run startup on Py2 Phoenix 4.0+

@Metallicow, could you clarify what this PR is? If I understand correctly, it's for running Gimel Studio with python 2?
Thank you!

Yes, these fixes allow Gimel to run with Python2 and wxPy4.0 Phoenix without having deps installed. This makes it easier for dev of the widget from wxpython bare bones side and to check backwards compatibility.
At some point in the future you might want to replace the print statement with raise if there is a dependency problem that needs debugged.
Also it shows some graphical issues you have with how you did agw aui. The splitters are black for example. and may need a bit more work to get it looking right again theming-wise.

In python 3 unicode became str, so that's why I changed that line. No need for six.py just for a one-liner.

Yes, these fixes allow Gimel to run with Python2 and wxPy4.0 Phoenix without having deps installed. This makes it easier for dev of the widget from wxpython bare bones side and to check backwards compatibility.

That is what I thought. Thank you. Do you think it is still important to support python 2, since its past its end-of-life? Maybe since wxpython does -that's what your thinking?

At some point in the future you might want to replace the print statement with raise if there is a dependency problem that needs debugged.

Certainly.

Also it shows some graphical issues you have with how you did agw aui. The splitters are black for example. and may need a bit more work to get it looking right again theming-wise.

O.k. I assume you mean that running Gimel Studio with python 2 causes the splitters to be black?
Thanks again.

Umm yes support python 2. At least until while wxPython does. I run both because I develop widgets.
At one point python 3 will probably someday make some changes that may be desirable to break from 2. Tho that day will be a long ways off.
No the black is an issue with your coding 99% I'd say. I haven't looked into it yet... just got it to startup. Might be a dc issue you created or a metric you may have set to black.

Running/developing it in python 2 and python 3 may also a lot of times show me where you have or someone else has made a mistake.
Ex: you may need to use integer division(python change / needs to be //) or maybe a dependency has a bug, etc.. etc..
Overall, there is no reason not to not support cross-compatible code. If at some point the dependencies break python 2, then those features just wont be supported for whatever nodes may use whatever when running in python 2 unless you want to fork your own copy of lib and reimplement py 2 support. The biggest things I usually see that break cross compatible code are usually minimal. Tho annotations will break py2, the py3.8 walrus anywhere in code should be handled with extreme caution.
As far as unicode in python 2/3.4+ you can do _(u"Translatable string") if you really are supporting other languages with i18n.


Performance question

Is it possible to use benthos in a cluster or load balancing architecture  in either streams mode or otherwise?  Are there any recommendations on when this should be a consideration if at all possible or is a single instance capable for most situations.
Thanks

Hey @gmonk, it's totally possible but depends on how you're consuming data so I can't give general advice. For example if your input is kafka and you're using a consumer group then partitions will automatically be balanced across any number of Benthos instances you're running, and that doesn't require streams mode, you just instantiate however many instances you need/want.
Which input type(s) are you using?


Output saved to file if unittesting.json is missing

If plugin doesn't have unittesting.json output is redirected to file, otherwise if unittesting.json is present (even without any meaningful settings) output is shown on panel.
This took me some time to understand why I don't see test results. I think we should output test results to panel by default even if unittesting.json is missing.

Oh...it is a bug, it used to output to the panel...

Thanks  a lot!

I will release an update once the travis and appveyor tests are passed.


Use DelayedJob instead of Sidekiq

Resolves #2309
Description
Comment all sidekiq configs, and add delayed_job setup.
Type of change

New feature (non-breaking change which adds functionality)
This change requires a documentation update
Documentation update

How Has This Been Tested?
As described in #2309, it will be deployed to a development environment, to be tested.

@edwinthinks can we work this way, commenting sidekiq configs? Or remove that?

@edwinthinks I'm not sure about what sidekiq workers, do we need to migrate to delayed_job. Are they the jobs, under app/jobs?

@edwinthinks shall we add delayed_job_web?

When I start delayed_job server with bin/delayed_job start, I'm getting this error:
delayed_job: process with pid 26926 started.
E, [2021-08-04T10:21:19.487250 #26926] ERROR -- : Exception rescued in listen-run_thread:
IOError: closed stream

I found this related issue: https://github.com/collectiveidea/delayed_job/issues/1099 but I still need some help here.

When I start delayed_job server with bin/delayed_job start, I'm getting this error:
delayed_job: process with pid 26926 started.
E, [2021-08-04T10:21:19.487250 #26926] ERROR -- : Exception rescued in listen-run_thread:
IOError: closed stream

I found this related issue: collectiveidea/delayed_job#1099 but I still need some help here.

@m-pereira hmm it seems somewhat related but not exactly with the issue that you linked. Does delayed_job work when you try using the script/delayed_job start command? I'am not sure but bin/delayed_job start seems like something for Rails 4 and we are on Rails 6.
Let me know if that works.

When I start delayed_job server with bin/delayed_job start, I'm getting this error:
delayed_job: process with pid 26926 started.
E, [2021-08-04T10:21:19.487250 #26926] ERROR -- : Exception rescued in listen-run_thread:
IOError: closed stream

I found this related issue: collectiveidea/delayed_job#1099 but I still need some help here.

@m-pereira hmm it seems somewhat related but not exactly with the issue that you linked. Does delayed_job work when you try using the script/delayed_job start command? I'am not sure but bin/delayed_job start seems like something for Rails 4 and we are on Rails 6.
Let me know if that works.

Running rails --taks I found the right commands:
rails jobs:clear                                # Clear the delayed_job queue
rails jobs:work                                 # Start a delayed_job worker
rails jobs:workoff                              # Start a delayed_job worker and exit when all available jobs are complete

At least locally that was solved.

Hello @edwinthinks, I think it's ready to be tested in a staging environment, I've tested locally and some mailer jobs are working. If you agree, can you please tell me what branch we can merge this.
And about this 3 failing rspec checks, what can be done to fix?

Hey @m-pereira thank you so much for working on this!
For the specs that are failing, you can change those calls to delay_until to something that DelayedJob uses which is something like:
Notifier.delay(run_at: 5.minutes.from_now).signup(@user)

Let me know that makes sense.
This is close to being done!

Thanks @m-pereira ! I'll be giving this a test in staging soon :)!

@m-pereira it looks like there is some issues with the CI. Can you check if the updated Gemlock is included?

@m-pereira it looks like there is some issues with the CI. Can you check if the updated Gemlock is included?

I've just update my fork, and rebase my branch. I think it should do the trick.

@m-pereira looks like we have some failing specs :(. Wondering if you'd like to pair on this one day?

@m-pereira looks like we have some failing specs :(. Wondering if you'd like to pair on this one day?

Yes for sure! To be honestly I don't know why some rspec versions are failing, while other are passing.

@m-pereira awesome! Send me an email at<EMAIL_ADDRESS>to see when we can meet.

@m-pereira awesome! Send me an email at<EMAIL_ADDRESS>to see when we can meet.

@edwinthinks I have sent you an email, did you receive that?

Merged in via https://github.com/rubyforgood/human-essentials/pull/2617. Thanks @m-pereira !


Error on adding TinyMCE to installed apps: AttributeError: 'NoneType' object has no attribute 'endswith'

Installed on a fresh base, python 2.7.6, pip installed django-tinymce.
Added tinymce to apps, but after running this error appears;
>> python manage.py runserver
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/e/Documents/workspace/webshop/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/Users/e/Documents/workspace/webshop/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute
    django.setup()
  File "/Users/e/Documents/workspace/webshop/lib/python2.7/site-packages/django/__init__.py", line 21, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/Users/e/Documents/workspace/webshop/lib/python2.7/site-packages/django/apps/registry.py", line 108, in populate
    app_config.import_models(all_models)
  File "/Users/e/Documents/workspace/webshop/lib/python2.7/site-packages/django/apps/config.py", line 197, in import_models
    self.models_module = import_module(models_module_name)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/Users/e/Documents/workspace/webshop/lib/python2.7/site-packages/tinymce/models.py", line 6, in <module>
    from tinymce import widgets as tinymce_widgets
  File "/Users/e/Documents/workspace/webshop/lib/python2.7/site-packages/tinymce/widgets.py", line 10, in <module>
    import tinymce.settings
  File "/Users/e/Documents/workspace/webshop/lib/python2.7/site-packages/tinymce/settings.py", line 16, in <module>
    JS_ROOT = getattr(settings, 'TINYMCE_JS_ROOT',os.path.join(settings.STATIC_ROOT, 'tiny_mce'))
  File "/Users/e/Documents/workspace/webshop/bin/../lib/python2.7/posixpath.py", line 77, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

And my static setting;
STATIC_URL = '/static/'

STATICFILES_DIRS = (
    os.path.join(BASE_DIR, "static"),
    '/webapps/scaffold-test/app/Scaffold/static/',
)

Thanks you, add this info into the doc !

Can you check that this was fixed with: a362a86

thk you!


GEODE-11:Dunit test to verify stats in list lucene gfsh command

Added a dunit test to verify the stats displayed in the list lucene gfsh command

+1


Don't prune requirements folder

requirements/dev.txt is used by setup.py and thus needs to be part of the sdist tarball.

Context for where this is needed: https://github.com/polyaxon/traceml/pull/41


vmware: do not tear down vm disks if deploy-as-is vm has vm snapshots

Description
This PR fixes #9180

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan package

@nvazquez @harikrishna-patnala
I have no idea why the data disks are tear down when start a deploy-as-is vm.
Anyway, this change seems to be working.

@blueorangutan package

@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9924

Thanks @harikrishna-patnala @nvazquez
@blueorangutan test rocky8 vmware-80

[SF] Trillian Build Failed (tid-10434)

[SF] Trillian test result (tid-10436)
Environment: vmware-80 (x2), Advanced Networking with Mgmt server r8
Total time taken: 54822 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9243-t10436-vmware-80.zip
Smoke tests completed. 128 look OK, 3 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_02_balanced_drs_algorithm
Failure
139.48
test_cluster_drs.py

test_01_create_lb_rule_src_nat
Error
118.97
test_loadbalance.py

test_02_create_lb_rule_non_nat
Error
223.67
test_loadbalance.py

test_02_create_lb_rule_non_nat
Error
223.68
test_loadbalance.py

test_assign_and_removal_lb
Error
0.12
test_loadbalance.py

test_01_redundant_vpc_site2site_vpn
Error
628.24
test_vpc_vpn.py


Add badges for "highly skewed", "zeros"

I enjoy the badges on the report and am happy to submit a PR for this if it isn't being worked on elsewhere.

Would be a nice addition! Please send pull request


[Task]: Create a docker image to host grafana visualizer/prometheus/tempo/grafana agent

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks
The docker image will be used by local appsmith code and local performance test to visualize the test results.
The docker image should have

Grafana agent (this will act as an agent)
Tempo (this will act as datastore for traces)
Prometheus (this will act as datastore for metrics)
Grafana visualizer (this will visualize data stored in step 2 and step 3)

we will not be using grafana tooling anymore for telemetry and hence do not need this. Closing this issue


Show new/old Character Information data on the Candidate's page in Admin

Also, make margins smaller to make Character Info section look like the rest of displayed information and save space.

BEFORE RELEASE NEED TO CHECK FOR CANDIDATES WHO'VE ALREADY APPLIED USING THE NEW CHARACTER INFORMATION FORM

User testing group tested with positive results. I have also testing with a positive result. This can be moved to review once the comment above from Maria is clarified/action on if still required.