build fails at CMakeLists.txt copy step with arm64, can't find .so file

We are using expo ejected, have been using react-native-sodium without issue until we made compile and target sdk 28. Can't seem to get past this error in both debug and release builds.
package.json:
    "expo": "^34.0.3",
    "react": "16.8.3",
    "react-native": "0.59.8",
    ...
    "react-native-sodium": "^0.3.4",

AS error log:
Build command failed.
Error while executing process /Android/sdk/cmake/3.6.4111459/bin/cmake with arguments
{
-H/node_modules/react-native-sodium/android
-B/node_modules/react-native-sodium/android/.externalNativeBuild/cmake/debug/arm64-v8a
-DANDROID_ABI=arm64-v8a
-DANDROID_PLATFORM=android-26
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/node_modules/react-native-sodium/android/build/intermediates/cmake/debug/obj/arm64-v8a
-DCMAKE_BUILD_TYPE=Debug
-DANDROID_NDK=/Android/sdk/ndk-bundle
-DCMAKE_TOOLCHAIN_FILE=/Android/sdk/ndk-bundle/build/cmake/android.toolchain.cmake
-DCMAKE_MAKE_PROGRAM=/Android/sdk/cmake/3.6.4111459/bin/ninja
-GAndroid Gradle
- Ninja
-DANDROID_TOOLCHAIN=clang
}
-- Check for working C compiler: /Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang
-- Check for working C compiler: /Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++
-- Check for working CXX compiler: /Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring incomplete, errors occurred!
See also "/node_modules/react-native-sodium/android/.externalNativeBuild/cmake/debug/arm64-v8a/CMakeFiles/CMakeOutput.log".

CMake Error at CMakeLists.txt:23 (file):
  file COPY cannot find
  "/node_modules/react-native-sodium/android/../libsodium/libsodium-android-armv8-a/lib/libsodium.so".

I was able to fix this by updating node_modules/react-native-sodium/android/build.gradle:
 13     compileSdkVersion 28
 14     buildToolsVersion "28.0.3"
 15     defaultConfig {
 16         minSdkVersion 16
 17         targetSdkVersion 28

I also changed node_modules/react-native-sodium/android/CMakeLists.txt:
cmake_minimum_required(VERSION 3.4.1)

set(ARCH_DIR ${ANDROID_ARCH_NAME})

if( ANDROID_ABI STREQUAL "armeabi-v7a")
  set( ARCH_DIR "armv7-a" )
elseif ( ANDROID_ABI STREQUAL "arm64-v8a")
   set( ARCH_DIR "armv8-a" )
elseif ( ANDROID_ABI STREQUAL "x86")
  set ( ARCH_DIR "i686" )
elseif ( ANDROID_ABI STREQUAL "x86_64")
  set ( ARCH_DIR "westmere" )
endif()

#message(WARNING "ANDROID_ARCH_NAME=\"${ANDROID_ARCH_NAME}\" ARCH_DIR=\"${ARCH_DIR}\" ANDROID_ABI=\"${ANDROID_ABI}\"")

#if( ARCH_DIR STREQUAL "arm" )
#  set( ARCH_DIR "armv6" )
#elseif( ARCH_DIR STREQUAL "arm64" )
#  set( ARCH_DIR "armv8-a" )
#elseif( ARCH_DIR STREQUAL "x86" )
#  set( ARCH_DIR "i686" )
#elseif( ARCH_DIR STREQUAL "x86_64" )
#  set( ARCH_DIR "westmere" )
#elseif( ARCH_DIR STREQUAL "mips" )
#  set( ARCH_DIR "mips32" )
#elseif( ARCH_DIR STREQUAL "mips64" )
#  set( ARCH_DIR "mips64r6" )
#endif()

add_library(sodium SHARED IMPORTED)
include_directories( ${PROJECT_SOURCE_DIR}/../libsodium/libsodium-android-${ARCH_DIR}/include/ )
set_target_properties( sodium PROPERTIES IMPORTED_LOCATION ${PROJECT_SOURCE_DIR}/../libsodium/libsodium-android-${ARCH_DIR}/lib/libsodium.so )
file(COPY ${PROJECT_SOURCE_DIR}/../libsodium/libsodium-android-${ARCH_DIR}/lib/libsodium.so DESTINATION "${PROJECT_SOURCE_DIR}/lib/${ANDROID_ABI}")

add_library(sodium-jni SHARED src/main/cpp/sodium-jni.c)
target_link_libraries(sodium-jni sodium)

Please note that I'm not an expert, but this worked for me.

Can you instead make a pull request in github? It would be easier and more traceable than patching.

@lyubo I agree but I am unsure if this is the correct way of fixing this. If you think it is, I will create a PR, np.

fyi @peterkuiper @lyubo  what I discovered was that the build somehow did not unpack precompiled.tgz so there was no libsodium directory - not sure why this was happening but I unpacked it and problem was solved.
also I am forcing subprojects to use 28/28.0.3, so did not need to change libsodium gradle

@mutablestudio I'm experiencing the same thing. Sometimes the postinstall does not run (package.json). How do you force subprojects to use 28/28.0.3? Maybe you can share your changes with us.

to force subprojects, @peterkuiper in your root build.gradle (not the app gradle):
ext {
  compileSdkVersion = 28
  buildToolsVersion = '28.0.3'
}

// Force sub libs to use the compile sdk & build tools version
subprojects { subproject ->
  afterEvaluate{
    if((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
      android {
        compileSdkVersion rootProject.ext.compileSdkVersion
        buildToolsVersion rootProject.ext.buildToolsVersion
      }
    }
  }
}


Added batching support & made inference 2.66x faster

I added support for computing the image embeddings for a batch of images that are already preprocessed.
This allows much faster processing since now we can call set_image_batch once for all images instead of once for every image in a foor loop.
The choice of not doing preprocessing inside set_image_batch aligns with its goal of being fast since set_image expects a cpu numpy array in uint8 and requires to do various conversions that might not be necessary if someone already has a tensor in float32 already normalized in the range (0,1).
I also added apply_boxes_torch which allows preprocessing of the bounding box in pure pytorch (no cuda torch.Tensor to cpu numpy conversion just to finally go back to cuda torch.Tensor).
Test using a batch of 128 images (128, 3, 512, 512)  using pretrained efficientvit_sam_l0
Before
numpy_images = rearrange(images, "b c h w -> b h w c").cpu().numpy()

for i, (numpy_image, image_bounding_boxes) in enumerate(
    zip(numpy_images, images_bounding_boxes)
):
    self.segments_predictor.set_image(numpy_image) # Computes image embeddings 1 image at atime

    preprocessed_image_boxes = self.preprocess_boxes(image_bounding_boxes) # Using apply_boxes

    binary_masks, _, _ = self.segments_predictor.predict_torch(
        point_coords=None,
        point_labels=None,
        boxes=preprocessed_image_boxes,
        multimask_output=False,
    )

Time on a Quadro RTX 8000 : ~8s
After
self.segments_predictor.set_image_batch(sam_images) # sam_images are cuda torch.Tensor (B,C,H,W) float32 in range (0,1) already

for image_index, image_bounding_boxes in enumerate(images_bounding_boxes):
    preprocessed_image_boxes = self.preprocess_boxes_for_sam(
        image_bounding_boxes
    ) # Uses apply_boxes_torch

    image_binary_masks, _, _ = self.segments_predictor.predict_torch(
        image_index=image_index,
        point_coords=None,
        point_labels=None,
        boxes=preprocessed_image_boxes,
        multimask_output=False,
    )

Time on a Quadro RTX 8000: ~3s

Thanks for your contribution! This is highly beneficial for batch processing. I agree to merge it into the main branch.


Use systemd for Ubuntu 16.04

For Xenial, $::osfamily is detected as Debian, but $::operatingsystemmajrelease is 16.04. Therefore this module is still creating an init script.

Looks good, thanks @conradolega


No file found generated by mocha-json

Here's my workflow looks like:
name: Eslint & Mocha test check

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  build:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [12.x, 14.x, 16.x]

    defaults:
      run:
        working-directory: ./CAScript-node-js-runtime

    steps:
    - uses: actions/checkout@v2
    - run: npm ci
    - run: npm run build --if-present
    - run: npm test
    - name: Test Report
      uses: dorny/test-reporter@v1
      if: success() || failure()
      with:
        name: Mocha Tests
        path: test-results.json
        reporter: mocha-json

and test command: mocha -r ts-node/register test/**/*.ts --reporter json > test-results.json
Am I doing any wrong?

I am also seeing this issue

the file definitely exists but maybe its parsing it wrong? I checked that it matches the format in the example output and it looks fine, using<EMAIL_ADDRESS>and mocha 9.1.4


Style.css not exported for Text Layer Implementation

I'm running the VuePDF module and when I try importing the style.css like the documentation, I get an error:

Here's my code:
<script lang="ts" setup>
import { useQuasar } from 'quasar';
import { VuePDF, usePDF } from '@tato30/vue-pdf';
import<EMAIL_ADDRESS>import { ref, onBeforeMount, watch, reactive } from 'vue';
import VCodeBlock from '@wdns/vue-code-block';
import VueCookies from 'vue-cookies';

Any advice would be helpful, thanks!

It could be an issue from vite, the package.json exports are defined like this:
"exports": {
    ".": {
      "require": "./dist/index.umd.js",
      "import": "./dist/index.mjs",
      "types": "./dist/types/index.d.ts"
    },
    "./*.css": "./dist/*.css",
    "./src/*": "./src/*"
  }

Try modifying this line "./*.css": "./dist/*.css" by "./style.css": "./dist/style.css"

OK yes, that does fix it for me locally, thank you! But, when I actually deploy, the same error persists because the version of the module that gets installed still has the issue. Do you have any fix for this?


Remove dependencies from tests that require additional libraries

Remove dependencies from tests that are from outside required libraries.
Replaced:
org.apache.commons.lang3.RandomStringUtils
org.apache.commons.codec.binary.Hex
org.apache.commons.codec.DecoderException;
And replaced with with other methods / java.util functions.

Codecov Report

Merging #729 into dev will decrease coverage by 0.08%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev     #729      +/-   ##
============================================
- Coverage     48.03%   47.94%   -0.09%
+ Complexity     2631     2625       -6
============================================
  Files           118      118
  Lines         26753    26753
  Branches       4493     4493
============================================
- Hits          12852    12828      -24
- Misses        11773    11791      +18
- Partials       2128     2134       +6

Flag
Coverage Δ
Complexity Δ

#JDBC42
47.43% <ø> (-0.03%)
2575 <ø> (-7)

#JDBC43
47.83% <ø> (-0.13%)
2623 <ø> (-4)

Impacted Files
Coverage Δ
Complexity Δ

...om/microsoft/sqlserver/jdbc/ReaderInputStream.java
44.94% <0%> (-2.25%)
16% <0%> (ø)

...om/microsoft/sqlserver/jdbc/SimpleInputStream.java
51.11% <0%> (-1.49%)
11% <0%> (-1%)

...in/java/com/microsoft/sqlserver/jdbc/IOBuffer.java
53.04% <0%> (-0.47%)
0% <0%> (ø)

...m/microsoft/sqlserver/jdbc/SQLServerResultSet.java
33.3% <0%> (-0.4%)
247% <0%> (-4%)

...om/microsoft/sqlserver/jdbc/SQLServerBulkCopy.java
52.29% <0%> (-0.26%)
238% <0%> (-1%)

...rc/main/java/com/microsoft/sqlserver/jdbc/dtv.java
63.18% <0%> (+0.05%)
0% <0%> (ø)
:arrow_down:

...rc/main/java/com/microsoft/sqlserver/jdbc/DDC.java
45.41% <0%> (+1.56%)
107% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Not working with PHP 8

I get this when I try to install it:
Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - staudenmeir/laravel-upsert[v1.0, ..., 1.0.x-dev] require illuminate/database 5.5.*|5.6.*|5.7.* -> found illuminate/database[v5.5.0, ..., 5.7.x-dev] but these were not loaded, likely because it conflicts with another require.
    - staudenmeir/laravel-upsert[v1.1, ..., 1.1.x-dev] require php ^7.1.3 -> your php version (8.0.7) does not satisfy that requirement.
    - staudenmeir/laravel-upsert v1.2 requires php ^7.2 -> your php version (8.0.7) does not satisfy that requirement.
    - staudenmeir/laravel-upsert v1.3 requires php ^7.2.5 -> your php version (8.0.7) does not satisfy that requirement.
    - staudenmeir/laravel-upsert v1.4 requires php ^7.3 -> your php version (8.0.7) does not satisfy that requirement.
    - Root composer.json requires staudenmeir/laravel-upsert ^1.0 -> satisfiable by staudenmeir/laravel-upsert[v1.0, ..., v1.4].

Is there really a conflict for PHP 8 or can the requriements be changed?

What version of Laravel are you using?

I am unable to install via composer.
PHP 8.0.10
Laravel 8.65.0
Composer output:
Problem 1
- staudenmeir/laravel-upsert[v1.0, ..., 1.0.x-dev] require illuminate/database 5.5.|5.6.|5.7.* -> found illuminate/database[v5.5.0, ..., 5.7.x-dev] but these were not loaded, likely because it conflicts with another require.
- staudenmeir/laravel-upsert[v1.1, ..., 1.1.x-dev] require php ^7.1.3 -> your php version (8.0.10) does not satisfy that requirement.
- staudenmeir/laravel-upsert v1.2 requires php ^7.2 -> your php version (8.0.10) does not satisfy that requirement.
- staudenmeir/laravel-upsert v1.3 requires php ^7.2.5 -> your php version (8.0.10) does not satisfy that requirement.
- staudenmeir/laravel-upsert v1.4 requires php ^7.3 -> your php version (8.0.10) does not satisfy that requirement.
- Root composer.json requires staudenmeir/laravel-upsert ^1.0 -> satisfiable by staudenmeir/laravel-upsert[v1.0, ..., v1.4].

Update your composer.json file with my below code and then add your added package under "require": { } object, It will work
don't forget run command update composer
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"php": "^7.3|^8.0",
"fideloper/proxy": "^4.4",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.0.1",
"laravel/framework": "^8.40",
"laravel/socialite": "^5.3",
"laravel/tinker": "^2.5",
"dompdf/dompdf": "^1.0",
"intervention/image": "^2.5",
"maatwebsite/excel": "^3.1",
"softon/indipay": "^1.2"
},
"require-dev": {
"facade/ignition": "^2.5",
"fakerphp/faker": "^1.9.1",
"laravel/sail": "^1.0.1",
"laravel/ui": "^3.3",
"mockery/mockery": "^1.4.2",
"nunomaduro/collision": "^5.0",
"phpunit/phpunit": "^9.3.3"
},
"autoload": {
"psr-4": {
"App\": "app/"
},
"classmap": [
"database/seeds",
"database/factories"
],
"files": [
"app/helper/helpers.php"
]
},
"autoload-dev": {
"psr-4": {
"Tests\": "tests/"
}
},
"scripts": {
"post-autoload-dump": [
"Illuminate\Foundation\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-root-package-install": [
"@php -r "file_exists('.env') || copy('.env.example', '.env');""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
]
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true
}


Sync the configuration alternatives with the new configurations of the experiment

Related to : https://github.com/rosin-project/rosin-experiments/commit/629ccd33e8f818acd0b7f9879f3eac5c6691494c
The new launch files for the alternatives are also available under: https://github.com/rosin-project/metacontrol_move_base_configurations/pull/9

ping @chcorbato , I am not sure if this changes are useful but  at least now the yaml file is consistent with the current experiment configuration and the structure of the reasoner repositories.
I couldn't test it my self because I don't have currently a proper python3 environment on my machine, but in theory you should:
(copy-paste from the docu from this repo)
  mkdir -p ~/mros1_reasoner_ws/src
  cd mros1_reasoner_ws
  cd ~/mros1_reasoner_ws
  wstool init ~/mros1_reasoner_ws/src https://raw.githubusercontent.com/tud-cor/mc_mros_reasoner/master/mros1_reasoner/mros1_reasoner.rosinstall
  rosdep install --from-paths ~/mros1_reasoner_ws/src -y -i -r

and then update the branches and clone the .rossystem files:
cd ~/mros1_reasoner_ws/src/mros1_reasoner
git pull --rebase https://github.com/ipa-nhg/mc_mros_reasoner UpdateMetacontrolExperimentConfigFile
cd ~/mros1_reasoner_ws/src/mc_mdl_tomasys
git checkout master
cd   ~/mros1_reasoner_ws/src
git clone https://github.com/rosin-project/metacontrol_move_base_configurations
cd  ~/mros1_reasoner_ws
catkin build
source ~/mros1_reasoner_ws/devel/setup.bash

Lastly, you have to call the python script to generate the Owl, as argument you have to give the path to the config file:
rosrun mros1_reasoner rosmodel2owl.py ~/mros1_reasoner_ws/src/mros1_reasoner/mros1_reasoner/config/nav_config.yaml

Good luck!

I am fwding this to @marioney because he has more control over the experimental setup.
@marioney if you prefer me to test it (can be a good idea), could you please point me to the updated instructions to run the experiments?

@marioney if you prefer me to test it (can be a good idea), could you please point me to the updated instructions to run the experiments?

You can use this one https://github.com/rosin-project/metacontrol_experiments

I will close this PR since it has been open for more than 2 years and it has a lot of conflicts.


Outdated npm

Hi, it seems like published npm version is not your latest release version. Eg. passIfNotConnected option is missing.

Thanks for that! There was a bug in the release, I've released 2.1.0 now!


add node v6 to travis conf

will tap run ok under nodejs 6.0 or above right now?

Node 6.0 changed stdio behavior in a way that makes tap (and many other cli apps) not function as expected.  It's not yet stable.  When it is, I'll add it to the test config.  For now, it's not worth the effort to try to make it work.


GH-40510: [C++] Return scalar for pure ScalarFunctions called with no arguments

Rationale for this change
We should return scalar for pure ScalarFunctions called with no arguments.

What changes are included in this PR?
This is a temporary solution, and there are several issues that need to be discussed while I try to solve it:

For the impure function, it is possible not to specify the input length. Should we also return scalar?
Implementation:

The current implementation plan is to construct scalar in function exec stage without parameters and without specifying length and stuff it into ExecResult. The upper layer returns the scalar value based on have_all_scalars_ when EmitResult sends the results.
Personally, I think there is another An implementation plan is to add scalar to the variant value in ExecResult, which is more friendly to the exec logic of the function? However, this implementation method requires more changes to ScalarExecutor.

Are these changes tested?
Yes

Are there any user-facing changes?
No

GitHub Issue: #40510

I'm not very familiar with python and R APIs, but it seems that our changes will affect the behavior of many UDFs.

@pitrou Please take a look of the python/R failures if you have spare time :(
We've changed the pure function's (with no arguments) return type, array --> scalar. Seems lot of udf tests in Python and R affected :(

@ZhangHuiGui Could you first rebase so that we weed out any potentially unrelated CI failures?

@ZhangHuiGui Could you first rebase so that we weed out any potentially unrelated CI failures?

Thanks for reminding, rebased!

Generally, it seems confusing and error-prone that we are treating pure and impure functions differently here.
IMHO, this should apply only to varargs scalar functions such as coalesce, not genuine nullary functions such as random.

Generally, it seems confusing and error-prone that we are treating pure and impure functions differently here.

In fact, this issue/PR is just to make the return value of parameterless pure functions more reasonable.

IMHO, this should apply only to varargs scalar functions such as coalesce, not genuine nullary functions such as random.

It's the context in https://github.com/apache/arrow/issues/40510#issue-2184322765

However for the majority of scalar functions which are pure (their output is completely determined by their arguments), there is exactly one value corresponding to empty arguments. In the context of expression evaluation, returning this value as a scalar indicates that the value should be broadcast to whatever length is required for the enclosing expression. I think this is a more reasonable return value than an empty null array, which is what is returned by for example pa.max_element_wise()


file field & ModelRefs

Changes:

add delayed mode to add objects to relations
rework file field and fields
add old_value to to_model
rework factory
rework ModelRefs to use related names
misc bugfixes

hooray now we have it mainlined


The call trace doesnt not include RevertReason

This does not include RevertReason https://github.com/lmittmann/w3/blob/main/module/debug/call_trace.go#L30-L41 according the spec here https://geth.ethereum.org/docs/developers/evm-tracing/built-in-tracers .  see the calltracer section

PRs welcome

There is a workaround this by "simulating" the tx. Infact it is better as it doesn't burn the usually expensive trace credits on 3rd party RPC providers.
https://github.com/grassrootseconomics/celoutils/blob/v3/simulate.go

@lmittmann i am interested to work on this, lmk if this issue is open for contributions

fixed in #173


Notification.visitAncestor fails assertion: boolean expression must not be null

09:50:45.563: I/flutter (25389): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
09:50:45.568: I/flutter (25389): The following assertion was thrown during performLayout():
09:50:45.571: I/flutter (25389): Failed assertion: boolean expression must not be null
09:50:45.595: I/flutter (25389):
09:50:45.598: I/flutter (25389): Either the assertion indicates an error in the framework itself, or we should provide substantially
09:50:45.600: I/flutter (25389): more information in this error message to help you determine and fix the underlying cause.
09:50:45.603: I/flutter (25389): In either case, please report this assertion by filing a bug on GitHub:
09:50:45.605: I/flutter (25389):   https://github.com/flutter/flutter/issues/new
09:50:45.608: I/flutter (25389):
09:50:45.610: I/flutter (25389): When the exception was thrown, this was the stack:
09:50:45.613: I/flutter (25389): #0      Notification.visitAncestor (package:flutter/src/widgets/notification_listener.dart:22:18)
09:50:45.616: I/flutter (25389): #1      Element.visitAncestorElements (package:flutter/src/widgets/framework.dart:2561:39)
09:50:45.618: I/flutter (25389): #2      Notification.dispatch (package:flutter/src/widgets/notification_listener.dart:31:12)
09:50:45.621: I/flutter (25389): #3      SizeChangedLayoutNotifier.createRenderObject.<anonymous closure> (package:flutter/src/widgets/size_changed_layout_notifier.dart:36:45)
09:50:45.623: I/flutter (25389): #4      _RenderSizeChangedWithCallback.performLayout (package:flutter/src/widgets/size_changed_layout_notifier.dart:63:30)

Looks like the issue is I wasn't returning anything in my onNotification callback.  Maybe the message should indicate that as a likely cause...  or assume a null means false.

Ideally the analyzer would catch this, but yes, we should make the error message better in the meantime.

Closing as dup of #16631 because there is more documentation.


Receiving your first slayer task from Konar (in Twisted Leagues) does not set your slayer task

Unfortunately, I skipped past the chatbox dialog before realizing my slayer task wasn't set properly, so I don't know what the exact text was. Perhaps this can be found via some content creator's YouTube videos?

The raw message is:
We'll start you off bringing balance to cows, you'll need<br>to kill 44 of them.

added in https://github.com/runelite/runelite/commit/4578333fe003eece1642949ae73be89c8bb38a9e


Generate UUID instead int value as ID

Question
Is possible to generate a UUID as identifier of an object, instead sequential number?
Code sample
var box = await Hive.openBox('myBox');
var person = Person('Dave', 29);
String uuid = box.add(person); //-> '6c84fb90-12c4-11e1-840d-7b25c5ee775a'

You can provide keys when putting items to hive box.
box.put(key, value)

Example:
final key = uuid.v4();
box.put(key, myValue);
print('Saved $key');


tensorflow version

tensorflow version should be 1.x.

@YadiraF Hope the author could migrate it to tensorflow 2.x


FAQ entry for "poke participant"

A lot of support questions about poking your buddy. If the poke mail will be anonymous etc

we gaan hier iets anders mee doen


dendrite: 0.13.7 -> 0.13.8

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for dendrite is: Second-generation Matrix homeserver written in Go
meta.homepage for dendrite is: https://matrix-org.github.io/dendrite
meta.changelog for dendrite is: https://github.com/matrix-org/dendrite/releases/tag/v0.13.8
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS

[!CAUTION]
A test defined in passthru.tests did not pass.

found 0.13.8 in filename of file in /nix/store/zlpl64ysbp4qmnh37w0kaykqyc8ifyil-matrix-dendrite-0.13.8

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

dendrite

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/1389dc968b663a1c10550e5f9955f8deb1d3cf3b#dendrite

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/zlpl64ysbp4qmnh37w0kaykqyc8ifyil-matrix-dendrite-0.13.8
ls -la /nix/store/zlpl64ysbp4qmnh37w0kaykqyc8ifyil-matrix-dendrite-0.13.8/bin

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

1 package built:

dendrite

Maintainer pings
cc @Ma27 @fadenb @mguentner @Ralith @dali99 @sumnerevans @NickCao @teutat3s for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

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

1 package built:

dendrite

Hi and thank you for maintaining Dendrite in Nixpkgs!
Will it be backported to 24.05?


Enable switching to bare pointer ABI for MLIR

Once
https://github.com/ROCmSoftwarePlatform/llvm-project-mlir/pull/690
lands, the ABI for MLIR-generated kernels will change. This commit
prepares MIGraphX for the change by conditionally selecting the new
ABI if MLIR reports a sufficiently high API version in its headers.
The new code here is untested.

So this does make the kernel call much simpler. I do wonder how we would handle non-packed tensors.

What does "non-packed" mean, in this context?
If the strides and dimension lengths are known at the time the kernel is generated, the new ABI will still work - we'll just need to make sure to pass that information to the kernel generator (which is presumably already happening)

What does "non-packed" mean, in this context?

It means it skips over data in memory. Essentially, the offset to last element + 1(we call this the element_space) is not equal the number of elements. For example, a packed tensor would be {2, 4}, {4, 1}(ie the dims and strides), but a non-packed tensor could be {2, 4}, {8, 1}. Usually this comes from a slice or the output buffers for concat.

we'll just need to make sure to pass that information to the kernel generator

Yea thats definitely the better way to go.

(which is presumably already happening)

Currently we can't pass the strides, but hopefully this can be improved in the future.

Ok, yeah, we don't currently have handling for non-packed tensors in the MLIR interface, since we'd need to get the strides onto the tensor type at the point where we construct the input (which MLIR does have infrastructure for - we're just always setting that to the null attribute/identity map at the moment).
But the new bare pointer ABI will support non-packed tensors, so long as the stride vector is statically known. If it isn't, we'll need that old codepath around so we can pass in the strides.


Admin: Determine Deployment Options

@AnnieLa to follow up with Matt to determine what options we have in terms of hosting. Right now AWS is in the lead because it is what @jedpittman has used, but we need to find out:

What money is available (just for follow up/purposes)
What hosting options Code For Boston has already (are there partnerships etc?)

I have the word back from Matt.  He says:
A lot of folks are using Heroku free tier, but on my list is to get us more Digital Ocean credits and/or I can ask Code for America to fund AWS for the project.  Let me know if folks have a preference, but those are the “options” and I can just pursue whatever y’all are most comfortable with.

Closing this as Annie has given us the answer. We'll need to have a decision as part of our admin work in the next sprint.


Adding rate limiter to auth service

This adds a rate limiter so our APIs won't have the potential to be overloaded.

Looks like the rate limiter is causing the other cypress tests to fail. Looking into it.


Problem with the notebook sample

In the instructions of the notebook sample https://ibm.github.io/the-mesh-for-data/docs/usage/notebook-sample/
there is a problem in the vault login step. After the step of:
kubectl port-forward -n m4d-system svc/vault 8200:8200 &
We open http://localhost:8200 on the browser, select "method" as "username" and login using username "data_provider" and password "password". We get an error of "Authentication failed: missing client token".

I also tried:
$ vault login -address=http://<IP_ADDRESS>:8200 -method=userpass username=data_provider password=password
Handling connection for 8200
Error authenticating: Error making API request.
URL: PUT http://<IP_ADDRESS>:8200/v1/auth/userpass/login/data_provider
Code: 400. Errors:
* missing client token

It seems that the error occurs because a file called the-mesh-for-data/connectors/helpers/deploy.sh which set AUTH_METHOD=USERPASS was deleted.

@revit13 this sounds related to https://github.com/IBM/the-mesh-for-data/tree/master/connectors/vault only. There are two scripts there, can it be added to them?
This is all kind of obsolete really. If it's too much work we may want to wait a week or so and see if it's still relevant.

It seems to fit_vault_init.sh however the secrets are placed in a new vault server as opposed to putting them in the existing Vault instance  that in the control-plane so there might be additional minor adjustments to do to make the demo work properly.

Rethinking about it, it might be better to revisit this after the planned code changes as I am not sure how relevant the scripts are to the demo. @cdoron and myself worked on adding userpass auth path to Vault manually to make it work with the demo.


Mega-slow intellisense with extension enabled.

System information

OS: Windows 10 Pro
TypeScript Hero version: 2.3.2
VSCode version: 1.6.0 (this problem was in 1.5.2 too)

Description
Mega-slow intellisense with your extension enabled.
Steps to reproduce

Install angular extension pack in visual studio code.
Open typescript file and try property completion inside class. When it will be loaded try to save this file again and try again the same thing. You will see that every time you save a file property completion will be reset and load a few seconds again.
If you disable this extension it will be working immediatelly.

Similar issue.

Open VS Code with the inspect-extensions flag
> code . --inspect-extensions=9993

Starting working on Angular project

Recorded extensions and found TypeScript Hero with 2 orders of magnitude more profile time

Saved extension file and loaded in Javascript profiles, and this is what come up in logs

Disabled TypeScript Hero and problem went away


[oracle] Modify vote penalty to not jail if validator abstains instead of misses

still need to resolve issues with simulation/decoder but the rest of the change is ready for review.

Can we add the command to test pre-vote and vote in this PR description

prevote command example:
seid tx oracle aggregate-prevote $SALT 1uusdc,2uatom SEIVALOPER_ADDR --from $ACCOUNT_NAME --fees 2000usei
(the vote has to be in the next vote window)
vote command example:
seid tx oracle aggregate-vote $SALT 1uusdc,2uatom SEIVALOPER_ADDR --from $ACCOUNT_NAME --fees 2000usei


Sequential Scan + Halloween Problem Fix

This PR fixes the Halloween Problem along with the sequential scan problem.
It builds on #1240 and checks for an entry in each WriteSet for each tuple (irrespective of whether or not it updates the Primary Key).
I have tested this with varying tile_group_count. I have also tested the fix with and without codegen. It appears to have solved the Halloween problem for both the engines.

Hi @pervazea! I found that you have merged this branch to master. However, I just did a quick code review and it has bugs. The way to add statement-level write set in update executor/updater is wong. We could talk in person to discuss what's going wrong. I think you may want to revert this merge. Thank you!

Reviewed this morning, prior to merging.
Will be collecting yingjunwu's comments and feedback.

@pervazea The solution provided in this PR does not handle snapshot isolation and in-place updates. I am not sure whether you would like to revert this merge or I fix the bug in my PR?


missing libraries

Describe your problem here. If you are modding, please try testing your problem in a clean version of the engine instead, this ensures the problem is actually caused by the engine itself. Also, if you're using an older version of JSE, please try the latest action build in the Actions tab or the latest release build. The issue has probably been fixed since that version. Oh yeah, and also be sure to check the pinned 'JS Engine: Known Issues' issue, to double check if your issue hasn't already been found!
when i execute the linux file it says:error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: No such file or directory
Are you modding a build from source or with Lua?
no  i dident mod anything
What is your build target?
Linux
Did you edit anything in this build? If so, mention or summarize your changes.
no i dident

yeah, i don't use linux so i can't help you with that. i do have another friend who does use linux though, he might be able to help you

@cyklusiguess

yeah, i don't use linux so i can't help you with that. i do have another friend who does use linux though, he might be able to help you

My modified Psych fork on Linux is working perfectly fine. Old linc_luajit is outdated and it will throw many errors on Linux build target, so i am recommending to switch on latest linc_luajit one from PE 0.7+


Broken DAG - how are dependencies installed correctly?

Great stuff!
However, I wonder how needed Python dependencies are installed, as currently I get the error message below when executing the steps described below. Furthermore, according to the Apache Airflow documentation there seem to be several ways to provide some dependencies i.e. own Dockerfile and plugin folder.
Broken DAG: [/opt/airflow/dags/load_knowledge_graph.py] Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/opt/airflow/dags/load_knowledge_graph.py", line 15, in <module>
    from construction_site import parse_json
ModuleNotFoundError: No module named 'construction_site'

If I'm understanding the Apache Airflow documentation correctly, an own image has to be created where dependencies are installed in the Dockerfile. However, there is also the plugins directory. Thus I'm wondering how you installed dependencies.
Steps to reproduce

Clone the repo
set the AIRFLOW_UID in .env to the host user's UID
set the AIRFLOW_GID in .env to 0
Mount the correct dag directory by changing line 54 of the docker-compose file to - ./airflow_files/dags:/opt/airflow/dags
execute docker-compose up airflow-init
execute docker-compuse up and login via UI

The construction_site package is missing and this is a private repo for now. This should be made public soon, I just have to clean up the repo first. But feel free to replace the parse_json function by a command line run of https://github.com/AtomGraph/JSON2RDF though. The parse_json function is a python port of JSON2RDF.

Okay, thanks for the link I will have a look.
Currently I am on a small VM with very limited resources but I will keep the DockerOperator solution in mind for the future.
For now the following way to install needed functionality fixed my problem:
According to the Airflow documentation I created my own Dockerfile on top of Airflow (which I then use via build in docker-compose.yaml) installing apache-airflow-providers-ftp which was the dependency I actually needed. But I also installed curl and wget which I use for some preliminary testing in a preliminary (but probably not very recommended) setup using only BashOperators.
FROM apache/airflow:2.1.2
USER root
RUN apt-get update  \
    && apt-get install -y --no-install-recommends \
    && apt-get install curl wget \
    && pip install apache-airflow-providers-ftp \
    && apt-get autoremove -yqq --purge \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*
USER airflow


[Feature] Add a background

Description
I want to create a background that will have color splashes on the screen which will be animated splashes like someone throwing color ballon on the wall, I want to do it under GSSOC(2024)
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[x] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Do you want to add this background as a component in the Backgrounds category @pandeyroopam

Yes

Pls provide the name of your background @pandeyroopam

kindly assign me this issue under gssoc'24

Color burst background

Go ahead @pandeyroopam

Pls provide your PR @pandeyroopam


Fix CI integration

I probably did not specify enough configuration in .travis.yml.

Fixed in https://github.com/fbiville/headache/commit/55453c50f228d6ad0610d3003463f87044c9cb7b


New name suggestions for bareboard library

We are thinking of changing the name to something more descriptive that "bareboard" and are hereby requesting suggestions.
What do you suggest?

For the record, the following proposals are being investigated, but we're very open to other suggestions:

Ada_Driver_Library
Bare_Metal_Ada
Ada_Bare_Metal_Drivers

What about including 'ARM', 'Cortex' or 'Cortex M' in the name? Something like Ada_Cortex-M_Library? Or do you want to keep the possibility to extend the library to totally different architecures?

Indeed, ideally the HAL layer and the components layer could be used on different architectures, and we may add support for other architectures later on

Well, I have currently a design issue here: when automated resolution is OK, I create union types at the register level, while when the svd2ada file is in use, the union type is at the peripheral level.
I guess I'll have to fix that first before being able to merge anything and provide this kind of functionality.

Well, I have currently a design issue here: when automated resolution is OK, I create union types at the register level, while when the svd2ada file is in use, the union type is at the peripheral level.

I guess I'll have to fix that first before being able to merge anything and provide this kind of functionality.

This comment seems to belong to another issue...

Indeed, ideally the HAL layer and the components layer could be used on different architectures, and we may add support for other architectures later on

OK. Then perhaps 'Microcontroller' instead of Cortex M? After all, it's a library for microcontrollers and their peripherals, isn't it?

Oups, a cache issue I guess from my browser :(
Even microcontroller is a bit restricting here, as the components could perfectly be used with a Cortex-A for example. We'd like to not bring limitations here if we can have a more generic goal (even if this generic goal is never achieved). It's basically about Ada and how to write drivers in Ada. Embedded however might be an appropriate keyword.

'Embedded' is fine!

On the  micro-controller side it's likely that ARM Cortex-M/R will be the major architectures, but we may see some Leon3/4 or even AVR someday.
For the "bigger" platforms, as Jerome said, there's the possibility of bare-metal support on Cortex-A and it's also possible to consider Linux/Windows with the Raspberry-Pi and other single board computers. The Intel Edison platform is very interesting, it's a x86 running Linux and GNAT GPL works like a charm on it. I can easily see some HAL interfaces (I2C, SPI, UART) implemented on those platforms and then it should be easy to  use the components drivers.

I was writing something about the repository the other day and noticed that I kept referring to it is an Ada driver library, so I think I have convinced myself in favor of Fabien's suggestion. :-)

I also do keep referring to the library in those terms. Driver already means embedded anyway, so no need for duplication here. It's a library in Ada, about drivers. So I'm now really convinced that this name is just appropriate.

Sounds like we've reached a consensus on "Ada_Drivers_Library", so lacking any further inputs  I'll get the name changed.

Done.


ref: prompt for specific error fields

Changes
We encountered an error, but the error message does not match.
Error from server (BadRequest): error when creating "pipeline_scan.yml": admission webhook "validation.webhook.pipeline.tekton.dev" denied the request: validation failed: invalid value: name part must consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName',  or 'my.name',  or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]'): spec.tasks[0].name

Steps to Reproduce the Problem
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
...
  - name: scan
    params:
    - name: git_reponame
      value: $(params.git_reponame)
    runAfter:
    - git-clone
    taskRef:
      kind: ClusterTask
      name: scan-security.  // invalid taskRef.name
    workspaces:
    - name: repo
      workspace: repo
...

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs included if any changes are user facing
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/kind bug

/ok-to-test

/assign @vdemeester


Features added in dev-dependencies are always active inside a virtual workspace

Problem
If a crate has a dependency as both a normal dependency and as a dev-dependency, then the features it activates for the dev-dependency will be active during a normal build iff that crate is a member of a virtual workspace.
Steps
Playground building a local workspace showing the error: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=36347271fd4c23914346a6df034dc1dd
The Error is expected, it is the panic at the end that should not happen.
Possible Solution(s)
No response
Notes
Found while investigating https://github.com/rust-lang/docs.rs/issues/1783
Version
No response

resolver and workspaces interact oddly, see https://github.com/rust-lang/cargo/issues/10745#issuecomment-1152612730

Ok, setting workspace.resolver = "2" does fix it; and it looks like https://github.com/rust-lang/cargo/issues/10112 tracks adding a warning that would have instantly diagnosed this.


[sram_ctrl,dv] Add sec_cm_mem_readback test

This commit provides a new sec_cm_readback test that tests the SRAM readback FI countermeasure. In the test, a fault is injected during one of the read/write SRAM requests. The test checks, whether the expected alert fires.
Closes #23322.

Thanks for your review @vogelpi and the offline discussion regarding uvm_force and negative edges. I've adapted your comments and extended the test to also target other signals.


Stuck At "Searching for secure proxies"

So i ran the bot (.exe) and entered the URL ,300 views . It started at got stuck at Searching for secure proxies.

same issue with me.

same issue with me

same issues with me

same issue


The caller does not have permission observed when connecting to Postgres with IAM

We have a pipeline that connects to Cloud SQL Postgres via cloud_sql_proxy in order to run migrations.
This has been working until today on only one of our pipelines. We have verified all IAM permissions are correct and have not changed since the last deployment. The only thing to change is the cloud_sql_proxy version.
The command used to run cloud_sql_proxy is ./cloud_sql_proxy -enable_iam_login -instances=**REDACTED**=tcp:<IP_ADDRESS>:5432
This succeeds:
shell: /usr/bin/bash -e {0}
  env:
    CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE: /home/runner/work/**REDACTED**/gha-creds-ad78668b1ecc5bbf.json
    GOOGLE_APPLICATION_CREDENTIALS: /home/runner/work/**REDACTED**/gha-creds-ad78668b1ecc5bbf.json
    GOOGLE_GHA_CREDS_PATH: /home/runner/work/**REDACTED**/gha-creds-ad78668b1ecc5bbf.json
    CLOUDSDK_CORE_PROJECT: ***
    CLOUDSDK_PROJECT: ***
    GCLOUD_PROJECT: ***
    GCP_PROJECT: ***
    GOOGLE_CLOUD_PROJECT: ***
    CLOUDSDK_METRICS_ENVIRONMENT: github-actions-setup-gcloud
2022/09/13 05:[4](https://github.com/**REDACTED**/actions/runs/3042353941/jobs/4901056827#step:6:4)9:[5](https://github.com/**REDACTED**/actions/runs/3042353941/jobs/4901056827#step:6:5)5 current FDs rlimit set to [6](https://github.com/**REDACTED**/actions/runs/3042353941/jobs/4901056827#step:6:6)5536, wanted limit is 8500. Nothing to do here.
2022/09/13 05:49:55 using credential file for authentication; path="/home/runner/work/**REDACTED**/gha-creds-ad[7](https://github.com/**REDACTED**/actions/runs/3042353941/jobs/4901056827#step:6:7)[8](https://github.com/**REDACTED**/actions/runs/3042353941/jobs/4901056827#step:6:8)668b1ecc5bbf.json"
2022/0[9](https://github.com/**REDACTED**/actions/runs/3042353941/jobs/4901056827#step:6:9)/13 05:49:56 Listening on <IP_ADDRESS>:5432 for **REDACTED**
2022/09/13 05:49:56 Ready for new connections
2022/09/13 05:49:56 Generated RSA key in [10](https://github.com/**REDACTED**/actions/runs/3042353941/jobs/4901056827#step:6:10)5.240729ms

Connecting to the database fails:User *** was denied access on the database.
Cloud SQL Logs
[
  {
    "protoPayload": {
      "@type": "type.googleapis.com/google.cloud.audit.AuditLog",
      "status": {},
      "authenticationInfo": {
        "principalEmail"<EMAIL_ADDRESS>        "serviceAccountDelegationInfo": [
          {
            "principalSubject": "principal://iam.googleapis.com/projects/**REDACTED**/locations/global/workloadIdentityPools/**REDACTED**"
          }
        ],
        "principalSubject"<EMAIL_ADDRESS>      },
      "requestMetadata": {
        "callerIp": "<IP_ADDRESS>",
        "requestAttributes": {
          "time": "2022-09-13T05:42:55.826012Z",
          "auth": {}
        },
        "destinationAttributes": {}
      },
      "serviceName": "cloudsql.googleapis.com",
      "methodName": "cloudsql.instances.connect",
      "authorizationInfo": [
        {
          "resource": "projects/**REDACTED**/instances/**REDACTED**",
          "permission": "cloudsql.instances.connect",
          "granted": true,
          "resourceAttributes": {
            "service": "sqladmin.googleapis.com",
            "name": "projects/**REDACTED**/instances/**REDACTED**",
            "type": "sqladmin.googleapis.com/Instance"
          }
        }
      ],
      "resourceName": "projects/**REDACTED**/instances/**REDACTED**",
      "request": {
        "project": "**REDACTED**",
        "instance": "**REDACTED**~**REDACTED**",
        "@type": "type.googleapis.com/google.cloud.sql.v1.GenerateEphemeralCertRequest"
      },
      "response": {
        "@type": "type.googleapis.com/google.cloud.sql.v1.GenerateEphemeralCertResponse",
        "ephemeralCert": {
          "kind": "sql#sslCert"
        }
      }
    },
    "insertId": "yp3ncwe46tbw",
    "resource": {
      "type": "cloudsql_database",
      "labels": {
        "database_id": "**REDACTED**:**REDACTED**",
        "project_id": "**REDACTED**",
        "region": "**REDACTED**"
      }
    },
    "timestamp": "2022-09-13T05:42:55.792726Z",
    "severity": "NOTICE",
    "logName": "projects/**REDACTED**/logs/cloudaudit.googleapis.com%2Factivity",
    "receiveTimestamp": "2022-09-13T05:42:56.421009763Z"
  },
  {
    "textPayload": "2022-09-13 05:42:56.223 UTC [813]: [1-1]<EMAIL_ADDRESS>FATAL:  Cloud SQL IAM service account authentication failed for user<EMAIL_ADDRESS>    "insertId": "s=66dcde166978455da7d6a2d61a363195;i=381880;b=364c947511484f3ab8216b5a05e85311;m=2e64984bc26;t=5e8887bf244e4;x=a8bcfc8852b68839-0-0@a1",
    "resource": {
      "type": "cloudsql_database",
      "labels": {
        "region": "**REDACTED**",
        "project_id": "**REDACTED**",
        "database_id": "**REDACTED**:**REDACTED**"
      }
    },
    "timestamp": "2022-09-13T05:42:56.224484Z",
    "severity": "ALERT",
    "labels": {
      "INSTANCE_UID": "1-582f293d-c2e3-4d8e-b78d-2d6d71c04f22",
      "LOG_BUCKET_NUM": "50"
    },
    "logName": "projects/**REDACTED**/logs/cloudsql.googleapis.com%2Fpostgres.log",
    "receiveTimestamp": "2022-09-13T05:43:21.782980060Z"
  },
  {
    "textPayload": "2022-09-13 05:42:56.223 UTC [813]: [2-1]<EMAIL_ADDRESS>DETAIL:  The caller does not have permission\nConnection matched pg_hba.conf line 21: \"local   all           +cloudsqliamserviceaccount         cloudsql-iam-svc-acct\"",
    "insertId": "s=66dcde166978455da7d6a2d61a363195;i=381881;b=364c947511484f3ab8216b5a05e85311;m=2e64984bf11;t=5e8887bf247ce;x=602f7072a4192fcb-0-0@a1",
    "resource": {
      "type": "cloudsql_database",
      "labels": {
        "database_id": "**REDACTED**:**REDACTED**",
        "region": "**REDACTED**",
        "project_id": "**REDACTED**"
      }
    },
    "timestamp": "2022-09-13T05:42:56.225230Z",
    "severity": "INFO",
    "labels": {
      "LOG_BUCKET_NUM": "50",
      "INSTANCE_UID": "1-582f293d-c2e3-4d8e-b78d-2d6d71c04f22"
    },
    "logName": "projects/**REDACTED**/logs/cloudsql.googleapis.com%2Fpostgres.log",
    "receiveTimestamp": "2022-09-13T05:44:21.663968677Z"
  }
]

How to reproduce

Authenticate with GCP using Workload Identity Provider
./cloud_sql_proxy -enable_iam_login -instances=**REDACTED**=tcp:<IP_ADDRESS>:5432
Establish connection via any client using IAM credential

Environment

OS type and version: Ubuntu 20.0 LTS (GitHub Actions Runner)
Cloud SQL Proxy version (./cloud-sql-proxy --version): 1.32.0

@willhackett Have you tried reverted to v1.31.2?

Another thing to try is connecting from your own dev machine with the service account's credential file to verify permissions.
I just manually checked that the latest proxy can connect to a Postgres instance using auto IAM AuthN without issue. So I suspect this is a configuration issue.

@enocom thanks for your response.
1.31.2 fails too.
I'm at a loss given the configuration matches the twin environment exactly, yet has failed.
When connecting from my machine using the service account I receive the same error: FATAL:  Cloud SQL IAM service account authentication failed for user **

@enocom I've managed to identify the issue and resolve it.
Everything was configured correctly as per Google's guide, but the service account role created in Postgres had created the database in use. For whatever reason, this prevented Cloud SQL from modifying the role (including deleting it). We found this issue by trying to delete the user from the console.

Glad to hear you've fixed the issue. And good to know.


Validation of object type with anyOf/oneOf

Environment

Nuget Package: JsonSchema.Net
Nuget Version: 4.0.6
OS: Windows
.Net Target: net6.0

Describe the bug
anyOf/oneOf doesn't work with object types. This is example from stack overflow.
Let's consider JSON:
{
    "items": [
        {
            "name": "foo",
            "otherProperty": "bar"
        },
        {
            "name": "foo2",
            "otherProperty2": "baz",
            "otherProperty3": "baz2"
        },
        {
            "name": "imInvalid"
        }
    ]
}

and Schema:
{
"$schema": "http://json-schema.org/draft-07/schema#"
"type": "object",
"required": ["items"],
"properties": {
    "items": {
        "type": "array",
        "minItems": 1,
        "additionalProperties": false,
        "items": {
            "anyOf": [
                {
                    "type": "object",
                    "required": ["name", "otherProperty"],
                    "additionalProperties": false,
                    "properties": {
                        "otherProperty": { "type": "string" },
                        "name": { "enum": [ "foo" ] }
                    }
                },{
                    "type": "object",
                    "required": ["name", "otherProperty2", "anotherProperty3" ],
                    "additionalProperties": false,
                    "properties": {
                        "otherProperty2": { "type": "string" },
                        "anotherProperty3": { "type": "string" },
                        "name": { "enum": [ "foo2" ] }
                    }
                }
            ]
        }
    }
}
}

This seems to be the valid schema. First item in array corresponds first item in schema and second item in array corresponds second item in schema. Only 3d item of array should be invalid. But instead all items in array failed against this schema.
To Reproduce
var schema = JsonSchema.FromFile("json-schema1.json");
var document = JsonDocument.Parse(File.ReadAllText("json1.json"));
var result = schema.Evaluate(document.RootElement, new EvaluationOptions { EvaluateAs = SpecVersion.Draft7, RequireFormatValidation = true, OutputFormat = OutputFormat.List });
// Check result.Details errors, there are errors for each element in array.

Expected behavior
Only "name": "imInvalid" is considered as invalid.

When you select either detailed output format, it's going to give you all of the results, even those you may not consider relevant.
The important thing when reading the output is to notice the evaluationPath and instanceLocation properties of each node.
So, for the first item,
{
  "name": "foo",
  "otherProperty": "bar"
}

the following output units are reported (among others, but these are the interesting ones):

{
  "valid": true,
  "evaluationPath": "/properties/items/items/anyOf/0",
  "schemaLocation": "https://json-everything.net/c796c47d85#/properties/items/items/anyOf/0",
  "instanceLocation": "/items/0",
  "annotations": {
    "properties": [
      "otherProperty",
      "name"
    ],
    "additionalProperties": []
  }
}

{
  "valid": false,
  "evaluationPath": "/properties/items/items/anyOf/1",
  "schemaLocation": "https://json-everything.net/c796c47d85#/properties/items/items/anyOf/1",
  "instanceLocation": "/items/0",
  "errors": {
    "required": "Required properties [\"otherProperty2\",\"anotherProperty3\"] were not present"
  }
}

The first gives a report that the item is valid according to /properties/items/items/anyOf/0, which is what you expect.
The second gives a report that the item is invalid according to /properties/items/items/anyOf/1, which is correct, but perhaps not what you expect.
(Interestingly, I'd expect an output unit for the evaluation path /properties/items/items/anyOf, but I don't see one.  I'll look into this.)
The anyOf combines these two results and checks to see if any are valid.  One of them is valid, so the value at /items/0 in the instance passes validation, but everything in the evaluation is still reported.
You may be interested in this issue in the spec repo where we're discussing how to properly prune output units so confusion like this doesn't occur.   I also have a PR that aims to address some of this by giving implementations leeway to define filtering as their users need.  It's still very much a work in progress, but we're hoping to resolve some of this for the next spec release.

Interestingly, I'd expect an output unit for the evaluation path /properties/items/items/anyOf, but I don't see one. I'll look into this.

Nevermind.  allOf doesn't contain a single subschema, so it doesn't get an output unit of its own.  The new output format (new in the currently unpublished spec draft) reorganizese the output to be based on subschemas.  Since anyOf doesn't contain a single keyword, it doesn't get an output unit of its own.  Instead each of its subschemas get their own output unit, as I showed above.
The output is right.

Greg,
Thanks for the clarification! I also didn't noticed that there is an error in JSON property name otherProperty3 which is labeled as anotherProperty3 in Schema and that overall validation result is true if fix this error in JSON (and remove imInvalid).
Yes, if we'd have the way to distinguish 'false-negative' that would be highly appreciated. I also want to provide user a list of invalid JSON fields, but with "anyOf" it's not possible as I see. Maybe I'll just use "if-then" condition instead.

if we'd have the way to distinguish 'false-negative' that would be highly appreciated.

Yeah, as I mentioned, we're exploring options from the specification side.  I don't want to introduce anything here that may eventually conflict with whatever we decide over there.  I'm afraid that sifting through the results will be a manual process if you're reading it yourself (as opposed to programmatically).


some confusion about mamba block

i browse mamba block code  and have some questions:
1.
https://github.com/state-spaces/mamba/blob/12d855003ba92c8a15d1739ce65a14c6fb16e254/mamba_ssm/modules/mamba_simple.py#L92C5-L99C44
https://github.com/state-spaces/mamba/blob/12d855003ba92c8a15d1739ce65a14c6fb16e254/mamba_ssm/modules/mamba_simple.py#L240
in line 92-99, copy $softplus\ inverse(dt_ bias) to dt\ proj.bias$, dt_bias~uniform(d_min, d_max) .  and in line 240, $dt = softplus(dt+ dt_proj.bias)$.
according derivation, $softplus(softplus_ inverse(dt)) = dt_ bias$, so $dt = softplus(dt) + dt_ bias$.
it is not consistent to "Algorithm 2 SSM + Selection (S6) " in paper.  Why dt_bias do softplus_inv?   Why initialize bias uniform(d_min, d_max) with $exp^{log(rand)}$, concerning numeric stability?
2.
https://github.com/state-spaces/mamba/blob/12d855003ba92c8a15d1739ce65a14c6fb16e254/mamba_ssm/modules/mamba_simple.py#L242C12-L242C51
in paper, $\bar{B} = (\Delta A)^{-1}(exp(\Delta A)-I)(\Delta B)$ , but in line 242, $\bar{B} = \Delta B$ as same as $\bar{A}$

I believe this softplus parameterization ensures that for whatever weight value in softplus_inv, the variable dt is guaranteed to be between 0 and 1. Then during the training it would be more stable.
A potential relevant material is StableSSM(https://arxiv.org/abs/2311.14495). It theoretically shows the usage of exponential and softplus helps the learning of long-term memory and training stability.

I believe this softplus parameterization ensures that for whatever weight value in softplus_inv, the variable dt is guaranteed to be between 0 and 1. Then during the training it would be more stable.
A potential relevant material is StableSSM(https://arxiv.org/abs/2311.14495). It theoretically shows the usage of exponential and softplus parameterizations helps the learning of long-term memory and training stability.

i revisit paper carafully,  paper mentions that parameter $\Delta$ is initialized by $\tau^{-1}_{\Delta}(uniform([0.001，0.01])$ in chapter 3.6. it's my oversight.

How about question 2， I have the same confusion

Question 2 has been answered in the issue #114 (closed). Long story short, the code implementation approximates paper implementation with easier computation.


V1.4.0

Readme doesn't mention the compatibility to R4, I updated it in the master branch but it is not in this one.
Also does this support the Scara now? If yes it should be included in the readme.

Also does this support the Scara now? If yes it should be included in the readme.

The readme does indicate Mcs500 (scara) is supported:
"Update API to support Mcs500"
Are you thinking about something else to add in the readme?

Also does this support the Scara now? If yes it should be included in the readme.

@gbmecademic The readme does indicate Mcs500 (scara) is supported: "Update API to support Mcs500"
Are you thinking about something else to add in the readme?

That's indicated in the Release Notes. The README does not mention Mcs500 support under Supported Robots


[SPARK-30801][SQL] Subqueries should not be AQE-ed if main query is not

What changes were proposed in this pull request?
This PR makes sure AQE is either enabled or disabled for the entire query, including the main query and all subqueries.
Currently there are unsupported queries by AQE, e.g., queries that contain DPP filters. We need to make sure that if the main query is unsupported, none of the sub-queries should apply AQE, otherwise it can lead to performance regressions due to missed opportunity of sub-query reuse.
Why are the changes needed?
To get rid of potential perf regressions when AQE is turned on.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Updated DynamicPartitionPruningSuite:

Removed the existing workaround withSQLConf(SQLConf.ADAPTIVE_EXECUTION_ENABLED.key, "false")
Added DynamicPartitionPruningSuiteAEOn and DynamicPartitionPruningSuiteAEOff to enable testing this suite with AQE on and off options
Added a check in checkPartitionPruningPredicate to verify that the subqueries are always in sync with the main query in terms of whether AQE is applied.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23082/
Test PASSed.

cc @cloud-fan @gatorsmile

Test build #118324 has started for PR 27554 at commit becb0d5.

Test build #118332 has started for PR 27554 at commit 05a6b6f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23089/
Test PASSed.

Test build #118324 has finished for PR 27554 at commit becb0d5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/118324/
Test PASSed.

Test build #118332 has finished for PR 27554 at commit 05a6b6f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/118332/
Test PASSed.

LGTM, can you fix conflicts?

Test build #118368 has started for PR 27554 at commit 1adf99e.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23125/
Test PASSed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23131/
Test PASSed.

Test build #118374 has started for PR 27554 at commit 1adf99e.

Test build #118368 has finished for PR 27554 at commit 1adf99e.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Like(left: Expression, right: Expression, escapeChar: Char)
case class RLike(left: Expression, right: Expression) extends StringRegexExpression
case class AlterTableReplaceColumnsStatement(
trait LegacyDateFormatter extends DateFormatter
class LegacyFastDateFormatter(pattern: String, locale: Locale) extends LegacyDateFormatter
class LegacySimpleDateFormatter(pattern: String, locale: Locale) extends LegacyDateFormatter
class MicrosCalendar(tz: TimeZone, digitsInFraction: Int)
class LegacyFastTimestampFormatter(
class LegacySimpleTimestampFormatter(
trait BaseAggregateExec extends UnaryExecNode

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/118368/
Test PASSed.

Test build #118374 has finished for PR 27554 at commit 1adf99e.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class Like(left: Expression, right: Expression, escapeChar: Char)
case class RLike(left: Expression, right: Expression) extends StringRegexExpression
case class AlterTableReplaceColumnsStatement(
trait LegacyDateFormatter extends DateFormatter
class LegacyFastDateFormatter(pattern: String, locale: Locale) extends LegacyDateFormatter
class LegacySimpleDateFormatter(pattern: String, locale: Locale) extends LegacyDateFormatter
class MicrosCalendar(tz: TimeZone, digitsInFraction: Int)
class LegacyFastTimestampFormatter(
class LegacySimpleTimestampFormatter(
trait BaseAggregateExec extends UnaryExecNode

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/118374/
Test PASSed.

LGTM, merging to master/3.0!


Dead documentation link

Summary
When I tried to install microk8s on an LXC container I've got the following error message
..
+ printf -- '\e[1;31mERROR: \033[0m the lxc profile for MicroK8s might be missing. \n'
ERROR:  the lxc profile for MicroK8s might be missing.
+ printf -- '\t  Refer to this help document to get MicroK8s working in with LXD: \n'
	  Refer to this help document to get MicroK8s working in with LXD:
+ printf -- '\t  https://microk8s.io/docs/lxd \n'
	  https://microk8s.io/docs/lxd
..

But the link https://microk8s.io/docs/lxd does not exist (ref https://github.com/canonical/microk8s/blob/af64960aecea395a59d3d849e044040d23045831/snap/hooks/install#L26)
What Should Happen Instead?
Provide a link to the current documentation
Reproduction Steps

1.start an LXC container
2. run sudo snap install --classic microk8s

Thank you for reporting this @r00ta, we will have a fix for that broken link soon. For now you can read the lxc related info in https://microk8s.io/docs/install-lxd


bug: Bunny crashes on Android 15 Beta 4

Steps to reproduce:

Update to Android 15 Beta 4
Launch Bunny (Stable, Beta, Alpha) (Non-root)
It closes instantly, get owned

LSPosed supports up to A15 Beta 2

I can confirm, beta 3 worked still fine. Issue only arised after beta 4 update. I'm not sure what changed in between. I checked all other apps and they all work properly.
If it's LSPosed related and it only support up to beta 2, shouldn't the issues have started on 3 already?

Issue started on beta 4 on my end, however, I had to update my bunny in beta 3

Issue occuring for me on b5, never happened on B4 or 3.

Issue occuring for me on b5, never happened on B4 or 3.

You may be mixing up Beta 3.1 with Beta 4. There is no Beta 5 nor is there one planned.
That being said, can also confirm it's crashing on Pixel 8 Pro on 15b4

You may be mixing up Beta 3.1 with Beta 4. There is no Beta 5 nor is there one planned.

oops! mb, thanks for the correction

I got more information from adb logcat --buffer=crash 🤔
java.lang.RuntimeException: Unable to instantiate application com.discord.MainApplication package io.github.pyoncord.app: java.lang.ClassNotFoundException: Didn't find class "com.discord.MainApplication"

This is also happening to me.
Baseband version g5300q-240704-240707-B-12055926,g5300q-240704-240707-B-12055926
Kernel version 5.10.209-android13-4-00008-g28a6e1ad779c-ab11971276
#1 Fri Jun 14 01:29:26 UTC 2024

Installing with Shizuku doesn't fix this

duh

:(

The mentioned pr fixes the issue, you can download the debug apk from GitHub Actions for the time being. I had to remove the existing apps beforehand in order to fully reinstalll Bunny.

https://github.com/pyoncord/BunnyManager/releases/tag/1006 should do

I was prompted for an update but it still crashes on launch


Fail to Run TVM tests

Dear authors,
I've tried to run the tvm test: hawq_utils_resnet50.py but failed since your provided  .pth files (https://drive.google.com/file/d/1Ldo51ZPx6_2Eq60JgbL6hdPdQf5WbRf9/view?usp=sharing) cannot match the dictionaries in hawq_utils_resnet50.py. This issue has been reported in https://github.com/Zhen-Dong/HAWQ/issues/10#issue-834706092. I've modified the hawq_utils_resnet50.py to support resnet18. For consistency of experimental results, I wish that you can provide us the quantized resnet50 model file.
Besides, the input_image_batch_1.npy file is also not provided. I failed to run test_resnet_inference.py too by generating the image .npy file by myself. The error message is as below:
File "test_resnet_inference.py", line 75, in <module>
    input_image = np.trunc(input_image)

TypeError: type numpy.ndarray doesn't define __trunc__ method

I'm not sure what's the reason resulting to this problem.
Would you please provide us these necessary files?
Thank you in advance.

Hi,

Can you share you error messages for the dictionary? We will check again and upload the correct version

The input_image_batch_1.npy is here https://github.com/Zhen-Dong/HAWQ/tree/main/tvm_benchmark/models

The numpy error should be caused by the numpy version. What is the version of you numpy? I see 1.2.1 should still have this function defined.

Hi,

Can you share you error messages for the dictionary? We will check again and upload the correct version
The input_image_batch_1.npy is here https://github.com/Zhen-Dong/HAWQ/tree/main/tvm_benchmark/models
The numpy error should be caused by the numpy version. What is the version of you numpy? I see 1.2.1 should still have this function defined.

Hi, thank you for the quick reply. Maybe I've tried the error commands or used the wrong files. It's my pleasure if you can help figure out the problems.

I've tried to run python hawq_utils_resnet50.py --model-dir ./data. Two models are tested: ResNet50 W8A8 (https://drive.google.com/file/d/1Ldo51ZPx6_2Eq60JgbL6hdPdQf5WbRf9/view?usp=sharing) and ResNet50 W4A4 (https://drive.google.com/file/d/1DDis-8C-EupCRj-ExH58ldSv-tG2RXyf/view?usp=sharing). Both these two tests report the error message:

  File "hawq_utils_resnet50.py", line 479, in <module>
    model = torch.load(file_name)
  File "xxx/site-packages/torch/serialization.py", line 579, in load
    with _open_file_like(f, 'rb') as opened_file:
  File "xxx/site-packages/torch/serialization.py", line 230, in _open_file_like
    return _open_file(name_or_buffer, mode)
  File "xxx/site-packages/torch/serialization.py", line 211, in __init__
    super(_open_file, self).__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'xxx/quantized_checkpoint.pth.tar'

There are no quantized_checkpoint.pth.tar files in the provided download links.
Then I tried to use the ResNet18 model (https://drive.google.com/file/d/1CLAd3LhiRVYwiBZRuUJgrzrrPFfLvfWG/view?usp=sharing), the problem is there are no qconfig modules in the model. I'm not sure whether these items are important and whether we can reproduce the results while ignoring these items (https://github.com/Zhen-Dong/HAWQ/issues/10#issuecomment-808662788).
Or should I follow the guides to generate the quantized models by myself?

My numpy version is 1.19.1. Do I need to downgrade the numpy?

I think the quantized_checkpoint got renamed for some reasons.... You can extract the zipped file and rename it quantized_checkpoint.pth.tar from checkpoint.pth.tar

I realized the problem may not be caused by the version but the image data. Can you try to use the image I provided? If the image.npy you generated is type of integer, it may causes an error.

@zachzzc no, the quantized_checkpoint are not present for most models in the zoo
One has to extract the quantized weights themselves using torch  (https://github.com/Zhen-Dong/HAWQ/issues/13#issuecomment-820224642)
Please see the validate function in the quant train file


Remove dead substitution

Because y==x, the 'subst s y x' makes no difference.
This doesn't cause any real problem, other than taking the reader
a minute of wondering whether there may be special magic behind these
two lines.

Thank you! Odd that slipped by, I think perhaps originally I wanted to allow y to be different than x!


Documentation: Design system guidance Np-1306

To help the user of the Design System know how to use the foundations and components.

Added the guidelines for icons, breadcrumbs, callouts, and targeted contents.

I've addressed most of the comments. Still trying to find out the answer to "Example callout for quotes" as Zarlashata didn't know too much about it…

Can anyone help me with the conflict situation please? :pray:


⚠ Bofrost.es has degraded performance

In 5e00ff7, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 5502 ms

Resolved: Bofrost.es performance has improved in efd0384 after 16 minutes.


protocol tests for primitive 0 zero-value serialization

0-value serialization when:

optional primitive numeric
required primitive numeric
optional primitive bool
required primitive bool

Since serializers will usually not share this behavior, it's important to cover this for all relevant protocols:

awsQuery
restXml
restJson
awsJson

ecQuery is a special case here–in ec2Query all members should be considered boxed.

These are all covered in IDL v2 that will ship soon.


Spam Video ID Submission

Duplicate Links

[X] Yes, I checked that the ID is not currently in the list
[X] I read the wiki explaining each different categories and examples before submitting

(Required) Spam Comment Direct Link
https://www.youtube.com/watch?v=yuo6P-eg3kQ&lc=UgxzLS6aVLtVl4pnRcx4AaABAg.9z9A0q5d9pq9z9AhF4WWe1
https://www.youtube.com/watch?v=yuo6P-eg3kQ&lc=UgyEnGKRCCuK38Fi7U14AaABAg.9z9HcsGlC2w9z9PzoVuL8b
(Optional) Screenshot of comments using the link

(Required) List of the spam video IDs / Links
https://www.youtube.com/watch?v=NvEwW7vfKVs
https://www.youtube.com/watch?v=HbM0cxyODpI

I think it's abundantly clear by now that all videos from these channels, past, present, and future:

https://www.youtube.com/@yungblattt
https://www.youtube.com/@onedervfx
https://www.youtube.com/@FieRcEOFF
https://www.youtube.com/@fec3195

...need to be marked as spam in YouTube comments.


Ensure subview consistency

The UIStackView documentation specifies rules for the consistency between arranged subviews and subviews.
In short

Arranged subviews is a subset of subviews so anytime a view is added to the arranged subviews it should also be added as a subview.
Every time a subview is removed from the stack view it should also be removed from the arranged subviews if necessary.

Currently TZStackView does not conform to these rules. This PR aims to address that.
Not all tests pass as it looks like UIStackView has changed since they were originally written (see https://github.com/tomvanzummeren/TZStackView/issues/21) but the tests I've written to verify the consistency worked when ran against beta 4

Any chance to get these fixes merged, Tom?

My apologies for the delay. Lots of pull requests started piling up plus I'm on holiday right now. I will sort them all out, including yours, next week! Thank you for your patience

No worries @tomvanzummeren Hope you enjoyed/are enjoying your vacation!

No hurry, Tom. Have a nice vacation!
Lemme first of all thank you for this great framework!

Thank you!

I changed my mind. If I merge this and all other pull requests right now, it takes more work since I have to merge it into master and into the Swift 2.0 branch. But after next week, these two separate branches are no longer necessary so I am planning to make one big release next week which will include this one as well!

Cool, want me to convert to swift 2?

Thanks, but that is already done! It is in the swift-2 branch. The thing is that I now have to merge with 2 branches for every pull request and there are also more complicated pull requests like Carthage support which restructures all files. I also currently have a separate "tests" project and a separate "example" project which I want to combine, but that can only happen if I set Swift 2.0 as the minimum Swift version...
This week I will one by one merge pull requests with master and delete the Swift2 branch. Then finally I will make a git-release and a pod-release when iOS 9 is released next week.

👌

I am currently in the middle of merging everything and now (surprise surprise) this one has merge conflicts. Can you help me out with these conflicts?

Are the merge conflicts in master or the Swift2 branch?
I can fix them up today but it will be a bit later.

I'll just look at your changes and re-apply them on the master. As for the swift-2 branch, I'm removing it as the master becomes Swift 2.0 compatible.

I applied it to the master. Tomorrow I will make a new release (version 1.1.0) with this change in it. Thanks again for your help!

Thanks for the lib!


Add support for configuring a custom trust store

Issue description
Resolves #148
Right now in order to allow validation of custom server certificates, it is necessary to replace the JVM's default trust store. In various situations it is desirable to programmatically set a different trust store specifically for the R2DBC-MSSQL library instead. This PR adds a configuration option to configure such a custom trust store and implements its usage (if set) instead of the JVM's default trust store.
New Public APIs
io.r2dbc.mssql.MssqlConnectionConfiguration.Builder#withTrustStore
io.r2dbc.mssql.MssqlConnectionConfiguration.Builder#withTrustStoreType
io.r2dbc.mssql.MssqlConnectionConfiguration.Builder#withTrustStorePassword

Additional context
The functionality of the implementation is verified by activating the following test case (which used to be disabled before):
io.r2dbc.mssql.MssqlConnectionIntegrationTests#shouldInsertAndSelectUsingMapUsingTls

The MSSQL testcontainer used for integration testing is configured to use a custom TLS certificate in order to test the functionality.

Thank you for your contribution. That's merged, polished, and backported now. I simplified the test setup by not altering the SQL server instance but rather perform TrustStore assertions within a unit test.


Add Fig as an installation method to the README

The Fig Plugin Store supports 1-click install for 400+ shell plugins. We have over 100k users, thousands of whom manage their shell configuration with Fig.
atuin is already listed in the store so we'd love to have it listed as a download method on your README.
Thanks so much and please let me know if you have any questions!

Hi @ellie, thanks for reviewing my PR.

Could you move Fig down below the shell-specific installs please? We've tried to keep things roughly in the order of what people installing Atuin use most, and Fig is still super new

Ordering by tool popularity makes sense - I addressed it in the latest commit. My reasoning for putting Fig at top was that it's a shell-agnostic installation method that works for zsh, bash, or fish - so it made sense to me to list more general install methods above more niche ones (just as you put the script-installation at the top, for example).

The description here reads like an ad - I appreciate you listing your install, but our README is not the place to sell a product or boost SEO.

Sorry to hear that the description felt like an ad - I removed it in the final commit. We just wanted to give a short description of what Fig is since we realize some users are not familiar with it.

Yup this is great, thank you!


Making textures work in simple context

Hello everybody, today I have a super simple example that I want to display. After looking at this for several hours and searching through internet (since no docs are available today) I'm getting stuck with this:


DECSET escape sequences

In descriptions (project page, control sequences) please replace DECSM/DECRM with DECSET/DECRST.
The variations without "?" are called SM (not DECSM) and RM.

Hey @mintty . Sure thing. I even personally prefer that. If I remember correctly, I was simply taking over these words from other places. I will gladly change that.
Happy remaining Christmas (holi)days. ;)

FYI, DEC always just refers to these controls as SM and RM, since a private parameter prefix shouldn't change the command - only the meaning of the parameter values. They refer to the ?-prefixed parameters as "DEC private modes", and the standard parameters as "ANSI modes". ECMA-48 documents private modes the same way.
So if you wanted to give the private sequences a unique name, I personally think DECSM and DECRM makes way more sense than DECSET and DECRST, but neither of those terms were officially used by DEC as far as I know. That said, I think DECSET and DECRST are probably how they're best known nowadays, just because that's what XTerm calls them.
Anyway, that's just a bit of historical trivia - not arguing for any particular choice of name. Call them whatever you like. 😃

I agree, thanks for the clarification. I was indeed referring to the xterm terminology. However, DECSM and DECRM are not in use anywhere else.


Error when running p2g_res <- getPeak2Gene(...)

Hi, I could successfully generate the three input files for the function getPeak2Gene ， but it went wrong as shown below:
p2g_res <- getPeak2Gene(atac_matrix = "./ATAC_CPM_Norm_Data.tsv",
            rna_matrix = "./selected_sample_tpm_matrix.tsv",
            peak_annotation = "./Merged_Peaks_Annotations.tsv",
            max_distance = 50000,N_permutation = 10000,save_path = "./atac4_downstream_results/")

2023-11-02 00:58:56 Remove the gene with all expression value is 0.
2023-11-02 00:58:56 Make the pseudo data for permutation...
Error in fix.by(by.x, x) : 'by' must specify a uniquely valid column
In addition: There were 50 or more warnings (use warnings() to see the first 50)

I have sent the three input files to your mail address. Could you please help to solve it?

Sure, but I didn't get an email about your input files.

To ensure that getPeak2Gene runs successfully, please note the following:

The number of samples was the same for ATAC and RNA and in the same order;
The rownames of the gene expression matrix should be the same as the fourth column of the gene_bed in the addAnnotation you set.

Thank you for your reminder! I re-made the gene_bed file using my .gtf to make sure the consistence between the gene expression matrix and the gene_bed, and then it works!

Then I could sucuessfully run plotPeakGene(...) using the generated object p2g_res , but I got error when running  plotP2GHeatmap() :
plotP2GHeatmap(p2g_res = "./Peak2Gene_All_Links.rds",
              cor_cutoff = 0.4,
              atac_matrix = "./ATAC_CPM_Norm_Data.tsv",
              rna_matrix = "./selected_sample_tpm_matrix_final.tsv")

2023-11-02 17:01:19 Depending on the cutoff. The Peak2Gene links number: 54315

2023-11-02 17:01:20 Calculating ATAC matrix.

2023-11-02 17:05:10 Calculating RNA matrix.

Error in grid.Call.graphics(C_downvppath, name$path, name$name, strict): Viewport 'log10(Summit2TSS + 1)_heatmap_body_1_1' was not found
Traceback:

1. plotP2GHeatmap(p2g_res = "./atac4_downstream_results/Peak2Gene_All_Links.rds",
 .     cor_cutoff = 0.2, atac_matrix = "./atac4_downstream_results/ATAC_CPM_Norm_Data.tsv",
 .     rna_matrix = "./atac4_downstream_results/gse99350_selected_sample_tpm_matrix_final.tsv")
2. ComplexHeatmap::draw(p3 + p4 + pdis + ptype + pcor + ppvalue,
 .     column_title = sprintf("%s Peak-to-Gene linkages", dim(p2g)[1]))
3. ComplexHeatmap::draw(p3 + p4 + pdis + ptype + pcor + ppvalue,
 .     column_title = sprintf("%s Peak-to-Gene linkages", dim(p2g)[1]))
4. .local(object, ...)
5. grid.draw(p)
6. grid.draw.gTree(p)
7. recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
8. drawGTree(x)
9. grid.draw(x$children[[i]], recording = FALSE)
10. grid.draw.grob(x$children[[i]], recording = FALSE)
11. recordGraphics(drawGrob(x), list(x = x), getNamespace("grid"))
12. drawGrob(x)
13. preDraw(x)
14. preDraw.grob(x)
15. pushvpgp(x)
16. pushgrobvp(x$vp)
17. pushgrobvp.vpPath(x$vp)
18. downViewport(vp, strict = TRUE, recording = FALSE)
19. downViewport.vpPath(vp, strict = TRUE, recording = FALSE)
20. grid.Call.graphics(C_downvppath, name$path, name$name, strict)

I will send you the three files soon. Could you please give some suggestions?


Allow Open to Foreground/Background Configuration

This ticket should be considered an enhancement/feature request, not a bug.
My Setup

Operating System: Windows 7 Professional, x64

App Version: 2.15.5

Installation type: Windows Executable via rocket.chat/install

[x] I have tested with the latest version

[x] I can simulate the issue easily

Description
Upon first installation and running of the Rocket.Chat Electron Application in Windows, the application launches without issue--however, it is automatically placed in the background, directly into the system tray.  This is likely requested/desired behavior for most users (myself included); however, our company is...less enthralled by this behavior.  I have noticed in my testing, that the application or Windows "learns" over time whether or not to open directly to the system tray, or to the foreground...however, it would be much easier to provide a toggle/configuration option, such that our users would be able to easily modify this behavior going forward.
I will admit, a lot of this comes from the common users' lack of knowledge of the "system tray"...so, while its great for those of use who know what and how the system tray works; it tends to be very confusing for users without such experience.  Offering a toggle almost anywhere that's relatively accessible, either by the end user or by their IT team, would all much of this headache and confusion to be mitigated.
Current Behavior
When launching Rocket.Chat.Electron, either at start or by selecting the taskbar/startmenu/desktop shortcut, the application opens to tray.  After bringing that to the foreground a few times post-installation, the application will "learn" to open directly to the foreground.  However, there is no clearly define option in the GUI to modify this behavior directly.
Expected Behavior
Even with our old-and-deprecated software, we're still used to the option to manually enable or disable opening directly to the foreground or background, depending on our preferences.  For example, I run CoreTemp on my Windows machines, as a basic means of monitoring the performance and state of my machine(s).  Within the settings for the application, I'm able to manually define whether or not the application opens directly to the system tray or not.

Since posting this enhancement request, I've since found the window-state-main.json file, which contains (and controls) the window state.  I've found that while there could be a workaround with some scripting to force isHidden = true; this often produces other unexpected behavior in regards to window state.  This does allow me to rationalize with our users how to use Rocket.Chat.Electron as "seamlessly" as possible compared to our previous application; however, a menu/tray item, allowing a "never hidden" or similar option would still be quite handy...and, to me, more user friendly overall.


Blur minutes in submission timestamp

Randomize minutes in submission timestamps (privacy purpose).
Here is a very simple (crude?) way of blurring the date, tell me if you had something else in mind!

Understood and done, tks for the feedback 🙏


index.html covers header.html

Hello
I am using NodeJS and gotenberg-js-client - I know its probably not supported by you but maybe it will give any idea
I am sending it like this:
                pdf = await toPDF({"header.html": fs.createReadStream(`${convertPath}header.html`), "index.html": fs.createReadStream(`${convertPath}index.html`)})

and in the resulting pdf I can see the header image I had just barely showing to the left where i put some margins on the config:
            const toPDF = pipe(
                gotenberg(getVariableValue("GOTENBERG_BASE_URL")),
                convert,
                html,
                set({
                    waitTimeout: getVariableValue("ENVIRONMENT") == "dev" ? 30 : 180
                }),
                to({
                    marginTop: margin.top,
                    marginBottom: margin.bot,
                    marginLeft: margin.left,
                    marginRight: margin.right,
                    landscape
                }),
                please
            )

For the record the actual margins used there are 0 bot and top, 0.2 left and right, and I can only see the header.html file I sent barely, and behind the index.html margins.
Any way I could make it appear on top? I tried z-index in css no luck.
Thanks

After messing around with the margins I got it working right.
Default values were the best.
Thanks!


Add the EN_loadpatternfile function to load pattern data from a .pat file into INP

It's good that you took the initiative, @LRossman. Feel free to make any changes as needed. Thank you! Also, we now need to add the function EN_savepatternfile.

I was thinking, why have the function work only for a new pattern and not for an existing one as well. If you agree with this,  then the code modification needed is shown below:
    file = fopen(filename, "r");
    if (file == NULL) return 302;

    // Add a new pattern if it doesn't already exist
    err = EN_getpatternindex(p, id, &i);
    if (err == 205) {
        if ((err = EN_addpattern(p, id)) != 0) {
            fclose(file);
            return err;
        }
        i = p->network.Npats;
    }

    // Read pattern values

Yes, it's a good idea to use an existing pattern ID not only for new patterns, and I agree.
Regarding the getfloat function, there seems to be an issue in EN_loadpatternfile (error 205). So, I made the changes below in getfloat; however, I'm not sure if I have broken something else. What do you think?
from
{
    char *endptr;
    *y = (double)strtod(s, &endptr);
    if (*endptr > 0) return 0;
    return 1;
}

to
{
    char *endptr;
    *y = strtod(s, &endptr);

    if (endptr == s || (*endptr != '\0' && !isspace((unsigned char)*endptr))) {
        return 0;
    }
    return 1;
}

I would rather not change getfloat since it's used extensively when processing an input file. If EN_loadpatternfile is returning an error 205 then it seems that either:

The 205 error from EN_getpatternindex is not being reset to 0 before a new pattern is created.
The values array passed into EN_setpattern is NULL implying that there's a problem with reallocating its size as the file is read.

Neither of these involves getfloat. I will download your code onto my machine and try to get a better understanding of why its failing.

I checked it, and the problem is that the len=0. I believe the code skipped all the lines, so when I changed the line with getfloat, it worked.

OK, good. My preference is to change the following line:
    err = EN_setpattern(p, i, values, len);

to
    if (len > 0) err = EN_setpattern(p, i, values, len);

But if we add len > 0, I think it doesn't do anything to set the patterns. The problem is that the code doesn't execute the line len++; so the length stays at zero. Maybe I am doing something wrong. I think it's good to test it.

The way I read the code is that if a line is blank or doesn't contain a valid number then getfloat will return 0 and that line will be skipped. If that happens for all lines (or the file is empty) then the values array stays at NULL and len remains at 0. If you try to call EN_setpattern with a NULL ``values array it will return with error 205. Therefore testing if len > 0 before calling EN_setpattern will avoid that happening. And if len = 0 then the pattern's multipliers will remain unchanged.
But you're right in saying that the code needs to be tested.

I think I found the problem. When getfloat is applied to line it sees the newline character at the end and therefore thinks the number contained in the line is invalid. (The reason we shouldn't simply use atof is that it won't catch an invalid number caused by a typo, e.g. it would read "123X.45" as "123".) When getfloat is used to read values from the input file lines have already been parsed into string tokens without any newline characters so it works fine in that case.
The fix is as follows:
    char *tok;
    ....
    // Read pattern values
    while (fgets(line, sizeof(line), file) != NULL) {

        // Skip lines that don't contain valid numbers
        tok = strtok(line, SEPSTR);
        if (tok == NULL) continue;
        if (!getfloat(tok, &value)) continue;

        // Resize multiplier array if it's full

I tested this updated code on a number of pattern files, some with all numbers, some with blank or comment lines and some empty, and everything seemed to work ok.

Yes, it looks good now. Thank you, @LRossman!


Skip evaluation if no labels are found

Rasa version:
2.7.0
Python version:
3.8.7
Operating system (windows, osx, ...):
OSX
Issue:
When no labels are found here, the warning message indicates that evaluation will be skipped. However, we do not check for the empty return values from this function, and continue to process them (for example writing a story report here, though there are other places).
Error:
There's no error as such, except potential confusion, and side effects from continuing with empty values, like this.

@koernerfelicia In what cases are there no labels?

I just ran into this for the case where you have no entities. Not sure if here is another case, gut says no


Improve GRPCRoute Go Structs

/kind bug
Fixes some uniformity issues in the Go API for GRPCRoute, bringing it into line with HTTPRoute. This affects only the Go API, not the CRD.
Does this PR introduce a user-facing change?:
Add concrete instances of GRPCRouteFilterType and embed GRPCRouteBackendRef.BackendRefs.

CC @howardjohn

generators need to be run

Thanks @gnossen!
/lgtm

Updates #1016


Have a browser that will run in the terminal

This is to solve the problem when you need to see a webpage to accept the terms and conditions before you can get a WiFi connection.
This is often the case on public wifi at hackathons.

Looked at: https://www.brow.sh/
Seemed to requite too many resources to run well on the Dragonboard.

Links or Links2 seem to show some promise. Links2 has graphical mode which can't be used so I'm not sure if that means links is fine.  To install:
sudo apt install links

Another option seems to be Lynx. This has also showed promise. To install:
sudo apt install lynx

Need to identify and test with various public access points to see if any are sufficient.

Added links2 and lynx to the build with
02902b151f0554aebf9e792454bd110f14d6f769

Additional alternatives that have been identified are:

ELinks
w3m


useColorMode doesn't update after ColorMode change

Description
useColorMode doesn't update after ColorMode change
Steps to reproduce
Since this commit, useColorMode stopped worked as intended:
https://github.com/GeekyAnts/NativeBase/pull/5246/commits/940e19ec7fe4377ebf4c554db79847085185a9d8
This is because useColorScheme hook got replaced by a getter function, which doesn't rerender after a change.
NativeBase Version
3.4.11
Platform

[ ] Android
[ ] CRA
[ ] Expo
[X] iOS
[ ] Next

Other Platform
No response
Additional Information
No response

Hi @Rutger, Can you please share a snack link?


Convert default keycloak operating mode to standard clustered mode.

Configure keycloak to use MySQL backend in standalone clustered mode or potentially domain clustered mode.

Closing as "won't fix".
This has been overcome by events.  Newer keycloak versions do not work the same way they used to so this is not something to configure anymore.


Cut a new version?

It looks like we are about 15 commits ahead of the last version and includes:

new feature

sorted write strategy

distro packaging changes

reload in redhat init
debian init script arg passing fixed

vendored library changes

revert to github.com/sevylar/go-daemon
include github.com/kardianos/osext

Seems, to me, like we should tag 0.8.0
Is there any roadmap or outstanding issues to resolve before then?

I think to make 0.7.3. I plan to include a more significant changes in version 0.8

in the strict semantic version sense of things you should bump the minor version when you add features in a backwards compatible way. So I think sorted write strategy wants 0.8.0, the other changes I mentioned could go in 0.7.3.

Semantic versioning is not about graphite project ;)
0.7.3 released

Thats too bad, semver is pretty nice for being able to evaluate expectations between versions.