ESP32 to imitate BLE TPMS sensors

I would like to send the data that ESP32 collect from 433MHz TPMS sensors to Your Android app.
To do that I need to know the SERVICE_UUID and the format the data of the sensors sent over the BLE.
Could you direct me where to find that info?
Thanks in advance.

Great, thank you.
Do you think if I send the 4 wheels data from the same MAC address, would it be a problem?

In this case, your BLE data packets should be formatted like Sysgration sensors, on Pecham sensors, mac address is used as unique id.
Which antenna do you use on your ESP32 to intercept 433 signal ? I use ESPHome on my ESP32 and I'm curious about your project

Well, I ported this code to ESP32 with CC1101.
I was able to receive the 433MGHz signal of my 2013 Nissan Micra with the ESDP32 Board.
Now I plan to add to the code the ability to publish the 4 sensors data over BLE.

About the MAC address, I saw that the Sysgration parser use the manufacture data to determine location of the sensor. I wonder would the code would be ok with one BLE connection with one service number and 4 different manufacture data frames?

I am having hard time scanning the QR code I came up with into the app. I gave the virtual sensors the following ID's 108A78, 108A79, 108A7A and 108A7B. The QR code I came up with is for the 5 left digits. Am I doing something wrong?

About the MAC address, I saw that the Sysgration parser use the manufacture data to determine location of the sensor. I wonder would the code be ok with one BLE connection with one service number and 4 different manufacture data frames?

As long the 4 packets are sent separately, you can sent them at the same time from the same device, TPMS Advanced will managed them like real sensors.

I am having hard time scanning the QR code I came up with into the app. I gave the virtual sensors the following ID's 108A78, 108A79, 108A7A and 108A7B. The QR code I came up with is for the 5 right digits. Am I doing something wrong?

11AD8B&21563D&31A4F0&41A552 is a valid QRCode recognized by TPMS advanced. The first digit is important since 1, 2, 3 and 4 represent the location of the wheel. The code maps theses numbers to theses locations: FRONT_LEFT, FRONT_RIGHT, REAR_LEFT and REAR_RIGHT.
Then, the whole id is converted as int to represent the unique id of the sensor. For instance, on my sensors, 11AD8B was prefixed by 0x00 and converter to this int -1951592192.

About the MAC address, I saw that the Sysgration parser use the manufacture data to determine location of the sensor. I wonder would the code be ok with one BLE connection with one service number and 4 different manufacture data frames?

As long the 4 packets are sent separately, you can sent them at the same time from the same device, TPMS Advanced will managed them like real sensors.

I am having hard time scanning the QR code I came up with into the app. I gave the virtual sensors the following ID's 108A78, 108A79, 108A7A and 108A7B. The QR code I came up with is for the 5 right digits. Am I doing something wrong?

11AD8B&21563D&31A4F0&41A552 is a valid QRCode recognized by TPMS advanced. The first digit is important since 1, 2, 3 and 4 represent the location of the wheel's sensor. The code maps theses numbers to theses locations: FRONT_LEFT, FRONT_RIGHT, REAR_LEFT and REAR_RIGHT.
Then, the whole id is converted as int to represent the unique id of the sensor. For instance, on my front left sensor, 11AD8B was prefixed by 0x00 and converter to an int, the result is: -1951592192.

I am publishing manufacture data for each sensor according to the format I have found here. Is that correct?
I was able to scan the QR code after I formatted it as you advised, but no data was displayed in the main screen. So I guess I am still not doing it right.
Attached is the screen video from nRF Connect app.
https://github.com/VincentMasselis/TPMS-advanced/assets/32562196/e953b1e9-8143-40d9-8fcf-5f56c8400a6d

Update:
It turned out that I wasn't publishing the service UUID. There is a limit for advertisement size in BLE 4 (which ESP32 comply with) of 31 byte. Since service UUID is 16 bytes and manufacturer data (the sensor data - ID, location, pressure, temperature etc.) is 18 bytes, one have to set the Service UUID into Scan response advertisement data.
After mending that the data sent was visible in the TPMS advanced app.
I also found that if I set the advertisement type to ADV_TYPE_NONCONN_IND (non connect and indirect) then the data is not showing up in the TPMS advanced app.

  // Initialize the BLE device
  BLEDevice::init("ESP32");

  // Create BLE Server
  BLEServer *pServer = BLEDevice::createServer();

  // Create the BLE Service
  BLEService *pService = pServer->createService(serviceUUID);

  // Start the service
  pService->start();

  // Start advertising
  BLEAdvertising *pAdvertising = BLEDevice::getAdvertising();

// Set manufacturer data for each sensor
  for (int i = 0; i < 4; i++) {
    BLEAdvertisementData oAdvertisementData = BLEAdvertisementData();
    String manufacturerData((char*)tpmsData[i], sizeof(tpmsData[i]));
    oAdvertisementData.setManufacturerData(manufacturerData);
    pAdvertising->setAdvertisementData(oAdvertisementData);
    //pAdvertising->setAdvertisementType(ADV_TYPE_NONCONN_IND);

    BLEAdvertisementData scanResponseData;
    scanResponseData.setCompleteServices(serviceUUID);
    pAdvertising->setScanResponseData(scanResponseData);

     // Configure advertising
    pAdvertising->setScanResponse(true);
    pAdvertising->setMinPreferred(0x06);  // functions that help with iPhone connections issue
    pAdvertising->setMinPreferred(0x12);

    // Start advertising
    pAdvertising->start();
    Serial.print("Advertising started! Sending Sensor no.");
    Serial.println(i);
    delay(1000); // Advertise each sensor data for 1 second
    pAdvertising->stop();
  }
}

void loop() {
  BLEAdvertising *pAdvertising = BLEDevice::getAdvertising();
  for (int i = 0; i < 4; i++) {
    BLEAdvertisementData oAdvertisementData = BLEAdvertisementData();
    String manufacturerData((char*)tpmsData[i], sizeof(tpmsData[i]));
    oAdvertisementData.setManufacturerData(manufacturerData);
    pAdvertising->setAdvertisementData(oAdvertisementData);
    //pAdvertising->setAdvertisementType(ADV_TYPE_NONCONN_IND);

    BLEAdvertisementData scanResponseData;
    scanResponseData.setCompleteServices(serviceUUID);
    pAdvertising->setScanResponseData(scanResponseData);

     // Configure advertising
    pAdvertising->setScanResponse(true);
    pAdvertising->setMinPreferred(0x06);  // functions that help with iPhone connections issue
    pAdvertising->setMinPreferred(0x12);

    // Start advertising
    pAdvertising->start();
    //Serial.println("Advertising started!");
    Serial.print("Advertising started! Sending Sensor no.");
    Serial.println(i);
    delay(1000); // Advertise each sensor data for 1 second
    pAdvertising->stop();
  }
  delay(2000);
}

11AD8B&21563D&31A4F0&41A552 is a valid QRCode recognized by TPMS advanced. The first digit is important since 1, 2, 3 and 4 represent the location of the wheel's sensor. The code maps theses numbers to theses locations: FRONT_LEFT, FRONT_RIGHT, REAR_LEFT and REAR_RIGHT. <
Just to be sure, I see that with first digit set to 1  the sensor mapped to Front Right could anyone confirm?

Your map is correct to industry standards. my Autel TPMS reader reads in that order the JMSolns SW also assumes that.


add common scales to README

This doesn't cover everything - as someone said color is complicated. It does add documentation that indicates the intended full-scale range for reasonable color spaces.
Addresses #78
For curious people:
Discontinuity in LAB <-> XYZ conversion

Very well done, I think this strikes a good balance. Thanks! :)


Foreign Cc - Configure: Building luajit failed: not all outputs were created or valid

Hi, I've build the envoy-build-ubuntu image for the tag v1.22.1 for ppc64le architecture in order to build envoy.
Without lua (which is the default for ppc64le) it just works fine but when I removed lua from PPC_SKIP_TARGET it crashes:
[root@p1319-met1 envoy]# git diff
diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl
index cab3cac8d6..b11b2d4674 100644
--- a/bazel/repositories.bzl
+++ b/bazel/repositories.bzl
@@ -5,7 +5,7 @@ load("@envoy_api//bazel:external_deps.bzl", "load_repository_locations")
 load(":repository_locations.bzl", "REPOSITORY_LOCATIONS_SPEC")
 load("@com_google_googleapis//:repository_rules.bzl", "switched_rules_by_language")

-PPC_SKIP_TARGETS = ["envoy.filters.http.lua"]
+PPC_SKIP_TARGETS = []

When I then try to build it, it throws this error:
ERROR: /build/tmp/_bazel_envoybuild/b570b5ccd0454dc9af9f65ab1833764d/external/envoy/bazel/foreign_cc/BUILD:77:15: output 'external/envoy/bazel/foreign_cc/luajit/lib/libluajit-5.1.a' was not created
ERROR: /build/tmp/_bazel_envoybuild/b570b5ccd0454dc9af9f65ab1833764d/external/envoy/bazel/foreign_cc/BUILD:77:15: Foreign Cc - Configure: Building luajit failed: not all outputs were created or valid

Full log:
[root@p1319-met1 envoy]# ./ci/run_envoy_docker.sh "./ci/do_ci.sh bazel.release.server_only"
142e6d5662b98277a84c327da26ed266ab0e3191: Pulling from mgiessing/envoy-build-ubuntu
Digest: sha256:ad45d631e60c0e36ffc39a1c459dd4ad693a4ed0f6f36da954b0acff37aad6cd
Status: Image is up to date for quay.io/mgiessing/envoy-build-ubuntu:142e6d5662b98277a84c327da26ed266ab0e3191
quay.io/mgiessing/envoy-build-ubuntu:142e6d5662b98277a84c327da26ed266ab0e3191

real    0m0.642s
user    0m0.088s
sys     0m0.000s
No remote cache is set, skipping setup remote cache.
ENVOY_SRCDIR=/source
ENVOY_BUILD_TARGET=//source/exe:envoy-static
ENVOY_BUILD_ARCH=ppc64le
$TEST_TMPDIR defined: output root default is '/build/tmp' and max_idle_secs default is '15'.
Starting local Bazel server and connecting to it...
WARNING: info command does not support starlark options. Ignoring options: [--@com_googlesource_googleurl//build_config:system_icu=0]
$TEST_TMPDIR defined: output root default is '/build/tmp' and max_idle_secs default is '15'.
WARNING: info command does not support starlark options. Ignoring options: [--@com_googlesource_googleurl//build_config:system_icu=0]
HEAD is now at ac6a66a4 Changes to make example buildable with new Envoy include paths (#149)
$TEST_TMPDIR defined: output root default is '/build/tmp' and max_idle_secs default is '15'.
WARNING: info command does not support starlark options. Ignoring options: [--@com_googlesource_googleurl//build_config:system_icu=0]
building using 160 CPUs
building for ppc64le
clang toolchain with libc++ configured
bazel release build...
Building (type=release target=//source/exe:envoy-static debug=//source/exe:envoy-static.dwp name=envoy)...
ENVOY_BIN=source/exe/envoy-static
$TEST_TMPDIR defined: output root default is '/build/tmp' and max_idle_secs default is '15'.
INFO: Analyzed target //source/exe:envoy-static (764 packages loaded, 30221 targets configured).
INFO: Found 1 target...
ERROR: /build/tmp/_bazel_envoybuild/b570b5ccd0454dc9af9f65ab1833764d/external/envoy/bazel/foreign_cc/BUILD:77:15: output 'external/envoy/bazel/foreign_cc/luajit/lib/libluajit-5.1.a' was not created
ERROR: /build/tmp/_bazel_envoybuild/b570b5ccd0454dc9af9f65ab1833764d/external/envoy/bazel/foreign_cc/BUILD:77:15: Foreign Cc - Configure: Building luajit failed: not all outputs were created or valid
Target //source/exe:envoy-static failed to build
INFO: Elapsed time: 22.025s, Critical Path: 14.27s
INFO: 164 processes: 162 internal, 2 processwrapper-sandbox.

Any idea what could be the reason for this?

Does LuaJIT itself compile on ppc64le?

I'm replacing the original LuaJIT with the ppc64le port (https://github.com/PPC64/LuaJIT - I created a release from that port which I'm referencing in bazel/repository_locations.bzl) and that compiles just fine on Power.
When building envoy with gcc it does work just fine, but I'd like to use the CI/CD build automation with clang if possible :)
Thanks!

Can you run bazel build --config=clang //bazel/foreign_cc:luajit in your build docker, then see content in
bazel-bin/bazel/foreign_cc/luajit_foreign_cc/Configure.log?

It basically complains a lot about needing gcc => 4.3:
root@d6eed21790bd:/work/istio_build/envoy# cat bazel-bin/bazel/foreign_cc/luajit_foreign_cc/Configure.log

Bazel external C/C++ Rules. Building library luajit

Environment:______________
BAZEL_LINKLIBS=-l%:libstdc++.a
EXT_BUILD_ROOT=/root/.cache/bazel/_bazel_root/66e164d097f5696c35c89f839c62ab70/sandbox/processwrapper-sandbox/2/execroot/envoy
INSTALLDIR=/root/.cache/bazel/_bazel_root/66e164d097f5696c35c89f839c62ab70/sandbox/processwrapper-sandbox/2/execroot/envoy/bazel-out/ppc-fastbuild/bin/bazel/foreign_cc/luajit
BAZEL_LINKOPTS=-lm
CC=clang
BAZEL_COMPILER=clang
PWD=/root/.cache/bazel/_bazel_root/66e164d097f5696c35c89f839c62ab70/sandbox/processwrapper-sandbox/2/execroot/envoy
BUILD_TMPDIR=/root/.cache/bazel/_bazel_root/66e164d097f5696c35c89f839c62ab70/sandbox/processwrapper-sandbox/2/execroot/envoy/bazel-out/ppc-fastbuild/bin/bazel/foreign_cc/luajit.build_tmpdir
TMPDIR=/tmp
EXT_BUILD_DEPS=/root/.cache/bazel/_bazel_root/66e164d097f5696c35c89f839c62ab70/sandbox/processwrapper-sandbox/2/execroot/envoy/bazel-out/ppc-fastbuild/bin/bazel/foreign_cc/luajit.ext_build_deps
CXX=clang++
SHLVL=3
BUILD_LOG=bazel-out/ppc-fastbuild/bin/bazel/foreign_cc/luajit_foreign_cc/Configure.log
BUILD_SCRIPT=bazel-out/ppc-fastbuild/bin/bazel/foreign_cc/luajit_foreign_cc/build_script.sh
BUILD_WRAPPER_SCRIPT=bazel-out/ppc-fastbuild/bin/bazel/foreign_cc/luajit_foreign_cc/wrapper_build_script.sh
PATH=/root/.cache/bazel/_bazel_root/66e164d097f5696c35c89f839c62ab70/sandbox/processwrapper-sandbox/2/execroot/envoy:/opt/llvm/bin/:/opt/llvm/bin//usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
_=/usr/bin/env
__________________________
+ mkdir -p /root/.cache/bazel/_bazel_root/66e164d097f5696c35c89f839c62ab70/sandbox/processwrapper-sandbox/2/execroot/envoy/bazel-out/ppc-fastbuild/bin/bazel/foreign_cc/luajit.build_tmpdir/luajit
+ ARFLAGS=rcsD
+ ASFLAGS='-U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -no-canonical-prefixes -Wno-builtin-macro-redefined -D__DATE__=redacted -D__TIMESTAMP__=redacted -D__TIME__=redacted -fPIC -Wno-deprecated-declarations -fexceptions'
+ CFLAGS='-U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -no-canonical-prefixes -Wno-builtin-macro-redefined -D__DATE__=redacted -D__TIMESTAMP__=redacted -D__TIME__=redacted -fPIC -Wno-deprecated-declarations -fexceptions'
+ CXXFLAGS='-U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -std=c++0x -no-canonical-prefixes -Wno-builtin-macro-redefined -D__DATE__=redacted -D__TIMESTAMP__=redacted -D__TIME__=redacted -fPIC -Wno-deprecated-declarations -std=c++17'
+ LDFLAGS='-fuse-ld=/usr/bin/ld.gold -Wl,-no-as-needed -Wl,-z,relro,-z,now -B/opt/llvm/bin -lm -l:libstdc++.a -fuse-ld=lld'
+ AR=/usr/bin/ar
+ CC=/opt/llvm/bin/clang
+ CXX=/opt/llvm/bin/clang
+ CPPFLAGS=
+ /root/.cache/bazel/_bazel_root/66e164d097f5696c35c89f839c62ab70/sandbox/processwrapper-sandbox/2/execroot/envoy/external/com_github_luajit_luajit/build.py --prefix=/root/.cache/bazel/_bazel_root/66e164d097f5696c35c89f839c62ab70/sandbox/processwrapper-sandbox/2/execroot/envoy/bazel-out/ppc-fastbuild/bin/bazel/foreign_cc/luajit.build_tmpdir/luajit
==== Building LuaJIT 2.1.0-beta3 ====
make -C src
make[1]: Entering directory '/root/.cache/bazel/_bazel_root/66e164d097f5696c35c89f839c62ab70/sandbox/processwrapper-sandbox/2/execroot/envoy/bazel-out/ppc-fastbuild/bin/bazel/foreign_cc/luajit.build_tmpdir/com_github_luajit_luajit/src'
lj_arch.h:414:2: error: "Need at least GCC 4.3 or newer"
#error "Need at least GCC 4.3 or newer"
 ^
1 error generated.
lj_arch.h:414:2: error: "Need at least GCC 4.3 or newer"
#error "Need at least GCC 4.3 or newer"
 ^
[...]

I'm checking whether this ppc64le LuaJIT port might have restrictions for using gcc
See the full log attached :)
Configure.log

It seems clang is only allowed for x86 & arm64 architecture
https://github.com/PPC64/LuaJIT/blob/ppc64-port/src/lj_arch.h#L388-L417

I released a new ppc64 port for LuaJIT containing all the relevant changes and now it works with clang on Power 🙌
Thanks for your help @lizan


do not scale button multiple times with multi-touch

https://github.com/BabylonJS/Babylon.js/issues/6163

it was fast :)


Fix extra checks

Option to show the generated artifacts to the students
Option to remove private docker images
Fix new students join individual projects automatically
Remove emojis after democratic decision

Looks good overall, but I don't know what exactly goes wrong but when creating a project with multiple extra checks and different combinations for artifacts and logs visibilty, I get the following error:
ValueError: Field 'id' expected a number but got ''.
"POST /api/projects/4/extra_checks/ HTTP/1.0" 500 19216
 Internal Server Error: /api/projects/4/extra_checks/

I see the issue, when you create multiple extra checks the form is reset. But by doing this, the docker image field is set to a default empty one. So when you don't select a docker image in the list, this passes the validation but will not work when making the request. I will fix that.


Retry a succeeded task

Suppose I have a workflow of task A, B, C.

A cost 1 day to produce some data for B.
B execute some code from git to produce output for C.
C process B's output
After execution, A/B is success and C is failed. I found B has a little bug and fix that code.
Now I want to skip A and re-execute B again. Can I have a way to do this?
Though it's not a reasonable petition for workflow, but debugging could be easy if it is implemented.

Hello @bnuzhanyu! This is a good question and.. I am not sure. I know Argo recently added debug pause but it does not seem to satisfy the use case here. Perhaps two other options are:

modify the workflow to not include task A
use memoization to cache the result of A so you can resubmit the workflow with the bug fix for B to run C but skip A during execution because the result is cached. Argo will see the cached result and not execute the step. It will still show up in the UI, I believe

What about adding additional parameter to the tasks, lets say skip, and just exit from the function? As far as I know Argo doesn't support retrying successful tasks. Is resubmitting an option?

How about inserting a step to check if the file to be generated by task A exists?
If the file exists, skip execution of task A.
ws = WorkflowService(
    host=host,
    token=token,
    namespace=namespace,
)

w = Workflow(
    "skip_conditional",
    ws,
    namespace=namespace,
    service_account_name=service_account,
)

def is_exist_file():
    print("exist_true")

def A():
    print("A cost 1day to produce some data for B.")

def B():
    print("produce output for C.")

def C():
    print("process B's output")

is_exist_file_task = Task(name="is_exist_file", func=is_exist_file, image=image)
a_task = Task(name="A", func=A, image=image)
a_task.when(is_exist_file_task, Operator.not_equal, "exist_true")
b_task = Task(name="B", func=B, image=image)
c_task = Task(name="C", func=C, image=image)

is_exist_file_task >> a_task >> b_task >> c_task
w.add_tasks(is_exist_file_task, a_task, b_task, c_task)
w.create()

STEP                 TEMPLATE          PODNAME                      DURATION  MESSAGE
 ✔ skip-conditional  skip-conditional
 ├─✔ is-exist-file   is-exist-file     skip-conditional-403606110   11s
 ├─○ A               A                                                        when 'exist_true != exist_true' evaluated false
 ├─✔ B               B                 skip-conditional-1736041191  10s
 └─✔ C               C                 skip-conditional-1719263572  12s

@szdr I believe that is memoization, which is supported by Argo Workflows! Would that solve for this use case?


Add fee

Hi,
I think it could be good if we can add brokerage fees too.
For example when i bought 100 JPY stock, it cost 10€.
I try tomorrow too !

Hi,
I think it could be good if we can add brokerage fees too.
For example when i bought 100 JPY stock, it cost 10€.
I try tomorrow too !

Hi,
Thanks for the contribution on my project ! It's an excellent idea, I'll add this feature soon

This feature is added with release 2.0. Thanks for the submission !


simplify the deployment and add some sample yaml

This PR contains 2 changes

use a simpler config for default deployment, that has placement rule enabled, no need to set queues explicitly.
add some sample yamls for admission-controller tests

Thanks @wilfred-s for helping to fix the comments! Merging this now.


Cant enable azure policy add ons in aks cluster via cli

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks enable-addons
Errors:
'azure-policy'
Traceback (most recent call last):
Local\Temp\pip-unpacked-wheel-mtleih48\knack\cli.py, ln 215, in invoke
azure\cli\core\commands\__init__.py, ln 654, in execute
azure\cli\core\commands\__init__.py, ln 718, in _run_jobs_serially
azure\cli\core\commands\__init__.py, ln 711, in _run_job
AppData\Local\Temp\pip-unpacked-wheel-qqxn1krb\six.py, ln 703, in reraise
azure\cli\core\commands\__init__.py, ln 688, in _run_job
azure\cli\core\commands\__init__.py, ln 325, in __call__
pip-unpacked-wheel-a_t_wugh\azure\cli\core\__init__.py, ln 782, in default_command_handler
azure\cli\command_modules\acs\custom.py, ln 2112, in aks_enable_addons
azure\cli\command_modules\acs\custom.py, ln 2529, in _update_addons
KeyError: 'azure-policy'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az aks enable-addons --addons {} --name {} --resource-group {}

Expected Behavior
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.6.8
Installer: MSI

azure-cli 2.11.1

Extensions:
azure-devops 0.18.0
image-copy-extension 0.2.3

Additional Context

route to appropriate team

This is fixed. Please upgrade to the latest version of azure cli 2.39.0


Upgrade release wrapper to latest nightly

Upgrade release wrapper to latest nightly

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Required License information missing

About one third (1/3) of all the items listed are missing the required license information. Like self service password reset or assign licenses to users by group membership. or Use Application Proxy to integrate on-premises applications.
It appears that one of the intents of this document is to outline required licenses, but this information is missing for a lot of items.

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

ID: 8763efcd-d2ef-6547-e33d-c250d97020f6
Version Independent ID: d8969bd7-a35d-e21d-ec43-ba6028ccbc5f
Content: Azure AD deployment checklist
Content Source: articles/active-directory/fundamentals/active-directory-deployment-checklist-p2.md
Service: active-directory
Sub-service: fundamentals
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@astaykov Thank you for your feedback . We are engaging the content team to review and update the thread.


HOW CAN I CHANGE IOS "LOG IN WITH FACEBOOK" TEXT?

Actually i think might be better a Text Custom Element because i need to add a fontFamily property as well...


Add CPU_LIMIT and OAUTH_PROXY_CPU_LIMIT

I set them to be the same as the requests, because gabi doesn't appear to be CPU-bound. I checked one cluster's usage via PromQL:
max_over_time(pod:container_cpu_usage:sum{pod=~"gabi.*"}[24h:5m])

and saw 0.02 as the highest number across the last couple of weeks of metrics, so I figure setting the same as the request seems a reasonable default.

related to #65

covered by https://github.com/app-sre/gabi/pull/69


Creating XSD from non-object type

Hi
First of all I want to say thanks for a great tool.
I'm getting java.lang.IllegalArgumentException: root should have type="object" when using a schema that is not starting with object such as.
{
    "type": "array",
    "items": {
        "type": "object",
        "properties": {
            "price": {
                "type": "number"
            },
            "name": {
                "type": "string"
            },
            "isExpired": {
                "default": false,
                "type": "boolean"
            }
        }
    }
}

Am I doing something wrong here or is this a bug?
Thanks
Björn

Hi! Thanks for taking the time to try this tool!
I have just created a 2.0-SNAPSHOT release, please see the updated front page (https://github.com/ethlo/jsons2xsd) for how to test it. Please note the new API and Maven coordinates.


Develop options for model and output

Based on the analysis carried out in othe tasks, we will outline several options for what we will be able to predict and how this will feed into the first participatory AI workshop

No longer relevant.


App crash upon loading

App crash on startup, here is my log
Crash_160713_0146.log.zip
Any idea or solution??

Try v0.7.306. I think it's fixed, feel free to reopen if there is still problems

Now after the update Works just fine again. Thank you
On Jul 13, 2016 11:30 AM, "j2rong"<EMAIL_ADDRESS>wrote:

Closed #6 https://github.com/j2rong/FakeLocation/issues/6.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/j2rong/FakeLocation/issues/6#event-721149910, or mute
the thread
https://github.com/notifications/unsubscribe/AK7X93ncfSdLvJVQvyWXDyKBdPFzSPAGks5qVI0kgaJpZM4JK1oL
.


Outdated builds

March 28th 2015 was the last build update.
Later that year @schteppe fixed body interpolation, which I'm in dire need of.
Why was there no build update for 3 years? Any chance to get it?
Should I just do it myself?
What version of Cannon is canvas_interpolation.html supposed to run on? Because it doesn't work with 0.6.2.
I'm sorry if I'm missing something here. I'm really enjoying Cannon so far.

Just built it myself, interpolation works, no errors. I'm really confused.

There are a number of new stuff in the master branch that I wanted to test before a new release. Didn’t want to push out broken code to a lot of people. And then I got other work to do.
I only update the build/ directory when releasing... so that’s why things are out of sync. Adding builds to every commit doesn’t make sense to me. Build locally and everything should be working.


Dennis/feed to profile navigation

Clicking on Users Picture in Feed Jumps to Their Profile Page #46

Look good, but we shouldn't directly reference the parenting controller through superviews. Make the connection more direct between the 2 elements.

Add in to the PostViewDelegate (in PostView) for your call to move to the profile.

I also fixed the navigation so it shows "Back" instead of a hamburger menu if you navigate from feed to profile to some other controller

Close #46


Document Dataset#featureset and Dataset#fields

Fixes #511
cc @mapsam for the review

Looking :100: @tmcw - thanks for the docs! Going to re-render /documentation/3.5/ and push this out the door.

Coverage increased (+9.0e-05%) to 99.116% when pulling 40e09b255df7ba6e67e710727f7e3707e958c632 on document-dataset into 0e0d2ad86296435d1cc2eeb63948567948870957 on master.

Datasource#featureset: http://mapnik.org/node-mapnik/documentation/3.5/#Datasource.featureset
Datasource#fields: http://mapnik.org/node-mapnik/documentation/3.5/#Datasource.fields
thanks @tmcw!


remove hard-coded credential

The fact the Bazel MacOS tests fail on this explain why these credentials need to stay hardcoded.


Add eslint support

Add ESLint support for JS. Look into eslint-plugin-angular.
When #101 is added, verify ESLint for ES6.

1202e29ba1b69f6599153384f5d1c659efb2cd6a


Make it clear that the developer must first install Gulp

It doesn't make clear that this task doesn't Just Work™ and needs Gulp installing. The Example section is particularly unclear, lacking any descriptive English and I think the Build tab link is broken.
This all culminated in me raising an issue and wasting time with the VS / Azure Pipelines team.
https://developercommunity.visualstudio.com/t/gulp-task-fails-on-windows-2022-vm-image/1592547
I'll be raising another issue to request Gulp be installed globally on the build VM image.
Tasks that assume the developer has first installed tooling should ideally preflight check the environment and produce an actionable error message.
Thanks

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

ID: 5505c36a-de9a-fcc6-4a85-5cfb58debf68
Version Independent ID: 270f33bc-d4ba-a9d8-7e99-9aafeb7ab049
Content: Gulp build and release task - Azure Pipelines
Content Source: docs/pipelines/tasks/build/gulp.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @vijayma
Microsoft Alias: vijayma

@lukepuplett -- Luke, thank you for your well-thought-out feedback, and for raising that issue.
@vijayma -- Vijay, please look into this issue.

#reassign juliakm
Adding a warning message and link to preinstalled software for virtual machine images.


cross validation for xarray_filters.MLDataset - Elm PR 221

[Work in progress] -  This is a PR corresponding to https://github.com/ContinuumIO/elm/pull/221 - cross validation for xarray-based data structures.
TODO:

[ ] Finish Elm PR 221
[ ] See how these changes relate to dask-ml, if at all
[x] Remove print statements from here

@PeterDSteinberg it might be wise to answer some of the more general questions above, like

More specifically, could you lay out why the changes here are necessary?

This might be useful in order to determine if these changes are even in scope for the dask-searchcv project.

Hi @TomAugspurger @mrocklin .  A bit of background.
The docs pipeline.rst link is out of date, see this test_xarray_cross_validation.py in elm PR 221 for current usage.

Why the changes are necessary?

This will allow cross validation using dask.distributed where cross validation is on Dataset/MLDataset structures.  Example workflows would be using a sampler function to load 100 netcdf files with xarray.open_mfdataset as a Dataset with 3D climate arrays, using transformers that do stats / preprocessing on the 3D arrays before making a feature matrix passed to transformers/estimators that take a typical 2D tabular feature matrix, e.g. PCA or KMeans. In that example, the reduction from 3D arrays to 2D may involve time series averaging / binning and it would be nice to hyperparameterize the averaging/binning parameters.
Regarding:

Scikit-learn has an issue for allowing transforms on y

elm.pipeline aims to support transformers that return X, y tuples or X.  In the example above with 3D arrays' feature engineering, there could be several steps passing a MLDataset of 3D arrays, then a step calling  MLDataset.to_features() or other methods to create an X, y tuple.  Passing y through a pipeline is required if using a sampler function.  The changes in this PR related to _split_Xy are for passing X,y tuples or detecting whether they have been returned by a transformer (as opposed to just Dataset/Array-like X).
On:

How does elm.Pipeline's sample_weight relate to the (unimplemented) property routing in scikit-learn/scikit-learn#9566? (that PR is covering a lot, specifically the {'fit_params': sample_weights} bit.

elm.pipeline in Phase 1 (the time of that .rst file) supported passing sample_weight but it was brittle and was not consistent with cross validation ideas of sklearn or this PR.  I will read up on that sklearn issue 9566 ( and scikit-learn/scikit-learn#4143).
I'm not in a major rush to get this merged and can work through any issues you think of.

I'm not in a major rush to get this merged and can work through any issues you think of.

It's not so much a timing issue as an "is this in scope" issue.
Are there ways to accomplish your goals without directly injecting elm code into this project?  For example are there things that this project should generalize or protocols that we might adhere to that might be a little less specific to your project but would still allow you to make progress?

Agreed @mrocklin - I see your point - I don't want to cause scope creep / tech debt here (the time request being to look into that further).  Currently the elm import is optional.  I'll look at the issues above in further detail, but my impression now is that much of the logic here for splitting X,y tuples is also helpful for a pipeline where transformers can return y (unrelated to Dataset-like arguments).

Closing this on in favor of less wordy solution in #61

Probably meant "in favor of #65", as this PR is #61.


[trivy] Prevent sbom collection if disk usage is high

What does this PR do?
This PR adds a check for available disk space before starting SBOM collection for an image
Motivation
The SBOM collection process writes an archive of the image to a tmp folder. When the node is running low on disk space, this check could result in the node being marked as under disk-pressure, forcing pods to be evicted. This PR aims to add a method for preventing this.
Additional Notes
I have hard-coded the directory to check disk usage of as /. This is because, in my testing of both kubernetes and docker outside of kubernetes, the datadog agent is able to see the available disk space of the host volume using this directory.
Describe how to test/QA your changes
Run the agent with the DD_TELEMETRY_ENABLED env var set to true and the DD_CONTAINER_IMAGE_COLLECTION_SBOM_MIN_AVAILABLE_DISK env var set to a value above your current available disk space on your machine. You should be able to see sbom failure telemetry metrics showing up.
Example:
# env | grep SBOM_MIN
DD_CONTAINER_IMAGE_COLLECTION_SBOM_MIN_AVAILABLE_DISK=85GB

# curl -s localhost:6000/telemetry | grep sbom
# HELP trivy_sbom_attempts Number of sbom failures by (source, type)
# TYPE trivy_sbom_attempts counter
trivy_sbom_attempts{source="containerd",type="daemon"} 60
# HELP trivy_sbom_errors Number of sbom failures by (source, type, reason)
# TYPE trivy_sbom_errors counter
trivy_sbom_errors{reason="disk_space",source="containerd",type="daemon"} 60

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Just a small question, could we instead check for disk usage here ?

Just a small question, could we instead check for disk usage here ?

We could, my line of thinking here was that this would force us to add this check to every container runtime as we add trivy support, and so it makes more sense to me to put the check in the calls to the trivy util library itself. It makes consuming the library easier.


Icon Contribution: Bike

Hi Cole, thanks for building feather and creating great icons. I would like to make a submission, let me know what you think.

Icon name: Bike
Use case: Travel, bike share, map navigation applications etc...
Here is a link to the .svg files:  https://drive.google.com/file/d/0Bwo2dbqW5d7kcFlpOXFVUmZhOFE/view?usp=sharing
https://drive.google.com/file/d/0Bwo2dbqW5d7kVHBVb1NqUkZBLUU/view?usp=sharing

Please find two versions attached.

Thanks for your submission! I'd encourage you to think about how you can make it even simpler. Feather's 24x24 size constraint forces us to reduce concepts to their simplest form. How can a bike be represented in as few lines as possible?

Thanks, Cole. I have reworked the bike icon. It has fewer lines and works within a 24x24 grid.
There are three variations. reducing complexity can be harder than adding detail.
Looking forward to your feedback.
Take a look at the .svg files here: https://drive.google.com/open?id=0Bwo2dbqW5d7kLVByMDJMMDZtcVk

@colebemis Slightly OT, but could you provide detail around makings icon submissions? I'm using feather in a fairly large project that's just starting, and I'll be building out a fair number of extra icons (love the style you've used, looking forward to working with it). Anything around design guidelines that might not be immediately obvious from inspection, and specifics around the SVG itself would be appreciated.

#467

@ShaneNZ #171 will help you


CAMEL-17426: Prevent MicroProfile Health conflicting health data

I reworked MP health so that it now depends on SmallRye Health & registers camel checks with the relevant liveness or readiness registry. That way each check can write its own details content and not have the chance to overwrite detail coming from other checks.
To avoid generating a very verbose health output (E.g if there many routes configured), I made the results of the routes and consumers checks to be an aggregated one. And only report the first failure encountered on the occurrence of errors. E.g:
{
    "status": "DOWN",
    "checks": [
        {
            "name": "camel-routes",
            "status": "UP"
        },
        {
            "name": "context",
            "status": "UP",
            "data": {
                "context.name": "camel-example",
                "context.version": "3.15.0-SNAPSHOT",
                "context.status": "Started"
            }
        },
        {
            "name": "camel-consumers",
            "status": "DOWN"
            "data": {
                "failure.endpoint.uri": "foo:bar?option=value",
                "failure.error.count": "1",
                "error.message": "the error message",
                "error.stacktrace": "the stack trace"
            }
        },
    ]
}

Is it OK for users that only the first error gets reported? I could see the case where the user checks the error, fixes it, then expect her/his application to run, but realise another error gets reported?
I realise that may not be trivial to report the list of errors, but that's not impossible :)

I could see the case where the user checks the error, fixes it, then expect her/his application to run, but realises another error gets reported

True... and this is pretty much a continuation of what happened before where all Camel health check results were aggregated.

I realise that may not be trivial to report the list of errors, but that's not impossible :)

If SmallRye Health made it possible to structure the values of the data element, then you could report additional error elements pretty easily (E.g as maps or arrays). But that's not currently possible.
So I guess you're left with the options of either combining & delimiting all of the error data in a single string (not great for human readability) or not aggregating the results of the routes / consumers checks (which I'd prefer to avoid due to the potential verbosity of reporting them as individual items).

So I guess you're left with the options of either combining & delimiting all of the error data in a single string (not great for human readability) or not aggregating the results of the routes / consumers checks (which I'd prefer to avoid due to the potential verbosity of reporting them as individual items).

I think the output is more meant to be processed by clients like a GUI or an operator, rather than consumed by humans. We, developers, consume it, but I think that's because we are developers, even if we also happen to be human beings :).

Or have additional data elements like <health-check-id>.error.message & <health-check-id>.error.stacktrace.

That is what I was thinking, or like error.message[health-check-id].
The first point we would need to address is whether we go for individual or aggregated results. Anyway, this PR is already a great improvement over the current format.


add CodiMD helm chart to helm/hub

We have started to maintenance Helm chart for CodiMD officially.

lgtm


Fix disabled color foreground on FilledButton

Pre-launch Checklist

[ ] I have run dartfmt on all changed files
[ ] I have updated CHANGELOG.md with my changes
[ ] I have run "optimize/organize imports" on all changed files
[ ] I have addressed all analyzer warnings as best I could
[ ] I have added/updated relevant documentation
[ ] I have run flutter pub publish --dry-run and addressed any warnings

According to the normal button : https://github.com/bdlukaa/fluent_ui/blob/master/lib/src/controls/inputs/buttons/button.dart#L62

I believe the color shouldn't be the same as Button
For light mode:

And for dark mode:

Currently I just fixed the foreground color.
So we need to change the background color.
but I agree with you.
btw how is on Microsoft  fluent ?

I'm no longer getting based on the web fluent documentation. I take examples on the Windows native apps I find


[release-1.4] Handle wildcards in vs destinationhost analyzer

This is an automated cherry-pick of #18332

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio_release-1.4
659d5493029863bf2d3652397625b8bd81c69b95
link
/test integ-security-k8s-tests_istio_release-1.4

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-security-k8s-tests_istio_release-1.4


Fix Box navigation after removing child View

UserData of child views was unmodified after removing any of Box child view, which causes issues with navigation in this Box

Sorry I missed the email notification, Looks good to me~

It seems that this PR will cause issues with the arrangement of the recyclerFrame child views, as userdata has different meanings within the recyclerFrame.
https://github.com/xfangfang/borealis/blob/af41c7eed22c898d2f620e6da6a1477d250a24b5/library/lib/views/recycler.cpp#L464-L468
Fix it by：https://github.com/xfangfang/borealis/commit/53ee60dd655a71353fad07fb505258c39222b264


How to registry a custom renderer

Hi there~
I have a problem that how to registry the custom renderer with HotTable?
If use HandsonTable.js can use following to deal with
Handsontable.renderers.registerRenderer('asterix', asterixDecoratorRenderer);
Is there any way to handle custom renderer?

Hi
here's https://github.com/handsontable/vue-handsontable-official/issues/27 a topic with demos for custom renderers

Duplicate of #27


user docs: Document custom certificate and proxy feature in desktop usage guide.

This PR adds a single Desktop usage guide replacing the existing one for Windows. Initially it imports the existing help.md file in the zulip/zulip-electron repo and also documents the feature of adding custom/self-signed certificates was added in zulip/zulip-electron#494 ..

@rishig can you take this review?

@rishig As discussed, I have updated the PR and have moved the certificate and proxy docs to tools & customization docs.

Closing in favor #9987. Thanks @abhigyank!


System.MissingMethodException: Method not found: 'System.String[] FastEndpoints.EndpointDefinition.get_AuthSchemeNames()'

I just updated FastEndpoints to 5.2 and Swagger generation fails, I don't understand what was the breaking change.

My Bad, I just updated FastEndpoints package and I forgot to also update FastEndpoints.Swagger


Add Node 22 support

Closes https://github.com/firebase/firebase-tools/issues/7895
Firebase supports Node22. We should be able to deploy frameworks using this version.

I just signed the CLA.

Thanks @service-paradis! Can you please run npm install so that this change is propagated to the package-lock.json?

@leoortizz Sure! It should be correct now!


chore: Improve l10n build performance

Description
The l10n:babel extracts strings from the source code.
It is currently including lib folders which contain built JS with the same formatMessage calls as the TS source.
This creates a lot of extra files in the l10ntemp folder which later l10n commands have to process - slowing the build.
This PR excludes those folders using the wildcard search pattern in the ignore section of the babel config file.
I tried to use the regex format, but it doesn't seem to work and babel won't output information about matches.
Task Item
#minor
Screenshots
Old yarn l10n build time (on my dev machine): 115 s
New yarn l10n build time (on my dev machine): 95 s
Savings: 20 s

Coverage remained the same at 51.614% when pulling 477db92305abd9915c5c6138f3680a09bd50ab2b on gcox/l10nperf into 9c1c17ec68245c1f31f1e1c4fd32b52190f72261 on main.


Fixes for module conversion bugs

Description

Fixes #3158 , don't emit None (or '')
Correctly build when no plugins are present

closes #3158
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] Attached issue to pull request
[x] Changelog entry
[x] Type annotations are present
[x] Code is clear and sufficiently documented
[x] No (preventable) type errors (check using make mypy or make mypy-diff)
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )

Processing this pull request

Pull request rejected by merge tool. The tests for this branch did not succeed.

Processing this pull request

Merged into branches master in 6a629aa944524362209de77c04f902be6156c572


Build Fails on Mac OS 10.12.4: "function definition is not allowed here"

Error: execution of an external compiler program 'clang -c  -w -pthread -I/Users/jack/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/include -I/Users/jack/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1  -I/usr/local/Cellar/nim/0.16.0/nim/lib -o /Users/jack/Documents/nim-cjdns/nimcache/cjdns.o /Users/jack/Documents/nim-cjdns/nimcache/cjdns.c' failed with exit code: 1

/Users/jack/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/src/unix/async.c:242:60: error: function definition is not allowed here
void uv__async_stop(uv_loop_t* loop, struct uv__async* wa) {
                                                           ^
/Users/jack/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/src/unix/async.c:258:32: error: function definition is not allowed here
static int uv__async_eventfd() {
                               ^
/Users/jack/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/src/unix/async.c:298:2: error: expected '}'
}
 ^
/Users/jack/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/src/unix/async.c:187:77: note: to match this '{'
int uv__async_start(uv_loop_t* loop, struct uv__async* wa, uv__async_cb cb) {
                                                                            ^
3 errors generated.

Code and complete traceback at https://gist.github.com/fallingduck/ce2a7e7f8cf39144e384d6eeb066a9e4

I'm also running up against this, which is a shame as I'm finding Reactor infinitely nicer to work with than the build in asyncdispatch/threadpool (and getting those two to combine is damned difficult! Doing so here, simple)

        ... Error: execution of an external compiler program 'gcc -c -w -pthread -I/Users/josh/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/include -I/Users/josh/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1  -I/Users/josh/Code/Nim/lib -o /Users/josh/PersonalProjects/Nim/binblog/src/nimcache/binblog_binblog.o /Users/josh/PersonalProjects/Nim/binblog/src/nimcache/binblog_binblog.c' failed with exit code: 1
        ... /Users/josh/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/src/unix/async.c:242:60: error: function definition is not allowed here
        ... void uv__async_stop(uv_loop_t* loop, struct uv__async* wa) {
        ...                                                            ^
        ... /Users/josh/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/src/unix/async.c:258:32: error: function definition is not allowed here
        ... static int uv__async_eventfd() {
        ...                                ^
        ... /Users/josh/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/src/unix/async.c:298:2: error: expected '}'
        ... }
        ...  ^
        ... /Users/josh/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/src/unix/async.c:187:77: note: to match this '{'
        ... int uv__async_start(uv_loop_t* loop, struct uv__async* wa, uv__async_cb cb) {
        ...                                                                             ^
        ... 3 errors generated.

Forcing cc: "gcc" in the cfg gives the same error, so it's not clang that's doing it?

@girvo Do you have gcc installed? On my machine, gcc is a symlink to clang. However, I did install gcc and some of Apple's libraries won't compile with it, so that was a dead end for me. At the moment I'm developing on a VM and on my server, so I'm working around it, but I'd still really like to see this resolved soon.

@fallingduck Oh hell, you're right. I do have it installed, but wrong binary. I forced it to use a real GCC:
        ... Error: execution of an external compiler program '/usr/local/bin/gcc-4.2 -c -w -pthread -I/Users/josh/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/include -I/Users/josh/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1  -I/Users/josh/Code/Nim/lib -o /Users/josh/PersonalProjects/Nim/binblog/src/nimcache/stdlib_system.o /Users/josh/PersonalProjects/Nim/binblog/src/nimcache/stdlib_system.c' failed with exit code: 1
        ... couldn't understand kern.osversion `16.5.0'
        ... /Users/josh/PersonalProjects/Nim/binblog/src/nimcache/stdlib_system.c: In function ‘atomicinc_4E9cxwuunx9aiL7vj9bdy8WvAsystem’:
        ... /Users/josh/PersonalProjects/Nim/binblog/src/nimcache/stdlib_system.c:7654: error: ‘__ATOMIC_RELAXED’ undeclared (first use in this function)
        ... /Users/josh/PersonalProjects/Nim/binblog/src/nimcache/stdlib_system.c:7654: error: (Each undeclared identifier is reported only once
        ... /Users/josh/PersonalProjects/Nim/binblog/src/nimcache/stdlib_system.c:7654: error: for each function it appears in.)
        ... /Users/josh/PersonalProjects/Nim/binblog/src/nimcache/stdlib_system.c: In function ‘atomicdec_4E9cxwuunx9aiL7vj9bdy8WvA_2system’:
        ... /Users/josh/PersonalProjects/Nim/binblog/src/nimcache/stdlib_system.c:7661: error: ‘__ATOMIC_RELAXED’ undeclared (first use in this function)

And using gcc-7 (this is on macOS Sierra):
        ... CC: core
        ... Error: execution of an external compiler program '/usr/local/bin/gcc-7 -c -w -pthread -I/Users/josh/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/include -I/Users/josh/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1  -I/Users/josh/Code/Nim/lib -o /Users/josh/PersonalProjects/Nim/binblog/src/nimcache/stdlib_locks.o /Users/josh/PersonalProjects/Nim/binblog/src/nimcache/stdlib_locks.c' failed with exit code: 1
        ... In file included from /System/Library/Frameworks/Security.framework/Headers/AuthSession.h:32:0,
        ...                  from /System/Library/Frameworks/Security.framework/Headers/Security.h:43,
        ...                  from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h:43,
        ...                  from /System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:27,
        ...                  from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h:23,
        ...                  from /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:22,
        ...                  from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39,
        ...                  from /Users/josh/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/src/unix/internal.h:52,
        ...                  from /Users/josh/.nimble/pkgs/reactor-0.4.1/reactor/uv/../../deps/libuv/src/threadpool.c:25:
        ... /System/Library/Frameworks/Security.framework/Headers/Authorization.h:192:7: error: variably modified 'bytes' at file scope
        ...   char bytes[kAuthorizationExternalFormLength];
        ...        ^~~~~

Okay, I've worked out what the issue is!
In async.c, line 226, there is a closing brace. The opening brace is not inside an #ifdef, but the closing brace is! Moving it after the #endif on 227 makes it compile perfectly :)

@girvo Be sure to submit the patch to @zielmicha 's fork of libuv!

@fallingduck I just went to do that, and it's already fixed his fork, but the commit that's referenced as a submodule is older than his master!

Fixed in v0.4.2.


Fail to install on MacOS High Sierra

This happens.
I don't think this is a pyosmium issue per se because very similar issues have been reported upstream.
However, I would like to know if anyone using PyOsmium on MacOS High Sierra with XCode 9 found a workaround for this.
Thank you!

I fixed some of the warnings in #71, but that is the least of your problems. I can't find anything wrong with the PyOsmium or libosmium code. This is an issue with XCode it seems.
Might be related: https://github.com/sass/libsass-python/issues/240

Thanks. Yes, it does seem to be an XCode problem where it somehow prefers the standard C math library rather than a c++ one.. I don't quite understand since I know so little about the c++ compilation process..
Regardless -- removing XCode by simply moving the XCode application from /Applications to the trash solves the problem. Since homebrew relies on XCode a lot, I will probably revert to an older version.

Thanks for this @mvexel -- your temporary solution of trashing XCode solved the problem for me as well.


Bridge package docs: flame_svg

Bridge package docs for flame_svg
This bridge package should have its own documentation section on the docs site, similarly to flame_audio for example:
https://docs.flame-engine.org/main/flame_audio/flame_audio.html
For inspiration (and copy-pasting) you can have a look at the documentation for the package written in the README.md file and the documentation that the package is bridging too.
Good to know
Make sure that you comment on the issue that you will be working on this before starting to program.
To set up the Flame environment you need to follow the instructions in our contributing.md doc, if you have any problems setting up your environment (or other issues of course) feel free to ask for help in the Flame channel on our Discord server.
Since this is a documentation change, you need to be able to build the docs. You can do that by running melos sphinxdoc after you have followed the instructions in the contributing.md doc and also installed Sphinx on your system. After you have built the docs you can open the doc/_build/html/index.html file in your web browser to see the changes.
Make sure to include a video of the example when you upload the PR so that it will be easier for us to review it. (You can attach videos directly in the PR, so no need to upload them somewhere else)
Happy hacking!

Working on this!

Working on this!

Super! I've assigned you to the issue, remember to join our Discord server if you have any questions etc. :)

Is this still available? I can work on that!

@TheZal Yes, currently I'm working on another issue. So, freely take it from me.

Perfect!

I'm getting an error: Could not find a command named "sphinxdoc". I tried to run the command inside the flame directory and inside the flame/doc directory. I followed the contributing guide and got no errors

Read the "Good to know" section in the issue description.

I did everything in the guide and also installed sphinx without any problem. The melos bootstrap ran fine but after that  I just can't run the melos sphinxdoc command

I did everything in the guide and also installed sphinx without any problem. The melos bootstrap ran fine but after that  I just can't run the melos sphinxdoc command

The command is melos doc-build. Not sure from where you got melos sphinxdoc

Oh, my bad. Just saw the Good to know  section. I think it is either wrong or is referring to some old command.

Yeah, now the command ran but got this error: Extension error: Could not import extension myst_parser (exception: No module named 'myst_parser').
Btw inside the doc directory i can't find doc/_build/html/index.html. There's not even the _build folder.
I got this inside the doc folder

Yeah, now the command ran but got this error: Extension error: Could not import extension myst_parser (exception: No module named 'myst_parser').

Did you install all the python packages listed in the requirements.txt located at _sphinx?

Btw inside the doc directory i can't find doc/_build/html/index.html. There's not even the _build folder.
I got this inside the doc folder

_build will be created while the actual doc build starts. In your case it is failing because a required package is not found.

Now I got it, thx, I'm new at this!

Hi @spydon, this was tagged as hacktoberfest-special when I saw it the first time, is this still eligible for the hacktoberfest special pack?

Hi @spydon, this was tagged as hacktoberfest-special when I saw it the first time, is this still eligible for the hacktoberfest special pack?

It is not unfortunately, I had misunderstood what the hacktoberfest-special tag did so I accidentally put it on all of our issues.

Yeah I saw it now, no problem, my bad! BTW this is still an hacktoberfest-accepted eligible pr right? So where I can claim the swag?


Running OpenCV4.0.0 C++ function inside GoLang project

What version of Go are you using (go version)?

$ go version 1.12

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?

I am trying to run C++ function in GoLang project by wrapping it in C library first and then linking with my GoLang project. Details can be found on: https://stackoverflow.com/questions/55082336/running-opencv-4-0-0-c-function-in-golang
What did you expect to see?
I expected for my project to be built successfully.
What did you see instead?

command-line-arguments /tmp/go-build823465636/b001/_x002.o: In function "_cgo_dcf5d601f507_Cfunc_OpenVideo": /tmp/go-build/cgo-gcc-prolog:48: undefined reference to `OpenVideo' collect2: error: ld returned 1 exit status

And when running go build -x opencvTest.go I get the following:

WORK=/tmp/go-build568047770

mkdir -p $WORK/b001/

cd /home/stefan/Desktop/GoLang

CGO_LDFLAGS='"-L/usr/local/lib" "-lopencv_core" "-lopencv_video" "-lopencv_videoio" "-lopencv_highgui" "-L/usr/local/lib" "-lopencv_core" "-lopencv_video" "-lopencv_videoio" "-lopencv_highgui"' /usr/local/go/pkg/tool/linux_amd64/cgo -objdir $WORK/b001/ -importpath command-line-arguments -- -I/usr/local/include -I $WORK/b001/ -g -O2 ./opencvTest.go

cd $WORK

gcc -fno-caret-diagnostics -c -x c - || true

gcc -Qunused-arguments -c -x c - || true

gcc -fdebug-prefix-map=a=b -c -x c - || true

gcc -gno-record-gcc-switches -c -x c - || true

cd $WORK/b001

TERM='dumb' gcc -I /home/stefan/Desktop/GoLang -fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK/b001=/tmp/go-build -gno-record-gcc-switches

-I/usr/local/include -I ./ -g -O2 -o ./_x001.o -c _cgo_export.c TERM='dumb' gcc -I /home/stefan/Desktop/GoLang -fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK/b001=/tmp/go-build -gno-record-gcc-switches

-I/usr/local/include -I ./ -g -O2 -o ./_x002.o -c opencvTest.cgo2.c TERM='dumb' gcc -I /home/stefan/Desktop/GoLang -fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK/b001=/tmp/go-build -gno-record-gcc-switches

-I/usr/local/include -I ./ -g -O2 -o ./_cgo_main.o -c _cgo_main.c cd /home/stefan/Desktop/GoLang TERM='dumb' gcc -I . -fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK/b001=/tmp/go-build -gno-record-gcc-switches -o $WORK/b001/cgo.o $WORK/b001/_cgo_main.o $WORK/b001/_x001.o $WORK/b001/_x002.o -L/usr/local/lib -lopencv_core -lopencv_video -lopencv_videoio -lopencv_highgui -L/usr/local/lib -lopencv_core -lopencv_video -lopencv_videoio -lopencv_highgui

command-line-arguments /tmp/go-build568047770/b001/_x002.o: In function _cgo_dcf5d601f507_Cfunc_OpenVideo':
  /tmp/go-build/cgo-gcc-prolog:48: undefined reference toOpenVideo' collect2: error: ld returned 1 exit status

You forgot to include your header in the .cpp file

You are right, My bad. But I still get the same error message

Are all the files in the same folder?

Oh my .. this actually works now. Thank you! Could you tell me how come?

I just explained it in the earlier post, giving it a file(s) in the arg literally means compile just the file(s) you gave it no more. So the .cpp file doesn't get compiled and added to the binary cause it wasn't in the list of files to compile. Having no args mean compile the folder in the current working directory.
This is documented at https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies
For further help I suggest you ask around in one of the places in https://github.com/golang/go/wiki/Questions

This seems resolved, so I'm closing this issue.


Add LICENSE

I'd like to try mdx-local-link-checker for https://github.com/langfuse/langfuse-docs. Do you plan to release this under a FOSS license?

Ah sorry, it's MIT:
https://github.com/upleveled/mdx-local-link-checker/blob/1fda45d151a063a99f2080cf1e9e03165f41690c/package.json#L5

Also added a LICENSE file
https://github.com/upleveled/mdx-local-link-checker/blob/main/LICENSE

I'm not sure whether you want to use this though, I'm not maintaining it very much, and it still uses MDX v1.
You may want to look into other better-maintained alternatives, such as remark-validate-links, maintained by @wooorm and other Unified people
The reason I created this alternative is because I was looking for root-relative link checking:

https://github.com/remarkjs/remark-validate-links/issues/57


Change Packet brand to Equinix Metal

The Packet brand changed to Equinox Metal. This PR updates the name and logo used on Gardedner's website front page.

Thanks @g-pavlov ; looks good.


Update MRTK3 packages so they can be consumed without requiring code change

Overview
Upgrading a MRTK3 project to Unity 2022 required various code changes to MRTK3 packages.  Updating MRTK3 packages to better handle 2022

Fixed


Trivial update to AppVeyor script.

r? @canndrew
(maidsafe_highfive has picked a reviewer for you, use r? to override)

r? @rossmuir


Build instructions?

Are there build instructions that can be shared for getting this to build?

Hello @tommoyer.
Please see the README.md page for the Github-hosted repo for the Obsidian sample plugin (from which, I believe, all Obsidian plugins are derived.)
In particular, the "How to Use" section may be of interest.

Hello again @tommoyer.
I realized today that a file necessary to successfully run the npm run dev command -- esbuild.config.mjs -- was missing from the Packrat plugin's repo on Github.  I've now added it.
I apologize for the inconvenience.


Easy way to scope the notifications to the current user

It seems that when rendering notifications the documentation suggests to fetch the notifications with Notification.all, this will of course result in all the notifications, even those that don't belong to the "to-be" notified user.
Wouldn't is be nice if there was a way to easily scope the model to use the logged-in user instead? I think a lot of people use Devise for this purpose, so using that user as a starting point would be really nice. What do you think?

render_notifications should take any active record relation. So what you want to do should be possible. NotificationRenderer, however, is the only module that's missing tests, so there is a chance that this is just a bug. Does render_notifocations work with Notification.all?

Didn't think of that, you are totally right. I think it is indeed due to the fact that render_notifications seems not to be rendering any notifications at the moment. Anything wrong with it?

As I said, this method isn't tested as of now. So it could very well be the case that it doesn't work. You can open a separate issue for that :)


In installing receive the error "error:0308010C:digital envelope routines::unsupported"

Triyng to follow the instructions in readme launching "./install.sh" file I always receive errors.
Trying to generate evgery application, for the app-shell, the command "npm run build" gives the error "Error: error:0308010C:digital envelope routines::unsupported"
What can I do?
Session transcript:
sysop@m01serv:~/software/test/PIRAL/piral-microfrontend-demo$ cd app-shell/
sysop@m01serv:~/software/test/PIRAL/piral-microfrontend-demo/app-shell$ npm i

up to date, audited 870 packages in 1s

77 packages are looking for funding
  run `npm fund` for details

7 high severity vulnerabilities

To address issues that do not require attention, run:
  npm audit fix

To address all issues, run:
  npm audit fix --force

Run `npm audit` for details.
sysop@m01serv:~/software/test/PIRAL/piral-microfrontend-demo/app-shell$ npm run build

><EMAIL_ADDRESS>build
> piral build

Bundle emulator ...
Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:135:10)
    at module.exports (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/NormalModule.js:471:10)
    at /home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/NormalModule.js:503:5
    at /home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/NormalModule.js:358:12
    at /home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at /home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/loader-runner/lib/LoaderRunner.js:186:6
node:internal/crypto/hash:67
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:135:10)
    at module.exports (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/NormalModule.js:471:10)
    at /home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/NormalModule.js:503:5
    at /home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/webpack/lib/NormalModule.js:358:12
    at /home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at iterateNormalLoaders (/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/node_modules/loader-runner/lib/LoaderRunner.js:221:10) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v17.9.0
sysop@m01serv:~/software/test/PIRAL/piral-microfrontend-demo/app-shell$

I've not seen it - I would recommend trying to use a different version of Node, e.g., v16.
Also this seems to be the recommendation from others, e.g., on SO: https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported

Alternatively, you can replace piral-cli-webpack with piral-cli-webpack5. This issue seems to be specific to Webpack v4 and is fixed in Webpack v5.

Well trying to update to piral-cli-webpack5 (in app-scall directory issued "npm install piral-webpack5") I updated package.json to:
{
  "name": "app-shell",
  "version": "1.0.0",
  "description": "The App Shell - application to be deployed.",
  "keywords": [
    "piral"
  ],
  "dependencies": {
    "piral": "0.14.0",
    "piral-cli-webpack5": "^0.14.23",
    "piral-containers": "0.14.0"
  },
  "scripts": {
    "start": "piral debug",
    "build": "piral build"
  },
  "app": "./src/index.html",
  "main": "lib/index.js",
  "pilets": {
    "files": [
      ".editorconfig",
      "prettier.config.js"
    ],
    "externals": [],
    "devDependencies": {},
    "scripts": {}
  },
  "devDependencies": {
    "@types/node": "latest",
    "@types/react": "latest",
    "@types/react-dom": "latest",
    "@types/react-router": "latest",
    "@types/react-router-dom": "latest",
    "piral-cli": "0.14.0",
    "piral-cli-webpack5": "^0.14.23",
    "typescript": "latest"
  }
}

But now I receive the error "Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string."
sysop@m01serv:~/software/test/PIRAL/piral-microfrontend-demo/app-shell$ npm run build

><EMAIL_ADDRESS>build
> piral build

Bundle emulator ...
asset index.b044c8.js 1.61 MiB [emitted] [immutable] (name: main) 1 related asset
asset index.html 318 bytes [emitted]
orphan modules 989 KiB [orphan] 74 modules
runtime modules 2.37 KiB 7 modules
modules by path ./node_modules/ 1.44 MiB 165 modules
modules by path ./src/ 9.76 KiB
  ./src/page.css 357 bytes [built] [code generated]
  ./src/index.tsx 771 bytes [built] [code generated]
  ./node_modules/css-loader/dist/cjs.js!./src/page.css 8.66 KiB [built] [code generated]
webpack 5.72.0 compiled successfully in 1285 ms
🚨  [0076] Could not create the declaration in "/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell". Error: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
✨  Emulator package available in "/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/dist/emulator".
Bundle release ...
asset index.9982b0.js 232 KiB [emitted] [immutable] [minimized] (name: main) 1 related asset
asset main.bf2594.css 2.34 KiB [emitted] [immutable] [minimized] (name: main) 1 related asset
asset index.html 359 bytes [emitted]
Entrypoint main 234 KiB (769 KiB) = main.bf2594.css 2.34 KiB index.9982b0.js 232 KiB 2 auxiliary assets
orphan modules 345 KiB [orphan] 184 modules
runtime modules 2.25 KiB 6 modules
cacheable modules 407 KiB (javascript) 3.04 KiB (css/mini-extract)
  modules by path ./node_modules/ 212 KiB 19 modules
  modules by path ./src/ 195 KiB (javascript) 3.04 KiB (css/mini-extract)
    ./src/page.css 50 bytes [built] [code generated]
    ./src/index.tsx + 110 modules 195 KiB [built] [code generated]
    css ./node_modules/css-loader/dist/cjs.js!./src/page.css 3.04 KiB [built] [code generated]
webpack 5.72.0 compiled successfully in 3195 ms
✨  Files for publication available in "/home/sysop/software/test/PIRAL/piral-microfrontend-demo/app-shell/dist/release".
sysop@m01serv:~/software/test/PIRAL/piral-microfrontend-demo/app-shell$

Any hint?

I'd ignore this. It just means that the declaration could not be build. This is a bug that Node 17 dropped support for the export field.
As you see the thing builds and it should also work when you run it.

Well one step ahead.
For team-blue I had to issue

npm i
npm install piral-cli-webpack5
change package.json
npm audit fix --force
npm run build
npm run upload

Now trying to do the same for the other two piled and test the application

Well, another step ahead.
I was able to build and upload the three pilets.
Issuing "./run.sh" in the project directory I have:
An empty app-shell with a console error

A feed service showing the three pilets

and a kras server (I don't know what it is) showing

What can I do?

Well, for the first try:
Started a local feed service
Then, for every team:

npm i

npm install piral-cli-webpack5

change package.json

npm audit fix --force

npm run build

npm run upload

Verified that the pilets were loaded
Then started the layout  with npm start
For the second try I just ran the "./run.sh" in the project home
The result was the same: an empty red frame
Now I'll verify the entire process

What I did (and I tried it on 2 machines, so this just works):

Clone the repo
Run install.sh
Run run.sh

All working. I'll close this one.


N@tM Dress Rehearsal

Criteria/Key Features:

Frontend
API's
Backend
Agile

3.6 to 4 pts. HOOK! Key features achieved (shown in running demo to graders), 1 minute show:

The demo will show the frontend home page and the "Frogs" section of our frontend page which has flashcards, a quiz, a frog image searcher, and a matching game. We will also show our homepage briefly by clicking on 2 separate frogs to show that they lead to different pieces of information on each frog.

3.6 to 4 pts. KNOWLEGE, HOW IT IS MADE! Key features blogged (shown in demo time to graders), 2 minute show

We coded all the information in the backend and fetched information from the frontend on each of our .md files that house information of the frogs. That fetched information is from our flask website in which we store all of our code for each frog.

0.6 to 1 pt.  VALUE. Most useful or valuable aspect of project.

The most useful part of our project is probably the game as it can be a fun, chill, single player game that can be played anywhere.

Self-Score: 9.3/10

Criteria/Key Features:
Frontend
API's
Backend
Agile
3.6 to 4 pts. HOOK! Key features achieved (shown in running demo to graders), 1 minute show:
Intriguing ideas with an interesting front page. Goes right into a very engaging demo.
3.6 to 4 pts. KNOWLEGE, HOW IT IS MADE! Key features blogged (shown in demo time to graders), 2 minute show
Cohesive code and group. They could all explain each others code.
0.6 to 1 pt. VALUE. Most useful or valuable aspect of project.
It's just a fun game. It provides a basis for even bigger ideas and projects.
Self-Score: 9.5/10

HOOK:
Points: 3.6-4
Reason: Demo was interesting, showed different games and ways to get data
KNOWLEDGE:
Points: 3.6-4
Reason: Some members did not know what they were talking about, a bit confusing.
VALUE:
Points: 0.6-1
Reason: Had a lot of interesting games, but didn't seem super applicable to real life. Image search was very applicable however.
WOW FACTOR:
Reason: Fast website, fun gameplay, learned new things about frogs.
Total: 9/10

HOOK:
Points: 4
Reason: The hook was detailed, and created interest. The demonstration provided was pretty good.
KNOWLEDGE:
Points: 3.8
Reason: The members seemed to be well-informed on the topic, and explained how they constructed the website.
VALUE:
Points: 0.8
Reason: Had a lot of interesting games, but there isn't a very useful real world application. It does provide people interested in frogs with information about them.
WOW FACTOR:
Reason: Fast website with nice games. It provides people with information about frogs.

HOOK:
Points: 3.8
Reason: Interested me with their games, good demo as well.
KNOWLEDGE:
Points: 3.4
Reason: Lots of confusing back-and-forth regarding how their backend worked. Seemed like they may not have fully understood
VALUE:
POINTS: 1.0
Reason: Quite interesting with features such as frog look-up etc. Nothing that I know of exists like this so I give a full-score
WOW FACTOR:
Reason: really fast and crisp demo apart from the backend confusion.

USAGE OF:

[ ] Frontend
[ ] Backend
[ ] API
[ ] Agile: some team members not involved in presentation. there's some obvious conflict between students.

HOOK: 4
Points: 3.6-4.0
Reason: 3.8
great hook with fun introduction and great working frontend
KNOWLEDGE: 4
Points: 3.6-4.0
Reason: 3.6
backend connected via websocket, usage of spotify api
VALUE: 1
Points: 0.6-1.0
Reason:
shows various information on frogs
WOW FACTOR:
Points: 0.6-1.0
Reason: 0.9
all the information displayed about frogs
9.2/10.


⚠ Bofrost.de has degraded performance

In 05a9c07, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2047 ms

Resolved: Bofrost.de performance has improved in f4acbfc after 15 minutes.


DBZ-8347 implementation of Cassandra 5 support

@vjuranek @jpechane this should go in when https://github.com/debezium/debezium/pull/5947 is merged

@jpechane Cassandra 5.0 introduces a new data type called vector. This branch does not include it but I have a commit locally which does support that. The reason for not introducing it in this PR is that java driver of version 4.18.1 which includes vector support contains a bug (not important to describe its nature).
I prefer to merge this as is and then we can bump java driver in parent and once done we can do another PR with vector support against this repository.

@smiklosovic Is there any real difference between Cassandra 4 and 5 implementation? It seems to me the only difference is the test environment. If this is the case than I don't thnk we need special module for Cassandra 5. Just a specific profile(s) to test cassandra-4 module with either Cassandra 4 server or with Cassandra 5.

Is the java drive compatible with both Cassandra 4 and 5? If yes then again, there is no need for a new module. Just as you introduce the vector support then the test would be conditionally run only agains Cassandra 5. We do this for other databases too. It is driven by custome annotations and test rules.

There are changes around schema management in Cassandra5SchemaChangeListener and CassandraConnectorTask otherwise it is more or less same but it is not exact copy.
I was planning to consolidate all tests into separate module, if you think about that, we might have a test module / artifact and each implementation module would depend on it and run them. For now we just copy them all which is not necessary.
When it comes to the implementation, 4 and 5 are the most identical but not same. For simplicity I would just go with this but we might think how to consolidate what is same too.
When 5.1 lands, it will be again something different. There is a quite an overhaul of schema management and I expect changes again in that area.
Unfortunately Cassandra as such is not modular enough to cherry-pick just what we want, it is also the most safe when we compile the code against a respective Cassandra version.

Honestly, it is quite a miracle how slim the implementation modules are. There are just bunch of bootstrap classes and the actual handlers of the mutations / events. If we get rid of the tests / consolidate most of them into the one artifact I am quite satisfied how it looks like already. The overhead is minimal anyway.
The problem is that it backfired in the past when I tried to have one implementation for more than one Cassandra version. If you depend on some Cassandra interface or classes, you need to compile against some Cassandra version but then it might happen that when it is run on a newer version it would not work. It "seems" like it is same but it is not. There was a case when in one version there was an interface and in another version it had same name but it was a class. So you compiled it against one version and all looked just fine but when run against different version it errorred out in runtime. That is the reason why core module does not depend on any Cassandra version at all. It is not only architecturally correct but it is actually a necessity.

OK< makes sense. Let's keep it as as now and we can follow-up with codebase optimization later.

@smiklosovic Applied, thanks a lot!

@smiklosovic Just FYI when you start to implement vector type support, please check io.debezium.data.vector and re-use or add types as suitable. It seems to me there can be two vector types - those that support vector search and those that can't. If this is the case then those not supporting vector search should map to array and those that do should map to Debezium's logical type.


Added basic controller support

Adds implementations of the inputs package from lwjgl2 and LWJGLException, as well as adding jinput library.

LWJGL 3 already has controller support, via GLFW. Besides, I don't think wrapping JInput is useful in any way. If you need something from JInput, you can use it directly.


[SP-6139] [PDI-18826] Pentaho platform needs to be able to provide po…

…oled
DB connections when the connection is defined using variables.

:warning: Build finished in 25m 48s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core

:no_entry: Failed Tests
:cloud_with_lightning_and_rain: 4 test(s) failed:
org.pentaho.di.job.entries.ftpsget.FTPSConnectionTest.testEnforceProtPOnPut (click to expand)
org/apache/log4j/Logger

org.pentaho.di.job.entries.ftpsget.FTPSConnectionTest.testEnforceProtP (click to expand)
org/apache/log4j/Logger

org.pentaho.di.trans.steps.pentahoreporting.PentahoReportingOutputTest.testProcessRowWithoutUsingValuesFromFields (click to expand)
loader constraint violation in interface itable initialization: when resolving method "javax.swing.RepaintManager$1.addRepaintListener(Ljavax/swing/RepaintManager;Lsun/swing/SwingUtilities2$RepaintListener;)V" the class loader (instance of org/powermock/core/classloader/MockClassLoader) of the current class, javax/swing/RepaintManager$1, and the class loader (instance of <bootloader>) for interface sun/swing/SwingAccessor$RepaintManagerAccessor have different Class objects for the type javax/swing/RepaintManager used in the signature

com.pentaho.di.purge.PurgeUtilityLoggerTest.htmlLoggerTest (click to expand)
${result.errorDetails}

Tests run: 5120, Failures: 4, Skipped: 7    Test Results

:information_source:  This is an automatic message


Fasthttp implementation

As you can see here https://github.com/panjf2000/gnet_benchmarks/blob/master/fasthttp-server/main.go#L24
actually, you writing redundant \r\n. fasthttp already handles this for you. also, in such cases I'd recommend you to use https://godoc.org/github.com/valyala/fasthttp#Request.SetBody or SetBodyString.
finally, https://github.com/panjf2000/gnet_benchmarks/blob/master/fasthttp-server/main.go#L21 you actually don't need to use a goroutine for this log message

@kirillDanshin
Thanks for the feedback, I will update it today after work.

Updated.


Prune unused columns from VALUES

#4593
More code than I expected, because I ended up keeping and using indices to prune values of unused columns for each row. Still not sure if this is the right approach.
New plan:
presto> explain (type distributed) SELECT foo from (values (1, 2)) a(foo, bar);
             Query Plan
-------------------------------------
 Fragment 0 [SINGLE]
     Output layout: [field]
     Output partitioning: SINGLE []
     - Output[foo] => [field:bigint]
             foo := field
         - Values => [field:bigint]
                 (1)

Can you add a test that exercises this logic?

@martint I added a test which simply compares explains of query with and without unused columns. I hope that's the right way and right place for it.

The test is brittle, since the format of the explain plan is not guaranteed. I'm more concerned about having a test that just exercises the behavior to make sure it executes and produces correct results.

So, I should simply execute a query with an unused column and check the results, even though the issue is related to the plan.
@martint

Merged, thanks!


is it possible to keep running the bitbar script while the menu is open?

I have a countdown script that shows the time remaining until a certain alarm time. When the bitbar menu is open, the time stops rather than continuing to count down. how can I fix this?

https://github.com/matryer/bitbar/issues/381


 This change will also allow you to remotely see what state the device is in: what signal source is selected, the sound mode, and whether the sound is muted. But all this without feedback from the device. On the other hand, the on / off state may also not have feedback. Therefore, for those who may need this function, they will have to configure their device in yaml

Almost 2 years have passed, and I consider the test passed and successful, because I use the component with the modification from this PR every day


Zsh wrong behaviour of some keys

Describe the bug
A clear and concise description of what the bug is.
Pressing keys like "HOME", "END" produce no character and pressing "DELETE", "PGUP", "PGDOWN" produce a "~" in the zsh terminal
Steps To Reproduce
Steps to reproduce the behavior:

run zsh in gnome terminal or konsole in any way(nix-shell, system package or user package)
try running the aforementioned keys
validate that the keys work as expected in kate/gnome editor, as well as in bash/fish

Expected behavior
The keys working as expected
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Noticed this bug while trying to delete a string using the "DELETE" button. thought that the key didn't work, tried other keys to see which work and which not, check that they work in gnome editor. changed gnome for kde, tried it in konsole, same issue
Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.67, NixOS, 22.05 (Quokka), 22.05.3050.d86a4619b7e`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.1`
 - channels(padfoot): `"home-manager-22.05.tar.gz"`
 - channels(root): `"nixos-22.05"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
output here

I'd venture a guess that the problem lies in setting correct $TERM and providing proper bindings via something like
bindkey '^[[4~'   end-of-line

in your .zshrc...


Update _wait_for_rhoam

Recent openshift-ci rehearses failed twice with
ocp_resources.utils.TimeoutExpiredError: Timed Out: 300 while installing RHOAM addon with our sampler.
Changes:

Update logging to catch unexpected errors (in addition to the one that's covered by the sampler)
Update timeout to be 15 minutes

/verified

@oharan2 is this still needed?

Resolved in #27 (The rosa-cli interactive mode is influencing this execution)


Enhancement: Updating Bangla documentation in the README

Description
Issue: The Bangla documentation might not be clear or concise, making it hard for readers to grasp the content. Links mentioned in the document is not navigating to the correct sub section of the document
Reason to fix: Well-written documentation can encourage more Bangla-speaking users to adopt and contribute to the project. Ensure that all referenced links are correct and point to valid sub sections.
Screenshots

Additional Information
No response
Ready to Work?

[X] I want to work on this enhancement

Hi @phyleria, would you please assign this to me and label it as hacktoberfest. It will take at most three hours to finish the task. So I believe I can complete it before the hacktoberfest finishes.

Done @faria-karim-porna ✅

Hi @phyleria, would you please merge the PR and label the issue as hacktoberfest.


Adding plv8 extension via supabase UI causes error to throw when CLI stops/restarts

Bug report
I added the plv8 extension via the user interface at localhost:54323, and then added a migration that uses a plv8 function. When I stop and then re-start the database (thus running all of the migrations), an error is thrown:
Error: Error starting database: ERROR:  language "plv8" does not exist
HINT:  Use CREATE EXTENSION to load the language into the database.
ERROR:  current transaction is aborted, commands ignored until end of transaction block

Shouldn't enabling an extension persist even when stopping/starting CLI container?
Is it possible to configure so that plv8 will be enabled on start?

I believe you need to either do a supabase db diff to generate a new migration that includes creating the new extension, or include the CREATE EXTENSION manually in your migration. An extension is just part of your schema in this case.

In addition, the hosted supabase project installs plv8 in pg_catalog schema so I'd suggest doing the same locally as well. The full command to include at the start of your migration file is:
CREATE EXTENSION IF NOT EXISTS "plv8" WITH SCHEMA "pg_catalog";

Feel free to reopen if you are still running into this issue.


[Mempool] Remove throw excepion when a tx already exist

Hi @dangershony! Yes I did :) I ran the node through a few tx floods and all was good 👍

@dangershony all tests passed locally.


Gateway.Spec.Listener[x].Routes.Selector should be a pointer

What happened:
When implementing GatewayAPI, I noticed the selector field on a Gateway.Spec.Listener[x].Routes.Selector (https://gateway-api.sigs.k8s.io/spec/#networking.x-k8s.io/v1alpha1.RouteBindingSelector) is currently not a pointer, but nice if it was to know if the field has been provided or not by a user.
I’m using the LabelSelectorAsSelector method from api-machinery to then use labels.Matches(…), but LabelsSelectorAsSelector takes a pointer to the Selector.
//cc @danehans

/assign


Display list of topographies in a surface

When I click on a Surface, it takes me to the "Topographies" tab
(which makes sense), and I see the scrolling gallery (which I like),
but I'm actually then not clear on how to view a list of the
underlying topographies.
o Maybe we should add a "View all topographies from this surface"
button.
o Or simply a "View all" button that is at the bottom right of the
scrolling image gallery.

Okay, good idea.
It's not fully clear to me what is supposed to happen when clicking an that button.

An alternative would be to just have a list below the gallery which is already there from the beginning. Or an extra tab for the list.

Shifting to next major release. More discussion is needed on this one.

The gallery is gone, we now have a list


How can I check if the input-field is currently focused to set class on field-wrapper

I had to write a wrapper displaying some additional-borders and styles around an formly form-field.
Now i should update that outer borders with an outline when the 'native' form-field element receives
focus.
I have tried to get somewhere with template-options - and thought i found some solutions, but that was and old angular-formly(unrelated/archived project) question?
What would be the recommended approach to do this?

Ok... what i found to be true is that the solution i found for angular-formly was still somehow valid.
I finally got it to work like so: FieldConfig:
{ ...     props: {      ...       hasFocus: false,       focus: function( field ) {         console.log('CALLED_BLUR');         if( field.props ) {           field.props['hasFocus'] = true         }       },       blur: function( field ) {         console.log('CALLED_BLUR');         if( field.props ) {           field.props['hasFocus'] = true         }       },     } ... }
So basically i use the blur and focus 'Event' to set my hasFocus template property... Thing that was confusing and made me search for this forever was that i expected these 'blur' 'focus' events on the expression-properties or similar as i haven't had events on the props object before.
Thx anyway. Great project


used in access_by_lua phase

it seems that some lor's api can't be used in access_by_lua phase, does it?

yes, it's designed and tested for content_by_lua.


Custom context specific error messages for validation Methods

I cannot figure if there is a way for a validation method to return context specif error message.
When adding a method, I can only specify a error message that can accept parameters from the rule params.
For remote validation, the result will be displayed as a error message. How can I do the same from within a validation method?
So for example I can return error message showing the user's input, such as: "asdf" is not a valid name.

Has there been any movement on this in the last two and a half years?
I am facing a similar situation. I have two select fields that allow a user to choose a size dimension in inches, one select for whole inches, one select for fractional inches. This structure repeats in other areas of the form, ie I have two select inputs for width, two for height, two for inner width, two for inner height, two for top border width, two for top border height ... etc etc.
Some of these inputs need to check the values of other inputs to determine validity. For example, the inner width should always be less than the outer width. Since those values can vary, I would like to supply the user with an error message that is useful. Consider the following method I have added:
jQuery.validator.addMethod('lessthancombo', function(v, e, p){
	var isValid = false;
	var params = p.split(',');
	if (parseFloat(jQuery(params[1]).val()) < parseFloat(jQuery(params[0]).val())) {
		isValid = true;
	};
	return isValid;
}, '{0} is invalid');

I would like the message to be more along the lines of "Inner Width must be less than Outer Width of 30" - I can't see how this can be done without adding a ton of bloat to the markup.

I'm sorry for the lack of activity on this issue. Instead of leaving it open any longer, I decided to close old issues without trying to address them, to longer give the false impression that it will get addressed eventually.
To the reporter (or anyone else interested in this issue): If you're affected by the same issue, consider opening a new issue, with a testpage that shows the issue. Even better, try to fix the issue yourself, and improve the project by sending a pull request. This may seem daunting at first, but you'll likely learn some useful skills that you can apply elsewhere as well. And you can help keep this project alive. We've documented how to do these things, too. A patch is worth a thousand issues!

Personally, I ultimately switched my application to Angular as jQuery was simply proving too problematic to work with. What an eye opener. I hope to never have to rely on jQuery again.

you can re-define message error and pass param to it like:
$.extend($.validator.messages, {
required: "{1} is not empty!";
});
and in rules:
rules: {
name: {
required: [true, "Name"]
}
}


Information Regarding Minio

Hey, I was Just upgrading IDE according to me my use case and in the code, I found Minio,judge0 but I am unable to understand its use case can you share some info on that?

It is used for fetching some custom dynamic info used in Judge0 IDE. It is not needed for Judge0 IDE to work.


Removes the java-repo-tools directory from the gcloud branch.

@lesv PTAL
This is the equivalent of https://github.com/GoogleCloudPlatform/appengine-try-java/pull/21 but for the gcloud branch, which is used in the Neos java-gae-quickstart.

I think we can ignore googlebot this time, it's just you, me, and dpebot on these merge commits.


/etc/hosts file

Hi ,
I am planning to write a goss test for /etc/hosts entry. But , I am unable any parameters to validate the values liek the below. As I need to validate multiple servers, i need to provide the values dynamically . Coudl you please let me know if any options?
/etc/hosts - file should be present
entry shouldbe :

Regards
Vinod

I figured it out myself.


Avoid global dyn rpc descriptor

Mutating is fine, but ensure its scoped to the base server - someone might have multiple servers created somewhere inside their application with the same names - this currently would cause a conflict

Makes sense and looks good.
+1 to merge this


Core: ServiceOptions.setCredentials fails with ClassCastException when using UserCredentials

On line https://github.com/googleapis/java-core/blob/6aa4476441fd7636dd116516d3bf4b738cf8a8a9/google-cloud-core/src/main/java/com/google/cloud/ServiceOptions.java#L221 the check is instanceof QuotaProjectIdProvider but the cast is to ServiceAccountCredentials therefore you get
class com.google.auth.oauth2.UserCredentials cannot be cast to class com.google.auth.oauth2.ServiceAccountCredentials (com.google.auth.oauth2.UserCredentials and com.google.auth.oauth2.ServiceAccountCredentials are in unnamed module of loader 'app')

The cast needs to be changed. google-cloud-core version 1.92.0

Thanks for finding this and reporting it! It's definitely a bug and we'll fix and push a release.