How to use with a service like Heroku?

Hey there, I'd like to use OKLog, but I'm struggling figuring out a good way to run it with my heroku app. The "best" thing I've come up with is:
Copy cmd/oklog into my app's directory and let heroku compile it and make it available (heroku automatically compiles and makes things in cmd/ available to run). I could then pipe my app into oklog in my Procfile.
The only downside to this is it seems that my STDOUT will be swallowed by oklog and I'll lose heroku logs.
Is there a better way?

It seems that you might be better of with utilising there log infrastructure and specifically Log Drains which can be configured to ship your application logs to external services.
Out of curiosity what are your requirements to get your logs out of a PaaS like Heroku into a system like OK Log?

what are your requirements to get your logs out of a PaaS like Heroku into a system like OK Log?

I currently use Papertrail for logs but I already have a hosted server that I use for prometheus metrics and I'd like to get everything self hosted and stop paying for Papertrail.

you might be better of with utilising there log infrastructure and specifically Log Drains

I did read about these, but oklog doesn't do syslog or http POST like it wants, right? So I'd have to run a new server that did the drain conversion to oklog forward ?

@zombor you can probably make use of tee and some shell magic to have output go to both oklog and still make it to stdout/stderr for heroku logs

Ah yep! A Procfile like
web: api | tee >(oklog forward $OKLOG_HOST)

Seems to do the trick nicely. With this method I'm still including the cmd/oklog source files in my project, but I suppose that shouldn't be a big problem since my app is a go app. I'm not sure how I'd do this if it was ruby or something else.

You might want to do something like api 2>&1 | tee ... so you get both stdout and stderr going through tee.

Yeah, good idea. Any thoughts about how to run this in non-go apps? Do I just need to commit the binary into my ruby repo?

Yeah, or perhaps make an oklog buildpack which downloads it from somewhere it build time.

I believe OK Log supports syslog, in the sense that if you connect to OK Log as if it were a syslog server, it will dutifully accept and persist the writes — in that weird syslog format :) Worth verifying, though.

I ended up making this heroku buildpack: https://github.com/zombor/heroku-oklog-buildpack
Works great!


'vcpkg upgrade ffmpeg' command  always fails asking for vcpkg.json.

Describe the bug
A clear and concise description of what the bug is.
'vcpkg upgrade ffmpeg' command always fails asking for vcpkg.json. Prior to this i had tried to update the entire vcpkg but some downloads failed as the internet connection was lost.
Environment

OS: [e.g. Windows/Linux etc...]: Windows 11
Compiler: revision: NA

To Reproduce
Steps to reproduce the behavior:

Run: 'vcpkg install ffmpeg'
It gives the following error:
D:\vcpkg>vcpkg upgrade ffmpeg
error: Could not locate a manifest (vcpkg.json) above the current working directory.
This vcpkg distribution does not have a classic mode instance.

Expected behavior
'vcpkg upgrade ffmpeg' should not complain about vcpkg.json as I want to use classic mode.
Failure logs
D:\vcpkg>vcpkg upgrade ffmpeg
error: Could not locate a manifest (vcpkg.json) above the current working directory.
This vcpkg distribution does not have a classic mode instance.
Additional context
N.A.

have you tried to refresh your local repo?
git pull
bootstrap-vcpkg.bat
vcpkg update
vcpkg upgrade

and try again?
I do not see the above issue..

As long as you type vcpkg, it will run the executable found in PATH. When this is the one from VS which "does not have a classic mode instance", it will not support upgade.
To run command from a directory which is a git checkout of the vcpkg repo, you can prepend .\:
.\bootstrap-vcpkg.bat
.\vcpkg upgrade

Use the user's suggestion above to update your vcpkg and try again. I didn't encounter this problem locally.

Thanks for the prompt responses. Since then I've tried several things and the issue has now changed.
One related thing i noticed, sometimes vcpkg starts to imagine that it is in manifest mode. Reopening the terminal seems to bring it to its senses.
Not sure whether this issue should be closed accordingly?
Anyway here are the latest 2 issues that I am facing:
Firstly vcpkg upgrade ffmpeg now says that the package is up to date. However vcpkg list shows me ffmpeg:x64-windows                                6.1.1#7 but if I look at D:\vcpkg\ports\ffmpeg\vcpkg.json it contains "version": "7.0.2".
Secondly the command vcpkg install ffmp,eg --editable does not build the changed code; instead it simply says that ffmpeg:x64-windows is already installed.
Appreciate any help you can provide to ensure I'm on the latest stable release of ffmpeg.

I"d suggest to
vcpkg remove ffmpeg
and then install again
and check it is using ver 7.0.2

We have tried this. But it remained at 6.something.
For the next few days or so, we have decided to temporarily not use vcpkg, while we try to hunt down a potential memory leak in ffmpeg. Hence there may be some delay in our response.

After some debugging, I found a memory leak probably in own code, and applied a workaround (or fix).
However I see a huge number of memory leaks in ffmpeg v6.1.1#7
The command vcpkg install ffmpeg --head --editable also fails.
I know that the master branch does not show these memory leaks, when I build and use the master branch without vcpkg.
Now I would ideally like to integrate and test with vcpkg v7.0.2 or using --head in classic mode.
Please help.

@sohrab-niche, Sorry, we do not maintain the historical version of the ffmpeg. The latest vcpkg version is 7.0.2.

@JonLiu1993 Thanks for clarification that the intended latest vcpkg version of ffmpeg is 7.0.2.
But none of the commands given by anyone in this issue, work for me. I remain stuck on the old version.
Please suggest: how can I debug in my local vcpkg folder, that why it is unable to upgrade to 7.0.2? Is there some vcpkg doctor kind of diagnostic utility available, that can detect any kind of corruption that may be present in my vcpkg folder?
I do not wish to reinstall the entire vcpkg folder again, because that would mean a lot of time and download bandwidth.

Please suggest: how can I debug in my local vcpkg folder, that why it is unable to upgrade to 7.0.2?

First delete the cache you downloaded previously with ffmpeg, then run the command ./vcpkg install ffmpeg --debug --editable, this will print out the detailed build process.

I do not wish to reinstall the entire vcpkg folder again, because that would mean a lot of time and download bandwidth.

You can manually update ffmpeg by copying the files in the ffmpeg folder to your ports/ffmpeg on the latest vcpkg and then try to install the port.

Please confirm the steps to delete the cache I downloaded previously with ffmpeg?
Is it just vcpkg remove ffmpeg, or I need to manually delete some additional files and folders as well?

./vcpkg remove ffmpeg
./vcpkg install angelscript[*] --binarysource=clear --debug --editable

Here's what I already used before I saw your latest message. Created file manuallyCleanFfmpeg.sh and ran it in my base folder d:vcpkg:
find . -name '*ffmpeg*' | while read -r file; do
  if [ "$(basename "$file")" = "manuallyCleanFfmpeg.sh" ]; then
    echo "Skipping $file"
    continue
  fi

  if ! git ls-files --error-unmatch "$file" > /dev/null 2>&1; then
    if [ -d "$file" ]; then
      rm -r "$file" && echo "Deleted directory: $file"
    else
      rm "$file" && echo "Deleted file: $file"
    fi
  else
    echo "$file is under version control"
  fi
done

Then from windows command prompt (cmd.exe) I ran ():
D:\vcpkg>vcpkg install ffmpeg --debug --editable

..but here is the partial log while its still building:
D:\vcpkg>vcpkg install ffmpeg --debug --editable
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Disabling metrics because vcpkg.disable-metrics exists
[DEBUG] Trying to load bundleconfig from D:\vcpkg\vcpkg-bundle.json
[DEBUG] Failed to open: D:\vcpkg\vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Feature flag 'dependencygraph' unset
[DEBUG] Using scripts-root: D:\vcpkg\scripts
[DEBUG] Using builtin-ports: D:\vcpkg\ports
[DEBUG] Using installed-root: D:\vcpkg\installed
[DEBUG] Using buildtrees-root: D:\vcpkg\buildtrees
[DEBUG] Using packages-root: D:\vcpkg\packages
[DEBUG] Using vcpkg-root: D:\vcpkg
[DEBUG] Using builtin-registry: D:\vcpkg\versions
[DEBUG] Using downloads-root: D:\vcpkg\downloads
[DEBUG] External asset downloads are allowed (x-block-origin is disabled)...
[DEBUG] Asset cache is not configured.
[DEBUG] Detecting host with IsWow64Process2
[DEBUG] Detecting host with IsWow64Process2
Computing installation plan...
[DEBUG] Found path: D:\programs\git\bin\git.exe
[DEBUG] Found path: d:\Programs\Git\cmd\git.exe
[DEBUG] Found path: d:\Programs\Git\mingw64\bin\git.exe
[DEBUG] 1000: CreateProcessW("D:\programs\git\bin\git.exe" --version)
[DEBUG] 1000: cmd_execute_and_stream_data() returned 0 after    34153 us
[DEBUG] 1001: CreateProcessW("D:\programs\git\bin\git.exe" "--git-dir=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git\.git" "--work-tree=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git" -c core.autocrlf=false show 6f1ddd6b6878e7e66fcc35c65ba1d8feec2e01f8:versions/baseline.json)
[DEBUG] 1001: cmd_execute_and_stream_data() returned 0 after    45367 us
[DEBUG] 1002: CreateProcessW("D:\programs\git\bin\git.exe" "--git-dir=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git\.git" "--work-tree=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git" -c core.autocrlf=false rev-parse 0f88ecb8528605f91980b90a2c5bad88e3cb565f:versions)
[DEBUG] 1002: cmd_execute_and_stream_data() returned 128 after    33623 us
Fetching registry information from https://github.com/microsoft/vcpkg (HEAD)...
[DEBUG] 1003: CreateProcessW("D:\programs\git\bin\git.exe" "--git-dir=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git\.git" "--work-tree=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git" -c core.autocrlf=false init)
[DEBUG] 1003: cmd_execute_and_stream_data() returned 0 after    38743 us
[DEBUG] 1004: CreateProcessW("D:\programs\git\bin\git.exe" "--git-dir=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git\.git" "--work-tree=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git" -c core.autocrlf=false fetch --update-shallow -- https://github.com/microsoft/vcpkg HEAD)
[DEBUG] 1004: cmd_execute_and_stream_data() returned 0 after 58148346 us
[DEBUG] 1005: CreateProcessW("D:\programs\git\bin\git.exe" "--git-dir=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git\.git" "--work-tree=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git" -c core.autocrlf=false rev-parse FETCH_HEAD)
[DEBUG] 1005: cmd_execute_and_stream_data() returned 0 after    37924 us
[DEBUG] 1006: CreateProcessW("D:\programs\git\bin\git.exe" "--git-dir=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git\.git" "--work-tree=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git" -c core.autocrlf=false rev-parse 0f88ecb8528605f91980b90a2c5bad88e3cb565f:versions)
[DEBUG] 1006: cmd_execute_and_stream_data() returned 0 after    35407 us
[DEBUG] 1007: CreateProcessW("D:\programs\git\bin\git.exe" "--git-dir=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git\.git" "--work-tree=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git-trees\6495b1018c4b288d9a1c5bf8dae6741d9bb2e50d_18232.tmp" -c core.autocrlf=false read-tree -m -u 6495b1018c4b288d9a1c5bf8dae6741d9bb2e50d)
[DEBUG] 1007: cmd_execute_and_stream_data() returned 0 after  1005736 us
[DEBUG] Loading dep info for: vcpkg-pkgconfig-get-modules:x64-windows
[DEBUG] Found path: D:\programs\mingw64\bin\cmake.exe
[DEBUG] Found path: C:\Strawberry\c\bin\cmake.exe
[DEBUG] 1008: CreateProcessW("D:\programs\mingw64\bin\cmake.exe" --version)
[DEBUG] 1008: cmd_execute_and_stream_data() returned 0 after  3281335 us
[DEBUG] 1009: CreateProcessW("C:\Strawberry\c\bin\cmake.exe" --version)
[DEBUG] 1009: cmd_execute_and_stream_data() returned 0 after   660484 us
[DEBUG] 1010: CreateProcessW("C:\Strawberry\c\bin\cmake.exe" -DVCPKG_ROOT_DIR=D:/vcpkg -DPACKAGES_DIR=D:/vcpkg/packages -DBUILDTREES_DIR=D:/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed -DDOWNLOADS=D:/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "D:\vcpkg\buildtrees\0.vcpkg_dep_info.cmake")
[DEBUG] 1010: cmd_execute_and_stream_data() returned 0 after    35229 us
[DEBUG] 1011: CreateProcessW("C:\Strawberry\c\bin\cmake.exe" -DVCPKG_ROOT_DIR=D:/vcpkg -DPACKAGES_DIR=D:/vcpkg/packages -DBUILDTREES_DIR=D:/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed -DDOWNLOADS=D:/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "D:\vcpkg\buildtrees\0.vcpkg_tags.cmake")
[DEBUG] 1011: cmd_execute_and_stream_data() returned 0 after    44084 us
The following packages will be built and installed:
<EMAIL_ADDRESS>-- C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git-trees\43a794215eb84acb9f6e49f2aee3a3ee1ac1af92

As you can see its still stuck on 6.1.1 for me!
Do I need to manually clean anything in C:\Users\SOHRAB\AppData\Local\vcpkg? If yes, then please suggest that what I should clean...

from your detailed logs it is visible that you have at least 2 different cmake.exe binaries (external ones)
I also tried in the past to use external cmake binaries, but I hit very strange errors, so I made a decition to use the only one packaged by vcpkg itself - cmake-3.29.2-windows
also, what do yo have in the file over here
.\vcpkg\ports\ffmpeg\vcpkg.json

I've disabled the cmake binaries from the locations that I have.
I am trying to install cmake via vcpkg, but I get the following error:
D:\vcpkg>vcpkg install cmake
Computing installation plan...
error: while looking for cmake:x64-windows:
error: the baseline does not contain an entry for port cmake

Also for the vcpkg.json question:
D:\vcpkg>git ls-files --error-unmatch ports\ffmpeg\vcpkg.json
ports/ffmpeg/vcpkg.json

D:\vcpkg>git status
On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        manuallyCleanFfmpeg.sh

D:\vcpkg>cat ports\ffmpeg\vcpkg.json
{
  "name": "ffmpeg",
  "version": "7.0.2",
  "port-version": 3,
  "description": [
    "a library to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created.",
    "FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. It is also highly portable: FFmpeg compiles, runs, and passes our testing infrastructure FATE across Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc. under a wide variety of build environments, machine architectures, and configurations."
  ],
  "homepage": "https://ffmpeg.org",
  "license": null,
  "dependencies": [
    {
      "name": "vcpkg-cmake-get-vars",
      "host": true
    },
    {
      "name": "vcpkg-pkgconfig-get-modules",
      "host": true
    }
  ],
  "default-features": [
    "avcodec",
    "avdevice",
    "avfilter",
    "avformat",
    "swresample",
    "swscale"
  ],
  "features": {
    "all": {
      "description": "Build with all allowed dependencies selected that are compatible with the lgpl license",
      "dependencies": [
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "sdl2"
          ]
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "aom",
            "avcodec",
            "avdevice",
            "avfilter",
            "avformat",
            "bzip2",
            "freetype",
            "iconv",
            "lzma",
            "mp3lame",
            "openjpeg",
            "openmpt",
            "opus",
            "snappy",
            "soxr",
            "speex",
            "swresample",
            "swscale",
            "theora",
            "vorbis",
            "vpx",
            "webp",
            "xml2",
            "zlib"
          ]
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "alsa"
          ],
          "platform": "linux"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "ass"
          ],
          "platform": "!uwp"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "fontconfig"
          ],
          "platform": "!uwp"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "fribidi"
          ],
          "platform": "!uwp"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "modplug"
          ],
          "platform": "!uwp"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "openh264"
          ],
          "platform": "!uwp"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "srt"
          ],
          "platform": "!uwp"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "ilbc"
          ],
          "platform": "!(arm & uwp)"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "ssh"
          ],
          "platform": "!(uwp | arm)"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "amf"
          ],
          "platform": "!osx & !uwp"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "opencl"
          ],
          "platform": "!uwp & !osx"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "opengl"
          ],
          "platform": "!uwp & !(arm64 & windows)"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "tensorflow"
          ],
          "platform": "x64 & !static & !uwp & !windows"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "dav1d"
          ],
          "platform": "!(uwp | (windows & x86 & !static))"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "tesseract"
          ],
          "platform": "!(windows & arm) & !static & !uwp"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "qsv"
          ],
          "platform": "linux | (!osx & !uwp & !(arm & windows))"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "nvcodec"
          ],
          "platform": "linux | (!osx & !uwp & !(arm64 & windows))"
        }
      ]
    },
    "all-gpl": {
      "description": "Build with all allowed dependencies selected that are compatible with the gpl license",
      "dependencies": [
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "all",
            "gpl",
            "postproc"
          ]
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "x264"
          ],
          "platform": "!(arm & windows)"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "x265"
          ],
          "platform": "!uwp & !(arm & windows)"
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "avisynthplus"
          ],
          "platform": "windows & !arm & !uwp & !static"
        }
      ]
    },
    "all-nonfree": {
      "description": "Build with all allowed dependencies selected with a non-redistributable license",
      "dependencies": [
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "all-gpl",
            "fdk-aac",
            "nonfree",
            "openssl"
          ]
        }
      ]
    },
    "alsa": {
      "description": "Enable ALSA support",
      "dependencies": [
        "alsa"
      ]
    },
    "amf": {
      "description": "AMD AMF codec support",
      "dependencies": [
        "amd-amf"
      ]
    },
    "aom": {
      "description": "AV1 video encoding/decoding via libaom support in ffmpeg",
      "dependencies": [
        "aom"
      ]
    },
    "ass": {
      "description": "Libass subtitles rendering, needed for subtitles and ass filter support in ffmpeg",
      "dependencies": [
        "libass"
      ]
    },
    "avcodec": {
      "description": "Build the avcodec library"
    },
    "avdevice": {
      "description": "Build the avdevice library",
      "dependencies": [
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "avcodec",
            "avformat"
          ]
        }
      ]
    },
    "avfilter": {
      "description": "Build the avfilter library"
    },
    "avformat": {
      "description": "Build the avformat library",
      "dependencies": [
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "avcodec"
          ]
        }
      ]
    },
    "avisynthplus": {
      "description": "Reading of AviSynth script files",
      "supports": "windows & !static",
      "dependencies": [
        "avisynthplus",
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "gpl"
          ]
        }
      ]
    },
    "avresample": {
      "description": "Build the avresample library"
    },
    "bzip2": {
      "description": "Bzip2 support",
      "dependencies": [
        "bzip2"
      ]
    },
    "dav1d": {
      "description": "AV1 decoding via libdav1d",
      "dependencies": [
        "dav1d"
      ]
    },
    "drawtext": {
      "description": "Enable the drawtext filter",
      "dependencies": [
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "freetype"
          ]
        },
        "harfbuzz"
      ]
    },
    "fdk-aac": {
      "description": "AAC de/encoding via libfdk-aac, **including GPL-incompatible patent-encumbered HE-AAC**. If you do not require HE-AAC, use the built-in FFmpeg AAC codec.",
      "dependencies": [
        {
          "name": "fdk-aac",
          "default-features": false,
          "features": [
            "he-aac"
          ]
        },
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "nonfree"
          ]
        }
      ]
    },
    "ffmpeg": {
      "description": "Build the ffmpeg application",
      "supports": "!uwp",
      "dependencies": [
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "avcodec",
            "avfilter",
            "avformat"
          ]
        }
      ]
    },
    "ffplay": {
      "description": "Build the ffplay application",
      "supports": "!uwp",
      "dependencies": [
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "avcodec",
            "avfilter",
            "avformat",
            "sdl2",
            "swresample",
            "swscale"
          ]
        }
      ]
    },
    "ffprobe": {
      "description": "Build the ffprobe application",
      "supports": "!uwp",
      "dependencies": [
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "avcodec",
            "avformat"
          ]
        }
      ]
    },
    "fontconfig": {
      "description": "Useful for drawtext filter",
      "dependencies": [
        "fontconfig"
      ]
    },
    "freetype": {
      "description": "Needed for drawtext filter",
      "dependencies": [
        "freetype"
      ]
    },
    "fribidi": {
      "description": "Improves drawtext filter",
      "dependencies": [
        "fribidi"
      ]
    },
    "gpl": {
      "description": "Allow use of GPL code, the resulting libs and binaries will be under GPL"
    },
    "iconv": {
      "description": "Iconv support",
      "dependencies": [
        "libiconv"
      ]
    },
    "ilbc": {
      "description": "iLBC de/encoding via libilbc",
      "dependencies": [
        "libilbc"
      ]
    },
    "lzma": {
      "description": "lzma support",
      "dependencies": [
        "liblzma"
      ]
    },
    "modplug": {
      "description": "ModPlug via libmodplug",
      "dependencies": [
        "libmodplug"
      ]
    },
    "mp3lame": {
      "description": "MP3 encoding via libmp3lame",
      "dependencies": [
        "mp3lame"
      ]
    },
    "nonfree": {
      "description": "Allow use of nonfree code, the resulting libs and binaries will be unredistributable"
    },
    "nvcodec": {
      "description": "Nvidia video decoding/encoding acceleration",
      "supports": "linux | (!osx & !uwp & !(arm64 & windows))",
      "dependencies": [
        "ffnvcodec"
      ]
    },
    "opencl": {
      "description": "OpenCL processing",
      "supports": "!uwp",
      "dependencies": [
        "opencl"
      ]
    },
    "opengl": {
      "description": "OpenGL rendering",
      "supports": "!uwp",
      "dependencies": [
        "opengl",
        "opengl-registry"
      ]
    },
    "openh264": {
      "description": "H.264 de/encoding via openh264",
      "dependencies": [
        "openh264"
      ]
    },
    "openjpeg": {
      "description": "JPEG 2000 de/encoding via OpenJPEG",
      "dependencies": [
        "openjpeg"
      ]
    },
    "openmpt": {
      "description": "Decoding tracked files via libopenmpt",
      "dependencies": [
        "libopenmpt"
      ]
    },
    "openssl": {
      "description": "Needed for https support if gnutls, libtls or mbedtls is not used",
      "dependencies": [
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "version3"
          ]
        },
        "openssl"
      ]
    },
    "opus": {
      "description": "Opus de/encoding via libopus",
      "dependencies": [
        "opus"
      ]
    },
    "postproc": {
      "description": "Build the postproc library",
      "dependencies": [
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "gpl"
          ]
        }
      ]
    },
    "qsv": {
      "description": "Intel QSV Codec",
      "dependencies": [
        "mfx-dispatch"
      ]
    },
    "sdl2": {
      "description": "Sdl2 support",
      "dependencies": [
        {
          "name": "sdl2",
          "default-features": false,
          "features": [
            "x11"
          ],
          "platform": "linux"
        },
        {
          "name": "sdl2",
          "platform": "!linux"
        }
      ]
    },
    "snappy": {
      "description": "Snappy compression, needed for hap encoding",
      "dependencies": [
        "snappy"
      ]
    },
    "soxr": {
      "description": "Include libsoxr resampling",
      "dependencies": [
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "swresample"
          ]
        },
        "soxr"
      ]
    },
    "speex": {
      "description": "Speex de/encoding via libspeex",
      "dependencies": [
        "speex"
      ]
    },
    "srt": {
      "description": "Haivision SRT protocol",
      "supports": "!uwp",
      "dependencies": [
        "libsrt"
      ]
    },
    "ssh": {
      "description": "SFTP protocol via libssh",
      "dependencies": [
        "libssh"
      ]
    },
    "swresample": {
      "description": "Build the swresample library"
    },
    "swscale": {
      "description": "Build the swscale library"
    },
    "tensorflow": {
      "description": "TensorFlow as a DNN module backend for DNN based filters like sr",
      "supports": "!static",
      "dependencies": [
        "tensorflow"
      ]
    },
    "tesseract": {
      "description": "Tesseract, needed for ocr filter",
      "supports": "!static",
      "dependencies": [
        "tesseract"
      ]
    },
    "theora": {
      "description": "Theora encoding via libtheora",
      "dependencies": [
        "libtheora"
      ]
    },
    "version3": {
      "description": "Upgrade (L)GPL to version 3"
    },
    "vorbis": {
      "description": "Vorbis en/decoding via libvorbis, native implementation exists",
      "dependencies": [
        "libvorbis"
      ]
    },
    "vpx": {
      "description": "VP8 and VP9 de/encoding via libvpx",
      "dependencies": [
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "avcodec"
          ]
        },
        "libvpx"
      ]
    },
    "webp": {
      "description": "WebP encoding via libwebp",
      "dependencies": [
        "libwebp"
      ]
    },
    "x264": {
      "description": "H.264 encoding via x264",
      "dependencies": [
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "gpl"
          ]
        },
        "x264"
      ]
    },
    "x265": {
      "description": "HEVC encoding via x265",
      "dependencies": [
        {
          "name": "ffmpeg",
          "default-features": false,
          "features": [
            "gpl"
          ]
        },
        "x265"
      ]
    },
    "xml2": {
      "description": "XML parsing using the C library libxml2, needed for dash demuxing support",
      "dependencies": [
        "libxml2"
      ]
    },
    "zlib": {
      "description": "zlib support",
      "dependencies": [
        "zlib"
      ]
    }
  }
}

D:\vcpkg>vcpkg install cmake

it is not a library, just when you install a real lib the cmake (if not found externally) will be installed automatically by vcpkg itself

your vcpkg.json  for ffmpeg is a latest one

Here is the latest output. I understand now that if vcpkg doesn't find cmake, it installs it internally for its own building processes:
D:\vcpkg>vcpkg install ffmpeg --debug --editable
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Disabling metrics because vcpkg.disable-metrics exists
[DEBUG] Trying to load bundleconfig from D:\vcpkg\vcpkg-bundle.json
[DEBUG] Failed to open: D:\vcpkg\vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Feature flag 'dependencygraph' unset
[DEBUG] Using scripts-root: D:\vcpkg\scripts
[DEBUG] Using builtin-ports: D:\vcpkg\ports
[DEBUG] Using installed-root: D:\vcpkg\installed
[DEBUG] Using buildtrees-root: D:\vcpkg\buildtrees
[DEBUG] Using packages-root: D:\vcpkg\packages
[DEBUG] Using vcpkg-root: D:\vcpkg
[DEBUG] Using builtin-registry: D:\vcpkg\versions
[DEBUG] Using downloads-root: D:\vcpkg\downloads
[DEBUG] External asset downloads are allowed (x-block-origin is disabled)...
[DEBUG] Asset cache is not configured.
[DEBUG] Detecting host with IsWow64Process2
[DEBUG] Detecting host with IsWow64Process2
Computing installation plan...
[DEBUG] Found path: D:\programs\git\bin\git.exe
[DEBUG] Found path: d:\Programs\Git\cmd\git.exe
[DEBUG] Found path: d:\Programs\Git\mingw64\bin\git.exe
[DEBUG] 1000: CreateProcessW("D:\programs\git\bin\git.exe" --version)
[DEBUG] 1000: cmd_execute_and_stream_data() returned 0 after    64658 us
[DEBUG] 1001: CreateProcessW("D:\programs\git\bin\git.exe" "--git-dir=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git\.git" "--work-tree=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git" -c core.autocrlf=false show 6f1ddd6b6878e7e66fcc35c65ba1d8feec2e01f8:versions/baseline.json)
[DEBUG] 1001: cmd_execute_and_stream_data() returned 0 after    51162 us
[DEBUG] 1002: CreateProcessW("D:\programs\git\bin\git.exe" "--git-dir=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git\.git" "--work-tree=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git" -c core.autocrlf=false rev-parse 0f88ecb8528605f91980b90a2c5bad88e3cb565f:versions)
[DEBUG] 1002: cmd_execute_and_stream_data() returned 0 after    41171 us
[DEBUG] Loading dep info for: vcpkg-pkgconfig-get-modules:x64-windows
A suitable version of cmake was not found (required v3.29.2).
[DEBUG] Trying to hash D:\vcpkg\downloads\cmake-3.29.2-windows-i386.zip.2592.part
[DEBUG] D:\vcpkg\downloads\cmake-3.29.2-windows-i386.zip.2592.part has hash 562de7b577c99fe347b00437d14ce375a8e5a60504909cb67d2f73c372d39a2f76d2b42b69e4aeb31a4879e1bcf6f7c2d41f2ace12180ea83ba7af48879d40ab
Downloading https://github.com/Kitware/CMake/releases/download/v3.29.2/cmake-3.29.2-windows-i386.zip
Extracting cmake...
[DEBUG] 1003: CreateProcessW("C:\WINDOWS\system32\tar.exe" xzf "D:\vcpkg\downloads\cmake-3.29.2-windows-i386.zip")
[DEBUG] 1003: cmd_execute() returned 0 after 37236193 us
[DEBUG] 1004: CreateProcessW("D:\vcpkg\downloads\tools\cmake-3.29.2-windows\cmake-3.29.2-windows-i386/bin/cmake.exe" --version)
[DEBUG] 1004: cmd_execute_and_stream_data() returned 0 after   757825 us
[DEBUG] 1005: CreateProcessW("D:\vcpkg\downloads\tools\cmake-3.29.2-windows\cmake-3.29.2-windows-i386/bin/cmake.exe" -DVCPKG_ROOT_DIR=D:/vcpkg -DPACKAGES_DIR=D:/vcpkg/packages -DBUILDTREES_DIR=D:/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed -DDOWNLOADS=D:/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "D:\vcpkg\buildtrees\0.vcpkg_dep_info.cmake")
[DEBUG] 1005: cmd_execute_and_stream_data() returned 0 after    77953 us
[DEBUG] 1006: CreateProcessW("D:\vcpkg\downloads\tools\cmake-3.29.2-windows\cmake-3.29.2-windows-i386/bin/cmake.exe" -DVCPKG_ROOT_DIR=D:/vcpkg -DPACKAGES_DIR=D:/vcpkg/packages -DBUILDTREES_DIR=D:/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed -DDOWNLOADS=D:/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "D:\vcpkg\buildtrees\0.vcpkg_tags.cmake")
[DEBUG] 1006: cmd_execute_and_stream_data() returned 0 after   360693 us
The following packages will be built and installed:
<EMAIL_ADDRESS>-- C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git-trees\43a794215eb84acb9f6e49f2aee3a3ee1ac1af92
[DEBUG] 1007: CreateProcessW("C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -all -prerelease -legacy -products * -format xml)
[DEBUG] 1007: cmd_execute_and_stream_data() returned 0 after   488096 us
[DEBUG] Binary caching for package ffmpeg:x64-windows is disabled due to --editable
[DEBUG] Default binary cache path is: C:\Users\SOHRAB\AppData\Local\vcpkg\archives
Installing 1/1<EMAIL_ADDRESS>

mystery...
I"m wondering why doesn't it download ffmpeg archive 7.0.2 but uses old one...
here is my log just in case...
C:\Dev\vcpkg>vcpkg install  ffmpeg
Computing installation plan...
The following packages will be built and installed:
<EMAIL_ADDRESS>  *<EMAIL_ADDRESS>  * vcpkg-pkgconfig-get-modules:x64-windows@2024-04-03
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Dev/VS2019/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\TATO\AppData\Local\vcpkg\archives in 244 us. Use --debug to see more details.
Installing 1/3<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>-- Found Python version '3.11.8 at C:/Dev/vcpkg/downloads/tools/python/python-3.11.8-x64/python.exe'
-- Using meson: C:/Dev/vcpkg/downloads/tools/meson-1.5.1-81f7e3/meson.py
-- Using cached pkgconf-pkgconf-pkgconf-2.3.0.tar.gz.
-- Cleaning sources at C:/Dev/vcpkg/buildtrees/pkgconf/src/conf-2.3.0-07e4a066bf.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Dev/vcpkg/downloads/pkgconf-pkgconf-pkgconf-2.3.0.tar.gz
-- Using source at C:/Dev/vcpkg/buildtrees/pkgconf/src/conf-2.3.0-07e4a066bf.clean
-- Configuring x64-windows-dbg
-- Getting CMake variables for x64-windows
-- Configuring x64-windows-dbg done
-- Configuring x64-windows-rel
-- Configuring x64-windows-rel done
-- Package x64-windows-dbg
-- Package x64-windows-rel
-- Fixing pkgconfig file: C:/Dev/vcpkg/packages/pkgconf_x64-windows/lib/pkgconfig/libpkgconf.pc
-- Fixing pkgconfig file: C:/Dev/vcpkg/packages/pkgconf_x64-windows/debug/lib/pkgconfig/libpkgconf.pc
-- Installing: C:/Dev/vcpkg/packages/pkgconf_x64-windows/share/pkgconf/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 119 ms.
Elapsed time to handle pkgconf:x64-windows: 12 s
pkgconf:x64-windows package ABI: 449dfe82d3fa282903ef4175b98b9bc14b54686a59b727a56e61c6ccfb410f73
Installing 2/3<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>-- Installing: C:/Dev/vcpkg/packages/vcpkg-pkgconfig-get-modules_x64-windows/share/vcpkg-pkgconfig-get-modules/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 22.6 ms.
Elapsed time to handle vcpkg-pkgconfig-get-modules:x64-windows: 116 ms
vcpkg-pkgconfig-get-modules:x64-windows package ABI: 45b2b5c1db88959e842855e3ac177f2b6798f8ff4c8691238f5ab1835cc47594
Installing 3/3<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>-- Downloading https://github.com/ffmpeg/ffmpeg/archive/n7.0.2.tar.gz -> ffmpeg-ffmpeg-n7.0.2.tar.gz...
-- Extracting source C:/Dev/vcpkg/downloads/ffmpeg-ffmpeg-n7.0.2.tar.gz
-- Applying patch 0001-create-lib-libraries.patch
-- Applying patch 0002-fix-msvc-link.patch
-- Applying patch 0003-fix-windowsinclude.patch
-- Applying patch 0004-dependencies.patch
-- Applying patch 0005-fix-nasm.patch
-- Applying patch 0007-fix-lib-naming.patch
-- Applying patch 0012-Fix-ssl-110-detection.patch
-- Applying patch 0013-define-WINVER.patch
-- Applying patch 0020-fix-aarch64-libswscale.patch
-- Applying patch 0024-fix-osx-host-c11.patch
-- Applying patch 0040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch
-- Applying patch 0041-add-const-for-opengl-definition.patch
-- Applying patch 0043-fix-miss-head.patch
-- Using source at C:/Dev/vcpkg/buildtrees/ffmpeg/src/n7.0.2-8cb3114be3.clean
-- Getting CMake variables for x64-windows
...... (CTRL + C here)

I"d recommend as a try to delete the cache folder - C:\Users\SOHRAB\AppData\Local\vcpkg\archives\

Tried this but it doesn't work. What is the process by which vcpkg decides what version should be installed in classic mode?
D:\vcpkg>vcpkg install ffmpeg --debug --editable
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Disabling metrics because vcpkg.disable-metrics exists
[DEBUG] Trying to load bundleconfig from D:\vcpkg\vcpkg-bundle.json
[DEBUG] Failed to open: D:\vcpkg\vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Feature flag 'dependencygraph' unset
[DEBUG] Using scripts-root: D:\vcpkg\scripts
[DEBUG] Using builtin-ports: D:\vcpkg\ports
[DEBUG] Using installed-root: D:\vcpkg\installed
[DEBUG] Using buildtrees-root: D:\vcpkg\buildtrees
[DEBUG] Using packages-root: D:\vcpkg\packages
[DEBUG] Using vcpkg-root: D:\vcpkg
[DEBUG] Using builtin-registry: D:\vcpkg\versions
[DEBUG] Using downloads-root: D:\vcpkg\downloads
[DEBUG] External asset downloads are allowed (x-block-origin is disabled)...
[DEBUG] Asset cache is not configured.
[DEBUG] Detecting host with IsWow64Process2
[DEBUG] Detecting host with IsWow64Process2
Computing installation plan...
[DEBUG] Found path: D:\programs\git\bin\git.exe
[DEBUG] Found path: d:\Programs\Git\cmd\git.exe
[DEBUG] Found path: d:\Programs\Git\mingw64\bin\git.exe
[DEBUG] 1000: CreateProcessW("D:\programs\git\bin\git.exe" --version)
[DEBUG] 1000: cmd_execute_and_stream_data() returned 0 after    44503 us
[DEBUG] 1001: CreateProcessW("D:\programs\git\bin\git.exe" "--git-dir=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git\.git" "--work-tree=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git" -c core.autocrlf=false show 6f1ddd6b6878e7e66fcc35c65ba1d8feec2e01f8:versions/baseline.json)
[DEBUG] 1001: cmd_execute_and_stream_data() returned 0 after    46528 us
[DEBUG] 1002: CreateProcessW("D:\programs\git\bin\git.exe" "--git-dir=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git\.git" "--work-tree=C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git" -c core.autocrlf=false rev-parse 0f88ecb8528605f91980b90a2c5bad88e3cb565f:versions)
[DEBUG] 1002: cmd_execute_and_stream_data() returned 0 after    35080 us
[DEBUG] Loading dep info for: vcpkg-pkgconfig-get-modules:x64-windows
[DEBUG] 1003: CreateProcessW("D:\vcpkg\downloads\tools\cmake-3.29.2-windows\cmake-3.29.2-windows-i386/bin/cmake.exe" --version)
[DEBUG] 1003: cmd_execute_and_stream_data() returned 0 after   341844 us
[DEBUG] 1004: CreateProcessW("D:\vcpkg\downloads\tools\cmake-3.29.2-windows\cmake-3.29.2-windows-i386/bin/cmake.exe" -DVCPKG_ROOT_DIR=D:/vcpkg -DPACKAGES_DIR=D:/vcpkg/packages -DBUILDTREES_DIR=D:/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed -DDOWNLOADS=D:/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "D:\vcpkg\buildtrees\0.vcpkg_dep_info.cmake")
[DEBUG] 1004: cmd_execute_and_stream_data() returned 0 after    27546 us
[DEBUG] 1005: CreateProcessW("D:\vcpkg\downloads\tools\cmake-3.29.2-windows\cmake-3.29.2-windows-i386/bin/cmake.exe" -DVCPKG_ROOT_DIR=D:/vcpkg -DPACKAGES_DIR=D:/vcpkg/packages -DBUILDTREES_DIR=D:/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed -DDOWNLOADS=D:/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "D:\vcpkg\buildtrees\0.vcpkg_tags.cmake")
[DEBUG] 1005: cmd_execute_and_stream_data() returned 0 after    31519 us
The following packages will be built and installed:
<EMAIL_ADDRESS>-- C:\Users\SOHRAB\AppData\Local\vcpkg\registries\git-trees

It looks like we are getting nowhere!

@sfhacker let's not panic or give up. This is some genuine bug to the best of my knowledge and belief. If no one can help, then once I get some time I will add logs to the vcpkg source code and hunt down the issue or ask more questions. Hopefully will get some time over weekend.
Kindly keep the issue open until then.

I"d recommend as a try to delete the cache folder - C:\Users\SOHRAB\AppData\Local\vcpkg\archives\

Useless (if not harmful) advise. There is no caching issue.

D:\vcpkg>vcpkg install ffmpeg --debug --editable

You are running vcpkg without an explicit path (such as .\path). This means the vcpkg command will be searched via the PATH environment variable. I hope PATH is setup correctly at the point. (Cf. https://github.com/microsoft/vcpkg/issues/40695#issuecomment-2316854091)

What is the process by which vcpkg decides what version should be installed in classic mode? Can some more logs be enabled rather than simply Computing installation plan...?

There is no versioning in classic mode. It will build what is checked out in ports/ffmpeg. With this location:
[DEBUG] Using builtin-ports: D:\vcpkg\ports


NET Core 3.1

Any chance this could be updated to the latest net standard to work with net core 3.1?
It kinda broke at 3.0 and 3.1.

hhmm, didn't get any notifications on your post @Looooooka 🤔 So i am a bit late here.
The library supports .Net Standard v2.1 which should be equal to .Net Core v3.0 and v3.1. So can you be at bit more detailed on "kinda broke"?
I am just about to release this package and Log4NetAdoNetAppender, so it could be cool to have all issues fixed.

I believe you helped me get to the bottom of the issue in the apender project. Forgot I posted it here as well. Consider it closed :)


Add address checks for mysql and postgres

Continuation of #1933 but for MySQL and PostgreSQL.
Users of the v2 mysql and postgres interfaces must now add the hosts they are allowed to call to the manifest.

The end-to-end failures are perfectly catching the missing outbound hosts:
Failures:
    spinup_tests::component_outbound_http_works
    spinup_tests::http_rust_outbound_mysql_works
    spinup_tests::http_rust_outbound_pg_works


EnzymeRule for checking convergence in series-type code

This PR adds a simple (@inline) function for checking convergence so that we can write a custom EnzymeRule that also makes sure that the derivative of the series has converged.
@heltonmc caught the need for this in the besseli_large_arguments function, so this PR also adds the start of the Enzyme testing framework for besseli that hits that method a bunch.
In general, tests look good outside of the edge case of just barely switching over to the large-argument expansion. A separate issue is that the power series has a slightly different convergence metric that costs a few digits for the derivative series, but that seems like a discussion for a different PR. Similarly, besseli needs to be tweaked for integer orders like besselk was so that you don't get incorrect zero derivatives, but again a besseli cleanup PR would probably be a more appropriate place for that and finalizing that test file.
Thoughts and comments welcome!

Perfect! Exactly what I was envisioning. (for more permanent notes) We discussed the issue with besseli which was my mistake by not removing the isinteger branch. This now looks appropriate and good to me!!


Hello , I have a error: Error_NETWORK

Why can't I call the openai address through the basePath parameter when accessing it via Cloudflare reverse proxy? However, if I manually write a fetch to call openai, there is no problem, and it also supports the stream mode. But now I can't call it at all through langchainjs, or I can only call it once each time, and can't call it from the second time.

The issue is that the enhancement of fetch in version 13.1.0 of Next.js is problematic, causing fetch to be modified and unable to be called normally.

Answer Generated by a 🤖
Answer
The issue you're experiencing might be related to the way the Cloudflare reverse proxy is handling the streaming response. When using a reverse proxy, it's possible that the proxy is buffering the response, which can cause issues with streaming.
To resolve this issue, you can try configuring your Cloudflare reverse proxy to disable buffering for the specific route that handles the OpenAI API calls. This can be done using Cloudflare Workers or by modifying the configuration of your reverse proxy.
If you're using Cloudflare Workers, you can disable buffering by setting the cf property in the fetch options:
addEventListener('fetch', event => {
  event.respondWith(handleRequest(event.request))
})

async function handleRequest(request) {
  const url = new URL(request.url)
  url.hostname = '[openai.example.com](http://openai.example.com/)' // Replace with the actual OpenAI API hostname

  const modifiedRequest = new Request(url, {
    method: request.method,
    headers: request.headers,
    body: request.body,
    cf: { streaming: true } // Disable buffering in Cloudflare
  })

  const response = await fetch(modifiedRequest)
  return response
}

If you're using a different reverse proxy configuration, you'll need to consult the documentation for that specific proxy to disable buffering for the OpenAI API route.
After making these changes, you should be able to use LangChainJS with the Cloudflare reverse proxy without issues.
Sources

langchain/src/util/tests/openai-stream.test.ts

This response is meant to be useful, save you time, and share context. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

The issue is that the enhancement of fetch in version 13.1.0 of Next.js is problematic, causing fetch to be modified and unable to be called normally.

How do you fix it?


Please support accesskey="f" for Search

Is your feature request related to a problem? Please describe.
Wikipedia and many other sites support starting up Search on Shift+Alt+F.
That'd be nice to have in Poxy output as well.
Describe the solution you'd like
I.e. please add code to achieve the equivalent of:
sed -r '0,/<a class="m-doc-search-icon" href="#search" /s/(<a class="m-doc-search-icon")/\1 accesskey="f"/' -i html/*.html

Additional context
Other keys are also supported by Wikipedia, e.g. accesskey="z" to go to the Home/front page, but those aren't as frequently used/missed as Shift+Alt+F for search.

@mosra

Plus, since it has to open a popup, just an accesskey wouldn't be enough I think.

I just tested it via DOM editing and it seems to work OK (on Firefox, at least). It does do something slightly odd with the page layout if you press it twice (i.e. pressing it once again when the search dialog is visible), though it's a pretty minor cosmetic issue.

I don't know, if anything I'd just add the key binding next to the other two in the javascript code, I don't see a reason to implement it in a completely different way.
And, again, I think two bindings are enough already, no need to have three. Having this configurable would mean each m.css-based site could have the hotkeys slightly different, which isn't any good for usability. There isn't any consistency across the web with Shift Alt F either, so let's don't mess it up further by also having each m.css search box behave differently.

And, again, I think two bindings are enough already, no need to have three.

Yeh, I'm inclined to agree. I'm just doing a bit of testing for the sake of learning how accesskey works. @tim-janik I don't really think this adds any value, personally.

@tim-janik I'll add a hook to catch multiple calls to the search function so you can do your own overrides to it without worrying about breaking page state (e.g. using sed to apply an accesskey in your CI pipeline or wherever). I think that's a good middle ground, since T and TAB are already sufficient for the vast majority of users.

Thanks, I'm just used to accesskey="F" from Wikipedia, and indeed I'm using sed atm to add that to the first  element. You can test it out here: https://tim-janik.github.io/docs/anklang/
I don't see any page layout issues in Firefox though, and AFAICS a second/third key press does nothing if the search field is already activated.

I don't see any page layout issues in Firefox though, and AFAICS a second/third key press does nothing if the search field is already activated.

On my machine I see the RHS page margin being set to 17px first time, then auto after that. It's not a catastrophic effect by any measure; just looks a bit weird.


illuminate/support not working

illuminate support is giving me errors when trying to update/install... laravel 5

don't install illuminate/support v4.2.9|don't install laravel/framework v5.0.5

Are you using another package that requires illuminate/support:4.2.9? Because Sluggable should only be asking for 5.x things.

I think I installed the wrong version, but I attempted to follow the instructions.  I am new to laravel.

Getting the same error here.
  Problem 1
    - cviebrock/eloquent-sluggable 2.0.5 requires illuminate/support 4.* -> no matching package found.
    - cviebrock/eloquent-sluggable 2.0.4 requires illuminate/support 4.* -> no matching package found.
    - cviebrock/eloquent-sluggable 2.0.3 requires illuminate/support 4.* -> no matching package found.
    - cviebrock/eloquent-sluggable 2.0.2 requires illuminate/support 4.* -> no matching package found.
    - cviebrock/eloquent-sluggable 2.0.1 requires illuminate/support 4.* -> no matching package found.
    - cviebrock/eloquent-sluggable 2.0.0 requires illuminate/support 4.* -> no matching package found.

I solved this temporarily by manually adding this to composer.json:
"cviebrock/eloquent-sluggable": "dev-master"

If you are using Laravel 5, then you need "cviebrock/eloquent-sluggable": "~3.*" ... specifically the 3.0.0-alpha tag.


Iconify icons don't work in pdf export mode of quarto slides

Thanks for the nice extension!
I'm using the iconify icons via the extension, but the icons disappear in the pdf export mode of quarto slides over several OS and browsers. Any ideas what's wrong?

My immediate guess would be a conflict with the JavaScript export script used in Reveal.js that does not know how to deal with Iconify JavaScript API, but I would need to check with an example.

I can reproduce, although, if I close the printer window and trigger it again while staying in the export PDF mode (look at the URL), it works.
Uploading Screen Recording 2024-06-21 at 16.04.46.mov…

@sammerk Could you try? I think it's some kind of refresh / assets detection issue.

Thanks for the fast reactions!
I could try - but only the icon of the currently displayed page in the browser are printed. The icons on the other page not 🤷
Am 21.06.2024 um 21:55 schrieb Mickaël Canouil @.***>:
[EXTERNE-EMAIL] Klicken Sie nicht auf Links oder öffnen Sie keine Anhänge! Es sei denn, Sie kennen den Absender und wissen, dass der Inhalt sicher ist.
@sammerkhttps://github.com/sammerk Could you try? I think it's some kind of refresh / assets detection issue.
—
Reply to this email directly, view it on GitHubhttps://github.com/mcanouil/quarto-iconify/issues/27#issuecomment-2183367297, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB2QQKYRW3T4XABR6K6DRY3ZISAJTAVCNFSM6AAAAABJV64U42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBTGM3DOMRZG4.
You are receiving this because you were mentioned.Message ID: @.***>
--
Prof. Dr. Samuel Merk
Pädagogische Hochschule Karlsruhe
Institut für Schul- und Unterrichtsentwicklung
Bismarckstraße 10 / Raum 2.B305
76133 Karlsruhe
Tel.: +49<PHONE_NUMBER>

Could you provide a small reproducible example that I can use?
(It might lazy loading if really on the page displayed has the icon ready to print).

Yes, of course, here is the regex:
---
title: "D"
subtitle: "C"
author: AB
lang: de
date-format: "dddd, [den] D. MMMM, YYYY"
embed-resources: false
format: revealjs
bibliography: references.bib
csl: apa.csl
lightbox: true
---

## Übersicht
| {{< iconify fa6-solid diagram-project >}}  | Evidenzinformiertes Handeln        |
|-------------------------------------------:|:------------------------------    ---
| {{< iconify fa6-solid comments >}}  | Wissenschaftskommunikation    |
| {{< iconify fa6-solid file-lines >}} | Studie 1: Verbale Kommunikation     Effektstärken und Inferenzstatistiken   |
| {{< iconify fa6-solid chart-area >}}   | Studie 2: Visuelle Kommunikation     von Effektstärken   |
| {{< iconify fa6-solid file-lines >}} + {{< iconify fa6-solid chart-area >}}       | Studie 3: Visuelle & verbale Kommunikation von Effektstärken   |

: {#tbl-agenda tbl-colwidths="[15,85]"}

<!-- style the agenda table -->
<style>
#tbl-agenda table th {
font-weight: normal !important;
border: none !important;
}

#tbl-agenda table td {
font-weight: normal !important;
border: none !important;
}
</style>

::: footer
{{< iconify academicons:open-materials >}} Folien cc-by {{< iconify     academicons:creative-commons-by >}} unter https://bit.ly/merk133
:::

# Evidenzinformiertes Handeln {{< iconify fa6-solid diagram-project >}}

## Literatur

I tried several things and the issue seems to be in fact with the Reveal.js PDF export mode itself.
https://github.com/user-attachments/assets/34bd9331-2b03-47bc-9693-70030d1f3056

I am closing as there is nothing I can do here.


waveglow/mel2samp.py. 4GB ram not enough?

converting bunch of wavs to bunch of mels, by each converted file task manager shows increase in ram usage untill the computer freezes. how to bypass that? don't want to upgrade ram just for this

507


fix: don't use AbstractContextManager for exceptions_as_dialog

The use of contextlib.AbstractContextManager seems to be more trouble than useful.  I occasionally see this error:
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/superqt/utils/_errormsg_context.py:17: in <module>
    class exceptions_as_dialog(AbstractContextManager):
E   SystemError: <built-in method __prepare__ of type object at 0x7fc513f209a0> returned a result with an exception set
Error: The process '/Users/runner/hostedtoolcache/Python/3.11.8/x64/bin/python' failed with exit code 4

it's not necessary though, it implements the full protocol anyway

unfortunately, this didn't fix it.  here's the whole traceback:
ImportError while loading conftest '/Users/runner/work/pymmcore-plus/pymmcore-plus/pymmcore-plus/napari-micromanager/tests/conftest.py'.
tests/conftest.py:6: in <module>
    from napari_micromanager._util import NMM_METADATA_KEY
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/napari_micromanager/__init__.py:10: in <module>
    from .main_window import MainWindow
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/napari_micromanager/main_window.py:14: in <module>
    from ._core_link import CoreViewerLink
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/napari_micromanager/_core_link.py:10: in <module>
    from superqt.utils import ensure_main_thread
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/superqt/__init__.py:12: in <module>
    from .combobox import QColorComboBox, QEnumComboBox, QSearchableComboBox
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/superqt/combobox/__init__.py:3: in <module>
    from ._color_combobox import QColorComboBox
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/superqt/combobox/_color_combobox.py:20: in <module>
    from superqt.utils import signals_blocked
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/superqt/utils/__init__.py:29: in <module>
    from ._errormsg_context import exceptions_as_dialog
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/superqt/utils/_errormsg_context.py:16: in <module>
    class exceptions_as_dialog:
E   SystemError: <built-in method __prepare__ of type object at 0x10d7b62f0> returned a result with an exception set


Add Romanian language

Thanks for the contribution
Please do post a screenshot also showing Romanian language on screen :)

Awesome ! Thank you so much for the contribution :)


Make feature interactions in plots and textual explanations configurable

Feature interactions in plots and textual explanations should be configurable, i.e.:

One should be able to configure to only include feature interactions in a plot or textual explanation.
One should be able to configure to only include "ordinary features" in a plot or textual explanation.
By default all ordinary features and all pre-configured feature interactions should be included.

I think this feature only needs to be documented.


New component: sb-form-item

I've started the form item component. Requires input component to be done.

Great work!


Add support for VITS (multilingual TTS)

This PR adds support for VITS (text-to-speech). In particular, it allows us to run Meta's large collection of MMS models, covering over 1000 different languages!
closes #429
Example usage:

English:
import { pipeline } from "@xenova/transformers";

const synthesizer = await pipeline('text-to-speech', 'Xenova/mms-tts-eng');
const out = await synthesizer('I love transformers');
// {
//   audio: Float32Array(26112) [...],
//   sampling_rate: 16000
// }

https://github.com/xenova/transformers.js/assets/26504141/ef70bcc8-8554-4eaf-9809-f23b1b45408d

French:
import { pipeline } from "@xenova/transformers";

const synthesizer = await pipeline('text-to-speech', 'Xenova/mms-tts-fra');
const out = await synthesizer('Bonjour');
// {
//   audio: Float32Array(23808) [...],
//   sampling_rate: 16000
// }

https://github.com/xenova/transformers.js/assets/26504141/e9ab16db-f758-4dc9-b1bb-104b68a19aa2

Surprisingly, the quantized versions of the models still work quite well 👍.
See here for the full list of supported languages.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

this looks nice! , but what is the different to https://github.com/facebookresearch/seamless_communication/blob/main/docs/m4t/README.md#transformers-usage ?


Workspace settings info message wording

To me it was not immediately clear what 'Never show again' refered to. Never show me the user settings editor again? Also I found 'Never' a bit harsh.
Maybe 'Don't show again' or 'Don't ask again'
or "Always Ignore', 'Ignore' (instead of 'Close')
The better solution would be if the User settings editor has a warning on the actual settings that are overwritten.

Will check for a better label.

:+1:  for Don't show again


[C++] Problem when used from "qlora", huggingface. Does not clean up, and dumps core.

Describe the bug, including details regarding any error messages, version, and platform.
/arrow/cpp/src/arrow/filesystem/s3fs.cc:2598: arrow::fs::FinalizeS3 was not called even though S3 was initialized. This could lead to a segmentation fault at exit
Segmentation fault (core dumped)
Ubuntu 20.04
arrow==1.2.3
pyarrow==12.0.0
Component(s)
C, C++

I rebuilt arrow and pyarrow from sources, and the problem still persists. It is not clear in s3fs.cc where arrow::fs::FinalizeS3 should be called. The experiment to call it just before AWS connection termination did NOT get rid of the core dumping.

This requirement comes from S3 and is documented here

The AWS SDK for C++ must be initialized by calling Aws::InitAPI. Before the application terminates, the SDK must be shut down by calling Aws::ShutdownAPI. Each method accepts an argument of Aws::SDKOptions
All other calls to the SDK can be performed between these two method calls.
All AWS SDK for C++ calls performed between Aws::InitAPI and Aws::ShutdownAPI should either to be contained within a pair of curly braces or should be invoked by functions called between the two methods.

The FinalizeS3 method must be called once and it must be called before the application exits (e.g. before any objects with "static storage duration" are destroyed)

This requirement comes from S3 and is documented here

The AWS SDK for C++ must be initialized by calling Aws::InitAPI. Before the application terminates, the SDK must be shut down by calling Aws::ShutdownAPI. Each method accepts an argument of Aws::SDKOptions
All other calls to the SDK can be performed between these two method calls.
All AWS SDK for C++ calls performed between Aws::InitAPI and Aws::ShutdownAPI should either to be contained within a pair of curly braces or should be invoked by functions called between the two methods.

The FinalizeS3 method must be called once and it must be called before the application exits (e.g. before any objects with "static storage duration" are destroyed)

Yes, so arrow, pyarrow should clean the stuff up properly. I looked at the arrow code, and it is not clear to me where this should happen. Putting the call before the connection is severed did not fix the problem.

I looked at the arrow code, and it is not clear to me where this should happen.

As I said, you must call it once before your application exits.

Putting the call before the connection is severed did not fix the problem.

I'm sorry.  I don't understand what this means.
For example, this is valid:
int main() {
  if (!arrow::fs::EnsureS3Initialized().ok()) {
    std::cerr << "Failed to initialize S3" << std::endl;
    return 1;
  }
  // Your program goes here...
  if (!arrow::fs::EnsureS3Finalized().ok()) {
    std::cerr << "Failed to finalize S3" << std::endl;
    return 1;
  }
  return 0;
}

This is not valid:
struct GlobalS3Filesystem {
  GlobalS3Filesystem() {
    if (!arrow::fs::EnsureS3Initialized().ok()) {
      // handle error
      return;
    }
    arrow::Result<std::shared_ptr<arrow::fs::S3FileSystem>> maybe_s3fs =
        arrow::fs::S3FileSystem::Make({});
    if (!maybe_s3fs.ok()) {
      // handle error
      return;
    }
    s3fs = maybe_s3fs.MoveValueUnsafe();
  }
  ~GlobalS3Filesystem() {
    if (!arrow::fs::EnsureS3Finalized().ok()) {
      // handle error
    }
  }
  std::shared_ptr<arrow::fs::FileSystem> s3fs;
};

std::shared_ptr<arrow::fs::FileSystem> GetGlobalS3Filesystem() {
  static GlobalS3Filesystem global_s3fs;
  return global_s3fs.s3fs;
}

Use pyarrow 11.0.0

It's possible this was fixed in 13.0.0.  You still need to call FinalizeS3 as I described but we did fix a bug where users could call FinalizeS3 correctly and still get a crash.

Hi @phalexo, could you provide a minimal reproduction here for us to test? It's not clear to me whether you're just using PyArrow and are encountered an issue or if you're doing something more complicated.

running into this issue as well - we aren't even using amazon S3 (we are using Microsoft Azure) but for some reason we are still seeing this error which is causing our builds to crash after hitting the 6 hour time limit transiently (sometimes builds pass, sometimes they do not):
https://github.com/microsoft/responsible-ai-toolbox/pull/2212

@phalexo @imatiach-msft This should have been fixed in the about-to-be-released version 13.0.0. Can you perhaps try a nightly build? See https://arrow.apache.org/docs/dev/developers/python.html#installing-nightly-packages for how to install them.

Seeing this error in some unit tests that use pyarrow, which we run in Apache Beam. We run unit tests on multiple os. After upgrading to pyarrow==13.0.0  in the windows tests, we are seeing
C:\arrow\cpp\src\arrow\filesystem\s3fs.cc:2829:  arrow::fs::FinalizeS3 was not called even though S3 was initialized.  This could lead to a segmentation fault at exit

and tests appear to timeout.
https://github.com/apache/beam/actions/runs/6177998648/job/16833521908?pr=28437


How to apply filter for multiple worksheets in a dashboard

The tableau dashboard has a multiple worksheets (composite view). and all worksheets are filtered by same id. when i provide filter to dashboard it applies to only one worksheet. other filters are set to "None". and each worksheet has separate dropdown with same id's.
This is the code snippet
      <tableau-viz id="tableauViz"                  src='server/views/workbook/workshhet'                 token={JWT}           toolbar='hidden'>           <viz-filter  field="id" value="1de9ec86-xxxxx-4878-yyyy-609e55677ce2f"> </viz-filter>          </tableau-viz>
how to apply filters to other worksheets ?

Hey @Shyam268 - Thank for opening an issue. Are all your worksheets using the same data source? If you add a drop down filter to the dashboard and filter the data, does it work?

@illonage Yes all worksheets using same data source and drop down filter is working as expected.
onLoad is not working. is there any event similar to onLoad ? .  need an event when dashboard loading is completed.

working for other dashboards.


[MGDOBR-1299] Increase Test Case Coverage of Shard Operator core (#1395) - Update kustomization images

This Pull request aims to update the kustomization images for the PR [MGDOBR-1299] Increase Test Case Coverage of Shard Operator core (#1395)

/deploy dev


Critical bug: Consumer didn't build correctly/won't start

The GitHub action has built the new consumer, but it will not start up.
consumer-1  | node:internal/modules/cjs/loader:1147
consumer-1  |   throw err;
consumer-1  |   ^
consumer-1  |
consumer-1  | Error: Cannot find module '/app/dist/index.cjs'
consumer-1  |     at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
consumer-1  |     at Module._load (node:internal/modules/cjs/loader:985:27)
consumer-1  |     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
consumer-1  |     at node:internal/main/run_main_module:28:49 {
consumer-1  |   code: 'MODULE_NOT_FOUND',
consumer-1  |   requireStack: []
consumer-1  | }
consumer-1  |
consumer-1  | Node.js v20.11.1
consumer-1 exited with code 0

Using current code base:
  consumer:
    image: gabisonfire/knightcrawler-consumer:latest
    env_file:
      - .env
    deploy:
      replicas: ${CONSUMER_REPLICAS}
    <<: *knightcrawler-app
    networks:
      - knightcrawler-network
      - postgres-access

@sleeyax any input from you would be good too :)

I'm going to roll back the tag.
If you want to see the bug in action then you need to use the image: sha-befd929
docker pull gabisonfire/knightcrawler-consumer:sha-befd929
  consumer:
    image: gabisonfire/knightcrawler-consumer:sha-befd929
    env_file:
      - .env
    deploy:
      replicas: ${CONSUMER_REPLICAS}
    <<: *knightcrawler-app
    networks:
      - knightcrawler-network
      - postgres-access

Easy, it should be dist/main.cjs instead. I can create a PR.

Easy, it should be dist/main.cjs instead. I can create a PR.

ok never mind lol

was just in the process of creating ^^
Lol


Create Jenkins Pipeline Milestone for release

Currently we have issues where multiple pushes to master in quick succession lead to the build process for Mac OS getting messed up by making the rebuild number in the brew formula out of sync with the rebuild number in the github release. I suspect that the issue could be solved if we introduced milestones so that Jenkins would not start a second brew release while the first is still running. We may need to discuss the possibility of editing how the build killer works on master builds as well in order to solve this. Currently there is a simple workaround where you just edit the broken github release by hand, so it's not urgent, but it is a significant annoyance that needs to be solved in order to make the KEVM release happen smoothly on a regular basis.

I am closing this because it seems the actual error I ran into was something different.


Broken Link

The link at the top of this article for "plan to move your virtual machine to Azure" that points here:
https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-questions/
gives a 404 error.

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

ID: f754d56c-0290-d582-ba2c-b3f0dcc13866
Version Independent ID: f3062eb0-c4d0-a637-675e-f867ea934877
Content: Should I create a generation 1 or 2 virtual machine in Hyper-V?
Content Source: WindowsServerDocs/virtualization/hyper-v/plan/Should-I-create-a-generation-1-or-2-virtual-machine-in-Hyper-V.md
Service: na
GitHub Login: @KBDAzure
Microsoft Alias: kathydav

Resolved in commit https://github.com/MicrosoftDocs/windowsserverdocs/commit/5f8470ee6f04ab62cdecbb860b39b1edc0a8b4e1 (https://github.com/MicrosoftDocs/windowsserverdocs/commit/5f8470ee6f04ab62cdecbb860b39b1edc0a8b4e1#diff-b098257b8a1a5d5165066e59cceb19cd) via PrivateRepo #876 .

#please-close


Transport vs Endpoint

Hi Glenn,
Quick question. Could you explain the conceptual difference between the terms endpoint and transport in the context of yojimbo/reliable.io?
Thanks!

Well an endpoint is simply one side of a connection wrt. to the reliability system, for example, check out the new yojimbo experimental branch to see an example of usage. Transport is the actual sending and receiving of packets, and is actually going away in new yojimbo design, as that is now handled exclusively by netcode.io


[IMP] Add image type enum and property in image_data

Add an enum for the image types. Currently mapped are the distinct values from an existing prod, with the one known value filled (prescription). Pending response from CP on others
Add image_type computed property in image_data that maps the type code using the enum

To get the current list of these you can use the SQL below in the CPH database

select * from csct where ct_id = 420 (This will let you know that the CT_ID of 420 refers to image types.)

select * from csct_code where ct_id = 420 (The list of image types is defined in the csct_code table using the Code_num which you have below)

Example:  Code of 2 in my database signifies an image listed as an RX.


How to upgrade 0.31 to 0.32?

How to upgrade 0.31 to 0.32?
Alibaba's Druid is used as the JDBC pool,

If you're using standard JDBC API, in general you only need to use the new driver class com.clickhouse.jdbc.ClickHouseDriver, which is actually the default.
I'm not familiar with Druid, but as long as the connection pool is not tightly coupled with legacy driver, the upgrade should be transparent in most cases.

0.3.1 use the driver: ru.yandex.clickhouse.ClickHouseDriver, Alibaba's Druid  source use ru.yandex.clickhouse.BalancedClickhouseDataSource

0.3.1 use the driver: ru.yandex.clickhouse.ClickHouseDriver, Alibaba's Druid source use ru.yandex.clickhouse.BalancedClickhouseDataSource

Sorry there's no BalancedClickhouseDataSource in the new JDBC driver. Starting from 0.3.2-patch10, you'll be able to specify multiple hosts in connection string, for examples:

jdbc:ch://(http://localhost),(tcp://localhost),(grpc://localhost)/test?connect_timeout=500&!auto_discovery&load_balancing_policy=FIRST_ALIVE&health_check_interval=15000
or jdbc:ch:http://host1,(host3?auto_discovery&discovery_interval=60000&cluster=mine),(host5)/test?load_balancing_policy=ROUND_ROBIN&health_check_interval=15000(host3 is the seed to discover all other nodes in cluster mine for load balancing).

I'm still adding more tests and have completed performance testing, so the release was deferred to next weekend.


API for getting a reference to the currently visible WebView

From forums: https://forums.appgyver.com/#!/steroids-native-ui:how-to-get-current-activev

+1

+1

supersonic.ui.views.current.whenVisible( function(){  has been working for me

I've already answer this on appgyver forum; this function is not what we are requesting here.

As a workaround, you could keep the visibility state cached in your application, ie. implement the layer “softly” in your application.
Basically:

listen for visibilitychanged event in all webviews
when triggered, store the uuid of the currently visible somewhere where all webviews can access it (eg. local storage)
query the uuid from the place mentioned above


No support for overloading extern functions (not methods)

An up-to-date v1model.p4 includes the following overloaded extern function.
extern void log_msg(string msg);
extern void log_msg<T>(string msg, in T data);

I know the typechecker won't handle this appropriately, but the parser also appears to be having trouble with it. I get this cryptic error message whenever I try to typecheck programs that use v1model.
[exception] Petr4.Parser.MenhirBasics.Error
Raised at file "map.ml", line 135, characters 10-25
Called from file "sexp_conv.ml", line 147, characters 10-37

Sorry, I think this is actually an issue with parsing the type string.

Aaand It's been fixed  since d95e18f5 and I just need to merge master into typed-ast. Never mind!


TypeError: 'module' object is not callable

@kajchang This morning, I was able to call the code and have it work perfectly. But then in the afternoon, not making any changes to the version or code, I started getting this log of errors after attempting to run it. I saw that there was a version update available, so I did that but nothing changed.
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 900, in _find_spec
AttributeError: '_SixMetaPathImporter' object has no attribute 'find_spec'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "grades.py", line 3, in
from studentvue import StudentVue
File "/home/pi/.local/lib/python3.7/site-packages/studentvue/init.py", line 1, in
from .StudentVue import StudentVue
File "/home/pi/.local/lib/python3.7/site-packages/studentvue/StudentVue.py", line 1, in
import zeep
File "/home/pi/.local/lib/python3.7/site-packages/zeep/init.py", line 1, in
from zeep.client import CachingClient, Client  # noqa
File "/home/pi/.local/lib/python3.7/site-packages/zeep/client.py", line 5, in
from zeep.transports import Transport
File "/home/pi/.local/lib/python3.7/site-packages/zeep/transports.py", line 5, in
import requests
File "/usr/lib/python3/dist-packages/requests/init.py", line 43, in
import urllib3
File "/usr/lib/python3/dist-packages/urllib3/init.py", line 8, in
from .connectionpool import (
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 11, in
from .exceptions import (
File "/usr/lib/python3/dist-packages/urllib3/exceptions.py", line 2, in
from six.moves.http_client import (
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 963, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 902, in _find_spec
File "<frozen importlib._bootstrap>", line 879, in _find_spec_legacy
File "<frozen importlib._bootstrap>", line 449, in spec_from_loader
File "/usr/lib/python3/dist-packages/six.py", line 216, in is_package
return hasattr(self.__get_module(fullname), "path")
File "/usr/lib/python3/dist-packages/six.py", line 118, in getattr
_module = self._resolve()
File "/usr/lib/python3/dist-packages/six.py", line 115, in _resolve
return _import_module(self.mod)
File "/usr/lib/python3/dist-packages/six.py", line 82, in _import_module
import(name)
File "/usr/lib/python3.7/http/client.py", line 71, in
import email.parser
File "/usr/lib/python3.7/email/parser.py", line 12, in
from email.feedparser import FeedParser, BytesFeedParser
File "/usr/lib/python3.7/email/feedparser.py", line 27, in
from email._policybase import compat32
File "/usr/lib/python3.7/email/_policybase.py", line 9, in
from email.utils import _has_surrogates
File "/usr/lib/python3.7/email/utils.py", line 33, in
from email._parseaddr import quote
File "/usr/lib/python3.7/email/_parseaddr.py", line 16, in
import time, calendar
File "/home/pi/calendar.py", line 4, in
sv = StudentVue('[username]', '[password]', '[domain name')
TypeError: 'module' object is not callable

That's a weird issue but I don't know if it has anything to do directly with this library. Did you make any changes to python or install anything that could mess with packages before it stopped working? Knowing nothing about your circumstances, I would try uninstalling and reinstalling this package if it seems to be just a problem with working with this package.

I didn't make any changes to python, and I uninstalled and reinstalled this package a few times and it didn't work. I'm just really confused because absolutely nothing that I can tell was changed.

@kajchang Okay. I just deleted the calendar file and now every other file works again. What do you think is the source of this issue?

What was the name of the calendar file?

The name was calendar.py
The code was:
#!/usr/bin/env python
from studentvue import StudentVue
sv = StudentVue('s-pudipeddiri', 'Kit!00aAb8337', 'https://wa-bsd405-psv.edupoint.com/')
print(sv.get_calendar())

deleted that because it had your credentials in it

oh god, thanks so much
#!/usr/bin/env python
from studentvue import StudentVue
sv = StudentVue('[usr]', '[pass]', '[domain]')

I'm not a really an expert in python, but it looks like somehow for this section ```
File "/usr/lib/python3.7/email/_parseaddr.py", line 16, in
import time, calendar
File "/home/pi/calendar.py", line 4, in
sv = StudentVue('[username]', '[password]', '[domain name')
TypeError: 'module' object is not callable

`/usr/lib/python3.7/email/_parseaddr.py` is trying to import `import time, calendar` but instead of importing the [builtin calendar module](https://docs.python.org/3/library/calendar.html), it's importing your `calendar.py` which is causing some sort of circular dependency mix up.

This isn't something I've run into, but I think you should just avoid naming files the same thing as builtin modules.
Didn't actually read this but it looks like it could be relevant : https://stackoverflow.com/questions/6031584/importing-from-builtin-library-when-module-with-same-name-exists

Hope this helped. I definitely learned something today!

Thank you so much. That was the issue!


net_app: Always set relevant sa_family when starting a TCP server

Without that, if ipv4 is configured via DHCPv4, server will not be
accessible. It looks like it won't properly bind addresses.
Signed-off-by: Tomasz Bursztyka<EMAIL_ADDRESS>

@jukkar  Without this fix, it's not possible to get dhcpv4 working well with rpl br sample. (dhcp works, but accessing the http server is not working on the configured IP then).


schema/schemaspec/schemahcl: supporting injecting variables into an Atlas DDL HCL unmarshaling

Allows users to inject a map[string]interface{} of values into the HCL document that are available as
x = vars.x

@yonidavidson , thx for the review. This branch is old and outdated, I will re-do it after all the work we did for custom types.


Failed to inject profiler into PID

I have profiler and java application container running in a pod.
And the ps -aux in the pod is as follows:
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
65535          1  0.0  0.0    972     4 ?        Ss   Jul20   0:00 /pause
root           7  0.0  1.5 2963580 119216 ?      Ssl  Jul20   0:33 java -jar /app/perf-demo.jar
root          22  0.0  0.0   2420    68 ?        Ss   Jul20   0:00 /bin/sh -c sleep inf
root          28  0.0  0.0   2332    60 ?        S    Jul20   0:00 sleep inf
root          44  0.0  0.0   4100  1924 pts/0    Ss+  Jul20   0:00 bash
root          58  0.0  0.0   4100  3388 pts/1    Ss   02:24   0:00 bash
root          84  0.0  0.0   6700  2892 pts/1    R+   02:25   0:00 ps -aux
However, when I try to run profiler to profile with PID 7, I got "Failed to inject profiler into 7".

Do you run profiler inside the same container as JVM runs?
Profiler library must be accessible by the target process.
This issue is mentioned in the Troubleshooting section.

It is to run the JVM and the profiler in two containers under a Pod.
The container the profiler runs on is an ephemeral container.

I'm closing this as a duplicate of #78, #601, #166, #203.
Let me know if the linked issues still don't help.
TL;DR make sure the profiler library libasyncProfiler.so is accessible inside the target container. If async-profiler is on the different path inside the container, use --lib option.


Create user groups for hiero-mirror-node-explorer

As defined in https://github.com/hiero-ledger/governance, we need to create two groups for each project: A group that contains 2-3 maintainers of the project and a group with all project committers. The groups can be added to https://github.com/hiero-ledger/governance/blob/main/config.yaml by doing a PR.

This should be @svienot and @ericleponner

Hi @hendrikebbers -- any chance we can simply pick the hero-explorer repository/project name rather than hiero-mirror-node-explorer (kind of heavy...)? Once we confirm this name, I'll take care of the PR. Thanks.


Update to Spigot 1.9

I really need MV-Core and the other addon plugins updated to 1.9.
Since the source code can't be imported i can't do this by myself so i would like to request this.

Have you tried the latest Development version?  Can be found here : http://ci.onarandombox.com/job/Multiverse-Core/

@nichlasm1 Please just make one issue, and don't make random pull-requests. @KCQuetzal is right. as I stated in your other thread, just go to that site, and download #716 or higher.
I've also added a build note on #716 that states it's for 1.9.


Haoking: Change Git Up, example-action for CI/CD

Created GitHub Actions yml file called example-action that takes in a
Gerrit change-id as an input and calls pnpm run test on existing code.
If pnpm run test passes, bot patina account will verify +1 the CR
automatically, otherwise will verify with -1. Changed git up script
to automatically trigger this GitHub action.
Change-Id: I3a8d7a059f88f0f242c94cc747b4bb2e6add8554

Change-Id I3a8d7a059f88f0f242c94cc747b4bb2e6add8554 was closed at https://gerrithub.io/q/I3a8d7a059f88f0f242c94cc747b4bb2e6add8554


Scaling, scaling, scaling!

I've run a 600 node simulation without issues, but I'd really like to stress test up to 1k ~ 2k. I imagine we will start noticing issues with the control-plane and also the RPC server holding a lot in memory.

Closing this for now as it's not helpful in the tracker :)


add github actions tests with tox

Please feel free to copy the following files from Course Access Groups (https://github.com/appsembler/course-access-groups/pull/78) so this repo has GitHub Actions integration:

tox.ini
ci.yml

@estherjsuh we can do this task anytime we'd like, no rush on making it this sprint.


Update README.adoc

Adding some color to the readme.

@AndreasVolkmann Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@AndreasVolkmann Thank you for signing the Contributor License Agreement!

Thanks for the PR @AndreasVolkmann!
It is now merged into master.


Friendship is nil when I get user summary

I was going to get "friendship" by following api call.

        Endpoint.User.summary(for: identifier)
            .unlocking(with: secret)
            .task { (result) in
                switch result {
                case .success(let user):
                    let friendship = userUnit.user?.friendship
                case .failure(let error):
                    comp(.failure(error))
                }
            }
            .resume()

But "friendship" is nil.
I am following him, and he is also following me, so friendship should be exist.
Here, secret is my account's one.
And I can get all other info except "friendship".

And I get friendship as nil when I get followers and followings.

Hey @lijing8989, this appears to be a change in Instagram behavior, unrelated to Swiftagram.
Friendship status is no longer returned when asking for a user's summary, meaning you will need to interrogate Endpoint.Friendship.summary(for:) specifically.

@sbertix
Thanks for your response.

Endpoint.Friendship.following
Endpoint.Friendship.followed
Don't these apis also return "friendsship"?

I meet the above same issue.
So is the attribute "friendship" nil always for all cases?
If yes, then you should remove the "friendship" in your framework.

The friendship property used to be populated when calling Endpoint.User.summar(for:) and only that.
It was never populated for Endpoint.Friendship.following(_:) or Endpoint.Friendship.followed(by:). As Instagram removed it from the response, I'm gonna remove it from the model too.


Request ReactiveDictionary

As mentioned in the ObservableCollections Issue, it is not convenient to use ObservableCollections.R3 as a replacement for UniRx.ReactiveDictionary.
I consider ReactiveDictionary (and ReactiveCollection) to be used frequently, so it would be helpful if you could include this in R3. (I would also request a Readonly version and the ability to issue OnCompleted at the same time.)

https://github.com/Cysharp/ObservableCollections/pull/45
This problem has been resolved because of improved usability on the ObservableCollections.


Crash loading new world

Minecraft Version
1.19.2
Describe the Bug
When attempting to load an existing world, I got a notice about datapack issues and was prompted to go into safe mode or try again. When I attempted to make a new world, the game crashed to desktop. This does not occur in version <IP_ADDRESS>.2
Reproduction Steps

Using the Cottage Witch modpack version 1.13a (not yet released, working on it), update to the most recent CCK.
Launch game and try to access existing world or create new one.

Expected Result
I expected the existing world to load, and a new world to be created.
Screenshots and Videos
No response
Crash Report or Log
https://pastebin.com/gkYLFgXS
Other Mods
Listed in crash report.
Mod Version
<IP_ADDRESS>.0
Forge Version
43.2.6

Integration recipes for Collector's Reap are referencing Neapolitan related fluids, causing the problem.
This has been fixed in 1.3.1 using proper ModLoadingCondition.


get the deselected date with multidate

Expected behaviour
Should be a click event which returns the clicked date with the information if it was selected or deselected in multidate. You can get the date when you select a new date but its not the case when the date is deselected.
Actual behaviour
When a date is deselected with multidate set to true there is no way to find out which date was deselected.
Datepicker version used
version 1.6.4.

Directly not I guess, but I believe you can catch the dates when the change event is fired, then store them and make a diff each time so you will know which dates have been added or deleted.
It's not the best at this moment but good enough until we had more functionalities.

I changed this
if (!which || which !== 'view') {      this._trigger('changeDate'); }
to
if (!which || which !== 'view') {      this._trigger('changeDate', date); }
And now I can get the deselected date like this
`$('.datepicker').datepicker().on('changeDate', function(e) {
alert(e.date);
});


making the cli consistent with docker. resolves #239

(1) Making the netctl cli commands consistent with docker
(2) while still retaining the existing commands as aliases for allowing users the freedom to choose.
This will also make sure that all documentation would still be valid post this change.
vagrant@netplugin-node1:~$ netctl tenant create -p <IP_ADDRESS>/16 -v 100-101 -x 200-300 pepsi
INFO[0000] Creating tenant: pepsi
vagrant@netplugin-node1:~$ netctl tenant ls
Name     Subnet Pool    Subnet Len  vlans       vxlans
------   -----------    ----------  -----       ------
default  <IP_ADDRESS>/16    24          100-1100    1001-1100
pepsi    <IP_ADDRESS>/16    24          100-101     200-300

vagrant@netplugin-node1:~$ netctl network ls
Tenant  Network  Encap type  Packet tag  Subnet   Gateway
------  -------  ----------  ----------  -------  ------
vagrant@netplugin-node1:~$
vagrant@netplugin-node1:~$ netctl network create -p 200 -s <IP_ADDRESS>/16 -g <IP_ADDRESS> -t pepsi pepsi-net
vagrant@netplugin-node1:~$
vagrant@netplugin-node1:~$ netctl network ls --tenant pepsi
Tenant  Network    Encap type  Packet tag  Subnet       Gateway
------  -------    ----------  ----------  -------      ------
pepsi   pepsi-net  vxlan       200         <IP_ADDRESS>/16  <IP_ADDRESS>
vagrant@netplugin-node1:~$

vagrant@netplugin-node1:~$ netctl network rm pepsi-net --tenant pepsi
INFO[0000] Deleting network pepsi:pepsi-net
vagrant@netplugin-node1:~$

vagrant@netplugin-node1:~$ netctl group ls
Tenant  Group  Network  Policies
------  -----  -------  --------
vagrant@netplugin-node1:~$

vagrant@netplugin-node1:~$ netctl  policy
NAME:
   netctl policy - Policy manipulation tools

USAGE:
   netctl policy command [command options] [arguments...]

COMMANDS:
   create       Create a new policy
   rm, delete   Delete a policy
   ls, list     List policies
   help, h      Shows a list of commands or help for one command

OPTIONS:
   --help, -h   show help

vagrant@netplugin-node1:~$

vagrant@netplugin-node1:~$ netctl network
NAME:
   netctl network - Network manipulation tools

USAGE:
   netctl network command [command options] [arguments...]

COMMANDS:
   ls, list     List networks
   rm, delete   Delete a network
   create       Create a network
   help, h      Shows a list of commands or help for one command

OPTIONS:
   --help, -h   show help
vagrant@netplugin-node1:~$

vagrant@netplugin-node1:~$ netctl group
NAME:
   netctl group - Endpoint Group manipulation tools

USAGE:
   netctl group command [command options] [arguments...]

COMMANDS:
   create       Create an endpoint group
   rm, delete   Delete an endpoint group
   ls, list     List endpoint groups
   help, h      Shows a list of commands or help for one command

OPTIONS:
   --help, -h   show help

vagrant@netplugin-node1:~$

should netctl rule add also be changed to netctl rule create ??

LGTM.
@vijayvikrant IMHO "rule add" is more natural than "rule create". idea being rule is being added to an existing policy. Basically, you are 'creating' a policy and 'adding' rule to a policy.

@shaleman - I understand, however consistency will prevail and so keeping it to rule create

@jainvipin @shaleman In that case, I will change it to rule create and have rule add as an alias.

SGTM @vijayvikrant

@jainvipin @shaleman I have made this change for rule create. PTAL

LGTM


Nuke CTRL and Debug tab

To access Flojoy-studio build from this pull request, you can use the following URLs:
Windows installation: http://627_windows.flojoy-test.com:3000
Linux installation: http://627_linux.flojoy-test.com:3000
Please note that it may take a few minutes for the instance to start up, so please be patient.
It is important to know that the instance will automatically shut down after 4 hours to conserve resources. If you wish to start the instance again after it shuts down (or restart it to pickup new changes), you can use this API :
Windows: https://kgpsoscpc4q52d4mtwuu7jhvie0qdiso.lambda-url.us-east-1.on.aws/start_instance?instance_id=i-06e2d033f073aaa6a&domain=627_windows
Linux: https://kgpsoscpc4q52d4mtwuu7jhvie0qdiso.lambda-url.us-east-1.on.aws/start_instance?instance_id=i-0f393b4342b4b4734&domain=627_linux


Accessibility / Semantics

First. Thank you for this wonderful library!
The issue I'm having is in regards to accessibility. The semantics of some fields are all squished together.
After adding RendererBinding.instance.setSemanticsEnabled(true) and running with flutter run -d chrome --profile --dart-define=FLUTTER_WEB_DEBUG_SHOW_SEMANTICS=true, this is what I get:

Hi @UNIcodeX! The image is blurry. But I don't think it's a problem. I'm solving another task and then I see this ok?

Hello. Yes, the image is blurry for the reason that it's a screenshot of live data. The coloration should be enough to see what is happening.
Thank you for taking a look at this issue.


[BUG] Cannot reach load docs - openapi spec not found (swagger/redoc) when using root_path and no proxy

First check

[x] I added a very descriptive title to this issue.
[x] I used the GitHub search to find a similar issue and didn't find it.
[x] I searched the FastAPI documentation, with the integrated search.
[x] I already searched in Google "How to X in FastAPI" and didn't find any information.
[x] I already read and followed all the tutorial in the docs and didn't find an answer.
[x] I already checked if it is not related to FastAPI but to Pydantic.
[x] I already checked if it is not related to FastAPI but to Swagger UI.
[x] I already checked if it is not related to FastAPI but to ReDoc.
[x] After submitting this, I commit to one of:

Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.
I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.
Implement a Pull Request for a confirmed bug.

Example
Here's a self-contained, minimal, reproducible, example with my use case:
import fastapi

api = fastapi.FastAPI(root_path="/api")
router = fastapi.APIRouter()
api.include_router(router, prefix="/v1")

uvicorn main:api --reload --debug
Description

Open the browser and call the endpoint /docs.
It returns the swagger doc but with an error, "Not Found /api/openapi.json"
I see in my terminal 2 requests, the second being a call from swagger.

INFO:     <IP_ADDRESS>:43074 - "GET /api/docs HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:43074 - "GET /api/api/openapi.json HTTP/1.1" 404 Not Found

The docs pre-empts this problem here but doesn't suggest a fix beyond the assumption that the reason for root_path usage is that a proxy is involved. What about the normal use case of serving the api under some common prefix, without a proxy in front?

@Kludex is aware

As you've found, root_path is specifically for when your api is being served behind a proxy. If you just want to prefix it, have it be a router mounted at a prefix

Yarp, thanks. You can't set a prefix on the application's base router - maybe that can be changed?

@bluenix2 provided a fix for this in this PR; https://github.com/tiangolo/fastapi/pull/2950

I don't see any bug to fix, this is the expected behaviour, this could be a feature request, that being said,  i'm not sure the provided PR is going to be accepted though.

Thanks for the help here @Mause and @ycd ! 👏  🙇
Yep, this would be the right solution:
from fastapi import FastAPI, APIRouter

# Do not add path operations to the app directly
app = FastAPI()
# Add the top level path operations to the top_router
top_router = APIRouter(prefix="/api")
sub_router = APIRouter(prefix="/v1")
top_router.include_router(sub_router)
app.include_router(top_router)

It's quite a corner case, so it wouldn't really make much sense to have it as part of FastAPI itself at the top level and add another keyword argument.

If that solves the original problem, then you can close this issue ✔

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


add webinar link to host activation email

My thinking is ideally we want users to open a new tab in their browsers when opening these links. Therefore I suggest the following changes. smile
@Betree : Let me know if you think otherwise. smile

Adding that to emails does not seem necessary, most clients automatically open emails in new tabs. And even if some of them don't, I don't think it's our role to override links default behavior here, see https://uxdesign.cc/linking-to-a-new-tab-vs-same-tab-f88b495d2187:

The only time it is recommended that you open a link in a new tab is when opening in the same screen would interrupt a process (e.g. when a user is filling out a form or viewing a video).

Most people know they can middle-mouse-click or right-click> "Open in a new tab" if they need to.
We currently don't do it in our other templates, so I would stick for consistency.

@Betree : Sure thanks for the feed back; so let us stick to not adding those. 👍🏽