Update Example Services' TestStand Sequences for Enum Support

[X] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?

Updates the TestStand sequence files for the examples that use enums via opening them up and clicking "Reload Measurement Parameters".
Fixed an issue where some of these examples used enums that did not have a zero-value.

Why should this Pull Request be merged?
AB#2426140
What testing has been done?

Manually validated that the examples services starts successfully.
Manually validated that we can connect to the services in TestStand and reload measurement parameters.
Manually inspected that the reloaded measurement parameters specify enum for enum parameters.

Which version of TestStand did you use to edit these? I think we are supposed to use TestStand 2021 (SP1?). Can you add mention of this requirement for editing the sequence files for examples in the examples/README.md (preferred) or the CONTRIBUTING.MD?
@bkeryan

Which version of TestStand did you use to edit these?

I used TestStand 2021 SP1 (<IP_ADDRESS>154). I added a line to examples/README.md as suggested.


with_upgraded methods on upgradable read guards

Allow temporarily upgrading an upgradable read guard to a write guard given only a mutable reference to the guard.
RwLockUpgradableReadLockArc::with_upgraded_blocking, along with the other missing blocking arc rwlock methods, is left to future work.
Investigating whether it's possible to have sound async equivalents of these methods is also left to future work.

Yes, and in fact that's the workaround I use now. However, this API has 2 advantages:

No Option (no unwrap()s, potential minor space savings)
Properly handles the case where f panics

No Option (no unwrap()s, potential minor space savings)

The guards are niched (at least I think they are) so there shouldn't be any space wasted. The movement here amount to around four small memcpy's that the compiler probably optimizes away anyways.

Properly handles the case where f panics (if the panic is caught, the guard remains accessible in the upgradable state)

This is still possible:
let mut guard = Some(...);

{
    let upgraded = guard.take().unwrap().upgrade().await;

    struct RestoreOnDrop<'a, T> {
        value: T,
        slot: &'a mut Option<T>
    }

    impl<'a, T> Drop for RestoreOnDrop<'a, T> {
        fn drop() {
            *self.slot = Some(value.downgrade());
    }

    let mut upgraded = RestoreOnDrop {
        value: upgraded,
        slot: &mut guard,
    };
    f(&mut upgraded.value);
}

Yes, this is a little bit more code. However, it's a truly cursed use case if you still need your guard held on your RwLock to be preserved after a panic. It seems like a niche use case for the addition of a public API. We should be careful with this kind of public API, as it's exposed in both smol and async-std. Especially since mixing futures and callbacks is very unidiomatic.

To explain my use-case:
I have a resource (represented by a struct), that's managed by a long-running async task. The task regularly reads from the resource, and occasionally writes; the write operations are short and don't cross awaits. Other tasks will read from time to time, but never write. What I do is, I have the task own a copy of an RwLockUpgradableReadLockArc<Resource>, and pass it by &mut to various methods to perform different operations. Those methods use with_upgraded when they need to write. Except that currently, RwLockUpgradableReadLockArc has no with_upgraded, so all the methods take a newtype wrapper around Option<RwLockUpgradableReadLockArc<_>> instead. Having this API in async-lock would save me the trouble of maintaining the wrapper type. It's only a minor inconvenience, to be sure; but I suppose I can't be the only person to have ever had a similar use-case, and I see no harm in centralizing the solution.

To explain my use-case:

Thanks for explaining in great detail but as @notgull pointed out, this seems like a very niche use case.

What I do is, I have the task own a copy of an RwLockUpgradableReadLockArc<Resource>, and pass it by &mut to various methods to perform different operations. Those methods use with_upgraded when they need to write.

Why not pass an Arc<RwLock> instead? Even thought methods don't need mutability, you can still have the methods take an &mut Arc<RwLock> if exterior mutability is needed there for some reason as well.

Why not pass an Arc<RwLock> instead?

So I can Deref the upgradable lock directly. Having to take the read lock in every method would just be pointless sytactic noise.

I'm going to say that we shouldn't add this. It's a pretty niche use case that doesn't fit well with the rest of the API, and it can be worked around for these niche use cases. I'd say that the cost of adding this API and maintaining it for the foreseeable future outweighs the potential utility it would provide.
Thanks anyways!


JWT: implement Envoy JWT matching properly

Fixes two issues that cause https://github.com/istio/istio/issues/49913:

Multi-value matching was expressed as "match either a list of value1 or a list of value2". Change this to "match a list of either value1 or value2".
Issuer with "/" was not recognized, just it to last index, assuming the subject does not have a "/".

@kyessenov: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
d8404bb8a793246cd08a07f28f9a2339d3890eb1
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kyessenov: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
d8404bb8a793246cd08a07f28f9a2339d3890eb1
link
true
/test release-notes

lint_istio
d8404bb8a793246cd08a07f28f9a2339d3890eb1
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

May fix #49979?

@kyessenov: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
d8404bb8a793246cd08a07f28f9a2339d3890eb1
link
true
/test release-notes

lint_istio
d8404bb8a793246cd08a07f28f9a2339d3890eb1
link
true
/test lint

gencheck_istio
d8404bb8a793246cd08a07f28f9a2339d3890eb1
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kyessenov: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
d7effad5bba088f59856d6a9ad3b8f84fcc877f4
link
true
/test integ-security-istiodremote

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kyessenov: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
d7effad5bba088f59856d6a9ad3b8f84fcc877f4
link
true
/test integ-security-istiodremote

integ-security_istio
d7effad5bba088f59856d6a9ad3b8f84fcc877f4
link
true
/test integ-security

integ-security-multicluster_istio
d7effad5bba088f59856d6a9ad3b8f84fcc877f4
link
true
/test integ-security-multicluster

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kyessenov: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
d7effad5bba088f59856d6a9ad3b8f84fcc877f4
link
true
/test integ-security-istiodremote

integ-security_istio
d7effad5bba088f59856d6a9ad3b8f84fcc877f4
link
true
/test integ-security

integ-security-multicluster_istio
d7effad5bba088f59856d6a9ad3b8f84fcc877f4
link
true
/test integ-security-multicluster

gencheck_istio
01eb374df123af65727f38445640b3de0d5539b3
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kyessenov: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
d7effad5bba088f59856d6a9ad3b8f84fcc877f4
link
true
/test integ-security-istiodremote

integ-security_istio
d7effad5bba088f59856d6a9ad3b8f84fcc877f4
link
true
/test integ-security

integ-security-multicluster_istio
d7effad5bba088f59856d6a9ad3b8f84fcc877f4
link
true
/test integ-security-multicluster

gencheck_istio
01eb374df123af65727f38445640b3de0d5539b3
link
true
/test gencheck

lint_istio
01eb374df123af65727f38445640b3de0d5539b3
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kyessenov: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security_istio
d7effad5bba088f59856d6a9ad3b8f84fcc877f4
link
true
/test integ-security

integ-security-multicluster_istio
d7effad5bba088f59856d6a9ad3b8f84fcc877f4
link
true
/test integ-security-multicluster

gencheck_istio
01eb374df123af65727f38445640b3de0d5539b3
link
true
/test gencheck

lint_istio
01eb374df123af65727f38445640b3de0d5539b3
link
true
/test lint

integ-security-istiodremote_istio
01eb374df123af65727f38445640b3de0d5539b3
link
true
/test integ-security-istiodremote

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kyessenov: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio
d7effad5bba088f59856d6a9ad3b8f84fcc877f4
link
true
/test integ-security-multicluster

gencheck_istio
01eb374df123af65727f38445640b3de0d5539b3
link
true
/test gencheck

lint_istio
01eb374df123af65727f38445640b3de0d5539b3
link
true
/test lint

integ-security-istiodremote_istio
01eb374df123af65727f38445640b3de0d5539b3
link
true
/test integ-security-istiodremote

integ-security_istio
01eb374df123af65727f38445640b3de0d5539b3
link
true
/test integ-security

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kyessenov: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
01eb374df123af65727f38445640b3de0d5539b3
link
true
/test gencheck

lint_istio
01eb374df123af65727f38445640b3de0d5539b3
link
true
/test lint

integ-security-istiodremote_istio
01eb374df123af65727f38445640b3de0d5539b3
link
true
/test integ-security-istiodremote

integ-security_istio
01eb374df123af65727f38445640b3de0d5539b3
link
true
/test integ-security

integ-security-multicluster_istio
01eb374df123af65727f38445640b3de0d5539b3
link
true
/test integ-security-multicluster

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

In response to a cherrypick label: new pull request created: #50082


Enum type in search  grid in 1.5

At first great job many thanks for you vitmalina!
In 1.4 version this code has no problem and get list of items 600002 ....etc
w2ui.HTVATControlGrid.searches[columnIndex].type = 'enum';
w2ui.HTVATControlGrid.searches[columnIndex].options = {items:[{text:'600002', num_dokl:'600002'},{text:'600003', num_dokl:'600003'},{text:'600004', num_dokl:'600004'}]};
in 1.5 version does not take effect.

Did you check what happens on your server side?
I think the command changed from "get-records" to simply "get" in 1.5.

you cannot use server side. This bug you can see if set only enum items without server side..
if you switch (in both versions 1.4 and 1.5 v ) from enum to list then is all OK but enum take no efect..

The issue might be if your search fields are already displayed. I just checked, if you do this
w2ui.grid.searches[3].options.items.push('other2')

And then click on the search button - I can see extra item. However, if search was already open, you do not see new item. It needs to refresh it.

Can you please provide a working Fiddle/Bin/Pen to demonstrate the issue?

Closing issue: no response


Launch Steps

Let's get this track launched! :)
The next steps are roughly:

[x] Select programming language variant (if applicable)
[x] Select testing framework
[x] Write/port Hello World exercise
[ ] Write/port 10 exercises
[ ] Add the track to the site as inactive
[ ] Request a track icon
[ ] Write "getting started" instructions for people using the track
[ ] Launch!
[ ] Prepare for open source contributions from strangers

Installation and dependencies
Before you can start implementing exercises, you'll need to make some decisions.

Which variant of the programming language to support (if there are multiple).
Which testing framework to use.

All of the exercises are based on providing a failing test suite for people to run and make pass, so we need to pick a testing framework.
If there are multiple testing frameworks available, we'll need to figure out which one is the best fit.
Considerations

Ease of getting started.
Cross-platform support (MacOS, Linux, Windows).

For people who are going to be doing the exercises, it's important to get them up and running as quickly as possible.
In general we prefer tools in the standard library if they're available, and if not we aim for a third party library that is widely used.
If there is a choice between several common libraries, then consider a few factors:

Is one of them easier to install?
Is one of them easier to get help with or search for resources about?
Is one of them simpler than the other either in syntax or conceptually?

Remember that all Exercism exercises are by nature very small, so there's no need for the complexity that real-world projects sometimes require.
Document the decisions
As you make these decisions, document them in the README.md of the repository for
contributors and future maintainers. In particular, when someone submits a contribution
that goes against one of these decisions, it's very helpful to be able to point to not just
the conclusion, but also a bit about why that decision was made. That makes it easier to
decide whether to just close the issue or pull request from the contributor, or whether
it's time to re-evaluate the decision based on new information.
The harder the decision was to make, the more important it is to document it thoroughly.
(e.g. What trade-offs did you consider? What tipped your gut feeling in one direction or the other? What sealed the deal?)
Implement the first exercise
The first exercise will be a very simple "Hello, World!".
In some rare cases, this might not be the best choice.
If so let's discuss how to proceed.
The point of this exercise is to quickly make sure that everything is wired together correctly.
This will confirm that the user has the programming environment installed correctly, that they know how to run the tests, and are able to make it pass.
Beyond this, it also ensures that they have the Exercism command-line client (CLI) installed and configured, and that the site delivers the correct files for the exercise without delivering any unnecessary artifacts.
Lastly it ensures that the user is familiar with the cycle of downloading an exercise using the CLI, solving a problem in their local development environment, and submitting their solution back to the site.
In other words, this isn't really about learning anything about the language itself yet.
We're aiming for something dead simple.
See this documentation for details.
This is also probably going to be the hardest part of getting the track repository set up right, as there are a lot of moving pieces.
Set up Continuous Integration
Once you have one exercise set up, it's worth looking at tooling and continuous integration.
Prepare for launch
Each track has a landing page on the site.
E.g. (when logged out) https://exercism.io/tracks/go
The page is meant to entice people into wanting to try the language out.
There are four things that we need (details below):

an icon for the track
a short blurb for the header section
an "about" section with a bit more detail
a code snippet that gives a visual impression of what the language syntax looks like
maintainer bios

In order to design an icon for the site open a new issue in the exercism/website-icons repository, answering the following questions:

Does the language have an official logo? If so

please include a link to an example
please list the attribution rights of that logo

Does the language have an unofficial logo? If so

please explain the ways in which people use the unofficial logo
please include a link to an example
please list the attribution rights of that logo

For the blurb, about section, and code snippet please see the documentation about introductory copy.
The maintainer bios go in the maintainer config.
The goal of the bio is to give people a little bit of insight into your background with the language and why you are involved with the track on Exercism.
As you bring on new co-maintainers, have them add themselves to the file as well.
Write "getting started" instructions for people using the track
We need to guide people through the process of getting their development environment working, and make sure they know how to run the tests.
As a bonus, we could provide some links to learning resources for people who are completely new to the language, and resources that come in handy while they're developing.
More on this in the documentation about documentation.
Launch!
In order to launch you'll need to have a handful of people who can show up most days to provide feedback on the site.
Then flip the active switch in config.json to true, and the track will show up on the homepage.
Prepare for open-source contributions from strangers
At this point you should be able to accept contributions from strangers.
Write some contributing documentation.
If there are exercises that you wish to include in the track, but have not yet implemented, open issues for each exercise.
Other things to consider:

Is there a style guide for your programming language?
Are these styles encouraged or enforced?
Are there any conventions that we should adopt on this track for the sake of consistency?
Can we enforce these?
Is there a linter? Are there many? Should we use one?
Is there a common convention for filenames? If not, what should our convention be?

It could be worth opening separate issues for the things you wish to tackle.
Once you've gotten the track into a state where others can contribute, update the
README to provide guidelines for contribution.

Got questions, open issues and tag @erikschierboom in them :)

Hi @ErikSchierboom  Are these launch steps still valid for v3?

@ali2251 Yes most of this is still valid for v3, although some of the links might not point to valid resources anymore.

thanks @ErikSchierboom


Merge with original transformers library

🚀 Feature request
Merge this into the original transformers library.
Motivation
This library is awesome so thanks a lot but it would be much more convenient to have this merged into the original transformers library. The Huggingface team seems to be focused on adding lightweight options for their models and adapters are huge time-and-memory-savers for multitask use cases and would be a great addition to the transformers library.
Your contribution
You've done the integration here already so it should be straightforward but happy to help. I've posted an issue on huggingface's end as well.

Is there anything you would like contributors to do that might help accelerate this?

Hi @amirali1985, we're always happy to get help by contributors and any additional contributor definitely helps accelerating development on this project, so you're very welcome to contribute.
Here's what we're doing right now: Most of the changes currently are happening on the v2 branch, where we prepare our next major update with many new features (PR with technical description of changes). All new contributions should happen there.
Most importantly, we always need help supporting new transformer architectures. We currently have support for encoding models (BERT, RoBERTa, DistilBERT, XLM-RoBERTa) and first seq2seq models (GPT-2 and (m)BART), so there are still many more models which could be supported (ALBERT, XLM, Electra, Pegasus, T5 to just name a few interesting ones). If you're interested in adding adapters to a new architecture, there's a new detailed guide for the process. I'm also always happy to help with anything if you want some guidance to get started or have some additional questions.

Thanks for the suggestions, @calpt. I work with T5 a lot, so I can take a stab at it.

@AmirAktify that would be awesome. I'll open an issue for T5 and assign you, so no one else works on that. I also just merged BART into the v2 branch a few minutes ago, which should be fairly similar. Let me know if you if there's anything I can help with.

I can help with ALBERT or Big Bird

@tanmaylaud Either would be great to have. Our dev branch is upgraded to the latest transformers version, so it already has Big Bird available: https://github.com/Adapter-Hub/adapter-transformers/pull/105.
Please open an issue and assign yourself if you start working on one model. I'm happy to help if you have any questions or issues with the implementation.

Hi! I was wondering if there are updates with regards to merging this library back into transformers library?

We have been in close contact with people from Hugging Face, and have been heavily discussing options of either merging the two libraries, or disentangling the adapters from transformers. However, merging of the two libraries is quite difficult as there are too many moving parts on both sides, and disentangling is not possible without massive changes on the transformers side, while considerably hurting readability of adapters.
So unfortunately the consensus (at least at the moment) is, that we are planning to pursue to have the two libraries separate from each other 😕.

This issue has been automatically marked as stale because it has been without activity for 90 days. This issue will be closed in 14 days unless you comment or remove the stale label.

This issue was closed because it was stale for 14 days without any activity.


a little bug while the player die but do NOT earn any score

https://github.com/tommusrhodus/Flappybalt-port-for-Playdate/blob/58e8a6c0c137eed389611b08f61fe5f789a2ed70/source/classes/class-game.lua#L138
if "string" == type(self.totalScore) then
	self.totalScore = 0
end

should add
game:updateScore(0)
class-player.lua in line 84
seem better , that update the score to 0 when player first presses any key . garentee the totalScore will not be 'string' .


Parser error Couldn't parse parameter override rule: '--param robot_description:=<!--

Hello,
I use ROS2 Humble and Ubuntu 22.04
when I launch the command
ros2 launch ur5_ros2_gazebo ur5_simulation.launch.py
in Ur5
it appears some problems:
[INFO] [gzserver-1]: process started with pid [5614]
[INFO] [gzclient-2]: process started with pid [5616]
[INFO] [robot_state_publisher-3]: process started with pid [5618]
[INFO] [spawn_entity.py-4]: process started with pid [5620]
[robot_state_publisher-3] [INFO] [1712923532.810118853] [robot_state_publisher]: got segment base
[robot_state_publisher-3] [INFO] [1712923532.810340681] [robot_state_publisher]: got segment base_link
[robot_state_publisher-3] [INFO] [1712923532.810352110] [robot_state_publisher]: got segment base_link_inertia
[robot_state_publisher-3] [INFO] [1712923532.810358526] [robot_state_publisher]: got segment flange
[robot_state_publisher-3] [INFO] [1712923532.810364314] [robot_state_publisher]: got segment forearm_link
[robot_state_publisher-3] [INFO] [1712923532.810369916] [robot_state_publisher]: got segment shoulder_link
[robot_state_publisher-3] [INFO] [1712923532.810375465] [robot_state_publisher]: got segment tool0
[robot_state_publisher-3] [INFO] [1712923532.810380643] [robot_state_publisher]: got segment upper_arm_link
[robot_state_publisher-3] [INFO] [1712923532.810385881] [robot_state_publisher]: got segment world
[robot_state_publisher-3] [INFO] [1712923532.810391029] [robot_state_publisher]: got segment wrist_1_link
[robot_state_publisher-3] [INFO] [1712923532.810396193] [robot_state_publisher]: got segment wrist_2_link
[robot_state_publisher-3] [INFO] [1712923532.810401315] [robot_state_publisher]: got segment wrist_3_link
[spawn_entity.py-4] [INFO] [1712923533.911442975] [spawn_entity]: Spawn Entity started
[spawn_entity.py-4] [INFO] [1712923533.913471813] [spawn_entity]: Loading entity published on topic robot_description
[spawn_entity.py-4] /opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/qos.py:307: UserWarning: DurabilityPolicy.RMW_QOS_POLICY_DURABILITY_TRANSIENT_LOCAL is deprecated. Use DurabilityPolicy.TRANSIENT_LOCAL instead.
[spawn_entity.py-4]   warnings.warn(
[spawn_entity.py-4] [INFO] [1712923533.960035383] [spawn_entity]: Waiting for entity xml on robot_description
[spawn_entity.py-4] [INFO] [1712923533.994776913] [spawn_entity]: Waiting for service /spawn_entity, timeout = 30
[spawn_entity.py-4] [INFO] [1712923533.997400321] [spawn_entity]: Waiting for service /spawn_entity
[gzserver-1] [WARN] [1712923537.370481842] [rcl]: Found remap rule 'model_states:=model_states'. This syntax is deprecated. Use '--ros-args --remap model_states:=model_states' instead.
[gzserver-1] [WARN] [1712923537.373542070] [rcl]: Found remap rule 'link_states:=link_states'. This syntax is deprecated. Use '--ros-args --remap link_states:=link_states' instead.
[spawn_entity.py-4] [INFO] [1712923537.484490340] [spawn_entity]: Calling service /spawn_entity
[gzserver-1] [INFO] [1712923537.500010532] [ros2_grasp.gazebo_ros_state]: Publishing states of gazebo models at [/ros2_grasp/model_states]
[gzserver-1] [INFO] [1712923537.506940653] [ros2_grasp.gazebo_ros_state]: Publishing states of gazebo links at [/ros2_grasp/link_states]
[gzclient-2]
[gzclient-2] libcurl: (6) Could not resolve host: fuel.ignitionrobotics.org
[spawn_entity.py-4] [INFO] [1712923538.582528169] [spawn_entity]: Spawn status: SpawnEntity: Successfully spawned entity [ur5]
[gzserver-1] [INFO] [1712923538.859627401] [gazebo_ros2_control]: Loading gazebo_ros2_control plugin
[gzserver-1] [INFO] [1712923538.942705542] [gazebo_ros2_control]: Starting gazebo_ros2_control plugin in namespace: /
[gzserver-1] [INFO] [1712923538.945238224] [gazebo_ros2_control]: Starting gazebo_ros2_control plugin in ros 2 node: gazebo_ros2_control
[INFO] [spawn_entity.py-4]: process has finished cleanly [pid 5620]
[gzserver-1] [INFO] [1712923538.961877048] [gazebo_ros2_control]: connected to service!! robot_state_publisher
[gzserver-1] [INFO] [1712923539.002136141] [gazebo_ros2_control]: Received urdf from param server, parsing...
[gzserver-1] [INFO] [1712923539.002251677] [gazebo_ros2_control]: Loading parameter files /home/feet/ur_t/src/install/ur5_ros2_gazebo/share/ur5_ros2_gazebo/config/ur5_controller.yaml
[gzserver-1] [rcutils|error_handling.c:65] an error string (message, file name, or formatted message) will be truncated
[gzserver-1] [ERROR] [1712923539.005213626] [gazebo_ros2_control]: parser error Couldn't parse parameter override rule: '--param robot_description:=<!--
[gzserver-1]
[gzserver-1] # ===================================== COPYRIGHT ===================================== #
[gzserver-1] #                                                                                #
[gzserver-1] #  IFRA (Intelligent Flexible Robotics and Assembly) Group, CRANFIELD UNIVERSITY        #
[gzserver-1] #  Created on behalf of the IFRA Group at Cranfield University, United Kingdom          #
[gzserver-1] #  E-mail<EMAIL_ADDRESS>                                                       #
[gzserver-1] #                                                                                #
[gzserver-1] #  Licensed under the Apache-2.0 License.                                               #
[gzserver-1] #  You may not use this file except in c, at ./src/rcl/arguments.c:343
[gzserver-1]
i don't know how to fix it. Anyone else can help me?
thanks.

I am facing the same problem. Additionally, I am also encountering the 'controller manager not available' issue, which can apparently be resolved by installing an older version of gazebo_humble_ros2_controller. Therefore, I suspect that the issue you're dealing with is similar: the latest versions of either gazebo_ros2_control or xacro-related packages may not be compatible.
Like you, I am interested in finding out the actual solution to this problem.

Sorry for my late responding.
Finally, I can launch my ur5 robot with your decision. Initially, I still had these errors with your method, i had to reinstall my ros humble.
But i have other question, do you move your robot with the command ros2_data in terminal? I have the problems : *Unable to sample any valid states for goal tree in LINEAR path
thank you so much. @mm0dev


Disable default winter theme

We're now 3 days into northern hemisphere spring, ~7/8'ths of people live there.
When this setting was created it was enabled for everybody, should we reset it to be turned off for everybody or only change the default for new plugin users?

Is changing the key name really enough to do a reset to the default? I thought it was more complicated than that

Yeah i tested it and it worked fine
"We may be able to use winterTheme0 for spring/summer/autumn and winterTheme for winter so that it remembers winter settings across years"
this seemed to work also which was cool


missing signals.py?

Hi,
simple_elasticsearch.utils module needs signals, but it does not commited.
Environment
OS: MacOSX 10.10
Python: 3.4.2
Repro steps

install library from HEAD pip install -e git+https://github.com/jaddison/django-simple-elasticsearch.git#egg=django-simple-elasticsearch
type python manage.py es_manage --list

Expected result

No import error.

Stacktrace
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/key/Documents/virtualenv/photoshare/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/Users/key/Documents/virtualenv/photoshare/lib/python3.4/site-packages/django/core/management/__init__.py", line 354, in execute
    django.setup()
  File "/Users/key/Documents/virtualenv/photoshare/lib/python3.4/site-packages/django/__init__.py", line 21, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/Users/key/Documents/virtualenv/photoshare/lib/python3.4/site-packages/django/apps/registry.py", line 108, in populate
    app_config.import_models(all_models)
  File "/Users/key/Documents/virtualenv/photoshare/lib/python3.4/site-packages/django/apps/config.py", line 202, in import_models
    self.models_module = import_module(models_module_name)
  File "/Users/key/Documents/virtualenv/photoshare/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/Users/key/Documents/virtualenv/photoshare/photoshare/apps/album/models.py", line 11, in <module>
    from apps.event.models import Event
  File "/Users/key/Documents/virtualenv/photoshare/photoshare/apps/event/models.py", line 7, in <module>
    from simple_elasticsearch.mixins import ElasticsearchIndexMixin
  File "/Users/key/Documents/virtualenv/photoshare/src/django-simple-elasticsearch/simple_elasticsearch/mixins.py", line 5, in <module>
    from .utils import queryset_iterator
  File "/Users/key/Documents/virtualenv/photoshare/src/django-simple-elasticsearch/simple_elasticsearch/utils.py", line 11, in <module>
    from .signals import post_indices_create, post_indices_rebuild
ImportError: No module named 'simple_elasticsearch.signals'

Note
simple_elasticsearch/utils.py
from .signals import post_indices_create, post_indices_rebuild  # <- misssing file!

This has been addressed in bc43ca5b4e. I can't believe I forgot to add it in. Sorry for the inconvenience!
PyPi has also been updated with a new package.


Enable autoescape in jinja templates

Special HTML characters in album and media metatdata were not being escaped in the generated HTML pages. So if a album title contained a <, for example, there was trouble.
This pull request turns on jinja2’s autoescape feature, which solves the problem.

Thanks !


makes forge fail to load on start up.

According to your testing, does the issue occur with ONLY Immersive Portals mod installed?
Yes
Forge Version
43.2.0
ImmersivePortals Version
immersive-portals-2.3.5-mc1.19.2-forge.jar
Latest Log
https://gist.github.com/Horsemun691/bb1200dceeb54c1d58b178f293de3ca6
Crash Report (if applicable)
https://gist.github.com/Horsemun691/bb1200dceeb54c1d58b178f293de3ca6
Steps to Reproduce
run game
game crashes

What You Expected
game to start
What Happened Instead
game crashed
Additional Details
If its just one mod causing it please tell me
Please Read and Confirm The Following

[X] I have confirmed this bug can be replicated without the use of Optifine.
[X] I have confirmed the details provided in this report are concise as possible and does not contained vague information (ie. Versions are properly recorded, answers to questions are clear).
[X] I have confirmed this does not happen on the fabric version (If it does please report to here instead).
[X] I have confirmed I'm not using a hybrid server (Magma, Cauldron) or a different (non official) Forge Server release.
[X] I have confirmed this issue is unique and has not been reported already.

Duplicate of #21


Iniitial DB changes

Work through the site details on the admin  page to customize for MyHPOM.

Merged in #3.


++Here's How To Watch!$$Dolphins vs Seahawks Live Streams On Tv ReddiT at Home?

++Here's How To Watch!$$Dolphins vs Seahawks Live Streams On Tv ReddiT at Home?
Watch the Miami Dolphins vs Seattle Seahawkss game on Hulu + Live TV. You can watch the NFL, including Fox, with Hulu + Live TV. The bundle ...
Watch the Miami Dolphins vs Seattle Seahawkss game free with Fubo. Live TV streaming service Fubo offers the same top-tier programmin you .
How to Watch Miami Dolphins vs Seattle Seahawkss: Time, TV Channel and Live Stream – 2024 Week 3
Check out the full NFL football schedule on FOX Sports! Or visit FOX Sports' NFL hub for everything you need to make the most of this season's action.
How to Watch Miami Dolphins vs Seattle Seahawkss
When: Sunday, September 22, 2024 at 1:00 p.m. ET
Where: Raymond James Stadium in Tampa, Florida
TV: Watch on FOX
Learn more about the Miami Dolphins vs Seattle Seahawkss on FOX Sports!
Miami Dolphins vs Seattle Seahawkss: Head-to-Head
Star QB Baker Mayfield and the Tampa Bay Buccaneers face the Denver Broncos on Sunday at 1:00 p.m. ET at Raymond James Stadium.
Despite having a bottom-five defense that ranks fifth-worst in the NFL (381 yards allowed per game), the Buccaneers have put up better results on the other side of the ball, ranking 20th in the NFL by totaling 304 yards per game. The Broncos rank fifth-worst in total yards per game (263), but they've been more effective on the defensive side of the ball, ranking ninth in the NFL with 277.5 total yards ceded per contest.
See more details below, including how to watch this matchup on TV.
Former Duck’s quarterback Bo Nix leads the rebuilding Denver Broncos against the revamped Tampa Bay Buccaneers in Week 4 regular season NFL action. Tampa Bay is led by Baker Mayfield, who has been crowned “the guy” after an offseason contract extension and hot start to 2024. This game kicks off at 10 a.m. PT/1 p.m. ET on Sunday, September 22 with a live broadcast on FOX, and streaming live on demand.
• WATCH: Miami Dolphins vs Seattle Seahawkss live for free with Fubo (free trial), or with DirecTV Stream (cheapest streaming plans, $25 off first month) or see more streaming options below.
STREAMING GUIDES FOR SPORTS, TV & MOVIES
What TV channel is Peacock on? Is there a free trial? Promo code, student discount and how to login
ESPN Plus college football 2024 streaming guide, subscription cost, game schedule; is there a free trial?
What is BritBox? Is there a free trial? Shows list, subscription cost, is it worth getting in 2024?
What TV channel is Investigation Discovery on? How to watch true crime series on ID Network streaming free online
What is Philo TV? Cost, free trial promo, channels lineup; why it’s the cheapest live streaming, on demand service
Who: Miami Dolphins vs Seattle Seahawkss
When: Sunday, Sept. 22 at 1 p.m. EST
Where: Raymond James Stadium in Tampa, Fla.
Stream: fuboTV (free trial); or Sling; DirecTV Stream (free trial) or NFL+
What is FuboTV?
FuboTV is an internet television service that offers more than 200 channels across sports and entertainment including Paramount+ with SHOWTIME. From the UEFA Champions League to the WNBA to international tournaments ranging across sports, there’s plenty of options available on FuboTV, which offers a free trial, and $30 off the first month for new costumers.

Dolphins vs Seahawks


Bump DC/OS Launch and Test Utils

Codecov Report

Merging #1291 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #1291   +/-   ##
======================================
  Coverage     100%    100%
======================================
  Files          33      33
  Lines        2469    2469
  Branches      100     100
======================================
  Hits         2469    2469

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 60e1af9...460b64e. Read the comment docs.


The dependsOn behavior doesn't adapt to services linking to containers.

When using a container for development and optionally using a service the dependsOn fields need to be conditioned like so:
dependsOn: std.ifelse(args.atlas, ["nats"], ["nats", "mongo"])
Otherwise, the dependent containers will hang forever waiting for the container being replaced by a service to start. A complete example is the webhook-app.
https://github.com/lucj/acorn-services/tree/main/atlas#using-the-atlas-service-with-a-microservice-application
The expectation is that you wouldn't need to update dependencies based on using a service Acorn. The dependency should wait until the service Acorn finishes and has reached an OK state as far as Acorn is concerned.

a pain, but there's a work around. bumping


Document preflight configuration.

Is there any documentation regarding CORS preflight requests? Seems like these should automatically be configured based on the swagger definition.
I'm looking to return the verbs defined in swagger for my resources (paths) but I can't even find how to control "preFlightContinue" option.
Thanks in advance.

I just ended up creating a fitting to handling the verbs based off of swagger definition
const _ = require('lodash');
const verbWhitelist = ["get", "post"];

// Used for CORS preflight options by path.
module.exports = function create(fittingDef, bagpipes) {

  return function corsVerbs(context, cb) {

    // If not options, go to next controller
    if (context.request.method !== 'OPTIONS') return cb(null, context);

    let verbs = _.pick(context.request.swagger.path, verbWhitelist);
    context.response.set('Access-Control-Allow-Methods', Object.keys(verbs))
    context.response.status(204).send();

  };
};


rmd-20676 Rename API wrapper authentication methods

These methods return an API object, rename them to better reflect that.

Rename loginUpdate to uploadAPI
Rename loginResults to resultsAPI

Also, prefer authentication of username and password when available and
remove need for VeracodeCredentials.apiCredentials field.
@tonytvo @mch please review.

I am pushing the minor form and naming issues first. I'll make sure to wait for his review for the major stuff.


[FR] Remove the loading screen that blocks Obsidian while exporting

One of the main reasons I still keep the Pandoc plugin around is that it simply exports in the background. When using Enhancing export, a loading screen prevents me from using Obsidian while an export is ongoing. This can take a while sometimes, especially when the tex distribution needs to install some packages to compile the document. I don't see why this loading screen is necessary?

My export speed is very fast. How long did it take you?

My export speed is very fast. How long did it take you?

It takes a long time if you, for example, change the font family with:
---
fontfamily: noto
---

If it's the first time using the font, this will make the tex distribution (MikTex in my case) download several packages. This extends the export time by a lot.
I may also have a slower computer than you. But I think the plugin shouldn't assume that everyone has equally fast computers.
Regardless of export time, the point is that I don't see the value in a full loading screen. And in the case of long exports, it is very inconvenient.

It takes a long time especially if you have a big document or images. Overall there is no reason for the loading screen to hide the notes.
My current workaround is to open the document in a new window and run the plugin while I continue to edit other notes

Is this okay?

@mokeyish That would be great for me, so long as there is still some notice that gives information about the export.

https://github.com/mokeyish/obsidian-enhancing-export/commit/e351ff2864ef3f965166dfafa6da7e6776e8565b

https://github.com/mokeyish/obsidian-enhancing-export/commit/e351ff2864ef3f965166dfafa6da7e6776e8565b

Did you want a comment on this or for me to test it?

Yeah, you can test it.

Yeah, you can test it.

I just tested the new release, and it seems to be working well. Thanks!


add missing docs for new features

as well as the move to remix we added a bunch of features that require documentation, not limited to:

live preview mode
locales
typedoc cli

I would like to work on it !


Announcement: New version with support for Promises and an Edge CSS onerror bugfix

Hi Everyone,
I just wanted to let you know that we just released a new version of LoadJS (v.3.6.0) that includes a couple of useful features:
First, v3.6.0 adds support for Promises via a returnPromise option:
var prom = loadjs(['/path/to/foo.js', '/path/to/bar.js'], {returnPromise: true});

prom
  .then(function() { /* foo.js & bar.js loaded */ })
  .catch(function(pathsNotLoaded) { /* at least one file didn't load */ });

Second, v3.6.0 includes an important bugfix to detect cross-domain CSS load failures in Edge. Previously, load failures were triggering success callbacks but now they are being handled correctly. The source of the issue was lack of onerror support for cross-domain CSS files loaded via <link rel="stylesheet"> tags. To get around this issue, we are now using rel="preload" to load CSS files in Edge browsers.
Please try out the new features and let me know what you think!
Andres

great news on the promises support!
It's a little fiddly that the output of the loadJs function is now either a promise or not, it would be really handy to have a function akin to:
loadjs.await(...)

...which takes the same arguments as loadJs() and returns a promise, to enable wrapping of both functions independently without needing to coerce in an extra option.


Add Winamp2-js

I'm obviously biases, since this is my project, but I figured I'd propose it and leave it up to you to decide to merge or not. Thanks for the great list!

Super cool stuff, brings back memories 👍
Thanks for the PR


update getBlock return type

Change return type for method getBlock from Future[?!(?Block)] to Future[?!Block].
Use type BlockNotFoundError = object of CodexError to differentiate between "block not found in the store" and other errors.
Also make some logic and error handling/messages more consistent across BlockStore implementations.
Closes #177.
Closes #182.
Closes #210.
Alternative to #205, #209.

What I was missing previously was understanding of how at runtime to use Nim's of operator to distinguish error types inheriting from CatchableError

Objects provide many features that tuples do not. Objects provide inheritance and the ability to hide fields from other modules. Objects with inheritance enabled have information about their type at runtime so that the of operator can be used to determine the object's type. The of operator is similar to the instanceof operator in Java.

I wish I'd known about / understood it beforehand, but I didn't; definitely a valuable "tool in the toolbox".

I think this looks pretty good, anything else missing here?

I think it's good to go, just need to squash down the [wip] commits.


Added adding product to order functionality

Added AddProductCommand and AddProductCommandParser classes
Allowing us to add products to recently created orders

LGTM.
Some minor suggestions: use hyphens instead of underscores for branch names.


xavier-nx fab 300 vs fab 301

Hold the flaming but we're still using a tegrademo hardknott branch (up to date with the latest but yea 2 yr old) that has been successful for us, from tx2 on a custom carrier across to xavier-nx and nano. But today we go to bring up a couple more xavier-nx and while the devices flash successfully, and our custom rootfs, bits and pieces are there and running, there is no display. Our custom bootloader screen is displayed on screen, but there is no hdmi detected, no edid read and therefore nothing beyond the bootloader image.
On a hunch I checked the devices and the only difference is 8-0001-300 vs 8-0001-301 from the QR code. Looking back on the nvidia downloads page, there is a PCN for this change back in 2020, and it appears the hardknott branch should have already supported any differences. Which was supposedly limited to changing the memory, and memory appears to be ok since our app and rootfs all appear fine.
I think the relevant errors in dmesg are such:
[    1.820229] tegra_cec 3960000.tegra_cec: dt=1 start=0x03960000 end=0x03960FFF irq=77
[    1.820246] tegra_cec 3960000.tegra_cec: Unpowergate DISP: 0.
[    1.820706] tegra_cec 3960000.tegra_cec: Enable clock result: 0.
[    1.820760] tegra_cec 3960000.tegra_cec: tegra_cec_init started
[    1.821271] tegra_cec 3960000.tegra_cec: cec_add_sysfs ret=0
[    1.821281] tegra_cec 3960000.tegra_cec: probed
[    1.822045] tegradc 15200000.nvdisplay: disp0 connected to head0->/host1x/sor1
[    1.822170] generic_infoframe_type: 0x87
[    1.822347] tegradc 15200000.nvdisplay: DT parsed successfully
[    1.822426] tegradc 15200000.nvdisplay: Display dc.ffffff800d2d0000 registered with id=0
[    1.832343] tegra_nvdisp_bandwidth_register_max_config: couldn't find valid max config!
[    1.832585] tegradc 15200000.nvdisplay: failed to register ihub bw client
[    1.833233] tegradc: probe of 15200000.nvdisplay failed with error -7
[    1.834013] tegradc 15210000.nvdisplay: disp0 connected to head1->/host1x/sor
[    1.834072] tegradc 15210000.nvdisplay: parse_dp_settings: No dp-lt-settings node
[    1.834220] tegradc 15210000.nvdisplay: DT parsed successfully
[    1.834341] tegradc 15210000.nvdisplay: Display dc.ffffff800d350000 registered with id=0
[    1.835993] tegra_nvdisp_bandwidth_register_max_config: couldn't find valid max config!
[    1.836182] tegradc 15210000.nvdisplay: failed to register ihub bw client
[    1.836709] tegradc: probe of 15210000.nvdisplay failed with error -7
Looking those up on nvidia forums it appears there was a couple things suggested, but typically falls back on update to rel32.7.1 but there are some patches for the BSP suggested in one post.
https://forums.developer.nvidia.com/t/only-nvidia-logo-is-shown-after-flashing-cannot-complete-oem-config-setup-through-gui/222216
I'm trying to crank out a kirkstone version to check, since we will be hard stuck once the latest xavier-nx with yet another PCN for new memory ends up in our hands, but since hardknott theoretically should have already supported this possibly it is an issue that could be looked at. I'll update with kirkstone results as they come in, preferably I'm doing something dumb that is easily resolved but asking the question anyway. Thanks

Based on the commit message for 368edd0538a8a8e1b4832cfe0f3de43233efb8b6, support for FAB 301 didn't come in until L4T R32.6.1. The dev forum post you linked to also talks about R32.6.x/JetPack 4.6.
Hardknott stopped at L4T R32.5.2, so it's not going to support the newer FABs.

If the BUPGEN doesn't have a 301 wouldn't I have issues flashing the boards?

Not necessarily.  The older flashing tools would probably treat the 301 FAB like another one, not knowing that it should be handled differently.

I modified the relevant conf files in hardknott to add fab=301 etc, but I still have the same result. Though with more testing and looking even deeper it is more of a mystery than before. I got another unit out and I now have 4 of all the same info as read using flash.sh --read-info:
Board ID(3668) version(301) sku(0001) revision(G.0)
attached are two boots labeled working/non-working, shows the two modules boot. only weirdness I see is
"emc_init: Missing emc dt table!" and "emc_debugfs_t194_init: no EMC tables, aborting"
boot work.txt
boot-nowork.txt
Of the 4, 1 worked off the bat after flashing, and 3 didn't. Then I reenabled the console port and reflashed one of the non-working and viola it started working. So I'm like cool I must have fixed it and tried to re-flash the next and huh, still no for that one.. then I realized it seems to only flash completely the first time I extract the tar.gz... I'm thinking, no, can't be that can it? So I just repeated that this morning and surprise now #3 works...
So on the last one I flashed from the previously used tegraflash folder, which proved that a reflash from a used folder does not work, then extract the tar.gz again and one more re-flash proved the theory.
So this apparently isn't really an issue of fab=300 vs fab=301, there appear to be a few files that change on disk after a flash. most significant change is to tegra194-a02-bpmp-p3668-a00.dtb hence probably why the "missing emc dt table" shows up.
So for us just re-extracting the tar.gz makes it work every time, finding out why would be interesting but I probably won't be allocated the time to find out unfortunately


fix: docker build and push flow

Feature or Problem

Based on the work in this PR, this PR attempts to update the docker build and release process to build for both arm64 and amd64.
The build process partially mirrors wadm but breaks with it in using GHA matrix configuration for publishing the images on different platforms.
Related Issues

Release Information

Consumer Impact

Testing

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin
[ ] x86_64-windows

Tested on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin
[ ] x86_64-windows

Unit Test(s)

Acceptance or Integration

Manual Verification

Done @brooksmtownsend , thanks for the quick review!


UnicodeDecodeError on the vocab file

UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 3799: character maps to
when passing the vocab file to NerData.create() getting unicode error
need to add something like this in the code to make it work
open(vocab_file,encoding='utf8').read()

Working with the BERT vocab file is the reused code from pytorch-bert implementation. Can you ask me number of line and name of file with the error.


Fix s3 bucket region

What changes are proposed in this pull request?
Fix #14354 accessing the S3 bucket in non-default region issue
Why are the changes needed?
Otherwise users cannot access s3 buckets in another region
Does this PR introduce any user facing changes?
Yes, affect how they accessing bucket in other regions

Codecov Report

Merging #14352 (20f6be6) into master (0edc8b1) will decrease coverage by 23.95%.
The diff coverage is 2.08%.

@@              Coverage Diff              @@
##             master   #14352       +/-   ##
=============================================
- Coverage     40.72%   16.76%   -23.96%
+ Complexity     9032     2668     -6364
=============================================
  Files          1484     1487        +3
  Lines         86554    86723      +169
  Branches      10351    10368       +17
=============================================
- Hits          35246    14542    -20704
- Misses        48463    70974    +22511
+ Partials       2845     1207     -1638

Impacted Files
Coverage Δ

...a/alluxio/proxy/s3/ChunkedEncodingInputStream.java
0.00% <0.00%> (ø)

...in/java/alluxio/proxy/s3/DeleteObjectsRequest.java
0.00% <0.00%> (ø)

...ain/java/alluxio/proxy/s3/DeleteObjectsResult.java
0.00% <0.00%> (ø)

...in/java/alluxio/proxy/s3/S3RestServiceHandler.java
0.00% <0.00%> (-3.20%)
:arrow_down:

...ava/alluxio/multi/process/MultiProcessCluster.java
0.00% <0.00%> (ø)

...n/java/alluxio/underfs/s3a/S3AUnderFileSystem.java
0.00% <0.00%> (-18.26%)
:arrow_down:

...alluxio/proxy/s3/logging/RequestLoggingFilter.java
20.00% <20.00%> (ø)

...on/src/main/java/alluxio/master/MasterContext.java
64.28% <66.66%> (ø)

...mon/src/main/java/alluxio/shell/CommandReturn.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...mon/src/main/java/alluxio/util/ExceptionUtils.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 655 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 23be470...20f6be6. Read the comment docs.

Error: 8.287 [ERROR] Errors:
Error: 8.287 [ERROR] alluxio.client.fs.FreeAndDeleteIntegrationTest.deleteDir
Error: 8.288 [ERROR]   Run 1: FreeAndDeleteIntegrationTest.deleteDir:147 » TestTimedOut test timed out after...
Error: 8.288 [ERROR]   Run 2: FreeAndDeleteIntegrationTest.deleteDir:144 » TestTimedOut test timed out after...
20:10:28.288 [INFO]
Warning: 288 [WARNING] Flakes:
Warning: 288 [WARNING] alluxio.client.fs.LoadMetadataIntegrationTest.repeatedDirectorySync
Error: 8.288 [ERROR]   Run 1: LoadMetadataIntegrationTest.repeatedDirectorySync:216->checkListStatus:514->checkFunctionCall:538 Expected to be take between 1500 and 1750.0. actual duration (ms): 1807
Error: 8.512 [ERROR] alluxio.client.fs.io.FileOutStreamIntegrationTest.cancelWrite[0]  Time elapsed: 6 s  <<< FAILURE!
java.lang.AssertionError: expected:<0> but was:<4000>

@tieujason330 FYI

@ggezer PTAL, thanks

alluxio-bot, merge this please


no-access-missing-member doesn't work with external HTML

When using a separate .html file (via templateUrl in the @Component decorator) instead of an inline template, no-access-missing-member doesn't complain about using properties (e.g. in an *ngIf expression) that don't exist in the class definition.
To reproduce:

Use Angular CLI to create a new project, e.g.: ng new test-playground
Edit the generated src/app/app.component.html to add *ngIf="foobar" to the h1 tag. (Do not add a foobar property to the class)
Run ng lint. The output will be All files pass linting.

Would you provide a sample component I can use to reproduce the issue?

Are you able to reproduce it using the instructions I just added to my original post?

I will try, thanks.

For reference, the output of ng --version:
@angular/cli: 1.0.1
node: 6.10.2
os: darwin x64
@angular/common: 4.1.3
@angular/compiler: 4.1.3
@angular/core: 4.1.3
@angular/forms: 4.1.3
@angular/http: 4.1.3
@angular/platform-browser: 4.1.3
@angular/platform-browser-dynamic: 4.1.3
@angular/router: 4.1.3
@angular/cli: 1.0.1
@angular/compiler-cli: 4.1.3

Fixed by https://github.com/mgechev/codelyzer/issues/319
Will release in the next days.


ELE-187 fix test runs order

Fixed the order of the test runs
Fixed test runs duplication
Added test for duplicate test runs
Added test for test runs order

@elongl sure thing!
There are 2 problems that we have with the test runs invocations currently:

The order of the invocations on the graph is based on the order of the elements on the report json (should be fixed on the UI as well, back for returning the data in the correct order will do).
There are some cases (like schema changes), that due to the flattening we do for the test results at elementary_test_results table, we show duplicate invocations at the graph (this is happening because we split the same test into multiple rows which has the same test id, therefore we count the invocation twice - working on a better solution at the package as well). - In this PR when creating the data for the test runs graphs, I check for each graph if it already contains the invocation.

Hope that I made it clearer 🙂


Week-2-assignment + Week-3-DateStore

Add client-to-server text box, Ask clients to input their favorite movies. Add Get date&time buttom. Add fetch greetring buttom.
After clients finish typing and hit the submit buttom, they will be first directed to a confirmation page. After 3 seconds, the page ending with /form-handler will be automatically redirected to the home page of my portfolio so that they can continue browsing the website. The "Get date&time" buttom will display the current date and time to users when they click it. "Fetch greeting" will display a random greeting on the website after users click the buttom.
Link to my portfolio: https://zchen-sps-summer22.appspot.com/

I updated the greetingServlet.java file which now returns a json array and the script.js file correspondingly. The script.js file will display a random greeting from the array.

I modified the FormHandler.java file. Now it can store users' input of their favorite movies as an entity in Datastore.

For Week 3: Add a section on the website "Get movie list"
After users click on "get the list" buttom, they will be redirect to /list-movies which contains all user inputs so far about their favorite movies. The sub webpage will be redirected to the home page after 3 seconds.

Change doPost() to doGet() in ListMoviesServlet.java and related problems. Modify index.html to display the movie list to users when they click on the button.

Addressed all the comments: Add javadoc for /greeting and /form-handler servlets. Rename variables in script.js


Updating Tests for learning.py

Added tests for the simpler learners in learning.py (PluralityLearner, NaiveBayesLearner and NearestNeighborLearner).
Changed the input csv in test_parse_csv, as I think it would be better if we test on a non-trivial input (open to requests for change, if anyone disagrees).
Working on tests for the rest of the learners.

Closed this, as I included the tests in a bigger PR.


feat: allow disable row checkbox under condition

In some cases I need the row checkbox to be disabled to prevent user interaction.
 PlutoColumn(
     enableColumnDrag: false,
     enableContextMenu: false,
     enableRowChecked: true,
     disableRowCheckWhen: (row) {
          final status = row.cells['status']?.value.toString();

          return status == '4' || status == '2';
     },
     ...
 )

I have tried to implement renderer function in PlutoColumn with my own checkbox, but it still shows PlutoScaledCheckbox widget. When I set enableRowChecked equal to false, the checkbox under the title "Checkbox All" is not available.

Thank you for your efforts.
Could you please remove the .fvm files and the gitignore and let's only upload the files related to the PR.
This will make it easier to review.

PlutoColumn(
field: 'a023',
title: 'EKSTRA MES.',
enableSorting: false,
enableFilterMenuItem: false,
enableContextMenu: false,
enableDropToResize: false,
type: PlutoColumnType.number(format: '#,###.##'),
titleTextAlign: PlutoColumnTextAlign.center,
checkReadOnly: checkReadOnly,
)
bool checkReadOnly(PlutoRow row, PlutoCell cell) {
return row.cells['kilitle']!.value == 1;
}
I use the checkReadOnly property to make checkboxes read-only on a cell basis. The disableRowCheckWhen property you mentioned seems to completely disable the checkboxes. Do these two methods essentially achieve the same result, or is there a significant difference between them?

  PlutoColumn(
        field: 'a023',
        title: 'EKSTRA MES.',
        enableSorting: false,
        enableFilterMenuItem: false,
        enableContextMenu: false,
        enableDropToResize: false,
        type: PlutoColumnType.number(format: '#,###.##'),
        titleTextAlign: PlutoColumnTextAlign.center,
        checkReadOnly: checkReadOnly,
      )

  bool checkReadOnly(PlutoRow row, PlutoCell cell) {
    return row.cells['kilitle']!.value == 1;
  }

I use the checkReadOnly property to make checkboxes read-only on a cell basis. The disableRowCheckWhen property you mentioned seems to completely disable the checkboxes. Do these two methods essentially achieve the same result, or is there a significant difference between them?

In my case I need show the checkbox disable("gray color and not allow interaction with it") the checkReadOnly method does not allow this behavior.

Hey @doonfrs, I pushed the changes !!

@yeikel16 done, thank you!


experiment environment

What is your platform configuration？such as GPU and CPU

Windows10 + E5-2603 + Geforce 1080

Thanks!

@LZQthePlane May I ask you, my gpu is 1050ti 4gb, can't run this project?

@LZQthePlane May I ask you, my gpu is 1050ti 4gb, can't run this project?

no, it can't, the computing capability is too low for this.


<EMAIL_ADDRESS>Download via aria2 failed

Download failed! (Error 3) Resource was not found
Installing 'nvcleanstall' (1.12.0) [64bit] [extras]
WARN  By installing you accept following license: Freeware (https://spdx.org/licenses/Freeware.html)
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 083e07|ERR |       0B/s|C:/Users/Administrator/scoop/cache/nvcleanstall#1.12.0#https_nl2-dl.techpowerup.com_files_NVCleanstall_1.12.0.exe_NVCleanstall.exe
Download: Status Legend:
Download: (ERR):error occurred.
Download: aria2 will resume download if the transfer is restarted.
Download: If there are any errors, then see the log file. See '-l' option in help/man page for details.
ERROR Download failed! (Error 3) Resource was not found
ERROR https://nl2-dl.techpowerup.com/files/NVCleanstall_1.12.0.exe#/NVCleanstall.exe
referer=https://nl2-dl.techpowerup.com/files/NVCleanstall_1.12.0.exe#/
dir=C:\Users\Administrator\scoop\cache
out=nvcleanstall#1.12.0#https_nl2-dl.techpowerup.com_files_NVCleanstall_1.12.0.exe_NVCleanstall.exe
ERROR & 'C:\Users\Administrator\scoop\apps\aria2\current\aria2c.exe' --input-file='C:\Users\Administrator\scoop\cache\nvcleanstall.txt' --user-agent='Shovel/1.0 (+https://shovel.ash258.com) PowerShell/7.2 (Windows NT 10.0.19043.0; Win64; x64;)' --allow-overwrite=true --auto-file-renaming=false --retry-wait=2 --split=5 --max-connection-per-server=5 --min-split-size=5M --console-log-level=warn --enable-color=false --no-conf=true --follow-metalink=true --metalink-preferred-protocol=https --min-tls-version=TLSv1.2 --stop-with-process=3880 --continue --summary-interval 0
ERROR Download failed! (Error 3) Resource was not found
Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Extras/issues/new?title=nvcleanstall%401.12.0%3A+Download+via+aria2+failed&body=Download+failed!+(Error+3)+Resource+was+not+found
ERROR This application failed to install: nvcleanstall

Try downloading with aria2 disabled.

https://github.com/ScoopInstaller/Extras/issues/6931#issuecomment-930429181


replace traefik ingress with pipy

pipy is new edge proxy. it's very light and simple for ingress proxy. adopted it.
https://github.com/flomesh-io/pipy

follow pipy-operator setup, set up a pipy down. successfully

kubectl apply -f etc/cert-manager-v1.3.1.yaml
kubectl apply -f artifact/pipy-operator.yaml
kubectl apply -f samples/standalone/001-echo.yaml
kubectl apply -f samples/ingress/008-routing.yaml
kubectl apply -f samples/sidecar/007-deployment-pipy.yaml

traefik  remove done

depend on cert-manager conflict mutex. pipy can't auto-install, must install before node ready. network ready. manually install is preffer.


missing variable "iGlobalTime" recently

As of the last few weeks ,  June 2019, I noticed none of my shaders work. They all complain that the variable "iGlobalTime" is not defined.
I am using the 64 bit version on Windows 10.
Any help would be most welcomed
Thanks,
sj

This is an embarrassing type on my part  😢
In the meantime, can you use iTime or the following?
#ifdef SHADER_TOY
#    ifndef iGlobalTime
#        define iGlobalTime iTime
#    endif
#endif

@stevensona It's gonna take you five seconds to fix this and I won't have the chance for it r/n.
https://github.com/stevensona/shader-toy/blob/a9185ef42c0e5453a555860e8cf30f0ec99cad00/src/webviewcontentprovider.ts#L46-L47

This fix worked perfectly, Thank you.
 At my previous job we were not allowed internet access due to MPAA regulations.. so no ShaderToy. Your software gave me a canvas to test out new ideas, and even show my superiors a visual prototype of what I was planning to do next. You made my life so much easier. Thank you very much.

Okay this one is fixed and released.
Thank you @villain749 for your kind words. I am stoked to see that this thing is used and beneficial to people. @Malacath-92 does all of the work around here, and I'm super glad he's on the team he does a great job. Thanks! 😁

I can only agree with @stevensona, I'm really happy that people are appreciating the work we do here  😃


add api-method to return statistics of a single url

below method should return the status in json
http://example.com/status/https:%2F%2Fesdac.jrc.ec.europa.eu%2Fcontent%2Farsenic-european-topsoils
response:
{
"url": "https://esdac.jrc.ec.europa.eu/content/arsenic-european-topsoils",
"availability": 85,
"log": [
{"timestamp": "2024-20-05T12:00:00Z", "validation": 404},
{"timestamp": "2024-20-04T12:00:00Z", "validation": 200},
{"timestamp": "2024-20-03T12:00:00Z", "validation": 200},
{"timestamp": "2024-20-02T12:00:00Z", "validation": 501}
]
}

Nice to have, is a graphical represenation
header: accept: image/png
http://example.com/status/https:%2F%2Fesdac.jrc.ec.europa.eu%2Fcontent%2Farsenic-european-topsoils

the validation result should be paginated? or should we remove validations older then 1 year for example


$FlowIssue. Could not resolve name

$ flow version
Flow, a static type checker for JavaScript, version 0.22.1

$ flow
node_modules/fbjs/lib/shallowEqual.js.flow:29
 29:     return x !== 0 || 1 / (x: $FlowIssue) === 1 / (y: $FlowIssue);
                                   ^^^^^^^^^^ identifier `$FlowIssue`. Could not resolve name

Found 1 error

Ack! This is happening because Flow is pulling in the fbjs type definitions, which is cool, but fbjs apparently depends on a configuration that is now required in your own project. If you add suppress_type=$FlowIssue to the [options] section of your .flowconfig the error will go away.
Going to leave this open, because we need to fix the root cause of this issue once and for all. 3rd party library dependencies shouldn't introduce errors in your project like this.

Closing since this issue has been resolved. Thanks for reporting! 😊


Fix max level for Rainbow enchant

Rainbow II and III exist, though it's basically just for fun beyond I, with II being once per profile and III being century raffle exclusive (but it generally sells for very cheap on AH for normal profiles), so not sure if y'all want to mark any lower levels as "max" or this is fine, up to y'all.

Yeah, could probably put all three levels


Fix issues

Fixes #3
Applies a more accurate discount formula (Some odd edge cases in #2's first comment)

I didn't even realize the alt classes shared UNIQUE and CLASS skill discounts, but I guess it makes sense.  Looks good.


Lint/EmptyWhen false positive with inline comments.

Proper bug: the following will detect an offense even with 'AllowComments' => true

case foo
when :bar then # do nothing
end

Note that the following is rightfully accepted
case foo
when :bar
  # do nothing
end

The spec file has multiple issues and is in need of love:

Explicit testing of AllowComments is minimal, should be expanded
Doesn't use except_offense/no_offense so spec failures are next to impossible to locate.
The default is AllowComment: true, but the :config spec will not load the defaults unless given there is a cop_config method. Add let(:cop_config) { {} } to the current spec and it fails (related to #7970)

Should
case foo
when :bar # do nothing
end

also be accepted?


Resume Builder

Description
A Resume Builder is a web-based application that simplifies the process of crafting a well-designed resume by providing an intuitive and user-friendly interface.
Tech Stack Used

HTML
CSS
JavaScript
PHP

I would like to work on this. Please add hacktober fest label on this issue @rittikadeb

Please assign me this issue under hacktober fest.

Assign to me


Add Dynamic Time Warping (DTW) distance

I think Dynamic Time Warping (DTW) distance would be a nice addition when we deal with time series.
While searching for UMAP + DTW on Google I found this implementation: https://gist.github.com/kylemcdonald/76b6f18fb4026e01196282b59bd31e7e
I didn't try it (I don't know if it correctly works), but I think it could be useful to add DTW to built-in distances in UMAP.

I agree that DTW would be a useful metric to have. It is not trivial to implement; Kyle had a good solution that works around the issues with getting a pure numba implementation working. It is defintiely on my TODO list, but admittedly is currently not that high. If you feel like you could write a  decent DTW routine that is numba compilable I would be very happy to accept a PR.

@lmcinnes Do you see any particular issue in kyle's implementaion (apart from the comment about the dtw function naming)?

An "issue" I can see is that DTW could be used with multiple distances (not just euclidean distance), so it's like DTW should be a sort of wrapper for other distances.

I believe this is something you can work around with some numba fanciness. In particular it is possible for distance functions to take (optional) parameters. Since numba supports passing numba jitted functions as parameters you could, in principle, pass in the underlying distance function as an optional parameter.
An added bonus may be looking at using numba stencil operators for some of the cumulative distance computations.

https://github.com/lmcinnes/umap/blob/b17f0ab04e1b455e179ff14087a4a6f584fe1966/umap/layouts.py#L199
This is how you could dynamically wrap function to be numba compatible.

Here is a differentiable implementation of DTW soft-DTW.
It is implemented in numba.

Our code implements a differentiable divergence between time series, based on soft-DTW, as described in this paper. Our divergence is defined as D(X, Y) := SDTW(X, Y) - 0.5 * SDTW(X, X) - 0.5 * SDTW(Y, Y). Let me know if you have any question with using the code.


'Type "AWSURL" not found in document' when generating models

Describe the bug
When I run command amplify codegen models I get the error

Type "AWSURL" not found in document

Amplify CLI Version
Amplify 4.13.2
To Reproduce
yarn create react-app resources --template typescript
amplify init
amplify add api
use this schema
type Resource @model
    @auth(rules: [{ allow: owner }]) {
    id: ID!
    title: String!
    link: AWSURL
}

amplify codegen models
Expected behavior
Schema should be validated and generated.
Desktop:

OS: Windows 10
Node Version. 12.15.0

Exact same error for following types

AWSEmail
AWSDate
AWSPhone

Temporary fix is to use type String everywhere

@apoorvmote thanks for reporting the issue, I was able to reproduce it.

@attilah I would also like to create request for official documentation of adding datastore to existing project. Or adding api and then generating models.
Because the npx amplify-app@latest is failing for me and lots of other users. And all of them are ignoring because they thinks its very unstable and not ready for production.

@apoorvmote we did have an issue with the amplify-app that was released with 4.13.1 of the CLI, and last week we published a fixed version with 4.13.2. Could you please try it?

@attilah I did try it with 4.13.2 in the past and I tried it again right now. I get following error.
🎸 Creating base Amplify project
events.js:200
      throw er; // Unhandled 'error' event
      ^

Error: spawn amplify ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:81:21) {
  errno: 'ENOENT',
  code: 'ENOENT',
  syscall: 'spawn amplify',
  path: 'amplify',
  spawnargs: [ 'init', '--quickstart' ]
}

Desktop:

OS: Windows 10
Node Version. 12.15.0
AWS Amplify-cli 4.13.2

Oh I see you are on Windows. It is a Windows specific issue. Let me open a separate issue for it.

Ok now its working on mac. In my previous test it failed on both macOS and Windows. Now it only fails on windows.
However I still like to use API graphql query operation for deeply nested queries. e.g. fetch specific blog then all posts for the blog and all comments for each post.

Working from today's release.


errors building xcb-imdkit-rs

I got the following errors when running cargo install --path ./vime
error[E0432]: unresolved import `std::ffi::c_char`
  --> xcb-imdkit-rs/src/lib.rs:15:16
   |
15 | use std::ffi::{c_char, c_void};
   |                ^^^^^^ no `c_char` in `ffi`

error[E0282]: type annotations needed
   --> xcb-imdkit-rs/src/lib.rs:345:46
    |
345 |                 self.inner.preedit_string as _,
    |                                              ^ cannot infer type
    |
    = note: type must be known at this point

error[E0658]: use of unstable library feature 'box_into_pin'
   --> xcb-imdkit-rs/src/lib.rs:770:9
    |
770 |         Box::into_pin(im_server)
    |         ^^^^^^^^^^^^^
    |
    = note: see issue #62370 <https://github.com/rust-lang/rust/issues/62370> for more information

Some errors have detailed explanations: E0282, E0432, E0658.
For more information about an error, try `rustc --explain E0282`.
The following warnings were emitted during compilation:

warning: deps/xcb-imdkit/src/imdkit.c: In function ‘_xcb_im_init’:
warning: deps/xcb-imdkit/src/imdkit.c:248:5: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
warning:   248 |     asprintf(&buf, "@server=%s", im->serverName);
warning:       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

error: could not compile `xcb-imdkit` due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile `vime v0.1.0 (/home/joh6nn/Code/vime/vime)`, intermediate artifacts can be found at `/home/joh6nn/Code/vime/target

Could you try it again with the latest Rust compiler (or version 1.65+) ?
If you are using rustup, you can switch the compliler by placing a "rust-toolchain" file with the content "1.65".

Yup, compiles successfully with rust 1.65 :)


Reduce build size

Hi,
I'm compiling for RP2040 pi pico board and my sketch with GxEPD2 and LVGL libraries has a size of 165KB.
When I add your library and only the code
FATFS fs;
    FRESULT fr = f_mount(&fs, "", 1);
    if (FR_OK != fr) {
        panic("f_mount error: %s (%d)\n", FRESULT_str(fr), fr);

the build generates an uf2 file with 249KB.
Why this huge size? I already have used flasg like
add_compile_options(-ffunction-sections -fdata-sections)
target_link_options(candle PUBLIC "-Wl,--gc-sections")

Can you help me to reduce the size? Is there any trick I have not applied?

I don't know that the uf2 file size is a good indication. Something like -Wl,--print-memory-usage would probably be better.
You might try the -Os GCC command option.

To minimize the size of this library, set these C preprocessor macros to 0:

USE_PRINTF
USE_DBG_PRINTF
SD_CRC_ENABLED

and set this to 1:

NDEBUG

These are the results of the new compilation, for me now is better and I thinks that will be sufficient.
WITHOUT f_mount invocation:
add_compile_options(-ffunction-sections -fdata-sections)
target_link_options(candle PUBLIC "-Wl,--gc-sections")
add_compile_options(-Os)

Memory region         Used Size  Region Size  %age Used
           FLASH:       69096 B         2 MB      3.29%
             RAM:        256 KB       256 KB    100.00%
       SCRATCH_X:          0 GB         4 KB      0.00%
       SCRATCH_Y:          0 GB         4 KB      0.00%

WITH f_mount invocation:
add_compile_options(-ffunction-sections -fdata-sections)
target_link_options(candle PUBLIC "-Wl,--gc-sections")

Memory region         Used Size  Region Size  %age Used
           FLASH:      127156 B         2 MB      6.06%
             RAM:        256 KB       256 KB    100.00%
       SCRATCH_X:          0 GB         4 KB      0.00%
       SCRATCH_Y:          0 GB         4 KB      0.00%

add_compile_options(-ffunction-sections -fdata-sections)
target_link_options(candle PUBLIC "-Wl,--gc-sections")
add_compile_options(-Os)

Memory region         Used Size  Region Size  %age Used
           FLASH:      111696 B         2 MB      5.33%
             RAM:        256 KB       256 KB    100.00%
       SCRATCH_X:          0 GB         4 KB      0.00%
       SCRATCH_Y:          0 GB         4 KB      0.00%

add_compile_options(-ffunction-sections -fdata-sections)
target_link_options(candle PUBLIC "-Wl,--gc-sections")
add_compile_options(-Os)
add_compile_definitions(USE_PRINTF=0)
add_compile_definitions(USE_DBG_PRINTF=0)
add_compile_definitions(SD_CRC_ENABLED=0)
add_compile_definitions(NDEBUG=1)

Memory region         Used Size  Region Size  %age Used
           FLASH:      106376 B         2 MB      5.07%
             RAM:        256 KB       256 KB    100.00%
       SCRATCH_X:          0 GB         4 KB      0.00%
       SCRATCH_Y:          0 GB         4 KB      0.00%


[AutoRelease] t2-network-2023-08-02-29938(can only be merged by SDK owner)

ERROR: Package size is over 2MBytes: azure-mgmt-network-25.0.0.zip!!!
ERROR: Package size is over 2MBytes: azure_mgmt_network-25.0.0-py3-none-any.whl!!!
Live test success
BuildTargetingString
azure-mgmt-network
Skip.CreateApiReview
true

issue link:


LaunchScreen.xib: error: Encountered an error communicating with IBAgent-iOS.

$npx react-native run-ios
LaunchScreen.xib: error: Encountered an error communicating with IBAgent-iOS.
Failure Reason: IBAgent-iOS (48034) failed to launch and exited with status 6
Recovery Suggestion: Please check Console.app for crash reports for "IBAgent-iOS" for further information.
Underlying Errors:
Description: Failed to launch IBAgent-iOS via CoreSimulator spawn
Underlying Errors:
Description: Failed to handshake with platform tool
Failure Reason: Failed to keep platform tool alive
Underlying Errors:
Description: Failed to keep launch platform tool and keep alive
Recovery Suggestion: Try restarting your computer
Underlying Errors:
Description: Failed to communicate with helper tool
Failure Reason: The tool closed the connection
** BUILD FAILED **
React Native version:
System:
OS: macOS 10.15.2
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 1.03 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.16.0 - /usr/local/bin/node
Yarn: 1.17.0 - /usr/local/bin/yarn
npm: 6.11.2 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 23, 25, 26, 27, 28, 29
Build Tools: 23.0.1, 26.0.1, 26.0.3, 27.0.3, 28.0.3, 29.0.0, 29.0.2
System Images: android-24 | Google APIs Intel x86 Atom, android-25 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.4 AI-183.6<IP_ADDRESS>22156
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.5 => 0.61.5
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
react-native-location: 2.5.0

This issue needs a bit more fleshing out before it can be evaluated. Please fill out the entire issue template.

Check if Xcode has a write permission to /Library/Logs folder. Softwares like DaisyDisk could mess up the permissions for that folder which could result to the error you are facing.
You will be able to find "permission denied" on Console.app logs. If that is the issue.

Hello, I've encountered this error while using Xcode 13. All my .xib files were unable to be used on my project.
So my solution was to downgrade my Xcode version to 12.5.1 by downloading here https://developer.apple.com/download/all/ If my solution can help someone, it would be fine !


Intercept device screenshot

As an iOS user, when I trigger a screenshot (Power+Home) then I want the option to send the current camera snapshot to Lets Robot.

Completed


DS-PDMC-EG2-WB Wireless Magnetic Contact Reed Switch

Hardwired input on the DS-PDMC-EG2-WB Wireless Magnetic Contact Reed Switch does not show the contact sensor in HA. Its shows everything else other than the required entity. Please help.

What version of the integration you have ? Some fixes was made in 2.1.6.

Please check current version 2.2.0.
Also what type of "alarm" do you have? "AX" or "AX Hub" or "AX Pro"?


Oneshot mode for scripting

ghcid is the quickest way for me to test my code, faster than cabal test and stack test. I'd like to use ghcid in a pre-commit hook but ghcid doesn't support a oneshot mode as far as I understand it.
Simply using echo test | cabal repl doesn't work for me because cabal repl's return codes aren't meaningful.

Isn't runhaskell essentially a one-shot version of ghcid already? Could stack get a --runhaskell argument to stack test? I'm not necessarily against this, but it seems a bit weird for ghci to take a continuous program, turn it into a daemon, then have a flag to turn it back to one-shot.

I'm going to close this for now, but do reraise if testing shows ghcid to be faster than runhaskell, which is probably the best solution to use.

Fair enough, thanks for the pointer.


Improve csr_database()

Codecov Report

Merging #121 into master will decrease coverage by 1.82%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #121      +/-   ##
=========================================
- Coverage   58.13%   56.3%   -1.83%
=========================================
  Files           8       8
  Lines         781     753      -28
=========================================
- Hits          454     424      -30
- Misses        327     329       +2

Impacted Files
Coverage Δ

R/parser.R
89.55% <100%> (-2.16%)
:arrow_down:

Continue to review full report at Codecov.

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


Enhance the doc about tabBarComponent

Related to the discussion here: https://github.com/react-navigation/react-navigation/issues/4297

I'd rather see a heading in this doc that explains the use case and the solution, I think having this comment inline doesn't provide enough context

Yes, that would be clearer, do you mean, add a heading in the top area? Just for this issue? Or add an example for the tabBarComponent?

another heading in this same docs page would be good

Add an example below :)


Do not run OCP4 test in case image is not built

This commit fixes problem in case image is not built.
Also removes duplicate code which is present in
test-remote-cluster.sh
Signed-off-by: Petr "Stone" Hracek<EMAIL_ADDRESS>

[test]

@pkubatrh Can you please look at it thanks. Generally, if the image is not built, then do not run OpenShift 4 tests.

LGTM, thanks!


desed: 1.2.1-unstable-2024-09-06 -> 1.2.2

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

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

The documentation for nix-update-script is here.
Basically it allows for automatic package bumps.
Since you are the maintainer and the package is under pkgs/by-name/ you are able to then request a merge from the nixpkgs-merge-bot.

@NixOS/nixpkgs-merge-bot merge

@vinylen,
Apologies maybe I was unclear :).
Once ryantm opens a pr triggered by the nix-update script you are then able as a package maintainer to request merge by the merge bot.
But you already found the right command, so for the next time you are ready now :+1: .

Ah i see that makes sense. Thank you for your patience 😅

Still pretty bad on Hydra, never close to success so far:
https://hydra.nixos.org/job/nixpkgs/trunk/desed.x86_64-linux/all

You know, ofBorg showed the same error, too (at a glance).

Ah, thank you for the notification @vcunat!
I think I know how the error happened.
#351866 should address the issue.


Gotify support

Added support for Gotify.
Example provider config info;
gotify:
  - id: 'gotify'
    gotify_host: 'XXXXXXX'
    gotify_port: 'XXXXXXX'
    gotify_token: 'XXXXXXX'
    gotify_format: '{{data}}'

closes #268

@ehsandeep review please


ci: remove skip ci from semantic release commits

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


test: add cli cases for node_modules images

I had not realised there were tests over here; I've included the same change in #869 for these as part of this

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.63%. Comparing base (b28c1c8) to head (bf41cb3).
 Consider uploading reports for the commit 81aca4b to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #870      +/-   ##
==========================================
+ Coverage   59.78%   61.63%   +1.84%
==========================================
  Files         136      144       +8
  Lines       11268     9190    -2078
==========================================
- Hits         6737     5664    -1073
+ Misses       4102     3049    -1053
- Partials      429      477      +48

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


/exit URL is broken

@rultor release, tag is 0.22.1

@rultor release, tag is 0.22.1

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.22.1

@yegor256 Done! FYI, the full log is here (took me 9min)


cp -a --no-preserve=mode doesn't keep fully the mode

tested here: https://github.com/coreutils/coreutils/blob/master/tests/cp/link-preserve.sh#L82-L87 and following
https://github.com/uutils/coreutils/issues/5308
rm -rf a b
touch a; chmod 731 a
umask 077
./target/debug/coreutils cp -a --no-preserve=mode a b
ls -l b|cut -b-10

With GNU:
-rw-------
with our:
-rwx------

Ya sure, let me finish this!


Implement an X-Ray Thomson Scattering (XRTS) module

We already have some optical Thomson Scattering features in PlasmaPy, but it would be good to extend these into the XRTS and warm dense matter regimes, where Compton scattering features, and electron degeneracy, and chemical potentials become important.

I think the easiest simulation to get up and running (which still has some depth to it) would be to simulate the free electron component of the XRTS in the random phase approximation (RPA) regime.
Scattered spectrum power is related to the dynamic structure factor S(k,w) as well as the incident and scattered wavevectors:

Here is the Dynamic Structure Factor equation for the free electron component:

The leading term is just detailed balance, which can be implemented as its own function.
Probably the most complicated part of it is doing the complex-valued triple integral for the dielectric function (in the RPA regime), but if it is done in a general enough way, you can use this function with various input distribution functions:

This requires two real-valued integrals to be done (most likely in Gaussian quadrature), followed by a Cauchy Principal Value integral to deal with the asymptote
We want to use the Fermi-Dirac distribution specifically to describe degenerate electrons in the warm dense matter regime:

The chemical potential in the above distribution function can be described by an interpolation between classical and quantum theories, given by:

where the coefficients are A = 0.25945, B = 0.072, and b = 0.858
Note that as temperature T goes large, the above distribution function reduces to the Maxwell-Boltzmann function, so it's still valid for classical plasmas.

The integral can be done by splitting into a double integral and a Cauchy integral. For the double integral, I think we can use scipy.dblquad. For the Cauchy integral we can use scipy.integrate.quad with weight = 'cauchy'  to get the principal value. This is just a wrapper around the QAWC method from QUADPACK.
And since these integrals are being dong at every value of photon energy in the simulation space, we might be able to further optimize this by using scipy.integrate.quad_vec.


Add an improved annotation for polymorphic use of OneOf

Is your feature request related to a problem?
Yes! :slightly_smiling_face:
Currently the implementation of oneOf in Hot Chocolate doesn't offer any measurable convenience or even any degree of "polymorphism" as implied by the spec and much of the documentation.
From a GraphQL spec point of view, it's just a mutally exclusive assertion: That one out of a handful of fields is non-null.
When consuming oneOf functionality in Hot Chocolate, nothing is done to leverage the common interface and it's still up to the developer to figure out which of the numerous fields is non-null, thus requiring a small-but-gross amount of boilerplate.
(It's a little funny, the documentation has // Omitted code for brevity in the sections where the most of the actual benefit people expect with oneOf to happen.)
[OneOf]
public class PetInput
{
    public Cat? Cat { get; set; }
    public Dog? Dog { get; set; }
    public Fish? Fish { get; set; }
}

public class Cat : IPet {}
public class Dog : IPet {}
public class Fish : IPet {}

public class Mutation
{
    public Task<IPet> CreatePetAsync(PetInput input)
    {
        // This is what's being omitted for "brevity". Hot Chocolate can totally help avoid this kind of boilerplate code.
        var pet = input.Cat ?? input.Dog ?? input.Fish ?? throw new("Unreachable thanks to `oneOf`.");

        return pet;
    }
}

Overall, I think Hot Chocolate can be of more assistance to the developer when the desired use of oneOf is for polymorphism.
The solution you'd like
In polymorphic scenarios, declaring InputType should be considered unnecessary.  Hot Chocolate shouldn't require me to author something like a PetInput, but instead should be generating that type for the client automatically.
Accepting that the current OneOf exists and could still be useful in other scenarios, Hot Chocolate should introduce something that behaves largely like a union type, but when used for input, performs the work necessary to marshal a value of the correct type to the mutation:
[PolymorphicOneOf]
public interface IPet
{
}

public class Cat : IPet {}
public class Dog : IPet {}
public class Fish : IPet {}

public class Mutation
{
    public Task<IPet> CreatePetAsync(IPet pet)
    {
        // No code needs to be omitted for brevity anymore, `pet` is an `IPet`, yay!
        return pet;
    }
}

Product
Hot Chocolate

We were chatting about this in the morning 😅 so we will make it easier, it probably will make its way into 12.10

@michaelstaib - Am I right in understanding that the OneOf type is the only value that can be accepted by the mutation when used?  Or can I have other types alongside a OneOf decorated type?
public async Task<bool> MyDemoMutation(
    MyOneOfSomethings oneOfSomething,
    Guid someIdentifier
)
{
    // ...
}

@atrauzzi  oneof is only scoped for this  input object

Good stuff. Anyway, still love the ideas from @PascalSenn.  Would really offer a benefit!

A followup question...
Can I do a list/array of OneOf values?

Not stale.

Need such features because I have a domain model with nested OneOf.
Such polymorphic way of doing thing will save me from creating a new class.
class MyModel
{
  public ICommonOperation { get; set; }
  public string SomeProperty { get; set; }
}

With the way things are now I have to introduce new classes instead of just using MyModel for input
public class CommonOperationInput  {
  Operation1? Operation1 {get;set; }
  Operation2? Operation2 {get; set; }
  }

public class MyModelInput
{
  public CommonOperationInput { get; set; }
  public string SomeProperty { get; set; }
}

I have the exact same problem and concerns about this, like @Spaier we have a domain object with polymorphic objects or lists of those (f.e. different implementations of a base class).
To get strongly typed schema we use union types, so we had to use one-of for the corresponding input objects.
As one can not use middlewares on arguments or input objects (or can one?), i assume this has to be done somehow like Michael demonstrated in the youtube video on rewriting resolver arguments - but the example on simple strings does not get that far. Although announced, there isn't yet an episode on syntax rewriters for complex input objects.
It would be so so great to get some helper methods for this or at least an example on how to do this "the complicated way"..


Ingest IRS spectra

116 Spitzer IRS spectra from Genaro. (Is this what Jackie wants the High school students to ingest?)
Suárez and Metchev 2022 MNRAS 513, 5701

I think progress has been made on this. @SherelynA ?

Suarez2022.zip

In progress in #278 .


New gpt35 turbo models

Summary

This PR adds support for the new GPT-3.5-TURBO-1106 model
Checklist

[x] My code follows the code style of this project and passes make format.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] My change has adequate unit test coverage.

@homanp Thank you for the pull request! Overall, the changes look good. I have a few suggestions:

In the base.py file, instead of saying "Always answer using the below output schema. No other characters allowed.", it would be clearer to say "Please ensure that your answer adheres to the output schema below and does not contain any additional characters."

In the agents.py file, it seems like the line print(output.get("output")) is a debugging statement. It should be removed before merging the code.

In the llm.py file, the new line "GPT_3_5_TURBO_1106": "gpt-3.5-turbo-1106", should be added to the LLM_MAPPING dictionary.

In the schema.prisma file, the new line GPT_3_5_TURBO_1106 should be added to the LLMModel enum.

In the site.ts file, the new option for GPT_3_5_TURBO_1106 should be added to the siteConfig object.

Let me know if you have any questions or need further assistance! 😊