Black screen with useSkiaProcessor 🐛

What's happening?
Thanks for a great library! I've been using it nicely until trying to use frame processors and Skia drawing. Everything works well when I use useFrameProcessor, but when I use useSkiaFrameProcessor I just get a black screen. I also use recording in my app and when I record, I can see the video is recorded properly, so it's just the display that's black.
Perhaps I'm misunderstanding how the display is supposed to work, I would like the usual camera to be displayed and I would like to draw lines over it.
Reproduceable Code
const plugin = useTensorflowModel(
    require("../../assets/pose-detection-fast.tflite")
  );

  const paint = Skia.Paint();
  paint.setStrokeWidth(5);
  paint.setColor(Skia.Color("white"));

  const frameProcessor = useSkiaFrameProcessor(
    (frame) => {
      "worklet";
      if (!plugin.model) return;
      const resized = resize(frame, 192, 192);
      const outputs = plugin.model.runSync([resized]);
      const output = outputs[0]; // one output tensor

      const frameWidth = frame.width;
      const frameHeight = frame.height;

      // draw each line on the skeleton
      for (let i = 0; i < lines.length; i += 2) {
        const from = lines[i];
        const to = lines[i + 1];

        const confidence = output[from * 3 + 2];
        if (confidence > 0.5) {
          // frame.drawLine(
          //   (output[from * 3 + 1] as number) * frameWidth,
          //   (output[from * 3] as number) * frameHeight,
          //   (output[to * 3 + 1] as number) * frameWidth,
          //   (output[to * 3] as number) * frameHeight,
          //   paint
          // );
        }
      }
    },
    [plugin, plugin.model, paint]
  );

  let device: CameraDevice | undefined = undefined;
  device = useCameraDevice("front");

<VisionCamera
            style={StyleSheet.absoluteFill}
            device={device}
            isActive={true}
            video={true}
            ref={cameraRef}
            frameProcessor={frameProcessor}
          />

Relevant log output
LOG  Loading react-native-worklets-core...
 LOG  Worklets loaded successfully
 LOG  Installing bindings...
 LOG  Successfully installed!
 LOG  Loading Tensorflow Lite Model 15
 LOG  Resolved Model path: http://localhost:8081/assets/?unstable_path=.%2Fassets/pose-detection-fast.tflite?platform=android&hash=361a28992b649751d6d66cd8cfb1e2a6
 LOG  Model loaded!

These logs continuously log:

2024-05-02 09:20:08.187  1459-2878  libc                    camerahalserver                      W  Access denied finding property "rgbw.rawdata.dump"
2024-05-02 09:20:08.187  1459-2878  libc                    camerahalserver                      W  Access denied finding property "rgbw.fft.dump"
2024-05-02 09:20:08.187  1459-2878  libc                    camerahalserver                      W  Access denied finding property "rgbw.fft.samplerate"
2024-05-02 09:20:08.203 31633-31773 gralloc4                com.swing.swingai.dev                E  Attempt to call unlock*() on an unlocked buffer (0xb4000072074cb240)
2024-05-02 09:20:08.203 31633-31773 Gralloc4                com.swing.swingai.dev                E  unlock(0xb4000072074cb240) failed with 2
2024-05-02 09:20:08.204 31633-31773 Frame                   com.swing.swingai.dev                I  Converting 640 x 480 @ 640 HardwareBuffer...
2024-05-02 09:20:08.207  1459-2884  RequestRegulator        camerahalserver                      I  [onThreadLoop] VSirq : Done(1) SofIdx(8613) res(0) getSofIdx(8611/1) processed(4309<->4308), GUARD(Hal3A:ResC_F3-23.895, ResC_F2-23.895, ResC_F-23.895, ResC3-47.462, ResC2-47.462, Mgr_E-47.462, AFA-47.462, AwbP-47.462, ResC_F4-23.895, Ai3a-47.462, Tone-47.462, Flash-47.462, Lsc-47.462, ResC_F1-23.895, ResC-47.462, Flk-47.462, Ir-47.461, Ae-47.461, Awb-47.462, Stt-47.459, Cac-47.462, MgrS_E-47.459, FlashS-47.459, CacS-47.459, SenS-47.459, Ai3aS-47.459, ToneS-47.459, AwbS-47.459, Sen-47.461, AFAS-47.459, LscS-47.459, FlkS-47.459, AeS-47.459, SttS-47.459, Hal3AFlow:CB_E-47.463, CB_B-47.462, SetAAO-47.459, SetAFO-47.459, Control-47.479, Finish-47.462, Setting-47.465, )
2024-05-02 09:20:08.213  1459-2943  MtkCam/Str...ipe/NextIO camerahalserver                      W  [checkAllDone]Node(fpipe.async) IOReq not used
2024-05-02 09:20:08.218  1459-2879  isp_tuning_custom       camerahalserver                      D  dev_id[2] vendor_id[0x10] map to cameraModuleKey[0]
2024-05-02 09:20:08.218  1459-2878  isp_tuning_custom       camerahalserver                      D  dev_id[2] vendor_id[0x10] map to cameraModuleKey[0]
2024-05-02 09:20:08.219  1459-2851  MtkCam/CamCtrl          camerahalserver                      I  [tryDeQ]  [CHECK::FPS::DeQ]  ( 23.67 /second )
2024-05-02 09:20:08.220  1459-2878  ae_custom_transform     camerahalserver                      D  [calculateLuxIndex], Fno(2.240), MinExpTime_s(0.000084000), MinISO(50), AvgLuma(1365), CurCWR(1341), EVIndex1000x(6109)
2024-05-02 09:20:08.220  1459-2878  ae_custom_transform     camerahalserver                      D  [calculateLuxIndex], MaxEVIndex(11.8662),DeltaEV_10x(57.5725) LuxIndex(172.117)
2024-05-02 09:20:08.220  1459-2878  libc                    camerahalserver                      W  Access denied finding property "rgbw.rawdata.dump"
2024-05-02 09:20:08.221  1459-2878  libc                    camerahalserver                      W  Access denied finding property "rgbw.fft.dump"
2024-05-02 09:20:08.221  1459-2878  libc                    camerahalserver                      W  Access denied finding property "rgbw.fft.samplerate"
2024-05-02 09:20:08.238 31633-31773 gralloc4                com.swing.swingai.dev                E  Attempt to call unlock*() on an unlocked buffer (0xb400006cede577c0)
2024-05-02 09:20:08.239 31633-31773 Gralloc4                com.swing.swingai.dev                E  unlock(0xb400006cede577c0) failed with 2
2024-05-02 09:20:08.240  1459-2884  RequestRegulator        camerahalserver                      I  [onThreadLoop] VSirq : Done(1) SofIdx(8615) res(0) getSofIdx(8613/0) processed(4310<->4309), GUARD(Hal3A:ResC_F3-23.895, ResC_F2-23.895, ResC_F-23.895, ResC3-47.496, ResC2-47.496, Mgr_E-47.496, AFA-47.496, AwbP-47.496, ResC_F4-23.895, Ai3a-47.495, Tone-47.495, Flash-47.495, Lsc-47.495, ResC_F1-23.895, ResC-47.496, Flk-47.496, Ir-47.495, Ae-47.494, Awb-47.495, Stt-47.493, Cac-47.495, MgrS_E-47.493, FlashS-47.493, CacS-47.493, SenS-47.493, Ai3aS-47.493, ToneS-47.493, AwbS-47.493, Sen-47.495, AFAS-47.493, LscS-47.493, FlkS-47.493, AeS-47.493, SttS-47.493, Hal3AFlow:CB_E-47.497, CB_B-47.496, SetAAO-47.492, SetAFO-47.492, Control-47.479, Finish-47.496, Setting-47.499, )
2024-05-02 09:20:08.240 31633-31773 Frame                   com.swing.swingai.dev                I  Converting 640 x 480 @ 640 HardwareBuffer...
2024-05-02 09:20:08.247  1459-2943  MtkCam/Str...ipe/NextIO camerahalserver                      W  [checkAllDone]Node(fpipe.async) IOReq not used
2024-05-02 09:20:08.249 31633-3347  TrafficStats            com.swing.swingai.dev                D  tagSocket(176) with statsTag=0x90000, statsUid=-1
2024-05-02 09:20:08.251  1459-2879  isp_tuning_custom       camerahalserver                      D  dev_id[2] vendor_id[0x10] map to cameraModuleKey[0]
2024-05-02 09:20:08.252  1459-2878  isp_tuning_custom       camerahalserver                      D  dev_id[2] vendor_id[0x10] map to cameraModuleKey[0]
2024-05-02 09:20:08.253  1459-2878  ae_custom_transform     camerahalserver                      D  [calculateLuxIndex], Fno(2.240), MinExpTime_s(0.000084000), MinISO(50), AvgLuma(1365), CurCWR(1344), EVIndex1000x(6109)
2024-05-02 09:20:08.253  1459-2878  ae_custom_transform     camerahalserver                      D  [calculateLuxIndex], MaxEVIndex(11.8662),DeltaEV_10x(57.5725) LuxIndex(172.193)
2024-05-02 09:20:08.253  1459-2878  libc                    camerahalserver                      W  Access denied finding property "rgbw.rawdata.dump"
2024-05-02 09:20:08.253  1459-2878  libc                    camerahalserver                      W  Access denied finding property "rgbw.fft.dump"
2024-05-02 09:20:08.253  1459-2878  libc                    camerahalserver                      W  Access denied finding property "rgbw.fft.samplerate"

Camera Device
{
  "formats": [],
  "sensorOrientation": "landscape-right",
  "hardwareLevel": "full",
  "maxZoom": 4,
  "minZoom": 1,
  "maxExposure": 24,
  "supportsLowLightBoost": false,
  "neutralZoom": 1,
  "physicalDevices": [
    "wide-angle-camera"
  ],
  "supportsFocus": true,
  "supportsRawCapture": false,
  "isMultiCam": false,
  "minFocusDistance": 0,
  "minExposure": -24,
  "name": "1 (FRONT) androidx.camera.camera2",
  "hasFlash": false,
  "hasTorch": false,
  "position": "front",
  "id": "1"
}

Device
Xiaomi 12T
VisionCamera Version
4.0.1
Can you reproduce this issue in the VisionCamera Example app?
No, I cannot reproduce the issue in the Example app
Additional information

[X] I am using Expo
[X] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

I've just discovered that with useSkiaFrameProcessor you have to call frame.render() 😅
Thanks!

@DeanGracey but the front camera is not working as expected.


Windows Command Line (cmd)?

Hi and thanks for this great tutorial,
Is there a way to set up Powerline with Windows command prompt in Windows Terminal too?

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

ID: d3cbeb9a-9e7c-f8f4-5c03-5d6262d2b440
Version Independent ID: eb575c79-5b2a-45f6-646f-9d41d5d223e8
Content: Windows Terminal Powerline Setup
Content Source: TerminalDocs/tutorials/powerline-setup.md
Product: dev-environment
Technology: windows-terminal
GitHub Login: @cinnamon-msft
Microsoft Alias: cinnamon

I believe that @zadjii-msft has a cool looking cmd prompt

I do have a cool looking prompt. Weird that I didn't get an email ping for this...
You can't get a really good powerline setup on CMD, because CMD can't evaluate commands as part of it's prompt. So you can't really get updated git branch info in the prompt. However, I have a workaround that works for me.
I use a command like:
set GITBRANCH=
FOR /F "tokens=* USEBACKQ" %%F IN (`git symbolic-ref --short HEAD 2^> NUL`) DO (
SET GITBRANCH=%%F
)
if "%GITBRANCH%" == "" (
    set _GITPROMPT=$e[0m
) else (
    set "_GITPROMPT= $e[43;30m[%GITBRANCH%]$e[0m "
)
PROMPT $e[30;107m[$T]$e[97;46m$g$P$e[36;49m$g$e[0m$e[K$_$e[0m%_GITPROMPT%$e[94m%username%$e[0m@$e[32m%computername%$e[0m$G

to get something like:

(you can use  as the separator instead of $g for powerline arrows, if your font supports it. Clearly, mine doesn't 😃)
The trick here though, is that CMD won't re-evaluate the prompt each time you change directories. So whenever you change git repos, you need to run that command again. So I slap that in a file called reprompt.cmd, and then have another file named vf.cmd with the following:
@echo off
if (%1) == () (goto :reprompt)
cd /D %*
:reprompt
call reprompt

which does the same thing as cd, but also updates the prompt.
This all feels off the books, so I wouldn't want it to be part of the official documentation. I am willing to have my PM override me and say that this is fine though.

Closing as this does not require a docs update.


update terraform-providers.{helm,kubernetes} to 2.0.2

Motivation for this change
I had a requirement for a newer version of both of these providers.
Things done

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

[X] NixOS

[X] Fits CONTRIBUTING.md.

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

3 packages built:

terraform-full
terraform-providers.helm
terraform-providers.kubernetes


[Android][Linux] Building master RNTester on Linux fails while building Folly

Description:
I'm on the latest git commit, and RNTester fails to build on Linux:
/tmp$ git clone https://github.com/facebook/react-native &&
   cd react-native &&
   npm install &&
   ./gradlew :RNTester:android:app:installJSCDebug
[...]
[armeabi-v7a] Compile++ thumb: folly_json <= FileUtil.cpp
make: Leaving directory '/tmp/react-native/ReactAndroid/src/main/jni/react/jni'
/tmp/react-native/ReactAndroid/build/third-party-ndk/folly/folly/FileUtil.cpp:37:14: error: no matching function for call to 'wrapNoInt'
  return int(wrapNoInt(open, name, flags, mode));
             ^~~~~~~~~
/tmp/react-native/ReactAndroid/build/third-party-ndk/folly/folly/detail/FileUtilDetail.h:34:9: note: candidate template ignored: couldn't infer template argument 'F'
ssize_t wrapNoInt(F f, Args... args) {
        ^
1 error generated.
make: *** [/tmp/fetchleak/sdk/ndk-bundle/build/core/build-binary.mk:478: /tmp/react-native/ReactAndroid/build/tmp/buildReactNdkLib/local/armeabi-v7a/objs/folly_json/folly/FileUtil.o] Error 1
make: *** Waiting for unfinished jobs....
[...]
make: Leaving directory '/tmp/react-native/ReactAndroid/src/main/jni/react/jni'

> Task :ReactAndroid:buildReactNdkLib FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ReactAndroid:buildReactNdkLib'.
> Process 'command '/tmp/fetchleak/sdk/ndk-bundle/ndk-build'' finished with non-zero exit value 2

React Native version:
Git master, commit 5ebca708132be8720c28a565e03b04e1087326cf from Mar 12 (Android SDK downloaded today, commandlinetools-linux-6200805_latest.zip)
Steps To Reproduce

Be on Linux. The problem does not appear on macOS.
git clone https://github.com/facebook/react-native
cd react-native
npm install
./gradlew :RNTester:android:app:installJSCDebug

Expected Results
I expected RNTester to run
Snack, code example, screenshot, or link to a repository:
https://github.com/facebook/react-native/
The first commit that fails is 6e2131b8fa85da8b3fb0391803e7fbecba890ffb, "Upgrade Folly to v2<IP_ADDRESS> (#27811)". The preceding commit, a3cb377645f2ccb7632ded73c230a41025d38f6f, builds successfully.

I kludged around this by overwriting ReactAndroid/build/third-party-ndk/folly/folly/FileUtil.cpp with a version that defines openNoInt by copying the logic from wrapNoInt rather than calling it. I can then build successfully:
int openNoInt(const char* name, int flags, mode_t mode) {
  ssize_t r;
  do {
    r = open(name, flags, mode);
  } while (r == -1 && errno == EINTR);
  return r;
}

wrapNoInt error also appear on windows build.
read here for help:
https://github.com/tempbottle/react-native/blob/master/downloads/Readme.md

what is the output of ndk-build?
you probably downloaded the ndk here otherwise you find it at $ANDROID_SDK/ndk/<version>

I have this problem as well on MacOS as well.
make: Entering directory '/Users/harry/react-native/ReactAndroid/src/main/jni/react/jni'
/Users/harry/react-native/ReactAndroid/build/third-party-ndk/folly/folly/FileUtil.cpp:37:14: error: no matching function for call to 'wrapNoInt'
[armeabi-v7a] Compile++ thumb: folly_json <= FileUtil.cpp
  return int(wrapNoInt(open, name, flags, mode));
make: Leaving directory '/Users/harry/react-native/ReactAndroid/src/main/jni/react/jni'
             ^~~~~~~~~
/Users/harry/react-native/ReactAndroid/build/third-party-ndk/folly/folly/detail/FileUtilDetail.h:34:9: note: candidate template ignored: couldn't infer template argument 'F'
ssize_t wrapNoInt(F f, Args... args) {
        ^
1 error generated.
make: *** [/Users/harry/Library/Android/sdk/ndk/21.1.6352462/build/core/build-binary.mk:478: /Users/harry/react-native/ReactAndroid/build/tmp/buildReactNdkLib/local/armeabi-v7a/objs/folly_json/folly/FileUtil.o] Error 1

My NDK version is 21.1.6352462. I haven't tested it with other versions:

As of the latest master ~1 week ago, this is still an issue. Perhaps updating folly will fix it?

Checked Folly's master it looks like it still has this. Should this be raised with Folly?

The problem still exists, I tried ndk 21 and 22 and both report this error.

created a pr for folly to address this: https://github.com/facebook/folly/pull/1593
this may not have much difference to the workaround but should explain why this broken after ndk r21.

The problem still exists, I tried ndk 21 and 22 and both report this error.

Can someone give it another try. I've been pushing a lot of changes to the NDK setup recently and I believe folly + NDK21 + Linux setup should be good to go 👍


update sample deployment manifests

This update corrects the resource references that match with existing configMap.
Also fixes a problem where Network Status not being populated due to cniVersion was missing
for sriov network CRD.
Change-Id: I2ef7104ec3b94627698eb21b0708a79adcce7f59

@ahalim-intel  what about also changing the other two pods templates (pod-tc2.yaml, pod-tc3.yaml)?

@ahalim-intel what about also changing the other two pods templates (pod-tc2.yaml, pod-tc3.yaml)?

Good question. The other 2 pods specs are same as pod-tc1.yaml, just wondering if we need them at all or can we just remove them?

@ahalim-intel what about also changing the other two pods templates (pod-tc2.yaml, pod-tc3.yaml)?

Good question. The other 2 pods specs are same as pod-tc1.yaml, just wondering if we need them at all or can we just remove them?

I sometime use them for multiple pod testing, for example, to check the network connectivity between two pods on same and different nodes. but this can be achieved by copying pod-tc1.yml.
so let's remove the same pod files, or maybe replace them with dpdk examples.

I sometime use them for multiple pod testing, for example, to check the network connectivity between two pods on same and different nodes. but this can be achieved by copying pod-tc1.yml.
so let's remove the same pod files, or maybe replace them with dpdk examples.

The dpdk example needs different configMap and net CRD. Let's keep the pod-tc2.yaml, with correct resource reference of course and remove other one.

I sometime use them for multiple pod testing, for example, to check the network connectivity between two pods on same and different nodes. but this can be achieved by copying pod-tc1.yml.
so let's remove the same pod files, or maybe replace them with dpdk examples.

The dpdk example needs different configMap and net CRD. Let's keep the pod-tc2.yaml, with correct resource reference of course and remove other one.

+1

/lgtm


Update faq.md

Thanks for the PR! I think there's no point in referencing the old package, I'll just recommend the current one.


First commit

Linked to:
equinor/fiberoptics-das-simulator#3
equinor/fiberoptics-das-simulator#5
equinor/fibra-jsv-flux#67
equinor/fibra-canary#2

PRs:
#3
#5
...will replace this


Test failure in cirq/optimizers/decompositions_test.py on windows

Completely unrelated PR (#2616) is failing on a decomposition test: https://travis-ci.com/quantumlib/Cirq/jobs/262788593#L573

Dupe of #2468.


[Feature Request] Support for Horror rings/quivers mod (and Hopeshredder's similar mod)

Hello!
I'm trying to plan a build around the new Hopeshredder unique bow. It features the "12 to 14 Cold Damage per Frenzy Charge" mod, which also exists for Essence of Horror-crafted rings and quivers ("4 to 7 Cold Damage per Frenzy Charge").
It seems that these are not supported by PoB. I've never looked at the source code but if someone points me in the right direction (main files to edit for this kind of things), I'd gladly put a pull request together.
Good luck out there and thanks for the great software.

The next update will allow these stats to be correctly recognised.


MongoDB custom filter

I am using mongo connector to map data from mongodb to elasticsearch. Is there any property available in the mongo-connector through which I would be able to index a collection(for the very first time) consisting of documents of only a particular date range(which can be identified by "date" field in each document) from mongodb ?
mongo-connector version: 2.5.0.dev0
Source MongoDB version: 3.0.12
Elasticsearch version: 1.4.4

Closing as duplicate of https://github.com/mongodb-labs/mongo-connector/issues/304.


DbgEngDataReader.PointerSize should return the pointer size of the dumped process

Currently, DbgEngDataReader.PointerSize returns IntPtr.Size instead of the pointer size of the dumped process.
Fixed.

Thanks!


The Google sign-in ain't working

I'm not telling you how I got here, all I'm telling you is you need to fix the sign-in.

This redirect_uri is the fallback/default for local development (see here), which proves to me, that you're trying to play on official servers with your own modified version. As stated in #616, this does not work and is for obvious reasons not allowed.
Since you're repeatedly trying to hack in-game and are spamming us with issues on Github, I have to report this.

what? I just stumbled upon that while looking around.

My dude, this is github not discord, if you wanna ask some stuff like how to help the dev team then go to the discord server, which i doubt your even OLD enough. And Tarnadas already mentioned that it’s not allowed.

what? I just stumbled upon that while looking around out of boredom. And do you mean a modified ROM of sm64?

I'm sure that loading a modified rom would not cause a login problem. Please use GitHub for real game issues. Not being able to log in with a modified version is intended and not an issue.

My dude, this is github not discord, if you wanna ask some stuff like how to help the dev team then go to the discord server, which i doubt your even OLD enough. And Tarnadas already mentioned that it’s not allowed.

I'm kinda banned from the Discord for posting a gun image at a bad time.


[VSCodeEndGameTesting-Aditi][Search][Ember] Searching a large folder causes unresponsive window when running Ember serve

Using Ember-cli server
Steps:

Open an ember app folder in VS Code
Run ember serve command in Cmd prompt
Go to search menu in VS Code
Search "welcome"
Nearly hangs VS Code window and is very slow when loading files

It seems like it is not filtering out files generated by the server, or the search returns too many results when it usually restricts the number of results.
OS: Windows 10
Version 0.10.12-alpha
Commit d253e034e2a6a17422df292acd2ee3a568606bcd
Date 2016-03-10T11:08:57.021Z
Shell 0.35.6
Renderer 45.0.2454.85
Node 4.1.1

#3012


CI doesn't have all of the Integration repos side-by-side

likely would have been a benign issue until we started building the solution file

Checking in immediately because this fixes another build break. Worse, it doesn't repro locally for developers that have Hosting checked out beside IISIntegration.

c5c134b


DataBindingDemo project can't be run

[Enter feedback here]
The DataBindingDemo project cannot be run, after compilation, select Group by category or other Checkbox will appear, the listingPeer is null, and the peer cannot be obtained automatically!! How to solve!! Thank you!
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e2fd805d-cc4c-d546-4fd5-fae24a4aea24
Version Independent ID: c7bc226d-cd15-3740-a840-b12f7180fd04
Content: Data binding overview - WPF .NET Framework
Content Source: dotnet-desktop-guide/framework/wpf/data/data-binding-overview.md
Product: dotnet-framework
Technology: dotnet-wpf
GitHub Login: @adegeo
Microsoft Alias: adegeo

@tking222 Hello. This is an issue with the sample itself, which had some updates to it which broke it. I've filed a new issue in that repo to get them to fix it. I'll close this issue as its external to us. Thank you very much for reporting it!

No one can solve this problem？？？？


calculation issue in hexagon API

Hello,
thanks for your work.
I have this sample which result a non-symmetric hexagon
{
    "latitude": 52.513337,
    "longitude": 13.326161,
    "radius": 10000
}

Hello @ChaosRez ,
Apology for the very late reply... I've been caught up with work and do not have much free time to check on my GitHub. Thank you for raising this issue, I always anticipated this but forgot to add it to the README.
However, this is not a bug of hexagon-grid-system. To explain it simply, it has a lot to do with map projection and not much to do with hexagon calculations.
OpenStreetMap (OSM) and Spherical Pseudo-Mercator projection
I was able to reproduce your issue on https://geojson.io, and if you look to the bottom of the screenshot where I highlighted in red, you can see that geojson.io is using OpenStreetMap as their map layer.

Now, OpenStreetMap uses a very common map projection called Spherical Pseudo-Mercator projection -  where the Earth is modelized as if it was a perfect sphere (which it is not).
Problem with Spherical Pseudo-Mercator projection
TL;DR
Any polygon that is being displayed on a map using Pseudo-Mercator projection will be grossly distorted - the further it is away from the Equator (or closer it is to the North and South poles).
Well explained by Wikipedia, the Spherical Mercator projection has the following properties:

North is up everywhere
Meridians are equally spaced vertical lines
Angles are locally correct (assuming spherical coordinates)
And areas inflate with distance from the equator such that the polar regions are grossly exaggerated (this is the problem).

What does this mean?
The hexagon calculations are good (not perfect, but it is decently good). I calculate the hexagons using OpenStreetMap's Spherical Pseudo-Mercator projection algorithm.
It can be off by about 0.5%, but that error-margin seems acceptable by most map services/platforms (including OpenStreetMap).


control led strips on huntsmen elite keyboards

Can you control the huntsmen LED strips specifically? Grid didn't work for me

Looks like there a "v2" version of the custom effect for keyboards was added at some point. That might be required to support that. It's currently not exposed in Colore so we need to add that in.

Closing this for now as it should now be possible to address the LED strips with the new ExtendedCustomKeyboardEffect added in latest commit referenced above.
Relevant method to use it is IKeyboard.SetExtendedCustomAsync.


Python bindings for centroidal MPC  (Test missing)

Still working on the implementation of the tests

Hi @CarlottaSartore https://github.com/ami-iit/bipedal-locomotion-framework/pull/645 got merged so you can rebase the PR on top of master :)

In which folder are you loading the bindings? If you do it in the build folder is not working

Thank you @CarlottaSartore for the effort I will merge it as soon as the CI ends. Thank you for the effort this will be really useful for @LoreMoretti and @paolo-viceconte


CLID-14: operator catalog filtering implementation

Description
As part of the mirroring process it is necessary to be able to filter the content to be mirrored by using the ImageSetConfig. This implementation cover all scenarios specified in the operator-filtering-study.md.
Fixes # (CLID-14)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  operators:
    - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14

Expected Outcome: For each package in the catalog, 1 bundle, corresponding to the head version of the default channel for that package
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  operators:
    - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14
      packages:
        - name: devworkspace-operator

Expected Outcome: 1 bundle, corresponding to the head version of the default channel for that package
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  operators:
    - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14
      packages:
        - name: devworkspace-operator
          minVersion: "0.18.1"

Expected Outcome: all bundles in the default channel, from minVersion, up to channel head for that package (not relying of shortest path from upgrade graph)
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  operators:
    - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14
      packages:
        - name: devworkspace-operator
          maxVersion: "0.18.1"

Expected Outcome: all bundles in the default channel, that are lower than maxVersion for that package
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  operators:
    - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14
      packages:
        - name: devworkspace-operator
          minVersion: 0.16.0
          maxVersion: 0.17.0

Expected Outcome: all bundles in the default channel, between minVersion and maxVersion for that package. Head of channel is not included, even if multiple channels are included in the filtering
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  operators:
    - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14
      packages:
        - name: 3scale-operator
          channels:
            - name: threescale-mas
              minVersion: 0.11.7

Expected Outcome: within the selected channel of that package, all version starting minVersion up to channel head (not relying of shortest path from upgrade graph)
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  operators:
    - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14
      packages:
        - name: 3scale-operator
          channels:
            - name: threescale-mas

Expected Outcome: head bundle for the selected channel of that package
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  operators:
    - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14
      packages:
        - name: 3scale-operator
          channels:
            - name: threescale-2.14
            - name: threescale-mas

Expected Outcome: head bundle for the each selected channel of that package
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  operators:
    - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14
      packages:
        - name: 3scale-operator
          channels:
            - name: threescale-mas
              maxVersion: 0.11.1

Expected Outcome: within the selected channel of that package, all versions up to maxVersion (not relying of shortest path from upgrade graph): Head of channel is not included, even if multiple channels are included in the filtering
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  operators:
    - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14
      packages:
        - name: 3scale-operator
          channels:
            - name: threescale-mas
              minVersion: 0.11.1
              maxVersion: 0.11.3

Expected Outcome: within the selected channel of that package, all versions between minVersion and maxVersion (not relying of shortest path from upgrade graph): Head of channel is not included, even if multiple channels are included in the filtering
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  operators:
    - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14
      packages:
        - name: 3scale-operator
          channels:
            - name: threescale-2.11
              minVersion: 0.8.1
              maxVersion: 0.8.3
          minVersion: 0.8.1

Expected Outcome: Error: filtering by channel and by package min/max should not be allowed
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  operators:
    - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14
      full: true

Expected Outcome: all bundles of all channels of the specified catalog
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  operators:
    - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14
      full: true
      packages:
        - name: devworkspace-operator

Expected Outcome: all bundles of all channels for the packages specified
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  operators:
    - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14
      full: true
      packages:
        - name: 3scale-operator
          channels:
            - name: threescale-mas

Expected Outcome: # all bundles for the packages and channels specified

@aguidirh - great work !!.
So at a high level I have executed  the scenario
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  operators:
    - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14
      packages:
        - name: devworkspace-operator

with expected  outcome
1 bundle, corresponding to the head version of the default channel for that package

How about (not sure where) maybe in .history we add the channel and bundle name i.e something like
channel: name
bundle: name

related image sha256:xxx
raleated image sha256:xxx

etc - WDYT ?

/hold

/unhold

/lgtm


Check that an access identity provider exists

User Story

As a user
I need to know, that the access identity provider is reachable
So that it can be ensured, that it is possible to get a token from the indicated access identity provider

Acceptance Criteria

It should be confirmed that the access identity provider provides an OpenID Connect interface
The reachability of an access identity provider is automatically confirmed by the program

Access Identity provides
Popular companies that offer IdP services include the following:

Google
Facebook
Apple
Fitbit
Microsoft
Box
Amazon Web Services (AWS)

How to reach Google IdP
Setting up OAuth 2.0
Obtain OAuth 2.0 credentials
Set a redirect URI
Customize the user consent screen
Google and third parties provide libraries that can be used to take care of many
of the implementation details of authenticating users and gaining access to Google APIs.
Examples include Google Sign-In and the Google client libraries, which are available for a variety of platforms.
Authenticating the user
Authenticating the user involves obtaining an ID token and validating it.
ID tokens are a standardized feature of OpenID Connect designed for use in sharing identity assertions on the Internet.
The most commonly used approaches for authenticating a user and obtaining an ID token are called the "server" flow and the "implicit" flow.
The server flow allows the back-end server of an application to verify the identity of the person using a browser or mobile device.
The implicit flow is used when a client-side application (typically a JavaScript app running in the browser)
needs to access APIs directly instead of via its back-end server.
The implicit flow is significantly more complicated because of security risks in handling and using tokens on the
client side
Reachability of an access identity provide
Make sure to set up the app in the API Console to enable it to use these protocols and authenticate users.
When a user tries to log in with Google, the following steps are required:

Create an anti-forgery state token
Send an authentication request to Google
the anti-forgery state token
Exchange code for access token and ID token
Obtain user information from the ID token
Authenticate the user

After creating an anti-forgery state token,
The next step is forming an HTTPS GET request with the appropriate URI parameters.
Note the use of HTTPS rather than HTTP in all the steps of this process; HTTP connections are refused.
For a basic request, specify the following parameters:
client_id, which obtain from the API Console Credentials page
.response_type, which in a basic authorization code flow request should be code
.scope, which in a basic request should be openid email
.redirect_uri should be the HTTP endpoint on  server that will receive the response from Google.
.state should include the value of the anti-forgery unique session token,
as well as any other information needed to recover the context when the user returns to application, e.g., the starting URL.
.nonce is a random value generated by app that enables replay protection when present.
.login_hint can be the user's email address or the sub string, which is equivalent to the user's Google ID.
Use the hd parameter to optimize the
OpenID Connect flow for users of a particular domain associated with a Google Cloud organization.
Here is an example of a complete OpenID Connect authentication URI, with line breaks and spaces for readability:
{
https://accounts.google.com/o/oauth2/v2/auth?
 response_type=code&
 client_id=424911365001.apps.googleusercontent.com&
 scope=openid%20email&
 redirect_uri=https%3A//oauth2.example.com/code&
 state=security_token%3D138r5719ru3e1%26url%3Dhttps%3A%2F%2Foauth2-login-demo.example.com%2FmyHome&
<EMAIL_ADDRESS> nonce=0394852-3190485-2490358&
 hd=example.com
}

The response includes a code parameter, a one-time authorization code that  server can exchange for an access token and ID token.
Server makes this exchange by sending an HTTPS POST request. The POST request is sent to the token endpoint,
which should retrieve from the Discovery document using the token_endpoint metadata value.
The request must include the following parameters in the POST body:

Code: The authorization code that is returned from the initial request.
Client_id: The client ID that obtain from the API Console Credentials page, as described in Obtain OAuth 2.0 credentials.
Client_secret: The client secret that  obtain from the API Console Credentials page, as described in Obtain OAuth 2.0 credentials.
Redirect_uri: An authorized redirect URI for the given client_id specified in the API Console Credentials page, as described in Set a redirect URI.
Grant_type: This field must contain a value of authorization_code, as defined in the OAuth 2.0 specification.

The actual request might look like the following example:
{
POST /token HTTP/1.1
Host: oauth2.googleapis.com
Content-Type: application/x-www-form-urlencoded

code=4/P7q7W91a-oMsCeLvIaQm6bTrgtp7&
client_id=your-client-id&
client_secret=your-client-secret&
redirect_uri=https%3A//oauth2.example.com/code&
grant_type=authorization_code
}

A successful response to this request contains the following fields in a JSON array:

Access_token:	A token that can be sent to a Google API.
Expires_in: The remaining lifetime of the access token in seconds.
Id_token:	A JWT that contains identity information about the user that is digitally signed by Google.
Scope: The scopes of access granted by the access_token expressed as a list of space-delimited, case-sensitive strings.
Token_type: Identifies the type of token returned. At this time, this field always has the value Bearer.
Refresh_token: (optional) This field is only present if the access_type parameter was set to offline in the authentication request. For details, see Refresh tokens.

An ID token is a JSON object containing a set of name/value pairs .
Obtain user information from the ID token example is given below
{
  "iss": "https://accounts.google.com",
  "azp": "1234987819200.apps.googleusercontent.com",
  "aud": "1234987819200.apps.googleusercontent.com",
  "sub": "10769150350006150715113082367",
  "at_hash": "HK6E_P6Dh8Y93mRNtsDB1Q",
  "hd": "example.com",
  "email"<EMAIL_ADDRESS>  "email_verified": "true",
  "iat":<PHONE_NUMBER>,
  "exp":<PHONE_NUMBER>,
  "nonce": "0394852-3190485-2490358"
}

OpenID Connect Interface for the Google IdP
Interface Image 1
Interface Image 2
The complete documentation can be found here


HTML

#HTML
##User Story
As a bootcamp student,
I want a Prework Study Guide website,
so that I can review all the information I learned throughout Prework.
##Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Git, and JavaScript with associated notes listed

HTML
User Story
As a bootcamp student,
I want a Prework Study Guide website,
so that I can review all the information I learned throughout Prework.
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Git, and JavaScript with associated notes listed

HTML code has been added. Now closing this issue


What is the testing scope of the dataset in the short video QA?

Thanks for your work! I recently tried to reproduce your work on the short video question-answering task, but the performance always differs from the papaer. I wonder if it might be due to the scope of the dataset used?
For the MSVD-QA dataset, the QA json downloaded from the instructions under eval_code includes three subsets: train, test, and val. May I ask if the results in your paper were tested on all of these subsets?
If possible, I would also like to know if the hyperparameter settings are consistent with the code in the repository?

The hyperparameter settings please refer to the paper. Can you provide the GPT version you use?

Thank you for your response. I tested the GPT-3.5-turbo-0125 API on the entire MSVD dataset (including 50,505 questions), and observed a 10% drop in accuracy and a 0.3 decrease in score.

We evaluate MovieChat using the test set and report the average performance across multiple turns of evaluation.


There is no icon for the action 'Search From Here' on the Actions panel

Storage Explorer Version: 1.26.0-dev
Build Number: 20221006.3
Branch: feature branch
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Monterey 12.6 (Apple M1 Pro)
Architecture: ia32/x64
How Found: From running test cases
Regression From: Previous release (1.26.0)
Steps to Reproduce

Launch Storage Explorer.
Select one node, like 'Quick Access' node -> Observe its Actions panel.
Check whether there is an icon for the action 'Search From Here'.

Expected Experience
There is an icon for the action 'Search From Here'.

Actual Experience
There is no icon for the action 'Search From Here'.

Not fixed. Need to do SVG path, not raw SVG contents.

Verified this issue on the build 20221102.12. Fixed. So, we are going to close it.


Improve collision generation usability in the new 3D scene import workflow.

Mirror of: https://github.com/godotengine/godot/pull/51985 that was merged for mistake.

Implements the proposal: https://github.com/godotengine/godot-proposals/issues/3155
With this PR it's possible to add a collision during the Mesh import, directly in editor.
To generate the shape is possible to chose between the following options:

Decompose Convex: The Mesh is decomposed in one or many Convex Shapes (Using the VHACD library).
Simple Convex: Is generated a convex shape that enclose the entire mesh.
Trimesh: Generate a trimesh shape using the Mesh faces.
Box: Add a primitive box shape, where you can tweak the size, position, rotation.
Sphere: Add a primitive sphere shape, where you can tweak the radius, position, rotation.
Cylinder: Add a primitive cylinder shape, where you can tweak the height, radius, position, rotation.
Capsule: Add a primitive capsule shape, where you can tweak the height, radius, position, rotation.

It's also possible to chose the generated body, so you can create:

Rigid Body.
Static Body.
Area.

See it in action here: https://youtu.be/I-N1IXgeb00
https://user-images.githubusercontent.com/8342599/131092080-c82ca9d4-040a-41a6-8969-2acad148802b.mp4

Looks awesome, if someone else wants to give it a check to give feedback (@fire and @JFonS ?) please be welcome to, otherwise will merge in the coming days.

I checked the functionality of this previously. The changes to the default precision from 0 to 5+ and defaulting to convex decompose have been made.
Looks good to me.

Thanks!

This doesn't work with scaled meshes. It scales the physics body instead of the mesh, which breaks physics (see the ⚠):


Use latest version of alpn-boot by default

Solves: #2024

Coverage remained the same at 84.506% when pulling c70b25d1e4c84559bd68ca74cd84c5beae19c7a5 on t-tsutsumi:pr/use-latest-alpn-boot into 743c6888be63fd544ad992634c46a99e952aa8b4 on dropwizard:master.

Thank you for the contribution!


Copy build from image

Peered with @yrashk.
Yurii FYI - I am merging this not making use of the utility functions we were working on in order to demo before EOW for team - instead just writing the tarball as download from docker. I expect we will still make use of those utilities when we need to change what's inside the tarball, e.g. adding metadata.json or whatever else.


fix(gulp): modify assets directory for distribution

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


FMLM does not support Flutter Map 4.

When using the dev branch, flutter_map: ^4.0.0-dev.1, which Flutter Map is officially suggesting users begin migrating to, this location marker package breaks and prevents the upgrade.

Nothing break with FMLM v5.3.0 and FM v4 0.0-dev.1 when I tested last week. No code need to be changed to support FM v4 but only pubspec.yaml, so I am not planning to upload a dev version of FMLM. But you can use dependency_overrides to bypass the version constrain, for example:
dependencies:
  flutter_map: ^4.0.0-dev.1
  flutter_map_location_marker: ^5.3.0

dependency_overrides:
  flutter_map: ^4.0.0-dev.1


fixes to 5.38.2

Summary
I was upgrading my 5.37 that was built on former "mattermost-docker" repo (upgraded Postgres with the script manually sometimes about 5.32 or so). Faced several issues that prevented me from running it successfully
Changes are somewhat obvious:

change "-TZ" to "-${TZ}" as the variable is defined in the .env (probably that was original intention)
change /var/run to /run: in current containers that I pulled it is a symlink, so when running you get "readonly filesystem error" since "tmpfs" does not work with symlinks
added BLEVE_PATH, since I have Bleve catalog in volumes - otherwise I also got "readonly filesystem" error for that Bleve init.
changed "read_only" to "false" in mattermost container, since there was
{"level":"error","ts":1630607829.132162,"caller":"web/static.go:26","msg":"Failed to update assets subpath from config","error":"failed to update root.html with subpath /: open /mattermo st/client/root.html: read-only file system","errorVerbose":"open /mattermost/client/root.html: read-only file system\nfailed to update root.html with subpath /\ngithub.com/mattermost/mat termost-server/v5/utils.UpdateAssetsSubpathInDir\n\tgithub.com/mattermost/mattermost-server/v5/utils/subpath.go:117\ngithub.com/mattermost/mattermost-server/v5/utils.UpdateAssetsSubpath\ n\tgithub.com/mattermost/mattermost-server/v5/utils/subpath.go:145\ngithub.com/mattermost/mattermost-server/v5/utils.UpdateAssetsSubpathFromConfig\n\tgithub.com/mattermost/mattermost-ser ver/v5/utils/subpath.go:168\ngithub.com/mattermost/mattermost-server/v5/web.(*Web).InitStatic\n\tgithub.com/mattermost/mattermost-server/v5/web/static.go:25\ngithub.com/mattermost/matter most-server/v5/web.New\n\tgithub.com/mattermost/mattermost-server/v5/web/web.go:36\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.runServer\n\tgithub.com/mattermost/ mattermost-server/v5/cmd/mattermost/commands/server.go:100\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands.serverCmdF\n\tgithub.com/mattermost/mattermost-server/v5/cm d/mattermost/commands/server.go:58\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.1.3/command.go:852\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/sp f13/cobra@v1.1.3/command.go:960\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.1.3/command.go:897\ngithub.com/mattermost/mattermost-server/v5/cmd/mattermost/comm ands.Run\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/commands/root.go:14\nmain.main\n\tgithub.com/mattermost/mattermost-server/v5/cmd/mattermost/main.go:31\nruntime.main \n\truntime/proc.go:225\nruntime.goexit\n\truntime/asm_amd64.s:1371"}

Thanks! This helped for me as well.
However I have additional problems starting up the containers (migrated from "mattermost-docker").
The only error log I get:
{"level":"error","ts":1630660557.0541003,"caller":"log/log.go:184","msg":"[ERR] plugin: plugin acceptAndServe error: timeout waiting for accept","source":"stdlog"}

Maybe you know why this happens?

{"level":"error","ts":1630660557.0541003,"caller":"log/log.go:184","msg":"[ERR] plugin: plugin acceptAndServe error: timeout waiting for accept","source":"stdlog"}

I have these errors as well. But it seems it does not hurt.
Another issue I faced was the port application listens on. In my previous config internal port was 8000. However  there are several issues:

APP_PORT from .env is not honored, healthcheck is fixed to port 8065.
port is not exposed (I use it with nginx, so not a big deal)
My config had port 8000 listening as already mentioned, so I have to change it to 8065

Are you container healthy in docker ps? Check the port stuff

I have changed APP_PORT to my previously used one, but if the port is not exposed at all, I think this is why I can't reach it (I don't use nginx and the reverse proxy I use is not in the same stack, so I would really to expose the port).
The container is reported as unhealthy

@radokristof Your problem from the issue tracker is unrelated to the APP_PORT.

@radokristof
check what port is set in your config.json - chenge it to 8065, then add "ports:" section to your compose file.
Or just use it with nginx container, as suggested in the readme.
But check what port is in your config in any case! I had 8000.

@shurrman the APP_PORT is exposed if you use it 'right'. You have two options: use the bundled nginx or just run the Mattermost server with Postgres. For the former you need to run the containers this way:
sudo docker-compose -f docker-compose.yml -f docker-compose.nginx.yml up

and for the latter:
sudo docker-compose -f docker-compose.yml -f docker-compose.without-nginx.yml up

The port itself is no real change as Mattermost uses 8065 since the beginning and the community based repo (mattermost-docker) used a 'custom' port (8000).

@shurrman thanks you were right, the ListenAddress in the config file was 8000, now using 8065.
That was the only problem, now the container running smoothly!
@mrckndt The issue was not related to the error, but I couldn't narrow it down further, so that's why I asked here.


Fixing a crash when calling CGContextAddPath with a NULL path

The Apple docs for CGContextAddPath imply that passing a NULL path does nothing and is a valid API call.
Fix #966

Hi @pittmab, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

:clock1:

:shipit:


Div tips

Just a note-to-self to check in re: .gitignore and rendering book before merging this in. Can leave as a deploy preview for now: https://deploy-preview-18--nervous-golick-ef3308.netlify.app/welcome.html


Upgrade D3 to version 4

@jeffbaumes it turns out to be much easier than I thought - I just had to explicitly include each component's "local" copy of D3 in the component code. No need for separate wrapper packages, etc.


Partition entry not found in csv file!

No matter which partition scheme I choose, I get the same error.
LittleFS Filesystem Uploader
Using partition: tinyuf2-partitions-4MB
ERROR: Partition entry not found in csv file!
I am running on a Mac Book Pro with an M1.  I am trying to push files onto an ESP32-S3 from Adafruit.  I can deploy and run code from the Arduino IDE, but I am unable to get resource files onto the SPIFFS file system.

That file has no spiffs (which is now used for LittleFS) partition defined, so the uploader can't make one.  It looks like it's a FAT-only filesystem defined which this does not support
$ cat tools/partitions/tinyuf2-partitions-4MB.csv

# ESP-IDF Partition Table
# Name,   Type, SubType, Offset,  Size, Flags
# bootloader.bin,,          0x1000, 32K
# partition table,          0x8000, 4K

nvs,      data, nvs,      0x9000,  20K,
otadata,  data, ota,      0xe000,  8K,
ota_0,    app,  ota_0,   0x10000,  1408K,
ota_1,    app,  ota_1,  0x170000,  1408K,
uf2,      app,  factory,0x2d0000,  256K,
ffat,     data, fat,    0x310000,  960K,


Add GTM attributes

This PR adds GTM attributes to all relevant partials (see commit history) and a JavaScript module that manages the data-card-position attribute (since this could not be achieved server side).

Problem with the commits here so will continue this in another branch.


Other timezones

It seems you can only set the time via NTP.
But it is 2 hours off as I am here in CEST.
How can I change the timezone or manually set the time?

OK ... I noticed there is a define:
#define RTC_TIME_ZONE   "CEST-2"
Now when I synchronize with NTP it shows the correct time.
After the screen times out, it shows completely false time.
Maybe issue with writing the new NTP time into the RTC??

Yeah... same problem here. It syncs the wrong time in the first place (17:58 instead of 20:58) and I am living in CEST+1 which is also set in the sketch... and after that when the screen times out the time is completely wrong

I'm not a good programmer but I've done  a hack that seems more reliable... use a local server, and the configTime() function.
// configTzTime(RTC_TIME_ZONE, "pool.ntp.org");
 // dw
 // Init and get the time
 long gmtOffset_sec, daylightOffset_sec;
 gmtOffset_sec = -10 * 3600;
 daylightOffset_sec = 0;

 configTime(gmtOffset_sec, daylightOffset_sec, "au.pool.ntp.org");
 printLocalTime();
 // dw


Add ReplyKeyboardRemove

Add a field in the remove_keyboard in the ReplyMarkup struct to remove the keyboard
Fixes #114

Cheers!


Windows containers behind a Kubernetes loadbalancer become unreachable

There is a regression when using Windows worker nodes with newer Windows kernel versions on an OpenShift 4.6.8 cluster with mutltiple Windows worker nodes. The cluster configured with hybrid OVN networking.
This issue is present at least in Windows Server 2019 OS Builds 17763.1579 and 17763.1637.
This issue was not present in Windows Server 2019 OS Build 17763.1457
The issue is that http requests made through a load balancer backed by a webserver deployment with 3 pods, are not always making it to the webservers. This issue occurs only when the pods are running on separate Windows nodes. We are seeing this on both Azure and AWS. The logs in this issue are for an Azure cluster with Windows server 2019 OS Build 17763.1637 worker nodes.
Here is a deployment yaml which can be used to exercise this issue.
apiVersion: v1
kind: Service
metadata:
  name: win-webserver
  labels:
    app: win-webserver
spec:
  ports:
    # the port that this service should serve on
  - port: 80
    targetPort: 80
  selector:
    app: win-webserver
  type: LoadBalancer
---
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: win-webserver
  name: win-webserver
spec:
  selector:
    matchLabels:
      app: win-webserver
  replicas: 1
  template:
    metadata:
      labels:
        app: win-webserver
      name: win-webserver
    spec:
      tolerations:
      - key: "os"
        value: "Windows"
        Effect: "NoSchedule"
      containers:
      - name: windowswebserver
        env:
        - name: NODENAME
          valueFrom:
            fieldRef:
              fieldPath: spec.nodeName
        image: mcr.microsoft.com/powershell:lts-nanoserver-1809
        imagePullPolicy: IfNotPresent
        command:
        - pwsh.exe
        - -command
        - $listener = New-Object System.Net.HttpListener; $listener.Prefixes.Add('http://*:80/'); $listener.Start();Write-Host('Listening at http://*:80/'); while ($listener.IsListening) { $context = $listener.GetContext(); $response = $context.Response; $content= "
Windows Container Web Server, node:"+ $Env:NODENAME + "
"; $buffer = [System.Text.Encoding]::UTF8.GetBytes($content); $response.ContentLength64 = $buffer.Length; $response.OutputStream.Write($buffer, 0, $buffer.Length); $response.Close(); };
        securityContext:
          windowsOptions:
            runAsUserName: "ContainerAdministrator"
      nodeSelector:
        beta.kubernetes.io/os: windows

Once the above yaml was applied to the cluster, the external ip of the load balancer was repeatedly curled using this script:
#!/bin/bash -i

for (( c=1; ; c++ ))
do
   echo " - attempt $c - infinite loops [ hit CTRL+C to stop]"
   date
   curl $1
done

With one replica, everything worked fine. When the deployment was scaled to three replicas, after a few sucesses the webservers were unreachable. Scaling back down to one replica fixed this issue.
[sebsoto@localhost openshift]$ oc get svc
NAME            TYPE           CLUSTER-IP      EXTERNAL-IP                            PORT(S)        AGE
win-webserver   LoadBalancer   <IP_ADDRESS>   <IP_ADDRESS>                          80:30640/TCP   35m

[sebsoto@localhost openshift]$ oc get po
NAME                             READY   STATUS    RESTARTS   AGE
win-webserver-64f5c875df-c5fnn   1/1     Running   0          6m16s

[sebsoto@localhost openshift]$ bash curl.sh <IP_ADDRESS>
 - attempt 1 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:52:40 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 2 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:52:40 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 3 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:52:40 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 4 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:52:40 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 5 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:52:40 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 6 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:52:40 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 7 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:52:40 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 8 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:52:40 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 9 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:52:41 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 10 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:52:41 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 11 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:52:41 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 12 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:52:41 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 13 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:52:41 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 14 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:52:41 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 15 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:52:41 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 16 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:52:41 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 17 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:52:42 PM EST
^C

[sebsoto@localhost openshift]$ oc scale deploy/win-webserver --replicas 3
deployment.apps/win-webserver scaled

[sebsoto@localhost openshift]$ oc get po
NAME                             READY   STATUS    RESTARTS   AGE
win-webserver-64f5c875df-bvgq2   1/1     Running   0          8s
win-webserver-64f5c875df-c5fnn   1/1     Running   0          6m57s
win-webserver-64f5c875df-rnbhz   1/1     Running   0          8s

[sebsoto@localhost openshift]$ bash curl.sh <IP_ADDRESS>
 - attempt 1 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:53:20 PM EST

Windows Container Web Server, node:winworker-2wgm6
 - attempt 2 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:53:24 PM EST

Windows Container Web Server, node:winworker-mzfw8
 - attempt 3 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:53:24 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 4 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:53:24 PM EST

Windows Container Web Server, node:winworker-2wgm6
 - attempt 5 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:53:31 PM EST

Windows Container Web Server, node:winworker-2wgm6
 - attempt 6 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:53:38 PM EST
curl: (28) Failed to connect to <IP_ADDRESS> port 80: Connection timed out
 - attempt 7 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:55:48 PM EST
curl: (28) Failed to connect to <IP_ADDRESS> port 80: Connection timed out
 - attempt 8 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 01:57:59 PM EST
curl: (28) Failed to connect to <IP_ADDRESS> port 80: Connection timed out
 - attempt 9 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 02:00:10 PM EST
^C

[sebsoto@localhost openshift]$ oc scale deploy/win-webserver --replicas 1
deployment.apps/win-webserver scaled

[sebsoto@localhost openshift]$ oc get po
NAME                             READY   STATUS    RESTARTS   AGE
win-webserver-64f5c875df-c5fnn   1/1     Running   0          14m

[sebsoto@localhost openshift]$ bash curl.sh <IP_ADDRESS>
 - attempt 1 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 02:00:33 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 2 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 02:00:33 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 3 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 02:00:34 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 4 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 02:00:34 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 5 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 02:00:34 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 6 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 02:00:34 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 7 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 02:00:34 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 8 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 02:00:34 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 9 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 02:00:34 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 10 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 02:00:34 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 11 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 02:00:35 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 12 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 02:00:35 PM EST

Windows Container Web Server, node:winworker-m6ktt
 - attempt 13 - infinite loops [ hit CTRL+C to stop]
Fri 11 Dec 2020 02:00:35 PM EST

using AKS engine with k8s v1.19.3 I was not able to reproduce:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\azureuser> cmd /c ver

Microsoft Windows [Version 10.0.17763.1637]
PS C:\Users\azureuser>

kgp -o wide
NAME                             READY   STATUS    RESTARTS   AGE     IP             NODE              NOMINATED NODE   READINESS GATES
win-webserver-7b8599fb4c-66cxp   1/1     Running   0          2m27s   <IP_ADDRESS>   2278k8s00000002   <none>           <none>
win-webserver-7b8599fb4c-676sl   1/1     Running   0          2m27s   <IP_ADDRESS>   2278k8s00000001   <none>           <none>
win-webserver-7b8599fb4c-hrncz   1/1     Running   0          3m56s   <IP_ADDRESS>    2278k8s00000000   <none>           <none>

k get svc
NAME            TYPE           CLUSTER-IP     EXTERNAL-IP     PORT(S)        AGE
kubernetes      ClusterIP      <IP_ADDRESS>       <none>          443/TCP        35m
win-webserver   LoadBalancer   <IP_ADDRESS>   <IP_ADDRESS>     80:31048/TCP   5m24s

#!/bin/bash -i

for (( c=1; ; c++ ))
do
   echo " - attempt $c - infinite loops [ hit CTRL+C to stop]"
   date
   curl <IP_ADDRESS>
done

 - attempt 1 - infinite loops [ hit CTRL+C to stop]
Mon 21 Dec 2020 11:58:39 AM PST

Windows Container Web Server, node:2278k8s00000001
 - attempt 2 - infinite loops [ hit CTRL+C to stop]
Mon 21 Dec 2020 11:58:39 AM PST

Windows Container Web Server, node:2278k8s00000002
 - attempt 3 - infinite loops [ hit CTRL+C to stop]
Mon 21 Dec 2020 11:58:39 AM PST

Windows Container Web Server, node:2278k8s00000000
 - attempt 4 - infinite loops [ hit CTRL+C to stop]
Mon 21 Dec 2020 11:58:39 AM PST

Windows Container Web Server, node:2278k8s00000001
 - attempt 5 - infinite loops [ hit CTRL+C to stop]
Mon 21 Dec 2020 11:58:39 AM PST

Windows Container Web Server, node:2278k8s00000001
 - attempt 6 - infinite loops [ hit CTRL+C to stop]
Mon 21 Dec 2020 11:58:39 AM PST

Windows Container Web Server, node:2278k8s00000001
 - attempt 7 - infinite loops [ hit CTRL+C to stop]
Mon 21 Dec 2020 11:58:40 AM PST

.....

Windows Container Web Server, node:2278k8s00000000
 - attempt 357 - infinite loops [ hit CTRL+C to stop]
Mon 21 Dec 2020 11:58:57 AM PST

Windows Container Web Server, node:2278k8s00000001
 - attempt 358 - infinite loops [ hit CTRL+C to stop]
Mon 21 Dec 2020 11:58:57 AM PST

Windows Container Web Server, node:2278k8s00000002
 - attempt 359 - infinite loops [ hit CTRL+C to stop]
Mon 21 Dec 2020 11:58:57 AM PST

Windows Container Web Server, node:2278k8s00000001
 - attempt 360 - infinite loops [ hit CTRL+C to stop]
Mon 21 Dec 2020 11:58:57 AM PST

Windows Container Web Server, node:2278k8s00000000
 - attempt 361 - infinite loops [ hit CTRL+C to stop]
Mon 21 Dec 2020 11:58:57 AM PST

Windows Container Web Server, node:2278k8s00000002
 - attempt 362 - infinite loops [ hit CTRL+C to stop]
Mon 21 Dec 2020 11:58:57 AM PST

Windows Container Web Server, node:2278k8s00000001
 - attempt 363 - infinite loops [ hit CTRL+C to stop]
Mon 21 Dec 2020 11:58:57 AM PST

There was a change that we detected in aks-engine: https://github.com/Azure/aks-engine/pull/3956#issuecomment-719844970 that caused service calls to fail.
The fix was to re-order the calls: https://github.com/Azure/aks-engine/pull/3956#issuecomment-720797433 done in https://github.com/Azure/aks-engine/pull/4002
Not sure if this is related but seems fairly suspect.

This is still under active investigation. No root cause has been determined yet.

This is still under active investigation. No root cause has been determined yet.

This is still under active investigation.

This is still under active investigation.

This is still occurring on OCP 4.6 (Kubernetes 1.19), but on OCP 4.7 (Kubernetes 1.20), we are not able to reproduce this issue because of a new issue https://github.com/microsoft/Windows-Containers/issues/103


Cannot create default machine

Windows 8.1 Professional
When i'm trying to launch Docker Quickstart Terminal, it reports an error:
dial tcp <IP_ADDRESS>:59903: connectex: No connection could be made because the tar
get machine actively refused it.
Looks like something went wrong in step ?Checking if machine default exists?...
Press any key to continue...

docker-machine ls gives me an empty list:
docker-machine ls
NAME   ACTIVE   DRIVER   STATE   URL   SWARM   DOCKER   ERRORS

The error occurs when docker-machine tries to create new VM:
docker-machine -D create --driver virtualbox default
Docker Machine Version:  0.7.0, build a650a40
Found binary path at C:\Program Files\Docker Toolbox\docker-machine.exe
Launching plugin server for driver virtualbox
Plugin server listening at address <IP_ADDRESS>:60023
dial tcp <IP_ADDRESS>:60023: connectex: No connection could be made because the target machine actively refused it.

I was found similar issue - https://github.com/docker/machine/issues/2559, but exporting some evironment variables has no effect for me. I was exported NO_PROXY=<IP_ADDRESS> and VBOX_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\ (my VirtualBox install path)
The port changes everytime when i run create command.
While command is working (5-7 seconds) i was running netstat -a -b -n to see, which ports are in use, and port, listening by Plugin server is listed under [svchost.exe] process:
[svchost.exe]
......... some more lines
TCP    <IP_ADDRESS>:49519        <IP_ADDRESS>:109          TIME_WAIT
TCP    <IP_ADDRESS>:49520        <IP_ADDRESS>:109          TIME_WAIT
TCP    <IP_ADDRESS>:49521        <IP_ADDRESS>:109          TIME_WAIT
TCP    <IP_ADDRESS>:60023        <IP_ADDRESS>:0              LISTENING
And docker-machine.exe waits port+1 number
[docker-machine.exe]
TCP    <IP_ADDRESS>:60024        <IP_ADDRESS>:109          TIME_WAIT
TCP    <IP_ADDRESS>:139       <IP_ADDRESS>:0              LISTENING
All antivirus software is removed. Default Windows firewall was disabled. The only one thing, that i cannot replace, is staffcop software, beacuse it's unable to remove .. This software is used to trace employee activity in our organization and may use several ports to send reports to the admin's machine.
docker --version
Docker version 1.11.2, build b9f10c9

docker-machine --version
docker-machine version 0.7.0, build a650a40

https://github.com/docker/machine/issues/1569


golang plugin unstable performance

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
go-sdk 0.8.0
Current Behavior
When I use golang to program kong plugin, the time spent getting request headers is not evenly distributed, sometimes it takes 10~50 μs, sometimes it takes 40 ~ 100 ms
Expected Behavior
Time consuming should always be at the μs level
Steps To Reproduce
kong.Request.GetHeader("XXX")
kong.Request.GetPath()
Anything else?
none

you had better use lua to implement your plugin as much as possible.

@zyc0868 Go plugins are handled by a secondary process that will always be slower than plugins written in Lua, which are executed inside of the Kong worker process.  Still, simple interactions should not take as long as the 40-100 ms that you report.  Can you provide us with a way to reproduce your issue in a standalone fashion?

Closing this due to lack of activity. Please re-open if needed.


Escape values in Postgres connect URL

Make sure username, password and database name are escaped in the Postgres connect URL.

Hi, thanks for the PR, LGTM :partying_face:


[Feature] Clarify error when file(s) contain duplicate macros

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
Reported from a user in Community Slack.
These two listed files contain duplicate macros, but confuse users because we list the file names, not the macros. Not only that, but in my repro I discovered that we always say "two" instead of how many duplicates actually exist and only report the first two files that conflict. That last bit may not be fixable given that we error out when it happens, but I propose that ideally we should say something like:
dbt found [n] macros named "cents_to_dollars" in the project "jaffle shop".
To fix this error, rename or remove duplicates, they can be found in these files:
  - macros/hi_doug.sql
  - macros/hi_jer.sql
  - macros/cents_to_dollars.sql

My repro error from straight Core:

User from Slack's error (looks like dbt Power User):

Expected Behavior
I would expect dbt to give me a clearer error re which files contain all the duplicate macros
Steps To Reproduce

In dbt Core
Create two or three macros in different files with the same name
Run a dbt compile

Relevant log output
dbt found two macros named "some_custom macro_with_sql" in the project "uft_dbt". To fix this error, rename or remove one of the following macros: - macros get_incremental_merge_insert_sq.sql - macros get _incremental_merge_update_sql.sql

Environment
- OS: MacOS 14
- Python: 3.11.8
- dbt: 1.8.0-b3

Which database adapter are you using with dbt?
snowflake
Additional Context
No response

Thanks for raising this @gwenwindflower !
TLDR
We could definitely take a look at rephrasing this error message so that it is easier to understand and take action upon. The relevant code is here and here.
We've been reserving the bug label for when dbt is behaving in an obviously incorrect way and then using enhancement when dbt has room to improve somehow (like a more helpful error message). So I'm going to re-label this as a help wanted enhancement / feature request.
Proposed error message
What do you think about one of these variants as the new error message?
When the macro definitions are in different files:
dbt found multiple macros named "cents_to_dollars" in the project "jaffle shop".
To fix this error, rename or remove duplicates. They can be found in these files:
  - macros/hi_doug.sql
  - macros/hi_jer.sql

When the macro definitions are in the same file:
dbt found multiple macros named "cents_to_dollars" in the project "jaffle shop".
To fix this error, rename or remove duplicates. They can be found in this file:
  - macros/cents_to_dollars.sql

Note: It looks to me like dbt will immediately stop and raise an error message upon the first duplicate (rather than collecting all of them first). That's why I replaced "[n] macros" with "multiple macros" for practical purposes.

thank you @dbeatty10 yea i couldn't decided between bug and enhancement — good to know for the future! i can take a crack at this i love a great error message!


[Snyk] Upgrade vscode-languageserver-textdocument from 1.0.8 to 1.0.10

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade vscode-languageserver-textdocument from 1.0.8 to 1.0.10.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 2 versions ahead of your current version.
The recommended version was released 8 months ago, on 2023-04-19.

Release notes

Package name: vscode-languageserver-textdocument

1.0.10 - 2023-04-19

1.0.9 - 2023-01-16

1.0.8 - 2022-12-09

    from vscode-languageserver-textdocument GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Merge in #417


Project structure

This is an amazing project that solves many of my problems and I want to help  get it to the next level. Unfortunately, for a new comer that is not familiar with the project, the repository looks a little scary  and it's kind of hard to get the status of the project and where it's currently going.
The following proposition is based on my personal experience and style of working and I do not claim it's perfect or anything like that- I just want to throw it out here.
Modules
One of the problems this app has solved for me is the encryption/decryption of files and I think this  alone would be valuable as a stand-alone library.  Because this functionality is mixed in the code of the actual app it makes it really hard for new contributors to figure out the flow of the app. This could discourage some of us and also make it really hard  to maintain/extend the app.
I propose to use a modular approach when it comes to Secrecy, and here is the structure I would use.
Secrecy
- app
- libraries
- modules
app will contain only code related to the actual app (like activities and fragments)
com.doplgangr.secrecy

activities
fragments
adapters
services
utils

libraries will contain 3rd party libraries that are not available on Maven or JCenter
modules will contain specific libraries used by the app that can be focused around an area of functionality. This decoupling serves to ease development and maintenance.
One example of a module could be cryptography . This module would contain all the code related to encrypting and decrypting  files. Ideally, every module developed should expose an API that is easy to use and understand and hide all the complicated stuff.

Written with StackEdit.

I joined the project last fall and I didn't find it too unintuitive, but I also needed a couple of weeks to fully understand everything. (But that applies to almost every software project). There are some workarounds in the app which might have be introduced due to the usage of android annotations, which has just been coded out. I have focused the last couple of month on improving the current code, without refactoring too much. One reason was android annotations, which might have been handy when @Doplgangr started coding, but now it was pretty annoying. Since we have this out of the code, we can start refactoring stuff.
In general, a modularized approach is a good thing, but I currently don't see much parts that should be a module. Especially not the cryptography part, because that is the core functionality of Secrecy. It's purpose is to encrypt and decrypt files. I also don't think that we should make a library from the cryptography part, because there are many many crypto libraries out there and I don't think that we could generalize our crypto part into a library (or are doing anything better that somebody else).
But there are several possible features which could be realized as a module. Someone asked if we could add a text editor (for taking notes) into the app. That would make a perfect module. Also the gallery function and update manager might be excluded as a module.
"Ideally, every module developed should expose an API that is easy to use and understand and hide all the complicated stuff." You wouldn't need a module for that. Java packages are doing pretty much the same. e.g. the encryption package exposes the Crypter interface with only 6 methods that are relevant for the outside.
In general I would suggest to get rid of the currently most annoying bugs and improve some concepts and then concentrate on a complete refactorization of the app. If you want to realize a modules, you have to have some pretty solid APIs for that. Creating these APIs while fixing general deficiency might be a little to much at the same time.
Nevertheless, we would like to see concrete proposals for a redesign.

Sure, I could create something more concrete to help you understand what I imagined. I would have liked to include the PRs that  have bug fixes because what I'm proposing is a huge  refactoring.

A refactoring would be most welcome, since my project started with quite a mess with things fixed here and there, and as a nice Open Source project we should most probably follow conventions.

Closed by #120


binary search

it will solve the problem

@azorahai-01 This Repo is for cybersecurity and Ethical hacking Related stuff, not for DSA!!


feat: forkchoice to track head vote by proto index

Motivation

In computeDeltas we have to get index from root twice for each vote so @dapplion suggested we can store vote by proto index instead

Description

Tracking votes by proto index helps computeDeltas() 2x-3x faster as tested in my local environment
It takes a little more time when prune but it happens per epoch while computeDeltas() happens twice per slot
With this change it takes 1 extra index lookup per vote per epoch in addLatestMessage(), while the old way takes 2x2x32 = 128 lookups per vote per epoch in computeDeltas (2 lookups for 2 roots, computeDeltas() is called 2 per slot ) and it happens at once so it's worth the change

Closes #5852
TODOs

[ ] Test this change in a group

The benchmark looks great, also the result in a mainnet node

it really helps "time till block become head" metric

:tada: This PR is included in v1.11.0 :tada:


Feat: Discord Bot

Requirements

A welcome message for new members
A GO Stadium-style message where developers can specify whether they are backend or frontend
A Github channel that makes messages for new PRs and new issues

Notes

For now we can manually give people the developer/designer role
The react-for-role message should be on a developer -> #roles channel

Discord bot live at: https://github.com/theking465/thwackey-bot

Discord bot live at: https://github.com/theking465/thwackey-bot

Hooray, first issue to close!

Hooray, first issue to close!


Display BigQuery error stream when a load fails during dbt seed.

Creates and raises a new exception, augmenting the errors attribute of the exception with the detailed error stream from the job object. This errors attribute is unpacked downstream by the handle_error method.
I tested this out with a toy CSV file, adding a leading comma in the header row to induce a BigQuery load API error.
Before this change, the error is displayed as follows:
Database Error in seed test (data/test.csv)
  Error while reading data, error message: CSV table encountered too many errors, giving up. Rows: 1; errors: 1. Please look into the error stream for more details.

After this change, the full error details are included:
Database Error in seed test (data/test.csv)
  Error while reading data, error message: CSV table encountered too many errors, giving up. Rows: 1; errors: 1. Please look into the error stream for more details.
  Error while reading data, error message: CSV table references column position 2, but line starting at position:11 contains only 2 columns.

Fixes #1076

@joshtemple nice! I just tried to kick off tests for this PR, but I think GitHub is still working it's way through webhooks. This provisionally looks good to me :)
fixes #1076

Made the change. Only slight difference now is that the error message displays RuntimeError twice (see below) due to the way exception_handler works, but I see this happening other places in the code anyway.
Runtime Error in seed test (data/test.csv)
  Runtime Error
    Error while reading data, error message: CSV table encountered too many errors, giving up. Rows: 1; errors: 1. Please look into the error stream for more details.
    Error while reading data, error message: CSV table references column position 2, but line starting at position:11 contains only 2 columns.

woop woop! Nice work @joshtemple :) I'm going to let the tests run, and then will merge this in. This will go out in out 0.12.0 release!


Revert "Improved fonts."

Reverts IronSummitMedia/startbootstrap-clean-blog-jekyll#32

I tested it out and I like the heavier look a bit better. Thanks though, feel free to use it for your own personal projects!


linux: remove unused kernel patch

Signed-off-by: Nobuhiro MIKI<EMAIL_ADDRESS>

Coverage remained the same at 58.161% when pulling 5ff50c44eb7ccdffe9bc4a14f6c16390b17b15e1 on remove_unused_kernel_patch into 3abfc5367f00a50c8bf64f91c52a4d1abdc2ea8a on main.


chore: Correct command in changelog

1. Why is this change necessary?
There is no composer command build:storefront only build:js:storefront, and therefore while reading the UPGRADE notes I was quite confused, if the JS files need to be built differently for production, than for development (where I usually used the build:js:storefront).
Additionally note that in production setups usually you do not have the composer.json from the platform repository, but the script bin/build-storefront.sh. Not sure if that should also be included.
2. What does this change do, exactly?
Change the UPGRADE nodes and changelog to only mention the existing command.
3. Describe each step to reproduce the issue or behaviour.
Read the UPGRADE notes.
4. Please link to the relevant issues (if any).
-
5. Checklist

[x] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[ ] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfill them.

Hi @aragon999, thanks for the hint. There is indeed no command build:storefront and it looks like a typo. We will import your change to fix it. 👍

@aragon999 your changes were merged to trunk: https://github.com/shopware/shopware/commit/57e9a6ee7707e1855cd062518349c7d4873b5992
Thank you for your contribution. 👍


why use backlog???

Hi
I was wondering the otherday why we use the 'backlog' command in the tasmota update?
we could simplify the setup and use

update:
smartthings/cmnd/iFan03/STATUS:
command:
'refresh': '0'

this lets the device flood the MQTT queue with extra info but we still decode it fine.
it then becomes easy to pull extra info if we so desire.
just a thought.

This was a lot of optimization I had to do. If u do status 0 - tasmota sends 11 separate MQTT commands which mean 11 separate commands to the app and from the app to the device. Every time the app calls the device in the device activity log an activity event is published - app sent command processmqtt to device
There is no way I can hide that from the interface - and it is plain ugly. That is why except for LWT I do not subscribe to any auto updates from tasmota - I have to manually click refresh - otherwise your activity log will be filled with useless app called device messages and the really useful action Command like on or off will be sporadically somewhere in this middle - so if u really didn’t care about status updates every 5 minutes but just wanted to review device events very convenient - so I made a compromise Of 4 calls for a manual refresh so there is still some sanity - would have love to auto update status more frequently but ST suck in this

Point taken!
though what you did just make me thing was if you had the MSB server at the time it has all the resubscribes, it then does a send of all the update commands.   That would issue the command for any device which has an update commant in the Devices.yml.  Then in ST, these commands are automatically processed.  That could give you your refesh.
Maybe not on that frequence by on the resubscribe at midnight.

i was thinking about what you said and I think I am a little confusted...
yes Mosquitto gets 11 messages returned and yes the bridge sees the messages, BUT you are only subscribed to the messages you want so the bridge ignores anything else.  The redundant ones, wont be processes and shouldnt appear in the activity log.
BUT maybe it depends on the system you have for the bridge...    I thought you meant do status 0 and lot all messages come all the way through.
Any way I needed to pull name and friendly name - they come with status.
status 0 gets status 1-11 but not status.
you would need to run two commands any way. Not worried about horsepower but more about minimizing load on the devices as at least before when i was having issues with the firmware this flood of messages was causing device to reboot - so definitely load avg on device increase.
but for now i would need Status and status 0 - and just chose to be more specific.
by default tasmota tele/stat command every 5 minutes and LWT to at some predefined interval

Just FYI - making small upgrades to the Smartapp - mostly new additional incremental functionality as needed. Have not posted these to github yet as testing for a few days in my environment
2 that might be of interest

In actionOnOff add conditions for togger so for switch you could send on/off/toggle
In version 1.0 if server sent duplicate mqtt message i ignore - but special situation where you might need constant polling or status update - so for capability map if you define "duplicate" as key it will allow duplicate messages from the server only for now - still forcing ignore of all duplicate events for ST - can't think of a use case for that right now.


Bugfix: Asset handling GitHub pages (via Angular environment)

Since GitHub Pages URLs have the form https://<username>.github.io/<reponame>, it's not possible to link static assets against the root directory, e.g., by using a path /assets/foobar. Instead a base path prefix is needed, in this case /OsmGo.
This PR introduces an Angular environment variable urlBasePath which can be set and needs to be respected in all components or services that refer to static assets. Also the service worker configuration has been forked and the /OsmGo prefix has been added to relevant routes. A build target npm run build:ghpages has been added and will be used in the GitHub Actions workflow that deploys the code to GitHub Pages. A postprocess script will take care of adjust the webmanifest file.
This PR is part of #140.

There is an easier way to do this.
I think this PR can be replaced by #143
This avoids post-process or the creation of new similar files that will have to remain synchronized (ex : ngsw-config.json)

Rejected in favor of #143.


reduce usage of fatalError

motivation: less crashes
changes:

make InternalError assert on construction
replace fatalError with InternalError where possible
adjust downstream code to newly throwing functions

@swift-ci please smoke test

@swift-ci please smoke test

Looks like SourceKit-LSP will need a corresponding update because it uses some of the APIs that have now become throwing.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test


Fix 5381 feature improve unprocessableentityerror due to mis aligned id UUID

Description

Closes #5381
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested

Checklist

I added relevant documentation
I followed the style guidelines of this project
I did a self-review of my code
I made corresponding changes to the documentation
I confirm My changes generate no new warnings
I have added tests that prove my fix is effective or that my feature works
I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

related for a follow-up https://github.com/argilla-io/argilla/issues/5397

How does this behave when datasets are exported and imported via to_disk and from_disk?

@burtenshaw, in the same way. The records get initialized in the records.from_json as Record and then validated during the records.log

How does this behave when datasets are exported and imported via to_disk and from_disk?

@burtenshaw, in the same way. The records get initialized in the records.from_json as Record and then validated during the records.log


develop branch requiring numba 0.58.1 but not mentioning it

Which version are you running? The lastest version is on Github. Pip is for major releases.
import pandas_ta as ta
print(ta.version)

develop branch
Do you have TA Lib also installed in your environment?
$ pip list

yes
Have you tried the development version? Did it resolve the issue?
$ pip install -U git+https://github.com/twopirllc/pandas-ta.git@development

no
Describe the bug
A clear and concise description of what the bug is.
on colab, using pandas-ta development branch requires numba 0.58.1 which is not specified in it
To Reproduce
Provide sample code.
just
pip install -U git+https://github.com/twopirllc/pandas-ta.git@development
import pandas_ta as ta
in colab
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py](https://localhost:8080/#) in _dep_map(self)
   3107         try:
-> 3108             return self.__dep_map
   3109         except AttributeError:

15 frames
[/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py](https://localhost:8080/#) in __getattr__(self, attr)
   2900         if attr.startswith('_'):
-> 2901             raise AttributeError(attr)
   2902         return getattr(self._provider, attr)

AttributeError: _DistInfoDistribution__dep_map

During handling of the above exception, another exception occurred:

AttributeError                            Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py](https://localhost:8080/#) in _parsed_pkg_info(self)
   3098         try:
-> 3099             return self._pkg_info
   3100         except AttributeError:

[/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py](https://localhost:8080/#) in __getattr__(self, attr)
   2900         if attr.startswith('_'):
-> 2901             raise AttributeError(attr)
   2902         return getattr(self._provider, attr)

AttributeError: _pkg_info

During handling of the above exception, another exception occurred:

FileNotFoundError                         Traceback (most recent call last)
[<ipython-input-9-b2e99fdd1c19>](https://localhost:8080/#) in <cell line: 1>()
----> 1 import pandas_ta as ta

[/usr/local/lib/python3.10/dist-packages/pandas_ta/__init__.py](https://localhost:8080/#) in <module>
      5
      6 # Dictionaries and version
----> 7 from pandas_ta.maps import EXCHANGE_TZ, RATE, Category, Imports, version
      8 from pandas_ta.utils import *
      9 from pandas_ta.utils import __all__ as utils_all

[/usr/local/lib/python3.10/dist-packages/pandas_ta/maps.py](https://localhost:8080/#) in <module>
      7
      8
----> 9 _dist = get_distribution("pandas_ta")
     10 try:
     11     # Normalize case for Windows systems

[/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py](https://localhost:8080/#) in get_distribution(dist)
    524         dist = Requirement.parse(dist)
    525     if isinstance(dist, Requirement):
--> 526         dist = get_provider(dist)
    527     if not isinstance(dist, Distribution):
    528         raise TypeError("Expected string, Requirement, or Distribution", dist)

[/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py](https://localhost:8080/#) in get_provider(moduleOrReq)
    396     """Return an IResourceProvider for the named module or requirement"""
    397     if isinstance(moduleOrReq, Requirement):
--> 398         return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
    399     try:
    400         module = sys.modules[moduleOrReq]

[/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py](https://localhost:8080/#) in require(self, *requirements)
    964         included, even if they were already activated in this working set.
    965         """
--> 966         needed = self.resolve(parse_requirements(requirements))
    967
    968         for dist in needed:

[/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py](https://localhost:8080/#) in resolve(self, requirements, env, installer, replace_conflicting, extras)
    830
    831             # push the new requirements onto the stack
--> 832             new_requirements = dist.requires(req.extras)[::-1]
    833             requirements.extend(new_requirements)
    834

[/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py](https://localhost:8080/#) in requires(self, extras)
   2819     def requires(self, extras=()):
   2820         """List of Requirements needed for this distro if `extras` are used"""
-> 2821         dm = self._dep_map
   2822         deps = []
   2823         deps.extend(dm.get(None, ()))

[/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py](https://localhost:8080/#) in _dep_map(self)
   3108             return self.__dep_map
   3109         except AttributeError:
-> 3110             self.__dep_map = self._compute_dependencies()
   3111             return self.__dep_map
   3112

[/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py](https://localhost:8080/#) in _compute_dependencies(self)
   3117         reqs = []
   3118         # Including any condition expressions
-> 3119         for req in self._parsed_pkg_info.get_all('Requires-Dist') or []:
   3120             reqs.extend(parse_requirements(req))
   3121

[/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py](https://localhost:8080/#) in _parsed_pkg_info(self)
   3099             return self._pkg_info
   3100         except AttributeError:
-> 3101             metadata = self.get_metadata(self.PKG_INFO)
   3102             self._pkg_info = email.parser.Parser().parsestr(metadata)
   3103             return self._pkg_info

[/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py](https://localhost:8080/#) in get_metadata(self, name)
   1515             return ""
   1516         path = self._get_metadata_path(name)
-> 1517         value = self._get(path)
   1518         try:
   1519             return value.decode('utf-8')

[/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py](https://localhost:8080/#) in _get(self, path)
   1724
   1725     def _get(self, path):
-> 1726         with open(path, 'rb') as stream:
   1727             return stream.read()
   1728

FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.10/dist-packages/numba-0.58.1.dist-info/METADATA'

Additional context
Add any other context about the problem here.
Thanks for using Pandas TA!

Hello @xerxes-k
That is weird. I am curious why it wants version 0.58.1? 🤔
The development version lists numba minimum 0.57.0 in development/requirements.txt as well as listed in install_requires in development/setup.py.
Kind Regards
KJ


branchout clone results in phantom unknown revision or path not in the working tree error`

 ~/projects/org   master  branchout clone group-itemname-subname
Cloning group-itemname-subname
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git  [...] -- [...]'
 ~/projects/org   master  ls -l
total 16
-rw-r--r--  1 blahblah  staff   66 22 May 12:46 Branchoutfile
-rw-r--r--  1 blahblah  staff  110 22 May 13:07 Branchoutprojects
drwxr-xr-x  3 blahblah  staff   96 22 May 13:07 group-itemname-subname

@jonathanptew in this case the repository is bare, the error could be better I guess, make say that the repository is bare


UPDATE_ROW fails when there are date (and time?) columns in the unique key.

When present in the WHERE clause of the UPDATE statement, date and time values need to be cast to alpha using ^A, similar to the way they are in the bindings for INSERT statements. When this fails the resulting SQL Server error is SQL 206 (date is incompatible with int).

Fixed by Kish.


Change the title of https://obds-training.github.io/Help/docs/linux/essentials/commands/

Change the tile to anything other than "Built-in Bash Commands". Many of these are not bash built-ins.

Not stale

Fixed by #163