Key Navigation: Shortcuts, Ensure Tab+Enter Navigation

Closes #4996

Ensures that keyboard navigation with tab and enter works on \ghost - not just for the big navigation items, but also on the post list.
Bonus global keyboard shortcuts! HTML allows for the accesskey attribute, which gives us the following:

Route
Blog (Frontpage)
Content
New Post
Settings

Accesskey
B
C
N
S

For reference, here are the shortcuts that each browser exposes using accesskey:

Browser
Windows
Linux
Mac

Internet Explorer
[Alt] + accesskey
N/A

Chrome
[Alt] + accesskey
[Alt] + accesskey
[Control] [Alt] + accesskey

Firefox
[Alt] [Shift] + accesskey
[Alt] [Shift] + accesskey
[Control] [Alt] + accesskey

Safari
[Alt] + accesskey
N/A
[Control] [Alt] + accesskey

Opera
Opera 15 or newer: [Alt] + accesskeyOpera 12.1 or older: [Shift] [Esc] + accesskey

Thanks as always @felixrieseberg. Can you explain what the accesskey attribute does? I've never seen it before.
This LGTM, but I'd like to put off merging it until after ember-cli gets in - mind if I ping you sometime soon (I hope!) to rebase against that?

Hey @novaugust, sure! accesskey is both an accessibility as well as just a keyboard features - it tells browsers to enable keyboard navigation for a certain element. In short, with this PR, on Mac & Chrome, Ctrl Alt N will open the 'New Post' route, while Ctrl Alt S will open the settings (and so on).
Comments added - I couldn't find any other place where we reopen LinkTo (simple full-text search on Ghost).

@felixrieseberg Will those access keys only fire when an element is not focused?

They are global for the current page.
I thought they'd be a nice addition (I really like keyboard navigation and it takes you a few tabs to hit the navigation items) but I can also remove them if you'd rather go without access keys - I did sneak them in with the keyboard navigation issue, after all ;)

From: Hannah Wolfe<EMAIL_ADDRESS>Sent: Monday, March 9, 2015 09:37
Subject: Re: [Ghost] Key Navigation: Shortcuts, Ensure Tab+Enter Navigation (#5004)
To: TryGhost/Ghost<EMAIL_ADDRESS>Cc: Felix Rieseberg<EMAIL_ADDRESS>@felixrieseberghttps://github.com/felixrieseberg Will those access keys only fire when an element is not focused?

Reply to this email directly or view it on GitHubhttps://github.com/TryGhost/Ghost/pull/5004#issuecomment-77816497.

@felixrieseberg This fixes the issue :+1: but I didn't get the accesskeys to work on my osx chrome. So I'm going to wait for someone else to come in and say "Hey, this works for me!" before I merge.
As a note, from the content screen, you can already hit "C" to go to a new post, but just on that screen :)

The access keys work for me on OS X Chrome using ctrl + alt + [key]. Navigating with tab + enter works for me too.
LGTM :+1:

I'll need to fire up my windows box and make sure that ctrl + alt + [key] doesn't fire whilst focused in the editor or another element, as those keyboard combos will clash with things like polish chars.

@ErisDS: I attached the table for accesskeys in the PR, but it's not Ctrl + Alt on Windows (for exactly that reason). It's just Alt (except for Firefox, which threw in a Alt + Shift for Windows).

Okay, I know why it wasn't working for me. I never actually checked out your branch - I just pulled master and then rebased it into ember-cli and thought that I had done my work.
So here's the weird thing with that, this bug wasn't present in the ember-cli branch, which doesn't have your changes. Maybe ember fixed a bug exactly along the lines of what your PR does?

... Where I'm going with this is, maybe we don't need this code as it's fixed in ember-cli. @ErisDS please advise kthx

@felixrieseberg Thanks for the work on this, but now that ember-cli is in I can no longer reproduce the original issue. Gonna close this as "magically fixed"


Add more feedback to Classroom subscription

It would be good to give a little more info to a student after they subscribe to a course to ensure they understand not only that it worked but what are the next steps.
I'm thinking they could receive an email after subscription (so they can go look for it later if they want) that says that the subscription to  was successful, and from now on all submissions made in .mumuki.io would be visible to the teachers of that course.
I think that might help avoid missunderstandings of what to expect of the classroom and where to exercise.

The registration view now redirects to the lab after success.


chore: update repo and pr permission

chore: update repo and pr permission

For future reference, why did this workflow need these additional permissions?


Inference detection threshold

Currently we pass detection_threshold to model_type.predict, it works but if I want to test multiple threshold values I have to run prediction all over again, which is very inefficient.
We need to figure out a way of applying the threshold after the predictions are done, maybe something like pred.apply_threshold(0.2) or something like that?

any progress on this

Not yet, we're currently looking on someone to implement this

Not enough bandwidth to implement.


private-cloud-cli-non-interactive

Running it non-interactive doesn't really make sense if the docs don't explain the right .yaml structure. Right now, it only provides an example that does not work, and I cant find a working example anywhere. So I should first run it interactive and apply the yaml to get an example. Doesn't make any sense.

Thank you for reporting the issue! I will verify it with the team and update the document accordingly.

@keving119 The development team have asked for more information about the issue that you encountered when trying to use the example yaml. Was it related to the allowOverrideSecretsWithSecretStoreCSIDriver field?

After discussing the issue with the development team, I have the following updates:

Generating your own yaml file as you did is indeed the recommended version. There are many potential variables that depend on individual configuration, so we cannot provide an example that would work for everyone.
Because of that, I have updated the document (https://docs.mendix.com/developerportal/deploy/private-cloud-cli-non-interactive/#3-apply-configuration) to make it clearer that the provided sample file is for reference only.

Thank you and let us know if you have any other feedback for our documentation.


⛏ Write a detect SSRF vulnerability in gRPC

💭 Introduction:
🎯 Requirements:
✅ Task summary:
🙋🏼♂ Questions:
If you have questions, need any help, or just want to hang out, make sure to join us on our Discord server.

I would like to do this

Not enough information


chore(docs): add model serving doc, fix the api doc link and mv dockerfile to build folder

What this PR does / why we need it:

chore(docs): add model serving doc and fix the api doc link
fix(build): mv dockerfile to build

Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes  kleveross/klever#5
Reference to #

Special notes for your reviewer:
/cc @gaocegege @simon-cj

Release note:

NONE

/lgtm


Twitch Leecher only downloads audio.

Hello.
Twitch leecher seems to only download audio even if i try to change amount of video it has to download.
I use 1.7.3 twitch leecher version.
WIN 10 64BIT
Thanks for help in advance.

https://github.com/Franiac/TwitchLeecher#support--issues

https://github.com/Franiac/TwitchLeecher#support--issues

Well, here's the video URL https://www.twitch.tv/videos/509674612
also the video lags a bit till it gets to 8th second.
If there's anything i should tell about, if thats not a problem of course could you tell me.
Thanks.

if cropping doesn't cut it you could try disabling conversion to mp4 in the preferences (which bypasses any kind of processing on the source file) and see if that works. if not, the video is already corrupted on Tiwtch.


Particle effect for linked board idea for consideration

Have a particle beam that quickly fades in the direction of the board. Maybe color code it for what world it's in, though that could be tricky with mod-added worlds, so maybe one color in the direction if it's in the same world and another color if it's in a different world (e.g. board one in overworld and board two in nether).

light beam to tell directions, astral sorcery has a bunch of custom beams might be helpful to check out, writing that down to remember

I just thought of something, do you want the beam to be vertical like the end crystal beam or horizontal astral sorcery style? also do we want something like the enchantment glint to indicate that the tables are linked?

I thought the enchantment glint for indication of linking was likely an easy way to do it. As for the beam, I wanted it between the two boards, or extending as if it were connecting them, but alpha-ing off very quickly (like a block or so)


Sort order not working

Expected Behavior
When I open my IDE it should show my previous requests in the order I had them in
Actual Behavior
They opened in a random order and I can't resort them. The drag and drop as well as the sort button are broken
Reproduction Steps
No response
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
2023.5.5
What operating system are you using?
Windows
Operating System Version
Windows 10/11
Installation method
Windows downloader
Last Known Working Insomnia version
I do not remember

This just started happening me as well, I believe it happened when the client automatically upgraded to 2023.5.5 because I did see the popup for that version in the bottom right.

I also have the same issue - Unable to Sort and Search/Filter
Version: Insomnia 2023.5.3
Build date: 8/16/2023
OS: Darwin arm64 22.5.0
Electron: 25.2.0
Node: 18.15.0
Node ABI: 116
V8: <IP_ADDRESS>-electron.0
Architecture: arm64

and also
Version: Insomnia 2023.5.5
Build date: 8/19/2023
OS: Darwin arm64 22.5.0
Electron: 25.2.0
Node: 18.15.0
Node ABI: 116
V8: <IP_ADDRESS>-electron.0
Architecture: arm64

I've also exported everything, removed application including the Application Support Insomnia folder however, issue still persists.

It breaks on 2023.5.3
Version: Insomnia 2023.5.3
Build date: 16/08/2023
OS: Windows_NT x64 10.0.22621
Electron: 25.2.0
Node: 18.15.0
Node ABI: 116
V8: <IP_ADDRESS>-electron.0
Architecture: x64

The sorting works fine on 2023.4.0
Version: Insomnia 2023.4.0
Build date: 7/5/2023
OS: Darwin x64 22.6.0
Electron: 23.3.9
Node: 18.12.1
V8: <IP_ADDRESS>-electron.0
Architecture: x64

Looks like it was the Electron update (potentially)
On Tue, 22 Aug 2023 at 1:25 pm Mohnish Devadiga @.***>
wrote:

It breaks on 2023.5.3
Version: Insomnia 2023.5.3
Build date: 16/08/2023
OS: Windows_NT x64 10.0.22621
Electron: 25.2.0
Node: 18.15.0
Node ABI: 116
V8: <IP_ADDRESS>-electron.0
Architecture: x64
The sorting works fine on 2023.4.0
Version: Insomnia 2023.4.0
Build date: 7/5/2023
OS: Darwin x64 22.6.0
Electron: 23.3.9
Node: 18.12.1
V8: <IP_ADDRESS>-electron.0
Architecture: x64
—
Reply to this email directly, view it on GitHub
https://github.com/Kong/insomnia/issues/6349#issuecomment-1687376922,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHAPZHKYEVCZFD3SBEURT3XWQUR3ANCNFSM6AAAAAA3YX553U
.
You are receiving this because you commented.Message ID:
@.***>

Same here

+1

@jackkav happy you closed this.
AFAIK the issue is still there in 2023.5.5
Version: Insomnia 2023.5.5
Build date: 8/18/2023
OS: Darwin x64 18.0.0
Electron: 25.2.0
Node: 18.15.0
Node ABI: 116
V8: <IP_ADDRESS>-electron.0
Architecture: x64

Fix goes out in 5.6

After upgrading to v2023.5.6 I have odd rendering changes (new theme or bug?). When trying to reorder the requests I now get this error:
Error: MetaSortKey position is required at kn (file:///Applications/Insomnia.app/Contents/Resources/app.asar/index-391c2d16.js:17:107605) at Module.Ct (file:///Applications/Insomnia.app/Contents/Resources/app.asar/actions-93c09014.js:5:9142) at async Xl (file:///Applications/Insomnia.app/Contents/Resources/app.asar/index-391c2d16.js:31:3691) at async je (file:///Applications/Insomnia.app/Contents/Resources/app.asar/index-391c2d16.js:30:18468)

Después de actualizar a v2023.5.6, tengo cambios extraños en la representación (¿nuevo tema o error?). Al intentar reordenar las solicitudes, ahora aparece este error:
Error: MetaSortKey position is required at kn (file:///Applications/Insomnia.app/Contents/Resources/app.asar/index-391c2d16.js:17:107605)
at Module.Ct (file:///Applications/Insomnia.app/Contents/Resources/app.asar/actions-93c09014.js:5:9142)
at async Xl (file:///Applications/Insomnia.app/Contents/Resources/app.asar/index-391c2d16.js:31:3691)
at async je (file:///Applications/Insomnia.app/Contents/Resources/app.asar/index-391c2d16.js:30:18468)

+1


Impl poll_readable and poll_writable.

pub struct ListenStream {
    listener: Async<TcpListener>,
}

impl Stream for ListenStream {
    type Item = Result<Async<TcpStream>, std::io::Error>;

    fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context) -> Poll<Option<Self::Item>> {
        loop {
            match self.listener.accept().now_or_never() {
                Some(Ok((stream, _))) => {
                    return Poll::Ready(Some(Ok(stream)));
                }
                Some(Err(err)) => {
                    return Poll::Ready(Some(Err(err)));
                }
                None => {
                    match self.listener.poll_readable(cx) {
                        Poll::Ready(Ok(())) => continue,
                        Poll::Pending => return Poll::Pending,
                        Poll::Ready(Err(err)) => return Poll::Ready(Some(Err(err))),
                    }
                }
            }
        }
    }
}

Closes #36

Thanks for the PR! I have only glossed over it now but will come back to it later. Just leaving a thought so I don't forget...
I think calls to poll_readable()/poll_writable() should return Poll::Ready if (and only if) the reactor has delivered an event since the last call to the same method. Do you agree?
Secondly, I'm not sure if poll_readable()/poll_writable() should take Pin<&mut Self> or &mut self as an argument. It seems the futures create always uses Pin<&mut Self> for everything, so I wonder if are any potential problems with &mut self. If we're not sure, perhaps Pin<&mut Self> is the safer bet. @taiki-e, do you perhaps have an opinion?

I think calls to poll_readable()/poll_writable() should return Poll::Ready if (and only if) the reactor has delivered an event since the last call to the same method. Do you agree?

Not sure if it makes a large difference, but essentially as long as the stream is readable it should return Poll::Ready I guess.

The reason I went with &mut is to avoid having to mess around with pin_mut!.

Not sure if that makes it any better, but you can also use Pin::new().

readable and writable return !Unpin futures, so by extension any caller needs to use pin_mut!.

Secondly, I'm not sure if poll_readable()/poll_writable() should take Pin<&mut Self> or &mut self as an argument. It seems the futures create always uses Pin<&mut Self> for everything, so I wonder if are any potential problems with &mut self. If we're not sure, perhaps Pin<&mut Self> is the safer bet.

Async always implements Unpin, so it shouldn't need self: Pin. (self: Pin is only needed in cases where type is ?Unpin because Self: Unpin is needed to call a &mut self method while pinned.)


Hello author, I would like to ask how the v0.5.0 version can create an object in the scene. I did not find any relevant code in that example program

Hello author, I would like to ask how the v0.5.0 version can create an object in the scene. I did not find any relevant code in that example program

Hi! The 0.5.0 pre-compiled binaries are somewhat out-of-date at this point. But we develop SPEAR actively on Windows, macOS, and Linux, so it should be straightforward to build for your platform. If you build the SpearSim executable from source in the main branch, then you'll be able to run all of our examples. Our getting_started example is very simple, and shows how to spawn a new object. Once you get that working, you can check out import_stanford_dataset and control_simple_agent, both of which spawn new objects.

hello author! Thank you for your reply very much . I encountered this problem while using the main branch to build the final step of the spear sim executable file, which is Python tools/run_uat. py -- unrereal. engine. dir path/to/UE.5.5- build - ok - stage - package - archive - pack. How can I solve this problem?Is this a compiler issue or some other library file issue? I haven't been able to solve it yet. Thank you for your answer.
------------------ 原始邮件 ------------------
发件人:                                                                                "spear-sim/spear"                                                                                @.>;
发送时间: 2024年11月20日(星期三) 中午1:24
@.>;
<EMAIL_ADDRESS>主题: Re: [spear-sim/spear] Hello author, I would like to ask how the v0.5.0 version can create an object in the scene. I did not find any relevant code in that example program (Issue #299)
Hi! The 0.5.0 pre-compiled binaries are somewhat out-of-date at this point. But we develop SPEAR actively on Windows, macOS, and Linux, so it should be straightforward to build for your platform. If you build the SpearSim executable from source in the main branch, then you'll be able to run all of our examples. Our getting_started example is very simple, and shows how to spawn a new object. Once you get that working, you can check out import_stanford_dataset and control_simple_agent, both of which spawn new objects.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hi. Please take a bit of time to learn about what it takes to write a high-quality bug report that adheres to the usual best practices on GitHub. Then post your problem in a separate GItHub issue, and make sure to adhere to the recommendations you learned. Your most recent post does not adhere to the most basic recommendations for bug reports. For example, you don't even mention the error message or what you did to get to that error message. How could anyone possibly help you based on the information you provided?


Track down "configuration error" messages

@kd0aij Pointers appreciated!
We're trying to find all remaining cases where the system refuses the arm without really telling the user why.

User report:

@LorenzMeier Is this in SITL or in real?

On a VTOL system by @geoffreybainathsah.

Hi Guys
to clearify this.
I have a 3DR pixhawk, GPS unit, 3DR power module and digital airspeed sensor
Futaba R7008 runnin on sbus (mode2)
I went through all the sensor steps and managed to get everything green.
After connecting the lipo battery and trying to arm i get the messae "config error"

@sanderux You think you could try to reproduce this?

I will try, have not seen it before though. @geoffreybainathsah could you export your params and upload here as zip?

thanks for lookin at this guys
uploading a ZIP is not supported but i managed to upload it to outlook one drive

Fixed this.


Make it work on Quest

Input is working but Avatar Parameters aren't, need to investigate.

Fixed in next release! The problem was that it was trying to send OSC out...to itself. Will wait on OSC out until we have a GUI to set the target IP and port from within the Client.


Office preferences .plist

Hello,
First I want to apologize if this isn't the right place to ask this question and if you wouldn't mind pointing me in the right direction if that is that case.
So to give you a little background I am a systems administrator at a medium-firm, and we are a Mac shop. I am trying to deploy custom preferences to all out users that use Office 365. Here you give one example of a preference we can use to "manually check" for updates. https://docs.microsoft.com/en-us/deployoffice/mac/deploy-preferences-for-office-for-mac
I was wondering if there were a "defaults write" command that would allow me to toggle this particular setting in Word and Excel. Something like this below:
defaults write ~/Library/Group\ Containers/UBF8T346G9.Office/com.microsoft.officeprefs.plist DefaultAutoSave -bool True

This is the setting I would like to change

@csiket18 thanks for your message. Unfortunately, there is no 'defaults write' based preference for this one, as the data is stored in a SQLite database rather than a regular plist. Are you looking for a way to disable AutoSave? Just wondering what the use case is.

Well, we actually do not use OneDrive or any Cloud (3rd party) system. We are maintaining an on-site File system and I would like to default certain settings for our users. Seeing as AutoSave will not work for anything besides OneDrive. I would like to avoid our users saving anything to their OneDrive

If I may ask how would me as an administrator distribute company-wide settings?

@csiket18 ahh, I see. If you're deploying Office 2019 Volume License, you may want to look into the 'SignInOptions' key which will prevent users logging on to OneDrive/OneDrive for Business. More info at https://macadmins.software (Preferences tab).
For mass distribution of preferences, MDM is your best approach. In the enterprise space, tools such as Jamf Pro are popular.


Depend on ractor fork

There's a branch that solves the issue described in https://github.com/slawlor/ractor/issues/225 here we depend on a fork own by us to solve this
As a summary, this ensures that if the subscribers are overwhelmed, we see and explicit error and we can either restart or any other preventive measure, but first we need to know that the problem is
happening.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 44.532%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
866

Relevant Lines:
1229

💛  - Coveralls


Requires "Web site" closed which allows for any maintenance etc...

This should be done manually and at the proxy or web server, not in the app itself


[Suggestion] Support blocked_format on primitives(gather, border).

Test cases cover all the blocked layout and test cases are 100 passed.
No accuracy regression by this new feature for all test cases
No performance regression in all models.

blocked_format으로 풀리퀘 검색해서 이전에 진행된 비슷한 작업들 살펴보기?

[GatherPR] https://github.com/openvinotoolkit/openvino/pull/11486


Failed to compile opencv-python in python:3.10-+alpine image today which usually success previously

Expected behaviour
Successfully install opencv-python as usual in python:3.10-alpine image as usual
Actual behaviour
Compilation failed
Steps to reproduce
pip install opencv-python in python:3.10 alpine image

- opencv-python = opencv-python==<IP_ADDRESS>

62.48       ninja: job failed: /usr/bin/c++  -I/tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ippicv/ippicv_lnx/icv/include -I/tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ippicv/ippicv_lnx/iw/include -I/tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/include -isystem /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG  -DNDEBUG -std=c++11 -fPIC -MD -MT CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/topological_sort.cpp.o -MF CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/topological_sort.cpp.o.d -o CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/topological_sort.cpp.o -c /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/source/topological_sort.cpp
62.48       In file included from /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/passes/topological_sort.hpp:17,
62.48                        from /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/source/topological_sort.cpp:7:
62.48       /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp:101:10: error: 'uintptr_t' in namespace 'std' does not name a type
62.48         101 |     std::uintptr_t m_srcGraph;
62.48             |          ^~~~~~~~~
62.48       /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp:22:1: note: 'std::uintptr_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
62.48          21 | #include "typed_metadata.hpp"
62.48         +++ |+#include <cstdint>
62.48          22 |
62.48       /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp: In member function 'const ade::Graph& ade::ConstTypedGraph<Types>::getCGraph() const':
62.48       /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp:106:53: error: 'm_srcGraph' was not declared in this scope
62.48         106 |         return *reinterpret_cast<const ade::Graph*>(m_srcGraph);
62.48             |                                                     ^~~~~~~~~~
62.48       /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp: In constructor 'ade::ConstTypedGraph<Types>::ConstTypedGraph(const ade::Graph&)':
62.48       /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp:122:9: error: class 'ade::ConstTypedGraph<Types>' does not have any field named 'm_srcGraph'
62.48         122 |         m_srcGraph(reinterpret_cast<std::uintptr_t>(&graph))
62.48             |         ^~~~~~~~~~
62.48       /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp:122:42: error: 'uintptr_t' in namespace 'std' does not name a type
62.48         122 |         m_srcGraph(reinterpret_cast<std::uintptr_t>(&graph))
62.48             |                                          ^~~~~~~~~
62.48       /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp:122:37: note: 'std::uintptr_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
62.48         122 |         m_srcGraph(reinterpret_cast<std::uintptr_t>(&graph))
62.48             |                                     ^~~
62.48       /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp: In constructor 'ade::ConstTypedGraph<Types>::ConstTypedGraph(const ade::ConstTypedGraph<OtherTypes ...>&)':
62.48       /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp:130:9: error: class 'ade::ConstTypedGraph<Types>' does not have any field named 'm_srcGraph'
62.48         130 |         m_srcGraph(other.m_srcGraph)
62.48             |         ^~~~~~~~~~
62.48       /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp: In instantiation of 'ade::Graph& ade::TypedGraph<Types>::getGraph() const [with Types = {ade::passes::TopologicalSortData}]':
62.48       /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp:238:16:   required from 'ade::Graph::NodesListRange ade::TypedGraph<Types>::nodes() [with Types = {ade::passes::TopologicalSortData}; ade::Graph::NodesListRange = ade::util::Range::MapRange<ade::util::Range::IterRange<__gnu_cxx::__normal_iterator<std::shared_ptr<ade::Node>*, std::vector<std::shared_ptr<ade::Node> > > >, ade::Graph::HandleMapper>]'
62.48       /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/source/topological_sort.cpp:39:40:   required from here
62.48       /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp:167:53: error: 'const class ade::TypedGraph<ade::passes::TopologicalSortData>' has no member named 'm_srcGraph'
62.48         167 |         return *reinterpret_cast<ade::Graph*>(this->m_srcGraph);
62.48             |                                               ~~~~~~^~~~~~~~~~
62.48       Note: Class cv::Feature2D has more than 1 base class (not supported by Python C extensions)
62.48             Bases:  cv::Algorithm, cv::class, cv::Feature2D, cv::Algorithm
62.48             Only the first base class will be used
62.48       Note: Class cv::detail::GraphCutSeamFinder has more than 1 base class (not supported by Python C extensions)
62.48             Bases:  cv::detail::GraphCutSeamFinderBase, cv::detail::SeamFinder
62.48             Only the first base class will be used
62.48       ninja: subcommand failed
62.48       Traceback (most recent call last):
62.48         File "/tmp/pip-build-env-z3sx64lf/overlay/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 674, in setup
62.48           cmkr.make(make_args, install_target=cmake_install_target, env=env)
62.48         File "/tmp/pip-build-env-z3sx64lf/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 697, in make
62.48           self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
62.48         File "/tmp/pip-build-env-z3sx64lf/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 742, in make_impl
62.48           raise SKBuildError(msg)
62.48
62.48       An error occurred while building with CMake.
62.48         Command:
62.48           /tmp/pip-build-env-z3sx64lf/overlay/lib/python3.10/site-packages/cmake/data/bin/cmake --build . --target install --config Release --
62.48         Install target:
62.48           install
62.48         Source directory:
62.48           /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a
62.48         Working directory:
62.48           /tmp/pip-install-ikpi2bfw/opencv-python_cd41126da3fb445da2c1bce7c2f69c2a/_skbuild/linux-x86_64-3.10/cmake-build
62.48       Please check the install target is valid and see CMake's output for more information.
62.48
62.48       [end of output]
62.48
62.48   note: This error originates from a subprocess, and is likely not a problem with pip.
62.48   ERROR: Failed building wheel for opencv-python
62.48 Successfully built unstructured-inference
62.48 Failed to build opencv-python
62.48 ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects

Is it something newly added in the ade source that cause something broken?
tmp/pip-install-tltrnbg7/opencv-python_218517a01db34d7aa0d9c09d5f167498/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp:22:1: note: 'std::uintptr_t' is defined in header ''; did you forget to '#include '?
412.4          21 | #include "typed_metadata.hpp"
412.4         +++ |+#include
412.4          22 |

Please provide more details on GCC version. Could you try newer OpenCV releases?

Hi @asmorkalov,
I'm working with docker images where i used to install unstructured[pdf] where underlying will compile opencv-python wheel. I think with pip backtracking runtime feature (INFO: pip is looking at multiple versions of setuptools to determine which version is compatible with other requirements. This could take a while.) Hence, it will fallback to opencv-python==<IP_ADDRESS> during the wheel compilation of image building.
Initially my Dockerfile will use python:3.10-alpine as base image. Since that period of time it start to fail with error. Hence I tried to check in docker hub and noticed that there's an update of alpine version from 3.18 to 3.19. So I tried to change my base image to use python:3.10-alpine3.18 and now it worked.
Below list down the gcc version that I captured for those docker images I mentioned above:

python3.10:alpine -> gcc-13.2.1_git20231014-r0 x86_64 {gcc} (GPL-2.0-or-later AND LGPL-2.1-or-later)
python3.10:alpine3.18 -> gcc-12.2.1_git20220924-r10 x86_64 {gcc} (GPL-2.0-or-later AND LGPL-2.1-or-later)

Some new changes required with recent gcc version upgrade i guess


[Task]: Add support for Firefly web

Task description
Since the beginning of the Firefly extension's development, the desktop wallet actor system has seen a number of changes, breaking communication with the extension. This task aims to re-integrate the extension, including some suggestions from auditors regarding overall security, and re-organize repositories / dependencies.
Requirements

[ ] #2187
[ ] #2188
[ ] Ensure correct build environments for production and dev instances (between Firefly desktop and web)
[ ] Identify all potential security vulnerabilities (for @Evanfeenstra)

chacha20-poly1305-aead pulled from user GH repository, used in extension/web/wasm

[ ] Adjust or make additional CI workflows as needed

Acceptance criteria
Must be able to be built and demo-ed.
Creation checklist

[X] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

Closing this issue as a result of re-organizing tasks for the "Initial Firefly web release" milestone.


not a valid add-on repository

When I try to add this repository I get an error stating "https://github.com/sillyfrog/Automate-Pulse-v2 is not a valid add-on repository". Do you know what may be causing this?
Home Assistant 2022.8.7
Supervisor 2022.08.5
Operating System 8.5
Frontend 20220802.0 - latest

The README may need updating as it's now a default HACS addon. If you go to HACS and search for the "Automate Pulse Hub v2" integration, it should come up in the search results.
Please let me know if this works as I'll update the README to match (my installation is far from clean! :) )

I was able to find it and clicked on the "Download" button. After restarting HA and refreshing the interrogation page I was able to set it up. Thank you!


[iOS] When two listview are in a horizontalarrangement layout the second one does not appear.

Ditto title
listview_.aia.zip

Hello !
I think there might be some error in the file because it is not opening in TextEdit.


Add Slack

Added Slack to the companies list. Slack has its office in Pune, India.
Congratulations on making a pull request!
Please make sure you check all the items.

[x] The numbering of the company that you added starts with 1.
[x] You have increased the Total Companies Added count.

It is causing merge conflicts


fix: pass fname to new note pickker item

Found an issue where we weren't actually passing the fname to the current vault. Made a fix for it here -> https://github.com/dendronhq/dendron/pull/1184
Feel free to merge into your branch after review

Nice catch. thanks for the fix 🙏🏼


Search of taskbar not working!!!

After debloating the taskbar search bar started not working. I click on it and it doesn't do any action.
P.S. Thanks for the fantastic tool

Hello. Could you provide a remote access to your PC via TeamViewer?
I don't touch wsearch service.

Thnaks I've done. I restore all reg and now all works well.
Sorry for the inconvenience :)

NP. Cus I knew that wasn't the script failt)


[4.X][FEATURE REQUEST] Set custom header and footer for print

question
is there any way to set custom header and footer for print??

@tabacitu I want to know if it's possible to remove the Footer Credits, Handcrafted by Cristan Tabacitu. I'm using a Pro License and I'm deploying a live admin for our Organization, I want to know if the footer credit is optional and how I can override it or if any license clause forbids me.

Of course! Take a look at config/backpack/base.php.

Great, thanks for the Pointer Cristan.


how to use Show from Haskell.Prelude

What is the intended way to derive a Show instance using Haskell.Prelude?
E.g.,
data Exp (a : Set) : Set where
  Var : a → Exp a
  Val : Nat → Exp a
  Add : Exp a → Exp a → Exp a

{-# COMPILE AGDA2HS Exp deriving Show #-}

I can postulate an instance
instance
  postulate
    expShow : ∀{a} → ⦃ Show a ⦄ → Show (Exp a)

Is this the intended approach or can I define my own instance? I see there is lots of useful machinery in Haskell.Prim.Show but makeShow is hidden for example.
Also, if I make use of the above:
postulate
  IO : Set → Set
  putStrLn : String → IO ⊤

main : IO ⊤
main = putStrLn $ show (Add (Val 2) (Val 2))
{-# COMPILE AGDA2HS main #-}

and then compile, then the following code is generated for the main function:
main :: IO ()
main = putStrLn $ showsPrec 0 (Add (Val 2) (Val 2)) ""

where I was hopingshow would appear instead of showsPrec.

Depending on whether you need it to evaluate at compile time you can postulate or define your own. Postulating is safer of course, since there's no danger of defining a show instance that doesn't match the derived instance, but on the other hand you want be able to prove any properties.
makeShow and makeShowsPrec could well be exported.
For the last problem, try adding a --no-auto-inline to Haskell.Prim.Show.

Depending on whether you need it to evaluate at compile time you can postulate or define your own. Postulating is safer of course, since there's no danger of defining a show instance that doesn't match the derived instance, but on the other hand you want be able to prove any properties.
makeShow and makeShowsPrec could well be exported.
For the last problem, try adding a --no-auto-inline to Haskell.Prim.Show.

thanks for the help, I think I would go with postulating. I think it would nice to avoid inlining on the agda side as much as possible. @jespercockx tells me that auto-inlining will be disabled by default in the next release of agda (2.6.3).


Add TFM picker in Razor files for multi-targeting apps

In a C# file today you can select the active target framework via a drop-down:

We need a similar experience in Razor files.

When we do this work, we expect that the project name would be visible as part of the TFM selector.

Completed with #8911


document usage with nginx

code-server version: 1.31.1-100
OS Version: Debian 9

I have set up code-server on my server, and now I would like to access it externally. So I have set up a reverse proxy using Nginx. However when I navigate to the url I get an error in Chrome telling me that the page keeps redirecting (ERR_TOO_MANY_REDIRECTS).

Heres mine, it works...
server {
listen 80;
listen [::]:80;
server_name something.something.com;
location ~/ {
proxy_pass http://localhost:8443;
# Set WebSocket Proxy
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
}
}

Should we add a guide for this?

@kylecarbs might be helpful

I'm getting the same error trying to expose code-server with SSL using Traefik reverse proxy.

Above was merged. Requesting close @nhooyr

For posterity, the appropriate nginx docs are at http://nginx.org/en/docs/http/websocket.html

May I suggest adding a link to the document added in #172 in the main README?

@code-asher can you make this manual again? After update code-server i already get ERR_TOO_MANY_REDIRECTS

After hours trying, finally this config works for me. code-server v 3.1.0 at ubuntu 16
server {
    listen 80;

    server_name <my-server-name>;

    location / {
        proxy_pass http://localhost:8080;

        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_set_header X-NginX-Proxy true;

        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_redirect off;
    }
}


Can't use EngineSampler in multiprocessing

I was trying to call run from a function which I am using multiprocessing.Pool.map to run a couple in parallel. Multiprocessing requires the function you're mapping over to be pickle-able to send it to the spawned processes. Lambda functions aren't pickleable, and there's something in cirq.google gumming up the works:
~/cirq/cirq/cirq/experiments/fidelity_estimation.py in sample_2q_xeb_circuits(sampler, circuits, cycle_depths, repetitions)
    444     with tqdm.tqdm(total=n_tasks) as progress:
    445         with multiprocessing.Pool(2) as pool:
--> 446             records = pool.map(executor, tasks)
    447         progress.update(chunksize)
    448

~/cirq/env/lib/python3.7/multiprocessing/pool.py in map(self, func, iterable, chunksize)
    266         in a list that is returned.
    267         '''
--> 268         return self._map_async(func, iterable, mapstar, chunksize).get()
    269
    270     def starmap(self, func, iterable, chunksize=None):

~/cirq/env/lib/python3.7/multiprocessing/pool.py in get(self, timeout)
    655             return self._value
    656         else:
--> 657             raise self._value
    658
    659     def _set(self, i, obj):

~/cirq/env/lib/python3.7/multiprocessing/pool.py in _handle_tasks(taskqueue, put, outqueue, pool, cache)
    429                         break
    430                     try:
--> 431                         put(task)
    432                     except Exception as e:
    433                         job, idx = task[:2]

~/cirq/env/lib/python3.7/multiprocessing/connection.py in send(self, obj)
    204         self._check_closed()
    205         self._check_writable()
--> 206         self._send_bytes(_ForkingPickler.dumps(obj))
    207
    208     def recv_bytes(self, maxlength=None):

~/cirq/env/lib/python3.7/multiprocessing/reduction.py in dumps(cls, obj, protocol)
     49     def dumps(cls, obj, protocol=None):
     50         buf = io.BytesIO()
---> 51         cls(buf, protocol).dump(obj)
     52         return buf.getbuffer()
     53

PicklingError: Can't pickle <function <lambda> at 0x7fb82ee9e5f0>: attribute lookup <lambda> on cirq.google.common_serializers failed

Yeah, the serialization code uses lambdas all over the place for extracting and validating gate parameters. We can convert those to be instances of proper classes instead to support pickling with multiprocess. I think generally there's a lot of possibilities for cleaning up this code.

Yeah, the serialization code uses lambdas all over the place for extracting and validating gate parameters. We can convert those to be instances of proper classes instead to support pickling with multiprocess. I think generally there's a lot of possibilities for cleaning up this code.

For people reading this, I switched to ThreadPoolExecutor which works, but I think people might expect our library to work under multiprocessing, especially given Python's threading drawbacks

For people reading this, I switched to ThreadPoolExecutor which works, but I think people might expect our library to work under multiprocessing, especially given Python's threading drawbacks

Latest on this issue:
We do have async methods on Samplers now. Does this make this obsolete ?
Do any of the other cirq-google workflow tools make this obsolete ?
Should we still pursue this ?
Questions for @mpharrigan

The async methods on EngineSampler currently use the default versions, which fall back to the sync versions and so don't actually do anything asynchronous. Actual support for async calls to the quantum engine API is in the works here: https://github.com/quantumlib/Cirq/pull/5219.
Separately, I do think we should refactor the lambdas in the circuit serializer code.

We got rid of the lambdas in serializers and implemented async operations as well as streaming.
I think this is obsolete, as there is a good work-around and most of the original issue is also fixed (though I didn't test multiprocessing). I am not sure we want to officially support multiprocess.

common_serializers.py were removed in #5764.  Closing as obsolete.


[geopolitical] language names should be region agnostic.

Windows Terminal version
No response
Windows build number
No response
Other Software
No response
Steps to reproduce

This is indeed a dup of https://github.com/microsoft/terminal/issues/8984 - which has been open but hasn't been resolved in more than a year. Opening a new issue just to bring the awareness back.
Expected Behavior
中文（简体）
中文（繁体）
Actual Behavior
中文（中华人民共和国）
中文（台湾）

Thanks for raising this again. Unfortunately, the Windows language team doesn't agree that this needs to be fixed.
/dup #8984

Thanks for raising this again. Unfortunately, the Windows Store team doesn't agree that this needs to be fixed.
/dup #8984

Not sure about the guideline behind Windows Store team when making the Won't Fix decision, but per https://docs.microsoft.com/en-us/globalization/localization/overview - Avoiding sensitive geopolitical issues is one important consideration in making sure a product is well received in the international market.


[ACM-9321] Stop firing IngressWithoutClassName alert

Per https://issues.redhat.com/browse/OCPBUGS-18537, define .spec.ingressClassName so IngressWithoutClassName alert does not fire.

/test e2e-kind

/retest


Swift - currentIndex is nil

I'm trying to use this library with a Swift project.
After pagerTabStripViewControllerInit is called, self.currentIndex is still returning nil, when it should be 0. This is causing the application to crash.
Any ideas why this may be?
Thanks

After playing around with the demo project, I've noticed that the same issue occurs in that project, however the Objective-C compiler handles nils differently, so it doesn't cause a crash.
Either way, the value of currentIndex is not being set to 0 in initialization, which is the root of the problem. I'm looking into why this is.

I'm completely wrong here. I had another issue, and I thought that this was causing it. currentIndex prints nil when it's zero in the debugger because it's not an object.
I've solved the issue.


[ZEPPELIN-4280] [Followup] Add comments

What is this PR for?
This is followup issue for ZEPPELIN-4280, to add some comments on the code.
What type of PR is it?
Documentation
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-4280
Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

LGTM!
Will merge this to both master and branch-0.8.

Thanks @prabhjyotsingh. Merge to master and branch-0.8


Media message bubbles scaling.

So I came across a StackOverflow question trying to figure out how to get the photo messages to show the whole photo and after investigating it the solution that I came up with seemed to me like what should be default. I will provide screen shots to demonstrate the differences.
Before:

After:

Let me know what you think the only other implementation I see is adjusting the default bubble image size to be taller/based on the images height.

Thanks @MacMeDan ! :smile:
This definitely needs improvement, but I don't think this is quite where we want to go.
I think a better UI would be an image that fills the entire message bubble (like the first screenshot), but have the entire bubble conform to the correct aspect ratio — mimicking iMessage behavior.
#1429 is tracking this for 8.0.
Feel free to give that a shot on the release_8.0 branch.

I have a pretty simple solution for this issue that I swizzle into JSQPhotoMediaItem. I return a media size that is adjusted for the image's aspect ratio. You will get a landscape or portrait (or square) bubble as dictated by the image.
const CGFloat kThumbnailSize = 144.0f;

@implementation JSQPhotoMediaItem (mediaSize) // swizzle a new way to calc thumbnail size
+ (void)load {
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        [UtilitiesClass swizzle:[self class] originalSelector:@selector(mediaViewDisplaySize) swizzledSelector:@selector(my_mediaViewDisplaySize)];
    });
}
- (CGSize)my_mediaViewDisplaySize {
    CGSize mediaSize = [self my_mediaViewDisplaySize]; // call the original implementation first
    if (self.image) {
        float aspect = self.image.size.width / self.image.size.height;
        if (self.image.size.width > self.image.size.height) {
            mediaSize = CGSizeMake(kThumbnailSize, kThumbnailSize / aspect);
        } else {
            mediaSize = CGSizeMake(kThumbnailSize * aspect, kThumbnailSize);
        }
    }
    return mediaSize;
}


Add Google Cloud Spanner Adapter to Prometheus integration doc.

Adds a remote read/write storage adapter for Google Cloud Spanner.

Thanks!
I'd suggest not depending on common/model, I'm hoping to remove most of that at some point.

Thank you Brian, I will look into removing common/model.


Images are not saved to model instance on refresh

What I did:

created a CRUD module with translations
added use HasMedias, $mediaParams to .php
uncommented the $mediasParams array in .php
added use HandleMedias to Repository.php
added image form field to myModule\form.blade.php form
added data and an image to an instance of my model through the admin interface

Problem:
Upon saving, all the data gets correctly saved to the model instance, except for the images. After refresh all the images of the model instance are gone.
Anyone knows what I'm missing?

Hi @amirakbulut!
Can you make sure that the name key of your @formField('medias') is present in your model's $mediasParams array?
It doesn't seem like you would be missing anything else from what you describe.

Hi @amirakbulut!
Can you make sure that the name key of your @formField('medias') is present in your model's $mediasParams array?
It doesn't seem like you would be missing anything else from what you describe.

Thank you, it's working now. Will close the issue. :)


supervisord not running

at least not on prod right now
does it even get started? VM process has a reboot, maybe it doesn't ever start without that?

why didn't we start it? Might want to wait for asterisk to be running.
asterisk is started by post_sync_to_stage, run by sync_playbook
maybe post_sync_to_stage should start supervisord
maybe pre_sync_to_stage should stop supervisord, since we run that during stage promotion, but maybe that doesn't matter

for better testing, vm deploy should run post_sync_to_stage, and the down/up step should be removed


Metrics aggregation across multiple projects

Similar to https://github.com/GoogleCloudPlatform/prometheus-engine/issues/154,
Having the issue where we want one of our projects to be the master project and gather metrics from all other projects.
We have managed collection running in all projects and would like all metrics to be available in this master project. I understand that at this point, all I need to do is add all the projects to the metrics scope of the master project.
The documentation tells us how to do it via the UI and API, and I have verified that they both work. However, it would be preferable if we could do this via configuration - is this supported and are there any docs on it?

We do not have a way to configure metrics scopes via YAML. It's not a Prometheus-native concept (it's a Cloud Monitoring concept).
You can configure scopes and monitored projects via Terraform, however: https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/monitoring_monitored_project

I see, thanks for the quick revert, that was what I found too. It seems like Terraform or using the API would be the best way forward then. Thanks for confirming!


Out-door path failure

Description:
I am using ZED-2 Camera with its internal imu , and trying to record outdoor but the path is not correct
Command:
#TRACKER PARAMETERS
klt_win_size: 24
klt_max_iter: 30
klt_max_level: 4
klt_eps: 0.1
maxFeatureAge: 15
maxFeaturesPerFrame: 800  #it was 800
quality_level: 0.001
min_distance: 20
block_size: 3
use_harris_detector: 0
k: 0.04
equalizeImage: 0
nominalBaseline: 0.179622
toleranceTemplateMatching: 0.15
templ_cols: 101 #must be odd
templ_rows: 11
stripe_extra_rows: 0
minPointDist: 0.5
maxPointDist: 10
bidirectionalMatching: 0
subpixelRefinementStereo: 0
featureSelectionCriterion: 0  #(QUALITY, MIN_EIG, LOGDET, RANDOM)
featureSelectionHorizon: 3
featureSelectionNrCornersToSelect: 600
featureSelectionImuRate: 0.0025    #it was 0.005
featureSelectionDefaultDepth: 3
featureSelectionCosineNeighborhood: 0.984807753012208 # Rad
featureSelectionUseLazyEvaluation: 1
useSuccessProbabilities: 1
useRANSAC: 1
minNrMonoInliers: 10
minNrStereoInliers: 5
ransac_threshold_mono: 1e-06
ransac_threshold_stereo: 1
ransac_use_1point_stereo: 1
ransac_use_2point_mono: 1
ransac_max_iterations: 100
ransac_probability: 0.995
ransac_randomize: 0
intra_keyframe_time: 0.001 #it was 0.2
minNumberFeatures: 0
useStereoTracking: 1
display_time: 100
disparityThreshold: 0.2   #it was 0.5
--------------------------------------------------------------------------------------------------------

Console output:
I0316 17:37:10.589303  1896 VioBackEnd.cpp:1615]  =============== START:CATCHING EXCEPTION ===============
I0316 17:37:10.589303  1896 VioBackEnd.cpp:1643] Nr of factors in graph (graph before optimization): 4036, with factors:
I0316 17:37:10.589303  1896 VioBackEnd.cpp:1645] [
        Slot # 4035: Linear Container Factor:   Factor  b10 v10 x10 x11

I0316 17:37:10.590301  1896 VioBackEnd.cpp:1652]  ]
I0316 17:37:10.590301  1896 VioBackEnd.cpp:1656] Nr of new factors to add: 196 with factors:
I0316 17:37:10.590301  1896 VioBackEnd.cpp:1658] [
 (slot # wrt to new_factors_tmp graph)

I0316 17:37:10.590301  1896 VioBackEnd.cpp:1665]  ]
I0316 17:37:10.590301  1896 VioBackEnd.cpp:1669] Nr deleted slots: 22, with slots:
I0316 17:37:10.590301  1896 VioBackEnd.cpp:1671] [

I0316 17:37:10.590301  1896 VioBackEnd.cpp:1698]  ]
I0316 17:37:10.590301  1896 VioBackEnd.cpp:1702] Nr of values in state_ : 69, with keys:
[
        b10 b11 b12 b13 b14 b15 b16 b17 b18 b19 b20 b21 b22 b23 b24 b25 b26 b27 b28 b29 b30 b31 b32 v10 v11 v12 v13 v14 v15 v16 v17 v18 v19 v20 v21 v22 v23 v24 v25 v26 v27 v28 v29 v30 v31 v32 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 x31 x32
I0316 17:37:10.590301  1896 VioBackEnd.cpp:1708]  ]
I0316 17:37:10.590301  1896 VioBackEnd.cpp:1711] Nr values in new_values_ : 3, with keys:
[
         b33  v33  x33
I0316 17:37:10.590301  1896 VioBackEnd.cpp:1719]  ]
I0316 17:37:10.590301  1896 VioBackEnd.cpp:1730]  =============== END: CATCHING EXCEPTION ===============

Additional files:
Please attach all the files needed to reproduce the error.
Please give also the following information:

SparkVio branch, tag or commit used
GTSAM version used:
OpenGV version used:
OpenCV version used: type opencv_version
Operating system and version (e.g. Ubuntu 16.04 or Windows 10):  Windows 10
Did you change the source code? (yes / no): no

Hi @fouad1995, thanks for reporting.
We haven't really tested ZED 2 camera, did you update the ImuParams.yaml, Left/RightCameraParams.yaml?
I would suggest using Kalibr to get these right.

Hi , thanks for your reply.
i already update ImuParams.yaml , Left/RightCameraParms.yaml and also used Kalibr but there is something wrong and i didn't understand Console output to debug
ImuParams.yaml
%YAML:1.0
Type of IMU preintegration:
0: CombinedImuFactor
1: ImuFactor
imu_preintegration_type: 1
T_BS:
cols: 4
rows: 4
data: [1.0, 0.0, 0.0, 0.0,
0.0, 1.0, 0.0, 0.0,
0.0, 0.0, 1.0, 0.0,
0.0, 0.0, 0.0, 1.0]
rate_hz: 400
inertial sensor noise model parameters (static)
gyroscope_noise_density: 8.6e-05     # [ rad / s / sqrt(Hz) ]   ( gyro "white noise" )
gyroscope_random_walk: 2.2e-06       # [ rad / s^2 / sqrt(Hz) ] ( gyro bias diffusion )
accelerometer_noise_density: 0.0014   # [ m / s^2 / sqrt(Hz) ]   ( accel "white noise" )
accelerometer_random_walk: 8.0e-05    # [ m / s^3 / sqrt(Hz) ].  ( accel bias diffusion )
Extra parameters
imu_integration_sigma: 1.0e-8
imu_time_shift: -0.0004913018933950657
n_gravity: [0.0, 0.0, -9.81]
LeftCameraParams.yaml
camera_id: left_cam
Sensor extrinsics wrt. the body-frame.
T_BS:
cols: 4
rows: 4
data: [0.9998933873072151, 0.0010550571826621227, 0.014563683381797836, -0.18194255916575514,
-0.0010853817294038297, 0.9999972592852897, 0.002074456172353754, -0.0067353521261741415,
-0.014561454797011793, -0.00209004216485058, 0.9998917920244891, 0.001699595719823257,
0.0, 0.0, 0.0, 1.0]
Camera specific definitions.
rate_hz: 15
resolution: [1280, 720]
camera_model: pinhole
intrinsics: [530.4083419772949,<PHONE_NUMBER>857535,<PHONE_NUMBER>019064,<PHONE_NUMBER>694387] #fu, fv, cu, cv
distortion_model: equidistant
distortion_coefficients: [0.21939477849952854, 0.4355303682977106, -0.2340650394424158, 0.09711016463789046]
RightCameraParams.yaml
camera_id: right_cam
Sensor extrinsics wrt. the body-frame.
T_BS:
cols: 4
rows: 4
data: [0.9998868149065552, 0.0002386139324634518, 0.01504328552600487, -0.0023094675842962797,
-0.00026629263481123055, 0.9999982754921434, 0.0018379610913340232,  -0.006873311343661757,
-0.015042821020617063, -0.0018417589776750887, 0.9998851541350192, 0.001154459918399746,
0.0, 0.0, 0.0, 1.0]
Camera specific definitions.
rate_hz: 15
resolution: [1280, 720]
camera_model: pinhole
intrinsics: [529.7404242221473,<PHONE_NUMBER>317819,<PHONE_NUMBER>801421,<PHONE_NUMBER>191226] #fu, fv, cu, cv
distortion_model: equidistant
distortion_coefficients: [0.243326180870939,  0.28193873057203617, 0.1016150397927026, -0.1380494424459571]

Is there any tips and tricks for tuning parameters for outdoor ?

For future visitors or if still relevant, for outdoor scenes we find that vision parameters need to be adjusted slightly to support farther keypoints. Increase min_distance in FrontendParams.yaml, increase maxFeaturesPerFrame while maintaining acceptable latency, use non-max suppression (also in FrontendParams.yaml), and ensure the BackendParams.yaml parameter related to outlier rejection (eg outlierRejection, smartNoiseSigma, etc) are properly set for your dataset.


Android Could not find /asset/env on the classpath

I found a bug which is the directory method that crops one char of the path.

When i set the directory is /assetss , it can work well .

Try this, it should work
Dotenv.configure().directory("./assets").filename("env").load();

instead of "/assets" put "./assets"


Add Distribution Quantity and Package Size to items.

Summary
When a partner requests a certain item from a diaper bank we need the diaper bank to be able to specify the quantify of that item they give per child per month. This is the distribution_quantity.  This will be used in the family requests that are currently being implemented on the partner side.
When creating distributions it would help the diaper banks if they could specify a package_size of the various items they carry. Most diaper banks repackage their diapers into bundles of 25/50/etc. We will use this information, if provided, on the distribution sheets/pdfs that we create to make the jobs of their volunteers easier. It is difficult for a volunteer to do math in their head when they have a request with large numbers. So, for example, if there was a request for 1250 size 1 diapers, and that diaper bank had a package size of 25 we would list on the distribution that it is 50 packages. (1250 / 50 = 50) This is much easier to simply provide that information for a volunteer than them trying to do that math in their head.
Criteria for Completion

[ ] Add a migration to add distribution_quantity and package_size to items.
[ ] Update the item edit page and controller to allow these fields.
[ ] Change the logic in the default_quantity method item.rb model to query if there is a distribution quantity for that item and use if available, otherwise default to 50.
[ ] Update the distribution show page as well as the pdf to display the number of packages -- if available.
[ ] Spec coverage for this.

I can take this!

Awesome!