[BUG] Cannot build with Bzlmod

Description
I'm using the upcoming bzlmod support in rules_buf and I've encountered this error.
ERROR: /private/var/tmp/_bazel_debkanchan/969f704a68afbe6aa6f76e61ecfa9c99/external/gazelle~0.34.0~go_deps~com_github_bufbuild_protovalidate_go/celext/BUILD.bazel:3:11: no such target '@gazelle~0.34.0~go_deps~com_github_google_cel_go//cel:cel': target 'cel' not declared in package 'cel' defined by /private/var/tmp/_bazel_debkanchan/969f704a68afbe6aa6f76e61ecfa9c99/external/gazelle~0.34.0~go_deps~com_github_google_cel_go/cel/BUILD.bazel (Tip: use `query "@@gazelle~0.34.0~go_deps~com_github_google_cel_go//cel:*"` to see all the targets in that package) and referenced by '@gazelle~0.34.0~go_deps~com_github_bufbuild_protovalidate_go//celext:celext'
ERROR: /private/var/tmp/_bazel_debkanchan/969f704a68afbe6aa6f76e61ecfa9c99/external/gazelle~0.34.0~go_deps~com_github_bufbuild_protovalidate_go/celext/BUILD.bazel:3:11: no such target '@gazelle~0.34.0~go_deps~com_github_google_cel_go//common/overloads:overloads': target 'overloads' not declared in package 'common/overloads' defined by /private/var/tmp/_bazel_debkanchan/969f704a68afbe6aa6f76e61ecfa9c99/external/gazelle~0.34.0~go_deps~com_github_google_cel_go/common/overloads/BUILD.bazel (did you mean 'overloads.go'? Tip: use `query "@@gazelle~0.34.0~go_deps~com_github_google_cel_go//common/overloads:*"` to see all the targets in that package) and referenced by '@gazelle~0.34.0~go_deps~com_github_bufbuild_protovalidate_go//celext:celext'
ERROR: /private/var/tmp/_bazel_debkanchan/969f704a68afbe6aa6f76e61ecfa9c99/external/gazelle~0.34.0~go_deps~com_github_bufbuild_protovalidate_go/celext/BUILD.bazel:3:11: no such target '@gazelle~0.34.0~go_deps~com_github_google_cel_go//common/types:types': target 'types' not declared in package 'common/types' defined by /private/var/tmp/_bazel_debkanchan/969f704a68afbe6aa6f76e61ecfa9c99/external/gazelle~0.34.0~go_deps~com_github_google_cel_go/common/types/BUILD.bazel (Tip: use `query "@@gazelle~0.34.0~go_deps~com_github_google_cel_go//common/types:*"` to see all the targets in that package) and referenced by '@gazelle~0.34.0~go_deps~com_github_bufbuild_protovalidate_go//celext:celext'
ERROR: /private/var/tmp/_bazel_debkanchan/969f704a68afbe6aa6f76e61ecfa9c99/external/gazelle~0.34.0~go_deps~com_github_bufbuild_protovalidate_go/celext/BUILD.bazel:3:11: no such target '@gazelle~0.34.0~go_deps~com_github_google_cel_go//common/types/ref:ref': target 'ref' not declared in package 'common/types/ref' defined by /private/var/tmp/_bazel_debkanchan/969f704a68afbe6aa6f76e61ecfa9c99/external/gazelle~0.34.0~go_deps~com_github_google_cel_go/common/types/ref/BUILD.bazel (Tip: use `query "@@gazelle~0.34.0~go_deps~com_github_google_cel_go//common/types/ref:*"` to see all the targets in that package) and referenced by '@gazelle~0.34.0~go_deps~com_github_bufbuild_protovalidate_go//celext:celext'
ERROR: /private/var/tmp/_bazel_debkanchan/969f704a68afbe6aa6f76e61ecfa9c99/external/gazelle~0.34.0~go_deps~com_github_bufbuild_protovalidate_go/celext/BUILD.bazel:3:11: no such target '@gazelle~0.34.0~go_deps~com_github_google_cel_go//common/types/traits:traits': target 'traits' not declared in package 'common/types/traits' defined by /private/var/tmp/_bazel_debkanchan/969f704a68afbe6aa6f76e61ecfa9c99/external/gazelle~0.34.0~go_deps~com_github_google_cel_go/common/types/traits/BUILD.bazel (Tip: use `query "@@gazelle~0.34.0~go_deps~com_github_google_cel_go//common/types/traits:*"` to see all the targets in that package) and referenced by '@gazelle~0.34.0~go_deps~com_github_bufbuild_protovalidate_go//celext:celext'
ERROR: /private/var/tmp/_bazel_debkanchan/969f704a68afbe6aa6f76e61ecfa9c99/external/gazelle~0.34.0~go_deps~com_github_bufbuild_protovalidate_go/celext/BUILD.bazel:3:11: no such target '@gazelle~0.34.0~go_deps~com_github_google_cel_go//ext:ext': target 'ext' not declared in package 'ext' defined by /private/var/tmp/_bazel_debkanchan/969f704a68afbe6aa6f76e61ecfa9c99/external/gazelle~0.34.0~go_deps~com_github_google_cel_go/ext/BUILD.bazel (Tip: use `query "@@gazelle~0.34.0~go_deps~com_github_google_cel_go//ext:*"` to see all the targets in that package) and referenced by '@gazelle~0.34.0~go_deps~com_github_bufbuild_protovalidate_go//celext:celext'

Steps to Reproduce

Environment

Operating System: macOS
Version: macOS 14.1.2 23B92 arm64
Compiler/Toolchain: Bazel
Protobuf Compiler & Version: buf 1.28.1
Protovalidate Version: v0.4.3

Possible Solution
in #27 a possible solution includes manually changing go_repository arguments in go_deps.bzl. Since bzlmod support means there's no go_deps.bazel file anymore where I could manually change settings I'm stuck as it seems.
Additional Context
MODULE
"""
This is the MODULE.bazel file. It defines the dependencies for the Bazel build system.
"""
bazel_dep(name = "rules_go", version = "0.42.0")

bazel_dep(name = "gazelle", version = "0.34.0", dev_dependency = True)

bazel_dep(name = "rules_pkg", version = "0.9.1")
bazel_dep(name = "rules_oci", version = "1.5.1")

# TODO: remove this later. See https://github.com/bazel-contrib/rules_oci/issues/425#issuecomment-1860211483
bazel_dep(name = "aspect_bazel_lib", version = "2.0.3")
bazel_dep(name = "container_structure_test", version = "1.16.0")

go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")

use_repo(go_deps, "build_buf_gen_go_bufbuild_protovalidate_protocolbuffers_go", "build_buf_gen_go_ride_wallet_connectrpc_go", "build_buf_gen_go_ride_wallet_protocolbuffers_go", "com_connectrpc_connect", "com_github_bufbuild_protovalidate_go", "com_github_golang_jwt_jwt_v5", "com_github_google_wire", "com_github_ilyakaznacheev_cleanenv", "com_github_micahparks_keyfunc_v2", "com_github_mmcloughlin_geohash", "com_github_onsi_ginkgo_v2", "com_github_onsi_gomega", "com_google_cloud_go_firestore", "com_google_firebase_go_v4", "org_golang_google_genproto", "org_golang_google_genproto_googleapis_api", "org_golang_google_grpc", "org_golang_google_protobuf", "org_golang_x_net", "org_uber_go_mock", "org_uber_go_zap")

oci = use_extension("@rules_oci//oci:extensions.bzl", "oci")
oci.pull(
    name = "distroless",
    digest = "sha256:112a87f19e83c83711cc81ce8ed0b4d79acd65789682a6a272df57c4a0858534",
    image = "gcr.io/distroless/static",
    platforms = [
        "linux/amd64",
        "linux/arm64/v8",
    ],
)

# For each oci.pull call, repeat the "name" here to expose them as dependencies.
use_repo(oci, "distroless")

BUILD
load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier")
load("@gazelle//:def.bzl", "gazelle")

# gazelle:prefix github.com/ride-app/driver-service
# gazelle:build_file_name BUILD.bazel
# gazelle:exclude infra
# gazelle:proto disable_global
gazelle(
    name = "gazelle",
)

buildifier(
    name = "buildifier",
)

@srikrsna-buf @rodaine

@srikrsna-buf @rodaine any solutions?

@srikrsna-buf @rodaine still stuck on this

Hey! I am not sure if it is a problem with rules_buf, I don't see it used in the MODULE file. This could be problem of rules_go because bufbuild/protovalidate-go is a regular go module and doesn't have any bazel specific code.

@srikrsna-buf it's not a problem with rules_buf but rather protovalidate library

You can replicate the solution in #27 using go_deps.module. More on this in the rules_go docs: https://github.com/bazelbuild/rules_go/blob/master/docs/go/core/bzlmod.md#specifying-external-dependencies

Looks like they removed those options and moved it to a directive

even after doing that it throws the same error

Can you share the directives you've used?

I hit this as well and these directives seem to have worked (I'm hitting other issues on other packages like @io_etcd_go_etcd_api_v3) but I can now get past the errors relating to cel-go:
# gazelle:resolve go github.com/google/cel-go/cel @com_github_google_cel_go//cel:go_default_library
# gazelle:resolve go github.com/google/cel-go/checker/decls @com_github_google_cel_go//checker/decls:go_default_library
# gazelle:resolve go github.com/google/cel-go/common/types @com_github_google_cel_go//common/types:go_default_library
# gazelle:resolve go github.com/google/cel-go/interpreter @com_github_google_cel_go//interpreter:go_default_library

Those are the packages we're importing so change to whichever ones you are using.

Can you share the directives you've used?

# gazelle:prefix github.com/ride-app/driver-service
# gazelle:build_file_name BUILD.bazel
# gazelle:exclude infra
# gazelle:proto disable_global
# gazelle:go_naming_convention go_default_library

I hit this as well and these directives seem to have worked (I'm hitting other issues on other packages like @io_etcd_go_etcd_api_v3) but I can now get past the errors relating to cel-go:
# gazelle:resolve go github.com/google/cel-go/cel @com_github_google_cel_go//cel:go_default_library
# gazelle:resolve go github.com/google/cel-go/checker/decls @com_github_google_cel_go//checker/decls:go_default_library
# gazelle:resolve go github.com/google/cel-go/common/types @com_github_google_cel_go//common/types:go_default_library
# gazelle:resolve go github.com/google/cel-go/interpreter @com_github_google_cel_go//interpreter:go_default_library

Those are the packages we're importing so change to whichever ones you are using.

I tried your solution but still throws some errors. Would you mind sharing the whole gazelle setup in BUILD.bazel?

I hit this as well and these directives seem to have worked (I'm hitting other issues on other packages like @io_etcd_go_etcd_api_v3) but I can now get past the errors relating to cel-go:
# gazelle:resolve go github.com/google/cel-go/cel @com_github_google_cel_go//cel:go_default_library
# gazelle:resolve go github.com/google/cel-go/checker/decls @com_github_google_cel_go//checker/decls:go_default_library
# gazelle:resolve go github.com/google/cel-go/common/types @com_github_google_cel_go//common/types:go_default_library
# gazelle:resolve go github.com/google/cel-go/interpreter @com_github_google_cel_go//interpreter:go_default_library

Those are the packages we're importing so change to whichever ones you are using.

I tried your solution but still throws some errors. Would you mind sharing the whole gazelle setup in BUILD.bazel?

@andrewryno


Chart Core Features Review

PR for reviewing the changes of both the Android & Mock Chart implementations.
Comments (requested changes) have been added to discussion to highlight the questions that I feel like would be good to address for the implementation.

Design to be changed.


Typescript Types not available + requiring '@cortex-js/math-json' does not work with Jest + typescript

Hey @arnog, what would be the recommended way to use math-json with Typescript?
Currently my editor complains...
Also: Jest with Typescript does not like the js files in the dist folder:
 FAIL  src/util/mathjson.test.ts
  ● Test suite failed to run

    Jest encountered an unexpected token

    This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript.

    By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules".

    Here's what you can do:
     • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/en/ecmascript-modules for how to enable it.
     • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
     • If you need a custom transformation specify a "transform" option in your config.
     • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

    You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/en/configuration.html

    Details:

    /Users/roman/Desktop/work/playground/node_modules/@cortex-js/math-json/dist/math-json.js:7745
    export { ComputeEngine, LatexSyntax, evaluate, format, parse, parseCortex, serialize, serializeCortex };
    ^^^^^^

    SyntaxError: Unexpected token 'export'

Test-file:
import { expect } from '@jest/globals'
import { parse, serialize } from '@cortex-js/math-json'

describe('something', () => {
  it('should ', () => {
    console.log(parse('\\frac{\\pi}{2}'))
  })
})

The dist folder contains a types subdirectory, which is the Typescript declaration files for MathJSON.
Which editor are you using and  how is it complaining?
It looks like jest is not configured to load a Javascript module.
Have you tried:
     • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/en/ecmascript-modules for how to enable it.
?

Hmm... Nope, also not working with the help from Jest FAQ...
I have made a little reproduction here:

https://github.com/mindreframer/mathjson-typescript-bug

I hope this helps to narrow it down. This is a slightly unusual setup (vite.js + esbuild-jest), but any other lib I use (including Mathlive, I had to mock CSS files) works fine with TS + Jest.
I guess I'm hitting some early adopter issues, but this is a good thing!
Thanks and have a good weekend!

Thanks, that's super useful.
It turns out there is a configuration problem in the package.json of the module. Working on a fix now.

OK, should work now. Let me know if you run into some other problems...

@arnog AWESOME! it works flawlessly! Thank you very much!


Remove duplicate topic

This file appears to be a duplicate: docs/framework/install/net-framework-3-5-on-windows-8-plus.md
I am hoping the build will validate this.

This fix has been on my backlog for a while. There is also content on this second page that needs to be ported to the parent one because there's no troubleshooting info on the parent topic. I'll take care of the feedback from @rpetrusha and move the info needed to the parent topic.

@rpetrusha I've made the required changes and the changes I've been wanting to make. Please take a look.

This is ready to merge when you want, @mairaw.


[Feature Request] Covert BaseMessage to alpaca format

Required prerequisites

[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[ ] Consider asking first in a Discussion.

Motivation
alpaca format:
{"instruction": "...", "input": "...", "output": "..."}
Solution
No response
Alternatives
No response
Additional context
No response

It's maybe not appropriate to convert BaseMessages directly to Alpaca format, since BaseMessages are part of a conversation structure, with roles and other information that is expected to be irrelevant to Alpaca format (How would we convert an alpaca message to a BaseMessage?). Typing it this way probably adds unhelpful coupling.
I think converting to/from strings is more appropriate. See https://github.com/camel-ai/camel/compare/master...alpaca_conversion_temp
(cc @lightaime)

Thanks @CaelumF , the scope of this issue is just to convert BaseMessage  to alpaca format, didn't consider covert alpaca content back to BaseMessage, so additional information like role name could just be ignored, do we have requirement to make alpaca to BaseMessage?
covert from string using regex has 2 limitation

we need to produce string with the defined format, it's not natively supported by CAMEL so we still add some further implementation
using regex instead of extracting from a structured object is more risky and unreliable

Yeah when it comes to the generation of alpaca items, it makes way more sense to do things in JSON, especially when structured output and JSON proficiency are available in the inference model. (I assume JSON is the textual representation you had in mind). The linked class can be converted to/from json as its a pydantic class.
But I also assume the plan/expectation is to have the alpaca entries just inside of the text portion of the messages as textual representations, rather than adding any specific fields to the BaseMessage? So the source information is always in one place in the form of text, and no type or contextual information is constraining the content of those messages (like we won't have an AlpacaBaseMessage or something)
The other textual representation that starts with ### Instruction ... is used for inference and training on base models. It's not found in datasets because its awkward for other purposes (though maybe sometimes data will be saved in that representation), but I added that to the pydantic class because pydantic already makes json easy and it is convenient for training and inference to have the representation with ###
Since in this conversion all of the information will be coming from one field of BaseMessage (content) which is always a String, and sometimes it will be useful to come from strings from other sources, it feels more versatile and less confusing to make the conversion just to work in terms of strings.
I can imagine some scenarios with multiple stages of data generation where it can be useful to go back from a textual representation to a validated object form too, in general I like what is communicated by the directions things can be converted.


HBASE-23963 Split TestFromClientSide; it takes too long to complete t…

…iming out
Split TestGetFromClientSide. Means have to also split the superclass
TestFromClientSideWithCoprocessor.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 58s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
6m 16s
branch-2 passed

+1 :green_heart:
checkstyle
1m 20s
branch-2 passed

+0 :ok:
spotbugs
3m 35s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m 31s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 50s
the patch passed

-0 :warning:
checkstyle
1m 14s
hbase-server: The patch generated 1 new + 0 unchanged - 10 fixed = 1 total (was 10)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
22m 37s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
findbugs
4m 34s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 17s
The patch does not generate ASF License warnings.

57m 23s

Subsystem
Report/Notes

Docker
Client=19.03.7 Server=19.03.7 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1271

Optional Tests
dupname asflicense spotbugs findbugs hadoopcheck hbaseanti checkstyle

uname
Linux 17ed02573a82 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / c9c22fedaa

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt

Max. process+thread count
83 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/1/console

versions
git=2.17.1 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 45s
Docker mode activated.

-0 :warning:
yetus
0m  7s
Unprocessed flag(s): --brief-report-file --findbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
8m  9s
branch-2 passed

+1 :green_heart:
compile
1m 16s
branch-2 passed

+1 :green_heart:
shadedjars
5m 31s
branch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 47s
hbase-server in branch-2 failed.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
7m  6s
the patch passed

+1 :green_heart:
compile
1m  7s
the patch passed

+1 :green_heart:
javac
1m  7s
the patch passed

+1 :green_heart:
shadedjars
4m 31s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 39s
hbase-server in the patch failed.

_ Other Tests _

-0 :warning:
unit
74m 42s
hbase-server in the patch failed.

107m 29s

Subsystem
Report/Notes

Docker
Client=19.03.7 Server=19.03.7 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1271

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 87a25843f956 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / c9c22fedaa

Default Java
2020-01-14

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/1/testReport/

Max. process+thread count
9789 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/1/console

versions
git=2.17.1 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Why a failed UT is also a -0? Because of this is a JDK11 run? Or? @ndimiduk

And @saintstack sir,  mind providing patch for master too?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 59s
Docker mode activated.

-0 :warning:
yetus
0m  6s
Unprocessed flag(s): --brief-report-file --findbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
6m 12s
branch-2 passed

+1 :green_heart:
compile
1m  5s
branch-2 passed

+1 :green_heart:
shadedjars
5m  5s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 41s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 46s
the patch passed

+1 :green_heart:
compile
1m  5s
the patch passed

+1 :green_heart:
javac
1m  5s
the patch passed

+1 :green_heart:
shadedjars
4m 52s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 38s
the patch passed

_ Other Tests _

-1 :x:
unit
108m 13s
hbase-server in the patch failed.

137m 31s

Subsystem
Report/Notes

Docker
Client=19.03.7 Server=19.03.7 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1271

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux d51784a95422 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / c9c22fedaa

Default Java
1.8.0_232

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/1/artifact/yetus-jdk8-hadoop2-check/output/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/1/testReport/

Max. process+thread count
7205 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/1/console

versions
git=2.17.1 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

The run failed w/ OOME.
Let me add in the protected annotations.
Thanks for review @Apache9

I just pushed the last patch which adds in protected qualifiiers on base class to branch-2 after testing locally. I'm watching tests upstream so if issue will deal w/ it. Will forward-port to master now.
Thanks for review @Apache9

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 46s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
5m 41s
branch-2 passed

+1 :green_heart:
checkstyle
1m 17s
branch-2 passed

+0 :ok:
spotbugs
3m 21s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m 17s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 36s
the patch passed

-0 :warning:
checkstyle
1m 14s
hbase-server: The patch generated 2 new + 0 unchanged - 10 fixed = 2 total (was 10)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
21m 55s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
findbugs
4m 42s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 17s
The patch does not generate ASF License warnings.

55m 41s

Subsystem
Report/Notes

Docker
Client=19.03.7 Server=19.03.7 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/2/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1271

Optional Tests
dupname asflicense spotbugs findbugs hadoopcheck hbaseanti checkstyle

uname
Linux baa2994116ae 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 6900a6bfde

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/2/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt

Max. process+thread count
83 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/2/console

versions
git=2.17.1 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
4m 18s
Docker mode activated.

-0 :warning:
yetus
0m  6s
Unprocessed flag(s): --brief-report-file --findbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
6m 29s
branch-2 passed

+1 :green_heart:
compile
1m 10s
branch-2 passed

+1 :green_heart:
shadedjars
5m 17s
branch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 43s
hbase-server in branch-2 failed.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
6m 39s
the patch passed

+1 :green_heart:
compile
1m  6s
the patch passed

+1 :green_heart:
javac
1m  6s
the patch passed

+1 :green_heart:
shadedjars
4m 32s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 41s
hbase-server in the patch failed.

_ Other Tests _

-0 :warning:
unit
80m 47s
hbase-server in the patch failed.

114m 18s

Subsystem
Report/Notes

Docker
Client=19.03.7 Server=19.03.7 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1271

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux b76b4b2f8ba3 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 6900a6bfde

Default Java
2020-01-14

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/2/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/2/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/2/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/2/testReport/

Max. process+thread count
9609 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/2/console

versions
git=2.17.1 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 46s
Docker mode activated.

-0 :warning:
yetus
0m  5s
Unprocessed flag(s): --brief-report-file --findbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
5m 41s
branch-2 passed

+1 :green_heart:
compile
1m  6s
branch-2 passed

+1 :green_heart:
shadedjars
5m  1s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 37s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 39s
the patch passed

+1 :green_heart:
compile
1m  6s
the patch passed

+1 :green_heart:
javac
1m  6s
the patch passed

+1 :green_heart:
shadedjars
4m 51s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 38s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
102m 44s
hbase-server in the patch passed.

131m  5s

Subsystem
Report/Notes

Docker
Client=19.03.7 Server=19.03.7 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/2/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1271

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 6c88d268b64e 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 6900a6bfde

Default Java
1.8.0_232

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/2/testReport/

Max. process+thread count
7092 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1271/2/console

versions
git=2.17.1 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Why a failed UT is also a -0? Because of this is a JDK11 run? Or? @ndimiduk

Yes right now we have known failures with javadoc and unit checks with JDK11, so those checks are "filtered" for now. When the issues are resolved, the filter will be removed.


not all tunnels are reported

We have a quite complicated setup, with multiple tunnels per tunnel endpoint pair. Our own subnet is always the same, but the other subnet is unique (of course, otherwise the routing would not work).
It seems the exporter's data model does not handle this at all, because only the first tunnels for a given endpoint pair show up.
(Libreswan 3.32 on Ubuntu 22.04)

Hey @pokab, I think it's something I can't help with without log examples (redacted if needed).

My solution in my fork seems to work fine, been using it since January.
The mentioned commit includes test data.
Would you like a pull request?


deps(react-native): Update bugsnag-cocoa to v6.25.1

Superseded by https://github.com/bugsnag/bugsnag-js/pull/1905


Doc validator performance logging and tracking options

--validators-performance-tracking-enabled and --validators-performance-tracking-mode
PR: https://github.com/ConsenSys/teku/pull/3139

Only validators-performance-tracking-mode will be needed.  --validators-performance-tracking-enabled is hidden and just around for backwards compatibility.


Create version specific manifest for Swift 4.2 and update Package.swift to swift-tools-version:5.0

Following up on #2736, this PR updates Package.swift to swift-tools-version:5.0 and takes advantage of the new platforms API to specify a requirement for macOS >= 10.12, which fixes #2698.
This PR also provides a version-specific manifest<EMAIL_ADDRESS>that provides backwards-compatibility with Xcode 10.1.
I believe that this provides a solution that allows you to address #2698 without waiting for Xcode 10.2 to GM. However, I certainly understand if you'd prefer to hold off for a final release.

For more information about the new API, see SE-0236: "Package Manager Platform Deployment Settings".

Thanks again Mattt!


Running from maven causes cannot access class jdk.internal.misc.Unsafe exception

I'm using intellij - when I'm running a unit test using PostgreContainer from the IDE all is OK, but from maven as part of build I get the below error. Thanks
15:30:58.834 [main] DEBUG org.testcontainers.shaded.io.netty.util.internal.PlatformDependent0 - jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable
java.lang.IllegalAccessException: class org.testcontainers.shaded.io.netty.util.internal.PlatformDependent0$6 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @38b27cdc
at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:361)

Hi @ori-n!
I see that you're using Java 9. We haven't tried TestContainers with Java 9 yet because our dependencies are not upgraded yet (i.e. Netty, docker-java, and a few others)
Probably your IDE is configured to use Java 8, this is why it works from it

thanks for the help


Notebook: Clear output does not work

create a new gh issues nb
enter repo:microsoft/vscode author:kieferrm
run cell
clear output using the cell toolbar
-> nothing happens

(Command palette commands also don't have any affect but show an error notification.)

/duplicate and already fixed in master, thanks!

Reopen for the error notification from the command palette.

The command is contributed by the extension so it only works when it's laid on the toolbar. To fix this issue properly (if we do want to show the command in the command palette), we need to expose notebookEditor.activeCell in the API.

Fixed in master.


Add Quarkus Startertkit

Add Links to Quarkus Starter Kit

Great work Larry , we just need that Python one now for AI content :) will give this a test drive


Updated UWP description

UWP can be native or managed

@AdamBraden : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@mcleanbyron : Thanks for your contribution! The author(s) have been notified to review your proposed change.


refactor: Extract reload_state module.

This is part of work to break some of our
nastier circular dependencies in preparation
for our es6 migration.
This commit should facilitate loading leaf-like
modules such as people.js before all of the things
that reload.js depends on.

Testing Plan:
GIFs or Screenshots:

Merged, thanks @showell!


Added a context-aware fuzzer for xss-filters

Checkout xss-filters/test/fuzz/README.md for details.

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile:

CLA is valid!

looks good to get it merged

Hi @c0nrad, please further enhance it by following the open-source practices, like adding LICENSE file and source code headers.


feat: Export/import

Prerequisites

[X] I have read the Contributing Guidelines.
[X] I agree to follow the Code of Conduct.
[X] I have searched for existing issues that already include this feature request, without success.

Describe the Feature Request
Allow exporting and importing countdowns.
Describe the Use Case

Backing up countdowns for safety ;
Transferring countdowns to a new device.

Describe Preferred Solution
No response
Describe Alternatives
No response
Related Code
No response
Additional Information
No response

Thanks

Hi, thank you for your proposal!
The ability to export and import data to back up Countdate items is a valuable feature for users. We will include this feature request in our roadmap.
We welcome proposals and feedback. If you identify any areas for improvement in the app, please don't hesitate to open an issue!


Inverted Flatlist(VirtualizedList) with specific conditions in Web has rendering problem.

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
Flatlist(VirtualizedList) has problem specific conditions in Web
This list rendered the wrong range of index items, Sometimes It is rendered again constantly

only web, not includes IOS and Android

Inverted : true
renderItems height type is Number (not flex)

React Native version:
"0.62.1",
Steps To Reproduce

Just scroll up the list
If you scroll up to near by 70~80 , you can see the malfunction

Code Line makes the wrong calculations
react-native\Libraries\Lists\VirtualizeUtils.js
...
const leadFactor = 0.5; // Math.max(0, Math.min(1, velocity / 25 + 0.5));

  const fillPreference =
    velocity > 1 ? 'after' : velocity < -1 ? 'before' : 'none';

  const overscanBegin = Math.max(0,visibleBegin - (1 - leadFactor) * overscanLength, );
  const overscanEnd = Math.max(0, visibleEnd + leadFactor * overscanLength);

  const lastItemOffset = getFrameMetricsApprox(itemCount - 1).offset;
  if (lastItemOffset < overscanBegin) {
    // Entire list is before our overscan window
    return {
      first: Math.max(0, itemCount - 1 - maxToRenderPerBatch),
      last: itemCount - 1,
    };
  }
...

leadFactor(0.5) is not suitable value with some conditions
this makes the overscanBegin value bigger than 0
so It cause the wrong retern with wrong first, last
Expected Results
normal operation
Snack, code example, screenshot, or link to a repository:
https://snack.expo.io/@kunhee_lee/kunhee_lee_test

Hi @shine784 thanks for the issue. Unfortunately this repo does not maintain the web implementation of React Native. Could you make an issue with react-native-web?

Hi @shine784 thanks for the issue. Unfortunately this repo does not maintain the web implementation of React Native. Could you make an issue with react-native-web?

sure, thank you

This isn't a problem with the web implementation per se, because it's using the exact same code as the RN implementation.

I am seeing the same issue using an inverted sectionlist w/ react native web.  Once I scroll up to around 70 rows of data it malfunctions and renders the incorrect range (starts again from beginning).


Bluetooth: Audio: Add PACS for broadcast sink

Add support for using PACS and/or capabilities for
the broadcast sink role. PACS and capabilities were
originally only supported for the unicast server
role, so the PACS callbacks were moved their own
struct, as if a device supports both the unicast
server role and the broadcast sink role, it will
only have a single PACS instance.
Signed-off-by: Emil Gydesen<EMAIL_ADDRESS>fixes https://github.com/zephyrproject-rtos/zephyr/issues/43788

Rebased to solve merge conflicts

Rebased to solve merge conflicts

Rebased to fix test failure

Rebased to solve merge conflicts

Fixed small issue with context.snk = sys_cpu_to_le16(CONFIG_BT_PACS_SRC_CONTEXT); (should be context.src)

@MariuszSkamra can you please take a look?


Add common utils 2.4.2

Signed-off-by: Ashish Agrawal<EMAIL_ADDRESS>Description
Add common utils 2.4.2
Issues Resolved
N/A
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

HI @lezzago Can you rebase with main to solve the failing CIs?
Thanks!


Use systemd instead of supervisord

On systems which have systemd available (more and more...), systemd might be sed instead of supervisord. It saves runtime resources (no need to run supervisord and systemd at the same tie) and speeds up installation, hepful for autoscaling groups without pre-baked images.

Agreed it would be nice to standardize on systemd. The limitation before was Amazon Linux, which did not support it, and was an important use case for AWS. Amazon Linux 2 does support systemd, so once the final version of that is released, and Amazon Linux 1 is no longer a mainstream AMI, I think we can migrate to systemd.


Roll engine 6991dd981bf7..00d77945d541 (7 commits)

https://github.com/flutter/engine/compare/6991dd981bf7...00d77945d541
git log 6991dd981bf7..00d77945d541 --first-parent --oneline
2020-03-03<EMAIL_ADDRESS>Roll src/third_party/skia b19408040143..853789cdfe3c (1 commits) (flutter/engine#16905)
2020-03-03<EMAIL_ADDRESS>Roll src/third_party/dart 06155d499645..c07d5d84b828 (3 commits) (flutter/engine#16904)
2020-03-03<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from WmA2M... to cGxwD... (flutter/engine#16903)
2020-03-03<EMAIL_ADDRESS>Roll src/third_party/dart ca3ad264a649..06155d499645 (3 commits) (flutter/engine#16902)
2020-03-03<EMAIL_ADDRESS>Roll src/third_party/skia 73ae40a424fa..b19408040143 (4 commits) (flutter/engine#16901)
2020-03-03<EMAIL_ADDRESS>Drop last usages of Dart_New from engine (flutter/engine#16838)
2020-03-03<EMAIL_ADDRESS>Roll src/third_party/skia 8121d27b297c..73ae40a424fa (1 commits) (flutter/engine#16900)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Commit queue failed; closing this roll.


Support for EM, HD, PM parameters for Field/Variable in DEFINE DATA

https://documentation.softwareag.com/natural/nat912unx/sm/defineda_parms.htm#defineda_parms

Do you have an example? Is this for INIT/CONST?

emhdpm can follow a variable definition (also View fields) It’s a syntax after the INIT, see here: https://documentation.softwareag.com/natural/nat912unx/sm/defineda_vari.htm#defineda_vari

@MarkusAmshove I can give this a try starting from tm. :)

Closed by #394


Different search methods

What's the difference between all 3 search methods? How come it does search 1, then if no best answer is found, it does search 2 and sends the result anyway then does search 3 then sends that too? Basically I'm asking how does each method work? If the best answer and search method 3 get different answers, which do we choose?
Last night this happened:
Whos Twitter handle comes first in alphabetical order?
Ellen DeGeneres (@TheEllenShow)
Neil Patrick Harris (@ActuallyNPH)
LeBron James (@KingJames)

The best answer said LeBron James but search method 3 said Neil Patrick Harris and that was the answer (savage question). I yesterday 3 people on $8333 each so the bot kinda failed. I hope to test 12 question games today.

The first/second search method depend on searching the question keywords in Google, and counting the number of occurrences of the answer in the search results. Search method 1 counts exact answer matches, and method 2 counts occurrences of answer keywords. For this question, the bot googled "whose twitter handle comes first alphabetical order" and method 2 detected the word "James" 3 times in the search results, causing it to be selected as the correct answer.
The third search method is completely different, as it looks up the answer and tries to match the nouns of the question. In this case, method 3 searched "Neil Patrick Harris" on Google and got 4 matches of the noun "order", which made method 3 say Neil Patrick Harris was the correct answer.
Looking at what caused the search methods to say what was correct, I wouldn't have trusted either to answer that question.

Thanks for the speedy reply. That makes much more sense now. I realized that when the keyword search and noun search is different, keyword searches have been correct 3/5 times and noun searches have been correct 2/5 times. I just tested it on two HQ games today (normal and UK). In the normal game at 3 pm EST, it showed a blank answer for 3 questions in a row then fixed itself when I restart the bot. Later that game, the websocket connected too late and missed a question. It got 7/8 accuracy that game. In the UK game at 8 pm UTC, it got 9/10 correct. One of them it got wrong (comparison question) and the other one the websocket connected late again, despite connecting once per second (I changed it from 5 to 1 second). Is it possible for you to make it connect to the websocket for the duration of the game rather than refresh every few second and risk missing a question? Do you have any plans to improve accuracy on comparison questions? I will continue to test it on more games, and try to figure out if keyword or noun search is more reliable when the results are different. If you know which is USUALLY correct more (keyword or noun), please let me know. If you want, I can create another issue about connecting to the websocket for the whole game and comparison questions.

@tdaddy just put a UK bearer token and user ID and it will do UK when it goes live

@SharpBit, extremely odd result you got there. Mine picked the question with the highest occurrences every time. My output for the first question is
Running method 1
{'nintendo': 597, 'atari': 7, 'sega': 13}
nintendo

[('Which', 'NNP'), ('of', 'IN'), ('these', 'DT'), ('video', 'NNS'), ('game', 'NN'), ('companies', 'NNS'), ('first', 'RB'), ('made', 'VBD'), ('playing', 'VBG'), ('cards', 'NNS'), ('?', '.')]
Question nouns: ['cards']
Running method 3
Search processed
URLs fetched

Nintendo: {'cards': 9}
Atari: {'cards': 0}
Sega: {'cards': 1}

Keyword scores: {'Nintendo': 351, 'Atari': 179, 'Sega': 188}
Noun scores: {'Nintendo': 9, 'Atari': 0, 'Sega': 1}
Nintendo

and the output for the second question is
Running method 1
{'united states': 15, 'england': 10, 'northern ireland': 10}
united states

[('From', 'IN'), ('where', 'WRB'), ('did', 'VBD'), ('the', 'DT'), ('Titanic', 'NNP'), ('originally', 'RB'), ('sail', 'VB'), ('?', '.')]
Question nouns: ['titanic']
Running method 3
Search processed
Server timeout/error to https://discovernorthernireland.com/
United States: {'titanic': 0}
England: {'titanic': 0}
Northern Ireland: {'titanic': 1}

Keyword scores: {'United States': 1, 'England': 7, 'Northern Ireland': 2}
Noun scores: {'United States': 0, 'England': 0, 'Northern Ireland': 1}
Northern Ireland

both selecting the highest scoring answer.
Regarding your websocket issue, that is known and is being fixed.

wait @Exaphis how would location/search history affect anything if it;s googling through a bot/program?

The bot is just scraping the Google site instead of using the Google API, since the API has a limit of 100 requests/day. A basic way of explaining it would be the bot is searching the question through a different browser. I don't know what specifically Google does, but it probably takes into account your IP address and gives you different results based on where it determines your location to be. From a private window in my browser, I can search one thing, turn my VPN to the UK, create a new private window, and search the same thing again to get two different sets of search results.

@Exaphis If I open a vpn will that possibly help?

Using a VPN shouldn't change the accuracy of your answers, you can't predict what Google will serve you. The websocket issue should be fixed in the coming week.

@Exaphis after her another test, it still goes with random answers in another app I'm posting to, but in console it prints the actual correct answer. I didn't change best_answer at all after it gets printed except I made it "None" if the best answer is "" (empty string). What makes it change?

What do you mean it chooses the wrong answer when it's sent somewhere else? Doesn't seem like a problem with my code.

@Exaphis is the websocket issue being fixed? It's been 6 days

Should be fixed in https://github.com/Exaphis/HackQ-Trivia/commit/73a5e82d06dd8dd9534173b49490ab20173d9e3e, not tested yet.

was just about to close this, thanks


feat(queue): Re-Queue Task Before Shutdown worker

fix https://github.com/golang-queue/nats/issues/10
Signed-off-by: Bo-Yi Wu<EMAIL_ADDRESS>

Codecov Report

Merging #11 (98798b0) into main (8b586d6) will decrease coverage by 0.75%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
- Coverage   86.86%   86.11%   -0.76%
==========================================
  Files           2        2
  Lines         137      144       +7
==========================================
+ Hits          119      124       +5
- Misses         12       13       +1
- Partials        6        7       +1

Flag
Coverage Δ

go-1.17
86.11% <80.00%> (-0.76%)
:arrow_down:

go-1.18
?

ubuntu-latest
86.11% <80.00%> (-0.76%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

nats.go
81.81% <80.00%> (-0.71%)
: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 8b586d6...98798b0. Read the comment docs.


Cortex-M SMP support for Raspberry Pi Pico

Is your enhancement proposal related to a problem? Please describe.
SMP in Cortex-M is not currently supported for the RPi Pico.
Describe the solution you'd like
Implement SMP specifically for Cortex-M on the RPi Pico.
Additional context
Requires that the aarch32 architecture transitions to USE_SWITCH so this is blocked by #19932

There was a discussion on discord about this whereby it was mentioned that the pico SMP support was essentially bespoke to the pico because SMP support on ARM is not an official feature, are there any other similar ARM SMP cores where parts could be shared or would it be entirely for this CPU only?

Hey all,
I am using the Raspberry Pi Pico in combination with Zephyr and want to make use of the 2nd core to run a function.
My initial thought was using SMP functionality within Zephyr to assign a working thread on both cores.
To my suprise however I found out that for the Raspberry Pi Pico only 1 core is defined.
My second thought if this functionality is not supported was to make use of the Raspberry Pi SDK, since
the SDK contains functionality to map a function call to the 2nd processing core.
The Pi Pico SDK HAL is available in the modules folder, but I can however not manage to include the right
files.
Does anybody know how to make use of both processing cores within Zephyr?
Any help will be much apreciated!
@carlescufi @ithinuel @thedjnK @soburi

Hi, @danielallstar

Does anybody know how to make use of both processing cores within Zephyr?

The simple answer is "not yet worked".
We use the PicoSDK driver part only.
The PicoSDK's boot code that including SMP setup are not used by zephyr.
We need to enhancing the boot code for supporting Cortex-M SMP , but not yet completed.

@soburi, Thank you for your response. It is much appreciated!
If I understand correctly you do make use of the PicoSDK driver in Zephyr?
The PicoSDK hal files (HAL_PI_PICO) are loaded in the modules folder within Zephyr containing the needed multicore.h file to make use of the second core.
I do however not manage to include the multicore.h file from these files.
How did you manage to get the PicoSDK working within Zephyr?
Kind regards,
Daniël

Hi @danielallstar ,
With regards to SMP support, the implementation is not as straight forward for Cortex-M0/+ as it may be for newer armv7m or armv8m.
Because Cortex-M0/+ lack the exclusive monitor implementation, the core cannot be soundly synchronised using a shared memory based spinlock as the Kernel currently relies on.
To enable SMP on the rp2040, some changes are required in the kernel to enable SoC specific synchronisation primitive (eg using the Spinlocks available in the rp2040's SIO block).

@ithinuel I haven't been as locked in on this as I maybe want to have been - wasn't there a draft PR for this SoC kernel extension somewhere?

Hi @danielallstar ,
With regards to SMP support, the implementation is not as straight forward for Cortex-M0/+ as it may be for newer armv7m or armv8m.
Because Cortex-M0/+ lack the exclusive monitor implementation, the core cannot be soundly synchronised using a shared memory based spinlock as the Kernel currently relies on.
To enable SMP on the rp2040, some changes are required in the kernel to enable SoC specific synchronisation primitive (eg using the Spinlocks available in the rp2040's SIO block).

Hi
Isn't there support for AMP either. As this could allow to use the second even though its not as ideal?


Build by CMake

With this branch, we can debug with Clion.

Thank you for sharing.
However, I will not merge it, maintaining one build system is already annoying, so I don't want to maintain two :wink:
But it could help others :+1:

Thank you for sharing.
However, I will not merge it, maintaining one build system is already annoying, so I don't want to maintain two :wink:
But it could help others :+1:

@sman2013 Thank you for sharing. As you said, I added theCMakeList.txt ,compile and build works well.

And I configured the Environment variables ADB and SCRCPY_SERVER_PATH
When running the logs like this, there is no mirror on my MacBook. @rom1v  I need some help. Thanks!
/Users/lixuefeng/Google_Sample/scrcpy/app/src/cmake-build-debug/scrcpy
2021-01-11 15:14:12.228 scrcpy[14356:561888] INFO: scrcpy V1.16 <https://github.com/Genymobile/scrcpy>
2021-01-11 15:14:12.229 scrcpy[14356:561888] DEBUG: Using SCRCPY_SERVER_PATH: /Users/lixuefeng/Google_Sample/scrcpy/server/prebuild/scrcpy-server.jar
2021-01-11 15:14:12.264 scrcpy[14356:561888] INFO: Server debugger waiting for a client on device port 5005...
/Users/lixuefeng/Google_Sample/scrcpy/server/prebuild/scrcpy-server.jar: 1 file pushed. 1.4 MB/s (16182 bytes in 0.011s)
2021-01-11 15:14:12.869 scrcpy[14356:561888] DEBUG: Screensaver enabled

@sman2013 Thank you for sharing. As you said, I added theCMakeList.txt ,compile and build works well.

And I configured the Environment variables ADB and SCRCPY_SERVER_PATH
When running the logs like this, there is no mirror on my MacBook. @rom1v  I need some help. Thanks!
/Users/lixuefeng/Google_Sample/scrcpy/app/src/cmake-build-debug/scrcpy
2021-01-11 15:14:12.228 scrcpy[14356:561888] INFO: scrcpy V1.16 <https://github.com/Genymobile/scrcpy>
2021-01-11 15:14:12.229 scrcpy[14356:561888] DEBUG: Using SCRCPY_SERVER_PATH: /Users/lixuefeng/Google_Sample/scrcpy/server/prebuild/scrcpy-server.jar
2021-01-11 15:14:12.264 scrcpy[14356:561888] INFO: Server debugger waiting for a client on device port 5005...
/Users/lixuefeng/Google_Sample/scrcpy/server/prebuild/scrcpy-server.jar: 1 file pushed. 1.4 MB/s (16182 bytes in 0.011s)
2021-01-11 15:14:12.869 scrcpy[14356:561888] DEBUG: Screensaver enabled


alfis: 0.7.7 -> 0.8.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Revertron/Alfis/releases.
meta.description for alfis is: "Alternative Free Identity System"
meta.homepage for alfis is: "https://alfis.name"
meta.changelog for alfis is: ""
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.8.0 with grep in /nix/store/isgvwdjbrzfxkjh1c0czqz15p3akhzf2-alfis-0.8.0
found 0.8.0 in filename of file in /nix/store/isgvwdjbrzfxkjh1c0czqz15p3akhzf2-alfis-0.8.0

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
alfis
alfis-nogui

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/isgvwdjbrzfxkjh1c0czqz15p3akhzf2-alfis-0.8.0 \
  --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 alfis https://github.com/r-ryantm/nixpkgs/archive/983d634d727d444f0bff167c18f8651981a6b122.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/isgvwdjbrzfxkjh1c0czqz15p3akhzf2-alfis-0.8.0
ls -la /nix/store/isgvwdjbrzfxkjh1c0czqz15p3akhzf2-alfis-0.8.0/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

2 packages built:

alfis
alfis-nogui

Maintainer pings
cc @misuzu for testing.

Duplicate of https://github.com/NixOS/nixpkgs/pull/189906


Cannot link from embedded objects

Referencing PR #237 as a few minutes ago it is not possible to link from resources which have internal structure, eg:
{
  "data": {
    "eab9b2af-73f0-4e13-b348-0bd4377fb06a": {
      "type": "contact",
      "name": "Some One"
      "address": {
        street: "some street"
        city: "<some city id>"
        state: "<some state id>"
        country: "<some country id>"
      }
    }
}

The spec doesn't deal with resources that have internal structure AFAIKT since it requires one to put all references under a "links" object within the resource.  In my example above addresses do not have ids, they are embedded properties of a resource.
In my actual system, addresses are embedded arrays within contact resources, they have no id and cannot be resources, yet they link to other resources.
I am not sure what the rationale for embedded 'links' object it, but I have decided to abandon any conformance to json-api in my systems because of this issue plus not being able to have generic collections in linked resources and other observations commented on in PR #237.
I wish you all well with it, there is good work being done here but what works for me does not align with JSON API compromises and the many paradigms it is trying to simultaneously address.
My primary technical issues:

links (why an object as opposed to just properties on the resource)
server ids vs (v4) UUIDs
typed vs generic collections (related to server ids/ UUIDs)
polymorphism (base types vs specific types)
schema window dressing (link templates)

I will check back from time to time with the hope things may mature enough to allow it to be a good reference for JSON APIs but my gut tells me that unless one nails down the server-id/UUID/  design choice up front then it will forever be trying to serve too many API designs simultaneously rather than being a minimal purposeful spec. As I have said before the UUID vs server assigned ID its not just about carrying an opaque field in a transport document, but is rather an entire paradigm which deeply affects the interactions between client and server when serializing object graphs and results in a very different API design to one with server assigned ids scoped to a resource type.  JSON-API tries to straddle both and despite some excellent work, IMO it fails in its key objective to settle good api design once and for all.

As of #341 (RC2), relationship links are officially supported through a resource's links object. The top-level links object is no longer used to template resource relationship links.
It is recommended that embedded objects with IDs and links be "normalized" as full resources themselves.


Add DLQ to OpenSearch sink configuration options.

Description
Adds DLQ to OpenSearch sink configuration options.
Issues Resolved
No affected issues.
Checklist

[x] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

We will update the link provided to the documentation website when we add the DLQ plugin, right?

@Naarcha-AWS can we get this approved and merged? I need to reference it in my docs.


Login - Docker

Delano, Thank you for your work creating OTS. It's awesome and works great. I've used your online version for years. I just installed the Docker version on Linux. Everything is working correctly except logins. When I go to sign in and login with the creds I signed up to this instance with, it redirects to the main page and still displays 'Sign In' instead of Logout, and does not have the Account link. Please advise. Thank you

Hey @pcdub, you're welcome. Thanks for the kind words.
It sounds like you just need to verify the account. This should be documented better. Or there should be a setting to allow new accounts to authenticate without verifying.
Manually verifying an account
You can do this manually running redis-cli inside the docker container:
$ docker exec -it onetimesecret bash

root@6390ab3cf4d0:/app# redis-cli -u $REDIS_URL

<IP_ADDRESS>:6379> select 6
OK

<IP_ADDRESS>:6379[6]> keys *
1) "customer:user@example.com:object"
2) "onetime:customer"

<IP_ADDRESS>:6379[6]> hgetall customer:user@example.com:object
 1) "custid"
 2<EMAIL_ADDRESS> 3) "role"
 4) "customer"
 5) "key"
 6<EMAIL_ADDRESS> 7) "updated"
 8) "1721410941"
 9) "created"
10) "1721410941"
11) "passphrase_encryption"
12) "1"
13) "passphrase"
14) "$2a$12$Xs01V7AKF1rQwFANBh1XmumxIBRLaM1nWJDdwoBttdcq29PaxnbP2"
15) "planid"
16) "individual_v1"
17) "verified"       <---
18) "false"          <---

<IP_ADDRESS>:6379[6]> hset customer:user@example.com:object verified true
(integer) 0

<IP_ADDRESS>:6379[6]> hgetall customer:user@example.com:object
 1) "custid"
 2<EMAIL_ADDRESS> 3) "role"
 4) "customer"
 5) "key"
 6<EMAIL_ADDRESS> 7) "updated"
 8) "1721411133"
 9) "created"
10) "1721410941"
11) "passphrase_encryption"
12) "1"
13) "passphrase"
14) "$2a$12$Xs01V7AKF1rQwFANBh1XmumxIBRLaM1nWJDdwoBttdcq29PaxnbP2"
15) "planid"
16) "individual_v1"
17) "verified"       <---
18) "true"           <---

This auto-closed, sorry about that. Re-opening now and let me if you need anything else.


does not work

i use one of your sample images andit looks like vintage filter instead of colorization

works on sample landscape but not on portrait


add missing verbose_name_plurals

Thanks for contributing to Wagtail! 🎉
Before submitting, please review the contributor guidelines http://docs.wagtail.io/en/latest/contributing/index.html and check the following:

Do the tests still pass? (http://docs.wagtail.io/en/latest/contributing/developing.html#testing)
Does the code comply with the style guide? (Run make lint from the Wagtail root)
For Python changes: Have you added tests to cover the new/fixed behaviour?
For front-end changes: Did you test on all of Wagtail’s supported browsers? Please list the exact versions you tested.
For new features: Has the documentation been updated accordingly?

Thanks @yihuang! The tests are currently failing here because these changes require migrations - I'll add these now and merge.

Merged in fa9e5318b649cccb0ecd9922df719d12700f94d7


FP16/FP32 outputs with FP32 bias

FP16 inputs -> FP32 outputs with FP32 bias
FP16 inputs -> FP16 outputs with FP32 bias

It is better to update CI and doc along with this PR.


MySQL bind mount support

Support bind mounting a volume into /var/lib/mysql.
This will change the mysql UID to that of the bound
volume if the vboxguest kernel module is found.
Also:

fixes key_buffer prefix warnings during startup.
Added /var/log/mysql volume to dockerfile.
Added MySQL master configuration options.

Ping @ibuildthecloud

Merging this. Tests are now passing against previous conditions.


[Tabes] Allow empty strings as partition and row keys

Empty string are valid values for partitionKey and rowKey. Remove checks form update and upsert methods.

Fixes #18521

@joheredi what do you think about adding some tests cases that use empty row and partition keys as part of a transaction?  Do you think there could be interesting cases we've missed there?

@joheredi what do you think about adding some tests cases that use empty row and partition keys as part of a transaction? Do you think there could be interesting cases we've missed there?

I think it makes sense. I'll add a test for transaction :)


WIP: sockmap

Summary of changes: Adding sockmap support to Cilium
TODO:

cleanup constants
some other basic cleanup
add benchmark ginko tests from previous ipc demo branch

Running through the CI to confirm nothing got mangled in the process.

This change is

test-me-please

close, built a new branch on latest.


Remove the error message for zero on sigterm (#1885)

Print shutdown message instead of error for the zero on sigterm case.

@annafang-google Friendly reminder: In the future you will want the PR title or commit to follow conventional commits for the check to be happy https://www.conventionalcommits.org/en/v1.0.0/


Added new app icon

closes #499

Looks a bit too bright IMO. Maybe if it were a bit more subtle it would look really nice. Thoughts?

It's a much nicer logo, by far, but is a bit too bright. Can you not use something closer to the original Karabiner Purple? That would also make the white legend stand out more. It would also be good if the K was more like the original logotype.

Updated colour and logotype. there's also these for the statusbar I'm not sure where they go.

tiffs.zip

Nice one. It'd be good to see these used with the next release. It's cool that the logo looks like an iteration on the current one. People will recognise it more easily.
A lot of Karabiner users are keyboard enthusiasts, so a keycap was a nice choice for a logo too.

should i bother rebasing, or should this just be closed?

No offense, just as far as the icons are concerned.
To be honest, I prefer the old version (current stable release), sorry.
We can vote for this.

Okay I'll be straight up honest—none of these icons look good, imo. Most macOS icons are really nicely made but these ones seem kind of... to simplistic. I don't mean offense to anyone and I'm not saying that I could make something better, but I wish there were better icons


Doubling of slash

Hi there, there seems to be a bug where / gets doubled when scanning a QR code for a wifi network. i've made some screenshots to show how to reproduce: https://imgur.com/a/iqzbGNo
As you can see, via android settings sharing a wifi network via QR code, then i screenshotted that and opened it as a picture in the QR and Barcode Scanner app, which resulted in the / being changed into //.

Hello. Thank you for reporting a bug. But I didn't manage to reproduce it. Are you using the latest version? (1.3) Could you please provide the whole password that causes the bug?

Yes, here's the password that caused it. Maybe android itself generated the QR code wrong? i have no idea tbh. just tried it again and i still have the same problem somehow. here's a picture of the QR code android generates unblurred. i can change my wifi passwords, i didn't want to share them first. Here's an screenshot from the android10 settings QR code too.
D6ltubarawvo2q\O

The slash was escaped by another slash, so the QR code actually contains two slashes. My app shows a password as it presented in a QR code, some other apps might unescape it first before showing it. I can implement the same behaviour in my app. What do you think?


Is it possible to auto wait for the next livestream when the current livestream is over

Actually we have to relaunch the script manually, but it is possible to add a feature (option) to automatically wait again after the current stream is over so we don't have to launch manually again ?
Thanks !

"--monitor-channel" is doing exactly this


-resync with consul makes node temporarily unhealthy

If you have a check script for consul service health, resync will make it temporarily unhealthy as it will delete the service and add it back again. Then it will be unhealthy until consul is able to run the check script and propagate the results across the cluster. This is pretty annoying. Would it be possible to have resync be smarter and not remove the service from consul if it is the same?

Sounds like that's how it should work.

Which part sounds like it is the way it should work?

delete service, add back in, temporarily making it unhealthy
only remove service if it is different

Looks like consul is considering it a bug on there end. I guess we can close this issue or keep it open to track it https://github.com/hashicorp/consul/issues/868

Just a heads-up: this was just solved in Consul master.

Closed, solved in Consul master as per above.


Message Box title icon is shifted to the left, poor alignment

OpenUI5 version: 1.104.0
Open sap.m.sample.MessageBoxInfo, click on Show Details Async, you'll see:

after clicking on «View Details», the title icon (exclamation point) is properly aligned again:

The same issue appears for the rest of sap.m.sample.MessageBoxInfo components.

Hello @pubmikeb ,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,
Petar

Hi @dimovpetar!
Is there any update on the issue?
It seems to be a plain CSS-regression starting 1.100.0.
Thanks.

Hello @pubmikeb ,
Incident<PHONE_NUMBER> is in progress, but the issue affects many controls and the fix will take some time to be implemented.
Best regards,
Petar

Hello @pubmikeb
The issue is now fixed for the master branch and the fix will be available with sapui5 1.107.
Best Regards,
Todor


BUG: Dark mode is not working in contributiors page

Is there an existing issue for this?

[X] I have searched the existing issues

What went down?

Please assign me this issue!!

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@pandeyji711 You are assigned ✔

Try to also change the icon of dark mode.

ok


Drivers issue on respeaker 4mic array

Using this HAT https://wiki.seeedstudio.com/ReSpeaker_4_Mic_Array_for_Raspberry_Pi/
Pi freezes and requires hard reboot when attempting record test per tutorial setup instructions.
Resolved by reinstalling drivers per here after the "rebuild drivers" step in tutorial.
sudo apt-get update
git clone https://github.com/HinTak/seeed-voicecard.git
cd seeed-voicecard
sudo ./install.sh
sudo reboot now
Successfully records and plays now.

Do you get high CPU usage when recording with the 4mic HAT?

No.   %CPU on Pi4 looks to stay in the 20-35% range.   I'm uncertain if it's actually using 4 mics or just 1, but it does work.

Have either of you got this working with Bookworm? Whenever I try with Bookworm and perform the following command, it always end up with kernel panic.
arecord -D plughw:CARD=seeed4micvoicec,DEV=0 -r 16000 -c 1 -f S16_LE -t wav -d 5 test.wav
Unable to handle kernel paging request at virtual address .....
This is on a Raspberry Pi 4 Model B 1.1 with the 4-mic respeaker hat.
Only way to get this working so far was to use Bullseye. What are you both using, and potentially any tips for Bookworm?

Sorry - no attempts or knowledge on bookworm.

Tried the new installer on Pi3B+ with usb mic.  Worked flawlessly.
I was so impressed I decided to install the installer on my working Pi4 with 4mic from above.   Appeared to be working fine but the hang reappeared.   Reinstalled drivers like above but didn't fix it.   I've been troubleshooting most of the night step by step through the manual setup.   I'm having sporadic success getting wake word, recording, and play back - but it's cranky and hangs.   LED's stopped working and haven't figured that out yet.   Thinking tomorrow start fresh with manual install again.

Started with a clean image today.
Confirmed installer version of respeaker drivers didn't pickup devices.
Had to install from here:  git clone https://github.com/HinTak/seeed-voicecard.git
Continued using installer to setup all other configurations.   All works except LEDs.
Any advice on how to get 4mic LEDs working?

Have either of you got this working with Bookworm? Whenever I try with Bookworm and perform the following command, it always end up with kernel panic.
arecord -D plughw:CARD=seeed4micvoicec,DEV=0 -r 16000 -c 1 -f S16_LE -t wav -d 5 test.wav
Unable to handle kernel paging request at virtual address ..... This is on a Raspberry Pi 4 Model B 1.1 with the 4-mic respeaker hat.
Only way to get this working so far was to use Bullseye. What are you both using, and potentially any tips for Bookworm?

Now I see what you are saying.  I'm having the same issue.  It has to do with the driver.  I was able to get it to work with manual install - but no luck since trying the installer 6.1.   I'm still trying..

Any advice on how to get 4mic LEDs working?

There's a pending PR with the code for it.
Try it here: #126

Spent most of the day trying to get 4mic HAT working on Pi4 with installer.   Just couldn't make it work.
Reformatted and went back to manual install (using drivers install from seek.
All working - including LEDs on Bookworm 64bit.   Something's going on with installer that I don't understand, but my next try will be on a different SD card :)


Support zooming in preview, because some output graphs is unreadable without zooming

As title, example I have a graph looks like this

It is really hard to see what is on the graph, even if I use a big, high resolution monitor.
So it would be nice if the previewer have a zoom button, or zoom on Ctrl + MouseScroll

I agree, zooming is needed. I have sequence diagrams which are rather long. Current preview is too small.


Linux support

Async cannot work without Dispatch being imported on it, also, some of the qos features don't work on linux as well

Anyone who runs into issues with this supporting linux should check out my fork. It compiles/runs on linux and has a few additional features that I felt were missing, such as Synchronous support as well. And my code is organized a little better (multiple small files instead of one massive file)
https://github.com/Ponyboy47/Async

Why didn't you make a pull request for this repo?

In my fork I removed Carthage and Cocoapods junk since I wasn't using any of it and I don't want to create a pull request here since that would remove that support here as well

I could make one if you'd like for me to just so you could see everything I did? Functionality is still the same despite all that I've done. I really just didn't want to squash Carthage/Cocoapods


saves and mods

We'll need a place to store, roll, and present the various mods and stats which go into a character. Feats of (Str|Dex), saves, init/attack/defense/whatever mods, and so on. Presentation would be to the abilities pane of the character sheet, as these are things the player probably always wants available. Storage would be on the setup panel (#28).

Narrowing the focus of this issue to just saves, since this is actually two different issues, and the character sheet metaphor has evolved to the point where the original idea is no longer logical.
We'll display dodge, mental, physical, and poison saves on the main ability section, and allow for finer control in the setup pane. Note that doing this correctly will require providing a 'poison bonus' checkbox for races.


Fix typo in documentation of bevy_crevice/std430

Objective
Fix typo in documentation of bevy_crevice/std430
Solution
Correct information in documentation

Could you open this PR in upstream https://github.com/LPGhatguy/crevice/blob/main/src/std430.rs?

Sure. Should I close this one?

Yep; this is more useful upstream.


Consider plug-in/extension architecture or deliver method.

This has come up a few times but there seems to be a desire to have some official capacity for extensions for Neat (2) either by the creation of new mixins/functions or by swizzling existing ones.
While each of these could be their own gem, it's pretty likely that that would get really out of hand really quickly. There has been discussion of a couple different options but it mostly boils down to the following.

Some official listing of 'accepted' extensions.
Some sort of copypasta section where users can copy out from other repositories
shrug

An example of such an extension would be neat-omega by @kgcreative

I had the idea that github projects might be a good fit for this. I'm going to play around for a bit on it and see how it goes.

This has been implemented within the github projects. It remains to be seen if this is an effective solution.


Refine the access level of project creation

Refine the access level of project creation

Coverage remained the same at 56.767% when pulling 153d807fca4bf52032a7e1f753f10aef20f9ae4a on steven-zou:master into 4f66279c33f930bebc98df511972847cc13f49cf on vmware:master.

Coverage decreased (-0.04%) to 56.722% when pulling 5744b839893e4d84545fa571dfc1f8fb015d43e2 on steven-zou:master into 4f66279c33f930bebc98df511972847cc13f49cf on vmware:master.

Coverage decreased (-0.04%) to 56.722% when pulling cf65c39cef65830a06c5936ac9c0eade32075be5 on steven-zou:master into 4f66279c33f930bebc98df511972847cc13f49cf on vmware:master.

Coverage decreased (-0.04%) to 56.722% when pulling 26d20bd9aa3c3208863c9908810e41064bd99823 on steven-zou:master into 4f66279c33f930bebc98df511972847cc13f49cf on vmware:master.

Coverage decreased (-0.04%) to 56.722% when pulling 755654615e31f03247274c83fe9a9b6e38cc1027 on steven-zou:master into 4f66279c33f930bebc98df511972847cc13f49cf on vmware:master.


Which temporary files are generated by Angular 5 builds?

Should we be dropping the  Remove unneeded build files from the Angular Deployment page?
TL;DR

As described in the Remove unneeded build files from the Deployment page, the build process used to create:

many intermediate files (with suffixes like .ng_meta.json and .ng_summary.json) that you don't need when deploying your app.

I don't believe that these particular files are created anymore, but are there others? How about files like these:
foo.template.linked.sum
foo.template.module
foo.template.unlinked.sum
foo.unlinked.sum

Are these files (and .js.map) only produced by dartdevc?
cc @kwalrath @kevmoo

Closing in favor of https://github.com/dart-lang/angular/issues/1123, as we don't expect users to have to delete any files manually - the infrastructure just doesn't exist for us to do an (automated) cleanup.


add PhpRedis as a Vector Store

It is already possible to store data using Redis with Predis.

PhpRedis have better performances, it is 6 times faster if we refer to this article from 2019.
PhpRedis is harder to install, and the installations steps depends on the OS

Done

@MaximeThoonsen Sorry, but I don't see PhpRedis yet? I only see predis? PhpRedis would be much faster and I could easily use the native PhpRedis in Laravel that way as well without requiring an additional predis client.


Allow Users To Filter Notes Without Tags

Currently, it's easy to find notes that are tagged, however it isn't possible to find "untagged" notes.
A user reported that they can find untagged notes in the web app by searching “tag:untagged”, but it isn't possible to do the same on any of the apps.
Reported: https://help.automattic.com/staff/index.php?_m=tickets&_a=viewticket&ticketid=2403989

@dcoleonline I think you were looking for Automattic/simplenote-ios repo, this is for the syncing client library


SetModifiedTime not work

FTP OS: REHL 6.5
FTP Server: Vsftpd
the "MFMT" command used by SetModifiedTime() doesn't work, logtrace:  "Response: 500 Unknown command", but "MDTM" command works well, logtrace: "Response: 213 File modification time set”
is my vsftpd not configured well?

What, MDTM changes the time? Its supposed to get the modified time, not change it. See this table for support of MDTM. Not sure how your server is using MDTM to change the modified time.

Closing until you indicate its still an issue.


camelCase vs snake_case

Hey all -- first, thank you for the tool, it allows for some pretty elegant database logic!
The Problem
I am looking to use tinypg in a project and wanted to see if you had yet thought about this code style question in terms of recommended practice alongside your tool.
Node / JS tends to prefer camelCase for things like object attributes (and indeed I believe airbnb lint settings require it).
Meanwhile, postgres strongly prefers snake_case for column names.
The Context
ORMs like Sequelize let you deal with this using the underscored flag when defining your model (search this documentation for "underscored").
My instinct is that it would be nice for tinypg to convert the object structure outside of SQL, allowing me define my queries as select * from table rather than having to explicitly list each field in order to specify "camel_case as camelCase"
That said, maybe you would suggest that it's best practice to explicitly list the columns anyway and adjust the queries as necessary if the schema changes in order to be more explicit in the shape of their return values.
The Question
What do you all suggest as tinypg's recommended pattern for addressing the discrepancy for camelCase in node vs snake_case in psql?

If I'm understanding hooks correctly, maybe I could implement this as a QueryResult hook?
(and if you thought this use case was common enough then maybe you would would consider providing the implemented hook as part of tinypg which the user could either use or not use as needed)

As a user of tinypg, I would recommend that mapping in your js/ts rather than in your queries. I think explicitly mapping to your model in js/ts gives you extra protection against any other problems that could creep up. You can do some extra validation in that process as well (we use the "decoder" pattern).


change save_dvc_exp warning to info

From https://github.com/iterative/dvclive/pull/631/files#r1269153204

Codecov Report
Patch coverage: 33.33% and project coverage change: -0.22 :warning:

Comparison is base (28a0224) 89.69% compared to head (810e346) 89.47%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #632      +/-   ##
==========================================
- Coverage   89.69%   89.47%   -0.22%
==========================================
  Files          43       44       +1
  Lines        2988     2994       +6
  Branches      250      250
==========================================
- Hits         2680     2679       -1
- Misses        269      276       +7
  Partials       39       39

Impacted Files
Coverage Δ

src/dvclive/_dvclive_version.py
0.00% <0.00%> (ø)

src/dvclive/live.py
94.82% <100.00%> (-0.02%)
:arrow_down:

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[FLOC-2315] Release Flocker 1.0.0

Pre-tag review process ready.
Please follow http://doc-dev.clusterhq.com/gettinginvolved/infrastructure/release-process.html#pre-tag-review-process.

Thanks @adamtheturtle
A manual local diff shows the minimal set of changes and they all look fine:

git diff origin/master..origin/release/flocker-1.0.0

There are AWS and Rackspace build failures due to API and resource limits, but there's nothing we can do about those and we've seen the tests pass on the pre1 branch, so
Please proceed.

Merged manually using git commit -m "Merge 1.0.0 into master"


Constant / compile-time-only functions

Search Terms
const compiler keyword functions
Suggestion
Allow for functions to be marked as 'const', a function marked as 'const' can be evaluated at compile time.
Allow for functions to be marked as 'compiler', a function marked with compiler can only be evaluated at compile time and is not emitted in the final code.
Functions marked with 'compiler' van only be called with arguments that are constants, or the result
from other 'compiler' functions.
Use Cases
Calculate and generate 'stuff' at compile time instead of runtime.
Examples
const x = concat("a","b");

const function concat(a: string, b: string) : string
{
	return a + b;
}

Compiles to (ES5):
var x = "ab";
function concat(a, b) {
	return a + b;
}

const x = concat("a","b");

compiler function concat(a: string, b: string) : string
{
	return a + b;
}

Compiles to (ES5):
var x = "ab";

const templateFunction = compileHandleBars("
{{a}}
");

compiler function compileHandleBars(template: string) : Function
{
	// code for compiling handlebars template ommitted.
}

Compiles to:
var templateFunction = function(object) {
	// generated handlebars code ommited.
}

const myVueTemplate = optimizeHtml(`

{{a}}

`);

compiler function optimizeHtml(html: string) : string
{
	// code for optimizing html ommitted.
}

Compiles to:
var myVueTemplate = "

{{a}}

";

compiler const PngDataUriPrefix = "data:image/png;base64,";
const myImage = PngDataUriPrefix + getBinaryFileAsBase64("~/logo.png");

compiler function getBinaryFileAsBase64(path: string) : string
{
	// code for reading file from disk and base64-encoding ommitted
}

Compiles to:
var myImage = "data:image/png;base64,0lGODl ... ommitted... hEAAQAM=";

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript / JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[ ] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. new expression-level syntax)

This could be implemented without emitting different JS based on the types of the expressions

This proposal does depend on the type of function (compiler function or normal function), no?

I stand corrected. Proposal updated.

The main reason for this proposal was that all other build chain tools like Uglify, WebPack etc. are not TypeScript-aware. They use the output from the TS-compiler and generate less efficient and optimized code than would be possible if they were TypeScript aware.
Looks like I have to build or find a pre-compiler...
Off topic: I use const enum a lot, the generated code is a lot better than the code with a regular enum. If you could somehow make a regular enum behave like a const enum, if typescript detects it's used like a const enum, everyone would be happy.

https://github.com/Morglod/tsts
Currently working on comptime transformer
const numbers = [ 1, 2, 3, 4, 5, 6, 7, 8 ];
const result = comptime(() => {
    return numbers.reduce((total, x) => sum(total, x), 0);
});

to
const result = (() => { return (36); })();


Fix store structure

Don't use combineReducers, since it nests properties, making components unable to access it properly.

@flavius-tirnacop-hs Please review code.

LGTM


Class name must be a valid object or a string

I got an error of Class name must be a valid object or a string while I'm adding an item in the cart.
I am getting this error in ShopCartTrait of the add method

Hello,
I solved it by changing   return $this->belongsTo(Config::get('auth.model'), 'user_id');
to  return $this->belongsTo(Config::get('auth.providers.users.model'), 'user_id');  in vendor\amsgames\laravel-shop\src\Traits\ShopCartTrait and it works.

share your personal mail id
On Tue, Nov 27, 2018 at 12:03 PM ankitabhatti05<EMAIL_ADDRESS>wrote:

Hello,
I solved it by changing return
$this->belongsTo(Config::get('auth.model'), 'user_id');
to return $this->belongsTo(Config::get('auth.providers.users.model'),
'user_id'); in vendor\amsgames\laravel-shop\src\Traits\ShopCartTrait
and it works.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/amsgames/laravel-shop/issues/67#issuecomment-442034669,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcCnKZq8iuYkc_98c11nm-nFVkgF17ZSks5uzSojgaJpZM4Y1JQF
.

--
RegardsNirbhay Singh Dhaked
Sr. Php Developer
*Konstant infosolutions *
pvt.ltd
Jaipur (Rajasthan) 302020Cont:-<PHONE_NUMBER>

share your personal mail id
…
On Tue, Nov 27, 2018 at 12:03 PM ankitabhatti05 @.***> wrote: Hello, I solved it by changing return $this->belongsTo(Config::get('auth.model'), 'user_id'); to return $this->belongsTo(Config::get('auth.providers.users.model'), 'user_id'); in vendor\amsgames\laravel-shop\src\Traits\ShopCartTrait and it works. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#67 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AcCnKZq8iuYkc_98c11nm-nFVkgF17ZSks5uzSojgaJpZM4Y1JQF .
-- RegardsNirbhay Singh Dhaked Sr. Php Developer *Konstant infosolutions * pvt.ltd Jaipur (Rajasthan) 302020Cont:-<PHONE_NUMBER>

It's<EMAIL_ADDRESS>


Suggestion: update a FAQ instruction in README.md

In the README.md >> FAQ >> How do I set the Organization to Public >>  ii. Click on people in this box, the original image is:

When I first tried to follow the instruction (Click on people in this box), I clicked on people’s images instead of the text above them, which led me to the wrong place.
I think it needs a red circle (see the image below) to indicate where readers should click, it will add more clarity.

Great Suggestion 👍 Would you like to work on this?

Yes, I will. 🙂

Thank you both 👍


Fix Job command getter

Handle undefined run configuration properly.
/cc @jfurrow

Reviewer: @jfurrow

mesosphere-ci retest this please

LGTM


Refund order based on id or reference number

[ ] Testing

[x] Code is tested
[x] Changes have been manually tested

What are the relevant tickets?
Fix https://github.com/mitodl/mitxonline/issues/816
What's this PR do?
Refund order based on id or reference number
How should this be manually tested?
Try to refund an order through django admin, and through google sheets

Codecov Report

Merging #847 (afbae72) into main (5d0ad56) will increase coverage by 0.02%.
The diff coverage is 90.90%.

@@            Coverage Diff             @@
##             main     #847      +/-   ##
==========================================
+ Coverage   85.21%   85.24%   +0.02%
==========================================
  Files         132      132
  Lines        5870     5875       +5
  Branches      967      969       +2
==========================================
+ Hits         5002     5008       +6
+ Misses        711      710       -1
  Partials      157      157

Impacted Files
Coverage Δ

sheets/plugins.py
0.00% <ø> (ø)

ecommerce/api.py
80.99% <90.90%> (+0.81%)
:arrow_up:

ecommerce/discounts.py
80.70% <0.00%> (+1.75%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

closed by accident

@annagav I've cut a new release of mitol-django-common that should fix the test failure: https://pypi.org/project/mitol-django-common/2.5.2/

@annagav I've been trying to test this but I'm finding that it's failing because my google sheet isn't copying over reference numbers - it's still copying over historical numeric order ids but not the ones with the prefix. Any ideas on why or what I need to fix?


:technologist:  Updated debugging code (commented) updated comments and fixed some typos

Tweaked comments and added more sane delays for debugging code

🚑 Changed signal pins to the corresponding ports


Boolean validator

I'd really like that, I have a form which need a boolean value (checkbox to accept legal agreements) to be true to validate!

This will actually be fixed in #66


Update dependencies, refactor to promises, Heroku bootstrap

Hi there,
I used your project in a demo of Heroku Pipelines yesterday, so I've got a version that's got up-to-date resources and a mostly complete refactor to use promises instead of callbacks.
It also uses db-migrate for the database setup and has a couple of setup files that means it'll "just work" with Heroku.
Happy to finish tidying it up and submit a PR if you want it!

I think I'd probably write a new blog post for this. Can you submit the PR and I'll figure out how to incorporate it into the new post? Thanks!


[Add] Image Resource

Site URL
https://stock.adobe.com/in/
Description of the above provided site
This site includes a collection of stock photos, stock photography & royalty-free images.
Category
Frontend
Sub Category
images
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

You're assigned @Sriparno08


Error connecting to database

Hey,
I am trying to run
docker compose build --no-cache && docker compose up
but I get the following error
Could not import azure.core python package.
ERROR:root:Error connecting to database: (psycopg2.OperationalError) connection to server at "localhost" (<IP_ADDRESS>), port 5432 failed: Connection refused

is there a workaround to this?
I am running this on a MacOS Monterey Version 12.6.3 terminal

I have fixed the above issue by changing
database:
    url: 'postgresql://postgres:postgres@localhost:5432/Adventureworks'

to
database:
    url: 'postgresql://postgres:postgres@postgres:5432/Adventureworks'

in the development.yaml file.
However, now I am getting the following output and nothing is happening beyond this
{"asctime": "2023-08-21 10:13:00,977", "name": "root", "message": "current path /app/utils", "timestamp": "2023-08-21T10:13:00.977578+00:00", "status": "DEBUG"}

clicking on http://localhost:8080/ returns
{
"detail": "Not Found"
}

Hey @KishinNext, thanks for the reply. I have been afk and now coming back. I see this is closed, but I am wondering if this is the expected output if the app runs correctly,
{"asctime": "2023-08-21 10:13:00,977", "name": "root", "message": "current path /app/utils", "timestamp": "2023-08-21T10:13:00.977578+00:00", "status": "DEBUG"}
I expected a bit more action.

Hello @JobCollins, Yes, that's the expected output when the app ran correctly (a not-so-clear workflow, by the way 😅) but you can now use the app to run your queries. Ideally, if you're working locally, you can use ngrok to connect your environment to the Slack application and start testing the tool.


Add support for Piosson input to MC neurons

Most neuro-scientific neuron models have a mechanism to inject random current into the cell-membrane to get a distribution of potentials.
Solution: Implementation and interface that can be described in terms of cell-member-id (i.e. gid + synapse index) × global seed (possibly per-cell-kind) → sequence of events. Per-synapse weight and sequence number within the Poisson stream would comprise internal state of the generator, and the event times would then be computed via a hashing random number generator.
For the POC s a copy of our current mc_cell_group type will be taken and this functionality is added here.

This functionality appears now to be provided by the event generator support, which provides both a (strictly) Poisson source of events and a more general functionality for generating spike events from an arbitrarily generated sequence of times.


vscode can't start on centos7.4

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: code-1.78.0-1683145689.el7.x86_64.rpm
OS Version: centos7.4 in the virtual machine

Steps to Reproduce:
1.install code package
2. start code with command 'code'
3. start faild with error 'undefined symbol bgm_bo_get_modifier'

the latest  vscode 1.85.2-1705561377.el7.x86_64 still can't start on centos7.4 with error 'undefined symbol bgm_bo_get_modifier'.
but it can start such as 1.85.2 and 1.78.0 on centos7.9

Help! where has the vscode for centos7.4

Hi @KKuig, apologies for getting to the issue so late.
I believe we don't support CentOS 7 anymore. See the Requirements page for details.
If you have to use CentOS 7, I suggest downgrading to the last working version of VS Code.
CC @deepak1556


Remove Screenshots file

I asked Dave about this ages ago (it appears October 2014).  He said that the file could go away.

Not sure who the command-center owner is now.