create MiniMix_10m test

copy MiniMix_5m,  rename it MiniMix_10m and change timeLimit=10m:
https://github.com/adoptium/aqa-tests/blob/83bec274a10eb52ac812af2acc50bb3ec4bc4673/system/otherLoadTest/playlist.xml#L34-L62
This is the first step of adding https://github.com/eclipse-openj9/openj9/issues/16428

I'll do this

I'll take this


⚠ ClamAV has degraded performance

In 591424c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 175 ms

Resolved: ClamAV performance has improved in 665ef80.


User fakeForAdDebugLog in SSV

I started to get this weird username that don't exist in my db ( SSV ):
User fakeForAdDebugLog not found

Please create a valid bug report via the template for us to properly triage. Be sure to include the plugin version and affected OSs.
This StackOverflow link but also be of help to you.


Symbol ‰

Hi @Proektsoftbg we have the option to use ‰ symbol like a unit? It's very convenient when we work with strains

Currently it is not supported, but it is easy to add. I will consider it for the next version. :)
In the same was maybe % can be also a unit, but I shoud think about what to do with % operator.

It was added in the lates version, together with % units:
https://github.com/Proektsoftbg/Calcpad/releases/tag/v5.9.8


Namespace "TARGET_ENVIRONMENT_CONFIG" env var with "HAMMER_"

In order to ensure the env value which sets hammer's TARGET_ENVIRONMENT_CONFIG is clearly marked for use with hammer, consider renaming TARGET_ENVIRONMENT_CONFIG to something such as HAMMER_TARGET_CONFIG
Examples:CREDHUB_SERVER is used in credhub login, BOSH_ENVIRONMENT for bosh cli, etc.

This is a super minor thing, I'm just logging it because the idea came to me but it's obviously non-essential. Feel free to close whenever 👍

Thanks for the suggestion, makes a lot of sense to me. I think given this is all pre v1 there shouldn't be any issue with a breaking change of this kind.
I haven't had much time to work on hammer in the past few days but I'll try and carve out some time towards the start of next week.


drivers: watchdog: TI CC13xx/CC26xx watchdog timer support

Implemented new WDT driver for TI CC13xx/CC26xx family using HAL TI routines.
Supports interrupts & MCU soft reset on timeout.
Follow up from stale / closed PR #39332 :(
Fixes https://github.com/zephyrproject-rtos/zephyr/issues/39331
Tested on my CC1352P1 LaunchXL using samples/drivers/watchdog.

@cfriedt @niflostancu don't want to hijack this PR but I was working on the same driver few weeks ago, there are still some TODOs (see the commit message for the driver code) but maybe you could make use of it or part of it? I pushed my version here: https://github.com/pepe2k/zephyr/tree/ti-cc13xx-cc26xx_watchdog-driver
Cheers,
Piotr

Hi, thank you for your suggestions.
Based on them, I've done some extensive modifications to the PR:

rewritten init code to use DT_INST_FOREACH_STATUS_OKAY;
implemented NMI mode (using a new boolean DTSI property: interrupt-nmi; hope that's the best way to do it);
replaced msToTicks conversion function with a macro;
move the _enable() code inside _setup();
if WDT is enabled at boot, call _setup() on init with the default option WDT_OPT_PAUSE_HALTED_BY_DBG based on CONFIG_DEBUG;
enabled WDT feature for all supported boards (in separate commit, incl. doc updates);
better comments explaining the implementation decisions made.

Note: as various TI forum posts suggest [1] (I couldn't find any explicit mentions in the Reference), the watchdog clock is always paused during sleep, so there is  nothing to be done in this case (I avoided any option checks for this to be permissive).
Since I based my solution on some of @pepe2k's code, how shall we proceed with the copyright notice in the header? Shall I insert his name + email too, separated by a comma?
Thanks.
[1] https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/990138/cc1312r-hw-watchdog-strange-behavior-in-debug/3666163#3666163

Hi @niflostancu

rewritten init code to use DT_INST_FOREACH_STATUS_OKAY;

I see that this was suggested here by @cfriedt and you did it also in your another PR #49229 but I really don't understand this approach. From what I understand, this in result allows to generate several instances of the same driver for separated blocks of the same hardware, based on the DTS. But... you are still using the TI's driverlib (at least for the wdt that's only incline functions accessing some registers, not sure about the ADC if there is anything already in the ROM) which doesn't even allow to pass register base to functions. Plus, in case of this series of SOCs, there is just one watchdog and I doubt there will be anything new with more than one. So in this case, we have some extra code, e.g. the reg which is not used at all.
@cfriedt could you please explain motivation behind this suggestion to use DT_INST_FOREACH_STATUS_OKAY instead of DEVICE_DT_INST_DEFINE?

implemented NMI mode (using a new boolean DTSI property: interrupt-nmi; hope that's the best way to do it);

I was planning to handle it as a Kconfig option. No opinion on the DTS property but I'm pretty sure that introducing something like this would need to be first discussed with a wider audience and defined somewhere in bindings for the watchdog subsystem.

Note: as various TI forum posts suggest [1] (I couldn't find any explicit mentions in the Reference), the watchdog clock is always paused during sleep, so there is nothing to be done in this case (I avoided any option checks for this to be permissive).

I found it in datasheet (not the reference manual):

The watchdog timer is used to regain control if the system operates incorrectly due to software errors. It is typically used to generate an interrupt to and reset of the device for the case where periodic monitoring of the system components and tasks fails to verify proper functionality. The watchdog timer runs on a 1.5 MHz clock rate and cannot be stopped once enabled. The watchdog timer pauses to run in Standby power mode and when a debugger halts the device.

Watchdog is also listed under Power Management in Power Modes table in this document. That's why I have some doubts and still plan to do more tests.
Source: https://www.ti.com/lit/gpn/cc1352r
I have also some additional comments, will add them in code.
Cheers,
Piotr

@niflostancu can you please rebase to fix the merge conflicts?

@cfriedt could you please explain motivation behind this suggestion to use DT_INST_FOREACH_STATUS_OKAY instead of DEVICE_DT_INST_DEFINE?

DEVICE_DT_INST_DEFINE does not take status into account, while DT_INST_FOREACH_STATUS_OKAY does.
Alternatively, DEVICE_DT_GET_ANY or DEVICE_DT_GET_ONE.

Why is this failing unrelated tests? Has it been rebased properly?

It's not me :(
It fails on main, too:
>> git rev-parse HEAD
e8f0e66bc4281fec4f7489b8fc54f488761ab91c

>> west build --pristine -b s32z270dc2_rtu1_r52 samples/drivers/watchdog/
[...]
[1/180] Preparing syscall dependency handling
[2/180] Generating include/generated/version.h
-- Zephyr version: 3.2.99 (zephyr), build: zephyr-v3.2.0-3143-ge8f0e66bc428
[168/180] Building C object CMakeFiles/app.dir/src/main.c.obj
FAILED: CMakeFiles/app.dir/src/main.c.obj
ccache zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -D__PROGRAM_START -D__ZEPHYR__=1 -Izephyr/include -Izephyr/build/zephyr/include/generated -Izephyr/soc/arm/nxp_s32/s32ze -Izephyr/soc/arm/nxp_s32/common/. -Imodules/hal/cmsis/CMSIS/Core_R/Include -Imodules/hal/nxp/s32/drivers/s32ze/BaseNXP/header -Imodules/hal/nxp/s32/drivers/s32ze/BaseNXP/include -Imodules/hal/nxp/s32/drivers/s32ze/Mcu/include -Imodules/hal/nxp/s32/drivers/s32ze/Port/include -Imodules/hal/nxp/s32/drivers/s32ze/Rte/include -Imodules/hal/nxp/s32/drivers/s32ze/Uart/include -Imodules/hal/nxp/s32/drivers/s32ze/Swt/include -Imodules/hal/nxp/s32/soc/s32z27/include -Izephyr/modules/hal_nxp/. -isystem zephyr/lib/libc/minimal/include -isystem zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include -isystem zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include-fixed -fno-strict-aliasing -Os -imacros zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-r52 -mabi=aapcs -mfpu=neon-fp-armv8 -mfloat-abi=hard -mfp16-format=ieee --sysroot=zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=zephyr/samples/drivers/watchdog=CMAKE_SOURCE_DIR -fmacro-prefix-map=zephyr=ZEPHYR_BASE -fmacro-prefix-map=zephyrproject=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj -c zephyr/samples/drivers/watchdog/src/main.c
In file included from zephyr/include/zephyr/toolchain/gcc.h:89,
                 from zephyr/include/zephyr/toolchain.h:50,
                 from zephyr/include/zephyr/kernel_includes.h:19,
                 from zephyr/include/zephyr/kernel.h:17,
                 from zephyr/samples/drivers/watchdog/src/main.c:9:
zephyr/samples/drivers/watchdog/src/main.c: In function 'main':
zephyr/include/zephyr/device.h:83:41: error: '__device_dts_ord_DT_N_ALIAS_watchdog0_ORD' undeclared (first use in this function)
   83 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                         ^~~~~~~~~
[...]
zephyr/samples/drivers/watchdog/src/main.c:73:42: note: in expansion of macro 'DEVICE_DT_GET'
   73 |         const struct device *const wdt = DEVICE_DT_GET(DT_ALIAS(watchdog0));
      |                                          ^~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /usr/bin/cmake --build zephyr/build

It's not me :(
It fails on main, too:
>> git rev-parse HEAD
e8f0e66bc4281fec4f7489b8fc54f488761ab91c

>> west build --pristine -b s32z270dc2_rtu1_r52 samples/drivers/watchdog/
[...]
[1/180] Preparing syscall dependency handling
[2/180] Generating include/generated/version.h
-- Zephyr version: 3.2.99 (zephyr), build: zephyr-v3.2.0-3143-ge8f0e66bc428
[168/180] Building C object CMakeFiles/app.dir/src/main.c.obj
FAILED: CMakeFiles/app.dir/src/main.c.obj
ccache zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -D__PROGRAM_START -D__ZEPHYR__=1 -Izephyr/include -Izephyr/build/zephyr/include/generated -Izephyr/soc/arm/nxp_s32/s32ze -Izephyr/soc/arm/nxp_s32/common/. -Imodules/hal/cmsis/CMSIS/Core_R/Include -Imodules/hal/nxp/s32/drivers/s32ze/BaseNXP/header -Imodules/hal/nxp/s32/drivers/s32ze/BaseNXP/include -Imodules/hal/nxp/s32/drivers/s32ze/Mcu/include -Imodules/hal/nxp/s32/drivers/s32ze/Port/include -Imodules/hal/nxp/s32/drivers/s32ze/Rte/include -Imodules/hal/nxp/s32/drivers/s32ze/Uart/include -Imodules/hal/nxp/s32/drivers/s32ze/Swt/include -Imodules/hal/nxp/s32/soc/s32z27/include -Izephyr/modules/hal_nxp/. -isystem zephyr/lib/libc/minimal/include -isystem zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include -isystem zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include-fixed -fno-strict-aliasing -Os -imacros zephyr/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-r52 -mabi=aapcs -mfpu=neon-fp-armv8 -mfloat-abi=hard -mfp16-format=ieee --sysroot=zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=zephyr/samples/drivers/watchdog=CMAKE_SOURCE_DIR -fmacro-prefix-map=zephyr=ZEPHYR_BASE -fmacro-prefix-map=zephyrproject=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT CMakeFiles/app.dir/src/main.c.obj -MF CMakeFiles/app.dir/src/main.c.obj.d -o CMakeFiles/app.dir/src/main.c.obj -c zephyr/samples/drivers/watchdog/src/main.c
In file included from zephyr/include/zephyr/toolchain/gcc.h:89,
                 from zephyr/include/zephyr/toolchain.h:50,
                 from zephyr/include/zephyr/kernel_includes.h:19,
                 from zephyr/include/zephyr/kernel.h:17,
                 from zephyr/samples/drivers/watchdog/src/main.c:9:
zephyr/samples/drivers/watchdog/src/main.c: In function 'main':
zephyr/include/zephyr/device.h:83:41: error: '__device_dts_ord_DT_N_ALIAS_watchdog0_ORD' undeclared (first use in this function)
   83 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                         ^~~~~~~~~
[...]
zephyr/samples/drivers/watchdog/src/main.c:73:42: note: in expansion of macro 'DEVICE_DT_GET'
   73 |         const struct device *const wdt = DEVICE_DT_GET(DT_ALIAS(watchdog0));
      |                                          ^~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /usr/bin/cmake --build zephyr/build

I feel like I've seen errors like this before when a DT node does not have status = "okay"; @niflostancu - can you double check?

Please see #54000 for the actual issue. Apparently, the CI skipped this test when s32z270dc2 watchdog support was added (the broken commit is probably e63d1389a9 ).

@niflostancu this needs another rebase to resolve the merge conflicts.

Just in case anyone comes asking, this PR was merged because it has had no code changes in months but has been rebased over and over to e.g. avoid unrelated CI failures, merge conflicts, and so on.
It's been open for a year (if not this specific PR then a stale / closed prior version). I don't want to force @niflostancu to defer any longer.
Feel free to publicly shame me / force me to fix all of the bugs if this breaks the rules.

While I understand the circumstances involved and the frustration it may have caused, the feature merge freeze process is there for a reason. If we keep making exceptions on an arbitrary basis, it will become harder to draw a line on what should go in after the feature freeze, and will eventually result in the loss of any benefits of implementing the feature freeze/release candidate steps in the release process.
IMHO, this should have been evaluated and approved by the TSC/CCB as per the documented process.

Hi, thanks all for approving this.
I understand your point and especially the fact that large projects like this need very firm procedures and checks to avoid bugs / bloat / other issues.
But I also agree with @cfriedt (whom I thank for the support) and find that needlessly stretching this process for very long periods is a a bit close to the other extreme.
<also insert your favorite "rules are to be broken" quote ;) >
I realize that the TI CCxx platform has few stakeholders and probably no maintainers and this might incur some delays, though this PR introduces an isolated module (watchdog driver for a very specific platform) that cannot really affect (e.g., introduce bugs) anywhere else.
Regarding my contributions, I assure you they are thoroughly tested on real hardware (I already use them in production for over a year) and I am 100% available for fixing any bugs discovered.


About Fine-Tuning

Dear Author,
Thank you for your insightful work. Regarding fine-tuning, I have a question I would like to ask: I used the 50M checkpoint you provided and converted the training data into the jsonl format according to the ETTh1 split described in your paper. Then, I ran the command:
bash python main.py -d dataset/ETT-small/ETTh1.jsonl
which contains 8545 training samples. After obtaining the fine-tuned model, I tested it using the following command:
bash python run_eval.py -d dataset/ETT-small/ETTh1.csv -p 96
However, the MSE and MAE I obtained are lower than the results reported in your paper:
0 - {'mse': tensor(0.4199, device='cuda:0'), 'mae': tensor(0.4490, device='cuda:0')}
I am not sure if there is an issue with my approach. If you have time, could you kindly help clarify this for me?
Thank you very much!

Thank you for your interest in our work.
It's puzzling because the performance is worse than the zero-shot performance.
Could you please provide the script for processing the ETTh1 data? In the training dataset I have for ETTh1, there are 7 sequences, and each sequence has a length of 8640. I also re-ran the fine-tuning and evaluation scripts, and my results matched those reported in the paper.
If you have any questions, please feel free to contact us.


Fix issue with KIND_EXPERIMENTAL_PROVIDER not being properly set

For using kind with podman KIND_EXPERIMENTAL_PROVIDER needs to be set. It was not consistently done in the script and relying on the environment variable being preset.
Besides that PODMAN_CMD was redundant as CONTAINER_ENGINE is already set by the .utils script
Signed-off-by: Frederic Giloux<EMAIL_ADDRESS>

Please resolve conflicts for the merge.

Done.


PLAT-188120 [clme-aepp] aepp DLZ support for AWS

Updated flowservice to take into account Himalaya DLZ changes.
Description

deprecated azure specific methods
introduced new methods covering both clouds

Related Issue

Motivation and Context

as part of Hymalaya effort new cloud is introduced (AWS) this introduces some changes to DLZ which breaks current API methods exposed in aepp.

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

@pitchmuc - would u mind please having a look? updated version + updated conditional for azure vs aws

Fine for me. Thanks for adding this compatibility layer and documenting it. I am not sure if the move to AWS is impacting any other service of AEP, I would not think so on first but not sure if there is someone or a ticket that is able to gathers all impacted areas.

good point, the DLZ is the one obvious components affected by himalaya - i am not aware of others :/

@pitchmuc - had to add minor mod due to most recent change : https://wiki.corp.adobe.com/pages/viewpage.action?pageId=3210438965
more precisely:
.....
  "dataTTL": {
    "timeUnit": "days",
    "timeQuantity": 7
  },
  "dlzProvider": "Amazon S3"
}


Incorrect statement

Q: What conditions can I use for Other clients?
Any condition can be configured for Other clients.
This statement is incorrect as legacy authentication clients do not send information like device platform. As the CA policy is evaluated based on the protocol used only, you cannot leverage any condition as it happens with modern authentication. The only conditions that can be leveraged are the cloud apps and Client apps -Other clients. Please change the above statement to reflect this

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

ID: 625bb1b2-81fd-9804-c0b5-3cd2904decd9
Version Independent ID: e4468b05-200e-24ae-75e9-29fb2b3a6ddc
Content: What are conditions in Azure Active Directory conditional access?
Content Source: articles/active-directory/conditional-access/conditions.md
Service: active-directory
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@a-anpred Thanks for your feedback! We will investigate and update soon on it.

@a-anpred I have assigned the issue to the content author to investigate and update as appropriate.

Hi, what is staus of this investigation for "other clients" does not include nay condition?

see #30152


Update with flag --ff-only

Thanks for your contribution.
Didn't want to take "credit" for it in case you were to create a pr for it 😉


TestContainers Module for WireMock

Proposal
It would be great to have an official wrapper for TestContainers that takes WireMock Docker and configures it in a fancy way, at least for TestContainers Java
Ideas:

The module is officially hosted in this org or in Testcontainers
The module is added to the marketplace

If there are any existing implementations, prototypes, blogs or etc, let us know!

MockServer Module: https://www.testcontainers.org/modules/mockserver/
Blogpost on the integration: https://dev.to/rogervinas/testing-with-wiremock-docker-2gh9
Another blog: https://blog.sebastian-daschner.com/entries/complex-project-setups-testcontainers
And another one: https://blog.devgenius.io/how-to-automate-end-to-end-component-tests-using-junit-docker-wiremock-8e831fb04585?gi=279598bbf745

Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.

Issue in the TestContainers community https://github.com/testcontainers/testcontainers-java/issues/3554

Preview is here: https://github.com/wiremock/wiremock-testcontainers-java


[Documentation] added storagebackend to README

added storagebackend variable to the example in the README to make it easier for people to get started

Nice thanks! Forgot about the docs - they are bound to get an overhaul :)


feature request: support any image source on-the-fly

Hello,
Would it be possible to make this work same as http://www.sencha.com/learn/how-to-use-src-sencha-io/ ?
That is, accessing
http://my-deploy.herokuapp.com/h500/http://whatever.com/image.jpg
will render the image from whatever.com at 500px.
I'm confused by required Amazon credentials (minimum required variables). They should be optional, unless one enables cache storage with Amazon.
Thanks

Hey Marlusa - could you share the onthefly.js - the pastebin does not work anymore and I would love to make it work.

Here it is: http://we.tl/4EUq6C46cI

@mariusa Hey, sorry to be a pain, but I would really love to see it as well. Could you throw it into a private gist instead of a service that expires links?

Sure!
https://gist.github.com/mariusa/a0c6851eb1c1f4e6a865


Color of boxes become gray

Im not sure if i done something wrong. But all the boxes in my map became gray after upgrading to 2.0

Could you please help guide me how to fix this?

I found out the problem. It was a css related to mermaid....


🐞[bug]: Adding small icons in the input fields of  contact us page

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
i would love to add some small icons of name and email which makes the website even more better!
please assign me with the required labels as per gssoc'24 extended program
Expected behavior
Website will look even more better!!
Add ScreenShots
No response
What browsers are you seeing the problem on?
No response
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24EXTD contributor
[X] I have starred the repository

@BVPKARTHIKEYA  go ahead.


Prepare for AddonSkins

This new version prepares the addon to be skinned by AddonSkins.  A pull request was sent to AddonSkins, adding the necessary calls to have the Json dialog skinned nicely!

This PR also resolves the Curse errors.  Apparently, CurseForge hates # symbols anywhere but the beginning of the line.


Initial draft of wasm server integration

This is as simple as it can get:

Has single version of extension without any configuration
Relies on wasm server listening on $runstate_dir/.s.wasm_ext
Uses unix socket with one connection per request (similarly to SCGI)
Uses Pythonic Pickle to serialize request/response

Technically it works, but doesn't make too much sense to integrate right now. Anyone having access to edgedb/edgedb-wasm repo (still private) can play with it though.

Can we add some basic tests here?

This is generally ready, but I'm not sure if we want to fix GC issue somewhere else.

Okay, removed that hack.


[CCAP-555] - Bug mitigated and Pages added to provider response

🔗 Jira ticket
CCAP-555
✍ Description
Updates screens, screen names, flows-configs.  This fixes the bug of the notice being triggered in testing when testers arrive at submit-complete-final
📷 Design reference
Figma
✅ Completion tasks

[ ] Added relevant tests
[ ] Meets acceptance criteria

@jamesiarmes @enyia21 Did this PR got merged without a review?
There is a screen in here with a typo in the name and it is listed nowhere in the flow.

@analoo What is the typo? This isn't a useful comment lol


Grant OpenStack CephX key access to CephFS pools

Since CephFS is now deployed by default by the ceph.yml playbook, include the CephFS meta and data pools by default.
Add CephFS pools to cifmw_cephadm_pools in Ceph playbook so that they will be included when cifmw_cephadm_keys fact is set. Update pools task in cifmw_cephadm role to only create RBD pools since commands to deploy RGW and CephFS (e.g. ceph fs volume create) create their own pools.
Also fix typo with cluster_network in initial ceph.conf.
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running
[x] Appropriate documentation exists and/or is up-to-date:

[x] README in the role
[x] Content of the docs/source is reflecting the changes

/test tox

/lgtm

/approve


implement a stop button for background tasks

@christian-bromann whenever you got time, can you review.

Is this a duplicate of #50 ?

Is this a duplicate of #50 ?

#50 worked on top of this branch, so in a way yes, this would be redundant.

@lorenzejay I see, I switched the base branch in #50 to be on top of this one for better clarity.

@christian-bromann can this be merged. Merged conflicts resolved

Any chance we can shorted the label and use $(debug-stop) or an icon that makes more sene from https://code.visualstudio.com/api/references/icons-in-labels?

Any chance we can shorted the label and use $(debug-stop) or an icon that makes more sene from https://code.visualstudio.com/api/references/icons-in-labels?
cc @christian-bromann @lorenzejay

will do !

@sourishkrout  @christian-bromann  2 options task vs command.

this stop icon might be better ?

The icon works... can rename it to Stop Task please? It's shorter and goes along with Background Task

Closing in favor of https://github.com/stateful/vscode-runme/pull/63


feat(http): add an OnFinished handler to the query service

This is so we can optionally run some code when a query has been
finished and the result has been written out.

We found a different way to do this.


fix: fix  javascript btoa function can not handle Unicode strings issue

see https://web.dev/articles/base64-encoding#strings_in_unicode_and_javascript
https://stackoverflow.com/questions/30106476/using-javascripts-atob-to-decode-base64-doesnt-properly-decode-utf-8-strings
https://stackoverflow.com/questions/8936984/uint8array-to-string-in-javascript

Thanks for the fix!!


Use OSS-Fuzz for improved code quality

The Google project OSS-Fuzz could be used for continuous fuzzing of the Tesseract code. I think about applying, but maybe the maintainers prefer to do that themselves?

@stweil Is there any progress on it?

No, there is no progress on my side. @theraysmith, @zdenop, may I apply for Tesseract?

yes, you can.

@stweil, you can add this to 'Planing'...

Yes, of course, although that's definitely not something for 4.0.0, see https://github.com/google/oss-fuzz/pull/1500.

About the CLA. I understand you.

At the first stage of the project we use libFuzzer with Sanitizers. More fuzzing engines will be added later. ClusterFuzz

Is it too heavy to run it locally?  What about a powerful university server...?

The infrastructure (aka ClusterFuzz, which automates everything and uses different fuzzing engines and technique) is not available for local use. So, you definitely can build and run fuzzers yourself, but that's just a part of an automated continuous fuzzing process. I'd highly recommend revisiting CLA issue. Ideally, you almost won't have to contribute to OSS-Fuzz repo, just add a Dockerfile, project.yaml and build.sh that would call another build script stored in your repo.

On tesseract-dev list - Msg from Guido Vranken

oss-fuzz is a Google initiative that continually fuzzes open source software in search for security bugs like buffer overflows. Please see [1] for more information.
Are the Tesseract developers interested in oss-fuzz integration?
If so, I'll integrate a fuzzer that tests basic API usage (api->SetImage(), api->GetUTF8Text()).
If oss-fuzz finds a new bug, the developers are mailed with bug details and are given 90 days to fix the bug before it is disclosed publicly.
For this I need 1 or more developer e-mail addresses linked to a Google account that can receive bug reports. More addresses can be added later.
I will take care of the rest.
Thanks
Guido
[1] https://github.com/google/oss-fuzz

@jbreiden

Thank you, @Shreeshrii, for that hint. My Google account can be linked to receive reports from OSS-Fuzz.

//cc @guidovranken

Great.. I'll put the fuzzer in my own repo for now and @stweil can later merge it if he wishes..
@Dor1s do you compile with -D_GLIBCXX_DEBUG for C++ projects or should I add it manually?
I'll make a PR within a few hours.

@guidovranken I don't think we use -D_GLIBCXX_DEBUG.

https://github.com/google/oss-fuzz/pull/2210

Thank you, @guidovranken and @Dor1s, for your support to get OSS Fuzz for Tesseract working. The first reports arrived now, so I think this issue can be closed.

You're welcome, let me know if you need help with anything.

I'll integrate a fuzzer that tests basic API usage (api->SetImage(), api->GetUTF8Text()).

@guidovranken Is it possible to expand the fuzzer to test the training tools also?

I also suggest to add the fuzzer code to the tesseract repository, for example in a new directory unittest/fuzzer. Then the build rules can be extended to support local fuzzing.

@Shreeshrii, see the code at https://github.com/guidovranken/tesseract-ocr-fuzzers. Any API can be tested by the fuzzing process – all you need is a little bit of code like the one there.

Feel free to copy my fuzzer code to your repository and license it under your terms.
Where can I find the API documentation to the training tools?
BTW @stweil the fuzzer currently tests images that are 100x100 in size. With higher resolutions, I noticed timeouts (meaning that it takes several seconds or more to process an image, which is not ideal for fuzzing).
Does Tesseract by chance offer an option that would yield reasonable speeds for higher resolution images? Maybe a "low quality" switch?
If not, @Dor1s how do you feel about running a separate fuzzer that processes higher resolution images (eg. 512x512) IF this leads to notably more code coverage than the 100x100 fuzzer (this needs to be tested first), with the downside of frequent timeouts (by a few seconds).
If ClusterFuzz can be configured such that small timeouts don't trigger bug reports, then I'd personally opt to run this fuzzer if it increases the odds of finding more memory bugs (or indefinite hangs), on the premise "something is better than nothing".
The other day I wrote a script that gets some old newspapers from archive.org, extracts random 100x100 rectangles from it, and converts it to the format that the fuzzer can process. This might be useful for generating a seed corpus. I'll push that code into https://github.com/guidovranken/tesseract-ocr-fuzzers one of these days.

Where can I find the API documentation to the training tools?

Oh, I don't think there is any api for training tools. @stweil Is that correct?

tests basic API usage (api->SetImage(), api->GetUTF8Text())

This could be expanded in different ways.

By using additional languages rather than just English. I would suggest adding at least one of each of the following categories of languages since they will cover different paths in the code eg.

Latin script languages (English),
RTL languages (Arabic),
Indic languages (Devanagari Script/Hindi language) and
CJK languages.

By using additional APIs for Get*Text (page_number 0 for first page)

TessBaseAPI::GetUTF8Text()
TessBaseAPI::GetUNLVText()
TessBaseAPI::GetAltoText(int page_number)
TessBaseAPI::GetBoxText(int page_number)
TessBaseAPI::GetHOCRText(int page_number)
TessBaseAPI::GetLSTMBoxText(int page_number)
TessBaseAPI::GetOsdText(int page_number)
TessBaseAPI::GetTSVText(int page_number)
TessBaseAPI::GetWordStrBoxText(int page_number)

If not, @Dor1s how do you feel about ...

Sounds good to me, worth giving a try. We might consider adding an option to always use fork mode for certain fuzz targets, that should help to avoid timeouts. Very likely, it'll just work if you add a $fuzzer_name.options file with the fork mode argument.

@guidovranken, pull request #2350 adds the fuzzer code to Tesseract. I re-used your commits. See also the new build instructions in the Wiki.

Currently OSS-Fuzz does not use the fuzzer code from the Tesseract source tree with a 100 x 100 image. Instead it uses newer code from @guidovranken which is built with a 512 x 512 image.
Handling this larger image sometimes takes more than a second and raises build timeout failures for OSS-Fuzz:
Step #21: [-] PROGRAM ABORT : Test case 'id:000000,orig:input' results in a timeout
Step #21:          Location : perform_dry_run(), afl-fuzz.c:2787
Step #21:
Step #21: fuzzer-api-512x512:
Step #21: BAD BUILD: fuzzing /workspace/out/address/fuzzer-api-512x512 with afl-fuzz failed.

This kind of build error occurs rather often now. As Tesseract basically works on text lines, maybe the image size should be changed to 512 x 256. That's the same width, but a smaller height, so hopefully timeouts can be avoided like that or at least occur less often.
It would also be good to use the fuzzer code and build rules from the Tesseract code base because enhancements would be easier for the Tesseract developers.
@Dor1s and @guidovranken, may I ask you to help me with this as I cannot create pull requests for OSS-Fuzz because of their contributor license agreement?

@guidovranken would you be interested in improving tesseract-ocr fuzzing config in OSS-Fuzz?

Yes definitely, but maybe we should start with disabling AFL because it causes build failures if there's a timeout in the corpus? libFuzzer and its pipeline is more tolerant in this regard.

Sure, sounds good to me

@stweil It's preferable that you replace -fsanitize=fuzzer with $LIB_FUZZING_ENGINE in Makefile.am.
To make it work locally as well, maybe you can detect if $LIB_FUZZING_ENGINE is set, if not, set it to -fsanitize=fuzzer.

Commit 4a434809b0344d6e274e59e81c7e038966a170cc implements that for Git master.


Question about Animals

Can this toolbox also be used with animals to determine the skeleton? For example dogs?
Thanks

The algorithms can be used for animals. But unfortunately we don't have any pretrained model for animals.


Mithril should work without the DOM available

Although it won't display anything, it should still work without a DOM present. Benefits:

misojs, isomorphic-mithril, mithril-node-render, etc. will be completely irrelevant.
Mithril will be completely testable and usable in Node.
Mithril can be more thoroughly tested in browsers, with fewer assumptions on the environment.

Requirements:

The Mithril mock should use htmlparser2 and a recursive converter to parse trusted HTML into what the mock understands. It's nontrivial, but it's not difficult.
It should be possible to create multiple clean mocks at will.
Mithril will have to use a browser field in its package.json pointing to the main Mithril file, and provide a proxy that requires the mock with its htmlparser2 dependency and adds whatever methods are useful when lacking a DOM. An example would be m.root() for creating a root and root.toString() to render that root to a string.

I will also note that this will fix a lot of broken tests (50 failing locally in real browser on next).

It already works without the DOM when you set m.deps accordingly. And how would you accomplish the serialisation to HTML-strings in this case? You have to to write a serialiser which than results in libs that you mention.
If you think there is a way to better integrate mithril in node without sacrificing the small size of mithril this might be an option. But since this can perfectly done in user-land I would stay away from this otherwise.

I agree with @StephanHoyer's general message. Exporting the m function with existing tests gives us a reliable form of virtual DOM. Making that work with target environments other than the browser is an outside-context problem whose requirements aren't obvious (what would you expect config to do in a static output environment?) and should IMO be left to minimal external middleware packages according to consumer intent.
On a related note, JSDOM has recently undergone a major release…

@barneycarroll jsdom hasn't been supporting legacy Node releases (they dropped support for 0.x before iojs 2.0), and we don't need a full DOM.

And config: m.route already replaces the href with sitename.href. We would have to make that an argument for the Node driver.

total mithril noob researching the project, but FWIW a possible usecase for this?
http://electron.atom.io/ -- it's similar to nwjs (node-webkit) with the notable difference that it is purely a node context.
this might be my noob talking, but to use mithril in electron it'd mean that you need to stick with a backend/frontend architecture?

that's what m.deps is for. It could conceivably be used w/ jsdom on the server. The rewrite will most likely address this in a different way to leverage modularity and avoid the overkill-ness of jsdom.

@lhorie And just make sure there's a way to know when a render starts/finishes. Please?
(That's been driving me crazy in testing, BTW.)


mmCIF parser

Hackathon idea, as discussed in the UGM talks:

move the mmCIF parser from the e-PDB folks into the core RDKit codebase.

See also #1584

The PDBeCIF parser  (used by PDBe ccd_utils that Lukas Pravda spoked about at the UGM is a purely Python parser.
To include mmCIF parsing in the core RDKit codebase would involve using a C++ CIF parser. A very good C++ CIF parser I  have used in the is the RCSB CIFPARSE-OBJ library.
I think it would be useful to look into using CIFPARSE-OBJ to provide the same functionality as the existing old style PDB format reading/writing in RDKit and I would be happy to look into this.
What do other people think?

A related but separate issue is providing RDKit users easy-to-use procedure to load ligands from released PDB entries see ...

One of my needs is to be able to:

read a PDB structure (e.g. from pdb or mmCIF format)
strip out the ligand(s) and waters (having some control over the process)
modify the protein e.g. fix problems, adjust protonation state
write out in formats suitable for downstream programs (e.g. in pdb, pdbqt, mol2 formats)

It would be lovely if all of this was possible in RDKit :-)

The Gemmi project does indeed look very promising.
Maybe it would be good at this stage of Gemmi development to try and connect with the project and make sure that the interface between, e.g. a residue in Gemmi and an rdmol object can work well,.
Trying to re-use small molecule code to look after protein structures is difficult - and the last thing you want to do is to re-sanitize all residues in e.g. a ribosome just because the protonation state of one small molecule sitting on it has changed. @osmart @lpravda @tdudgeon what do you think ?

Well, not sure if RDKit has internal representation of proteins or not. I don't think that parsing of macromolecules should be anyhow dependent on an rdkit.Chem.Mol object, so probably a new representation is needed.

I'm not sure of the exact details here but I believe there is basic support for bio-polymers in RDKit in that you can label the atoms with chain and residue information, that way making it possible to handle specified residues or chains etc.
It would be preferable to stick with the existing RDKit constructs rather than create something new.

By all means, if there is some kind of basic support for macromolecules then is should be used and possibly extended. But I am not aware of any (which obviously does not mean a thing :)). There is a method MolFromFasta, which returns rdkit.Chem.Mol object. But I dont think it is a way to go to store small molecules as well as proteins in the same object type.

rdkit.Chem.Mol object does not make sense for macromolecules, you do not want to express them as SMILES or generate conformers. But it could make sense for residues and ligands to be processed as small molecules by RDKit,  if you could make sure that the libraries from e.g. Gemmi and RDKit are compatible.

Hi there! I am the author of another C++ CIF files parser, which you could be interested in: https://github.com/chemfiles/pacif.
It only does the file => std::vector<std::map<std::string, cif::value>> transformation, any interpretation of the data is left to the user of the code. I plan to use it for CIF and mmCIF support in chemfiles, but I did not yet had the time to use it. I am open to changes on the API if needed!
The main advantages of pacif are that it is a header only library depending only on the standard C++11 library, and the BSD license. The main inconvenient is that you still have to extract the data you need from the parsed structures, and that it is relatively recent and might still have some bugs.

Hi, Gemmi developer here. I just came across this discussion. I often hear about RDKit because it's used in various CCP4 projects. Actually, when we started Gemmi, Paul Emsley was advocating BSD license to be compatible with RDKit, but finally the Mozilla Public License was chosen (like for Eigen3).
If you'd like to use Gemmi I'd be happy to help.
@tdudgeon: Gemmi could do points 1 and 2 (and 4 for the pdb format) out of the 4 points that you listed. If it'd be useful to export a macromolecule to some of the existing RDKit data structures for further processing maybe we can sort it out. I haven't used RDKit myself, but a couple days ago I did perhaps a similar exercise: I've spent many hours to figure out how to use gemmi together with the Boost Graph Library to calculate maximum common subgraph.

What was the outcome of this discussion @greglandrum ? Any of these approaches was ever integrated or not in the end?

What was the outcome of this discussion @greglandrum ? Any of these approaches was ever integrated or not in the end?

@pschmidtke: I'm not aware of any work that has been done on this one yet.

@pschmidtke: I'm not aware of any work that has been done on this one yet.

Ok, thanks -> openbabel it is for now then ;)

Ok, thanks -> openbabel it is for now then ;)


Facet search options cannot be passed using SafeIndex

Description
When applying custom filters to #facet_search method on MeiliSearch::Rails::SafeIndex it throws a ArgumentError: wrong number of arguments (given 3, expected 1..2)
Current behavior
On meilisearch-ruby the method has two positional arguments facet, query and options splat for all other keywords arguments.
https://github.com/meilisearch/meilisearch-ruby/blob/v0.26.0/lib/meilisearch/index.rb#L239
When using meilisearch-rails using facet_search through Rails MeiliSearch::Rails module it goes through a meta programmed object MeiliSearch::Rails::SafeIndex which doesn't allow destruction of keyword arguments only positional arguments.
https://github.com/meilisearch/meilisearch-rails/blob/main/lib/meilisearch-rails.rb#L280
      ::MeiliSearch::Index.instance_methods(false).each do |m|
        define_method(m) do |*args, &block|
          if m == :update_settings
            args[0].delete(:attributes_to_highlight) if args[0][:attributes_to_highlight]
            args[0].delete(:attributes_to_crop) if args[0][:attributes_to_crop]
            args[0].delete(:crop_length) if args[0][:crop_length]
          end

          SafeIndex.log_or_throw(m, @raise_on_failure) do
            return MeiliSearch::Rails.black_hole unless MeiliSearch::Rails.active?

            @index.send(m, *args, &block) #SUSPECT code
          end
        end
      end

Expected behavior
Either allow destruction keyword and positional arguments or change facet_search method in Ruby gem to only use positional arguments like search method (example below):
   def search(query, options = {})
      attributes = { q: query.to_s }.merge(options.compact)

      parsed_options = Utils.transform_attributes(attributes)
      response = http_post "/indexes/#{@uid}/search", parsed_options

      response['nbHits'] ||= response['estimatedTotalHits'] unless response.key?('totalPages')

      response
    end

    ### FACET SEARCH

    def facet_search(name, query = '', options = {}) ## change method signatures to match search
      options.merge!(facet_name: name, facet_query: query)
      options = Utils.transform_attributes(options)

      http_post("/indexes/#{@uid}/facet-search", options)
    end

### Example Rails code to reproduce ArgumentError
Product.index.facet_search('color', query, { filter: 'size > 10' })

Environment (please complete the following information):

OS: Ubuntu & macOS Sonoma
Meilisearch server version: 1.5.1
meilisearch-rails version: 0.10.2
meilisearch version: 0.26.0
Rails version: 7.1

Thank you for the detailed report! Apologies for not getting to it sooner.
I will PR a quick fix for this although long term a better solution would be to integrate facet_search into Rails somehow, or refactor SafeIndex.

def facet_search(name, query = '', options = {}) ## change method signatures to match

This would not work, since query is also an optional parameter and to search without a query (but with options) would require our users to manually pass nil.

The other option is placing query inside options

as options[:query] which would look confusing alongside the options[:q] parameter
as options[:facet_query] which would be unintuitive to those used to the python syntax and would not be as clean as ruby APIs are normally

So for now I will implement your suggestion of improving SafeIndex's method forwarding.


Thanks and some questions

Hi Huang,thanks your sharing! But I have some question.
1.The relation of Training image data and the image I want to rebuild.I mean if i want to rebuild some low resolution images of human face. Do you think my Training data should be all the human face images? Or I should make my Training data the more types, the better?
2. The Size of the cutting image in the file "generate_train". I mean you choose the 4141 size to cut the training data cause most paper choose the 91 or 291 images. And the training data all about 300300 size. If my training data all about 1000*1000, should I make my cutting size larger? If I do it, larger cutting size would learn more or less features?
3.About the Multi-scale. In the paper of VDSR the writer said the"Scale augmentation during training is a key technique to equip a network with super-resolution machines of multiple scales." I could not understand that because in FSRCNN, they also used the aug. I think VDSR make the multi scale because of the files "generate_train" and "generate_test". These two files have a "for scale = 2:4". So I want to ask that which is the most important reason to achieve the multi scale rebuild?
4.The most important reason that The VDSR is better the the SRCNN. I did a lot of trying. But I still don't know the key skill of VDSR. What do you think the most important change of VDSR to make a better PSNR to the SRCNN? Maybe the reason is "sum" in the end of the net make it only learn the difference between low and high resolution images? Or the deeper net 20 layers? (I tried 50 layers but a little little better rebuild effect).
So many questions to ask you. A little ashame ^-^

Hi, I am not very familiar with face super-resolution.
(1) I suggest you to read some face super-resolution paper and follow their setting to train.
(2) The multi scale in VDSR is they mix scale 2, 3 and 4 in training. So they can inference difference scale in only one model.
(3) The most importance reason of VDSR are deep network and residual. I suggest you follow the network structure of https://arxiv.org/abs/1609.04802 to train more deeper network.


Fix custom user usage

This PR fixes circular imports by using only the constant AUTH_USER_MODEL in waffle/models.py.
The south initial migration still use get_user_model.

Changes Unknown when pulling b4b22e319ec747e2954eb8735e61f1c4f331f2f7 on thoas:custom-user-fix into ** on jsocol:master**.


Feature/2787 logging and configuration ess fulfilment service

Code Changes
Unit test cases

Are we including the X-Correlation-ID header in calls to the Sales Catalogue Service?

Are we including the X-Correlation-ID header in calls to the Sales Catalogue Service as I can only see where the the User-Agent is added?

Hi Martin, As discussed currently we are not calling Sales catalogue service from web job hence we are not passing user agent. Once we will start using sales catalogue service endpoint for catalogue and product txt files we will pass user agent.

The Correlation_Id is being manually passed around all over the place for the purposes of logging. This makes the code a bit more of a pain to manage, and means it could be missed on some log messages. Could we change this to be more centrally done?
For example, we could introduce a CorrelationIdService. This service would be registered in DI to be a Scoped component, so that each execution of the fullfilment service would get its own instance. Then, the entry point (FulfilmentServiceJob.ProcessQueueMessage()) would set the correlationId on the CorrelationIdService. This would then allow the _X-Correlation-ID to be added to the EventHubLogger's AdditionalValuesProvider, ensuring that the CorrelationId is attached to every log message without having to pass the value all around the code base.
What do you think?

Hi Martin, As discussed we tried different options before implementing existing logic. Post this review comment too we tried few options which didn't work. Hence we have kept existing logic of passing correlation_id as it is.


Error checking context on docker build

Running sudo docker build -t <image> . in the context of /home/$USER, but getting the following error (where $USER is the actual username):
Error checking context: 'can't stat '/home/$USER''.

Running the following Snap version:
Name        Version       Rev   Developer   Notes
docker      17.03.1-ce-1  120   docker-inc  -

Some more system details:
snap    2.24
snapd   2.24
series  16
kernel  4.4.0-1030-raspi2

I'd say it's an expected behavior.
In strict confinement mode, people only have the read&writte permission to access files owned by himself even after home interface is connected(Apparmor rules applied).
If you put Dockerfile under /home/$USER and run docker build command with sudo, which indicates the "owner" of /home/$USER is root, but actaully it's not. So you encountered the following "issue".
Error checking context: 'can't stat '/home/$USER''.
An Apparmor denial popups in /var/log/syslog as well
Jun  6 18:15:22 localhost kernel: [ 1084.250075] audit: type=1400 audit(1496772922.932:24): apparmor="DENIED" operation="open" profile="snap.docker.docker" name="/home/$USER/" pid=1835 comm="docker" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000
I would recommend
a) switch to the root user,  create a directory under $HOME.
b) create a directory under $HOME with sudo,
then put a Dockerfile or docker-compose.yml in that folder.
Either a) or b), please make sure the owner of all files under the newly created directory is root.
Then docker build|compose work for you.
Here are the steps to reproduce the above "issue" and run docker build in a proper way under the confinement mode.
gary-wzl77@localhost:~$ mkdir test1
gary-wzl77@localhost:~$ cd test1/
gary-wzl77@localhost:~/test1$ cat > Dockerfile
FROM alpine
CMD echo "hello-world"
gary-wzl77@localhost:~/test1$ sudo docker build -t hello-world .
Error checking context: 'can't stat '/home/gary-wzl77/test1''.
gary-wzl77@localhost:~/test1$ ls -al
total 12
drwxrwxr-x  2 gary-wzl77 gary-wzl77 4096 Jun  6 18:14 .
drwxr-xr-x 15 gary-wzl77 gary-wzl77 4096 Jun  6 18:14 ..
-rw-rw-r--  1 gary-wzl77 gary-wzl77   35 Jun  6 18:14 Dockerfile
gary-wzl77@localhost:~/test1$ sudo chown root.root -R ../test1
gary-wzl77@localhost:~/test1$ ls -al
total 12
drwxrwxr-x  2 root       root       4096 Jun  6 18:14 .
drwxr-xr-x 15 gary-wzl77 gary-wzl77 4096 Jun  6 18:14 ..
-rw-rw-r--  1 root       root         35 Jun  6 18:14 Dockerfile
gary-wzl77@localhost:~/test1$ sudo docker build -t hello-world .
Sending build context to Docker daemon 2.048 kB
Step 1/2 : FROM alpine
 ---> a41a7446062d
Step 2/2 : CMD echo "hello-world"
 ---> Using cache
 ---> e78b8e69cbc0
Successfully built e78b8e69cbc0
gary-wzl77@localhost:~/test1$ sudo docker run -t hello-world
hello-world

gary-wzl77@localhost:~$ #or switch to root user
gary-wzl77@localhost:~$ sudo -s
root@localhost:~# mkdir test2
root@localhost:~# cd test2
root@localhost:~/test2# cat > Dockerfile
FROM alpine
CMD echo "hello-world"
root@localhost:~/test2# docker build -t hello-world-2 .
Sending build context to Docker daemon 2.048 kB
Step 1/2 : FROM alpine
 ---> a41a7446062d
Step 2/2 : CMD echo "hello-world"
 ---> Using cache
 ---> e78b8e69cbc0
Successfully built e78b8e69cbc0
root@localhost:~/test2# docker run -it hello-world-2
hello-world
root@localhost:~/test2#

I hope this's helpful for you.
P.S
1). If you run docker build or compose on Ubuntu Classic, you could add the login user into docker group so that you won't need sudo for every docker command.  https://github.com/docker/docker-snap/blob/master/bin/help#L9
2). If you run docker build or compose on Ubuntu Core 16, you have to follow above suggestion to do that. The reason here is that you're not able to add the login user into a system group even though docker group is pre-shipped in core image since /etc/passwd, /etc/group is read-only for now.

Worked great, thanks!

I'm using a different approach.
I'm running docker build from within a docker container mapping the docker socket into the container.
You have to keep your source files in a subfolder under root. Map them into the container filesystem.
sudo docker run -ti --rm --name docker -v $(pwd)/source:/source -v /var/run/docker.sock:/var/run/docker.sock rpi-docker /bin/sh
Im running Ubuntu Core 16.

This issue can be solved entirely by simply installing docker in devmode, like so: sudo snap install docker --devmode. I'm aware that this is an anti-pattern, however I do not find the workarounds suggested to be acceptable at all.
Also, it is worth pointing out that the instructions listed at the snapcraft site are wrong. Particularly, the section:

you need to place your dockerfile within $HOME.

Had absolutely no effect for me.

got it working using @egee-irl  answer ! thank you

Is this issue a result of installing docker using snap?  I have a fresh ubuntu 18.04 LTS install and installed Docker using sudo snap install docker.   In the past, I followed the installation instructions here  and I didn't have these kinds of problems.

Here orked great, thanks!!!

Can confirm that placing the dockerfile within the homedir tree did not work. It seems the docker snap is broken.

Same kind of issues here with docker snap. Running the very simple
sudo docker run hello-world
Fails with error
docker: failed to register layer: ApplyLayer exit status 1 stdout:  stderr: mkdir /temp-docker-extract662270098: permission denied.
Relevant line in /var/log/syslog
/var/log/syslog:Jun 19 12:38:35 ZBook-Julien kernel: [ 3262.106348] audit: type=1400 audit(1529404715.486:56): apparmor="DENIED" operation="mkdir" profile="snap.docker.dockerd" name="/temp-docker-extract662270098/" pid=2690 comm="exe" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
Apparmor denied ?
@egee-irl  --devmode workaround did work for me.
Ubuntu Bionic packages at https://download.docker.com/linux/ubuntu/dists/bionic/stable/ are zero bytes long, so using snap with --devmode is really the least bad option I could find.

Creating a UNIX GROUP "docker" and adding the $USER has worked for me.
here are the steps to follow:
https://docs.docker.com/install/linux/linux-postinstall/

@adglkh, worked great, thanks!

@rickrain If you are using docker on ubuntu from snap follow.
To install the latest stable release of Docker CE using snap:
$ sudo snap install docker
If you are using Ubuntu Core 16,
Connect the docker:home plug as it's not auto-connected by default:
$ sudo snap connect docker:home
If you are using an alternative snap-compatible Linux distribution ("classic" in snap lingo), and would like to run docker as a normal user:
Create and join the docker group.
$ sudo addgroup --system docker
$ sudo adduser $USER docker
$ newgrp docker
You will also need to disable and re-enable the docker snap if you added the group while it was running.
$ sudo snap disable docker
$ sudo snap enable docker

Hi folks, I've released a new version of the docker snap to edge channel that uses a new feature with the home plug that allows root to read non-root files. You can try this out by refreshing the snap to the edge channel for testing:
sudo snap refresh docker --edge

And then attempt to build a Dockerfile owned by your user somewhere:
cat "FROM ubuntu:16.04" > Dockerfile
sudo docker build my-dockerfile-test .

And it should work.

Closing all issues and pull requests since this repo is getting archived (see notice at the top of README).


Copy and form updates to the ethical ads page

Copy updates
Makes the form fields the same as on https://readthedocs.org/sustainability/advertising/
Link back to the advertising page for marketers

UPDATED SCREEN

For comparison, the existing ethical ads page is here.

I'm not exactly sure why the travis check failed but it appears to be unrelated to these changes.

:+1:


Sort OperationGroup Results

Motivation
It can be very useful for clients to receive a deterministic ordering of OperationGroups and Operations within an OperationGroup when calling GroupOperations.
Solution
Sort all OperationGroups in a transaction by the lowest OperationIdentifier.Index in each group. Then, sort all Operations in an OperationGroup by OperationIdentifier.Index, ascending.

Pull Request Test Coverage Report for Build 1077

26 of 26 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 87.025%

Totals

Change from base Build 1057:
0.3%

Covered Lines:
825

Relevant Lines:
948

💛  - Coveralls


Add foreign key support

We need to be able to find the foreign keys and make the belongs_to association. It is undecided what we should do for the referenced table as it could be has_one or has_many and it is something we may not be able to deduce from the table

Sql is quite simple:
`SELECT DISTINCT
a.attname as column_name,
format_type(a.atttypid, a.atttypmod) as data_type,
coalesce(i.indisprimary,false) as primary_key,
f.references_table as foreign_table,
f.references_field as foreigh_field,
a.attnum as num
FROM pg_attribute a
JOIN pg_class pgc ON pgc.oid = a.attrelid
left JOIN (
SELECT
tc.table_name as table,
kcu.column_name as field,
ccu.table_name AS references_table,
ccu.column_name AS references_field
FROM information_schema.table_constraints tc
	LEFT JOIN information_schema.key_column_usage kcu
	ON tc.constraint_catalog = kcu.constraint_catalog
	AND tc.constraint_schema = kcu.constraint_schema
	AND tc.constraint_name = kcu.constraint_name

	LEFT JOIN information_schema.referential_constraints rc
	ON tc.constraint_catalog = rc.constraint_catalog
	AND tc.constraint_schema = rc.constraint_schema
	AND tc.constraint_name = rc.constraint_name

	LEFT JOIN information_schema.constraint_column_usage ccu
	ON rc.unique_constraint_catalog = ccu.constraint_catalog
	AND rc.unique_constraint_schema = ccu.constraint_schema
	AND rc.unique_constraint_name = ccu.constraint_name

	WHERE lower(tc.constraint_type) in ('foreign key')
  ) as f on a.attname = f.field
  LEFT JOIN pg_index i ON
      (pgc.oid = i.indrelid AND i.indkey[0] = a.attnum)
  WHERE a.attnum > 0 AND pgc.oid = a.attrelid
  AND pg_table_is_visible(pgc.oid)
  AND NOT a.attisdropped
  AND pgc.relname = '#{table}'
  ORDER BY a.attnum;`

...but it takes some time.
For ECTO typical belongs_to looks like "belongs_to :<plural_table_name>, <our_project>." so we need some simple name converters and...project name (maybe as a enviroment var or flag? ).
I will try to inject those ideas to plsm code (is quite simple and well written :) ).

@the-man-with-a-golden-mind when you say it takes some time, how much time? Remember, this should only be run once per project as any other changes could be done by hand after the initial model. While waiting sucks, a little delay to get correct information is ok with me.
Do you know that your query works on the last few versions of Postgre?

That query doesn't return anything for me on Postgres 9.6.

Having a crack at this, as my current project will use this, and will save everyone a lot of time going forward.
The above query (thank you, by the way!) Adds about 600ms-800ms for me (on my outdated laptop), with about 30 tables, going from 0.7s to 1.4s. That's acceptable IMHO, as you said it's not run very often.

@joshuataylor do you have a fork I could try?

@tslater the postgre foreign key code is in version 2.0 of Plsm. You can go ahead and pull it from Hex and use it

@jhartwell That's good to know. I am actually wanting this for MySQL. I'm much more familiar with MySQL, so looking through the Postgresql query, with it's arrays, has been tough. Anyway, I thought I'd take a stab at a query for MySQL. As I got going on it, I realized the arrays are probably there because you can have multiple keys (ex. primary key and foreign key) on a column, but we're trying to return only one row per column. My solution is probably not robust and might be overlooking some cases, but trying to match the results of the postgresql query, I came up with this:
SELECT DISTINCT
	isc.COLUMN_NAME,
	MAX(isc.DATA_TYPE),
	IF(MAX(isc.COLUMN_KEY)="PRI", "TRUE", "FALSE") as PRIMARY_KEY,
	MAX(REFERENCED_TABLE_NAME),
	MAX(REFERENCED_COLUMN_NAME),
	MAX(isc.ORDINAL_POSITION) as NUM
FROM INFORMATION_SCHEMA.COLUMNS isc
LEFT JOIN  INFORMATION_SCHEMA.KEY_COLUMN_USAGE kcu
ON
	isc.TABLE_NAME=kcu.TABLE_NAME
	 AND isc.TABLE_SCHEMA = kcu.CONSTRAINT_SCHEMA
	 AND isc.COLUMN_NAME = kcu.COLUMN_NAME
WHERE isc.`TABLE_SCHEMA` = 'cephas' AND isc.`TABLE_NAME` = 'quiz_comment'
GROUP BY ISC.COLUMN_NAME
ORDER BY MAX(isc.ORDINAL_POSITION)

I put this query in, with some success. There is a PR /\ with my progress so far.

This has been partially implemented so this ticket will be closed. There may need to be two new tickets, one for MySQL and one from Postgres to make updates to the foreign key info but it would also be helpful to have test data to be able to easily test


update python version

add support for python versions 3.6, 3.7, 3.8, 3.9, 3.10

We already test with 3.6, 3.8, and 3.9.  I think we use it with 3.10 also.  Is there a particular problem that you think would be solved by testing with other versions?

Hello @coryan Can I test it for python 3.10?

I just created a PR that runs the tests with 3.7 and 3.10, filling up the test matrix.


Ignore no document type declaration

I use this on my templates through gulp wrapper.
Can you guys please add the ability to ignore the no document type declaration.
Obviously there is no doctype declaration in the templates.

Rather than ignore one warning, what do you think about adding a generic whitelist of errors?

that would be nice too...


Install/update linux instructions

OPS Build status updates of commit c280979:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/install-azure-cli-apt.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 91de879:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/install-azure-cli-apt.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit ec53f2d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/install-azure-cli-apt.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


pagination pageIndex changes events 怎么写？

分页的pageIndex改变的方法怎么写？

(nzPageIndexChange)

I found no documentation about pagination change events at
https://ng.ant.design/#/components/pagination
so we have to dive into the source. Hope an update for the pagination showcase.

all double binding property like [(property)] has two method [property] and (propertyChange) it should be an common sense for angular developers.

oh got it, thx.


Add Go 1.12 to the travis build

Coverage remained the same at 95.548% when pulling 2a6a5ed9fcbc00ac6e1bdecafa39f260ef62b223 on go-112 into 53c52bfae1e9c3414faab215851d82ce24be1787 on master.

Coverage remained the same at 95.548% when pulling 2a6a5ed9fcbc00ac6e1bdecafa39f260ef62b223 on go-112 into 53c52bfae1e9c3414faab215851d82ce24be1787 on master.


Introducing padding_mask to RetNet

As opposed to the other architectures in this package, RetNet doesn't have support for padding as far as I'm aware. I was thinking the best place to introduce it was along with the positional mask. Here we don't have the luxury of the softmax, so we can't simply mask with infinity in the relevant positions.
From my attempt, the parallel code would be something along the following (assuming left padding and a padding_mask shape of (bsz, seq_len):
sin = torch.sin(index[:, None] * self.angle[None, :])
cos = torch.cos(index[:, None] * self.angle[None, :])
mask = torch.tril(torch.ones(slen, slen).to(self.decay))
mask = torch.masked_fill(
    index[:, None] - index[None, :], ~mask.bool(), float("inf")
)
mask = torch.masked_fill(mask.unsqueeze(0), padding_mask.unsqueeze(-1), float("inf"))
mask = torch.exp(mask.unsqueeze(1) * self.decay[:, None, None])
mask = mask / mask.sum(dim=-1, keepdim=True).sqrt()
mask = torch.nan_to_num(mask)
retention_rel_pos = ((sin, cos), mask)

This would imply expanding the mask here instead of broadcasting it in the forward method.
In the recurrent formulation, perhaps masking the scaling factor accordingly works?
def recurrent_forward(
        self, qr, kr, v, decay, padding_mask=None, incremental_state=None
    ):
        bsz = v.size(0)

        v = v.view(bsz,  self.num_heads, self.head_dim, 1)
        kv = kr * v

        if "prev_key_value" in incremental_state:
            prev_kv = incremental_state["prev_key_value"]
            prev_scale = incremental_state["scale"]
            scale = prev_scale * decay + 1
            kv = prev_kv * (prev_scale.sqrt() * decay / scale.sqrt()).view(
                bsz, self.num_heads, 1, 1
            ) + kv / scale.sqrt().view(bsz, self.num_heads, 1, 1)
            # kv = prev_kv * decay.view(self.num_heads, 1, 1) + kv

        else:
            scale = torch.ones_like(decay)

        incremental_state["prev_key_value"] = kv
        scale = scale.unsqueeze(0).masked_fill(padding_mask.unsqueeze(1), 0)
        incremental_state["scale"] = scale

        output = torch.sum(qr * kv, dim=3)
        return output

I would like some help on this, perhaps the authors have a better approach? @donglixp @sunyt32

In parallel_forward, you can try setting the padding as 0 after mask = mask / mask.sum(dim=-1, keepdim=True).sqrt(). Your implementation also looks fine to me.
In inference, the padding token doesn't influence the subsequent encoding, maybe just skipping it is enough?

Thank you for the quick reply. My reasoning for the parallel code was so that the decay would start from the first non-pad token instead of an arbitrary decay**idx. I'll test the two variants and see if there's any meaningful difference.
For the forward_recurrent code, I believe I'm ignoring the previous pad tokens as the prev_scale will be 0 and scale 1. Thus ignoring the previous kv entry.
Would you be interested in merging this code to the torchscale package? I will fork the repo with the changes if that's the case. Thank you for the help nonetheless :)


Uncaught TypeError: Cannot delete property 'styles' of #

I'm getting this error when trying out the back button:
Uncaught TypeError: Cannot delete property 'styles' of #<Object>
This comes from:
https://github.com/reapp/reapp-ui/blob/7d9ac45c868bd14bac8aa3f949ce862f0d10577a/src/mixins/Styled.js#L37
And is likely related to the fact that React freezes objects passed to style.

Sorry, not related to React freezing style objects. It's probably the fact that props is not supposed to be modified and this is doing exactly that. ie: React likely freezes props.

'use strict';
import React from 'react';
import iOSTheme from 'reapp-ui/themes/ios/theme'
import Theme from 'reapp-ui/helpers/Theme';
import View from 'reapp-ui/views/View';
import BackButton from 'reapp-ui/components/buttons/BackButton';

const ApplicationView = ({title, children}) => (
	<Theme {...iOSTheme}>
		<View title={[<BackButton />, title||"asdf"]}>
			{children}
		</View>
	</Theme>
);

export default ApplicationView;

This has been fixed with: https://github.com/reapp/reapp-ui/commit/c691659f7709c5e24cf793300c96f076ece76050


$member-match should throw FHIROperationException instead of rewrapping the exception

Describe the bug
A clear and concise description of what the bug is.
$member-match should throw FHIROperationException instead of rewrapping the exception.
https://github.com/IBM/FHIR/blob/124c2b6686efb5e40e3efd4196590177300f33db/operation/fhir-operation-member-match/src/main/java/com/ibm/fhir/operation/davinci/hrex/provider/strategy/DefaultMemberMatchStrategy.java#L207
Environment
Which version of IBM FHIR Server? main
To Reproduce
Steps to reproduce the behavior:

Create Two Patients
Throw Exception directly

Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

QA: Logging shown in debugging session with IHI team


refactor: mark non-required properties as such

Description:
Mark non-required properties as such
Motivation and Context:
Console warning about required isWalletOpen in the Initialiser component. This boolean prop now only gets set to true if there is an an open wallet and can be undefined as well as false if not. Same for hasWallets
Previously these props were copied from the settings to the wallet reducer and explicitly initialised as false if not true. Now, we read the settings directly from the settings selector in which the values may or may not be set.
How Has This Been Tested?
Start app without open wallet and verify no warning in the log about this missing prop
Types of changes:
Fix
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage remained the same at 19.105% when pulling f7ce58a9fb678a3f8c9b8a814df2e2bb600483fa on mrfelton:refactor/non-required-props into 977151baf33a86927ad23b29cbe411d71eca6661 on LN-Zap:next.


RabbitMQ scaler is watching the number of Ready instead of Total number of messages

Report
When the RabbitMQ scaler is configured with the amqp protocol it is watching the number of Ready and not the Total number of messages as the code and docs suggest.
The number of messages is taken from the QueueDeclarePassive API here: https://github.com/kedacore/keda/blob/main/pkg/scalers/rabbitmq_scaler.go#L491-L496. Unfortunately, this API returns the number of Ready messages, excluding the unacked ones, and not the total number of them according to the docs here: https://www.rabbitmq.com/dotnet-api-guide.html#passive-declaration
The items.Messages variable name suggests that this is the total number of messages but should be called items.MessagesReady. However, changing that doesn't solve the issue. There should be another way of getting the number of total messages by using the amqp protocol. I'm not sure if there is such method
Expected Behavior
The RabbitMQ scaler with the amqp configuration should return the number of Total messages in the queue and not the number of Ready messages.
I also believe, that if there was a way to get both, Ready and Total, by using the amqp protocol then the excludeUnacknowledged option could albo be supported with the amqp protocol and not with the http only
Actual Behavior
KEDA autoscaling doesn't work as expected.
Let's say it is configured with the QueueLength and value set to 1.
The number of messages in the queue "now":
Number of Total messages (ready+unacked): 50
Number of Unacked messages: 40 (the messages are being processed now)
Number of Ready messages: 10 (waiting for processing)
Number of running pods/consumers: 40
Result: no more pods are spawned even though there are 10 messages waiting and only 40 pods running. KEDA doesn't add more pods before it thinks there are more pods than pending messages.
Steps to Reproduce the Problem

Configure KEDA with RabbitMQ: mode: QueueLength and value: 1
Publish 10 messages
Start 8 customers and let them process the messages without acknowledging them
Observe that only 8 consumers are running and not 10 as expected

Logs from KEDA operator
example

KEDA Version
2.11.0
Kubernetes Version
1.24
Platform
Google Cloud
Scaler Details
RabbitMQ
Anything else?
This issue exists also in the latest version.

Hi,
Sadly amqp protocol doesn't support it. There is nothing that we can do if the underlying SDK doesn't support it, sorry.
If you need the total messages, I'd suggest using the http protocol.
As this can't be fixed, I close this issue as not planned. If you think that the SDK supports somehow this feature (it could be, the SDKs grow and we can't track all of them), just comment the issue and I'll reopen it

I see, but I suggest two changes though:

Update the docs to make it clear that the QueueLength value for amqp works for Ready messages and not for all messages in the queue. Today this is misleading and that's why we have this ticket
Add a comment here https://github.com/kedacore/keda/blob/dbb906ff4d43172d512457a64e60e6ae02875140/pkg/scalers/rabbitmq_scaler.go#L496 explaining that the Messages from RabbitMQ response is actually the number of messages in Ready state

@krisowski sounds reasonable, are you willing to contribute that suggestion? thanks

@zroubalik I can contribute but where do I find the docs? It looks like it's not part of this repo

@krisowski see this repo: https://github.com/kedacore/keda-docs/tree/main/content/docs


Refactor on_system rubocops for use in casks

This PR refactors the existing on_system related rubocops. It extracts the main parts into a helper module that will be shared between formulae and casks. This allows us to use the same checks for both formulae and casks which is nice because the rules are the same. While not strictly necessary right now, doing this will make adding these rules to casks much easier in the next several days or weeks.
This PR doesn't add all of the checks that we have for formulae to casks, that will happen in separate PRs once the relevant taps have had their styles fully fixed. However, I did go ahead and add the check that require not using the on_system blocks inside def install and test do. For casks, I have {uninstall_,}{pre,post}flight blocks marked as allowing if statements while everything else require the on_system blocks.
One thing that we will have to decide soon is where to place the on_system blocks, but I'm going to push that to a separate PR for now.

Review period skipped due to critical label.


Some items in Glossary are categorized as Node.js even though they're unrelated

These two at least:

https://docs.apify.com/academy/node-js/avoid-eacces-error-in-actor-builds
https://docs.apify.com/academy/node-js/apify-free-google-serp-api

This is clearly a bug in categorization of the pages, but my plan would be to remove the categorization of Glossary altogether and replace it with more flexible concept of tags. Also, @metalwarrior665 mentioned that the second page shouldn't be in the Glossary at all, so let's see.

Everything was in the Node.js category in the beginning. I'm also for re-thinking these, a lot of concepts are not really about Node.js (just the examples are in JS).


[store] Signup page in API Store page

Sign-up button in API store home page not in the current version.
But it can be retrieved by going through the login button.
After creating account, redirection does not happen.
Login to the newly created account is also not possible.
Some pages say that there is a Signup button in the API store home page.
https://docs.wso2.com/display/AM260/Sharing+Applications

@tharikaGitHub Can we close this?

This issue will be addressed in https://github.com/wso2/product-apim/issues/5911


Compile mumps as a shared library

Currently, this recipe builds mumps as a static library. As such, it contains
undefined symbols that are supposed to be found in the libraries that mumps
depends on (e.g. scotch).
The problem with this is that whenever we want to link against mumps we also have to link against all the dependencies of mumps as well (see e.g. this thread). This is clearly not great.
Debian already builds a mumps as a shared library, and as far as I can tell it is just a case of applying a few patches to the makefiles to add extra targets that correctly invoke the compiler to build shared libs.
I think that it may just be a case of taking over these patches from the Debian packaging (available over here) and massaging them slightly (e.g. to template out the library version).

The same treatment should also be applied to dependencies that are also currently built as static libs (scotch).


fix LowerUIntegral

I assume this is what was meant.

The remaining two sorrys will be easy with https://github.com/leanprover-community/mathlib4/pull/10485, for which we need to bump mathlib.


Civit model downloads not working as documented

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
12
What version did you experience this issue on?
3.0.1-main
What happened?
According to this link
https://invoke-ai.github.io/InvokeAI/installation/050_INSTALLING_MODELS/#quick-links
You should be able to run
invokeai-model-install --add http://civitai.com/2860
However, I don't believe this will work.  It seems Civit has changed to download links as being a mask to another presigned URL that only lives for 24 hours.  I'm guessing in the past that when a request with no user-agent came in, these would requests would give you the model.  (I actually was not a Civit user before, so this is just my guess)
I think you will have to build more intelligence into this logic here https://github.com/invoke-ai/InvokeAI/blob/bf94412d1499e48d6bd9dfa415ff7f1aeead6710/invokeai/backend/install/model_install_backend.py#L252-L269
To detect and handle Civit (use their API?)
After debugging the code and checking Civit, I'm fairly confident the current code can't download Civit models
Screenshots
No response
Additional context
The only strange thing is that I am the only one noticing this and Civit is very popular.  I checked Discord too.
Contact Details
No response

Yes, Civitai seems to have changed their URLs a bit, so the docs need to be fixed.
If you go to a model you want on civitai and right click on "Download" to "copy link address". It will give you a download link that works. e.g. invokeai-model-install --add https://civitai.com/api/download/models/128713
I'll fix the documentation - thanks for noticing this.


issue with trying to use shinylive to create static version of application

Just watched the talk on shiny live. Tried it out on a test application and ran into a couple of issues.
On first run of shiny static test_app/ site i got an error:
FileNotFoundError: [Errno 2] No such file or directory: '/home/jamie/.cache/shiny/shinylive'

I was able to resolve this by creating the shiny directory in .cache which didn't previously exist.
Following that, running the above which kicks off a download of shiny live I get
Creating directory /home/jamie/.cache/shiny/shinylive
/home/jamie/.cache/shiny/shinylive/shinylive-0.0.1dev does not exist.
Downloading https://pyshiny.netlify.app/shinylive/shinylive-0.0.1dev.tar.gz...
Traceback (most recent call last):
  File "/filestore/ubuntu/git/me/python_shiny/.venv/bin/shiny", line 8, in <module>
    sys.exit(main())
  File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/shiny/_main.py", line 393, in static
    _static.deploy_static(
  File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/shiny/_static.py", line 55, in deploy_static
    shinylive_bundle_dir = _ensure_shinylive_local(version=version)
  File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/shiny/_static.py", line 275, in _ensure_shinylive_local
    download_shinylive(url=url, version=version, destdir=destdir)
  File "/filestore/ubuntu/git/me/python_shiny/.venv/lib/python3.8/site-packages/shiny/_static.py", line 298, in download_shinylive
    urllib.request.urlretrieve(bundle_url, tmp.name)
  File "/usr/lib/python3.8/urllib/request.py", line 286, in urlretrieve
    raise ContentTooShortError(
urllib.error.ContentTooShortError: <urlopen error retrieval incomplete: got only 172669498 out of 186880432 bytes>

I could resolve this using
wget https://pyshiny.netlify.app/shinylive/shinylive-0.0.1dev.tar.gz

then unpacking into ~/.cache/shiny/shinylive

Yikes, sorry to hear that you ran into this. I’ll try to get this fixed today.

No worries, if I had more time just now I would dig into it a bit more.
Enjoyed the talk.
On Thu, 28 Jul 2022, 18:36 Winston Chang, @.***> wrote:

Yikes, sorry to hear that you ran into this. I’ll try to get this fixed
today.
—
Reply to this email directly, view it on GitHub
https://github.com/rstudio/py-shiny/issues/281#issuecomment-1198442018,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNRZ2LMGLK63OYDOZZ4ONDVWLAJFANCNFSM5452NMPA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have a PR that fixes the directory creation issue, but I wasn't able to reproduce the downloading error.

Thanks winston. I have tried this and I can no longer recreate the download error. I was trying this just as you were announcing shiny live, I suspect there were probably a few people downloading at the same time. I wonder if that has anything to do with it.
Either way, seems to be ok and thanks for your prompt response


WFLY-7799 Failover targets should be chosen deterministically

Requires core upgrade 3.0.0.Alpha16 with undertow 1.4.8.Final.
https://issues.jboss.org/browse/WFLY-7799

Closing as to rework the configuration as failover-strategy="DETERMINISTIC|LOAD_BALANCED" so that we have more flexibility for adding strategies in future.

Superseeded by https://github.com/wildfly/wildfly/pull/9509.


feat(Ladder): new component

🔗 Linked issue
Resolves #180
❓ Type of change

[X] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality)
[X] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

This is my interpretation of #549. While is not that simplier like the aforementioned, it's more flexible in design:

Labels are below the indicator icon
Separators can be disabled
Supports click and navigation.
Steps can be enabled to receive click-to-change.
Multiple color combinations

While I tried to make it vertically compatible, it's impossible without making spaghetti code to support both orientations. Instead, we should grab inspiration from Tailwind UI Feeds.
📝 Checklist

[X] I have linked an issue or discussion.
[X] I have updated the documentation accordingly.

@DarkGhostHunter Thanks for this PR! Don't you think it would be best to call this component USteps?

Also, would it make sense to support links?

@DarkGhostHunter Thanks for this PR! Don't you think it would be better to call this component USteps?

Yep, that's okay.
I thought of a ULadder because you go up and down step by step. Also UStairs  for the same reason.

Also, would it make sense to support links?

Well, it does with to, but only if you click the icon.
Its tricky to support links because the link would:

comprise the whole step, including the separators,
or apply both link elements to the icon and label separately.

So I went with the easy route only supporting the click on the icon. Now that you mention it, I should add a hover effect.
As previous attempts show, creating this type of element is tricky and doesn't come without its own limitations and issues, primarily because the design of the step and the separators themselves. Some concessions on functionality and design must be made to avoid unwanted or shallow behavior.

I've encountered this issue on the Breadcrumb component and added the divider outside of the link: https://github.com/nuxt/ui/blob/dev/src/runtime/components/navigation/Breadcrumb.vue#L24

Also, it would be nice to move this component to the Navigation category 😊

I've encountered this issue on the Breadcrumb component and added the divider outside of the link: https://github.com/nuxt/ui/blob/dev/src/runtime/components/navigation/Breadcrumb.vue#L24

Yeah, but here the separstor would be tricky to put unless...
...we add four separators. Two each side of the icon, and two each side of the whole step. This way the looks like the separators are one.
To align them, we should use a 3x2 CSS grid instead, that way the separators on the top can be naturally aligned in the center of the first row, where the icon is.

Also, it would be nice to move this component to the Navigation category 😊

Go ahead.

@DarkGhostHunter Do you plan to keep working this PR or should I take over?

You may take over. The time I had left to work on it is gone 😥

Any news?

Hey ! Is there any news on this PR ?

I haven't found the time to finish this unfortunately. I think this will be dropped and implemented in v3 (#1289) later on as a feature request has been opened in Radix Vue: https://github.com/radix-vue/radix-vue/issues/805.


add node at mouse position

Im having trouble implementing a simple facility to add nodes to the graph at the point of a mouse click, although the examples provided show adding via mouse click, this is with touch and mouse disabled, i would like to be able to get the graph co-ordiante from a mouse click so i can add a node where the users mouse is placed while maintaining the ability to zoom.
I have investigated the cameraposition and graphposition functions with no luck so far
thanks in advance

Hi,
I am having the issue specified in http://stackoverflow.com/questions/40980357/sigma-js-linkurious-add-a-node-for-the-right-click-mouse-event
Is this related ?

Has any progress been made to the autoRescale issue?  I have an existing graph that is not centered around "0,0" that I want to add nodes too, however, with the solution above the nodes get placed super far away from the actual mouse click.

@tylorbayer it would be awesome if you could add some minimal, working code example here. It might take you just a minute but for others it might be hard to know where even to start. ;)

@tylorbayer it would be awesome if you could add some minimal, working code example here. It might take you just a minute but for others it might be hard to know where even to start. ;)

+1

@tylorbayer it would be awesome if you could add some minimal, working code example here. It might take you just a minute but for others it might be hard to know where even to start. ;)

Hi, you resolve this issue?


feat: adds alerts for thin pool usage

Adds alerts for thin pool data and metadata usage.
Provides near full (75%) and critical (85%) usage alerts.
Note: We don't have thin pool name in the alerts since topolvm does not provide it as of now.  But since we support only one thin pool per volume group, current alerts should suffice (IMO).
We can update it to include thin pool names once topolvm shows thin pool name in the metric labels.
Tested with lower thresholds.

Signed-off-by: Santosh Pillai<EMAIL_ADDRESS>

/retest


How login user with Relations?

My User model has id, name and permissions as Relations
const user = yield User
  .query()
  .with('permissions')
  .fetch()

{
  "id": 1,
  "name": "Alex"
  "permissions": [/* ... */]
}

But after login request.currentUser has no permissions property. How create currentUser object with Relations? For example:
request.auth.loginViaId(id).with('permissions')

I believe you can create a middleware which eagerloads the relationships for you.
* handle (request, response) {
  yield request.currentUser.related('permissions').load()
}

Inside controllers
// pre loaded permissions
const permission = request.currentUser.get('permissions')

Closing since no response from the issue reporter