Use already created EdgeInsets padding property

In line 99, EdgeInsets padding = data.padding; stores the value of padding but is not used in the line 101, instead data.padding is used.

This PR changes data.padding.bottom to padding.bottom in line 101.
It doesn't solve any issue, just using the values already created to make code cleaner.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Sharp eyes!


Remove 'GoogleDrivePath' dead code

Is your feature request related to a problem? Please describe.
We still have some old references to GoogleDrivePaths hanging around in the codebase. We should remove all of these, as they're not needed anymore

@ngreenwald Should I also remove Google File Stream in the README.md?

Yes, google_drive_utils can be completely removed.
The readme is describing how to mount a google filestream directory like a normal directory, which is fine and can be left in. This is specifically to remove code that integrates with google drive directly in underlying functions


When i start the vanilla app with live server it giving me a alert called Service Worker registration failed.

OK i find out why this happened. it because of path of svg. it requires <img referrerpolicy="no-referrer" alt="avatar" src="/app-main/public/images/avatars/goldfish.svg">.


Fix flaky FakeHttpConnection::waitForDisconnect

I see some flakiness (about 15 failure out of 100 runs) on transcoding integration tests
https://github.com/istio/proxy/blob/master/src/envoy/transcoding/integration_test.cc#L261
[2017-05-19 01:58:17.947][5][critical] Backtrace (most recent call first) from thread 0:
  #1 ?? ??:0
  #2 ?? ??:0
  #3
  #4 Envoy::FakeConnectionBase::waitForDisconnect() at fake_upstream.cc:181 (discriminator 5)
  #5 void Envoy::(anonymous namespace)::TranscodingIntegrationTest::testTranscoding<bookstore::CreateShelfRequest, bookstore::Shelf>(Envoy::Http::HeaderMap&&, std::__cxx11::basic_string<char, std::ch$r_traits<char>, std::allocator<char> > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_t$aits<char>, std::allocator<char> > > > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_t$aits<char>, std::allocator<char> > > > const&, google::protobuf::util::Status const&, Envoy::Http::HeaderMap&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) at integration_test.cc:158
  #6 Envoy::(anonymous namespace)::TranscodingIntegrationTest_InvalidJson_Test::TestBody() at integration_test.cc:290 (discriminator 18)

This is an indication that something is wrong with your test (I think). No other event should be racing with the disconnect. Can you link to your failing test?

I already linked above, the testing cases are the error case during decodeData so the filter cancels upstream request. It didn't work with envoy before (#947), so I thought integration lib is not catching that case.

@lizan I can try to take a look through the above code later today or maybe check out the branch and take a look, but I think your test is probably missing some wait for event in the failure case. This PR is not wrong per say, but it's still an indication that something is not fully defined in the test. I would probably try to see what that is first. In the case where you reset, you might have to expect some other events to happen. Can chat with you later.

I figured out a waitForReset was missing in our integration tests, https://github.com/istio/proxy/pull/334 fixes the flakiness.
Though I still think a while could be here, since in the test I don't really care the stream on upstream has either been created and reset (when the filter has error during decodeData), or never been created (when the filter has error during decodeHeaders). And while is more consistent with other waitFor* behaviors. Thoughts?
Feel free close or merge this PR, I'm fine with either way.

I think it's a bit confusing that connection_event_ is used for both new streams and disconnects, but I'm not sure if I buy the consistency argument for while, since the other waitFor* behaviors are mostly where you actually need to keep waiting as there's no way to predict what's happening on the connection.
I think the clean way to do this is make a CV for disconnect, that is independent of the new stream creation.  So I'm going to close this out for now.


bitwise: Make the new blocks work on numbers that aren't 32 bits

This is how our average user will expect the blocks to work. Regardless of what these blocks are called, someone will try to make a "binary to number" converter project and be very confused why it doesn't work if they don't enter exactly 32 bits and we will receive bug reports. If someone wants the behavior of only accepting 32-bits, they can add that on their own.

The circular bit shifts are fine to keep using their symbol. I am not aware of any programming language that has a dedicated operator for circular shifts, so there is no symbol that we would be expected to use.
Closes https://github.com/TurboWarp/extensions/pull/414

@GarboMuffin It shouldn't work like that, bitwise operations have their own logic. ![Скриншот 15-05-2023 222400](https://github.com/TurboWarp/extensions/assets/116278271/8f2bd69b-31c4-40d1-bae2-b63d34288c5b). It has its own rules, if a number is greater than a certain value, it becomes negative, it does not support the fractional part and much more.

@GarboMuffin I'll probably make an extension to change the number's calculus system.

You are welcome to submit another extension with the changes you desire, as I believe the current blocks, as written in this PR, will match what our users expect.

@GarboMuffin

Plus an arbitrary input length is strange, because the output will always be only 32

You are welcome to add a new extension or new blocks that operates with the format that you describe.


Jail broken but no tweaks

Tried installing barrel as an example on RC9 and there’s no tweaks showing up in settings. Any solutions?

Actually I don’t think it’s allowing me to respring. That’s what it is

I can respring after installing from Cydia but stll its not showing up in settings for me. Same issue I have on RC9 and V1.

RC10? 😂

Does anyone got any ideas?

make sure you have PreferenceLoader, substitute, and mobilesubstrate dummy package. @DropZite @zackery1215

Dummy package? I tried reinstalling these names exactly

Substitute
Substrate compatibility later
preference loader

Nothing happened

@zackery1215 uh Substrate Compatibility Layer is part of electra, why do you have electra repos and are installing electra packages.

I used Cydia update helper because there was an update, should I delete it or what is the best way to go about it

@zackery1215 I'm closing this because you aren't listenting, all that stuff is from electra, you need to probably wipe rootfs then make sure electra repos are gone and make sure you have the default unc0ver apt repo.


Feature/gradle/enhance update java compatibility

Fixes #3235.

The plan is for this to be folded into the UpdateJavaVersion recipe found in rewrite-migrate-java, so that it's able to handle even more Gradle options for Java migrations.

Thanks for the contribution. Now it is a little bit late for us to review the PR. I am adding my colleagues as reviewers to take a look in the next days.

@timtebeek, I very much appreciate the feedback. I'm going to go ahead and add at least a few of the combination tests as well, so there'll be an update here pretty shortly. 😄


Getting light version with Icon.getImageSource

Hey,
I'm using the  Icon.getImageSource method to get icons for a couple of places in our application. I've recently switched over to using the FontAwesome pro version, and I'd like to use the light version throughout my entire application.
The Icon control has the option to change it to the light version by setting the light variable to true. However, I haven't found a way to achieve the same result using the Icon.getImageSource function. Is is possible to do this? Thanks!

Did you check and try the docs?

Hey, sorry my bad. I overlooked that part of the docs.
However, when I try and pass the "FA5Style.light" I get a null reference exception. Is this a seperate issue or am I doing something wrong?
Code snippet:
await Icon.getImageSource("tachometer-alt", 24, COLORS.BLACK, FA5Style.light)

Phew, got me worried there for a bit but there was no issue really 🙂 The light icons are Pro-only which means changing:

import Icon, { FA5Style } from "react-native-vector-icons/FontAwesome5";
to
import Icon, { FA5Style } from "react-native-vector-icons/FontAwesome5Pro";

should work. There are separate modules for the different fonts due to different icons being available. It should have used the fallback instead of going to null exception but that fix is still in a PR.
Also documented here 😉

No problemos, everyone learns to check the manual at some point 😉


Remove deprecated literal constraints

Signed-off-by: Nikhil B N<EMAIL_ADDRESS>Closes project-serum/anchor#901 (Prerequisite to this pr: project-serum/anchor#1441
Changes:

Remove literal constraints: (#[account("...")] to #[account(constraint = ...)])

@armaniferrante

This repo uses Anchor v0.4.4, which is before the constraint = keyword was added. This should fail to compile.

Contributor

@armaniferrante I was gonna ask. Should I change it to a specific version ?

Contributor

@armaniferrante I was gonna ask. Should I change it to a specific version ?

Nope since that would create an incompatible breaking chnage. The alternative would be to create a branch for the purpose of the anchor test.

Contributor

@armaniferrante I was gonna ask. Should I change it to a specific version ?

Nope since that would create an incompatible breaking chnage. The alternative would be to create a branch for the purpose of the anchor test.

@armaniferrante Sure! If you could create a branch for that, and mention the anchor version to bump it to:
I would:

Make those changes here, and update this pr to merge to the new branch.
Refer to this new branch(in submodule) in the code belonging to project-serum/anchor#1441.

Also, if the tests pass here: project-serum/anchor#1441 after making these modifications, should that pr merge to master or some new branch ?


Toggle option to Disable Fetching of Nightscout Carbs in Trio

Is your feature request related to a problem? Please describe.
Currently, even if remote commands are disabled in Trio, carbs saved to Nightscout by anyone with Careportal access are still pulled into Trio and used in dosing decisions. This creates a security vulnerability, as it is not possible to fully disable remote control over carb data input. This issue was highlighted by Dylan Sutton, who noted that simply disabling remote commands does not prevent carb data from being fetched and used, making the system potentially unsafe.
Describe the solution you'd like
Introduce a toggle option in Trio settings to enable or disable the fetching of carb data from Nightscout. This setting should default to not allow fetching treatments to ensure better security. This would involve adding a basic toggle and the necessary logic to respect this setting, ensuring that when disabled, Trio does not fetch carb data from Nightscout.
Describe alternatives you've considered

Disabling the Careportal in Nightscout as a security measure. However, this does not fully solve the problem as treatments can still be added through the API.
Commenting out the Nightscout fetch code entirely in a custom build, but this approach is not user-friendly and lacks flexibility.

Additional context
This issue was discussed in detail, and it was noted that the most dangerous remote command is the announcement for bolusing, which can be disabled with the remote control toggle. However, to completely block unwanted entries and ensure higher security, a specific setting to disable fetching treatments from Nightscout is necessary. Daniel provided a temporary solution by commenting out the fetch code, and Sjoerd offered to implement the toggle feature, seeking guidance from Daniel's commit.

Note: This request aligns with the need to enhance the security of Trio by giving users more control over the data inputs used in dosing decisions, ultimately making the system safer and more reliable.

Comment from Daniel:
I added an "allow NS download toggle" to my personal iAPS build a couple of weeks ago. Just made a commit to a fresh Trio dev testing branch with the same changes. Feel free to use and improve this as you like (Super simple code implementation, but it works)
https://github.com/dsnallfot/Trio/commit/b8d9a3160a31a417561c602e9e38915777853f35

I will make a PR based on the commit posted


Add support for Static IP assignment for NICs

Support for Static IP assignment for NICs is useful in scenarios such as Domain Controllers being started/stopped due to uptime policies. In addition to enabling Static IP, it should also be possible to specify an IP address.

To solve this type of issue, we have the variable network_interface_ids where you can define your own network interface instead of defining a subnet for which network interfaces will be automatically generated. This means that one has to either define network_interface_subnets or network_interface_ids, and one cannot combine the two. Also the point of having this module is for it to take care of as much as possible of the lifecycle to the VM, which also include the NICs.
What I'm going to do is give the network_interface_subnets the additional attributes for choosing Dynamic or Static assignment, and make it possible for specifying the IP. This makes the object a little heavy, one needs to define all attributes until the optional setting is out of the experimental phase, but I think it's worth it. The BYO-NIC option will still be there for legacy or (possible) easier importing.
Noticed also that an optional setting for ip_configuration called primary. This is something not defined now, and I something I think we can fix programmatically. Haven't heard of anyone having issues with multiple NICs but better safe than sorry. Opened #16 to solve this, added to milestone v1.10.


11-B. (Major Revision) Update Reservation (Cont'd) - Print S.A.F. Form With Details.

11-B cont’d - Add “Print S.A.F” Hyperlink in the Update Reservation Form (Status: Draft).

The New Tab ....

and then Print Prompt

11-B cont’d - The print Student Activity Form feature (hyperlinked) added…  Follows the format of the Hard-Copy Student Activity Form. Inputted Details by the User will be included in printing. The reason for this addition- clients may have hard-to-read penmanship. So it's better to have this feature.
Word Document of Sample S.A.F will be provided soon below on comments.

Sample Student Activity Form.docx
Sample Student Activity Form.pdf

The Print form is working... but the details of the fix will be posted on new issue


Dependency on future Angular 2 patch levels

According to github commits, Angular 2 has released a new patch version, 2.0.1 without any breaking changes. Perhaps it is time to use the tilde operator for Angular 2 dependencies now that Angular 2 is final?

I hope so! Let's try to relax peer dependencies


[FEATURE] evaluate using __getitem__ and __setitem__ for pydantic models

Is your feature request related to a problem? Please describe.
We mix the usage of dict with pydantic models and they might be aligned better using
Describe the solution you'd like
from pydantic import BaseModel

class MyModel(BaseModel):
    my_attribute: str

    def __getitem__(self, key):
        if key == "my_attribute":
            return getattr(self, key)
        else:
            raise KeyError(f"'MyModel' object has no key '{key}'")

# Create an instance of MyModel
my_instance = MyModel(my_attribute="some_value")

# Access the attribute using square brackets
value = my_instance["my_attribute"]
print(value)

from pydantic import BaseModel

class MyModel(BaseModel):
    my_attribute: str

    def __setitem__(self, key, value):
        if key == "my_attribute":
            setattr(self, key, value)
        else:
            raise KeyError(f"'MyModel' object has no key '{key}'")

# Create an instance of MyModel
my_instance = MyModel(my_attribute="some_value")

# Set the attribute using square brackets
my_instance["my_attribute"] = "new_value"

# Access the updated attribute
print(my_instance.my_attribute)

Describe alternatives you've considered
N.A.
Additional context
N.A.

@gabrielmbmb thinks this is probably too difficult.


2021 Pacifica Hybrid values

From 84db504dd06e33f6|2021-03-16--10-26-30
Seems as if there are some messages only seen when car is remotely started.

Test failing due to matching fingerprint within the 2019 Pacifica Hybrid, may need to combine into one definition. Will review tomorrow.


RuntimeError: Runtime hasn't been created!

I'm trying to set up a development environment locally, following the Build on your own step, so I have cloned the repo and then I

Create a Python 3.11 (also tried with 3.12) virtual environment: python3.11 -m venv .venv
Activate the virtual environment . ./.venv/bin/activate
run pip install -e '.[test]'
run python -m vectordb_bench

And as soon as I try to run the test using, say, Milvus, I get the following error:
RuntimeError: Runtime hasn't been created!

Here's the details:
2024-05-03 19:00:25,600 | INFO: generated uuid for the tasks: dbf85963f0b44f278cb823e979231795 (interface.py:69) (26828)
2024-05-03 19:00:25,868 | INFO | DB             | CaseType     Dataset               Filter | task_label (task_runner.py:288)
2024-05-03 19:00:25,868 | INFO | -----------    | ------------ -------------------- ------- | -------    (task_runner.py:288)
2024-05-03 19:00:25,868 | INFO | Milvus         | Performance  Cohere-MEDIUM-1M        None |<PHONE_NUMBER> (task_runner.py:288)
2024-05-03 19:00:25,869 | INFO: task submitted: id=dbf85963f0b44f278cb823e979231795,<PHONE_NUMBER>, case number: 1 (interface.py:235) (26828)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.11/multiprocessing/spawn.py", line 122, in spawn_main
    exitcode = _main(fd, parent_sentinel)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/multiprocessing/spawn.py", line 131, in _main
    prepare(preparation_data)
  File "/usr/lib/python3.11/multiprocessing/spawn.py", line 246, in prepare
    _fixup_main_from_path(data['init_main_from_path'])
  File "/usr/lib/python3.11/multiprocessing/spawn.py", line 297, in _fixup_main_from_path
    main_content = runpy.run_path(main_path,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen runpy>", line 291, in run_path
  File "<frozen runpy>", line 98, in _run_module_code
  File "<frozen runpy>", line 88, in _run_code
  File "/mnt/wsl/WSL2Work/_git/VectorDBBenchZilliz/vectordb_bench/frontend/pages/run_test.py", line 2, in <module>
    from vectordb_bench.frontend.components.run_test.autoRefresh import autoRefresh
  File "/mnt/wsl/WSL2Work/_git/VectorDBBenchZilliz/vectordb_bench/frontend/components/run_test/autoRefresh.py", line 1, in <module>
    from streamlit_autorefresh import st_autorefresh
  File "/mnt/wsl/WSL2Work/_git/VectorDBBenchZilliz/.venv/lib/python3.11/site-packages/streamlit_autorefresh/__init__.py", line 38, in <module>
    _component_func = components.declare_component("st_autorefresh", path=build_dir)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/wsl/WSL2Work/_git/VectorDBBenchZilliz/.venv/lib/python3.11/site-packages/streamlit/components/v1/component_registry.py", line 87, in declare_component
    get_instance().component_registry.register_component(component)
    ^^^^^^^^^^^^^^
  File "/mnt/wsl/WSL2Work/_git/VectorDBBenchZilliz/.venv/lib/python3.11/site-packages/streamlit/runtime/__init__.py", line 28, in get_instance
    return Runtime.instance()
           ^^^^^^^^^^^^^^^^^^
  File "/mnt/wsl/WSL2Work/_git/VectorDBBenchZilliz/.venv/lib/python3.11/site-packages/streamlit/runtime/runtime.py", line 163, in instance
    raise RuntimeError("Runtime hasn't been created!")
RuntimeError: Runtime hasn't been created!

Is anyone having the same problem? The problem started to appear as soon as I updated streamlit to the latest version, apparently.

Ok course as I was writing I released about the update I did to the latest version of streamlit, and that is actually the problem. Pinning the version to 1.31.1 solve the issue. I have create a PR for a temporary fix

Make sure to remove the pip cache, delete any existing virtual environment (or use a new one), and make sure you do not update streamlit when it asks you to do so.

/assign


Fix name of secureboot requirement

Fixes https://github.com/canonical/lxd/issues/13409
Also, fix/improve a few things along the way.
It's too bad that bin/test-image cannot consult the image requirements otherwise it would have been possible to look if the image being tested is not going to work with secureboot. For now I hardcoded the known incompatible distros but if @MusicDin you know better, please let me know!

Thanks!


Be lenient of validating content type on responses

As we do for requests, be lenient on responses content type validation. Add extra requirement to have a value defined for content type and  the swagger to have produces values.

Abandoning this for now


Don't try to forward terminal to kubectl exec calls

If run not from terminal, kubectl shows this error:
Unable to use a TTY - input is not a terminal or the right kind of file
It makes the script think that topology loading failed and exit with
error:
Error loading the cluster topology.
That said we don't need to forward terminal here at all - we call CLI
that doesn't interact with terminal.

This change is

Man, I am still so new to Kube. :)
LGTM!


Launchpad does not allow fetching arbitrary commits, which now breaks our tests here

+ .test/test.sh
failed fetching git repo for "ubuntu" (tags "22.04, jammy-20240111, jammy, latest" on arch "amd64")
failed fetching "e6e3490ad3f[5](https://github.com/docker-library/meta-scripts/actions/runs/7936297386/job/21671258830?pr=24#step:5:6)24ccaa072edafe525f8ca8ac5490:refs/remotes/temp2901481880/temp": server does not support exact SHA1 refspec
failed fetching "refs/tags/dist-jammy-amd[6](https://github.com/docker-library/meta-scripts/actions/runs/7936297386/job/21671258830?pr=24#step:5:7)4-20240111-e6e3490a:refs/remotes/temp29014[8](https://github.com/docker-library/meta-scripts/actions/runs/7936297386/job/21671258830?pr=24#step:5:9)1880/temp": couldn't find remote ref "refs/tags/dist-jammy-amd64-20240111-e6e3490a"

We can fix this in a few different ways.  The easiest/quickest temporary fix would be to mirror those old commits to a GitHub repository somewhere and update our test library file to reference it from GitHub instead (I still have these commits locally, so that would be pretty easy -- choosing/naming a repo is much harder; we used to use https://github.com/docker-library/commit-warehouse for this, before GitHub added support for fetching arbitrary commits and before it grew too large to even use anymore :innocent:).
A better long-term fix would probably be to finally convert busybox over to use oci-import (now that we have #20) which would also allow us to test #20 properly. :smile:

Ok, I took both commits from https://github.com/docker-library/meta-scripts/blob/b446700b3ec0b10ef89204ab585ceb862f131da5/.test/library/ubuntu (fa42be9027eccb928a1f0f43d95ffd9a45d36737 and e6e3490ad3f524ccaa072edafe525f8ca8ac5490) and pushed them both into https://github.com/tianon/temp:

https://github.com/tianon/temp/commit/fa42be9027eccb928a1f0f43d95ffd9a45d36737
https://github.com/tianon/temp/commit/e6e3490ad3f524ccaa072edafe525f8ca8ac5490

I'll make a PR fixing our test shortly.

Did the behavior of Launchpad change? Why is this test failing now but was not before?

See https://github.com/docker-library/official-images/pull/13090#issuecomment-1235324351 and following comments -- they only keep a few of their branches (per our request) so users can still inspect slightly older images, but not significantly older ones and this one just crossed the threshold with their update yesterday.


getReadableVersion is not implemented

Describe the bug
getReadableVersion is not implemented
To Reproduce
Try to invoke DeviceInfo.getReadableVersion()
Expected behavior
It should be available according to the docs.

Thanks for noticing that, I was off for some time, will actively start work on this lib.

Fix added in realease https://github.com/rvenky125/kmp-device-info/releases/tag/v0.0.20-alpha


Using a network folder for input images

I've managed to get the sample configuration working. Works great! But now I'm trying to implement a link to motioneye on home assistant. Motioneye saves motion detection stills to a network folder which i can access on windows 10.
The problem arises from trying to add the network folder to the docker-compose.yaml file. Replacing the ./path_to_local_ai_images_folder with \HOMEASSISTANT\share\motioneye\Camera1 doesnt run correctly.
Im quite new to docker so im not sure if its even possible to access a network folder using this method.
Does anyone have any experience with doing this or know a work around?
Note: This did work on gentlepumpkins application by adding \HOMEASSISTANT\share\motioneye\Camera1 in to the input path.

I'd solve this by mapping that folder as a network drive so it gets a real drive letter in Windows. Then it should work fine as a mount point from Docker's standpoint.
https://support.microsoft.com/en-us/help/4026635/windows-map-a-network-drive shows how to do this in Windows 10.
Once mounted you can make the path be h:\motioneye in the docker-compose.yaml and you should be good to go!

i have mapped the drive as you said to h: and inserted into the yaml file
volumes:       # Change ./path_to_local_ai_images_folder to point to the folder that       # will have the images to analyze       - h:/motioneye:/aiinput
i get this error
sampledocker_deepstack-ai_1 is up-to-date Creating sampledocker_trigger_1 ... error                                                                                ERROR: for sampledocker_trigger_1  Cannot create container for service trigger: status code not OK but 500: {"Message":"Unhandled exception: The path is not of a legal form.","StackTrace":"   at System.IO.Path.NewNormalizePath(String path, Int32 maxPathLength, Boolean expandShortPaths)\r\n   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)\r\n   at System.IO.Path.GetFullPathInternal(String path)\r\n   at System.IO.DirectoryInfo.Init(String path, Boolean checkHost)\r\n   at Docker.ApiServices.Mounting.FileSharing.IsPathIncluded(String path, String directory) in C:\\workspaces\\stable-2.3.x\\src\\github.com\\docker\\pinata\\win\\src\\Docker.ApiServices\\Mounting\\FileSharing.cs:line 53\r\n   at System.Linq.Enumerable.WhereListIterator1.MoveNext()\r\n   at System.Collections.Generic.List1..ctor(IEnumerable1 collection)\r\n   at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)\r\n   at Docker.ApiServices.Mounting.FileSharing.<DoShareAsync>d__6.MoveNext() in C:\\workspaces\\stable-2.3.x\\src\\github.com\\docker\\pinata\\win\\src\\Docker.ApiServices\\Mounting\\FileSharing.cs:line 75\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Docker.ApiServices.Mounting.FileSharing.<ShareAsync>d__4.MoveNext() in C:\\workspaces\\stable-2.3.x\\src\\github.com\\docker\\pinata\\win\\src\\Docker.ApiServices\\Mounting\\FileSharing.cs:line 47\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Docker.HttpApi.Controllers.FilesharingController.<ShareDirectory>d__2.MoveNext() in C:\\workspaces\\stable-2.3.x\\src\\github.com\\docker\\pinata\\win\\src\\Docker.HttpApi\\Controllers\\FilesharingController.cs:line 21\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__11.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ApiControllerActionInvoker.d__1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__15.MoveNext()"}
ERROR: for trigger  Cannot create container for service trigger: status code not OK but 500: {"Message":"Unhandled exception: The path is not of a legal form.","StackTrace":"   at System.IO.Path.NewNormalizePath(String path, Int32 maxPathLength, Boolean expandShortPaths)\r\n   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)\r\n   at System.IO.Path.GetFullPathInternal(String path)\r\n   at System.IO.DirectoryInfo.Init(String path, Boolean checkHost)\r\n   at Docker.ApiServices.Mounting.FileSharing.IsPathIncluded(String path, String directory) in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\Mounting\FileSharing.cs:line 53\r\n   at System.Linq.Enumerable.WhereListIterator1.MoveNext()\r\n   at System.Collections.Generic.List1..ctor(IEnumerable1 collection)\r\n   at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)\r\n   at Docker.ApiServices.Mounting.FileSharing.d__6.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\Mounting\FileSharing.cs:line 75\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Docker.ApiServices.Mounting.FileSharing.d__4.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.ApiServices\Mounting\FileSharing.cs:line 47\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Docker.HttpApi.Controllers.FilesharingController.d__2.MoveNext() in C:\workspaces\stable-2.3.x\src\github.com\docker\pinata\win\src\Docker.HttpApi\Controllers\FilesharingController.cs:line 21\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Threading.Tasks.TaskHelpersExtensions.d__11.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.MoveNext()"} ERROR: Encountered errors while bringing up the project.
What am i doing wrong?

Wow, that's one heck of an error from Docker. I did some digging and it looks like it isn't that simple and unfortunately quite a royal pain to use a network drive as a volume in Docker. So much of a pain that I'm afraid it's not something I can figure out. Here's one example: https://stackoverflow.com/questions/42287408/how-to-mount-network-volume-in-docker-for-windows-windows-10
How about flipping the direction of the folder share? Have a local folder on Windows and share that to the Home Assistant machine (I assume a Raspberry pi?) and have it write the images there. So from Docker's standpoint it's a local folder, and from MotionEye's standpoint it's a shared folder.

Anyone have guide to setup motion eye + deepstackai-trigger?


update deps

Signed-off-by: Sherin Varughese<EMAIL_ADDRESS>Related Issue:  open-cluster-management/backlog#17287
Description of changes

Added...

Marking as draft as the prow builds are broken now

/retest


Extend genre pages

Make genre page/card show artists, albums, songs in the genre

Partially fixed in #94


Unable to load eBPF probe for Amazon Linux 5.10.173-154.642

Describe the bug
I am trying to install falco helm chart on an Amazon Linux machine and getting the below error.
* Setting up /usr/src links from host
* Running falco-driver-loader for: falco version=0.32.0, driver version=39ae7d40496793cf3d3e7890c9bbdc202263836b
* Running falco-driver-loader with: driver=bpf, compile=yes, download=yes
* Mounting debugfs
* Trying to download a prebuilt eBPF probe from https://download.falco.org/driver/39ae7d40496793cf3d3e7890c9bbdc202263836b/falco_amazonlinux2_5.10.173-154.642.amzn2.x86_64_1.o
curl: (22) The requested URL returned error: 404
Unable to find a prebuilt falco eBPF probe
* Trying to compile the eBPF probe (falco_amazonlinux2_5.10.173-154.642.amzn2.x86_64_1.o)
expr: syntax error: unexpected argument '1'
make[1]: *** /lib/modules/5.10.173-154.642.amzn2.x86_64/build: No such file or directory.Stop.
make: *** [Makefile:38: all] Error 2
mv: cannot stat '/usr/src/falco-39ae7d40496793cf3d3e7890c9bbdc202263836b/bpf/probe.o': No such file or directory
Unable to load the falco eBPF probe
Wed Apr 12 20:12:22 2023: Falco version 0.32.0 (driver version 39ae7d40496793cf3d3e7890c9bbdc202263836b)
Wed Apr 12 20:12:22 2023: Falco initialized with configuration file /etc/falco/falco.yaml
Wed Apr 12 20:12:22 2023: Loading rules from file /etc/falco/falco_rules.yaml:
Wed Apr 12 20:12:23 2023: Loading rules from file /etc/falco/falco_rules.local.yaml:
Wed Apr 12 20:12:23 2023: Starting internal webserver, listening on port 8765
Wed Apr 12 20:12:23 2023: Unable to load the driver.
Wed Apr 12 20:12:23 2023: Runtime error: can't open BPF probe '/root/.falco/falco-bpf.o': Errno 2. Exiting.

How to reproduce it
Create a new EKS cluster with below scripts.

create eks-cluster.yml file with below config

apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig

metadata:
  name: eks-local-testing-cluster
  region: us-east-2

nodeGroups:
  - name: ng-1
    instanceType: t3.large
    desiredCapacity: 1
    volumeSize: 50

  - name: ng-2
    instanceType: t3.large
    desiredCapacity: 1
    volumeSize: 50

create the cluster with below command:

eksctl create cluster -f eks-cluster.yaml

Expected behaviour
Was expecting the falco service to start without errors.
Environment
Falco version: 0.32.0
System info:
Cloud provider or hardware configuration:
AWS
OS: AL2_x86_64
Kernel: falco_amazonlinux2_5.10.173-154.642.amzn2.x86_64
Installation method: helm
Helm chart version: 1.19.1
Additional Information
I can see the ebpf probe file here - (https://download.falco.org/driver/site/index.html?lib=4.0.0%2Bdriver&target=amazonlinux2&arch=x86_64&kind=ebpf&search=falco_amazonlinux2_5.10.173-154.642.amzn2.x86_64_1.o)
Any suggestions would be much appreciated. Thanks a lot.

Not sure why the downloader is trying to get it from a different path but you could try to download it manually, put it into a new docker layer which contains the ebpf probe file at the path /root/.falco/4.0.0+driver/x86_64/falco_amazonlinux2_5.10.173-154.642.amzn2.x86_64_1.o and add that layer on top of the existing falco driver loader image.

The above is not recommended for prod usage; just troubleshooting purposes

The falco team would need to release it or you would need to compile it yourself. It appears that falco did try to compile it but encountered expr: syntax error: unexpected argument '1' so I will have to defer to them to troubleshoot this error, as I'm not in AWS and couldn't help to make a release (I'm a user here too :) ).

@Andreagit97 any suggestions?

As I wrote in #2488 , we only support updates to prebuilt drivers for latest 3 driver versions.
Therefore you need to update your Falco installation to latest one (ie: the one that uses driver 4.0.0) to be able to fetch the prebuilt driver.

Thanks for your help @FedeDP. We will update and test it.


Questions about essays

“We then employ NL learnable tokens QL ∈ R NL×D as the long-term memory queries and a weight-shared transformer decoder block to query Classifier each segment.”In it, the parameter NL is defined according to what？ “we use NF future queries QF ∈ RNF ×D and a transformer decoder block to query ME.”In it, the parameter NF is defined according to what？Thank you for your kind answers!

Sorry for the late reply.  For $N_L$, we just borrow it from LSTR. As for $N_F$, we conducted a series of ablation experiments in the paper to determine its final value.


<EMAIL_ADDRESS>does not contain the arrowRef type fix

According to the changelog  release 0.3.3 should contain the arrowRef type fix but it doesn't. You can check using https://unpkg.com/<EMAIL_ADDRESS>Thanks for the awesome library :)

Are you referring to https://github.com/floating-ui/floating-ui/pull/1452? I'm just about to publish the release with this in it 😛

0.3.4 published now, which should contains the null fix

Thank you for the quick fix :)


Fix Dockerfiles for linting

What does this PR do?
Test Dockerfile now install zlib.
Jenkins build was failing with the following logs in step RUN pip3 install -r requirements.txt in Dockerfile.test and Dockerfile.test.rhel8:
Building wheels for collected packages: PyInstaller, wrapt
15:12:02    Running setup.py bdist_wheel for PyInstaller: started
15:12:03    Running setup.py bdist_wheel for PyInstaller: finished with status 'error'
15:12:03    Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vw8tvcbf/PyInstaller/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp86smhxdipip-wheel- --python-tag cp36:
15:12:03    running bdist_wheel
15:12:03    running build
15:12:03    running build_bootloader
15:12:03    No precompiled bootloader found. Trying to compile it for you ...
15:12:03    Setting top to                           : /tmp/pip-build-vw8tvcbf/PyInstaller/bootloader
15:12:03    Setting out to                           : /tmp/pip-build-vw8tvcbf/PyInstaller/bootloader/build
15:12:03    Python Version                           : 3.6.9 (default, Jan 26 2021, 15:33:00) [GCC 8.4.0]
15:12:03    Checking for 'gcc' (C compiler)          : /usr/bin/gcc
15:12:03    Checking size of pointer                 : 8
15:12:03    Platform                                 : Linux-64bit-intel detected based on compiler
15:12:03    Checking for compiler flags -m64         : yes
15:12:03    Checking for linker flags -m64           : yes
15:12:03    Checking for library dl                  : yes
15:12:03    Checking for library pthread             : yes
15:12:03    Checking for library m                   : yes
15:12:03    Checking for library z                   : not found
15:12:03    The configuration failed
15:12:03    (complete log in /tmp/pip-build-vw8tvcbf/PyInstaller/bootloader/build/config.log)
15:12:03    ERROR: Failed compiling the bootloader. Please compile manually and rerun setup.py

Dockerfile.test.rhel8 now pip installs Wheel before PyInstaller in requirements.txt.
Jenkins build was failing with the following logs in step RUN pip3 install -r requirements.txt in Dockerfile.test.rhel8:
Collecting PyInstaller>=4.0 (from -r requirements.txt (line 8))
  Downloading https://files.pythonhosted.org/packages/56/68/fcf288abb7985d17c4d5802aa76cbc6e00cd85d084230338cf4ef8696a38/pyinstaller-4.4.tar.gz (3.8MB)
    Complete output from command python setup.py egg_info:
    Error: Building wheels requires the 'wheel' package. Please `pip install wheel` then try again.

What ticket does this PR close?
Checklists
Change log

[ ] The CHANGELOG has been updated, or
[x] This PR does not include user-facing changes and doesn't require a CHANGELOG update

Test coverage

[ ] This PR includes new unit and integration tests to go with the code changes, or
[x] The changes in this PR do not require tests

Documentation

[ ] Docs (e.g. READMEs) were updated in this PR, and/or there is a follow-on issue to update docs, or
[x] This PR does not require updating any documentation

Thanks for the fix! Merging 🥇

@john-odonnell seems that the failure is still taking place when merged to master :(

@sigalsax sorry about that - missed similar Dockerfile build failures in Publish stage. New PR to resolve.

approved 😃  @john-odonnell


Add playground to the hamburger menu in the top right corner

I start GT for the first time but the font is too small.
I want to make the font bigger but there are no settings available.
I google and find this snippet of code
GtWorld
	spaceWithId: GtWorld defaultId
	do: [ :theWorld | theWorld root properties fontSizeEm: 1.5 ]

Awesome! But how do I execute it?
I poked around until I found Playground in the Tools section of the Spotter.
This is counterintuitive, though, so I suggest adding Playground to the GT hamburger menu.

Hi @joelreymont
Attached are a few gifs to get you started :) Let us know if it works for you.

This all works, thank you!
I wonder if it should be more prominently features, somehow.

We actually should remove the Playground entry from tools

@girba Would prominently featuring the Playground (or a Pharo page) make GT more discoverable?
I wouldn't mind font size being the first entry in the Tour of the Environment either.

@girba Would prominently featuring the Playground (or a Pharo page) make GT more discoverable?
No. We had it like that, but it was making people see GT as a Pharo development environment, which it is not.


[Doc][Module Name]  upload v3.0.1 Download the DolphinScheduler releases

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
https://dolphinscheduler.apache.org/zh-cn/download/download.html
Documentation Links
https://dolphinscheduler.apache.org/zh-cn/download/download.html
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

The code for v3.0.1 is not that different from the code for v3.0.0, you can pull the code for release3.0.1 and build it yourself if you want

我在使用 3.0.0的时候发现,   想使用资源中心, 按照文档中的配置后   还是一直显示 存储未开启.    因为我不是java栈, 想通过升级最新版本   看能否解决这个问题


New Raspbian Image on RPI Zero W - no route to host

My RPI Zero W won't connect to the plant sensor. Debug logs says the following:
Tue, 16 Apr 2019 21:38:39 INFO     PlantGateway version 0.5.1
Tue, 16 Apr 2019 21:38:39 INFO     loaded config file from /root/.plantgw.yaml
Tue, 16 Apr 2019 21:38:39 INFO     Getting data from sensor myplant
Tue, 16 Apr 2019 21:38:39 ERROR    could not read data from C4:7C:8D:6A:94:48 (myplant) with reason: [Errno 113] No route to host
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/plantgw/plantgw.py", line 212, in process_all
    self.process_mac(sensor)
  File "/usr/local/lib/python3.5/dist-packages/plantgw/plantgw.py", line 190, in process_mac
    self._publish(sensor_config, poller)
  File "/usr/local/lib/python3.5/dist-packages/plantgw/plantgw.py", line 163, in _publish
    self.start_client()
  File "/usr/local/lib/python3.5/dist-packages/plantgw/plantgw.py", line 137, in start_client
    self._start_client()
  File "/usr/local/lib/python3.5/dist-packages/plantgw/plantgw.py", line 159, in _start_client
    self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
  File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 839, in connect
    return self.reconnect()
  File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 962, in reconnect
    sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
  File "/usr/lib/python3.5/socket.py", line 712, in create_connection
    raise err
  File "/usr/lib/python3.5/socket.py", line 703, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host
Tue, 16 Apr 2019 21:38:39 INFO     try 1 of 6: could not process sensor(s) myplant. Waiting 1 sec for next try
Tue, 16 Apr 2019 21:38:40 INFO     Getting data from sensor myplant
Tue, 16 Apr 2019 21:38:40 ERROR    could not read data from C4:7C:8D:6A:94:48 (myplant) with reason: [Errno 113] No route to host
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/plantgw/plantgw.py", line 212, in process_all
    self.process_mac(sensor)
  File "/usr/local/lib/python3.5/dist-packages/plantgw/plantgw.py", line 190, in process_mac
    self._publish(sensor_config, poller)
  File "/usr/local/lib/python3.5/dist-packages/plantgw/plantgw.py", line 163, in _publish
    self.start_client()
  File "/usr/local/lib/python3.5/dist-packages/plantgw/plantgw.py", line 137, in start_client
    self._start_client()
  File "/usr/local/lib/python3.5/dist-packages/plantgw/plantgw.py", line 159, in _start_client
    self.mqtt_client.connect(self.config.mqtt_server, self.config.mqtt_port, 60)
  File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 839, in connect
    return self.reconnect()
  File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 962, in reconnect
    sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
  File "/usr/lib/python3.5/socket.py", line 712, in create_connection
    raise err
  File "/usr/lib/python3.5/socket.py", line 703, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

Any clue what this could be?
hcitool lescan shows the mac adres:
pi@plant-gateway:~ $ sudo hcitool lescane
LE Scan ...
00:12:6F:3D:F9:9E Beoplay S3
57:79:81:1E:7B:EF (unknown)
57:79:81:1E:7B:EF (unknown)
5B:F2:2A:EB:62:B0 (unknown)
60:63:52:59:04:32 (unknown)
70:02:FB:45:BC:CB (unknown)
70:02:FB:45:BC:CB (unknown)
00:12:6F:3D:F9:9E (unknown)
73:FD:FA:AB:B7:57 (unknown)
73:FD:FA:AB:B7:57 (unknown)
60:2D:AA:53:B2:98 (unknown)
60:2D:AA:53:B2:98 (unknown)
4B:F3:2F:0E:D4:78 (unknown)
C8:5E:32:D8:7C:2B (unknown)
C4:7C:8D:6A:94:48 (unknown)
C4:7C:8D:6A:94:48 Flower care  <==
77:01:58:D9:B9:34 (unknown)
77:01:58:D9:B9:34 (unknown)
4B:F3:2F:0E:D4:78 (unknown)

With gatttool i'm able to connect but get the following log:
root@plant-gateway:~# /usr/bin/gatttool -b C4:7C:8D:6A:94:48 -I
[C4:7C:8D:6A:94:48][LE]> connect
Attempting to connect to C4:7C:8D:6A:94:48
Connection successful
Notification handle = 0x0021 value: 00
Notification handle = 0x0021 value: 00
Notification handle = 0x0021 value: 00
[C4:7C:8D:6A:94:48][LE]>
(gatttool:17763): GLib-WARNING **: Invalid file descriptor.

Any clue what this could be?
Thank you

Nevermind! was a MQTT problem.. please close


chore: retry if streaming fails

Codecov Report
Attention: Patch coverage is 63.26531% with 18 lines in your changes missing coverage. Please review.

Project coverage is 85.38%. Comparing base (ab4a82e) to head (de82303).

Files with missing lines
Patch %
Lines

flipt-engine-ffi/src/http.rs
63.26%
18 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #469      +/-   ##
==========================================
- Coverage   85.48%   85.38%   -0.11%
==========================================
  Files           8        8
  Lines        3933     3940       +7
==========================================
+ Hits         3362     3364       +2
- Misses        571      576       +5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Suggestion: used [obsolete] when you rename stuff

Dear people,
I am trying to update a project that I made in September to the new version of the HoloToolkit. This is a painful process. For instance:

In GazeManager all StableHeadXXX members are renamed to StableXXX

Various classes have moved name spaces and some I have not been able to find back at all yet.

 WHY?

As Unity works, my whole project is broken now - no classes compile till all compile. How about at least using [obsolete] on members, or giving other hints when things have moved namespaces? And try to prevent moving namespaces at all - a 5.4 to 5.5 bump does not suggest breaking code.
Just my $0.05

Hi @LocalJoost. I definitely understand you pain.
There is a tag to use for the breaking changes: https://github.com/Microsoft/HoloToolkit-Unity/releases

Thanks for your clarification. I think I am 'through the looking glass' now, and although it was a pain to get my app working again, I must admit the new structure works way better.

Glad to hear!
We welcome your sharp eyes in future pull requests to help keep the quality of the toolkit at its highest.
Has this issue been resolved for you?

Yes. I have the feeling though people are still a bit struggling here and there. Planning on a couple of blog post on it.


Add support of experiments consisting of 1 or more traces

Added support of opening single and multiple traces in an experiment
Upload each trace and create experiment using ExperimentManager
Implemented simple trace detection algorithm. If the selection is a
directory, then the files system is recursively searched for CTF traces
by finding the metadata file. Otherwise a single file is opened as trace
The detection of traces is done in the front-end. This needs to be
replaced by a backend service that avoids querying the file system
directly from the frontend.
Updated class, method and variable names to reflect support of
experiments
Update Trace Explorer to show available experiments and it's traces.
This visualized list is very basic and needs to be improved.

Signed-off-by: Bernd Hufmann<EMAIL_ADDRESS>

Tested, it works


Port to Windows / MSVC Toolchain on Vulkan Branch

Porting vulkan branch to windows/msvc.
Current status: Both OpenGL and Vulkan backends are working on windows platform with msvc toolchain.
Ok:                 421
Expected Fail:      0
Fail:               1

Most of your changes should go away with a rebase on top of vulkan

Are we planning to first merge PR 152 into master and then this PR?  Maybe I can wait until 152 is merged, and then rebase this PR on top of the latest code related to the build system?

Most of your changes should go away with a rebase on top of vulkan

Are we planning to first merge PR 152 into master and then this PR?  Maybe I can wait until 152 is merged, and then rebase this PR on top of the latest code related to the build system?

Most of your changes should go away with a rebase on top of vulkan

Are we planning to first merge PR 152 into master and then this PR? Maybe I can wait until 152 is merged, and then rebase this PR on top of the latest code related to the build system?

ah so that's the one we were supposed to review first, ok

Most of your changes should go away with a rebase on top of vulkan

Are we planning to first merge PR 152 into master and then this PR? Maybe I can wait until 152 is merged, and then rebase this PR on top of the latest code related to the build system?

ah so that's the one we were supposed to review first, ok

moved to https://github.com/gopro/gopro-lib-node.gl/pull/233


[BUG] [VSCode Extension] unable to configure mlindex_content

getting error when using the promptflow extension from vscode
from promptflow._sdk._utils import _retrieve_tool_func_result ModuleNotFoundError: No module named 'promptflow._sdk._utils'
when opening the dialog for the "lookup index - mlindex_content" box.
entire prompt flow was downloaded from freshly generated "QnA with your data" from Azure AI Studio

Windows 11
No virtual Environment
Python 3.11.9
pf -v

"promptflow": "1.10.1",
"promptflow-core": "1.10.1",
"promptflow-devkit": "1.10.1",
"promptflow-tracing": "1.10.1"

things that I have tried, but failed to resolve

reinstall extension
install "pre-release" version of the extension
configure the prompt flow and the mlindex_content on the Azure AI studio, then import them to vscode

same issue rose, but on different field

Hi @JuhyunLee0 this is an compatibility issue brought in in promptflow 1.10.1. Please downgrade your prompftlow to 1.9.0 as a workaround and we will contact extension team to fix it as soon as possible

Thank you @elliotzh I was able to resolve the issue by downgrading to 1.9.0 version.
but Im now getting this error,
promptflow._utils.tool_utils.FunctionPathValidationError: Unable to display list of items due to 'Failed to parse function from function path: 'promptflow_vectordb.tool.common_index_lookup_utils.list_available_index_types'. Expected format: format 'my_module.my_func'. Detailed error: cannot import name 'MLClient' from 'azure.ai.ml' (unknown location)'. Please contact the tool author/support team for troubleshooting assistance.
any help would be greatly appreciated

things I have tried

downgraded all the package related to promptflow to 1.9.0
installed promptflow-vectordb
installed azure-ai-ml

Hello @JuhyunLee0
The error which message which you've shared is because you haven't installed promptflow_vectordb instead you've installed promptflow-vectordb
I was getting same error message when I executed the promptflow, but after installing  promptflow_vectordb error was resolved.
After installing  promptflow_vectordb you can refer to this site if you're getting any errors related to list_endpoint_names.
Feel free to ask if you need further assistance!

Hey. Did anyone ever get this to work? I'm getting the same error when using pf version 1.11. If I bring it back to 1.9 I get this error instead:

promptflow._utils.tool_utils.FunctionPathValidationError: Unable to retrieve result due to 'Failed to parse function from function path: 'promptflow_vectordb.tool.common_index_lookup_utils.list_available_index_types'. Expected format: format 'my_module.my_func'. Detailed error: No module named 'azureml.rag''. Please contact the tool author/support team for troubleshooting assistance.

Tried to manually install de aml-rag library, but that didn't help. I noticed that the VectorDB activity does not show up in the tools in the PF vscode extension, so I'm wondering if this is a problem with the promptflow-tools library.

I couldn't get the prompt flow tools to work, even after installing promptflow_vectordb instead of promptflow-vectordb
I actually just ended up just writing the vector DB lookup via Python code and run the prompt flow that way.

After installing all these things I am also getting one error:
pf.flow.test failed with UserErrorException: Exception: Execution failure in 'lookup': (Exception) Exception occured in search_function_construction.


libkb: normalized username comparison for self-sig checks

fix for keybase id michael

r? @oconnor663

Nice :shipit:


Master

Description:
Related issue (if applicable): fixes #
Checklist:

[x] Local tests with tox run successfully PR cannot be meged unless tests pass
[x] Changes tested locally to ensure platform still works as intended
[x] Tests added to verify new code works

thanks


Maintaining consistency across all home page card.

Different contributor developed the cards, so I think the cards need to have one particular theme, which remains consistent across
the website, I want to work on it.

I really liked the theme of the talking therapy cards, I want to create something like that.
Also, I will try to make colors matching the logo rotate around the cards on the border.
Let's see if it's possible🤞🏻

can I do it?

@dare-devilll Do it man!


live: Add log_artifact

Per https://github.com/iterative/dvclive/pull/464

A few places we should think about adding it:

I have left the get-started out for now. I think will make more sense to add it there after https://github.com/iterative/dvclive/issues/465


Move to Shared for SqlConnectionPoolKey.cs

Relates to #1261 . Merged the netfx version of SqlConnectionPoolKey.cs into netcore, and move it to the share src. I did notice that the netfx uses the ICloneable interface and the netcore version overrides the Clone method, and I went with the netcore version and verified it still compiled successfully on netfx.

My preference is to avoid #if #else directives as much as possible. Please, see this comment for more explanation.

I agree, please combine code together in a single if-def as much as possible, or in a separate partial class with *****.netfx.cs / *****.netcore.cs file, depending on the amount of per-framework code.

Thanks! I revised my changes based on @DavoudEshtehari comments from https://github.com/dotnet/SqlClient/issues/1261#issuecomment-933838859 renaming the shared src with the .Common.cs prefix and made it a partial class so that the netcore and netfx version SqlConnectionPoolKey.cs can be back in its original location without using ifdefs

NIT: I'd suggest to follow the same pattern for all the similar changes in a file; My preference is to see the final if-else block at the end right before closing the class definition.

I did consider that but I found that having the fields, properties and constructors at the top easier to follow than to find it mixed at the end.


Port to TFT displays

At the moment the rendering is fairly generic but only ePaper displays are supported - it would be cool to add support for TFT displays and show color ebooks.

I recommend to take a look in this component: https://github.com/lovyan03/LovyanGFX
It has support for many displays and it's nicely build. Maybe a good idea will be to have a base class Display that will have all the required methods to draw and it can be initialized either with EPDiy or with another class, so you don't need to add too many changes in the existing code. But even like that it looks like a fairly complicated task.


Maybe shift to a single GH Action for tflint

Instead of setting up tflint, maybe use a gh action that has everything ready?

terraform-linters seem to be the de-facto standard GH Action for tflint. Closing issue


Add PtrDerefOr for more types

The pointer package currently has Int32PtrDerefOr. This PR has added XPtrDerefOr for the other types (int64, bool, string, float32, float64). These functions can be useful in dereferencing pointer fields in Kubernetes objects with default values.
pointer_test.go is updated to cover all functions in pointer.go.

/assign @thockin
Thanks.


map data

hello, could you share map data? bin_tc-2017-10-15-ndmap.pcd

There is also a pcd file on the site with rosbag.

do you mean this site: https://data.tier4.jp/rosbag_details/?id=212 ?  this only have rosbag!

Once you log in, you will also see a link to the pcd file.

thank you!

@rsasaki0109 Hi, thanks for the great project. I have created the account but cannot find neither the rosbag nor the pcd file. Is the website structure changed already?

This is a good reference for you. Please use other open data.
https://github.com/rsasaki0109/pcl_localization_ros2/issues/15


3d generalization

Does anyone know of the 3D generalization of this the spatial transformer networks? I would like to apply these models on 3D numpy arrays.

I have the same question

https://github.com/voxelmorph/voxelmorph


undef unwanted defines from longintrepr.h

Python's longintrepr.h defines macros SHIFT, BASE and MASK. These short names can easily lead to conflicts if other headers use them. Now that the longintrepr.h include has moved up in the Cython-generated files, we really don't want these macros. This fix is in particular needed for http://bugseng.com/products/ppl/

Good catch, thanks!


Merge jplayer and turbolinks

Hi all!
I'm trying to merge turbolinks library end Jplayer library.
But, I have a problem with Chrome. On this browser.
When I change the page, the player goes out in chrome, while under firefox and edge, no worries, the player continues to turn.
I charge in my template a player.js to initialize the player:
jQuery(function($) {
    $(document).ready(function() {
        //Player audio
        var stream = {
            title: "My title",
            mp3: "http://link"
        };
        ready = false;
        $("#jquery_jplayer_1").jPlayer({
            ready: function (event) {
                ready = true;
                $(this).jPlayer("setMedia", stream).jPlayer("play");
            },
            pause: function () {
                $(this).jPlayer("clearMedia");
            },
            error: function (event) {
                if (ready && event.jPlayer.error.type === $.jPlayer.error.URL_NOT_SET) {
                    // Setup the media stream again and play it.
                    $(this).jPlayer("setMedia", stream).jPlayer("play");
                }
            },
            swfPath: "js/",
            supplied: "mp3",
            preload: "auto",
            volume: 0.4,
            wmode: "window",
            useStateClassSkin: true,
            autoBlur: false,
            keyEnabled: true
        });
    });
});

And this file have the attribute data-turbolinks-eval="false".
I give you an example: https://goo.gl/R0Ditz
Do you look my error?
Thanks
I have put the attribute data-turbolinks-permanent on my player html

Hi @leknoppix
When working with third-party libraries, like jQuery plugins, you may want to consider using the turbolinks:load event rather than $(document).ready. I also noticed that you have nested jQuery ready functions: jQuery(function($) {…}) is shorthand for $(document).ready(function() {…}), so you can remove these and try $(document).on('turbolinks:load', function() {…}) instead.
To play audio continuously across pages, you may be able to get some ideas from this comment: https://github.com/turbolinks/turbolinks/issues/157#issuecomment-423275861. If you continue to have issues, please ask a question on StackOverflow tagged with 'turbolinks'. Thanks!


Tenant URL portion is missing on this version. It was in the previous version of the doc

What the Tenant URL needs to be is missing on this version. It was in the previous version of the doc

@NICK-AKINCILAR  These feedback channels are for providing feedback and improving the GitHub documentation which helps to route the questions correctly. Please share a link of document this feedback is based on.

https://docs.microsoft.com/en-us/azure/active-directory/saas-apps/snowflake-provisioning-tutorial
Tenant URL was explained in previous version in section 5.5 but this version is missing what URL should be

Thanks! I went through the logs and made a pull request to add this back. https://github.com/MicrosoftDocs/azure-docs-pr/pull/123754
CC @zchia to confirm that this example is up-to-date. I'm not sure why it was removed as I see it used in other documentation.


Screenshots please

Please post some screenshots of examples of highlighted syntax. From what I recall of syntax-highlighter, it is much more intelligent than simple token based parsers and should produce a much nicer (and more consistent) highlights. It'll be nice to be able to quickly view that.
I'm thinking of showing this extension to my students and it will be nice for them to see if it is worth installing (most of them are comfortable with programming yet)

Hello @falconair , welcome.
You are right, I should include some demonstration/preview.
I just had no time for this. Will try to provide a demo as soon as possible.
Thank you.

Hello @falconair ,
I've added an animated gif demo. For now C++, Python and TypeScript are included in preview.


DOC-1449 new custom drag time selection

Addresses: DOC-1449

Added mention of new feature: drag within a Custom Chart to set a custom time range.

Feautre backported through to v21.2, so including this text backwards likewise.

Staging:

ui-custom-chart-debug-page.md

This change is

@thtruo Thanks for the review!

@MichaelTrestman TYFR!


ADL Connection String does not use token

Attempting to use a Service Principal Bearer Token to connect to ADLS Gen 1 via these steps:

From Azure Storage Explorer, go to "Connect to Data Lake Store"
Use Connection string of "adl://[URI];token=[Bearer Token]" appended per [these docs].(https://docs.microsoft.com/bs-cyrl-ba/azure/kusto/api/connection-strings/storage)
Azure Storage Explorer says "Access Denied:Your Azure account don't have access permission for the provided Uri."

I presume Azure Storage Explorer is trying to verify my attached accounts have access (they do not).

The retirement of ADLS Gen1 is now less than three months away. As previously announced the service will be retired on 29 February 2024. With this date now close approaching we are going to close this issue as "won't fix". Documentation on how to migrate your data to ADLS Gen2/blob storage can be found here: https://learn.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-migrate-gen1-to-gen2-azure-portal
If you have any non ADLS Gen1 feedback for Storage Explorer, please feel free to open a new issue: https://github.com/microsoft/AzureStorageExplorer/issues/new/choose
This issue will now no longer be monitored.


fix: fail explicitly if current namespace is requested but not available

Fixes #897

The sonar should not be skipped here.
cc @andreaTP

@csviri you are right, I messed up the key, it "should" be:
github.event.pull_request.head.repo.owner.login

instead of:
github.event.pull_request.repository_owner

here: https://github.com/java-operator-sdk/java-operator-sdk/blob/14403fb1908773afe439835406970c2f1bcf5a0b/.github/workflows/sonar.yml#L18
Do you mind to check?
(ref: https://github.community/t/get-the-head-repository-name-in-prs/17669/2 )

Do you mind to check?

Sure, thx for the hint, will fix it.

Well, it turns out that this "feature" might actually break the Quarkus extension… 😓

Would be nice to set up some sort of CI that would check the quarkus extension for each PR we create it, similarly to what the Quarkus CI does…

NDR: the Quarkus CI uses the "star" ⭐  action as an hook for running external GH actions

Well, it turns out that this "feature" might actually break the Quarkus extension… 😓

Actually, it's not breaking so all good. Setting up CI should still be done.


Adding local logger

Addressing #715

I replaced the debug print with a logging module in pycromanager.logging.
The module also includes methods to set and reset the local logger instance.
Some general formatting.

Tested with the following script:
from pycromanager import start_headless, Acquisition, multi_d_acquisition_events, set_logger_instance, reset_logger_instance

import logging
logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger(__name__)

mm_app_path = "C:/Program Files/Micro-Manager-2.0"
logger.info("Found Micro-Manager at: " + mm_app_path)
config_file = mm_app_path + "/MMConfig_demo.cfg"

save_dir = "venv/test_rec"

use_my_logger = True
if use_my_logger:
    set_logger_instance(logger.name)

# Start the Java process
start_headless(mm_app_path, config_file, debug=True)

with Acquisition(directory=save_dir, name="temp_acq", show_display=False, debug=True) as acq:
    events = multi_d_acquisition_events(
        z_start=0, z_end=6, z_step=0.4,
    )
    acq.acquire(events)

# reset logger and run new acquisition
if use_my_logger:
    reset_logger_instance()

print()
print("LOGGER INSTANCE RESET")
print()

with Acquisition(directory=save_dir, name="temp_acq", show_display=False, debug=True) as acq:
    events = multi_d_acquisition_events(
        z_start=0, z_end=6, z_step=0.4,
    )
    acq.acquire(events)

Great!


design should not be allowed to load with duplicate deletions or insertions

I am unable to assign my scaffold strand a sequence for the following file sc file (converted to txt for upload)
ss_connected_tile (copy).txt
The sequence I want to use is:
seq.txt
which works when being assigned to this .sc file:
origami_cross_tile_strong_strong .txt
Comparing the files there are not glaring differences.
The error I get is:

The problem was coming from lines like this (this is line 216) in the ss_connected_tile.copy.sc file:
{"helix": 16, "forward": false, "start": 16, "end": 24, "deletions": [19, 19]},

There are two deletions listed at the same position, which was causing the error.
I've fixed the bug in scadnano so it doesn't cause an error in this case. It now removes duplicate insertions/deletions if they are present in the file, and reports an error if two insertions have the same offset but different lengths.
But I wonder how it got there at all. It shouldn't be possible to add the same deletion twice in the web interface. But I'm not sure if the Python scripting code checks for duplicates. Was this file created with a Python script?

Thanks for the prompt response.
I used the web interface. The issue in my workflow might me that I have copied a staple strand which was already paired with the scaffold strand which had a deletion inserted. When pasting this staple strand only one deletion was present. The deletion on the pasted staple but not the scaffold. I then went and manually removed and re-added all the deletions.
Let me know if you have any questions on reproducing this issue.

I'm re-opening this issue for now. I keep issues open when they are closed in the dev branch but still open on the master branch. It will be automatically closed once I merge these changes into the master branch.

I opened issue #474 regarding how it's possible to create duplicate deletions/insertions in the web interface.


data.KEYSIGTOKEN regex is incorrect

The regular expression for key.sig currently requires a leading letter to validate. The regex is:
[a-g][0-9](s|f|ss|x|ff|xs|sx|ts|tf|n|nf|ns|su|sd|fu|fd|nu|nd|1qf|3qf|1qs|3qs)
which means that key signatures need to have the form 'a1s'.

This is intentional.  The goal is to separate the abstract concept of key and the key signature actually found in the document.  The info that was in key.sig in earlier versions of MEI is now expected to be in key.fifths.  key.fifths expresses the key in terms of the circle of fifths, while key.sig can be used to record the physical appearance of the "key".
For example, the key of the piece might be B flat, but the key signature displays only one flat --
<scoreDef
  key.fifths="2f" key.sig="b4f"
  meter.count="4" meter.unit="4" meter.sym="common"
  ...

I'm not sure what b4f is supposed to represent, nor what a key.sig value of g53qf (which is a valid value) would represent.


Fix join_lines not adding a comma after join_single_expr_block with match arm

We will also remove optional whitespace between the expression and the comma.
e.g.
fn foo() {
    let x = (<|>{
       4
    }   ,); // NOTE: whitespace
}

becomes
fn foo() {
    let x = (<|>4,);
}

Fixes #868

We will also remove optional whitespace between the expression and the comma.

I am not sure we really want this behavior as a part of join_lines. Removing space before comma seems like it really belongs to formater. I think if we restrict the feature to just adding the comma, the could becomes simpler? Basically, we'll need to append , to expression's text.

Fair enough, will update. We'll still need to check for the presence of a comma after the original match_arm,  so we don't add an extra comma.

bors r+
Thanks!


[#78] PostgreSQL V12 metrics examples

@jesperpedersen PTAL

Can you rebase ?

@jesperpedersen

Merged.
Thanks for your contribution !


Possible to compare two WMS layers ?

Hi,
Many thanks for this plugin.
On MapLibreGL, I try to understand what kind of syntax could it be to compare 2 WMS data sources.
Is it possible with that plugin or only from vector tiles ?
Best regards

I found how to do !
Just need to specify the beforeMap.on
      beforeMap.on('load', function () {
            beforeMap.addSource('mywms', {
                'type': 'raster',
                'tiles': ['https://www.mywmsfeature...'],
                'tileSize': 256
            });
            beforeMap.addLayer(
                {
                    'id': 'some_id',
                    'type': 'raster',
                    'source': 'mywms',
                    'paint': { 'raster-opacity': 0.25, }
                }
            );
        });

and same things with other WMS on afterMap


Regression - VirSorter prophage report at the end of the contigs

By updating the virsorter container to the one hosted in biocontainers we introduced a regression: https://github.com/simroux/VirSorter/issues/68.
VirSorter extends the prophage sequence by 50 nucleotide beyond the last gene in 5' and 3' (to include potential att sites and not end a contig right on a start / stop codon). I just forgot to include a check to make sure we don't extend past the contig, i.e. if the last gene of the prophage is at the end of the contig, the coordinate from VirSorter will be 50 nucleotides beyond the contig (hence 63493 vs 63443).

Fixed by https://github.com/EBI-Metagenomics/emg-viral-pipeline/pull/94


LWA beamforming blocks voltage dump

A single client at OVRO-LWA will run both beamforming and voltage triggers in response to different triggers.
The beamforming requires tracking, which blocks the polling loop. Any voltage trigger in that time will be missed.
Potential solutions:

Two clients doing separate response.
Have beamforming submit an observation to a scheduler process.

The latter is in the plan for OVRO-LWA and the chance of collision is still small. We can probably wait for that.

Resolved via scheduler.


[WFLY-19172] Add WildFly Maven Plugin Guide to the release doc index

Also, misc copy editing fixes.
Follow-up to #18257

<--- THIS SECTION IS AUTOMATICALLY GENERATED BY WILDFLY GITHUB BOT. ANY MANUAL CHANGES WILL BE LOST. --->

Wildfly issue links:

WFLY-19172

<--- END OF WILDFLY GITHUB BOT REPORT --->
More information about the wildfly-bot[bot]

Thanks @jamezp


Installation Failure

Expected Behavior
When starting the api with
rails api:start I expected it to end up Listening on :3000 but below is the actual output although I believe I've followed the steps. Note that I'm using an AWS Linux box (essentially a Centos 6 machine).
Actual Behavior
05:18:43 rails.1   | Listening on <IP_ADDRESS>:3000, CTRL+C to stop
05:18:43 logger.1  | W, [2017-12-12T05:18:43.039206 #26610]  WARN -- #<Bunny::Session:0x5bafe28 guest@localhost:5672, vhost=/, addresses=[localhost:5672]>: Could not establish TCP connection to localhost:5672: Connection refused - connect(2) for <IP_ADDRESS>:5672
05:18:43 logger.1  | /usr/local/rvm/gems/ruby-2.4.2@farmbot-web-app/gems/bunny-2.7.2/lib/bunny/session.rb:329:in rescue in start': Could not establish TCP connection to any of the configured hosts (Bunny::TCPConnectionFailedForAllHosts) 05:18:43 logger.1  |    from /usr/local/rvm/gems/ruby-2.4.2@farmbot-web-app/gems/bunny-2.7.2/lib/bunny/session.rb:297:in start'
05:18:43 logger.1  |    from /usr/local/Farmbot-Web-App/app/models/transport.rb:10:in connection' 05:18:43 logger.1  |    from /usr/local/Farmbot-Web-App/app/models/transport.rb:15:in log_channel'
05:18:43 logger.1  |    from lib/log_service.rb:6:in <top (required)>' 05:18:43 logger.1  |    from /usr/local/rvm/gems/ruby-2.4.2@farmbot-web-app/gems/railties-5.1.4/lib/rails/commands/runner/runner_command.rb:34:in load'
05:18:43 logger.1  |    from /usr/local/rvm/gems/ruby-2.4.2@farmbot-web-app/gems/railties-5.1.4/lib/rails/commands/runner/runner_command.rb:34:in perform' 05:18:43 logger.1  |    from /usr/local/rvm/gems/ruby-2.4.2@farmbot-web-app/gems/thor-0.19.4/lib/thor/command.rb:27:in run'
05:18:43 logger.1  |    from /usr/local/rvm/gems/ruby-2.4.2@farmbot-web-app/gems/thor-0.19.4/lib/thor/invocation.rb:126:in invoke_command' 05:18:43 logger.1  |    from /usr/local/rvm/gems/ruby-2.4.2@farmbot-web-app/gems/thor-0.19.4/lib/thor.rb:369:in dispatch'
05:18:43 logger.1  |    from /usr/local/rvm/gems/ruby-2.4.2@farmbot-web-app/gems/railties-5.1.4/lib/rails/command/base.rb:63:in perform' 05:18:43 logger.1  |    from /usr/local/rvm/gems/ruby-2.4.2@farmbot-web-app/gems/railties-5.1.4/lib/rails/command.rb:44:in invoke'
05:18:43 logger.1  |    from /usr/local/rvm/gems/ruby-2.4.2@farmbot-web-app/gems/railties-5.1.4/lib/rails/commands.rb:16:in <top (required)>' 05:18:43 logger.1  |    from bin/rails:4:in require'
05:18:43 logger.1  |    from bin/rails:4:in `'
05:18:43 logger.1  | exited with code 1
0

@KizziePig You have indeed spotted a bug in the setup instructions.
What Happened?
Due to some changes in the codebase this week, the README.md setup instructions became outdated. The reason you are seeing the error is that the setup instructions were (incorrectly) cloning the staging branch, which is unstable and only used by members of the core team.
How to Fix
I have updated the README.md to reflect the new setup.

If you are familiar with Git, you can switch to the master branch (instead of staging) and re-run setup.
If you are unfamiliar with Git branching commands, I would recommend deleting the current setup and starting over with the new setup directions. They have been updated to prevent the error above.

Thanks for bringing this to our attention. Please let us know if you need further assistance.


Tutorial 4: Memory error while running crop pipeline

Hi,
While running the crop pipeline(from tutorial 4, input 8) over test(or training) data, I am facing the following error:
 MemoryError

                               Traceback (most recent call last)
<ipython-input-17-489b801ca09d> in <module>()
----> 1 (lunaset.test >> crop_pipeline).run()

~/anaconda3/lib/python3.6/site-packages/radio/dataset/dataset/pipeline.py in run(self, *args, **kwargs)
   1086             if len(args) == 0 and len(kwargs) == 0:
   1087                 args, kwargs = self._lazy_run
-> 1088             for _ in self.gen_batch(*args, **kwargs):
   1089                 pass
   1090         return self

~/anaconda3/lib/python3.6/site-packages/radio/dataset/dataset/pipeline.py in gen_batch(self, batch_size, shuffle, n_epochs, drop_last, prefetch, on_iter, *args, **kwargs)
   1033             for batch in batch_generator:
   1034                 try:
-> 1035                     batch_res = self._exec(batch)
   1036                 except SkipBatchException:
   1037                     pass

~/anaconda3/lib/python3.6/site-packages/radio/dataset/dataset/pipeline.py in _exec(self, batch, new_loop)
    577             asyncio.set_event_loop(asyncio.new_event_loop())
    578         batch.pipeline = self
--> 579         batch_res = self._exec_all_actions(batch)
    580         batch_res.pipeline = self
    581         return batch_res

~/anaconda3/lib/python3.6/site-packages/radio/dataset/dataset/pipeline.py in _exec_all_actions(self, batch, action_list)
    563                     join_batches = None
    564
--> 565                 batch = self._exec_one_action(batch, _action, _action_args, _action['kwargs'])
    566
    567             batch.pipeline = self

~/anaconda3/lib/python3.6/site-packages/radio/dataset/dataset/pipeline.py in _exec_one_action(self, batch, action, args, kwargs)
    514                 batch.pipeline = self
    515                 action_method, _ = self._get_action_method(batch, action['name'])
--> 516                 batch = action_method(*args, **kwargs)
    517                 batch.pipeline = self
    518         return batch

~/anaconda3/lib/python3.6/site-packages/radio/dataset/dataset/decorators.py in _action_wrapper(action_self, *args, **kwargs)
     35                 action_self.pipeline.get_variable(_lock_name).acquire()
     36
---> 37         _res = action_method(action_self, *args, **kwargs)
     38
     39         if _use_lock is not None:

~/anaconda3/lib/python3.6/site-packages/radio/dataset/dataset/decorators.py in wrapped_method(self, *args, **kwargs)
    236                 return wrap_with_async(self, args, kwargs)
    237             elif target in ['threads', 't']:
--> 238                 return wrap_with_threads(self, args, kwargs)
    239             elif target in ['mpc', 'm']:
    240                 return wrap_with_mpc(self, args, kwargs)

~/anaconda3/lib/python3.6/site-packages/radio/dataset/dataset/decorators.py in wrap_with_threads(self, args, kwargs)
    161                 futures = []
    162                 full_kwargs = {**dec_kwargs, **kwargs}
--> 163                 for arg in _call_init_fn(init_fn, args, full_kwargs):
    164                     margs, mkwargs = _make_args(arg, args, kwargs)
    165                     one_ft = executor.submit(method, self, *margs, **mkwargs)

~/anaconda3/lib/python3.6/site-packages/radio/dataset/dataset/decorators.py in _call_init_fn(init_fn, args, kwargs)
    111         def _call_init_fn(init_fn, args, kwargs):
    112             if callable(init_fn):
--> 113                 return init_fn(*args, **kwargs)
    114             return init_fn
    115

~/anaconda3/lib/python3.6/site-packages/radio/preprocessing/ct_batch.py in _init_rebuild(self, **kwargs)
    893             num_slices, y, x = kwargs['shape']
    894             new_bounds = num_slices * np.arange(len(self) + 1)
--> 895             new_data = np.zeros((num_slices * len(self), y, x))
    896         else:
    897             new_bounds = self._bounds

MemoryError:

I have tried experimenting with several split ratios([#training, #test]), ranging from [0.9, 0.1] to [0.995, 0.005] all resulting in same error. For larger datasets, (lunaset.train >> crop_pipeline).run() does not terminate, in reasonable time. I am running it on Ubuntu 16.04, 64-bit over a PC with 6GB RAM.

Hi, @pranavkantgaur!
Thanks for the issue! The thing is, datasets in RadIO are processed in batches. It looks like the default batch size of crop_pipeline is too big for your system configuration. My suggestion here would be to experiment with this parameter. Unfortunately, as of right now, RadIO doesn't contain tools for manipulating this parameter in an elegant way. That being said, you can change RUN_BATCH_SIZE from pipelines-module namespace directly:
import radio
radio.pipelines.RUN_BATCH_SIZE = 3
crop_pipeline = radio.split_dump(...)

For better balancing of cancerous and noncancerous training examples, we also suggest to change NON_CANCER_BATCH_SIZE proportionally:
import radio
radio.pipelines.RUN_BATCH_SIZE = 3
radio.pipelines.NON_CANCER_BATCH_SIZE = 400
crop_pipeline = radio.split_dump(...)

And yes, running crop_pipeline on the bulk of Luna-dataset takes time (up to 3-4 hours).
So, before firing it off, you may want to check that it works (and terminates) on a small dataset of ~10 scans:
lunaset.cv_split([0.01, 0.99])
(lunaset.train >> crop_pipeline).run()

Best,
Alex.


Typo: Diamantine Chicken should be called Diamatine

This name comes from the MoreChickens mod, and should be changed there.


Liminal: Improvements to style and layout

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[x] I have followed the Character Sheets Standards when building this sheet.

[ ] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Character tab:
Added some fonts to make it look nicer.
Moved attributes to the top to make better use of space.
Made drive and trait textareas auto-expanding.
Added description and cost boxes to the limitations section.
Hid all numeric inouts that are calculated by sheetworkers so they can't be edited by users. Added spans to display the information.
Changed the advancement display so it's clearer to users how to spend advancements.
Added a sheet worker to update the advancements based on the values from the old version before recalculating.
Crew tab:
Made the name, goal, etc. textareas auto-resize and added a drive textarea.
Added a dropdown for selecting assets.
Roll template:
Added text colours so it doesn't become unreadable in dark mode.

Character Sheet Info Roll20 Internal Use only.


[TB] Synchronization with Storybook

Create new feature that would allow for outputs from the ThemeBuilder to be consumed by and therefore synchronized with a digital component library rendered in Storybook.

Related to #463


Re-enabling disabled form fields

You currently advocate removeAttr('disabled') for re-enabling disabled form fields. When jQuery first came out, attr() was the only way to modify the disabled state, and the proper way was indeed to use removeAttr(). Since jQuery 1.6, prop('disabled', true) is the right way to make an input disabled and prop('disabled', false); is the right way to re-eanble it (not removeAttr('disabled')).
http://blog.jquery.com/2011/05/10/jquery-1-6-1-rc-1-released/
https://jquery.com/upgrade-guide/1.9/#attr-versus-prop-

@jonrmitchell thanks, you're correct, I must've overlooked it.

Fixed with https://github.com/AllThingsSmitty/jquery-tips-everyone-should-know/commit/e1bec77cf093b0b3a49427cc75790886e1c2fe69.


Feature - NSLog and Print ConsoleWriter

This PR adds a Method enum to the ConsoleWriter class to allow you to select whether to use print or NSLog internally. The differences as to using one vs. the other is called out in the enum docstring.
The reason to switch between these is that you want to use either the os_log APIs or NSLog when running on a device. Otherwise, none of the log messages will appear in the device console.

All comments have been addressed, I'm going to move this PR through.
Thanks gents! 🍻


⚠ mstdn.jp has degraded performance

In 10389d6, mstdn.jp (https://mstdn.jp/health) experienced degraded performance:

HTTP code: 502
Response time: 111 ms

Resolved: mstdn.jp performance has improved in 71fb4b7 after 264 days, 10 hours, 9 minutes.


2D Particles jitter when physics interpolation is enabled.

Tested versions
All of 4.3 dev releases and 4.3 STABLE
System information
Godot v4.3.stable - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4060 (NVIDIA; <IP_ADDRESS>94) - AMD Ryzen 5 5500 (12 Threads)
Issue description
Adding a 2D particle to a scene (both GPUParticle2D and CPUParticle2D), either atached to a moving node or moving by itself and enabling physics interpolation in the project settings makes the particles move in a jittery way.
https://github.com/user-attachments/assets/51942c7f-6ed5-49ba-b1bf-876928277866
Steps to reproduce
Add a 2D particle to the scene, either a gpu or a cpu particle, make it move around and enable Physics Interpolation, to use the example simply run it.
Minimal reproduction project (MRP)
jitter-problem.zip

Oooooh, nasty. CC @rburing

Physics interpolation for 2D particles is not implemented yet in master, but it is planned. For now, you can turn off physics interpolation for the particular node by setting physics_interpolation_mode = PHYSICS_INTERPOLATION_MODE_OFF; in the inspector it's near the bottom, under Node > Physics Interpolation > Mode, set it to Off.

Thanks for the report! Consolidating in https://github.com/godotengine/godot/issues/92006.


Ability to inline CSS in HTML

Since only one HTML per user session is used, no big deal.
And it's good for perf (and gatsby is now supporting this).
A flag in config should be easy (enabled by default), and/or support for CSS chunk names (default to all CSS, support for array to filter chunk names with string/regex support).

Just interested: with css modules, how it can help?

@kuzvac I don't think it would help us with anything here.

The idea is just to inline the CSS to avoid an HTTP query. So no relation with how the CSS is handled (sass, css modules...).

Oh, ok, thank you.

Checkout https://github.com/addyosmani/critical-path-css-tools might be useful for this issue.
The idea with critical is that is will inline above the fold CSS for that 'instant' load feel without needing to inline all of the sites CSS in the head tag

Going to be fixed with #925 (moving to user land)

@bloodyowl @MoOx how exactly was this solved in latest releases? Would be nice to have some guidance as #925 does not say anything about how to inline css.

Currently all CSS-in-JS examples are extracting inline CSS. Didn't make an example yet for css(?modules)

Nope, no examples for css (+ modules) yet 😉 i just looked over the css-in-js examples, so should i be able to pull the css the same way?
<head>
  <style dangerouslySetInnerHTML={{ __html: css }} />
</head>

I will push an example ;)


[Syntax]: Add -> to component signature (like in Rust)

Before
component Main(start) (stop) {
    nodes { Match<int>, next PrintNext2Lines }
    :start -> (99 -> next -> match:data)
    -1 -> match:case[0] -> :stop
    match:else -> next
}

component PrintNext2Lines(n int) (n int) {
    nodes {
        decr Decr<int>
        first PrintFirstLine
        second PrintSecondLine
    }
    :n -> first -> decr -> second -> :n
}

After
component Main(start) -> (stop) {
    nodes { Match<int>, next PrintNext2Lines }
    :start -> (99 -> next -> match:data)
    -1 -> match:case[0] -> :stop
    match:else -> next
}

component PrintNext2Lines(n int) -> (n int) {
    nodes {
        decr Decr<int>
        first PrintFirstLine
        second PrintSecondLine
    }
    :n -> first -> decr -> second -> :n
}

It kind of flows... I do like it. Seems worth the extra bytes.

Today @Catya3 and I discussed this and here's what we think
Even though it makes sense, it's just gonna be a lot of arrows


React Project - Difference between contents in src\assets and public folder

Hi,
I see all files css, fonts and images duplicated in both src\assets and in public folder. Which one should I use to place any new images.
Also, I observe there is scss under root folder and another inside src\assets. Which folder one should I use to have my custom classes defined ?
Thanks,
Madan N

Files under assets are not used. Its always in public folder and in scss folder are being used. These can be deleted in React structure.
Closing this ticket,


Toolbar refactor

Refactor toolbar:

extract toolbar feature from TableFilter logic
modify features rendered in toolbar to integrate with new toolbar feature
add unit tests

Codecov Report

Merging #516 into master will increase coverage by 0.17%.
The diff coverage is 99.17%.

@@            Coverage Diff             @@
##           master     #516      +/-   ##
==========================================
+ Coverage   88.08%   88.25%   +0.17%
==========================================
  Files          38       39       +1
  Lines        4405     4437      +32
  Branches      314      302      -12
==========================================
+ Hits         3880     3916      +36
+ Misses        507      503       -4
  Partials       18       18

Impacted Files
Coverage Δ

src/extensions/colsVisibility/colsVisibility.js
86.69% <100%> (+0.02%)
:arrow_up:

src/modules/clearButton.js
90.56% <100%> (+0.36%)
:arrow_up:

src/modules/rowsCounter.js
90.24% <100%> (+0.77%)
:arrow_up:

src/modules/toolbar.js
100% <100%> (ø)

src/modules/help.js
89.01% <100%> (+2.34%)
:arrow_up:

src/tablefilter.js
92.75% <100%> (-0.27%)
:arrow_down:

src/const.js
100% <100%> (ø)
:arrow_up:

src/modules/statusBar.js
78.74% <100%> (+1.22%)
:arrow_up:

src/modules/paging.js
81.98% <100%> (-0.03%)
:arrow_down:

.../extensions/filtersVisibility/filtersVisibility.js
94.49% <85.71%> (-0.79%)
:arrow_down:

... and 9 more

Continue to review full report at Codecov.

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

👍


[AT-1460] Change the function for parsing string to bool

Summary
bool('false') also returns True
Description
The original function that parse string to Bool always return True value even if we specify ("False")
There is a way from python core that can convert the value : bool(distutils.util.strtobool(some_string))
But from Python >=3.12 that code not part of standart library.
So the solution has been implemented as internal function
Related Issue
awslabs#134
Tests performed / created
The created function tested manually with the following test cases:
Multiple inputs has been provided to verify boolean results:
True/False/1/0/"True"/"False"/"true"/"false",'y', 'yes', 't', 'true', 'on', '1'
Before change result was:
Thue/Thue/Thue/Thue/Thue/Thue/Thue/Thue/Thue/Thue/Thue/Thue/Thue/Thue (always true)
After the fix:
Thue/False/Thue/False/Thue/False/Thue/False/Thue/Thue/Thue/Thue/Thue/Thue (all results correct)
Additional Reviewers
@alexeytemnikov

Please add Jira number at the beginning of the PR, like [AT-1234].

A discussed - let's check if a quick unit test can be added (also to demonstrate how code can be tested).