Can't download all heatmap summary data

I have downloaded all the data from the protein family sorter, but I am also interested in getting that data summarized in the heatmap as it is easier to see what genome is missing what proteins.  Just to be clear, I want the colors summarized as numbers. I am having trouble downloading all the heatmap summary data.  I selected it all, and when I tried to download it (in excel), an error message popped up.

Here's what it looks like when I try and get the text document

This is a bug specific to the JBoss website.


Upgrade Tika to 1.7

Tika 1.6 is out: https://tika.apache.org/1.6/

@dadoonet Apache Tika1.7 is out, with a new tesseract parser :+1:
    Apache Tika 1.7 has been released! This release includes bug fixes and new features including a new Tesseract OCR Parser; a new GDAL Parser; more supported formats, and overall improvements in Tika stability. Please see the CHANGES.txt file for a full list of changes in this release and have a look at the download page for more information on how to obtain Apache Tika 1.7.```

Any ETA on the upgrade to Tika1.7 ?

Tika 1.7 update coming. Note that in some case, Tika 1.7 adds a System property. Ticket opened here: https://issues.apache.org/jira/browse/TIKA-1548


simple.go does not compile and hangs forever

go build simple.go hangs forever on freebsd.
FreeBSD 13.0-RELEASE-p4.
go-1.17.1,1
gtk3-3.24-.30

Same.
Debian 11
github.com/gotk3/gotk3 v0.6.1
go version go1.17.2
libgtk-3-0:amd64 3.24.30-3
libgtk-3-dev:amd64 3.24.30-3
libglib2.0-0:amd64 2.70.0-1+b1
libglib2.0-dev:amd64 2.70.0-1+b1
go build output:
# github.com/gotk3/gotk3/glib
cgo-gcc-prolog: In function ‘_cgo_26ff448d08b0_Cfunc_g_binding_get_source’:
cgo-gcc-prolog:71:2: warning: ‘g_binding_get_source’ is deprecated: Use 'g_binding_dup_source' instead [-Wdeprecated-declarations]
In file included from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from vendor/github.com/gotk3/gotk3/glib/gbinding.go:3:
/usr/include/glib-2.0/gobject/gbinding.h:113:23: note: declared here
  113 | GObject *             g_binding_get_source          (GBinding *binding);
      |                       ^~~~~~~~~~~~~~~~~~~~
cgo-gcc-prolog: In function ‘_cgo_26ff448d08b0_Cfunc_g_binding_get_target’:
cgo-gcc-prolog:107:2: warning: ‘g_binding_get_target’ is deprecated: Use 'g_binding_dup_target' instead [-Wdeprecated-declarations]
In file included from /usr/include/glib-2.0/glib-object.h:22,
                 from /usr/include/glib-2.0/gio/gioenums.h:28,
                 from /usr/include/glib-2.0/gio/giotypes.h:28,
                 from /usr/include/glib-2.0/gio/gio.h:26,
                 from vendor/github.com/gotk3/gotk3/glib/gbinding.go:3:
/usr/include/glib-2.0/gobject/gbinding.h:117:23: note: declared here
  117 | GObject *             g_binding_get_target          (GBinding *binding);
      |                       ^~~~~~~~~~~~~~~~~~~~

... and stuck forever

Just wait, the first times takes a lot while it compiles, after that it start to build and run faster.

Other reports of slow compile times:

https://github.com/gotk3/gotk3/issues/819
https://github.com/gotk3/gotk3/issues/843

Might be worth renaming this issue (or creating a new one) so that people know that the compile time issue is known and is being tracked?
Alternatively, instead of compiling it's own copy of GTK3 from scratch the first time, is there a way to detect pre-existing GTK3 and its headers on a system and dynamically link to that instead?

Same issue, I've figured there must be something cached somewhere that I can copy between machines to avoid this issue and surely enough that place is ~/.local/cache/go-build

Does it help to run :
go clean -cache
go clean -fuzzcache
?

For me gotk3 finally build. (be it after a long compiling time)


CPCDSExporterTest does not properly validate generated CSVs

I created a temporary variable debugView in CPCDSExporterTest to see its contents in the debugger. The screenshot below shows the contents of debugView without any modifications to the code.

I commented out line 312 in CPCDSExporter to see what an invalid CSV line produce. No error is thrown by SimpleCSV.parse() and the contents of debugView can be seen below:

Fixed with #787. Thank you for the issue and the pull request to fix it.


Orientation of Rotation Gizmo is flipped

My Translation and Scaling Gizmos work fine and are oriented in the right way. My Rotation Gizmo works more or less but the orientation is messed up, as you can see below:

I have no idea what might be wrong because the other two gizmos are displayed correctly(I use OpenGL's right handed coordinate system):

What might be the Issue? Thanks in advance.

Did you do the screen shots with an identity matrix for the cube?

Also, can you try to negate this value : https://github.com/CedricGuillemet/ImGuizmo/blob/a7ec0dd3b9e7dbd253c8ca891bbf621d82e3c804/ImGuizmo.cpp#L1038

Did you do the screen shots with an identity matrix for the cube?

No the cube is scaled and translated

Also, can you try to negate this value :
https://github.com/CedricGuillemet/ImGuizmo/blob/a7ec0dd3b9e7dbd253c8ca891bbf621d82e3c804/ImGuizmo.cpp#L1038

How would I do that?

Do you get a correct rotation gizmo when matrix is identity ?

Do you get a correct rotation gizmo when matrix is identity ?

No

can you try to use the view & projection matrix computation from the sample? I guess it's one of them that doesn't fit.

My view & projection matrix are calculated with glm:
projection = glm::perspective(glm::radians(45.0f), (float)m_window.m_width / (float)m_window.m_height, 0.01f, 100.0f);
view = glm::lookAt(cameraPos, cameraPos + cameraFront, Up);

They have worked so far with everything.
And I don't understand what you mean by:

can you try to use the view & projection matrix computation from the sample?
Do you mean the two functions from main.cpp?

yes, maybe they are different from glm, for some reason.

can you try to use the view & projection matrix computation from the sample? I guess it's one of them that doesn't fit.

So I did this and it looks like this:
        float _pers[16];
	Perspective(45.0f, (float)m_PanelSize.x / (float)m_PanelSize.y, 0.1f, 100.0f, _pers);
	float _view[16] =
	{ 1.f, 0.f, 0.f, 0.f,
	0.f, 1.f, 0.f, 0.f,
	 0.f, 0.f, 1.f, 0.f,
	0.f, 0.f, 0.f, 1.f };
	float eye[] = {Camera::GetMain()->position.x, Camera::GetMain()->position.y , Camera::GetMain()->position.z };
	glm::vec3 direction;
	direction.x = Camera::GetMain()->rotation.x;
	direction.y = Camera::GetMain()->rotation.y;
	direction.z = Camera::GetMain()->rotation.z;
	glm::vec3 front = glm::normalize(direction);
	float at[3] = {
		eye[0] + front.x,
		eye[1] + front.y,
		eye[2] + front.z
        };
	float up[3] = {0, 1, 0};
	LookAt(eye, at, up, _view);

	ImGuizmo::Manipulate(_view, _pers, (ImGuizmo::OPERATION)op, ImGuizmo::MODE::LOCAL, glm::value_ptr(transform));

The result is still not right. The gizmos are off and the rotation gizmo is still flipped. I did it this way because I didn't understand what CamDistance in main.cpp was. So, what did I do wrong here?

can you share your code on github? I can take a look

The code is already on Github. The Project is called 'FSY-Engine'. The code is in FSY/src/D
FSY/Application/Application.cpp
Though I should warn you that the code isn't very clean as I'm still working on it.
The part where i render the gizmos is in 'RenderUI()'.

can you share your code on github? I can take a look

Have you found anything?

not yet

OK I fixed it:
In the function 'DrawRotationGizmo()' you calculate a float 'ng' like this:
float ng = angleStart + circleMul * ZPI * ((float)i / (float)halfCircleSegmentCount);

And basically for me it was just:
float ng = angleStart + -circleMul * ZPI * ((float)i / (float)halfCircleSegmentCount); //added a minus before circleMul

not yet

I don't know if you have seen it, but i fixed it(The comment above this one). I'm just telling you so you don't have to look for a fix.

Yes, I've seen the comment. Been busy lately :(


Add an asterisk under "Stake" button that states "Enter 0 to Move Stake"

Add instructions under the stake button to direct delegators how to Move Stake
* Enter 0 to Move Stake
Or
Change Stake button to read
Stake/Move Stake
This is a very simple fix that will help new comers and has been a sore spot for many people looking to change Orchestrators that end up Unstaking by accident.

Nice suggestions 👍 I can submit a PR with a fix.

@Titan-Node - feel free to leave feedback on this PR.
Preview/staging URL with update -> https://explorer-mainnet-git-as-move-stake-footnotes-livepeerorg.vercel.app

@adamsoffer Looks great!
Really like the Unstake notice too which will stop people from Unstaking if they are looking to move stake.
I guess the only improvements (which are really picky) is to remove the asterisk * from the statement and remove the (amount of LPT) in the statement.
After seeing it on the explorer I think keeping it clean and less to read is nice and elegant, just like the You're not staked to this orchestrator. statement.
Great job


Can't change language with htmlbuilder

Hi,
I have trouble with language translate with datatable htmlbuilder.
<script> $(document).ready(function() {     $.extend(true, $.fn.dataTable.defaults, {         "stateSave": true,         "language": {             "url": "//cdn.datatables.net/plug-ins/1.10.10/i18n/Chinese-traditional.json"         }     }); }); {{ $dataTable->scripts() }} </script>
I am using this code in my blade file and the table still representing in English.
Did anyone have any idea.
Also, is there possible to add custom script in htmlbuilder?

Try this
<script type="text/javascript">     $.extend(true, $.fn.dataTable.defaults, {         language: {             url : '//cdn.datatables.net/plug-ins/1.10.10/i18n/Polish.json'         }     }); </script> {!! $dataTable->scripts() !!}

@EricKwan2014, there is an issue on arrangements of how you call the scripts. Using @Jastkast suggestion should fix your issue. {!! $dataTable->scripts() !!} should not be inside the <script> tag.


DR Documentation / Plan

User Story
As a mod plat engineer
I need a detailed plan to follow
So that in case of DR we are prepared.
Value / Purpose
Required for DR.
Useful Contacts
No response
Additional Information
Infrastructure that will be required such as KMS keys must be copied ahead of time, and also data must be backed up or copied across too.
Proposal / Unknowns
No response
Definition of Done

[ ] Documentation has been written / updated
[ ] Required infrastructure copied / duplicated ahead of time.
[ ] Another team member has reviewed

Please review https://github.com/ministryofjustice/modernisation-platform/pull/6105

Discussed with the team, the module release tagging process has been voted against, so I need to raise a ticket to change every module with hardcoded values for the region to one which accepts a variable (most already do)
I will create the ticket, generate the list. Adding to blocked now, as the docs are about the current infrastructure, but this will change it.


[BugFix] MoorDyn crash if no outputs requested

This is ready to merge
If no output channels were requested from MoorDyn, it would cause OpenFAST to crash (see #385).
This PR adds a check on number of outputs requested and bypasses the entire subroutine.
There should be no changes in the regression tests.

@mattEhall please review

The issue was with an ill formed format statement when p%NumOuts==0 (https://github.com/OpenFAST/openfast/blob/2372174c7871435609861546aeebe6615299a988/modules/moordyn/src/MoorDyn_IO.f90#L1213)


[BUG]test_stream_redirect_loop sometims make the whole program abort

To Reproduce
make test

But it happens only occasionally.
Versions

OS: macOS with M1
curl_cffi 0.6.0b7

Additional context
╰─>$ make test                                                                                (curl_cffi2)
python -bb -m pytest tests/unittest
============================================================================================================================================================================ test session starts ============================================================================================================================================================================
platform darwin -- Python 3.8.16, pytest-7.1.2, pluggy-1.0.0
rootdir: /Users/yifei/repos/curl_cffi, configfile: pyproject.toml
plugins: asyncio-0.19.0, trio-0.7.0, anyio-3.6.2
asyncio: mode=auto
collected 147 items

tests/unittest/test_async.py ....                                                                                [  2%]
tests/unittest/test_async_session.py ......................................                                                                                [ 28%]
tests/unittest/test_cookies.py .....                                                                                [ 31%]
tests/unittest/test_curl.py ...........................                                                                                [ 50%]
tests/unittest/test_headers.py ...                                                                                [ 52%]
tests/unittest/test_requests.py ........................................................Fatal Python error: Aborted

Current thread 0x0000000282013000 (most recent call first):
  File "/Users/yifei/repos/curl_cffi/curl_cffi/curl.py", line 268 in perform
  File "/Users/yifei/repos/curl_cffi/curl_cffi/requests/session.py", line 685 in perform
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/concurrent/futures/thread.py", line 57 in run
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/concurrent/futures/thread.py", line 80 in _worker
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/threading.py", line 870 in run
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/threading.py", line 932 in _bootstrap_inner
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/threading.py", line 890 in _bootstrap

Thread 0x0000000281007000 (most recent call first):
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/concurrent/futures/thread.py", line 78 in _worker
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/threading.py", line 870 in run
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/threading.py", line 932 in _bootstrap_inner
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/threading.py", line 890 in _bootstrap

Thread 0x000000016f913000 (most recent call first):
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/selectors.py", line 558 in select
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/asyncio/base_events.py", line 1823 in _run_once
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/asyncio/base_events.py", line 570 in run_forever
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/asyncio/base_events.py", line 603 in run_until_complete
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/asyncio/runners.py", line 44 in run
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/uvicorn/server.py", line 60 in run
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/threading.py", line 870 in run
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/threading.py", line 932 in _bootstrap_inner
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/threading.py", line 890 in _bootstrap

Thread 0x000000016e7ef000 (most recent call first):
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/selectors.py", line 558 in select
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/asyncio/base_events.py", line 1823 in _run_once
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/asyncio/base_events.py", line 570 in run_forever
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/asyncio/base_events.py", line 603 in run_until_complete
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/asyncio/runners.py", line 44 in run
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/uvicorn/server.py", line 60 in run
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/threading.py", line 870 in run
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/threading.py", line 932 in _bootstrap_inner
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/threading.py", line 890 in _bootstrap

Thread 0x00000001dfc99140 (most recent call first):
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/threading.py", line 302 in wait
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/threading.py", line 558 in wait
  File "/Users/yifei/repos/curl_cffi/curl_cffi/requests/session.py", line 704 in request
  File "/Users/yifei/repos/curl_cffi/curl_cffi/requests/session.py", line 585 in stream
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/contextlib.py", line 113 in __enter__
  File "/Users/yifei/repos/curl_cffi/tests/unittest/test_requests.py", line 543 in test_stream_redirect_loop
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/_pytest/python.py", line 192 in pytest_pyfunc_call
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/_pytest/python.py", line 1761 in runtest
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/_pytest/runner.py", line 166 in pytest_runtest_call
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/_pytest/runner.py", line 259 in <lambda>
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/_pytest/runner.py", line 338 in from_call
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/_pytest/runner.py", line 258 in call_runtest_hook
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/_pytest/runner.py", line 219 in call_and_report
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/_pytest/runner.py", line 130 in runtestprotocol
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/_pytest/runner.py", line 111 in pytest_runtest_protocol
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/_pytest/main.py", line 347 in pytest_runtestloop
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/_pytest/main.py", line 322 in _main
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/_pytest/main.py", line 268 in wrap_session
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/_pytest/main.py", line 315 in pytest_cmdline_main
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/_pytest/config/__init__.py", line 164 in main
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/_pytest/config/__init__.py", line 187 in console_main
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/site-packages/pytest/__main__.py", line 5 in <module>
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/runpy.py", line 87 in _run_code
  File "/opt/homebrew/Caskroom/miniconda/base/envs/curl_cffi2/lib/python3.8/runpy.py", line 194 in _run_module_as_main
gmake: *** [Makefile:41: test] Abort trap: 6

Not reproducible recently.


[backport v2.2] Bluetooth: controller: Fix ticker catch up on ISR latency

Fix ticker to avoid catch up of periodic timeouts in case of
large ISR latencies like in case of flash erase scenarios.
Relates to #23815.
Fixes #23070.
Signed-off-by: Vinayak Kariappa Chettimada<EMAIL_ADDRESS>

@cvinayak Please rebase on latest v2.2-branch

@carlescufi, sorry for the delay. Done.

@jhedberg should we merge?

@jhedberg should we merge?

@carlescufi yep, thanks for the reminder


Upgrade version of dependencies for authentication.

upgrade some of the versions for the authenticator image. This should decrease the number of vulns

/gcbrun

/gcbrun


Supporting chatgpt 4.0?

Does it support chatgpt 4.0 where user can upload a photo/file/etc. and/or get a reply which consists a photo/file/etc.?
I see there is RoomMessageFile event defined in room_events.py in nio package, but I don't know how to get the file from the user and send to openai.

Here is a example about how to handle file: https://github.com/hibobmaster/matrix-stt-bot/blob/main/bot.py#L178

According to openai api reference: https://platform.openai.com/docs/api-reference/chat/create
I guess It has not supported yet.


Test infrastructure improvements

Several improvements to our test infra:

make test now runs mypy and mkdocs build --strict in addition to pytest. It was too easy to forget to run these checks locally and then get burned in CI. To run pytest only, use make pytest.

Use pytest-xdist to parallelize test execution. make test now enables this by default. Tests in CI will still run on a single process. I've limited parallelism to 6 concurrent processes for now (above this, there seems to be no benefit, and the tests actually take longer due to increased initialization costs). The time to run make pytest is reduced by about 2/3, from ~326 seconds to ~112 seconds on my machine.

Use pytest-rerunfailures to allow flaky tests to rerun multiple times. Some tests depend on downloading data or models from remote servers, which can be unreliable; it's especially annoying when they fail in CI. Flaky tests can now be marked with"

@pytest.mark.flaky(reruns=3)
which will cause them to run n times before failing. To rerun only on specific exceptions, use (for example):
@pytest.mark.flaky(reruns=3, only_rerun='HfHubHTTPError')

This change is


Increase nimble options requirement

Description
Scenic uses {:or, _} which was only added in v0.3.3 (and improved in v0.3.4). v0.3.3 might be fine as the minimum required version but nimble_options doesn't have any breaking change and I'd rather err on the side of caution.
The resulting restriction >= 0.3.4 and < 0.4.0 is fairly similar to ~> 0.3, except it won't allow usage of 0.3.0 - 0.3.3.
I think this is technically a breaking change but I don't think that's a big deal because it is easy to update.
Motivation and Context
I ran into a bug where scenic would not start because the nimble_options version I was using did not support {:or, _}
Types of changes

[ ] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to
not work as expected)
[ ] Improvement/refactoring (non-breaking change that doesn't add any feature
but make things better)

Checklist

[x] Check other PRs and make sure that the changes are not done yet.
[x] The PR title is no longer than 64 characters.

I'll merge this in after I close the current round of changes I'm working on. Hopefully later this week.


Pin pip to 21.1.1

There is a regression for our case in pip's dependency resolver in v21.2.1 - see pypa/pip#10201. This locks up our CI, so the temporary fix is to pin the pip version. ba4766f should be reverted once pip's dependency resolver is fixed.

Self-merging to un-stick CI for other PRs


Failed to start ShuffleWorker

Error Message
2022-03-01 16:46:33,521 WARN  [main-SendThread(10.X.X.X:2181)] org.apache.flink.shaded.zookeeper3.org.apache.zookeeper.ClientCnxn [] - Session 0x0 for server <IP_ADDRESS>/<unresolved>:2181, unexpected error, closing socket connection and attempting reconnect java.lang.IllegalArgumentException: Unable to canonicalize address <IP_ADDRESS>/<unresolved>:2181 because it's not resolvable         at org.apache.flink.shaded.zookeeper3.org.apache.zookeeper.SaslServerPrincipal.getServerPrincipal(SaslServerPrincipal.java:65) ~[shuffle-dist-1.0.0.jar:?]         at org.apache.flink.shaded.zookeeper3.org.apache.zookeeper.SaslServerPrincipal.getServerPrincipal(SaslServerPrincipal.java:41) ~[shuffle-dist-1.0.0.jar:?]         at org.apache.flink.shaded.zookeeper3.org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1001) ~[shuffle-dist-1.0.0.jar:?]         at org.apache.flink.shaded.zookeeper3.org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1060) [shuffle-dist-1.0.0.jar:?]
JDK
openjdk 15.0.1 2020-10-20 OpenJDK Runtime Environment (build 15.0.1+9-18) OpenJDK 64-Bit Server VM (build 15.0.1+9-18, mixed mode, sharing)

Thanks for reporting this issue, we will take a look.

This issue seems relate to JDK version and Zookeeper version.  I already merged a fix to the main branch. The fix upgraded the zookeeper version to 3.5.9. @dangshazi Could you help to test if the fix solves your problem?

As discussed offline, this issue has been resolved, closing this issue.


Align db.py database class with sql.py & implement versioning

Versioning
Schema referencing
Python-internal
Constraining the schema can be done via pure Python, by hosting a schema definition in your own code or importing s specific version of it as a dependency package.
Python-external
If the schema definition or schema consumer are not within a Python runtime, then a fully qualified reference with these attributes has to be used:

index_url
package
url (alternative to index_url + package) (direct http or git)
object
version

2. Datasource referencing
The reference to the datasource should include the following:

URL or file path
schema reference
last_update


get destinationpolicy returns x509 error

Hi everyone,
I'm getting this kind of issue (x509: certificate signed by unknown authority) when I try to run: istioctl get destinationpolicy.
Basically, I'm trying to follow the Circuit Breaking guide by Istio but I'm unable. However, I'm able to apply a side car manual injection when I started the httpbin sample.
Does anybody have an idea?
Thanks in advance

@lita any idea on what can be wrong?
@romervargas please ask first in istio-users mailing list.


Refactor gradient and jacobians as multi-dimensional arrays

This is an issue reserved for the TU Delft Student Software Project '23 - LaplaceRedux
I think this is a fairly challenging problem, so do expect to spend some time on this. It may involve some breaking changes to the core architecture of the package, but on the bright side, it should help with some outstanding issues.
Currently gradients and Jacobians are mapped to two-dimensional arrays, since so far I had not considered training LA in batches (see related #19). This currently leads to problems for the implementation of GGN for the multi-class cases (see related #17). Refactoring things properly should help. In this context it may be worth using Tullio.jl for multi-dimensional array computations.

Check here for a good reference on Einstein summation.

closed by #33


waypaper: 2.1.2 -> 2.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for waypaper is: GUI wallpaper setter for Wayland-based window managers
meta.homepage for waypaper is: https://github.com/anufrievroman/waypaper
meta.changelog for waypaper is: https://github.com/anufrievroman/waypaper/releases/tag/2.2
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.2 with grep in /nix/store/adj1sri238sdg44wkk4hrxsn1mar64jg-waypaper-2.2
found 2.2 in filename of file in /nix/store/adj1sri238sdg44wkk4hrxsn1mar64jg-waypaper-2.2

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

waypaper

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/adj1sri238sdg44wkk4hrxsn1mar64jg-waypaper-2.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A waypaper https://github.com/r-ryantm/nixpkgs/archive/1b7325e83b68b6beae04fe3d101fa9a810d97ce2.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/1b7325e83b68b6beae04fe3d101fa9a810d97ce2#waypaper

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/adj1sri238sdg44wkk4hrxsn1mar64jg-waypaper-2.2
ls -la /nix/store/adj1sri238sdg44wkk4hrxsn1mar64jg-waypaper-2.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages built:

waypaper
waypaper.dist

Maintainer pings
cc @totalchaos05 for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for waypaper is: GUI wallpaper setter for Wayland-based window managers
meta.homepage for waypaper is: https://github.com/anufrievroman/waypaper
meta.changelog for waypaper is: https://github.com/anufrievroman/waypaper/releases/tag/2.3
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.3 with grep in /nix/store/xa2ag5j8cllw3br65xpr1lkqygqf7nms-waypaper-2.3
found 2.3 in filename of file in /nix/store/xa2ag5j8cllw3br65xpr1lkqygqf7nms-waypaper-2.3

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

waypaper

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xa2ag5j8cllw3br65xpr1lkqygqf7nms-waypaper-2.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A waypaper https://github.com/r-ryantm/nixpkgs/archive/721675b804c7cceda84a80d1238892d6be8811a5.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/721675b804c7cceda84a80d1238892d6be8811a5#waypaper

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/xa2ag5j8cllw3br65xpr1lkqygqf7nms-waypaper-2.3
ls -la /nix/store/xa2ag5j8cllw3br65xpr1lkqygqf7nms-waypaper-2.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

waypaper
waypaper.dist

Maintainer pings
cc @totalchaos05 for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

Result of nixpkgs-review pr 318734 at eab0c8fb run on x86_64-linux 1

1 package built successfully:

waypaper


No Way to Sign out via API

Hi!
I am trying to sign out via the API, in order to sign in to a diff account with a different email, but I am unable to.
Order of operation to replicate this:

Sign in with an account x
Saw that I have 0 account ID's in this account
Wanted to sign in with account y (has 3 account ID's), but due to these lines in 'login', the bearer token of account x wasn't letting me sign in with a different account

def login(self, email, wait_for_code=True, code=None):
        # If creds exist, check if they are valid/try to refresh
        if self.Bearer is not None and self._verify_login():     # this line is returning true due to account x being logged in previously
            return True

I commented out occuring lines above ^ and was able to get the 2FA prompt for account y, got the email, entered it, said i was signed in, but said i have 0 account ID's -- So im wondering if it's using the information from account x
I'm thinking & hoping a signOut() function would clear the tokens/cache/attributes for a fresh login :)

Thank you!

I just tried to implement a kinda custom sign out like so:
def sign_out():
    sign_out = fennel._clear_credentials()

    if fennel.Bearer == None and fennel.Refresh == None and fennel.ID_Token == None:
        print("credentials cleaned, sign out successful")
        return True
    else:
        print("error signing out, still signed in")
        return False

After signing into account x, i "sign out" via this method, and login with account y (which has 3 accounts), it asks me 2FA (yay!) and signs me in, but when i try to get my account ID's its still []

You're right, there's currently no way to sign out of a session.
However, when you initialize a Fennel() object you can pass in a location to store the cookies. So you could just make 2 different Fennel() objects and give them different pkl file names. That would make sure they use the correct credentials for transactions.

Hello,
I am also having a tough time with this. Anyway you can provide a code example of a potential workaround. Trying to trigger trades for 5 people but unable to do so because of this. I am stuck with the session of the first person I authenticated. Where is this session info saved? Anyway I can force to reset the session?

@yuvansundrani have you figured this out? Running into the same issue.

U gotta delete the fennel_credentials.pkl file to kinda "reset" or "sign out"


Timeout for a simple case

Describe the bug
Comby will time out with most input files, even small ones, with a simple pattern :
:[x] = __builtin_annot_intval("symb_int", :[x]);

I've been using comby a lot recently and it works wonderfully. In particular the following pattern works without any issue :
int :[x] = __builtin_annot_intval("symb_int", :[x]);

Reproducing
Here's a link to the reproduced bug.
If I'm correct, matching should happen.
In particular, if you replace the wholes with va, it matches one of the elements.

Wait it's just me being dumb isn't it ? The pattern should be
:[[x]] = __builtin_annot_intval("symb_int", :[[x]]);

The pattern above is trying to match the whole file before the first = __builtin_annot_intval probably ?
I don't know if the fact that it times out is really an issue then. I guess it should still find something ?
Sorry for submitting an issue if it is not one, I'll let you decide if that should be closed.

The pattern above is trying to match the whole file before the first = __builtin_annot_intval probably ?

Yes :) Others have run into this before so you're not alone. I think the right move might be to emit a warning for this sort of pattern. Tracking in #146. I added a little note on this in the docs:

You almost never want to start a template with :[hole], since it matches everything including newlines up to its suffix. This can make things slow. :[hole] is typically useful inside balanced delimiters.

I guess it should still find something ?

It probably would, if the timeout is higher (set with -timeout 10 for 10 seconds). There is a performance issue related to this, which would make this operation faster, but matching everything up to the = is still probably not the intended operation. Hope that helps.

It does help ! I fixed my pattern, happy to hear a warning will be emitted and the doc improving.
Thank you for your reactivity, Comby's a great project !

Addressed in #147.


Release pipeline for sidekick CLI

We need a release pipeline for https://pub.dev/packages/sidekick
One part of the release pipeline is to lock the upper bounds of all dependencies (direct + transitive).
This is important because dart pub global activate doesn't respect the lock file of packages, so we have to do it ourselves.
Pinning the exact version is not sufficient because that may make version resolution impossible for some Dart SDK versions.

I honestly belive that releaing sidekick package updates is a manual process. Complete automation might work in simple packages where every commit can be released as individual version. Still, it is questionable if it that would handle SemVer correctly.
The manual tasks, that should not be automated, are:

Identify when to release / Check that we're in a releaseable state
Bump the version SemVer conform (major, minor, patch)
Create the changelog

The tasks that can be automated are:

Bump the version
Lock dependencies
Tag the release
Publish the package
Publish GitHub release notes

What I thought of as a release pipeline could be an sk command collecting all information before starting a workflow. Imagine the following:
$ sk release sidekick

Hey Pascal Welsch, you started the release process for package:sidekick.
Do you want to release a new version? [y/n] y

Calculating diff between sidekick-v0.7.1 and HEAD...
Found 23 commits since last release.

`NEXT_RELEASE_CHANGELOG.md` has been automatically created containing all relevant commits/PRs for this release. Please edit this before it will be used as Changelog for this release.
- Combine connected commits into meaningful items
- Remove commits that have been reverted
- Add examples how to use the new APIs (check PRs for examples/tests)
- Highlight breaking changes

Opening NEXT_RELEASE_CHANGELOG.md

Then manual editing happens in NEXT_RELEASE_CHANGELOG.md:
13e70b6 Fix installing plugins from git and add tests for installation of plugins from all sources (#144)
4a47dd7 (tag: sidekick-v0.8.0) Prepare sidekick 0.8.0 release
51068dc Show error when command fails
4551d9f remove dependency_override
f1607e2 Add UpdateCommand (#111)
e5d3d9d Plugin install Protocol v2 #113 (#126)
5d47934 Add `--version` flag to print current sidekick version (#135)
6d1050e shared-code template: copy directly from file instead of from string (#132)
cec46db `DepsCommand`: add `excludedPackages` which supports glob patterns (#125)
4b24b16 Unify testing utilities in a shared local package `sidekick_test` (#124)
49c99d6 Revert "Add `addDependency` method which automatically adds correct dependency type during plugin install (#113)"
d0d4bb1 Add `addDependency` method which automatically adds correct dependency type during plugin install (#113)
d718468 Minimize stdout when auto compiling the cli (#109)
5330d79 Ignore the build dir when analyzing (#107)
00b0c7f Make CLI package location and entrypoint location modifiable; remove ProjectStructureDetector (#103)
b3aa3f9 Replace mason template with in-code templates (#101)
da94533 Minimal improvements (#100)
a1fc707 Add DART_VERSION into global cache path (#97)
411d516 Use local dependencies by default in tests (#98)
d60d75a add doc comment to `sidekick` (+10 pub points)
61b33d7 add example to all packages (link to README.md) (+10 pub points each)

Also package:sidekick_core updated (0.11.0 -> 0.13.1), please consider those changes as well.

8e01b33 (tag: sidekick_core-v0.13.1, main) Release sidekick_core 0.13.1
13e70b6 Fix installing plugins from git and add tests for installation of plugins from all sources (#144)
a80f91e Refactor Update Command (#146)
c2bd73e (tag: sidekick_core-v0.13.0) prepare release for sidekick_core 0.13.0
f1607e2 Add UpdateCommand (#111)
e5d3d9d Plugin install Protocol v2 #113 (#126)
5d47934 Add `--version` flag to print current sidekick version (#135)
6d1050e shared-code template: copy directly from file instead of from string (#132)
cec46db `DepsCommand`: add `excludedPackages` which supports glob patterns (#125)
4b24b16 Unify testing utilities in a shared local package `sidekick_test` (#124)
c946989 systemFlutterSdk: check for env.FLUTTER_ROOT (#123)
49c99d6 Revert "Add `addDependency` method which automatically adds correct dependency type during plugin install (#113)"
d0d4bb1 Add `addDependency` method which automatically adds correct dependency type during plugin install (#113)
98a0836 (tag: sidekick_core-v0.12.0) Prepare sidekick_core release 0.12.0
e896c09 Add sidekick_core version to sidekick_core package source (#116)
07cdc01 Make deps exclude work (#118)
b80db44 Fix invalid sidekick template for cli names containing underscores  (#112)
d718468 Minimize stdout when auto compiling the cli (#109)
5330d79 Ignore the build dir when analyzing (#107)
00b0c7f Make CLI package location and entrypoint location modifiable; remove ProjectStructureDetector (#103)
91c91c7 (tag: sidekick_core-v0.11.1) Prepare sidekick_core:0.11.1
454e57b Make shell scripts executable
f9221cb Create sidekick cli template in code
b04033c Rename TemplateGenerator -> PluginTemplateGenerator
da94533 Minimal improvements (#100)
d65e014 Add plugin section to readme

Do you want to continue with the changelog in NEXT_RELEASE_CHANGELOG.md
Continue Release process? [y/n] y

Considering the changelog, what kind of release do you want to do?
- [1] Major (breaking changes)
- [2] Minor (new features) (default)
- [3] Patch (bug fixes)
Please enter the number of the release type: 3

Bumping version to 0.8.1...
Creating changelog...
Locking dependencies...
Creating commit "Prepare Release sidekick v0.8.1"
Tagging release as sidekick_v0.8.1

At this point, the release is prepared but not yet published. That should be done by a github actions workflow listening for tag pushes. This also gives us the opportunity to manually double-check the release process and do changes or start over.
To finalize publishing the release, push the change to `origin`.
Do you want to push the changes to `origin`? [y/n] y

Pushing release sidekick_v0.8.1 to origin...
Waiting for github actions to finish publishing sidekick:0.8.1 to pub.dev...
🎉 Success

sidekick:0.8.1 has been released to pub https://pub.dev/packages/sidekick/versions/0.8.1


[VL] Align whole stage pipeline metric with Spark

Spark measure pipeline time since the iterator was created, but Gluten measure it in each call.
  /**
   * Returns the elapsed time since this object is created. This object represents a pipeline so
   * this is a measure of how long the pipeline has been running.
   */
  public long durationMs() {
    return (System.nanoTime() - startTimeNs) / (1000 * 1000);
  }

Following patch will add another metric to reflect native task execution time.

Any visible difference on the pipeline metrics after making this change?
@rui-mo

Any visible difference on the pipeline metrics after making this change?
cc @rui-mo

before it record elapsed time of hasNext and next, after it record from iterator created to last hasNext align with Spark's behavior.

Any visible difference on the pipeline metrics after making this change?
cc @rui-mo

before it record elapsed time of hasNext and next, after it record from iterator created to last hasNext align with Spark's behavior.

OK. So did you observe any difference on the metric numbers when running your queries from Spark GUI?

Any visible difference on the pipeline metrics after making this change?
cc @rui-mo

before it record elapsed time of hasNext and next, after it record from iterator created to last hasNext align with Spark's behavior.

OK. So did you observe any difference on the metric numbers when running your queries from Spark GUI?

Yes, sometimes stage UI show no difference between Gluten and Vanilla, but pipeline metric show Gluten has benefits. We want align metric between Gluten and Vanilla as much as possible, then find which part is slower.

It seems that the changes do not impact the ch backend. IteratorCompleter is only for the velox backend.

before it record elapsed time of hasNext and next, after it record from iterator created to last hasNext align with Spark's behavior

@Yohahaha Compared with previous logic, looks more time is recorded in this metric, right?

before it record elapsed time of hasNext and next, after it record from iterator created to last hasNext align with Spark's behavior

@Yohahaha Compared with previous logic, looks more time is recorded in this metric, right?

Yes, previous logic more like record velox task execution time, but we may not ignore other parts' time.

could we merge?

@PHILO-HE @ulysses-you could you help merge? thanks!

this pr does not affect CH backend, FWI @zzcclp

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_3775_time.csv
log/native_master_11_22_2023_16abf3966_time.csv
difference
percentage

q1
34.12
34.52
0.404
101.18%

q2
24.24
24.61
0.371
101.53%

q3
37.33
37.51
0.186
100.50%

q4
36.64
36.72
0.082
100.22%

q5
71.30
70.57
-0.738
98.97%

q6
5.48
7.86
2.385
143.54%

q7
83.29
84.69
1.392
101.67%

q8
86.59
85.82
-0.778
99.10%

q9
122.73
124.99
2.264
101.84%

q10
44.37
43.50
-0.875
98.03%

q11
20.14
19.62
-0.523
97.40%

q12
26.43
25.22
-1.207
95.43%

q13
46.60
45.75
-0.851
98.17%

q14
16.96
19.48
2.516
114.84%

q15
28.66
27.08
-1.582
94.48%

q16
15.24
15.52
0.281
101.84%

q17
99.83
100.26
0.431
100.43%

q18
148.06
147.25
-0.807
99.45%

q19
12.90
13.16
0.258
102.00%

q20
27.34
26.97
-0.377
98.62%

q21
222.88
221.08
-1.797
99.19%

q22
12.87
12.89
0.020
100.16%

total
1224.01
1225.07
1.056
100.09%


Bullet-pointed advantages section

Following existing pattern in this document. Much easier to read IMO.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/patterns/event-sourcing.md
:white_check_mark:Succeeded
View

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


The property ... has unknown type

When the file starts as:
{
"html_attributions": [],
"next_page_token": ...
it shows the message: The property [html_attributions] has unknown type.

That's right. Json2delphi class needs arrays with at least one element to determine Array's type (it converts arrays to Array where T is the type and must be known before conversion).
As a workaround if you know Array element's type, just add one fake element to it, for example:
{
"html_attributions": ["fake_element"],
"next_page_token": ...
}

In this case html_attributions will be converted to Array. Hope that helps.

Alright, I'm going to make a simple stringReplace on Json, thank you very
much!
2017-11-26 19:28 GMT-02:00 PKGeorgiev<EMAIL_ADDRESS>
That's right. Json2delphi class needs arrays with at least one element to
determine Array's type (it converts arrays to Array where T is the type and
must be known before conversion).
As a workaround if you know Array element's type, just add one fake
element to it, for example:
{
"html_attributions": ["fake_element"],
"next_page_token": ...
}
In this case html_attributions will be converted to Array. Hope that helps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PKGeorgiev/Delphi-JsonToDelphiClass/issues/7#issuecomment-347039851,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgHhYxmxirWZnh5BTDxKMz2TF62Z00xxks5s6dgYgaJpZM4QeVm-
.

Glad to help you!


[MBL-1606] New Crowdfund Checkout UI

📲 What
commit by commit review preferred
Updates the UI according to the new designs
This doesn't include the new estimated shipping view yet. I'll do that in a separate PR
🤔 Why
Some background context on why the change is needed.
🛠 How

Mostly code deletion and re-ordering views
The Pledge Summary Table also needed some updates. It now more closely matches the design of the Late Pledge Checkout screen. That being said I opted to reuse some of the PostCampaign components here since late pledge will be updated to have basically the same UI.
The new CTA view that holds the pledge buttons also needs to display the pledge amount. ConfirmDetailsViewController does this, so I created a new CTA container class to keep it behind our feature flag.

👀 See
Before comparison here

✅ Acceptance criteria

[x] Crowdfund checkout works as expected
[x] New UI matches new designs
[x] This is all behind the no shipping at checkout feature flag.

⏰ TODO

Add the new estimated shipping view in a separate PR
Rename the PostCampaign views that are being used in both flows now to a more generic name. Maybe Checkout...

Danger has errored
[!] Invalid Dangerfile file: Error running SwiftFormat:
Error: Running SwiftFormat...
(lint mode - no files will be changed.)
error: Unexpected end of file at 705:1 in /Users/distiller/kickstarter/Library/SharedFunctions.swift.. Updating the Danger gem might fix the issue. Your Danger version: 9.4.2, latest Danger version: 9.5.0
 #  from Dangerfile:8
 #  -------------------------------------------
 #  swiftformat.exclude = %w(Library/Strings.swift Library/Styles/Colors.swift)
 >  swiftformat.check_format
 #  -------------------------------------------

  Generated by :no_entry_sign: Danger


Error '{"success":false}' but no other information available

Hi there,
First of all, this project is gorgeous ! Congrats for all your work, and for the effort of providing a hosted version.
But infortunately, I have a problem with the hosted version ;)
When I try to submit my comment, your server gives this response :
Status code : 400
Body : {"success":false}
staticman.yml :
comments:

  allowedFields: ["email", "name", "message"]

  branch: "comments"

  commitMessage: "Add comment to article"

  filename: "entry{@timestamp}"

  format: "yaml"

  generatedFields:
    date:
      type: date
      options:
        format: "timestamp-seconds"

  moderation: true

  name: "deudtens.com"

  path: "source/_comments/{options.slug}"

  requiredFields: ["email", "name", "message"]

  transforms:
    email: md5

Form HTML :
    <form method="POST" action="https://api.staticman.net/v2/entry/oservieres/blog-deudtens/comments/">
      <input name="options[redirect]" type="hidden" value="https://www.deudtens.com">
      <input name="options[slug]" type="hidden" value="{{ page.url }}">
      Votre nom : <input name="fields[name]" type="text">
      Votre E-mail : <input name="fields[email]" type="email">
      Votre message : <textarea name="fields[message]"></textarea>

      <button type="submit">Envoyer</button>
    </form>

My blog repo : https://github.com/oservieres/blog-deudtens
I did not deploy the form in production, i'm submitting from my localhost.
I just don't understand what's happening, and I have no error message to guide me.
Do not hesitate to ask for more information if needed,
Thank you.

I have just cloned your repository and tried running the site, but I'm getting a few build errors. Can you help?

Thank you for your attention ! But my website is powered by Sculpin, not Jekyll.

Oh, that explains it! Could you provide some installation instructions so I can get it running?

I don't wanna bother you installing PHP and Sculpin. I'm not satisfied by the docker containers available either. Instead, I deployed the form on my website. See at the bottom of page : https://www.deudtens.com/deployez-en-production-des-le-debut-du-projet/
You can play with it as much as you want.

Firstly, thanks so much for building staticman. I'm actually getting the same issue on my site as well. It's running HTTPS (not sure if that makes a difference). I've added staticmanpp as a collaborator to my repo.
Here's the repo: https://github.com/jonathanyeong/personal-site.
staticman.yml:
comments:
  allowedFields: ["name", "email", "url", "message"]
  branch: "master"
  commitMessage: "Add Staticman data"
  filename: "entry{@timestamp}"
  format: "yaml"
  generatedFields:
    date:
      type: date
      options:
        format: "timestamp-seconds"
  moderation: true
  name: "jonathanyeong.com"
  path: "_data/comments/{options.slug}"
  requiredFields: ["name", "email", "message"]
  transforms:
    email: md5

my form (found in _layouts/post.html).
<form method="POST" action="https://api.staticman.net/v2/entry/jonathanyeong/personal-site/master/comments">
  <input name="options[redirect]" type="hidden" value="https://jonathanyeong.com">

  <input name="options[slug]" type="hidden" value="{{ page.slug }}">
  <input name="fields[name]" type="text">Name
  <input name="fields[email]" type="email">E-mail
  <textarea name="fields[message]"></textarea>Message

  <button type="submit">Go!</button>
</form>

I am also submitting this form on localhost.
I doubt this makes a difference, but here's what I've tried doing:

Restarting the jekyll server to make sure it picks up the staticman.yml file.
Changing the action link to: https://api.staticman.net/v2/entry/jonathanyeong/personal-site/master

Any suggestions?

A lot of people seem to be having these issues (see #108). I'm looking into this, please bare with me.

@jonathanyeong I can't find a staticman.yml file in your repo anymore, so I can't debug with your site.

Closing in favour of #108.

@eduardoboucas Apologies, I ended up removing staticman because it wasn't working. I went through the setup steps again and I ended up getting it working.
I was still getting the {'success': false} issue when I was running this back on my local host. However, when I pushed my changes it all worked on localhost (https://github.com/jonathanyeong/personal-site/pull/25).
I'm not sure if this information will help at all. Thank you for building this app!


Feature metric jsd

Description

JSD实现
Motivation and Context

Resolves #40
How has this been tested?

通过修改1_ctgan_example.py中selected_columns字段选择要选取的列，isDiscrete字段表示是否选取离散列或连续列，将计算多列联合概率密度的JS散度
Types of changes

[ ] Maintenance (no change in code, maintain the project's CI, docs, etc.)
[ ] 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)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

@sjh120  Please sync the base class currently in branch "feature-metric-base".
This PR should only contains the following files：

example/1_ctgan_example.py
sdgx/metrics/column/jsd.py

已修改，对base.py的修改为直接pull base class in branch "feature-metric-base"的结果


Small refactoring to prepare for JetPack compose previews

This is a small pr on my own code. It prepared a smal part of the screen for jetpack compose / viewmodels without functional impact


Add wait_for_service() before calling Lex service

Issue #: https://github.com/aws-robotics/aws-robomaker-sample-application-voiceinteraction/issues/41
Description of changes:
It is recommended that wait_for_service() is called before a service call.
This is also already the case for the ROS2 version of this VoiceInteraction sample app.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Still pending integration testing.

Integration test passed.


Singularize classes for feature names

This PR addresses issue #1403 by singularizing the class and table names in the feature generators.

Do we not have tests for the generators?

@dysnomian thanks for the pull request! Could you make it so that the singularization only happens on an option, rather than the default? I'm also very surprised that none of our tests failed here. @cupakromer my best guess is that it's because we use rails g rspec:feature 'foos' everywhere in our generator tests. Is that correct?

Yes, it looks like we simply have been passing plural options in our specs - so nothing failed. Clearly a gap in our specs testing that we "pluralized" stuff (>ლ). Also the change to the filename isn't covered by our specs either :grimacing:
While this PR doesn't exactly singularize anything, it doesn't pluralize everything. :+1: If we can add a spec case for this that would be great.
In regards to the naming, I'm a little concerned that is a divergent change. The original use of table_name resulted in:
$ bin/rails g rspec:feature warehouse::widget
      create  spec/features/warehouse/warehouse_widgets_spec.rb

With this change we now will get:
$ bin/rails g rspec:feature warehouse::widget
      create  spec/features/warehouse/warehouse::widget_spec.rb

@samphippen, @cupakromer: Thanks for the feedback! Next steps:

only singularize on a --singularize option
update tests so that they pass and fail appropriately on:

text
spec filename

use class_name instead of table_name (that :: was a surprising case I hadn't considered! :flushed: Good catch.)

Sound right?

@dysnomian that sounds good to me.

@dysnomian just wanted to check this was still something you're interested in working on? Let me know if you need any further help.

@samphippen Yeah, still interested!

Changes made. Any comments?

This looks good. I'm going to locally add a changelog, and merge it down.

@dysnomian it is my intention to merge this via #1508 when that PR passes CI.

This was merged via #1508


rename lplr to lpl

Hi @ved-rivos,
I wonder what the meaning of lpl if the supervisor mode is not implemented and the lpl is in supervisor mode.

The lpl is always accessible in M-mode - even when S mode is not implemented. In a machine where only M-mode is implemented, the lpl is used only by M-mode. When M and U are implemented, the lpl for U mode is managed by M-mode.


Set up django on SECS student webserver

Install Django onto my student webserver. Add the html template(s) to the site.

I ran into some roadblocks regarding not having admin permisisons to install newer versions of SQlite, or configure the web server to talk to django thru a WSGI. I requested a MySQL database so we may use that instead of SQlite. I am also investigating the possability of using the Heroku Iass, or hosting on an old laptop I own.


Introduce proper AreMessagesDeployed() and AreRestrictedAssetsDeployed()

This PR adds working:
AreMessagesDeployed()
AreRestrictedAssetsDeployed()
This PR also converts the respective chain params from block height to a timestamp for consistency.
During my testing, message was correctly enabled and disabled on mainnet, testnet, and regtest.
However, the message below can be misleading and I have put a TODO to fix it later. (issue more complex them it seems and more testing required which is out of scope of this PR).  This should not effect the actual AreMessagesDeployed() from providing correct boolean values.
https://github.com/AvianNetwork/Avian/blob/5aa0e4aa4040c1f3f1f71b0aa1a6edf2e86875d2/src/init.cpp#L1622

Would be helpful if someone could verfiy that this PR does not lead to deadlock. (Expreinced none during testing; however I saw messaging being enabled were causing a deadlock in the first place.)

Fixed regtest messaging to be enabled after genesis block (asset, pow, etc is enabled after genesis block)
Fixed asset block height for testnet


A required class was missing while executing org.codehaus.mojo:jaxb2-maven-plugin:2.3:xjc: com/sun/codemodel/CodeWriter

I cloned the repository and tried running mvn clean install, but I'm getting this error.
Already tried deleting .m2 apache repository.
[ERROR] Failed to execute goal org.codehaus.mojo:jaxb2-maven-plugin:2.3:xjc (xjc-eu.rbecker.jsepa.directdebit.xml.schema.pain_008_001_02) on project jSepa: Execution xjc-eu.rbecker.jsepa.directdebit.xml.schema.pain_008_001_02 of goal org.codehaus.mojo:jaxb2-maven-plugin:2.3:xjc failed: A required class was missing while executing org.codehaus.mojo:jaxb2-maven-plugin:2.3:xjc: com/sun/codemodel/CodeWriter
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.codehaus.mojo:jaxb2-maven-plugin:2.3
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/Michal-aardwark/.m2/repository/org/codehaus/mojo/jaxb2-maven-plugin/2.3/jaxb2-maven-plugin-2.3.jar
[ERROR] urls[1] = file:/C:/Users/Michal-aardwark/.m2/repository/javax/xml/bind/jaxb-api/2.2.11/jaxb-api-2.2.11.jar
[ERROR] urls[2] = file:/C:/Users/Michal-aardwark/.m2/repository/org/glassfish/jaxb/jaxb-core/2.2.11/jaxb-core-2.2.11.jar
[ERROR] urls[3] = file:/C:/Users/Michal-aardwark/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.jar
[ERROR] urls[4] = file:/C:/Users/Michal-aardwark/.m2/repository/org/glassfish/jaxb/jaxb-xjc/2.2.11/jaxb-xjc-2.2.11.jar
[ERROR] urls[5] = file:/C:/Users/Michal-aardwark/.m2/repository/org/glassfish/jaxb/jaxb-jxc/2.2.11/jaxb-jxc-2.2.11.jar
[ERROR] urls[6] = file:/C:/Users/Michal-aardwark/.m2/repository/com/thoughtworks/qdox/qdox/2.0-M3/qdox-2.0-M3.jar
[ERROR] urls[7] = file:/C:/Users/Michal-aardwark/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar
[ERROR] urls[8] = file:/C:/Users/Michal-aardwark/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar
[ERROR] urls[9] = file:/C:/Users/Michal-aardwark/.m2/repository/org/sonatype/sisu/sisu-guava/0.9.9/sisu-guava-0.9.9.jar
[ERROR] urls[10] = file:/C:/Users/Michal-aardwark/.m2/repository/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar
[ERROR] urls[11] = file:/C:/Users/Michal-aardwark/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
[ERROR] urls[12] = file:/C:/Users/Michal-aardwark/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
[ERROR] urls[13] = file:/C:/Users/Michal-aardwark/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[14] = file:/C:/Users/Michal-aardwark/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[15] = file:/C:/Users/Michal-aardwark/.m2/repository/org/codehaus/plexus/plexus-compiler-api/2.5/plexus-compiler-api-2.5.jar
[ERROR] urls[16] = file:/C:/Users/Michal-aardwark/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar
[ERROR] urls[17] = file:/C:/Users/Michal-aardwark/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: com.sun.codemodel.CodeWriter
Any advices?

It looks like your maven is broken. Or maybe it just doesn't work with windows - I have never tested that. Could you try it on a Linux machine?

Same for me on a mac os machine.
Bumping the version for jaxb2-maven-plugin to the latest one (currently 2.5.0) solves this for me.

Same for me on a mac os machine.
Bumping the version for jaxb2-maven-plugin to the latest one (currently 2.5.0) solves this for me.

do I have to change it in pom.xml ?


[Feature Request]: Handle human-in-the-loop

Feature Description
Workflows should likely provide some more dedicated mechanism for human-in-the-loop
My main concern here is that the asyncio timeouts will not play nice once you add the latency of an actual person needed into respond. I almost wonder if there should be some generic human-in-the-loop helper/abstraction that we provide to work with workflows.
(As for human-on-the-loop, that needs to happen on top of a workflow, likely in tandem with stepwise execution)
Reason
Human in the loop is a valuable feature for any agentic framework
Value of Feature
LLMs make mistakes, humans can correct them

Going to take this on, as I need to also work on the hitloop for Snowflake/Streamlit demo again lol

https://github.com/nerdai/snowflake-cybersyn-demo

Alright: I think we can close this ticket?
We've got two examples of how to implement human in the loop with Workflows. Still TBD how to make it happen in llama-deploy @logan-markewich but maybe that is its own ticket? Perhaps with the scoping of how to easily deploy these two human in the loop patterns.

Closing this too given that @logan-markewich landed the 3rd way to implement HITL with Workflows when streaming events:
https://github.com/run-llama/llama_index/pull/16220


Fix show secrets issue

Signed-off-by: Maggie Chen<EMAIL_ADDRESS>https://github.com/stolostron/backlog/issues/20512

/test pr-image-mirror


[Update 4.11 -> 4.12] Master node becomes unreachable and loses network connectivity

Describe the bug
Upgrading OKD from 4.11.0-0.okd-2022-12-02-14564 to 4.12.0-0.okd-2023-03-18-084815 makes the first master node unreachable and the overall updating process fails making the cluster not reachable at all.
Logs on the master node show that NetworkManager is unable to create all required interfaces and the node loses internet connection therefore kubelet fails to start.

Jul 14 10:30:14 localhost.localdomain kubenswrapper[3874]:         failed to run Kubelet: could not init cloud provider "aws": unable to determine AWS zone from cloud provider config or EC2 instance metadata: RequestError: send request failed
Jul 14 10:30:14 localhost.localdomain kubenswrapper[3874]:         caused by: Get "http://<IP_ADDRESS>/latest/meta-data/placement/availability-zone": dial tcp <IP_ADDRESS>:80: connect: network is unreachable
Jul 14 10:30:14 localhost.localdomain kubenswrapper[3874]:  >
Jul 14 10:30:14 localhost.localdomain systemd[1]: kubelet.service: Main process exited, code=exited, status=1/FAILURE
Jul 14 10:30:14 localhost.localdomain systemd[1]: kubelet.service: Failed with result 'exit-code'.
Jul 14 10:30:14 localhost.localdomain systemd[1]: Failed to start kubelet.service - Kubernetes Kubelet.

NetworkManager:

Jul 14 10:09:36 localhost.localdomain NetworkManager[964]:   [1689329376.6711] settings: could not load plugin 'ifcfg-rh' from file '/usr/lib64/NetworkManager/1.40.10-1.fc37/libnm-settings-plugin-ifcfg-rh.so': No such file or directory
Jul 14 10:09:36 localhost.localdomain NetworkManager[964]:   [1689329376.7220] device (ens5): device ens5 could not be added to a ovs port: disconnected from ovsdb
Jul 14 10:09:36 localhost.localdomain NetworkManager[964]:   [1689329376.7240] device (ens5): Activation: failed for connection 'ovs-if-phys0'

OVSDB:

Jul 14 10:09:36 localhost.localdomain systemd[1]: Starting ovsdb-server.service - Open vSwitch Database Unit...
Jul 14 10:09:36 localhost.localdomain chown[1113]: /usr/bin/chown: invalid user: ‘openvswitch:hugetlbfs’
Jul 14 10:09:36 localhost.localdomain sh[1121]: /usr/bin/chown: invalid user: ‘openvswitch:hugetlbfs’
Jul 14 10:09:36 localhost.localdomain ovs-ctl[1173]: id: 'openvswitch': no such user
Jul 14 10:09:36 localhost.localdomain ovs-ctl[1180]: setpriv: failed to parse reuid: ''
Jul 14 10:09:36 localhost.localdomain ovs-ctl[1196]: install: invalid user 'openvswitch'
Jul 14 10:09:36 localhost.localdomain ovsdb-server[1204]: ovs|00001|daemon_unix|EMER|(null): user openvswitch not found, aborting.

Version
IPI on AWS, 4.12.0-0.okd-2023-03-18-084815, OVNKubernetes.
How reproducible
100% so far with OVNKubernetes CNI. With OpenShiftSDN update process happens successfully.
Log bundle
https://drive.google.com/file/d/1cxP6CITJdMfixgDx6NirPxCK2ZSnHnb7/view?usp=sharing

You're updating to 4.13 and master MCP shows

Node master-01.devqs.ars.de is reporting: "error running rpm-ostree
kargs --append=systemd.unified_cgroup_hierarchy=0 --append=systemd.legacy_systemd_cgroup_controller=1:
\x1b[0m\x1b[31merror: \x1b[0mNo packages in transaction\n: exit status 1"

Dupe of #1614, see https://github.com/okd-project/okd/issues/1614#issuecomment-1633352715 for workaround

Sorry, wrong must-gather

Today I've tried to take another upgrade path starting from 4.11.0-0.okd-2022-08-20-022919 -> 4.11.0-0.okd-2022-10-28-153352 -> 4.11.0-0.okd-2022-12-02-145640 -> 4.11.0-0.okd-2023-01-14-152430 -> 4.12.0-0.okd-2023-04-16-041331
And during the last part (4.11.0-0.okd-2023-01-14-152430 -> 4.12.0-0.okd-2023-04-16-041331) got absolutely the same behavior with a failing master node losing network connectivity. Additionally, I have tried to replace that unhealthy etcd member (master node) with a new one but it had no effect at all, simply next master node started failing. Attaching another must-gather log (which stuck on etcd):

oc adm must-gather
[must-gather      ] OUT Using must-gather plug-in image: quay.io/openshift/okd-content@sha256:5b649183c0c550cdfd9f164a70c46f1e23b9e5a7e5af05fc6836bdd5280fbd79
When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information.
ClusterID: 4e55b4d8-6222-4d3e-bf34-f79f6118350b
ClusterVersion: Updating to "4.12.0-0.okd-2023-04-16-041331" from "4.11.0-0.okd-2023-01-14-152430" for 2 hours: Working towards 4.12.0-0.okd-2023-04-16-041331: 105 of 837 done (12% complete), waiting up to 40 minutes on etcd, kube-apiserver
ClusterOperators:
clusteroperator/authentication is progressing: APIServerDeploymentProgressing: deployment/apiserver.openshift-oauth-apiserver: 1/3 pods have been updated to the latest generation
clusteroperator/dns is progressing: DNS "default" reports Progressing=True: "Have 5 available node-resolver pods, want 6."
clusteroperator/etcd is degraded because ClusterMemberControllerDegraded: unhealthy members found during reconciling members
EtcdMembersDegraded: 2 of 3 members are available, ip-10-0-203-237.eu-central-1.compute.internal is unhealthy
NodeControllerDegraded: The master nodes not ready: node "ip-10-0-203-237.eu-central-1.compute.internal" not ready since 2023-07-21 15:57:30 +0000 UTC because NodeStatusUnknown (Kubelet stopped posting node status.)
clusteroperator/image-registry is progressing: Progressing: The registry is ready
NodeCADaemonProgressing: The daemon set node-ca is deploying node pods
clusteroperator/kube-apiserver is degraded because NodeControllerDegraded: The master nodes not ready: node "ip-10-0-203-237.eu-central-1.compute.internal" not ready since 2023-07-21 15:57:30 +0000 UTC because NodeStatusUnknown (Kubelet stopped posting node status.)
clusteroperator/kube-controller-manager is degraded because NodeControllerDegraded: The master nodes not ready: node "ip-10-0-203-237.eu-central-1.compute.internal" not ready since 2023-07-21 15:57:30 +0000 UTC because NodeStatusUnknown (Kubelet stopped posting node status.)
clusteroperator/kube-scheduler is degraded because NodeControllerDegraded: The master nodes not ready: node "ip-10-0-203-237.eu-central-1.compute.internal" not ready since 2023-07-21 15:57:30 +0000 UTC because NodeStatusUnknown (Kubelet stopped posting node status.)
clusteroperator/machine-config is degraded because Unable to apply 4.12.0-0.okd-2023-04-16-041331: error during syncRequiredMachineConfigPools: [timed out waiting for the condition, pool master has not progressed to latest configuration: controller version mismatch for rendered-master-0f5921caf80e630a51bf91367ba3e4a0 expected 87fedee690ae487f8ae044ac416000172c9576a5 has b36482885ba1304e122e7c01c26cd671dfdd0418: 0 (ready 0) out of 3 nodes are updating to latest configuration rendered-master-8aa689552aaec6284345f6657be77c5e, retrying]
clusteroperator/network is progressing: DaemonSet "/openshift-network-diagnostics/network-check-target" is not available (awaiting 1 nodes)
DaemonSet "/openshift-multus/network-metrics-daemon" is not available (awaiting 1 nodes)
DaemonSet "/openshift-ovn-kubernetes/ovnkube-master" update is rolling out (2 out of 3 updated)
DaemonSet "/openshift-ovn-kubernetes/ovnkube-node" is not available (awaiting 1 nodes)
DaemonSet "/openshift-multus/multus" is not available (awaiting 1 nodes)
DaemonSet "/openshift-multus/multus-additional-cni-plugins" is not available (awaiting 1 nodes)
clusteroperator/openshift-apiserver is progressing: APIServerDeploymentProgressing: deployment/apiserver.openshift-apiserver: 1/3 pods have been updated to the latest generation
clusteroperator/storage is progressing: AWSEBSCSIDriverOperatorCRProgressing: AWSEBSDriverNodeServiceControllerProgressing: Waiting for DaemonSet to deploy node pods
[must-gather      ] OUT namespace/openshift-must-gather-tr7nz created
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-fqphk created
W0721 19:05:41.687865   50018 warnings.go:70] would violate PodSecurity "restricted:latest": allowPrivilegeEscalation != false (containers "gather", "copy" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (containers "gather", "copy" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or containers "gather", "copy" must set securityContext.runAsNonRoot=true), seccompProfile (pod or containers "gather", "copy" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
[must-gather      ] OUT pod for plug-in image quay.io/openshift/okd-content@sha256:5b649183c0c550cdfd9f164a70c46f1e23b9e5a7e5af05fc6836bdd5280fbd79 created
[must-gather-mwcgz] POD 2023-07-21T16:05:43.935601332Z Gathering data for ns/openshift-cluster-version...
[must-gather-mwcgz] POD 2023-07-21T16:05:44.579581563Z Gathering data for ns/default...
[must-gather-mwcgz] POD 2023-07-21T16:05:45.379331101Z Gathering data for ns/openshift...
[must-gather-mwcgz] POD 2023-07-21T16:05:45.739692498Z Gathering data for ns/kube-system...
[must-gather-mwcgz] POD 2023-07-21T16:05:46.226478513Z Gathering data for ns/openshift-etcd...
\

From Amazon EC2 instance status it's clear that the node became unreachable

It looks like I'm missing something important here but cannot figure out what exactly.

As per further investigation, I have discovered the following things:

This behavior does not correlate with the type of network plugin (reproducible on both).
It became quite clear that it correlated with the initial AMI image used.

When upgrading from 4.11 to 4.12 starts from 4.11.0-0.okd-2022-12-02-145640 to any 4.12 version, it finishes without any issues.
When an upgrade starts from an old 4.11.0-0.okd-2022-08-20-022919 version. All the chain to the latest 4.11 updates successfully but at the same time update to any 4.12 version fails with the issue described above.

Only master nodes are affected.

As stated here:

Q: I upgraded OpenShift and noticed that my AMI hasn't changed, is this normal?
Yes, see: https://github.com/openshift/enhancements/pull/201 (As well as the rest of this document - we do in-place updates without changing the bootimage).

@vrutkovs could it be an incompatibility between 4.11.0-0.okd-2022-08-20-022919 AMI OS and 4.12 release-image?

It certainly could, but during upgrade we also update the OS (after network plugin however).

When an upgrade starts from an old 4.11.0-0.okd-2022-08-20-022919 version

Well, its possible its an issue, as this path has not been tested. 4.11.0-0.okd-2022-12-02-145640 is definitely upgradable to 4.12 (see CI test results in "Upgrades to")

Thanks for the confirmation. We'll continue the investigation since we have to update our old cluster anyway. One of the ideas is to replace all master nodes with the AMI from 4.11.0-0.okd-2022-12-02-145640 version before the update.
If you suddenly have any other advice on some workaround with this update, we would be really grateful

So, manual AMI replacement on master nodes helped


ONVIF S  (support)

Anyone successfully used a camera with (only) ONVIF support?
Have a D-link DCS-8300LHV2 that I would like to use.
Works fine with D-link app and QNAP NAS
Not able to stream any video/picture in Homebridge (Mac) by use of camera.ui plugin. Find and connects to the camera, but no stream or fixed picture

🎉 A new version of camera.ui
A new version of camera.ui is currently under active development. An initial alpha/beta release and previews are coming soon. Stay tuned for exciting updates: https://github.com/seydx/camera.ui/issues/448 .
This version will no longer be developed / fixed. The new version contains many novelties and fixes (most important is for HKSV recording).

I am closing the issues that have already been fixed/added in the next major version to make it easier to track. If you have any questions, please use the pinned issue


Notebook to demo access to mondo using oak

Fixes #6805

@matentzn updates to the notebook are added

@matentzn I changed this Draft PR to a live PR. Let me know if you're still ok for this to be merged.

Absolutely, please merge any time. To fully close the issue, you could add a markdown file with "Examples how to use Mondo" to the docs, add a section called "Notebooks" and link your notebook. Then we have something solid for the future to iterate over. Thank you!


bug: Ionicons 2 Look different on iOS

Type: bug
Ionic Version: 2.x
Platform: ios 9 webview
The Ionicon 2 named "ion-ios-body-outline" looks completely fine on my mac in browser, on either the official ionicons website and an app simulated in the browser (safari). But on my iPhone running iOS 9.3.5, the icon is solid and not just the outline, but the head of the person is. This occurs on both, an app running in "Ionic view app" and the browser (safari) on ionicons.com

Hello, thanks for opening an issue with us! Would you mind trying this using our wkwebview plugin? Thanks!

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!

I'm still having this Issue on iOS 10 with Ionic 1 and 2, on both UIWebView and WKWebView! The icon looks fine on any device/browser, but not on iOS devices, iPhone and iPad. Same issue when going to ionicons.com with mobile-safari. I didn't found a workaround and your suggestion using the WKWebView is not working either...


Feature Request: Edit Sensors

Would it be possible to edit sensors that we've already added (currently add and delete are the options)? This would remove the need to delete and re-add them.
I've added a few, but for my requirements can change the update interval to suit, or need to rename them as per my naming standards.

Thanks for creating an issue! Up to this point I didn't really have the need to edit a sensor but I can see why it would be useful.

Thanks for creating an issue! Up to this point I didn't really have the need to edit a sensor but I can see why it would be useful.

Thank you for the creation of this service! And thanks for considering the request. 👍

Thank you for the creation of this service! And thanks for considering the request. 👍

I came hete for this request.
Thanks for considering!

I came hete for this request.
Thanks for considering!

I'd say it's a little bit annoying to rebuild a sensor/command from scratch if you want to change something or you misspelled ;)

I'll +1 this :)

another vote

+1 -- I have found that over the last couple months, some sensors have been removed and added just to change a setting, and due to either MQTT retain settings or me naming it slightly differently, I ended up with duplicate sensors/old sensors kicking around the network. Being able to edit w/o changing the name would be awesome.

This has been implemented and will be in the next release. Many credits to @stefanroelofs for doing most of the work <3

@sleevezipper Is there an ETA on this release?

Soon! I've been working on the deployment process today as it is really bad. I'll continue tomorrow and I expect to have a release ready.


K8SPS-179: GR improved

https://jira.percona.com/browse/K8SPS-179

Test name
Status

auto-config
failed

demand-backup
failed

init-deploy
failed

config
failed

gr-init-deploy
failed

gr-demand-backup
failed

one-pod
failed

monitoring
failed

scaling
failed

users
failed

semi-sync
failed

service-per-pod
failed

sidecars
failed

limits
failed

version-service
failed

tls-cert-manager
failed

We run 16 out of 16

commit: https://github.com/percona/percona-server-mysql-operator/pull/228/commits/5349ee0e0ab56c3ae636a87510d173259bfd147e
image: perconalab/percona-server-mysql-operator:PR-228-5349ee0


Reduce without initial value doesn't work

Underscore's reduce as well as native Array.prototype.reduce can work without initial value.
See two similar calls:
equal(_.reduce(col.models, function(a, b) {return a.id > b.id ? a : b}).id, 3); // works fine
equal(col.reduce(function(a, b) {return a.id > b.id ? a : b}).id, 3); // don't work

This behaviour seems to be broken since https://github.com/jashkenas/backbone/commit/7d646745618dc86ff74230a2063083963b7c343a, because this commit forces to call underscore with fixed number of arguments, but underscore detects this count and cannot switch to mode without initial value and starts with undefined.

@jridgewell close this, I am going to continue discussion in #3820


Manage posts

Overview

Revised cards to support multiple content types (with a footer slot for added versatility)
On hover, cards will bring up the edit/delete (limited to the Manage Posts page; otherwise w/o slot, will default to username and profile picture of post author)
Added a popup to make a new post and/or edit an existing
Added support for Commonmark, plaintext and image posts (jpeg and png)
Added support for deleting posts (with an accompanying delete prompt
Made an (unstyled) Manage posts to act as the portal for adding/editing/deleting posts
Tested and (largely) works against local JSON server

###Known Bugs/Quirks

Not tested against backend yet due to lack of auth.
When you edit a post with an image, the image will not render as a thumbnail for whatever reason. I've confirmed that it's passed in as a prop and correctly assigned (the line above the image assignment successfully changes its value) (I've looked into this with little success -- I'm assuming it has to do with component reactivity). However, making a benign change to the source code, then saving it will magically cause the image to appear. Why???
Right now, alerts pop up when there's an issue with retrieving/posting data to/from server. This will eventually need to be removed.
Everything is ugly as sin (largely unstyled)

###Screenies :)

Not sure why the check is failing w/ axios. Neither linter nor console has an issue with it.

Not sure why the check is failing w/ axios. Neither linter nor console has an issue with it.

See 3ebe20d, you have to add the Axios moduleNameMapper to Jest.


Update base_model.go

Description: Add a ignore tag to un-exported field,
Issue: baseResponse will
Dependencies: NO,
Tag maintainer: Unknown,

@suutaku thanks for your contribution!


JSRPC: Promise Pipelining (and property access)

You can now access properties on an RPC object by just awaiting them:
let value = await stub.someProperty;

And you can access properties on a promise returned by an RPC call, in order to make speculative calls on stubs that you expect to be returned:
await stub.someMethod().someOtherMethod();

Both of these are achieved via custom thenables rather than regular promises. This allows us to return a value that can be awaited, but which also has a wildcard property.

Had to rebase over the JsMap change in order to resolve merge conflicts so that tests would run, but this means this branch is running ahead of what's merged downstream.

Just a general comment here, how are we going to represent the return type of both an RpcTarget or a property in Typescript wrt promise pipelining? Both doing multiple awaits and relying on pipeline need to be valid:
let value = await stub.someProperty
let x = value.inner
let y = await stub.someProperty.inner

await stub.someMethod().someOtherMethod();
await (await stub.someMethod()).someOtherMethod();

@mrbbot @GregBrimble thoughts?

9babd0d is new, the rest of the above is a rebase.


Provide an option to start uv on Windows without a console window

I am using the Windows 11 Task Scheduler to periodically run a Python script using the uv --quiet run command.
The script has the .pyw file extension, and uv correctly uses pythonw.exe to run the script without a console window.
Unfortunately, uv.exe itself still opens an empty console window. It stays open until it has parsed the inline metadata, checked the  dependencies and started pythonw.exe. The window is both distracting and steals the focus.
It would be great, if there was an additional flag (e.g. --hidden, --no-console) to suppress the creation of the console window.
Alternatively, it may be possible to add this functionality to the --quiet flag.

Sorry nobody replied here. This seems reasonable, but I have no idea how it would be implemented.

On a general level, you'd need to set the windows_subsystem attribute to "windows" so no console is provided by Windows to the application.
However, the issue then is

– as I understand it, this is why python.exe and pythonw.exe are entirely separate executables: python.exe has the subsystem set to CONSOLE, pythonw.exe has it set to WINDOWS (and respectively, .pyw files are associated with pythonw.exe).

I guess we could ship a uvw.exe on Windows for this purpose? I'm definitely not an expert in this though. Is there no other way?

https://stackoverflow.com/q/19168763/51685 touches on a Windows subsystem app being able to request a console, but the comments are somewhat worrisome ("invariably works poorly"...).


make layout responsive

At present, the layout is not responsive, when anybody tries to run this app on a smartphone, they encounter multiple errors.
A screenshot would be enough to explain the issue.

My suggestion would be to use Bootstrap(or some other framework) to style front-end.

@abhigyank I was thinking that it would be better to add a sidebar for rooms in case of small screens. Any suggestion?

Are thinking about a collapsible sidebar?

Are thinking about a collapsible sidebar?

Yeah

That would be great I think! Go ahead.

@kpbot claim

I am still working on this.

@kpbot claim

@kpbot claim --force

Closed via #54


libnatpmp: make files in $out/lib executable

Fixes https://github.com/NixOS/nixpkgs/issues/139197

Motivation for this change
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 139485 at be3bc77e run on x86_64-linux 1

1 package skipped due to time constraints:

swift-im

7 packages built successfully:

fragments
libnatpmp
libtransmission
torrential
transmission
transmission-gtk
transmission-qt

Aaand a similar one: https://github.com/NixOS/nixpkgs/pull/139638


How to install Julia and Jupyter notebooks

References:
Speaker:
Video title: How to install Julia and Jupyter notebooks
Link: https://www.youtube.com/watch?v=oyx8M1yoboY
Contents
00:00 - Welcome!
00:22 - Running Julia
01:47 - Running Jupyter notebooks
04:04 - Allowing Jupyter notebooks to run Julia

I will too revitalize this topic. With a bit of luck, we can succeed.

Thank you. Timestamps were added to the video, we will close this issue, when we get access rights to this GitHub repository.


MOIA-24128: update deps

No, it was because we wanted to stay as low as possible on the cdk deps to allow as many different versions as possible to use this lib.


magit-annex: provide external.git

Refactor the code to add the input from the magit expression to be reusable.
Motivation for this change
#44539 details how the magit-annex package broke; this is the same breakage that magit experienced---this refactors @ttuegel's solution for that package to be reusable, and adds a similar annotation to magit-annex.
Things done
Rebuilt magit using the refactored expression, which worked fine, and confirmed that the magit-annex expression now installs.

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Fits CONTRIBUTING.md.

IMHO named abstractions that save copy-paste are a good thing (just look at Haskell infra, for example), and addBuildDepends LGTM as such an abstraction, but I don't like the fact that addBuildDepends itself is duplicated between files. There's a bunch of other duplicated stuff there too.
If I were you I'd make a separate lib.nix or whatever with common subexpressions.


fix: console override build issue

Description of changes

copy package.json  to current cloud backend
changes appoverrides() fn to throw error when build is failed
generates package.json in pull if not present

Issue #, if available

Description of how you validated changes
Checklist

[ ] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #9078 (193f190) into master (807a0be) will decrease coverage by 0.01%.
The diff coverage is 3.33%.

@@            Coverage Diff             @@
##           master    #9078      +/-   ##
==========================================
- Coverage   55.41%   55.40%   -0.02%
==========================================
  Files         885      885
  Lines       50109    50121      +12
  Branches    10806    10807       +1
==========================================
  Hits        27770    27770
- Misses      20291    20302      +11
- Partials     2048     2049       +1

Impacted Files
Coverage Δ

...rmation/auth-stack-builder/auth-stack-transform.ts
86.33% <0.00%> (ø)

...formation/cdk-stack-builder/ddb-stack-transform.ts
78.31% <0.00%> (ø)

...dformation/cdk-stack-builder/s3-stack-transform.ts
10.21% <0.00%> (ø)

.../extensions/amplify-helpers/update-amplify-meta.ts
14.56% <0.00%> (-0.61%)
:arrow_down:

...ion/src/root-stack-builder/root-stack-transform.ts
77.63% <0.00%> (-1.04%)
:arrow_down:

...c/overrides-manager/override-skeleton-generator.ts
18.64% <11.11%> (-1.73%)
:arrow_down:

Continue to review full report at Codecov.

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


Updating README of repository

@kishanrajput23  Please assign this issue to me.

Please assign this issue to me

@kishanrajput23  Can you assign this ko @Abhishekgupta204 , Currently I am abit busy.