Pixelkit not conforming to latest RenderKit changes

Couple of files in this project do not conform to NodeMetal protocol.
Specifically metalFileName property introduced here is missing for multiple files ex. MetalMergerEffectPIX.

So metalFileName is not used anymore,
metalBaseCode replaces this property.
Sorry this change was made in a patch update.
The update "hardcodes metal" (PixelKit 1.0.2 & RenderKit 0.4.0) is an update to eliminate bundle resources, as SwiftPM dose not support this yet. The MetalPIXs should conform to the updated NodeMetal protocol.
What versions of PixelKit and RenderKit are you using?
Are you using Pods or SwiftPM?

I was just trying the iOS example in the project.
Here are the steps:

Downloaded the zip from Github
Ran git submodule init to get the shaders
Ran pod install to get the dependencies
Build failed with errors

To fix the errors I made MetalPix, MetalEffectPix, MetalMergerEffectPIX, MetalMultiEffectPIX conform to NODEMetal by adding the following:
public var metalFileName: String = ""
I also added a convenience method to Render to be able to either load Metal code as string or from a file:

    public func embedMetalCode(uniforms: [MetalUniform], code: String, fileName: String) throws -> String {
        guard let bundle: Bundle = bundle else {
            throw MetalError.fileNotFound("No bundle provided. Can't look for file \"\(fileName).txt\"")
        }
        guard let metalFile = bundle.url(forResource: fileName, withExtension: "txt") else {
            throw MetalError.fileNotFound(fileName + ".txt")
        }
        do {
            let metalCode = try String(contentsOf: metalFile)
            return try embedMetalCode(uniforms: uniforms, code: code, metalBaseCode: metalCode)
        } catch {
            throw error
        }
    }

public func embedMetalCode(uniforms: [MetalUniform], code: String, metalBaseCode: String) throws -> String {
        do {
            var metalCode = metalBaseCode
            let uniformsCode = try dynamicUniforms(uniforms: uniforms)
            metalCode = try insert(uniformsCode, in: metalCode, at: "uniforms")
            let comment = "/// PixelKit Dynamic Shader Code"
            metalCode = try insert("\(comment)\n\n\n\(code)\n", in: metalCode, at: "code")
            #if DEBUG
            if logger.dynamicShaderCode {
                print("\nDYNAMIC SHADER CODE\n\n>>>>>>>>>>>>>>>>>\n\n\(metalCode)\n<<<<<<<<<<<<<<<<<\n")
            }
            #endif
            return metalCode
        } catch {
            throw error
        }
    }

With all of these the example did compile and I was able to test the different nodes, great project. If you experience the same with the example please consider fixing it, many thanks.

Nice fix,
I'm glad you got it working.
So I was able to reproduce the issue. It was caused by a missmatch of RenderKit and PixelKit versions.
I've switched over to swiftpm from pods for development and forgot to push the RenderKit pod.
New versions of RenderKit 0.4.2 and PixelKit 1.0.4 contains the fix.
Thanks,
/Anton


Smart mainline V2.2.0-smart with merge conflict code fix

Issue #, if available:
Description of changes:
Checklist:

[ ] Have you successfully deployed to an AWS account with your changes?
[ ] Have you written new tests for your core changes, as applicable?

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

CORS whitelist only contains aws dev and sandbox account. We may add stage and prod account URL later on. I understand it is not part of this PR


build(deps): bump prost, tonic and tonic-build

Motivation
We want to update prost, tonic and tonic-build at the same time.
Replaces https://github.com/ZcashFoundation/zebra/pull/4853
Solution
Upgrade the 3 crates manually, clippy issues that were blocking this were resolved.
Review
I think anyone can review.
Reviewer Checklist

[ ] PR builds
[ ] All tests pass

Hmm, this needs a new dependency, more info in https://github.com/hyperium/tonic/issues/1047
Ill try to do this locally and then try to figure out where in the CI we need to add the new dependency. Also this will need changes to the README so is a bit more work than i was expecting but ill work on it.

Ok, so i fixed this locally. As it says in the issue i posted above this now requires protoc to be in your OS. I installed this by using apt-get in my linux but this installed protoc 3.0 which is too old and gives an error when running clippy on zebra:
  thread 'main' panicked at 'Failed to generate lightwalletd gRPC files: Custom { kind: Other, error: "protoc failed: compact_formats.proto:8:8: Option \"swift_prefix\" unknown.\nservice.proto: Import \"compact_formats.proto\" was not found or had errors.\nservice.proto:143:36: \"CompactBlock\" is not defined.\nservice.proto:145:51: \"CompactBlock\" is not defined.\nservice.proto:166:47: \"CompactTx\" is not defined.\n" }', zebrad/build.rs:71:10
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

So i installed the last version using the binaries provided at https://github.com/protocolbuffers/protobuf/releases/tag/v21.5
With this version everything looks good.
We need to install this in the CI, what other projects are doing is adding https://github.com/arduino/setup-protoc to the workflow.
for example https://github.com/hyperium/tonic/blob/master/.github/workflows/CI.yml#L29

The cargo deny output shows a duplicate dependency, with the older version coming via console-subscriber:

= prost v0.10.4
├── console-api v0.3.0
│   └── console-subscriber v0.1.6
│       └── zebrad v1.0.0-beta.13

https://github.com/ZcashFoundation/zebra/runs/8103900323?check_suite_focus=true#step:4:24
Try upgrading console-subscriber in this PR as well.

Not sure what is this one: https://github.com/ZcashFoundation/zebra/runs/8142400656?check_suite_focus=true#step:3:12

Not sure what is this one: https://github.com/ZcashFoundation/zebra/runs/8142400656?check_suite_focus=true#step:3:12

Did we really reach the rate limit? https://docs.github.com/en/rest/overview/resources-in-the-rest-api#requests-from-github-actions

Also this PR removes the need for cmake in CI.

Why is that so?

Sorry for the delay here @oxarbitrage. The fix has been applied for the actions, just a Cargo.lock conflict is missing. I'll leave the rest to you.

I pinned the version to 3.x so we don't have issues in the future with this.


Arrows Break Form when passing 1080p - Microsoft Edge

Context
OS/Browser: Windows 10 / Microsoft Edge
Page URL: https://silasreinagel.github.io/page2/
Problem Description
Screenshot of Issue: picture 1 - microsoft edge approx width 2560x1440 - arrows mismatch
Current Behavior: Arrows look different and aren't on same line.

@symandria Bug accepted. Payment sent.

Fixed with https://github.com/SilasReinagel/silasreinagel.github.io/commit/46647c79c8760fc40538101602d0f755626fa20b


all: add retry support for flaky tests

Test output is only written for the final attempt.
A similar interface to *testing.T is provided to each attempt.
$ go test -v ./internal/testutil/
=== RUN   TestRetry
--- PASS: TestRetry (0.00s)
=== RUN   TestRetryAttempts
--- PASS: TestRetryAttempts (0.00s)
	retry.go:29: Success after 5 attempts:
		retry_test.go:24: This line should appear only once.
		retry_test.go:25: attempt=5
PASS
ok  	github.com/GoogleCloudPlatform/golang-samples/internal/testutil	0.023s

@rakyll PTAL
@okdave any comments on the syntax?
testutil.Flaky(retries, sleep, func)


android.mk 设置

hi,I got a problem.
./caffe/include/caffe/util/device_alternate.hpp:34:23: fatal error: cublas_v2.h: No such file or directory
what can i do to solve this problem.

Please refer to https://github.com/sh1r0/caffe-android-demo/issues/25#issuecomment-222347232.

hi ,the sample link you offered is unreachable，https://gist.github.com/sh1r0/0ee4b83addf06157f3f5bcfc9294a082。can you offer a sample link。3q very much........

The link works (tested in private window).

   i mean that in question 25 you answers : I've created a sample for using prebuilt caffe libs in a ndk project. The sample works for me to build caffe_jni with ndk-build.

but when i click the sample link it is unreachable. can you help me....

I knew it, and https://gist.github.com/sh1r0/0ee4b83addf06157f3f5bcfc9294a082 do work for me.

i am sorry to bother you again.  it is still unreachable, can you copy the android.mk information in here.
thanks very much

Here you are.
The sample project structure is shown below.
.
├── android_lib
├── jni
│   ├── Android.mk
│   ├── Application.mk
│   ├── caffe_jni.cpp
│   ├── caffe_mobile.cpp
│   └── caffe_mobile.hpp
└── prebuilt
    ├── arm64-v8a
    ├── armeabi
    ├── armeabi-v7a
    ├── x86
    └── x86_64

Android.mk
LOCAL_PATH := $(call my-dir)

# C++ full library
# =======================================================
include $(CLEAR_VARS)
LOCAL_MODULE := caffe
LOCAL_SRC_FILES := $(LOCAL_PATH)/../prebuilt/$(TARGET_ARCH_ABI)/libcaffe.so
include $(PREBUILT_SHARED_LIBRARY)

#-----------------------------------------------------------------------------
include $(CLEAR_VARS)
LOCAL_MODULE := caffe_jni

LOCAL_SRC_FILES := caffe_jni.cpp caffe_mobile.cpp
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../android_lib/caffe/include \
                    $(LOCAL_PATH)/../android_lib/boost/include \
                    $(LOCAL_PATH)/../android_lib/gflags/include \
                    $(LOCAL_PATH)/../android_lib/glog/include \
                    $(LOCAL_PATH)/../android_lib/protobuf/include \
                    $(LOCAL_PATH)/../android_lib/openblas/include \
                    $(LOCAL_PATH)/../android_lib/opencv/sdk/native/jni/include

LOCAL_SHARED_LIBRARIES := caffe
LOCAL_LDLIBS := -lm -llog
LOCAL_CPPFLAGS += -fexceptions -frtti -std=c++11 -DCPU_ONLY

include $(BUILD_SHARED_LIBRARY)

Application.mk
NDK_TOOLCHAIN_VERSION := 4.9
APP_PLATFORM := android-21
APP_STL := gnustl_static
APP_ABI := armeabi armeabi-v7a x86 arm64-v8a x86_64
APP_MODULE := libcaffe_jni

hi,when i usr your android.mk , the mistakes is solved ,but it occurs
./../android_lib/boost/include/boost/system/error_code.hpp:221: error: undefined reference to 'boost::system::generic_category()'
./../android_lib/boost/include/boost/system/error_code.hpp:222: error: undefined reference to 'boost::system::generic_category()'
./../android_lib/boost/include/boost/system/error_code.hpp:223: error: undefined reference to 'boost::system::system_category()'
collect2: error: ld returned 1 exit status
the boost is in android_lib,do you know why?

Please provide more details, e.g., what abi did you use, how did you get the prebuilt libs, which api level did you use, what would you like to build, etc. Thanks.

Should be closed?

Hi,
I have the same problem, but I not use MakeFiles o "normal" NDK-JNI project, I implement CMake for compile my project. When I going to include Caffe with script like this:
`#!/usr/bin/env sh
set -e
if [ -z "$NDK_ROOT" ] && [ "$#" -eq 0 ]; then
echo 'Either $NDK_ROOT should be set or provided as argument'
echo "e.g., 'export NDK_ROOT=/path/to/ndk' or"
echo "      '${0} /path/to/ndk'"
exit 1
else
NDK_ROOT="${1:-${NDK_ROOT}}"
fi
ANDROID_ABI=${ANDROID_ABI:-"armeabi-v7a with NEON"}
WD=$(readlink -f "dirname $0/..")
MATRIX_ROOT=${WD}/matrix
BUILD_DIR=$MATRIX_ROOT/build
ANDROID_LIB_ROOT=${WD}/android_lib
BOOST_HOME=${ANDROID_LIB_ROOT}/boost
GFLAGS_HOME=${ANDROID_LIB_ROOT}/gflags
GLOG_ROOT=${ANDROID_LIB_ROOT}/glog
OPENCV_ROOT=${ANDROID_LIB_ROOT}/opencv/sdk/native/jni
PROTOBUF_HOST_ROOT=${ANDROID_LIB_ROOT}/protobuf_host
PROTOBUF_ROOT=${ANDROID_LIB_ROOT}/protobuf
GTEST_LIB_ROOT=${WD}/googletest/googletest
GTEST_ROOT=${ANDROID_LIB_ROOT}/googletest
CAFFE_ROOT=${ANDROID_LIB_ROOT}/caffe
APP_PLATFORM="android-9"
export LMDB_DIR=${ANDROID_LIB_ROOT}/lmdb
export OpenBLAS_HOME="${ANDROID_LIB_ROOT}/openblas"
INSTALL_DIR=${WD}/android_lib
N_JOBS=${N_JOBS:-4}
ASFLAGS="-D__ANDROID__"
if [ "${ANDROID_ABI}" = "armeabi" ]; then
API_LEVEL=19
else
API_LEVEL=21
fi
rm -rf "${BUILD_DIR}"
mkdir -p "${BUILD_DIR}"
cd "${BUILD_DIR}"
cmake -DCMAKE_TOOLCHAIN_FILE="${WD}/android-cmake/android.toolchain.cmake"
-DANDROID_NDK="${NDK_ROOT}"
-DCMAKE_BUILD_TYPE=Debug
-DANDROID_ABI="${ANDROID_ABI}"
-DANDROID_NATIVE_API_LEVEL=21
-DANDROID_USE_OPENMP=ON
-DADDITIONAL_FIND_PATH="${ANDROID_LIB_ROOT}"
-DGTEST_INCLUDE_DIR="{$GTEST_ROOT}/include"
-DGTEST_LIBRARY="${GTEST_ROOT}/lib/libgtest.a"
-DGTEST_MAIN_LIBRARY="${GTEST_ROOT}/lib/libgtest_main.a"
-DGTEST_ROOT="${GTEST_ROOT}"
-DBOOST_ROOT="${BOOST_HOME}"
-DGFLAGS_ROOT="${GFLAGS_HOME}"
-DGFLAGS_INCLUDE_DIR="${GFLAGS_ROOT}/include"
-DGFLAGS_LIBRARY="${GFLAGS_ROOT}/lib/libgflags.a"
-DGLOG_ROOT="${GLOG_ROOT}"
-DGLOG_INCLUDE_DIR="${GLOG_ROOT}/include"
-DGLOG_LIBRARY="${GLOG_ROOT}/lib/libglog.a"
-DOpenCV_DIR="${OPENCV_ROOT}"
-DPROTOBUF_ROOT="${PROTOBUF_ROOT}"
-DPROTOBUF_HOST_ROOT="${PROTOBUF_HOST_ROOT}"
-DPROTOBUF_PROTOC_EXECUTABLE="${ANDROID_LIB_ROOT}/protobuf_host/bin/protoc"
-DPROTOBUF_INCLUDE_DIR="${PROTOBUF_ROOT}/include"
-DPROTOBUF_LIBRARY="${PROTOBUF_ROOT}/lib/libprotobuf.a"
-DOPENBLAS_ROOT="${OpenBLAS_HOME}"
-DCAFFE_ROOT="${CAFFE_ROOT}"
-DCAFFE_LIBRARY="${CAFFE_ROOT}/lib/libcaffe.a"
-DCAFFE_INCLUDE_DIR="${CAFFE_ROOT}/include"
-DCMAKE_INSTALL_PREFIX="${ANDROID_LIB_ROOT}/matrix"
..
make -j${N_JOBS}
rm -rf "${INSTALL_DIR}/matrix"
make install/strip
cd "${WD}"
`
afeter include <caffe/net.hpp> the output is :
~/src/caffe-android-lib/android_lib/caffe/include/caffe/util/device_alternate.hpp:34:23: fatal error: cublas_v2.h: No such file or directory

@hpsaturn, you did not set CPU_ONLY flag.

thanks @sh1r0 !!
fix for cmake:
set (CMAKE_CXX_FLAGS "-fexceptions -frtti -std=c++11 -DCPU_ONLY")

the jni build result is on below. two positions reported. how can i fix this issue?  @sh1r0
[armeabi-v7a] Install        : libcaffe.so => libs/armeabi-v7a/libcaffe.so
[armeabi-v7a] Compile++ thumb: caffe_jni <= caffe_jni.cpp
In file included from jni/../android_lib/protobuf/include/google/protobuf/stubs/port.h:62:0,
from jni/../android_lib/protobuf/include/google/protobuf/stubs/common.h:40,
from jni/../android_lib/caffe/include/caffe/proto/caffe.pb.h:9,
from jni/../android_lib/caffe/include/caffe/blob.hpp:9,
from jni/../android_lib/caffe/include/caffe/caffe.hpp:7,
from jni/caffe_jni.cpp:13:
F:/android-ndk-r10e/platforms/android-21/arch-arm/usr/include/sys/param.h:45:0: warning: "MIN" redefined
#define MIN(a,b) (((a)<(b))?(a):(b))
^
In file included from jni/../android_lib/opencv/sdk/native/jni/include/opencv2/core.hpp:52:0,
from jni/../android_lib/opencv/sdk/native/jni/include/opencv2/core/core.hpp:48,
from jni/caffe_jni.cpp:9:
jni/../android_lib/opencv/sdk/native/jni/include/opencv2/core/cvdef.h:443:0: note: this is the location of the previous definition
define MIN(a,b)  ((a) > (b) ? (b) : (a))
^
In file included from jni/../android_lib/protobuf/include/google/protobuf/stubs/port.h:62:0,
from jni/../android_lib/protobuf/include/google/protobuf/stubs/common.h:40,
from jni/../android_lib/caffe/include/caffe/proto/caffe.pb.h:9,
from jni/../android_lib/caffe/include/caffe/blob.hpp:9,
from jni/../android_lib/caffe/include/caffe/caffe.hpp:7,
from jni/caffe_jni.cpp:13:
F:/android-ndk-r10e/platforms/android-21/arch-arm/usr/include/sys/param.h:46:0: warning: "MAX" redefined
#define MAX(a,b) (((a)>(b))?(a):(b))
^
In file included from jni/../android_lib/opencv/sdk/native/jni/include/opencv2/core.hpp:52:0,
from jni/../android_lib/opencv/sdk/native/jni/include/opencv2/core/core.hpp:48,
from jni/caffe_jni.cpp:9:
jni/../android_lib/opencv/sdk/native/jni/include/opencv2/core/cvdef.h:447:0: note: this is the location of the previous definition
define MAX(a,b)  ((a) < (b) ? (b) : (a))
^
[armeabi-v7a] Compile++ thumb: caffe_jni <= caffe_mobile.cpp
[armeabi-v7a] SharedLibrary  : libcaffe_jni.so
jni/caffe_jni.cpp:65: error: undefined reference to 'openblas_set_num_threads'
jni/caffe_mobile.cpp:64: error: undefined reference to 'caffe::Net::Net(std::string const&, caffe::Phase, int, std::vector<std::string, std::allocatorstd::string > const*, caffe::Net const*)'
collect2.exe: error: ld returned 1 exit status
make.exe: *** [obj/local/armeabi-v7a/libcaffe_jni.so] Error 1
10:24:33 Build Finished (took 12s.73ms)

@abbeyant How did you build libcaffe.so?

@sh1r0 from your shared project caffe-android-lib
https://github.com/sh1r0/caffe-android-lib

@abbeyant Hmm... What's your setup and steps?

I was using eclipse and your .mk scripts, not working, then I switched to linux scripts.

@abbeyant Target ABI? ndk version? cmake version? OS? Build via build.sh?

@sh1r0 firstly i want to create eclipse jni project to build this caffe lib,  'android.mk' and 'application.mk' config is the same as your comments at time "sh1r0 commented on 14 Jul", but failed.(the error log i sticked on ups).(win7 android-ndk-r10e)  Because the deadline of the project is approaching,  I compiled my code into caffe-android-lib to use NDK build, it seems works well. thanks.


high light feature for point word.

If there be a feature that when i press some shortcut key, then the word that the cursor point to now(all this word in the dir)  turn high light.

just use Text Marker (Highlighter) and register it to your keyboard shortcut settings, for example: { "key": "ctrl+h", "command": "textmarker.toggleHighlight", "when": "editorTextFocus" }

Thank you. I have try it.


Check if dev services backup directory exists and is not empty

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.

@johnaohara @jesperpedersen  why we are not using cherry-pick for backport because you have opened two same PR for two different branch

I am using cherry-pick, but managing the backport via PR's


Chunk Larger than Settings Possible Bug

This sounds like a bug, maybe the UI doesn't update the chunk limit.

Should it not have said Chunk detected with more than 2000 tokens which exceeds the maximum size?

There is a hard limit of 1000 tokens per chunk to make sure there are no issues with ingesting large chunks into LLMs


Exception for user-agent error

With this exception, developers can:

use try-catch-finally to handle errors returned by user-agent.
lessen the amount of JavaScript if they wants to do so.

@klali, Any updates on this?

Sorry, dropped the ball on this.
It seems like a good idea to provide the option to integrators, merging this. thanks!


fix(channels): do not show suggested nodes on empty search

Do not show the suggested nodes text block when a channel search does not return any results. Instead, in this case retain the search query input filter on the screen so that the user can go back and edit their search query.
Fix #394

utACK
@Empact this actually fixes a pretty bad bug. let's merge this unless you see anything you don't like

Prefer we keep the > 0 for explicitness, but that's a nit so let's merge.


Inlinable function call in a function with debug info must have a !dbg location

$ crystal --version

Crystal 0.21.1 (2017-03-14) LLVM 4.0.0

$ crystal spec
Module validation failed: inlinable function call in a function with debug info must have a !dbg location
  %120 = call i8* @__crystal_malloc(i32 ptrtoint (i1** getelementptr (i1*, i1** null, i32 1) to i32))

0x10c31fb33: *raise<String>:NoReturn at ??
0x10d2f0aab: *Crystal::CodeGenVisitor#finish:Nil at ??
0x10d21c37e: *Crystal::Compiler#codegen<Crystal::Program, Crystal::ASTNode+, Array(Crystal::Compiler::Source), String>:(Tuple(Array(Crystal::Compiler::CompilationUnit), Array(String)) | Nil) at ??
0x10dac1ff4: *Crystal::Compiler#compile<Array(Crystal::Compiler::Source), String>:Crystal::Compiler::Result at ??
0x10c38209a: *Crystal::Command#run:(Bool | Crystal::Compiler::Result | IO::FileDescriptor | Nil) at ??
0x10c3498bd: main at ??

Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues

I'm having a hard time figuring out, which code triggers this message. It does not happen in an empty project (crystal init).
Does the message above already give enough hints about the source of the issue?
If not I'm going to do more research...

@cschlack without a bit more of source code is hard to diagnose. Try to reduce as much as possible before sharing please.
If this is blocking you building with --no-debug might help.

Okay, here you go:
file: test.cr
require "spec"
require "http"

test = ""

describe "break compiler" do
  test.empty?
end

$ crystal spec test.cr
(running on MacOS 10.11.6)

I reach this:
file: test.cr
def call(&block)
  block.call
end

test = ""

call do
  test.empty?
end

The following passes
$ crystal test.cr --debug
$ crystal test.cr --no-debug

But given a test_main.cr file with
require "./test"

$ crystal build test_main.cr --debug
Module validation failed: inlinable function call in a function with debug info must have a !dbg location
  %73 = call i8* @__crystal_malloc(i32 ptrtoint (i1** getelementptr (i1*, i1** null, i32 1) to i32))

$ crystal build test_main.cr --no-debug

file: test.cr
require "lib_c"
require "c/stdlib"

fun __crystal_malloc(size : UInt32) : Void*
  LibC.malloc(size)
end

class Foo
  @p : (Void* -> Void*)?
end

def call(&block)
  block.call
end

test = 0

call do
  test
end

file: main_test.cr
require "./test"

$ DUMP=1 ./bin/crystal build test.cr --debug --prelude=empty
... ok ...
$ DUMP=1 ./bin/crystal build test_main.cr --debug --prelude=empty
....
Module validation failed: inlinable function call in a function with debug info must have a !dbg location
  %1 = call i8* @__crystal_malloc(i32 ptrtoint (i32* getelementptr (i32, i32* null, i32 1) to i32))

In the first command there are 42 debug locations and in the second command 41 debug locations. One missing :-)


Deprecate "mode" option

As discussed in https://github.com/icubam/icubam/issues/358 deprecates the --mode option in favor of using separate config files for dev and prod.
Closes https://github.com/icubam/icubam/issues/339
This should address it in code and scripts, but not in docker setup. There is a fair amount of changes required there, so someone should feel free to continue this here or in a separate PR.
Just make sure that the squashed commit message contains the Co-authored-by: tag of all participants for attribution.

Great work, this was indeed everywhere!

@dulacarnold  @rth I updated the docker side to reflect the change (transmitting the ENV_MODE environment variable from the build environment to the docker container).
However, as there are now different names for the config.toml files depending on the environment, I cannot just mount the file as is currently done. I must update the docker mount operations so that a folder is mounted (with all the resources in it). This will be cleaner and more flexible. What do you think?

@dulacarnold @rth I updated the docker side to reflect the change (transmitting the ENV_MODE environment variable from the build environment to the docker container).
However, as there are now different names for the config.toml files depending on the environment, I cannot just mount the file as is currently done. I must update the docker mount operations so that a folder is mounted (with all the resources in it). This will be cleaner and more flexible. What do you think?

Agreed, I think we should consider that the 'default' file is always icubam.toml (I know this PR currently has an icubam_dev.toml).  And then if someone wants to have different settings locally, up to them to make different files.  @rth would that conflict with what you had in mind?
@pgraverdy this doesn't go against mounting a full folder, as that would  effectively become the 'resources' folder (or whatever we want to call it), which would also have icubam.env, icubam.db and whatever else.  So let's do that anyways, but try and just consider that the config file has one default name: icubam.toml, and a different version will be provided when in production.

Agreed, I think we should consider that the 'default' file is always icubam.toml (I know this PR currently has an icubam_dev.toml)

Sounds good. I added icubam_dev.toml because I wasn't sure how to adapt the script, but a single config file for Docker sounds good. As long as we have a config file that allows to run servers locally (and one for testing as currently there).

So to sum up:

remove the ENV_MODE variable everywhere
in the compose files, mount the "./resources" folder in the containers (default value of ICUBAM_RESOURCE_PATH, can be another folder)
assume there is a icubam.toml folder in it that is used.

Thus

when launching directly with python, we use the resource folder already there
when deploying in production, we change the ICUBAM_RESOURCE_PATH envvar to the path of the production config/db folder.

One question regarding the toml file for unit tests (and the related testing files). Should we have them in a different folder (e.g., "test_resources" with the test.toml renamed as icubam.toml)

I think test data use from unit tests (including test config files) should be part of the ICUBAM package (i.e. inside the python icubam folder) https://github.com/icubam/icubam/issues/296#issuecomment-616095233 Otherwise all tests break as son as one tries to change the current directory.
No one actually starts the server with resources/test.toml as far as I understand?
If it's a blocker here, I can make a PR.

@rth can you check/validate my changes ? (cannot add you as a reviewer)
@dulacarnold can you review these changes (and put the Co-authored-by: tag of all participants for attribution).


✨[Feature] Support PTQ APIs in dynamo

Is your feature request related to a problem? Please describe.
This work involves adding support for PTQ calibrators in dynamo. The support should be similar to one we have in TS.

Enable INT8 precision in dynamo and allow it to accept calibrators.
Unify our PTQ calibrators across dynamo and TS

Describe the solution you'd like

Describe alternatives you've considered

Additional context
Current prototype: https://github.com/pytorch/TensorRT/pull/2422

We decided we will not implement PTQ for dynamo


Update dependencies

Pull Request Test Coverage Report for Build 3539

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

Totals

Change from base Build 3538:
0.04%

Covered Lines:
7549

Relevant Lines:
10772

💛  - Coveralls


HIVE-25821: Update log4j2 version to 2.17.0 to incorporate further CVE-2021-45105…

What changes were proposed in this pull request?
Update log4j version to 2.17.0
Why are the changes needed?
To incorporate further changes related to CVE-2021-45105.
Does this PR introduce any user-facing change?
No
How was this patch tested?

+1 (Non-Binding)


On content size change prop is not being ran

#3
Support onContentSizeChange prop

Thanks for approving this PR - I dont see the changes on the master - why is that?

Hi, Still dont see this on master, any idea?

Sorry was away, will merge these changes today.

Kr de bhosri wale
On Sun, 21 Nov 2021 at 12:25 PM, Malik Abdul Kawee @.***>
wrote:

Sorry was away, will merge these changes today.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mak12/rn-faded-scrollview/pull/4#issuecomment-974768364,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGMM5RRDFRHMBDOUZT2LXV3UNCNIPANCNFSM5ASLJTCQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Implemented chrome.* APIs

There is a note here that mentions:
Some chrome extensions use chrome.* APIs for some features, there is some effort to implement those APIs in Electron to make them work, but we have only implemented few for now.
Is there a list of implemented chrome.* APIs? Typing console.log(chrome) yields a chrome is not defined error in both the main and rendered processes.

chrome.* will only be defined in a DevTools extension, and the only method implemented is getURL

We won't implement chrome.* except for the ones that can be used in devtools extension.

chrome api has many useful tools like accessing usb also intercepting webview i was thinking to move my application from nwjs to electron but now this is really huge problem

Are there any plans to implement chrome.* in the future?

Are there any plans to implement chrome.* in the future since this post is a bit old?

There isn't a plan to add 100% of them right now, but many ave been added so many extensions do work. If there are ones you specifically want added to enable an extension to work then please feel free to add them in a pull request.
There are other issues to track specific Chrome APIs: https://github.com/electron/electron/issues?q=is%3Aopen+is%3Aissue+label%3Achrome-api


Sort of subcategories

Right now is ordered by number of stars only, I will add by name also

Added


Prefill form fields but not auto-connect

I would like to use:
https://example.com/?username=myuser&hostname=server1.example.com
to prefill the form fields but not auto-connect to ssh.
Is this possible?

Finally I did it by changing main.js :
  function validate_form_data(data) {
    clean_data(data);

    var hostname = data.get('hostname'),
        port = data.get('port'),
        username = data.get('username'),
+        password = data.get('password'),
        pk = data.get('privatekey'),
        result = {
          valid: false,
          data: data,
          title: ''
        },
        errors = [], size;

+    if (!password) {
+      errors.push('');
+    }

If there is other way without overwriting files let me know.


Python detector does not match pre-release versions explicitly specified in requirements.txt

IPyPiClient when retrieving release information will not add pre-release versions to the list of potential versions (see IPyPiClient) to match requirements.txt versions to in PythonResolver.cs.
This leads to cases where pre-release versions are explicitly referenced in requirements.txt (ex. numpy 1.22.0rc3 when the current release version is 1.21.5) but the detector will output the selected version as the release version and not the pre-release.

Closed with #1021.


Stick Letters font has problem with Z

(I don't know if this is only a problem in the web service, since I have only tested it there)
Using the Stick Letters font, the output is partially corrupted when typing z or Z.
Steps to reproduce:
http://patorjk.com/software/taag/#p=display&v=0&c=bash&f=Stick Letters&t=Customization
Expected output:
#   __        __  ___  __          __      ___    __
#  /  ` |  | /__`  |  /  \  |\/| |  /  /\   |  | /  \ |\ |
#  \__, \__/ .__/  |  \__/  |  | | /_ /~~\  |  | \__/ | \|
#

Actual output:
#   __        __  ___  __          __      ___    __
#  /  ` |  | /__`  |  /  \  |\/| |  / @ /\   |  | /  \ |\ |
#  \__, \__/ .__/  |  \__/  |  | | /_ @/~~\  |  | \__/ | \|
#                                     @@

I cannot see the difference between this font and the "JS Stick Letters" font, but that one does not have a problem with Z, so I'm sticking with that one instead.

Thank you for reporting this. I've fixed the Stick Letters font (both in this repo and on the TAAG app). You also appear to be correct about the fonts being the same. I'd remove one of them, but I don't want to mess someone up if they're using one of the two, so I'll just leave them both in.


Feature Request: Request a code block that is cut off to be divided into chunks.

ChatGPT is frequently cutting off responses. To mitigate that, I asked it to divide the code block into 20 line blocks which could then be referenced by typing a string (I used 's') and a number. In this way, I was able to retrieve the entire code block without it being cut off.
For example, I asked it to create a PowerShell script that was 2000 lines long. It hated that because it told me that it wasn't optimal to artificially inflate the size of the code. I had to explain that I was working on an optimization script and needed the code to be that long. The result was:

As you can see, the code cuts off. So I ask it how long it would have been:

It expected to write 4044 lines of code.  However, by using the following prompt, I am able to get the complete code:
Please break up the script into 20 line segments. Allow me to ask for each segment of code by use the letter 's' followed by the segment number. Please respond to this prompt by only telling me the number of segments that were generated and nothing else.
The response was The script has been broken into 202 segments of 20 lines each.
I am then able to request each code block by using the letter 's' and the segment number.

By using a loop, the extension should be able to join each of the segments and provide a complete code block.
This has a side effect of consuming additional prompts, and may exceed the requests per hour, etc. However, for those that have paid accounts, this might be less of an issue. I would suggest that this be implemented as a button or such that will only use this method if you see that a code block is cut off.
This is just an idea, but it might be a worthwhile feature to add.

Edited the above to be less spammy and because it tried to format the code into MD, which was wrong. BAD GITHUB!

Including the argument with ChatGPT for the lolz:


FEATURE: GitHub SSO

I'll provide more tests for the API service.

LGTM, but can you document what needs to happen to start a server instance?
What env vars need to be set? Are they required or optional? Can one disable the GitHub Login feature?

Right, good point. I suggest we have this feature mandatory for now, but add a disable function later? Documentation will be added.


Update docker usage

This PR removes the docker container from this repository and moves it to a dedicated repository maintained by me: https://github.com/webplates/docker-readthedocs
I improved the scripts themselves as a whole, added some tips and explanation.

I do not mind not hosting the docker image myself.
👍

It's not just about hosting, rather maintaining. And this way it's reusable between projects too. For example I will use it here: https://github.com/moneyphp/money


How to create a simple EQ like AVAudioUnitEQ in AudioKit?

macOS Version(s) Used to Build
macOS 13 Ventura
Xcode Version(s)
Xcode 14
Description
I'm attempting to transition my audio project to utilize AudioKit. In my current setup, I employ a standard Apple node for equalization. Here's a snippet to provide context:
var engine = AVAudioEngine()
var eqNode = AVAudioUnitEQ()

engine.attach(eqNode)

func initEqualizer() {
    eqNode = AVAudioUnitEQ(numberOfBands: frequencies.count)
    eqNode.globalGain = 0
    for i in 0..<frequencies.count {
        eqNode.bands[i].frequency = Float(frequencies[i])
        eqNode.bands[i].gain = 0
        eqNode.bands[i].bypass = false
        eqNode.bands[i].filterType = .parametric
    }
}

eqNode.globalGain = eqSettings.generalGain
for i in 0..<frequencies.count {
    eqNode.bands[i].gain = values[i]
}

I had assumed that integrating ParametricEQ would be straightforward, but I've encountered challenges:

The ParametricEQ appears to utilize different parameters and lacks a globalGain feature, which is essential for my setup.
Despite reviewing AudioKit's cookbook examples, I haven't found a similar straightforward example of a simple equalizer.

I apologize for filing this as a bug report, but I'm genuinely struggling to find a solution. Any guidance or assistance would be greatly appreciated.
Crash Logs, Screenshots or Other Attachments (if applicable)
No response

This can be done, but is a tough one to generalize since AVAudioUnitEQ(numberOfBands: ) is doing some work under the hood with [AVAudioUnitEQFilterParameters].
Here is a quick implementation you can try running in the Cookbook as a starting point. I'm sending a constant when initializing AVAudioUnitEQ(numberOfBands: 5) that you can change to whatever value you need. In the example the knob updates all frequencies just to show how to map the parameters to a local variable.
import AudioKit
import AudioKitEX
import AudioKitUI
import AVFoundation
import SoundpipeAudioKit
import SwiftUI

/// AudioKit version of Apple's EQ Audio Unit
///
public class AppleEQ: Node {
    public var equalizerAU = AVAudioUnitEQ(numberOfBands: 5)

    let input: Node

    /// Connected nodes
    public var connections: [Node] { [input] }

    /// Underlying AVAudioNode
    public var avAudioNode: AVAudioNode

    /// globalGain (Default 0) -96 -> 24
    public var globalGain: AUValue = 0 {
        didSet {
            equalizerAU.globalGain = globalGain
        }
    }

    public init(_ input: Node, globalGain: AUValue = 0) {
        self.input = input
        avAudioNode = equalizerAU
    }
}

class AppleEQConductor: ObservableObject, ProcessesPlayerInput {
    let engine = AudioEngine()
    let player = AudioPlayer()
    let filter: AppleEQ
    let dryWetMixer: DryWetMixer
    let buffer: AVAudioPCMBuffer

    @Published var frequency : Float = 0.0 {
        didSet {
            for i in 0..<5 {
                filter.equalizerAU.bands[i].frequency = frequency * Float(i)
            }
        }
    }

    init() {
        buffer = Cookbook.sourceBuffer
        player.buffer = buffer
        player.isLooping = true

        filter = AppleEQ(player)
        dryWetMixer = DryWetMixer(player, filter)
        engine.output = dryWetMixer

        for i in 0..<5 {
            filter.equalizerAU.bands[i].frequency = Float(100*i)
            filter.equalizerAU.bands[i].gain = 20
            filter.equalizerAU.bands[i].bypass = false
            filter.equalizerAU.bands[i].filterType = .parametric
        }
    }
}

struct AppleEQView: View {
    @StateObject var conductor = AppleEQConductor()

    var body: some View {
        VStack {
            PlayerControls(conductor: conductor)
            HStack {
                CookbookKnob(text: "Frequency", parameter: $conductor.frequency, range: 20...20000)
                DryWetMixView(dry: conductor.player,
                              wet: conductor.filter,
                              mix: conductor.dryWetMixer)
            }
        }
        .padding()
        .cookbookNavBarTitle("Equalizer Filter")
        .onAppear {
            conductor.start()
        }
        .onDisappear {
            conductor.stop()
        }
    }
}

@NickCulbertson Thanks! I will try!
I just thought that AudioKit was designed to make life easier for the developer) but it turns out I need to suffer so much more)

Haha! It does make some things easier and others parts are about the same.
Here is a better example making a 5-pole EQ. It needs to be refactored, but it works.
import AudioKit
import AudioKitEX
import AudioKitUI
import AVFoundation
import SoundpipeAudioKit
import SwiftUI
import Controls

/// AudioKit version of Apple's EQ Audio Unit
public class AppleEQ: Node {
    public var equalizerAU: AVAudioUnitEQ

    let input: Node

    /// Connected nodes
    public var connections: [Node] { [input] }

    /// Underlying AVAudioNode
    public var avAudioNode: AVAudioNode

    /// globalGain (Default 0) -96 -> 24
    public var globalGain: AUValue = 0 {
        didSet {
            equalizerAU.globalGain = globalGain
        }
    }

    public init(_ input: Node, bands: Int = 5, globalGain: AUValue = 0) {
        equalizerAU = AVAudioUnitEQ(numberOfBands: bands)
        self.input = input
        avAudioNode = equalizerAU
    }
}

class AppleEQConductor: ObservableObject, ProcessesPlayerInput {
    let engine = AudioEngine()
    let player = AudioPlayer()
    var filter: AppleEQ
    let dryWetMixer: DryWetMixer
    let buffer: AVAudioPCMBuffer

    @Published var frequency1 : Float = 100.0 {
        didSet {
            filter.equalizerAU.bands[0].frequency = frequency1
        }
    }

    @Published var gain1 : Float = 0.0 {
        didSet {
            filter.equalizerAU.bands[0].gain = gain1
        }
    }

    @Published var frequency2 : Float = 300.0 {
        didSet {
            filter.equalizerAU.bands[1].frequency = frequency2
        }
    }

    @Published var gain2 : Float = 0.0 {
        didSet {
            filter.equalizerAU.bands[1].gain = gain2
        }
    }

    @Published var frequency3 : Float = 1000.0 {
        didSet {
            filter.equalizerAU.bands[2].frequency = frequency3
        }
    }

    @Published var gain3 : Float = 0.0 {
        didSet {
            filter.equalizerAU.bands[2].gain = gain3
        }
    }

    @Published var frequency4 : Float = 4000.0 {
        didSet {
            filter.equalizerAU.bands[3].frequency = frequency4
        }
    }

    @Published var gain4 : Float = 0.0 {
        didSet {
            filter.equalizerAU.bands[3].gain = gain4
        }
    }

    @Published var frequency5 : Float = 10000.0 {
        didSet {
            filter.equalizerAU.bands[4].frequency = frequency5
        }
    }

    @Published var gain5 : Float = 0.0 {
        didSet {
            filter.equalizerAU.bands[4].gain = gain5
        }
    }

    @Published var globalGain : Float = 0.0 {
        didSet {
            filter.equalizerAU.globalGain = globalGain
        }
    }

    init() {
        buffer = Cookbook.sourceBuffer
        player.buffer = buffer
        player.isLooping = true

        filter = AppleEQ(player, bands: 5)
        dryWetMixer = DryWetMixer(player, filter)
        engine.output = dryWetMixer

        filter.equalizerAU.bands[0].frequency = 100.0
        filter.equalizerAU.bands[1].frequency = 300.0
        filter.equalizerAU.bands[2].frequency = 1_000.0
        filter.equalizerAU.bands[3].frequency = 4_000.0
        filter.equalizerAU.bands[4].frequency = 10_000.0

        for i in 0..<5 {
            filter.equalizerAU.bands[i].gain = 0
            filter.equalizerAU.bands[i].bypass = false
            filter.equalizerAU.bands[i].filterType = .parametric
        }
    }
}

struct AppleEQView: View {
    @StateObject var conductor = AppleEQConductor()

    var body: some View {
        VStack {
            PlayerControls(conductor: conductor)
            HStack {
                VStack {
                    CookbookKnob(text: "Frequency 1", parameter: $conductor.frequency1, range: 20...20000)
                    CookbookKnob(text: "Gain 1", parameter: $conductor.gain1, range: -96...24)
                }
                VStack {
                    CookbookKnob(text: "Frequency 2", parameter: $conductor.frequency2, range: 20...20000)
                    CookbookKnob(text: "Gain 2", parameter: $conductor.gain2, range: -96...24)
                }
                VStack {
                    CookbookKnob(text: "Frequency 3", parameter: $conductor.frequency3, range: 20...20000)
                    CookbookKnob(text: "Gain 3", parameter: $conductor.gain3, range: -96...24)
                }
                VStack {
                    CookbookKnob(text: "Frequency 4", parameter: $conductor.frequency4, range: 20...20000)
                    CookbookKnob(text: "Gain 4", parameter: $conductor.gain4, range: -96...24)
                }
                VStack {
                    CookbookKnob(text: "Frequency 5", parameter: $conductor.frequency5, range: 20...20000)
                    CookbookKnob(text: "Gain 5", parameter: $conductor.gain5, range: -96...24)
                }
                CookbookKnob(text: "Global Gain", parameter: $conductor.globalGain, range: -96...24)

            }
            DryWetMixView(dry: conductor.player,
                          wet: conductor.filter,
                          mix: conductor.dryWetMixer)

        }
        .padding()
        .cookbookNavBarTitle("Equalizer Filter")
        .onAppear {
            conductor.start()
        }
        .onDisappear {
            conductor.stop()
        }
    }
}

@NickCulbertson Hi, we used AudioKit, awesome! Many thanks and respect!
Could you please give an advice on "seek" method? For example if I try to seek my audio track when paused, the track will start to play in spite of the pause. I understand why but can it be fixed so that it would depend on the previous player state (was playing or paused)
Thanks!

Hello!
I’ve not worked with the AudioPlayer much in AudioKit, but I think I see what's up.
It looks like these lines are where it is playing again in the seek method: https://github.com/AudioKit/AudioKit/blob/2f69d1916f94734e42a9482a54b4c63bb6a58667/Sources/AudioKit/Nodes/Playback/AudioPlayer/AudioPlayer%2BPlayback.swift#L114
I imagine that method would need to be edited to remove that part in your case. The best way to experiment with it is to drag a local copy of the AudioKit package into your project for editing. Here is how to do that: https://youtu.be/QTrsO6vOHAM?t=182
If you find a good solution (which may just be removing those two lines of code) you could submit a Pull Request with a seekStopped() method so that you can keep using the release version.
Thanks,
Nick

On Feb 2, 2024, at 6:04 PM, Oleksandr Stepanov @.***> wrote:
@NickCulbertson https://github.com/NickCulbertson Hi, we used AudioKit, awesome! Many thanks and respect!
Could you please give an advice on "seek" method? For example if I try to seek my audio track when paused, the track will start to play in spite of the pause. I understand why but can it be fixed so that it would depend on the previous player state (was playing or paused)
Thanks!
—
Reply to this email directly, view it on GitHub https://github.com/AudioKit/AudioKit/issues/2897#issuecomment-1924881381, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGI66T2J2NLJ3AYZA3AIVDYRVWJTAVCNFSM6AAAAABCNOKRQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRUHA4DCMZYGE.
You are receiving this because you were mentioned.


[TO BE DISCUSSED] make generic/closure ByteBuffer methods inlineable

I'm not 100% sure I did exactly the right thing and if we should to this. Paging @airspeedswift and @moiseev .
Motivation:
Generics and closures across modules can be problematic as the cause
allocations. ByteBuffer is one of NIO's core data types and therefore
should be well optimised. Generic/closure taking methods so far were a
bit of a problem. And with
SE-0193
accepted, there's not much reason not to use those features even though they
are (at the moment) @_.
For the 1000 requests over 1 connection allocation benchmark we go from
"total_allocations": 325378

to
"total_allocations": 321366

so we lose 4 allocations per HTTP request/response pair, not super
impressive but not nothing either.
Modifications:
Make generic/closure taking methods on ByteBuffer @_inlineable
Result:
Fewer allocations

on Linux with Swift 4.0.3 we go from
"total_allocations": 322051

to
"total_allocations": 318047

so also lost 4 allocations.

@normanmaurer the actual name for @_versioned will (AFAIK) be @usableFromInline, another discussed name was @abiPublic. And yes, basically it means that a function (even if internal) can be used from other modules if inlined.
That change does make ByteBuffers internal public ABI (not API) but that's okay as I don't foresee any ByteBuffer layout changes before we go SemVer major++ and also on the server we don't care about binary frameworks so YOLO.

@_versioned things can also be @_inlineable. So you might squeeze some more improvement from it.

thanks @moiseev . Looks better now?

@Lukasa WDYT? I think its "ok" to merge

I don’t think @moiseev has fully answered my question, so I’m still a bit nervous about merging this.

@Lukasa I think we're fine: https://twitter.com/slava_pestov/status/982997370659983360 . Slava implemented this AFAIK

Awesome, thanks. Lemme re-review with that in mind.


Attributes docstring missing from AwsCredentials and ECSTask

Maybe also missing from others. Discussed with Andrew.
Screenshots attached.
Ideally there would be type hints and a clear example of saving a block in the docstring.

Previously the Pydantic Field descriptions were parsed. I'm not sure why they're not anymore. That's how the ECS options are documented. I have a preference for keeping them there instead of in docstrings since they're sent to the API and parsing docstrings into descriptions is weird — but it sounds like this will require some investigation.


ERROR while show leaderboards

Hi
First, thanks for the your work
I'm using your library in my game and getting an error when I call the gsClient.showLeaderboards() method

The code i am using in AndroidLauncher:
public class AndroidLauncher extends AndroidApplication {

	private GpgsClient gpgsClient;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		AsteroidBustersXGame game = new AsteroidBustersXGame();

		this.gpgsClient = new GpgsClient()
				.setGpgsLeaderboardIdMapper(new IGameServiceIdMapper<String>() {

					@Override
					public String mapToGsId(String independantId) {
						return GpgsMappers.mapToGpgsLeaderboard(independantId);
					}
				})
				.initialize(this, false);
		game.gsClient = gpgsClient;

		AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
		config.useAccelerometer = false;
		config.useCompass = false;
		config.useImmersiveMode = true;
		initialize(game, config);
	}
}

Main Game Class create() method:
if (gsClient == null) {
	Gdx.app.log("GS_CLIENT", "GsClient is null");
	gsClient = new MockGameServiceClient(1) {
		@Override
		protected Array<ILeaderBoardEntry> getLeaderboardEntries() {
			return null;
		}

		@Override
		protected Array<String> getGameStates() {
			return null;
		}

		@Override
		protected byte[] getGameState() {
			return new byte[0];
		}

		@Override
		protected Array<IAchievement> getAchievements() {
			return null;
		}

		@Override
		protected String getPlayerName() {
			return null;
		}
	};
}

Gdx.app.log("GS_CLIENT", "GsClient set listener");
gsClient.setListener(this);

//My game initialization

Gdx.app.log("GS_CLIENT", "GsClient resume session");
gsClient.resumeSession();

Where I call showLeaderboards() method:
highscoresButton = new ImageButton(highscoresStyle);
highscoresButton.addListener(new ClickListener() {

    @Override
    public void clicked(InputEvent event, float x, float y) {
        try {
            game.gsClient.showLeaderboards(LEADERBOARD1);
        }
        catch (GameServiceException e) {
            Gdx.app.error("GS_CLIENT", "Failed to show leaderboards", e);
        }
    }
});

GpgsMappers class:
public class GpgsMappers {

    public static String mapToGpgsLeaderboard(String leaderboardId) {
        String gpgsId = null;

        if (leaderboardId != null) {
            if (leaderboardId.equals(AsteroidBustersXGame.LEADERBOARD1))
                gpgsId = "CgkIjOjVy8gdEAIQAQ";
        }

        return gpgsId;
    }
}

I also have a version of gdx 1.10.0, in the example its - 1.9.8. Most likely the problem is somewhere else.
Authorization passes - a welcome gpgs popup window appears with my username, but when click 'Highscores' it's load gpgs highscores page, but loading is freezing
Thanks in advance

I also get error when call fetchLeaderboardEntries() method:

You will get this error on every call. You need to do what the error tells you: link your app in the Play Games dev console.

I have already registered metadata app_id in AndroidManifest.xml

which matches with OAuth 2.0 Client IDs on Google Cloud Platform

Please tell me what else should I do?

Google Play Games is different to set up. https://developers.google.com/games/services/console/enabling

I found out what the reason was - in my console in Play Games Services > Setup and Management > Configuration was only 1 credentials for release. When add debug credentials - then everything worked


V.0.13.16 - Issues with Philips Hue Dimmer Switches

Hi,
Bug1:
The update today deletes all my Hue Dimmer Switch configs in Homekit for the Buttons 2 and 3! Only 1 and 4 keeps the config of scenes and lamps.
Bug2:
"long press" isn't working anymore and is registered as "single press".

I can reproduce bug 2: it looks like Homebridge Hue applies the hueDimmerRepeat setting, even when it hasn't been set.  The exposed actions (Single Press and Long Press (when not set) vs only Single Press (when set) seem to be OK.
I'm not sure I understand bug 1.  Do you mean the actions for those buttons?  Did you define them on Single Press or on Long Press?  Did you try different settings for hueDimmerRepeat?  I would expect the actions for Long Press to be lost when setting hueDimmerRepeat, but the Single Press actions shouldn't be affected.

Damn, can reproduce bug 1 as well.  I create the Stateless Programmable Switch services with subtype based on the button name, instead of the button index.  With the refactoring of the ZHASwitch handling, I renamed some of the buttons for consistency (e.g. from "Dim Up" to "DimUp"), not realising it would have any impact.  Changing the subtype to the index would delete all actions for all buttons on all switches, so let's not do that.  I'll see if I can undo the renaming.

Fixed in v0.13.7.
Unfortunately, the actions will be removed again when upgrading from (now unpublished) v0.13.6 to v0.13.7, but will be preserved when upgrading from v0.13.5 to v0.13.7.

Damn, can reproduce bug 1 as well. I create the Stateless Programmable Switch services with subtype based on the button name, instead of the button index. With the refactoring of the ZHASwitch handling, I renamed some of the buttons for consistency (e.g. from "Dim Up" to "DimUp"), not realising it would have any impact. Changing the subtype to the index would delete all actions for all buttons on all switches, so let's not do that. I'll see if I can undo the renaming.

Not funny if you have many dimmer switches ;)

can reproduce bug 2: it looks like Homebridge Hue applies the hueDimmerRepeat setting, even when it hasn't been set.

correct, I am not using hueDimmerRepeat  to be able to set a different scene on a long press.
example: single press = heater on, long press = heater off.

Unfortunately, the actions will be removed again when upgrading from (now unpublished) v0.13.6 to v0.13.7, but will be preserved when upgrading from v0.13.5 to v0.13.7.

Thanks for the quick fix. Lets do the config again... ;)
Here my config if needed:
"name": "Homebridge-Hue",
            "anyOn": true,
            "lights": true,
            "nativeHomeKitLights": false,
            "nativeHomeKitSensors": false,
            "nupnp": true,
            "resource": true,
            "sensors": true,
            "forceCt": true,
            "hueDimmerRepeat": false,
            "brightnessAdjustment": 100,
            "heartrate": 1,
            "timeout": 5,
            "parallelRequests": 4,
            "waitTimeResend": 100,
            "waitTimeUpdate": 20,
            "lowBattery": 25,

@ebaauw
done the config of some switches and found another bug:
Philips Hue Dimmer GEN2: unable to configure long press of button 2.
If I select a scene it will not be configured.
The config of GEN1 switches is working fine. Only GEN2 affected.

I can set actions for the 2021 model allright.  From the screenshot, it looks like Homebridge Hue exposes the dimmer correctly.
Probably an issue with HomeKit syncing the config over iCloud.  Force-quit Home and wait a couple of minutes before trying again.  I assume you’re trying the same scene as on Single Press?  Otherwise double-check the scene.

@ebaauw
tested again... it is not Apple Home App related... tested with multiple devices.
Config is syncing really fast and without any issues with other switches, scenes and devices.
I have now selected a device and not a scene and can see the same issue.
The Long Press isn't usable on button 2 on GEN2.

ok, found the issue:
While trying to assign different scenes I produced a conflict with rules.
I´ve now deleted/cleaned all rules of the button our of HomeKit and reassigned the scene, now it is working.
Thanks!


Proper DNF module support & resources

Description
The previous PR, #37, missed the modular repo which has the DNF module information. This caused attempted installs on C8 to fail when trying to install php from the remi-phpXX repos, as these try to use module packages but the modules were not present.
This PR adds support for the remi-modular repo, and switches to using the DNF modules instead of the phpXX repos on platforms that support it, in accordance with the upstream recommendations.
Additionally, this PR also adds a matching set of yum_remi_ resources to (eventually) replace the recipes in this cookbook.
Additionally two, Amazon didnt work due to their base repos having priority set. This is fixed here as well.
Marked as major release due to the switch to modules in the recipes.
Issues Resolved
(none)
Check List

[x] A summary of changes made is included in the CHANGELOG under ## Unreleased
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable.

Additionally, this PR also adds a matching set of yum_remi_ resources to (eventually) replace the recipes in this cookbook.

Any reason why the default recipe can't be migrated to using these resources in this PR?

I left the recipes as-is to not break settings set through attributes. Though I guess since this is a major release that breakage would be allowed.

I left the recipes mostly as-is to not break settings set through attributes. Though I guess since this is a major release that breakage would be allowed.

Yeah, you can still technically use the attributes, just pass them through the resources directly. We'll likely want to remove that eventually however.

EDIT: Also, please make sure this doesn't break the php cookbook again :)

PHP cookbook is safe, just tested

Should this still manage the -debuginfo repos? Leaving that out of the resources would make things cleaner

We're going to need to bump the version of chef-client to 15.3 here because we're setting unified_mode.
At the same time we can get rid of resource_name. As this is not longer required for clients newer than 15.

@detjensrobert I would do a release with the recipes setting the node attributes. Then deprecate that in a secondary major release.

Released as: 6.0.0


Provide a nice (HTML) representation for the model classes

Description of feature
When inspecting a model object in jupyter, we should see a summary of the model, the input data etc.
In jupyter, we could also show this as HTML.

Migrated to https://github.com/theislab/pertpy/issues/611


Generate models with Uri and ETag types

This extends the capabilities described in https://github.com/Azure/autorest.csharp/issues/2337.
[Description TBD]

Per @m-nash:

dotnet MPG has support for this already with x-ms-format
etag = Azure.Etag
azure-location = Azure.Core.AzureLocation
arm-id = Azure.Core.ResourceIdentifier
We also have a blanket type System.Net.Uri applied to anything that ends in Uri, Url, as well as applied to the element schema for lists ending in Uris or Urls

Pending Cadl uri build-in type requested here: https://github.com/microsoft/cadl/issues/654

If there are more types we want to support generation to, we could consider a .net specific decorator like @useDotNetType("ETag")


Discord integration

Support repo webhooks to discord server

https://gist.github.com/SGTGunner/50d6a3cc0d489cf779f77695ba3e22ea

Added to todo
https://github.com/users/datawhores/projects/2


EventReceiverFirehoseMonitor

add an EventReceiverFirehoseMonitor so that we can monitor how many
events have been queued in the EventReceiverFirehose and get a sense
about whether the firehose is under too much pressure.

LGTM

Is it possible to have a generic FirehoseMonitor which can be configured in runtime.properties and emits events related to the firehose in use e.g buffered/events, batch size etc for eventReceiverFirehose and   for kafka firehose emit kafka related metrics like kafka backlog etc.
for now it can only support EventReceiverFirehose.

@nishantmonu51  The metrics being exposed here are pretty specific to the EventReceiverFirehose so I'm not sure what extra metrics a generic firehose would meaningfully provide?

@nishantmonu51 further thoughts?

@cheddar, @guobingkun, by generic i meant is it possible to have the glue code for emitting metrics (like FirehoseRegister and Monitor) to be reUsable by multiple firehoses so that If we implement metrics for any other firehose we wont have to write similar things again and the logic for what metrics to be emitted can be part of the firehose itself and will be specific to them.

btw, I am also fine with doing things as per the current impl and restructuring code when we need to emit metrics for other firehoses too.

@nishantmonu51 It's possible to make a generic FirehoseRegister + FirehoseMonitor and let each firehose implement a FirehoseMetric. Though I prefer not to do it now since it's quite a different direction from what this PR was originally going, there will also be different concurrent issues need to be resolved if we do it in a generic way.

:+1:

bouncing for unrelated test failure.


feat: add go-acme/lego

go-acme/lego: Let's Encrypt/ACME client and library written in Go
$ aqua g -i go-acme/lego

How to confirm if this package works well
Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.
Command and output
# lego
NAME:
   lego - Let's Encrypt client written in Go

USAGE:
   lego [global options] command [command options] [arguments...]

VERSION:
   4.10.2

COMMANDS:
   run      Register an account, then create and install a certificate
   revoke   Revoke a certificate
   renew    Renew a certificate
   dnshelp  Shows additional help for the '--dns' global option
   list     Display certificates and accounts information.
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --accept-tos, -a                                             By setting this flag to true you indicate that you accept the current Let's Encrypt terms of service. (default: false)
   --cert.timeout value                                         Set the certificate timeout value to a specific value in seconds. Only used when obtaining certificates. (default: 30)
   --csr value, -c value                                        Certificate signing request filename, if an external CSR is to be used.
   --dns value                                                  Solve a DNS challenge using the specified provider. Can be mixed with other types of challenges. Run 'lego dnshelp' for help on usage.
   --dns-timeout value                                          Set the DNS timeout value to a specific value in seconds. Used only when performing authoritative name servers queries. (default: 10)
   --dns.disable-cp                                             By setting this flag to true, disables the need to wait the propagation of the TXT record to all authoritative name servers. (default: false)
   --dns.resolvers value [ --dns.resolvers value ]              Set the resolvers to use for performing (recursive) CNAME resolving and apex domain determination. For DNS challenge verification, the authoritative DNS server is queried directly. Supported: host:port. The default is to use the system resolvers, or Google's DNS resolvers if the system's cannot be determined.
   --domains value, -d value [ --domains value, -d value ]      Add a domain to the process. Can be specified multiple times.
   --eab                                                        Use External Account Binding for account registration. Requires --kid and --hmac. (default: false)
   --email value, -m value                                      Email used for registration and recovery contact.
   --filename value                                             (deprecated) Filename of the generated certificate.
   --help, -h                                                   show help (default: false)
   --hmac value                                                 MAC key from External CA. Should be in Base64 URL Encoding without padding format. Used for External Account Binding.
   --http                                                       Use the HTTP challenge to solve challenges. Can be mixed with other types of challenges. (default: false)
   --http-timeout value                                         Set the HTTP timeout value to a specific value in seconds. (default: 0)
   --http.memcached-host value [ --http.memcached-host value ]  Set the memcached host(s) to use for HTTP based challenges. Challenges will be written to all specified hosts.
   --http.port value                                            Set the port and interface to use for HTTP based challenges to listen on.Supported: interface:port or :port. (default: ":80")
   --http.proxy-header value                                    Validate against this HTTP header when solving HTTP based challenges behind a reverse proxy. (default: "Host")
   --http.webroot value                                         Set the webroot folder to use for HTTP based challenges to write directly in a file in .well-known/acme-challenge. This disables the built-in server and expects the given directory to be publicly served with access to .well-known/acme-challenge
   --key-type value, -k value                                   Key type to use for private keys. Supported: rsa2048, rsa4096, rsa8192, ec256, ec384. (default: "ec256")
   --kid value                                                  Key identifier from External CA. Used for External Account Binding.
   --path value                                                 Directory to use for storing the data. (default: "/Users/01041923/src/quipper/aqua-registry/.lego") [$LEGO_PATH]
   --pem                                                        Generate a .pem file by concatenating the .key and .crt files together. (default: false)
   --pfx                                                        Generate a .pfx (PKCS#12) file by with the .key and .crt and issuer .crt files together. (default: false)
   --pfx.pass value                                             The password used to encrypt the .pfx (PCKS#12) file. (default: "changeit")
   --server value, -s value                                     CA hostname (and optionally :port). The server certificate must be trusted in order to avoid further modifications to the client. (default: "https://acme-v02.api.letsencrypt.org/directory")
   --tls                                                        Use the TLS challenge to solve challenges. Can be mixed with other types of challenges. (default: false)
   --tls.port value                                             Set the port and interface to use for TLS based challenges to listen on. Supported: interface:port or :port. (default: ":443")
   --user-agent value                                           Add to the user-agent sent to the CA to identify an application embedding lego-cli
   --version, -v                                                print the version (default: false)

Reference

https://go-acme.github.io/lego/

Thank you for your contribution!

Please try aqua-registry scaffold's  --deep option from the next time.
https://aquaproj.github.io/docs/develop-registry/scaffold-registry/#generate-version_overrides-by---deep-option
https://github.com/aquaproj/generate-registry-deep/actions/runs/4661488318


Mechikung / Mechikau

Tres Rdulaol's 1979 song Bambangia has the line "Mak ultoir mak di mechikau."  Yoichi Rengiil told me today that mechikau comes from mechikung or mechikang and means to "leave you."  In Tekinged, mechikung (v.s.pred.)and mechikang (v.s.inch.) are just by themselves (no related root).  I'm wondering if the root of these two words is "mocha,"? and what exactly is the root of "mechikau"?, Can you also say "mechikak, mechikii, mechikid, mechikam, mechikir, etc."?

Mechikau: for a person, derived from mechei, medechel, leave behind. Hard
to explain. Bobecherei tilechal klalo e dorael. Leave that thing and let’s
go.
Bobechikii a Ulang e dorael. Leave Ulang be and let’s go.
Mechikung- good bye.
Mechikang- later.
Mak mo mechikau? So I leave you be?
Hope it helps…
On Fri, May 24, 2024 at 16:56 JimGeselbracht @.***>
wrote:

Tres Rdulaol's 1979 song Bambangia has the line "Mak ultoir mak di
mechikau." Yoichi Rengiil told me today that mechikau comes from mechikung
or mechikang and means to "leave you." In Tekinged, mechikung
(v.s.pred.)and mechikang (v.s.inch.) are just by themselves (no related
root). I'm wondering if the root of these two words is "mocha,"? and what
exactly is the root of "mechikau"?, Can you also say "mechikak, mechikii,
mechikid, mechikam, mechikir, etc."?
—
Reply to this email directly, view it on GitHub
https://github.com/tekinged/missing/issues/500, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF2DJJDGPVPLIKFDTLGHW63ZD7HUXAVCNFSM6AAAAABIIL2DDKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYTMNBRGUYTKOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks Mar.  Makes sense
Jim Geselbracht
510-919-2152

From: Gnalu @.>
Sent: Friday, May 24, 2024 6:21:56 PM
To: tekinged/missing @.>
Cc: JimGeselbracht @.>; Author @.>
Subject: Re: [tekinged/missing] Mechikung / Mechikau (Issue #500)
Mechikau: for a person, derived from mechei, medechel, leave behind. Hard
to explain. Bobecherei tilechal klalo e dorael. Leave that thing and let’s
go.
Bobechikii a Ulang e dorael. Leave Ulang be and let’s go.
Mechikung- good bye.
Mechikang- later.
Mak mo mechikau? So I leave you be?
Hope it helps…
On Fri, May 24, 2024 at 16:56 JimGeselbracht @.***>
wrote:

Tres Rdulaol's 1979 song Bambangia has the line "Mak ultoir mak di
mechikau." Yoichi Rengiil told me today that mechikau comes from mechikung
or mechikang and means to "leave you." In Tekinged, mechikung
(v.s.pred.)and mechikang (v.s.inch.) are just by themselves (no related
root). I'm wondering if the root of these two words is "mocha,"? and what
exactly is the root of "mechikau"?, Can you also say "mechikak, mechikii,
mechikid, mechikam, mechikir, etc."?
—
Reply to this email directly, view it on GitHub
https://github.com/tekinged/missing/issues/500, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF2DJJDGPVPLIKFDTLGHW63ZD7HUXAVCNFSM6AAAAABIIL2DDKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYTMNBRGUYTKOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHubhttps://github.com/tekinged/missing/issues/500#issuecomment-2130639671, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX6MKZITR2QBZFWOHHYCZJ3ZD7RTJAVCNFSM6AAAAABIIL2DDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZQGYZTSNRXGE.
You are receiving this because you authored the thread.Message ID: @.***>

Tres Rdulaol's 1979 song Bambangia has the line "Mak ultoir mak di
mechikau." Yoichi Rengiil told me today that mechikau comes from mechikung
or mechikang and means to "leave you."
I think it is more from the words *mechei *and *becherei *or *bechei. *All
of these are about leaving something or someone be.
Mechei: Ke di mechei a blatong e ak mo melib. Leave the dishes and I'll do
them.
Becherei: 1) Ak mla subedii a Ulang me becherei. I've already informed
Ulang so leave her be. Or I've already informed Ulang so let it go. 2)
Merko dorael e becherei a cheldecheduch. 3) Famous Palauan saying: Becherei
a kerisil e ng ngerchelek.
Bechei: More of a plural form of becherei
I'm wondering if the root of these two words is "mocha,"?
Mocha means "about to" or "almost" and in some context "finally"
Ng mocha temel a belsol. It's almost dinner time.
A kol mocha oureor. I am finally working.
and what exactly is the root of "mechikau"?,
I would say "mechei"
Can you also say "mechikak, mechikii, mechikid, mechikam, mechikir, etc."?
Yes. But instead of "mechikam" it would be "mechikemam" and "mechikir"
would be "mechititerir"
If it's a conversation between two people, one would say to "Bechikak e
morael" or "Bechikemam (plural) e morael" and bechititerir
On Sat, May 25, 2024 at 10:52 AM JimGeselbracht @.***>
wrote:

Thanks Mar. Makes sense
Jim Geselbracht
510-919-2152

From: Gnalu @.>
Sent: Friday, May 24, 2024 6:21:56 PM
To: tekinged/missing @.>
Cc: JimGeselbracht @.>; Author @.>
Subject: Re: [tekinged/missing] Mechikung / Mechikau (Issue #500)
Mechikau: for a person, derived from mechei, medechel, leave behind. Hard
to explain. Bobecherei tilechal klalo e dorael. Leave that thing and let’s
go.
Bobechikii a Ulang e dorael. Leave Ulang be and let’s go.
Mechikung- good bye.
Mechikang- later.
Mak mo mechikau? So I leave you be?
Hope it helps…
On Fri, May 24, 2024 at 16:56 JimGeselbracht @.***>
wrote:

Tres Rdulaol's 1979 song Bambangia has the line "Mak ultoir mak di
mechikau." Yoichi Rengiil told me today that mechikau comes from
mechikung
or mechikang and means to "leave you." In Tekinged, mechikung
(v.s.pred.)and mechikang (v.s.inch.) are just by themselves (no related
root). I'm wondering if the root of these two words is "mocha,"? and
what
exactly is the root of "mechikau"?, Can you also say "mechikak,
mechikii,
mechikid, mechikam, mechikir, etc."?
—
Reply to this email directly, view it on GitHub
https://github.com/tekinged/missing/issues/500, or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AF2DJJDGPVPLIKFDTLGHW63ZD7HUXAVCNFSM6AAAAABIIL2DDKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYTMNBRGUYTKOA>

.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub<
https://github.com/tekinged/missing/issues/500#issuecomment-2130639671>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/AX6MKZITR2QBZFWOHHYCZJ3ZD7RTJAVCNFSM6AAAAABIIL2DDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZQGYZTSNRXGE>.
You are receiving this because you authored the thread.Message ID:
@.***>
—
Reply to this email directly, view it on GitHub
https://github.com/tekinged/missing/issues/500#issuecomment-2130657783,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXYSPXWZFLYFJR5PQEWKHSTZD7VG7AVCNFSM6AAAAABIIL2DDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZQGY2TONZYGM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Surface Indexes

Indexes should be treated as directives for schema evolution and migration purposes.
type Tweet
@Index(name: "MyCustomIndex", type: StorageAttachedIndex, on: [ username ])
@PrimaryKey(field: [tweet])
{
  tweet: Text
  username: Text
}

Same comment as #139.


Functional example on readme

Import package
Use constraint
Use wait

Thank you for the PR!
What's the reason to use main()?
I mean it's a helper for testing...

is an example of use, not test

This is a Testing helper, so this would be the use...


Add changes for Flink 1.0.1

Add changes for Flink samples for 1.0.1.

@dibbles Please can you merge this PR when you think it will be appropriate ? Thanks.

In order to be able to Tag the last IBM Event Automation Flink release 1.0.1. I merge this PR.


"There are no workspaces yet" Help Screen Update

Just wanted to log this one: the [!] There are no workspaces yet. help message does not include the new -m in its help examples, which would be nice.
E.g.
root@kali:/opt/celerystalk# ./celerystalk scan

celerystalk  -	An asynchronous network enumeration/vulnerability scanner
		Run all your tools against all your hosts (IPs/virtual hosts/subdomains)
		by @sethsec
		Build: 128

[!] There are no workspaces yet. Create one and run your command again:

./celerystalk workspace create -o output_dir                     #Default workspace
./celerystalk workspace create -o output_dir -w workspace_name   #Named workspace

Thanks!  I noticed the same thing this evening. What do you think of this new one:
[!] There are no workspaces yet. Create one and run your command again:

./celerystalk workspace create -o output_dir -w workspace_name -m vapt
./celerystalk workspace create -o output_dir -w workspace_name -m bb

This would remove the guidance about the default workspace vs named workspace for the sake of brevity/ease, but would make it so you have to use the help or look at the readme to lean the concept of default vs named workspaces.
this reason i think it is ok to leave out, is that now that i have the concept of current workspaces, i think there is really no reason to use the default workspace. thinking this will force people to name their workspaces, while giving you the option to use the default if you really want to.

I like it. Or even condense it further:
./celerystalk workspace create -o output_dir -w workspace_name -m vapt_or_bb_mode

Either way though.


database: expose pg12 outside of cluster

<IP_ADDRESS>:6432 will connect to the Postgres 12 server.
Might change from service with LoadBalancer to HAProxy TCP ingress later but keeping it simple for now.  Also hoping to preserve the source IP address of the psql clients, which will be tricky or impossible with a proxy (other than pgBouncer or similar).

bors r+


Ticking session codes for other sections.

The ticking session codes for a particular section has been uploaded, I would love to upload the codes for different ticking problems.

Yeah sure @Sohoxic

Just create the folder of your section and add the codes


Error fixing with new code transfer nearly completed.

Most of the transfering of the code to the new library is pretty much done. I have very few errors left to fix. There will be some things I will want to change once that's done but they will be relatively minor. So we're almost there in regards to code separation.
You may have noticed the help wanted label on this notice. If you're at all interested in working on this mod as well as MovingWorld, please make sure to get in touch with me! This is a huge mod with lots of things to maintain and any help at all will be greatly appreciated.
Also, for those unaware I've been streaming development over at http://twitch.tv/darkevilmac make sure to follow so you can see what's going on development wise.

Completed.


added comment for showing acitivity to be an optional parameter

@bhparijat should we also update onVerificationFailed to demonstrate how to handle the new exception that is thrown when no Activity is provided?

+1 we should do this.


Is it possible to restrict Service Principal access to a specific Resource Group?

Question in title...

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

ID: c7fe99a2-1334-c424-2e68-942d99ea7c68
Version Independent ID: 84b2cbcb-1f11-9a6d-23fd-5c8d76453fa8
Content: Use Azure service principals with Azure PowerShell
Content Source: docs-conceptual/azps-2.4.0/create-azure-service-principal-azureps.md
GitHub Login: @sptramer
Microsoft Alias: sttramer

You're most likely to find the answer to this question in the official Azure Active Directory documentation.


npm install failing on prepublish sk-bundle ( windows only )

I tried this on multiple windows boxes with different versions of npm and node. Works great on Mac :)
windows ( 7 - 10 )
node ( 4.2.6 - 6.9.1 )
npm ( 2.14.12 - 3.10.8 )

git clone https://github.com/skatejs/skatejs.git
npm install
fail

The system cannot find the path specified.

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "prepublish"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! skatejs@ prepublish: `sk-bundle`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the skatejs@ prepublish script 'sk-bundle'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the skatejs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     sk-bundle
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs skatejs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls skatejs
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Git\skatejs\npm-debug.log

Could you try and find the relevant error in npm-debug.log and post that, please? Thanks.

It is caused by fsevents.
Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

It seems you might be able to disable optional deps and it might work?

@andreawyss
Is this caused by bash script in skatejs-build/bin/sk-bundle
`
#!/bin/sh
rm -rf dist/
if [ -f ./rollup.config.js ];
then
./node_modules/rollup/bin/rollup --config rollup.config.js "$@"
./node_modules/rollup/bin/rollup --config rollup.config.js --min "$@"
fi
if [ -f ./webpack.config.js ];
then
./node_modules/webpack/bin/webpack.js --config webpack.config.js "$@"
fi
`
On the other hand, I tried run "rollup -c" from cmd line directly. Still failed and the error is a litter different:
Error transforming C:\projects\github\skatejs\src\index.js with 'babel' plugin: It looks like your Babel configuration s
pecifies a module transformer. Please disable it. If you're using the "es2015" preset, consider using "es2015-rollup" in
stead. See https://github.com/rollup/rollup-plugin-babel#configuring-babel for more information
Error: Error transforming C:\projects\github\skatejs\src\index.js with 'babel' plugin: It looks like your Babel configur
ation specifies a module transformer. Please disable it. If you're using the "es2015" preset, consider using "es2015-rol
lup" instead. See https://github.com/rollup/rollup-plugin-babel#configuring-babel for more information
at preflightCheck (C:\projects\github\skatejs\node_modules\rollup-plugin-babel\dist\rollup-plugin-babel.cjs.js:43:10
2)
at Object.transform$1 [as transform] (C:\projects\github\skatejs\node_modules\rollup-plugin-babel\dist\rollup-plugin
-babel.cjs.js:104:18)
at C:\Users\PrimeVita\AppData\Roaming\npm\node_modules\rollup\src\utils\transform.js:19:35
at process._tickCallback (internal/process/next_tick.js:103:7)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
Type rollup --help for help, or visit https://github.com/rollup/rollup/wiki
PS C:\projects\github\skatejs> webpack

Is there any way we can fix this? It'd be worth testing after the migration to webpack 2 in master.

Might be fixed in #1075.

I can confirm this being fixed on windows 10 / node 6.10.2

great! Closing. thx!


feat: support specifying provider branch in verifications

Fixes https://github.com/pact-foundation/pact-js/issues/750 (for the pact-core package)

Sorry, hit review too early Tim. I need to upgrade to the latest FFI and test it out as per the discussion in the #pact-rust channel recently.

It's also worth diff'ing the C header file. I was thinking maybe we should check it in to make changes more obvious

What is the status of this one?

Ah, the status is that bumping the FFI version alone won't work, despite the flag being correct.
The issue is that the FFI mappings need to change a little with the newer n
See https://pact-foundation.slack.com/archives/CA2S7E6KC/p1637046326013500 and https://pact-foundation.slack.com/archives/CA2S7E6KC/p1637047542017900 for some context.
TL;DR - another version bump is required and then the two structs can just be referenced as opaque pointers (the implementation details are now hidden from us).

providerBranch replaces this in current master. Closing defunct PR.


Local development documentation is not right

pip install -e . does not work with the pyproject.toml configuration.

Well, I guess the documentation does not protect me from reading things wrong.  Passing -U to pip makes it work.


Enhancement/Fixes for Annotations and RNASeqQC pipelines

fix for rnaseqc pipeline: sequencefile-regex (with @Acribbs)
annotations pipeline also loads geneset all now into CSVDB
fix for rnaseqqc pipeline.ini sailfish index
fix for rnaseqqc factor documentation (@Acribbs)

Brilliant, many thanks!


Error parsing register

Hello!
I hope this is not a dead project, I hope to get this working and get my spa running with this.
I have an sv2 controller and I have build the board as described, and running the master branch.
Looks like I get some data back on the serial communication but I'm stuck and not sure what do to. Could I get some guidance here?
This is how it looks when hooked up with telnet:
(D p:^1009ms) (getRegisters)(C1) Getting registers
(D p:^0000ms) (pollStatus)(C1) Polling Status with RF command
(D p:^0001ms) (sendCommand)(C1) Sending RF
(D p:^0361ms) (sendCommand)(C1) Received
(D p:^0005ms) (parseStatus)(C1) Parsing status string
(D p:^1003ms) (getRegisters)(C1) Getting registers
(D p:^0000ms) (pollStatus)(C1) Polling Status with RF command
(D p:^0001ms) (sendCommand)(C1) Sending RF
(D p:^0618ms) (sendCommand)(C1) Received RF:
(D p:^0005ms) ,R2,0,230,30,58,4,19,48,41,5,0,2010,206,9999,1,0,527,142,44,6000,782549,8359,0,0,0,0,0,67326,64511,41736:
(D p:^0011ms) ,R3,16,2,5,5,5,SW V2 24 09 13,SV2,14020001,20000546,1,0,0,0,1,0,NA,7,0,488,Fault,232,0,9,12,0,0:
(D p:^0003ms) ,R4,NORM,2,2,2,1,100000,0,4,16,0,1415823,0,0,0,0,0,0,2,0,100,0,100000,4,80,100,6,0,4:
(D p:^0011ms) ,R5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,408,0,18,4,0,0,0,0,0,1,2,6:
(D p:^0004ms) ,R6,1,1,0,2,4,4,4,406,1,0,3584,5120,127,128,5632,5632,1792,1792,0,30,0,0:
(D p:^0011ms) ,R7,3072,0,1,0,1,0,1,10,10,0,242,203,0,1000,491,125,79,1,4,0,0,24,200,0,0,3,20,22,25,100:
(D p:^0013ms) ,R9,F1,441820,4875,4,14,219,9999,275,24,1,6,384:
(D p:^0003ms) ,RA,F2,441978,2604,6,17,221,9999,344,44,0,200,380:
(D p:^0001ms) ,RB,F3,781894,3341,6,0,216,9999,402,42,0,255,406:
(D p:^0011ms) ,RC,0,0,0,0,0,0,0,0,0,2:
(D p:^0002ms) ,RE,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,-4,13,30,8,5,1,0,0,0,0,0:*
(D p:^0011ms)
(D p:^0003ms) (parseStatus)(C1) Parsing status string
(W p:^0001ms) (updateRegister)(C1) Error parsing register, expected 33 fields, got 31
(D p:^0011ms) (updateRegister)(C1) Update register request -
(D p:^0003ms) ,R2,0,230,30,58,4,19,48,41,5,0,2010,206,9999,1,0,527,142,44,6000,782549,8359,0,0,0,0,0,67326,64511,41736
(W p:^0011ms) (updateRegister)(C1) Error parsing register, expected 30 fields, got 28
(D p:^0003ms) (updateRegister)(C1) Update register request -
(D p:^0010ms) ,R3,16,2,5,5,5,SW V2 24 09 13,SV2,14020001,20000546,1,0,0,0,1,0,NA,7,0,488,Fault,232,0,9,12,0,0
(W p:^0004ms) (updateRegister)(C1) Error parsing register, expected 31 fields, got 30
(D p:^0011ms) (updateRegister)(C1) Update register request -
(D p:^0003ms) ,R4,NORM,2,2,2,1,100000,0,4,16,0,1415823,0,0,0,0,0,0,2,0,100,0,100000,4,80,100,6,0,4
(W p:^0011ms) (updateRegister)(C1) Error parsing register, expected 29 fields, got 28
(D p:^0012ms) (updateRegister)(C1) Update register request -
(D p:^0003ms) ,R5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,408,0,18,4,0,0,0,0,0,1,2,6
(W p:^0011ms) (updateRegister)(C1) Error parsing register, expected 31 fields, got 24
(D p:^0003ms) (updateRegister)(C1) Update register request -
(D p:^0011ms) ,R6,1,1,0,2,4,4,4,406,1,0,3584,5120,127,128,5632,5632,1792,1792,0,30,0,0
(W p:^0003ms) (updateRegister)(C1) Error parsing register, expected 34 fields, got 32
(D p:^0011ms) (updateRegister)(C1) Update register request -
(D p:^0003ms) ,R7,3072,0,1,0,1,0,1,10,10,0,242,203,0,1000,491,125,79,1,4,0,0,24,200,0,0,3,20,22,25,100
(W p:^0011ms) (updateRegister)(C1) Error parsing register, expected 15 fields, got 14
(D p:^0004ms) (updateRegister)(C1) Update register request -
(D p:^0011ms) ,R9,F1,441820,4875,4,14,219,9999,275,24,1,6,384
(W p:^0004ms) (updateRegister)(C1) Error parsing register, expected 15 fields, got 14
(D p:^0011ms) (updateRegister)(C1) Update register request -
(D p:^0003ms) ,RA,F2,441978,2604,6,17,221,9999,344,44,0,200,380
(W p:^0001ms) (updateRegister)(C1) Error parsing register, expected 15 fields, got 14
(D p:^0011ms) (updateRegister)(C1) Update register request -
(D p:^0003ms) ,RB,F3,781894,3341,6,0,216,9999,402,42,0,255,406
(W p:^0011ms) (updateRegister)(C1) Error parsing register, expected 17 fields, got 12
(D p:^0003ms) (updateRegister)(C1) Update register request -
(D p:^0011ms) ,RC,0,0,0,0,0,0,0,0,0,2
(W p:^0003ms) (updateRegister)(C1) Error parsing register, expected 33 fields, got 37
(D p:^0001ms) (updateRegister)(C1) Update register request -
(D p:^0011ms) ,RE,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,-4,13,30,8,5,1,0,0,0,0,0

This integration was built for a SpaNet 3 controller, you've got a SpaNet 2.  It seems that they are return a very similar set of values that are slightly different.  It should not be too hard to map the SV2 values if you have an existing OEM wifi adaptor.  Do you have one?

That would explain a few things... No I don't have an OEM Wifi adaptor sadly, and they are a bit costly to get one.
I'm not to excited to spend much money on this spa as I got it almost for free with burned relays for heating. Fixed that and got a working spa, now the keypad took some frost damage and I can no longer operate the spa.
Would it be possible to work out the data using only the code that is already there?
Much trail and error testing I guess...

Even if you could borrow one, it would be extremely helpful. Basically what we need is a copy of the support output from the spa net application.Once we have this mapping the fields becomes trivial.On 9 Aug 2024, at 2:19 PM, Villhahallon @.***> wrote:
That would explain a few things... No I don't have an OEM Wifi adaptor sadly, and they are a bit costly to get one.
I'm not to excited to spend much money on this spa as I got it almost for free with burned relays for heating. Fixed that and got a working spa, now the keypad took some frost damage and I can no longer operate the spa.
Would it be possible to work out the data using only the code that is already there?
Much trail and error testing I guess...
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were assigned.Message ID: @.***>

So I'm lost if I can not get a hold of one then? :(
I will need to check around some then. Thank you for the help anyway.


Join To frieend list!!

plsnobanforbeingweeb

Your pull request looks good, and is ready for merging!
Thank you for being a part of Open Source, I hope you continue to help other repositories in the future!
This is an automated response, beep boop.
if you think there is a mistake, contact a maintainer

8cb848587a9aae6c05b753956be166dafd721c01


Userdata formatting

Working on a PR for adding userdata.  We were talking about the formatting of userdata as it can be multi-line.  Base64 was suggested.

#171


HttpHeaders.getLast to get last value of header

I think it's pretty common for propagation mechanisms to overwrite in a way that last header wins. HttpHeaders.getLast could be convenient for that.

Sounds good. We could get the last entry at O(1) like we can for the first entry, by making the linked list cyclic.


Project References Core Support

Fixes most of #3469
There are two separable but intertwined concepts present in this PR: Project references, and composite projects.
A project reference is an entry in a tsconfig file that points to another tsconfig file:
/* tsconfig.json */
{
   // ...
       "projectReferences": [
           /* Looks for ../other/dir/tsconfig.json */
           /* Could also be a filename rather than directory */
           { "path": "../other/dir" }
       ]
}

A project reference in a tsconfig file performs a redirection when resolving module names. Writing writing:
   import expr from "../other/dir/mod"

If a project reference subsumes ../other or ../other/dir, instead of looking for mod.ts/mod.tsx files in ../other/dir, we look for .d.ts files in the outDir of the referenced project.
In this PR, project references may not be circular.
Project references may include prepend: true in outFile compilations. The output of a prepend: true is prepended to the output of the outFile of the current project. Additionally, we write a .bundle_info file indicating where "this" project's JS starts so that tools (see tsbuild below) can re-use the downstream project JS if the upstream project JS changes without modifying its .d.ts content.
In order to be referenced, a tsconfig file must be a composite project. This is done by setting "composite": true (including possibly in a base tsconfig file). Composite projects are subject to additional constraints:

rootDir is inferred differently if not specified
The list of compiled files must be calculable without parsing any actual source files
Declaration emit must be enabled
outFile and module compilation may not be mixed

These rules define an additional property of composite projects: They can be trivially determined to be up-to-date or not, because the set of input files and output files can be determined without reading any source files from disk.
tsbuild leverages these properties to enable extremely fast rebuilds of large solutions. The projectReferencesDogfood branch demonstrates what this looks like for an outFile compilation.

As discussed offline, we need to handle side-by-side .spec.ts or .test.ts files.

What happens if you change a .d.ts file from e.g. @types ?

@RyanCavanaugh Sass uses the same approach and constraints as composite projects do and so I've done a number of build integrations over the years where I had to solve this problem, often involving cacheable intermediates that needed to be invalidated across (re-)builds and ensuring that only the invalidated dependents get rebuilt. If you want to point me to the specific places in this PR where transitive invalidations happen, I can review and see if I notice any gotchas or opportunities for perf improvements.
There's also some specific optimizations that can be done to ensure that files delivered as npm dependencies are efficiently dependency checked while also preserving npm link semantics during development. This project provides a simple API for creating a hash key that can be shared by all the files in an npm module. https://github.com/stefanpenner/hash-for-dep
Maybe you have this all figured out already, but if you feel like it would be helpful for me to do a code review, please let me know.

@weswigham @mhegazy can you take a look at this iteration?

@weswigham @mhegazy I believe I've addressed all the comments (as well as offline discussion) - please have a 👀

🎉🎉


Error: Minified React error #143 on Production Build

Running Redux v3.7.2 on Ubuntu 16.04.03 with the following redux example project: redux/examples/real-world   The development version works fine for me.  For the production build:

export NODE_ENV=production
npm run build
cd build
edit index.html.  Change "/static/js/main.5b96d134.js" to "./static/js/main.5b96d134.js"
Open browser link to the index.html file.
I get the following error:

react-dom.production.min.js:164 Error: Minified React error #143; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=143 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at r (react.production.min.js:11)
    at Object.only (react.production.min.js:19)
    at n.render (Provider.js:49)
    at c (react-dom.production.min.js:130)
    at beginWork (react-dom.production.min.js:133)
    at o (react-dom.production.min.js:161)
    at a (react-dom.production.min.js:161)
    at u (react-dom.production.min.js:162)
    at x (react-dom.production.min.js:169)
    at w (react-dom.production.min.js:168)

When I follow the same steps for the "redux/examples/async" code, I don't get any errors.

This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux where there are a lot more people ready to help you out. Thanks!

Eh, it is actually sort of a bug report - the complaint is about our own "Real World" example.

So can we re-open this since the issue is with the redux examples code?

On Windows 10, building the example and running it works fine for me, no warnings or errors in the page.
I also don't understand why you needed to manually set NODE_ENV=production, or edit index.html in the build output.

I just set that variable in case it was needed by the build script.  I'll just skip that from now on.  As for the index.html change, that's because without the "homepage" package.json setting, the site is assumed to be at the root.   I went ahead and just rebuilt without modifying anything and copied the build files to my root directory and I still get the error.
Did you both build and run on Windows 10?


failed to run custom build command for `openvr-driver-sys

failed to run custom build command for `openvr-driver-sys

You need to paste the full log and explain your issue, otherwise no one can help you. (Reopen this issue if you wish to do that)


Associate each application with a user specified public or private auth-protected registry

It's not reasonable to limit an Fn server to a single public or private registry (see #955).  Users will want to identify the registry where the functions for a given application are available.  This means registry configuration is not at the server level but at the app level, although it seems reasonable for an Fn server to have a default registry configured.
This requires that the Fn server safely store the user provided creds required to access a private registry.

@rdallman any chance we're going to get to this soon, like V1.0?

we can prioritize this. will leave the 'what's in v1.0' convo alone :)
it needs some API design work and is likely worth considering how best to maneuver users that put multiple credentials for the same registry on one app (meaning, we have to loop over credentials until one works and this doesn't create a great user experience necessarily -- the upside is it's more convenient to 'log in' to an app once and use it for multiple images). this attempts to align with a 'docker login' like flow but fn and docker aren't perfect analogues so it is worth thinking about anyway, the app solution is good but seems like we may be able to do better, but maybe not!
will try to explain the problem/solutions/tradeoffs a little more here and get some opinions


Hotfix: Added missing broadcast.

@yhirokawa san, I fixed a bug in modules/inputoutput.f90 and confirmed that SALMON runs properly even in parallel environment. Could you check it on your environment, and merge this PR if it passes.

@shunsuke-sato san, thank you for quick fix!
I made sure that the calculation is successfully finished. I will merge it.


SDK-utils not updated

Getting the error TypeError: Cannot read property 'OPTIMIZELY_CONFIG_UPDATE' of undefined
After installing  "@optimizely/js-sdk-utils": "^0.2.0", it works, by default it install v0.1.0

@optimizely/js-sdk-utils has been updated to 0.4.0. Assuming this was fixed.


RIA-TASK - INTERNAL -> REFUND : DO NOT MERGE

Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ x ] No

No longer needed