Make it possible to control the order of rules in merged VirtualService definition

Describe the feature request
Currently, istio docs about VirtualService merging state that

Although the order of evaluation for rules in any given source VirtualService will be retained, the cross-resource order is UNDEFINED. In other words, there is no guaranteed order of evaluation for rules across the fragment configurations, so it will only have predictable behavior if there are no conflicting rules or order dependency between rules across fragments.

What we'd like to see is a way to control this order. The use case we have for this is "dark deploy" of developers' feature branches, nicely described in https://github.com/istio/istio/issues/22997#issuecomment-700975915:

One user scenario we have for this is to do with "branch" deployments whereby you want to create a unique deployment of a service for each feature branch that is open for engineers to test their changes before merging to "main" branch.
In a microservice environment it's tricky to deal with routing traffic through the services but wanting a particular request to hit a specific "branch" deployment for a given service.
One way we are solving this is by using header based routing. When we deploy the "branch" environment for Service B we add an additional routing logic to only receive requests with the header x-review:my-branch-name. When an engineer makes a request to Service A with that header, the request will go to the "main" branch deployment of Service A. If Service A then makes a request to Service B, Service A will passthrough the x-review:my-branch-name header to Service B. The service mesh would then see that header and route the request to the "branch" deployment of Service B.
We deploy each "branch" deployment as a separate Helm deployment so would be nice if we could have a separate TrafficSplit in each deployment which will reference the same service but introduce a new header backend route

The problem with this scenario is that it's sensitive to order of rules in merged VirtualService. Let's say we have a service bound to a gateway with prefix /blogs. The version-controlled VirtualService looks like this:
kind: VirtualService
spec:
  hosts:
    - api.company.com
  http:
    - route:
        - destination:
            host: blogs-service
      match:
        - uri:
            prefix: /blogs

And the VirtualService that is a part of dark deployment looks like this:
kind: VirtualService
spec:
  hosts:
    - api.company.com
  http:
    - route:
        - destination:
            host: blogs-service-alexey
      match:
        - uri:
            prefix: /blogs
          headers:
            x-username:
              exact: "alexey"

For this to work the dark deployment's rule should be evaluated before "master" rule, and currently there is no way to reliably achieve this.
Affected product area (please put an X in all that apply)
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Any thoughts/updates on this? 😔

FWIW as of today, I think if you specify another route as a default/fallback route, it should work (and merge properly with the other VS.
 kind: VirtualService
 spec:
   hosts:
     - api.company.com
   http:
     - route:
         - destination:
             host: blogs-service-alexey
       match:
         - uri:
             prefix: /blogs
           headers:
             x-username:
               exact: "alexey"
+    - route:
+        - destination:
+            host: blogs-service
+      match:
+        - uri:
+            prefix: /blogs


service calls are failing in the outlook desktop app, where as working fine in the web outlook app

i am not able to get data from services in desktop outlook plugin.

@vamsithumati Sorry you're hitting an issue. Are you developing an add-in? Can you let us know what services you're calling and what errors you're getting back?
Thanks.

Yes , I am developing an angular plugin for outlook, I have a api call to get data in the plugin. using the plugin in outlook web app the api calls returning the data with out errors. But if run the plugin in desktop outlook application, the api calls are failing.
And suggest me a debugging tool for desktop outlook application while developing the plugins

i am getting error message as Http failure response for (unknown url): 0 Unknown Error


Enable compression

See https://developers.google.com/speed/pagespeed/insights/?url=hackupc.com&tab=mobile

Solved, changed nginx configuration


How to get addtionalText in sap.m.ComboBox?

https://sapui5.hana.ondemand.com/#/api/sap.m.ComboBox
Failed to find an api to getSecondaryValue or getAddtionalText of selectedItem.

Hello @TinaC ,
In the explored tab example select one element and in console you can check
oSelectedItem = sap.ui.getCore().byId("WriteTheComboBoxId").getSelectedItem();
oSelectedItem.getKey();
oSelectedItem.getText();
oSelectedItem.getAdditionalText();
Regards,
Diana

Thanks so much, find it here:
https://sapui5.hana.ondemand.com/#/api/sap.ui.core.ListItem/methods/getAdditionalText


Add server API

Description of changes
Summarize the changes made by this PR.

Improvements & Bug fixes

...

New functionality

...

Test plan
How are these changes tested?

[ ] Tests pass locally with pytest for python, yarn test for js, cargo test for rust

Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?

#2689  👈
spike/generate_ids

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @spikechroma and the rest of your teammates on  Graphite


Update ab3 to edulog

Rename all instances of addressbook to EduLog.
Closes #96 .

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
:information_source: You can also turn on project coverage checks and project coverage reporting on Pull Request comment
Thanks for integrating Codecov - We've got you covered :open_umbrella:


13 add target data getters

Fixes #13
Description
Changes:

add new get_target.py file with getter functions to load and prepare target datasets for 4 features: tenure, property_type, build_year, number_of_rooms
add new function to base_getters.py to enable loading of excel files from s3 with polars
update base config with target data sources plus additional mapping params
add new data sources to config/README.md

Instructions for Reviewer
Please could you:

check for general bugs or mistakes
check the docstrings make sense
check the functions output the expected dataframes for you. For each feature, the dataframes should have one row per LSOA, with one column per feature category. Each cell should contain the corresponding count of that category for the given LSOA

Checklist:

[x] I have refactored my code out from notebooks/
[x] I have checked the code runs
[ ] I have tested the code
[x] I have run pre-commit and addressed any issues not automatically fixed
[x] I have merged any new changes from dev
[x] I have documented the code

[x] Major functions have docstrings
[x] Appropriate information has been added to READMEs

[x] I have explained this PR above
[x] I have requested a code review

Hi @crispy-wonton , I've reviewed your code! Looks great, all very clean and understandable. Just a couple of comments on potentially chaining polar commands together, not performing operations in the return part of the function (mostly for readability and debugging) and putting some of the string heavy parameters into lists/dictionaries.
Well done 🚀 !


Connection refused

This example in README say in output:
failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

This seems like a error with the connection to the postgres server, is it allowing external connections? Have you verified you can connect to postgres from the machine you are running the example on?

Closing this for lack of additional info.


Plugin/list issues from last milestone

Introduces:

github effect
github based issues plugin
pure implementation of github effect
simple implementation of issues listing

Are you planning to add any tests?


Add version number for i3

Added new case, witch gets i3's version, thru i3 --version command. Modified definition of deVer variable, to remove useless info, such as name of maintainer from output.

Weird, it worked, but now it's broken. It worked when i made that request.

I've got simple solution - ps combined with grep. Not perfect, but it should work. I'll create new request, if i manage to get it working.


Error when trying to run this project

Not sure what to say - when I build this with
npx create-t3svelte-app@latest

( Windows 10)
I receive the following :
VITE v3.2.5  ready in 1963 ms

  ➜  Local:   http://localhost:5174/
  ➜  Network: use --host to expose
file:///C:/test2/node_modules/@sveltejs/kit/src/exports/node/index.js:108
        const headers = Object.fromEntries(response.headers);
                               ^

TypeError: undefined is not iterable
    at Function.fromEntries (<anonymous>)
    at setResponse (file:///C:/test2/node_modules/@sveltejs/kit/src/exports/node/index.js:108:25)
    at file:///C:/test2/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:523:6

Node.js v18.12.1

highlighting line 523 here:
				if (rendered.status === 404) {
					// @ts-expect-error
					serve_static_middleware.handle(req, res, () => {
						setResponse(res, rendered);
					});
				} else {
>>>>>                          setResponse(res, rendered);
				}
			} catch (e) {
				const error = coalesce_to_error(e);
				res.statusCode = 500;
				res.end(fix_stack_trace(error));
			}
		});
	};
}

(Seems to happen regardless of project configuration options, both with/without db config. I am trying to create a typescript + tRPC + Prisma configuration

Thanks, I will take a look at this today along with some other open issues. With SvelteKit 1.0 coming out it's a good time to make some important changes to t3svelte


Clarify the type of passing parameters

I was getting the following error on High Sierra
program_source:141:7: error: call to 'clamp' is ambiguous

This change fixes the compile error

I have realized I do not need  to add ".f" for floating point to make it compile, what is the standard?

@hajimehoshi I have realized I do not need to add ".f" for floating point to compile this, what is the coding standard?

I've not decided coding style in Metal program.

As we discussed offline, let's remove f for consistency.

removed


Update to Asciidocs

Following things are updated in this pull request:

Updated to Asciidocs http://puneetbehl.github.io/grails-joda-time/
Issue #19 Fixed Plugin descriptor error
Issue #21 Fixed system locale dependent tests
Updated to Joda-Time v2.9.4

Awesome. Thanks!


Typo: "suggesting the the chip is either"

There is a double the in line 554 of current master branch:

suggesting the the chip is either

Thanks a lot for this tool!

thank you. fixed.


Change twitter icon to X icon

@HimanshuNarware Please assign this issue to me, you'll definitely like my work :)


Symbols edited in Pro 1.2 appear to have their RGB's swapped when viewed in Runtime

Symbols edited in Pro 1.2 appear to have their RGB's swapped when viewed in Runtime (the ASR one below was supposed to be red instead of green)

Repro Case:

Edit a symbol in the mil2525d.stylx in Pro 1.2
View the symbol in Runtime Quartz
Note the colors have their RGBs swapped

CR 319000

@csmoore can you please provide a more specific repro case or document that shows the issue.  Marc-O does not see any error in the colors when edited in Pro with the correct runtime settings.
Are the colors always swapped?
If the original dictionary is good and then wrong after editing, can you please send the two versions of the dictionary as well as the editing steps?

@jeconley - I couldn't repro this just editing symbols in Pro and looking at the raw CIM (but I can't open the current Pro/CIM 1.2 in RuntimeCore daily currently to verify end-to-end) so I am fine with closing this as "can't repro" for now - It may have just been a temporary issue with daily versions of Runtime and/or Pro.

Ok, I will close the CR as can't repro.  Let us know if it pops up again.

Closing as non-repro


fix: file not synced after switch sync method -[INS-4347]

Issue detail
Sometimes after switch sync method. The file has become not synced.
Root cause
When using models.xx.update function, sometimes will update model by stale data. After switch to Insomnia Sync, we will delete gitRepositoryId in workspaceMeta and delete the corresponding gitrepository. But the workspaceMeta will be overwritten by the stale data, so there is gitRepositoryId in meta but no
gitrepository data.

I think we need try to use updateByParentId rather than update in most case.


Build SOF with Zephyr on i.MX

Add support for i.MX to build Sound Open Firmware with Zephyr OS on DSP.
The build target is i.MX8QM. It has one Xtensa HiFi4 core, with 64 KB TCM,
448 KB OCRAM, 8MB SDRAM and 1 ESAI, 1 SAI as audio interfaces.
Please check each commit message.
With these commits I have a successful build.
I obtain the zephyr.ri image which boots the DSP and loads the topology.
root@imx8qmmek:~# ./loadSof.sh
[  166.405965] sof-audio-of 556e8000.dsp: DT DSP detected
[  166.416971] imx-dsp imx-dsp: NXP i.MX DSP IPC initialized
[  166.430784] sof-audio-of 556e8000.dsp: warning: unknown sof_ext_man header type 5 size 0x20
[  166.439213] sof-audio-of 556e8000.dsp: warning: unknown sof_ext_man header type 3 size 0x30
[  166.447885] sof-audio-of 556e8000.dsp: Firmware info: version 1:8:0-cf919
[  166.454703] sof-audio-of 556e8000.dsp: Firmware: ABI 3:19:0 Kernel ABI 3:17:0
[  166.461862] sof-audio-of 556e8000.dsp: warn: FW ABI is more recent than kernel
[  166.469453] sof-audio-of 556e8000.dsp: Firmware info: version 1:8:0-cf919
[  166.476264] sof-audio-of 556e8000.dsp: Firmware: ABI 3:19:0 Kernel ABI 3:17:0
[  166.483406] sof-audio-of 556e8000.dsp: warn: FW ABI is more recent than kernel
[  166.506546] sof-audio-of 556e8000.dsp: Topology: ABI 3:18:1 Kernel ABI 3:17:0
[  166.515821] sof-audio-of 556e8000.dsp: warn: topology ABI is more recent than kernel
[  166.526795] sof-audio-of 556e8000.dsp: tplg: config SAI1 fmt 0x1 mclk 12288000 width 32 slots 2 mclk id 0
[  166.537294] sof-audio-of 556e8000.dsp: ASoC: Parent card not yet available, widget card binding deferred
root@imx8qmmek:~#
root@imx8qmmek:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: btscoaudio [bt-sco-audio], device 0: 59040000.sai-bt-sco-pcm-wb bt-sco-pcm-wb-0 [59040000.sai-bt-sco-pcm-wb bt-sco-pcm-wb-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofwm8960audio [sof-wm8960-audio], device 0: Port0 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root@imx8qmmek:~# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: btscoaudio [bt-sco-audio], device 0: 59040000.sai-bt-sco-pcm-wb bt-sco-pcm-wb-0 [59040000.sai-bt-sco-pcm-wb bt-sco-pcm-wb-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofwm8960audio [sof-wm8960-audio], device 0: Port0 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Pull requests were also opened on:

SOF repo - see #4217
xtensa_hal - see #12

cc: @dbaluta @lyakh @kv2019i @andyross @lgirdwood @MaureenHelm @dleach02

Cc: @MaureenHelm

ping

@MaureenHelm I think this is probably blocking on your inputs, the SOF parts and SOF PR are good. Fwiw, we aim to get this in for SOF v1.9 (next release - as this means we will be down to only 2 platforms that use xtos)

@lgirdwood @MaureenHelm, I believe we shouldn't merge this part, yet.
It's still work in progress - I'm debugging the boot failure – the memory from .noinit section (that’s for stack variables) is corrupted.
The hang-up of Zephyr looks related with multithreading mode initialization.

@lgirdwood @MaureenHelm, I believe we shouldn't merge this part, yet.
It's still work in progress - I'm debugging the boot failure – the memory from .noinit section (that’s for stack variables) is corrupted.
The hang-up of Zephyr looks related with multithreading mode initialization.

Thanks for the update, I think @kv2019i and @andyross are also looking at linker section issues on the Intel side, these could all be related. Fwiw, the component init section is also not working, you can see it's currently hard coded in sof/zephyr/wrapper.c as a work around.

@andyross @kv2019i @lyakh @dbaluta @lgirdwood @MaureenHelm
This is my analysis of the boot failure of SOF with Zephyr on imx.
I've debugged using /dev/mem and I realized that the code execution goes to init.c, z_cstart() function.
Next, because CONFIG_MULTITHREADING is enabled, it executes switch_to_main_thread() and goes to bg_thread_main().
Here, it runs until z_sys_init_run_level(_SYS_INIT_LEVEL_POST_KERNEL).
It should execute the POST_KERNEL functions, but fails to do so.
enable_logger()from log_core.c is run
but
k_sys_work_q_init() from system_work_q.c it's not.
The execution flow stops between these two: enable logger and enable work_q.
The logger thread is created, but never started.
On the other hand, the interrupt handler (_xtensa_handle_one_int3()) is executed for a about ~100 times since the timer (xtensa_sys_timer/sys_clock_driver_init()) is enabled (see below my_int_mask_3_cnt variable from _xtensa_handle_one_int3()) and then it get's stuck, as well.
I see that the interrupt handler (_xtensa_handle_one_int3()) is executed after the logger is enabled.
Code Flow                                           No. of times the intterupt handler is executed
_start() ->                                                        0
---------- z_cstart() ->                                           0
            timer enable                                           0
            multithread enable                                     0
------------------------ bg_thread_main() ->                       0
                        logger enable                              0
                        work_q enable                              0
                          logger started                           0
                          work_q started                           0

I've added several counters for debugging where the execution flow goes between the threads and the interrupt handlers: see my debug commit - https://github.com/zephyrproject-rtos/zephyr/pull/35467/commits/ea08a79fb2974dad505e9b7274b95bbd5ca2cd62
For debugging the bg_thread_main, I'm using 3 variables in 3 different memory sections (to check when one it gets corrupted) and I set these variables while the code is executed and I read them later, from kernel with /dev/mem.
__attribute__((section(".noinit"))) sof_status1[3]
__attribute__((section(".data"))) sof_status2[3]
__attribute__((section(".heap_mem"))) sof_status3[3]

While using these variables I've realized that after prepare_multithreading() is executed (so starting from switch_to_main_thread(prepare_multithreading()); from init.c) the.noinitsection gets corrupted - when reading the above 3 variables sof_status1 is always out of order:
root@imx8qmmek:~# ./readVar.sh
==============================================================
Read sof_status
===============================
E
Reading 0x3 count starting at address 0x92429E80
0x92429E80:  00000000 9242FE60 92429FDC - sof_status1 variable
E
Reading 0x3 count starting at address 0x92430340 - sof_status2 variable
0x92430340:  33330002 33330002 33330002
E
Reading 0x3 count starting at address 0x933F4000 - sof_status3 variable
0x933F4000:  33330002 33330002 33330002

So, any suggestions, comments, ideas to try, are welcomed.
Here's my log -
Thanks!

Some notes. Nothing looks like a terrible mistake that I can see.
Do you have any suggestions regarding https://github.com/zephyrproject-rtos/zephyr/pull/35467#issuecomment-860954897?
The problem I have is that the execution flow gets stuck-  I don't see any threads running.
And the interrupt handler is executed only ~100 times.

Some notes. Nothing looks like a terrible mistake that I can see.
Do you have any suggestions regarding #35467 (comment)?
The problem I have is that the execution flow gets stuck- I don't see any threads running.
And the interrupt handler is executed only ~100 times.

@andyross on a normal Zephyr execution flow, should we get to xtensa_excint1_c() from xtensa-asm2.c?

@lgirdwood @MaureenHelm, I believe we shouldn't merge this part, yet.
It's still work in progress - I'm debugging the boot failure – the memory from .noinit section (that’s for stack variables) is corrupted.
The hang-up of Zephyr looks related with multithreading mode initialization.

Thanks for the update, I think @kv2019i and @andyross are also looking at linker section issues on the Intel side, these could all be related. Fwiw, the component init section is also not working, you can see it's currently hard coded in sof/zephyr/wrapper.c as a work around.

@lgirdwood @MaureenHelm @andyross @kv2019i @dbaluta this is now ready for review and it can be merged, if it's ok with you.
As mentioned in the pull request I obtain now the zephyr.ri image which boots the DSP and loads the topology.
@andyross I've also removed the debug code :)

@iuliana-prodan  this looks good to me AFAICT. @MaureenHelm can you help review this?

@iuliana-prodan this looks good to me AFAICT. @MaureenHelm can you help review this?

@iuliana-prodan @dbaluta Can you have a look at the buildkite failure?
ERROR   - Cmake build failure: /workdir/zephyr/samples/subsys/audio/sof for nxp_adsp_imx8
INFO    -  11/123 nxp_adsp_imx8             samples/subsys/audio/sof/sample.audio.sof          FAILED Cmake build failure (build)
INFO    - ---/workdir/zephyr/twister-out/nxp_adsp_imx8/samples/subsys/audio/sof/sample.audio.sof/build.log----
ERROR   - Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/samples/subsys/audio/sof
-- Zephyr version: 2.6.99 (/workdir/zephyr), build: zephyr-v2.6.0-744-g14e65a9e1e68
-- Found Python3: /usr/bin/python3.8 (found suitable exact version "3.8.5") found components: Interpreter
-- Found west (found suitable version "0.11.0", minimum required is "0.7.1")
-- Board: nxp_adsp_imx8
-- Cache files will be written to: /root/.cache/zephyr
-- Using toolchain: zephyr 0.12.4 (/opt/toolchains/zephyr-sdk-0.12.4)
-- Found dtc: /opt/toolchains/zephyr-sdk-0.12.4/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/xtensa/nxp_adsp_imx8/nxp_adsp_imx8.dts
-- Generated zephyr.dts: /workdir/zephyr/twister-out/nxp_adsp_imx8/samples/subsys/audio/sof/sample.audio.sof/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/twister-out/nxp_adsp_imx8/samples/subsys/audio/sof/sample.audio.sof/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/twister-out/nxp_adsp_imx8/samples/subsys/audio/sof/sample.audio.sof/zephyr/include/generated/device_extern.h

warning: SMP_BOOT_DELAY (defined at kernel/Kconfig:793) was assigned the value 'y' but got the value
'n'. Check these unsatisfied dependencies: SMP (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_SMP_BOOT_DELAY.html and/or look up
SMP_BOOT_DELAY in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.

Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/xtensa/nxp_adsp_imx8/nxp_adsp_imx8_defconfig'
Merged configuration '/workdir/zephyr/samples/subsys/audio/sof/prj.conf'
Merged configuration '/workdir/zephyr/samples/subsys/audio/sof/boards/nxp_adsp_imx8.conf'
Configuration saved to '/workdir/zephyr/twister-out/nxp_adsp_imx8/samples/subsys/audio/sof/sample.audio.sof/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/twister-out/nxp_adsp_imx8/samples/subsys/audio/sof/sample.audio.sof/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.12.4/xtensa/nxp_imx_adsp/xtensa-zephyr-elf/bin/xtensa-zephyr-elf-gcc
CMake Error at /var/lib/buildkite-agent/zephyr-module-cache/modules/audio/sof/zephyr/CMakeLists.txt:332 (zephyr_library_sources):
  zephyr_library_sources Function invoked with incorrect arguments for
  function named: zephyr_library_sources

-- Found Python3: /usr/bin/python3.8 (found version "3.8.5") found components: Interpreter
-- version.cmake starting SOF build at 2021-07-06T09:46:09Z UTC
-- Building git commit with parent(s):
14e65a9e1e 4265955ba1 (HEAD) CODEOWNERS: add codeowner for SOF with Zephyr on NXP i.MX8
-- GIT_TAG / GIT_LOG_HASH : v1.5-rc1-1471-g779f28ed465c / 779f28ed4
CMake Warning at /var/lib/buildkite-agent/zephyr-module-cache/modules/audio/sof/scripts/cmake/version.cmake:116 (message):
  Source content hash not computed without git, using GIT_LOG_HASH instead
Call Stack (most recent call first):
  /var/lib/buildkite-agent/zephyr-module-cache/modules/audio/sof/zephyr/CMakeLists.txt:543 (include)

-- Generating /var/lib/buildkite-agent/zephyr-module-cache/modules/audio/sof/zephyr/include/version.h
-- Configuring incomplete, errors occurred!
See also "/workdir/zephyr/twister-out/nxp_adsp_imx8/samples/subsys/audio/sof/sample.audio.sof/CMakeFiles/CMakeOutput.log".
See also "/workdir/zephyr/twister-out/nxp_adsp_imx8/samples/subsys/audio/sof/sample.audio.sof/CMakeFiles/CMakeError.log".

@iuliana-prodan this looks good to me AFAICT. @MaureenHelm can you help review this?

@iuliana-prodan @dbaluta Can you have a look at the buildkite failure?

I don't know why is this failing.
Can you please help me understand how buildkite is running?
I'm building and signing the image using the following commands:
west build -d imx -b nxp_adsp_imx8 zephyr/samples/subsys/audio/sof/
west sign -d imx -p rimage/build/rimage -t rimage -D rimage/config -- -k  no

I've started from here and here.
Here's my build log:
nxa06898@lsv15040:/opt/samba/nxa06898/zephyrproject$ west build -d imx -b nxp_adsp_imx8 zephyr/samples/subsys/audio/sof/
-- west build: generating a build system
Including boilerplate (Zephyr base): /opt/samba/nxa06898/zephyrproject/zephyr/cmake/app/boilerplate.cmake
-- Application: /opt/samba/nxa06898/zephyrproject/zephyr/samples/subsys/audio/sof
-- Zephyr version: 2.6.99 (/opt/samba/nxa06898/zephyrproject/zephyr), build: zephyr-v2.6.0-744-g14e65a9e1e68
-- Found Python3: /usr/bin/python3.6 (found suitable exact version "3.6.9") found components: Interpreter
-- Found west (found suitable version "0.11.0", minimum required is "0.7.1")
-- Board: nxp_adsp_imx8
-- Cache files will be written to: /home/nxa06898/.cache/zephyr
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Using toolchain: zephyr 0.12.2 (/opt/zephyr-sdk-0.12.2)
-- Found dtc: /opt/zephyr-sdk-0.12.2/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: /opt/samba/nxa06898/zephyrproject/zephyr/boards/xtensa/nxp_adsp_imx8/nxp_adsp_imx8.dts
-- Generated zephyr.dts: /opt/samba/nxa06898/zephyrproject/imx/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /opt/samba/nxa06898/zephyrproject/imx/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /opt/samba/nxa06898/zephyrproject/imx/zephyr/include/generated/device_extern.h
Parsing /opt/samba/nxa06898/zephyrproject/zephyr/Kconfig
Loaded configuration '/opt/samba/nxa06898/zephyrproject/zephyr/boards/xtensa/nxp_adsp_imx8/nxp_adsp_imx8_defconfig'
Merged configuration '/opt/samba/nxa06898/zephyrproject/zephyr/samples/subsys/audio/sof/prj.conf'
Merged configuration '/opt/samba/nxa06898/zephyrproject/zephyr/samples/subsys/audio/sof/boards/nxp_adsp_imx8.conf'
Configuration saved to '/opt/samba/nxa06898/zephyrproject/imx/zephyr/.config'
Kconfig header saved to '/opt/samba/nxa06898/zephyrproject/imx/zephyr/include/generated/autoconf.h'

warning: SMP_BOOT_DELAY (defined at kernel/Kconfig:793) was assigned the value 'y' but got the value
'n'. Check these unsatisfied dependencies: SMP (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_SMP_BOOT_DELAY.html and/or look up
SMP_BOOT_DELAY in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.

-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/zephyr-sdk-0.12.2/xtensa/nxp_imx_adsp/xtensa-zephyr-elf/bin/xtensa-zephyr-elf-gcc
-- Found Python3: /usr/bin/python3.6 (found version "3.6.9") found components: Interpreter
-- version.cmake starting SOF build at 2021-07-07T09:20:08Z UTC
-- Building git commit with parent(s):
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- GIT_TAG / GIT_LOG_HASH : v1.8-rc1-302-gcf91943acfb3 / cf91943ac
CMake Warning at /opt/samba/nxa06898/sof/sof/scripts/cmake/version.cmake:116 (message):
  Source content hash not computed without git, using GIT_LOG_HASH instead
Call Stack (most recent call first):
  /opt/samba/nxa06898/sof/sof/zephyr/CMakeLists.txt:576 (include)

-- Up-to-date /opt/samba/nxa06898/sof/sof/zephyr/include/version.h
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/samba/nxa06898/zephyrproject/imx
-- west build: building application
[1/224] Preparing syscall dependency handling

[217/224] Linking C executable zephyr/zephyr_prebuilt.elf

[224/224] Linking C executable zephyr/zephyr.elf
Memory region         Used Size  Region Size  %age Used
vector_reset_text:         289 B        736 B     39.27%
vector_reset_lit:          0 GB        288 B      0.00%
vector_base_text:         362 B        376 B     96.28%
 vector_int2_lit:          0 GB          4 B      0.00%
vector_int2_text:           3 B         28 B     10.71%
 vector_int3_lit:          0 GB          4 B      0.00%
vector_int3_text:           3 B         28 B     10.71%
 vector_int4_lit:          0 GB          4 B      0.00%
vector_int4_text:           3 B         28 B     10.71%
 vector_int5_lit:          0 GB          4 B      0.00%
vector_int5_text:           3 B         28 B     10.71%
vector_kernel_lit:          0 GB          4 B      0.00%
vector_kernel_text:           3 B         28 B     10.71%
 vector_user_lit:          0 GB          4 B      0.00%
vector_user_text:          18 B         28 B     64.29%
vector_double_lit:          0 GB          4 B      0.00%
vector_double_text:           6 B         28 B     21.43%
 iram_text_start:         192 B        424 B     45.28%
          sdram0:      202016 B         8 MB      2.41%
          sdram1:       8144 KB      8172 KB     99.66%
        IDT_LIST:          0 GB         8 KB      0.00%
static_uuid_entries_seg:        1104 B        24 KB      4.49%
static_log_entries_seg:          0 GB        32 MB      0.00%
 fw_metadata_seg:         720 B        32 MB      0.00%

Here's the complete log, for build and sign:
west_build_and_sign_log.txt
The failure might be due to the SOF module brought, by default, to Zephyr.
In my environment, I'm using a symbolic link to the SOF module, where I've added the support for i.MX with Zephyr (see pull request here - this was merged on SOF master branch).
@nashif should I cherry-pick my SOF pull request (#4217) on zephyr branch from zephyrproject-rtos/sof repo?
cc: @MaureenHelm @nashif @andyross @dbaluta @lgirdwood

The failure might be due to the SOF module brought, by default, to Zephyr.
In my environment, I'm using a symbolic link to the SOF module, where I've added the support for i.MX with Zephyr (see pull request here - this was merged on SOF main branch).
@nashif should I cherry-pick my SOF pull request (#4217) on zephyr branch from zephyrproject-rtos/sof repo?

Yes, the SOF module needs to be updated. See Submitting changes to modules for details about how to do this.

@nashif @lgirdwood can you please help me update the SOF module from Zephyr with the i.MX support?
I see that the SOF module brought to zephyrproject-rtos is a fork from thesofproject/sof so how can I update the fork:

cherry pick only the i.MX support from thesofproject/sof, main branch;
update to latest main commit;
Please let me know which of the above solution should I use, or maybe you think of something else.

Next, I will update the commit id from west.yaml file for sof module.
Thank you!
cc: @lyakh @kv2019i @marc-hb @dbaluta @MaureenHelm @andyross

@nashif @lgirdwood can you please help me update the SOF module from Zephyr with the i.MX support?
I see that the SOF module brought to zephyrproject-rtos is a fork from thesofproject/sof so how can I update the fork:

It's not a fork - just a clone.

cherry pick only the i.MX support from thesofproject/sof, main branch;
update to latest main commit;

Yes option 2,  I have just pushed main HEAD from now. It turns out the The Zephyr clone repo was using the old master naming so please also update the manifest to use the main branch instead of master.
@nashif can we add @dbaluta and @iuliana-prodan to have push access to the Zephyr SOF module. This will allow us to split the work and can both update as Intel/NXP release schedules dictate.

I've created pull requests to update xtensa_hal and SOF module with the imx8 audio DSP support:

https://github.com/zephyrproject-rtos/zephyr/pull/37209
https://github.com/zephyrproject-rtos/zephyr/pull/37250

@iuliana-prodan can you rebase this and resubmit in order to trigger the CI again. The build problem should be fixed now, right?

Changes from pervious version:

rebase to latest main;
update west.yaml, for SOF module with the sha-1 of latest commit, instead of pull request number.

Thanks @iuliana-prodan. Awesome work!


[Backport 1.x] Add maven publish workflow

Description
Add maven publish workflow
Issues Resolved
#694
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1453 (5d92d4f) into 1.x (1d4dc23) will increase coverage by 21.67%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@              Coverage Diff              @@
##                1.x    #1453       +/-   ##
=============================================
+ Coverage     54.87%   76.55%   +21.67%
  Complexity      283      283
=============================================
  Files           244       38      -206
  Lines          7750     2158     -5592
  Branches       1551      228     -1323
=============================================
- Hits           4253     1652     -2601
+ Misses         3327      365     -2962
+ Partials        170      141       -29

Flag
Coverage Δ

dashboards-observability
?

opensearch-observability
76.55% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...isualization_container/visualization_container.tsx

...izations/count_distribution/count_distribution.tsx

...c/components/explorer/visualizations/datapanel.tsx

...application_analytics/helpers/modal_containers.tsx

..._analytics/components/traces/span_detail_table.tsx

...public/components/common/field_icon/field_icon.tsx

...ce_analytics/requests/dashboard_request_handler.ts

...onents/application_analytics/components/create.tsx

...mon/helpers/ppl_docs/functions/full_text_search.ts

...ents/helpers/__tests__/sampleZeppelinNotebooks.tsx

... and 196 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Update README.md

A little plugin to copy file to CDN, Delete a file from CDN & Downloading all files from directory of CDN.
URL: https://github.com/kushalpogul/cdn-functions

Could you please close the three duplicate PRs in favor of #255?


Trip reports show incorrect start time if the trip started before the report start time

When you do a trip report and a trip started before your specified start time it just uses the time you specified as the start time regardless of when the trip actually started. However, if the trip ended after your end time it doesn't return the trip at all but does at least seem to respect the actual end time of the trip

I would need to see examples, and what you expect to see.

Hi Tananaev,
Sorry, I should have clarified a bit!
I've attached a couple of reports that illustrate what I think the problem is. The correct one was a report starting at midnight, showing the trip starting at 06:34. The second report shows the same trip but I set the report parameters to start from 7 and it is cut short, only showing the part of the trip that is after the start time. The api produces the same results.
Additionally, if I set the end time to before 7:06 (when the trip ends) the trip would not show in the results at all.
I appreciate that these may be by design but I would have expected the start and end to have the same effect on the results.
Chris
report-correct.xlsx
report-incorrect.xlsx

That's expected behaviour. Trips are calculated on the fly, so you will only get data for the selected period of time.


Table of contents

(I have slowly added commits to this and hence have edited this description down in case the email notifications are confusing)
This is now a gem that is referenced locally from the Gemfile. There's no need to release it yet, but if we stick with the "let them fork it" approach then moving shared functionality into gems is one way of avoiding them having to merge in upstream changes.

It would be nice to remove the nokogiri dependency if possible. Nokogiri is fast and forgiving with malformed HTML, but we don't really care about speed and the HTML is generated from the markdown. It might be possible to replace it with REXML.

I think I might remove the keyword arguments to make this Ruby 1.9 compatible. It looks like middleman is 1.9 compatible and it won't be "our" ruby interpreter that runs this thing. Hmm.
It's mergable though, bar any other feedback. Improvements can always come later.

So I have recently learnt to read, and guess what I found.

The HTML renderer has an alternate version, Redcarpet::Render::HTML_TOC, which will output a table of contents in HTML based on the headers of the Markdown document.
When instantiating this render object, you can optionally pass a nesting_level option which takes an integer and allows you to make it render only headers until a specific level.

https://github.com/vmg/redcarpet

Le facepalm.

I have finally remembered why I didn't use it! I'm now wondering if it's not a very good reason..
That Redcarpet::Render::HTML_TOC renderer wants markdown, not HTML, and yield returns the compiled HTML. I thought at the time that fighting the framework to return markdown rather than HTML wasn't worth it. I'll try fighting it for a bit to see how plausible it is. It probably won't be that hard actually :/

If it's a lot of work, happy with your solution – the pre-existing one just seems slightly less fragile as it's not trying to parse HTML. But that sounds like it might be a valid reason not to use it.

I had a play. It might be possible to use Redcarpet::Render::HTML_TOC but not until we have time to do a deeper dive I don't think either of the ways I thought of are very nice: https://github.com/alphagov/tech-docs-template/pull/19
I'm not too worried about the fragility of the HTML. It's just been generated from markdown so it should be well formed.
It's a little sad that this adds Nokogiri as a dependency.. but until we've got time for a deeper dive I think we should go with this one. It's vendored and so will be easy to delete/replace when/if the time comes. It also doesn't affect the way you use a normal middleman app, apart from the #table_of_contents method itself.


Work branch

This work branch

mplements the SetFillMode command, replacing per-element fill mode flags
adds alpha values to kernel4 output

As usual, the changes are self-contained and can be approved or rejected in any order.

I've pushed support for alpha output from kernel4. I also changed the color format to alpha pre-multiplied.

I've merged the sRGB and SetFillMode changes, as agreed in our meeting. We agreed in the RGBA change as well, but I'd like to think about shaving off that extra clip stack word for a bit.

I opened #77 and tested it with this branch as well. It showed a similar improvement around 15%. If we go with that approach, then we can probably worry less about the extra stack word.
Also, my gut feeling is that the performance regression mostly comes from the extra computation. I suggest using f16 to store the stack entries as it avoids doing sRGB conversion all the time (pow is expensive). It does more memory access (and also requires a GLSL extension) but is slightly faster on my 5700 XT.

Thank your for the review. I've commented on #77 for a potential hybrid approach where the topmost clip operations are kept in thread local memory, and the rest spilled to global memory.


[6.0][🍒] Avoid recursing into non swift modules when collecting exported imports

Avoid recursing into non swift modules when collecting exported imports
Original PR: https://github.com/swiftlang/swift/pull/75619
rdar://132593532

@swift-ci please test

Explanation: Ensures that symbol graph generation code doesn't look for transitive exported imports in non swift imported modules.
Scope: Fix erroneous output or hangs during symbol graph generation.
Risk: Low. This only affects symbol graph generation and not regular build or module emission.
Original PR: https://github.com/swiftlang/swift/pull/75619
Testing: Test suite contained existing tests which were modified to catch this regression.
Issue/Radar: rdar://132593532
Reviewed By: @QuietMisdreavus


Remove entries with non-existing paths from cache

I use git worktrees extensively. When I start working with them, I register the virtual environment initialised in them with venv-selector so that they can be activated automatically whenever Neovim starts. Once I'm done with a worktree, I remove its directory entirely, so keeping it in venv-selector's cache is no longer necessary.
Is there a way to make venv-selector 'forget' virtual environments whose paths no longer exist? If not, is this a feature you would consider adding?
I'm currently not familiar with developing Neovim plugins, so I'm not sure I can contribute, but I think I could write a Bash or Python script to clean up ~/.cache/venv-selector/venvs2.json as an alternative for the time being.

Here's the alternative solution written as a separate Python script in case anyone is interested: https://codeberg.org/maxigaz/venv-selector-cache-cleaner.

Interesting. It would be fairly easy for the plugin to remove paths in the cache file that no longer exists. I'm just thinking of when to do it. It would be wasteful to check all the paths in the cache file on every run of VenvSelect and it also seems it's not worth creating a whole new VenvSelectCleanCache command.
But technically it's easy to do....

When the lsp is loading a project directory, create a file in the current project directory to record the current environment, and if the lsp is loading a file, create a record file in /tmp.
I can submit this PR if anyone needs it.
This avoids the problem of non-existence and loss


Collect nginx

http://nginx.org/en/security_advisories.html

Closed via https://github.com/nexB/vulnerablecode/pull/264


Reflux without actions listening

Sorry for the duplicate, but I did not receive a review.
In my library I refused from action listening. You can also do it in Reflux.
I implemented your  Counter example with using my library and with using Reflux without actions listening:
UIStates Counter
Reflux Counter without actions listening
What do you think about this approach?

Sorry if I missed something from earlier. I don't see any issues from you previously.
Technically making changes to stores without actions works. There's no reason it wouldn't. It's just that it's not fluxy :)
In flux-ish type systems the general idea is that with that 1 way flow it's easier to keep track of everything happening, easier to edit old code, easier to add new code.
Of course, in tiny examples that just seems like extra code for no reason. But in large projects that's where it shines.
Let's say you have a button labeled "increment". Every time it gets pressed you want the count value in StoreA to go up.
Technically, you can just call a function in StoreA that does that. Bypass building actions, right?
But what situation did we just create? If that's the pattern we follow, now for every program change that happens the place that initiates the change needs to know everywhere that it needs to go, AND everywhere it needs to go needs to have the ability to accept that change. Both sides need to be aware.
With more and more possible changes in the program, the complexity of the program therefore increases exponentially.
With actions the item dispatching the action does NOT have to know anything about the changes it's making, or where they're happening.
You want to add another store later that also has something change every time a certain thing happens? Cool, instead of having to go find every place in the program where that change happens and making it also change something in that new store...you don't have to do that. Just listen for the action. The new store takes care of itself modularly, leading to a linear increase in program complexity as the program grows, rather than exponential increase.
Basically the entire point of flux is to not require a component to know everywhere that an action will affect program state, therefore making the program far more modular, easier to add to, and easier to modify.


Add scrolling to comment boxes for long comments [#OSF-4002]

Purpose
To allow user to know how many characters they have left in the comment pane.
Changes
Added a character count feature that shows the user how many characters they have left. Once it count reaches 0, if the user continues to type, the number goes into the negatives but the Comment button disables.
Side effects
Long comments do not appear immediately when clicking Comment, you have to refresh the page to see the comment show up. However, this was a problem even before I started working on the ticket so I feel that it might have to do with the database. Sometimes when I refresh the page and open the comment pane, the already existing comments do not show up until after it loads for a couple minutes.
Link to JIRA ticket
https://openscience.atlassian.net/browse/OSF-4002

The code still works properly. I've fixed the merge conflicts and pushed my changes.


[Exception] Nullable Field Handling on Update

Laravel Version: 5.3.25
Voyager Version: 0.9.32
PHP Version: 7.0.4
Database Driver & Version:  MySQL 5.7.11

Description:
After installing the package #206 and updating Voyager to 0.9.32, I an exception when updating/adding a nullable field (any type) to an existing table.  This is certainly not a timestamp issue any longer, but an update method issue.
Exception:
ErrorException in VoyagerDatabaseController.php line 137:
Undefined property: stdClass::$null

Stack:
in VoyagerDatabaseController.php line 137
at HandleExceptions->handleError('8', 'Undefined property: stdClass::$null', 'C:\wamp64\www\voyager\vendor\tcg\voyager\src\Http\Controllers\VoyagerDatabaseController.php', '137', array('request' => object(Request), 'originalName' => 'testing', 'tableName' => 'testing', 'row' => '', 'index' => '1', 'rowName' => 'last_seen', 'originalRowName' => 'last_seen', 'queryRows' => array(object(Closure), object(Closure)), 'tableArray' => array('id', 'last_seen'), 'tableKey' => array('id' => 'PRI', 'last_seen' => ''), 'desc' => object(stdClass), 'tableTypeArray' => array('id' => 'int(10) unsigned'), 'tableDefaultArray' => array('id' => ''), 'tableNullArray' => array())) in VoyagerDatabaseController.php line 137
at VoyagerDatabaseController->update(object(Request), 'testing')
at call_user_func_array(array(object(VoyagerDatabaseController), 'update'), array(object(Request), 'table' => 'testing')) in Controller.php line 55
at Controller->callAction('update', array(object(Request), 'table' => 'testing')) in ControllerDispatcher.php line 44
at ControllerDispatcher->dispatch(object(Route), object(VoyagerDatabaseController), 'update') in Route.php line 189

Ultimately the Schema is updated, but the Exception is thrown.
Steps To Reproduce:

Create a new table with any fields
Edit the newly created table
Click update table

Amazingly enough, as I wrote this, saw #228 get merged, and after updating to 0.9.33, it took care of this particular issue, but also presented some new ones.  Will post them shortly.  Thanks for your efforts guys!

Sounds good. I'll close this one as resolved then.


Redis repo no longer supported

The Go library used for redis integration is no longer supported. Currently in use is https://github.com/garyburd/redigo/. The specified repo is archived and suggests use of https://github.com/gomodule/redigo
What version of fleet are you using (fleet version --full)?
Fleet 2.0rc1
What operating system are you using?
Ubuntu

Thanks for the report @csanders-git. Fixed in #1821.

well shoot, quick turn around, thanks.

Ha, you caught me at a good time and it was an easy fix 😉


Added env var to disable SSL redirect

This PR adds an environment variable option to disable the redirection of HTTP traffic to HTTPS.
The following possibilities exist:

HTTPS_METHOD=redirect This is the default behavior - redirect HTTP to HTTPS if available.
HTTPS_METHOD=noredirect  Instead of the redirect, the normal HTTP server block is rendered (although HSTS is still enabled).
HTTPS_METHOD=nohttp   No HTTP block is generated at all, so only HTTPS is available.

This solves the following tickets, from what I can tell (and possibly more): #295, #291, #239

This function is really interesting !
I've actually some issues with the automatic redirection : default host, and wildcard certificate on the container which is concerned, but several domains are pointing on the reverse, and many without certificates. When I'm trying with http with an unsecure domain, the proxy try to go on https, and there is no certificate.
Is-it in production now ?
Thank's

@mathieutu yes, this is up and running in production on about 12 of my sites right now.  Everything is working great for me.

A way to disable SSL for one virtual host is necessary. I deployed this forked version and it works very well. I hope this gets merged.

@jwilder Is there a reason not to merge this PR? I also had to deploy @kamermans fork and it's running OK but I'd rather stick to the main branch.

@jwilder @kamermans @vrehak :+1:

+1

+1 @jwilder

Hi @kamermans I've tried to use the template on my own branch of nginx-proxy, however, it is still redirecting me to the htts. Looks like it doesn't want to use http for some reason.
I was wondering where do you pass the HTTPS_METHOD=noredirect when you run the nginx-proxy or  when you run the client?
Thanks

Hi @SergiuCip, you need to add HTTPS_METHOD=noredirect as an environment variable when starting the nginx-proxy container, either via -e "HTTPS_METHOD=noredirect" if you're using docker-run, or via the environment section in a docker-compose.yml file.
If you have done this already, chances are that your requests are not even getting to the nginx-proxy.  The default nginx-proxy redirects to HTTPS and enables something called HTTP Strict Transport Security (HSTS), which tells your browser not to even try HTTP for a certain time period.  You should test it using CURL, which will not remember the HSTS directive like your browser.

Hello @kamermans! Thank you for your detailed explanation :+1: . Yes you were right it was my browser caching the connection and always was going to HTTPS instead of HTTP, I've open an incognito / private tab and everything worked. Thanks a lot for implementing this functionality :+1:

@jwilder: note that I've merged your master branch back in and I added bats tests for SSL/HTTPS that cover the default operation as well as both of the new HTTPS_METHOD options in this PR.

Thanks @kamermans!

You're welcome @jwilder, thanks for the pull!

This doesn't seem to be respected for me, whether I put the HTTPS_METHOD into the proxy or the delegate server:
I do this to setup the proxy,
docker run --name vproxy -e HTTPS_METHOD=noredirect -d -p 80:80 -p 443:443 -v /mysslcerts:/etc/nginx/certs -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy

docker run \
  -it \
  -e VIRTUAL_HOST=myhost \
  -e HTTPS_METHOD=noredirect \
  -p 8080:80 -p 8443:443 \
  --expose 80 \
  --expose 443 \
  --name rem \
  $IMAGE \
  startserver.sh

These work, so I can hit ports 80 and 443 on the server:
curl http://myserver:8080
# got on port 80
curl https://myserver:8443
# got on port 443

And this proxies to port 80:
curl http://myserver
# got on port 80

But this is still redirection 443 -> 80:
curl https://myserver
# got on port 443

I've verified that if I remove the proxy and let the server map -p to 80 and 443 directly everything works.
Am I doing something wrong, or is it impossible to have the proxy just pass 80 and 443 through to this server and let the server worry about the SSL stuff?

First, the correct way to use it is on the virtual host, not the nginx-proxy container, so your second example was correct.
HTTPS_METHOD=noredirect overrides the default behavior of sending an HTTP 301 redirect to clients on port 80 to the secure port, 443.  What you are seeing is not a redirection, but a port-forwarding / port address translation.  This is described in the README.md as follows:

If your container exposes multiple ports, nginx-proxy will default to the service running on port 80. If you need to specify a different port, you can set a VIRTUAL_PORT env var to select a different one. If your container only exposes one port and it has a VIRTUAL_HOST env var set, that port will be selected.

I did not write that code, but I imagine there is a good reason for it.  Basically, nginx-proxy will only proxy traffic back to a single port, which you can choose with VIRTUAL_PORT.  Note that I recently contributed the X-Forwarded-Port update as well, so in your application, you can check if the HTTP header X-Forwarded-Port: 443 is set - this traffic was answered by nginx-proxy on 443 and you could handle it differently if you so choose.

@kamermans so if my container listens has HTTPS_METHOD=noredirect, and just listens on port 80, it should get both the http and https requests, with your header distinguishing them.  Is that correct?
It seems that with noredirect the SSL requests make it through to the container, and the http requests get a 503 from nginx-proxy.
My container (happens to run apache, which is nice so I can see which layer gives an error):

@kamermans thanks.
So if my container has HTTPS_METHOD=noredirect, and just listens on port 80, it should get both the http and https requests, with your header distinguishing them.  Is that correct?
It seems that when I have a wildcard cert with subdomains, with noredirect the SSL requests make it through to the container, but the non-SSL requests get a 503 from nginx-proxy on sub-domains:
In my case, I have a wildcard cert for (*.rememberthis.io), and:

https://rememberthis.io         # works

https://foo.rememberthis.io  # works

https://bar.rememberthis.io  # works

http://rememberthis.io          # works

http://foo.rememberthis.io   # FAILS with a 503 from nginx-proxy

http://bar.rememberthis.io   # FAILS with a 503 from nginx-proxy

My container happens to run apache, and now has a dumb config of static files just for testing:
<VirtualHost *:80>
     ServerName rememberthis.io
     ServerAdmin<EMAIL_ADDRESS>     ServerAlias rememberthis.io

     <Directory /opt/rem/doc-root>
       Options Indexes FollowSymLinks
       AllowOverride None
       Require all granted
     </Directory>
     DocumentRoot /opt/rem/doc-root
   </VirtualHost>

The docker-compose for the container:
  myserver:
    restart: always
    image: XXXXX (apache image)
    environment:
      - VIRTUAL_HOST=rememberthis.io
      - HTTPS_METHOD=noredirect
    entrypoint: XXX(start apache)
    networks:
      - nginx-proxy

Am I mis-configuring this?

So if my container has HTTPS_METHOD=noredirect, and just listens on port 80, it should get both the http and https requests, with your header distinguishing them. Is that correct?

Yes, that is how it is supposed to work.
I am not experiencing the problem that you mentioned, although I use subdomains covered by wildcards in this way regularly.  I'll check out issue #737.


Call Ibex using codegen sdk with authentication handling

Wraps the Ibex codegen sdk to with authentication and logging handling, and maps errors to application errors of type IbexEventError.
Application logic (primarily found in graphQL resolvers) modified to call newly created Ibex service with minimal changes.
Also contains some documentation updates and example queries to Ibex.

Code generation is checked into source control under "src/services/ibex/.api/". This would probably be better off taken out of source control and added to the build, but shouldn't be a problem for now.

Integration testing review:

I know we agreed that the {me,defaultAccount,wallets,0,balance} GraphQL query doesn't need to work for the BTC side, but we should probably leave it working for future interoperability. Let's make a TODO for that if we cannot fix it in this PR. For the demo can we uncomment your 'hack' that sets the unknown walletIds to zero?

Integration testing review:

I know we agreed that the {me,defaultAccount,wallets,0,balance} GraphQL query doesn't need to work for the BTC side, but we should probably leave it working for future interoperability. Let's make a TODO for that if we cannot fix it in this PR. For the demo can we uncomment your 'hack' that sets the unknown walletIds to zero?

Second thing I noticed - there is no webhook, or any response to let the frontend know that a payment has been received or sent. That was originally coming from galoy, I'm assuming we would need to now use a webhook from Ibex

Integration testing review:

I know we agreed that the {me,defaultAccount,wallets,0,balance} GraphQL query doesn't need to work for the BTC side, but we should probably leave it working for future interoperability. Let's make a TODO for that if we cannot fix it in this PR. For the demo can we uncomment your 'hack' that sets the unknown walletIds to zero?

Second thing I noticed - there is no webhook, or any response to let the frontend know that a payment has been received or sent. That was originally coming from galoy, I'm assuming we would need to now use a webhook from Ibex

third thing - the backend seems to be creating two accounts on IBEX when creating a new wallet. Probably because it's running the function for both BTC and USD wallets. That's causing some confusion on the IBEX side.

last test result for the night: lnNoAmountUsdInvoiceFeeProbe.
The GraphQL query is failing


Add support for Flutter for MacOS

This adds Flutter for MacOS support.
updates flutter example and tests apps
Fixes library loading for Flutter on MacOS
*Does not run metrics on build

@nielsenko These are added by the flutter tooling.

@nielsenko I got your meaning. will fix

The example should work regardless. Feels a bit odd with 0 bytes files, and error screens in the repo.


Playground Project

I'm working on commands, events, and demo scenes to match the functionality found here https://github.com/UnityTechnologies/PlaygroundProject
Keen for others thoughts on structure and desired features.
For example it has required some interaction with the Rigidbody2D from Fungus, so far only Force and Torque. Would it be preferred that there are only commands for things being used or would it be preferred that "Well if we're going to talk to the rigidbody2d, we should also be able to change it's drag, mass,etc."

Sounds cool. If there were RigidBody2D commands in Fungus I guess I'd expect to be able to set any RigidBody properties using it, rather than just a subset that was used in a particular example.


extension stopped working this tuesday

Hi all,
The extension stopped working on tuesday. It freezes at the screen below on arxiv.

@jasondlee88 Fixed! Thanks for pointing out

Wow thanks so much
On Thu, May 25, 2023, 2:18 PM Amit Chaudhary @.***>
wrote:

@jasondlee88 https://github.com/jasondlee88 Fixed! Thanks for pointing
out
[image: image]
https://user-images.githubusercontent.com/8587189/241000772-3ff8b685-6add-46a0-b8b1-34e4c92588f8.png
—
Reply to this email directly, view it on GitHub
https://github.com/amitness/open-in-overleaf/issues/3#issuecomment-1563319899,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABRGJHPXILMFAKFOCHQWOX3XH6O6TANCNFSM6AAAAAAYO3RHKE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Disable ordering by duration column. Fixes #86

It was easier to remove sorting ability at this column rather than fix it (because it's not so useful opportunity).

Coverage decreased (-0.02%) to 89.738% when pulling 290e4177340e9c3093ff117fe7ed83edf39a8e08 on ihoru:patch-1 into 225f36204be2d01ef9fd6f80345e7a4812834842 on Tivix:master.

See comment in #86


Validate database

Provide a way to validate the outboards and collections in a database.
Prerequisite for #848

Implemented already


Add currently processing status, check that nothing else is running

For all services that use BaseRoutine, adds a status for currently processing. In the run method, checks that nothing is currently processing before starting service.
The first two services do not start by looking at the database, so they are not changed.
Additionally:

updates README to add TAR service
updates dependencies

So for the first service--download from AWS--it hasn't taken that long, and hasn't run past the Apache timeout. So I think we're okay there?
I am still concerned about that second service, but I was thinking of pushing the changes that we have for now and see how things are going.

OK, I'm fine leaving that for another day, but in general we have seen some really nice stability improvements in Gemini from taking a similar approach (create a database object first, then download binaries).


Fix plugin folder permission

Description
confluent-hub installs a Kafka connect plugin without permission for others
Example:
tree -Cugp /usr/share/java/confluentinc-connect-transforms/
/usr/share/java/confluentinc-connect-transforms/
|-- [drwxr-x--- root     root    ]  assets
|   `-- [-rw-r----- root     root    ]  confluent.png
|-- [drwxr-x--- root     root    ]  doc
|   `-- [-rw-r----- root     root    ]  README.md
|-- [drwxr-x--- root     root    ]  etc
|   |-- [-rw-r----- root     root    ]  drop.properties
|   |-- [-rw-r----- root     root    ]  extract-topic.properties
|   `-- [-rw-r----- root     root    ]  message-timestamp-router.properties
|-- [drwxr-x--- root     root    ]  lib
|   |-- [-rw-r----- root     root    ]  accessors-smart-1.2.jar
|   |-- [-rw-r----- root     root    ]  asm-5.0.4.jar
|   |-- [-rw-r----- root     root    ]  connect-transforms-1.3.2.jar
|   |-- [-rw-r----- root     root    ]  connect-utils-0.1.0.jar
|   |-- [-rw-r----- root     root    ]  joda-time-2.10.3.jar
|   |-- [-rw-r----- root     root    ]  json-path-2.4.0.jar
|   |-- [-rw-r----- root     root    ]  json-smart-2.3.jar
|   `-- [-rw-r----- root     root    ]  slf4j-api-1.7.25.jar
`-- [-rw-r----- root     root    ]  manifest.json

As a result, Kafka connect can’t load a plugin during starting because it works with non-root privileges (e.g. cp-kafka-connect user).
[2020-04-08 15:21:31,734] ERROR Could not get listing for plugin path: /usr/share/java. Ignoring. (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
  java.nio.file.AccessDeniedException: /usr/share/java/confluentinc-connect-transforms

The fix based on the official documentation that says "the component archive name must follow this convention:"
${componentOwner}-${componentName}-${componentVersion}.zip
It allows defining a plugin target folder name and add missed privileges o+rX
Fixes # (issue)
Type of change

[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 not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
The fix was tested on real dev/prod Kafka clusters.
How to test:

define kafka_connect_confluent_hub_plugins variable

example:
    kafka_connect_confluent_hub_plugins:
      - confluentinc/connect-transforms:latest

run a playbook that calls confluent.kafka_connect role
go to your host and check the plugin folder and files permission

example of results with the fix:
tree -Cugp /usr/share/java/confluentinc-connect-transforms/
/usr/share/java/confluentinc-connect-transforms/
|-- [drwxr-xr-x root     root    ]  assets
|   `-- [-rw-r--r-- root     root    ]  confluent.png
|-- [drwxr-xr-x root     root    ]  doc
|   `-- [-rw-r--r-- root     root    ]  README.md
|-- [drwxr-xr-x root     root    ]  etc
|   |-- [-rw-r--r-- root     root    ]  drop.properties
|   |-- [-rw-r--r-- root     root    ]  extract-topic.properties
|   `-- [-rw-r--r-- root     root    ]  message-timestamp-router.properties
|-- [drwxr-xr-x root     root    ]  lib
|   |-- [-rw-r--r-- root     root    ]  accessors-smart-1.2.jar
|   |-- [-rw-r--r-- root     root    ]  asm-5.0.4.jar
|   |-- [-rw-r--r-- root     root    ]  connect-transforms-1.3.2.jar
|   |-- [-rw-r--r-- root     root    ]  connect-utils-0.1.0.jar
|   |-- [-rw-r--r-- root     root    ]  joda-time-2.10.3.jar
|   |-- [-rw-r--r-- root     root    ]  json-path-2.4.0.jar
|   |-- [-rw-r--r-- root     root    ]  json-smart-2.3.jar
|   `-- [-rw-r--r-- root     root    ]  slf4j-api-1.7.25.jar
`-- [-rw-r--r-- root     root    ]  manifest.json

Test Configuration:
Checklist:

[] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Any dependent changes have been merged and published in downstream modules

Hey @montana-ua I took your work and created this PR: https://github.com/confluentinc/cp-ansible/pull/266
Its merging into 550-post not 54x, which could be a problem for you, but if you are willing to install the latest version then I think we can close this PR for that one.

Hi @montana-ua I am closing this one in favor of https://github.com/confluentinc/cp-ansible/pull/266
Please reach out if this will not work for you


fixed grid Header when rolling

fixed grid Header when rolling

For now, I have extended the Gantt class and implemented the changes from this commit: https://github.com/frappe/gantt/pull/100/commits/8b94aa97fdec373ac09d0ae6912e948f8fe9d0a1

Was it solved?
If I scroll too much to the bottom - the header with dates is lost and the whole chart is useless
@netchampfaris
@swkasica
@gavindsouza

Was also wondering if anyones converted the changes from 8b94aa9 into something that works. Copying over the code seems to result in issues.

Was also wondering if anyones converted the changes from 8b94aa9 into something that works. Copying over the code seems to result in issues.

Here's a copy paste solution for those who still need it. https://github.com/medmiskini/gantt/commit/531c5e178449e2a247e5fd5598dc272f7b71cdef

Here's a copy paste solution for those who still need it. medmiskini@531c5e1

thank you so much it works for me!!

The code used is old

Here's a copy paste solution for those who still need it. medmiskini@531c5e1

The code is changed.

Ehi! Anyone that is able to adapt @medmiskini solution to new code?
I tried to "merge" but it didn't work!

Ehi! Anyone that is able to adapt @medmiskini solution to new code?
I tried to "merge" but it didn't work!
EDIT: after futher investigations, the only part on medmiskini solution that didn't works for me is the one on event listener. I change this part in this way:
 $.on(this.$container, 'scroll', e => { this.layers.date.setAttribute('transform', 'translate(0,'+ e.currentTarget.scrollTop +')'); }); //STICKY (added) @PriyaBihani is that what you need?
Let me know.

It‘s effect,thanks.

Duplicate of #115.


feat: added reopen rep keydates to application endpoint

Describe your changes
Ticket: https://pins-ds.atlassian.net/browse/ASB-2336
PR adds new relevant reps reopen and close dates to the applications endpoint response.
Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[x] I have performed a self-review of my own code
[x] I have double checked this work does not include any hardcoded secrets or passwords
[x] I have made corresponding changes to the documentation
[x] I have provided details on how I have tested my code
[x] I have referenced the ticket number above
[x] I have provided a description of the ticket
[x] I have included unit tests to cover any testable code changes

:tada: This PR is included in version 2.20.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.25.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.9.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


For incremental builds, should -Outputs allow empty lists?

Hey Roman, I'm trying to use incremental builds for the PowerShell Editor Services build script and ran across this error:
Build FAILED. 3 tasks, 1 errors, 0 warnings 00:00:00.9779218
C:\Users\daviwil\Documents\WindowsPowerShell\Modules\InvokeBuild\3.2.1\Invoke-Build.ps1 : Outputs must not be empty.
At line:1 char:1
+ Invoke-Build BuildHost
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Outputs must not be empty.:String) [Invoke-Build.ps1], RuntimeExcepti
   on
    + FullyQualifiedErrorId : Outputs must not be empty.,Invoke-Build.ps1

Since I'm using Get-ChildItem in my Outputs list to get the list of potential outputs, that list will be empty if those output files haven't yet been created.  Is it possible that this error could be removed, or is there some other way around it?
Thanks!

The way around is to return paths of the expected items. E.g. try to use Get-ChildItem ... -Name.
Let me think if this requirement/error can be removed for simple incremental tasks. Presumably, it cannot for partial incremental.

One workaround I've been trying to come up with is using Join-Path to generate the file paths which may not exist yet (before the first full restore or build of my .NET projects).  Here's an example:
task Restore `
    -Inputs { Get-ChildItem -Recurse *.csproj } `
    -Outputs { Join-Path (Get-ChildItem .\src, .\test -Directory | Select-Object -ExpandProperty FullName) -ChildPath "obj\project.assets.json" } `
    -Before Build, BuildHost, Test {

    exec { & $script:dotnetExe restore }
}

Strangely this doesn't work for some reason, though if I take the first item of the array returned by the ScriptBlock given to Outputs it does work:
task Restore `
    -Inputs { Get-ChildItem -Recurse *.csproj } `
    -Outputs { (Join-Path (Get-ChildItem .\src, .\test -Directory | Select-Object -ExpandProperty FullName) -ChildPath "obj\project.assets.json")[0] } `
    -Before Build, BuildHost, Test {

    exec { & $script:dotnetExe restore }
}

While I am working on this can you try to replace Invoke-Build.ps1 line 392
if (!${*o}) {throw 'Outputs must not be empty.'}

with
if (!${*o}) {return}

@daviwil, can you describe your original outputs that did not work as you
wanted? Is it {Get-ChildItem ...}? I afraid, this way is not supported.
IB expects required paths for output, including missing paths, i.e. not
items excluding missing. Can you see the difference?
Example of the correct usage:
task X -Inputs ... -Outputs {'X.assets.json', 'Y.assets.json'} ...

Example of the tempting but not supported usage:
task X -Inputs ... -Outputs {Get-ChildItem *.assets.json} ...

Suppose we support the second case. Then we have a problem. Imagine, in the
previous run X.assets.json was created and then the build failed, so that
the expected Y.assets.json was not created. In the next run {Get-ChildItem}
returns X.assets.json, its time is compared with inputs and the task is skipped.
But is should not be skipped because the expected Y.assets.json is missing.
That is why Y.assets.json (required path) must be specified in outputs.
I recall that I twitted you that outputs may be either paths or items.
Sorry, I was wrong, I should have read the help. Outputs must be paths.
Please, describe your use case. I understand the inputs are all .csproj files.
It is not clear what the outputs are. I can see they are .assets.json files.
Is it a single file? Or is it one file for each project? Or something else?
I will tell you how to compose the task when I know the answer.

And so far it looks like Invoke-Build throws the error correctly. By the current design, outputs are all expected output paths. The case with no outputs is not correct.

If I understand your case correctly, here is one possible solution
    $RestoreInputs = Get-ChildItem -Recurse *.csproj
    $RestoreOutputs = $(
        foreach ($item in $RestoreInputs) {
            Join-Path $item.DirectoryName obj/project.assets.json
        }
    )

Then we use $RestoreInputs and $RestoreOutputs as task inputs and outputs.
Let me repeat, we cannot use anything like Get-ChildItem "..\*\obj\project.assets.json"
as output, this is wrong. If some of them exist and they are up to date then the task
would be skipped even if some needed project.assets.json are missing. Wrong.
Yes, if all project.assets.json are missing then the task must not be skipped.
In theory. But in practice, the empty output just means that a wrong expression
is used. The correct output (e.g. my version above) cannot be empty if the input
is not empty.

Understood, Outputs must be statically-generated paths.  However, that's what I'm doing in this example and it doesn't seem to work:
task Restore `
    -Inputs { Get-ChildItem -Recurse *.csproj } `
    -Outputs { Join-Path (Get-ChildItem .\src, .\test -Directory | Select-Object -ExpandProperty FullName) -ChildPath "obj\project.assets.json" } `
    -Before Build, BuildHost, Test {

    exec { & $script:dotnetExe restore }
}

Here's the list of file paths generated by the Outputs ScriptBlock:
PS> Join-Path (Get-ChildItem .\src, .\test -Directory | Select-Object -ExpandProperty FullName) -ChildPath "obj\project.assets.json"
C:\dev\PowerShellEditorServices\src\PowerShellEditorServices\obj\project.assets.json
C:\dev\PowerShellEditorServices\src\PowerShellEditorServices.Channel.WebSocket\obj\project.assets.json
C:\dev\PowerShellEditorServices\src\PowerShellEditorServices.Host\obj\project.assets.json
C:\dev\PowerShellEditorServices\src\PowerShellEditorServices.Protocol\obj\project.assets.json
C:\dev\PowerShellEditorServices\test\PowerShellEditorServices.Test\obj\project.assets.json
C:\dev\PowerShellEditorServices\test\PowerShellEditorServices.Test.Channel.WebSocket\obj\project.assets.json
C:\dev\PowerShellEditorServices\test\PowerShellEditorServices.Test.Host\obj\project.assets.json
C:\dev\PowerShellEditorServices\test\PowerShellEditorServices.Test.Protocol\obj\project.assets.json
C:\dev\PowerShellEditorServices\test\PowerShellEditorServices.Test.Shared\obj\project.assets.json

Though now that I look at this list, one of those files never gets created by the restore operation.  That must be why the task always gets run.
Is there a way I can get verbose output to see what evaluation the incremental build check used to determine that a task should run?

Is there a way I can get verbose output to see what evaluation the incremental build check used to determine that a task should run?

No. I thought of such a feature. I was not sure and I am still not sure. Every feature comes with some cost... I will think again, though.

@daviwil, I am closing this issue, as far as Invoke-Build works as designed.
I have opened two new issues related to this discussion

#49 is your request, in a way. Please comment there if you have anything to add.
#50 is another idea, an improvement that may simplify coding in my example above.

@daviwil
v3.2.2 outputs some more information from incremental tasks. It is minimalistic but it should be enough to catch incremental IO logic problems like you described.


Pixel 6a (bluejay) support

grapheneos-otacerts/ is missing a bluejay.pem
Ignoring that, it fails with:
   ERROR: Failed to run signapk.jar: return code 1:
java.io.FileNotFoundException: keys/releasekey.x509.pem (No such file or directory)
        at java.base/java.io.FileInputStream.open0(Native Method)
        at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
        at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
        at com.android.signapk.SignApk.readPublicKey(SignApk.java:187)
        at com.android.signapk.SignApk.main(SignApk.java:1127)

Bump! Is this still being supported? Because I've seen rarely an answer from the developer, lately..
Is it even safe to try to install it on a device?


Display list of cab on the main page

In this milestone, I was able to add the following features;

[x] Create destroy and show actions in cab controller
[x] Updated routes
[x] Add  add user ref to cab

@AbdimulhinYussuf3675 ,
Your work is complete and the methods work as expected
congratulations


Fix mariadb related listCapacity bug (CLOUDSTACK-8966)

type bigint(20) with type  varchar does not work well on MariaDB
So forcing it to type decimal

To test with cloudmonkey (this is the output with the pull request code underneath) you need 2 API calls (e.g. via cloudmonkey):
(nl2) > list capacity sortby=usage type=0
count = 1
capacity:
capacitytotal = 0
capacityused =<PHONE_NUMBER>520
percentused = 0
type = 0
zoneid = 76251030-aca1-44c6-b47d-8010ee17e0ad
zonename = NL2
(nl2) >
Suggested tests to see if the 'capacitytotal != 0':
(nl2) > list capacity type=0 clusterid=
(nl2) > list capacity type=1 clusterid=
(nl2) > list capacity type=3 clusterid=
(nl2) > list capacity type=0 sortby=usage
(nl2) > list capacity type=1 sortby=usage
(nl2) > list capacity type=3 sortby=usage

@lttmtins I've ran the code! When I deployed a management server and open the UI it throws an error!
Will investigate tomorrow!

All integration tests look fine!
Check the password file in the Router VM ... === TestName: test_isolate_network_password_server | Status : SUCCESS ===
ok
Create a redundant VPC with two networks with two VMs in each network ... === TestName: test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | Status : SUCCESS ===
ok
Create a redundant VPC with two networks with two VMs in each network and check default routes ... === TestName: test_02_redundant_VPC_default_routes | Status : SUCCESS ===
ok
Create a redundant VPC with two networks with two VMs in each network ... === TestName: test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers | Status : SUCCESS ===
ok
Test iptables default INPUT/FORWARD policy on RouterVM ... === TestName: test_02_routervm_iptables_policies | Status : SUCCESS ===
ok
Test iptables default INPUT/FORWARD policies on VPC router ... === TestName: test_01_single_VPC_iptables_policies | Status : SUCCESS ===
ok
Test redundant router internals ... === TestName: test_01_isolate_network_FW_PF_default_routes_egress_true | Status : SUCCESS ===
ok
Test redundant router internals ... === TestName: test_02_isolate_network_FW_PF_default_routes_egress_false | Status : SUCCESS ===
ok
Test redundant router internals ... === TestName: test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true | Status : SUCCESS ===
ok
Test redundant router internals ... === TestName: test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false | Status : SUCCESS ===
ok
Test redundant router internals ... === TestName: test_03_RVR_Network_check_router_state | Status : SUCCESS ===
ok
Create a VPC with two networks with one VM in each network and test nics after destroy ... === TestName: test_01_VPC_nics_after_destroy | Status : SUCCESS ===
ok
Create a VPC with two networks with one VM in each network and test default routes ... === TestName: test_02_VPC_default_routes | Status : SUCCESS ===
ok
Check that the /etc/dhcphosts.txt doesn't contain duplicate IPs ... === TestName: test_router_dhcphosts | Status : SUCCESS ===
ok
Test to create Load balancing rule with source NAT ... === TestName: test_01_create_lb_rule_src_nat | Status : SUCCESS ===
ok
Test to create Load balancing rule with non source NAT ... === TestName: test_02_create_lb_rule_non_nat | Status : SUCCESS ===
ok
Test for assign & removing load balancing rule ... === TestName: test_assign_and_removal_lb | Status : SUCCESS ===
ok
Test create, assign, remove of an Internal LB with roundrobin http traffic to 3 vm's in a Single VPC ... === TestName: test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 | Status : SUCCESS ===
ok
Test create, assign, remove of an Internal LB with roundrobin http traffic to 3 vm's in a Redundant VPC ... === TestName: test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 | Status : SUCCESS ===
ok
Test to verify access to loadbalancer haproxy admin stats page ... === TestName: test_03_vpc_internallb_haproxy_stats_on_all_interfaces | Status : SUCCESS ===
ok
Test to verify access to loadbalancer haproxy admin stats page ... === TestName: test_04_rvpc_internallb_haproxy_stats_on_all_interfaces | Status : SUCCESS ===
ok
Test SSVM Internals ... === TestName: test_03_ssvm_internals | Status : SUCCESS ===
ok
Test CPVM Internals ... === TestName: test_04_cpvm_internals | Status : SUCCESS ===
ok
Test stop SSVM ... === TestName: test_05_stop_ssvm | Status : SUCCESS ===
ok
Test stop CPVM ... === TestName: test_06_stop_cpvm | Status : SUCCESS ===
ok
Test reboot SSVM ... === TestName: test_07_reboot_ssvm | Status : SUCCESS ===
ok
Test reboot CPVM ... === TestName: test_08_reboot_cpvm | Status : SUCCESS ===
ok
Test destroy SSVM ... === TestName: test_09_destroy_ssvm | Status : SUCCESS ===
ok
Test destroy CPVM ... === TestName: test_10_destroy_cpvm | Status : SUCCESS ===
ok
Test Remote Access VPN in VPC ... === TestName: test_vpc_remote_access_vpn | Status : SUCCESS ===
ok
Test VPN in VPC ... === TestName: test_vpc_site2site_vpn | Status : SUCCESS ===
ok
test_01_vpc_privategw_acl (integration.smoke.test_privategw_acl.TestPrivateGwACL) ... === TestName: test_01_vpc_privategw_acl | Status : SUCCESS ===
ok
test_02_vpc_privategw_static_routes (integration.smoke.test_privategw_acl.TestPrivateGwACL) ... === TestName: test_02_vpc_privategw_static_routes | Status : SUCCESS ===
ok
test_03_rvpc_privategw_static_routes (integration.smoke.test_privategw_acl.TestPrivateGwACL) ... === TestName: test_03_rvpc_privategw_static_routes | Status : SUCCESS ===
ok
Test for port forwarding on source NAT ... === TestName: test_01_port_fwd_on_src_nat | Status : SUCCESS ===
ok
Test for port forwarding on non source NAT ... === TestName: test_02_port_fwd_on_non_src_nat | Status : SUCCESS ===
ok
Test for reboot router ... === TestName: test_reboot_router | Status : SUCCESS ===
ok
Test for Router rules for network rules on acquired public IP ... === TestName: test_network_rules_acquired_public_ip_1_static_nat_rule | Status : SUCCESS ===
ok
Test for Router rules for network rules on acquired public IP ... === TestName: test_network_rules_acquired_public_ip_2_nat_rule | Status : SUCCESS ===
ok
Test for Router rules for network rules on acquired public IP ... === TestName: test_network_rules_acquired_public_ip_3_Load_Balancer_Rule | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 40 tests in 20023.514s

Test router internal advanced zone ... === TestName: test_02_router_internal_adv | Status : SUCCESS ===
ok
Test restart network ... === TestName: test_03_restart_network_cleanup | Status : SUCCESS ===
ok
Test router basic setup ... === TestName: test_05_router_basic | Status : SUCCESS ===
ok
Test router advanced setup ... === TestName: test_06_router_advanced | Status : SUCCESS ===
ok
Test stop router ... === TestName: test_07_stop_router | Status : SUCCESS ===
ok
Test start router ... === TestName: test_08_start_router | Status : SUCCESS ===
ok
Test reboot router ... === TestName: test_09_reboot_router | Status : SUCCESS ===
ok
Test reset virtual machine on reboot ... === TestName: test_01_reset_vm_on_reboot | Status : SUCCESS ===
ok
Test advanced zone virtual router ... === TestName: test_advZoneVirtualRouter | Status : SUCCESS ===
ok
Test Deploy Virtual Machine ... === TestName: test_deploy_vm | Status : SUCCESS ===
ok
Test Multiple Deploy Virtual Machine ... === TestName: test_deploy_vm_multiple | Status : SUCCESS ===
ok
Test Stop Virtual Machine ... === TestName: test_01_stop_vm | Status : SUCCESS ===
ok
Test Start Virtual Machine ... === TestName: test_02_start_vm | Status : SUCCESS ===
ok
Test Reboot Virtual Machine ... === TestName: test_03_reboot_vm | Status : SUCCESS ===
ok
Test destroy Virtual Machine ... === TestName: test_06_destroy_vm | Status : SUCCESS ===
ok
Test recover Virtual Machine ... === TestName: test_07_restore_vm | Status : SUCCESS ===
ok
Test migrate VM ... === TestName: test_08_migrate_vm | Status : SUCCESS ===
ok
Test destroy(expunge) Virtual Machine ... === TestName: test_09_expunge_vm | Status : SUCCESS ===
ok
Test to create service offering ... === TestName: test_01_create_service_offering | Status : SUCCESS ===
ok
Test to update existing service offering ... === TestName: test_02_edit_service_offering | Status : SUCCESS ===
ok
Test to delete service offering ... === TestName: test_03_delete_service_offering | Status : SUCCESS ===
ok
Test for delete account ... === TestName: test_delete_account | Status : SUCCESS ===
ok
Test for Associate/Disassociate public IP address for admin account ... === TestName: test_public_ip_admin_account | Status : SUCCESS ===
ok
Test for Associate/Disassociate public IP address for user account ... === TestName: test_public_ip_user_account | Status : SUCCESS ===
ok
Test for release public IP address ... === TestName: test_releaseIP | Status : SUCCESS ===
ok
Test create VPC offering ... === TestName: test_01_create_vpc_offering | Status : SUCCESS ===
ok
Test VPC offering without load balancing service ... === TestName: test_03_vpc_off_without_lb | Status : SUCCESS ===
ok
Test VPC offering without static NAT service ... === TestName: test_04_vpc_off_without_static_nat | Status : SUCCESS ===
ok
Test VPC offering without port forwarding service ... === TestName: test_05_vpc_off_without_pf | Status : SUCCESS ===
ok
Test VPC offering with invalid services ... === TestName: test_06_vpc_off_invalid_services | Status : SUCCESS ===
ok
Test update VPC offering ... === TestName: test_07_update_vpc_off | Status : SUCCESS ===
ok
Test list VPC offering ... === TestName: test_08_list_vpc_off | Status : SUCCESS ===
ok
test_09_create_redundant_vpc_offering (integration.component.test_vpc_offerings.TestVPCOffering) ... === TestName: test_09_create_redundant_vpc_offering | Status : SUCCESS ===
ok
Test start/stop of router after addition of one guest network ... === TestName: test_01_start_stop_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test reboot of router after addition of one guest network ... === TestName: test_02_reboot_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test to change service offering of router after addition of one guest network ... === TestName: test_04_chg_srv_off_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test destroy of router after addition of one guest network ... === TestName: test_05_destroy_router_after_addition_of_one_guest_network | Status : SUCCESS ===
ok
Test to stop and start router after creation of VPC ... === TestName: test_01_stop_start_router_after_creating_vpc | Status : SUCCESS ===
ok
Test to reboot the router after creating a VPC ... === TestName: test_02_reboot_router_after_creating_vpc | Status : SUCCESS ===
ok
Tests to change service offering of the Router after ... === TestName: test_04_change_service_offerring_vpc | Status : SUCCESS ===
ok
Test to destroy the router after creating a VPC ... === TestName: test_05_destroy_router_after_creating_vpc | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 41 tests in 7415.595s

List capacity function also returns fine now!
(local) 🐵 > list capacity sortby=usage type=0
count = 1
capacity:
capacitytotal =<PHONE_NUMBER>6
capacityused =<PHONE_NUMBER>
percentused = 11.03
type = 0
zoneid = aac0e3a3-33f1-43c8-9dd6-06733f13f421
zonename = MCCT-SHARED-1

LGTM :+1:

LGTM, works fine:


modify feed parameter

feed owner should be able to modify feed parameters:

SubmissionCount
2.HeartbeatTrigger
3.DeviationThresholdTrigger

each one should be a tx
please refer to Messages section in proposal


Add Active Proxy and Document it

Active Proxy should start up together with rancher server.
Clone as git submodule into /Domain Software/Active Proxy

Unfortunately this does not work, it appears an intresting error "FATA Failed to initialize Rancher Metadata client: Get http://rancher-metadata/latest/version: dial tcp: lookup rancher-metadata on <IP_ADDRESS>:53: server misbehaving".
In google was not found anything and the community of rancher-active-proxy seems to be dead:( Consequetnly there is now only one possibility to provide routing - start proxy from rancher catalog.


Added new NoSQL resource

What does this PR do?
Add resource(s)
For resources
Description
This book aims to provide an approachable introduction to Redis concepts by outlining many of the key-value store’s commands
Why is this valuable (or not)?
Recent book about managing Redis database
How do we know it's really free?
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0
For book lists, is it a book? For course lists, is it a course? etc.
Book
Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!


Migrate to Swift 5

Short description
Migration to Swift 5 is required to keep the project up to date.

Fixed by #91.


Replace curl with wget in Linux context

On Linux, wget is more ubiquitous than curl. Most distros have wget pre-included, while curl needs to be installed afterwards.
So, it is better that the documentation tell user to use wget to download InfluxDB. They just copy the sample command and run, don't have to check if curl exist and install it first.
Other parts of documentation where curl is mentioned, I don't replace with wget because it seems not to be specific to Linux. Those commands seem to target both Linux and MacOS.

Thanks @hongquan! In order for me to approve the contribution, you must first sign the [InfluxData Contributor License Agreement (CLA)[https://www.influxdata.com/legal/cla/].
I think this is a good change. Another option is to include both curl and wget commands. I know alot of people have strong opinions about which to use.

Thanks for submitting this @hongquan. I added some functionality that allows you to define "code tabs" and switch between variations of code blocks. I've used your proposed changes in that PR, although I didn't do it for all versions of InfluxDB and Telegraf; only the latest two versions.
Thank you again for your contribution. I'm closing this PR in favor of https://github.com/influxdata/docs.influxdata.com/pull/2135, we really appreciate the suggestion and the modified commands.


How to install mod_oauth2

Hi, sorry for simple question but,
cannot find a proper sequence on how to install. Wiki redirects back to home page.
My challenge is with a tree of dependencies for all the required modules, seems like i am doing smth wrong.
Would be great if someone can share a simple logic on how to install the module.
PS. We are currently using mod_auth_openidc, but I came here because there was a message that it is deprecated and is being replaced by this module.
Thanks.

see the notes on the release page: https://github.com/zmartzone/mod_oauth2/releases/tag/v3.1.0


1.4.22 Chart units in landscape still overlapping

Description:
S8, OS9
User rotates screen to landscape mode while in charts view, units on X scale are overlapping.
I didn't see the previous issue about this maybe it was closed already.

QA passed


Issue from website page Download Das Keyboard Q Software

I have a Das 4Q and it continues to have an issue where switching between windows and macOS causes it not be recognized when plugged back into windows machine. I am able to type, but the keyboard is not recognized by the Q Software app on windows and I can't change settings. This also occurs sometimes after just unplugging it and plugging it back in (without having used it on macOS). When I plug back into macOS it is recognized and works fine. The only way I've been able to get around this is just reinstalling the software on Windows which seems to reset things and keyboard is recognized. It is a bit annoying to have to reinstall the software nearly every day to get the full functionality from this. Any ideas on how to resolve the issue I am experiencing when switching back to windows?

Hi @liamneville can you please open a ticket at daskeyboard.mojohelpdesk.com and the tech support will help you.


[discussions]Why do each of you maintain a Solid.js version of shadcn/ui?

Why do each of you maintain a Solid.js version of shadcn/ui?
https://www.solid-ui.com/
https://github.com/sek-consulting/solid-ui
and
https://shadcn-solid.com/
https://github.com/hngngn/shadcn-solid

Hi @LiMao00,
thanks for asking.
When I started solid-ui as a small personal project I haven't found any other solid port. That's why I decided to make it public.
But around the same time hngngn seemd to also have started the project but I never reached out to them since it felt like the github repo was kinda on hold.
Now it looks like he picked it back up and also reserverd the domain :)
But I think there is still a major difference between both projects:

shadcn-solid seems to try to be a feature complete solid port of shadcn/ui.
solid-ui tries to be the most complete component library by porting shadcn/ui, tremor and custom components over to solid by using both kobalte & corvu to it's fullest

Thank you for your efforts


[ROCm] add build file.

Closing since this is in review upstream now at https://github.com/google/jax/pull/23224


Add a draggableRangeOnly options.

As asked in #196 and #199.
Demo: http://jsfiddle.net/opnrb0hL/
@FantasyLions @yelnar is it what you wanted?

OK I'll merge #203 before then . I'll do it later today.

yes! is awesome.Maby can add this feature:move the whole slider when you drag the handle

Cool! And also I think it is would be better if two edges of slider was draggable too. Thank you.

Indeed you are both right. I just added what you wanted and also keyboard support.

@ValentinH great, thanks!

Current coverage is 39.76%

Merging #203 into master will decrease coverage by -1.07% as of ccdcbe6

@@            master    #203   diff @@
======================================
  Files            1       1
  Stmts          578     601    +23
  Branches         0       0
  Methods          0       0
======================================
+ Hit            236     239     +3
  Partial          0       0
- Missed         342     362    +20

Review entire Coverage Diff as of ccdcbe6

Powered by Codecov. Updated on successful CI builds.


Furyfile overridable "global versions" for roles/modules/bases

I'm using the keys in the "versions" map as a prefix to decide if a module has to use the global version specified. I was thinking about using regexes, but sounded overkill.
You can find an updated and commented example in the Readme and a Furyfile in the root of the repo.

LGTM!


Inspection Form

Module: 03
Lab/Demo: 00
Task: 05
Step: 02
Description of issue
Named on previous task as below
Task #4: Add Inspection Details Screen
Step 3: Rename the form "Inspection Form".
Repro steps:
Task #5
Step 2
Must be "Inspection Form" including space.
SubmitForm('Inspection Form'); Back(ScreenTransition.UnCoverRight);

MOC Labs Review did not experience this issue.

I am closing this issue as we couldn't replicate. Please reach out again if the issue persists.