Confusion over release source and compiled artifacts

Hi there,
Sorry to bother you again with compilation issues, but I am still struggling a little with the Arch Linux PKGBUILD, and I think I have tracked this down to an inconsistency in the tagging. So the latest tag, 2.3.0-alpha, has a release here on Github : https://github.com/onset/lameta/releases/tag/v2.3.0-alpha which is bound to commit https://github.com/onset/lameta/commit/774f5029727602934b332d839cca771e97381273
Except that when one inspects the workflow that produces the artifacts tied to that release, here : https://github.com/onset/lameta/actions/runs/8329699476/job/22792651096#step:3:400 we see that it is in fact using commit https://github.com/onset/lameta/commit/05711bf10a8100fdb83e1b7a7bc823624832216f which is not on master but is the HEAD of https://github.com/onset/lameta/commits/V2/ branch.
The problem that this causes, in my mind, is that the source code that is attached to the release, which one can obtain by clicking on https://github.com/onset/lameta/archive/refs/tags/v2.3.0-alpha.zip, is not the source of the actual release, but the source of a different commit, the one which the release is attached to, namely HEAD on master branch.
This is probably something that needs tweaking in the workflow .yml file, but Github actions aren't my strong suite.
Anyhow, just thought I'd let you know there is something up there. I hope I have explained what I mean clearly.
Best regards,
Mark.

Sorry about that. Tag fixed.


[recipe] mul_cn and unified char and bpe data format

https://github.com/kaldi-asr/kaldi/pull/4433
maybe this pr is useful for speed up stcmds data prepare


Invalid nested parameter format

The JSON code
"param1" : [1,2,3],
"param2" : {"${param1}" : "value"}

causes the following error message:
'Invalid nested parameter format: {"${param1}"'
What is an invalid format in this case? This error message makes no sense. This does not help.
Expected is an error message telling, that it's not allowed to substitute parameters of composite data types in dictionary key names.

Hello Holger,
Thank you for your finding, I will update and handle an error message for this case.
Thank you,
Son

Retest failed.
Error message changed to:
'Could not set variable '[1, 2, 3]' with value 'value'! Reason: cannot assign to literal (, line 1)'!
This makes no sense.
Expected is an error message telling, that it's not allowed to substitute parameters of composite data types in dictionary key names.

Hello Holger,
Thank you for your finding, I will update the error message.

removed "fix in review" state.

Hi @namsonx ,
what is the status of this ticket?
Thank you,
Thomas

Hello Thomas,
I created new commit 0ec343e007 to update the error message log as Holger mentioned.
Thank you,
Son

Hello Holger,
This ticket was fixed with the latest commit on stabi branch.
Thank you,
Son

Retest successful. Issue can be closed.

merged to develop branch

solved with version 0.10.0


keyboard command not working - try reinstalling or check the logs here

i have tried run keyboard commands on my mac those are not working in my laptop i have given all permissions for vs code still those are not working can some one fix my issuse ?     thanks in advance

Hi @sanikommurakeesh is Java installed? OpenJDK 8 minimum or Java 8 minimum is needed. You can try following the setup instructions again here to see if it helps. https://tagui.readthedocs.io/en/latest/setup.html#macos-linux
Also, can you check what is in the logs in tagui/src/tagui.sikuli folder?

麻烦请问， 这种情况是什么原因造成的？感谢

Oh can't find python. I think it's because python 3 command is python3 not python. You look for this file tagui/src/tagui and edit it. Replace the python command with python3

哦，找不到python。我认为这是因为python 3命令是python3而不是python。你找到这个文件tagui/src/tagui并编辑它。将python命令替换为python3

感谢您， 这个问题已经解决， 还有一个问题想咨询一下您， 是关于定位命令 ， 如果定位命令的参数使用的是img的情况下是否需要安装visual automation？如果需要能否提供一下文档或者程序地址？

Oh can't find python. I think it's because python 3 command is python3 not python. You look for this file tagui/src/tagui and edit it. Replace the python command with python3

十分感谢您


Support custom registry configuration

Describe what this PR does / why we need it
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

LGTM needs test


⚠ Bofrost.at has degraded performance

In 1953c4c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1458 ms

Resolved: Bofrost.at performance has improved in 10c3a16 after 6 minutes.


[DO NOT REVIEW]: Debug 4 Regression Introduced Through GEODE-8119

Hello @mkevo,
This is just a draft PR to reproduce the regression introduced through GEODE-8119.
We can use this PR or the ticket for communication purposes, whatever you prefer.
Thanks in advance!.

I tried to run it and it failed with:
[Could not find: "/tmp/junit5454972723589376526/diskDir2/BACKUPtestDisk.if, /tmp/junit5454972723589376526/diskDir3/BACKUPtestDisk.if"
] expected:<[OK]> but was:<[ERROR]>

Also I tried to run it locally on the gfsh(without my changes) and see that if you create disk-store with multiple dirs added it will create this .if file only in first dir, and when doing validate it can't found it in other dirs.

@mkevo
I know that having one single directory per disk-store avoids the issue entirely, but having multiple directories per disk-store is a supported configuration and it's also what one of our internal test scenarios is doing, that's why your commit for GEODE-8119 was flagged in the first place, it caused all those test to fail with the exception:
[Could not find: "/tmp/junit5454972723589376526/diskDir2/BACKUPtestDisk.if, /tmp/junit5454972723589376526/diskDir3/BACKUPtestDisk.if"
] expected:<[OK]> but was:<[ERROR]>

I added the DistributedTest to this PR so you can reproduce the issue we internally see. In fact, if you take the same test and run it on the current develop branch (which doesn't include your changes for GEODE-8119) everything works just fine.

Yes, It was my mistake, I run it on develop but my local develop branch has my changes. :(
What I found that the problem is in change of this method: validatedDirectoriesAndFile.
Before it only checks if dir name is valid, but if you set wrong name thread will not shutdown.
So I add check name also and don't start thread if it name is not valid.

I will change this validatedDirectoriesAndFile method to check if dirs exist and if yes check if .if file exist in one of them. I tried some proof of concept and it works. Is it ok?
This is what I tried, but need to do refactoring on it:
  static String validatedDirectoriesAndFile(String[] diskDirs, String name) {
    String invalidDirectories = null;
    StringBuilder builder = null;
    File diskDir;
    File diskFile = null;
    int counter = 0;
    for (String diskDirPath : diskDirs) {
      diskDir = new File(diskDirPath);
      diskFile = new File(diskDirPath, "BACKUP" + name + IF_FILE_EXT);
      if (!diskDir.exists()) {
        if (builder == null) {
          builder = new StringBuilder();
        } else if (builder.length() != 0) {
          builder.append(", ");
        }
        builder.append(diskDir);
      } else if (diskFile.exists()) {
        counter++;
      }
    }
    if (counter == 0) {
      if (builder == null) {
        builder = new StringBuilder();
      } else if (builder.length() != 0) {
        builder.append(", ");
      }
      builder.append(diskFile);
    }
    if (builder != null) {
      invalidDirectories = builder.toString();
    }

    return invalidDirectories;
  }

Hello @mkevo ,
I'd say that the best approach would be to open a new PR with your original changes + the fix + extra tests (the original PR didn't have much testing added) so members of the community can review it.
Once the PR is opened, also, I can go ahead and run some tests using our internal scenarios to see how it behaves compared to the original commit that caused the failiures.
Hope that works for you.


sysbuild: use relative path for portable

in the sysbuild cmake the output domians.yaml is asb path, but if we move the test pacakge to another machine this would be a problem, so change it to rel path.
Also use os.path.join in domains in build_helper.py

build test:

 ./scripts/twister -p mimxrt1060_evk --prep-artifacts-for-testing --package-artifacts twister_test_only.tar.gz -T tset/boot/test_mcuboot

run test:

unzip the twister_test_only.tar.gz
tar cvf twister_test_only.tar.gz
run command line:
${ZEPHYR_BASE}/scripts/twister --device-testing --hardware-map <your local map file> --test-only

Moving the build folder to another machine is not a supported operation

What do you mean? Can you elaborate? It is quite a needed possibility for testing. Example: a company have access to many build nodes, i.e. servers optimize for building. Such servers can have a basic setup without any hw connected. Those can even be  on-demand cloud servers. Then, an execution stage is performed. It does require a special test node, with specific hw connected. The artifacts (images and configs) are downloaded from the previous stage and twister is called in --test-only mode, where it is not building anything. This can vastly optimize the execution. It is already possible and happening with regular tests. I don't understand why you're saying it is not supported.

Moving the build folder to another machine is not a supported operation

with this PR, it is supported now.

@nashif can you help to check and merge this, this fix a test issue whcih match file line number in test report.

@nashif can you help to check and merge this, this fix a test issue whcih match file line number in test report.

No absolutely not, as a contributor to sysbuild I am blocking this PR.

No absolutely not, as a contributor to sysbuild I am blocking this PR.

@nordicjm may I know why you block it? this feature is supported as I showed above, and sysbuild need this PR to get alignment.

I don't understand what you're trying to describe in the commit message for https://github.com/zephyrproject-rtos/zephyr/pull/64551/commits/230b2e6f7a1f321e3b48c3bcbc108739c35c5eb8:
1. in domains setting, each domain should withih the build/dir
this is required by portal.so update the case with this constrains
2. remove runner testing line No. check

could you please rephrase, so that I can compare the commit message to the changes.

@tejlmand , thanks a lot for your detailed explanations, please see my feedback on your concerns.

What I believe @nordicjm is refering to #64551 (review) is the fact that CMake by design uses absolute paths and does not support relocating a build folder to another machine.
In this patch we do not change the CMake principle, actually we modify the testrunners.yaml and testplan when we try to wrapped it. So I do not see risk here. and as sysbuild has to use west flash so when we do this change and move the package to anopther machine, we do not use CMake anymore.

Starting to assume certain parts of the build folder is relocatable is a dangerous assumption, cause what can a user expect to be able to relocate ?
It is warrped by twister scripts, and with this change we can move pacakge to another run machine and run twister with. User can think anything. per my understanding, this is a workaround to CMake defects(even by design). we can somehow document this.

To me, it appears that twister tries to do similar to CPack (based on the arguments: -prep-artifacts-for-testing --package-artifacts twister_test_only.tar.gz) but in a way which is unknown and hidden from the build system.
when we do this, the following steps is done by west flash as documented in sysbuild, so there is no build system involved anymore.

This means, I as build system maintainer have zero knowledge of which files must be kept in relative path, and that is not good. I wonder why we are inventing a custom packaging mechanism inside twister ?
Because we need this feature for our testing system to test sysbuild, we inverst on what we need, and we are acting as testing working group to maintain this in twister. Otherwise, there is no way to test the sysbuild with server/run machine mode. Beside CPack is another new package it could be phased out, or changed totally, it just out of twister's control, so if we are able to use a small code to keep it for our usage, I do not see any objection to do this way.

Besides the above, my main reason for not approving this PR is the fact that sysbuild in future will support pre-built binaries.
Such binaries could be a blob provided through a Zephyr module which contains specific firmware to flash.
Cases currently handled by embedding the binary into the Zephyr image, but an alternative is to flash such binaries independently, especially for multi-core SOcs.
the problem is how far the future will be? we need this feautre now, I can definitly revert it if there is a better solution. and I find you make things complex, seeing from sysbuild it just read the domains.yaml and runners.yaml, and decide what to flahsh from where, this is a pure data driver actions(Thanks to good disgn in sysbuild), if sysbuild keeps the data driven design, why we need to design another mechnism just to update the relative path? The blob firmware path can be varied for exmaple, there is a porprietary version of same fw that need to be tested, a simple step is to just modify the domains.yaml and update the path, no build system can ever cover all requirement, we need have flexibilities.

But a CMake packaging tool would have such knowledge and could 1) include the referenced binary, 2) adjust abs paths to rel paths where needed.
As I said, if sysbuild keeps data driven way, we can use any mothed to update the data, not only rely on CMake, which is not deigned only for zephyr. if a plugin is required, why just support the data updates in twister like we do here?

I don't understand what you're trying to describe in the commit message for 230b2e6:
1. in domains setting, each domain should withih the build/dir
this is required by portal.so update the case with this constrains
2. remove runner testing line No. check

could you please rephrase, so that I can compare the commit message to the changes.

this is just to make the test compatible with what we changed, I will rephase it.

In this patch we do not change the CMake principle, actually we modify the runners.yaml and domains.yaml when we try to wrapped it. So I do not see risk here. And as sysbuild uses west flash to flash, so when we do this change and move the package to anopther machine, we do not use CMake anymore.

This is not true, doing west flash will call cmake

This is not true, doing west flash will call cmake

@nordicjm it only search for a CMakeCache.txt, it will not call cmake

This is not true, doing west flash will call cmake

@nordicjm it only searches for a CMakeCache.txt, it will not call cmake. it is based on Cmake result, but not call CMake again.

So here's what happens when you configure a build and build on one machine:
in zephyr/sample/hello_world
mkdir build
cd build
cmake -GNinja -DBOARD=nrf52840dk_nrf52840 -DAPP_DIR=.. -DSB_CONFIG_BOOTLOADER_MCUBOOT=y /tmp/aa/zephyr/share/sysbuild/
ninja
cd ..
tar cf out.tar build

Then when you switch to another system:
scp blah@blah:blah/out.tar .
tar xf out.tar
cd build
west flash

-- west flash: rebuilding
[0/1] Re-running CMake...
Loading Zephyr module(s) (Zephyr base (cached)): extensions sysbuild_extensions python west root zephyr_module boards shields sysbuild_kconfig
-- Found Python3: /usr/bin/python (found suitable version "3.11.5", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /home/jamie/.cache/zephyr
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf52840dk_nrf52840
Parsing /tmp/aa/zephyr/share/sysbuild/Kconfig
Loaded configuration '/tmp/aa/zephyr/samples/hello_world/_AA/zephyr/.config'
No change to configuration in '/tmp/aa/zephyr/samples/hello_world/_AA/zephyr/.config'
No change to Kconfig header in '/tmp/aa/zephyr/samples/hello_world/_AA/autoconf.h'
--
   *********************************
   * Running CMake for hello_world *
   *********************************

Loading Zephyr default modules (Zephyr base (cached)).
-- Application: /tmp/aa/zephyr/samples/hello_world

So yes, it does

So yes, it does. The application gets reconfigured and rebuilt.

@nordicjm , there is an error in your last step, we do not call west falsh, but call west flash --skip-rebuild

@mbolivar-ampere @PerMac @nordicjm can you revisit this. I have updated according to your comments

the problem is how far the future will be?

Until those who need the feature opens a PR.
Already today there are support for binary blobs, and I know there are users who looks at how to have those part of sysbuild.
Currently such blobs may be merged into the zephyr binary.
As there do exists alternative then I don't know the exact prioritization for extending sysbuild for those who need the feature.

we need this feautre now, we can definitly revert it if there is a better solution.

I understand your urgent need, and having someone utilizing sysbuild and proposing improvements is surely a very good thing and highly appreciated.
However, I also get concerned with statement like this, because contributors has little incitement to change things if things are working for them, meaning such a change would likely put burden on someone else to further improve the design later.


Command failed when i try generator

Hi, i have this error when i try run npx prisma generate, I can run with the md extension but when I try to use png or svg this error occurs

Hey @lokize this might be a duplicate issue so could you share your OS, node version, and do some validation to see if that path to mmdc engine exists?
/root/developer/Exp/Area-do-Cliente-Ceres-Sistemas/node_modules/.bin/mmdc

thanks for help, yes the path exists, when i try gerenate with extension ".md" this worked

That’s the confusing part. When you run with the output file as .md it skips calling that script because we’ve already translated the prisma dml to mermaid and it gets written straight to file. Any other formats get run through this script. Do another check to make sure that exists in the directory

i check again and the folder and path exists...

Okay cool. Go ahead and enable debug mode  and take a look at your generated mermaid file in step 3 outputted to prisma/debug/3-.... If it works in markdown it should work through the mermaid CLI so try to call the CLI manually and ensure it generates your svg/png etc. They don't really show much for debugging if it fails in the CLI. Depending on if you get through manually calling the CLI we would keep troubleshooting or open an issue with mermaid cli.

Share your OS and node version as well. Most of these fails are happening for windows users

i using wsl2 with CentOS9 Stream, nvm with nodejs v16.16.0

Same error here, I ran the command manually and it seems to be a puppeteer issue.

I ran:
sudo apt-get install -y libgbm-dev
And now I get this error:

Node Version: v16.17.1
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

So what worked for me was following the mermaid readme:

I made this file and added it to my manual command.

I had the same problem as the author of the issue, I use Windows 11 with WSL2 (Ubuntu 22.04.1 - <IP_ADDRESS>-microsoft-standard-WSL2) and I didn't have any special characters or spaces in the path, everything was resolved when I installed the lib " libasound2", don't ask me what this library has to do with an svg generator, but as I said, that's what solved it.

I've tried averything above and what worked for me was:
sudo apt-get install libxkbcommon-x11-0
I'm using Win10 WSL2 Ubuntu22.02
Node v18.12.0

i've tried your solution @pmdpaula and @Sephyros  but both didn't worked for me, i'm still getting the same error. there's another thing that i can try to do to solve this error?
i'm using windows 11 with WSL Ubuntu v22.04.1, nvm with node v18.12.0

i solved already. i guess it was a duplicate module issue with the prisma generator-helper. i just had to remove the module, run yarn install and then ran again npx prisma generate.
so if anyone is having this same issue maybe try to do the same.

i solved already. i guess it was a duplicate module issue with the prisma generator-helper. i just had to remove the module, run yarn install and then ran again npx prisma generate.
so if anyone is having this same issue maybe try to do the same.

It didn't work for me. I've tried it before.

I experienced a similar issue but my error cause (and also fix) was different. I ran the failed command myself to see what is the error.
Error: Could not find expected browser (chrome) locally. Run `npm install` to download the correct Chromium revision (1045629).
    at ChromeLauncher.launch (file:///Users/emanueltesar/vacuumlabs/api3/oev-relay/node_modules/puppeteer-core/lib/esm/puppeteer/node/ChromeLauncher.js:64:23)
    at async run (file:///Users/emanueltesar/vacuumlabs/api3/oev-relay/node_modules/@mermaid-js/mermaid-cli/src/index.js:343:19)
    at async cli (file:///Users/emanueltesar/vacuumlabs/api3/oev-relay/node_modules/@mermaid-js/mermaid-cli/src/index.js:138:3)

and the fix that worked for me was: https://stackoverflow.com/a/60843949

I still have this problem only work with md extension when i try using png, pdf or svg not worked.

On MacOS, this just seemed to be a permissions issue and the command worked (after previously failing) but just using sudo.

sudo apt-get install -y libgbm-dev
Above command fixed my problem.

Did everyone find a resolution on this? As far as I'm seeing it, puppeteer support for node v18 is not there yet. As a workaround we can run the generator and utilize markdown export only.
Options

Downgrade to node v16
Export to .md file
Try various install suggestions to get node 18 working or update libraries on your computer
libgbm-dev, libxkbcommon, etc.

I just got this error today.
Windows 10, Node 19.8.1.
Was working yesterday and today I got the same issue as above. No changes to my system, just to my schema.

I got the same error too.
It was Mac OS, Node 18.
After reinstalling Chromium it worked fine.
On M1Mac I had to run xattr -rc /Applications/Chromium.app.
When executing the command, it acted like it was trying to start Chromium, so I reinstalled it and executed the above command.
I don't know why this solved the problem.
Is Chromium required to run this library?

@lokize were you able to figure a solution? This issue turned into a good troubleshooting guide of ideas for each OS. I might pin it for reference

For Windows11 and wsl2.
The transition from version 1.8.0 to 1.11.0 caused an error in generating the svg file, creating my own puppeteerConfig.json solved the problem:
schema.prisma
generator erd {
  provider        = "prisma-erd-generator"
  output          = "./ERD.svg"
  puppeteerConfig = "./puppeteerConfig.json"
}

puppeteerConfig.json
{ "logLevel": "error" }

@nicel3d's solution worked for me and was straightforward!
here's my config
generator erd {
provider        = "prisma-erd-generator"
puppeteerConfig = "./prisma/puppeteerConfig.json"
}

I'm getting errors in my GitHub workflow too. Works fine locally on my Mac:
> prisma generate

Prisma schema loaded from prisma/schema.prisma
Error:
✔ Generated Prisma Client (v5.2.0) to ./prisma/generated/prisma-client in 186ms

Command failed: "/home/runner/work/redacted/redacted/node_modules/.bin/mmdc" -i "/tmp/prisma-erd-wvWwyT/prisma.mmd" -o "/home/runner/work/redacted/redacted/prisma/generated/ERD.svg" -c "/tmp/prisma-erd-wvWwyT/config.json" -p "/tmp/prisma-erd-wvWwyT/puppeteerConfig.json"

 ELIFECYCLE  Command failed with exit code 1.

My prisma.schema includes:
generator client {
  provider = "prisma-client-js"
  binaryTargets = ["native", "rhel-openssl-1.0.x", "debian-openssl-1.1.x"]
  output = "./generated/prisma-client"
}

generator erd {
  provider = "prisma-erd-generator"
  output = "./generated/ERD.svg"
}

I get that same error when trying to build it on vercel. Works locally though

I get that same error when trying to build it on vercel. Works locally though

@cyrus-za Do you need or want it to run on the build within vercel?
@akd-io for you and @cyrus-za we need to work backwards to see if mmdc exists, then enable debugging logs to see why the command is failing.
If you are okay with just publishing to the git repository I recommend adding ERD_DISABLE to the github job or the vercel build job. On the off chance you're trying to serve the SVG within the project you do probably need it in which I'd recommend going down that mmdc location and log enabling route.

yes trying to serve the svg on a standalone vercel project that run within the same monorepo. That way we always got an up to date svg hosted at a url that we can open during architecture meetings


Hope to have vs code version

+1

+1

Unfortunately it's a completely different codebase and this was just a fun little side project.  It's not likely that I'll find the time to write one for VS Code I'm sorry


Loaded AruCAM_Mini_5MP_4Cams_TimeElapse2SD on UNO

Lee,
I am having trouble with the 4  ArduCAM Mini adapter board.
I have made the appropriate changes to memorysaver.h and have loaded this program onto the Arduino but nothing saves to the SD card once its plugged in. I have hit the capture button but I do not see any activity. The SD card light blinks when I press the button on the Arduino.  I have also tried to run the ArduCAM_Mini_OV5642_4Cams_Burst program and running the ArduCAM_4CAM.exe application. I can see the correct COM but when I go to test it the application freezes and nothing happens. Any guidance is appreciated.

Hello - How many cameras are you using?  I had a similar problem. It seems that the cameras use a great deal of power.  You will need to connect the mini-usb port to power supply 2amp or another port on the computer.  It was recommend to use one camera at a time to validate them
Steven


I can't disable push messages

I enabled push messages and now I can't disable them. I tried to refresh cache browser, etc but push messages are enabled each time I check them. Doesn't mind if I vary "target for push messages" option.

I also have this issue on the same section of Alarmo, but with the enable siren device.
I can change the device to be triggered and it saves the changes but not for enabling the siren device. That is stuck as enabled now - same as @Sag06 with the push messages checkbox.

Please try out v1.1.0.
It should solve this issue.
As for siren devices: they are not implemented yet.. Will come in a bit.

Great I'll try it today and report back.
By the way - keep up the good work. This is literally the perfect replacement for BW Alarm and is everything I could have hoped for that the manual alarm cannot provide.

Can confirm push notification enabling and disabling works.
I see you have removed the switching functionality :) eagerly awaiting this so I can manage it from UI and get rid of yet another automation in YAML.

I see you have removed the switching functionality :) eagerly awaiting this

Sorry, what do you mean with this?
I have no intentions of removing features..

Ah.
Before there was the option to enable a siren but it was stuck as enabled after the first time enabling it.
You stated that switching functionality was coming later, I thought you had left it in the other release as a mistake because now it says coming soon

Oh that.
Yup, it will roughly look the same as the notification UI.
But I didn’t find the time yet for making and testing it.
Its high on my agenda though.

I'm closing this issue because the issue is resolved.
Feel free to open a new item if you are missing some functionality.


Lidarr - Import ...

orgarr-plex.css
lidarr version <IP_ADDRESS>3
Looks like the selector isn't correct?

Thanks!
Fixed on https://github.com/gilbN/theme.park/commit/7bcc87d45c37de14347ce040b001f3f00de955f6


fix(versions): update Activiti/activiti-dependencies versions into develop

UpdateBot pushed maven dependency: org.activiti:activiti-core-dependencies to: 7.1.132

UpdateBot commands:
updatebot push-version --kind maven org.activiti:activiti-core-dependencies 7.1.132 --merge false


Compile in support for all current ROCm cards

Description of changes
Compile in support for all current ROCm cards.
Without this change, although setting nixpkgs.config.rocmSupport = true; does cause ROCm support to be compiled for, it does not actually include the drivers needed to utilise the various GPUs supporting ROCm.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

Just to comment for posterity: if someone using this hits a nix error like the one below, the solution is to update nixpkgs. (The rocmSupport config attribute is a relatively recent addition.)
       error: attribute 'rocmSupport' missing

       at /nix/store/b84plf9ixqp54a8bjkixbsbkzkszjvsw-source/.devops/nix/package.nix:27:13:

           26|   useOpenCL ? false,
           27|   useRocm ? config.rocmSupport,
             |             ^
           28|   llamaVersion ? "0.0.0", # Arbitrary version, substituted by the flake
warning: unknown setting 'rocmSupport'

@dit7ya / @elohmeier: I'm very new to NixOS. Do either of you know what needs to be done to get this merged?

The change you are proposing here got merged through another PR, which made the llama-cpp build look more like the Flake in the upstream repo.
I'm sorry your proposed change did not get more attention.
It can be difficult for individual contributions to get noticed by the right people, because of the volume of PRs for this repo.
In case you want to contribute again in the future I have a few tips that help get your PR seen by the right people:

Please follow the established conventions, they lead to a tidy contribution that's easier to find and manage

Following the PR naming convention of putting the changed package in front makes it easier for people to find your PR
(e.g. llama-cpp: compile in support for all current ROCm cards).
Similarly, following the conventions for commit messages saves time and back and forth with reviewers.

When your PR is ready for review add the package maintainers to the reviewers in the Review panel on the right and side and request a review from them. If you don't get any attention from them try adding some recent/frequent contributors to the package in question.
You can also try posting your PR in the Ready for review thread on Discourse


how to use record.set to push a value for an array?

My goal is to push a value to an array in RethinkDB,
I tried to do so by getting the array from record, push to it, and set it again, but this would result into record.subscribe not to be called, but only for the first time..
However, I can incrementally add a string as the following:
record.whenReady(function(){
record.set( route_key, {route: data[route_key].route+"."+$("#result").val(), time: new Date() } );
}

and record.subscribe will still work normally ..
This will not work if I have an array: (record.subscribe not to be called, but only for the first time)
record.whenReady(function(){
data[route_key].route.push($("#result").val());
record.set( route_key, {route: data[route_key].route, time: new Date() } );
}

Hi @hopewise ,
sorry for the delay, this took a moment to figure out. I think here's what's happening:
Whenever you set a path on a record, deepstream does a deep comparison between the previous value and the value you're setting. If they are the same, nothing happens.
Whenever you retrieve a path, deepstream returns a copy of its data, rather than the data itself.
However, assuming that you've retrieved your data previously, it doesn't create another copy when setting a value.
Phew...ok, so how does this relate to the problem you're experiencing?
data[route_key].route is an array that you keep outside of your record. The first time you set it as a value, deepstream recognizes it as an update and notifies its listeners. The next time you set the same array as a value, but deepstream already holds a reference to that array (which, as its the same array has already changed when you pushed something into it). Deepstream's deep equals check returns true and no update is made.
You can immediately fix your problem by just adding slice(), e.g.
record.whenReady(function(){
	data[route_key].route.push($("#result").val());
	record.set( route_key, {
		route: data[route_key].route.slice(),
		time: new Date()
	});
});

But I also accept that this behavior can be counter intuitive, I'll raise an issue to add a guard to the client library

This should be resolved by the latest release of the client library (0.4.2). Please re-open if issue still exists


Including and checking the repo urls for non-github repos

Ensure Cross-Platform Compatibility: Verify and adjust the current logic used for parsing owner/repository information from GitHub repositories to ensure compatibility with other repository hosting platforms.

working on gitlab.com domain --> In gitlab there might be subgroups and then the name of the repo https://gitlab.com/technostructures/kazarma/kazarma for these scenarios, I will need to change the function
get_base_repo_url to return the correct output

atm the output of get_base_repo_url('https://gitlab.com/technostructures/kazarma/kazarma') is 'https://gitlab.com/technostructures/kazarma'

for codeberg there are about 8 repos with owner but not a specified repo although when I check the repourl, I can see lots of repos there --> https://codeberg.org/interpeer or https://codeberg.org/forgejo

repos in code hosting platform [invent.kde.org](http://invent.kde.org/) do not need any changes in the code. They all have owner/repo

framagit.org platform : only one repourl doesn't have a specific repo https://framagit.org/incommon.cc . When I checked the website, it has Subgroups and projects section. All of them seems t be related to the nlnet project

for git.savannah.gnu.org/ it's interesting as the majority of repos ends with .git which atm is being removed from the repourl to get the base repourl. This needs to be fixed. -get_base_repo_url('https://git.savannah.gnu.org/cgit/mes.git') returns https://git.savannah.gnu.org/cgit/mes which is not correct

Amended the function to handle these cases:
--> gitlab --> get_base_repo_url('https://gitlab.com/technostructures/kazarma/kazarma') returns the correct url: 'https://gitlab.com/technostructures/kazarma/kazarma'
--> codeberg --> get_base_repo_url('https://codeberg.org/interpeer') returns None
--> git.savannah.gnu.org --> is now returning the correct repourl: get_base_repo_url('https://git.savannah.gnu.org/cgit/mes.git') --> 'https://git.savannah.gnu.org/cgit/mes.git'

continuing with other hosting platforms

git.sr.ht --> do not need any changes in the code. They all have owner/repo

pagure.io --> do not need any changes in the code. They all have owner/repo

notabug.org --> do not need any changes in the code. They all have owner/repo

git.irde.st --> do not need any changes in the code. They all have owner/repo - Same rep for 3 nlnet page

devel.ag-projects.com --> do not need any changes in the code. They all have owner/repo

code.briarproject.org --> do not need any changes in the code. They all have owner/repo

source.symbolic.software --> do not need any changes in the code. They all have owner/repo

savannah.gnu.org --> do not need any changes in the code. They all have owner/repo

gitlab.gnome.org --> do not need any changes in the code. They all have owner/repo

gitlab.shinice.net --> do not need any changes in the code. They all have owner/repo

git.torproject.org--> added "git.torproject.org" tohosts_with_mandatory_git_suffix = ["git.savannah.gnu.org", "git.torproject.org"]`

gitlab.torproject.org -->  it has sybgroups and reponame comes at last :https://gitlab.torproject.org/tpo/network-health/sbws and sbws should not be removed --> ameded th code accordingly

gitlab.lip6.fr--> do not need any changes in the code. They all have owner/repo

https://git.marginalia.nu --> has been moved to github 'https://github.com/MarginaliaSearch/MarginaliaSearch`

*** http://cgi.repo.hu/cgi-bin/minisvn.cgi?cmd=browse&repo=sch-rnd&path=trunk --> Not sure how we can clone this

git.taler.net --> added git.taler.net to hosts_with_mandatory_git_suffix

gitlab on it's own has 41 repos but I found gitlab.shinice.net: 2 and gitlab.gnome.org: 2 which can be merged to the gitlab df if required

I expand test coverage for get_base_repo_url with multi-platform scenarios:

Tests for nested group URLs on GitLab and Framagit, validating the correct  parsing of complex repository structures.
Tests for Codeberg and Framagit, checking the function's response to URLs that do not specify a repository.
Specific checks for platforms that retain the .git suffix in the repository URL, ensuring the function does not incorrectly strip essential parts of the URL.

hyperglitch.com --> does not need any changes in the code. They all have owner/repo
gti.telent.net --> does not need any changes in the code. They all have owner/repo
code.mro.name --> does not need any changes in the code. They all have owner/repo
git.deuxfleurs.fr --> does not need any changes in the code. They all have owner/repo
hg.sr.ht--> does not need any changes in the code. They all have owner/repo
hydrillabugs.koszko.org--> the repourl is https://hydrillabugs.koszko.org/projects/haketilo/repository/ which gives 403 error Forbidden You don't have permission to access this resource. -
Added this domain to 'direct_path_platforms'
tahoe-lafs.org --> the repourl goes to the README. https://lumosql.org/src/lumosql/doc/trunk/README.md
git.gnunet.org--> There are several repourls :  https://git.gnunet.org/gnunet.git. https://git.gnunet.org/ https://git.gnunet.org/messenger-gtk.git/
https://git.gnunet.org/gnunet.git/log/?h=dev/thejackimonster/messenger ``.  Not sure how it would get cloned.
git.disroot.org --> There are 2 repourls one of them doesn't have any reponame but to the list of repos https://git.disroot.org/Lacre
source.mntmn.com --> does not need any changes in the code. They all have owner/repo
hosted.weblate.org --> the repourl is doesn't take us to the repo. Checking the nlnet website, the repo is https://invent.kde.org/network/kaidan
-igor2.repo.hu --> repourl goes to the whole project not a specific repo
bugs.otr.im --> does not need any changes in the code. They all have owner/repo
repology.org--> does not need any changes in the code. They all have owner/repo
www-soc.lip6.fr --> When opening the repourl it redirects from https://www-soc.lip6.fr/equipe-cian/logiciels/coriolis/ to https://largo.lip6.fr/equipe-cian/logiciels/coriolis/. On the nlnet webpage the repourl is diferent
https://gitlab.lip6.fr/vlsi-eda/coriolis this correct one is in another line in the original df. line 186
git.law --> does not need any changes in the code. They all have owner/repo
leap.se --> reporurl https://leap.se/en/source gives 404 Not Found . The requested URL was not found on this server.
2019-04-097,    https://nlnet.nl/project/bitmask,    https://0xacab.org/kali/bitmask-vpn --> Only this one is the repo
2019-04-097,    https://nlnet.nl/project/bitmask,    https://www.transifex.com/otf/bitmask-android/ --> 404 Not Found 2019-04-097,    https://nlnet.nl/project/bitmask,    https://leap.se/en/source --> 404 Not Found
salsa.debian.org --> does not need any changes in the code. They all have owner/repo
lab.nexedi.com --> does not need any changes in the code. They all have owner/repo
scm.cwi.nl --> does not need any changes in the code. They all have owner/repo
gitlab.uni.lu--> does not need any changes in the code. They all have owner/repo
redmine.replicant.us --> the second one takes us to the Replicant's source code. not sure how it will get cloned. --> Adding this to the direct_path_platforms
2019-02-115,https://nlnet.nl/project/Replicant-graphics,https://redmine.replicant.us/projects/replicant/wiki/Tasks_funding#Graphics-acceleration
2019-02-115,https://nlnet.nl/project/Replicant-graphics,https://git.replicant.us/replicant
gerrit.osmocom.org --> takes us to the repo . Not sure how it will get cloned. Added this domain to direct_path_platforms
git.europalab.com --> does not need any changes in the code. They all have owner/repo
gitlab.coko.foundation --> 2 projectreference, 1 repourl
projectref  ...                                           repourl
458  2022-02-068  ...  https://gitlab.coko.foundation/cokoapps/cokodocs
589  2023-04-093  ...  https://gitlab.coko.foundation/cokoapps/cokodocs
code.tvl.fyi --> different projectref  same repourl --> does not need any changes in the code. They all have owner/repo
projectref  ...                         repourl
361  2021-04-061  ...  https://code.tvl.fyi/tree/tvix
616  2023-08-262  ...  https://code.tvl.fyi/tree/tvix
source.mnt.re --> 2 different nlnet page same repo --> does not need any changes in the code. They all have owner/repo
projectref  ...                              repourl
271  2020-06-050  ...  https://source.mnt.re/reform/reform
577  2023-02-044  ...  https://source.mnt.re/reform/reform
code.podlibre.org --> 2 different nlnet page same repourl  --> does not need any changes in the code. They all have owner/repo
projectref  ...                                       repourl
229  2020-02-089  ...  https://code.podlibre.org/podlibre/castopod/
607  2023-04-128  ...  https://code.podlibre.org/podlibre/castopod/
git.fairkom.net--> does not need any changes in the code. They all have owner/repo
git.zx2c4.com --> There are 4 rows only one goes to the repo which has branches. Not sure how it would clone
projectref  ...                                            repourl
76   2019-02-167  ...  https://git.zx2c4.com/wireguard-linux/tree/dri  --> path not found
124  2019-04-121  ...            https://git.zx2c4.com/wireguard-windows   --> This goes to the repo
125  2019-04-121  ...     https://git.zx2c4.com/wireguard-windows/about/
160  2019-08-026  ...                https://git.zx2c4.com/wireguard-rs/
Amended the script utils/initial_data_preparation.py and add 2 columns to the original_df  :repodomain and base_repo_url


Document the list of available types supported by cdxgen

Extract out from this switch case
https://github.com/CycloneDX/cdxgen/blob/master/index.js#L5123
cc: @sahil3112, would you like to contribute a doc?

Hi @prabhu ,
I am unable to find the location where you compare whether the type submitted by the user is valid or not, I am only able to find for universal
https://github.com/CycloneDX/cdxgen/blob/b397baee86e346e90034a644a5bb40ab39580ddb/index.js#L3955

@sahil3112, there is no such validation yet. Is it time to add such a validation?

I think it will make sense to improve the user experience of will list all the applicable types.
if the user enters a type that is not valid then Cdxgen will be automatically generated SBOM with universal type?

Updated recently: https://cyclonedx.github.io/cdxgen/#/PROJECT_TYPES


Dabblet issue

Since last night and I get so many tabs on dabblet ,I cleared cache but nothing solved ,is there any suggestion to solve it ?

Probably best to report to dabblet…rather than jsbin.


latest release isn't latest

I am getting what seems like a common error: "token" parameter not in video info for unknown reason".  My log is below, which shows youtube-dl version 2<IP_ADDRESS>.  Your website says latest version is 2019.08.02.  When I install from your bins on your release page or from curl -L https://yt-dl.org/downloads/latest/youtube-dl  i get the same old january version.  so i think your "latest" bins just need to be updated.
Checklist

[x ] I'm reporting a broken site support issue
[no, see above ] I've verified that I'm running youtube-dl version 2019.08.02
[x ] I've checked that all provided URLs are alive and playable in a browser
[x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ x] I've searched the bugtracker for similar bug reports including closed ones
[ x] I've read bugs section in FAQ

Verbose log
$ youtube-dl --verbose https://www.youtube.com/watch?v=ciRrrC5OS6c
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.youtube.com/watch?v=ciRrrC5OS6c']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.15+ (CPython) - Linux-4.15.0-55-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6
[debug] Proxy map: {}
[youtube] ciRrrC5OS6c: Downloading webpage
[youtube] ciRrrC5OS6c: Downloading video info webpage
ERROR: ciRrrC5OS6c: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/home/merl/.local/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 793, in extract_info
    ie_result = ie.extract(url)
  File "/home/merl/.local/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 508, in extract
    ie_result = self._real_extract(url)
  File "/home/merl/.local/lib/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 1689, in _real_extract
    video_id=video_id)
ExtractorError: ciRrrC5OS6c: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description
the "token" error seems to be often reported. This bug is about getting the latest bins in your release page so I can upgrade.
THANKS!!

Really? Try downloading from https://yt-dl.org/downloads/latest/youtube-dl again and compare the checksums against the checksums files from here, for example:
https://github.com/ytdl-org/youtube-dl/releases/tag/2019.08.02/


stun-nat-behaviour: command not found

Your environment.
Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 4.19.104-microsoft-standard x86_64)
What did you do?
Followed README at https://github.com/pion/stun/tree/master/cmd/stun-nat-behaviour
$ sudo apt install golang-go  # version 2:1.13~1ubuntu2
$ go get github.com/pion/stun/cmd/stun-nat-behaviour
$ go
Go is a tool for managing Go source code.
$ stun-nat-behaviour
stun-nat-behaviour: command not found
What did you expect?
A usage string from stun-nat-behaviour, because "[options]" aren't expanded and explained in the README
What happened?
stun-nat-behaviour couldn't be executed...seemingly because no working copy was downloaded:
$ ls -l
total 4
drwxr-xr-x 4 david david 4096 Aug 13 14:42 go
$ ls -l go
total 8
drwxr-xr-x 2 david david 4096 Aug 13 14:42 bin
drwxr-xr-x 3 david david 4096 Aug 13 14:42 src

Hey @David-dp-
I think this will be in your bin folder. If that doesn't work you download the repo and run go build directly in it.
If that works a doc update would really be appreciated!

Fixed by #41
@David-dp- So one thing to note is that that tool will never interact with TURN. If you want a CLI TURN client you could use pion/turn !
TURN really solves another class of problems and doesn't care about NATs.


Serve WebP images for all thumbnails

As WebP is supported by all major user agents since September 2020, we can now only generate and serve WebP thumbnails to reduce storage and traffic cost.
For logged-in users, original files should still be served when accessing the full size images.

Now all new thumbnails are WebP and we need to move and overwrite existing files in /wiki/thumb/.


WIP: Driver Bebop 2 ultrasonic rangefinder

This adds the wrapper to the driver in DF and belongs to  PX4/DriverFramework#167. The driver is basically finished but requires some integration and further testing.
The main issue is caused by the integration with EKF2. The sensor has a block distance by design and when the quadcopter is on the ground, the sensor cannot measure something reasonable. Yet, if the EKF2 does not receive valid measurements, it will not fully initialize which in turn prevents us from taking off. The driver currently publishes a distance of -1.0 when it is within the block distance.
Moreover, the estimation jumps when transitioning between block distance and valid measurement distance.

Continued here: https://github.com/PX4/Firmware/pull/6376


Use gsub instead of gsub!

Currently some of the methods in the cluster provider are broken because they are using gsub! instead of gsub, as well as splitting on an array.
This PR fixes it by:

Using gsub instead of gsub!
Removing duplicate split

Fixes #282 and #285


Minor fix to experiment path convention

This addresses a minor fix. Gtg from my side (not sure why the mac build / test fails)


[Feature Request]: Track deleted items better

What feature are you suggesting?
See #61, #58 - deleted items are not tracked very well. Specifically items which are deleted cannot be added back without deleting the remote metadata file. Improve this (somehow).
What remote cloud services are you using, or suggesting adding the feature to?
S3, OneDrive for personal, Dropbox, webdav, others
Ensure no sensitive information

[X] I ensure that no sensitive information is submitted in the issue.

Closing in favor of #56


Fix formatting

make indentation consistent
fix typos
fix link text

@2Cubed, thanks for your PR! By analyzing the blame information on this pull request, we identified @ProbablePrime and @connor4312 to be potential reviewers

Looks good.

neato

Thanks for the contrib @2Cubed

Thanks @2Cubed. You're awesome.

<3


Public Anon key cannot read realtime data

I tried using the public anon key but can't read realtime updates how can I do that

What's the error you are getting?  Ensure that you have enabled realtime for your messages table from the supabase dasboard secondly you can check whether RLS is enabled on your project or not

Have you tried disabling rls?

Use Supabase.inatance.client instead of realtime client


Optimize grpc timer implementation.

This is an overhaul of the timer implementation to avoid contentions in
the hot path:

We generally want to use 2 x cpus of timer shards, but due to
a contention in timer_init(), we couldn't do that. The problem
is that we add the first timer in a shard, we grab the global lock.
For highly parallel applications, this results in high contention
if we have more than 32 shards.
Whenever we insert the first timer, we should the timer queue.
This results in many copies on first timer insertion.

For (1) this patch tracks an atomic on the earliest deadline,
and for (2) it simply sort the timer list, when we are checking the timers.
Also, this patch convert the code to use C++ RIAA classes, and use an anonymous
namespace to hide the symobls.

The previous version had two major bugs, that caused all the tests failing. I accidentally forced pushed. Apologies if you were in the middle of reviewing the patch.

Sorry for the super delay! Could you please resolve the conflicts and re-run the tests? I will review it next week.


RPi 2B Update stops when downloading!

Hi,
When I run rpi-update it doesn't seem to be finishing the downloads for the updates it is doing.
It ends with following:
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Also, my ssh to other IP address ssh pi@IPaddress will also disconnect in several seconds after successfully connecting.
Is this a local network issue? But I tried ping to other ip address ping google.com, 43% packet loss
Does anyone have the idea?
Thanks!

This sounds like a local network issue. Nothing to do with rpi-update.
You can test this just by trying to download the firmware directly from pi:
wget  https://github.com/Hexxeh/rpi-firmware/tarball/master

I tried for 4 hours, but it just continued loading and ended with "Read error at byte xxxxxx Resource temporarily unavailable, try again. Retrying". And begin with another loading....

Are you connecting Pi through wired ethernet or wifi?

Thanks! No problem now because I don't need to update my pi. Thanks a lot!


Feature/styled components multiple instances

This PR fixes the multiple styled-components instances.

Changes dependencies to peerDepoendencies
update calls to .extend for styled(Comp)

@delwiv Thanks for the contribution 👍 🙏


Feature Request: Passing args to a container, and not overriding the command

Is your feature request related to a problem? Please describe.
I would like to be able to pass container startup parameters. Currently, this is only possible by using "Command override" (properties/template/container/args in bicep), but this will completely override the ENTRYPOINT in the container. I want to be able to pass parameters to the container without overriding the entrypoint.
For example, I have a Docker image with ENTRYPOINT ["./start.sh"]
In some cases, I run it 'as is', in other cases I want to pass "--once" parameter to it (according to Docker documentation https://docs.docker.com/engine/reference/builder/#entrypoint). And if the image implementation changes from using "start.sh" to using "start2.sh", or from "./start.sh" to "./start.sg --firstArg" I don't want to reconfigure container settings in ACA.
Describe the solution you'd like.
I would like 'args' to be passed as additional arguments to the entrypoint, and not override it with command.
Describe alternatives you've considered.
The alternative is to change settings if the Docker image entrypoint changes.
Additional context.

Meet the same issue, and hope to get this feature worked.

I have met the same issue. I am using azure container app jobs and have 2 jobs that use the same container.  I am not wanting to override the entry point of the container. I just want to pass a different parameter for each. Hopefully this can be fixed. I will use environment variables for now

What about using the args parameter documented on the documentation?


Create vertex java api followed by sql create edge - lazy execution

OrientDB Version: 2.2.17
Java Version: 1.8
OS: linux

create vertex from java api: graph.addVertex("class:${Task.CLASS}", params))
create edge from sql:  "CREATE EDGE hasTask FROM (SELECT FROM Project WHERE id=:projectId) TO (select * from Task where seq=:seq)"

Now I get the error: source vertex not found
If I put graph.commit() before creating the edge the source vertex is found, and edge is created succesfully.
I like Java Api when creating vertices, but its not particulary usefull for any more complex queries, so I tend to mix them up.
Does it look like bug or something you would be interested in investigating? If so, I can provide a way to reproduce. Otherwise just please say so, and I'll close.
Is there any other command that I can "flush" the database with? I would be interested in something like graph.commit(), but without commiting.

Hi @karolmie1
This is an expected behavior in v 2.2.x, in this version the transaction is fully executed on the client and propagated to the server only at commit time; on the other hand, the SQL statements are executed on the server, so they don't know anything about the transaction until it's committed.
See http://orientdb.com/docs/2.2.x/Transactions.html
The only alternative you have now is executing a server-side script as follows:
String script =
   "BEGIN;"+
   "CREATE VERTEX TheClass SET foo = 'bar';"+
   "CREATE EDGE hasTask FROM (SELECT FROM Project WHERE id=:projectId) TO (select * from Task where seq=:seq);"
   "COMMIT;"

graph.command(new OCommandScript(script)).execute(params);

This is going to change in v. 3.0, we added a mechanism to propagate tx to the server when SQL statements happen, so the behavior in 3.0 will be exactly what you expected
Thanks
Luigi

Hmm, I've just noticed, that this happens even if I do commands one by one. Thats upsetting. Only this one blob way works.


Hosts won't get removed from siteadmin groups they should be removed from

Noticed that there is a bug on the second line here:
https://github.com/unioslo/zabbix-auto-config/blob/56e41c00be245ae8fe8e3e71ecf922628f45f3f3/zabbix_auto_config/processing.py#L776-L777
Values from siteadmin_hostgroup_map won't be considered a managed hostgroup/added to the set. This means that hosts won't be removed from siteadmin groups.
I'm pretty sure the fix is just to simply:
- managed_hostgroup_names.union(set(itertools.chain.from_iterable(self.siteadmin_hostgroup_map.values())))
+ managed_hostgroup_names = managed_hostgroup_names.union(set(itertools.chain.from_iterable(self.siteadmin_hostgroup_map.values())))

Hey @paalbra, I am new to open source and will like to contribute to this project, can you guide me on what needs to be done.


Verify that our key shares fit to the pub key sets

I just did some manual config migration and made my signet federation very upset by giving it a LN threshold decryption key share that didn't fit the pub key. Since I'm running a monomint right now there is no peer to ban, so it just complains that it made a faulty contribution each epoch and starts the next in the hope that it will get better (it won't).
Having #331 would be really helpful in rectifying the situation by deleting/editing a DB entry …

@elsirion should it just abort on startup with an error message?

This could be part of a larger project to sanity-check the server config on startup. Good first issue.


Consumer stream

Designed to solve #371, this change reimplements the processing of data as a stream in such a way that back pressure should not cause dropped messages. The change is designed to be fully backwards compatible.

@hyperlink Is it normal to see sporadic test failures? Locally and via travis, we're seeing intermittent issues with brokers not being available.

Thanks for the PR @lliss!
Could you add some documentation and examples on using the stream?
Regarding the tests I'm seeing the failures happen more often now that the tests run against different kafka versions though I haven't had a chance to investigate it.

@lliss if you rebase you'll find the tests to be more stable. I will look at this PR in more detail soon.

Thanks for your contribution. Closing this PR since this is continued in #732 any discussions can done in that PR.


NixOS compose for building docker issue

It seems that the commit 905e3fd9395e43aa4aee3675d8a8b133b629de97 would be the last working commit on building a docker image from a basic template. After that commit, errors received such as:
error: undefined variable 'buildEnv'

The reproducing flow, would be:
nxc init -t basic
nxc build -f docker

Hi @nikosT !
The issue is on our end there, we did not update the templates with the newer version of nixpkgs (22.05 -> 22.11).
One way for you to fix this would be to edit the flake.nix file in the nxc folder:
# flake.nix
{
  description = "nixos-compose - basic setup";

  inputs = {
-   nixpkgs.url = "github:NixOS/nixpkgs/22.05";
+   nixpkgs.url = "github:NixOS/nixpkgs/22.11";
    nxc.url = "git+https://gitlab.inria.fr/nixos-compose/nixos-compose.git";
  };

  outputs = { self, nixpkgs, nxc }:
    let
      system = "x86_64-linux";
    in {
      packages.${system} = nxc.lib.compose {
        inherit nixpkgs system;
        composition = ./composition.nix;
      };

      defaultPackage.${system} =
        self.packages.${system}."composition::vm";

      devShell.${system} = nxc.devShells.${system}.nxcShell;
    };
}

then try running nxc build -f docker again.
We will update the templates quickly :)

Hi @GuilloteauQ thanks for the answer. If I modify it accordingly, I know receive the following error:
error: getting status of '/nix/store/0ccnxa25whszw7mgbgyzdm4nqc0zwnm8-source/Dropbox': No such file or directory Error: Build return code: 1


Link GitHub Pages to Intended URL

We need to make it so that the pages redirect to https://origins.luddy.indiana.edu .

Moving this to Milestone 0.3 as it is not a necessity for core functionality.

Closing because this does not appear to be important to do. The pages link now works fine.


rspamd as container

Hello,
Is there any way to export rspamd to container and link mailserver to it ?
Ideas is to centralized rspamd.
I don't know if it's possible.

https://rspamd.com/doc/workers/rspamd_proxy.html#proxy-mode

mailserver:
  # extra_hosts:     # Required if your rspamd instance isn't on the same server
  #  - "rspamd-container:xx.xx.xx.xx"
  volumes:
    - /path/to/worker-proxy.inc:/etc/rspamd/local.d/worker-proxy.inc:ro

# worker-proxy.inc

bind_socket = "*:11332";
milter = yes;
timeout = 120s;

upstream "scan" {
  default = yes;
  hosts = "rspamd-container:11333";
  key = "..."; # Public key for encryption, generated by rspamadm keypair (optional)
  compression = yes;
}

rspamadm keypair --help

https://rspamd.com/doc/workers/rspamd_proxy.html#proxy-mode
https://rspamd.com/doc/configuration/upstream.html
https://rspamd.com/doc/rspamadm.html

Does that answer your question ?


Feature request: LLM / GPT integration

It would be awesome to have an option for thefuck to query an LLM when there's not a clear match. A lot of models are pretty good at correcting terminal commands and almost nobody remembers all the arguments and syntax to everything. Bonus if you could query it upfront, maybe with a fun alias like howthefuck do I kill all gradle processes or howthefuck find all files in this directory containing "shit"

If the request is approved I'm ready to get right on it


Add Realsen to contributors.

This change is

Hi
Could you link to some of your contributions please?

I just joined the pipelines team, so don't have many yet, but here's some:
https://github.com/kubeflow/pipelines/pull/2957
https://github.com/kubeflow/frontend/pull/29

@jlewi @abhi-g Would you mind approving this PR? Diogo is in the pipelines team and has been adding features to the KFP UI recently. Thanks!

/lgtm
/approve

/ok-to-test
/lgtm
/approve


The filename, directory name, or volume label syntax is incorrect.

←[93m
[] Initiating AES Encryption Process ...
←[1;32m[+] Process Completed Successfully!
←[93m
[] Compiling Source codes ...←[1;35m
The filename, directory name, or volume label syntax is incorrect.
[*] Deleting Junk Files ...
[+] Deleted Successfully !

I changed in Generator.py, pyinstaller path to exact path copied from my pc and it worked. But I still dont see device in panel...


[Feature] Using the x-axis of the Line time type want to control the distance between two data points that are connected (i.e. not connecting data points beyond a certain time interval)

What problem does this feature solve?
Line graphs using the time type will be connected into lines, and data with long time intervals will appear as a long line which is not conducive to data analysis.
What does the proposed API look like?
。。

Can you provide an image to illustrate?

Can you provide an image to illustrate?

I don't need lines with long time intervals

How about setting connectNulls to be false?

I want a value to make a judgment, because there are other lines I need to link

not connecting data points beyond a certain time interval

ECharts cannot guess what this "certain time interval" is. Usually data pre-processing takes care of such specific requirements - Demo.

If it's a huge amount of data ？100w ?


Promises are not being polyfilled (problem on iOS Safari and IE 11)

I'm having a problem with running my app on ios Safari browser. Im using esnext version with webpack, 1.0.0-beta-2.0.0. App does not start (it stops on loader screen) and I'm getting this stacktrace via jsconsole:
Unhandled rejection requireEnsure@http://trackgods.bonfireit.com/aurelia-bootstrap.bundle.js:66:27
http://trackgods.bonfireit.com/aurelia.bundle.js:6212:32
_execute@http://trackgods.bonfireit.com/aurelia-bootstrap.bundle.js:2997:17
_resolveFromExecutor@http://trackgods.bonfireit.com/aurelia-bootstrap.bundle.js:5171:26
Promise@http://trackgods.bonfireit.com/aurelia-bootstrap.bundle.js:4773:34
_import@http://trackgods.bonfireit.com/aurelia.bundle.js:6207:23
http://trackgods.bonfireit.com/aurelia.bundle.js:6263:23
_execute@http://trackgods.bonfireit.com/aurelia-bootstrap.bundle.js:2997:17
_resolveFromExecutor@http://trackgods.bonfireit.com/aurelia-bootstrap.bundle.js:5171:26
Promise@http://trackgods.bonfireit.com/aurelia-bootstrap.bundle.js:4773:34
loadModule@http://trackgods.bonfireit.com/aurelia.bundle.js:6261:23
http://trackgods.bonfireit.com/aurelia.bundle.js:6029:22
tryCatcher@http://trackgods.bonfireit.com/aurelia-bootstrap.bundle.js:7175:28
_settlePromiseFromHandler@http://trackgods.bonfireit.com/aurelia-bootstrap.bundle.js:5200:35
_settlePromise@http://trackgods.bonfireit.com/aurelia-bootstrap.bundle.js:5257:43
_settlePromise0@http://trackgods.bonfireit.com/aurelia-bootstrap.bundle.js:5302:24
_settlePromises@http://trackgods.bonfireit.com/aurelia-bootstrap.bundle.js:5381:33
_drainQueue@http://trackgods.bonfireit.com/aurelia-bootstrap.bundle.js:2246:31
_drainQueues@http://trackgods.bonfireit.com/aurelia-bootstrap.bundle.js:2256:21
drainQueues@http://trackgods.bonfireit.com/aurelia-bootstrap.bundle.js:2125:26
http://trackgods.bonfireit.com/aurelia-bootstrap.bundle.js:6437:19

So, error seems to be caused by line in this function:
http://trackgods.bonfireit.com/aurelia.bundle.js:6212:32
function race(promises, parent) {
    var maybePromise = tryConvertToPromise(promises);

    if (maybePromise instanceof Promise) {
        return raceLater(maybePromise);
    } else {
        promises = util.asArray(promises);
        if (promises === null)
            return apiRejection("expecting an array or an iterable object but got " + util.classString(promises));
    }

    var ret = new Promise(INTERNAL);
    if (parent !== undefined) {
        ret._propagateFrom(parent, 3);
    }
    var fulfill = ret._fulfill;
    var reject = ret._reject;
    for (var i = 0, len = promises.length; i < len; ++i) {
        var val = promises[i];

        if (val === undefined && !(i in promises)) {
            continue;
        }

        Promise.cast(val)._then(fulfill, reject, undefined, ret, null);
    }
    return ret;
}

Any idea how to deal with this?

I'll try to test it on Safari iOS soon.

Seems to be the same as: https://github.com/aurelia/skeleton-navigation/issues/594 on Windows.
Might be related to: https://github.com/aurelia/skeleton-navigation/issues/593.
Looks like the globals (Promise polyfill, jQuery) are not being set properly in certain cases.

A workaround seems to be to set the globals directly in index.js.
So setting globals.Promise = require('bluebird');  solves the problem in IE11 for me.

Interesting. I wonder why globals are set properly in Chrome, but not IE or Safari.
I'll try to test tomorrow.

A workaround seems to be to set the globals directly in index.js.
So setting globals.Promise = require('bluebird'); solves the problem in IE11 for me.

Where do you insert this code? I get an error saying globals is not defined.

In my case (pre 1.0) I just inserted it in index.js, directly after the Bluebird.config().

Could you try adding a ProvidePlugin with global.Promise set to bluebird? If you don't know how to do that I'll try writing a snippet for you.

No clue how to do that.

@JoschaMetze and @ralexand56 could you try running npm update in about 10 minutes from this post and see if this issue has been resolved? I made a small change to try and expose both Bluebird and jQuery globally.

Awesome! Thanks!


fix CustomWindow content height

when trying to create custom window the content message is always two lines, so i check the source code and find out should delete these line as done in standard window before

this is needed to good visualisation when u add text with custom images
do u check this?

this is needed to good visualisation when u add text with custom images do u check this?

oh i didn't, cz after i delete this line my program works so i didn't go deeper 🤣

this is needed to good visualisation when u add text with custom images do u check this?

I'm not sure about custom images bc i'm just new to avalonia ui and message box.
I copy paste the images and text from examples ig it's probably fine(? 👀
actually not sure about custom images tho


nicoulaj prompt does not use the color it is supposed to use

the nicoulaj prompt has a screenshot which shows green PROMPT if last command is successful, otherwise red. However, in the default install, nicoulaj simply shows a white prompt. The content of prompt_nicoulaj_setup also indicates the PROMPT should have some color.
I tried a few other prompts, they are not affected.

Check your terminal emulator theme.

@sorin-ionescu I found the issue: zsh does not know that my terminal supports 256 color.
For the sake of compatibility with those terminals which really do not support 256 color, can we replace %F{071} and %F{124} with %F{green} and %F{red} in the theme? I don't really see any visual difference.

Your terminal settings are the problem. What does $TERM say?
On Monday, January 12, 2015, Hong Xu<EMAIL_ADDRESS>wrote:

@sorin-ionescu https://github.com/sorin-ionescu I found the issue: zsh
does not know that my terminal supports 256 color.
For the sake of compatibility with those terminals which really do not
support 256 color, can we replace %F{071} and %F{124} with %F{green} and
%F{red} in the theme? I don't really see any visual difference.
—
Reply to this email directly or view it on GitHub
https://github.com/sorin-ionescu/prezto/issues/773#issuecomment-69689008
.

$TERM says xterm. Has to change to xterm-256color to make zsh recognize it. I have already fixed this problem for my terminal emulator in X, but if I switch to the "real" terminal (Ctrl + Alt + F2), there is no 256 color.

Sorry for the confusion, what I meant was actually to change the colors to the close common used colors to improve compatibility. It's not a problem for me, but may be useful for many people who prefer text mode.

The last I recall, framebuffer does not support 256
colours.
This is not my theme. It's up to @nicoulaj to alter it.
On Tuesday, January 13, 2015, Hong Xu<EMAIL_ADDRESS>wrote:

Sorry for the confusion, what I meant was actually to change the colors to
the close common used colors to improve compatibility. It's not a problem
for me, but may be useful for many people who prefer text mode.
—
Reply to this email directly or view it on GitHub
https://github.com/sorin-ionescu/prezto/issues/773#issuecomment-69701563
.


[Bug] Unable to access the home page

After the update adding the stats, I'm not able to access the front page/home page of my instance. The page goes totally blank without buttons or any text. I still am able to access the "tv", "movies" and so on, if I firstly of all specify the right url and clear cache.
I've tried creating a new .db-file, updating to the latest docker image and of cause restarting the container.
My latest log tells me nothing out of the ordinary - right?
4.3.2022 14.37.45 info: Updating: The Book of Boba Fett (last updated at: 3/4/2022, 1:37:35 PM)
4.3.2022 14.37.36 info: Updated 1 item
4.3.2022 14.37.35 info: Updating: The Book of Boba Fett (last updated at: 2/15/2022, 2:01:44 PM)
4.3.2022 14.37.35 info: Updating metadata for 50 items
4.3.2022 14.37.34 info: MediaTracker listening at http://mediatracker:7481
4.3.2022 14.37.27 info: Modtaget signal SIGTERM

Same issue here. Lots of javascript bugs in the console:
TypeError: e.movie is undefined
Uncaught TypeError: e.movie is undefined

I can't test it right now, but I think I've fixed it

I'll rebuild and let you know :)

Great! It works at my end

Confirmed on my end too


[Fix][UI Next][V1.0.0-Alpha] Fix the Workflow Relation page cannot be zoomed in or out using a scroll wheel.

Purpose of the pull request
close #8802

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

Codecov Report

Merging #8868 (e7f5b49) into dev (7433dd2) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #8868      +/-   ##
============================================
- Coverage     45.36%   45.30%   -0.07%
+ Complexity     4084     4081       -3
============================================
  Files           702      702
  Lines         27113    27169      +56
  Branches       2897     2907      +10
============================================
+ Hits          12301    12309       +8
- Misses        13657    13698      +41
- Partials       1155     1162       +7

Impacted Files
Coverage Δ

...he/dolphinscheduler/common/enums/SqoopJobType.java
0.00% <0.00%> (-88.89%)
:arrow_down:

...org/apache/dolphinscheduler/alert/AlertSender.java
74.03% <0.00%> (-14.43%)
:arrow_down:

...olphinscheduler/rpc/remote/NettyServerHandler.java
69.04% <0.00%> (-11.91%)
:arrow_down:

.../remote/command/alert/AlertSendRequestCommand.java
92.00% <0.00%> (-8.00%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
50.70% <0.00%> (-2.82%)
:arrow_down:

...inscheduler/common/task/sqoop/SqoopParameters.java
74.00% <0.00%> (-2.00%)
:arrow_down:

...che/dolphinscheduler/common/enums/WarningType.java
0.00% <0.00%> (ø)

...inscheduler/service/alert/ProcessAlertManager.java
44.84% <0.00%> (+0.05%)
:arrow_up:

.../org/apache/dolphinscheduler/dao/entity/Alert.java
46.26% <0.00%> (+0.36%)
:arrow_up:

.../dolphinscheduler/alert/AlertRequestProcessor.java
93.33% <0.00%> (+0.47%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


how can I get the cardiac dataset in this project?

hello. I'm really intersted in this project, but how can I get the cardiac dataset in this project? Can you give me a hand?

This is related to #22
Unfortunately, the cardiac dataset used in this project is not publicly available. However, the code should be working on any other 3D medical data.

ohoh, I'm curious about how you get the dataset? Can you help me?
------------------ 原始邮件 ------------------
发件人:                                                                                "amiralansary/rl-medical"                                                                                @.>;
发送时间: 2021年3月15日(星期一) 晚上8:14
@.>;
<EMAIL_ADDRESS>主题: Re: [amiralansary/rl-medical] how can I get the cardiac dataset in this project? (#23)
This is related to #22
Unfortunately, the cardiac dataset used in this project is not publicly available. However, the code should be working on any other 3D medical data.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I have studied in this project, It's a good job! I found you remained some 2D parameters and annotations, so it seems to be also implemented on 2D medical images?
------------------ 原始邮件 ------------------
发件人:                                                                                "amiralansary/rl-medical"                                                                                @.>;
发送时间: 2021年3月15日(星期一) 晚上8:14
@.>;
<EMAIL_ADDRESS>主题: Re: [amiralansary/rl-medical] how can I get the cardiac dataset in this project? (#23)
This is related to #22
Unfortunately, the cardiac dataset used in this project is not publicly available. However, the code should be working on any other 3D medical data.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Ther cardiac data were obtrained from our collaborators in the hospital. Regarding the 2D implmentation, it was work in progress that should be very similar to the 3D implementation. Please feel free to make a pull request if you modify or add any code for the 2D implmentation. Thanks!

OK,Thank you very much! I'll pull all my efforts to modify the project for the 2D implementation on cardiac images. Thanks again!
------------------ 原始邮件 ------------------
发件人:                                                                                "amiralansary/rl-medical"                                                                                @.>;
发送时间: 2021年3月17日(星期三) 晚上7:13
@.>;
<EMAIL_ADDRESS>主题: Re: [amiralansary/rl-medical] how can I get the cardiac dataset in this project? (#23)
The cardiac data were obtrained from our collaborators in the hospital. Regarding the 2D implmentation, it was work in progress that should be very similar to the 3D implementation. Please feel free to make a pull request if you modify or add any code for the 2D implmentation. Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hello, Can you share me only about 10 cardiac images? I want to comprare them to my own dataset. Thanks very much!
------------------ 原始邮件 ------------------
发件人:                                                                                "amiralansary/rl-medical"                                                                                @.>;
发送时间: 2021年3月15日(星期一) 晚上8:14
@.>;
<EMAIL_ADDRESS>主题: Re: [amiralansary/rl-medical] how can I get the cardiac dataset in this project? (#23)
This is related to #22
Unfortunately, the cardiac dataset used in this project is not publicly available. However, the code should be working on any other 3D medical data.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Unfortunately, the cardiac data is privately owned by the hospital, and we cannot share it.


Maximum context length error

Hey,
Thanks for sharing your project.
I tried uploading a few csv files, though with all them I got the following error:
Error: This model's maximum context length is 4097 tokens. However, your messages resulted in 6317 tokens. Please reduce the length of the messages.
That's after uploading the file, and prompting "Hello".
Does your script chunk the uploaded csv file?
Thanks,
Yedidya

Thanks for the quick response.
A sample csv works. I guess you're write, my records have multiple features with a lot of a text. Do you have an idea how to solve this?


Merge newly-rebased lib into main

Just three things:

Rebased Lib onto Main
Fixed a bug in our logging where we were inadvertently not emitting variables because we didn't use sprintf https://github.com/redhat-openshift-ecosystem/openshift-preflight/commit/f5852ef50be9ac4cd19b77fbdae19b6395a09e8f
Updated the LIBRARY.md doc to comply with the new logging changes. https://github.com/redhat-openshift-ecosystem/openshift-preflight/commit/2899cb0cfa6f1237bc61044262a37c5073832bd9

I left the original lib branch intact so we can use it as a reference, if needed. The first 6 commits here should be aligned with it, barring merge conflicts (which were mostly go mod related)

golangci-lint was upset about my import ordering so I fixed that and made it its own commit, simply because it touched 17 files :roll_eyes:

Coverage decreased (-2.5%) to 81.897% when pulling 7713dce5e09445ac68f402f12efdf9cd9fd7dc65 on komish:rebasedlib into 174eea60db65c666cb29456ed22ea264f9cad6d0 on redhat-openshift-ecosystem:main.

/retest

Re E2E Failures: Prow seems to be failing because some logic is creating a directory artifacts at the root of the source, and we already have that directory as a library.

/retest

/retest

/lgtm

:partying_face:

Great to see this merged into main!  Thanks!


What is the bug on this? "Error deleting message, API responded with status 403! {"message":"Cannot execute action on a DM channel.", "code":50003}

I am trying to delete a DM.
"Error deleting message, API responded with status 403! {"message":"Cannot execute action on a DM channel.", "code":50003}

I have the same problem

Are you trying to delete someone else's message?

Are you trying to delete someone else's message in a DM? In DMs, only the sender can delete messages, as there's no permission system there.

Yes, I am trying to delete someone else message.

Well that's just not possible, due to how DMs work on Discord.
You'd have to ask the other person to delete their messages for you.

Duplicated: https://github.com/victornpb/deleteDiscordMessages/issues/76


EI-1103 - Add new Input API

Scope: add minimal API entries to use input
EI-1103 - Small Cleanup

Remove Control from comments
Remove legacy comment
Remove Point type cleanup
Add local/remote comment
Make feed similar to input in terms of comments
Remove unused import (see https://github.com/Iotic-Labs/api/issues/13)

EI-1103 - Specify Input

delete
describe
send input message
receive input messages
upsert payload part

EI-1103 - Input: update existing services

upsert: includes input meta in the UpsertTwinRequestPayload
search: update SearchResponsePayload to include the input details
describe twin: update DescribeTwinResponsePayload to include the input details

The 3 proposals are in the 2 last commits. https://github.com/Iotic-Labs/api/compare/b5617e5d07d4f9a0589d99d31e6c7cd1ac85d5e4...ed59c413c578d11fb88729a59880842daeebbb79
The CI is broken due to the object duplication for the proposal purpose.

updated with option #2 https://github.com/Iotic-Labs/api/pull/16/commits/ab4937b1bd1279b2daf8122a100c3107983fb210

Ready for review but no merge until the feature is fully implemented

PR approved, I will clean up the history (remove the proposal and revert) before merge! Thank you everybody for your contributions!


"Quadratic Equation komplex

'The discriminant is less than zero. There are no real roots,2konjugiert komplexe lösungen.

[ ]

[ ]
Quadratic Equation_version1.pdf

Thanks for sharing, Ralph. Probably it will be better to put these things in Discussions:
https://github.com/Proektsoftbg/Calcpad/discussions


DBZ-1945 Remove deprecated connector option "initial_schema_only"

https://issues.redhat.com/browse/DBZ-1945

Thx; are you going to update #1381 accordingly?


Typo „übe“ instead of „über“ in German localization

Avoid duplicates

[x] Bug is not mentioned in the FAQ
[x] Bug is specific for iOS only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[x] Bug is not already reported in another issue

Technical details

Device name: iPhone 12 Pro
iOS version: iOS15 - should not make impact
App version: 2.3.2 (0)

Describe the bug

Steps to reproduce the issue

Expected behaviour

Possible Fix

Additional context

Strange, the "r" is there on my iPhone 6s, running iOS 14.6 and CWA 2.3.2.

Are you sure about version 2.3.0? This version was never released?

Alright. Closing this issue for now. Could come up when you are preparing for iOS 15 compatibility again.


Update avatar appearance

fixes #1330

Author will be added in separate PR

Looks good to me. Vinnie and I discussed the titles and would like to replace "Release Maintainers & Contributors" with "This Release" and replace "Previous Contributors" with "All Time"

NOICE


Integrated Spell Correction

Integrated spell correction changes the way that spell correct is handled. Instead of relying upon the suggest API to do the correction via term suggestions, the search API does the correction itself. We must continue to support the previous method while also making this the default behavior moving forward.
This requires that we send the enableSpellCorrect parameter on search requests when this feature is enabled.
Changes to Search behavior:

requests send enableSpellCorrect=true
when spell correction occurs add details about the correction to the page: Hmmm, we couldn't find anything for "shoez", so we searched for "shoes"

Changes to AC behavior:

no longer use first suggestion from suggest API
AC is to only search for what is in the input
ac requests send enableSpellCorrect=true
when spell correction occurs add details about the correction to the component: Hmmm, we couldn't find anything for "shoez", so we searched for "shoes"

Since this change crosses several controllers we will likely need to add a new configuration section to snap-preact to handle configuring the controllers.

I think you may not need the enableSpellCorrect=true in production, @thatDAMNbobby  can you confirm?

Confirmed that this will not be needed. We will use the new response from the API to determine if this feature is enabled.

From mobbing session:

send param in suggest API (Client)
modify transform for changing search.query and search.originalQuery to query.corrected and query.original (Client)
modify snap adding settings.features.integratedSpellCorrection and toggle client global (#1)
modify autocompletecontroller behavior to not set input value and oq param and instead send fallbackQuery (AutocompleteController)
modify snap to auto configure autocompletecontroller by apply integratedspellcorrect setting
update template with new config and component changes (for "searched instead for...")

@chrisFrazier77 @dkonieczek
Initial branch created: https://github.com/searchspring/snap/tree/integrated-spell-correction
Remaining work:

add testing to branch work
add documentation to branch work
release by merging into develop and then main
update snapfu-template-preact so that all new sites have the feature enabled


Is group-hover supported in styled components?

I have added group-hover under the visibility module array in tailwind.js. I have then added it in my styled component as
 const Hover = styled.div’
  ${tw ‘invisible group-hover:visible’};
‘

It however doesn’t seem to be applying. All other tailwind styling is working as expected. Is there any thing I need to specifically do to get group-hover working?

Hey @shawnmmatthews
group-hover is supported in the tailwind.macro alpha, which you can try if you’re using Tailwind v1: npm install tailwind.macro@next
import tw from 'tailwind.macro';

const Hover = tw.div’invisible group-hover:visible’;

Thanks!


Moves away from configurable labels on metrics

The metrics are now based on  the query name.

What happens if the route is a rest route? We need to add handling for that too!

What happens if the route is a rest route? We need to add handling for that too!

Done!


remove homepage from create_profile

Homepage is preferably empty when creating a profile.

it seems the url is mandatory, there is a test failing:
MissingFieldsError: At least one link is required

I would suggest to parametrize the url in the create_profile function and add this url to all the profiles "https://github.com/google/BIG-bench"


update domain category

Required items, please complete
Change(s):

Changed Domain category as requested by marketplace publishing team

Reason for Change(s):
- From "Security - Database" to "Security - Cloud Security"
Version Updated:
Testing Completed:

Yes

Create UI definition looking good

Main template looking good

Arm-ttk also running fine

All are looking good approved


Added Ghostinspector recipe

Your PR lacks docs - add documentation :)

#willfix
On Tue, 13 Dec 2016 at 00:23, Hubert Kowalski<EMAIL_ADDRESS>wrote:

Your PR lacks docs - add documentation :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/deployphp/recipes/pull/84#issuecomment-266585922, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAaVABIX1C2imrKQ21hamkHv9_WxmqPaks5rHdcwgaJpZM4LKouf
.

@johnny-bit done


significant performance drop in docker builds

ever since we merged #150 I've noticed a significant drop in performance.

@janwillies mentioned that the docker-in-docker daemon is started with the vfs driver by default... I wonder if switching to overlayfs would be a better option.

docker info for anyone interested:
><> kk exec draftd-2765164924-6qpkt -c dind -- docker info
Containers: 4
 Running: 0
 Paused: 0
 Stopped: 4
Images: 5
Server Version: 17.05.0-ce
Storage Driver: vfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9048e5e50717ea4497b757314bad98ea3763c145
runc version: 9c2d8d184e5da67c95d601382adf14862e4f2228
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.13
Operating System: Alpine Linux v3.5 (containerized)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.954GiB
Name: draftd-2765164924-6qpkt
ID: XDLL:3MVN:P4ZO:FQXK:3FKT:A34K:CXXQ:JQBM:6A7U:2D5B:ZHJ6:ZR6G
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/24
 <IP_ADDRESS>/8
Live Restore Enabled: false

WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled


optimize filetype.vim loading

Is your feature request about something that is currently impossible or hard to do? Please describe the problem.

cat run.sh

#!/usr/bin/env bash

cnt=0
> startup.txt

while true
do
	vim --clean --not-a-term --startuptime startup.txt -c q
	cnt=$((cnt+1))

	if [[ "$cnt" -gt "$1" ]];then
		break
	fi
done

filetype=$(awk '/filetype.vim/ {sum += $2} END {print sum}' startup.txt)
total=$(awk '/editing files in windows/ {sum += $1} END {print sum}' startup.txt)
printf "%.1f %.1f %.3f\n" $filetype $total $(echo "$filetype/$total" | bc -l)

sh run.sh 1000

12195.6 17462.8 0.698

Describe the solution you'd like
Provides built-in command to generate specific filetype.vim, allowing users to manually replace

Wait what? Why do you want to generate a specific filetype.vim? Sorry I don't see what problem you are trying to solve here

Wait what? Why do you want to generate a specific filetype.vim? Sorry I don't see what problem you are trying to solve here

I found that loading filetype.vim took up 30% of the startup time. I hope to provide a conversion mechanism similar to dts to dtb? Or provide an option for users who are willing to reduce accuracy and improve performance. Manually operating filetype.vim is not very convenient

Well, it has to read the file and this is a large file, so it depends on your fileystem and hardware performance. Have you tried moving your $VIMRUNTIME to a memory mounted drive? That should give you better performance.
Not sure what kind of conversion mechanism you had in mind, I have never heard about dts/dtb before in such a context.

Well, it has to read the file and this is a large file, so it depends on your fileystem and hardware performance. Have you tried moving your $VIMRUNTIME to a memory mounted drive? That should give you better performance. Not sure what kind of conversion mechanism you had in mind, I have never heard about dts/dtb before in such a context.

Yes, this is the most effective method
dts: Devicetree source
dtb: Devicetree blob

Sorry, I don't think this is an actionable item here, so I am closing this.

I think four interfaces need to be added, and users can combine and generate the desired filetype.vim without manual modification
// input filetype.vim and output filetype.bin
unsigned char* filetype_encode(char *vim)

// input filetype.bin and output filetype.vim
char* filetype_decode(unsigned char *bin)

// input filetype.bin and path, match the output corresponding filetype.vim
char *filetype_match(unsigned char *bin, char *path)

// input filetype1.vim and filetype2.vim, output filetype.vim
char *filetype_merge(char *vim1, char *vim2)

So I guess, what you actually want is some kind of binary fileformat for vim9 script, since this is compiled (similar to what zsh or python are doing) Not "optimizing filetype.vim loading".
I suppose that is a valid request, if this really provides a benefit. I mean, it's not like Vim will in majority execute Vim Scripts, but it is rather an interactive program, so I am not planning to be working on that.

So I guess, what you actually want is some kind of binary fileformat for vim9 script, since this is compiled (similar to what zsh or python are doing) Not "optimizing filetype.vim loading". I suppose that is a valid request, if this really provides a benefit. I mean, it's not like Vim will in majority execute Vim Scripts, but it is rather an interactive program, so I am not planning to be working on that.

I think the easiest optimization is to reduce the number. In extreme cases, only including c  takes less than 1ms. I just need a mechanism to automatically increase
I am not a full stack developer, and I personally prioritize startup speed. I think the current filetype.vim update is a negative optimization.
Since I'm trying this, I can accept the flaws

If you(!) care about this and want to spend the time improving it, I would recommend looking at the way Neovim refactored the filetype detection code (but not logic!): instead of creating ~1000 autocommands on startup, we create a single one that runs a dispatch on the filename and (if necessary) contents; the relevant functions are here:

https://github.com/neovim/neovim/blob/master/runtime/lua/vim/filetype.lua
https://github.com/neovim/neovim/blob/master/runtime/lua/vim/filetype/detect.lua
(you would obviously write these in Vim9script and keep using full Vim regex, but otherwise I would hope a 1:1 port as a starting point would save you from the significant effort we had to make).

I manually generated a filetype.vim based on daily needs
vim9script noclear

if exists("g:did_load_filetypes")
	finish
endif
g:did_load_filetypes = 1

augroup filetypedetect
au BufNewFile,BufRead *.asm,*.[sS]	setf asm
au BufNewFile,BufRead *.c			setf c
au BufNewFile,BufRead *.cxx,*.c++,*.hh,*.hxx,*.hpp,*.ipp,*.moc,*.tcc,*.inl,*.C,*.H setf cpp
au BufNewFile,BufRead *.h			call dist#ft#FTheader()
au BufNewFile,BufRead .bashrc,bashrc,bash.bashrc,.bash[_-]profile,.bash[_-]logout,.bash[_-]aliases,.bash[_-]history,*.bash setf bash

au BufNewFile,BufRead [mM]akefile.am,GNUmakefile.am	setf automake
au BufNewFile,BufRead CMakeLists.txt,*.cmake,*.cmake.in		setf cmake
au BufNewFile,BufRead configure.in,configure.ac setf config
au BufNewFile,BufRead *.diff,*.rej,*.patch		setf diff
au BufNewFile,BufRead *.dot,*.gv		setf dot
au BufNewFile,BufRead *.dts,*.dtsi,*.dtso,*.its,*.keymap	setf dts
au BufNewFile,BufRead COMMIT_EDITMSG,MERGE_MSG,TAG_EDITMSG,NOTES_EDITMSG,EDIT_DESCRIPTION	setf gitcommit
au BufNewFile,BufRead *[mM]akefile*,*.mk,*.mak,*.dsp,Kbuild setf make
au BufNewFile,BufRead {.,}tmux*.conf*		setf tmux
au BufNewFile,BufRead Kconfig.*,Config.in.*	setf kconfig
au BufNewFile,BufRead $VIMRUNTIME/doc/*.txt	setf help
au BufNewFile,BufRead *.txt
	\  if getline('$') !~ 'vim:.*ft=help'
	\|   setf text
	\| endif

runtime! ftdetect/*.vim
augroup END

au filetypedetect BufNewFile,BufRead,StdinReadPost *
	\ if !did_filetype() && empty(win_gettype())
	\    && expand("<amatch>:e") =~ '\w'
	\|   exe 'setf ' .. expand("<amatch>:e")
	\| endif

I think it's reasonable
sh run.sh 1000
253.0 2915.9 0.087

Great if you found a filetype.vim that is suitable for your own needs, but perhaps at one time in the future you want to edit (or even only view) a Vim or Python or HTML file and then you won't even get syntax highlighting.
So that is of course very much dependent for everybodys use cases and as such not something that should be included here.


Minimal Requirments does not working

Hi Adrian,
i just find out, that I need scikit-learn>=0.22 to run scikeras.
I think the function _check_sample_weight was only introduced in version 0.22
Here my test:
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)] on win32
>>> import sklearn
>>> sklearn.__version__
'0.21.0'
>>> from scikeras.wrappers import KerasRegressor

Here the stacktrace:
File "C:\...\scikeras\wrappers.py", line 13, in <module>
    from sklearn.utils.validation import (
ImportError: cannot import name '_check_sample_weight' from 'sklearn.utils.validation' (C:\...\sklearn\utils\validation.py)

It works for me with  scikit-learn>=0.22

Thank you for reporting and fixing this!


What'sthe status of Android development with wsl2?

The status is nominal.
If you find any problems with Android development that are specific to wsl2 do feel encouraged to submit an issue with repro steps.


Idea :  Bulk Read With properties to Include

It will be nice to have capability to bulk read a subset of Table by providing the PK columns and the list  of some columns to retrieve and not all  table' columns

Have try it with configs: UpdateByProperties and PropertiesToInclude

Dupe: #590